@headspace/protos-events 1.32.0 → 1.34.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 +122 -12
- package/lib/index.js +305 -35
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1972,9 +1972,17 @@ export namespace com {
|
|
|
1972
1972
|
}
|
|
1973
1973
|
}
|
|
1974
1974
|
}
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
/** Namespace auth. */
|
|
1979
|
+
namespace auth {
|
|
1975
1980
|
|
|
1976
|
-
|
|
1977
|
-
|
|
1981
|
+
/** Namespace grpc. */
|
|
1982
|
+
namespace grpc {
|
|
1983
|
+
|
|
1984
|
+
/** Namespace auth0. */
|
|
1985
|
+
namespace auth0 {
|
|
1978
1986
|
|
|
1979
1987
|
/** Namespace events. */
|
|
1980
1988
|
namespace events {
|
|
@@ -1996,7 +2004,7 @@ export namespace com {
|
|
|
1996
2004
|
* Constructs a new UserPasswordResetCreated.
|
|
1997
2005
|
* @param [properties] Properties to set
|
|
1998
2006
|
*/
|
|
1999
|
-
constructor(properties?: com.headspace.
|
|
2007
|
+
constructor(properties?: com.headspace.auth.grpc.auth0.events.IUserPasswordResetCreated);
|
|
2000
2008
|
|
|
2001
2009
|
/** UserPasswordResetCreated email. */
|
|
2002
2010
|
public email: string;
|
|
@@ -2009,23 +2017,23 @@ export namespace com {
|
|
|
2009
2017
|
* @param [properties] Properties to set
|
|
2010
2018
|
* @returns UserPasswordResetCreated instance
|
|
2011
2019
|
*/
|
|
2012
|
-
public static create(properties?: com.headspace.
|
|
2020
|
+
public static create(properties?: com.headspace.auth.grpc.auth0.events.IUserPasswordResetCreated): com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated;
|
|
2013
2021
|
|
|
2014
2022
|
/**
|
|
2015
|
-
* Encodes the specified UserPasswordResetCreated message. Does not implicitly {@link com.headspace.
|
|
2023
|
+
* Encodes the specified UserPasswordResetCreated message. Does not implicitly {@link com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated.verify|verify} messages.
|
|
2016
2024
|
* @param message UserPasswordResetCreated message or plain object to encode
|
|
2017
2025
|
* @param [writer] Writer to encode to
|
|
2018
2026
|
* @returns Writer
|
|
2019
2027
|
*/
|
|
2020
|
-
public static encode(message: com.headspace.
|
|
2028
|
+
public static encode(message: com.headspace.auth.grpc.auth0.events.IUserPasswordResetCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2021
2029
|
|
|
2022
2030
|
/**
|
|
2023
|
-
* Encodes the specified UserPasswordResetCreated message, length delimited. Does not implicitly {@link com.headspace.
|
|
2031
|
+
* Encodes the specified UserPasswordResetCreated message, length delimited. Does not implicitly {@link com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated.verify|verify} messages.
|
|
2024
2032
|
* @param message UserPasswordResetCreated message or plain object to encode
|
|
2025
2033
|
* @param [writer] Writer to encode to
|
|
2026
2034
|
* @returns Writer
|
|
2027
2035
|
*/
|
|
2028
|
-
public static encodeDelimited(message: com.headspace.
|
|
2036
|
+
public static encodeDelimited(message: com.headspace.auth.grpc.auth0.events.IUserPasswordResetCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2029
2037
|
|
|
2030
2038
|
/**
|
|
2031
2039
|
* Decodes a UserPasswordResetCreated message from the specified reader or buffer.
|
|
@@ -2035,7 +2043,7 @@ export namespace com {
|
|
|
2035
2043
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2036
2044
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2037
2045
|
*/
|
|
2038
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.headspace.
|
|
2046
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated;
|
|
2039
2047
|
|
|
2040
2048
|
/**
|
|
2041
2049
|
* Decodes a UserPasswordResetCreated message from the specified reader or buffer, length delimited.
|
|
@@ -2044,7 +2052,7 @@ export namespace com {
|
|
|
2044
2052
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2045
2053
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2046
2054
|
*/
|
|
2047
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.headspace.
|
|
2055
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated;
|
|
2048
2056
|
|
|
2049
2057
|
/**
|
|
2050
2058
|
* Verifies a UserPasswordResetCreated message.
|
|
@@ -2058,7 +2066,7 @@ export namespace com {
|
|
|
2058
2066
|
* @param object Plain object
|
|
2059
2067
|
* @returns UserPasswordResetCreated
|
|
2060
2068
|
*/
|
|
2061
|
-
public static fromObject(object: { [k: string]: any }): com.headspace.
|
|
2069
|
+
public static fromObject(object: { [k: string]: any }): com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated;
|
|
2062
2070
|
|
|
2063
2071
|
/**
|
|
2064
2072
|
* Creates a plain object from a UserPasswordResetCreated message. Also converts values to other types if specified.
|
|
@@ -2066,7 +2074,7 @@ export namespace com {
|
|
|
2066
2074
|
* @param [options] Conversion options
|
|
2067
2075
|
* @returns Plain object
|
|
2068
2076
|
*/
|
|
2069
|
-
public static toObject(message: com.headspace.
|
|
2077
|
+
public static toObject(message: com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2070
2078
|
|
|
2071
2079
|
/**
|
|
2072
2080
|
* Converts this UserPasswordResetCreated to JSON.
|
|
@@ -2855,6 +2863,108 @@ export class CheckInCompleted implements ICheckInCompleted {
|
|
|
2855
2863
|
public toJSON(): { [k: string]: any };
|
|
2856
2864
|
}
|
|
2857
2865
|
|
|
2866
|
+
/** Properties of a ContentCompleted. */
|
|
2867
|
+
export interface IContentCompleted {
|
|
2868
|
+
|
|
2869
|
+
/** ContentCompleted timestamp */
|
|
2870
|
+
timestamp?: (number|Long|null);
|
|
2871
|
+
|
|
2872
|
+
/** ContentCompleted contentId */
|
|
2873
|
+
contentId?: (number|null);
|
|
2874
|
+
|
|
2875
|
+
/** ContentCompleted userId */
|
|
2876
|
+
userId?: (string|null);
|
|
2877
|
+
}
|
|
2878
|
+
|
|
2879
|
+
/** Represents a ContentCompleted. */
|
|
2880
|
+
export class ContentCompleted implements IContentCompleted {
|
|
2881
|
+
|
|
2882
|
+
/**
|
|
2883
|
+
* Constructs a new ContentCompleted.
|
|
2884
|
+
* @param [properties] Properties to set
|
|
2885
|
+
*/
|
|
2886
|
+
constructor(properties?: IContentCompleted);
|
|
2887
|
+
|
|
2888
|
+
/** ContentCompleted timestamp. */
|
|
2889
|
+
public timestamp: (number|Long);
|
|
2890
|
+
|
|
2891
|
+
/** ContentCompleted contentId. */
|
|
2892
|
+
public contentId: number;
|
|
2893
|
+
|
|
2894
|
+
/** ContentCompleted userId. */
|
|
2895
|
+
public userId: string;
|
|
2896
|
+
|
|
2897
|
+
/**
|
|
2898
|
+
* Creates a new ContentCompleted instance using the specified properties.
|
|
2899
|
+
* @param [properties] Properties to set
|
|
2900
|
+
* @returns ContentCompleted instance
|
|
2901
|
+
*/
|
|
2902
|
+
public static create(properties?: IContentCompleted): ContentCompleted;
|
|
2903
|
+
|
|
2904
|
+
/**
|
|
2905
|
+
* Encodes the specified ContentCompleted message. Does not implicitly {@link ContentCompleted.verify|verify} messages.
|
|
2906
|
+
* @param message ContentCompleted message or plain object to encode
|
|
2907
|
+
* @param [writer] Writer to encode to
|
|
2908
|
+
* @returns Writer
|
|
2909
|
+
*/
|
|
2910
|
+
public static encode(message: IContentCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2911
|
+
|
|
2912
|
+
/**
|
|
2913
|
+
* Encodes the specified ContentCompleted message, length delimited. Does not implicitly {@link ContentCompleted.verify|verify} messages.
|
|
2914
|
+
* @param message ContentCompleted message or plain object to encode
|
|
2915
|
+
* @param [writer] Writer to encode to
|
|
2916
|
+
* @returns Writer
|
|
2917
|
+
*/
|
|
2918
|
+
public static encodeDelimited(message: IContentCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2919
|
+
|
|
2920
|
+
/**
|
|
2921
|
+
* Decodes a ContentCompleted message from the specified reader or buffer.
|
|
2922
|
+
* @param reader Reader or buffer to decode from
|
|
2923
|
+
* @param [length] Message length if known beforehand
|
|
2924
|
+
* @returns ContentCompleted
|
|
2925
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2926
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2927
|
+
*/
|
|
2928
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentCompleted;
|
|
2929
|
+
|
|
2930
|
+
/**
|
|
2931
|
+
* Decodes a ContentCompleted message from the specified reader or buffer, length delimited.
|
|
2932
|
+
* @param reader Reader or buffer to decode from
|
|
2933
|
+
* @returns ContentCompleted
|
|
2934
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2935
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2936
|
+
*/
|
|
2937
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentCompleted;
|
|
2938
|
+
|
|
2939
|
+
/**
|
|
2940
|
+
* Verifies a ContentCompleted message.
|
|
2941
|
+
* @param message Plain object to verify
|
|
2942
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2943
|
+
*/
|
|
2944
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2945
|
+
|
|
2946
|
+
/**
|
|
2947
|
+
* Creates a ContentCompleted message from a plain object. Also converts values to their respective internal types.
|
|
2948
|
+
* @param object Plain object
|
|
2949
|
+
* @returns ContentCompleted
|
|
2950
|
+
*/
|
|
2951
|
+
public static fromObject(object: { [k: string]: any }): ContentCompleted;
|
|
2952
|
+
|
|
2953
|
+
/**
|
|
2954
|
+
* Creates a plain object from a ContentCompleted message. Also converts values to other types if specified.
|
|
2955
|
+
* @param message ContentCompleted
|
|
2956
|
+
* @param [options] Conversion options
|
|
2957
|
+
* @returns Plain object
|
|
2958
|
+
*/
|
|
2959
|
+
public static toObject(message: ContentCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2960
|
+
|
|
2961
|
+
/**
|
|
2962
|
+
* Converts this ContentCompleted to JSON.
|
|
2963
|
+
* @returns JSON object
|
|
2964
|
+
*/
|
|
2965
|
+
public toJSON(): { [k: string]: any };
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2858
2968
|
/** Properties of a ReferralSignedUp. */
|
|
2859
2969
|
export interface IReferralSignedUp {
|
|
2860
2970
|
|
package/lib/index.js
CHANGED
|
@@ -4460,20 +4460,44 @@ $root.com = (function() {
|
|
|
4460
4460
|
return user;
|
|
4461
4461
|
})();
|
|
4462
4462
|
|
|
4463
|
-
grpc
|
|
4463
|
+
return grpc;
|
|
4464
|
+
})();
|
|
4465
|
+
|
|
4466
|
+
return userdomain;
|
|
4467
|
+
})();
|
|
4468
|
+
|
|
4469
|
+
headspace.auth = (function() {
|
|
4470
|
+
|
|
4471
|
+
/**
|
|
4472
|
+
* Namespace auth.
|
|
4473
|
+
* @memberof com.headspace
|
|
4474
|
+
* @namespace
|
|
4475
|
+
*/
|
|
4476
|
+
var auth = {};
|
|
4477
|
+
|
|
4478
|
+
auth.grpc = (function() {
|
|
4479
|
+
|
|
4480
|
+
/**
|
|
4481
|
+
* Namespace grpc.
|
|
4482
|
+
* @memberof com.headspace.auth
|
|
4483
|
+
* @namespace
|
|
4484
|
+
*/
|
|
4485
|
+
var grpc = {};
|
|
4486
|
+
|
|
4487
|
+
grpc.auth0 = (function() {
|
|
4464
4488
|
|
|
4465
4489
|
/**
|
|
4466
|
-
* Namespace
|
|
4467
|
-
* @memberof com.headspace.
|
|
4490
|
+
* Namespace auth0.
|
|
4491
|
+
* @memberof com.headspace.auth.grpc
|
|
4468
4492
|
* @namespace
|
|
4469
4493
|
*/
|
|
4470
|
-
var
|
|
4494
|
+
var auth0 = {};
|
|
4471
4495
|
|
|
4472
|
-
|
|
4496
|
+
auth0.events = (function() {
|
|
4473
4497
|
|
|
4474
4498
|
/**
|
|
4475
4499
|
* Namespace events.
|
|
4476
|
-
* @memberof com.headspace.
|
|
4500
|
+
* @memberof com.headspace.auth.grpc.auth0
|
|
4477
4501
|
* @namespace
|
|
4478
4502
|
*/
|
|
4479
4503
|
var events = {};
|
|
@@ -4482,7 +4506,7 @@ $root.com = (function() {
|
|
|
4482
4506
|
|
|
4483
4507
|
/**
|
|
4484
4508
|
* Properties of a UserPasswordResetCreated.
|
|
4485
|
-
* @memberof com.headspace.
|
|
4509
|
+
* @memberof com.headspace.auth.grpc.auth0.events
|
|
4486
4510
|
* @interface IUserPasswordResetCreated
|
|
4487
4511
|
* @property {string|null} [email] UserPasswordResetCreated email
|
|
4488
4512
|
* @property {string|null} [ticket] UserPasswordResetCreated ticket
|
|
@@ -4490,11 +4514,11 @@ $root.com = (function() {
|
|
|
4490
4514
|
|
|
4491
4515
|
/**
|
|
4492
4516
|
* Constructs a new UserPasswordResetCreated.
|
|
4493
|
-
* @memberof com.headspace.
|
|
4517
|
+
* @memberof com.headspace.auth.grpc.auth0.events
|
|
4494
4518
|
* @classdesc Represents a UserPasswordResetCreated.
|
|
4495
4519
|
* @implements IUserPasswordResetCreated
|
|
4496
4520
|
* @constructor
|
|
4497
|
-
* @param {com.headspace.
|
|
4521
|
+
* @param {com.headspace.auth.grpc.auth0.events.IUserPasswordResetCreated=} [properties] Properties to set
|
|
4498
4522
|
*/
|
|
4499
4523
|
function UserPasswordResetCreated(properties) {
|
|
4500
4524
|
if (properties)
|
|
@@ -4506,7 +4530,7 @@ $root.com = (function() {
|
|
|
4506
4530
|
/**
|
|
4507
4531
|
* UserPasswordResetCreated email.
|
|
4508
4532
|
* @member {string} email
|
|
4509
|
-
* @memberof com.headspace.
|
|
4533
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4510
4534
|
* @instance
|
|
4511
4535
|
*/
|
|
4512
4536
|
UserPasswordResetCreated.prototype.email = "";
|
|
@@ -4514,7 +4538,7 @@ $root.com = (function() {
|
|
|
4514
4538
|
/**
|
|
4515
4539
|
* UserPasswordResetCreated ticket.
|
|
4516
4540
|
* @member {string} ticket
|
|
4517
|
-
* @memberof com.headspace.
|
|
4541
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4518
4542
|
* @instance
|
|
4519
4543
|
*/
|
|
4520
4544
|
UserPasswordResetCreated.prototype.ticket = "";
|
|
@@ -4522,21 +4546,21 @@ $root.com = (function() {
|
|
|
4522
4546
|
/**
|
|
4523
4547
|
* Creates a new UserPasswordResetCreated instance using the specified properties.
|
|
4524
4548
|
* @function create
|
|
4525
|
-
* @memberof com.headspace.
|
|
4549
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4526
4550
|
* @static
|
|
4527
|
-
* @param {com.headspace.
|
|
4528
|
-
* @returns {com.headspace.
|
|
4551
|
+
* @param {com.headspace.auth.grpc.auth0.events.IUserPasswordResetCreated=} [properties] Properties to set
|
|
4552
|
+
* @returns {com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated} UserPasswordResetCreated instance
|
|
4529
4553
|
*/
|
|
4530
4554
|
UserPasswordResetCreated.create = function create(properties) {
|
|
4531
4555
|
return new UserPasswordResetCreated(properties);
|
|
4532
4556
|
};
|
|
4533
4557
|
|
|
4534
4558
|
/**
|
|
4535
|
-
* Encodes the specified UserPasswordResetCreated message. Does not implicitly {@link com.headspace.
|
|
4559
|
+
* Encodes the specified UserPasswordResetCreated message. Does not implicitly {@link com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated.verify|verify} messages.
|
|
4536
4560
|
* @function encode
|
|
4537
|
-
* @memberof com.headspace.
|
|
4561
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4538
4562
|
* @static
|
|
4539
|
-
* @param {com.headspace.
|
|
4563
|
+
* @param {com.headspace.auth.grpc.auth0.events.IUserPasswordResetCreated} message UserPasswordResetCreated message or plain object to encode
|
|
4540
4564
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4541
4565
|
* @returns {$protobuf.Writer} Writer
|
|
4542
4566
|
*/
|
|
@@ -4551,11 +4575,11 @@ $root.com = (function() {
|
|
|
4551
4575
|
};
|
|
4552
4576
|
|
|
4553
4577
|
/**
|
|
4554
|
-
* Encodes the specified UserPasswordResetCreated message, length delimited. Does not implicitly {@link com.headspace.
|
|
4578
|
+
* Encodes the specified UserPasswordResetCreated message, length delimited. Does not implicitly {@link com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated.verify|verify} messages.
|
|
4555
4579
|
* @function encodeDelimited
|
|
4556
|
-
* @memberof com.headspace.
|
|
4580
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4557
4581
|
* @static
|
|
4558
|
-
* @param {com.headspace.
|
|
4582
|
+
* @param {com.headspace.auth.grpc.auth0.events.IUserPasswordResetCreated} message UserPasswordResetCreated message or plain object to encode
|
|
4559
4583
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4560
4584
|
* @returns {$protobuf.Writer} Writer
|
|
4561
4585
|
*/
|
|
@@ -4566,18 +4590,18 @@ $root.com = (function() {
|
|
|
4566
4590
|
/**
|
|
4567
4591
|
* Decodes a UserPasswordResetCreated message from the specified reader or buffer.
|
|
4568
4592
|
* @function decode
|
|
4569
|
-
* @memberof com.headspace.
|
|
4593
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4570
4594
|
* @static
|
|
4571
4595
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4572
4596
|
* @param {number} [length] Message length if known beforehand
|
|
4573
|
-
* @returns {com.headspace.
|
|
4597
|
+
* @returns {com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated} UserPasswordResetCreated
|
|
4574
4598
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4575
4599
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4576
4600
|
*/
|
|
4577
4601
|
UserPasswordResetCreated.decode = function decode(reader, length) {
|
|
4578
4602
|
if (!(reader instanceof $Reader))
|
|
4579
4603
|
reader = $Reader.create(reader);
|
|
4580
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.com.headspace.
|
|
4604
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated();
|
|
4581
4605
|
while (reader.pos < end) {
|
|
4582
4606
|
var tag = reader.uint32();
|
|
4583
4607
|
switch (tag >>> 3) {
|
|
@@ -4598,10 +4622,10 @@ $root.com = (function() {
|
|
|
4598
4622
|
/**
|
|
4599
4623
|
* Decodes a UserPasswordResetCreated message from the specified reader or buffer, length delimited.
|
|
4600
4624
|
* @function decodeDelimited
|
|
4601
|
-
* @memberof com.headspace.
|
|
4625
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4602
4626
|
* @static
|
|
4603
4627
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4604
|
-
* @returns {com.headspace.
|
|
4628
|
+
* @returns {com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated} UserPasswordResetCreated
|
|
4605
4629
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4606
4630
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4607
4631
|
*/
|
|
@@ -4614,7 +4638,7 @@ $root.com = (function() {
|
|
|
4614
4638
|
/**
|
|
4615
4639
|
* Verifies a UserPasswordResetCreated message.
|
|
4616
4640
|
* @function verify
|
|
4617
|
-
* @memberof com.headspace.
|
|
4641
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4618
4642
|
* @static
|
|
4619
4643
|
* @param {Object.<string,*>} message Plain object to verify
|
|
4620
4644
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
@@ -4634,15 +4658,15 @@ $root.com = (function() {
|
|
|
4634
4658
|
/**
|
|
4635
4659
|
* Creates a UserPasswordResetCreated message from a plain object. Also converts values to their respective internal types.
|
|
4636
4660
|
* @function fromObject
|
|
4637
|
-
* @memberof com.headspace.
|
|
4661
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4638
4662
|
* @static
|
|
4639
4663
|
* @param {Object.<string,*>} object Plain object
|
|
4640
|
-
* @returns {com.headspace.
|
|
4664
|
+
* @returns {com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated} UserPasswordResetCreated
|
|
4641
4665
|
*/
|
|
4642
4666
|
UserPasswordResetCreated.fromObject = function fromObject(object) {
|
|
4643
|
-
if (object instanceof $root.com.headspace.
|
|
4667
|
+
if (object instanceof $root.com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated)
|
|
4644
4668
|
return object;
|
|
4645
|
-
var message = new $root.com.headspace.
|
|
4669
|
+
var message = new $root.com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated();
|
|
4646
4670
|
if (object.email != null)
|
|
4647
4671
|
message.email = String(object.email);
|
|
4648
4672
|
if (object.ticket != null)
|
|
@@ -4653,9 +4677,9 @@ $root.com = (function() {
|
|
|
4653
4677
|
/**
|
|
4654
4678
|
* Creates a plain object from a UserPasswordResetCreated message. Also converts values to other types if specified.
|
|
4655
4679
|
* @function toObject
|
|
4656
|
-
* @memberof com.headspace.
|
|
4680
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4657
4681
|
* @static
|
|
4658
|
-
* @param {com.headspace.
|
|
4682
|
+
* @param {com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated} message UserPasswordResetCreated
|
|
4659
4683
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
4660
4684
|
* @returns {Object.<string,*>} Plain object
|
|
4661
4685
|
*/
|
|
@@ -4677,7 +4701,7 @@ $root.com = (function() {
|
|
|
4677
4701
|
/**
|
|
4678
4702
|
* Converts this UserPasswordResetCreated to JSON.
|
|
4679
4703
|
* @function toJSON
|
|
4680
|
-
* @memberof com.headspace.
|
|
4704
|
+
* @memberof com.headspace.auth.grpc.auth0.events.UserPasswordResetCreated
|
|
4681
4705
|
* @instance
|
|
4682
4706
|
* @returns {Object.<string,*>} JSON object
|
|
4683
4707
|
*/
|
|
@@ -4691,13 +4715,13 @@ $root.com = (function() {
|
|
|
4691
4715
|
return events;
|
|
4692
4716
|
})();
|
|
4693
4717
|
|
|
4694
|
-
return
|
|
4718
|
+
return auth0;
|
|
4695
4719
|
})();
|
|
4696
4720
|
|
|
4697
4721
|
return grpc;
|
|
4698
4722
|
})();
|
|
4699
4723
|
|
|
4700
|
-
return
|
|
4724
|
+
return auth;
|
|
4701
4725
|
})();
|
|
4702
4726
|
|
|
4703
4727
|
return headspace;
|
|
@@ -6656,6 +6680,252 @@ $root.CheckInCompleted = (function() {
|
|
|
6656
6680
|
return CheckInCompleted;
|
|
6657
6681
|
})();
|
|
6658
6682
|
|
|
6683
|
+
$root.ContentCompleted = (function() {
|
|
6684
|
+
|
|
6685
|
+
/**
|
|
6686
|
+
* Properties of a ContentCompleted.
|
|
6687
|
+
* @exports IContentCompleted
|
|
6688
|
+
* @interface IContentCompleted
|
|
6689
|
+
* @property {number|Long|null} [timestamp] ContentCompleted timestamp
|
|
6690
|
+
* @property {number|null} [contentId] ContentCompleted contentId
|
|
6691
|
+
* @property {string|null} [userId] ContentCompleted userId
|
|
6692
|
+
*/
|
|
6693
|
+
|
|
6694
|
+
/**
|
|
6695
|
+
* Constructs a new ContentCompleted.
|
|
6696
|
+
* @exports ContentCompleted
|
|
6697
|
+
* @classdesc Represents a ContentCompleted.
|
|
6698
|
+
* @implements IContentCompleted
|
|
6699
|
+
* @constructor
|
|
6700
|
+
* @param {IContentCompleted=} [properties] Properties to set
|
|
6701
|
+
*/
|
|
6702
|
+
function ContentCompleted(properties) {
|
|
6703
|
+
if (properties)
|
|
6704
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
6705
|
+
if (properties[keys[i]] != null)
|
|
6706
|
+
this[keys[i]] = properties[keys[i]];
|
|
6707
|
+
}
|
|
6708
|
+
|
|
6709
|
+
/**
|
|
6710
|
+
* ContentCompleted timestamp.
|
|
6711
|
+
* @member {number|Long} timestamp
|
|
6712
|
+
* @memberof ContentCompleted
|
|
6713
|
+
* @instance
|
|
6714
|
+
*/
|
|
6715
|
+
ContentCompleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
6716
|
+
|
|
6717
|
+
/**
|
|
6718
|
+
* ContentCompleted contentId.
|
|
6719
|
+
* @member {number} contentId
|
|
6720
|
+
* @memberof ContentCompleted
|
|
6721
|
+
* @instance
|
|
6722
|
+
*/
|
|
6723
|
+
ContentCompleted.prototype.contentId = 0;
|
|
6724
|
+
|
|
6725
|
+
/**
|
|
6726
|
+
* ContentCompleted userId.
|
|
6727
|
+
* @member {string} userId
|
|
6728
|
+
* @memberof ContentCompleted
|
|
6729
|
+
* @instance
|
|
6730
|
+
*/
|
|
6731
|
+
ContentCompleted.prototype.userId = "";
|
|
6732
|
+
|
|
6733
|
+
/**
|
|
6734
|
+
* Creates a new ContentCompleted instance using the specified properties.
|
|
6735
|
+
* @function create
|
|
6736
|
+
* @memberof ContentCompleted
|
|
6737
|
+
* @static
|
|
6738
|
+
* @param {IContentCompleted=} [properties] Properties to set
|
|
6739
|
+
* @returns {ContentCompleted} ContentCompleted instance
|
|
6740
|
+
*/
|
|
6741
|
+
ContentCompleted.create = function create(properties) {
|
|
6742
|
+
return new ContentCompleted(properties);
|
|
6743
|
+
};
|
|
6744
|
+
|
|
6745
|
+
/**
|
|
6746
|
+
* Encodes the specified ContentCompleted message. Does not implicitly {@link ContentCompleted.verify|verify} messages.
|
|
6747
|
+
* @function encode
|
|
6748
|
+
* @memberof ContentCompleted
|
|
6749
|
+
* @static
|
|
6750
|
+
* @param {IContentCompleted} message ContentCompleted message or plain object to encode
|
|
6751
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6752
|
+
* @returns {$protobuf.Writer} Writer
|
|
6753
|
+
*/
|
|
6754
|
+
ContentCompleted.encode = function encode(message, writer) {
|
|
6755
|
+
if (!writer)
|
|
6756
|
+
writer = $Writer.create();
|
|
6757
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
6758
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
|
|
6759
|
+
if (message.contentId != null && message.hasOwnProperty("contentId"))
|
|
6760
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.contentId);
|
|
6761
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6762
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.userId);
|
|
6763
|
+
return writer;
|
|
6764
|
+
};
|
|
6765
|
+
|
|
6766
|
+
/**
|
|
6767
|
+
* Encodes the specified ContentCompleted message, length delimited. Does not implicitly {@link ContentCompleted.verify|verify} messages.
|
|
6768
|
+
* @function encodeDelimited
|
|
6769
|
+
* @memberof ContentCompleted
|
|
6770
|
+
* @static
|
|
6771
|
+
* @param {IContentCompleted} message ContentCompleted message or plain object to encode
|
|
6772
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6773
|
+
* @returns {$protobuf.Writer} Writer
|
|
6774
|
+
*/
|
|
6775
|
+
ContentCompleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
6776
|
+
return this.encode(message, writer).ldelim();
|
|
6777
|
+
};
|
|
6778
|
+
|
|
6779
|
+
/**
|
|
6780
|
+
* Decodes a ContentCompleted message from the specified reader or buffer.
|
|
6781
|
+
* @function decode
|
|
6782
|
+
* @memberof ContentCompleted
|
|
6783
|
+
* @static
|
|
6784
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
6785
|
+
* @param {number} [length] Message length if known beforehand
|
|
6786
|
+
* @returns {ContentCompleted} ContentCompleted
|
|
6787
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6788
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6789
|
+
*/
|
|
6790
|
+
ContentCompleted.decode = function decode(reader, length) {
|
|
6791
|
+
if (!(reader instanceof $Reader))
|
|
6792
|
+
reader = $Reader.create(reader);
|
|
6793
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentCompleted();
|
|
6794
|
+
while (reader.pos < end) {
|
|
6795
|
+
var tag = reader.uint32();
|
|
6796
|
+
switch (tag >>> 3) {
|
|
6797
|
+
case 1:
|
|
6798
|
+
message.timestamp = reader.uint64();
|
|
6799
|
+
break;
|
|
6800
|
+
case 2:
|
|
6801
|
+
message.contentId = reader.uint32();
|
|
6802
|
+
break;
|
|
6803
|
+
case 3:
|
|
6804
|
+
message.userId = reader.string();
|
|
6805
|
+
break;
|
|
6806
|
+
default:
|
|
6807
|
+
reader.skipType(tag & 7);
|
|
6808
|
+
break;
|
|
6809
|
+
}
|
|
6810
|
+
}
|
|
6811
|
+
return message;
|
|
6812
|
+
};
|
|
6813
|
+
|
|
6814
|
+
/**
|
|
6815
|
+
* Decodes a ContentCompleted message from the specified reader or buffer, length delimited.
|
|
6816
|
+
* @function decodeDelimited
|
|
6817
|
+
* @memberof ContentCompleted
|
|
6818
|
+
* @static
|
|
6819
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
6820
|
+
* @returns {ContentCompleted} ContentCompleted
|
|
6821
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6822
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6823
|
+
*/
|
|
6824
|
+
ContentCompleted.decodeDelimited = function decodeDelimited(reader) {
|
|
6825
|
+
if (!(reader instanceof $Reader))
|
|
6826
|
+
reader = new $Reader(reader);
|
|
6827
|
+
return this.decode(reader, reader.uint32());
|
|
6828
|
+
};
|
|
6829
|
+
|
|
6830
|
+
/**
|
|
6831
|
+
* Verifies a ContentCompleted message.
|
|
6832
|
+
* @function verify
|
|
6833
|
+
* @memberof ContentCompleted
|
|
6834
|
+
* @static
|
|
6835
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
6836
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
6837
|
+
*/
|
|
6838
|
+
ContentCompleted.verify = function verify(message) {
|
|
6839
|
+
if (typeof message !== "object" || message === null)
|
|
6840
|
+
return "object expected";
|
|
6841
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
6842
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
6843
|
+
return "timestamp: integer|Long expected";
|
|
6844
|
+
if (message.contentId != null && message.hasOwnProperty("contentId"))
|
|
6845
|
+
if (!$util.isInteger(message.contentId))
|
|
6846
|
+
return "contentId: integer expected";
|
|
6847
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6848
|
+
if (!$util.isString(message.userId))
|
|
6849
|
+
return "userId: string expected";
|
|
6850
|
+
return null;
|
|
6851
|
+
};
|
|
6852
|
+
|
|
6853
|
+
/**
|
|
6854
|
+
* Creates a ContentCompleted message from a plain object. Also converts values to their respective internal types.
|
|
6855
|
+
* @function fromObject
|
|
6856
|
+
* @memberof ContentCompleted
|
|
6857
|
+
* @static
|
|
6858
|
+
* @param {Object.<string,*>} object Plain object
|
|
6859
|
+
* @returns {ContentCompleted} ContentCompleted
|
|
6860
|
+
*/
|
|
6861
|
+
ContentCompleted.fromObject = function fromObject(object) {
|
|
6862
|
+
if (object instanceof $root.ContentCompleted)
|
|
6863
|
+
return object;
|
|
6864
|
+
var message = new $root.ContentCompleted();
|
|
6865
|
+
if (object.timestamp != null)
|
|
6866
|
+
if ($util.Long)
|
|
6867
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
6868
|
+
else if (typeof object.timestamp === "string")
|
|
6869
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
6870
|
+
else if (typeof object.timestamp === "number")
|
|
6871
|
+
message.timestamp = object.timestamp;
|
|
6872
|
+
else if (typeof object.timestamp === "object")
|
|
6873
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
6874
|
+
if (object.contentId != null)
|
|
6875
|
+
message.contentId = object.contentId >>> 0;
|
|
6876
|
+
if (object.userId != null)
|
|
6877
|
+
message.userId = String(object.userId);
|
|
6878
|
+
return message;
|
|
6879
|
+
};
|
|
6880
|
+
|
|
6881
|
+
/**
|
|
6882
|
+
* Creates a plain object from a ContentCompleted message. Also converts values to other types if specified.
|
|
6883
|
+
* @function toObject
|
|
6884
|
+
* @memberof ContentCompleted
|
|
6885
|
+
* @static
|
|
6886
|
+
* @param {ContentCompleted} message ContentCompleted
|
|
6887
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
6888
|
+
* @returns {Object.<string,*>} Plain object
|
|
6889
|
+
*/
|
|
6890
|
+
ContentCompleted.toObject = function toObject(message, options) {
|
|
6891
|
+
if (!options)
|
|
6892
|
+
options = {};
|
|
6893
|
+
var object = {};
|
|
6894
|
+
if (options.defaults) {
|
|
6895
|
+
if ($util.Long) {
|
|
6896
|
+
var long = new $util.Long(0, 0, true);
|
|
6897
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
6898
|
+
} else
|
|
6899
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
6900
|
+
object.contentId = 0;
|
|
6901
|
+
object.userId = "";
|
|
6902
|
+
}
|
|
6903
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
6904
|
+
if (typeof message.timestamp === "number")
|
|
6905
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
6906
|
+
else
|
|
6907
|
+
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;
|
|
6908
|
+
if (message.contentId != null && message.hasOwnProperty("contentId"))
|
|
6909
|
+
object.contentId = message.contentId;
|
|
6910
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6911
|
+
object.userId = message.userId;
|
|
6912
|
+
return object;
|
|
6913
|
+
};
|
|
6914
|
+
|
|
6915
|
+
/**
|
|
6916
|
+
* Converts this ContentCompleted to JSON.
|
|
6917
|
+
* @function toJSON
|
|
6918
|
+
* @memberof ContentCompleted
|
|
6919
|
+
* @instance
|
|
6920
|
+
* @returns {Object.<string,*>} JSON object
|
|
6921
|
+
*/
|
|
6922
|
+
ContentCompleted.prototype.toJSON = function toJSON() {
|
|
6923
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6924
|
+
};
|
|
6925
|
+
|
|
6926
|
+
return ContentCompleted;
|
|
6927
|
+
})();
|
|
6928
|
+
|
|
6659
6929
|
$root.ReferralSignedUp = (function() {
|
|
6660
6930
|
|
|
6661
6931
|
/**
|
package/package.json
CHANGED