@headspace/protos-events 1.796.0 → 1.798.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 +21 -21
- package/lib/index.js +92 -114
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -15427,11 +15427,8 @@ export interface ICareSessionCompleted {
|
|
|
15427
15427
|
/** CareSessionCompleted hsUserId */
|
|
15428
15428
|
hsUserId?: (string|null);
|
|
15429
15429
|
|
|
15430
|
-
/** CareSessionCompleted
|
|
15431
|
-
|
|
15432
|
-
|
|
15433
|
-
/** CareSessionCompleted sessionId */
|
|
15434
|
-
sessionId?: (number|Long|null);
|
|
15430
|
+
/** CareSessionCompleted appointmentId */
|
|
15431
|
+
appointmentId?: (number|Long|null);
|
|
15435
15432
|
|
|
15436
15433
|
/** CareSessionCompleted careService */
|
|
15437
15434
|
careService?: (CareService|null);
|
|
@@ -15470,11 +15467,8 @@ export class CareSessionCompleted implements ICareSessionCompleted {
|
|
|
15470
15467
|
/** CareSessionCompleted hsUserId. */
|
|
15471
15468
|
public hsUserId: string;
|
|
15472
15469
|
|
|
15473
|
-
/** CareSessionCompleted
|
|
15474
|
-
public
|
|
15475
|
-
|
|
15476
|
-
/** CareSessionCompleted sessionId. */
|
|
15477
|
-
public sessionId: (number|Long);
|
|
15470
|
+
/** CareSessionCompleted appointmentId. */
|
|
15471
|
+
public appointmentId: (number|Long);
|
|
15478
15472
|
|
|
15479
15473
|
/** CareSessionCompleted careService. */
|
|
15480
15474
|
public careService: CareService;
|
|
@@ -15571,9 +15565,6 @@ export class CareSessionCompleted implements ICareSessionCompleted {
|
|
|
15571
15565
|
/** Properties of a CareAvailabilityOffered. */
|
|
15572
15566
|
export interface ICareAvailabilityOffered {
|
|
15573
15567
|
|
|
15574
|
-
/** CareAvailabilityOffered providerId */
|
|
15575
|
-
providerId?: (number|Long|null);
|
|
15576
|
-
|
|
15577
15568
|
/** CareAvailabilityOffered careWebUserId */
|
|
15578
15569
|
careWebUserId?: (string|null);
|
|
15579
15570
|
|
|
@@ -15612,6 +15603,9 @@ export interface ICareAvailabilityOffered {
|
|
|
15612
15603
|
|
|
15613
15604
|
/** CareAvailabilityOffered earliestAvailabilityBusinessHoursAhead */
|
|
15614
15605
|
earliestAvailabilityBusinessHoursAhead?: (number|null);
|
|
15606
|
+
|
|
15607
|
+
/** CareAvailabilityOffered eventDetail */
|
|
15608
|
+
eventDetail?: (IEventDetail|null);
|
|
15615
15609
|
}
|
|
15616
15610
|
|
|
15617
15611
|
/** Represents a CareAvailabilityOffered. */
|
|
@@ -15623,9 +15617,6 @@ export class CareAvailabilityOffered implements ICareAvailabilityOffered {
|
|
|
15623
15617
|
*/
|
|
15624
15618
|
constructor(properties?: ICareAvailabilityOffered);
|
|
15625
15619
|
|
|
15626
|
-
/** CareAvailabilityOffered providerId. */
|
|
15627
|
-
public providerId: (number|Long);
|
|
15628
|
-
|
|
15629
15620
|
/** CareAvailabilityOffered careWebUserId. */
|
|
15630
15621
|
public careWebUserId: string;
|
|
15631
15622
|
|
|
@@ -15665,6 +15656,9 @@ export class CareAvailabilityOffered implements ICareAvailabilityOffered {
|
|
|
15665
15656
|
/** CareAvailabilityOffered earliestAvailabilityBusinessHoursAhead. */
|
|
15666
15657
|
public earliestAvailabilityBusinessHoursAhead: number;
|
|
15667
15658
|
|
|
15659
|
+
/** CareAvailabilityOffered eventDetail. */
|
|
15660
|
+
public eventDetail?: (IEventDetail|null);
|
|
15661
|
+
|
|
15668
15662
|
/**
|
|
15669
15663
|
* Creates a new CareAvailabilityOffered instance using the specified properties.
|
|
15670
15664
|
* @param [properties] Properties to set
|
|
@@ -59633,11 +59627,14 @@ export class GingerTherapySchedulerStatusUpdated implements IGingerTherapySchedu
|
|
|
59633
59627
|
/** Properties of a UserDoubleOptInEmailRequested. */
|
|
59634
59628
|
export interface IUserDoubleOptInEmailRequested {
|
|
59635
59629
|
|
|
59636
|
-
/** UserDoubleOptInEmailRequested
|
|
59637
|
-
|
|
59630
|
+
/** UserDoubleOptInEmailRequested hsUserId */
|
|
59631
|
+
hsUserId?: (string|null);
|
|
59632
|
+
|
|
59633
|
+
/** UserDoubleOptInEmailRequested verificationToken */
|
|
59634
|
+
verificationToken?: (string|null);
|
|
59638
59635
|
}
|
|
59639
59636
|
|
|
59640
|
-
/**
|
|
59637
|
+
/** Sent when a user requests to double opt in to their email. */
|
|
59641
59638
|
export class UserDoubleOptInEmailRequested implements IUserDoubleOptInEmailRequested {
|
|
59642
59639
|
|
|
59643
59640
|
/**
|
|
@@ -59646,8 +59643,11 @@ export class UserDoubleOptInEmailRequested implements IUserDoubleOptInEmailReque
|
|
|
59646
59643
|
*/
|
|
59647
59644
|
constructor(properties?: IUserDoubleOptInEmailRequested);
|
|
59648
59645
|
|
|
59649
|
-
/** UserDoubleOptInEmailRequested
|
|
59650
|
-
public
|
|
59646
|
+
/** UserDoubleOptInEmailRequested hsUserId. */
|
|
59647
|
+
public hsUserId: string;
|
|
59648
|
+
|
|
59649
|
+
/** UserDoubleOptInEmailRequested verificationToken. */
|
|
59650
|
+
public verificationToken: string;
|
|
59651
59651
|
|
|
59652
59652
|
/**
|
|
59653
59653
|
* Creates a new UserDoubleOptInEmailRequested instance using the specified properties.
|
package/lib/index.js
CHANGED
|
@@ -40383,8 +40383,7 @@ $root.CareSessionCompleted = (function() {
|
|
|
40383
40383
|
* @interface ICareSessionCompleted
|
|
40384
40384
|
* @property {IEventDetail|null} [eventDetail] CareSessionCompleted eventDetail
|
|
40385
40385
|
* @property {string|null} [hsUserId] CareSessionCompleted hsUserId
|
|
40386
|
-
* @property {number|Long|null} [
|
|
40387
|
-
* @property {number|Long|null} [sessionId] CareSessionCompleted sessionId
|
|
40386
|
+
* @property {number|Long|null} [appointmentId] CareSessionCompleted appointmentId
|
|
40388
40387
|
* @property {CareService|null} [careService] CareSessionCompleted careService
|
|
40389
40388
|
* @property {number|Long|null} [startTimestamp] CareSessionCompleted startTimestamp
|
|
40390
40389
|
* @property {string|null} [startTimestampIso] CareSessionCompleted startTimestampIso
|
|
@@ -40426,20 +40425,12 @@ $root.CareSessionCompleted = (function() {
|
|
|
40426
40425
|
CareSessionCompleted.prototype.hsUserId = "";
|
|
40427
40426
|
|
|
40428
40427
|
/**
|
|
40429
|
-
* CareSessionCompleted
|
|
40430
|
-
* @member {number|Long}
|
|
40428
|
+
* CareSessionCompleted appointmentId.
|
|
40429
|
+
* @member {number|Long} appointmentId
|
|
40431
40430
|
* @memberof CareSessionCompleted
|
|
40432
40431
|
* @instance
|
|
40433
40432
|
*/
|
|
40434
|
-
CareSessionCompleted.prototype.
|
|
40435
|
-
|
|
40436
|
-
/**
|
|
40437
|
-
* CareSessionCompleted sessionId.
|
|
40438
|
-
* @member {number|Long} sessionId
|
|
40439
|
-
* @memberof CareSessionCompleted
|
|
40440
|
-
* @instance
|
|
40441
|
-
*/
|
|
40442
|
-
CareSessionCompleted.prototype.sessionId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
40433
|
+
CareSessionCompleted.prototype.appointmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
40443
40434
|
|
|
40444
40435
|
/**
|
|
40445
40436
|
* CareSessionCompleted careService.
|
|
@@ -40525,10 +40516,8 @@ $root.CareSessionCompleted = (function() {
|
|
|
40525
40516
|
$root.EventDetail.encode(message.eventDetail, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
40526
40517
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
40527
40518
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsUserId);
|
|
40528
|
-
if (message.
|
|
40529
|
-
writer.uint32(/* id
|
|
40530
|
-
if (message.sessionId != null && message.hasOwnProperty("sessionId"))
|
|
40531
|
-
writer.uint32(/* id 4, wireType 0 =*/32).int64(message.sessionId);
|
|
40519
|
+
if (message.appointmentId != null && message.hasOwnProperty("appointmentId"))
|
|
40520
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int64(message.appointmentId);
|
|
40532
40521
|
if (message.careService != null && message.hasOwnProperty("careService"))
|
|
40533
40522
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.careService);
|
|
40534
40523
|
if (message.startTimestamp != null && message.hasOwnProperty("startTimestamp"))
|
|
@@ -40583,11 +40572,8 @@ $root.CareSessionCompleted = (function() {
|
|
|
40583
40572
|
case 2:
|
|
40584
40573
|
message.hsUserId = reader.string();
|
|
40585
40574
|
break;
|
|
40586
|
-
case 3:
|
|
40587
|
-
message.providerId = reader.int64();
|
|
40588
|
-
break;
|
|
40589
40575
|
case 4:
|
|
40590
|
-
message.
|
|
40576
|
+
message.appointmentId = reader.int64();
|
|
40591
40577
|
break;
|
|
40592
40578
|
case 5:
|
|
40593
40579
|
message.careService = reader.int32();
|
|
@@ -40653,12 +40639,9 @@ $root.CareSessionCompleted = (function() {
|
|
|
40653
40639
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
40654
40640
|
if (!$util.isString(message.hsUserId))
|
|
40655
40641
|
return "hsUserId: string expected";
|
|
40656
|
-
if (message.
|
|
40657
|
-
if (!$util.isInteger(message.
|
|
40658
|
-
return "
|
|
40659
|
-
if (message.sessionId != null && message.hasOwnProperty("sessionId"))
|
|
40660
|
-
if (!$util.isInteger(message.sessionId) && !(message.sessionId && $util.isInteger(message.sessionId.low) && $util.isInteger(message.sessionId.high)))
|
|
40661
|
-
return "sessionId: integer|Long expected";
|
|
40642
|
+
if (message.appointmentId != null && message.hasOwnProperty("appointmentId"))
|
|
40643
|
+
if (!$util.isInteger(message.appointmentId) && !(message.appointmentId && $util.isInteger(message.appointmentId.low) && $util.isInteger(message.appointmentId.high)))
|
|
40644
|
+
return "appointmentId: integer|Long expected";
|
|
40662
40645
|
if (message.careService != null && message.hasOwnProperty("careService"))
|
|
40663
40646
|
switch (message.careService) {
|
|
40664
40647
|
default:
|
|
@@ -40709,24 +40692,15 @@ $root.CareSessionCompleted = (function() {
|
|
|
40709
40692
|
}
|
|
40710
40693
|
if (object.hsUserId != null)
|
|
40711
40694
|
message.hsUserId = String(object.hsUserId);
|
|
40712
|
-
if (object.
|
|
40713
|
-
if ($util.Long)
|
|
40714
|
-
(message.
|
|
40715
|
-
else if (typeof object.
|
|
40716
|
-
message.
|
|
40717
|
-
else if (typeof object.
|
|
40718
|
-
message.
|
|
40719
|
-
else if (typeof object.
|
|
40720
|
-
message.
|
|
40721
|
-
if (object.sessionId != null)
|
|
40722
|
-
if ($util.Long)
|
|
40723
|
-
(message.sessionId = $util.Long.fromValue(object.sessionId)).unsigned = false;
|
|
40724
|
-
else if (typeof object.sessionId === "string")
|
|
40725
|
-
message.sessionId = parseInt(object.sessionId, 10);
|
|
40726
|
-
else if (typeof object.sessionId === "number")
|
|
40727
|
-
message.sessionId = object.sessionId;
|
|
40728
|
-
else if (typeof object.sessionId === "object")
|
|
40729
|
-
message.sessionId = new $util.LongBits(object.sessionId.low >>> 0, object.sessionId.high >>> 0).toNumber();
|
|
40695
|
+
if (object.appointmentId != null)
|
|
40696
|
+
if ($util.Long)
|
|
40697
|
+
(message.appointmentId = $util.Long.fromValue(object.appointmentId)).unsigned = false;
|
|
40698
|
+
else if (typeof object.appointmentId === "string")
|
|
40699
|
+
message.appointmentId = parseInt(object.appointmentId, 10);
|
|
40700
|
+
else if (typeof object.appointmentId === "number")
|
|
40701
|
+
message.appointmentId = object.appointmentId;
|
|
40702
|
+
else if (typeof object.appointmentId === "object")
|
|
40703
|
+
message.appointmentId = new $util.LongBits(object.appointmentId.low >>> 0, object.appointmentId.high >>> 0).toNumber();
|
|
40730
40704
|
switch (object.careService) {
|
|
40731
40705
|
case "CARE_SERVICE_UNKNOWN":
|
|
40732
40706
|
case 0:
|
|
@@ -40799,14 +40773,9 @@ $root.CareSessionCompleted = (function() {
|
|
|
40799
40773
|
object.hsUserId = "";
|
|
40800
40774
|
if ($util.Long) {
|
|
40801
40775
|
var long = new $util.Long(0, 0, false);
|
|
40802
|
-
object.
|
|
40776
|
+
object.appointmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
40803
40777
|
} else
|
|
40804
|
-
object.
|
|
40805
|
-
if ($util.Long) {
|
|
40806
|
-
var long = new $util.Long(0, 0, false);
|
|
40807
|
-
object.sessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
40808
|
-
} else
|
|
40809
|
-
object.sessionId = options.longs === String ? "0" : 0;
|
|
40778
|
+
object.appointmentId = options.longs === String ? "0" : 0;
|
|
40810
40779
|
object.careService = options.enums === String ? "CARE_SERVICE_UNKNOWN" : 0;
|
|
40811
40780
|
if ($util.Long) {
|
|
40812
40781
|
var long = new $util.Long(0, 0, true);
|
|
@@ -40831,16 +40800,11 @@ $root.CareSessionCompleted = (function() {
|
|
|
40831
40800
|
object.eventDetail = $root.EventDetail.toObject(message.eventDetail, options);
|
|
40832
40801
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
40833
40802
|
object.hsUserId = message.hsUserId;
|
|
40834
|
-
if (message.
|
|
40835
|
-
if (typeof message.
|
|
40836
|
-
object.
|
|
40837
|
-
else
|
|
40838
|
-
object.providerId = options.longs === String ? $util.Long.prototype.toString.call(message.providerId) : options.longs === Number ? new $util.LongBits(message.providerId.low >>> 0, message.providerId.high >>> 0).toNumber() : message.providerId;
|
|
40839
|
-
if (message.sessionId != null && message.hasOwnProperty("sessionId"))
|
|
40840
|
-
if (typeof message.sessionId === "number")
|
|
40841
|
-
object.sessionId = options.longs === String ? String(message.sessionId) : message.sessionId;
|
|
40803
|
+
if (message.appointmentId != null && message.hasOwnProperty("appointmentId"))
|
|
40804
|
+
if (typeof message.appointmentId === "number")
|
|
40805
|
+
object.appointmentId = options.longs === String ? String(message.appointmentId) : message.appointmentId;
|
|
40842
40806
|
else
|
|
40843
|
-
object.
|
|
40807
|
+
object.appointmentId = options.longs === String ? $util.Long.prototype.toString.call(message.appointmentId) : options.longs === Number ? new $util.LongBits(message.appointmentId.low >>> 0, message.appointmentId.high >>> 0).toNumber() : message.appointmentId;
|
|
40844
40808
|
if (message.careService != null && message.hasOwnProperty("careService"))
|
|
40845
40809
|
object.careService = options.enums === String ? $root.CareService[message.careService] : message.careService;
|
|
40846
40810
|
if (message.startTimestamp != null && message.hasOwnProperty("startTimestamp"))
|
|
@@ -40887,7 +40851,6 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
40887
40851
|
* Properties of a CareAvailabilityOffered.
|
|
40888
40852
|
* @name ICareAvailabilityOffered
|
|
40889
40853
|
* @interface ICareAvailabilityOffered
|
|
40890
|
-
* @property {number|Long|null} [providerId] CareAvailabilityOffered providerId
|
|
40891
40854
|
* @property {string|null} [careWebUserId] CareAvailabilityOffered careWebUserId
|
|
40892
40855
|
* @property {string|null} [hsUserId] CareAvailabilityOffered hsUserId
|
|
40893
40856
|
* @property {CareService|null} [careService] CareAvailabilityOffered careService
|
|
@@ -40901,6 +40864,7 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
40901
40864
|
* @property {string|null} [latestAvailabilityIso] CareAvailabilityOffered latestAvailabilityIso
|
|
40902
40865
|
* @property {number|null} [latestAvailabilityHoursAhead] CareAvailabilityOffered latestAvailabilityHoursAhead
|
|
40903
40866
|
* @property {number|null} [earliestAvailabilityBusinessHoursAhead] CareAvailabilityOffered earliestAvailabilityBusinessHoursAhead
|
|
40867
|
+
* @property {IEventDetail|null} [eventDetail] CareAvailabilityOffered eventDetail
|
|
40904
40868
|
*/
|
|
40905
40869
|
|
|
40906
40870
|
/**
|
|
@@ -40918,14 +40882,6 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
40918
40882
|
this[keys[i]] = properties[keys[i]];
|
|
40919
40883
|
}
|
|
40920
40884
|
|
|
40921
|
-
/**
|
|
40922
|
-
* CareAvailabilityOffered providerId.
|
|
40923
|
-
* @member {number|Long} providerId
|
|
40924
|
-
* @memberof CareAvailabilityOffered
|
|
40925
|
-
* @instance
|
|
40926
|
-
*/
|
|
40927
|
-
CareAvailabilityOffered.prototype.providerId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
40928
|
-
|
|
40929
40885
|
/**
|
|
40930
40886
|
* CareAvailabilityOffered careWebUserId.
|
|
40931
40887
|
* @member {string} careWebUserId
|
|
@@ -41030,6 +40986,14 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
41030
40986
|
*/
|
|
41031
40987
|
CareAvailabilityOffered.prototype.earliestAvailabilityBusinessHoursAhead = 0;
|
|
41032
40988
|
|
|
40989
|
+
/**
|
|
40990
|
+
* CareAvailabilityOffered eventDetail.
|
|
40991
|
+
* @member {IEventDetail|null|undefined} eventDetail
|
|
40992
|
+
* @memberof CareAvailabilityOffered
|
|
40993
|
+
* @instance
|
|
40994
|
+
*/
|
|
40995
|
+
CareAvailabilityOffered.prototype.eventDetail = null;
|
|
40996
|
+
|
|
41033
40997
|
/**
|
|
41034
40998
|
* Creates a new CareAvailabilityOffered instance using the specified properties.
|
|
41035
40999
|
* @function create
|
|
@@ -41054,8 +41018,6 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
41054
41018
|
CareAvailabilityOffered.encode = function encode(message, writer) {
|
|
41055
41019
|
if (!writer)
|
|
41056
41020
|
writer = $Writer.create();
|
|
41057
|
-
if (message.providerId != null && message.hasOwnProperty("providerId"))
|
|
41058
|
-
writer.uint32(/* id 1, wireType 0 =*/8).int64(message.providerId);
|
|
41059
41021
|
if (message.careWebUserId != null && message.hasOwnProperty("careWebUserId"))
|
|
41060
41022
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.careWebUserId);
|
|
41061
41023
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
@@ -41082,6 +41044,8 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
41082
41044
|
writer.uint32(/* id 13, wireType 5 =*/109).float(message.latestAvailabilityHoursAhead);
|
|
41083
41045
|
if (message.earliestAvailabilityBusinessHoursAhead != null && message.hasOwnProperty("earliestAvailabilityBusinessHoursAhead"))
|
|
41084
41046
|
writer.uint32(/* id 14, wireType 5 =*/117).float(message.earliestAvailabilityBusinessHoursAhead);
|
|
41047
|
+
if (message.eventDetail != null && message.hasOwnProperty("eventDetail"))
|
|
41048
|
+
$root.EventDetail.encode(message.eventDetail, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
41085
41049
|
return writer;
|
|
41086
41050
|
};
|
|
41087
41051
|
|
|
@@ -41116,9 +41080,6 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
41116
41080
|
while (reader.pos < end) {
|
|
41117
41081
|
var tag = reader.uint32();
|
|
41118
41082
|
switch (tag >>> 3) {
|
|
41119
|
-
case 1:
|
|
41120
|
-
message.providerId = reader.int64();
|
|
41121
|
-
break;
|
|
41122
41083
|
case 2:
|
|
41123
41084
|
message.careWebUserId = reader.string();
|
|
41124
41085
|
break;
|
|
@@ -41158,6 +41119,9 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
41158
41119
|
case 14:
|
|
41159
41120
|
message.earliestAvailabilityBusinessHoursAhead = reader.float();
|
|
41160
41121
|
break;
|
|
41122
|
+
case 15:
|
|
41123
|
+
message.eventDetail = $root.EventDetail.decode(reader, reader.uint32());
|
|
41124
|
+
break;
|
|
41161
41125
|
default:
|
|
41162
41126
|
reader.skipType(tag & 7);
|
|
41163
41127
|
break;
|
|
@@ -41193,9 +41157,6 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
41193
41157
|
CareAvailabilityOffered.verify = function verify(message) {
|
|
41194
41158
|
if (typeof message !== "object" || message === null)
|
|
41195
41159
|
return "object expected";
|
|
41196
|
-
if (message.providerId != null && message.hasOwnProperty("providerId"))
|
|
41197
|
-
if (!$util.isInteger(message.providerId) && !(message.providerId && $util.isInteger(message.providerId.low) && $util.isInteger(message.providerId.high)))
|
|
41198
|
-
return "providerId: integer|Long expected";
|
|
41199
41160
|
if (message.careWebUserId != null && message.hasOwnProperty("careWebUserId"))
|
|
41200
41161
|
if (!$util.isString(message.careWebUserId))
|
|
41201
41162
|
return "careWebUserId: string expected";
|
|
@@ -41242,6 +41203,11 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
41242
41203
|
if (message.earliestAvailabilityBusinessHoursAhead != null && message.hasOwnProperty("earliestAvailabilityBusinessHoursAhead"))
|
|
41243
41204
|
if (typeof message.earliestAvailabilityBusinessHoursAhead !== "number")
|
|
41244
41205
|
return "earliestAvailabilityBusinessHoursAhead: number expected";
|
|
41206
|
+
if (message.eventDetail != null && message.hasOwnProperty("eventDetail")) {
|
|
41207
|
+
var error = $root.EventDetail.verify(message.eventDetail);
|
|
41208
|
+
if (error)
|
|
41209
|
+
return "eventDetail." + error;
|
|
41210
|
+
}
|
|
41245
41211
|
return null;
|
|
41246
41212
|
};
|
|
41247
41213
|
|
|
@@ -41257,15 +41223,6 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
41257
41223
|
if (object instanceof $root.CareAvailabilityOffered)
|
|
41258
41224
|
return object;
|
|
41259
41225
|
var message = new $root.CareAvailabilityOffered();
|
|
41260
|
-
if (object.providerId != null)
|
|
41261
|
-
if ($util.Long)
|
|
41262
|
-
(message.providerId = $util.Long.fromValue(object.providerId)).unsigned = false;
|
|
41263
|
-
else if (typeof object.providerId === "string")
|
|
41264
|
-
message.providerId = parseInt(object.providerId, 10);
|
|
41265
|
-
else if (typeof object.providerId === "number")
|
|
41266
|
-
message.providerId = object.providerId;
|
|
41267
|
-
else if (typeof object.providerId === "object")
|
|
41268
|
-
message.providerId = new $util.LongBits(object.providerId.low >>> 0, object.providerId.high >>> 0).toNumber();
|
|
41269
41226
|
if (object.careWebUserId != null)
|
|
41270
41227
|
message.careWebUserId = String(object.careWebUserId);
|
|
41271
41228
|
if (object.hsUserId != null)
|
|
@@ -41336,6 +41293,11 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
41336
41293
|
message.latestAvailabilityHoursAhead = Number(object.latestAvailabilityHoursAhead);
|
|
41337
41294
|
if (object.earliestAvailabilityBusinessHoursAhead != null)
|
|
41338
41295
|
message.earliestAvailabilityBusinessHoursAhead = Number(object.earliestAvailabilityBusinessHoursAhead);
|
|
41296
|
+
if (object.eventDetail != null) {
|
|
41297
|
+
if (typeof object.eventDetail !== "object")
|
|
41298
|
+
throw TypeError(".CareAvailabilityOffered.eventDetail: object expected");
|
|
41299
|
+
message.eventDetail = $root.EventDetail.fromObject(object.eventDetail);
|
|
41300
|
+
}
|
|
41339
41301
|
return message;
|
|
41340
41302
|
};
|
|
41341
41303
|
|
|
@@ -41353,11 +41315,6 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
41353
41315
|
options = {};
|
|
41354
41316
|
var object = {};
|
|
41355
41317
|
if (options.defaults) {
|
|
41356
|
-
if ($util.Long) {
|
|
41357
|
-
var long = new $util.Long(0, 0, false);
|
|
41358
|
-
object.providerId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
41359
|
-
} else
|
|
41360
|
-
object.providerId = options.longs === String ? "0" : 0;
|
|
41361
41318
|
object.careWebUserId = "";
|
|
41362
41319
|
object.hsUserId = "";
|
|
41363
41320
|
object.careService = options.enums === String ? "CARE_SERVICE_UNKNOWN" : 0;
|
|
@@ -41387,12 +41344,8 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
41387
41344
|
object.latestAvailabilityIso = "";
|
|
41388
41345
|
object.latestAvailabilityHoursAhead = 0;
|
|
41389
41346
|
object.earliestAvailabilityBusinessHoursAhead = 0;
|
|
41347
|
+
object.eventDetail = null;
|
|
41390
41348
|
}
|
|
41391
|
-
if (message.providerId != null && message.hasOwnProperty("providerId"))
|
|
41392
|
-
if (typeof message.providerId === "number")
|
|
41393
|
-
object.providerId = options.longs === String ? String(message.providerId) : message.providerId;
|
|
41394
|
-
else
|
|
41395
|
-
object.providerId = options.longs === String ? $util.Long.prototype.toString.call(message.providerId) : options.longs === Number ? new $util.LongBits(message.providerId.low >>> 0, message.providerId.high >>> 0).toNumber() : message.providerId;
|
|
41396
41349
|
if (message.careWebUserId != null && message.hasOwnProperty("careWebUserId"))
|
|
41397
41350
|
object.careWebUserId = message.careWebUserId;
|
|
41398
41351
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
@@ -41431,6 +41384,8 @@ $root.CareAvailabilityOffered = (function() {
|
|
|
41431
41384
|
object.latestAvailabilityHoursAhead = options.json && !isFinite(message.latestAvailabilityHoursAhead) ? String(message.latestAvailabilityHoursAhead) : message.latestAvailabilityHoursAhead;
|
|
41432
41385
|
if (message.earliestAvailabilityBusinessHoursAhead != null && message.hasOwnProperty("earliestAvailabilityBusinessHoursAhead"))
|
|
41433
41386
|
object.earliestAvailabilityBusinessHoursAhead = options.json && !isFinite(message.earliestAvailabilityBusinessHoursAhead) ? String(message.earliestAvailabilityBusinessHoursAhead) : message.earliestAvailabilityBusinessHoursAhead;
|
|
41387
|
+
if (message.eventDetail != null && message.hasOwnProperty("eventDetail"))
|
|
41388
|
+
object.eventDetail = $root.EventDetail.toObject(message.eventDetail, options);
|
|
41434
41389
|
return object;
|
|
41435
41390
|
};
|
|
41436
41391
|
|
|
@@ -170771,13 +170726,14 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
170771
170726
|
* Properties of a UserDoubleOptInEmailRequested.
|
|
170772
170727
|
* @name IUserDoubleOptInEmailRequested
|
|
170773
170728
|
* @interface IUserDoubleOptInEmailRequested
|
|
170774
|
-
* @property {string|null} [
|
|
170729
|
+
* @property {string|null} [hsUserId] UserDoubleOptInEmailRequested hsUserId
|
|
170730
|
+
* @property {string|null} [verificationToken] UserDoubleOptInEmailRequested verificationToken
|
|
170775
170731
|
*/
|
|
170776
170732
|
|
|
170777
170733
|
/**
|
|
170778
170734
|
* Constructs a new UserDoubleOptInEmailRequested.
|
|
170779
170735
|
* @name UserDoubleOptInEmailRequested
|
|
170780
|
-
* @classdesc
|
|
170736
|
+
* @classdesc Sent when a user requests to double opt in to their email.
|
|
170781
170737
|
* @implements IUserDoubleOptInEmailRequested
|
|
170782
170738
|
* @constructor
|
|
170783
170739
|
* @param {IUserDoubleOptInEmailRequested=} [properties] Properties to set
|
|
@@ -170790,12 +170746,20 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
170790
170746
|
}
|
|
170791
170747
|
|
|
170792
170748
|
/**
|
|
170793
|
-
* UserDoubleOptInEmailRequested
|
|
170794
|
-
* @member {string}
|
|
170749
|
+
* UserDoubleOptInEmailRequested hsUserId.
|
|
170750
|
+
* @member {string} hsUserId
|
|
170795
170751
|
* @memberof UserDoubleOptInEmailRequested
|
|
170796
170752
|
* @instance
|
|
170797
170753
|
*/
|
|
170798
|
-
UserDoubleOptInEmailRequested.prototype.
|
|
170754
|
+
UserDoubleOptInEmailRequested.prototype.hsUserId = "";
|
|
170755
|
+
|
|
170756
|
+
/**
|
|
170757
|
+
* UserDoubleOptInEmailRequested verificationToken.
|
|
170758
|
+
* @member {string} verificationToken
|
|
170759
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
170760
|
+
* @instance
|
|
170761
|
+
*/
|
|
170762
|
+
UserDoubleOptInEmailRequested.prototype.verificationToken = "";
|
|
170799
170763
|
|
|
170800
170764
|
/**
|
|
170801
170765
|
* Creates a new UserDoubleOptInEmailRequested instance using the specified properties.
|
|
@@ -170821,8 +170785,10 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
170821
170785
|
UserDoubleOptInEmailRequested.encode = function encode(message, writer) {
|
|
170822
170786
|
if (!writer)
|
|
170823
170787
|
writer = $Writer.create();
|
|
170824
|
-
if (message.
|
|
170825
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.
|
|
170788
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
170789
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
170790
|
+
if (message.verificationToken != null && message.hasOwnProperty("verificationToken"))
|
|
170791
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.verificationToken);
|
|
170826
170792
|
return writer;
|
|
170827
170793
|
};
|
|
170828
170794
|
|
|
@@ -170858,7 +170824,10 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
170858
170824
|
var tag = reader.uint32();
|
|
170859
170825
|
switch (tag >>> 3) {
|
|
170860
170826
|
case 1:
|
|
170861
|
-
message.
|
|
170827
|
+
message.hsUserId = reader.string();
|
|
170828
|
+
break;
|
|
170829
|
+
case 2:
|
|
170830
|
+
message.verificationToken = reader.string();
|
|
170862
170831
|
break;
|
|
170863
170832
|
default:
|
|
170864
170833
|
reader.skipType(tag & 7);
|
|
@@ -170895,9 +170864,12 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
170895
170864
|
UserDoubleOptInEmailRequested.verify = function verify(message) {
|
|
170896
170865
|
if (typeof message !== "object" || message === null)
|
|
170897
170866
|
return "object expected";
|
|
170898
|
-
if (message.
|
|
170899
|
-
if (!$util.isString(message.
|
|
170900
|
-
return "
|
|
170867
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
170868
|
+
if (!$util.isString(message.hsUserId))
|
|
170869
|
+
return "hsUserId: string expected";
|
|
170870
|
+
if (message.verificationToken != null && message.hasOwnProperty("verificationToken"))
|
|
170871
|
+
if (!$util.isString(message.verificationToken))
|
|
170872
|
+
return "verificationToken: string expected";
|
|
170901
170873
|
return null;
|
|
170902
170874
|
};
|
|
170903
170875
|
|
|
@@ -170913,8 +170885,10 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
170913
170885
|
if (object instanceof $root.UserDoubleOptInEmailRequested)
|
|
170914
170886
|
return object;
|
|
170915
170887
|
var message = new $root.UserDoubleOptInEmailRequested();
|
|
170916
|
-
if (object.
|
|
170917
|
-
message.
|
|
170888
|
+
if (object.hsUserId != null)
|
|
170889
|
+
message.hsUserId = String(object.hsUserId);
|
|
170890
|
+
if (object.verificationToken != null)
|
|
170891
|
+
message.verificationToken = String(object.verificationToken);
|
|
170918
170892
|
return message;
|
|
170919
170893
|
};
|
|
170920
170894
|
|
|
@@ -170931,10 +170905,14 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
170931
170905
|
if (!options)
|
|
170932
170906
|
options = {};
|
|
170933
170907
|
var object = {};
|
|
170934
|
-
if (options.defaults)
|
|
170935
|
-
object.
|
|
170936
|
-
|
|
170937
|
-
|
|
170908
|
+
if (options.defaults) {
|
|
170909
|
+
object.hsUserId = "";
|
|
170910
|
+
object.verificationToken = "";
|
|
170911
|
+
}
|
|
170912
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
170913
|
+
object.hsUserId = message.hsUserId;
|
|
170914
|
+
if (message.verificationToken != null && message.hasOwnProperty("verificationToken"))
|
|
170915
|
+
object.verificationToken = message.verificationToken;
|
|
170938
170916
|
return object;
|
|
170939
170917
|
};
|
|
170940
170918
|
|
package/package.json
CHANGED