-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1436 from rudderlabs/main
chore(release): pull main into develop post release v1.75.0
- Loading branch information
Showing
11 changed files
with
332 additions
and
10 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
29 changes: 29 additions & 0 deletions
29
src/configurations/destinations/klaviyo_bulk_upload/db-config.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,29 @@ | ||
{ | ||
"name": "KLAVIYO_BULK_UPLOAD", | ||
"displayName": "Klaviyo Bulk Upload", | ||
"config": { | ||
"cdkV2Enabled": true, | ||
"supportsVisualMapper": true, | ||
"transformAtV1": "router", | ||
"disableJsonMapper": true, | ||
"syncBehaviours": ["upsert"], | ||
"saveDestinationResponse": true, | ||
"includeKeys": ["privateApiKey", "listId", "oneTrustCookieCategories"], | ||
"excludeKeys": [], | ||
"supportedSourceTypes": ["warehouse"], | ||
"supportedConnectionModes": { | ||
"cloud": ["cloud"], | ||
"warehouse": ["cloud"] | ||
}, | ||
"supportedMessageTypes": { | ||
"cloud": ["identify"] | ||
}, | ||
"destConfig": { | ||
"defaultConfig": ["privateApiKey", "listId", "oneTrustCookieCategories"] | ||
}, | ||
"secretKeys": ["privateApiKey"] | ||
}, | ||
"options": { | ||
"isBeta": true | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
src/configurations/destinations/klaviyo_bulk_upload/schema.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,29 @@ | ||
{ | ||
"configSchema": { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"required": ["privateApiKey"], | ||
"type": "object", | ||
"properties": { | ||
"privateApiKey": { | ||
"type": "string", | ||
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" | ||
}, | ||
"listId": { | ||
"type": "string", | ||
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" | ||
}, | ||
"oneTrustCookieCategories": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"oneTrustCookieCategory": { | ||
"type": "string", | ||
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
117 changes: 117 additions & 0 deletions
117
src/configurations/destinations/klaviyo_bulk_upload/ui-config.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,117 @@ | ||
{ | ||
"uiConfig": { | ||
"baseTemplate": [ | ||
{ | ||
"title": "Initial setup", | ||
"note": "Review how this destination is set up", | ||
"sections": [ | ||
{ | ||
"groups": [ | ||
{ | ||
"title": "Connection Settings", | ||
"note": "Update your connection settings here", | ||
"icon": "settings", | ||
"fields": [ | ||
{ | ||
"type": "textInput", | ||
"label": "Private API Key", | ||
"note": "Your Private API Key", | ||
"configKey": "privateApiKey", | ||
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$", | ||
"regexErrorMessage": "Invalid Private API Key", | ||
"placeholder": "e.g: QuIUHRj7XXX2L7eZDZiPQU", | ||
"secret": true | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"groups": [ | ||
{ | ||
"title": "Connection mode", | ||
"note": [ | ||
"Update how you want to route events from your source to destination. ", | ||
{ | ||
"text": "Get help deciding", | ||
"link": "https://www.rudderstack.com/docs/destinations/rudderstack-connection-modes/" | ||
} | ||
], | ||
"icon": "sliders", | ||
"fields": [] | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"title": "Configuration settings", | ||
"note": "Manage the settings for your destination", | ||
"sections": [ | ||
{ | ||
"title": "Destination settings", | ||
"note": "Configure destination-specific settings here", | ||
"icon": "settings", | ||
"groups": [ | ||
{ | ||
"title": "List and subscription settings", | ||
"note": "Update your list settings here", | ||
"icon": "settings", | ||
"fields": [ | ||
{ | ||
"type": "textInput", | ||
"label": "List Id", | ||
"note": "The default list that you'd like to subscribe and add users to when you call", | ||
"configKey": "listId", | ||
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", | ||
"regexErrorMessage": "Invalid List Id", | ||
"placeholder": "e.g: c59X3838", | ||
"secret": false | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"title": "Other settings", | ||
"note": "Configure advanced RudderStack features here", | ||
"icon": "otherSettings", | ||
"groups": [ | ||
{ | ||
"title": "OneTrust consent settings", | ||
"note": [ | ||
"Enter your OneTrust consent category IDs if you have them configured. The support for category names is deprecated. We recommend using the category IDs instead of the names as IDs are unique and less likely to change over time, making them a more reliable choice.", | ||
{ | ||
"text": "Learn more ", | ||
"link": "https://www.rudderstack.com/docs/sources/event-streams/sdks/consent-manager/onetrust/" | ||
}, | ||
"about RudderStack's OneTrust Consent Management feature." | ||
], | ||
"fields": [ | ||
{ | ||
"type": "tagInput", | ||
"label": "Consent categories", | ||
"note": "Input your OneTrust category IDs by pressing 'Enter' after each entry.", | ||
"configKey": "oneTrustCookieCategories", | ||
"tagKey": "oneTrustCookieCategory", | ||
"placeholder": "e.g: C0001", | ||
"default": [ | ||
{ | ||
"oneTrustCookieCategory": "" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"sdkTemplate": { | ||
"title": "SDK settings", | ||
"note": "not visible in the ui", | ||
"fields": [] | ||
} | ||
} | ||
} |
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
25 changes: 25 additions & 0 deletions
25
test/data/validation/destinations/klaviyo_bulk_upload.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,25 @@ | ||
[ | ||
{ | ||
"config": { | ||
"oneTrustCookieCategories": [ | ||
{ | ||
"oneTrustCookieCategory": "Cookie1" | ||
} | ||
] | ||
}, | ||
"result": false, | ||
"err": [" must have required property 'privateApiKey'"] | ||
}, | ||
{ | ||
"config": { | ||
"privateApiKey": "WfO9dsffsf1", | ||
"listId": "123456", | ||
"oneTrustCookieCategories": [ | ||
{ | ||
"oneTrustCookieCategory": "" | ||
} | ||
] | ||
}, | ||
"result": true | ||
} | ||
] |
Oops, something went wrong.