@headspace/protos-events 1.746.0 → 1.748.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 CHANGED
@@ -58446,7 +58446,7 @@ export namespace clinical {
58446
58446
  webSessionId?: (string|null);
58447
58447
 
58448
58448
  /** ClinicalAvailabilityOffers source */
58449
- source?: (clinical.ClinicalAvailabilitySource|null);
58449
+ source?: (clinical.ClinicalAppointmentSource|null);
58450
58450
 
58451
58451
  /** ClinicalAvailabilityOffers states */
58452
58452
  states?: (string[]|null);
@@ -58510,7 +58510,7 @@ export namespace clinical {
58510
58510
  public webSessionId: string;
58511
58511
 
58512
58512
  /** ClinicalAvailabilityOffers source. */
58513
- public source: clinical.ClinicalAvailabilitySource;
58513
+ public source: clinical.ClinicalAppointmentSource;
58514
58514
 
58515
58515
  /** ClinicalAvailabilityOffers states. */
58516
58516
  public states: string[];
@@ -61061,11 +61061,11 @@ export namespace clinical {
61061
61061
  /** PartnerAppointmentCreated timeUpdated */
61062
61062
  timeUpdated?: (number|Long|null);
61063
61063
 
61064
- /** PartnerAppointmentCreated timeCompleted */
61065
- timeCompleted?: (number|Long|null);
61066
-
61067
61064
  /** PartnerAppointmentCreated timeCancelled */
61068
61065
  timeCancelled?: (number|Long|null);
61066
+
61067
+ /** PartnerAppointmentCreated timeCompleted */
61068
+ timeCompleted?: (number|Long|null);
61069
61069
  }
61070
61070
 
61071
61071
  /** Represents a PartnerAppointmentCreated. */
@@ -61122,12 +61122,12 @@ export namespace clinical {
61122
61122
  /** PartnerAppointmentCreated timeUpdated. */
61123
61123
  public timeUpdated: (number|Long);
61124
61124
 
61125
- /** PartnerAppointmentCreated timeCompleted. */
61126
- public timeCompleted: (number|Long);
61127
-
61128
61125
  /** PartnerAppointmentCreated timeCancelled. */
61129
61126
  public timeCancelled: (number|Long);
61130
61127
 
61128
+ /** PartnerAppointmentCreated timeCompleted. */
61129
+ public timeCompleted: (number|Long);
61130
+
61131
61131
  /**
61132
61132
  * Creates a new PartnerAppointmentCreated instance using the specified properties.
61133
61133
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -166095,7 +166095,7 @@ $root.clinical = (function() {
166095
166095
  * @property {number|Long|null} [offeredAt] ClinicalAvailabilityOffers offeredAt
166096
166096
  * @property {number|Long|null} [serviceTimestamp] ClinicalAvailabilityOffers serviceTimestamp
166097
166097
  * @property {string|null} [webSessionId] ClinicalAvailabilityOffers webSessionId
166098
- * @property {clinical.ClinicalAvailabilitySource|null} [source] ClinicalAvailabilityOffers source
166098
+ * @property {clinical.ClinicalAppointmentSource|null} [source] ClinicalAvailabilityOffers source
166099
166099
  * @property {Array.<string>|null} [states] ClinicalAvailabilityOffers states
166100
166100
  * @property {number|Long|null} [updatedAt] ClinicalAvailabilityOffers updatedAt
166101
166101
  * @property {boolean|null} [isInNetwork] ClinicalAvailabilityOffers isInNetwork
@@ -166224,7 +166224,7 @@ $root.clinical = (function() {
166224
166224
 
166225
166225
  /**
166226
166226
  * ClinicalAvailabilityOffers source.
166227
- * @member {clinical.ClinicalAvailabilitySource} source
166227
+ * @member {clinical.ClinicalAppointmentSource} source
166228
166228
  * @memberof clinical.ClinicalAvailabilityOffers
166229
166229
  * @instance
166230
166230
  */
@@ -166510,6 +166510,12 @@ $root.clinical = (function() {
166510
166510
  case 2:
166511
166511
  case 3:
166512
166512
  case 4:
166513
+ case 5:
166514
+ case 6:
166515
+ case 7:
166516
+ case 8:
166517
+ case 9:
166518
+ case 10:
166513
166519
  break;
166514
166520
  }
166515
166521
  if (message.states != null && message.hasOwnProperty("states")) {
@@ -166630,26 +166636,50 @@ $root.clinical = (function() {
166630
166636
  if (object.webSessionId != null)
166631
166637
  message.webSessionId = String(object.webSessionId);
166632
166638
  switch (object.source) {
166633
- case "CLINICAL_AVAILABILITY_SOURCE_UNKNOWN":
166639
+ case "CLINICAL_APPOINTMENT_SOURCE_UNKNOWN":
166634
166640
  case 0:
166635
166641
  message.source = 0;
166636
166642
  break;
166637
- case "CLINICAL_AVAILABILITY_SOURCE_ADMIN":
166643
+ case "CLINICAL_APPOINTMENT_SOURCE_ADMIN_QA":
166638
166644
  case 1:
166639
166645
  message.source = 1;
166640
166646
  break;
166641
- case "CLINICAL_AVAILABILITY_SOURCE_CLINHUB":
166647
+ case "CLINICAL_APPOINTMENT_SOURCE_STAFF_DASHBOARD":
166642
166648
  case 2:
166643
166649
  message.source = 2;
166644
166650
  break;
166645
- case "CLINICAL_AVAILABILITY_SOURCE_GOOGLE_CALENDAR":
166651
+ case "CLINICAL_APPOINTMENT_SOURCE_CAS":
166646
166652
  case 3:
166647
166653
  message.source = 3;
166648
166654
  break;
166649
- case "CLINICAL_AVAILABILITY_SOURCE_CAS":
166655
+ case "CLINICAL_APPOINTMENT_SOURCE_CAS2":
166650
166656
  case 4:
166651
166657
  message.source = 4;
166652
166658
  break;
166659
+ case "CLINICAL_APPOINTMENT_SOURCE_CLINICAL_HUB":
166660
+ case 5:
166661
+ message.source = 5;
166662
+ break;
166663
+ case "CLINICAL_APPOINTMENT_SOURCE_DR_CHRONO":
166664
+ case 6:
166665
+ message.source = 6;
166666
+ break;
166667
+ case "CLINICAL_APPOINTMENT_SOURCE_TENTATIVE_TIMEOUT":
166668
+ case 7:
166669
+ message.source = 7;
166670
+ break;
166671
+ case "CLINICAL_APPOINTMENT_SOURCE_CELERY_TASK":
166672
+ case 8:
166673
+ message.source = 8;
166674
+ break;
166675
+ case "CLINICAL_APPOINTMENT_SOURCE_IN_APP_SCHEDULER":
166676
+ case 9:
166677
+ message.source = 9;
166678
+ break;
166679
+ case "CLINICAL_APPOINTMENT_SOURCE_ACCOUNT_DEACTIVATION":
166680
+ case 10:
166681
+ message.source = 10;
166682
+ break;
166653
166683
  }
166654
166684
  if (object.states) {
166655
166685
  if (!Array.isArray(object.states))
@@ -166731,7 +166761,7 @@ $root.clinical = (function() {
166731
166761
  } else
166732
166762
  object.serviceTimestamp = options.longs === String ? "0" : 0;
166733
166763
  object.webSessionId = "";
166734
- object.source = options.enums === String ? "CLINICAL_AVAILABILITY_SOURCE_UNKNOWN" : 0;
166764
+ object.source = options.enums === String ? "CLINICAL_APPOINTMENT_SOURCE_UNKNOWN" : 0;
166735
166765
  if ($util.Long) {
166736
166766
  var long = new $util.Long(0, 0, true);
166737
166767
  object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -166776,7 +166806,7 @@ $root.clinical = (function() {
166776
166806
  if (message.webSessionId != null && message.hasOwnProperty("webSessionId"))
166777
166807
  object.webSessionId = message.webSessionId;
166778
166808
  if (message.source != null && message.hasOwnProperty("source"))
166779
- object.source = options.enums === String ? $root.clinical.ClinicalAvailabilitySource[message.source] : message.source;
166809
+ object.source = options.enums === String ? $root.clinical.ClinicalAppointmentSource[message.source] : message.source;
166780
166810
  if (message.states && message.states.length) {
166781
166811
  object.states = [];
166782
166812
  for (var j = 0; j < message.states.length; ++j)
@@ -174916,8 +174946,8 @@ $root.clinical = (function() {
174916
174946
  * @property {boolean|null} [covered] PartnerAppointmentCreated covered
174917
174947
  * @property {number|Long|null} [timeCreated] PartnerAppointmentCreated timeCreated
174918
174948
  * @property {number|Long|null} [timeUpdated] PartnerAppointmentCreated timeUpdated
174919
- * @property {number|Long|null} [timeCompleted] PartnerAppointmentCreated timeCompleted
174920
174949
  * @property {number|Long|null} [timeCancelled] PartnerAppointmentCreated timeCancelled
174950
+ * @property {number|Long|null} [timeCompleted] PartnerAppointmentCreated timeCompleted
174921
174951
  */
174922
174952
 
174923
174953
  /**
@@ -175056,20 +175086,20 @@ $root.clinical = (function() {
175056
175086
  PartnerAppointmentCreated.prototype.timeUpdated = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175057
175087
 
175058
175088
  /**
175059
- * PartnerAppointmentCreated timeCompleted.
175060
- * @member {number|Long} timeCompleted
175089
+ * PartnerAppointmentCreated timeCancelled.
175090
+ * @member {number|Long} timeCancelled
175061
175091
  * @memberof clinical.PartnerAppointmentCreated
175062
175092
  * @instance
175063
175093
  */
175064
- PartnerAppointmentCreated.prototype.timeCompleted = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175094
+ PartnerAppointmentCreated.prototype.timeCancelled = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175065
175095
 
175066
175096
  /**
175067
- * PartnerAppointmentCreated timeCancelled.
175068
- * @member {number|Long} timeCancelled
175097
+ * PartnerAppointmentCreated timeCompleted.
175098
+ * @member {number|Long} timeCompleted
175069
175099
  * @memberof clinical.PartnerAppointmentCreated
175070
175100
  * @instance
175071
175101
  */
175072
- PartnerAppointmentCreated.prototype.timeCancelled = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175102
+ PartnerAppointmentCreated.prototype.timeCompleted = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175073
175103
 
175074
175104
  /**
175075
175105
  * Creates a new PartnerAppointmentCreated instance using the specified properties.
@@ -175125,10 +175155,10 @@ $root.clinical = (function() {
175125
175155
  writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.timeCreated);
175126
175156
  if (message.timeUpdated != null && message.hasOwnProperty("timeUpdated"))
175127
175157
  writer.uint32(/* id 15, wireType 0 =*/120).uint64(message.timeUpdated);
175128
- if (message.timeCompleted != null && message.hasOwnProperty("timeCompleted"))
175129
- writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.timeCompleted);
175130
175158
  if (message.timeCancelled != null && message.hasOwnProperty("timeCancelled"))
175131
- writer.uint32(/* id 17, wireType 0 =*/136).uint64(message.timeCancelled);
175159
+ writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.timeCancelled);
175160
+ if (message.timeCompleted != null && message.hasOwnProperty("timeCompleted"))
175161
+ writer.uint32(/* id 17, wireType 0 =*/136).uint64(message.timeCompleted);
175132
175162
  return writer;
175133
175163
  };
175134
175164
 
@@ -175209,10 +175239,10 @@ $root.clinical = (function() {
175209
175239
  message.timeUpdated = reader.uint64();
175210
175240
  break;
175211
175241
  case 16:
175212
- message.timeCompleted = reader.uint64();
175242
+ message.timeCancelled = reader.uint64();
175213
175243
  break;
175214
175244
  case 17:
175215
- message.timeCancelled = reader.uint64();
175245
+ message.timeCompleted = reader.uint64();
175216
175246
  break;
175217
175247
  default:
175218
175248
  reader.skipType(tag & 7);
@@ -175332,12 +175362,12 @@ $root.clinical = (function() {
175332
175362
  if (message.timeUpdated != null && message.hasOwnProperty("timeUpdated"))
175333
175363
  if (!$util.isInteger(message.timeUpdated) && !(message.timeUpdated && $util.isInteger(message.timeUpdated.low) && $util.isInteger(message.timeUpdated.high)))
175334
175364
  return "timeUpdated: integer|Long expected";
175335
- if (message.timeCompleted != null && message.hasOwnProperty("timeCompleted"))
175336
- if (!$util.isInteger(message.timeCompleted) && !(message.timeCompleted && $util.isInteger(message.timeCompleted.low) && $util.isInteger(message.timeCompleted.high)))
175337
- return "timeCompleted: integer|Long expected";
175338
175365
  if (message.timeCancelled != null && message.hasOwnProperty("timeCancelled"))
175339
175366
  if (!$util.isInteger(message.timeCancelled) && !(message.timeCancelled && $util.isInteger(message.timeCancelled.low) && $util.isInteger(message.timeCancelled.high)))
175340
175367
  return "timeCancelled: integer|Long expected";
175368
+ if (message.timeCompleted != null && message.hasOwnProperty("timeCompleted"))
175369
+ if (!$util.isInteger(message.timeCompleted) && !(message.timeCompleted && $util.isInteger(message.timeCompleted.low) && $util.isInteger(message.timeCompleted.high)))
175370
+ return "timeCompleted: integer|Long expected";
175341
175371
  return null;
175342
175372
  };
175343
175373
 
@@ -175510,15 +175540,6 @@ $root.clinical = (function() {
175510
175540
  message.timeUpdated = object.timeUpdated;
175511
175541
  else if (typeof object.timeUpdated === "object")
175512
175542
  message.timeUpdated = new $util.LongBits(object.timeUpdated.low >>> 0, object.timeUpdated.high >>> 0).toNumber(true);
175513
- if (object.timeCompleted != null)
175514
- if ($util.Long)
175515
- (message.timeCompleted = $util.Long.fromValue(object.timeCompleted)).unsigned = true;
175516
- else if (typeof object.timeCompleted === "string")
175517
- message.timeCompleted = parseInt(object.timeCompleted, 10);
175518
- else if (typeof object.timeCompleted === "number")
175519
- message.timeCompleted = object.timeCompleted;
175520
- else if (typeof object.timeCompleted === "object")
175521
- message.timeCompleted = new $util.LongBits(object.timeCompleted.low >>> 0, object.timeCompleted.high >>> 0).toNumber(true);
175522
175543
  if (object.timeCancelled != null)
175523
175544
  if ($util.Long)
175524
175545
  (message.timeCancelled = $util.Long.fromValue(object.timeCancelled)).unsigned = true;
@@ -175528,6 +175549,15 @@ $root.clinical = (function() {
175528
175549
  message.timeCancelled = object.timeCancelled;
175529
175550
  else if (typeof object.timeCancelled === "object")
175530
175551
  message.timeCancelled = new $util.LongBits(object.timeCancelled.low >>> 0, object.timeCancelled.high >>> 0).toNumber(true);
175552
+ if (object.timeCompleted != null)
175553
+ if ($util.Long)
175554
+ (message.timeCompleted = $util.Long.fromValue(object.timeCompleted)).unsigned = true;
175555
+ else if (typeof object.timeCompleted === "string")
175556
+ message.timeCompleted = parseInt(object.timeCompleted, 10);
175557
+ else if (typeof object.timeCompleted === "number")
175558
+ message.timeCompleted = object.timeCompleted;
175559
+ else if (typeof object.timeCompleted === "object")
175560
+ message.timeCompleted = new $util.LongBits(object.timeCompleted.low >>> 0, object.timeCompleted.high >>> 0).toNumber(true);
175531
175561
  return message;
175532
175562
  };
175533
175563
 
@@ -175582,14 +175612,14 @@ $root.clinical = (function() {
175582
175612
  object.timeUpdated = options.longs === String ? "0" : 0;
175583
175613
  if ($util.Long) {
175584
175614
  var long = new $util.Long(0, 0, true);
175585
- object.timeCompleted = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
175615
+ object.timeCancelled = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
175586
175616
  } else
175587
- object.timeCompleted = options.longs === String ? "0" : 0;
175617
+ object.timeCancelled = options.longs === String ? "0" : 0;
175588
175618
  if ($util.Long) {
175589
175619
  var long = new $util.Long(0, 0, true);
175590
- object.timeCancelled = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
175620
+ object.timeCompleted = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
175591
175621
  } else
175592
- object.timeCancelled = options.longs === String ? "0" : 0;
175622
+ object.timeCompleted = options.longs === String ? "0" : 0;
175593
175623
  }
175594
175624
  if (message.id != null && message.hasOwnProperty("id"))
175595
175625
  object.id = message.id;
@@ -175636,16 +175666,16 @@ $root.clinical = (function() {
175636
175666
  object.timeUpdated = options.longs === String ? String(message.timeUpdated) : message.timeUpdated;
175637
175667
  else
175638
175668
  object.timeUpdated = options.longs === String ? $util.Long.prototype.toString.call(message.timeUpdated) : options.longs === Number ? new $util.LongBits(message.timeUpdated.low >>> 0, message.timeUpdated.high >>> 0).toNumber(true) : message.timeUpdated;
175639
- if (message.timeCompleted != null && message.hasOwnProperty("timeCompleted"))
175640
- if (typeof message.timeCompleted === "number")
175641
- object.timeCompleted = options.longs === String ? String(message.timeCompleted) : message.timeCompleted;
175642
- else
175643
- object.timeCompleted = options.longs === String ? $util.Long.prototype.toString.call(message.timeCompleted) : options.longs === Number ? new $util.LongBits(message.timeCompleted.low >>> 0, message.timeCompleted.high >>> 0).toNumber(true) : message.timeCompleted;
175644
175669
  if (message.timeCancelled != null && message.hasOwnProperty("timeCancelled"))
175645
175670
  if (typeof message.timeCancelled === "number")
175646
175671
  object.timeCancelled = options.longs === String ? String(message.timeCancelled) : message.timeCancelled;
175647
175672
  else
175648
175673
  object.timeCancelled = options.longs === String ? $util.Long.prototype.toString.call(message.timeCancelled) : options.longs === Number ? new $util.LongBits(message.timeCancelled.low >>> 0, message.timeCancelled.high >>> 0).toNumber(true) : message.timeCancelled;
175674
+ if (message.timeCompleted != null && message.hasOwnProperty("timeCompleted"))
175675
+ if (typeof message.timeCompleted === "number")
175676
+ object.timeCompleted = options.longs === String ? String(message.timeCompleted) : message.timeCompleted;
175677
+ else
175678
+ object.timeCompleted = options.longs === String ? $util.Long.prototype.toString.call(message.timeCompleted) : options.longs === Number ? new $util.LongBits(message.timeCompleted.low >>> 0, message.timeCompleted.high >>> 0).toNumber(true) : message.timeCompleted;
175649
175679
  return object;
175650
175680
  };
175651
175681
 
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.746.0"
19
+ "version": "1.748.0"
20
20
  }