@superbright/indexeddb-orm 1.0.33 → 1.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/README.md +44 -359
  2. package/dist/adapters/dexie.cjs +1 -1
  3. package/dist/adapters/dexie.cjs.map +1 -1
  4. package/dist/adapters/dexie.d.ts +3 -4
  5. package/dist/adapters/dexie.mjs +6 -9
  6. package/dist/adapters/dexie.mjs.map +1 -1
  7. package/dist/adapters/zustand-store.cjs +1 -1
  8. package/dist/adapters/zustand-store.cjs.map +1 -1
  9. package/dist/adapters/zustand-store.d.ts +20 -41
  10. package/dist/adapters/zustand-store.mjs +34 -194
  11. package/dist/adapters/zustand-store.mjs.map +1 -1
  12. package/dist/base/furniture.d.ts +2 -2
  13. package/dist/base/index.d.ts +0 -1
  14. package/dist/base/visitorquestionnaire.d.ts +2 -2
  15. package/dist/db.cjs +1 -1
  16. package/dist/db.cjs.map +1 -1
  17. package/dist/db.mjs +57 -75
  18. package/dist/db.mjs.map +1 -1
  19. package/dist/features/analytics/analytics.cjs +1 -1
  20. package/dist/features/analytics/analytics.cjs.map +1 -1
  21. package/dist/features/analytics/analytics.d.ts +481 -152
  22. package/dist/features/analytics/analytics.mjs +230 -175
  23. package/dist/features/analytics/analytics.mjs.map +1 -1
  24. package/dist/index.cjs +1 -1
  25. package/dist/index.d.ts +2 -3
  26. package/dist/index.mjs +92 -107
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/schema.cjs +1 -1
  29. package/dist/schema.cjs.map +1 -1
  30. package/dist/schema.d.ts +1 -2088
  31. package/dist/schema.mjs +105 -161
  32. package/dist/schema.mjs.map +1 -1
  33. package/dist/stores/store.cjs +1 -1
  34. package/dist/stores/store.cjs.map +1 -1
  35. package/dist/stores/store.d.ts +7 -158
  36. package/dist/stores/store.mjs +13 -427
  37. package/dist/stores/store.mjs.map +1 -1
  38. package/dist/utils/casing.cjs +1 -1
  39. package/dist/utils/casing.cjs.map +1 -1
  40. package/dist/utils/casing.d.ts +0 -4
  41. package/dist/utils/casing.mjs +1 -4
  42. package/dist/utils/casing.mjs.map +1 -1
  43. package/dist/validation.cjs +1 -1
  44. package/dist/validation.cjs.map +1 -1
  45. package/dist/validation.d.ts +0 -2
  46. package/dist/validation.mjs +3 -14
  47. package/dist/validation.mjs.map +1 -1
  48. package/package.json +5 -1
  49. package/dist/adapters/structured-store.cjs +0 -2
  50. package/dist/adapters/structured-store.cjs.map +0 -1
  51. package/dist/adapters/structured-store.d.ts +0 -45
  52. package/dist/adapters/structured-store.mjs +0 -51
  53. package/dist/adapters/structured-store.mjs.map +0 -1
  54. package/dist/base/favoriteunit.cjs +0 -2
  55. package/dist/base/favoriteunit.cjs.map +0 -1
  56. package/dist/base/favoriteunit.d.ts +0 -14
  57. package/dist/base/favoriteunit.mjs +0 -10
  58. package/dist/base/favoriteunit.mjs.map +0 -1
@@ -13,12 +13,12 @@ declare const propertyContextSchema: z.ZodObject<{
13
13
  propertySlug: z.ZodString;
14
14
  propertyName: z.ZodString;
15
15
  }, "strip", z.ZodTypeAny, {
16
- propertySlug: string;
17
16
  propertyId: string;
17
+ propertySlug: string;
18
18
  propertyName: string;
19
19
  }, {
20
- propertySlug: string;
21
20
  propertyId: string;
21
+ propertySlug: string;
22
22
  propertyName: string;
23
23
  }>;
