@vrplatform/log 2.0.0-alpha.44 → 2.0.0-alpha.47

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.
@@ -1,23 +1,267 @@
1
- import type { LogBindings } from '../log';
2
- import type { TrackingEvent } from './eventTypes';
3
-
4
- export type TrackingProps = {
5
- name: string;
6
- dataset: string;
7
- env: {
8
- INTERCOM_TOKEN?: string;
9
- JUNESO_TOKEN?: string;
10
- POSTHOG_TOKEN?: string;
11
- } & LogBindings;
12
- debugging?: boolean;
13
- };
1
+ export type TrackProps = OptionalUser<
2
+ {
3
+ groupId: string;
4
+ timestamp?: Date;
5
+ } & (
6
+ | {
7
+ event: 'account_invitation_accepted';
8
+ properties: AccountInvitationAcceptedProps;
9
+ }
10
+ | {
11
+ event: 'account_password_reset_completed';
12
+ properties: AccountPasswordResetCompletedProps;
13
+ }
14
+ | {
15
+ event: 'account_password_reset_failed';
16
+ properties: AccountPasswordResetFailedProps;
17
+ }
18
+ | {
19
+ event: 'account_password_reset_requested';
20
+ properties: AccountPasswordResetRequestedProps;
21
+ }
22
+ | {
23
+ event: 'account_signed_out';
24
+ properties: AccountSignedOutProps;
25
+ }
26
+ | {
27
+ event: 'account_signin_completed';
28
+ properties: AccountSigninCompletedProps;
29
+ }
30
+ | {
31
+ event: 'account_signup_code_completed';
32
+ properties: AccountSignupCodeCompletedProps;
33
+ }
34
+ | {
35
+ event: 'account_signup_code_failed';
36
+ properties: AccountSignupCodeFailedProps;
37
+ }
38
+ | {
39
+ event: 'account_signup_code_requested';
40
+ properties: AccountSignupCodeRequestedProps;
41
+ }
42
+ | {
43
+ event: 'account_signup_completed';
44
+ properties: AccountSignupCompletedProps;
45
+ }
46
+ | {
47
+ event: 'automation_created';
48
+ properties: AutomationCreatedProps;
49
+ }
50
+ | {
51
+ event: 'automation_deleted';
52
+ properties: AutomationDeletedProps;
53
+ }
54
+ | {
55
+ event: 'automation_updated';
56
+ properties: AutomationUpdated;
57
+ }
58
+ | {
59
+ event: 'connection_created';
60
+ properties: ConnectionCreatedProps;
61
+ }
62
+ | {
63
+ event: 'connection_deleted';
64
+ properties: ConnectionDeletedProps;
65
+ }
66
+ | {
67
+ event: 'connection_reconnected';
68
+ properties: ConnectionReconnectedProps;
69
+ }
70
+ | {
71
+ event: 'connection_requested';
72
+ properties: ConnectionRequestedProps;
73
+ }
74
+ | {
75
+ event: 'gl_owner_statement_downloaded';
76
+ properties: GlOwnerStatementDownloadedProps;
77
+ }
78
+ | {
79
+ event: 'gl_owner_statement_preview_opened';
80
+ properties: GlOwnerStatementPreviewOpenedProps;
81
+ }
82
+ | {
83
+ event: 'hyperline_customer_created';
84
+ properties: HyperlineCustomerCreatedProps;
85
+ }
86
+ | {
87
+ event: 'hyperline_customer_updated';
88
+ properties: HyperlineCustomerUpdatedProps;
89
+ }
90
+ | {
91
+ event: 'hyperline_invoice_ready';
92
+ properties: HyperlineInvoiceReadyProps;
93
+ }
94
+ | {
95
+ event: 'hyperline_invoice_settled';
96
+ properties: HyperlineInvoiceSettledProps;
97
+ }
98
+ | {
99
+ event: 'hyperline_payment_method_created';
100
+ properties: HyperlinePaymentMethodCreatedProps;
101
+ }
102
+ | {
103
+ event: 'hyperline_payment_method_deleted';
104
+ properties: HyperlinePaymentMethodDeletedProps;
105
+ }
106
+ | {
107
+ event: 'hyperline_payment_method_errored';
108
+ properties: HyperlinePaymentMethodErroredProps;
109
+ }
110
+ | {
111
+ event: 'hyperline_subscription_activated';
112
+ properties: HyperlineSubscriptionActivatedProps;
113
+ }
114
+ | {
115
+ event: 'hyperline_subscription_cancelled';
116
+ properties: HyperlineSubscriptionCancelledProps;
117
+ }
118
+ | {
119
+ event: 'hyperline_subscription_charged';
120
+ properties: HyperlineSubscriptionChargedProps;
121
+ }
122
+ | {
123
+ event: 'hyperline_subscription_created';
124
+ properties: HyperlineSubscriptionCreatedProps;
125
+ }
126
+ | {
127
+ event: 'hyperline_subscription_errored';
128
+ properties: HyperlineSubscriptionErroredProps;
129
+ }
130
+ | {
131
+ event: 'hyperline_subscription_paused';
132
+ properties: HyperlineSubscriptionPausedProps;
133
+ }
134
+ | {
135
+ event: 'hyperline_subscription_voided';
136
+ properties: HyperlineSubscriptionVoidedProps;
137
+ }
138
+ | {
139
+ event: 'hyperline_trial_ended';
140
+ properties: HyperlineTrialEndedProps;
141
+ }
142
+ | {
143
+ event: 'hyperline_trial_started';
144
+ properties: HyperlineTrialStartedProps;
145
+ }
146
+ | {
147
+ event: 'owner_created';
148
+ properties: OwnerCreatedProps;
149
+ }
150
+ | {
151
+ event: 'owner_deleted';
152
+ properties: OwnerDeletedProps;
153
+ }
154
+ | {
155
+ event: 'owner_tax_info_modal_opened';
156
+ properties: OwnerTaxInfoModalOpenedProps;
157
+ }
158
+ | {
159
+ event: 'owner_tax_info_modal_submitted';
160
+ properties: OwnerTaxInfoModalSubmittedProps;
161
+ }
162
+ | {
163
+ event: 'owner_updated';
164
+ properties: OwnerUpdatedProps;
165
+ }
166
+ | {
167
+ event: 'ownership_created';
168
+ properties: OwnershipCreatedProps;
169
+ }
170
+ | {
171
+ event: 'ownership_deleted';
172
+ properties: OwnershipDeletedProps;
173
+ }
174
+ | {
175
+ event: 'ownership_updated';
176
+ properties: OwnershipUpdatedProps;
177
+ }
178
+ | {
179
+ event: 'setup_accounting_config_completed';
180
+ properties: SetupAccountingConfigCompleted;
181
+ }
182
+ | {
183
+ event: 'setup_accounting_version_completed';
184
+ properties: SetupAccountingVersionCompleted;
185
+ }
186
+ | {
187
+ event: 'setup_classes_set';
188
+ properties: SetupClassesSet;
189
+ }
190
+ | {
191
+ event: 'setup_entities_set';
192
+ properties: SetupEntitiesSet;
193
+ }
194
+ | {
195
+ event: 'setup_listing_imported';
196
+ properties: SetupListingImportedProps;
197
+ }
198
+ | {
199
+ event: 'setup_owner_imported';
200
+ properties: SetupOwnerImportedProps;
201
+ }
202
+ | {
203
+ event: 'setup_reservation_imported';
204
+ properties: SetupReservationImportedProps;
205
+ }
206
+ | {
207
+ event: 'setup_vendors_set';
208
+ properties: SetupVendorsSet;
209
+ }
210
+ | {
211
+ event: 'tax_statement_downloaded';
212
+ properties: TaxStatementDownloadedProps;
213
+ }
214
+ | {
215
+ event: 'tax_statement_preview_opened';
216
+ properties: TaxStatementPreviewOpenedProps;
217
+ }
218
+ | {
219
+ event: 'team_added';
220
+ properties: TeamAddedProps;
221
+ }
222
+ | {
223
+ event: 'team_deleted';
224
+ properties: TeamDeletedProps;
225
+ }
226
+ | {
227
+ event: 'team_info_updated';
228
+ properties: TeamInfoUpdatedProps;
229
+ }
230
+ | {
231
+ event: 'team_member_removed';
232
+ properties: TeamMemberRemovedProps;
233
+ }
234
+ | {
235
+ event: 'test_error';
236
+ properties: TestErrorProps;
237
+ }
238
+ | {
239
+ event: 'test_event';
240
+ properties: TestEventProps;
241
+ }
242
+ | {
243
+ event: 'user_forced_reloaded';
244
+ properties: UserForcedReloadedProps;
245
+ }
246
+ | {
247
+ event: 'owner_statement_opened';
248
+ properties: OwnerStatementOpenedProps;
249
+ }
250
+ | {
251
+ event: 'listing_activated';
252
+ properties: ListingActivated;
253
+ }
254
+ | {
255
+ event: 'listing_deactivated';
256
+ properties: ListingDeactivated;
257
+ }
258
+ | {
259
+ event: 'listings_reported';
260
+ properties: ListingsReported;
261
+ }
262
+ )
263
+ >;
14
264
 
