@headspace/protos-events 1.605.0 → 1.607.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
@@ -1831,7 +1831,8 @@ export namespace clinical {
1831
1831
  COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_QA_SPECIALIST = 7,
1832
1832
  COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_PART_TIME = 8,
1833
1833
  COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_D2C = 9,
1834
- COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_TESTER = 10
1834
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_TESTER = 10,
1835
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_VIDEO_COACH = 11
1835
1836
  }
1836
1837
 
1837
1838
  /** Properties of a CoachRoleDisplay. */
@@ -14168,6 +14169,9 @@ export namespace b2b {
14168
14169
 
14169
14170
  /** B2BSubscriptionManagement eapType */
14170
14171
  eapType?: (b2b.EapType|null);
14172
+
14173
+ /** B2BSubscriptionManagement clinicalCoverageType */
14174
+ clinicalCoverageType?: (b2b.ClinicalCoverageType|null);
14171
14175
  }
14172
14176
 
14173
14177
  /** Represents a B2BSubscriptionManagement. */
@@ -14218,6 +14222,9 @@ export namespace b2b {
14218
14222
  /** B2BSubscriptionManagement eapType. */
14219
14223
  public eapType: b2b.EapType;
14220
14224
 
14225
+ /** B2BSubscriptionManagement clinicalCoverageType. */
14226
+ public clinicalCoverageType: b2b.ClinicalCoverageType;
14227
+
14221
14228
  /**
14222
14229
  * Creates a new B2BSubscriptionManagement instance using the specified properties.
14223
14230
  * @param [properties] Properties to set
@@ -14402,6 +14409,30 @@ export namespace b2b {
14402
14409
  EAP_TYPE_NONE = 1,
14403
14410
  EAP_TYPE_EAP_V2 = 2
14404
14411
  }
14412
+
14413
+ /** ClinicalCoverageType enum. */
14414
+ enum ClinicalCoverageType {
14415
+ CLINICAL_COVERAGE_TYPE_UNKNOWN = 0,
14416
+ CLINICAL_COVERAGE_TYPE_NONE = 1,
14417
+ CLINICAL_COVERAGE_TYPE_EAP_V2 = 2,
14418
+ CLINICAL_COVERAGE_TYPE_INTL_THERAPY = 3
14419
+ }
14420
+
14421
+ /** ClinicalServiceType enum. */
14422
+ enum ClinicalServiceType {
14423
+ CLINICAL_SERVICE_TYPE_UNKNOWN = 0,
14424
+ CLINICAL_SERVICE_TYPE_PSYCHIATRY = 1,
14425
+ CLINICAL_SERVICE_TYPE_THERAPY = 2,
14426
+ CLINICAL_SERVICE_TYPE_PSYCHIATRY_THERAPY = 3
14427
+ }
14428
+
14429
+ /** ClinicalCoverageProvider enum. */
14430
+ enum ClinicalCoverageProvider {
14431
+ CLINICAL_COVERAGE_PROVIDER_UNKNOWN = 0,
14432
+ CLINICAL_COVERAGE_PROVIDER_CCA = 1,
14433
+ CLINICAL_COVERAGE_PROVIDER_WPO = 2,
14434
+ CLINICAL_COVERAGE_PROVIDER_NONE = 3
14435
+ }
14405
14436
  }
14406
14437
 
14407
14438
  /** Namespace community. */
@@ -51324,6 +51355,15 @@ export interface IEnterpriseUserEnrollmentCreated {
51324
51355
 
51325
51356
  /** EnterpriseUserEnrollmentCreated healthHubName */
51326
51357
  healthHubName?: (string|null);
51358
+
51359
+ /** EnterpriseUserEnrollmentCreated clinicalCoverageProvider */
51360
+ clinicalCoverageProvider?: (b2b.ClinicalCoverageProvider|null);
51361
+
51362
+ /** EnterpriseUserEnrollmentCreated clinicalCoverageTotal */
51363
+ clinicalCoverageTotal?: (number|null);
51364
+
51365
+ /** EnterpriseUserEnrollmentCreated clinicalServiceType */
51366
+ clinicalServiceType?: (b2b.ClinicalServiceType|null);
51327
51367
  }
51328
51368
 
51329
51369
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -51452,6 +51492,15 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
51452
51492
  /** EnterpriseUserEnrollmentCreated healthHubName. */
51453
51493
  public healthHubName: string;
51454
51494
 
51495
+ /** EnterpriseUserEnrollmentCreated clinicalCoverageProvider. */
51496
+ public clinicalCoverageProvider: b2b.ClinicalCoverageProvider;
51497
+
51498
+ /** EnterpriseUserEnrollmentCreated clinicalCoverageTotal. */
51499
+ public clinicalCoverageTotal: number;
51500
+
51501
+ /** EnterpriseUserEnrollmentCreated clinicalServiceType. */
51502
+ public clinicalServiceType: b2b.ClinicalServiceType;
51503
+
51455
51504
  /**
51456
51505
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
51457
51506
  * @param [properties] Properties to set
@@ -51627,6 +51676,15 @@ export interface IEnterpriseUserEnrollmentRemoved {
51627
51676
 
51628
51677
  /** EnterpriseUserEnrollmentRemoved subscriptionOrgId */
51629
51678
  subscriptionOrgId?: (number|null);
51679
+
51680
+ /** EnterpriseUserEnrollmentRemoved clinicalCoverageProvider */
51681
+ clinicalCoverageProvider?: (b2b.ClinicalCoverageProvider|null);
51682
+
51683
+ /** EnterpriseUserEnrollmentRemoved clinicalCoverageTotal */
51684
+ clinicalCoverageTotal?: (number|null);
51685
+
51686
+ /** EnterpriseUserEnrollmentRemoved clinicalServiceType */
51687
+ clinicalServiceType?: (b2b.ClinicalServiceType|null);
51630
51688
  }
51631
51689
 
