@headspace/protos-events 1.571.0 → 1.573.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 +17 -2
- package/lib/index.js +65 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -32854,7 +32854,8 @@ export class UserBatchPredictionsGenerated implements IUserBatchPredictionsGener
|
|
|
32854
32854
|
export enum EntitlementSource {
|
|
32855
32855
|
ENTITLEMENT_SOURCE_UNKNOWN = 0,
|
|
32856
32856
|
ENTITLEMENT_SOURCE_LEGACY_SUB_ID = 1,
|
|
32857
|
-
ENTITLEMENT_SOURCE_ACCESS_GROUP = 2
|
|
32857
|
+
ENTITLEMENT_SOURCE_ACCESS_GROUP = 2,
|
|
32858
|
+
ENTITLEMENT_SOURCE_SERVICE_PROVISION = 3
|
|
32858
32859
|
}
|
|
32859
32860
|
|
|
32860
32861
|
/** EntitlementValue enum. */
|
|
@@ -32862,7 +32863,9 @@ export enum EntitlementValue {
|
|
|
32862
32863
|
ENTITLEMENT_VALUE_UNKNOWN = 0,
|
|
32863
32864
|
ENTITLEMENT_VALUE_HSSUBS_B2CSUBSCRIBER = 1,
|
|
32864
32865
|
ENTITLEMENT_VALUE_COACHING = 2,
|
|
32865
|
-
ENTITLEMENT_VALUE_COACHING_HISTORY = 3
|
|
32866
|
+
ENTITLEMENT_VALUE_COACHING_HISTORY = 3,
|
|
32867
|
+
ENTITLEMENT_VALUE_COACHING_SERVICE_PROVISION_4_MONTHLY = 4,
|
|
32868
|
+
ENTITLEMENT_VALUE_COACHING_SERVICE_PROVISION_3_MONTHLY = 5
|
|
32866
32869
|
}
|
|
32867
32870
|
|
|
32868
32871
|
/** Properties of an AccessCodeEntitlement. */
|
|
@@ -38539,6 +38542,9 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
38539
38542
|
|
|
38540
38543
|
/** EnterpriseUserEnrollmentCreated eapServiceType */
|
|
38541
38544
|
eapServiceType?: (b2b.EapServiceType|null);
|
|
38545
|
+
|
|
38546
|
+
/** EnterpriseUserEnrollmentCreated healthHub */
|
|
38547
|
+
healthHub?: (string|null);
|
|
38542
38548
|
}
|
|
38543
38549
|
|
|
38544
38550
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -38658,6 +38664,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
38658
38664
|
/** EnterpriseUserEnrollmentCreated eapServiceType. */
|
|
38659
38665
|
public eapServiceType: b2b.EapServiceType;
|
|
38660
38666
|
|
|
38667
|
+
/** EnterpriseUserEnrollmentCreated healthHub. */
|
|
38668
|
+
public healthHub: string;
|
|
38669
|
+
|
|
38661
38670
|
/**
|
|
38662
38671
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
38663
38672
|
* @param [properties] Properties to set
|
|
@@ -39118,6 +39127,9 @@ export interface IEnterpriseUserEnrollmentAmended {
|
|
|
39118
39127
|
|
|
39119
39128
|
/** EnterpriseUserEnrollmentAmended eapServiceType */
|
|
39120
39129
|
eapServiceType?: (b2b.EapServiceType|null);
|
|
39130
|
+
|
|
39131
|
+
/** EnterpriseUserEnrollmentAmended healthHub */
|
|
39132
|
+
healthHub?: (string|null);
|
|
39121
39133
|
}
|
|
39122
39134
|
|
|
39123
39135
|
/** Represents an EnterpriseUserEnrollmentAmended. */
|
|
@@ -39234,6 +39246,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
39234
39246
|
/** EnterpriseUserEnrollmentAmended eapServiceType. */
|
|
39235
39247
|
public eapServiceType: b2b.EapServiceType;
|
|
39236
39248
|
|
|
39249
|
+
/** EnterpriseUserEnrollmentAmended healthHub. */
|
|
39250
|
+
public healthHub: string;
|
|
39251
|
+
|
|
39237
39252
|
/**
|
|
39238
39253
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
39239
39254
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -91738,12 +91738,14 @@ $root.UserBatchPredictionsGenerated = (function() {
|
|
|
91738
91738
|
* @property {number} ENTITLEMENT_SOURCE_UNKNOWN=0 ENTITLEMENT_SOURCE_UNKNOWN value
|
|
91739
91739
|
* @property {number} ENTITLEMENT_SOURCE_LEGACY_SUB_ID=1 ENTITLEMENT_SOURCE_LEGACY_SUB_ID value
|
|
91740
91740
|
* @property {number} ENTITLEMENT_SOURCE_ACCESS_GROUP=2 ENTITLEMENT_SOURCE_ACCESS_GROUP value
|
|
91741
|
+
* @property {number} ENTITLEMENT_SOURCE_SERVICE_PROVISION=3 ENTITLEMENT_SOURCE_SERVICE_PROVISION value
|
|
91741
91742
|
*/
|
|
91742
91743
|
$root.EntitlementSource = (function() {
|
|
91743
91744
|
var valuesById = {}, values = Object.create(valuesById);
|
|
91744
91745
|
values[valuesById[0] = "ENTITLEMENT_SOURCE_UNKNOWN"] = 0;
|
|
91745
91746
|
values[valuesById[1] = "ENTITLEMENT_SOURCE_LEGACY_SUB_ID"] = 1;
|
|
91746
91747
|
values[valuesById[2] = "ENTITLEMENT_SOURCE_ACCESS_GROUP"] = 2;
|
|
91748
|
+
values[valuesById[3] = "ENTITLEMENT_SOURCE_SERVICE_PROVISION"] = 3;
|
|
91747
91749
|
return values;
|
|
91748
91750
|
})();
|
|
91749
91751
|
|
|
@@ -91755,6 +91757,8 @@ $root.EntitlementSource = (function() {
|
|
|
91755
91757
|
* @property {number} ENTITLEMENT_VALUE_HSSUBS_B2CSUBSCRIBER=1 ENTITLEMENT_VALUE_HSSUBS_B2CSUBSCRIBER value
|
|
91756
91758
|
* @property {number} ENTITLEMENT_VALUE_COACHING=2 ENTITLEMENT_VALUE_COACHING value
|
|
91757
91759
|
* @property {number} ENTITLEMENT_VALUE_COACHING_HISTORY=3 ENTITLEMENT_VALUE_COACHING_HISTORY value
|
|
91760
|
+
* @property {number} ENTITLEMENT_VALUE_COACHING_SERVICE_PROVISION_4_MONTHLY=4 ENTITLEMENT_VALUE_COACHING_SERVICE_PROVISION_4_MONTHLY value
|
|
91761
|
+
* @property {number} ENTITLEMENT_VALUE_COACHING_SERVICE_PROVISION_3_MONTHLY=5 ENTITLEMENT_VALUE_COACHING_SERVICE_PROVISION_3_MONTHLY value
|
|
91758
91762
|
*/
|
|
91759
91763
|
$root.EntitlementValue = (function() {
|
|
91760
91764
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -91762,6 +91766,8 @@ $root.EntitlementValue = (function() {
|
|
|
91762
91766
|
values[valuesById[1] = "ENTITLEMENT_VALUE_HSSUBS_B2CSUBSCRIBER"] = 1;
|
|
91763
91767
|
values[valuesById[2] = "ENTITLEMENT_VALUE_COACHING"] = 2;
|
|
91764
91768
|
values[valuesById[3] = "ENTITLEMENT_VALUE_COACHING_HISTORY"] = 3;
|
|
91769
|
+
values[valuesById[4] = "ENTITLEMENT_VALUE_COACHING_SERVICE_PROVISION_4_MONTHLY"] = 4;
|
|
91770
|
+
values[valuesById[5] = "ENTITLEMENT_VALUE_COACHING_SERVICE_PROVISION_3_MONTHLY"] = 5;
|
|
91765
91771
|
return values;
|
|
91766
91772
|
})();
|
|
91767
91773
|
|
|
@@ -91916,6 +91922,7 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
91916
91922
|
case 0:
|
|
91917
91923
|
case 1:
|
|
91918
91924
|
case 2:
|
|
91925
|
+
case 3:
|
|
91919
91926
|
break;
|
|
91920
91927
|
}
|
|
91921
91928
|
if (message.value != null && message.hasOwnProperty("value"))
|
|
@@ -91926,6 +91933,8 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
91926
91933
|
case 1:
|
|
91927
91934
|
case 2:
|
|
91928
91935
|
case 3:
|
|
91936
|
+
case 4:
|
|
91937
|
+
case 5:
|
|
91929
91938
|
break;
|
|
91930
91939
|
}
|
|
91931
91940
|
return null;
|
|
@@ -91956,6 +91965,10 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
91956
91965
|
case 2:
|
|
91957
91966
|
message.source = 2;
|
|
91958
91967
|
break;
|
|
91968
|
+
case "ENTITLEMENT_SOURCE_SERVICE_PROVISION":
|
|
91969
|
+
case 3:
|
|
91970
|
+
message.source = 3;
|
|
91971
|
+
break;
|
|
91959
91972
|
}
|
|
91960
91973
|
switch (object.value) {
|
|
91961
91974
|
case "ENTITLEMENT_VALUE_UNKNOWN":
|
|
@@ -91974,6 +91987,14 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
91974
91987
|
case 3:
|
|
91975
91988
|
message.value = 3;
|
|
91976
91989
|
break;
|
|
91990
|
+
case "ENTITLEMENT_VALUE_COACHING_SERVICE_PROVISION_4_MONTHLY":
|
|
91991
|
+
case 4:
|
|
91992
|
+
message.value = 4;
|
|
91993
|
+
break;
|
|
91994
|
+
case "ENTITLEMENT_VALUE_COACHING_SERVICE_PROVISION_3_MONTHLY":
|
|
91995
|
+
case 5:
|
|
91996
|
+
message.value = 5;
|
|
91997
|
+
break;
|
|
91977
91998
|
}
|
|
91978
91999
|
return message;
|
|
91979
92000
|
};
|
|
@@ -107774,6 +107795,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
107774
107795
|
* @property {string|null} [medicalPlan] EnterpriseUserEnrollmentCreated medicalPlan
|
|
107775
107796
|
* @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentCreated eapCoverageTotal
|
|
107776
107797
|
* @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentCreated eapServiceType
|
|
107798
|
+
* @property {string|null} [healthHub] EnterpriseUserEnrollmentCreated healthHub
|
|
107777
107799
|
*/
|
|
107778
107800
|
|
|
107779
107801
|
/**
|
|
@@ -108079,6 +108101,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108079
108101
|
*/
|
|
108080
108102
|
EnterpriseUserEnrollmentCreated.prototype.eapServiceType = 0;
|
|
108081
108103
|
|
|
108104
|
+
/**
|
|
108105
|
+
* EnterpriseUserEnrollmentCreated healthHub.
|
|
108106
|
+
* @member {string} healthHub
|
|
108107
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
108108
|
+
* @instance
|
|
108109
|
+
*/
|
|
108110
|
+
EnterpriseUserEnrollmentCreated.prototype.healthHub = "";
|
|
108111
|
+
|
|
108082
108112
|
/**
|
|
108083
108113
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
108084
108114
|
* @function create
|
|
@@ -108175,6 +108205,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108175
108205
|
writer.uint32(/* id 40, wireType 0 =*/320).uint32(message.eapCoverageTotal);
|
|
108176
108206
|
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
108177
108207
|
writer.uint32(/* id 41, wireType 0 =*/328).int32(message.eapServiceType);
|
|
108208
|
+
if (message.healthHub != null && message.hasOwnProperty("healthHub"))
|
|
108209
|
+
writer.uint32(/* id 42, wireType 2 =*/338).string(message.healthHub);
|
|
108178
108210
|
return writer;
|
|
108179
108211
|
};
|
|
108180
108212
|
|
|
@@ -108317,6 +108349,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108317
108349
|
case 41:
|
|
108318
108350
|
message.eapServiceType = reader.int32();
|
|
108319
108351
|
break;
|
|
108352
|
+
case 42:
|
|
108353
|
+
message.healthHub = reader.string();
|
|
108354
|
+
break;
|
|
108320
108355
|
default:
|
|
108321
108356
|
reader.skipType(tag & 7);
|
|
108322
108357
|
break;
|
|
@@ -108505,6 +108540,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108505
108540
|
case 3:
|
|
108506
108541
|
break;
|
|
108507
108542
|
}
|
|
108543
|
+
if (message.healthHub != null && message.hasOwnProperty("healthHub"))
|
|
108544
|
+
if (!$util.isString(message.healthHub))
|
|
108545
|
+
return "healthHub: string expected";
|
|
108508
108546
|
return null;
|
|
108509
108547
|
};
|
|
108510
108548
|
|
|
@@ -108735,6 +108773,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108735
108773
|
message.eapServiceType = 3;
|
|
108736
108774
|
break;
|
|
108737
108775
|
}
|
|
108776
|
+
if (object.healthHub != null)
|
|
108777
|
+
message.healthHub = String(object.healthHub);
|
|
108738
108778
|
return message;
|
|
108739
108779
|
};
|
|
108740
108780
|
|
|
@@ -108808,6 +108848,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108808
108848
|
object.medicalPlan = "";
|
|
108809
108849
|
object.eapCoverageTotal = 0;
|
|
108810
108850
|
object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
|
|
108851
|
+
object.healthHub = "";
|
|
108811
108852
|
}
|
|
108812
108853
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
108813
108854
|
object.userId = message.userId;
|
|
@@ -108896,6 +108937,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108896
108937
|
object.eapCoverageTotal = message.eapCoverageTotal;
|
|
108897
108938
|
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
108898
108939
|
object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
|
|
108940
|
+
if (message.healthHub != null && message.hasOwnProperty("healthHub"))
|
|
108941
|
+
object.healthHub = message.healthHub;
|
|
108899
108942
|
return object;
|
|
108900
108943
|
};
|
|
108901
108944
|
|
|
@@ -110132,6 +110175,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110132
110175
|
* @property {string|null} [medicalPlan] EnterpriseUserEnrollmentAmended medicalPlan
|
|
110133
110176
|
* @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentAmended eapCoverageTotal
|
|
110134
110177
|
* @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentAmended eapServiceType
|
|
110178
|
+
* @property {string|null} [healthHub] EnterpriseUserEnrollmentAmended healthHub
|
|
110135
110179
|
*/
|
|
110136
110180
|
|
|
110137
110181
|
/**
|
|
@@ -110429,6 +110473,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110429
110473
|
*/
|
|
110430
110474
|
EnterpriseUserEnrollmentAmended.prototype.eapServiceType = 0;
|
|
110431
110475
|
|
|
110476
|
+
/**
|
|
110477
|
+
* EnterpriseUserEnrollmentAmended healthHub.
|
|
110478
|
+
* @member {string} healthHub
|
|
110479
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
110480
|
+
* @instance
|
|
110481
|
+
*/
|
|
110482
|
+
EnterpriseUserEnrollmentAmended.prototype.healthHub = "";
|
|
110483
|
+
|
|
110432
110484
|
/**
|
|
110433
110485
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
110434
110486
|
* @function create
|
|
@@ -110523,6 +110575,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110523
110575
|
writer.uint32(/* id 40, wireType 0 =*/320).uint32(message.eapCoverageTotal);
|
|
110524
110576
|
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
110525
110577
|
writer.uint32(/* id 41, wireType 0 =*/328).int32(message.eapServiceType);
|
|
110578
|
+
if (message.healthHub != null && message.hasOwnProperty("healthHub"))
|
|
110579
|
+
writer.uint32(/* id 42, wireType 2 =*/338).string(message.healthHub);
|
|
110526
110580
|
return writer;
|
|
110527
110581
|
};
|
|
110528
110582
|
|
|
@@ -110662,6 +110716,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110662
110716
|
case 41:
|
|
110663
110717
|
message.eapServiceType = reader.int32();
|
|
110664
110718
|
break;
|
|
110719
|
+
case 42:
|
|
110720
|
+
message.healthHub = reader.string();
|
|
110721
|
+
break;
|
|
110665
110722
|
default:
|
|
110666
110723
|
reader.skipType(tag & 7);
|
|
110667
110724
|
break;
|
|
@@ -110847,6 +110904,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
110847
110904
|
case 3:
|
|
110848
110905
|
break;
|
|
110849
110906
|
}
|
|
110907
|
+
if (message.healthHub != null && message.hasOwnProperty("healthHub"))
|
|
110908
|
+
if (!$util.isString(message.healthHub))
|
|
110909
|
+
return "healthHub: string expected";
|
|
110850
110910
|
return null;
|
|
110851
110911
|
};
|
|
110852
110912
|
|
|
@@ -111075,6 +111135,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
111075
111135
|
message.eapServiceType = 3;
|
|
111076
111136
|
break;
|
|
111077
111137
|
}
|
|
111138
|
+
if (object.healthHub != null)
|
|
111139
|
+
message.healthHub = String(object.healthHub);
|
|
111078
111140
|
return message;
|
|
111079
111141
|
};
|
|
111080
111142
|
|
|
@@ -111147,6 +111209,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
111147
111209
|
object.medicalPlan = "";
|
|
111148
111210
|
object.eapCoverageTotal = 0;
|
|
111149
111211
|
object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
|
|
111212
|
+
object.healthHub = "";
|
|
111150
111213
|
}
|
|
111151
111214
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
111152
111215
|
object.userId = message.userId;
|
|
@@ -111233,6 +111296,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
111233
111296
|
object.eapCoverageTotal = message.eapCoverageTotal;
|
|
111234
111297
|
if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
|
|
111235
111298
|
object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
|
|
111299
|
+
if (message.healthHub != null && message.hasOwnProperty("healthHub"))
|
|
111300
|
+
object.healthHub = message.healthHub;
|
|
111236
111301
|
return object;
|
|
111237
111302
|
};
|
|
111238
111303
|
|
package/package.json
CHANGED