@metarouter/ajs-starter-kit 1.0.29 → 1.0.33

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.
Files changed (105) hide show
  1. package/.dist/actioniq/endpoint_schema.etag.json +1 -1
  2. package/.dist/actioniq/endpoint_schema.json +35 -4
  3. package/.dist/actioniq/kit.etag.json +1 -1
  4. package/.dist/actioniq/metadata.json +4 -0
  5. package/.dist/actioniq/playbook.etag.json +1 -1
  6. package/.dist/actioniq/playbook.json +1 -1
  7. package/.dist/acuity-ads/endpoint_schema.etag.json +1 -1
  8. package/.dist/acuity-ads/endpoint_schema.json +1 -2
  9. package/.dist/acuity-ads/kit.etag.json +1 -1
  10. package/.dist/adobe/endpoint_schema.etag.json +1 -1
  11. package/.dist/adobe/endpoint_schema.json +1 -2
  12. package/.dist/adobe/kit.etag.json +1 -1
  13. package/.dist/amnet/endpoint_schema.etag.json +1 -1
  14. package/.dist/amnet/endpoint_schema.json +1 -2
  15. package/.dist/amnet/kit.etag.json +1 -1
  16. package/.dist/amobee/endpoint_schema.etag.json +1 -1
  17. package/.dist/amobee/endpoint_schema.json +1 -2
  18. package/.dist/amobee/kit.etag.json +1 -1
  19. package/.dist/amplitude/endpoint_schema.etag.json +1 -1
  20. package/.dist/amplitude/endpoint_schema.json +13 -4
  21. package/.dist/amplitude/kit.etag.json +1 -1
  22. package/.dist/amplitude/metadata.json +4 -0
  23. package/.dist/amplitude/playbook.etag.json +1 -1
  24. package/.dist/amplitude/playbook.json +769 -90
  25. package/.dist/apps-flyer-android/endpoint_schema.etag.json +1 -1
  26. package/.dist/apps-flyer-android/endpoint_schema.json +0 -1
  27. package/.dist/apps-flyer-android/kit.etag.json +1 -1
  28. package/.dist/apps-flyer-ios/endpoint_schema.etag.json +1 -1
  29. package/.dist/apps-flyer-ios/endpoint_schema.json +0 -1
  30. package/.dist/apps-flyer-ios/kit.etag.json +1 -1
  31. package/.dist/bing-ads/endpoint_schema.etag.json +1 -1
  32. package/.dist/bing-ads/endpoint_schema.json +1 -2
  33. package/.dist/bing-ads/kit.etag.json +1 -1
  34. package/.dist/blueshift/endpoint_schema.etag.json +1 -1
  35. package/.dist/blueshift/endpoint_schema.json +6 -2
  36. package/.dist/blueshift/kit.etag.json +1 -1
  37. package/.dist/blueshift/metadata.json +4 -0
  38. package/.dist/braze/endpoint_schema.etag.json +1 -1
  39. package/.dist/braze/endpoint_schema.json +40 -2
  40. package/.dist/braze/kit.etag.json +1 -1
  41. package/.dist/braze/metadata.json +4 -0
  42. package/.dist/braze/playbook.etag.json +1 -1
  43. package/.dist/braze/playbook.json +217 -22
  44. package/.dist/criteo/endpoint_schema.etag.json +1 -1
  45. package/.dist/criteo/endpoint_schema.json +1 -2
  46. package/.dist/criteo/kit.etag.json +1 -1
  47. package/.dist/facebook-pixel/endpoint_schema.etag.json +1 -1
  48. package/.dist/facebook-pixel/endpoint_schema.json +5 -1
  49. package/.dist/facebook-pixel/kit.etag.json +1 -1
  50. package/.dist/facebook-pixel/metadata.json +4 -0
  51. package/.dist/facebook-pixel/playbook.etag.json +1 -1
  52. package/.dist/facebook-pixel/playbook.json +321 -24
  53. package/.dist/google-ad-words/endpoint_schema.etag.json +1 -1
  54. package/.dist/google-ad-words/endpoint_schema.json +1 -2
  55. package/.dist/google-ad-words/kit.etag.json +1 -1
  56. package/.dist/google-analytics/endpoint_schema.etag.json +1 -1
  57. package/.dist/google-analytics/endpoint_schema.json +1 -2
  58. package/.dist/google-analytics/kit.etag.json +1 -1
  59. package/.dist/google-double-click/endpoint_schema.etag.json +1 -1
  60. package/.dist/google-double-click/endpoint_schema.json +1 -2
  61. package/.dist/google-double-click/kit.etag.json +1 -1
  62. package/.dist/impact-radius/endpoint_schema.etag.json +1 -1
  63. package/.dist/impact-radius/endpoint_schema.json +2 -4
  64. package/.dist/impact-radius/kit.etag.json +1 -1
  65. package/.dist/in-market/endpoint_schema.etag.json +1 -1
  66. package/.dist/in-market/endpoint_schema.json +0 -1
  67. package/.dist/in-market/kit.etag.json +1 -1
  68. package/.dist/lytics/endpoint_schema.etag.json +1 -1
  69. package/.dist/lytics/endpoint_schema.json +1 -2
  70. package/.dist/lytics/kit.etag.json +1 -1
  71. package/.dist/media-math/endpoint_schema.etag.json +1 -1
  72. package/.dist/media-math/endpoint_schema.json +1 -2
  73. package/.dist/media-math/kit.etag.json +1 -1
  74. package/.dist/merkle/endpoint_schema.etag.json +1 -1
  75. package/.dist/merkle/endpoint_schema.json +1 -2
  76. package/.dist/merkle/kit.etag.json +1 -1
  77. package/.dist/movable-ink/endpoint_schema.etag.json +1 -1
  78. package/.dist/movable-ink/endpoint_schema.json +1 -2
  79. package/.dist/movable-ink/kit.etag.json +1 -1
  80. package/.dist/pinterest/endpoint_schema.etag.json +1 -1
  81. package/.dist/pinterest/endpoint_schema.json +1 -2
  82. package/.dist/pinterest/kit.etag.json +1 -1
  83. package/.dist/rev-jet/endpoint_schema.etag.json +1 -1
  84. package/.dist/rev-jet/endpoint_schema.json +1 -2
  85. package/.dist/rev-jet/kit.etag.json +1 -1
  86. package/.dist/roomvo/endpoint_schema.etag.json +1 -1
  87. package/.dist/roomvo/endpoint_schema.json +5 -1
  88. package/.dist/roomvo/kit.etag.json +1 -1
  89. package/.dist/roomvo/metadata.json +4 -0
  90. package/.dist/roomvo/playbook.etag.json +1 -1
  91. package/.dist/roomvo/playbook.json +31 -1
  92. package/.dist/snapchat/endpoint_schema.etag.json +1 -1
  93. package/.dist/snapchat/endpoint_schema.json +1 -2
  94. package/.dist/snapchat/kit.etag.json +1 -1
  95. package/.dist/snowflake/endpoint_schema.etag.json +1 -1
  96. package/.dist/snowflake/endpoint_schema.json +1 -2
  97. package/.dist/snowflake/kit.etag.json +1 -1
  98. package/.dist/verizon-media/endpoint_schema.etag.json +1 -1
  99. package/.dist/verizon-media/endpoint_schema.json +0 -1
  100. package/.dist/verizon-media/kit.etag.json +1 -1
  101. package/.dist/xandr/endpoint_schema.etag.json +1 -1
  102. package/.dist/xandr/endpoint_schema.json +1 -2
  103. package/.dist/xandr/kit.etag.json +1 -1
  104. package/index.js +43 -40
  105. package/package.json +1 -1
