@headspace/protos-events 1.166.0 → 1.167.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 +102 -0
- package/lib/index.js +246 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4554,6 +4554,108 @@ export class UnlinkedConnection implements IUnlinkedConnection {
|
|
|
4554
4554
|
public toJSON(): { [k: string]: any };
|
|
4555
4555
|
}
|
|
4556
4556
|
|
|
4557
|
+
/** Properties of a BlockedUnverifiedEmail. */
|
|
4558
|
+
export interface IBlockedUnverifiedEmail {
|
|
4559
|
+
|
|
4560
|
+
/** BlockedUnverifiedEmail hsId */
|
|
4561
|
+
hsId?: (string|null);
|
|
4562
|
+
|
|
4563
|
+
/** BlockedUnverifiedEmail email */
|
|
4564
|
+
email?: (string|null);
|
|
4565
|
+
|
|
4566
|
+
/** BlockedUnverifiedEmail timestampMillis */
|
|
4567
|
+
timestampMillis?: (number|Long|null);
|
|
4568
|
+
}
|
|
4569
|
+
|
|
4570
|
+
/** Represents a BlockedUnverifiedEmail. */
|
|
4571
|
+
export class BlockedUnverifiedEmail implements IBlockedUnverifiedEmail {
|
|
4572
|
+
|
|
4573
|
+
/**
|
|
4574
|
+
* Constructs a new BlockedUnverifiedEmail.
|
|
4575
|
+
* @param [properties] Properties to set
|
|
4576
|
+
*/
|
|
4577
|
+
constructor(properties?: IBlockedUnverifiedEmail);
|
|
4578
|
+
|
|
4579
|
+
/** BlockedUnverifiedEmail hsId. */
|
|
4580
|
+
public hsId: string;
|
|
4581
|
+
|
|
4582
|
+
/** BlockedUnverifiedEmail email. */
|
|
4583
|
+
public email: string;
|
|
4584
|
+
|
|
4585
|
+
/** BlockedUnverifiedEmail timestampMillis. */
|
|
4586
|
+
public timestampMillis: (number|Long);
|
|
4587
|
+
|
|
4588
|
+
/**
|
|
4589
|
+
* Creates a new BlockedUnverifiedEmail instance using the specified properties.
|
|
4590
|
+
* @param [properties] Properties to set
|
|
4591
|
+
* @returns BlockedUnverifiedEmail instance
|
|
4592
|
+
*/
|
|
4593
|
+
public static create(properties?: IBlockedUnverifiedEmail): BlockedUnverifiedEmail;
|
|
4594
|
+
|
|
4595
|
+
/**
|
|
4596
|
+
* Encodes the specified BlockedUnverifiedEmail message. Does not implicitly {@link BlockedUnverifiedEmail.verify|verify} messages.
|
|
4597
|
+
* @param message BlockedUnverifiedEmail message or plain object to encode
|
|
4598
|
+
* @param [writer] Writer to encode to
|
|
4599
|
+
* @returns Writer
|
|
4600
|
+
*/
|
|
4601
|
+
public static encode(message: IBlockedUnverifiedEmail, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4602
|
+
|
|
4603
|
+
/**
|
|
4604
|
+
* Encodes the specified BlockedUnverifiedEmail message, length delimited. Does not implicitly {@link BlockedUnverifiedEmail.verify|verify} messages.
|
|
4605
|
+
* @param message BlockedUnverifiedEmail message or plain object to encode
|
|
4606
|
+
* @param [writer] Writer to encode to
|
|
4607
|
+
* @returns Writer
|
|
4608
|
+
*/
|
|
4609
|
+
public static encodeDelimited(message: IBlockedUnverifiedEmail, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4610
|
+
|
|
4611
|
+
/**
|
|
4612
|
+
* Decodes a BlockedUnverifiedEmail message from the specified reader or buffer.
|
|
4613
|
+
* @param reader Reader or buffer to decode from
|
|
4614
|
+
* @param [length] Message length if known beforehand
|
|
4615
|
+
* @returns BlockedUnverifiedEmail
|
|
4616
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4617
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4618
|
+
*/
|
|
4619
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BlockedUnverifiedEmail;
|
|
4620
|
+
|
|
4621
|
+
/**
|
|
4622
|
+
* Decodes a BlockedUnverifiedEmail message from the specified reader or buffer, length delimited.
|
|
4623
|
+
* @param reader Reader or buffer to decode from
|
|
4624
|
+
* @returns BlockedUnverifiedEmail
|
|
4625
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4626
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4627
|
+
*/
|
|
4628
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BlockedUnverifiedEmail;
|
|
4629
|
+
|
|
4630
|
+
/**
|
|
4631
|
+
* Verifies a BlockedUnverifiedEmail message.
|
|
4632
|
+
* @param message Plain object to verify
|
|
4633
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4634
|
+
*/
|
|
4635
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4636
|
+
|
|
4637
|
+
/**
|
|
4638
|
+
* Creates a BlockedUnverifiedEmail message from a plain object. Also converts values to their respective internal types.
|
|
4639
|
+
* @param object Plain object
|
|
4640
|
+
* @returns BlockedUnverifiedEmail
|
|
4641
|
+
*/
|
|
4642
|
+
public static fromObject(object: { [k: string]: any }): BlockedUnverifiedEmail;
|
|
4643
|
+
|
|
4644
|
+
/**
|
|
4645
|
+
* Creates a plain object from a BlockedUnverifiedEmail message. Also converts values to other types if specified.
|
|
4646
|
+
* @param message BlockedUnverifiedEmail
|
|
4647
|
+
* @param [options] Conversion options
|
|
4648
|
+
* @returns Plain object
|
|
4649
|
+
*/
|
|
4650
|
+
public static toObject(message: BlockedUnverifiedEmail, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4651
|
+
|
|
4652
|
+
/**
|
|
4653
|
+
* Converts this BlockedUnverifiedEmail to JSON.
|
|
4654
|
+
* @returns JSON object
|
|
4655
|
+
*/
|
|
4656
|
+
public toJSON(): { [k: string]: any };
|
|
4657
|
+
}
|
|
4658
|
+
|
|
4557
4659
|
/** Properties of an Auth0PasswordResetCompleted. */
|
|
4558
4660
|
export interface IAuth0PasswordResetCompleted {
|
|
4559
4661
|
|
package/lib/index.js
CHANGED
|
@@ -10863,6 +10863,252 @@ $root.UnlinkedConnection = (function() {
|
|
|
10863
10863
|
return UnlinkedConnection;
|
|
10864
10864
|
})();
|
|
10865
10865
|
|
|
10866
|
+
$root.BlockedUnverifiedEmail = (function() {
|
|
10867
|
+
|
|
10868
|
+
/**
|
|
10869
|
+
* Properties of a BlockedUnverifiedEmail.
|
|
10870
|
+
* @exports IBlockedUnverifiedEmail
|
|
10871
|
+
* @interface IBlockedUnverifiedEmail
|
|
10872
|
+
* @property {string|null} [hsId] BlockedUnverifiedEmail hsId
|
|
10873
|
+
* @property {string|null} [email] BlockedUnverifiedEmail email
|
|
10874
|
+
* @property {number|Long|null} [timestampMillis] BlockedUnverifiedEmail timestampMillis
|
|
10875
|
+
*/
|
|
10876
|
+
|
|
10877
|
+
/**
|
|
10878
|
+
* Constructs a new BlockedUnverifiedEmail.
|
|
10879
|
+
* @exports BlockedUnverifiedEmail
|
|
10880
|
+
* @classdesc Represents a BlockedUnverifiedEmail.
|
|
10881
|
+
* @implements IBlockedUnverifiedEmail
|
|
10882
|
+
* @constructor
|
|
10883
|
+
* @param {IBlockedUnverifiedEmail=} [properties] Properties to set
|
|
10884
|
+
*/
|
|
10885
|
+
function BlockedUnverifiedEmail(properties) {
|
|
10886
|
+
if (properties)
|
|
10887
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
10888
|
+
if (properties[keys[i]] != null)
|
|
10889
|
+
this[keys[i]] = properties[keys[i]];
|
|
10890
|
+
}
|
|
10891
|
+
|
|
10892
|
+
/**
|
|
10893
|
+
* BlockedUnverifiedEmail hsId.
|
|
10894
|
+
* @member {string} hsId
|
|
10895
|
+
* @memberof BlockedUnverifiedEmail
|
|
10896
|
+
* @instance
|
|
10897
|
+
*/
|
|
10898
|
+
BlockedUnverifiedEmail.prototype.hsId = "";
|
|
10899
|
+
|
|
10900
|
+
/**
|
|
10901
|
+
* BlockedUnverifiedEmail email.
|
|
10902
|
+
* @member {string} email
|
|
10903
|
+
* @memberof BlockedUnverifiedEmail
|
|
10904
|
+
* @instance
|
|
10905
|
+
*/
|
|
10906
|
+
BlockedUnverifiedEmail.prototype.email = "";
|
|
10907
|
+
|
|
10908
|
+
/**
|
|
10909
|
+
* BlockedUnverifiedEmail timestampMillis.
|
|
10910
|
+
* @member {number|Long} timestampMillis
|
|
10911
|
+
* @memberof BlockedUnverifiedEmail
|
|
10912
|
+
* @instance
|
|
10913
|
+
*/
|
|
10914
|
+
BlockedUnverifiedEmail.prototype.timestampMillis = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
10915
|
+
|
|
10916
|
+
/**
|
|
10917
|
+
* Creates a new BlockedUnverifiedEmail instance using the specified properties.
|
|
10918
|
+
* @function create
|
|
10919
|
+
* @memberof BlockedUnverifiedEmail
|
|
10920
|
+
* @static
|
|
10921
|
+
* @param {IBlockedUnverifiedEmail=} [properties] Properties to set
|
|
10922
|
+
* @returns {BlockedUnverifiedEmail} BlockedUnverifiedEmail instance
|
|
10923
|
+
*/
|
|
10924
|
+
BlockedUnverifiedEmail.create = function create(properties) {
|
|
10925
|
+
return new BlockedUnverifiedEmail(properties);
|
|
10926
|
+
};
|
|
10927
|
+
|
|
10928
|
+
/**
|
|
10929
|
+
* Encodes the specified BlockedUnverifiedEmail message. Does not implicitly {@link BlockedUnverifiedEmail.verify|verify} messages.
|
|
10930
|
+
* @function encode
|
|
10931
|
+
* @memberof BlockedUnverifiedEmail
|
|
10932
|
+
* @static
|
|
10933
|
+
* @param {IBlockedUnverifiedEmail} message BlockedUnverifiedEmail message or plain object to encode
|
|
10934
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
10935
|
+
* @returns {$protobuf.Writer} Writer
|
|
10936
|
+
*/
|
|
10937
|
+
BlockedUnverifiedEmail.encode = function encode(message, writer) {
|
|
10938
|
+
if (!writer)
|
|
10939
|
+
writer = $Writer.create();
|
|
10940
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
10941
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
10942
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
10943
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
|
|
10944
|
+
if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
|
|
10945
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestampMillis);
|
|
10946
|
+
return writer;
|
|
10947
|
+
};
|
|
10948
|
+
|
|
10949
|
+
/**
|
|
10950
|
+
* Encodes the specified BlockedUnverifiedEmail message, length delimited. Does not implicitly {@link BlockedUnverifiedEmail.verify|verify} messages.
|
|
10951
|
+
* @function encodeDelimited
|
|
10952
|
+
* @memberof BlockedUnverifiedEmail
|
|
10953
|
+
* @static
|
|
10954
|
+
* @param {IBlockedUnverifiedEmail} message BlockedUnverifiedEmail message or plain object to encode
|
|
10955
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
10956
|
+
* @returns {$protobuf.Writer} Writer
|
|
10957
|
+
*/
|
|
10958
|
+
BlockedUnverifiedEmail.encodeDelimited = function encodeDelimited(message, writer) {
|
|
10959
|
+
return this.encode(message, writer).ldelim();
|
|
10960
|
+
};
|
|
10961
|
+
|
|
10962
|
+
/**
|
|
10963
|
+
* Decodes a BlockedUnverifiedEmail message from the specified reader or buffer.
|
|
10964
|
+
* @function decode
|
|
10965
|
+
* @memberof BlockedUnverifiedEmail
|
|
10966
|
+
* @static
|
|
10967
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
10968
|
+
* @param {number} [length] Message length if known beforehand
|
|
10969
|
+
* @returns {BlockedUnverifiedEmail} BlockedUnverifiedEmail
|
|
10970
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10971
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10972
|
+
*/
|
|
10973
|
+
BlockedUnverifiedEmail.decode = function decode(reader, length) {
|
|
10974
|
+
if (!(reader instanceof $Reader))
|
|
10975
|
+
reader = $Reader.create(reader);
|
|
10976
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.BlockedUnverifiedEmail();
|
|
10977
|
+
while (reader.pos < end) {
|
|
10978
|
+
var tag = reader.uint32();
|
|
10979
|
+
switch (tag >>> 3) {
|
|
10980
|
+
case 1:
|
|
10981
|
+
message.hsId = reader.string();
|
|
10982
|
+
break;
|
|
10983
|
+
case 2:
|
|
10984
|
+
message.email = reader.string();
|
|
10985
|
+
break;
|
|
10986
|
+
case 3:
|
|
10987
|
+
message.timestampMillis = reader.uint64();
|
|
10988
|
+
break;
|
|
10989
|
+
default:
|
|
10990
|
+
reader.skipType(tag & 7);
|
|
10991
|
+
break;
|
|
10992
|
+
}
|
|
10993
|
+
}
|
|
10994
|
+
return message;
|
|
10995
|
+
};
|
|
10996
|
+
|
|
10997
|
+
/**
|
|
10998
|
+
* Decodes a BlockedUnverifiedEmail message from the specified reader or buffer, length delimited.
|
|
10999
|
+
* @function decodeDelimited
|
|
11000
|
+
* @memberof BlockedUnverifiedEmail
|
|
11001
|
+
* @static
|
|
11002
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11003
|
+
* @returns {BlockedUnverifiedEmail} BlockedUnverifiedEmail
|
|
11004
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11005
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11006
|
+
*/
|
|
11007
|
+
BlockedUnverifiedEmail.decodeDelimited = function decodeDelimited(reader) {
|
|
11008
|
+
if (!(reader instanceof $Reader))
|
|
11009
|
+
reader = new $Reader(reader);
|
|
11010
|
+
return this.decode(reader, reader.uint32());
|
|
11011
|
+
};
|
|
11012
|
+
|
|
11013
|
+
/**
|
|
11014
|
+
* Verifies a BlockedUnverifiedEmail message.
|
|
11015
|
+
* @function verify
|
|
11016
|
+
* @memberof BlockedUnverifiedEmail
|
|
11017
|
+
* @static
|
|
11018
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
11019
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
11020
|
+
*/
|
|
11021
|
+
BlockedUnverifiedEmail.verify = function verify(message) {
|
|
11022
|
+
if (typeof message !== "object" || message === null)
|
|
11023
|
+
return "object expected";
|
|
11024
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
11025
|
+
if (!$util.isString(message.hsId))
|
|
11026
|
+
return "hsId: string expected";
|
|
11027
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
11028
|
+
if (!$util.isString(message.email))
|
|
11029
|
+
return "email: string expected";
|
|
11030
|
+
if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
|
|
11031
|
+
if (!$util.isInteger(message.timestampMillis) && !(message.timestampMillis && $util.isInteger(message.timestampMillis.low) && $util.isInteger(message.timestampMillis.high)))
|
|
11032
|
+
return "timestampMillis: integer|Long expected";
|
|
11033
|
+
return null;
|
|
11034
|
+
};
|
|
11035
|
+
|
|
11036
|
+
/**
|
|
11037
|
+
* Creates a BlockedUnverifiedEmail message from a plain object. Also converts values to their respective internal types.
|
|
11038
|
+
* @function fromObject
|
|
11039
|
+
* @memberof BlockedUnverifiedEmail
|
|
11040
|
+
* @static
|
|
11041
|
+
* @param {Object.<string,*>} object Plain object
|
|
11042
|
+
* @returns {BlockedUnverifiedEmail} BlockedUnverifiedEmail
|
|
11043
|
+
*/
|
|
11044
|
+
BlockedUnverifiedEmail.fromObject = function fromObject(object) {
|
|
11045
|
+
if (object instanceof $root.BlockedUnverifiedEmail)
|
|
11046
|
+
return object;
|
|
11047
|
+
var message = new $root.BlockedUnverifiedEmail();
|
|
11048
|
+
if (object.hsId != null)
|
|
11049
|
+
message.hsId = String(object.hsId);
|
|
11050
|
+
if (object.email != null)
|
|
11051
|
+
message.email = String(object.email);
|
|
11052
|
+
if (object.timestampMillis != null)
|
|
11053
|
+
if ($util.Long)
|
|
11054
|
+
(message.timestampMillis = $util.Long.fromValue(object.timestampMillis)).unsigned = true;
|
|
11055
|
+
else if (typeof object.timestampMillis === "string")
|
|
11056
|
+
message.timestampMillis = parseInt(object.timestampMillis, 10);
|
|
11057
|
+
else if (typeof object.timestampMillis === "number")
|
|
11058
|
+
message.timestampMillis = object.timestampMillis;
|
|
11059
|
+
else if (typeof object.timestampMillis === "object")
|
|
11060
|
+
message.timestampMillis = new $util.LongBits(object.timestampMillis.low >>> 0, object.timestampMillis.high >>> 0).toNumber(true);
|
|
11061
|
+
return message;
|
|
11062
|
+
};
|
|
11063
|
+
|
|
11064
|
+
/**
|
|
11065
|
+
* Creates a plain object from a BlockedUnverifiedEmail message. Also converts values to other types if specified.
|
|
11066
|
+
* @function toObject
|
|
11067
|
+
* @memberof BlockedUnverifiedEmail
|
|
11068
|
+
* @static
|
|
11069
|
+
* @param {BlockedUnverifiedEmail} message BlockedUnverifiedEmail
|
|
11070
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
11071
|
+
* @returns {Object.<string,*>} Plain object
|
|
11072
|
+
*/
|
|
11073
|
+
BlockedUnverifiedEmail.toObject = function toObject(message, options) {
|
|
11074
|
+
if (!options)
|
|
11075
|
+
options = {};
|
|
11076
|
+
var object = {};
|
|
11077
|
+
if (options.defaults) {
|
|
11078
|
+
object.hsId = "";
|
|
11079
|
+
object.email = "";
|
|
11080
|
+
if ($util.Long) {
|
|
11081
|
+
var long = new $util.Long(0, 0, true);
|
|
11082
|
+
object.timestampMillis = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
11083
|
+
} else
|
|
11084
|
+
object.timestampMillis = options.longs === String ? "0" : 0;
|
|
11085
|
+
}
|
|
11086
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
11087
|
+
object.hsId = message.hsId;
|
|
11088
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
11089
|
+
object.email = message.email;
|
|
11090
|
+
if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
|
|
11091
|
+
if (typeof message.timestampMillis === "number")
|
|
11092
|
+
object.timestampMillis = options.longs === String ? String(message.timestampMillis) : message.timestampMillis;
|
|
11093
|
+
else
|
|
11094
|
+
object.timestampMillis = options.longs === String ? $util.Long.prototype.toString.call(message.timestampMillis) : options.longs === Number ? new $util.LongBits(message.timestampMillis.low >>> 0, message.timestampMillis.high >>> 0).toNumber(true) : message.timestampMillis;
|
|
11095
|
+
return object;
|
|
11096
|
+
};
|
|
11097
|
+
|
|
11098
|
+
/**
|
|
11099
|
+
* Converts this BlockedUnverifiedEmail to JSON.
|
|
11100
|
+
* @function toJSON
|
|
11101
|
+
* @memberof BlockedUnverifiedEmail
|
|
11102
|
+
* @instance
|
|
11103
|
+
* @returns {Object.<string,*>} JSON object
|
|
11104
|
+
*/
|
|
11105
|
+
BlockedUnverifiedEmail.prototype.toJSON = function toJSON() {
|
|
11106
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
11107
|
+
};
|
|
11108
|
+
|
|
11109
|
+
return BlockedUnverifiedEmail;
|
|
11110
|
+
})();
|
|
11111
|
+
|
|
10866
11112
|
$root.Auth0PasswordResetCompleted = (function() {
|
|
10867
11113
|
|
|
10868
11114
|
/**
|
package/package.json
CHANGED