@headspace/protos-events 1.734.0 → 1.735.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
@@ -59595,7 +59595,7 @@ export namespace clinical {
59595
59595
  id?: (number|Long|null);
59596
59596
 
59597
59597
  /** UnifiedAvailabilityOffered searchId */
59598
- searchId?: (number|Long|null);
59598
+ searchId?: (string|null);
59599
59599
 
59600
59600
  /** UnifiedAvailabilityOffered clinicianId */
59601
59601
  clinicianId?: (number|Long|null);
@@ -59671,7 +59671,7 @@ export namespace clinical {
59671
59671
  public id: (number|Long);
59672
59672
 
59673
59673
  /** UnifiedAvailabilityOffered searchId. */
59674
- public searchId: (number|Long);
59674
+ public searchId: string;
59675
59675
 
59676
59676
  /** UnifiedAvailabilityOffered clinicianId. */
59677
59677
  public clinicianId: (number|Long);
package/lib/index.js CHANGED
@@ -171526,7 +171526,7 @@ $root.clinical = (function() {
171526
171526
  * @memberof clinical
171527
171527
  * @interface IUnifiedAvailabilityOffered
171528
171528
  * @property {number|Long|null} [id] UnifiedAvailabilityOffered id
171529
- * @property {number|Long|null} [searchId] UnifiedAvailabilityOffered searchId
171529
+ * @property {string|null} [searchId] UnifiedAvailabilityOffered searchId
171530
171530
  * @property {number|Long|null} [clinicianId] UnifiedAvailabilityOffered clinicianId
171531
171531
  * @property {string|null} [partnerClinicianId] UnifiedAvailabilityOffered partnerClinicianId
171532
171532
  * @property {number|Long|null} [memberGingerUserId] UnifiedAvailabilityOffered memberGingerUserId
@@ -171575,11 +171575,11 @@ $root.clinical = (function() {
171575
171575
 
171576
171576
  /**
171577
171577
  * UnifiedAvailabilityOffered searchId.
171578
- * @member {number|Long} searchId
171578
+ * @member {string} searchId
171579
171579
  * @memberof clinical.UnifiedAvailabilityOffered
171580
171580
  * @instance
171581
171581
  */
171582
- UnifiedAvailabilityOffered.prototype.searchId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
171582
+ UnifiedAvailabilityOffered.prototype.searchId = "";
171583
171583
 
171584
171584
  /**
171585
171585
  * UnifiedAvailabilityOffered clinicianId.
@@ -171768,7 +171768,7 @@ $root.clinical = (function() {
171768
171768
  if (message.id != null && message.hasOwnProperty("id"))
171769
171769
  writer.uint32(/* id 1, wireType 0 =*/8).int64(message.id);
171770
171770
  if (message.searchId != null && message.hasOwnProperty("searchId"))
171771
- writer.uint32(/* id 2, wireType 0 =*/16).int64(message.searchId);
171771
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.searchId);
171772
171772
  if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
171773
171773
  writer.uint32(/* id 3, wireType 0 =*/24).int64(message.clinicianId);
171774
171774
  if (message.partnerClinicianId != null && message.hasOwnProperty("partnerClinicianId"))
@@ -171848,7 +171848,7 @@ $root.clinical = (function() {
171848
171848
  message.id = reader.int64();
171849
171849
  break;
171850
171850
  case 2:
171851
- message.searchId = reader.int64();
171851
+ message.searchId = reader.string();
171852
171852
  break;
171853
171853
  case 3:
171854
171854
  message.clinicianId = reader.int64();
@@ -171951,8 +171951,8 @@ $root.clinical = (function() {
171951
171951
  if (!$util.isInteger(message.id) && !(message.id && $util.isInteger(message.id.low) && $util.isInteger(message.id.high)))
171952
171952
  return "id: integer|Long expected";
171953
171953
  if (message.searchId != null && message.hasOwnProperty("searchId"))
171954
- if (!$util.isInteger(message.searchId) && !(message.searchId && $util.isInteger(message.searchId.low) && $util.isInteger(message.searchId.high)))
171955
- return "searchId: integer|Long expected";
171954
+ if (!$util.isString(message.searchId))
171955
+ return "searchId: string expected";
171956
171956
  if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
171957
171957
  if (!$util.isInteger(message.clinicianId) && !(message.clinicianId && $util.isInteger(message.clinicianId.low) && $util.isInteger(message.clinicianId.high)))
171958
171958
  return "clinicianId: integer|Long expected";
@@ -172075,14 +172075,7 @@ $root.clinical = (function() {
172075
172075
  else if (typeof object.id === "object")
172076
172076
  message.id = new $util.LongBits(object.id.low >>> 0, object.id.high >>> 0).toNumber();
172077
172077
  if (object.searchId != null)
172078
- if ($util.Long)
172079
- (message.searchId = $util.Long.fromValue(object.searchId)).unsigned = false;
172080
- else if (typeof object.searchId === "string")
172081
- message.searchId = parseInt(object.searchId, 10);
172082
- else if (typeof object.searchId === "number")
172083
- message.searchId = object.searchId;
172084
- else if (typeof object.searchId === "object")
172085
- message.searchId = new $util.LongBits(object.searchId.low >>> 0, object.searchId.high >>> 0).toNumber();
172078
+ message.searchId = String(object.searchId);
172086
172079
  if (object.clinicianId != null)
172087
172080
  if ($util.Long)
172088
172081
  (message.clinicianId = $util.Long.fromValue(object.clinicianId)).unsigned = false;
@@ -172280,11 +172273,7 @@ $root.clinical = (function() {
172280
172273
  object.id = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
172281
172274
  } else
172282
172275
  object.id = options.longs === String ? "0" : 0;
172283
- if ($util.Long) {
172284
- var long = new $util.Long(0, 0, false);
172285
- object.searchId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
172286
- } else
172287
- object.searchId = options.longs === String ? "0" : 0;
172276
+ object.searchId = "";
172288
172277
  if ($util.Long) {
172289
172278
  var long = new $util.Long(0, 0, false);
172290
172279
  object.clinicianId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -172343,10 +172332,7 @@ $root.clinical = (function() {
172343
172332
  else
172344
172333
  object.id = options.longs === String ? $util.Long.prototype.toString.call(message.id) : options.longs === Number ? new $util.LongBits(message.id.low >>> 0, message.id.high >>> 0).toNumber() : message.id;
172345
172334
  if (message.searchId != null && message.hasOwnProperty("searchId"))
172346
- if (typeof message.searchId === "number")
172347
- object.searchId = options.longs === String ? String(message.searchId) : message.searchId;
172348
- else
172349
- object.searchId = options.longs === String ? $util.Long.prototype.toString.call(message.searchId) : options.longs === Number ? new $util.LongBits(message.searchId.low >>> 0, message.searchId.high >>> 0).toNumber() : message.searchId;
172335
+ object.searchId = message.searchId;
172350
172336
  if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
172351
172337
  if (typeof message.clinicianId === "number")
172352
172338
  object.clinicianId = options.longs === String ? String(message.clinicianId) : message.clinicianId;
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.734.0"
19
+ "version": "1.735.0"
20
20
  }