@vrplatform/log 2.0.27 → 2.0.28
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.
|
@@ -102,6 +102,7 @@ export type TrackingEventProps = {
|
|
|
102
102
|
hyperline_trial_ended: HyperlineTrialEndedProps;
|
|
103
103
|
hyperline_subscription_activated: HyperlineSubscriptionActivatedProps;
|
|
104
104
|
hyperline_subscription_cancelled: HyperlineSubscriptionCancelledProps;
|
|
105
|
+
hyperline_subscription_cancellation_scheduled: HyperlineSubscriptionCancellationScheduledProps;
|
|
105
106
|
hyperline_subscription_created: HyperlineSubscriptionCreatedProps;
|
|
106
107
|
hyperline_subscription_errored: HyperlineSubscriptionErroredProps;
|
|
107
108
|
hyperline_subscription_paused: HyperlineSubscriptionPausedProps;
|
|
@@ -343,6 +344,14 @@ type HyperlineSubscriptionCancelledProps = Partial<{
|
|
|
343
344
|
tenantId: string;
|
|
344
345
|
webhookEventType: 'subscription.cancelled';
|
|
345
346
|
}>;
|
|
347
|
+
type HyperlineSubscriptionCancellationScheduledProps = Partial<{
|
|
348
|
+
subscriptionId: string;
|
|
349
|
+
cancellationStrategy: 'charge_prorata' | 'charge_custom' | 'refund_prorata' | 'refund_custom' | 'end_of_period' | 'do_nothing';
|
|
350
|
+
cancelledAt: string;
|
|
351
|
+
customerId: string;
|
|
352
|
+
tenantId: string;
|
|
353
|
+
webhookEventType: 'subscription.cancellation_scheduled';
|
|
354
|
+
}>;
|
|
346
355
|
type HyperlineSubscriptionChargedProps = Partial<{
|
|
347
356
|
plan: string;
|
|
348
357
|
subscriptionId: string;
|
|
@@ -102,6 +102,7 @@ export type TrackingEventProps = {
|
|
|
102
102
|
hyperline_trial_ended: HyperlineTrialEndedProps;
|
|
103
103
|
hyperline_subscription_activated: HyperlineSubscriptionActivatedProps;
|
|
104
104
|
hyperline_subscription_cancelled: HyperlineSubscriptionCancelledProps;
|
|
105
|
+
hyperline_subscription_cancellation_scheduled: HyperlineSubscriptionCancellationScheduledProps;
|
|
105
106
|
hyperline_subscription_created: HyperlineSubscriptionCreatedProps;
|
|
106
107
|
hyperline_subscription_errored: HyperlineSubscriptionErroredProps;
|
|
107
108
|
hyperline_subscription_paused: HyperlineSubscriptionPausedProps;
|
|
@@ -343,6 +344,14 @@ type HyperlineSubscriptionCancelledProps = Partial<{
|
|
|
343
344
|
tenantId: string;
|
|
344
345
|
webhookEventType: 'subscription.cancelled';
|
|
345
346
|
}>;
|
|
347
|
+
type HyperlineSubscriptionCancellationScheduledProps = Partial<{
|
|
348
|
+
subscriptionId: string;
|
|
349
|
+
cancellationStrategy: 'charge_prorata' | 'charge_custom' | 'refund_prorata' | 'refund_custom' | 'end_of_period' | 'do_nothing';
|
|
350
|
+
cancelledAt: string;
|
|
351
|
+
customerId: string;
|
|
352
|
+
tenantId: string;
|
|
353
|
+
webhookEventType: 'subscription.cancellation_scheduled';
|
|
354
|
+
}>;
|
|
346
355
|
type HyperlineSubscriptionChargedProps = Partial<{
|
|
347
356
|
plan: string;
|
|
348
357
|
subscriptionId: string;
|
package/package.json
CHANGED
package/src/tracking/types.ts
CHANGED
|
@@ -116,6 +116,7 @@ export type TrackingEventProps = {
|
|
|
116
116
|
hyperline_trial_ended: HyperlineTrialEndedProps;
|
|
117
117
|
hyperline_subscription_activated: HyperlineSubscriptionActivatedProps;
|
|
118
118
|
hyperline_subscription_cancelled: HyperlineSubscriptionCancelledProps;
|
|
119
|
+
hyperline_subscription_cancellation_scheduled: HyperlineSubscriptionCancellationScheduledProps;
|
|
119
120
|
hyperline_subscription_created: HyperlineSubscriptionCreatedProps;
|
|
120
121
|
hyperline_subscription_errored: HyperlineSubscriptionErroredProps;
|
|
121
122
|
hyperline_subscription_paused: HyperlineSubscriptionPausedProps;
|
|
@@ -416,6 +417,21 @@ type HyperlineSubscriptionCancelledProps = Partial<{
|
|
|
416
417
|
webhookEventType: 'subscription.cancelled';
|
|
417
418
|
}>;
|
|
418
419
|
|
|
420
|
+
type HyperlineSubscriptionCancellationScheduledProps = Partial<{
|
|
421
|
+
subscriptionId: string;
|
|
422
|
+
cancellationStrategy:
|
|
423
|
+
| 'charge_prorata'
|
|
424
|
+
| 'charge_custom'
|
|
425
|
+
| 'refund_prorata'
|
|
426
|
+
| 'refund_custom'
|
|
427
|
+
| 'end_of_period'
|
|
428
|
+
| 'do_nothing';
|
|
429
|
+
cancelledAt: string;
|
|
430
|
+
customerId: string;
|
|
431
|
+
tenantId: string;
|
|
432
|
+
webhookEventType: 'subscription.cancellation_scheduled';
|
|
433
|
+
}>;
|
|
434
|
+
|
|
419
435
|
type HyperlineSubscriptionChargedProps = Partial<{
|
|
420
436
|
plan: string;
|
|
421
437
|
subscriptionId: string;
|