@headspace/protos-events 1.745.0 → 1.746.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
@@ -61060,6 +61060,12 @@ export namespace clinical {
61060
61060
 
61061
61061
  /** PartnerAppointmentCreated timeUpdated */
61062
61062
  timeUpdated?: (number|Long|null);
61063
+
61064
+ /** PartnerAppointmentCreated timeCompleted */
61065
+ timeCompleted?: (number|Long|null);
61066
+
61067
+ /** PartnerAppointmentCreated timeCancelled */
61068
+ timeCancelled?: (number|Long|null);
61063
61069
  }
61064
61070
 
61065
61071
  /** Represents a PartnerAppointmentCreated. */
@@ -61116,6 +61122,12 @@ export namespace clinical {
61116
61122
  /** PartnerAppointmentCreated timeUpdated. */
61117
61123
  public timeUpdated: (number|Long);
61118
61124
 
61125
+ /** PartnerAppointmentCreated timeCompleted. */
61126
+ public timeCompleted: (number|Long);
61127
+
61128
+ /** PartnerAppointmentCreated timeCancelled. */
61129
+ public timeCancelled: (number|Long);
61130
+
61119
61131
  /**
61120
61132
  * Creates a new PartnerAppointmentCreated instance using the specified properties.
61121
61133
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -174916,6 +174916,8 @@ $root.clinical = (function() {
174916
174916
  * @property {boolean|null} [covered] PartnerAppointmentCreated covered
174917
174917
  * @property {number|Long|null} [timeCreated] PartnerAppointmentCreated timeCreated
174918
174918
  * @property {number|Long|null} [timeUpdated] PartnerAppointmentCreated timeUpdated
174919
+ * @property {number|Long|null} [timeCompleted] PartnerAppointmentCreated timeCompleted
174920
+ * @property {number|Long|null} [timeCancelled] PartnerAppointmentCreated timeCancelled
174919
174921
  */
174920
174922
 
174921
174923
  /**
@@ -175053,6 +175055,22 @@ $root.clinical = (function() {
175053
175055
  */
175054
175056
  PartnerAppointmentCreated.prototype.timeUpdated = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175055
175057
 
175058
+ /**
175059
+ * PartnerAppointmentCreated timeCompleted.
175060
+ * @member {number|Long} timeCompleted
175061
+ * @memberof clinical.PartnerAppointmentCreated
175062
+ * @instance
175063
+ */
175064
+ PartnerAppointmentCreated.prototype.timeCompleted = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175065
+
175066
+ /**
175067
+ * PartnerAppointmentCreated timeCancelled.
175068
+ * @member {number|Long} timeCancelled
175069
+ * @memberof clinical.PartnerAppointmentCreated
175070
+ * @instance
175071
+ */
175072
+ PartnerAppointmentCreated.prototype.timeCancelled = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175073
+
175056
175074
  /**
175057
175075
  * Creates a new PartnerAppointmentCreated instance using the specified properties.
175058
175076
  * @function create
@@ -175107,6 +175125,10 @@ $root.clinical = (function() {
175107
175125
  writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.timeCreated);
175108
175126
  if (message.timeUpdated != null && message.hasOwnProperty("timeUpdated"))
175109
175127
  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
+ if (message.timeCancelled != null && message.hasOwnProperty("timeCancelled"))
175131
+ writer.uint32(/* id 17, wireType 0 =*/136).uint64(message.timeCancelled);
175110
175132
  return writer;
175111
175133
  };
175112
175134
 
@@ -175186,6 +175208,12 @@ $root.clinical = (function() {
175186
175208
  case 15:
175187
175209
  message.timeUpdated = reader.uint64();
175188
175210
  break;
175211
+ case 16:
175212
+ message.timeCompleted = reader.uint64();
175213
+ break;
175214
+ case 17:
175215
+ message.timeCancelled = reader.uint64();
175216
+ break;
175189
175217
  default:
175190
175218
  reader.skipType(tag & 7);
175191
175219
  break;
@@ -175304,6 +175332,12 @@ $root.clinical = (function() {
175304
175332
  if (message.timeUpdated != null && message.hasOwnProperty("timeUpdated"))
175305
175333
  if (!$util.isInteger(message.timeUpdated) && !(message.timeUpdated && $util.isInteger(message.timeUpdated.low) && $util.isInteger(message.timeUpdated.high)))
175306
175334
  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
+ if (message.timeCancelled != null && message.hasOwnProperty("timeCancelled"))
175339
+ if (!$util.isInteger(message.timeCancelled) && !(message.timeCancelled && $util.isInteger(message.timeCancelled.low) && $util.isInteger(message.timeCancelled.high)))
175340
+ return "timeCancelled: integer|Long expected";
175307
175341
  return null;
175308
175342
  };
175309
175343
 
@@ -175476,6 +175510,24 @@ $root.clinical = (function() {
175476
175510
  message.timeUpdated = object.timeUpdated;
175477
175511
  else if (typeof object.timeUpdated === "object")
175478
175512
  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
+ if (object.timeCancelled != null)
175523
+ if ($util.Long)
175524
+ (message.timeCancelled = $util.Long.fromValue(object.timeCancelled)).unsigned = true;
175525
+ else if (typeof object.timeCancelled === "string")
175526
+ message.timeCancelled = parseInt(object.timeCancelled, 10);
175527
+ else if (typeof object.timeCancelled === "number")
175528
+ message.timeCancelled = object.timeCancelled;
175529
+ else if (typeof object.timeCancelled === "object")
175530
+ message.timeCancelled = new $util.LongBits(object.timeCancelled.low >>> 0, object.timeCancelled.high >>> 0).toNumber(true);
175479
175531
  return message;
175480
175532
  };
175481
175533
 
@@ -175528,6 +175580,16 @@ $root.clinical = (function() {
175528
175580
  object.timeUpdated = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
175529
175581
  } else
175530
175582
  object.timeUpdated = options.longs === String ? "0" : 0;
175583
+ if ($util.Long) {
175584
+ var long = new $util.Long(0, 0, true);
175585
+ object.timeCompleted = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
175586
+ } else
175587
+ object.timeCompleted = options.longs === String ? "0" : 0;
175588
+ if ($util.Long) {
175589
+ var long = new $util.Long(0, 0, true);
175590
+ object.timeCancelled = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
175591
+ } else
175592
+ object.timeCancelled = options.longs === String ? "0" : 0;
175531
175593
  }
175532
175594
  if (message.id != null && message.hasOwnProperty("id"))
175533
175595
  object.id = message.id;
@@ -175574,6 +175636,16 @@ $root.clinical = (function() {
175574
175636
  object.timeUpdated = options.longs === String ? String(message.timeUpdated) : message.timeUpdated;
175575
175637
  else
175576
175638
  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
+ if (message.timeCancelled != null && message.hasOwnProperty("timeCancelled"))
175645
+ if (typeof message.timeCancelled === "number")
175646
+ object.timeCancelled = options.longs === String ? String(message.timeCancelled) : message.timeCancelled;
175647
+ else
175648
+ 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;
175577
175649
  return object;
175578
175650
  };
175579
175651
 
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.745.0"
19
+ "version": "1.746.0"
20
20
  }