@headspace/protos-events 1.847.0 → 1.849.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 +55 -0
- package/lib/index.js +273 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5753,6 +5753,12 @@ export class AssessmentScore {
|
|
|
5753
5753
|
/** AssessmentScore reflectionNote. */
|
|
5754
5754
|
reflectionNote: string;
|
|
5755
5755
|
|
|
5756
|
+
/** AssessmentScore assignmentId. */
|
|
5757
|
+
assignmentId?: (number|Long|null);
|
|
5758
|
+
|
|
5759
|
+
/** AssessmentScore assessmentPlatform. */
|
|
5760
|
+
assessmentPlatform?: (AssessmentPlatform|null);
|
|
5761
|
+
|
|
5756
5762
|
/**
|
|
5757
5763
|
* Creates a new AssessmentScore instance using the specified properties.
|
|
5758
5764
|
* @param [properties] Properties to set
|
|
@@ -5852,6 +5858,12 @@ export namespace AssessmentScore {
|
|
|
5852
5858
|
/** AssessmentScore reflectionNote */
|
|
5853
5859
|
reflectionNote?: (string|null);
|
|
5854
5860
|
|
|
5861
|
+
/** AssessmentScore assignmentId */
|
|
5862
|
+
assignmentId?: (number|Long|null);
|
|
5863
|
+
|
|
5864
|
+
/** AssessmentScore assessmentPlatform */
|
|
5865
|
+
assessmentPlatform?: (AssessmentPlatform|null);
|
|
5866
|
+
|
|
5855
5867
|
/** Unknown fields preserved while decoding */
|
|
5856
5868
|
$unknowns?: Uint8Array[];
|
|
5857
5869
|
}
|
|
@@ -5860,6 +5872,19 @@ export namespace AssessmentScore {
|
|
|
5860
5872
|
type $Shape = AssessmentScore.$Properties;
|
|
5861
5873
|
}
|
|
5862
5874
|
|
|
5875
|
+
/** AssessmentPlatform enum. */
|
|
5876
|
+
export enum AssessmentPlatform {
|
|
5877
|
+
|
|
5878
|
+
/** ASSESSMENT_PLATFORM_UNKNOWN value */
|
|
5879
|
+
ASSESSMENT_PLATFORM_UNKNOWN = 0,
|
|
5880
|
+
|
|
5881
|
+
/** ASSESSMENT_PLATFORM_HS_SURVEY_SERVICE value */
|
|
5882
|
+
ASSESSMENT_PLATFORM_HS_SURVEY_SERVICE = 1,
|
|
5883
|
+
|
|
5884
|
+
/** ASSESSMENT_PLATFORM_GINGER_WEB value */
|
|
5885
|
+
ASSESSMENT_PLATFORM_GINGER_WEB = 2
|
|
5886
|
+
}
|
|
5887
|
+
|
|
5863
5888
|
/** AssessmentType enum. */
|
|
5864
5889
|
export enum AssessmentType {
|
|
5865
5890
|
|
|
@@ -85584,6 +85609,21 @@ export class CareMemberAddressUpdated {
|
|
|
85584
85609
|
/** CareMemberAddressUpdated country. */
|
|
85585
85610
|
country: string;
|
|
85586
85611
|
|
|
85612
|
+
/** CareMemberAddressUpdated streetAddress. */
|
|
85613
|
+
streetAddress: string;
|
|
85614
|
+
|
|
85615
|
+
/** CareMemberAddressUpdated streetAddress_2. */
|
|
85616
|
+
streetAddress_2: string;
|
|
85617
|
+
|
|
85618
|
+
/** CareMemberAddressUpdated city. */
|
|
85619
|
+
city: string;
|
|
85620
|
+
|
|
85621
|
+
/** CareMemberAddressUpdated zipCode. */
|
|
85622
|
+
zipCode: string;
|
|
85623
|
+
|
|
85624
|
+
/** CareMemberAddressUpdated state. */
|
|
85625
|
+
state: string;
|
|
85626
|
+
|
|
85587
85627
|
/** CareMemberAddressUpdated eventTimestamp. */
|
|
85588
85628
|
eventTimestamp: (number|Long);
|
|
85589
85629
|
|
|
@@ -85677,6 +85717,21 @@ export namespace CareMemberAddressUpdated {
|
|
|
85677
85717
|
/** CareMemberAddressUpdated country */
|
|
85678
85718
|
country?: (string|null);
|
|
85679
85719
|
|
|
85720
|
+
/** CareMemberAddressUpdated streetAddress */
|
|
85721
|
+
streetAddress?: (string|null);
|
|
85722
|
+
|
|
85723
|
+
/** CareMemberAddressUpdated streetAddress_2 */
|
|
85724
|
+
streetAddress_2?: (string|null);
|
|
85725
|
+
|
|
85726
|
+
/** CareMemberAddressUpdated city */
|
|
85727
|
+
city?: (string|null);
|
|
85728
|
+
|
|
85729
|
+
/** CareMemberAddressUpdated zipCode */
|
|
85730
|
+
zipCode?: (string|null);
|
|
85731
|
+
|
|
85732
|
+
/** CareMemberAddressUpdated state */
|
|
85733
|
+
state?: (string|null);
|
|
85734
|
+
|
|
85680
85735
|
/** CareMemberAddressUpdated eventTimestamp */
|
|
85681
85736
|
eventTimestamp?: (number|Long|null);
|
|
85682
85737
|
|
package/lib/index.js
CHANGED
|
@@ -16112,6 +16112,8 @@ $root.AssessmentScore = (function() {
|
|
|
16112
16112
|
* @property {number|null} [score] AssessmentScore score
|
|
16113
16113
|
* @property {string|null} [completedAtIsoDate] AssessmentScore completedAtIsoDate
|
|
16114
16114
|
* @property {string|null} [reflectionNote] AssessmentScore reflectionNote
|
|
16115
|
+
* @property {number|Long|null} [assignmentId] AssessmentScore assignmentId
|
|
16116
|
+
* @property {AssessmentPlatform|null} [assessmentPlatform] AssessmentScore assessmentPlatform
|
|
16115
16117
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
|
|
16116
16118
|
*/
|
|
16117
16119
|
|
|
@@ -16183,6 +16185,37 @@ $root.AssessmentScore = (function() {
|
|
|
16183
16185
|
*/
|
|
16184
16186
|
AssessmentScore.prototype.reflectionNote = "";
|
|
16185
16187
|
|
|
16188
|
+
/**
|
|
16189
|
+
* AssessmentScore assignmentId.
|
|
16190
|
+
* @member {number|Long|null|undefined} assignmentId
|
|
16191
|
+
* @memberof AssessmentScore
|
|
16192
|
+
* @instance
|
|
16193
|
+
*/
|
|
16194
|
+
AssessmentScore.prototype.assignmentId = null;
|
|
16195
|
+
|
|
16196
|
+
/**
|
|
16197
|
+
* AssessmentScore assessmentPlatform.
|
|
16198
|
+
* @member {AssessmentPlatform|null|undefined} assessmentPlatform
|
|
16199
|
+
* @memberof AssessmentScore
|
|
16200
|
+
* @instance
|
|
16201
|
+
*/
|
|
16202
|
+
AssessmentScore.prototype.assessmentPlatform = null;
|
|
16203
|
+
|
|
16204
|
+
// OneOf field names bound to virtual getters and setters
|
|
16205
|
+
var $oneOfFields;
|
|
16206
|
+
|
|
16207
|
+
// Virtual OneOf for proto3 optional field
|
|
16208
|
+
Object.defineProperty(AssessmentScore.prototype, "_assignmentId", {
|
|
16209
|
+
get: $util.oneOfGetter($oneOfFields = ["assignmentId"]),
|
|
16210
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
16211
|
+
});
|
|
16212
|
+
|
|
16213
|
+
// Virtual OneOf for proto3 optional field
|
|
16214
|
+
Object.defineProperty(AssessmentScore.prototype, "_assessmentPlatform", {
|
|
16215
|
+
get: $util.oneOfGetter($oneOfFields = ["assessmentPlatform"]),
|
|
16216
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
16217
|
+
});
|
|
16218
|
+
|
|
16186
16219
|
/**
|
|
16187
16220
|
* Creates a new AssessmentScore instance using the specified properties.
|
|
16188
16221
|
* @function create
|
|
@@ -16221,6 +16254,10 @@ $root.AssessmentScore = (function() {
|
|
|
16221
16254
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.completedAtIsoDate);
|
|
16222
16255
|
if (message.reflectionNote != null && Object.hasOwnProperty.call(message, "reflectionNote"))
|
|
16223
16256
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.reflectionNote);
|
|
16257
|
+
if (message.assignmentId != null && Object.hasOwnProperty.call(message, "assignmentId"))
|
|
16258
|
+
writer.uint32(/* id 6, wireType 0 =*/48).int64(message.assignmentId);
|
|
16259
|
+
if (message.assessmentPlatform != null && Object.hasOwnProperty.call(message, "assessmentPlatform"))
|
|
16260
|
+
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.assessmentPlatform);
|
|
16224
16261
|
if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
|
|
16225
16262
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
16226
16263
|
writer.raw(message.$unknowns[i]);
|
|
@@ -16313,6 +16350,20 @@ $root.AssessmentScore = (function() {
|
|
|
16313
16350
|
delete message.reflectionNote;
|
|
16314
16351
|
continue;
|
|
16315
16352
|
}
|
|
16353
|
+
case 6: {
|
|
16354
|
+
if (wireType !== 0)
|
|
16355
|
+
break;
|
|
16356
|
+
message.assignmentId = reader.int64();
|
|
16357
|
+
message._assignmentId = "assignmentId";
|
|
16358
|
+
continue;
|
|
16359
|
+
}
|
|
16360
|
+
case 7: {
|
|
16361
|
+
if (wireType !== 0)
|
|
16362
|
+
break;
|
|
16363
|
+
message.assessmentPlatform = reader.int32();
|
|
16364
|
+
message._assessmentPlatform = "assessmentPlatform";
|
|
16365
|
+
continue;
|
|
16366
|
+
}
|
|
16316
16367
|
}
|
|
16317
16368
|
reader.skipType(wireType, _depth, tag);
|
|
16318
16369
|
$util.makeProp(message, "$unknowns", false);
|
|
@@ -16354,6 +16405,7 @@ $root.AssessmentScore = (function() {
|
|
|
16354
16405
|
_depth = 0;
|
|
16355
16406
|
if (_depth > $util.recursionLimit)
|
|
16356
16407
|
return "max depth exceeded";
|
|
16408
|
+
var properties = {};
|
|
16357
16409
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
16358
16410
|
if (!$util.isString(message.userId))
|
|
16359
16411
|
return "userId: string expected";
|
|
@@ -16369,6 +16421,22 @@ $root.AssessmentScore = (function() {
|
|
|
16369
16421
|
if (message.reflectionNote != null && message.hasOwnProperty("reflectionNote"))
|
|
16370
16422
|
if (!$util.isString(message.reflectionNote))
|
|
16371
16423
|
return "reflectionNote: string expected";
|
|
16424
|
+
if (message.assignmentId != null && message.hasOwnProperty("assignmentId")) {
|
|
16425
|
+
properties._assignmentId = 1;
|
|
16426
|
+
if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
|
|
16427
|
+
return "assignmentId: integer|Long expected";
|
|
16428
|
+
}
|
|
16429
|
+
if (message.assessmentPlatform != null && message.hasOwnProperty("assessmentPlatform")) {
|
|
16430
|
+
properties._assessmentPlatform = 1;
|
|
16431
|
+
switch (message.assessmentPlatform) {
|
|
16432
|
+
default:
|
|
16433
|
+
return "assessmentPlatform: enum value expected";
|
|
16434
|
+
case 0:
|
|
16435
|
+
case 1:
|
|
16436
|
+
case 2:
|
|
16437
|
+
break;
|
|
16438
|
+
}
|
|
16439
|
+
}
|
|
16372
16440
|
return null;
|
|
16373
16441
|
};
|
|
16374
16442
|
|
|
@@ -16403,6 +16471,35 @@ $root.AssessmentScore = (function() {
|
|
|
16403
16471
|
if (object.reflectionNote != null)
|
|
16404
16472
|
if (typeof object.reflectionNote !== "string" || object.reflectionNote.length)
|
|
16405
16473
|
message.reflectionNote = String(object.reflectionNote);
|
|
16474
|
+
if (object.assignmentId != null)
|
|
16475
|
+
if ($util.Long)
|
|
16476
|
+
(message.assignmentId = $util.Long.fromValue(object.assignmentId)).unsigned = false;
|
|
16477
|
+
else if (typeof object.assignmentId === "string")
|
|
16478
|
+
message.assignmentId = parseInt(object.assignmentId, 10);
|
|
16479
|
+
else if (typeof object.assignmentId === "number")
|
|
16480
|
+
message.assignmentId = object.assignmentId;
|
|
16481
|
+
else if (typeof object.assignmentId === "object")
|
|
16482
|
+
message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
|
|
16483
|
+
switch (object.assessmentPlatform) {
|
|
16484
|
+
default:
|
|
16485
|
+
if (typeof object.assessmentPlatform === "number") {
|
|
16486
|
+
message.assessmentPlatform = object.assessmentPlatform;
|
|
16487
|
+
break;
|
|
16488
|
+
}
|
|
16489
|
+
break;
|
|
16490
|
+
case "ASSESSMENT_PLATFORM_UNKNOWN":
|
|
16491
|
+
case 0:
|
|
16492
|
+
message.assessmentPlatform = 0;
|
|
16493
|
+
break;
|
|
16494
|
+
case "ASSESSMENT_PLATFORM_HS_SURVEY_SERVICE":
|
|
16495
|
+
case 1:
|
|
16496
|
+
message.assessmentPlatform = 1;
|
|
16497
|
+
break;
|
|
16498
|
+
case "ASSESSMENT_PLATFORM_GINGER_WEB":
|
|
16499
|
+
case 2:
|
|
16500
|
+
message.assessmentPlatform = 2;
|
|
16501
|
+
break;
|
|
16502
|
+
}
|
|
16406
16503
|
return message;
|
|
16407
16504
|
};
|
|
16408
16505
|
|
|
@@ -16436,6 +16533,21 @@ $root.AssessmentScore = (function() {
|
|
|
16436
16533
|
object.completedAtIsoDate = message.completedAtIsoDate;
|
|
16437
16534
|
if (message.reflectionNote != null && message.hasOwnProperty("reflectionNote"))
|
|
16438
16535
|
object.reflectionNote = message.reflectionNote;
|
|
16536
|
+
if (message.assignmentId != null && message.hasOwnProperty("assignmentId")) {
|
|
16537
|
+
if (typeof BigInt !== "undefined" && options.longs === BigInt)
|
|
16538
|
+
object.assignmentId = typeof message.assignmentId === "number" ? BigInt(message.assignmentId) : $util.Long.fromBits(message.assignmentId.low >>> 0, message.assignmentId.high >>> 0, false).toBigInt();
|
|
16539
|
+
else if (typeof message.assignmentId === "number")
|
|
16540
|
+
object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
|
|
16541
|
+
else
|
|
16542
|
+
object.assignmentId = options.longs === String ? $util.Long.prototype.toString.call(message.assignmentId) : options.longs === Number ? new $util.LongBits(message.assignmentId.low >>> 0, message.assignmentId.high >>> 0).toNumber() : message.assignmentId;
|
|
16543
|
+
if (options.oneofs)
|
|
16544
|
+
object._assignmentId = "assignmentId";
|
|
16545
|
+
}
|
|
16546
|
+
if (message.assessmentPlatform != null && message.hasOwnProperty("assessmentPlatform")) {
|
|
16547
|
+
object.assessmentPlatform = options.enums === String ? $root.AssessmentPlatform[message.assessmentPlatform] === undefined ? message.assessmentPlatform : $root.AssessmentPlatform[message.assessmentPlatform] : message.assessmentPlatform;
|
|
16548
|
+
if (options.oneofs)
|
|
16549
|
+
object._assessmentPlatform = "assessmentPlatform";
|
|
16550
|
+
}
|
|
16439
16551
|
return object;
|
|
16440
16552
|
};
|
|
16441
16553
|
|
|
@@ -16467,6 +16579,22 @@ $root.AssessmentScore = (function() {
|
|
|
16467
16579
|
return AssessmentScore;
|
|
16468
16580
|
})();
|
|
16469
16581
|
|
|
16582
|
+
/**
|
|
16583
|
+
* AssessmentPlatform enum.
|
|
16584
|
+
* @name AssessmentPlatform
|
|
16585
|
+
* @enum {number}
|
|
16586
|
+
* @property {number} ASSESSMENT_PLATFORM_UNKNOWN=0 ASSESSMENT_PLATFORM_UNKNOWN value
|
|
16587
|
+
* @property {number} ASSESSMENT_PLATFORM_HS_SURVEY_SERVICE=1 ASSESSMENT_PLATFORM_HS_SURVEY_SERVICE value
|
|
16588
|
+
* @property {number} ASSESSMENT_PLATFORM_GINGER_WEB=2 ASSESSMENT_PLATFORM_GINGER_WEB value
|
|
16589
|
+
*/
|
|
16590
|
+
$root.AssessmentPlatform = (function() {
|
|
16591
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
16592
|
+
values[valuesById[0] = "ASSESSMENT_PLATFORM_UNKNOWN"] = 0;
|
|
16593
|
+
values[valuesById[1] = "ASSESSMENT_PLATFORM_HS_SURVEY_SERVICE"] = 1;
|
|
16594
|
+
values[valuesById[2] = "ASSESSMENT_PLATFORM_GINGER_WEB"] = 2;
|
|
16595
|
+
return values;
|
|
16596
|
+
})();
|
|
16597
|
+
|
|
16470
16598
|
/**
|
|
16471
16599
|
* AssessmentType enum.
|
|
16472
16600
|
* @name AssessmentType
|
|
@@ -251402,6 +251530,11 @@ $root.CareMemberAddressUpdated = (function() {
|
|
|
251402
251530
|
* @typedef {Object} CareMemberAddressUpdated.$Properties
|
|
251403
251531
|
* @property {string|null} [hsUserId] CareMemberAddressUpdated hsUserId
|
|
251404
251532
|
* @property {string|null} [country] CareMemberAddressUpdated country
|
|
251533
|
+
* @property {string|null} [streetAddress] CareMemberAddressUpdated streetAddress
|
|
251534
|
+
* @property {string|null} [streetAddress_2] CareMemberAddressUpdated streetAddress_2
|
|
251535
|
+
* @property {string|null} [city] CareMemberAddressUpdated city
|
|
251536
|
+
* @property {string|null} [zipCode] CareMemberAddressUpdated zipCode
|
|
251537
|
+
* @property {string|null} [state] CareMemberAddressUpdated state
|
|
251405
251538
|
* @property {number|Long|null} [eventTimestamp] CareMemberAddressUpdated eventTimestamp
|
|
251406
251539
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
|
|
251407
251540
|
*/
|
|
@@ -251450,6 +251583,46 @@ $root.CareMemberAddressUpdated = (function() {
|
|
|
251450
251583
|
*/
|
|
251451
251584
|
CareMemberAddressUpdated.prototype.country = "";
|
|
251452
251585
|
|
|
251586
|
+
/**
|
|
251587
|
+
* CareMemberAddressUpdated streetAddress.
|
|
251588
|
+
* @member {string} streetAddress
|
|
251589
|
+
* @memberof CareMemberAddressUpdated
|
|
251590
|
+
* @instance
|
|
251591
|
+
*/
|
|
251592
|
+
CareMemberAddressUpdated.prototype.streetAddress = "";
|
|
251593
|
+
|
|
251594
|
+
/**
|
|
251595
|
+
* CareMemberAddressUpdated streetAddress_2.
|
|
251596
|
+
* @member {string} streetAddress_2
|
|
251597
|
+
* @memberof CareMemberAddressUpdated
|
|
251598
|
+
* @instance
|
|
251599
|
+
*/
|
|
251600
|
+
CareMemberAddressUpdated.prototype.streetAddress_2 = "";
|
|
251601
|
+
|
|
251602
|
+
/**
|
|
251603
|
+
* CareMemberAddressUpdated city.
|
|
251604
|
+
* @member {string} city
|
|
251605
|
+
* @memberof CareMemberAddressUpdated
|
|
251606
|
+
* @instance
|
|
251607
|
+
*/
|
|
251608
|
+
CareMemberAddressUpdated.prototype.city = "";
|
|
251609
|
+
|
|
251610
|
+
/**
|
|
251611
|
+
* CareMemberAddressUpdated zipCode.
|
|
251612
|
+
* @member {string} zipCode
|
|
251613
|
+
* @memberof CareMemberAddressUpdated
|
|
251614
|
+
* @instance
|
|
251615
|
+
*/
|
|
251616
|
+
CareMemberAddressUpdated.prototype.zipCode = "";
|
|
251617
|
+
|
|
251618
|
+
/**
|
|
251619
|
+
* CareMemberAddressUpdated state.
|
|
251620
|
+
* @member {string} state
|
|
251621
|
+
* @memberof CareMemberAddressUpdated
|
|
251622
|
+
* @instance
|
|
251623
|
+
*/
|
|
251624
|
+
CareMemberAddressUpdated.prototype.state = "";
|
|
251625
|
+
|
|
251453
251626
|
/**
|
|
251454
251627
|
* CareMemberAddressUpdated eventTimestamp.
|
|
251455
251628
|
* @member {number|Long} eventTimestamp
|
|
@@ -251490,6 +251663,16 @@ $root.CareMemberAddressUpdated = (function() {
|
|
|
251490
251663
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
251491
251664
|
if (message.country != null && Object.hasOwnProperty.call(message, "country"))
|
|
251492
251665
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.country);
|
|
251666
|
+
if (message.streetAddress != null && Object.hasOwnProperty.call(message, "streetAddress"))
|
|
251667
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.streetAddress);
|
|
251668
|
+
if (message.streetAddress_2 != null && Object.hasOwnProperty.call(message, "streetAddress_2"))
|
|
251669
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.streetAddress_2);
|
|
251670
|
+
if (message.city != null && Object.hasOwnProperty.call(message, "city"))
|
|
251671
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.city);
|
|
251672
|
+
if (message.zipCode != null && Object.hasOwnProperty.call(message, "zipCode"))
|
|
251673
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.zipCode);
|
|
251674
|
+
if (message.state != null && Object.hasOwnProperty.call(message, "state"))
|
|
251675
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.state);
|
|
251493
251676
|
if (message.eventTimestamp != null && Object.hasOwnProperty.call(message, "eventTimestamp"))
|
|
251494
251677
|
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.eventTimestamp);
|
|
251495
251678
|
if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
|
|
@@ -251557,6 +251740,51 @@ $root.CareMemberAddressUpdated = (function() {
|
|
|
251557
251740
|
delete message.country;
|
|
251558
251741
|
continue;
|
|
251559
251742
|
}
|
|
251743
|
+
case 3: {
|
|
251744
|
+
if (wireType !== 2)
|
|
251745
|
+
break;
|
|
251746
|
+
if ((value = reader.string()).length)
|
|
251747
|
+
message.streetAddress = value;
|
|
251748
|
+
else
|
|
251749
|
+
delete message.streetAddress;
|
|
251750
|
+
continue;
|
|
251751
|
+
}
|
|
251752
|
+
case 4: {
|
|
251753
|
+
if (wireType !== 2)
|
|
251754
|
+
break;
|
|
251755
|
+
if ((value = reader.string()).length)
|
|
251756
|
+
message.streetAddress_2 = value;
|
|
251757
|
+
else
|
|
251758
|
+
delete message.streetAddress_2;
|
|
251759
|
+
continue;
|
|
251760
|
+
}
|
|
251761
|
+
case 5: {
|
|
251762
|
+
if (wireType !== 2)
|
|
251763
|
+
break;
|
|
251764
|
+
if ((value = reader.string()).length)
|
|
251765
|
+
message.city = value;
|
|
251766
|
+
else
|
|
251767
|
+
delete message.city;
|
|
251768
|
+
continue;
|
|
251769
|
+
}
|
|
251770
|
+
case 6: {
|
|
251771
|
+
if (wireType !== 2)
|
|
251772
|
+
break;
|
|
251773
|
+
if ((value = reader.string()).length)
|
|
251774
|
+
message.zipCode = value;
|
|
251775
|
+
else
|
|
251776
|
+
delete message.zipCode;
|
|
251777
|
+
continue;
|
|
251778
|
+
}
|
|
251779
|
+
case 7: {
|
|
251780
|
+
if (wireType !== 2)
|
|
251781
|
+
break;
|
|
251782
|
+
if ((value = reader.string()).length)
|
|
251783
|
+
message.state = value;
|
|
251784
|
+
else
|
|
251785
|
+
delete message.state;
|
|
251786
|
+
continue;
|
|
251787
|
+
}
|
|
251560
251788
|
case 12: {
|
|
251561
251789
|
if (wireType !== 0)
|
|
251562
251790
|
break;
|
|
@@ -251613,6 +251841,21 @@ $root.CareMemberAddressUpdated = (function() {
|
|
|
251613
251841
|
if (message.country != null && message.hasOwnProperty("country"))
|
|
251614
251842
|
if (!$util.isString(message.country))
|
|
251615
251843
|
return "country: string expected";
|
|
251844
|
+
if (message.streetAddress != null && message.hasOwnProperty("streetAddress"))
|
|
251845
|
+
if (!$util.isString(message.streetAddress))
|
|
251846
|
+
return "streetAddress: string expected";
|
|
251847
|
+
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
251848
|
+
if (!$util.isString(message.streetAddress_2))
|
|
251849
|
+
return "streetAddress_2: string expected";
|
|
251850
|
+
if (message.city != null && message.hasOwnProperty("city"))
|
|
251851
|
+
if (!$util.isString(message.city))
|
|
251852
|
+
return "city: string expected";
|
|
251853
|
+
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
251854
|
+
if (!$util.isString(message.zipCode))
|
|
251855
|
+
return "zipCode: string expected";
|
|
251856
|
+
if (message.state != null && message.hasOwnProperty("state"))
|
|
251857
|
+
if (!$util.isString(message.state))
|
|
251858
|
+
return "state: string expected";
|
|
251616
251859
|
if (message.eventTimestamp != null && message.hasOwnProperty("eventTimestamp"))
|
|
251617
251860
|
if (!$util.isInteger(message.eventTimestamp) && !(message.eventTimestamp && $util.isInteger(message.eventTimestamp.low) && $util.isInteger(message.eventTimestamp.high)))
|
|
251618
251861
|
return "eventTimestamp: integer|Long expected";
|
|
@@ -251641,6 +251884,21 @@ $root.CareMemberAddressUpdated = (function() {
|
|
|
251641
251884
|
if (object.country != null)
|
|
251642
251885
|
if (typeof object.country !== "string" || object.country.length)
|
|
251643
251886
|
message.country = String(object.country);
|
|
251887
|
+
if (object.streetAddress != null)
|
|
251888
|
+
if (typeof object.streetAddress !== "string" || object.streetAddress.length)
|
|
251889
|
+
message.streetAddress = String(object.streetAddress);
|
|
251890
|
+
if (object.streetAddress_2 != null)
|
|
251891
|
+
if (typeof object.streetAddress_2 !== "string" || object.streetAddress_2.length)
|
|
251892
|
+
message.streetAddress_2 = String(object.streetAddress_2);
|
|
251893
|
+
if (object.city != null)
|
|
251894
|
+
if (typeof object.city !== "string" || object.city.length)
|
|
251895
|
+
message.city = String(object.city);
|
|
251896
|
+
if (object.zipCode != null)
|
|
251897
|
+
if (typeof object.zipCode !== "string" || object.zipCode.length)
|
|
251898
|
+
message.zipCode = String(object.zipCode);
|
|
251899
|
+
if (object.state != null)
|
|
251900
|
+
if (typeof object.state !== "string" || object.state.length)
|
|
251901
|
+
message.state = String(object.state);
|
|
251644
251902
|
if (object.eventTimestamp != null)
|
|
251645
251903
|
if (typeof object.eventTimestamp === "object" ? object.eventTimestamp.low || object.eventTimestamp.high : Number(object.eventTimestamp) !== 0)
|
|
251646
251904
|
if ($util.Long)
|
|
@@ -251670,6 +251928,11 @@ $root.CareMemberAddressUpdated = (function() {
|
|
|
251670
251928
|
if (options.defaults) {
|
|
251671
251929
|
object.hsUserId = "";
|
|
251672
251930
|
object.country = "";
|
|
251931
|
+
object.streetAddress = "";
|
|
251932
|
+
object.streetAddress_2 = "";
|
|
251933
|
+
object.city = "";
|
|
251934
|
+
object.zipCode = "";
|
|
251935
|
+
object.state = "";
|
|
251673
251936
|
if ($util.Long) {
|
|
251674
251937
|
var long = new $util.Long(0, 0, true);
|
|
251675
251938
|
object.eventTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
|
|
@@ -251680,6 +251943,16 @@ $root.CareMemberAddressUpdated = (function() {
|
|
|
251680
251943
|
object.hsUserId = message.hsUserId;
|
|
251681
251944
|
if (message.country != null && message.hasOwnProperty("country"))
|
|
251682
251945
|
object.country = message.country;
|
|
251946
|
+
if (message.streetAddress != null && message.hasOwnProperty("streetAddress"))
|
|
251947
|
+
object.streetAddress = message.streetAddress;
|
|
251948
|
+
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
251949
|
+
object.streetAddress_2 = message.streetAddress_2;
|
|
251950
|
+
if (message.city != null && message.hasOwnProperty("city"))
|
|
251951
|
+
object.city = message.city;
|
|
251952
|
+
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
251953
|
+
object.zipCode = message.zipCode;
|
|
251954
|
+
if (message.state != null && message.hasOwnProperty("state"))
|
|
251955
|
+
object.state = message.state;
|
|
251683
251956
|
if (message.eventTimestamp != null && message.hasOwnProperty("eventTimestamp"))
|
|
251684
251957
|
if (typeof BigInt !== "undefined" && options.longs === BigInt)
|
|
251685
251958
|
object.eventTimestamp = typeof message.eventTimestamp === "number" ? BigInt(message.eventTimestamp) : $util.Long.fromBits(message.eventTimestamp.low >>> 0, message.eventTimestamp.high >>> 0, true).toBigInt();
|
package/package.json
CHANGED