@@ -1 +1 @@
1
- "cc92667d537c5d7fce05525237af4879"
1
+ "eb4c895034cb47ad096a947b459f9ec0"
@@ -7,6 +7,10 @@
7
7
  {
8
8
  "name": "PASSWORD",
9
9
  "exampleValue": "my-api-token"
10
+ },
11
+ {
12
+ "name": "ENDPOINT_IDENTIFIER",
13
+ "exampleValue": "metarouter"
10
14
  }
11
15
  ],
12
16
  "default": {
@@ -14,7 +18,7 @@
14
18
  "password": "$$PASSWORD$$",
15
19
  "username": "$$USERNAME$$"
16
20
  },
17
- "endpoint": "https://push.actioniq.com/v1/streams/mr_test_page",
21
+ "endpoint": "https://push.actioniq.com/v1/streams/$$ENDPOINT_IDENTIFIER$$_track",
18
22
  "headers": [
19
23
  {
20
24
  "key": "Content-Type",
@@ -22,11 +26,15 @@
22
26
  }
23
27
  ],
24
28
  "method": "POST",
25
- "timeout": "30s"
29
+ "batchSize": 100,
30
+ "transform": {
31
+ "lang": "lua",
32
+ "body": "request.body = batch\nreturn request"
33
+ }
26
34
  },
