@headspace/protos-events 1.618.0 → 1.620.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
@@ -52415,6 +52415,9 @@ export interface IEnterpriseUserEnrollmentCreated {
52415
52415
 
52416
52416
  /** EnterpriseUserEnrollmentCreated clinicalServiceType */
52417
52417
  clinicalServiceType?: (b2b.ClinicalServiceType|null);
52418
+
52419
+ /** EnterpriseUserEnrollmentCreated clinicalCoverageType */
52420
+ clinicalCoverageType?: (b2b.ClinicalCoverageType|null);
52418
52421
  }
52419
52422
 
52420
52423
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -52552,6 +52555,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
52552
52555
  /** EnterpriseUserEnrollmentCreated clinicalServiceType. */
52553
52556
  public clinicalServiceType: b2b.ClinicalServiceType;
52554
52557
 
52558
+ /** EnterpriseUserEnrollmentCreated clinicalCoverageType. */
52559
+ public clinicalCoverageType: b2b.ClinicalCoverageType;
52560
+
52555
52561
  /**
52556
52562
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
52557
52563
  * @param [properties] Properties to set
@@ -52736,6 +52742,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
52736
52742
 
52737
52743
  /** EnterpriseUserEnrollmentRemoved clinicalServiceType */
52738
52744
  clinicalServiceType?: (b2b.ClinicalServiceType|null);
52745
+
52746
+ /** EnterpriseUserEnrollmentRemoved clinicalCoverageType */
52747
+ clinicalCoverageType?: (b2b.ClinicalCoverageType|null);
52739
52748
  }
52740
52749
 
52741
52750
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -52858,6 +52867,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
52858
52867
  /** EnterpriseUserEnrollmentRemoved clinicalServiceType. */
52859
52868
  public clinicalServiceType: b2b.ClinicalServiceType;
52860
52869
 
52870
+ /** EnterpriseUserEnrollmentRemoved clinicalCoverageType. */
52871
+ public clinicalCoverageType: b2b.ClinicalCoverageType;
52872
+
52861
52873
  /**
52862
52874
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
52863
52875
  * @param [properties] Properties to set
@@ -53054,6 +53066,9 @@ export interface IEnterpriseUserEnrollmentAmended {
53054
53066
 
53055
53067
  /** EnterpriseUserEnrollmentAmended clinicalServiceType */
53056
53068
  clinicalServiceType?: (b2b.ClinicalServiceType|null);
53069
+
53070
+ /** EnterpriseUserEnrollmentAmended clinicalCoverageType */
53071
+ clinicalCoverageType?: (b2b.ClinicalCoverageType|null);
53057
53072
  }
53058
53073
 
53059
53074
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -53188,6 +53203,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
53188
53203
  /** EnterpriseUserEnrollmentAmended clinicalServiceType. */
53189
53204
  public clinicalServiceType: b2b.ClinicalServiceType;
53190
53205
 
53206
+ /** EnterpriseUserEnrollmentAmended clinicalCoverageType. */
53207
+ public clinicalCoverageType: b2b.ClinicalCoverageType;
53208
+
53191
53209
  /**
53192
53210
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
53193
53211
  * @param [properties] Properties to set
@@ -66386,3 +66404,93 @@ export class CareCoachingInteractionStarted implements ICareCoachingInteractionS
66386
66404
  */
66387
66405
  public toJSON(): { [k: string]: any };
66388
66406
  }
