@headspace/protos-events 1.569.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 +26 -2
- package/lib/index.js +144 -24
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -38533,7 +38533,7 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
38533
38533
|
medicalPlan?: (string|null);
|
|
38534
38534
|
|
|
38535
38535
|
/** EnterpriseUserEnrollmentCreated eapCoverageTotal */
|
|
38536
|
-
eapCoverageTotal?: (number|
|
|
38536
|
+
eapCoverageTotal?: (number|null);
|
|
38537
38537
|
|
|
38538
38538
|
/** EnterpriseUserEnrollmentCreated eapServiceType */
|
|
38539
38539
|
eapServiceType?: (b2b.EapServiceType|null);
|
|
@@ -38651,7 +38651,7 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
38651
38651
|
public medicalPlan: string;
|
|
38652
38652
|
|
|
38653
38653
|
/** EnterpriseUserEnrollmentCreated eapCoverageTotal. */
|
|
38654
|
-
public eapCoverageTotal:
|
|
38654
|
+
public eapCoverageTotal: number;
|
|
38655
38655
|
|
|
38656
38656
|
/** EnterpriseUserEnrollmentCreated eapServiceType. */
|
|
38657
38657
|
public eapServiceType: b2b.EapServiceType;
|
|
@@ -38822,6 +38822,12 @@ export interface IEnterpriseUserEnrollmentRemoved {
|
|
|
38822
38822
|
|
|
38823
38823
|
/** EnterpriseUserEnrollmentRemoved eapCoverage */
|
|
38824
38824
|
eapCoverage?: (b2b.EapCoverage|null);
|
|
38825
|
+
|
|
38826
|
+
/** EnterpriseUserEnrollmentRemoved eapCoverageTotal */
|
|
38827
|
+
eapCoverageTotal?: (number|null);
|
|
38828
|
+
|
|
38829
|
+
/** EnterpriseUserEnrollmentRemoved eapServiceType */
|
|
38830
|
+
eapServiceType?: (b2b.EapServiceType|null);
|
|
38825
38831
|
}
|
|
38826
38832
|
|
|
38827
38833
|
/** Represents an EnterpriseUserEnrollmentRemoved. */
|
|
@@ -38926,6 +38932,12 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
|
|
|
38926
38932
|
/** EnterpriseUserEnrollmentRemoved eapCoverage. */
|
|
38927
38933
|
public eapCoverage: b2b.EapCoverage;
|
|
38928
38934
|
|
|
38935
|
+
/** EnterpriseUserEnrollmentRemoved eapCoverageTotal. */
|
|
38936
|
+
public eapCoverageTotal: number;
|
|
38937
|
+
|
|
38938
|
+
/** EnterpriseUserEnrollmentRemoved eapServiceType. */
|
|
38939
|
+
public eapServiceType: b2b.EapServiceType;
|
|
38940
|
+
|
|
38929
38941
|
/**
|
|
38930
38942
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
38931
38943
|
* @param [properties] Properties to set
|
|
@@ -39098,6 +39110,12 @@ export interface IEnterpriseUserEnrollmentAmended {
|
|
|
39098
39110
|
|
|
39099
39111
|
/** EnterpriseUserEnrollmentAmended medicalPlan */
|
|
39100
39112
|
medicalPlan?: (string|null);
|
|
39113
|
+
|
|
39114
|
+
/** EnterpriseUserEnrollmentAmended eapCoverageTotal */
|
|
39115
|
+
eapCoverageTotal?: (number|null);
|
|
39116
|
+
|
|
39117
|
+
/** EnterpriseUserEnrollmentAmended eapServiceType */
|
|
39118
|
+
eapServiceType?: (b2b.EapServiceType|null);
|
|
39101
39119
|
}
|
|
39102
39120
|
|
|
39103
39121
|
/** Represents an EnterpriseUserEnrollmentAmended. */
|
|
@@ -39208,6 +39226,12 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
39208
39226
|
/** EnterpriseUserEnrollmentAmended medicalPlan. */
|
|
39209
39227
|
public medicalPlan: string;
|
|
39210
39228
|
|
|
39229
|
+
/** EnterpriseUserEnrollmentAmended eapCoverageTotal. */
|
|
39230
|
+
public eapCoverageTotal: number;
|
|
39231
|
+
|
|
39232
|
+
/** EnterpriseUserEnrollmentAmended eapServiceType. */
|
|
39233
|
+
public eapServiceType: b2b.EapServiceType;
|
|
39234
|
+
|
|
39211
39235
|
/**
|
|
39212
39236
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
39213
39237
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -107733,7 +107733,7 @@ $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|
|
|
107736
|
+
* @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentCreated eapCoverageTotal
|
|
107737
107737
|
* @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentCreated eapServiceType
|
|
107738
107738
|
*/
|
|
107739
107739
|
|
|
@@ -108026,11 +108026,11 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108026
108026
|
|
|
108027
108027
|
/**
|
|
108028
108028
|
* EnterpriseUserEnrollmentCreated eapCoverageTotal.
|
|
108029
|
-
* @member {number
|
|
108029
|
+
* @member {number} eapCoverageTotal
|
|
108030
108030
|
* @memberof EnterpriseUserEnrollmentCreated
|
|
108031
108031
|
* @instance
|
|
108032
108032
|
*/
|
|
108033
|
-
EnterpriseUserEnrollmentCreated.prototype.eapCoverageTotal =
|
|
108033
|
+
EnterpriseUserEnrollmentCreated.prototype.eapCoverageTotal = 0;
|
|
108034
108034
|
|
|
108035
108035
|
/**
|
|
108036
108036
|
* EnterpriseUserEnrollmentCreated eapServiceType.
|
|
@@ -108133,7 +108133,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108133
108133
|
if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
|
|
108134
108134
|
writer.uint32(/* id 39, wireType 2 =*/314).string(message.medicalPlan);
|
|
108135
108135
|
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
108136
|
-
writer.uint32(/* id 40, wireType 0 =*/320).
|
|
108136
|
+
writer.uint32(/* id 40, wireType 0 =*/320).uint32(message.eapCoverageTotal);
|
|
108137
108137
|
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
108138
108138
|
writer.uint32(/* id 41, wireType 0 =*/328).int32(message.eapServiceType);
|
|
108139
108139
|
return writer;
|
|
@@ -108273,7 +108273,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108273
108273
|
message.medicalPlan = reader.string();
|
|
108274
108274
|
break;
|
|
108275
108275
|
case 40:
|
|
108276
|
-
message.eapCoverageTotal = reader.
|
|
108276
|
+
message.eapCoverageTotal = reader.uint32();
|
|
108277
108277
|
break;
|
|
108278
108278
|
case 41:
|
|
108279
108279
|
message.eapServiceType = reader.int32();
|
|
@@ -108454,8 +108454,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108454
108454
|
if (!$util.isString(message.medicalPlan))
|
|
108455
108455
|
return "medicalPlan: string expected";
|
|
108456
108456
|
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
108457
|
-
if (!$util.isInteger(message.eapCoverageTotal)
|
|
108458
|
-
return "eapCoverageTotal: integer
|
|
108457
|
+
if (!$util.isInteger(message.eapCoverageTotal))
|
|
108458
|
+
return "eapCoverageTotal: integer expected";
|
|
108459
108459
|
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
108460
108460
|
switch (message.eapServiceType) {
|
|
108461
108461
|
default:
|
|
@@ -108677,14 +108677,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108677
108677
|
if (object.medicalPlan != null)
|
|
108678
108678
|
message.medicalPlan = String(object.medicalPlan);
|
|
108679
108679
|
if (object.eapCoverageTotal != null)
|
|
108680
|
-
|
|
108681
|
-
(message.eapCoverageTotal = $util.Long.fromValue(object.eapCoverageTotal)).unsigned = true;
|
|
108682
|
-
else if (typeof object.eapCoverageTotal === "string")
|
|
108683
|
-
message.eapCoverageTotal = parseInt(object.eapCoverageTotal, 10);
|
|
108684
|
-
else if (typeof object.eapCoverageTotal === "number")
|
|
108685
|
-
message.eapCoverageTotal = object.eapCoverageTotal;
|
|
108686
|
-
else if (typeof object.eapCoverageTotal === "object")
|
|
108687
|
-
message.eapCoverageTotal = new $util.LongBits(object.eapCoverageTotal.low >>> 0, object.eapCoverageTotal.high >>> 0).toNumber(true);
|
|
108680
|
+
message.eapCoverageTotal = object.eapCoverageTotal >>> 0;
|
|
108688
108681
|
switch (object.eapServiceType) {
|
|
108689
108682
|
case "EAP_SERVICE_TYPE_UNKNOWN":
|
|
108690
108683
|
case 0:
|
|
@@ -108774,11 +108767,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108774
108767
|
object.partnerUserId = "";
|
|
108775
108768
|
object.partnerSubscriberUserId = "";
|
|
108776
108769
|
object.medicalPlan = "";
|
|
108777
|
-
|
|
108778
|
-
var long = new $util.Long(0, 0, true);
|
|
108779
|
-
object.eapCoverageTotal = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
108780
|
-
} else
|
|
108781
|
-
object.eapCoverageTotal = options.longs === String ? "0" : 0;
|
|
108770
|
+
object.eapCoverageTotal = 0;
|
|
108782
108771
|
object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
|
|
108783
108772
|
}
|
|
108784
108773
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
@@ -108865,10 +108854,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108865
108854
|
if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
|
|
108866
108855
|
object.medicalPlan = message.medicalPlan;
|
|
108867
108856
|
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
108868
|
-
|
|
108869
|
-
object.eapCoverageTotal = options.longs === String ? String(message.eapCoverageTotal) : message.eapCoverageTotal;
|
|
108870
|
-
else
|
|
108871
|
-
object.eapCoverageTotal = options.longs === String ? $util.Long.prototype.toString.call(message.eapCoverageTotal) : options.longs === Number ? new $util.LongBits(message.eapCoverageTotal.low >>> 0, message.eapCoverageTotal.high >>> 0).toNumber(true) : message.eapCoverageTotal;
|
|
108857
|
+
object.eapCoverageTotal = message.eapCoverageTotal;
|
|
108872
108858
|
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
108873
108859
|
object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
|
|
108874
108860
|
return object;
|
|
@@ -108925,6 +108911,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
108925
108911
|
* @property {string|null} [languagePreference] EnterpriseUserEnrollmentRemoved languagePreference
|
|
108926
108912
|
* @property {string|null} [dependentOf] EnterpriseUserEnrollmentRemoved dependentOf
|
|
108927
108913
|
* @property {b2b.EapCoverage|null} [eapCoverage] EnterpriseUserEnrollmentRemoved eapCoverage
|
|
108914
|
+
* @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentRemoved eapCoverageTotal
|
|
108915
|
+
* @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentRemoved eapServiceType
|
|
108928
108916
|
*/
|
|
108929
108917
|
|
|
108930
108918
|
/**
|
|
@@ -109190,6 +109178,22 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109190
109178
|
*/
|
|
109191
109179
|
EnterpriseUserEnrollmentRemoved.prototype.eapCoverage = 0;
|
|
109192
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
|
+
|
|
109193
109197
|
/**
|
|
109194
109198
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
109195
109199
|
* @function create
|
|
@@ -109276,6 +109280,10 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109276
109280
|
writer.uint32(/* id 35, wireType 2 =*/282).string(message.dependentOf);
|
|
109277
109281
|
if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
|
|
109278
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);
|
|
109279
109287
|
return writer;
|
|
109280
109288
|
};
|
|
109281
109289
|
|
|
@@ -109403,6 +109411,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109403
109411
|
case 36:
|
|
109404
109412
|
message.eapCoverage = reader.int32();
|
|
109405
109413
|
break;
|
|
109414
|
+
case 37:
|
|
109415
|
+
message.eapCoverageTotal = reader.uint32();
|
|
109416
|
+
break;
|
|
109417
|
+
case 38:
|
|
109418
|
+
message.eapServiceType = reader.int32();
|
|
109419
|
+
break;
|
|
109406
109420
|
default:
|
|
109407
109421
|
reader.skipType(tag & 7);
|
|
109408
109422
|
break;
|
|
@@ -109584,6 +109598,19 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109584
109598
|
case 3:
|
|
109585
109599
|
break;
|
|
109586
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
|
+
}
|
|
109587
109614
|
return null;
|
|
109588
109615
|
};
|
|
109589
109616
|
|
|
@@ -109836,6 +109863,26 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109836
109863
|
message.eapCoverage = 3;
|
|
109837
109864
|
break;
|
|
109838
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
|
+
}
|
|
109839
109886
|
return message;
|
|
109840
109887
|
};
|
|
109841
109888
|
|
|
@@ -109904,6 +109951,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109904
109951
|
object.languagePreference = "";
|
|
109905
109952
|
object.dependentOf = "";
|
|
109906
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;
|
|
109907
109956
|
}
|
|
109908
109957
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
109909
109958
|
object.userId = message.userId;
|
|
@@ -109982,6 +110031,10 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
109982
110031
|
object.dependentOf = message.dependentOf;
|
|
109983
110032
|
if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
|
|
109984
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;
|
|
109985
110038
|
return object;
|
|
109986
110039
|
};
|
|
109987
110040
|
|
|
@@ -110038,6 +110091,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110038
110091
|
* @property {string|null} [partnerUserId] EnterpriseUserEnrollmentAmended partnerUserId
|
|
110039
110092
|
* @property {string|null} [partnerSubscriberUserId] EnterpriseUserEnrollmentAmended partnerSubscriberUserId
|
|
110040
110093
|
* @property {string|null} [medicalPlan] EnterpriseUserEnrollmentAmended medicalPlan
|
|
110094
|
+
* @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentAmended eapCoverageTotal
|
|
110095
|
+
* @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentAmended eapServiceType
|
|
110041
110096
|
*/
|
|
110042
110097
|
|
|
110043
110098
|
/**
|
|
@@ -110319,6 +110374,22 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110319
110374
|
*/
|
|
110320
110375
|
EnterpriseUserEnrollmentAmended.prototype.medicalPlan = "";
|
|
110321
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
|
+
|
|
110322
110393
|
/**
|
|
110323
110394
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
110324
110395
|
* @function create
|
|
@@ -110409,6 +110480,10 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110409
110480
|
writer.uint32(/* id 38, wireType 2 =*/306).string(message.partnerSubscriberUserId);
|
|
110410
110481
|
if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
|
|
110411
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);
|
|
110412
110487
|
return writer;
|
|
110413
110488
|
};
|
|
110414
110489
|
|
|
@@ -110542,6 +110617,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110542
110617
|
case 39:
|
|
110543
110618
|
message.medicalPlan = reader.string();
|
|
110544
110619
|
break;
|
|
110620
|
+
case 40:
|
|
110621
|
+
message.eapCoverageTotal = reader.uint32();
|
|
110622
|
+
break;
|
|
110623
|
+
case 41:
|
|
110624
|
+
message.eapServiceType = reader.int32();
|
|
110625
|
+
break;
|
|
110545
110626
|
default:
|
|
110546
110627
|
reader.skipType(tag & 7);
|
|
110547
110628
|
break;
|
|
@@ -110714,6 +110795,19 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110714
110795
|
if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
|
|
110715
110796
|
if (!$util.isString(message.medicalPlan))
|
|
110716
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
|
+
}
|
|
110717
110811
|
return null;
|
|
110718
110812
|
};
|
|
110719
110813
|
|
|
@@ -110922,6 +111016,26 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110922
111016
|
message.partnerSubscriberUserId = String(object.partnerSubscriberUserId);
|
|
110923
111017
|
if (object.medicalPlan != null)
|
|
110924
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
|
+
}
|
|
110925
111039
|
return message;
|
|
110926
111040
|
};
|
|
110927
111041
|
|
|
@@ -110992,6 +111106,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110992
111106
|
object.partnerUserId = "";
|
|
110993
111107
|
object.partnerSubscriberUserId = "";
|
|
110994
111108
|
object.medicalPlan = "";
|
|
111109
|
+
object.eapCoverageTotal = 0;
|
|
111110
|
+
object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
|
|
110995
111111
|
}
|
|
110996
111112
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
110997
111113
|
object.userId = message.userId;
|
|
@@ -111074,6 +111190,10 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
111074
111190
|
object.partnerSubscriberUserId = message.partnerSubscriberUserId;
|
|
111075
111191
|
if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
|
|
111076
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;
|
|
111077
111197
|
return object;
|
|
111078
111198
|
};
|
|
111079
111199
|
|
package/package.json
CHANGED