@headspace/protos-events 1.73.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.
- package/lib/index.d.ts +352 -0
- package/lib/index.js +1062 -0
- 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
|
|