@headspace/protos-events 1.72.0 → 1.74.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 +454 -0
  2. package/lib/index.js +1354 -46
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1209,6 +1209,118 @@ export namespace subscription {
1209
1209
  }
1210
1210
  }
1211
1211
 
1212
+ /** Namespace appleReceipt. */
1213
+ export namespace appleReceipt {
1214
+
1215
+ /** Properties of an IosSubscriptionTerm. */
1216
+ interface IIosSubscriptionTerm {
1217
+
1218
+ /** IosSubscriptionTerm startsAt */
1219
+ startsAt?: (number|Long|null);
1220
+
1221
+ /** IosSubscriptionTerm endsAt */
1222
+ endsAt?: (number|Long|null);
1223
+
1224
+ /** IosSubscriptionTerm isFreeTrial */
1225
+ isFreeTrial?: (boolean|null);
1226
+ }
1227
+
1228
+ /** Represents an IosSubscriptionTerm. */
1229
+ class IosSubscriptionTerm implements IIosSubscriptionTerm {
1230
+
1231
+ /**
1232
+ * Constructs a new IosSubscriptionTerm.
1233
+ * @param [properties] Properties to set
1234
+ */
1235
+ constructor(properties?: appleReceipt.IIosSubscriptionTerm);
1236
+
1237
+ /** IosSubscriptionTerm startsAt. */
1238
+ public startsAt: (number|Long);
1239
+
1240
+ /** IosSubscriptionTerm endsAt. */
1241
+ public endsAt: (number|Long);
1242
+
1243
+ /** IosSubscriptionTerm isFreeTrial. */
1244
+ public isFreeTrial: boolean;
1245
+
1246
+ /**
1247
+ * Creates a new IosSubscriptionTerm instance using the specified properties.
1248
+ * @param [properties] Properties to set
1249
+ * @returns IosSubscriptionTerm instance
1250
+ */
1251
+ public static create(properties?: appleReceipt.IIosSubscriptionTerm): appleReceipt.IosSubscriptionTerm;
1252
+
1253
+ /**
1254
+ * Encodes the specified IosSubscriptionTerm message. Does not implicitly {@link appleReceipt.IosSubscriptionTerm.verify|verify} messages.
1255
+ * @param message IosSubscriptionTerm message or plain object to encode
1256
+ * @param [writer] Writer to encode to
1257
+ * @returns Writer
1258
+ */
1259
+ public static encode(message: appleReceipt.IIosSubscriptionTerm, writer?: $protobuf.Writer): $protobuf.Writer;
1260
+
1261
+ /**
1262
+ * Encodes the specified IosSubscriptionTerm message, length delimited. Does not implicitly {@link appleReceipt.IosSubscriptionTerm.verify|verify} messages.
1263
+ * @param message IosSubscriptionTerm message or plain object to encode
1264
+ * @param [writer] Writer to encode to
1265
+ * @returns Writer
1266
+ */
1267
+ public static encodeDelimited(message: appleReceipt.IIosSubscriptionTerm, writer?: $protobuf.Writer): $protobuf.Writer;
1268
+
1269
+ /**
1270
+ * Decodes an IosSubscriptionTerm message from the specified reader or buffer.
1271
+ * @param reader Reader or buffer to decode from
1272
+ * @param [length] Message length if known beforehand
1273
+ * @returns IosSubscriptionTerm
1274
+ * @throws {Error} If the payload is not a reader or valid buffer
1275
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1276
+ */
1277
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): appleReceipt.IosSubscriptionTerm;
1278
+
1279
+ /**
1280
+ * Decodes an IosSubscriptionTerm message from the specified reader or buffer, length delimited.
1281
+ * @param reader Reader or buffer to decode from
1282
+ * @returns IosSubscriptionTerm
1283
+ * @throws {Error} If the payload is not a reader or valid buffer
1284
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1285
+ */
1286
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): appleReceipt.IosSubscriptionTerm;
1287
+
1288
+ /**
1289
+ * Verifies an IosSubscriptionTerm message.
1290
+ * @param message Plain object to verify
1291
+ * @returns `null` if valid, otherwise the reason why it is not
1292
+ */
1293
+ public static verify(message: { [k: string]: any }): (string|null);
1294
+
1295
+ /**
1296
+ * Creates an IosSubscriptionTerm message from a plain object. Also converts values to their respective internal types.
1297
+ * @param object Plain object
1298
+ * @returns IosSubscriptionTerm
1299
+ */
1300
+ public static fromObject(object: { [k: string]: any }): appleReceipt.IosSubscriptionTerm;
1301
+
1302
+ /**
1303
+ * Creates a plain object from an IosSubscriptionTerm message. Also converts values to other types if specified.
1304
+ * @param message IosSubscriptionTerm
1305
+ * @param [options] Conversion options
1306
+ * @returns Plain object
1307
+ */
1308
+ public static toObject(message: appleReceipt.IosSubscriptionTerm, options?: $protobuf.IConversionOptions): { [k: string]: any };
1309
+
1310
+ /**
1311
+ * Converts this IosSubscriptionTerm to JSON.
1312
+ * @returns JSON object
1313
+ */
1314
+ public toJSON(): { [k: string]: any };
1315
+ }
1316
+
1317
+ /** IosSubscriptionTag enum. */
1318
+ enum IosSubscriptionTag {
1319
+ IOSTAG_UNKNOWN = 0,
1320
+ IOSTAG_FREE_TRIAL = 1
1321
+ }
1322
+ }
1323
+
1212
1324
  /** Namespace asset. */
