@fanfare-io/fanfare-sdk-contracts 0.9.0 → 0.11.0
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/beacon.d.ts +2327 -64
- package/dist/beacon.js +119 -105
- package/dist/consumer-me.d.ts +15332 -19994
- package/dist/consumer-me.js +87 -94
- package/dist/errors.d.ts +18 -2
- package/dist/errors.js +37 -71
- package/dist/index.d.ts +1 -0
- package/dist/index.js +63 -58
- package/dist/routing.d.ts +23 -0
- package/dist/routing.js +63 -60
- package/dist/sequence-distribution-context.d.ts +7 -1
- package/dist/sequence-distribution-context.js +12 -5
- package/package.json +2 -2
package/dist/beacon.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare const BeaconEventMoneyStringSchema: v.SchemaWithPipe<readonly [v.
|
|
|
39
39
|
export declare const BeaconEventTimestampStringSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>, v.MaxLengthAction<string, 64, "validation.beacon.timestamp.maxLength">]>;
|
|
40
40
|
export declare const BeaconEventNanosecondsStringSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MaxLengthAction<string, 32, "validation.beacon.timestampNs.maxLength">]>;
|
|
41
41
|
export declare const BeaconEventNumberSchema: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.CheckAction<number, "validation.beacon.number.finite">]>;
|
|
42
|
+
export declare const BeaconEventIdentifierSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>;
|
|
42
43
|
export declare const BeaconEventPropertiesSchema: v.SchemaWithPipe<readonly [v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, "validation.beacon.propertyKey.maxLength">]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2048, "validation.beacon.string.maxLength">]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.CheckAction<number, "validation.beacon.number.finite">]>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>, v.MaxEntriesAction<{
|
|
43
44
|
[x: string]: string | number | boolean | null;
|
|
44
45
|
}, 50, "validation.beacon.eventProperties.maxEntries">]>;
|
|
@@ -95,6 +96,8 @@ export declare const BeaconEventCoreSchema: v.ObjectSchema<{
|
|
|
95
96
|
[x: string]: string | number | boolean | null;
|
|
96
97
|
}, 50, "validation.beacon.eventProperties.maxEntries">]>, undefined>;
|
|
97
98
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
99
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
100
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
98
101
|
}, undefined>;
|
|
99
102
|
export type BeaconEventCore = InferOutput<typeof BeaconEventCoreSchema>;
|
|
100
103
|
export declare const PageViewPropertiesSchema: v.StrictObjectSchema<{
|
|
@@ -247,8 +250,6 @@ export declare const SearchSubmittedPropertiesSchema: v.StrictObjectSchema<{
|
|
|
247
250
|
readonly geoLng: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.CheckAction<number, "validation.beacon.number.finite">]>, undefined>;
|
|
248
251
|
}, undefined>;
|
|
249
252
|
export declare const QRScannedPropertiesSchema: v.StrictObjectSchema<{
|
|
250
|
-
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
251
|
-
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
252
253
|
readonly locationId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
253
254
|
readonly qrPayload: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2048, "validation.beacon.string.maxLength">]>, undefined>;
|
|
254
255
|
readonly postalCode: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -310,7 +311,7 @@ export declare const MessageFailedPropertiesSchema: v.StrictObjectSchema<{
|
|
|
310
311
|
readonly geoLat: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.CheckAction<number, "validation.beacon.number.finite">]>, undefined>;
|
|
311
312
|
readonly geoLng: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.CheckAction<number, "validation.beacon.number.finite">]>, undefined>;
|
|
312
313
|
}, undefined>;
|
|
313
|
-
export declare const PageViewEventSchema: v.ObjectSchema<{
|
|
314
|
+
export declare const PageViewEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
314
315
|
readonly eventName: v.LiteralSchema<"pageView", undefined>;
|
|
315
316
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
316
317
|
readonly pageType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -361,8 +362,63 @@ export declare const PageViewEventSchema: v.ObjectSchema<{
|
|
|
361
362
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
362
363
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
363
364
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
364
|
-
|
|
365
|
-
|
|
365
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
366
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
367
|
+
}, undefined>, v.CheckAction<{
|
|
368
|
+
eventName: "pageView";
|
|
369
|
+
eventProperties?: {
|
|
370
|
+
pageType?: string | undefined;
|
|
371
|
+
postalCode?: string | undefined;
|
|
372
|
+
timezone?: string | undefined;
|
|
373
|
+
botScore?: number | undefined;
|
|
374
|
+
geoLat?: number | undefined;
|
|
375
|
+
geoLng?: number | undefined;
|
|
376
|
+
} | undefined;
|
|
377
|
+
organizationId: string;
|
|
378
|
+
consumerId?: string | undefined;
|
|
379
|
+
isGuest?: boolean | undefined;
|
|
380
|
+
eventId: string;
|
|
381
|
+
eventTimestamp: string;
|
|
382
|
+
eventTimestampNs?: string | undefined;
|
|
383
|
+
receivedTimestamp?: string | undefined;
|
|
384
|
+
receivedTimestampNs?: string | undefined;
|
|
385
|
+
segments?: {
|
|
386
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
387
|
+
} | undefined;
|
|
388
|
+
userId?: string | undefined;
|
|
389
|
+
anonymousId?: string | undefined;
|
|
390
|
+
sessionId?: string | undefined;
|
|
391
|
+
platform?: string | undefined;
|
|
392
|
+
appVersion?: string | undefined;
|
|
393
|
+
deviceType?: string | undefined;
|
|
394
|
+
osName?: string | undefined;
|
|
395
|
+
osVersion?: string | undefined;
|
|
396
|
+
browserName?: string | undefined;
|
|
397
|
+
browserVersion?: string | undefined;
|
|
398
|
+
userAgent?: string | undefined;
|
|
399
|
+
ipAddress?: string | undefined;
|
|
400
|
+
geoCountry?: string | undefined;
|
|
401
|
+
geoRegion?: string | undefined;
|
|
402
|
+
geoCity?: string | undefined;
|
|
403
|
+
geoLatitude?: number | undefined;
|
|
404
|
+
geoLongitude?: number | undefined;
|
|
405
|
+
pageUrl?: string | undefined;
|
|
406
|
+
pagePath?: string | undefined;
|
|
407
|
+
pageTitle?: string | undefined;
|
|
408
|
+
screenName?: string | undefined;
|
|
409
|
+
referrerUrl?: string | undefined;
|
|
410
|
+
referringDomain?: string | undefined;
|
|
411
|
+
utmSource?: string | undefined;
|
|
412
|
+
utmMedium?: string | undefined;
|
|
413
|
+
utmCampaign?: string | undefined;
|
|
414
|
+
utmTerm?: string | undefined;
|
|
415
|
+
utmContent?: string | undefined;
|
|
416
|
+
eventSchemaVersion?: string | undefined;
|
|
417
|
+
beaconRequestId?: string | undefined;
|
|
418
|
+
experienceId?: string | undefined;
|
|
419
|
+
sequenceId?: string | undefined;
|
|
420
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
421
|
+
export declare const ProductImpressionEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
366
422
|
readonly eventName: v.LiteralSchema<"productImpression", undefined>;
|
|
367
423
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
368
424
|
readonly productId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -415,8 +471,65 @@ export declare const ProductImpressionEventSchema: v.ObjectSchema<{
|
|
|
415
471
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
416
472
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
417
473
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
418
|
-
|
|
419
|
-
|
|
474
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
475
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
476
|
+
}, undefined>, v.CheckAction<{
|
|
477
|
+
eventName: "productImpression";
|
|
478
|
+
eventProperties?: {
|
|
479
|
+
productId?: string | undefined;
|
|
480
|
+
listName?: string | undefined;
|
|
481
|
+
position?: number | undefined;
|
|
482
|
+
postalCode?: string | undefined;
|
|
483
|
+
timezone?: string | undefined;
|
|
484
|
+
botScore?: number | undefined;
|
|
485
|
+
geoLat?: number | undefined;
|
|
486
|
+
geoLng?: number | undefined;
|
|
487
|
+
} | undefined;
|
|
488
|
+
organizationId: string;
|
|
489
|
+
consumerId?: string | undefined;
|
|
490
|
+
isGuest?: boolean | undefined;
|
|
491
|
+
eventId: string;
|
|
492
|
+
eventTimestamp: string;
|
|
493
|
+
eventTimestampNs?: string | undefined;
|
|
494
|
+
receivedTimestamp?: string | undefined;
|
|
495
|
+
receivedTimestampNs?: string | undefined;
|
|
496
|
+
segments?: {
|
|
497
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
498
|
+
} | undefined;
|
|
499
|
+
userId?: string | undefined;
|
|
500
|
+
anonymousId?: string | undefined;
|
|
501
|
+
sessionId?: string | undefined;
|
|
502
|
+
platform?: string | undefined;
|
|
503
|
+
appVersion?: string | undefined;
|
|
504
|
+
deviceType?: string | undefined;
|
|
505
|
+
osName?: string | undefined;
|
|
506
|
+
osVersion?: string | undefined;
|
|
507
|
+
browserName?: string | undefined;
|
|
508
|
+
browserVersion?: string | undefined;
|
|
509
|
+
userAgent?: string | undefined;
|
|
510
|
+
ipAddress?: string | undefined;
|
|
511
|
+
geoCountry?: string | undefined;
|
|
512
|
+
geoRegion?: string | undefined;
|
|
513
|
+
geoCity?: string | undefined;
|
|
514
|
+
geoLatitude?: number | undefined;
|
|
515
|
+
geoLongitude?: number | undefined;
|
|
516
|
+
pageUrl?: string | undefined;
|
|
517
|
+
pagePath?: string | undefined;
|
|
518
|
+
pageTitle?: string | undefined;
|
|
519
|
+
screenName?: string | undefined;
|
|
520
|
+
referrerUrl?: string | undefined;
|
|
521
|
+
referringDomain?: string | undefined;
|
|
522
|
+
utmSource?: string | undefined;
|
|
523
|
+
utmMedium?: string | undefined;
|
|
524
|
+
utmCampaign?: string | undefined;
|
|
525
|
+
utmTerm?: string | undefined;
|
|
526
|
+
utmContent?: string | undefined;
|
|
527
|
+
eventSchemaVersion?: string | undefined;
|
|
528
|
+
beaconRequestId?: string | undefined;
|
|
529
|
+
experienceId?: string | undefined;
|
|
530
|
+
sequenceId?: string | undefined;
|
|
531
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
532
|
+
export declare const ProductClickEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
420
533
|
readonly eventName: v.LiteralSchema<"productClick", undefined>;
|
|
421
534
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
422
535
|
readonly productId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -469,8 +582,65 @@ export declare const ProductClickEventSchema: v.ObjectSchema<{
|
|
|
469
582
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
470
583
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
471
584
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
472
|
-
|
|
473
|
-
|
|
585
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
586
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
587
|
+
}, undefined>, v.CheckAction<{
|
|
588
|
+
eventName: "productClick";
|
|
589
|
+
eventProperties?: {
|
|
590
|
+
productId?: string | undefined;
|
|
591
|
+
listName?: string | undefined;
|
|
592
|
+
position?: number | undefined;
|
|
593
|
+
postalCode?: string | undefined;
|
|
594
|
+
timezone?: string | undefined;
|
|
595
|
+
botScore?: number | undefined;
|
|
596
|
+
geoLat?: number | undefined;
|
|
597
|
+
geoLng?: number | undefined;
|
|
598
|
+
} | undefined;
|
|
599
|
+
organizationId: string;
|
|
600
|
+
consumerId?: string | undefined;
|
|
601
|
+
isGuest?: boolean | undefined;
|
|
602
|
+
eventId: string;
|
|
603
|
+
eventTimestamp: string;
|
|
604
|
+
eventTimestampNs?: string | undefined;
|
|
605
|
+
receivedTimestamp?: string | undefined;
|
|
606
|
+
receivedTimestampNs?: string | undefined;
|
|
607
|
+
segments?: {
|
|
608
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
609
|
+
} | undefined;
|
|
610
|
+
userId?: string | undefined;
|
|
611
|
+
anonymousId?: string | undefined;
|
|
612
|
+
sessionId?: string | undefined;
|
|
613
|
+
platform?: string | undefined;
|
|
614
|
+
appVersion?: string | undefined;
|
|
615
|
+
deviceType?: string | undefined;
|
|
616
|
+
osName?: string | undefined;
|
|
617
|
+
osVersion?: string | undefined;
|
|
618
|
+
browserName?: string | undefined;
|
|
619
|
+
browserVersion?: string | undefined;
|
|
620
|
+
userAgent?: string | undefined;
|
|
621
|
+
ipAddress?: string | undefined;
|
|
622
|
+
geoCountry?: string | undefined;
|
|
623
|
+
geoRegion?: string | undefined;
|
|
624
|
+
geoCity?: string | undefined;
|
|
625
|
+
geoLatitude?: number | undefined;
|
|
626
|
+
geoLongitude?: number | undefined;
|
|
627
|
+
pageUrl?: string | undefined;
|
|
628
|
+
pagePath?: string | undefined;
|
|
629
|
+
pageTitle?: string | undefined;
|
|
630
|
+
screenName?: string | undefined;
|
|
631
|
+
referrerUrl?: string | undefined;
|
|
632
|
+
referringDomain?: string | undefined;
|
|
633
|
+
utmSource?: string | undefined;
|
|
634
|
+
utmMedium?: string | undefined;
|
|
635
|
+
utmCampaign?: string | undefined;
|
|
636
|
+
utmTerm?: string | undefined;
|
|
637
|
+
utmContent?: string | undefined;
|
|
638
|
+
eventSchemaVersion?: string | undefined;
|
|
639
|
+
beaconRequestId?: string | undefined;
|
|
640
|
+
experienceId?: string | undefined;
|
|
641
|
+
sequenceId?: string | undefined;
|
|
642
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
643
|
+
export declare const ProductViewEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
474
644
|
readonly eventName: v.LiteralSchema<"productView", undefined>;
|
|
475
645
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
476
646
|
readonly productId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -528,8 +698,70 @@ export declare const ProductViewEventSchema: v.ObjectSchema<{
|
|
|
528
698
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
529
699
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
530
700
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
531
|
-
|
|
532
|
-
|
|
701
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
702
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
703
|
+
}, undefined>, v.CheckAction<{
|
|
704
|
+
eventName: "productView";
|
|
705
|
+
eventProperties?: {
|
|
706
|
+
productId?: string | undefined;
|
|
707
|
+
sku?: string | undefined;
|
|
708
|
+
productName?: string | undefined;
|
|
709
|
+
category?: string | undefined;
|
|
710
|
+
brand?: string | undefined;
|
|
711
|
+
variant?: string | undefined;
|
|
712
|
+
price?: string | undefined;
|
|
713
|
+
currency?: string | undefined;
|
|
714
|
+
postalCode?: string | undefined;
|
|
715
|
+
timezone?: string | undefined;
|
|
716
|
+
botScore?: number | undefined;
|
|
717
|
+
geoLat?: number | undefined;
|
|
718
|
+
geoLng?: number | undefined;
|
|
719
|
+
} | undefined;
|
|
720
|
+
organizationId: string;
|
|
721
|
+
consumerId?: string | undefined;
|
|
722
|
+
isGuest?: boolean | undefined;
|
|
723
|
+
eventId: string;
|
|
724
|
+
eventTimestamp: string;
|
|
725
|
+
eventTimestampNs?: string | undefined;
|
|
726
|
+
receivedTimestamp?: string | undefined;
|
|
727
|
+
receivedTimestampNs?: string | undefined;
|
|
728
|
+
segments?: {
|
|
729
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
730
|
+
} | undefined;
|
|
731
|
+
userId?: string | undefined;
|
|
732
|
+
anonymousId?: string | undefined;
|
|
733
|
+
sessionId?: string | undefined;
|
|
734
|
+
platform?: string | undefined;
|
|
735
|
+
appVersion?: string | undefined;
|
|
736
|
+
deviceType?: string | undefined;
|
|
737
|
+
osName?: string | undefined;
|
|
738
|
+
osVersion?: string | undefined;
|
|
739
|
+
browserName?: string | undefined;
|
|
740
|
+
browserVersion?: string | undefined;
|
|
741
|
+
userAgent?: string | undefined;
|
|
742
|
+
ipAddress?: string | undefined;
|
|
743
|
+
geoCountry?: string | undefined;
|
|
744
|
+
geoRegion?: string | undefined;
|
|
745
|
+
geoCity?: string | undefined;
|
|
746
|
+
geoLatitude?: number | undefined;
|
|
747
|
+
geoLongitude?: number | undefined;
|
|
748
|
+
pageUrl?: string | undefined;
|
|
749
|
+
pagePath?: string | undefined;
|
|
750
|
+
pageTitle?: string | undefined;
|
|
751
|
+
screenName?: string | undefined;
|
|
752
|
+
referrerUrl?: string | undefined;
|
|
753
|
+
referringDomain?: string | undefined;
|
|
754
|
+
utmSource?: string | undefined;
|
|
755
|
+
utmMedium?: string | undefined;
|
|
756
|
+
utmCampaign?: string | undefined;
|
|
757
|
+
utmTerm?: string | undefined;
|
|
758
|
+
utmContent?: string | undefined;
|
|
759
|
+
eventSchemaVersion?: string | undefined;
|
|
760
|
+
beaconRequestId?: string | undefined;
|
|
761
|
+
experienceId?: string | undefined;
|
|
762
|
+
sequenceId?: string | undefined;
|
|
763
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
764
|
+
export declare const AddToCartEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
533
765
|
readonly eventName: v.LiteralSchema<"addToCart", undefined>;
|
|
534
766
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
535
767
|
readonly cartId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -588,8 +820,71 @@ export declare const AddToCartEventSchema: v.ObjectSchema<{
|
|
|
588
820
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
589
821
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
590
822
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
591
|
-
|
|
592
|
-
|
|
823
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
824
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
825
|
+
}, undefined>, v.CheckAction<{
|
|
826
|
+
eventName: "addToCart";
|
|
827
|
+
eventProperties?: {
|
|
828
|
+
cartId?: string | undefined;
|
|
829
|
+
productId?: string | undefined;
|
|
830
|
+
sku?: string | undefined;
|
|
831
|
+
productName?: string | undefined;
|
|
832
|
+
category?: string | undefined;
|
|
833
|
+
variant?: string | undefined;
|
|
834
|
+
price?: string | undefined;
|
|
835
|
+
quantity?: number | undefined;
|
|
836
|
+
currency?: string | undefined;
|
|
837
|
+
postalCode?: string | undefined;
|
|
838
|
+
timezone?: string | undefined;
|
|
839
|
+
botScore?: number | undefined;
|
|
840
|
+
geoLat?: number | undefined;
|
|
841
|
+
geoLng?: number | undefined;
|
|
842
|
+
} | undefined;
|
|
843
|
+
organizationId: string;
|
|
844
|
+
consumerId?: string | undefined;
|
|
845
|
+
isGuest?: boolean | undefined;
|
|
846
|
+
eventId: string;
|
|
847
|
+
eventTimestamp: string;
|
|
848
|
+
eventTimestampNs?: string | undefined;
|
|
849
|
+
receivedTimestamp?: string | undefined;
|
|
850
|
+
receivedTimestampNs?: string | undefined;
|
|
851
|
+
segments?: {
|
|
852
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
853
|
+
} | undefined;
|
|
854
|
+
userId?: string | undefined;
|
|
855
|
+
anonymousId?: string | undefined;
|
|
856
|
+
sessionId?: string | undefined;
|
|
857
|
+
platform?: string | undefined;
|
|
858
|
+
appVersion?: string | undefined;
|
|
859
|
+
deviceType?: string | undefined;
|
|
860
|
+
osName?: string | undefined;
|
|
861
|
+
osVersion?: string | undefined;
|
|
862
|
+
browserName?: string | undefined;
|
|
863
|
+
browserVersion?: string | undefined;
|
|
864
|
+
userAgent?: string | undefined;
|
|
865
|
+
ipAddress?: string | undefined;
|
|
866
|
+
geoCountry?: string | undefined;
|
|
867
|
+
geoRegion?: string | undefined;
|
|
868
|
+
geoCity?: string | undefined;
|
|
869
|
+
geoLatitude?: number | undefined;
|
|
870
|
+
geoLongitude?: number | undefined;
|
|
871
|
+
pageUrl?: string | undefined;
|
|
872
|
+
pagePath?: string | undefined;
|
|
873
|
+
pageTitle?: string | undefined;
|
|
874
|
+
screenName?: string | undefined;
|
|
875
|
+
referrerUrl?: string | undefined;
|
|
876
|
+
referringDomain?: string | undefined;
|
|
877
|
+
utmSource?: string | undefined;
|
|
878
|
+
utmMedium?: string | undefined;
|
|
879
|
+
utmCampaign?: string | undefined;
|
|
880
|
+
utmTerm?: string | undefined;
|
|
881
|
+
utmContent?: string | undefined;
|
|
882
|
+
eventSchemaVersion?: string | undefined;
|
|
883
|
+
beaconRequestId?: string | undefined;
|
|
884
|
+
experienceId?: string | undefined;
|
|
885
|
+
sequenceId?: string | undefined;
|
|
886
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
887
|
+
export declare const RemoveFromCartEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
593
888
|
readonly eventName: v.LiteralSchema<"removeFromCart", undefined>;
|
|
594
889
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
595
890
|
readonly cartId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -648,8 +943,71 @@ export declare const RemoveFromCartEventSchema: v.ObjectSchema<{
|
|
|
648
943
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
649
944
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
650
945
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
651
|
-
|
|
652
|
-
|
|
946
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
947
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
948
|
+
}, undefined>, v.CheckAction<{
|
|
949
|
+
eventName: "removeFromCart";
|
|
950
|
+
eventProperties?: {
|
|
951
|
+
cartId?: string | undefined;
|
|
952
|
+
productId?: string | undefined;
|
|
953
|
+
sku?: string | undefined;
|
|
954
|
+
productName?: string | undefined;
|
|
955
|
+
category?: string | undefined;
|
|
956
|
+
variant?: string | undefined;
|
|
957
|
+
price?: string | undefined;
|
|
958
|
+
quantity?: number | undefined;
|
|
959
|
+
currency?: string | undefined;
|
|
960
|
+
postalCode?: string | undefined;
|
|
961
|
+
timezone?: string | undefined;
|
|
962
|
+
botScore?: number | undefined;
|
|
963
|
+
geoLat?: number | undefined;
|
|
964
|
+
geoLng?: number | undefined;
|
|
965
|
+
} | undefined;
|
|
966
|
+
organizationId: string;
|
|
967
|
+
consumerId?: string | undefined;
|
|
968
|
+
isGuest?: boolean | undefined;
|
|
969
|
+
eventId: string;
|
|
970
|
+
eventTimestamp: string;
|
|
971
|
+
eventTimestampNs?: string | undefined;
|
|
972
|
+
receivedTimestamp?: string | undefined;
|
|
973
|
+
receivedTimestampNs?: string | undefined;
|
|
974
|
+
segments?: {
|
|
975
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
976
|
+
} | undefined;
|
|
977
|
+
userId?: string | undefined;
|
|
978
|
+
anonymousId?: string | undefined;
|
|
979
|
+
sessionId?: string | undefined;
|
|
980
|
+
platform?: string | undefined;
|
|
981
|
+
appVersion?: string | undefined;
|
|
982
|
+
deviceType?: string | undefined;
|
|
983
|
+
osName?: string | undefined;
|
|
984
|
+
osVersion?: string | undefined;
|
|
985
|
+
browserName?: string | undefined;
|
|
986
|
+
browserVersion?: string | undefined;
|
|
987
|
+
userAgent?: string | undefined;
|
|
988
|
+
ipAddress?: string | undefined;
|
|
989
|
+
geoCountry?: string | undefined;
|
|
990
|
+
geoRegion?: string | undefined;
|
|
991
|
+
geoCity?: string | undefined;
|
|
992
|
+
geoLatitude?: number | undefined;
|
|
993
|
+
geoLongitude?: number | undefined;
|
|
994
|
+
pageUrl?: string | undefined;
|
|
995
|
+
pagePath?: string | undefined;
|
|
996
|
+
pageTitle?: string | undefined;
|
|
997
|
+
screenName?: string | undefined;
|
|
998
|
+
referrerUrl?: string | undefined;
|
|
999
|
+
referringDomain?: string | undefined;
|
|
1000
|
+
utmSource?: string | undefined;
|
|
1001
|
+
utmMedium?: string | undefined;
|
|
1002
|
+
utmCampaign?: string | undefined;
|
|
1003
|
+
utmTerm?: string | undefined;
|
|
1004
|
+
utmContent?: string | undefined;
|
|
1005
|
+
eventSchemaVersion?: string | undefined;
|
|
1006
|
+
beaconRequestId?: string | undefined;
|
|
1007
|
+
experienceId?: string | undefined;
|
|
1008
|
+
sequenceId?: string | undefined;
|
|
1009
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
1010
|
+
export declare const ViewCartEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
653
1011
|
readonly eventName: v.LiteralSchema<"viewCart", undefined>;
|
|
654
1012
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
655
1013
|
readonly cartId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -703,8 +1061,66 @@ export declare const ViewCartEventSchema: v.ObjectSchema<{
|
|
|
703
1061
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
704
1062
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
705
1063
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
706
|
-
|
|
707
|
-
|
|
1064
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1065
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1066
|
+
}, undefined>, v.CheckAction<{
|
|
1067
|
+
eventName: "viewCart";
|
|
1068
|
+
eventProperties?: {
|
|
1069
|
+
cartId?: string | undefined;
|
|
1070
|
+
cartTotal?: string | undefined;
|
|
1071
|
+
itemCount?: number | undefined;
|
|
1072
|
+
currency?: string | undefined;
|
|
1073
|
+
postalCode?: string | undefined;
|
|
1074
|
+
timezone?: string | undefined;
|
|
1075
|
+
botScore?: number | undefined;
|
|
1076
|
+
geoLat?: number | undefined;
|
|
1077
|
+
geoLng?: number | undefined;
|
|
1078
|
+
} | undefined;
|
|
1079
|
+
organizationId: string;
|
|
1080
|
+
consumerId?: string | undefined;
|
|
1081
|
+
isGuest?: boolean | undefined;
|
|
1082
|
+
eventId: string;
|
|
1083
|
+
eventTimestamp: string;
|
|
1084
|
+
eventTimestampNs?: string | undefined;
|
|
1085
|
+
receivedTimestamp?: string | undefined;
|
|
1086
|
+
receivedTimestampNs?: string | undefined;
|
|
1087
|
+
segments?: {
|
|
1088
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
1089
|
+
} | undefined;
|
|
1090
|
+
userId?: string | undefined;
|
|
1091
|
+
anonymousId?: string | undefined;
|
|
1092
|
+
sessionId?: string | undefined;
|
|
1093
|
+
platform?: string | undefined;
|
|
1094
|
+
appVersion?: string | undefined;
|
|
1095
|
+
deviceType?: string | undefined;
|
|
1096
|
+
osName?: string | undefined;
|
|
1097
|
+
osVersion?: string | undefined;
|
|
1098
|
+
browserName?: string | undefined;
|
|
1099
|
+
browserVersion?: string | undefined;
|
|
1100
|
+
userAgent?: string | undefined;
|
|
1101
|
+
ipAddress?: string | undefined;
|
|
1102
|
+
geoCountry?: string | undefined;
|
|
1103
|
+
geoRegion?: string | undefined;
|
|
1104
|
+
geoCity?: string | undefined;
|
|
1105
|
+
geoLatitude?: number | undefined;
|
|
1106
|
+
geoLongitude?: number | undefined;
|
|
1107
|
+
pageUrl?: string | undefined;
|
|
1108
|
+
pagePath?: string | undefined;
|
|
1109
|
+
pageTitle?: string | undefined;
|
|
1110
|
+
screenName?: string | undefined;
|
|
1111
|
+
referrerUrl?: string | undefined;
|
|
1112
|
+
referringDomain?: string | undefined;
|
|
1113
|
+
utmSource?: string | undefined;
|
|
1114
|
+
utmMedium?: string | undefined;
|
|
1115
|
+
utmCampaign?: string | undefined;
|
|
1116
|
+
utmTerm?: string | undefined;
|
|
1117
|
+
utmContent?: string | undefined;
|
|
1118
|
+
eventSchemaVersion?: string | undefined;
|
|
1119
|
+
beaconRequestId?: string | undefined;
|
|
1120
|
+
experienceId?: string | undefined;
|
|
1121
|
+
sequenceId?: string | undefined;
|
|
1122
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
1123
|
+
export declare const BeginCheckoutEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
708
1124
|
readonly eventName: v.LiteralSchema<"beginCheckout", undefined>;
|
|
709
1125
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
710
1126
|
readonly cartId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -759,8 +1175,67 @@ export declare const BeginCheckoutEventSchema: v.ObjectSchema<{
|
|
|
759
1175
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
760
1176
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
761
1177
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
762
|
-
|
|
763
|
-
|
|
1178
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1179
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1180
|
+
}, undefined>, v.CheckAction<{
|
|
1181
|
+
eventName: "beginCheckout";
|
|
1182
|
+
eventProperties?: {
|
|
1183
|
+
cartId?: string | undefined;
|
|
1184
|
+
cartTotal?: string | undefined;
|
|
1185
|
+
itemCount?: number | undefined;
|
|
1186
|
+
currency?: string | undefined;
|
|
1187
|
+
couponCodeApplied?: string | undefined;
|
|
1188
|
+
postalCode?: string | undefined;
|
|
1189
|
+
timezone?: string | undefined;
|
|
1190
|
+
botScore?: number | undefined;
|
|
1191
|
+
geoLat?: number | undefined;
|
|
1192
|
+
geoLng?: number | undefined;
|
|
1193
|
+
} | undefined;
|
|
1194
|
+
organizationId: string;
|
|
1195
|
+
consumerId?: string | undefined;
|
|
1196
|
+
isGuest?: boolean | undefined;
|
|
1197
|
+
eventId: string;
|
|
1198
|
+
eventTimestamp: string;
|
|
1199
|
+
eventTimestampNs?: string | undefined;
|
|
1200
|
+
receivedTimestamp?: string | undefined;
|
|
1201
|
+
receivedTimestampNs?: string | undefined;
|
|
1202
|
+
segments?: {
|
|
1203
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
1204
|
+
} | undefined;
|
|
1205
|
+
userId?: string | undefined;
|
|
1206
|
+
anonymousId?: string | undefined;
|
|
1207
|
+
sessionId?: string | undefined;
|
|
1208
|
+
platform?: string | undefined;
|
|
1209
|
+
appVersion?: string | undefined;
|
|
1210
|
+
deviceType?: string | undefined;
|
|
1211
|
+
osName?: string | undefined;
|
|
1212
|
+
osVersion?: string | undefined;
|
|
1213
|
+
browserName?: string | undefined;
|
|
1214
|
+
browserVersion?: string | undefined;
|
|
1215
|
+
userAgent?: string | undefined;
|
|
1216
|
+
ipAddress?: string | undefined;
|
|
1217
|
+
geoCountry?: string | undefined;
|
|
1218
|
+
geoRegion?: string | undefined;
|
|
1219
|
+
geoCity?: string | undefined;
|
|
1220
|
+
geoLatitude?: number | undefined;
|
|
1221
|
+
geoLongitude?: number | undefined;
|
|
1222
|
+
pageUrl?: string | undefined;
|
|
1223
|
+
pagePath?: string | undefined;
|
|
1224
|
+
pageTitle?: string | undefined;
|
|
1225
|
+
screenName?: string | undefined;
|
|
1226
|
+
referrerUrl?: string | undefined;
|
|
1227
|
+
referringDomain?: string | undefined;
|
|
1228
|
+
utmSource?: string | undefined;
|
|
1229
|
+
utmMedium?: string | undefined;
|
|
1230
|
+
utmCampaign?: string | undefined;
|
|
1231
|
+
utmTerm?: string | undefined;
|
|
1232
|
+
utmContent?: string | undefined;
|
|
1233
|
+
eventSchemaVersion?: string | undefined;
|
|
1234
|
+
beaconRequestId?: string | undefined;
|
|
1235
|
+
experienceId?: string | undefined;
|
|
1236
|
+
sequenceId?: string | undefined;
|
|
1237
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
1238
|
+
export declare const PurchaseEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
764
1239
|
readonly eventName: v.LiteralSchema<"purchase", undefined>;
|
|
765
1240
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
766
1241
|
readonly orderId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -836,8 +1311,80 @@ export declare const PurchaseEventSchema: v.ObjectSchema<{
|
|
|
836
1311
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
837
1312
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
838
1313
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
839
|
-
|
|
840
|
-
|
|
1314
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1315
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1316
|
+
}, undefined>, v.CheckAction<{
|
|
1317
|
+
eventName: "purchase";
|
|
1318
|
+
eventProperties?: {
|
|
1319
|
+
orderId?: string | undefined;
|
|
1320
|
+
transactionId?: string | undefined;
|
|
1321
|
+
totalRevenue?: string | undefined;
|
|
1322
|
+
subtotal?: string | undefined;
|
|
1323
|
+
tax?: string | undefined;
|
|
1324
|
+
shippingCost?: string | undefined;
|
|
1325
|
+
currency?: string | undefined;
|
|
1326
|
+
couponCodeUsed?: string | undefined;
|
|
1327
|
+
discountAmount?: string | undefined;
|
|
1328
|
+
products?: {
|
|
1329
|
+
productId?: string | undefined;
|
|
1330
|
+
sku?: string | undefined;
|
|
1331
|
+
productName?: string | undefined;
|
|
1332
|
+
category?: string | undefined;
|
|
1333
|
+
variant?: string | undefined;
|
|
1334
|
+
price?: string | undefined;
|
|
1335
|
+
quantity?: number | undefined;
|
|
1336
|
+
}[] | undefined;
|
|
1337
|
+
postalCode?: string | undefined;
|
|
1338
|
+
timezone?: string | undefined;
|
|
1339
|
+
botScore?: number | undefined;
|
|
1340
|
+
geoLat?: number | undefined;
|
|
1341
|
+
geoLng?: number | undefined;
|
|
1342
|
+
} | undefined;
|
|
1343
|
+
organizationId: string;
|
|
1344
|
+
consumerId?: string | undefined;
|
|
1345
|
+
isGuest?: boolean | undefined;
|
|
1346
|
+
eventId: string;
|
|
1347
|
+
eventTimestamp: string;
|
|
1348
|
+
eventTimestampNs?: string | undefined;
|
|
1349
|
+
receivedTimestamp?: string | undefined;
|
|
1350
|
+
receivedTimestampNs?: string | undefined;
|
|
1351
|
+
segments?: {
|
|
1352
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
1353
|
+
} | undefined;
|
|
1354
|
+
userId?: string | undefined;
|
|
1355
|
+
anonymousId?: string | undefined;
|
|
1356
|
+
sessionId?: string | undefined;
|
|
1357
|
+
platform?: string | undefined;
|
|
1358
|
+
appVersion?: string | undefined;
|
|
1359
|
+
deviceType?: string | undefined;
|
|
1360
|
+
osName?: string | undefined;
|
|
1361
|
+
osVersion?: string | undefined;
|
|
1362
|
+
browserName?: string | undefined;
|
|
1363
|
+
browserVersion?: string | undefined;
|
|
1364
|
+
userAgent?: string | undefined;
|
|
1365
|
+
ipAddress?: string | undefined;
|
|
1366
|
+
geoCountry?: string | undefined;
|
|
1367
|
+
geoRegion?: string | undefined;
|
|
1368
|
+
geoCity?: string | undefined;
|
|
1369
|
+
geoLatitude?: number | undefined;
|
|
1370
|
+
geoLongitude?: number | undefined;
|
|
1371
|
+
pageUrl?: string | undefined;
|
|
1372
|
+
pagePath?: string | undefined;
|
|
1373
|
+
pageTitle?: string | undefined;
|
|
1374
|
+
screenName?: string | undefined;
|
|
1375
|
+
referrerUrl?: string | undefined;
|
|
1376
|
+
referringDomain?: string | undefined;
|
|
1377
|
+
utmSource?: string | undefined;
|
|
1378
|
+
utmMedium?: string | undefined;
|
|
1379
|
+
utmCampaign?: string | undefined;
|
|
1380
|
+
utmTerm?: string | undefined;
|
|
1381
|
+
utmContent?: string | undefined;
|
|
1382
|
+
eventSchemaVersion?: string | undefined;
|
|
1383
|
+
beaconRequestId?: string | undefined;
|
|
1384
|
+
experienceId?: string | undefined;
|
|
1385
|
+
sequenceId?: string | undefined;
|
|
1386
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
1387
|
+
export declare const SearchSubmittedEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
841
1388
|
readonly eventName: v.LiteralSchema<"searchSubmitted", undefined>;
|
|
842
1389
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
843
1390
|
readonly searchQuery: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2048, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -889,12 +1436,66 @@ export declare const SearchSubmittedEventSchema: v.ObjectSchema<{
|
|
|
889
1436
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
890
1437
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
891
1438
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
892
|
-
|
|
893
|
-
|
|
1439
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1440
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1441
|
+
}, undefined>, v.CheckAction<{
|
|
1442
|
+
eventName: "searchSubmitted";
|
|
1443
|
+
eventProperties?: {
|
|
1444
|
+
searchQuery?: string | undefined;
|
|
1445
|
+
resultsCount?: number | undefined;
|
|
1446
|
+
postalCode?: string | undefined;
|
|
1447
|
+
timezone?: string | undefined;
|
|
1448
|
+
botScore?: number | undefined;
|
|
1449
|
+
geoLat?: number | undefined;
|
|
1450
|
+
geoLng?: number | undefined;
|
|
1451
|
+
} | undefined;
|
|
1452
|
+
organizationId: string;
|
|
1453
|
+
consumerId?: string | undefined;
|
|
1454
|
+
isGuest?: boolean | undefined;
|
|
1455
|
+
eventId: string;
|
|
1456
|
+
eventTimestamp: string;
|
|
1457
|
+
eventTimestampNs?: string | undefined;
|
|
1458
|
+
receivedTimestamp?: string | undefined;
|
|
1459
|
+
receivedTimestampNs?: string | undefined;
|
|
1460
|
+
segments?: {
|
|
1461
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
1462
|
+
} | undefined;
|
|
1463
|
+
userId?: string | undefined;
|
|
1464
|
+
anonymousId?: string | undefined;
|
|
1465
|
+
sessionId?: string | undefined;
|
|
1466
|
+
platform?: string | undefined;
|
|
1467
|
+
appVersion?: string | undefined;
|
|
1468
|
+
deviceType?: string | undefined;
|
|
1469
|
+
osName?: string | undefined;
|
|
1470
|
+
osVersion?: string | undefined;
|
|
1471
|
+
browserName?: string | undefined;
|
|
1472
|
+
browserVersion?: string | undefined;
|
|
1473
|
+
userAgent?: string | undefined;
|
|
1474
|
+
ipAddress?: string | undefined;
|
|
1475
|
+
geoCountry?: string | undefined;
|
|
1476
|
+
geoRegion?: string | undefined;
|
|
1477
|
+
geoCity?: string | undefined;
|
|
1478
|
+
geoLatitude?: number | undefined;
|
|
1479
|
+
geoLongitude?: number | undefined;
|
|
1480
|
+
pageUrl?: string | undefined;
|
|
1481
|
+
pagePath?: string | undefined;
|
|
1482
|
+
pageTitle?: string | undefined;
|
|
1483
|
+
screenName?: string | undefined;
|
|
1484
|
+
referrerUrl?: string | undefined;
|
|
1485
|
+
referringDomain?: string | undefined;
|
|
1486
|
+
utmSource?: string | undefined;
|
|
1487
|
+
utmMedium?: string | undefined;
|
|
1488
|
+
utmCampaign?: string | undefined;
|
|
1489
|
+
utmTerm?: string | undefined;
|
|
1490
|
+
utmContent?: string | undefined;
|
|
1491
|
+
eventSchemaVersion?: string | undefined;
|
|
1492
|
+
beaconRequestId?: string | undefined;
|
|
1493
|
+
experienceId?: string | undefined;
|
|
1494
|
+
sequenceId?: string | undefined;
|
|
1495
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
1496
|
+
export declare const QRScannedEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
894
1497
|
readonly eventName: v.LiteralSchema<"qrScanned", undefined>;
|
|
895
1498
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
896
|
-
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
897
|
-
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
898
1499
|
readonly locationId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
899
1500
|
readonly qrPayload: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2048, "validation.beacon.string.maxLength">]>, undefined>;
|
|
900
1501
|
readonly postalCode: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -944,8 +1545,64 @@ export declare const QRScannedEventSchema: v.ObjectSchema<{
|
|
|
944
1545
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
945
1546
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
946
1547
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
947
|
-
|
|
948
|
-
|
|
1548
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1549
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1550
|
+
}, undefined>, v.CheckAction<{
|
|
1551
|
+
eventName: "qrScanned";
|
|
1552
|
+
eventProperties?: {
|
|
1553
|
+
locationId?: string | undefined;
|
|
1554
|
+
qrPayload?: string | undefined;
|
|
1555
|
+
postalCode?: string | undefined;
|
|
1556
|
+
timezone?: string | undefined;
|
|
1557
|
+
botScore?: number | undefined;
|
|
1558
|
+
geoLat?: number | undefined;
|
|
1559
|
+
geoLng?: number | undefined;
|
|
1560
|
+
} | undefined;
|
|
1561
|
+
organizationId: string;
|
|
1562
|
+
consumerId?: string | undefined;
|
|
1563
|
+
isGuest?: boolean | undefined;
|
|
1564
|
+
eventId: string;
|
|
1565
|
+
eventTimestamp: string;
|
|
1566
|
+
eventTimestampNs?: string | undefined;
|
|
1567
|
+
receivedTimestamp?: string | undefined;
|
|
1568
|
+
receivedTimestampNs?: string | undefined;
|
|
1569
|
+
segments?: {
|
|
1570
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
1571
|
+
} | undefined;
|
|
1572
|
+
userId?: string | undefined;
|
|
1573
|
+
anonymousId?: string | undefined;
|
|
1574
|
+
sessionId?: string | undefined;
|
|
1575
|
+
platform?: string | undefined;
|
|
1576
|
+
appVersion?: string | undefined;
|
|
1577
|
+
deviceType?: string | undefined;
|
|
1578
|
+
osName?: string | undefined;
|
|
1579
|
+
osVersion?: string | undefined;
|
|
1580
|
+
browserName?: string | undefined;
|
|
1581
|
+
browserVersion?: string | undefined;
|
|
1582
|
+
userAgent?: string | undefined;
|
|
1583
|
+
ipAddress?: string | undefined;
|
|
1584
|
+
geoCountry?: string | undefined;
|
|
1585
|
+
geoRegion?: string | undefined;
|
|
1586
|
+
geoCity?: string | undefined;
|
|
1587
|
+
geoLatitude?: number | undefined;
|
|
1588
|
+
geoLongitude?: number | undefined;
|
|
1589
|
+
pageUrl?: string | undefined;
|
|
1590
|
+
pagePath?: string | undefined;
|
|
1591
|
+
pageTitle?: string | undefined;
|
|
1592
|
+
screenName?: string | undefined;
|
|
1593
|
+
referrerUrl?: string | undefined;
|
|
1594
|
+
referringDomain?: string | undefined;
|
|
1595
|
+
utmSource?: string | undefined;
|
|
1596
|
+
utmMedium?: string | undefined;
|
|
1597
|
+
utmCampaign?: string | undefined;
|
|
1598
|
+
utmTerm?: string | undefined;
|
|
1599
|
+
utmContent?: string | undefined;
|
|
1600
|
+
eventSchemaVersion?: string | undefined;
|
|
1601
|
+
beaconRequestId?: string | undefined;
|
|
1602
|
+
experienceId?: string | undefined;
|
|
1603
|
+
sequenceId?: string | undefined;
|
|
1604
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
1605
|
+
export declare const MessageSentEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
949
1606
|
readonly eventName: v.LiteralSchema<"messageSent", undefined>;
|
|
950
1607
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
951
1608
|
readonly channel: v.OptionalSchema<v.PicklistSchema<["email", "sms"], undefined>, undefined>;
|
|
@@ -1000,8 +1657,67 @@ export declare const MessageSentEventSchema: v.ObjectSchema<{
|
|
|
1000
1657
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1001
1658
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1002
1659
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1003
|
-
|
|
1004
|
-
|
|
1660
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1661
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1662
|
+
}, undefined>, v.CheckAction<{
|
|
1663
|
+
eventName: "messageSent";
|
|
1664
|
+
eventProperties?: {
|
|
1665
|
+
channel?: "email" | "sms" | undefined;
|
|
1666
|
+
messageId?: string | undefined;
|
|
1667
|
+
template?: string | undefined;
|
|
1668
|
+
priority?: string | undefined;
|
|
1669
|
+
consumerId?: string | undefined;
|
|
1670
|
+
postalCode?: string | undefined;
|
|
1671
|
+
timezone?: string | undefined;
|
|
1672
|
+
botScore?: number | undefined;
|
|
1673
|
+
geoLat?: number | undefined;
|
|
1674
|
+
geoLng?: number | undefined;
|
|
1675
|
+
} | undefined;
|
|
1676
|
+
organizationId: string;
|
|
1677
|
+
consumerId?: string | undefined;
|
|
1678
|
+
isGuest?: boolean | undefined;
|
|
1679
|
+
eventId: string;
|
|
1680
|
+
eventTimestamp: string;
|
|
1681
|
+
eventTimestampNs?: string | undefined;
|
|
1682
|
+
receivedTimestamp?: string | undefined;
|
|
1683
|
+
receivedTimestampNs?: string | undefined;
|
|
1684
|
+
segments?: {
|
|
1685
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
1686
|
+
} | undefined;
|
|
1687
|
+
userId?: string | undefined;
|
|
1688
|
+
anonymousId?: string | undefined;
|
|
1689
|
+
sessionId?: string | undefined;
|
|
1690
|
+
platform?: string | undefined;
|
|
1691
|
+
appVersion?: string | undefined;
|
|
1692
|
+
deviceType?: string | undefined;
|
|
1693
|
+
osName?: string | undefined;
|
|
1694
|
+
osVersion?: string | undefined;
|
|
1695
|
+
browserName?: string | undefined;
|
|
1696
|
+
browserVersion?: string | undefined;
|
|
1697
|
+
userAgent?: string | undefined;
|
|
1698
|
+
ipAddress?: string | undefined;
|
|
1699
|
+
geoCountry?: string | undefined;
|
|
1700
|
+
geoRegion?: string | undefined;
|
|
1701
|
+
geoCity?: string | undefined;
|
|
1702
|
+
geoLatitude?: number | undefined;
|
|
1703
|
+
geoLongitude?: number | undefined;
|
|
1704
|
+
pageUrl?: string | undefined;
|
|
1705
|
+
pagePath?: string | undefined;
|
|
1706
|
+
pageTitle?: string | undefined;
|
|
1707
|
+
screenName?: string | undefined;
|
|
1708
|
+
referrerUrl?: string | undefined;
|
|
1709
|
+
referringDomain?: string | undefined;
|
|
1710
|
+
utmSource?: string | undefined;
|
|
1711
|
+
utmMedium?: string | undefined;
|
|
1712
|
+
utmCampaign?: string | undefined;
|
|
1713
|
+
utmTerm?: string | undefined;
|
|
1714
|
+
utmContent?: string | undefined;
|
|
1715
|
+
eventSchemaVersion?: string | undefined;
|
|
1716
|
+
beaconRequestId?: string | undefined;
|
|
1717
|
+
experienceId?: string | undefined;
|
|
1718
|
+
sequenceId?: string | undefined;
|
|
1719
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
1720
|
+
export declare const MessageDeliveredEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1005
1721
|
readonly eventName: v.LiteralSchema<"messageDelivered", undefined>;
|
|
1006
1722
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1007
1723
|
readonly channel: v.OptionalSchema<v.PicklistSchema<["email", "sms"], undefined>, undefined>;
|
|
@@ -1056,8 +1772,67 @@ export declare const MessageDeliveredEventSchema: v.ObjectSchema<{
|
|
|
1056
1772
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1057
1773
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1058
1774
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1059
|
-
|
|
1060
|
-
|
|
1775
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1776
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1777
|
+
}, undefined>, v.CheckAction<{
|
|
1778
|
+
eventName: "messageDelivered";
|
|
1779
|
+
eventProperties?: {
|
|
1780
|
+
channel?: "email" | "sms" | undefined;
|
|
1781
|
+
messageId?: string | undefined;
|
|
1782
|
+
template?: string | undefined;
|
|
1783
|
+
priority?: string | undefined;
|
|
1784
|
+
consumerId?: string | undefined;
|
|
1785
|
+
postalCode?: string | undefined;
|
|
1786
|
+
timezone?: string | undefined;
|
|
1787
|
+
botScore?: number | undefined;
|
|
1788
|
+
geoLat?: number | undefined;
|
|
1789
|
+
geoLng?: number | undefined;
|
|
1790
|
+
} | undefined;
|
|
1791
|
+
organizationId: string;
|
|
1792
|
+
consumerId?: string | undefined;
|
|
1793
|
+
isGuest?: boolean | undefined;
|
|
1794
|
+
eventId: string;
|
|
1795
|
+
eventTimestamp: string;
|
|
1796
|
+
eventTimestampNs?: string | undefined;
|
|
1797
|
+
receivedTimestamp?: string | undefined;
|
|
1798
|
+
receivedTimestampNs?: string | undefined;
|
|
1799
|
+
segments?: {
|
|
1800
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
1801
|
+
} | undefined;
|
|
1802
|
+
userId?: string | undefined;
|
|
1803
|
+
anonymousId?: string | undefined;
|
|
1804
|
+
sessionId?: string | undefined;
|
|
1805
|
+
platform?: string | undefined;
|
|
1806
|
+
appVersion?: string | undefined;
|
|
1807
|
+
deviceType?: string | undefined;
|
|
1808
|
+
osName?: string | undefined;
|
|
1809
|
+
osVersion?: string | undefined;
|
|
1810
|
+
browserName?: string | undefined;
|
|
1811
|
+
browserVersion?: string | undefined;
|
|
1812
|
+
userAgent?: string | undefined;
|
|
1813
|
+
ipAddress?: string | undefined;
|
|
1814
|
+
geoCountry?: string | undefined;
|
|
1815
|
+
geoRegion?: string | undefined;
|
|
1816
|
+
geoCity?: string | undefined;
|
|
1817
|
+
geoLatitude?: number | undefined;
|
|
1818
|
+
geoLongitude?: number | undefined;
|
|
1819
|
+
pageUrl?: string | undefined;
|
|
1820
|
+
pagePath?: string | undefined;
|
|
1821
|
+
pageTitle?: string | undefined;
|
|
1822
|
+
screenName?: string | undefined;
|
|
1823
|
+
referrerUrl?: string | undefined;
|
|
1824
|
+
referringDomain?: string | undefined;
|
|
1825
|
+
utmSource?: string | undefined;
|
|
1826
|
+
utmMedium?: string | undefined;
|
|
1827
|
+
utmCampaign?: string | undefined;
|
|
1828
|
+
utmTerm?: string | undefined;
|
|
1829
|
+
utmContent?: string | undefined;
|
|
1830
|
+
eventSchemaVersion?: string | undefined;
|
|
1831
|
+
beaconRequestId?: string | undefined;
|
|
1832
|
+
experienceId?: string | undefined;
|
|
1833
|
+
sequenceId?: string | undefined;
|
|
1834
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
1835
|
+
export declare const MessageBouncedEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1061
1836
|
readonly eventName: v.LiteralSchema<"messageBounced", undefined>;
|
|
1062
1837
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1063
1838
|
readonly bounceType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -1113,8 +1888,68 @@ export declare const MessageBouncedEventSchema: v.ObjectSchema<{
|
|
|
1113
1888
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1114
1889
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1115
1890
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1116
|
-
|
|
1117
|
-
|
|
1891
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1892
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
1893
|
+
}, undefined>, v.CheckAction<{
|
|
1894
|
+
eventName: "messageBounced";
|
|
1895
|
+
eventProperties?: {
|
|
1896
|
+
bounceType?: string | undefined;
|
|
1897
|
+
channel?: "email" | "sms" | undefined;
|
|
1898
|
+
messageId?: string | undefined;
|
|
1899
|
+
template?: string | undefined;
|
|
1900
|
+
priority?: string | undefined;
|
|
1901
|
+
consumerId?: string | undefined;
|
|
1902
|
+
postalCode?: string | undefined;
|
|
1903
|
+
timezone?: string | undefined;
|
|
1904
|
+
botScore?: number | undefined;
|
|
1905
|
+
geoLat?: number | undefined;
|
|
1906
|
+
geoLng?: number | undefined;
|
|
1907
|
+
} | undefined;
|
|
1908
|
+
organizationId: string;
|
|
1909
|
+
consumerId?: string | undefined;
|
|
1910
|
+
isGuest?: boolean | undefined;
|
|
1911
|
+
eventId: string;
|
|
1912
|
+
eventTimestamp: string;
|
|
1913
|
+
eventTimestampNs?: string | undefined;
|
|
1914
|
+
receivedTimestamp?: string | undefined;
|
|
1915
|
+
receivedTimestampNs?: string | undefined;
|
|
1916
|
+
segments?: {
|
|
1917
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
1918
|
+
} | undefined;
|
|
1919
|
+
userId?: string | undefined;
|
|
1920
|
+
anonymousId?: string | undefined;
|
|
1921
|
+
sessionId?: string | undefined;
|
|
1922
|
+
platform?: string | undefined;
|
|
1923
|
+
appVersion?: string | undefined;
|
|
1924
|
+
deviceType?: string | undefined;
|
|
1925
|
+
osName?: string | undefined;
|
|
1926
|
+
osVersion?: string | undefined;
|
|
1927
|
+
browserName?: string | undefined;
|
|
1928
|
+
browserVersion?: string | undefined;
|
|
1929
|
+
userAgent?: string | undefined;
|
|
1930
|
+
ipAddress?: string | undefined;
|
|
1931
|
+
geoCountry?: string | undefined;
|
|
1932
|
+
geoRegion?: string | undefined;
|
|
1933
|
+
geoCity?: string | undefined;
|
|
1934
|
+
geoLatitude?: number | undefined;
|
|
1935
|
+
geoLongitude?: number | undefined;
|
|
1936
|
+
pageUrl?: string | undefined;
|
|
1937
|
+
pagePath?: string | undefined;
|
|
1938
|
+
pageTitle?: string | undefined;
|
|
1939
|
+
screenName?: string | undefined;
|
|
1940
|
+
referrerUrl?: string | undefined;
|
|
1941
|
+
referringDomain?: string | undefined;
|
|
1942
|
+
utmSource?: string | undefined;
|
|
1943
|
+
utmMedium?: string | undefined;
|
|
1944
|
+
utmCampaign?: string | undefined;
|
|
1945
|
+
utmTerm?: string | undefined;
|
|
1946
|
+
utmContent?: string | undefined;
|
|
1947
|
+
eventSchemaVersion?: string | undefined;
|
|
1948
|
+
beaconRequestId?: string | undefined;
|
|
1949
|
+
experienceId?: string | undefined;
|
|
1950
|
+
sequenceId?: string | undefined;
|
|
1951
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
1952
|
+
export declare const MessageComplainedEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1118
1953
|
readonly eventName: v.LiteralSchema<"messageComplained", undefined>;
|
|
1119
1954
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1120
1955
|
readonly complaintType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -1170,8 +2005,68 @@ export declare const MessageComplainedEventSchema: v.ObjectSchema<{
|
|
|
1170
2005
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1171
2006
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1172
2007
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1173
|
-
|
|
1174
|
-
|
|
2008
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2009
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2010
|
+
}, undefined>, v.CheckAction<{
|
|
2011
|
+
eventName: "messageComplained";
|
|
2012
|
+
eventProperties?: {
|
|
2013
|
+
complaintType?: string | undefined;
|
|
2014
|
+
channel?: "email" | "sms" | undefined;
|
|
2015
|
+
messageId?: string | undefined;
|
|
2016
|
+
template?: string | undefined;
|
|
2017
|
+
priority?: string | undefined;
|
|
2018
|
+
consumerId?: string | undefined;
|
|
2019
|
+
postalCode?: string | undefined;
|
|
2020
|
+
timezone?: string | undefined;
|
|
2021
|
+
botScore?: number | undefined;
|
|
2022
|
+
geoLat?: number | undefined;
|
|
2023
|
+
geoLng?: number | undefined;
|
|
2024
|
+
} | undefined;
|
|
2025
|
+
organizationId: string;
|
|
2026
|
+
consumerId?: string | undefined;
|
|
2027
|
+
isGuest?: boolean | undefined;
|
|
2028
|
+
eventId: string;
|
|
2029
|
+
eventTimestamp: string;
|
|
2030
|
+
eventTimestampNs?: string | undefined;
|
|
2031
|
+
receivedTimestamp?: string | undefined;
|
|
2032
|
+
receivedTimestampNs?: string | undefined;
|
|
2033
|
+
segments?: {
|
|
2034
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
2035
|
+
} | undefined;
|
|
2036
|
+
userId?: string | undefined;
|
|
2037
|
+
anonymousId?: string | undefined;
|
|
2038
|
+
sessionId?: string | undefined;
|
|
2039
|
+
platform?: string | undefined;
|
|
2040
|
+
appVersion?: string | undefined;
|
|
2041
|
+
deviceType?: string | undefined;
|
|
2042
|
+
osName?: string | undefined;
|
|
2043
|
+
osVersion?: string | undefined;
|
|
2044
|
+
browserName?: string | undefined;
|
|
2045
|
+
browserVersion?: string | undefined;
|
|
2046
|
+
userAgent?: string | undefined;
|
|
2047
|
+
ipAddress?: string | undefined;
|
|
2048
|
+
geoCountry?: string | undefined;
|
|
2049
|
+
geoRegion?: string | undefined;
|
|
2050
|
+
geoCity?: string | undefined;
|
|
2051
|
+
geoLatitude?: number | undefined;
|
|
2052
|
+
geoLongitude?: number | undefined;
|
|
2053
|
+
pageUrl?: string | undefined;
|
|
2054
|
+
pagePath?: string | undefined;
|
|
2055
|
+
pageTitle?: string | undefined;
|
|
2056
|
+
screenName?: string | undefined;
|
|
2057
|
+
referrerUrl?: string | undefined;
|
|
2058
|
+
referringDomain?: string | undefined;
|
|
2059
|
+
utmSource?: string | undefined;
|
|
2060
|
+
utmMedium?: string | undefined;
|
|
2061
|
+
utmCampaign?: string | undefined;
|
|
2062
|
+
utmTerm?: string | undefined;
|
|
2063
|
+
utmContent?: string | undefined;
|
|
2064
|
+
eventSchemaVersion?: string | undefined;
|
|
2065
|
+
beaconRequestId?: string | undefined;
|
|
2066
|
+
experienceId?: string | undefined;
|
|
2067
|
+
sequenceId?: string | undefined;
|
|
2068
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
2069
|
+
export declare const MessageClickedEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1175
2070
|
readonly eventName: v.LiteralSchema<"messageClicked", undefined>;
|
|
1176
2071
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1177
2072
|
readonly channel: v.OptionalSchema<v.PicklistSchema<["email", "sms"], undefined>, undefined>;
|
|
@@ -1226,8 +2121,67 @@ export declare const MessageClickedEventSchema: v.ObjectSchema<{
|
|
|
1226
2121
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1227
2122
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1228
2123
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1229
|
-
|
|
1230
|
-
|
|
2124
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2125
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2126
|
+
}, undefined>, v.CheckAction<{
|
|
2127
|
+
eventName: "messageClicked";
|
|
2128
|
+
eventProperties?: {
|
|
2129
|
+
channel?: "email" | "sms" | undefined;
|
|
2130
|
+
messageId?: string | undefined;
|
|
2131
|
+
template?: string | undefined;
|
|
2132
|
+
priority?: string | undefined;
|
|
2133
|
+
consumerId?: string | undefined;
|
|
2134
|
+
postalCode?: string | undefined;
|
|
2135
|
+
timezone?: string | undefined;
|
|
2136
|
+
botScore?: number | undefined;
|
|
2137
|
+
geoLat?: number | undefined;
|
|
2138
|
+
geoLng?: number | undefined;
|
|
2139
|
+
} | undefined;
|
|
2140
|
+
organizationId: string;
|
|
2141
|
+
consumerId?: string | undefined;
|
|
2142
|
+
isGuest?: boolean | undefined;
|
|
2143
|
+
eventId: string;
|
|
2144
|
+
eventTimestamp: string;
|
|
2145
|
+
eventTimestampNs?: string | undefined;
|
|
2146
|
+
receivedTimestamp?: string | undefined;
|
|
2147
|
+
receivedTimestampNs?: string | undefined;
|
|
2148
|
+
segments?: {
|
|
2149
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
2150
|
+
} | undefined;
|
|
2151
|
+
userId?: string | undefined;
|
|
2152
|
+
anonymousId?: string | undefined;
|
|
2153
|
+
sessionId?: string | undefined;
|
|
2154
|
+
platform?: string | undefined;
|
|
2155
|
+
appVersion?: string | undefined;
|
|
2156
|
+
deviceType?: string | undefined;
|
|
2157
|
+
osName?: string | undefined;
|
|
2158
|
+
osVersion?: string | undefined;
|
|
2159
|
+
browserName?: string | undefined;
|
|
2160
|
+
browserVersion?: string | undefined;
|
|
2161
|
+
userAgent?: string | undefined;
|
|
2162
|
+
ipAddress?: string | undefined;
|
|
2163
|
+
geoCountry?: string | undefined;
|
|
2164
|
+
geoRegion?: string | undefined;
|
|
2165
|
+
geoCity?: string | undefined;
|
|
2166
|
+
geoLatitude?: number | undefined;
|
|
2167
|
+
geoLongitude?: number | undefined;
|
|
2168
|
+
pageUrl?: string | undefined;
|
|
2169
|
+
pagePath?: string | undefined;
|
|
2170
|
+
pageTitle?: string | undefined;
|
|
2171
|
+
screenName?: string | undefined;
|
|
2172
|
+
referrerUrl?: string | undefined;
|
|
2173
|
+
referringDomain?: string | undefined;
|
|
2174
|
+
utmSource?: string | undefined;
|
|
2175
|
+
utmMedium?: string | undefined;
|
|
2176
|
+
utmCampaign?: string | undefined;
|
|
2177
|
+
utmTerm?: string | undefined;
|
|
2178
|
+
utmContent?: string | undefined;
|
|
2179
|
+
eventSchemaVersion?: string | undefined;
|
|
2180
|
+
beaconRequestId?: string | undefined;
|
|
2181
|
+
experienceId?: string | undefined;
|
|
2182
|
+
sequenceId?: string | undefined;
|
|
2183
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
2184
|
+
export declare const MessageOpenedEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1231
2185
|
readonly eventName: v.LiteralSchema<"messageOpened", undefined>;
|
|
1232
2186
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1233
2187
|
readonly channel: v.OptionalSchema<v.PicklistSchema<["email", "sms"], undefined>, undefined>;
|
|
@@ -1282,8 +2236,67 @@ export declare const MessageOpenedEventSchema: v.ObjectSchema<{
|
|
|
1282
2236
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1283
2237
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1284
2238
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1285
|
-
|
|
1286
|
-
|
|
2239
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2240
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2241
|
+
}, undefined>, v.CheckAction<{
|
|
2242
|
+
eventName: "messageOpened";
|
|
2243
|
+
eventProperties?: {
|
|
2244
|
+
channel?: "email" | "sms" | undefined;
|
|
2245
|
+
messageId?: string | undefined;
|
|
2246
|
+
template?: string | undefined;
|
|
2247
|
+
priority?: string | undefined;
|
|
2248
|
+
consumerId?: string | undefined;
|
|
2249
|
+
postalCode?: string | undefined;
|
|
2250
|
+
timezone?: string | undefined;
|
|
2251
|
+
botScore?: number | undefined;
|
|
2252
|
+
geoLat?: number | undefined;
|
|
2253
|
+
geoLng?: number | undefined;
|
|
2254
|
+
} | undefined;
|
|
2255
|
+
organizationId: string;
|
|
2256
|
+
consumerId?: string | undefined;
|
|
2257
|
+
isGuest?: boolean | undefined;
|
|
2258
|
+
eventId: string;
|
|
2259
|
+
eventTimestamp: string;
|
|
2260
|
+
eventTimestampNs?: string | undefined;
|
|
2261
|
+
receivedTimestamp?: string | undefined;
|
|
2262
|
+
receivedTimestampNs?: string | undefined;
|
|
2263
|
+
segments?: {
|
|
2264
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
2265
|
+
} | undefined;
|
|
2266
|
+
userId?: string | undefined;
|
|
2267
|
+
anonymousId?: string | undefined;
|
|
2268
|
+
sessionId?: string | undefined;
|
|
2269
|
+
platform?: string | undefined;
|
|
2270
|
+
appVersion?: string | undefined;
|
|
2271
|
+
deviceType?: string | undefined;
|
|
2272
|
+
osName?: string | undefined;
|
|
2273
|
+
osVersion?: string | undefined;
|
|
2274
|
+
browserName?: string | undefined;
|
|
2275
|
+
browserVersion?: string | undefined;
|
|
2276
|
+
userAgent?: string | undefined;
|
|
2277
|
+
ipAddress?: string | undefined;
|
|
2278
|
+
geoCountry?: string | undefined;
|
|
2279
|
+
geoRegion?: string | undefined;
|
|
2280
|
+
geoCity?: string | undefined;
|
|
2281
|
+
geoLatitude?: number | undefined;
|
|
2282
|
+
geoLongitude?: number | undefined;
|
|
2283
|
+
pageUrl?: string | undefined;
|
|
2284
|
+
pagePath?: string | undefined;
|
|
2285
|
+
pageTitle?: string | undefined;
|
|
2286
|
+
screenName?: string | undefined;
|
|
2287
|
+
referrerUrl?: string | undefined;
|
|
2288
|
+
referringDomain?: string | undefined;
|
|
2289
|
+
utmSource?: string | undefined;
|
|
2290
|
+
utmMedium?: string | undefined;
|
|
2291
|
+
utmCampaign?: string | undefined;
|
|
2292
|
+
utmTerm?: string | undefined;
|
|
2293
|
+
utmContent?: string | undefined;
|
|
2294
|
+
eventSchemaVersion?: string | undefined;
|
|
2295
|
+
beaconRequestId?: string | undefined;
|
|
2296
|
+
experienceId?: string | undefined;
|
|
2297
|
+
sequenceId?: string | undefined;
|
|
2298
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
2299
|
+
export declare const MessageReadEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1287
2300
|
readonly eventName: v.LiteralSchema<"messageRead", undefined>;
|
|
1288
2301
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1289
2302
|
readonly channel: v.OptionalSchema<v.PicklistSchema<["email", "sms"], undefined>, undefined>;
|
|
@@ -1338,8 +2351,67 @@ export declare const MessageReadEventSchema: v.ObjectSchema<{
|
|
|
1338
2351
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1339
2352
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1340
2353
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1341
|
-
|
|
1342
|
-
|
|
2354
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2355
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2356
|
+
}, undefined>, v.CheckAction<{
|
|
2357
|
+
eventName: "messageRead";
|
|
2358
|
+
eventProperties?: {
|
|
2359
|
+
channel?: "email" | "sms" | undefined;
|
|
2360
|
+
messageId?: string | undefined;
|
|
2361
|
+
template?: string | undefined;
|
|
2362
|
+
priority?: string | undefined;
|
|
2363
|
+
consumerId?: string | undefined;
|
|
2364
|
+
postalCode?: string | undefined;
|
|
2365
|
+
timezone?: string | undefined;
|
|
2366
|
+
botScore?: number | undefined;
|
|
2367
|
+
geoLat?: number | undefined;
|
|
2368
|
+
geoLng?: number | undefined;
|
|
2369
|
+
} | undefined;
|
|
2370
|
+
organizationId: string;
|
|
2371
|
+
consumerId?: string | undefined;
|
|
2372
|
+
isGuest?: boolean | undefined;
|
|
2373
|
+
eventId: string;
|
|
2374
|
+
eventTimestamp: string;
|
|
2375
|
+
eventTimestampNs?: string | undefined;
|
|
2376
|
+
receivedTimestamp?: string | undefined;
|
|
2377
|
+
receivedTimestampNs?: string | undefined;
|
|
2378
|
+
segments?: {
|
|
2379
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
2380
|
+
} | undefined;
|
|
2381
|
+
userId?: string | undefined;
|
|
2382
|
+
anonymousId?: string | undefined;
|
|
2383
|
+
sessionId?: string | undefined;
|
|
2384
|
+
platform?: string | undefined;
|
|
2385
|
+
appVersion?: string | undefined;
|
|
2386
|
+
deviceType?: string | undefined;
|
|
2387
|
+
osName?: string | undefined;
|
|
2388
|
+
osVersion?: string | undefined;
|
|
2389
|
+
browserName?: string | undefined;
|
|
2390
|
+
browserVersion?: string | undefined;
|
|
2391
|
+
userAgent?: string | undefined;
|
|
2392
|
+
ipAddress?: string | undefined;
|
|
2393
|
+
geoCountry?: string | undefined;
|
|
2394
|
+
geoRegion?: string | undefined;
|
|
2395
|
+
geoCity?: string | undefined;
|
|
2396
|
+
geoLatitude?: number | undefined;
|
|
2397
|
+
geoLongitude?: number | undefined;
|
|
2398
|
+
pageUrl?: string | undefined;
|
|
2399
|
+
pagePath?: string | undefined;
|
|
2400
|
+
pageTitle?: string | undefined;
|
|
2401
|
+
screenName?: string | undefined;
|
|
2402
|
+
referrerUrl?: string | undefined;
|
|
2403
|
+
referringDomain?: string | undefined;
|
|
2404
|
+
utmSource?: string | undefined;
|
|
2405
|
+
utmMedium?: string | undefined;
|
|
2406
|
+
utmCampaign?: string | undefined;
|
|
2407
|
+
utmTerm?: string | undefined;
|
|
2408
|
+
utmContent?: string | undefined;
|
|
2409
|
+
eventSchemaVersion?: string | undefined;
|
|
2410
|
+
beaconRequestId?: string | undefined;
|
|
2411
|
+
experienceId?: string | undefined;
|
|
2412
|
+
sequenceId?: string | undefined;
|
|
2413
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
2414
|
+
export declare const MessageFailedEventSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1343
2415
|
readonly eventName: v.LiteralSchema<"messageFailed", undefined>;
|
|
1344
2416
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1345
2417
|
readonly retryCount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.CheckAction<number, "validation.beacon.number.finite">]>, undefined>;
|
|
@@ -1395,8 +2467,68 @@ export declare const MessageFailedEventSchema: v.ObjectSchema<{
|
|
|
1395
2467
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1396
2468
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1397
2469
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1398
|
-
|
|
1399
|
-
|
|
2470
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2471
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2472
|
+
}, undefined>, v.CheckAction<{
|
|
2473
|
+
eventName: "messageFailed";
|
|
2474
|
+
eventProperties?: {
|
|
2475
|
+
retryCount?: number | undefined;
|
|
2476
|
+
channel?: "email" | "sms" | undefined;
|
|
2477
|
+
messageId?: string | undefined;
|
|
2478
|
+
template?: string | undefined;
|
|
2479
|
+
priority?: string | undefined;
|
|
2480
|
+
consumerId?: string | undefined;
|
|
2481
|
+
postalCode?: string | undefined;
|
|
2482
|
+
timezone?: string | undefined;
|
|
2483
|
+
botScore?: number | undefined;
|
|
2484
|
+
geoLat?: number | undefined;
|
|
2485
|
+
geoLng?: number | undefined;
|
|
2486
|
+
} | undefined;
|
|
2487
|
+
organizationId: string;
|
|
2488
|
+
consumerId?: string | undefined;
|
|
2489
|
+
isGuest?: boolean | undefined;
|
|
2490
|
+
eventId: string;
|
|
2491
|
+
eventTimestamp: string;
|
|
2492
|
+
eventTimestampNs?: string | undefined;
|
|
2493
|
+
receivedTimestamp?: string | undefined;
|
|
2494
|
+
receivedTimestampNs?: string | undefined;
|
|
2495
|
+
segments?: {
|
|
2496
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
2497
|
+
} | undefined;
|
|
2498
|
+
userId?: string | undefined;
|
|
2499
|
+
anonymousId?: string | undefined;
|
|
2500
|
+
sessionId?: string | undefined;
|
|
2501
|
+
platform?: string | undefined;
|
|
2502
|
+
appVersion?: string | undefined;
|
|
2503
|
+
deviceType?: string | undefined;
|
|
2504
|
+
osName?: string | undefined;
|
|
2505
|
+
osVersion?: string | undefined;
|
|
2506
|
+
browserName?: string | undefined;
|
|
2507
|
+
browserVersion?: string | undefined;
|
|
2508
|
+
userAgent?: string | undefined;
|
|
2509
|
+
ipAddress?: string | undefined;
|
|
2510
|
+
geoCountry?: string | undefined;
|
|
2511
|
+
geoRegion?: string | undefined;
|
|
2512
|
+
geoCity?: string | undefined;
|
|
2513
|
+
geoLatitude?: number | undefined;
|
|
2514
|
+
geoLongitude?: number | undefined;
|
|
2515
|
+
pageUrl?: string | undefined;
|
|
2516
|
+
pagePath?: string | undefined;
|
|
2517
|
+
pageTitle?: string | undefined;
|
|
2518
|
+
screenName?: string | undefined;
|
|
2519
|
+
referrerUrl?: string | undefined;
|
|
2520
|
+
referringDomain?: string | undefined;
|
|
2521
|
+
utmSource?: string | undefined;
|
|
2522
|
+
utmMedium?: string | undefined;
|
|
2523
|
+
utmCampaign?: string | undefined;
|
|
2524
|
+
utmTerm?: string | undefined;
|
|
2525
|
+
utmContent?: string | undefined;
|
|
2526
|
+
eventSchemaVersion?: string | undefined;
|
|
2527
|
+
beaconRequestId?: string | undefined;
|
|
2528
|
+
experienceId?: string | undefined;
|
|
2529
|
+
sequenceId?: string | undefined;
|
|
2530
|
+
}, "validation.beacon.sequenceRequiresExperience">]>;
|
|
2531
|
+
export declare const BeaconEventSchema: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1400
2532
|
readonly eventName: v.LiteralSchema<"pageView", undefined>;
|
|
1401
2533
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1402
2534
|
readonly pageType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -1447,7 +2579,62 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1447
2579
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1448
2580
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1449
2581
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1450
|
-
|
|
2582
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2583
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2584
|
+
}, undefined>, v.CheckAction<{
|
|
2585
|
+
eventName: "pageView";
|
|
2586
|
+
eventProperties?: {
|
|
2587
|
+
pageType?: string | undefined;
|
|
2588
|
+
postalCode?: string | undefined;
|
|
2589
|
+
timezone?: string | undefined;
|
|
2590
|
+
botScore?: number | undefined;
|
|
2591
|
+
geoLat?: number | undefined;
|
|
2592
|
+
geoLng?: number | undefined;
|
|
2593
|
+
} | undefined;
|
|
2594
|
+
organizationId: string;
|
|
2595
|
+
consumerId?: string | undefined;
|
|
2596
|
+
isGuest?: boolean | undefined;
|
|
2597
|
+
eventId: string;
|
|
2598
|
+
eventTimestamp: string;
|
|
2599
|
+
eventTimestampNs?: string | undefined;
|
|
2600
|
+
receivedTimestamp?: string | undefined;
|
|
2601
|
+
receivedTimestampNs?: string | undefined;
|
|
2602
|
+
segments?: {
|
|
2603
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
2604
|
+
} | undefined;
|
|
2605
|
+
userId?: string | undefined;
|
|
2606
|
+
anonymousId?: string | undefined;
|
|
2607
|
+
sessionId?: string | undefined;
|
|
2608
|
+
platform?: string | undefined;
|
|
2609
|
+
appVersion?: string | undefined;
|
|
2610
|
+
deviceType?: string | undefined;
|
|
2611
|
+
osName?: string | undefined;
|
|
2612
|
+
osVersion?: string | undefined;
|
|
2613
|
+
browserName?: string | undefined;
|
|
2614
|
+
browserVersion?: string | undefined;
|
|
2615
|
+
userAgent?: string | undefined;
|
|
2616
|
+
ipAddress?: string | undefined;
|
|
2617
|
+
geoCountry?: string | undefined;
|
|
2618
|
+
geoRegion?: string | undefined;
|
|
2619
|
+
geoCity?: string | undefined;
|
|
2620
|
+
geoLatitude?: number | undefined;
|
|
2621
|
+
geoLongitude?: number | undefined;
|
|
2622
|
+
pageUrl?: string | undefined;
|
|
2623
|
+
pagePath?: string | undefined;
|
|
2624
|
+
pageTitle?: string | undefined;
|
|
2625
|
+
screenName?: string | undefined;
|
|
2626
|
+
referrerUrl?: string | undefined;
|
|
2627
|
+
referringDomain?: string | undefined;
|
|
2628
|
+
utmSource?: string | undefined;
|
|
2629
|
+
utmMedium?: string | undefined;
|
|
2630
|
+
utmCampaign?: string | undefined;
|
|
2631
|
+
utmTerm?: string | undefined;
|
|
2632
|
+
utmContent?: string | undefined;
|
|
2633
|
+
eventSchemaVersion?: string | undefined;
|
|
2634
|
+
beaconRequestId?: string | undefined;
|
|
2635
|
+
experienceId?: string | undefined;
|
|
2636
|
+
sequenceId?: string | undefined;
|
|
2637
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1451
2638
|
readonly eventName: v.LiteralSchema<"productImpression", undefined>;
|
|
1452
2639
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1453
2640
|
readonly productId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -1500,7 +2687,64 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1500
2687
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1501
2688
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1502
2689
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1503
|
-
|
|
2690
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2691
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2692
|
+
}, undefined>, v.CheckAction<{
|
|
2693
|
+
eventName: "productImpression";
|
|
2694
|
+
eventProperties?: {
|
|
2695
|
+
productId?: string | undefined;
|
|
2696
|
+
listName?: string | undefined;
|
|
2697
|
+
position?: number | undefined;
|
|
2698
|
+
postalCode?: string | undefined;
|
|
2699
|
+
timezone?: string | undefined;
|
|
2700
|
+
botScore?: number | undefined;
|
|
2701
|
+
geoLat?: number | undefined;
|
|
2702
|
+
geoLng?: number | undefined;
|
|
2703
|
+
} | undefined;
|
|
2704
|
+
organizationId: string;
|
|
2705
|
+
consumerId?: string | undefined;
|
|
2706
|
+
isGuest?: boolean | undefined;
|
|
2707
|
+
eventId: string;
|
|
2708
|
+
eventTimestamp: string;
|
|
2709
|
+
eventTimestampNs?: string | undefined;
|
|
2710
|
+
receivedTimestamp?: string | undefined;
|
|
2711
|
+
receivedTimestampNs?: string | undefined;
|
|
2712
|
+
segments?: {
|
|
2713
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
2714
|
+
} | undefined;
|
|
2715
|
+
userId?: string | undefined;
|
|
2716
|
+
anonymousId?: string | undefined;
|
|
2717
|
+
sessionId?: string | undefined;
|
|
2718
|
+
platform?: string | undefined;
|
|
2719
|
+
appVersion?: string | undefined;
|
|
2720
|
+
deviceType?: string | undefined;
|
|
2721
|
+
osName?: string | undefined;
|
|
2722
|
+
osVersion?: string | undefined;
|
|
2723
|
+
browserName?: string | undefined;
|
|
2724
|
+
browserVersion?: string | undefined;
|
|
2725
|
+
userAgent?: string | undefined;
|
|
2726
|
+
ipAddress?: string | undefined;
|
|
2727
|
+
geoCountry?: string | undefined;
|
|
2728
|
+
geoRegion?: string | undefined;
|
|
2729
|
+
geoCity?: string | undefined;
|
|
2730
|
+
geoLatitude?: number | undefined;
|
|
2731
|
+
geoLongitude?: number | undefined;
|
|
2732
|
+
pageUrl?: string | undefined;
|
|
2733
|
+
pagePath?: string | undefined;
|
|
2734
|
+
pageTitle?: string | undefined;
|
|
2735
|
+
screenName?: string | undefined;
|
|
2736
|
+
referrerUrl?: string | undefined;
|
|
2737
|
+
referringDomain?: string | undefined;
|
|
2738
|
+
utmSource?: string | undefined;
|
|
2739
|
+
utmMedium?: string | undefined;
|
|
2740
|
+
utmCampaign?: string | undefined;
|
|
2741
|
+
utmTerm?: string | undefined;
|
|
2742
|
+
utmContent?: string | undefined;
|
|
2743
|
+
eventSchemaVersion?: string | undefined;
|
|
2744
|
+
beaconRequestId?: string | undefined;
|
|
2745
|
+
experienceId?: string | undefined;
|
|
2746
|
+
sequenceId?: string | undefined;
|
|
2747
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1504
2748
|
readonly eventName: v.LiteralSchema<"productClick", undefined>;
|
|
1505
2749
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1506
2750
|
readonly productId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -1553,7 +2797,64 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1553
2797
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1554
2798
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1555
2799
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1556
|
-
|
|
2800
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2801
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2802
|
+
}, undefined>, v.CheckAction<{
|
|
2803
|
+
eventName: "productClick";
|
|
2804
|
+
eventProperties?: {
|
|
2805
|
+
productId?: string | undefined;
|
|
2806
|
+
listName?: string | undefined;
|
|
2807
|
+
position?: number | undefined;
|
|
2808
|
+
postalCode?: string | undefined;
|
|
2809
|
+
timezone?: string | undefined;
|
|
2810
|
+
botScore?: number | undefined;
|
|
2811
|
+
geoLat?: number | undefined;
|
|
2812
|
+
geoLng?: number | undefined;
|
|
2813
|
+
} | undefined;
|
|
2814
|
+
organizationId: string;
|
|
2815
|
+
consumerId?: string | undefined;
|
|
2816
|
+
isGuest?: boolean | undefined;
|
|
2817
|
+
eventId: string;
|
|
2818
|
+
eventTimestamp: string;
|
|
2819
|
+
eventTimestampNs?: string | undefined;
|
|
2820
|
+
receivedTimestamp?: string | undefined;
|
|
2821
|
+
receivedTimestampNs?: string | undefined;
|
|
2822
|
+
segments?: {
|
|
2823
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
2824
|
+
} | undefined;
|
|
2825
|
+
userId?: string | undefined;
|
|
2826
|
+
anonymousId?: string | undefined;
|
|
2827
|
+
sessionId?: string | undefined;
|
|
2828
|
+
platform?: string | undefined;
|
|
2829
|
+
appVersion?: string | undefined;
|
|
2830
|
+
deviceType?: string | undefined;
|
|
2831
|
+
osName?: string | undefined;
|
|
2832
|
+
osVersion?: string | undefined;
|
|
2833
|
+
browserName?: string | undefined;
|
|
2834
|
+
browserVersion?: string | undefined;
|
|
2835
|
+
userAgent?: string | undefined;
|
|
2836
|
+
ipAddress?: string | undefined;
|
|
2837
|
+
geoCountry?: string | undefined;
|
|
2838
|
+
geoRegion?: string | undefined;
|
|
2839
|
+
geoCity?: string | undefined;
|
|
2840
|
+
geoLatitude?: number | undefined;
|
|
2841
|
+
geoLongitude?: number | undefined;
|
|
2842
|
+
pageUrl?: string | undefined;
|
|
2843
|
+
pagePath?: string | undefined;
|
|
2844
|
+
pageTitle?: string | undefined;
|
|
2845
|
+
screenName?: string | undefined;
|
|
2846
|
+
referrerUrl?: string | undefined;
|
|
2847
|
+
referringDomain?: string | undefined;
|
|
2848
|
+
utmSource?: string | undefined;
|
|
2849
|
+
utmMedium?: string | undefined;
|
|
2850
|
+
utmCampaign?: string | undefined;
|
|
2851
|
+
utmTerm?: string | undefined;
|
|
2852
|
+
utmContent?: string | undefined;
|
|
2853
|
+
eventSchemaVersion?: string | undefined;
|
|
2854
|
+
beaconRequestId?: string | undefined;
|
|
2855
|
+
experienceId?: string | undefined;
|
|
2856
|
+
sequenceId?: string | undefined;
|
|
2857
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1557
2858
|
readonly eventName: v.LiteralSchema<"productView", undefined>;
|
|
1558
2859
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1559
2860
|
readonly productId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -1611,7 +2912,69 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1611
2912
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1612
2913
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1613
2914
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1614
|
-
|
|
2915
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2916
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
2917
|
+
}, undefined>, v.CheckAction<{
|
|
2918
|
+
eventName: "productView";
|
|
2919
|
+
eventProperties?: {
|
|
2920
|
+
productId?: string | undefined;
|
|
2921
|
+
sku?: string | undefined;
|
|
2922
|
+
productName?: string | undefined;
|
|
2923
|
+
category?: string | undefined;
|
|
2924
|
+
brand?: string | undefined;
|
|
2925
|
+
variant?: string | undefined;
|
|
2926
|
+
price?: string | undefined;
|
|
2927
|
+
currency?: string | undefined;
|
|
2928
|
+
postalCode?: string | undefined;
|
|
2929
|
+
timezone?: string | undefined;
|
|
2930
|
+
botScore?: number | undefined;
|
|
2931
|
+
geoLat?: number | undefined;
|
|
2932
|
+
geoLng?: number | undefined;
|
|
2933
|
+
} | undefined;
|
|
2934
|
+
organizationId: string;
|
|
2935
|
+
consumerId?: string | undefined;
|
|
2936
|
+
isGuest?: boolean | undefined;
|
|
2937
|
+
eventId: string;
|
|
2938
|
+
eventTimestamp: string;
|
|
2939
|
+
eventTimestampNs?: string | undefined;
|
|
2940
|
+
receivedTimestamp?: string | undefined;
|
|
2941
|
+
receivedTimestampNs?: string | undefined;
|
|
2942
|
+
segments?: {
|
|
2943
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
2944
|
+
} | undefined;
|
|
2945
|
+
userId?: string | undefined;
|
|
2946
|
+
anonymousId?: string | undefined;
|
|
2947
|
+
sessionId?: string | undefined;
|
|
2948
|
+
platform?: string | undefined;
|
|
2949
|
+
appVersion?: string | undefined;
|
|
2950
|
+
deviceType?: string | undefined;
|
|
2951
|
+
osName?: string | undefined;
|
|
2952
|
+
osVersion?: string | undefined;
|
|
2953
|
+
browserName?: string | undefined;
|
|
2954
|
+
browserVersion?: string | undefined;
|
|
2955
|
+
userAgent?: string | undefined;
|
|
2956
|
+
ipAddress?: string | undefined;
|
|
2957
|
+
geoCountry?: string | undefined;
|
|
2958
|
+
geoRegion?: string | undefined;
|
|
2959
|
+
geoCity?: string | undefined;
|
|
2960
|
+
geoLatitude?: number | undefined;
|
|
2961
|
+
geoLongitude?: number | undefined;
|
|
2962
|
+
pageUrl?: string | undefined;
|
|
2963
|
+
pagePath?: string | undefined;
|
|
2964
|
+
pageTitle?: string | undefined;
|
|
2965
|
+
screenName?: string | undefined;
|
|
2966
|
+
referrerUrl?: string | undefined;
|
|
2967
|
+
referringDomain?: string | undefined;
|
|
2968
|
+
utmSource?: string | undefined;
|
|
2969
|
+
utmMedium?: string | undefined;
|
|
2970
|
+
utmCampaign?: string | undefined;
|
|
2971
|
+
utmTerm?: string | undefined;
|
|
2972
|
+
utmContent?: string | undefined;
|
|
2973
|
+
eventSchemaVersion?: string | undefined;
|
|
2974
|
+
beaconRequestId?: string | undefined;
|
|
2975
|
+
experienceId?: string | undefined;
|
|
2976
|
+
sequenceId?: string | undefined;
|
|
2977
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1615
2978
|
readonly eventName: v.LiteralSchema<"addToCart", undefined>;
|
|
1616
2979
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1617
2980
|
readonly cartId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -1670,7 +3033,70 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1670
3033
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1671
3034
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1672
3035
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1673
|
-
|
|
3036
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3037
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3038
|
+
}, undefined>, v.CheckAction<{
|
|
3039
|
+
eventName: "addToCart";
|
|
3040
|
+
eventProperties?: {
|
|
3041
|
+
cartId?: string | undefined;
|
|
3042
|
+
productId?: string | undefined;
|
|
3043
|
+
sku?: string | undefined;
|
|
3044
|
+
productName?: string | undefined;
|
|
3045
|
+
category?: string | undefined;
|
|
3046
|
+
variant?: string | undefined;
|
|
3047
|
+
price?: string | undefined;
|
|
3048
|
+
quantity?: number | undefined;
|
|
3049
|
+
currency?: string | undefined;
|
|
3050
|
+
postalCode?: string | undefined;
|
|
3051
|
+
timezone?: string | undefined;
|
|
3052
|
+
botScore?: number | undefined;
|
|
3053
|
+
geoLat?: number | undefined;
|
|
3054
|
+
geoLng?: number | undefined;
|
|
3055
|
+
} | undefined;
|
|
3056
|
+
organizationId: string;
|
|
3057
|
+
consumerId?: string | undefined;
|
|
3058
|
+
isGuest?: boolean | undefined;
|
|
3059
|
+
eventId: string;
|
|
3060
|
+
eventTimestamp: string;
|
|
3061
|
+
eventTimestampNs?: string | undefined;
|
|
3062
|
+
receivedTimestamp?: string | undefined;
|
|
3063
|
+
receivedTimestampNs?: string | undefined;
|
|
3064
|
+
segments?: {
|
|
3065
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
3066
|
+
} | undefined;
|
|
3067
|
+
userId?: string | undefined;
|
|
3068
|
+
anonymousId?: string | undefined;
|
|
3069
|
+
sessionId?: string | undefined;
|
|
3070
|
+
platform?: string | undefined;
|
|
3071
|
+
appVersion?: string | undefined;
|
|
3072
|
+
deviceType?: string | undefined;
|
|
3073
|
+
osName?: string | undefined;
|
|
3074
|
+
osVersion?: string | undefined;
|
|
3075
|
+
browserName?: string | undefined;
|
|
3076
|
+
browserVersion?: string | undefined;
|
|
3077
|
+
userAgent?: string | undefined;
|
|
3078
|
+
ipAddress?: string | undefined;
|
|
3079
|
+
geoCountry?: string | undefined;
|
|
3080
|
+
geoRegion?: string | undefined;
|
|
3081
|
+
geoCity?: string | undefined;
|
|
3082
|
+
geoLatitude?: number | undefined;
|
|
3083
|
+
geoLongitude?: number | undefined;
|
|
3084
|
+
pageUrl?: string | undefined;
|
|
3085
|
+
pagePath?: string | undefined;
|
|
3086
|
+
pageTitle?: string | undefined;
|
|
3087
|
+
screenName?: string | undefined;
|
|
3088
|
+
referrerUrl?: string | undefined;
|
|
3089
|
+
referringDomain?: string | undefined;
|
|
3090
|
+
utmSource?: string | undefined;
|
|
3091
|
+
utmMedium?: string | undefined;
|
|
3092
|
+
utmCampaign?: string | undefined;
|
|
3093
|
+
utmTerm?: string | undefined;
|
|
3094
|
+
utmContent?: string | undefined;
|
|
3095
|
+
eventSchemaVersion?: string | undefined;
|
|
3096
|
+
beaconRequestId?: string | undefined;
|
|
3097
|
+
experienceId?: string | undefined;
|
|
3098
|
+
sequenceId?: string | undefined;
|
|
3099
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1674
3100
|
readonly eventName: v.LiteralSchema<"removeFromCart", undefined>;
|
|
1675
3101
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1676
3102
|
readonly cartId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -1729,7 +3155,70 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1729
3155
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1730
3156
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1731
3157
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1732
|
-
|
|
3158
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3159
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3160
|
+
}, undefined>, v.CheckAction<{
|
|
3161
|
+
eventName: "removeFromCart";
|
|
3162
|
+
eventProperties?: {
|
|
3163
|
+
cartId?: string | undefined;
|
|
3164
|
+
productId?: string | undefined;
|
|
3165
|
+
sku?: string | undefined;
|
|
3166
|
+
productName?: string | undefined;
|
|
3167
|
+
category?: string | undefined;
|
|
3168
|
+
variant?: string | undefined;
|
|
3169
|
+
price?: string | undefined;
|
|
3170
|
+
quantity?: number | undefined;
|
|
3171
|
+
currency?: string | undefined;
|
|
3172
|
+
postalCode?: string | undefined;
|
|
3173
|
+
timezone?: string | undefined;
|
|
3174
|
+
botScore?: number | undefined;
|
|
3175
|
+
geoLat?: number | undefined;
|
|
3176
|
+
geoLng?: number | undefined;
|
|
3177
|
+
} | undefined;
|
|
3178
|
+
organizationId: string;
|
|
3179
|
+
consumerId?: string | undefined;
|
|
3180
|
+
isGuest?: boolean | undefined;
|
|
3181
|
+
eventId: string;
|
|
3182
|
+
eventTimestamp: string;
|
|
3183
|
+
eventTimestampNs?: string | undefined;
|
|
3184
|
+
receivedTimestamp?: string | undefined;
|
|
3185
|
+
receivedTimestampNs?: string | undefined;
|
|
3186
|
+
segments?: {
|
|
3187
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
3188
|
+
} | undefined;
|
|
3189
|
+
userId?: string | undefined;
|
|
3190
|
+
anonymousId?: string | undefined;
|
|
3191
|
+
sessionId?: string | undefined;
|
|
3192
|
+
platform?: string | undefined;
|
|
3193
|
+
appVersion?: string | undefined;
|
|
3194
|
+
deviceType?: string | undefined;
|
|
3195
|
+
osName?: string | undefined;
|
|
3196
|
+
osVersion?: string | undefined;
|
|
3197
|
+
browserName?: string | undefined;
|
|
3198
|
+
browserVersion?: string | undefined;
|
|
3199
|
+
userAgent?: string | undefined;
|
|
3200
|
+
ipAddress?: string | undefined;
|
|
3201
|
+
geoCountry?: string | undefined;
|
|
3202
|
+
geoRegion?: string | undefined;
|
|
3203
|
+
geoCity?: string | undefined;
|
|
3204
|
+
geoLatitude?: number | undefined;
|
|
3205
|
+
geoLongitude?: number | undefined;
|
|
3206
|
+
pageUrl?: string | undefined;
|
|
3207
|
+
pagePath?: string | undefined;
|
|
3208
|
+
pageTitle?: string | undefined;
|
|
3209
|
+
screenName?: string | undefined;
|
|
3210
|
+
referrerUrl?: string | undefined;
|
|
3211
|
+
referringDomain?: string | undefined;
|
|
3212
|
+
utmSource?: string | undefined;
|
|
3213
|
+
utmMedium?: string | undefined;
|
|
3214
|
+
utmCampaign?: string | undefined;
|
|
3215
|
+
utmTerm?: string | undefined;
|
|
3216
|
+
utmContent?: string | undefined;
|
|
3217
|
+
eventSchemaVersion?: string | undefined;
|
|
3218
|
+
beaconRequestId?: string | undefined;
|
|
3219
|
+
experienceId?: string | undefined;
|
|
3220
|
+
sequenceId?: string | undefined;
|
|
3221
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1733
3222
|
readonly eventName: v.LiteralSchema<"viewCart", undefined>;
|
|
1734
3223
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1735
3224
|
readonly cartId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -1783,7 +3272,65 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1783
3272
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1784
3273
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1785
3274
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1786
|
-
|
|
3275
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3276
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3277
|
+
}, undefined>, v.CheckAction<{
|
|
3278
|
+
eventName: "viewCart";
|
|
3279
|
+
eventProperties?: {
|
|
3280
|
+
cartId?: string | undefined;
|
|
3281
|
+
cartTotal?: string | undefined;
|
|
3282
|
+
itemCount?: number | undefined;
|
|
3283
|
+
currency?: string | undefined;
|
|
3284
|
+
postalCode?: string | undefined;
|
|
3285
|
+
timezone?: string | undefined;
|
|
3286
|
+
botScore?: number | undefined;
|
|
3287
|
+
geoLat?: number | undefined;
|
|
3288
|
+
geoLng?: number | undefined;
|
|
3289
|
+
} | undefined;
|
|
3290
|
+
organizationId: string;
|
|
3291
|
+
consumerId?: string | undefined;
|
|
3292
|
+
isGuest?: boolean | undefined;
|
|
3293
|
+
eventId: string;
|
|
3294
|
+
eventTimestamp: string;
|
|
3295
|
+
eventTimestampNs?: string | undefined;
|
|
3296
|
+
receivedTimestamp?: string | undefined;
|
|
3297
|
+
receivedTimestampNs?: string | undefined;
|
|
3298
|
+
segments?: {
|
|
3299
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
3300
|
+
} | undefined;
|
|
3301
|
+
userId?: string | undefined;
|
|
3302
|
+
anonymousId?: string | undefined;
|
|
3303
|
+
sessionId?: string | undefined;
|
|
3304
|
+
platform?: string | undefined;
|
|
3305
|
+
appVersion?: string | undefined;
|
|
3306
|
+
deviceType?: string | undefined;
|
|
3307
|
+
osName?: string | undefined;
|
|
3308
|
+
osVersion?: string | undefined;
|
|
3309
|
+
browserName?: string | undefined;
|
|
3310
|
+
browserVersion?: string | undefined;
|
|
3311
|
+
userAgent?: string | undefined;
|
|
3312
|
+
ipAddress?: string | undefined;
|
|
3313
|
+
geoCountry?: string | undefined;
|
|
3314
|
+
geoRegion?: string | undefined;
|
|
3315
|
+
geoCity?: string | undefined;
|
|
3316
|
+
geoLatitude?: number | undefined;
|
|
3317
|
+
geoLongitude?: number | undefined;
|
|
3318
|
+
pageUrl?: string | undefined;
|
|
3319
|
+
pagePath?: string | undefined;
|
|
3320
|
+
pageTitle?: string | undefined;
|
|
3321
|
+
screenName?: string | undefined;
|
|
3322
|
+
referrerUrl?: string | undefined;
|
|
3323
|
+
referringDomain?: string | undefined;
|
|
3324
|
+
utmSource?: string | undefined;
|
|
3325
|
+
utmMedium?: string | undefined;
|
|
3326
|
+
utmCampaign?: string | undefined;
|
|
3327
|
+
utmTerm?: string | undefined;
|
|
3328
|
+
utmContent?: string | undefined;
|
|
3329
|
+
eventSchemaVersion?: string | undefined;
|
|
3330
|
+
beaconRequestId?: string | undefined;
|
|
3331
|
+
experienceId?: string | undefined;
|
|
3332
|
+
sequenceId?: string | undefined;
|
|
3333
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1787
3334
|
readonly eventName: v.LiteralSchema<"beginCheckout", undefined>;
|
|
1788
3335
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1789
3336
|
readonly cartId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -1838,7 +3385,66 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1838
3385
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1839
3386
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1840
3387
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1841
|
-
|
|
3388
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3389
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3390
|
+
}, undefined>, v.CheckAction<{
|
|
3391
|
+
eventName: "beginCheckout";
|
|
3392
|
+
eventProperties?: {
|
|
3393
|
+
cartId?: string | undefined;
|
|
3394
|
+
cartTotal?: string | undefined;
|
|
3395
|
+
itemCount?: number | undefined;
|
|
3396
|
+
currency?: string | undefined;
|
|
3397
|
+
couponCodeApplied?: string | undefined;
|
|
3398
|
+
postalCode?: string | undefined;
|
|
3399
|
+
timezone?: string | undefined;
|
|
3400
|
+
botScore?: number | undefined;
|
|
3401
|
+
geoLat?: number | undefined;
|
|
3402
|
+
geoLng?: number | undefined;
|
|
3403
|
+
} | undefined;
|
|
3404
|
+
organizationId: string;
|
|
3405
|
+
consumerId?: string | undefined;
|
|
3406
|
+
isGuest?: boolean | undefined;
|
|
3407
|
+
eventId: string;
|
|
3408
|
+
eventTimestamp: string;
|
|
3409
|
+
eventTimestampNs?: string | undefined;
|
|
3410
|
+
receivedTimestamp?: string | undefined;
|
|
3411
|
+
receivedTimestampNs?: string | undefined;
|
|
3412
|
+
segments?: {
|
|
3413
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
3414
|
+
} | undefined;
|
|
3415
|
+
userId?: string | undefined;
|
|
3416
|
+
anonymousId?: string | undefined;
|
|
3417
|
+
sessionId?: string | undefined;
|
|
3418
|
+
platform?: string | undefined;
|
|
3419
|
+
appVersion?: string | undefined;
|
|
3420
|
+
deviceType?: string | undefined;
|
|
3421
|
+
osName?: string | undefined;
|
|
3422
|
+
osVersion?: string | undefined;
|
|
3423
|
+
browserName?: string | undefined;
|
|
3424
|
+
browserVersion?: string | undefined;
|
|
3425
|
+
userAgent?: string | undefined;
|
|
3426
|
+
ipAddress?: string | undefined;
|
|
3427
|
+
geoCountry?: string | undefined;
|
|
3428
|
+
geoRegion?: string | undefined;
|
|
3429
|
+
geoCity?: string | undefined;
|
|
3430
|
+
geoLatitude?: number | undefined;
|
|
3431
|
+
geoLongitude?: number | undefined;
|
|
3432
|
+
pageUrl?: string | undefined;
|
|
3433
|
+
pagePath?: string | undefined;
|
|
3434
|
+
pageTitle?: string | undefined;
|
|
3435
|
+
screenName?: string | undefined;
|
|
3436
|
+
referrerUrl?: string | undefined;
|
|
3437
|
+
referringDomain?: string | undefined;
|
|
3438
|
+
utmSource?: string | undefined;
|
|
3439
|
+
utmMedium?: string | undefined;
|
|
3440
|
+
utmCampaign?: string | undefined;
|
|
3441
|
+
utmTerm?: string | undefined;
|
|
3442
|
+
utmContent?: string | undefined;
|
|
3443
|
+
eventSchemaVersion?: string | undefined;
|
|
3444
|
+
beaconRequestId?: string | undefined;
|
|
3445
|
+
experienceId?: string | undefined;
|
|
3446
|
+
sequenceId?: string | undefined;
|
|
3447
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1842
3448
|
readonly eventName: v.LiteralSchema<"purchase", undefined>;
|
|
1843
3449
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1844
3450
|
readonly orderId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -1914,7 +3520,79 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1914
3520
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1915
3521
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1916
3522
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1917
|
-
|
|
3523
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3524
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3525
|
+
}, undefined>, v.CheckAction<{
|
|
3526
|
+
eventName: "purchase";
|
|
3527
|
+
eventProperties?: {
|
|
3528
|
+
orderId?: string | undefined;
|
|
3529
|
+
transactionId?: string | undefined;
|
|
3530
|
+
totalRevenue?: string | undefined;
|
|
3531
|
+
subtotal?: string | undefined;
|
|
3532
|
+
tax?: string | undefined;
|
|
3533
|
+
shippingCost?: string | undefined;
|
|
3534
|
+
currency?: string | undefined;
|
|
3535
|
+
couponCodeUsed?: string | undefined;
|
|
3536
|
+
discountAmount?: string | undefined;
|
|
3537
|
+
products?: {
|
|
3538
|
+
productId?: string | undefined;
|
|
3539
|
+
sku?: string | undefined;
|
|
3540
|
+
productName?: string | undefined;
|
|
3541
|
+
category?: string | undefined;
|
|
3542
|
+
variant?: string | undefined;
|
|
3543
|
+
price?: string | undefined;
|
|
3544
|
+
quantity?: number | undefined;
|
|
3545
|
+
}[] | undefined;
|
|
3546
|
+
postalCode?: string | undefined;
|
|
3547
|
+
timezone?: string | undefined;
|
|
3548
|
+
botScore?: number | undefined;
|
|
3549
|
+
geoLat?: number | undefined;
|
|
3550
|
+
geoLng?: number | undefined;
|
|
3551
|
+
} | undefined;
|
|
3552
|
+
organizationId: string;
|
|
3553
|
+
consumerId?: string | undefined;
|
|
3554
|
+
isGuest?: boolean | undefined;
|
|
3555
|
+
eventId: string;
|
|
3556
|
+
eventTimestamp: string;
|
|
3557
|
+
eventTimestampNs?: string | undefined;
|
|
3558
|
+
receivedTimestamp?: string | undefined;
|
|
3559
|
+
receivedTimestampNs?: string | undefined;
|
|
3560
|
+
segments?: {
|
|
3561
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
3562
|
+
} | undefined;
|
|
3563
|
+
userId?: string | undefined;
|
|
3564
|
+
anonymousId?: string | undefined;
|
|
3565
|
+
sessionId?: string | undefined;
|
|
3566
|
+
platform?: string | undefined;
|
|
3567
|
+
appVersion?: string | undefined;
|
|
3568
|
+
deviceType?: string | undefined;
|
|
3569
|
+
osName?: string | undefined;
|
|
3570
|
+
osVersion?: string | undefined;
|
|
3571
|
+
browserName?: string | undefined;
|
|
3572
|
+
browserVersion?: string | undefined;
|
|
3573
|
+
userAgent?: string | undefined;
|
|
3574
|
+
ipAddress?: string | undefined;
|
|
3575
|
+
geoCountry?: string | undefined;
|
|
3576
|
+
geoRegion?: string | undefined;
|
|
3577
|
+
geoCity?: string | undefined;
|
|
3578
|
+
geoLatitude?: number | undefined;
|
|
3579
|
+
geoLongitude?: number | undefined;
|
|
3580
|
+
pageUrl?: string | undefined;
|
|
3581
|
+
pagePath?: string | undefined;
|
|
3582
|
+
pageTitle?: string | undefined;
|
|
3583
|
+
screenName?: string | undefined;
|
|
3584
|
+
referrerUrl?: string | undefined;
|
|
3585
|
+
referringDomain?: string | undefined;
|
|
3586
|
+
utmSource?: string | undefined;
|
|
3587
|
+
utmMedium?: string | undefined;
|
|
3588
|
+
utmCampaign?: string | undefined;
|
|
3589
|
+
utmTerm?: string | undefined;
|
|
3590
|
+
utmContent?: string | undefined;
|
|
3591
|
+
eventSchemaVersion?: string | undefined;
|
|
3592
|
+
beaconRequestId?: string | undefined;
|
|
3593
|
+
experienceId?: string | undefined;
|
|
3594
|
+
sequenceId?: string | undefined;
|
|
3595
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1918
3596
|
readonly eventName: v.LiteralSchema<"searchSubmitted", undefined>;
|
|
1919
3597
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1920
3598
|
readonly searchQuery: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2048, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -1966,11 +3644,65 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1966
3644
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1967
3645
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1968
3646
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1969
|
-
|
|
3647
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3648
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3649
|
+
}, undefined>, v.CheckAction<{
|
|
3650
|
+
eventName: "searchSubmitted";
|
|
3651
|
+
eventProperties?: {
|
|
3652
|
+
searchQuery?: string | undefined;
|
|
3653
|
+
resultsCount?: number | undefined;
|
|
3654
|
+
postalCode?: string | undefined;
|
|
3655
|
+
timezone?: string | undefined;
|
|
3656
|
+
botScore?: number | undefined;
|
|
3657
|
+
geoLat?: number | undefined;
|
|
3658
|
+
geoLng?: number | undefined;
|
|
3659
|
+
} | undefined;
|
|
3660
|
+
organizationId: string;
|
|
3661
|
+
consumerId?: string | undefined;
|
|
3662
|
+
isGuest?: boolean | undefined;
|
|
3663
|
+
eventId: string;
|
|
3664
|
+
eventTimestamp: string;
|
|
3665
|
+
eventTimestampNs?: string | undefined;
|
|
3666
|
+
receivedTimestamp?: string | undefined;
|
|
3667
|
+
receivedTimestampNs?: string | undefined;
|
|
3668
|
+
segments?: {
|
|
3669
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
3670
|
+
} | undefined;
|
|
3671
|
+
userId?: string | undefined;
|
|
3672
|
+
anonymousId?: string | undefined;
|
|
3673
|
+
sessionId?: string | undefined;
|
|
3674
|
+
platform?: string | undefined;
|
|
3675
|
+
appVersion?: string | undefined;
|
|
3676
|
+
deviceType?: string | undefined;
|
|
3677
|
+
osName?: string | undefined;
|
|
3678
|
+
osVersion?: string | undefined;
|
|
3679
|
+
browserName?: string | undefined;
|
|
3680
|
+
browserVersion?: string | undefined;
|
|
3681
|
+
userAgent?: string | undefined;
|
|
3682
|
+
ipAddress?: string | undefined;
|
|
3683
|
+
geoCountry?: string | undefined;
|
|
3684
|
+
geoRegion?: string | undefined;
|
|
3685
|
+
geoCity?: string | undefined;
|
|
3686
|
+
geoLatitude?: number | undefined;
|
|
3687
|
+
geoLongitude?: number | undefined;
|
|
3688
|
+
pageUrl?: string | undefined;
|
|
3689
|
+
pagePath?: string | undefined;
|
|
3690
|
+
pageTitle?: string | undefined;
|
|
3691
|
+
screenName?: string | undefined;
|
|
3692
|
+
referrerUrl?: string | undefined;
|
|
3693
|
+
referringDomain?: string | undefined;
|
|
3694
|
+
utmSource?: string | undefined;
|
|
3695
|
+
utmMedium?: string | undefined;
|
|
3696
|
+
utmCampaign?: string | undefined;
|
|
3697
|
+
utmTerm?: string | undefined;
|
|
3698
|
+
utmContent?: string | undefined;
|
|
3699
|
+
eventSchemaVersion?: string | undefined;
|
|
3700
|
+
beaconRequestId?: string | undefined;
|
|
3701
|
+
experienceId?: string | undefined;
|
|
3702
|
+
sequenceId?: string | undefined;
|
|
3703
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1970
3704
|
readonly eventName: v.LiteralSchema<"qrScanned", undefined>;
|
|
1971
3705
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1972
|
-
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1973
|
-
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1974
3706
|
readonly locationId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1975
3707
|
readonly qrPayload: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2048, "validation.beacon.string.maxLength">]>, undefined>;
|
|
1976
3708
|
readonly postalCode: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -2020,7 +3752,63 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
2020
3752
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2021
3753
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2022
3754
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2023
|
-
|
|
3755
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3756
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3757
|
+
}, undefined>, v.CheckAction<{
|
|
3758
|
+
eventName: "qrScanned";
|
|
3759
|
+
eventProperties?: {
|
|
3760
|
+
locationId?: string | undefined;
|
|
3761
|
+
qrPayload?: string | undefined;
|
|
3762
|
+
postalCode?: string | undefined;
|
|
3763
|
+
timezone?: string | undefined;
|
|
3764
|
+
botScore?: number | undefined;
|
|
3765
|
+
geoLat?: number | undefined;
|
|
3766
|
+
geoLng?: number | undefined;
|
|
3767
|
+
} | undefined;
|
|
3768
|
+
organizationId: string;
|
|
3769
|
+
consumerId?: string | undefined;
|
|
3770
|
+
isGuest?: boolean | undefined;
|
|
3771
|
+
eventId: string;
|
|
3772
|
+
eventTimestamp: string;
|
|
3773
|
+
eventTimestampNs?: string | undefined;
|
|
3774
|
+
receivedTimestamp?: string | undefined;
|
|
3775
|
+
receivedTimestampNs?: string | undefined;
|
|
3776
|
+
segments?: {
|
|
3777
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
3778
|
+
} | undefined;
|
|
3779
|
+
userId?: string | undefined;
|
|
3780
|
+
anonymousId?: string | undefined;
|
|
3781
|
+
sessionId?: string | undefined;
|
|
3782
|
+
platform?: string | undefined;
|
|
3783
|
+
appVersion?: string | undefined;
|
|
3784
|
+
deviceType?: string | undefined;
|
|
3785
|
+
osName?: string | undefined;
|
|
3786
|
+
osVersion?: string | undefined;
|
|
3787
|
+
browserName?: string | undefined;
|
|
3788
|
+
browserVersion?: string | undefined;
|
|
3789
|
+
userAgent?: string | undefined;
|
|
3790
|
+
ipAddress?: string | undefined;
|
|
3791
|
+
geoCountry?: string | undefined;
|
|
3792
|
+
geoRegion?: string | undefined;
|
|
3793
|
+
geoCity?: string | undefined;
|
|
3794
|
+
geoLatitude?: number | undefined;
|
|
3795
|
+
geoLongitude?: number | undefined;
|
|
3796
|
+
pageUrl?: string | undefined;
|
|
3797
|
+
pagePath?: string | undefined;
|
|
3798
|
+
pageTitle?: string | undefined;
|
|
3799
|
+
screenName?: string | undefined;
|
|
3800
|
+
referrerUrl?: string | undefined;
|
|
3801
|
+
referringDomain?: string | undefined;
|
|
3802
|
+
utmSource?: string | undefined;
|
|
3803
|
+
utmMedium?: string | undefined;
|
|
3804
|
+
utmCampaign?: string | undefined;
|
|
3805
|
+
utmTerm?: string | undefined;
|
|
3806
|
+
utmContent?: string | undefined;
|
|
3807
|
+
eventSchemaVersion?: string | undefined;
|
|
3808
|
+
beaconRequestId?: string | undefined;
|
|
3809
|
+
experienceId?: string | undefined;
|
|
3810
|
+
sequenceId?: string | undefined;
|
|
3811
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2024
3812
|
readonly eventName: v.LiteralSchema<"messageSent", undefined>;
|
|
2025
3813
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2026
3814
|
readonly channel: v.OptionalSchema<v.PicklistSchema<["email", "sms"], undefined>, undefined>;
|
|
@@ -2075,7 +3863,66 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
2075
3863
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2076
3864
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2077
3865
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2078
|
-
|
|
3866
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3867
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3868
|
+
}, undefined>, v.CheckAction<{
|
|
3869
|
+
eventName: "messageSent";
|
|
3870
|
+
eventProperties?: {
|
|
3871
|
+
channel?: "email" | "sms" | undefined;
|
|
3872
|
+
messageId?: string | undefined;
|
|
3873
|
+
template?: string | undefined;
|
|
3874
|
+
priority?: string | undefined;
|
|
3875
|
+
consumerId?: string | undefined;
|
|
3876
|
+
postalCode?: string | undefined;
|
|
3877
|
+
timezone?: string | undefined;
|
|
3878
|
+
botScore?: number | undefined;
|
|
3879
|
+
geoLat?: number | undefined;
|
|
3880
|
+
geoLng?: number | undefined;
|
|
3881
|
+
} | undefined;
|
|
3882
|
+
organizationId: string;
|
|
3883
|
+
consumerId?: string | undefined;
|
|
3884
|
+
isGuest?: boolean | undefined;
|
|
3885
|
+
eventId: string;
|
|
3886
|
+
eventTimestamp: string;
|
|
3887
|
+
eventTimestampNs?: string | undefined;
|
|
3888
|
+
receivedTimestamp?: string | undefined;
|
|
3889
|
+
receivedTimestampNs?: string | undefined;
|
|
3890
|
+
segments?: {
|
|
3891
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
3892
|
+
} | undefined;
|
|
3893
|
+
userId?: string | undefined;
|
|
3894
|
+
anonymousId?: string | undefined;
|
|
3895
|
+
sessionId?: string | undefined;
|
|
3896
|
+
platform?: string | undefined;
|
|
3897
|
+
appVersion?: string | undefined;
|
|
3898
|
+
deviceType?: string | undefined;
|
|
3899
|
+
osName?: string | undefined;
|
|
3900
|
+
osVersion?: string | undefined;
|
|
3901
|
+
browserName?: string | undefined;
|
|
3902
|
+
browserVersion?: string | undefined;
|
|
3903
|
+
userAgent?: string | undefined;
|
|
3904
|
+
ipAddress?: string | undefined;
|
|
3905
|
+
geoCountry?: string | undefined;
|
|
3906
|
+
geoRegion?: string | undefined;
|
|
3907
|
+
geoCity?: string | undefined;
|
|
3908
|
+
geoLatitude?: number | undefined;
|
|
3909
|
+
geoLongitude?: number | undefined;
|
|
3910
|
+
pageUrl?: string | undefined;
|
|
3911
|
+
pagePath?: string | undefined;
|
|
3912
|
+
pageTitle?: string | undefined;
|
|
3913
|
+
screenName?: string | undefined;
|
|
3914
|
+
referrerUrl?: string | undefined;
|
|
3915
|
+
referringDomain?: string | undefined;
|
|
3916
|
+
utmSource?: string | undefined;
|
|
3917
|
+
utmMedium?: string | undefined;
|
|
3918
|
+
utmCampaign?: string | undefined;
|
|
3919
|
+
utmTerm?: string | undefined;
|
|
3920
|
+
utmContent?: string | undefined;
|
|
3921
|
+
eventSchemaVersion?: string | undefined;
|
|
3922
|
+
beaconRequestId?: string | undefined;
|
|
3923
|
+
experienceId?: string | undefined;
|
|
3924
|
+
sequenceId?: string | undefined;
|
|
3925
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2079
3926
|
readonly eventName: v.LiteralSchema<"messageDelivered", undefined>;
|
|
2080
3927
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2081
3928
|
readonly channel: v.OptionalSchema<v.PicklistSchema<["email", "sms"], undefined>, undefined>;
|
|
@@ -2130,7 +3977,66 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
2130
3977
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2131
3978
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2132
3979
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2133
|
-
|
|
3980
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3981
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
3982
|
+
}, undefined>, v.CheckAction<{
|
|
3983
|
+
eventName: "messageDelivered";
|
|
3984
|
+
eventProperties?: {
|
|
3985
|
+
channel?: "email" | "sms" | undefined;
|
|
3986
|
+
messageId?: string | undefined;
|
|
3987
|
+
template?: string | undefined;
|
|
3988
|
+
priority?: string | undefined;
|
|
3989
|
+
consumerId?: string | undefined;
|
|
3990
|
+
postalCode?: string | undefined;
|
|
3991
|
+
timezone?: string | undefined;
|
|
3992
|
+
botScore?: number | undefined;
|
|
3993
|
+
geoLat?: number | undefined;
|
|
3994
|
+
geoLng?: number | undefined;
|
|
3995
|
+
} | undefined;
|
|
3996
|
+
organizationId: string;
|
|
3997
|
+
consumerId?: string | undefined;
|
|
3998
|
+
isGuest?: boolean | undefined;
|
|
3999
|
+
eventId: string;
|
|
4000
|
+
eventTimestamp: string;
|
|
4001
|
+
eventTimestampNs?: string | undefined;
|
|
4002
|
+
receivedTimestamp?: string | undefined;
|
|
4003
|
+
receivedTimestampNs?: string | undefined;
|
|
4004
|
+
segments?: {
|
|
4005
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
4006
|
+
} | undefined;
|
|
4007
|
+
userId?: string | undefined;
|
|
4008
|
+
anonymousId?: string | undefined;
|
|
4009
|
+
sessionId?: string | undefined;
|
|
4010
|
+
platform?: string | undefined;
|
|
4011
|
+
appVersion?: string | undefined;
|
|
4012
|
+
deviceType?: string | undefined;
|
|
4013
|
+
osName?: string | undefined;
|
|
4014
|
+
osVersion?: string | undefined;
|
|
4015
|
+
browserName?: string | undefined;
|
|
4016
|
+
browserVersion?: string | undefined;
|
|
4017
|
+
userAgent?: string | undefined;
|
|
4018
|
+
ipAddress?: string | undefined;
|
|
4019
|
+
geoCountry?: string | undefined;
|
|
4020
|
+
geoRegion?: string | undefined;
|
|
4021
|
+
geoCity?: string | undefined;
|
|
4022
|
+
geoLatitude?: number | undefined;
|
|
4023
|
+
geoLongitude?: number | undefined;
|
|
4024
|
+
pageUrl?: string | undefined;
|
|
4025
|
+
pagePath?: string | undefined;
|
|
4026
|
+
pageTitle?: string | undefined;
|
|
4027
|
+
screenName?: string | undefined;
|
|
4028
|
+
referrerUrl?: string | undefined;
|
|
4029
|
+
referringDomain?: string | undefined;
|
|
4030
|
+
utmSource?: string | undefined;
|
|
4031
|
+
utmMedium?: string | undefined;
|
|
4032
|
+
utmCampaign?: string | undefined;
|
|
4033
|
+
utmTerm?: string | undefined;
|
|
4034
|
+
utmContent?: string | undefined;
|
|
4035
|
+
eventSchemaVersion?: string | undefined;
|
|
4036
|
+
beaconRequestId?: string | undefined;
|
|
4037
|
+
experienceId?: string | undefined;
|
|
4038
|
+
sequenceId?: string | undefined;
|
|
4039
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2134
4040
|
readonly eventName: v.LiteralSchema<"messageBounced", undefined>;
|
|
2135
4041
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2136
4042
|
readonly bounceType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -2186,7 +4092,67 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
2186
4092
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2187
4093
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2188
4094
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2189
|
-
|
|
4095
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
4096
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
4097
|
+
}, undefined>, v.CheckAction<{
|
|
4098
|
+
eventName: "messageBounced";
|
|
4099
|
+
eventProperties?: {
|
|
4100
|
+
bounceType?: string | undefined;
|
|
4101
|
+
channel?: "email" | "sms" | undefined;
|
|
4102
|
+
messageId?: string | undefined;
|
|
4103
|
+
template?: string | undefined;
|
|
4104
|
+
priority?: string | undefined;
|
|
4105
|
+
consumerId?: string | undefined;
|
|
4106
|
+
postalCode?: string | undefined;
|
|
4107
|
+
timezone?: string | undefined;
|
|
4108
|
+
botScore?: number | undefined;
|
|
4109
|
+
geoLat?: number | undefined;
|
|
4110
|
+
geoLng?: number | undefined;
|
|
4111
|
+
} | undefined;
|
|
4112
|
+
organizationId: string;
|
|
4113
|
+
consumerId?: string | undefined;
|
|
4114
|
+
isGuest?: boolean | undefined;
|
|
4115
|
+
eventId: string;
|
|
4116
|
+
eventTimestamp: string;
|
|
4117
|
+
eventTimestampNs?: string | undefined;
|
|
4118
|
+
receivedTimestamp?: string | undefined;
|
|
4119
|
+
receivedTimestampNs?: string | undefined;
|
|
4120
|
+
segments?: {
|
|
4121
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
4122
|
+
} | undefined;
|
|
4123
|
+
userId?: string | undefined;
|
|
4124
|
+
anonymousId?: string | undefined;
|
|
4125
|
+
sessionId?: string | undefined;
|
|
4126
|
+
platform?: string | undefined;
|
|
4127
|
+
appVersion?: string | undefined;
|
|
4128
|
+
deviceType?: string | undefined;
|
|
4129
|
+
osName?: string | undefined;
|
|
4130
|
+
osVersion?: string | undefined;
|
|
4131
|
+
browserName?: string | undefined;
|
|
4132
|
+
browserVersion?: string | undefined;
|
|
4133
|
+
userAgent?: string | undefined;
|
|
4134
|
+
ipAddress?: string | undefined;
|
|
4135
|
+
geoCountry?: string | undefined;
|
|
4136
|
+
geoRegion?: string | undefined;
|
|
4137
|
+
geoCity?: string | undefined;
|
|
4138
|
+
geoLatitude?: number | undefined;
|
|
4139
|
+
geoLongitude?: number | undefined;
|
|
4140
|
+
pageUrl?: string | undefined;
|
|
4141
|
+
pagePath?: string | undefined;
|
|
4142
|
+
pageTitle?: string | undefined;
|
|
4143
|
+
screenName?: string | undefined;
|
|
4144
|
+
referrerUrl?: string | undefined;
|
|
4145
|
+
referringDomain?: string | undefined;
|
|
4146
|
+
utmSource?: string | undefined;
|
|
4147
|
+
utmMedium?: string | undefined;
|
|
4148
|
+
utmCampaign?: string | undefined;
|
|
4149
|
+
utmTerm?: string | undefined;
|
|
4150
|
+
utmContent?: string | undefined;
|
|
4151
|
+
eventSchemaVersion?: string | undefined;
|
|
4152
|
+
beaconRequestId?: string | undefined;
|
|
4153
|
+
experienceId?: string | undefined;
|
|
4154
|
+
sequenceId?: string | undefined;
|
|
4155
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2190
4156
|
readonly eventName: v.LiteralSchema<"messageComplained", undefined>;
|
|
2191
4157
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2192
4158
|
readonly complaintType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
@@ -2242,7 +4208,67 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
2242
4208
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2243
4209
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2244
4210
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2245
|
-
|
|
4211
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
4212
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
4213
|
+
}, undefined>, v.CheckAction<{
|
|
4214
|
+
eventName: "messageComplained";
|
|
4215
|
+
eventProperties?: {
|
|
4216
|
+
complaintType?: string | undefined;
|
|
4217
|
+
channel?: "email" | "sms" | undefined;
|
|
4218
|
+
messageId?: string | undefined;
|
|
4219
|
+
template?: string | undefined;
|
|
4220
|
+
priority?: string | undefined;
|
|
4221
|
+
consumerId?: string | undefined;
|
|
4222
|
+
postalCode?: string | undefined;
|
|
4223
|
+
timezone?: string | undefined;
|
|
4224
|
+
botScore?: number | undefined;
|
|
4225
|
+
geoLat?: number | undefined;
|
|
4226
|
+
geoLng?: number | undefined;
|
|
4227
|
+
} | undefined;
|
|
4228
|
+
organizationId: string;
|
|
4229
|
+
consumerId?: string | undefined;
|
|
4230
|
+
isGuest?: boolean | undefined;
|
|
4231
|
+
eventId: string;
|
|
4232
|
+
eventTimestamp: string;
|
|
4233
|
+
eventTimestampNs?: string | undefined;
|
|
4234
|
+
receivedTimestamp?: string | undefined;
|
|
4235
|
+
receivedTimestampNs?: string | undefined;
|
|
4236
|
+
segments?: {
|
|
4237
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
4238
|
+
} | undefined;
|
|
4239
|
+
userId?: string | undefined;
|
|
4240
|
+
anonymousId?: string | undefined;
|
|
4241
|
+
sessionId?: string | undefined;
|
|
4242
|
+
platform?: string | undefined;
|
|
4243
|
+
appVersion?: string | undefined;
|
|
4244
|
+
deviceType?: string | undefined;
|
|
4245
|
+
osName?: string | undefined;
|
|
4246
|
+
osVersion?: string | undefined;
|
|
4247
|
+
browserName?: string | undefined;
|
|
4248
|
+
browserVersion?: string | undefined;
|
|
4249
|
+
userAgent?: string | undefined;
|
|
4250
|
+
ipAddress?: string | undefined;
|
|
4251
|
+
geoCountry?: string | undefined;
|
|
4252
|
+
geoRegion?: string | undefined;
|
|
4253
|
+
geoCity?: string | undefined;
|
|
4254
|
+
geoLatitude?: number | undefined;
|
|
4255
|
+
geoLongitude?: number | undefined;
|
|
4256
|
+
pageUrl?: string | undefined;
|
|
4257
|
+
pagePath?: string | undefined;
|
|
4258
|
+
pageTitle?: string | undefined;
|
|
4259
|
+
screenName?: string | undefined;
|
|
4260
|
+
referrerUrl?: string | undefined;
|
|
4261
|
+
referringDomain?: string | undefined;
|
|
4262
|
+
utmSource?: string | undefined;
|
|
4263
|
+
utmMedium?: string | undefined;
|
|
4264
|
+
utmCampaign?: string | undefined;
|
|
4265
|
+
utmTerm?: string | undefined;
|
|
4266
|
+
utmContent?: string | undefined;
|
|
4267
|
+
eventSchemaVersion?: string | undefined;
|
|
4268
|
+
beaconRequestId?: string | undefined;
|
|
4269
|
+
experienceId?: string | undefined;
|
|
4270
|
+
sequenceId?: string | undefined;
|
|
4271
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2246
4272
|
readonly eventName: v.LiteralSchema<"messageClicked", undefined>;
|
|
2247
4273
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2248
4274
|
readonly channel: v.OptionalSchema<v.PicklistSchema<["email", "sms"], undefined>, undefined>;
|
|
@@ -2297,7 +4323,66 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
2297
4323
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2298
4324
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2299
4325
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2300
|
-
|
|
4326
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
4327
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
4328
|
+
}, undefined>, v.CheckAction<{
|
|
4329
|
+
eventName: "messageClicked";
|
|
4330
|
+
eventProperties?: {
|
|
4331
|
+
channel?: "email" | "sms" | undefined;
|
|
4332
|
+
messageId?: string | undefined;
|
|
4333
|
+
template?: string | undefined;
|
|
4334
|
+
priority?: string | undefined;
|
|
4335
|
+
consumerId?: string | undefined;
|
|
4336
|
+
postalCode?: string | undefined;
|
|
4337
|
+
timezone?: string | undefined;
|
|
4338
|
+
botScore?: number | undefined;
|
|
4339
|
+
geoLat?: number | undefined;
|
|
4340
|
+
geoLng?: number | undefined;
|
|
4341
|
+
} | undefined;
|
|
4342
|
+
organizationId: string;
|
|
4343
|
+
consumerId?: string | undefined;
|
|
4344
|
+
isGuest?: boolean | undefined;
|
|
4345
|
+
eventId: string;
|
|
4346
|
+
eventTimestamp: string;
|
|
4347
|
+
eventTimestampNs?: string | undefined;
|
|
4348
|
+
receivedTimestamp?: string | undefined;
|
|
4349
|
+
receivedTimestampNs?: string | undefined;
|
|
4350
|
+
segments?: {
|
|
4351
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
4352
|
+
} | undefined;
|
|
4353
|
+
userId?: string | undefined;
|
|
4354
|
+
anonymousId?: string | undefined;
|
|
4355
|
+
sessionId?: string | undefined;
|
|
4356
|
+
platform?: string | undefined;
|
|
4357
|
+
appVersion?: string | undefined;
|
|
4358
|
+
deviceType?: string | undefined;
|
|
4359
|
+
osName?: string | undefined;
|
|
4360
|
+
osVersion?: string | undefined;
|
|
4361
|
+
browserName?: string | undefined;
|
|
4362
|
+
browserVersion?: string | undefined;
|
|
4363
|
+
userAgent?: string | undefined;
|
|
4364
|
+
ipAddress?: string | undefined;
|
|
4365
|
+
geoCountry?: string | undefined;
|
|
4366
|
+
geoRegion?: string | undefined;
|
|
4367
|
+
geoCity?: string | undefined;
|
|
4368
|
+
geoLatitude?: number | undefined;
|
|
4369
|
+
geoLongitude?: number | undefined;
|
|
4370
|
+
pageUrl?: string | undefined;
|
|
4371
|
+
pagePath?: string | undefined;
|
|
4372
|
+
pageTitle?: string | undefined;
|
|
4373
|
+
screenName?: string | undefined;
|
|
4374
|
+
referrerUrl?: string | undefined;
|
|
4375
|
+
referringDomain?: string | undefined;
|
|
4376
|
+
utmSource?: string | undefined;
|
|
4377
|
+
utmMedium?: string | undefined;
|
|
4378
|
+
utmCampaign?: string | undefined;
|
|
4379
|
+
utmTerm?: string | undefined;
|
|
4380
|
+
utmContent?: string | undefined;
|
|
4381
|
+
eventSchemaVersion?: string | undefined;
|
|
4382
|
+
beaconRequestId?: string | undefined;
|
|
4383
|
+
experienceId?: string | undefined;
|
|
4384
|
+
sequenceId?: string | undefined;
|
|
4385
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2301
4386
|
readonly eventName: v.LiteralSchema<"messageOpened", undefined>;
|
|
2302
4387
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2303
4388
|
readonly channel: v.OptionalSchema<v.PicklistSchema<["email", "sms"], undefined>, undefined>;
|
|
@@ -2352,7 +4437,66 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
2352
4437
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2353
4438
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2354
4439
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2355
|
-
|
|
4440
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
4441
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
4442
|
+
}, undefined>, v.CheckAction<{
|
|
4443
|
+
eventName: "messageOpened";
|
|
4444
|
+
eventProperties?: {
|
|
4445
|
+
channel?: "email" | "sms" | undefined;
|
|
4446
|
+
messageId?: string | undefined;
|
|
4447
|
+
template?: string | undefined;
|
|
4448
|
+
priority?: string | undefined;
|
|
4449
|
+
consumerId?: string | undefined;
|
|
4450
|
+
postalCode?: string | undefined;
|
|
4451
|
+
timezone?: string | undefined;
|
|
4452
|
+
botScore?: number | undefined;
|
|
4453
|
+
geoLat?: number | undefined;
|
|
4454
|
+
geoLng?: number | undefined;
|
|
4455
|
+
} | undefined;
|
|
4456
|
+
organizationId: string;
|
|
4457
|
+
consumerId?: string | undefined;
|
|
4458
|
+
isGuest?: boolean | undefined;
|
|
4459
|
+
eventId: string;
|
|
4460
|
+
eventTimestamp: string;
|
|
4461
|
+
eventTimestampNs?: string | undefined;
|
|
4462
|
+
receivedTimestamp?: string | undefined;
|
|
4463
|
+
receivedTimestampNs?: string | undefined;
|
|
4464
|
+
segments?: {
|
|
4465
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
4466
|
+
} | undefined;
|
|
4467
|
+
userId?: string | undefined;
|
|
4468
|
+
anonymousId?: string | undefined;
|
|
4469
|
+
sessionId?: string | undefined;
|
|
4470
|
+
platform?: string | undefined;
|
|
4471
|
+
appVersion?: string | undefined;
|
|
4472
|
+
deviceType?: string | undefined;
|
|
4473
|
+
osName?: string | undefined;
|
|
4474
|
+
osVersion?: string | undefined;
|
|
4475
|
+
browserName?: string | undefined;
|
|
4476
|
+
browserVersion?: string | undefined;
|
|
4477
|
+
userAgent?: string | undefined;
|
|
4478
|
+
ipAddress?: string | undefined;
|
|
4479
|
+
geoCountry?: string | undefined;
|
|
4480
|
+
geoRegion?: string | undefined;
|
|
4481
|
+
geoCity?: string | undefined;
|
|
4482
|
+
geoLatitude?: number | undefined;
|
|
4483
|
+
geoLongitude?: number | undefined;
|
|
4484
|
+
pageUrl?: string | undefined;
|
|
4485
|
+
pagePath?: string | undefined;
|
|
4486
|
+
pageTitle?: string | undefined;
|
|
4487
|
+
screenName?: string | undefined;
|
|
4488
|
+
referrerUrl?: string | undefined;
|
|
4489
|
+
referringDomain?: string | undefined;
|
|
4490
|
+
utmSource?: string | undefined;
|
|
4491
|
+
utmMedium?: string | undefined;
|
|
4492
|
+
utmCampaign?: string | undefined;
|
|
4493
|
+
utmTerm?: string | undefined;
|
|
4494
|
+
utmContent?: string | undefined;
|
|
4495
|
+
eventSchemaVersion?: string | undefined;
|
|
4496
|
+
beaconRequestId?: string | undefined;
|
|
4497
|
+
experienceId?: string | undefined;
|
|
4498
|
+
sequenceId?: string | undefined;
|
|
4499
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2356
4500
|
readonly eventName: v.LiteralSchema<"messageRead", undefined>;
|
|
2357
4501
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2358
4502
|
readonly channel: v.OptionalSchema<v.PicklistSchema<["email", "sms"], undefined>, undefined>;
|
|
@@ -2407,7 +4551,66 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
2407
4551
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2408
4552
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2409
4553
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2410
|
-
|
|
4554
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
4555
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
4556
|
+
}, undefined>, v.CheckAction<{
|
|
4557
|
+
eventName: "messageRead";
|
|
4558
|
+
eventProperties?: {
|
|
4559
|
+
channel?: "email" | "sms" | undefined;
|
|
4560
|
+
messageId?: string | undefined;
|
|
4561
|
+
template?: string | undefined;
|
|
4562
|
+
priority?: string | undefined;
|
|
4563
|
+
consumerId?: string | undefined;
|
|
4564
|
+
postalCode?: string | undefined;
|
|
4565
|
+
timezone?: string | undefined;
|
|
4566
|
+
botScore?: number | undefined;
|
|
4567
|
+
geoLat?: number | undefined;
|
|
4568
|
+
geoLng?: number | undefined;
|
|
4569
|
+
} | undefined;
|
|
4570
|
+
organizationId: string;
|
|
4571
|
+
consumerId?: string | undefined;
|
|
4572
|
+
isGuest?: boolean | undefined;
|
|
4573
|
+
eventId: string;
|
|
4574
|
+
eventTimestamp: string;
|
|
4575
|
+
eventTimestampNs?: string | undefined;
|
|
4576
|
+
receivedTimestamp?: string | undefined;
|
|
4577
|
+
receivedTimestampNs?: string | undefined;
|
|
4578
|
+
segments?: {
|
|
4579
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
4580
|
+
} | undefined;
|
|
4581
|
+
userId?: string | undefined;
|
|
4582
|
+
anonymousId?: string | undefined;
|
|
4583
|
+
sessionId?: string | undefined;
|
|
4584
|
+
platform?: string | undefined;
|
|
4585
|
+
appVersion?: string | undefined;
|
|
4586
|
+
deviceType?: string | undefined;
|
|
4587
|
+
osName?: string | undefined;
|
|
4588
|
+
osVersion?: string | undefined;
|
|
4589
|
+
browserName?: string | undefined;
|
|
4590
|
+
browserVersion?: string | undefined;
|
|
4591
|
+
userAgent?: string | undefined;
|
|
4592
|
+
ipAddress?: string | undefined;
|
|
4593
|
+
geoCountry?: string | undefined;
|
|
4594
|
+
geoRegion?: string | undefined;
|
|
4595
|
+
geoCity?: string | undefined;
|
|
4596
|
+
geoLatitude?: number | undefined;
|
|
4597
|
+
geoLongitude?: number | undefined;
|
|
4598
|
+
pageUrl?: string | undefined;
|
|
4599
|
+
pagePath?: string | undefined;
|
|
4600
|
+
pageTitle?: string | undefined;
|
|
4601
|
+
screenName?: string | undefined;
|
|
4602
|
+
referrerUrl?: string | undefined;
|
|
4603
|
+
referringDomain?: string | undefined;
|
|
4604
|
+
utmSource?: string | undefined;
|
|
4605
|
+
utmMedium?: string | undefined;
|
|
4606
|
+
utmCampaign?: string | undefined;
|
|
4607
|
+
utmTerm?: string | undefined;
|
|
4608
|
+
utmContent?: string | undefined;
|
|
4609
|
+
eventSchemaVersion?: string | undefined;
|
|
4610
|
+
beaconRequestId?: string | undefined;
|
|
4611
|
+
experienceId?: string | undefined;
|
|
4612
|
+
sequenceId?: string | undefined;
|
|
4613
|
+
}, "validation.beacon.sequenceRequiresExperience">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2411
4614
|
readonly eventName: v.LiteralSchema<"messageFailed", undefined>;
|
|
2412
4615
|
readonly eventProperties: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2413
4616
|
readonly retryCount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.CheckAction<number, "validation.beacon.number.finite">]>, undefined>;
|
|
@@ -2463,7 +4666,67 @@ export declare const BeaconEventSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
2463
4666
|
readonly utmContent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2464
4667
|
readonly eventSchemaVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2465
4668
|
readonly beaconRequestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, "validation.beacon.string.maxLength">]>, undefined>;
|
|
2466
|
-
|
|
4669
|
+
readonly experienceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
4670
|
+
readonly sequenceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, "validation.uuid">]>, undefined>;
|
|
4671
|
+
}, undefined>, v.CheckAction<{
|
|
4672
|
+
eventName: "messageFailed";
|
|
4673
|
+
eventProperties?: {
|
|
4674
|
+
retryCount?: number | undefined;
|
|
4675
|
+
channel?: "email" | "sms" | undefined;
|
|
4676
|
+
messageId?: string | undefined;
|
|
4677
|
+
template?: string | undefined;
|
|
4678
|
+
priority?: string | undefined;
|
|
4679
|
+
consumerId?: string | undefined;
|
|
4680
|
+
postalCode?: string | undefined;
|
|
4681
|
+
timezone?: string | undefined;
|
|
4682
|
+
botScore?: number | undefined;
|
|
4683
|
+
geoLat?: number | undefined;
|
|
4684
|
+
geoLng?: number | undefined;
|
|
4685
|
+
} | undefined;
|
|
4686
|
+
organizationId: string;
|
|
4687
|
+
consumerId?: string | undefined;
|
|
4688
|
+
isGuest?: boolean | undefined;
|
|
4689
|
+
eventId: string;
|
|
4690
|
+
eventTimestamp: string;
|
|
4691
|
+
eventTimestampNs?: string | undefined;
|
|
4692
|
+
receivedTimestamp?: string | undefined;
|
|
4693
|
+
receivedTimestampNs?: string | undefined;
|
|
4694
|
+
segments?: {
|
|
4695
|
+
rfm?: "LOST" | "CHAMPIONS" | "LOYAL" | "AT_RISK" | "NEW" | undefined;
|
|
4696
|
+
} | undefined;
|
|
4697
|
+
userId?: string | undefined;
|
|
4698
|
+
anonymousId?: string | undefined;
|
|
4699
|
+
sessionId?: string | undefined;
|
|
4700
|
+
platform?: string | undefined;
|
|
4701
|
+
appVersion?: string | undefined;
|
|
4702
|
+
deviceType?: string | undefined;
|
|
4703
|
+
osName?: string | undefined;
|
|
4704
|
+
osVersion?: string | undefined;
|
|
4705
|
+
browserName?: string | undefined;
|
|
4706
|
+
browserVersion?: string | undefined;
|
|
4707
|
+
userAgent?: string | undefined;
|
|
4708
|
+
ipAddress?: string | undefined;
|
|
4709
|
+
geoCountry?: string | undefined;
|
|
4710
|
+
geoRegion?: string | undefined;
|
|
4711
|
+
geoCity?: string | undefined;
|
|
4712
|
+
geoLatitude?: number | undefined;
|
|
4713
|
+
geoLongitude?: number | undefined;
|
|
4714
|
+
pageUrl?: string | undefined;
|
|
4715
|
+
pagePath?: string | undefined;
|
|
4716
|
+
pageTitle?: string | undefined;
|
|
4717
|
+
screenName?: string | undefined;
|
|
4718
|
+
referrerUrl?: string | undefined;
|
|
4719
|
+
referringDomain?: string | undefined;
|
|
4720
|
+
utmSource?: string | undefined;
|
|
4721
|
+
utmMedium?: string | undefined;
|
|
4722
|
+
utmCampaign?: string | undefined;
|
|
4723
|
+
utmTerm?: string | undefined;
|
|
4724
|
+
utmContent?: string | undefined;
|
|
4725
|
+
eventSchemaVersion?: string | undefined;
|
|
4726
|
+
beaconRequestId?: string | undefined;
|
|
4727
|
+
experienceId?: string | undefined;
|
|
4728
|
+
sequenceId?: string | undefined;
|
|
4729
|
+
}, "validation.beacon.sequenceRequiresExperience">]>], undefined>;
|
|
2467
4730
|
export type BeaconEvent = InferOutput<typeof BeaconEventSchema>;
|
|
2468
4731
|
export type AddToCartEvent = InferOutput<typeof AddToCartEventSchema>;
|
|
2469
4732
|
export type AddToCartProperties = InferOutput<typeof AddToCartPropertiesSchema>;
|