@segment/action-destinations 3.261.0 → 3.261.1-staging.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/amazon-ads/generated-types.d.ts +9 -0
- package/dist/destinations/amazon-ads/index.d.ts +2 -2
- package/dist/destinations/amazon-ads/index.js +180 -3
- package/dist/destinations/amazon-ads/index.js.map +1 -1
- package/dist/destinations/amazon-ads/syncAudiences/generated-types.d.ts +19 -0
- package/dist/destinations/amazon-ads/syncAudiences/index.js +158 -7
- package/dist/destinations/amazon-ads/syncAudiences/index.js.map +1 -1
- package/dist/destinations/amazon-ads/utils.d.ts +25 -0
- package/dist/destinations/amazon-ads/utils.js +8 -0
- package/dist/destinations/amazon-ads/utils.js.map +1 -0
- package/dist/destinations/chartmogul/index.js +1 -1
- package/dist/destinations/chartmogul/index.js.map +1 -1
- package/dist/destinations/display-video-360/addToAudience/index.js +2 -1
- package/dist/destinations/display-video-360/addToAudience/index.js.map +1 -1
- package/dist/destinations/engage/sendgrid/Profile.d.ts +6 -0
- package/dist/destinations/{inleads-ai/identify/generated-types.js → engage/sendgrid/Profile.js} +1 -1
- package/dist/destinations/engage/sendgrid/Profile.js.map +1 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.d.ts +21 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.js +174 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.js.map +1 -0
- package/dist/destinations/engage/utils/EngageActionPerformer.js +17 -2
- package/dist/destinations/engage/utils/EngageActionPerformer.js.map +1 -1
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.d.ts +3 -0
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.js +15 -0
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.js.map +1 -1
- package/dist/destinations/engage/utils/track.d.ts +3 -0
- package/dist/destinations/gameball/index.js +1 -1
- package/dist/destinations/gameball/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/functions.js.map +1 -1
- package/dist/destinations/hubspot/upsertCustomObjectRecord/index.js +4 -4
- package/dist/destinations/hubspot/upsertCustomObjectRecord/index.js.map +1 -1
- package/dist/destinations/index.js +0 -3
- package/dist/destinations/index.js.map +1 -1
- package/dist/destinations/kameleoon/index.js +9 -15
- package/dist/destinations/kameleoon/index.js.map +1 -1
- package/dist/destinations/kameleoon/logEvent/generated-types.d.ts +0 -2
- package/dist/destinations/kameleoon/logEvent/index.js +1 -13
- package/dist/destinations/kameleoon/logEvent/index.js.map +1 -1
- package/dist/destinations/klaviyo/functions.d.ts +7 -4
- package/dist/destinations/klaviyo/functions.js +80 -1
- package/dist/destinations/klaviyo/functions.js.map +1 -1
- package/dist/destinations/klaviyo/removeProfile/index.js +2 -0
- package/dist/destinations/klaviyo/removeProfile/index.js.map +1 -1
- package/dist/destinations/klaviyo/types.d.ts +97 -0
- package/dist/destinations/klaviyo/upsertProfile/index.js +29 -19
- package/dist/destinations/klaviyo/upsertProfile/index.js.map +1 -1
- package/dist/destinations/liveramp-audiences/audienceEnteredS3/index.js +2 -2
- package/dist/destinations/liveramp-audiences/audienceEnteredS3/index.js.map +1 -1
- package/dist/destinations/liveramp-audiences/audienceEnteredSftp/index.js +2 -2
- package/dist/destinations/liveramp-audiences/audienceEnteredSftp/index.js.map +1 -1
- package/dist/destinations/marketo-static-lists/addToList/index.js +4 -2
- package/dist/destinations/marketo-static-lists/addToList/index.js.map +1 -1
- package/dist/destinations/mixpanel/utils.d.ts +13 -0
- package/dist/destinations/mixpanel/utils.js +117 -0
- package/dist/destinations/mixpanel/utils.js.map +1 -0
- package/dist/destinations/moloco-rmp/index.js +2 -2
- package/dist/destinations/responsys/asyncMergePetRecords/generated-types.d.ts +14 -0
- package/dist/destinations/responsys/asyncMergePetRecords/generated-types.js.map +1 -0
- package/dist/destinations/{kameleoon/group → responsys/asyncMergePetRecords}/index.d.ts +1 -1
- package/dist/destinations/responsys/asyncMergePetRecords/index.js +113 -0
- package/dist/destinations/responsys/asyncMergePetRecords/index.js.map +1 -0
- package/dist/destinations/responsys/asyncMergeProfileListMembers/generated-types.d.ts +20 -0
- package/dist/destinations/responsys/asyncMergeProfileListMembers/generated-types.js.map +1 -0
- package/dist/destinations/{inleads-ai/group → responsys/asyncMergeProfileListMembers}/index.d.ts +1 -1
- package/dist/destinations/responsys/asyncMergeProfileListMembers/index.js +174 -0
- package/dist/destinations/responsys/asyncMergeProfileListMembers/index.js.map +1 -0
- package/dist/destinations/responsys/rsp-operations.d.ts +14 -0
- package/dist/destinations/responsys/rsp-operations.js +33 -0
- package/dist/destinations/responsys/rsp-operations.js.map +1 -0
- package/dist/destinations/responsys/rsp-properties.d.ts +4 -0
- package/dist/destinations/responsys/rsp-properties.js +27 -0
- package/dist/destinations/responsys/rsp-properties.js.map +1 -0
- package/dist/destinations/segment/segment-properties.js +2 -2
- package/dist/destinations/segment/segment-properties.js.map +1 -1
- package/dist/destinations/snap-conversions-api/_tests_/capiV2tests.d.ts +1 -0
- package/dist/destinations/snap-conversions-api/_tests_/capiV2tests.js +381 -0
- package/dist/destinations/snap-conversions-api/_tests_/capiV2tests.js.map +1 -0
- package/dist/destinations/snap-conversions-api/_tests_/capiV3tests.d.ts +1 -0
- package/dist/destinations/snap-conversions-api/_tests_/capiV3tests.js +581 -0
- package/dist/destinations/snap-conversions-api/_tests_/capiV3tests.js.map +1 -0
- package/dist/destinations/snap-conversions-api/_tests_/index.test.js +488 -420
- package/dist/destinations/snap-conversions-api/_tests_/index.test.js.map +1 -1
- package/dist/destinations/snap-conversions-api/index.js +42 -42
- package/dist/destinations/snap-conversions-api/index.js.map +1 -1
- package/dist/destinations/snap-conversions-api/reportConversionEvent/generated-types.d.ts +18 -97
- package/dist/destinations/snap-conversions-api/reportConversionEvent/index.js +29 -7
- package/dist/destinations/snap-conversions-api/reportConversionEvent/index.js.map +1 -1
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-v2.d.ts +4 -0
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-v2.js +97 -0
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-v2.js.map +1 -0
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-v3.d.ts +4 -0
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-v3.js +119 -593
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-v3.js.map +1 -1
- package/dist/destinations/snap-conversions-api/reportConversionEvent/utils.d.ts +4 -3
- package/dist/destinations/snap-conversions-api/reportConversionEvent/utils.js +1 -6
- package/dist/destinations/snap-conversions-api/reportConversionEvent/utils.js.map +1 -1
- package/dist/destinations/snap-conversions-api/snap-capi-properties.d.ts +30 -0
- package/dist/destinations/snap-conversions-api/snap-capi-properties.js +316 -0
- package/dist/destinations/snap-conversions-api/snap-capi-properties.js.map +1 -0
- package/dist/destinations/stackadapt/forwardEvent/generated-types.d.ts +4 -4
- package/dist/destinations/stackadapt/forwardEvent/index.js +7 -11
- package/dist/destinations/stackadapt/forwardEvent/index.js.map +1 -1
- package/dist/destinations/tiktok-conversions/index.js +75 -163
- package/dist/destinations/tiktok-conversions/index.js.map +1 -1
- package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.d.ts +3 -0
- package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.js +34 -0
- package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.js.map +1 -0
- package/dist/destinations/tiktok-conversions/reportWebEvent/generated-types.d.ts +4 -12
- package/dist/destinations/tiktok-conversions/reportWebEvent/index.d.ts +1 -1
- package/dist/destinations/tiktok-conversions/reportWebEvent/index.js +233 -5
- package/dist/destinations/tiktok-conversions/reportWebEvent/index.js.map +1 -1
- package/dist/destinations/{tiktok-conversions → tiktok-offline-conversions/reportOfflineEvent}/formatter.js +11 -11
- package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/formatter.js.map +1 -0
- package/package.json +4 -4
- package/dist/destinations/inleads-ai/common-fields.d.ts +0 -3
- package/dist/destinations/inleads-ai/common-fields.js +0 -238
- package/dist/destinations/inleads-ai/common-fields.js.map +0 -1
- package/dist/destinations/inleads-ai/contants.d.ts +0 -4
- package/dist/destinations/inleads-ai/contants.js +0 -8
- package/dist/destinations/inleads-ai/contants.js.map +0 -1
- package/dist/destinations/inleads-ai/generated-types.d.ts +0 -3
- package/dist/destinations/inleads-ai/generated-types.js.map +0 -1
- package/dist/destinations/inleads-ai/group/generated-types.d.ts +0 -44
- package/dist/destinations/inleads-ai/group/generated-types.js.map +0 -1
- package/dist/destinations/inleads-ai/group/index.js +0 -76
- package/dist/destinations/inleads-ai/group/index.js.map +0 -1
- package/dist/destinations/inleads-ai/identify/generated-types.d.ts +0 -46
- package/dist/destinations/inleads-ai/identify/generated-types.js.map +0 -1
- package/dist/destinations/inleads-ai/identify/index.d.ts +0 -5
- package/dist/destinations/inleads-ai/identify/index.js +0 -120
- package/dist/destinations/inleads-ai/identify/index.js.map +0 -1
- package/dist/destinations/inleads-ai/index.d.ts +0 -4
- package/dist/destinations/inleads-ai/index.js +0 -66
- package/dist/destinations/inleads-ai/index.js.map +0 -1
- package/dist/destinations/inleads-ai/track/generated-types.d.ts +0 -45
- package/dist/destinations/inleads-ai/track/generated-types.js +0 -3
- package/dist/destinations/inleads-ai/track/generated-types.js.map +0 -1
- package/dist/destinations/inleads-ai/track/index.d.ts +0 -5
- package/dist/destinations/inleads-ai/track/index.js +0 -64
- package/dist/destinations/inleads-ai/track/index.js.map +0 -1
- package/dist/destinations/kameleoon/group/generated-types.d.ts +0 -12
- package/dist/destinations/kameleoon/group/generated-types.js +0 -3
- package/dist/destinations/kameleoon/group/generated-types.js.map +0 -1
- package/dist/destinations/kameleoon/group/index.js +0 -94
- package/dist/destinations/kameleoon/group/index.js.map +0 -1
- package/dist/destinations/kameleoon/identify/generated-types.d.ts +0 -11
- package/dist/destinations/kameleoon/identify/generated-types.js +0 -3
- package/dist/destinations/kameleoon/identify/generated-types.js.map +0 -1
- package/dist/destinations/kameleoon/identify/index.d.ts +0 -5
- package/dist/destinations/kameleoon/identify/index.js +0 -87
- package/dist/destinations/kameleoon/identify/index.js.map +0 -1
- package/dist/destinations/kameleoon/page/generated-types.d.ts +0 -15
- package/dist/destinations/kameleoon/page/generated-types.js +0 -3
- package/dist/destinations/kameleoon/page/generated-types.js.map +0 -1
- package/dist/destinations/kameleoon/page/index.d.ts +0 -5
- package/dist/destinations/kameleoon/page/index.js +0 -99
- package/dist/destinations/kameleoon/page/index.js.map +0 -1
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-input-fields-deprecated.d.ts +0 -31
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-input-fields-deprecated.js +0 -174
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-input-fields-deprecated.js.map +0 -1
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-input-fields-v3.d.ts +0 -16
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-input-fields-v3.js +0 -640
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-input-fields-v3.js.map +0 -1
- package/dist/destinations/spiffy/generated-types.d.ts +0 -5
- package/dist/destinations/spiffy/generated-types.js +0 -3
- package/dist/destinations/spiffy/generated-types.js.map +0 -1
- package/dist/destinations/spiffy/index.d.ts +0 -4
- package/dist/destinations/spiffy/index.js +0 -62
- package/dist/destinations/spiffy/index.js.map +0 -1
- package/dist/destinations/spiffy/send/generated-types.d.ts +0 -8
- package/dist/destinations/spiffy/send/generated-types.js +0 -3
- package/dist/destinations/spiffy/send/generated-types.js.map +0 -1
- package/dist/destinations/spiffy/send/index.d.ts +0 -5
- package/dist/destinations/spiffy/send/index.js +0 -42
- package/dist/destinations/spiffy/send/index.js.map +0 -1
- package/dist/destinations/tiktok-conversions/common_fields.d.ts +0 -2
- package/dist/destinations/tiktok-conversions/common_fields.js +0 -244
- package/dist/destinations/tiktok-conversions/common_fields.js.map +0 -1
- 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/xtremepush/generated-types.d.ts +0 -4
- package/dist/destinations/xtremepush/generated-types.js +0 -3
- package/dist/destinations/xtremepush/generated-types.js.map +0 -1
- package/dist/destinations/xtremepush/identify/generated-types.d.ts +0 -14
- package/dist/destinations/xtremepush/identify/generated-types.js +0 -3
- package/dist/destinations/xtremepush/identify/generated-types.js.map +0 -1
- package/dist/destinations/xtremepush/identify/index.d.ts +0 -5
- package/dist/destinations/xtremepush/identify/index.js +0 -87
- package/dist/destinations/xtremepush/identify/index.js.map +0 -1
- package/dist/destinations/xtremepush/index.d.ts +0 -4
- package/dist/destinations/xtremepush/index.js +0 -66
- package/dist/destinations/xtremepush/index.js.map +0 -1
- package/dist/destinations/xtremepush/track/generated-types.d.ts +0 -15
- package/dist/destinations/xtremepush/track/generated-types.js +0 -3
- package/dist/destinations/xtremepush/track/generated-types.js.map +0 -1
- package/dist/destinations/xtremepush/track/index.d.ts +0 -5
- package/dist/destinations/xtremepush/track/index.js +0 -95
- package/dist/destinations/xtremepush/track/index.js.map +0 -1
- package/dist/destinations/{inleads-ai → responsys/asyncMergePetRecords}/generated-types.js +0 -0
- package/dist/destinations/{inleads-ai/group → responsys/asyncMergeProfileListMembers}/generated-types.js +0 -0
- package/dist/destinations/{tiktok-conversions → tiktok-offline-conversions/reportOfflineEvent}/formatter.d.ts +1 -1
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const send_1 = __importDefault(require("./send"));
|
|
7
|
-
const destination = {
|
|
8
|
-
name: 'Spiffy',
|
|
9
|
-
slug: 'actions-spiffy',
|
|
10
|
-
mode: 'cloud',
|
|
11
|
-
authentication: {
|
|
12
|
-
scheme: 'custom',
|
|
13
|
-
fields: {
|
|
14
|
-
org_id: {
|
|
15
|
-
label: 'Organization ID',
|
|
16
|
-
description: 'Spiffy Org ID',
|
|
17
|
-
type: 'string',
|
|
18
|
-
required: true
|
|
19
|
-
},
|
|
20
|
-
api_key: {
|
|
21
|
-
label: 'API Key',
|
|
22
|
-
description: 'Spiffy Org API Key',
|
|
23
|
-
type: 'string',
|
|
24
|
-
required: true
|
|
25
|
-
},
|
|
26
|
-
environment: {
|
|
27
|
-
label: 'Spiffy Environment',
|
|
28
|
-
description: 'Spiffy Org Environment',
|
|
29
|
-
type: 'string',
|
|
30
|
-
required: true,
|
|
31
|
-
choices: [
|
|
32
|
-
{
|
|
33
|
-
value: 'prod',
|
|
34
|
-
label: 'Production'
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
value: 'dev',
|
|
38
|
-
label: 'Development'
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
testAuthentication: (request, { settings }) => {
|
|
44
|
-
const environment = settings.environment;
|
|
45
|
-
const url = environment == 'prod'
|
|
46
|
-
? 'https://segment-intake.spiffy.ai/v1/auth'
|
|
47
|
-
: 'https://segment-intake.dev.spiffy.ai/v1/auth';
|
|
48
|
-
return request(url);
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
extendRequest({ settings }) {
|
|
52
|
-
return {
|
|
53
|
-
headers: { Authorization: `Bearer ${settings.org_id}:${settings.api_key}` },
|
|
54
|
-
responseType: 'json'
|
|
55
|
-
};
|
|
56
|
-
},
|
|
57
|
-
actions: {
|
|
58
|
-
send: send_1.default
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
exports.default = destination;
|
|
62
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-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AAM;SACrB,CAAA;IACH,CAAC;IACD,OAAO,EAAE;QACP,IAAI,EAAJ,cAAI;KACL;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/spiffy/send/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
async function sendData(request, settings, payloads) {
|
|
4
|
-
const environment = settings.environment;
|
|
5
|
-
const url = environment == 'prod'
|
|
6
|
-
? 'https://segment-intake.spiffy.ai/v1/intake'
|
|
7
|
-
: 'https://segment-intake.dev.spiffy.ai/v1/intake';
|
|
8
|
-
return request(url, {
|
|
9
|
-
method: 'put',
|
|
10
|
-
json: {
|
|
11
|
-
payload: JSON.stringify(payloads)
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
const action = {
|
|
16
|
-
title: 'Send',
|
|
17
|
-
description: 'Send data to Spiffy.AI',
|
|
18
|
-
defaultSubscription: 'type = "track" or type = "identify" or type = "page" or type = "screen" or type = "group"',
|
|
19
|
-
fields: {
|
|
20
|
-
payload: {
|
|
21
|
-
label: 'Payload',
|
|
22
|
-
description: 'The data to send to Spiffy.AI',
|
|
23
|
-
type: 'object',
|
|
24
|
-
required: true,
|
|
25
|
-
default: { '@path': '$.' }
|
|
26
|
-
},
|
|
27
|
-
headers: {
|
|
28
|
-
label: 'Headers',
|
|
29
|
-
description: 'Header data to send to Spiffy. Format is Header key, Header value (optional).',
|
|
30
|
-
type: 'object',
|
|
31
|
-
defaultObjectUI: 'keyvalue:only'
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
perform: async (request, { settings, payload }) => {
|
|
35
|
-
return sendData(request, settings, [payload]);
|
|
36
|
-
},
|
|
37
|
-
performBatch: async (request, { settings, payload }) => {
|
|
38
|
-
return sendData(request, settings, payload);
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
exports.default = action;
|
|
42
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/spiffy/send/index.ts"],"names":[],"mappings":";;AAKA,KAAK,UAAU,QAAQ,CAAC,OAAO,EAAE,QAAkB,EAAE,QAAmB;IACtE,MAAM,WAAW,GAAG,QAAQ,CAAC,WAAW,CAAA;IACxC,MAAM,GAAG,GACP,WAAW,IAAI,MAAM;QACnB,CAAC,CAAC,4CAA4C;QAC9C,CAAC,CAAC,gDAAgD,CAAA;IACtD,OAAO,OAAO,CAAC,GAAG,EAAE;QAClB,MAAM,EAAE,KAAK;QACb,IAAI,EAAE;YACJ,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC;SAClC;KACF,CAAC,CAAA;AACJ,CAAC;AAED,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,MAAM;IACb,WAAW,EAAE,wBAAwB;IACrC,mBAAmB,EAAE,2FAA2F;IAChH,MAAM,EAAE;QACN,OAAO,EAAE;YACP,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;SAC3B;QACD,OAAO,EAAE;YACP,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,+EAA+E;YAC5F,IAAI,EAAE,QAAQ;YACd,eAAe,EAAE,eAAe;SACjC;KACF;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QAChD,OAAO,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IAC/C,CAAC;IACD,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QACrD,OAAO,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;IAC7C,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -1,244 +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
|
-
multiple: true,
|
|
45
|
-
default: {
|
|
46
|
-
'@if': {
|
|
47
|
-
exists: { '@path': '$.properties.email' },
|
|
48
|
-
then: { '@path': '$.properties.email' },
|
|
49
|
-
else: { '@path': '$.context.traits.email' }
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
order_id: {
|
|
54
|
-
label: 'Order ID',
|
|
55
|
-
type: 'string',
|
|
56
|
-
description: 'Order ID of the transaction.',
|
|
57
|
-
default: {
|
|
58
|
-
'@path': '$.properties.order_id'
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
shop_id: {
|
|
62
|
-
label: 'Shop ID',
|
|
63
|
-
type: 'string',
|
|
64
|
-
description: 'Shop ID of the transaction.',
|
|
65
|
-
default: {
|
|
66
|
-
'@path': '$.properties.shop_id'
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
external_id: {
|
|
70
|
-
label: 'External ID',
|
|
71
|
-
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).',
|
|
72
|
-
type: 'string',
|
|
73
|
-
multiple: true,
|
|
74
|
-
default: {
|
|
75
|
-
'@if': {
|
|
76
|
-
exists: { '@path': '$.userId' },
|
|
77
|
-
then: { '@path': '$.userId' },
|
|
78
|
-
else: { '@path': '$.anonymousId' }
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
ttclid: {
|
|
83
|
-
label: 'TikTok Click ID',
|
|
84
|
-
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.',
|
|
85
|
-
type: 'string',
|
|
86
|
-
default: {
|
|
87
|
-
'@if': {
|
|
88
|
-
exists: { '@path': '$.properties.ttclid' },
|
|
89
|
-
then: { '@path': '$.properties.ttclid' },
|
|
90
|
-
else: { '@path': '$.integrations.TikTok Conversions.ttclid' }
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
ttp: {
|
|
95
|
-
label: 'TikTok Cookie ID',
|
|
96
|
-
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`).',
|
|
97
|
-
type: 'string',
|
|
98
|
-
default: {
|
|
99
|
-
'@if': {
|
|
100
|
-
exists: { '@path': '$.properties.ttp' },
|
|
101
|
-
then: { '@path': '$.properties.ttp' },
|
|
102
|
-
else: { '@path': '$.integrations.TikTok Conversions.ttp' }
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
lead_id: {
|
|
107
|
-
label: 'TikTok Lead ID',
|
|
108
|
-
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',
|
|
109
|
-
type: 'string',
|
|
110
|
-
default: { '@path': '$.properties.lead_id' }
|
|
111
|
-
},
|
|
112
|
-
locale: {
|
|
113
|
-
label: 'Locale',
|
|
114
|
-
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).',
|
|
115
|
-
type: 'string',
|
|
116
|
-
default: {
|
|
117
|
-
'@path': '$.context.locale'
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
url: {
|
|
121
|
-
label: 'Page URL',
|
|
122
|
-
type: 'string',
|
|
123
|
-
description: 'The page URL where the conversion event took place.',
|
|
124
|
-
default: {
|
|
125
|
-
'@path': '$.context.page.url'
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
referrer: {
|
|
129
|
-
label: 'Page Referrer',
|
|
130
|
-
type: 'string',
|
|
131
|
-
description: 'The page referrer.',
|
|
132
|
-
default: {
|
|
133
|
-
'@path': '$.context.page.referrer'
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
ip: {
|
|
137
|
-
label: 'IP Address',
|
|
138
|
-
type: 'string',
|
|
139
|
-
description: 'IP address of the browser.',
|
|
140
|
-
default: {
|
|
141
|
-
'@path': '$.context.ip'
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
user_agent: {
|
|
145
|
-
label: 'User Agent',
|
|
146
|
-
type: 'string',
|
|
147
|
-
description: 'User agent from the user’s device.',
|
|
148
|
-
default: {
|
|
149
|
-
'@path': '$.context.userAgent'
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
contents: {
|
|
153
|
-
label: 'Contents',
|
|
154
|
-
type: 'object',
|
|
155
|
-
multiple: true,
|
|
156
|
-
description: 'Related item details for the event.',
|
|
157
|
-
properties: {
|
|
158
|
-
price: {
|
|
159
|
-
label: 'Price',
|
|
160
|
-
description: 'Price of the item.',
|
|
161
|
-
type: 'number'
|
|
162
|
-
},
|
|
163
|
-
quantity: {
|
|
164
|
-
label: 'Quantity',
|
|
165
|
-
description: 'Number of items.',
|
|
166
|
-
type: 'number'
|
|
167
|
-
},
|
|
168
|
-
content_category: {
|
|
169
|
-
label: 'Content Category',
|
|
170
|
-
description: 'Category of the product item.',
|
|
171
|
-
type: 'string'
|
|
172
|
-
},
|
|
173
|
-
content_id: {
|
|
174
|
-
label: 'Content ID',
|
|
175
|
-
description: 'ID of the product item.',
|
|
176
|
-
type: 'string'
|
|
177
|
-
},
|
|
178
|
-
content_name: {
|
|
179
|
-
label: 'Content Name',
|
|
180
|
-
description: 'Name of the product item.',
|
|
181
|
-
type: 'string'
|
|
182
|
-
},
|
|
183
|
-
brand: {
|
|
184
|
-
label: 'Brand',
|
|
185
|
-
description: 'Brand name of the product item.',
|
|
186
|
-
type: 'string'
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
content_type: {
|
|
191
|
-
label: 'Content Type',
|
|
192
|
-
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`.',
|
|
193
|
-
type: 'string',
|
|
194
|
-
choices: [{ label: 'product', value: 'product' }, { label: 'product_group', value: 'product_group' }],
|
|
195
|
-
default: 'product'
|
|
196
|
-
},
|
|
197
|
-
currency: {
|
|
198
|
-
label: 'Currency',
|
|
199
|
-
type: 'string',
|
|
200
|
-
description: 'Currency for the value specified as ISO 4217 code.',
|
|
201
|
-
default: {
|
|
202
|
-
'@path': '$.properties.currency'
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
value: {
|
|
206
|
-
label: 'Value',
|
|
207
|
-
type: 'number',
|
|
208
|
-
description: 'Value of the order or items sold.',
|
|
209
|
-
default: {
|
|
210
|
-
'@if': {
|
|
211
|
-
exists: { '@path': '$.properties.value' },
|
|
212
|
-
then: { '@path': '$.properties.value' },
|
|
213
|
-
else: { '@path': '$.properties.revenue' }
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
description: {
|
|
218
|
-
label: 'Description',
|
|
219
|
-
type: 'string',
|
|
220
|
-
description: 'A string description of the web event.'
|
|
221
|
-
},
|
|
222
|
-
query: {
|
|
223
|
-
label: 'Query',
|
|
224
|
-
type: 'string',
|
|
225
|
-
description: 'The text string that was searched for.',
|
|
226
|
-
default: {
|
|
227
|
-
'@path': '$.properties.query'
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
limited_data_use: {
|
|
231
|
-
label: 'Limited Data Use',
|
|
232
|
-
type: 'boolean',
|
|
233
|
-
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).',
|
|
234
|
-
default: {
|
|
235
|
-
'@path': '$.properties.limited_data_use'
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
test_event_code: {
|
|
239
|
-
label: 'Test Event Code',
|
|
240
|
-
type: 'string',
|
|
241
|
-
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.'
|
|
242
|
-
}
|
|
243
|
-
};
|
|
244
|
-
//# 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;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,wDAAwD;QACrE,OAAO,EAAE;YACP,OAAO,EAAE,aAAa;SACvB;KACF;IACD,SAAS,EAAE;QACT,KAAK,EAAE,iBAAiB;QACxB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,0DAA0D;QACvE,OAAO,EAAE;YACP,OAAO,EAAE,aAAa;SACvB;KACF;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,cAAc;QACrB,WAAW,EACT,4MAA4M;QAC9M,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACP,KAAK,EAAE;gBACL,MAAM,EAAE,EAAE,OAAO,EAAE,oB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AK,EAAE;QACL,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,mCAAmC;QAChD,OAAO,EAAE;YACP,KAAK,EAAE;gBACL,MAAM,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE;gBACzC,IAAI,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE;gBACvC,IAAI,EAAE,EAAE,OAAO,EAAE,sBAAsB,EAAE;aAC1C;SACF;KACF;IACD,WAAW,EAAE;QACX,KAAK,EAAE,aAAa;QACpB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,wCAAwC;KACtD;IACD,KAAK,EAAE;QACL,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,wCAAwC;QACrD,OAAO,EAAE;YACP,OAAO,EAAE,oBAAoB;SAC9B;KACF;IACD,gBAAgB,EAAE;QAChB,KAAK,EAAE,kBAAkB;QACzB,IAAI,EAAE,SAAS;QACf,WAAW,EACT,uZAAuZ;QACzZ,OAAO,EAAE;YACP,OAAO,EAAE,+BAA+B;SACzC;KACF;IACD,eAAe,EAAE;QACf,KAAK,EAAE,iBAAiB;QACxB,IAAI,EAAE,QAAQ;QACd,WAAW,EACT,qRAAqR;KACxR;CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatter.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-conversions/formatter.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AAK5B,MAAM,YAAY,GAAG,CAAC,eAAqC,EAAY,EAAE;IAC9E,MAAM,MAAM,GAAa,EAAE,CAAA;IAC3B,IAAI,eAAe,EAAE;QACnB,eAAe,CAAC,OAAO,CAAC,CAAC,KAAa,EAAE,EAAE;YACxC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC,CAAA;QACjD,CAAC,CAAC,CAAA;KACH;IACD,OAAO,MAAM,CAAA;AACf,CA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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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-conversions/utils.ts"],"names":[],"mappings":";;;AAGA,2CAAuE;AAEvE,SAAgB,eAAe,CAAC,OAAsB,EAAE,QAAkB,EAAE,OAAgB;IAC1F,MAAM,aAAa,GAAG,wBAAY,CAAC,OAAO,CAAC,YAAY,CAAC,CAAA;IACxD,MAAM,MAAM,GAAG,wBAAY,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC1C,MAAM,OAAO,GAAG,yBAAa,CAAC,OAA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D,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":"generated-types.js","sourceRoot":"","sources":["../../../src/destinations/xtremepush/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/xtremepush/identify/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const action = {
|
|
4
|
-
title: 'Identify',
|
|
5
|
-
description: 'Send User Profile Data to XtremePush',
|
|
6
|
-
defaultSubscription: 'type = "identify"',
|
|
7
|
-
fields: {
|
|
8
|
-
type: {
|
|
9
|
-
label: 'Event type',
|
|
10
|
-
description: 'The type of the event',
|
|
11
|
-
type: 'string',
|
|
12
|
-
default: { '@path': '$.type' },
|
|
13
|
-
required: true
|
|
14
|
-
},
|
|
15
|
-
identifiers: {
|
|
16
|
-
label: 'Identifiers',
|
|
17
|
-
description: 'The unique identifiers for the user',
|
|
18
|
-
type: 'object',
|
|
19
|
-
defaultObjectUI: 'keyvalue',
|
|
20
|
-
properties: {
|
|
21
|
-
userId: {
|
|
22
|
-
label: 'User ID',
|
|
23
|
-
type: 'string',
|
|
24
|
-
required: false,
|
|
25
|
-
},
|
|
26
|
-
anonymousId: {
|
|
27
|
-
label: 'Anonymous ID',
|
|
28
|
-
type: 'string',
|
|
29
|
-
required: false,
|
|
30
|
-
},
|
|
31
|
-
phone: {
|
|
32
|
-
label: 'Phone',
|
|
33
|
-
type: 'string',
|
|
34
|
-
required: false
|
|
35
|
-
},
|
|
36
|
-
email: {
|
|
37
|
-
label: 'Email',
|
|
38
|
-
type: 'string',
|
|
39
|
-
format: 'email',
|
|
40
|
-
required: false
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
default: {
|
|
44
|
-
userId: { '@path': '$.userId' },
|
|
45
|
-
anonymousId: { '@path': '$.anonymousId' },
|
|
46
|
-
phone: { '@path': '$.traits.phone' },
|
|
47
|
-
email: { '@path': '$.traits.email' }
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
traits: {
|
|
51
|
-
label: 'User Attributes',
|
|
52
|
-
description: 'Attributes assocatiated with the user.',
|
|
53
|
-
type: 'object',
|
|
54
|
-
required: false,
|
|
55
|
-
default: { '@path': '$.traits' }
|
|
56
|
-
},
|
|
57
|
-
timestamp: {
|
|
58
|
-
label: 'Timestamp',
|
|
59
|
-
description: 'The timestamp of the event.',
|
|
60
|
-
type: 'string',
|
|
61
|
-
required: true,
|
|
62
|
-
default: { '@path': '$.timestamp' }
|
|
63
|
-
},
|
|
64
|
-
messageId: {
|
|
65
|
-
label: 'Message ID',
|
|
66
|
-
description: 'The message ID of the event.',
|
|
67
|
-
type: 'string',
|
|
68
|
-
required: true,
|
|
69
|
-
default: { '@path': '$.messageId' }
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
perform: (request, { settings, payload }) => {
|
|
73
|
-
const host = settings.url.endsWith('/') ? settings.url.slice(0, -1) : settings.url;
|
|
74
|
-
return request(host + '/api/integration/segment/handle', {
|
|
75
|
-
method: 'post',
|
|
76
|
-
json: {
|
|
77
|
-
type: payload.type,
|
|
78
|
-
...payload.identifiers,
|
|
79
|
-
traits: payload.traits,
|
|
80
|
-
timestamp: payload.timestamp,
|
|
81
|
-
messageId: payload.messageId
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
exports.default = action;
|
|
87
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/xtremepush/identify/index.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,UAAU;IACjB,WAAW,EAAE,sCAAsC;IACnD,mBAAmB,EAAE,mBAAmB;IACxC,MAAM,EAAE;QACN,IAAI,EAAE;YACJ,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;YAC9B,QAAQ,EAAE,IAAI;SACf;QACD,WAAW,EAAE;YACX,KAAK,EAAE,aAAa;YACpB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,QAAQ;YACd,eAAe,EAAE,UAAU;YAC3B,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,KAAK,EAAE,SAAS;oBAChB,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,KAAK;iBAChB;gBACD,WAAW,EAAE;oBACX,KAAK,EAAE,cAAc;oBACrB,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,KAAK;iBAChB;gBACD,KAAK,EAAE;oBACL,KAAK,EAAE,OAAO;oBACd,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,KAAK;iBAChB;gBACD,KAAK,EAAE;oBACL,KAAK,EAAE,OAAO;oBACd,IAAI,EAAE,QAAQ;oBACd,MAAM,EAAE,OAAO;oBACf,QAAQ,EAAE,KAAK;iBAChB;aAC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