66407
+
66408
+ /** Properties of a MemberSupportChatStatusPendingChanged. */
66409
+ export interface IMemberSupportChatStatusPendingChanged {
66410
+
66411
+ /** MemberSupportChatStatusPendingChanged hsUserId */
66412
+ hsUserId?: (string|null);
66413
+ }
66414
+
66415
+ /** Represents a MemberSupportChatStatusPendingChanged. */
66416
+ export class MemberSupportChatStatusPendingChanged implements IMemberSupportChatStatusPendingChanged {
66417
+
66418
+ /**
66419
+ * Constructs a new MemberSupportChatStatusPendingChanged.
66420
+ * @param [properties] Properties to set
66421
+ */
66422
+ constructor(properties?: IMemberSupportChatStatusPendingChanged);
66423
+
66424
+ /** MemberSupportChatStatusPendingChanged hsUserId. */
66425
+ public hsUserId: string;
66426
+
66427
+ /**
66428
+ * Creates a new MemberSupportChatStatusPendingChanged instance using the specified properties.
66429
+ * @param [properties] Properties to set
66430
+ * @returns MemberSupportChatStatusPendingChanged instance
66431
+ */
66432
+ public static create(properties?: IMemberSupportChatStatusPendingChanged): MemberSupportChatStatusPendingChanged;
66433
+
66434
+ /**
66435
+ * Encodes the specified MemberSupportChatStatusPendingChanged message. Does not implicitly {@link MemberSupportChatStatusPendingChanged.verify|verify} messages.
66436
+ * @param message MemberSupportChatStatusPendingChanged message or plain object to encode
66437
+ * @param [writer] Writer to encode to
66438
+ * @returns Writer
66439
+ */
66440
+ public static encode(message: IMemberSupportChatStatusPendingChanged, writer?: $protobuf.Writer): $protobuf.Writer;
66441
+
66442
+ /**
66443
+ * Encodes the specified MemberSupportChatStatusPendingChanged message, length delimited. Does not implicitly {@link MemberSupportChatStatusPendingChanged.verify|verify} messages.
66444
+ * @param message MemberSupportChatStatusPendingChanged message or plain object to encode
66445
+ * @param [writer] Writer to encode to
66446
+ * @returns Writer
66447
+ */
66448
+ public static encodeDelimited(message: IMemberSupportChatStatusPendingChanged, writer?: $protobuf.Writer): $protobuf.Writer;
66449
+
66450
+ /**
66451
+ * Decodes a MemberSupportChatStatusPendingChanged message from the specified reader or buffer.
66452
+ * @param reader Reader or buffer to decode from
66453
+ * @param [length] Message length if known beforehand
66454
+ * @returns MemberSupportChatStatusPendingChanged
66455
+ * @throws {Error} If the payload is not a reader or valid buffer
66456
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
66457
+ */
66458
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MemberSupportChatStatusPendingChanged;
66459
+
66460
+ /**
66461
+ * Decodes a MemberSupportChatStatusPendingChanged message from the specified reader or buffer, length delimited.
66462
+ * @param reader Reader or buffer to decode from
66463
+ * @returns MemberSupportChatStatusPendingChanged
66464
+ * @throws {Error} If the payload is not a reader or valid buffer
66465
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
66466
+ */
66467
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MemberSupportChatStatusPendingChanged;
66468
+
66469
+ /**
66470
+ * Verifies a MemberSupportChatStatusPendingChanged message.
66471
+ * @param message Plain object to verify
66472
+ * @returns `null` if valid, otherwise the reason why it is not
66473
+ */
66474
+ public static verify(message: { [k: string]: any }): (string|null);
66475
+
66476
+ /**
66477
+ * Creates a MemberSupportChatStatusPendingChanged message from a plain object. Also converts values to their respective internal types.
66478
+ * @param object Plain object
66479
+ * @returns MemberSupportChatStatusPendingChanged
66480
+ */
66481
+ public static fromObject(object: { [k: string]: any }): MemberSupportChatStatusPendingChanged;
66482
+
66483
+ /**
66484
+ * Creates a plain object from a MemberSupportChatStatusPendingChanged message. Also converts values to other types if specified.
66485
+ * @param message MemberSupportChatStatusPendingChanged
66486
+ * @param [options] Conversion options
66487
+ * @returns Plain object
66488
+ */
66489
+ public static toObject(message: MemberSupportChatStatusPendingChanged, options?: $protobuf.IConversionOptions): { [k: string]: any };
66490
+
66491
+ /**
66492
+ * Converts this MemberSupportChatStatusPendingChanged to JSON.
66493
+ * @returns JSON object
66494
+ */
66495
+ public toJSON(): { [k: string]: any };
66496
+ }
package/lib/index.js CHANGED
@@ -144377,6 +144377,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
144377
144377
  * @property {b2b.ClinicalCoverageProvider|null} [clinicalCoverageProvider] EnterpriseUserEnrollmentCreated clinicalCoverageProvider
