-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚨🚨✨Source Klaviyo: Migrate to API version '2023-10-15' (#32128)
- Loading branch information
Anton Karpets
authored
Nov 6, 2023
1 parent
af2dba6
commit 6583dc5
Showing
21 changed files
with
859 additions
and
952 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
151 changes: 77 additions & 74 deletions
151
airbyte-integrations/connectors/source-klaviyo/integration_tests/expected_records.jsonl
Large diffs are not rendered by default.
Oops, something went wrong.
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
2 changes: 2 additions & 0 deletions
2
airbyte-integrations/connectors/source-klaviyo/source_klaviyo/exceptions.py
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,2 @@ | ||
class KlaviyoBackoffError(Exception): | ||
"""An exception which is raised when 'retry-after' time is longer than 'max_time' specified""" |
87 changes: 41 additions & 46 deletions
87
airbyte-integrations/connectors/source-klaviyo/source_klaviyo/schemas/campaigns.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 |
---|---|---|
@@ -1,55 +1,50 @@ | ||
{ | ||
"type": "object", | ||
"additionalProperties": true, | ||
"properties": { | ||
"object": { "type": "string" }, | ||
"type": { "type": "string" }, | ||
"id": { "type": "string" }, | ||
"name": { "type": "string" }, | ||
"created": { "type": ["null", "string"], "format": "date-time" }, | ||
"updated": { "type": ["null", "string"], "format": "date-time" }, | ||
"status": { "type": "string" }, | ||
"status_id": { "type": "integer" }, | ||
"status_label": { "type": "string" }, | ||
"from_name": { "type": "string" }, | ||
"from_email": { "type": "string" }, | ||
"num_recipients": { "type": "integer" }, | ||
"lists": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"object": { "type": "string" }, | ||
"id": { "type": "string" }, | ||
"name": { "type": "string" }, | ||
"created": { "type": "string", "format": "date-time" }, | ||
"updated": { "type": "string", "format": "date-time" }, | ||
"person_count": { "type": "integer" }, | ||
"list_type": { "type": "string" }, | ||
"folder": { "type": ["null", "string"] } | ||
} | ||
"updated_at": { "type": ["null", "string"], "format": "date-time" }, | ||
"attributes": { | ||
"type": ["null", "object"], | ||
"additionalProperties": true, | ||
"properties": { | ||
"name": { "type": "string" }, | ||
"status": { "type": "string" }, | ||
"archived": { "type": "boolean" }, | ||
"channel": { "type": "string" }, | ||
"audiences": { | ||
"type": ["null", "object"], | ||
"additionalProperties": true | ||
}, | ||
"send_options": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"use_smart_sending": { "type": "boolean" } | ||
} | ||
}, | ||
"message": { "type": "string" }, | ||
"tracking_options": { | ||
"type": ["null", "object"], | ||
"additionalProperties": true | ||
}, | ||
"send_strategy": { | ||
"type": ["null", "object"], | ||
"additionalProperties": true | ||
}, | ||
"created_at": { "type": ["null", "string"], "format": "date-time" }, | ||
"scheduled_at": { "type": ["null", "string"], "format": "date-time" }, | ||
"updated_at": { "type": ["null", "string"], "format": "date-time" }, | ||
"send_time": { "type": ["null", "string"], "format": "date-time" } | ||
} | ||
}, | ||
"excluded_lists": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"object": { "type": "string" }, | ||
"id": { "type": "string" }, | ||
"name": { "type": "string" }, | ||
"created": { "type": "string", "format": "date-time" }, | ||
"updated": { "type": "string", "format": "date-time" }, | ||
"person_count": { "type": "integer" }, | ||
"list_type": { "type": "string" }, | ||
"folder": { "type": ["null", "string"] } | ||
} | ||
} | ||
"links": { | ||
"type": ["null", "object"], | ||
"additionalProperties": true | ||
}, | ||
"is_segmented": { "type": "boolean" }, | ||
"send_time": { "type": ["null", "string"], "format": "date-time" }, | ||
"sent_at": { "type": ["null", "string"], "format": "date-time" }, | ||
"campaign_type": { "type": "string" }, | ||
"subject": { "type": ["null", "string"] }, | ||
"message_type": { "type": "string" }, | ||
"template_id": { "type": ["null", "string"] } | ||
"relationships": { | ||
"type": ["null", "object"], | ||
"additionalProperties": true | ||
} | ||
} | ||
} |
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.