@headspace/protos-events 1.79.0 → 1.81.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 +478 -0
  2. package/lib/index.js +1297 -0
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -2271,6 +2271,22 @@ export namespace userdomain {
2271
2271
  ALEXA = 4,
2272
2272
  GOOGLE_ASSISTANT = 5
2273
2273
  }
2274
+
2275
+ /** LoginStatus enum. */
2276
+ enum LoginStatus {
2277
+ LOGIN_UNKNOWN = 0,
2278
+ LOGIN_SUCCESS = 1,
2279
+ LOGIN_FAIL = 2
2280
+ }
2281
+
2282
+ /** ConnectionSource enum. */
2283
+ enum ConnectionSource {
2284
+ CONNSRC_UNKNOWN = 0,
2285
+ CONNSRC_EMAIL = 1,
2286
+ CONNSRC_FACEBOOK = 2,
2287
+ CONNSRC_SPOTIFY = 3,
2288
+ CONNSRC_APPLE = 4
2289
+ }
2274
2290
  }
2275
2291
 
2276
2292
  /** Properties of a UserRoleUpdated. */
@@ -2879,6 +2895,120 @@ export class UserDomainDeleted implements IUserDomainDeleted {
2879
2895
  public toJSON(): { [k: string]: any };
2880
2896
  }
2881
2897
 
2898
+ /** Properties of a UserDomainLoggedIn. */
2899
+ export interface IUserDomainLoggedIn {
2900
+
2901
+ /** UserDomainLoggedIn hsId */
2902
+ hsId?: (string|null);
2903
+
2904
+ /** UserDomainLoggedIn loginTimestamp */
2905
+ loginTimestamp?: (number|Long|null);
2906
+
2907
+ /** UserDomainLoggedIn loginStatus */
2908
+ loginStatus?: (userdomain.LoginStatus|null);
2909
+
2910
+ /** UserDomainLoggedIn loginPlatform */
2911
+ loginPlatform?: (userdomain.Platform|null);
2912
+
2913
+ /** UserDomainLoggedIn loginConnectionSource */
2914
+ loginConnectionSource?: (userdomain.ConnectionSource|null);
2915
+ }
2916
+
2917
+ /** Represents a UserDomainLoggedIn. */
2918
+ export class UserDomainLoggedIn implements IUserDomainLoggedIn {
2919
+
2920
+ /**
2921
+ * Constructs a new UserDomainLoggedIn.
2922
+ * @param [properties] Properties to set
2923
+ */
2924
+ constructor(properties?: IUserDomainLoggedIn);
2925
+
2926
+ /** UserDomainLoggedIn hsId. */
2927
+ public hsId: string;
2928
+
2929
+ /** UserDomainLoggedIn loginTimestamp. */
2930
+ public loginTimestamp: (number|Long);
2931
+
2932
+ /** UserDomainLoggedIn loginStatus. */
2933
+ public loginStatus: userdomain.LoginStatus;
2934
+
2935
+ /** UserDomainLoggedIn loginPlatform. */
2936
+ public loginPlatform: userdomain.Platform;
2937
+
2938
+ /** UserDomainLoggedIn loginConnectionSource. */
2939
+ public loginConnectionSource: userdomain.ConnectionSource;
2940
+
2941
+ /**
2942
+ * Creates a new UserDomainLoggedIn instance using the specified properties.
2943
+ * @param [properties] Properties to set
2944
+ * @returns UserDomainLoggedIn instance
2945
+ */
2946
+ public static create(properties?: IUserDomainLoggedIn): UserDomainLoggedIn;
2947
+
2948
+ /**
2949
+ * Encodes the specified UserDomainLoggedIn message. Does not implicitly {@link UserDomainLoggedIn.verify|verify} messages.
2950
+ * @param message UserDomainLoggedIn message or plain object to encode
2951
+ * @param [writer] Writer to encode to
2952
+ * @returns Writer
2953
+ */
2954
+ public static encode(message: IUserDomainLoggedIn, writer?: $protobuf.Writer): $protobuf.Writer;
2955
+
2956
+ /**
2957
+ * Encodes the specified UserDomainLoggedIn message, length delimited. Does not implicitly {@link UserDomainLoggedIn.verify|verify} messages.
2958
+ * @param message UserDomainLoggedIn message or plain object to encode
2959
+ * @param [writer] Writer to encode to
2960
+ * @returns Writer
2961
+ */
2962
+ public static encodeDelimited(message: IUserDomainLoggedIn, writer?: $protobuf.Writer): $protobuf.Writer;
2963
+
2964
+ /**
2965
+ * Decodes a UserDomainLoggedIn message from the specified reader or buffer.
2966
+ * @param reader Reader or buffer to decode from
2967
+ * @param [length] Message length if known beforehand
2968
+ * @returns UserDomainLoggedIn
2969
+ * @throws {Error} If the payload is not a reader or valid buffer
2970
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2971
+ */
2972
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDomainLoggedIn;
2973
+
2974
+ /**
2975
+ * Decodes a UserDomainLoggedIn message from the specified reader or buffer, length delimited.
2976
+ * @param reader Reader or buffer to decode from
2977
+ * @returns UserDomainLoggedIn
2978
+ * @throws {Error} If the payload is not a reader or valid buffer
2979
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2980
+ */
2981
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDomainLoggedIn;
2982
+
2983
+ /**
2984
+ * Verifies a UserDomainLoggedIn message.
2985
+ * @param message Plain object to verify
2986
+ * @returns `null` if valid, otherwise the reason why it is not
2987
+ */
2988
+ public static verify(message: { [k: string]: any }): (string|null);
2989
+
2990
+ /**
2991
+ * Creates a UserDomainLoggedIn message from a plain object. Also converts values to their respective internal types.
2992
+ * @param object Plain object
2993
+ * @returns UserDomainLoggedIn
2994
+ */
2995
+ public static fromObject(object: { [k: string]: any }): UserDomainLoggedIn;
2996
+
2997
+ /**
2998
+ * Creates a plain object from a UserDomainLoggedIn message. Also converts values to other types if specified.
2999
+ * @param message UserDomainLoggedIn
3000
+ * @param [options] Conversion options
3001
+ * @returns Plain object
3002
+ */
3003
+ public static toObject(message: UserDomainLoggedIn, options?: $protobuf.IConversionOptions): { [k: string]: any };
3004
+
3005
+ /**
3006
+ * Converts this UserDomainLoggedIn to JSON.
3007
+ * @returns JSON object
3008
+ */
3009
+ public toJSON(): { [k: string]: any };
3010
+ }
3011
+
2882
3012
  /** Properties of a UserPasswordResetCreated. */
