@headspace/protos-events 1.357.0 → 1.359.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 +213 -41
- package/lib/index.js +495 -156
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -8791,17 +8791,6 @@ export namespace productcatalog {
|
|
|
8791
8791
|
}
|
|
8792
8792
|
}
|
|
8793
8793
|
|
|
8794
|
-
/** Namespace gift. */
|
|
8795
|
-
export namespace gift {
|
|
8796
|
-
|
|
8797
|
-
/** GiftProductSkuTaxMode enum. */
|
|
8798
|
-
enum GiftProductSkuTaxMode {
|
|
8799
|
-
GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN = 0,
|
|
8800
|
-
GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE = 1,
|
|
8801
|
-
GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE = 2
|
|
8802
|
-
}
|
|
8803
|
-
}
|
|
8804
|
-
|
|
8805
8794
|
/** Namespace b2b. */
|
|
8806
8795
|
export namespace b2b {
|
|
8807
8796
|
|
|
@@ -9963,6 +9952,9 @@ export namespace b2b {
|
|
|
9963
9952
|
/** Organization ssoEnabled */
|
|
9964
9953
|
ssoEnabled?: (boolean|null);
|
|
9965
9954
|
|
|
9955
|
+
/** Organization mfaEnabled */
|
|
9956
|
+
mfaEnabled?: (boolean|null);
|
|
9957
|
+
|
|
9966
9958
|
/** Organization promoEmailsDisabled */
|
|
9967
9959
|
promoEmailsDisabled?: (boolean|null);
|
|
9968
9960
|
|
|
@@ -10006,6 +9998,9 @@ export namespace b2b {
|
|
|
10006
9998
|
/** Organization ssoEnabled. */
|
|
10007
9999
|
public ssoEnabled: boolean;
|
|
10008
10000
|
|
|
10001
|
+
/** Organization mfaEnabled. */
|
|
10002
|
+
public mfaEnabled: boolean;
|
|
10003
|
+
|
|
10009
10004
|
/** Organization promoEmailsDisabled. */
|
|
10010
10005
|
public promoEmailsDisabled: boolean;
|
|
10011
10006
|
|
|
@@ -13440,6 +13435,109 @@ export class UserMFAEnrollmentInitiated implements IUserMFAEnrollmentInitiated {
|
|
|
13440
13435
|
public toJSON(): { [k: string]: any };
|
|
13441
13436
|
}
|
|
13442
13437
|
|
|
13438
|
+
/** Properties of a UserMFAEnrollmentRemoved. */
|
|
13439
|
+
export interface IUserMFAEnrollmentRemoved {
|
|
13440
|
+
|
|
13441
|
+
/** UserMFAEnrollmentRemoved userId */
|
|
13442
|
+
userId?: (string|null);
|
|
13443
|
+
|
|
13444
|
+
/** UserMFAEnrollmentRemoved enabled */
|
|
13445
|
+
enabled?: (boolean|null);
|
|
13446
|
+
|
|
13447
|
+
/** UserMFAEnrollmentRemoved timestamp */
|
|
13448
|
+
timestamp?: (number|Long|null);
|
|
13449
|
+
}
|
|
13450
|
+
|
|
13451
|
+
/** Represents a UserMFAEnrollmentInitiated. */
|
|
13452
|
+
export class UserMFAEnrollmentRemoved implements IUserMFAEnrollmentRemoved {
|
|
13453
|
+
|
|
13454
|
+
/**
|
|
13455
|
+
* Constructs a new UserMFAEnrollmentRemoved.
|
|
13456
|
+
* @param [properties] Properties to set
|
|
13457
|
+
*/
|
|
13458
|
+
constructor(properties?: IUserMFAEnrollmentRemoved);
|
|
13459
|
+
|
|
13460
|
+
/** UserMFAEnrollmentRemoved userId. */
|
|
13461
|
+
public userId: string;
|
|
13462
|
+
|
|
13463
|
+
/** UserMFAEnrollmentRemoved enabled. */
|
|
13464
|
+
public enabled: boolean;
|
|
13465
|
+
|
|
13466
|
+
/** UserMFAEnrollmentRemoved timestamp. */
|
|
13467
|
+
public timestamp: (number|Long);
|
|
13468
|
+
|
|
13469
|
+
/**
|
|
13470
|
+
* Creates a new UserMFAEnrollmentRemoved instance using the specified properties.
|
|
13471
|
+
* @param [properties] Properties to set
|
|
13472
|
+
* @returns UserMFAEnrollmentRemoved instance
|
|
13473
|
+
*/
|
|
13474
|
+
public static create(properties?: IUserMFAEnrollmentRemoved): UserMFAEnrollmentRemoved;
|
|
13475
|
+
|
|
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
|
|
13479
|
+
* @param [writer] Writer to encode to
|
|
13480
|
+
* @returns Writer
|
|
13481
|
+
*/
|
|
13482
|
+
public static encode(message: IUserMFAEnrollmentRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13483
|
+
|
|
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
|
|
13487
|
+
* @param [writer] Writer to encode to
|
|
13488
|
+
* @returns Writer
|
|
13489
|
+
*/
|
|
13490
|
+
public static encodeDelimited(message: IUserMFAEnrollmentRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13491
|
+
|
|
13492
|
+
/**
|
|
13493
|
+
* Decodes a UserMFAEnrollmentRemoved message from the specified reader or buffer.
|
|
13494
|
+
* @param reader Reader or buffer to decode from
|
|
13495
|
+
* @param [length] Message length if known beforehand
|
|
13496
|
+
* @returns UserMFAEnrollmentRemoved
|
|
13497
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13498
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13499
|
+
*/
|
|
13500
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMFAEnrollmentRemoved;
|
|
13501
|
+
|
|
13502
|
+
/**
|
|
13503
|
+
* Decodes a UserMFAEnrollmentRemoved message from the specified reader or buffer, length delimited.
|
|
13504
|
+
* @param reader Reader or buffer to decode from
|
|
13505
|
+
* @returns UserMFAEnrollmentRemoved
|
|
13506
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13507
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13508
|
+
*/
|
|
13509
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMFAEnrollmentRemoved;
|
|
13510
|
+
|
|
13511
|
+
/**
|
|
13512
|
+
* Verifies a UserMFAEnrollmentRemoved message.
|
|
13513
|
+
* @param message Plain object to verify
|
|
13514
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13515
|
+
*/
|
|
13516
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13517
|
+
|
|
13518
|
+
/**
|
|
13519
|
+
* Creates a UserMFAEnrollmentRemoved message from a plain object. Also converts values to their respective internal types.
|
|
13520
|
+
* @param object Plain object
|
|
13521
|
+
* @returns UserMFAEnrollmentRemoved
|
|
13522
|
+
*/
|
|
13523
|
+
public static fromObject(object: { [k: string]: any }): UserMFAEnrollmentRemoved;
|
|
13524
|
+
|
|
13525
|
+
/**
|
|
13526
|
+
* Creates a plain object from a UserMFAEnrollmentRemoved message. Also converts values to other types if specified.
|
|
13527
|
+
* @param message UserMFAEnrollmentRemoved
|
|
13528
|
+
* @param [options] Conversion options
|
|
13529
|
+
* @returns Plain object
|
|
13530
|
+
*/
|
|
13531
|
+
public static toObject(message: UserMFAEnrollmentRemoved, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13532
|
+
|
|
13533
|
+
/**
|
|
13534
|
+
* Converts this UserMFAEnrollmentRemoved to JSON.
|
|
13535
|
+
* @returns JSON object
|
|
13536
|
+
*/
|
|
13537
|
+
public toJSON(): { [k: string]: any };
|
|
13538
|
+
}
|
|
13539
|
+
|
|
13540
|
+
|
|
13443
13541
|
/** Properties of an Auth0PasswordResetCompleted. */
|
|
13444
13542
|
export interface IAuth0PasswordResetCompleted {
|
|
13445
13543
|
|
|
@@ -32625,12 +32723,6 @@ export interface IGiftRedeemed {
|
|
|
32625
32723
|
|
|
32626
32724
|
/** GiftRedeemed redeemedOn */
|
|
32627
32725
|
redeemedOn?: (number|Long|null);
|
|
32628
|
-
|
|
32629
|
-
/** GiftRedeemed productSkuId */
|
|
32630
|
-
productSkuId?: (string|null);
|
|
32631
|
-
|
|
32632
|
-
/** GiftRedeemed productSkuSlug */
|
|
32633
|
-
productSkuSlug?: (string|null);
|
|
32634
32726
|
}
|
|
32635
32727
|
|
|
32636
32728
|
/** Represents a GiftRedeemed. */
|
|
@@ -32651,12 +32743,6 @@ export class GiftRedeemed implements IGiftRedeemed {
|
|
|
32651
32743
|
/** GiftRedeemed redeemedOn. */
|
|
32652
32744
|
public redeemedOn: (number|Long);
|
|
32653
32745
|
|
|
32654
|
-
/** GiftRedeemed productSkuId. */
|
|
32655
|
-
public productSkuId: string;
|
|
32656
|
-
|
|
32657
|
-
/** GiftRedeemed productSkuSlug. */
|
|
32658
|
-
public productSkuSlug: string;
|
|
32659
|
-
|
|
32660
32746
|
/**
|
|
32661
32747
|
* Creates a new GiftRedeemed instance using the specified properties.
|
|
32662
32748
|
* @param [properties] Properties to set
|
|
@@ -32889,15 +32975,6 @@ export interface IGiftPurchased {
|
|
|
32889
32975
|
|
|
32890
32976
|
/** GiftPurchased giftPurchaseId */
|
|
32891
32977
|
giftPurchaseId?: (string|null);
|
|
32892
|
-
|
|
32893
|
-
/** GiftPurchased productSkuId */
|
|
32894
|
-
productSkuId?: (string|null);
|
|
32895
|
-
|
|
32896
|
-
/** GiftPurchased productSkuSlug */
|
|
32897
|
-
productSkuSlug?: (string|null);
|
|
32898
|
-
|
|
32899
|
-
/** GiftPurchased productSkuTaxMode */
|
|
32900
|
-
productSkuTaxMode?: (gift.GiftProductSkuTaxMode|null);
|
|
32901
32978
|
}
|
|
32902
32979
|
|
|
32903
32980
|
/** Represents a GiftPurchased. */
|
|
@@ -32930,15 +33007,6 @@ export class GiftPurchased implements IGiftPurchased {
|
|
|
32930
33007
|
/** GiftPurchased giftPurchaseId. */
|
|
32931
33008
|
public giftPurchaseId: string;
|
|
32932
33009
|
|
|
32933
|
-
/** GiftPurchased productSkuId. */
|
|
32934
|
-
public productSkuId: string;
|
|
32935
|
-
|
|
32936
|
-
/** GiftPurchased productSkuSlug. */
|
|
32937
|
-
public productSkuSlug: string;
|
|
32938
|
-
|
|
32939
|
-
/** GiftPurchased productSkuTaxMode. */
|
|
32940
|
-
public productSkuTaxMode: gift.GiftProductSkuTaxMode;
|
|
32941
|
-
|
|
32942
33010
|
/**
|
|
32943
33011
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
32944
33012
|
* @param [properties] Properties to set
|
|
@@ -40738,6 +40806,110 @@ export class SubscriptionMemberSubscribed implements ISubscriptionMemberSubscrib
|
|
|
40738
40806
|
public toJSON(): { [k: string]: any };
|
|
40739
40807
|
}
|
|
40740
40808
|
|
|
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
|
+
|
|
40741
40913
|
/** Properties of a SubscriptionMemberRenewed. */
|
|
40742
40914
|
export interface ISubscriptionMemberRenewed {
|
|
40743
40915
|
|
package/lib/index.js
CHANGED
|
@@ -21287,34 +21287,6 @@ $root.productcatalog = (function() {
|
|
|
21287
21287
|
return productcatalog;
|
|
21288
21288
|
})();
|
|
21289
21289
|
|
|
21290
|
-
$root.gift = (function() {
|
|
21291
|
-
|
|
21292
|
-
/**
|
|
21293
|
-
* Namespace gift.
|
|
21294
|
-
* @exports gift
|
|
21295
|
-
* @namespace
|
|
21296
|
-
*/
|
|
21297
|
-
var gift = {};
|
|
21298
|
-
|
|
21299
|
-
/**
|
|
21300
|
-
* GiftProductSkuTaxMode enum.
|
|
21301
|
-
* @name gift.GiftProductSkuTaxMode
|
|
21302
|
-
* @enum {string}
|
|
21303
|
-
* @property {number} GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN=0 GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN value
|
|
21304
|
-
* @property {number} GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE=1 GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE value
|
|
21305
|
-
* @property {number} GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE=2 GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE value
|
|
21306
|
-
*/
|
|
21307
|
-
gift.GiftProductSkuTaxMode = (function() {
|
|
21308
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
21309
|
-
values[valuesById[0] = "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN"] = 0;
|
|
21310
|
-
values[valuesById[1] = "GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE"] = 1;
|
|
21311
|
-
values[valuesById[2] = "GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE"] = 2;
|
|
21312
|
-
return values;
|
|
21313
|
-
})();
|
|
21314
|
-
|
|
21315
|
-
return gift;
|
|
21316
|
-
})();
|
|
21317
|
-
|
|
21318
21290
|
$root.b2b = (function() {
|
|
21319
21291
|
|
|
21320
21292
|
/**
|
|
@@ -33416,6 +33388,252 @@ $root.UserMFAEnrollmentInitiated = (function() {
|
|
|
33416
33388
|
return UserMFAEnrollmentInitiated;
|
|
33417
33389
|
})();
|
|
33418
33390
|
|
|
33391
|
+
$root.UserMFAEnrollmentRemoved = (function() {
|
|
33392
|
+
|
|
33393
|
+
/**
|
|
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
|
|
33400
|
+
*/
|
|
33401
|
+
|
|
33402
|
+
/**
|
|
33403
|
+
* Constructs a new UserMFAEnrollmentRemoved.
|
|
33404
|
+
* @exports UserMFAEnrollmentRemoved
|
|
33405
|
+
* @classdesc Represents a UserMFAEnrollmentRemoved.
|
|
33406
|
+
* @implements IUserMFAEnrollmentRemoved
|
|
33407
|
+
* @constructor
|
|
33408
|
+
* @param {IUserMFAEnrollmentRemoved=} [properties] Properties to set
|
|
33409
|
+
*/
|
|
33410
|
+
function UserMFAEnrollmentRemoved(properties) {
|
|
33411
|
+
if (properties)
|
|
33412
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
33413
|
+
if (properties[keys[i]] != null)
|
|
33414
|
+
this[keys[i]] = properties[keys[i]];
|
|
33415
|
+
}
|
|
33416
|
+
|
|
33417
|
+
/**
|
|
33418
|
+
* UserMFAEnrollmentRemoved userId.
|
|
33419
|
+
* @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
|
|
33429
|
+
* @instance
|
|
33430
|
+
*/
|
|
33431
|
+
UserMFAEnrollmentRemoved.prototype.enabled = false;
|
|
33432
|
+
|
|
33433
|
+
/**
|
|
33434
|
+
* UserMFAEnrollmentRemoved timestamp.
|
|
33435
|
+
* @member {number|Long} timestamp
|
|
33436
|
+
* @memberof UserMFAEnrollmentRemoved
|
|
33437
|
+
* @instance
|
|
33438
|
+
*/
|
|
33439
|
+
UserMFAEnrollmentRemoved.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
33440
|
+
|
|
33441
|
+
/**
|
|
33442
|
+
* Creates a new UserMFAEnrollmentRemoved instance using the specified properties.
|
|
33443
|
+
* @function create
|
|
33444
|
+
* @memberof UserMFAEnrollmentRemoved
|
|
33445
|
+
* @static
|
|
33446
|
+
* @param {IUserMFAEnrollmentRemoved=} [properties] Properties to set
|
|
33447
|
+
* @returns {UserMFAEnrollmentRemoved} UserMFAEnrollmentRemoved instance
|
|
33448
|
+
*/
|
|
33449
|
+
UserMFAEnrollmentRemoved.create = function create(properties) {
|
|
33450
|
+
return new UserMFAEnrollmentRemoved(properties);
|
|
33451
|
+
};
|
|
33452
|
+
|
|
33453
|
+
/**
|
|
33454
|
+
* Encodes the specified UserMFAEnrollmentRemoved message. Does not implicitly {@link UserMFAEnrollmentRemoved.verify|verify} messages.
|
|
33455
|
+
* @function encode
|
|
33456
|
+
* @memberof UserMFAEnrollmentRemoved
|
|
33457
|
+
* @static
|
|
33458
|
+
* @param {IUserMFAEnrollmentRemoved} message UserMFAEnrollmentRemoved message or plain object to encode
|
|
33459
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
33460
|
+
* @returns {$protobuf.Writer} Writer
|
|
33461
|
+
*/
|
|
33462
|
+
UserMFAEnrollmentRemoved.encode = function encode(message, writer) {
|
|
33463
|
+
if (!writer)
|
|
33464
|
+
writer = $Writer.create();
|
|
33465
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
33466
|
+
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
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
33470
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
33471
|
+
return writer;
|
|
33472
|
+
};
|
|
33473
|
+
|
|
33474
|
+
/**
|
|
33475
|
+
* Encodes the specified UserMFAEnrollmentRemoved message, length delimited. Does not implicitly {@link UserMFAEnrollmentRemoved.verify|verify} messages.
|
|
33476
|
+
* @function encodeDelimited
|
|
33477
|
+
* @memberof UserMFAEnrollmentRemoved
|
|
33478
|
+
* @static
|
|
33479
|
+
* @param {IUserMFAEnrollmentRemoved} message UserMFAEnrollmentRemoved message or plain object to encode
|
|
33480
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
33481
|
+
* @returns {$protobuf.Writer} Writer
|
|
33482
|
+
*/
|
|
33483
|
+
UserMFAEnrollmentRemoved.encodeDelimited = function encodeDelimited(message, writer) {
|
|
33484
|
+
return this.encode(message, writer).ldelim();
|
|
33485
|
+
};
|
|
33486
|
+
|
|
33487
|
+
/**
|
|
33488
|
+
* Decodes a UserMFAEnrollmentRemoved message from the specified reader or buffer.
|
|
33489
|
+
* @function decode
|
|
33490
|
+
* @memberof UserMFAEnrollmentRemoved
|
|
33491
|
+
* @static
|
|
33492
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
33493
|
+
* @param {number} [length] Message length if known beforehand
|
|
33494
|
+
* @returns {UserMFAEnrollmentRemoved} UserMFAEnrollmentRemoved
|
|
33495
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33496
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33497
|
+
*/
|
|
33498
|
+
UserMFAEnrollmentRemoved.decode = function decode(reader, length) {
|
|
33499
|
+
if (!(reader instanceof $Reader))
|
|
33500
|
+
reader = $Reader.create(reader);
|
|
33501
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMFAEnrollmentRemoved();
|
|
33502
|
+
while (reader.pos < end) {
|
|
33503
|
+
var tag = reader.uint32();
|
|
33504
|
+
switch (tag >>> 3) {
|
|
33505
|
+
case 1:
|
|
33506
|
+
message.userId = reader.string();
|
|
33507
|
+
break;
|
|
33508
|
+
case 2:
|
|
33509
|
+
message.enabled = reader.bool();
|
|
33510
|
+
break;
|
|
33511
|
+
case 3:
|
|
33512
|
+
message.timestamp = reader.uint64();
|
|
33513
|
+
break;
|
|
33514
|
+
default:
|
|
33515
|
+
reader.skipType(tag & 7);
|
|
33516
|
+
break;
|
|
33517
|
+
}
|
|
33518
|
+
}
|
|
33519
|
+
return message;
|
|
33520
|
+
};
|
|
33521
|
+
|
|
33522
|
+
/**
|
|
33523
|
+
* Decodes a UserMFAEnrollmentRemoved message from the specified reader or buffer, length delimited.
|
|
33524
|
+
* @function decodeDelimited
|
|
33525
|
+
* @memberof UserMFAEnrollmentRemoved
|
|
33526
|
+
* @static
|
|
33527
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
33528
|
+
* @returns {UserMFAEnrollmentRemoved} UserMFAEnrollmentRemoved
|
|
33529
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33530
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33531
|
+
*/
|
|
33532
|
+
UserMFAEnrollmentRemoved.decodeDelimited = function decodeDelimited(reader) {
|
|
33533
|
+
if (!(reader instanceof $Reader))
|
|
33534
|
+
reader = new $Reader(reader);
|
|
33535
|
+
return this.decode(reader, reader.uint32());
|
|
33536
|
+
};
|
|
33537
|
+
|
|
33538
|
+
/**
|
|
33539
|
+
* Verifies a UserMFAEnrollmentRemoved message.
|
|
33540
|
+
* @function verify
|
|
33541
|
+
* @memberof UserMFAEnrollmentRemoved
|
|
33542
|
+
* @static
|
|
33543
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
33544
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
33545
|
+
*/
|
|
33546
|
+
UserMFAEnrollmentRemoved.verify = function verify(message) {
|
|
33547
|
+
if (typeof message !== "object" || message === null)
|
|
33548
|
+
return "object expected";
|
|
33549
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
33550
|
+
if (!$util.isString(message.userId))
|
|
33551
|
+
return "userId: string expected";
|
|
33552
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
33553
|
+
if (typeof message.enabled !== "boolean")
|
|
33554
|
+
return "enabled: boolean expected";
|
|
33555
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
33556
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
33557
|
+
return "timestamp: integer|Long expected";
|
|
33558
|
+
return null;
|
|
33559
|
+
};
|
|
33560
|
+
|
|
33561
|
+
/**
|
|
33562
|
+
* Creates a UserMFAEnrollmentRemoved message from a plain object. Also converts values to their respective internal types.
|
|
33563
|
+
* @function fromObject
|
|
33564
|
+
* @memberof UserMFAEnrollmentRemoved
|
|
33565
|
+
* @static
|
|
33566
|
+
* @param {Object.<string,*>} object Plain object
|
|
33567
|
+
* @returns {UserMFAEnrollmentRemoved} UserMFAEnrollmentRemoved
|
|
33568
|
+
*/
|
|
33569
|
+
UserMFAEnrollmentRemoved.fromObject = function fromObject(object) {
|
|
33570
|
+
if (object instanceof $root.UserMFAEnrollmentRemoved)
|
|
33571
|
+
return object;
|
|
33572
|
+
var message = new $root.UserMFAEnrollmentRemoved();
|
|
33573
|
+
if (object.userId != null)
|
|
33574
|
+
message.userId = String(object.userId);
|
|
33575
|
+
if (object.enabled != null)
|
|
33576
|
+
message.enabled = Boolean(object.enabled);
|
|
33577
|
+
if (object.timestamp != null)
|
|
33578
|
+
if ($util.Long)
|
|
33579
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
33580
|
+
else if (typeof object.timestamp === "string")
|
|
33581
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
33582
|
+
else if (typeof object.timestamp === "number")
|
|
33583
|
+
message.timestamp = object.timestamp;
|
|
33584
|
+
else if (typeof object.timestamp === "object")
|
|
33585
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
33586
|
+
return message;
|
|
33587
|
+
};
|
|
33588
|
+
|
|
33589
|
+
/**
|
|
33590
|
+
* Creates a plain object from a UserMFAEnrollmentRemoved message. Also converts values to other types if specified.
|
|
33591
|
+
* @function toObject
|
|
33592
|
+
* @memberof UserMFAEnrollmentRemoved
|
|
33593
|
+
* @static
|
|
33594
|
+
* @param {UserMFAEnrollmentRemoved} message UserMFAEnrollmentRemoved
|
|
33595
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
33596
|
+
* @returns {Object.<string,*>} Plain object
|
|
33597
|
+
*/
|
|
33598
|
+
UserMFAEnrollmentRemoved.toObject = function toObject(message, options) {
|
|
33599
|
+
if (!options)
|
|
33600
|
+
options = {};
|
|
33601
|
+
var object = {};
|
|
33602
|
+
if (options.defaults) {
|
|
33603
|
+
object.userId = "";
|
|
33604
|
+
object.enabled = false;
|
|
33605
|
+
if ($util.Long) {
|
|
33606
|
+
var long = new $util.Long(0, 0, true);
|
|
33607
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
33608
|
+
} else
|
|
33609
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
33610
|
+
}
|
|
33611
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
33612
|
+
object.userId = message.userId;
|
|
33613
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
33614
|
+
object.enabled = message.enabled;
|
|
33615
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
33616
|
+
if (typeof message.timestamp === "number")
|
|
33617
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
33618
|
+
else
|
|
33619
|
+
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;
|
|
33620
|
+
return object;
|
|
33621
|
+
};
|
|
33622
|
+
|
|
33623
|
+
/**
|
|
33624
|
+
* Converts this UserMFAEnrollmentRemoved to JSON.
|
|
33625
|
+
* @function toJSON
|
|
33626
|
+
* @memberof UserMFAEnrollmentRemoved
|
|
33627
|
+
* @instance
|
|
33628
|
+
* @returns {Object.<string,*>} JSON object
|
|
33629
|
+
*/
|
|
33630
|
+
UserMFAEnrollmentRemoved.prototype.toJSON = function toJSON() {
|
|
33631
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
33632
|
+
};
|
|
33633
|
+
|
|
33634
|
+
return UserMFAEnrollmentRemoved;
|
|
33635
|
+
})();
|
|
33636
|
+
|
|
33419
33637
|
$root.Auth0PasswordResetCompleted = (function() {
|
|
33420
33638
|
|
|
33421
33639
|
/**
|
|
@@ -90855,8 +91073,6 @@ $root.GiftRedeemed = (function() {
|
|
|
90855
91073
|
* @property {string|null} [giftRecipientHsUserId] GiftRedeemed giftRecipientHsUserId
|
|
90856
91074
|
* @property {string|null} [giftPurchaseId] GiftRedeemed giftPurchaseId
|
|
90857
91075
|
* @property {number|Long|null} [redeemedOn] GiftRedeemed redeemedOn
|
|
90858
|
-
* @property {string|null} [productSkuId] GiftRedeemed productSkuId
|
|
90859
|
-
* @property {string|null} [productSkuSlug] GiftRedeemed productSkuSlug
|
|
90860
91076
|
*/
|
|
90861
91077
|
|
|
90862
91078
|
/**
|
|
@@ -90898,22 +91114,6 @@ $root.GiftRedeemed = (function() {
|
|
|
90898
91114
|
*/
|
|
90899
91115
|
GiftRedeemed.prototype.redeemedOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
90900
91116
|
|
|
90901
|
-
/**
|
|
90902
|
-
* GiftRedeemed productSkuId.
|
|
90903
|
-
* @member {string} productSkuId
|
|
90904
|
-
* @memberof GiftRedeemed
|
|
90905
|
-
* @instance
|
|
90906
|
-
*/
|
|
90907
|
-
GiftRedeemed.prototype.productSkuId = "";
|
|
90908
|
-
|
|
90909
|
-
/**
|
|
90910
|
-
* GiftRedeemed productSkuSlug.
|
|
90911
|
-
* @member {string} productSkuSlug
|
|
90912
|
-
* @memberof GiftRedeemed
|
|
90913
|
-
* @instance
|
|
90914
|
-
*/
|
|
90915
|
-
GiftRedeemed.prototype.productSkuSlug = "";
|
|
90916
|
-
|
|
90917
91117
|
/**
|
|
90918
91118
|
* Creates a new GiftRedeemed instance using the specified properties.
|
|
90919
91119
|
* @function create
|
|
@@ -90944,10 +91144,6 @@ $root.GiftRedeemed = (function() {
|
|
|
90944
91144
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.giftPurchaseId);
|
|
90945
91145
|
if (message.redeemedOn != null && message.hasOwnProperty("redeemedOn"))
|
|
90946
91146
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.redeemedOn);
|
|
90947
|
-
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
90948
|
-
writer.uint32(/* id 4, wireType 2 =*/34).string(message.productSkuId);
|
|
90949
|
-
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
90950
|
-
writer.uint32(/* id 5, wireType 2 =*/42).string(message.productSkuSlug);
|
|
90951
91147
|
return writer;
|
|
90952
91148
|
};
|
|
90953
91149
|
|
|
@@ -90991,12 +91187,6 @@ $root.GiftRedeemed = (function() {
|
|
|
90991
91187
|
case 3:
|
|
90992
91188
|
message.redeemedOn = reader.uint64();
|
|
90993
91189
|
break;
|
|
90994
|
-
case 4:
|
|
90995
|
-
message.productSkuId = reader.string();
|
|
90996
|
-
break;
|
|
90997
|
-
case 5:
|
|
90998
|
-
message.productSkuSlug = reader.string();
|
|
90999
|
-
break;
|
|
91000
91190
|
default:
|
|
91001
91191
|
reader.skipType(tag & 7);
|
|
91002
91192
|
break;
|
|
@@ -91041,12 +91231,6 @@ $root.GiftRedeemed = (function() {
|
|
|
91041
91231
|
if (message.redeemedOn != null && message.hasOwnProperty("redeemedOn"))
|
|
91042
91232
|
if (!$util.isInteger(message.redeemedOn) && !(message.redeemedOn && $util.isInteger(message.redeemedOn.low) && $util.isInteger(message.redeemedOn.high)))
|
|
91043
91233
|
return "redeemedOn: integer|Long expected";
|
|
91044
|
-
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91045
|
-
if (!$util.isString(message.productSkuId))
|
|
91046
|
-
return "productSkuId: string expected";
|
|
91047
|
-
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91048
|
-
if (!$util.isString(message.productSkuSlug))
|
|
91049
|
-
return "productSkuSlug: string expected";
|
|
91050
91234
|
return null;
|
|
91051
91235
|
};
|
|
91052
91236
|
|
|
@@ -91075,10 +91259,6 @@ $root.GiftRedeemed = (function() {
|
|
|
91075
91259
|
message.redeemedOn = object.redeemedOn;
|
|
91076
91260
|
else if (typeof object.redeemedOn === "object")
|
|
91077
91261
|
message.redeemedOn = new $util.LongBits(object.redeemedOn.low >>> 0, object.redeemedOn.high >>> 0).toNumber(true);
|
|
91078
|
-
if (object.productSkuId != null)
|
|
91079
|
-
message.productSkuId = String(object.productSkuId);
|
|
91080
|
-
if (object.productSkuSlug != null)
|
|
91081
|
-
message.productSkuSlug = String(object.productSkuSlug);
|
|
91082
91262
|
return message;
|
|
91083
91263
|
};
|
|
91084
91264
|
|
|
@@ -91103,8 +91283,6 @@ $root.GiftRedeemed = (function() {
|
|
|
91103
91283
|
object.redeemedOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
91104
91284
|
} else
|
|
91105
91285
|
object.redeemedOn = options.longs === String ? "0" : 0;
|
|
91106
|
-
object.productSkuId = "";
|
|
91107
|
-
object.productSkuSlug = "";
|
|
91108
91286
|
}
|
|
91109
91287
|
if (message.giftRecipientHsUserId != null && message.hasOwnProperty("giftRecipientHsUserId"))
|
|
91110
91288
|
object.giftRecipientHsUserId = message.giftRecipientHsUserId;
|
|
@@ -91115,10 +91293,6 @@ $root.GiftRedeemed = (function() {
|
|
|
91115
91293
|
object.redeemedOn = options.longs === String ? String(message.redeemedOn) : message.redeemedOn;
|
|
91116
91294
|
else
|
|
91117
91295
|
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;
|
|
91118
|
-
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91119
|
-
object.productSkuId = message.productSkuId;
|
|
91120
|
-
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91121
|
-
object.productSkuSlug = message.productSkuSlug;
|
|
91122
91296
|
return object;
|
|
91123
91297
|
};
|
|
91124
91298
|
|
|
@@ -91527,9 +91701,6 @@ $root.GiftPurchased = (function() {
|
|
|
91527
91701
|
* @property {number|null} [giftNumMonths] GiftPurchased giftNumMonths
|
|
91528
91702
|
* @property {number|Long|null} [purchasedOn] GiftPurchased purchasedOn
|
|
91529
91703
|
* @property {string|null} [giftPurchaseId] GiftPurchased giftPurchaseId
|
|
91530
|
-
* @property {string|null} [productSkuId] GiftPurchased productSkuId
|
|
91531
|
-
* @property {string|null} [productSkuSlug] GiftPurchased productSkuSlug
|
|
91532
|
-
* @property {gift.GiftProductSkuTaxMode|null} [productSkuTaxMode] GiftPurchased productSkuTaxMode
|
|
91533
91704
|
*/
|
|
91534
91705
|
|
|
91535
91706
|
/**
|
|
@@ -91603,30 +91774,6 @@ $root.GiftPurchased = (function() {
|
|
|
91603
91774
|
*/
|
|
91604
91775
|
GiftPurchased.prototype.giftPurchaseId = "";
|
|
91605
91776
|
|
|
91606
|
-
/**
|
|
91607
|
-
* GiftPurchased productSkuId.
|
|
91608
|
-
* @member {string} productSkuId
|
|
91609
|
-
* @memberof GiftPurchased
|
|
91610
|
-
* @instance
|
|
91611
|
-
*/
|
|
91612
|
-
GiftPurchased.prototype.productSkuId = "";
|
|
91613
|
-
|
|
91614
|
-
/**
|
|
91615
|
-
* GiftPurchased productSkuSlug.
|
|
91616
|
-
* @member {string} productSkuSlug
|
|
91617
|
-
* @memberof GiftPurchased
|
|
91618
|
-
* @instance
|
|
91619
|
-
*/
|
|
91620
|
-
GiftPurchased.prototype.productSkuSlug = "";
|
|
91621
|
-
|
|
91622
|
-
/**
|
|
91623
|
-
* GiftPurchased productSkuTaxMode.
|
|
91624
|
-
* @member {gift.GiftProductSkuTaxMode} productSkuTaxMode
|
|
91625
|
-
* @memberof GiftPurchased
|
|
91626
|
-
* @instance
|
|
91627
|
-
*/
|
|
91628
|
-
GiftPurchased.prototype.productSkuTaxMode = 0;
|
|
91629
|
-
|
|
91630
91777
|
/**
|
|
91631
91778
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
91632
91779
|
* @function create
|
|
@@ -91665,12 +91812,6 @@ $root.GiftPurchased = (function() {
|
|
|
91665
91812
|
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.purchasedOn);
|
|
91666
91813
|
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
91667
91814
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.giftPurchaseId);
|
|
91668
|
-
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91669
|
-
writer.uint32(/* id 8, wireType 2 =*/66).string(message.productSkuId);
|
|
91670
|
-
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91671
|
-
writer.uint32(/* id 9, wireType 2 =*/74).string(message.productSkuSlug);
|
|
91672
|
-
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
91673
|
-
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.productSkuTaxMode);
|
|
91674
91815
|
return writer;
|
|
91675
91816
|
};
|
|
91676
91817
|
|
|
@@ -91726,15 +91867,6 @@ $root.GiftPurchased = (function() {
|
|
|
91726
91867
|
case 7:
|
|
91727
91868
|
message.giftPurchaseId = reader.string();
|
|
91728
91869
|
break;
|
|
91729
|
-
case 8:
|
|
91730
|
-
message.productSkuId = reader.string();
|
|
91731
|
-
break;
|
|
91732
|
-
case 9:
|
|
91733
|
-
message.productSkuSlug = reader.string();
|
|
91734
|
-
break;
|
|
91735
|
-
case 10:
|
|
91736
|
-
message.productSkuTaxMode = reader.int32();
|
|
91737
|
-
break;
|
|
91738
91870
|
default:
|
|
91739
91871
|
reader.skipType(tag & 7);
|
|
91740
91872
|
break;
|
|
@@ -91791,21 +91923,6 @@ $root.GiftPurchased = (function() {
|
|
|
91791
91923
|
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
91792
91924
|
if (!$util.isString(message.giftPurchaseId))
|
|
91793
91925
|
return "giftPurchaseId: string expected";
|
|
91794
|
-
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91795
|
-
if (!$util.isString(message.productSkuId))
|
|
91796
|
-
return "productSkuId: string expected";
|
|
91797
|
-
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91798
|
-
if (!$util.isString(message.productSkuSlug))
|
|
91799
|
-
return "productSkuSlug: string expected";
|
|
91800
|
-
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
91801
|
-
switch (message.productSkuTaxMode) {
|
|
91802
|
-
default:
|
|
91803
|
-
return "productSkuTaxMode: enum value expected";
|
|
91804
|
-
case 0:
|
|
91805
|
-
case 1:
|
|
91806
|
-
case 2:
|
|
91807
|
-
break;
|
|
91808
|
-
}
|
|
91809
91926
|
return null;
|
|
91810
91927
|
};
|
|
91811
91928
|
|
|
@@ -91842,24 +91959,6 @@ $root.GiftPurchased = (function() {
|
|
|
91842
91959
|
message.purchasedOn = new $util.LongBits(object.purchasedOn.low >>> 0, object.purchasedOn.high >>> 0).toNumber(true);
|
|
91843
91960
|
if (object.giftPurchaseId != null)
|
|
91844
91961
|
message.giftPurchaseId = String(object.giftPurchaseId);
|
|
91845
|
-
if (object.productSkuId != null)
|
|
91846
|
-
message.productSkuId = String(object.productSkuId);
|
|
91847
|
-
if (object.productSkuSlug != null)
|
|
91848
|
-
message.productSkuSlug = String(object.productSkuSlug);
|
|
91849
|
-
switch (object.productSkuTaxMode) {
|
|
91850
|
-
case "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN":
|
|
91851
|
-
case 0:
|
|
91852
|
-
message.productSkuTaxMode = 0;
|
|
91853
|
-
break;
|
|
91854
|
-
case "GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE":
|
|
91855
|
-
case 1:
|
|
91856
|
-
message.productSkuTaxMode = 1;
|
|
91857
|
-
break;
|
|
91858
|
-
case "GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE":
|
|
91859
|
-
case 2:
|
|
91860
|
-
message.productSkuTaxMode = 2;
|
|
91861
|
-
break;
|
|
91862
|
-
}
|
|
91863
91962
|
return message;
|
|
91864
91963
|
};
|
|
91865
91964
|
|
|
@@ -91888,9 +91987,6 @@ $root.GiftPurchased = (function() {
|
|
|
91888
91987
|
} else
|
|
91889
91988
|
object.purchasedOn = options.longs === String ? "0" : 0;
|
|
91890
91989
|
object.giftPurchaseId = "";
|
|
91891
|
-
object.productSkuId = "";
|
|
91892
|
-
object.productSkuSlug = "";
|
|
91893
|
-
object.productSkuTaxMode = options.enums === String ? "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN" : 0;
|
|
91894
91990
|
}
|
|
91895
91991
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
91896
91992
|
object.hsUserId = message.hsUserId;
|
|
@@ -91909,12 +92005,6 @@ $root.GiftPurchased = (function() {
|
|
|
91909
92005
|
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;
|
|
91910
92006
|
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
91911
92007
|
object.giftPurchaseId = message.giftPurchaseId;
|
|
91912
|
-
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91913
|
-
object.productSkuId = message.productSkuId;
|
|
91914
|
-
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91915
|
-
object.productSkuSlug = message.productSkuSlug;
|
|
91916
|
-
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
91917
|
-
object.productSkuTaxMode = options.enums === String ? $root.gift.GiftProductSkuTaxMode[message.productSkuTaxMode] : message.productSkuTaxMode;
|
|
91918
92008
|
return object;
|
|
91919
92009
|
};
|
|
91920
92010
|
|
|
@@ -116486,6 +116576,255 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
116486
116576
|
return UserDoubleOptInEmailRequested;
|
|
116487
116577
|
})();
|
|
116488
116578
|
|
|
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
|
+
|
|
116489
116828
|
$root.UserEmailUpdated = (function() {
|
|
116490
116829
|
|
|
116491
116830
|
/**
|
package/package.json
CHANGED