1213
1325
  export namespace asset {
1214
1326
 
@@ -3535,6 +3647,246 @@ export class MessageSent implements IMessageSent {
3535
3647
  public toJSON(): { [k: string]: any };
3536
3648
  }
3537
3649
 
3650
+ /** Properties of an IosSubscriptionCreated. */
3651
+ export interface IIosSubscriptionCreated {
3652
+
3653
+ /** IosSubscriptionCreated id */
3654
+ id?: (string|null);
3655
+
3656
+ /** IosSubscriptionCreated endsAt */
3657
+ endsAt?: (number|Long|null);
3658
+
3659
+ /** IosSubscriptionCreated startsAt */
3660
+ startsAt?: (number|Long|null);
3661
+
3662
+ /** IosSubscriptionCreated userId */
3663
+ userId?: (string|null);
3664
+
3665
+ /** IosSubscriptionCreated tags */
3666
+ tags?: (appleReceipt.IosSubscriptionTag[]|null);
3667
+
3668
+ /** IosSubscriptionCreated terms */
3669
+ terms?: (appleReceipt.IIosSubscriptionTerm[]|null);
3670
+ }
3671
+
3672
+ /** Represents an IosSubscriptionCreated. */
3673
+ export class IosSubscriptionCreated implements IIosSubscriptionCreated {
3674
+
3675
+ /**
3676
+ * Constructs a new IosSubscriptionCreated.
3677
+ * @param [properties] Properties to set
3678
+ */
3679
+ constructor(properties?: IIosSubscriptionCreated);
3680
+
3681
+ /** IosSubscriptionCreated id. */
3682
+ public id: string;
3683
+
3684
+ /** IosSubscriptionCreated endsAt. */
3685
+ public endsAt: (number|Long);
3686
+
3687
+ /** IosSubscriptionCreated startsAt. */
3688
+ public startsAt: (number|Long);
3689
+
3690
+ /** IosSubscriptionCreated userId. */
3691
+ public userId: string;
3692
+
3693
+ /** IosSubscriptionCreated tags. */
3694
+ public tags: appleReceipt.IosSubscriptionTag[];
3695
+
3696
+ /** IosSubscriptionCreated terms. */
3697
+ public terms: appleReceipt.IIosSubscriptionTerm[];
3698
+
3699
+ /**
3700
+ * Creates a new IosSubscriptionCreated instance using the specified properties.
3701
+ * @param [properties] Properties to set
3702
+ * @returns IosSubscriptionCreated instance
3703
+ */
3704
+ public static create(properties?: IIosSubscriptionCreated): IosSubscriptionCreated;
3705
+
3706
+ /**
3707
+ * Encodes the specified IosSubscriptionCreated message. Does not implicitly {@link IosSubscriptionCreated.verify|verify} messages.
3708
+ * @param message IosSubscriptionCreated message or plain object to encode
3709
+ * @param [writer] Writer to encode to
3710
+ * @returns Writer
3711
+ */
3712
+ public static encode(message: IIosSubscriptionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
3713
+
3714
+ /**
3715
+ * Encodes the specified IosSubscriptionCreated message, length delimited. Does not implicitly {@link IosSubscriptionCreated.verify|verify} messages.
3716
+ * @param message IosSubscriptionCreated message or plain object to encode
3717
+ * @param [writer] Writer to encode to
3718
+ * @returns Writer
3719
+ */
3720
+ public static encodeDelimited(message: IIosSubscriptionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
3721
+
3722
+ /**
3723
+ * Decodes an IosSubscriptionCreated message from the specified reader or buffer.
3724
+ * @param reader Reader or buffer to decode from
3725
+ * @param [length] Message length if known beforehand
3726
+ * @returns IosSubscriptionCreated
3727
+ * @throws {Error} If the payload is not a reader or valid buffer
3728
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3729
+ */
3730
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): IosSubscriptionCreated;
3731
+
3732
+ /**
3733
+ * Decodes an IosSubscriptionCreated message from the specified reader or buffer, length delimited.
3734
+ * @param reader Reader or buffer to decode from
3735
+ * @returns IosSubscriptionCreated
3736
+ * @throws {Error} If the payload is not a reader or valid buffer
3737
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3738
+ */
3739
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): IosSubscriptionCreated;
3740
+
3741
+ /**
3742
+ * Verifies an IosSubscriptionCreated message.
3743
+ * @param message Plain object to verify
3744
+ * @returns `null` if valid, otherwise the reason why it is not
3745
+ */
3746
+ public static verify(message: { [k: string]: any }): (string|null);
3747
+
3748
+ /**
3749
+ * Creates an IosSubscriptionCreated message from a plain object. Also converts values to their respective internal types.
3750
+ * @param object Plain object
3751
+ * @returns IosSubscriptionCreated
3752
+ */
3753
+ public static fromObject(object: { [k: string]: any }): IosSubscriptionCreated;
3754
+
3755
+ /**
3756
+ * Creates a plain object from an IosSubscriptionCreated message. Also converts values to other types if specified.
3757
+ * @param message IosSubscriptionCreated
3758
+ * @param [options] Conversion options
3759
+ * @returns Plain object
3760
+ */
3761
+ public static toObject(message: IosSubscriptionCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
3762
+
3763
+ /**
3764
+ * Converts this IosSubscriptionCreated to JSON.
3765
+ * @returns JSON object
3766
+ */
3767
+ public toJSON(): { [k: string]: any };
3768
+ }
3769
+
3770
+ /** Properties of an IosSubscriptionRenewed. */
3771
+ export interface IIosSubscriptionRenewed {
3772
+
3773
+ /** IosSubscriptionRenewed id */
3774
+ id?: (string|null);
3775
+
3776
+ /** IosSubscriptionRenewed endsAt */
3777
+ endsAt?: (number|Long|null);
3778
+
3779
+ /** IosSubscriptionRenewed startsAt */
3780
+ startsAt?: (number|Long|null);
3781
+
3782
+ /** IosSubscriptionRenewed userId */
3783
+ userId?: (string|null);
3784
+
3785
+ /** IosSubscriptionRenewed tags */
3786
+ tags?: (appleReceipt.IosSubscriptionTag[]|null);
3787
+
3788
+ /** IosSubscriptionRenewed terms */
3789
+ terms?: (appleReceipt.IIosSubscriptionTerm[]|null);
3790
+ }
3791
+
3792
+ /** Represents an IosSubscriptionRenewed. */
3793
+ export class IosSubscriptionRenewed implements IIosSubscriptionRenewed {
3794
+
3795
+ /**
3796
+ * Constructs a new IosSubscriptionRenewed.
3797
+ * @param [properties] Properties to set
3798
+ */
3799
+ constructor(properties?: IIosSubscriptionRenewed);
3800
+
3801
+ /** IosSubscriptionRenewed id. */
3802
+ public id: string;
3803
+
3804
+ /** IosSubscriptionRenewed endsAt. */
3805
+ public endsAt: (number|Long);
3806
+
3807
+ /** IosSubscriptionRenewed startsAt. */
3808
+ public startsAt: (number|Long);
3809
+
3810
+ /** IosSubscriptionRenewed userId. */
3811
+ public userId: string;
3812
+
3813
+ /** IosSubscriptionRenewed tags. */
3814
+ public tags: appleReceipt.IosSubscriptionTag[];
3815
+
3816
+ /** IosSubscriptionRenewed terms. */
3817
+ public terms: appleReceipt.IIosSubscriptionTerm[];
3818
+
3819
+ /**
3820
+ * Creates a new IosSubscriptionRenewed instance using the specified properties.
3821
+ * @param [properties] Properties to set
3822
+ * @returns IosSubscriptionRenewed instance
3823
+ */
3824
+ public static create(properties?: IIosSubscriptionRenewed): IosSubscriptionRenewed;
3825
+
3826
+ /**
3827
+ * Encodes the specified IosSubscriptionRenewed message. Does not implicitly {@link IosSubscriptionRenewed.verify|verify} messages.
3828
+ * @param message IosSubscriptionRenewed message or plain object to encode
3829
+ * @param [writer] Writer to encode to
3830
+ * @returns Writer
3831
+ */
3832
+ public static encode(message: IIosSubscriptionRenewed, writer?: $protobuf.Writer): $protobuf.Writer;
3833
+
3834
+ /**
3835
+ * Encodes the specified IosSubscriptionRenewed message, length delimited. Does not implicitly {@link IosSubscriptionRenewed.verify|verify} messages.
3836
+ * @param message IosSubscriptionRenewed message or plain object to encode
3837
+ * @param [writer] Writer to encode to
3838
+ * @returns Writer
3839
+ */
3840
+ public static encodeDelimited(message: IIosSubscriptionRenewed, writer?: $protobuf.Writer): $protobuf.Writer;
3841
+
3842
+ /**
3843
+ * Decodes an IosSubscriptionRenewed message from the specified reader or buffer.
3844
+ * @param reader Reader or buffer to decode from
3845
+ * @param [length] Message length if known beforehand
3846
+ * @returns IosSubscriptionRenewed
3847
+ * @throws {Error} If the payload is not a reader or valid buffer
3848
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3849
+ */
3850
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): IosSubscriptionRenewed;
3851
+
3852
+ /**
3853
+ * Decodes an IosSubscriptionRenewed message from the specified reader or buffer, length delimited.
3854
+ * @param reader Reader or buffer to decode from
3855
+ * @returns IosSubscriptionRenewed
3856
+ * @throws {Error} If the payload is not a reader or valid buffer
3857
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3858
+ */
3859
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): IosSubscriptionRenewed;
3860
+
3861
+ /**
3862
+ * Verifies an IosSubscriptionRenewed message.
3863
+ * @param message Plain object to verify
3864
+ * @returns `null` if valid, otherwise the reason why it is not
3865
+ */
3866
+ public static verify(message: { [k: string]: any }): (string|null);
3867
+
3868
+ /**
3869
+ * Creates an IosSubscriptionRenewed message from a plain object. Also converts values to their respective internal types.
3870
+ * @param object Plain object
3871
+ * @returns IosSubscriptionRenewed
3872
+ */
3873
+ public static fromObject(object: { [k: string]: any }): IosSubscriptionRenewed;
3874
+
3875
+ /**
3876
+ * Creates a plain object from an IosSubscriptionRenewed message. Also converts values to other types if specified.
3877
+ * @param message IosSubscriptionRenewed
3878
+ * @param [options] Conversion options
3879
+ * @returns Plain object
3880
+ */
3881
+ public static toObject(message: IosSubscriptionRenewed, options?: $protobuf.IConversionOptions): { [k: string]: any };
3882
+
3883
+ /**
3884
+ * Converts this IosSubscriptionRenewed to JSON.
3885
+ * @returns JSON object
3886
+ */
3887
+ public toJSON(): { [k: string]: any };
3888
+ }
3889
+
3538
3890
  /** Properties of an AssetCreated. */
