@metarouter/ajs-starter-kit 1.0.154 → 1.0.156

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 (53) hide show
  1. package/.dist/ad-marketplace/connection.etag.json +1 -0
  2. package/.dist/ad-marketplace/connection.json +23 -0
  3. package/.dist/ad-marketplace/kit.etag.json +1 -0
  4. package/.dist/ad-marketplace/metadata.json +21 -0
  5. package/.dist/ad-marketplace/playbook.etag.json +1 -0
  6. package/.dist/ad-marketplace/playbook.json +394 -0
  7. package/.dist/attentive/kit.etag.json +1 -1
  8. package/.dist/attentive/metadata.json +4 -0
  9. package/.dist/attentive/playbook.etag.json +1 -1
  10. package/.dist/attentive/playbook.json +101 -303
  11. package/.dist/connection-schemas.json +4 -0
  12. package/.dist/engage-front/kit.etag.json +1 -1
  13. package/.dist/engage-front/metadata.json +4 -0
  14. package/.dist/engage-front/playbook.etag.json +1 -1
  15. package/.dist/engage-front/playbook.json +153 -22
  16. package/.dist/google-cm360/kit.etag.json +1 -1
  17. package/.dist/google-cm360/metadata.json +4 -0
  18. package/.dist/google-cm360/playbook.etag.json +1 -1
  19. package/.dist/google-cm360/playbook.json +17 -22
  20. package/.dist/hightouch/connection.etag.json +1 -0
  21. package/.dist/hightouch/connection.json +87 -0
  22. package/.dist/hightouch/kit.etag.json +1 -0
  23. package/.dist/hightouch/metadata.json +21 -0
  24. package/.dist/hightouch/playbook.etag.json +1 -0
  25. package/.dist/hightouch/playbook.json +451 -0
  26. package/.dist/pipeline-router/connection.etag.json +1 -0
  27. package/.dist/pipeline-router/connection.json +3 -0
  28. package/.dist/pipeline-router/kit.etag.json +1 -0
  29. package/.dist/pipeline-router/metadata.json +21 -0
  30. package/.dist/pipeline-router/playbook.etag.json +1 -0
  31. package/.dist/pipeline-router/playbook.json +30 -0
  32. package/.dist/rasp/kit.etag.json +1 -1
  33. package/.dist/rasp/metadata.json +5 -1
  34. package/.dist/rasp/playbook.etag.json +1 -1
  35. package/.dist/rasp/playbook.json +1 -1
  36. package/.dist/ringier-axel-springer-poland/kit.etag.json +1 -1
  37. package/.dist/ringier-axel-springer-poland/metadata.json +5 -1
  38. package/.dist/ringier-axel-springer-poland/playbook.etag.json +1 -1
  39. package/.dist/ringier-axel-springer-poland/playbook.json +1 -1
  40. package/.dist/snapchat-capi/kit.etag.json +1 -1
  41. package/.dist/snapchat-capi/metadata.json +4 -0
  42. package/.dist/snapchat-capi/playbook.etag.json +1 -1
  43. package/.dist/snapchat-capi/playbook.json +21 -1
  44. package/.dist/thetradedesk-data-advertiser-firstparty/connection.etag.json +1 -1
  45. package/.dist/thetradedesk-data-advertiser-firstparty/connection.json +6 -1
  46. package/.dist/thetradedesk-data-advertiser-firstparty/kit.etag.json +1 -1
  47. package/.dist/thetradedesk-data-advertiser-firstparty/metadata.json +4 -0
  48. package/.dist/thetradedesk-data-advertiser-firstparty/playbook.etag.json +1 -1
  49. package/.dist/thetradedesk-data-advertiser-firstparty/playbook.json +1 -1
  50. package/.dist/yahoo-enhanced-attribution/kit.etag.json +1 -1
  51. package/README.md +20 -7
  52. package/index.js +32 -11
  53. package/package.json +1 -1
@@ -376,6 +376,10 @@
376
376
  ],
377
377
  "additionalProperties": false
378
378
  },
379
+ "pipelineRouter": {
380
+ "type": "object",
381
+ "additionalProperties": false
382
+ },
379
383
  "rasp": {
380
384
  "type": "object",
381
385
  "properties": {
@@ -1 +1 @@
1
- "6756f2a83051f41750c07f490fcdeae8 -"
1
+ "5ba59db3348f18ddf6078cdedff334b7 -"
@@ -24,6 +24,10 @@
24
24
  {
25
25
  "date": "2025-12-10T00:00:00.000Z",
26
26
  "note": "Version: 0.3.0\nUpdate campaign/advertiser ID output key"
27
+ },
28
+ {
29
+ "date": "2026-01-14T00:00:00.000Z",
30
+ "note": "Version: 0.4.0\nUpdated campaign configuration scope to event level."
27
31
  }
28
32
  ]
29
33
  }