144378
144378
  * @property {number|null} [clinicalCoverageTotal] EnterpriseUserEnrollmentCreated clinicalCoverageTotal
144379
144379
  * @property {b2b.ClinicalServiceType|null} [clinicalServiceType] EnterpriseUserEnrollmentCreated clinicalServiceType
144380
+ * @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] EnterpriseUserEnrollmentCreated clinicalCoverageType
144380
144381
  */
144381
144382
 
144382
144383
  /**
@@ -144730,6 +144731,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
144730
144731
  */
144731
144732
  EnterpriseUserEnrollmentCreated.prototype.clinicalServiceType = 0;
144732
144733
 
144734
+ /**
144735
+ * EnterpriseUserEnrollmentCreated clinicalCoverageType.
144736
+ * @member {b2b.ClinicalCoverageType} clinicalCoverageType
144737
+ * @memberof EnterpriseUserEnrollmentCreated
144738
+ * @instance
144739
+ */
144740
+ EnterpriseUserEnrollmentCreated.prototype.clinicalCoverageType = 0;
144741
+
144733
144742
  /**
144734
144743
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
144735
144744
  * @function create
@@ -144838,6 +144847,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
144838
144847
  writer.uint32(/* id 46, wireType 0 =*/368).uint32(message.clinicalCoverageTotal);
144839
144848
  if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
144840
144849
  writer.uint32(/* id 47, wireType 0 =*/376).int32(message.clinicalServiceType);
144850
+ if (message.clinicalCoverageType != null && message.hasOwnProperty("clinicalCoverageType"))
144851
+ writer.uint32(/* id 48, wireType 0 =*/384).int32(message.clinicalCoverageType);
144841
144852
  return writer;
144842
144853
  };
144843
144854
 
@@ -144998,6 +145009,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
144998
145009
  case 47:
144999
145010
  message.clinicalServiceType = reader.int32();
145000
145011
  break;
145012
+ case 48:
145013
+ message.clinicalCoverageType = reader.int32();
145014
+ break;
145001
145015
  default:
145002
145016
  reader.skipType(tag & 7);
145003
145017
  break;
@@ -145218,6 +145232,16 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
145218
145232
  case 3:
145219
145233
  break;
145220
145234
  }
145235
+ if (message.clinicalCoverageType != null && message.hasOwnProperty("clinicalCoverageType"))
145236
+ switch (message.clinicalCoverageType) {
145237
+ default:
145238
+ return "clinicalCoverageType: enum value expected";
145239
+ case 0:
145240
+ case 1:
145241
+ case 2:
145242
+ case 3:
145243
+ break;
145244
+ }
145221
145245
  return null;
145222
145246
  };
145223
145247
 
@@ -145492,6 +145516,24 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
145492
145516
  message.clinicalServiceType = 3;
145493
145517
  break;
145494
145518
  }
145519
+ switch (object.clinicalCoverageType) {
145520
+ case "CLINICAL_COVERAGE_TYPE_UNKNOWN":
145521
+ case 0:
145522
+ message.clinicalCoverageType = 0;
145523
+ break;
145524
+ case "CLINICAL_COVERAGE_TYPE_NONE":
145525
+ case 1:
145526
+ message.clinicalCoverageType = 1;
145527
+ break;
145528
+ case "CLINICAL_COVERAGE_TYPE_EAP_V2":
145529
+ case 2:
145530
+ message.clinicalCoverageType = 2;
145531
+ break;
145532
+ case "CLINICAL_COVERAGE_TYPE_INTL_THERAPY":
145533
+ case 3:
145534
+ message.clinicalCoverageType = 3;
145535
+ break;
145536
+ }
145495
145537
  return message;
145496
145538
  };
145497
145539
 
@@ -145571,6 +145613,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
145571
145613
  object.clinicalCoverageProvider = options.enums === String ? "CLINICAL_COVERAGE_PROVIDER_UNKNOWN" : 0;
145572
145614
  object.clinicalCoverageTotal = 0;
