@headspace/protos-events 1.48.0 → 1.50.0

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.
Files changed (3) hide show
  1. package/lib/index.d.ts +229 -408
  2. package/lib/index.js +815 -0
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -2233,26 +2233,134 @@ export class ContentPlayed implements IContentPlayed {
2233
2233
  public toJSON(): { [k: string]: any };
2234
2234
  }
2235
2235
 
2236
- /** Properties of a FamilyMemberAdded. */
2237
- export interface IFamilyMemberAdded {
2236
+ /** Properties of a BuddyAccepted. */
2237
+ export interface IBuddyAccepted {
2238
2238
 
2239
- /** FamilyMemberAdded timestamp */
2240
- timestamp?: (number|Long|null);
2241
-
2242
- /** FamilyMemberAdded userGroupEntryId */
2243
- userGroupEntryId?: (number|null);
2239
+ /** BuddyAccepted buddyName */
2240
+ buddyName?: (string|null);
2244
2241
 
2245
- /** FamilyMemberAdded userId */
2242
+ /** BuddyAccepted userId */
2246
2243
  userId?: (string|null);
2247
2244
 
2248
- /** FamilyMemberAdded userGroupId */
2249
- userGroupId?: (number|null);
2245
+ /** BuddyAccepted deepLink */
2246
+ deepLink?: (string|null);
2250
2247
 
2251
- /** FamilyMemberAdded email */
2252
- email?: (string|null);
2248
+ /** BuddyAccepted actionIdIos */
2249
+ actionIdIos?: (string|null);
2253
2250
 
2254
- /** FamilyMemberAdded token */
2255
- token?: (string|null);
2251
+ /** BuddyAccepted actionIos */
2252
+ actionIos?: (Action|null);
2253
+ }
2254
+
2255
+ /** Represents a BuddyAccepted. */
2256
+ export class BuddyAccepted implements IBuddyAccepted {
2257
+
2258
+ /**
2259
+ * Constructs a new BuddyAccepted.
2260
+ * @param [properties] Properties to set
2261
+ */
2262
+ constructor(properties?: IBuddyAccepted);
2263
+
2264
+ /** BuddyAccepted buddyName. */
2265
+ public buddyName: string;
2266
+
2267
+ /** BuddyAccepted userId. */
2268
+ public userId: string;
2269
+
2270
+ /** BuddyAccepted deepLink. */
2271
+ public deepLink: string;
2272
+
2273
+ /** BuddyAccepted actionIdIos. */
2274
+ public actionIdIos: string;
2275
+
2276
+ /** BuddyAccepted actionIos. */
2277
+ public actionIos: Action;
2278
+
2279
+ /**
2280
+ * Creates a new BuddyAccepted instance using the specified properties.
2281
+ * @param [properties] Properties to set
2282
+ * @returns BuddyAccepted instance
2283
+ */
2284
+ public static create(properties?: IBuddyAccepted): BuddyAccepted;
2285
+
2286
+ /**
2287
+ * Encodes the specified BuddyAccepted message. Does not implicitly {@link BuddyAccepted.verify|verify} messages.
2288
+ * @param message BuddyAccepted message or plain object to encode
2289
+ * @param [writer] Writer to encode to
2290
+ * @returns Writer
2291
+ */
2292
+ public static encode(message: IBuddyAccepted, writer?: $protobuf.Writer): $protobuf.Writer;
2293
+
2294
+ /**
2295
+ * Encodes the specified BuddyAccepted message, length delimited. Does not implicitly {@link BuddyAccepted.verify|verify} messages.
2296
+ * @param message BuddyAccepted message or plain object to encode
2297
+ * @param [writer] Writer to encode to
2298
+ * @returns Writer
2299
+ */
2300
+ public static encodeDelimited(message: IBuddyAccepted, writer?: $protobuf.Writer): $protobuf.Writer;
2301
+
2302
+ /**
2303
+ * Decodes a BuddyAccepted message from the specified reader or buffer.
2304
+ * @param reader Reader or buffer to decode from
2305
+ * @param [length] Message length if known beforehand
2306
+ * @returns BuddyAccepted
2307
+ * @throws {Error} If the payload is not a reader or valid buffer
2308
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2309
+ */
2310
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BuddyAccepted;
2311
+
2312
+ /**
2313
+ * Decodes a BuddyAccepted message from the specified reader or buffer, length delimited.
2314
+ * @param reader Reader or buffer to decode from
2315
+ * @returns BuddyAccepted
2316
+ * @throws {Error} If the payload is not a reader or valid buffer
2317
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2318
+ */
2319
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BuddyAccepted;
2320
+
2321
+ /**
2322
+ * Verifies a BuddyAccepted message.
2323
+ * @param message Plain object to verify
2324
+ * @returns `null` if valid, otherwise the reason why it is not
2325
+ */
2326
+ public static verify(message: { [k: string]: any }): (string|null);
2327
+
2328
+ /**
2329
+ * Creates a BuddyAccepted message from a plain object. Also converts values to their respective internal types.
2330
+ * @param object Plain object
2331
+ * @returns BuddyAccepted
2332
+ */
2333
+ public static fromObject(object: { [k: string]: any }): BuddyAccepted;
2334
+
2335
+ /**
2336
+ * Creates a plain object from a BuddyAccepted message. Also converts values to other types if specified.
2337
+ * @param message BuddyAccepted
2338
+ * @param [options] Conversion options
2339
+ * @returns Plain object
2340
+ */
2341
+ public static toObject(message: BuddyAccepted, options?: $protobuf.IConversionOptions): { [k: string]: any };
2342
+
2343
+ /**
2344
+ * Converts this BuddyAccepted to JSON.
2345
+ * @returns JSON object
2346
+ */
2347
+ public toJSON(): { [k: string]: any };
2348
+ }
2349
+
2350
+ /** Action enum. */
2351
+ namespace Action {
2352
+
2353
+ /** OPEN_APP value */
2354
+ let OPEN_APP: number;
2355
+
2356
+ /** URI value */
2357
+ let URI: number;
2358
+
2359
+ /** DEEP_LINK value */
2360
+ let DEEP_LINK: number;
2361
+
2362
+ /** CLOSE value */
2363
+ let CLOSE: number;
2256
2364
  }
2257
2365
 
2258
2366
  /** Represents a FamilyMemberAdded. */
@@ -2353,28 +2461,6 @@ export class FamilyMemberAdded implements IFamilyMemberAdded {
2353
2461
  public toJSON(): { [k: string]: any };
2354
2462
  }
2355
2463
 
2356
- /** Properties of a FamilyMemberInvited. */
2357
- export interface IFamilyMemberInvited {
2358
-
2359
- /** FamilyMemberInvited timestamp */
2360
- timestamp?: (number|Long|null);
2361
-
2362
- /** FamilyMemberInvited userGroupEntryId */
2363
- userGroupEntryId?: (number|null);
2364
-
2365
- /** FamilyMemberInvited userGroupId */
2366
- userGroupId?: (number|null);
2367
-
2368
- /** FamilyMemberInvited email */
2369
- email?: (string|null);
2370
-
2371
- /** FamilyMemberInvited token */
2372
- token?: (string|null);
2373
-
2374
- /** FamilyMemberInvited userId */
2375
- userId?: (string|null);
2376
- }
2377
-
2378
2464
  /** Represents a FamilyMemberInvited. */
2379
2465
  export class FamilyMemberInvited implements IFamilyMemberInvited {
2380
2466
 
@@ -2473,28 +2559,6 @@ export class FamilyMemberInvited implements IFamilyMemberInvited {
2473
2559
  public toJSON(): { [k: string]: any };
2474
2560
  }
2475
2561
 
2476
- /** Properties of a FamilyMemberRejected. */
2477
- export interface IFamilyMemberRejected {
2478
-
2479
- /** FamilyMemberRejected timestamp */
2480
- timestamp?: (number|Long|null);
2481
-
2482
- /** FamilyMemberRejected userGroupEntryId */
2483
- userGroupEntryId?: (number|null);
2484
-
2485
- /** FamilyMemberRejected userGroupId */
2486
- userGroupId?: (number|null);
2487
-
2488
- /** FamilyMemberRejected email */
2489
- email?: (string|null);
2490
-
2491
- /** FamilyMemberRejected token */
2492
- token?: (string|null);
2493
-
2494
- /** FamilyMemberRejected userId */
2495
- userId?: (string|null);
2496
- }
2497
-
2498
2562
  /** Represents a FamilyMemberRejected. */
2499
2563
  export class FamilyMemberRejected implements IFamilyMemberRejected {
2500
2564
 
@@ -2593,22 +2657,6 @@ export class FamilyMemberRejected implements IFamilyMemberRejected {
2593
2657
  public toJSON(): { [k: string]: any };
2594
2658
  }
2595
2659
 
2596
- /** Properties of a FamilyMemberRemoved. */
2597
- export interface IFamilyMemberRemoved {
2598
-
2599
- /** FamilyMemberRemoved timestamp */
2600
- timestamp?: (number|Long|null);
2601
-
2602
- /** FamilyMemberRemoved userGroupEntryId */
2603
- userGroupEntryId?: (number|null);
2604
-
2605
- /** FamilyMemberRemoved userId */
2606
- userId?: (string|null);
2607
-
2608
- /** FamilyMemberRemoved userGroupId */
2609
- userGroupId?: (number|null);
2610
- }
2611
-
2612
2660
  /** Represents a FamilyMemberRemoved. */
2613
2661
  export class FamilyMemberRemoved implements IFamilyMemberRemoved {
2614
2662
 
@@ -2701,19 +2749,6 @@ export class FamilyMemberRemoved implements IFamilyMemberRemoved {
2701
2749
  public toJSON(): { [k: string]: any };
2702
2750
  }
2703
2751
 
2704
- /** Properties of a VoiceDeviceConnected. */
2705
- export interface IVoiceDeviceConnected {
2706
-
2707
- /** VoiceDeviceConnected userId */
2708
- userId?: (string|null);
2709
-
2710
- /** VoiceDeviceConnected platform */
2711
- platform?: (string|null);
2712
-
2713
- /** VoiceDeviceConnected timestamp */
2714
- timestamp?: (number|Long|null);
2715
- }
2716
-
2717
2752
  /** Represents a VoiceDeviceConnected. */
2718
2753
  export class VoiceDeviceConnected implements IVoiceDeviceConnected {
2719
2754
 
@@ -2803,16 +2838,6 @@ export class VoiceDeviceConnected implements IVoiceDeviceConnected {
2803
2838
  public toJSON(): { [k: string]: any };
2804
2839
  }
2805
2840
 
2806
- /** Properties of a CheckInResponse. */
2807
- export interface ICheckInResponse {
2808
-
2809
- /** CheckInResponse questionId */
2810
- questionId?: (number|null);
2811
-
2812
- /** CheckInResponse response */
2813
- response?: (string|null);
2814
- }
2815
-
2816
2841
  /** Represents a CheckInResponse. */
2817
2842
  export class CheckInResponse implements ICheckInResponse {
2818
2843
 
@@ -2899,22 +2924,6 @@ export class CheckInResponse implements ICheckInResponse {
2899
2924
  public toJSON(): { [k: string]: any };
2900
2925
  }
2901
2926
 
2902
- /** Properties of a CheckInCompleted. */
2903
- export interface ICheckInCompleted {
2904
-
2905
- /** CheckInCompleted userId */
2906
- userId?: (string|null);
2907
-
2908
- /** CheckInCompleted timestamp */
2909
- timestamp?: (number|Long|null);
2910
-
2911
- /** CheckInCompleted checkInId */
2912
- checkInId?: (number|null);
2913
-
2914
- /** CheckInCompleted responses */
2915
- responses?: (ICheckInResponse[]|null);
2916
- }
2917
-
2918
2927
  /** Represents a CheckInCompleted. */
2919
2928
  export class CheckInCompleted implements ICheckInCompleted {
2920
2929
 
@@ -3007,16 +3016,6 @@ export class CheckInCompleted implements ICheckInCompleted {
3007
3016
  public toJSON(): { [k: string]: any };
3008
3017
  }
3009
3018
 
3010
- /** Properties of a ReferralSignedUp. */
3011
- export interface IReferralSignedUp {
3012
-
3013
- /** ReferralSignedUp refereeName */
3014
- refereeName?: (string|null);
3015
-
3016
- /** ReferralSignedUp referrerId */
3017
- referrerId?: (string|null);
3018
- }
3019
-
3020
3019
  /** Represents a ReferralSignedUp. */
3021
3020
  export class ReferralSignedUp implements IReferralSignedUp {
3022
3021
 
@@ -3103,19 +3102,6 @@ export class ReferralSignedUp implements IReferralSignedUp {
3103
3102
  public toJSON(): { [k: string]: any };
3104
3103
  }
3105
3104
 
3106
- /** Properties of a SleepcastEpisodeCompleted. */
3107
- export interface ISleepcastEpisodeCompleted {
3108
-
3109
- /** SleepcastEpisodeCompleted timestamp */
3110
- timestamp?: (number|Long|null);
3111
-
3112
- /** SleepcastEpisodeCompleted sleepcastId */
3113
- sleepcastId?: (number|null);
3114
-
3115
- /** SleepcastEpisodeCompleted userId */
3116
- userId?: (string|null);
3117
- }
3118
-
3119
3105
  /** Represents a SleepcastEpisodeCompleted. */
3120
3106
  export class SleepcastEpisodeCompleted implements ISleepcastEpisodeCompleted {
3121
3107
 
@@ -3205,19 +3191,6 @@ export class SleepcastEpisodeCompleted implements ISleepcastEpisodeCompleted {
3205
3191
  public toJSON(): { [k: string]: any };
3206
3192
  }
3207
3193
 
3208
- /** Properties of a FirstSleepcastPlayDateSet. */
3209
- export interface IFirstSleepcastPlayDateSet {
3210
-
3211
- /** FirstSleepcastPlayDateSet timestamp */
3212
- timestamp?: (number|Long|null);
3213
-
3214
- /** FirstSleepcastPlayDateSet userId */
3215
- userId?: (string|null);
3216
-
3217
- /** FirstSleepcastPlayDateSet firstPlayTimestamp */
3218
- firstPlayTimestamp?: (number|Long|null);
3219
- }
3220
-
3221
3194
  /** Represents a FirstSleepcastPlayDateSet. */
3222
3195
  export class FirstSleepcastPlayDateSet implements IFirstSleepcastPlayDateSet {
3223
3196
 
@@ -3307,19 +3280,6 @@ export class FirstSleepcastPlayDateSet implements IFirstSleepcastPlayDateSet {
3307
3280
  public toJSON(): { [k: string]: any };
3308
3281
  }
3309
3282
 
3310
- /** Properties of a NumSleepcastPlaysSet. */
3311
- export interface INumSleepcastPlaysSet {
3312
-
3313
- /** NumSleepcastPlaysSet timestamp */
3314
- timestamp?: (number|Long|null);
3315
-
3316
- /** NumSleepcastPlaysSet userId */
3317
- userId?: (string|null);
3318
-
3319
- /** NumSleepcastPlaysSet numPlays */
3320
- numPlays?: (number|null);
3321
- }
3322
-
3323
3283
  /** Represents a NumSleepcastPlaysSet. */
3324
3284
  export class NumSleepcastPlaysSet implements INumSleepcastPlaysSet {
3325
3285
 
@@ -3409,40 +3369,6 @@ export class NumSleepcastPlaysSet implements INumSleepcastPlaysSet {
3409
3369
  public toJSON(): { [k: string]: any };
3410
3370
  }
3411
3371
 
3412
- /** Properties of a SubscriptionCreated. */
3413
- export interface ISubscriptionCreated {
3414
-
3415
- /** SubscriptionCreated id */
3416
- id?: (number|null);
3417
-
3418
- /** SubscriptionCreated updatedOn */
3419
- updatedOn?: (number|Long|null);
3420
-
3421
- /** SubscriptionCreated userId */
3422
- userId?: (string|null);
3423
-
3424
- /** SubscriptionCreated createdAt */
3425
- createdAt?: (number|Long|null);
3426
-
3427
- /** SubscriptionCreated startsAt */
3428
- startsAt?: (number|Long|null);
3429
-
3430
- /** SubscriptionCreated endsAt */
3431
- endsAt?: (number|Long|null);
3432
-
3433
- /** SubscriptionCreated voucherCode */
3434
- voucherCode?: (string|null);
3435
-
3436
- /** SubscriptionCreated platform */
3437
- platform?: (subscription.SubscriptionPlatform|null);
3438
-
3439
- /** SubscriptionCreated autoRenewalStatus */
3440
- autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
3441
-
3442
- /** SubscriptionCreated plan */
3443
- plan?: (subscription.IPlan|null);
3444
- }
3445
-
3446
3372
  /** Represents a SubscriptionCreated. */
3447
3373
  export class SubscriptionCreated implements ISubscriptionCreated {
3448
3374
 
@@ -3553,46 +3479,6 @@ export class SubscriptionCreated implements ISubscriptionCreated {
3553
3479
  public toJSON(): { [k: string]: any };
3554
3480
  }
3555
3481
 
3556
- /** Properties of a SubscriptionCancelled. */
3557
- export interface ISubscriptionCancelled {
3558
-
3559
- /** SubscriptionCancelled id */
3560
- id?: (number|null);
3561
-
3562
- /** SubscriptionCancelled updatedOn */
3563
- updatedOn?: (number|Long|null);
3564
-
3565
- /** SubscriptionCancelled userId */
3566
- userId?: (string|null);
3567
-
3568
- /** SubscriptionCancelled paymentMethod */
3569
- paymentMethod?: (subscription.IPaymentMethod|null);
3570
-
3571
- /** SubscriptionCancelled createdAt */
3572
- createdAt?: (number|Long|null);
3573
-
3574
- /** SubscriptionCancelled startsAt */
3575
- startsAt?: (number|Long|null);
3576
-
3577
- /** SubscriptionCancelled endsAt */
3578
- endsAt?: (number|Long|null);
3579
-
3580
- /** SubscriptionCancelled voucherCode */
3581
- voucherCode?: (string|null);
3582
-
3583
- /** SubscriptionCancelled platform */
3584
- platform?: (subscription.SubscriptionPlatform|null);
3585
-
3586
- /** SubscriptionCancelled autoRenewalStatus */
3587
- autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
3588
-
3589
- /** SubscriptionCancelled plan */
3590
- plan?: (subscription.IPlan|null);
3591
-
3592
- /** SubscriptionCancelled cancellationType */
3593
- cancellationType?: (subscription.CancellationType|null);
3594
- }
3595
-
3596
3482
  /** Represents a SubscriptionCancelled. */
3597
3483
  export class SubscriptionCancelled implements ISubscriptionCancelled {
3598
3484
 
@@ -3709,40 +3595,6 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
3709
3595
  public toJSON(): { [k: string]: any };
3710
3596
  }
3711
3597
 
3712
- /** Properties of a SubscriptionRenewed. */
3713
- export interface ISubscriptionRenewed {
3714
-
3715
- /** SubscriptionRenewed id */
3716
- id?: (number|null);
3717
-
3718
- /** SubscriptionRenewed updatedOn */
3719
- updatedOn?: (number|Long|null);
3720
-
3721
- /** SubscriptionRenewed userId */
3722
- userId?: (string|null);
3723
-
3724
- /** SubscriptionRenewed createdAt */
3725
- createdAt?: (number|Long|null);
3726
-
3727
- /** SubscriptionRenewed startsAt */
3728
- startsAt?: (number|Long|null);
3729
-
3730
- /** SubscriptionRenewed endsAt */
3731
- endsAt?: (number|Long|null);
3732
-
3733
- /** SubscriptionRenewed voucherCode */
3734
- voucherCode?: (string|null);
3735
-
3736
- /** SubscriptionRenewed platform */
3737
- platform?: (subscription.SubscriptionPlatform|null);
3738
-
3739
- /** SubscriptionRenewed autoRenewalStatus */
3740
- autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
3741
-
3742
- /** SubscriptionRenewed plan */
3743
- plan?: (subscription.IPlan|null);
3744
- }
3745
-
3746
3598
  /** Represents a SubscriptionRenewed. */
3747
3599
  export class SubscriptionRenewed implements ISubscriptionRenewed {
3748
3600
 
@@ -3853,37 +3705,6 @@ export class SubscriptionRenewed implements ISubscriptionRenewed {
3853
3705
  public toJSON(): { [k: string]: any };
3854
3706
  }
3855
3707
 
3856
- /** Properties of a SubscriptionUpcomingRenewal. */
3857
- export interface ISubscriptionUpcomingRenewal {
3858
-
3859
- /** SubscriptionUpcomingRenewal id */
3860
- id?: (number|null);
3861
-
3862
- /** SubscriptionUpcomingRenewal userId */
3863
- userId?: (string|null);
3864
-
3865
- /** SubscriptionUpcomingRenewal daysBefore */
3866
- daysBefore?: (number|null);
3867
-
3868
- /** SubscriptionUpcomingRenewal membership */
3869
- membership?: (subscription.SubscriptionMembership|null);
3870
-
3871
- /** SubscriptionUpcomingRenewal planAffiliation */
3872
- planAffiliation?: (subscription.PlanAffiliation|null);
3873
-
3874
- /** SubscriptionUpcomingRenewal renewalDate */
3875
- renewalDate?: (number|Long|null);
3876
-
3877
- /** SubscriptionUpcomingRenewal paymentMethod */
3878
- paymentMethod?: (subscription.IPaymentMethod|null);
3879
-
3880
- /** SubscriptionUpcomingRenewal renewalAmount */
3881
- renewalAmount?: (number|null);
3882
-
3883
- /** SubscriptionUpcomingRenewal currency */
3884
- currency?: (string|null);
3885
- }
3886
-
3887
3708
  /** Represents a SubscriptionUpcomingRenewal. */
3888
3709
  export class SubscriptionUpcomingRenewal implements ISubscriptionUpcomingRenewal {
3889
3710
 
@@ -3991,28 +3812,6 @@ export class SubscriptionUpcomingRenewal implements ISubscriptionUpcomingRenewal
3991
3812
  public toJSON(): { [k: string]: any };
3992
3813
  }
3993
3814
 
3994
- /** Properties of a SubscriptionPaymentProcessed. */
3995
- export interface ISubscriptionPaymentProcessed {
3996
-
3997
- /** SubscriptionPaymentProcessed userId */
3998
- userId?: (string|null);
3999
-
4000
- /** SubscriptionPaymentProcessed paymentDate */
4001
- paymentDate?: (number|Long|null);
4002
-
4003
- /** SubscriptionPaymentProcessed timestamp */
4004
- timestamp?: (number|Long|null);
4005
-
4006
- /** SubscriptionPaymentProcessed paymentAmount */
4007
- paymentAmount?: (number|null);
4008
-
4009
- /** SubscriptionPaymentProcessed renewalAmount */
4010
- renewalAmount?: (number|null);
4011
-
4012
- /** SubscriptionPaymentProcessed currency */
4013
- currency?: (string|null);
4014
- }
4015
-
4016
3815
  /** Represents a SubscriptionPaymentProcessed. */
4017
3816
  export class SubscriptionPaymentProcessed implements ISubscriptionPaymentProcessed {
4018
3817
 
@@ -4111,22 +3910,6 @@ export class SubscriptionPaymentProcessed implements ISubscriptionPaymentProcess
4111
3910
  public toJSON(): { [k: string]: any };
4112
3911
  }
4113
3912
 
4114
- /** Properties of a SubscriptionPaymentDeclined. */
4115
- export interface ISubscriptionPaymentDeclined {
4116
-
4117
- /** SubscriptionPaymentDeclined userId */
4118
- userId?: (string|null);
4119
-
4120
- /** SubscriptionPaymentDeclined paymentDate */
4121
- paymentDate?: (number|Long|null);
4122
-
4123
- /** SubscriptionPaymentDeclined timestamp */
4124
- timestamp?: (number|Long|null);
4125
-
4126
- /** SubscriptionPaymentDeclined attempt */
4127
- attempt?: (number|null);
4128
- }
4129
-
4130
3913
  /** Represents a SubscriptionPaymentDeclined. */
4131
3914
  export class SubscriptionPaymentDeclined implements ISubscriptionPaymentDeclined {
4132
3915
 
@@ -4219,11 +4002,114 @@ export class SubscriptionPaymentDeclined implements ISubscriptionPaymentDeclined
4219
4002
  public toJSON(): { [k: string]: any };
4220
4003
  }
4221
4004
 
4222
- /** Properties of a UserDoubleOptInEmailRequested. */
4223
- export interface IUserDoubleOptInEmailRequested {
4005
+ /** Represents a SubscriptionGraced. */
4006
+ export class SubscriptionGraced implements ISubscriptionGraced {
4224
4007
 
4225
- /** UserDoubleOptInEmailRequested userId */
4226
- userId?: (string|null);
4008
+ /**
4009
+ * Constructs a new SubscriptionGraced.
4010
+ * @param [properties] Properties to set
4011
+ */
4012
+ constructor(properties?: ISubscriptionGraced);
4013
+
4014
+ /** SubscriptionGraced id. */
4015
+ public id: number;
4016
+
4017
+ /** SubscriptionGraced updatedOn. */
4018
+ public updatedOn: (number|Long);
4019
+
4020
+ /** SubscriptionGraced userId. */
4021
+ public userId: string;
4022
+
4023
+ /** SubscriptionGraced createdAt. */
4024
+ public createdAt: (number|Long);
4025
+
4026
+ /** SubscriptionGraced startsAt. */
4027
+ public startsAt: (number|Long);
4028
+
4029
+ /** SubscriptionGraced endsAt. */
4030
+ public endsAt: (number|Long);
4031
+
4032
+ /** SubscriptionGraced voucherCode. */
4033
+ public voucherCode: string;
4034
+
4035
+ /** SubscriptionGraced platform. */
4036
+ public platform: subscription.SubscriptionPlatform;
4037
+
4038
+ /** SubscriptionGraced autoRenewalStatus. */
4039
+ public autoRenewalStatus: subscription.AutoRenewalStatus;
4040
+
4041
+ /** SubscriptionGraced plan. */
4042
+ public plan?: (subscription.IPlan|null);
4043
+
4044
+ /**
4045
+ * Creates a new SubscriptionGraced instance using the specified properties.
4046
+ * @param [properties] Properties to set
4047
+ * @returns SubscriptionGraced instance
4048
+ */
4049
+ public static create(properties?: ISubscriptionGraced): SubscriptionGraced;
4050
+
4051
+ /**
4052
+ * Encodes the specified SubscriptionGraced message. Does not implicitly {@link SubscriptionGraced.verify|verify} messages.
4053
+ * @param message SubscriptionGraced message or plain object to encode
4054
+ * @param [writer] Writer to encode to
4055
+ * @returns Writer
4056
+ */
4057
+ public static encode(message: ISubscriptionGraced, writer?: $protobuf.Writer): $protobuf.Writer;
4058
+
4059
+ /**
4060
+ * Encodes the specified SubscriptionGraced message, length delimited. Does not implicitly {@link SubscriptionGraced.verify|verify} messages.
4061
+ * @param message SubscriptionGraced message or plain object to encode
4062
+ * @param [writer] Writer to encode to
4063
+ * @returns Writer
4064
+ */
4065
+ public static encodeDelimited(message: ISubscriptionGraced, writer?: $protobuf.Writer): $protobuf.Writer;
4066
+
4067
+ /**
4068
+ * Decodes a SubscriptionGraced message from the specified reader or buffer.
4069
+ * @param reader Reader or buffer to decode from
4070
+ * @param [length] Message length if known beforehand
4071
+ * @returns SubscriptionGraced
4072
+ * @throws {Error} If the payload is not a reader or valid buffer
4073
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4074
+ */
4075
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SubscriptionGraced;
4076
+
4077
+ /**
4078
+ * Decodes a SubscriptionGraced message from the specified reader or buffer, length delimited.
4079
+ * @param reader Reader or buffer to decode from
4080
+ * @returns SubscriptionGraced
4081
+ * @throws {Error} If the payload is not a reader or valid buffer
4082
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4083
+ */
4084
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SubscriptionGraced;
4085
+
4086
+ /**
4087
+ * Verifies a SubscriptionGraced message.
4088
+ * @param message Plain object to verify
4089
+ * @returns `null` if valid, otherwise the reason why it is not
4090
+ */
4091
+ public static verify(message: { [k: string]: any }): (string|null);
4092
+
4093
+ /**
4094
+ * Creates a SubscriptionGraced message from a plain object. Also converts values to their respective internal types.
4095
+ * @param object Plain object
4096
+ * @returns SubscriptionGraced
4097
+ */
4098
+ public static fromObject(object: { [k: string]: any }): SubscriptionGraced;
4099
+
4100
+ /**
4101
+ * Creates a plain object from a SubscriptionGraced message. Also converts values to other types if specified.
4102
+ * @param message SubscriptionGraced
4103
+ * @param [options] Conversion options
4104
+ * @returns Plain object
4105
+ */
4106
+ public static toObject(message: SubscriptionGraced, options?: $protobuf.IConversionOptions): { [k: string]: any };
4107
+
4108
+ /**
4109
+ * Converts this SubscriptionGraced to JSON.
4110
+ * @returns JSON object
4111
+ */
4112
+ public toJSON(): { [k: string]: any };
4227
4113
  }
4228
4114
 
4229
4115
  /** Represents a UserDoubleOptInEmailRequested. */
@@ -4309,19 +4195,6 @@ export class UserDoubleOptInEmailRequested implements IUserDoubleOptInEmailReque
4309
4195
  public toJSON(): { [k: string]: any };
4310
4196
  }
4311
4197
 
4312
- /** Properties of a UserEmailUpdated. */
4313
- export interface IUserEmailUpdated {
4314
-
4315
- /** UserEmailUpdated userId */
4316
- userId?: (string|null);
4317
-
4318
- /** UserEmailUpdated oldEmail */
4319
- oldEmail?: (string|null);
4320
-
4321
- /** UserEmailUpdated timestamp */
4322
- timestamp?: (number|Long|null);
4323
- }
4324
-
4325
4198
  /** Represents a UserEmailUpdated. */
4326
4199
  export class UserEmailUpdated implements IUserEmailUpdated {
4327
4200
 
@@ -4411,22 +4284,6 @@ export class UserEmailUpdated implements IUserEmailUpdated {
4411
4284
  public toJSON(): { [k: string]: any };
4412
4285
  }
4413
4286
 
4414
- /** Properties of a UserEmailVerificationRequested. */
4415
- export interface IUserEmailVerificationRequested {
4416
-
4417
- /** UserEmailVerificationRequested userId */
4418
- userId?: (string|null);
4419
-
4420
- /** UserEmailVerificationRequested verificationCode */
4421
- verificationCode?: (string|null);
4422
-
4423
- /** UserEmailVerificationRequested timestamp */
4424
- timestamp?: (number|Long|null);
4425
-
4426
- /** UserEmailVerificationRequested optIn */
4427
- optIn?: (boolean|null);
4428
- }
4429
-
4430
4287
  /** Represents a UserEmailVerificationRequested. */
4431
4288
  export class UserEmailVerificationRequested implements IUserEmailVerificationRequested {
4432
4289
 
@@ -4519,22 +4376,6 @@ export class UserEmailVerificationRequested implements IUserEmailVerificationReq
4519
4376
  public toJSON(): { [k: string]: any };
4520
4377
  }
4521
4378
 
4522
- /** Properties of a UserPasswordResetRequested. */
4523
- export interface IUserPasswordResetRequested {
4524
-
4525
- /** UserPasswordResetRequested userId */
4526
- userId?: (string|null);
4527
-
4528
- /** UserPasswordResetRequested resetCode */
4529
- resetCode?: (string|null);
4530
-
4531
- /** UserPasswordResetRequested timestamp */
4532
- timestamp?: (number|Long|null);
4533
-
4534
- /** UserPasswordResetRequested email */
4535
- email?: (string|null);
4536
- }
4537
-
4538
4379
  /** Represents a UserPasswordResetRequested. */
4539
4380
  export class UserPasswordResetRequested implements IUserPasswordResetRequested {
4540
4381
 
@@ -4627,19 +4468,6 @@ export class UserPasswordResetRequested implements IUserPasswordResetRequested {
4627
4468
  public toJSON(): { [k: string]: any };
4628
4469
  }
4629
4470
 
4630
- /** Properties of a UserPasswordUpdated. */
4631
- export interface IUserPasswordUpdated {
4632
-
4633
- /** UserPasswordUpdated userId */
4634
- userId?: (string|null);
4635
-
4636
- /** UserPasswordUpdated updatedOn */
4637
- updatedOn?: (number|Long|null);
4638
-
4639
- /** UserPasswordUpdated email */
4640
- email?: (string|null);
4641
- }
4642
-
4643
4471
  /** Represents a UserPasswordUpdated. */
4644
4472
  export class UserPasswordUpdated implements IUserPasswordUpdated {
4645
4473
 
@@ -4729,13 +4557,6 @@ export class UserPasswordUpdated implements IUserPasswordUpdated {
4729
4557
  public toJSON(): { [k: string]: any };
4730
4558
  }
4731
4559
 
4732
- /** Properties of a UserEmailMarketingOptedIn. */
4733
- export interface IUserEmailMarketingOptedIn {
4734
-
4735
- /** UserEmailMarketingOptedIn userId */
4736
- userId?: (string|null);
4737
- }
4738
-
4739
4560
  /** Represents a UserEmailMarketingOptedIn. */
4740
4561
  export class UserEmailMarketingOptedIn implements IUserEmailMarketingOptedIn {
4741
4562