51632
51690
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -51740,6 +51798,15 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
51740
51798
  /** EnterpriseUserEnrollmentRemoved subscriptionOrgId. */
51741
51799
  public subscriptionOrgId: number;
51742
51800
 
51801
+ /** EnterpriseUserEnrollmentRemoved clinicalCoverageProvider. */
51802
+ public clinicalCoverageProvider: b2b.ClinicalCoverageProvider;
51803
+
51804
+ /** EnterpriseUserEnrollmentRemoved clinicalCoverageTotal. */
51805
+ public clinicalCoverageTotal: number;
51806
+
51807
+ /** EnterpriseUserEnrollmentRemoved clinicalServiceType. */
51808
+ public clinicalServiceType: b2b.ClinicalServiceType;
51809
+
51743
51810
  /**
51744
51811
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
51745
51812
  * @param [properties] Properties to set
@@ -51927,6 +51994,15 @@ export interface IEnterpriseUserEnrollmentAmended {
51927
51994
 
51928
51995
  /** EnterpriseUserEnrollmentAmended healthHubName */
51929
51996
  healthHubName?: (string|null);
51997
+
51998
+ /** EnterpriseUserEnrollmentAmended clinicalCoverageProvider */
51999
+ clinicalCoverageProvider?: (b2b.ClinicalCoverageProvider|null);
52000
+
52001
+ /** EnterpriseUserEnrollmentAmended clinicalCoverageTotal */
52002
+ clinicalCoverageTotal?: (number|null);
52003
+
52004
+ /** EnterpriseUserEnrollmentAmended clinicalServiceType */
52005
+ clinicalServiceType?: (b2b.ClinicalServiceType|null);
51930
52006
  }
51931
52007
 
51932
52008
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -52052,6 +52128,15 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
52052
52128
  /** EnterpriseUserEnrollmentAmended healthHubName. */
52053
52129
  public healthHubName: string;
52054
52130
 
52131
+ /** EnterpriseUserEnrollmentAmended clinicalCoverageProvider. */
52132
+ public clinicalCoverageProvider: b2b.ClinicalCoverageProvider;
52133
+
52134
+ /** EnterpriseUserEnrollmentAmended clinicalCoverageTotal. */
52135
+ public clinicalCoverageTotal: number;
52136
+
52137
+ /** EnterpriseUserEnrollmentAmended clinicalServiceType. */
52138
+ public clinicalServiceType: b2b.ClinicalServiceType;
52139
+
52055
52140
  /**
52056
52141
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
52057
52142
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -5210,6 +5210,7 @@ $root.clinical = (function() {
5210
5210
  case 8:
5211
5211
  case 9:
5212
5212
  case 10:
5213
+ case 11:
5213
5214
  break;
5214
5215
  }
5215
5216
  }
@@ -5724,6 +5725,10 @@ $root.clinical = (function() {
5724
5725
  case 10:
5725
5726
  message.specializations[i] = 10;
5726
5727
  break;
5728
+ case "COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_VIDEO_COACH":
5729
+ case 11:
5730
+ message.specializations[i] = 11;
5731
+ break;
5727
5732
  }
5728
5733
  }
5729
5734
  if (object.deprecatedSpecializations) {
@@ -6031,6 +6036,7 @@ $root.clinical = (function() {
6031
6036
  case 8:
6032
6037
  case 9:
6033
6038
  case 10:
6039
+ case 11:
6034
6040
  break;
6035
6041
  }
6036
6042
  return null;
@@ -6102,6 +6108,10 @@ $root.clinical = (function() {
6102
6108
  case 10:
6103
6109
  message.specialization = 10;
6104
6110
  break;
6111
+ case "COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_VIDEO_COACH":
6112
+ case 11:
6113
+ message.specialization = 11;
6114
+ break;
6105
6115
  }
6106
6116
  return message;
6107
6117
  };
@@ -6166,6 +6176,7 @@ $root.clinical = (function() {
6166
6176
  * @property {number} COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_PART_TIME=8 COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_PART_TIME value
6167
6177
  * @property {number} COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_D2C=9 COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_D2C value
6168
6178
  * @property {number} COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_TESTER=10 COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_TESTER value
6179
+ * @property {number} COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_VIDEO_COACH=11 COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_VIDEO_COACH value
6169
6180
  */
