@headspace/protos-events 1.340.0 → 1.342.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 +104 -1
- package/lib/index.js +263 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -137,7 +137,8 @@ export namespace auth0 {
|
|
|
137
137
|
TEST_ORG_MIGRATION_OKTA_SSO = 12,
|
|
138
138
|
MX_TECHNOLOGIES_INC_OKTA_SSO = 13,
|
|
139
139
|
FLUTTER_INT_OKTA_SSO = 14,
|
|
140
|
-
LUMINOUS_OKTA_SSO = 15
|
|
140
|
+
LUMINOUS_OKTA_SSO = 15,
|
|
141
|
+
OKTA_OKTA_SSO = 16
|
|
141
142
|
}
|
|
142
143
|
}
|
|
143
144
|
}
|
|
@@ -13324,6 +13325,108 @@ export class BlockedUnverifiedEmail implements IBlockedUnverifiedEmail {
|
|
|
13324
13325
|
public toJSON(): { [k: string]: any };
|
|
13325
13326
|
}
|
|
13326
13327
|
|
|
13328
|
+
/** Properties of a UserMFAEnrollmentInitiated. */
|
|
13329
|
+
export interface IUserMFAEnrollmentInitiated {
|
|
13330
|
+
|
|
13331
|
+
/** UserMFAEnrollmentInitiated userId */
|
|
13332
|
+
userId?: (string|null);
|
|
13333
|
+
|
|
13334
|
+
/** UserMFAEnrollmentInitiated enabled */
|
|
13335
|
+
enabled?: (boolean|null);
|
|
13336
|
+
|
|
13337
|
+
/** UserMFAEnrollmentInitiated timestamp */
|
|
13338
|
+
timestamp?: (number|Long|null);
|
|
13339
|
+
}
|
|
13340
|
+
|
|
13341
|
+
/** Represents a UserMFAEnrollmentInitiated. */
|
|
13342
|
+
export class UserMFAEnrollmentInitiated implements IUserMFAEnrollmentInitiated {
|
|
13343
|
+
|
|
13344
|
+
/**
|
|
13345
|
+
* Constructs a new UserMFAEnrollmentInitiated.
|
|
13346
|
+
* @param [properties] Properties to set
|
|
13347
|
+
*/
|
|
13348
|
+
constructor(properties?: IUserMFAEnrollmentInitiated);
|
|
13349
|
+
|
|
13350
|
+
/** UserMFAEnrollmentInitiated userId. */
|
|
13351
|
+
public userId: string;
|
|
13352
|
+
|
|
13353
|
+
/** UserMFAEnrollmentInitiated enabled. */
|
|
13354
|
+
public enabled: boolean;
|
|
13355
|
+
|
|
13356
|
+
/** UserMFAEnrollmentInitiated timestamp. */
|
|
13357
|
+
public timestamp: (number|Long);
|
|
13358
|
+
|
|
13359
|
+
/**
|
|
13360
|
+
* Creates a new UserMFAEnrollmentInitiated instance using the specified properties.
|
|
13361
|
+
* @param [properties] Properties to set
|
|
13362
|
+
* @returns UserMFAEnrollmentInitiated instance
|
|
13363
|
+
*/
|
|
13364
|
+
public static create(properties?: IUserMFAEnrollmentInitiated): UserMFAEnrollmentInitiated;
|
|
13365
|
+
|
|
13366
|
+
/**
|
|
13367
|
+
* Encodes the specified UserMFAEnrollmentInitiated message. Does not implicitly {@link UserMFAEnrollmentInitiated.verify|verify} messages.
|
|
13368
|
+
* @param message UserMFAEnrollmentInitiated message or plain object to encode
|
|
13369
|
+
* @param [writer] Writer to encode to
|
|
13370
|
+
* @returns Writer
|
|
13371
|
+
*/
|
|
13372
|
+
public static encode(message: IUserMFAEnrollmentInitiated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13373
|
+
|
|
13374
|
+
/**
|
|
13375
|
+
* Encodes the specified UserMFAEnrollmentInitiated message, length delimited. Does not implicitly {@link UserMFAEnrollmentInitiated.verify|verify} messages.
|
|
13376
|
+
* @param message UserMFAEnrollmentInitiated message or plain object to encode
|
|
13377
|
+
* @param [writer] Writer to encode to
|
|
13378
|
+
* @returns Writer
|
|
13379
|
+
*/
|
|
13380
|
+
public static encodeDelimited(message: IUserMFAEnrollmentInitiated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13381
|
+
|
|
13382
|
+
/**
|
|
13383
|
+
* Decodes a UserMFAEnrollmentInitiated message from the specified reader or buffer.
|
|
13384
|
+
* @param reader Reader or buffer to decode from
|
|
13385
|
+
* @param [length] Message length if known beforehand
|
|
13386
|
+
* @returns UserMFAEnrollmentInitiated
|
|
13387
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13388
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13389
|
+
*/
|
|
13390
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMFAEnrollmentInitiated;
|
|
13391
|
+
|
|
13392
|
+
/**
|
|
13393
|
+
* Decodes a UserMFAEnrollmentInitiated message from the specified reader or buffer, length delimited.
|
|
13394
|
+
* @param reader Reader or buffer to decode from
|
|
13395
|
+
* @returns UserMFAEnrollmentInitiated
|
|
13396
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13397
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13398
|
+
*/
|
|
13399
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMFAEnrollmentInitiated;
|
|
13400
|
+
|
|
13401
|
+
/**
|
|
13402
|
+
* Verifies a UserMFAEnrollmentInitiated message.
|
|
13403
|
+
* @param message Plain object to verify
|
|
13404
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13405
|
+
*/
|
|
13406
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13407
|
+
|
|
13408
|
+
/**
|
|
13409
|
+
* Creates a UserMFAEnrollmentInitiated message from a plain object. Also converts values to their respective internal types.
|
|
13410
|
+
* @param object Plain object
|
|
13411
|
+
* @returns UserMFAEnrollmentInitiated
|
|
13412
|
+
*/
|
|
13413
|
+
public static fromObject(object: { [k: string]: any }): UserMFAEnrollmentInitiated;
|
|
13414
|
+
|
|
13415
|
+
/**
|
|
13416
|
+
* Creates a plain object from a UserMFAEnrollmentInitiated message. Also converts values to other types if specified.
|
|
13417
|
+
* @param message UserMFAEnrollmentInitiated
|
|
13418
|
+
* @param [options] Conversion options
|
|
13419
|
+
* @returns Plain object
|
|
13420
|
+
*/
|
|
13421
|
+
public static toObject(message: UserMFAEnrollmentInitiated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13422
|
+
|
|
13423
|
+
/**
|
|
13424
|
+
* Converts this UserMFAEnrollmentInitiated to JSON.
|
|
13425
|
+
* @returns JSON object
|
|
13426
|
+
*/
|
|
13427
|
+
public toJSON(): { [k: string]: any };
|
|
13428
|
+
}
|
|
13429
|
+
|
|
13327
13430
|
/** Properties of an Auth0PasswordResetCompleted. */
|
|
13328
13431
|
export interface IAuth0PasswordResetCompleted {
|
|
13329
13432
|
|
package/lib/index.js
CHANGED
|
@@ -308,6 +308,7 @@ $root.auth0 = (function() {
|
|
|
308
308
|
* @property {number} MX_TECHNOLOGIES_INC_OKTA_SSO=13 MX_TECHNOLOGIES_INC_OKTA_SSO value
|
|
309
309
|
* @property {number} FLUTTER_INT_OKTA_SSO=14 FLUTTER_INT_OKTA_SSO value
|
|
310
310
|
* @property {number} LUMINOUS_OKTA_SSO=15 LUMINOUS_OKTA_SSO value
|
|
311
|
+
* @property {number} OKTA_OKTA_SSO=16 OKTA_OKTA_SSO value
|
|
311
312
|
*/
|
|
312
313
|
connections.Connection = (function() {
|
|
313
314
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -327,6 +328,7 @@ $root.auth0 = (function() {
|
|
|
327
328
|
values[valuesById[13] = "MX_TECHNOLOGIES_INC_OKTA_SSO"] = 13;
|
|
328
329
|
values[valuesById[14] = "FLUTTER_INT_OKTA_SSO"] = 14;
|
|
329
330
|
values[valuesById[15] = "LUMINOUS_OKTA_SSO"] = 15;
|
|
331
|
+
values[valuesById[16] = "OKTA_OKTA_SSO"] = 16;
|
|
330
332
|
return values;
|
|
331
333
|
})();
|
|
332
334
|
|
|
@@ -31963,6 +31965,7 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
31963
31965
|
case 13:
|
|
31964
31966
|
case 14:
|
|
31965
31967
|
case 15:
|
|
31968
|
+
case 16:
|
|
31966
31969
|
break;
|
|
31967
31970
|
}
|
|
31968
31971
|
return null;
|
|
@@ -32110,6 +32113,10 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
32110
32113
|
case 15:
|
|
32111
32114
|
message.connection = 15;
|
|
32112
32115
|
break;
|
|
32116
|
+
case "OKTA_OKTA_SSO":
|
|
32117
|
+
case 16:
|
|
32118
|
+
message.connection = 16;
|
|
32119
|
+
break;
|
|
32113
32120
|
}
|
|
32114
32121
|
return message;
|
|
32115
32122
|
};
|
|
@@ -32346,6 +32353,7 @@ $root.UnlinkedConnection = (function() {
|
|
|
32346
32353
|
case 13:
|
|
32347
32354
|
case 14:
|
|
32348
32355
|
case 15:
|
|
32356
|
+
case 16:
|
|
32349
32357
|
break;
|
|
32350
32358
|
}
|
|
32351
32359
|
if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
|
|
@@ -32433,6 +32441,10 @@ $root.UnlinkedConnection = (function() {
|
|
|
32433
32441
|
case 15:
|
|
32434
32442
|
message.connection = 15;
|
|
32435
32443
|
break;
|
|
32444
|
+
case "OKTA_OKTA_SSO":
|
|
32445
|
+
case 16:
|
|
32446
|
+
message.connection = 16;
|
|
32447
|
+
break;
|
|
32436
32448
|
}
|
|
32437
32449
|
if (object.unlinkedAt != null)
|
|
32438
32450
|
if ($util.Long)
|
|
@@ -32689,6 +32701,7 @@ $root.ConnectionLinked = (function() {
|
|
|
32689
32701
|
case 13:
|
|
32690
32702
|
case 14:
|
|
32691
32703
|
case 15:
|
|
32704
|
+
case 16:
|
|
32692
32705
|
break;
|
|
32693
32706
|
}
|
|
32694
32707
|
if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
|
|
@@ -32779,6 +32792,10 @@ $root.ConnectionLinked = (function() {
|
|
|
32779
32792
|
case 15:
|
|
32780
32793
|
message.connection = 15;
|
|
32781
32794
|
break;
|
|
32795
|
+
case "OKTA_OKTA_SSO":
|
|
32796
|
+
case 16:
|
|
32797
|
+
message.connection = 16;
|
|
32798
|
+
break;
|
|
32782
32799
|
}
|
|
32783
32800
|
if (object.linkedAt != null)
|
|
32784
32801
|
if ($util.Long)
|
|
@@ -33091,6 +33108,252 @@ $root.BlockedUnverifiedEmail = (function() {
|
|
|
33091
33108
|
return BlockedUnverifiedEmail;
|
|
33092
33109
|
})();
|
|
33093
33110
|
|
|
33111
|
+
$root.UserMFAEnrollmentInitiated = (function() {
|
|
33112
|
+
|
|
33113
|
+
/**
|
|
33114
|
+
* Properties of a UserMFAEnrollmentInitiated.
|
|
33115
|
+
* @exports IUserMFAEnrollmentInitiated
|
|
33116
|
+
* @interface IUserMFAEnrollmentInitiated
|
|
33117
|
+
* @property {string|null} [userId] UserMFAEnrollmentInitiated userId
|
|
33118
|
+
* @property {boolean|null} [enabled] UserMFAEnrollmentInitiated enabled
|
|
33119
|
+
* @property {number|Long|null} [timestamp] UserMFAEnrollmentInitiated timestamp
|
|
33120
|
+
*/
|
|
33121
|
+
|
|
33122
|
+
/**
|
|
33123
|
+
* Constructs a new UserMFAEnrollmentInitiated.
|
|
33124
|
+
* @exports UserMFAEnrollmentInitiated
|
|
33125
|
+
* @classdesc Represents a UserMFAEnrollmentInitiated.
|
|
33126
|
+
* @implements IUserMFAEnrollmentInitiated
|
|
33127
|
+
* @constructor
|
|
33128
|
+
* @param {IUserMFAEnrollmentInitiated=} [properties] Properties to set
|
|
33129
|
+
*/
|
|
33130
|
+
function UserMFAEnrollmentInitiated(properties) {
|
|
33131
|
+
if (properties)
|
|
33132
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
33133
|
+
if (properties[keys[i]] != null)
|
|
33134
|
+
this[keys[i]] = properties[keys[i]];
|
|
33135
|
+
}
|
|
33136
|
+
|
|
33137
|
+
/**
|
|
33138
|
+
* UserMFAEnrollmentInitiated userId.
|
|
33139
|
+
* @member {string} userId
|
|
33140
|
+
* @memberof UserMFAEnrollmentInitiated
|
|
33141
|
+
* @instance
|
|
33142
|
+
*/
|
|
33143
|
+
UserMFAEnrollmentInitiated.prototype.userId = "";
|
|
33144
|
+
|
|
33145
|
+
/**
|
|
33146
|
+
* UserMFAEnrollmentInitiated enabled.
|
|
33147
|
+
* @member {boolean} enabled
|
|
33148
|
+
* @memberof UserMFAEnrollmentInitiated
|
|
33149
|
+
* @instance
|
|
33150
|
+
*/
|
|
33151
|
+
UserMFAEnrollmentInitiated.prototype.enabled = false;
|
|
33152
|
+
|
|
33153
|
+
/**
|
|
33154
|
+
* UserMFAEnrollmentInitiated timestamp.
|
|
33155
|
+
* @member {number|Long} timestamp
|
|
33156
|
+
* @memberof UserMFAEnrollmentInitiated
|
|
33157
|
+
* @instance
|
|
33158
|
+
*/
|
|
33159
|
+
UserMFAEnrollmentInitiated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
33160
|
+
|
|
33161
|
+
/**
|
|
33162
|
+
* Creates a new UserMFAEnrollmentInitiated instance using the specified properties.
|
|
33163
|
+
* @function create
|
|
33164
|
+
* @memberof UserMFAEnrollmentInitiated
|
|
33165
|
+
* @static
|
|
33166
|
+
* @param {IUserMFAEnrollmentInitiated=} [properties] Properties to set
|
|
33167
|
+
* @returns {UserMFAEnrollmentInitiated} UserMFAEnrollmentInitiated instance
|
|
33168
|
+
*/
|
|
33169
|
+
UserMFAEnrollmentInitiated.create = function create(properties) {
|
|
33170
|
+
return new UserMFAEnrollmentInitiated(properties);
|
|
33171
|
+
};
|
|
33172
|
+
|
|
33173
|
+
/**
|
|
33174
|
+
* Encodes the specified UserMFAEnrollmentInitiated message. Does not implicitly {@link UserMFAEnrollmentInitiated.verify|verify} messages.
|
|
33175
|
+
* @function encode
|
|
33176
|
+
* @memberof UserMFAEnrollmentInitiated
|
|
33177
|
+
* @static
|
|
33178
|
+
* @param {IUserMFAEnrollmentInitiated} message UserMFAEnrollmentInitiated message or plain object to encode
|
|
33179
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
33180
|
+
* @returns {$protobuf.Writer} Writer
|
|
33181
|
+
*/
|
|
33182
|
+
UserMFAEnrollmentInitiated.encode = function encode(message, writer) {
|
|
33183
|
+
if (!writer)
|
|
33184
|
+
writer = $Writer.create();
|
|
33185
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
33186
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
33187
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
33188
|
+
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.enabled);
|
|
33189
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
33190
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
33191
|
+
return writer;
|
|
33192
|
+
};
|
|
33193
|
+
|
|
33194
|
+
/**
|
|
33195
|
+
* Encodes the specified UserMFAEnrollmentInitiated message, length delimited. Does not implicitly {@link UserMFAEnrollmentInitiated.verify|verify} messages.
|
|
33196
|
+
* @function encodeDelimited
|
|
33197
|
+
* @memberof UserMFAEnrollmentInitiated
|
|
33198
|
+
* @static
|
|
33199
|
+
* @param {IUserMFAEnrollmentInitiated} message UserMFAEnrollmentInitiated message or plain object to encode
|
|
33200
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
33201
|
+
* @returns {$protobuf.Writer} Writer
|
|
33202
|
+
*/
|
|
33203
|
+
UserMFAEnrollmentInitiated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
33204
|
+
return this.encode(message, writer).ldelim();
|
|
33205
|
+
};
|
|
33206
|
+
|
|
33207
|
+
/**
|
|
33208
|
+
* Decodes a UserMFAEnrollmentInitiated message from the specified reader or buffer.
|
|
33209
|
+
* @function decode
|
|
33210
|
+
* @memberof UserMFAEnrollmentInitiated
|
|
33211
|
+
* @static
|
|
33212
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
33213
|
+
* @param {number} [length] Message length if known beforehand
|
|
33214
|
+
* @returns {UserMFAEnrollmentInitiated} UserMFAEnrollmentInitiated
|
|
33215
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33216
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33217
|
+
*/
|
|
33218
|
+
UserMFAEnrollmentInitiated.decode = function decode(reader, length) {
|
|
33219
|
+
if (!(reader instanceof $Reader))
|
|
33220
|
+
reader = $Reader.create(reader);
|
|
33221
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMFAEnrollmentInitiated();
|
|
33222
|
+
while (reader.pos < end) {
|
|
33223
|
+
var tag = reader.uint32();
|
|
33224
|
+
switch (tag >>> 3) {
|
|
33225
|
+
case 1:
|
|
33226
|
+
message.userId = reader.string();
|
|
33227
|
+
break;
|
|
33228
|
+
case 2:
|
|
33229
|
+
message.enabled = reader.bool();
|
|
33230
|
+
break;
|
|
33231
|
+
case 3:
|
|
33232
|
+
message.timestamp = reader.uint64();
|
|
33233
|
+
break;
|
|
33234
|
+
default:
|
|
33235
|
+
reader.skipType(tag & 7);
|
|
33236
|
+
break;
|
|
33237
|
+
}
|
|
33238
|
+
}
|
|
33239
|
+
return message;
|
|
33240
|
+
};
|
|
33241
|
+
|
|
33242
|
+
/**
|
|
33243
|
+
* Decodes a UserMFAEnrollmentInitiated message from the specified reader or buffer, length delimited.
|
|
33244
|
+
* @function decodeDelimited
|
|
33245
|
+
* @memberof UserMFAEnrollmentInitiated
|
|
33246
|
+
* @static
|
|
33247
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
33248
|
+
* @returns {UserMFAEnrollmentInitiated} UserMFAEnrollmentInitiated
|
|
33249
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33250
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33251
|
+
*/
|
|
33252
|
+
UserMFAEnrollmentInitiated.decodeDelimited = function decodeDelimited(reader) {
|
|
33253
|
+
if (!(reader instanceof $Reader))
|
|
33254
|
+
reader = new $Reader(reader);
|
|
33255
|
+
return this.decode(reader, reader.uint32());
|
|
33256
|
+
};
|
|
33257
|
+
|
|
33258
|
+
/**
|
|
33259
|
+
* Verifies a UserMFAEnrollmentInitiated message.
|
|
33260
|
+
* @function verify
|
|
33261
|
+
* @memberof UserMFAEnrollmentInitiated
|
|
33262
|
+
* @static
|
|
33263
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
33264
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
33265
|
+
*/
|
|
33266
|
+
UserMFAEnrollmentInitiated.verify = function verify(message) {
|
|
33267
|
+
if (typeof message !== "object" || message === null)
|
|
33268
|
+
return "object expected";
|
|
33269
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
33270
|
+
if (!$util.isString(message.userId))
|
|
33271
|
+
return "userId: string expected";
|
|
33272
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
33273
|
+
if (typeof message.enabled !== "boolean")
|
|
33274
|
+
return "enabled: boolean expected";
|
|
33275
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
33276
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
33277
|
+
return "timestamp: integer|Long expected";
|
|
33278
|
+
return null;
|
|
33279
|
+
};
|
|
33280
|
+
|
|
33281
|
+
/**
|
|
33282
|
+
* Creates a UserMFAEnrollmentInitiated message from a plain object. Also converts values to their respective internal types.
|
|
33283
|
+
* @function fromObject
|
|
33284
|
+
* @memberof UserMFAEnrollmentInitiated
|
|
33285
|
+
* @static
|
|
33286
|
+
* @param {Object.<string,*>} object Plain object
|
|
33287
|
+
* @returns {UserMFAEnrollmentInitiated} UserMFAEnrollmentInitiated
|
|
33288
|
+
*/
|
|
33289
|
+
UserMFAEnrollmentInitiated.fromObject = function fromObject(object) {
|
|
33290
|
+
if (object instanceof $root.UserMFAEnrollmentInitiated)
|
|
33291
|
+
return object;
|
|
33292
|
+
var message = new $root.UserMFAEnrollmentInitiated();
|
|
33293
|
+
if (object.userId != null)
|
|
33294
|
+
message.userId = String(object.userId);
|
|
33295
|
+
if (object.enabled != null)
|
|
33296
|
+
message.enabled = Boolean(object.enabled);
|
|
33297
|
+
if (object.timestamp != null)
|
|
33298
|
+
if ($util.Long)
|
|
33299
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
33300
|
+
else if (typeof object.timestamp === "string")
|
|
33301
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
33302
|
+
else if (typeof object.timestamp === "number")
|
|
33303
|
+
message.timestamp = object.timestamp;
|
|
33304
|
+
else if (typeof object.timestamp === "object")
|
|
33305
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
33306
|
+
return message;
|
|
33307
|
+
};
|
|
33308
|
+
|
|
33309
|
+
/**
|
|
33310
|
+
* Creates a plain object from a UserMFAEnrollmentInitiated message. Also converts values to other types if specified.
|
|
33311
|
+
* @function toObject
|
|
33312
|
+
* @memberof UserMFAEnrollmentInitiated
|
|
33313
|
+
* @static
|
|
33314
|
+
* @param {UserMFAEnrollmentInitiated} message UserMFAEnrollmentInitiated
|
|
33315
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
33316
|
+
* @returns {Object.<string,*>} Plain object
|
|
33317
|
+
*/
|
|
33318
|
+
UserMFAEnrollmentInitiated.toObject = function toObject(message, options) {
|
|
33319
|
+
if (!options)
|
|
33320
|
+
options = {};
|
|
33321
|
+
var object = {};
|
|
33322
|
+
if (options.defaults) {
|
|
33323
|
+
object.userId = "";
|
|
33324
|
+
object.enabled = false;
|
|
33325
|
+
if ($util.Long) {
|
|
33326
|
+
var long = new $util.Long(0, 0, true);
|
|
33327
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
33328
|
+
} else
|
|
33329
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
33330
|
+
}
|
|
33331
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
33332
|
+
object.userId = message.userId;
|
|
33333
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
33334
|
+
object.enabled = message.enabled;
|
|
33335
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
33336
|
+
if (typeof message.timestamp === "number")
|
|
33337
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
33338
|
+
else
|
|
33339
|
+
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;
|
|
33340
|
+
return object;
|
|
33341
|
+
};
|
|
33342
|
+
|
|
33343
|
+
/**
|
|
33344
|
+
* Converts this UserMFAEnrollmentInitiated to JSON.
|
|
33345
|
+
* @function toJSON
|
|
33346
|
+
* @memberof UserMFAEnrollmentInitiated
|
|
33347
|
+
* @instance
|
|
33348
|
+
* @returns {Object.<string,*>} JSON object
|
|
33349
|
+
*/
|
|
33350
|
+
UserMFAEnrollmentInitiated.prototype.toJSON = function toJSON() {
|
|
33351
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
33352
|
+
};
|
|
33353
|
+
|
|
33354
|
+
return UserMFAEnrollmentInitiated;
|
|
33355
|
+
})();
|
|
33356
|
+
|
|
33094
33357
|
$root.Auth0PasswordResetCompleted = (function() {
|
|
33095
33358
|
|
|
33096
33359
|
/**
|
package/package.json
CHANGED