@metarouter/ajs-starter-kit 1.0.31 → 1.0.34
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/actioniq/endpoint_schema.etag.json +1 -1
- package/.dist/actioniq/endpoint_schema.json +15 -3
- package/.dist/actioniq/kit.etag.json +1 -1
- package/.dist/actioniq/metadata.json +4 -0
- package/.dist/acuity-ads/endpoint_schema.etag.json +1 -1
- package/.dist/acuity-ads/endpoint_schema.json +1 -2
- package/.dist/acuity-ads/kit.etag.json +1 -1
- package/.dist/adobe/endpoint_schema.etag.json +1 -1
- package/.dist/adobe/endpoint_schema.json +1 -2
- package/.dist/adobe/kit.etag.json +1 -1
- package/.dist/amnet/endpoint_schema.etag.json +1 -1
- package/.dist/amnet/endpoint_schema.json +1 -2
- package/.dist/amnet/kit.etag.json +1 -1
- package/.dist/amobee/endpoint_schema.etag.json +1 -1
- package/.dist/amobee/endpoint_schema.json +1 -2
- package/.dist/amobee/kit.etag.json +1 -1
- package/.dist/amplitude/endpoint_schema.etag.json +1 -1
- package/.dist/amplitude/endpoint_schema.json +13 -4
- package/.dist/amplitude/kit.etag.json +1 -1
- package/.dist/amplitude/metadata.json +4 -0
- package/.dist/amplitude/playbook.etag.json +1 -1
- package/.dist/amplitude/playbook.json +769 -89
- package/.dist/apps-flyer-android/endpoint_schema.etag.json +1 -1
- package/.dist/apps-flyer-android/endpoint_schema.json +0 -1
- package/.dist/apps-flyer-android/kit.etag.json +1 -1
- package/.dist/apps-flyer-ios/endpoint_schema.etag.json +1 -1
- package/.dist/apps-flyer-ios/endpoint_schema.json +0 -1
- package/.dist/apps-flyer-ios/kit.etag.json +1 -1
- package/.dist/bing-ads/endpoint_schema.etag.json +1 -1
- package/.dist/bing-ads/endpoint_schema.json +1 -2
- package/.dist/bing-ads/kit.etag.json +1 -1
- package/.dist/blueshift/endpoint_schema.etag.json +1 -1
- package/.dist/blueshift/endpoint_schema.json +6 -2
- package/.dist/blueshift/kit.etag.json +1 -1
- package/.dist/blueshift/metadata.json +4 -0
- package/.dist/braze/endpoint_schema.etag.json +1 -1
- package/.dist/braze/endpoint_schema.json +40 -2
- package/.dist/braze/kit.etag.json +1 -1
- package/.dist/braze/metadata.json +4 -0
- package/.dist/braze/playbook.etag.json +1 -1
- package/.dist/braze/playbook.json +217 -22
- package/.dist/connection-schemas.json +12 -0
- package/.dist/criteo/endpoint_schema.etag.json +1 -1
- package/.dist/criteo/endpoint_schema.json +1 -2
- package/.dist/criteo/kit.etag.json +1 -1
- package/.dist/facebook-pixel/endpoint_schema.etag.json +1 -1
- package/.dist/facebook-pixel/endpoint_schema.json +6 -2
- package/.dist/facebook-pixel/kit.etag.json +1 -1
- package/.dist/facebook-pixel/metadata.json +8 -0
- package/.dist/facebook-pixel/playbook.etag.json +1 -1
- package/.dist/facebook-pixel/playbook.json +321 -24
- package/.dist/google-ad-words/endpoint_schema.etag.json +1 -1
- package/.dist/google-ad-words/endpoint_schema.json +1 -2
- package/.dist/google-ad-words/kit.etag.json +1 -1
- package/.dist/google-analytics/endpoint_schema.etag.json +1 -1
- package/.dist/google-analytics/endpoint_schema.json +1 -2
- package/.dist/google-analytics/kit.etag.json +1 -1
- package/.dist/google-double-click/endpoint_schema.etag.json +1 -1
- package/.dist/google-double-click/endpoint_schema.json +1 -2
- package/.dist/google-double-click/kit.etag.json +1 -1
- package/.dist/impact-radius/endpoint_schema.etag.json +1 -1
- package/.dist/impact-radius/endpoint_schema.json +2 -4
- package/.dist/impact-radius/kit.etag.json +1 -1
- package/.dist/in-market/endpoint_schema.etag.json +1 -1
- package/.dist/in-market/endpoint_schema.json +0 -1
- package/.dist/in-market/kit.etag.json +1 -1
- package/.dist/lytics/endpoint_schema.etag.json +1 -1
- package/.dist/lytics/endpoint_schema.json +1 -2
- package/.dist/lytics/kit.etag.json +1 -1
- package/.dist/media-math/endpoint_schema.etag.json +1 -1
- package/.dist/media-math/endpoint_schema.json +1 -2
- package/.dist/media-math/kit.etag.json +1 -1
- package/.dist/merkle/endpoint_schema.etag.json +1 -1
- package/.dist/merkle/endpoint_schema.json +1 -2
- package/.dist/merkle/kit.etag.json +1 -1
- package/.dist/movable-ink/endpoint_schema.etag.json +1 -1
- package/.dist/movable-ink/endpoint_schema.json +1 -2
- package/.dist/movable-ink/kit.etag.json +1 -1
- package/.dist/pinterest/endpoint_schema.etag.json +1 -1
- package/.dist/pinterest/endpoint_schema.json +1 -2
- package/.dist/pinterest/kit.etag.json +1 -1
- package/.dist/rev-jet/endpoint_schema.etag.json +1 -1
- package/.dist/rev-jet/endpoint_schema.json +1 -2
- package/.dist/rev-jet/kit.etag.json +1 -1
- package/.dist/roomvo/endpoint_schema.etag.json +1 -1
- package/.dist/roomvo/endpoint_schema.json +5 -1
- package/.dist/roomvo/kit.etag.json +1 -1
- package/.dist/roomvo/metadata.json +4 -0
- package/.dist/roomvo/playbook.etag.json +1 -1
- package/.dist/roomvo/playbook.json +31 -1
- package/.dist/snapchat/endpoint_schema.etag.json +1 -1
- package/.dist/snapchat/endpoint_schema.json +1 -2
- package/.dist/snapchat/kit.etag.json +1 -1
- package/.dist/snowflake/endpoint_schema.etag.json +1 -1
- package/.dist/snowflake/endpoint_schema.json +1 -2
- package/.dist/snowflake/kit.etag.json +1 -1
- package/.dist/verizon-media/endpoint_schema.etag.json +1 -1
- package/.dist/verizon-media/endpoint_schema.json +0 -1
- package/.dist/verizon-media/kit.etag.json +1 -1
- package/.dist/xandr/endpoint_schema.etag.json +1 -1
- package/.dist/xandr/endpoint_schema.json +1 -2
- package/.dist/xandr/kit.etag.json +1 -1
- package/index.js +7 -4
- package/package.json +1 -1
|
@@ -16,51 +16,155 @@
|
|
|
16
16
|
]
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
+
],
|
|
20
|
+
"enrichments": [
|
|
21
|
+
{
|
|
22
|
+
"staticString": "website",
|
|
23
|
+
"outputKey": "action_source"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"timestamp": "seconds",
|
|
27
|
+
"outputKey": "event_time"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"mappings": [
|
|
31
|
+
{
|
|
32
|
+
"inputKey": "input",
|
|
33
|
+
"outputKey": "user_data.em",
|
|
34
|
+
"transforms": [
|
|
35
|
+
{
|
|
36
|
+
"expression": {
|
|
37
|
+
"lang": "lua",
|
|
38
|
+
"body": "return TO_SHA256_HASH(LOWER(TRIM(input.context.traits.email)))"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"inputKey": "messageId",
|
|
45
|
+
"outputKey": "event_id"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"inputKey": "context.page.url",
|
|
49
|
+
"outputKey": "event_source_url"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"inputKey": "context.ip",
|
|
53
|
+
"outputKey": "user_data.client_ip_address"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"inputKey": "context.userAgent",
|
|
57
|
+
"outputKey": "user_data.client_user_agent"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"inputKey": "anonymousId",
|
|
61
|
+
"outputKey": "user_data.external_id"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"inputKey": "context.providers.facebookPixel.fbc",
|
|
65
|
+
"outputKey": "user_data.fbc"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"inputKey": "context.providers.facebookPixel.fbp",
|
|
69
|
+
"outputKey": "user_data.fbp"
|
|
70
|
+
}
|
|
19
71
|
]
|
|
20
72
|
},
|
|
21
73
|
"eventSpecific": {
|
|
22
74
|
"page": {
|
|
75
|
+
"enrichments": [
|
|
76
|
+
{
|
|
77
|
+
"staticString": "PageView",
|
|
78
|
+
"outputKey": "event_name"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
23
81
|
"mappings": [
|
|
82
|
+
{
|
|
83
|
+
"inputKey": "properties.category",
|
|
84
|
+
"outputKey": "custom_data.content_category"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"inputKey": "properties.name",
|
|
88
|
+
"outputKey": "custom_data.content_name"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"products_searched": {
|
|
93
|
+
"enrichments": [
|
|
94
|
+
{
|
|
95
|
+
"staticString": "Search",
|
|
96
|
+
"outputKey": "event_name"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"mappings": [
|
|
100
|
+
{
|
|
101
|
+
"inputKey": "properties.query",
|
|
102
|
+
"outputKey": "custom_data.search_string"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"product_viewed": {
|
|
107
|
+
"enrichments": [
|
|
108
|
+
{
|
|
109
|
+
"staticString": "ViewContent",
|
|
110
|
+
"outputKey": "event_name"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"staticString": "product",
|
|
114
|
+
"outputKey": "custom_data.content_type"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"mappings": [
|
|
118
|
+
{
|
|
119
|
+
"inputKey": "properties.category",
|
|
120
|
+
"outputKey": "custom_data.content_category"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"inputKey": "properties.name",
|
|
124
|
+
"outputKey": "custom_data.content_name"
|
|
125
|
+
},
|
|
24
126
|
{
|
|
25
127
|
"inputKey": "input",
|
|
26
|
-
"outputKey": "
|
|
128
|
+
"outputKey": "custom_data.content_ids",
|
|
27
129
|
"transforms": [
|
|
28
130
|
{
|
|
29
131
|
"expression": {
|
|
30
132
|
"lang": "lua",
|
|
31
|
-
"body": "
|
|
133
|
+
"body": "return { input.properties.product_id }"
|
|
32
134
|
}
|
|
33
135
|
}
|
|
34
136
|
]
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"inputKey": "properties.currency",
|
|
140
|
+
"outputKey": "custom_data.currency",
|
|
141
|
+
"transforms": [
|
|
142
|
+
{
|
|
143
|
+
"modifyString": "uppercase"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"defaultString": "USD"
|
|
147
|
+
},
|
|
40
148
|
{
|
|
41
149
|
"inputKey": "input",
|
|
42
|
-
"outputKey": "
|
|
150
|
+
"outputKey": "custom_data.value",
|
|
43
151
|
"transforms": [
|
|
44
152
|
{
|
|
45
153
|
"expression": {
|
|
46
154
|
"lang": "lua",
|
|
47
|
-
"body": "
|
|
155
|
+
"body": "return input.properties.price * (input.properties.quantity or 1)"
|
|
48
156
|
}
|
|
49
157
|
}
|
|
50
158
|
]
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
"product_viewed": {
|
|
55
|
-
"mappings": [
|
|
159
|
+
},
|
|
56
160
|
{
|
|
57
161
|
"inputKey": "input",
|
|
58
|
-
"outputKey": "
|
|
162
|
+
"outputKey": "custom_data.contents",
|
|
59
163
|
"transforms": [
|
|
60
164
|
{
|
|
61
165
|
"expression": {
|
|
62
166
|
"lang": "lua",
|
|
63
|
-
"body": "
|
|
167
|
+
"body": "return {{\n id=input.properties.product_id,\n quantity=input.properties.quantity or 1,\n item_price=input.properties.price\n}}"
|
|
64
168
|
}
|
|
65
169
|
}
|
|
66
170
|
]
|
|
@@ -68,15 +172,66 @@
|
|
|
68
172
|
]
|
|
69
173
|
},
|
|
70
174
|
"product_list_viewed": {
|
|
175
|
+
"enrichments": [
|
|
176
|
+
{
|
|
177
|
+
"staticString": "ViewContent",
|
|
178
|
+
"outputKey": "event_name"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"staticString": "product",
|
|
182
|
+
"outputKey": "custom_data.content_type"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
71
185
|
"mappings": [
|
|
186
|
+
{
|
|
187
|
+
"inputKey": "properties.category",
|
|
188
|
+
"outputKey": "custom_data.content_category"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"inputKey": "properties.list_id",
|
|
192
|
+
"outputKey": "custom_data.content_name"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"inputKey": "properties.products",
|
|
196
|
+
"outputKey": "custom_data.content_ids",
|
|
197
|
+
"transforms": [
|
|
198
|
+
{
|
|
199
|
+
"pluckValues": {
|
|
200
|
+
"extractKey": "product_id"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"inputKey": "properties.currency",
|
|
207
|
+
"outputKey": "custom_data.currency",
|
|
208
|
+
"transforms": [
|
|
209
|
+
{
|
|
210
|
+
"modifyString": "uppercase"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"defaultString": "USD"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"inputKey": "input",
|
|
217
|
+
"outputKey": "custom_data.value",
|
|
218
|
+
"transforms": [
|
|
219
|
+
{
|
|
220
|
+
"expression": {
|
|
221
|
+
"lang": "lua",
|
|
222
|
+
"body": "return SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
},
|
|
72
227
|
{
|
|
73
228
|
"inputKey": "input",
|
|
74
|
-
"outputKey": "
|
|
229
|
+
"outputKey": "custom_data.contents",
|
|
75
230
|
"transforms": [
|
|
76
231
|
{
|
|
77
232
|
"expression": {
|
|
78
233
|
"lang": "lua",
|
|
79
|
-
"body": "
|
|
234
|
+
"body": "return MAP(\n input.properties.products,\n function (p)\n return {\n id=p.product_id,\n quantity=p.quantity or 1,\n item_price=p.price\n }\n end\n)"
|
|
80
235
|
}
|
|
81
236
|
}
|
|
82
237
|
]
|
|
@@ -84,15 +239,67 @@
|
|
|
84
239
|
]
|
|
85
240
|
},
|
|
86
241
|
"product_added": {
|
|
242
|
+
"enrichments": [
|
|
243
|
+
{
|
|
244
|
+
"staticString": "AddToCart",
|
|
245
|
+
"outputKey": "event_name"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"staticString": "product",
|
|
249
|
+
"outputKey": "custom_data.content_type"
|
|
250
|
+
}
|
|
251
|
+
],
|
|
87
252
|
"mappings": [
|
|
253
|
+
{
|
|
254
|
+
"inputKey": "properties.category",
|
|
255
|
+
"outputKey": "custom_data.content_category"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"inputKey": "properties.name",
|
|
259
|
+
"outputKey": "custom_data.content_name"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"inputKey": "input",
|
|
263
|
+
"outputKey": "custom_data.content_ids",
|
|
264
|
+
"transforms": [
|
|
265
|
+
{
|
|
266
|
+
"expression": {
|
|
267
|
+
"lang": "lua",
|
|
268
|
+
"body": "return { input.properties.product_id }"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"inputKey": "properties.currency",
|
|
275
|
+
"outputKey": "custom_data.currency",
|
|
276
|
+
"transforms": [
|
|
277
|
+
{
|
|
278
|
+
"modifyString": "uppercase"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"defaultString": "USD"
|
|
282
|
+
},
|
|
88
283
|
{
|
|
89
284
|
"inputKey": "input",
|
|
90
|
-
"outputKey": "
|
|
285
|
+
"outputKey": "custom_data.value",
|
|
91
286
|
"transforms": [
|
|
92
287
|
{
|
|
93
288
|
"expression": {
|
|
94
289
|
"lang": "lua",
|
|
95
|
-
"body": "
|
|
290
|
+
"body": "return input.properties.price * (input.properties.quantity or 1)"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
]
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"inputKey": "input",
|
|
297
|
+
"outputKey": "custom_data.contents",
|
|
298
|
+
"transforms": [
|
|
299
|
+
{
|
|
300
|
+
"expression": {
|
|
301
|
+
"lang": "lua",
|
|
302
|
+
"body": "return {{\n id=input.properties.product_id,\n quantity=input.properties.quantity or 1,\n item_price=input.properties.price\n}}"
|
|
96
303
|
}
|
|
97
304
|
}
|
|
98
305
|
]
|
|
@@ -100,15 +307,58 @@
|
|
|
100
307
|
]
|
|
101
308
|
},
|
|
102
309
|
"cart_viewed": {
|
|
310
|
+
"enrichments": [
|
|
311
|
+
{
|
|
312
|
+
"staticString": "ViewContent",
|
|
313
|
+
"outputKey": "event_name"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"staticString": "product",
|
|
317
|
+
"outputKey": "custom_data.content_type"
|
|
318
|
+
}
|
|
319
|
+
],
|
|
103
320
|
"mappings": [
|
|
321
|
+
{
|
|
322
|
+
"inputKey": "properties.products",
|
|
323
|
+
"outputKey": "custom_data.content_ids",
|
|
324
|
+
"transforms": [
|
|
325
|
+
{
|
|
326
|
+
"pluckValues": {
|
|
327
|
+
"extractKey": "product_id"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
]
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"inputKey": "properties.currency",
|
|
334
|
+
"outputKey": "custom_data.currency",
|
|
335
|
+
"transforms": [
|
|
336
|
+
{
|
|
337
|
+
"modifyString": "uppercase"
|
|
338
|
+
}
|
|
339
|
+
],
|
|
340
|
+
"defaultString": "USD"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"inputKey": "input",
|
|
344
|
+
"outputKey": "custom_data.value",
|
|
345
|
+
"transforms": [
|
|
346
|
+
{
|
|
347
|
+
"expression": {
|
|
348
|
+
"lang": "lua",
|
|
349
|
+
"body": "return SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))"
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
]
|
|
353
|
+
},
|
|
104
354
|
{
|
|
105
355
|
"inputKey": "input",
|
|
106
|
-
"outputKey": "
|
|
356
|
+
"outputKey": "custom_data.contents",
|
|
107
357
|
"transforms": [
|
|
108
358
|
{
|
|
109
359
|
"expression": {
|
|
110
360
|
"lang": "lua",
|
|
111
|
-
"body": "
|
|
361
|
+
"body": "return MAP(\n input.properties.products,\n function (p)\n return {\n id=p.product_id,\n quantity=p.quantity or 1,\n item_price=p.price\n }\n end\n)"
|
|
112
362
|
}
|
|
113
363
|
}
|
|
114
364
|
]
|
|
@@ -116,18 +366,65 @@
|
|
|
116
366
|
]
|
|
117
367
|
},
|
|
118
368
|
"order_completed": {
|
|
369
|
+
"enrichments": [
|
|
370
|
+
{
|
|
371
|
+
"staticString": "Purchase",
|
|
372
|
+
"outputKey": "event_name"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"staticString": "product",
|
|
376
|
+
"outputKey": "custom_data.content_type"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
119
379
|
"mappings": [
|
|
380
|
+
{
|
|
381
|
+
"inputKey": "properties.products",
|
|
382
|
+
"outputKey": "custom_data.content_ids",
|
|
383
|
+
"transforms": [
|
|
384
|
+
{
|
|
385
|
+
"pluckValues": {
|
|
386
|
+
"extractKey": "product_id"
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
]
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"inputKey": "properties.currency",
|
|
393
|
+
"outputKey": "custom_data.currency",
|
|
394
|
+
"transforms": [
|
|
395
|
+
{
|
|
396
|
+
"modifyString": "uppercase"
|
|
397
|
+
}
|
|
398
|
+
],
|
|
399
|
+
"defaultString": "USD"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"inputKey": "input",
|
|
403
|
+
"outputKey": "custom_data.value",
|
|
404
|
+
"transforms": [
|
|
405
|
+
{
|
|
406
|
+
"expression": {
|
|
407
|
+
"lang": "lua",
|
|
408
|
+
"body": "return SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))"
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
]
|
|
412
|
+
},
|
|
120
413
|
{
|
|
121
414
|
"inputKey": "input",
|
|
122
|
-
"outputKey": "
|
|
415
|
+
"outputKey": "custom_data.contents",
|
|
123
416
|
"transforms": [
|
|
124
417
|
{
|
|
125
418
|
"expression": {
|
|
126
419
|
"lang": "lua",
|
|
127
|
-
"body": "
|
|
420
|
+
"body": "return MAP(\n input.properties.products,\n function (p)\n return {\n id=p.product_id,\n quantity=p.quantity or 1,\n item_price=p.price\n }\n end\n)"
|
|
128
421
|
}
|
|
129
422
|
}
|
|
130
423
|
]
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"inputKey": "properties.order_id",
|
|
427
|
+
"outputKey": "custom_data.order_id"
|
|
131
428
|
}
|
|
132
429
|
]
|
|
133
430
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"6b43ed086a94df1146973713df5a9313"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"fe4df70b5b9331db7009d96e3ab8a66d"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"fe661136b97429236cab9617b39b1930"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"8df13fb27e6e880029db92afec41b893"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"d57939f1af32b8bab3de9a469358e7c0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"f0813b1d73fd39d33ad4d269b9687dcf"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"14e009ff28748036c7de3c157646d964"
|
|
@@ -25,8 +25,7 @@
|
|
|
25
25
|
"value": "application/json"
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
|
-
"method": "POST"
|
|
29
|
-
"timeout": "30s"
|
|
28
|
+
"method": "POST"
|
|
30
29
|
},
|
|
31
30
|
"eventSpecific": {
|
|
32
31
|
"page": {
|
|
@@ -45,8 +44,7 @@
|
|
|
45
44
|
"value": "application/json"
|
|
46
45
|
}
|
|
47
46
|
],
|
|
48
|
-
"method": "POST"
|
|
49
|
-
"timeout": "30s"
|
|
47
|
+
"method": "POST"
|
|
50
48
|
}
|
|
51
49
|
}
|
|
52
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"20e35ac5e5c6aeb14cb1cf93618d3d43"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"d23fa41aaa44fc3eefeecd7dcbfa305e"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"4c7af61a2ea19af7bc90c369e8b952e8"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"e2a57fe2f73bee93df70eef94f815dba"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"dd042934be9c183b64d94a880e95d2e7"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"9bc7c99c29c8760a0a24084f4519a379"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"adac5f81fc8e2d9c6a0b7cd271d078b6"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"f90c21ebc6efcfba117ead8bfddb2d4d"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"df8f9cc1d15cfc15dd37806e055407e0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"f995e2e49cdccf04072c115054510dcb"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"5c3a8f10e9b1d414c5aa740e70e54f25"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"2350b4fa645defff4580ef549721d7b5"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"b7e66a4b1e4987c34dd116c69f1b4421"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"df6ed858e979dc81ef01fc4fbd8e80aa"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"8c5baa542641f459e7635311addb63b0"
|