-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(source-zendesk-support): add automations and triggers streams #44610
Merged
marcosmarxm
merged 11 commits into
airbytehq:master
from
henriblancke:zendesk-automations-triggers
Sep 10, 2024
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
1e2eb7a
add automations and triggers streams
henriblancke 8b29e6a
Merge branch 'master' into zendesk-automations-triggers
henriblancke 1c68f47
update changelog docs
henriblancke e3b93d9
Merge branch 'master' into zendesk-automations-triggers
henriblancke 7c1be6c
Merge branch 'master' into zendesk-automations-triggers
henriblancke 9eb077d
[UPD] version
henriblancke dbc595e
Merge branch 'master' into zendesk-automations-triggers
marcosmarxm 3d1810f
Merge branch 'master' into zendesk-automations-triggers
marcosmarxm e8a2d38
add expected records
marcosmarxm b6ee59d
add header schema json
marcosmarxm a0aef37
Update zendesk-support.md
marcosmarxm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
...rations/connectors/source-zendesk-support/source_zendesk_support/schemas/automations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"properties": { | ||
"actions": { | ||
"type": "array", | ||
"description": "An object describing what the automation will do", | ||
"items": { | ||
"type": ["object", "null"], | ||
"properties": { | ||
"field": { | ||
"type": ["string", "null"] | ||
}, | ||
"value": { | ||
"type": ["string", "null"] | ||
} | ||
} | ||
} | ||
}, | ||
"active": { | ||
"type": ["boolean", "null"], | ||
"description": "Whether the automation is active" | ||
}, | ||
"conditions": { | ||
"type": "object", | ||
"description": "An object that describes the conditions under which the automation will execute", | ||
"properties": { | ||
"all": { | ||
"type": "array", | ||
"items": { | ||
"type": ["object", "null"], | ||
"properties": { | ||
"field": { | ||
"type": ["string", "null"] | ||
}, | ||
"operator": { | ||
"type": ["string", "null"] | ||
}, | ||
"value": { | ||
"type": ["string", "null"] | ||
} | ||
} | ||
} | ||
}, | ||
"any": { | ||
"type": "array", | ||
"items": { | ||
"type": ["object", "null"], | ||
"properties": { | ||
"field": { | ||
"type": ["string", "null"] | ||
}, | ||
"operator": { | ||
"type": ["string", "null"] | ||
}, | ||
"value": { | ||
"type": ["string", "null"] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"created_at": { | ||
"description": "The time the automation was created", | ||
"type": ["string", "null"] | ||
}, | ||
"default": { | ||
"type": ["boolean", "null"], | ||
"description": "If true, the automation is a default automation" | ||
}, | ||
"id": { | ||
"type": ["integer", "null"], | ||
"description": "Automatically assigned when created" | ||
}, | ||
"position": { | ||
"type": ["integer", "null"], | ||
"description": "The position of the automation which specifies the order it will be executed" | ||
}, | ||
"raw_title": { | ||
"type": ["string", "null"], | ||
"description": "The raw title of the automation" | ||
}, | ||
"title": { | ||
"type": ["string", "null"], | ||
"description": "The title of the automation" | ||
}, | ||
"updated_at": { | ||
"description": "The time of the last update of the automation", | ||
"type": ["string", "null"] | ||
} | ||
} | ||
} |
105 changes: 105 additions & 0 deletions
105
...tegrations/connectors/source-zendesk-support/source_zendesk_support/schemas/triggers.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft-07/schema#", | ||
"type": ["null", "object"], | ||
"properties": { | ||
"actions": { | ||
"type": ["array", "null"], | ||
"description": "An array of actions describing what the ticket trigger will do", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"field": { | ||
"type": ["string", "null"] | ||
}, | ||
"value": { | ||
"type": ["string", "null"] | ||
} | ||
} | ||
} | ||
}, | ||
"active": { | ||
"description": "Whether the ticket trigger is active", | ||
"type": "boolean" | ||
}, | ||
"category_id": { | ||
"description": "The ID of the category the ticket trigger belongs to", | ||
"type": ["string", "null"] | ||
}, | ||
"conditions": { | ||
"description": "An object that describes the circumstances under which the trigger performs its actions", | ||
"type": "object", | ||
"properties": { | ||
"all": { | ||
"type": ["array", "null"], | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"field": { | ||
"type": ["string", "null"] | ||
}, | ||
"operator": { | ||
"type": ["string", "null"] | ||
}, | ||
"value": { | ||
"type": ["string", "null"] | ||
} | ||
} | ||
} | ||
}, | ||
"any": { | ||
"type": ["array", "null"], | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"field": { | ||
"type": ["string", "null"] | ||
}, | ||
"operator": { | ||
"type": ["string", "null"] | ||
}, | ||
"value": { | ||
"type": ["string", "null"] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"created_at": { | ||
"description": "The time the ticket trigger was created", | ||
"type": ["string", "null"] | ||
}, | ||
"default": { | ||
"description": "If true, the ticket trigger is a standard trigger", | ||
"type": "boolean" | ||
}, | ||
"description": { | ||
"description": "The description of the ticket trigger", | ||
"type": ["string", "null"] | ||
}, | ||
"id": { | ||
"description": "Automatically assigned when created", | ||
"type": "integer" | ||
}, | ||
"position": { | ||
"description": "Position of the ticket trigger, determines the order they will execute in", | ||
"type": "integer" | ||
}, | ||
"raw_title": { | ||
"description": "The raw format of the title of the ticket trigger", | ||
"type": ["string", "null"] | ||
}, | ||
"title": { | ||
"description": "The title of the ticket trigger", | ||
"type": ["string", "null"] | ||
}, | ||
"updated_at": { | ||
"description": "The time of the last update of the ticket trigger", | ||
"type": ["string", "null"] | ||
}, | ||
"url": { | ||
"description": "The url of the ticket trigger", | ||
"type": ["string", "null"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, thanks for adding the expected records.