@segment/action-destinations 3.228.2-staging.2 → 3.229.0-linkedin-capi.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/blackbaud-raisers-edge-nxt/utils/index.d.ts +1 -1
- package/dist/destinations/braze/utils.js +0 -3
- package/dist/destinations/braze/utils.js.map +1 -1
- package/dist/destinations/canvas/api.d.ts +7 -0
- package/dist/destinations/canvas/api.js +28 -0
- package/dist/destinations/canvas/api.js.map +1 -0
- package/dist/destinations/canvas/common-fields.d.ts +3 -0
- package/dist/destinations/canvas/common-fields.js +69 -0
- package/dist/destinations/canvas/common-fields.js.map +1 -0
- package/dist/destinations/canvas/generated-types.d.ts +3 -0
- package/dist/destinations/canvas/generated-types.js +3 -0
- package/dist/destinations/canvas/generated-types.js.map +1 -0
- package/dist/destinations/canvas/index.d.ts +4 -0
- package/dist/destinations/canvas/index.js +87 -0
- package/dist/destinations/canvas/index.js.map +1 -0
- package/dist/destinations/canvas/sendGroupEvent/generated-types.d.ts +16 -0
- package/dist/destinations/canvas/sendGroupEvent/generated-types.js +3 -0
- package/dist/destinations/canvas/sendGroupEvent/generated-types.js.map +1 -0
- package/dist/destinations/canvas/sendGroupEvent/index.d.ts +5 -0
- package/dist/destinations/canvas/sendGroupEvent/index.js +33 -0
- package/dist/destinations/canvas/sendGroupEvent/index.js.map +1 -0
- package/dist/destinations/canvas/sendIdentifyEvent/generated-types.d.ts +15 -0
- package/dist/destinations/canvas/sendIdentifyEvent/generated-types.js +3 -0
- package/dist/destinations/canvas/sendIdentifyEvent/generated-types.js.map +1 -0
- package/dist/destinations/canvas/sendIdentifyEvent/index.d.ts +5 -0
- package/dist/destinations/canvas/sendIdentifyEvent/index.js +24 -0
- package/dist/destinations/canvas/sendIdentifyEvent/index.js.map +1 -0
- package/dist/destinations/canvas/sendPageEvent/generated-types.d.ts +16 -0
- package/dist/destinations/canvas/sendPageEvent/generated-types.js +3 -0
- package/dist/destinations/canvas/sendPageEvent/generated-types.js.map +1 -0
- package/dist/destinations/canvas/sendPageEvent/index.d.ts +5 -0
- package/dist/destinations/canvas/sendPageEvent/index.js +30 -0
- package/dist/destinations/canvas/sendPageEvent/index.js.map +1 -0
- package/dist/destinations/canvas/sendScreenEvent/generated-types.d.ts +16 -0
- package/dist/destinations/canvas/sendScreenEvent/generated-types.js +3 -0
- package/dist/destinations/canvas/sendScreenEvent/generated-types.js.map +1 -0
- package/dist/destinations/canvas/sendScreenEvent/index.d.ts +5 -0
- package/dist/destinations/canvas/sendScreenEvent/index.js +30 -0
- package/dist/destinations/canvas/sendScreenEvent/index.js.map +1 -0
- package/dist/destinations/canvas/sendTrackEvent/generated-types.d.ts +16 -0
- package/dist/destinations/canvas/sendTrackEvent/generated-types.js +3 -0
- package/dist/destinations/canvas/sendTrackEvent/generated-types.js.map +1 -0
- package/dist/destinations/canvas/sendTrackEvent/index.d.ts +5 -0
- package/dist/destinations/canvas/sendTrackEvent/index.js +34 -0
- package/dist/destinations/canvas/sendTrackEvent/index.js.map +1 -0
- package/dist/destinations/canvas/testing.d.ts +6 -0
- package/dist/destinations/canvas/testing.js +49 -0
- package/dist/destinations/canvas/testing.js.map +1 -0
- package/dist/destinations/customerio/createUpdateDevice/generated-types.d.ts +1 -0
- package/dist/destinations/customerio/createUpdateDevice/index.js +10 -1
- package/dist/destinations/customerio/createUpdateDevice/index.js.map +1 -1
- package/dist/destinations/devrev/streamEvent/index.js +2 -0
- package/dist/destinations/devrev/streamEvent/index.js.map +1 -1
- package/dist/destinations/devrev/utils/types.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.d.ts +3 -3
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.js +9 -8
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.js.map +1 -1
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js +1 -1
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js.map +1 -1
- package/dist/destinations/engage/utils/EngageActionPerformer.d.ts +1 -1
- package/dist/destinations/engage/utils/EngageActionPerformer.js +1 -1
- package/dist/destinations/engage/utils/EngageActionPerformer.js.map +1 -1
- package/dist/destinations/engage/utils/track.d.ts +10 -10
- package/dist/destinations/google-enhanced-conversions/postConversion/index.js +0 -1
- package/dist/destinations/google-enhanced-conversions/postConversion/index.js.map +1 -1
- package/dist/destinations/hubspot/sendCustomBehavioralEvent/index.js +2 -3
- package/dist/destinations/hubspot/sendCustomBehavioralEvent/index.js.map +1 -1
- package/dist/destinations/index.js +1 -0
- package/dist/destinations/index.js.map +1 -1
- package/dist/destinations/insider/insider-helpers.d.ts +4 -0
- package/dist/destinations/insider/insider-helpers.js +5 -4
- package/dist/destinations/insider/insider-helpers.js.map +1 -1
- package/dist/destinations/insider-audiences/insider-helpers.js +10 -5
- package/dist/destinations/insider-audiences/insider-helpers.js.map +1 -1
- package/dist/destinations/klaviyo/functions.d.ts +2 -5
- package/dist/destinations/klaviyo/functions.js +15 -55
- package/dist/destinations/klaviyo/functions.js.map +1 -1
- package/dist/destinations/klaviyo/index.d.ts +2 -2
- package/dist/destinations/klaviyo/index.js +2 -59
- package/dist/destinations/klaviyo/index.js.map +1 -1
- package/dist/destinations/klaviyo/types.d.ts +0 -12
- package/dist/destinations/klaviyo/types.js.map +1 -1
- package/dist/destinations/klaviyo/upsertProfile/index.js +7 -2
- package/dist/destinations/klaviyo/upsertProfile/index.js.map +1 -1
- package/dist/destinations/linkedin-conversions/api/api.test.js +2 -2
- package/dist/destinations/linkedin-conversions/api/api.test.js.map +1 -1
- package/dist/destinations/linkedin-conversions/api/index.d.ts +3 -2
- package/dist/destinations/linkedin-conversions/api/index.js +16 -18
- package/dist/destinations/linkedin-conversions/api/index.js.map +1 -1
- package/dist/destinations/linkedin-conversions/index.js +2 -1
- package/dist/destinations/linkedin-conversions/index.js.map +1 -1
- package/dist/destinations/linkedin-conversions/streamConversion/generated-types.d.ts +11 -10
- package/dist/destinations/linkedin-conversions/streamConversion/index.js +150 -112
- package/dist/destinations/linkedin-conversions/streamConversion/index.js.map +1 -1
- package/dist/destinations/liveramp-audiences/audienceEnteredSFTP.types.d.ts +16 -0
- package/dist/destinations/liveramp-audiences/audienceEnteredSFTP.types.js +3 -0
- package/dist/destinations/liveramp-audiences/audienceEnteredSFTP.types.js.map +1 -0
- 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/moengage/identifyUser/generated-types.d.ts +1 -0
- package/dist/destinations/moengage/identifyUser/index.js +9 -1
- package/dist/destinations/moengage/identifyUser/index.js.map +1 -1
- package/dist/destinations/moengage/index.js +4 -0
- package/dist/destinations/moengage/index.js.map +1 -1
- package/dist/destinations/moengage/regional-endpoints.d.ts +1 -0
- package/dist/destinations/moengage/regional-endpoints.js +2 -1
- package/dist/destinations/moengage/regional-endpoints.js.map +1 -1
- package/dist/destinations/the-trade-desk-crm/functions.js +15 -3
- package/dist/destinations/the-trade-desk-crm/functions.js.map +1 -1
- package/dist/destinations/trackey/constants.d.ts +1 -0
- package/dist/destinations/trackey/constants.js +6 -0
- package/dist/destinations/trackey/constants.js.map +1 -0
- package/dist/destinations/trackey/group/generated-types.d.ts +9 -0
- package/dist/destinations/trackey/group/generated-types.js +3 -0
- package/dist/destinations/trackey/group/generated-types.js.map +1 -0
- package/dist/destinations/trackey/group/index.d.ts +5 -0
- package/dist/destinations/trackey/group/index.js +60 -0
- package/dist/destinations/trackey/group/index.js.map +1 -0
- package/dist/destinations/trackey/identify/generated-types.d.ts +8 -0
- package/dist/destinations/trackey/identify/generated-types.js +3 -0
- package/dist/destinations/trackey/identify/generated-types.js.map +1 -0
- package/dist/destinations/trackey/identify/index.d.ts +5 -0
- package/dist/destinations/trackey/identify/index.js +52 -0
- package/dist/destinations/trackey/identify/index.js.map +1 -0
- package/dist/destinations/trackey/index.js +10 -176
- package/dist/destinations/trackey/index.js.map +1 -1
- package/dist/destinations/trackey/track/generated-types.d.ts +12 -0
- package/dist/destinations/trackey/track/generated-types.js +3 -0
- package/dist/destinations/trackey/track/generated-types.js.map +1 -0
- package/dist/destinations/trackey/track/index.d.ts +5 -0
- package/dist/destinations/trackey/track/index.js +68 -0
- package/dist/destinations/trackey/track/index.js.map +1 -0
- package/dist/destinations/webhook-audiences/index.js +1 -2
- package/dist/destinations/webhook-audiences/index.js.map +1 -1
- package/dist/destinations/yahoo-audiences/createCustomerNode/generated-types.d.ts +4 -0
- package/dist/destinations/yahoo-audiences/createCustomerNode/generated-types.js +3 -0
- package/dist/destinations/yahoo-audiences/createCustomerNode/generated-types.js.map +1 -0
- package/dist/destinations/yahoo-audiences/createCustomerNode/index.d.ts +5 -0
- package/dist/destinations/yahoo-audiences/createCustomerNode/index.js +33 -0
- package/dist/destinations/yahoo-audiences/createCustomerNode/index.js.map +1 -0
- package/dist/destinations/yahoo-audiences/createSegment/generated-types.d.ts +6 -0
- package/dist/destinations/yahoo-audiences/createSegment/generated-types.js +3 -0
- package/dist/destinations/yahoo-audiences/createSegment/generated-types.js.map +1 -0
- package/dist/destinations/yahoo-audiences/createSegment/index.d.ts +5 -0
- package/dist/destinations/yahoo-audiences/createSegment/index.js +45 -0
- package/dist/destinations/yahoo-audiences/createSegment/index.js.map +1 -0
- package/dist/destinations/yahoo-audiences/generated-types.d.ts +0 -1
- package/dist/destinations/yahoo-audiences/index.js +1 -22
- package/dist/destinations/yahoo-audiences/index.js.map +1 -1
- package/dist/destinations/yahoo-audiences/types.d.ts +0 -1
- package/dist/destinations/yahoo-audiences/updateSegment/generated-types.d.ts +0 -1
- package/dist/destinations/yahoo-audiences/updateSegment/index.d.ts +2 -2
- package/dist/destinations/yahoo-audiences/updateSegment/index.js +7 -29
- package/dist/destinations/yahoo-audiences/updateSegment/index.js.map +1 -1
- package/dist/destinations/yahoo-audiences/utils-rt.d.ts +1 -7
- package/dist/destinations/yahoo-audiences/utils-rt.js +5 -45
- package/dist/destinations/yahoo-audiences/utils-rt.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regional-endpoints.js","sourceRoot":"","sources":["../../../src/destinations/moengage/regional-endpoints.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB,KAAK,EAAE,6BAA6B;IACpC,KAAK,EAAE,6BAA6B;IACpC,KAAK,EAAE,6BAA6B;IACpC,KAAK,EAAE,6BAA6B;CACrC,CAAA;AAWD,SAAgB,mBAAmB,CAAC,MAAe;IACjD,OAAO,iBAAS,CAAC,MAAgB,CAAC,IAAI,iBAAS,CAAC,OAAO,CAAC,CAAA;AAC1D,CAAC;AAFD,kDAEC;AAED,kBAAe,iBAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"regional-endpoints.js","sourceRoot":"","sources":["../../../src/destinations/moengage/regional-endpoints.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB,KAAK,EAAE,6BAA6B;IACpC,KAAK,EAAE,6BAA6B;IACpC,KAAK,EAAE,6BAA6B;IACpC,KAAK,EAAE,6BAA6B;IACpC,KAAK,EAAE,6BAA6B;CACrC,CAAA;AAWD,SAAgB,mBAAmB,CAAC,MAAe;IACjD,OAAO,iBAAS,CAAC,MAAgB,CAAC,IAAI,iBAAS,CAAC,OAAO,CAAC,CAAA;AAC1D,CAAC;AAFD,kDAEC;AAED,kBAAe,iBAAS,CAAA"}
|
|
@@ -10,6 +10,9 @@ const BASE_URL = `https://api.thetradedesk.com/${API_VERSION}`;
|
|
|
10
10
|
const TTD_MIN_RECORD_COUNT = 1500;
|
|
11
11
|
exports.TTD_LEGACY_FLOW_FLAG_NAME = 'actions-the-trade-desk-crm-legacy-flow';
|
|
12
12
|
exports.TTD_LIST_ACTION_FLOW_FLAG_NAME = 'ttd-list-action-destination';
|
|
13
|
+
const sha256HashedRegex = /^[a-f0-9]{64}$/i;
|
|
14
|
+
const base64HashedRegex = /^[A-Za-z0-9+/]*={1,2}$/i;
|
|
15
|
+
const validEmailRegex = /^\S+@\S+\.\S+$/i;
|
|
13
16
|
async function processPayload(input) {
|
|
14
17
|
let crmID;
|
|
15
18
|
if (!input.payloads[0].external_id) {
|
|
@@ -44,7 +47,7 @@ exports.processPayload = processPayload;
|
|
|
44
47
|
function extractUsers(payloads) {
|
|
45
48
|
let users = '';
|
|
46
49
|
payloads.forEach((payload) => {
|
|
47
|
-
if (!payload.email) {
|
|
50
|
+
if (!payload.email || !validateEmail(payload.email, payload.pii_type)) {
|
|
48
51
|
return;
|
|
49
52
|
}
|
|
50
53
|
if (payload.pii_type == 'Email') {
|
|
@@ -57,6 +60,15 @@ function extractUsers(payloads) {
|
|
|
57
60
|
});
|
|
58
61
|
return users;
|
|
59
62
|
}
|
|
63
|
+
function validateEmail(email, pii_type) {
|
|
64
|
+
const isSha256HashedEmail = sha256HashedRegex.test(email);
|
|
65
|
+
const isBase64Hashed = base64HashedRegex.test(email);
|
|
66
|
+
const isValidEmail = validEmailRegex.test(email);
|
|
67
|
+
if (pii_type == 'Email') {
|
|
68
|
+
return isValidEmail;
|
|
69
|
+
}
|
|
70
|
+
return isSha256HashedEmail || isBase64Hashed || isValidEmail;
|
|
71
|
+
}
|
|
60
72
|
function normalizeEmail(email) {
|
|
61
73
|
email = email.trim().toLowerCase();
|
|
62
74
|
if (email.endsWith('@gmail.com')) {
|
|
@@ -72,8 +84,8 @@ function normalizeEmail(email) {
|
|
|
72
84
|
return email;
|
|
73
85
|
}
|
|
74
86
|
const hash = (value) => {
|
|
75
|
-
const isSha256HashedEmail =
|
|
76
|
-
const isBase64Hashed =
|
|
87
|
+
const isSha256HashedEmail = sha256HashedRegex.test(value);
|
|
88
|
+
const isBase64Hashed = base64HashedRegex.test(value);
|
|
77
89
|
if (isSha256HashedEmail) {
|
|
78
90
|
return Buffer.from(value, 'hex').toString('base64');
|
|
79
91
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../src/destinations/the-trade-desk-crm/functions.ts"],"names":[],"mappings":";;;AAAA,wDAA+F;AAG/F,mCAAmC;AACnC,wDAAwD;AAExD,2CAA4C;AAsC5C,MAAM,WAAW,GAAG,IAAI,CAAA;AACxB,MAAM,QAAQ,GAAG,gCAAgC,WAAW,EAAE,CAAA;AAC9D,MAAM,oBAAoB,GAAG,IAAI,CAAA;AAEpB,QAAA,yBAAyB,GAAG,wCAAwC,CAAA;AACpE,QAAA,8BAA8B,GAAG,6BAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../src/destinations/the-trade-desk-crm/functions.ts"],"names":[],"mappings":";;;AAAA,wDAA+F;AAG/F,mCAAmC;AACnC,wDAAwD;AAExD,2CAA4C;AAsC5C,MAAM,WAAW,GAAG,IAAI,CAAA;AACxB,MAAM,QAAQ,GAAG,gCAAgC,WAAW,EAAE,CAAA;AAC9D,MAAM,oBAAoB,GAAG,IAAI,CAAA;AAEpB,QAAA,yBAAyB,GAAG,wCAAwC,CAAA;AACpE,QAAA,8BAA8B,GAAG,6BAA6B,CAAA;AAE3E,MAAM,iBAAiB,GAAG,iBAAiB,CAAA;AAC3C,MAAM,iBAAiB,GAAG,yBAAyB,CAAA;AACnD,MAAM,eAAe,GAAG,iBAAiB,CAAA;AAElC,KAAK,UAAU,cAAc,CAAC,KAA0B;IAC7D,IAAI,KAAK,CAAA;IACT,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;QAClC,MAAM,IAAI,qCAAsB,CAAC,kCAAkC,CAAC,CAAA;KACrE;SAAM;QACL,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,WAAW,CAAA;KACtC;IAGD,MAAM,cAAc,GAAG,YAAY,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;IAGnD,IAAI,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC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"constants.js","sourceRoot":"","sources":["../../../src/destinations/trackey/constants.ts"],"names":[],"mappings":";;;AAAA,MAAM,IAAI,GAAG,wBAAwB,CAAA;AACxB,QAAA,OAAO,GAAG,IAAI,GAAG,0CAA0C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/trackey/group/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const constants_1 = require("../constants");
|
|
4
|
+
const action = {
|
|
5
|
+
title: 'Register Company',
|
|
6
|
+
description: 'Register a user in a company',
|
|
7
|
+
defaultSubscription: 'type = "group"',
|
|
8
|
+
fields: {
|
|
9
|
+
userId: {
|
|
10
|
+
label: 'User ID',
|
|
11
|
+
type: 'string',
|
|
12
|
+
required: true,
|
|
13
|
+
description: 'The user identifier to associate the event with',
|
|
14
|
+
default: { '@path': '$.userId' }
|
|
15
|
+
},
|
|
16
|
+
messageId: {
|
|
17
|
+
label: 'Message ID',
|
|
18
|
+
type: 'string',
|
|
19
|
+
description: 'A unique value for each event.',
|
|
20
|
+
default: {
|
|
21
|
+
'@path': '$.messageId'
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
timestamp: {
|
|
25
|
+
label: 'Event Timestamp',
|
|
26
|
+
type: 'string',
|
|
27
|
+
required: true,
|
|
28
|
+
description: 'Timestamp that the event took place, in ISO 8601 format. e.g. 2019-06-12T19:11:01.152Z',
|
|
29
|
+
default: { '@path': '$.timestamp' }
|
|
30
|
+
},
|
|
31
|
+
traits: {
|
|
32
|
+
label: 'COmpany Traits',
|
|
33
|
+
type: 'object',
|
|
34
|
+
required: false,
|
|
35
|
+
description: 'Company profile information',
|
|
36
|
+
default: { '@path': '$.traits' }
|
|
37
|
+
},
|
|
38
|
+
groupId: {
|
|
39
|
+
label: 'Group ID',
|
|
40
|
+
type: 'string',
|
|
41
|
+
required: true,
|
|
42
|
+
description: 'Company ID associated with the event',
|
|
43
|
+
default: { '@path': '$.groupId' }
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
perform: (request, { payload }) => {
|
|
47
|
+
return request(constants_1.baseUrl, {
|
|
48
|
+
method: 'POST',
|
|
49
|
+
json: {
|
|
50
|
+
userId: payload.userId,
|
|
51
|
+
messageId: payload.messageId,
|
|
52
|
+
timestamp: payload.timestamp,
|
|
53
|
+
traits: payload.traits,
|
|
54
|
+
groupId: payload.groupId
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
exports.default = action;
|
|
60
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/trackey/group/index.ts"],"names":[],"mappings":";;AAGA,4CAAsC;AAEtC,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,kBAAkB;IACzB,WAAW,EAAE,8BAA8B;IAC3C,mBAAmB,EAAE,gBAAgB;IACrC,MAAM,EAAE;QACN,MAAM,EAAE;YACN,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,iDAAiD;YAC9D,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;SACjC;QACD,SAAS,EAAE;YACT,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gCAAgC;YAC7C,OAAO,EAAE;gBACP,OAAO,EAAE,aAAa;aACvB;SACF;QACD,SAAS,EAAE;YACT,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,wFAAwF;YACrG,OAAO,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE;SACpC;QACD,MAAM,EAAE;YACN,KAAK,EAAE,gBAAgB;YACvB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,6BAA6B;YAC1C,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;SACjC;QACD,OAAO,EAAE;YACP,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,sCAAsC;YACnD,OAAO,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;SAClC;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,mBAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,IAAI,EAAE;gBACJ,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,OAAO,EAAE,OAAO,CAAC,OAAO;aACzB;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/trackey/identify/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const constants_1 = require("../constants");
|
|
4
|
+
const action = {
|
|
5
|
+
title: 'Identify User',
|
|
6
|
+
description: 'Identify a user',
|
|
7
|
+
defaultSubscription: 'type = "identify"',
|
|
8
|
+
fields: {
|
|
9
|
+
userId: {
|
|
10
|
+
label: 'User ID',
|
|
11
|
+
type: 'string',
|
|
12
|
+
required: true,
|
|
13
|
+
description: 'The user identifier to associate the event with',
|
|
14
|
+
default: { '@path': '$.userId' }
|
|
15
|
+
},
|
|
16
|
+
messageId: {
|
|
17
|
+
label: 'Message ID',
|
|
18
|
+
type: 'string',
|
|
19
|
+
description: 'A unique value for each event.',
|
|
20
|
+
default: {
|
|
21
|
+
'@path': '$.messageId'
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
timestamp: {
|
|
25
|
+
label: 'Event Timestamp',
|
|
26
|
+
type: 'string',
|
|
27
|
+
required: true,
|
|
28
|
+
description: 'Timestamp that the event took place, in ISO 8601 format. e.g. 2019-06-12T19:11:01.152Z',
|
|
29
|
+
default: { '@path': '$.timestamp' }
|
|
30
|
+
},
|
|
31
|
+
traits: {
|
|
32
|
+
label: 'User Traits',
|
|
33
|
+
type: 'object',
|
|
34
|
+
required: false,
|
|
35
|
+
description: 'User profile information',
|
|
36
|
+
default: { '@path': '$.traits' }
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
perform: (request, { payload }) => {
|
|
40
|
+
return request(constants_1.baseUrl, {
|
|
41
|
+
method: 'POST',
|
|
42
|
+
json: {
|
|
43
|
+
userId: payload.userId,
|
|
44
|
+
messageId: payload.messageId,
|
|
45
|
+
timestamp: payload.timestamp,
|
|
46
|
+
traits: payload.traits
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
exports.default = action;
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/trackey/identify/index.ts"],"names":[],"mappings":";;AAGA,4CAAsC;AAEtC,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,eAAe;IACtB,WAAW,EAAE,iBAAiB;IAC9B,mBAAmB,EAAE,mBAAmB;IACxC,MAAM,EAAE;QACN,MAAM,EAAE;YACN,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,iDAAiD;YAC9D,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;SACjC;QACD,SAAS,EAAE;YACT,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gCAAgC;YAC7C,OAAO,EAAE;gBACP,OAAO,EAAE,aAAa;aACvB;SACF;QACD,SAAS,EAAE;YACT,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,wFAAwF;YACrG,OAAO,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE;SACpC;QACD,MAAM,EAAE;YACN,KAAK,EAAE,aAAa;YACpB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,0BAA0B;YACvC,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;SACjC;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,mBAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,IAAI,EAAE;gBACJ,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,MAAM,EAAE,OAAO,CAAC,MAAM;aACvB;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const
|
|
4
|
-
const
|
|
6
|
+
const identify_1 = __importDefault(require("./identify"));
|
|
7
|
+
const track_1 = __importDefault(require("./track"));
|
|
8
|
+
const group_1 = __importDefault(require("./group"));
|
|
5
9
|
const destination = {
|
|
6
10
|
name: 'Trackey',
|
|
7
11
|
slug: 'actions-trackey',
|
|
@@ -21,185 +25,15 @@ const destination = {
|
|
|
21
25
|
extendRequest: ({ settings }) => {
|
|
22
26
|
return {
|
|
23
27
|
headers: {
|
|
24
|
-
|
|
28
|
+
api_key: settings.apiKey,
|
|
25
29
|
'Content-Type': 'application/json'
|
|
26
30
|
}
|
|
27
31
|
};
|
|
28
32
|
},
|
|
29
33
|
actions: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
defaultSubscription: 'type = "track"',
|
|
34
|
-
fields: {
|
|
35
|
-
userId: {
|
|
36
|
-
label: 'User ID',
|
|
37
|
-
type: 'string',
|
|
38
|
-
required: true,
|
|
39
|
-
description: 'The user identifier to associate the event with',
|
|
40
|
-
default: { '@path': '$.userId' }
|
|
41
|
-
},
|
|
42
|
-
event: {
|
|
43
|
-
label: 'Event Name',
|
|
44
|
-
type: 'string',
|
|
45
|
-
required: true,
|
|
46
|
-
description: 'Name of the Segment track() event',
|
|
47
|
-
default: { '@path': '$.event' }
|
|
48
|
-
},
|
|
49
|
-
messageId: {
|
|
50
|
-
label: 'Message ID',
|
|
51
|
-
type: 'string',
|
|
52
|
-
description: 'A unique value for each event.',
|
|
53
|
-
default: {
|
|
54
|
-
'@path': '$.messageId'
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
timestamp: {
|
|
58
|
-
label: 'Event Timestamp',
|
|
59
|
-
type: 'string',
|
|
60
|
-
required: true,
|
|
61
|
-
description: 'Timestamp that the event took place, in ISO 8601 format. e.g. 2019-06-12T19:11:01.152Z',
|
|
62
|
-
default: { '@path': '$.timestamp' }
|
|
63
|
-
},
|
|
64
|
-
properties: {
|
|
65
|
-
label: 'Event Properties',
|
|
66
|
-
type: 'object',
|
|
67
|
-
required: false,
|
|
68
|
-
description: 'Additional information associated with the track() event',
|
|
69
|
-
default: { '@path': '$.properties' }
|
|
70
|
-
},
|
|
71
|
-
groupId: {
|
|
72
|
-
label: 'Group ID',
|
|
73
|
-
type: 'object',
|
|
74
|
-
required: false,
|
|
75
|
-
description: 'Company ID associated with the event',
|
|
76
|
-
default: { '@path': '$.context.group_id' }
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
perform: (request, { payload }) => {
|
|
80
|
-
return request(endpoint, {
|
|
81
|
-
method: 'POST',
|
|
82
|
-
json: {
|
|
83
|
-
userId: payload.userId,
|
|
84
|
-
event: payload.event,
|
|
85
|
-
messageId: payload.messageId,
|
|
86
|
-
timestamp: payload.timestamp,
|
|
87
|
-
properties: payload.properties,
|
|
88
|
-
groupId: payload.groupId
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
identify: {
|
|
94
|
-
title: 'Identify',
|
|
95
|
-
description: 'Identify a user',
|
|
96
|
-
defaultSubscription: 'type = "identify"',
|
|
97
|
-
fields: {
|
|
98
|
-
userId: {
|
|
99
|
-
label: 'User ID',
|
|
100
|
-
type: 'string',
|
|
101
|
-
required: true,
|
|
102
|
-
description: 'The user identifier to associate the event with',
|
|
103
|
-
default: { '@path': '$.userId' }
|
|
104
|
-
},
|
|
105
|
-
messageId: {
|
|
106
|
-
label: 'Message ID',
|
|
107
|
-
type: 'string',
|
|
108
|
-
description: 'A unique value for each event.',
|
|
109
|
-
default: {
|
|
110
|
-
'@path': '$.messageId'
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
timestamp: {
|
|
114
|
-
label: 'Event Timestamp',
|
|
115
|
-
type: 'string',
|
|
116
|
-
required: true,
|
|
117
|
-
description: 'Timestamp that the event took place, in ISO 8601 format. e.g. 2019-06-12T19:11:01.152Z',
|
|
118
|
-
default: { '@path': '$.timestamp' }
|
|
119
|
-
},
|
|
120
|
-
traits: {
|
|
121
|
-
label: 'User Traits',
|
|
122
|
-
type: 'object',
|
|
123
|
-
required: false,
|
|
124
|
-
description: 'User profile information',
|
|
125
|
-
default: { '@path': '$.traits' }
|
|
126
|
-
},
|
|
127
|
-
groupId: {
|
|
128
|
-
label: 'Group ID',
|
|
129
|
-
type: 'object',
|
|
130
|
-
required: false,
|
|
131
|
-
description: 'Company ID associated with the event',
|
|
132
|
-
default: { '@path': '$.context.group_id' }
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
perform: (request, { payload }) => {
|
|
136
|
-
return request(endpoint, {
|
|
137
|
-
method: 'POST',
|
|
138
|
-
json: {
|
|
139
|
-
userId: payload.userId,
|
|
140
|
-
messageId: payload.messageId,
|
|
141
|
-
timestamp: payload.timestamp,
|
|
142
|
-
traits: payload.traits,
|
|
143
|
-
groupId: payload.groupId
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
group: {
|
|
149
|
-
title: 'Group',
|
|
150
|
-
description: 'Group a user',
|
|
151
|
-
defaultSubscription: 'type = "group"',
|
|
152
|
-
fields: {
|
|
153
|
-
userId: {
|
|
154
|
-
label: 'User ID',
|
|
155
|
-
type: 'string',
|
|
156
|
-
required: true,
|
|
157
|
-
description: 'The user identifier to associate the event with',
|
|
158
|
-
default: { '@path': '$.userId' }
|
|
159
|
-
},
|
|
160
|
-
messageId: {
|
|
161
|
-
label: 'Message ID',
|
|
162
|
-
type: 'string',
|
|
163
|
-
description: 'A unique value for each event.',
|
|
164
|
-
default: {
|
|
165
|
-
'@path': '$.messageId'
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
timestamp: {
|
|
169
|
-
label: 'Event Timestamp',
|
|
170
|
-
type: 'string',
|
|
171
|
-
required: true,
|
|
172
|
-
description: 'Timestamp that the event took place, in ISO 8601 format. e.g. 2019-06-12T19:11:01.152Z',
|
|
173
|
-
default: { '@path': '$.timestamp' }
|
|
174
|
-
},
|
|
175
|
-
traits: {
|
|
176
|
-
label: 'Company Traits',
|
|
177
|
-
type: 'object',
|
|
178
|
-
required: false,
|
|
179
|
-
description: 'Company profile information',
|
|
180
|
-
default: { '@path': '$.traits' }
|
|
181
|
-
},
|
|
182
|
-
groupId: {
|
|
183
|
-
label: 'Group ID',
|
|
184
|
-
type: 'object',
|
|
185
|
-
required: true,
|
|
186
|
-
description: 'Company ID associated with the event',
|
|
187
|
-
default: { '@path': '$.groupId' }
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
perform: (request, { payload }) => {
|
|
191
|
-
return request(endpoint, {
|
|
192
|
-
method: 'POST',
|
|
193
|
-
json: {
|
|
194
|
-
userId: payload.userId,
|
|
195
|
-
messageId: payload.messageId,
|
|
196
|
-
timestamp: payload.timestamp,
|
|
197
|
-
traits: payload.traits,
|
|
198
|
-
groupId: payload.groupId
|
|
199
|
-
}
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
|
-
}
|
|
34
|
+
identify: identify_1.default,
|
|
35
|
+
track: track_1.default,
|
|
36
|
+
group: group_1.default
|
|
203
37
|
}
|
|
204
38
|
};
|
|
205
39
|
exports.default = destination;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/trackey/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/trackey/index.ts"],"names":[],"mappings":";;;;;AAEA,0DAAiC;AACjC,oDAA2B;AAC3B,oDAA2B;AAE3B,MAAM,WAAW,GAAoC;IACnD,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,gCAAgC;IAC7C,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE;YACN,MAAM,EAAE;gBACN,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,sBAAsB;gBACnC,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;SACF;KACF;IACD,aAAa,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;QAC9B,OAAO;YACL,OAAO,EAAE;gBACP,OAAO,EAAE,QAAQ,CAAC,MAAM;gBACxB,cAAc,EAAE,kBAAkB;aACnC;SACF,CAAA;IACH,CAAC;IACD,OAAO,EAAE;QACP,QAAQ,EAAR,kBAAQ;QACR,KAAK,EAAL,eAAK;QACL,KAAK,EAAL,eAAK;KACN;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/trackey/track/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const constants_1 = require("../constants");
|
|
4
|
+
const action = {
|
|
5
|
+
title: 'Track Event',
|
|
6
|
+
description: 'Track an event',
|
|
7
|
+
defaultSubscription: 'type = "track"',
|
|
8
|
+
fields: {
|
|
9
|
+
userId: {
|
|
10
|
+
label: 'User ID',
|
|
11
|
+
type: 'string',
|
|
12
|
+
required: true,
|
|
13
|
+
description: 'The user identifier to associate the event with',
|
|
14
|
+
default: { '@path': '$.userId' }
|
|
15
|
+
},
|
|
16
|
+
event: {
|
|
17
|
+
label: 'Event Name',
|
|
18
|
+
type: 'string',
|
|
19
|
+
required: true,
|
|
20
|
+
description: 'Name of the Segment track() event',
|
|
21
|
+
default: { '@path': '$.event' }
|
|
22
|
+
},
|
|
23
|
+
messageId: {
|
|
24
|
+
label: 'Message ID',
|
|
25
|
+
type: 'string',
|
|
26
|
+
description: 'A unique value for each event.',
|
|
27
|
+
default: {
|
|
28
|
+
'@path': '$.messageId'
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
timestamp: {
|
|
32
|
+
label: 'Event Timestamp',
|
|
33
|
+
type: 'string',
|
|
34
|
+
required: true,
|
|
35
|
+
description: 'Timestamp that the event took place, in ISO 8601 format. e.g. 2019-06-12T19:11:01.152Z',
|
|
36
|
+
default: { '@path': '$.timestamp' }
|
|
37
|
+
},
|
|
38
|
+
properties: {
|
|
39
|
+
label: 'Event Properties',
|
|
40
|
+
type: 'object',
|
|
41
|
+
required: false,
|
|
42
|
+
description: 'Additional information associated with the track() event',
|
|
43
|
+
default: { '@path': '$.properties' }
|
|
44
|
+
},
|
|
45
|
+
groupId: {
|
|
46
|
+
label: 'Group ID',
|
|
47
|
+
type: 'object',
|
|
48
|
+
required: false,
|
|
49
|
+
description: 'Company ID associated with the event',
|
|
50
|
+
default: { '@path': '$.context.group_id' }
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
perform: (request, { payload }) => {
|
|
54
|
+
return request(constants_1.baseUrl, {
|
|
55
|
+
method: 'POST',
|
|
56
|
+
json: {
|
|
57
|
+
userId: payload.userId,
|
|
58
|
+
event: payload.event,
|
|
59
|
+
messageId: payload.messageId,
|
|
60
|
+
timestamp: payload.timestamp,
|
|
61
|
+
properties: payload.properties,
|
|
62
|
+
groupId: payload.groupId
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
exports.default = action;
|
|
68
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/trackey/track/index.ts"],"names":[],"mappings":";;AAGA,4CAAsC;AAEtC,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,gBAAgB;IAC7B,mBAAmB,EAAE,gBAAgB;IACrC,MAAM,EAAE;QACN,MAAM,EAAE;YACN,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,iDAAiD;YAC9D,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;SACjC;QACD,KAAK,EAAE;YACL,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,mC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ChD,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE;oBACJ,GAAG,MAAM;oBACT,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/webhook-audiences/index.ts"],"names":[],"mappings":";;;;;AAGA,2DAAkC;AAClC,wDAAwD;AACxD,mCAAmC;AACnC,MAAM,aAAa,GAAG,YAAY,CAAA;AAClC,MAAM,eAAe,GAAG,cAAc,CAAA;AAEtC,MAAM,WAAW,GAA8D;IAC7E,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE,OAAO;IACb,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE;YACN,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,eAAe;gBACtB,WAAW,EACT,mLAAmL;aACtL;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,4CAA4C;gBACnD,WAAW,EAAE,qDAAqD,eAAe,kGAAkG,aAAa,IAAI;aACrM;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,yCAAyC;gBAChD,WAAW,EAAE,qDAAqD,aAAa,+FAA+F,aAAa,IAAI;aAChM;SACF;KACF;IACD,cAAc,EAAE;QACd,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,0DAA0D,aAAa,UAAU,eAAe,iBAAiB;YACxH,WAAW,EAAE,yDAAyD,aAAa,UAAU,eAAe,iBAAiB;SAC9H;KACF;IACD,cAAc,EAAE;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,kBAAkB,EAAE,KAAK;SAC1B;QACD,KAAK,CAAC,WAAW,CAAC,OAAO,EAAE,gBAAgB;YACzC,MAAM,cAAc,GAAG,gBAAgB,CAAC,QAAQ,CAAC,cAAc,CAAA;YAC/D,IAAI,CAAC,cAAc,EAAE;gBACnB,MAAM,IA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"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/yahoo-audiences/createCustomerNode/generated-types.ts"],"names":[],"mappings":""}
|