@@ -1 +1 @@
1
- "85a4847f98722d5523d76d34cbf674f1 -"
1
+ "b1126bbbd7616649bc0fbbc74a04dbd1 -"
@@ -1,37 +1,22 @@
1
1
  {
2
- "version": "0.3.0",
3
- "global": {
2
+ "version": "0.4.0",
3
+ "default": {
4
4
  "filters": [
5
5
  {
6
6
  "byEventNames": {
7
7
  "action": "allow",
8
8
  "events": [
9
- "identify",
10
- "page",
11
- "products_searched",
12
- "product_list_viewed",
13
- "product_clicked",
14
- "product_viewed",
15
- "product_added",
16
- "product_removed",
17
- "cart_viewed",
18
- "checkout_started",
19
- "payment_info_entered",
20
- "order_completed",
21
- "promotion_clicked",
22
- "promotion_viewed",
23
- "product_added_to_wishlist",
24
- "order_updated",
25
- "order_refunded",
26
- "coupon_entered"
9
+ ""
27
10
  ]
28
11
  }
29
12
  }
30
- ],
13
+ ]
14
+ },
15
+ "global": {
31
16
  "enrichments": [
32
17
  {
33
18
  "staticString": "ADD_YOUR_VALUE_HERE",
34
- "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
19
+ "outputKey": "ef_advertiser_id"
35
20
  }
36
21
  ],
37
22
  "mappings": [
@@ -80,5 +65,151 @@
80
65
  "outputKey": "referer"
81
66
  }
82
67
  ]
68
+ },
69
+ "eventSpecific": {
70
+ "identify": {
71
+ "enrichments": [
72
+ {
73
+ "staticString": "ADD_YOUR_VALUE_HERE",
74
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
75
+ }
76
+ ]
77
+ },
78
+ "page": {
79
+ "enrichments": [
80
+ {
81
+ "staticString": "ADD_YOUR_VALUE_HERE",
82
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
83
+ }
84
+ ]
85
+ },
86
+ "products_searched": {
87
+ "enrichments": [
88
+ {
89
+ "staticString": "ADD_YOUR_VALUE_HERE",
90
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
91
+ }
92
+ ]
93
+ },
94
+ "product_list_viewed": {
95
+ "enrichments": [
96
+ {
97
+ "staticString": "ADD_YOUR_VALUE_HERE",
98
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
99
+ }
100
+ ]
101
+ },
102
+ "product_clicked": {
103
+ "enrichments": [
104
+ {
105
+ "staticString": "ADD_YOUR_VALUE_HERE",
106
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
107
+ }
108
+ ]
109
+ },
110
+ "product_viewed": {
111
+ "enrichments": [
112
+ {
113
+ "staticString": "ADD_YOUR_VALUE_HERE",
114
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
115
+ }
116
+ ]
117
+ },
118
+ "product_added": {
119
+ "enrichments": [
120
+ {
121
+ "staticString": "ADD_YOUR_VALUE_HERE",
122
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
123
+ }
124
+ ]
125
+ },
126
+ "product_removed": {
127
+ "enrichments": [
128
+ {
129
+ "staticString": "ADD_YOUR_VALUE_HERE",
130
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
131
+ }
132
+ ]
133
+ },
134
+ "cart_viewed": {
135
+ "enrichments": [
136
+ {
137
+ "staticString": "ADD_YOUR_VALUE_HERE",
138
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
139
+ }
140
+ ]
141
+ },
142
+ "checkout_started": {
143
+ "enrichments": [
144
+ {
145
+ "staticString": "ADD_YOUR_VALUE_HERE",
146
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
147
+ }
148
+ ]
149
+ },
150
+ "payment_info_entered": {
151
+ "enrichments": [
152
+ {
153
+ "staticString": "ADD_YOUR_VALUE_HERE",
154
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
155
+ }
156
+ ]
157
+ },
158
+ "order_completed": {
159
+ "enrichments": [
160
+ {
161
+ "staticString": "ADD_YOUR_VALUE_HERE",
162
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
163
+ }
164
+ ]
165
+ },
166
+ "promotion_clicked": {
167
+ "enrichments": [
168
+ {
169
+ "staticString": "ADD_YOUR_VALUE_HERE",
170
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
171
+ }
172
+ ]
173
+ },
174
+ "promotion_viewed": {
175
+ "enrichments": [
176
+ {
177
+ "staticString": "ADD_YOUR_VALUE_HERE",
178
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
179
+ }
180
+ ]
181
+ },
182
+ "product_added_to_wishlist": {
183
+ "enrichments": [
184
+ {
185
+ "staticString": "ADD_YOUR_VALUE_HERE",
186
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
187
+ }
188
+ ]
189
+ },
190
+ "order_updated": {
191
+ "enrichments": [
192
+ {
193
+ "staticString": "ADD_YOUR_VALUE_HERE",
194
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
195
+ }
196
+ ]
197
+ },
198
+ "order_refunded": {
199
+ "enrichments": [
200
+ {
201
+ "staticString": "ADD_YOUR_VALUE_HERE",
202
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
203
+ }
204
+ ]
205
+ },
206
+ "coupon_entered": {
207
+ "enrichments": [
208
+ {
209
+ "staticString": "ADD_YOUR_VALUE_HERE",
210
+ "outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
211
+ }
212
+ ]
213
+ }
83
214
  }