24
24
  declare const viewAllUnitsSchema: z.ZodObject<{
@@ -31,15 +31,15 @@ declare const viewAllUnitsSchema: z.ZodObject<{
31
31
  resultsUnitCount: z.ZodNumber;
32
32
  unitCountDate: z.ZodOptional<z.ZodString>;
33
33
  }, "strip", z.ZodTypeAny, {
34
- propertySlug: string;
35
34
  propertyId: string;
35
+ propertySlug: string;
36
36
  propertyName: string;
37
37
  totalUnitsAvailable: number;
38
38
  resultsUnitCount: number;
39
39
  unitCountDate?: string | undefined;
40
40
  }, {
41
- propertySlug: string;
42
41
  propertyId: string;
42
+ propertySlug: string;
43
43
  propertyName: string;
44
44
  totalUnitsAvailable: number;
45
45
  resultsUnitCount: number;
@@ -55,15 +55,15 @@ declare const loadMoreSchema: z.ZodObject<{
55
55
  resultsUnitCount: z.ZodNumber;
56
56
  unitCountDate: z.ZodOptional<z.ZodString>;
57
57
  }, "strip", z.ZodTypeAny, {
58
- propertySlug: string;
59
58
  propertyId: string;
59
+ propertySlug: string;
60
60
  propertyName: string;
61
61
  totalUnitsAvailable: number;
62
62
  resultsUnitCount: number;
63
63
  unitCountDate?: string | undefined;
64
64
  }, {
65
- propertySlug: string;
66
65
  propertyId: string;
66
+ propertySlug: string;
67
67
  propertyName: string;
68
68
  totalUnitsAvailable: number;
69
69
  resultsUnitCount: number;
@@ -80,16 +80,16 @@ declare const scheduleTourFormSchema: z.ZodObject<{
80
80
  unitCountDate: z.ZodOptional<z.ZodString>;
81
81
  lifestylePreferences: z.ZodOptional<z.ZodUnknown>;
82
82
  }, "strip", z.ZodTypeAny, {
83
- propertySlug: string;
84
83
  propertyId: string;
84
+ propertySlug: string;
85
85
  propertyName: string;
86
86
  totalUnitsAvailable: number;
87
87
  resultsUnitCount: number;
88
88
  unitCountDate?: string | undefined;
89
89
  lifestylePreferences?: unknown;
90
90
  }, {
91
- propertySlug: string;
92
91
  propertyId: string;
92
+ propertySlug: string;
93
93
  propertyName: string;
94
94
  totalUnitsAvailable: number;
95
95
  resultsUnitCount: number;
@@ -107,16 +107,16 @@ declare const questionnaireEventSchema: z.ZodObject<{
107
107
  interactedElement: z.ZodEnum<["Skip", "Continue", "Back"]>;
108
108
  questionEnum: z.ZodOptional<z.ZodString>;
109
109
  }, "strip", z.ZodTypeAny, {
110
- propertySlug: string;
111
110
  propertyId: string;
111
+ propertySlug: string;
112
112
  propertyName: string;
113
113
  funnelStep: number;
114
114
  profileQuestion: string;
115
115
  interactedElement: "Skip" | "Continue" | "Back";
116
116
  questionEnum?: string | undefined;
117
117
  }, {
118
- propertySlug: string;
119
118
  propertyId: string;
119
+ propertySlug: string;
120
120
  propertyName: string;
121
121
  funnelStep: number;
122
122
  profileQuestion: string;
@@ -136,8 +136,8 @@ declare const continueQuestionnaireEventSchema: z.ZodObject<{
136
136
  } & {
137
137
  selectedAnswersEnumArray: z.ZodEffects<z.ZodEffects<z.ZodAny, string[], any>, string[], any>;
138
138
  }, "strip", z.ZodTypeAny, {
139
- propertySlug: string;
140
139
  propertyId: string;
140
+ propertySlug: string;
141
141
  propertyName: string;
142
142
  funnelStep: number;
143
143
  profileQuestion: string;
@@ -145,8 +145,8 @@ declare const continueQuestionnaireEventSchema: z.ZodObject<{
145
145
  selectedAnswersEnumArray: string[];
146
146
  questionEnum?: string | undefined;
147
147
  }, {
148
- propertySlug: string;
149
148
  propertyId: string;
149
+ propertySlug: string;
150
150
  propertyName: string;
151
151
  funnelStep: number;
152
152
  profileQuestion: string;
@@ -163,15 +163,15 @@ declare const unitEventSchema: z.ZodObject<{
163
163
  unitName: z.ZodString;
164
164
  unitSlug: z.ZodString;
165
165
  }, "strip", z.ZodTypeAny, {
166
- propertySlug: string;
167
166
  propertyId: string;
167
+ propertySlug: string;
168
168
  unitId: string;
169
169
  propertyName: string;
170
170
  unitName: string;
171
171
  unitSlug: string;
172
172
  }, {
173
- propertySlug: string;
174
173
  propertyId: string;
174
+ propertySlug: string;
175
175
  unitId: string;
176
176
  propertyName: string;
177
177
  unitName: string;
@@ -194,8 +194,8 @@ declare const getInTouchFormSchema: z.ZodObject<{
194
194
  unitBedrooms: z.ZodNumber;
195
195
  favoritedUnit: z.ZodBoolean;
196
196
  }, "strip", z.ZodTypeAny, {
197
- propertySlug: string;
198
197
  propertyId: string;
198
+ propertySlug: string;
199
199
  unitId: string;
200
200
  styleId: string;
201
201
  propertyName: string;
@@ -207,8 +207,8 @@ declare const getInTouchFormSchema: z.ZodObject<{
207
207
  unitBedrooms: number;
208
208
  favoritedUnit: boolean;
209
209
  }, {
210
- propertySlug: string;
211
210
  propertyId: string;
211
+ propertySlug: string;
212
212
  unitId: string;
213
213
  styleId: string;
214
214
  propertyName: string;
@@ -236,8 +236,8 @@ declare const styleDrawerSchema: z.ZodObject<{
236
236
  styleName: z.ZodString;
237
237
  favoritedUnit: z.ZodBoolean;
238
238
  }, "strip", z.ZodTypeAny, {
239
- propertySlug: string;
240
239
  propertyId: string;
240
+ propertySlug: string;
241
241
  unitId: string;
242
242
  styleId: string;
243
243
  propertyName: string;
@@ -248,8 +248,8 @@ declare const styleDrawerSchema: z.ZodObject<{
248
248
  favoritedUnit: boolean;
249
249
  roomName: string;
250
250
  }, {
251
- propertySlug: string;
252
251
  propertyId: string;
252
+ propertySlug: string;
253
253
  unitId: string;
254
254
  styleId: string;
255
255
  propertyName: string;
@@ -279,10 +279,10 @@ declare const furnitureInteractionSchema: z.ZodObject<{
279
279
  type: z.ZodEnum<["click", "hover_on", "hover_off"]>;
280
280
  }, "strip", z.ZodTypeAny, {
281
281
  type: "click" | "hover_on" | "hover_off";
282
- propertySlug: string;
283
282
  propertyId: string;
284
- unitId: string;
283
+ propertySlug: string;
285
284
  furnitureId: string;
285
+ unitId: string;
286
286
  styleId: string;
287
287
  propertyName: string;
288
288
  unitName: string;
@@ -293,10 +293,10 @@ declare const furnitureInteractionSchema: z.ZodObject<{
293
293
  furnitureName: string;
294
294
  }, {
295
295
  type: "click" | "hover_on" | "hover_off";
296
- propertySlug: string;
297
296
  propertyId: string;
298
- unitId: string;
297
+ propertySlug: string;
299
298
  furnitureId: string;
299
+ unitId: string;
300
300
  styleId: string;
301
301
  propertyName: string;
302
302
  unitName: string;
@@ -327,11 +327,11 @@ declare const furnitureExternalUrlSchema: z.ZodObject<{
327
327
  favoritedUnit: z.ZodBoolean;
328
328
  }, "strip", z.ZodTypeAny, {
329
329
  type: string;
330
- propertySlug: string;
331
330
  propertyId: string;
332
- unitId: string;
333
331
  link: string;
332
+ propertySlug: string;
334
333
  furnitureId: string;
334
+ unitId: string;
335
335
  styleId: string;
336
336
  propertyName: string;
337
337
  unitName: string;
@@ -343,11 +343,11 @@ declare const furnitureExternalUrlSchema: z.ZodObject<{
343
343
  furnitureName: string;
344
344
  }, {
345
345
  type: string;
346
- propertySlug: string;
347
346
  propertyId: string;
348
- unitId: string;
349
347
  link: string;
348
+ propertySlug: string;
350
349
  furnitureId: string;
350
+ unitId: string;
351
351
  styleId: string;
352
352
  propertyName: string;
353
353
  unitName: string;
@@ -375,10 +375,10 @@ declare const furnitureSavedSchema: z.ZodObject<{
375
375
  furnitureId: z.ZodString;
376
376
  furnitureName: z.ZodString;
377
377
  }, "strip", z.ZodTypeAny, {
378
- propertySlug: string;
379
378
  propertyId: string;
380
- unitId: string;
379
+ propertySlug: string;
381
380
  furnitureId: string;
381
+ unitId: string;
382
382
  styleId: string;
383
383
  propertyName: string;
384
384
  unitName: string;
@@ -388,10 +388,10 @@ declare const furnitureSavedSchema: z.ZodObject<{
388
388
  roomName: string;
389
389
  furnitureName: string;
390
390
  }, {
391
- propertySlug: string;
392
391
  propertyId: string;
393
- unitId: string;
392
+ propertySlug: string;
394
393
  furnitureId: string;
394
+ unitId: string;
395
395
  styleId: string;
396
396
  propertyName: string;
397
397
  unitName: string;
@@ -418,10 +418,10 @@ declare const furnitureModalOpenedSchema: z.ZodObject<{
418
418
  furnitureId: z.ZodString;
419
419
  furnitureName: z.ZodString;
420
420
  }, "strip", z.ZodTypeAny, {
421
- propertySlug: string;
422
421
  propertyId: string;
423
- unitId: string;
422
+ propertySlug: string;
424
423
  furnitureId: string;
424
+ unitId: string;
425
425
  styleId: string;
426
426
  propertyName: string;
427
427
  unitName: string;
@@ -431,10 +431,10 @@ declare const furnitureModalOpenedSchema: z.ZodObject<{
431
431
  roomName: string;
432
432
  furnitureName: string;
433
433
  }, {
434
- propertySlug: string;
435
434
  propertyId: string;
436
- unitId: string;
435
+ propertySlug: string;
437
436
  furnitureId: string;
437
+ unitId: string;
438
438
  styleId: string;
439
439
  propertyName: string;
440
440
  unitName: string;
@@ -462,10 +462,10 @@ declare const furnitureCarouselSchema: z.ZodObject<{
462
462
  furnitureId: z.ZodString;
463
463
  furnitureName: z.ZodString;
464
464
  }, "strip", z.ZodTypeAny, {
465
- propertySlug: string;
466
465
  propertyId: string;
467
- unitId: string;
466
+ propertySlug: string;
468
467
  furnitureId: string;
468
+ unitId: string;
469
469
  styleId: string;
470
470
  propertyName: string;
471
471
  unitName: string;
@@ -476,10 +476,10 @@ declare const furnitureCarouselSchema: z.ZodObject<{
476
476
  furnitureName: string;
477
477
  method: "Prev" | "Next";
478
478
  }, {
479
- propertySlug: string;
480
479
  propertyId: string;
481
- unitId: string;
480
+ propertySlug: string;
482
481
  furnitureId: string;
482
+ unitId: string;
483
483
  styleId: string;
484
484
  propertyName: string;
485
485
  unitName: string;
@@ -506,8 +506,8 @@ declare const roomEnteredSchema: z.ZodObject<{
506
506
  styleName: z.ZodString;
507
507
  method: z.ZodEnum<["Navigation", "Map"]>;
508
508
  }, "strip", z.ZodTypeAny, {
509
- propertySlug: string;
510
509
  propertyId: string;
510
+ propertySlug: string;
511
511
  unitId: string;
512
512
  styleId: string;
513
513
  propertyName: string;
@@ -518,8 +518,8 @@ declare const roomEnteredSchema: z.ZodObject<{
518
518
  roomName: string;
519
519
  method: "Navigation" | "Map";
520
520
  }, {
521
- propertySlug: string;
522
521
  propertyId: string;
522
+ propertySlug: string;
523
523
  unitId: string;
524
524
  styleId: string;
525
525
  propertyName: string;
@@ -548,8 +548,8 @@ declare const roomLeftSchema: z.ZodObject<{
548
548
  } & {
549
549
  timeInRoom: z.ZodNumber;
550
550
  }, "strip", z.ZodTypeAny, {
551
- propertySlug: string;
552
551
  propertyId: string;
552
+ propertySlug: string;
553
553
  unitId: string;
554
554
  styleId: string;
555
555
  propertyName: string;
@@ -561,8 +561,8 @@ declare const roomLeftSchema: z.ZodObject<{
561
561
  method: "Navigation" | "Map";
562
562
  timeInRoom: number;
563
563
  }, {
564
- propertySlug: string;
565
564
  propertyId: string;
565
+ propertySlug: string;
566
566
  unitId: string;
567
567
  styleId: string;
568
568
  propertyName: string;
@@ -594,8 +594,8 @@ declare const videoStartedSchema: z.ZodObject<{
594
594
  videoPercent: z.ZodNumber;
595
595
  videoFilename: z.ZodString;
596
596
  }, "strip", z.ZodTypeAny, {
597
- propertySlug: string;
598
597
  propertyId: string;
598
+ propertySlug: string;
599
599
  unitId: string;
600
600
  styleId: string;
601
601
  propertyName: string;
@@ -610,8 +610,8 @@ declare const videoStartedSchema: z.ZodObject<{
610
610
  videoPercent: number;
611
611
  videoFilename: string;
612
612
  }, {
613
- propertySlug: string;
614
613
  propertyId: string;
614
+ propertySlug: string;
615
615
  unitId: string;
616
616
  styleId: string;
617
617
  propertyName: string;
@@ -644,8 +644,8 @@ declare const emailTrackedSchema: z.ZodObject<{
644
644
  styleName: z.ZodString;
645
645
  favoritedUnit: z.ZodBoolean;
646
646
  }, "strip", z.ZodTypeAny, {
647
- propertySlug: string;
648
647
  propertyId: string;
648
+ propertySlug: string;
649
649
  unitId: string;
650
650
  styleId: string;
651
651
  propertyName: string;
@@ -658,8 +658,8 @@ declare const emailTrackedSchema: z.ZodObject<{
658
658
  utmMedium: string;
659
659
  utmName: string;
660
660
  }, {
661
- propertySlug: string;
662
661
  propertyId: string;
662
+ propertySlug: string;
663
663
  unitId: string;
664
664
  styleId: string;
665
665
  propertyName: string;
@@ -687,8 +687,8 @@ declare const webPageViewedSchema: z.ZodObject<{
687
687
  } & {
688
688
  pageName: z.ZodString;
689
689
  }, "strip", z.ZodTypeAny, {
690
- propertySlug: string;
691
690
  propertyId: string;
691
+ propertySlug: string;
692
692
  unitId: string;
693
693
  propertyName: string;
694
694
  unitName: string;
@@ -697,8 +697,8 @@ declare const webPageViewedSchema: z.ZodObject<{
697
697
  datestamp: string;
698
698
  pageName: string;
699
699
  }, {
700
- propertySlug: string;
701
700
  propertyId: string;
701
+ propertySlug: string;
702
702
  unitId: string;
703
703
  propertyName: string;
704
704
  unitName: string;
@@ -722,8 +722,8 @@ declare const webPageRoomViewedSchema: z.ZodObject<{
722
722
  } & {
723
723
  roomName: z.ZodString;
724
724
  }, "strip", z.ZodTypeAny, {
725
- propertySlug: string;
726
725
  propertyId: string;
726
+ propertySlug: string;
727
727
  unitId: string;
728
728
  propertyName: string;
729
729
  unitName: string;
@@ -732,8 +732,8 @@ declare const webPageRoomViewedSchema: z.ZodObject<{
732
732
  fullUrl: string;
733
733
  datestamp: string;
734
734
  }, {
735
- propertySlug: string;
736
735
  propertyId: string;
736
+ propertySlug: string;
737
737
  unitId: string;
738
738
  propertyName: string;
739
739
  unitName: string;
@@ -754,16 +754,16 @@ declare const toastSchema: z.ZodObject<{
754
754
  } & {
755
755
  toastCopy: z.ZodString;
756
756
  }, "strip", z.ZodTypeAny, {
757
- propertySlug: string;
758
757
  propertyId: string;
758
+ propertySlug: string;
759
759
  unitId: string;
760
760
  propertyName: string;
761
761
  unitName: string;
762
762
  unitSlug: string;
763
763
  toastCopy: string;
764
764
  }, {
765
- propertySlug: string;
766
765
  propertyId: string;
766
+ propertySlug: string;
767
767
  unitId: string;
768
768
  propertyName: string;
769
769
  unitName: string;
@@ -784,8 +784,8 @@ declare const contentModalOpenedSchema: z.ZodObject<{
784
784
  styleId: z.ZodString;
785
785
  styleName: z.ZodString;
786
786
  }, "strip", z.ZodTypeAny, {
787
- propertySlug: string;
788
787
  propertyId: string;
788
+ propertySlug: string;
789
789
  unitId: string;
790
790
  styleId: string;
791
791
  propertyName: string;
@@ -794,8 +794,8 @@ declare const contentModalOpenedSchema: z.ZodObject<{
794
794
  styleName: string;
795
795
  unitBedrooms: number;
796
796
  }, {
797
- propertySlug: string;
798
797
  propertyId: string;
798
+ propertySlug: string;
799
799
  unitId: string;
800
800
  styleId: string;
801
801
  propertyName: string;
@@ -810,13 +810,202 @@ declare const buildingDetailsModalSchema: z.ZodObject<{
810
810
  } & {
811
811
  propertyName: z.ZodString;
812
812
  }, "strip", z.ZodTypeAny, {
813
+ propertyId: string;
814
+ propertySlug: string;
815
+ propertyName: string;
816
+ }, {
817
+ propertyId: string;
818
+ propertySlug: string;
819
+ propertyName: string;
820
+ }>;
821
+ declare const subscriptionImpressionSchema: z.ZodObject<{
822
+ propertyId: z.ZodString;
823
+ propertySlug: z.ZodString;
824
+ } & {
825
+ propertyName: z.ZodString;
826
+ } & {
827
+ name: z.ZodString;
828
+ }, "strip", z.ZodTypeAny, {
829
+ name: string;
830
+ propertyId: string;
813
831
  propertySlug: string;
832
+ propertyName: string;
833
+ }, {
834
+ name: string;
814
835
  propertyId: string;
836
+ propertySlug: string;
815
837
  propertyName: string;
838
+ }>;
839
+ declare const subscriptionInteractedSchema: z.ZodObject<{
840
+ name: z.ZodString;
841
+ properties: z.ZodObject<{
842
+ propertyContextSchema: z.ZodObject<{
843
+ propertyId: z.ZodString;
844
+ propertySlug: z.ZodString;
845
+ propertyName: z.ZodString;
846
+ }, "strip", z.ZodTypeAny, {
847
+ propertyId: string;
848
+ propertySlug: string;
849
+ propertyName: string;
850
+ }, {
851
+ propertyId: string;
852
+ propertySlug: string;
853
+ propertyName: string;
854
+ }>;
855
+ buttonName: z.ZodString;
856
+ formName: z.ZodString;
857
+ pageName: z.ZodString;
858
+ fieldName: z.ZodString;
859
+ }, "strip", z.ZodTypeAny, {
860
+ buttonName: string;
861
+ formName: string;
862
+ pageName: string;
863
+ propertyContextSchema: {
864
+ propertyId: string;
865
+ propertySlug: string;
866
+ propertyName: string;
867
+ };
868
+ fieldName: string;
869
+ }, {
870
+ buttonName: string;
871
+ formName: string;
872
+ pageName: string;
873
+ propertyContextSchema: {
874
+ propertyId: string;
875
+ propertySlug: string;
876
+ propertyName: string;
877
+ };
878
+ fieldName: string;
879
+ }>;
880
+ }, "strip", z.ZodTypeAny, {
881
+ name: string;
882
+ properties: {
883
+ buttonName: string;
884
+ formName: string;
885
+ pageName: string;
886
+ propertyContextSchema: {
887
+ propertyId: string;
888
+ propertySlug: string;
889
+ propertyName: string;
890
+ };
891
+ fieldName: string;
892
+ };
893
+ }, {
894
+ name: string;
895
+ properties: {
896
+ buttonName: string;
897
+ formName: string;
898
+ pageName: string;
899
+ propertyContextSchema: {
900
+ propertyId: string;
901
+ propertySlug: string;
902
+ propertyName: string;
903
+ };
904
+ fieldName: string;
905
+ };
906
+ }>;
907
+ declare const subscriptionSubmittedSchema: z.ZodObject<{
908
+ name: z.ZodString;
909
+ properties: z.ZodObject<{
910
+ propertyContextSchema: z.ZodObject<{
911
+ propertyId: z.ZodString;
912
+ propertySlug: z.ZodString;
913
+ propertyName: z.ZodString;
914
+ }, "strip", z.ZodTypeAny, {
915
+ propertyId: string;
916
+ propertySlug: string;
917
+ propertyName: string;
918
+ }, {
919
+ propertyId: string;
920
+ propertySlug: string;
921
+ propertyName: string;
922
+ }>;
923
+ buttonName: z.ZodString;
924
+ formName: z.ZodString;
925
+ pageName: z.ZodString;
926
+ bedrooms: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
927
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
928
+ }, "strip", z.ZodTypeAny, {
929
+ buttonName: string;
930
+ formName: string;
931
+ pageName: string;
932
+ propertyContextSchema: {
933
+ propertyId: string;
934
+ propertySlug: string;
935
+ propertyName: string;
936
+ };
937
+ bedrooms?: (string | number)[] | undefined;
938
+ price?: number | null | undefined;
939
+ }, {
940
+ buttonName: string;
941
+ formName: string;
942
+ pageName: string;
943
+ propertyContextSchema: {
944
+ propertyId: string;
945
+ propertySlug: string;
946
+ propertyName: string;
947
+ };
948
+ bedrooms?: (string | number)[] | undefined;
949
+ price?: number | null | undefined;
950
+ }>;
951
+ }, "strip", z.ZodTypeAny, {
952
+ name: string;
953
+ properties: {
954
+ buttonName: string;
955
+ formName: string;
956
+ pageName: string;
957
+ propertyContextSchema: {
958
+ propertyId: string;
959
+ propertySlug: string;
960
+ propertyName: string;
961
+ };
962
+ bedrooms?: (string | number)[] | undefined;
963
+ price?: number | null | undefined;
964
+ };
816
965
  }, {
966
+ name: string;
967
+ properties: {
968
+ buttonName: string;
969
+ formName: string;
970
+ pageName: string;
971
+ propertyContextSchema: {
972
+ propertyId: string;
973
+ propertySlug: string;
974
+ propertyName: string;
975
+ };
976
+ bedrooms?: (string | number)[] | undefined;
977
+ price?: number | null | undefined;
978
+ };
979
+ }>;
980
+ declare const subscriptionRemovedSchema: z.ZodObject<{
981
+ propertyId: z.ZodString;
982
+ propertySlug: z.ZodString;
983
+ } & {
984
+ propertyName: z.ZodString;
985
+ } & {
986
+ bedrooms: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
987
+ price_min: z.ZodOptional<z.ZodNumber>;
988
+ price_max: z.ZodOptional<z.ZodNumber>;
989
+ highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
990
+ page_name: z.ZodOptional<z.ZodString>;
991
+ }, "strip", z.ZodTypeAny, {
992
+ propertyId: string;
817
993
  propertySlug: string;
994
+ propertyName: string;
995
+ highlights?: string[] | undefined;
996
+ bedrooms?: number[] | undefined;
997
+ price_min?: number | undefined;
998
+ price_max?: number | undefined;
999
+ page_name?: string | undefined;
1000
+ }, {
818
1001
  propertyId: string;
1002
+ propertySlug: string;
819
1003
  propertyName: string;
1004
+ highlights?: string[] | undefined;
1005
+ bedrooms?: number[] | undefined;
1006
+ price_min?: number | undefined;
1007
+ price_max?: number | undefined;
1008
+ page_name?: string | undefined;
820
1009
  }>;
821
1010
  declare const hoverUnitSchema: z.ZodObject<{
822
1011
  propertyId: z.ZodString;
@@ -829,22 +1018,25 @@ declare const hoverUnitSchema: z.ZodObject<{
829
1018
  unitSlug: z.ZodString;
830
1019
  } & {
831
1020
  favoritedUnit: z.ZodBoolean;
1021
+ unitIndex: z.ZodNumber;
832
1022
  }, "strip", z.ZodTypeAny, {
833
- propertySlug: string;
834
1023
  propertyId: string;
1024
+ propertySlug: string;
835
1025
  unitId: string;
836
1026
  propertyName: string;
837
1027
  unitName: string;
838
1028
  unitSlug: string;
839
1029
  favoritedUnit: boolean;
1030
+ unitIndex: number;
840
1031
  }, {
841
- propertySlug: string;
842
1032
  propertyId: string;
1033
+ propertySlug: string;
843
1034
  unitId: string;
844
1035
  propertyName: string;
845
1036
  unitName: string;
846
1037
  unitSlug: string;
847
1038
  favoritedUnit: boolean;
1039
+ unitIndex: number;
848
1040
  }>;
849
1041
  declare const filterOpenSchema: z.ZodObject<{
850
1042
  propertyId: z.ZodString;
@@ -857,16 +1049,16 @@ declare const filterOpenSchema: z.ZodObject<{
857
1049
  selectedFiltersEnum: z.ZodEffects<z.ZodEffects<z.ZodAny, string[], any>, string[], any>;
858
1050
  filterName: z.ZodOptional<z.ZodString>;
859
1051
  }, "strip", z.ZodTypeAny, {
860
- propertySlug: string;
861
1052
  propertyId: string;
1053
+ propertySlug: string;
862
1054
  propertyName: string;
863
1055
  filterIndex: number;
864
1056
  filterLabel: string;
865
1057
  selectedFiltersEnum: string[];
866
1058
  filterName?: string | undefined;
867
1059
  }, {
868
- propertySlug: string;
869
1060
  propertyId: string;
1061
+ propertySlug: string;
870
1062
  propertyName: string;
871
1063
  filterIndex: number;
872
1064
  filterLabel: string;
@@ -883,15 +1075,15 @@ declare const filterMutationSchema: z.ZodObject<{
883
1075
  filterLabel: z.ZodString;
884
1076
  selectedFiltersEnum: z.ZodEffects<z.ZodEffects<z.ZodAny, string[], any>, string[], any>;
885
1077
  }, "strip", z.ZodTypeAny, {
886
- propertySlug: string;
887
1078
  propertyId: string;
1079
+ propertySlug: string;
888
1080
  propertyName: string;
889
1081
  filterIndex: number;
890
1082
  filterLabel: string;
891
1083
  selectedFiltersEnum: string[];
892
1084
  }, {
893
- propertySlug: string;
894
1085
  propertyId: string;
1086
+ propertySlug: string;
895
1087
  propertyName: string;
896
1088
  filterIndex: number;
897
1089
  filterLabel: string;
@@ -905,14 +1097,14 @@ declare const sortEventSchema: z.ZodObject<{
905
1097
  sortIndex: z.ZodNumber;
906
1098
  sortEnum: z.ZodEnum<["cost_low_to_high", "cost_high_to_low", "newest", "relevance"]>;
907
1099
  }, "strip", z.ZodTypeAny, {
908
- propertySlug: string;
909
1100
  propertyId: string;
1101
+ propertySlug: string;
910
1102
  propertyName: string;
911
1103
  sortIndex: number;
912
1104
  sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
913
1105
  }, {
914
- propertySlug: string;
915
1106
  propertyId: string;
1107
+ propertySlug: string;
916
1108
  propertyName: string;
917
1109
  sortIndex: number;
918
1110
  sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
@@ -928,16 +1120,16 @@ declare const sortOpenSchema: z.ZodObject<{
928
1120
  resultsUnitCount: z.ZodNumber;
929
1121
  unitCountDate: z.ZodOptional<z.ZodString>;
930
1122
  }, "strip", z.ZodTypeAny, {
931
- propertySlug: string;
932
1123
  propertyId: string;
1124
+ propertySlug: string;
933
1125
  propertyName: string;
934
1126
  resultsUnitCount: number;
935
1127
  sortIndex: number;
936
1128
  sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
937
1129
  unitCountDate?: string | undefined;
938
1130
  }, {
939
- propertySlug: string;
940
1131
  propertyId: string;
1132
+ propertySlug: string;
941
1133
  propertyName: string;
942
1134
  resultsUnitCount: number;
943
1135
  sortIndex: number;
@@ -979,8 +1171,8 @@ declare const questionnaireResultSchema: z.ZodObject<{
979
1171
  total?: number | undefined;
980
1172
  }>>;
981
1173
  }, "strip", z.ZodTypeAny, {
982
- propertySlug: string;
983
1174
  propertyId: string;
1175
+ propertySlug: string;
984
1176
  propertyName: string;
985
1177
  fullQuestionnaireSchemaJson?: unknown;
986
1178
  resultsJson?: {
@@ -992,8 +1184,8 @@ declare const questionnaireResultSchema: z.ZodObject<{
992
1184
  total?: number | undefined;
993
1185
  } | undefined;
994
1186
  }, {
995
- propertySlug: string;
996
1187
  propertyId: string;
1188
+ propertySlug: string;
997
1189
  propertyName: string;
998
1190
  fullQuestionnaireSchemaJson?: unknown;
999
1191
  resultsJson?: {
@@ -1016,22 +1208,25 @@ declare const clickUnitSchema: z.ZodObject<{
1016
1208
  unitSlug: z.ZodString;
1017
1209
  } & {
1018
1210
  favoritedUnit: z.ZodBoolean;
1211
+ unitIndex: z.ZodNumber;
1019
1212
  }, "strip", z.ZodTypeAny, {
1020
- propertySlug: string;
1021
1213
  propertyId: string;
1214
+ propertySlug: string;
1022
1215
  unitId: string;
1023
1216
  propertyName: string;
1024
1217
  unitName: string;
1025
1218
  unitSlug: string;
1026
1219
  favoritedUnit: boolean;
1220
+ unitIndex: number;
1027
1221
  }, {
1028
- propertySlug: string;
1029
1222
  propertyId: string;
1223
+ propertySlug: string;
1030
1224
  unitId: string;
1031
1225
  propertyName: string;
1032
1226
  unitName: string;
1033
1227
  unitSlug: string;
1034
1228
  favoritedUnit: boolean;
1229
+ unitIndex: number;
1035
1230
  }>;
1036
1231
  declare const clickUnitFavoritesSchema: z.ZodObject<{
1037
1232
  propertyId: z.ZodString;
@@ -1044,22 +1239,25 @@ declare const clickUnitFavoritesSchema: z.ZodObject<{
1044
1239
  unitSlug: z.ZodString;
1045
1240
  } & {
1046
1241
  favoritedUnit: z.ZodBoolean;
1242
+ unitIndex: z.ZodNumber;
1047
1243
  }, "strip", z.ZodTypeAny, {
1048
- propertySlug: string;
1049
1244
  propertyId: string;
1245
+ propertySlug: string;
1050
1246
  unitId: string;
1051
1247
  propertyName: string;
1052
1248
  unitName: string;
1053
1249
  unitSlug: string;
1054
1250
  favoritedUnit: boolean;
1251
+ unitIndex: number;
1055
1252
  }, {
1056
- propertySlug: string;
1057
1253
  propertyId: string;
1254
+ propertySlug: string;
1058
1255
  unitId: string;
1059
1256
  propertyName: string;
1060
1257
  unitName: string;
1061
1258
  unitSlug: string;
1062
1259
  favoritedUnit: boolean;
1260
+ unitIndex: number;
1063
1261
  }>;
1064
1262
  declare const unitUnfavoritedSchema: z.ZodObject<{
1065
1263
  propertyId: z.ZodString;
@@ -1072,23 +1270,26 @@ declare const unitUnfavoritedSchema: z.ZodObject<{
1072
1270
  unitSlug: z.ZodString;
1073
1271
  resultsUnitCount: z.ZodNumber;
1074
1272
  unitCountDate: z.ZodOptional<z.ZodString>;
1273
+ unitIndex: z.ZodNumber;
1075
1274
  }, "strip", z.ZodTypeAny, {
1076
- propertySlug: string;
1077
1275
  propertyId: string;
1276
+ propertySlug: string;
1078
1277
  unitId: string;
1079
1278
  propertyName: string;
1080
1279
  resultsUnitCount: number;
1081
1280
  unitName: string;
1082
1281
  unitSlug: string;
1282
+ unitIndex: number;
1083
1283
  unitCountDate?: string | undefined;
1084
1284
  }, {
1085
- propertySlug: string;
1086
1285
  propertyId: string;
1286
+ propertySlug: string;
1087
1287
  unitId: string;
1088
1288
  propertyName: string;
1089
1289
  resultsUnitCount: number;
1090
1290
  unitName: string;
1091
1291
  unitSlug: string;
1292
+ unitIndex: number;
1092
1293
  unitCountDate?: string | undefined;
1093
1294
  }>;
1094
1295
  export type BaseEvent = z.infer<typeof propertyContextSchema>;
@@ -1121,6 +1322,10 @@ export type EmailTrackedEvent = z.infer<typeof emailTrackedSchema>;
1121
1322
  export type ToastEvent = z.infer<typeof toastSchema>;
1122
1323
  export type ContentModalOpenedEvent = z.infer<typeof contentModalOpenedSchema>;
1123
1324
  export type BuildingDetailsModalEvent = z.infer<typeof buildingDetailsModalSchema>;
1325
+ export type SubscriptionImpressionEvent = z.infer<typeof subscriptionImpressionSchema>;
1326
+ export type SubscriptionInteractedEvent = z.infer<typeof subscriptionInteractedSchema>;
1327
+ export type SubscriptionSubmittedEvent = z.infer<typeof subscriptionSubmittedSchema>;
1328
+ export type SubscriptionRemovedEvent = z.infer<typeof subscriptionRemovedSchema>;
1124
1329
  export type WebPageViewedEvent = z.infer<typeof webPageViewedSchema>;
1125
1330
  export type WebPageRoomViewedEvent = z.infer<typeof webPageRoomViewedSchema>;
1126
1331
  export type TrackingEventWithUnits = FilterEvent & {
@@ -1135,27 +1340,29 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1135
1340
  trackQuestionnaireContinue: (payload: AnalyticsPayloadWithout<typeof continueQuestionnaireEventSchema, "interactedElement">) => void;
1136
1341
  trackQuestionnaireBack: (payload: AnalyticsPayloadWithout<typeof questionnaireEventSchema, "interactedElement">) => void;
1137
1342
  trackClickUnit: (payload: {
1138
- propertySlug: string;
1139
1343
  propertyId: string;
1344
+ propertySlug: string;
1140
1345
  unitId: string;
1141
1346
  propertyName: string;
1142
1347
  unitName: string;
1143
1348
  unitSlug: string;
1144
1349
  favoritedUnit: boolean;
1350
+ unitIndex: number;
1145
1351
  }) => void;
1146
1352
  trackHoverUnit: (payload: {
1147
- propertySlug: string;
1148
1353
  propertyId: string;
1354
+ propertySlug: string;
1149
1355
  unitId: string;
1150
1356
  propertyName: string;
1151
1357
  unitName: string;
1152
1358
  unitSlug: string;
1153
1359
  favoritedUnit: boolean;
1360
+ unitIndex: number;
1154
1361
  }) => void;
1155
1362
  trackLoadMore: (payload: AnalyticsPayload<typeof loadMoreSchema>) => void;
1156
1363
  trackFilterOpened: (payload: {
1157
- propertySlug: string;
1158
1364
  propertyId: string;
1365
+ propertySlug: string;
1159
1366
  propertyName: string;
1160
1367
  filterIndex: number;
1161
1368
  filterLabel: string;
@@ -1163,16 +1370,16 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1163
1370
  filterName?: string | undefined;
1164
1371
  }) => void;
1165
1372
  trackFilterCanceled: (payload: {
1166
- propertySlug: string;
1167
1373
  propertyId: string;
1374
+ propertySlug: string;
1168
1375
  propertyName: string;
1169
1376
  filterIndex: number;
1170
1377
  filterLabel: string;
1171
1378
  selectedFiltersEnum?: any;
1172
1379
  }) => void;
1173
1380
  trackFilterApplied: (payload: {
1174
- propertySlug: string;
1175
1381
  propertyId: string;
1382
+ propertySlug: string;
1176
1383
  propertyName: string;
1177
1384
  filterIndex: number;
1178
1385
  filterLabel: string;
@@ -1180,41 +1387,43 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1180
1387
  }) => void;
1181
1388
  trackOpenSort: (payload: AnalyticsPayload<typeof sortOpenSchema>) => void;
1182
1389
  trackSelectSort: (payload: {
1183
- propertySlug: string;
1184
1390
  propertyId: string;
1391
+ propertySlug: string;
1185
1392
  propertyName: string;
1186
1393
  sortIndex: number;
1187
1394
  sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
1188
1395
  }) => void;
1189
1396
  trackCancelSort: (payload: {
1190
- propertySlug: string;
1191
1397
  propertyId: string;
1398
+ propertySlug: string;
1192
1399
  propertyName: string;
1193
1400
  sortIndex: number;
1194
1401
  sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
1195
1402
  }) => void;
1196
1403
  trackClickUnitFavorites: (payload: {
1197
- propertySlug: string;
1198
1404
  propertyId: string;
1405
+ propertySlug: string;
1199
1406
  unitId: string;
1200
1407
  propertyName: string;
1201
1408
  unitName: string;
1202
1409
  unitSlug: string;
1203
1410
  favoritedUnit: boolean;
1411
+ unitIndex: number;
1204
1412
  }) => void;
1205
1413
  trackUnitUnfavorited: (payload: {
1206
- propertySlug: string;
1207
1414
  propertyId: string;
1415
+ propertySlug: string;
1208
1416
  unitId: string;
1209
1417
  propertyName: string;
1210
1418
  resultsUnitCount: number;
1211
1419
  unitName: string;
1212
1420
  unitSlug: string;
1421
+ unitIndex: number;
1213
1422
  unitCountDate?: string | undefined;
1214
1423
  }) => void;
1215
1424
  trackQuestionnaireResult: (payload: {
1216
- propertySlug: string;
1217
1425
  propertyId: string;
1426
+ propertySlug: string;
1218
1427
  propertyName: string;
1219
1428
  fullQuestionnaireSchemaJson?: unknown;
1220
1429
  resultsJson?: {
@@ -1227,8 +1436,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1227
1436
  } | undefined;
1228
1437
  }) => void;
1229
1438
  trackScheduleTourFormInteracted: (payload: {
1230
- propertySlug: string;
1231
1439
  propertyId: string;
1440
+ propertySlug: string;
1232
1441
  propertyName: string;
1233
1442
  totalUnitsAvailable: number;
1234
1443
  resultsUnitCount: number;
@@ -1236,8 +1445,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1236
1445
  lifestylePreferences?: unknown;
1237
1446
  }) => void;
1238
1447
  trackScheduleTourFormSubmitted: (payload: {
1239
- propertySlug: string;
1240
1448
  propertyId: string;
1449
+ propertySlug: string;
1241
1450
  propertyName: string;
1242
1451
  totalUnitsAvailable: number;
1243
1452
  resultsUnitCount: number;
@@ -1245,8 +1454,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1245
1454
  lifestylePreferences?: unknown;
1246
1455
  }) => void;
1247
1456
  trackScheduleTourUrlClicked: (payload: {
1248
- propertySlug: string;
1249
1457
  propertyId: string;
1458
+ propertySlug: string;
1250
1459
  propertyName: string;
1251
1460
  totalUnitsAvailable: number;
1252
1461
  resultsUnitCount: number;
@@ -1254,8 +1463,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1254
1463
  lifestylePreferences?: unknown;
1255
1464
  }) => void;
1256
1465
  trackGetInTouchFormOpened: (payload: {
1257
- propertySlug: string;
1258
1466
  propertyId: string;
1467
+ propertySlug: string;
1259
1468
  unitId: string;
1260
1469
  styleId: string;
1261
1470
  propertyName: string;
@@ -1268,8 +1477,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1268
1477
  favoritedUnit: boolean;
1269
1478
  }) => void;
1270
1479
  trackGetInTouchFormSubmitted: (payload: {
1271
- propertySlug: string;
1272
1480
  propertyId: string;
1481
+ propertySlug: string;
1273
1482
  unitId: string;
1274
1483
  styleId: string;
1275
1484
  propertyName: string;
@@ -1282,8 +1491,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1282
1491
  favoritedUnit: boolean;
1283
1492
  }) => void;
1284
1493
  trackStyleDrawerOpened: (payload: {
1285
- propertySlug: string;
1286
1494
  propertyId: string;
1495
+ propertySlug: string;
1287
1496
  unitId: string;
1288
1497
  styleId: string;
1289
1498
  propertyName: string;
@@ -1295,8 +1504,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1295
1504
  roomName: string;
1296
1505
  }) => void;
1297
1506
  trackStyleDrawerChanged: (payload: {
1298
- propertySlug: string;
1299
1507
  propertyId: string;
1508
+ propertySlug: string;
1300
1509
  unitId: string;
1301
1510
  styleId: string;
1302
1511
  propertyName: string;
@@ -1308,8 +1517,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1308
1517
  roomName: string;
1309
1518
  }) => void;
1310
1519
  trackOpeningStyleImpression: (payload: {
1311
- propertySlug: string;
1312
1520
  propertyId: string;
1521
+ propertySlug: string;
1313
1522
  unitId: string;
1314
1523
  styleId: string;
1315
1524
  propertyName: string;
@@ -1321,8 +1530,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1321
1530
  roomName: string;
1322
1531
  }) => void;
1323
1532
  trackOpeningStyleSlected: (payload: {
1324
- propertySlug: string;
1325
1533
  propertyId: string;
1534
+ propertySlug: string;
1326
1535
  unitId: string;
1327
1536
  styleId: string;
1328
1537
  propertyName: string;
@@ -1335,10 +1544,10 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1335
1544
  }) => void;
1336
1545
  trackFurnitureViewed: (payload: {
1337
1546
  type: "click" | "hover_on" | "hover_off";
1338
- propertySlug: string;
1339
1547
  propertyId: string;
1340
- unitId: string;
1548
+ propertySlug: string;
1341
1549
  furnitureId: string;
1550
+ unitId: string;
1342
1551
  styleId: string;
1343
1552
  propertyName: string;
1344
1553
  unitName: string;
@@ -1350,11 +1559,11 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1350
1559
  }) => void;
1351
1560
  trackFurnitureExternalUrlClicked: (payload: {
1352
1561
  type: string;
1353
- propertySlug: string;
1354
1562
  propertyId: string;
1355
- unitId: string;
1356
1563
  link: string;
1564
+ propertySlug: string;
1357
1565
  furnitureId: string;
1566
+ unitId: string;
1358
1567
  styleId: string;
1359
1568
  propertyName: string;
1360
1569
  unitName: string;
@@ -1366,10 +1575,10 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1366
1575
  furnitureName: string;
1367
1576
  }) => void;
1368
1577
  trackFurnitureSaved: (payload: {
1369
- propertySlug: string;
1370
1578
  propertyId: string;
1371
- unitId: string;
1579
+ propertySlug: string;
1372
1580
  furnitureId: string;
1581
+ unitId: string;
1373
1582
  styleId: string;
1374
1583
  propertyName: string;
1375
1584
  unitName: string;
@@ -1380,10 +1589,10 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1380
1589
  furnitureName: string;
1381
1590
  }) => void;
1382
1591
  trackFurnitureModalOpened: (payload: {
1383
- propertySlug: string;
1384
1592
  propertyId: string;
1385
- unitId: string;
1593
+ propertySlug: string;
1386
1594
  furnitureId: string;
1595
+ unitId: string;
1387
1596
  styleId: string;
1388
1597
  propertyName: string;
1389
1598
  unitName: string;
@@ -1394,10 +1603,10 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1394
1603
  furnitureName: string;
1395
1604
  }) => void;
1396
1605
  trackFurnitureCarouselToggled: (payload: {
1397
- propertySlug: string;
1398
1606
  propertyId: string;
1399
- unitId: string;
1607
+ propertySlug: string;
1400
1608
  furnitureId: string;
1609
+ unitId: string;
1401
1610
  styleId: string;
1402
1611
  propertyName: string;
1403
1612
  unitName: string;
@@ -1409,8 +1618,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1409
1618
  method: "Prev" | "Next";
1410
1619
  }) => void;
1411
1620
  trackRoomEntered: (payload: {
1412
- propertySlug: string;
1413
1621
  propertyId: string;
1622
+ propertySlug: string;
1414
1623
  unitId: string;
1415
1624
  styleId: string;
1416
1625
  propertyName: string;
@@ -1422,8 +1631,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1422
1631
  method: "Navigation" | "Map";
1423
1632
  }) => void;
1424
1633
  trackRoomLeft: (payload: {
1425
- propertySlug: string;
1426
1634
  propertyId: string;
1635
+ propertySlug: string;
1427
1636
  unitId: string;
1428
1637
  styleId: string;
1429
1638
  propertyName: string;
@@ -1436,8 +1645,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1436
1645
  timeInRoom: number;
1437
1646
  }) => void;
1438
1647
  trackVideoStarted: (payload: {
1439
- propertySlug: string;
1440
1648
  propertyId: string;
1649
+ propertySlug: string;
1441
1650
  unitId: string;
1442
1651
  styleId: string;
1443
1652
  propertyName: string;
@@ -1453,8 +1662,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1453
1662
  videoFilename: string;
1454
1663
  }) => void;
1455
1664
  trackEmailRedirect: (payload: {
1456
- propertySlug: string;
1457
1665
  propertyId: string;
1666
+ propertySlug: string;
1458
1667
  unitId: string;
1459
1668
  styleId: string;
1460
1669
  propertyName: string;
@@ -1468,8 +1677,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1468
1677
  utmName: string;
1469
1678
  }) => void;
1470
1679
  trackToastImpression: (payload: {
1471
- propertySlug: string;
1472
1680
  propertyId: string;
1681
+ propertySlug: string;
1473
1682
  unitId: string;
1474
1683
  propertyName: string;
1475
1684
  unitName: string;
@@ -1477,8 +1686,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1477
1686
  toastCopy: string;
1478
1687
  }) => void;
1479
1688
  trackToastClicked: (payload: {
1480
- propertySlug: string;
1481
1689
  propertyId: string;
1690
+ propertySlug: string;
1482
1691
  unitId: string;
1483
1692
  propertyName: string;
1484
1693
  unitName: string;
@@ -1486,8 +1695,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1486
1695
  toastCopy: string;
1487
1696
  }) => void;
1488
1697
  trackToastClosed: (payload: {
1489
- propertySlug: string;
1490
1698
  propertyId: string;
1699
+ propertySlug: string;
1491
1700
  unitId: string;
1492
1701
  propertyName: string;
1493
1702
  unitName: string;
@@ -1495,8 +1704,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1495
1704
  toastCopy: string;
1496
1705
  }) => void;
1497
1706
  trackContentModalOpened: (payload: {
1498
- propertySlug: string;
1499
1707
  propertyId: string;
1708
+ propertySlug: string;
1500
1709
  unitId: string;
1501
1710
  styleId: string;
1502
1711
  propertyName: string;
@@ -1506,13 +1715,58 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1506
1715
  unitBedrooms: number;
1507
1716
  }) => void;
1508
1717
  trackBuildingDetailsModalOpened: (payload: {
1718
+ propertyId: string;
1509
1719
  propertySlug: string;
1720
+ propertyName: string;
1721
+ }) => void;
1722
+ trackSubscriptionImpression: (payload: {
1723
+ name: string;
1510
1724
  propertyId: string;
1725
+ propertySlug: string;
1511
1726
  propertyName: string;
1512
1727
  }) => void;
1513
- trackWebPageViewed: (payload: {
1728
+ trackSubscriptionInteracted: (payload: {
1729
+ name: string;
1730
+ properties: {
1731
+ buttonName: string;
1732
+ formName: string;
1733
+ pageName: string;
1734
+ propertyContextSchema: {
1735
+ propertyId: string;
1736
+ propertySlug: string;
1737
+ propertyName: string;
1738
+ };
1739
+ fieldName: string;
1740
+ };
1741
+ }) => void;
1742
+ trackSubscriptionSubmitted: (payload: {
1743
+ name: string;
1744
+ properties: {
1745
+ buttonName: string;
1746
+ formName: string;
1747
+ pageName: string;
1748
+ propertyContextSchema: {
1749
+ propertyId: string;
1750
+ propertySlug: string;
1751
+ propertyName: string;
1752
+ };
1753
+ bedrooms?: (string | number)[] | undefined;
1754
+ price?: number | null | undefined;
1755
+ };
1756
+ }) => void;
1757
+ trackSubscriptionRemoved: (payload: {
1758
+ propertyId: string;
1514
1759
  propertySlug: string;
1760
+ propertyName: string;
1761
+ highlights?: string[] | undefined;
1762
+ bedrooms?: number[] | undefined;
1763
+ price_min?: number | undefined;
1764
+ price_max?: number | undefined;
1765
+ page_name?: string | undefined;
1766
+ }) => void;
1767
+ trackWebPageViewed: (payload: {
1515
1768
  propertyId: string;
1769
+ propertySlug: string;
1516
1770
  unitId: string;
1517
1771
  propertyName: string;
1518
1772
  unitName: string;
@@ -1522,8 +1776,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1522
1776
  pageName: string;
1523
1777
  }) => void;
1524
1778
  trackWebPageRoomViewed: (payload: {
1525
- propertySlug: string;
1526
1779
  propertyId: string;
1780
+ propertySlug: string;
1527
1781
  unitId: string;
1528
1782
  propertyName: string;
1529
1783
  unitName: string;
@@ -1533,14 +1787,27 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
1533
1787
  datestamp: string;
1534
1788
  }) => void;
1535
1789
  trackEmbedPageViewed: (payload: {
1536
- propertySlug: string;
1537
1790
  propertyId: string;
1791
+ propertySlug: string;
1538
1792
  unitId: string;
1539
1793
  propertyName: string;
1540
1794
  unitName: string;
1541
1795
  unitSlug: string;
1542
1796
  unitBedrooms: number;
1543
1797
  }) => void;
1798
+ trackEmailClick: (data: {
1799
+ event_name: string;
1800
+ }) => (payload: {
1801
+ propertyId: string;
1802
+ propertySlug: string;
1803
+ unitId: string;
1804
+ propertyName: string;
1805
+ unitName: string;
1806
+ unitSlug: string;
1807
+ utmSource: string;
1808
+ utmMedium: string;
1809
+ utmName: string;
1810
+ }) => void;
1544
1811
  };
1545
1812
  export declare function useTrackingEvents(): {
1546
1813
  trackViewAllUnits: (payload: AnalyticsPayload<typeof viewAllUnitsSchema>) => void;
@@ -1548,27 +1815,29 @@ export declare function useTrackingEvents(): {
1548
1815
  trackQuestionnaireContinue: (payload: AnalyticsPayloadWithout<typeof continueQuestionnaireEventSchema, "interactedElement">) => void;
1549
1816
  trackQuestionnaireBack: (payload: AnalyticsPayloadWithout<typeof questionnaireEventSchema, "interactedElement">) => void;
1550
1817
  trackClickUnit: (payload: {
1551
- propertySlug: string;
1552
1818
  propertyId: string;
1819
+ propertySlug: string;
1553
1820
  unitId: string;
1554
1821
  propertyName: string;
1555
1822
  unitName: string;
1556
1823
  unitSlug: string;
1557
1824
  favoritedUnit: boolean;
1825
+ unitIndex: number;
1558
1826
  }) => void;
1559
1827
  trackHoverUnit: (payload: {
1560
- propertySlug: string;
1561
1828
  propertyId: string;
1829
+ propertySlug: string;
1562
1830
  unitId: string;
1563
1831
  propertyName: string;
1564
1832
  unitName: string;
1565
1833
  unitSlug: string;
1566
1834
  favoritedUnit: boolean;
1835
+ unitIndex: number;
1567
1836
  }) => void;
1568
1837
  trackLoadMore: (payload: AnalyticsPayload<typeof loadMoreSchema>) => void;
1569
1838
  trackFilterOpened: (payload: {
1570
- propertySlug: string;
1571
1839
  propertyId: string;
1840
+ propertySlug: string;
1572
1841
  propertyName: string;
1573
1842
  filterIndex: number;
1574
1843
  filterLabel: string;
@@ -1576,16 +1845,16 @@ export declare function useTrackingEvents(): {
1576
1845
  filterName?: string | undefined;
1577
1846
  }) => void;
1578
1847
  trackFilterCanceled: (payload: {
1579
- propertySlug: string;
1580
1848
  propertyId: string;
1849
+ propertySlug: string;
1581
1850
  propertyName: string;
1582
1851
  filterIndex: number;
1583
1852
  filterLabel: string;
1584
1853
  selectedFiltersEnum?: any;
1585
1854
  }) => void;
1586
1855
  trackFilterApplied: (payload: {
1587
- propertySlug: string;
1588
1856
  propertyId: string;
1857
+ propertySlug: string;
1589
1858
  propertyName: string;
1590
1859
  filterIndex: number;
1591
1860
  filterLabel: string;
@@ -1593,41 +1862,43 @@ export declare function useTrackingEvents(): {
1593
1862
  }) => void;
1594
1863
  trackOpenSort: (payload: AnalyticsPayload<typeof sortOpenSchema>) => void;
1595
1864
  trackSelectSort: (payload: {
1596
- propertySlug: string;
1597
1865
  propertyId: string;
1866
+ propertySlug: string;
1598
1867
  propertyName: string;
1599
1868
  sortIndex: number;
1600
1869
  sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
1601
1870
  }) => void;
1602
1871
  trackCancelSort: (payload: {
1603
- propertySlug: string;
1604
1872
  propertyId: string;
1873
+ propertySlug: string;
1605
1874
  propertyName: string;
1606
1875
  sortIndex: number;
1607
1876
  sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
1608
1877
  }) => void;
1609
1878
  trackClickUnitFavorites: (payload: {
1610
- propertySlug: string;
1611
1879
  propertyId: string;
1880
+ propertySlug: string;
1612
1881
  unitId: string;
1613
1882
  propertyName: string;
1614
1883
  unitName: string;
1615
1884
  unitSlug: string;
1616
1885
  favoritedUnit: boolean;
1886
+ unitIndex: number;
1617
1887
  }) => void;
1618
1888
  trackUnitUnfavorited: (payload: {
1619
- propertySlug: string;
1620
1889
  propertyId: string;
1890
+ propertySlug: string;
1621
1891
  unitId: string;
1622
1892
  propertyName: string;
1623
1893
  resultsUnitCount: number;
1624
1894
  unitName: string;
1625
1895
  unitSlug: string;
1896
+ unitIndex: number;
1626
1897
  unitCountDate?: string | undefined;
1627
1898
  }) => void;
1628
1899
  trackQuestionnaireResult: (payload: {
1629
- propertySlug: string;
1630
1900
  propertyId: string;
1901
+ propertySlug: string;
1631
1902
  propertyName: string;
1632
1903
  fullQuestionnaireSchemaJson?: unknown;
1633
1904
  resultsJson?: {
@@ -1640,8 +1911,8 @@ export declare function useTrackingEvents(): {
1640
1911
  } | undefined;
1641
1912
  }) => void;
1642
1913
  trackScheduleTourFormInteracted: (payload: {
1643
- propertySlug: string;
1644
1914
  propertyId: string;
1915
+ propertySlug: string;
1645
1916
  propertyName: string;
1646
1917
  totalUnitsAvailable: number;
1647
1918
  resultsUnitCount: number;
@@ -1649,8 +1920,8 @@ export declare function useTrackingEvents(): {
1649
1920
  lifestylePreferences?: unknown;
1650
1921
  }) => void;
1651
1922
  trackScheduleTourFormSubmitted: (payload: {
1652
- propertySlug: string;
1653
1923
  propertyId: string;
1924
+ propertySlug: string;
1654
1925
  propertyName: string;
1655
1926
  totalUnitsAvailable: number;
1656
1927
  resultsUnitCount: number;
@@ -1658,8 +1929,8 @@ export declare function useTrackingEvents(): {
1658
1929
  lifestylePreferences?: unknown;
1659
1930
  }) => void;
1660
1931
  trackScheduleTourUrlClicked: (payload: {
1661
- propertySlug: string;
1662
1932
  propertyId: string;
1933
+ propertySlug: string;
1663
1934
  propertyName: string;
1664
1935
  totalUnitsAvailable: number;
1665
1936
  resultsUnitCount: number;
@@ -1667,8 +1938,8 @@ export declare function useTrackingEvents(): {
1667
1938
  lifestylePreferences?: unknown;
1668
1939
  }) => void;
1669
1940
  trackGetInTouchFormOpened: (payload: {
1670
- propertySlug: string;
1671
1941
  propertyId: string;
1942
+ propertySlug: string;
1672
1943
  unitId: string;
1673
1944
  styleId: string;
1674
1945
  propertyName: string;
@@ -1681,8 +1952,8 @@ export declare function useTrackingEvents(): {
1681
1952
  favoritedUnit: boolean;
1682
1953
  }) => void;
1683
1954
  trackGetInTouchFormSubmitted: (payload: {
1684
- propertySlug: string;
1685
1955
  propertyId: string;
1956
+ propertySlug: string;
1686
1957
  unitId: string;
1687
1958
  styleId: string;
1688
1959
  propertyName: string;
@@ -1695,8 +1966,8 @@ export declare function useTrackingEvents(): {
1695
1966
  favoritedUnit: boolean;
1696
1967
  }) => void;
1697
1968
  trackStyleDrawerOpened: (payload: {
1698
- propertySlug: string;
1699
1969
  propertyId: string;
1970
+ propertySlug: string;
1700
1971
  unitId: string;
1701
1972
  styleId: string;
1702
1973
  propertyName: string;
@@ -1708,8 +1979,8 @@ export declare function useTrackingEvents(): {
1708
1979
  roomName: string;
1709
1980
  }) => void;
1710
1981
  trackStyleDrawerChanged: (payload: {
1711
- propertySlug: string;
1712
1982
  propertyId: string;
1983
+ propertySlug: string;
1713
1984
  unitId: string;
1714
1985
  styleId: string;
1715
1986
  propertyName: string;
@@ -1721,8 +1992,8 @@ export declare function useTrackingEvents(): {
1721
1992
  roomName: string;
1722
1993
  }) => void;
1723
1994
  trackOpeningStyleImpression: (payload: {
1724
- propertySlug: string;
1725
1995
  propertyId: string;
1996
+ propertySlug: string;
1726
1997
  unitId: string;
1727
1998
  styleId: string;
1728
1999
  propertyName: string;
@@ -1734,8 +2005,8 @@ export declare function useTrackingEvents(): {
1734
2005
  roomName: string;
1735
2006
  }) => void;
1736
2007
  trackOpeningStyleSlected: (payload: {
1737
- propertySlug: string;
1738
2008
  propertyId: string;
2009
+ propertySlug: string;
1739
2010
  unitId: string;
1740
2011
  styleId: string;
1741
2012
  propertyName: string;
@@ -1748,10 +2019,10 @@ export declare function useTrackingEvents(): {
1748
2019
  }) => void;
1749
2020
  trackFurnitureViewed: (payload: {
1750
2021
  type: "click" | "hover_on" | "hover_off";
1751
- propertySlug: string;
1752
2022
  propertyId: string;
1753
- unitId: string;
2023
+ propertySlug: string;
1754
2024
  furnitureId: string;
2025
+ unitId: string;
1755
2026
  styleId: string;
1756
2027
  propertyName: string;
1757
2028
  unitName: string;
@@ -1763,11 +2034,11 @@ export declare function useTrackingEvents(): {
1763
2034
  }) => void;
1764
2035
  trackFurnitureExternalUrlClicked: (payload: {
1765
2036
  type: string;
1766
- propertySlug: string;
1767
2037
  propertyId: string;
1768
- unitId: string;
1769
2038
  link: string;
2039
+ propertySlug: string;
1770
2040
  furnitureId: string;
2041
+ unitId: string;
1771
2042
  styleId: string;
1772
2043
  propertyName: string;
1773
2044
  unitName: string;
@@ -1779,10 +2050,10 @@ export declare function useTrackingEvents(): {
1779
2050
  furnitureName: string;
1780
2051
  }) => void;
1781
2052
  trackFurnitureSaved: (payload: {
1782
- propertySlug: string;
1783
2053
  propertyId: string;
1784
- unitId: string;
2054
+ propertySlug: string;
1785
2055
  furnitureId: string;
2056
+ unitId: string;
1786
2057
  styleId: string;
1787
2058
  propertyName: string;
1788
2059
  unitName: string;
@@ -1793,10 +2064,10 @@ export declare function useTrackingEvents(): {
1793
2064
  furnitureName: string;
1794
2065
  }) => void;
1795
2066
  trackFurnitureModalOpened: (payload: {
1796
- propertySlug: string;
1797
2067
  propertyId: string;
1798
- unitId: string;
2068
+ propertySlug: string;
1799
2069
  furnitureId: string;
2070
+ unitId: string;
1800
2071
  styleId: string;
1801
2072
  propertyName: string;
1802
2073
  unitName: string;
@@ -1807,10 +2078,10 @@ export declare function useTrackingEvents(): {
1807
2078
  furnitureName: string;
1808
2079
  }) => void;
1809
2080
  trackFurnitureCarouselToggled: (payload: {
1810
- propertySlug: string;
1811
2081
  propertyId: string;
1812
- unitId: string;
2082
+ propertySlug: string;
1813
2083
  furnitureId: string;
2084
+ unitId: string;
1814
2085
  styleId: string;
1815
2086
  propertyName: string;
1816
2087
  unitName: string;
@@ -1822,8 +2093,8 @@ export declare function useTrackingEvents(): {
1822
2093
  method: "Prev" | "Next";
1823
2094
  }) => void;
1824
2095
  trackRoomEntered: (payload: {
1825
- propertySlug: string;
1826
2096
  propertyId: string;
2097
+ propertySlug: string;
1827
2098
  unitId: string;
1828
2099
  styleId: string;
1829
2100
  propertyName: string;
@@ -1835,8 +2106,8 @@ export declare function useTrackingEvents(): {
1835
2106
  method: "Navigation" | "Map";
1836
2107
  }) => void;
1837
2108
  trackRoomLeft: (payload: {
1838
- propertySlug: string;
1839
2109
  propertyId: string;
2110
+ propertySlug: string;
1840
2111
  unitId: string;
1841
2112
  styleId: string;
1842
2113
  propertyName: string;
@@ -1849,8 +2120,8 @@ export declare function useTrackingEvents(): {
1849
2120
  timeInRoom: number;
1850
2121
  }) => void;
1851
2122
  trackVideoStarted: (payload: {
1852
- propertySlug: string;
1853
2123
  propertyId: string;
2124
+ propertySlug: string;
1854
2125
  unitId: string;
1855
2126
  styleId: string;
1856
2127
  propertyName: string;
@@ -1866,8 +2137,8 @@ export declare function useTrackingEvents(): {
1866
2137
  videoFilename: string;
1867
2138
  }) => void;
1868
2139
  trackEmailRedirect: (payload: {
1869
- propertySlug: string;
1870
2140
  propertyId: string;
2141
+ propertySlug: string;
1871
2142
  unitId: string;
1872
2143
  styleId: string;
1873
2144
  propertyName: string;
@@ -1881,8 +2152,8 @@ export declare function useTrackingEvents(): {
1881
2152
  utmName: string;
1882
2153
  }) => void;
1883
2154
  trackToastImpression: (payload: {
1884
- propertySlug: string;
1885
2155
  propertyId: string;
2156
+ propertySlug: string;
1886
2157
  unitId: string;
1887
2158
  propertyName: string;
1888
2159
  unitName: string;
@@ -1890,8 +2161,8 @@ export declare function useTrackingEvents(): {
1890
2161
  toastCopy: string;
1891
2162
  }) => void;
1892
2163
  trackToastClicked: (payload: {
1893
- propertySlug: string;
1894
2164
  propertyId: string;
2165
+ propertySlug: string;
1895
2166
  unitId: string;
1896
2167
  propertyName: string;
1897
2168
  unitName: string;
@@ -1899,8 +2170,8 @@ export declare function useTrackingEvents(): {
1899
2170
  toastCopy: string;
1900
2171
  }) => void;
1901
2172
  trackToastClosed: (payload: {
1902
- propertySlug: string;
1903
2173
  propertyId: string;
2174
+ propertySlug: string;
1904
2175
  unitId: string;
1905
2176
  propertyName: string;
1906
2177
  unitName: string;
@@ -1908,8 +2179,8 @@ export declare function useTrackingEvents(): {
1908
2179
  toastCopy: string;
1909
2180
  }) => void;
1910
2181
  trackContentModalOpened: (payload: {
1911
- propertySlug: string;
1912
2182
  propertyId: string;
2183
+ propertySlug: string;
1913
2184
  unitId: string;
1914
2185
  styleId: string;
1915
2186
  propertyName: string;
@@ -1919,13 +2190,58 @@ export declare function useTrackingEvents(): {
1919
2190
  unitBedrooms: number;
1920
2191
  }) => void;
1921
2192
  trackBuildingDetailsModalOpened: (payload: {
2193
+ propertyId: string;
1922
2194
  propertySlug: string;
2195
+ propertyName: string;
2196
+ }) => void;
2197
+ trackSubscriptionImpression: (payload: {
2198
+ name: string;
1923
2199
  propertyId: string;
2200
+ propertySlug: string;
1924
2201
  propertyName: string;
1925
2202
  }) => void;
1926
- trackWebPageViewed: (payload: {
2203
+ trackSubscriptionInteracted: (payload: {
2204
+ name: string;
2205
+ properties: {
2206
+ buttonName: string;
2207
+ formName: string;
2208
+ pageName: string;
2209
+ propertyContextSchema: {
2210
+ propertyId: string;
2211
+ propertySlug: string;
2212
+ propertyName: string;
2213
+ };
2214
+ fieldName: string;
2215
+ };
2216
+ }) => void;
2217
+ trackSubscriptionSubmitted: (payload: {
2218
+ name: string;
2219
+ properties: {
2220
+ buttonName: string;
2221
+ formName: string;
2222
+ pageName: string;
2223
+ propertyContextSchema: {
2224
+ propertyId: string;
2225
+ propertySlug: string;
2226
+ propertyName: string;
2227
+ };
2228
+ bedrooms?: (string | number)[] | undefined;
2229
+ price?: number | null | undefined;
2230
+ };
2231
+ }) => void;
2232
+ trackSubscriptionRemoved: (payload: {
2233
+ propertyId: string;
1927
2234
  propertySlug: string;
2235
+ propertyName: string;
2236
+ highlights?: string[] | undefined;
2237
+ bedrooms?: number[] | undefined;
2238
+ price_min?: number | undefined;
2239
+ price_max?: number | undefined;
2240
+ page_name?: string | undefined;
2241
+ }) => void;
2242
+ trackWebPageViewed: (payload: {
1928
2243
  propertyId: string;
2244
+ propertySlug: string;
1929
2245
  unitId: string;
1930
2246
  propertyName: string;
1931
2247
  unitName: string;
@@ -1935,8 +2251,8 @@ export declare function useTrackingEvents(): {
1935
2251
  pageName: string;
1936
2252
  }) => void;
1937
2253
  trackWebPageRoomViewed: (payload: {
1938
- propertySlug: string;
1939
2254
  propertyId: string;
2255
+ propertySlug: string;
1940
2256
  unitId: string;
1941
2257
  propertyName: string;
1942
2258
  unitName: string;
@@ -1946,13 +2262,26 @@ export declare function useTrackingEvents(): {
1946
2262
  datestamp: string;
1947
2263
  }) => void;
1948
2264
  trackEmbedPageViewed: (payload: {
1949
- propertySlug: string;
1950
2265
  propertyId: string;
2266
+ propertySlug: string;
1951
2267
  unitId: string;
1952
2268
  propertyName: string;
1953
2269
  unitName: string;
1954
2270
  unitSlug: string;
1955
2271
  unitBedrooms: number;
1956
2272
  }) => void;
2273
+ trackEmailClick: (data: {
2274
+ event_name: string;
2275
+ }) => (payload: {
2276
+ propertyId: string;
2277
+ propertySlug: string;
2278
+ unitId: string;
2279
+ propertyName: string;
2280
+ unitName: string;
2281
+ unitSlug: string;
2282
+ utmSource: string;
2283
+ utmMedium: string;
2284
+ utmName: string;
2285
+ }) => void;
1957
2286
  };
1958
2287
  export {};