@walkeros/server-destination-gcp 4.8.1 → 4.8.2

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$meta": {
3
3
  "package": "@walkeros/server-destination-gcp",
4
- "version": "4.8.1",
4
+ "version": "4.8.2",
5
5
  "type": "destination",
6
6
  "platform": [
7
7
  "server"
@@ -174,10 +174,10 @@
174
174
  "$code": "class{calls;options;constructor(e){this.options=e,this.calls=[]}dataset(e){return this.calls.push({method:\"dataset\",args:[e]}),this}table(e){return this.calls.push({method:\"table\",args:[e]}),this}async exists(){return this.calls.push({method:\"exists\",args:[]}),[!0]}async create(e){this.calls.push({method:\"create\",args:[e]})}async getMetadata(){return this.calls.push({method:\"getMetadata\",args:[]}),[{}]}}"
175
175
  },
176
176
  "WriterClient": {
177
- "$code": "class{constructor(e){o.push({method:\"WriterClient.ctor\",args:[e]})}async createStreamConnection(e,t){if(\"DEFAULT\"!==e.streamId)throw new Error(`mock createStreamConnection: expected streamId='DEFAULT', got ${JSON.stringify(e)}`);o.push({method:\"createStreamConnection\",args:[e,t]});const r=c;if(null!==r)throw c=null,r;const s=new p(`${e.destinationTable}/streams/_default`);return d.push(s),s}async getWriteStream(e,t){return o.push({method:\"getWriteStream\",args:[e,t]}),{tableSchema:{fields:[]}}}close(){o.push({method:\"WriterClient.close\",args:[]})}}"
177
+ "$code": "class{constructor(e){o.push({method:\"WriterClient.ctor\",args:[e]})}async createStreamConnection(e,t){if(\"DEFAULT\"!==e.streamId)throw new Error(`mock createStreamConnection: expected streamId='DEFAULT', got ${JSON.stringify(e)}`);o.push({method:\"createStreamConnection\",args:[e,t]});const r=u;if(null!==r)throw u=null,r;const s=new d(`${e.destinationTable}/streams/_default`);return g.push(s),s}async getWriteStream(e,t){return o.push({method:\"getWriteStream\",args:[e,t]}),{tableSchema:{fields:[]}}}close(){o.push({method:\"WriterClient.close\",args:[]})}}"
178
178
  },
179
179
  "JSONWriter": {
180
- "$code": "class{constructor(e){o.push({method:\"JSONWriter.ctor\",args:[e]})}appendRows(e,t){o.push({method:\"appendRows\",args:[e,t]});const r=n;if(null!==r)throw n=null,r;const s=a;a=null;const i=l;return l=null,{getResult:async()=>{if(null!==i)throw i;return{appendResult:{offset:{value:\"0\"}},rowErrors:s??[],writeStream:\"projects/p/datasets/d/tables/t/streams/_default\"}}}}close(){o.push({method:\"JSONWriter.close\",args:[]})}}"
180
+ "$code": "class{constructor(e){o.push({method:\"JSONWriter.ctor\",args:[e]})}appendRows(e,t){o.push({method:\"appendRows\",args:[e,t]});const r=l;if(null!==r)throw l=null,r;const s=n;n=null;const i=p;p=null;const a=c;return c=null,{getResult:async()=>{if(null!==i)throw i;return null!==a?{error:a,writeStream:\"projects/p/datasets/d/tables/t/streams/_default\"}:{appendResult:{offset:{value:\"0\"}},rowErrors:s??[],writeStream:\"projects/p/datasets/d/tables/t/streams/_default\"}}}}close(){o.push({method:\"JSONWriter.close\",args:[]})}}"
181
181
  },
182
182
  "adapt": {
183
183
  "convertStorageSchemaToProto2Descriptor": {
@@ -190,6 +190,93 @@
190
190
  ]
191
191
  },
