@headspace/protos-events 1.790.0 → 1.792.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +89 -69
  2. package/lib/index.js +413 -321
  3. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -27947,6 +27947,40 @@ $root.SIAssessmentCompleted = (function() {
27947
27947
  return SIAssessmentCompleted;
27948
27948
  })();
27949
27949
 
27950
+ /**
27951
+ * CareService enum.
27952
+ * @name CareService
27953
+ * @enum {string}
27954
+ * @property {number} CARE_SERVICE_UNKNOWN=0 CARE_SERVICE_UNKNOWN value
27955
+ * @property {number} CARE_SERVICE_COACHING=1 CARE_SERVICE_COACHING value
27956
+ * @property {number} CARE_SERVICE_THERAPY=2 CARE_SERVICE_THERAPY value
27957
+ * @property {number} CARE_SERVICE_PSYCHIATRY=3 CARE_SERVICE_PSYCHIATRY value
27958
+ */
27959
+ $root.CareService = (function() {
27960
+ var valuesById = {}, values = Object.create(valuesById);
27961
+ values[valuesById[0] = "CARE_SERVICE_UNKNOWN"] = 0;
27962
+ values[valuesById[1] = "CARE_SERVICE_COACHING"] = 1;
27963
+ values[valuesById[2] = "CARE_SERVICE_THERAPY"] = 2;
27964
+ values[valuesById[3] = "CARE_SERVICE_PSYCHIATRY"] = 3;
27965
+ return values;
27966
+ })();
27967
+
27968
+ /**
27969
+ * SessionFormat enum.
27970
+ * @name SessionFormat
27971
+ * @enum {string}
27972
+ * @property {number} SESSION_FORMAT_UNKNOWN=0 SESSION_FORMAT_UNKNOWN value
27973
+ * @property {number} SESSION_FORMAT_CHAT=1 SESSION_FORMAT_CHAT value
27974
+ * @property {number} SESSION_FORMAT_VIDEO=2 SESSION_FORMAT_VIDEO value
27975
+ */
27976
+ $root.SessionFormat = (function() {
27977
+ var valuesById = {}, values = Object.create(valuesById);
27978
+ values[valuesById[0] = "SESSION_FORMAT_UNKNOWN"] = 0;
27979
+ values[valuesById[1] = "SESSION_FORMAT_CHAT"] = 1;
27980
+ values[valuesById[2] = "SESSION_FORMAT_VIDEO"] = 2;
27981
+ return values;
27982
+ })();
27983
+
27950
27984
  $root.CoachingSessionCompleted = (function() {
27951
27985
 
27952
27986
  /**
@@ -27956,6 +27990,13 @@ $root.CoachingSessionCompleted = (function() {
27956
27990
  * @property {IEventDetail|null} [eventDetail] CoachingSessionCompleted eventDetail
27957
27991
  * @property {string|null} [hsUserId] CoachingSessionCompleted hsUserId
27958
27992
  * @property {boolean|null} [isScheduledCheckin] CoachingSessionCompleted isScheduledCheckin
27993
+ * @property {SessionFormat|null} [sessionFormat] CoachingSessionCompleted sessionFormat
27994
+ * @property {number|Long|null} [startTimestamp] CoachingSessionCompleted startTimestamp
27995
+ * @property {string|null} [startTimestampIso] CoachingSessionCompleted startTimestampIso
27996
+ * @property {number|Long|null} [engagementTimestamp] CoachingSessionCompleted engagementTimestamp
27997
+ * @property {string|null} [engagementTimestampIso] CoachingSessionCompleted engagementTimestampIso
27998
+ * @property {number|Long|null} [endTimestamp] CoachingSessionCompleted endTimestamp
27999
+ * @property {string|null} [endTimestampIso] CoachingSessionCompleted endTimestampIso
27959
28000
  */
27960
28001
 
27961
28002
  /**
@@ -27997,6 +28038,62 @@ $root.CoachingSessionCompleted = (function() {
27997
28038
  */
27998
28039
  CoachingSessionCompleted.prototype.isScheduledCheckin = false;
27999
28040
 
28041
+ /**
28042
+ * CoachingSessionCompleted sessionFormat.
28043
+ * @member {SessionFormat} sessionFormat
28044
+ * @memberof CoachingSessionCompleted
28045
+ * @instance
28046
+ */
28047
+ CoachingSessionCompleted.prototype.sessionFormat = 0;
28048
+
28049
+ /**
28050
+ * CoachingSessionCompleted startTimestamp.
28051
+ * @member {number|Long} startTimestamp
28052
+ * @memberof CoachingSessionCompleted
28053
+ * @instance
28054
+ */
28055
+ CoachingSessionCompleted.prototype.startTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
28056
+
28057
+ /**
28058
+ * CoachingSessionCompleted startTimestampIso.
28059
+ * @member {string} startTimestampIso
28060
+ * @memberof CoachingSessionCompleted
28061
+ * @instance
28062
+ */
28063
+ CoachingSessionCompleted.prototype.startTimestampIso = "";
28064
+
28065
+ /**
28066
+ * CoachingSessionCompleted engagementTimestamp.
28067
+ * @member {number|Long} engagementTimestamp
28068
+ * @memberof CoachingSessionCompleted
28069
+ * @instance
28070
+ */
28071
+ CoachingSessionCompleted.prototype.engagementTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
28072
+
28073
+ /**
28074
+ * CoachingSessionCompleted engagementTimestampIso.
28075
+ * @member {string} engagementTimestampIso
28076
+ * @memberof CoachingSessionCompleted
28077
+ * @instance
28078
+ */
28079
+ CoachingSessionCompleted.prototype.engagementTimestampIso = "";
28080
+
28081
+ /**
28082
+ * CoachingSessionCompleted endTimestamp.
28083
+ * @member {number|Long} endTimestamp
28084
+ * @memberof CoachingSessionCompleted
28085
+ * @instance
28086
+ */
28087
+ CoachingSessionCompleted.prototype.endTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
28088
+
28089
+ /**
28090
+ * CoachingSessionCompleted endTimestampIso.
28091
+ * @member {string} endTimestampIso
28092
+ * @memberof CoachingSessionCompleted
28093
+ * @instance
28094
+ */
28095
+ CoachingSessionCompleted.prototype.endTimestampIso = "";
28096
+
28000
28097
  /**
28001
28098
  * Creates a new CoachingSessionCompleted instance using the specified properties.
28002
28099
  * @function create
@@ -28027,6 +28124,20 @@ $root.CoachingSessionCompleted = (function() {
28027
28124
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsUserId);
28028
28125
  if (message.isScheduledCheckin != null && message.hasOwnProperty("isScheduledCheckin"))
28029
28126
  writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isScheduledCheckin);
28127
+ if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
28128
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.sessionFormat);
28129
+ if (message.startTimestamp != null && message.hasOwnProperty("startTimestamp"))
28130
+ writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.startTimestamp);
28131
+ if (message.startTimestampIso != null && message.hasOwnProperty("startTimestampIso"))
28132
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.startTimestampIso);
28133
+ if (message.engagementTimestamp != null && message.hasOwnProperty("engagementTimestamp"))
28134
+ writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.engagementTimestamp);
28135
+ if (message.engagementTimestampIso != null && message.hasOwnProperty("engagementTimestampIso"))
28136
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.engagementTimestampIso);
28137
+ if (message.endTimestamp != null && message.hasOwnProperty("endTimestamp"))
28138
+ writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.endTimestamp);
28139
+ if (message.endTimestampIso != null && message.hasOwnProperty("endTimestampIso"))
28140
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.endTimestampIso);
28030
28141
  return writer;
28031
28142
  };
28032
28143
 
@@ -28070,6 +28181,27 @@ $root.CoachingSessionCompleted = (function() {
28070
28181
  case 3:
28071
28182
  message.isScheduledCheckin = reader.bool();
28072
28183
  break;
28184
+ case 4:
28185
+ message.sessionFormat = reader.int32();
28186
+ break;
28187
+ case 5:
28188
+ message.startTimestamp = reader.uint64();
28189
+ break;
28190
+ case 6:
28191
+ message.startTimestampIso = reader.string();
28192
+ break;
28193
+ case 7:
28194
+ message.engagementTimestamp = reader.uint64();
28195
+ break;
28196
+ case 8:
28197
+ message.engagementTimestampIso = reader.string();
28198
+ break;
28199
+ case 9:
28200
+ message.endTimestamp = reader.uint64();
28201
+ break;
28202
+ case 10:
28203
+ message.endTimestampIso = reader.string();
28204
+ break;
28073
28205
  default:
28074
28206
  reader.skipType(tag & 7);
28075
28207
  break;
@@ -28116,6 +28248,33 @@ $root.CoachingSessionCompleted = (function() {
28116
28248
  if (message.isScheduledCheckin != null && message.hasOwnProperty("isScheduledCheckin"))
28117
28249
  if (typeof message.isScheduledCheckin !== "boolean")
28118
28250
  return "isScheduledCheckin: boolean expected";
28251
+ if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
28252
+ switch (message.sessionFormat) {
28253
+ default:
28254
+ return "sessionFormat: enum value expected";
28255
+ case 0:
28256
+ case 1:
28257
+ case 2:
28258
+ break;
28259
+ }
28260
+ if (message.startTimestamp != null && message.hasOwnProperty("startTimestamp"))
28261
+ if (!$util.isInteger(message.startTimestamp) && !(message.startTimestamp && $util.isInteger(message.startTimestamp.low) && $util.isInteger(message.startTimestamp.high)))
28262
+ return "startTimestamp: integer|Long expected";
28263
+ if (message.startTimestampIso != null && message.hasOwnProperty("startTimestampIso"))
28264
+ if (!$util.isString(message.startTimestampIso))
28265
+ return "startTimestampIso: string expected";
28266
+ if (message.engagementTimestamp != null && message.hasOwnProperty("engagementTimestamp"))
28267
+ if (!$util.isInteger(message.engagementTimestamp) && !(message.engagementTimestamp && $util.isInteger(message.engagementTimestamp.low) && $util.isInteger(message.engagementTimestamp.high)))
28268
+ return "engagementTimestamp: integer|Long expected";
28269
+ if (message.engagementTimestampIso != null && message.hasOwnProperty("engagementTimestampIso"))
28270
+ if (!$util.isString(message.engagementTimestampIso))
28271
+ return "engagementTimestampIso: string expected";
28272
+ if (message.endTimestamp != null && message.hasOwnProperty("endTimestamp"))
28273
+ if (!$util.isInteger(message.endTimestamp) && !(message.endTimestamp && $util.isInteger(message.endTimestamp.low) && $util.isInteger(message.endTimestamp.high)))
28274
+ return "endTimestamp: integer|Long expected";
28275
+ if (message.endTimestampIso != null && message.hasOwnProperty("endTimestampIso"))
28276
+ if (!$util.isString(message.endTimestampIso))
28277
+ return "endTimestampIso: string expected";
28119
28278
  return null;
28120
28279
  };
28121
28280
 
@@ -28140,6 +28299,53 @@ $root.CoachingSessionCompleted = (function() {
28140
28299
  message.hsUserId = String(object.hsUserId);
28141
28300
  if (object.isScheduledCheckin != null)
28142
28301
  message.isScheduledCheckin = Boolean(object.isScheduledCheckin);
28302
+ switch (object.sessionFormat) {
28303
+ case "SESSION_FORMAT_UNKNOWN":
28304
+ case 0:
28305
+ message.sessionFormat = 0;
28306
+ break;
28307
+ case "SESSION_FORMAT_CHAT":
28308
+ case 1:
28309
+ message.sessionFormat = 1;
28310
+ break;
28311
+ case "SESSION_FORMAT_VIDEO":
28312
+ case 2:
28313
+ message.sessionFormat = 2;
28314
+ break;
28315
+ }
28316
+ if (object.startTimestamp != null)
28317
+ if ($util.Long)
28318
+ (message.startTimestamp = $util.Long.fromValue(object.startTimestamp)).unsigned = true;
28319
+ else if (typeof object.startTimestamp === "string")
28320
+ message.startTimestamp = parseInt(object.startTimestamp, 10);
28321
+ else if (typeof object.startTimestamp === "number")
28322
+ message.startTimestamp = object.startTimestamp;
28323
+ else if (typeof object.startTimestamp === "object")
28324
+ message.startTimestamp = new $util.LongBits(object.startTimestamp.low >>> 0, object.startTimestamp.high >>> 0).toNumber(true);
28325
+ if (object.startTimestampIso != null)
28326
+ message.startTimestampIso = String(object.startTimestampIso);
28327
+ if (object.engagementTimestamp != null)
28328
+ if ($util.Long)
28329
+ (message.engagementTimestamp = $util.Long.fromValue(object.engagementTimestamp)).unsigned = true;
28330
+ else if (typeof object.engagementTimestamp === "string")
28331
+ message.engagementTimestamp = parseInt(object.engagementTimestamp, 10);
28332
+ else if (typeof object.engagementTimestamp === "number")
28333
+ message.engagementTimestamp = object.engagementTimestamp;
28334
+ else if (typeof object.engagementTimestamp === "object")
28335
+ message.engagementTimestamp = new $util.LongBits(object.engagementTimestamp.low >>> 0, object.engagementTimestamp.high >>> 0).toNumber(true);
28336
+ if (object.engagementTimestampIso != null)
28337
+ message.engagementTimestampIso = String(object.engagementTimestampIso);
28338
+ if (object.endTimestamp != null)
28339
+ if ($util.Long)
28340
+ (message.endTimestamp = $util.Long.fromValue(object.endTimestamp)).unsigned = true;
28341
+ else if (typeof object.endTimestamp === "string")
28342
+ message.endTimestamp = parseInt(object.endTimestamp, 10);
28343
+ else if (typeof object.endTimestamp === "number")
28344
+ message.endTimestamp = object.endTimestamp;
28345
+ else if (typeof object.endTimestamp === "object")
28346
+ message.endTimestamp = new $util.LongBits(object.endTimestamp.low >>> 0, object.endTimestamp.high >>> 0).toNumber(true);
28347
+ if (object.endTimestampIso != null)
28348
+ message.endTimestampIso = String(object.endTimestampIso);
28143
28349
  return message;
28144
28350
  };
28145
28351
 
@@ -28160,6 +28366,25 @@ $root.CoachingSessionCompleted = (function() {
28160
28366
  object.eventDetail = null;
28161
28367
  object.hsUserId = "";
28162
28368
  object.isScheduledCheckin = false;
28369
+ object.sessionFormat = options.enums === String ? "SESSION_FORMAT_UNKNOWN" : 0;
28370
+ if ($util.Long) {
28371
+ var long = new $util.Long(0, 0, true);
28372
+ object.startTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
28373
+ } else
28374
+ object.startTimestamp = options.longs === String ? "0" : 0;
28375
+ object.startTimestampIso = "";
28376
+ if ($util.Long) {
28377
+ var long = new $util.Long(0, 0, true);
28378
+ object.engagementTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
28379
+ } else
28380
+ object.engagementTimestamp = options.longs === String ? "0" : 0;
28381
+ object.engagementTimestampIso = "";
28382
+ if ($util.Long) {
28383
+ var long = new $util.Long(0, 0, true);
28384
+ object.endTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
28385
+ } else
28386
+ object.endTimestamp = options.longs === String ? "0" : 0;
28387
+ object.endTimestampIso = "";
28163
28388
  }
28164
28389
  if (message.eventDetail != null && message.hasOwnProperty("eventDetail"))
28165
28390
  object.eventDetail = $root.EventDetail.toObject(message.eventDetail, options);
@@ -28167,6 +28392,29 @@ $root.CoachingSessionCompleted = (function() {
28167
28392
  object.hsUserId = message.hsUserId;
28168
28393
  if (message.isScheduledCheckin != null && message.hasOwnProperty("isScheduledCheckin"))
28169
28394
  object.isScheduledCheckin = message.isScheduledCheckin;
28395
+ if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
28396
+ object.sessionFormat = options.enums === String ? $root.SessionFormat[message.sessionFormat] : message.sessionFormat;
28397
+ if (message.startTimestamp != null && message.hasOwnProperty("startTimestamp"))
28398
+ if (typeof message.startTimestamp === "number")
28399
+ object.startTimestamp = options.longs === String ? String(message.startTimestamp) : message.startTimestamp;
28400
+ else
28401
+ object.startTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.startTimestamp) : options.longs === Number ? new $util.LongBits(message.startTimestamp.low >>> 0, message.startTimestamp.high >>> 0).toNumber(true) : message.startTimestamp;
28402
+ if (message.startTimestampIso != null && message.hasOwnProperty("startTimestampIso"))
28403
+ object.startTimestampIso = message.startTimestampIso;
28404
+ if (message.engagementTimestamp != null && message.hasOwnProperty("engagementTimestamp"))
28405
+ if (typeof message.engagementTimestamp === "number")
28406
+ object.engagementTimestamp = options.longs === String ? String(message.engagementTimestamp) : message.engagementTimestamp;
28407
+ else
28408
+ object.engagementTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.engagementTimestamp) : options.longs === Number ? new $util.LongBits(message.engagementTimestamp.low >>> 0, message.engagementTimestamp.high >>> 0).toNumber(true) : message.engagementTimestamp;
28409
+ if (message.engagementTimestampIso != null && message.hasOwnProperty("engagementTimestampIso"))
28410
+ object.engagementTimestampIso = message.engagementTimestampIso;
28411
+ if (message.endTimestamp != null && message.hasOwnProperty("endTimestamp"))
28412
+ if (typeof message.endTimestamp === "number")
28413
+ object.endTimestamp = options.longs === String ? String(message.endTimestamp) : message.endTimestamp;
28414
+ else
28415
+ object.endTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.endTimestamp) : options.longs === Number ? new $util.LongBits(message.endTimestamp.low >>> 0, message.endTimestamp.high >>> 0).toNumber(true) : message.endTimestamp;
28416
+ if (message.endTimestampIso != null && message.hasOwnProperty("endTimestampIso"))
28417
+ object.endTimestampIso = message.endTimestampIso;
28170
28418
  return object;
28171
28419
  };
28172
28420
 
@@ -39771,60 +40019,6 @@ $root.MemberDeactivationStarted = (function() {
39771
40019
  return MemberDeactivationStarted;
39772
40020
  })();
39773
40021
 
39774
- /**
39775
- * CareService enum.
39776
- * @name CareService
39777
- * @enum {string}
39778
- * @property {number} CARE_SERVICE_UNKNOWN=0 CARE_SERVICE_UNKNOWN value
39779
- * @property {number} CARE_SERVICE_COACHING=1 CARE_SERVICE_COACHING value
39780
- * @property {number} CARE_SERVICE_THERAPY=2 CARE_SERVICE_THERAPY value
39781
- * @property {number} CARE_SERVICE_PSYCHIATRY=3 CARE_SERVICE_PSYCHIATRY value
39782
- */
39783
- $root.CareService = (function() {
39784
- var valuesById = {}, values = Object.create(valuesById);
39785
- values[valuesById[0] = "CARE_SERVICE_UNKNOWN"] = 0;
39786
- values[valuesById[1] = "CARE_SERVICE_COACHING"] = 1;
39787
- values[valuesById[2] = "CARE_SERVICE_THERAPY"] = 2;
39788
- values[valuesById[3] = "CARE_SERVICE_PSYCHIATRY"] = 3;
39789
- return values;
39790
- })();
39791
-
39792
- /**
39793
- * SessionType enum.
39794
- * @name SessionType
39795
- * @enum {string}
39796
- * @property {number} SESSION_TYPE_UNKNOWN=0 SESSION_TYPE_UNKNOWN value
39797
- * @property {number} SESSION_TYPE_INTAKE=1 SESSION_TYPE_INTAKE value
39798
- * @property {number} SESSION_TYPE_FOLLOW_UP=2 SESSION_TYPE_FOLLOW_UP value
39799
- * @property {number} SESSION_TYPE_SI=3 SESSION_TYPE_SI value
39800
- * @property {number} SESSION_TYPE_DROP_IN=4 SESSION_TYPE_DROP_IN value
39801
- */
39802
- $root.SessionType = (function() {
39803
- var valuesById = {}, values = Object.create(valuesById);
39804
- values[valuesById[0] = "SESSION_TYPE_UNKNOWN"] = 0;
39805
- values[valuesById[1] = "SESSION_TYPE_INTAKE"] = 1;
39806
- values[valuesById[2] = "SESSION_TYPE_FOLLOW_UP"] = 2;
39807
- values[valuesById[3] = "SESSION_TYPE_SI"] = 3;
39808
- values[valuesById[4] = "SESSION_TYPE_DROP_IN"] = 4;
39809
- return values;
39810
- })();
39811
-
39812
- /**
39813
- * SessionFormat enum.
39814
- * @name SessionFormat
39815
- * @enum {string}
39816
- * @property {number} SESSION_FORMAT_UNKNOWN=0 SESSION_FORMAT_UNKNOWN value
39817
- * @property {number} SESSION_FORMAT_CHAT=1 SESSION_FORMAT_CHAT value
39818
- * @property {number} SESSION_FORMAT_VIDEO=2 SESSION_FORMAT_VIDEO value
39819
- */
39820
- $root.SessionFormat = (function() {
39821
- var valuesById = {}, values = Object.create(valuesById);
39822
- values[valuesById[0] = "SESSION_FORMAT_UNKNOWN"] = 0;
39823
- values[valuesById[1] = "SESSION_FORMAT_CHAT"] = 1;
39824
- values[valuesById[2] = "SESSION_FORMAT_VIDEO"] = 2;
39825
- return values;
39826
- })();
39827
-
39828
40022
  $root.CareSessionCompleted = (function() {
39829
40023
 
39830
40024
  /**
@@ -39833,19 +40027,15 @@ $root.CareSessionCompleted = (function() {
39833
40027
  * @interface ICareSessionCompleted
39834
40028
  * @property {IEventDetail|null} [eventDetail] CareSessionCompleted eventDetail
39835
40029
  * @property {string|null} [hsUserId] CareSessionCompleted hsUserId
39836
- * @property {number|Long|null} [listenerId] CareSessionCompleted listenerId
40030
+ * @property {number|Long|null} [providerId] CareSessionCompleted providerId
39837
40031
  * @property {number|Long|null} [sessionId] CareSessionCompleted sessionId
39838
40032
  * @property {CareService|null} [careService] CareSessionCompleted careService
39839
- * @property {SessionType|null} [sessionType] CareSessionCompleted sessionType
39840
- * @property {SessionFormat|null} [sessionFormat] CareSessionCompleted sessionFormat
39841
- * @property {boolean|null} [isScheduled] CareSessionCompleted isScheduled
39842
40033
  * @property {number|Long|null} [startTimestamp] CareSessionCompleted startTimestamp
39843
40034
  * @property {string|null} [startTimestampIso] CareSessionCompleted startTimestampIso
39844
40035
  * @property {number|Long|null} [engagementTimestamp] CareSessionCompleted engagementTimestamp
39845
40036
  * @property {string|null} [engagementTimestampIso] CareSessionCompleted engagementTimestampIso
39846
40037
  * @property {number|Long|null} [endTimestamp] CareSessionCompleted endTimestamp
39847
40038
  * @property {string|null} [endTimestampIso] CareSessionCompleted endTimestampIso
39848
- * @property {string|null} [endedGingerUserId] CareSessionCompleted endedGingerUserId
39849
40039
  */
39850
40040
 
39851
40041
  /**
@@ -39880,12 +40070,12 @@ $root.CareSessionCompleted = (function() {
39880
40070
  CareSessionCompleted.prototype.hsUserId = "";
39881
40071
 
39882
40072
  /**
39883
- * CareSessionCompleted listenerId.
39884
- * @member {number|Long} listenerId
40073
+ * CareSessionCompleted providerId.
40074
+ * @member {number|Long} providerId
39885
40075
  * @memberof CareSessionCompleted
39886
40076
  * @instance
39887
40077
  */
39888
- CareSessionCompleted.prototype.listenerId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
40078
+ CareSessionCompleted.prototype.providerId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
39889
40079
 
39890
40080
  /**
39891
40081
  * CareSessionCompleted sessionId.
@@ -39903,30 +40093,6 @@ $root.CareSessionCompleted = (function() {
39903
40093
  */
39904
40094
  CareSessionCompleted.prototype.careService = 0;
39905
40095
 
39906
- /**
39907
- * CareSessionCompleted sessionType.
39908
- * @member {SessionType} sessionType
39909
- * @memberof CareSessionCompleted
39910
- * @instance
39911
- */
39912
- CareSessionCompleted.prototype.sessionType = 0;
39913
-
39914
- /**
39915
- * CareSessionCompleted sessionFormat.
39916
- * @member {SessionFormat} sessionFormat
39917
- * @memberof CareSessionCompleted
39918
- * @instance
39919
- */
39920
- CareSessionCompleted.prototype.sessionFormat = 0;
39921
-
39922
- /**
39923
- * CareSessionCompleted isScheduled.
39924
- * @member {boolean} isScheduled
39925
- * @memberof CareSessionCompleted
39926
- * @instance
39927
- */
39928
- CareSessionCompleted.prototype.isScheduled = false;
39929
-
39930
40096
  /**
39931
40097
  * CareSessionCompleted startTimestamp.
39932
40098
  * @member {number|Long} startTimestamp
@@ -39975,14 +40141,6 @@ $root.CareSessionCompleted = (function() {
39975
40141
  */
39976
40142
  CareSessionCompleted.prototype.endTimestampIso = "";
39977
40143
 
39978
- /**
39979
- * CareSessionCompleted endedGingerUserId.
39980
- * @member {string} endedGingerUserId
39981
- * @memberof CareSessionCompleted
39982
- * @instance
39983
- */
39984
- CareSessionCompleted.prototype.endedGingerUserId = "";
39985
-
39986
40144
  /**
39987
40145
  * Creates a new CareSessionCompleted instance using the specified properties.
39988
40146
  * @function create
@@ -40011,32 +40169,24 @@ $root.CareSessionCompleted = (function() {
40011
40169
  $root.EventDetail.encode(message.eventDetail, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
40012
40170
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
40013
40171
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsUserId);
40014
- if (message.listenerId != null && message.hasOwnProperty("listenerId"))
40015
- writer.uint32(/* id 3, wireType 0 =*/24).int64(message.listenerId);
40172
+ if (message.providerId != null && message.hasOwnProperty("providerId"))
40173
+ writer.uint32(/* id 3, wireType 0 =*/24).int64(message.providerId);
40016
40174
  if (message.sessionId != null && message.hasOwnProperty("sessionId"))
40017
40175
  writer.uint32(/* id 4, wireType 0 =*/32).int64(message.sessionId);
40018
40176
  if (message.careService != null && message.hasOwnProperty("careService"))
40019
40177
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.careService);
40020
- if (message.sessionType != null && message.hasOwnProperty("sessionType"))
40021
- writer.uint32(/* id 6, wireType 0 =*/48).int32(message.sessionType);
40022
- if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
40023
- writer.uint32(/* id 7, wireType 0 =*/56).int32(message.sessionFormat);
40024
- if (message.isScheduled != null && message.hasOwnProperty("isScheduled"))
40025
- writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isScheduled);
40026
40178
  if (message.startTimestamp != null && message.hasOwnProperty("startTimestamp"))
40027
- writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.startTimestamp);
40179
+ writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.startTimestamp);
40028
40180
  if (message.startTimestampIso != null && message.hasOwnProperty("startTimestampIso"))