6170
6181
  clinical.CoachSpecializationType = (function() {
6171
6182
  var valuesById = {}, values = Object.create(valuesById);
@@ -6180,6 +6191,7 @@ $root.clinical = (function() {
6180
6191
  values[valuesById[8] = "COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_PART_TIME"] = 8;
6181
6192
  values[valuesById[9] = "COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_D2C"] = 9;
6182
6193
  values[valuesById[10] = "COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_TESTER"] = 10;
6194
+ values[valuesById[11] = "COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_VIDEO_COACH"] = 11;
6183
6195
  return values;
6184
6196
  })();
6185
6197
 
@@ -37495,6 +37507,7 @@ $root.b2b = (function() {
37495
37507
  * @property {b2b.EnrollmentFlow|null} [enrollmentFlow] B2BSubscriptionManagement enrollmentFlow
37496
37508
  * @property {boolean|null} [elfDependentsEnabled] B2BSubscriptionManagement elfDependentsEnabled
37497
37509
  * @property {b2b.EapType|null} [eapType] B2BSubscriptionManagement eapType
37510
+ * @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] B2BSubscriptionManagement clinicalCoverageType
37498
37511
  */
37499
37512
 
37500
37513
  /**
@@ -37617,6 +37630,14 @@ $root.b2b = (function() {
37617
37630
  */
37618
37631
  B2BSubscriptionManagement.prototype.eapType = 0;
37619
37632
 
37633
+ /**
37634
+ * B2BSubscriptionManagement clinicalCoverageType.
37635
+ * @member {b2b.ClinicalCoverageType} clinicalCoverageType
37636
+ * @memberof b2b.B2BSubscriptionManagement
37637
+ * @instance
37638
+ */
37639
+ B2BSubscriptionManagement.prototype.clinicalCoverageType = 0;
37640
+
37620
37641
  /**
37621
37642
  * Creates a new B2BSubscriptionManagement instance using the specified properties.
37622
37643
  * @function create
@@ -37671,6 +37692,8 @@ $root.b2b = (function() {
37671
37692
  writer.uint32(/* id 13, wireType 0 =*/104).bool(message.elfDependentsEnabled);
37672
37693
  if (message.eapType != null && message.hasOwnProperty("eapType"))
37673
37694
  writer.uint32(/* id 14, wireType 0 =*/112).int32(message.eapType);
37695
+ if (message.clinicalCoverageType != null && message.hasOwnProperty("clinicalCoverageType"))
37696
+ writer.uint32(/* id 15, wireType 0 =*/120).int32(message.clinicalCoverageType);
37674
37697
  return writer;
37675
37698
  };
37676
37699
 
@@ -37751,6 +37774,9 @@ $root.b2b = (function() {
37751
37774
  case 14:
37752
37775
  message.eapType = reader.int32();
37753
37776
  break;
37777
+ case 15:
37778
+ message.clinicalCoverageType = reader.int32();
37779
+ break;
37754
37780
  default:
37755
37781
  reader.skipType(tag & 7);
37756
37782
  break;
@@ -37850,6 +37876,16 @@ $root.b2b = (function() {
37850
37876
  case 2:
37851
37877
  break;
37852
37878
  }
37879
+ if (message.clinicalCoverageType != null && message.hasOwnProperty("clinicalCoverageType"))
37880
+ switch (message.clinicalCoverageType) {
37881
+ default:
37882
+ return "clinicalCoverageType: enum value expected";
37883
+ case 0:
37884
+ case 1:
37885
+ case 2:
37886
+ case 3:
37887
+ break;
37888
+ }
37853
37889
  return null;
37854
37890
  };
37855
37891
 
@@ -37974,6 +38010,24 @@ $root.b2b = (function() {
37974
38010
  message.eapType = 2;
37975
38011
  break;
37976
38012
  }
38013
+ switch (object.clinicalCoverageType) {
38014
+ case "CLINICAL_COVERAGE_TYPE_UNKNOWN":
38015
+ case 0:
38016
+ message.clinicalCoverageType = 0;
38017
+ break;
38018
+ case "CLINICAL_COVERAGE_TYPE_NONE":
38019
+ case 1:
38020
+ message.clinicalCoverageType = 1;
38021
+ break;
38022
+ case "CLINICAL_COVERAGE_TYPE_EAP_V2":
38023
+ case 2:
38024
+ message.clinicalCoverageType = 2;
38025
+ break;
38026
+ case "CLINICAL_COVERAGE_TYPE_INTL_THERAPY":
38027
+ case 3:
38028
+ message.clinicalCoverageType = 3;
38029
+ break;
38030
+ }
37977
38031
  return message;
37978
38032
  };
37979
38033
 
@@ -38021,6 +38075,7 @@ $root.b2b = (function() {
38021
38075
  object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
38022
38076
  object.elfDependentsEnabled = false;
38023
38077
  object.eapType = options.enums === String ? "EAP_TYPE_UNKNOWN" : 0;
38078
+ object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
38024
38079
  }
38025
38080
  if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
38026
38081
  object.salesforceOpportunityId = message.salesforceOpportunityId;
@@ -38063,6 +38118,8 @@ $root.b2b = (function() {
38063
38118
  object.elfDependentsEnabled = message.elfDependentsEnabled;
38064
38119
  if (message.eapType != null && message.hasOwnProperty("eapType"))
38065
38120
  object.eapType = options.enums === String ? $root.b2b.EapType[message.eapType] : message.eapType;
38121
+ if (message.clinicalCoverageType != null && message.hasOwnProperty("clinicalCoverageType"))
38122
+ object.clinicalCoverageType = options.enums === String ? $root.b2b.ClinicalCoverageType[message.clinicalCoverageType] : message.clinicalCoverageType;
38066
38123
  return object;
38067
38124
  };
38068
38125
 
@@ -38332,6 +38389,60 @@ $root.b2b = (function() {
38332
38389
  return values;
38333
38390
  })();
38334
38391
 
38392
+ /**
38393
+ * ClinicalCoverageType enum.
38394
+ * @name b2b.ClinicalCoverageType
38395
+ * @enum {string}
38396
+ * @property {number} CLINICAL_COVERAGE_TYPE_UNKNOWN=0 CLINICAL_COVERAGE_TYPE_UNKNOWN value
38397
+ * @property {number} CLINICAL_COVERAGE_TYPE_NONE=1 CLINICAL_COVERAGE_TYPE_NONE value
38398
+ * @property {number} CLINICAL_COVERAGE_TYPE_EAP_V2=2 CLINICAL_COVERAGE_TYPE_EAP_V2 value
38399
+ * @property {number} CLINICAL_COVERAGE_TYPE_INTL_THERAPY=3 CLINICAL_COVERAGE_TYPE_INTL_THERAPY value
38400
+ */
38401
+ b2b.ClinicalCoverageType = (function() {
38402
+ var valuesById = {}, values = Object.create(valuesById);
38403
+ values[valuesById[0] = "CLINICAL_COVERAGE_TYPE_UNKNOWN"] = 0;
38404
+ values[valuesById[1] = "CLINICAL_COVERAGE_TYPE_NONE"] = 1;
38405
+ values[valuesById[2] = "CLINICAL_COVERAGE_TYPE_EAP_V2"] = 2;
38406
+ values[valuesById[3] = "CLINICAL_COVERAGE_TYPE_INTL_THERAPY"] = 3;
38407
+ return values;
38408
+ })();
38409
+
38410
+ /**
38411
+ * ClinicalServiceType enum.
38412
+ * @name b2b.ClinicalServiceType
38413
+ * @enum {string}
38414
+ * @property {number} CLINICAL_SERVICE_TYPE_UNKNOWN=0 CLINICAL_SERVICE_TYPE_UNKNOWN value
38415
+ * @property {number} CLINICAL_SERVICE_TYPE_PSYCHIATRY=1 CLINICAL_SERVICE_TYPE_PSYCHIATRY value
38416
+ * @property {number} CLINICAL_SERVICE_TYPE_THERAPY=2 CLINICAL_SERVICE_TYPE_THERAPY value
38417
+ * @property {number} CLINICAL_SERVICE_TYPE_PSYCHIATRY_THERAPY=3 CLINICAL_SERVICE_TYPE_PSYCHIATRY_THERAPY value
38418
+ */
38419
+ b2b.ClinicalServiceType = (function() {
38420
+ var valuesById = {}, values = Object.create(valuesById);
38421
+ values[valuesById[0] = "CLINICAL_SERVICE_TYPE_UNKNOWN"] = 0;
38422
+ values[valuesById[1] = "CLINICAL_SERVICE_TYPE_PSYCHIATRY"] = 1;
38423
+ values[valuesById[2] = "CLINICAL_SERVICE_TYPE_THERAPY"] = 2;
38424
+ values[valuesById[3] = "CLINICAL_SERVICE_TYPE_PSYCHIATRY_THERAPY"] = 3;
38425
+ return values;
38426
+ })();
38427
+
38428
+ /**
38429
+ * ClinicalCoverageProvider enum.
38430
+ * @name b2b.ClinicalCoverageProvider
38431
+ * @enum {string}
38432
+ * @property {number} CLINICAL_COVERAGE_PROVIDER_UNKNOWN=0 CLINICAL_COVERAGE_PROVIDER_UNKNOWN value
38433
+ * @property {number} CLINICAL_COVERAGE_PROVIDER_CCA=1 CLINICAL_COVERAGE_PROVIDER_CCA value
38434
+ * @property {number} CLINICAL_COVERAGE_PROVIDER_WPO=2 CLINICAL_COVERAGE_PROVIDER_WPO value
38435
+ * @property {number} CLINICAL_COVERAGE_PROVIDER_NONE=3 CLINICAL_COVERAGE_PROVIDER_NONE value
38436
+ */
38437
+ b2b.ClinicalCoverageProvider = (function() {
38438
+ var valuesById = {}, values = Object.create(valuesById);
38439
+ values[valuesById[0] = "CLINICAL_COVERAGE_PROVIDER_UNKNOWN"] = 0;
38440
+ values[valuesById[1] = "CLINICAL_COVERAGE_PROVIDER_CCA"] = 1;
38441
+ values[valuesById[2] = "CLINICAL_COVERAGE_PROVIDER_WPO"] = 2;
38442
+ values[valuesById[3] = "CLINICAL_COVERAGE_PROVIDER_NONE"] = 3;
38443
+ return values;
38444
+ })();
38445
+
38335
38446
  return b2b;
38336
38447
  })();
38337
38448
 
@@ -141112,6 +141223,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
141112
141223
  * @property {string|null} [healthHub] EnterpriseUserEnrollmentCreated healthHub
141113
141224
  * @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentCreated subscriptionOrgId
141114
141225
  * @property {string|null} [healthHubName] EnterpriseUserEnrollmentCreated healthHubName
141226
+ * @property {b2b.ClinicalCoverageProvider|null} [clinicalCoverageProvider] EnterpriseUserEnrollmentCreated clinicalCoverageProvider
141227
+ * @property {number|null} [clinicalCoverageTotal] EnterpriseUserEnrollmentCreated clinicalCoverageTotal
141228
+ * @property {b2b.ClinicalServiceType|null} [clinicalServiceType] EnterpriseUserEnrollmentCreated clinicalServiceType
141115
141229
  */
141116
141230
 
141117
141231
  /**
@@ -141441,6 +141555,30 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
141441
141555
  */
141442
141556
  EnterpriseUserEnrollmentCreated.prototype.healthHubName = "";
141443
141557
 
141558
+ /**
141559
+ * EnterpriseUserEnrollmentCreated clinicalCoverageProvider.
141560
+ * @member {b2b.ClinicalCoverageProvider} clinicalCoverageProvider
141561
+ * @memberof EnterpriseUserEnrollmentCreated
141562
+ * @instance
141563
+ */
141564
+ EnterpriseUserEnrollmentCreated.prototype.clinicalCoverageProvider = 0;
141565
+
141566
+ /**
141567
+ * EnterpriseUserEnrollmentCreated clinicalCoverageTotal.
141568
+ * @member {number} clinicalCoverageTotal
141569
+ * @memberof EnterpriseUserEnrollmentCreated
141570
+ * @instance
141571
+ */
141572
+ EnterpriseUserEnrollmentCreated.prototype.clinicalCoverageTotal = 0;
141573
+
141574
+ /**
141575
+ * EnterpriseUserEnrollmentCreated clinicalServiceType.
141576
+ * @member {b2b.ClinicalServiceType} clinicalServiceType
141577
+ * @memberof EnterpriseUserEnrollmentCreated
141578
+ * @instance
141579
+ */
141580
+ EnterpriseUserEnrollmentCreated.prototype.clinicalServiceType = 0;
141581
+
141444
141582
  /**
141445
141583
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
141446
141584
  * @function create
@@ -141543,6 +141681,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
141543
141681
  writer.uint32(/* id 43, wireType 0 =*/344).uint32(message.subscriptionOrgId);
141544
141682
  if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
141545
141683
  writer.uint32(/* id 44, wireType 2 =*/354).string(message.healthHubName);
141684
+ if (message.clinicalCoverageProvider != null && message.hasOwnProperty("clinicalCoverageProvider"))
141685
+ writer.uint32(/* id 45, wireType 0 =*/360).int32(message.clinicalCoverageProvider);
141686
+ if (message.clinicalCoverageTotal != null && message.hasOwnProperty("clinicalCoverageTotal"))
141687
+ writer.uint32(/* id 46, wireType 0 =*/368).uint32(message.clinicalCoverageTotal);
141688
+ if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
141689
+ writer.uint32(/* id 47, wireType 0 =*/376).int32(message.clinicalServiceType);
141546
141690
  return writer;
141547
141691
  };
141548
141692
 
@@ -141694,6 +141838,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
141694
141838
  case 44:
141695
141839
  message.healthHubName = reader.string();
141696
141840
  break;
141841
+ case 45:
141842
+ message.clinicalCoverageProvider = reader.int32();
141843
+ break;
141844
+ case 46:
141845
+ message.clinicalCoverageTotal = reader.uint32();
141846
+ break;
141847
+ case 47:
141848
+ message.clinicalServiceType = reader.int32();
141849
+ break;
141697
141850
  default:
141698
141851
  reader.skipType(tag & 7);
141699
141852
  break;
@@ -141891,6 +142044,29 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
141891
142044
  if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
141892
142045
  if (!$util.isString(message.healthHubName))
141893
142046
  return "healthHubName: string expected";
142047
+ if (message.clinicalCoverageProvider != null && message.hasOwnProperty("clinicalCoverageProvider"))
142048
+ switch (message.clinicalCoverageProvider) {
142049
+ default:
142050
+ return "clinicalCoverageProvider: enum value expected";
142051
+ case 0:
142052
+ case 1:
142053
+ case 2:
142054
+ case 3:
142055
+ break;
142056
+ }
142057
+ if (message.clinicalCoverageTotal != null && message.hasOwnProperty("clinicalCoverageTotal"))
142058
+ if (!$util.isInteger(message.clinicalCoverageTotal))
142059
+ return "clinicalCoverageTotal: integer expected";
142060
+ if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
142061
+ switch (message.clinicalServiceType) {
142062
+ default:
142063
+ return "clinicalServiceType: enum value expected";
142064
+ case 0:
142065
+ case 1:
142066
+ case 2:
142067
+ case 3:
142068
+ break;
142069
+ }
141894
142070
  return null;
141895
142071
  };