84
215
  }
@@ -1 +1 @@
1
- "18289868c72f542397fa4a95554a1105 -"
1
+ "5fe4757066227190ec8c024a6798e3fd -"
@@ -48,6 +48,10 @@
48
48
  {
49
49
  "date": "2025-10-15T00:00:00.000Z",
50
50
  "note": "Version: 1.0.1\nAdded friendly names to expressions"
51
+ },
52
+ {
53
+ "date": "2026-01-14T00:00:00.000Z",
54
+ "note": "Version: 1.1.0\nMigrated from V4 to V5\nUpdated all quantity fields and added the value field to all events."
51
55
  }
52
56
  ]
53
57
  }
@@ -1 +1 @@
1
- "aa2588fbed93eccc97d982aa1e7f8463 -"
1
+ "888d6162acbcbd07277005de7b435ae2 -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.1",
2
+ "version": "1.1.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CONFIG_ID",
@@ -73,6 +73,14 @@
73
73
  {
74
74
  "staticString": "ADD_FLOODLIGHT_ACTIVITY_ID_HERE",
75
75
  "outputKey": "floodlightActivityId"
76
+ },
77
+ {
78
+ "staticFloat": 0,
79
+ "outputKey": "value"
80
+ },
81
+ {
82
+ "staticString": "1",
83
+ "outputKey": "quantity"
76
84
  }
77
85
  ]
78
86
  },
@@ -81,6 +89,10 @@
81
89
  {
82
90
  "staticString": "ADD_FLOODLIGHT_ACTIVITY_ID_HERE",
83
91
  "outputKey": "floodlightActivityId"
92
+ },
93
+ {
94
+ "staticString": "1",
95
+ "outputKey": "quantity"
84
96
  }
85
97
  ],
86
98
  "mappings": [
@@ -95,15 +107,6 @@
95
107
  }
96
108
  }
97
109
  ]
98
- },
99
- {
100
- "inputKey": "properties.quantity",
101
- "outputKey": "quantity",
102
- "transforms": [
103
- {
104
- "toScalar": "string"
105
- }
106
- ]
107
110
  }
108
111
  ]
109
112
  },
@@ -112,24 +115,16 @@
112
115
  {
113
116
  "staticString": "ADD_FLOODLIGHT_ACTIVITY_ID_HERE",
114
117
  "outputKey": "floodlightActivityId"
118
+ },
119
+ {
120
+ "staticString": "1",
121
+ "outputKey": "quantity"
115
122
  }
116
123
  ],
117
124
  "mappings": [
118
125
  {
119
126
  "inputKey": "properties.total",
120
127
  "outputKey": "value"
121
- },
122
- {
123
- "inputKey": "input",
124
- "outputKey": "quantity",
125
- "transforms": [
126
- {
127
- "expression": {
128
- "lang": "lua",
129
- "body": "return TO_STRING(SUM(MAP(input.properties.products, function (p) return p.quantity end)))"
130
- }
131
- }
132
- ]
133
128
  }
134
129
  ]
135
130
  }
