@headspace/protos-events 1.73.0 → 1.75.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 +0 -269
- package/lib/index.js +0 -969
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1175,11 +1175,6 @@ export namespace subscription {
|
|
|
1175
1175
|
CT_PASSIVE = 2
|
|
1176
1176
|
}
|
|
1177
1177
|
|
|
1178
|
-
/** Labels enum. */
|
|
1179
|
-
enum Labels {
|
|
1180
|
-
LABELS_FREE_TRIAL = 0
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
1178
|
/** SubscriptionState enum. */
|
|
1184
1179
|
enum SubscriptionState {
|
|
1185
1180
|
SUBSTATE_UNKNOWN = 0,
|
|
@@ -2026,15 +2021,6 @@ export namespace userdomain {
|
|
|
2026
2021
|
|
|
2027
2022
|
/** User signupPlatform */
|
|
2028
2023
|
signupPlatform?: (userdomain.Platform|null);
|
|
2029
|
-
|
|
2030
|
-
/** User facebookId */
|
|
2031
|
-
facebookId?: (string|null);
|
|
2032
|
-
|
|
2033
|
-
/** User appleId */
|
|
2034
|
-
appleId?: (string|null);
|
|
2035
|
-
|
|
2036
|
-
/** User spotifyId */
|
|
2037
|
-
spotifyId?: (string|null);
|
|
2038
2024
|
}
|
|
2039
2025
|
|
|
2040
2026
|
/** Represents a User. */
|
|
@@ -2070,15 +2056,6 @@ export namespace userdomain {
|
|
|
2070
2056
|
/** User signupPlatform. */
|
|
2071
2057
|
public signupPlatform: userdomain.Platform;
|
|
2072
2058
|
|
|
2073
|
-
/** User facebookId. */
|
|
2074
|
-
public facebookId: string;
|
|
2075
|
-
|
|
2076
|
-
/** User appleId. */
|
|
2077
|
-
public appleId: string;
|
|
2078
|
-
|
|
2079
|
-
/** User spotifyId. */
|
|
2080
|
-
public spotifyId: string;
|
|
2081
|
-
|
|
2082
2059
|
/**
|
|
2083
2060
|
* Creates a new User instance using the specified properties.
|
|
2084
2061
|
* @param [properties] Properties to set
|
|
@@ -3301,102 +3278,6 @@ export class BuddyAccepted implements IBuddyAccepted {
|
|
|
3301
3278
|
public toJSON(): { [k: string]: any };
|
|
3302
3279
|
}
|
|
3303
3280
|
|
|
3304
|
-
/** Properties of a BuddyDeleted. */
|
|
3305
|
-
export interface IBuddyDeleted {
|
|
3306
|
-
|
|
3307
|
-
/** BuddyDeleted userId */
|
|
3308
|
-
userId?: (string|null);
|
|
3309
|
-
|
|
3310
|
-
/** BuddyDeleted buddyUserId */
|
|
3311
|
-
buddyUserId?: (string|null);
|
|
3312
|
-
}
|
|
3313
|
-
|
|
3314
|
-
/** Represents a BuddyDeleted. */
|
|
3315
|
-
export class BuddyDeleted implements IBuddyDeleted {
|
|
3316
|
-
|
|
3317
|
-
/**
|
|
3318
|
-
* Constructs a new BuddyDeleted.
|
|
3319
|
-
* @param [properties] Properties to set
|
|
3320
|
-
*/
|
|
3321
|
-
constructor(properties?: IBuddyDeleted);
|
|
3322
|
-
|
|
3323
|
-
/** BuddyDeleted userId. */
|
|
3324
|
-
public userId: string;
|
|
3325
|
-
|
|
3326
|
-
/** BuddyDeleted buddyUserId. */
|
|
3327
|
-
public buddyUserId: string;
|
|
3328
|
-
|
|
3329
|
-
/**
|
|
3330
|
-
* Creates a new BuddyDeleted instance using the specified properties.
|
|
3331
|
-
* @param [properties] Properties to set
|
|
3332
|
-
* @returns BuddyDeleted instance
|
|
3333
|
-
*/
|
|
3334
|
-
public static create(properties?: IBuddyDeleted): BuddyDeleted;
|
|
3335
|
-
|
|
3336
|
-
/**
|
|
3337
|
-
* Encodes the specified BuddyDeleted message. Does not implicitly {@link BuddyDeleted.verify|verify} messages.
|
|
3338
|
-
* @param message BuddyDeleted message or plain object to encode
|
|
3339
|
-
* @param [writer] Writer to encode to
|
|
3340
|
-
* @returns Writer
|
|
3341
|
-
*/
|
|
3342
|
-
public static encode(message: IBuddyDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3343
|
-
|
|
3344
|
-
/**
|
|
3345
|
-
* Encodes the specified BuddyDeleted message, length delimited. Does not implicitly {@link BuddyDeleted.verify|verify} messages.
|
|
3346
|
-
* @param message BuddyDeleted message or plain object to encode
|
|
3347
|
-
* @param [writer] Writer to encode to
|
|
3348
|
-
* @returns Writer
|
|
3349
|
-
*/
|
|
3350
|
-
public static encodeDelimited(message: IBuddyDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3351
|
-
|
|
3352
|
-
/**
|
|
3353
|
-
* Decodes a BuddyDeleted message from the specified reader or buffer.
|
|
3354
|
-
* @param reader Reader or buffer to decode from
|
|
3355
|
-
* @param [length] Message length if known beforehand
|
|
3356
|
-
* @returns BuddyDeleted
|
|
3357
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3358
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3359
|
-
*/
|
|
3360
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BuddyDeleted;
|
|
3361
|
-
|
|
3362
|
-
/**
|
|
3363
|
-
* Decodes a BuddyDeleted message from the specified reader or buffer, length delimited.
|
|
3364
|
-
* @param reader Reader or buffer to decode from
|
|
3365
|
-
* @returns BuddyDeleted
|
|
3366
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3367
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3368
|
-
*/
|
|
3369
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BuddyDeleted;
|
|
3370
|
-
|
|
3371
|
-
/**
|
|
3372
|
-
* Verifies a BuddyDeleted message.
|
|
3373
|
-
* @param message Plain object to verify
|
|
3374
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
3375
|
-
*/
|
|
3376
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
3377
|
-
|
|
3378
|
-
/**
|
|
3379
|
-
* Creates a BuddyDeleted message from a plain object. Also converts values to their respective internal types.
|
|
3380
|
-
* @param object Plain object
|
|
3381
|
-
* @returns BuddyDeleted
|
|
3382
|
-
*/
|
|
3383
|
-
public static fromObject(object: { [k: string]: any }): BuddyDeleted;
|
|
3384
|
-
|
|
3385
|
-
/**
|
|
3386
|
-
* Creates a plain object from a BuddyDeleted message. Also converts values to other types if specified.
|
|
3387
|
-
* @param message BuddyDeleted
|
|
3388
|
-
* @param [options] Conversion options
|
|
3389
|
-
* @returns Plain object
|
|
3390
|
-
*/
|
|
3391
|
-
public static toObject(message: BuddyDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3392
|
-
|
|
3393
|
-
/**
|
|
3394
|
-
* Converts this BuddyDeleted to JSON.
|
|
3395
|
-
* @returns JSON object
|
|
3396
|
-
*/
|
|
3397
|
-
public toJSON(): { [k: string]: any };
|
|
3398
|
-
}
|
|
3399
|
-
|
|
3400
3281
|
/** Properties of a MessageSent. */
|
|
3401
3282
|
export interface IMessageSent {
|
|
3402
3283
|
|
|
@@ -4813,108 +4694,6 @@ export class ExperimentContentMapDeleted implements IExperimentContentMapDeleted
|
|
|
4813
4694
|
public toJSON(): { [k: string]: any };
|
|
4814
4695
|
}
|
|
4815
4696
|
|
|
4816
|
-
/** Properties of an AccessGroupCreated. */
|
|
4817
|
-
export interface IAccessGroupCreated {
|
|
4818
|
-
|
|
4819
|
-
/** AccessGroupCreated accessGroupName */
|
|
4820
|
-
accessGroupName?: (string|null);
|
|
4821
|
-
|
|
4822
|
-
/** AccessGroupCreated description */
|
|
4823
|
-
description?: (string|null);
|
|
4824
|
-
|
|
4825
|
-
/** AccessGroupCreated createdAt */
|
|
4826
|
-
createdAt?: (number|Long|null);
|
|
4827
|
-
}
|
|
4828
|
-
|
|
4829
|
-
/** Represents an AccessGroupCreated. */
|
|
4830
|
-
export class AccessGroupCreated implements IAccessGroupCreated {
|
|
4831
|
-
|
|
4832
|
-
/**
|
|
4833
|
-
* Constructs a new AccessGroupCreated.
|
|
4834
|
-
* @param [properties] Properties to set
|
|
4835
|
-
*/
|
|
4836
|
-
constructor(properties?: IAccessGroupCreated);
|
|
4837
|
-
|
|
4838
|
-
/** AccessGroupCreated accessGroupName. */
|
|
4839
|
-
public accessGroupName: string;
|
|
4840
|
-
|
|
4841
|
-
/** AccessGroupCreated description. */
|
|
4842
|
-
public description: string;
|
|
4843
|
-
|
|
4844
|
-
/** AccessGroupCreated createdAt. */
|
|
4845
|
-
public createdAt: (number|Long);
|
|
4846
|
-
|
|
4847
|
-
/**
|
|
4848
|
-
* Creates a new AccessGroupCreated instance using the specified properties.
|
|
4849
|
-
* @param [properties] Properties to set
|
|
4850
|
-
* @returns AccessGroupCreated instance
|
|
4851
|
-
*/
|
|
4852
|
-
public static create(properties?: IAccessGroupCreated): AccessGroupCreated;
|
|
4853
|
-
|
|
4854
|
-
/**
|
|
4855
|
-
* Encodes the specified AccessGroupCreated message. Does not implicitly {@link AccessGroupCreated.verify|verify} messages.
|
|
4856
|
-
* @param message AccessGroupCreated message or plain object to encode
|
|
4857
|
-
* @param [writer] Writer to encode to
|
|
4858
|
-
* @returns Writer
|
|
4859
|
-
*/
|
|
4860
|
-
public static encode(message: IAccessGroupCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4861
|
-
|
|
4862
|
-
/**
|
|
4863
|
-
* Encodes the specified AccessGroupCreated message, length delimited. Does not implicitly {@link AccessGroupCreated.verify|verify} messages.
|
|
4864
|
-
* @param message AccessGroupCreated message or plain object to encode
|
|
4865
|
-
* @param [writer] Writer to encode to
|
|
4866
|
-
* @returns Writer
|
|
4867
|
-
*/
|
|
4868
|
-
public static encodeDelimited(message: IAccessGroupCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4869
|
-
|
|
4870
|
-
/**
|
|
4871
|
-
* Decodes an AccessGroupCreated message from the specified reader or buffer.
|
|
4872
|
-
* @param reader Reader or buffer to decode from
|
|
4873
|
-
* @param [length] Message length if known beforehand
|
|
4874
|
-
* @returns AccessGroupCreated
|
|
4875
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4876
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4877
|
-
*/
|
|
4878
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AccessGroupCreated;
|
|
4879
|
-
|
|
4880
|
-
/**
|
|
4881
|
-
* Decodes an AccessGroupCreated message from the specified reader or buffer, length delimited.
|
|
4882
|
-
* @param reader Reader or buffer to decode from
|
|
4883
|
-
* @returns AccessGroupCreated
|
|
4884
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4885
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4886
|
-
*/
|
|
4887
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AccessGroupCreated;
|
|
4888
|
-
|
|
4889
|
-
/**
|
|
4890
|
-
* Verifies an AccessGroupCreated message.
|
|
4891
|
-
* @param message Plain object to verify
|
|
4892
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
4893
|
-
*/
|
|
4894
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
4895
|
-
|
|
4896
|
-
/**
|
|
4897
|
-
* Creates an AccessGroupCreated message from a plain object. Also converts values to their respective internal types.
|
|
4898
|
-
* @param object Plain object
|
|
4899
|
-
* @returns AccessGroupCreated
|
|
4900
|
-
*/
|
|
4901
|
-
public static fromObject(object: { [k: string]: any }): AccessGroupCreated;
|
|
4902
|
-
|
|
4903
|
-
/**
|
|
4904
|
-
* Creates a plain object from an AccessGroupCreated message. Also converts values to other types if specified.
|
|
4905
|
-
* @param message AccessGroupCreated
|
|
4906
|
-
* @param [options] Conversion options
|
|
4907
|
-
* @returns Plain object
|
|
4908
|
-
*/
|
|
4909
|
-
public static toObject(message: AccessGroupCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4910
|
-
|
|
4911
|
-
/**
|
|
4912
|
-
* Converts this AccessGroupCreated to JSON.
|
|
4913
|
-
* @returns JSON object
|
|
4914
|
-
*/
|
|
4915
|
-
public toJSON(): { [k: string]: any };
|
|
4916
|
-
}
|
|
4917
|
-
|
|
4918
4697
|
/** Properties of a ReferralSignedUp. */
|
|
4919
4698
|
export interface IReferralSignedUp {
|
|
4920
4699
|
|
|
@@ -5352,9 +5131,6 @@ export interface ISubscriptionCreated {
|
|
|
5352
5131
|
|
|
5353
5132
|
/** SubscriptionCreated subscriptionState */
|
|
5354
5133
|
subscriptionState?: (subscription.SubscriptionState|null);
|
|
5355
|
-
|
|
5356
|
-
/** SubscriptionCreated labels */
|
|
5357
|
-
labels?: (subscription.Labels[]|null);
|
|
5358
5134
|
}
|
|
5359
5135
|
|
|
5360
5136
|
/** Represents a SubscriptionCreated. */
|
|
@@ -5399,9 +5175,6 @@ export class SubscriptionCreated implements ISubscriptionCreated {
|
|
|
5399
5175
|
/** SubscriptionCreated subscriptionState. */
|
|
5400
5176
|
public subscriptionState: subscription.SubscriptionState;
|
|
5401
5177
|
|
|
5402
|
-
/** SubscriptionCreated labels. */
|
|
5403
|
-
public labels: subscription.Labels[];
|
|
5404
|
-
|
|
5405
5178
|
/**
|
|
5406
5179
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
5407
5180
|
* @param [properties] Properties to set
|
|
@@ -5514,9 +5287,6 @@ export interface ISubscriptionCancelled {
|
|
|
5514
5287
|
|
|
5515
5288
|
/** SubscriptionCancelled subscriptionState */
|
|
5516
5289
|
subscriptionState?: (subscription.SubscriptionState|null);
|
|
5517
|
-
|
|
5518
|
-
/** SubscriptionCancelled labels */
|
|
5519
|
-
labels?: (subscription.Labels[]|null);
|
|
5520
5290
|
}
|
|
5521
5291
|
|
|
5522
5292
|
/** Represents a SubscriptionCancelled. */
|
|
@@ -5567,9 +5337,6 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
5567
5337
|
/** SubscriptionCancelled subscriptionState. */
|
|
5568
5338
|
public subscriptionState: subscription.SubscriptionState;
|
|
5569
5339
|
|
|
5570
|
-
/** SubscriptionCancelled labels. */
|
|
5571
|
-
public labels: subscription.Labels[];
|
|
5572
|
-
|
|
5573
5340
|
/**
|
|
5574
5341
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
5575
5342
|
* @param [properties] Properties to set
|
|
@@ -5676,12 +5443,6 @@ export interface ISubscriptionRenewed {
|
|
|
5676
5443
|
|
|
5677
5444
|
/** SubscriptionRenewed subscriptionState */
|
|
5678
5445
|
subscriptionState?: (subscription.SubscriptionState|null);
|
|
5679
|
-
|
|
5680
|
-
/** SubscriptionRenewed labels */
|
|
5681
|
-
labels?: (subscription.Labels[]|null);
|
|
5682
|
-
|
|
5683
|
-
/** SubscriptionRenewed renewalCount */
|
|
5684
|
-
renewalCount?: (number|Long|null);
|
|
5685
5446
|
}
|
|
5686
5447
|
|
|
5687
5448
|
/** Represents a SubscriptionRenewed. */
|
|
@@ -5726,12 +5487,6 @@ export class SubscriptionRenewed implements ISubscriptionRenewed {
|
|
|
5726
5487
|
/** SubscriptionRenewed subscriptionState. */
|
|
5727
5488
|
public subscriptionState: subscription.SubscriptionState;
|
|
5728
5489
|
|
|
5729
|
-
/** SubscriptionRenewed labels. */
|
|
5730
|
-
public labels: subscription.Labels[];
|
|
5731
|
-
|
|
5732
|
-
/** SubscriptionRenewed renewalCount. */
|
|
5733
|
-
public renewalCount: (number|Long);
|
|
5734
|
-
|
|
5735
5490
|
/**
|
|
5736
5491
|
* Creates a new SubscriptionRenewed instance using the specified properties.
|
|
5737
5492
|
* @param [properties] Properties to set
|
|
@@ -6204,9 +5959,6 @@ export interface ISubscriptionGraced {
|
|
|
6204
5959
|
|
|
6205
5960
|
/** SubscriptionGraced subscriptionState */
|
|
6206
5961
|
subscriptionState?: (subscription.SubscriptionState|null);
|
|
6207
|
-
|
|
6208
|
-
/** SubscriptionGraced labels */
|
|
6209
|
-
labels?: (subscription.Labels[]|null);
|
|
6210
5962
|
}
|
|
6211
5963
|
|
|
6212
5964
|
/** Represents a SubscriptionGraced. */
|
|
@@ -6251,9 +6003,6 @@ export class SubscriptionGraced implements ISubscriptionGraced {
|
|
|
6251
6003
|
/** SubscriptionGraced subscriptionState. */
|
|
6252
6004
|
public subscriptionState: subscription.SubscriptionState;
|
|
6253
6005
|
|
|
6254
|
-
/** SubscriptionGraced labels. */
|
|
6255
|
-
public labels: subscription.Labels[];
|
|
6256
|
-
|
|
6257
6006
|
/**
|
|
6258
6007
|
* Creates a new SubscriptionGraced instance using the specified properties.
|
|
6259
6008
|
* @param [properties] Properties to set
|
|
@@ -6357,9 +6106,6 @@ export interface ISubscriptionStarted {
|
|
|
6357
6106
|
|
|
6358
6107
|
/** SubscriptionStarted subscriptionState */
|
|
6359
6108
|
subscriptionState?: (subscription.SubscriptionState|null);
|
|
6360
|
-
|
|
6361
|
-
/** SubscriptionStarted labels */
|
|
6362
|
-
labels?: (subscription.Labels[]|null);
|
|
6363
6109
|
}
|
|
6364
6110
|
|
|
6365
6111
|
/** Represents a SubscriptionStarted. */
|
|
@@ -6401,9 +6147,6 @@ export class SubscriptionStarted implements ISubscriptionStarted {
|
|
|
6401
6147
|
/** SubscriptionStarted subscriptionState. */
|
|
6402
6148
|
public subscriptionState: subscription.SubscriptionState;
|
|
6403
6149
|
|
|
6404
|
-
/** SubscriptionStarted labels. */
|
|
6405
|
-
public labels: subscription.Labels[];
|
|
6406
|
-
|
|
6407
6150
|
/**
|
|
6408
6151
|
* Creates a new SubscriptionStarted instance using the specified properties.
|
|
6409
6152
|
* @param [properties] Properties to set
|
|
@@ -6510,9 +6253,6 @@ export interface ISubscriptionEnded {
|
|
|
6510
6253
|
|
|
6511
6254
|
/** SubscriptionEnded subscriptionState */
|
|
6512
6255
|
subscriptionState?: (subscription.SubscriptionState|null);
|
|
6513
|
-
|
|
6514
|
-
/** SubscriptionEnded labels */
|
|
6515
|
-
labels?: (subscription.Labels[]|null);
|
|
6516
6256
|
}
|
|
6517
6257
|
|
|
6518
6258
|
/** Represents a SubscriptionEnded. */
|
|
@@ -6557,9 +6297,6 @@ export class SubscriptionEnded implements ISubscriptionEnded {
|
|
|
6557
6297
|
/** SubscriptionEnded subscriptionState. */
|
|
6558
6298
|
public subscriptionState: subscription.SubscriptionState;
|
|
6559
6299
|
|
|
6560
|
-
/** SubscriptionEnded labels. */
|
|
6561
|
-
public labels: subscription.Labels[];
|
|
6562
|
-
|
|
6563
6300
|
/**
|
|
6564
6301
|
* Creates a new SubscriptionEnded instance using the specified properties.
|
|
6565
6302
|
* @param [properties] Properties to set
|
|
@@ -6663,9 +6400,6 @@ export interface ISubscriptionRecovered {
|
|
|
6663
6400
|
|
|
6664
6401
|
/** SubscriptionRecovered subscriptionState */
|
|
6665
6402
|
subscriptionState?: (subscription.SubscriptionState|null);
|
|
6666
|
-
|
|
6667
|
-
/** SubscriptionRecovered labels */
|
|
6668
|
-
labels?: (subscription.Labels[]|null);
|
|
6669
6403
|
}
|
|
6670
6404
|
|
|
6671
6405
|
/** Represents a SubscriptionRecovered. */
|
|
@@ -6707,9 +6441,6 @@ export class SubscriptionRecovered implements ISubscriptionRecovered {
|
|
|
6707
6441
|
/** SubscriptionRecovered subscriptionState. */
|
|
6708
6442
|
public subscriptionState: subscription.SubscriptionState;
|
|
6709
6443
|
|
|
6710
|
-
/** SubscriptionRecovered labels. */
|
|
6711
|
-
public labels: subscription.Labels[];
|
|
6712
|
-
|
|
6713
6444
|
/**
|
|
6714
6445
|
* Creates a new SubscriptionRecovered instance using the specified properties.
|
|
6715
6446
|
* @param [properties] Properties to set
|