@vrplatform/log 2.0.60 → 2.0.61
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.
|
@@ -103,11 +103,6 @@ export type TrackingEventProps = {
|
|
|
103
103
|
hyperline_trial_ended: HyperlineTrialEndedProps;
|
|
104
104
|
hyperline_subscription_created: HyperlineSubscriptionCreatedProps;
|
|
105
105
|
hyperline_subscription_cancellation_scheduled: HyperlineSubscriptionCancellationScheduledProps;
|
|
106
|
-
hyperline_subscription_activated: HyperlineSubscriptionActivatedProps;
|
|
107
|
-
hyperline_subscription_cancelled: HyperlineSubscriptionCancelledProps;
|
|
108
|
-
hyperline_subscription_errored: HyperlineSubscriptionErroredProps;
|
|
109
|
-
hyperline_subscription_paused: HyperlineSubscriptionPausedProps;
|
|
110
|
-
hyperline_subscription_voided: HyperlineSubscriptionVoidedProps;
|
|
111
106
|
hyperline_subscription_charged: HyperlineSubscriptionChargedProps;
|
|
112
107
|
hyperline_subscription_status_changed: HyperlineSubscriptionStatusChangedProps;
|
|
113
108
|
hyperline_customer_created: HyperlineCustomerCreatedProps;
|
|
@@ -141,6 +136,7 @@ export type TenantType = 'admin' | 'partner' | 'propertyManager';
|
|
|
141
136
|
export type TenantStatus = 'active' | 'inactive';
|
|
142
137
|
export type SubscriptionStatus = 'active' | 'cancelled' | 'draft' | 'errored' | 'paused' | 'pending' | 'voided';
|
|
143
138
|
export type OwnerStatementStatus = 'preview' | 'draft' | 'inReview' | 'void' | 'published' | 'posted';
|
|
139
|
+
export type TaxStatementStatus = 'draft' | 'ignored' | 'inReview' | 'ready' | 'submitted';
|
|
144
140
|
export type PaymentMethodType = 'card' | 'direct_debit' | 'direct_debit_ach' | 'direct_debit_bacs' | 'transfer' | 'transfer_automated' | 'external';
|
|
145
141
|
type AccountInvitationAcceptedProps = Partial<{
|
|
146
142
|
userId: string;
|
|
@@ -384,47 +380,6 @@ type HyperlineSubscriptionStatusChangedProps = Partial<{
|
|
|
384
380
|
mrr: number;
|
|
385
381
|
customerId: string;
|
|
386
382
|
}>;
|
|
387
|
-
type HyperlineSubscriptionActivatedProps = Partial<{
|
|
388
|
-
subscriptionId: string;
|
|
389
|
-
subscriptionStatus: SubscriptionStatus;
|
|
390
|
-
plan: string;
|
|
391
|
-
tenantId: string;
|
|
392
|
-
webhookEventType: 'subscription.activated';
|
|
393
|
-
}>;
|
|
394
|
-
type HyperlineSubscriptionCancelledProps = Partial<{
|
|
395
|
-
subscriptionId: string;
|
|
396
|
-
subscriptionStatus: SubscriptionStatus;
|
|
397
|
-
plan: string;
|
|
398
|
-
trialEndAt: string;
|
|
399
|
-
subscriptionStartDate: string;
|
|
400
|
-
paymentMethodType: string;
|
|
401
|
-
mrr: number;
|
|
402
|
-
customerId: string;
|
|
403
|
-
tenantId: string;
|
|
404
|
-
webhookEventType: 'subscription.cancelled';
|
|
405
|
-
}>;
|
|
406
|
-
type HyperlineSubscriptionErroredProps = Partial<{
|
|
407
|
-
subscriptionId: string;
|
|
408
|
-
subscriptionStatus: SubscriptionStatus;
|
|
409
|
-
plan: string;
|
|
410
|
-
userId: string;
|
|
411
|
-
tenantId: string;
|
|
412
|
-
webhookEventType: 'subscription.errored';
|
|
413
|
-
}>;
|
|
414
|
-
type HyperlineSubscriptionPausedProps = Partial<{
|
|
415
|
-
subscriptionId: string;
|
|
416
|
-
subscriptionStatus: SubscriptionStatus;
|
|
417
|
-
plan: string;
|
|
418
|
-
tenantId: string;
|
|
419
|
-
webhookEventType: 'subscription.paused';
|
|
420
|
-
}>;
|
|
421
|
-
type HyperlineSubscriptionVoidedProps = Partial<{
|
|
422
|
-
subscriptionId: string;
|
|
423
|
-
subscriptionStatus: SubscriptionStatus;
|
|
424
|
-
plan: string;
|
|
425
|
-
tenantId: string;
|
|
426
|
-
webhookEventType: 'subscription.voided';
|
|
427
|
-
}>;
|
|
428
383
|
type HyperlineTrialEndedProps = Partial<{
|
|
429
384
|
trialStartDate: string;
|
|
430
385
|
trialEndDate: string;
|
|
@@ -506,7 +461,7 @@ type SetupReservationImportedProps = Partial<{
|
|
|
506
461
|
}>;
|
|
507
462
|
type SetupVendorsSetProps = any;
|
|
508
463
|
type TaxStatementDownloadedProps = Partial<{
|
|
509
|
-
taxStatementStatus?:
|
|
464
|
+
taxStatementStatus?: TaxStatementStatus;
|
|
510
465
|
taxStatementId: string;
|
|
511
466
|
taxStatementUrl: string;
|
|
512
467
|
userType: string;
|
|
@@ -515,7 +470,7 @@ type TaxStatementDownloadedProps = Partial<{
|
|
|
515
470
|
tenantId: string;
|
|
516
471
|
}>;
|
|
517
472
|
type TaxStatementPreviewOpenedProps = Partial<{
|
|
518
|
-
taxStatementStatus?:
|
|
473
|
+
taxStatementStatus?: TaxStatementStatus;
|
|
519
474
|
taxStatementId: string;
|
|
520
475
|
taxStatementUrl: string;
|
|
521
476
|
userType: string;
|
|
@@ -103,11 +103,6 @@ export type TrackingEventProps = {
|
|
|
103
103
|
hyperline_trial_ended: HyperlineTrialEndedProps;
|
|
104
104
|
hyperline_subscription_created: HyperlineSubscriptionCreatedProps;
|
|
105
105
|
hyperline_subscription_cancellation_scheduled: HyperlineSubscriptionCancellationScheduledProps;
|
|
106
|
-
hyperline_subscription_activated: HyperlineSubscriptionActivatedProps;
|
|
107
|
-
hyperline_subscription_cancelled: HyperlineSubscriptionCancelledProps;
|
|
108
|
-
hyperline_subscription_errored: HyperlineSubscriptionErroredProps;
|
|
109
|
-
hyperline_subscription_paused: HyperlineSubscriptionPausedProps;
|
|
110
|
-
hyperline_subscription_voided: HyperlineSubscriptionVoidedProps;
|
|
111
106
|
hyperline_subscription_charged: HyperlineSubscriptionChargedProps;
|
|
112
107
|
hyperline_subscription_status_changed: HyperlineSubscriptionStatusChangedProps;
|
|
113
108
|
hyperline_customer_created: HyperlineCustomerCreatedProps;
|
|
@@ -141,6 +136,7 @@ export type TenantType = 'admin' | 'partner' | 'propertyManager';
|
|
|
141
136
|
export type TenantStatus = 'active' | 'inactive';
|
|
142
137
|
export type SubscriptionStatus = 'active' | 'cancelled' | 'draft' | 'errored' | 'paused' | 'pending' | 'voided';
|
|
143
138
|
export type OwnerStatementStatus = 'preview' | 'draft' | 'inReview' | 'void' | 'published' | 'posted';
|
|
139
|
+
export type TaxStatementStatus = 'draft' | 'ignored' | 'inReview' | 'ready' | 'submitted';
|
|
144
140
|
export type PaymentMethodType = 'card' | 'direct_debit' | 'direct_debit_ach' | 'direct_debit_bacs' | 'transfer' | 'transfer_automated' | 'external';
|
|
145
141
|
type AccountInvitationAcceptedProps = Partial<{
|
|
146
142
|
userId: string;
|
|
@@ -384,47 +380,6 @@ type HyperlineSubscriptionStatusChangedProps = Partial<{
|
|
|
384
380
|
mrr: number;
|
|
385
381
|
customerId: string;
|
|
386
382
|
}>;
|
|
387
|
-
type HyperlineSubscriptionActivatedProps = Partial<{
|
|
388
|
-
subscriptionId: string;
|
|
389
|
-
subscriptionStatus: SubscriptionStatus;
|
|
390
|
-
plan: string;
|
|
391
|
-
tenantId: string;
|
|
392
|
-
webhookEventType: 'subscription.activated';
|
|
393
|
-
}>;
|
|
394
|
-
type HyperlineSubscriptionCancelledProps = Partial<{
|
|
395
|
-
subscriptionId: string;
|
|
396
|
-
subscriptionStatus: SubscriptionStatus;
|
|
397
|
-
plan: string;
|
|
398
|
-
trialEndAt: string;
|
|
399
|
-
subscriptionStartDate: string;
|
|
400
|
-
paymentMethodType: string;
|
|
401
|
-
mrr: number;
|
|
402
|
-
customerId: string;
|
|
403
|
-
tenantId: string;
|
|
404
|
-
webhookEventType: 'subscription.cancelled';
|
|
405
|
-
}>;
|
|
406
|
-
type HyperlineSubscriptionErroredProps = Partial<{
|
|
407
|
-
subscriptionId: string;
|
|
408
|
-
subscriptionStatus: SubscriptionStatus;
|
|
409
|
-
plan: string;
|
|
410
|
-
userId: string;
|
|
411
|
-
tenantId: string;
|
|
412
|
-
webhookEventType: 'subscription.errored';
|
|
413
|
-
}>;
|
|
414
|
-
type HyperlineSubscriptionPausedProps = Partial<{
|
|
415
|
-
subscriptionId: string;
|
|
416
|
-
subscriptionStatus: SubscriptionStatus;
|
|
417
|
-
plan: string;
|
|
418
|
-
tenantId: string;
|
|
419
|
-
webhookEventType: 'subscription.paused';
|
|
420
|
-
}>;
|
|
421
|
-
type HyperlineSubscriptionVoidedProps = Partial<{
|
|
422
|
-
subscriptionId: string;
|
|
423
|
-
subscriptionStatus: SubscriptionStatus;
|
|
424
|
-
plan: string;
|
|
425
|
-
tenantId: string;
|
|
426
|
-
webhookEventType: 'subscription.voided';
|
|
427
|
-
}>;
|
|
428
383
|
type HyperlineTrialEndedProps = Partial<{
|
|
429
384
|
trialStartDate: string;
|
|
430
385
|
trialEndDate: string;
|
|
@@ -506,7 +461,7 @@ type SetupReservationImportedProps = Partial<{
|
|
|
506
461
|
}>;
|
|
507
462
|
type SetupVendorsSetProps = any;
|
|
508
463
|
type TaxStatementDownloadedProps = Partial<{
|
|
509
|
-
taxStatementStatus?:
|
|
464
|
+
taxStatementStatus?: TaxStatementStatus;
|
|
510
465
|
taxStatementId: string;
|
|
511
466
|
taxStatementUrl: string;
|
|
512
467
|
userType: string;
|
|
@@ -515,7 +470,7 @@ type TaxStatementDownloadedProps = Partial<{
|
|
|
515
470
|
tenantId: string;
|
|
516
471
|
}>;
|
|
517
472
|
type TaxStatementPreviewOpenedProps = Partial<{
|
|
518
|
-
taxStatementStatus?:
|
|
473
|
+
taxStatementStatus?: TaxStatementStatus;
|
|
519
474
|
taxStatementId: string;
|
|
520
475
|
taxStatementUrl: string;
|
|
521
476
|
userType: string;
|
package/package.json
CHANGED
package/src/tracking/types.ts
CHANGED
|
@@ -117,11 +117,6 @@ export type TrackingEventProps = {
|
|
|
117
117
|
hyperline_trial_ended: HyperlineTrialEndedProps;
|
|
118
118
|
hyperline_subscription_created: HyperlineSubscriptionCreatedProps;
|
|
119
119
|
hyperline_subscription_cancellation_scheduled: HyperlineSubscriptionCancellationScheduledProps;
|
|
120
|
-
hyperline_subscription_activated: HyperlineSubscriptionActivatedProps;
|
|
121
|
-
hyperline_subscription_cancelled: HyperlineSubscriptionCancelledProps;
|
|
122
|
-
hyperline_subscription_errored: HyperlineSubscriptionErroredProps;
|
|
123
|
-
hyperline_subscription_paused: HyperlineSubscriptionPausedProps;
|
|
124
|
-
hyperline_subscription_voided: HyperlineSubscriptionVoidedProps;
|
|
125
120
|
hyperline_subscription_charged: HyperlineSubscriptionChargedProps;
|
|
126
121
|
hyperline_subscription_status_changed: HyperlineSubscriptionStatusChangedProps;
|
|
127
122
|
hyperline_customer_created: HyperlineCustomerCreatedProps;
|
|
@@ -178,6 +173,12 @@ export type OwnerStatementStatus =
|
|
|
178
173
|
| 'void'
|
|
179
174
|
| 'published'
|
|
180
175
|
| 'posted';
|
|
176
|
+
export type TaxStatementStatus =
|
|
177
|
+
| 'draft'
|
|
178
|
+
| 'ignored'
|
|
179
|
+
| 'inReview'
|
|
180
|
+
| 'ready'
|
|
181
|
+
| 'submitted';
|
|
181
182
|
export type PaymentMethodType =
|
|
182
183
|
| 'card'
|
|
183
184
|
| 'direct_debit'
|
|
@@ -473,52 +474,6 @@ type HyperlineSubscriptionStatusChangedProps = Partial<{
|
|
|
473
474
|
customerId: string;
|
|
474
475
|
}>;
|
|
475
476
|
|
|
476
|
-
type HyperlineSubscriptionActivatedProps = Partial<{
|
|
477
|
-
subscriptionId: string;
|
|
478
|
-
subscriptionStatus: SubscriptionStatus;
|
|
479
|
-
plan: string;
|
|
480
|
-
tenantId: string;
|
|
481
|
-
webhookEventType: 'subscription.activated';
|
|
482
|
-
}>;
|
|
483
|
-
|
|
484
|
-
type HyperlineSubscriptionCancelledProps = Partial<{
|
|
485
|
-
subscriptionId: string;
|
|
486
|
-
subscriptionStatus: SubscriptionStatus;
|
|
487
|
-
plan: string;
|
|
488
|
-
trialEndAt: string;
|
|
489
|
-
subscriptionStartDate: string;
|
|
490
|
-
paymentMethodType: string;
|
|
491
|
-
mrr: number;
|
|
492
|
-
customerId: string;
|
|
493
|
-
tenantId: string;
|
|
494
|
-
webhookEventType: 'subscription.cancelled';
|
|
495
|
-
}>;
|
|
496
|
-
|
|
497
|
-
type HyperlineSubscriptionErroredProps = Partial<{
|
|
498
|
-
subscriptionId: string;
|
|
499
|
-
subscriptionStatus: SubscriptionStatus;
|
|
500
|
-
plan: string;
|
|
501
|
-
userId: string;
|
|
502
|
-
tenantId: string;
|
|
503
|
-
webhookEventType: 'subscription.errored';
|
|
504
|
-
}>;
|
|
505
|
-
|
|
506
|
-
type HyperlineSubscriptionPausedProps = Partial<{
|
|
507
|
-
subscriptionId: string;
|
|
508
|
-
subscriptionStatus: SubscriptionStatus;
|
|
509
|
-
plan: string;
|
|
510
|
-
tenantId: string;
|
|
511
|
-
webhookEventType: 'subscription.paused';
|
|
512
|
-
}>;
|
|
513
|
-
|
|
514
|
-
type HyperlineSubscriptionVoidedProps = Partial<{
|
|
515
|
-
subscriptionId: string;
|
|
516
|
-
subscriptionStatus: SubscriptionStatus;
|
|
517
|
-
plan: string;
|
|
518
|
-
tenantId: string;
|
|
519
|
-
webhookEventType: 'subscription.voided';
|
|
520
|
-
}>;
|
|
521
|
-
|
|
522
477
|
type HyperlineTrialEndedProps = Partial<{
|
|
523
478
|
trialStartDate: string;
|
|
524
479
|
trialEndDate: string;
|
|
@@ -625,7 +580,7 @@ type SetupReservationImportedProps = Partial<{
|
|
|
625
580
|
type SetupVendorsSetProps = any;
|
|
626
581
|
|
|
627
582
|
type TaxStatementDownloadedProps = Partial<{
|
|
628
|
-
taxStatementStatus?:
|
|
583
|
+
taxStatementStatus?: TaxStatementStatus;
|
|
629
584
|
taxStatementId: string;
|
|
630
585
|
taxStatementUrl: string;
|
|
631
586
|
userType: string;
|
|
@@ -635,7 +590,7 @@ type TaxStatementDownloadedProps = Partial<{
|
|
|
635
590
|
}>;
|
|
636
591
|
|
|
637
592
|
type TaxStatementPreviewOpenedProps = Partial<{
|
|
638
|
-
taxStatementStatus?:
|
|
593
|
+
taxStatementStatus?: TaxStatementStatus;
|
|
639
594
|
taxStatementId: string;
|
|
640
595
|
taxStatementUrl: string;
|
|
641
596
|
userType: string;
|