@segment/action-destinations 3.246.0-snap-connector → 3.248.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/destinations/acoustic-s3tc/index.js +3 -3
- package/dist/destinations/acoustic-s3tc/index.js.map +1 -1
- package/dist/destinations/acoustic-s3tc/receiveEvents/eventprocessing.d.ts +6 -1
- package/dist/destinations/acoustic-s3tc/receiveEvents/eventprocessing.js +26 -25
- package/dist/destinations/acoustic-s3tc/receiveEvents/eventprocessing.js.map +1 -1
- package/dist/destinations/acoustic-s3tc/receiveEvents/generated-types.d.ts +1 -1
- package/dist/destinations/acoustic-s3tc/receiveEvents/index.js +12 -10
- package/dist/destinations/acoustic-s3tc/receiveEvents/index.js.map +1 -1
- package/dist/destinations/algolia-insights/algolia-insight-api.d.ts +10 -0
- package/dist/destinations/algolia-insights/conversionEvents/generated-types.d.ts +7 -0
- package/dist/destinations/algolia-insights/conversionEvents/index.js +76 -10
- package/dist/destinations/algolia-insights/conversionEvents/index.js.map +1 -1
- package/dist/destinations/algolia-insights/productAddedEvents/index.js +3 -3
- package/dist/destinations/algolia-insights/productAddedEvents/index.js.map +1 -1
- package/dist/destinations/algolia-insights/productClickedEvents/index.js +3 -3
- package/dist/destinations/algolia-insights/productClickedEvents/index.js.map +1 -1
- package/dist/destinations/algolia-insights/productListFilteredEvents/index.js +3 -3
- package/dist/destinations/algolia-insights/productListFilteredEvents/index.js.map +1 -1
- package/dist/destinations/algolia-insights/productViewedEvents/index.js +3 -3
- package/dist/destinations/algolia-insights/productViewedEvents/index.js.map +1 -1
- package/dist/destinations/avo/index.js +4 -4
- package/dist/destinations/avo/index.js.map +1 -1
- package/dist/destinations/customerio/createUpdateDevice/generated-types.d.ts +3 -0
- package/dist/destinations/customerio/createUpdateDevice/index.js +29 -17
- package/dist/destinations/customerio/createUpdateDevice/index.js.map +1 -1
- package/dist/destinations/customerio/createUpdateObject/generated-types.d.ts +3 -0
- package/dist/destinations/customerio/createUpdateObject/index.js +80 -39
- package/dist/destinations/customerio/createUpdateObject/index.js.map +1 -1
- package/dist/destinations/customerio/createUpdatePerson/generated-types.d.ts +4 -1
- package/dist/destinations/customerio/createUpdatePerson/index.d.ts +1 -1
- package/dist/destinations/customerio/createUpdatePerson/index.js +51 -41
- package/dist/destinations/customerio/createUpdatePerson/index.js.map +1 -1
- package/dist/destinations/customerio/deleteDevice/index.js +15 -5
- package/dist/destinations/customerio/deleteDevice/index.js.map +1 -1
- package/dist/destinations/customerio/deletePerson/index.js +4 -8
- package/dist/destinations/customerio/deletePerson/index.js.map +1 -1
- package/dist/destinations/customerio/deleteRelationship/index.js +4 -8
- package/dist/destinations/customerio/deleteRelationship/index.js.map +1 -1
- package/dist/destinations/customerio/index.js +39 -15
- package/dist/destinations/customerio/index.js.map +1 -1
- package/dist/destinations/customerio/suppressPerson/index.js +4 -8
- package/dist/destinations/customerio/suppressPerson/index.js.map +1 -1
- package/dist/destinations/customerio/trackEvent/index.js +26 -32
- package/dist/destinations/customerio/trackEvent/index.js.map +1 -1
- package/dist/destinations/customerio/trackPageView/generated-types.d.ts +1 -0
- package/dist/destinations/customerio/trackPageView/index.js +26 -29
- package/dist/destinations/customerio/trackPageView/index.js.map +1 -1
- package/dist/destinations/customerio/trackScreenView/generated-types.d.ts +1 -0
- package/dist/destinations/customerio/trackScreenView/index.js +25 -29
- package/dist/destinations/customerio/trackScreenView/index.js.map +1 -1
- package/dist/destinations/customerio/unsuppressPerson/index.js +4 -8
- package/dist/destinations/customerio/unsuppressPerson/index.js.map +1 -1
- package/dist/destinations/customerio/utils.d.ts +46 -2
- package/dist/destinations/customerio/utils.js +88 -13
- package/dist/destinations/customerio/utils.js.map +1 -1
- package/dist/destinations/display-video-360/shared.d.ts +10 -5
- package/dist/destinations/display-video-360/shared.js +11 -6
- package/dist/destinations/display-video-360/shared.js.map +1 -1
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js +10 -2
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js.map +1 -1
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.js +11 -3
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.js.map +1 -1
- package/dist/destinations/engage/utils/Profile.d.ts +1 -1
- package/dist/destinations/engage/utils/track.d.ts +17 -17
- package/dist/destinations/google-analytics-4/addPaymentInfo/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/addPaymentInfo/index.js +8 -2
- package/dist/destinations/google-analytics-4/addPaymentInfo/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/addToCart/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/addToCart/index.js +8 -2
- package/dist/destinations/google-analytics-4/addToCart/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/addToWishlist/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/addToWishlist/index.js +8 -2
- package/dist/destinations/google-analytics-4/addToWishlist/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/beginCheckout/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/beginCheckout/index.js +8 -2
- package/dist/destinations/google-analytics-4/beginCheckout/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/customEvent/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/customEvent/index.js +8 -2
- package/dist/destinations/google-analytics-4/customEvent/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/ga4-functions.d.ts +2 -0
- package/dist/destinations/google-analytics-4/ga4-functions.js +13 -1
- package/dist/destinations/google-analytics-4/ga4-functions.js.map +1 -1
- package/dist/destinations/google-analytics-4/ga4-properties.d.ts +2 -0
- package/dist/destinations/google-analytics-4/ga4-properties.js +19 -1
- package/dist/destinations/google-analytics-4/ga4-properties.js.map +1 -1
- package/dist/destinations/google-analytics-4/ga4-types.d.ts +4 -0
- package/dist/destinations/google-analytics-4/generateLead/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/generateLead/index.js +8 -2
- package/dist/destinations/google-analytics-4/generateLead/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/login/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/login/index.js +8 -2
- package/dist/destinations/google-analytics-4/login/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/pageView/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/pageView/index.js +8 -2
- package/dist/destinations/google-analytics-4/pageView/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/purchase/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/purchase/index.js +8 -2
- package/dist/destinations/google-analytics-4/purchase/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/refund/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/refund/index.js +8 -2
- package/dist/destinations/google-analytics-4/refund/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/removeFromCart/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/removeFromCart/index.js +8 -2
- package/dist/destinations/google-analytics-4/removeFromCart/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/search/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/search/index.js +8 -2
- package/dist/destinations/google-analytics-4/search/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/selectItem/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/selectItem/index.js +8 -2
- package/dist/destinations/google-analytics-4/selectItem/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/selectPromotion/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/selectPromotion/index.js +8 -2
- package/dist/destinations/google-analytics-4/selectPromotion/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/signUp/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/signUp/index.js +8 -2
- package/dist/destinations/google-analytics-4/signUp/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewCart/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/viewCart/index.js +8 -2
- package/dist/destinations/google-analytics-4/viewCart/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewItem/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/viewItem/index.js +8 -2
- package/dist/destinations/google-analytics-4/viewItem/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewItemList/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/viewItemList/index.js +8 -2
- package/dist/destinations/google-analytics-4/viewItemList/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewPromotion/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/viewPromotion/index.js +8 -2
- package/dist/destinations/google-analytics-4/viewPromotion/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/functions.d.ts +2 -2
- package/dist/destinations/google-enhanced-conversions/functions.js +5 -4
- package/dist/destinations/google-enhanced-conversions/functions.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadCallConversion/generated-types.d.ts +2 -0
- package/dist/destinations/google-enhanced-conversions/uploadCallConversion/index.js +33 -2
- package/dist/destinations/google-enhanced-conversions/uploadCallConversion/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadClickConversion/generated-types.d.ts +2 -0
- package/dist/destinations/google-enhanced-conversions/uploadClickConversion/index.js +33 -2
- package/dist/destinations/google-enhanced-conversions/uploadClickConversion/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadConversionAdjustment/index.js +2 -2
- package/dist/destinations/google-enhanced-conversions/uploadConversionAdjustment/index.js.map +1 -1
- package/dist/destinations/index.js +1 -0
- package/dist/destinations/index.js.map +1 -1
- package/dist/destinations/kafka/generated-types.d.ts +8 -0
- package/dist/destinations/{trackey/group.types.js → kafka/generated-types.js} +1 -1
- package/dist/destinations/kafka/generated-types.js.map +1 -0
- package/dist/destinations/kafka/index.d.ts +4 -0
- package/dist/destinations/kafka/index.js +70 -0
- package/dist/destinations/kafka/index.js.map +1 -0
- package/dist/destinations/kafka/send/generated-types.d.ts +12 -0
- package/dist/destinations/{engage/sendgrid/Profile.js → kafka/send/generated-types.js} +1 -1
- package/dist/destinations/kafka/send/generated-types.js.map +1 -0
- package/dist/destinations/kafka/send/index.d.ts +5 -0
- package/dist/destinations/kafka/send/index.js +58 -0
- package/dist/destinations/kafka/send/index.js.map +1 -0
- package/dist/destinations/kafka/utils.d.ts +7 -0
- package/dist/destinations/kafka/utils.js +62 -0
- package/dist/destinations/kafka/utils.js.map +1 -0
- package/dist/destinations/klaviyo/orderCompleted/index.js +29 -12
- package/dist/destinations/klaviyo/orderCompleted/index.js.map +1 -1
- package/dist/destinations/linkedin-conversions/api/api.test.js +120 -0
- package/dist/destinations/linkedin-conversions/api/api.test.js.map +1 -1
- package/dist/destinations/linkedin-conversions/api/index.d.ts +4 -1
- package/dist/destinations/linkedin-conversions/api/index.js +118 -27
- package/dist/destinations/linkedin-conversions/api/index.js.map +1 -1
- package/dist/destinations/linkedin-conversions/streamConversion/generated-types.d.ts +4 -3
- package/dist/destinations/linkedin-conversions/streamConversion/index.js +43 -7
- package/dist/destinations/linkedin-conversions/streamConversion/index.js.map +1 -1
- package/dist/destinations/linkedin-conversions/types.d.ts +2 -0
- package/dist/destinations/marketo-static-lists/addToList/generated-types.d.ts +8 -1
- package/dist/destinations/marketo-static-lists/addToList/index.js +2 -1
- package/dist/destinations/marketo-static-lists/addToList/index.js.map +1 -1
- package/dist/destinations/marketo-static-lists/constants.js +2 -2
- package/dist/destinations/marketo-static-lists/constants.js.map +1 -1
- package/dist/destinations/marketo-static-lists/functions.d.ts +1 -0
- package/dist/destinations/marketo-static-lists/functions.js +30 -13
- package/dist/destinations/marketo-static-lists/functions.js.map +1 -1
- package/dist/destinations/marketo-static-lists/index.js +3 -2
- package/dist/destinations/marketo-static-lists/index.js.map +1 -1
- package/dist/destinations/marketo-static-lists/properties.d.ts +3 -1
- package/dist/destinations/marketo-static-lists/properties.js +88 -6
- package/dist/destinations/marketo-static-lists/properties.js.map +1 -1
- package/dist/destinations/marketo-static-lists/removeFromList/generated-types.d.ts +2 -1
- package/dist/destinations/marketo-static-lists/removeFromList/index.js +2 -1
- package/dist/destinations/marketo-static-lists/removeFromList/index.js.map +1 -1
- package/dist/destinations/optimizely-data-platform/customEvent/index.js +1 -1
- package/dist/destinations/optimizely-data-platform/customEvent/index.js.map +1 -1
- package/dist/destinations/optimizely-data-platform/fields.d.ts +1 -0
- package/dist/destinations/optimizely-data-platform/fields.js +10 -1
- package/dist/destinations/optimizely-data-platform/fields.js.map +1 -1
- package/dist/destinations/optimizely-data-platform/index.js +2 -0
- package/dist/destinations/optimizely-data-platform/index.js.map +1 -1
- package/dist/destinations/optimizely-data-platform/nonEcommCustomEvent/generated-types.d.ts +13 -0
- package/dist/destinations/{trackey/identify.types.js → optimizely-data-platform/nonEcommCustomEvent/generated-types.js} +1 -1
- package/dist/destinations/optimizely-data-platform/nonEcommCustomEvent/generated-types.js.map +1 -0
- package/dist/destinations/optimizely-data-platform/nonEcommCustomEvent/index.d.ts +5 -0
- package/dist/destinations/optimizely-data-platform/nonEcommCustomEvent/index.js +29 -0
- package/dist/destinations/optimizely-data-platform/nonEcommCustomEvent/index.js.map +1 -0
- package/dist/destinations/salesforce/sf-properties.d.ts +1 -1
- package/dist/destinations/salesforce/sf-properties.js +52 -4
- package/dist/destinations/salesforce/sf-properties.js.map +1 -1
- package/dist/destinations/schematic/trackEvent/generated-types.d.ts +1 -0
- package/dist/destinations/schematic/trackEvent/index.js +19 -3
- package/dist/destinations/schematic/trackEvent/index.js.map +1 -1
- package/dist/destinations/snap-conversions-api/_tests_/capiV3tests.js +8 -4
- package/dist/destinations/snap-conversions-api/_tests_/capiV3tests.js.map +1 -1
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-v3.js +9 -6
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-v3.js.map +1 -1
- package/dist/destinations/tiktok-audiences/addUser/index.js +1 -1
- package/dist/destinations/tiktok-audiences/addUser/index.js.map +1 -1
- package/dist/destinations/tiktok-audiences/createAudience/index.js +2 -2
- package/dist/destinations/tiktok-audiences/createAudience/index.js.map +1 -1
- package/dist/destinations/tiktok-audiences/index.js +3 -3
- package/dist/destinations/tiktok-audiences/index.js.map +1 -1
- package/dist/destinations/tiktok-audiences/removeUser/index.js +1 -1
- package/dist/destinations/tiktok-audiences/removeUser/index.js.map +1 -1
- package/dist/destinations/tiktok-conversions-sandbox/common_fields.js +1 -1
- package/dist/destinations/tiktok-conversions-sandbox/common_fields.js.map +1 -1
- package/dist/destinations/tiktok-offline-conversions/common_fields.js +183 -24
- package/dist/destinations/tiktok-offline-conversions/common_fields.js.map +1 -1
- package/dist/destinations/tiktok-offline-conversions/formatter.d.ts +1 -0
- package/dist/destinations/tiktok-offline-conversions/formatter.js +11 -1
- package/dist/destinations/tiktok-offline-conversions/formatter.js.map +1 -1
- package/dist/destinations/tiktok-offline-conversions/index.js +169 -15
- package/dist/destinations/tiktok-offline-conversions/index.js.map +1 -1
- package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/index.js +1 -1
- package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/index.js.map +1 -1
- package/dist/destinations/tiktok-offline-conversions/trackNonPaymentOfflineConversion/generated-types.d.ts +25 -2
- package/dist/destinations/tiktok-offline-conversions/trackNonPaymentOfflineConversion/index.js +4 -29
- package/dist/destinations/tiktok-offline-conversions/trackNonPaymentOfflineConversion/index.js.map +1 -1
- package/dist/destinations/tiktok-offline-conversions/trackPaymentOfflineConversion/generated-types.d.ts +18 -5
- package/dist/destinations/tiktok-offline-conversions/trackPaymentOfflineConversion/index.js +5 -126
- package/dist/destinations/tiktok-offline-conversions/trackPaymentOfflineConversion/index.js.map +1 -1
- package/dist/destinations/tiktok-offline-conversions/utils.js +10 -9
- package/dist/destinations/tiktok-offline-conversions/utils.js.map +1 -1
- package/dist/destinations/tiktok-offline-conversions-sandbox/common_fields.js +1 -1
- package/dist/destinations/tiktok-offline-conversions-sandbox/common_fields.js.map +1 -1
- package/package.json +5 -4
- package/dist/destinations/engage/sendgrid/Profile.d.ts +0 -6
- package/dist/destinations/engage/sendgrid/Profile.js.map +0 -1
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.d.ts +0 -18
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.js +0 -94
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.js.map +0 -1
- package/dist/destinations/mixpanel/incrementProperties/__test__/__snapshots__/snapshot.test.js.snap +0 -18
- package/dist/destinations/tiktok-conversions/common_fields.d.ts +0 -2
- package/dist/destinations/tiktok-conversions/common_fields.js +0 -245
- package/dist/destinations/tiktok-conversions/common_fields.js.map +0 -1
- package/dist/destinations/tiktok-conversions/formatter.d.ts +0 -3
- package/dist/destinations/tiktok-conversions/formatter.js +0 -43
- package/dist/destinations/tiktok-conversions/formatter.js.map +0 -1
- package/dist/destinations/tiktok-conversions/utils.d.ts +0 -4
- package/dist/destinations/tiktok-conversions/utils.js +0 -65
- package/dist/destinations/tiktok-conversions/utils.js.map +0 -1
- package/dist/destinations/trackey/group.types.d.ts +0 -11
- package/dist/destinations/trackey/group.types.js.map +0 -1
- package/dist/destinations/trackey/identify.types.d.ts +0 -11
- package/dist/destinations/trackey/identify.types.js.map +0 -1
- package/dist/destinations/trackey/track.types.d.ts +0 -12
- package/dist/destinations/trackey/track.types.js +0 -3
- package/dist/destinations/trackey/track.types.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@segment/action-destinations",
|
|
3
3
|
"description": "Destination Actions engine and definitions.",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.248.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/segmentio/action-destinations",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@bufbuild/protobuf": "^1.4.2",
|
|
44
44
|
"@bufbuild/protoc-gen-es": "^1.4.2",
|
|
45
45
|
"@segment/a1-notation": "^2.1.4",
|
|
46
|
-
"@segment/actions-core": "^3.
|
|
47
|
-
"@segment/actions-shared": "^1.
|
|
46
|
+
"@segment/actions-core": "^3.99.0",
|
|
47
|
+
"@segment/actions-shared": "^1.80.0",
|
|
48
48
|
"@types/node": "^18.11.15",
|
|
49
49
|
"ajv-formats": "^2.1.1",
|
|
50
50
|
"aws4": "^1.12.0",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"dayjs": "^1.10.7",
|
|
53
53
|
"escape-goat": "^3",
|
|
54
54
|
"google-libphonenumber": "^3.2.31",
|
|
55
|
+
"kafkajs": "^2.2.4",
|
|
55
56
|
"liquidjs": "^9.37.0",
|
|
56
57
|
"lodash": "^4.17.21",
|
|
57
58
|
"ssh2-sftp-client": "^9.1.0"
|
|
@@ -85,5 +86,5 @@
|
|
|
85
86
|
"__tests__/__helpers__/"
|
|
86
87
|
]
|
|
87
88
|
},
|
|
88
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "7662a18a7dd29184e930887dcbf3fbd3a80a9b2e"
|
|
89
90
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.js","sourceRoot":"","sources":["../../../../src/destinations/engage/sendgrid/Profile.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { InputField } from '@segment/actions-core';
|
|
2
|
-
import { RequestClient } from '@segment/actions-core';
|
|
3
|
-
import { Logger, StatsClient } from '@segment/actions-core/destination-kit';
|
|
4
|
-
import type { Settings } from '../generated-types';
|
|
5
|
-
import { Profile } from '../Profile';
|
|
6
|
-
export declare type ApiLookupConfig = {
|
|
7
|
-
id?: string | undefined;
|
|
8
|
-
name: string;
|
|
9
|
-
url: string;
|
|
10
|
-
method: string;
|
|
11
|
-
cacheTtl: number;
|
|
12
|
-
body?: string | undefined;
|
|
13
|
-
headers?: object | undefined;
|
|
14
|
-
responseType: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const performApiLookup: (request: RequestClient, { id, url, method, body, headers }: ApiLookupConfig, profile: Profile, statsClient: StatsClient | undefined, tags: string[], settings: Settings, logger?: Logger | undefined) => Promise<unknown>;
|
|
17
|
-
export declare const apiLookupActionFields: Record<string, InputField>;
|
|
18
|
-
export declare const apiLookupLiquidKey = "lookups";
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.apiLookupLiquidKey = exports.apiLookupActionFields = exports.performApiLookup = void 0;
|
|
4
|
-
const actions_core_1 = require("@segment/actions-core");
|
|
5
|
-
const liquidjs_1 = require("liquidjs");
|
|
6
|
-
const Liquid = new liquidjs_1.Liquid();
|
|
7
|
-
const performApiLookup = async (request, { id, url, method, body, headers }, profile, statsClient, tags, settings, logger) => {
|
|
8
|
-
let renderedUrl;
|
|
9
|
-
let renderedBody;
|
|
10
|
-
try {
|
|
11
|
-
renderedUrl = await Liquid.parseAndRender(url, { profile });
|
|
12
|
-
}
|
|
13
|
-
catch (error) {
|
|
14
|
-
logger?.error(`TE Messaging: Email api lookup url parse failure - api lookup id: ${id} - ${settings.spaceId} - [${error}]`);
|
|
15
|
-
tags.push('reason:parse_apilookup_url');
|
|
16
|
-
statsClient?.incr('actions-personas-messaging-sendgrid-error', 1, tags);
|
|
17
|
-
throw new actions_core_1.IntegrationError('Unable to parse email api lookup url', 'api lookup url parse failure', 400);
|
|
18
|
-
}
|
|
19
|
-
try {
|
|
20
|
-
renderedBody = body ? await Liquid.parseAndRender(body, { profile }) : undefined;
|
|
21
|
-
}
|
|
22
|
-
catch (error) {
|
|
23
|
-
logger?.error(`TE Messaging: Email api lookup body parse failure - api lookup id: ${id} - ${settings.spaceId} - [${error}]`);
|
|
24
|
-
tags.push('reason:parse_apilookup_body');
|
|
25
|
-
statsClient?.incr('actions-personas-messaging-sendgrid-error', 1, tags);
|
|
26
|
-
throw new actions_core_1.IntegrationError('Unable to parse email api lookup body', 'api lookup body parse failure', 400);
|
|
27
|
-
}
|
|
28
|
-
try {
|
|
29
|
-
const res = await request(renderedUrl, {
|
|
30
|
-
headers: headers ?? undefined,
|
|
31
|
-
timeout: 10000,
|
|
32
|
-
method: method,
|
|
33
|
-
body: renderedBody,
|
|
34
|
-
skipResponseCloning: true
|
|
35
|
-
});
|
|
36
|
-
return res.data;
|
|
37
|
-
}
|
|
38
|
-
catch (error) {
|
|
39
|
-
logger?.error(`TE Messaging: Email api lookup failure - api lookup id: ${id} - ${settings.spaceId} - [${error}]`);
|
|
40
|
-
tags.push('reason:apilookup_failure');
|
|
41
|
-
statsClient?.incr('actions-personas-messaging-sendgrid-error', 1, tags);
|
|
42
|
-
throw error;
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
exports.performApiLookup = performApiLookup;
|
|
46
|
-
exports.apiLookupActionFields = {
|
|
47
|
-
id: {
|
|
48
|
-
label: 'ID',
|
|
49
|
-
description: 'The id of the API lookup for use in logging & observability',
|
|
50
|
-
type: 'string'
|
|
51
|
-
},
|
|
52
|
-
name: {
|
|
53
|
-
label: 'Name',
|
|
54
|
-
description: 'The name of the API lookup referenced in liquid syntax',
|
|
55
|
-
type: 'string',
|
|
56
|
-
required: true
|
|
57
|
-
},
|
|
58
|
-
url: {
|
|
59
|
-
label: 'URL',
|
|
60
|
-
description: 'The URL endpoint to call',
|
|
61
|
-
type: 'string',
|
|
62
|
-
required: true
|
|
63
|
-
},
|
|
64
|
-
method: {
|
|
65
|
-
label: 'Request Method',
|
|
66
|
-
description: 'The request method, e.g. GET/POST/etc.',
|
|
67
|
-
type: 'string',
|
|
68
|
-
required: true
|
|
69
|
-
},
|
|
70
|
-
cacheTtl: {
|
|
71
|
-
label: 'Cache TTL',
|
|
72
|
-
description: 'The cache TTL in ms',
|
|
73
|
-
type: 'integer',
|
|
74
|
-
required: true
|
|
75
|
-
},
|
|
76
|
-
body: {
|
|
77
|
-
label: 'Request Body',
|
|
78
|
-
description: 'The request body for use with POST/PUT/PATCH requests',
|
|
79
|
-
type: 'string'
|
|
80
|
-
},
|
|
81
|
-
headers: {
|
|
82
|
-
label: 'Request Headers',
|
|
83
|
-
description: 'Headers in JSON to be sent with the request',
|
|
84
|
-
type: 'object'
|
|
85
|
-
},
|
|
86
|
-
responseType: {
|
|
87
|
-
label: 'Response Type',
|
|
88
|
-
description: 'The response type of the request. Currently only supporting JSON.',
|
|
89
|
-
type: 'string',
|
|
90
|
-
required: true
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
exports.apiLookupLiquidKey = 'lookups';
|
|
94
|
-
//# sourceMappingURL=api-lookups.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-lookups.js","sourceRoot":"","sources":["../../../../../src/destinations/engage/sendgrid/previewApiLookup/api-lookups.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AAKxD,uCAA6C;AAG7C,MAAM,MAAM,GAAG,IAAI,iBAAQ,EAAE,CAAA;AActB,MAAM,gBAAgB,GAAG,KAAK,EACnC,OAAsB,EACtB,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAmB,EACnD,OAAgB,EAChB,WAAoC,EACpC,IAAc,EACd,QAAkB,EAClB,MAA2B,EAC3B,EAAE;IACF,IAAI,WAAmB,CAAA;IACvB,IAAI,YAAgC,CAAA;IACpC,IAAI;QACF,WAAW,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,CAAC,CAAA;KAC5D;IAAC,OAAO,KAAK,EAAE;QACd,MAAM,EAAE,KAAK,CACX,qEAAqE,EAAE,MAAM,QAAQ,CAAC,OAAO,OAAO,KAAK,GAAG,CAC7G,CAAA;QACD,IAAI,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAA;QACvC,WAAW,EAAE,IAAI,CAAC,2CAA2C,EAAE,CAAC,EAAE,IAAI,CAAC,CAAA;QACvE,MAAM,IAAI,+BAAgB,CAAC,sCA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,EAAE,QAAQ;KACf;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,wDAAwD;QACrE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,GAAG,EAAE;QACH,KAAK,EAAE,KAAK;QACZ,WAAW,EAAE,0BAA0B;QACvC,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,MAAM,EAAE;QACN,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,wCAAwC;QACrD,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,cAAc;QACrB,WAAW,EAAE,uDAAuD;QACpE,IAAI,EAAE,QAAQ;KACf;IACD,OAAO,EAAE;QACP,KAAK,EAAE,iBAAiB;QACxB,WAAW,EAAE,6CAA6C;QAC1D,IAAI,EAAE,QAAQ;KACf;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,eAAe;QACtB,WAAW,EAAE,mEAAmE;QAChF,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;CACF,CAAA;AAEY,QAAA,kBAAkB,GAAG,SAAS,CAAA"}
|
package/dist/destinations/mixpanel/incrementProperties/__test__/__snapshots__/snapshot.test.js.snap
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Testing snapshot for Mixpanel's identifyUser destination action: all fields 1`] = `"data=%7B%22event%22%3A%22%24identify%22%2C%22properties%22%3A%7B%22%24identified_id%22%3A%221SVsemB5FYy7%23Wu9%22%2C%22%24anon_id%22%3A%221SVsemB5FYy7%23Wu9%22%2C%22token%22%3A%221SVsemB5FYy7%23Wu9%22%2C%22segment_source_name%22%3A%221SVsemB5FYy7%23Wu9%22%7D%7D"`;
|
|
4
|
-
|
|
5
|
-
exports[`Testing snapshot for Mixpanel's identifyUser destination action: required fields 1`] = `"data=%7B%22event%22%3A%22%24identify%22%2C%22properties%22%3A%7B%22%24identified_id%22%3A%221SVsemB5FYy7%23Wu9%22%2C%22%24anon_id%22%3A%221SVsemB5FYy7%23Wu9%22%2C%22token%22%3A%221SVsemB5FYy7%23Wu9%22%2C%22segment_source_name%22%3A%221SVsemB5FYy7%23Wu9%22%7D%7D"`;
|
|
6
|
-
|
|
7
|
-
exports[`Testing snapshot for Mixpanel's identifyUser destination action: required fields 2`] = `
|
|
8
|
-
Headers {
|
|
9
|
-
Symbol(map): Object {
|
|
10
|
-
"Content-Type": Array [
|
|
11
|
-
"application/x-www-form-urlencoded;charset=UTF-8",
|
|
12
|
-
],
|
|
13
|
-
"user-agent": Array [
|
|
14
|
-
"Segment (Actions)",
|
|
15
|
-
],
|
|
16
|
-
},
|
|
17
|
-
}
|
|
18
|
-
`;
|
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonFields = void 0;
|
|
4
|
-
exports.commonFields = {
|
|
5
|
-
event: {
|
|
6
|
-
label: 'Event Name',
|
|
7
|
-
type: 'string',
|
|
8
|
-
required: true,
|
|
9
|
-
description: 'Conversion event name. Please refer to the "Supported Web Events" section on in TikTok’s [Events API documentation](https://ads.tiktok.com/marketing_api/docs?id=1701890979375106) for accepted event names.'
|
|
10
|
-
},
|
|
11
|
-
event_id: {
|
|
12
|
-
label: 'Event ID',
|
|
13
|
-
type: 'string',
|
|
14
|
-
description: 'Any hashed ID that can identify a unique user/session.',
|
|
15
|
-
default: {
|
|
16
|
-
'@path': '$.messageId'
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
timestamp: {
|
|
20
|
-
label: 'Event Timestamp',
|
|
21
|
-
type: 'string',
|
|
22
|
-
description: 'Timestamp that the event took place, in ISO 8601 format.',
|
|
23
|
-
default: {
|
|
24
|
-
'@path': '$.timestamp'
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
phone_number: {
|
|
28
|
-
label: 'Phone Number',
|
|
29
|
-
description: 'A single phone number or array of phone numbers in E.164 standard format. Segment will hash this value before sending to TikTok. e.g. +14150000000. Segment will hash this value before sending to TikTok.',
|
|
30
|
-
type: 'string',
|
|
31
|
-
multiple: true,
|
|
32
|
-
default: {
|
|
33
|
-
'@if': {
|
|
34
|
-
exists: { '@path': '$.properties.phone' },
|
|
35
|
-
then: { '@path': '$.properties.phone' },
|
|
36
|
-
else: { '@path': '$.context.traits.phone' }
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
email: {
|
|
41
|
-
label: 'Email',
|
|
42
|
-
description: 'A single email address or an array of email addresses. Segment will hash this value before sending to TikTok.',
|
|
43
|
-
type: 'string',
|
|
44
|
-
format: 'email',
|
|
45
|
-
multiple: true,
|
|
46
|
-
default: {
|
|
47
|
-
'@if': {
|
|
48
|
-
exists: { '@path': '$.properties.email' },
|
|
49
|
-
then: { '@path': '$.properties.email' },
|
|
50
|
-
else: { '@path': '$.context.traits.email' }
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
order_id: {
|
|
55
|
-
label: 'Order ID',
|
|
56
|
-
type: 'string',
|
|
57
|
-
description: 'Order ID of the transaction.',
|
|
58
|
-
default: {
|
|
59
|
-
'@path': '$.properties.order_id'
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
shop_id: {
|
|
63
|
-
label: 'Shop ID',
|
|
64
|
-
type: 'string',
|
|
65
|
-
description: 'Shop ID of the transaction.',
|
|
66
|
-
default: {
|
|
67
|
-
'@path': '$.properties.shop_id'
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
external_id: {
|
|
71
|
-
label: 'External ID',
|
|
72
|
-
description: 'Uniquely identifies the user who triggered the conversion event. Segment will hash this value before sending to TikTok. TikTok Conversions Destination supports both string and string[] types for sending external ID(s).',
|
|
73
|
-
type: 'string',
|
|
74
|
-
multiple: true,
|
|
75
|
-
default: {
|
|
76
|
-
'@if': {
|
|
77
|
-
exists: { '@path': '$.userId' },
|
|
78
|
-
then: { '@path': '$.userId' },
|
|
79
|
-
else: { '@path': '$.anonymousId' }
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
ttclid: {
|
|
84
|
-
label: 'TikTok Click ID',
|
|
85
|
-
description: 'The value of the ttclid used to match website visitor events with TikTok ads. The ttclid is valid for 7 days. See [Set up ttclid](https://ads.tiktok.com/marketing_api/docs?rid=4eezrhr6lg4&id=1681728034437121) for details.',
|
|
86
|
-
type: 'string',
|
|
87
|
-
default: {
|
|
88
|
-
'@if': {
|
|
89
|
-
exists: { '@path': '$.properties.ttclid' },
|
|
90
|
-
then: { '@path': '$.properties.ttclid' },
|
|
91
|
-
else: { '@path': '$.integrations.TikTok Conversions.ttclid' }
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
ttp: {
|
|
96
|
-
label: 'TikTok Cookie ID',
|
|
97
|
-
description: 'TikTok Cookie ID. If you also use Pixel SDK and have enabled cookies, Pixel SDK automatically saves a unique identifier in the `_ttp` cookie. The value of `_ttp` is used to match website visitor events with TikTok ads. You can extract the value of `_ttp` and attach the value here. To learn more about the `ttp` parameter, refer to [Events API 2.0 - Send TikTok Cookie](https://ads.tiktok.com/marketing_api/docs?id=%201771100936446977) (`_ttp`).',
|
|
98
|
-
type: 'string',
|
|
99
|
-
default: {
|
|
100
|
-
'@if': {
|
|
101
|
-
exists: { '@path': '$.properties.ttp' },
|
|
102
|
-
then: { '@path': '$.properties.ttp' },
|
|
103
|
-
else: { '@path': '$.integrations.TikTok Conversions.ttp' }
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
lead_id: {
|
|
108
|
-
label: 'TikTok Lead ID',
|
|
109
|
-
description: 'ID of TikTok leads. Every lead will have its own lead_id when exported from TikTok. This feature is in Beta. Please contact your TikTok representative to inquire regarding availability',
|
|
110
|
-
type: 'string',
|
|
111
|
-
default: { '@path': '$.properties.lead_id' }
|
|
112
|
-
},
|
|
113
|
-
locale: {
|
|
114
|
-
label: 'Locale',
|
|
115
|
-
description: 'The BCP 47 language identifier. For reference, refer to the [IETF BCP 47 standardized code](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).',
|
|
116
|
-
type: 'string',
|
|
117
|
-
default: {
|
|
118
|
-
'@path': '$.context.locale'
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
url: {
|
|
122
|
-
label: 'Page URL',
|
|
123
|
-
type: 'string',
|
|
124
|
-
description: 'The page URL where the conversion event took place.',
|
|
125
|
-
default: {
|
|
126
|
-
'@path': '$.context.page.url'
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
referrer: {
|
|
130
|
-
label: 'Page Referrer',
|
|
131
|
-
type: 'string',
|
|
132
|
-
description: 'The page referrer.',
|
|
133
|
-
default: {
|
|
134
|
-
'@path': '$.context.page.referrer'
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
ip: {
|
|
138
|
-
label: 'IP Address',
|
|
139
|
-
type: 'string',
|
|
140
|
-
description: 'IP address of the browser.',
|
|
141
|
-
default: {
|
|
142
|
-
'@path': '$.context.ip'
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
user_agent: {
|
|
146
|
-
label: 'User Agent',
|
|
147
|
-
type: 'string',
|
|
148
|
-
description: 'User agent from the user’s device.',
|
|
149
|
-
default: {
|
|
150
|
-
'@path': '$.context.userAgent'
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
contents: {
|
|
154
|
-
label: 'Contents',
|
|
155
|
-
type: 'object',
|
|
156
|
-
multiple: true,
|
|
157
|
-
description: 'Related item details for the event.',
|
|
158
|
-
properties: {
|
|
159
|
-
price: {
|
|
160
|
-
label: 'Price',
|
|
161
|
-
description: 'Price of the item.',
|
|
162
|
-
type: 'number'
|
|
163
|
-
},
|
|
164
|
-
quantity: {
|
|
165
|
-
label: 'Quantity',
|
|
166
|
-
description: 'Number of items.',
|
|
167
|
-
type: 'number'
|
|
168
|
-
},
|
|
169
|
-
content_category: {
|
|
170
|
-
label: 'Content Category',
|
|
171
|
-
description: 'Category of the product item.',
|
|
172
|
-
type: 'string'
|
|
173
|
-
},
|
|
174
|
-
content_id: {
|
|
175
|
-
label: 'Content ID',
|
|
176
|
-
description: 'ID of the product item.',
|
|
177
|
-
type: 'string'
|
|
178
|
-
},
|
|
179
|
-
content_name: {
|
|
180
|
-
label: 'Content Name',
|
|
181
|
-
description: 'Name of the product item.',
|
|
182
|
-
type: 'string'
|
|
183
|
-
},
|
|
184
|
-
brand: {
|
|
185
|
-
label: 'Brand',
|
|
186
|
-
description: 'Brand name of the product item.',
|
|
187
|
-
type: 'string'
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
content_type: {
|
|
192
|
-
label: 'Content Type',
|
|
193
|
-
description: 'Type of the product item. When the `content_id` in the `Contents` field is specified as a `sku_id`, set this field to `product`. When the `content_id` in the `Contents` field is specified as an `item_group_id`, set this field to `product_group`.',
|
|
194
|
-
type: 'string',
|
|
195
|
-
choices: ['product', 'product_group'],
|
|
196
|
-
default: 'product'
|
|
197
|
-
},
|
|
198
|
-
currency: {
|
|
199
|
-
label: 'Currency',
|
|
200
|
-
type: 'string',
|
|
201
|
-
description: 'Currency for the value specified as ISO 4217 code.',
|
|
202
|
-
default: {
|
|
203
|
-
'@path': '$.properties.currency'
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
value: {
|
|
207
|
-
label: 'Value',
|
|
208
|
-
type: 'number',
|
|
209
|
-
description: 'Value of the order or items sold.',
|
|
210
|
-
default: {
|
|
211
|
-
'@if': {
|
|
212
|
-
exists: { '@path': '$.properties.value' },
|
|
213
|
-
then: { '@path': '$.properties.value' },
|
|
214
|
-
else: { '@path': '$.properties.revenue' }
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
description: {
|
|
219
|
-
label: 'Description',
|
|
220
|
-
type: 'string',
|
|
221
|
-
description: 'A string description of the web event.'
|
|
222
|
-
},
|
|
223
|
-
query: {
|
|
224
|
-
label: 'Query',
|
|
225
|
-
type: 'string',
|
|
226
|
-
description: 'The text string that was searched for.',
|
|
227
|
-
default: {
|
|
228
|
-
'@path': '$.properties.query'
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
limited_data_use: {
|
|
232
|
-
label: 'Limited Data Use',
|
|
233
|
-
type: 'boolean',
|
|
234
|
-
description: 'Use this field to flag an event for limited data processing. TikTok will recognize this parameter as a request for limited data processing, and will limit its processing activities accordingly if the event shared occurred in an eligible location. To learn more about the Limited Data Use feature, refer to [Events API 2.0 - Limited Data Use](https://ads.tiktok.com/marketing_api/docs?id=1771101204435970).',
|
|
235
|
-
default: {
|
|
236
|
-
'@path': '$.properties.limited_data_use'
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
test_event_code: {
|
|
240
|
-
label: 'Test Event Code',
|
|
241
|
-
type: 'string',
|
|
242
|
-
description: 'Use this field to specify that events should be test events rather than actual traffic. You can find your Test Event Code in your TikTok Events Manager under the "Test Event" tab. You\'ll want to remove your Test Event Code when sending real traffic through this integration.'
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
//# sourceMappingURL=common_fields.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common_fields.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-conversions/common_fields.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAA+B;IACtD,KAAK,EAAE;QACL,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,WAAW,EACT,8MAA8M;KACjN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"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.formatUserIds = exports.formatPhones = exports.formatEmails = void 0;
|
|
4
|
-
const crypto_1 = require("crypto");
|
|
5
|
-
const formatEmails = (email_addresses) => {
|
|
6
|
-
const result = [];
|
|
7
|
-
if (email_addresses) {
|
|
8
|
-
email_addresses.forEach((email) => {
|
|
9
|
-
result.push(hashAndEncode(email.toLowerCase()));
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
return result;
|
|
13
|
-
};
|
|
14
|
-
exports.formatEmails = formatEmails;
|
|
15
|
-
const formatPhones = (phone_numbers) => {
|
|
16
|
-
const result = [];
|
|
17
|
-
if (!phone_numbers)
|
|
18
|
-
return result;
|
|
19
|
-
phone_numbers.forEach((phone) => {
|
|
20
|
-
const validatedPhone = phone.match(/[0-9]{0,14}/g);
|
|
21
|
-
if (validatedPhone === null) {
|
|
22
|
-
throw new Error(`${phone} is not a valid E.164 phone number.`);
|
|
23
|
-
}
|
|
24
|
-
const formattedPhone = `+${phone.replace(/[^0-9]/g, '')}`;
|
|
25
|
-
result.push(hashAndEncode(formattedPhone.substring(0, 15)));
|
|
26
|
-
});
|
|
27
|
-
return result;
|
|
28
|
-
};
|
|
29
|
-
exports.formatPhones = formatPhones;
|
|
30
|
-
function formatUserIds(userIds) {
|
|
31
|
-
const result = [];
|
|
32
|
-
if (userIds) {
|
|
33
|
-
userIds.forEach((userId) => {
|
|
34
|
-
result.push(hashAndEncode(userId.toLowerCase()));
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
return result;
|
|
38
|
-
}
|
|
39
|
-
exports.formatUserIds = formatUserIds;
|
|
40
|
-
function hashAndEncode(property) {
|
|
41
|
-
return crypto_1.createHash('sha256').update(property).digest('hex');
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=formatter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatter.js","sourceRoot":"","sources":["../../../src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AAC,aAAa,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC,CAAA;QAClD,CAAC,CAAC,CAAA;KACH;IACD,OAAO,MAAM,CAAA;AACf,CAAC;AARD,sCAQC;AAED,SAAS,aAAa,CAAC,QAAgB;IACrC,OAAO,mBAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;AAC5D,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { RequestClient } from '@segment/actions-core';
|
|
2
|
-
import { Settings } from './generated-types';
|
|
3
|
-
import { Payload } from './reportWebEvent/generated-types';
|
|
4
|
-
export declare function performWebEvent(request: RequestClient, settings: Settings, payload: Payload): Promise<import("@segment/actions-core").ModifiedResponse<unknown>>;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.performWebEvent = void 0;
|
|
4
|
-
const formatter_1 = require("./formatter");
|
|
5
|
-
function performWebEvent(request, settings, payload) {
|
|
6
|
-
const phone_numbers = formatter_1.formatPhones(payload.phone_number);
|
|
7
|
-
const emails = formatter_1.formatEmails(payload.email);
|
|
8
|
-
const userIds = formatter_1.formatUserIds(payload.external_id);
|
|
9
|
-
let payloadUrl, urlTtclid;
|
|
10
|
-
if (payload.url) {
|
|
11
|
-
try {
|
|
12
|
-
payloadUrl = new URL(payload.url);
|
|
13
|
-
}
|
|
14
|
-
catch (error) {
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
if (payloadUrl)
|
|
18
|
-
urlTtclid = payloadUrl.searchParams.get('ttclid');
|
|
19
|
-
return request('https://business-api.tiktok.com/open_api/v1.3/event/track/', {
|
|
20
|
-
method: 'post',
|
|
21
|
-
json: {
|
|
22
|
-
event_source: 'web',
|
|
23
|
-
event_source_id: settings.pixelCode,
|
|
24
|
-
partner_name: 'Segment',
|
|
25
|
-
data: [
|
|
26
|
-
{
|
|
27
|
-
event: payload.event,
|
|
28
|
-
event_time: payload.timestamp
|
|
29
|
-
? Math.floor(new Date(payload.timestamp).getTime() / 1000)
|
|
30
|
-
: Math.floor(new Date().getTime() / 1000),
|
|
31
|
-
event_id: payload.event_id ? `${payload.event_id}` : undefined,
|
|
32
|
-
user: {
|
|
33
|
-
ttclid: payload.ttclid ? payload.ttclid : urlTtclid ? urlTtclid : undefined,
|
|
34
|
-
external_id: userIds,
|
|
35
|
-
phone: phone_numbers,
|
|
36
|
-
email: emails,
|
|
37
|
-
lead_id: payload.lead_id ? payload.lead_id : undefined,
|
|
38
|
-
ttp: payload.ttp ? payload.ttp : undefined,
|
|
39
|
-
ip: payload.ip ? payload.ip : undefined,
|
|
40
|
-
user_agent: payload.user_agent ? payload.user_agent : undefined,
|
|
41
|
-
locale: payload.locale ? payload.locale : undefined
|
|
42
|
-
},
|
|
43
|
-
properties: {
|
|
44
|
-
contents: payload.contents ? payload.contents : [],
|
|
45
|
-
content_type: payload.content_type ? payload.content_type : undefined,
|
|
46
|
-
currency: payload.currency ? payload.currency : undefined,
|
|
47
|
-
value: payload.value ? payload.value : undefined,
|
|
48
|
-
query: payload.query ? payload.query : undefined,
|
|
49
|
-
description: payload.description ? payload.description : undefined,
|
|
50
|
-
order_id: payload.order_id ? payload.order_id : undefined,
|
|
51
|
-
shop_id: payload.shop_id ? payload.shop_id : undefined
|
|
52
|
-
},
|
|
53
|
-
page: {
|
|
54
|
-
url: payload.url ? payload.url : undefined,
|
|
55
|
-
referrer: payload.referrer ? payload.referrer : undefined
|
|
56
|
-
},
|
|
57
|
-
limited_data_use: payload.limited_data_use ? payload.limited_data_use : false,
|
|
58
|
-
test_event_code: payload.test_event_code ? payload.test_event_code : undefined
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
exports.performWebEvent = performWebEvent;
|
|
65
|
-
//# sourceMappingURL=utils.js.map
|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CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;wBAChD,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS;wBAClE,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;wBACzD,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;qBACvD;oBACD,IAAI,EAAE;wBACJ,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS;wBAC1C,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;qBAC1D;oBACD,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,KAAK;oBAC7E,eAAe,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS;iBAC/E;aACF;SACF;KACF,CAAC,CAAA;AACJ,CAAC;AA5DD,0CA4DC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"group.types.js","sourceRoot":"","sources":["../../../src/destinations/trackey/group.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"identify.types.js","sourceRoot":"","sources":["../../../src/destinations/trackey/identify.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"track.types.js","sourceRoot":"","sources":["../../../src/destinations/trackey/track.types.ts"],"names":[],"mappings":""}
|