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