141896
142072
 
@@ -142127,6 +142303,44 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
142127
142303
  message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
142128
142304
  if (object.healthHubName != null)
142129
142305
  message.healthHubName = String(object.healthHubName);
142306
+ switch (object.clinicalCoverageProvider) {
142307
+ case "CLINICAL_COVERAGE_PROVIDER_UNKNOWN":
142308
+ case 0:
142309
+ message.clinicalCoverageProvider = 0;
142310
+ break;
142311
+ case "CLINICAL_COVERAGE_PROVIDER_CCA":
142312
+ case 1:
142313
+ message.clinicalCoverageProvider = 1;
142314
+ break;
142315
+ case "CLINICAL_COVERAGE_PROVIDER_WPO":
142316
+ case 2:
142317
+ message.clinicalCoverageProvider = 2;
142318
+ break;
142319
+ case "CLINICAL_COVERAGE_PROVIDER_NONE":
142320
+ case 3:
142321
+ message.clinicalCoverageProvider = 3;
142322
+ break;
142323
+ }
142324
+ if (object.clinicalCoverageTotal != null)
142325
+ message.clinicalCoverageTotal = object.clinicalCoverageTotal >>> 0;
142326
+ switch (object.clinicalServiceType) {
142327
+ case "CLINICAL_SERVICE_TYPE_UNKNOWN":
142328
+ case 0:
142329
+ message.clinicalServiceType = 0;
142330
+ break;
142331
+ case "CLINICAL_SERVICE_TYPE_PSYCHIATRY":
142332
+ case 1:
142333
+ message.clinicalServiceType = 1;
142334
+ break;
142335
+ case "CLINICAL_SERVICE_TYPE_THERAPY":
142336
+ case 2:
142337
+ message.clinicalServiceType = 2;
142338
+ break;
142339
+ case "CLINICAL_SERVICE_TYPE_PSYCHIATRY_THERAPY":
142340
+ case 3:
142341
+ message.clinicalServiceType = 3;
142342
+ break;
142343
+ }
142130
142344
  return message;
