@headspace/protos-events 1.102.0 → 1.104.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 +247 -0
  2. package/lib/index.js +831 -61
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1320,6 +1320,13 @@ export namespace appleReceipt {
1320
1320
  IOSTAG_UNKNOWN = 0,
1321
1321
  IOSTAG_FREE_TRIAL = 1
1322
1322
  }
1323
+
1324
+ /** IosSubscriptionAutoRenewalStatus enum. */
1325
+ enum IosSubscriptionAutoRenewalStatus {
1326
+ UNKNOWN = 0,
1327
+ ACTIVE = 1,
1328
+ CANCELLED = 2
1329
+ }
1323
1330
  }
1324
1331
 
1325
1332
  /** Namespace elf. */
@@ -4725,6 +4732,9 @@ export interface IIosSubscriptionCreated {
4725
4732
  /** IosSubscriptionCreated productId */
4726
4733
  productId?: (string|null);
4727
4734
 
4735
+ /** IosSubscriptionCreated autoRenewalStatus */
4736
+ autoRenewalStatus?: (appleReceipt.IosSubscriptionAutoRenewalStatus|null);
4737
+
4728
4738
  /** IosSubscriptionCreated tags */
4729
4739
  tags?: (appleReceipt.IosSubscriptionTag[]|null);
4730
4740
 
@@ -4756,6 +4766,9 @@ export class IosSubscriptionCreated implements IIosSubscriptionCreated {
4756
4766
  /** IosSubscriptionCreated productId. */
4757
4767
  public productId: string;
4758
4768
 
4769
+ /** IosSubscriptionCreated autoRenewalStatus. */
4770
+ public autoRenewalStatus: appleReceipt.IosSubscriptionAutoRenewalStatus;
4771
+
4759
4772
  /** IosSubscriptionCreated tags. */
4760
4773
  public tags: appleReceipt.IosSubscriptionTag[];
4761
4774
 
@@ -4851,6 +4864,9 @@ export interface IIosSubscriptionRenewed {
4851
4864
  /** IosSubscriptionRenewed productId */
4852
4865
  productId?: (string|null);
4853
4866
 
4867
+ /** IosSubscriptionRenewed autoRenewalStatus */
4868
+ autoRenewalStatus?: (appleReceipt.IosSubscriptionAutoRenewalStatus|null);
4869
+
4854
4870
  /** IosSubscriptionRenewed tags */
4855
4871
  tags?: (appleReceipt.IosSubscriptionTag[]|null);
4856
4872
 
@@ -4882,6 +4898,9 @@ export class IosSubscriptionRenewed implements IIosSubscriptionRenewed {
4882
4898
  /** IosSubscriptionRenewed productId. */
4883
4899
  public productId: string;
4884
4900
 
4901
+ /** IosSubscriptionRenewed autoRenewalStatus. */
4902
+ public autoRenewalStatus: appleReceipt.IosSubscriptionAutoRenewalStatus;
4903
+
4885
4904
  /** IosSubscriptionRenewed tags. */
4886
4905
  public tags: appleReceipt.IosSubscriptionTag[];
4887
4906
 
@@ -4959,6 +4978,138 @@ export class IosSubscriptionRenewed implements IIosSubscriptionRenewed {
4959
4978
  public toJSON(): { [k: string]: any };
4960
4979
  }
4961
4980
 
4981
+ /** Properties of an IosSubscriptionAutoRenewalUpdated. */
4982
+ export interface IIosSubscriptionAutoRenewalUpdated {
4983
+
4984
+ /** IosSubscriptionAutoRenewalUpdated id */
4985
+ id?: (string|null);
4986
+
4987
+ /** IosSubscriptionAutoRenewalUpdated endsAt */
4988
+ endsAt?: (number|Long|null);
4989
+
4990
+ /** IosSubscriptionAutoRenewalUpdated startsAt */
4991
+ startsAt?: (number|Long|null);
4992
+
4993
+ /** IosSubscriptionAutoRenewalUpdated userId */
4994
+ userId?: (string|null);
4995
+
4996
+ /** IosSubscriptionAutoRenewalUpdated productId */
4997
+ productId?: (string|null);
4998
+
4999
+ /** IosSubscriptionAutoRenewalUpdated autoRenewalStatus */
5000
+ autoRenewalStatus?: (appleReceipt.IosSubscriptionAutoRenewalStatus|null);
5001
+
5002
+ /** IosSubscriptionAutoRenewalUpdated tags */
5003
+ tags?: (appleReceipt.IosSubscriptionTag[]|null);
5004
+
5005
+ /** IosSubscriptionAutoRenewalUpdated terms */
5006
+ terms?: (appleReceipt.IIosSubscriptionTerm[]|null);
5007
+ }
5008
+
5009
+ /** Represents an IosSubscriptionAutoRenewalUpdated. */
5010
+ export class IosSubscriptionAutoRenewalUpdated implements IIosSubscriptionAutoRenewalUpdated {
5011
+
5012
+ /**
5013
+ * Constructs a new IosSubscriptionAutoRenewalUpdated.
5014
+ * @param [properties] Properties to set
5015
+ */
5016
+ constructor(properties?: IIosSubscriptionAutoRenewalUpdated);
5017
+
5018
+ /** IosSubscriptionAutoRenewalUpdated id. */
5019
+ public id: string;
5020
+
5021
+ /** IosSubscriptionAutoRenewalUpdated endsAt. */
5022
+ public endsAt: (number|Long);
5023
+
5024
+ /** IosSubscriptionAutoRenewalUpdated startsAt. */
5025
+ public startsAt: (number|Long);
5026
+
5027
+ /** IosSubscriptionAutoRenewalUpdated userId. */
5028
+ public userId: string;
5029
+
5030
+ /** IosSubscriptionAutoRenewalUpdated productId. */
5031
+ public productId: string;
5032
+
5033
+ /** IosSubscriptionAutoRenewalUpdated autoRenewalStatus. */
5034
+ public autoRenewalStatus: appleReceipt.IosSubscriptionAutoRenewalStatus;
5035
+
5036
+ /** IosSubscriptionAutoRenewalUpdated tags. */
5037
+ public tags: appleReceipt.IosSubscriptionTag[];
5038
+
5039
+ /** IosSubscriptionAutoRenewalUpdated terms. */
5040
+ public terms: appleReceipt.IIosSubscriptionTerm[];
5041
+
5042
+ /**
5043
+ * Creates a new IosSubscriptionAutoRenewalUpdated instance using the specified properties.
5044
+ * @param [properties] Properties to set
5045
+ * @returns IosSubscriptionAutoRenewalUpdated instance
5046
+ */
5047
+ public static create(properties?: IIosSubscriptionAutoRenewalUpdated): IosSubscriptionAutoRenewalUpdated;
5048
+
5049
+ /**
5050
+ * Encodes the specified IosSubscriptionAutoRenewalUpdated message. Does not implicitly {@link IosSubscriptionAutoRenewalUpdated.verify|verify} messages.
5051
+ * @param message IosSubscriptionAutoRenewalUpdated message or plain object to encode
5052
+ * @param [writer] Writer to encode to
5053
+ * @returns Writer
5054
+ */
5055
+ public static encode(message: IIosSubscriptionAutoRenewalUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
5056
+
5057
+ /**
5058
+ * Encodes the specified IosSubscriptionAutoRenewalUpdated message, length delimited. Does not implicitly {@link IosSubscriptionAutoRenewalUpdated.verify|verify} messages.
5059
+ * @param message IosSubscriptionAutoRenewalUpdated message or plain object to encode
5060
+ * @param [writer] Writer to encode to
5061
+ * @returns Writer
5062
+ */
5063
+ public static encodeDelimited(message: IIosSubscriptionAutoRenewalUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
5064
+
5065
+ /**
5066
+ * Decodes an IosSubscriptionAutoRenewalUpdated message from the specified reader or buffer.
5067
+ * @param reader Reader or buffer to decode from
5068
+ * @param [length] Message length if known beforehand
5069
+ * @returns IosSubscriptionAutoRenewalUpdated
5070
+ * @throws {Error} If the payload is not a reader or valid buffer
5071
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5072
+ */
5073
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): IosSubscriptionAutoRenewalUpdated;
5074
+
5075
+ /**
5076
+ * Decodes an IosSubscriptionAutoRenewalUpdated message from the specified reader or buffer, length delimited.
5077
+ * @param reader Reader or buffer to decode from
5078
+ * @returns IosSubscriptionAutoRenewalUpdated
5079
+ * @throws {Error} If the payload is not a reader or valid buffer
5080
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5081
+ */
5082
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): IosSubscriptionAutoRenewalUpdated;
5083
+
5084
+ /**
5085
+ * Verifies an IosSubscriptionAutoRenewalUpdated message.
5086
+ * @param message Plain object to verify
5087
+ * @returns `null` if valid, otherwise the reason why it is not
5088
+ */
5089
+ public static verify(message: { [k: string]: any }): (string|null);
5090
+
5091
+ /**
5092
+ * Creates an IosSubscriptionAutoRenewalUpdated message from a plain object. Also converts values to their respective internal types.
5093
+ * @param object Plain object
5094
+ * @returns IosSubscriptionAutoRenewalUpdated
5095
+ */
5096
+ public static fromObject(object: { [k: string]: any }): IosSubscriptionAutoRenewalUpdated;
5097
+
5098
+ /**
5099
+ * Creates a plain object from an IosSubscriptionAutoRenewalUpdated message. Also converts values to other types if specified.
5100
+ * @param message IosSubscriptionAutoRenewalUpdated
5101
+ * @param [options] Conversion options
5102
+ * @returns Plain object
5103
+ */
5104
+ public static toObject(message: IosSubscriptionAutoRenewalUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
5105
+
5106
+ /**
5107
+ * Converts this IosSubscriptionAutoRenewalUpdated to JSON.
5108
+ * @returns JSON object
5109
+ */
5110
+ public toJSON(): { [k: string]: any };
5111
+ }
5112
+
4962
5113
  /** Properties of an AssetCreated. */
4963
5114
  export interface IAssetCreated {
4964
5115
 
@@ -10724,3 +10875,99 @@ export class UserEmailMarketingSubscriptionStatusUpdated implements IUserEmailMa
10724
10875
  */
10725
10876
  public toJSON(): { [k: string]: any };
10726
10877
  }
10878
+
10879
+ /** Properties of a UserUnsubscribeRequested. */
10880
+ export interface IUserUnsubscribeRequested {
10881
+
10882
+ /** UserUnsubscribeRequested userId */
10883
+ userId?: (string|null);
10884
+
10885
+ /** UserUnsubscribeRequested timestamp */
10886
+ timestamp?: (number|Long|null);
10887
+ }
10888
+
10889
+ /** Represents a UserUnsubscribeRequested. */
10890
+ export class UserUnsubscribeRequested implements IUserUnsubscribeRequested {
10891
+
10892
+ /**
10893
+ * Constructs a new UserUnsubscribeRequested.
10894
+ * @param [properties] Properties to set
10895
+ */
10896
+ constructor(properties?: IUserUnsubscribeRequested);
10897
+
10898
+ /** UserUnsubscribeRequested userId. */
10899
+ public userId: string;
10900
+
10901
+ /** UserUnsubscribeRequested timestamp. */
10902
+ public timestamp: (number|Long);
10903
+
10904
+ /**
10905
+ * Creates a new UserUnsubscribeRequested instance using the specified properties.
10906
+ * @param [properties] Properties to set
10907
+ * @returns UserUnsubscribeRequested instance
10908
+ */
10909
+ public static create(properties?: IUserUnsubscribeRequested): UserUnsubscribeRequested;
10910
+
10911
+ /**
10912
+ * Encodes the specified UserUnsubscribeRequested message. Does not implicitly {@link UserUnsubscribeRequested.verify|verify} messages.
10913
+ * @param message UserUnsubscribeRequested message or plain object to encode
10914
+ * @param [writer] Writer to encode to
10915
+ * @returns Writer
10916
+ */
10917
+ public static encode(message: IUserUnsubscribeRequested, writer?: $protobuf.Writer): $protobuf.Writer;
10918
+
10919
+ /**
10920
+ * Encodes the specified UserUnsubscribeRequested message, length delimited. Does not implicitly {@link UserUnsubscribeRequested.verify|verify} messages.
10921
+ * @param message UserUnsubscribeRequested message or plain object to encode
10922
+ * @param [writer] Writer to encode to
10923
+ * @returns Writer
10924
+ */
10925
+ public static encodeDelimited(message: IUserUnsubscribeRequested, writer?: $protobuf.Writer): $protobuf.Writer;
10926
+
10927
+ /**
10928
+ * Decodes a UserUnsubscribeRequested message from the specified reader or buffer.
10929
+ * @param reader Reader or buffer to decode from
10930
+ * @param [length] Message length if known beforehand
10931
+ * @returns UserUnsubscribeRequested
10932
+ * @throws {Error} If the payload is not a reader or valid buffer
10933
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10934
+ */
10935
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserUnsubscribeRequested;
10936
+
10937
+ /**
10938
+ * Decodes a UserUnsubscribeRequested message from the specified reader or buffer, length delimited.
10939
+ * @param reader Reader or buffer to decode from
10940
+ * @returns UserUnsubscribeRequested
10941
+ * @throws {Error} If the payload is not a reader or valid buffer
10942
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10943
+ */
10944
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserUnsubscribeRequested;
10945
+
10946
+ /**
10947
+ * Verifies a UserUnsubscribeRequested message.
10948
+ * @param message Plain object to verify
10949
+ * @returns `null` if valid, otherwise the reason why it is not
10950
+ */
10951
+ public static verify(message: { [k: string]: any }): (string|null);
10952
+
10953
+ /**
10954
+ * Creates a UserUnsubscribeRequested message from a plain object. Also converts values to their respective internal types.
10955
+ * @param object Plain object
10956
+ * @returns UserUnsubscribeRequested
10957
+ */
10958
+ public static fromObject(object: { [k: string]: any }): UserUnsubscribeRequested;
10959
+
10960
+ /**
10961
+ * Creates a plain object from a UserUnsubscribeRequested message. Also converts values to other types if specified.
10962
+ * @param message UserUnsubscribeRequested
10963
+ * @param [options] Conversion options
10964
+ * @returns Plain object
10965
+ */
10966
+ public static toObject(message: UserUnsubscribeRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
10967
+
10968
+ /**
10969
+ * Converts this UserUnsubscribeRequested to JSON.
10970
+ * @returns JSON object
10971
+ */
10972
+ public toJSON(): { [k: string]: any };
10973
+ }