@superbright/indexeddb-orm 1.0.9 → 1.0.11
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/base/property.cjs +1 -1
- package/dist/base/property.cjs.map +1 -1
- package/dist/base/property.d.ts +3 -3
- package/dist/base/property.mjs +5 -5
- package/dist/base/property.mjs.map +1 -1
- package/dist/base/unit.cjs +1 -1
- package/dist/base/unit.cjs.map +1 -1
- package/dist/base/unit.d.ts +3 -3
- package/dist/base/unit.mjs +7 -7
- package/dist/base/unit.mjs.map +1 -1
- package/dist/features/analytics/analytics.cjs +1 -1
- package/dist/features/analytics/analytics.cjs.map +1 -1
- package/dist/features/analytics/analytics.d.ts +210 -86
- package/dist/features/analytics/analytics.mjs +110 -88
- package/dist/features/analytics/analytics.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -156,19 +156,19 @@ declare const unitEventSchema: z.ZodObject<{
|
|
|
156
156
|
propertySlug: z.ZodString;
|
|
157
157
|
} & {
|
|
158
158
|
unitId: z.ZodString;
|
|
159
|
-
|
|
159
|
+
unitName: z.ZodString;
|
|
160
160
|
unitSlug: z.ZodString;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
162
|
propertySlug: string;
|
|
163
163
|
propertyId: string;
|
|
164
164
|
unitId: string;
|
|
165
|
-
|
|
165
|
+
unitName: string;
|
|
166
166
|
unitSlug: string;
|
|
167
167
|
}, {
|
|
168
168
|
propertySlug: string;
|
|
169
169
|
propertyId: string;
|
|
170
170
|
unitId: string;
|
|
171
|
-
|
|
171
|
+
unitName: string;
|
|
172
172
|
unitSlug: string;
|
|
173
173
|
}>;
|
|
174
174
|
declare const getInTouchFormSchema: z.ZodObject<{
|
|
@@ -178,7 +178,7 @@ declare const getInTouchFormSchema: z.ZodObject<{
|
|
|
178
178
|
propertyName: z.ZodString;
|
|
179
179
|
} & {
|
|
180
180
|
unitId: z.ZodString;
|
|
181
|
-
|
|
181
|
+
unitName: z.ZodString;
|
|
182
182
|
unitSlug: z.ZodString;
|
|
183
183
|
} & {
|
|
184
184
|
buttonName: z.ZodString;
|
|
@@ -193,7 +193,7 @@ declare const getInTouchFormSchema: z.ZodObject<{
|
|
|
193
193
|
unitId: string;
|
|
194
194
|
styleId: string;
|
|
195
195
|
propertyName: string;
|
|
196
|
-
|
|
196
|
+
unitName: string;
|
|
197
197
|
unitSlug: string;
|
|
198
198
|
buttonName: string;
|
|
199
199
|
formName: string;
|
|
@@ -206,7 +206,7 @@ declare const getInTouchFormSchema: z.ZodObject<{
|
|
|
206
206
|
unitId: string;
|
|
207
207
|
styleId: string;
|
|
208
208
|
propertyName: string;
|
|
209
|
-
|
|
209
|
+
unitName: string;
|
|
210
210
|
unitSlug: string;
|
|
211
211
|
buttonName: string;
|
|
212
212
|
formName: string;
|
|
@@ -221,7 +221,7 @@ declare const styleDrawerSchema: z.ZodObject<{
|
|
|
221
221
|
propertyName: z.ZodString;
|
|
222
222
|
} & {
|
|
223
223
|
unitId: z.ZodString;
|
|
224
|
-
|
|
224
|
+
unitName: z.ZodString;
|
|
225
225
|
unitSlug: z.ZodString;
|
|
226
226
|
} & {
|
|
227
227
|
roomName: z.ZodString;
|
|
@@ -235,7 +235,7 @@ declare const styleDrawerSchema: z.ZodObject<{
|
|
|
235
235
|
unitId: string;
|
|
236
236
|
styleId: string;
|
|
237
237
|
propertyName: string;
|
|
238
|
-
|
|
238
|
+
unitName: string;
|
|
239
239
|
unitSlug: string;
|
|
240
240
|
styleName: string;
|
|
241
241
|
unitBedrooms: number;
|
|
@@ -247,7 +247,7 @@ declare const styleDrawerSchema: z.ZodObject<{
|
|
|
247
247
|
unitId: string;
|
|
248
248
|
styleId: string;
|
|
249
249
|
propertyName: string;
|
|
250
|
-
|
|
250
|
+
unitName: string;
|
|
251
251
|
unitSlug: string;
|
|
252
252
|
styleName: string;
|
|
253
253
|
unitBedrooms: number;
|
|
@@ -261,7 +261,7 @@ declare const furnitureViewedSchema: z.ZodObject<{
|
|
|
261
261
|
propertyName: z.ZodString;
|
|
262
262
|
} & {
|
|
263
263
|
unitId: z.ZodString;
|
|
264
|
-
|
|
264
|
+
unitName: z.ZodString;
|
|
265
265
|
unitSlug: z.ZodString;
|
|
266
266
|
} & {
|
|
267
267
|
roomName: z.ZodString;
|
|
@@ -277,7 +277,7 @@ declare const furnitureViewedSchema: z.ZodObject<{
|
|
|
277
277
|
furnitureId: string;
|
|
278
278
|
styleId: string;
|
|
279
279
|
propertyName: string;
|
|
280
|
-
|
|
280
|
+
unitName: string;
|
|
281
281
|
unitSlug: string;
|
|
282
282
|
styleName: string;
|
|
283
283
|
unitBedrooms: number;
|
|
@@ -290,7 +290,7 @@ declare const furnitureViewedSchema: z.ZodObject<{
|
|
|
290
290
|
furnitureId: string;
|
|
291
291
|
styleId: string;
|
|
292
292
|
propertyName: string;
|
|
293
|
-
|
|
293
|
+
unitName: string;
|
|
294
294
|
unitSlug: string;
|
|
295
295
|
styleName: string;
|
|
296
296
|
unitBedrooms: number;
|
|
@@ -304,7 +304,7 @@ declare const furnitureExternalUrlSchema: z.ZodObject<{
|
|
|
304
304
|
propertyName: z.ZodString;
|
|
305
305
|
} & {
|
|
306
306
|
unitId: z.ZodString;
|
|
307
|
-
|
|
307
|
+
unitName: z.ZodString;
|
|
308
308
|
unitSlug: z.ZodString;
|
|
309
309
|
} & {
|
|
310
310
|
roomName: z.ZodString;
|
|
@@ -325,7 +325,7 @@ declare const furnitureExternalUrlSchema: z.ZodObject<{
|
|
|
325
325
|
furnitureId: string;
|
|
326
326
|
styleId: string;
|
|
327
327
|
propertyName: string;
|
|
328
|
-
|
|
328
|
+
unitName: string;
|
|
329
329
|
unitSlug: string;
|
|
330
330
|
styleName: string;
|
|
331
331
|
unitBedrooms: number;
|
|
@@ -341,7 +341,7 @@ declare const furnitureExternalUrlSchema: z.ZodObject<{
|
|
|
341
341
|
furnitureId: string;
|
|
342
342
|
styleId: string;
|
|
343
343
|
propertyName: string;
|
|
344
|
-
|
|
344
|
+
unitName: string;
|
|
345
345
|
unitSlug: string;
|
|
346
346
|
styleName: string;
|
|
347
347
|
unitBedrooms: number;
|
|
@@ -356,7 +356,7 @@ declare const furnitureSavedSchema: z.ZodObject<{
|
|
|
356
356
|
propertyName: z.ZodString;
|
|
357
357
|
} & {
|
|
358
358
|
unitId: z.ZodString;
|
|
359
|
-
|
|
359
|
+
unitName: z.ZodString;
|
|
360
360
|
unitSlug: z.ZodString;
|
|
361
361
|
} & {
|
|
362
362
|
roomName: z.ZodString;
|
|
@@ -372,7 +372,7 @@ declare const furnitureSavedSchema: z.ZodObject<{
|
|
|
372
372
|
furnitureId: string;
|
|
373
373
|
styleId: string;
|
|
374
374
|
propertyName: string;
|
|
375
|
-
|
|
375
|
+
unitName: string;
|
|
376
376
|
unitSlug: string;
|
|
377
377
|
styleName: string;
|
|
378
378
|
unitBedrooms: number;
|
|
@@ -385,7 +385,7 @@ declare const furnitureSavedSchema: z.ZodObject<{
|
|
|
385
385
|
furnitureId: string;
|
|
386
386
|
styleId: string;
|
|
387
387
|
propertyName: string;
|
|
388
|
-
|
|
388
|
+
unitName: string;
|
|
389
389
|
unitSlug: string;
|
|
390
390
|
styleName: string;
|
|
391
391
|
unitBedrooms: number;
|
|
@@ -399,7 +399,7 @@ declare const furnitureModalOpenedSchema: z.ZodObject<{
|
|
|
399
399
|
propertyName: z.ZodString;
|
|
400
400
|
} & {
|
|
401
401
|
unitId: z.ZodString;
|
|
402
|
-
|
|
402
|
+
unitName: z.ZodString;
|
|
403
403
|
unitSlug: z.ZodString;
|
|
404
404
|
} & {
|
|
405
405
|
roomName: z.ZodString;
|
|
@@ -415,7 +415,7 @@ declare const furnitureModalOpenedSchema: z.ZodObject<{
|
|
|
415
415
|
furnitureId: string;
|
|
416
416
|
styleId: string;
|
|
417
417
|
propertyName: string;
|
|
418
|
-
|
|
418
|
+
unitName: string;
|
|
419
419
|
unitSlug: string;
|
|
420
420
|
styleName: string;
|
|
421
421
|
unitBedrooms: number;
|
|
@@ -428,7 +428,7 @@ declare const furnitureModalOpenedSchema: z.ZodObject<{
|
|
|
428
428
|
furnitureId: string;
|
|
429
429
|
styleId: string;
|
|
430
430
|
propertyName: string;
|
|
431
|
-
|
|
431
|
+
unitName: string;
|
|
432
432
|
unitSlug: string;
|
|
433
433
|
styleName: string;
|
|
434
434
|
unitBedrooms: number;
|
|
@@ -442,7 +442,7 @@ declare const roomEnteredSchema: z.ZodObject<{
|
|
|
442
442
|
propertyName: z.ZodString;
|
|
443
443
|
} & {
|
|
444
444
|
unitId: z.ZodString;
|
|
445
|
-
|
|
445
|
+
unitName: z.ZodString;
|
|
446
446
|
unitSlug: z.ZodString;
|
|
447
447
|
} & {
|
|
448
448
|
roomName: z.ZodString;
|
|
@@ -456,7 +456,7 @@ declare const roomEnteredSchema: z.ZodObject<{
|
|
|
456
456
|
unitId: string;
|
|
457
457
|
styleId: string;
|
|
458
458
|
propertyName: string;
|
|
459
|
-
|
|
459
|
+
unitName: string;
|
|
460
460
|
unitSlug: string;
|
|
461
461
|
styleName: string;
|
|
462
462
|
unitBedrooms: number;
|
|
@@ -468,7 +468,7 @@ declare const roomEnteredSchema: z.ZodObject<{
|
|
|
468
468
|
unitId: string;
|
|
469
469
|
styleId: string;
|
|
470
470
|
propertyName: string;
|
|
471
|
-
|
|
471
|
+
unitName: string;
|
|
472
472
|
unitSlug: string;
|
|
473
473
|
styleName: string;
|
|
474
474
|
unitBedrooms: number;
|
|
@@ -482,7 +482,7 @@ declare const roomLeftSchema: z.ZodObject<{
|
|
|
482
482
|
propertyName: z.ZodString;
|
|
483
483
|
} & {
|
|
484
484
|
unitId: z.ZodString;
|
|
485
|
-
|
|
485
|
+
unitName: z.ZodString;
|
|
486
486
|
unitSlug: z.ZodString;
|
|
487
487
|
} & {
|
|
488
488
|
roomName: z.ZodString;
|
|
@@ -498,7 +498,7 @@ declare const roomLeftSchema: z.ZodObject<{
|
|
|
498
498
|
unitId: string;
|
|
499
499
|
styleId: string;
|
|
500
500
|
propertyName: string;
|
|
501
|
-
|
|
501
|
+
unitName: string;
|
|
502
502
|
unitSlug: string;
|
|
503
503
|
styleName: string;
|
|
504
504
|
unitBedrooms: number;
|
|
@@ -511,7 +511,7 @@ declare const roomLeftSchema: z.ZodObject<{
|
|
|
511
511
|
unitId: string;
|
|
512
512
|
styleId: string;
|
|
513
513
|
propertyName: string;
|
|
514
|
-
|
|
514
|
+
unitName: string;
|
|
515
515
|
unitSlug: string;
|
|
516
516
|
styleName: string;
|
|
517
517
|
unitBedrooms: number;
|
|
@@ -526,7 +526,7 @@ declare const videoStartedSchema: z.ZodObject<{
|
|
|
526
526
|
propertyName: z.ZodString;
|
|
527
527
|
} & {
|
|
528
528
|
unitId: z.ZodString;
|
|
529
|
-
|
|
529
|
+
unitName: z.ZodString;
|
|
530
530
|
unitSlug: z.ZodString;
|
|
531
531
|
} & {
|
|
532
532
|
roomName: z.ZodString;
|
|
@@ -544,7 +544,7 @@ declare const videoStartedSchema: z.ZodObject<{
|
|
|
544
544
|
unitId: string;
|
|
545
545
|
styleId: string;
|
|
546
546
|
propertyName: string;
|
|
547
|
-
|
|
547
|
+
unitName: string;
|
|
548
548
|
unitSlug: string;
|
|
549
549
|
styleName: string;
|
|
550
550
|
unitBedrooms: number;
|
|
@@ -560,7 +560,7 @@ declare const videoStartedSchema: z.ZodObject<{
|
|
|
560
560
|
unitId: string;
|
|
561
561
|
styleId: string;
|
|
562
562
|
propertyName: string;
|
|
563
|
-
|
|
563
|
+
unitName: string;
|
|
564
564
|
unitSlug: string;
|
|
565
565
|
styleName: string;
|
|
566
566
|
unitBedrooms: number;
|
|
@@ -578,7 +578,7 @@ declare const emailTrackedSchema: z.ZodObject<{
|
|
|
578
578
|
propertyName: z.ZodString;
|
|
579
579
|
} & {
|
|
580
580
|
unitId: z.ZodString;
|
|
581
|
-
|
|
581
|
+
unitName: z.ZodString;
|
|
582
582
|
unitSlug: z.ZodString;
|
|
583
583
|
} & {
|
|
584
584
|
utmSource: z.ZodString;
|
|
@@ -594,7 +594,7 @@ declare const emailTrackedSchema: z.ZodObject<{
|
|
|
594
594
|
unitId: string;
|
|
595
595
|
styleId: string;
|
|
596
596
|
propertyName: string;
|
|
597
|
-
|
|
597
|
+
unitName: string;
|
|
598
598
|
unitSlug: string;
|
|
599
599
|
styleName: string;
|
|
600
600
|
unitBedrooms: number;
|
|
@@ -608,7 +608,7 @@ declare const emailTrackedSchema: z.ZodObject<{
|
|
|
608
608
|
unitId: string;
|
|
609
609
|
styleId: string;
|
|
610
610
|
propertyName: string;
|
|
611
|
-
|
|
611
|
+
unitName: string;
|
|
612
612
|
unitSlug: string;
|
|
613
613
|
styleName: string;
|
|
614
614
|
unitBedrooms: number;
|
|
@@ -624,7 +624,7 @@ declare const toastSchema: z.ZodObject<{
|
|
|
624
624
|
propertyName: z.ZodString;
|
|
625
625
|
} & {
|
|
626
626
|
unitId: z.ZodString;
|
|
627
|
-
|
|
627
|
+
unitName: z.ZodString;
|
|
628
628
|
unitSlug: z.ZodString;
|
|
629
629
|
} & {
|
|
630
630
|
toastCopy: z.ZodString;
|
|
@@ -633,7 +633,7 @@ declare const toastSchema: z.ZodObject<{
|
|
|
633
633
|
propertyId: string;
|
|
634
634
|
unitId: string;
|
|
635
635
|
propertyName: string;
|
|
636
|
-
|
|
636
|
+
unitName: string;
|
|
637
637
|
unitSlug: string;
|
|
638
638
|
toastCopy: string;
|
|
639
639
|
}, {
|
|
@@ -641,10 +641,53 @@ declare const toastSchema: z.ZodObject<{
|
|
|
641
641
|
propertyId: string;
|
|
642
642
|
unitId: string;
|
|
643
643
|
propertyName: string;
|
|
644
|
-
|
|
644
|
+
unitName: string;
|
|
645
645
|
unitSlug: string;
|
|
646
646
|
toastCopy: string;
|
|
647
647
|
}>;
|
|
648
|
+
declare const contentModalOpenedSchema: z.ZodObject<{
|
|
649
|
+
propertyId: z.ZodString;
|
|
650
|
+
propertySlug: z.ZodString;
|
|
651
|
+
} & {
|
|
652
|
+
propertyName: z.ZodString;
|
|
653
|
+
} & {
|
|
654
|
+
unitId: z.ZodString;
|
|
655
|
+
unitName: z.ZodString;
|
|
656
|
+
unitSlug: z.ZodString;
|
|
657
|
+
} & {
|
|
658
|
+
type: z.ZodString;
|
|
659
|
+
name: z.ZodString;
|
|
660
|
+
source: z.ZodString;
|
|
661
|
+
unitBedrooms: z.ZodNumber;
|
|
662
|
+
styleId: z.ZodString;
|
|
663
|
+
styleName: z.ZodString;
|
|
664
|
+
}, "strip", z.ZodTypeAny, {
|
|
665
|
+
type: string;
|
|
666
|
+
propertySlug: string;
|
|
667
|
+
propertyId: string;
|
|
668
|
+
unitId: string;
|
|
669
|
+
name: string;
|
|
670
|
+
source: string;
|
|
671
|
+
styleId: string;
|
|
672
|
+
propertyName: string;
|
|
673
|
+
unitName: string;
|
|
674
|
+
unitSlug: string;
|
|
675
|
+
styleName: string;
|
|
676
|
+
unitBedrooms: number;
|
|
677
|
+
}, {
|
|
678
|
+
type: string;
|
|
679
|
+
propertySlug: string;
|
|
680
|
+
propertyId: string;
|
|
681
|
+
unitId: string;
|
|
682
|
+
name: string;
|
|
683
|
+
source: string;
|
|
684
|
+
styleId: string;
|
|
685
|
+
propertyName: string;
|
|
686
|
+
unitName: string;
|
|
687
|
+
unitSlug: string;
|
|
688
|
+
styleName: string;
|
|
689
|
+
unitBedrooms: number;
|
|
690
|
+
}>;
|
|
648
691
|
declare const hoverUnitSchema: z.ZodObject<{
|
|
649
692
|
propertyId: z.ZodString;
|
|
650
693
|
propertySlug: z.ZodString;
|
|
@@ -652,7 +695,7 @@ declare const hoverUnitSchema: z.ZodObject<{
|
|
|
652
695
|
propertyName: z.ZodString;
|
|
653
696
|
} & {
|
|
654
697
|
unitId: z.ZodString;
|
|
655
|
-
|
|
698
|
+
unitName: z.ZodString;
|
|
656
699
|
unitSlug: z.ZodString;
|
|
657
700
|
} & {
|
|
658
701
|
favoritedUnit: z.ZodBoolean;
|
|
@@ -661,7 +704,7 @@ declare const hoverUnitSchema: z.ZodObject<{
|
|
|
661
704
|
propertyId: string;
|
|
662
705
|
unitId: string;
|
|
663
706
|
propertyName: string;
|
|
664
|
-
|
|
707
|
+
unitName: string;
|
|
665
708
|
unitSlug: string;
|
|
666
709
|
favoritedUnit: boolean;
|
|
667
710
|
}, {
|
|
@@ -669,7 +712,7 @@ declare const hoverUnitSchema: z.ZodObject<{
|
|
|
669
712
|
propertyId: string;
|
|
670
713
|
unitId: string;
|
|
671
714
|
propertyName: string;
|
|
672
|
-
|
|
715
|
+
unitName: string;
|
|
673
716
|
unitSlug: string;
|
|
674
717
|
favoritedUnit: boolean;
|
|
675
718
|
}>;
|
|
@@ -833,7 +876,7 @@ declare const clickUnitSchema: z.ZodObject<{
|
|
|
833
876
|
propertyName: z.ZodString;
|
|
834
877
|
} & {
|
|
835
878
|
unitId: z.ZodString;
|
|
836
|
-
|
|
879
|
+
unitName: z.ZodString;
|
|
837
880
|
unitSlug: z.ZodString;
|
|
838
881
|
} & {
|
|
839
882
|
favoritedUnit: z.ZodBoolean;
|
|
@@ -842,7 +885,7 @@ declare const clickUnitSchema: z.ZodObject<{
|
|
|
842
885
|
propertyId: string;
|
|
843
886
|
unitId: string;
|
|
844
887
|
propertyName: string;
|
|
845
|
-
|
|
888
|
+
unitName: string;
|
|
846
889
|
unitSlug: string;
|
|
847
890
|
favoritedUnit: boolean;
|
|
848
891
|
}, {
|
|
@@ -850,7 +893,7 @@ declare const clickUnitSchema: z.ZodObject<{
|
|
|
850
893
|
propertyId: string;
|
|
851
894
|
unitId: string;
|
|
852
895
|
propertyName: string;
|
|
853
|
-
|
|
896
|
+
unitName: string;
|
|
854
897
|
unitSlug: string;
|
|
855
898
|
favoritedUnit: boolean;
|
|
856
899
|
}>;
|
|
@@ -861,7 +904,7 @@ declare const clickUnitFavoritesSchema: z.ZodObject<{
|
|
|
861
904
|
propertyName: z.ZodString;
|
|
862
905
|
} & {
|
|
863
906
|
unitId: z.ZodString;
|
|
864
|
-
|
|
907
|
+
unitName: z.ZodString;
|
|
865
908
|
unitSlug: z.ZodString;
|
|
866
909
|
} & {
|
|
867
910
|
favoritedUnit: z.ZodBoolean;
|
|
@@ -870,7 +913,7 @@ declare const clickUnitFavoritesSchema: z.ZodObject<{
|
|
|
870
913
|
propertyId: string;
|
|
871
914
|
unitId: string;
|
|
872
915
|
propertyName: string;
|
|
873
|
-
|
|
916
|
+
unitName: string;
|
|
874
917
|
unitSlug: string;
|
|
875
918
|
favoritedUnit: boolean;
|
|
876
919
|
}, {
|
|
@@ -878,7 +921,7 @@ declare const clickUnitFavoritesSchema: z.ZodObject<{
|
|
|
878
921
|
propertyId: string;
|
|
879
922
|
unitId: string;
|
|
880
923
|
propertyName: string;
|
|
881
|
-
|
|
924
|
+
unitName: string;
|
|
882
925
|
unitSlug: string;
|
|
883
926
|
favoritedUnit: boolean;
|
|
884
927
|
}>;
|
|
@@ -889,7 +932,7 @@ declare const unitUnfavoritedSchema: z.ZodObject<{
|
|
|
889
932
|
propertyName: z.ZodString;
|
|
890
933
|
} & {
|
|
891
934
|
unitId: z.ZodString;
|
|
892
|
-
|
|
935
|
+
unitName: z.ZodString;
|
|
893
936
|
unitSlug: z.ZodString;
|
|
894
937
|
resultsUnitCount: z.ZodNumber;
|
|
895
938
|
unitCountDate: z.ZodOptional<z.ZodString>;
|
|
@@ -899,7 +942,7 @@ declare const unitUnfavoritedSchema: z.ZodObject<{
|
|
|
899
942
|
unitId: string;
|
|
900
943
|
propertyName: string;
|
|
901
944
|
resultsUnitCount: number;
|
|
902
|
-
|
|
945
|
+
unitName: string;
|
|
903
946
|
unitSlug: string;
|
|
904
947
|
unitCountDate?: string | undefined;
|
|
905
948
|
}, {
|
|
@@ -908,7 +951,7 @@ declare const unitUnfavoritedSchema: z.ZodObject<{
|
|
|
908
951
|
unitId: string;
|
|
909
952
|
propertyName: string;
|
|
910
953
|
resultsUnitCount: number;
|
|
911
|
-
|
|
954
|
+
unitName: string;
|
|
912
955
|
unitSlug: string;
|
|
913
956
|
unitCountDate?: string | undefined;
|
|
914
957
|
}>;
|
|
@@ -939,6 +982,7 @@ export type RoomLeftEvent = z.infer<typeof roomLeftSchema>;
|
|
|
939
982
|
export type VideoStartedEvent = z.infer<typeof videoStartedSchema>;
|
|
940
983
|
export type EmailTrackedEvent = z.infer<typeof emailTrackedSchema>;
|
|
941
984
|
export type ToastEvent = z.infer<typeof toastSchema>;
|
|
985
|
+
export type ContentModalOpenedEvent = z.infer<typeof contentModalOpenedSchema>;
|
|
942
986
|
export type TrackingEventWithUnits = FilterEvent & {
|
|
943
987
|
trackingEvent: (payload: FilterEvent) => void;
|
|
944
988
|
[metadata: string]: unknown;
|
|
@@ -955,7 +999,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
955
999
|
propertyId: string;
|
|
956
1000
|
unitId: string;
|
|
957
1001
|
propertyName: string;
|
|
958
|
-
|
|
1002
|
+
unitName: string;
|
|
959
1003
|
unitSlug: string;
|
|
960
1004
|
favoritedUnit: boolean;
|
|
961
1005
|
}) => void;
|
|
@@ -964,7 +1008,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
964
1008
|
propertyId: string;
|
|
965
1009
|
unitId: string;
|
|
966
1010
|
propertyName: string;
|
|
967
|
-
|
|
1011
|
+
unitName: string;
|
|
968
1012
|
unitSlug: string;
|
|
969
1013
|
favoritedUnit: boolean;
|
|
970
1014
|
}) => void;
|
|
@@ -1012,7 +1056,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1012
1056
|
propertyId: string;
|
|
1013
1057
|
unitId: string;
|
|
1014
1058
|
propertyName: string;
|
|
1015
|
-
|
|
1059
|
+
unitName: string;
|
|
1016
1060
|
unitSlug: string;
|
|
1017
1061
|
favoritedUnit: boolean;
|
|
1018
1062
|
}) => void;
|
|
@@ -1022,7 +1066,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1022
1066
|
unitId: string;
|
|
1023
1067
|
propertyName: string;
|
|
1024
1068
|
resultsUnitCount: number;
|
|
1025
|
-
|
|
1069
|
+
unitName: string;
|
|
1026
1070
|
unitSlug: string;
|
|
1027
1071
|
unitCountDate?: string | undefined;
|
|
1028
1072
|
}) => void;
|
|
@@ -1072,7 +1116,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1072
1116
|
unitId: string;
|
|
1073
1117
|
styleId: string;
|
|
1074
1118
|
propertyName: string;
|
|
1075
|
-
|
|
1119
|
+
unitName: string;
|
|
1076
1120
|
unitSlug: string;
|
|
1077
1121
|
buttonName: string;
|
|
1078
1122
|
formName: string;
|
|
@@ -1086,7 +1130,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1086
1130
|
unitId: string;
|
|
1087
1131
|
styleId: string;
|
|
1088
1132
|
propertyName: string;
|
|
1089
|
-
|
|
1133
|
+
unitName: string;
|
|
1090
1134
|
unitSlug: string;
|
|
1091
1135
|
buttonName: string;
|
|
1092
1136
|
formName: string;
|
|
@@ -1100,7 +1144,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1100
1144
|
unitId: string;
|
|
1101
1145
|
styleId: string;
|
|
1102
1146
|
propertyName: string;
|
|
1103
|
-
|
|
1147
|
+
unitName: string;
|
|
1104
1148
|
unitSlug: string;
|
|
1105
1149
|
styleName: string;
|
|
1106
1150
|
unitBedrooms: number;
|
|
@@ -1113,7 +1157,33 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1113
1157
|
unitId: string;
|
|
1114
1158
|
styleId: string;
|
|
1115
1159
|
propertyName: string;
|
|
1116
|
-
|
|
1160
|
+
unitName: string;
|
|
1161
|
+
unitSlug: string;
|
|
1162
|
+
styleName: string;
|
|
1163
|
+
unitBedrooms: number;
|
|
1164
|
+
favoritedUnit: boolean;
|
|
1165
|
+
roomName: string;
|
|
1166
|
+
}) => void;
|
|
1167
|
+
trackOpeningStyleImpression: (payload: {
|
|
1168
|
+
propertySlug: string;
|
|
1169
|
+
propertyId: string;
|
|
1170
|
+
unitId: string;
|
|
1171
|
+
styleId: string;
|
|
1172
|
+
propertyName: string;
|
|
1173
|
+
unitName: string;
|
|
1174
|
+
unitSlug: string;
|
|
1175
|
+
styleName: string;
|
|
1176
|
+
unitBedrooms: number;
|
|
1177
|
+
favoritedUnit: boolean;
|
|
1178
|
+
roomName: string;
|
|
1179
|
+
}) => void;
|
|
1180
|
+
trackOpeningStyleSlected: (payload: {
|
|
1181
|
+
propertySlug: string;
|
|
1182
|
+
propertyId: string;
|
|
1183
|
+
unitId: string;
|
|
1184
|
+
styleId: string;
|
|
1185
|
+
propertyName: string;
|
|
1186
|
+
unitName: string;
|
|
1117
1187
|
unitSlug: string;
|
|
1118
1188
|
styleName: string;
|
|
1119
1189
|
unitBedrooms: number;
|
|
@@ -1127,7 +1197,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1127
1197
|
furnitureId: string;
|
|
1128
1198
|
styleId: string;
|
|
1129
1199
|
propertyName: string;
|
|
1130
|
-
|
|
1200
|
+
unitName: string;
|
|
1131
1201
|
unitSlug: string;
|
|
1132
1202
|
styleName: string;
|
|
1133
1203
|
unitBedrooms: number;
|
|
@@ -1143,7 +1213,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1143
1213
|
furnitureId: string;
|
|
1144
1214
|
styleId: string;
|
|
1145
1215
|
propertyName: string;
|
|
1146
|
-
|
|
1216
|
+
unitName: string;
|
|
1147
1217
|
unitSlug: string;
|
|
1148
1218
|
styleName: string;
|
|
1149
1219
|
unitBedrooms: number;
|
|
@@ -1158,7 +1228,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1158
1228
|
furnitureId: string;
|
|
1159
1229
|
styleId: string;
|
|
1160
1230
|
propertyName: string;
|
|
1161
|
-
|
|
1231
|
+
unitName: string;
|
|
1162
1232
|
unitSlug: string;
|
|
1163
1233
|
styleName: string;
|
|
1164
1234
|
unitBedrooms: number;
|
|
@@ -1172,7 +1242,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1172
1242
|
furnitureId: string;
|
|
1173
1243
|
styleId: string;
|
|
1174
1244
|
propertyName: string;
|
|
1175
|
-
|
|
1245
|
+
unitName: string;
|
|
1176
1246
|
unitSlug: string;
|
|
1177
1247
|
styleName: string;
|
|
1178
1248
|
unitBedrooms: number;
|
|
@@ -1185,7 +1255,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1185
1255
|
unitId: string;
|
|
1186
1256
|
styleId: string;
|
|
1187
1257
|
propertyName: string;
|
|
1188
|
-
|
|
1258
|
+
unitName: string;
|
|
1189
1259
|
unitSlug: string;
|
|
1190
1260
|
styleName: string;
|
|
1191
1261
|
unitBedrooms: number;
|
|
@@ -1198,7 +1268,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1198
1268
|
unitId: string;
|
|
1199
1269
|
styleId: string;
|
|
1200
1270
|
propertyName: string;
|
|
1201
|
-
|
|
1271
|
+
unitName: string;
|
|
1202
1272
|
unitSlug: string;
|
|
1203
1273
|
styleName: string;
|
|
1204
1274
|
unitBedrooms: number;
|
|
@@ -1212,7 +1282,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1212
1282
|
unitId: string;
|
|
1213
1283
|
styleId: string;
|
|
1214
1284
|
propertyName: string;
|
|
1215
|
-
|
|
1285
|
+
unitName: string;
|
|
1216
1286
|
unitSlug: string;
|
|
1217
1287
|
styleName: string;
|
|
1218
1288
|
unitBedrooms: number;
|
|
@@ -1229,7 +1299,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1229
1299
|
unitId: string;
|
|
1230
1300
|
styleId: string;
|
|
1231
1301
|
propertyName: string;
|
|
1232
|
-
|
|
1302
|
+
unitName: string;
|
|
1233
1303
|
unitSlug: string;
|
|
1234
1304
|
styleName: string;
|
|
1235
1305
|
unitBedrooms: number;
|
|
@@ -1243,7 +1313,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1243
1313
|
propertyId: string;
|
|
1244
1314
|
unitId: string;
|
|
1245
1315
|
propertyName: string;
|
|
1246
|
-
|
|
1316
|
+
unitName: string;
|
|
1247
1317
|
unitSlug: string;
|
|
1248
1318
|
toastCopy: string;
|
|
1249
1319
|
}) => void;
|
|
@@ -1252,7 +1322,7 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1252
1322
|
propertyId: string;
|
|
1253
1323
|
unitId: string;
|
|
1254
1324
|
propertyName: string;
|
|
1255
|
-
|
|
1325
|
+
unitName: string;
|
|
1256
1326
|
unitSlug: string;
|
|
1257
1327
|
toastCopy: string;
|
|
1258
1328
|
}) => void;
|
|
@@ -1261,10 +1331,24 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1261
1331
|
propertyId: string;
|
|
1262
1332
|
unitId: string;
|
|
1263
1333
|
propertyName: string;
|
|
1264
|
-
|
|
1334
|
+
unitName: string;
|
|
1265
1335
|
unitSlug: string;
|
|
1266
1336
|
toastCopy: string;
|
|
1267
1337
|
}) => void;
|
|
1338
|
+
trackContentModalOpened: (payload: {
|
|
1339
|
+
type: string;
|
|
1340
|
+
propertySlug: string;
|
|
1341
|
+
propertyId: string;
|
|
1342
|
+
unitId: string;
|
|
1343
|
+
name: string;
|
|
1344
|
+
source: string;
|
|
1345
|
+
styleId: string;
|
|
1346
|
+
propertyName: string;
|
|
1347
|
+
unitName: string;
|
|
1348
|
+
unitSlug: string;
|
|
1349
|
+
styleName: string;
|
|
1350
|
+
unitBedrooms: number;
|
|
1351
|
+
}) => void;
|
|
1268
1352
|
};
|
|
1269
1353
|
export declare function useTrackingEvents(): {
|
|
1270
1354
|
trackViewAllUnits: (payload: AnalyticsPayload<typeof viewAllUnitsSchema>) => void;
|
|
@@ -1276,7 +1360,7 @@ export declare function useTrackingEvents(): {
|
|
|
1276
1360
|
propertyId: string;
|
|
1277
1361
|
unitId: string;
|
|
1278
1362
|
propertyName: string;
|
|
1279
|
-
|
|
1363
|
+
unitName: string;
|
|
1280
1364
|
unitSlug: string;
|
|
1281
1365
|
favoritedUnit: boolean;
|
|
1282
1366
|
}) => void;
|
|
@@ -1285,7 +1369,7 @@ export declare function useTrackingEvents(): {
|
|
|
1285
1369
|
propertyId: string;
|
|
1286
1370
|
unitId: string;
|
|
1287
1371
|
propertyName: string;
|
|
1288
|
-
|
|
1372
|
+
unitName: string;
|
|
1289
1373
|
unitSlug: string;
|
|
1290
1374
|
favoritedUnit: boolean;
|
|
1291
1375
|
}) => void;
|
|
@@ -1333,7 +1417,7 @@ export declare function useTrackingEvents(): {
|
|
|
1333
1417
|
propertyId: string;
|
|
1334
1418
|
unitId: string;
|
|
1335
1419
|
propertyName: string;
|
|
1336
|
-
|
|
1420
|
+
unitName: string;
|
|
1337
1421
|
unitSlug: string;
|
|
1338
1422
|
favoritedUnit: boolean;
|
|
1339
1423
|
}) => void;
|
|
@@ -1343,7 +1427,7 @@ export declare function useTrackingEvents(): {
|
|
|
1343
1427
|
unitId: string;
|
|
1344
1428
|
propertyName: string;
|
|
1345
1429
|
resultsUnitCount: number;
|
|
1346
|
-
|
|
1430
|
+
unitName: string;
|
|
1347
1431
|
unitSlug: string;
|
|
1348
1432
|
unitCountDate?: string | undefined;
|
|
1349
1433
|
}) => void;
|
|
@@ -1393,7 +1477,7 @@ export declare function useTrackingEvents(): {
|
|
|
1393
1477
|
unitId: string;
|
|
1394
1478
|
styleId: string;
|
|
1395
1479
|
propertyName: string;
|
|
1396
|
-
|
|
1480
|
+
unitName: string;
|
|
1397
1481
|
unitSlug: string;
|
|
1398
1482
|
buttonName: string;
|
|
1399
1483
|
formName: string;
|
|
@@ -1407,7 +1491,7 @@ export declare function useTrackingEvents(): {
|
|
|
1407
1491
|
unitId: string;
|
|
1408
1492
|
styleId: string;
|
|
1409
1493
|
propertyName: string;
|
|
1410
|
-
|
|
1494
|
+
unitName: string;
|
|
1411
1495
|
unitSlug: string;
|
|
1412
1496
|
buttonName: string;
|
|
1413
1497
|
formName: string;
|
|
@@ -1421,7 +1505,7 @@ export declare function useTrackingEvents(): {
|
|
|
1421
1505
|
unitId: string;
|
|
1422
1506
|
styleId: string;
|
|
1423
1507
|
propertyName: string;
|
|
1424
|
-
|
|
1508
|
+
unitName: string;
|
|
1425
1509
|
unitSlug: string;
|
|
1426
1510
|
styleName: string;
|
|
1427
1511
|
unitBedrooms: number;
|
|
@@ -1434,7 +1518,33 @@ export declare function useTrackingEvents(): {
|
|
|
1434
1518
|
unitId: string;
|
|
1435
1519
|
styleId: string;
|
|
1436
1520
|
propertyName: string;
|
|
1437
|
-
|
|
1521
|
+
unitName: string;
|
|
1522
|
+
unitSlug: string;
|
|
1523
|
+
styleName: string;
|
|
1524
|
+
unitBedrooms: number;
|
|
1525
|
+
favoritedUnit: boolean;
|
|
1526
|
+
roomName: string;
|
|
1527
|
+
}) => void;
|
|
1528
|
+
trackOpeningStyleImpression: (payload: {
|
|
1529
|
+
propertySlug: string;
|
|
1530
|
+
propertyId: string;
|
|
1531
|
+
unitId: string;
|
|
1532
|
+
styleId: string;
|
|
1533
|
+
propertyName: string;
|
|
1534
|
+
unitName: string;
|
|
1535
|
+
unitSlug: string;
|
|
1536
|
+
styleName: string;
|
|
1537
|
+
unitBedrooms: number;
|
|
1538
|
+
favoritedUnit: boolean;
|
|
1539
|
+
roomName: string;
|
|
1540
|
+
}) => void;
|
|
1541
|
+
trackOpeningStyleSlected: (payload: {
|
|
1542
|
+
propertySlug: string;
|
|
1543
|
+
propertyId: string;
|
|
1544
|
+
unitId: string;
|
|
1545
|
+
styleId: string;
|
|
1546
|
+
propertyName: string;
|
|
1547
|
+
unitName: string;
|
|
1438
1548
|
unitSlug: string;
|
|
1439
1549
|
styleName: string;
|
|
1440
1550
|
unitBedrooms: number;
|
|
@@ -1448,7 +1558,7 @@ export declare function useTrackingEvents(): {
|
|
|
1448
1558
|
furnitureId: string;
|
|
1449
1559
|
styleId: string;
|
|
1450
1560
|
propertyName: string;
|
|
1451
|
-
|
|
1561
|
+
unitName: string;
|
|
1452
1562
|
unitSlug: string;
|
|
1453
1563
|
styleName: string;
|
|
1454
1564
|
unitBedrooms: number;
|
|
@@ -1464,7 +1574,7 @@ export declare function useTrackingEvents(): {
|
|
|
1464
1574
|
furnitureId: string;
|
|
1465
1575
|
styleId: string;
|
|
1466
1576
|
propertyName: string;
|
|
1467
|
-
|
|
1577
|
+
unitName: string;
|
|
1468
1578
|
unitSlug: string;
|
|
1469
1579
|
styleName: string;
|
|
1470
1580
|
unitBedrooms: number;
|
|
@@ -1479,7 +1589,7 @@ export declare function useTrackingEvents(): {
|
|
|
1479
1589
|
furnitureId: string;
|
|
1480
1590
|
styleId: string;
|
|
1481
1591
|
propertyName: string;
|
|
1482
|
-
|
|
1592
|
+
unitName: string;
|
|
1483
1593
|
unitSlug: string;
|
|
1484
1594
|
styleName: string;
|
|
1485
1595
|
unitBedrooms: number;
|
|
@@ -1493,7 +1603,7 @@ export declare function useTrackingEvents(): {
|
|
|
1493
1603
|
furnitureId: string;
|
|
1494
1604
|
styleId: string;
|
|
1495
1605
|
propertyName: string;
|
|
1496
|
-
|
|
1606
|
+
unitName: string;
|
|
1497
1607
|
unitSlug: string;
|
|
1498
1608
|
styleName: string;
|
|
1499
1609
|
unitBedrooms: number;
|
|
@@ -1506,7 +1616,7 @@ export declare function useTrackingEvents(): {
|
|
|
1506
1616
|
unitId: string;
|
|
1507
1617
|
styleId: string;
|
|
1508
1618
|
propertyName: string;
|
|
1509
|
-
|
|
1619
|
+
unitName: string;
|
|
1510
1620
|
unitSlug: string;
|
|
1511
1621
|
styleName: string;
|
|
1512
1622
|
unitBedrooms: number;
|
|
@@ -1519,7 +1629,7 @@ export declare function useTrackingEvents(): {
|
|
|
1519
1629
|
unitId: string;
|
|
1520
1630
|
styleId: string;
|
|
1521
1631
|
propertyName: string;
|
|
1522
|
-
|
|
1632
|
+
unitName: string;
|
|
1523
1633
|
unitSlug: string;
|
|
1524
1634
|
styleName: string;
|
|
1525
1635
|
unitBedrooms: number;
|
|
@@ -1533,7 +1643,7 @@ export declare function useTrackingEvents(): {
|
|
|
1533
1643
|
unitId: string;
|
|
1534
1644
|
styleId: string;
|
|
1535
1645
|
propertyName: string;
|
|
1536
|
-
|
|
1646
|
+
unitName: string;
|
|
1537
1647
|
unitSlug: string;
|
|
1538
1648
|
styleName: string;
|
|
1539
1649
|
unitBedrooms: number;
|
|
@@ -1550,7 +1660,7 @@ export declare function useTrackingEvents(): {
|
|
|
1550
1660
|
unitId: string;
|
|
1551
1661
|
styleId: string;
|
|
1552
1662
|
propertyName: string;
|
|
1553
|
-
|
|
1663
|
+
unitName: string;
|
|
1554
1664
|
unitSlug: string;
|
|
1555
1665
|
styleName: string;
|
|
1556
1666
|
unitBedrooms: number;
|
|
@@ -1564,7 +1674,7 @@ export declare function useTrackingEvents(): {
|
|
|
1564
1674
|
propertyId: string;
|
|
1565
1675
|
unitId: string;
|
|
1566
1676
|
propertyName: string;
|
|
1567
|
-
|
|
1677
|
+
unitName: string;
|
|
1568
1678
|
unitSlug: string;
|
|
1569
1679
|
toastCopy: string;
|
|
1570
1680
|
}) => void;
|
|
@@ -1573,7 +1683,7 @@ export declare function useTrackingEvents(): {
|
|
|
1573
1683
|
propertyId: string;
|
|
1574
1684
|
unitId: string;
|
|
1575
1685
|
propertyName: string;
|
|
1576
|
-
|
|
1686
|
+
unitName: string;
|
|
1577
1687
|
unitSlug: string;
|
|
1578
1688
|
toastCopy: string;
|
|
1579
1689
|
}) => void;
|
|
@@ -1582,9 +1692,23 @@ export declare function useTrackingEvents(): {
|
|
|
1582
1692
|
propertyId: string;
|
|
1583
1693
|
unitId: string;
|
|
1584
1694
|
propertyName: string;
|
|
1585
|
-
|
|
1695
|
+
unitName: string;
|
|
1586
1696
|
unitSlug: string;
|
|
1587
1697
|
toastCopy: string;
|
|
1588
1698
|
}) => void;
|
|
1699
|
+
trackContentModalOpened: (payload: {
|
|
1700
|
+
type: string;
|
|
1701
|
+
propertySlug: string;
|
|
1702
|
+
propertyId: string;
|
|
1703
|
+
unitId: string;
|
|
1704
|
+
name: string;
|
|
1705
|
+
source: string;
|
|
1706
|
+
styleId: string;
|
|
1707
|
+
propertyName: string;
|
|
1708
|
+
unitName: string;
|
|
1709
|
+
unitSlug: string;
|
|
1710
|
+
styleName: string;
|
|
1711
|
+
unitBedrooms: number;
|
|
1712
|
+
}) => void;
|
|
1589
1713
|
};
|
|
1590
1714
|
export {};
|