@headspace/protos-events 1.206.0 → 1.208.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 +147 -0
- package/lib/index.js +488 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -96,6 +96,27 @@ export namespace date {
|
|
|
96
96
|
/** Namespace auth0. */
|
|
97
97
|
export namespace auth0 {
|
|
98
98
|
|
|
99
|
+
/** Namespace client. */
|
|
100
|
+
namespace client {
|
|
101
|
+
|
|
102
|
+
/** Client enum. */
|
|
103
|
+
enum Client {
|
|
104
|
+
UNKNOWN_CLIENT = 0,
|
|
105
|
+
ALEXA = 1,
|
|
106
|
+
ANDROID = 2,
|
|
107
|
+
GOOGLE_ASSISTANT = 3,
|
|
108
|
+
HS_HEALTH_IOS = 4,
|
|
109
|
+
HS_HEALTH_WEB = 5,
|
|
110
|
+
IOS = 6,
|
|
111
|
+
IOS_WATCH = 7,
|
|
112
|
+
WEB = 8,
|
|
113
|
+
HS_TELEHEALTH_WEB = 9,
|
|
114
|
+
API_EXPLORER_APPLICATION = 10,
|
|
115
|
+
AUTH0_DEPLOY_CLI_EXTENSION = 11,
|
|
116
|
+
HS_LOAD_TEST = 12
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
99
120
|
/** Namespace connections. */
|
|
100
121
|
namespace connections {
|
|
101
122
|
|
|
@@ -4612,6 +4633,114 @@ export namespace userdomain {
|
|
|
4612
4633
|
}
|
|
4613
4634
|
}
|
|
4614
4635
|
|
|
4636
|
+
/** Properties of a SuccessfulUserLogin. */
|
|
4637
|
+
export interface ISuccessfulUserLogin {
|
|
4638
|
+
|
|
4639
|
+
/** SuccessfulUserLogin hsId */
|
|
4640
|
+
hsId?: (string|null);
|
|
4641
|
+
|
|
4642
|
+
/** SuccessfulUserLogin loginAt */
|
|
4643
|
+
loginAt?: (number|Long|null);
|
|
4644
|
+
|
|
4645
|
+
/** SuccessfulUserLogin client */
|
|
4646
|
+
client?: (auth0.client.Client|null);
|
|
4647
|
+
|
|
4648
|
+
/** SuccessfulUserLogin connection */
|
|
4649
|
+
connection?: (auth0.connections.Connection|null);
|
|
4650
|
+
}
|
|
4651
|
+
|
|
4652
|
+
/** Represents a SuccessfulUserLogin. */
|
|
4653
|
+
export class SuccessfulUserLogin implements ISuccessfulUserLogin {
|
|
4654
|
+
|
|
4655
|
+
/**
|
|
4656
|
+
* Constructs a new SuccessfulUserLogin.
|
|
4657
|
+
* @param [properties] Properties to set
|
|
4658
|
+
*/
|
|
4659
|
+
constructor(properties?: ISuccessfulUserLogin);
|
|
4660
|
+
|
|
4661
|
+
/** SuccessfulUserLogin hsId. */
|
|
4662
|
+
public hsId: string;
|
|
4663
|
+
|
|
4664
|
+
/** SuccessfulUserLogin loginAt. */
|
|
4665
|
+
public loginAt: (number|Long);
|
|
4666
|
+
|
|
4667
|
+
/** SuccessfulUserLogin client. */
|
|
4668
|
+
public client: auth0.client.Client;
|
|
4669
|
+
|
|
4670
|
+
/** SuccessfulUserLogin connection. */
|
|
4671
|
+
public connection: auth0.connections.Connection;
|
|
4672
|
+
|
|
4673
|
+
/**
|
|
4674
|
+
* Creates a new SuccessfulUserLogin instance using the specified properties.
|
|
4675
|
+
* @param [properties] Properties to set
|
|
4676
|
+
* @returns SuccessfulUserLogin instance
|
|
4677
|
+
*/
|
|
4678
|
+
public static create(properties?: ISuccessfulUserLogin): SuccessfulUserLogin;
|
|
4679
|
+
|
|
4680
|
+
/**
|
|
4681
|
+
* Encodes the specified SuccessfulUserLogin message. Does not implicitly {@link SuccessfulUserLogin.verify|verify} messages.
|
|
4682
|
+
* @param message SuccessfulUserLogin message or plain object to encode
|
|
4683
|
+
* @param [writer] Writer to encode to
|
|
4684
|
+
* @returns Writer
|
|
4685
|
+
*/
|
|
4686
|
+
public static encode(message: ISuccessfulUserLogin, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4687
|
+
|
|
4688
|
+
/**
|
|
4689
|
+
* Encodes the specified SuccessfulUserLogin message, length delimited. Does not implicitly {@link SuccessfulUserLogin.verify|verify} messages.
|
|
4690
|
+
* @param message SuccessfulUserLogin message or plain object to encode
|
|
4691
|
+
* @param [writer] Writer to encode to
|
|
4692
|
+
* @returns Writer
|
|
4693
|
+
*/
|
|
4694
|
+
public static encodeDelimited(message: ISuccessfulUserLogin, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4695
|
+
|
|
4696
|
+
/**
|
|
4697
|
+
* Decodes a SuccessfulUserLogin message from the specified reader or buffer.
|
|
4698
|
+
* @param reader Reader or buffer to decode from
|
|
4699
|
+
* @param [length] Message length if known beforehand
|
|
4700
|
+
* @returns SuccessfulUserLogin
|
|
4701
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4702
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4703
|
+
*/
|
|
4704
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SuccessfulUserLogin;
|
|
4705
|
+
|
|
4706
|
+
/**
|
|
4707
|
+
* Decodes a SuccessfulUserLogin message from the specified reader or buffer, length delimited.
|
|
4708
|
+
* @param reader Reader or buffer to decode from
|
|
4709
|
+
* @returns SuccessfulUserLogin
|
|
4710
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4711
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4712
|
+
*/
|
|
4713
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SuccessfulUserLogin;
|
|
4714
|
+
|
|
4715
|
+
/**
|
|
4716
|
+
* Verifies a SuccessfulUserLogin message.
|
|
4717
|
+
* @param message Plain object to verify
|
|
4718
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4719
|
+
*/
|
|
4720
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4721
|
+
|
|
4722
|
+
/**
|
|
4723
|
+
* Creates a SuccessfulUserLogin message from a plain object. Also converts values to their respective internal types.
|
|
4724
|
+
* @param object Plain object
|
|
4725
|
+
* @returns SuccessfulUserLogin
|
|
4726
|
+
*/
|
|
4727
|
+
public static fromObject(object: { [k: string]: any }): SuccessfulUserLogin;
|
|
4728
|
+
|
|
4729
|
+
/**
|
|
4730
|
+
* Creates a plain object from a SuccessfulUserLogin message. Also converts values to other types if specified.
|
|
4731
|
+
* @param message SuccessfulUserLogin
|
|
4732
|
+
* @param [options] Conversion options
|
|
4733
|
+
* @returns Plain object
|
|
4734
|
+
*/
|
|
4735
|
+
public static toObject(message: SuccessfulUserLogin, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4736
|
+
|
|
4737
|
+
/**
|
|
4738
|
+
* Converts this SuccessfulUserLogin to JSON.
|
|
4739
|
+
* @returns JSON object
|
|
4740
|
+
*/
|
|
4741
|
+
public toJSON(): { [k: string]: any };
|
|
4742
|
+
}
|
|
4743
|
+
|
|
4615
4744
|
/** Properties of an UnlinkedConnection. */
|
|
4616
4745
|
export interface IUnlinkedConnection {
|
|
4617
4746
|
|
|
@@ -17713,6 +17842,9 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
17713
17842
|
|
|
17714
17843
|
/** EnterpriseUserEnrollmentCreated plan */
|
|
17715
17844
|
plan?: (b2b.OrgMemberPlan|null);
|
|
17845
|
+
|
|
17846
|
+
/** EnterpriseUserEnrollmentCreated isPilot */
|
|
17847
|
+
isPilot?: (boolean|null);
|
|
17716
17848
|
}
|
|
17717
17849
|
|
|
17718
17850
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -17751,6 +17883,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
17751
17883
|
/** EnterpriseUserEnrollmentCreated plan. */
|
|
17752
17884
|
public plan: b2b.OrgMemberPlan;
|
|
17753
17885
|
|
|
17886
|
+
/** EnterpriseUserEnrollmentCreated isPilot. */
|
|
17887
|
+
public isPilot: boolean;
|
|
17888
|
+
|
|
17754
17889
|
/**
|
|
17755
17890
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
17756
17891
|
* @param [properties] Properties to set
|
|
@@ -17854,6 +17989,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
|
|
|
17854
17989
|
|
|
17855
17990
|
/** EnterpriseUserEnrollmentRemoved plan */
|
|
17856
17991
|
plan?: (b2b.OrgMemberPlan|null);
|
|
17992
|
+
|
|
17993
|
+
/** EnterpriseUserEnrollmentRemoved isPilot */
|
|
17994
|
+
isPilot?: (boolean|null);
|
|
17857
17995
|
}
|
|
17858
17996
|
|
|
17859
17997
|
/** Represents an EnterpriseUserEnrollmentRemoved. */
|
|
@@ -17895,6 +18033,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
|
|
|
17895
18033
|
/** EnterpriseUserEnrollmentRemoved plan. */
|
|
17896
18034
|
public plan: b2b.OrgMemberPlan;
|
|
17897
18035
|
|
|
18036
|
+
/** EnterpriseUserEnrollmentRemoved isPilot. */
|
|
18037
|
+
public isPilot: boolean;
|
|
18038
|
+
|
|
17898
18039
|
/**
|
|
17899
18040
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
17900
18041
|
* @param [properties] Properties to set
|
|
@@ -17995,6 +18136,9 @@ export interface IEnterpriseUserEnrollmentAmended {
|
|
|
17995
18136
|
|
|
17996
18137
|
/** EnterpriseUserEnrollmentAmended plan */
|
|
17997
18138
|
plan?: (b2b.OrgMemberPlan|null);
|
|
18139
|
+
|
|
18140
|
+
/** EnterpriseUserEnrollmentAmended isPilot */
|
|
18141
|
+
isPilot?: (boolean|null);
|
|
17998
18142
|
}
|
|
17999
18143
|
|
|
18000
18144
|
/** Represents an EnterpriseUserEnrollmentAmended. */
|
|
@@ -18033,6 +18177,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
18033
18177
|
/** EnterpriseUserEnrollmentAmended plan. */
|
|
18034
18178
|
public plan: b2b.OrgMemberPlan;
|
|
18035
18179
|
|
|
18180
|
+
/** EnterpriseUserEnrollmentAmended isPilot. */
|
|
18181
|
+
public isPilot: boolean;
|
|
18182
|
+
|
|
18036
18183
|
/**
|
|
18037
18184
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
18038
18185
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -231,6 +231,54 @@ $root.auth0 = (function() {
|
|
|
231
231
|
*/
|
|
232
232
|
var auth0 = {};
|
|
233
233
|
|
|
234
|
+
auth0.client = (function() {
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Namespace client.
|
|
238
|
+
* @memberof auth0
|
|
239
|
+
* @namespace
|
|
240
|
+
*/
|
|
241
|
+
var client = {};
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Client enum.
|
|
245
|
+
* @name auth0.client.Client
|
|
246
|
+
* @enum {string}
|
|
247
|
+
* @property {number} UNKNOWN_CLIENT=0 UNKNOWN_CLIENT value
|
|
248
|
+
* @property {number} ALEXA=1 ALEXA value
|
|
249
|
+
* @property {number} ANDROID=2 ANDROID value
|
|
250
|
+
* @property {number} GOOGLE_ASSISTANT=3 GOOGLE_ASSISTANT value
|
|
251
|
+
* @property {number} HS_HEALTH_IOS=4 HS_HEALTH_IOS value
|
|
252
|
+
* @property {number} HS_HEALTH_WEB=5 HS_HEALTH_WEB value
|
|
253
|
+
* @property {number} IOS=6 IOS value
|
|
254
|
+
* @property {number} IOS_WATCH=7 IOS_WATCH value
|
|
255
|
+
* @property {number} WEB=8 WEB value
|
|
256
|
+
* @property {number} HS_TELEHEALTH_WEB=9 HS_TELEHEALTH_WEB value
|
|
257
|
+
* @property {number} API_EXPLORER_APPLICATION=10 API_EXPLORER_APPLICATION value
|
|
258
|
+
* @property {number} AUTH0_DEPLOY_CLI_EXTENSION=11 AUTH0_DEPLOY_CLI_EXTENSION value
|
|
259
|
+
* @property {number} HS_LOAD_TEST=12 HS_LOAD_TEST value
|
|
260
|
+
*/
|
|
261
|
+
client.Client = (function() {
|
|
262
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
263
|
+
values[valuesById[0] = "UNKNOWN_CLIENT"] = 0;
|
|
264
|
+
values[valuesById[1] = "ALEXA"] = 1;
|
|
265
|
+
values[valuesById[2] = "ANDROID"] = 2;
|
|
266
|
+
values[valuesById[3] = "GOOGLE_ASSISTANT"] = 3;
|
|
267
|
+
values[valuesById[4] = "HS_HEALTH_IOS"] = 4;
|
|
268
|
+
values[valuesById[5] = "HS_HEALTH_WEB"] = 5;
|
|
269
|
+
values[valuesById[6] = "IOS"] = 6;
|
|
270
|
+
values[valuesById[7] = "IOS_WATCH"] = 7;
|
|
271
|
+
values[valuesById[8] = "WEB"] = 8;
|
|
272
|
+
values[valuesById[9] = "HS_TELEHEALTH_WEB"] = 9;
|
|
273
|
+
values[valuesById[10] = "API_EXPLORER_APPLICATION"] = 10;
|
|
274
|
+
values[valuesById[11] = "AUTH0_DEPLOY_CLI_EXTENSION"] = 11;
|
|
275
|
+
values[valuesById[12] = "HS_LOAD_TEST"] = 12;
|
|
276
|
+
return values;
|
|
277
|
+
})();
|
|
278
|
+
|
|
279
|
+
return client;
|
|
280
|
+
})();
|
|
281
|
+
|
|
234
282
|
auth0.connections = (function() {
|
|
235
283
|
|
|
236
284
|
/**
|
|
@@ -11071,6 +11119,380 @@ $root.userdomain = (function() {
|
|
|
11071
11119
|
return userdomain;
|
|
11072
11120
|
})();
|
|
11073
11121
|
|
|
11122
|
+
$root.SuccessfulUserLogin = (function() {
|
|
11123
|
+
|
|
11124
|
+
/**
|
|
11125
|
+
* Properties of a SuccessfulUserLogin.
|
|
11126
|
+
* @exports ISuccessfulUserLogin
|
|
11127
|
+
* @interface ISuccessfulUserLogin
|
|
11128
|
+
* @property {string|null} [hsId] SuccessfulUserLogin hsId
|
|
11129
|
+
* @property {number|Long|null} [loginAt] SuccessfulUserLogin loginAt
|
|
11130
|
+
* @property {auth0.client.Client|null} [client] SuccessfulUserLogin client
|
|
11131
|
+
* @property {auth0.connections.Connection|null} [connection] SuccessfulUserLogin connection
|
|
11132
|
+
*/
|
|
11133
|
+
|
|
11134
|
+
/**
|
|
11135
|
+
* Constructs a new SuccessfulUserLogin.
|
|
11136
|
+
* @exports SuccessfulUserLogin
|
|
11137
|
+
* @classdesc Represents a SuccessfulUserLogin.
|
|
11138
|
+
* @implements ISuccessfulUserLogin
|
|
11139
|
+
* @constructor
|
|
11140
|
+
* @param {ISuccessfulUserLogin=} [properties] Properties to set
|
|
11141
|
+
*/
|
|
11142
|
+
function SuccessfulUserLogin(properties) {
|
|
11143
|
+
if (properties)
|
|
11144
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
11145
|
+
if (properties[keys[i]] != null)
|
|
11146
|
+
this[keys[i]] = properties[keys[i]];
|
|
11147
|
+
}
|
|
11148
|
+
|
|
11149
|
+
/**
|
|
11150
|
+
* SuccessfulUserLogin hsId.
|
|
11151
|
+
* @member {string} hsId
|
|
11152
|
+
* @memberof SuccessfulUserLogin
|
|
11153
|
+
* @instance
|
|
11154
|
+
*/
|
|
11155
|
+
SuccessfulUserLogin.prototype.hsId = "";
|
|
11156
|
+
|
|
11157
|
+
/**
|
|
11158
|
+
* SuccessfulUserLogin loginAt.
|
|
11159
|
+
* @member {number|Long} loginAt
|
|
11160
|
+
* @memberof SuccessfulUserLogin
|
|
11161
|
+
* @instance
|
|
11162
|
+
*/
|
|
11163
|
+
SuccessfulUserLogin.prototype.loginAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
11164
|
+
|
|
11165
|
+
/**
|
|
11166
|
+
* SuccessfulUserLogin client.
|
|
11167
|
+
* @member {auth0.client.Client} client
|
|
11168
|
+
* @memberof SuccessfulUserLogin
|
|
11169
|
+
* @instance
|
|
11170
|
+
*/
|
|
11171
|
+
SuccessfulUserLogin.prototype.client = 0;
|
|
11172
|
+
|
|
11173
|
+
/**
|
|
11174
|
+
* SuccessfulUserLogin connection.
|
|
11175
|
+
* @member {auth0.connections.Connection} connection
|
|
11176
|
+
* @memberof SuccessfulUserLogin
|
|
11177
|
+
* @instance
|
|
11178
|
+
*/
|
|
11179
|
+
SuccessfulUserLogin.prototype.connection = 0;
|
|
11180
|
+
|
|
11181
|
+
/**
|
|
11182
|
+
* Creates a new SuccessfulUserLogin instance using the specified properties.
|
|
11183
|
+
* @function create
|
|
11184
|
+
* @memberof SuccessfulUserLogin
|
|
11185
|
+
* @static
|
|
11186
|
+
* @param {ISuccessfulUserLogin=} [properties] Properties to set
|
|
11187
|
+
* @returns {SuccessfulUserLogin} SuccessfulUserLogin instance
|
|
11188
|
+
*/
|
|
11189
|
+
SuccessfulUserLogin.create = function create(properties) {
|
|
11190
|
+
return new SuccessfulUserLogin(properties);
|
|
11191
|
+
};
|
|
11192
|
+
|
|
11193
|
+
/**
|
|
11194
|
+
* Encodes the specified SuccessfulUserLogin message. Does not implicitly {@link SuccessfulUserLogin.verify|verify} messages.
|
|
11195
|
+
* @function encode
|
|
11196
|
+
* @memberof SuccessfulUserLogin
|
|
11197
|
+
* @static
|
|
11198
|
+
* @param {ISuccessfulUserLogin} message SuccessfulUserLogin message or plain object to encode
|
|
11199
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
11200
|
+
* @returns {$protobuf.Writer} Writer
|
|
11201
|
+
*/
|
|
11202
|
+
SuccessfulUserLogin.encode = function encode(message, writer) {
|
|
11203
|
+
if (!writer)
|
|
11204
|
+
writer = $Writer.create();
|
|
11205
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
11206
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
11207
|
+
if (message.loginAt != null && message.hasOwnProperty("loginAt"))
|
|
11208
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.loginAt);
|
|
11209
|
+
if (message.client != null && message.hasOwnProperty("client"))
|
|
11210
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.client);
|
|
11211
|
+
if (message.connection != null && message.hasOwnProperty("connection"))
|
|
11212
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.connection);
|
|
11213
|
+
return writer;
|
|
11214
|
+
};
|
|
11215
|
+
|
|
11216
|
+
/**
|
|
11217
|
+
* Encodes the specified SuccessfulUserLogin message, length delimited. Does not implicitly {@link SuccessfulUserLogin.verify|verify} messages.
|
|
11218
|
+
* @function encodeDelimited
|
|
11219
|
+
* @memberof SuccessfulUserLogin
|
|
11220
|
+
* @static
|
|
11221
|
+
* @param {ISuccessfulUserLogin} message SuccessfulUserLogin message or plain object to encode
|
|
11222
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
11223
|
+
* @returns {$protobuf.Writer} Writer
|
|
11224
|
+
*/
|
|
11225
|
+
SuccessfulUserLogin.encodeDelimited = function encodeDelimited(message, writer) {
|
|
11226
|
+
return this.encode(message, writer).ldelim();
|
|
11227
|
+
};
|
|
11228
|
+
|
|
11229
|
+
/**
|
|
11230
|
+
* Decodes a SuccessfulUserLogin message from the specified reader or buffer.
|
|
11231
|
+
* @function decode
|
|
11232
|
+
* @memberof SuccessfulUserLogin
|
|
11233
|
+
* @static
|
|
11234
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11235
|
+
* @param {number} [length] Message length if known beforehand
|
|
11236
|
+
* @returns {SuccessfulUserLogin} SuccessfulUserLogin
|
|
11237
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11238
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11239
|
+
*/
|
|
11240
|
+
SuccessfulUserLogin.decode = function decode(reader, length) {
|
|
11241
|
+
if (!(reader instanceof $Reader))
|
|
11242
|
+
reader = $Reader.create(reader);
|
|
11243
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SuccessfulUserLogin();
|
|
11244
|
+
while (reader.pos < end) {
|
|
11245
|
+
var tag = reader.uint32();
|
|
11246
|
+
switch (tag >>> 3) {
|
|
11247
|
+
case 1:
|
|
11248
|
+
message.hsId = reader.string();
|
|
11249
|
+
break;
|
|
11250
|
+
case 2:
|
|
11251
|
+
message.loginAt = reader.uint64();
|
|
11252
|
+
break;
|
|
11253
|
+
case 3:
|
|
11254
|
+
message.client = reader.int32();
|
|
11255
|
+
break;
|
|
11256
|
+
case 4:
|
|
11257
|
+
message.connection = reader.int32();
|
|
11258
|
+
break;
|
|
11259
|
+
default:
|
|
11260
|
+
reader.skipType(tag & 7);
|
|
11261
|
+
break;
|
|
11262
|
+
}
|
|
11263
|
+
}
|
|
11264
|
+
return message;
|
|
11265
|
+
};
|
|
11266
|
+
|
|
11267
|
+
/**
|
|
11268
|
+
* Decodes a SuccessfulUserLogin message from the specified reader or buffer, length delimited.
|
|
11269
|
+
* @function decodeDelimited
|
|
11270
|
+
* @memberof SuccessfulUserLogin
|
|
11271
|
+
* @static
|
|
11272
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11273
|
+
* @returns {SuccessfulUserLogin} SuccessfulUserLogin
|
|
11274
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11275
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11276
|
+
*/
|
|
11277
|
+
SuccessfulUserLogin.decodeDelimited = function decodeDelimited(reader) {
|
|
11278
|
+
if (!(reader instanceof $Reader))
|
|
11279
|
+
reader = new $Reader(reader);
|
|
11280
|
+
return this.decode(reader, reader.uint32());
|
|
11281
|
+
};
|
|
11282
|
+
|
|
11283
|
+
/**
|
|
11284
|
+
* Verifies a SuccessfulUserLogin message.
|
|
11285
|
+
* @function verify
|
|
11286
|
+
* @memberof SuccessfulUserLogin
|
|
11287
|
+
* @static
|
|
11288
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
11289
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
11290
|
+
*/
|
|
11291
|
+
SuccessfulUserLogin.verify = function verify(message) {
|
|
11292
|
+
if (typeof message !== "object" || message === null)
|
|
11293
|
+
return "object expected";
|
|
11294
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
11295
|
+
if (!$util.isString(message.hsId))
|
|
11296
|
+
return "hsId: string expected";
|
|
11297
|
+
if (message.loginAt != null && message.hasOwnProperty("loginAt"))
|
|
11298
|
+
if (!$util.isInteger(message.loginAt) && !(message.loginAt && $util.isInteger(message.loginAt.low) && $util.isInteger(message.loginAt.high)))
|
|
11299
|
+
return "loginAt: integer|Long expected";
|
|
11300
|
+
if (message.client != null && message.hasOwnProperty("client"))
|
|
11301
|
+
switch (message.client) {
|
|
11302
|
+
default:
|
|
11303
|
+
return "client: enum value expected";
|
|
11304
|
+
case 0:
|
|
11305
|
+
case 1:
|
|
11306
|
+
case 2:
|
|
11307
|
+
case 3:
|
|
11308
|
+
case 4:
|
|
11309
|
+
case 5:
|
|
11310
|
+
case 6:
|
|
11311
|
+
case 7:
|
|
11312
|
+
case 8:
|
|
11313
|
+
case 9:
|
|
11314
|
+
case 10:
|
|
11315
|
+
case 11:
|
|
11316
|
+
case 12:
|
|
11317
|
+
break;
|
|
11318
|
+
}
|
|
11319
|
+
if (message.connection != null && message.hasOwnProperty("connection"))
|
|
11320
|
+
switch (message.connection) {
|
|
11321
|
+
default:
|
|
11322
|
+
return "connection: enum value expected";
|
|
11323
|
+
case 0:
|
|
11324
|
+
case 1:
|
|
11325
|
+
case 2:
|
|
11326
|
+
case 3:
|
|
11327
|
+
case 4:
|
|
11328
|
+
case 5:
|
|
11329
|
+
case 6:
|
|
11330
|
+
break;
|
|
11331
|
+
}
|
|
11332
|
+
return null;
|
|
11333
|
+
};
|
|
11334
|
+
|
|
11335
|
+
/**
|
|
11336
|
+
* Creates a SuccessfulUserLogin message from a plain object. Also converts values to their respective internal types.
|
|
11337
|
+
* @function fromObject
|
|
11338
|
+
* @memberof SuccessfulUserLogin
|
|
11339
|
+
* @static
|
|
11340
|
+
* @param {Object.<string,*>} object Plain object
|
|
11341
|
+
* @returns {SuccessfulUserLogin} SuccessfulUserLogin
|
|
11342
|
+
*/
|
|
11343
|
+
SuccessfulUserLogin.fromObject = function fromObject(object) {
|
|
11344
|
+
if (object instanceof $root.SuccessfulUserLogin)
|
|
11345
|
+
return object;
|
|
11346
|
+
var message = new $root.SuccessfulUserLogin();
|
|
11347
|
+
if (object.hsId != null)
|
|
11348
|
+
message.hsId = String(object.hsId);
|
|
11349
|
+
if (object.loginAt != null)
|
|
11350
|
+
if ($util.Long)
|
|
11351
|
+
(message.loginAt = $util.Long.fromValue(object.loginAt)).unsigned = true;
|
|
11352
|
+
else if (typeof object.loginAt === "string")
|
|
11353
|
+
message.loginAt = parseInt(object.loginAt, 10);
|
|
11354
|
+
else if (typeof object.loginAt === "number")
|
|
11355
|
+
message.loginAt = object.loginAt;
|
|
11356
|
+
else if (typeof object.loginAt === "object")
|
|
11357
|
+
message.loginAt = new $util.LongBits(object.loginAt.low >>> 0, object.loginAt.high >>> 0).toNumber(true);
|
|
11358
|
+
switch (object.client) {
|
|
11359
|
+
case "UNKNOWN_CLIENT":
|
|
11360
|
+
case 0:
|
|
11361
|
+
message.client = 0;
|
|
11362
|
+
break;
|
|
11363
|
+
case "ALEXA":
|
|
11364
|
+
case 1:
|
|
11365
|
+
message.client = 1;
|
|
11366
|
+
break;
|
|
11367
|
+
case "ANDROID":
|
|
11368
|
+
case 2:
|
|
11369
|
+
message.client = 2;
|
|
11370
|
+
break;
|
|
11371
|
+
case "GOOGLE_ASSISTANT":
|
|
11372
|
+
case 3:
|
|
11373
|
+
message.client = 3;
|
|
11374
|
+
break;
|
|
11375
|
+
case "HS_HEALTH_IOS":
|
|
11376
|
+
case 4:
|
|
11377
|
+
message.client = 4;
|
|
11378
|
+
break;
|
|
11379
|
+
case "HS_HEALTH_WEB":
|
|
11380
|
+
case 5:
|
|
11381
|
+
message.client = 5;
|
|
11382
|
+
break;
|
|
11383
|
+
case "IOS":
|
|
11384
|
+
case 6:
|
|
11385
|
+
message.client = 6;
|
|
11386
|
+
break;
|
|
11387
|
+
case "IOS_WATCH":
|
|
11388
|
+
case 7:
|
|
11389
|
+
message.client = 7;
|
|
11390
|
+
break;
|
|
11391
|
+
case "WEB":
|
|
11392
|
+
case 8:
|
|
11393
|
+
message.client = 8;
|
|
11394
|
+
break;
|
|
11395
|
+
case "HS_TELEHEALTH_WEB":
|
|
11396
|
+
case 9:
|
|
11397
|
+
message.client = 9;
|
|
11398
|
+
break;
|
|
11399
|
+
case "API_EXPLORER_APPLICATION":
|
|
11400
|
+
case 10:
|
|
11401
|
+
message.client = 10;
|
|
11402
|
+
break;
|
|
11403
|
+
case "AUTH0_DEPLOY_CLI_EXTENSION":
|
|
11404
|
+
case 11:
|
|
11405
|
+
message.client = 11;
|
|
11406
|
+
break;
|
|
11407
|
+
case "HS_LOAD_TEST":
|
|
11408
|
+
case 12:
|
|
11409
|
+
message.client = 12;
|
|
11410
|
+
break;
|
|
11411
|
+
}
|
|
11412
|
+
switch (object.connection) {
|
|
11413
|
+
case "UNKNOWN_CONNECTION":
|
|
11414
|
+
case 0:
|
|
11415
|
+
message.connection = 0;
|
|
11416
|
+
break;
|
|
11417
|
+
case "APPLE":
|
|
11418
|
+
case 1:
|
|
11419
|
+
message.connection = 1;
|
|
11420
|
+
break;
|
|
11421
|
+
case "FACEBOOK":
|
|
11422
|
+
case 2:
|
|
11423
|
+
message.connection = 2;
|
|
11424
|
+
break;
|
|
11425
|
+
case "ONELOGIN":
|
|
11426
|
+
case 3:
|
|
11427
|
+
message.connection = 3;
|
|
11428
|
+
break;
|
|
11429
|
+
case "SPOTIFY":
|
|
11430
|
+
case 4:
|
|
11431
|
+
message.connection = 4;
|
|
11432
|
+
break;
|
|
11433
|
+
case "USER_PASSWORD_HEADSPACE":
|
|
11434
|
+
case 5:
|
|
11435
|
+
message.connection = 5;
|
|
11436
|
+
break;
|
|
11437
|
+
case "VIRGINPULSE":
|
|
11438
|
+
case 6:
|
|
11439
|
+
message.connection = 6;
|
|
11440
|
+
break;
|
|
11441
|
+
}
|
|
11442
|
+
return message;
|
|
11443
|
+
};
|
|
11444
|
+
|
|
11445
|
+
/**
|
|
11446
|
+
* Creates a plain object from a SuccessfulUserLogin message. Also converts values to other types if specified.
|
|
11447
|
+
* @function toObject
|
|
11448
|
+
* @memberof SuccessfulUserLogin
|
|
11449
|
+
* @static
|
|
11450
|
+
* @param {SuccessfulUserLogin} message SuccessfulUserLogin
|
|
11451
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
11452
|
+
* @returns {Object.<string,*>} Plain object
|
|
11453
|
+
*/
|
|
11454
|
+
SuccessfulUserLogin.toObject = function toObject(message, options) {
|
|
11455
|
+
if (!options)
|
|
11456
|
+
options = {};
|
|
11457
|
+
var object = {};
|
|
11458
|
+
if (options.defaults) {
|
|
11459
|
+
object.hsId = "";
|
|
11460
|
+
if ($util.Long) {
|
|
11461
|
+
var long = new $util.Long(0, 0, true);
|
|
11462
|
+
object.loginAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
11463
|
+
} else
|
|
11464
|
+
object.loginAt = options.longs === String ? "0" : 0;
|
|
11465
|
+
object.client = options.enums === String ? "UNKNOWN_CLIENT" : 0;
|
|
11466
|
+
object.connection = options.enums === String ? "UNKNOWN_CONNECTION" : 0;
|
|
11467
|
+
}
|
|
11468
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
11469
|
+
object.hsId = message.hsId;
|
|
11470
|
+
if (message.loginAt != null && message.hasOwnProperty("loginAt"))
|
|
11471
|
+
if (typeof message.loginAt === "number")
|
|
11472
|
+
object.loginAt = options.longs === String ? String(message.loginAt) : message.loginAt;
|
|
11473
|
+
else
|
|
11474
|
+
object.loginAt = options.longs === String ? $util.Long.prototype.toString.call(message.loginAt) : options.longs === Number ? new $util.LongBits(message.loginAt.low >>> 0, message.loginAt.high >>> 0).toNumber(true) : message.loginAt;
|
|
11475
|
+
if (message.client != null && message.hasOwnProperty("client"))
|
|
11476
|
+
object.client = options.enums === String ? $root.auth0.client.Client[message.client] : message.client;
|
|
11477
|
+
if (message.connection != null && message.hasOwnProperty("connection"))
|
|
11478
|
+
object.connection = options.enums === String ? $root.auth0.connections.Connection[message.connection] : message.connection;
|
|
11479
|
+
return object;
|
|
11480
|
+
};
|
|
11481
|
+
|
|
11482
|
+
/**
|
|
11483
|
+
* Converts this SuccessfulUserLogin to JSON.
|
|
11484
|
+
* @function toJSON
|
|
11485
|
+
* @memberof SuccessfulUserLogin
|
|
11486
|
+
* @instance
|
|
11487
|
+
* @returns {Object.<string,*>} JSON object
|
|
11488
|
+
*/
|
|
11489
|
+
SuccessfulUserLogin.prototype.toJSON = function toJSON() {
|
|
11490
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
11491
|
+
};
|
|
11492
|
+
|
|
11493
|
+
return SuccessfulUserLogin;
|
|
11494
|
+
})();
|
|
11495
|
+
|
|
11074
11496
|
$root.UnlinkedConnection = (function() {
|
|
11075
11497
|
|
|
11076
11498
|
/**
|
|
@@ -48663,6 +49085,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
48663
49085
|
* @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentCreated timestamp
|
|
48664
49086
|
* @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentCreated isPartialPay
|
|
48665
49087
|
* @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentCreated plan
|
|
49088
|
+
* @property {boolean|null} [isPilot] EnterpriseUserEnrollmentCreated isPilot
|
|
48666
49089
|
*/
|
|
48667
49090
|
|
|
48668
49091
|
/**
|
|
@@ -48752,6 +49175,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
48752
49175
|
*/
|
|
48753
49176
|
EnterpriseUserEnrollmentCreated.prototype.plan = 0;
|
|
48754
49177
|
|
|
49178
|
+
/**
|
|
49179
|
+
* EnterpriseUserEnrollmentCreated isPilot.
|
|
49180
|
+
* @member {boolean} isPilot
|
|
49181
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
49182
|
+
* @instance
|
|
49183
|
+
*/
|
|
49184
|
+
EnterpriseUserEnrollmentCreated.prototype.isPilot = false;
|
|
49185
|
+
|
|
48755
49186
|
/**
|
|
48756
49187
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
48757
49188
|
* @function create
|
|
@@ -48794,6 +49225,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
48794
49225
|
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isPartialPay);
|
|
48795
49226
|
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
48796
49227
|
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.plan);
|
|
49228
|
+
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
49229
|
+
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.isPilot);
|
|
48797
49230
|
return writer;
|
|
48798
49231
|
};
|
|
48799
49232
|
|
|
@@ -48855,6 +49288,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
48855
49288
|
case 9:
|
|
48856
49289
|
message.plan = reader.int32();
|
|
48857
49290
|
break;
|
|
49291
|
+
case 10:
|
|
49292
|
+
message.isPilot = reader.bool();
|
|
49293
|
+
break;
|
|
48858
49294
|
default:
|
|
48859
49295
|
reader.skipType(tag & 7);
|
|
48860
49296
|
break;
|
|
@@ -48933,6 +49369,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
48933
49369
|
case 2:
|
|
48934
49370
|
break;
|
|
48935
49371
|
}
|
|
49372
|
+
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
49373
|
+
if (typeof message.isPilot !== "boolean")
|
|
49374
|
+
return "isPilot: boolean expected";
|
|
48936
49375
|
return null;
|
|
48937
49376
|
};
|
|
48938
49377
|
|
|
@@ -49027,6 +49466,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
49027
49466
|
message.plan = 2;
|
|
49028
49467
|
break;
|
|
49029
49468
|
}
|
|
49469
|
+
if (object.isPilot != null)
|
|
49470
|
+
message.isPilot = Boolean(object.isPilot);
|
|
49030
49471
|
return message;
|
|
49031
49472
|
};
|
|
49032
49473
|
|
|
@@ -49065,6 +49506,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
49065
49506
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
49066
49507
|
object.isPartialPay = false;
|
|
49067
49508
|
object.plan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
49509
|
+
object.isPilot = false;
|
|
49068
49510
|
}
|
|
49069
49511
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
49070
49512
|
object.userId = message.userId;
|
|
@@ -49093,6 +49535,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
49093
49535
|
object.isPartialPay = message.isPartialPay;
|
|
49094
49536
|
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
49095
49537
|
object.plan = options.enums === String ? $root.b2b.OrgMemberPlan[message.plan] : message.plan;
|
|
49538
|
+
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
49539
|
+
object.isPilot = message.isPilot;
|
|
49096
49540
|
return object;
|
|
49097
49541
|
};
|
|
49098
49542
|
|
|
@@ -49126,6 +49570,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
49126
49570
|
* @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentRemoved timestamp
|
|
49127
49571
|
* @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentRemoved isPartialPay
|
|
49128
49572
|
* @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentRemoved plan
|
|
49573
|
+
* @property {boolean|null} [isPilot] EnterpriseUserEnrollmentRemoved isPilot
|
|
49129
49574
|
*/
|
|
49130
49575
|
|
|
49131
49576
|
/**
|
|
@@ -49223,6 +49668,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
49223
49668
|
*/
|
|
49224
49669
|
EnterpriseUserEnrollmentRemoved.prototype.plan = 0;
|
|
49225
49670
|
|
|
49671
|
+
/**
|
|
49672
|
+
* EnterpriseUserEnrollmentRemoved isPilot.
|
|
49673
|
+
* @member {boolean} isPilot
|
|
49674
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
49675
|
+
* @instance
|
|
49676
|
+
*/
|
|
49677
|
+
EnterpriseUserEnrollmentRemoved.prototype.isPilot = false;
|
|
49678
|
+
|
|
49226
49679
|
/**
|
|
49227
49680
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
49228
49681
|
* @function create
|
|
@@ -49267,6 +49720,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
49267
49720
|
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.isPartialPay);
|
|
49268
49721
|
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
49269
49722
|
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.plan);
|
|
49723
|
+
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
49724
|
+
writer.uint32(/* id 11, wireType 0 =*/88).bool(message.isPilot);
|
|
49270
49725
|
return writer;
|
|
49271
49726
|
};
|
|
49272
49727
|
|
|
@@ -49331,6 +49786,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
49331
49786
|
case 10:
|
|
49332
49787
|
message.plan = reader.int32();
|
|
49333
49788
|
break;
|
|
49789
|
+
case 11:
|
|
49790
|
+
message.isPilot = reader.bool();
|
|
49791
|
+
break;
|
|
49334
49792
|
default:
|
|
49335
49793
|
reader.skipType(tag & 7);
|
|
49336
49794
|
break;
|
|
@@ -49421,6 +49879,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
49421
49879
|
case 2:
|
|
49422
49880
|
break;
|
|
49423
49881
|
}
|
|
49882
|
+
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
49883
|
+
if (typeof message.isPilot !== "boolean")
|
|
49884
|
+
return "isPilot: boolean expected";
|
|
49424
49885
|
return null;
|
|
49425
49886
|
};
|
|
49426
49887
|
|
|
@@ -49541,6 +50002,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
49541
50002
|
message.plan = 2;
|
|
49542
50003
|
break;
|
|
49543
50004
|
}
|
|
50005
|
+
if (object.isPilot != null)
|
|
50006
|
+
message.isPilot = Boolean(object.isPilot);
|
|
49544
50007
|
return message;
|
|
49545
50008
|
};
|
|
49546
50009
|
|
|
@@ -49580,6 +50043,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
49580
50043
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
49581
50044
|
object.isPartialPay = false;
|
|
49582
50045
|
object.plan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
50046
|
+
object.isPilot = false;
|
|
49583
50047
|
}
|
|
49584
50048
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
49585
50049
|
object.userId = message.userId;
|
|
@@ -49610,6 +50074,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
49610
50074
|
object.isPartialPay = message.isPartialPay;
|
|
49611
50075
|
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
49612
50076
|
object.plan = options.enums === String ? $root.b2b.OrgMemberPlan[message.plan] : message.plan;
|
|
50077
|
+
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
50078
|
+
object.isPilot = message.isPilot;
|
|
49613
50079
|
return object;
|
|
49614
50080
|
};
|
|
49615
50081
|
|
|
@@ -49642,6 +50108,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
49642
50108
|
* @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentAmended timestamp
|
|
49643
50109
|
* @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentAmended isPartialPay
|
|
49644
50110
|
* @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentAmended plan
|
|
50111
|
+
* @property {boolean|null} [isPilot] EnterpriseUserEnrollmentAmended isPilot
|
|
49645
50112
|
*/
|
|
49646
50113
|
|
|
49647
50114
|
/**
|
|
@@ -49731,6 +50198,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
49731
50198
|
*/
|
|
49732
50199
|
EnterpriseUserEnrollmentAmended.prototype.plan = 0;
|
|
49733
50200
|
|
|
50201
|
+
/**
|
|
50202
|
+
* EnterpriseUserEnrollmentAmended isPilot.
|
|
50203
|
+
* @member {boolean} isPilot
|
|
50204
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
50205
|
+
* @instance
|
|
50206
|
+
*/
|
|
50207
|
+
EnterpriseUserEnrollmentAmended.prototype.isPilot = false;
|
|
50208
|
+
|
|
49734
50209
|
/**
|
|
49735
50210
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
49736
50211
|
* @function create
|
|
@@ -49773,6 +50248,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
49773
50248
|
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isPartialPay);
|
|
49774
50249
|
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
49775
50250
|
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.plan);
|
|
50251
|
+
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
50252
|
+
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.isPilot);
|
|
49776
50253
|
return writer;
|
|
49777
50254
|
};
|
|
49778
50255
|
|
|
@@ -49834,6 +50311,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
49834
50311
|
case 9:
|
|
49835
50312
|
message.plan = reader.int32();
|
|
49836
50313
|
break;
|
|
50314
|
+
case 10:
|
|
50315
|
+
message.isPilot = reader.bool();
|
|
50316
|
+
break;
|
|
49837
50317
|
default:
|
|
49838
50318
|
reader.skipType(tag & 7);
|
|
49839
50319
|
break;
|
|
@@ -49912,6 +50392,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
49912
50392
|
case 2:
|
|
49913
50393
|
break;
|
|
49914
50394
|
}
|
|
50395
|
+
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
50396
|
+
if (typeof message.isPilot !== "boolean")
|
|
50397
|
+
return "isPilot: boolean expected";
|
|
49915
50398
|
return null;
|
|
49916
50399
|
};
|
|
49917
50400
|
|
|
@@ -50006,6 +50489,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
50006
50489
|
message.plan = 2;
|
|
50007
50490
|
break;
|
|
50008
50491
|
}
|
|
50492
|
+
if (object.isPilot != null)
|
|
50493
|
+
message.isPilot = Boolean(object.isPilot);
|
|
50009
50494
|
return message;
|
|
50010
50495
|
};
|
|
50011
50496
|
|
|
@@ -50044,6 +50529,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
50044
50529
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
50045
50530
|
object.isPartialPay = false;
|
|
50046
50531
|
object.plan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
50532
|
+
object.isPilot = false;
|
|
50047
50533
|
}
|
|
50048
50534
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
50049
50535
|
object.userId = message.userId;
|
|
@@ -50072,6 +50558,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
50072
50558
|
object.isPartialPay = message.isPartialPay;
|
|
50073
50559
|
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
50074
50560
|
object.plan = options.enums === String ? $root.b2b.OrgMemberPlan[message.plan] : message.plan;
|
|
50561
|
+
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
50562
|
+
object.isPilot = message.isPilot;
|
|
50075
50563
|
return object;
|
|
50076
50564
|
};
|
|
50077
50565
|
|
package/package.json
CHANGED