-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(source-zendesk-support): add automations and triggers streams (#…
…44610) Signed-off-by: Henri Blancke <[email protected]> Co-authored-by: Marcos Marx <[email protected]> Co-authored-by: marcosmarxm <[email protected]>
- Loading branch information
1 parent
8332ddc
commit ba63c03
Showing
10 changed files
with
261 additions
and
5 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",] | |
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry] | ||
version = "4.1.1" | ||
version = "4.2.0" | ||
name = "source-zendesk-support" | ||
description = "Source implementation for Zendesk Support." | ||
authors = [ "Airbyte <[email protected]>",] | ||
|
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