@headspace/protos-events 1.705.0 → 1.706.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
@@ -4978,6 +4978,9 @@ export interface IAppointmentRatingRequested {
4978
4978
 
4979
4979
  /** AppointmentRatingRequested requestedAt */
4980
4980
  requestedAt?: (number|Long|null);
4981
+
4982
+ /** AppointmentRatingRequested clinicianId */
4983
+ clinicianId?: (string|null);
4981
4984
  }
4982
4985
 
4983
4986
  /** Represents an AppointmentRatingRequested. */
@@ -5001,6 +5004,9 @@ export class AppointmentRatingRequested implements IAppointmentRatingRequested {
5001
5004
  /** AppointmentRatingRequested requestedAt. */
5002
5005
  public requestedAt: (number|Long);
5003
5006
 
5007
+ /** AppointmentRatingRequested clinicianId. */
5008
+ public clinicianId: string;
5009
+
5004
5010
  /**
5005
5011
  * Creates a new AppointmentRatingRequested instance using the specified properties.
5006
5012
  * @param [properties] Properties to set
@@ -5089,6 +5095,9 @@ export interface IAppointmentRatingDismissed {
5089
5095
 
5090
5096
  /** AppointmentRatingDismissed dismissedCount */
5091
5097
  dismissedCount?: (number|null);
5098
+
5099
+ /** AppointmentRatingDismissed clinicianId */
5100
+ clinicianId?: (string|null);
5092
5101
  }
5093
5102
 
5094
5103
  /** Represents an AppointmentRatingDismissed. */
@@ -5115,6 +5124,9 @@ export class AppointmentRatingDismissed implements IAppointmentRatingDismissed {
5115
5124
  /** AppointmentRatingDismissed dismissedCount. */
5116
5125
  public dismissedCount: number;
5117
5126
 
5127
+ /** AppointmentRatingDismissed clinicianId. */
5128
+ public clinicianId: string;
5129
+
5118
5130
  /**
5119
5131
  * Creates a new AppointmentRatingDismissed instance using the specified properties.
5120
5132
  * @param [properties] Properties to set
@@ -5212,6 +5224,9 @@ export interface IAppointmentRatingSubmitted {
5212
5224
 
5213
5225
  /** AppointmentRatingSubmitted submittedAt */
5214
5226
  submittedAt?: (number|Long|null);
5227
+
5228
+ /** AppointmentRatingSubmitted clinicianId */
5229
+ clinicianId?: (string|null);
5215
5230
  }
5216
5231
 
5217
5232
  /** Represents an AppointmentRatingSubmitted. */
