@headspace/protos-events 1.654.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
@@ -60123,6 +60153,9 @@ export interface IOrgCoverageProfile {
60123
60153
 
60124
60154
  /** OrgCoverageProfile headspaceHealthOrgId */
60125
60155
  headspaceHealthOrgId?: (string|null);
60156
+
60157
+ /** OrgCoverageProfile enrollmentFlow */
60158
+ enrollmentFlow?: (b2b.EnrollmentFlow|null);
60126
60159
  }
60127
60160
 
60128
60161
  /** Represents an OrgCoverageProfile. */
@@ -60155,6 +60188,9 @@ export class OrgCoverageProfile implements IOrgCoverageProfile {
60155
60188
  /** OrgCoverageProfile headspaceHealthOrgId. */
60156
60189
  public headspaceHealthOrgId: string;
60157
60190
 
60191
+ /** OrgCoverageProfile enrollmentFlow. */
60192
+ public enrollmentFlow: b2b.EnrollmentFlow;
60193
+
60158
60194
  /**
60159
60195
  * Creates a new OrgCoverageProfile instance using the specified properties.
60160
60196
  * @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
 
@@ -168441,6 +168569,7 @@ $root.OrgCoverageProfile = (function() {
168441
168569
  * @property {number|Long|null} [careOrgId] OrgCoverageProfile careOrgId
168442
168570
  * @property {number|Long|null} [headspaceOrgId] OrgCoverageProfile headspaceOrgId
168443
168571
  * @property {string|null} [headspaceHealthOrgId] OrgCoverageProfile headspaceHealthOrgId
168572
+ * @property {b2b.EnrollmentFlow|null} [enrollmentFlow] OrgCoverageProfile enrollmentFlow
168444
168573
  */
168445
168574
 
168446
168575
  /**
@@ -168514,6 +168643,14 @@ $root.OrgCoverageProfile = (function() {
168514
168643
  */
168515
168644
  OrgCoverageProfile.prototype.headspaceHealthOrgId = "";
168516
168645
 
168646
+ /**
168647
+ * OrgCoverageProfile enrollmentFlow.
168648
+ * @member {b2b.EnrollmentFlow} enrollmentFlow
168649
+ * @memberof OrgCoverageProfile
168650
+ * @instance
168651
+ */
168652
+ OrgCoverageProfile.prototype.enrollmentFlow = 0;
168653
+
168517
168654
  /**
168518
168655
  * Creates a new OrgCoverageProfile instance using the specified properties.
168519
168656
  * @function create
@@ -168552,6 +168689,8 @@ $root.OrgCoverageProfile = (function() {
168552
168689
  writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.headspaceOrgId);
168553
168690
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
168554
168691
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.headspaceHealthOrgId);
168692
+ if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
168693
+ writer.uint32(/* id 9, wireType 0 =*/72).int32(message.enrollmentFlow);
168555
168694
  return writer;
168556
168695
  };
168557
168696
 
@@ -168607,6 +168746,9 @@ $root.OrgCoverageProfile = (function() {
168607
168746
  case 8:
168608
168747
  message.headspaceHealthOrgId = reader.string();
168609
168748
  break;
168749
+ case 9:
168750
+ message.enrollmentFlow = reader.int32();
168751
+ break;
168610
168752
  default:
168611
168753
  reader.skipType(tag & 7);
168612
168754
  break;
@@ -168684,6 +168826,18 @@ $root.OrgCoverageProfile = (function() {
168684
168826
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
168685
168827
  if (!$util.isString(message.headspaceHealthOrgId))
168686
168828
  return "headspaceHealthOrgId: string expected";
168829
+ if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
168830
+ switch (message.enrollmentFlow) {
168831
+ default:
168832
+ return "enrollmentFlow: enum value expected";
168833
+ case 0:
168834
+ case 1:
168835
+ case 2:
168836
+ case 3:
168837
+ case 4:
168838
+ case 5:
168839
+ break;
168840
+ }
168687
168841
  return null;
168688
168842
  };
168689
168843
 
@@ -168782,6 +168936,32 @@ $root.OrgCoverageProfile = (function() {
168782
168936
  message.headspaceOrgId = new $util.LongBits(object.headspaceOrgId.low >>> 0, object.headspaceOrgId.high >>> 0).toNumber(true);
168783
168937
  if (object.headspaceHealthOrgId != null)
168784
168938
  message.headspaceHealthOrgId = String(object.headspaceHealthOrgId);
168939
+ switch (object.enrollmentFlow) {
168940
+ case "ENROLLMENT_FLOW_UNKNOWN":
168941
+ case 0:
168942
+ message.enrollmentFlow = 0;
168943
+ break;
168944
+ case "ENROLLMENT_FLOW_HEADSPACE":
168945
+ case 1:
168946
+ message.enrollmentFlow = 1;
168947
+ break;
168948
+ case "ENROLLMENT_FLOW_CONNECTED":
168949
+ case 2:
168950
+ message.enrollmentFlow = 2;
168951
+ break;
168952
+ case "ENROLLMENT_FLOW_UMD":
168953
+ case 3:
168954
+ message.enrollmentFlow = 3;
168955
+ break;
168956
+ case "ENROLLMENT_FLOW_FUSION":
168957
+ case 4:
168958
+ message.enrollmentFlow = 4;
168959
+ break;
168960
+ case "ENROLLMENT_FLOW_GINGER":
168961
+ case 5:
168962
+ message.enrollmentFlow = 5;
168963
+ break;
168964
+ }
168785
168965
  return message;
168786
168966
  };
168787
168967
 
@@ -168818,6 +168998,7 @@ $root.OrgCoverageProfile = (function() {
168818
168998
  } else
168819
168999
  object.headspaceOrgId = options.longs === String ? "0" : 0;
168820
169000
  object.headspaceHealthOrgId = "";
169001
+ object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
168821
169002
  }
168822
169003
  if (message.type != null && message.hasOwnProperty("type"))
168823
169004
  object.type = options.enums === String ? $root.OrgCoverageType[message.type] : message.type;
@@ -168842,6 +169023,8 @@ $root.OrgCoverageProfile = (function() {
168842
169023
  object.headspaceOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.headspaceOrgId) : options.longs === Number ? new $util.LongBits(message.headspaceOrgId.low >>> 0, message.headspaceOrgId.high >>> 0).toNumber(true) : message.headspaceOrgId;
168843
169024
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
168844
169025
  object.headspaceHealthOrgId = message.headspaceHealthOrgId;
169026
+ if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
169027
+ object.enrollmentFlow = options.enums === String ? $root.b2b.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
168845
169028
  return object;
168846
169029
  };
168847
169030
 
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.654.0"
19
+ "version": "1.656.0"
20
20
  }