145573
145615
  object.clinicalServiceType = options.enums === String ? "CLINICAL_SERVICE_TYPE_UNKNOWN" : 0;
145616
+ object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
145574
145617
  }
145575
145618
  if (message.userId != null && message.hasOwnProperty("userId"))
145576
145619
  object.userId = message.userId;
@@ -145671,6 +145714,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
145671
145714
  object.clinicalCoverageTotal = message.clinicalCoverageTotal;
145672
145715
  if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
145673
145716
  object.clinicalServiceType = options.enums === String ? $root.b2b.ClinicalServiceType[message.clinicalServiceType] : message.clinicalServiceType;
145717
+ if (message.clinicalCoverageType != null && message.hasOwnProperty("clinicalCoverageType"))
145718
+ object.clinicalCoverageType = options.enums === String ? $root.b2b.ClinicalCoverageType[message.clinicalCoverageType] : message.clinicalCoverageType;
145674
145719
  return object;
145675
145720
  };
145676
145721
 
@@ -145731,6 +145776,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
145731
145776
  * @property {b2b.ClinicalCoverageProvider|null} [clinicalCoverageProvider] EnterpriseUserEnrollmentRemoved clinicalCoverageProvider
145732
145777
  * @property {number|null} [clinicalCoverageTotal] EnterpriseUserEnrollmentRemoved clinicalCoverageTotal
145733
145778
  * @property {b2b.ClinicalServiceType|null} [clinicalServiceType] EnterpriseUserEnrollmentRemoved clinicalServiceType
145779
+ * @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] EnterpriseUserEnrollmentRemoved clinicalCoverageType
145734
145780
  */
145735
145781
 
145736
145782
  /**
@@ -146044,6 +146090,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
146044
146090
  */
146045
146091
  EnterpriseUserEnrollmentRemoved.prototype.clinicalServiceType = 0;
146046
146092
 
146093
+ /**
146094
+ * EnterpriseUserEnrollmentRemoved clinicalCoverageType.
146095
+ * @member {b2b.ClinicalCoverageType} clinicalCoverageType
146096
+ * @memberof EnterpriseUserEnrollmentRemoved
146097
+ * @instance
146098
+ */
146099
+ EnterpriseUserEnrollmentRemoved.prototype.clinicalCoverageType = 0;
146100
+
146047
146101
  /**
146048
146102
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
146049
146103
  * @function create
@@ -146142,6 +146196,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
146142
146196
  writer.uint32(/* id 41, wireType 0 =*/328).uint32(message.clinicalCoverageTotal);
146143
146197
  if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
146144
146198
  writer.uint32(/* id 42, wireType 0 =*/336).int32(message.clinicalServiceType);
146199
+ if (message.clinicalCoverageType != null && message.hasOwnProperty("clinicalCoverageType"))
146200
+ writer.uint32(/* id 43, wireType 0 =*/344).int32(message.clinicalCoverageType);
146145
146201
  return writer;
146146
146202
  };
146147
146203
 
@@ -146287,6 +146343,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
146287
146343
  case 42:
146288
146344
  message.clinicalServiceType = reader.int32();
146289
146345
  break;
146346
+ case 43:
146347
+ message.clinicalCoverageType = reader.int32();
146348
+ break;
146290
146349
  default:
146291
146350
  reader.skipType(tag & 7);
146292
146351
  break;
@@ -146507,6 +146566,16 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
146507
146566
  case 3:
146508
146567
  break;
146509
146568
  }
146569
+ if (message.clinicalCoverageType != null && message.hasOwnProperty("clinicalCoverageType"))
146570
+ switch (message.clinicalCoverageType) {
146571
+ default:
146572
+ return "clinicalCoverageType: enum value expected";
146573
+ case 0:
146574
+ case 1:
146575
+ case 2:
146576
+ case 3:
146577
+ break;
146578
+ }
146510
146579
  return null;
146511
146580
  };
146512
146581
 
@@ -146819,6 +146888,24 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
146819
146888
  message.clinicalServiceType = 3;
146820
146889
  break;
146821
146890
  }
