@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
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"252b65e36d2cc36c9d2ab136f728ffeb"
|
|
@@ -8,11 +8,15 @@
|
|
|
8
8
|
"default": {
|
|
9
9
|
"endpoint": "https://api.roomvo.com/v1/order_events/",
|
|
10
10
|
"method": "POST",
|
|
11
|
-
"timeout": "30s",
|
|
12
11
|
"providerAuth": {
|
|
13
12
|
"roomvo": {
|
|
14
13
|
"refreshToken": "$$REFRESH_TOKEN$$"
|
|
15
14
|
}
|
|
15
|
+
},
|
|
16
|
+
"batchSize": 100,
|
|
17
|
+
"transform": {
|
|
18
|
+
"lang": "lua",
|
|
19
|
+
"body": "request.body = batch\nreturn request"
|
|
16
20
|
}
|
|
17
21
|
}
|
|
18
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"4ab47e329f4f1c4a073cad569a9d16c9"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"ba863da722785c53ccc756a276d8125e"
|
|
@@ -36,10 +36,40 @@
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
|
+
"mappings": [
|
|
40
|
+
{
|
|
41
|
+
"inputKey": "properties.total",
|
|
42
|
+
"outputKey": "total",
|
|
43
|
+
"transforms": [
|
|
44
|
+
{
|
|
45
|
+
"toScalar": "float"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"inputKey": "properties.currency",
|
|
51
|
+
"outputKey": "currency",
|
|
52
|
+
"transforms": [
|
|
53
|
+
{
|
|
54
|
+
"modifyString": "uppercase"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"inputKey": "properties.order_id",
|
|
60
|
+
"outputKey": "transaction"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"enrichments": [
|
|
64
|
+
{
|
|
65
|
+
"staticString": "$$VENDOR$$",
|
|
66
|
+
"outputKey": "vendor"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
39
69
|
"expressions": [
|
|
40
70
|
{
|
|
41
71
|
"lang": "lua",
|
|
42
|
-
"body": "function getVisitorIds(t, value)\n local anonymousId = REPLACE(input.anonymousId, \"-\", \"\")\n if (t == nil or t == '') then\n return anonymousId\n else\n for k,v in pairs(t) do\n if string.find(k, value) then return v end\n end\n return anonymousId\n end\nend\n\nreturn {\n
|
|
72
|
+
"body": "function getVisitorIds(t, value)\n local anonymousId = REPLACE(input.anonymousId, \"-\", \"\")\n if (t == nil or t == '') then\n return anonymousId\n else\n for k,v in pairs(t) do\n if string.find(k, value) then return v end\n end\n return anonymousId\n end\nend\n\nreturn {\n visitor = getVisitorIds(input.context.providers.roomvo.ffvisitorids, \"$$CATEGORY$$\"),\n products = MAP(\n input.properties.products,\n function (p)\n return {\n sku=p.sku,\n price=TO_FLOAT(p.price),\n quantity=TO_TRUNCATED_INT(p.quantity) or 1\n }\n end\n ),\n}"
|
|
43
73
|
}
|
|
44
74
|
]
|
|
45
75
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"f8e8b44e68571d0c31e2ebafd50a0a88"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"e59ddb2074c3578938118508f348a09c"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"4e322063a31599e30f4d9a218b943928"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"116e902862a393fc013ba067b5a0352f"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"a524264bd81150ffdfdd2cd8f25c327a"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"a5c93826d45221389b9e73868ef920c9"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"c5ac124807f426802a99b3c1ad544793"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"30b83f7c9b4526a23ea9aed073c62a5f"
|
package/index.js
CHANGED
|
@@ -176,6 +176,7 @@ exports.kinesis = {
|
|
|
176
176
|
|
|
177
177
|
exports.lytics = {
|
|
178
178
|
connectionTemplate: connectionSchemas.properties.lytics,
|
|
179
|
+
endpointSchema: require('./.dist/lytics/endpoint_schema.json'),
|
|
179
180
|
playbook: require('./.dist/lytics/playbook.json'),
|
|
180
181
|
metadata: require('./.dist/lytics/metadata.json')
|
|
181
182
|
}
|
|
@@ -244,12 +245,14 @@ exports.snowflake = {
|
|
|
244
245
|
|
|
245
246
|
exports['verizon-media'] = {
|
|
246
247
|
connectionTemplate: connectionSchemas.properties.verizonMedia,
|
|
248
|
+
endpointSchema: require('./.dist/verizon-media/endpoint_schema.json'),
|
|
247
249
|
playbook: require('./.dist/verizon-media/playbook.json'),
|
|
248
250
|
metadata: require('./.dist/verizon-media/metadata.json')
|
|
249
251
|
}
|
|
250
252
|
|
|
251
253
|
exports.xandr = {
|
|
252
254
|
connectionTemplate: connectionSchemas.properties.xandr,
|
|
255
|
+
endpointSchema: require('./.dist/xandr/endpoint_schema.json'),
|
|
253
256
|
playbook: require('./.dist/xandr/playbook.json'),
|
|
254
257
|
metadata: require('./.dist/xandr/metadata.json')
|
|
255
258
|
}
|
|
@@ -305,6 +308,10 @@ exports.etags = {
|
|
|
305
308
|
playbook: require('./.dist/bing-ads/playbook.etag.json'),
|
|
306
309
|
kit: require('./.dist/bing-ads/kit.etag.json')
|
|
307
310
|
},
|
|
311
|
+
blob: {
|
|
312
|
+
playbook: require('./.dist/blob/playbook.etag.json'),
|
|
313
|
+
kit: require('./.dist/blob/kit.etag.json')
|
|
314
|
+
},
|
|
308
315
|
blueshift: {
|
|
309
316
|
endpointSchema: require('./.dist/blueshift/endpoint_schema.etag.json'),
|
|
310
317
|
playbook: require('./.dist/blueshift/playbook.etag.json'),
|
|
@@ -433,7 +440,3 @@ exports.etags = {
|
|
|
433
440
|
kit: require('./.dist/xandr/kit.etag.json')
|
|
434
441
|
},
|
|
435
442
|
}
|
|
436
|
-
|
|
437
|
-
if (process.env.SHOW_EXPORTS) {
|
|
438
|
-
console.log(JSON.stringify(exports, "", " "))
|
|
439
|
-
}
|