@headspace/protos-events 1.360.0 → 1.363.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 +177 -151
- package/lib/index.js +471 -332
- package/package.json +1 -1
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
|
/**
|
|
@@ -23813,6 +23841,7 @@ $root.b2b = (function() {
|
|
|
23813
23841
|
* @property {b2b.OrgRestrictBy|null} [restrictBy] Organization restrictBy
|
|
23814
23842
|
* @property {string|null} [gingerId] Organization gingerId
|
|
23815
23843
|
* @property {string|null} [headspaceHealthId] Organization headspaceHealthId
|
|
23844
|
+
* @property {boolean|null} [mfaEnabled] Organization mfaEnabled
|
|
23816
23845
|
*/
|
|
23817
23846
|
|
|
23818
23847
|
/**
|
|
@@ -23918,6 +23947,14 @@ $root.b2b = (function() {
|
|
|
23918
23947
|
*/
|
|
23919
23948
|
Organization.prototype.headspaceHealthId = "";
|
|
23920
23949
|
|
|
23950
|
+
/**
|
|
23951
|
+
* Organization mfaEnabled.
|
|
23952
|
+
* @member {boolean} mfaEnabled
|
|
23953
|
+
* @memberof b2b.Organization
|
|
23954
|
+
* @instance
|
|
23955
|
+
*/
|
|
23956
|
+
Organization.prototype.mfaEnabled = false;
|
|
23957
|
+
|
|
23921
23958
|
/**
|
|
23922
23959
|
* Creates a new Organization instance using the specified properties.
|
|
23923
23960
|
* @function create
|
|
@@ -23964,6 +24001,8 @@ $root.b2b = (function() {
|
|
|
23964
24001
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.gingerId);
|
|
23965
24002
|
if (message.headspaceHealthId != null && message.hasOwnProperty("headspaceHealthId"))
|
|
23966
24003
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.headspaceHealthId);
|
|
24004
|
+
if (message.mfaEnabled != null && message.hasOwnProperty("mfaEnabled"))
|
|
24005
|
+
writer.uint32(/* id 12, wireType 0 =*/96).bool(message.mfaEnabled);
|
|
23967
24006
|
return writer;
|
|
23968
24007
|
};
|
|
23969
24008
|
|
|
@@ -24031,6 +24070,9 @@ $root.b2b = (function() {
|
|
|
24031
24070
|
case 11:
|
|
24032
24071
|
message.headspaceHealthId = reader.string();
|
|
24033
24072
|
break;
|
|
24073
|
+
case 12:
|
|
24074
|
+
message.mfaEnabled = reader.bool();
|
|
24075
|
+
break;
|
|
24034
24076
|
default:
|
|
24035
24077
|
reader.skipType(tag & 7);
|
|
24036
24078
|
break;
|
|
@@ -24122,6 +24164,9 @@ $root.b2b = (function() {
|
|
|
24122
24164
|
if (message.headspaceHealthId != null && message.hasOwnProperty("headspaceHealthId"))
|
|
24123
24165
|
if (!$util.isString(message.headspaceHealthId))
|
|
24124
24166
|
return "headspaceHealthId: string expected";
|
|
24167
|
+
if (message.mfaEnabled != null && message.hasOwnProperty("mfaEnabled"))
|
|
24168
|
+
if (typeof message.mfaEnabled !== "boolean")
|
|
24169
|
+
return "mfaEnabled: boolean expected";
|
|
24125
24170
|
return null;
|
|
24126
24171
|
};
|
|
24127
24172
|
|
|
@@ -24227,6 +24272,8 @@ $root.b2b = (function() {
|
|
|
24227
24272
|
message.gingerId = String(object.gingerId);
|
|
24228
24273
|
if (object.headspaceHealthId != null)
|
|
24229
24274
|
message.headspaceHealthId = String(object.headspaceHealthId);
|
|
24275
|
+
if (object.mfaEnabled != null)
|
|
24276
|
+
message.mfaEnabled = Boolean(object.mfaEnabled);
|
|
24230
24277
|
return message;
|
|
24231
24278
|
};
|
|
24232
24279
|
|
|
@@ -24255,6 +24302,7 @@ $root.b2b = (function() {
|
|
|
24255
24302
|
object.restrictBy = options.enums === String ? "ORG_RESTRICT_BY_UNKNOWN" : 0;
|
|
24256
24303
|
object.gingerId = "";
|
|
24257
24304
|
object.headspaceHealthId = "";
|
|
24305
|
+
object.mfaEnabled = false;
|
|
24258
24306
|
}
|
|
24259
24307
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
24260
24308
|
object.orgId = message.orgId;
|
|
@@ -24278,6 +24326,8 @@ $root.b2b = (function() {
|
|
|
24278
24326
|
object.gingerId = message.gingerId;
|
|
24279
24327
|
if (message.headspaceHealthId != null && message.hasOwnProperty("headspaceHealthId"))
|
|
24280
24328
|
object.headspaceHealthId = message.headspaceHealthId;
|
|
24329
|
+
if (message.mfaEnabled != null && message.hasOwnProperty("mfaEnabled"))
|
|
24330
|
+
object.mfaEnabled = message.mfaEnabled;
|
|
24281
24331
|
return object;
|
|
24282
24332
|
};
|
|
24283
24333
|
|
|
@@ -31974,6 +32024,7 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
31974
32024
|
case 16:
|
|
31975
32025
|
case 17:
|
|
31976
32026
|
case 18:
|
|
32027
|
+
case 19:
|
|
31977
32028
|
break;
|
|
31978
32029
|
}
|
|
31979
32030
|
return null;
|
|
@@ -32376,6 +32427,7 @@ $root.UnlinkedConnection = (function() {
|
|
|
32376
32427
|
case 16:
|
|
32377
32428
|
case 17:
|
|
32378
32429
|
case 18:
|
|
32430
|
+
case 19:
|
|
32379
32431
|
break;
|
|
32380
32432
|
}
|
|
32381
32433
|
if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
|
|
@@ -32738,6 +32790,7 @@ $root.ConnectionLinked = (function() {
|
|
|
32738
32790
|
case 16:
|
|
32739
32791
|
case 17:
|
|
32740
32792
|
case 18:
|
|
32793
|
+
case 19:
|
|
32741
32794
|
break;
|
|
32742
32795
|
}
|
|
32743
32796
|
if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
|
|
@@ -32843,7 +32896,7 @@ $root.ConnectionLinked = (function() {
|
|
|
32843
32896
|
case "THEHARRISCENTER_OKTA_SSO":
|
|
32844
32897
|
case 19:
|
|
32845
32898
|
message.connection = 19;
|
|
32846
|
-
break;
|
|
32899
|
+
break;
|
|
32847
32900
|
}
|
|
32848
32901
|
if (object.linkedAt != null)
|
|
32849
32902
|
if ($util.Long)
|
|
@@ -33402,26 +33455,25 @@ $root.UserMFAEnrollmentInitiated = (function() {
|
|
|
33402
33455
|
return UserMFAEnrollmentInitiated;
|
|
33403
33456
|
})();
|
|
33404
33457
|
|
|
33405
|
-
$root.
|
|
33458
|
+
$root.UserMFAEnrollmentDisabled = (function() {
|
|
33406
33459
|
|
|
33407
33460
|
/**
|
|
33408
|
-
* Properties of a
|
|
33409
|
-
* @exports
|
|
33410
|
-
* @interface
|
|
33411
|
-
* @property {string|null} [userId]
|
|
33412
|
-
* @property {
|
|
33413
|
-
* @property {number|Long|null} [timestamp] UserMFAEnrollmentRemoved timestamp
|
|
33461
|
+
* Properties of a UserMFAEnrollmentDisabled.
|
|
33462
|
+
* @exports IUserMFAEnrollmentDisabled
|
|
33463
|
+
* @interface IUserMFAEnrollmentDisabled
|
|
33464
|
+
* @property {string|null} [userId] UserMFAEnrollmentDisabled userId
|
|
33465
|
+
* @property {number|Long|null} [timestamp] UserMFAEnrollmentDisabled timestamp
|
|
33414
33466
|
*/
|
|
33415
33467
|
|
|
33416
33468
|
/**
|
|
33417
|
-
* Constructs a new
|
|
33418
|
-
* @exports
|
|
33419
|
-
* @classdesc Represents a
|
|
33420
|
-
* @implements
|
|
33469
|
+
* Constructs a new UserMFAEnrollmentDisabled.
|
|
33470
|
+
* @exports UserMFAEnrollmentDisabled
|
|
33471
|
+
* @classdesc Represents a UserMFAEnrollmentDisabled.
|
|
33472
|
+
* @implements IUserMFAEnrollmentDisabled
|
|
33421
33473
|
* @constructor
|
|
33422
|
-
* @param {
|
|
33474
|
+
* @param {IUserMFAEnrollmentDisabled=} [properties] Properties to set
|
|
33423
33475
|
*/
|
|
33424
|
-
function
|
|
33476
|
+
function UserMFAEnrollmentDisabled(properties) {
|
|
33425
33477
|
if (properties)
|
|
33426
33478
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
33427
33479
|
if (properties[keys[i]] != null)
|
|
@@ -33429,90 +33481,80 @@ $root.UserMFAEnrollmentRemoved = (function() {
|
|
|
33429
33481
|
}
|
|
33430
33482
|
|
|
33431
33483
|
/**
|
|
33432
|
-
*
|
|
33484
|
+
* UserMFAEnrollmentDisabled userId.
|
|
33433
33485
|
* @member {string} userId
|
|
33434
|
-
* @memberof
|
|
33435
|
-
* @instance
|
|
33436
|
-
*/
|
|
33437
|
-
UserMFAEnrollmentRemoved.prototype.userId = "";
|
|
33438
|
-
|
|
33439
|
-
/**
|
|
33440
|
-
* UserMFAEnrollmentRemoved enabled.
|
|
33441
|
-
* @member {boolean} enabled
|
|
33442
|
-
* @memberof UserMFAEnrollmentRemoved
|
|
33486
|
+
* @memberof UserMFAEnrollmentDisabled
|
|
33443
33487
|
* @instance
|
|
33444
33488
|
*/
|
|
33445
|
-
|
|
33489
|
+
UserMFAEnrollmentDisabled.prototype.userId = "";
|
|
33446
33490
|
|
|
33447
33491
|
/**
|
|
33448
|
-
*
|
|
33492
|
+
* UserMFAEnrollmentDisabled timestamp.
|
|
33449
33493
|
* @member {number|Long} timestamp
|
|
33450
|
-
* @memberof
|
|
33494
|
+
* @memberof UserMFAEnrollmentDisabled
|
|
33451
33495
|
* @instance
|
|
33452
33496
|
*/
|
|
33453
|
-
|
|
33497
|
+
UserMFAEnrollmentDisabled.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
33454
33498
|
|
|
33455
33499
|
/**
|
|
33456
|
-
* Creates a new
|
|
33500
|
+
* Creates a new UserMFAEnrollmentDisabled instance using the specified properties.
|
|
33457
33501
|
* @function create
|
|
33458
|
-
* @memberof
|
|
33502
|
+
* @memberof UserMFAEnrollmentDisabled
|
|
33459
33503
|
* @static
|
|
33460
|
-
* @param {
|
|
33461
|
-
* @returns {
|
|
33504
|
+
* @param {IUserMFAEnrollmentDisabled=} [properties] Properties to set
|
|
33505
|
+
* @returns {UserMFAEnrollmentDisabled} UserMFAEnrollmentDisabled instance
|
|
33462
33506
|
*/
|
|
33463
|
-
|
|
33464
|
-
return new
|
|
33507
|
+
UserMFAEnrollmentDisabled.create = function create(properties) {
|
|
33508
|
+
return new UserMFAEnrollmentDisabled(properties);
|
|
33465
33509
|
};
|
|
33466
33510
|
|
|
33467
33511
|
/**
|
|
33468
|
-
* Encodes the specified
|
|
33512
|
+
* Encodes the specified UserMFAEnrollmentDisabled message. Does not implicitly {@link UserMFAEnrollmentDisabled.verify|verify} messages.
|
|
33469
33513
|
* @function encode
|
|
33470
|
-
* @memberof
|
|
33514
|
+
* @memberof UserMFAEnrollmentDisabled
|
|
33471
33515
|
* @static
|
|
33472
|
-
* @param {
|
|
33516
|
+
* @param {IUserMFAEnrollmentDisabled} message UserMFAEnrollmentDisabled message or plain object to encode
|
|
33473
33517
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
33474
33518
|
* @returns {$protobuf.Writer} Writer
|
|
33475
33519
|
*/
|
|
33476
|
-
|
|
33520
|
+
UserMFAEnrollmentDisabled.encode = function encode(message, writer) {
|
|
33477
33521
|
if (!writer)
|
|
33478
33522
|
writer = $Writer.create();
|
|
33479
33523
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
33480
33524
|
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
33525
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
33484
|
-
writer.uint32(/* id
|
|
33526
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
33485
33527
|
return writer;
|
|
33486
33528
|
};
|
|
33487
33529
|
|
|
33488
33530
|
/**
|
|
33489
|
-
* Encodes the specified
|
|
33531
|
+
* Encodes the specified UserMFAEnrollmentDisabled message, length delimited. Does not implicitly {@link UserMFAEnrollmentDisabled.verify|verify} messages.
|
|
33490
33532
|
* @function encodeDelimited
|
|
33491
|
-
* @memberof
|
|
33533
|
+
* @memberof UserMFAEnrollmentDisabled
|
|
33492
33534
|
* @static
|
|
33493
|
-
* @param {
|
|
33535
|
+
* @param {IUserMFAEnrollmentDisabled} message UserMFAEnrollmentDisabled message or plain object to encode
|
|
33494
33536
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
33495
33537
|
* @returns {$protobuf.Writer} Writer
|
|
33496
33538
|
*/
|
|
33497
|
-
|
|
33539
|
+
UserMFAEnrollmentDisabled.encodeDelimited = function encodeDelimited(message, writer) {
|
|
33498
33540
|
return this.encode(message, writer).ldelim();
|
|
33499
33541
|
};
|
|
33500
33542
|
|
|
33501
33543
|
/**
|
|
33502
|
-
* Decodes a
|
|
33544
|
+
* Decodes a UserMFAEnrollmentDisabled message from the specified reader or buffer.
|
|
33503
33545
|
* @function decode
|
|
33504
|
-
* @memberof
|
|
33546
|
+
* @memberof UserMFAEnrollmentDisabled
|
|
33505
33547
|
* @static
|
|
33506
33548
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
33507
33549
|
* @param {number} [length] Message length if known beforehand
|
|
33508
|
-
* @returns {
|
|
33550
|
+
* @returns {UserMFAEnrollmentDisabled} UserMFAEnrollmentDisabled
|
|
33509
33551
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33510
33552
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33511
33553
|
*/
|
|
33512
|
-
|
|
33554
|
+
UserMFAEnrollmentDisabled.decode = function decode(reader, length) {
|
|
33513
33555
|
if (!(reader instanceof $Reader))
|
|
33514
33556
|
reader = $Reader.create(reader);
|
|
33515
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
33557
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMFAEnrollmentDisabled();
|
|
33516
33558
|
while (reader.pos < end) {
|
|
33517
33559
|
var tag = reader.uint32();
|
|
33518
33560
|
switch (tag >>> 3) {
|
|
@@ -33520,9 +33562,6 @@ $root.UserMFAEnrollmentRemoved = (function() {
|
|
|
33520
33562
|
message.userId = reader.string();
|
|
33521
33563
|
break;
|
|
33522
33564
|
case 2:
|
|
33523
|
-
message.enabled = reader.bool();
|
|
33524
|
-
break;
|
|
33525
|
-
case 3:
|
|
33526
33565
|
message.timestamp = reader.uint64();
|
|
33527
33566
|
break;
|
|
33528
33567
|
default:
|
|
@@ -33534,38 +33573,35 @@ $root.UserMFAEnrollmentRemoved = (function() {
|
|
|
33534
33573
|
};
|
|
33535
33574
|
|
|
33536
33575
|
/**
|
|
33537
|
-
* Decodes a
|
|
33576
|
+
* Decodes a UserMFAEnrollmentDisabled message from the specified reader or buffer, length delimited.
|
|
33538
33577
|
* @function decodeDelimited
|
|
33539
|
-
* @memberof
|
|
33578
|
+
* @memberof UserMFAEnrollmentDisabled
|
|
33540
33579
|
* @static
|
|
33541
33580
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
33542
|
-
* @returns {
|
|
33581
|
+
* @returns {UserMFAEnrollmentDisabled} UserMFAEnrollmentDisabled
|
|
33543
33582
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33544
33583
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33545
33584
|
*/
|
|
33546
|
-
|
|
33585
|
+
UserMFAEnrollmentDisabled.decodeDelimited = function decodeDelimited(reader) {
|
|
33547
33586
|
if (!(reader instanceof $Reader))
|
|
33548
33587
|
reader = new $Reader(reader);
|
|
33549
33588
|
return this.decode(reader, reader.uint32());
|
|
33550
33589
|
};
|
|
33551
33590
|
|
|
33552
33591
|
/**
|
|
33553
|
-
* Verifies a
|
|
33592
|
+
* Verifies a UserMFAEnrollmentDisabled message.
|
|
33554
33593
|
* @function verify
|
|
33555
|
-
* @memberof
|
|
33594
|
+
* @memberof UserMFAEnrollmentDisabled
|
|
33556
33595
|
* @static
|
|
33557
33596
|
* @param {Object.<string,*>} message Plain object to verify
|
|
33558
33597
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
33559
33598
|
*/
|
|
33560
|
-
|
|
33599
|
+
UserMFAEnrollmentDisabled.verify = function verify(message) {
|
|
33561
33600
|
if (typeof message !== "object" || message === null)
|
|
33562
33601
|
return "object expected";
|
|
33563
33602
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
33564
33603
|
if (!$util.isString(message.userId))
|
|
33565
33604
|
return "userId: string expected";
|
|
33566
|
-
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
33567
|
-
if (typeof message.enabled !== "boolean")
|
|
33568
|
-
return "enabled: boolean expected";
|
|
33569
33605
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
33570
33606
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
33571
33607
|
return "timestamp: integer|Long expected";
|
|
@@ -33573,21 +33609,19 @@ $root.UserMFAEnrollmentRemoved = (function() {
|
|
|
33573
33609
|
};
|
|
33574
33610
|
|
|
33575
33611
|
/**
|
|
33576
|
-
* Creates a
|
|
33612
|
+
* Creates a UserMFAEnrollmentDisabled message from a plain object. Also converts values to their respective internal types.
|
|
33577
33613
|
* @function fromObject
|
|
33578
|
-
* @memberof
|
|
33614
|
+
* @memberof UserMFAEnrollmentDisabled
|
|
33579
33615
|
* @static
|
|
33580
33616
|
* @param {Object.<string,*>} object Plain object
|
|
33581
|
-
* @returns {
|
|
33617
|
+
* @returns {UserMFAEnrollmentDisabled} UserMFAEnrollmentDisabled
|
|
33582
33618
|
*/
|
|
33583
|
-
|
|
33584
|
-
if (object instanceof $root.
|
|
33619
|
+
UserMFAEnrollmentDisabled.fromObject = function fromObject(object) {
|
|
33620
|
+
if (object instanceof $root.UserMFAEnrollmentDisabled)
|
|
33585
33621
|
return object;
|
|
33586
|
-
var message = new $root.
|
|
33622
|
+
var message = new $root.UserMFAEnrollmentDisabled();
|
|
33587
33623
|
if (object.userId != null)
|
|
33588
33624
|
message.userId = String(object.userId);
|
|
33589
|
-
if (object.enabled != null)
|
|
33590
|
-
message.enabled = Boolean(object.enabled);
|
|
33591
33625
|
if (object.timestamp != null)
|
|
33592
33626
|
if ($util.Long)
|
|
33593
33627
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -33601,21 +33635,20 @@ $root.UserMFAEnrollmentRemoved = (function() {
|
|
|
33601
33635
|
};
|
|
33602
33636
|
|
|
33603
33637
|
/**
|
|
33604
|
-
* Creates a plain object from a
|
|
33638
|
+
* Creates a plain object from a UserMFAEnrollmentDisabled message. Also converts values to other types if specified.
|
|
33605
33639
|
* @function toObject
|
|
33606
|
-
* @memberof
|
|
33640
|
+
* @memberof UserMFAEnrollmentDisabled
|
|
33607
33641
|
* @static
|
|
33608
|
-
* @param {
|
|
33642
|
+
* @param {UserMFAEnrollmentDisabled} message UserMFAEnrollmentDisabled
|
|
33609
33643
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
33610
33644
|
* @returns {Object.<string,*>} Plain object
|
|
33611
33645
|
*/
|
|
33612
|
-
|
|
33646
|
+
UserMFAEnrollmentDisabled.toObject = function toObject(message, options) {
|
|
33613
33647
|
if (!options)
|
|
33614
33648
|
options = {};
|
|
33615
33649
|
var object = {};
|
|
33616
33650
|
if (options.defaults) {
|
|
33617
33651
|
object.userId = "";
|
|
33618
|
-
object.enabled = false;
|
|
33619
33652
|
if ($util.Long) {
|
|
33620
33653
|
var long = new $util.Long(0, 0, true);
|
|
33621
33654
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -33624,8 +33657,6 @@ $root.UserMFAEnrollmentRemoved = (function() {
|
|
|
33624
33657
|
}
|
|
33625
33658
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
33626
33659
|
object.userId = message.userId;
|
|
33627
|
-
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
33628
|
-
object.enabled = message.enabled;
|
|
33629
33660
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
33630
33661
|
if (typeof message.timestamp === "number")
|
|
33631
33662
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
@@ -33635,17 +33666,17 @@ $root.UserMFAEnrollmentRemoved = (function() {
|
|
|
33635
33666
|
};
|
|
33636
33667
|
|
|
33637
33668
|
/**
|
|
33638
|
-
* Converts this
|
|
33669
|
+
* Converts this UserMFAEnrollmentDisabled to JSON.
|
|
33639
33670
|
* @function toJSON
|
|
33640
|
-
* @memberof
|
|
33671
|
+
* @memberof UserMFAEnrollmentDisabled
|
|
33641
33672
|
* @instance
|
|
33642
33673
|
* @returns {Object.<string,*>} JSON object
|
|
33643
33674
|
*/
|
|
33644
|
-
|
|
33675
|
+
UserMFAEnrollmentDisabled.prototype.toJSON = function toJSON() {
|
|
33645
33676
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
33646
33677
|
};
|
|
33647
33678
|
|
|
33648
|
-
return
|
|
33679
|
+
return UserMFAEnrollmentDisabled;
|
|
33649
33680
|
})();
|
|
33650
33681
|
|
|
33651
33682
|
$root.Auth0PasswordResetCompleted = (function() {
|
|
@@ -83456,6 +83487,235 @@ $root.OrganizationUpdated = (function() {
|
|
|
83456
83487
|
return OrganizationUpdated;
|
|
83457
83488
|
})();
|
|
83458
83489
|
|
|
83490
|
+
$root.OrganizationMFAUpdated = (function() {
|
|
83491
|
+
|
|
83492
|
+
/**
|
|
83493
|
+
* Properties of an OrganizationMFAUpdated.
|
|
83494
|
+
* @exports IOrganizationMFAUpdated
|
|
83495
|
+
* @interface IOrganizationMFAUpdated
|
|
83496
|
+
* @property {number|Long|null} [timestamp] OrganizationMFAUpdated timestamp
|
|
83497
|
+
* @property {b2b.IOrganization|null} [organization] OrganizationMFAUpdated organization
|
|
83498
|
+
*/
|
|
83499
|
+
|
|
83500
|
+
/**
|
|
83501
|
+
* Constructs a new OrganizationMFAUpdated.
|
|
83502
|
+
* @exports OrganizationMFAUpdated
|
|
83503
|
+
* @classdesc Represents an OrganizationMFAUpdated.
|
|
83504
|
+
* @implements IOrganizationMFAUpdated
|
|
83505
|
+
* @constructor
|
|
83506
|
+
* @param {IOrganizationMFAUpdated=} [properties] Properties to set
|
|
83507
|
+
*/
|
|
83508
|
+
function OrganizationMFAUpdated(properties) {
|
|
83509
|
+
if (properties)
|
|
83510
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
83511
|
+
if (properties[keys[i]] != null)
|
|
83512
|
+
this[keys[i]] = properties[keys[i]];
|
|
83513
|
+
}
|
|
83514
|
+
|
|
83515
|
+
/**
|
|
83516
|
+
* OrganizationMFAUpdated timestamp.
|
|
83517
|
+
* @member {number|Long} timestamp
|
|
83518
|
+
* @memberof OrganizationMFAUpdated
|
|
83519
|
+
* @instance
|
|
83520
|
+
*/
|
|
83521
|
+
OrganizationMFAUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
83522
|
+
|
|
83523
|
+
/**
|
|
83524
|
+
* OrganizationMFAUpdated organization.
|
|
83525
|
+
* @member {b2b.IOrganization|null|undefined} organization
|
|
83526
|
+
* @memberof OrganizationMFAUpdated
|
|
83527
|
+
* @instance
|
|
83528
|
+
*/
|
|
83529
|
+
OrganizationMFAUpdated.prototype.organization = null;
|
|
83530
|
+
|
|
83531
|
+
/**
|
|
83532
|
+
* Creates a new OrganizationMFAUpdated instance using the specified properties.
|
|
83533
|
+
* @function create
|
|
83534
|
+
* @memberof OrganizationMFAUpdated
|
|
83535
|
+
* @static
|
|
83536
|
+
* @param {IOrganizationMFAUpdated=} [properties] Properties to set
|
|
83537
|
+
* @returns {OrganizationMFAUpdated} OrganizationMFAUpdated instance
|
|
83538
|
+
*/
|
|
83539
|
+
OrganizationMFAUpdated.create = function create(properties) {
|
|
83540
|
+
return new OrganizationMFAUpdated(properties);
|
|
83541
|
+
};
|
|
83542
|
+
|
|
83543
|
+
/**
|
|
83544
|
+
* Encodes the specified OrganizationMFAUpdated message. Does not implicitly {@link OrganizationMFAUpdated.verify|verify} messages.
|
|
83545
|
+
* @function encode
|
|
83546
|
+
* @memberof OrganizationMFAUpdated
|
|
83547
|
+
* @static
|
|
83548
|
+
* @param {IOrganizationMFAUpdated} message OrganizationMFAUpdated message or plain object to encode
|
|
83549
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
83550
|
+
* @returns {$protobuf.Writer} Writer
|
|
83551
|
+
*/
|
|
83552
|
+
OrganizationMFAUpdated.encode = function encode(message, writer) {
|
|
83553
|
+
if (!writer)
|
|
83554
|
+
writer = $Writer.create();
|
|
83555
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83556
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
|
|
83557
|
+
if (message.organization != null && message.hasOwnProperty("organization"))
|
|
83558
|
+
$root.b2b.Organization.encode(message.organization, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
83559
|
+
return writer;
|
|
83560
|
+
};
|
|
83561
|
+
|
|
83562
|
+
/**
|
|
83563
|
+
* Encodes the specified OrganizationMFAUpdated message, length delimited. Does not implicitly {@link OrganizationMFAUpdated.verify|verify} messages.
|
|
83564
|
+
* @function encodeDelimited
|
|
83565
|
+
* @memberof OrganizationMFAUpdated
|
|
83566
|
+
* @static
|
|
83567
|
+
* @param {IOrganizationMFAUpdated} message OrganizationMFAUpdated message or plain object to encode
|
|
83568
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
83569
|
+
* @returns {$protobuf.Writer} Writer
|
|
83570
|
+
*/
|
|
83571
|
+
OrganizationMFAUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
83572
|
+
return this.encode(message, writer).ldelim();
|
|
83573
|
+
};
|
|
83574
|
+
|
|
83575
|
+
/**
|
|
83576
|
+
* Decodes an OrganizationMFAUpdated message from the specified reader or buffer.
|
|
83577
|
+
* @function decode
|
|
83578
|
+
* @memberof OrganizationMFAUpdated
|
|
83579
|
+
* @static
|
|
83580
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
83581
|
+
* @param {number} [length] Message length if known beforehand
|
|
83582
|
+
* @returns {OrganizationMFAUpdated} OrganizationMFAUpdated
|
|
83583
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
83584
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
83585
|
+
*/
|
|
83586
|
+
OrganizationMFAUpdated.decode = function decode(reader, length) {
|
|
83587
|
+
if (!(reader instanceof $Reader))
|
|
83588
|
+
reader = $Reader.create(reader);
|
|
83589
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrganizationMFAUpdated();
|
|
83590
|
+
while (reader.pos < end) {
|
|
83591
|
+
var tag = reader.uint32();
|
|
83592
|
+
switch (tag >>> 3) {
|
|
83593
|
+
case 1:
|
|
83594
|
+
message.timestamp = reader.uint64();
|
|
83595
|
+
break;
|
|
83596
|
+
case 2:
|
|
83597
|
+
message.organization = $root.b2b.Organization.decode(reader, reader.uint32());
|
|
83598
|
+
break;
|
|
83599
|
+
default:
|
|
83600
|
+
reader.skipType(tag & 7);
|
|
83601
|
+
break;
|
|
83602
|
+
}
|
|
83603
|
+
}
|
|
83604
|
+
return message;
|
|
83605
|
+
};
|
|
83606
|
+
|
|
83607
|
+
/**
|
|
83608
|
+
* Decodes an OrganizationMFAUpdated message from the specified reader or buffer, length delimited.
|
|
83609
|
+
* @function decodeDelimited
|
|
83610
|
+
* @memberof OrganizationMFAUpdated
|
|
83611
|
+
* @static
|
|
83612
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
83613
|
+
* @returns {OrganizationMFAUpdated} OrganizationMFAUpdated
|
|
83614
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
83615
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
83616
|
+
*/
|
|
83617
|
+
OrganizationMFAUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
83618
|
+
if (!(reader instanceof $Reader))
|
|
83619
|
+
reader = new $Reader(reader);
|
|
83620
|
+
return this.decode(reader, reader.uint32());
|
|
83621
|
+
};
|
|
83622
|
+
|
|
83623
|
+
/**
|
|
83624
|
+
* Verifies an OrganizationMFAUpdated message.
|
|
83625
|
+
* @function verify
|
|
83626
|
+
* @memberof OrganizationMFAUpdated
|
|
83627
|
+
* @static
|
|
83628
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
83629
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
83630
|
+
*/
|
|
83631
|
+
OrganizationMFAUpdated.verify = function verify(message) {
|
|
83632
|
+
if (typeof message !== "object" || message === null)
|
|
83633
|
+
return "object expected";
|
|
83634
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83635
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
83636
|
+
return "timestamp: integer|Long expected";
|
|
83637
|
+
if (message.organization != null && message.hasOwnProperty("organization")) {
|
|
83638
|
+
var error = $root.b2b.Organization.verify(message.organization);
|
|
83639
|
+
if (error)
|
|
83640
|
+
return "organization." + error;
|
|
83641
|
+
}
|
|
83642
|
+
return null;
|
|
83643
|
+
};
|
|
83644
|
+
|
|
83645
|
+
/**
|
|
83646
|
+
* Creates an OrganizationMFAUpdated message from a plain object. Also converts values to their respective internal types.
|
|
83647
|
+
* @function fromObject
|
|
83648
|
+
* @memberof OrganizationMFAUpdated
|
|
83649
|
+
* @static
|
|
83650
|
+
* @param {Object.<string,*>} object Plain object
|
|
83651
|
+
* @returns {OrganizationMFAUpdated} OrganizationMFAUpdated
|
|
83652
|
+
*/
|
|
83653
|
+
OrganizationMFAUpdated.fromObject = function fromObject(object) {
|
|
83654
|
+
if (object instanceof $root.OrganizationMFAUpdated)
|
|
83655
|
+
return object;
|
|
83656
|
+
var message = new $root.OrganizationMFAUpdated();
|
|
83657
|
+
if (object.timestamp != null)
|
|
83658
|
+
if ($util.Long)
|
|
83659
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
83660
|
+
else if (typeof object.timestamp === "string")
|
|
83661
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
83662
|
+
else if (typeof object.timestamp === "number")
|
|
83663
|
+
message.timestamp = object.timestamp;
|
|
83664
|
+
else if (typeof object.timestamp === "object")
|
|
83665
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
83666
|
+
if (object.organization != null) {
|
|
83667
|
+
if (typeof object.organization !== "object")
|
|
83668
|
+
throw TypeError(".OrganizationMFAUpdated.organization: object expected");
|
|
83669
|
+
message.organization = $root.b2b.Organization.fromObject(object.organization);
|
|
83670
|
+
}
|
|
83671
|
+
return message;
|
|
83672
|
+
};
|
|
83673
|
+
|
|
83674
|
+
/**
|
|
83675
|
+
* Creates a plain object from an OrganizationMFAUpdated message. Also converts values to other types if specified.
|
|
83676
|
+
* @function toObject
|
|
83677
|
+
* @memberof OrganizationMFAUpdated
|
|
83678
|
+
* @static
|
|
83679
|
+
* @param {OrganizationMFAUpdated} message OrganizationMFAUpdated
|
|
83680
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
83681
|
+
* @returns {Object.<string,*>} Plain object
|
|
83682
|
+
*/
|
|
83683
|
+
OrganizationMFAUpdated.toObject = function toObject(message, options) {
|
|
83684
|
+
if (!options)
|
|
83685
|
+
options = {};
|
|
83686
|
+
var object = {};
|
|
83687
|
+
if (options.defaults) {
|
|
83688
|
+
if ($util.Long) {
|
|
83689
|
+
var long = new $util.Long(0, 0, true);
|
|
83690
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83691
|
+
} else
|
|
83692
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
83693
|
+
object.organization = null;
|
|
83694
|
+
}
|
|
83695
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83696
|
+
if (typeof message.timestamp === "number")
|
|
83697
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
83698
|
+
else
|
|
83699
|
+
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;
|
|
83700
|
+
if (message.organization != null && message.hasOwnProperty("organization"))
|
|
83701
|
+
object.organization = $root.b2b.Organization.toObject(message.organization, options);
|
|
83702
|
+
return object;
|
|
83703
|
+
};
|
|
83704
|
+
|
|
83705
|
+
/**
|
|
83706
|
+
* Converts this OrganizationMFAUpdated to JSON.
|
|
83707
|
+
* @function toJSON
|
|
83708
|
+
* @memberof OrganizationMFAUpdated
|
|
83709
|
+
* @instance
|
|
83710
|
+
* @returns {Object.<string,*>} JSON object
|
|
83711
|
+
*/
|
|
83712
|
+
OrganizationMFAUpdated.prototype.toJSON = function toJSON() {
|
|
83713
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
83714
|
+
};
|
|
83715
|
+
|
|
83716
|
+
return OrganizationMFAUpdated;
|
|
83717
|
+
})();
|
|
83718
|
+
|
|
83459
83719
|
$root.OrganizationSubscriptionCreated = (function() {
|
|
83460
83720
|
|
|
83461
83721
|
/**
|
|
@@ -91087,6 +91347,8 @@ $root.GiftRedeemed = (function() {
|
|
|
91087
91347
|
* @property {string|null} [giftRecipientHsUserId] GiftRedeemed giftRecipientHsUserId
|
|
91088
91348
|
* @property {string|null} [giftPurchaseId] GiftRedeemed giftPurchaseId
|
|
91089
91349
|
* @property {number|Long|null} [redeemedOn] GiftRedeemed redeemedOn
|
|
91350
|
+
* @property {string|null} [productSkuId] GiftRedeemed productSkuId
|
|
91351
|
+
* @property {string|null} [productSkuSlug] GiftRedeemed productSkuSlug
|
|
91090
91352
|
*/
|
|
91091
91353
|
|
|
91092
91354
|
/**
|
|
@@ -91128,6 +91390,22 @@ $root.GiftRedeemed = (function() {
|
|
|
91128
91390
|
*/
|
|
91129
91391
|
GiftRedeemed.prototype.redeemedOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
91130
91392
|
|
|
91393
|
+
/**
|
|
91394
|
+
* GiftRedeemed productSkuId.
|
|
91395
|
+
* @member {string} productSkuId
|
|
91396
|
+
* @memberof GiftRedeemed
|
|
91397
|
+
* @instance
|
|
91398
|
+
*/
|
|
91399
|
+
GiftRedeemed.prototype.productSkuId = "";
|
|
91400
|
+
|
|
91401
|
+
/**
|
|
91402
|
+
* GiftRedeemed productSkuSlug.
|
|
91403
|
+
* @member {string} productSkuSlug
|
|
91404
|
+
* @memberof GiftRedeemed
|
|
91405
|
+
* @instance
|
|
91406
|
+
*/
|
|
91407
|
+
GiftRedeemed.prototype.productSkuSlug = "";
|
|
91408
|
+
|
|
91131
91409
|
/**
|
|
91132
91410
|
* Creates a new GiftRedeemed instance using the specified properties.
|
|
91133
91411
|
* @function create
|
|
@@ -91158,6 +91436,10 @@ $root.GiftRedeemed = (function() {
|
|
|
91158
91436
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.giftPurchaseId);
|
|
91159
91437
|
if (message.redeemedOn != null && message.hasOwnProperty("redeemedOn"))
|
|
91160
91438
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.redeemedOn);
|
|
91439
|
+
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91440
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.productSkuId);
|
|
91441
|
+
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91442
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.productSkuSlug);
|
|
91161
91443
|
return writer;
|
|
91162
91444
|
};
|
|
91163
91445
|
|
|
@@ -91201,6 +91483,12 @@ $root.GiftRedeemed = (function() {
|
|
|
91201
91483
|
case 3:
|
|
91202
91484
|
message.redeemedOn = reader.uint64();
|
|
91203
91485
|
break;
|
|
91486
|
+
case 4:
|
|
91487
|
+
message.productSkuId = reader.string();
|
|
91488
|
+
break;
|
|
91489
|
+
case 5:
|
|
91490
|
+
message.productSkuSlug = reader.string();
|
|
91491
|
+
break;
|
|
91204
91492
|
default:
|
|
91205
91493
|
reader.skipType(tag & 7);
|
|
91206
91494
|
break;
|
|
@@ -91245,6 +91533,12 @@ $root.GiftRedeemed = (function() {
|
|
|
91245
91533
|
if (message.redeemedOn != null && message.hasOwnProperty("redeemedOn"))
|
|
91246
91534
|
if (!$util.isInteger(message.redeemedOn) && !(message.redeemedOn && $util.isInteger(message.redeemedOn.low) && $util.isInteger(message.redeemedOn.high)))
|
|
91247
91535
|
return "redeemedOn: integer|Long expected";
|
|
91536
|
+
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91537
|
+
if (!$util.isString(message.productSkuId))
|
|
91538
|
+
return "productSkuId: string expected";
|
|
91539
|
+
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91540
|
+
if (!$util.isString(message.productSkuSlug))
|
|
91541
|
+
return "productSkuSlug: string expected";
|
|
91248
91542
|
return null;
|
|
91249
91543
|
};
|
|
91250
91544
|
|
|
@@ -91273,6 +91567,10 @@ $root.GiftRedeemed = (function() {
|
|
|
91273
91567
|
message.redeemedOn = object.redeemedOn;
|
|
91274
91568
|
else if (typeof object.redeemedOn === "object")
|
|
91275
91569
|
message.redeemedOn = new $util.LongBits(object.redeemedOn.low >>> 0, object.redeemedOn.high >>> 0).toNumber(true);
|
|
91570
|
+
if (object.productSkuId != null)
|
|
91571
|
+
message.productSkuId = String(object.productSkuId);
|
|
91572
|
+
if (object.productSkuSlug != null)
|
|
91573
|
+
message.productSkuSlug = String(object.productSkuSlug);
|
|
91276
91574
|
return message;
|
|
91277
91575
|
};
|
|
91278
91576
|
|
|
@@ -91297,6 +91595,8 @@ $root.GiftRedeemed = (function() {
|
|
|
91297
91595
|
object.redeemedOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
91298
91596
|
} else
|
|
91299
91597
|
object.redeemedOn = options.longs === String ? "0" : 0;
|
|
91598
|
+
object.productSkuId = "";
|
|
91599
|
+
object.productSkuSlug = "";
|
|
91300
91600
|
}
|
|
91301
91601
|
if (message.giftRecipientHsUserId != null && message.hasOwnProperty("giftRecipientHsUserId"))
|
|
91302
91602
|
object.giftRecipientHsUserId = message.giftRecipientHsUserId;
|
|
@@ -91307,6 +91607,10 @@ $root.GiftRedeemed = (function() {
|
|
|
91307
91607
|
object.redeemedOn = options.longs === String ? String(message.redeemedOn) : message.redeemedOn;
|
|
91308
91608
|
else
|
|
91309
91609
|
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;
|
|
91610
|
+
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
91611
|
+
object.productSkuId = message.productSkuId;
|
|
91612
|
+
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
91613
|
+
object.productSkuSlug = message.productSkuSlug;
|
|
91310
91614
|
return object;
|
|
91311
91615
|
};
|
|
91312
91616
|
|
|
@@ -91715,6 +92019,9 @@ $root.GiftPurchased = (function() {
|
|
|
91715
92019
|
* @property {number|null} [giftNumMonths] GiftPurchased giftNumMonths
|
|
91716
92020
|
* @property {number|Long|null} [purchasedOn] GiftPurchased purchasedOn
|
|
91717
92021
|
* @property {string|null} [giftPurchaseId] GiftPurchased giftPurchaseId
|
|
92022
|
+
* @property {string|null} [productSkuId] GiftPurchased productSkuId
|
|
92023
|
+
* @property {string|null} [productSkuSlug] GiftPurchased productSkuSlug
|
|
92024
|
+
* @property {gift.GiftProductSkuTaxMode|null} [productSkuTaxMode] GiftPurchased productSkuTaxMode
|
|
91718
92025
|
*/
|
|
91719
92026
|
|
|
91720
92027
|
/**
|
|
@@ -91788,6 +92095,30 @@ $root.GiftPurchased = (function() {
|
|
|
91788
92095
|
*/
|
|
91789
92096
|
GiftPurchased.prototype.giftPurchaseId = "";
|
|
91790
92097
|
|
|
92098
|
+
/**
|
|
92099
|
+
* GiftPurchased productSkuId.
|
|
92100
|
+
* @member {string} productSkuId
|
|
92101
|
+
* @memberof GiftPurchased
|
|
92102
|
+
* @instance
|
|
92103
|
+
*/
|
|
92104
|
+
GiftPurchased.prototype.productSkuId = "";
|
|
92105
|
+
|
|
92106
|
+
/**
|
|
92107
|
+
* GiftPurchased productSkuSlug.
|
|
92108
|
+
* @member {string} productSkuSlug
|
|
92109
|
+
* @memberof GiftPurchased
|
|
92110
|
+
* @instance
|
|
92111
|
+
*/
|
|
92112
|
+
GiftPurchased.prototype.productSkuSlug = "";
|
|
92113
|
+
|
|
92114
|
+
/**
|
|
92115
|
+
* GiftPurchased productSkuTaxMode.
|
|
92116
|
+
* @member {gift.GiftProductSkuTaxMode} productSkuTaxMode
|
|
92117
|
+
* @memberof GiftPurchased
|
|
92118
|
+
* @instance
|
|
92119
|
+
*/
|
|
92120
|
+
GiftPurchased.prototype.productSkuTaxMode = 0;
|
|
92121
|
+
|
|
91791
92122
|
/**
|
|
91792
92123
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
91793
92124
|
* @function create
|
|
@@ -91826,6 +92157,12 @@ $root.GiftPurchased = (function() {
|
|
|
91826
92157
|
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.purchasedOn);
|
|
91827
92158
|
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
91828
92159
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.giftPurchaseId);
|
|
92160
|
+
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
92161
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.productSkuId);
|
|
92162
|
+
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
92163
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.productSkuSlug);
|
|
92164
|
+
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
92165
|
+
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.productSkuTaxMode);
|
|
91829
92166
|
return writer;
|
|
91830
92167
|
};
|
|
91831
92168
|
|
|
@@ -91881,6 +92218,15 @@ $root.GiftPurchased = (function() {
|
|
|
91881
92218
|
case 7:
|
|
91882
92219
|
message.giftPurchaseId = reader.string();
|
|
91883
92220
|
break;
|
|
92221
|
+
case 8:
|
|
92222
|
+
message.productSkuId = reader.string();
|
|
92223
|
+
break;
|
|
92224
|
+
case 9:
|
|
92225
|
+
message.productSkuSlug = reader.string();
|
|
92226
|
+
break;
|
|
92227
|
+
case 10:
|
|
92228
|
+
message.productSkuTaxMode = reader.int32();
|
|
92229
|
+
break;
|
|
91884
92230
|
default:
|
|
91885
92231
|
reader.skipType(tag & 7);
|
|
91886
92232
|
break;
|
|
@@ -91937,6 +92283,21 @@ $root.GiftPurchased = (function() {
|
|
|
91937
92283
|
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
91938
92284
|
if (!$util.isString(message.giftPurchaseId))
|
|
91939
92285
|
return "giftPurchaseId: string expected";
|
|
92286
|
+
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
92287
|
+
if (!$util.isString(message.productSkuId))
|
|
92288
|
+
return "productSkuId: string expected";
|
|
92289
|
+
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
92290
|
+
if (!$util.isString(message.productSkuSlug))
|
|
92291
|
+
return "productSkuSlug: string expected";
|
|
92292
|
+
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
92293
|
+
switch (message.productSkuTaxMode) {
|
|
92294
|
+
default:
|
|
92295
|
+
return "productSkuTaxMode: enum value expected";
|
|
92296
|
+
case 0:
|
|
92297
|
+
case 1:
|
|
92298
|
+
case 2:
|
|
92299
|
+
break;
|
|
92300
|
+
}
|
|
91940
92301
|
return null;
|
|
91941
92302
|
};
|
|
91942
92303
|
|
|
@@ -91973,6 +92334,24 @@ $root.GiftPurchased = (function() {
|
|
|
91973
92334
|
message.purchasedOn = new $util.LongBits(object.purchasedOn.low >>> 0, object.purchasedOn.high >>> 0).toNumber(true);
|
|
91974
92335
|
if (object.giftPurchaseId != null)
|
|
91975
92336
|
message.giftPurchaseId = String(object.giftPurchaseId);
|
|
92337
|
+
if (object.productSkuId != null)
|
|
92338
|
+
message.productSkuId = String(object.productSkuId);
|
|
92339
|
+
if (object.productSkuSlug != null)
|
|
92340
|
+
message.productSkuSlug = String(object.productSkuSlug);
|
|
92341
|
+
switch (object.productSkuTaxMode) {
|
|
92342
|
+
case "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN":
|
|
92343
|
+
case 0:
|
|
92344
|
+
message.productSkuTaxMode = 0;
|
|
92345
|
+
break;
|
|
92346
|
+
case "GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE":
|
|
92347
|
+
case 1:
|
|
92348
|
+
message.productSkuTaxMode = 1;
|
|
92349
|
+
break;
|
|
92350
|
+
case "GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE":
|
|
92351
|
+
case 2:
|
|
92352
|
+
message.productSkuTaxMode = 2;
|
|
92353
|
+
break;
|
|
92354
|
+
}
|
|
91976
92355
|
return message;
|
|
91977
92356
|
};
|
|
91978
92357
|
|
|
@@ -92001,6 +92380,9 @@ $root.GiftPurchased = (function() {
|
|
|
92001
92380
|
} else
|
|
92002
92381
|
object.purchasedOn = options.longs === String ? "0" : 0;
|
|
92003
92382
|
object.giftPurchaseId = "";
|
|
92383
|
+
object.productSkuId = "";
|
|
92384
|
+
object.productSkuSlug = "";
|
|
92385
|
+
object.productSkuTaxMode = options.enums === String ? "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN" : 0;
|
|
92004
92386
|
}
|
|
92005
92387
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
92006
92388
|
object.hsUserId = message.hsUserId;
|
|
@@ -92019,6 +92401,12 @@ $root.GiftPurchased = (function() {
|
|
|
92019
92401
|
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
92402
|
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
92021
92403
|
object.giftPurchaseId = message.giftPurchaseId;
|
|
92404
|
+
if (message.productSkuId != null && message.hasOwnProperty("productSkuId"))
|
|
92405
|
+
object.productSkuId = message.productSkuId;
|
|
92406
|
+
if (message.productSkuSlug != null && message.hasOwnProperty("productSkuSlug"))
|
|
92407
|
+
object.productSkuSlug = message.productSkuSlug;
|
|
92408
|
+
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
92409
|
+
object.productSkuTaxMode = options.enums === String ? $root.gift.GiftProductSkuTaxMode[message.productSkuTaxMode] : message.productSkuTaxMode;
|
|
92022
92410
|
return object;
|
|
92023
92411
|
};
|
|
92024
92412
|
|
|
@@ -116590,255 +116978,6 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
116590
116978
|
return UserDoubleOptInEmailRequested;
|
|
116591
116979
|
})();
|
|
116592
116980
|
|
|
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
116981
|
$root.UserEmailUpdated = (function() {
|
|
116843
116982
|
|
|
116844
116983
|
/**
|