15
- export type TrackProps = OptionalUser<{
16
- groupId: string;
17
- event: TrackingEvent;
18
- properties: Record<string, string | number | boolean | null | undefined>;
19
- timestamp?: Date;
20
- }>;
21
265
  export type IdentifyProps = {
22
266
  userId: string;
23
267
  traits?: {
@@ -39,10 +283,11 @@ export type IdentifyProps = {
39
283
  disableGeoip?: boolean;
40
284
  timestamp?: Date;
41
285
  };
286
+
42
287
  export type GroupProps = OptionalUser<{
43
288
  groupId: string;
44
- traits: {
45
- name: string;
289
+ traits?: {
290
+ name?: string;
46
291
  type?: TenantType;
47
292
  avatar?: string;
48
293
  createdAt?: string;
@@ -85,3 +330,542 @@ type OptionalUser<T> = T &
85
330
  anonymousId: string;
86
331
  }
87
332
  );
333
+
334
+ type AuthEvent =
335
+ | 'account_signin_completed'
336
+ | 'account_signup_code_requested'
337
+ | 'account_signup_code_completed'
338
+ | 'account_signup_code_failed'
339
+ | 'account_signup_completed'
340
+ | 'account_password_reset_requested'
341
+ | 'account_password_reset_failed'
342
+ | 'account_password_reset_completed'
343
+ | 'account_invitation_accepted'
344
+ | 'account_signed_out';
345
+
346
+ type TeamEvent =
347
+ | 'team_added'
348
+ | 'team_info_updated'
349
+ | 'team_deleted'
350
+ | 'team_member_removed';
351
+
352
+ type ConnectionEvent =
353
+ | 'connection_created'
354
+ | 'connection_reconnected'
355
+ | 'connection_deleted'
356
+ | 'connection_requested';
357
+
358
+ type OwnershipEvent =
359
+ | 'ownership_created'
360
+ | 'ownership_updated'
361
+ | 'ownership_deleted';
362
+
363
+ type OwnerEvent =
364
+ | 'owner_created'
365
+ | 'owner_updated'
366
+ | 'owner_deleted'
367
+ | 'owner_tax_info_modal_opened'
368
+ | 'owner_tax_info_modal_submitted';
369
+
370
+ type SetupEvent =
371
+ | 'setup_classes_set'
372
+ | 'setup_accounting_version_completed'
373
+ | 'setup_accounting_config_completed'
374
+ | 'setup_owner_imported'
375
+ | 'setup_listing_imported';
376
+
377
+ type AutomationEvent =
378
+ | 'automation_created'
379
+ | 'automation_updated'
380
+ | 'automation_deleted';
381
+
382
+ type TaxStatementEvent =
383
+ | 'tax_statement_preview_opened'
384
+ | 'tax_statement_downloaded';
385
+
386
+ type GLOwnerStatementEvent =
387
+ | 'gl_owner_statement_preview_opened'
388
+ | 'gl_owner_statement_downloaded';
389
+
390
+ type HyperlineEvent =
391
+ | 'hyperline_invoice_ready'
392
+ | 'hyperline_invoice_settled'
393
+ | 'hyperline_trial_started'
394
+ | 'hyperline_trial_ended'
395
+ | 'hyperline_subscription_activated'
396
+ | 'hyperline_subscription_cancelled'
397
+ | 'hyperline_subscription_created'
398
+ | 'hyperline_subscription_errored'
399
+ | 'hyperline_subscription_paused'
400
+ | 'hyperline_subscription_voided'
401
+ | 'hyperline_subscription_charged'
402
+ | 'hyperline_customer_created'
403
+ | 'hyperline_customer_updated'
404
+ | 'hyperline_payment_method_created'
405
+ | 'hyperline_payment_method_errored'
406
+ | 'hyperline_payment_method_deleted';
407
+
408
+ type ListingEvent = 'listing_activated' | 'listing_deactivated';
409
+
410
+ type ReportEvent = 'listings_reported';
411
+
412
+ type UserEvent = 'update_refresh_accepted' | 'owner_statement_opened';
413
+
414
+ type TestEvent = 'test_event' | 'test_error';
415
+
416
+ export type TrackingEvent =
417
+ | AuthEvent
418
+ | TeamEvent
419
+ | ConnectionEvent
420
+ | OwnershipEvent
421
+ | OwnerEvent
422
+ | SetupEvent
423
+ | AutomationEvent
424
+ | TaxStatementEvent
425
+ | GLOwnerStatementEvent
426
+ | HyperlineEvent
427
+ | UserEvent
428
+ | ListingEvent
429
+ | ReportEvent
430
+ | TestEvent;
431
+
432
+ type AccountInvitationAcceptedProps = {
433
+ userId: string;
434
+ userEmail: string;
435
+ userRole: 'owner' | 'user' | 'admin';
436
+ tenantId: string;
437
+ isNewUser: boolean;
438
+ };
439
+
440
+ type AccountPasswordResetCompletedProps = {
441
+ userEmail: string;
442
+ };
443
+
444
+ type AccountPasswordResetFailedProps = {
445
+ userEmail: string;
446
+ status: string;
447
+ };
448
+
449
+ type AccountPasswordResetRequestedProps = {
450
+ userEmail: string;
451
+ };
452
+
453
+ type AccountSignedOutProps = {
454
+ userId: string;
455
+ userEmail: string;
456
+ tenantId: string;
457
+ firstName: string;
458
+ lastName: string;
459
+ };
460
+
461
+ type AccountSigninCompletedProps = {
462
+ firstName: string;
463
+ lastName: string;
464
+ userEmail: string;
465
+ };
466
+
467
+ type AccountSignupCodeCompletedProps = {
468
+ firstName: string;
469
+ lastName: string;
470
+ userEmail: string;
471
+ companyName: string;
472
+ type: string;
473
+ };
474
+
475
+ type AccountSignupCodeFailedProps = {
476
+ firstName: string;
477
+ lastName: string;
478
+ userEmail: string;
479
+ companyName: string;
480
+ type: string;
481
+ status: string;
482
+ };
483
+
484
+ type AccountSignupCodeRequestedProps = {
485
+ firstName: string;
486
+ lastName: string;
487
+ userEmail: string;
488
+ companyName: string;
489
+ type: string;
490
+ };
491
+
492
+ type AccountSignupCompletedProps = {
493
+ tenantId: string;
494
+ userEmail: string;
495
+ firstName: string;
496
+ lastName: string;
497
+ userId: string;
498
+ };
499
+
500
+ type AutomationCreatedProps = {
501
+ automationId: string;
502
+ templateId: string;
503
+ type: string;
504
+ uniqueRef: string;
505
+ userId: string;
506
+ userEmail: string;
507
+ tenantId: string;
508
+ };
509
+
510
+ type AutomationDeletedProps = {
511
+ automationId: string;
512
+ templateId: string;
513
+ type: string;
514
+ uniqueRef: string;
515
+ userId: string;
516
+ userEmail: string;
517
+ tenantId: string;
518
+ };
519
+
520
+ type AutomationUpdated = any;
521
+
522
+ type ConnectionCreatedProps = {
523
+ connectionId: string;
524
+ tenantId: string;
525
+ userId: string;
526
+ userEmail: string;
527
+ appId: string;
528
+ type: string;
529
+ };
530
+
531
+ type ConnectionDeletedProps = {
532
+ connectionId: string;
533
+ tenantId: string;
534
+ type: string;
535
+ userId: string;
536
+ appId: string;
537
+ userEmail: string;
538
+ };
539
+
540
+ type ConnectionReconnectedProps = {
541
+ connectionId: string;
542
+ tenantId: string;
543
+ userId: string;
544
+ userEmail: string;
545
+ appId: string;
546
+ };
547
+
548
+ type ConnectionRequestedProps = {
549
+ type: string;
550
+ website: string;
551
+ userId: string;
552
+ userEmail: string;
553
+ tenantId: string;
554
+ };
555
+
556
+ type GlOwnerStatementDownloadedProps = {
557
+ ownerStatementId: string;
558
+ ownerStatementUrls: string[];
559
+ userType: string;
560
+ };
561
+
562
+ type GlOwnerStatementPreviewOpenedProps = {
563
+ ownerStatementStatus: string;
564
+ ownerStatementId: string;
565
+ ownerStatementUrls: string[];
566
+ userType: string;
567
+ };
568
+
569
+ type HyperlineCustomerCreatedProps = {
570
+ userId: string;
571
+ tenantId: string;
572
+ customerId: string;
573
+ };
574
+
575
+ type HyperlineCustomerUpdatedProps = {
576
+ userId: string;
577
+ tenantId: string;
578
+ customerId: string;
579
+ };
580
+
581
+ type HyperlineInvoiceReadyProps = {
582
+ status: string;
583
+ paymentMethodType: string;
584
+ invoiceId: string;
585
+ amount: number;
586
+ amountOrigin: number;
587
+ currency: string;
588
+ customerId: string;
589
+ taxAmount: string;
590
+ readyAt: string;
591
+ };
592
+
593
+ type HyperlineInvoiceSettledProps = {
594
+ status: string;
595
+ paymentMethodType: string;
596
+ invoiceId: string;
597
+ amount: number;
598
+ amountOrigin: number;
599
+ currency: string;
600
+ customerId: string;
601
+ taxAmount: string;
602
+ settledAt: string;
603
+ };
604
+
605
+ type HyperlinePaymentMethodCreatedProps = {
606
+ userId: string;
607
+ tenantId: string;
608
+ payloadCreatedAt: string;
609
+ payloadType: string;
610
+ payloadState: string;
611
+ payloadId: string;
612
+ payloadCustomerId: string;
613
+ webhookEventType: string;
614
+ };
615
+
616
+ type HyperlinePaymentMethodDeletedProps = {
617
+ userId: string;
618
+ tenantId: string;
619
+ payloadCreatedAt: string;
620
+ payloadType: string;
621
+ payloadState: string;
622
+ payloadId: string;
623
+ payloadCustomerId: string;
624
+ webhookEventType: string;
625
+ };
626
+
627
+ type HyperlinePaymentMethodErroredProps = {
628
+ userId: string;
629
+ tenantId: string;
630
+ payloadCreatedAt: string;
631
+ payloadType: string;
632
+ payloadState: string;
633
+ payloadId: string;
634
+ payloadCustomerId: string;
635
+ webhookEventType: string;
636
+ };
637
+
638
+ type HyperlineSubscriptionActivatedProps = {
639
+ userId: string;
640
+ tenantId: string;
641
+ tenantBillingStatus: string;
642
+ webhookEventType: string;
643
+ };
644
+
645
+ type HyperlineSubscriptionCancelledProps = {
646
+ trialEndAt: string;
647
+ plan: string;
648
+ subscriptionId: string;
649
+ subscriptionStartDate: string;
650
+ subscriptionStatus: string;
651
+ paymentMethodType: string;
652
+ customerId: string;
653
+ userId: string;
654
+ tenantId: string;
655
+ webhookEventType: string;
656
+ tenantBillingStatus: string;
657
+ };
658
+
659
+ type HyperlineSubscriptionChargedProps = {
660
+ plan: string;
661
+ subscriptionId: string;
662
+ subscriptionStartDate: string;
663
+ subscriptionStatus: string;
664
+ paymentMethodType: string;
665
+ customerId: string;
666
+ };
667
+
668
+ type HyperlineSubscriptionCreatedProps = {
669
+ trialStartDate: string;
670
+ plan: string;
671
+ subscriptionId: string;
672
+ subscriptionStartDate: string;
673
+ subscriptionStatus: string;
674
+ paymentMethodType: string;
675
+ customerId: string;
676
+ };
677
+
678
+ type HyperlineSubscriptionErroredProps = {
679
+ userId: string;
680
+ tenantId: string;
681
+ tenantBillingStatus: string;
682
+ webhookEventType: string;
683
+ };
684
+
685
+ type HyperlineSubscriptionPausedProps = {
686
+ userId: string;
687
+ tenantId: string;
688
+ tenantBillingStatus: string;
689
+ webhookEventType: string;
690
+ };
691
+
692
+ type HyperlineSubscriptionVoidedProps = {
693
+ userId: string;
694
+ tenantId: string;
695
+ tenantBillingStatus: string;
696
+ webhookEventType: string;
697
+ };
698
+
699
+ type HyperlineTrialEndedProps = {
700
+ trialStartDate: string;
701
+ trialEndDate: string;
702
+ plan: string;
703
+ subscriptionId: string;
704
+ subscriptionStartDate: string;
705
+ subscriptionStatus: string;
706
+ paymentMethodType: string;
707
+ };
708
+
709
+ type HyperlineTrialStartedProps = {
710
+ tenantId: string;
711
+ userId: string;
712
+ tenantBillingStatus: string;
713
+ webhookEventType: string;
714
+ };
715
+
716
+ type OwnerCreatedProps = {
717
+ userId: string;
718
+ tenantId: string;
719
+ ownerId: string;
720
+ };
721
+
722
+ type OwnerDeletedProps = {
723
+ userId: string;
724
+ tenantId: string;
725
+ ownerId: string;
726
+ };
727
+
728
+ type OwnerTaxInfoModalOpenedProps = {
729
+ userId: string;
730
+ tenantId: string;
731
+ ownerId: string;
732
+ taxId: string;
733
+ };
734
+
735
+ type OwnerTaxInfoModalSubmittedProps = {
736
+ userId: string;
737
+ tenantId: string;
738
+ ownerId: string;
739
+ taxId: string;
740
+ status: string;
741
+ };
742
+
743
+ type OwnerUpdatedProps = {
744
+ userId: string;
745
+ tenantId: string;
746
+ ownerId: string;
747
+ };
748
+
749
+ type OwnershipCreatedProps = {
750
+ ownershipId: string;
751
+ ownerId: string;
752
+ listingId: string;
753
+ userId: string;
754
+ userEmail: string;
755
+ tenantId: string;
756
+ };
757
+
758
+ type OwnershipDeletedProps = {
759
+ ownershipId: string;
760
+ ownerId: string;
761
+ listingId: string;
762
+ userId: string;
763
+ userEmail: string;
764
+ tenantId: string;
765
+ };
766
+
767
+ type OwnershipUpdatedProps = {
768
+ ownershipId: string;
769
+ ownerId: string;
770
+ listingId: string;
771
+ userId: string;
772
+ userEmail: string;
773
+ tenantId: string;
774
+ };
775
+
776
+ type SetupAccountingConfigCompleted = any;
777
+
778
+ type SetupAccountingVersionCompleted = any;
779
+
780
+ type SetupClassesSet = any;
781
+
782
+ type SetupEntitiesSet = any;
783
+
784
+ type SetupListingImportedProps = {
785
+ appId: string;
786
+ };
787
+
788
+ type SetupOwnerImportedProps = {
789
+ appId: string;
790
+ };
791
+
792
+ type SetupReservationImportedProps = {
793
+ appId: string;
794
+ };
795
+
796
+ type SetupVendorsSet = any;
797
+
798
+ type TaxStatementDownloadedProps = {
799
+ taxStatementStatus: string;
800
+ taxStatementId: string;
801
+ taxStatementUrl: string;
802
+ userType: string;
803
+ userId: string;
804
+ userEmail: string;
805
+ tenantId: string;
806
+ };
807
+
808
+ type TaxStatementPreviewOpenedProps = {
809
+ taxStatementStatus: string;
810
+ taxStatementId: string;
811
+ taxStatementUrl: string;
812
+ userType: string;
813
+ userId: string;
814
+ userEmail: string;
815
+ tenantId: string;
816
+ };
817
+
818
+ type TeamAddedProps = {
819
+ tenantId: string;
820
+ tenantName: string;
821
+ partnerId: string;
822
+ userType: string;
823
+ userId: string;
824
+ userEmail: string;
825
+ };
826
+
827
+ type TeamDeletedProps = {
828
+ tenantId: string;
829
+ userId: string;
830
+ userEmail: string;
831
+ };
832
+
833
+ type TeamInfoUpdatedProps = {
834
+ userId: string;
835
+ tenantId: string;
836
+ userEmail: string;
837
+ };
838
+
839
+ type TeamMemberRemovedProps = {
840
+ userId: string;
841
+ removedUserId: string;
842
+ tenantId: string;
843
+ userEmail: string;
844
+ };
845
+
846
+ type TestErrorProps = {
847
+ userId: string;
848
+ tenantId: string;
849
+ };
850
+
851
+ type TestEventProps = {
852
+ success: string;
853
+ };
854
+
855
+ type UserForcedReloadedProps = {
856
+ appName: string;
857
+ };
858
+
859
+ type OwnerStatementOpenedProps = {
860
+ userId: string;
861
+ tenantId: string;
862
+ userEmail: string;
863
+ listingId: string;
864
+ startAt: string;
865
+ };
866
+
867
+ type ListingActivated = any;
868
+
869
+ type ListingDeactivated = any;
870
+
871
+ type ListingsReported = any;