142131
142345
  };
142132
142346
 
@@ -142203,6 +142417,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
142203
142417
  object.healthHub = "";
142204
142418
  object.subscriptionOrgId = 0;
142205
142419
  object.healthHubName = "";
142420
+ object.clinicalCoverageProvider = options.enums === String ? "CLINICAL_COVERAGE_PROVIDER_UNKNOWN" : 0;
142421
+ object.clinicalCoverageTotal = 0;
142422
+ object.clinicalServiceType = options.enums === String ? "CLINICAL_SERVICE_TYPE_UNKNOWN" : 0;
142206
142423
  }
142207
142424
  if (message.userId != null && message.hasOwnProperty("userId"))
142208
142425
  object.userId = message.userId;
@@ -142297,6 +142514,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
142297
142514
  object.subscriptionOrgId = message.subscriptionOrgId;
142298
142515
  if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
142299
142516
  object.healthHubName = message.healthHubName;
142517
+ if (message.clinicalCoverageProvider != null && message.hasOwnProperty("clinicalCoverageProvider"))
142518
+ object.clinicalCoverageProvider = options.enums === String ? $root.b2b.ClinicalCoverageProvider[message.clinicalCoverageProvider] : message.clinicalCoverageProvider;
142519
+ if (message.clinicalCoverageTotal != null && message.hasOwnProperty("clinicalCoverageTotal"))
142520
+ object.clinicalCoverageTotal = message.clinicalCoverageTotal;
142521
+ if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
142522
+ object.clinicalServiceType = options.enums === String ? $root.b2b.ClinicalServiceType[message.clinicalServiceType] : message.clinicalServiceType;
142300
142523
  return object;