192
192
  "step": {
193
+ "appendFailed": {
194
+ "public": false,
195
+ "description": "A failed Storage Write append fails the push, retryable, instead of counting as delivered.",
196
+ "in": {
197
+ "name": "page view",
198
+ "data": {
199
+ "domain": "www.example.com",
200
+ "title": "walkerOS documentation",
201
+ "referrer": "https://www.walkeros.io/",
202
+ "search": "?foo=bar",
203
+ "hash": "#hash",
204
+ "id": "/docs/"
205
+ },
206
+ "context": {
207
+ "dev": [
208
+ "test",
209
+ 1
210
+ ]
211
+ },
212
+ "globals": {
213
+ "pagegroup": "docs"
214
+ },
215
+ "custom": {
216
+ "completely": "random"
217
+ },
218
+ "user": {
219
+ "id": "us3r",
220
+ "device": "c00k13",
221
+ "session": "s3ss10n"
222
+ },
223
+ "nested": [
224
+ {
225
+ "entity": "child",
226
+ "data": {
227
+ "is": "subordinated"
228
+ }
229
+ }
230
+ ],
231
+ "consent": {
232
+ "functional": true
233
+ },
234
+ "id": "f0cc5f6fec3d8eeb",
235
+ "trigger": "load",
236
+ "entity": "page",
237
+ "action": "view",
238
+ "timestamp": 1700001102,
239
+ "timing": 3.14,
240
+ "source": {
241
+ "count": 1,
242
+ "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
243
+ "type": "collector",
244
+ "schema": "4"
245
+ }
246
+ },
247
+ "respond": {
248
+ "error": "network"
249
+ },
250
+ "out": [
251
+ [
252
+ "appendRows",
253
+ [
254
+ {
255
+ "name": "page view",
256
+ "data": "{\"domain\":\"www.example.com\",\"title\":\"walkerOS documentation\",\"referrer\":\"https://www.walkeros.io/\",\"search\":\"?foo=bar\",\"hash\":\"#hash\",\"id\":\"/docs/\"}",
257
+ "context": "{\"dev\":[\"test\",1]}",
258
+ "globals": "{\"pagegroup\":\"docs\"}",
259
+ "custom": "{\"completely\":\"random\"}",
260
+ "user": "{\"id\":\"us3r\",\"device\":\"c00k13\",\"session\":\"s3ss10n\"}",
261
+ "nested": "[{\"entity\":\"child\",\"data\":{\"is\":\"subordinated\"}}]",
262
+ "consent": "{\"functional\":true}",
263
+ "id": "f0cc5f6fec3d8eeb",
264
+ "trigger": "load",
265
+ "entity": "page",
266
+ "action": "view",
267
+ "timestamp": 1700001102000,
268
+ "timing": 3.14,
269
+ "source": "{\"count\":1,\"trace\":\"0a1b2c3d4e5f60718293a4b5c6d7e8f9\",\"type\":\"collector\",\"schema\":\"4\"}"
270
+ }
271
+ ]
272
+ ]
273
+ ],
274
+ "outcome": {
275
+ "status": "failed",
276
+ "code": "transport",
277
+ "retryable": true
278
+ }
279
+ },
193
280
  "pageView": {
194
281
  "title": "Page view",
195
282
  "description": "A page view is appended as one row through the BigQuery Storage Write API JSONWriter. Nested objects/arrays in data, source, etc. are JSON-stringified by eventToRow.",
@@ -227,7 +314,7 @@
227
314
  "consent": {
228
315
  "functional": true
229
316
  },
230
- "id": "5e0efc2e9a90d26d",
317
+ "id": "f0cc5f6fec3d8eeb",
231
318
  "trigger": "load",
232
319
  "entity": "page",
233
320
  "action": "view",
@@ -253,7 +340,7 @@
253
340
  "user": "{\"id\":\"us3r\",\"device\":\"c00k13\",\"session\":\"s3ss10n\"}",
254
341
  "nested": "[{\"entity\":\"child\",\"data\":{\"is\":\"subordinated\"}}]",
255
342
  "consent": "{\"functional\":true}",
256
- "id": "5e0efc2e9a90d26d",
343
+ "id": "f0cc5f6fec3d8eeb",
257
344
  "trigger": "load",
258
345
  "entity": "page",
259
346
  "action": "view",
@@ -272,7 +359,7 @@
272
359
  "name": "order complete",
273
360
  "data": {
274
361
  "id": "ORD-500",
275
- "total": 199.99,
362
+ "value": 199.99,
276
363
  "items": [
277
364
  {
278
365
  "sku": "SKU-1",
@@ -348,7 +435,7 @@
348
435
  "consent": {
349
436
  "functional": true
350
437
  },
351
- "id": "2d77ae06e4a7978b",
438
+ "id": "235d0d7bd7a213f2",
352
439
  "trigger": "load",
353
440
  "entity": "order",
354
441
  "action": "complete",
@@ -367,14 +454,14 @@
367
454
  [
368
455
  {
369
456
  "name": "order complete",
370
- "data": "{\"id\":\"ORD-500\",\"total\":199.99,\"items\":[{\"sku\":\"SKU-1\",\"qty\":2}]}",
457
+ "data": "{\"id\":\"ORD-500\",\"value\":199.99,\"items\":[{\"sku\":\"SKU-1\",\"qty\":2}]}",
371
458
  "context": "{\"shopping\":[\"complete\",0]}",
372
459
  "globals": "{\"pagegroup\":\"shop\"}",
373
460
  "custom": "{\"completely\":\"random\"}",
374
461
  "user": "{\"id\":\"us3r\",\"device\":\"c00k13\",\"session\":\"s3ss10n\"}",
375
462
  "nested": "[{\"entity\":\"product\",\"data\":{\"id\":\"ers\",\"name\":\"Everyday Ruck Snack\",\"color\":\"black\",\"size\":\"l\",\"price\":420},\"context\":{\"shopping\":[\"complete\",0]},\"nested\":[]},{\"entity\":\"product\",\"data\":{\"id\":\"cc\",\"name\":\"Cool Cap\",\"size\":\"one size\",\"price\":42},\"context\":{\"shopping\":[\"complete\",0]},\"nested\":[]},{\"entity\":\"gift\",\"data\":{\"name\":\"Surprise\"},\"context\":{\"shopping\":[\"complete\",0]},\"nested\":[]}]",
376
463
  "consent": "{\"functional\":true}",
377
- "id": "2d77ae06e4a7978b",
464
+ "id": "235d0d7bd7a213f2",
378
465
  "trigger": "load",
379
466
  "entity": "order",
380
467
  "action": "complete",
@@ -385,6 +472,65 @@
385
472
  ]
386
473
  ]
387
474
  ]
475
+ },
476
+ "silentRule": {
477
+ "public": false,
478
+ "description": "A rule with silent: true appends no row.",
479
+ "in": {
480
+ "name": "page view",
481
+ "data": {
482
+ "domain": "www.example.com",
483
+ "title": "walkerOS documentation",
484
+ "referrer": "https://www.walkeros.io/",
485
+ "search": "?foo=bar",
486
+ "hash": "#hash",
487
+ "id": "/docs/"
488
+ },
489
+ "context": {
490
+ "dev": [
491
+ "test",
492
+ 1
493
+ ]
494
+ },
495
+ "globals": {
496
+ "pagegroup": "docs"
497
+ },
498
+ "custom": {
499
+ "completely": "random"
500
+ },
501
+ "user": {
502
+ "id": "us3r",
503
+ "device": "c00k13",
504
+ "session": "s3ss10n"
505
+ },
506
+ "nested": [
507
+ {
508
+ "entity": "child",
509
+ "data": {
510
+ "is": "subordinated"
511
+ }
512
+ }
513
+ ],
514
+ "consent": {
515
+ "functional": true
516
+ },
517
+ "id": "f0cc5f6fec3d8eeb",
518
+ "trigger": "load",
519
+ "entity": "page",
520
+ "action": "view",
521
+ "timestamp": 1700000000500,
522
+ "timing": 3.14,
523
+ "source": {
524
+ "count": 1,
525
+ "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
526
+ "type": "collector",
527
+ "schema": "4"
528
+ }
529
+ },
530
+ "mapping": {
531
+ "silent": true
532
+ },
533
+ "out": []
388
534
  }
389
535
  }
390
536
  },
@@ -396,10 +542,10 @@
396
542
  "$code": "class{calls;options;constructor(e){this.options=e,this.calls=[]}dataset(e){return this.calls.push({method:\"dataset\",args:[e]}),this}table(e){return this.calls.push({method:\"table\",args:[e]}),this}async exists(){return this.calls.push({method:\"exists\",args:[]}),[!0]}async create(e){this.calls.push({method:\"create\",args:[e]})}async getMetadata(){return this.calls.push({method:\"getMetadata\",args:[]}),[{}]}}"
397
543
  },
