@headspace/protos-events 1.52.0 → 1.54.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 +294 -0
  2. package/lib/index.js +1036 -0
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -2358,6 +2358,12 @@ export interface IMessageSent {
2358
2358
 
2359
2359
  /** MessageSent imageUrl */
2360
2360
  imageUrl?: (string|null);
2361
+
2362
+ /** MessageSent messageText */
2363
+ messageText?: (string|null);
2364
+
2365
+ /** MessageSent messageTitle */
2366
+ messageTitle?: (string|null);
2361
2367
  }
2362
2368
 
2363
2369
  /** Represents a MessageSent. */
@@ -2390,6 +2396,12 @@ export class MessageSent implements IMessageSent {
2390
2396
  /** MessageSent imageUrl. */
2391
2397
  public imageUrl: string;
2392
2398
 
2399
+ /** MessageSent messageText. */
2400
+ public messageText: string;
2401
+
2402
+ /** MessageSent messageTitle. */
2403
+ public messageTitle: string;
2404
+
2393
2405
  /**
2394
2406
  * Creates a new MessageSent instance using the specified properties.
2395
2407
  * @param [properties] Properties to set
@@ -4591,6 +4603,288 @@ export class SubscriptionGraced implements ISubscriptionGraced {
4591
4603
  public toJSON(): { [k: string]: any };
4592
4604
  }
4593
4605
 
4606
+ /** Properties of a SubscriptionStarted. */
4607
+ export interface ISubscriptionStarted {
4608
+
4609
+ /** SubscriptionStarted updatedOn */
4610
+ updatedOn?: (number|Long|null);
4611
+
4612
+ /** SubscriptionStarted userId */
4613
+ userId?: (string|null);
4614
+
4615
+ /** SubscriptionStarted createdAt */
4616
+ createdAt?: (number|Long|null);
4617
+
4618
+ /** SubscriptionStarted startsAt */
4619
+ startsAt?: (number|Long|null);
4620
+
4621
+ /** SubscriptionStarted endsAt */
4622
+ endsAt?: (number|Long|null);
4623
+
4624
+ /** SubscriptionStarted voucherCode */
4625
+ voucherCode?: (string|null);
4626
+
4627
+ /** SubscriptionStarted platform */
4628
+ platform?: (subscription.SubscriptionPlatform|null);
4629
+
4630
+ /** SubscriptionStarted autoRenewalStatus */
4631
+ autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
4632
+
4633
+ /** SubscriptionStarted plan */
4634
+ plan?: (subscription.IPlan|null);
4635
+ }
4636
+
4637
+ /** Represents a SubscriptionStarted. */
4638
+ export class SubscriptionStarted implements ISubscriptionStarted {
4639
+
4640
+ /**
4641
+ * Constructs a new SubscriptionStarted.
4642
+ * @param [properties] Properties to set
4643
+ */
4644
+ constructor(properties?: ISubscriptionStarted);
4645
+
4646
+ /** SubscriptionStarted updatedOn. */
4647
+ public updatedOn: (number|Long);
4648
+
4649
+ /** SubscriptionStarted userId. */
4650
+ public userId: string;
4651
+
4652
+ /** SubscriptionStarted createdAt. */
4653
+ public createdAt: (number|Long);
4654
+
4655
+ /** SubscriptionStarted startsAt. */
4656
+ public startsAt: (number|Long);
4657
+
4658
+ /** SubscriptionStarted endsAt. */
4659
+ public endsAt: (number|Long);
4660
+
4661
+ /** SubscriptionStarted voucherCode. */
4662
+ public voucherCode: string;
4663
+
4664
+ /** SubscriptionStarted platform. */
4665
+ public platform: subscription.SubscriptionPlatform;
4666
+
4667
+ /** SubscriptionStarted autoRenewalStatus. */
4668
+ public autoRenewalStatus: subscription.AutoRenewalStatus;
4669
+
4670
+ /** SubscriptionStarted plan. */
4671
+ public plan?: (subscription.IPlan|null);
4672
+
4673
+ /**
4674
+ * Creates a new SubscriptionStarted instance using the specified properties.
4675
+ * @param [properties] Properties to set
4676
+ * @returns SubscriptionStarted instance
4677
+ */
4678
+ public static create(properties?: ISubscriptionStarted): SubscriptionStarted;
4679
+
4680
+ /**
4681
+ * Encodes the specified SubscriptionStarted message. Does not implicitly {@link SubscriptionStarted.verify|verify} messages.
4682
+ * @param message SubscriptionStarted message or plain object to encode
4683
+ * @param [writer] Writer to encode to
4684
+ * @returns Writer
4685
+ */
4686
+ public static encode(message: ISubscriptionStarted, writer?: $protobuf.Writer): $protobuf.Writer;
4687
+
4688
+ /**
4689
+ * Encodes the specified SubscriptionStarted message, length delimited. Does not implicitly {@link SubscriptionStarted.verify|verify} messages.
4690
+ * @param message SubscriptionStarted message or plain object to encode
4691
+ * @param [writer] Writer to encode to
4692
+ * @returns Writer
4693
+ */
4694
+ public static encodeDelimited(message: ISubscriptionStarted, writer?: $protobuf.Writer): $protobuf.Writer;
4695
+
4696
+ /**
4697
+ * Decodes a SubscriptionStarted message from the specified reader or buffer.
4698
+ * @param reader Reader or buffer to decode from
4699
+ * @param [length] Message length if known beforehand
4700
+ * @returns SubscriptionStarted
4701
+ * @throws {Error} If the payload is not a reader or valid buffer
4702
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4703
+ */
4704
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SubscriptionStarted;
4705
+
4706
+ /**
4707
+ * Decodes a SubscriptionStarted message from the specified reader or buffer, length delimited.
4708
+ * @param reader Reader or buffer to decode from
4709
+ * @returns SubscriptionStarted
4710
+ * @throws {Error} If the payload is not a reader or valid buffer
4711
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4712
+ */
4713
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SubscriptionStarted;
4714
+
4715
+ /**
4716
+ * Verifies a SubscriptionStarted message.
4717
+ * @param message Plain object to verify
4718
+ * @returns `null` if valid, otherwise the reason why it is not
4719
+ */
4720
+ public static verify(message: { [k: string]: any }): (string|null);
4721
+
4722
+ /**
4723
+ * Creates a SubscriptionStarted message from a plain object. Also converts values to their respective internal types.
4724
+ * @param object Plain object
4725
+ * @returns SubscriptionStarted
4726
+ */
4727
+ public static fromObject(object: { [k: string]: any }): SubscriptionStarted;
4728
+
4729
+ /**
4730
+ * Creates a plain object from a SubscriptionStarted message. Also converts values to other types if specified.
4731
+ * @param message SubscriptionStarted
4732
+ * @param [options] Conversion options
4733
+ * @returns Plain object
4734
+ */
4735
+ public static toObject(message: SubscriptionStarted, options?: $protobuf.IConversionOptions): { [k: string]: any };
4736
+
4737
+ /**
4738
+ * Converts this SubscriptionStarted to JSON.
4739
+ * @returns JSON object
4740
+ */
4741
+ public toJSON(): { [k: string]: any };
4742
+ }
4743
+
4744
+ /** Properties of a SubscriptionEnded. */
4745
+ export interface ISubscriptionEnded {
4746
+
4747
+ /** SubscriptionEnded updatedOn */
4748
+ updatedOn?: (number|Long|null);
4749
+
4750
+ /** SubscriptionEnded userId */
4751
+ userId?: (string|null);
4752
+
4753
+ /** SubscriptionEnded createdAt */
4754
+ createdAt?: (number|Long|null);
4755
+
4756
+ /** SubscriptionEnded startsAt */
4757
+ startsAt?: (number|Long|null);
4758
+
4759
+ /** SubscriptionEnded endsAt */
4760
+ endsAt?: (number|Long|null);
4761
+
4762
+ /** SubscriptionEnded voucherCode */
4763
+ voucherCode?: (string|null);
4764
+
4765
+ /** SubscriptionEnded platform */
4766
+ platform?: (subscription.SubscriptionPlatform|null);
4767
+
4768
+ /** SubscriptionEnded autoRenewalStatus */
4769
+ autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
4770
+
4771
+ /** SubscriptionEnded plan */
4772
+ plan?: (subscription.IPlan|null);
4773
+
4774
+ /** SubscriptionEnded cancellationType */
4775
+ cancellationType?: (subscription.CancellationType|null);
4776
+ }
4777
+
4778
+ /** Represents a SubscriptionEnded. */
4779
+ export class SubscriptionEnded implements ISubscriptionEnded {
4780
+
4781
+ /**
4782
+ * Constructs a new SubscriptionEnded.
4783
+ * @param [properties] Properties to set
4784
+ */
4785
+ constructor(properties?: ISubscriptionEnded);
4786
+
4787
+ /** SubscriptionEnded updatedOn. */
4788
+ public updatedOn: (number|Long);
4789
+
4790
+ /** SubscriptionEnded userId. */
4791
+ public userId: string;
4792
+
4793
+ /** SubscriptionEnded createdAt. */
4794
+ public createdAt: (number|Long);
4795
+
4796
+ /** SubscriptionEnded startsAt. */
4797
+ public startsAt: (number|Long);
4798
+
4799
+ /** SubscriptionEnded endsAt. */
4800
+ public endsAt: (number|Long);
4801
+
4802
+ /** SubscriptionEnded voucherCode. */
4803
+ public voucherCode: string;
4804
+
4805
+ /** SubscriptionEnded platform. */
4806
+ public platform: subscription.SubscriptionPlatform;
4807
+
4808
+ /** SubscriptionEnded autoRenewalStatus. */
4809
+ public autoRenewalStatus: subscription.AutoRenewalStatus;
4810
+
4811
+ /** SubscriptionEnded plan. */
4812
+ public plan?: (subscription.IPlan|null);
4813
+
4814
+ /** SubscriptionEnded cancellationType. */
4815
+ public cancellationType: subscription.CancellationType;
4816
+
4817
+ /**
4818
+ * Creates a new SubscriptionEnded instance using the specified properties.
4819
+ * @param [properties] Properties to set
4820
+ * @returns SubscriptionEnded instance
4821
+ */
4822
+ public static create(properties?: ISubscriptionEnded): SubscriptionEnded;
4823
+
4824
+ /**
4825
+ * Encodes the specified SubscriptionEnded message. Does not implicitly {@link SubscriptionEnded.verify|verify} messages.
4826
+ * @param message SubscriptionEnded message or plain object to encode
4827
+ * @param [writer] Writer to encode to
4828
+ * @returns Writer
4829
+ */
4830
+ public static encode(message: ISubscriptionEnded, writer?: $protobuf.Writer): $protobuf.Writer;
4831
+
4832
+ /**
4833
+ * Encodes the specified SubscriptionEnded message, length delimited. Does not implicitly {@link SubscriptionEnded.verify|verify} messages.
4834
+ * @param message SubscriptionEnded message or plain object to encode
4835
+ * @param [writer] Writer to encode to
4836
+ * @returns Writer
4837
+ */
4838
+ public static encodeDelimited(message: ISubscriptionEnded, writer?: $protobuf.Writer): $protobuf.Writer;
4839
+
4840
+ /**
4841
+ * Decodes a SubscriptionEnded message from the specified reader or buffer.
4842
+ * @param reader Reader or buffer to decode from
4843
+ * @param [length] Message length if known beforehand
4844
+ * @returns SubscriptionEnded
4845
+ * @throws {Error} If the payload is not a reader or valid buffer
4846
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4847
+ */
4848
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SubscriptionEnded;
4849
+
4850
+ /**
4851
+ * Decodes a SubscriptionEnded message from the specified reader or buffer, length delimited.
4852
+ * @param reader Reader or buffer to decode from
4853
+ * @returns SubscriptionEnded
4854
+ * @throws {Error} If the payload is not a reader or valid buffer
4855
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4856
+ */
4857
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SubscriptionEnded;
4858
+
4859
+ /**
4860
+ * Verifies a SubscriptionEnded message.
4861
+ * @param message Plain object to verify
4862
+ * @returns `null` if valid, otherwise the reason why it is not
4863
+ */
4864
+ public static verify(message: { [k: string]: any }): (string|null);
4865
+
4866
+ /**
4867
+ * Creates a SubscriptionEnded message from a plain object. Also converts values to their respective internal types.
4868
+ * @param object Plain object
4869
+ * @returns SubscriptionEnded
4870
+ */
4871
+ public static fromObject(object: { [k: string]: any }): SubscriptionEnded;
4872
+
4873
+ /**
4874
+ * Creates a plain object from a SubscriptionEnded message. Also converts values to other types if specified.
4875
+ * @param message SubscriptionEnded
4876
+ * @param [options] Conversion options
4877
+ * @returns Plain object
4878
+ */
4879
+ public static toObject(message: SubscriptionEnded, options?: $protobuf.IConversionOptions): { [k: string]: any };
4880
+
4881
+ /**
4882
+ * Converts this SubscriptionEnded to JSON.
4883
+ * @returns JSON object
4884
+ */
4885
+ public toJSON(): { [k: string]: any };
4886
+ }
4887
+
4594
4888
  /** Properties of a UserDoubleOptInEmailRequested. */
4595
4889
  export interface IUserDoubleOptInEmailRequested {
4596
4890