@headspace/protos-events 1.359.0 → 1.362.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 +76 -151
  2. package/lib/index.js +232 -330
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -140,7 +140,8 @@ export namespace auth0 {
140
140
  LUMINOUS_OKTA_SSO = 15,
141
141
  OKTA_OKTA_SSO = 16,
142
142
  JUSTWORKS_OKTA_SSO = 17,
143
- GENPACT_OKTA_SSO = 18
143
+ GENPACT_OKTA_SSO = 18,
144
+ THEHARRISCENTER_OKTA_SSO = 19
144
145
  }
145
146
  }
146
147
  }
@@ -8791,6 +8792,17 @@ export namespace productcatalog {
8791
8792
  }
8792
8793
  }
8793
8794
 
8795
+ /** Namespace gift. */
8796
+ export namespace gift {
8797
+
8798
+ /** GiftProductSkuTaxMode enum. */
8799
+ enum GiftProductSkuTaxMode {
8800
+ GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN = 0,
8801
+ GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE = 1,
8802
+ GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE = 2
8803
+ }
8804
+ }
8805
+
8794
8806
  /** Namespace b2b. */
8795
8807
  export namespace b2b {
8796
8808
 
@@ -9952,9 +9964,6 @@ export namespace b2b {
9952
9964
  /** Organization ssoEnabled */
9953
9965
  ssoEnabled?: (boolean|null);
9954
9966
 
9955
- /** Organization mfaEnabled */
9956
- mfaEnabled?: (boolean|null);
9957
-
9958
9967
  /** Organization promoEmailsDisabled */
9959
9968
  promoEmailsDisabled?: (boolean|null);
9960
9969
 
@@ -9998,9 +10007,6 @@ export namespace b2b {
9998
10007
  /** Organization ssoEnabled. */
9999
10008
  public ssoEnabled: boolean;
10000
10009
 
10001
- /** Organization mfaEnabled. */
10002
- public mfaEnabled: boolean;
10003
-
10004
10010
  /** Organization promoEmailsDisabled. */
10005
10011
  public promoEmailsDisabled: boolean;
10006
10012
 
@@ -13435,109 +13441,102 @@ export class UserMFAEnrollmentInitiated implements IUserMFAEnrollmentInitiated {
13435
13441
  public toJSON(): { [k: string]: any };
13436
13442
  }
13437
13443
 
13438
- /** Properties of a UserMFAEnrollmentRemoved. */
13439
- export interface IUserMFAEnrollmentRemoved {
13444
+ /** Properties of a UserMFAEnrollmentDisabled. */
13445
+ export interface IUserMFAEnrollmentDisabled {
13440
13446
 
13441
- /** UserMFAEnrollmentRemoved userId */
13447
+ /** UserMFAEnrollmentDisabled userId */
13442
13448
  userId?: (string|null);
13443
13449
 
13444
- /** UserMFAEnrollmentRemoved enabled */
13445
- enabled?: (boolean|null);
13446
-
13447
- /** UserMFAEnrollmentRemoved timestamp */
13450
+ /** UserMFAEnrollmentDisabled timestamp */
13448
13451
  timestamp?: (number|Long|null);
13449
13452
  }
13450
13453
 
13451
- /** Represents a UserMFAEnrollmentInitiated. */
13452
- export class UserMFAEnrollmentRemoved implements IUserMFAEnrollmentRemoved {
13454
+ /** Represents a UserMFAEnrollmentDisabled. */
13455
+ export class UserMFAEnrollmentDisabled implements IUserMFAEnrollmentDisabled {
13453
13456
 
13454
13457
  /**
13455
- * Constructs a new UserMFAEnrollmentRemoved.
13458
+ * Constructs a new UserMFAEnrollmentDisabled.
13456
13459
  * @param [properties] Properties to set
13457
13460
  */
13458
- constructor(properties?: IUserMFAEnrollmentRemoved);
13461
+ constructor(properties?: IUserMFAEnrollmentDisabled);
13459
13462
 
13460
- /** UserMFAEnrollmentRemoved userId. */
13463
+ /** UserMFAEnrollmentDisabled userId. */
13461
13464
  public userId: string;
13462
13465
 
13463
- /** UserMFAEnrollmentRemoved enabled. */
13464
- public enabled: boolean;
13465
-
13466
- /** UserMFAEnrollmentRemoved timestamp. */
13466
+ /** UserMFAEnrollmentDisabled timestamp. */
13467
13467
  public timestamp: (number|Long);
13468
13468
 
13469
13469
  /**
13470
- * Creates a new UserMFAEnrollmentRemoved instance using the specified properties.
13470
+ * Creates a new UserMFAEnrollmentDisabled instance using the specified properties.
13471
13471
  * @param [properties] Properties to set
13472
- * @returns UserMFAEnrollmentRemoved instance
13472
+ * @returns UserMFAEnrollmentDisabled instance
13473
13473
  */
13474
- public static create(properties?: IUserMFAEnrollmentRemoved): UserMFAEnrollmentRemoved;
13474
+ public static create(properties?: IUserMFAEnrollmentDisabled): UserMFAEnrollmentDisabled;
13475
13475
 
13476
13476
  /**
13477
- * Encodes the specified UserMFAEnrollmentRemoved message. Does not implicitly {@link UserMFAEnrollmentRemoved.verify|verify} messages.
13478
- * @param message UserMFAEnrollmentRemoved message or plain object to encode
13477
+ * Encodes the specified UserMFAEnrollmentDisabled message. Does not implicitly {@link UserMFAEnrollmentDisabled.verify|verify} messages.
13478
+ * @param message UserMFAEnrollmentDisabled message or plain object to encode
13479
13479
  * @param [writer] Writer to encode to
13480
13480
  * @returns Writer
13481
13481
  */
13482
- public static encode(message: IUserMFAEnrollmentRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
13482
+ public static encode(message: IUserMFAEnrollmentDisabled, writer?: $protobuf.Writer): $protobuf.Writer;
13483
13483
 
13484
13484
  /**
13485
- * Encodes the specified UserMFAEnrollmentRemoved message, length delimited. Does not implicitly {@link UserMFAEnrollmentRemoved.verify|verify} messages.
13486
- * @param message UserMFAEnrollmentRemoved message or plain object to encode
13485
+ * Encodes the specified UserMFAEnrollmentDisabled message, length delimited. Does not implicitly {@link UserMFAEnrollmentDisabled.verify|verify} messages.
13486
+ * @param message UserMFAEnrollmentDisabled message or plain object to encode
13487
13487
  * @param [writer] Writer to encode to
13488
13488
  * @returns Writer
13489
13489
  */
13490
- public static encodeDelimited(message: IUserMFAEnrollmentRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
13490
+ public static encodeDelimited(message: IUserMFAEnrollmentDisabled, writer?: $protobuf.Writer): $protobuf.Writer;
13491
13491
 
13492
13492
  /**
13493
- * Decodes a UserMFAEnrollmentRemoved message from the specified reader or buffer.
13493
+ * Decodes a UserMFAEnrollmentDisabled message from the specified reader or buffer.
13494
13494
  * @param reader Reader or buffer to decode from
13495
13495
  * @param [length] Message length if known beforehand
13496
- * @returns UserMFAEnrollmentRemoved
13496
+ * @returns UserMFAEnrollmentDisabled
13497
13497
  * @throws {Error} If the payload is not a reader or valid buffer
13498
13498
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
13499
13499
  */
13500
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMFAEnrollmentRemoved;
13500
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMFAEnrollmentDisabled;
13501
13501
 
13502
13502
  /**
13503
- * Decodes a UserMFAEnrollmentRemoved message from the specified reader or buffer, length delimited.
13503
+ * Decodes a UserMFAEnrollmentDisabled message from the specified reader or buffer, length delimited.
13504
13504
  * @param reader Reader or buffer to decode from
13505
- * @returns UserMFAEnrollmentRemoved
13505
+ * @returns UserMFAEnrollmentDisabled
13506
13506
  * @throws {Error} If the payload is not a reader or valid buffer
13507
13507
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
13508
13508
  */
13509
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMFAEnrollmentRemoved;
13509
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMFAEnrollmentDisabled;
13510
13510
 
13511
13511
  /**
13512
- * Verifies a UserMFAEnrollmentRemoved message.
13512
+ * Verifies a UserMFAEnrollmentDisabled message.
13513
13513
  * @param message Plain object to verify
13514
13514
  * @returns `null` if valid, otherwise the reason why it is not
13515
13515
  */
13516
13516
  public static verify(message: { [k: string]: any }): (string|null);
13517
13517
 
13518
13518
  /**
13519
- * Creates a UserMFAEnrollmentRemoved message from a plain object. Also converts values to their respective internal types.
13519
+ * Creates a UserMFAEnrollmentDisabled message from a plain object. Also converts values to their respective internal types.
13520
13520
  * @param object Plain object
13521
- * @returns UserMFAEnrollmentRemoved
13521
+ * @returns UserMFAEnrollmentDisabled
13522
13522
  */
13523
- public static fromObject(object: { [k: string]: any }): UserMFAEnrollmentRemoved;
13523
+ public static fromObject(object: { [k: string]: any }): UserMFAEnrollmentDisabled;
13524
13524
 
13525
13525
  /**
13526
- * Creates a plain object from a UserMFAEnrollmentRemoved message. Also converts values to other types if specified.
13527
- * @param message UserMFAEnrollmentRemoved
13526
+ * Creates a plain object from a UserMFAEnrollmentDisabled message. Also converts values to other types if specified.
13527
+ * @param message UserMFAEnrollmentDisabled
13528
13528
  * @param [options] Conversion options
13529
13529
  * @returns Plain object
13530
13530
  */
13531
- public static toObject(message: UserMFAEnrollmentRemoved, options?: $protobuf.IConversionOptions): { [k: string]: any };
13531
+ public static toObject(message: UserMFAEnrollmentDisabled, options?: $protobuf.IConversionOptions): { [k: string]: any };
13532
13532
 
13533
13533
  /**
13534
- * Converts this UserMFAEnrollmentRemoved to JSON.
13534
+ * Converts this UserMFAEnrollmentDisabled to JSON.
13535
13535
  * @returns JSON object
13536
13536
  */
13537
13537
  public toJSON(): { [k: string]: any };
13538
13538
  }
13539
13539
 
13540
-
13541
13540
  /** Properties of an Auth0PasswordResetCompleted. */
13542
13541
  export interface IAuth0PasswordResetCompleted {
13543
13542
 
@@ -32723,6 +32722,12 @@ export interface IGiftRedeemed {
32723
32722
 
32724
32723
  /** GiftRedeemed redeemedOn */
32725
32724
  redeemedOn?: (number|Long|null);
32725
+
32726
+ /** GiftRedeemed productSkuId */
32727
+ productSkuId?: (string|null);
32728
+
32729
+ /** GiftRedeemed productSkuSlug */
32730
+ productSkuSlug?: (string|null);
32726
32731
  }
32727
32732
 
32728
32733
  /** Represents a GiftRedeemed. */
@@ -32743,6 +32748,12 @@ export class GiftRedeemed implements IGiftRedeemed {
32743
32748
  /** GiftRedeemed redeemedOn. */
32744
32749
  public redeemedOn: (number|Long);
32745
32750
 
32751
+ /** GiftRedeemed productSkuId. */
32752
+ public productSkuId: string;
32753
+
32754
+ /** GiftRedeemed productSkuSlug. */
32755
+ public productSkuSlug: string;
32756
+
32746
32757
  /**
32747
32758
  * Creates a new GiftRedeemed instance using the specified properties.
32748
32759
  * @param [properties] Properties to set
@@ -32975,6 +32986,15 @@ export interface IGiftPurchased {
32975
32986
 
32976
32987
  /** GiftPurchased giftPurchaseId */
32977
32988
  giftPurchaseId?: (string|null);
32989
+
32990
+ /** GiftPurchased productSkuId */
32991
+ productSkuId?: (string|null);
32992
+
32993
+ /** GiftPurchased productSkuSlug */
32994
+ productSkuSlug?: (string|null);
32995
+
32996
+ /** GiftPurchased productSkuTaxMode */
32997
+ productSkuTaxMode?: (gift.GiftProductSkuTaxMode|null);
32978
32998
  }
32979
32999
 
32980
33000
  /** Represents a GiftPurchased. */
@@ -33007,6 +33027,15 @@ export class GiftPurchased implements IGiftPurchased {
33007
33027
  /** GiftPurchased giftPurchaseId. */
33008
33028
  public giftPurchaseId: string;
33009
33029
 
33030
+ /** GiftPurchased productSkuId. */
33031
+ public productSkuId: string;
33032
+
33033
+ /** GiftPurchased productSkuSlug. */
33034
+ public productSkuSlug: string;
33035
+
33036
+ /** GiftPurchased productSkuTaxMode. */
33037
+ public productSkuTaxMode: gift.GiftProductSkuTaxMode;
33038
+
33010
33039
  /**
33011
33040
  * Creates a new GiftPurchased instance using the specified properties.
33012
33041
  * @param [properties] Properties to set
@@ -40806,110 +40835,6 @@ export class SubscriptionMemberSubscribed implements ISubscriptionMemberSubscrib
40806
40835
  public toJSON(): { [k: string]: any };
40807
40836
  }
40808
40837
 
40809
-
40810
- /** Properties of a UserMFAEnrollmentInitiated. */
40811
- export interface IUserMFAEnrollmentInitiated {
40812
-
40813
- /** UserMFAEnrollmentInitiated userId */
40814
- userId?: (string|null);
40815
-
40816
- /** UserMFAEnrollmentInitiated enabled */
40817
- enabled?: (boolean|null);
40818
-
40819
- /** UserMFAEnrollmentInitiated timestamp */
40820
- timestamp?: (number|Long|null);
40821
- }
40822
-
40823
- /** Represents a UserMFAEnrollmentInitiated. */
40824
- export class UserMFAEnrollmentInitiated implements IUserMFAEnrollmentInitiated {
40825
-
40826
- /**
40827
- * Constructs a new UserMFAEnrollmentInitiated.
40828
- * @param [properties] Properties to set
40829
- */
40830
- constructor(properties?: IUserMFAEnrollmentInitiated);
40831
-
40832
- /** UserMFAEnrollmentInitiated userId. */
40833
- public userId: string;
40834
-
40835
- /** UserMFAEnrollmentInitiated enabled. */
40836
- public enabled: boolean;
40837
-
40838
- /** UserMFAEnrollmentInitiated timestamp. */
40839
- public timestamp: (number|Long);
40840
-
40841
- /**
40842
- * Creates a new UserMFAEnrollmentInitiated instance using the specified properties.
40843
- * @param [properties] Properties to set
40844
- * @returns UserMFAEnrollmentInitiated instance
40845
- */
40846
- public static create(properties?: IUserMFAEnrollmentInitiated): UserMFAEnrollmentInitiated;
40847
-
40848
- /**
40849
- * Encodes the specified UserMFAEnrollmentInitiated message. Does not implicitly {@link UserMFAEnrollmentInitiated.verify|verify} messages.
40850
- * @param message UserMFAEnrollmentInitiated message or plain object to encode
40851
- * @param [writer] Writer to encode to
40852
- * @returns Writer
40853
- */
40854
- public static encode(message: IUserMFAEnrollmentInitiated, writer?: $protobuf.Writer): $protobuf.Writer;
40855
-
40856
- /**
40857
- * Encodes the specified UserMFAEnrollmentInitiated message, length delimited. Does not implicitly {@link UserMFAEnrollmentInitiated.verify|verify} messages.
40858
- * @param message UserMFAEnrollmentInitiated message or plain object to encode
40859
- * @param [writer] Writer to encode to
40860
- * @returns Writer
40861
- */
40862
- public static encodeDelimited(message: IUserMFAEnrollmentInitiated, writer?: $protobuf.Writer): $protobuf.Writer;
40863
-
40864
- /**
40865
- * Decodes a UserMFAEnrollmentInitiated message from the specified reader or buffer.
40866
- * @param reader Reader or buffer to decode from
40867
- * @param [length] Message length if known beforehand
40868
- * @returns UserMFAEnrollmentInitiated
40869
- * @throws {Error} If the payload is not a reader or valid buffer
40870
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40871
- */
40872
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMFAEnrollmentInitiated;
40873
-
40874
- /**
40875
- * Decodes a UserMFAEnrollmentInitiated message from the specified reader or buffer, length delimited.
40876
- * @param reader Reader or buffer to decode from
40877
- * @returns UserMFAEnrollmentInitiated
40878
- * @throws {Error} If the payload is not a reader or valid buffer
40879
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40880
- */
40881
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMFAEnrollmentInitiated;
40882
-
40883
- /**
40884
- * Verifies a UserMFAEnrollmentInitiated message.
40885
- * @param message Plain object to verify
40886
- * @returns `null` if valid, otherwise the reason why it is not
40887
- */
40888
- public static verify(message: { [k: string]: any }): (string|null);
40889
-
40890
- /**
40891
- * Creates a UserMFAEnrollmentInitiated message from a plain object. Also converts values to their respective internal types.
40892
- * @param object Plain object
40893
- * @returns UserMFAEnrollmentInitiated
40894
- */
40895
- public static fromObject(object: { [k: string]: any }): UserMFAEnrollmentInitiated;
40896
-
40897
- /**
40898
- * Creates a plain object from a UserMFAEnrollmentInitiated message. Also converts values to other types if specified.
40899
- * @param message UserMFAEnrollmentInitiated
40900
- * @param [options] Conversion options
40901
- * @returns Plain object
40902
- */
40903
- public static toObject(message: UserMFAEnrollmentInitiated, options?: $protobuf.IConversionOptions): { [k: string]: any };
40904
-
40905
- /**
40906
- * Converts this UserMFAEnrollmentInitiated to JSON.
40907
- * @returns JSON object
40908
- */
40909
- public toJSON(): { [k: string]: any };
40910
- }
40911
-
40912
-
40913
40838
  /** Properties of a SubscriptionMemberRenewed. */
40914
40839
  export interface ISubscriptionMemberRenewed {
40915
40840
 
package/lib/index.js CHANGED
@@ -311,6 +311,7 @@ $root.auth0 = (function() {
311
311
  * @property {number} OKTA_OKTA_SSO=16 OKTA_OKTA_SSO value
312
312
  * @property {number} JUSTWORKS_OKTA_SSO=17 JUSTWORKS_OKTA_SSO value
313
313
  * @property {number} GENPACT_OKTA_SSO=18 GENPACT_OKTA_SSO value
314
+ * @property {number} THEHARRISCENTER_OKTA_SSO=19 THEHARRISCENTER_OKTA_SSO value
314
315
  */
315
316
  connections.Connection = (function() {
316
317
  var valuesById = {}, values = Object.create(valuesById);
@@ -333,6 +334,7 @@ $root.auth0 = (function() {
333
334
  values[valuesById[16] = "OKTA_OKTA_SSO"] = 16;
334
335
  values[valuesById[17] = "JUSTWORKS_OKTA_SSO"] = 17;
335
336
  values[valuesById[18] = "GENPACT_OKTA_SSO"] = 18;
337
+ values[valuesById[19] = "THEHARRISCENTER_OKTA_SSO"] = 19;
336
338
  return values;
337
339
  })();
338
340
 
@@ -21287,6 +21289,34 @@ $root.productcatalog = (function() {
21287
21289
  return productcatalog;
21288
21290
  })();
21289
21291
 
21292
+ $root.gift = (function() {
21293
+
21294
+ /**
21295
+ * Namespace gift.
21296
+ * @exports gift
21297
+ * @namespace
21298
+ */
21299
+ var gift = {};
21300
+
21301
+ /**
21302
+ * GiftProductSkuTaxMode enum.
21303
+ * @name gift.GiftProductSkuTaxMode
21304
+ * @enum {string}
21305
+ * @property {number} GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN=0 GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN value
21306
+ * @property {number} GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE=1 GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE value
21307
+ * @property {number} GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE=2 GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE value
21308
+ */
21309
+ gift.GiftProductSkuTaxMode = (function() {
21310
+ var valuesById = {}, values = Object.create(valuesById);
21311
+ values[valuesById[0] = "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN"] = 0;
21312
+ values[valuesById[1] = "GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE"] = 1;
21313
+ values[valuesById[2] = "GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE"] = 2;
21314
+ return values;
21315
+ })();
21316
+
21317
+ return gift;
21318
+ })();
21319
+
21290
21320
  $root.b2b = (function() {
21291
21321
 
21292
21322
  /**
@@ -31972,6 +32002,7 @@ $root.SuccessfulUserLogin = (function() {
31972
32002
  case 16:
31973
32003
  case 17:
31974
32004
  case 18:
32005
+ case 19:
31975
32006
  break;
31976
32007
  }
31977
32008
  return null;
@@ -32131,6 +32162,10 @@ $root.SuccessfulUserLogin = (function() {
32131
32162
  case 18:
32132
32163
  message.connection = 18;
32133
32164
  break;
32165
+ case "THEHARRISCENTER_OKTA_SSO":
32166
+ case 19:
32167
+ message.connection = 19;
32168
+ break;
32134
32169
  }
32135
32170
  return message;
32136
32171
  };
@@ -32370,6 +32405,7 @@ $root.UnlinkedConnection = (function() {
32370
32405
  case 16:
32371
32406
  case 17:
32372
32407
  case 18:
32408
+ case 19:
32373
32409
  break;
32374
32410
  }
32375
32411
  if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
@@ -32469,6 +32505,10 @@ $root.UnlinkedConnection = (function() {
32469
32505
  case 18:
32470
32506
  message.connection = 18;
32471
32507
  break;
32508
+ case "THEHARRISCENTER_OKTA_SSO":
32509
+ case 19:
32510
+ message.connection = 19;
32511
+ break;
32472
32512
  }
32473
32513
  if (object.unlinkedAt != null)
32474
32514
  if ($util.Long)
@@ -32728,6 +32768,7 @@ $root.ConnectionLinked = (function() {
32728
32768
  case 16:
32729
32769
  case 17:
32730
32770
  case 18:
32771
+ case 19:
32731
32772
  break;
32732
32773
  }
32733
32774
  if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
@@ -32830,6 +32871,10 @@ $root.ConnectionLinked = (function() {
32830
32871
  case 18:
32831
32872
  message.connection = 18;
32832
32873
  break;
32874
+ case "THEHARRISCENTER_OKTA_SSO":
32875
+ case 19:
32876
+ message.connection = 19;
32877
+ break;
32833
32878
  }
32834
32879
  if (object.linkedAt != null)
32835
32880
  if ($util.Long)
@@ -33388,26 +33433,25 @@ $root.UserMFAEnrollmentInitiated = (function() {
33388
33433
  return UserMFAEnrollmentInitiated;
33389
33434
  })();
33390
33435
 
33391
- $root.UserMFAEnrollmentRemoved = (function() {
33436
+ $root.UserMFAEnrollmentDisabled = (function() {
33392
33437
 
33393
33438
  /**
33394
- * Properties of a UserMFAEnrollmentRemoved.
33395
- * @exports IUserMFAEnrollmentRemoved
33396
- * @interface IUserMFAEnrollmentRemoved
33397
- * @property {string|null} [userId] UserMFAEnrollmentRemoved userId
33398
- * @property {boolean|null} [enabled] UserMFAEnrollmentRemoved enabled
33399
- * @property {number|Long|null} [timestamp] UserMFAEnrollmentRemoved timestamp
33439
+ * Properties of a UserMFAEnrollmentDisabled.
33440
+ * @exports IUserMFAEnrollmentDisabled
33441
+ * @interface IUserMFAEnrollmentDisabled
33442
+ * @property {string|null} [userId] UserMFAEnrollmentDisabled userId
33443
+ * @property {number|Long|null} [timestamp] UserMFAEnrollmentDisabled timestamp
33400
33444
  */
33401
33445
 
33402
33446
  /**
33403
- * Constructs a new UserMFAEnrollmentRemoved.
33404
- * @exports UserMFAEnrollmentRemoved
33405
- * @classdesc Represents a UserMFAEnrollmentRemoved.
33406
- * @implements IUserMFAEnrollmentRemoved
33447
+ * Constructs a new UserMFAEnrollmentDisabled.
33448
+ * @exports UserMFAEnrollmentDisabled
33449
+ * @classdesc Represents a UserMFAEnrollmentDisabled.
33450
+ * @implements IUserMFAEnrollmentDisabled
33407
33451
  * @constructor
33408
- * @param {IUserMFAEnrollmentRemoved=} [properties] Properties to set
33452
+ * @param {IUserMFAEnrollmentDisabled=} [properties] Properties to set
33409
33453
  */
33410
- function UserMFAEnrollmentRemoved(properties) {
33454
+ function UserMFAEnrollmentDisabled(properties) {
33411
33455
  if (properties)
33412
33456
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
33413
33457
  if (properties[keys[i]] != null)
@@ -33415,90 +33459,80 @@ $root.UserMFAEnrollmentRemoved = (function() {
33415
33459
  }
33416
33460
 
33417
33461
  /**
33418
- * UserMFAEnrollmentRemoved userId.
33462
+ * UserMFAEnrollmentDisabled userId.
33419
33463
  * @member {string} userId
33420
- * @memberof UserMFAEnrollmentRemoved
33421
- * @instance
33422
- */
33423
- UserMFAEnrollmentRemoved.prototype.userId = "";
33424
-
33425
- /**
33426
- * UserMFAEnrollmentRemoved enabled.
33427
- * @member {boolean} enabled
33428
- * @memberof UserMFAEnrollmentRemoved
33464
+ * @memberof UserMFAEnrollmentDisabled
33429
33465
  * @instance
33430
33466
  */
33431
- UserMFAEnrollmentRemoved.prototype.enabled = false;
33467
+ UserMFAEnrollmentDisabled.prototype.userId = "";
33432
33468
 
33433
33469
  /**
33434
- * UserMFAEnrollmentRemoved timestamp.
33470
+ * UserMFAEnrollmentDisabled timestamp.
33435
33471
  * @member {number|Long} timestamp
33436
- * @memberof UserMFAEnrollmentRemoved
33472
+ * @memberof UserMFAEnrollmentDisabled
33437
33473
  * @instance
33438
33474
  */
33439
- UserMFAEnrollmentRemoved.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
33475
+ UserMFAEnrollmentDisabled.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
33440
33476
 
33441
33477
  /**
33442
- * Creates a new UserMFAEnrollmentRemoved instance using the specified properties.
33478
+ * Creates a new UserMFAEnrollmentDisabled instance using the specified properties.
33443
33479
  * @function create
33444
- * @memberof UserMFAEnrollmentRemoved
33480
+ * @memberof UserMFAEnrollmentDisabled
33445
33481
  * @static
33446
- * @param {IUserMFAEnrollmentRemoved=} [properties] Properties to set
33447
- * @returns {UserMFAEnrollmentRemoved} UserMFAEnrollmentRemoved instance
33482
+ * @param {IUserMFAEnrollmentDisabled=} [properties] Properties to set
33483
+ * @returns {UserMFAEnrollmentDisabled} UserMFAEnrollmentDisabled instance
33448
33484
  */
33449
- UserMFAEnrollmentRemoved.create = function create(properties) {
33450
- return new UserMFAEnrollmentRemoved(properties);
33485
+ UserMFAEnrollmentDisabled.create = function create(properties) {
33486
+ return new UserMFAEnrollmentDisabled(properties);
33451
33487
  };
33452
33488
 
33453
33489
  /**
33454
- * Encodes the specified UserMFAEnrollmentRemoved message. Does not implicitly {@link UserMFAEnrollmentRemoved.verify|verify} messages.
33490
+ * Encodes the specified UserMFAEnrollmentDisabled message. Does not implicitly {@link UserMFAEnrollmentDisabled.verify|verify} messages.
33455
33491
  * @function encode
33456
- * @memberof UserMFAEnrollmentRemoved
33492
+ * @memberof UserMFAEnrollmentDisabled
33457
33493
  * @static
33458
- * @param {IUserMFAEnrollmentRemoved} message UserMFAEnrollmentRemoved message or plain object to encode
33494
+ * @param {IUserMFAEnrollmentDisabled} message UserMFAEnrollmentDisabled message or plain object to encode
33459
33495
  * @param {$protobuf.Writer} [writer] Writer to encode to
33460
33496
  * @returns {$protobuf.Writer} Writer
33461
33497
  */
33462
- UserMFAEnrollmentRemoved.encode = function encode(message, writer) {
33498
+ UserMFAEnrollmentDisabled.encode = function encode(message, writer) {
33463
33499
  if (!writer)
33464
33500
  writer = $Writer.create();
33465
33501
  if (message.userId != null && message.hasOwnProperty("userId"))
33466
33502
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
33467
- if (message.enabled != null && message.hasOwnProperty("enabled"))
33468
- writer.uint32(/* id 2, wireType 0 =*/16).bool(message.enabled);
33469
33503
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
33470
- writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
33504
+ writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
33471
33505
  return writer;
33472
33506
  };
33473
33507
 
33474
33508
  /**
33475
- * Encodes the specified UserMFAEnrollmentRemoved message, length delimited. Does not implicitly {@link UserMFAEnrollmentRemoved.verify|verify} messages.
33509
+ * Encodes the specified UserMFAEnrollmentDisabled message, length delimited. Does not implicitly {@link UserMFAEnrollmentDisabled.verify|verify} messages.
33476
33510
  * @function encodeDelimited
33477
- * @memberof UserMFAEnrollmentRemoved
33511
+ * @memberof UserMFAEnrollmentDisabled
33478
33512
  * @static
33479
- * @param {IUserMFAEnrollmentRemoved} message UserMFAEnrollmentRemoved message or plain object to encode
33513
+ * @param {IUserMFAEnrollmentDisabled} message UserMFAEnrollmentDisabled message or plain object to encode
33480
33514
  * @param {$protobuf.Writer} [writer] Writer to encode to
33481
33515
  * @returns {$protobuf.Writer} Writer
33482
33516
  */
33483
- UserMFAEnrollmentRemoved.encodeDelimited = function encodeDelimited(message, writer) {
33517
+ UserMFAEnrollmentDisabled.encodeDelimited = function encodeDelimited(message, writer) {
33484
33518
  return this.encode(message, writer).ldelim();
33485
33519
  };
33486
33520
 
33487
33521
  /**
33488
- * Decodes a UserMFAEnrollmentRemoved message from the specified reader or buffer.
33522
+ * Decodes a UserMFAEnrollmentDisabled message from the specified reader or buffer.
33489
33523
  * @function decode
33490
- * @memberof UserMFAEnrollmentRemoved
33524
+ * @memberof UserMFAEnrollmentDisabled
33491
33525
  * @static
33492
33526
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
33493
33527
  * @param {number} [length] Message length if known beforehand
33494
- * @returns {UserMFAEnrollmentRemoved} UserMFAEnrollmentRemoved
33528
+ * @returns {UserMFAEnrollmentDisabled} UserMFAEnrollmentDisabled
33495
33529
  * @throws {Error} If the payload is not a reader or valid buffer
33496
33530
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33497
33531
  */
33498
- UserMFAEnrollmentRemoved.decode = function decode(reader, length) {
33532
+ UserMFAEnrollmentDisabled.decode = function decode(reader, length) {
33499
33533
  if (!(reader instanceof $Reader))
33500
33534
  reader = $Reader.create(reader);
33501
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMFAEnrollmentRemoved();
33535
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMFAEnrollmentDisabled();
33502
33536
  while (reader.pos < end) {
33503
33537
  var tag = reader.uint32();
33504
33538
  switch (tag >>> 3) {
@@ -33506,9 +33540,6 @@ $root.UserMFAEnrollmentRemoved = (function() {
33506
33540
  message.userId = reader.string();
33507
33541
  break;
33508
33542
  case 2:
33509
- message.enabled = reader.bool();
33510
- break;
33511
- case 3:
33512
33543
  message.timestamp = reader.uint64();
33513
33544
  break;
33514
33545
  default:
@@ -33520,38 +33551,35 @@ $root.UserMFAEnrollmentRemoved = (function() {
33520
33551
  };
33521
33552
 
33522
33553
  /**
33523
- * Decodes a UserMFAEnrollmentRemoved message from the specified reader or buffer, length delimited.
33554
+ * Decodes a UserMFAEnrollmentDisabled message from the specified reader or buffer, length delimited.
33524
33555
  * @function decodeDelimited
33525
- * @memberof UserMFAEnrollmentRemoved
33556
+ * @memberof UserMFAEnrollmentDisabled
33526
33557
  * @static
33527
33558
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
33528
- * @returns {UserMFAEnrollmentRemoved} UserMFAEnrollmentRemoved
33559
+ * @returns {UserMFAEnrollmentDisabled} UserMFAEnrollmentDisabled
33529
33560
  * @throws {Error} If the payload is not a reader or valid buffer
33530
33561
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33531
33562
  */
33532
- UserMFAEnrollmentRemoved.decodeDelimited = function decodeDelimited(reader) {
33563
+ UserMFAEnrollmentDisabled.decodeDelimited = function decodeDelimited(reader) {
33533
33564
  if (!(reader instanceof $Reader))
33534
33565
  reader = new $Reader(reader);
33535
33566
  return this.decode(reader, reader.uint32());
33536
33567
  };
33537
33568
 
33538
33569
  /**
33539
- * Verifies a UserMFAEnrollmentRemoved message.
33570
+ * Verifies a UserMFAEnrollmentDisabled message.
33540
33571
  * @function verify
33541
- * @memberof UserMFAEnrollmentRemoved
33572
+ * @memberof UserMFAEnrollmentDisabled
33542
33573
  * @static
33543
33574
  * @param {Object.<string,*>} message Plain object to verify
33544
33575
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
33545
33576
  */
33546
- UserMFAEnrollmentRemoved.verify = function verify(message) {
33577
+ UserMFAEnrollmentDisabled.verify = function verify(message) {
33547
33578
  if (typeof message !== "object" || message === null)
33548
33579
  return "object expected";
33549
33580
  if (message.userId != null && message.hasOwnProperty("userId"))
33550
33581
  if (!$util.isString(message.userId))
33551
33582
  return "userId: string expected";
33552
- if (message.enabled != null && message.hasOwnProperty("enabled"))
33553
- if (typeof message.enabled !== "boolean")
33554
- return "enabled: boolean expected";
33555
33583
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
33556
33584
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
33557
33585
  return "timestamp: integer|Long expected";
@@ -33559,21 +33587,19 @@ $root.UserMFAEnrollmentRemoved = (function() {
33559
33587
  };
33560
33588
 
33561
33589
  /**
33562
- * Creates a UserMFAEnrollmentRemoved message from a plain object. Also converts values to their respective internal types.
33590
+ * Creates a UserMFAEnrollmentDisabled message from a plain object. Also converts values to their respective internal types.
33563
33591
  * @function fromObject
33564
- * @memberof UserMFAEnrollmentRemoved
33592
+ * @memberof UserMFAEnrollmentDisabled
33565
33593
  * @static
33566
33594
  * @param {Object.<string,*>} object Plain object
33567
- * @returns {UserMFAEnrollmentRemoved} UserMFAEnrollmentRemoved
33595
+ * @returns {UserMFAEnrollmentDisabled} UserMFAEnrollmentDisabled
33568
33596
  */
33569
- UserMFAEnrollmentRemoved.fromObject = function fromObject(object) {
33570
- if (object instanceof $root.UserMFAEnrollmentRemoved)
33597
+ UserMFAEnrollmentDisabled.fromObject = function fromObject(object) {
33598
+ if (object instanceof $root.UserMFAEnrollmentDisabled)
33571
33599
  return object;
33572
- var message = new $root.UserMFAEnrollmentRemoved();
33600
+ var message = new $root.UserMFAEnrollmentDisabled();
33573
33601
  if (object.userId != null)
33574
33602
  message.userId = String(object.userId);
33575
- if (object.enabled != null)
33576
- message.enabled = Boolean(object.enabled);
33577
33603
  if (object.timestamp != null)
33578
33604
  if ($util.Long)
33579
33605
  (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
@@ -33587,21 +33613,20 @@ $root.UserMFAEnrollmentRemoved = (function() {
33587
33613
  };
33588
33614
 
33589
33615
  /**
33590
- * Creates a plain object from a UserMFAEnrollmentRemoved message. Also converts values to other types if specified.
33616
+ * Creates a plain object from a UserMFAEnrollmentDisabled message. Also converts values to other types if specified.
33591
33617
  * @function toObject
33592
- * @memberof UserMFAEnrollmentRemoved
33618
+ * @memberof UserMFAEnrollmentDisabled
33593
33619
  * @static
33594
- * @param {UserMFAEnrollmentRemoved} message UserMFAEnrollmentRemoved
33620
+ * @param {UserMFAEnrollmentDisabled} message UserMFAEnrollmentDisabled
33595
33621
  * @param {$protobuf.IConversionOptions} [options] Conversion options
33596
33622
  * @returns {Object.<string,*>} Plain object
33597
33623
  */
33598
- UserMFAEnrollmentRemoved.toObject = function toObject(message, options) {
33624
+ UserMFAEnrollmentDisabled.toObject = function toObject(message, options) {
33599
33625
  if (!options)
33600
33626
  options = {};
33601
33627
  var object = {};
33602
33628
  if (options.defaults) {
33603
33629
  object.userId = "";
33604
- object.enabled = false;
33605
33630
  if ($util.Long) {
33606
33631
  var long = new $util.Long(0, 0, true);
33607
33632
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -33610,8 +33635,6 @@ $root.UserMFAEnrollmentRemoved = (function() {
33610
33635
  }
33611
33636
  if (message.userId != null && message.hasOwnProperty("userId"))
33612
33637
  object.userId = message.userId;
33613
- if (message.enabled != null && message.hasOwnProperty("enabled"))
33614
- object.enabled = message.enabled;
33615
33638
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
33616
33639
  if (typeof message.timestamp === "number")
33617
33640
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
@@ -33621,17 +33644,17 @@ $root.UserMFAEnrollmentRemoved = (function() {
33621
33644
  };
33622
33645
 
33623
33646
  /**
33624
- * Converts this UserMFAEnrollmentRemoved to JSON.
33647
+ * Converts this UserMFAEnrollmentDisabled to JSON.
33625
33648
  * @function toJSON
33626
- * @memberof UserMFAEnrollmentRemoved
33649
+ * @memberof UserMFAEnrollmentDisabled
33627
33650
  * @instance
33628
33651
  * @returns {Object.<string,*>} JSON object
33629
33652
  */
33630
- UserMFAEnrollmentRemoved.prototype.toJSON = function toJSON() {
33653
+ UserMFAEnrollmentDisabled.prototype.toJSON = function toJSON() {
33631
33654
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
33632
33655
  };
33633
33656
 
33634
- return UserMFAEnrollmentRemoved;
33657
+ return UserMFAEnrollmentDisabled;
33635
33658
  })();
33636
33659
 
33637
33660
  $root.Auth0PasswordResetCompleted = (function() {
@@ -91073,6 +91096,8 @@ $root.GiftRedeemed = (function() {
91073
91096
  * @property {string|null} [giftRecipientHsUserId] GiftRedeemed giftRecipientHsUserId
91074
91097
  * @property {string|null} [giftPurchaseId] GiftRedeemed giftPurchaseId
91075
91098
  * @property {number|Long|null} [redeemedOn] GiftRedeemed redeemedOn
91099
+ * @property {string|null} [productSkuId] GiftRedeemed productSkuId
91100
+ * @property {string|null} [productSkuSlug] GiftRedeemed productSkuSlug
91076
91101
  */
91077
91102
 
91078
91103
  /**
@@ -91114,6 +91139,22 @@ $root.GiftRedeemed = (function() {
91114
91139
  */
91115
91140
  GiftRedeemed.prototype.redeemedOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
91116
91141
 
91142
+ /**
91143
+ * GiftRedeemed productSkuId.
91144
+ * @member {string} productSkuId
91145
+ * @memberof GiftRedeemed
91146
+ * @instance
91147
+ */
91148
+ GiftRedeemed.prototype.productSkuId = "";
91149
+
91150
+ /**
91151
+ * GiftRedeemed productSkuSlug.
91152
+ * @member {string} productSkuSlug
91153
+ * @memberof GiftRedeemed
91154
+ * @instance
91155
+ */
91156
+ GiftRedeemed.prototype.productSkuSlug = "";
91157
+
91117
91158
  /**
91118
91159
  * Creates a new GiftRedeemed instance using the specified properties.
91119
91160
  * @function create
@@ -91144,6 +91185,10 @@ $root.GiftRedeemed = (function() {
91144
91185
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.giftPurchaseId);
91145
91186
  if (message.redeemedOn != null && message.hasOwnProperty("redeemedOn"))
91146
91187
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.redeemedOn);
91188
+ if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
91189
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.productSkuId);
91190
+ if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
91191
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.productSkuSlug);
91147
91192
  return writer;
91148
91193
  };
91149
91194
 
@@ -91187,6 +91232,12 @@ $root.GiftRedeemed = (function() {
91187
91232
  case 3:
91188
91233
  message.redeemedOn = reader.uint64();
91189
91234
  break;
91235
+ case 4:
91236
+ message.productSkuId = reader.string();
91237
+ break;
91238
+ case 5:
91239
+ message.productSkuSlug = reader.string();
91240
+ break;
91190
91241
  default:
91191
91242
  reader.skipType(tag & 7);
91192
91243
  break;
@@ -91231,6 +91282,12 @@ $root.GiftRedeemed = (function() {
91231
91282
  if (message.redeemedOn != null && message.hasOwnProperty("redeemedOn"))
91232
91283
  if (!$util.isInteger(message.redeemedOn) && !(message.redeemedOn && $util.isInteger(message.redeemedOn.low) && $util.isInteger(message.redeemedOn.high)))
91233
91284
  return "redeemedOn: integer|Long expected";
91285
+ if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
91286
+ if (!$util.isString(message.productSkuId))
91287
+ return "productSkuId: string expected";
91288
+ if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
91289
+ if (!$util.isString(message.productSkuSlug))
91290
+ return "productSkuSlug: string expected";
91234
91291
  return null;
91235
91292
  };
91236
91293
 
@@ -91259,6 +91316,10 @@ $root.GiftRedeemed = (function() {
91259
91316
  message.redeemedOn = object.redeemedOn;
91260
91317
  else if (typeof object.redeemedOn === "object")
91261
91318
  message.redeemedOn = new $util.LongBits(object.redeemedOn.low >>> 0, object.redeemedOn.high >>> 0).toNumber(true);
91319
+ if (object.productSkuId != null)
91320
+ message.productSkuId = String(object.productSkuId);
91321
+ if (object.productSkuSlug != null)
91322
+ message.productSkuSlug = String(object.productSkuSlug);
91262
91323
  return message;
91263
91324
  };
91264
91325
 
@@ -91283,6 +91344,8 @@ $root.GiftRedeemed = (function() {
91283
91344
  object.redeemedOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
91284
91345
  } else
91285
91346
  object.redeemedOn = options.longs === String ? "0" : 0;
91347
+ object.productSkuId = "";
91348
+ object.productSkuSlug = "";
91286
91349
  }
91287
91350
  if (message.giftRecipientHsUserId != null && message.hasOwnProperty("giftRecipientHsUserId"))
91288
91351
  object.giftRecipientHsUserId = message.giftRecipientHsUserId;
@@ -91293,6 +91356,10 @@ $root.GiftRedeemed = (function() {
91293
91356
  object.redeemedOn = options.longs === String ? String(message.redeemedOn) : message.redeemedOn;
91294
91357
  else
91295
91358
  object.redeemedOn = options.longs === String ? $util.Long.prototype.toString.call(message.redeemedOn) : options.longs === Number ? new $util.LongBits(message.redeemedOn.low >>> 0, message.redeemedOn.high >>> 0).toNumber(true) : message.redeemedOn;
91359
+ if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
91360
+ object.productSkuId = message.productSkuId;
91361
+ if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
91362
+ object.productSkuSlug = message.productSkuSlug;
91296
91363
  return object;
91297
91364
  };
91298
91365
 
@@ -91701,6 +91768,9 @@ $root.GiftPurchased = (function() {
91701
91768
  * @property {number|null} [giftNumMonths] GiftPurchased giftNumMonths
91702
91769
  * @property {number|Long|null} [purchasedOn] GiftPurchased purchasedOn
91703
91770
  * @property {string|null} [giftPurchaseId] GiftPurchased giftPurchaseId
91771
+ * @property {string|null} [productSkuId] GiftPurchased productSkuId
91772
+ * @property {string|null} [productSkuSlug] GiftPurchased productSkuSlug
91773
+ * @property {gift.GiftProductSkuTaxMode|null} [productSkuTaxMode] GiftPurchased productSkuTaxMode
91704
91774
  */
91705
91775
 
91706
91776
  /**
@@ -91774,6 +91844,30 @@ $root.GiftPurchased = (function() {
91774
91844
  */
91775
91845
  GiftPurchased.prototype.giftPurchaseId = "";
91776
91846
 
91847
+ /**
91848
+ * GiftPurchased productSkuId.
91849
+ * @member {string} productSkuId
91850
+ * @memberof GiftPurchased
91851
+ * @instance
91852
+ */
91853
+ GiftPurchased.prototype.productSkuId = "";
91854
+
91855
+ /**
91856
+ * GiftPurchased productSkuSlug.
91857
+ * @member {string} productSkuSlug
91858
+ * @memberof GiftPurchased
91859
+ * @instance
91860
+ */
91861
+ GiftPurchased.prototype.productSkuSlug = "";
91862
+
91863
+ /**
91864
+ * GiftPurchased productSkuTaxMode.
91865
+ * @member {gift.GiftProductSkuTaxMode} productSkuTaxMode
91866
+ * @memberof GiftPurchased
91867
+ * @instance
91868
+ */
91869
+ GiftPurchased.prototype.productSkuTaxMode = 0;
91870
+
91777
91871
  /**
91778
91872
  * Creates a new GiftPurchased instance using the specified properties.
91779
91873
  * @function create
@@ -91812,6 +91906,12 @@ $root.GiftPurchased = (function() {
91812
91906
  writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.purchasedOn);
91813
91907
  if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
91814
91908
  writer.uint32(/* id 7, wireType 2 =*/58).string(message.giftPurchaseId);
91909
+ if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
91910
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.productSkuId);
91911
+ if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
91912
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.productSkuSlug);
91913
+ if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
91914
+ writer.uint32(/* id 10, wireType 0 =*/80).int32(message.productSkuTaxMode);
91815
91915
  return writer;
91816
91916
  };
91817
91917
 
@@ -91867,6 +91967,15 @@ $root.GiftPurchased = (function() {
91867
91967
  case 7:
91868
91968
  message.giftPurchaseId = reader.string();
91869
91969
  break;
91970
+ case 8:
91971
+ message.productSkuId = reader.string();
91972
+ break;
91973
+ case 9:
91974
+ message.productSkuSlug = reader.string();
91975
+ break;
91976
+ case 10:
91977
+ message.productSkuTaxMode = reader.int32();
91978
+ break;
91870
91979
  default:
91871
91980
  reader.skipType(tag & 7);
91872
91981
  break;
@@ -91923,6 +92032,21 @@ $root.GiftPurchased = (function() {
91923
92032
  if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
91924
92033
  if (!$util.isString(message.giftPurchaseId))
91925
92034
  return "giftPurchaseId: string expected";
92035
+ if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
92036
+ if (!$util.isString(message.productSkuId))
92037
+ return "productSkuId: string expected";
92038
+ if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
92039
+ if (!$util.isString(message.productSkuSlug))
92040
+ return "productSkuSlug: string expected";
92041
+ if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
92042
+ switch (message.productSkuTaxMode) {
92043
+ default:
92044
+ return "productSkuTaxMode: enum value expected";
92045
+ case 0:
92046
+ case 1:
92047
+ case 2:
92048
+ break;
92049
+ }
91926
92050
  return null;
91927
92051
  };
91928
92052
 
@@ -91959,6 +92083,24 @@ $root.GiftPurchased = (function() {
91959
92083
  message.purchasedOn = new $util.LongBits(object.purchasedOn.low >>> 0, object.purchasedOn.high >>> 0).toNumber(true);
91960
92084
  if (object.giftPurchaseId != null)
91961
92085
  message.giftPurchaseId = String(object.giftPurchaseId);
92086
+ if (object.productSkuId != null)
92087
+ message.productSkuId = String(object.productSkuId);
92088
+ if (object.productSkuSlug != null)
92089
+ message.productSkuSlug = String(object.productSkuSlug);
92090
+ switch (object.productSkuTaxMode) {
92091
+ case "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN":
92092
+ case 0:
92093
+ message.productSkuTaxMode = 0;
92094
+ break;
92095
+ case "GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE":
92096
+ case 1:
92097
+ message.productSkuTaxMode = 1;
92098
+ break;
92099
+ case "GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE":
92100
+ case 2:
92101
+ message.productSkuTaxMode = 2;
92102
+ break;
92103
+ }
91962
92104
  return message;
91963
92105
  };
91964
92106
 
@@ -91987,6 +92129,9 @@ $root.GiftPurchased = (function() {
91987
92129
  } else
91988
92130
  object.purchasedOn = options.longs === String ? "0" : 0;
91989
92131
  object.giftPurchaseId = "";
92132
+ object.productSkuId = "";
92133
+ object.productSkuSlug = "";
92134
+ object.productSkuTaxMode = options.enums === String ? "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN" : 0;
91990
92135
  }
91991
92136
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
91992
92137
  object.hsUserId = message.hsUserId;
@@ -92005,6 +92150,12 @@ $root.GiftPurchased = (function() {
92005
92150
  object.purchasedOn = options.longs === String ? $util.Long.prototype.toString.call(message.purchasedOn) : options.longs === Number ? new $util.LongBits(message.purchasedOn.low >>> 0, message.purchasedOn.high >>> 0).toNumber(true) : message.purchasedOn;
92006
92151
  if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
92007
92152
  object.giftPurchaseId = message.giftPurchaseId;
92153
+ if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
92154
+ object.productSkuId = message.productSkuId;
92155
+ if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
92156
+ object.productSkuSlug = message.productSkuSlug;
92157
+ if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
92158
+ object.productSkuTaxMode = options.enums === String ? $root.gift.GiftProductSkuTaxMode[message.productSkuTaxMode] : message.productSkuTaxMode;
92008
92159
  return object;
92009
92160
  };
92010
92161
 
@@ -116576,255 +116727,6 @@ $root.UserDoubleOptInEmailRequested = (function() {
116576
116727
  return UserDoubleOptInEmailRequested;
116577
116728
  })();
116578
116729
 
116579
-
116580
-
116581
- $root.UserMFAEnrollmentInitiated = (function() {
116582
-
116583
- /**
116584
- * Properties of a UserMFAEnrollmentInitiated.
116585
- * @exports IUserMFAEnrollmentInitiated
116586
- * @interface IUserMFAEnrollmentInitiated
116587
- * @property {string|null} [userId] UserMFAEnrollmentInitiated userId
116588
- * @property {boolean|null} [enabled] UserMFAEnrollmentInitiated enabled
116589
- * @property {number|Long|null} [timestamp] UserMFAEnrollmentInitiated timestamp
116590
- */
116591
-
116592
- /**
116593
- * Constructs a new UserMFAEnrollmentInitiated.
116594
- * @exports UserMFAEnrollmentInitiated
116595
- * @classdesc Represents a UserMFAEnrollmentInitiated.
116596
- * @implements IUserMFAEnrollmentInitiated
116597
- * @constructor
116598
- * @param {IUserMFAEnrollmentInitiated=} [properties] Properties to set
116599
- */
116600
- function UserMFAEnrollmentInitiated(properties) {
116601
- if (properties)
116602
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
116603
- if (properties[keys[i]] != null)
116604
- this[keys[i]] = properties[keys[i]];
116605
- }
116606
-
116607
- /**
116608
- * UserMFAEnrollmentInitiated userId.
116609
- * @member {string} userId
116610
- * @memberof UserMFAEnrollmentInitiated
116611
- * @instance
116612
- */
116613
- UserMFAEnrollmentInitiated.prototype.userId = "";
116614
-
116615
- /**
116616
- * UserMFAEnrollmentInitiated enabled.
116617
- * @member {boolean} enabled
116618
- * @memberof UserMFAEnrollmentInitiated
116619
- * @instance
116620
- */
116621
- UserMFAEnrollmentInitiated.prototype.enabled = false;
116622
-
116623
- /**
116624
- * UserMFAEnrollmentInitiated timestamp.
116625
- * @member {number|Long} timestamp
116626
- * @memberof UserMFAEnrollmentInitiated
116627
- * @instance
116628
- */
116629
- UserMFAEnrollmentInitiated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
116630
-
116631
- /**
116632
- * Creates a new UserMFAEnrollmentInitiated instance using the specified properties.
116633
- * @function create
116634
- * @memberof UserMFAEnrollmentInitiated
116635
- * @static
116636
- * @param {IUserMFAEnrollmentInitiated=} [properties] Properties to set
116637
- * @returns {UserMFAEnrollmentInitiated} UserMFAEnrollmentInitiated instance
116638
- */
116639
- UserMFAEnrollmentInitiated.create = function create(properties) {
116640
- return new UserMFAEnrollmentInitiated(properties);
116641
- };
116642
-
116643
- /**
116644
- * Encodes the specified UserMFAEnrollmentInitiated message. Does not implicitly {@link UserMFAEnrollmentInitiated.verify|verify} messages.
116645
- * @function encode
116646
- * @memberof UserMFAEnrollmentInitiated
116647
- * @static
116648
- * @param {IUserMFAEnrollmentInitiated} message UserMFAEnrollmentInitiated message or plain object to encode
116649
- * @param {$protobuf.Writer} [writer] Writer to encode to
116650
- * @returns {$protobuf.Writer} Writer
116651
- */
116652
- UserMFAEnrollmentInitiated.encode = function encode(message, writer) {
116653
- if (!writer)
116654
- writer = $Writer.create();
116655
- if (message.userId != null && message.hasOwnProperty("userId"))
116656
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
116657
- if (message.enabled != null && message.hasOwnProperty("enabled"))
116658
- writer.uint32(/* id 2, wireType 0 =*/16).bool(message.enabled);
116659
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
116660
- writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
116661
- return writer;
116662
- };
116663
-
116664
- /**
116665
- * Encodes the specified UserMFAEnrollmentInitiated message, length delimited. Does not implicitly {@link UserMFAEnrollmentInitiated.verify|verify} messages.
116666
- * @function encodeDelimited
116667
- * @memberof UserMFAEnrollmentInitiated
116668
- * @static
116669
- * @param {IUserMFAEnrollmentInitiated} message UserMFAEnrollmentInitiated message or plain object to encode
116670
- * @param {$protobuf.Writer} [writer] Writer to encode to
116671
- * @returns {$protobuf.Writer} Writer
116672
- */
116673
- UserMFAEnrollmentInitiated.encodeDelimited = function encodeDelimited(message, writer) {
116674
- return this.encode(message, writer).ldelim();
116675
- };
116676
-
116677
- /**
116678
- * Decodes a UserMFAEnrollmentInitiated message from the specified reader or buffer.
116679
- * @function decode
116680
- * @memberof UserMFAEnrollmentInitiated
116681
- * @static
116682
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
116683
- * @param {number} [length] Message length if known beforehand
116684
- * @returns {UserMFAEnrollmentInitiated} UserMFAEnrollmentInitiated
116685
- * @throws {Error} If the payload is not a reader or valid buffer
116686
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
116687
- */
116688
- UserMFAEnrollmentInitiated.decode = function decode(reader, length) {
116689
- if (!(reader instanceof $Reader))
116690
- reader = $Reader.create(reader);
116691
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMFAEnrollmentInitiated();
116692
- while (reader.pos < end) {
116693
- var tag = reader.uint32();
116694
- switch (tag >>> 3) {
116695
- case 1:
116696
- message.userId = reader.string();
116697
- break;
116698
- case 2:
116699
- message.enabled = reader.bool();
116700
- break;
116701
- case 3:
116702
- message.timestamp = reader.uint64();
116703
- break;
116704
- default:
116705
- reader.skipType(tag & 7);
116706
- break;
116707
- }
116708
- }
116709
- return message;
116710
- };
116711
-
116712
- /**
116713
- * Decodes a UserMFAEnrollmentInitiated message from the specified reader or buffer, length delimited.
116714
- * @function decodeDelimited
116715
- * @memberof UserMFAEnrollmentInitiated
116716
- * @static
116717
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
116718
- * @returns {UserMFAEnrollmentInitiated} UserMFAEnrollmentInitiated
116719
- * @throws {Error} If the payload is not a reader or valid buffer
116720
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
116721
- */
116722
- UserMFAEnrollmentInitiated.decodeDelimited = function decodeDelimited(reader) {
116723
- if (!(reader instanceof $Reader))
116724
- reader = new $Reader(reader);
116725
- return this.decode(reader, reader.uint32());
116726
- };
116727
-
116728
- /**
116729
- * Verifies a UserMFAEnrollmentInitiated message.
116730
- * @function verify
116731
- * @memberof UserMFAEnrollmentInitiated
116732
- * @static
116733
- * @param {Object.<string,*>} message Plain object to verify
116734
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
116735
- */
116736
- UserMFAEnrollmentInitiated.verify = function verify(message) {
116737
- if (typeof message !== "object" || message === null)
116738
- return "object expected";
116739
- if (message.userId != null && message.hasOwnProperty("userId"))
116740
- if (!$util.isString(message.userId))
116741
- return "userId: string expected";
116742
- if (message.enabled != null && message.hasOwnProperty("enabled"))
116743
- if (typeof message.enabled !== "boolean")
116744
- return "enabled: boolean expected";
116745
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
116746
- if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
116747
- return "timestamp: integer|Long expected";
116748
- return null;
116749
- };
116750
-
116751
- /**
116752
- * Creates a UserMFAEnrollmentInitiated message from a plain object. Also converts values to their respective internal types.
116753
- * @function fromObject
116754
- * @memberof UserMFAEnrollmentInitiated
116755
- * @static
116756
- * @param {Object.<string,*>} object Plain object
116757
- * @returns {UserMFAEnrollmentInitiated} UserMFAEnrollmentInitiated
116758
- */
116759
- UserMFAEnrollmentInitiated.fromObject = function fromObject(object) {
116760
- if (object instanceof $root.UserMFAEnrollmentInitiated)
116761
- return object;
116762
- var message = new $root.UserMFAEnrollmentInitiated();
116763
- if (object.userId != null)
116764
- message.userId = String(object.userId);
116765
- if (object.enabled != null)
116766
- message.enabled = Boolean(object.enabled);
116767
- if (object.timestamp != null)
116768
- if ($util.Long)
116769
- (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
116770
- else if (typeof object.timestamp === "string")
116771
- message.timestamp = parseInt(object.timestamp, 10);
116772
- else if (typeof object.timestamp === "number")
116773
- message.timestamp = object.timestamp;
116774
- else if (typeof object.timestamp === "object")
116775
- message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
116776
- return message;
116777
- };
116778
-
116779
- /**
116780
- * Creates a plain object from a UserMFAEnrollmentInitiated message. Also converts values to other types if specified.
116781
- * @function toObject
116782
- * @memberof UserMFAEnrollmentInitiated
116783
- * @static
116784
- * @param {UserMFAEnrollmentInitiated} message UserMFAEnrollmentInitiated
116785
- * @param {$protobuf.IConversionOptions} [options] Conversion options
116786
- * @returns {Object.<string,*>} Plain object
116787
- */
116788
- UserMFAEnrollmentInitiated.toObject = function toObject(message, options) {
116789
- if (!options)
116790
- options = {};
116791
- var object = {};
116792
- if (options.defaults) {
116793
- object.userId = "";
116794
- object.enabled = false;
116795
- if ($util.Long) {
116796
- var long = new $util.Long(0, 0, true);
116797
- object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
116798
- } else
116799
- object.timestamp = options.longs === String ? "0" : 0;
116800
- }
116801
- if (message.userId != null && message.hasOwnProperty("userId"))
116802
- object.userId = message.userId;
116803
- if (message.enabled != null && message.hasOwnProperty("enabled"))
116804
- object.enabled = message.enabled;
116805
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
116806
- if (typeof message.timestamp === "number")
116807
- object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
116808
- else
116809
- object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
116810
- return object;
116811
- };
116812
-
116813
- /**
116814
- * Converts this UserMFAEnrollmentInitiated to JSON.
116815
- * @function toJSON
116816
- * @memberof UserMFAEnrollmentInitiated
116817
- * @instance
116818
- * @returns {Object.<string,*>} JSON object
116819
- */
116820
- UserMFAEnrollmentInitiated.prototype.toJSON = function toJSON() {
116821
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
116822
- };
116823
-
116824
- return UserMFAEnrollmentInitiated;
116825
- })();
116826
-
116827
-
116828
116730
  $root.UserEmailUpdated = (function() {
116829
116731
 
116830
116732
  /**
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.359.0"
19
+ "version": "1.362.0"
20
20
  }