-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update klaviyo api to 2024-06-15
- Loading branch information
1 parent
dc8eae2
commit 5388074
Showing
7 changed files
with
370 additions
and
20 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
142 changes: 142 additions & 0 deletions
142
src/v0/destinations/klaviyo/data/KlaviyoIdentifyV2.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,142 @@ | ||
[ | ||
{ | ||
"destKey": "external_id", | ||
"sourceKeys": "userId", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "anonymous_id", | ||
"sourceKeys": "anonymousId", | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "email", | ||
"sourceKeys": "emailOnly", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "first_name", | ||
"sourceKeys": "firstName", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "last_name", | ||
"sourceKeys": "lastName", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "phone_number", | ||
"sourceKeys": "phone", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "title", | ||
"sourceKeys": ["traits.title", "context.traits.title", "properties.title"], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "organization", | ||
"sourceKeys": ["traits.organization", "context.traits.organization", "properties.organization"], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "location.city", | ||
"sourceKeys": [ | ||
"traits.city", | ||
"traits.address.city", | ||
"context.traits.city", | ||
"context.traits.address.city", | ||
"properties.city" | ||
], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "location.region", | ||
"sourceKeys": [ | ||
"traits.region", | ||
"traits.address.region", | ||
"context.traits.region", | ||
"context.traits.address.region", | ||
"properties.region", | ||
"traits.state", | ||
"traits.address.state", | ||
"context.traits.address.state", | ||
"context.traits.state", | ||
"properties.state" | ||
], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "location.country", | ||
"sourceKeys": [ | ||
"traits.country", | ||
"traits.address.country", | ||
"context.traits.country", | ||
"context.traits.address.country", | ||
"properties.country" | ||
], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "location.zip", | ||
"sourceKeys": [ | ||
"traits.zip", | ||
"traits.postalcode", | ||
"traits.postalCode", | ||
"traits.address.zip", | ||
"traits.address.postalcode", | ||
"traits.address.postalCode", | ||
"context.traits.zip", | ||
"context.traits.postalcode", | ||
"context.traits.postalCode", | ||
"context.traits.address.zip", | ||
"context.traits.address.postalcode", | ||
"context.traits.address.postalCode", | ||
"properties.zip", | ||
"properties.postalcode", | ||
"properties.postalCode" | ||
], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "ip", | ||
"sourceKeys": ["context.ip", "request_ip"], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "_kx", | ||
"sourceKeys": ["traits._kx", "context.traits._kx"], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "location.timezone", | ||
"sourceKeys": ["traits.timezone", "context.traits.timezone", "properties.timezone"], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "latitude", | ||
"sourceKeys": ["latitude", "context.address.latitude", "context.location.latitude"], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "longitude", | ||
"sourceKeys": ["longitude", "context.address.longitude", "context.location.longitude"], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "location.address1", | ||
"sourceKeys": [ | ||
"traits.street", | ||
"traits.address.street", | ||
"context.traits.street", | ||
"context.traits.address.street", | ||
"properties.street" | ||
], | ||
"required": false | ||
} | ||
] |
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.