@segment/action-destinations 3.287.0-staging-d3ef02304 → 3.288.0-staging-437f9f88e
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/klaviyo/orderCompleted/generated-types.d.ts +0 -9
- package/dist/destinations/klaviyo/orderCompleted/index.js +64 -166
- package/dist/destinations/klaviyo/orderCompleted/index.js.map +1 -1
- package/dist/destinations/klaviyo/trackEvent/index.js +1 -1
- package/dist/destinations/klaviyo/trackEvent/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -7,21 +7,12 @@ export interface Payload {
|
|
|
7
7
|
[k: string]: unknown;
|
|
8
8
|
};
|
|
9
9
|
properties: {
|
|
10
|
-
order_id?: string;
|
|
11
10
|
[k: string]: unknown;
|
|
12
11
|
};
|
|
13
12
|
time?: string | number;
|
|
14
13
|
value?: number;
|
|
15
14
|
unique_id?: string;
|
|
16
15
|
products?: {
|
|
17
|
-
product_id?: string;
|
|
18
|
-
category?: string;
|
|
19
|
-
name?: string;
|
|
20
|
-
sku?: string;
|
|
21
|
-
price?: number;
|
|
22
|
-
image_url?: string;
|
|
23
|
-
url?: string;
|
|
24
|
-
quantity?: number;
|
|
25
16
|
[k: string]: unknown;
|
|
26
17
|
}[];
|
|
27
18
|
}
|
|
@@ -2,11 +2,68 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const actions_core_1 = require("@segment/actions-core");
|
|
4
4
|
const config_1 = require("../config");
|
|
5
|
-
const
|
|
5
|
+
const uuid_1 = require("@lukeed/uuid");
|
|
6
|
+
const createEventData = (payload) => ({
|
|
7
|
+
data: {
|
|
8
|
+
type: 'event',
|
|
9
|
+
attributes: {
|
|
10
|
+
properties: { ...payload.properties },
|
|
11
|
+
time: payload.time,
|
|
12
|
+
value: payload.value,
|
|
13
|
+
unique_id: payload.unique_id,
|
|
14
|
+
metric: {
|
|
15
|
+
data: {
|
|
16
|
+
type: 'metric',
|
|
17
|
+
attributes: {
|
|
18
|
+
name: 'Order Completed'
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
profile: {
|
|
23
|
+
data: {
|
|
24
|
+
type: 'profile',
|
|
25
|
+
attributes: payload.profile
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
const sendProductRequests = async (payload, orderEventData, request) => {
|
|
32
|
+
if (!payload.products || !Array.isArray(payload.products)) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
delete orderEventData.data.attributes.properties?.products;
|
|
36
|
+
const productPromises = payload.products.map((product) => {
|
|
37
|
+
const productEventData = {
|
|
38
|
+
data: {
|
|
39
|
+
type: 'event',
|
|
40
|
+
attributes: {
|
|
41
|
+
properties: { ...product, ...orderEventData.data.attributes.properties },
|
|
42
|
+
unique_id: uuid_1.v4(),
|
|
43
|
+
metric: {
|
|
44
|
+
data: {
|
|
45
|
+
type: 'metric',
|
|
46
|
+
attributes: {
|
|
47
|
+
name: 'Ordered Product'
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
time: orderEventData.data.attributes.time,
|
|
52
|
+
profile: orderEventData.data.attributes.profile
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
return request(`${config_1.API_URL}/events/`, {
|
|
57
|
+
method: 'POST',
|
|
58
|
+
json: productEventData
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
await Promise.all(productPromises);
|
|
62
|
+
};
|
|
6
63
|
const action = {
|
|
7
64
|
title: 'Order Completed',
|
|
8
65
|
description: 'Order Completed Event action tracks users Order Completed events and associate it with their profile.',
|
|
9
|
-
defaultSubscription: 'type = "track"
|
|
66
|
+
defaultSubscription: 'type = "track"',
|
|
10
67
|
fields: {
|
|
11
68
|
profile: {
|
|
12
69
|
label: 'Profile',
|
|
@@ -38,30 +95,11 @@ const action = {
|
|
|
38
95
|
required: true
|
|
39
96
|
},
|
|
40
97
|
properties: {
|
|
41
|
-
description: `Properties of this event
|
|
98
|
+
description: `Properties of this event.`,
|
|
42
99
|
label: 'Properties',
|
|
43
100
|
type: 'object',
|
|
44
|
-
additionalProperties: true,
|
|
45
|
-
properties: {
|
|
46
|
-
order_id: {
|
|
47
|
-
label: 'Order ID',
|
|
48
|
-
description: 'Unique identifier for the order.',
|
|
49
|
-
type: 'string'
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
101
|
default: {
|
|
53
|
-
'@
|
|
54
|
-
'$.properties',
|
|
55
|
-
{
|
|
56
|
-
order_id: {
|
|
57
|
-
'@if': {
|
|
58
|
-
exists: { '@path': '$.properties.order_id' },
|
|
59
|
-
then: { '@path': '$.properties.order_id' },
|
|
60
|
-
else: { '@path': '$.properties.orderId' }
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
]
|
|
102
|
+
'@path': '$.properties'
|
|
65
103
|
},
|
|
66
104
|
required: true
|
|
67
105
|
},
|
|
@@ -97,71 +135,7 @@ const action = {
|
|
|
97
135
|
label: 'Products',
|
|
98
136
|
description: 'List of products purchased in the order.',
|
|
99
137
|
multiple: true,
|
|
100
|
-
type: 'object'
|
|
101
|
-
additionalProperties: true,
|
|
102
|
-
properties: {
|
|
103
|
-
product_id: {
|
|
104
|
-
label: 'Product ID',
|
|
105
|
-
description: 'Id of the product.',
|
|
106
|
-
type: 'string'
|
|
107
|
-
},
|
|
108
|
-
category: {
|
|
109
|
-
label: 'Category',
|
|
110
|
-
description: 'Category of the product',
|
|
111
|
-
type: 'string'
|
|
112
|
-
},
|
|
113
|
-
name: {
|
|
114
|
-
label: 'Name',
|
|
115
|
-
type: 'string',
|
|
116
|
-
description: 'Name of the product'
|
|
117
|
-
},
|
|
118
|
-
sku: {
|
|
119
|
-
label: 'SKU',
|
|
120
|
-
type: 'string',
|
|
121
|
-
description: 'Stock Keeping Unit of the product'
|
|
122
|
-
},
|
|
123
|
-
price: {
|
|
124
|
-
label: 'Price',
|
|
125
|
-
type: 'number',
|
|
126
|
-
description: 'Price of the product'
|
|
127
|
-
},
|
|
128
|
-
image_url: {
|
|
129
|
-
label: 'Image URL of the product',
|
|
130
|
-
type: 'string',
|
|
131
|
-
description: 'URL of the image of the product'
|
|
132
|
-
},
|
|
133
|
-
url: {
|
|
134
|
-
label: 'Product URL',
|
|
135
|
-
type: 'string',
|
|
136
|
-
description: 'URL of the product page'
|
|
137
|
-
},
|
|
138
|
-
quantity: {
|
|
139
|
-
label: 'Quantity',
|
|
140
|
-
type: 'number',
|
|
141
|
-
description: 'Quantity of the product'
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
default: {
|
|
145
|
-
'@arrayPath': [
|
|
146
|
-
'$.properties.products',
|
|
147
|
-
{
|
|
148
|
-
product_id: {
|
|
149
|
-
'@if': {
|
|
150
|
-
exists: { '@path': '$.properties.product_id' },
|
|
151
|
-
then: { '@path': '$.properties.product_id' },
|
|
152
|
-
else: { '@path': '$.properties.productId' }
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
category: { '@path': '$.properties.category' },
|
|
156
|
-
name: { '@path': '$.properties.name' },
|
|
157
|
-
sku: { '@path': '$.properties.sku' },
|
|
158
|
-
price: { '@path': '$.properties.price' },
|
|
159
|
-
image_url: { '@path': '$.properties.image_url' },
|
|
160
|
-
url: { '@path': '$.properties.url' },
|
|
161
|
-
quantity: { '@path': '$.properties.quantity' }
|
|
162
|
-
}
|
|
163
|
-
]
|
|
164
|
-
}
|
|
138
|
+
type: 'object'
|
|
165
139
|
}
|
|
166
140
|
},
|
|
167
141
|
perform: async (request, { payload }) => {
|
|
@@ -169,92 +143,16 @@ const action = {
|
|
|
169
143
|
if (!email && !phone_number && !external_id && !anonymous_id) {
|
|
170
144
|
throw new actions_core_1.PayloadValidationError('One of External ID, Anonymous ID, Phone Number or Email is required.');
|
|
171
145
|
}
|
|
172
|
-
const eventData =
|
|
146
|
+
const eventData = createEventData(payload);
|
|
173
147
|
const event = await request(`${config_1.API_URL}/events/`, {
|
|
174
148
|
method: 'POST',
|
|
175
149
|
json: eventData
|
|
176
150
|
});
|
|
177
151
|
if (event.status == 202 && Array.isArray(payload.products)) {
|
|
178
|
-
await sendProductRequests(payload, request);
|
|
152
|
+
await sendProductRequests(payload, eventData, request);
|
|
179
153
|
}
|
|
180
154
|
return event;
|
|
181
155
|
}
|
|
182
156
|
};
|
|
183
|
-
function createOrderCompleteEvent(payload) {
|
|
184
|
-
delete payload.properties?.products;
|
|
185
|
-
const categories = payload.products?.filter((product) => Boolean(product.category)).map((product) => product.category);
|
|
186
|
-
const itemNames = payload.products?.filter((product) => Boolean(product.name)).map((product) => product.name);
|
|
187
|
-
const items = payload.products?.map(formatters_1.formatProductItems);
|
|
188
|
-
return {
|
|
189
|
-
data: {
|
|
190
|
-
type: 'event',
|
|
191
|
-
attributes: {
|
|
192
|
-
properties: {
|
|
193
|
-
Categories: categories,
|
|
194
|
-
ItemNames: itemNames,
|
|
195
|
-
Items: items,
|
|
196
|
-
...formatters_1.convertKeysToTitleCase(payload.properties)
|
|
197
|
-
},
|
|
198
|
-
time: payload.time,
|
|
199
|
-
value: payload.value,
|
|
200
|
-
unique_id: payload.unique_id,
|
|
201
|
-
metric: {
|
|
202
|
-
data: {
|
|
203
|
-
type: 'metric',
|
|
204
|
-
attributes: {
|
|
205
|
-
name: 'Order Completed'
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
profile: {
|
|
210
|
-
data: {
|
|
211
|
-
type: 'profile',
|
|
212
|
-
attributes: payload.profile
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
}
|
|
219
|
-
function sendOrderedProduct(request, payload, product) {
|
|
220
|
-
const { unique_id, productProperties } = formatters_1.formatOrderedProduct(product, payload.properties.order_id, payload.unique_id);
|
|
221
|
-
const productEventData = {
|
|
222
|
-
data: {
|
|
223
|
-
type: 'event',
|
|
224
|
-
attributes: {
|
|
225
|
-
properties: productProperties,
|
|
226
|
-
unique_id: unique_id,
|
|
227
|
-
value: product.price,
|
|
228
|
-
metric: {
|
|
229
|
-
data: {
|
|
230
|
-
type: 'metric',
|
|
231
|
-
attributes: {
|
|
232
|
-
name: 'Ordered Product'
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
time: payload.time,
|
|
237
|
-
profile: {
|
|
238
|
-
data: {
|
|
239
|
-
type: 'profile',
|
|
240
|
-
attributes: payload.profile
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
return request(`${config_1.API_URL}/events/`, {
|
|
247
|
-
method: 'POST',
|
|
248
|
-
json: productEventData
|
|
249
|
-
});
|
|
250
|
-
}
|
|
251
|
-
const sendProductRequests = async (payload, request) => {
|
|
252
|
-
if (!Array.isArray(payload.products)) {
|
|
253
|
-
return;
|
|
254
|
-
}
|
|
255
|
-
delete payload.properties?.products;
|
|
256
|
-
const productPromises = payload.products.map((product) => sendOrderedProduct(request, payload, product));
|
|
257
|
-
await Promise.all(productPromises);
|
|
258
|
-
};
|
|
259
157
|
exports.default = action;
|
|
260
158
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/klaviyo/orderCompleted/index.ts"],"names":[],"mappings":";;AAGA,wDAA6E;AAC7E,sCAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/klaviyo/orderCompleted/index.ts"],"names":[],"mappings":";;AAGA,wDAA6E;AAC7E,sCAAmC;AAEnC,uCAA2C;AAE3C,MAAM,eAAe,GAAG,CAAC,OAAgB,EAAE,EAAE,CAAC,CAAC;IAC7C,IAAI,EAAE;QACJ,IAAI,EAAE,OAAO;QACb,UAAU,EAAE;Y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");
|
|
|
5
5
|
const action = {
|
|
6
6
|
title: 'Track Event',
|
|
7
7
|
description: 'Track user events and associate it with their profile.',
|
|
8
|
-
defaultSubscription: 'type = "track"
|
|
8
|
+
defaultSubscription: 'type = "track"',
|
|
9
9
|
fields: {
|
|
10
10
|
profile: {
|
|
11
11
|
label: 'Profile',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/klaviyo/trackEvent/index.ts"],"names":[],"mappings":";;AAIA,wDAA8D;AAC9D,sCAAmC;AAEnC,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,wDAAwD;IACrE,mBAAmB,EAAE
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/klaviyo/trackEvent/index.ts"],"names":[],"mappings":";;AAIA,wDAA8D;AAC9D,sCAAmC;AAEnC,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,wDAAwD;IACrE,mBAAmB,EAAE,gBAAgB;IACrC,MAAM,EAAE;QACN,OAAO,EAAE;YACP,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,sDAAsD;YACnE,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,KAAK,EAAE,OAAO;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,YAAY,EAAE;oBACZ,KAAK,EAAE,cAAc;oBACrB,IAAI,EAAE,QAAQ;iBACf;gBACD,WAAW,EAAE;oBACX,KAAK,EAAE,aAAa;oBACpB,WAAW,EACT,0GAA0G;oBAC5G,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;iBACjC;gBACD,YAAY,EAAE;oBACZ,KAAK,EAAE,cAAc;oBACrB,WAAW,EAAE,yCAAyC;oBACtD,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,EAAE,OAAO,EA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O,CAAC,UAAU,EAAE;oBACrC,IAAI,EAAE,OAAO,CAAC,IAAI;oBAClB,KAAK,EAAE,OAAO,CAAC,KAAK;oBACpB,SAAS,EAAE,OAAO,CAAC,SAAS;oBAC5B,MAAM,EAAE;wBACN,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;4BACd,UAAU,EAAE;gCACV,IAAI,EAAE,OAAO,CAAC,WAAW;6BAC1B;yBACF;qBACF;oBACD,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,SAAS;4BACf,UAAU,EAAE,OAAO,CAAC,OAAO;yBAC5B;qBACF;iBACF;aACF;SACF,CAAA;QAED,OAAO,OAAO,CAAC,GAAG,gBAAO,UAAU,EAAE;YACnC,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,SAAS;SAChB,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@segment/action-destinations",
|
|
3
3
|
"description": "Destination Actions engine and definitions.",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.288.0-staging-437f9f88e",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/segmentio/action-destinations",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@bufbuild/protobuf": "^1.4.2",
|
|
44
44
|
"@bufbuild/protoc-gen-es": "^1.4.2",
|
|
45
45
|
"@segment/a1-notation": "^2.1.4",
|
|
46
|
-
"@segment/actions-core": "3.
|
|
47
|
-
"@segment/actions-shared": "1.
|
|
46
|
+
"@segment/actions-core": "3.121.0-staging-437f9f88e",
|
|
47
|
+
"@segment/actions-shared": "1.102.0-staging-437f9f88e",
|
|
48
48
|
"@types/node": "^18.11.15",
|
|
49
49
|
"ajv-formats": "^2.1.1",
|
|
50
50
|
"aws4": "^1.12.0",
|