@headspace/protos-events 1.411.0 → 1.413.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 +139 -0
- package/lib/index.js +397 -7
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -120,6 +120,13 @@ export namespace auth {
|
|
|
120
120
|
AUTH_LOGIN_TAG_UNKNOWN = 0,
|
|
121
121
|
AUTH_LOGIN_TAG_FIRST_LOGIN = 1
|
|
122
122
|
}
|
|
123
|
+
|
|
124
|
+
/** AuthEmailVerification enum. */
|
|
125
|
+
enum AuthEmailVerification {
|
|
126
|
+
AUTH_EMAIL_UNKNOWN = 0,
|
|
127
|
+
AUTH_EMAIL_VERIFIED = 1,
|
|
128
|
+
AUTH_EMAIL_UNVERIFIED = 2
|
|
129
|
+
}
|
|
123
130
|
}
|
|
124
131
|
|
|
125
132
|
/** Namespace auth0. */
|
|
@@ -27339,6 +27346,21 @@ export interface IHealthPartnershipMemberEligibilityVerified {
|
|
|
27339
27346
|
/** HealthPartnershipMemberEligibilityVerified phoneNumber */
|
|
27340
27347
|
phoneNumber?: (string|null);
|
|
27341
27348
|
|
|
27349
|
+
/** HealthPartnershipMemberEligibilityVerified streetAddress_1 */
|
|
27350
|
+
streetAddress_1?: (string|null);
|
|
27351
|
+
|
|
27352
|
+
/** HealthPartnershipMemberEligibilityVerified streetAddress_2 */
|
|
27353
|
+
streetAddress_2?: (string|null);
|
|
27354
|
+
|
|
27355
|
+
/** HealthPartnershipMemberEligibilityVerified city */
|
|
27356
|
+
city?: (string|null);
|
|
27357
|
+
|
|
27358
|
+
/** HealthPartnershipMemberEligibilityVerified state */
|
|
27359
|
+
state?: (string|null);
|
|
27360
|
+
|
|
27361
|
+
/** HealthPartnershipMemberEligibilityVerified zipCode */
|
|
27362
|
+
zipCode?: (string|null);
|
|
27363
|
+
|
|
27342
27364
|
/** HealthPartnershipMemberEligibilityVerified medicalRecordNumber */
|
|
27343
27365
|
medicalRecordNumber?: (string|null);
|
|
27344
27366
|
|
|
@@ -27385,6 +27407,21 @@ export class HealthPartnershipMemberEligibilityVerified implements IHealthPartne
|
|
|
27385
27407
|
/** HealthPartnershipMemberEligibilityVerified phoneNumber. */
|
|
27386
27408
|
public phoneNumber: string;
|
|
27387
27409
|
|
|
27410
|
+
/** HealthPartnershipMemberEligibilityVerified streetAddress_1. */
|
|
27411
|
+
public streetAddress_1: string;
|
|
27412
|
+
|
|
27413
|
+
/** HealthPartnershipMemberEligibilityVerified streetAddress_2. */
|
|
27414
|
+
public streetAddress_2: string;
|
|
27415
|
+
|
|
27416
|
+
/** HealthPartnershipMemberEligibilityVerified city. */
|
|
27417
|
+
public city: string;
|
|
27418
|
+
|
|
27419
|
+
/** HealthPartnershipMemberEligibilityVerified state. */
|
|
27420
|
+
public state: string;
|
|
27421
|
+
|
|
27422
|
+
/** HealthPartnershipMemberEligibilityVerified zipCode. */
|
|
27423
|
+
public zipCode: string;
|
|
27424
|
+
|
|
27388
27425
|
/** HealthPartnershipMemberEligibilityVerified medicalRecordNumber. */
|
|
27389
27426
|
public medicalRecordNumber: string;
|
|
27390
27427
|
|
|
@@ -30159,6 +30196,108 @@ export class AuthLoggedIn implements IAuthLoggedIn {
|
|
|
30159
30196
|
public toJSON(): { [k: string]: any };
|
|
30160
30197
|
}
|
|
30161
30198
|
|
|
30199
|
+
/** Properties of an AuthEmailVerificationUpdated. */
|
|
30200
|
+
export interface IAuthEmailVerificationUpdated {
|
|
30201
|
+
|
|
30202
|
+
/** HSUSER identifier */
|
|
30203
|
+
userId?: (string|null);
|
|
30204
|
+
|
|
30205
|
+
/** epoch millis of event */
|
|
30206
|
+
timestamp?: (number|Long|null);
|
|
30207
|
+
|
|
30208
|
+
/** email verification status */
|
|
30209
|
+
verificationStatus?: (auth.AuthEmailVerification|null);
|
|
30210
|
+
}
|
|
30211
|
+
|
|
30212
|
+
/** Signals when email verification status has changed */
|
|
30213
|
+
export class AuthEmailVerificationUpdated implements IAuthEmailVerificationUpdated {
|
|
30214
|
+
|
|
30215
|
+
/**
|
|
30216
|
+
* Constructs a new AuthEmailVerificationUpdated.
|
|
30217
|
+
* @param [properties] Properties to set
|
|
30218
|
+
*/
|
|
30219
|
+
constructor(properties?: IAuthEmailVerificationUpdated);
|
|
30220
|
+
|
|
30221
|
+
/** HSUSER identifier */
|
|
30222
|
+
public userId: string;
|
|
30223
|
+
|
|
30224
|
+
/** epoch millis of event */
|
|
30225
|
+
public timestamp: (number|Long);
|
|
30226
|
+
|
|
30227
|
+
/** email verification status */
|
|
30228
|
+
public verificationStatus: auth.AuthEmailVerification;
|
|
30229
|
+
|
|
30230
|
+
/**
|
|
30231
|
+
* Creates a new AuthEmailVerificationUpdated instance using the specified properties.
|
|
30232
|
+
* @param [properties] Properties to set
|
|
30233
|
+
* @returns AuthEmailVerificationUpdated instance
|
|
30234
|
+
*/
|
|
30235
|
+
public static create(properties?: IAuthEmailVerificationUpdated): AuthEmailVerificationUpdated;
|
|
30236
|
+
|
|
30237
|
+
/**
|
|
30238
|
+
* Encodes the specified AuthEmailVerificationUpdated message. Does not implicitly {@link AuthEmailVerificationUpdated.verify|verify} messages.
|
|
30239
|
+
* @param message AuthEmailVerificationUpdated message or plain object to encode
|
|
30240
|
+
* @param [writer] Writer to encode to
|
|
30241
|
+
* @returns Writer
|
|
30242
|
+
*/
|
|
30243
|
+
public static encode(message: IAuthEmailVerificationUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30244
|
+
|
|
30245
|
+
/**
|
|
30246
|
+
* Encodes the specified AuthEmailVerificationUpdated message, length delimited. Does not implicitly {@link AuthEmailVerificationUpdated.verify|verify} messages.
|
|
30247
|
+
* @param message AuthEmailVerificationUpdated message or plain object to encode
|
|
30248
|
+
* @param [writer] Writer to encode to
|
|
30249
|
+
* @returns Writer
|
|
30250
|
+
*/
|
|
30251
|
+
public static encodeDelimited(message: IAuthEmailVerificationUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30252
|
+
|
|
30253
|
+
/**
|
|
30254
|
+
* Decodes an AuthEmailVerificationUpdated message from the specified reader or buffer.
|
|
30255
|
+
* @param reader Reader or buffer to decode from
|
|
30256
|
+
* @param [length] Message length if known beforehand
|
|
30257
|
+
* @returns AuthEmailVerificationUpdated
|
|
30258
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30259
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30260
|
+
*/
|
|
30261
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AuthEmailVerificationUpdated;
|
|
30262
|
+
|
|
30263
|
+
/**
|
|
30264
|
+
* Decodes an AuthEmailVerificationUpdated message from the specified reader or buffer, length delimited.
|
|
30265
|
+
* @param reader Reader or buffer to decode from
|
|
30266
|
+
* @returns AuthEmailVerificationUpdated
|
|
30267
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30268
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30269
|
+
*/
|
|
30270
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AuthEmailVerificationUpdated;
|
|
30271
|
+
|
|
30272
|
+
/**
|
|
30273
|
+
* Verifies an AuthEmailVerificationUpdated message.
|
|
30274
|
+
* @param message Plain object to verify
|
|
30275
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30276
|
+
*/
|
|
30277
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
30278
|
+
|
|
30279
|
+
/**
|
|
30280
|
+
* Creates an AuthEmailVerificationUpdated message from a plain object. Also converts values to their respective internal types.
|
|
30281
|
+
* @param object Plain object
|
|
30282
|
+
* @returns AuthEmailVerificationUpdated
|
|
30283
|
+
*/
|
|
30284
|
+
public static fromObject(object: { [k: string]: any }): AuthEmailVerificationUpdated;
|
|
30285
|
+
|
|
30286
|
+
/**
|
|
30287
|
+
* Creates a plain object from an AuthEmailVerificationUpdated message. Also converts values to other types if specified.
|
|
30288
|
+
* @param message AuthEmailVerificationUpdated
|
|
30289
|
+
* @param [options] Conversion options
|
|
30290
|
+
* @returns Plain object
|
|
30291
|
+
*/
|
|
30292
|
+
public static toObject(message: AuthEmailVerificationUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
30293
|
+
|
|
30294
|
+
/**
|
|
30295
|
+
* Converts this AuthEmailVerificationUpdated to JSON.
|
|
30296
|
+
* @returns JSON object
|
|
30297
|
+
*/
|
|
30298
|
+
public toJSON(): { [k: string]: any };
|
|
30299
|
+
}
|
|
30300
|
+
|
|
30162
30301
|
/** Properties of an OrganizationCreated. */
|
|
30163
30302
|
export interface IOrganizationCreated {
|
|
30164
30303
|
|
package/lib/index.js
CHANGED
|
@@ -287,6 +287,22 @@ $root.auth = (function() {
|
|
|
287
287
|
return values;
|
|
288
288
|
})();
|
|
289
289
|
|
|
290
|
+
/**
|
|
291
|
+
* AuthEmailVerification enum.
|
|
292
|
+
* @name auth.AuthEmailVerification
|
|
293
|
+
* @enum {string}
|
|
294
|
+
* @property {number} AUTH_EMAIL_UNKNOWN=0 AUTH_EMAIL_UNKNOWN value
|
|
295
|
+
* @property {number} AUTH_EMAIL_VERIFIED=1 AUTH_EMAIL_VERIFIED value
|
|
296
|
+
* @property {number} AUTH_EMAIL_UNVERIFIED=2 AUTH_EMAIL_UNVERIFIED value
|
|
297
|
+
*/
|
|
298
|
+
auth.AuthEmailVerification = (function() {
|
|
299
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
300
|
+
values[valuesById[0] = "AUTH_EMAIL_UNKNOWN"] = 0;
|
|
301
|
+
values[valuesById[1] = "AUTH_EMAIL_VERIFIED"] = 1;
|
|
302
|
+
values[valuesById[2] = "AUTH_EMAIL_UNVERIFIED"] = 2;
|
|
303
|
+
return values;
|
|
304
|
+
})();
|
|
305
|
+
|
|
290
306
|
return auth;
|
|
291
307
|
})();
|
|
292
308
|
|
|
@@ -75967,6 +75983,11 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
75967
75983
|
* @property {string|null} [emailAddress] HealthPartnershipMemberEligibilityVerified emailAddress
|
|
75968
75984
|
* @property {string|null} [gender] HealthPartnershipMemberEligibilityVerified gender
|
|
75969
75985
|
* @property {string|null} [phoneNumber] HealthPartnershipMemberEligibilityVerified phoneNumber
|
|
75986
|
+
* @property {string|null} [streetAddress_1] HealthPartnershipMemberEligibilityVerified streetAddress_1
|
|
75987
|
+
* @property {string|null} [streetAddress_2] HealthPartnershipMemberEligibilityVerified streetAddress_2
|
|
75988
|
+
* @property {string|null} [city] HealthPartnershipMemberEligibilityVerified city
|
|
75989
|
+
* @property {string|null} [state] HealthPartnershipMemberEligibilityVerified state
|
|
75990
|
+
* @property {string|null} [zipCode] HealthPartnershipMemberEligibilityVerified zipCode
|
|
75970
75991
|
* @property {string|null} [medicalRecordNumber] HealthPartnershipMemberEligibilityVerified medicalRecordNumber
|
|
75971
75992
|
* @property {string|null} [referralPartner] HealthPartnershipMemberEligibilityVerified referralPartner
|
|
75972
75993
|
* @property {string|null} [referralPartnerBranch] HealthPartnershipMemberEligibilityVerified referralPartnerBranch
|
|
@@ -76052,6 +76073,46 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76052
76073
|
*/
|
|
76053
76074
|
HealthPartnershipMemberEligibilityVerified.prototype.phoneNumber = "";
|
|
76054
76075
|
|
|
76076
|
+
/**
|
|
76077
|
+
* HealthPartnershipMemberEligibilityVerified streetAddress_1.
|
|
76078
|
+
* @member {string} streetAddress_1
|
|
76079
|
+
* @memberof HealthPartnershipMemberEligibilityVerified
|
|
76080
|
+
* @instance
|
|
76081
|
+
*/
|
|
76082
|
+
HealthPartnershipMemberEligibilityVerified.prototype.streetAddress_1 = "";
|
|
76083
|
+
|
|
76084
|
+
/**
|
|
76085
|
+
* HealthPartnershipMemberEligibilityVerified streetAddress_2.
|
|
76086
|
+
* @member {string} streetAddress_2
|
|
76087
|
+
* @memberof HealthPartnershipMemberEligibilityVerified
|
|
76088
|
+
* @instance
|
|
76089
|
+
*/
|
|
76090
|
+
HealthPartnershipMemberEligibilityVerified.prototype.streetAddress_2 = "";
|
|
76091
|
+
|
|
76092
|
+
/**
|
|
76093
|
+
* HealthPartnershipMemberEligibilityVerified city.
|
|
76094
|
+
* @member {string} city
|
|
76095
|
+
* @memberof HealthPartnershipMemberEligibilityVerified
|
|
76096
|
+
* @instance
|
|
76097
|
+
*/
|
|
76098
|
+
HealthPartnershipMemberEligibilityVerified.prototype.city = "";
|
|
76099
|
+
|
|
76100
|
+
/**
|
|
76101
|
+
* HealthPartnershipMemberEligibilityVerified state.
|
|
76102
|
+
* @member {string} state
|
|
76103
|
+
* @memberof HealthPartnershipMemberEligibilityVerified
|
|
76104
|
+
* @instance
|
|
76105
|
+
*/
|
|
76106
|
+
HealthPartnershipMemberEligibilityVerified.prototype.state = "";
|
|
76107
|
+
|
|
76108
|
+
/**
|
|
76109
|
+
* HealthPartnershipMemberEligibilityVerified zipCode.
|
|
76110
|
+
* @member {string} zipCode
|
|
76111
|
+
* @memberof HealthPartnershipMemberEligibilityVerified
|
|
76112
|
+
* @instance
|
|
76113
|
+
*/
|
|
76114
|
+
HealthPartnershipMemberEligibilityVerified.prototype.zipCode = "";
|
|
76115
|
+
|
|
76055
76116
|
/**
|
|
76056
76117
|
* HealthPartnershipMemberEligibilityVerified medicalRecordNumber.
|
|
76057
76118
|
* @member {string} medicalRecordNumber
|
|
@@ -76124,14 +76185,24 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76124
76185
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.gender);
|
|
76125
76186
|
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
76126
76187
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.phoneNumber);
|
|
76188
|
+
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
76189
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.streetAddress_1);
|
|
76190
|
+
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
76191
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.streetAddress_2);
|
|
76192
|
+
if (message.city != null && message.hasOwnProperty("city"))
|
|
76193
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.city);
|
|
76194
|
+
if (message.state != null && message.hasOwnProperty("state"))
|
|
76195
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.state);
|
|
76196
|
+
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
76197
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.zipCode);
|
|
76127
76198
|
if (message.medicalRecordNumber != null && message.hasOwnProperty("medicalRecordNumber"))
|
|
76128
|
-
writer.uint32(/* id
|
|
76199
|
+
writer.uint32(/* id 14, wireType 2 =*/114).string(message.medicalRecordNumber);
|
|
76129
76200
|
if (message.referralPartner != null && message.hasOwnProperty("referralPartner"))
|
|
76130
|
-
writer.uint32(/* id
|
|
76201
|
+
writer.uint32(/* id 15, wireType 2 =*/122).string(message.referralPartner);
|
|
76131
76202
|
if (message.referralPartnerBranch != null && message.hasOwnProperty("referralPartnerBranch"))
|
|
76132
|
-
writer.uint32(/* id
|
|
76203
|
+
writer.uint32(/* id 16, wireType 2 =*/130).string(message.referralPartnerBranch);
|
|
76133
76204
|
if (message.uniqueCode != null && message.hasOwnProperty("uniqueCode"))
|
|
76134
|
-
writer.uint32(/* id
|
|
76205
|
+
writer.uint32(/* id 17, wireType 2 =*/138).string(message.uniqueCode);
|
|
76135
76206
|
return writer;
|
|
76136
76207
|
};
|
|
76137
76208
|
|
|
@@ -76191,15 +76262,30 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76191
76262
|
message.phoneNumber = reader.string();
|
|
76192
76263
|
break;
|
|
76193
76264
|
case 9:
|
|
76194
|
-
message.
|
|
76265
|
+
message.streetAddress_1 = reader.string();
|
|
76195
76266
|
break;
|
|
76196
76267
|
case 10:
|
|
76197
|
-
message.
|
|
76268
|
+
message.streetAddress_2 = reader.string();
|
|
76198
76269
|
break;
|
|
76199
76270
|
case 11:
|
|
76200
|
-
message.
|
|
76271
|
+
message.city = reader.string();
|
|
76201
76272
|
break;
|
|
76202
76273
|
case 12:
|
|
76274
|
+
message.state = reader.string();
|
|
76275
|
+
break;
|
|
76276
|
+
case 13:
|
|
76277
|
+
message.zipCode = reader.string();
|
|
76278
|
+
break;
|
|
76279
|
+
case 14:
|
|
76280
|
+
message.medicalRecordNumber = reader.string();
|
|
76281
|
+
break;
|
|
76282
|
+
case 15:
|
|
76283
|
+
message.referralPartner = reader.string();
|
|
76284
|
+
break;
|
|
76285
|
+
case 16:
|
|
76286
|
+
message.referralPartnerBranch = reader.string();
|
|
76287
|
+
break;
|
|
76288
|
+
case 17:
|
|
76203
76289
|
message.uniqueCode = reader.string();
|
|
76204
76290
|
break;
|
|
76205
76291
|
default:
|
|
@@ -76261,6 +76347,21 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76261
76347
|
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
76262
76348
|
if (!$util.isString(message.phoneNumber))
|
|
76263
76349
|
return "phoneNumber: string expected";
|
|
76350
|
+
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
76351
|
+
if (!$util.isString(message.streetAddress_1))
|
|
76352
|
+
return "streetAddress_1: string expected";
|
|
76353
|
+
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
76354
|
+
if (!$util.isString(message.streetAddress_2))
|
|
76355
|
+
return "streetAddress_2: string expected";
|
|
76356
|
+
if (message.city != null && message.hasOwnProperty("city"))
|
|
76357
|
+
if (!$util.isString(message.city))
|
|
76358
|
+
return "city: string expected";
|
|
76359
|
+
if (message.state != null && message.hasOwnProperty("state"))
|
|
76360
|
+
if (!$util.isString(message.state))
|
|
76361
|
+
return "state: string expected";
|
|
76362
|
+
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
76363
|
+
if (!$util.isString(message.zipCode))
|
|
76364
|
+
return "zipCode: string expected";
|
|
76264
76365
|
if (message.medicalRecordNumber != null && message.hasOwnProperty("medicalRecordNumber"))
|
|
76265
76366
|
if (!$util.isString(message.medicalRecordNumber))
|
|
76266
76367
|
return "medicalRecordNumber: string expected";
|
|
@@ -76304,6 +76405,16 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76304
76405
|
message.gender = String(object.gender);
|
|
76305
76406
|
if (object.phoneNumber != null)
|
|
76306
76407
|
message.phoneNumber = String(object.phoneNumber);
|
|
76408
|
+
if (object.streetAddress_1 != null)
|
|
76409
|
+
message.streetAddress_1 = String(object.streetAddress_1);
|
|
76410
|
+
if (object.streetAddress_2 != null)
|
|
76411
|
+
message.streetAddress_2 = String(object.streetAddress_2);
|
|
76412
|
+
if (object.city != null)
|
|
76413
|
+
message.city = String(object.city);
|
|
76414
|
+
if (object.state != null)
|
|
76415
|
+
message.state = String(object.state);
|
|
76416
|
+
if (object.zipCode != null)
|
|
76417
|
+
message.zipCode = String(object.zipCode);
|
|
76307
76418
|
if (object.medicalRecordNumber != null)
|
|
76308
76419
|
message.medicalRecordNumber = String(object.medicalRecordNumber);
|
|
76309
76420
|
if (object.referralPartner != null)
|
|
@@ -76337,6 +76448,11 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76337
76448
|
object.emailAddress = "";
|
|
76338
76449
|
object.gender = "";
|
|
76339
76450
|
object.phoneNumber = "";
|
|
76451
|
+
object.streetAddress_1 = "";
|
|
76452
|
+
object.streetAddress_2 = "";
|
|
76453
|
+
object.city = "";
|
|
76454
|
+
object.state = "";
|
|
76455
|
+
object.zipCode = "";
|
|
76340
76456
|
object.medicalRecordNumber = "";
|
|
76341
76457
|
object.referralPartner = "";
|
|
76342
76458
|
object.referralPartnerBranch = "";
|
|
@@ -76358,6 +76474,16 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76358
76474
|
object.gender = message.gender;
|
|
76359
76475
|
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
76360
76476
|
object.phoneNumber = message.phoneNumber;
|
|
76477
|
+
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
76478
|
+
object.streetAddress_1 = message.streetAddress_1;
|
|
76479
|
+
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
76480
|
+
object.streetAddress_2 = message.streetAddress_2;
|
|
76481
|
+
if (message.city != null && message.hasOwnProperty("city"))
|
|
76482
|
+
object.city = message.city;
|
|
76483
|
+
if (message.state != null && message.hasOwnProperty("state"))
|
|
76484
|
+
object.state = message.state;
|
|
76485
|
+
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
76486
|
+
object.zipCode = message.zipCode;
|
|
76361
76487
|
if (message.medicalRecordNumber != null && message.hasOwnProperty("medicalRecordNumber"))
|
|
76362
76488
|
object.medicalRecordNumber = message.medicalRecordNumber;
|
|
76363
76489
|
if (message.referralPartner != null && message.hasOwnProperty("referralPartner"))
|
|
@@ -83963,6 +84089,270 @@ $root.AuthLoggedIn = (function() {
|
|
|
83963
84089
|
return AuthLoggedIn;
|
|
83964
84090
|
})();
|
|
83965
84091
|
|
|
84092
|
+
$root.AuthEmailVerificationUpdated = (function() {
|
|
84093
|
+
|
|
84094
|
+
/**
|
|
84095
|
+
* Properties of an AuthEmailVerificationUpdated.
|
|
84096
|
+
* @exports IAuthEmailVerificationUpdated
|
|
84097
|
+
* @interface IAuthEmailVerificationUpdated
|
|
84098
|
+
* @property {string|null} [userId] HSUSER identifier
|
|
84099
|
+
* @property {number|Long|null} [timestamp] epoch millis of event
|
|
84100
|
+
* @property {auth.AuthEmailVerification|null} [verificationStatus] email verification status
|
|
84101
|
+
*/
|
|
84102
|
+
|
|
84103
|
+
/**
|
|
84104
|
+
* Constructs a new AuthEmailVerificationUpdated.
|
|
84105
|
+
* @exports AuthEmailVerificationUpdated
|
|
84106
|
+
* @classdesc Signals when email verification status has changed
|
|
84107
|
+
* @implements IAuthEmailVerificationUpdated
|
|
84108
|
+
* @constructor
|
|
84109
|
+
* @param {IAuthEmailVerificationUpdated=} [properties] Properties to set
|
|
84110
|
+
*/
|
|
84111
|
+
function AuthEmailVerificationUpdated(properties) {
|
|
84112
|
+
if (properties)
|
|
84113
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
84114
|
+
if (properties[keys[i]] != null)
|
|
84115
|
+
this[keys[i]] = properties[keys[i]];
|
|
84116
|
+
}
|
|
84117
|
+
|
|
84118
|
+
/**
|
|
84119
|
+
* HSUSER identifier
|
|
84120
|
+
* @member {string} userId
|
|
84121
|
+
* @memberof AuthEmailVerificationUpdated
|
|
84122
|
+
* @instance
|
|
84123
|
+
*/
|
|
84124
|
+
AuthEmailVerificationUpdated.prototype.userId = "";
|
|
84125
|
+
|
|
84126
|
+
/**
|
|
84127
|
+
* epoch millis of event
|
|
84128
|
+
* @member {number|Long} timestamp
|
|
84129
|
+
* @memberof AuthEmailVerificationUpdated
|
|
84130
|
+
* @instance
|
|
84131
|
+
*/
|
|
84132
|
+
AuthEmailVerificationUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
84133
|
+
|
|
84134
|
+
/**
|
|
84135
|
+
* email verification status
|
|
84136
|
+
* @member {auth.AuthEmailVerification} verificationStatus
|
|
84137
|
+
* @memberof AuthEmailVerificationUpdated
|
|
84138
|
+
* @instance
|
|
84139
|
+
*/
|
|
84140
|
+
AuthEmailVerificationUpdated.prototype.verificationStatus = 0;
|
|
84141
|
+
|
|
84142
|
+
/**
|
|
84143
|
+
* Creates a new AuthEmailVerificationUpdated instance using the specified properties.
|
|
84144
|
+
* @function create
|
|
84145
|
+
* @memberof AuthEmailVerificationUpdated
|
|
84146
|
+
* @static
|
|
84147
|
+
* @param {IAuthEmailVerificationUpdated=} [properties] Properties to set
|
|
84148
|
+
* @returns {AuthEmailVerificationUpdated} AuthEmailVerificationUpdated instance
|
|
84149
|
+
*/
|
|
84150
|
+
AuthEmailVerificationUpdated.create = function create(properties) {
|
|
84151
|
+
return new AuthEmailVerificationUpdated(properties);
|
|
84152
|
+
};
|
|
84153
|
+
|
|
84154
|
+
/**
|
|
84155
|
+
* Encodes the specified AuthEmailVerificationUpdated message. Does not implicitly {@link AuthEmailVerificationUpdated.verify|verify} messages.
|
|
84156
|
+
* @function encode
|
|
84157
|
+
* @memberof AuthEmailVerificationUpdated
|
|
84158
|
+
* @static
|
|
84159
|
+
* @param {IAuthEmailVerificationUpdated} message AuthEmailVerificationUpdated message or plain object to encode
|
|
84160
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84161
|
+
* @returns {$protobuf.Writer} Writer
|
|
84162
|
+
*/
|
|
84163
|
+
AuthEmailVerificationUpdated.encode = function encode(message, writer) {
|
|
84164
|
+
if (!writer)
|
|
84165
|
+
writer = $Writer.create();
|
|
84166
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
84167
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
84168
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84169
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
84170
|
+
if (message.verificationStatus != null && message.hasOwnProperty("verificationStatus"))
|
|
84171
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.verificationStatus);
|
|
84172
|
+
return writer;
|
|
84173
|
+
};
|
|
84174
|
+
|
|
84175
|
+
/**
|
|
84176
|
+
* Encodes the specified AuthEmailVerificationUpdated message, length delimited. Does not implicitly {@link AuthEmailVerificationUpdated.verify|verify} messages.
|
|
84177
|
+
* @function encodeDelimited
|
|
84178
|
+
* @memberof AuthEmailVerificationUpdated
|
|
84179
|
+
* @static
|
|
84180
|
+
* @param {IAuthEmailVerificationUpdated} message AuthEmailVerificationUpdated message or plain object to encode
|
|
84181
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84182
|
+
* @returns {$protobuf.Writer} Writer
|
|
84183
|
+
*/
|
|
84184
|
+
AuthEmailVerificationUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
84185
|
+
return this.encode(message, writer).ldelim();
|
|
84186
|
+
};
|
|
84187
|
+
|
|
84188
|
+
/**
|
|
84189
|
+
* Decodes an AuthEmailVerificationUpdated message from the specified reader or buffer.
|
|
84190
|
+
* @function decode
|
|
84191
|
+
* @memberof AuthEmailVerificationUpdated
|
|
84192
|
+
* @static
|
|
84193
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84194
|
+
* @param {number} [length] Message length if known beforehand
|
|
84195
|
+
* @returns {AuthEmailVerificationUpdated} AuthEmailVerificationUpdated
|
|
84196
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84197
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84198
|
+
*/
|
|
84199
|
+
AuthEmailVerificationUpdated.decode = function decode(reader, length) {
|
|
84200
|
+
if (!(reader instanceof $Reader))
|
|
84201
|
+
reader = $Reader.create(reader);
|
|
84202
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AuthEmailVerificationUpdated();
|
|
84203
|
+
while (reader.pos < end) {
|
|
84204
|
+
var tag = reader.uint32();
|
|
84205
|
+
switch (tag >>> 3) {
|
|
84206
|
+
case 1:
|
|
84207
|
+
message.userId = reader.string();
|
|
84208
|
+
break;
|
|
84209
|
+
case 2:
|
|
84210
|
+
message.timestamp = reader.uint64();
|
|
84211
|
+
break;
|
|
84212
|
+
case 3:
|
|
84213
|
+
message.verificationStatus = reader.int32();
|
|
84214
|
+
break;
|
|
84215
|
+
default:
|
|
84216
|
+
reader.skipType(tag & 7);
|
|
84217
|
+
break;
|
|
84218
|
+
}
|
|
84219
|
+
}
|
|
84220
|
+
return message;
|
|
84221
|
+
};
|
|
84222
|
+
|
|
84223
|
+
/**
|
|
84224
|
+
* Decodes an AuthEmailVerificationUpdated message from the specified reader or buffer, length delimited.
|
|
84225
|
+
* @function decodeDelimited
|
|
84226
|
+
* @memberof AuthEmailVerificationUpdated
|
|
84227
|
+
* @static
|
|
84228
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84229
|
+
* @returns {AuthEmailVerificationUpdated} AuthEmailVerificationUpdated
|
|
84230
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84231
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84232
|
+
*/
|
|
84233
|
+
AuthEmailVerificationUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
84234
|
+
if (!(reader instanceof $Reader))
|
|
84235
|
+
reader = new $Reader(reader);
|
|
84236
|
+
return this.decode(reader, reader.uint32());
|
|
84237
|
+
};
|
|
84238
|
+
|
|
84239
|
+
/**
|
|
84240
|
+
* Verifies an AuthEmailVerificationUpdated message.
|
|
84241
|
+
* @function verify
|
|
84242
|
+
* @memberof AuthEmailVerificationUpdated
|
|
84243
|
+
* @static
|
|
84244
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
84245
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
84246
|
+
*/
|
|
84247
|
+
AuthEmailVerificationUpdated.verify = function verify(message) {
|
|
84248
|
+
if (typeof message !== "object" || message === null)
|
|
84249
|
+
return "object expected";
|
|
84250
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
84251
|
+
if (!$util.isString(message.userId))
|
|
84252
|
+
return "userId: string expected";
|
|
84253
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84254
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
84255
|
+
return "timestamp: integer|Long expected";
|
|
84256
|
+
if (message.verificationStatus != null && message.hasOwnProperty("verificationStatus"))
|
|
84257
|
+
switch (message.verificationStatus) {
|
|
84258
|
+
default:
|
|
84259
|
+
return "verificationStatus: enum value expected";
|
|
84260
|
+
case 0:
|
|
84261
|
+
case 1:
|
|
84262
|
+
case 2:
|
|
84263
|
+
break;
|
|
84264
|
+
}
|
|
84265
|
+
return null;
|
|
84266
|
+
};
|
|
84267
|
+
|
|
84268
|
+
/**
|
|
84269
|
+
* Creates an AuthEmailVerificationUpdated message from a plain object. Also converts values to their respective internal types.
|
|
84270
|
+
* @function fromObject
|
|
84271
|
+
* @memberof AuthEmailVerificationUpdated
|
|
84272
|
+
* @static
|
|
84273
|
+
* @param {Object.<string,*>} object Plain object
|
|
84274
|
+
* @returns {AuthEmailVerificationUpdated} AuthEmailVerificationUpdated
|
|
84275
|
+
*/
|
|
84276
|
+
AuthEmailVerificationUpdated.fromObject = function fromObject(object) {
|
|
84277
|
+
if (object instanceof $root.AuthEmailVerificationUpdated)
|
|
84278
|
+
return object;
|
|
84279
|
+
var message = new $root.AuthEmailVerificationUpdated();
|
|
84280
|
+
if (object.userId != null)
|
|
84281
|
+
message.userId = String(object.userId);
|
|
84282
|
+
if (object.timestamp != null)
|
|
84283
|
+
if ($util.Long)
|
|
84284
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
84285
|
+
else if (typeof object.timestamp === "string")
|
|
84286
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
84287
|
+
else if (typeof object.timestamp === "number")
|
|
84288
|
+
message.timestamp = object.timestamp;
|
|
84289
|
+
else if (typeof object.timestamp === "object")
|
|
84290
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
84291
|
+
switch (object.verificationStatus) {
|
|
84292
|
+
case "AUTH_EMAIL_UNKNOWN":
|
|
84293
|
+
case 0:
|
|
84294
|
+
message.verificationStatus = 0;
|
|
84295
|
+
break;
|
|
84296
|
+
case "AUTH_EMAIL_VERIFIED":
|
|
84297
|
+
case 1:
|
|
84298
|
+
message.verificationStatus = 1;
|
|
84299
|
+
break;
|
|
84300
|
+
case "AUTH_EMAIL_UNVERIFIED":
|
|
84301
|
+
case 2:
|
|
84302
|
+
message.verificationStatus = 2;
|
|
84303
|
+
break;
|
|
84304
|
+
}
|
|
84305
|
+
return message;
|
|
84306
|
+
};
|
|
84307
|
+
|
|
84308
|
+
/**
|
|
84309
|
+
* Creates a plain object from an AuthEmailVerificationUpdated message. Also converts values to other types if specified.
|
|
84310
|
+
* @function toObject
|
|
84311
|
+
* @memberof AuthEmailVerificationUpdated
|
|
84312
|
+
* @static
|
|
84313
|
+
* @param {AuthEmailVerificationUpdated} message AuthEmailVerificationUpdated
|
|
84314
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
84315
|
+
* @returns {Object.<string,*>} Plain object
|
|
84316
|
+
*/
|
|
84317
|
+
AuthEmailVerificationUpdated.toObject = function toObject(message, options) {
|
|
84318
|
+
if (!options)
|
|
84319
|
+
options = {};
|
|
84320
|
+
var object = {};
|
|
84321
|
+
if (options.defaults) {
|
|
84322
|
+
object.userId = "";
|
|
84323
|
+
if ($util.Long) {
|
|
84324
|
+
var long = new $util.Long(0, 0, true);
|
|
84325
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84326
|
+
} else
|
|
84327
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
84328
|
+
object.verificationStatus = options.enums === String ? "AUTH_EMAIL_UNKNOWN" : 0;
|
|
84329
|
+
}
|
|
84330
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
84331
|
+
object.userId = message.userId;
|
|
84332
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84333
|
+
if (typeof message.timestamp === "number")
|
|
84334
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
84335
|
+
else
|
|
84336
|
+
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;
|
|
84337
|
+
if (message.verificationStatus != null && message.hasOwnProperty("verificationStatus"))
|
|
84338
|
+
object.verificationStatus = options.enums === String ? $root.auth.AuthEmailVerification[message.verificationStatus] : message.verificationStatus;
|
|
84339
|
+
return object;
|
|
84340
|
+
};
|
|
84341
|
+
|
|
84342
|
+
/**
|
|
84343
|
+
* Converts this AuthEmailVerificationUpdated to JSON.
|
|
84344
|
+
* @function toJSON
|
|
84345
|
+
* @memberof AuthEmailVerificationUpdated
|
|
84346
|
+
* @instance
|
|
84347
|
+
* @returns {Object.<string,*>} JSON object
|
|
84348
|
+
*/
|
|
84349
|
+
AuthEmailVerificationUpdated.prototype.toJSON = function toJSON() {
|
|
84350
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
84351
|
+
};
|
|
84352
|
+
|
|
84353
|
+
return AuthEmailVerificationUpdated;
|
|
84354
|
+
})();
|
|
84355
|
+
|
|
83966
84356
|
$root.OrganizationCreated = (function() {
|
|
83967
84357
|
|
|
83968
84358
|
/**
|
package/package.json
CHANGED