@superbright/indexeddb-orm 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/features/analytics/analytics.cjs +1 -1
- package/dist/features/analytics/analytics.cjs.map +1 -1
- package/dist/features/analytics/analytics.d.ts +743 -0
- package/dist/features/analytics/analytics.mjs +264 -135
- package/dist/features/analytics/analytics.mjs.map +1 -1
- package/dist/features/filters/transformers.cjs +1 -1
- package/dist/features/filters/transformers.cjs.map +1 -1
- package/dist/features/filters/transformers.mjs +50 -50
- package/dist/features/filters/transformers.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -171,6 +171,415 @@ declare const unitEventSchema: z.ZodObject<{
|
|
|
171
171
|
unitTitle: string;
|
|
172
172
|
unitSlug: string;
|
|
173
173
|
}>;
|
|
174
|
+
declare const getInTouchFormSchema: z.ZodObject<{
|
|
175
|
+
propertyId: z.ZodString;
|
|
176
|
+
propertySlug: z.ZodString;
|
|
177
|
+
} & {
|
|
178
|
+
unitId: z.ZodString;
|
|
179
|
+
unitTitle: z.ZodString;
|
|
180
|
+
unitSlug: z.ZodString;
|
|
181
|
+
} & {
|
|
182
|
+
propertyName: z.ZodString;
|
|
183
|
+
buttonName: z.ZodString;
|
|
184
|
+
formName: z.ZodString;
|
|
185
|
+
styleId: z.ZodString;
|
|
186
|
+
styleName: z.ZodString;
|
|
187
|
+
unitBedrooms: z.ZodNumber;
|
|
188
|
+
favoritedUnit: z.ZodBoolean;
|
|
189
|
+
}, "strip", z.ZodTypeAny, {
|
|
190
|
+
propertySlug: string;
|
|
191
|
+
propertyId: string;
|
|
192
|
+
unitId: string;
|
|
193
|
+
styleId: string;
|
|
194
|
+
propertyName: string;
|
|
195
|
+
unitTitle: string;
|
|
196
|
+
unitSlug: string;
|
|
197
|
+
buttonName: string;
|
|
198
|
+
formName: string;
|
|
199
|
+
styleName: string;
|
|
200
|
+
unitBedrooms: number;
|
|
201
|
+
favoritedUnit: boolean;
|
|
202
|
+
}, {
|
|
203
|
+
propertySlug: string;
|
|
204
|
+
propertyId: string;
|
|
205
|
+
unitId: string;
|
|
206
|
+
styleId: string;
|
|
207
|
+
propertyName: string;
|
|
208
|
+
unitTitle: string;
|
|
209
|
+
unitSlug: string;
|
|
210
|
+
buttonName: string;
|
|
211
|
+
formName: string;
|
|
212
|
+
styleName: string;
|
|
213
|
+
unitBedrooms: number;
|
|
214
|
+
favoritedUnit: boolean;
|
|
215
|
+
}>;
|
|
216
|
+
declare const styleDrawerSchema: z.ZodObject<{
|
|
217
|
+
propertyId: z.ZodString;
|
|
218
|
+
propertySlug: z.ZodString;
|
|
219
|
+
} & {
|
|
220
|
+
unitId: z.ZodString;
|
|
221
|
+
unitTitle: z.ZodString;
|
|
222
|
+
unitSlug: z.ZodString;
|
|
223
|
+
} & {
|
|
224
|
+
roomName: z.ZodString;
|
|
225
|
+
unitBedrooms: z.ZodNumber;
|
|
226
|
+
styleId: z.ZodString;
|
|
227
|
+
styleName: z.ZodString;
|
|
228
|
+
favoritedUnit: z.ZodBoolean;
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
|
+
propertySlug: string;
|
|
231
|
+
propertyId: string;
|
|
232
|
+
unitId: string;
|
|
233
|
+
styleId: string;
|
|
234
|
+
unitTitle: string;
|
|
235
|
+
unitSlug: string;
|
|
236
|
+
styleName: string;
|
|
237
|
+
unitBedrooms: number;
|
|
238
|
+
favoritedUnit: boolean;
|
|
239
|
+
roomName: string;
|
|
240
|
+
}, {
|
|
241
|
+
propertySlug: string;
|
|
242
|
+
propertyId: string;
|
|
243
|
+
unitId: string;
|
|
244
|
+
styleId: string;
|
|
245
|
+
unitTitle: string;
|
|
246
|
+
unitSlug: string;
|
|
247
|
+
styleName: string;
|
|
248
|
+
unitBedrooms: number;
|
|
249
|
+
favoritedUnit: boolean;
|
|
250
|
+
roomName: string;
|
|
251
|
+
}>;
|
|
252
|
+
declare const furnitureViewedSchema: z.ZodObject<{
|
|
253
|
+
propertyId: z.ZodString;
|
|
254
|
+
propertySlug: z.ZodString;
|
|
255
|
+
} & {
|
|
256
|
+
unitId: z.ZodString;
|
|
257
|
+
unitTitle: z.ZodString;
|
|
258
|
+
unitSlug: z.ZodString;
|
|
259
|
+
} & {
|
|
260
|
+
roomName: z.ZodString;
|
|
261
|
+
unitBedrooms: z.ZodNumber;
|
|
262
|
+
styleId: z.ZodString;
|
|
263
|
+
styleName: z.ZodString;
|
|
264
|
+
furnitureId: z.ZodString;
|
|
265
|
+
furnitureName: z.ZodString;
|
|
266
|
+
}, "strip", z.ZodTypeAny, {
|
|
267
|
+
propertySlug: string;
|
|
268
|
+
propertyId: string;
|
|
269
|
+
unitId: string;
|
|
270
|
+
furnitureId: string;
|
|
271
|
+
styleId: string;
|
|
272
|
+
unitTitle: string;
|
|
273
|
+
unitSlug: string;
|
|
274
|
+
styleName: string;
|
|
275
|
+
unitBedrooms: number;
|
|
276
|
+
roomName: string;
|
|
277
|
+
furnitureName: string;
|
|
278
|
+
}, {
|
|
279
|
+
propertySlug: string;
|
|
280
|
+
propertyId: string;
|
|
281
|
+
unitId: string;
|
|
282
|
+
furnitureId: string;
|
|
283
|
+
styleId: string;
|
|
284
|
+
unitTitle: string;
|
|
285
|
+
unitSlug: string;
|
|
286
|
+
styleName: string;
|
|
287
|
+
unitBedrooms: number;
|
|
288
|
+
roomName: string;
|
|
289
|
+
furnitureName: string;
|
|
290
|
+
}>;
|
|
291
|
+
declare const furnitureExternalUrlSchema: z.ZodObject<{
|
|
292
|
+
propertyId: z.ZodString;
|
|
293
|
+
propertySlug: z.ZodString;
|
|
294
|
+
} & {
|
|
295
|
+
unitId: z.ZodString;
|
|
296
|
+
unitTitle: z.ZodString;
|
|
297
|
+
unitSlug: z.ZodString;
|
|
298
|
+
} & {
|
|
299
|
+
roomName: z.ZodString;
|
|
300
|
+
unitBedrooms: z.ZodNumber;
|
|
301
|
+
styleId: z.ZodString;
|
|
302
|
+
styleName: z.ZodString;
|
|
303
|
+
furnitureId: z.ZodString;
|
|
304
|
+
furnitureName: z.ZodString;
|
|
305
|
+
link: z.ZodString;
|
|
306
|
+
type: z.ZodString;
|
|
307
|
+
favoritedUnit: z.ZodBoolean;
|
|
308
|
+
}, "strip", z.ZodTypeAny, {
|
|
309
|
+
type: string;
|
|
310
|
+
propertySlug: string;
|
|
311
|
+
propertyId: string;
|
|
312
|
+
unitId: string;
|
|
313
|
+
link: string;
|
|
314
|
+
furnitureId: string;
|
|
315
|
+
styleId: string;
|
|
316
|
+
unitTitle: string;
|
|
317
|
+
unitSlug: string;
|
|
318
|
+
styleName: string;
|
|
319
|
+
unitBedrooms: number;
|
|
320
|
+
favoritedUnit: boolean;
|
|
321
|
+
roomName: string;
|
|
322
|
+
furnitureName: string;
|
|
323
|
+
}, {
|
|
324
|
+
type: string;
|
|
325
|
+
propertySlug: string;
|
|
326
|
+
propertyId: string;
|
|
327
|
+
unitId: string;
|
|
328
|
+
link: string;
|
|
329
|
+
furnitureId: string;
|
|
330
|
+
styleId: string;
|
|
331
|
+
unitTitle: string;
|
|
332
|
+
unitSlug: string;
|
|
333
|
+
styleName: string;
|
|
334
|
+
unitBedrooms: number;
|
|
335
|
+
favoritedUnit: boolean;
|
|
336
|
+
roomName: string;
|
|
337
|
+
furnitureName: string;
|
|
338
|
+
}>;
|
|
339
|
+
declare const furnitureSavedSchema: z.ZodObject<{
|
|
340
|
+
propertyId: z.ZodString;
|
|
341
|
+
propertySlug: z.ZodString;
|
|
342
|
+
} & {
|
|
343
|
+
unitId: z.ZodString;
|
|
344
|
+
unitTitle: z.ZodString;
|
|
345
|
+
unitSlug: z.ZodString;
|
|
346
|
+
} & {
|
|
347
|
+
roomName: z.ZodString;
|
|
348
|
+
unitBedrooms: z.ZodNumber;
|
|
349
|
+
styleId: z.ZodString;
|
|
350
|
+
styleName: z.ZodString;
|
|
351
|
+
furnitureId: z.ZodString;
|
|
352
|
+
furnitureName: z.ZodString;
|
|
353
|
+
}, "strip", z.ZodTypeAny, {
|
|
354
|
+
propertySlug: string;
|
|
355
|
+
propertyId: string;
|
|
356
|
+
unitId: string;
|
|
357
|
+
furnitureId: string;
|
|
358
|
+
styleId: string;
|
|
359
|
+
unitTitle: string;
|
|
360
|
+
unitSlug: string;
|
|
361
|
+
styleName: string;
|
|
362
|
+
unitBedrooms: number;
|
|
363
|
+
roomName: string;
|
|
364
|
+
furnitureName: string;
|
|
365
|
+
}, {
|
|
366
|
+
propertySlug: string;
|
|
367
|
+
propertyId: string;
|
|
368
|
+
unitId: string;
|
|
369
|
+
furnitureId: string;
|
|
370
|
+
styleId: string;
|
|
371
|
+
unitTitle: string;
|
|
372
|
+
unitSlug: string;
|
|
373
|
+
styleName: string;
|
|
374
|
+
unitBedrooms: number;
|
|
375
|
+
roomName: string;
|
|
376
|
+
furnitureName: string;
|
|
377
|
+
}>;
|
|
378
|
+
declare const furnitureModalOpenedSchema: z.ZodObject<{
|
|
379
|
+
propertyId: z.ZodString;
|
|
380
|
+
propertySlug: z.ZodString;
|
|
381
|
+
} & {
|
|
382
|
+
unitId: z.ZodString;
|
|
383
|
+
unitTitle: z.ZodString;
|
|
384
|
+
unitSlug: z.ZodString;
|
|
385
|
+
} & {
|
|
386
|
+
roomName: z.ZodString;
|
|
387
|
+
unitBedrooms: z.ZodNumber;
|
|
388
|
+
styleId: z.ZodString;
|
|
389
|
+
styleName: z.ZodString;
|
|
390
|
+
furnitureId: z.ZodString;
|
|
391
|
+
furnitureName: z.ZodString;
|
|
392
|
+
}, "strip", z.ZodTypeAny, {
|
|
393
|
+
propertySlug: string;
|
|
394
|
+
propertyId: string;
|
|
395
|
+
unitId: string;
|
|
396
|
+
furnitureId: string;
|
|
397
|
+
styleId: string;
|
|
398
|
+
unitTitle: string;
|
|
399
|
+
unitSlug: string;
|
|
400
|
+
styleName: string;
|
|
401
|
+
unitBedrooms: number;
|
|
402
|
+
roomName: string;
|
|
403
|
+
furnitureName: string;
|
|
404
|
+
}, {
|
|
405
|
+
propertySlug: string;
|
|
406
|
+
propertyId: string;
|
|
407
|
+
unitId: string;
|
|
408
|
+
furnitureId: string;
|
|
409
|
+
styleId: string;
|
|
410
|
+
unitTitle: string;
|
|
411
|
+
unitSlug: string;
|
|
412
|
+
styleName: string;
|
|
413
|
+
unitBedrooms: number;
|
|
414
|
+
roomName: string;
|
|
415
|
+
furnitureName: string;
|
|
416
|
+
}>;
|
|
417
|
+
declare const roomEnteredSchema: z.ZodObject<{
|
|
418
|
+
propertyId: z.ZodString;
|
|
419
|
+
propertySlug: z.ZodString;
|
|
420
|
+
} & {
|
|
421
|
+
unitId: z.ZodString;
|
|
422
|
+
unitTitle: z.ZodString;
|
|
423
|
+
unitSlug: z.ZodString;
|
|
424
|
+
} & {
|
|
425
|
+
roomName: z.ZodString;
|
|
426
|
+
unitBedrooms: z.ZodNumber;
|
|
427
|
+
styleId: z.ZodString;
|
|
428
|
+
styleName: z.ZodString;
|
|
429
|
+
method: z.ZodEnum<["Navigation", "Map"]>;
|
|
430
|
+
}, "strip", z.ZodTypeAny, {
|
|
431
|
+
propertySlug: string;
|
|
432
|
+
propertyId: string;
|
|
433
|
+
unitId: string;
|
|
434
|
+
styleId: string;
|
|
435
|
+
unitTitle: string;
|
|
436
|
+
unitSlug: string;
|
|
437
|
+
styleName: string;
|
|
438
|
+
unitBedrooms: number;
|
|
439
|
+
roomName: string;
|
|
440
|
+
method: "Navigation" | "Map";
|
|
441
|
+
}, {
|
|
442
|
+
propertySlug: string;
|
|
443
|
+
propertyId: string;
|
|
444
|
+
unitId: string;
|
|
445
|
+
styleId: string;
|
|
446
|
+
unitTitle: string;
|
|
447
|
+
unitSlug: string;
|
|
448
|
+
styleName: string;
|
|
449
|
+
unitBedrooms: number;
|
|
450
|
+
roomName: string;
|
|
451
|
+
method: "Navigation" | "Map";
|
|
452
|
+
}>;
|
|
453
|
+
declare const roomLeftSchema: z.ZodObject<{
|
|
454
|
+
propertyId: z.ZodString;
|
|
455
|
+
propertySlug: z.ZodString;
|
|
456
|
+
} & {
|
|
457
|
+
unitId: z.ZodString;
|
|
458
|
+
unitTitle: z.ZodString;
|
|
459
|
+
unitSlug: z.ZodString;
|
|
460
|
+
} & {
|
|
461
|
+
roomName: z.ZodString;
|
|
462
|
+
unitBedrooms: z.ZodNumber;
|
|
463
|
+
styleId: z.ZodString;
|
|
464
|
+
styleName: z.ZodString;
|
|
465
|
+
method: z.ZodEnum<["Navigation", "Map"]>;
|
|
466
|
+
} & {
|
|
467
|
+
timeInRoom: z.ZodNumber;
|
|
468
|
+
}, "strip", z.ZodTypeAny, {
|
|
469
|
+
propertySlug: string;
|
|
470
|
+
propertyId: string;
|
|
471
|
+
unitId: string;
|
|
472
|
+
styleId: string;
|
|
473
|
+
unitTitle: string;
|
|
474
|
+
unitSlug: string;
|
|
475
|
+
styleName: string;
|
|
476
|
+
unitBedrooms: number;
|
|
477
|
+
roomName: string;
|
|
478
|
+
method: "Navigation" | "Map";
|
|
479
|
+
timeInRoom: number;
|
|
480
|
+
}, {
|
|
481
|
+
propertySlug: string;
|
|
482
|
+
propertyId: string;
|
|
483
|
+
unitId: string;
|
|
484
|
+
styleId: string;
|
|
485
|
+
unitTitle: string;
|
|
486
|
+
unitSlug: string;
|
|
487
|
+
styleName: string;
|
|
488
|
+
unitBedrooms: number;
|
|
489
|
+
roomName: string;
|
|
490
|
+
method: "Navigation" | "Map";
|
|
491
|
+
timeInRoom: number;
|
|
492
|
+
}>;
|
|
493
|
+
declare const videoStartedSchema: z.ZodObject<{
|
|
494
|
+
propertyId: z.ZodString;
|
|
495
|
+
propertySlug: z.ZodString;
|
|
496
|
+
} & {
|
|
497
|
+
unitId: z.ZodString;
|
|
498
|
+
unitTitle: z.ZodString;
|
|
499
|
+
unitSlug: z.ZodString;
|
|
500
|
+
} & {
|
|
501
|
+
roomName: z.ZodString;
|
|
502
|
+
unitBedrooms: z.ZodNumber;
|
|
503
|
+
styleId: z.ZodString;
|
|
504
|
+
styleName: z.ZodString;
|
|
505
|
+
method: z.ZodEnum<["On Click Play"]>;
|
|
506
|
+
videoCurrentTime: z.ZodNumber;
|
|
507
|
+
videoDuration: z.ZodNumber;
|
|
508
|
+
videoPercent: z.ZodNumber;
|
|
509
|
+
videoFilename: z.ZodString;
|
|
510
|
+
}, "strip", z.ZodTypeAny, {
|
|
511
|
+
propertySlug: string;
|
|
512
|
+
propertyId: string;
|
|
513
|
+
unitId: string;
|
|
514
|
+
styleId: string;
|
|
515
|
+
unitTitle: string;
|
|
516
|
+
unitSlug: string;
|
|
517
|
+
styleName: string;
|
|
518
|
+
unitBedrooms: number;
|
|
519
|
+
roomName: string;
|
|
520
|
+
method: "On Click Play";
|
|
521
|
+
videoCurrentTime: number;
|
|
522
|
+
videoDuration: number;
|
|
523
|
+
videoPercent: number;
|
|
524
|
+
videoFilename: string;
|
|
525
|
+
}, {
|
|
526
|
+
propertySlug: string;
|
|
527
|
+
propertyId: string;
|
|
528
|
+
unitId: string;
|
|
529
|
+
styleId: string;
|
|
530
|
+
unitTitle: string;
|
|
531
|
+
unitSlug: string;
|
|
532
|
+
styleName: string;
|
|
533
|
+
unitBedrooms: number;
|
|
534
|
+
roomName: string;
|
|
535
|
+
method: "On Click Play";
|
|
536
|
+
videoCurrentTime: number;
|
|
537
|
+
videoDuration: number;
|
|
538
|
+
videoPercent: number;
|
|
539
|
+
videoFilename: string;
|
|
540
|
+
}>;
|
|
541
|
+
declare const emailTrackedSchema: z.ZodObject<{
|
|
542
|
+
propertyId: z.ZodString;
|
|
543
|
+
propertySlug: z.ZodString;
|
|
544
|
+
} & {
|
|
545
|
+
unitId: z.ZodString;
|
|
546
|
+
unitTitle: z.ZodString;
|
|
547
|
+
unitSlug: z.ZodString;
|
|
548
|
+
} & {
|
|
549
|
+
utmSource: z.ZodString;
|
|
550
|
+
utmMedium: z.ZodString;
|
|
551
|
+
utmName: z.ZodString;
|
|
552
|
+
unitBedrooms: z.ZodNumber;
|
|
553
|
+
styleId: z.ZodString;
|
|
554
|
+
styleName: z.ZodString;
|
|
555
|
+
favoritedUnit: z.ZodBoolean;
|
|
556
|
+
}, "strip", z.ZodTypeAny, {
|
|
557
|
+
propertySlug: string;
|
|
558
|
+
propertyId: string;
|
|
559
|
+
unitId: string;
|
|
560
|
+
styleId: string;
|
|
561
|
+
unitTitle: string;
|
|
562
|
+
unitSlug: string;
|
|
563
|
+
styleName: string;
|
|
564
|
+
unitBedrooms: number;
|
|
565
|
+
favoritedUnit: boolean;
|
|
566
|
+
utmSource: string;
|
|
567
|
+
utmMedium: string;
|
|
568
|
+
utmName: string;
|
|
569
|
+
}, {
|
|
570
|
+
propertySlug: string;
|
|
571
|
+
propertyId: string;
|
|
572
|
+
unitId: string;
|
|
573
|
+
styleId: string;
|
|
574
|
+
unitTitle: string;
|
|
575
|
+
unitSlug: string;
|
|
576
|
+
styleName: string;
|
|
577
|
+
unitBedrooms: number;
|
|
578
|
+
favoritedUnit: boolean;
|
|
579
|
+
utmSource: string;
|
|
580
|
+
utmMedium: string;
|
|
581
|
+
utmName: string;
|
|
582
|
+
}>;
|
|
174
583
|
declare const hoverUnitSchema: z.ZodObject<{
|
|
175
584
|
propertyId: z.ZodString;
|
|
176
585
|
propertySlug: z.ZodString;
|
|
@@ -454,6 +863,16 @@ export type QuestionnaireResultEvent = z.infer<typeof questionnaireResultSchema>
|
|
|
454
863
|
export type ClickUnitFavoritesEvent = z.infer<typeof clickUnitFavoritesSchema>;
|
|
455
864
|
export type ScheduleTourFormEvent = z.infer<typeof scheduleTourFormSchema>;
|
|
456
865
|
export type UnitUnfavoritedEvent = z.infer<typeof unitUnfavoritedSchema>;
|
|
866
|
+
export type GetInTouchFormEvent = z.infer<typeof getInTouchFormSchema>;
|
|
867
|
+
export type StyleDrawerEvent = z.infer<typeof styleDrawerSchema>;
|
|
868
|
+
export type FurnitureViewedEvent = z.infer<typeof furnitureViewedSchema>;
|
|
869
|
+
export type FurnitureExternalUrlClickedEvent = z.infer<typeof furnitureExternalUrlSchema>;
|
|
870
|
+
export type FurnitureSavedEvent = z.infer<typeof furnitureSavedSchema>;
|
|
871
|
+
export type FurnitureModalOpenedEvent = z.infer<typeof furnitureModalOpenedSchema>;
|
|
872
|
+
export type RoomEnteredEvent = z.infer<typeof roomEnteredSchema>;
|
|
873
|
+
export type RoomLeftEvent = z.infer<typeof roomLeftSchema>;
|
|
874
|
+
export type VideoStartedEvent = z.infer<typeof videoStartedSchema>;
|
|
875
|
+
export type EmailTrackedEvent = z.infer<typeof emailTrackedSchema>;
|
|
457
876
|
export type TrackingEventWithUnits = FilterEvent & {
|
|
458
877
|
trackingEvent: (payload: FilterEvent) => void;
|
|
459
878
|
[metadata: string]: unknown;
|
|
@@ -581,6 +1000,168 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn): {
|
|
|
581
1000
|
unitCountDate?: string | undefined;
|
|
582
1001
|
lifestylePreferences?: unknown;
|
|
583
1002
|
}) => void;
|
|
1003
|
+
trackGetInTouchFormOpened: (payload: {
|
|
1004
|
+
propertySlug: string;
|
|
1005
|
+
propertyId: string;
|
|
1006
|
+
unitId: string;
|
|
1007
|
+
styleId: string;
|
|
1008
|
+
propertyName: string;
|
|
1009
|
+
unitTitle: string;
|
|
1010
|
+
unitSlug: string;
|
|
1011
|
+
buttonName: string;
|
|
1012
|
+
formName: string;
|
|
1013
|
+
styleName: string;
|
|
1014
|
+
unitBedrooms: number;
|
|
1015
|
+
favoritedUnit: boolean;
|
|
1016
|
+
}) => void;
|
|
1017
|
+
trackGetInTouchFormSubmitted: (payload: {
|
|
1018
|
+
propertySlug: string;
|
|
1019
|
+
propertyId: string;
|
|
1020
|
+
unitId: string;
|
|
1021
|
+
styleId: string;
|
|
1022
|
+
propertyName: string;
|
|
1023
|
+
unitTitle: string;
|
|
1024
|
+
unitSlug: string;
|
|
1025
|
+
buttonName: string;
|
|
1026
|
+
formName: string;
|
|
1027
|
+
styleName: string;
|
|
1028
|
+
unitBedrooms: number;
|
|
1029
|
+
favoritedUnit: boolean;
|
|
1030
|
+
}) => void;
|
|
1031
|
+
trackStyleDrawerOpened: (payload: {
|
|
1032
|
+
propertySlug: string;
|
|
1033
|
+
propertyId: string;
|
|
1034
|
+
unitId: string;
|
|
1035
|
+
styleId: string;
|
|
1036
|
+
unitTitle: string;
|
|
1037
|
+
unitSlug: string;
|
|
1038
|
+
styleName: string;
|
|
1039
|
+
unitBedrooms: number;
|
|
1040
|
+
favoritedUnit: boolean;
|
|
1041
|
+
roomName: string;
|
|
1042
|
+
}) => void;
|
|
1043
|
+
trackStyleDrawerChanged: (payload: {
|
|
1044
|
+
propertySlug: string;
|
|
1045
|
+
propertyId: string;
|
|
1046
|
+
unitId: string;
|
|
1047
|
+
styleId: string;
|
|
1048
|
+
unitTitle: string;
|
|
1049
|
+
unitSlug: string;
|
|
1050
|
+
styleName: string;
|
|
1051
|
+
unitBedrooms: number;
|
|
1052
|
+
favoritedUnit: boolean;
|
|
1053
|
+
roomName: string;
|
|
1054
|
+
}) => void;
|
|
1055
|
+
trackFurnitureViewed: (payload: {
|
|
1056
|
+
propertySlug: string;
|
|
1057
|
+
propertyId: string;
|
|
1058
|
+
unitId: string;
|
|
1059
|
+
furnitureId: string;
|
|
1060
|
+
styleId: string;
|
|
1061
|
+
unitTitle: string;
|
|
1062
|
+
unitSlug: string;
|
|
1063
|
+
styleName: string;
|
|
1064
|
+
unitBedrooms: number;
|
|
1065
|
+
roomName: string;
|
|
1066
|
+
furnitureName: string;
|
|
1067
|
+
}) => void;
|
|
1068
|
+
trackFurnitureExternalUrlClicked: (payload: {
|
|
1069
|
+
type: string;
|
|
1070
|
+
propertySlug: string;
|
|
1071
|
+
propertyId: string;
|
|
1072
|
+
unitId: string;
|
|
1073
|
+
link: string;
|
|
1074
|
+
furnitureId: string;
|
|
1075
|
+
styleId: string;
|
|
1076
|
+
unitTitle: string;
|
|
1077
|
+
unitSlug: string;
|
|
1078
|
+
styleName: string;
|
|
1079
|
+
unitBedrooms: number;
|
|
1080
|
+
favoritedUnit: boolean;
|
|
1081
|
+
roomName: string;
|
|
1082
|
+
furnitureName: string;
|
|
1083
|
+
}) => void;
|
|
1084
|
+
trackFurnitureSaved: (payload: {
|
|
1085
|
+
propertySlug: string;
|
|
1086
|
+
propertyId: string;
|
|
1087
|
+
unitId: string;
|
|
1088
|
+
furnitureId: string;
|
|
1089
|
+
styleId: string;
|
|
1090
|
+
unitTitle: string;
|
|
1091
|
+
unitSlug: string;
|
|
1092
|
+
styleName: string;
|
|
1093
|
+
unitBedrooms: number;
|
|
1094
|
+
roomName: string;
|
|
1095
|
+
furnitureName: string;
|
|
1096
|
+
}) => void;
|
|
1097
|
+
trackFurnitureModalOpened: (payload: {
|
|
1098
|
+
propertySlug: string;
|
|
1099
|
+
propertyId: string;
|
|
1100
|
+
unitId: string;
|
|
1101
|
+
furnitureId: string;
|
|
1102
|
+
styleId: string;
|
|
1103
|
+
unitTitle: string;
|
|
1104
|
+
unitSlug: string;
|
|
1105
|
+
styleName: string;
|
|
1106
|
+
unitBedrooms: number;
|
|
1107
|
+
roomName: string;
|
|
1108
|
+
furnitureName: string;
|
|
1109
|
+
}) => void;
|
|
1110
|
+
trackRoomEntered: (payload: {
|
|
1111
|
+
propertySlug: string;
|
|
1112
|
+
propertyId: string;
|
|
1113
|
+
unitId: string;
|
|
1114
|
+
styleId: string;
|
|
1115
|
+
unitTitle: string;
|
|
1116
|
+
unitSlug: string;
|
|
1117
|
+
styleName: string;
|
|
1118
|
+
unitBedrooms: number;
|
|
1119
|
+
roomName: string;
|
|
1120
|
+
method: "Navigation" | "Map";
|
|
1121
|
+
}) => void;
|
|
1122
|
+
trackRoomLeft: (payload: {
|
|
1123
|
+
propertySlug: string;
|
|
1124
|
+
propertyId: string;
|
|
1125
|
+
unitId: string;
|
|
1126
|
+
styleId: string;
|
|
1127
|
+
unitTitle: string;
|
|
1128
|
+
unitSlug: string;
|
|
1129
|
+
styleName: string;
|
|
1130
|
+
unitBedrooms: number;
|
|
1131
|
+
roomName: string;
|
|
1132
|
+
method: "Navigation" | "Map";
|
|
1133
|
+
timeInRoom: number;
|
|
1134
|
+
}) => void;
|
|
1135
|
+
trackVideoStarted: (payload: {
|
|
1136
|
+
propertySlug: string;
|
|
1137
|
+
propertyId: string;
|
|
1138
|
+
unitId: string;
|
|
1139
|
+
styleId: string;
|
|
1140
|
+
unitTitle: string;
|
|
1141
|
+
unitSlug: string;
|
|
1142
|
+
styleName: string;
|
|
1143
|
+
unitBedrooms: number;
|
|
1144
|
+
roomName: string;
|
|
1145
|
+
method: "On Click Play";
|
|
1146
|
+
videoCurrentTime: number;
|
|
1147
|
+
videoDuration: number;
|
|
1148
|
+
videoPercent: number;
|
|
1149
|
+
videoFilename: string;
|
|
1150
|
+
}) => void;
|
|
1151
|
+
trackEmailRedirect: (payload: {
|
|
1152
|
+
propertySlug: string;
|
|
1153
|
+
propertyId: string;
|
|
1154
|
+
unitId: string;
|
|
1155
|
+
styleId: string;
|
|
1156
|
+
unitTitle: string;
|
|
1157
|
+
unitSlug: string;
|
|
1158
|
+
styleName: string;
|
|
1159
|
+
unitBedrooms: number;
|
|
1160
|
+
favoritedUnit: boolean;
|
|
1161
|
+
utmSource: string;
|
|
1162
|
+
utmMedium: string;
|
|
1163
|
+
utmName: string;
|
|
1164
|
+
}) => void;
|
|
584
1165
|
};
|
|
585
1166
|
export declare function useTrackingEvents(): {
|
|
586
1167
|
trackViewAllUnits: (payload: AnalyticsPayload<typeof viewAllUnitsSchema>) => void;
|
|
@@ -703,5 +1284,167 @@ export declare function useTrackingEvents(): {
|
|
|
703
1284
|
unitCountDate?: string | undefined;
|
|
704
1285
|
lifestylePreferences?: unknown;
|
|
705
1286
|
}) => void;
|
|
1287
|
+
trackGetInTouchFormOpened: (payload: {
|
|
1288
|
+
propertySlug: string;
|
|
1289
|
+
propertyId: string;
|
|
1290
|
+
unitId: string;
|
|
1291
|
+
styleId: string;
|
|
1292
|
+
propertyName: string;
|
|
1293
|
+
unitTitle: string;
|
|
1294
|
+
unitSlug: string;
|
|
1295
|
+
buttonName: string;
|
|
1296
|
+
formName: string;
|
|
1297
|
+
styleName: string;
|
|
1298
|
+
unitBedrooms: number;
|
|
1299
|
+
favoritedUnit: boolean;
|
|
1300
|
+
}) => void;
|
|
1301
|
+
trackGetInTouchFormSubmitted: (payload: {
|
|
1302
|
+
propertySlug: string;
|
|
1303
|
+
propertyId: string;
|
|
1304
|
+
unitId: string;
|
|
1305
|
+
styleId: string;
|
|
1306
|
+
propertyName: string;
|
|
1307
|
+
unitTitle: string;
|
|
1308
|
+
unitSlug: string;
|
|
1309
|
+
buttonName: string;
|
|
1310
|
+
formName: string;
|
|
1311
|
+
styleName: string;
|
|
1312
|
+
unitBedrooms: number;
|
|
1313
|
+
favoritedUnit: boolean;
|
|
1314
|
+
}) => void;
|
|
1315
|
+
trackStyleDrawerOpened: (payload: {
|
|
1316
|
+
propertySlug: string;
|
|
1317
|
+
propertyId: string;
|
|
1318
|
+
unitId: string;
|
|
1319
|
+
styleId: string;
|
|
1320
|
+
unitTitle: string;
|
|
1321
|
+
unitSlug: string;
|
|
1322
|
+
styleName: string;
|
|
1323
|
+
unitBedrooms: number;
|
|
1324
|
+
favoritedUnit: boolean;
|
|
1325
|
+
roomName: string;
|
|
1326
|
+
}) => void;
|
|
1327
|
+
trackStyleDrawerChanged: (payload: {
|
|
1328
|
+
propertySlug: string;
|
|
1329
|
+
propertyId: string;
|
|
1330
|
+
unitId: string;
|
|
1331
|
+
styleId: string;
|
|
1332
|
+
unitTitle: string;
|
|
1333
|
+
unitSlug: string;
|
|
1334
|
+
styleName: string;
|
|
1335
|
+
unitBedrooms: number;
|
|
1336
|
+
favoritedUnit: boolean;
|
|
1337
|
+
roomName: string;
|
|
1338
|
+
}) => void;
|
|
1339
|
+
trackFurnitureViewed: (payload: {
|
|
1340
|
+
propertySlug: string;
|
|
1341
|
+
propertyId: string;
|
|
1342
|
+
unitId: string;
|
|
1343
|
+
furnitureId: string;
|
|
1344
|
+
styleId: string;
|
|
1345
|
+
unitTitle: string;
|
|
1346
|
+
unitSlug: string;
|
|
1347
|
+
styleName: string;
|
|
1348
|
+
unitBedrooms: number;
|
|
1349
|
+
roomName: string;
|
|
1350
|
+
furnitureName: string;
|
|
1351
|
+
}) => void;
|
|
1352
|
+
trackFurnitureExternalUrlClicked: (payload: {
|
|
1353
|
+
type: string;
|
|
1354
|
+
propertySlug: string;
|
|
1355
|
+
propertyId: string;
|
|
1356
|
+
unitId: string;
|
|
1357
|
+
link: string;
|
|
1358
|
+
furnitureId: string;
|
|
1359
|
+
styleId: string;
|
|
1360
|
+
unitTitle: string;
|
|
1361
|
+
unitSlug: string;
|
|
1362
|
+
styleName: string;
|
|
1363
|
+
unitBedrooms: number;
|
|
1364
|
+
favoritedUnit: boolean;
|
|
1365
|
+
roomName: string;
|
|
1366
|
+
furnitureName: string;
|
|
1367
|
+
}) => void;
|
|
1368
|
+
trackFurnitureSaved: (payload: {
|
|
1369
|
+
propertySlug: string;
|
|
1370
|
+
propertyId: string;
|
|
1371
|
+
unitId: string;
|
|
1372
|
+
furnitureId: string;
|
|
1373
|
+
styleId: string;
|
|
1374
|
+
unitTitle: string;
|
|
1375
|
+
unitSlug: string;
|
|
1376
|
+
styleName: string;
|
|
1377
|
+
unitBedrooms: number;
|
|
1378
|
+
roomName: string;
|
|
1379
|
+
furnitureName: string;
|
|
1380
|
+
}) => void;
|
|
1381
|
+
trackFurnitureModalOpened: (payload: {
|
|
1382
|
+
propertySlug: string;
|
|
1383
|
+
propertyId: string;
|
|
1384
|
+
unitId: string;
|
|
1385
|
+
furnitureId: string;
|
|
1386
|
+
styleId: string;
|
|
1387
|
+
unitTitle: string;
|
|
1388
|
+
unitSlug: string;
|
|
1389
|
+
styleName: string;
|
|
1390
|
+
unitBedrooms: number;
|
|
1391
|
+
roomName: string;
|
|
1392
|
+
furnitureName: string;
|
|
1393
|
+
}) => void;
|
|
1394
|
+
trackRoomEntered: (payload: {
|
|
1395
|
+
propertySlug: string;
|
|
1396
|
+
propertyId: string;
|
|
1397
|
+
unitId: string;
|
|
1398
|
+
styleId: string;
|
|
1399
|
+
unitTitle: string;
|
|
1400
|
+
unitSlug: string;
|
|
1401
|
+
styleName: string;
|
|
1402
|
+
unitBedrooms: number;
|
|
1403
|
+
roomName: string;
|
|
1404
|
+
method: "Navigation" | "Map";
|
|
1405
|
+
}) => void;
|
|
1406
|
+
trackRoomLeft: (payload: {
|
|
1407
|
+
propertySlug: string;
|
|
1408
|
+
propertyId: string;
|
|
1409
|
+
unitId: string;
|
|
1410
|
+
styleId: string;
|
|
1411
|
+
unitTitle: string;
|
|
1412
|
+
unitSlug: string;
|
|
1413
|
+
styleName: string;
|
|
1414
|
+
unitBedrooms: number;
|
|
1415
|
+
roomName: string;
|
|
1416
|
+
method: "Navigation" | "Map";
|
|
1417
|
+
timeInRoom: number;
|
|
1418
|
+
}) => void;
|
|
1419
|
+
trackVideoStarted: (payload: {
|
|
1420
|
+
propertySlug: string;
|
|
1421
|
+
propertyId: string;
|
|
1422
|
+
unitId: string;
|
|
1423
|
+
styleId: string;
|
|
1424
|
+
unitTitle: string;
|
|
1425
|
+
unitSlug: string;
|
|
1426
|
+
styleName: string;
|
|
1427
|
+
unitBedrooms: number;
|
|
1428
|
+
roomName: string;
|
|
1429
|
+
method: "On Click Play";
|
|
1430
|
+
videoCurrentTime: number;
|
|
1431
|
+
videoDuration: number;
|
|
1432
|
+
videoPercent: number;
|
|
1433
|
+
videoFilename: string;
|
|
1434
|
+
}) => void;
|
|
1435
|
+
trackEmailRedirect: (payload: {
|
|
1436
|
+
propertySlug: string;
|
|
1437
|
+
propertyId: string;
|
|
1438
|
+
unitId: string;
|
|
1439
|
+
styleId: string;
|
|
1440
|
+
unitTitle: string;
|
|
1441
|
+
unitSlug: string;
|
|
1442
|
+
styleName: string;
|
|
1443
|
+
unitBedrooms: number;
|
|
1444
|
+
favoritedUnit: boolean;
|
|
1445
|
+
utmSource: string;
|
|
1446
|
+
utmMedium: string;
|
|
1447
|
+
utmName: string;
|
|
1448
|
+
}) => void;
|
|
706
1449
|
};
|
|
707
1450
|
export {};
|