@headspace/protos-events 1.516.0 → 1.518.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 +120 -0
- package/lib/index.js +312 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -29951,6 +29951,9 @@ export interface IEligibilityLinked {
|
|
|
29951
29951
|
|
|
29952
29952
|
/** EligibilityLinked preferredCountry */
|
|
29953
29953
|
preferredCountry?: (string|null);
|
|
29954
|
+
|
|
29955
|
+
/** EligibilityLinked countryStateCode */
|
|
29956
|
+
countryStateCode?: (string|null);
|
|
29954
29957
|
}
|
|
29955
29958
|
|
|
29956
29959
|
/** Represents an EligibilityLinked. */
|
|
@@ -29998,6 +30001,9 @@ export class EligibilityLinked implements IEligibilityLinked {
|
|
|
29998
30001
|
/** EligibilityLinked preferredCountry. */
|
|
29999
30002
|
public preferredCountry: string;
|
|
30000
30003
|
|
|
30004
|
+
/** EligibilityLinked countryStateCode. */
|
|
30005
|
+
public countryStateCode: string;
|
|
30006
|
+
|
|
30001
30007
|
/**
|
|
30002
30008
|
* Creates a new EligibilityLinked instance using the specified properties.
|
|
30003
30009
|
* @param [properties] Properties to set
|
|
@@ -30242,6 +30248,9 @@ export interface IEligibleUserAdded {
|
|
|
30242
30248
|
|
|
30243
30249
|
/** EligibleUserAdded b2bLocation */
|
|
30244
30250
|
b2bLocation?: (string|null);
|
|
30251
|
+
|
|
30252
|
+
/** EligibleUserAdded countryStateCode */
|
|
30253
|
+
countryStateCode?: (string|null);
|
|
30245
30254
|
}
|
|
30246
30255
|
|
|
30247
30256
|
/** Represents an EligibleUserAdded. */
|
|
@@ -30304,6 +30313,9 @@ export class EligibleUserAdded implements IEligibleUserAdded {
|
|
|
30304
30313
|
/** EligibleUserAdded b2bLocation. */
|
|
30305
30314
|
public b2bLocation: string;
|
|
30306
30315
|
|
|
30316
|
+
/** EligibleUserAdded countryStateCode. */
|
|
30317
|
+
public countryStateCode: string;
|
|
30318
|
+
|
|
30307
30319
|
/**
|
|
30308
30320
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
30309
30321
|
* @param [properties] Properties to set
|
|
@@ -35284,6 +35296,9 @@ export interface IElfRecordPresent {
|
|
|
35284
35296
|
/** ElfRecordPresent dob */
|
|
35285
35297
|
dob?: (string|null);
|
|
35286
35298
|
|
|
35299
|
+
/** ElfRecordPresent countryStateCode */
|
|
35300
|
+
countryStateCode?: (string|null);
|
|
35301
|
+
|
|
35287
35302
|
/** ElfRecordPresent streetAddress_1 */
|
|
35288
35303
|
streetAddress_1?: (string|null);
|
|
35289
35304
|
|
|
@@ -35378,6 +35393,9 @@ export class ElfRecordPresent implements IElfRecordPresent {
|
|
|
35378
35393
|
/** ElfRecordPresent dob. */
|
|
35379
35394
|
public dob: string;
|
|
35380
35395
|
|
|
35396
|
+
/** ElfRecordPresent countryStateCode. */
|
|
35397
|
+
public countryStateCode: string;
|
|
35398
|
+
|
|
35381
35399
|
/** ElfRecordPresent streetAddress_1. */
|
|
35382
35400
|
public streetAddress_1: string;
|
|
35383
35401
|
|
|
@@ -48197,3 +48215,105 @@ export class VirginPulseAccountLinked implements IVirginPulseAccountLinked {
|
|
|
48197
48215
|
*/
|
|
48198
48216
|
public toJSON(): { [k: string]: any };
|
|
48199
48217
|
}
|
|
48218
|
+
|
|
48219
|
+
/** Properties of a CareCoachingInteractionStarted. */
|
|
48220
|
+
export interface ICareCoachingInteractionStarted {
|
|
48221
|
+
|
|
48222
|
+
/** CareCoachingInteractionStarted userId */
|
|
48223
|
+
userId?: (string|null);
|
|
48224
|
+
|
|
48225
|
+
/** CareCoachingInteractionStarted coachingSessionCount */
|
|
48226
|
+
coachingSessionCount?: (number|null);
|
|
48227
|
+
|
|
48228
|
+
/** CareCoachingInteractionStarted timestamp */
|
|
48229
|
+
timestamp?: (number|Long|null);
|
|
48230
|
+
}
|
|
48231
|
+
|
|
48232
|
+
/** Represents a CareCoachingInteractionStarted. */
|
|
48233
|
+
export class CareCoachingInteractionStarted implements ICareCoachingInteractionStarted {
|
|
48234
|
+
|
|
48235
|
+
/**
|
|
48236
|
+
* Constructs a new CareCoachingInteractionStarted.
|
|
48237
|
+
* @param [properties] Properties to set
|
|
48238
|
+
*/
|
|
48239
|
+
constructor(properties?: ICareCoachingInteractionStarted);
|
|
48240
|
+
|
|
48241
|
+
/** CareCoachingInteractionStarted userId. */
|
|
48242
|
+
public userId: string;
|
|
48243
|
+
|
|
48244
|
+
/** CareCoachingInteractionStarted coachingSessionCount. */
|
|
48245
|
+
public coachingSessionCount: number;
|
|
48246
|
+
|
|
48247
|
+
/** CareCoachingInteractionStarted timestamp. */
|
|
48248
|
+
public timestamp: (number|Long);
|
|
48249
|
+
|
|
48250
|
+
/**
|
|
48251
|
+
* Creates a new CareCoachingInteractionStarted instance using the specified properties.
|
|
48252
|
+
* @param [properties] Properties to set
|
|
48253
|
+
* @returns CareCoachingInteractionStarted instance
|
|
48254
|
+
*/
|
|
48255
|
+
public static create(properties?: ICareCoachingInteractionStarted): CareCoachingInteractionStarted;
|
|
48256
|
+
|
|
48257
|
+
/**
|
|
48258
|
+
* Encodes the specified CareCoachingInteractionStarted message. Does not implicitly {@link CareCoachingInteractionStarted.verify|verify} messages.
|
|
48259
|
+
* @param message CareCoachingInteractionStarted message or plain object to encode
|
|
48260
|
+
* @param [writer] Writer to encode to
|
|
48261
|
+
* @returns Writer
|
|
48262
|
+
*/
|
|
48263
|
+
public static encode(message: ICareCoachingInteractionStarted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
48264
|
+
|
|
48265
|
+
/**
|
|
48266
|
+
* Encodes the specified CareCoachingInteractionStarted message, length delimited. Does not implicitly {@link CareCoachingInteractionStarted.verify|verify} messages.
|
|
48267
|
+
* @param message CareCoachingInteractionStarted message or plain object to encode
|
|
48268
|
+
* @param [writer] Writer to encode to
|
|
48269
|
+
* @returns Writer
|
|
48270
|
+
*/
|
|
48271
|
+
public static encodeDelimited(message: ICareCoachingInteractionStarted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
48272
|
+
|
|
48273
|
+
/**
|
|
48274
|
+
* Decodes a CareCoachingInteractionStarted message from the specified reader or buffer.
|
|
48275
|
+
* @param reader Reader or buffer to decode from
|
|
48276
|
+
* @param [length] Message length if known beforehand
|
|
48277
|
+
* @returns CareCoachingInteractionStarted
|
|
48278
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48279
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48280
|
+
*/
|
|
48281
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CareCoachingInteractionStarted;
|
|
48282
|
+
|
|
48283
|
+
/**
|
|
48284
|
+
* Decodes a CareCoachingInteractionStarted message from the specified reader or buffer, length delimited.
|
|
48285
|
+
* @param reader Reader or buffer to decode from
|
|
48286
|
+
* @returns CareCoachingInteractionStarted
|
|
48287
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48288
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48289
|
+
*/
|
|
48290
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CareCoachingInteractionStarted;
|
|
48291
|
+
|
|
48292
|
+
/**
|
|
48293
|
+
* Verifies a CareCoachingInteractionStarted message.
|
|
48294
|
+
* @param message Plain object to verify
|
|
48295
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
48296
|
+
*/
|
|
48297
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
48298
|
+
|
|
48299
|
+
/**
|
|
48300
|
+
* Creates a CareCoachingInteractionStarted message from a plain object. Also converts values to their respective internal types.
|
|
48301
|
+
* @param object Plain object
|
|
48302
|
+
* @returns CareCoachingInteractionStarted
|
|
48303
|
+
*/
|
|
48304
|
+
public static fromObject(object: { [k: string]: any }): CareCoachingInteractionStarted;
|
|
48305
|
+
|
|
48306
|
+
/**
|
|
48307
|
+
* Creates a plain object from a CareCoachingInteractionStarted message. Also converts values to other types if specified.
|
|
48308
|
+
* @param message CareCoachingInteractionStarted
|
|
48309
|
+
* @param [options] Conversion options
|
|
48310
|
+
* @returns Plain object
|
|
48311
|
+
*/
|
|
48312
|
+
public static toObject(message: CareCoachingInteractionStarted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
48313
|
+
|
|
48314
|
+
/**
|
|
48315
|
+
* Converts this CareCoachingInteractionStarted to JSON.
|
|
48316
|
+
* @returns JSON object
|
|
48317
|
+
*/
|
|
48318
|
+
public toJSON(): { [k: string]: any };
|
|
48319
|
+
}
|
package/lib/index.js
CHANGED
|
@@ -83161,6 +83161,7 @@ $root.EligibilityLinked = (function() {
|
|
|
83161
83161
|
* @property {number|Long|null} [headspaceUserEnrollmentTimestamp] EligibilityLinked headspaceUserEnrollmentTimestamp
|
|
83162
83162
|
* @property {string|null} [preferredDob] EligibilityLinked preferredDob
|
|
83163
83163
|
* @property {string|null} [preferredCountry] EligibilityLinked preferredCountry
|
|
83164
|
+
* @property {string|null} [countryStateCode] EligibilityLinked countryStateCode
|
|
83164
83165
|
*/
|
|
83165
83166
|
|
|
83166
83167
|
/**
|
|
@@ -83275,6 +83276,14 @@ $root.EligibilityLinked = (function() {
|
|
|
83275
83276
|
*/
|
|
83276
83277
|
EligibilityLinked.prototype.preferredCountry = "";
|
|
83277
83278
|
|
|
83279
|
+
/**
|
|
83280
|
+
* EligibilityLinked countryStateCode.
|
|
83281
|
+
* @member {string} countryStateCode
|
|
83282
|
+
* @memberof EligibilityLinked
|
|
83283
|
+
* @instance
|
|
83284
|
+
*/
|
|
83285
|
+
EligibilityLinked.prototype.countryStateCode = "";
|
|
83286
|
+
|
|
83278
83287
|
/**
|
|
83279
83288
|
* Creates a new EligibilityLinked instance using the specified properties.
|
|
83280
83289
|
* @function create
|
|
@@ -83324,6 +83333,8 @@ $root.EligibilityLinked = (function() {
|
|
|
83324
83333
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.preferredDob);
|
|
83325
83334
|
if (message.preferredCountry != null && message.hasOwnProperty("preferredCountry"))
|
|
83326
83335
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.preferredCountry);
|
|
83336
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
83337
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.countryStateCode);
|
|
83327
83338
|
return writer;
|
|
83328
83339
|
};
|
|
83329
83340
|
|
|
@@ -83396,6 +83407,9 @@ $root.EligibilityLinked = (function() {
|
|
|
83396
83407
|
case 12:
|
|
83397
83408
|
message.preferredCountry = reader.string();
|
|
83398
83409
|
break;
|
|
83410
|
+
case 13:
|
|
83411
|
+
message.countryStateCode = reader.string();
|
|
83412
|
+
break;
|
|
83399
83413
|
default:
|
|
83400
83414
|
reader.skipType(tag & 7);
|
|
83401
83415
|
break;
|
|
@@ -83476,6 +83490,9 @@ $root.EligibilityLinked = (function() {
|
|
|
83476
83490
|
if (message.preferredCountry != null && message.hasOwnProperty("preferredCountry"))
|
|
83477
83491
|
if (!$util.isString(message.preferredCountry))
|
|
83478
83492
|
return "preferredCountry: string expected";
|
|
83493
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
83494
|
+
if (!$util.isString(message.countryStateCode))
|
|
83495
|
+
return "countryStateCode: string expected";
|
|
83479
83496
|
return null;
|
|
83480
83497
|
};
|
|
83481
83498
|
|
|
@@ -83542,6 +83559,8 @@ $root.EligibilityLinked = (function() {
|
|
|
83542
83559
|
message.preferredDob = String(object.preferredDob);
|
|
83543
83560
|
if (object.preferredCountry != null)
|
|
83544
83561
|
message.preferredCountry = String(object.preferredCountry);
|
|
83562
|
+
if (object.countryStateCode != null)
|
|
83563
|
+
message.countryStateCode = String(object.countryStateCode);
|
|
83545
83564
|
return message;
|
|
83546
83565
|
};
|
|
83547
83566
|
|
|
@@ -83580,6 +83599,7 @@ $root.EligibilityLinked = (function() {
|
|
|
83580
83599
|
object.headspaceUserEnrollmentTimestamp = options.longs === String ? "0" : 0;
|
|
83581
83600
|
object.preferredDob = "";
|
|
83582
83601
|
object.preferredCountry = "";
|
|
83602
|
+
object.countryStateCode = "";
|
|
83583
83603
|
}
|
|
83584
83604
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
83585
83605
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -83614,6 +83634,8 @@ $root.EligibilityLinked = (function() {
|
|
|
83614
83634
|
object.preferredDob = message.preferredDob;
|
|
83615
83635
|
if (message.preferredCountry != null && message.hasOwnProperty("preferredCountry"))
|
|
83616
83636
|
object.preferredCountry = message.preferredCountry;
|
|
83637
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
83638
|
+
object.countryStateCode = message.countryStateCode;
|
|
83617
83639
|
return object;
|
|
83618
83640
|
};
|
|
83619
83641
|
|
|
@@ -83979,6 +84001,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83979
84001
|
* @property {string|null} [b2bCountry] EligibleUserAdded b2bCountry
|
|
83980
84002
|
* @property {string|null} [b2bDepartment] EligibleUserAdded b2bDepartment
|
|
83981
84003
|
* @property {string|null} [b2bLocation] EligibleUserAdded b2bLocation
|
|
84004
|
+
* @property {string|null} [countryStateCode] EligibleUserAdded countryStateCode
|
|
83982
84005
|
*/
|
|
83983
84006
|
|
|
83984
84007
|
/**
|
|
@@ -84132,6 +84155,14 @@ $root.EligibleUserAdded = (function() {
|
|
|
84132
84155
|
*/
|
|
84133
84156
|
EligibleUserAdded.prototype.b2bLocation = "";
|
|
84134
84157
|
|
|
84158
|
+
/**
|
|
84159
|
+
* EligibleUserAdded countryStateCode.
|
|
84160
|
+
* @member {string} countryStateCode
|
|
84161
|
+
* @memberof EligibleUserAdded
|
|
84162
|
+
* @instance
|
|
84163
|
+
*/
|
|
84164
|
+
EligibleUserAdded.prototype.countryStateCode = "";
|
|
84165
|
+
|
|
84135
84166
|
/**
|
|
84136
84167
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
84137
84168
|
* @function create
|
|
@@ -84190,6 +84221,8 @@ $root.EligibleUserAdded = (function() {
|
|
|
84190
84221
|
writer.uint32(/* id 16, wireType 2 =*/130).string(message.b2bDepartment);
|
|
84191
84222
|
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
84192
84223
|
writer.uint32(/* id 17, wireType 2 =*/138).string(message.b2bLocation);
|
|
84224
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
84225
|
+
writer.uint32(/* id 18, wireType 2 =*/146).string(message.countryStateCode);
|
|
84193
84226
|
return writer;
|
|
84194
84227
|
};
|
|
84195
84228
|
|
|
@@ -84275,6 +84308,9 @@ $root.EligibleUserAdded = (function() {
|
|
|
84275
84308
|
case 17:
|
|
84276
84309
|
message.b2bLocation = reader.string();
|
|
84277
84310
|
break;
|
|
84311
|
+
case 18:
|
|
84312
|
+
message.countryStateCode = reader.string();
|
|
84313
|
+
break;
|
|
84278
84314
|
default:
|
|
84279
84315
|
reader.skipType(tag & 7);
|
|
84280
84316
|
break;
|
|
@@ -84385,6 +84421,9 @@ $root.EligibleUserAdded = (function() {
|
|
|
84385
84421
|
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
84386
84422
|
if (!$util.isString(message.b2bLocation))
|
|
84387
84423
|
return "b2bLocation: string expected";
|
|
84424
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
84425
|
+
if (!$util.isString(message.countryStateCode))
|
|
84426
|
+
return "countryStateCode: string expected";
|
|
84388
84427
|
return null;
|
|
84389
84428
|
};
|
|
84390
84429
|
|
|
@@ -84508,6 +84547,8 @@ $root.EligibleUserAdded = (function() {
|
|
|
84508
84547
|
message.b2bDepartment = String(object.b2bDepartment);
|
|
84509
84548
|
if (object.b2bLocation != null)
|
|
84510
84549
|
message.b2bLocation = String(object.b2bLocation);
|
|
84550
|
+
if (object.countryStateCode != null)
|
|
84551
|
+
message.countryStateCode = String(object.countryStateCode);
|
|
84511
84552
|
return message;
|
|
84512
84553
|
};
|
|
84513
84554
|
|
|
@@ -84550,6 +84591,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
84550
84591
|
object.b2bCountry = "";
|
|
84551
84592
|
object.b2bDepartment = "";
|
|
84552
84593
|
object.b2bLocation = "";
|
|
84594
|
+
object.countryStateCode = "";
|
|
84553
84595
|
}
|
|
84554
84596
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
84555
84597
|
object.workEmail = message.workEmail;
|
|
@@ -84591,6 +84633,8 @@ $root.EligibleUserAdded = (function() {
|
|
|
84591
84633
|
object.b2bDepartment = message.b2bDepartment;
|
|
84592
84634
|
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
84593
84635
|
object.b2bLocation = message.b2bLocation;
|
|
84636
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
84637
|
+
object.countryStateCode = message.countryStateCode;
|
|
84594
84638
|
return object;
|
|
84595
84639
|
};
|
|
84596
84640
|
|
|
@@ -97914,6 +97958,7 @@ $root.ElfRecordPresent = (function() {
|
|
|
97914
97958
|
* @property {string|null} [country] ElfRecordPresent country
|
|
97915
97959
|
* @property {string|null} [zipCode] ElfRecordPresent zipCode
|
|
97916
97960
|
* @property {string|null} [dob] ElfRecordPresent dob
|
|
97961
|
+
* @property {string|null} [countryStateCode] ElfRecordPresent countryStateCode
|
|
97917
97962
|
* @property {string|null} [streetAddress_1] ElfRecordPresent streetAddress_1
|
|
97918
97963
|
* @property {string|null} [streetAddress_2] ElfRecordPresent streetAddress_2
|
|
97919
97964
|
* @property {string|null} [department] ElfRecordPresent department
|
|
@@ -98051,6 +98096,14 @@ $root.ElfRecordPresent = (function() {
|
|
|
98051
98096
|
*/
|
|
98052
98097
|
ElfRecordPresent.prototype.dob = "";
|
|
98053
98098
|
|
|
98099
|
+
/**
|
|
98100
|
+
* ElfRecordPresent countryStateCode.
|
|
98101
|
+
* @member {string} countryStateCode
|
|
98102
|
+
* @memberof ElfRecordPresent
|
|
98103
|
+
* @instance
|
|
98104
|
+
*/
|
|
98105
|
+
ElfRecordPresent.prototype.countryStateCode = "";
|
|
98106
|
+
|
|
98054
98107
|
/**
|
|
98055
98108
|
* ElfRecordPresent streetAddress_1.
|
|
98056
98109
|
* @member {string} streetAddress_1
|
|
@@ -98255,6 +98308,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
98255
98308
|
writer.uint32(/* id 27, wireType 2 =*/218).string(message.priorB2bOrgId);
|
|
98256
98309
|
if (message.location != null && message.hasOwnProperty("location"))
|
|
98257
98310
|
writer.uint32(/* id 28, wireType 2 =*/226).string(message.location);
|
|
98311
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
98312
|
+
writer.uint32(/* id 29, wireType 2 =*/234).string(message.countryStateCode);
|
|
98258
98313
|
return writer;
|
|
98259
98314
|
};
|
|
98260
98315
|
|
|
@@ -98328,6 +98383,9 @@ $root.ElfRecordPresent = (function() {
|
|
|
98328
98383
|
case 13:
|
|
98329
98384
|
message.dob = reader.string();
|
|
98330
98385
|
break;
|
|
98386
|
+
case 29:
|
|
98387
|
+
message.countryStateCode = reader.string();
|
|
98388
|
+
break;
|
|
98331
98389
|
case 14:
|
|
98332
98390
|
message.streetAddress_1 = reader.string();
|
|
98333
98391
|
break;
|
|
@@ -98459,6 +98517,9 @@ $root.ElfRecordPresent = (function() {
|
|
|
98459
98517
|
if (message.dob != null && message.hasOwnProperty("dob"))
|
|
98460
98518
|
if (!$util.isString(message.dob))
|
|
98461
98519
|
return "dob: string expected";
|
|
98520
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
98521
|
+
if (!$util.isString(message.countryStateCode))
|
|
98522
|
+
return "countryStateCode: string expected";
|
|
98462
98523
|
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
98463
98524
|
if (!$util.isString(message.streetAddress_1))
|
|
98464
98525
|
return "streetAddress_1: string expected";
|
|
@@ -98570,6 +98631,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
98570
98631
|
message.zipCode = String(object.zipCode);
|
|
98571
98632
|
if (object.dob != null)
|
|
98572
98633
|
message.dob = String(object.dob);
|
|
98634
|
+
if (object.countryStateCode != null)
|
|
98635
|
+
message.countryStateCode = String(object.countryStateCode);
|
|
98573
98636
|
if (object.streetAddress_1 != null)
|
|
98574
98637
|
message.streetAddress_1 = String(object.streetAddress_1);
|
|
98575
98638
|
if (object.streetAddress_2 != null)
|
|
@@ -98669,6 +98732,7 @@ $root.ElfRecordPresent = (function() {
|
|
|
98669
98732
|
object.isMemberMigrated = false;
|
|
98670
98733
|
object.priorB2bOrgId = "";
|
|
98671
98734
|
object.location = "";
|
|
98735
|
+
object.countryStateCode = "";
|
|
98672
98736
|
}
|
|
98673
98737
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
98674
98738
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -98732,6 +98796,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
98732
98796
|
object.priorB2bOrgId = message.priorB2bOrgId;
|
|
98733
98797
|
if (message.location != null && message.hasOwnProperty("location"))
|
|
98734
98798
|
object.location = message.location;
|
|
98799
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
98800
|
+
object.countryStateCode = message.countryStateCode;
|
|
98735
98801
|
return object;
|
|
98736
98802
|
};
|
|
98737
98803
|
|
|
@@ -136817,4 +136883,250 @@ $root.VirginPulseAccountLinked = (function() {
|
|
|
136817
136883
|
return VirginPulseAccountLinked;
|
|
136818
136884
|
})();
|
|
136819
136885
|
|
|
136886
|
+
$root.CareCoachingInteractionStarted = (function() {
|
|
136887
|
+
|
|
136888
|
+
/**
|
|
136889
|
+
* Properties of a CareCoachingInteractionStarted.
|
|
136890
|
+
* @name ICareCoachingInteractionStarted
|
|
136891
|
+
* @interface ICareCoachingInteractionStarted
|
|
136892
|
+
* @property {string|null} [userId] CareCoachingInteractionStarted userId
|
|
136893
|
+
* @property {number|null} [coachingSessionCount] CareCoachingInteractionStarted coachingSessionCount
|
|
136894
|
+
* @property {number|Long|null} [timestamp] CareCoachingInteractionStarted timestamp
|
|
136895
|
+
*/
|
|
136896
|
+
|
|
136897
|
+
/**
|
|
136898
|
+
* Constructs a new CareCoachingInteractionStarted.
|
|
136899
|
+
* @name CareCoachingInteractionStarted
|
|
136900
|
+
* @classdesc Represents a CareCoachingInteractionStarted.
|
|
136901
|
+
* @implements ICareCoachingInteractionStarted
|
|
136902
|
+
* @constructor
|
|
136903
|
+
* @param {ICareCoachingInteractionStarted=} [properties] Properties to set
|
|
136904
|
+
*/
|
|
136905
|
+
function CareCoachingInteractionStarted(properties) {
|
|
136906
|
+
if (properties)
|
|
136907
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
136908
|
+
if (properties[keys[i]] != null)
|
|
136909
|
+
this[keys[i]] = properties[keys[i]];
|
|
136910
|
+
}
|
|
136911
|
+
|
|
136912
|
+
/**
|
|
136913
|
+
* CareCoachingInteractionStarted userId.
|
|
136914
|
+
* @member {string} userId
|
|
136915
|
+
* @memberof CareCoachingInteractionStarted
|
|
136916
|
+
* @instance
|
|
136917
|
+
*/
|
|
136918
|
+
CareCoachingInteractionStarted.prototype.userId = "";
|
|
136919
|
+
|
|
136920
|
+
/**
|
|
136921
|
+
* CareCoachingInteractionStarted coachingSessionCount.
|
|
136922
|
+
* @member {number} coachingSessionCount
|
|
136923
|
+
* @memberof CareCoachingInteractionStarted
|
|
136924
|
+
* @instance
|
|
136925
|
+
*/
|
|
136926
|
+
CareCoachingInteractionStarted.prototype.coachingSessionCount = 0;
|
|
136927
|
+
|
|
136928
|
+
/**
|
|
136929
|
+
* CareCoachingInteractionStarted timestamp.
|
|
136930
|
+
* @member {number|Long} timestamp
|
|
136931
|
+
* @memberof CareCoachingInteractionStarted
|
|
136932
|
+
* @instance
|
|
136933
|
+
*/
|
|
136934
|
+
CareCoachingInteractionStarted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
136935
|
+
|
|
136936
|
+
/**
|
|
136937
|
+
* Creates a new CareCoachingInteractionStarted instance using the specified properties.
|
|
136938
|
+
* @function create
|
|
136939
|
+
* @memberof CareCoachingInteractionStarted
|
|
136940
|
+
* @static
|
|
136941
|
+
* @param {ICareCoachingInteractionStarted=} [properties] Properties to set
|
|
136942
|
+
* @returns {CareCoachingInteractionStarted} CareCoachingInteractionStarted instance
|
|
136943
|
+
*/
|
|
136944
|
+
CareCoachingInteractionStarted.create = function create(properties) {
|
|
136945
|
+
return new CareCoachingInteractionStarted(properties);
|
|
136946
|
+
};
|
|
136947
|
+
|
|
136948
|
+
/**
|
|
136949
|
+
* Encodes the specified CareCoachingInteractionStarted message. Does not implicitly {@link CareCoachingInteractionStarted.verify|verify} messages.
|
|
136950
|
+
* @function encode
|
|
136951
|
+
* @memberof CareCoachingInteractionStarted
|
|
136952
|
+
* @static
|
|
136953
|
+
* @param {ICareCoachingInteractionStarted} message CareCoachingInteractionStarted message or plain object to encode
|
|
136954
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
136955
|
+
* @returns {$protobuf.Writer} Writer
|
|
136956
|
+
*/
|
|
136957
|
+
CareCoachingInteractionStarted.encode = function encode(message, writer) {
|
|
136958
|
+
if (!writer)
|
|
136959
|
+
writer = $Writer.create();
|
|
136960
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
136961
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
136962
|
+
if (message.coachingSessionCount != null && message.hasOwnProperty("coachingSessionCount"))
|
|
136963
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.coachingSessionCount);
|
|
136964
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
136965
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
136966
|
+
return writer;
|
|
136967
|
+
};
|
|
136968
|
+
|
|
136969
|
+
/**
|
|
136970
|
+
* Encodes the specified CareCoachingInteractionStarted message, length delimited. Does not implicitly {@link CareCoachingInteractionStarted.verify|verify} messages.
|
|
136971
|
+
* @function encodeDelimited
|
|
136972
|
+
* @memberof CareCoachingInteractionStarted
|
|
136973
|
+
* @static
|
|
136974
|
+
* @param {ICareCoachingInteractionStarted} message CareCoachingInteractionStarted message or plain object to encode
|
|
136975
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
136976
|
+
* @returns {$protobuf.Writer} Writer
|
|
136977
|
+
*/
|
|
136978
|
+
CareCoachingInteractionStarted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
136979
|
+
return this.encode(message, writer).ldelim();
|
|
136980
|
+
};
|
|
136981
|
+
|
|
136982
|
+
/**
|
|
136983
|
+
* Decodes a CareCoachingInteractionStarted message from the specified reader or buffer.
|
|
136984
|
+
* @function decode
|
|
136985
|
+
* @memberof CareCoachingInteractionStarted
|
|
136986
|
+
* @static
|
|
136987
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
136988
|
+
* @param {number} [length] Message length if known beforehand
|
|
136989
|
+
* @returns {CareCoachingInteractionStarted} CareCoachingInteractionStarted
|
|
136990
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
136991
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
136992
|
+
*/
|
|
136993
|
+
CareCoachingInteractionStarted.decode = function decode(reader, length) {
|
|
136994
|
+
if (!(reader instanceof $Reader))
|
|
136995
|
+
reader = $Reader.create(reader);
|
|
136996
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.CareCoachingInteractionStarted();
|
|
136997
|
+
while (reader.pos < end) {
|
|
136998
|
+
var tag = reader.uint32();
|
|
136999
|
+
switch (tag >>> 3) {
|
|
137000
|
+
case 1:
|
|
137001
|
+
message.userId = reader.string();
|
|
137002
|
+
break;
|
|
137003
|
+
case 2:
|
|
137004
|
+
message.coachingSessionCount = reader.int32();
|
|
137005
|
+
break;
|
|
137006
|
+
case 3:
|
|
137007
|
+
message.timestamp = reader.uint64();
|
|
137008
|
+
break;
|
|
137009
|
+
default:
|
|
137010
|
+
reader.skipType(tag & 7);
|
|
137011
|
+
break;
|
|
137012
|
+
}
|
|
137013
|
+
}
|
|
137014
|
+
return message;
|
|
137015
|
+
};
|
|
137016
|
+
|
|
137017
|
+
/**
|
|
137018
|
+
* Decodes a CareCoachingInteractionStarted message from the specified reader or buffer, length delimited.
|
|
137019
|
+
* @function decodeDelimited
|
|
137020
|
+
* @memberof CareCoachingInteractionStarted
|
|
137021
|
+
* @static
|
|
137022
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
137023
|
+
* @returns {CareCoachingInteractionStarted} CareCoachingInteractionStarted
|
|
137024
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
137025
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
137026
|
+
*/
|
|
137027
|
+
CareCoachingInteractionStarted.decodeDelimited = function decodeDelimited(reader) {
|
|
137028
|
+
if (!(reader instanceof $Reader))
|
|
137029
|
+
reader = new $Reader(reader);
|
|
137030
|
+
return this.decode(reader, reader.uint32());
|
|
137031
|
+
};
|
|
137032
|
+
|
|
137033
|
+
/**
|
|
137034
|
+
* Verifies a CareCoachingInteractionStarted message.
|
|
137035
|
+
* @function verify
|
|
137036
|
+
* @memberof CareCoachingInteractionStarted
|
|
137037
|
+
* @static
|
|
137038
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
137039
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
137040
|
+
*/
|
|
137041
|
+
CareCoachingInteractionStarted.verify = function verify(message) {
|
|
137042
|
+
if (typeof message !== "object" || message === null)
|
|
137043
|
+
return "object expected";
|
|
137044
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
137045
|
+
if (!$util.isString(message.userId))
|
|
137046
|
+
return "userId: string expected";
|
|
137047
|
+
if (message.coachingSessionCount != null && message.hasOwnProperty("coachingSessionCount"))
|
|
137048
|
+
if (!$util.isInteger(message.coachingSessionCount))
|
|
137049
|
+
return "coachingSessionCount: integer expected";
|
|
137050
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
137051
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
137052
|
+
return "timestamp: integer|Long expected";
|
|
137053
|
+
return null;
|
|
137054
|
+
};
|
|
137055
|
+
|
|
137056
|
+
/**
|
|
137057
|
+
* Creates a CareCoachingInteractionStarted message from a plain object. Also converts values to their respective internal types.
|
|
137058
|
+
* @function fromObject
|
|
137059
|
+
* @memberof CareCoachingInteractionStarted
|
|
137060
|
+
* @static
|
|
137061
|
+
* @param {Object.<string,*>} object Plain object
|
|
137062
|
+
* @returns {CareCoachingInteractionStarted} CareCoachingInteractionStarted
|
|
137063
|
+
*/
|
|
137064
|
+
CareCoachingInteractionStarted.fromObject = function fromObject(object) {
|
|
137065
|
+
if (object instanceof $root.CareCoachingInteractionStarted)
|
|
137066
|
+
return object;
|
|
137067
|
+
var message = new $root.CareCoachingInteractionStarted();
|
|
137068
|
+
if (object.userId != null)
|
|
137069
|
+
message.userId = String(object.userId);
|
|
137070
|
+
if (object.coachingSessionCount != null)
|
|
137071
|
+
message.coachingSessionCount = object.coachingSessionCount | 0;
|
|
137072
|
+
if (object.timestamp != null)
|
|
137073
|
+
if ($util.Long)
|
|
137074
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
137075
|
+
else if (typeof object.timestamp === "string")
|
|
137076
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
137077
|
+
else if (typeof object.timestamp === "number")
|
|
137078
|
+
message.timestamp = object.timestamp;
|
|
137079
|
+
else if (typeof object.timestamp === "object")
|
|
137080
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
137081
|
+
return message;
|
|
137082
|
+
};
|
|
137083
|
+
|
|
137084
|
+
/**
|
|
137085
|
+
* Creates a plain object from a CareCoachingInteractionStarted message. Also converts values to other types if specified.
|
|
137086
|
+
* @function toObject
|
|
137087
|
+
* @memberof CareCoachingInteractionStarted
|
|
137088
|
+
* @static
|
|
137089
|
+
* @param {CareCoachingInteractionStarted} message CareCoachingInteractionStarted
|
|
137090
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
137091
|
+
* @returns {Object.<string,*>} Plain object
|
|
137092
|
+
*/
|
|
137093
|
+
CareCoachingInteractionStarted.toObject = function toObject(message, options) {
|
|
137094
|
+
if (!options)
|
|
137095
|
+
options = {};
|
|
137096
|
+
var object = {};
|
|
137097
|
+
if (options.defaults) {
|
|
137098
|
+
object.userId = "";
|
|
137099
|
+
object.coachingSessionCount = 0;
|
|
137100
|
+
if ($util.Long) {
|
|
137101
|
+
var long = new $util.Long(0, 0, true);
|
|
137102
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
137103
|
+
} else
|
|
137104
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
137105
|
+
}
|
|
137106
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
137107
|
+
object.userId = message.userId;
|
|
137108
|
+
if (message.coachingSessionCount != null && message.hasOwnProperty("coachingSessionCount"))
|
|
137109
|
+
object.coachingSessionCount = message.coachingSessionCount;
|
|
137110
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
137111
|
+
if (typeof message.timestamp === "number")
|
|
137112
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
137113
|
+
else
|
|
137114
|
+
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;
|
|
137115
|
+
return object;
|
|
137116
|
+
};
|
|
137117
|
+
|
|
137118
|
+
/**
|
|
137119
|
+
* Converts this CareCoachingInteractionStarted to JSON.
|
|
137120
|
+
* @function toJSON
|
|
137121
|
+
* @memberof CareCoachingInteractionStarted
|
|
137122
|
+
* @instance
|
|
137123
|
+
* @returns {Object.<string,*>} JSON object
|
|
137124
|
+
*/
|
|
137125
|
+
CareCoachingInteractionStarted.prototype.toJSON = function toJSON() {
|
|
137126
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
137127
|
+
};
|
|
137128
|
+
|
|
137129
|
+
return CareCoachingInteractionStarted;
|
|
137130
|
+
})();
|
|
137131
|
+
|
|
136820
137132
|
module.exports = $root;
|
package/package.json
CHANGED