@vrplatform/log 2.0.22 → 2.0.23
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.
|
@@ -53,7 +53,7 @@ export type GroupProps = OptionalUser<{
|
|
|
53
53
|
};
|
|
54
54
|
timestamp?: Date;
|
|
55
55
|
}>;
|
|
56
|
-
type TrackingEventProps = {
|
|
56
|
+
export type TrackingEventProps = {
|
|
57
57
|
account_invitation_accepted: AccountInvitationAcceptedProps;
|
|
58
58
|
account_signed_out: AccountSignedOutProps;
|
|
59
59
|
account_signin_completed: AccountSigninCompletedProps;
|
|
@@ -322,7 +322,7 @@ type HyperlinePaymentMethodErroredProps = Partial<{
|
|
|
322
322
|
type HyperlineSubscriptionActivatedProps = Partial<{
|
|
323
323
|
userId: string;
|
|
324
324
|
tenantId: string;
|
|
325
|
-
|
|
325
|
+
subscriptionStatus: SubscriptionStatus;
|
|
326
326
|
webhookEventType: 'subscription.activated';
|
|
327
327
|
}>;
|
|
328
328
|
type HyperlineSubscriptionCancelledProps = Partial<{
|
|
@@ -336,7 +336,6 @@ type HyperlineSubscriptionCancelledProps = Partial<{
|
|
|
336
336
|
userId: string;
|
|
337
337
|
tenantId: string;
|
|
338
338
|
webhookEventType: 'subscription.cancelled';
|
|
339
|
-
tenantBillingStatus: 'pending' | 'active' | 'canceled';
|
|
340
339
|
}>;
|
|
341
340
|
type HyperlineSubscriptionChargedProps = Partial<{
|
|
342
341
|
plan: string;
|
|
@@ -358,19 +357,19 @@ type HyperlineSubscriptionCreatedProps = Partial<{
|
|
|
358
357
|
type HyperlineSubscriptionErroredProps = Partial<{
|
|
359
358
|
userId: string;
|
|
360
359
|
tenantId: string;
|
|
361
|
-
|
|
360
|
+
subscriptionStatus: SubscriptionStatus;
|
|
362
361
|
webhookEventType: 'subscription.errored';
|
|
363
362
|
}>;
|
|
364
363
|
type HyperlineSubscriptionPausedProps = Partial<{
|
|
365
364
|
userId: string;
|
|
366
365
|
tenantId: string;
|
|
367
|
-
|
|
366
|
+
subscriptionStatus: SubscriptionStatus;
|
|
368
367
|
webhookEventType: 'subscription.paused';
|
|
369
368
|
}>;
|
|
370
369
|
type HyperlineSubscriptionVoidedProps = Partial<{
|
|
371
370
|
userId: string;
|
|
372
371
|
tenantId: string;
|
|
373
|
-
|
|
372
|
+
subscriptionStatus: SubscriptionStatus;
|
|
374
373
|
webhookEventType: 'subscription.voided';
|
|
375
374
|
}>;
|
|
376
375
|
type HyperlineTrialEndedProps = Partial<{
|
|
@@ -385,7 +384,7 @@ type HyperlineTrialEndedProps = Partial<{
|
|
|
385
384
|
type HyperlineTrialStartedProps = Partial<{
|
|
386
385
|
tenantId: string;
|
|
387
386
|
userId: string;
|
|
388
|
-
|
|
387
|
+
subscriptionStatus: SubscriptionStatus;
|
|
389
388
|
trialUntil: string;
|
|
390
389
|
webhookEventType: 'payment_method.created';
|
|
391
390
|
}>;
|
|
@@ -53,7 +53,7 @@ export type GroupProps = OptionalUser<{
|
|
|
53
53
|
};
|
|
54
54
|
timestamp?: Date;
|
|
55
55
|
}>;
|
|
56
|
-
type TrackingEventProps = {
|
|
56
|
+
export type TrackingEventProps = {
|
|
57
57
|
account_invitation_accepted: AccountInvitationAcceptedProps;
|
|
58
58
|
account_signed_out: AccountSignedOutProps;
|
|
59
59
|
account_signin_completed: AccountSigninCompletedProps;
|
|
@@ -322,7 +322,7 @@ type HyperlinePaymentMethodErroredProps = Partial<{
|
|
|
322
322
|
type HyperlineSubscriptionActivatedProps = Partial<{
|
|
323
323
|
userId: string;
|
|
324
324
|
tenantId: string;
|
|
325
|
-
|
|
325
|
+
subscriptionStatus: SubscriptionStatus;
|
|
326
326
|
webhookEventType: 'subscription.activated';
|
|
327
327
|
}>;
|
|
328
328
|
type HyperlineSubscriptionCancelledProps = Partial<{
|
|
@@ -336,7 +336,6 @@ type HyperlineSubscriptionCancelledProps = Partial<{
|
|
|
336
336
|
userId: string;
|
|
337
337
|
tenantId: string;
|
|
338
338
|
webhookEventType: 'subscription.cancelled';
|
|
339
|
-
tenantBillingStatus: 'pending' | 'active' | 'canceled';
|
|
340
339
|
}>;
|
|
341
340
|
type HyperlineSubscriptionChargedProps = Partial<{
|
|
342
341
|
plan: string;
|
|
@@ -358,19 +357,19 @@ type HyperlineSubscriptionCreatedProps = Partial<{
|
|
|
358
357
|
type HyperlineSubscriptionErroredProps = Partial<{
|
|
359
358
|
userId: string;
|
|
360
359
|
tenantId: string;
|
|
361
|
-
|
|
360
|
+
subscriptionStatus: SubscriptionStatus;
|
|
362
361
|
webhookEventType: 'subscription.errored';
|
|
363
362
|
}>;
|
|
364
363
|
type HyperlineSubscriptionPausedProps = Partial<{
|
|
365
364
|
userId: string;
|
|
366
365
|
tenantId: string;
|
|
367
|
-
|
|
366
|
+
subscriptionStatus: SubscriptionStatus;
|
|
368
367
|
webhookEventType: 'subscription.paused';
|
|
369
368
|
}>;
|
|
370
369
|
type HyperlineSubscriptionVoidedProps = Partial<{
|
|
371
370
|
userId: string;
|
|
372
371
|
tenantId: string;
|
|
373
|
-
|
|
372
|
+
subscriptionStatus: SubscriptionStatus;
|
|
374
373
|
webhookEventType: 'subscription.voided';
|
|
375
374
|
}>;
|
|
376
375
|
type HyperlineTrialEndedProps = Partial<{
|
|
@@ -385,7 +384,7 @@ type HyperlineTrialEndedProps = Partial<{
|
|
|
385
384
|
type HyperlineTrialStartedProps = Partial<{
|
|
386
385
|
tenantId: string;
|
|
387
386
|
userId: string;
|
|
388
|
-
|
|
387
|
+
subscriptionStatus: SubscriptionStatus;
|
|
389
388
|
trialUntil: string;
|
|
390
389
|
webhookEventType: 'payment_method.created';
|
|
391
390
|
}>;
|
package/package.json
CHANGED
package/src/tracking/types.ts
CHANGED
|
@@ -56,7 +56,7 @@ export type GroupProps = OptionalUser<{
|
|
|
56
56
|
timestamp?: Date;
|
|
57
57
|
}>;
|
|
58
58
|
|
|
59
|
-
type TrackingEventProps = {
|
|
59
|
+
export type TrackingEventProps = {
|
|
60
60
|
account_invitation_accepted: AccountInvitationAcceptedProps;
|
|
61
61
|
account_signed_out: AccountSignedOutProps;
|
|
62
62
|
account_signin_completed: AccountSigninCompletedProps;
|
|
@@ -391,7 +391,7 @@ type HyperlinePaymentMethodErroredProps = Partial<{
|
|
|
391
391
|
type HyperlineSubscriptionActivatedProps = Partial<{
|
|
392
392
|
userId: string;
|
|
393
393
|
tenantId: string;
|
|
394
|
-
|
|
394
|
+
subscriptionStatus: SubscriptionStatus;
|
|
395
395
|
webhookEventType: 'subscription.activated';
|
|
396
396
|
}>;
|
|
397
397
|
|
|
@@ -406,7 +406,6 @@ type HyperlineSubscriptionCancelledProps = Partial<{
|
|
|
406
406
|
userId: string;
|
|
407
407
|
tenantId: string;
|
|
408
408
|
webhookEventType: 'subscription.cancelled';
|
|
409
|
-
tenantBillingStatus: 'pending' | 'active' | 'canceled';
|
|
410
409
|
}>;
|
|
411
410
|
|
|
412
411
|
type HyperlineSubscriptionChargedProps = Partial<{
|
|
@@ -431,21 +430,21 @@ type HyperlineSubscriptionCreatedProps = Partial<{
|
|
|
431
430
|
type HyperlineSubscriptionErroredProps = Partial<{
|
|
432
431
|
userId: string;
|
|
433
432
|
tenantId: string;
|
|
434
|
-
|
|
433
|
+
subscriptionStatus: SubscriptionStatus;
|
|
435
434
|
webhookEventType: 'subscription.errored';
|
|
436
435
|
}>;
|
|
437
436
|
|
|
438
437
|
type HyperlineSubscriptionPausedProps = Partial<{
|
|
439
438
|
userId: string;
|
|
440
439
|
tenantId: string;
|
|
441
|
-
|
|
440
|
+
subscriptionStatus: SubscriptionStatus;
|
|
442
441
|
webhookEventType: 'subscription.paused';
|
|
443
442
|
}>;
|
|
444
443
|
|
|
445
444
|
type HyperlineSubscriptionVoidedProps = Partial<{
|
|
446
445
|
userId: string;
|
|
447
446
|
tenantId: string;
|
|
448
|
-
|
|
447
|
+
subscriptionStatus: SubscriptionStatus;
|
|
449
448
|
webhookEventType: 'subscription.voided';
|
|
450
449
|
}>;
|
|
451
450
|
|
|
@@ -462,7 +461,7 @@ type HyperlineTrialEndedProps = Partial<{
|
|
|
462
461
|
type HyperlineTrialStartedProps = Partial<{
|
|
463
462
|
tenantId: string;
|
|
464
463
|
userId: string;
|
|
465
|
-
|
|
464
|
+
subscriptionStatus: SubscriptionStatus;
|
|
466
465
|
trialUntil: string;
|
|
467
466
|
webhookEventType: 'payment_method.created';
|
|
468
467
|
}>;
|