@headspace/protos-events 1.746.0 → 1.747.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
@@ -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
@@ -174916,8 +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
174919
  * @property {number|Long|null} [timeCancelled] PartnerAppointmentCreated timeCancelled
174920
+ * @property {number|Long|null} [timeCompleted] PartnerAppointmentCreated timeCompleted
174921
174921
  */
174922
174922
 
174923
174923
  /**
@@ -175056,20 +175056,20 @@ $root.clinical = (function() {
175056
175056
  PartnerAppointmentCreated.prototype.timeUpdated = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175057
175057
 
175058
175058
  /**
175059
- * PartnerAppointmentCreated timeCompleted.
175060
- * @member {number|Long} timeCompleted
175059
+ * PartnerAppointmentCreated timeCancelled.
175060
+ * @member {number|Long} timeCancelled
175061
175061
  * @memberof clinical.PartnerAppointmentCreated
175062
175062
  * @instance
175063
175063
  */
175064
- PartnerAppointmentCreated.prototype.timeCompleted = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175064
+ PartnerAppointmentCreated.prototype.timeCancelled = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175065
175065
 
175066
175066
  /**
175067
- * PartnerAppointmentCreated timeCancelled.
175068
- * @member {number|Long} timeCancelled
175067
+ * PartnerAppointmentCreated timeCompleted.
175068
+ * @member {number|Long} timeCompleted
175069
175069
  * @memberof clinical.PartnerAppointmentCreated
175070
175070
  * @instance
175071
175071
  */
175072
- PartnerAppointmentCreated.prototype.timeCancelled = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175072
+ PartnerAppointmentCreated.prototype.timeCompleted = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
175073
175073
 
175074
175074
  /**
175075
175075
  * Creates a new PartnerAppointmentCreated instance using the specified properties.
@@ -175125,10 +175125,10 @@ $root.clinical = (function() {
175125
175125
  writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.timeCreated);
175126
175126
  if (message.timeUpdated != null && message.hasOwnProperty("timeUpdated"))
175127
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
175128
  if (message.timeCancelled != null && message.hasOwnProperty("timeCancelled"))
175131
- writer.uint32(/* id 17, wireType 0 =*/136).uint64(message.timeCancelled);
175129
+ writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.timeCancelled);
175130
+ if (message.timeCompleted != null && message.hasOwnProperty("timeCompleted"))
175131
+ writer.uint32(/* id 17, wireType 0 =*/136).uint64(message.timeCompleted);
175132
175132
  return writer;
175133
175133
  };
175134
175134
 
