@headspace/protos-events 1.115.0 → 1.117.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
|
@@ -5278,6 +5278,108 @@ export class UserPasswordResetCreated implements IUserPasswordResetCreated {
|
|
|
5278
5278
|
public toJSON(): { [k: string]: any };
|
|
5279
5279
|
}
|
|
5280
5280
|
|
|
5281
|
+
/** Properties of a UserPasswordResetCompleted. */
|
|
5282
|
+
export interface IUserPasswordResetCompleted {
|
|
5283
|
+
|
|
5284
|
+
/** UserPasswordResetCompleted hsId */
|
|
5285
|
+
hsId?: (string|null);
|
|
5286
|
+
|
|
5287
|
+
/** UserPasswordResetCompleted email */
|
|
5288
|
+
email?: (string|null);
|
|
5289
|
+
|
|
5290
|
+
/** UserPasswordResetCompleted timestampMillis */
|
|
5291
|
+
timestampMillis?: (number|Long|null);
|
|
5292
|
+
}
|
|
5293
|
+
|
|
5294
|
+
/** Represents a UserPasswordResetCompleted. */
|
|
5295
|
+
export class UserPasswordResetCompleted implements IUserPasswordResetCompleted {
|
|
5296
|
+
|
|
5297
|
+
/**
|
|
5298
|
+
* Constructs a new UserPasswordResetCompleted.
|
|
5299
|
+
* @param [properties] Properties to set
|
|
5300
|
+
*/
|
|
5301
|
+
constructor(properties?: IUserPasswordResetCompleted);
|
|
5302
|
+
|
|
5303
|
+
/** UserPasswordResetCompleted hsId. */
|
|
5304
|
+
public hsId: string;
|
|
5305
|
+
|
|
5306
|
+
/** UserPasswordResetCompleted email. */
|
|
5307
|
+
public email: string;
|
|
5308
|
+
|
|
5309
|
+
/** UserPasswordResetCompleted timestampMillis. */
|
|
5310
|
+
public timestampMillis: (number|Long);
|
|
5311
|
+
|
|
5312
|
+
/**
|
|
5313
|
+
* Creates a new UserPasswordResetCompleted instance using the specified properties.
|
|
5314
|
+
* @param [properties] Properties to set
|
|
5315
|
+
* @returns UserPasswordResetCompleted instance
|
|
5316
|
+
*/
|
|
5317
|
+
public static create(properties?: IUserPasswordResetCompleted): UserPasswordResetCompleted;
|
|
5318
|
+
|
|
5319
|
+
/**
|
|
5320
|
+
* Encodes the specified UserPasswordResetCompleted message. Does not implicitly {@link UserPasswordResetCompleted.verify|verify} messages.
|
|
5321
|
+
* @param message UserPasswordResetCompleted message or plain object to encode
|
|
5322
|
+
* @param [writer] Writer to encode to
|
|
5323
|
+
* @returns Writer
|
|
5324
|
+
*/
|
|
5325
|
+
public static encode(message: IUserPasswordResetCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5326
|
+
|
|
5327
|
+
/**
|
|
5328
|
+
* Encodes the specified UserPasswordResetCompleted message, length delimited. Does not implicitly {@link UserPasswordResetCompleted.verify|verify} messages.
|
|
5329
|
+
* @param message UserPasswordResetCompleted message or plain object to encode
|
|
5330
|
+
* @param [writer] Writer to encode to
|
|
5331
|
+
* @returns Writer
|
|
5332
|
+
*/
|
|
5333
|
+
public static encodeDelimited(message: IUserPasswordResetCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5334
|
+
|
|
5335
|
+
/**
|
|
5336
|
+
* Decodes a UserPasswordResetCompleted message from the specified reader or buffer.
|
|
5337
|
+
* @param reader Reader or buffer to decode from
|
|
5338
|
+
* @param [length] Message length if known beforehand
|
|
5339
|
+
* @returns UserPasswordResetCompleted
|
|
5340
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5341
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5342
|
+
*/
|
|
5343
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserPasswordResetCompleted;
|
|
5344
|
+
|
|
5345
|
+
/**
|
|
5346
|
+
* Decodes a UserPasswordResetCompleted message from the specified reader or buffer, length delimited.
|
|
5347
|
+
* @param reader Reader or buffer to decode from
|
|
5348
|
+
* @returns UserPasswordResetCompleted
|
|
5349
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5350
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5351
|
+
*/
|
|
5352
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserPasswordResetCompleted;
|
|
5353
|
+
|
|
5354
|
+
/**
|
|
5355
|
+
* Verifies a UserPasswordResetCompleted message.
|
|
5356
|
+
* @param message Plain object to verify
|
|
5357
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5358
|
+
*/
|
|
5359
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5360
|
+
|
|
5361
|
+
/**
|
|
5362
|
+
* Creates a UserPasswordResetCompleted message from a plain object. Also converts values to their respective internal types.
|
|
5363
|
+
* @param object Plain object
|
|
5364
|
+
* @returns UserPasswordResetCompleted
|
|
5365
|
+
*/
|
|
5366
|
+
public static fromObject(object: { [k: string]: any }): UserPasswordResetCompleted;
|
|
5367
|
+
|
|
5368
|
+
/**
|
|
5369
|
+
* Creates a plain object from a UserPasswordResetCompleted message. Also converts values to other types if specified.
|
|
5370
|
+
* @param message UserPasswordResetCompleted
|
|
5371
|
+
* @param [options] Conversion options
|
|
5372
|
+
* @returns Plain object
|
|
5373
|
+
*/
|
|
5374
|
+
public static toObject(message: UserPasswordResetCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5375
|
+
|
|
5376
|
+
/**
|
|
5377
|
+
* Converts this UserPasswordResetCompleted to JSON.
|
|
5378
|
+
* @returns JSON object
|
|
5379
|
+
*/
|
|
5380
|
+
public toJSON(): { [k: string]: any };
|
|
5381
|
+
}
|
|
5382
|
+
|
|
5281
5383
|
/** Properties of a CompletedActivity. */
|
|
5282
5384
|
export interface ICompletedActivity {
|
|
5283
5385
|
|
package/lib/index.js
CHANGED
|
@@ -13495,6 +13495,252 @@ $root.UserPasswordResetCreated = (function() {
|
|
|
13495
13495
|
return UserPasswordResetCreated;
|
|
13496
13496
|
})();
|
|
13497
13497
|
|
|
13498
|
+
$root.UserPasswordResetCompleted = (function() {
|
|
13499
|
+
|
|
13500
|
+
/**
|
|
13501
|
+
* Properties of a UserPasswordResetCompleted.
|
|
13502
|
+
* @exports IUserPasswordResetCompleted
|
|
13503
|
+
* @interface IUserPasswordResetCompleted
|
|
13504
|
+
* @property {string|null} [hsId] UserPasswordResetCompleted hsId
|
|
13505
|
+
* @property {string|null} [email] UserPasswordResetCompleted email
|
|
13506
|
+
* @property {number|Long|null} [timestampMillis] UserPasswordResetCompleted timestampMillis
|
|
13507
|
+
*/
|
|
13508
|
+
|
|
13509
|
+
/**
|
|
13510
|
+
* Constructs a new UserPasswordResetCompleted.
|
|
13511
|
+
* @exports UserPasswordResetCompleted
|
|
13512
|
+
* @classdesc Represents a UserPasswordResetCompleted.
|
|
13513
|
+
* @implements IUserPasswordResetCompleted
|
|
13514
|
+
* @constructor
|
|
13515
|
+
* @param {IUserPasswordResetCompleted=} [properties] Properties to set
|
|
13516
|
+
*/
|
|
13517
|
+
function UserPasswordResetCompleted(properties) {
|
|
13518
|
+
if (properties)
|
|
13519
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
13520
|
+
if (properties[keys[i]] != null)
|
|
13521
|
+
this[keys[i]] = properties[keys[i]];
|
|
13522
|
+
}
|
|
13523
|
+
|
|
13524
|
+
/**
|
|
13525
|
+
* UserPasswordResetCompleted hsId.
|
|
13526
|
+
* @member {string} hsId
|
|
13527
|
+
* @memberof UserPasswordResetCompleted
|
|
13528
|
+
* @instance
|
|
13529
|
+
*/
|
|
13530
|
+
UserPasswordResetCompleted.prototype.hsId = "";
|
|
13531
|
+
|
|
13532
|
+
/**
|
|
13533
|
+
* UserPasswordResetCompleted email.
|
|
13534
|
+
* @member {string} email
|
|
13535
|
+
* @memberof UserPasswordResetCompleted
|
|
13536
|
+
* @instance
|
|
13537
|
+
*/
|
|
13538
|
+
UserPasswordResetCompleted.prototype.email = "";
|
|
13539
|
+
|
|
13540
|
+
/**
|
|
13541
|
+
* UserPasswordResetCompleted timestampMillis.
|
|
13542
|
+
* @member {number|Long} timestampMillis
|
|
13543
|
+
* @memberof UserPasswordResetCompleted
|
|
13544
|
+
* @instance
|
|
13545
|
+
*/
|
|
13546
|
+
UserPasswordResetCompleted.prototype.timestampMillis = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
13547
|
+
|
|
13548
|
+
/**
|
|
13549
|
+
* Creates a new UserPasswordResetCompleted instance using the specified properties.
|
|
13550
|
+
* @function create
|
|
13551
|
+
* @memberof UserPasswordResetCompleted
|
|
13552
|
+
* @static
|
|
13553
|
+
* @param {IUserPasswordResetCompleted=} [properties] Properties to set
|
|
13554
|
+
* @returns {UserPasswordResetCompleted} UserPasswordResetCompleted instance
|
|
13555
|
+
*/
|
|
13556
|
+
UserPasswordResetCompleted.create = function create(properties) {
|
|
13557
|
+
return new UserPasswordResetCompleted(properties);
|
|
13558
|
+
};
|
|
13559
|
+
|
|
13560
|
+
/**
|
|
13561
|
+
* Encodes the specified UserPasswordResetCompleted message. Does not implicitly {@link UserPasswordResetCompleted.verify|verify} messages.
|
|
13562
|
+
* @function encode
|
|
13563
|
+
* @memberof UserPasswordResetCompleted
|
|
13564
|
+
* @static
|
|
13565
|
+
* @param {IUserPasswordResetCompleted} message UserPasswordResetCompleted message or plain object to encode
|
|
13566
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
13567
|
+
* @returns {$protobuf.Writer} Writer
|
|
13568
|
+
*/
|
|
13569
|
+
UserPasswordResetCompleted.encode = function encode(message, writer) {
|
|
13570
|
+
if (!writer)
|
|
13571
|
+
writer = $Writer.create();
|
|
13572
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
13573
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
13574
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
13575
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
|
|
13576
|
+
if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
|
|
13577
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestampMillis);
|
|
13578
|
+
return writer;
|
|
13579
|
+
};
|
|
13580
|
+
|
|
13581
|
+
/**
|
|
13582
|
+
* Encodes the specified UserPasswordResetCompleted message, length delimited. Does not implicitly {@link UserPasswordResetCompleted.verify|verify} messages.
|
|
13583
|
+
* @function encodeDelimited
|
|
13584
|
+
* @memberof UserPasswordResetCompleted
|
|
13585
|
+
* @static
|
|
13586
|
+
* @param {IUserPasswordResetCompleted} message UserPasswordResetCompleted message or plain object to encode
|
|
13587
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
13588
|
+
* @returns {$protobuf.Writer} Writer
|
|
13589
|
+
*/
|
|
13590
|
+
UserPasswordResetCompleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
13591
|
+
return this.encode(message, writer).ldelim();
|
|
13592
|
+
};
|
|
13593
|
+
|
|
13594
|
+
/**
|
|
13595
|
+
* Decodes a UserPasswordResetCompleted message from the specified reader or buffer.
|
|
13596
|
+
* @function decode
|
|
13597
|
+
* @memberof UserPasswordResetCompleted
|
|
13598
|
+
* @static
|
|
13599
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
13600
|
+
* @param {number} [length] Message length if known beforehand
|
|
13601
|
+
* @returns {UserPasswordResetCompleted} UserPasswordResetCompleted
|
|
13602
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13603
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13604
|
+
*/
|
|
13605
|
+
UserPasswordResetCompleted.decode = function decode(reader, length) {
|
|
13606
|
+
if (!(reader instanceof $Reader))
|
|
13607
|
+
reader = $Reader.create(reader);
|
|
13608
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserPasswordResetCompleted();
|
|
13609
|
+
while (reader.pos < end) {
|
|
13610
|
+
var tag = reader.uint32();
|
|
13611
|
+
switch (tag >>> 3) {
|
|
13612
|
+
case 1:
|
|
13613
|
+
message.hsId = reader.string();
|
|
13614
|
+
break;
|
|
13615
|
+
case 2:
|
|
13616
|
+
message.email = reader.string();
|
|
13617
|
+
break;
|
|
13618
|
+
case 3:
|
|
13619
|
+
message.timestampMillis = reader.uint64();
|
|
13620
|
+
break;
|
|
13621
|
+
default:
|
|
13622
|
+
reader.skipType(tag & 7);
|
|
13623
|
+
break;
|
|
13624
|
+
}
|
|
13625
|
+
}
|
|
13626
|
+
return message;
|
|
13627
|
+
};
|
|
13628
|
+
|
|
13629
|
+
/**
|
|
13630
|
+
* Decodes a UserPasswordResetCompleted message from the specified reader or buffer, length delimited.
|
|
13631
|
+
* @function decodeDelimited
|
|
13632
|
+
* @memberof UserPasswordResetCompleted
|
|
13633
|
+
* @static
|
|
13634
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
13635
|
+
* @returns {UserPasswordResetCompleted} UserPasswordResetCompleted
|
|
13636
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13637
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13638
|
+
*/
|
|
13639
|
+
UserPasswordResetCompleted.decodeDelimited = function decodeDelimited(reader) {
|
|
13640
|
+
if (!(reader instanceof $Reader))
|
|
13641
|
+
reader = new $Reader(reader);
|
|
13642
|
+
return this.decode(reader, reader.uint32());
|
|
13643
|
+
};
|
|
13644
|
+
|
|
13645
|
+
/**
|
|
13646
|
+
* Verifies a UserPasswordResetCompleted message.
|
|
13647
|
+
* @function verify
|
|
13648
|
+
* @memberof UserPasswordResetCompleted
|
|
13649
|
+
* @static
|
|
13650
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
13651
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
13652
|
+
*/
|
|
13653
|
+
UserPasswordResetCompleted.verify = function verify(message) {
|
|
13654
|
+
if (typeof message !== "object" || message === null)
|
|
13655
|
+
return "object expected";
|
|
13656
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
13657
|
+
if (!$util.isString(message.hsId))
|
|
13658
|
+
return "hsId: string expected";
|
|
13659
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
13660
|
+
if (!$util.isString(message.email))
|
|
13661
|
+
return "email: string expected";
|
|
13662
|
+
if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
|
|
13663
|
+
if (!$util.isInteger(message.timestampMillis) && !(message.timestampMillis && $util.isInteger(message.timestampMillis.low) && $util.isInteger(message.timestampMillis.high)))
|
|
13664
|
+
return "timestampMillis: integer|Long expected";
|
|
13665
|
+
return null;
|
|
13666
|
+
};
|
|
13667
|
+
|
|
13668
|
+
/**
|
|
13669
|
+
* Creates a UserPasswordResetCompleted message from a plain object. Also converts values to their respective internal types.
|
|
13670
|
+
* @function fromObject
|
|
13671
|
+
* @memberof UserPasswordResetCompleted
|
|
13672
|
+
* @static
|
|
13673
|
+
* @param {Object.<string,*>} object Plain object
|
|
13674
|
+
* @returns {UserPasswordResetCompleted} UserPasswordResetCompleted
|
|
13675
|
+
*/
|
|
13676
|
+
UserPasswordResetCompleted.fromObject = function fromObject(object) {
|
|
13677
|
+
if (object instanceof $root.UserPasswordResetCompleted)
|
|
13678
|
+
return object;
|
|
13679
|
+
var message = new $root.UserPasswordResetCompleted();
|
|
13680
|
+
if (object.hsId != null)
|
|
13681
|
+
message.hsId = String(object.hsId);
|
|
13682
|
+
if (object.email != null)
|
|
13683
|
+
message.email = String(object.email);
|
|
13684
|
+
if (object.timestampMillis != null)
|
|
13685
|
+
if ($util.Long)
|
|
13686
|
+
(message.timestampMillis = $util.Long.fromValue(object.timestampMillis)).unsigned = true;
|
|
13687
|
+
else if (typeof object.timestampMillis === "string")
|
|
13688
|
+
message.timestampMillis = parseInt(object.timestampMillis, 10);
|
|
13689
|
+
else if (typeof object.timestampMillis === "number")
|
|
13690
|
+
message.timestampMillis = object.timestampMillis;
|
|
13691
|
+
else if (typeof object.timestampMillis === "object")
|
|
13692
|
+
message.timestampMillis = new $util.LongBits(object.timestampMillis.low >>> 0, object.timestampMillis.high >>> 0).toNumber(true);
|
|
13693
|
+
return message;
|
|
13694
|
+
};
|
|
13695
|
+
|
|
13696
|
+
/**
|
|
13697
|
+
* Creates a plain object from a UserPasswordResetCompleted message. Also converts values to other types if specified.
|
|
13698
|
+
* @function toObject
|
|
13699
|
+
* @memberof UserPasswordResetCompleted
|
|
13700
|
+
* @static
|
|
13701
|
+
* @param {UserPasswordResetCompleted} message UserPasswordResetCompleted
|
|
13702
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
13703
|
+
* @returns {Object.<string,*>} Plain object
|
|
13704
|
+
*/
|
|
13705
|
+
UserPasswordResetCompleted.toObject = function toObject(message, options) {
|
|
13706
|
+
if (!options)
|
|
13707
|
+
options = {};
|
|
13708
|
+
var object = {};
|
|
13709
|
+
if (options.defaults) {
|
|
13710
|
+
object.hsId = "";
|
|
13711
|
+
object.email = "";
|
|
13712
|
+
if ($util.Long) {
|
|
13713
|
+
var long = new $util.Long(0, 0, true);
|
|
13714
|
+
object.timestampMillis = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
13715
|
+
} else
|
|
13716
|
+
object.timestampMillis = options.longs === String ? "0" : 0;
|
|
13717
|
+
}
|
|
13718
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
13719
|
+
object.hsId = message.hsId;
|
|
13720
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
13721
|
+
object.email = message.email;
|
|
13722
|
+
if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
|
|
13723
|
+
if (typeof message.timestampMillis === "number")
|
|
13724
|
+
object.timestampMillis = options.longs === String ? String(message.timestampMillis) : message.timestampMillis;
|
|
13725
|
+
else
|
|
13726
|
+
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;
|
|
13727
|
+
return object;
|
|
13728
|
+
};
|
|
13729
|
+
|
|
13730
|
+
/**
|
|
13731
|
+
* Converts this UserPasswordResetCompleted to JSON.
|
|
13732
|
+
* @function toJSON
|
|
13733
|
+
* @memberof UserPasswordResetCompleted
|
|
13734
|
+
* @instance
|
|
13735
|
+
* @returns {Object.<string,*>} JSON object
|
|
13736
|
+
*/
|
|
13737
|
+
UserPasswordResetCompleted.prototype.toJSON = function toJSON() {
|
|
13738
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
13739
|
+
};
|
|
13740
|
+
|
|
13741
|
+
return UserPasswordResetCompleted;
|
|
13742
|
+
})();
|
|
13743
|
+
|
|
13498
13744
|
$root.CompletedActivity = (function() {
|
|
13499
13745
|
|
|
13500
13746
|
/**
|
package/package.json
CHANGED