146891
+ switch (object.clinicalCoverageType) {
146892
+ case "CLINICAL_COVERAGE_TYPE_UNKNOWN":
146893
+ case 0:
146894
+ message.clinicalCoverageType = 0;
146895
+ break;
146896
+ case "CLINICAL_COVERAGE_TYPE_NONE":
146897
+ case 1:
146898
+ message.clinicalCoverageType = 1;
146899
+ break;
146900
+ case "CLINICAL_COVERAGE_TYPE_EAP_V2":
146901
+ case 2:
146902
+ message.clinicalCoverageType = 2;
146903
+ break;
146904
+ case "CLINICAL_COVERAGE_TYPE_INTL_THERAPY":
146905
+ case 3:
146906
+ message.clinicalCoverageType = 3;
146907
+ break;
146908
+ }
146822
146909
  return message;
146823
146910
  };
146824
146911
 
@@ -146893,6 +146980,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
146893
146980
  object.clinicalCoverageProvider = options.enums === String ? "CLINICAL_COVERAGE_PROVIDER_UNKNOWN" : 0;
146894
146981
  object.clinicalCoverageTotal = 0;
146895
146982
  object.clinicalServiceType = options.enums === String ? "CLINICAL_SERVICE_TYPE_UNKNOWN" : 0;
146983
+ object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
146896
146984
  }
146897
146985
  if (message.userId != null && message.hasOwnProperty("userId"))
146898
146986
  object.userId = message.userId;
@@ -146983,6 +147071,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
146983
147071
  object.clinicalCoverageTotal = message.clinicalCoverageTotal;
146984
147072
  if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
146985
147073
  object.clinicalServiceType = options.enums === String ? $root.b2b.ClinicalServiceType[message.clinicalServiceType] : message.clinicalServiceType;
147074
+ if (message.clinicalCoverageType != null && message.hasOwnProperty("clinicalCoverageType"))
147075
+ object.clinicalCoverageType = options.enums === String ? $root.b2b.ClinicalCoverageType[message.clinicalCoverageType] : message.clinicalCoverageType;
146986
147076
  return object;
146987
147077
  };
146988
147078
 
@@ -147047,6 +147137,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
147047
147137
  * @property {b2b.ClinicalCoverageProvider|null} [clinicalCoverageProvider] EnterpriseUserEnrollmentAmended clinicalCoverageProvider
147048
147138
  * @property {number|null} [clinicalCoverageTotal] EnterpriseUserEnrollmentAmended clinicalCoverageTotal
147049
147139
  * @property {b2b.ClinicalServiceType|null} [clinicalServiceType] EnterpriseUserEnrollmentAmended clinicalServiceType
147140
+ * @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] EnterpriseUserEnrollmentAmended clinicalCoverageType
147050
147141
  */
147051
147142
 
147052
147143
  /**
@@ -147392,6 +147483,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
147392
147483
  */
147393
147484
  EnterpriseUserEnrollmentAmended.prototype.clinicalServiceType = 0;
147394
147485
 
147486
+ /**
147487
+ * EnterpriseUserEnrollmentAmended clinicalCoverageType.
147488
+ * @member {b2b.ClinicalCoverageType} clinicalCoverageType
147489
+ * @memberof EnterpriseUserEnrollmentAmended
147490
+ * @instance
147491
+ */
147492
+ EnterpriseUserEnrollmentAmended.prototype.clinicalCoverageType = 0;
147493
+
147395
147494
  /**
147396
147495
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
147397
147496
  * @function create
@@ -147498,6 +147597,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
147498
147597
  writer.uint32(/* id 46, wireType 0 =*/368).uint32(message.clinicalCoverageTotal);
147499
147598
  if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
147500
147599
  writer.uint32(/* id 47, wireType 0 =*/376).int32(message.clinicalServiceType);
147600
+ if (message.clinicalCoverageType != null && message.hasOwnProperty("clinicalCoverageType"))
147601
+ writer.uint32(/* id 48, wireType 0 =*/384).int32(message.clinicalCoverageType);
147501
147602
  return writer;
147502
147603
  };
147503
147604
 
@@ -147655,6 +147756,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
147655
147756
  case 47:
147656
147757
  message.clinicalServiceType = reader.int32();
147657
147758
  break;
147759
+ case 48:
147760
+ message.clinicalCoverageType = reader.int32();
147761
+ break;
147658
147762
  default:
147659
147763
  reader.skipType(tag & 7);
147660
147764
  break;
@@ -147872,6 +147976,16 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
147872
147976
  case 3:
147873
147977
  break;
147874
147978
  }
147979
+ if (message.clinicalCoverageType != null && message.hasOwnProperty("clinicalCoverageType"))
147980
+ switch (message.clinicalCoverageType) {
147981
+ default:
147982
+ return "clinicalCoverageType: enum value expected";
147983
+ case 0:
147984
+ case 1:
147985
+ case 2:
147986
+ case 3:
147987
+ break;
147988
+ }
147875
147989
  return null;
147876
147990
  };
147877
147991
 
@@ -148144,6 +148258,24 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
148144
148258
  message.clinicalServiceType = 3;
148145
148259
  break;
148146
148260
  }
148261
+ switch (object.clinicalCoverageType) {
148262
+ case "CLINICAL_COVERAGE_TYPE_UNKNOWN":
148263
+ case 0:
148264
+ message.clinicalCoverageType = 0;
148265
+ break;
148266
+ case "CLINICAL_COVERAGE_TYPE_NONE":
148267
+ case 1:
148268
+ message.clinicalCoverageType = 1;
148269
+ break;
148270
+ case "CLINICAL_COVERAGE_TYPE_EAP_V2":
148271
+ case 2:
148272
+ message.clinicalCoverageType = 2;
148273
+ break;
148274
+ case "CLINICAL_COVERAGE_TYPE_INTL_THERAPY":
148275
+ case 3:
148276
+ message.clinicalCoverageType = 3;
148277
+ break;
148278
+ }
148147
148279
  return message;
148148
148280
  };
148149
148281
 
@@ -148222,6 +148354,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
148222
148354
  object.clinicalCoverageProvider = options.enums === String ? "CLINICAL_COVERAGE_PROVIDER_UNKNOWN" : 0;
148223
148355
  object.clinicalCoverageTotal = 0;
148224
148356
  object.clinicalServiceType = options.enums === String ? "CLINICAL_SERVICE_TYPE_UNKNOWN" : 0;
148357
+ object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
148225
148358
  }
148226
148359
  if (message.userId != null && message.hasOwnProperty("userId"))
148227
148360
  object.userId = message.userId;
@@ -148320,6 +148453,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
148320
148453
  object.clinicalCoverageTotal = message.clinicalCoverageTotal;
148321
148454
  if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
148322
148455
  object.clinicalServiceType = options.enums === String ? $root.b2b.ClinicalServiceType[message.clinicalServiceType] : message.clinicalServiceType;
148456
+ if (message.clinicalCoverageType != null && message.hasOwnProperty("clinicalCoverageType"))
148457
+ object.clinicalCoverageType = options.enums === String ? $root.b2b.ClinicalCoverageType[message.clinicalCoverageType] : message.clinicalCoverageType;
148323
148458
  return object;
148324
148459
  };
148325
148460
 
@@ -186560,4 +186695,191 @@ $root.CareCoachingInteractionStarted = (function() {
186560
186695
  return CareCoachingInteractionStarted;
186561
186696
  })();
186562
186697
 
