@headspace/protos-events 1.358.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 +214 -43
- package/lib/index.js +495 -173
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -140,8 +140,7 @@ 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
|
|
144
|
-
THEHARRISCENTER_OKTA_SSO = 19
|
|
143
|
+
GENPACT_OKTA_SSO = 18
|
|
145
144
|
}
|
|
146
145
|
}
|
|
147
146
|
}
|
|
@@ -8792,17 +8791,6 @@ export namespace productcatalog {
|
|
|
8792
8791
|
}
|
|
8793
8792
|
}
|
|
8794
8793
|
|
|
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
|
-
|
|
8806
8794
|
/** Namespace b2b. */
|
|
8807
8795
|
export namespace b2b {
|
|
8808
8796
|
|
|
@@ -9964,6 +9952,9 @@ export namespace b2b {
|
|
|
9964
9952
|
/** Organization ssoEnabled */
|
|
9965
9953
|
ssoEnabled?: (boolean|null);
|
|
9966
9954
|
|
|
9955
|
+
/** Organization mfaEnabled */
|
|
9956
|
+
mfaEnabled?: (boolean|null);
|
|
9957
|
+
|
|
9967
9958
|
/** Organization promoEmailsDisabled */
|
|
9968
9959
|
promoEmailsDisabled?: (boolean|null);
|
|
9969
9960
|
|
|
@@ -10007,6 +9998,9 @@ export namespace b2b {
|
|
|
10007
9998
|
/** Organization ssoEnabled. */
|
|
10008
9999
|
public ssoEnabled: boolean;
|
|
10009
10000
|
|
|
10001
|
+
/** Organization mfaEnabled. */
|
|
10002
|
+
public mfaEnabled: boolean;
|
|
10003
|
+
|
|
10010
10004
|
/** Organization promoEmailsDisabled. */
|
|
10011
10005
|
public promoEmailsDisabled: boolean;
|
|
10012
10006
|
|
|
@@ -13441,6 +13435,109 @@ export class UserMFAEnrollmentInitiated implements IUserMFAEnrollmentInitiated {
|
|
|
13441
13435
|
public toJSON(): { [k: string]: any };
|
|
13442
13436
|
}
|
|
13443
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
|
+
|
|
13444
13541
|
/** Properties of an Auth0PasswordResetCompleted. */
|
|
13445
13542
|
export interface IAuth0PasswordResetCompleted {
|
|
13446
13543
|
|
|
@@ -32626,12 +32723,6 @@ export interface IGiftRedeemed {
|
|
|
32626
32723
|
|
|
32627
32724
|
/** GiftRedeemed redeemedOn */
|
|
32628
32725
|
redeemedOn?: (number|Long|null);
|
|
32629
|
-
|
|
32630
|
-
/** GiftRedeemed productSkuId */
|
|
32631
|
-
productSkuId?: (string|null);
|
|
32632
|
-
|
|
32633
|
-
/** GiftRedeemed productSkuSlug */
|
|
32634
|
-
productSkuSlug?: (string|null);
|
|
32635
32726
|
}
|
|
32636
32727
|
|
|
32637
32728
|
/** Represents a GiftRedeemed. */
|
|
@@ -32652,12 +32743,6 @@ export class GiftRedeemed implements IGiftRedeemed {
|
|
|
32652
32743
|
/** GiftRedeemed redeemedOn. */
|
|
32653
32744
|
public redeemedOn: (number|Long);
|
|
32654
32745
|
|
|
32655
|
-
/** GiftRedeemed productSkuId. */
|
|
32656
|
-
public productSkuId: string;
|
|
32657
|
-
|
|
32658
|
-
/** GiftRedeemed productSkuSlug. */
|
|
32659
|
-
public productSkuSlug: string;
|
|
32660
|
-
|
|
32661
32746
|
/**
|
|
32662
32747
|
* Creates a new GiftRedeemed instance using the specified properties.
|
|
32663
32748
|
* @param [properties] Properties to set
|
|
@@ -32890,15 +32975,6 @@ export interface IGiftPurchased {
|
|
|
32890
32975
|
|
|
32891
32976
|
/** GiftPurchased giftPurchaseId */
|
|
32892
32977
|
giftPurchaseId?: (string|null);
|
|
32893
|
-
|
|
32894
|
-
/** GiftPurchased productSkuId */
|
|
32895
|
-
productSkuId?: (string|null);
|
|
32896
|
-
|
|
32897
|
-
/** GiftPurchased productSkuSlug */
|
|
32898
|
-
productSkuSlug?: (string|null);
|
|
32899
|
-
|
|
32900
|
-
/** GiftPurchased productSkuTaxMode */
|
|
32901
|
-
productSkuTaxMode?: (gift.GiftProductSkuTaxMode|null);
|
|
32902
32978
|
}
|
|
32903
32979
|
|
|
32904
32980
|
/** Represents a GiftPurchased. */
|
|
@@ -32931,15 +33007,6 @@ export class GiftPurchased implements IGiftPurchased {
|
|
|
32931
33007
|
/** GiftPurchased giftPurchaseId. */
|
|
32932
33008
|
public giftPurchaseId: string;
|
|
32933
33009
|
|
|
32934
|
-
/** GiftPurchased productSkuId. */
|
|
32935
|
-
public productSkuId: string;
|
|
32936
|
-
|
|
32937
|
-
/** GiftPurchased productSkuSlug. */
|
|
32938
|
-
public productSkuSlug: string;
|
|
32939
|
-
|
|
32940
|
-
/** GiftPurchased productSkuTaxMode. */
|
|
32941
|
-
public productSkuTaxMode: gift.GiftProductSkuTaxMode;
|
|
32942
|
-
|
|
32943
33010
|
/**
|
|
32944
33011
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
32945
33012
|
* @param [properties] Properties to set
|
|
@@ -40739,6 +40806,110 @@ export class SubscriptionMemberSubscribed implements ISubscriptionMemberSubscrib
|
|
|
40739
40806
|
public toJSON(): { [k: string]: any };
|
|
40740
40807
|
}
|
|
40741
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
|
+
|
|
40742
40913
|
/** Properties of a SubscriptionMemberRenewed. */
|
|
40743
40914
|
export interface ISubscriptionMemberRenewed {
|
|
40744
40915
|
|
package/lib/index.js
CHANGED
|
@@ -311,7 +311,6 @@ $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
|
|
315
314
|
*/
|
|
316
315
|
connections.Connection = (function() {
|
|
317
316
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -334,7 +333,6 @@ $root.auth0 = (function() {
|
|
|
334
333
|
values[valuesById[16] = "OKTA_OKTA_SSO"] = 16;
|
|
335
334
|
values[valuesById[17] = "JUSTWORKS_OKTA_SSO"] = 17;
|
|
336
335
|
values[valuesById[18] = "GENPACT_OKTA_SSO"] = 18;
|
|
337
|
-
values[valuesById[19] = "THEHARRISCENTER_OKTA_SSO"] = 19;
|
|
338
336
|
return values;
|
|
339
337
|
})();
|
|
340
338
|
|
|
@@ -21289,34 +21287,6 @@ $root.productcatalog = (function() {
|
|
|
21289
21287
|
return productcatalog;
|
|
21290
21288
|
})();
|
|
21291
21289
|
|
|
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
|
-
|
|
21320
21290
|
$root.b2b = (function() {
|
|
21321
21291
|
|
|
21322
21292
|
/**
|
|
@@ -32002,7 +31972,6 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
32002
31972
|
case 16:
|
|
32003
31973
|
case 17:
|
|
32004
31974
|
case 18:
|
|
32005
|
-
case 19:
|
|
32006
31975
|
break;
|
|
32007
31976
|
}
|
|
32008
31977
|
return null;
|
|
@@ -32162,10 +32131,6 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
32162
32131
|
case 18:
|
|
32163
32132
|
message.connection = 18;
|
|
32164
32133
|
break;
|
|
32165
|
-
case "THEHARRISCENTER_OKTA_SSO":
|
|
32166
|
-
case 19:
|
|
32167
|
-
message.connection = 19;
|
|
32168
|
-
break;
|
|
32169
32134
|
}
|
|
32170
32135
|
return message;
|
|
32171
32136
|
};
|
|
@@ -32405,7 +32370,6 @@ $root.UnlinkedConnection = (function() {
|
|
|
32405
32370
|
case 16:
|
|
32406
32371
|
case 17:
|
|
32407
32372
|
case 18:
|
|
32408
|
-
case 19:
|
|
32409
32373
|
break;
|
|
32410
32374
|
}
|
|
32411
32375
|
if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
|
|
@@ -32505,10 +32469,6 @@ $root.UnlinkedConnection = (function() {
|
|
|
32505
32469
|
case 18:
|
|
32506
32470
|
message.connection = 18;
|
|
32507
32471
|
break;
|
|
32508
|
-
case "THEHARRISCENTER_OKTA_SSO":
|
|
32509
|
-
case 19:
|
|
32510
|
-
message.connection = 19;
|
|
32511
|
-
break;
|
|
32512
32472
|
}
|
|
32513
32473
|
if (object.unlinkedAt != null)
|
|
32514
32474
|
if ($util.Long)
|
|
@@ -32768,7 +32728,6 @@ $root.ConnectionLinked = (function() {
|
|
|
32768
32728
|
case 16:
|
|
32769
32729
|
case 17:
|
|
32770
32730
|
case 18:
|
|
32771
|
-
case 19:
|
|
32772
32731
|
break;
|
|
32773
32732
|
}
|
|
32774
32733
|
if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
|
|
@@ -32871,10 +32830,6 @@ $root.ConnectionLinked = (function() {
|
|
|
32871
32830
|
case 18:
|
|
32872
32831
|
message.connection = 18;
|
|
32873
32832
|
break;
|
|
32874
|
-
case "THEHARRISCENTER_OKTA_SSO":
|
|
32875
|
-
case 19:
|
|
32876
|
-
message.connection = 19;
|
|
32877
|
-
break;
|
|
32878
32833
|
}
|
|
32879
32834
|
if (object.linkedAt != null)
|
|
32880
32835
|
if ($util.Long)
|
|
@@ -33433,6 +33388,252 @@ $root.UserMFAEnrollmentInitiated = (function() {
|
|
|
33433
33388
|
return UserMFAEnrollmentInitiated;
|
|
33434
33389
|
})();
|
|
33435
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
|
+
|
|
33436
33637
|
$root.Auth0PasswordResetCompleted = (function() {
|
|
33437
33638
|
|
|
33438
33639
|
/**
|
|
@@ -90872,8 +91073,6 @@ $root.GiftRedeemed = (function() {
|
|
|
90872
91073
|
* @property {string|null} [giftRecipientHsUserId] GiftRedeemed giftRecipientHsUserId
|
|
90873
91074
|
* @property {string|null} [giftPurchaseId] GiftRedeemed giftPurchaseId
|
|
90874
91075
|
* @property {number|Long|null} [redeemedOn] GiftRedeemed redeemedOn
|
|
90875
|
-
* @property {string|null} [productSkuId] GiftRedeemed productSkuId
|
|
90876
|
-
* @property {string|null} [productSkuSlug] GiftRedeemed productSkuSlug
|
|
90877
91076
|
*/
|
|
90878
91077
|
|
|
90879
91078
|
/**
|
|
@@ -90915,22 +91114,6 @@ $root.GiftRedeemed = (function() {
|
|
|
90915
91114
|
*/
|
|
90916
91115
|
GiftRedeemed.prototype.redeemedOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
90917
91116
|
|
|
90918
|
-
/**
|
|
90919
|
-
* GiftRedeemed productSkuId.
|
|
90920
|
-
* @member {string} productSkuId
|
|
90921
|
-
* @memberof GiftRedeemed
|
|
90922
|
-
* @instance
|
|
90923
|
-
*/
|
|
90924
|
-
GiftRedeemed.prototype.productSkuId = "";
|
|
90925
|
-
|
|
90926
|
-
/**
|
|
90927
|
-
* GiftRedeemed productSkuSlug.
|
|
90928
|
-
* @member {string} productSkuSlug
|
|
90929
|
-
* @memberof GiftRedeemed
|
|
90930
|
-
* @instance
|
|
90931
|
-
*/
|
|
90932
|
-
GiftRedeemed.prototype.productSkuSlug = "";
|
|
90933
|
-
|
|
90934
91117
|
/**
|
|
90935
91118
|
* Creates a new GiftRedeemed instance using the specified properties.
|
|
90936
91119
|
* @function create
|
|
@@ -90961,10 +91144,6 @@ $root.GiftRedeemed = (function() {
|
|
|
90961
91144
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.giftPurchaseId);
|
|
90962
91145
|
if (message.redeemedOn != null && message.hasOwnProperty("redeemedOn"))
|
|
90963
91146
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.redeemedOn);
|
|
90964
|
-
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
90965
|
-
writer.uint32(/* id 4, wireType 2 =*/34).string(message.productSkuId);
|
|
90966
|
-
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
90967
|
-
writer.uint32(/* id 5, wireType 2 =*/42).string(message.productSkuSlug);
|
|
90968
91147
|
return writer;
|
|
90969
91148
|
};
|
|
90970
91149
|
|
|
@@ -91008,12 +91187,6 @@ $root.GiftRedeemed = (function() {
|
|
|
91008
91187
|
case 3:
|
|
91009
91188
|
message.redeemedOn = reader.uint64();
|
|
91010
91189
|
break;
|
|
91011
|
-
case 4:
|
|
91012
|
-
message.productSkuId = reader.string();
|
|
91013
|
-
break;
|
|
91014
|
-
case 5:
|
|
91015
|
-
message.productSkuSlug = reader.string();
|
|
91016
|
-
break;
|
|
91017
91190
|
default:
|
|
91018
91191
|
reader.skipType(tag & 7);
|
|
91019
91192
|
break;
|
|
@@ -91058,12 +91231,6 @@ $root.GiftRedeemed = (function() {
|
|
|
91058
91231
|
if (message.redeemedOn != null && message.hasOwnProperty("redeemedOn"))
|
|
91059
91232
|
if (!$util.isInteger(message.redeemedOn) && !(message.redeemedOn && $util.isInteger(message.redeemedOn.low) && $util.isInteger(message.redeemedOn.high)))
|
|
91060
91233
|
return "redeemedOn: integer|Long expected";
|
|
91061
|
-
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91062
|
-
if (!$util.isString(message.productSkuId))
|
|
91063
|
-
return "productSkuId: string expected";
|
|
91064
|
-
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91065
|
-
if (!$util.isString(message.productSkuSlug))
|
|
91066
|
-
return "productSkuSlug: string expected";
|
|
91067
91234
|
return null;
|
|
91068
91235
|
};
|
|
91069
91236
|
|
|
@@ -91092,10 +91259,6 @@ $root.GiftRedeemed = (function() {
|
|
|
91092
91259
|
message.redeemedOn = object.redeemedOn;
|
|
91093
91260
|
else if (typeof object.redeemedOn === "object")
|
|
91094
91261
|
message.redeemedOn = new $util.LongBits(object.redeemedOn.low >>> 0, object.redeemedOn.high >>> 0).toNumber(true);
|
|
91095
|
-
if (object.productSkuId != null)
|
|
91096
|
-
message.productSkuId = String(object.productSkuId);
|
|
91097
|
-
if (object.productSkuSlug != null)
|
|
91098
|
-
message.productSkuSlug = String(object.productSkuSlug);
|
|
91099
91262
|
return message;
|
|
91100
91263
|
};
|
|
91101
91264
|
|
|
@@ -91120,8 +91283,6 @@ $root.GiftRedeemed = (function() {
|
|
|
91120
91283
|
object.redeemedOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
91121
91284
|
} else
|
|
91122
91285
|
object.redeemedOn = options.longs === String ? "0" : 0;
|
|
91123
|
-
object.productSkuId = "";
|
|
91124
|
-
object.productSkuSlug = "";
|
|
91125
91286
|
}
|
|
91126
91287
|
if (message.giftRecipientHsUserId != null && message.hasOwnProperty("giftRecipientHsUserId"))
|
|
91127
91288
|
object.giftRecipientHsUserId = message.giftRecipientHsUserId;
|
|
@@ -91132,10 +91293,6 @@ $root.GiftRedeemed = (function() {
|
|
|
91132
91293
|
object.redeemedOn = options.longs === String ? String(message.redeemedOn) : message.redeemedOn;
|
|
91133
91294
|
else
|
|
91134
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;
|
|
91135
|
-
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91136
|
-
object.productSkuId = message.productSkuId;
|
|
91137
|
-
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91138
|
-
object.productSkuSlug = message.productSkuSlug;
|
|
91139
91296
|
return object;
|
|
91140
91297
|
};
|
|
91141
91298
|
|
|
@@ -91544,9 +91701,6 @@ $root.GiftPurchased = (function() {
|
|
|
91544
91701
|
* @property {number|null} [giftNumMonths] GiftPurchased giftNumMonths
|
|
91545
91702
|
* @property {number|Long|null} [purchasedOn] GiftPurchased purchasedOn
|
|
91546
91703
|
* @property {string|null} [giftPurchaseId] GiftPurchased giftPurchaseId
|
|
91547
|
-
* @property {string|null} [productSkuId] GiftPurchased productSkuId
|
|
91548
|
-
* @property {string|null} [productSkuSlug] GiftPurchased productSkuSlug
|
|
91549
|
-
* @property {gift.GiftProductSkuTaxMode|null} [productSkuTaxMode] GiftPurchased productSkuTaxMode
|
|
91550
91704
|
*/
|
|
91551
91705
|
|
|
91552
91706
|
/**
|
|
@@ -91620,30 +91774,6 @@ $root.GiftPurchased = (function() {
|
|
|
91620
91774
|
*/
|
|
91621
91775
|
GiftPurchased.prototype.giftPurchaseId = "";
|
|
91622
91776
|
|
|
91623
|
-
/**
|
|
91624
|
-
* GiftPurchased productSkuId.
|
|
91625
|
-
* @member {string} productSkuId
|
|
91626
|
-
* @memberof GiftPurchased
|
|
91627
|
-
* @instance
|
|
91628
|
-
*/
|
|
91629
|
-
GiftPurchased.prototype.productSkuId = "";
|
|
91630
|
-
|
|
91631
|
-
/**
|
|
91632
|
-
* GiftPurchased productSkuSlug.
|
|
91633
|
-
* @member {string} productSkuSlug
|
|
91634
|
-
* @memberof GiftPurchased
|
|
91635
|
-
* @instance
|
|
91636
|
-
*/
|
|
91637
|
-
GiftPurchased.prototype.productSkuSlug = "";
|
|
91638
|
-
|
|
91639
|
-
/**
|
|
91640
|
-
* GiftPurchased productSkuTaxMode.
|
|
91641
|
-
* @member {gift.GiftProductSkuTaxMode} productSkuTaxMode
|
|
91642
|
-
* @memberof GiftPurchased
|
|
91643
|
-
* @instance
|
|
91644
|
-
*/
|
|
91645
|
-
GiftPurchased.prototype.productSkuTaxMode = 0;
|
|
91646
|
-
|
|
91647
91777
|
/**
|
|
91648
91778
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
91649
91779
|
* @function create
|
|
@@ -91682,12 +91812,6 @@ $root.GiftPurchased = (function() {
|
|
|
91682
91812
|
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.purchasedOn);
|
|
91683
91813
|
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
91684
91814
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.giftPurchaseId);
|
|
91685
|
-
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91686
|
-
writer.uint32(/* id 8, wireType 2 =*/66).string(message.productSkuId);
|
|
91687
|
-
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91688
|
-
writer.uint32(/* id 9, wireType 2 =*/74).string(message.productSkuSlug);
|
|
91689
|
-
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
91690
|
-
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.productSkuTaxMode);
|
|
91691
91815
|
return writer;
|
|
91692
91816
|
};
|
|
91693
91817
|
|
|
@@ -91743,15 +91867,6 @@ $root.GiftPurchased = (function() {
|
|
|
91743
91867
|
case 7:
|
|
91744
91868
|
message.giftPurchaseId = reader.string();
|
|
91745
91869
|
break;
|
|
91746
|
-
case 8:
|
|
91747
|
-
message.productSkuId = reader.string();
|
|
91748
|
-
break;
|
|
91749
|
-
case 9:
|
|
91750
|
-
message.productSkuSlug = reader.string();
|
|
91751
|
-
break;
|
|
91752
|
-
case 10:
|
|
91753
|
-
message.productSkuTaxMode = reader.int32();
|
|
91754
|
-
break;
|
|
91755
91870
|
default:
|
|
91756
91871
|
reader.skipType(tag & 7);
|
|
91757
91872
|
break;
|
|
@@ -91808,21 +91923,6 @@ $root.GiftPurchased = (function() {
|
|
|
91808
91923
|
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
91809
91924
|
if (!$util.isString(message.giftPurchaseId))
|
|
91810
91925
|
return "giftPurchaseId: string expected";
|
|
91811
|
-
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91812
|
-
if (!$util.isString(message.productSkuId))
|
|
91813
|
-
return "productSkuId: string expected";
|
|
91814
|
-
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91815
|
-
if (!$util.isString(message.productSkuSlug))
|
|
91816
|
-
return "productSkuSlug: string expected";
|
|
91817
|
-
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
91818
|
-
switch (message.productSkuTaxMode) {
|
|
91819
|
-
default:
|
|
91820
|
-
return "productSkuTaxMode: enum value expected";
|
|
91821
|
-
case 0:
|
|
91822
|
-
case 1:
|
|
91823
|
-
case 2:
|
|
91824
|
-
break;
|
|
91825
|
-
}
|
|
91826
91926
|
return null;
|
|
91827
91927
|
};
|
|
91828
91928
|
|
|
@@ -91859,24 +91959,6 @@ $root.GiftPurchased = (function() {
|
|
|
91859
91959
|
message.purchasedOn = new $util.LongBits(object.purchasedOn.low >>> 0, object.purchasedOn.high >>> 0).toNumber(true);
|
|
91860
91960
|
if (object.giftPurchaseId != null)
|
|
91861
91961
|
message.giftPurchaseId = String(object.giftPurchaseId);
|
|
91862
|
-
if (object.productSkuId != null)
|
|
91863
|
-
message.productSkuId = String(object.productSkuId);
|
|
91864
|
-
if (object.productSkuSlug != null)
|
|
91865
|
-
message.productSkuSlug = String(object.productSkuSlug);
|
|
91866
|
-
switch (object.productSkuTaxMode) {
|
|
91867
|
-
case "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN":
|
|
91868
|
-
case 0:
|
|
91869
|
-
message.productSkuTaxMode = 0;
|
|
91870
|
-
break;
|
|
91871
|
-
case "GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE":
|
|
91872
|
-
case 1:
|
|
91873
|
-
message.productSkuTaxMode = 1;
|
|
91874
|
-
break;
|
|
91875
|
-
case "GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE":
|
|
91876
|
-
case 2:
|
|
91877
|
-
message.productSkuTaxMode = 2;
|
|
91878
|
-
break;
|
|
91879
|
-
}
|
|
91880
91962
|
return message;
|
|
91881
91963
|
};
|
|
91882
91964
|
|
|
@@ -91905,9 +91987,6 @@ $root.GiftPurchased = (function() {
|
|
|
91905
91987
|
} else
|
|
91906
91988
|
object.purchasedOn = options.longs === String ? "0" : 0;
|
|
91907
91989
|
object.giftPurchaseId = "";
|
|
91908
|
-
object.productSkuId = "";
|
|
91909
|
-
object.productSkuSlug = "";
|
|
91910
|
-
object.productSkuTaxMode = options.enums === String ? "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN" : 0;
|
|
91911
91990
|
}
|
|
91912
91991
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
91913
91992
|
object.hsUserId = message.hsUserId;
|
|
@@ -91926,12 +92005,6 @@ $root.GiftPurchased = (function() {
|
|
|
91926
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;
|
|
91927
92006
|
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
91928
92007
|
object.giftPurchaseId = message.giftPurchaseId;
|
|
91929
|
-
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91930
|
-
object.productSkuId = message.productSkuId;
|
|
91931
|
-
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91932
|
-
object.productSkuSlug = message.productSkuSlug;
|
|
91933
|
-
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
91934
|
-
object.productSkuTaxMode = options.enums === String ? $root.gift.GiftProductSkuTaxMode[message.productSkuTaxMode] : message.productSkuTaxMode;
|
|
91935
92008
|
return object;
|
|
91936
92009
|
};
|
|
91937
92010
|
|
|
@@ -116503,6 +116576,255 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
116503
116576
|
return UserDoubleOptInEmailRequested;
|
|
116504
116577
|
})();
|
|
116505
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
|
+
|
|
116506
116828
|
$root.UserEmailUpdated = (function() {
|
|
116507
116829
|
|
|
116508
116830
|
/**
|
package/package.json
CHANGED