@superbright/indexeddb-orm 1.0.32 → 1.0.34
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/README.md +44 -359
- package/dist/adapters/dexie.cjs +1 -1
- package/dist/adapters/dexie.cjs.map +1 -1
- package/dist/adapters/dexie.d.ts +3 -4
- package/dist/adapters/dexie.mjs +6 -9
- package/dist/adapters/dexie.mjs.map +1 -1
- package/dist/adapters/zustand-store.cjs +1 -1
- package/dist/adapters/zustand-store.cjs.map +1 -1
- package/dist/adapters/zustand-store.d.ts +20 -41
- package/dist/adapters/zustand-store.mjs +34 -194
- package/dist/adapters/zustand-store.mjs.map +1 -1
- package/dist/base/index.d.ts +0 -1
- package/dist/base/visitorquestionnaire.d.ts +2 -2
- package/dist/db.cjs +1 -1
- package/dist/db.cjs.map +1 -1
- package/dist/db.mjs +57 -75
- package/dist/db.mjs.map +1 -1
- package/dist/features/analytics/AnalyticsProvider.cjs +1 -1
- package/dist/features/analytics/AnalyticsProvider.cjs.map +1 -1
- package/dist/features/analytics/AnalyticsProvider.d.ts +1 -0
- package/dist/features/analytics/AnalyticsProvider.mjs +63 -59
- package/dist/features/analytics/AnalyticsProvider.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 +157 -157
- package/dist/features/analytics/analytics.mjs +190 -158
- package/dist/features/analytics/analytics.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.mjs +92 -107
- package/dist/index.mjs.map +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.ts +1 -2088
- package/dist/schema.mjs +105 -161
- package/dist/schema.mjs.map +1 -1
- package/dist/stores/store.cjs +1 -1
- package/dist/stores/store.cjs.map +1 -1
- package/dist/stores/store.d.ts +7 -158
- package/dist/stores/store.mjs +13 -427
- package/dist/stores/store.mjs.map +1 -1
- package/dist/utils/casing.cjs +1 -1
- package/dist/utils/casing.cjs.map +1 -1
- package/dist/utils/casing.d.ts +0 -4
- package/dist/utils/casing.mjs +1 -4
- package/dist/utils/casing.mjs.map +1 -1
- package/dist/validation.cjs +1 -1
- package/dist/validation.cjs.map +1 -1
- package/dist/validation.d.ts +0 -2
- package/dist/validation.mjs +3 -14
- package/dist/validation.mjs.map +1 -1
- package/package.json +5 -1
- package/dist/adapters/structured-store.cjs +0 -2
- package/dist/adapters/structured-store.cjs.map +0 -1
- package/dist/adapters/structured-store.d.ts +0 -45
- package/dist/adapters/structured-store.mjs +0 -51
- package/dist/adapters/structured-store.mjs.map +0 -1
- package/dist/base/favoriteunit.cjs +0 -2
- package/dist/base/favoriteunit.cjs.map +0 -1
- package/dist/base/favoriteunit.d.ts +0 -14
- package/dist/base/favoriteunit.mjs +0 -10
- 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,12 +810,12 @@ declare const buildingDetailsModalSchema: z.ZodObject<{
|
|
|
810
810
|
} & {
|
|
811
811
|
propertyName: z.ZodString;
|
|
812
812
|
}, "strip", z.ZodTypeAny, {
|
|
813
|
-
propertySlug: string;
|
|
814
813
|
propertyId: string;
|
|
814
|
+
propertySlug: string;
|
|
815
815
|
propertyName: string;
|
|
816
816
|
}, {
|
|
817
|
-
propertySlug: string;
|
|
818
817
|
propertyId: string;
|
|
818
|
+
propertySlug: string;
|
|
819
819
|
propertyName: string;
|
|
820
820
|
}>;
|
|
821
821
|
declare const hoverUnitSchema: z.ZodObject<{
|
|
@@ -830,16 +830,16 @@ declare const hoverUnitSchema: z.ZodObject<{
|
|
|
830
830
|
} & {
|
|
831
831
|
favoritedUnit: z.ZodBoolean;
|
|
832
832
|
}, "strip", z.ZodTypeAny, {
|
|
833
|
-
propertySlug: string;
|
|
834
833
|
propertyId: string;
|
|
834
|
+
propertySlug: string;
|
|
835
835
|
unitId: string;
|
|
836
836
|
propertyName: string;
|
|
837
837
|
unitName: string;
|
|
838
838
|
unitSlug: string;
|
|
839
839
|
favoritedUnit: boolean;
|
|
840
840
|
}, {
|
|
841
|
-
propertySlug: string;
|
|
842
841
|
propertyId: string;
|
|
842
|
+
propertySlug: string;
|
|
843
843
|
unitId: string;
|
|
844
844
|
propertyName: string;
|
|
845
845
|
unitName: string;
|
|
@@ -857,16 +857,16 @@ declare const filterOpenSchema: z.ZodObject<{
|
|
|
857
857
|
selectedFiltersEnum: z.ZodEffects<z.ZodEffects<z.ZodAny, string[], any>, string[], any>;
|
|
858
858
|
filterName: z.ZodOptional<z.ZodString>;
|
|
859
859
|
}, "strip", z.ZodTypeAny, {
|
|
860
|
-
propertySlug: string;
|
|
861
860
|
propertyId: string;
|
|
861
|
+
propertySlug: string;
|
|
862
862
|
propertyName: string;
|
|
863
863
|
filterIndex: number;
|
|
864
864
|
filterLabel: string;
|
|
865
865
|
selectedFiltersEnum: string[];
|
|
866
866
|
filterName?: string | undefined;
|
|
867
867
|
}, {
|
|
868
|
-
propertySlug: string;
|
|
869
868
|
propertyId: string;
|
|
869
|
+
propertySlug: string;
|
|
870
870
|
propertyName: string;
|
|
871
871
|
filterIndex: number;
|
|
872
872
|
filterLabel: string;
|
|
@@ -883,15 +883,15 @@ declare const filterMutationSchema: z.ZodObject<{
|
|
|
883
883
|
filterLabel: z.ZodString;
|
|
884
884
|
selectedFiltersEnum: z.ZodEffects<z.ZodEffects<z.ZodAny, string[], any>, string[], any>;
|
|
885
885
|
}, "strip", z.ZodTypeAny, {
|
|
886
|
-
propertySlug: string;
|
|
887
886
|
propertyId: string;
|
|
887
|
+
propertySlug: string;
|
|
888
888
|
propertyName: string;
|
|
889
889
|
filterIndex: number;
|
|
890
890
|
filterLabel: string;
|
|
891
891
|
selectedFiltersEnum: string[];
|
|
892
892
|
}, {
|
|
893
|
-
propertySlug: string;
|
|
894
893
|
propertyId: string;
|
|
894
|
+
propertySlug: string;
|
|
895
895
|
propertyName: string;
|
|
896
896
|
filterIndex: number;
|
|
897
897
|
filterLabel: string;
|
|
@@ -905,14 +905,14 @@ declare const sortEventSchema: z.ZodObject<{
|
|
|
905
905
|
sortIndex: z.ZodNumber;
|
|
906
906
|
sortEnum: z.ZodEnum<["cost_low_to_high", "cost_high_to_low", "newest", "relevance"]>;
|
|
907
907
|
}, "strip", z.ZodTypeAny, {
|
|
908
|
-
propertySlug: string;
|
|
909
908
|
propertyId: string;
|
|
909
|
+
propertySlug: string;
|
|
910
910
|
propertyName: string;
|
|
911
911
|
sortIndex: number;
|
|
912
912
|
sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
|
|
913
913
|
}, {
|
|
914
|
-
propertySlug: string;
|
|
915
914
|
propertyId: string;
|
|
915
|
+
propertySlug: string;
|
|
916
916
|
propertyName: string;
|
|
917
917
|
sortIndex: number;
|
|
918
918
|
sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
|
|
@@ -928,16 +928,16 @@ declare const sortOpenSchema: z.ZodObject<{
|
|
|
928
928
|
resultsUnitCount: z.ZodNumber;
|
|
929
929
|
unitCountDate: z.ZodOptional<z.ZodString>;
|
|
930
930
|
}, "strip", z.ZodTypeAny, {
|
|
931
|
-
propertySlug: string;
|
|
932
931
|
propertyId: string;
|
|
932
|
+
propertySlug: string;
|
|
933
933
|
propertyName: string;
|
|
934
934
|
resultsUnitCount: number;
|
|
935
935
|
sortIndex: number;
|
|
936
936
|
sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
|
|
937
937
|
unitCountDate?: string | undefined;
|
|
938
938
|
}, {
|
|
939
|
-
propertySlug: string;
|
|
940
939
|
propertyId: string;
|
|
940
|
+
propertySlug: string;
|
|
941
941
|
propertyName: string;
|
|
942
942
|
resultsUnitCount: number;
|
|
943
943
|
sortIndex: number;
|
|
@@ -979,8 +979,8 @@ declare const questionnaireResultSchema: z.ZodObject<{
|
|
|
979
979
|
total?: number | undefined;
|
|
980
980
|
}>>;
|
|
981
981
|
}, "strip", z.ZodTypeAny, {
|
|
982
|
-
propertySlug: string;
|
|
983
982
|
propertyId: string;
|
|
983
|
+
propertySlug: string;
|
|
984
984
|
propertyName: string;
|
|
985
985
|
fullQuestionnaireSchemaJson?: unknown;
|
|
986
986
|
resultsJson?: {
|
|
@@ -992,8 +992,8 @@ declare const questionnaireResultSchema: z.ZodObject<{
|
|
|
992
992
|
total?: number | undefined;
|
|
993
993
|
} | undefined;
|
|
994
994
|
}, {
|
|
995
|
-
propertySlug: string;
|
|
996
995
|
propertyId: string;
|
|
996
|
+
propertySlug: string;
|
|
997
997
|
propertyName: string;
|
|
998
998
|
fullQuestionnaireSchemaJson?: unknown;
|
|
999
999
|
resultsJson?: {
|
|
@@ -1017,16 +1017,16 @@ declare const clickUnitSchema: z.ZodObject<{
|
|
|
1017
1017
|
} & {
|
|
1018
1018
|
favoritedUnit: z.ZodBoolean;
|
|
1019
1019
|
}, "strip", z.ZodTypeAny, {
|
|
1020
|
-
propertySlug: string;
|
|
1021
1020
|
propertyId: string;
|
|
1021
|
+
propertySlug: string;
|
|
1022
1022
|
unitId: string;
|
|
1023
1023
|
propertyName: string;
|
|
1024
1024
|
unitName: string;
|
|
1025
1025
|
unitSlug: string;
|
|
1026
1026
|
favoritedUnit: boolean;
|
|
1027
1027
|
}, {
|
|
1028
|
-
propertySlug: string;
|
|
1029
1028
|
propertyId: string;
|
|
1029
|
+
propertySlug: string;
|
|
1030
1030
|
unitId: string;
|
|
1031
1031
|
propertyName: string;
|
|
1032
1032
|
unitName: string;
|
|
@@ -1045,16 +1045,16 @@ declare const clickUnitFavoritesSchema: z.ZodObject<{
|
|
|
1045
1045
|
} & {
|
|
1046
1046
|
favoritedUnit: z.ZodBoolean;
|
|
1047
1047
|
}, "strip", z.ZodTypeAny, {
|
|
1048
|
-
propertySlug: string;
|
|
1049
1048
|
propertyId: string;
|
|
1049
|
+
propertySlug: string;
|
|
1050
1050
|
unitId: string;
|
|
1051
1051
|
propertyName: string;
|
|
1052
1052
|
unitName: string;
|
|
1053
1053
|
unitSlug: string;
|
|
1054
1054
|
favoritedUnit: boolean;
|
|
1055
1055
|
}, {
|
|
1056
|
-
propertySlug: string;
|
|
1057
1056
|
propertyId: string;
|
|
1057
|
+
propertySlug: string;
|
|
1058
1058
|
unitId: string;
|
|
1059
1059
|
propertyName: string;
|
|
1060
1060
|
unitName: string;
|
|
@@ -1073,8 +1073,8 @@ declare const unitUnfavoritedSchema: z.ZodObject<{
|
|
|
1073
1073
|
resultsUnitCount: z.ZodNumber;
|
|
1074
1074
|
unitCountDate: z.ZodOptional<z.ZodString>;
|
|
1075
1075
|
}, "strip", z.ZodTypeAny, {
|
|
1076
|
-
propertySlug: string;
|
|
1077
1076
|
propertyId: string;
|
|
1077
|
+
propertySlug: string;
|
|
1078
1078
|
unitId: string;
|
|
1079
1079
|
propertyName: string;
|
|
1080
1080
|
resultsUnitCount: number;
|
|
@@ -1082,8 +1082,8 @@ declare const unitUnfavoritedSchema: z.ZodObject<{
|
|
|
1082
1082
|
unitSlug: string;
|
|
1083
1083
|
unitCountDate?: string | undefined;
|
|
1084
1084
|
}, {
|
|
1085
|
-
propertySlug: string;
|
|
1086
1085
|
propertyId: string;
|
|
1086
|
+
propertySlug: string;
|
|
1087
1087
|
unitId: string;
|
|
1088
1088
|
propertyName: string;
|
|
1089
1089
|
resultsUnitCount: number;
|
|
@@ -1129,14 +1129,14 @@ export type TrackingEventWithUnits = FilterEvent & {
|
|
|
1129
1129
|
};
|
|
1130
1130
|
export type TrackEventFn = (eventName: string, data?: Record<string, any>) => void;
|
|
1131
1131
|
export declare function useTrackEvent(): (eventName: string, data?: Record<string, any>) => void;
|
|
1132
|
-
export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
1132
|
+
export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: boolean): {
|
|
1133
1133
|
trackViewAllUnits: (payload: AnalyticsPayload<typeof viewAllUnitsSchema>) => void;
|
|
1134
1134
|
trackQuestionnaireSkip: (payload: AnalyticsPayloadWithout<typeof questionnaireEventSchema, "interactedElement">) => void;
|
|
1135
1135
|
trackQuestionnaireContinue: (payload: AnalyticsPayloadWithout<typeof continueQuestionnaireEventSchema, "interactedElement">) => void;
|
|
1136
1136
|
trackQuestionnaireBack: (payload: AnalyticsPayloadWithout<typeof questionnaireEventSchema, "interactedElement">) => void;
|
|
1137
1137
|
trackClickUnit: (payload: {
|
|
1138
|
-
propertySlug: string;
|
|
1139
1138
|
propertyId: string;
|
|
1139
|
+
propertySlug: string;
|
|
1140
1140
|
unitId: string;
|
|
1141
1141
|
propertyName: string;
|
|
1142
1142
|
unitName: string;
|
|
@@ -1144,8 +1144,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1144
1144
|
favoritedUnit: boolean;
|
|
1145
1145
|
}) => void;
|
|
1146
1146
|
trackHoverUnit: (payload: {
|
|
1147
|
-
propertySlug: string;
|
|
1148
1147
|
propertyId: string;
|
|
1148
|
+
propertySlug: string;
|
|
1149
1149
|
unitId: string;
|
|
1150
1150
|
propertyName: string;
|
|
1151
1151
|
unitName: string;
|
|
@@ -1154,8 +1154,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1154
1154
|
}) => void;
|
|
1155
1155
|
trackLoadMore: (payload: AnalyticsPayload<typeof loadMoreSchema>) => void;
|
|
1156
1156
|
trackFilterOpened: (payload: {
|
|
1157
|
-
propertySlug: string;
|
|
1158
1157
|
propertyId: string;
|
|
1158
|
+
propertySlug: string;
|
|
1159
1159
|
propertyName: string;
|
|
1160
1160
|
filterIndex: number;
|
|
1161
1161
|
filterLabel: string;
|
|
@@ -1163,16 +1163,16 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1163
1163
|
filterName?: string | undefined;
|
|
1164
1164
|
}) => void;
|
|
1165
1165
|
trackFilterCanceled: (payload: {
|
|
1166
|
-
propertySlug: string;
|
|
1167
1166
|
propertyId: string;
|
|
1167
|
+
propertySlug: string;
|
|
1168
1168
|
propertyName: string;
|
|
1169
1169
|
filterIndex: number;
|
|
1170
1170
|
filterLabel: string;
|
|
1171
1171
|
selectedFiltersEnum?: any;
|
|
1172
1172
|
}) => void;
|
|
1173
1173
|
trackFilterApplied: (payload: {
|
|
1174
|
-
propertySlug: string;
|
|
1175
1174
|
propertyId: string;
|
|
1175
|
+
propertySlug: string;
|
|
1176
1176
|
propertyName: string;
|
|
1177
1177
|
filterIndex: number;
|
|
1178
1178
|
filterLabel: string;
|
|
@@ -1180,22 +1180,22 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1180
1180
|
}) => void;
|
|
1181
1181
|
trackOpenSort: (payload: AnalyticsPayload<typeof sortOpenSchema>) => void;
|
|
1182
1182
|
trackSelectSort: (payload: {
|
|
1183
|
-
propertySlug: string;
|
|
1184
1183
|
propertyId: string;
|
|
1184
|
+
propertySlug: string;
|
|
1185
1185
|
propertyName: string;
|
|
1186
1186
|
sortIndex: number;
|
|
1187
1187
|
sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
|
|
1188
1188
|
}) => void;
|
|
1189
1189
|
trackCancelSort: (payload: {
|
|
1190
|
-
propertySlug: string;
|
|
1191
1190
|
propertyId: string;
|
|
1191
|
+
propertySlug: string;
|
|
1192
1192
|
propertyName: string;
|
|
1193
1193
|
sortIndex: number;
|
|
1194
1194
|
sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
|
|
1195
1195
|
}) => void;
|
|
1196
1196
|
trackClickUnitFavorites: (payload: {
|
|
1197
|
-
propertySlug: string;
|
|
1198
1197
|
propertyId: string;
|
|
1198
|
+
propertySlug: string;
|
|
1199
1199
|
unitId: string;
|
|
1200
1200
|
propertyName: string;
|
|
1201
1201
|
unitName: string;
|
|
@@ -1203,8 +1203,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1203
1203
|
favoritedUnit: boolean;
|
|
1204
1204
|
}) => void;
|
|
1205
1205
|
trackUnitUnfavorited: (payload: {
|
|
1206
|
-
propertySlug: string;
|
|
1207
1206
|
propertyId: string;
|
|
1207
|
+
propertySlug: string;
|
|
1208
1208
|
unitId: string;
|
|
1209
1209
|
propertyName: string;
|
|
1210
1210
|
resultsUnitCount: number;
|
|
@@ -1213,8 +1213,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1213
1213
|
unitCountDate?: string | undefined;
|
|
1214
1214
|
}) => void;
|
|
1215
1215
|
trackQuestionnaireResult: (payload: {
|
|
1216
|
-
propertySlug: string;
|
|
1217
1216
|
propertyId: string;
|
|
1217
|
+
propertySlug: string;
|
|
1218
1218
|
propertyName: string;
|
|
1219
1219
|
fullQuestionnaireSchemaJson?: unknown;
|
|
1220
1220
|
resultsJson?: {
|
|
@@ -1227,8 +1227,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1227
1227
|
} | undefined;
|
|
1228
1228
|
}) => void;
|
|
1229
1229
|
trackScheduleTourFormInteracted: (payload: {
|
|
1230
|
-
propertySlug: string;
|
|
1231
1230
|
propertyId: string;
|
|
1231
|
+
propertySlug: string;
|
|
1232
1232
|
propertyName: string;
|
|
1233
1233
|
totalUnitsAvailable: number;
|
|
1234
1234
|
resultsUnitCount: number;
|
|
@@ -1236,8 +1236,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1236
1236
|
lifestylePreferences?: unknown;
|
|
1237
1237
|
}) => void;
|
|
1238
1238
|
trackScheduleTourFormSubmitted: (payload: {
|
|
1239
|
-
propertySlug: string;
|
|
1240
1239
|
propertyId: string;
|
|
1240
|
+
propertySlug: string;
|
|
1241
1241
|
propertyName: string;
|
|
1242
1242
|
totalUnitsAvailable: number;
|
|
1243
1243
|
resultsUnitCount: number;
|
|
@@ -1245,8 +1245,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1245
1245
|
lifestylePreferences?: unknown;
|
|
1246
1246
|
}) => void;
|
|
1247
1247
|
trackScheduleTourUrlClicked: (payload: {
|
|
1248
|
-
propertySlug: string;
|
|
1249
1248
|
propertyId: string;
|
|
1249
|
+
propertySlug: string;
|
|
1250
1250
|
propertyName: string;
|
|
1251
1251
|
totalUnitsAvailable: number;
|
|
1252
1252
|
resultsUnitCount: number;
|
|
@@ -1254,8 +1254,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1254
1254
|
lifestylePreferences?: unknown;
|
|
1255
1255
|
}) => void;
|
|
1256
1256
|
trackGetInTouchFormOpened: (payload: {
|
|
1257
|
-
propertySlug: string;
|
|
1258
1257
|
propertyId: string;
|
|
1258
|
+
propertySlug: string;
|
|
1259
1259
|
unitId: string;
|
|
1260
1260
|
styleId: string;
|
|
1261
1261
|
propertyName: string;
|
|
@@ -1268,8 +1268,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1268
1268
|
favoritedUnit: boolean;
|
|
1269
1269
|
}) => void;
|
|
1270
1270
|
trackGetInTouchFormSubmitted: (payload: {
|
|
1271
|
-
propertySlug: string;
|
|
1272
1271
|
propertyId: string;
|
|
1272
|
+
propertySlug: string;
|
|
1273
1273
|
unitId: string;
|
|
1274
1274
|
styleId: string;
|
|
1275
1275
|
propertyName: string;
|
|
@@ -1282,8 +1282,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1282
1282
|
favoritedUnit: boolean;
|
|
1283
1283
|
}) => void;
|
|
1284
1284
|
trackStyleDrawerOpened: (payload: {
|
|
1285
|
-
propertySlug: string;
|
|
1286
1285
|
propertyId: string;
|
|
1286
|
+
propertySlug: string;
|
|
1287
1287
|
unitId: string;
|
|
1288
1288
|
styleId: string;
|
|
1289
1289
|
propertyName: string;
|
|
@@ -1295,8 +1295,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1295
1295
|
roomName: string;
|
|
1296
1296
|
}) => void;
|
|
1297
1297
|
trackStyleDrawerChanged: (payload: {
|
|
1298
|
-
propertySlug: string;
|
|
1299
1298
|
propertyId: string;
|
|
1299
|
+
propertySlug: string;
|
|
1300
1300
|
unitId: string;
|
|
1301
1301
|
styleId: string;
|
|
1302
1302
|
propertyName: string;
|
|
@@ -1308,8 +1308,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1308
1308
|
roomName: string;
|
|
1309
1309
|
}) => void;
|
|
1310
1310
|
trackOpeningStyleImpression: (payload: {
|
|
1311
|
-
propertySlug: string;
|
|
1312
1311
|
propertyId: string;
|
|
1312
|
+
propertySlug: string;
|
|
1313
1313
|
unitId: string;
|
|
1314
1314
|
styleId: string;
|
|
1315
1315
|
propertyName: string;
|
|
@@ -1321,8 +1321,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1321
1321
|
roomName: string;
|
|
1322
1322
|
}) => void;
|
|
1323
1323
|
trackOpeningStyleSlected: (payload: {
|
|
1324
|
-
propertySlug: string;
|
|
1325
1324
|
propertyId: string;
|
|
1325
|
+
propertySlug: string;
|
|
1326
1326
|
unitId: string;
|
|
1327
1327
|
styleId: string;
|
|
1328
1328
|
propertyName: string;
|
|
@@ -1335,10 +1335,10 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1335
1335
|
}) => void;
|
|
1336
1336
|
trackFurnitureViewed: (payload: {
|
|
1337
1337
|
type: "click" | "hover_on" | "hover_off";
|
|
1338
|
-
propertySlug: string;
|
|
1339
1338
|
propertyId: string;
|
|
1340
|
-
|
|
1339
|
+
propertySlug: string;
|
|
1341
1340
|
furnitureId: string;
|
|
1341
|
+
unitId: string;
|
|
1342
1342
|
styleId: string;
|
|
1343
1343
|
propertyName: string;
|
|
1344
1344
|
unitName: string;
|
|
@@ -1350,11 +1350,11 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1350
1350
|
}) => void;
|
|
1351
1351
|
trackFurnitureExternalUrlClicked: (payload: {
|
|
1352
1352
|
type: string;
|
|
1353
|
-
propertySlug: string;
|
|
1354
1353
|
propertyId: string;
|
|
1355
|
-
unitId: string;
|
|
1356
1354
|
link: string;
|
|
1355
|
+
propertySlug: string;
|
|
1357
1356
|
furnitureId: string;
|
|
1357
|
+
unitId: string;
|
|
1358
1358
|
styleId: string;
|
|
1359
1359
|
propertyName: string;
|
|
1360
1360
|
unitName: string;
|
|
@@ -1366,10 +1366,10 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1366
1366
|
furnitureName: string;
|
|
1367
1367
|
}) => void;
|
|
1368
1368
|
trackFurnitureSaved: (payload: {
|
|
1369
|
-
propertySlug: string;
|
|
1370
1369
|
propertyId: string;
|
|
1371
|
-
|
|
1370
|
+
propertySlug: string;
|
|
1372
1371
|
furnitureId: string;
|
|
1372
|
+
unitId: string;
|
|
1373
1373
|
styleId: string;
|
|
1374
1374
|
propertyName: string;
|
|
1375
1375
|
unitName: string;
|
|
@@ -1380,10 +1380,10 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1380
1380
|
furnitureName: string;
|
|
1381
1381
|
}) => void;
|
|
1382
1382
|
trackFurnitureModalOpened: (payload: {
|
|
1383
|
-
propertySlug: string;
|
|
1384
1383
|
propertyId: string;
|
|
1385
|
-
|
|
1384
|
+
propertySlug: string;
|
|
1386
1385
|
furnitureId: string;
|
|
1386
|
+
unitId: string;
|
|
1387
1387
|
styleId: string;
|
|
1388
1388
|
propertyName: string;
|
|
1389
1389
|
unitName: string;
|
|
@@ -1394,10 +1394,10 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1394
1394
|
furnitureName: string;
|
|
1395
1395
|
}) => void;
|
|
1396
1396
|
trackFurnitureCarouselToggled: (payload: {
|
|
1397
|
-
propertySlug: string;
|
|
1398
1397
|
propertyId: string;
|
|
1399
|
-
|
|
1398
|
+
propertySlug: string;
|
|
1400
1399
|
furnitureId: string;
|
|
1400
|
+
unitId: string;
|
|
1401
1401
|
styleId: string;
|
|
1402
1402
|
propertyName: string;
|
|
1403
1403
|
unitName: string;
|
|
@@ -1409,8 +1409,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1409
1409
|
method: "Prev" | "Next";
|
|
1410
1410
|
}) => void;
|
|
1411
1411
|
trackRoomEntered: (payload: {
|
|
1412
|
-
propertySlug: string;
|
|
1413
1412
|
propertyId: string;
|
|
1413
|
+
propertySlug: string;
|
|
1414
1414
|
unitId: string;
|
|
1415
1415
|
styleId: string;
|
|
1416
1416
|
propertyName: string;
|
|
@@ -1422,8 +1422,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1422
1422
|
method: "Navigation" | "Map";
|
|
1423
1423
|
}) => void;
|
|
1424
1424
|
trackRoomLeft: (payload: {
|
|
1425
|
-
propertySlug: string;
|
|
1426
1425
|
propertyId: string;
|
|
1426
|
+
propertySlug: string;
|
|
1427
1427
|
unitId: string;
|
|
1428
1428
|
styleId: string;
|
|
1429
1429
|
propertyName: string;
|
|
@@ -1436,8 +1436,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1436
1436
|
timeInRoom: number;
|
|
1437
1437
|
}) => void;
|
|
1438
1438
|
trackVideoStarted: (payload: {
|
|
1439
|
-
propertySlug: string;
|
|
1440
1439
|
propertyId: string;
|
|
1440
|
+
propertySlug: string;
|
|
1441
1441
|
unitId: string;
|
|
1442
1442
|
styleId: string;
|
|
1443
1443
|
propertyName: string;
|
|
@@ -1453,8 +1453,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1453
1453
|
videoFilename: string;
|
|
1454
1454
|
}) => void;
|
|
1455
1455
|
trackEmailRedirect: (payload: {
|
|
1456
|
-
propertySlug: string;
|
|
1457
1456
|
propertyId: string;
|
|
1457
|
+
propertySlug: string;
|
|
1458
1458
|
unitId: string;
|
|
1459
1459
|
styleId: string;
|
|
1460
1460
|
propertyName: string;
|
|
@@ -1468,8 +1468,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1468
1468
|
utmName: string;
|
|
1469
1469
|
}) => void;
|
|
1470
1470
|
trackToastImpression: (payload: {
|
|
1471
|
-
propertySlug: string;
|
|
1472
1471
|
propertyId: string;
|
|
1472
|
+
propertySlug: string;
|
|
1473
1473
|
unitId: string;
|
|
1474
1474
|
propertyName: string;
|
|
1475
1475
|
unitName: string;
|
|
@@ -1477,8 +1477,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1477
1477
|
toastCopy: string;
|
|
1478
1478
|
}) => void;
|
|
1479
1479
|
trackToastClicked: (payload: {
|
|
1480
|
-
propertySlug: string;
|
|
1481
1480
|
propertyId: string;
|
|
1481
|
+
propertySlug: string;
|
|
1482
1482
|
unitId: string;
|
|
1483
1483
|
propertyName: string;
|
|
1484
1484
|
unitName: string;
|
|
@@ -1486,8 +1486,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1486
1486
|
toastCopy: string;
|
|
1487
1487
|
}) => void;
|
|
1488
1488
|
trackToastClosed: (payload: {
|
|
1489
|
-
propertySlug: string;
|
|
1490
1489
|
propertyId: string;
|
|
1490
|
+
propertySlug: string;
|
|
1491
1491
|
unitId: string;
|
|
1492
1492
|
propertyName: string;
|
|
1493
1493
|
unitName: string;
|
|
@@ -1495,8 +1495,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1495
1495
|
toastCopy: string;
|
|
1496
1496
|
}) => void;
|
|
1497
1497
|
trackContentModalOpened: (payload: {
|
|
1498
|
-
propertySlug: string;
|
|
1499
1498
|
propertyId: string;
|
|
1499
|
+
propertySlug: string;
|
|
1500
1500
|
unitId: string;
|
|
1501
1501
|
styleId: string;
|
|
1502
1502
|
propertyName: string;
|
|
@@ -1506,13 +1506,13 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1506
1506
|
unitBedrooms: number;
|
|
1507
1507
|
}) => void;
|
|
1508
1508
|
trackBuildingDetailsModalOpened: (payload: {
|
|
1509
|
-
propertySlug: string;
|
|
1510
1509
|
propertyId: string;
|
|
1510
|
+
propertySlug: string;
|
|
1511
1511
|
propertyName: string;
|
|
1512
1512
|
}) => void;
|
|
1513
1513
|
trackWebPageViewed: (payload: {
|
|
1514
|
-
propertySlug: string;
|
|
1515
1514
|
propertyId: string;
|
|
1515
|
+
propertySlug: string;
|
|
1516
1516
|
unitId: string;
|
|
1517
1517
|
propertyName: string;
|
|
1518
1518
|
unitName: string;
|
|
@@ -1522,8 +1522,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1522
1522
|
pageName: string;
|
|
1523
1523
|
}) => void;
|
|
1524
1524
|
trackWebPageRoomViewed: (payload: {
|
|
1525
|
-
propertySlug: string;
|
|
1526
1525
|
propertyId: string;
|
|
1526
|
+
propertySlug: string;
|
|
1527
1527
|
unitId: string;
|
|
1528
1528
|
propertyName: string;
|
|
1529
1529
|
unitName: string;
|
|
@@ -1533,8 +1533,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
1533
1533
|
datestamp: string;
|
|
1534
1534
|
}) => void;
|
|
1535
1535
|
trackEmbedPageViewed: (payload: {
|
|
1536
|
-
propertySlug: string;
|
|
1537
1536
|
propertyId: string;
|
|
1537
|
+
propertySlug: string;
|
|
1538
1538
|
unitId: string;
|
|
1539
1539
|
propertyName: string;
|
|
1540
1540
|
unitName: string;
|
|
@@ -1548,8 +1548,8 @@ export declare function useTrackingEvents(): {
|
|
|
1548
1548
|
trackQuestionnaireContinue: (payload: AnalyticsPayloadWithout<typeof continueQuestionnaireEventSchema, "interactedElement">) => void;
|
|
1549
1549
|
trackQuestionnaireBack: (payload: AnalyticsPayloadWithout<typeof questionnaireEventSchema, "interactedElement">) => void;
|
|
1550
1550
|
trackClickUnit: (payload: {
|
|
1551
|
-
propertySlug: string;
|
|
1552
1551
|
propertyId: string;
|
|
1552
|
+
propertySlug: string;
|
|
1553
1553
|
unitId: string;
|
|
1554
1554
|
propertyName: string;
|
|
1555
1555
|
unitName: string;
|
|
@@ -1557,8 +1557,8 @@ export declare function useTrackingEvents(): {
|
|
|
1557
1557
|
favoritedUnit: boolean;
|
|
1558
1558
|
}) => void;
|
|
1559
1559
|
trackHoverUnit: (payload: {
|
|
1560
|
-
propertySlug: string;
|
|
1561
1560
|
propertyId: string;
|
|
1561
|
+
propertySlug: string;
|
|
1562
1562
|
unitId: string;
|
|
1563
1563
|
propertyName: string;
|
|
1564
1564
|
unitName: string;
|
|
@@ -1567,8 +1567,8 @@ export declare function useTrackingEvents(): {
|
|
|
1567
1567
|
}) => void;
|
|
1568
1568
|
trackLoadMore: (payload: AnalyticsPayload<typeof loadMoreSchema>) => void;
|
|
1569
1569
|
trackFilterOpened: (payload: {
|
|
1570
|
-
propertySlug: string;
|
|
1571
1570
|
propertyId: string;
|
|
1571
|
+
propertySlug: string;
|
|
1572
1572
|
propertyName: string;
|
|
1573
1573
|
filterIndex: number;
|
|
1574
1574
|
filterLabel: string;
|
|
@@ -1576,16 +1576,16 @@ export declare function useTrackingEvents(): {
|
|
|
1576
1576
|
filterName?: string | undefined;
|
|
1577
1577
|
}) => void;
|
|
1578
1578
|
trackFilterCanceled: (payload: {
|
|
1579
|
-
propertySlug: string;
|
|
1580
1579
|
propertyId: string;
|
|
1580
|
+
propertySlug: string;
|
|
1581
1581
|
propertyName: string;
|
|
1582
1582
|
filterIndex: number;
|
|
1583
1583
|
filterLabel: string;
|
|
1584
1584
|
selectedFiltersEnum?: any;
|
|
1585
1585
|
}) => void;
|
|
1586
1586
|
trackFilterApplied: (payload: {
|
|
1587
|
-
propertySlug: string;
|
|
1588
1587
|
propertyId: string;
|
|
1588
|
+
propertySlug: string;
|
|
1589
1589
|
propertyName: string;
|
|
1590
1590
|
filterIndex: number;
|
|
1591
1591
|
filterLabel: string;
|
|
@@ -1593,22 +1593,22 @@ export declare function useTrackingEvents(): {
|
|
|
1593
1593
|
}) => void;
|
|
1594
1594
|
trackOpenSort: (payload: AnalyticsPayload<typeof sortOpenSchema>) => void;
|
|
1595
1595
|
trackSelectSort: (payload: {
|
|
1596
|
-
propertySlug: string;
|
|
1597
1596
|
propertyId: string;
|
|
1597
|
+
propertySlug: string;
|
|
1598
1598
|
propertyName: string;
|
|
1599
1599
|
sortIndex: number;
|
|
1600
1600
|
sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
|
|
1601
1601
|
}) => void;
|
|
1602
1602
|
trackCancelSort: (payload: {
|
|
1603
|
-
propertySlug: string;
|
|
1604
1603
|
propertyId: string;
|
|
1604
|
+
propertySlug: string;
|
|
1605
1605
|
propertyName: string;
|
|
1606
1606
|
sortIndex: number;
|
|
1607
1607
|
sortEnum: "relevance" | "newest" | "cost_low_to_high" | "cost_high_to_low";
|
|
1608
1608
|
}) => void;
|
|
1609
1609
|
trackClickUnitFavorites: (payload: {
|
|
1610
|
-
propertySlug: string;
|
|
1611
1610
|
propertyId: string;
|
|
1611
|
+
propertySlug: string;
|
|
1612
1612
|
unitId: string;
|
|
1613
1613
|
propertyName: string;
|
|
1614
1614
|
unitName: string;
|
|
@@ -1616,8 +1616,8 @@ export declare function useTrackingEvents(): {
|
|
|
1616
1616
|
favoritedUnit: boolean;
|
|
1617
1617
|
}) => void;
|
|
1618
1618
|
trackUnitUnfavorited: (payload: {
|
|
1619
|
-
propertySlug: string;
|
|
1620
1619
|
propertyId: string;
|
|
1620
|
+
propertySlug: string;
|
|
1621
1621
|
unitId: string;
|
|
1622
1622
|
propertyName: string;
|
|
1623
1623
|
resultsUnitCount: number;
|
|
@@ -1626,8 +1626,8 @@ export declare function useTrackingEvents(): {
|
|
|
1626
1626
|
unitCountDate?: string | undefined;
|
|
1627
1627
|
}) => void;
|
|
1628
1628
|
trackQuestionnaireResult: (payload: {
|
|
1629
|
-
propertySlug: string;
|
|
1630
1629
|
propertyId: string;
|
|
1630
|
+
propertySlug: string;
|
|
1631
1631
|
propertyName: string;
|
|
1632
1632
|
fullQuestionnaireSchemaJson?: unknown;
|
|
1633
1633
|
resultsJson?: {
|
|
@@ -1640,8 +1640,8 @@ export declare function useTrackingEvents(): {
|
|
|
1640
1640
|
} | undefined;
|
|
1641
1641
|
}) => void;
|
|
1642
1642
|
trackScheduleTourFormInteracted: (payload: {
|
|
1643
|
-
propertySlug: string;
|
|
1644
1643
|
propertyId: string;
|
|
1644
|
+
propertySlug: string;
|
|
1645
1645
|
propertyName: string;
|
|
1646
1646
|
totalUnitsAvailable: number;
|
|
1647
1647
|
resultsUnitCount: number;
|
|
@@ -1649,8 +1649,8 @@ export declare function useTrackingEvents(): {
|
|
|
1649
1649
|
lifestylePreferences?: unknown;
|
|
1650
1650
|
}) => void;
|
|
1651
1651
|
trackScheduleTourFormSubmitted: (payload: {
|
|
1652
|
-
propertySlug: string;
|
|
1653
1652
|
propertyId: string;
|
|
1653
|
+
propertySlug: string;
|
|
1654
1654
|
propertyName: string;
|
|
1655
1655
|
totalUnitsAvailable: number;
|
|
1656
1656
|
resultsUnitCount: number;
|
|
@@ -1658,8 +1658,8 @@ export declare function useTrackingEvents(): {
|
|
|
1658
1658
|
lifestylePreferences?: unknown;
|
|
1659
1659
|
}) => void;
|
|
1660
1660
|
trackScheduleTourUrlClicked: (payload: {
|
|
1661
|
-
propertySlug: string;
|
|
1662
1661
|
propertyId: string;
|
|
1662
|
+
propertySlug: string;
|
|
1663
1663
|
propertyName: string;
|
|
1664
1664
|
totalUnitsAvailable: number;
|
|
1665
1665
|
resultsUnitCount: number;
|
|
@@ -1667,8 +1667,8 @@ export declare function useTrackingEvents(): {
|
|
|
1667
1667
|
lifestylePreferences?: unknown;
|
|
1668
1668
|
}) => void;
|
|
1669
1669
|
trackGetInTouchFormOpened: (payload: {
|
|
1670
|
-
propertySlug: string;
|
|
1671
1670
|
propertyId: string;
|
|
1671
|
+
propertySlug: string;
|
|
1672
1672
|
unitId: string;
|
|
1673
1673
|
styleId: string;
|
|
1674
1674
|
propertyName: string;
|
|
@@ -1681,8 +1681,8 @@ export declare function useTrackingEvents(): {
|
|
|
1681
1681
|
favoritedUnit: boolean;
|
|
1682
1682
|
}) => void;
|
|
1683
1683
|
trackGetInTouchFormSubmitted: (payload: {
|
|
1684
|
-
propertySlug: string;
|
|
1685
1684
|
propertyId: string;
|
|
1685
|
+
propertySlug: string;
|
|
1686
1686
|
unitId: string;
|
|
1687
1687
|
styleId: string;
|
|
1688
1688
|
propertyName: string;
|
|
@@ -1695,8 +1695,8 @@ export declare function useTrackingEvents(): {
|
|
|
1695
1695
|
favoritedUnit: boolean;
|
|
1696
1696
|
}) => void;
|
|
1697
1697
|
trackStyleDrawerOpened: (payload: {
|
|
1698
|
-
propertySlug: string;
|
|
1699
1698
|
propertyId: string;
|
|
1699
|
+
propertySlug: string;
|
|
1700
1700
|
unitId: string;
|
|
1701
1701
|
styleId: string;
|
|
1702
1702
|
propertyName: string;
|
|
@@ -1708,8 +1708,8 @@ export declare function useTrackingEvents(): {
|
|
|
1708
1708
|
roomName: string;
|
|
1709
1709
|
}) => void;
|
|
1710
1710
|
trackStyleDrawerChanged: (payload: {
|
|
1711
|
-
propertySlug: string;
|
|
1712
1711
|
propertyId: string;
|
|
1712
|
+
propertySlug: string;
|
|
1713
1713
|
unitId: string;
|
|
1714
1714
|
styleId: string;
|
|
1715
1715
|
propertyName: string;
|
|
@@ -1721,8 +1721,8 @@ export declare function useTrackingEvents(): {
|
|
|
1721
1721
|
roomName: string;
|
|
1722
1722
|
}) => void;
|
|
1723
1723
|
trackOpeningStyleImpression: (payload: {
|
|
1724
|
-
propertySlug: string;
|
|
1725
1724
|
propertyId: string;
|
|
1725
|
+
propertySlug: string;
|
|
1726
1726
|
unitId: string;
|
|
1727
1727
|
styleId: string;
|
|
1728
1728
|
propertyName: string;
|
|
@@ -1734,8 +1734,8 @@ export declare function useTrackingEvents(): {
|
|
|
1734
1734
|
roomName: string;
|
|
1735
1735
|
}) => void;
|
|
1736
1736
|
trackOpeningStyleSlected: (payload: {
|
|
1737
|
-
propertySlug: string;
|
|
1738
1737
|
propertyId: string;
|
|
1738
|
+
propertySlug: string;
|
|
1739
1739
|
unitId: string;
|
|
1740
1740
|
styleId: string;
|
|
1741
1741
|
propertyName: string;
|
|
@@ -1748,10 +1748,10 @@ export declare function useTrackingEvents(): {
|
|
|
1748
1748
|
}) => void;
|
|
1749
1749
|
trackFurnitureViewed: (payload: {
|
|
1750
1750
|
type: "click" | "hover_on" | "hover_off";
|
|
1751
|
-
propertySlug: string;
|
|
1752
1751
|
propertyId: string;
|
|
1753
|
-
|
|
1752
|
+
propertySlug: string;
|
|
1754
1753
|
furnitureId: string;
|
|
1754
|
+
unitId: string;
|
|
1755
1755
|
styleId: string;
|
|
1756
1756
|
propertyName: string;
|
|
1757
1757
|
unitName: string;
|
|
@@ -1763,11 +1763,11 @@ export declare function useTrackingEvents(): {
|
|
|
1763
1763
|
}) => void;
|
|
1764
1764
|
trackFurnitureExternalUrlClicked: (payload: {
|
|
1765
1765
|
type: string;
|
|
1766
|
-
propertySlug: string;
|
|
1767
1766
|
propertyId: string;
|
|
1768
|
-
unitId: string;
|
|
1769
1767
|
link: string;
|
|
1768
|
+
propertySlug: string;
|
|
1770
1769
|
furnitureId: string;
|
|
1770
|
+
unitId: string;
|
|
1771
1771
|
styleId: string;
|
|
1772
1772
|
propertyName: string;
|
|
1773
1773
|
unitName: string;
|
|
@@ -1779,10 +1779,10 @@ export declare function useTrackingEvents(): {
|
|
|
1779
1779
|
furnitureName: string;
|
|
1780
1780
|
}) => void;
|
|
1781
1781
|
trackFurnitureSaved: (payload: {
|
|
1782
|
-
propertySlug: string;
|
|
1783
1782
|
propertyId: string;
|
|
1784
|
-
|
|
1783
|
+
propertySlug: string;
|
|
1785
1784
|
furnitureId: string;
|
|
1785
|
+
unitId: string;
|
|
1786
1786
|
styleId: string;
|
|
1787
1787
|
propertyName: string;
|
|
1788
1788
|
unitName: string;
|
|
@@ -1793,10 +1793,10 @@ export declare function useTrackingEvents(): {
|
|
|
1793
1793
|
furnitureName: string;
|
|
1794
1794
|
}) => void;
|
|
1795
1795
|
trackFurnitureModalOpened: (payload: {
|
|
1796
|
-
propertySlug: string;
|
|
1797
1796
|
propertyId: string;
|
|
1798
|
-
|
|
1797
|
+
propertySlug: string;
|
|
1799
1798
|
furnitureId: string;
|
|
1799
|
+
unitId: string;
|
|
1800
1800
|
styleId: string;
|
|
1801
1801
|
propertyName: string;
|
|
1802
1802
|
unitName: string;
|
|
@@ -1807,10 +1807,10 @@ export declare function useTrackingEvents(): {
|
|
|
1807
1807
|
furnitureName: string;
|
|
1808
1808
|
}) => void;
|
|
1809
1809
|
trackFurnitureCarouselToggled: (payload: {
|
|
1810
|
-
propertySlug: string;
|
|
1811
1810
|
propertyId: string;
|
|
1812
|
-
|
|
1811
|
+
propertySlug: string;
|
|
1813
1812
|
furnitureId: string;
|
|
1813
|
+
unitId: string;
|
|
1814
1814
|
styleId: string;
|
|
1815
1815
|
propertyName: string;
|
|
1816
1816
|
unitName: string;
|
|
@@ -1822,8 +1822,8 @@ export declare function useTrackingEvents(): {
|
|
|
1822
1822
|
method: "Prev" | "Next";
|
|
1823
1823
|
}) => void;
|
|
1824
1824
|
trackRoomEntered: (payload: {
|
|
1825
|
-
propertySlug: string;
|
|
1826
1825
|
propertyId: string;
|
|
1826
|
+
propertySlug: string;
|
|
1827
1827
|
unitId: string;
|
|
1828
1828
|
styleId: string;
|
|
1829
1829
|
propertyName: string;
|
|
@@ -1835,8 +1835,8 @@ export declare function useTrackingEvents(): {
|
|
|
1835
1835
|
method: "Navigation" | "Map";
|
|
1836
1836
|
}) => void;
|
|
1837
1837
|
trackRoomLeft: (payload: {
|
|
1838
|
-
propertySlug: string;
|
|
1839
1838
|
propertyId: string;
|
|
1839
|
+
propertySlug: string;
|
|
1840
1840
|
unitId: string;
|
|
1841
1841
|
styleId: string;
|
|
1842
1842
|
propertyName: string;
|
|
@@ -1849,8 +1849,8 @@ export declare function useTrackingEvents(): {
|
|
|
1849
1849
|
timeInRoom: number;
|
|
1850
1850
|
}) => void;
|
|
1851
1851
|
trackVideoStarted: (payload: {
|
|
1852
|
-
propertySlug: string;
|
|
1853
1852
|
propertyId: string;
|
|
1853
|
+
propertySlug: string;
|
|
1854
1854
|
unitId: string;
|
|
1855
1855
|
styleId: string;
|
|
1856
1856
|
propertyName: string;
|
|
@@ -1866,8 +1866,8 @@ export declare function useTrackingEvents(): {
|
|
|
1866
1866
|
videoFilename: string;
|
|
1867
1867
|
}) => void;
|
|
1868
1868
|
trackEmailRedirect: (payload: {
|
|
1869
|
-
propertySlug: string;
|
|
1870
1869
|
propertyId: string;
|
|
1870
|
+
propertySlug: string;
|
|
1871
1871
|
unitId: string;
|
|
1872
1872
|
styleId: string;
|
|
1873
1873
|
propertyName: string;
|
|
@@ -1881,8 +1881,8 @@ export declare function useTrackingEvents(): {
|
|
|
1881
1881
|
utmName: string;
|
|
1882
1882
|
}) => void;
|
|
1883
1883
|
trackToastImpression: (payload: {
|
|
1884
|
-
propertySlug: string;
|
|
1885
1884
|
propertyId: string;
|
|
1885
|
+
propertySlug: string;
|
|
1886
1886
|
unitId: string;
|
|
1887
1887
|
propertyName: string;
|
|
1888
1888
|
unitName: string;
|
|
@@ -1890,8 +1890,8 @@ export declare function useTrackingEvents(): {
|
|
|
1890
1890
|
toastCopy: string;
|
|
1891
1891
|
}) => void;
|
|
1892
1892
|
trackToastClicked: (payload: {
|
|
1893
|
-
propertySlug: string;
|
|
1894
1893
|
propertyId: string;
|
|
1894
|
+
propertySlug: string;
|
|
1895
1895
|
unitId: string;
|
|
1896
1896
|
propertyName: string;
|
|
1897
1897
|
unitName: string;
|
|
@@ -1899,8 +1899,8 @@ export declare function useTrackingEvents(): {
|
|
|
1899
1899
|
toastCopy: string;
|
|
1900
1900
|
}) => void;
|
|
1901
1901
|
trackToastClosed: (payload: {
|
|
1902
|
-
propertySlug: string;
|
|
1903
1902
|
propertyId: string;
|
|
1903
|
+
propertySlug: string;
|
|
1904
1904
|
unitId: string;
|
|
1905
1905
|
propertyName: string;
|
|
1906
1906
|
unitName: string;
|
|
@@ -1908,8 +1908,8 @@ export declare function useTrackingEvents(): {
|
|
|
1908
1908
|
toastCopy: string;
|
|
1909
1909
|
}) => void;
|
|
1910
1910
|
trackContentModalOpened: (payload: {
|
|
1911
|
-
propertySlug: string;
|
|
1912
1911
|
propertyId: string;
|
|
1912
|
+
propertySlug: string;
|
|
1913
1913
|
unitId: string;
|
|
1914
1914
|
styleId: string;
|
|
1915
1915
|
propertyName: string;
|
|
@@ -1919,13 +1919,13 @@ export declare function useTrackingEvents(): {
|
|
|
1919
1919
|
unitBedrooms: number;
|
|
1920
1920
|
}) => void;
|
|
1921
1921
|
trackBuildingDetailsModalOpened: (payload: {
|
|
1922
|
-
propertySlug: string;
|
|
1923
1922
|
propertyId: string;
|
|
1923
|
+
propertySlug: string;
|
|
1924
1924
|
propertyName: string;
|
|
1925
1925
|
}) => void;
|
|
1926
1926
|
trackWebPageViewed: (payload: {
|
|
1927
|
-
propertySlug: string;
|
|
1928
1927
|
propertyId: string;
|
|
1928
|
+
propertySlug: string;
|
|
1929
1929
|
unitId: string;
|
|
1930
1930
|
propertyName: string;
|
|
1931
1931
|
unitName: string;
|
|
@@ -1935,8 +1935,8 @@ export declare function useTrackingEvents(): {
|
|
|
1935
1935
|
pageName: string;
|
|
1936
1936
|
}) => void;
|
|
1937
1937
|
trackWebPageRoomViewed: (payload: {
|
|
1938
|
-
propertySlug: string;
|
|
1939
1938
|
propertyId: string;
|
|
1939
|
+
propertySlug: string;
|
|
1940
1940
|
unitId: string;
|
|
1941
1941
|
propertyName: string;
|
|
1942
1942
|
unitName: string;
|
|
@@ -1946,8 +1946,8 @@ export declare function useTrackingEvents(): {
|
|
|
1946
1946
|
datestamp: string;
|
|
1947
1947
|
}) => void;
|
|
1948
1948
|
trackEmbedPageViewed: (payload: {
|
|
1949
|
-
propertySlug: string;
|
|
1950
1949
|
propertyId: string;
|
|
1950
|
+
propertySlug: string;
|
|
1951
1951
|
unitId: string;
|
|
1952
1952
|
propertyName: string;
|
|
1953
1953
|
unitName: string;
|