2883
3013
  export interface IUserPasswordResetCreated {
2884
3014
 
@@ -6223,6 +6353,354 @@ export class SubscriptionAccessGroupMapUpdated implements ISubscriptionAccessGro
6223
6353
  public toJSON(): { [k: string]: any };
6224
6354
  }
6225
6355
 
6356
+ /** Properties of an AccessibleEntityCreated. */
6357
+ export interface IAccessibleEntityCreated {
6358
+
6359
+ /** AccessibleEntityCreated entityType */
6360
+ entityType?: (string|null);
6361
+
6362
+ /** AccessibleEntityCreated entityTypeId */
6363
+ entityTypeId?: (string|null);
6364
+
6365
+ /** AccessibleEntityCreated accessGroupName */
6366
+ accessGroupName?: (string|null);
6367
+
6368
+ /** AccessibleEntityCreated isHidden */
6369
+ isHidden?: (boolean|null);
6370
+
6371
+ /** AccessibleEntityCreated isLocked */
6372
+ isLocked?: (boolean|null);
6373
+
6374
+ /** AccessibleEntityCreated createdAt */
6375
+ createdAt?: (number|Long|null);
6376
+ }
6377
+
6378
+ /** Represents an AccessibleEntityCreated. */
6379
+ export class AccessibleEntityCreated implements IAccessibleEntityCreated {
6380
+
6381
+ /**
6382
+ * Constructs a new AccessibleEntityCreated.
6383
+ * @param [properties] Properties to set
6384
+ */
6385
+ constructor(properties?: IAccessibleEntityCreated);
6386
+
6387
+ /** AccessibleEntityCreated entityType. */
6388
+ public entityType: string;
6389
+
6390
+ /** AccessibleEntityCreated entityTypeId. */
6391
+ public entityTypeId: string;
6392
+
6393
+ /** AccessibleEntityCreated accessGroupName. */
6394
+ public accessGroupName: string;
6395
+
6396
+ /** AccessibleEntityCreated isHidden. */
6397
+ public isHidden: boolean;
6398
+
6399
+ /** AccessibleEntityCreated isLocked. */
6400
+ public isLocked: boolean;
6401
+
6402
+ /** AccessibleEntityCreated createdAt. */
6403
+ public createdAt: (number|Long);
6404
+
6405
+ /**
6406
+ * Creates a new AccessibleEntityCreated instance using the specified properties.
6407
+ * @param [properties] Properties to set
6408
+ * @returns AccessibleEntityCreated instance
6409
+ */
6410
+ public static create(properties?: IAccessibleEntityCreated): AccessibleEntityCreated;
6411
+
6412
+ /**
6413
+ * Encodes the specified AccessibleEntityCreated message. Does not implicitly {@link AccessibleEntityCreated.verify|verify} messages.
6414
+ * @param message AccessibleEntityCreated message or plain object to encode
6415
+ * @param [writer] Writer to encode to
6416
+ * @returns Writer
6417
+ */
6418
+ public static encode(message: IAccessibleEntityCreated, writer?: $protobuf.Writer): $protobuf.Writer;
6419
+
6420
+ /**
6421
+ * Encodes the specified AccessibleEntityCreated message, length delimited. Does not implicitly {@link AccessibleEntityCreated.verify|verify} messages.
6422
+ * @param message AccessibleEntityCreated message or plain object to encode
6423
+ * @param [writer] Writer to encode to
6424
+ * @returns Writer
6425
+ */
6426
+ public static encodeDelimited(message: IAccessibleEntityCreated, writer?: $protobuf.Writer): $protobuf.Writer;
6427
+
6428
+ /**
6429
+ * Decodes an AccessibleEntityCreated message from the specified reader or buffer.
6430
+ * @param reader Reader or buffer to decode from
6431
+ * @param [length] Message length if known beforehand
6432
+ * @returns AccessibleEntityCreated
6433
+ * @throws {Error} If the payload is not a reader or valid buffer
6434
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6435
+ */
6436
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AccessibleEntityCreated;
6437
+
6438
+ /**
6439
+ * Decodes an AccessibleEntityCreated message from the specified reader or buffer, length delimited.
6440
+ * @param reader Reader or buffer to decode from
6441
+ * @returns AccessibleEntityCreated
6442
+ * @throws {Error} If the payload is not a reader or valid buffer
6443
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6444
+ */
6445
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AccessibleEntityCreated;
6446
+
6447
+ /**
6448
+ * Verifies an AccessibleEntityCreated message.
6449
+ * @param message Plain object to verify
6450
+ * @returns `null` if valid, otherwise the reason why it is not
6451
+ */
6452
+ public static verify(message: { [k: string]: any }): (string|null);
6453
+
6454
+ /**
6455
+ * Creates an AccessibleEntityCreated message from a plain object. Also converts values to their respective internal types.
6456
+ * @param object Plain object
6457
+ * @returns AccessibleEntityCreated
6458
+ */
6459
+ public static fromObject(object: { [k: string]: any }): AccessibleEntityCreated;
6460
+
6461
+ /**
6462
+ * Creates a plain object from an AccessibleEntityCreated message. Also converts values to other types if specified.
6463
+ * @param message AccessibleEntityCreated
6464
+ * @param [options] Conversion options
6465
+ * @returns Plain object
6466
+ */
6467
+ public static toObject(message: AccessibleEntityCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
6468
+
6469
+ /**
6470
+ * Converts this AccessibleEntityCreated to JSON.
6471
+ * @returns JSON object
6472
+ */
6473
+ public toJSON(): { [k: string]: any };
6474
+ }
6475
+
6476
+ /** Properties of an AccessibleEntityUpdated. */
6477
+ export interface IAccessibleEntityUpdated {
6478
+
6479
+ /** AccessibleEntityUpdated entityType */
6480
+ entityType?: (string|null);
6481
+
6482
+ /** AccessibleEntityUpdated entityTypeId */
6483
+ entityTypeId?: (string|null);
6484
+
6485
+ /** AccessibleEntityUpdated accessGroupName */
6486
+ accessGroupName?: (string|null);
6487
+
6488
+ /** AccessibleEntityUpdated isHidden */
6489
+ isHidden?: (boolean|null);
6490
+
6491
+ /** AccessibleEntityUpdated isLocked */
6492
+ isLocked?: (boolean|null);
6493
+
6494
+ /** AccessibleEntityUpdated updatedAt */
6495
+ updatedAt?: (number|Long|null);
6496
+ }
6497
+
6498
+ /** Represents an AccessibleEntityUpdated. */
6499
+ export class AccessibleEntityUpdated implements IAccessibleEntityUpdated {
6500
+
6501
+ /**
6502
+ * Constructs a new AccessibleEntityUpdated.
6503
+ * @param [properties] Properties to set
6504
+ */
6505
+ constructor(properties?: IAccessibleEntityUpdated);
6506
+
6507
+ /** AccessibleEntityUpdated entityType. */
6508
+ public entityType: string;
6509
+
6510
+ /** AccessibleEntityUpdated entityTypeId. */
6511
+ public entityTypeId: string;
6512
+
6513
+ /** AccessibleEntityUpdated accessGroupName. */
6514
+ public accessGroupName: string;
6515
+
6516
+ /** AccessibleEntityUpdated isHidden. */
6517
+ public isHidden: boolean;
6518
+
6519
+ /** AccessibleEntityUpdated isLocked. */
6520
+ public isLocked: boolean;
6521
+
6522
+ /** AccessibleEntityUpdated updatedAt. */
6523
+ public updatedAt: (number|Long);
6524
+
6525
+ /**
6526
+ * Creates a new AccessibleEntityUpdated instance using the specified properties.
6527
+ * @param [properties] Properties to set
6528
+ * @returns AccessibleEntityUpdated instance
6529
+ */
6530
+ public static create(properties?: IAccessibleEntityUpdated): AccessibleEntityUpdated;
6531
+
6532
+ /**
6533
+ * Encodes the specified AccessibleEntityUpdated message. Does not implicitly {@link AccessibleEntityUpdated.verify|verify} messages.
6534
+ * @param message AccessibleEntityUpdated message or plain object to encode
6535
+ * @param [writer] Writer to encode to
6536
+ * @returns Writer
6537
+ */
6538
+ public static encode(message: IAccessibleEntityUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
6539
+
6540
+ /**
6541
+ * Encodes the specified AccessibleEntityUpdated message, length delimited. Does not implicitly {@link AccessibleEntityUpdated.verify|verify} messages.
6542
+ * @param message AccessibleEntityUpdated message or plain object to encode
6543
+ * @param [writer] Writer to encode to
6544
+ * @returns Writer
6545
+ */
6546
+ public static encodeDelimited(message: IAccessibleEntityUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
6547
+
6548
+ /**
6549
+ * Decodes an AccessibleEntityUpdated message from the specified reader or buffer.
6550
+ * @param reader Reader or buffer to decode from
6551
+ * @param [length] Message length if known beforehand
6552
+ * @returns AccessibleEntityUpdated
6553
+ * @throws {Error} If the payload is not a reader or valid buffer
6554
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6555
+ */
6556
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AccessibleEntityUpdated;
6557
+
6558
+ /**
6559
+ * Decodes an AccessibleEntityUpdated message from the specified reader or buffer, length delimited.
6560
+ * @param reader Reader or buffer to decode from
6561
+ * @returns AccessibleEntityUpdated
6562
+ * @throws {Error} If the payload is not a reader or valid buffer
6563
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6564
+ */
6565
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AccessibleEntityUpdated;
6566
+
6567
+ /**
6568
+ * Verifies an AccessibleEntityUpdated message.
6569
+ * @param message Plain object to verify
6570
+ * @returns `null` if valid, otherwise the reason why it is not
6571
+ */
6572
+ public static verify(message: { [k: string]: any }): (string|null);
6573
+
6574
+ /**
6575
+ * Creates an AccessibleEntityUpdated message from a plain object. Also converts values to their respective internal types.
6576
+ * @param object Plain object
6577
+ * @returns AccessibleEntityUpdated
6578
+ */
6579
+ public static fromObject(object: { [k: string]: any }): AccessibleEntityUpdated;
6580
+
6581
+ /**
6582
+ * Creates a plain object from an AccessibleEntityUpdated message. Also converts values to other types if specified.
6583
+ * @param message AccessibleEntityUpdated
6584
+ * @param [options] Conversion options
6585
+ * @returns Plain object
6586
+ */
6587
+ public static toObject(message: AccessibleEntityUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
6588
+
6589
+ /**
6590
+ * Converts this AccessibleEntityUpdated to JSON.
6591
+ * @returns JSON object
6592
+ */
6593
+ public toJSON(): { [k: string]: any };
6594
+ }
6595
+
6596
+ /** Properties of an AccessibleEntityDeleted. */
6597
+ export interface IAccessibleEntityDeleted {
6598
+
6599
+ /** AccessibleEntityDeleted entityType */
6600
+ entityType?: (string|null);
6601
+
6602
+ /** AccessibleEntityDeleted entityTypeId */
6603
+ entityTypeId?: (string|null);
6604
+
6605
+ /** AccessibleEntityDeleted accessGroupName */
6606
+ accessGroupName?: (string|null);
6607
+
6608
+ /** AccessibleEntityDeleted deletedAt */
6609
+ deletedAt?: (number|Long|null);
6610
+ }
6611
+
6612
+ /** Represents an AccessibleEntityDeleted. */
6613
+ export class AccessibleEntityDeleted implements IAccessibleEntityDeleted {
6614
+
6615
+ /**
6616
+ * Constructs a new AccessibleEntityDeleted.
6617
+ * @param [properties] Properties to set
6618
+ */
6619
+ constructor(properties?: IAccessibleEntityDeleted);
6620
+
6621
+ /** AccessibleEntityDeleted entityType. */
6622
+ public entityType: string;
6623
+
6624
+ /** AccessibleEntityDeleted entityTypeId. */
6625
+ public entityTypeId: string;
6626
+
6627
+ /** AccessibleEntityDeleted accessGroupName. */
6628
+ public accessGroupName: string;
6629
+
6630
+ /** AccessibleEntityDeleted deletedAt. */
6631
+ public deletedAt: (number|Long);
6632
+
6633
+ /**
6634
+ * Creates a new AccessibleEntityDeleted instance using the specified properties.
6635
+ * @param [properties] Properties to set
6636
+ * @returns AccessibleEntityDeleted instance
6637
+ */
6638
+ public static create(properties?: IAccessibleEntityDeleted): AccessibleEntityDeleted;
6639
+
6640
+ /**
6641
+ * Encodes the specified AccessibleEntityDeleted message. Does not implicitly {@link AccessibleEntityDeleted.verify|verify} messages.
6642
+ * @param message AccessibleEntityDeleted message or plain object to encode
6643
+ * @param [writer] Writer to encode to
6644
+ * @returns Writer
6645
+ */
6646
+ public static encode(message: IAccessibleEntityDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
6647
+
6648
+ /**
6649
+ * Encodes the specified AccessibleEntityDeleted message, length delimited. Does not implicitly {@link AccessibleEntityDeleted.verify|verify} messages.
6650
+ * @param message AccessibleEntityDeleted message or plain object to encode
6651
+ * @param [writer] Writer to encode to
6652
+ * @returns Writer
6653
+ */
6654
+ public static encodeDelimited(message: IAccessibleEntityDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
6655
+
6656
+ /**
6657
+ * Decodes an AccessibleEntityDeleted message from the specified reader or buffer.
6658
+ * @param reader Reader or buffer to decode from
6659
+ * @param [length] Message length if known beforehand
6660
+ * @returns AccessibleEntityDeleted
6661
+ * @throws {Error} If the payload is not a reader or valid buffer
6662
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6663
+ */
6664
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AccessibleEntityDeleted;
6665
+
6666
+ /**
6667
+ * Decodes an AccessibleEntityDeleted message from the specified reader or buffer, length delimited.
6668
+ * @param reader Reader or buffer to decode from
6669
+ * @returns AccessibleEntityDeleted
6670
+ * @throws {Error} If the payload is not a reader or valid buffer
6671
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6672
+ */
6673
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AccessibleEntityDeleted;
6674
+
6675
+ /**
6676
+ * Verifies an AccessibleEntityDeleted message.
6677
+ * @param message Plain object to verify
6678
+ * @returns `null` if valid, otherwise the reason why it is not
6679
+ */
6680
+ public static verify(message: { [k: string]: any }): (string|null);
6681
+
6682
+ /**
6683
+ * Creates an AccessibleEntityDeleted message from a plain object. Also converts values to their respective internal types.
6684
+ * @param object Plain object
6685
+ * @returns AccessibleEntityDeleted
6686
+ */
6687
+ public static fromObject(object: { [k: string]: any }): AccessibleEntityDeleted;
6688
+
6689
+ /**
6690
+ * Creates a plain object from an AccessibleEntityDeleted message. Also converts values to other types if specified.
6691
+ * @param message AccessibleEntityDeleted
6692
+ * @param [options] Conversion options
6693
+ * @returns Plain object
6694
+ */
6695
+ public static toObject(message: AccessibleEntityDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
6696
+
6697
+ /**
6698
+ * Converts this AccessibleEntityDeleted to JSON.
6699
+ * @returns JSON object
6700
+ */
6701
+ public toJSON(): { [k: string]: any };
6702
+ }
6703
+
6226
6704
  /** Properties of a ReferralSignedUp. */
6227
6705
  export interface IReferralSignedUp {
6228
6706