@headspace/protos-events 1.655.0 → 1.656.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
@@ -33163,6 +33163,21 @@ export namespace ClinicalAppointment {
33163
33163
 
33164
33164
  /** ClinicalAppointmentMemberReview memberLeftTime */
33165
33165
  memberLeftTime?: (number|Long|null);
33166
+
33167
+ /** ClinicalAppointmentMemberReview seenAndHeardRating */
33168
+ seenAndHeardRating?: (number|null);
33169
+
33170
+ /** ClinicalAppointmentMemberReview understoodRating */
33171
+ understoodRating?: (number|null);
33172
+
33173
+ /** ClinicalAppointmentMemberReview feltSupportedRating */
33174
+ feltSupportedRating?: (number|null);
33175
+
33176
+ /** ClinicalAppointmentMemberReview approachRating */
33177
+ approachRating?: (number|null);
33178
+
33179
+ /** ClinicalAppointmentMemberReview variant */
33180
+ variant?: (coaching.ExperimentVariant|null);
33166
33181
  }
33167
33182
 
33168
33183
  /** Represents a ClinicalAppointmentMemberReview. */
@@ -33186,6 +33201,21 @@ export namespace ClinicalAppointment {
33186
33201
  /** ClinicalAppointmentMemberReview memberLeftTime. */
33187
33202
  public memberLeftTime: (number|Long);
33188
33203
 
33204
+ /** ClinicalAppointmentMemberReview seenAndHeardRating. */
33205
+ public seenAndHeardRating: number;
33206
+
33207
+ /** ClinicalAppointmentMemberReview understoodRating. */
33208
+ public understoodRating: number;
33209
+
33210
+ /** ClinicalAppointmentMemberReview feltSupportedRating. */
33211
+ public feltSupportedRating: number;
33212
+
33213
+ /** ClinicalAppointmentMemberReview approachRating. */
33214
+ public approachRating: number;
33215
+
33216
+ /** ClinicalAppointmentMemberReview variant. */
33217
+ public variant: coaching.ExperimentVariant;
33218
+
33189
33219
  /**
33190
33220
  * Creates a new ClinicalAppointmentMemberReview instance using the specified properties.
33191
33221
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -94977,6 +94977,11 @@ $root.ClinicalAppointment = (function() {
94977
94977
  * @property {number|Long|null} [memberRatingSubmittedTime] ClinicalAppointmentMemberReview memberRatingSubmittedTime
94978
94978
  * @property {string|null} [memberComment] ClinicalAppointmentMemberReview memberComment
94979
94979
  * @property {number|Long|null} [memberLeftTime] ClinicalAppointmentMemberReview memberLeftTime
94980
+ * @property {number|null} [seenAndHeardRating] ClinicalAppointmentMemberReview seenAndHeardRating
94981
+ * @property {number|null} [understoodRating] ClinicalAppointmentMemberReview understoodRating
94982
+ * @property {number|null} [feltSupportedRating] ClinicalAppointmentMemberReview feltSupportedRating
94983
+ * @property {number|null} [approachRating] ClinicalAppointmentMemberReview approachRating
94984
+ * @property {coaching.ExperimentVariant|null} [variant] ClinicalAppointmentMemberReview variant
94980
94985
  */
94981
94986
 
94982
94987
  /**
@@ -95026,6 +95031,46 @@ $root.ClinicalAppointment = (function() {
95026
95031
  */
95027
95032
  ClinicalAppointmentMemberReview.prototype.memberLeftTime = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
95028
95033
 
95034
+ /**
95035
+ * ClinicalAppointmentMemberReview seenAndHeardRating.
95036
+ * @member {number} seenAndHeardRating
95037
+ * @memberof ClinicalAppointment.ClinicalAppointmentMemberReview
95038
+ * @instance
95039
+ */
95040
+ ClinicalAppointmentMemberReview.prototype.seenAndHeardRating = 0;
95041
+
95042
+ /**
95043
+ * ClinicalAppointmentMemberReview understoodRating.
95044
+ * @member {number} understoodRating
95045
+ * @memberof ClinicalAppointment.ClinicalAppointmentMemberReview
95046
+ * @instance
95047
+ */
95048
+ ClinicalAppointmentMemberReview.prototype.understoodRating = 0;
95049
+
95050
+ /**
95051
+ * ClinicalAppointmentMemberReview feltSupportedRating.
95052
+ * @member {number} feltSupportedRating
95053
+ * @memberof ClinicalAppointment.ClinicalAppointmentMemberReview
95054
+ * @instance
95055
+ */
95056
+ ClinicalAppointmentMemberReview.prototype.feltSupportedRating = 0;
95057
+
95058
+ /**
95059
+ * ClinicalAppointmentMemberReview approachRating.
95060
+ * @member {number} approachRating
95061
+ * @memberof ClinicalAppointment.ClinicalAppointmentMemberReview
95062
+ * @instance
95063
+ */
95064
+ ClinicalAppointmentMemberReview.prototype.approachRating = 0;
95065
+
95066
+ /**
95067
+ * ClinicalAppointmentMemberReview variant.
95068
+ * @member {coaching.ExperimentVariant} variant
95069
+ * @memberof ClinicalAppointment.ClinicalAppointmentMemberReview
95070
+ * @instance
95071
+ */
95072
+ ClinicalAppointmentMemberReview.prototype.variant = 0;
95073
+
95029
95074
  /**
95030
95075
  * Creates a new ClinicalAppointmentMemberReview instance using the specified properties.
95031
95076
  * @function create
@@ -95058,6 +95103,16 @@ $root.ClinicalAppointment = (function() {
95058
95103
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.memberComment);
95059
95104
  if (message.memberLeftTime != null && message.hasOwnProperty("memberLeftTime"))
95060
95105
  writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.memberLeftTime);
95106
+ if (message.seenAndHeardRating != null && message.hasOwnProperty("seenAndHeardRating"))
95107
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.seenAndHeardRating);
95108
+ if (message.understoodRating != null && message.hasOwnProperty("understoodRating"))
95109
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.understoodRating);
95110
+ if (message.feltSupportedRating != null && message.hasOwnProperty("feltSupportedRating"))
95111
+ writer.uint32(/* id 7, wireType 0 =*/56).int32(message.feltSupportedRating);
95112
+ if (message.approachRating != null && message.hasOwnProperty("approachRating"))
95113
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.approachRating);
95114
+ if (message.variant != null && message.hasOwnProperty("variant"))
95115
+ writer.uint32(/* id 9, wireType 0 =*/72).int32(message.variant);
95061
95116
  return writer;