142301
142524
  };
142302
142525
 
@@ -142354,6 +142577,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
142354
142577
  * @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentRemoved eapCoverageTotal
142355
142578
  * @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentRemoved eapServiceType
142356
142579
  * @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentRemoved subscriptionOrgId
142580
+ * @property {b2b.ClinicalCoverageProvider|null} [clinicalCoverageProvider] EnterpriseUserEnrollmentRemoved clinicalCoverageProvider
142581
+ * @property {number|null} [clinicalCoverageTotal] EnterpriseUserEnrollmentRemoved clinicalCoverageTotal
142582
+ * @property {b2b.ClinicalServiceType|null} [clinicalServiceType] EnterpriseUserEnrollmentRemoved clinicalServiceType
142357
142583
  */
142358
142584
 
142359
142585
  /**
@@ -142643,6 +142869,30 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
142643
142869
  */
142644
142870
  EnterpriseUserEnrollmentRemoved.prototype.subscriptionOrgId = 0;
142645
142871
 
142872
+ /**
142873
+ * EnterpriseUserEnrollmentRemoved clinicalCoverageProvider.
142874
+ * @member {b2b.ClinicalCoverageProvider} clinicalCoverageProvider
142875
+ * @memberof EnterpriseUserEnrollmentRemoved
142876
+ * @instance
142877
+ */
142878
+ EnterpriseUserEnrollmentRemoved.prototype.clinicalCoverageProvider = 0;
142879
+
142880
+ /**
142881
+ * EnterpriseUserEnrollmentRemoved clinicalCoverageTotal.
142882
+ * @member {number} clinicalCoverageTotal
142883
+ * @memberof EnterpriseUserEnrollmentRemoved
142884
+ * @instance
142885
+ */
142886
+ EnterpriseUserEnrollmentRemoved.prototype.clinicalCoverageTotal = 0;
142887
+
142888
+ /**
142889
+ * EnterpriseUserEnrollmentRemoved clinicalServiceType.
142890
+ * @member {b2b.ClinicalServiceType} clinicalServiceType
142891
+ * @memberof EnterpriseUserEnrollmentRemoved
142892
+ * @instance
142893
+ */
142894
+ EnterpriseUserEnrollmentRemoved.prototype.clinicalServiceType = 0;
142895
+
142646
142896
  /**
142647
142897
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
142648
142898
  * @function create
@@ -142735,6 +142985,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
142735
142985
  writer.uint32(/* id 38, wireType 0 =*/304).int32(message.eapServiceType);
142736
142986
  if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
142737
142987
  writer.uint32(/* id 39, wireType 0 =*/312).uint32(message.subscriptionOrgId);
142988
+ if (message.clinicalCoverageProvider != null && message.hasOwnProperty("clinicalCoverageProvider"))
142989
+ writer.uint32(/* id 40, wireType 0 =*/320).int32(message.clinicalCoverageProvider);
142990
+ if (message.clinicalCoverageTotal != null && message.hasOwnProperty("clinicalCoverageTotal"))
142991
+ writer.uint32(/* id 41, wireType 0 =*/328).uint32(message.clinicalCoverageTotal);
142992
+ if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
142993
+ writer.uint32(/* id 42, wireType 0 =*/336).int32(message.clinicalServiceType);
142738
142994
  return writer;
142739
142995
  };
142740
142996
 
@@ -142871,6 +143127,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
142871
143127
  case 39:
142872
143128
  message.subscriptionOrgId = reader.uint32();
142873
143129
  break;
143130
+ case 40:
143131
+ message.clinicalCoverageProvider = reader.int32();
143132
+ break;
143133
+ case 41:
143134
+ message.clinicalCoverageTotal = reader.uint32();
143135
+ break;
143136
+ case 42:
143137
+ message.clinicalServiceType = reader.int32();
143138
+ break;
142874
143139
  default:
142875
143140
  reader.skipType(tag & 7);
142876
143141
  break;
@@ -143068,6 +143333,29 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
143068
143333
  if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
143069
143334
  if (!$util.isInteger(message.subscriptionOrgId))
143070
143335
  return "subscriptionOrgId: integer expected";
143336
+ if (message.clinicalCoverageProvider != null && message.hasOwnProperty("clinicalCoverageProvider"))
143337
+ switch (message.clinicalCoverageProvider) {
143338
+ default:
143339
+ return "clinicalCoverageProvider: enum value expected";
143340
+ case 0:
143341
+ case 1:
143342
+ case 2:
143343
+ case 3:
143344
+ break;
143345
+ }
143346
+ if (message.clinicalCoverageTotal != null && message.hasOwnProperty("clinicalCoverageTotal"))
143347
+ if (!$util.isInteger(message.clinicalCoverageTotal))
143348
+ return "clinicalCoverageTotal: integer expected";
143349
+ if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
143350
+ switch (message.clinicalServiceType) {
143351
+ default:
143352
+ return "clinicalServiceType: enum value expected";
143353
+ case 0:
143354
+ case 1:
143355
+ case 2:
143356
+ case 3:
143357
+ break;
143358
+ }
143071
143359
  return null;
143072
143360
  };
143073
143361
 
@@ -143342,6 +143630,44 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
143342
143630
  }
143343
143631
  if (object.subscriptionOrgId != null)
143344
143632
  message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