40029
- writer.uint32(/* id 10, wireType 2 =*/82).string(message.startTimestampIso);
40181
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.startTimestampIso);
40030
40182
  if (message.engagementTimestamp != null && message.hasOwnProperty("engagementTimestamp"))
40031
- writer.uint32(/* id 11, wireType 0 =*/88).uint64(message.engagementTimestamp);
40183
+ writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.engagementTimestamp);
40032
40184
  if (message.engagementTimestampIso != null && message.hasOwnProperty("engagementTimestampIso"))
40033
- writer.uint32(/* id 12, wireType 2 =*/98).string(message.engagementTimestampIso);
40185
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.engagementTimestampIso);
40034
40186
  if (message.endTimestamp != null && message.hasOwnProperty("endTimestamp"))
40035
- writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.endTimestamp);
40187
+ writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.endTimestamp);
40036
40188
  if (message.endTimestampIso != null && message.hasOwnProperty("endTimestampIso"))
40037
- writer.uint32(/* id 14, wireType 2 =*/114).string(message.endTimestampIso);
40038
- if (message.endedGingerUserId != null && message.hasOwnProperty("endedGingerUserId"))
40039
- writer.uint32(/* id 15, wireType 2 =*/122).string(message.endedGingerUserId);
40189
+ writer.uint32(/* id 11, wireType 2 =*/90).string(message.endTimestampIso);
40040
40190
  return writer;
