@headspace/protos-events 1.568.0 → 1.569.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 -14
- package/lib/index.js +108 -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|Long|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|Long);
|
|
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
|
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|Long|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|Long} eapCoverageTotal
|
|
108030
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
108031
|
+
* @instance
|
|
108032
|
+
*/
|
|
108033
|
+
EnterpriseUserEnrollmentCreated.prototype.eapCoverageTotal = $util.Long ? $util.Long.fromBits(0,0,true) : 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).uint64(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.uint64();
|
|
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) && !(message.eapCoverageTotal && $util.isInteger(message.eapCoverageTotal.low) && $util.isInteger(message.eapCoverageTotal.high)))
|
|
108458
|
+
return "eapCoverageTotal: integer|Long 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,33 @@ $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
|
+
if ($util.Long)
|
|
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);
|
|
108688
|
+
switch (object.eapServiceType) {
|
|
108689
|
+
case "EAP_SERVICE_TYPE_UNKNOWN":
|
|
108690
|
+
case 0:
|
|
108691
|
+
message.eapServiceType = 0;
|
|
108692
|
+
break;
|
|
108693
|
+
case "EAP_SERVICE_TYPE_PSYCHIATRY":
|
|
108694
|
+
case 1:
|
|
108695
|
+
message.eapServiceType = 1;
|
|
108696
|
+
break;
|
|
108697
|
+
case "EAP_SERVICE_TYPE_THERAPY":
|
|
108698
|
+
case 2:
|
|
108699
|
+
message.eapServiceType = 2;
|
|
108700
|
+
break;
|
|
108701
|
+
case "EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY":
|
|
108702
|
+
case 3:
|
|
108703
|
+
message.eapServiceType = 3;
|
|
108704
|
+
break;
|
|
108705
|
+
}
|
|
108638
108706
|
return message;
|
|
108639
108707
|
};
|
|
108640
108708
|
|
|
@@ -108706,6 +108774,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108706
108774
|
object.partnerUserId = "";
|
|
108707
108775
|
object.partnerSubscriberUserId = "";
|
|
108708
108776
|
object.medicalPlan = "";
|
|
108777
|
+
if ($util.Long) {
|
|
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;
|
|
108782
|
+
object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
|
|
108709
108783
|
}
|
|
108710
108784
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
108711
108785
|
object.userId = message.userId;
|
|
@@ -108790,6 +108864,13 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108790
108864
|
object.partnerSubscriberUserId = message.partnerSubscriberUserId;
|
|
108791
108865
|
if (message.medicalPlan != null && message.hasOwnProperty("medicalPlan"))
|
|
108792
108866
|
object.medicalPlan = message.medicalPlan;
|
|
108867
|
+
if (message.eapCoverageTotal != null && message.hasOwnProperty("eapCoverageTotal"))
|
|
108868
|
+
if (typeof message.eapCoverageTotal === "number")
|
|
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;
|
|
108872
|
+
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
108873
|
+
object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
|
|
108793
108874
|
return object;
|
|
108794
108875
|
};
|
|
108795
108876
|
|
package/package.json
CHANGED