Skip to content

Commit

Permalink
source-zendesk-support: ensure inline schemas, updated cdk, poetry (w…
Browse files Browse the repository at this point in the history
…here possible) (#36669)

Co-authored-by: Serhii Lazebnyi <53845333+lazebnyi@users.noreply.github.com>
Co-authored-by: Serhii Lazebnyi <serhii.lazebnyi@globallogic.com>
  • Loading branch information
3 people authored May 7, 2024
1 parent 058c90a commit 05b17f9
Show file tree
Hide file tree
Showing 35 changed files with 814 additions and 100 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 79c1aa37-dae3-42ae-b333-d1c105477715
dockerImageTag: 2.6.2
dockerImageTag: 2.6.3
dockerRepository: airbyte/source-zendesk-support
documentationUrl: https://docs.airbyte.com/integrations/sources/zendesk-support
githubIssueLabel: source-zendesk-support
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "2.6.2"
version = "2.6.3"
name = "source-zendesk-support"
description = "Source implementation for Zendesk Support."
authors = [ "Airbyte <contact@airbyte.io>",]
Expand All @@ -17,7 +17,7 @@ include = "source_zendesk_support"

[tool.poetry.dependencies]
python = "^3.9,<3.12"
airbyte-cdk = "^0"
airbyte-cdk = "0.81.4"
pytz = "==2024.1"

[tool.poetry.scripts]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,25 @@
"type": ["null", "object"],
"properties": {
"id": {
"description": "The unique identifier for the account attribute.",
"type": ["null", "string"]
},
"name": {
"description": "The name or label of the account attribute.",
"type": ["null", "string"]
},
"created_at": {
"description": "The timestamp indicating when the account attribute was created.",
"type": ["null", "string"],
"format": "date-time"
},
"updated_at": {
"description": "The timestamp indicating when the account attribute was last updated.",
"type": ["null", "string"],
"format": "date-time"
},
"url": {
"description": "The URL that can be used to access the account attribute.",
"type": ["null", "string"]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,48 +4,62 @@
"type": ["null", "object"],
"properties": {
"author_id": {
"description": "The unique identifier of the author of the comment.",
"type": ["null", "integer"]
},
"body": {
"description": "The content or text of the comment.",
"type": ["null", "string"]
},
"created_at": {
"description": "The timestamp when the comment was created.",
"type": ["null", "string"],
"format": "date-time"
},
"html_url": {
"description": "The URL link to the HTML representation of the comment.",
"type": ["null", "string"]
},
"id": {
"description": "The unique identifier of the comment.",
"type": ["null", "integer"]
},
"locale": {
"description": "The locale or language of the comment.",
"type": ["null", "string"]
},
"non_author_editor_id": {
"description": "The unique identifier of a non-author who edited the comment.",
"type": ["null", "integer"]
},
"non_author_updated_at": {
"description": "The timestamp when the non-author last updated the comment.",
"type": ["null", "string"],
"format": "date-time"
},
"source_id": {
"description": "The ID of the source associated with the comment.",
"type": ["null", "integer"]
},
"source_type": {
"description": "The type of the source associated with the comment.",
"type": ["null", "string"]
},
"updated_at": {
"description": "The timestamp when the comment was last updated.",
"type": ["null", "string"],
"format": "date-time"
},
"url": {
"description": "The URL link to the comment resource.",
"type": ["null", "string"]
},
"vote_count": {
"description": "The total count of votes received on the comment.",
"type": ["null", "integer"]
},
"vote_sum": {
"description": "The sum of votes received on the comment, considering upvotes and downvotes.",
"type": ["null", "integer"]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,81 +4,106 @@
"type": ["null", "object"],
"properties": {
"author_id": {
"description": "The unique identifier of the author who created the article.",
"type": ["null", "integer"]
},
"body": {
"description": "The main content or body of the article.",
"type": ["null", "string"]
},
"comments_disabled": {
"description": "Indicates whether comments are disabled for the article.",
"type": ["null", "boolean"]
},
"content_tag_ids": {
"description": "An array of unique identifiers of content tags associated with the article.",
"type": ["null", "array"]
},
"created_at": {
"description": "The date and time when the article was created.",
"type": ["null", "string"],
"format": "date-time"
},
"draft": {
"description": "Indicates whether the article is in draft mode.",
"type": ["null", "boolean"]
},
"edited_at": {
"description": "The date and time when the article was last edited.",
"type": ["null", "string"],
"format": "date-time"
},
"html_url": {
"description": "The URL of the article in HTML format.",
"type": ["null", "string"]
},
"id": {
"description": "The unique identifier of the article.",
"type": ["null", "integer"]
},
"label_names": {
"description": "An array of label names associated with the article.",
"type": ["null", "array"]
},
"locale": {
"description": "The language locale of the article.",
"type": ["null", "string"]
},
"name": {
"description": "The name of the article.",
"type": ["null", "string"]
},
"outdated": {
"description": "Indicates whether the article is outdated.",
"type": ["null", "boolean"]
},
"outdated_locales": {
"description": "An array of language locales in which the article is outdated.",
"type": ["null", "array"]
},
"permission_group_id": {
"description": "The unique identifier of the permission group for the article.",
"type": ["null", "integer"]
},
"position": {
"description": "The position order of the article within its section.",
"type": ["null", "integer"]
},
"promoted": {
"description": "Indicates whether the article is promoted.",
"type": ["null", "boolean"]
},
"section_id": {
"description": "The unique identifier of the section to which the article belongs.",
"type": ["null", "integer"]
},
"source_locale": {
"description": "The original language locale of the article.",
"type": ["null", "string"]
},
"title": {
"description": "The title or heading of the article.",
"type": ["null", "string"]
},
"updated_at": {
"description": "The date and time when the article was last updated.",
"type": ["null", "string"],
"format": "date-time"
},
"url": {
"description": "The URL of the article.",
"type": ["null", "string"]
},
"user_segment_id": {
"description": "The unique identifier of the user segment targeted by the article.",
"type": ["null", "integer"]
},
"vote_count": {
"description": "The total count of votes received for the article.",
"type": ["null", "integer"]
},
"vote_sum": {
"description": "The sum of votes received for the article (considering upvotes and downvotes).",
"type": ["null", "integer"]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,70 +4,91 @@
"type": ["null", "object"],
"properties": {
"title": {
"description": "Title of the attribute definition.",
"type": ["null", "string"]
},
"subject": {
"description": "Subject or topic of this attribute definition.",
"type": ["null", "string"]
},
"type": {
"description": "Data type of the attribute.",
"type": ["null", "string"]
},
"group": {
"description": "The group to which this attribute definition belongs.",
"type": ["null", "string"]
},
"nullable": {
"description": "Indicates if this attribute definition can be null.",
"type": ["null", "boolean"]
},
"repeatable": {
"description": "Specifies if this attribute definition can be repeated.",
"type": ["null", "boolean"]
},
"operators": {
"description": "List of operators allowed for this attribute definition.",
"type": ["null", "array"],
"items": {
"description": "Operator details.",
"type": ["null", "object"],
"properties": {
"value": {
"description": "Value associated with the operator.",
"type": ["null", "string"]
},
"title": {
"description": "Title/name of the operator.",
"type": ["null", "string"]
},
"terminal": {
"description": "Whether the operator is terminal or not.",
"type": ["null", "boolean"]
}
}
}
},
"values": {
"description": "List of values available for this attribute definition.",
"type": ["null", "array"],
"items": {
"description": "Value details.",
"type": ["null", "object"],
"properties": {
"value": {
"description": "Actual value.",
"type": ["null", "string"]
},
"title": {
"description": "Title/name of the value.",
"type": ["null", "string"]
},
"enabled": {
"description": "Whether the value is enabled or disabled.",
"type": ["null", "boolean"]
}
}
}
},
"condition": {
"description": "The condition that needs to be met for this attribute definition.",
"type": ["null", "string"]
},
"confition": {
"description": "Missing field description, please add.",
"type": ["null", "string"]
},
"metadata": {
"description": "Additional metadata related to this attribute definition.",
"type": ["null", "object"],
"properties": {
"collection_key": {
"description": "Key for the collection associated with this metadata.",
"type": ["null", "string"]
},
"item_key": {
"description": "Key for the item associated with this metadata.",
"type": ["null", "string"]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,52 @@
"type": ["null", "object"],
"properties": {
"action": {
"description": "The type of action performed in the audit log.",
"type": ["null", "string"]
},
"action_label": {
"description": "A human-readable label representing the action.",
"type": ["null", "string"]
},
"actor_id": {
"description": "The ID of the actor (user) who performed the action.",
"type": ["null", "number"]
},
"actor_name": {
"description": "The name of the actor (user) who performed the action.",
"type": ["null", "string"]
},
"change_description": {
"description": "Description of the change made.",
"type": ["null", "string"]
},
"created_at": {
"description": "The date and time when the audit log entry was created.",
"type": ["null", "string"],
"format": "date-time"
},
"id": {
"description": "Unique identifier for the audit log entry.",
"type": ["null", "number"]
},
"ip_address": {
"description": "The IP address from which the action was performed.",
"type": ["null", "string"]
},
"source_id": {
"description": "The ID of the source object related to the action.",
"type": ["null", "number"]
},
"source_label": {
"description": "A human-readable label representing the source object.",
"type": ["null", "string"]
},
"source_type": {
"description": "The type of the source object.",
"type": ["null", "string"]
},
"url": {
"description": "The URL associated with the action or source object.",
"type": ["null", "string"]
}
}
Expand Down
Loading

0 comments on commit 05b17f9

Please sign in to comment.