@headspace/protos-events 1.485.0 → 1.487.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 +248 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -193,7 +193,8 @@ export namespace auth0 {
|
|
|
193
193
|
DELOITTE_UK_AZURE_SSO = 33,
|
|
194
194
|
CVENT_OKTA_SSO = 34,
|
|
195
195
|
FLOCKSAFETY_OKTA_SSO = 35,
|
|
196
|
-
WABTEC_OKTA_SSO = 36
|
|
196
|
+
WABTEC_OKTA_SSO = 36,
|
|
197
|
+
CITADEL_AZURE_SSO = 37
|
|
197
198
|
}
|
|
198
199
|
|
|
199
200
|
/** ConnectionType enum. */
|
|
@@ -30385,6 +30386,108 @@ export class EligibleUserRemoved implements IEligibleUserRemoved {
|
|
|
30385
30386
|
public toJSON(): { [k: string]: any };
|
|
30386
30387
|
}
|
|
30387
30388
|
|
|
30389
|
+
/** Properties of an EligibleUserPurged. */
|
|
30390
|
+
export interface IEligibleUserPurged {
|
|
30391
|
+
|
|
30392
|
+
/** EligibleUserPurged workEmail */
|
|
30393
|
+
workEmail?: (string|null);
|
|
30394
|
+
|
|
30395
|
+
/** EligibleUserPurged b2bOrgId */
|
|
30396
|
+
b2bOrgId?: (number|null);
|
|
30397
|
+
|
|
30398
|
+
/** EligibleUserPurged timestamp */
|
|
30399
|
+
timestamp?: (number|Long|null);
|
|
30400
|
+
}
|
|
30401
|
+
|
|
30402
|
+
/** Represents an EligibleUserPurged. */
|
|
30403
|
+
export class EligibleUserPurged implements IEligibleUserPurged {
|
|
30404
|
+
|
|
30405
|
+
/**
|
|
30406
|
+
* Constructs a new EligibleUserPurged.
|
|
30407
|
+
* @param [properties] Properties to set
|
|
30408
|
+
*/
|
|
30409
|
+
constructor(properties?: IEligibleUserPurged);
|
|
30410
|
+
|
|
30411
|
+
/** EligibleUserPurged workEmail. */
|
|
30412
|
+
public workEmail: string;
|
|
30413
|
+
|
|
30414
|
+
/** EligibleUserPurged b2bOrgId. */
|
|
30415
|
+
public b2bOrgId: number;
|
|
30416
|
+
|
|
30417
|
+
/** EligibleUserPurged timestamp. */
|
|
30418
|
+
public timestamp: (number|Long);
|
|
30419
|
+
|
|
30420
|
+
/**
|
|
30421
|
+
* Creates a new EligibleUserPurged instance using the specified properties.
|
|
30422
|
+
* @param [properties] Properties to set
|
|
30423
|
+
* @returns EligibleUserPurged instance
|
|
30424
|
+
*/
|
|
30425
|
+
public static create(properties?: IEligibleUserPurged): EligibleUserPurged;
|
|
30426
|
+
|
|
30427
|
+
/**
|
|
30428
|
+
* Encodes the specified EligibleUserPurged message. Does not implicitly {@link EligibleUserPurged.verify|verify} messages.
|
|
30429
|
+
* @param message EligibleUserPurged message or plain object to encode
|
|
30430
|
+
* @param [writer] Writer to encode to
|
|
30431
|
+
* @returns Writer
|
|
30432
|
+
*/
|
|
30433
|
+
public static encode(message: IEligibleUserPurged, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30434
|
+
|
|
30435
|
+
/**
|
|
30436
|
+
* Encodes the specified EligibleUserPurged message, length delimited. Does not implicitly {@link EligibleUserPurged.verify|verify} messages.
|
|
30437
|
+
* @param message EligibleUserPurged message or plain object to encode
|
|
30438
|
+
* @param [writer] Writer to encode to
|
|
30439
|
+
* @returns Writer
|
|
30440
|
+
*/
|
|
30441
|
+
public static encodeDelimited(message: IEligibleUserPurged, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30442
|
+
|
|
30443
|
+
/**
|
|
30444
|
+
* Decodes an EligibleUserPurged message from the specified reader or buffer.
|
|
30445
|
+
* @param reader Reader or buffer to decode from
|
|
30446
|
+
* @param [length] Message length if known beforehand
|
|
30447
|
+
* @returns EligibleUserPurged
|
|
30448
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30449
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30450
|
+
*/
|
|
30451
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibleUserPurged;
|
|
30452
|
+
|
|
30453
|
+
/**
|
|
30454
|
+
* Decodes an EligibleUserPurged message from the specified reader or buffer, length delimited.
|
|
30455
|
+
* @param reader Reader or buffer to decode from
|
|
30456
|
+
* @returns EligibleUserPurged
|
|
30457
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30458
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30459
|
+
*/
|
|
30460
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibleUserPurged;
|
|
30461
|
+
|
|
30462
|
+
/**
|
|
30463
|
+
* Verifies an EligibleUserPurged message.
|
|
30464
|
+
* @param message Plain object to verify
|
|
30465
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30466
|
+
*/
|
|
30467
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
30468
|
+
|
|
30469
|
+
/**
|
|
30470
|
+
* Creates an EligibleUserPurged message from a plain object. Also converts values to their respective internal types.
|
|
30471
|
+
* @param object Plain object
|
|
30472
|
+
* @returns EligibleUserPurged
|
|
30473
|
+
*/
|
|
30474
|
+
public static fromObject(object: { [k: string]: any }): EligibleUserPurged;
|
|
30475
|
+
|
|
30476
|
+
/**
|
|
30477
|
+
* Creates a plain object from an EligibleUserPurged message. Also converts values to other types if specified.
|
|
30478
|
+
* @param message EligibleUserPurged
|
|
30479
|
+
* @param [options] Conversion options
|
|
30480
|
+
* @returns Plain object
|
|
30481
|
+
*/
|
|
30482
|
+
public static toObject(message: EligibleUserPurged, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
30483
|
+
|
|
30484
|
+
/**
|
|
30485
|
+
* Converts this EligibleUserPurged to JSON.
|
|
30486
|
+
* @returns JSON object
|
|
30487
|
+
*/
|
|
30488
|
+
public toJSON(): { [k: string]: any };
|
|
30489
|
+
}
|
|
30490
|
+
|
|
30388
30491
|
/** Properties of an EligibleUserAmended. */
|
|
30389
30492
|
export interface IEligibleUserAmended {
|
|
30390
30493
|
|
package/lib/index.js
CHANGED
|
@@ -412,6 +412,7 @@ $root.auth0 = (function() {
|
|
|
412
412
|
* @property {number} CVENT_OKTA_SSO=34 CVENT_OKTA_SSO value
|
|
413
413
|
* @property {number} FLOCKSAFETY_OKTA_SSO=35 FLOCKSAFETY_OKTA_SSO value
|
|
414
414
|
* @property {number} WABTEC_OKTA_SSO=36 WABTEC_OKTA_SSO value
|
|
415
|
+
* @property {number} CITADEL_AZURE_SSO=37 CITADEL_AZURE_SSO value
|
|
415
416
|
*/
|
|
416
417
|
connections.Connection = (function() {
|
|
417
418
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -451,6 +452,7 @@ $root.auth0 = (function() {
|
|
|
451
452
|
values[valuesById[34] = "CVENT_OKTA_SSO"] = 34;
|
|
452
453
|
values[valuesById[35] = "FLOCKSAFETY_OKTA_SSO"] = 35;
|
|
453
454
|
values[valuesById[36] = "WABTEC_OKTA_SSO"] = 36;
|
|
455
|
+
values[valuesById[37] = "CITADEL_AZURE_SSO"] = 37;
|
|
454
456
|
return values;
|
|
455
457
|
})();
|
|
456
458
|
|
|
@@ -84480,6 +84482,252 @@ $root.EligibleUserRemoved = (function() {
|
|
|
84480
84482
|
return EligibleUserRemoved;
|
|
84481
84483
|
})();
|
|
84482
84484
|
|
|
84485
|
+
$root.EligibleUserPurged = (function() {
|
|
84486
|
+
|
|
84487
|
+
/**
|
|
84488
|
+
* Properties of an EligibleUserPurged.
|
|
84489
|
+
* @name IEligibleUserPurged
|
|
84490
|
+
* @interface IEligibleUserPurged
|
|
84491
|
+
* @property {string|null} [workEmail] EligibleUserPurged workEmail
|
|
84492
|
+
* @property {number|null} [b2bOrgId] EligibleUserPurged b2bOrgId
|
|
84493
|
+
* @property {number|Long|null} [timestamp] EligibleUserPurged timestamp
|
|
84494
|
+
*/
|
|
84495
|
+
|
|
84496
|
+
/**
|
|
84497
|
+
* Constructs a new EligibleUserPurged.
|
|
84498
|
+
* @name EligibleUserPurged
|
|
84499
|
+
* @classdesc Represents an EligibleUserPurged.
|
|
84500
|
+
* @implements IEligibleUserPurged
|
|
84501
|
+
* @constructor
|
|
84502
|
+
* @param {IEligibleUserPurged=} [properties] Properties to set
|
|
84503
|
+
*/
|
|
84504
|
+
function EligibleUserPurged(properties) {
|
|
84505
|
+
if (properties)
|
|
84506
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
84507
|
+
if (properties[keys[i]] != null)
|
|
84508
|
+
this[keys[i]] = properties[keys[i]];
|
|
84509
|
+
}
|
|
84510
|
+
|
|
84511
|
+
/**
|
|
84512
|
+
* EligibleUserPurged workEmail.
|
|
84513
|
+
* @member {string} workEmail
|
|
84514
|
+
* @memberof EligibleUserPurged
|
|
84515
|
+
* @instance
|
|
84516
|
+
*/
|
|
84517
|
+
EligibleUserPurged.prototype.workEmail = "";
|
|
84518
|
+
|
|
84519
|
+
/**
|
|
84520
|
+
* EligibleUserPurged b2bOrgId.
|
|
84521
|
+
* @member {number} b2bOrgId
|
|
84522
|
+
* @memberof EligibleUserPurged
|
|
84523
|
+
* @instance
|
|
84524
|
+
*/
|
|
84525
|
+
EligibleUserPurged.prototype.b2bOrgId = 0;
|
|
84526
|
+
|
|
84527
|
+
/**
|
|
84528
|
+
* EligibleUserPurged timestamp.
|
|
84529
|
+
* @member {number|Long} timestamp
|
|
84530
|
+
* @memberof EligibleUserPurged
|
|
84531
|
+
* @instance
|
|
84532
|
+
*/
|
|
84533
|
+
EligibleUserPurged.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
84534
|
+
|
|
84535
|
+
/**
|
|
84536
|
+
* Creates a new EligibleUserPurged instance using the specified properties.
|
|
84537
|
+
* @function create
|
|
84538
|
+
* @memberof EligibleUserPurged
|
|
84539
|
+
* @static
|
|
84540
|
+
* @param {IEligibleUserPurged=} [properties] Properties to set
|
|
84541
|
+
* @returns {EligibleUserPurged} EligibleUserPurged instance
|
|
84542
|
+
*/
|
|
84543
|
+
EligibleUserPurged.create = function create(properties) {
|
|
84544
|
+
return new EligibleUserPurged(properties);
|
|
84545
|
+
};
|
|
84546
|
+
|
|
84547
|
+
/**
|
|
84548
|
+
* Encodes the specified EligibleUserPurged message. Does not implicitly {@link EligibleUserPurged.verify|verify} messages.
|
|
84549
|
+
* @function encode
|
|
84550
|
+
* @memberof EligibleUserPurged
|
|
84551
|
+
* @static
|
|
84552
|
+
* @param {IEligibleUserPurged} message EligibleUserPurged message or plain object to encode
|
|
84553
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84554
|
+
* @returns {$protobuf.Writer} Writer
|
|
84555
|
+
*/
|
|
84556
|
+
EligibleUserPurged.encode = function encode(message, writer) {
|
|
84557
|
+
if (!writer)
|
|
84558
|
+
writer = $Writer.create();
|
|
84559
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
84560
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.workEmail);
|
|
84561
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84562
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.b2bOrgId);
|
|
84563
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84564
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
84565
|
+
return writer;
|
|
84566
|
+
};
|
|
84567
|
+
|
|
84568
|
+
/**
|
|
84569
|
+
* Encodes the specified EligibleUserPurged message, length delimited. Does not implicitly {@link EligibleUserPurged.verify|verify} messages.
|
|
84570
|
+
* @function encodeDelimited
|
|
84571
|
+
* @memberof EligibleUserPurged
|
|
84572
|
+
* @static
|
|
84573
|
+
* @param {IEligibleUserPurged} message EligibleUserPurged message or plain object to encode
|
|
84574
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84575
|
+
* @returns {$protobuf.Writer} Writer
|
|
84576
|
+
*/
|
|
84577
|
+
EligibleUserPurged.encodeDelimited = function encodeDelimited(message, writer) {
|
|
84578
|
+
return this.encode(message, writer).ldelim();
|
|
84579
|
+
};
|
|
84580
|
+
|
|
84581
|
+
/**
|
|
84582
|
+
* Decodes an EligibleUserPurged message from the specified reader or buffer.
|
|
84583
|
+
* @function decode
|
|
84584
|
+
* @memberof EligibleUserPurged
|
|
84585
|
+
* @static
|
|
84586
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84587
|
+
* @param {number} [length] Message length if known beforehand
|
|
84588
|
+
* @returns {EligibleUserPurged} EligibleUserPurged
|
|
84589
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84590
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84591
|
+
*/
|
|
84592
|
+
EligibleUserPurged.decode = function decode(reader, length) {
|
|
84593
|
+
if (!(reader instanceof $Reader))
|
|
84594
|
+
reader = $Reader.create(reader);
|
|
84595
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibleUserPurged();
|
|
84596
|
+
while (reader.pos < end) {
|
|
84597
|
+
var tag = reader.uint32();
|
|
84598
|
+
switch (tag >>> 3) {
|
|
84599
|
+
case 1:
|
|
84600
|
+
message.workEmail = reader.string();
|
|
84601
|
+
break;
|
|
84602
|
+
case 2:
|
|
84603
|
+
message.b2bOrgId = reader.uint32();
|
|
84604
|
+
break;
|
|
84605
|
+
case 3:
|
|
84606
|
+
message.timestamp = reader.uint64();
|
|
84607
|
+
break;
|
|
84608
|
+
default:
|
|
84609
|
+
reader.skipType(tag & 7);
|
|
84610
|
+
break;
|
|
84611
|
+
}
|
|
84612
|
+
}
|
|
84613
|
+
return message;
|
|
84614
|
+
};
|
|
84615
|
+
|
|
84616
|
+
/**
|
|
84617
|
+
* Decodes an EligibleUserPurged message from the specified reader or buffer, length delimited.
|
|
84618
|
+
* @function decodeDelimited
|
|
84619
|
+
* @memberof EligibleUserPurged
|
|
84620
|
+
* @static
|
|
84621
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84622
|
+
* @returns {EligibleUserPurged} EligibleUserPurged
|
|
84623
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84624
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84625
|
+
*/
|
|
84626
|
+
EligibleUserPurged.decodeDelimited = function decodeDelimited(reader) {
|
|
84627
|
+
if (!(reader instanceof $Reader))
|
|
84628
|
+
reader = new $Reader(reader);
|
|
84629
|
+
return this.decode(reader, reader.uint32());
|
|
84630
|
+
};
|
|
84631
|
+
|
|
84632
|
+
/**
|
|
84633
|
+
* Verifies an EligibleUserPurged message.
|
|
84634
|
+
* @function verify
|
|
84635
|
+
* @memberof EligibleUserPurged
|
|
84636
|
+
* @static
|
|
84637
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
84638
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
84639
|
+
*/
|
|
84640
|
+
EligibleUserPurged.verify = function verify(message) {
|
|
84641
|
+
if (typeof message !== "object" || message === null)
|
|
84642
|
+
return "object expected";
|
|
84643
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
84644
|
+
if (!$util.isString(message.workEmail))
|
|
84645
|
+
return "workEmail: string expected";
|
|
84646
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84647
|
+
if (!$util.isInteger(message.b2bOrgId))
|
|
84648
|
+
return "b2bOrgId: integer expected";
|
|
84649
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84650
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
84651
|
+
return "timestamp: integer|Long expected";
|
|
84652
|
+
return null;
|
|
84653
|
+
};
|
|
84654
|
+
|
|
84655
|
+
/**
|
|
84656
|
+
* Creates an EligibleUserPurged message from a plain object. Also converts values to their respective internal types.
|
|
84657
|
+
* @function fromObject
|
|
84658
|
+
* @memberof EligibleUserPurged
|
|
84659
|
+
* @static
|
|
84660
|
+
* @param {Object.<string,*>} object Plain object
|
|
84661
|
+
* @returns {EligibleUserPurged} EligibleUserPurged
|
|
84662
|
+
*/
|
|
84663
|
+
EligibleUserPurged.fromObject = function fromObject(object) {
|
|
84664
|
+
if (object instanceof $root.EligibleUserPurged)
|
|
84665
|
+
return object;
|
|
84666
|
+
var message = new $root.EligibleUserPurged();
|
|
84667
|
+
if (object.workEmail != null)
|
|
84668
|
+
message.workEmail = String(object.workEmail);
|
|
84669
|
+
if (object.b2bOrgId != null)
|
|
84670
|
+
message.b2bOrgId = object.b2bOrgId >>> 0;
|
|
84671
|
+
if (object.timestamp != null)
|
|
84672
|
+
if ($util.Long)
|
|
84673
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
84674
|
+
else if (typeof object.timestamp === "string")
|
|
84675
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
84676
|
+
else if (typeof object.timestamp === "number")
|
|
84677
|
+
message.timestamp = object.timestamp;
|
|
84678
|
+
else if (typeof object.timestamp === "object")
|
|
84679
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
84680
|
+
return message;
|
|
84681
|
+
};
|
|
84682
|
+
|
|
84683
|
+
/**
|
|
84684
|
+
* Creates a plain object from an EligibleUserPurged message. Also converts values to other types if specified.
|
|
84685
|
+
* @function toObject
|
|
84686
|
+
* @memberof EligibleUserPurged
|
|
84687
|
+
* @static
|
|
84688
|
+
* @param {EligibleUserPurged} message EligibleUserPurged
|
|
84689
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
84690
|
+
* @returns {Object.<string,*>} Plain object
|
|
84691
|
+
*/
|
|
84692
|
+
EligibleUserPurged.toObject = function toObject(message, options) {
|
|
84693
|
+
if (!options)
|
|
84694
|
+
options = {};
|
|
84695
|
+
var object = {};
|
|
84696
|
+
if (options.defaults) {
|
|
84697
|
+
object.workEmail = "";
|
|
84698
|
+
object.b2bOrgId = 0;
|
|
84699
|
+
if ($util.Long) {
|
|
84700
|
+
var long = new $util.Long(0, 0, true);
|
|
84701
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84702
|
+
} else
|
|
84703
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
84704
|
+
}
|
|
84705
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
84706
|
+
object.workEmail = message.workEmail;
|
|
84707
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84708
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
84709
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84710
|
+
if (typeof message.timestamp === "number")
|
|
84711
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
84712
|
+
else
|
|
84713
|
+
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;
|
|
84714
|
+
return object;
|
|
84715
|
+
};
|
|
84716
|
+
|
|
84717
|
+
/**
|
|
84718
|
+
* Converts this EligibleUserPurged to JSON.
|
|
84719
|
+
* @function toJSON
|
|
84720
|
+
* @memberof EligibleUserPurged
|
|
84721
|
+
* @instance
|
|
84722
|
+
* @returns {Object.<string,*>} JSON object
|
|
84723
|
+
*/
|
|
84724
|
+
EligibleUserPurged.prototype.toJSON = function toJSON() {
|
|
84725
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
84726
|
+
};
|
|
84727
|
+
|
|
84728
|
+
return EligibleUserPurged;
|
|
84729
|
+
})();
|
|
84730
|
+
|
|
84483
84731
|
$root.EligibleUserAmended = (function() {
|
|
84484
84732
|
|
|
84485
84733
|
/**
|
package/package.json
CHANGED