@segment/action-destinations 3.332.1-staging.5 → 3.332.1-staging.6
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/display-video-360/addToAudience/index.js +2 -0
- package/dist/destinations/display-video-360/addToAudience/index.js.map +1 -1
- package/dist/destinations/display-video-360/errors.js +1 -3
- package/dist/destinations/display-video-360/errors.js.map +1 -1
- package/dist/destinations/display-video-360/index.js +10 -6
- package/dist/destinations/display-video-360/index.js.map +1 -1
- package/dist/destinations/display-video-360/listManagement.d.ts +9 -0
- package/dist/destinations/display-video-360/listManagement.js +16 -0
- package/dist/destinations/display-video-360/listManagement.js.map +1 -0
- package/dist/destinations/display-video-360/removeFromAudience/index.js +2 -0
- package/dist/destinations/display-video-360/removeFromAudience/index.js.map +1 -1
- package/dist/destinations/display-video-360/shared.d.ts +8 -1
- package/dist/destinations/display-video-360/shared.js +27 -6
- package/dist/destinations/display-video-360/shared.js.map +1 -1
- package/package.json +1 -1
- package/dist/destinations/braze/updateUserProfile/__snapshots__/__snapshots__/snapshot.test.js.snap +0 -208
- package/dist/destinations/braze/updateUserProfile/__snapshots__/snapshot.test.d.ts +0 -1
- package/dist/destinations/braze/updateUserProfile/__snapshots__/snapshot.test.js +0 -184
- package/dist/destinations/braze/updateUserProfile/__snapshots__/snapshot.test.js.map +0 -1
- package/dist/destinations/engage/utils/Profile.d.ts +0 -6
- package/dist/destinations/engage/utils/Profile.js +0 -3
- package/dist/destinations/engage/utils/Profile.js.map +0 -1
- package/dist/destinations/engage/utils/apiLookups.d.ts +0 -22
- package/dist/destinations/engage/utils/apiLookups.js +0 -189
- package/dist/destinations/engage/utils/apiLookups.js.map +0 -1
- package/dist/destinations/klaviyo/removeProfileToList/generated-types.d.ts +0 -4
- package/dist/destinations/klaviyo/removeProfileToList/generated-types.js +0 -3
- package/dist/destinations/klaviyo/removeProfileToList/generated-types.js.map +0 -1
- package/dist/destinations/klaviyo/removeProfileToList/index.d.ts +0 -5
- package/dist/destinations/klaviyo/removeProfileToList/index.js +0 -41
- package/dist/destinations/klaviyo/removeProfileToList/index.js.map +0 -1
- package/dist/destinations/mixpanel/utils.d.ts +0 -13
- package/dist/destinations/mixpanel/utils.js +0 -117
- package/dist/destinations/mixpanel/utils.js.map +0 -1
- package/dist/destinations/trackey/identifyUser/generated-types.d.ts +0 -8
- package/dist/destinations/trackey/identifyUser/generated-types.js +0 -3
- package/dist/destinations/trackey/identifyUser/generated-types.js.map +0 -1
- package/dist/destinations/trackey/identifyUser/index.d.ts +0 -5
- package/dist/destinations/trackey/identifyUser/index.js +0 -52
- package/dist/destinations/trackey/identifyUser/index.js.map +0 -1
- package/dist/destinations/trackey/identifyUser.types.d.ts +0 -8
- package/dist/destinations/trackey/identifyUser.types.js +0 -3
- package/dist/destinations/trackey/identifyUser.types.js.map +0 -1
- package/dist/destinations/trackey/registerCompany/generated-types.d.ts +0 -9
- package/dist/destinations/trackey/registerCompany/generated-types.js +0 -3
- package/dist/destinations/trackey/registerCompany/generated-types.js.map +0 -1
- package/dist/destinations/trackey/registerCompany/index.d.ts +0 -5
- package/dist/destinations/trackey/registerCompany/index.js +0 -60
- package/dist/destinations/trackey/registerCompany/index.js.map +0 -1
- package/dist/destinations/trackey/registerCompany.types.d.ts +0 -9
- package/dist/destinations/trackey/registerCompany.types.js +0 -3
- package/dist/destinations/trackey/registerCompany.types.js.map +0 -1
- package/dist/destinations/trackey/trackEvent/generated-types.d.ts +0 -12
- package/dist/destinations/trackey/trackEvent/generated-types.js +0 -3
- package/dist/destinations/trackey/trackEvent/generated-types.js.map +0 -1
- package/dist/destinations/trackey/trackEvent/index.d.ts +0 -5
- package/dist/destinations/trackey/trackEvent/index.js +0 -68
- package/dist/destinations/trackey/trackEvent/index.js.map +0 -1
- package/dist/destinations/trackey/trackEvent.types.d.ts +0 -12
- package/dist/destinations/trackey/trackEvent.types.js +0 -3
- package/dist/destinations/trackey/trackEvent.types.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/trackey/identifyUser/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,52 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/trackey/identifyUser/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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"identifyUser.types.js","sourceRoot":"","sources":["../../../src/destinations/trackey/identifyUser.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/trackey/registerCompany/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,60 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/trackey/registerCompany/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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registerCompany.types.js","sourceRoot":"","sources":["../../../src/destinations/trackey/registerCompany.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/trackey/trackEvent/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,68 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/trackey/trackEvent/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,mCAAmC;YAChD,OAAO,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;SAChC;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,UAAU,EAAE;YACV,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,0DAA0D;YACvE,OAAO,EAAE,EAAE,OAAO,EAAE,cAAc,EAAE;SACrC;QACD,OAAO,EAAE;YACP,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,sCAAsC;YACnD,OAAO,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE;SAC3C;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,KAAK,EAAE,OAAO,CAAC,KAAK;gBACpB,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,UAAU,EAAE,OAAO,CAAC,UAAU;gBAC9B,OAAO,EAAE,OAAO,CAAC,OAAO;aACzB;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"trackEvent.types.js","sourceRoot":"","sources":["../../../src/destinations/trackey/trackEvent.types.ts"],"names":[],"mappings":""}
|