@headspace/protos-events 1.698.0 → 1.700.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
@@ -2281,6 +2281,9 @@ export interface IEligibilityLinked {
2281
2281
 
2282
2282
  /** EligibilityLinked enrollmentFlow */
2283
2283
  enrollmentFlow?: (b2b.EnrollmentFlow|null);
2284
+
2285
+ /** EligibilityLinked eligibilityRecordUuid */
2286
+ eligibilityRecordUuid?: (string|null);
2284
2287
  }
2285
2288
 
2286
2289
  /** Represents an EligibilityLinked. */
@@ -2337,6 +2340,9 @@ export class EligibilityLinked implements IEligibilityLinked {
2337
2340
  /** EligibilityLinked enrollmentFlow. */
2338
2341
  public enrollmentFlow: b2b.EnrollmentFlow;
2339
2342
 
2343
+ /** EligibilityLinked eligibilityRecordUuid. */
2344
+ public eligibilityRecordUuid: string;
2345
+
2340
2346
  /**
2341
2347
  * Creates a new EligibilityLinked instance using the specified properties.
2342
2348
  * @param [properties] Properties to set
@@ -57213,6 +57219,9 @@ export namespace clinical {
57213
57219
 
57214
57220
  /** CoachingChatMessage language */
57215
57221
  language?: (clinical.CoachingChatMessageLanguage|null);
57222
+
57223
+ /** CoachingChatMessage messageType */
57224
+ messageType?: (clinical.CoachingChatMessageType|null);
57216
57225
  }
57217
57226
 
57218
57227
  /** Represents a CoachingChatMessage. */