40041
40191
  };
40042
40192
 
@@ -40078,7 +40228,7 @@ $root.CareSessionCompleted = (function() {
40078
40228
  message.hsUserId = reader.string();
40079
40229
  break;
40080
40230
  case 3:
40081
- message.listenerId = reader.int64();
40231
+ message.providerId = reader.int64();
40082
40232
  break;
40083
40233
  case 4:
40084
40234
  message.sessionId = reader.int64();
@@ -40087,35 +40237,23 @@ $root.CareSessionCompleted = (function() {
40087
40237
  message.careService = reader.int32();
40088
40238
  break;
40089
40239
  case 6:
40090
- message.sessionType = reader.int32();
40091
- break;
40092
- case 7:
40093
- message.sessionFormat = reader.int32();
40094
- break;
40095
- case 8:
40096
- message.isScheduled = reader.bool();
40097
- break;
40098
- case 9:
40099
40240
  message.startTimestamp = reader.uint64();
40100
40241
  break;
40101
- case 10:
40242
+ case 7:
40102
40243
  message.startTimestampIso = reader.string();
40103
40244
  break;
40104
- case 11:
40245
+ case 8:
40105
40246
  message.engagementTimestamp = reader.uint64();
40106
40247
  break;
40107
- case 12:
40248
+ case 9:
40108
40249
  message.engagementTimestampIso = reader.string();
40109
40250
  break;
40110
- case 13:
40251
+ case 10:
40111
40252
  message.endTimestamp = reader.uint64();
40112
40253
  break;
40113
- case 14:
40254
+ case 11:
40114
40255
  message.endTimestampIso = reader.string();
40115
40256
  break;
40116
- case 15:
40117
- message.endedGingerUserId = reader.string();
40118
- break;
40119
40257
  default:
40120
40258
  reader.skipType(tag & 7);
40121
40259
  break;
@@ -40159,9 +40297,9 @@ $root.CareSessionCompleted = (function() {
40159
40297
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
40160
40298
  if (!$util.isString(message.hsUserId))
40161
40299
  return "hsUserId: string expected";
40162
- if (message.listenerId != null && message.hasOwnProperty("listenerId"))
40163
- if (!$util.isInteger(message.listenerId) && !(message.listenerId && $util.isInteger(message.listenerId.low) && $util.isInteger(message.listenerId.high)))
40164
- return "listenerId: integer|Long expected";
40300
+ if (message.providerId != null && message.hasOwnProperty("providerId"))
40301
+ if (!$util.isInteger(message.providerId) && !(message.providerId && $util.isInteger(message.providerId.low) && $util.isInteger(message.providerId.high)))
40302
+ return "providerId: integer|Long expected";
40165
40303
  if (message.sessionId != null && message.hasOwnProperty("sessionId"))
40166
40304
  if (!$util.isInteger(message.sessionId) && !(message.sessionId && $util.isInteger(message.sessionId.low) && $util.isInteger(message.sessionId.high)))
40167
40305
  return "sessionId: integer|Long expected";
@@ -40175,29 +40313,6 @@ $root.CareSessionCompleted = (function() {
40175
40313
  case 3:
40176
40314
  break;
40177
40315
  }
40178
- if (message.sessionType != null && message.hasOwnProperty("sessionType"))
40179
- switch (message.sessionType) {
40180
- default:
40181
- return "sessionType: enum value expected";
40182
- case 0:
40183
- case 1:
40184
- case 2:
40185
- case 3:
40186
- case 4:
40187
- break;
40188
- }
40189
- if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
40190
- switch (message.sessionFormat) {
40191
- default:
40192
- return "sessionFormat: enum value expected";
40193
- case 0:
40194
- case 1:
40195
- case 2:
40196
- break;
40197
- }
40198
- if (message.isScheduled != null && message.hasOwnProperty("isScheduled"))
40199
- if (typeof message.isScheduled !== "boolean")
40200
- return "isScheduled: boolean expected";
40201
40316
  if (message.startTimestamp != null && message.hasOwnProperty("startTimestamp"))
40202
40317
  if (!$util.isInteger(message.startTimestamp) && !(message.startTimestamp && $util.isInteger(message.startTimestamp.low) && $util.isInteger(message.startTimestamp.high)))
40203
40318
  return "startTimestamp: integer|Long expected";
@@ -40216,9 +40331,6 @@ $root.CareSessionCompleted = (function() {
40216
40331
  if (message.endTimestampIso != null && message.hasOwnProperty("endTimestampIso"))
40217
40332
  if (!$util.isString(message.endTimestampIso))
40218
40333
  return "endTimestampIso: string expected";
40219
- if (message.endedGingerUserId != null && message.hasOwnProperty("endedGingerUserId"))
40220
- if (!$util.isString(message.endedGingerUserId))
40221
- return "endedGingerUserId: string expected";
40222
40334
  return null;
40223
40335
  };
40224
40336
 
@@ -40241,15 +40353,15 @@ $root.CareSessionCompleted = (function() {
40241
40353
  }
40242
40354
  if (object.hsUserId != null)
40243
40355
  message.hsUserId = String(object.hsUserId);
40244
- if (object.listenerId != null)
40245
- if ($util.Long)
40246
- (message.listenerId = $util.Long.fromValue(object.listenerId)).unsigned = false;
40247
- else if (typeof object.listenerId === "string")
40248
- message.listenerId = parseInt(object.listenerId, 10);
40249
- else if (typeof object.listenerId === "number")
40250
- message.listenerId = object.listenerId;
40251
- else if (typeof object.listenerId === "object")
40252
- message.listenerId = new $util.LongBits(object.listenerId.low >>> 0, object.listenerId.high >>> 0).toNumber();
40356
+ if (object.providerId != null)
40357
+ if ($util.Long)
40358
+ (message.providerId = $util.Long.fromValue(object.providerId)).unsigned = false;
40359
+ else if (typeof object.providerId === "string")
40360
+ message.providerId = parseInt(object.providerId, 10);
40361
+ else if (typeof object.providerId === "number")
40362
+ message.providerId = object.providerId;
40363
+ else if (typeof object.providerId === "object")
40364
+ message.providerId = new $util.LongBits(object.providerId.low >>> 0, object.providerId.high >>> 0).toNumber();
40253
40365
  if (object.sessionId != null)
40254
40366
  if ($util.Long)
40255
40367
  (message.sessionId = $util.Long.fromValue(object.sessionId)).unsigned = false;
@@ -40277,44 +40389,6 @@ $root.CareSessionCompleted = (function() {
40277
40389
  message.careService = 3;
40278
40390
  break;
40279
40391
  }
40280
- switch (object.sessionType) {
40281
- case "SESSION_TYPE_UNKNOWN":
40282
- case 0:
40283
- message.sessionType = 0;
40284
- break;
40285
- case "SESSION_TYPE_INTAKE":
40286
- case 1:
40287
- message.sessionType = 1;
40288
- break;
40289
- case "SESSION_TYPE_FOLLOW_UP":
40290
- case 2:
40291
- message.sessionType = 2;
40292
- break;
40293
- case "SESSION_TYPE_SI":
40294
- case 3:
40295
- message.sessionType = 3;
40296
- break;
40297
- case "SESSION_TYPE_DROP_IN":
40298
- case 4:
40299
- message.sessionType = 4;
40300
- break;
40301
- }
40302
- switch (object.sessionFormat) {
40303
- case "SESSION_FORMAT_UNKNOWN":
40304
- case 0:
40305
- message.sessionFormat = 0;
40306
- break;
40307
- case "SESSION_FORMAT_CHAT":
40308
- case 1:
40309
- message.sessionFormat = 1;
40310
- break;
40311
- case "SESSION_FORMAT_VIDEO":
40312
- case 2:
40313
- message.sessionFormat = 2;
40314
- break;
40315
- }
40316
- if (object.isScheduled != null)
40317
- message.isScheduled = Boolean(object.isScheduled);
40318
40392
  if (object.startTimestamp != null)
40319
40393
  if ($util.Long)
40320
40394
  (message.startTimestamp = $util.Long.fromValue(object.startTimestamp)).unsigned = true;
@@ -40348,8 +40422,6 @@ $root.CareSessionCompleted = (function() {
40348
40422
  message.endTimestamp = new $util.LongBits(object.endTimestamp.low >>> 0, object.endTimestamp.high >>> 0).toNumber(true);
40349
40423
  if (object.endTimestampIso != null)
40350
40424
  message.endTimestampIso = String(object.endTimestampIso);
40351
- if (object.endedGingerUserId != null)
40352
- message.endedGingerUserId = String(object.endedGingerUserId);
40353
40425
  return message;
40354
40426
  };
40355
40427
 
@@ -40371,18 +40443,15 @@ $root.CareSessionCompleted = (function() {
40371
40443
  object.hsUserId = "";
40372
40444
  if ($util.Long) {
40373
40445
  var long = new $util.Long(0, 0, false);
40374
- object.listenerId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
40446
+ object.providerId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
40375
40447
  } else
40376
- object.listenerId = options.longs === String ? "0" : 0;
40448
+ object.providerId = options.longs === String ? "0" : 0;
40377
40449
  if ($util.Long) {
40378
40450
  var long = new $util.Long(0, 0, false);
40379
40451
  object.sessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
40380
40452
  } else
40381
40453
  object.sessionId = options.longs === String ? "0" : 0;
40382
40454
  object.careService = options.enums === String ? "CARE_SERVICE_UNKNOWN" : 0;
40383
- object.sessionType = options.enums === String ? "SESSION_TYPE_UNKNOWN" : 0;
40384
- object.sessionFormat = options.enums === String ? "SESSION_FORMAT_UNKNOWN" : 0;
40385
- object.isScheduled = false;
40386
40455
  if ($util.Long) {
40387
40456
  var long = new $util.Long(0, 0, true);
40388
40457
  object.startTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -40401,17 +40470,16 @@ $root.CareSessionCompleted = (function() {
40401
40470
  } else
40402
40471
  object.endTimestamp = options.longs === String ? "0" : 0;
40403
40472
  object.endTimestampIso = "";
40404
- object.endedGingerUserId = "";
40405
40473
  }
40406
40474
  if (message.eventDetail != null && message.hasOwnProperty("eventDetail"))
40407
40475
  object.eventDetail = $root.EventDetail.toObject(message.eventDetail, options);
40408
40476
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
40409
40477
  object.hsUserId = message.hsUserId;
40410
- if (message.listenerId != null && message.hasOwnProperty("listenerId"))
40411
- if (typeof message.listenerId === "number")
40412
- object.listenerId = options.longs === String ? String(message.listenerId) : message.listenerId;
40478
+ if (message.providerId != null && message.hasOwnProperty("providerId"))
40479
+ if (typeof message.providerId === "number")
40480
+ object.providerId = options.longs === String ? String(message.providerId) : message.providerId;
40413
40481
  else
40414
- object.listenerId = options.longs === String ? $util.Long.prototype.toString.call(message.listenerId) : options.longs === Number ? new $util.LongBits(message.listenerId.low >>> 0, message.listenerId.high >>> 0).toNumber() : message.listenerId;
40482
+ 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;
40415
40483
  if (message.sessionId != null && message.hasOwnProperty("sessionId"))
40416
40484
  if (typeof message.sessionId === "number")
40417
40485
  object.sessionId = options.longs === String ? String(message.sessionId) : message.sessionId;
@@ -40419,12 +40487,6 @@ $root.CareSessionCompleted = (function() {
40419
40487
  object.sessionId = options.longs === String ? $util.Long.prototype.toString.call(message.sessionId) : options.longs === Number ? new $util.LongBits(message.sessionId.low >>> 0, message.sessionId.high >>> 0).toNumber() : message.sessionId;
40420
40488
  if (message.careService != null && message.hasOwnProperty("careService"))
40421
40489
  object.careService = options.enums === String ? $root.CareService[message.careService] : message.careService;
40422
- if (message.sessionType != null && message.hasOwnProperty("sessionType"))
40423
- object.sessionType = options.enums === String ? $root.SessionType[message.sessionType] : message.sessionType;
40424
- if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
40425
- object.sessionFormat = options.enums === String ? $root.SessionFormat[message.sessionFormat] : message.sessionFormat;
40426
- if (message.isScheduled != null && message.hasOwnProperty("isScheduled"))
40427
- object.isScheduled = message.isScheduled;
40428
40490
  if (message.startTimestamp != null && message.hasOwnProperty("startTimestamp"))
40429
40491
  if (typeof message.startTimestamp === "number")
40430
40492
  object.startTimestamp = options.longs === String ? String(message.startTimestamp) : message.startTimestamp;
@@ -40446,8 +40508,6 @@ $root.CareSessionCompleted = (function() {
40446
40508
  object.endTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.endTimestamp) : options.longs === Number ? new $util.LongBits(message.endTimestamp.low >>> 0, message.endTimestamp.high >>> 0).toNumber(true) : message.endTimestamp;
40447
40509
  if (message.endTimestampIso != null && message.hasOwnProperty("endTimestampIso"))
40448
40510
  object.endTimestampIso = message.endTimestampIso;
40449
- if (message.endedGingerUserId != null && message.hasOwnProperty("endedGingerUserId"))
40450
- object.endedGingerUserId = message.endedGingerUserId;
40451
40511
  return object;
40452
40512
  };
40453
40513
 
@@ -40465,33 +40525,16 @@ $root.CareSessionCompleted = (function() {
40465
40525
  return CareSessionCompleted;
40466
40526
  })();
40467
40527
 
40468
- /**
40469
- * CareAvailabilityType enum.
40470
- * @name CareAvailabilityType
40471
- * @enum {string}
40472
- * @property {number} CARE_AVAILABILITY_TYPE_UNKNOWN=0 CARE_AVAILABILITY_TYPE_UNKNOWN value
40473
- * @property {number} CARE_AVAILABILITY_TYPE_CHAT=1 CARE_AVAILABILITY_TYPE_CHAT value
40474
- * @property {number} CARE_AVAILABILITY_TYPE_VIDEO=2 CARE_AVAILABILITY_TYPE_VIDEO value
40475
- */
40476
- $root.CareAvailabilityType = (function() {
40477
- var valuesById = {}, values = Object.create(valuesById);
40478
- values[valuesById[0] = "CARE_AVAILABILITY_TYPE_UNKNOWN"] = 0;
40479
- values[valuesById[1] = "CARE_AVAILABILITY_TYPE_CHAT"] = 1;
40480
- values[valuesById[2] = "CARE_AVAILABILITY_TYPE_VIDEO"] = 2;
40481
- return values;
40482
- })();
40483
-
40484
40528
  $root.CareAvailabilityOffered = (function() {
40485
40529
 
40486
40530
  /**
40487
40531
  * Properties of a CareAvailabilityOffered.
40488
40532
  * @name ICareAvailabilityOffered
40489
40533
  * @interface ICareAvailabilityOffered
40490
- * @property {number|Long|null} [listenerId] CareAvailabilityOffered listenerId
40534
+ * @property {number|Long|null} [providerId] CareAvailabilityOffered providerId
40491
40535
  * @property {string|null} [careWebUserId] CareAvailabilityOffered careWebUserId
40492
40536
  * @property {string|null} [hsUserId] CareAvailabilityOffered hsUserId
40493
40537
  * @property {CareService|null} [careService] CareAvailabilityOffered careService
40494
- * @property {CareAvailabilityType|null} [availabilityType] CareAvailabilityOffered availabilityType
40495
40538
  * @property {number|Long|null} [searchStart] CareAvailabilityOffered searchStart
40496
40539
  * @property {number|Long|null} [searchEnd] CareAvailabilityOffered searchEnd
40497
40540
  * @property {number|null} [availabilitySlotCount] CareAvailabilityOffered availabilitySlotCount
@@ -40501,6 +40544,7 @@ $root.CareAvailabilityOffered = (function() {
40501
40544
  * @property {number|Long|null} [latestAvailability] CareAvailabilityOffered latestAvailability
40502
40545
  * @property {string|null} [latestAvailabilityIso] CareAvailabilityOffered latestAvailabilityIso
40503
40546
  * @property {number|null} [latestAvailabilityHoursAhead] CareAvailabilityOffered latestAvailabilityHoursAhead
40547
+ * @property {number|null} [earliestAvailabilityBusinessHoursAhead] CareAvailabilityOffered earliestAvailabilityBusinessHoursAhead
40504
40548
  */
40505
40549
 
40506
40550
  /**
@@ -40519,12 +40563,12 @@ $root.CareAvailabilityOffered = (function() {
40519
40563
  }
40520
40564
 
40521
40565
  /**
40522
- * CareAvailabilityOffered listenerId.
40523
- * @member {number|Long} listenerId
40566
+ * CareAvailabilityOffered providerId.
40567
+ * @member {number|Long} providerId
40524
40568
  * @memberof CareAvailabilityOffered
40525
40569
  * @instance
40526
40570
  */
40527
- CareAvailabilityOffered.prototype.listenerId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
40571
+ CareAvailabilityOffered.prototype.providerId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
40528
40572
 
40529
40573
  /**
40530
40574
  * CareAvailabilityOffered careWebUserId.
@@ -40550,14 +40594,6 @@ $root.CareAvailabilityOffered = (function() {
40550
40594
  */
40551
40595
  CareAvailabilityOffered.prototype.careService = 0;
40552
40596
 
40553
- /**
40554
- * CareAvailabilityOffered availabilityType.
40555
- * @member {CareAvailabilityType} availabilityType
40556
- * @memberof CareAvailabilityOffered
40557
- * @instance
40558
- */
40559
- CareAvailabilityOffered.prototype.availabilityType = 0;
40560
-
40561
40597
  /**
40562
40598
  * CareAvailabilityOffered searchStart.
40563
40599
  * @member {number|Long} searchStart
@@ -40630,6 +40666,14 @@ $root.CareAvailabilityOffered = (function() {
40630
40666
  */
40631
40667
  CareAvailabilityOffered.prototype.latestAvailabilityHoursAhead = 0;
40632
40668
 
40669
+ /**
40670
+ * CareAvailabilityOffered earliestAvailabilityBusinessHoursAhead.
40671
+ * @member {number} earliestAvailabilityBusinessHoursAhead
40672
+ * @memberof CareAvailabilityOffered
40673
+ * @instance
40674
+ */
40675
+ CareAvailabilityOffered.prototype.earliestAvailabilityBusinessHoursAhead = 0;
40676
+
40633
40677
  /**
40634
40678
  * Creates a new CareAvailabilityOffered instance using the specified properties.
40635
40679
  * @function create
@@ -40654,34 +40698,34 @@ $root.CareAvailabilityOffered = (function() {
40654
40698
  CareAvailabilityOffered.encode = function encode(message, writer) {
40655
40699
  if (!writer)
40656
40700
  writer = $Writer.create();
40657
- if (message.listenerId != null && message.hasOwnProperty("listenerId"))
40658
- writer.uint32(/* id 1, wireType 0 =*/8).int64(message.listenerId);
40701
+ if (message.providerId != null && message.hasOwnProperty("providerId"))
40702
+ writer.uint32(/* id 1, wireType 0 =*/8).int64(message.providerId);
40659
40703
  if (message.careWebUserId != null && message.hasOwnProperty("careWebUserId"))
40660
40704
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.careWebUserId);
40661
40705
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
40662
40706
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.hsUserId);
40663
40707
  if (message.careService != null && message.hasOwnProperty("careService"))
40664
40708
  writer.uint32(/* id 4, wireType 0 =*/32).int32(message.careService);
40665
- if (message.availabilityType != null && message.hasOwnProperty("availabilityType"))
40666
- writer.uint32(/* id 5, wireType 0 =*/40).int32(message.availabilityType);
40667
40709
  if (message.searchStart != null && message.hasOwnProperty("searchStart"))
40668
- writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.searchStart);
40710
+ writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.searchStart);
40669
40711
  if (message.searchEnd != null && message.hasOwnProperty("searchEnd"))
40670
- writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.searchEnd);
40712
+ writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.searchEnd);
40671
40713
  if (message.availabilitySlotCount != null && message.hasOwnProperty("availabilitySlotCount"))
40672
- writer.uint32(/* id 8, wireType 0 =*/64).int32(message.availabilitySlotCount);
40714
+ writer.uint32(/* id 7, wireType 0 =*/56).int32(message.availabilitySlotCount);
40673
40715
  if (message.earliestAvailability != null && message.hasOwnProperty("earliestAvailability"))
40674
- writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.earliestAvailability);
40716
+ writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.earliestAvailability);
40675
40717
  if (message.earliestAvailabilityIso != null && message.hasOwnProperty("earliestAvailabilityIso"))
40676
- writer.uint32(/* id 10, wireType 2 =*/82).string(message.earliestAvailabilityIso);
40718
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.earliestAvailabilityIso);
40677
40719
  if (message.earliestAvailabilityHoursAhead != null && message.hasOwnProperty("earliestAvailabilityHoursAhead"))
40678
- writer.uint32(/* id 11, wireType 5 =*/93).float(message.earliestAvailabilityHoursAhead);
40720
+ writer.uint32(/* id 10, wireType 5 =*/85).float(message.earliestAvailabilityHoursAhead);
40679
40721
  if (message.latestAvailability != null && message.hasOwnProperty("latestAvailability"))
40680
- writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.latestAvailability);
40722
+ writer.uint32(/* id 11, wireType 0 =*/88).uint64(message.latestAvailability);
40681
40723
  if (message.latestAvailabilityIso != null && message.hasOwnProperty("latestAvailabilityIso"))
40682
- writer.uint32(/* id 13, wireType 2 =*/106).string(message.latestAvailabilityIso);
40724
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.latestAvailabilityIso);
40683
40725
  if (message.latestAvailabilityHoursAhead != null && message.hasOwnProperty("latestAvailabilityHoursAhead"))
40684
- writer.uint32(/* id 14, wireType 5 =*/117).float(message.latestAvailabilityHoursAhead);
40726
+ writer.uint32(/* id 13, wireType 5 =*/109).float(message.latestAvailabilityHoursAhead);
40727
+ if (message.earliestAvailabilityBusinessHoursAhead != null && message.hasOwnProperty("earliestAvailabilityBusinessHoursAhead"))
40728
+ writer.uint32(/* id 14, wireType 5 =*/117).float(message.earliestAvailabilityBusinessHoursAhead);
40685
40729
  return writer;
40686
40730
  };
40687
40731
 
@@ -40717,7 +40761,7 @@ $root.CareAvailabilityOffered = (function() {
40717
40761
  var tag = reader.uint32();
40718
40762
  switch (tag >>> 3) {
40719
40763
  case 1:
40720
- message.listenerId = reader.int64();
40764
+ message.providerId = reader.int64();
40721
40765
  break;
40722
40766
  case 2:
40723
40767
  message.careWebUserId = reader.string();
@@ -40729,34 +40773,34 @@ $root.CareAvailabilityOffered = (function() {
40729
40773
  message.careService = reader.int32();
40730
40774
  break;
40731
40775
  case 5:
40732
- message.availabilityType = reader.int32();
40776
+ message.searchStart = reader.uint64();
40733
40777
  break;
40734
40778
  case 6:
40735
- message.searchStart = reader.uint64();
40779
+ message.searchEnd = reader.uint64();
40736
40780
  break;
40737
40781
  case 7:
40738
- message.searchEnd = reader.uint64();
40782
+ message.availabilitySlotCount = reader.int32();
40739
40783
  break;
40740
40784
  case 8:
40741
- message.availabilitySlotCount = reader.int32();
40785
+ message.earliestAvailability = reader.uint64();
40742
40786
  break;
40743
40787
  case 9:
40744
- message.earliestAvailability = reader.uint64();
40788
+ message.earliestAvailabilityIso = reader.string();
40745
40789
  break;
40746
40790
  case 10:
40747
- message.earliestAvailabilityIso = reader.string();
40791
+ message.earliestAvailabilityHoursAhead = reader.float();
40748
40792
  break;
40749
40793
  case 11:
40750
- message.earliestAvailabilityHoursAhead = reader.float();
40794
+ message.latestAvailability = reader.uint64();
40751
40795
  break;
40752
40796
  case 12:
40753
- message.latestAvailability = reader.uint64();
40797
+ message.latestAvailabilityIso = reader.string();
40754
40798
  break;
40755
40799
  case 13:
40756
- message.latestAvailabilityIso = reader.string();
40800
+ message.latestAvailabilityHoursAhead = reader.float();
40757
40801
  break;
40758
40802
  case 14:
40759
- message.latestAvailabilityHoursAhead = reader.float();
40803
+ message.earliestAvailabilityBusinessHoursAhead = reader.float();
40760
40804
  break;
40761
40805
  default:
40762
40806
  reader.skipType(tag & 7);
@@ -40793,9 +40837,9 @@ $root.CareAvailabilityOffered = (function() {
40793
40837
  CareAvailabilityOffered.verify = function verify(message) {
40794
40838
  if (typeof message !== "object" || message === null)
40795
40839
  return "object expected";
40796
- if (message.listenerId != null && message.hasOwnProperty("listenerId"))
40797
- if (!$util.isInteger(message.listenerId) && !(message.listenerId && $util.isInteger(message.listenerId.low) && $util.isInteger(message.listenerId.high)))
40798
- return "listenerId: integer|Long expected";
40840
+ if (message.providerId != null && message.hasOwnProperty("providerId"))
40841
+ if (!$util.isInteger(message.providerId) && !(message.providerId && $util.isInteger(message.providerId.low) && $util.isInteger(message.providerId.high)))
40842
+ return "providerId: integer|Long expected";
40799
40843
  if (message.careWebUserId != null && message.hasOwnProperty("careWebUserId"))
40800
40844
  if (!$util.isString(message.careWebUserId))
40801
40845
  return "careWebUserId: string expected";
@@ -40812,15 +40856,6 @@ $root.CareAvailabilityOffered = (function() {
40812
40856
  case 3:
40813
40857
  break;
40814
40858
  }
40815
- if (message.availabilityType != null && message.hasOwnProperty("availabilityType"))
40816
- switch (message.availabilityType) {
40817
- default:
40818
- return "availabilityType: enum value expected";
40819
- case 0:
40820
- case 1:
40821
- case 2:
40822
- break;
40823
- }
40824
40859
  if (message.searchStart != null && message.hasOwnProperty("searchStart"))
40825
40860
  if (!$util.isInteger(message.searchStart) && !(message.searchStart && $util.isInteger(message.searchStart.low) && $util.isInteger(message.searchStart.high)))
40826
40861
  return "searchStart: integer|Long expected";
@@ -40848,6 +40883,9 @@ $root.CareAvailabilityOffered = (function() {
40848
40883
  if (message.latestAvailabilityHoursAhead != null && message.hasOwnProperty("latestAvailabilityHoursAhead"))
40849
40884
  if (typeof message.latestAvailabilityHoursAhead !== "number")
40850
40885
  return "latestAvailabilityHoursAhead: number expected";
40886
+ if (message.earliestAvailabilityBusinessHoursAhead != null && message.hasOwnProperty("earliestAvailabilityBusinessHoursAhead"))
40887
+ if (typeof message.earliestAvailabilityBusinessHoursAhead !== "number")
40888
+ return "earliestAvailabilityBusinessHoursAhead: number expected";
40851
40889
  return null;
40852
40890
  };
40853
40891
 
@@ -40863,15 +40901,15 @@ $root.CareAvailabilityOffered = (function() {
40863
40901
  if (object instanceof $root.CareAvailabilityOffered)
40864
40902
  return object;
40865
40903
  var message = new $root.CareAvailabilityOffered();
40866
- if (object.listenerId != null)
40867
- if ($util.Long)
40868
- (message.listenerId = $util.Long.fromValue(object.listenerId)).unsigned = false;
40869
- else if (typeof object.listenerId === "string")
40870
- message.listenerId = parseInt(object.listenerId, 10);
40871
- else if (typeof object.listenerId === "number")
40872
- message.listenerId = object.listenerId;
40873
- else if (typeof object.listenerId === "object")
40874
- message.listenerId = new $util.LongBits(object.listenerId.low >>> 0, object.listenerId.high >>> 0).toNumber();
40904
+ if (object.providerId != null)
40905
+ if ($util.Long)
40906
+ (message.providerId = $util.Long.fromValue(object.providerId)).unsigned = false;
40907
+ else if (typeof object.providerId === "string")
40908
+ message.providerId = parseInt(object.providerId, 10);
40909
+ else if (typeof object.providerId === "number")
40910
+ message.providerId = object.providerId;
40911
+ else if (typeof object.providerId === "object")
40912
+ message.providerId = new $util.LongBits(object.providerId.low >>> 0, object.providerId.high >>> 0).toNumber();
40875
40913
  if (object.careWebUserId != null)
40876
40914
  message.careWebUserId = String(object.careWebUserId);
40877
40915
  if (object.hsUserId != null)
@@ -40894,20 +40932,6 @@ $root.CareAvailabilityOffered = (function() {
40894
40932
  message.careService = 3;
40895
40933
  break;
40896
40934
  }
40897
- switch (object.availabilityType) {
40898
- case "CARE_AVAILABILITY_TYPE_UNKNOWN":
40899
- case 0:
40900
- message.availabilityType = 0;
40901
- break;
40902
- case "CARE_AVAILABILITY_TYPE_CHAT":
40903
- case 1:
40904
- message.availabilityType = 1;
40905
- break;
40906
- case "CARE_AVAILABILITY_TYPE_VIDEO":
40907
- case 2:
40908
- message.availabilityType = 2;
40909
- break;
40910
- }
40911
40935
  if (object.searchStart != null)
40912
40936
  if ($util.Long)
40913
40937
  (message.searchStart = $util.Long.fromValue(object.searchStart)).unsigned = true;
@@ -40954,6 +40978,8 @@ $root.CareAvailabilityOffered = (function() {
40954
40978
  message.latestAvailabilityIso = String(object.latestAvailabilityIso);
40955
40979
  if (object.latestAvailabilityHoursAhead != null)
40956
40980
  message.latestAvailabilityHoursAhead = Number(object.latestAvailabilityHoursAhead);
40981
+ if (object.earliestAvailabilityBusinessHoursAhead != null)
40982
+ message.earliestAvailabilityBusinessHoursAhead = Number(object.earliestAvailabilityBusinessHoursAhead);
40957
40983
  return message;
40958
40984
  };
40959
40985
 
@@ -40973,13 +40999,12 @@ $root.CareAvailabilityOffered = (function() {
40973
40999
  if (options.defaults) {
40974
41000
  if ($util.Long) {
40975
41001
  var long = new $util.Long(0, 0, false);
40976
- object.listenerId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
41002
+ object.providerId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
40977
41003
  } else
40978
- object.listenerId = options.longs === String ? "0" : 0;
41004
+ object.providerId = options.longs === String ? "0" : 0;
40979
41005
  object.careWebUserId = "";
40980
41006
  object.hsUserId = "";
40981
41007
  object.careService = options.enums === String ? "CARE_SERVICE_UNKNOWN" : 0;
40982
- object.availabilityType = options.enums === String ? "CARE_AVAILABILITY_TYPE_UNKNOWN" : 0;
40983
41008
  if ($util.Long) {
40984
41009
  var long = new $util.Long(0, 0, true);
40985
41010
  object.searchStart = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -41005,20 +41030,19 @@ $root.CareAvailabilityOffered = (function() {
41005
41030
  object.latestAvailability = options.longs === String ? "0" : 0;
41006
41031
  object.latestAvailabilityIso = "";
41007
41032
  object.latestAvailabilityHoursAhead = 0;
41033
+ object.earliestAvailabilityBusinessHoursAhead = 0;
41008
41034
  }
41009
- if (message.listenerId != null && message.hasOwnProperty("listenerId"))
41010
- if (typeof message.listenerId === "number")
41011
- object.listenerId = options.longs === String ? String(message.listenerId) : message.listenerId;
41035
+ if (message.providerId != null && message.hasOwnProperty("providerId"))
41036
+ if (typeof message.providerId === "number")
41037
+ object.providerId = options.longs === String ? String(message.providerId) : message.providerId;
41012
41038
  else
41013
- object.listenerId = options.longs === String ? $util.Long.prototype.toString.call(message.listenerId) : options.longs === Number ? new $util.LongBits(message.listenerId.low >>> 0, message.listenerId.high >>> 0).toNumber() : message.listenerId;
41039
+ 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;
41014
41040
  if (message.careWebUserId != null && message.hasOwnProperty("careWebUserId"))
41015
41041
  object.careWebUserId = message.careWebUserId;
41016
41042
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
41017
41043
  object.hsUserId = message.hsUserId;
41018
41044
  if (message.careService != null && message.hasOwnProperty("careService"))
41019
41045
  object.careService = options.enums === String ? $root.CareService[message.careService] : message.careService;
41020
- if (message.availabilityType != null && message.hasOwnProperty("availabilityType"))
41021
- object.availabilityType = options.enums === String ? $root.CareAvailabilityType[message.availabilityType] : message.availabilityType;
41022
41046
  if (message.searchStart != null && message.hasOwnProperty("searchStart"))
41023
41047
  if (typeof message.searchStart === "number")
41024
41048
  object.searchStart = options.longs === String ? String(message.searchStart) : message.searchStart;
@@ -41049,6 +41073,8 @@ $root.CareAvailabilityOffered = (function() {
41049
41073
  object.latestAvailabilityIso = message.latestAvailabilityIso;
41050
41074
  if (message.latestAvailabilityHoursAhead != null && message.hasOwnProperty("latestAvailabilityHoursAhead"))
41051
41075
  object.latestAvailabilityHoursAhead = options.json && !isFinite(message.latestAvailabilityHoursAhead) ? String(message.latestAvailabilityHoursAhead) : message.latestAvailabilityHoursAhead;
41076
+ if (message.earliestAvailabilityBusinessHoursAhead != null && message.hasOwnProperty("earliestAvailabilityBusinessHoursAhead"))
41077
+ object.earliestAvailabilityBusinessHoursAhead = options.json && !isFinite(message.earliestAvailabilityBusinessHoursAhead) ? String(message.earliestAvailabilityBusinessHoursAhead) : message.earliestAvailabilityBusinessHoursAhead;
41052
41078
  return object;
41053
41079
  };
41054
41080
 
@@ -44863,6 +44889,7 @@ $root.CoachAvailabilityOffered = (function() {
44863
44889
  * @property {number|Long|null} [latestAvailability] CoachAvailabilityOffered latestAvailability
44864
44890
  * @property {number|null} [earliestAvailabilityHoursAhead] CoachAvailabilityOffered earliestAvailabilityHoursAhead
44865
44891
  * @property {number|null} [latestAvailabilityHoursAhead] CoachAvailabilityOffered latestAvailabilityHoursAhead
44892
+ * @property {number|null} [earliestAvailabilityBusinessHoursAhead] CoachAvailabilityOffered earliestAvailabilityBusinessHoursAhead
44866
44893
  */
44867
44894
 
44868
44895
  /**
@@ -44968,6 +44995,14 @@ $root.CoachAvailabilityOffered = (function() {
44968
44995
  */
44969
44996
  CoachAvailabilityOffered.prototype.latestAvailabilityHoursAhead = 0;
44970
44997
 
44998
+ /**
44999
+ * CoachAvailabilityOffered earliestAvailabilityBusinessHoursAhead.
45000
+ * @member {number} earliestAvailabilityBusinessHoursAhead
45001
+ * @memberof CoachAvailabilityOffered
45002
+ * @instance
45003
+ */
45004
+ CoachAvailabilityOffered.prototype.earliestAvailabilityBusinessHoursAhead = 0;
45005
+
44971
45006
  /**
44972
45007
  * Creates a new CoachAvailabilityOffered instance using the specified properties.
44973
45008
  * @function create
@@ -45014,6 +45049,8 @@ $root.CoachAvailabilityOffered = (function() {
45014
45049
  writer.uint32(/* id 10, wireType 5 =*/85).float(message.earliestAvailabilityHoursAhead);
45015
45050
  if (message.latestAvailabilityHoursAhead != null && message.hasOwnProperty("latestAvailabilityHoursAhead"))
45016
45051
  writer.uint32(/* id 11, wireType 5 =*/93).float(message.latestAvailabilityHoursAhead);
45052
+ if (message.earliestAvailabilityBusinessHoursAhead != null && message.hasOwnProperty("earliestAvailabilityBusinessHoursAhead"))
45053
+ writer.uint32(/* id 12, wireType 5 =*/101).float(message.earliestAvailabilityBusinessHoursAhead);
45017
45054
  return writer;
45018
45055
  };
45019
45056
 
@@ -45081,6 +45118,9 @@ $root.CoachAvailabilityOffered = (function() {
45081
45118
  case 11:
45082
45119
  message.latestAvailabilityHoursAhead = reader.float();
45083
45120
  break;
45121
+ case 12:
45122
+ message.earliestAvailabilityBusinessHoursAhead = reader.float();
45123
+ break;
45084
45124
  default:
45085
45125
  reader.skipType(tag & 7);
45086
45126
  break;
@@ -45155,6 +45195,9 @@ $root.CoachAvailabilityOffered = (function() {
45155
45195
  if (message.latestAvailabilityHoursAhead != null && message.hasOwnProperty("latestAvailabilityHoursAhead"))
45156
45196
  if (typeof message.latestAvailabilityHoursAhead !== "number")
45157
45197
  return "latestAvailabilityHoursAhead: number expected";
45198
+ if (message.earliestAvailabilityBusinessHoursAhead != null && message.hasOwnProperty("earliestAvailabilityBusinessHoursAhead"))
45199
+ if (typeof message.earliestAvailabilityBusinessHoursAhead !== "number")
45200
+ return "earliestAvailabilityBusinessHoursAhead: number expected";
45158
45201
  return null;
45159
45202
  };
45160
45203
 
@@ -45239,6 +45282,8 @@ $root.CoachAvailabilityOffered = (function() {
45239
45282
  message.earliestAvailabilityHoursAhead = Number(object.earliestAvailabilityHoursAhead);
45240
45283
  if (object.latestAvailabilityHoursAhead != null)
45241
45284
  message.latestAvailabilityHoursAhead = Number(object.latestAvailabilityHoursAhead);
45285
+ if (object.earliestAvailabilityBusinessHoursAhead != null)
45286
+ message.earliestAvailabilityBusinessHoursAhead = Number(object.earliestAvailabilityBusinessHoursAhead);
45242
45287
  return message;
45243
45288
  };
45244
45289
 
@@ -45287,6 +45332,7 @@ $root.CoachAvailabilityOffered = (function() {
45287
45332
  object.latestAvailability = options.longs === String ? "0" : 0;
45288
45333
  object.earliestAvailabilityHoursAhead = 0;
45289
45334
  object.latestAvailabilityHoursAhead = 0;
45335
+ object.earliestAvailabilityBusinessHoursAhead = 0;
45290
45336
  }
45291
45337
  if (message.listenerId != null && message.hasOwnProperty("listenerId"))
45292
45338
  if (typeof message.listenerId === "number")
@@ -45325,6 +45371,8 @@ $root.CoachAvailabilityOffered = (function() {
45325
45371
  object.earliestAvailabilityHoursAhead = options.json && !isFinite(message.earliestAvailabilityHoursAhead) ? String(message.earliestAvailabilityHoursAhead) : message.earliestAvailabilityHoursAhead;
45326
45372
  if (message.latestAvailabilityHoursAhead != null && message.hasOwnProperty("latestAvailabilityHoursAhead"))
45327
45373
  object.latestAvailabilityHoursAhead = options.json && !isFinite(message.latestAvailabilityHoursAhead) ? String(message.latestAvailabilityHoursAhead) : message.latestAvailabilityHoursAhead;
45374
+ if (message.earliestAvailabilityBusinessHoursAhead != null && message.hasOwnProperty("earliestAvailabilityBusinessHoursAhead"))
45375
+ object.earliestAvailabilityBusinessHoursAhead = options.json && !isFinite(message.earliestAvailabilityBusinessHoursAhead) ? String(message.earliestAvailabilityBusinessHoursAhead) : message.earliestAvailabilityBusinessHoursAhead;
45328
45376
  return object;
45329
45377
  };
45330
45378
 
@@ -181830,6 +181878,7 @@ $root.clinical = (function() {
181830
181878
  * @property {number|Long|null} [updatedAt] ClinicalAvailabilityOffers updatedAt
181831
181879
  * @property {boolean|null} [isInNetwork] ClinicalAvailabilityOffers isInNetwork
181832
181880
  * @property {clinical.ClinicalAvailabilityCapabilityColor|null} [capabilityColor] ClinicalAvailabilityOffers capabilityColor
181881
+ * @property {boolean|null} [isSingleProviderSearch] ClinicalAvailabilityOffers isSingleProviderSearch
181833
181882
  */
181834
181883
 
181835
181884
  /**
@@ -181992,6 +182041,14 @@ $root.clinical = (function() {
181992
182041
  */
181993
182042
  ClinicalAvailabilityOffers.prototype.capabilityColor = 0;
181994
182043
 
182044
+ /**
182045
+ * ClinicalAvailabilityOffers isSingleProviderSearch.
182046
+ * @member {boolean} isSingleProviderSearch
182047
+ * @memberof clinical.ClinicalAvailabilityOffers
182048
+ * @instance
182049
+ */
182050
+ ClinicalAvailabilityOffers.prototype.isSingleProviderSearch = false;
182051
+
181995
182052
  /**
181996
182053
  * Creates a new ClinicalAvailabilityOffers instance using the specified properties.
181997
182054
  * @function create
@@ -182053,6 +182110,8 @@ $root.clinical = (function() {
182053
182110
  writer.uint32(/* id 17, wireType 0 =*/136).bool(message.isInNetwork);
182054
182111
  if (message.capabilityColor != null && message.hasOwnProperty("capabilityColor"))
182055
182112
  writer.uint32(/* id 18, wireType 0 =*/144).int32(message.capabilityColor);
182113
+ if (message.isSingleProviderSearch != null && message.hasOwnProperty("isSingleProviderSearch"))
182114
+ writer.uint32(/* id 19, wireType 0 =*/152).bool(message.isSingleProviderSearch);
182056
182115
  return writer;
182057
182116
  };
182058
182117
 
@@ -182143,6 +182202,9 @@ $root.clinical = (function() {
182143
182202
  case 18:
182144
182203
  message.capabilityColor = reader.int32();
182145
182204
  break;
182205
+ case 19:
182206
+ message.isSingleProviderSearch = reader.bool();
182207
+ break;
182146
182208
  default:
182147
182209
  reader.skipType(tag & 7);
182148
182210
  break;
@@ -182271,6 +182333,9 @@ $root.clinical = (function() {
182271
182333
  case 3:
182272
182334
  break;
182273
182335
  }
182336
+ if (message.isSingleProviderSearch != null && message.hasOwnProperty("isSingleProviderSearch"))
182337
+ if (typeof message.isSingleProviderSearch !== "boolean")
182338
+ return "isSingleProviderSearch: boolean expected";
182274
182339
  return null;
182275
182340
  };
182276
182341
 
@@ -182447,6 +182512,8 @@ $root.clinical = (function() {
182447
182512
  message.capabilityColor = 3;
182448
182513
  break;
182449
182514
  }
182515
+ if (object.isSingleProviderSearch != null)
182516
+ message.isSingleProviderSearch = Boolean(object.isSingleProviderSearch);
182450
182517
  return message;
182451
182518
  };
182452
182519
 
@@ -182499,6 +182566,7 @@ $root.clinical = (function() {
182499
182566
  object.updatedAt = options.longs === String ? "0" : 0;
182500
182567
  object.isInNetwork = false;
182501
182568
  object.capabilityColor = options.enums === String ? "CLINICAL_AVAILABILITY_CAPABILITY_COLOR_UNKNOWN" : 0;
182569
+ object.isSingleProviderSearch = false;
182502
182570
  }
182503
182571
  if (message.id != null && message.hasOwnProperty("id"))
182504
182572
  object.id = message.id;
@@ -182551,6 +182619,8 @@ $root.clinical = (function() {
182551
182619
  object.isInNetwork = message.isInNetwork;
182552
182620
  if (message.capabilityColor != null && message.hasOwnProperty("capabilityColor"))
182553
182621
  object.capabilityColor = options.enums === String ? $root.clinical.ClinicalAvailabilityCapabilityColor[message.capabilityColor] : message.capabilityColor;
182622
+ if (message.isSingleProviderSearch != null && message.hasOwnProperty("isSingleProviderSearch"))
182623
+ object.isSingleProviderSearch = message.isSingleProviderSearch;
182554
182624
  return object;
182555
182625
  };
182556
182626
 
@@ -192710,6 +192780,7 @@ $root.clinical = (function() {
192710
192780
  * @property {number|Long|null} [lastUpdatedTime] UnifiedAvailabilityOffered lastUpdatedTime
192711
192781
  * @property {boolean|null} [isNetworkClinician] UnifiedAvailabilityOffered isNetworkClinician
192712
192782
  * @property {clinical.ClinicalPartnerAppointmentLocationType|null} [locationType] UnifiedAvailabilityOffered locationType
192783
+ * @property {boolean|null} [isSingleProviderSearch] UnifiedAvailabilityOffered isSingleProviderSearch
192713
192784
  */
192714
192785
 
192715
192786
  /**
@@ -192904,6 +192975,14 @@ $root.clinical = (function() {
192904
192975
  */
192905
192976
  UnifiedAvailabilityOffered.prototype.locationType = 0;
192906
192977
 
192978
+ /**
192979
+ * UnifiedAvailabilityOffered isSingleProviderSearch.
192980
+ * @member {boolean} isSingleProviderSearch
192981
+ * @memberof clinical.UnifiedAvailabilityOffered
192982
+ * @instance
192983
+ */
192984
+ UnifiedAvailabilityOffered.prototype.isSingleProviderSearch = false;
192985
+
192907
192986
  /**
192908
192987
  * Creates a new UnifiedAvailabilityOffered instance using the specified properties.
192909
192988
  * @function create
@@ -192973,6 +193052,8 @@ $root.clinical = (function() {
192973
193052
  writer.uint32(/* id 21, wireType 0 =*/168).bool(message.isNetworkClinician);
192974
193053
  if (message.locationType != null && message.hasOwnProperty("locationType"))
192975
193054
  writer.uint32(/* id 22, wireType 0 =*/176).int32(message.locationType);
193055
+ if (message.isSingleProviderSearch != null && message.hasOwnProperty("isSingleProviderSearch"))
193056
+ writer.uint32(/* id 23, wireType 0 =*/184).bool(message.isSingleProviderSearch);
192976
193057
  return writer;
192977
193058
  };
192978
193059
 
@@ -193075,6 +193156,9 @@ $root.clinical = (function() {
193075
193156
  case 22:
193076
193157
  message.locationType = reader.int32();
193077
193158
  break;
193159
+ case 23:
193160
+ message.isSingleProviderSearch = reader.bool();
193161
+ break;
193078
193162
  default:
193079
193163
  reader.skipType(tag & 7);
193080
193164
  break;
@@ -193219,6 +193303,9 @@ $root.clinical = (function() {
193219
193303
  case 2:
193220
193304
  break;
193221
193305
  }
193306
+ if (message.isSingleProviderSearch != null && message.hasOwnProperty("isSingleProviderSearch"))
193307
+ if (typeof message.isSingleProviderSearch !== "boolean")
193308
+ return "isSingleProviderSearch: boolean expected";
193222
193309
  return null;
193223
193310
  };
193224
193311
 
@@ -193442,6 +193529,8 @@ $root.clinical = (function() {
193442
193529
  message.locationType = 2;
193443
193530
  break;
193444
193531
  }
193532
+ if (object.isSingleProviderSearch != null)
193533
+ message.isSingleProviderSearch = Boolean(object.isSingleProviderSearch);
193445
193534
  return message;
193446
193535
  };
193447
193536
 
@@ -193518,6 +193607,7 @@ $root.clinical = (function() {
193518
193607
  object.lastUpdatedTime = options.longs === String ? "0" : 0;
193519
193608
  object.isNetworkClinician = false;
193520
193609
  object.locationType = options.enums === String ? "CLINICAL_PARTNER_APPOINTMENT_LOCATION_TYPE_UNKNOWN" : 0;
193610
+ object.isSingleProviderSearch = false;
193521
193611
  }
193522
193612
  if (message.id != null && message.hasOwnProperty("id"))
193523
193613
  if (typeof message.id === "number")
@@ -193593,6 +193683,8 @@ $root.clinical = (function() {
193593
193683
  object.isNetworkClinician = message.isNetworkClinician;
193594
193684
  if (message.locationType != null && message.hasOwnProperty("locationType"))
193595
193685
  object.locationType = options.enums === String ? $root.clinical.ClinicalPartnerAppointmentLocationType[message.locationType] : message.locationType;
193686
+ if (message.isSingleProviderSearch != null && message.hasOwnProperty("isSingleProviderSearch"))
193687
+ object.isSingleProviderSearch = message.isSingleProviderSearch;
193596
193688
  return object;
193597
193689
  };
193598
193690