398
544
  "WriterClient": {
399
- "$code": "class{constructor(e){o.push({method:\"WriterClient.ctor\",args:[e]})}async createStreamConnection(e,t){if(\"DEFAULT\"!==e.streamId)throw new Error(`mock createStreamConnection: expected streamId='DEFAULT', got ${JSON.stringify(e)}`);o.push({method:\"createStreamConnection\",args:[e,t]});const r=c;if(null!==r)throw c=null,r;const s=new p(`${e.destinationTable}/streams/_default`);return d.push(s),s}async getWriteStream(e,t){return o.push({method:\"getWriteStream\",args:[e,t]}),{tableSchema:{fields:[]}}}close(){o.push({method:\"WriterClient.close\",args:[]})}}"
545
+ "$code": "class{constructor(e){o.push({method:\"WriterClient.ctor\",args:[e]})}async createStreamConnection(e,t){if(\"DEFAULT\"!==e.streamId)throw new Error(`mock createStreamConnection: expected streamId='DEFAULT', got ${JSON.stringify(e)}`);o.push({method:\"createStreamConnection\",args:[e,t]});const r=u;if(null!==r)throw u=null,r;const s=new d(`${e.destinationTable}/streams/_default`);return g.push(s),s}async getWriteStream(e,t){return o.push({method:\"getWriteStream\",args:[e,t]}),{tableSchema:{fields:[]}}}close(){o.push({method:\"WriterClient.close\",args:[]})}}"
400
546
  },
401
547
  "JSONWriter": {
402
- "$code": "class{constructor(e){o.push({method:\"JSONWriter.ctor\",args:[e]})}appendRows(e,t){o.push({method:\"appendRows\",args:[e,t]});const r=n;if(null!==r)throw n=null,r;const s=a;a=null;const i=l;return l=null,{getResult:async()=>{if(null!==i)throw i;return{appendResult:{offset:{value:\"0\"}},rowErrors:s??[],writeStream:\"projects/p/datasets/d/tables/t/streams/_default\"}}}}close(){o.push({method:\"JSONWriter.close\",args:[]})}}"
548
+ "$code": "class{constructor(e){o.push({method:\"JSONWriter.ctor\",args:[e]})}appendRows(e,t){o.push({method:\"appendRows\",args:[e,t]});const r=l;if(null!==r)throw l=null,r;const s=n;n=null;const i=p;p=null;const a=c;return c=null,{getResult:async()=>{if(null!==i)throw i;return null!==a?{error:a,writeStream:\"projects/p/datasets/d/tables/t/streams/_default\"}:{appendResult:{offset:{value:\"0\"}},rowErrors:s??[],writeStream:\"projects/p/datasets/d/tables/t/streams/_default\"}}}}close(){o.push({method:\"JSONWriter.close\",args:[]})}}"
403
549
  },