@@ -57245,6 +57254,9 @@ export namespace clinical {
57245
57254
  /** CoachingChatMessage language. */
57246
57255
  public language: clinical.CoachingChatMessageLanguage;
57247
57256
 
57257
+ /** CoachingChatMessage messageType. */
57258
+ public messageType: clinical.CoachingChatMessageType;
57259
+
57248
57260
  /**
57249
57261
  * Creates a new CoachingChatMessage instance using the specified properties.
57250
57262
  * @param [properties] Properties to set
@@ -57332,6 +57344,14 @@ export namespace clinical {
57332
57344
  COACHING_CHAT_MESSAGE_LANGUAGE_SPANISH = 3
57333
57345
  }
57334
57346
 
57347
+ /** CoachingChatMessageType enum. */
57348
+ enum CoachingChatMessageType {
57349
+ COACHING_CHAT_MESSAGE_TYPE_UNKNOWN = 0,
57350
+ COACHING_CHAT_MESSAGE_TYPE_MANUAL = 1,
57351
+ COACHING_CHAT_MESSAGE_TYPE_MEMBER_AUTOMESSAGE = 2,
57352
+ COACHING_CHAT_MESSAGE_TYPE_COACH_AUTOMESSAGE = 3
57353
+ }
57354
+
57335
57355
  /** ClinicalAppointmentSource enum. */
57336
57356
  enum ClinicalAppointmentSource {
57337
57357
  CLINICAL_APPOINTMENT_SOURCE_UNKNOWN = 0,
package/lib/index.js CHANGED
@@ -6906,6 +6906,7 @@ $root.EligibilityLinked = (function() {
6906
6906
  * @property {string|null} [countryStateCode] EligibilityLinked countryStateCode
6907
6907
  * @property {string|null} [dependentOf] EligibilityLinked dependentOf
6908
6908
  * @property {b2b.EnrollmentFlow|null} [enrollmentFlow] EligibilityLinked enrollmentFlow
6909
+ * @property {string|null} [eligibilityRecordUuid] EligibilityLinked eligibilityRecordUuid
6909
6910
  */
6910
6911
 
6911
6912
  /**
@@ -7044,6 +7045,14 @@ $root.EligibilityLinked = (function() {
7044
7045
  */
7045
7046
  EligibilityLinked.prototype.enrollmentFlow = 0;
7046
7047
 
7048
+ /**
7049
+ * EligibilityLinked eligibilityRecordUuid.
7050
+ * @member {string} eligibilityRecordUuid
7051
+ * @memberof EligibilityLinked
7052
+ * @instance
7053
+ */
7054
+ EligibilityLinked.prototype.eligibilityRecordUuid = "";
7055
+
7047
7056
  /**
7048
7057
  * Creates a new EligibilityLinked instance using the specified properties.
7049
7058
  * @function create
@@ -7099,6 +7108,8 @@ $root.EligibilityLinked = (function() {
7099
7108
  writer.uint32(/* id 14, wireType 2 =*/114).string(message.dependentOf);
7100
7109
  if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
7101
7110
  writer.uint32(/* id 15, wireType 0 =*/120).int32(message.enrollmentFlow);
7111
+ if (message.eligibilityRecordUuid != null && message.hasOwnProperty("eligibilityRecordUuid"))
7112
+ writer.uint32(/* id 16, wireType 2 =*/130).string(message.eligibilityRecordUuid);
7102
7113
  return writer;
7103
7114
  };
7104
7115
 
@@ -7180,6 +7191,9 @@ $root.EligibilityLinked = (function() {
7180
7191
  case 15:
7181
7192
  message.enrollmentFlow = reader.int32();
7182
7193
  break;
7194
+ case 16:
7195
+ message.eligibilityRecordUuid = reader.string();
7196
+ break;
7183
7197
  default:
7184
7198
  reader.skipType(tag & 7);
7185
7199
  break;
@@ -7278,6 +7292,9 @@ $root.EligibilityLinked = (function() {
7278
7292
  case 5:
7279
7293
  break;
7280
7294
  }
7295
+ if (message.eligibilityRecordUuid != null && message.hasOwnProperty("eligibilityRecordUuid"))
7296
+ if (!$util.isString(message.eligibilityRecordUuid))
7297
+ return "eligibilityRecordUuid: string expected";
7281
7298
  return null;
7282
7299
  };
7283
7300
 
@@ -7374,6 +7391,8 @@ $root.EligibilityLinked = (function() {
7374
7391
  message.enrollmentFlow = 5;
7375
7392
  break;
7376
7393
  }
7394
+ if (object.eligibilityRecordUuid != null)
7395
+ message.eligibilityRecordUuid = String(object.eligibilityRecordUuid);
7377
7396
  return message;
7378
7397
  };
7379
7398
 
@@ -7415,6 +7434,7 @@ $root.EligibilityLinked = (function() {
7415
7434
  object.countryStateCode = "";
7416
7435
  object.dependentOf = "";
7417
7436
  object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
7437
+ object.eligibilityRecordUuid = "";
7418
7438
  }
7419
7439
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
7420
7440
  object.headspaceHealthOrgId = message.headspaceHealthOrgId;
@@ -7455,6 +7475,8 @@ $root.EligibilityLinked = (function() {
7455
7475
  object.dependentOf = message.dependentOf;
7456
7476
  if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
7457
7477
  object.enrollmentFlow = options.enums === String ? $root.b2b.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
7478
+ if (message.eligibilityRecordUuid != null && message.hasOwnProperty("eligibilityRecordUuid"))
7479
+ object.eligibilityRecordUuid = message.eligibilityRecordUuid;
7458
7480
  return object;
7459
7481
  };
7460
7482
 
@@ -164554,6 +164576,7 @@ $root.clinical = (function() {
164554
164576
  * @property {number|Long|null} [createdAt] CoachingChatMessage createdAt
164555
164577
  * @property {string|null} [senderHsUserId] CoachingChatMessage senderHsUserId
164556
164578
  * @property {clinical.CoachingChatMessageLanguage|null} [language] CoachingChatMessage language
164579
+ * @property {clinical.CoachingChatMessageType|null} [messageType] CoachingChatMessage messageType
164557
164580
  */
164558
164581
 
164559
164582
  /**
@@ -164627,6 +164650,14 @@ $root.clinical = (function() {
164627
164650
  */
164628
164651
  CoachingChatMessage.prototype.language = 0;
164629
164652
 
164653
+ /**
164654
+ * CoachingChatMessage messageType.
164655
+ * @member {clinical.CoachingChatMessageType} messageType
164656
+ * @memberof clinical.CoachingChatMessage
164657
+ * @instance
164658
+ */
164659
+ CoachingChatMessage.prototype.messageType = 0;
164660
+
164630
164661
  /**
164631
164662
  * Creates a new CoachingChatMessage instance using the specified properties.
164632
164663
  * @function create
@@ -164665,6 +164696,8 @@ $root.clinical = (function() {
164665
164696
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.senderHsUserId);
164666
164697
  if (message.language != null && message.hasOwnProperty("language"))
164667
164698
  writer.uint32(/* id 7, wireType 0 =*/56).int32(message.language);
164699
+ if (message.messageType != null && message.hasOwnProperty("messageType"))
164700
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.messageType);
164668
164701
  return writer;
164669
164702
  };
164670
164703
 
@@ -164720,6 +164753,9 @@ $root.clinical = (function() {
164720
164753
  case 7:
164721
164754
  message.language = reader.int32();
164722
164755
  break;
164756
+ case 8:
164757
+ message.messageType = reader.int32();
164758
+ break;
164723
164759
  default:
164724
164760
  reader.skipType(tag & 7);
164725
164761
  break;
@@ -164790,6 +164826,16 @@ $root.clinical = (function() {
164790
164826
  case 3:
164791
164827
  break;
164792
164828
  }
164829
+ if (message.messageType != null && message.hasOwnProperty("messageType"))
164830
+ switch (message.messageType) {
164831
+ default:
164832
+ return "messageType: enum value expected";
164833
+ case 0:
164834
+ case 1:
164835
+ case 2:
164836
+ case 3:
164837
+ break;
164838
+ }
164793
164839
  return null;
164794
164840
  };
164795
164841
 
@@ -164858,6 +164904,24 @@ $root.clinical = (function() {
164858
164904
  message.language = 3;
164859
164905
  break;
164860
164906
  }
164907
+ switch (object.messageType) {
164908
+ case "COACHING_CHAT_MESSAGE_TYPE_UNKNOWN":
164909
+ case 0:
164910
+ message.messageType = 0;
164911
+ break;
164912
+ case "COACHING_CHAT_MESSAGE_TYPE_MANUAL":
164913
+ case 1:
164914
+ message.messageType = 1;
164915
+ break;
164916
+ case "COACHING_CHAT_MESSAGE_TYPE_MEMBER_AUTOMESSAGE":
164917
+ case 2:
164918
+ message.messageType = 2;
164919
+ break;
164920
+ case "COACHING_CHAT_MESSAGE_TYPE_COACH_AUTOMESSAGE":
164921
+ case 3:
164922
+ message.messageType = 3;
164923
+ break;
164924
+ }
164861
164925
  return message;
164862
164926
  };
164863
164927
 
@@ -164886,6 +164950,7 @@ $root.clinical = (function() {
164886
164950
  object.createdAt = options.longs === String ? "0" : 0;
164887
164951
  object.senderHsUserId = "";
164888
164952
  object.language = options.enums === String ? "COACHING_CHAT_MESSAGE_LANGUAGE_UNKNOWN" : 0;
164953
+ object.messageType = options.enums === String ? "COACHING_CHAT_MESSAGE_TYPE_UNKNOWN" : 0;
164889
164954
  }
164890
164955
  if (message.id != null && message.hasOwnProperty("id"))
164891
164956
  object.id = message.id;
@@ -164904,6 +164969,8 @@ $root.clinical = (function() {
164904
164969
  object.senderHsUserId = message.senderHsUserId;
164905
164970
  if (message.language != null && message.hasOwnProperty("language"))
164906
164971
  object.language = options.enums === String ? $root.clinical.CoachingChatMessageLanguage[message.language] : message.language;
164972
+ if (message.messageType != null && message.hasOwnProperty("messageType"))
164973
+ object.messageType = options.enums === String ? $root.clinical.CoachingChatMessageType[message.messageType] : message.messageType;
164907
164974
  return object;
164908
164975
  };
164909
164976
 
@@ -164957,6 +165024,24 @@ $root.clinical = (function() {
164957
165024
  return values;
164958
165025
  })();
164959
165026
 
165027
+ /**
165028
+ * CoachingChatMessageType enum.
165029
+ * @name clinical.CoachingChatMessageType
165030
+ * @enum {string}
165031
+ * @property {number} COACHING_CHAT_MESSAGE_TYPE_UNKNOWN=0 COACHING_CHAT_MESSAGE_TYPE_UNKNOWN value
165032
+ * @property {number} COACHING_CHAT_MESSAGE_TYPE_MANUAL=1 COACHING_CHAT_MESSAGE_TYPE_MANUAL value
165033
+ * @property {number} COACHING_CHAT_MESSAGE_TYPE_MEMBER_AUTOMESSAGE=2 COACHING_CHAT_MESSAGE_TYPE_MEMBER_AUTOMESSAGE value
165034
+ * @property {number} COACHING_CHAT_MESSAGE_TYPE_COACH_AUTOMESSAGE=3 COACHING_CHAT_MESSAGE_TYPE_COACH_AUTOMESSAGE value
165035
+ */
165036
+ clinical.CoachingChatMessageType = (function() {
165037
+ var valuesById = {}, values = Object.create(valuesById);
165038
+ values[valuesById[0] = "COACHING_CHAT_MESSAGE_TYPE_UNKNOWN"] = 0;
165039
+ values[valuesById[1] = "COACHING_CHAT_MESSAGE_TYPE_MANUAL"] = 1;
165040
+ values[valuesById[2] = "COACHING_CHAT_MESSAGE_TYPE_MEMBER_AUTOMESSAGE"] = 2;
165041
+ values[valuesById[3] = "COACHING_CHAT_MESSAGE_TYPE_COACH_AUTOMESSAGE"] = 3;
165042
+ return values;
165043
+ })();
165044
+
164960
165045
  /**
164961
165046
  * ClinicalAppointmentSource enum.
164962
165047
  * @name clinical.ClinicalAppointmentSource
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.698.0"
19
+ "version": "1.700.0"
20
20
  }