143633
+ switch (object.clinicalCoverageProvider) {
143634
+ case "CLINICAL_COVERAGE_PROVIDER_UNKNOWN":
143635
+ case 0:
143636
+ message.clinicalCoverageProvider = 0;
143637
+ break;
143638
+ case "CLINICAL_COVERAGE_PROVIDER_CCA":
143639
+ case 1:
143640
+ message.clinicalCoverageProvider = 1;
143641
+ break;
143642
+ case "CLINICAL_COVERAGE_PROVIDER_WPO":
143643
+ case 2:
143644
+ message.clinicalCoverageProvider = 2;
143645
+ break;
143646
+ case "CLINICAL_COVERAGE_PROVIDER_NONE":
143647
+ case 3:
143648
+ message.clinicalCoverageProvider = 3;
143649
+ break;
143650
+ }
143651
+ if (object.clinicalCoverageTotal != null)
143652
+ message.clinicalCoverageTotal = object.clinicalCoverageTotal >>> 0;
143653
+ switch (object.clinicalServiceType) {
143654
+ case "CLINICAL_SERVICE_TYPE_UNKNOWN":
143655
+ case 0:
143656
+ message.clinicalServiceType = 0;
143657
+ break;
143658
+ case "CLINICAL_SERVICE_TYPE_PSYCHIATRY":
143659
+ case 1:
143660
+ message.clinicalServiceType = 1;
143661
+ break;
143662
+ case "CLINICAL_SERVICE_TYPE_THERAPY":
143663
+ case 2:
143664
+ message.clinicalServiceType = 2;
143665
+ break;
143666
+ case "CLINICAL_SERVICE_TYPE_PSYCHIATRY_THERAPY":
143667
+ case 3:
143668
+ message.clinicalServiceType = 3;
143669
+ break;
143670
+ }
143345
143671
  return message;
143346
143672
  };
143347
143673
 
@@ -143413,6 +143739,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
143413
143739
  object.eapCoverageTotal = 0;
143414
143740
  object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
143415
143741
  object.subscriptionOrgId = 0;
143742
+ object.clinicalCoverageProvider = options.enums === String ? "CLINICAL_COVERAGE_PROVIDER_UNKNOWN" : 0;
143743
+ object.clinicalCoverageTotal = 0;
143744
+ object.clinicalServiceType = options.enums === String ? "CLINICAL_SERVICE_TYPE_UNKNOWN" : 0;
143416
143745
  }
143417
143746
  if (message.userId != null && message.hasOwnProperty("userId"))
143418
143747
  object.userId = message.userId;
@@ -143497,6 +143826,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
143497
143826
  object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
143498
143827
  if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
143499
143828
  object.subscriptionOrgId = message.subscriptionOrgId;
143829
+ if (message.clinicalCoverageProvider != null && message.hasOwnProperty("clinicalCoverageProvider"))
143830
+ object.clinicalCoverageProvider = options.enums === String ? $root.b2b.ClinicalCoverageProvider[message.clinicalCoverageProvider] : message.clinicalCoverageProvider;
143831
+ if (message.clinicalCoverageTotal != null && message.hasOwnProperty("clinicalCoverageTotal"))
143832
+ object.clinicalCoverageTotal = message.clinicalCoverageTotal;
143833
+ if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
143834
+ object.clinicalServiceType = options.enums === String ? $root.b2b.ClinicalServiceType[message.clinicalServiceType] : message.clinicalServiceType;
143500
143835
  return object;
143501
143836
  };
143502
143837
 
@@ -143558,6 +143893,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
143558
143893
  * @property {string|null} [healthHub] EnterpriseUserEnrollmentAmended healthHub
143559
143894
  * @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentAmended subscriptionOrgId
143560
143895
  * @property {string|null} [healthHubName] EnterpriseUserEnrollmentAmended healthHubName
143896
+ * @property {b2b.ClinicalCoverageProvider|null} [clinicalCoverageProvider] EnterpriseUserEnrollmentAmended clinicalCoverageProvider
143897
+ * @property {number|null} [clinicalCoverageTotal] EnterpriseUserEnrollmentAmended clinicalCoverageTotal
143898
+ * @property {b2b.ClinicalServiceType|null} [clinicalServiceType] EnterpriseUserEnrollmentAmended clinicalServiceType
143561
143899
  */
143562
143900
 
143563
143901
  /**
@@ -143879,6 +144217,30 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
143879
144217
  */
143880
144218
  EnterpriseUserEnrollmentAmended.prototype.healthHubName = "";
143881
144219
 
144220
+ /**
144221
+ * EnterpriseUserEnrollmentAmended clinicalCoverageProvider.
144222
+ * @member {b2b.ClinicalCoverageProvider} clinicalCoverageProvider
144223
+ * @memberof EnterpriseUserEnrollmentAmended
144224
+ * @instance
144225
+ */
144226
+ EnterpriseUserEnrollmentAmended.prototype.clinicalCoverageProvider = 0;
144227
+
144228
+ /**
144229
+ * EnterpriseUserEnrollmentAmended clinicalCoverageTotal.
144230
+ * @member {number} clinicalCoverageTotal
144231
+ * @memberof EnterpriseUserEnrollmentAmended
144232
+ * @instance
144233
+ */
144234
+ EnterpriseUserEnrollmentAmended.prototype.clinicalCoverageTotal = 0;
144235
+
144236
+ /**
144237
+ * EnterpriseUserEnrollmentAmended clinicalServiceType.
144238
+ * @member {b2b.ClinicalServiceType} clinicalServiceType
144239
+ * @memberof EnterpriseUserEnrollmentAmended
144240
+ * @instance
144241
+ */
144242
+ EnterpriseUserEnrollmentAmended.prototype.clinicalServiceType = 0;
144243
+
143882
144244
  /**
143883
144245
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
143884
144246
  * @function create
@@ -143979,6 +144341,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
143979
144341
  writer.uint32(/* id 43, wireType 0 =*/344).uint32(message.subscriptionOrgId);
143980
144342
  if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
143981
144343
  writer.uint32(/* id 44, wireType 2 =*/354).string(message.healthHubName);
144344
+ if (message.clinicalCoverageProvider != null && message.hasOwnProperty("clinicalCoverageProvider"))
144345
+ writer.uint32(/* id 45, wireType 0 =*/360).int32(message.clinicalCoverageProvider);
144346
+ if (message.clinicalCoverageTotal != null && message.hasOwnProperty("clinicalCoverageTotal"))
144347
+ writer.uint32(/* id 46, wireType 0 =*/368).uint32(message.clinicalCoverageTotal);
144348
+ if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
144349
+ writer.uint32(/* id 47, wireType 0 =*/376).int32(message.clinicalServiceType);
143982
144350
  return writer;