95062
95117
  };
95063
95118
 
@@ -95104,6 +95159,21 @@ $root.ClinicalAppointment = (function() {
95104
95159
  case 4:
95105
95160
  message.memberLeftTime = reader.uint64();
95106
95161
  break;
95162
+ case 5:
95163
+ message.seenAndHeardRating = reader.int32();
95164
+ break;
95165
+ case 6:
95166
+ message.understoodRating = reader.int32();
95167
+ break;
95168
+ case 7:
95169
+ message.feltSupportedRating = reader.int32();
95170
+ break;
95171
+ case 8:
95172
+ message.approachRating = reader.int32();
95173
+ break;
95174
+ case 9:
95175
+ message.variant = reader.int32();
95176
+ break;
95107
95177
  default:
95108
95178
  reader.skipType(tag & 7);
95109
95179
  break;
@@ -95151,6 +95221,27 @@ $root.ClinicalAppointment = (function() {
95151
95221
  if (message.memberLeftTime != null && message.hasOwnProperty("memberLeftTime"))
95152
95222
  if (!$util.isInteger(message.memberLeftTime) && !(message.memberLeftTime && $util.isInteger(message.memberLeftTime.low) && $util.isInteger(message.memberLeftTime.high)))
95153
95223
  return "memberLeftTime: integer|Long expected";
95224
+ if (message.seenAndHeardRating != null && message.hasOwnProperty("seenAndHeardRating"))
95225
+ if (!$util.isInteger(message.seenAndHeardRating))
95226
+ return "seenAndHeardRating: integer expected";
95227
+ if (message.understoodRating != null && message.hasOwnProperty("understoodRating"))
95228
+ if (!$util.isInteger(message.understoodRating))
95229
+ return "understoodRating: integer expected";
95230
+ if (message.feltSupportedRating != null && message.hasOwnProperty("feltSupportedRating"))
95231
+ if (!$util.isInteger(message.feltSupportedRating))
95232
+ return "feltSupportedRating: integer expected";
95233
+ if (message.approachRating != null && message.hasOwnProperty("approachRating"))
95234
+ if (!$util.isInteger(message.approachRating))
95235
+ return "approachRating: integer expected";
95236
+ if (message.variant != null && message.hasOwnProperty("variant"))
95237
+ switch (message.variant) {
95238
+ default:
95239
+ return "variant: enum value expected";
95240
+ case 0:
95241
+ case 1:
95242
+ case 2:
95243
+ break;
95244
+ }
95154
95245
  return null;
95155
95246
  };
95156
95247
 
@@ -95188,6 +95279,28 @@ $root.ClinicalAppointment = (function() {
95188
95279
  message.memberLeftTime = object.memberLeftTime;
95189
95280
  else if (typeof object.memberLeftTime === "object")
95190
95281
  message.memberLeftTime = new $util.LongBits(object.memberLeftTime.low >>> 0, object.memberLeftTime.high >>> 0).toNumber(true);
95282
+ if (object.seenAndHeardRating != null)
95283
+ message.seenAndHeardRating = object.seenAndHeardRating | 0;
95284
+ if (object.understoodRating != null)
95285
+ message.understoodRating = object.understoodRating | 0;
95286
+ if (object.feltSupportedRating != null)
95287
+ message.feltSupportedRating = object.feltSupportedRating | 0;
95288
+ if (object.approachRating != null)
95289
+ message.approachRating = object.approachRating | 0;
95290
+ switch (object.variant) {
95291
+ case "EXPERIMENT_VARIANT_UNKNOWN":
95292
+ case 0:
95293
+ message.variant = 0;
95294
+ break;
95295
+ case "EXPERIMENT_VARIANT_A":
95296
+ case 1:
95297
+ message.variant = 1;
95298
+ break;
95299
+ case "EXPERIMENT_VARIANT_B":
95300
+ case 2:
95301
+ message.variant = 2;
95302
+ break;
95303
+ }
95191
95304
  return message;
95192
95305
  };
95193
95306
 
@@ -95217,6 +95330,11 @@ $root.ClinicalAppointment = (function() {
95217
95330
  object.memberLeftTime = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
95218
95331
  } else
95219
95332
  object.memberLeftTime = options.longs === String ? "0" : 0;
95333
+ object.seenAndHeardRating = 0;
95334
+ object.understoodRating = 0;
95335
+ object.feltSupportedRating = 0;
95336
+ object.approachRating = 0;
95337
+ object.variant = options.enums === String ? "EXPERIMENT_VARIANT_UNKNOWN" : 0;
95220
95338
  }
95221
95339
  if (message.memberRating != null && message.hasOwnProperty("memberRating"))
95222
95340
  object.memberRating = message.memberRating;
@@ -95232,6 +95350,16 @@ $root.ClinicalAppointment = (function() {
95232
95350
  object.memberLeftTime = options.longs === String ? String(message.memberLeftTime) : message.memberLeftTime;
95233
95351
  else
95234
95352
  object.memberLeftTime = options.longs === String ? $util.Long.prototype.toString.call(message.memberLeftTime) : options.longs === Number ? new $util.LongBits(message.memberLeftTime.low >>> 0, message.memberLeftTime.high >>> 0).toNumber(true) : message.memberLeftTime;
95353
+ if (message.seenAndHeardRating != null && message.hasOwnProperty("seenAndHeardRating"))
95354
+ object.seenAndHeardRating = message.seenAndHeardRating;
95355
+ if (message.understoodRating != null && message.hasOwnProperty("understoodRating"))
95356
+ object.understoodRating = message.understoodRating;
95357
+ if (message.feltSupportedRating != null && message.hasOwnProperty("feltSupportedRating"))
95358
+ object.feltSupportedRating = message.feltSupportedRating;
95359
+ if (message.approachRating != null && message.hasOwnProperty("approachRating"))
95360
+ object.approachRating = message.approachRating;
95361
+ if (message.variant != null && message.hasOwnProperty("variant"))
95362
+ object.variant = options.enums === String ? $root.coaching.ExperimentVariant[message.variant] : message.variant;
95235
95363
  return object;
95236
95364
  };
95237
95365
 
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.655.0"
19
+ "version": "1.656.0"
20
20
  }