27
35
  "eventSpecific": {
28
36
  "identify": {
29
- "endpoint": "https://push.actioniq.com/v1/streams/mr_test_track",
37
+ "endpoint": "https://push.actioniq.com/v1/streams/$$ENDPOINT_IDENTIFIER$$_identify",
30
38
  "basicAuth": {
31
39
  "password": "$$PASSWORD$$",
32
40
  "username": "$$USERNAME$$"
@@ -38,7 +46,30 @@
38
46
  }
39
47
  ],
40
48
  "method": "POST",
41
- "timeout": "30s"
49
+ "batchSize": 100,
50
+ "transform": {
51
+ "lang": "lua",
52
+ "body": "request.body = batch\nreturn request"
53
+ }
54
+ },
55
+ "page": {
56
+ "endpoint": "https://push.actioniq.com/v1/streams/$$ENDPOINT_IDENTIFIER$$_page",
57
+ "basicAuth": {
58
+ "password": "$$PASSWORD$$",
59
+ "username": "$$USERNAME$$"
60
+ },
61
+ "headers": [
62
+ {
63
+ "key": "Content-Type",
64
+ "value": "application/json"
65
+ }
66
+ ],
67
+ "method": "POST",
68
+ "batchSize": 100,
69
+ "transform": {
70
+ "lang": "lua",
71
+ "body": "request.body = batch\nreturn request"
72
+ }
42
73
  }
43
74
  }
44
75
  }
@@ -1 +1 @@
1
- "e6f85e3bd72de3463c6427d04ffe17ec"
1
+ "12e29f7c526bfe8dd51499f5d882c9ab"
@@ -26,6 +26,10 @@
26
26
  {
27
27
  "date": "2021-10-23T00:00:00.000Z",
28
28
  "note": "context is moved up a level to become a child of properties"
29
+ },
30
+ {
31
+ "date": "2021-11-19T00:00:00.000Z",
32
+ "note": "uses batch endpoint"
29
33
  }
30
34
  ]
31
35
  }
@@ -1 +1 @@
1
- "e997607abac7d9861c22e4f76d4c9a81"
1
+ "2d91ab698f70628a0dd1315050a37f46"
@@ -128,7 +128,7 @@
128
128
  "expressions": [
129
129
  {
130
130
  "lang": "lua",
131
- "body": "local eventName = REPLACE(LOWER(input.event), \" \", \"_\")\nlocal results = {}\n\nlocal flatten = FLATTEN(input.properties, \"\", \"_\", 2)\nresults[eventName] = flatten\n\nreturn { properties = results }"
131
+ "body": "local eventName = REPLACE(LOWER(input.event), \" \", \"_\")\nlocal results = {}\n\nlocal flatten = FLATTEN(input.properties, \"\", \"_\", 2, { array_start_index = 1 })\nresults[eventName] = flatten\n\nreturn { properties = results }"
132
132
  }
133
133
  ]
134
134
  }
@@ -1 +1 @@
1
- "1c0ed3d4aa4eb82709868588c04d70a6"
1
+ "cd86cc049dbf57711f37abc7d3cb93e9"
@@ -29,7 +29,6 @@
29
29
  "fromEventKey": "$$COOKIE$$"