@@ -5247,6 +5262,9 @@ export class AppointmentRatingSubmitted implements IAppointmentRatingSubmitted {
5247
5262
  /** AppointmentRatingSubmitted submittedAt. */
5248
5263
  public submittedAt: (number|Long);
5249
5264
 
5265
+ /** AppointmentRatingSubmitted clinicianId. */
5266
+ public clinicianId: string;
5267
+
5250
5268
  /**
5251
5269
  * Creates a new AppointmentRatingSubmitted instance using the specified properties.
5252
5270
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -15259,6 +15259,7 @@ $root.AppointmentRatingRequested = (function() {
15259
15259
  * @property {string|null} [gingerUserId] AppointmentRatingRequested gingerUserId
15260
15260
  * @property {string|null} [hsUserId] AppointmentRatingRequested hsUserId
15261
15261
  * @property {number|Long|null} [requestedAt] AppointmentRatingRequested requestedAt
15262
+ * @property {string|null} [clinicianId] AppointmentRatingRequested clinicianId
15262
15263
  */
15263
15264
 
15264
15265
  /**
@@ -15308,6 +15309,14 @@ $root.AppointmentRatingRequested = (function() {
15308
15309
  */
15309
15310
  AppointmentRatingRequested.prototype.requestedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
15310
15311
 
15312
+ /**
15313
+ * AppointmentRatingRequested clinicianId.
15314
+ * @member {string} clinicianId
15315
+ * @memberof AppointmentRatingRequested
15316
+ * @instance
15317
+ */
15318
+ AppointmentRatingRequested.prototype.clinicianId = "";
15319
+
15311
15320
  /**
15312
15321
  * Creates a new AppointmentRatingRequested instance using the specified properties.
15313
15322
  * @function create
@@ -15340,6 +15349,8 @@ $root.AppointmentRatingRequested = (function() {
15340
15349
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.hsUserId);
15341
15350
  if (message.requestedAt != null && message.hasOwnProperty("requestedAt"))
15342
15351
  writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.requestedAt);
15352
+ if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
15353
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.clinicianId);
15343
15354
  return writer;
15344
15355
  };
15345
15356
 
@@ -15386,6 +15397,9 @@ $root.AppointmentRatingRequested = (function() {
15386
15397
  case 4:
15387
15398
  message.requestedAt = reader.uint64();
15388
15399
  break;
15400
+ case 5:
15401
+ message.clinicianId = reader.string();
15402
+ break;
15389
15403
  default:
15390
15404
  reader.skipType(tag & 7);
15391
15405
  break;
@@ -15433,6 +15447,9 @@ $root.AppointmentRatingRequested = (function() {
15433
15447
  if (message.requestedAt != null && message.hasOwnProperty("requestedAt"))
15434
15448
  if (!$util.isInteger(message.requestedAt) && !(message.requestedAt && $util.isInteger(message.requestedAt.low) && $util.isInteger(message.requestedAt.high)))
15435
15449
  return "requestedAt: integer|Long expected";
15450
+ if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
15451
+ if (!$util.isString(message.clinicianId))
15452
+ return "clinicianId: string expected";
15436
15453
  return null;
15437
15454
  };
15438
15455
 
@@ -15463,6 +15480,8 @@ $root.AppointmentRatingRequested = (function() {
15463
15480
  message.requestedAt = object.requestedAt;
15464
15481
  else if (typeof object.requestedAt === "object")
15465
15482
  message.requestedAt = new $util.LongBits(object.requestedAt.low >>> 0, object.requestedAt.high >>> 0).toNumber(true);
15483
+ if (object.clinicianId != null)
15484
+ message.clinicianId = String(object.clinicianId);
15466
15485
  return message;
15467
15486
  };
15468
15487
 
@@ -15488,6 +15507,7 @@ $root.AppointmentRatingRequested = (function() {
15488
15507
  object.requestedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
15489
15508
  } else
15490
15509
  object.requestedAt = options.longs === String ? "0" : 0;
15510
+ object.clinicianId = "";
15491
15511
  }
15492
15512
  if (message.appointmentId != null && message.hasOwnProperty("appointmentId"))
15493
15513
  object.appointmentId = message.appointmentId;
@@ -15500,6 +15520,8 @@ $root.AppointmentRatingRequested = (function() {
15500
15520
  object.requestedAt = options.longs === String ? String(message.requestedAt) : message.requestedAt;
15501
15521
  else
15502
15522
  object.requestedAt = options.longs === String ? $util.Long.prototype.toString.call(message.requestedAt) : options.longs === Number ? new $util.LongBits(message.requestedAt.low >>> 0, message.requestedAt.high >>> 0).toNumber(true) : message.requestedAt;
15523
+ if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
15524
+ object.clinicianId = message.clinicianId;
15503
15525
  return object;
15504
15526
  };
15505
15527
 
@@ -15528,6 +15550,7 @@ $root.AppointmentRatingDismissed = (function() {
15528
15550
  * @property {string|null} [hsUserId] AppointmentRatingDismissed hsUserId
15529
15551
  * @property {number|Long|null} [dismissedAt] AppointmentRatingDismissed dismissedAt
15530
15552
  * @property {number|null} [dismissedCount] AppointmentRatingDismissed dismissedCount
15553
+ * @property {string|null} [clinicianId] AppointmentRatingDismissed clinicianId
15531
15554
  */
15532
15555
 
15533
15556
  /**
@@ -15585,6 +15608,14 @@ $root.AppointmentRatingDismissed = (function() {
15585
15608
  */
15586
15609
  AppointmentRatingDismissed.prototype.dismissedCount = 0;
15587
15610
 
15611
+ /**
15612
+ * AppointmentRatingDismissed clinicianId.
15613
+ * @member {string} clinicianId
15614
+ * @memberof AppointmentRatingDismissed
15615
+ * @instance
15616
+ */
15617
+ AppointmentRatingDismissed.prototype.clinicianId = "";
15618
+
15588
15619
  /**
15589
15620
  * Creates a new AppointmentRatingDismissed instance using the specified properties.
15590
15621
  * @function create
@@ -15619,6 +15650,8 @@ $root.AppointmentRatingDismissed = (function() {
15619
15650
  writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.dismissedAt);
15620
15651
  if (message.dismissedCount != null && message.hasOwnProperty("dismissedCount"))
15621
15652
  writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.dismissedCount);
15653
+ if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
15654
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.clinicianId);
15622
15655
  return writer;
15623
15656
  };
15624
15657
 
@@ -15668,6 +15701,9 @@ $root.AppointmentRatingDismissed = (function() {
15668
15701
  case 5:
15669
15702
  message.dismissedCount = reader.uint32();
15670
15703
  break;
15704
+ case 6:
15705
+ message.clinicianId = reader.string();
15706
+ break;
15671
15707
  default:
15672
15708
  reader.skipType(tag & 7);
15673
15709
  break;
@@ -15718,6 +15754,9 @@ $root.AppointmentRatingDismissed = (function() {
15718
15754
  if (message.dismissedCount != null && message.hasOwnProperty("dismissedCount"))
15719
15755
  if (!$util.isInteger(message.dismissedCount))
15720
15756
  return "dismissedCount: integer expected";
15757
+ if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
15758
+ if (!$util.isString(message.clinicianId))
15759
+ return "clinicianId: string expected";
15721
15760
  return null;
15722
15761
  };
15723
15762
 
@@ -15750,6 +15789,8 @@ $root.AppointmentRatingDismissed = (function() {
15750
15789
  message.dismissedAt = new $util.LongBits(object.dismissedAt.low >>> 0, object.dismissedAt.high >>> 0).toNumber(true);
15751
15790
  if (object.dismissedCount != null)
15752
15791
  message.dismissedCount = object.dismissedCount >>> 0;
15792
+ if (object.clinicianId != null)
15793
+ message.clinicianId = String(object.clinicianId);
15753
15794
  return message;
15754
15795
  };
15755
15796
 
@@ -15776,6 +15817,7 @@ $root.AppointmentRatingDismissed = (function() {
15776
15817
  } else
15777
15818
  object.dismissedAt = options.longs === String ? "0" : 0;
15778
15819
  object.dismissedCount = 0;
15820
+ object.clinicianId = "";
15779
15821
  }
15780
15822
  if (message.appointmentId != null && message.hasOwnProperty("appointmentId"))
15781
15823
  object.appointmentId = message.appointmentId;
@@ -15790,6 +15832,8 @@ $root.AppointmentRatingDismissed = (function() {
15790
15832
  object.dismissedAt = options.longs === String ? $util.Long.prototype.toString.call(message.dismissedAt) : options.longs === Number ? new $util.LongBits(message.dismissedAt.low >>> 0, message.dismissedAt.high >>> 0).toNumber(true) : message.dismissedAt;
15791
15833
  if (message.dismissedCount != null && message.hasOwnProperty("dismissedCount"))
15792
15834
  object.dismissedCount = message.dismissedCount;
15835
+ if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
15836
+ object.clinicianId = message.clinicianId;
15793
15837
  return object;
15794
15838
  };
15795
15839
 
@@ -15821,6 +15865,7 @@ $root.AppointmentRatingSubmitted = (function() {
15821
15865
  * @property {number|null} [feltSupportedRating] AppointmentRatingSubmitted feltSupportedRating
15822
15866
  * @property {number|null} [approachRating] AppointmentRatingSubmitted approachRating
15823
15867
  * @property {number|Long|null} [submittedAt] AppointmentRatingSubmitted submittedAt
15868
+ * @property {string|null} [clinicianId] AppointmentRatingSubmitted clinicianId
15824
15869
  */
15825
15870
 
15826
15871
  /**
@@ -15902,6 +15947,14 @@ $root.AppointmentRatingSubmitted = (function() {
15902
15947
  */
15903
15948
  AppointmentRatingSubmitted.prototype.submittedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
15904
15949
 
15950
+ /**
15951
+ * AppointmentRatingSubmitted clinicianId.
15952
+ * @member {string} clinicianId
15953
+ * @memberof AppointmentRatingSubmitted
15954
+ * @instance
15955
+ */
15956
+ AppointmentRatingSubmitted.prototype.clinicianId = "";
15957
+
15905
15958
  /**
15906
15959
  * Creates a new AppointmentRatingSubmitted instance using the specified properties.
15907
15960
  * @function create
@@ -15942,6 +15995,8 @@ $root.AppointmentRatingSubmitted = (function() {
15942
15995
  writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.approachRating);
15943
15996
  if (message.submittedAt != null && message.hasOwnProperty("submittedAt"))
15944
15997
  writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.submittedAt);
15998
+ if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
15999
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.clinicianId);
15945
16000
  return writer;
15946
16001
  };
15947
16002
 
@@ -16000,6 +16055,9 @@ $root.AppointmentRatingSubmitted = (function() {
16000
16055
  case 8:
16001
16056
  message.submittedAt = reader.uint64();
16002
16057
  break;
16058
+ case 9:
16059
+ message.clinicianId = reader.string();
16060
+ break;
16003
16061
  default:
16004
16062
  reader.skipType(tag & 7);
16005
16063
  break;
@@ -16059,6 +16117,9 @@ $root.AppointmentRatingSubmitted = (function() {
16059
16117
  if (message.submittedAt != null && message.hasOwnProperty("submittedAt"))
16060
16118
  if (!$util.isInteger(message.submittedAt) && !(message.submittedAt && $util.isInteger(message.submittedAt.low) && $util.isInteger(message.submittedAt.high)))
16061
16119
  return "submittedAt: integer|Long expected";
16120
+ if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
16121
+ if (!$util.isString(message.clinicianId))
16122
+ return "clinicianId: string expected";
16062
16123
  return null;
16063
16124
  };
16064
16125
 
@@ -16097,6 +16158,8 @@ $root.AppointmentRatingSubmitted = (function() {
16097
16158
  message.submittedAt = object.submittedAt;
16098
16159
  else if (typeof object.submittedAt === "object")
16099
16160
  message.submittedAt = new $util.LongBits(object.submittedAt.low >>> 0, object.submittedAt.high >>> 0).toNumber(true);
16161
+ if (object.clinicianId != null)
16162
+ message.clinicianId = String(object.clinicianId);
16100
16163
  return message;
16101
16164
  };
16102
16165
 
@@ -16126,6 +16189,7 @@ $root.AppointmentRatingSubmitted = (function() {
16126
16189
  object.submittedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
16127
16190
  } else
16128
16191
  object.submittedAt = options.longs === String ? "0" : 0;
16192
+ object.clinicianId = "";
16129
16193
  }
16130
16194
  if (message.appointmentId != null && message.hasOwnProperty("appointmentId"))
16131
16195
  object.appointmentId = message.appointmentId;
@@ -16146,6 +16210,8 @@ $root.AppointmentRatingSubmitted = (function() {
16146
16210
  object.submittedAt = options.longs === String ? String(message.submittedAt) : message.submittedAt;
16147
16211
  else
16148
16212
  object.submittedAt = options.longs === String ? $util.Long.prototype.toString.call(message.submittedAt) : options.longs === Number ? new $util.LongBits(message.submittedAt.low >>> 0, message.submittedAt.high >>> 0).toNumber(true) : message.submittedAt;
16213
+ if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
16214
+ object.clinicianId = message.clinicianId;
16149
16215
  return object;
16150
16216
  };
16151
16217
 
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.705.0"
19
+ "version": "1.706.0"
20
20
  }