@headspace/protos-events 1.41.0 → 1.43.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 +89 -93
- package/lib/index.js +254 -244
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1984,119 +1984,115 @@ export namespace com {
|
|
|
1984
1984
|
}
|
|
1985
1985
|
}
|
|
1986
1986
|
}
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1987
1989
|
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
+
/** Properties of a UserPasswordResetCreated. */
|
|
1991
|
+
export interface IUserPasswordResetCreated {
|
|
1990
1992
|
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
+
/** UserPasswordResetCreated hsId */
|
|
1994
|
+
hsId?: (string|null);
|
|
1993
1995
|
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
+
/** UserPasswordResetCreated email */
|
|
1997
|
+
email?: (string|null);
|
|
1996
1998
|
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
+
/** UserPasswordResetCreated timestampMillis */
|
|
2000
|
+
timestampMillis?: (number|Long|null);
|
|
1999
2001
|
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
+
/** UserPasswordResetCreated auth0Ticket */
|
|
2003
|
+
auth0Ticket?: (string|null);
|
|
2004
|
+
}
|
|
2002
2005
|
|
|
2003
|
-
|
|
2004
|
-
|
|
2006
|
+
/** Represents a UserPasswordResetCreated. */
|
|
2007
|
+
export class UserPasswordResetCreated implements IUserPasswordResetCreated {
|
|
2005
2008
|
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
+
/**
|
|
2010
|
+
* Constructs a new UserPasswordResetCreated.
|
|
2011
|
+
* @param [properties] Properties to set
|
|
2012
|
+
*/
|
|
2013
|
+
constructor(properties?: IUserPasswordResetCreated);
|
|
2009
2014
|
|
|
2010
|
-
|
|
2011
|
-
|
|
2015
|
+
/** UserPasswordResetCreated hsId. */
|
|
2016
|
+
public hsId: string;
|
|
2012
2017
|
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
* @param [properties] Properties to set
|
|
2016
|
-
*/
|
|
2017
|
-
constructor(properties?: com.headspace.auth.grpc.auth0.events.IUserPasswordResetCreated);
|
|
2018
|
+
/** UserPasswordResetCreated email. */
|
|
2019
|
+
public email: string;
|
|
2018
2020
|
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
+
/** UserPasswordResetCreated timestampMillis. */
|
|
2022
|
+
public timestampMillis: (number|Long);
|
|
2021
2023
|
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
+
/** UserPasswordResetCreated auth0Ticket. */
|
|
2025
|
+
public auth0Ticket: string;
|
|
2024
2026
|
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2027
|
+
/**
|
|
2028
|
+
* Creates a new UserPasswordResetCreated instance using the specified properties.
|
|
2029
|
+
* @param [properties] Properties to set
|
|
2030
|
+
* @returns UserPasswordResetCreated instance
|
|
2031
|
+
*/
|
|
2032
|
+
public static create(properties?: IUserPasswordResetCreated): UserPasswordResetCreated;
|
|
2031
2033
|
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2034
|
+
/**
|
|
2035
|
+
* Encodes the specified UserPasswordResetCreated message. Does not implicitly {@link UserPasswordResetCreated.verify|verify} messages.
|
|
2036
|
+
* @param message UserPasswordResetCreated message or plain object to encode
|
|
2037
|
+
* @param [writer] Writer to encode to
|
|
2038
|
+
* @returns Writer
|
|
2039
|
+
*/
|
|
2040
|
+
public static encode(message: IUserPasswordResetCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2039
2041
|
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2042
|
+
/**
|
|
2043
|
+
* Encodes the specified UserPasswordResetCreated message, length delimited. Does not implicitly {@link UserPasswordResetCreated.verify|verify} messages.
|
|
2044
|
+
* @param message UserPasswordResetCreated message or plain object to encode
|
|
2045
|
+
* @param [writer] Writer to encode to
|
|
2046
|
+
* @returns Writer
|
|
2047
|
+
*/
|
|
2048
|
+
public static encodeDelimited(message: IUserPasswordResetCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2047
2049
|
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2050
|
+
/**
|
|
2051
|
+
* Decodes a UserPasswordResetCreated message from the specified reader or buffer.
|
|
2052
|
+
* @param reader Reader or buffer to decode from
|
|
2053
|
+
* @param [length] Message length if known beforehand
|
|
2054
|
+
* @returns UserPasswordResetCreated
|
|
2055
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2056
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2057
|
+
*/
|
|
2058
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserPasswordResetCreated;
|
|
2057
2059
|
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2060
|
+
/**
|
|
2061
|
+
* Decodes a UserPasswordResetCreated message from the specified reader or buffer, length delimited.
|
|
2062
|
+
* @param reader Reader or buffer to decode from
|
|
2063
|
+
* @returns UserPasswordResetCreated
|
|
2064
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2065
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2066
|
+
*/
|
|
2067
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserPasswordResetCreated;
|
|
2066
2068
|
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2069
|
+
/**
|
|
2070
|
+
* Verifies a UserPasswordResetCreated message.
|
|
2071
|
+
* @param message Plain object to verify
|
|
2072
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2073
|
+
*/
|
|
2074
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2073
2075
|
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2076
|
+
/**
|
|
2077
|
+
* Creates a UserPasswordResetCreated message from a plain object. Also converts values to their respective internal types.
|
|
2078
|
+
* @param object Plain object
|
|
2079
|
+
* @returns UserPasswordResetCreated
|
|
2080
|
+
*/
|
|
2081
|
+
public static fromObject(object: { [k: string]: any }): UserPasswordResetCreated;
|
|
2080
2082
|
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2083
|
+
/**
|
|
2084
|
+
* Creates a plain object from a UserPasswordResetCreated message. Also converts values to other types if specified.
|
|
2085
|
+
* @param message UserPasswordResetCreated
|
|
2086
|
+
* @param [options] Conversion options
|
|
2087
|
+
* @returns Plain object
|
|
2088
|
+
*/
|
|
2089
|
+
public static toObject(message: UserPasswordResetCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2088
2090
|
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
}
|
|
2095
|
-
}
|
|
2096
|
-
}
|
|
2097
|
-
}
|
|
2098
|
-
}
|
|
2099
|
-
}
|
|
2091
|
+
/**
|
|
2092
|
+
* Converts this UserPasswordResetCreated to JSON.
|
|
2093
|
+
* @returns JSON object
|
|
2094
|
+
*/
|
|
2095
|
+
public toJSON(): { [k: string]: any };
|
|
2100
2096
|
}
|
|
2101
2097
|
|
|
2102
2098
|
/** Properties of a CompletedActivity. */
|
package/lib/index.js
CHANGED
|
@@ -4488,268 +4488,278 @@ $root.com = (function() {
|
|
|
4488
4488
|
return userdomain;
|
|
4489
4489
|
})();
|
|
4490
4490
|
|
|
4491
|
-
headspace
|
|
4492
|
-
|
|
4493
|
-
/**
|
|
4494
|
-
* Namespace auth.
|
|
4495
|
-
* @memberof com.headspace
|
|
4496
|
-
* @namespace
|
|
4497
|
-
*/
|
|
4498
|
-
var auth = {};
|
|
4499
|
-
|
|
4500
|
-
auth.grpc = (function() {
|
|
4501
|
-
|
|
4502
|
-
/**
|
|
4503
|
-
* Namespace grpc.
|
|
4504
|
-
* @memberof com.headspace.auth
|
|
4505
|
-
* @namespace
|
|
4506
|
-
*/
|
|
4507
|
-
var grpc = {};
|
|
4508
|
-
|
|
4509
|
-
grpc.auth0 = (function() {
|
|
4510
|
-
|
|
4511
|
-
/**
|
|
4512
|
-
* Namespace auth0.
|
|
4513
|
-
* @memberof com.headspace.auth.grpc
|
|
4514
|
-
* @namespace
|
|
4515
|
-
*/
|
|
4516
|
-
var auth0 = {};
|
|
4517
|
-
|
|
4518
|
-
auth0.events = (function() {
|
|
4519
|
-
|
|
4520
|
-
/**
|
|
4521
|
-
* Namespace events.
|
|
4522
|
-
* @memberof com.headspace.auth.grpc.auth0
|
|
4523
|
-
* @namespace
|
|
4524
|
-
*/
|
|
4525
|
-
var events = {};
|
|
4526
|
-
|
|
4527
|
-
events.UserPasswordResetCreated = (function() {
|
|
4528
|
-
|
|
4529
|
-
/**
|
|
4530
|
-
* Properties of a UserPasswordResetCreated.
|
|
4531
|
-
* @memberof com.headspace.auth.grpc.auth0.events
|
|
4532
|
-
* @interface IUserPasswordResetCreated
|
|
4533
|
-
* @property {string|null} [email] UserPasswordResetCreated email
|
|
4534
|
-
* @property {string|null} [ticket] UserPasswordResetCreated ticket
|
|
4535
|
-
*/
|
|
4536
|
-
|
|
4537
|
-
/**
|
|
4538
|
-
* Constructs a new UserPasswordResetCreated.
|
|
4539
|
-
* @memberof com.headspace.auth.grpc.auth0.events
|
|
4540
|
-
* @classdesc Represents a UserPasswordResetCreated.
|
|
4541
|
-
* @implements IUserPasswordResetCreated
|
|
4542
|
-
* @constructor
|
|
4543
|
-
* @param {com.headspace.auth.grpc.auth0.events.IUserPasswordResetCreated=} [properties] Properties to set
|
|
4544
|
-
*/
|
|
4545
|
-
function UserPasswordResetCreated(properties) {
|
|
4546
|
-
if (properties)
|
|
4547
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
4548
|
-
if (properties[keys[i]] != null)
|
|
4549
|
-
this[keys[i]] = properties[keys[i]];
|
|
4550
|
-
}
|
|
4491
|
+
return headspace;
|
|
4492
|
+
})();
|
|
4551
4493
|
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
* @member {string} email
|
|
4555
|
-
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4556
|
-
* @instance
|
|
4557
|
-
*/
|
|
4558
|
-
UserPasswordResetCreated.prototype.email = "";
|
|
4494
|
+
return com;
|
|
4495
|
+
})();
|
|
4559
4496
|
|
|
4560
|
-
|
|
4561
|
-
* UserPasswordResetCreated ticket.
|
|
4562
|
-
* @member {string} ticket
|
|
4563
|
-
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4564
|
-
* @instance
|
|
4565
|
-
*/
|
|
4566
|
-
UserPasswordResetCreated.prototype.ticket = "";
|
|
4497
|
+
$root.UserPasswordResetCreated = (function() {
|
|
4567
4498
|
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
return new UserPasswordResetCreated(properties);
|
|
4578
|
-
};
|
|
4499
|
+
/**
|
|
4500
|
+
* Properties of a UserPasswordResetCreated.
|
|
4501
|
+
* @exports IUserPasswordResetCreated
|
|
4502
|
+
* @interface IUserPasswordResetCreated
|
|
4503
|
+
* @property {string|null} [hsId] UserPasswordResetCreated hsId
|
|
4504
|
+
* @property {string|null} [email] UserPasswordResetCreated email
|
|
4505
|
+
* @property {number|Long|null} [timestampMillis] UserPasswordResetCreated timestampMillis
|
|
4506
|
+
* @property {string|null} [auth0Ticket] UserPasswordResetCreated auth0Ticket
|
|
4507
|
+
*/
|
|
4579
4508
|
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
if (message.ticket != null && message.hasOwnProperty("ticket"))
|
|
4595
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.ticket);
|
|
4596
|
-
return writer;
|
|
4597
|
-
};
|
|
4509
|
+
/**
|
|
4510
|
+
* Constructs a new UserPasswordResetCreated.
|
|
4511
|
+
* @exports UserPasswordResetCreated
|
|
4512
|
+
* @classdesc Represents a UserPasswordResetCreated.
|
|
4513
|
+
* @implements IUserPasswordResetCreated
|
|
4514
|
+
* @constructor
|
|
4515
|
+
* @param {IUserPasswordResetCreated=} [properties] Properties to set
|
|
4516
|
+
*/
|
|
4517
|
+
function UserPasswordResetCreated(properties) {
|
|
4518
|
+
if (properties)
|
|
4519
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
4520
|
+
if (properties[keys[i]] != null)
|
|
4521
|
+
this[keys[i]] = properties[keys[i]];
|
|
4522
|
+
}
|
|
4598
4523
|
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
* @returns {$protobuf.Writer} Writer
|
|
4607
|
-
*/
|
|
4608
|
-
UserPasswordResetCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
4609
|
-
return this.encode(message, writer).ldelim();
|
|
4610
|
-
};
|
|
4524
|
+
/**
|
|
4525
|
+
* UserPasswordResetCreated hsId.
|
|
4526
|
+
* @member {string} hsId
|
|
4527
|
+
* @memberof UserPasswordResetCreated
|
|
4528
|
+
* @instance
|
|
4529
|
+
*/
|
|
4530
|
+
UserPasswordResetCreated.prototype.hsId = "";
|
|
4611
4531
|
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
* @returns {com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated} UserPasswordResetCreated
|
|
4620
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4621
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4622
|
-
*/
|
|
4623
|
-
UserPasswordResetCreated.decode = function decode(reader, length) {
|
|
4624
|
-
if (!(reader instanceof $Reader))
|
|
4625
|
-
reader = $Reader.create(reader);
|
|
4626
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated();
|
|
4627
|
-
while (reader.pos < end) {
|
|
4628
|
-
var tag = reader.uint32();
|
|
4629
|
-
switch (tag >>> 3) {
|
|
4630
|
-
case 1:
|
|
4631
|
-
message.email = reader.string();
|
|
4632
|
-
break;
|
|
4633
|
-
case 2:
|
|
4634
|
-
message.ticket = reader.string();
|
|
4635
|
-
break;
|
|
4636
|
-
default:
|
|
4637
|
-
reader.skipType(tag & 7);
|
|
4638
|
-
break;
|
|
4639
|
-
}
|
|
4640
|
-
}
|
|
4641
|
-
return message;
|
|
4642
|
-
};
|
|
4532
|
+
/**
|
|
4533
|
+
* UserPasswordResetCreated email.
|
|
4534
|
+
* @member {string} email
|
|
4535
|
+
* @memberof UserPasswordResetCreated
|
|
4536
|
+
* @instance
|
|
4537
|
+
*/
|
|
4538
|
+
UserPasswordResetCreated.prototype.email = "";
|
|
4643
4539
|
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4652
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4653
|
-
*/
|
|
4654
|
-
UserPasswordResetCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
4655
|
-
if (!(reader instanceof $Reader))
|
|
4656
|
-
reader = new $Reader(reader);
|
|
4657
|
-
return this.decode(reader, reader.uint32());
|
|
4658
|
-
};
|
|
4540
|
+
/**
|
|
4541
|
+
* UserPasswordResetCreated timestampMillis.
|
|
4542
|
+
* @member {number|Long} timestampMillis
|
|
4543
|
+
* @memberof UserPasswordResetCreated
|
|
4544
|
+
* @instance
|
|
4545
|
+
*/
|
|
4546
|
+
UserPasswordResetCreated.prototype.timestampMillis = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
4659
4547
|
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
*/
|
|
4668
|
-
UserPasswordResetCreated.verify = function verify(message) {
|
|
4669
|
-
if (typeof message !== "object" || message === null)
|
|
4670
|
-
return "object expected";
|
|
4671
|
-
if (message.email != null && message.hasOwnProperty("email"))
|
|
4672
|
-
if (!$util.isString(message.email))
|
|
4673
|
-
return "email: string expected";
|
|
4674
|
-
if (message.ticket != null && message.hasOwnProperty("ticket"))
|
|
4675
|
-
if (!$util.isString(message.ticket))
|
|
4676
|
-
return "ticket: string expected";
|
|
4677
|
-
return null;
|
|
4678
|
-
};
|
|
4548
|
+
/**
|
|
4549
|
+
* UserPasswordResetCreated auth0Ticket.
|
|
4550
|
+
* @member {string} auth0Ticket
|
|
4551
|
+
* @memberof UserPasswordResetCreated
|
|
4552
|
+
* @instance
|
|
4553
|
+
*/
|
|
4554
|
+
UserPasswordResetCreated.prototype.auth0Ticket = "";
|
|
4679
4555
|
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
var message = new $root.com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated();
|
|
4692
|
-
if (object.email != null)
|
|
4693
|
-
message.email = String(object.email);
|
|
4694
|
-
if (object.ticket != null)
|
|
4695
|
-
message.ticket = String(object.ticket);
|
|
4696
|
-
return message;
|
|
4697
|
-
};
|
|
4556
|
+
/**
|
|
4557
|
+
* Creates a new UserPasswordResetCreated instance using the specified properties.
|
|
4558
|
+
* @function create
|
|
4559
|
+
* @memberof UserPasswordResetCreated
|
|
4560
|
+
* @static
|
|
4561
|
+
* @param {IUserPasswordResetCreated=} [properties] Properties to set
|
|
4562
|
+
* @returns {UserPasswordResetCreated} UserPasswordResetCreated instance
|
|
4563
|
+
*/
|
|
4564
|
+
UserPasswordResetCreated.create = function create(properties) {
|
|
4565
|
+
return new UserPasswordResetCreated(properties);
|
|
4566
|
+
};
|
|
4698
4567
|
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
};
|
|
4568
|
+
/**
|
|
4569
|
+
* Encodes the specified UserPasswordResetCreated message. Does not implicitly {@link UserPasswordResetCreated.verify|verify} messages.
|
|
4570
|
+
* @function encode
|
|
4571
|
+
* @memberof UserPasswordResetCreated
|
|
4572
|
+
* @static
|
|
4573
|
+
* @param {IUserPasswordResetCreated} message UserPasswordResetCreated message or plain object to encode
|
|
4574
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4575
|
+
* @returns {$protobuf.Writer} Writer
|
|
4576
|
+
*/
|
|
4577
|
+
UserPasswordResetCreated.encode = function encode(message, writer) {
|
|
4578
|
+
if (!writer)
|
|
4579
|
+
writer = $Writer.create();
|
|
4580
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
4581
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
4582
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
4583
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
|
|
4584
|
+
if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
|
|
4585
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestampMillis);
|
|
4586
|
+
if (message.auth0Ticket != null && message.hasOwnProperty("auth0Ticket"))
|
|
4587
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.auth0Ticket);
|
|
4588
|
+
return writer;
|
|
4589
|
+
};
|
|
4722
4590
|
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4591
|
+
/**
|
|
4592
|
+
* Encodes the specified UserPasswordResetCreated message, length delimited. Does not implicitly {@link UserPasswordResetCreated.verify|verify} messages.
|
|
4593
|
+
* @function encodeDelimited
|
|
4594
|
+
* @memberof UserPasswordResetCreated
|
|
4595
|
+
* @static
|
|
4596
|
+
* @param {IUserPasswordResetCreated} message UserPasswordResetCreated message or plain object to encode
|
|
4597
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4598
|
+
* @returns {$protobuf.Writer} Writer
|
|
4599
|
+
*/
|
|
4600
|
+
UserPasswordResetCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
4601
|
+
return this.encode(message, writer).ldelim();
|
|
4602
|
+
};
|
|
4733
4603
|
|
|
4734
|
-
|
|
4735
|
-
|
|
4604
|
+
/**
|
|
4605
|
+
* Decodes a UserPasswordResetCreated message from the specified reader or buffer.
|
|
4606
|
+
* @function decode
|
|
4607
|
+
* @memberof UserPasswordResetCreated
|
|
4608
|
+
* @static
|
|
4609
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4610
|
+
* @param {number} [length] Message length if known beforehand
|
|
4611
|
+
* @returns {UserPasswordResetCreated} UserPasswordResetCreated
|
|
4612
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4613
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4614
|
+
*/
|
|
4615
|
+
UserPasswordResetCreated.decode = function decode(reader, length) {
|
|
4616
|
+
if (!(reader instanceof $Reader))
|
|
4617
|
+
reader = $Reader.create(reader);
|
|
4618
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserPasswordResetCreated();
|
|
4619
|
+
while (reader.pos < end) {
|
|
4620
|
+
var tag = reader.uint32();
|
|
4621
|
+
switch (tag >>> 3) {
|
|
4622
|
+
case 1:
|
|
4623
|
+
message.hsId = reader.string();
|
|
4624
|
+
break;
|
|
4625
|
+
case 2:
|
|
4626
|
+
message.email = reader.string();
|
|
4627
|
+
break;
|
|
4628
|
+
case 3:
|
|
4629
|
+
message.timestampMillis = reader.uint64();
|
|
4630
|
+
break;
|
|
4631
|
+
case 6:
|
|
4632
|
+
message.auth0Ticket = reader.string();
|
|
4633
|
+
break;
|
|
4634
|
+
default:
|
|
4635
|
+
reader.skipType(tag & 7);
|
|
4636
|
+
break;
|
|
4637
|
+
}
|
|
4638
|
+
}
|
|
4639
|
+
return message;
|
|
4640
|
+
};
|
|
4736
4641
|
|
|
4737
|
-
|
|
4738
|
-
|
|
4642
|
+
/**
|
|
4643
|
+
* Decodes a UserPasswordResetCreated message from the specified reader or buffer, length delimited.
|
|
4644
|
+
* @function decodeDelimited
|
|
4645
|
+
* @memberof UserPasswordResetCreated
|
|
4646
|
+
* @static
|
|
4647
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4648
|
+
* @returns {UserPasswordResetCreated} UserPasswordResetCreated
|
|
4649
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4650
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4651
|
+
*/
|
|
4652
|
+
UserPasswordResetCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
4653
|
+
if (!(reader instanceof $Reader))
|
|
4654
|
+
reader = new $Reader(reader);
|
|
4655
|
+
return this.decode(reader, reader.uint32());
|
|
4656
|
+
};
|
|
4739
4657
|
|
|
4740
|
-
|
|
4741
|
-
|
|
4658
|
+
/**
|
|
4659
|
+
* Verifies a UserPasswordResetCreated message.
|
|
4660
|
+
* @function verify
|
|
4661
|
+
* @memberof UserPasswordResetCreated
|
|
4662
|
+
* @static
|
|
4663
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
4664
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
4665
|
+
*/
|
|
4666
|
+
UserPasswordResetCreated.verify = function verify(message) {
|
|
4667
|
+
if (typeof message !== "object" || message === null)
|
|
4668
|
+
return "object expected";
|
|
4669
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
4670
|
+
if (!$util.isString(message.hsId))
|
|
4671
|
+
return "hsId: string expected";
|
|
4672
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
4673
|
+
if (!$util.isString(message.email))
|
|
4674
|
+
return "email: string expected";
|
|
4675
|
+
if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
|
|
4676
|
+
if (!$util.isInteger(message.timestampMillis) && !(message.timestampMillis && $util.isInteger(message.timestampMillis.low) && $util.isInteger(message.timestampMillis.high)))
|
|
4677
|
+
return "timestampMillis: integer|Long expected";
|
|
4678
|
+
if (message.auth0Ticket != null && message.hasOwnProperty("auth0Ticket"))
|
|
4679
|
+
if (!$util.isString(message.auth0Ticket))
|
|
4680
|
+
return "auth0Ticket: string expected";
|
|
4681
|
+
return null;
|
|
4682
|
+
};
|
|
4742
4683
|
|
|
4743
|
-
|
|
4744
|
-
|
|
4684
|
+
/**
|
|
4685
|
+
* Creates a UserPasswordResetCreated message from a plain object. Also converts values to their respective internal types.
|
|
4686
|
+
* @function fromObject
|
|
4687
|
+
* @memberof UserPasswordResetCreated
|
|
4688
|
+
* @static
|
|
4689
|
+
* @param {Object.<string,*>} object Plain object
|
|
4690
|
+
* @returns {UserPasswordResetCreated} UserPasswordResetCreated
|
|
4691
|
+
*/
|
|
4692
|
+
UserPasswordResetCreated.fromObject = function fromObject(object) {
|
|
4693
|
+
if (object instanceof $root.UserPasswordResetCreated)
|
|
4694
|
+
return object;
|
|
4695
|
+
var message = new $root.UserPasswordResetCreated();
|
|
4696
|
+
if (object.hsId != null)
|
|
4697
|
+
message.hsId = String(object.hsId);
|
|
4698
|
+
if (object.email != null)
|
|
4699
|
+
message.email = String(object.email);
|
|
4700
|
+
if (object.timestampMillis != null)
|
|
4701
|
+
if ($util.Long)
|
|
4702
|
+
(message.timestampMillis = $util.Long.fromValue(object.timestampMillis)).unsigned = true;
|
|
4703
|
+
else if (typeof object.timestampMillis === "string")
|
|
4704
|
+
message.timestampMillis = parseInt(object.timestampMillis, 10);
|
|
4705
|
+
else if (typeof object.timestampMillis === "number")
|
|
4706
|
+
message.timestampMillis = object.timestampMillis;
|
|
4707
|
+
else if (typeof object.timestampMillis === "object")
|
|
4708
|
+
message.timestampMillis = new $util.LongBits(object.timestampMillis.low >>> 0, object.timestampMillis.high >>> 0).toNumber(true);
|
|
4709
|
+
if (object.auth0Ticket != null)
|
|
4710
|
+
message.auth0Ticket = String(object.auth0Ticket);
|
|
4711
|
+
return message;
|
|
4712
|
+
};
|
|
4745
4713
|
|
|
4746
|
-
|
|
4747
|
-
|
|
4714
|
+
/**
|
|
4715
|
+
* Creates a plain object from a UserPasswordResetCreated message. Also converts values to other types if specified.
|
|
4716
|
+
* @function toObject
|
|
4717
|
+
* @memberof UserPasswordResetCreated
|
|
4718
|
+
* @static
|
|
4719
|
+
* @param {UserPasswordResetCreated} message UserPasswordResetCreated
|
|
4720
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
4721
|
+
* @returns {Object.<string,*>} Plain object
|
|
4722
|
+
*/
|
|
4723
|
+
UserPasswordResetCreated.toObject = function toObject(message, options) {
|
|
4724
|
+
if (!options)
|
|
4725
|
+
options = {};
|
|
4726
|
+
var object = {};
|
|
4727
|
+
if (options.defaults) {
|
|
4728
|
+
object.hsId = "";
|
|
4729
|
+
object.email = "";
|
|
4730
|
+
if ($util.Long) {
|
|
4731
|
+
var long = new $util.Long(0, 0, true);
|
|
4732
|
+
object.timestampMillis = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
4733
|
+
} else
|
|
4734
|
+
object.timestampMillis = options.longs === String ? "0" : 0;
|
|
4735
|
+
object.auth0Ticket = "";
|
|
4736
|
+
}
|
|
4737
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
4738
|
+
object.hsId = message.hsId;
|
|
4739
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
4740
|
+
object.email = message.email;
|
|
4741
|
+
if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
|
|
4742
|
+
if (typeof message.timestampMillis === "number")
|
|
4743
|
+
object.timestampMillis = options.longs === String ? String(message.timestampMillis) : message.timestampMillis;
|
|
4744
|
+
else
|
|
4745
|
+
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;
|
|
4746
|
+
if (message.auth0Ticket != null && message.hasOwnProperty("auth0Ticket"))
|
|
4747
|
+
object.auth0Ticket = message.auth0Ticket;
|
|
4748
|
+
return object;
|
|
4749
|
+
};
|
|
4748
4750
|
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
+
/**
|
|
4752
|
+
* Converts this UserPasswordResetCreated to JSON.
|
|
4753
|
+
* @function toJSON
|
|
4754
|
+
* @memberof UserPasswordResetCreated
|
|
4755
|
+
* @instance
|
|
4756
|
+
* @returns {Object.<string,*>} JSON object
|
|
4757
|
+
*/
|
|
4758
|
+
UserPasswordResetCreated.prototype.toJSON = function toJSON() {
|
|
4759
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4760
|
+
};
|
|
4751
4761
|
|
|
4752
|
-
return
|
|
4762
|
+
return UserPasswordResetCreated;
|
|
4753
4763
|
})();
|
|
4754
4764
|
|
|
4755
4765
|
$root.CompletedActivity = (function() {
|
package/package.json
CHANGED