143983
144351
  };
143984
144352
 
@@ -144127,6 +144495,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
144127
144495
  case 44:
144128
144496
  message.healthHubName = reader.string();
144129
144497
  break;
144498
+ case 45:
144499
+ message.clinicalCoverageProvider = reader.int32();
144500
+ break;
144501
+ case 46:
144502
+ message.clinicalCoverageTotal = reader.uint32();
144503
+ break;
144504
+ case 47:
144505
+ message.clinicalServiceType = reader.int32();
144506
+ break;
144130
144507
  default:
144131
144508
  reader.skipType(tag & 7);
144132
144509
  break;
@@ -144321,6 +144698,29 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
144321
144698
  if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
144322
144699
  if (!$util.isString(message.healthHubName))
144323
144700
  return "healthHubName: string expected";
144701
+ if (message.clinicalCoverageProvider != null && message.hasOwnProperty("clinicalCoverageProvider"))
144702
+ switch (message.clinicalCoverageProvider) {
144703
+ default:
144704
+ return "clinicalCoverageProvider: enum value expected";
144705
+ case 0:
144706
+ case 1:
144707
+ case 2:
144708
+ case 3:
144709
+ break;
144710
+ }
144711
+ if (message.clinicalCoverageTotal != null && message.hasOwnProperty("clinicalCoverageTotal"))
144712
+ if (!$util.isInteger(message.clinicalCoverageTotal))
144713
+ return "clinicalCoverageTotal: integer expected";
144714
+ if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
144715
+ switch (message.clinicalServiceType) {
144716
+ default:
144717
+ return "clinicalServiceType: enum value expected";
144718
+ case 0:
144719
+ case 1:
144720
+ case 2:
144721
+ case 3:
144722
+ break;
144723
+ }
144324
144724
  return null;
144325
144725
  };
144326
144726
 
@@ -144555,6 +144955,44 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
144555
144955
  message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
144556
144956
  if (object.healthHubName != null)
144557
144957
  message.healthHubName = String(object.healthHubName);
144958
+ switch (object.clinicalCoverageProvider) {
144959
+ case "CLINICAL_COVERAGE_PROVIDER_UNKNOWN":
144960
+ case 0:
144961
+ message.clinicalCoverageProvider = 0;
144962
+ break;
144963
+ case "CLINICAL_COVERAGE_PROVIDER_CCA":
144964
+ case 1:
144965
+ message.clinicalCoverageProvider = 1;
144966
+ break;
144967
+ case "CLINICAL_COVERAGE_PROVIDER_WPO":
144968
+ case 2:
144969
+ message.clinicalCoverageProvider = 2;
144970
+ break;
144971
+ case "CLINICAL_COVERAGE_PROVIDER_NONE":
144972
+ case 3:
144973
+ message.clinicalCoverageProvider = 3;
144974
+ break;
144975
+ }
144976
+ if (object.clinicalCoverageTotal != null)
144977
+ message.clinicalCoverageTotal = object.clinicalCoverageTotal >>> 0;
144978
+ switch (object.clinicalServiceType) {
144979
+ case "CLINICAL_SERVICE_TYPE_UNKNOWN":
144980
+ case 0:
144981
+ message.clinicalServiceType = 0;
144982
+ break;
144983
+ case "CLINICAL_SERVICE_TYPE_PSYCHIATRY":
144984
+ case 1:
144985
+ message.clinicalServiceType = 1;
144986
+ break;
144987
+ case "CLINICAL_SERVICE_TYPE_THERAPY":
144988
+ case 2:
144989
+ message.clinicalServiceType = 2;
144990
+ break;
144991
+ case "CLINICAL_SERVICE_TYPE_PSYCHIATRY_THERAPY":
144992
+ case 3:
144993
+ message.clinicalServiceType = 3;
144994
+ break;
144995
+ }
144558
144996
  return message;
144559
144997
  };
144560
144998
 
@@ -144630,6 +145068,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
144630
145068
  object.healthHub = "";
144631
145069
  object.subscriptionOrgId = 0;
144632
145070
  object.healthHubName = "";
145071
+ object.clinicalCoverageProvider = options.enums === String ? "CLINICAL_COVERAGE_PROVIDER_UNKNOWN" : 0;
145072
+ object.clinicalCoverageTotal = 0;
145073
+ object.clinicalServiceType = options.enums === String ? "CLINICAL_SERVICE_TYPE_UNKNOWN" : 0;
144633
145074
  }
144634
145075
  if (message.userId != null && message.hasOwnProperty("userId"))
144635
145076
  object.userId = message.userId;
@@ -144722,6 +145163,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
144722
145163
  object.subscriptionOrgId = message.subscriptionOrgId;
144723
145164
  if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
144724
145165
  object.healthHubName = message.healthHubName;
145166
+ if (message.clinicalCoverageProvider != null && message.hasOwnProperty("clinicalCoverageProvider"))
145167
+ object.clinicalCoverageProvider = options.enums === String ? $root.b2b.ClinicalCoverageProvider[message.clinicalCoverageProvider] : message.clinicalCoverageProvider;
145168
+ if (message.clinicalCoverageTotal != null && message.hasOwnProperty("clinicalCoverageTotal"))
145169
+ object.clinicalCoverageTotal = message.clinicalCoverageTotal;
145170
+ if (message.clinicalServiceType != null && message.hasOwnProperty("clinicalServiceType"))
145171
+ object.clinicalServiceType = options.enums === String ? $root.b2b.ClinicalServiceType[message.clinicalServiceType] : message.clinicalServiceType;
144725
145172
  return object;
144726
145173
  };
144727
145174
 
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.605.0"
19
+ "version": "1.607.0"
20
20
  }