404
550
  "adapt": {
405
551
  "convertStorageSchemaToProto2Descriptor": {
@@ -412,6 +558,93 @@
412
558
  ]
413
559
  },
414
560
  "step": {
561
+ "appendFailed": {
562
+ "public": false,
563
+ "description": "A failed Storage Write append fails the push, retryable, instead of counting as delivered.",
564
+ "in": {
565
+ "name": "page view",
566
+ "data": {
567
+ "domain": "www.example.com",
568
+ "title": "walkerOS documentation",
569
+ "referrer": "https://www.walkeros.io/",
570
+ "search": "?foo=bar",
571
+ "hash": "#hash",
572
+ "id": "/docs/"
573
+ },
574
+ "context": {
575
+ "dev": [
576
+ "test",
577
+ 1
578
+ ]
579
+ },
580
+ "globals": {
581
+ "pagegroup": "docs"
582
+ },
583
+ "custom": {
584
+ "completely": "random"
585
+ },
586
+ "user": {
587
+ "id": "us3r",
588
+ "device": "c00k13",
589
+ "session": "s3ss10n"
590
+ },
591
+ "nested": [
592
+ {
593
+ "entity": "child",
594
+ "data": {
595
+ "is": "subordinated"
596
+ }
597
+ }
598
+ ],
599
+ "consent": {
600
+ "functional": true
601
+ },
602
+ "id": "f0cc5f6fec3d8eeb",
603
+ "trigger": "load",
604
+ "entity": "page",
605
+ "action": "view",
606
+ "timestamp": 1700001102,
607
+ "timing": 3.14,
608
+ "source": {
609
+ "count": 1,
610
+ "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
611
+ "type": "collector",
612
+ "schema": "4"
613
+ }
614
+ },
615
+ "respond": {
616
+ "error": "network"
617
+ },
618
+ "out": [
619
+ [
620
+ "appendRows",
621
+ [
622
+ {
623
+ "name": "page view",
624
+ "data": "{\"domain\":\"www.example.com\",\"title\":\"walkerOS documentation\",\"referrer\":\"https://www.walkeros.io/\",\"search\":\"?foo=bar\",\"hash\":\"#hash\",\"id\":\"/docs/\"}",
625
+ "context": "{\"dev\":[\"test\",1]}",
626
+ "globals": "{\"pagegroup\":\"docs\"}",
627
+ "custom": "{\"completely\":\"random\"}",
628
+ "user": "{\"id\":\"us3r\",\"device\":\"c00k13\",\"session\":\"s3ss10n\"}",
629
+ "nested": "[{\"entity\":\"child\",\"data\":{\"is\":\"subordinated\"}}]",
630
+ "consent": "{\"functional\":true}",
631
+ "id": "f0cc5f6fec3d8eeb",
632
+ "trigger": "load",
633
+ "entity": "page",
634
+ "action": "view",
635
+ "timestamp": 1700001102000,
636
+ "timing": 3.14,
637
+ "source": "{\"count\":1,\"trace\":\"0a1b2c3d4e5f60718293a4b5c6d7e8f9\",\"type\":\"collector\",\"schema\":\"4\"}"
638
+ }
639
+ ]
640
+ ]
641
+ ],
642
+ "outcome": {
643
+ "status": "failed",
644
+ "code": "transport",
645
+ "retryable": true
646
+ }
647
+ },
415
648
  "pageView": {
416
649
  "title": "Page view",
417
650
  "description": "A page view is appended as one row through the BigQuery Storage Write API JSONWriter. Nested objects/arrays in data, source, etc. are JSON-stringified by eventToRow.",
@@ -449,7 +682,7 @@
449
682
  "consent": {
450
683
  "functional": true
451
684
  },
452
- "id": "5e0efc2e9a90d26d",
685
+ "id": "f0cc5f6fec3d8eeb",
453
686
  "trigger": "load",
454
687
  "entity": "page",
455
688
  "action": "view",
@@ -475,7 +708,7 @@
475
708
  "user": "{\"id\":\"us3r\",\"device\":\"c00k13\",\"session\":\"s3ss10n\"}",
476
709
  "nested": "[{\"entity\":\"child\",\"data\":{\"is\":\"subordinated\"}}]",
477
710
  "consent": "{\"functional\":true}",
478
- "id": "5e0efc2e9a90d26d",
711
+ "id": "f0cc5f6fec3d8eeb",
479
712
  "trigger": "load",
480
713
  "entity": "page",
481
714
  "action": "view",
@@ -494,7 +727,7 @@
494
727
  "name": "order complete",
495
728
  "data": {
496
729
  "id": "ORD-500",
497
- "total": 199.99,
730
+ "value": 199.99,
498
731
  "items": [
499
732
  {
500
733
  "sku": "SKU-1",
@@ -570,7 +803,7 @@
570
803
  "consent": {
571
804
  "functional": true
572
805
  },
573
- "id": "2d77ae06e4a7978b",
806
+ "id": "235d0d7bd7a213f2",
574
807
  "trigger": "load",
575
808
  "entity": "order",
576
809
  "action": "complete",
@@ -589,14 +822,14 @@
589
822
  [
590
823
  {
591
824
  "name": "order complete",
592
- "data": "{\"id\":\"ORD-500\",\"total\":199.99,\"items\":[{\"sku\":\"SKU-1\",\"qty\":2}]}",
825
+ "data": "{\"id\":\"ORD-500\",\"value\":199.99,\"items\":[{\"sku\":\"SKU-1\",\"qty\":2}]}",
593
826
  "context": "{\"shopping\":[\"complete\",0]}",
594
827
  "globals": "{\"pagegroup\":\"shop\"}",
595
828
  "custom": "{\"completely\":\"random\"}",
596
829
  "user": "{\"id\":\"us3r\",\"device\":\"c00k13\",\"session\":\"s3ss10n\"}",
597
830
  "nested": "[{\"entity\":\"product\",\"data\":{\"id\":\"ers\",\"name\":\"Everyday Ruck Snack\",\"color\":\"black\",\"size\":\"l\",\"price\":420},\"context\":{\"shopping\":[\"complete\",0]},\"nested\":[]},{\"entity\":\"product\",\"data\":{\"id\":\"cc\",\"name\":\"Cool Cap\",\"size\":\"one size\",\"price\":42},\"context\":{\"shopping\":[\"complete\",0]},\"nested\":[]},{\"entity\":\"gift\",\"data\":{\"name\":\"Surprise\"},\"context\":{\"shopping\":[\"complete\",0]},\"nested\":[]}]",
598
831
  "consent": "{\"functional\":true}",
599
- "id": "2d77ae06e4a7978b",
832
+ "id": "235d0d7bd7a213f2",
600
833
  "trigger": "load",
601
834
  "entity": "order",
602
835
  "action": "complete",
@@ -607,6 +840,65 @@
607
840
  ]
608
841
  ]
609
842
  ]
843
+ },
844
+ "silentRule": {
845
+ "public": false,
846
+ "description": "A rule with silent: true appends no row.",
847
+ "in": {
848
+ "name": "page view",
849
+ "data": {
850
+ "domain": "www.example.com",
851
+ "title": "walkerOS documentation",
852
+ "referrer": "https://www.walkeros.io/",
853
+ "search": "?foo=bar",
854
+ "hash": "#hash",
855
+ "id": "/docs/"
856
+ },
857
+ "context": {
858
+ "dev": [
859
+ "test",
860
+ 1
861
+ ]
862
+ },
863
+ "globals": {
864
+ "pagegroup": "docs"
865
+ },
866
+ "custom": {
867
+ "completely": "random"
868
+ },
869
+ "user": {
870
+ "id": "us3r",
871
+ "device": "c00k13",
872
+ "session": "s3ss10n"
873
+ },
874
+ "nested": [
875
+ {
876
+ "entity": "child",
877
+ "data": {
878
+ "is": "subordinated"
879
+ }
880
+ }
881
+ ],
882
+ "consent": {
883
+ "functional": true
884
+ },
885
+ "id": "f0cc5f6fec3d8eeb",
886
+ "trigger": "load",
887
+ "entity": "page",
888
+ "action": "view",
889
+ "timestamp": 1700000000500,
890
+ "timing": 3.14,
891
+ "source": {
892
+ "count": 1,
893
+ "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
894
+ "type": "collector",
895
+ "schema": "4"
896
+ }
897
+ },
898
+ "mapping": {
899
+ "silent": true
900
+ },
901
+ "out": []
610
902
  }
611
903
  }
612
904
  },
@@ -614,7 +906,7 @@
614
906
  "env": {
615
907
  "push": {
616
908
  "PubSub": {
617
- "$code": "class{constructor(e){this.options=e}options;topic(e){return new C(e)}close(){return Promise.resolve()}}"
909
+ "$code": "class{constructor(e){this.options=e}options;topic(e){return new E(e)}close(){return Promise.resolve()}}"
618
910
  }
619
911
  },
620
912
  "simulation": [
@@ -629,7 +921,7 @@
629
921
  "name": "order complete",
630
922
  "data": {
631
923
  "id": "ORD-500",
632
- "total": 199.99,
924
+ "value": 199.99,
633
925
  "currency": "EUR"
634
926
  },
635
927
  "context": {
@@ -698,7 +990,7 @@
698
990
  "consent": {
699
991
  "functional": true
700
992
  },
701
- "id": "66d05bc21f7c31da",
993
+ "id": "235d0d7bd7a213f2",
702
994
  "trigger": "load",
703
995
  "entity": "order",
704
996
  "action": "complete",
@@ -773,11 +1065,11 @@
773
1065
  "46": 34,
774
1066
  "47": 44,
775
1067
  "48": 34,
776
- "49": 116,
777
- "50": 111,
778
- "51": 116,
779
- "52": 97,
780
- "53": 108,
1068
+ "49": 118,
1069
+ "50": 97,
1070
+ "51": 108,
1071
+ "52": 117,
1072
+ "53": 101,
781
1073
  "54": 34,
782
1074
  "55": 58,
783
1075
  "56": 49,
@@ -1369,22 +1661,22 @@
1369
1661
  "642": 34,
1370
1662
  "643": 58,
1371
1663
  "644": 34,
1372
- "645": 54,
1373
- "646": 54,
1374
- "647": 100,
1375
- "648": 48,
1376
- "649": 53,
1377
- "650": 98,
1378
- "651": 99,
1379
- "652": 50,
1380
- "653": 49,
1381
- "654": 102,
1382
- "655": 55,
1383
- "656": 99,
1384
- "657": 51,
1385
- "658": 49,
1386
- "659": 100,
1387
- "660": 97,
1664
+ "645": 50,
1665
+ "646": 51,
1666
+ "647": 53,
1667
+ "648": 100,
1668
+ "649": 48,
1669
+ "650": 100,
1670
+ "651": 55,
1671
+ "652": 98,
1672
+ "653": 100,
1673
+ "654": 55,
1674
+ "655": 97,
1675
+ "656": 50,
1676
+ "657": 49,
1677
+ "658": 51,
1678
+ "659": 102,
1679
+ "660": 50,
1388
1680
  "661": 34,
1389
1681
  "662": 44,
1390
1682
  "663": 34,
@@ -1603,7 +1895,7 @@
1603
1895
  "876": 46,
1604
1896
  "877": 56,
1605
1897
  "878": 46,
1606
- "879": 49,
1898
+ "879": 50,
1607
1899
  "880": 34,
1608
1900
  "881": 125,
1609
1901
  "882": 125,
@@ -1620,7 +1912,7 @@
1620
1912
  "name": "order complete",
1621
1913
  "data": {
1622
1914
  "id": "ORD-500",
1623
- "total": 199.99,
1915
+ "value": 199.99,
1624
1916
  "currency": "EUR"
1625
1917
  },
1626
1918
  "context": {
@@ -1689,7 +1981,7 @@
1689
1981
  "consent": {
1690
1982
  "functional": true
1691
1983
  },
1692
- "id": "66d05bc21f7c31da",
1984
+ "id": "235d0d7bd7a213f2",
1693
1985
  "trigger": "load",
1694
1986
  "entity": "order",
1695
1987
  "action": "complete",
@@ -1772,11 +2064,11 @@
1772
2064
  "46": 34,
1773
2065
  "47": 44,
1774
2066
  "48": 34,
1775
- "49": 116,
1776
- "50": 111,
1777
- "51": 116,
1778
- "52": 97,
1779
- "53": 108,
2067
+ "49": 118,
2068
+ "50": 97,
2069
+ "51": 108,
2070
+ "52": 117,
2071
+ "53": 101,
1780
2072
  "54": 34,
1781
2073
  "55": 58,
1782
2074
  "56": 49,
@@ -2368,22 +2660,22 @@
2368
2660
  "642": 34,
2369
2661
  "643": 58,
2370
2662
  "644": 34,
2371
- "645": 54,
2372
- "646": 54,
2373
- "647": 100,
2374
- "648": 48,
2375
- "649": 53,
2376
- "650": 98,
2377
- "651": 99,
2378
- "652": 50,
2379
- "653": 49,
2380
- "654": 102,
2381
- "655": 55,
2382
- "656": 99,
2383
- "657": 51,
2384
- "658": 49,
2385
- "659": 100,
2386
- "660": 97,
2663
+ "645": 50,
2664
+ "646": 51,
2665
+ "647": 53,
2666
+ "648": 100,
2667
+ "649": 48,
2668
+ "650": 100,
2669
+ "651": 55,
2670
+ "652": 98,
2671
+ "653": 100,
2672
+ "654": 55,
2673
+ "655": 97,
2674
+ "656": 50,
2675
+ "657": 49,
2676
+ "658": 51,
2677
+ "659": 102,
2678
+ "660": 50,
2387
2679
  "661": 34,
2388
2680
  "662": 44,
2389
2681
  "663": 34,
@@ -2602,7 +2894,7 @@
2602
2894
  "876": 46,
2603
2895
  "877": 56,
2604
2896
  "878": 46,
2605
- "879": 49,
2897
+ "879": 50,
2606
2898
  "880": 34,
2607
2899
  "881": 125,
2608
2900
  "882": 125,
@@ -2623,7 +2915,7 @@
2623
2915
  "name": "order complete",
2624
2916
  "data": {
2625
2917
  "id": "ORD-500",
2626
- "total": 199.99,
2918
+ "value": 199.99,
2627
2919
  "currency": "EUR"
2628
2920
  },
2629
2921
  "context": {
@@ -2692,7 +2984,7 @@
2692
2984
  "consent": {
2693
2985
  "functional": true
2694
2986
  },
2695
- "id": "66d05bc21f7c31da",
2987
+ "id": "235d0d7bd7a213f2",
2696
2988
  "trigger": "load",
2697
2989
  "entity": "order",
2698
2990
  "action": "complete",
@@ -2709,7 +3001,7 @@
2709
3001
  "data": {
2710
3002
  "map": {
2711
3003
  "order_id": "data.id",
2712
- "revenue": "data.total",
3004
+ "revenue": "data.value",
2713
3005
  "currency": "data.currency"
2714
3006
  }
2715
3007
  }
@@ -2795,7 +3087,7 @@
2795
3087
  "name": "order complete",
2796
3088
  "data": {
2797
3089
  "id": "ORD-500",
2798
- "total": 199.99,
3090
+ "value": 199.99,
2799
3091
  "currency": "EUR"
2800
3092
  },
2801
3093
  "context": {
@@ -2864,7 +3156,7 @@
2864
3156
  "consent": {
2865
3157
  "functional": true
2866
3158
  },
2867
- "id": "66d05bc21f7c31da",
3159
+ "id": "235d0d7bd7a213f2",
2868
3160
  "trigger": "load",
2869
3161
  "entity": "order",
2870
3162
  "action": "complete",
@@ -2944,11 +3236,11 @@
2944
3236
  "46": 34,
2945
3237
  "47": 44,
2946
3238
  "48": 34,
2947
- "49": 116,
2948
- "50": 111,
2949
- "51": 116,
2950
- "52": 97,
2951
- "53": 108,
3239
+ "49": 118,
3240
+ "50": 97,
3241
+ "51": 108,
3242
+ "52": 117,
3243
+ "53": 101,
2952
3244
  "54": 34,
2953
3245
  "55": 58,
2954
3246
  "56": 49,
@@ -3540,22 +3832,22 @@
3540
3832
  "642": 34,
3541
3833
  "643": 58,
3542
3834
  "644": 34,
3543
- "645": 54,
3544
- "646": 54,
3545
- "647": 100,
3546
- "648": 48,
3547
- "649": 53,
3548
- "650": 98,
3549
- "651": 99,
3550
- "652": 50,
3551
- "653": 49,
3552
- "654": 102,
3553
- "655": 55,
3554
- "656": 99,
3555
- "657": 51,
3556
- "658": 49,
3557
- "659": 100,
3558
- "660": 97,
3835
+ "645": 50,
3836
+ "646": 51,
3837
+ "647": 53,
3838
+ "648": 100,
3839
+ "649": 48,
3840
+ "650": 100,
3841
+ "651": 55,
3842
+ "652": 98,
3843
+ "653": 100,
3844
+ "654": 55,
3845
+ "655": 97,
3846
+ "656": 50,
3847
+ "657": 49,
3848
+ "658": 51,
3849
+ "659": 102,
3850
+ "660": 50,
3559
3851
  "661": 34,
3560
3852
  "662": 44,
3561
3853
  "663": 34,
@@ -3774,7 +4066,7 @@
3774
4066
  "876": 46,
3775
4067
  "877": 56,
3776
4068
  "878": 46,
3777
- "879": 49,
4069
+ "879": 50,
3778
4070
  "880": 34,
3779
4071
  "881": 125,
3780
4072
  "882": 125,
@@ -3792,7 +4084,7 @@
3792
4084
  "name": "order complete",
3793
4085
  "data": {
3794
4086
  "id": "ORD-500",
3795
- "total": 199.99,
4087
+ "value": 199.99,
3796
4088
  "currency": "EUR"
3797
4089
  },
3798
4090
  "context": {
@@ -3861,7 +4153,7 @@
3861
4153
  "consent": {
3862
4154
  "functional": true
3863
4155
  },
3864
- "id": "66d05bc21f7c31da",
4156
+ "id": "235d0d7bd7a213f2",
3865
4157
  "trigger": "load",
3866
4158
  "entity": "order",
3867
4159
  "action": "complete",
@@ -3941,11 +4233,11 @@
3941
4233
  "46": 34,
3942
4234
  "47": 44,
3943
4235
  "48": 34,
3944
- "49": 116,
3945
- "50": 111,
3946
- "51": 116,
3947
- "52": 97,
3948
- "53": 108,
4236
+ "49": 118,
4237
+ "50": 97,
4238
+ "51": 108,
4239
+ "52": 117,
4240
+ "53": 101,
3949
4241
  "54": 34,
3950
4242
  "55": 58,
3951
4243
  "56": 49,
@@ -4537,22 +4829,22 @@
4537
4829
  "642": 34,
4538
4830
  "643": 58,
4539
4831
  "644": 34,
4540
- "645": 54,
4541
- "646": 54,
4542
- "647": 100,
4543
- "648": 48,
4544
- "649": 53,
4545
- "650": 98,
4546
- "651": 99,
4547
- "652": 50,
4548
- "653": 49,
4549
- "654": 102,
4550
- "655": 55,
4551
- "656": 99,
4552
- "657": 51,
4553
- "658": 49,
4554
- "659": 100,
4555
- "660": 97,
4832
+ "645": 50,
4833
+ "646": 51,
4834
+ "647": 53,
4835
+ "648": 100,
4836
+ "649": 48,
4837
+ "650": 100,
4838
+ "651": 55,
4839
+ "652": 98,
4840
+ "653": 100,
4841
+ "654": 55,
4842
+ "655": 97,
4843
+ "656": 50,
4844
+ "657": 49,
4845
+ "658": 51,
4846
+ "659": 102,
4847
+ "660": 50,
4556
4848
  "661": 34,
4557
4849
  "662": 44,
4558
4850
  "663": 34,
@@ -4771,7 +5063,7 @@
4771
5063
  "876": 46,
4772
5064
  "877": 56,
4773
5065
  "878": 46,
4774
- "879": 49,
5066
+ "879": 50,
4775
5067
  "880": 34,
4776
5068
  "881": 125,
4777
5069
  "882": 125,
@@ -4818,7 +5110,7 @@
4818
5110
  "consent": {
4819
5111
  "functional": true
4820
5112
  },
4821
- "id": "3cdb03af836bf2d0",
5113
+ "id": "f0cc5f6fec3d8eeb",
4822
5114
  "trigger": "load",
4823
5115
  "entity": "page",
4824
5116
  "action": "view",
@@ -5177,22 +5469,22 @@
5177
5469
  "330": 34,
5178
5470
  "331": 58,
5179
5471
  "332": 34,
5180
- "333": 51,
5181
- "334": 99,
5182
- "335": 100,
5183
- "336": 98,
5184
- "337": 48,
5185
- "338": 51,
5186
- "339": 97,
5472
+ "333": 102,
5473
+ "334": 48,
5474
+ "335": 99,
5475
+ "336": 99,
5476
+ "337": 53,
5477
+ "338": 102,
5478
+ "339": 54,
5187
5479
  "340": 102,
5188
- "341": 56,
5189
- "342": 51,
5190
- "343": 54,
5191
- "344": 98,
5192
- "345": 102,
5193
- "346": 50,
5194
- "347": 100,
5195
- "348": 48,
5480
+ "341": 101,
5481
+ "342": 99,
5482
+ "343": 51,
5483
+ "344": 100,
5484
+ "345": 56,
5485
+ "346": 101,
5486
+ "347": 101,
5487
+ "348": 98,
5196
5488
  "349": 34,
5197
5489
  "350": 44,
5198
5490
  "351": 34,
@@ -5406,7 +5698,7 @@
5406
5698
  "559": 46,
5407
5699
  "560": 56,
5408
5700
  "561": 46,
5409
- "562": 49,
5701
+ "562": 50,
5410
5702
  "563": 34,
5411
5703
  "564": 125,
5412
5704
  "565": 125,
@@ -5415,6 +5707,65 @@
5415
5707
  }
5416
5708
  ]
5417
5709
  ]
5710
+ },
5711
+ "silentRule": {
5712
+ "public": false,
5713
+ "description": "A rule with silent: true publishes no message.",
5714
+ "in": {
5715
+ "name": "page view",
5716
+ "data": {
5717
+ "domain": "www.example.com",
5718
+ "title": "walkerOS documentation",
5719
+ "referrer": "https://www.walkeros.io/",
5720
+ "search": "?foo=bar",
5721
+ "hash": "#hash",
5722
+ "id": "/docs/"
5723
+ },
5724
+ "context": {
5725
+ "dev": [
5726
+ "test",
5727
+ 1
5728
+ ]
5729
+ },
5730
+ "globals": {
5731
+ "pagegroup": "docs"
5732
+ },
5733
+ "custom": {
5734
+ "completely": "random"
5735
+ },
5736
+ "user": {
5737
+ "id": "us3r",
5738
+ "device": "c00k13",
5739
+ "session": "s3ss10n"
5740
+ },
5741
+ "nested": [
5742
+ {
5743
+ "entity": "child",
5744
+ "data": {
5745
+ "is": "subordinated"
5746
+ }
5747
+ }
5748
+ ],
5749
+ "consent": {
5750
+ "functional": true
5751
+ },
5752
+ "id": "f0cc5f6fec3d8eeb",
5753
+ "trigger": "load",
5754
+ "entity": "page",
5755
+ "action": "view",
5756
+ "timestamp": 1700000000500,
5757
+ "timing": 3.14,
5758
+ "source": {
5759
+ "count": 1,
5760
+ "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
5761
+ "type": "collector",
5762
+ "schema": "4"
5763
+ }
5764
+ },
5765
+ "mapping": {
5766
+ "silent": true
5767
+ },
5768
+ "out": []
5418
5769
  }
5419
5770
  }
5420
5771
  }
@@ -5599,7 +5950,7 @@
5599
5950
  "code": [
5600
5951
  {
5601
5952
  "lang": "sql",
5602
- "code": "SELECT JSON_EXTRACT_SCALAR(data, '$.total') AS total FROM `project.walkeros.events` WHERE entity = 'order'"
5953
+ "code": "SELECT JSON_EXTRACT_SCALAR(data, '$.value') AS value FROM `project.walkeros.events` WHERE entity = 'order'"
5603
5954
  }
5604
5955
  ]
5605
5956
  },