@headspace/protos-events 1.41.0 → 1.42.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 +12 -0
- package/lib/index.js +58 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2005,6 +2005,12 @@ export namespace com {
|
|
|
2005
2005
|
|
|
2006
2006
|
/** UserPasswordResetCreated ticket */
|
|
2007
2007
|
ticket?: (string|null);
|
|
2008
|
+
|
|
2009
|
+
/** UserPasswordResetCreated hsUserId */
|
|
2010
|
+
hsUserId?: (string|null);
|
|
2011
|
+
|
|
2012
|
+
/** UserPasswordResetCreated timestampMillis */
|
|
2013
|
+
timestampMillis?: (number|Long|null);
|
|
2008
2014
|
}
|
|
2009
2015
|
|
|
2010
2016
|
/** Represents a UserPasswordResetCreated. */
|
|
@@ -2022,6 +2028,12 @@ export namespace com {
|
|
|
2022
2028
|
/** UserPasswordResetCreated ticket. */
|
|
2023
2029
|
public ticket: string;
|
|
2024
2030
|
|
|
2031
|
+
/** UserPasswordResetCreated hsUserId. */
|
|
2032
|
+
public hsUserId: string;
|
|
2033
|
+
|
|
2034
|
+
/** UserPasswordResetCreated timestampMillis. */
|
|
2035
|
+
public timestampMillis: (number|Long);
|
|
2036
|
+
|
|
2025
2037
|
/**
|
|
2026
2038
|
* Creates a new UserPasswordResetCreated instance using the specified properties.
|
|
2027
2039
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -4532,6 +4532,8 @@ $root.com = (function() {
|
|
|
4532
4532
|
* @interface IUserPasswordResetCreated
|
|
4533
4533
|
* @property {string|null} [email] UserPasswordResetCreated email
|
|
4534
4534
|
* @property {string|null} [ticket] UserPasswordResetCreated ticket
|
|
4535
|
+
* @property {string|null} [hsUserId] UserPasswordResetCreated hsUserId
|
|
4536
|
+
* @property {number|Long|null} [timestampMillis] UserPasswordResetCreated timestampMillis
|
|
4535
4537
|
*/
|
|
4536
4538
|
|
|
4537
4539
|
/**
|
|
@@ -4565,6 +4567,22 @@ $root.com = (function() {
|
|
|
4565
4567
|
*/
|
|
4566
4568
|
UserPasswordResetCreated.prototype.ticket = "";
|
|
4567
4569
|
|
|
4570
|
+
/**
|
|
4571
|
+
* UserPasswordResetCreated hsUserId.
|
|
4572
|
+
* @member {string} hsUserId
|
|
4573
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4574
|
+
* @instance
|
|
4575
|
+
*/
|
|
4576
|
+
UserPasswordResetCreated.prototype.hsUserId = "";
|
|
4577
|
+
|
|
4578
|
+
/**
|
|
4579
|
+
* UserPasswordResetCreated timestampMillis.
|
|
4580
|
+
* @member {number|Long} timestampMillis
|
|
4581
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4582
|
+
* @instance
|
|
4583
|
+
*/
|
|
4584
|
+
UserPasswordResetCreated.prototype.timestampMillis = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
4585
|
+
|
|
4568
4586
|
/**
|
|
4569
4587
|
* Creates a new UserPasswordResetCreated instance using the specified properties.
|
|
4570
4588
|
* @function create
|
|
@@ -4593,6 +4611,10 @@ $root.com = (function() {
|
|
|
4593
4611
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.email);
|
|
4594
4612
|
if (message.ticket != null && message.hasOwnProperty("ticket"))
|
|
4595
4613
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.ticket);
|
|
4614
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
4615
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.hsUserId);
|
|
4616
|
+
if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
|
|
4617
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestampMillis);
|
|
4596
4618
|
return writer;
|
|
4597
4619
|
};
|
|
4598
4620
|
|
|
@@ -4633,6 +4655,12 @@ $root.com = (function() {
|
|
|
4633
4655
|
case 2:
|
|
4634
4656
|
message.ticket = reader.string();
|
|
4635
4657
|
break;
|
|
4658
|
+
case 3:
|
|
4659
|
+
message.hsUserId = reader.string();
|
|
4660
|
+
break;
|
|
4661
|
+
case 4:
|
|
4662
|
+
message.timestampMillis = reader.uint64();
|
|
4663
|
+
break;
|
|
4636
4664
|
default:
|
|
4637
4665
|
reader.skipType(tag & 7);
|
|
4638
4666
|
break;
|
|
@@ -4674,6 +4702,12 @@ $root.com = (function() {
|
|
|
4674
4702
|
if (message.ticket != null && message.hasOwnProperty("ticket"))
|
|
4675
4703
|
if (!$util.isString(message.ticket))
|
|
4676
4704
|
return "ticket: string expected";
|
|
4705
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
4706
|
+
if (!$util.isString(message.hsUserId))
|
|
4707
|
+
return "hsUserId: string expected";
|
|
4708
|
+
if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
|
|
4709
|
+
if (!$util.isInteger(message.timestampMillis) && !(message.timestampMillis && $util.isInteger(message.timestampMillis.low) && $util.isInteger(message.timestampMillis.high)))
|
|
4710
|
+
return "timestampMillis: integer|Long expected";
|
|
4677
4711
|
return null;
|
|
4678
4712
|
};
|
|
4679
4713
|
|
|
@@ -4693,6 +4727,17 @@ $root.com = (function() {
|
|
|
4693
4727
|
message.email = String(object.email);
|
|
4694
4728
|
if (object.ticket != null)
|
|
4695
4729
|
message.ticket = String(object.ticket);
|
|
4730
|
+
if (object.hsUserId != null)
|
|
4731
|
+
message.hsUserId = String(object.hsUserId);
|
|
4732
|
+
if (object.timestampMillis != null)
|
|
4733
|
+
if ($util.Long)
|
|
4734
|
+
(message.timestampMillis = $util.Long.fromValue(object.timestampMillis)).unsigned = true;
|
|
4735
|
+
else if (typeof object.timestampMillis === "string")
|
|
4736
|
+
message.timestampMillis = parseInt(object.timestampMillis, 10);
|
|
4737
|
+
else if (typeof object.timestampMillis === "number")
|
|
4738
|
+
message.timestampMillis = object.timestampMillis;
|
|
4739
|
+
else if (typeof object.timestampMillis === "object")
|
|
4740
|
+
message.timestampMillis = new $util.LongBits(object.timestampMillis.low >>> 0, object.timestampMillis.high >>> 0).toNumber(true);
|
|
4696
4741
|
return message;
|
|
4697
4742
|
};
|
|
4698
4743
|
|
|
@@ -4712,11 +4757,24 @@ $root.com = (function() {
|
|
|
4712
4757
|
if (options.defaults) {
|
|
4713
4758
|
object.email = "";
|
|
4714
4759
|
object.ticket = "";
|
|
4760
|
+
object.hsUserId = "";
|
|
4761
|
+
if ($util.Long) {
|
|
4762
|
+
var long = new $util.Long(0, 0, true);
|
|
4763
|
+
object.timestampMillis = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
4764
|
+
} else
|
|
4765
|
+
object.timestampMillis = options.longs === String ? "0" : 0;
|
|
4715
4766
|
}
|
|
4716
4767
|
if (message.email != null && message.hasOwnProperty("email"))
|
|
4717
4768
|
object.email = message.email;
|
|
4718
4769
|
if (message.ticket != null && message.hasOwnProperty("ticket"))
|
|
4719
4770
|
object.ticket = message.ticket;
|
|
4771
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
4772
|
+
object.hsUserId = message.hsUserId;
|
|
4773
|
+
if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
|
|
4774
|
+
if (typeof message.timestampMillis === "number")
|
|
4775
|
+
object.timestampMillis = options.longs === String ? String(message.timestampMillis) : message.timestampMillis;
|
|
4776
|
+
else
|
|
4777
|
+
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;
|
|
4720
4778
|
return object;
|
|
4721
4779
|
};
|
|
4722
4780
|
|
package/package.json
CHANGED