186698
+ $root.MemberSupportChatStatusPendingChanged = (function() {
186699
+
186700
+ /**
186701
+ * Properties of a MemberSupportChatStatusPendingChanged.
186702
+ * @name IMemberSupportChatStatusPendingChanged
186703
+ * @interface IMemberSupportChatStatusPendingChanged
186704
+ * @property {string|null} [hsUserId] MemberSupportChatStatusPendingChanged hsUserId
186705
+ */
186706
+
186707
+ /**
186708
+ * Constructs a new MemberSupportChatStatusPendingChanged.
186709
+ * @name MemberSupportChatStatusPendingChanged
186710
+ * @classdesc Represents a MemberSupportChatStatusPendingChanged.
186711
+ * @implements IMemberSupportChatStatusPendingChanged
186712
+ * @constructor
186713
+ * @param {IMemberSupportChatStatusPendingChanged=} [properties] Properties to set
186714
+ */
186715
+ function MemberSupportChatStatusPendingChanged(properties) {
186716
+ if (properties)
186717
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
186718
+ if (properties[keys[i]] != null)
186719
+ this[keys[i]] = properties[keys[i]];
186720
+ }
186721
+
186722
+ /**
186723
+ * MemberSupportChatStatusPendingChanged hsUserId.
186724
+ * @member {string} hsUserId
186725
+ * @memberof MemberSupportChatStatusPendingChanged
186726
+ * @instance
186727
+ */
186728
+ MemberSupportChatStatusPendingChanged.prototype.hsUserId = "";
186729
+
186730
+ /**
186731
+ * Creates a new MemberSupportChatStatusPendingChanged instance using the specified properties.
186732
+ * @function create
186733
+ * @memberof MemberSupportChatStatusPendingChanged
186734
+ * @static
186735
+ * @param {IMemberSupportChatStatusPendingChanged=} [properties] Properties to set
186736
+ * @returns {MemberSupportChatStatusPendingChanged} MemberSupportChatStatusPendingChanged instance
186737
+ */
186738
+ MemberSupportChatStatusPendingChanged.create = function create(properties) {
186739
+ return new MemberSupportChatStatusPendingChanged(properties);
186740
+ };
186741
+
186742
+ /**
186743
+ * Encodes the specified MemberSupportChatStatusPendingChanged message. Does not implicitly {@link MemberSupportChatStatusPendingChanged.verify|verify} messages.
186744
+ * @function encode
186745
+ * @memberof MemberSupportChatStatusPendingChanged
186746
+ * @static
186747
+ * @param {IMemberSupportChatStatusPendingChanged} message MemberSupportChatStatusPendingChanged message or plain object to encode
186748
+ * @param {$protobuf.Writer} [writer] Writer to encode to
186749
+ * @returns {$protobuf.Writer} Writer
186750
+ */
186751
+ MemberSupportChatStatusPendingChanged.encode = function encode(message, writer) {
186752
+ if (!writer)
186753
+ writer = $Writer.create();
186754
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
186755
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
186756
+ return writer;
186757
+ };
186758
+
186759
+ /**
186760
+ * Encodes the specified MemberSupportChatStatusPendingChanged message, length delimited. Does not implicitly {@link MemberSupportChatStatusPendingChanged.verify|verify} messages.
186761
+ * @function encodeDelimited
186762
+ * @memberof MemberSupportChatStatusPendingChanged
186763
+ * @static
186764
+ * @param {IMemberSupportChatStatusPendingChanged} message MemberSupportChatStatusPendingChanged message or plain object to encode
186765
+ * @param {$protobuf.Writer} [writer] Writer to encode to
186766
+ * @returns {$protobuf.Writer} Writer
186767
+ */
186768
+ MemberSupportChatStatusPendingChanged.encodeDelimited = function encodeDelimited(message, writer) {
186769
+ return this.encode(message, writer).ldelim();
186770
+ };
186771
+
186772
+ /**
186773
+ * Decodes a MemberSupportChatStatusPendingChanged message from the specified reader or buffer.
186774
+ * @function decode
186775
+ * @memberof MemberSupportChatStatusPendingChanged
186776
+ * @static
186777
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
186778
+ * @param {number} [length] Message length if known beforehand
186779
+ * @returns {MemberSupportChatStatusPendingChanged} MemberSupportChatStatusPendingChanged
186780
+ * @throws {Error} If the payload is not a reader or valid buffer
186781
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
186782
+ */
186783
+ MemberSupportChatStatusPendingChanged.decode = function decode(reader, length) {
186784
+ if (!(reader instanceof $Reader))
186785
+ reader = $Reader.create(reader);
186786
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.MemberSupportChatStatusPendingChanged();
186787
+ while (reader.pos < end) {
186788
+ var tag = reader.uint32();
186789
+ switch (tag >>> 3) {
186790
+ case 1:
186791
+ message.hsUserId = reader.string();
186792
+ break;
186793
+ default:
186794
+ reader.skipType(tag & 7);
186795
+ break;
186796
+ }
186797
+ }
186798
+ return message;
186799
+ };
186800
+
186801
+ /**
186802
+ * Decodes a MemberSupportChatStatusPendingChanged message from the specified reader or buffer, length delimited.
186803
+ * @function decodeDelimited
186804
+ * @memberof MemberSupportChatStatusPendingChanged
186805
+ * @static
186806
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
186807
+ * @returns {MemberSupportChatStatusPendingChanged} MemberSupportChatStatusPendingChanged
186808
+ * @throws {Error} If the payload is not a reader or valid buffer
186809
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
186810
+ */
186811
+ MemberSupportChatStatusPendingChanged.decodeDelimited = function decodeDelimited(reader) {
186812
+ if (!(reader instanceof $Reader))
186813
+ reader = new $Reader(reader);
186814
+ return this.decode(reader, reader.uint32());
186815
+ };
186816
+
186817
+ /**
186818
+ * Verifies a MemberSupportChatStatusPendingChanged message.
186819
+ * @function verify
186820
+ * @memberof MemberSupportChatStatusPendingChanged
186821
+ * @static
186822
+ * @param {Object.<string,*>} message Plain object to verify
186823
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
186824
+ */
186825
+ MemberSupportChatStatusPendingChanged.verify = function verify(message) {
186826
+ if (typeof message !== "object" || message === null)
186827
+ return "object expected";
186828
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
186829
+ if (!$util.isString(message.hsUserId))
186830
+ return "hsUserId: string expected";
186831
+ return null;
186832
+ };
186833
+
186834
+ /**
186835
+ * Creates a MemberSupportChatStatusPendingChanged message from a plain object. Also converts values to their respective internal types.
186836
+ * @function fromObject
186837
+ * @memberof MemberSupportChatStatusPendingChanged
186838
+ * @static
186839
+ * @param {Object.<string,*>} object Plain object
186840
+ * @returns {MemberSupportChatStatusPendingChanged} MemberSupportChatStatusPendingChanged
186841
+ */
186842
+ MemberSupportChatStatusPendingChanged.fromObject = function fromObject(object) {
186843
+ if (object instanceof $root.MemberSupportChatStatusPendingChanged)
186844
+ return object;
186845
+ var message = new $root.MemberSupportChatStatusPendingChanged();
186846
+ if (object.hsUserId != null)
186847
+ message.hsUserId = String(object.hsUserId);
186848
+ return message;
186849
+ };
186850
+
186851
+ /**
186852
+ * Creates a plain object from a MemberSupportChatStatusPendingChanged message. Also converts values to other types if specified.
186853
+ * @function toObject
186854
+ * @memberof MemberSupportChatStatusPendingChanged
186855
+ * @static
186856
+ * @param {MemberSupportChatStatusPendingChanged} message MemberSupportChatStatusPendingChanged
186857
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
186858
+ * @returns {Object.<string,*>} Plain object
186859
+ */
186860
+ MemberSupportChatStatusPendingChanged.toObject = function toObject(message, options) {
186861
+ if (!options)
186862
+ options = {};
186863
+ var object = {};
186864
+ if (options.defaults)
186865
+ object.hsUserId = "";
186866
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
186867
+ object.hsUserId = message.hsUserId;
186868
+ return object;
186869
+ };
186870
+
186871
+ /**
186872
+ * Converts this MemberSupportChatStatusPendingChanged to JSON.
186873
+ * @function toJSON
186874
+ * @memberof MemberSupportChatStatusPendingChanged
186875
+ * @instance
186876
+ * @returns {Object.<string,*>} JSON object
186877
+ */
186878
+ MemberSupportChatStatusPendingChanged.prototype.toJSON = function toJSON() {
186879
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
186880
+ };
186881
+
186882
+ return MemberSupportChatStatusPendingChanged;
186883
+ })();
186884
+
186563
186885
  module.exports = $root;
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.618.0"
19
+ "version": "1.620.0"
20
20
  }