@headspace/protos-events 1.76.0 → 1.78.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 +1210 -28
  2. package/lib/index.js +738 -0
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3407,23 +3407,46 @@ export class ContentPlayedBatch implements IContentPlayedBatch {
3407
3407
  public toJSON(): { [k: string]: any };
3408
3408
  }
3409
3409
 
3410
+ /** ContentType enum. */
3411
+ export enum ContentType {
3412
+ COURSE = 0,
3413
+ ONEOFF = 1,
3414
+ ANIMATION = 2,
3415
+ SLEEPCAST = 3,
3416
+ OBSTACLE = 4,
3417
+ PLAYLIST = 5,
3418
+ LANDSCAPE_VIDEO = 6,
3419
+ INTEGRATED_AUDIO_PLAYER = 7,
3420
+ WAKEUP = 8,
3421
+ PODCAST = 9,
3422
+ EDHS = 10,
3423
+ GROUP_MEDITATION = 11,
3424
+ INTERVIEW = 12
3425
+ }
3426
+
3410
3427
  /** Mode enum. */
3411
- namespace Mode {
3428
+ export enum Mode {
3429
+ FOCUS = 0,
3430
+ MOVE = 1,
3431
+ SLEEP = 2,
3432
+ MEDITATE = 3,
3433
+ TODAY = 4
3434
+ }
3412
3435
 
3413
- /** FOCUS value */
3414
- let FOCUS: number;
3436
+ /** Properties of a ContentPlayedMetadata. */
3437
+ export interface IContentPlayedMetadata {
3415
3438
 
3416
- /** MOVE value */
3417
- let MOVE: number;
3439
+ /** ContentPlayedMetadata activityGroupId */
3440
+ activityGroupId?: (number|null);
3418
3441
 
3419
- /** SLEEP value */
3420
- let SLEEP: number;
3442
+ /** ContentPlayedMetadata activityId */
3443
+ activityId?: (number|null);
3421
3444
 
3422
- /** MEDITATE value */
3423
- let MEDITATE: number;
3445
+ /** ContentPlayedMetadata activityVariationId */
3446
+ activityVariationId?: (number|null);
3424
3447
 
3425
- /** TODAY value */
3426
- let TODAY: number;
3448
+ /** ContentPlayedMetadata durationMinutes */
3449
+ durationMinutes?: (number|null);
3427
3450
  }
3428
3451
 
3429
3452
  /** Represents a ContentPlayedMetadata. */
@@ -3518,6 +3541,28 @@ export class ContentPlayedMetadata implements IContentPlayedMetadata {
3518
3541
  public toJSON(): { [k: string]: any };
3519
3542
  }
3520
3543
 
3544
+ /** Properties of a BuddyAccepted. */
3545
+ export interface IBuddyAccepted {
3546
+
3547
+ /** BuddyAccepted buddyName */
3548
+ buddyName?: (string|null);
3549
+
3550
+ /** BuddyAccepted userId */
3551
+ userId?: (string|null);
3552
+
3553
+ /** BuddyAccepted deepLink */
3554
+ deepLink?: (string|null);
3555
+
3556
+ /** BuddyAccepted buddyAcceptedText */
3557
+ buddyAcceptedText?: (string|null);
3558
+
3559
+ /** BuddyAccepted buddyAcceptedTitle */
3560
+ buddyAcceptedTitle?: (string|null);
3561
+
3562
+ /** BuddyAccepted buddyUserId */
3563
+ buddyUserId?: (string|null);
3564
+ }
3565
+
3521
3566
  /** Represents a BuddyAccepted. */
3522
3567
  export class BuddyAccepted implements IBuddyAccepted {
3523
3568
 
@@ -3616,6 +3661,16 @@ export class BuddyAccepted implements IBuddyAccepted {
3616
3661
  public toJSON(): { [k: string]: any };
3617
3662
  }
3618
3663
 
3664
+ /** Properties of a BuddyDeleted. */
3665
+ export interface IBuddyDeleted {
3666
+
3667
+ /** BuddyDeleted userId */
3668
+ userId?: (string|null);
3669
+
3670
+ /** BuddyDeleted buddyUserId */
3671
+ buddyUserId?: (string|null);
3672
+ }
3673
+
3619
3674
  /** Represents a BuddyDeleted. */
3620
3675
  export class BuddyDeleted implements IBuddyDeleted {
3621
3676
 
@@ -3702,6 +3757,37 @@ export class BuddyDeleted implements IBuddyDeleted {
3702
3757
  public toJSON(): { [k: string]: any };
3703
3758
  }
3704
3759
 
3760
+ /** Properties of a MessageSent. */
3761
+ export interface IMessageSent {
3762
+
3763
+ /** MessageSent recipientUserId */
3764
+ recipientUserId?: (string|null);
3765
+
3766
+ /** MessageSent senderUserId */
3767
+ senderUserId?: (string|null);
3768
+
3769
+ /** MessageSent senderName */
3770
+ senderName?: (string|null);
3771
+
3772
+ /** MessageSent senderLocale */
3773
+ senderLocale?: (string|null);
3774
+
3775
+ /** MessageSent deepLink */
3776
+ deepLink?: (string|null);
3777
+
3778
+ /** MessageSent nudgeId */
3779
+ nudgeId?: (string|null);
3780
+
3781
+ /** MessageSent imageUrl */
3782
+ imageUrl?: (string|null);
3783
+
3784
+ /** MessageSent messageText */
3785
+ messageText?: (string|null);
3786
+
3787
+ /** MessageSent messageTitle */
3788
+ messageTitle?: (string|null);
3789
+ }
3790
+
3705
3791
  /** Represents a MessageSent. */
3706
3792
  export class MessageSent implements IMessageSent {
3707
3793
 
@@ -3809,6 +3895,28 @@ export class MessageSent implements IMessageSent {
3809
3895
  public toJSON(): { [k: string]: any };
3810
3896
  }
3811
3897
 
3898
+ /** Properties of an IosSubscriptionCreated. */
3899
+ export interface IIosSubscriptionCreated {
3900
+
3901
+ /** IosSubscriptionCreated id */
3902
+ id?: (string|null);
3903
+
3904
+ /** IosSubscriptionCreated endsAt */
3905
+ endsAt?: (number|Long|null);
3906
+
3907
+ /** IosSubscriptionCreated startsAt */
3908
+ startsAt?: (number|Long|null);
3909
+
3910
+ /** IosSubscriptionCreated userId */
3911
+ userId?: (string|null);
3912
+
3913
+ /** IosSubscriptionCreated tags */
3914
+ tags?: (appleReceipt.IosSubscriptionTag[]|null);
3915
+
3916
+ /** IosSubscriptionCreated terms */
3917
+ terms?: (appleReceipt.IIosSubscriptionTerm[]|null);
3918
+ }
3919
+
3812
3920
  /** Represents an IosSubscriptionCreated. */
3813
3921
  export class IosSubscriptionCreated implements IIosSubscriptionCreated {
3814
3922
 
@@ -3907,6 +4015,28 @@ export class IosSubscriptionCreated implements IIosSubscriptionCreated {
3907
4015
  public toJSON(): { [k: string]: any };
3908
4016
  }
3909
4017
 
4018
+ /** Properties of an IosSubscriptionRenewed. */
4019
+ export interface IIosSubscriptionRenewed {
4020
+
4021
+ /** IosSubscriptionRenewed id */
4022
+ id?: (string|null);
4023
+
4024
+ /** IosSubscriptionRenewed endsAt */
4025
+ endsAt?: (number|Long|null);
4026
+
4027
+ /** IosSubscriptionRenewed startsAt */
4028
+ startsAt?: (number|Long|null);
4029
+
4030
+ /** IosSubscriptionRenewed userId */
4031
+ userId?: (string|null);
4032
+
4033
+ /** IosSubscriptionRenewed tags */
4034
+ tags?: (appleReceipt.IosSubscriptionTag[]|null);
4035
+
4036
+ /** IosSubscriptionRenewed terms */
4037
+ terms?: (appleReceipt.IIosSubscriptionTerm[]|null);
4038
+ }
4039
+
3910
4040
  /** Represents an IosSubscriptionRenewed. */
3911
4041
  export class IosSubscriptionRenewed implements IIosSubscriptionRenewed {
3912
4042
 
@@ -4005,6 +4135,13 @@ export class IosSubscriptionRenewed implements IIosSubscriptionRenewed {
4005
4135
  public toJSON(): { [k: string]: any };
4006
4136
  }
4007
4137
 
4138
+ /** Properties of an AssetCreated. */
4139
+ export interface IAssetCreated {
4140
+
4141
+ /** AssetCreated asset */
4142
+ asset?: (asset.IAsset|null);
4143
+ }
4144
+
4008
4145
  /** Represents an AssetCreated. */
4009
4146
  export class AssetCreated implements IAssetCreated {
4010
4147
 
@@ -4088,6 +4225,28 @@ export class AssetCreated implements IAssetCreated {
4088
4225
  public toJSON(): { [k: string]: any };
4089
4226
  }
4090
4227
 
4228
+ /** Properties of a FamilyMemberAdded. */
4229
+ export interface IFamilyMemberAdded {
4230
+
4231
+ /** FamilyMemberAdded timestamp */
4232
+ timestamp?: (number|Long|null);
4233
+
4234
+ /** FamilyMemberAdded userGroupEntryId */
4235
+ userGroupEntryId?: (number|null);
4236
+
4237
+ /** FamilyMemberAdded userId */
4238
+ userId?: (string|null);
4239
+
4240
+ /** FamilyMemberAdded userGroupId */
4241
+ userGroupId?: (number|null);
4242
+
4243
+ /** FamilyMemberAdded email */
4244
+ email?: (string|null);
4245
+
4246
+ /** FamilyMemberAdded token */
4247
+ token?: (string|null);
4248
+ }
4249
+
4091
4250
  /** Represents a FamilyMemberAdded. */
4092
4251
  export class FamilyMemberAdded implements IFamilyMemberAdded {
4093
4252
 
@@ -4186,6 +4345,28 @@ export class FamilyMemberAdded implements IFamilyMemberAdded {
4186
4345
  public toJSON(): { [k: string]: any };
4187
4346
  }
4188
4347
 
4348
+ /** Properties of a FamilyMemberInvited. */
4349
+ export interface IFamilyMemberInvited {
4350
+
4351
+ /** FamilyMemberInvited timestamp */
4352
+ timestamp?: (number|Long|null);
4353
+
4354
+ /** FamilyMemberInvited userGroupEntryId */
4355
+ userGroupEntryId?: (number|null);
4356
+
4357
+ /** FamilyMemberInvited userGroupId */
4358
+ userGroupId?: (number|null);
4359
+
4360
+ /** FamilyMemberInvited email */
4361
+ email?: (string|null);
4362
+
4363
+ /** FamilyMemberInvited token */
4364
+ token?: (string|null);
4365
+
4366
+ /** FamilyMemberInvited userId */
4367
+ userId?: (string|null);
4368
+ }
4369
+
4189
4370
  /** Represents a FamilyMemberInvited. */
4190
4371
  export class FamilyMemberInvited implements IFamilyMemberInvited {
4191
4372
 
@@ -4284,6 +4465,28 @@ export class FamilyMemberInvited implements IFamilyMemberInvited {
4284
4465
  public toJSON(): { [k: string]: any };
4285
4466
  }
4286
4467
 
4468
+ /** Properties of a FamilyMemberRejected. */
4469
+ export interface IFamilyMemberRejected {
4470
+
4471
+ /** FamilyMemberRejected timestamp */
4472
+ timestamp?: (number|Long|null);
4473
+
4474
+ /** FamilyMemberRejected userGroupEntryId */
4475
+ userGroupEntryId?: (number|null);
4476
+
4477
+ /** FamilyMemberRejected userGroupId */
4478
+ userGroupId?: (number|null);
4479
+
4480
+ /** FamilyMemberRejected email */
4481
+ email?: (string|null);
4482
+
4483
+ /** FamilyMemberRejected token */
4484
+ token?: (string|null);
4485
+
4486
+ /** FamilyMemberRejected userId */
4487
+ userId?: (string|null);
4488
+ }
4489
+
4287
4490
  /** Represents a FamilyMemberRejected. */
4288
4491
  export class FamilyMemberRejected implements IFamilyMemberRejected {
4289
4492
 
@@ -4382,6 +4585,22 @@ export class FamilyMemberRejected implements IFamilyMemberRejected {
4382
4585
  public toJSON(): { [k: string]: any };
4383
4586
  }
4384
4587
 
4588
+ /** Properties of a FamilyMemberRemoved. */
4589
+ export interface IFamilyMemberRemoved {
4590
+
4591
+ /** FamilyMemberRemoved timestamp */
4592
+ timestamp?: (number|Long|null);
4593
+
4594
+ /** FamilyMemberRemoved userGroupEntryId */
4595
+ userGroupEntryId?: (number|null);
4596
+
4597
+ /** FamilyMemberRemoved userId */
4598
+ userId?: (string|null);
4599
+
4600
+ /** FamilyMemberRemoved userGroupId */
4601
+ userGroupId?: (number|null);
4602
+ }
4603
+
4385
4604
  /** Represents a FamilyMemberRemoved. */
4386
4605
  export class FamilyMemberRemoved implements IFamilyMemberRemoved {
4387
4606
 
@@ -4474,6 +4693,19 @@ export class FamilyMemberRemoved implements IFamilyMemberRemoved {
4474
4693
  public toJSON(): { [k: string]: any };
4475
4694
  }
4476
4695
 
4696
+ /** Properties of a VoiceDeviceConnected. */
4697
+ export interface IVoiceDeviceConnected {
4698
+
4699
+ /** VoiceDeviceConnected userId */
4700
+ userId?: (string|null);
4701
+
4702
+ /** VoiceDeviceConnected platform */
4703
+ platform?: (string|null);
4704
+
4705
+ /** VoiceDeviceConnected timestamp */
4706
+ timestamp?: (number|Long|null);
4707
+ }
4708
+
4477
4709
  /** Represents a VoiceDeviceConnected. */
4478
4710
  export class VoiceDeviceConnected implements IVoiceDeviceConnected {
4479
4711
 
@@ -4563,6 +4795,16 @@ export class VoiceDeviceConnected implements IVoiceDeviceConnected {
4563
4795
  public toJSON(): { [k: string]: any };
4564
4796
  }
4565
4797
 
4798
+ /** Properties of a CheckInResponse. */
4799
+ export interface ICheckInResponse {
4800
+
4801
+ /** CheckInResponse questionId */
4802
+ questionId?: (number|null);
4803
+
4804
+ /** CheckInResponse response */
4805
+ response?: (string|null);
4806
+ }
4807
+
4566
4808
  /** Represents a CheckInResponse. */
4567
4809
  export class CheckInResponse implements ICheckInResponse {
4568
4810
 
@@ -4649,6 +4891,22 @@ export class CheckInResponse implements ICheckInResponse {
4649
4891
  public toJSON(): { [k: string]: any };
4650
4892
  }
4651
4893
 
4894
+ /** Properties of a CheckInCompleted. */
4895
+ export interface ICheckInCompleted {
4896
+
4897
+ /** CheckInCompleted userId */
4898
+ userId?: (string|null);
4899
+
4900
+ /** CheckInCompleted timestamp */
4901
+ timestamp?: (number|Long|null);
4902
+
4903
+ /** CheckInCompleted checkInId */
4904
+ checkInId?: (number|null);
4905
+
4906
+ /** CheckInCompleted responses */
4907
+ responses?: (ICheckInResponse[]|null);
4908
+ }
4909
+
4652
4910
  /** Represents a CheckInCompleted. */
4653
4911
  export class CheckInCompleted implements ICheckInCompleted {
4654
4912
 
@@ -4741,6 +4999,16 @@ export class CheckInCompleted implements ICheckInCompleted {
4741
4999
  public toJSON(): { [k: string]: any };
4742
5000
  }
4743
5001
 
5002
+ /** Properties of a UserEnabledWakeupNotifications. */
5003
+ export interface IUserEnabledWakeupNotifications {
5004
+
5005
+ /** UserEnabledWakeupNotifications userId */
5006
+ userId?: (string|null);
5007
+
5008
+ /** UserEnabledWakeupNotifications isEnabled */
5009
+ isEnabled?: (boolean|null);
5010
+ }
5011
+
4744
5012
  /** Represents a UserEnabledWakeupNotifications. */
4745
5013
  export class UserEnabledWakeupNotifications implements IUserEnabledWakeupNotifications {
4746
5014
 
@@ -4827,6 +5095,22 @@ export class UserEnabledWakeupNotifications implements IUserEnabledWakeupNotific
4827
5095
  public toJSON(): { [k: string]: any };
4828
5096
  }
4829
5097
 
5098
+ /** Properties of an ExperimentContentMapCreated. */
5099
+ export interface IExperimentContentMapCreated {
5100
+
5101
+ /** ExperimentContentMapCreated experimentName */
5102
+ experimentName?: (string|null);
5103
+
5104
+ /** ExperimentContentMapCreated variationName */
5105
+ variationName?: (string|null);
5106
+
5107
+ /** ExperimentContentMapCreated contentIdList */
5108
+ contentIdList?: (string|null);
5109
+
5110
+ /** ExperimentContentMapCreated createdAt */
5111
+ createdAt?: (number|Long|null);
5112
+ }
5113
+
4830
5114
  /** Represents an ExperimentContentMapCreated. */
4831
5115
  export class ExperimentContentMapCreated implements IExperimentContentMapCreated {
4832
5116
 
@@ -4919,6 +5203,22 @@ export class ExperimentContentMapCreated implements IExperimentContentMapCreated
4919
5203
  public toJSON(): { [k: string]: any };
4920
5204
  }
4921
5205
 
5206
+ /** Properties of an ExperimentContentMapUpdated. */
5207
+ export interface IExperimentContentMapUpdated {
5208
+
5209
+ /** ExperimentContentMapUpdated experimentName */
5210
+ experimentName?: (string|null);
5211
+
5212
+ /** ExperimentContentMapUpdated variationName */
5213
+ variationName?: (string|null);
5214
+
5215
+ /** ExperimentContentMapUpdated contentIdList */
5216
+ contentIdList?: (string|null);
5217
+
5218
+ /** ExperimentContentMapUpdated updatedAt */
5219
+ updatedAt?: (number|Long|null);
5220
+ }
5221
+
4922
5222
  /** Represents an ExperimentContentMapUpdated. */
4923
5223
  export class ExperimentContentMapUpdated implements IExperimentContentMapUpdated {
4924
5224
 
@@ -5011,6 +5311,19 @@ export class ExperimentContentMapUpdated implements IExperimentContentMapUpdated
5011
5311
  public toJSON(): { [k: string]: any };
5012
5312
  }
5013
5313
 
5314
+ /** Properties of an ExperimentContentMapDeleted. */
5315
+ export interface IExperimentContentMapDeleted {
5316
+
5317
+ /** ExperimentContentMapDeleted experimentName */
5318
+ experimentName?: (string|null);
5319
+
5320
+ /** ExperimentContentMapDeleted variationName */
5321
+ variationName?: (string|null);
5322
+
5323
+ /** ExperimentContentMapDeleted deletedAt */
5324
+ deletedAt?: (number|Long|null);
5325
+ }
5326
+
5014
5327
  /** Represents an ExperimentContentMapDeleted. */
5015
5328
  export class ExperimentContentMapDeleted implements IExperimentContentMapDeleted {
5016
5329
 
@@ -5100,6 +5413,19 @@ export class ExperimentContentMapDeleted implements IExperimentContentMapDeleted
5100
5413
  public toJSON(): { [k: string]: any };
5101
5414
  }
5102
5415
 
5416
+ /** Properties of an AccessGroupCreated. */
5417
+ export interface IAccessGroupCreated {
5418
+
5419
+ /** AccessGroupCreated accessGroupName */
5420
+ accessGroupName?: (string|null);
5421
+
5422
+ /** AccessGroupCreated description */
5423
+ description?: (string|null);
5424
+
5425
+ /** AccessGroupCreated createdAt */
5426
+ createdAt?: (number|Long|null);
5427
+ }
5428
+
5103
5429
  /** Represents an AccessGroupCreated. */
5104
5430
  export class AccessGroupCreated implements IAccessGroupCreated {
5105
5431
 
@@ -5189,6 +5515,16 @@ export class AccessGroupCreated implements IAccessGroupCreated {
5189
5515
  public toJSON(): { [k: string]: any };
5190
5516
  }
5191
5517
 
5518
+ /** Properties of an AccessGroupDeleted. */
5519
+ export interface IAccessGroupDeleted {
5520
+
5521
+ /** AccessGroupDeleted accessGroupName */
5522
+ accessGroupName?: (string|null);
5523
+
5524
+ /** AccessGroupDeleted deletedAt */
5525
+ deletedAt?: (number|Long|null);
5526
+ }
5527
+
5192
5528
  /** Represents an AccessGroupDeleted. */
5193
5529
  export class AccessGroupDeleted implements IAccessGroupDeleted {
5194
5530
 
@@ -5220,61 +5556,377 @@ export class AccessGroupDeleted implements IAccessGroupDeleted {
5220
5556
  public static encode(message: IAccessGroupDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
5221
5557
 
5222
5558
  /**
5223
- * Encodes the specified AccessGroupDeleted message, length delimited. Does not implicitly {@link AccessGroupDeleted.verify|verify} messages.
5224
- * @param message AccessGroupDeleted message or plain object to encode
5559
+ * Encodes the specified AccessGroupDeleted message, length delimited. Does not implicitly {@link AccessGroupDeleted.verify|verify} messages.
5560
+ * @param message AccessGroupDeleted message or plain object to encode
5561
+ * @param [writer] Writer to encode to
5562
+ * @returns Writer
5563
+ */
5564
+ public static encodeDelimited(message: IAccessGroupDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
5565
+
5566
+ /**
5567
+ * Decodes an AccessGroupDeleted message from the specified reader or buffer.
5568
+ * @param reader Reader or buffer to decode from
5569
+ * @param [length] Message length if known beforehand
5570
+ * @returns AccessGroupDeleted
5571
+ * @throws {Error} If the payload is not a reader or valid buffer
5572
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5573
+ */
5574
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AccessGroupDeleted;
5575
+
5576
+ /**
5577
+ * Decodes an AccessGroupDeleted message from the specified reader or buffer, length delimited.
5578
+ * @param reader Reader or buffer to decode from
5579
+ * @returns AccessGroupDeleted
5580
+ * @throws {Error} If the payload is not a reader or valid buffer
5581
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5582
+ */
5583
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AccessGroupDeleted;
5584
+
5585
+ /**
5586
+ * Verifies an AccessGroupDeleted message.
5587
+ * @param message Plain object to verify
5588
+ * @returns `null` if valid, otherwise the reason why it is not
5589
+ */
5590
+ public static verify(message: { [k: string]: any }): (string|null);
5591
+
5592
+ /**
5593
+ * Creates an AccessGroupDeleted message from a plain object. Also converts values to their respective internal types.
5594
+ * @param object Plain object
5595
+ * @returns AccessGroupDeleted
5596
+ */
5597
+ public static fromObject(object: { [k: string]: any }): AccessGroupDeleted;
5598
+
5599
+ /**
5600
+ * Creates a plain object from an AccessGroupDeleted message. Also converts values to other types if specified.
5601
+ * @param message AccessGroupDeleted
5602
+ * @param [options] Conversion options
5603
+ * @returns Plain object
5604
+ */
5605
+ public static toObject(message: AccessGroupDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
5606
+
5607
+ /**
5608
+ * Converts this AccessGroupDeleted to JSON.
5609
+ * @returns JSON object
5610
+ */
5611
+ public toJSON(): { [k: string]: any };
5612
+ }
5613
+
5614
+ /** Properties of a UserAccessGroupCreated. */
5615
+ export interface IUserAccessGroupCreated {
5616
+
5617
+ /** UserAccessGroupCreated userId */
5618
+ userId?: (string|null);
5619
+
5620
+ /** UserAccessGroupCreated accessGroupName */
5621
+ accessGroupName?: (string|null);
5622
+
5623
+ /** UserAccessGroupCreated createdAt */
5624
+ createdAt?: (number|Long|null);
5625
+ }
5626
+
5627
+ /** Represents a UserAccessGroupCreated. */
5628
+ export class UserAccessGroupCreated implements IUserAccessGroupCreated {
5629
+
5630
+ /**
5631
+ * Constructs a new UserAccessGroupCreated.
5632
+ * @param [properties] Properties to set
5633
+ */
5634
+ constructor(properties?: IUserAccessGroupCreated);
5635
+
5636
+ /** UserAccessGroupCreated userId. */
5637
+ public userId: string;
5638
+
5639
+ /** UserAccessGroupCreated accessGroupName. */
5640
+ public accessGroupName: string;
5641
+
5642
+ /** UserAccessGroupCreated createdAt. */
5643
+ public createdAt: (number|Long);
5644
+
5645
+ /**
5646
+ * Creates a new UserAccessGroupCreated instance using the specified properties.
5647
+ * @param [properties] Properties to set
5648
+ * @returns UserAccessGroupCreated instance
5649
+ */
5650
+ public static create(properties?: IUserAccessGroupCreated): UserAccessGroupCreated;
5651
+
5652
+ /**
5653
+ * Encodes the specified UserAccessGroupCreated message. Does not implicitly {@link UserAccessGroupCreated.verify|verify} messages.
5654
+ * @param message UserAccessGroupCreated message or plain object to encode
5655
+ * @param [writer] Writer to encode to
5656
+ * @returns Writer
5657
+ */
5658
+ public static encode(message: IUserAccessGroupCreated, writer?: $protobuf.Writer): $protobuf.Writer;
5659
+
5660
+ /**
5661
+ * Encodes the specified UserAccessGroupCreated message, length delimited. Does not implicitly {@link UserAccessGroupCreated.verify|verify} messages.
5662
+ * @param message UserAccessGroupCreated message or plain object to encode
5663
+ * @param [writer] Writer to encode to
5664
+ * @returns Writer
5665
+ */
5666
+ public static encodeDelimited(message: IUserAccessGroupCreated, writer?: $protobuf.Writer): $protobuf.Writer;
5667
+
5668
+ /**
5669
+ * Decodes a UserAccessGroupCreated message from the specified reader or buffer.
5670
+ * @param reader Reader or buffer to decode from
5671
+ * @param [length] Message length if known beforehand
5672
+ * @returns UserAccessGroupCreated
5673
+ * @throws {Error} If the payload is not a reader or valid buffer
5674
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5675
+ */
5676
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserAccessGroupCreated;
5677
+
5678
+ /**
5679
+ * Decodes a UserAccessGroupCreated message from the specified reader or buffer, length delimited.
5680
+ * @param reader Reader or buffer to decode from
5681
+ * @returns UserAccessGroupCreated
5682
+ * @throws {Error} If the payload is not a reader or valid buffer
5683
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5684
+ */
5685
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserAccessGroupCreated;
5686
+
5687
+ /**
5688
+ * Verifies a UserAccessGroupCreated message.
5689
+ * @param message Plain object to verify
5690
+ * @returns `null` if valid, otherwise the reason why it is not
5691
+ */
5692
+ public static verify(message: { [k: string]: any }): (string|null);
5693
+
5694
+ /**
5695
+ * Creates a UserAccessGroupCreated message from a plain object. Also converts values to their respective internal types.
5696
+ * @param object Plain object
5697
+ * @returns UserAccessGroupCreated
5698
+ */
5699
+ public static fromObject(object: { [k: string]: any }): UserAccessGroupCreated;
5700
+
5701
+ /**
5702
+ * Creates a plain object from a UserAccessGroupCreated message. Also converts values to other types if specified.
5703
+ * @param message UserAccessGroupCreated
5704
+ * @param [options] Conversion options
5705
+ * @returns Plain object
5706
+ */
5707
+ public static toObject(message: UserAccessGroupCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
5708
+
5709
+ /**
5710
+ * Converts this UserAccessGroupCreated to JSON.
5711
+ * @returns JSON object
5712
+ */
5713
+ public toJSON(): { [k: string]: any };
5714
+ }
5715
+
5716
+ /** Properties of a UserAccessGroupDeleted. */
5717
+ export interface IUserAccessGroupDeleted {
5718
+
5719
+ /** UserAccessGroupDeleted userId */
5720
+ userId?: (string|null);
5721
+
5722
+ /** UserAccessGroupDeleted accessGroupName */
5723
+ accessGroupName?: (string|null);
5724
+
5725
+ /** UserAccessGroupDeleted deletedAt */
5726
+ deletedAt?: (number|Long|null);
5727
+ }
5728
+
5729
+ /** Represents a UserAccessGroupDeleted. */
5730
+ export class UserAccessGroupDeleted implements IUserAccessGroupDeleted {
5731
+
5732
+ /**
5733
+ * Constructs a new UserAccessGroupDeleted.
5734
+ * @param [properties] Properties to set
5735
+ */
5736
+ constructor(properties?: IUserAccessGroupDeleted);
5737
+
5738
+ /** UserAccessGroupDeleted userId. */
5739
+ public userId: string;
5740
+
5741
+ /** UserAccessGroupDeleted accessGroupName. */
5742
+ public accessGroupName: string;
5743
+
5744
+ /** UserAccessGroupDeleted deletedAt. */
5745
+ public deletedAt: (number|Long);
5746
+
5747
+ /**
5748
+ * Creates a new UserAccessGroupDeleted instance using the specified properties.
5749
+ * @param [properties] Properties to set
5750
+ * @returns UserAccessGroupDeleted instance
5751
+ */
5752
+ public static create(properties?: IUserAccessGroupDeleted): UserAccessGroupDeleted;
5753
+
5754
+ /**
5755
+ * Encodes the specified UserAccessGroupDeleted message. Does not implicitly {@link UserAccessGroupDeleted.verify|verify} messages.
5756
+ * @param message UserAccessGroupDeleted message or plain object to encode
5757
+ * @param [writer] Writer to encode to
5758
+ * @returns Writer
5759
+ */
5760
+ public static encode(message: IUserAccessGroupDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
5761
+
5762
+ /**
5763
+ * Encodes the specified UserAccessGroupDeleted message, length delimited. Does not implicitly {@link UserAccessGroupDeleted.verify|verify} messages.
5764
+ * @param message UserAccessGroupDeleted message or plain object to encode
5765
+ * @param [writer] Writer to encode to
5766
+ * @returns Writer
5767
+ */
5768
+ public static encodeDelimited(message: IUserAccessGroupDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
5769
+
5770
+ /**
5771
+ * Decodes a UserAccessGroupDeleted message from the specified reader or buffer.
5772
+ * @param reader Reader or buffer to decode from
5773
+ * @param [length] Message length if known beforehand
5774
+ * @returns UserAccessGroupDeleted
5775
+ * @throws {Error} If the payload is not a reader or valid buffer
5776
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5777
+ */
5778
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserAccessGroupDeleted;
5779
+
5780
+ /**
5781
+ * Decodes a UserAccessGroupDeleted message from the specified reader or buffer, length delimited.
5782
+ * @param reader Reader or buffer to decode from
5783
+ * @returns UserAccessGroupDeleted
5784
+ * @throws {Error} If the payload is not a reader or valid buffer
5785
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5786
+ */
5787
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserAccessGroupDeleted;
5788
+
5789
+ /**
5790
+ * Verifies a UserAccessGroupDeleted message.
5791
+ * @param message Plain object to verify
5792
+ * @returns `null` if valid, otherwise the reason why it is not
5793
+ */
5794
+ public static verify(message: { [k: string]: any }): (string|null);
5795
+
5796
+ /**
5797
+ * Creates a UserAccessGroupDeleted message from a plain object. Also converts values to their respective internal types.
5798
+ * @param object Plain object
5799
+ * @returns UserAccessGroupDeleted
5800
+ */
5801
+ public static fromObject(object: { [k: string]: any }): UserAccessGroupDeleted;
5802
+
5803
+ /**
5804
+ * Creates a plain object from a UserAccessGroupDeleted message. Also converts values to other types if specified.
5805
+ * @param message UserAccessGroupDeleted
5806
+ * @param [options] Conversion options
5807
+ * @returns Plain object
5808
+ */
5809
+ public static toObject(message: UserAccessGroupDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
5810
+
5811
+ /**
5812
+ * Converts this UserAccessGroupDeleted to JSON.
5813
+ * @returns JSON object
5814
+ */
5815
+ public toJSON(): { [k: string]: any };
5816
+ }
5817
+
5818
+ /** Properties of a UserAccessGroupUpdated. */
5819
+ export interface IUserAccessGroupUpdated {
5820
+
5821
+ /** UserAccessGroupUpdated userId */
5822
+ userId?: (string|null);
5823
+
5824
+ /** UserAccessGroupUpdated accessGroupName */
5825
+ accessGroupName?: (string|null);
5826
+
5827
+ /** UserAccessGroupUpdated updatedAt */
5828
+ updatedAt?: (number|Long|null);
5829
+ }
5830
+
5831
+ /** Represents a UserAccessGroupUpdated. */
5832
+ export class UserAccessGroupUpdated implements IUserAccessGroupUpdated {
5833
+
5834
+ /**
5835
+ * Constructs a new UserAccessGroupUpdated.
5836
+ * @param [properties] Properties to set
5837
+ */
5838
+ constructor(properties?: IUserAccessGroupUpdated);
5839
+
5840
+ /** UserAccessGroupUpdated userId. */
5841
+ public userId: string;
5842
+
5843
+ /** UserAccessGroupUpdated accessGroupName. */
5844
+ public accessGroupName: string;
5845
+
5846
+ /** UserAccessGroupUpdated updatedAt. */
5847
+ public updatedAt: (number|Long);
5848
+
5849
+ /**
5850
+ * Creates a new UserAccessGroupUpdated instance using the specified properties.
5851
+ * @param [properties] Properties to set
5852
+ * @returns UserAccessGroupUpdated instance
5853
+ */
5854
+ public static create(properties?: IUserAccessGroupUpdated): UserAccessGroupUpdated;
5855
+
5856
+ /**
5857
+ * Encodes the specified UserAccessGroupUpdated message. Does not implicitly {@link UserAccessGroupUpdated.verify|verify} messages.
5858
+ * @param message UserAccessGroupUpdated message or plain object to encode
5859
+ * @param [writer] Writer to encode to
5860
+ * @returns Writer
5861
+ */
5862
+ public static encode(message: IUserAccessGroupUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
5863
+
5864
+ /**
5865
+ * Encodes the specified UserAccessGroupUpdated message, length delimited. Does not implicitly {@link UserAccessGroupUpdated.verify|verify} messages.
5866
+ * @param message UserAccessGroupUpdated message or plain object to encode
5225
5867
  * @param [writer] Writer to encode to
5226
5868
  * @returns Writer
5227
5869
  */
5228
- public static encodeDelimited(message: IAccessGroupDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
5870
+ public static encodeDelimited(message: IUserAccessGroupUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
5229
5871
 
5230
5872
  /**
5231
- * Decodes an AccessGroupDeleted message from the specified reader or buffer.
5873
+ * Decodes a UserAccessGroupUpdated message from the specified reader or buffer.
5232
5874
  * @param reader Reader or buffer to decode from
5233
5875
  * @param [length] Message length if known beforehand
5234
- * @returns AccessGroupDeleted
5876
+ * @returns UserAccessGroupUpdated
5235
5877
  * @throws {Error} If the payload is not a reader or valid buffer
5236
5878
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
5237
5879
  */
5238
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AccessGroupDeleted;
5880
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserAccessGroupUpdated;
5239
5881
 
5240
5882
  /**
5241
- * Decodes an AccessGroupDeleted message from the specified reader or buffer, length delimited.
5883
+ * Decodes a UserAccessGroupUpdated message from the specified reader or buffer, length delimited.
5242
5884
  * @param reader Reader or buffer to decode from
5243
- * @returns AccessGroupDeleted
5885
+ * @returns UserAccessGroupUpdated
5244
5886
  * @throws {Error} If the payload is not a reader or valid buffer
5245
5887
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
5246
5888
  */
5247
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AccessGroupDeleted;
5889
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserAccessGroupUpdated;
5248
5890
 
5249
5891
  /**
5250
- * Verifies an AccessGroupDeleted message.
5892
+ * Verifies a UserAccessGroupUpdated message.
5251
5893
  * @param message Plain object to verify
5252
5894
  * @returns `null` if valid, otherwise the reason why it is not
5253
5895
  */
5254
5896
  public static verify(message: { [k: string]: any }): (string|null);
5255
5897
 
5256
5898
  /**
5257
- * Creates an AccessGroupDeleted message from a plain object. Also converts values to their respective internal types.
5899
+ * Creates a UserAccessGroupUpdated message from a plain object. Also converts values to their respective internal types.
5258
5900
  * @param object Plain object
5259
- * @returns AccessGroupDeleted
5901
+ * @returns UserAccessGroupUpdated
5260
5902
  */
5261
- public static fromObject(object: { [k: string]: any }): AccessGroupDeleted;
5903
+ public static fromObject(object: { [k: string]: any }): UserAccessGroupUpdated;
5262
5904
 
5263
5905
  /**
5264
- * Creates a plain object from an AccessGroupDeleted message. Also converts values to other types if specified.
5265
- * @param message AccessGroupDeleted
5906
+ * Creates a plain object from a UserAccessGroupUpdated message. Also converts values to other types if specified.
5907
+ * @param message UserAccessGroupUpdated
5266
5908
  * @param [options] Conversion options
5267
5909
  * @returns Plain object
5268
5910
  */
5269
- public static toObject(message: AccessGroupDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
5911
+ public static toObject(message: UserAccessGroupUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
5270
5912
 
5271
5913
  /**
5272
- * Converts this AccessGroupDeleted to JSON.
5914
+ * Converts this UserAccessGroupUpdated to JSON.
5273
5915
  * @returns JSON object
5274
5916
  */
5275
5917
  public toJSON(): { [k: string]: any };
5276
5918
  }
5277
5919
 
5920
+ /** Properties of a ReferralSignedUp. */
5921
+ export interface IReferralSignedUp {
5922
+
5923
+ /** ReferralSignedUp refereeName */
5924
+ refereeName?: (string|null);
5925
+
5926
+ /** ReferralSignedUp referrerId */
5927
+ referrerId?: (string|null);
5928
+ }
5929
+
5278
5930
  /** Represents a ReferralSignedUp. */
5279
5931
  export class ReferralSignedUp implements IReferralSignedUp {
5280
5932
 
@@ -5361,6 +6013,19 @@ export class ReferralSignedUp implements IReferralSignedUp {
5361
6013
  public toJSON(): { [k: string]: any };
5362
6014
  }
5363
6015
 
6016
+ /** Properties of a SleepcastEpisodeCompleted. */
6017
+ export interface ISleepcastEpisodeCompleted {
6018
+
6019
+ /** SleepcastEpisodeCompleted timestamp */
6020
+ timestamp?: (number|Long|null);
6021
+
6022
+ /** SleepcastEpisodeCompleted sleepcastId */
6023
+ sleepcastId?: (number|null);
6024
+
6025
+ /** SleepcastEpisodeCompleted userId */
6026
+ userId?: (string|null);
6027
+ }
6028
+
5364
6029
  /** Represents a SleepcastEpisodeCompleted. */
5365
6030
  export class SleepcastEpisodeCompleted implements ISleepcastEpisodeCompleted {
5366
6031
 
@@ -5450,6 +6115,19 @@ export class SleepcastEpisodeCompleted implements ISleepcastEpisodeCompleted {
5450
6115
  public toJSON(): { [k: string]: any };
5451
6116
  }
5452
6117
 
6118
+ /** Properties of a FirstSleepcastPlayDateSet. */
6119
+ export interface IFirstSleepcastPlayDateSet {
6120
+
6121
+ /** FirstSleepcastPlayDateSet timestamp */
6122
+ timestamp?: (number|Long|null);
6123
+
6124
+ /** FirstSleepcastPlayDateSet userId */
6125
+ userId?: (string|null);
6126
+
6127
+ /** FirstSleepcastPlayDateSet firstPlayTimestamp */
6128
+ firstPlayTimestamp?: (number|Long|null);
6129
+ }
6130
+
5453
6131
  /** Represents a FirstSleepcastPlayDateSet. */
5454
6132
  export class FirstSleepcastPlayDateSet implements IFirstSleepcastPlayDateSet {
5455
6133
 
@@ -5539,6 +6217,19 @@ export class FirstSleepcastPlayDateSet implements IFirstSleepcastPlayDateSet {
5539
6217
  public toJSON(): { [k: string]: any };
5540
6218
  }
5541
6219
 
6220
+ /** Properties of a NumSleepcastPlaysSet. */
6221
+ export interface INumSleepcastPlaysSet {
6222
+
6223
+ /** NumSleepcastPlaysSet timestamp */
6224
+ timestamp?: (number|Long|null);
6225
+
6226
+ /** NumSleepcastPlaysSet userId */
6227
+ userId?: (string|null);
6228
+
6229
+ /** NumSleepcastPlaysSet numPlays */
6230
+ numPlays?: (number|null);
6231
+ }
6232
+
5542
6233
  /** Represents a NumSleepcastPlaysSet. */
5543
6234
  export class NumSleepcastPlaysSet implements INumSleepcastPlaysSet {
5544
6235
 
@@ -5628,6 +6319,46 @@ export class NumSleepcastPlaysSet implements INumSleepcastPlaysSet {
5628
6319
  public toJSON(): { [k: string]: any };
5629
6320
  }
5630
6321
 
6322
+ /** Properties of a SubscriptionCreated. */
6323
+ export interface ISubscriptionCreated {
6324
+
6325
+ /** SubscriptionCreated id */
6326
+ id?: (number|null);
6327
+
6328
+ /** SubscriptionCreated updatedOn */
6329
+ updatedOn?: (number|Long|null);
6330
+
6331
+ /** SubscriptionCreated userId */
6332
+ userId?: (string|null);
6333
+
6334
+ /** SubscriptionCreated createdAt */
6335
+ createdAt?: (number|Long|null);
6336
+
6337
+ /** SubscriptionCreated startsAt */
6338
+ startsAt?: (number|Long|null);
6339
+
6340
+ /** SubscriptionCreated endsAt */
6341
+ endsAt?: (number|Long|null);
6342
+
6343
+ /** SubscriptionCreated voucherCode */
6344
+ voucherCode?: (string|null);
6345
+
6346
+ /** SubscriptionCreated platform */
6347
+ platform?: (subscription.SubscriptionPlatform|null);
6348
+
6349
+ /** SubscriptionCreated autoRenewalStatus */
6350
+ autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
6351
+
6352
+ /** SubscriptionCreated plan */
6353
+ plan?: (subscription.IPlan|null);
6354
+
6355
+ /** SubscriptionCreated subscriptionState */
6356
+ subscriptionState?: (subscription.SubscriptionState|null);
6357
+
6358
+ /** SubscriptionCreated labels */
6359
+ labels?: (subscription.SubscriptionLabels[]|null);
6360
+ }
6361
+
5631
6362
  /** Represents a SubscriptionCreated. */
5632
6363
  export class SubscriptionCreated implements ISubscriptionCreated {
5633
6364
 
@@ -5744,6 +6475,52 @@ export class SubscriptionCreated implements ISubscriptionCreated {
5744
6475
  public toJSON(): { [k: string]: any };
5745
6476
  }
5746
6477
 
6478
+ /** Properties of a SubscriptionCancelled. */
6479
+ export interface ISubscriptionCancelled {
6480
+
6481
+ /** SubscriptionCancelled id */
6482
+ id?: (number|null);
6483
+
6484
+ /** SubscriptionCancelled updatedOn */
6485
+ updatedOn?: (number|Long|null);
6486
+
6487
+ /** SubscriptionCancelled userId */
6488
+ userId?: (string|null);
6489
+
6490
+ /** SubscriptionCancelled paymentMethod */
6491
+ paymentMethod?: (subscription.IPaymentMethod|null);
6492
+
6493
+ /** SubscriptionCancelled createdAt */
6494
+ createdAt?: (number|Long|null);
6495
+
6496
+ /** SubscriptionCancelled startsAt */
6497
+ startsAt?: (number|Long|null);
6498
+
6499
+ /** SubscriptionCancelled endsAt */
6500
+ endsAt?: (number|Long|null);
6501
+
6502
+ /** SubscriptionCancelled voucherCode */
6503
+ voucherCode?: (string|null);
6504
+
6505
+ /** SubscriptionCancelled platform */
6506
+ platform?: (subscription.SubscriptionPlatform|null);
6507
+
6508
+ /** SubscriptionCancelled autoRenewalStatus */
6509
+ autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
6510
+
6511
+ /** SubscriptionCancelled plan */
6512
+ plan?: (subscription.IPlan|null);
6513
+
6514
+ /** SubscriptionCancelled cancellationType */
6515
+ cancellationType?: (subscription.CancellationType|null);
6516
+
6517
+ /** SubscriptionCancelled subscriptionState */
6518
+ subscriptionState?: (subscription.SubscriptionState|null);
6519
+
6520
+ /** SubscriptionCancelled labels */
6521
+ labels?: (subscription.SubscriptionLabels[]|null);
6522
+ }
6523
+
5747
6524
  /** Represents a SubscriptionCancelled. */
5748
6525
  export class SubscriptionCancelled implements ISubscriptionCancelled {
5749
6526
 
@@ -5866,6 +6643,49 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
5866
6643
  public toJSON(): { [k: string]: any };
5867
6644
  }
5868
6645
 
6646
+ /** Properties of a SubscriptionRenewed. */
6647
+ export interface ISubscriptionRenewed {
6648
+
6649
+ /** SubscriptionRenewed id */
6650
+ id?: (number|null);
6651
+
6652
+ /** SubscriptionRenewed updatedOn */
6653
+ updatedOn?: (number|Long|null);
6654
+
6655
+ /** SubscriptionRenewed userId */
6656
+ userId?: (string|null);
6657
+
6658
+ /** SubscriptionRenewed createdAt */
6659
+ createdAt?: (number|Long|null);
6660
+
6661
+ /** SubscriptionRenewed startsAt */
6662
+ startsAt?: (number|Long|null);
6663
+
6664
+ /** SubscriptionRenewed endsAt */
6665
+ endsAt?: (number|Long|null);
6666
+
6667
+ /** SubscriptionRenewed voucherCode */
6668
+ voucherCode?: (string|null);
6669
+
6670
+ /** SubscriptionRenewed platform */
6671
+ platform?: (subscription.SubscriptionPlatform|null);
6672
+
6673
+ /** SubscriptionRenewed autoRenewalStatus */
6674
+ autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
6675
+
6676
+ /** SubscriptionRenewed plan */
6677
+ plan?: (subscription.IPlan|null);
6678
+
6679
+ /** SubscriptionRenewed subscriptionState */
6680
+ subscriptionState?: (subscription.SubscriptionState|null);
6681
+
6682
+ /** SubscriptionRenewed labels */
6683
+ labels?: (subscription.SubscriptionLabels[]|null);
6684
+
6685
+ /** SubscriptionRenewed renewalCount */
6686
+ renewalCount?: (number|Long|null);
6687
+ }
6688
+
5869
6689
  /** Represents a SubscriptionRenewed. */
5870
6690
  export class SubscriptionRenewed implements ISubscriptionRenewed {
5871
6691
 
@@ -5985,6 +6805,37 @@ export class SubscriptionRenewed implements ISubscriptionRenewed {
5985
6805
  public toJSON(): { [k: string]: any };
5986
6806
  }
5987
6807
 
6808
+ /** Properties of a SubscriptionUpcomingRenewal. */
6809
+ export interface ISubscriptionUpcomingRenewal {
6810
+
6811
+ /** SubscriptionUpcomingRenewal id */
6812
+ id?: (number|null);
6813
+
6814
+ /** SubscriptionUpcomingRenewal userId */
6815
+ userId?: (string|null);
6816
+
6817
+ /** SubscriptionUpcomingRenewal daysBefore */
6818
+ daysBefore?: (number|null);
6819
+
6820
+ /** SubscriptionUpcomingRenewal membership */
6821
+ membership?: (subscription.SubscriptionMembership|null);
6822
+
6823
+ /** SubscriptionUpcomingRenewal planAffiliation */
6824
+ planAffiliation?: (subscription.PlanAffiliation|null);
6825
+
6826
+ /** SubscriptionUpcomingRenewal renewalDate */
6827
+ renewalDate?: (number|Long|null);
6828
+
6829
+ /** SubscriptionUpcomingRenewal paymentMethod */
6830
+ paymentMethod?: (subscription.IPaymentMethod|null);
6831
+
6832
+ /** SubscriptionUpcomingRenewal renewalAmount */
6833
+ renewalAmount?: (number|null);
6834
+
6835
+ /** SubscriptionUpcomingRenewal currency */
6836
+ currency?: (string|null);
6837
+ }
6838
+
5988
6839
  /** Represents a SubscriptionUpcomingRenewal. */
5989
6840
  export class SubscriptionUpcomingRenewal implements ISubscriptionUpcomingRenewal {
5990
6841
 
@@ -6092,6 +6943,28 @@ export class SubscriptionUpcomingRenewal implements ISubscriptionUpcomingRenewal
6092
6943
  public toJSON(): { [k: string]: any };
6093
6944
  }
6094
6945
 
6946
+ /** Properties of a SubscriptionPaymentProcessed. */
6947
+ export interface ISubscriptionPaymentProcessed {
6948
+
6949
+ /** SubscriptionPaymentProcessed userId */
6950
+ userId?: (string|null);
6951
+
6952
+ /** SubscriptionPaymentProcessed paymentDate */
6953
+ paymentDate?: (number|Long|null);
6954
+
6955
+ /** SubscriptionPaymentProcessed timestamp */
6956
+ timestamp?: (number|Long|null);
6957
+
6958
+ /** SubscriptionPaymentProcessed paymentAmount */
6959
+ paymentAmount?: (number|null);
6960
+
6961
+ /** SubscriptionPaymentProcessed renewalAmount */
6962
+ renewalAmount?: (number|null);
6963
+
6964
+ /** SubscriptionPaymentProcessed currency */
6965
+ currency?: (string|null);
6966
+ }
6967
+
6095
6968
  /** Represents a SubscriptionPaymentProcessed. */
6096
6969
  export class SubscriptionPaymentProcessed implements ISubscriptionPaymentProcessed {
6097
6970
 
@@ -6190,6 +7063,22 @@ export class SubscriptionPaymentProcessed implements ISubscriptionPaymentProcess
6190
7063
  public toJSON(): { [k: string]: any };
6191
7064
  }
6192
7065
 
7066
+ /** Properties of a SubscriptionPaymentDeclined. */
7067
+ export interface ISubscriptionPaymentDeclined {
7068
+
7069
+ /** SubscriptionPaymentDeclined userId */
7070
+ userId?: (string|null);
7071
+
7072
+ /** SubscriptionPaymentDeclined paymentDate */
7073
+ paymentDate?: (number|Long|null);
7074
+
7075
+ /** SubscriptionPaymentDeclined timestamp */
7076
+ timestamp?: (number|Long|null);
7077
+
7078
+ /** SubscriptionPaymentDeclined attempt */
7079
+ attempt?: (number|null);
7080
+ }
7081
+
6193
7082
  /** Represents a SubscriptionPaymentDeclined. */
6194
7083
  export class SubscriptionPaymentDeclined implements ISubscriptionPaymentDeclined {
6195
7084
 
@@ -6282,6 +7171,46 @@ export class SubscriptionPaymentDeclined implements ISubscriptionPaymentDeclined
6282
7171
  public toJSON(): { [k: string]: any };
6283
7172
  }
6284
7173
 
7174
+ /** Properties of a SubscriptionGraced. */
7175
+ export interface ISubscriptionGraced {
7176
+
7177
+ /** SubscriptionGraced id */
7178
+ id?: (number|null);
7179
+
7180
+ /** SubscriptionGraced updatedOn */
7181
+ updatedOn?: (number|Long|null);
7182
+
7183
+ /** SubscriptionGraced userId */
7184
+ userId?: (string|null);
7185
+
7186
+ /** SubscriptionGraced createdAt */
7187
+ createdAt?: (number|Long|null);
7188
+
7189
+ /** SubscriptionGraced startsAt */
7190
+ startsAt?: (number|Long|null);
7191
+
7192
+ /** SubscriptionGraced endsAt */
7193
+ endsAt?: (number|Long|null);
7194
+
7195
+ /** SubscriptionGraced voucherCode */
7196
+ voucherCode?: (string|null);
7197
+
7198
+ /** SubscriptionGraced platform */
7199
+ platform?: (subscription.SubscriptionPlatform|null);
7200
+
7201
+ /** SubscriptionGraced autoRenewalStatus */
7202
+ autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
7203
+
7204
+ /** SubscriptionGraced plan */
7205
+ plan?: (subscription.IPlan|null);
7206
+
7207
+ /** SubscriptionGraced subscriptionState */
7208
+ subscriptionState?: (subscription.SubscriptionState|null);
7209
+
7210
+ /** SubscriptionGraced labels */
7211
+ labels?: (subscription.SubscriptionLabels[]|null);
7212
+ }
7213
+
6285
7214
  /** Represents a SubscriptionGraced. */
6286
7215
  export class SubscriptionGraced implements ISubscriptionGraced {
6287
7216
 
@@ -6398,6 +7327,43 @@ export class SubscriptionGraced implements ISubscriptionGraced {
6398
7327
  public toJSON(): { [k: string]: any };
6399
7328
  }
6400
7329
 
7330
+ /** Properties of a SubscriptionStarted. */
7331
+ export interface ISubscriptionStarted {
7332
+
7333
+ /** SubscriptionStarted updatedOn */
7334
+ updatedOn?: (number|Long|null);
7335
+
7336
+ /** SubscriptionStarted userId */
7337
+ userId?: (string|null);
7338
+
7339
+ /** SubscriptionStarted createdAt */
7340
+ createdAt?: (number|Long|null);
7341
+
7342
+ /** SubscriptionStarted startsAt */
7343
+ startsAt?: (number|Long|null);
7344
+
7345
+ /** SubscriptionStarted endsAt */
7346
+ endsAt?: (number|Long|null);
7347
+
7348
+ /** SubscriptionStarted voucherCode */
7349
+ voucherCode?: (string|null);
7350
+
7351
+ /** SubscriptionStarted platform */
7352
+ platform?: (subscription.SubscriptionPlatform|null);
7353
+
7354
+ /** SubscriptionStarted autoRenewalStatus */
7355
+ autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
7356
+
7357
+ /** SubscriptionStarted plan */
7358
+ plan?: (subscription.IPlan|null);
7359
+
7360
+ /** SubscriptionStarted subscriptionState */
7361
+ subscriptionState?: (subscription.SubscriptionState|null);
7362
+
7363
+ /** SubscriptionStarted labels */
7364
+ labels?: (subscription.SubscriptionLabels[]|null);
7365
+ }
7366
+
6401
7367
  /** Represents a SubscriptionStarted. */
6402
7368
  export class SubscriptionStarted implements ISubscriptionStarted {
6403
7369
 
@@ -6511,6 +7477,46 @@ export class SubscriptionStarted implements ISubscriptionStarted {
6511
7477
  public toJSON(): { [k: string]: any };
6512
7478
  }
6513
7479
 
7480
+ /** Properties of a SubscriptionEnded. */
7481
+ export interface ISubscriptionEnded {
7482
+
7483
+ /** SubscriptionEnded updatedOn */
7484
+ updatedOn?: (number|Long|null);
7485
+
7486
+ /** SubscriptionEnded userId */
7487
+ userId?: (string|null);
7488
+
7489
+ /** SubscriptionEnded createdAt */
7490
+ createdAt?: (number|Long|null);
7491
+
7492
+ /** SubscriptionEnded startsAt */
7493
+ startsAt?: (number|Long|null);
7494
+
7495
+ /** SubscriptionEnded endsAt */
7496
+ endsAt?: (number|Long|null);
7497
+
7498
+ /** SubscriptionEnded voucherCode */
7499
+ voucherCode?: (string|null);
7500
+
7501
+ /** SubscriptionEnded platform */
7502
+ platform?: (subscription.SubscriptionPlatform|null);
7503
+
7504
+ /** SubscriptionEnded autoRenewalStatus */
7505
+ autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
7506
+
7507
+ /** SubscriptionEnded plan */
7508
+ plan?: (subscription.IPlan|null);
7509
+
7510
+ /** SubscriptionEnded cancellationType */
7511
+ cancellationType?: (subscription.CancellationType|null);
7512
+
7513
+ /** SubscriptionEnded subscriptionState */
7514
+ subscriptionState?: (subscription.SubscriptionState|null);
7515
+
7516
+ /** SubscriptionEnded labels */
7517
+ labels?: (subscription.SubscriptionLabels[]|null);
7518
+ }
7519
+
6514
7520
  /** Represents a SubscriptionEnded. */
6515
7521
  export class SubscriptionEnded implements ISubscriptionEnded {
6516
7522
 
@@ -6627,6 +7633,43 @@ export class SubscriptionEnded implements ISubscriptionEnded {
6627
7633
  public toJSON(): { [k: string]: any };
6628
7634
  }
6629
7635
 
7636
+ /** Properties of a SubscriptionRecovered. */
7637
+ export interface ISubscriptionRecovered {
7638
+
7639
+ /** SubscriptionRecovered updatedOn */
7640
+ updatedOn?: (number|Long|null);
7641
+
7642
+ /** SubscriptionRecovered userId */
7643
+ userId?: (string|null);
7644
+
7645
+ /** SubscriptionRecovered createdAt */
7646
+ createdAt?: (number|Long|null);
7647
+
7648
+ /** SubscriptionRecovered startsAt */
7649
+ startsAt?: (number|Long|null);
7650
+
7651
+ /** SubscriptionRecovered endsAt */
7652
+ endsAt?: (number|Long|null);
7653
+
7654
+ /** SubscriptionRecovered voucherCode */
7655
+ voucherCode?: (string|null);
7656
+
7657
+ /** SubscriptionRecovered platform */
7658
+ platform?: (subscription.SubscriptionPlatform|null);
7659
+
7660
+ /** SubscriptionRecovered autoRenewalStatus */
7661
+ autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
7662
+
7663
+ /** SubscriptionRecovered plan */
7664
+ plan?: (subscription.IPlan|null);
7665
+
7666
+ /** SubscriptionRecovered subscriptionState */
7667
+ subscriptionState?: (subscription.SubscriptionState|null);
7668
+
7669
+ /** SubscriptionRecovered labels */
7670
+ labels?: (subscription.SubscriptionLabels[]|null);
7671
+ }
7672
+
6630
7673
  /** Represents a SubscriptionRecovered. */
6631
7674
  export class SubscriptionRecovered implements ISubscriptionRecovered {
6632
7675
 
@@ -6740,6 +7783,25 @@ export class SubscriptionRecovered implements ISubscriptionRecovered {
6740
7783
  public toJSON(): { [k: string]: any };
6741
7784
  }
6742
7785
 
7786
+ /** Properties of a SubscriptionMemberSubscribed. */
7787
+ export interface ISubscriptionMemberSubscribed {
7788
+
7789
+ /** SubscriptionMemberSubscribed timestamp */
7790
+ timestamp?: (number|Long|null);
7791
+
7792
+ /** SubscriptionMemberSubscribed userId */
7793
+ userId?: (string|null);
7794
+
7795
+ /** SubscriptionMemberSubscribed memberState */
7796
+ memberState?: (subscription.SubscriptionMemberState|null);
7797
+
7798
+ /** SubscriptionMemberSubscribed memberType */
7799
+ memberType?: (subscription.SubscriptionMemberType|null);
7800
+
7801
+ /** SubscriptionMemberSubscribed subscriptionMembership */
7802
+ subscriptionMembership?: (subscription.SubscriptionMembership|null);
7803
+ }
7804
+
6743
7805
  /** Represents a SubscriptionMemberSubscribed. */
6744
7806
  export class SubscriptionMemberSubscribed implements ISubscriptionMemberSubscribed {
6745
7807
 
@@ -6835,6 +7897,25 @@ export class SubscriptionMemberSubscribed implements ISubscriptionMemberSubscrib
6835
7897
  public toJSON(): { [k: string]: any };
6836
7898
  }
6837
7899
 
7900
+ /** Properties of a SubscriptionMemberRenewed. */
7901
+ export interface ISubscriptionMemberRenewed {
7902
+
7903
+ /** SubscriptionMemberRenewed timestamp */
7904
+ timestamp?: (number|Long|null);
7905
+
7906
+ /** SubscriptionMemberRenewed userId */
7907
+ userId?: (string|null);
7908
+
7909
+ /** SubscriptionMemberRenewed memberState */
7910
+ memberState?: (subscription.SubscriptionMemberState|null);
7911
+
7912
+ /** SubscriptionMemberRenewed memberType */
7913
+ memberType?: (subscription.SubscriptionMemberType|null);
7914
+
7915
+ /** SubscriptionMemberRenewed subscriptionMembership */
7916
+ subscriptionMembership?: (subscription.SubscriptionMembership|null);
7917
+ }
7918
+
6838
7919
  /** Represents a SubscriptionMemberRenewed. */
6839
7920
  export class SubscriptionMemberRenewed implements ISubscriptionMemberRenewed {
6840
7921
 
@@ -6930,6 +8011,25 @@ export class SubscriptionMemberRenewed implements ISubscriptionMemberRenewed {
6930
8011
  public toJSON(): { [k: string]: any };
6931
8012
  }
6932
8013
 
8014
+ /** Properties of a SubscriptionMemberChurned. */
8015
+ export interface ISubscriptionMemberChurned {
8016
+
8017
+ /** SubscriptionMemberChurned timestamp */
8018
+ timestamp?: (number|Long|null);
8019
+
8020
+ /** SubscriptionMemberChurned userId */
8021
+ userId?: (string|null);
8022
+
8023
+ /** SubscriptionMemberChurned memberState */
8024
+ memberState?: (subscription.SubscriptionMemberState|null);
8025
+
8026
+ /** SubscriptionMemberChurned memberType */
8027
+ memberType?: (subscription.SubscriptionMemberType|null);
8028
+
8029
+ /** SubscriptionMemberChurned subscriptionMembership */
8030
+ subscriptionMembership?: (subscription.SubscriptionMembership|null);
8031
+ }
8032
+
6933
8033
  /** Represents a SubscriptionMemberChurned. */
6934
8034
  export class SubscriptionMemberChurned implements ISubscriptionMemberChurned {
6935
8035
 
@@ -7025,6 +8125,13 @@ export class SubscriptionMemberChurned implements ISubscriptionMemberChurned {
7025
8125
  public toJSON(): { [k: string]: any };
7026
8126
  }
7027
8127
 
8128
+ /** Properties of a UserDoubleOptInEmailRequested. */
8129
+ export interface IUserDoubleOptInEmailRequested {
8130
+
8131
+ /** UserDoubleOptInEmailRequested userId */
8132
+ userId?: (string|null);
8133
+ }
8134
+
7028
8135
  /** Represents a UserDoubleOptInEmailRequested. */
7029
8136
  export class UserDoubleOptInEmailRequested implements IUserDoubleOptInEmailRequested {
7030
8137
 
@@ -7108,6 +8215,19 @@ export class UserDoubleOptInEmailRequested implements IUserDoubleOptInEmailReque
7108
8215
  public toJSON(): { [k: string]: any };
7109
8216
  }
7110
8217
 
8218
+ /** Properties of a UserEmailUpdated. */
8219
+ export interface IUserEmailUpdated {
8220
+
8221
+ /** UserEmailUpdated userId */
8222
+ userId?: (string|null);
8223
+
8224
+ /** UserEmailUpdated oldEmail */
8225
+ oldEmail?: (string|null);
8226
+
8227
+ /** UserEmailUpdated timestamp */
8228
+ timestamp?: (number|Long|null);
8229
+ }
8230
+
7111
8231
  /** Represents a UserEmailUpdated. */
7112
8232
  export class UserEmailUpdated implements IUserEmailUpdated {
7113
8233
 
@@ -7197,6 +8317,22 @@ export class UserEmailUpdated implements IUserEmailUpdated {
7197
8317
  public toJSON(): { [k: string]: any };
7198
8318
  }
7199
8319
 
8320
+ /** Properties of a UserEmailVerificationRequested. */
8321
+ export interface IUserEmailVerificationRequested {
8322
+
8323
+ /** UserEmailVerificationRequested userId */
8324
+ userId?: (string|null);
8325
+
8326
+ /** UserEmailVerificationRequested verificationCode */
8327
+ verificationCode?: (string|null);
8328
+
8329
+ /** UserEmailVerificationRequested timestamp */
8330
+ timestamp?: (number|Long|null);
8331
+
8332
+ /** UserEmailVerificationRequested optIn */
8333
+ optIn?: (boolean|null);
8334
+ }
8335
+
7200
8336
  /** Represents a UserEmailVerificationRequested. */
7201
8337
  export class UserEmailVerificationRequested implements IUserEmailVerificationRequested {
7202
8338
 
@@ -7289,6 +8425,22 @@ export class UserEmailVerificationRequested implements IUserEmailVerificationReq
7289
8425
  public toJSON(): { [k: string]: any };
7290
8426
  }
7291
8427
 
8428
+ /** Properties of a UserPasswordResetRequested. */
8429
+ export interface IUserPasswordResetRequested {
8430
+
8431
+ /** UserPasswordResetRequested userId */
8432
+ userId?: (string|null);
8433
+
8434
+ /** UserPasswordResetRequested resetCode */
8435
+ resetCode?: (string|null);
8436
+
8437
+ /** UserPasswordResetRequested timestamp */
8438
+ timestamp?: (number|Long|null);
8439
+
8440
+ /** UserPasswordResetRequested email */
8441
+ email?: (string|null);
8442
+ }
8443
+
7292
8444
  /** Represents a UserPasswordResetRequested. */
7293
8445
  export class UserPasswordResetRequested implements IUserPasswordResetRequested {
7294
8446
 
@@ -7381,6 +8533,19 @@ export class UserPasswordResetRequested implements IUserPasswordResetRequested {
7381
8533
  public toJSON(): { [k: string]: any };
7382
8534
  }
7383
8535
 
8536
+ /** Properties of a UserPasswordUpdated. */
8537
+ export interface IUserPasswordUpdated {
8538
+
8539
+ /** UserPasswordUpdated userId */
8540
+ userId?: (string|null);
8541
+
8542
+ /** UserPasswordUpdated updatedOn */
8543
+ updatedOn?: (number|Long|null);
8544
+
8545
+ /** UserPasswordUpdated email */
8546
+ email?: (string|null);
8547
+ }
8548
+
7384
8549
  /** Represents a UserPasswordUpdated. */
7385
8550
  export class UserPasswordUpdated implements IUserPasswordUpdated {
7386
8551
 
@@ -7470,6 +8635,13 @@ export class UserPasswordUpdated implements IUserPasswordUpdated {
7470
8635
  public toJSON(): { [k: string]: any };
7471
8636
  }
7472
8637
 
8638
+ /** Properties of a UserEmailMarketingOptedIn. */
8639
+ export interface IUserEmailMarketingOptedIn {
8640
+
8641
+ /** UserEmailMarketingOptedIn userId */
8642
+ userId?: (string|null);
8643
+ }
8644
+
7473
8645
  /** Represents a UserEmailMarketingOptedIn. */
7474
8646
  export class UserEmailMarketingOptedIn implements IUserEmailMarketingOptedIn {
7475
8647
 
@@ -7553,6 +8725,16 @@ export class UserEmailMarketingOptedIn implements IUserEmailMarketingOptedIn {
7553
8725
  public toJSON(): { [k: string]: any };
7554
8726
  }
7555
8727
 
8728
+ /** Properties of a UserEmailMarketingSubscriptionStatusUpdated. */
8729
+ export interface IUserEmailMarketingSubscriptionStatusUpdated {
8730
+
8731
+ /** UserEmailMarketingSubscriptionStatusUpdated userId */
8732
+ userId?: (string|null);
8733
+
8734
+ /** UserEmailMarketingSubscriptionStatusUpdated status */
8735
+ status?: (string|null);
8736
+ }
8737
+
7556
8738
  /** Represents a UserEmailMarketingSubscriptionStatusUpdated. */
7557
8739
  export class UserEmailMarketingSubscriptionStatusUpdated implements IUserEmailMarketingSubscriptionStatusUpdated {
7558
8740