@headspace/protos-events 1.606.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 +84 -0
- package/lib/index.js +435 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -14169,6 +14169,9 @@ export namespace b2b {
|
|
|
14169
14169
|
|
|
14170
14170
|
/** B2BSubscriptionManagement eapType */
|
|
14171
14171
|
eapType?: (b2b.EapType|null);
|
|
14172
|
+
|
|
14173
|
+
/** B2BSubscriptionManagement clinicalCoverageType */
|
|
14174
|
+
clinicalCoverageType?: (b2b.ClinicalCoverageType|null);
|
|
14172
14175
|
}
|
|
14173
14176
|
|
|
14174
14177
|
/** Represents a B2BSubscriptionManagement. */
|
|
@@ -14219,6 +14222,9 @@ export namespace b2b {
|
|
|
14219
14222
|
/** B2BSubscriptionManagement eapType. */
|
|
14220
14223
|
public eapType: b2b.EapType;
|
|
14221
14224
|
|
|
14225
|
+
/** B2BSubscriptionManagement clinicalCoverageType. */
|
|
14226
|
+
public clinicalCoverageType: b2b.ClinicalCoverageType;
|
|
14227
|
+
|
|
14222
14228
|
/**
|
|
14223
14229
|
* Creates a new B2BSubscriptionManagement instance using the specified properties.
|
|
14224
14230
|
* @param [properties] Properties to set
|
|
@@ -14403,6 +14409,30 @@ export namespace b2b {
|
|
|
14403
14409
|
EAP_TYPE_NONE = 1,
|
|
14404
14410
|
EAP_TYPE_EAP_V2 = 2
|
|
14405
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
|
+
}
|
|
14406
14436
|
}
|
|
14407
14437
|
|
|
14408
14438
|
/** Namespace community. */
|
|
@@ -51325,6 +51355,15 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
51325
51355
|
|
|
51326
51356
|
/** EnterpriseUserEnrollmentCreated healthHubName */
|
|
51327
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);
|
|
51328
51367
|
}
|
|
51329
51368
|
|
|
51330
51369
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -51453,6 +51492,15 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
51453
51492
|
/** EnterpriseUserEnrollmentCreated healthHubName. */
|
|
51454
51493
|
public healthHubName: string;
|
|
51455
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
|
+
|
|
51456
51504
|
/**
|
|
51457
51505
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
51458
51506
|
* @param [properties] Properties to set
|
|
@@ -51628,6 +51676,15 @@ export interface IEnterpriseUserEnrollmentRemoved {
|
|
|
51628
51676
|
|
|
51629
51677
|
/** EnterpriseUserEnrollmentRemoved subscriptionOrgId */
|
|
51630
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);
|
|
51631
51688
|
}
|
|
51632
51689
|
|
|
51633
51690
|
/** Represents an EnterpriseUserEnrollmentRemoved. */
|
|
@@ -51741,6 +51798,15 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
|
|
|
51741
51798
|
/** EnterpriseUserEnrollmentRemoved subscriptionOrgId. */
|
|
51742
51799
|
public subscriptionOrgId: number;
|
|
51743
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
|
+
|
|
51744
51810
|
/**
|
|
51745
51811
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
51746
51812
|
* @param [properties] Properties to set
|
|
@@ -51928,6 +51994,15 @@ export interface IEnterpriseUserEnrollmentAmended {
|
|
|
51928
51994
|
|
|
51929
51995
|
/** EnterpriseUserEnrollmentAmended healthHubName */
|
|
51930
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);
|
|
51931
52006
|
}
|
|
51932
52007
|
|
|
51933
52008
|
/** Represents an EnterpriseUserEnrollmentAmended. */
|
|
@@ -52053,6 +52128,15 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
52053
52128
|
/** EnterpriseUserEnrollmentAmended healthHubName. */
|
|
52054
52129
|
public healthHubName: string;
|
|
52055
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
|
+
|
|
52056
52140
|
/**
|
|
52057
52141
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
52058
52142
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -37507,6 +37507,7 @@ $root.b2b = (function() {
|
|
|
37507
37507
|
* @property {b2b.EnrollmentFlow|null} [enrollmentFlow] B2BSubscriptionManagement enrollmentFlow
|
|
37508
37508
|
* @property {boolean|null} [elfDependentsEnabled] B2BSubscriptionManagement elfDependentsEnabled
|
|
37509
37509
|
* @property {b2b.EapType|null} [eapType] B2BSubscriptionManagement eapType
|
|
37510
|
+
* @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] B2BSubscriptionManagement clinicalCoverageType
|
|
37510
37511
|
*/
|
|
37511
37512
|
|
|
37512
37513
|
/**
|
|
@@ -37629,6 +37630,14 @@ $root.b2b = (function() {
|
|
|
37629
37630
|
*/
|
|
37630
37631
|
B2BSubscriptionManagement.prototype.eapType = 0;
|
|
37631
37632
|
|
|
37633
|
+
/**
|
|
37634
|
+
* B2BSubscriptionManagement clinicalCoverageType.
|
|
37635
|
+
* @member {b2b.ClinicalCoverageType} clinicalCoverageType
|
|
37636
|
+
* @memberof b2b.B2BSubscriptionManagement
|
|
37637
|
+
* @instance
|
|
37638
|
+
*/
|
|
37639
|
+
B2BSubscriptionManagement.prototype.clinicalCoverageType = 0;
|
|
37640
|
+
|
|
37632
37641
|
/**
|
|
37633
37642
|
* Creates a new B2BSubscriptionManagement instance using the specified properties.
|
|
37634
37643
|
* @function create
|
|
@@ -37683,6 +37692,8 @@ $root.b2b = (function() {
|
|
|
37683
37692
|
writer.uint32(/* id 13, wireType 0 =*/104).bool(message.elfDependentsEnabled);
|
|
37684
37693
|
if (message.eapType != null && message.hasOwnProperty("eapType"))
|
|
37685
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);
|
|
37686
37697
|
return writer;
|
|
37687
37698
|
};
|
|
37688
37699
|
|
|
@@ -37763,6 +37774,9 @@ $root.b2b = (function() {
|
|
|
37763
37774
|
case 14:
|
|
37764
37775
|
message.eapType = reader.int32();
|
|
37765
37776
|
break;
|
|
37777
|
+
case 15:
|
|
37778
|
+
message.clinicalCoverageType = reader.int32();
|
|
37779
|
+
break;
|
|
37766
37780
|
default:
|
|
37767
37781
|
reader.skipType(tag & 7);
|
|
37768
37782
|
break;
|
|
@@ -37862,6 +37876,16 @@ $root.b2b = (function() {
|
|
|
37862
37876
|
case 2:
|
|
37863
37877
|
break;
|
|
37864
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
|
+
}
|
|
37865
37889
|
return null;
|
|
37866
37890
|
};
|
|
37867
37891
|
|
|
@@ -37986,6 +38010,24 @@ $root.b2b = (function() {
|
|
|
37986
38010
|
message.eapType = 2;
|
|
37987
38011
|
break;
|
|
37988
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
|
+
}
|
|
37989
38031
|
return message;
|
|
37990
38032
|
};
|
|
37991
38033
|
|
|
@@ -38033,6 +38075,7 @@ $root.b2b = (function() {
|
|
|
38033
38075
|
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
38034
38076
|
object.elfDependentsEnabled = false;
|
|
38035
38077
|
object.eapType = options.enums === String ? "EAP_TYPE_UNKNOWN" : 0;
|
|
38078
|
+
object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
|
|
38036
38079
|
}
|
|
38037
38080
|
if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
|
|
38038
38081
|
object.salesforceOpportunityId = message.salesforceOpportunityId;
|
|
@@ -38075,6 +38118,8 @@ $root.b2b = (function() {
|
|
|
38075
38118
|
object.elfDependentsEnabled = message.elfDependentsEnabled;
|
|
38076
38119
|
if (message.eapType != null && message.hasOwnProperty("eapType"))
|
|
38077
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;
|
|
38078
38123
|
return object;
|
|
38079
38124
|
};
|
|
38080
38125
|
|
|
@@ -38344,6 +38389,60 @@ $root.b2b = (function() {
|
|
|
38344
38389
|
return values;
|
|
38345
38390
|
})();
|
|
38346
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
|
+
|
|
38347
38446
|
return b2b;
|
|
38348
38447
|
})();
|
|
38349
38448
|
|
|
@@ -141124,6 +141223,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
141124
141223
|
* @property {string|null} [healthHub] EnterpriseUserEnrollmentCreated healthHub
|
|
141125
141224
|
* @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentCreated subscriptionOrgId
|
|
141126
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
|
|
141127
141229
|
*/
|
|
141128
141230
|
|
|
141129
141231
|
/**
|
|
@@ -141453,6 +141555,30 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
141453
141555
|
*/
|
|
141454
141556
|
EnterpriseUserEnrollmentCreated.prototype.healthHubName = "";
|
|
141455
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
|
+
|
|
141456
141582
|
/**
|
|
141457
141583
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
141458
141584
|
* @function create
|
|
@@ -141555,6 +141681,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
141555
141681
|
writer.uint32(/* id 43, wireType 0 =*/344).uint32(message.subscriptionOrgId);
|
|
141556
141682
|
if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
|
|
141557
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);
|
|
141558
141690
|
return writer;
|
|
141559
141691
|
};
|
|
141560
141692
|
|
|
@@ -141706,6 +141838,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
141706
141838
|
case 44:
|
|
141707
141839
|
message.healthHubName = reader.string();
|
|
141708
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;
|
|
141709
141850
|
default:
|
|
141710
141851
|
reader.skipType(tag & 7);
|
|
141711
141852
|
break;
|
|
@@ -141903,6 +142044,29 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
141903
142044
|
if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
|
|
141904
142045
|
if (!$util.isString(message.healthHubName))
|
|
141905
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
|
+
}
|
|
141906
142070
|
return null;
|
|
141907
142071
|
};
|
|
141908
142072
|
|
|
@@ -142139,6 +142303,44 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
142139
142303
|
message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
|
|
142140
142304
|
if (object.healthHubName != null)
|
|
142141
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
|
+
}
|
|
142142
142344
|
return message;
|
|
142143
142345
|
};
|
|
142144
142346
|
|
|
@@ -142215,6 +142417,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
142215
142417
|
object.healthHub = "";
|
|
142216
142418
|
object.subscriptionOrgId = 0;
|
|
142217
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;
|
|
142218
142423
|
}
|
|
142219
142424
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
142220
142425
|
object.userId = message.userId;
|
|
@@ -142309,6 +142514,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
142309
142514
|
object.subscriptionOrgId = message.subscriptionOrgId;
|
|
142310
142515
|
if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
|
|
142311
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;
|
|
142312
142523
|
return object;
|
|
142313
142524
|
};
|
|
142314
142525
|
|
|
@@ -142366,6 +142577,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
142366
142577
|
* @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentRemoved eapCoverageTotal
|
|
142367
142578
|
* @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentRemoved eapServiceType
|
|
142368
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
|
|
142369
142583
|
*/
|
|
142370
142584
|
|
|
142371
142585
|
/**
|
|
@@ -142655,6 +142869,30 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
142655
142869
|
*/
|
|
142656
142870
|
EnterpriseUserEnrollmentRemoved.prototype.subscriptionOrgId = 0;
|
|
142657
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
|
+
|
|
142658
142896
|
/**
|
|
142659
142897
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
142660
142898
|
* @function create
|
|
@@ -142747,6 +142985,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
142747
142985
|
writer.uint32(/* id 38, wireType 0 =*/304).int32(message.eapServiceType);
|
|
142748
142986
|
if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
|
|
142749
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);
|
|
142750
142994
|
return writer;
|
|
142751
142995
|
};
|
|
142752
142996
|
|
|
@@ -142883,6 +143127,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
142883
143127
|
case 39:
|
|
142884
143128
|
message.subscriptionOrgId = reader.uint32();
|
|
142885
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;
|
|
142886
143139
|
default:
|
|
142887
143140
|
reader.skipType(tag & 7);
|
|
142888
143141
|
break;
|
|
@@ -143080,6 +143333,29 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
143080
143333
|
if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
|
|
143081
143334
|
if (!$util.isInteger(message.subscriptionOrgId))
|
|
143082
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
|
+
}
|
|
143083
143359
|
return null;
|
|
143084
143360
|
};
|
|
143085
143361
|
|
|
@@ -143354,6 +143630,44 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
143354
143630
|
}
|
|
143355
143631
|
if (object.subscriptionOrgId != null)
|
|
143356
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
|
+
}
|
|
143357
143671
|
return message;
|
|
143358
143672
|
};
|
|
143359
143673
|
|
|
@@ -143425,6 +143739,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
143425
143739
|
object.eapCoverageTotal = 0;
|
|
143426
143740
|
object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
|
|
143427
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;
|
|
143428
143745
|
}
|
|
143429
143746
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
143430
143747
|
object.userId = message.userId;
|
|
@@ -143509,6 +143826,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
143509
143826
|
object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
|
|
143510
143827
|
if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
|
|
143511
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;
|
|
143512
143835
|
return object;
|
|
143513
143836
|
};
|
|
143514
143837
|
|
|
@@ -143570,6 +143893,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
143570
143893
|
* @property {string|null} [healthHub] EnterpriseUserEnrollmentAmended healthHub
|
|
143571
143894
|
* @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentAmended subscriptionOrgId
|
|
143572
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
|
|
143573
143899
|
*/
|
|
143574
143900
|
|
|
143575
143901
|
/**
|
|
@@ -143891,6 +144217,30 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
143891
144217
|
*/
|
|
143892
144218
|
EnterpriseUserEnrollmentAmended.prototype.healthHubName = "";
|
|
143893
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
|
+
|
|
143894
144244
|
/**
|
|
143895
144245
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
143896
144246
|
* @function create
|
|
@@ -143991,6 +144341,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
143991
144341
|
writer.uint32(/* id 43, wireType 0 =*/344).uint32(message.subscriptionOrgId);
|
|
143992
144342
|
if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
|
|
143993
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);
|
|
143994
144350
|
return writer;
|
|
143995
144351
|
};
|
|
143996
144352
|
|
|
@@ -144139,6 +144495,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
144139
144495
|
case 44:
|
|
144140
144496
|
message.healthHubName = reader.string();
|
|
144141
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;
|
|
144142
144507
|
default:
|
|
144143
144508
|
reader.skipType(tag & 7);
|
|
144144
144509
|
break;
|
|
@@ -144333,6 +144698,29 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
144333
144698
|
if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
|
|
144334
144699
|
if (!$util.isString(message.healthHubName))
|
|
144335
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
|
+
}
|
|
144336
144724
|
return null;
|
|
144337
144725
|
};
|
|
144338
144726
|
|
|
@@ -144567,6 +144955,44 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
144567
144955
|
message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
|
|
144568
144956
|
if (object.healthHubName != null)
|
|
144569
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
|
+
}
|
|
144570
144996
|
return message;
|
|
144571
144997
|
};
|
|
144572
144998
|
|
|
@@ -144642,6 +145068,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
144642
145068
|
object.healthHub = "";
|
|
144643
145069
|
object.subscriptionOrgId = 0;
|
|
144644
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;
|
|
144645
145074
|
}
|
|
144646
145075
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
144647
145076
|
object.userId = message.userId;
|
|
@@ -144734,6 +145163,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
144734
145163
|
object.subscriptionOrgId = message.subscriptionOrgId;
|
|
144735
145164
|
if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
|
|
144736
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;
|
|
144737
145172
|
return object;
|
|
144738
145173
|
};
|
|
144739
145174
|
|
package/package.json
CHANGED