@headspace/protos-events 1.568.0 → 1.570.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 +50 -14
- package/lib/index.js +228 -27
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10643,6 +10643,14 @@ export namespace b2b {
|
|
|
10643
10643
|
EAP_COVERAGE_WPO = 2,
|
|
10644
10644
|
EAP_COVERAGE_NONE = 3
|
|
10645
10645
|
}
|
|
10646
|
+
|
|
10647
|
+
/** EapServiceType enum. */
|
|
10648
|
+
enum EapServiceType {
|
|
10649
|
+
EAP_SERVICE_TYPE_UNKNOWN = 0,
|
|
10650
|
+
EAP_SERVICE_TYPE_PSYCHIATRY = 1,
|
|
10651
|
+
EAP_SERVICE_TYPE_THERAPY = 2,
|
|
10652
|
+
EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY = 3
|
|
10653
|
+
}
|
|
10646
10654
|
}
|
|
10647
10655
|
|
|
10648
10656
|
/** Namespace community. */
|
|
@@ -30849,7 +30857,7 @@ export interface IEapCoverageCreated {
|
|
|
30849
30857
|
orgId?: (number|Long|null);
|
|
30850
30858
|
|
|
30851
30859
|
/** EapCoverageCreated serviceType */
|
|
30852
|
-
serviceType?: (EapServiceType|null);
|
|
30860
|
+
serviceType?: (b2b.EapServiceType|null);
|
|
30853
30861
|
|
|
30854
30862
|
/** EapCoverageCreated coverageTotal */
|
|
30855
30863
|
coverageTotal?: (number|Long|null);
|
|
@@ -30877,7 +30885,7 @@ export class EapCoverageCreated implements IEapCoverageCreated {
|
|
|
30877
30885
|
public orgId: (number|Long);
|
|
30878
30886
|
|
|
30879
30887
|
/** EapCoverageCreated serviceType. */
|
|
30880
|
-
public serviceType: EapServiceType;
|
|
30888
|
+
public serviceType: b2b.EapServiceType;
|
|
30881
30889
|
|
|
30882
30890
|
/** EapCoverageCreated coverageTotal. */
|
|
30883
30891
|
public coverageTotal: (number|Long);
|
|
@@ -30969,7 +30977,7 @@ export interface IEapCoverageUpdated {
|
|
|
30969
30977
|
orgId?: (number|Long|null);
|
|
30970
30978
|
|
|
30971
30979
|
/** EapCoverageUpdated serviceType */
|
|
30972
|
-
serviceType?: (EapServiceType|null);
|
|
30980
|
+
serviceType?: (b2b.EapServiceType|null);
|
|
30973
30981
|
|
|
30974
30982
|
/** EapCoverageUpdated coverageTotal */
|
|
30975
30983
|
coverageTotal?: (number|Long|null);
|
|
@@ -30997,7 +31005,7 @@ export class EapCoverageUpdated implements IEapCoverageUpdated {
|
|
|
30997
31005
|
public orgId: (number|Long);
|
|
30998
31006
|
|
|
30999
31007
|
/** EapCoverageUpdated serviceType. */
|
|
31000
|
-
public serviceType: EapServiceType;
|
|
31008
|
+
public serviceType: b2b.EapServiceType;
|
|
31001
31009
|
|
|
31002
31010
|
/** EapCoverageUpdated coverageTotal. */
|
|
31003
31011
|
public coverageTotal: (number|Long);
|
|
@@ -31089,7 +31097,7 @@ export interface IEapCoverageDeleted {
|
|
|
31089
31097
|
orgId?: (number|Long|null);
|
|
31090
31098
|
|
|
31091
31099
|
/** EapCoverageDeleted serviceType */
|
|
31092
|
-
serviceType?: (EapServiceType|null);
|
|
31100
|
+
serviceType?: (b2b.EapServiceType|null);
|
|
31093
31101
|
|
|
31094
31102
|
/** EapCoverageDeleted coverageTotal */
|
|
31095
31103
|
coverageTotal?: (number|Long|null);
|
|
@@ -31117,7 +31125,7 @@ export class EapCoverageDeleted implements IEapCoverageDeleted {
|
|
|
31117
31125
|
public orgId: (number|Long);
|
|
31118
31126
|
|
|
31119
31127
|
/** EapCoverageDeleted serviceType. */
|
|
31120
|
-
public serviceType: EapServiceType;
|
|
31128
|
+
public serviceType: b2b.EapServiceType;
|
|
31121
31129
|
|
|
31122
31130
|
/** EapCoverageDeleted coverageTotal. */
|
|
31123
31131
|
public coverageTotal: (number|Long);
|
|
@@ -31202,14 +31210,6 @@ export class EapCoverageDeleted implements IEapCoverageDeleted {
|
|
|
31202
31210
|
public toJSON(): { [k: string]: any };
|
|
31203
31211
|
}
|
|
31204
31212
|
|
|
31205
|
-
/** EapServiceType enum. */
|
|
31206
|
-
export enum EapServiceType {
|
|
31207
|
-
EAP_SERVICE_TYPE_UNKNOWN = 0,
|
|
31208
|
-
EAP_SERVICE_TYPE_PSYCHIATRY = 1,
|
|
31209
|
-
EAP_SERVICE_TYPE_THERAPY = 2,
|
|
31210
|
-
EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY = 3
|
|
31211
|
-
}
|
|
31212
|
-
|
|
31213
31213
|
/** Properties of an EligibilityFileProcessed. */
|
|
31214
31214
|
export interface IEligibilityFileProcessed {
|
|
31215
31215
|
|
|
@@ -38531,6 +38531,12 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
38531
38531
|
|
|
38532
38532
|
/** EnterpriseUserEnrollmentCreated medicalPlan */
|
|
38533
38533
|
medicalPlan?: (string|null);
|
|
38534
|
+
|
|
38535
|
+
/** EnterpriseUserEnrollmentCreated eapCoverageTotal */
|
|
38536
|
+
eapCoverageTotal?: (number|null);
|
|
38537
|
+
|
|
38538
|
+
/** EnterpriseUserEnrollmentCreated eapServiceType */
|
|
38539
|
+
eapServiceType?: (b2b.EapServiceType|null);
|
|
38534
38540
|
}
|
|
38535
38541
|
|
|
38536
38542
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -38644,6 +38650,12 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
38644
38650
|
/** EnterpriseUserEnrollmentCreated medicalPlan. */
|
|
38645
38651
|
public medicalPlan: string;
|
|
38646
38652
|
|
|
38653
|
+
/** EnterpriseUserEnrollmentCreated eapCoverageTotal. */
|
|
38654
|
+
public eapCoverageTotal: number;
|
|
38655
|
+
|
|
38656
|
+
/** EnterpriseUserEnrollmentCreated eapServiceType. */
|
|
38657
|
+
public eapServiceType: b2b.EapServiceType;
|
|
38658
|
+
|
|
38647
38659
|
/**
|
|
38648
38660
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
38649
38661
|
* @param [properties] Properties to set
|
|
@@ -38810,6 +38822,12 @@ export interface IEnterpriseUserEnrollmentRemoved {
|
|
|
38810
38822
|
|
|
38811
38823
|
/** EnterpriseUserEnrollmentRemoved eapCoverage */
|
|
38812
38824
|
eapCoverage?: (b2b.EapCoverage|null);
|
|
38825
|
+
|
|
38826
|
+
/** EnterpriseUserEnrollmentRemoved eapCoverageTotal */
|
|
38827
|
+
eapCoverageTotal?: (number|null);
|
|
38828
|
+
|
|
38829
|
+
/** EnterpriseUserEnrollmentRemoved eapServiceType */
|
|
38830
|
+
eapServiceType?: (b2b.EapServiceType|null);
|
|
38813
38831
|
}
|
|
38814
38832
|
|
|
38815
38833
|
/** Represents an EnterpriseUserEnrollmentRemoved. */
|
|
@@ -38914,6 +38932,12 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
|
|
|
38914
38932
|
/** EnterpriseUserEnrollmentRemoved eapCoverage. */
|
|
38915
38933
|
public eapCoverage: b2b.EapCoverage;
|
|
38916
38934
|
|
|
38935
|
+
/** EnterpriseUserEnrollmentRemoved eapCoverageTotal. */
|
|
38936
|
+
public eapCoverageTotal: number;
|
|
38937
|
+
|
|
38938
|
+
/** EnterpriseUserEnrollmentRemoved eapServiceType. */
|
|
38939
|
+
public eapServiceType: b2b.EapServiceType;
|
|
38940
|
+
|
|
38917
38941
|
/**
|
|
38918
38942
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
38919
38943
|
* @param [properties] Properties to set
|
|
@@ -39086,6 +39110,12 @@ export interface IEnterpriseUserEnrollmentAmended {
|
|
|
39086
39110
|
|
|
39087
39111
|
/** EnterpriseUserEnrollmentAmended medicalPlan */
|
|
39088
39112
|
medicalPlan?: (string|null);
|
|
39113
|
+
|
|
39114
|
+
/** EnterpriseUserEnrollmentAmended eapCoverageTotal */
|
|
39115
|
+
eapCoverageTotal?: (number|null);
|
|
39116
|
+
|
|
39117
|
+
/** EnterpriseUserEnrollmentAmended eapServiceType */
|
|
39118
|
+
eapServiceType?: (b2b.EapServiceType|null);
|
|
39089
39119
|
}
|
|
39090
39120
|
|
|
39091
39121
|
/** Represents an EnterpriseUserEnrollmentAmended. */
|
|
@@ -39196,6 +39226,12 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
39196
39226
|
/** EnterpriseUserEnrollmentAmended medicalPlan. */
|
|
39197
39227
|
public medicalPlan: string;
|
|
39198
39228
|
|
|
39229
|
+
/** EnterpriseUserEnrollmentAmended eapCoverageTotal. */
|
|
39230
|
+
public eapCoverageTotal: number;
|
|
39231
|
+
|
|
39232
|
+
/** EnterpriseUserEnrollmentAmended eapServiceType. */
|
|
39233
|
+
public eapServiceType: b2b.EapServiceType;
|
|
39234
|
+
|
|
39199
39235
|
/**
|
|
39200
39236
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
39201
39237
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -26008,6 +26008,24 @@ $root.b2b = (function() {
|
|
|
26008
26008
|
return values;
|
|
26009
26009
|
})();
|
|
26010
26010
|
|
|
26011
|
+
/**
|
|
26012
|
+
* EapServiceType enum.
|
|
26013
|
+
* @name b2b.EapServiceType
|
|
26014
|
+
* @enum {string}
|
|
26015
|
+
* @property {number} EAP_SERVICE_TYPE_UNKNOWN=0 EAP_SERVICE_TYPE_UNKNOWN value
|
|
26016
|
+
* @property {number} EAP_SERVICE_TYPE_PSYCHIATRY=1 EAP_SERVICE_TYPE_PSYCHIATRY value
|
|
26017
|
+
* @property {number} EAP_SERVICE_TYPE_THERAPY=2 EAP_SERVICE_TYPE_THERAPY value
|
|
26018
|
+
* @property {number} EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY=3 EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY value
|
|
26019
|
+
*/
|
|
26020
|
+
b2b.EapServiceType = (function() {
|
|
26021
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
26022
|
+
values[valuesById[0] = "EAP_SERVICE_TYPE_UNKNOWN"] = 0;
|
|
26023
|
+
values[valuesById[1] = "EAP_SERVICE_TYPE_PSYCHIATRY"] = 1;
|
|
26024
|
+
values[valuesById[2] = "EAP_SERVICE_TYPE_THERAPY"] = 2;
|
|
26025
|
+
values[valuesById[3] = "EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY"] = 3;
|
|
26026
|
+
return values;
|
|
26027
|
+
})();
|
|
26028
|
+
|
|
26011
26029
|
return b2b;
|
|
26012
26030
|
})();
|
|
26013
26031
|
|
|
@@ -85632,7 +85650,7 @@ $root.EapCoverageCreated = (function() {
|
|
|
85632
85650
|
* @name IEapCoverageCreated
|
|
85633
85651
|
* @interface IEapCoverageCreated
|
|
85634
85652
|
* @property {number|Long|null} [orgId] EapCoverageCreated orgId
|
|
85635
|
-
* @property {EapServiceType|null} [serviceType] EapCoverageCreated serviceType
|
|
85653
|
+
* @property {b2b.EapServiceType|null} [serviceType] EapCoverageCreated serviceType
|
|
85636
85654
|
* @property {number|Long|null} [coverageTotal] EapCoverageCreated coverageTotal
|
|
85637
85655
|
* @property {number|Long|null} [orgSubscriptionEndDate] EapCoverageCreated orgSubscriptionEndDate
|
|
85638
85656
|
* @property {number|Long|null} [updatedAt] EapCoverageCreated updatedAt
|
|
@@ -85664,7 +85682,7 @@ $root.EapCoverageCreated = (function() {
|
|
|
85664
85682
|
|
|
85665
85683
|
/**
|
|
85666
85684
|
* EapCoverageCreated serviceType.
|
|
85667
|
-
* @member {EapServiceType} serviceType
|
|
85685
|
+
* @member {b2b.EapServiceType} serviceType
|
|
85668
85686
|
* @memberof EapCoverageCreated
|
|
85669
85687
|
* @instance
|
|
85670
85688
|
*/
|
|
@@ -85990,7 +86008,7 @@ $root.EapCoverageCreated = (function() {
|
|
|
85990
86008
|
else
|
|
85991
86009
|
object.orgId = options.longs === String ? $util.Long.prototype.toString.call(message.orgId) : options.longs === Number ? new $util.LongBits(message.orgId.low >>> 0, message.orgId.high >>> 0).toNumber(true) : message.orgId;
|
|
85992
86010
|
if (message.serviceType != null && message.hasOwnProperty("serviceType"))
|
|
85993
|
-
object.serviceType = options.enums === String ? $root.EapServiceType[message.serviceType] : message.serviceType;
|
|
86011
|
+
object.serviceType = options.enums === String ? $root.b2b.EapServiceType[message.serviceType] : message.serviceType;
|
|
85994
86012
|
if (message.coverageTotal != null && message.hasOwnProperty("coverageTotal"))
|
|
85995
86013
|
if (typeof message.coverageTotal === "number")
|
|
85996
86014
|
object.coverageTotal = options.longs === String ? String(message.coverageTotal) : message.coverageTotal;
|
|
@@ -86032,7 +86050,7 @@ $root.EapCoverageUpdated = (function() {
|
|
|
86032
86050
|
* @name IEapCoverageUpdated
|
|
86033
86051
|
* @interface IEapCoverageUpdated
|
|
86034
86052
|
* @property {number|Long|null} [orgId] EapCoverageUpdated orgId
|
|
86035
|
-
* @property {EapServiceType|null} [serviceType] EapCoverageUpdated serviceType
|
|
86053
|
+
* @property {b2b.EapServiceType|null} [serviceType] EapCoverageUpdated serviceType
|
|
86036
86054
|
* @property {number|Long|null} [coverageTotal] EapCoverageUpdated coverageTotal
|
|
86037
86055
|
* @property {number|Long|null} [orgSubscriptionEndDate] EapCoverageUpdated orgSubscriptionEndDate
|
|
86038
86056
|
* @property {number|Long|null} [updatedAt] EapCoverageUpdated updatedAt
|
|
@@ -86064,7 +86082,7 @@ $root.EapCoverageUpdated = (function() {
|
|
|
86064
86082
|
|
|
86065
86083
|
/**
|
|
86066
86084
|
* EapCoverageUpdated serviceType.
|
|
86067
|
-
* @member {EapServiceType} serviceType
|
|
86085
|
+
* @member {b2b.EapServiceType} serviceType
|
|
86068
86086
|
* @memberof EapCoverageUpdated
|
|
86069
86087
|
* @instance
|
|
86070
86088
|
*/
|
|
@@ -86390,7 +86408,7 @@ $root.EapCoverageUpdated = (function() {
|
|
|
86390
86408
|
else
|
|
86391
86409
|
object.orgId = options.longs === String ? $util.Long.prototype.toString.call(message.orgId) : options.longs === Number ? new $util.LongBits(message.orgId.low >>> 0, message.orgId.high >>> 0).toNumber(true) : message.orgId;
|
|
86392
86410
|
if (message.serviceType != null && message.hasOwnProperty("serviceType"))
|
|
86393
|
-
object.serviceType = options.enums === String ? $root.EapServiceType[message.serviceType] : message.serviceType;
|
|
86411
|
+
object.serviceType = options.enums === String ? $root.b2b.EapServiceType[message.serviceType] : message.serviceType;
|
|
86394
86412
|
if (message.coverageTotal != null && message.hasOwnProperty("coverageTotal"))
|
|
86395
86413
|
if (typeof message.coverageTotal === "number")
|
|
86396
86414
|
object.coverageTotal = options.longs === String ? String(message.coverageTotal) : message.coverageTotal;
|
|
@@ -86432,7 +86450,7 @@ $root.EapCoverageDeleted = (function() {
|
|
|
86432
86450
|
* @name IEapCoverageDeleted
|
|
86433
86451
|
* @interface IEapCoverageDeleted
|
|
86434
86452
|
* @property {number|Long|null} [orgId] EapCoverageDeleted orgId
|
|
86435
|
-
* @property {EapServiceType|null} [serviceType] EapCoverageDeleted serviceType
|
|
86453
|
+
* @property {b2b.EapServiceType|null} [serviceType] EapCoverageDeleted serviceType
|
|
86436
86454
|
* @property {number|Long|null} [coverageTotal] EapCoverageDeleted coverageTotal
|
|
86437
86455
|
* @property {number|Long|null} [orgSubscriptionEndDate] EapCoverageDeleted orgSubscriptionEndDate
|
|
86438
86456
|
* @property {number|Long|null} [updatedAt] EapCoverageDeleted updatedAt
|
|
@@ -86464,7 +86482,7 @@ $root.EapCoverageDeleted = (function() {
|
|
|
86464
86482
|
|
|
86465
86483
|
/**
|
|
86466
86484
|
* EapCoverageDeleted serviceType.
|
|
86467
|
-
* @member {EapServiceType} serviceType
|
|
86485
|
+
* @member {b2b.EapServiceType} serviceType
|
|
86468
86486
|
* @memberof EapCoverageDeleted
|
|
86469
86487
|
* @instance
|
|
86470
86488
|
*/
|
|
@@ -86790,7 +86808,7 @@ $root.EapCoverageDeleted = (function() {
|
|
|
86790
86808
|
else
|
|
86791
86809
|
object.orgId = options.longs === String ? $util.Long.prototype.toString.call(message.orgId) : options.longs === Number ? new $util.LongBits(message.orgId.low >>> 0, message.orgId.high >>> 0).toNumber(true) : message.orgId;
|
|
86792
86810
|
if (message.serviceType != null && message.hasOwnProperty("serviceType"))
|
|
86793
|
-
object.serviceType = options.enums === String ? $root.EapServiceType[message.serviceType] : message.serviceType;
|
|
86811
|
+
object.serviceType = options.enums === String ? $root.b2b.EapServiceType[message.serviceType] : message.serviceType;
|
|
86794
86812
|
if (message.coverageTotal != null && message.hasOwnProperty("coverageTotal"))
|
|
86795
86813
|
if (typeof message.coverageTotal === "number")
|
|
86796
86814
|
object.coverageTotal = options.longs === String ? String(message.coverageTotal) : message.coverageTotal;
|
|
@@ -86825,24 +86843,6 @@ $root.EapCoverageDeleted = (function() {
|
|
|
86825
86843
|
return EapCoverageDeleted;
|
|
86826
86844
|
})();
|
|
86827
86845
|
|
|
86828
|
-
/**
|
|
86829
|
-
* EapServiceType enum.
|
|
86830
|
-
* @name EapServiceType
|
|
86831
|
-
* @enum {string}
|
|
86832
|
-
* @property {number} EAP_SERVICE_TYPE_UNKNOWN=0 EAP_SERVICE_TYPE_UNKNOWN value
|
|
86833
|
-
* @property {number} EAP_SERVICE_TYPE_PSYCHIATRY=1 EAP_SERVICE_TYPE_PSYCHIATRY value
|
|
86834
|
-
* @property {number} EAP_SERVICE_TYPE_THERAPY=2 EAP_SERVICE_TYPE_THERAPY value
|
|
86835
|
-
* @property {number} EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY=3 EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY value
|
|
86836
|
-
*/
|
|
86837
|
-
$root.EapServiceType = (function() {
|
|
86838
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
86839
|
-
values[valuesById[0] = "EAP_SERVICE_TYPE_UNKNOWN"] = 0;
|
|
86840
|
-
values[valuesById[1] = "EAP_SERVICE_TYPE_PSYCHIATRY"] = 1;
|
|
86841
|
-
values[valuesById[2] = "EAP_SERVICE_TYPE_THERAPY"] = 2;
|
|
86842
|
-
values[valuesById[3] = "EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY"] = 3;
|
|
86843
|
-
return values;
|
|
86844
|
-
})();
|
|
86845
|
-
|
|
86846
86846
|
$root.EligibilityFileProcessed = (function() {
|
|
86847
86847
|
|
|
86848
86848
|
/**
|
|
@@ -107733,6 +107733,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
107733
107733
|
* @property {string|null} [partnerUserId] EnterpriseUserEnrollmentCreated partnerUserId
|
|
107734
107734
|
* @property {string|null} [partnerSubscriberUserId] EnterpriseUserEnrollmentCreated partnerSubscriberUserId
|
|
107735
107735
|
* @property {string|null} [medicalPlan] EnterpriseUserEnrollmentCreated medicalPlan
|
|
107736
|
+
* @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentCreated eapCoverageTotal
|
|
107737
|
+
* @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentCreated eapServiceType
|
|
107736
107738
|
*/
|
|
107737
107739
|
|
|
107738
107740
|
/**
|
|
@@ -108022,6 +108024,22 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108022
108024
|
*/
|
|
108023
108025
|
EnterpriseUserEnrollmentCreated.prototype.medicalPlan = "";
|
|
108024
108026
|
|
|
108027
|
+
/**
|
|
108028
|
+
* EnterpriseUserEnrollmentCreated eapCoverageTotal.
|
|
108029
|
+
* @member {number} eapCoverageTotal
|
|
108030
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
108031
|
+
* @instance
|
|
108032
|
+
*/
|
|
108033
|
+
EnterpriseUserEnrollmentCreated.prototype.eapCoverageTotal = 0;
|
|
108034
|
+
|
|
108035
|
+
/**
|
|
108036
|
+
* EnterpriseUserEnrollmentCreated eapServiceType.
|
|
108037
|
+
* @member {b2b.EapServiceType} eapServiceType
|
|
108038
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
108039
|
+
* @instance
|
|
108040
|
+
*/
|
|
108041
|
+
EnterpriseUserEnrollmentCreated.prototype.eapServiceType = 0;
|
|
108042
|
+
|
|
108025
108043
|
/**
|
|
108026
108044
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
108027
108045
|
* @function create
|
|
@@ -108114,6 +108132,10 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108114
108132
|
writer.uint32(/* id 38, wireType 2 =*/306).string(message.partnerSubscriberUserId);
|
|
108115
108133
|
if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
|
|
108116
108134
|
writer.uint32(/* id 39, wireType 2 =*/314).string(message.medicalPlan);
|
|
108135
|
+
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
108136
|
+
writer.uint32(/* id 40, wireType 0 =*/320).uint32(message.eapCoverageTotal);
|
|
108137
|
+
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
108138
|
+
writer.uint32(/* id 41, wireType 0 =*/328).int32(message.eapServiceType);
|
|
108117
108139
|
return writer;
|
|
108118
108140
|
};
|
|
108119
108141
|
|
|
@@ -108250,6 +108272,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108250
108272
|
case 39:
|
|
108251
108273
|
message.medicalPlan = reader.string();
|
|
108252
108274
|
break;
|
|
108275
|
+
case 40:
|
|
108276
|
+
message.eapCoverageTotal = reader.uint32();
|
|
108277
|
+
break;
|
|
108278
|
+
case 41:
|
|
108279
|
+
message.eapServiceType = reader.int32();
|
|
108280
|
+
break;
|
|
108253
108281
|
default:
|
|
108254
108282
|
reader.skipType(tag & 7);
|
|
108255
108283
|
break;
|
|
@@ -108425,6 +108453,19 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108425
108453
|
if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
|
|
108426
108454
|
if (!$util.isString(message.medicalPlan))
|
|
108427
108455
|
return "medicalPlan: string expected";
|
|
108456
|
+
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
108457
|
+
if (!$util.isInteger(message.eapCoverageTotal))
|
|
108458
|
+
return "eapCoverageTotal: integer expected";
|
|
108459
|
+
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
108460
|
+
switch (message.eapServiceType) {
|
|
108461
|
+
default:
|
|
108462
|
+
return "eapServiceType: enum value expected";
|
|
108463
|
+
case 0:
|
|
108464
|
+
case 1:
|
|
108465
|
+
case 2:
|
|
108466
|
+
case 3:
|
|
108467
|
+
break;
|
|
108468
|
+
}
|
|
108428
108469
|
return null;
|
|
108429
108470
|
};
|
|
108430
108471
|
|
|
@@ -108635,6 +108676,26 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108635
108676
|
message.partnerSubscriberUserId = String(object.partnerSubscriberUserId);
|
|
108636
108677
|
if (object.medicalPlan != null)
|
|
108637
108678
|
message.medicalPlan = String(object.medicalPlan);
|
|
108679
|
+
if (object.eapCoverageTotal != null)
|
|
108680
|
+
message.eapCoverageTotal = object.eapCoverageTotal >>> 0;
|
|
108681
|
+
switch (object.eapServiceType) {
|
|
108682
|
+
case "EAP_SERVICE_TYPE_UNKNOWN":
|
|
108683
|
+
case 0:
|
|
108684
|
+
message.eapServiceType = 0;
|
|
108685
|
+
break;
|
|
108686
|
+
case "EAP_SERVICE_TYPE_PSYCHIATRY":
|
|
108687
|
+
case 1:
|
|
108688
|
+
message.eapServiceType = 1;
|
|
108689
|
+
break;
|
|
108690
|
+
case "EAP_SERVICE_TYPE_THERAPY":
|
|
108691
|
+
case 2:
|
|
108692
|
+
message.eapServiceType = 2;
|
|
108693
|
+
break;
|
|
108694
|
+
case "EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY":
|
|
108695
|
+
case 3:
|
|
108696
|
+
message.eapServiceType = 3;
|
|
108697
|
+
break;
|
|
108698
|
+
}
|
|
108638
108699
|
return message;
|
|
108639
108700
|
};
|
|
108640
108701
|
|
|
@@ -108706,6 +108767,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108706
108767
|
object.partnerUserId = "";
|
|
108707
108768
|
object.partnerSubscriberUserId = "";
|
|
108708
108769
|
object.medicalPlan = "";
|
|
108770
|
+
object.eapCoverageTotal = 0;
|
|
108771
|
+
object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
|
|
108709
108772
|
}
|
|
108710
108773
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
108711
108774
|
object.userId = message.userId;
|
|
@@ -108790,6 +108853,10 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108790
108853
|
object.partnerSubscriberUserId = message.partnerSubscriberUserId;
|
|
108791
108854
|
if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
|
|
108792
108855
|
object.medicalPlan = message.medicalPlan;
|
|
108856
|
+
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
108857
|
+
object.eapCoverageTotal = message.eapCoverageTotal;
|
|
108858
|
+
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
108859
|
+
object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
|
|
108793
108860
|
return object;
|
|
108794
108861
|
};
|
|
108795
108862
|
|
|
@@ -108844,6 +108911,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
108844
108911
|
* @property {string|null} [languagePreference] EnterpriseUserEnrollmentRemoved languagePreference
|
|
108845
108912
|
* @property {string|null} [dependentOf] EnterpriseUserEnrollmentRemoved dependentOf
|
|
108846
108913
|
* @property {b2b.EapCoverage|null} [eapCoverage] EnterpriseUserEnrollmentRemoved eapCoverage
|
|
108914
|
+
* @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentRemoved eapCoverageTotal
|
|
108915
|
+
* @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentRemoved eapServiceType
|
|
108847
108916
|
*/
|
|
108848
108917
|
|
|
108849
108918
|
/**
|
|
@@ -109109,6 +109178,22 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109109
109178
|
*/
|
|
109110
109179
|
EnterpriseUserEnrollmentRemoved.prototype.eapCoverage = 0;
|
|
109111
109180
|
|
|
109181
|
+
/**
|
|
109182
|
+
* EnterpriseUserEnrollmentRemoved eapCoverageTotal.
|
|
109183
|
+
* @member {number} eapCoverageTotal
|
|
109184
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
109185
|
+
* @instance
|
|
109186
|
+
*/
|
|
109187
|
+
EnterpriseUserEnrollmentRemoved.prototype.eapCoverageTotal = 0;
|
|
109188
|
+
|
|
109189
|
+
/**
|
|
109190
|
+
* EnterpriseUserEnrollmentRemoved eapServiceType.
|
|
109191
|
+
* @member {b2b.EapServiceType} eapServiceType
|
|
109192
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
109193
|
+
* @instance
|
|
109194
|
+
*/
|
|
109195
|
+
EnterpriseUserEnrollmentRemoved.prototype.eapServiceType = 0;
|
|
109196
|
+
|
|
109112
109197
|
/**
|
|
109113
109198
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
109114
109199
|
* @function create
|
|
@@ -109195,6 +109280,10 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109195
109280
|
writer.uint32(/* id 35, wireType 2 =*/282).string(message.dependentOf);
|
|
109196
109281
|
if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
|
|
109197
109282
|
writer.uint32(/* id 36, wireType 0 =*/288).int32(message.eapCoverage);
|
|
109283
|
+
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
109284
|
+
writer.uint32(/* id 37, wireType 0 =*/296).uint32(message.eapCoverageTotal);
|
|
109285
|
+
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
109286
|
+
writer.uint32(/* id 38, wireType 0 =*/304).int32(message.eapServiceType);
|
|
109198
109287
|
return writer;
|
|
109199
109288
|
};
|
|
109200
109289
|
|
|
@@ -109322,6 +109411,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109322
109411
|
case 36:
|
|
109323
109412
|
message.eapCoverage = reader.int32();
|
|
109324
109413
|
break;
|
|
109414
|
+
case 37:
|
|
109415
|
+
message.eapCoverageTotal = reader.uint32();
|
|
109416
|
+
break;
|
|
109417
|
+
case 38:
|
|
109418
|
+
message.eapServiceType = reader.int32();
|
|
109419
|
+
break;
|
|
109325
109420
|
default:
|
|
109326
109421
|
reader.skipType(tag & 7);
|
|
109327
109422
|
break;
|
|
@@ -109503,6 +109598,19 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109503
109598
|
case 3:
|
|
109504
109599
|
break;
|
|
109505
109600
|
}
|
|
109601
|
+
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
109602
|
+
if (!$util.isInteger(message.eapCoverageTotal))
|
|
109603
|
+
return "eapCoverageTotal: integer expected";
|
|
109604
|
+
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
109605
|
+
switch (message.eapServiceType) {
|
|
109606
|
+
default:
|
|
109607
|
+
return "eapServiceType: enum value expected";
|
|
109608
|
+
case 0:
|
|
109609
|
+
case 1:
|
|
109610
|
+
case 2:
|
|
109611
|
+
case 3:
|
|
109612
|
+
break;
|
|
109613
|
+
}
|
|
109506
109614
|
return null;
|
|
109507
109615
|
};
|
|
109508
109616
|
|
|
@@ -109755,6 +109863,26 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109755
109863
|
message.eapCoverage = 3;
|
|
109756
109864
|
break;
|
|
109757
109865
|
}
|
|
109866
|
+
if (object.eapCoverageTotal != null)
|
|
109867
|
+
message.eapCoverageTotal = object.eapCoverageTotal >>> 0;
|
|
109868
|
+
switch (object.eapServiceType) {
|
|
109869
|
+
case "EAP_SERVICE_TYPE_UNKNOWN":
|
|
109870
|
+
case 0:
|
|
109871
|
+
message.eapServiceType = 0;
|
|
109872
|
+
break;
|
|
109873
|
+
case "EAP_SERVICE_TYPE_PSYCHIATRY":
|
|
109874
|
+
case 1:
|
|
109875
|
+
message.eapServiceType = 1;
|
|
109876
|
+
break;
|
|
109877
|
+
case "EAP_SERVICE_TYPE_THERAPY":
|
|
109878
|
+
case 2:
|
|
109879
|
+
message.eapServiceType = 2;
|
|
109880
|
+
break;
|
|
109881
|
+
case "EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY":
|
|
109882
|
+
case 3:
|
|
109883
|
+
message.eapServiceType = 3;
|
|
109884
|
+
break;
|
|
109885
|
+
}
|
|
109758
109886
|
return message;
|
|
109759
109887
|
};
|
|
109760
109888
|
|
|
@@ -109823,6 +109951,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109823
109951
|
object.languagePreference = "";
|
|
109824
109952
|
object.dependentOf = "";
|
|
109825
109953
|
object.eapCoverage = options.enums === String ? "EAP_COVERAGE_UNKNOWN" : 0;
|
|
109954
|
+
object.eapCoverageTotal = 0;
|
|
109955
|
+
object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
|
|
109826
109956
|
}
|
|
109827
109957
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
109828
109958
|
object.userId = message.userId;
|
|
@@ -109901,6 +110031,10 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109901
110031
|
object.dependentOf = message.dependentOf;
|
|
109902
110032
|
if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
|
|
109903
110033
|
object.eapCoverage = options.enums === String ? $root.b2b.EapCoverage[message.eapCoverage] : message.eapCoverage;
|
|
110034
|
+
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
110035
|
+
object.eapCoverageTotal = message.eapCoverageTotal;
|
|
110036
|
+
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
110037
|
+
object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
|
|
109904
110038
|
return object;
|
|
109905
110039
|
};
|
|
109906
110040
|
|
|
@@ -109957,6 +110091,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
109957
110091
|
* @property {string|null} [partnerUserId] EnterpriseUserEnrollmentAmended partnerUserId
|
|
109958
110092
|
* @property {string|null} [partnerSubscriberUserId] EnterpriseUserEnrollmentAmended partnerSubscriberUserId
|
|
109959
110093
|
* @property {string|null} [medicalPlan] EnterpriseUserEnrollmentAmended medicalPlan
|
|
110094
|
+
* @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentAmended eapCoverageTotal
|
|
110095
|
+
* @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentAmended eapServiceType
|
|
109960
110096
|
*/
|
|
109961
110097
|
|
|
109962
110098
|
/**
|
|
@@ -110238,6 +110374,22 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110238
110374
|
*/
|
|
110239
110375
|
EnterpriseUserEnrollmentAmended.prototype.medicalPlan = "";
|
|
110240
110376
|
|
|
110377
|
+
/**
|
|
110378
|
+
* EnterpriseUserEnrollmentAmended eapCoverageTotal.
|
|
110379
|
+
* @member {number} eapCoverageTotal
|
|
110380
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
110381
|
+
* @instance
|
|
110382
|
+
*/
|
|
110383
|
+
EnterpriseUserEnrollmentAmended.prototype.eapCoverageTotal = 0;
|
|
110384
|
+
|
|
110385
|
+
/**
|
|
110386
|
+
* EnterpriseUserEnrollmentAmended eapServiceType.
|
|
110387
|
+
* @member {b2b.EapServiceType} eapServiceType
|
|
110388
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
110389
|
+
* @instance
|
|
110390
|
+
*/
|
|
110391
|
+
EnterpriseUserEnrollmentAmended.prototype.eapServiceType = 0;
|
|
110392
|
+
|
|
110241
110393
|
/**
|
|
110242
110394
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
110243
110395
|
* @function create
|
|
@@ -110328,6 +110480,10 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110328
110480
|
writer.uint32(/* id 38, wireType 2 =*/306).string(message.partnerSubscriberUserId);
|
|
110329
110481
|
if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
|
|
110330
110482
|
writer.uint32(/* id 39, wireType 2 =*/314).string(message.medicalPlan);
|
|
110483
|
+
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
110484
|
+
writer.uint32(/* id 40, wireType 0 =*/320).uint32(message.eapCoverageTotal);
|
|
110485
|
+
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
110486
|
+
writer.uint32(/* id 41, wireType 0 =*/328).int32(message.eapServiceType);
|
|
110331
110487
|
return writer;
|
|
110332
110488
|
};
|
|
110333
110489
|
|
|
@@ -110461,6 +110617,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110461
110617
|
case 39:
|
|
110462
110618
|
message.medicalPlan = reader.string();
|
|
110463
110619
|
break;
|
|
110620
|
+
case 40:
|
|
110621
|
+
message.eapCoverageTotal = reader.uint32();
|
|
110622
|
+
break;
|
|
110623
|
+
case 41:
|
|
110624
|
+
message.eapServiceType = reader.int32();
|
|
110625
|
+
break;
|
|
110464
110626
|
default:
|
|
110465
110627
|
reader.skipType(tag & 7);
|
|
110466
110628
|
break;
|
|
@@ -110633,6 +110795,19 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110633
110795
|
if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
|
|
110634
110796
|
if (!$util.isString(message.medicalPlan))
|
|
110635
110797
|
return "medicalPlan: string expected";
|
|
110798
|
+
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
110799
|
+
if (!$util.isInteger(message.eapCoverageTotal))
|
|
110800
|
+
return "eapCoverageTotal: integer expected";
|
|
110801
|
+
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
110802
|
+
switch (message.eapServiceType) {
|
|
110803
|
+
default:
|
|
110804
|
+
return "eapServiceType: enum value expected";
|
|
110805
|
+
case 0:
|
|
110806
|
+
case 1:
|
|
110807
|
+
case 2:
|
|
110808
|
+
case 3:
|
|
110809
|
+
break;
|
|
110810
|
+
}
|
|
110636
110811
|
return null;
|
|
110637
110812
|
};
|
|
110638
110813
|
|
|
@@ -110841,6 +111016,26 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110841
111016
|
message.partnerSubscriberUserId = String(object.partnerSubscriberUserId);
|
|
110842
111017
|
if (object.medicalPlan != null)
|
|
110843
111018
|
message.medicalPlan = String(object.medicalPlan);
|
|
111019
|
+
if (object.eapCoverageTotal != null)
|
|
111020
|
+
message.eapCoverageTotal = object.eapCoverageTotal >>> 0;
|
|
111021
|
+
switch (object.eapServiceType) {
|
|
111022
|
+
case "EAP_SERVICE_TYPE_UNKNOWN":
|
|
111023
|
+
case 0:
|
|
111024
|
+
message.eapServiceType = 0;
|
|
111025
|
+
break;
|
|
111026
|
+
case "EAP_SERVICE_TYPE_PSYCHIATRY":
|
|
111027
|
+
case 1:
|
|
111028
|
+
message.eapServiceType = 1;
|
|
111029
|
+
break;
|
|
111030
|
+
case "EAP_SERVICE_TYPE_THERAPY":
|
|
111031
|
+
case 2:
|
|
111032
|
+
message.eapServiceType = 2;
|
|
111033
|
+
break;
|
|
111034
|
+
case "EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY":
|
|
111035
|
+
case 3:
|
|
111036
|
+
message.eapServiceType = 3;
|
|
111037
|
+
break;
|
|
111038
|
+
}
|
|
110844
111039
|
return message;
|
|
110845
111040
|
};
|
|
110846
111041
|
|
|
@@ -110911,6 +111106,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110911
111106
|
object.partnerUserId = "";
|
|
110912
111107
|
object.partnerSubscriberUserId = "";
|
|
110913
111108
|
object.medicalPlan = "";
|
|
111109
|
+
object.eapCoverageTotal = 0;
|
|
111110
|
+
object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
|
|
110914
111111
|
}
|
|
110915
111112
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
110916
111113
|
object.userId = message.userId;
|
|
@@ -110993,6 +111190,10 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110993
111190
|
object.partnerSubscriberUserId = message.partnerSubscriberUserId;
|
|
110994
111191
|
if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
|
|
110995
111192
|
object.medicalPlan = message.medicalPlan;
|
|
111193
|
+
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
111194
|
+
object.eapCoverageTotal = message.eapCoverageTotal;
|
|
111195
|
+
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
111196
|
+
object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
|
|
110996
111197
|
return object;
|
|
110997
111198
|
};
|
|
110998
111199
|
|
package/package.json
CHANGED