3539
3891
  export interface IAssetCreated {
3540
3892
 
@@ -4813,6 +5165,108 @@ export class ExperimentContentMapDeleted implements IExperimentContentMapDeleted
4813
5165
  public toJSON(): { [k: string]: any };
4814
5166
  }
4815
5167
 
5168
+ /** Properties of an AccessGroupCreated. */
5169
+ export interface IAccessGroupCreated {
5170
+
5171
+ /** AccessGroupCreated accessGroupName */
5172
+ accessGroupName?: (string|null);
5173
+
5174
+ /** AccessGroupCreated description */
5175
+ description?: (string|null);
5176
+
5177
+ /** AccessGroupCreated createdAt */
5178
+ createdAt?: (number|Long|null);
5179
+ }
5180
+
5181
+ /** Represents an AccessGroupCreated. */
5182
+ export class AccessGroupCreated implements IAccessGroupCreated {
5183
+
5184
+ /**
5185
+ * Constructs a new AccessGroupCreated.
5186
+ * @param [properties] Properties to set
5187
+ */
5188
+ constructor(properties?: IAccessGroupCreated);
5189
+
5190
+ /** AccessGroupCreated accessGroupName. */
5191
+ public accessGroupName: string;
5192
+
5193
+ /** AccessGroupCreated description. */
5194
+ public description: string;
5195
+
5196
+ /** AccessGroupCreated createdAt. */
5197
+ public createdAt: (number|Long);
5198
+
5199
+ /**
5200
+ * Creates a new AccessGroupCreated instance using the specified properties.
5201
+ * @param [properties] Properties to set
5202
+ * @returns AccessGroupCreated instance
5203
+ */
5204
+ public static create(properties?: IAccessGroupCreated): AccessGroupCreated;
5205
+
5206
+ /**
5207
+ * Encodes the specified AccessGroupCreated message. Does not implicitly {@link AccessGroupCreated.verify|verify} messages.
5208
+ * @param message AccessGroupCreated message or plain object to encode
5209
+ * @param [writer] Writer to encode to
5210
+ * @returns Writer
5211
+ */
5212
+ public static encode(message: IAccessGroupCreated, writer?: $protobuf.Writer): $protobuf.Writer;
5213
+
5214
+ /**
5215
+ * Encodes the specified AccessGroupCreated message, length delimited. Does not implicitly {@link AccessGroupCreated.verify|verify} messages.
5216
+ * @param message AccessGroupCreated message or plain object to encode
5217
+ * @param [writer] Writer to encode to
5218
+ * @returns Writer
5219
+ */
5220
+ public static encodeDelimited(message: IAccessGroupCreated, writer?: $protobuf.Writer): $protobuf.Writer;
5221
+
5222
+ /**
5223
+ * Decodes an AccessGroupCreated message from the specified reader or buffer.
5224
+ * @param reader Reader or buffer to decode from
5225
+ * @param [length] Message length if known beforehand
5226
+ * @returns AccessGroupCreated
5227
+ * @throws {Error} If the payload is not a reader or valid buffer
5228
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5229
+ */
5230
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AccessGroupCreated;
5231
+
5232
+ /**
5233
+ * Decodes an AccessGroupCreated message from the specified reader or buffer, length delimited.
5234
+ * @param reader Reader or buffer to decode from
5235
+ * @returns AccessGroupCreated
5236
+ * @throws {Error} If the payload is not a reader or valid buffer
5237
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5238
+ */
5239
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AccessGroupCreated;
5240
+
5241
+ /**
5242
+ * Verifies an AccessGroupCreated message.
5243
+ * @param message Plain object to verify
5244
+ * @returns `null` if valid, otherwise the reason why it is not
5245
+ */
5246
+ public static verify(message: { [k: string]: any }): (string|null);
5247
+
5248
+ /**
5249
+ * Creates an AccessGroupCreated message from a plain object. Also converts values to their respective internal types.
5250
+ * @param object Plain object
5251
+ * @returns AccessGroupCreated
5252
+ */
5253
+ public static fromObject(object: { [k: string]: any }): AccessGroupCreated;
5254
+
5255
+ /**
5256
+ * Creates a plain object from an AccessGroupCreated message. Also converts values to other types if specified.
5257
+ * @param message AccessGroupCreated
5258
+ * @param [options] Conversion options
5259
+ * @returns Plain object
5260
+ */
5261
+ public static toObject(message: AccessGroupCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
5262
+
5263
+ /**
5264
+ * Converts this AccessGroupCreated to JSON.
5265
+ * @returns JSON object
5266
+ */
5267
+ public toJSON(): { [k: string]: any };
5268
+ }
5269
+
4816
5270
  /** Properties of a ReferralSignedUp. */
4817
5271
  export interface IReferralSignedUp {
4818
5272