@segment/action-destinations 3.239.4 → 3.239.5-staging.1
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/aggregations-io/index.js +17 -7
- package/dist/destinations/aggregations-io/index.js.map +1 -1
- package/dist/destinations/aggregations-io/types.d.ts +8 -0
- package/dist/destinations/aggregations-io/types.js +8 -0
- package/dist/destinations/aggregations-io/types.js.map +1 -0
- package/dist/destinations/amazon-ads/generated-types.d.ts +3 -0
- package/dist/destinations/amazon-ads/generated-types.js +3 -0
- package/dist/destinations/amazon-ads/generated-types.js.map +1 -0
- package/dist/destinations/amazon-ads/index.d.ts +4 -0
- package/dist/destinations/amazon-ads/index.js +87 -0
- package/dist/destinations/amazon-ads/index.js.map +1 -0
- package/dist/destinations/amazon-ads/syncAudiences/generated-types.d.ts +2 -0
- package/dist/destinations/amazon-ads/syncAudiences/generated-types.js +3 -0
- package/dist/destinations/amazon-ads/syncAudiences/generated-types.js.map +1 -0
- package/dist/destinations/amazon-ads/syncAudiences/index.d.ts +5 -0
- package/dist/destinations/amazon-ads/syncAudiences/index.js +15 -0
- package/dist/destinations/amazon-ads/syncAudiences/index.js.map +1 -0
- package/dist/destinations/amazon-ads/types.d.ts +22 -0
- package/dist/destinations/amazon-ads/types.js +11 -0
- package/dist/destinations/amazon-ads/types.js.map +1 -0
- package/dist/destinations/braze/trackEvent/generated-types.d.ts +1 -0
- package/dist/destinations/braze/trackEvent/index.js +8 -0
- package/dist/destinations/braze/trackEvent/index.js.map +1 -1
- package/dist/destinations/braze/trackPurchase/generated-types.d.ts +1 -0
- package/dist/destinations/braze/trackPurchase/index.js +8 -0
- package/dist/destinations/braze/trackPurchase/index.js.map +1 -1
- package/dist/destinations/braze/utils.js +15 -11
- package/dist/destinations/braze/utils.js.map +1 -1
- package/dist/destinations/criteo-audiences/criteo-audiences.js +11 -6
- package/dist/destinations/criteo-audiences/criteo-audiences.js.map +1 -1
- package/dist/destinations/display-video-360/index.js +1 -1
- package/dist/destinations/display-video-360/index.js.map +1 -1
- package/dist/destinations/engage/sendgrid/Profile.d.ts +6 -0
- package/dist/destinations/engage/sendgrid/Profile.js +3 -0
- 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/sendgrid/sendEmail/SendEmailPerformer.js +7 -1
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js.map +1 -1
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.js +8 -2
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.js.map +1 -1
- package/dist/destinations/hubspot/sendCustomBehavioralEvent/index.js +26 -0
- package/dist/destinations/hubspot/sendCustomBehavioralEvent/index.js.map +1 -1
- package/dist/destinations/hubspot/utils.d.ts +10 -0
- package/dist/destinations/index.js +1 -0
- package/dist/destinations/index.js.map +1 -1
- package/dist/destinations/linkedin-conversions/api/api.test.js +42 -24
- package/dist/destinations/linkedin-conversions/api/api.test.js.map +1 -1
- package/dist/destinations/linkedin-conversions/api/index.d.ts +2 -1
- package/dist/destinations/linkedin-conversions/api/index.js +31 -15
- package/dist/destinations/linkedin-conversions/api/index.js.map +1 -1
- package/dist/destinations/linkedin-conversions/streamConversion/generated-types.d.ts +1 -1
- package/dist/destinations/linkedin-conversions/streamConversion/index.js +2 -1
- package/dist/destinations/linkedin-conversions/streamConversion/index.js.map +1 -1
- package/dist/destinations/linkedin-conversions/types.d.ts +6 -7
- package/dist/destinations/responsys/asyncMergePetRecords/generated-types.d.ts +14 -0
- package/dist/destinations/responsys/asyncMergePetRecords/generated-types.js +3 -0
- package/dist/destinations/responsys/asyncMergePetRecords/generated-types.js.map +1 -0
- package/dist/destinations/responsys/asyncMergePetRecords/index.d.ts +5 -0
- 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 +3 -0
- package/dist/destinations/responsys/asyncMergeProfileListMembers/generated-types.js.map +1 -0
- package/dist/destinations/responsys/asyncMergeProfileListMembers/index.d.ts +5 -0
- package/dist/destinations/responsys/asyncMergeProfileListMembers/index.js +174 -0
- package/dist/destinations/responsys/asyncMergeProfileListMembers/index.js.map +1 -0
- package/dist/destinations/responsys/generated-types.d.ts +5 -0
- package/dist/destinations/responsys/generated-types.js +3 -0
- package/dist/destinations/responsys/generated-types.js.map +1 -0
- package/dist/destinations/responsys/index.d.ts +4 -0
- package/dist/destinations/responsys/index.js +62 -0
- package/dist/destinations/responsys/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/responsys/types.d.ts +37 -0
- package/dist/destinations/responsys/types.js +3 -0
- package/dist/destinations/responsys/types.js.map +1 -0
- package/dist/destinations/tiktok-offline-conversions/index.js +15 -15
- package/dist/destinations/tiktok-offline-conversions/index.js.map +1 -1
- package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/formatter.d.ts +3 -0
- package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/formatter.js +43 -0
- package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/formatter.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,62 @@
|
|
|
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 asyncMergeProfileListMembers_1 = __importDefault(require("./asyncMergeProfileListMembers"));
|
|
7
|
+
const asyncMergePetRecords_1 = __importDefault(require("./asyncMergePetRecords"));
|
|
8
|
+
const destination = {
|
|
9
|
+
name: 'Responsys (Actions)',
|
|
10
|
+
slug: 'actions-responsys',
|
|
11
|
+
mode: 'cloud',
|
|
12
|
+
description: 'Send Segment events to Responsys.',
|
|
13
|
+
authentication: {
|
|
14
|
+
scheme: 'oauth2',
|
|
15
|
+
fields: {
|
|
16
|
+
username: {
|
|
17
|
+
label: 'Username',
|
|
18
|
+
description: 'Responsys username',
|
|
19
|
+
type: 'string',
|
|
20
|
+
required: true
|
|
21
|
+
},
|
|
22
|
+
userPassword: {
|
|
23
|
+
label: 'Password',
|
|
24
|
+
description: 'Responsys password',
|
|
25
|
+
type: 'string',
|
|
26
|
+
required: true
|
|
27
|
+
},
|
|
28
|
+
baseUrl: {
|
|
29
|
+
label: 'Responsys endpoint URL',
|
|
30
|
+
description: 'Responsys endpoint URL. Refer to Responsys documentation for more details.',
|
|
31
|
+
type: 'string',
|
|
32
|
+
required: true
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
refreshAccessToken: async (request, { settings }) => {
|
|
36
|
+
const baseUrl = settings.baseUrl?.replace(/\/$/, '');
|
|
37
|
+
const endpoint = `${baseUrl}/rest/api/v1.3/auth/token`;
|
|
38
|
+
const res = await request(endpoint, {
|
|
39
|
+
method: 'POST',
|
|
40
|
+
headers: {
|
|
41
|
+
'Content-Type': 'application/x-www-form-urlencoded'
|
|
42
|
+
},
|
|
43
|
+
body: `user_name=${settings.username}&password=${settings.userPassword}&auth_type=password`
|
|
44
|
+
});
|
|
45
|
+
return { accessToken: res.data.authToken };
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
extendRequest({ auth }) {
|
|
49
|
+
return {
|
|
50
|
+
headers: {
|
|
51
|
+
'Content-Type': 'application/json',
|
|
52
|
+
authorization: `${auth?.accessToken}`
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
actions: {
|
|
57
|
+
asyncMergeProfileListMembers: asyncMergeProfileListMembers_1.default,
|
|
58
|
+
asyncMergePetRecords: asyncMergePetRecords_1.default
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
exports.default = destination;
|
|
62
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/responsys/index.ts"],"names":[],"mappings":";;;;;AAOA,kGAAyE;AAEzE,kFAAyD;AAMzD,MAAM,WAAW,GAAoC;IACnD,IAAI,EAAE,qBAAqB;IAC3B,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,mCAAmC;IAChD,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE;YACN,QAAQ,EAAE;gBACR,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,oBAAoB;gBACjC,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;YACD,YAAY,EAAE;gBACZ,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,oBAAoB;gBACjC,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;YACD,OAAO,EAAE;gBAEP,KAAK,EAAE,wBAAwB;gBAC/B,WAAW,EAAE,4EAA4E;gBACzF,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;SACF;QAED,kBAAkB,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;YAElD,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAA;YACpD,MAAM,QAAQ,GAAG,GAAG,OAAO,2BAA2B,CAAA;YAGtD,MAAM,GAAG,GAAG,MAAM,OAAO,CAAuB,QAAQ,EAAE;gBACxD,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,cAAc,EAAE,mCAAmC;iBACpD;gBACD,IAAI,EAAE,aAAa,QAAQ,CAAC,QAAQ,aAAa,QAAQ,CAAC,YAAY,qBAAqB;aAC5F,CAAC,CAAA;YACF,OAAO,EAAE,WAAW,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,CAAA;QAC5C,CAAC;KACF;IACD,aAAa,CAAC,EAAE,IAAI,EAAE;QAEpB,OAAO;YACL,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;gBAClC,aAAa,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE;aACtC;SACF,CAAA;IACH,CAAC;IACD,OAAO,EAAE;QACP,4BAA4B,EAA5B,sCAA4B;QAC5B,oBAAoB,EAApB,8BAAoB;KACrB;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Payload } from './asyncMergePetRecords/generated-types';
|
|
2
|
+
import { DynamicData, RecordData } from './types';
|
|
3
|
+
export declare const buildRecordData: (userData: DynamicData, mapTemplateName: string) => {
|
|
4
|
+
records: unknown[][];
|
|
5
|
+
fieldNames: string[];
|
|
6
|
+
mapTemplateName: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const buildRequestBodyPET: (payload: Payload, recordData: RecordData) => {
|
|
9
|
+
recordData: RecordData;
|
|
10
|
+
insertOnNoMatch: boolean | undefined;
|
|
11
|
+
updateOnMatch: string;
|
|
12
|
+
matchColumnName1: string;
|
|
13
|
+
matchColumnName2: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildRequestBodyPET = exports.buildRecordData = void 0;
|
|
4
|
+
const buildRecordData = (userData, mapTemplateName) => {
|
|
5
|
+
if (Array.isArray(userData)) {
|
|
6
|
+
const keysFromFirstObject = Object.keys(userData[0]);
|
|
7
|
+
return {
|
|
8
|
+
records: userData.map((record) => Object.values(record)),
|
|
9
|
+
fieldNames: keysFromFirstObject,
|
|
10
|
+
mapTemplateName: mapTemplateName || ''
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
const keysFromFirstObject = Object.keys(userData);
|
|
14
|
+
return {
|
|
15
|
+
records: [Object.values(userData)],
|
|
16
|
+
fieldNames: keysFromFirstObject,
|
|
17
|
+
mapTemplateName: mapTemplateName || ''
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
exports.buildRecordData = buildRecordData;
|
|
21
|
+
const buildRequestBodyPET = (payload, recordData) => {
|
|
22
|
+
const matchColumnName1 = payload.matchColumnName1 ? String(payload.matchColumnName1) : '';
|
|
23
|
+
const matchColumnName2 = payload.matchColumnName2 ? String(payload.matchColumnName2) : '';
|
|
24
|
+
return {
|
|
25
|
+
recordData: recordData,
|
|
26
|
+
insertOnNoMatch: payload.insertOnNoMatch,
|
|
27
|
+
updateOnMatch: payload.updateOnMatch,
|
|
28
|
+
matchColumnName1: matchColumnName1.replace(/_+$/, ''),
|
|
29
|
+
matchColumnName2: matchColumnName2.replace(/_+$/, '')
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
exports.buildRequestBodyPET = buildRequestBodyPET;
|
|
33
|
+
//# sourceMappingURL=rsp-operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rsp-operations.js","sourceRoot":"","sources":["../../../src/destinations/responsys/rsp-operations.ts"],"names":[],"mappings":";;;AAGO,MAAM,eAAe,GAAG,CAAC,QAAqB,EAAE,eAAuB,EAAE,EAAE;IAEhF,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;QAC3B,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,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.batch_size = exports.enable_batching = exports.userData = void 0;
|
|
4
|
+
exports.userData = {
|
|
5
|
+
label: 'Recepient Data',
|
|
6
|
+
description: 'Record data that represents Field Names and corresponding values for the recipient.',
|
|
7
|
+
type: 'object',
|
|
8
|
+
defaultObjectUI: 'keyvalue:only',
|
|
9
|
+
required: true,
|
|
10
|
+
default: { '@path': '$.' }
|
|
11
|
+
};
|
|
12
|
+
exports.enable_batching = {
|
|
13
|
+
label: 'Use Responsys Async API',
|
|
14
|
+
description: 'Once enabled, Segment will collect events into batches of 200 before sending to Responsys.',
|
|
15
|
+
type: 'boolean',
|
|
16
|
+
default: true,
|
|
17
|
+
unsafe_hidden: true
|
|
18
|
+
};
|
|
19
|
+
exports.batch_size = {
|
|
20
|
+
label: 'Batch Size',
|
|
21
|
+
description: 'Maximum number of events to include in each batch. Actual batch sizes may be lower.',
|
|
22
|
+
type: 'number',
|
|
23
|
+
required: false,
|
|
24
|
+
unsafe_hidden: true,
|
|
25
|
+
default: 200
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=rsp-properties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rsp-properties.js","sourceRoot":"","sources":["../../../src/destinations/responsys/rsp-properties.ts"],"names":[],"mappings":";;;AAGa,QAAA,QAAQ,GAAe;IAClC,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,qFAAqF;IAClG,IAAI,EAAE,QAAQ;IACd,eAAe,EAAE,eAAe;IAChC,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CAC3B,CAAA;AAEY,QAAA,eAAe,GAAe;IACzC,KAAK,EAAE,yBAAyB;IAChC,WAAW,EAAE,4FAA4F;IACzG,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,IAAI;IACb,aAAa,EAAE,IAAI;CACpB,CAAA;AAEY,QAAA,UAAU,GAAe;IACpC,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,qFAAqF;IAClG,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,KAAK;IACf,aAAa,EAAE,IAAI;IACnB,OAAO,EAAE,GAAG;CACb,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export interface DynamicData {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export interface InnerObject {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}
|
|
7
|
+
export interface RecordData {
|
|
8
|
+
records: DynamicData[][];
|
|
9
|
+
fieldNames: string[];
|
|
10
|
+
mapTemplateName: string;
|
|
11
|
+
}
|
|
12
|
+
export interface MergeRule {
|
|
13
|
+
defaultPermissionStatus?: string;
|
|
14
|
+
htmlValue?: string;
|
|
15
|
+
insertOnNoMatch?: boolean;
|
|
16
|
+
matchColumnName1?: string;
|
|
17
|
+
matchColumnName2?: string;
|
|
18
|
+
matchOperator?: string;
|
|
19
|
+
optinValue?: string;
|
|
20
|
+
optoutValue?: string;
|
|
21
|
+
rejectRecordIfChannelEmpty?: string;
|
|
22
|
+
textValue?: string;
|
|
23
|
+
updateOnMatch?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare type RequestBody = {
|
|
26
|
+
recordData: RecordData;
|
|
27
|
+
} & {
|
|
28
|
+
mergeRule: MergeRule;
|
|
29
|
+
};
|
|
30
|
+
export declare type RequestBodyPET = {
|
|
31
|
+
recordData: RecordData;
|
|
32
|
+
} & {
|
|
33
|
+
insertOnNoMatch: boolean;
|
|
34
|
+
updateOnMatch: string;
|
|
35
|
+
matchColumnName1: string;
|
|
36
|
+
matchColumnName2: string;
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/destinations/responsys/types.ts"],"names":[],"mappings":""}
|
|
@@ -93,7 +93,7 @@ const destination = {
|
|
|
93
93
|
{
|
|
94
94
|
name: 'Complete Payment',
|
|
95
95
|
subscribe: 'event = "Payment Completed"',
|
|
96
|
-
partnerAction: '
|
|
96
|
+
partnerAction: 'reportOfflineEvent',
|
|
97
97
|
mapping: {
|
|
98
98
|
...multiProductContents,
|
|
99
99
|
event: 'CompletePayment'
|
|
@@ -103,7 +103,7 @@ const destination = {
|
|
|
103
103
|
{
|
|
104
104
|
name: 'Contact',
|
|
105
105
|
subscribe: 'event = "Callback Started"',
|
|
106
|
-
partnerAction: '
|
|
106
|
+
partnerAction: 'reportOfflineEvent',
|
|
107
107
|
mapping: {
|
|
108
108
|
...actions_core_1.defaultValues(reportOfflineEvent_1.default.fields),
|
|
109
109
|
event: 'Contact'
|
|
@@ -113,7 +113,7 @@ const destination = {
|
|
|
113
113
|
{
|
|
114
114
|
name: 'Subscribe',
|
|
115
115
|
subscribe: 'event = "Subscription Created"',
|
|
116
|
-
partnerAction: '
|
|
116
|
+
partnerAction: 'reportOfflineEvent',
|
|
117
117
|
mapping: {
|
|
118
118
|
...actions_core_1.defaultValues(reportOfflineEvent_1.default.fields),
|
|
119
119
|
event: 'Subscribe'
|
|
@@ -123,7 +123,7 @@ const destination = {
|
|
|
123
123
|
{
|
|
124
124
|
name: 'Submit Form',
|
|
125
125
|
subscribe: 'event = "Form Submitted"',
|
|
126
|
-
partnerAction: '
|
|
126
|
+
partnerAction: 'reportOfflineEvent',
|
|
127
127
|
mapping: {
|
|
128
128
|
...actions_core_1.defaultValues(reportOfflineEvent_1.default.fields),
|
|
129
129
|
event: 'SubmitForm'
|
|
@@ -133,7 +133,7 @@ const destination = {
|
|
|
133
133
|
{
|
|
134
134
|
name: 'Page View',
|
|
135
135
|
subscribe: 'type="page"',
|
|
136
|
-
partnerAction: '
|
|
136
|
+
partnerAction: 'reportOfflineEvent',
|
|
137
137
|
mapping: {
|
|
138
138
|
...multiProductContents,
|
|
139
139
|
event: 'PageView'
|
|
@@ -143,7 +143,7 @@ const destination = {
|
|
|
143
143
|
{
|
|
144
144
|
name: 'View Content',
|
|
145
145
|
subscribe: 'event = "Product Viewed"',
|
|
146
|
-
partnerAction: '
|
|
146
|
+
partnerAction: 'reportOfflineEvent',
|
|
147
147
|
mapping: {
|
|
148
148
|
...singleProductContents,
|
|
149
149
|
event: 'ViewContent'
|
|
@@ -153,7 +153,7 @@ const destination = {
|
|
|
153
153
|
{
|
|
154
154
|
name: 'Click Button',
|
|
155
155
|
subscribe: 'event = "Product Clicked"',
|
|
156
|
-
partnerAction: '
|
|
156
|
+
partnerAction: 'reportOfflineEvent',
|
|
157
157
|
mapping: {
|
|
158
158
|
...singleProductContents,
|
|
159
159
|
event: 'ClickButton'
|
|
@@ -163,7 +163,7 @@ const destination = {
|
|
|
163
163
|
{
|
|
164
164
|
name: 'Search',
|
|
165
165
|
subscribe: 'event = "Products Searched"',
|
|
166
|
-
partnerAction: '
|
|
166
|
+
partnerAction: 'reportOfflineEvent',
|
|
167
167
|
mapping: {
|
|
168
168
|
...singleProductContents,
|
|
169
169
|
event: 'Search'
|
|
@@ -173,7 +173,7 @@ const destination = {
|
|
|
173
173
|
{
|
|
174
174
|
name: 'Add to Wishlist',
|
|
175
175
|
subscribe: 'event = "Product Added to Wishlist"',
|
|
176
|
-
partnerAction: '
|
|
176
|
+
partnerAction: 'reportOfflineEvent',
|
|
177
177
|
mapping: {
|
|
178
178
|
...singleProductContents,
|
|
179
179
|
event: 'AddToWishlist'
|
|
@@ -183,7 +183,7 @@ const destination = {
|
|
|
183
183
|
{
|
|
184
184
|
name: 'Add to Cart',
|
|
185
185
|
subscribe: 'event = "Product Added"',
|
|
186
|
-
partnerAction: '
|
|
186
|
+
partnerAction: 'reportOfflineEvent',
|
|
187
187
|
mapping: {
|
|
188
188
|
...singleProductContents,
|
|
189
189
|
event: 'AddToCart'
|
|
@@ -193,7 +193,7 @@ const destination = {
|
|
|
193
193
|
{
|
|
194
194
|
name: 'Initiate Checkout',
|
|
195
195
|
subscribe: 'event = "Checkout Started"',
|
|
196
|
-
partnerAction: '
|
|
196
|
+
partnerAction: 'reportOfflineEvent',
|
|
197
197
|
mapping: {
|
|
198
198
|
...multiProductContents,
|
|
199
199
|
event: 'InitiateCheckout'
|
|
@@ -203,7 +203,7 @@ const destination = {
|
|
|
203
203
|
{
|
|
204
204
|
name: 'Add Payment Info',
|
|
205
205
|
subscribe: 'event = "Payment Info Entered"',
|
|
206
|
-
partnerAction: '
|
|
206
|
+
partnerAction: 'reportOfflineEvent',
|
|
207
207
|
mapping: {
|
|
208
208
|
...multiProductContents,
|
|
209
209
|
event: 'AddPaymentInfo'
|
|
@@ -213,7 +213,7 @@ const destination = {
|
|
|
213
213
|
{
|
|
214
214
|
name: 'Place an Order',
|
|
215
215
|
subscribe: 'event = "Order Completed"',
|
|
216
|
-
partnerAction: '
|
|
216
|
+
partnerAction: 'reportOfflineEvent',
|
|
217
217
|
mapping: {
|
|
218
218
|
...multiProductContents,
|
|
219
219
|
event: 'PlaceAnOrder'
|
|
@@ -223,7 +223,7 @@ const destination = {
|
|
|
223
223
|
{
|
|
224
224
|
name: 'Download',
|
|
225
225
|
subscribe: 'event = "Download Link Clicked"',
|
|
226
|
-
partnerAction: '
|
|
226
|
+
partnerAction: 'reportOfflineEvent',
|
|
227
227
|
mapping: {
|
|
228
228
|
...actions_core_1.defaultValues(reportOfflineEvent_1.default.fields),
|
|
229
229
|
event: 'Download'
|
|
@@ -233,7 +233,7 @@ const destination = {
|
|
|
233
233
|
{
|
|
234
234
|
name: 'Complete Registration',
|
|
235
235
|
subscribe: 'event = "Signed Up"',
|
|
236
|
-
partnerAction: '
|
|
236
|
+
partnerAction: 'reportOfflineEvent',
|
|
237
237
|
mapping: {
|
|
238
238
|
...actions_core_1.defaultValues(reportOfflineEvent_1.default.fields),
|
|
239
239
|
event: 'CompleteRegistration'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-offline-conversions/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAA4E;AAE5E,oGAA2E;AAC3E,0GAAiF;AACjF,8EAAqD;AAErD,MAAM,iBA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E;oBACJ,YAAY,EAAE,QAAQ,CAAC,UAAU;oBACjC,KAAK,EAAE,YAAY;oBACnB,SAAS,EAAE,EAAE;oBACb,OAAO,EAAE,EAAE;iBACZ;aACF,CAAC,CAAA;QACJ,CAAC;KACF;IACD,aAAa,CAAC,EAAE,QAAQ,EAAE;QACxB,OAAO;YACL,OAAO,EAAE;gBACP,cAAc,EAAE,QAAQ,CAAC,WAAW;gBACpC,cAAc,EAAE,kBAAkB;aACnC;SACF,CAAA;IACH,CAAC;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,kBAAkB;YACxB,SAAS,EAAE,6BAA6B;YACxC,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-offline-conversions/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAA4E;AAE5E,oGAA2E;AAC3E,0GAAiF;AACjF,8EAAqD;AAErD,MAAM,iBAAiB,GAAG;IACxB,KAAK,EAAE;QACL,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,YAAY;KACtB;IACD,gBAAgB,EAAE;QAChB,OAAO,EAAE,YAAY;KACtB;IACD,UAAU,EAAE;QACV,OAAO,EAAE,cAAc;KACxB;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,QAAQ;KAClB;IACD,KAAK,EAAE;QACL,OAAO,EAAE,SAAS;KACnB;CACF,CAAA;AAED,MAAM,qBAAqB,GAAG;IAC5B,GAAG,4BAAa,CAAC,4BAAkB,CAAC,MAAM,CAAC;IAC3C,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,cAAc;YACd;gBACE,GAAG,iBAAiB;aACrB;SACF;KACF;CACF,CAAA;AAED,MAAM,oBAAoB,GAAG;IAC3B,GAAG,4BAAa,CAAC,4BAAkB,CAAC,MAAM,CAAC;IAC3C,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,uBAAuB;YACvB;gBACE,GAAG,iBAAiB;aACrB;SACF;KACF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,4BAAkB,CAAC,MAAM,CAAC;gBAC3C,KAAK,EAAE,sBAAsB;aAC9B;YACD,IAAI,EAAE,WAAW;SAClB;KACF;IACD,OAAO,EAAE;QACP,6BAA6B,EAA7B,uCAA6B;QAC7B,gCAAgC,EAAhC,0CAAgC;QAChC,kBAAkB,EAAlB,4BAAkB;KACnB;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.formatPhones = exports.formatUserIds = 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
|
+
function formatUserIds(userIds) {
|
|
16
|
+
const result = [];
|
|
17
|
+
if (userIds) {
|
|
18
|
+
userIds.forEach((userId) => {
|
|
19
|
+
result.push(hashAndEncode(userId.toLowerCase()));
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
return result;
|
|
23
|
+
}
|
|
24
|
+
exports.formatUserIds = formatUserIds;
|
|
25
|
+
const formatPhones = (phone_numbers) => {
|
|
26
|
+
const result = [];
|
|
27
|
+
if (!phone_numbers)
|
|
28
|
+
return result;
|
|
29
|
+
phone_numbers.forEach((phone) => {
|
|
30
|
+
const validatedPhone = phone.match(/[0-9]{0,14}/g);
|
|
31
|
+
if (validatedPhone === null) {
|
|
32
|
+
throw new Error(`${phone} is not a valid E.164 phone number.`);
|
|
33
|
+
}
|
|
34
|
+
const formattedPhone = `+${phone.replace(/[^0-9]/g, '')}`;
|
|
35
|
+
result.push(hashAndEncode(formattedPhone.substring(0, 15)));
|
|
36
|
+
});
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
exports.formatPhones = formatPhones;
|
|
40
|
+
function hashAndEncode(property) {
|
|
41
|
+
return crypto_1.createHash('sha256').update(property).digest('hex');
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=formatter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatter.js","sourceRoot":"","sources":["../../../../src/destinations/tiktok-offline-conversions/reportOfflineEvent/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,CAAC,CAAA;AARY,QAAA,YAAY,gBAQxB;AAOD,SAAgB,aAAa,CAAC,OAA6B;IACzD,MAAM,MAAM,GAAa,EAAE,CAAA;IAC3B,IAAI,OAAO,EAAE;QACX,OAAO,CAAC,OAAO,CAAC,CAAC,MAAc,EAAE,EAAE;YACjC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC,CAAA;QAClD,CAAC,CAAC,CAAA;KACH;IACD,OAAO,MAAM,CAAA;AACf,CAAC;AARD,sCAQC;AAOM,MAAM,YAAY,GAAG,CAAC,aAAmC,EAAY,EAAE;IAC5E,MAAM,MAAM,GAAa,EAAE,CAAA;IAC3B,IAAI,CAAC,aAAa;QAAE,OAAO,MAAM,CAAA;IAEjC,aAAa,CAAC,OAAO,CAAC,CAAC,KAAa,EAAE,EAAE;QACtC,MAAM,cAAc,GAAG,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,CAAA;QAClD,IAAI,cAAc,KAAK,IAAI,EAAE;YAC3B,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,qCAAqC,CAAC,CAAA;SAC/D;QAED,MAAM,cAAc,GAAG,IAAI,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,EAAE,CAAA;QAEzD,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAA;IAC7D,CAAC,CAAC,CAAA;IAEF,OAAO,MAAM,CAAA;AACf,CAAC,CAAA;AAhBY,QAAA,YAAY,gBAgBxB;AAED,SAAS,aAAa,CAAC,QAAgB;IACrC,OAAO,mBAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;AAC5D,CAAC"}
|
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.239.
|
|
4
|
+
"version": "3.239.5-staging.1",
|
|
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.94.0",
|
|
47
|
-
"@segment/actions-shared": "^1.75.0",
|
|
46
|
+
"@segment/actions-core": "^3.94.1-staging.0",
|
|
47
|
+
"@segment/actions-shared": "^1.75.1-staging.0",
|
|
48
48
|
"@types/node": "^18.11.15",
|
|
49
49
|
"ajv-formats": "^2.1.1",
|
|
50
50
|
"aws4": "^1.12.0",
|