@@ -175209,10 +175209,10 @@ $root.clinical = (function() {
175209
175209
  message.timeUpdated = reader.uint64();
175210
175210
  break;
175211
175211
  case 16:
175212
- message.timeCompleted = reader.uint64();
175212
+ message.timeCancelled = reader.uint64();
175213
175213
  break;
175214
175214
  case 17:
175215
- message.timeCancelled = reader.uint64();
175215
+ message.timeCompleted = reader.uint64();
175216
175216
  break;
175217
175217
  default:
175218
175218
  reader.skipType(tag & 7);
@@ -175332,12 +175332,12 @@ $root.clinical = (function() {
175332
175332
  if (message.timeUpdated != null && message.hasOwnProperty("timeUpdated"))
175333
175333
  if (!$util.isInteger(message.timeUpdated) && !(message.timeUpdated && $util.isInteger(message.timeUpdated.low) && $util.isInteger(message.timeUpdated.high)))
175334
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
175335
  if (message.timeCancelled != null && message.hasOwnProperty("timeCancelled"))
175339
175336
  if (!$util.isInteger(message.timeCancelled) && !(message.timeCancelled && $util.isInteger(message.timeCancelled.low) && $util.isInteger(message.timeCancelled.high)))
175340
175337
  return "timeCancelled: integer|Long expected";
175338
+ if (message.timeCompleted != null && message.hasOwnProperty("timeCompleted"))
175339
+ if (!$util.isInteger(message.timeCompleted) && !(message.timeCompleted && $util.isInteger(message.timeCompleted.low) && $util.isInteger(message.timeCompleted.high)))
175340
+ return "timeCompleted: integer|Long expected";
175341
175341
  return null;
175342
175342
  };
175343
175343
 
@@ -175510,15 +175510,6 @@ $root.clinical = (function() {
175510
175510
  message.timeUpdated = object.timeUpdated;
175511
175511
  else if (typeof object.timeUpdated === "object")
175512
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
175513
  if (object.timeCancelled != null)
175523
175514
  if ($util.Long)
175524
175515
  (message.timeCancelled = $util.Long.fromValue(object.timeCancelled)).unsigned = true;
@@ -175528,6 +175519,15 @@ $root.clinical = (function() {
175528
175519
  message.timeCancelled = object.timeCancelled;
175529
175520
  else if (typeof object.timeCancelled === "object")
175530
175521
  message.timeCancelled = new $util.LongBits(object.timeCancelled.low >>> 0, object.timeCancelled.high >>> 0).toNumber(true);
175522
+ if (object.timeCompleted != null)
175523
+ if ($util.Long)
175524
+ (message.timeCompleted = $util.Long.fromValue(object.timeCompleted)).unsigned = true;
175525
+ else if (typeof object.timeCompleted === "string")
175526
+ message.timeCompleted = parseInt(object.timeCompleted, 10);
175527
+ else if (typeof object.timeCompleted === "number")
175528
+ message.timeCompleted = object.timeCompleted;
175529
+ else if (typeof object.timeCompleted === "object")
175530
+ message.timeCompleted = new $util.LongBits(object.timeCompleted.low >>> 0, object.timeCompleted.high >>> 0).toNumber(true);
175531
175531
  return message;
175532
175532
  };
175533
175533
 
@@ -175582,14 +175582,14 @@ $root.clinical = (function() {
175582
175582
  object.timeUpdated = options.longs === String ? "0" : 0;
175583
175583
  if ($util.Long) {
175584
175584
  var long = new $util.Long(0, 0, true);
175585
- object.timeCompleted = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
175585
+ object.timeCancelled = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
175586
175586
  } else
175587
- object.timeCompleted = options.longs === String ? "0" : 0;
175587
+ object.timeCancelled = options.longs === String ? "0" : 0;
175588
175588
  if ($util.Long) {
175589
175589
  var long = new $util.Long(0, 0, true);
175590
- object.timeCancelled = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
175590
+ object.timeCompleted = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
175591
175591
  } else
175592
- object.timeCancelled = options.longs === String ? "0" : 0;
175592
+ object.timeCompleted = options.longs === String ? "0" : 0;
175593
175593
  }
175594
175594
  if (message.id != null && message.hasOwnProperty("id"))
175595
175595
  object.id = message.id;
@@ -175636,16 +175636,16 @@ $root.clinical = (function() {
175636
175636
  object.timeUpdated = options.longs === String ? String(message.timeUpdated) : message.timeUpdated;
175637
175637
  else
175638
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
175639
  if (message.timeCancelled != null && message.hasOwnProperty("timeCancelled"))
175645
175640
  if (typeof message.timeCancelled === "number")
175646
175641
  object.timeCancelled = options.longs === String ? String(message.timeCancelled) : message.timeCancelled;
175647
175642
  else
175648
175643
  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;
175644
+ if (message.timeCompleted != null && message.hasOwnProperty("timeCompleted"))
175645
+ if (typeof message.timeCompleted === "number")
175646
+ object.timeCompleted = options.longs === String ? String(message.timeCompleted) : message.timeCompleted;
175647
+ else
175648
+ 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
175649
  return object;
175650
175650
  };
175651
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.746.0"
19
+ "version": "1.747.0"
20
20
  }