30
30
  }
31
31
  ],
32
- "method": "GET",
33
- "timeout": "30s"
32
+ "method": "GET"
34
33
  }
35
34
  }
@@ -1 +1 @@
1
- "a4410144dabe83ddabf7c1b4205b95f5"
1
+ "d48cb940c9b60d8515066e7d5baddc36"
@@ -1 +1 @@
1
- "f000602e5851195682cee9ddd4218a13"
1
+ "00a1119e77914ebb412cba0b4bda50ca"
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "default": {
3
3
  "endpoint": "TODO",
4
- "method": "GET",
5
- "timeout": "30s"
4
+ "method": "GET"
6
5
  }
7
6
  }
@@ -1 +1 @@
1
- "d38bc39bd852f292919f1d5bc26707dd"
1
+ "d0ef12bb0cc1957626398dd40527230c"
@@ -1 +1 @@
1
- "b8fcb6eefd0ad87174cd19d0d4b52180"
1
+ "fccf1b2a9e1768aeb123210f6d7b2ab7"
@@ -19,7 +19,6 @@
19
19
  "fromEventKey": "context.ip"
20
20
  }
21
21
  ],
22
- "method": "GET",
23
- "timeout": "30s"
22
+ "method": "GET"
24
23
  }
25
24
  }
@@ -1 +1 @@
1
- "7c16b7ea7ac10cf95956bff267e58115"
1
+ "0d48a69047ea95a58f95820fc5ce5897"
@@ -1 +1 @@
1
- "6ec377176e5da58eac7e1a927b068237"
1
+ "5c8066cad53974a7f636dd7b164808fb"
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "default": {
3
3
  "endpoint": "https://r.turn.com/r/beacon",
4
- "method": "GET",
5
- "timeout": "30s"
4
+ "method": "GET"
6
5
  }
7
6
  }
@@ -1 +1 @@
1
- "d0b26b473865f86bde22172fe2944910"
1
+ "db6248bf3c372b4907ff008dcfcccd70"
@@ -1 +1 @@
1
- "18696af7494c1c3aaf9516cbdc4d6471"
1
+ "92b4fd944be41a62e2ad46300c775456"
@@ -1,8 +1,18 @@
1
1
  {
2
+ "params": [
3
+ {
4
+ "name": "API_KEY",
5
+ "exampleValue": "my-api-key"
6
+ }
7
+ ],
2
8
  "default": {
3
- "endpoint": "https://api2.amplitude.com/2/httpapi",
9
+ "endpoint": "https://api2.amplitude.com/batch",
10
+ "batchSize": 1000,
11
+ "transform": {
12
+ "lang": "lua",
13
+ "body": "request.body = { events = batch, api_key = '$$API_KEY$$' }\nreturn request"
14
+ },
4
15
  "method": "POST",
5
- "timeout": "30s",
6
16
  "headers": [
7
17
  {
8
18
  "key": "Content-Type",
@@ -17,8 +27,7 @@
17
27
  "eventSpecific": {
18
28
  "identify": {
19
29
  "endpoint": "https://api.amplitude.com/identify",
20
- "method": "GET",
21
- "timeout": "30s"
30
+ "method": "GET"
22
31
  }
23
32
  }
24
33
  }
@@ -1 +1 @@
1
- "3f07938f32ced3ce57c92b3a97eb164a"
1
+ "662ccfc459443df8faa20f374eb754ca"
@@ -26,6 +26,10 @@
26
26
  {
27
27
  "date": "2021-08-26T00:00:00.000Z",
28
28
  "note": "adds some context input"
29
+ },
30
+ {
31
+ "date": "2021-11-19T00:00:00.000Z",
32
+ "note": "uses batch endpoint"
29
33
  }
30
34
  ]
31
35
  }
@@ -1 +1 @@
1
- "745782f9f271dee9b64b270a18597f4f"
1
+ "79a138cd399428cede534644b9e7ef50"