@@ -0,0 +1 @@
1
+ "2934a3b9e2e2ebd13e516c8f147d80c6 -"
@@ -0,0 +1,87 @@
1
+ {
2
+ "params": [
3
+ {
4
+ "name": "PROJECT_WRITEKEY",
5
+ "exampleValue": "my-project-writekey"
6
+ },
7
+ {
8
+ "name": "WORKSPACE_REGION",
9
+ "exampleValue": "my-workspace-region",
10
+ "defaultValue": "us-east-1"
11
+ }
12
+ ],
13
+ "default": {
14
+ "endpoint": "https://$$WORKSPACE_REGION$$.hightouch-events.com/v1/track",
15
+ "method": "POST",
16
+ "headers": [
17
+ {
18
+ "key": "Accept-Encoding",
19
+ "value": "application/json"
20
+ },
21
+ {
22
+ "key": "Content-Type",
23
+ "value": "application/json"
24
+ }
25
+ ],
26
+ "transform": {
27
+ "lang": "lua",
28
+ "body": "local auth = BASE64_ENCODE(\"$$PROJECT_WRITEKEY$$:\")\nrequest.headers[\"Authorization\"] = \"Basic \" .. auth\nreturn request"
29
+ }
30
+ },
31
+ "eventSpecific": {
32
+ "identify": {
33
+ "endpoint": "https://$$WORKSPACE_REGION$$.hightouch-events.com/v1/identify",
34
+ "method": "POST",
35
+ "headers": [
36
+ {
37
+ "key": "Accept-Encoding",
38
+ "value": "application/json"
39
+ },
40
+ {
41
+ "key": "Content-Type",
42
+ "value": "application/json"
43
+ }
44
+ ],
45
+ "transform": {
46
+ "lang": "lua",
47
+ "body": "local auth = BASE64_ENCODE(\"$$PROJECT_WRITEKEY$$:\")\nrequest.headers[\"Authorization\"] = \"Basic \" .. auth\nreturn request"
48
+ }
49
+ },
50
+ "page": {
51
+ "endpoint": "https://$$WORKSPACE_REGION$$.hightouch-events.com/v1/page",
52
+ "method": "POST",
53
+ "headers": [
54
+ {
55
+ "key": "Accept-Encoding",
56
+ "value": "application/json"
57
+ },
58
+ {
59
+ "key": "Content-Type",
60
+ "value": "application/json"
61
+ }
62
+ ],
63
+ "transform": {
64
+ "lang": "lua",
65
+ "body": "local auth = BASE64_ENCODE(\"$$PROJECT_WRITEKEY$$:\")\nrequest.headers[\"Authorization\"] = \"Basic \" .. auth\nreturn request"
66
+ }
67
+ },
68
+ "screen": {
69
+ "endpoint": "https://$$WORKSPACE_REGION$$.hightouch-events.com/v1/screen",
70
+ "method": "POST",
71
+ "headers": [
72
+ {
73
+ "key": "Accept-Encoding",
74
+ "value": "application/json"
75
+ },
76
+ {
77
+ "key": "Content-Type",
78
+ "value": "application/json"
79
+ }
80
+ ],
81
+ "transform": {
82
+ "lang": "lua",
83
+ "body": "local auth = BASE64_ENCODE(\"$$PROJECT_WRITEKEY$$:\")\nrequest.headers[\"Authorization\"] = \"Basic \" .. auth\nreturn request"
84
+ }
85
+ }
86
+ }
87
+ }
@@ -0,0 +1 @@
1
+ "12d0f4ea559aeda3a5ce8e1c6475367b -"
@@ -0,0 +1,21 @@
1
+ {
2
+ "isDraft": false,
3
+ "isDeprecated": false,
4
+ "isBeta": true,
5
+ "friendlyName": "Hightouch",
6
+ "description": "Hightouch is a data activation platform that helps organizations operationalize customer and event data by syncing it directly from their data warehouse into downstream tools and systems.",
7
+ "logo": "https://cdn.metarouter.io/hightouch.png",
8
+ "color": "#4FC26C",
9
+ "eventSource": {
10
+ "isAndroidApp": true,
11
+ "isIosApp": true,
12
+ "isWebApp": true
13
+ },
14
+ "inputSchema": "analytics_js",
15
+ "releaseNotes": [
16
+ {
17
+ "date": "2026-01-14T21:00:00.000Z",
18
+ "note": "Version: 0.1.0\nBeta Version\nHightouch initial release"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1 @@
1
+ "c16cf52e8a3fa69bb15072a42e76605f -"