@headspace/protos-events 1.732.0 → 1.734.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 +24 -1
- package/lib/index.js +106 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -38689,6 +38689,9 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
38689
38689
|
|
|
38690
38690
|
/** EnterpriseUserEnrollmentCreated b2bAreEnrollmentCommsEnabled */
|
|
38691
38691
|
b2bAreEnrollmentCommsEnabled?: (boolean|null);
|
|
38692
|
+
|
|
38693
|
+
/** EnterpriseUserEnrollmentCreated primaryProduct */
|
|
38694
|
+
primaryProduct?: (b2b.PrimaryProduct|null);
|
|
38692
38695
|
}
|
|
38693
38696
|
|
|
38694
38697
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -38841,6 +38844,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
38841
38844
|
/** EnterpriseUserEnrollmentCreated b2bAreEnrollmentCommsEnabled. */
|
|
38842
38845
|
public b2bAreEnrollmentCommsEnabled: boolean;
|
|
38843
38846
|
|
|
38847
|
+
/** EnterpriseUserEnrollmentCreated primaryProduct. */
|
|
38848
|
+
public primaryProduct: b2b.PrimaryProduct;
|
|
38849
|
+
|
|
38844
38850
|
/**
|
|
38845
38851
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
38846
38852
|
* @param [properties] Properties to set
|
|
@@ -39031,6 +39037,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
|
|
|
39031
39037
|
|
|
39032
39038
|
/** EnterpriseUserEnrollmentRemoved isEbbEnabled */
|
|
39033
39039
|
isEbbEnabled?: (boolean|null);
|
|
39040
|
+
|
|
39041
|
+
/** EnterpriseUserEnrollmentRemoved workEmail */
|
|
39042
|
+
workEmail?: (string|null);
|
|
39034
39043
|
}
|
|
39035
39044
|
|
|
39036
39045
|
/** Represents an EnterpriseUserEnrollmentRemoved. */
|
|
@@ -39159,6 +39168,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
|
|
|
39159
39168
|
/** EnterpriseUserEnrollmentRemoved isEbbEnabled. */
|
|
39160
39169
|
public isEbbEnabled: boolean;
|
|
39161
39170
|
|
|
39171
|
+
/** EnterpriseUserEnrollmentRemoved workEmail. */
|
|
39172
|
+
public workEmail: string;
|
|
39173
|
+
|
|
39162
39174
|
/**
|
|
39163
39175
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
39164
39176
|
* @param [properties] Properties to set
|
|
@@ -56950,6 +56962,16 @@ export namespace b2b {
|
|
|
56950
56962
|
DEPENDENT_TYPE_INVITED = 1,
|
|
56951
56963
|
DEPENDENT_TYPE_ELF = 2
|
|
56952
56964
|
}
|
|
56965
|
+
|
|
56966
|
+
/** PrimaryProduct enum. */
|
|
56967
|
+
enum PrimaryProduct {
|
|
56968
|
+
PRIMARY_PRODUCT_UNKNOWN = 0,
|
|
56969
|
+
PRIMARY_PRODUCT_HEADSPACE = 1,
|
|
56970
|
+
PRIMARY_PRODUCT_GINGER = 2,
|
|
56971
|
+
PRIMARY_PRODUCT_CONNECTED = 3,
|
|
56972
|
+
PRIMARY_PRODUCT_UNIFIED = 4,
|
|
56973
|
+
PRIMARY_PRODUCT_FUSION = 5
|
|
56974
|
+
}
|
|
56953
56975
|
}
|
|
56954
56976
|
|
|
56955
56977
|
/** Namespace clinical. */
|
|
@@ -61025,7 +61047,8 @@ export namespace coaching {
|
|
|
61025
61047
|
enum ModalityUpdateSourceType {
|
|
61026
61048
|
MODALITY_UPDATE_SOURCE_TYPE_UNKNOWN = 0,
|
|
61027
61049
|
MODALITY_UPDATE_SOURCE_TYPE_MEMBER = 1,
|
|
61028
|
-
MODALITY_UPDATE_SOURCE_TYPE_MEMBER_SERVICES = 2
|
|
61050
|
+
MODALITY_UPDATE_SOURCE_TYPE_MEMBER_SERVICES = 2,
|
|
61051
|
+
MODALITY_UPDATE_SOURCE_TYPE_SCRIPT = 3
|
|
61029
61052
|
}
|
|
61030
61053
|
|
|
61031
61054
|
/** Properties of a PreferredModalitySet. */
|
package/lib/index.js
CHANGED
|
@@ -108585,6 +108585,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108585
108585
|
* @property {boolean|null} [b2bAreMemberCommsEnabled] EnterpriseUserEnrollmentCreated b2bAreMemberCommsEnabled
|
|
108586
108586
|
* @property {boolean|null} [b2bAreNonmemberCommsEnabled] EnterpriseUserEnrollmentCreated b2bAreNonmemberCommsEnabled
|
|
108587
108587
|
* @property {boolean|null} [b2bAreEnrollmentCommsEnabled] EnterpriseUserEnrollmentCreated b2bAreEnrollmentCommsEnabled
|
|
108588
|
+
* @property {b2b.PrimaryProduct|null} [primaryProduct] EnterpriseUserEnrollmentCreated primaryProduct
|
|
108588
108589
|
*/
|
|
108589
108590
|
|
|
108590
108591
|
/**
|
|
@@ -108978,6 +108979,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108978
108979
|
*/
|
|
108979
108980
|
EnterpriseUserEnrollmentCreated.prototype.b2bAreEnrollmentCommsEnabled = false;
|
|
108980
108981
|
|
|
108982
|
+
/**
|
|
108983
|
+
* EnterpriseUserEnrollmentCreated primaryProduct.
|
|
108984
|
+
* @member {b2b.PrimaryProduct} primaryProduct
|
|
108985
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
108986
|
+
* @instance
|
|
108987
|
+
*/
|
|
108988
|
+
EnterpriseUserEnrollmentCreated.prototype.primaryProduct = 0;
|
|
108989
|
+
|
|
108981
108990
|
/**
|
|
108982
108991
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
108983
108992
|
* @function create
|
|
@@ -109096,6 +109105,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
109096
109105
|
writer.uint32(/* id 51, wireType 0 =*/408).bool(message.b2bAreNonmemberCommsEnabled);
|
|
109097
109106
|
if (message.b2bAreEnrollmentCommsEnabled != null && message.hasOwnProperty("b2bAreEnrollmentCommsEnabled"))
|
|
109098
109107
|
writer.uint32(/* id 52, wireType 0 =*/416).bool(message.b2bAreEnrollmentCommsEnabled);
|
|
109108
|
+
if (message.primaryProduct != null && message.hasOwnProperty("primaryProduct"))
|
|
109109
|
+
writer.uint32(/* id 53, wireType 0 =*/424).int32(message.primaryProduct);
|
|
109099
109110
|
return writer;
|
|
109100
109111
|
};
|
|
109101
109112
|
|
|
@@ -109271,6 +109282,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
109271
109282
|
case 52:
|
|
109272
109283
|
message.b2bAreEnrollmentCommsEnabled = reader.bool();
|
|
109273
109284
|
break;
|
|
109285
|
+
case 53:
|
|
109286
|
+
message.primaryProduct = reader.int32();
|
|
109287
|
+
break;
|
|
109274
109288
|
default:
|
|
109275
109289
|
reader.skipType(tag & 7);
|
|
109276
109290
|
break;
|
|
@@ -109513,6 +109527,18 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
109513
109527
|
if (message.b2bAreEnrollmentCommsEnabled != null && message.hasOwnProperty("b2bAreEnrollmentCommsEnabled"))
|
|
109514
109528
|
if (typeof message.b2bAreEnrollmentCommsEnabled !== "boolean")
|
|
109515
109529
|
return "b2bAreEnrollmentCommsEnabled: boolean expected";
|
|
109530
|
+
if (message.primaryProduct != null && message.hasOwnProperty("primaryProduct"))
|
|
109531
|
+
switch (message.primaryProduct) {
|
|
109532
|
+
default:
|
|
109533
|
+
return "primaryProduct: enum value expected";
|
|
109534
|
+
case 0:
|
|
109535
|
+
case 1:
|
|
109536
|
+
case 2:
|
|
109537
|
+
case 3:
|
|
109538
|
+
case 4:
|
|
109539
|
+
case 5:
|
|
109540
|
+
break;
|
|
109541
|
+
}
|
|
109516
109542
|
return null;
|
|
109517
109543
|
};
|
|
109518
109544
|
|
|
@@ -109813,6 +109839,32 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
109813
109839
|
message.b2bAreNonmemberCommsEnabled = Boolean(object.b2bAreNonmemberCommsEnabled);
|
|
109814
109840
|
if (object.b2bAreEnrollmentCommsEnabled != null)
|
|
109815
109841
|
message.b2bAreEnrollmentCommsEnabled = Boolean(object.b2bAreEnrollmentCommsEnabled);
|
|
109842
|
+
switch (object.primaryProduct) {
|
|
109843
|
+
case "PRIMARY_PRODUCT_UNKNOWN":
|
|
109844
|
+
case 0:
|
|
109845
|
+
message.primaryProduct = 0;
|
|
109846
|
+
break;
|
|
109847
|
+
case "PRIMARY_PRODUCT_HEADSPACE":
|
|
109848
|
+
case 1:
|
|
109849
|
+
message.primaryProduct = 1;
|
|
109850
|
+
break;
|
|
109851
|
+
case "PRIMARY_PRODUCT_GINGER":
|
|
109852
|
+
case 2:
|
|
109853
|
+
message.primaryProduct = 2;
|
|
109854
|
+
break;
|
|
109855
|
+
case "PRIMARY_PRODUCT_CONNECTED":
|
|
109856
|
+
case 3:
|
|
109857
|
+
message.primaryProduct = 3;
|
|
109858
|
+
break;
|
|
109859
|
+
case "PRIMARY_PRODUCT_UNIFIED":
|
|
109860
|
+
case 4:
|
|
109861
|
+
message.primaryProduct = 4;
|
|
109862
|
+
break;
|
|
109863
|
+
case "PRIMARY_PRODUCT_FUSION":
|
|
109864
|
+
case 5:
|
|
109865
|
+
message.primaryProduct = 5;
|
|
109866
|
+
break;
|
|
109867
|
+
}
|
|
109816
109868
|
return message;
|
|
109817
109869
|
};
|
|
109818
109870
|
|
|
@@ -109897,6 +109949,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
109897
109949
|
object.b2bAreMemberCommsEnabled = false;
|
|
109898
109950
|
object.b2bAreNonmemberCommsEnabled = false;
|
|
109899
109951
|
object.b2bAreEnrollmentCommsEnabled = false;
|
|
109952
|
+
object.primaryProduct = options.enums === String ? "PRIMARY_PRODUCT_UNKNOWN" : 0;
|
|
109900
109953
|
}
|
|
109901
109954
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
109902
109955
|
object.userId = message.userId;
|
|
@@ -110007,6 +110060,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
110007
110060
|
object.b2bAreNonmemberCommsEnabled = message.b2bAreNonmemberCommsEnabled;
|
|
110008
110061
|
if (message.b2bAreEnrollmentCommsEnabled != null && message.hasOwnProperty("b2bAreEnrollmentCommsEnabled"))
|
|
110009
110062
|
object.b2bAreEnrollmentCommsEnabled = message.b2bAreEnrollmentCommsEnabled;
|
|
110063
|
+
if (message.primaryProduct != null && message.hasOwnProperty("primaryProduct"))
|
|
110064
|
+
object.primaryProduct = options.enums === String ? $root.b2b.PrimaryProduct[message.primaryProduct] : message.primaryProduct;
|
|
110010
110065
|
return object;
|
|
110011
110066
|
};
|
|
110012
110067
|
|
|
@@ -110069,6 +110124,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
110069
110124
|
* @property {b2b.ClinicalServiceType|null} [clinicalServiceType] EnterpriseUserEnrollmentRemoved clinicalServiceType
|
|
110070
110125
|
* @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] EnterpriseUserEnrollmentRemoved clinicalCoverageType
|
|
110071
110126
|
* @property {boolean|null} [isEbbEnabled] EnterpriseUserEnrollmentRemoved isEbbEnabled
|
|
110127
|
+
* @property {string|null} [workEmail] EnterpriseUserEnrollmentRemoved workEmail
|
|
110072
110128
|
*/
|
|
110073
110129
|
|
|
110074
110130
|
/**
|
|
@@ -110398,6 +110454,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
110398
110454
|
*/
|
|
110399
110455
|
EnterpriseUserEnrollmentRemoved.prototype.isEbbEnabled = false;
|
|
110400
110456
|
|
|
110457
|
+
/**
|
|
110458
|
+
* EnterpriseUserEnrollmentRemoved workEmail.
|
|
110459
|
+
* @member {string} workEmail
|
|
110460
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
110461
|
+
* @instance
|
|
110462
|
+
*/
|
|
110463
|
+
EnterpriseUserEnrollmentRemoved.prototype.workEmail = "";
|
|
110464
|
+
|
|
110401
110465
|
/**
|
|
110402
110466
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
110403
110467
|
* @function create
|
|
@@ -110500,6 +110564,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
110500
110564
|
writer.uint32(/* id 43, wireType 0 =*/344).int32(message.clinicalCoverageType);
|
|
110501
110565
|
if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
|
|
110502
110566
|
writer.uint32(/* id 44, wireType 0 =*/352).bool(message.isEbbEnabled);
|
|
110567
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
110568
|
+
writer.uint32(/* id 46, wireType 2 =*/370).string(message.workEmail);
|
|
110503
110569
|
return writer;
|
|
110504
110570
|
};
|
|
110505
110571
|
|
|
@@ -110651,6 +110717,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
110651
110717
|
case 44:
|
|
110652
110718
|
message.isEbbEnabled = reader.bool();
|
|
110653
110719
|
break;
|
|
110720
|
+
case 46:
|
|
110721
|
+
message.workEmail = reader.string();
|
|
110722
|
+
break;
|
|
110654
110723
|
default:
|
|
110655
110724
|
reader.skipType(tag & 7);
|
|
110656
110725
|
break;
|
|
@@ -110884,6 +110953,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
110884
110953
|
if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
|
|
110885
110954
|
if (typeof message.isEbbEnabled !== "boolean")
|
|
110886
110955
|
return "isEbbEnabled: boolean expected";
|
|
110956
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
110957
|
+
if (!$util.isString(message.workEmail))
|
|
110958
|
+
return "workEmail: string expected";
|
|
110887
110959
|
return null;
|
|
110888
110960
|
};
|
|
110889
110961
|
|
|
@@ -111216,6 +111288,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
111216
111288
|
}
|
|
111217
111289
|
if (object.isEbbEnabled != null)
|
|
111218
111290
|
message.isEbbEnabled = Boolean(object.isEbbEnabled);
|
|
111291
|
+
if (object.workEmail != null)
|
|
111292
|
+
message.workEmail = String(object.workEmail);
|
|
111219
111293
|
return message;
|
|
111220
111294
|
};
|
|
111221
111295
|
|
|
@@ -111292,6 +111366,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
111292
111366
|
object.clinicalServiceType = options.enums === String ? "CLINICAL_SERVICE_TYPE_UNKNOWN" : 0;
|
|
111293
111367
|
object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
|
|
111294
111368
|
object.isEbbEnabled = false;
|
|
111369
|
+
object.workEmail = "";
|
|
111295
111370
|
}
|
|
111296
111371
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
111297
111372
|
object.userId = message.userId;
|
|
@@ -111386,6 +111461,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
111386
111461
|
object.clinicalCoverageType = options.enums === String ? $root.b2b.ClinicalCoverageType[message.clinicalCoverageType] : message.clinicalCoverageType;
|
|
111387
111462
|
if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
|
|
111388
111463
|
object.isEbbEnabled = message.isEbbEnabled;
|
|
111464
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
111465
|
+
object.workEmail = message.workEmail;
|
|
111389
111466
|
return object;
|
|
111390
111467
|
};
|
|
111391
111468
|
|
|
@@ -162431,6 +162508,28 @@ $root.b2b = (function() {
|
|
|
162431
162508
|
return values;
|
|
162432
162509
|
})();
|
|
162433
162510
|
|
|
162511
|
+
/**
|
|
162512
|
+
* PrimaryProduct enum.
|
|
162513
|
+
* @name b2b.PrimaryProduct
|
|
162514
|
+
* @enum {string}
|
|
162515
|
+
* @property {number} PRIMARY_PRODUCT_UNKNOWN=0 PRIMARY_PRODUCT_UNKNOWN value
|
|
162516
|
+
* @property {number} PRIMARY_PRODUCT_HEADSPACE=1 PRIMARY_PRODUCT_HEADSPACE value
|
|
162517
|
+
* @property {number} PRIMARY_PRODUCT_GINGER=2 PRIMARY_PRODUCT_GINGER value
|
|
162518
|
+
* @property {number} PRIMARY_PRODUCT_CONNECTED=3 PRIMARY_PRODUCT_CONNECTED value
|
|
162519
|
+
* @property {number} PRIMARY_PRODUCT_UNIFIED=4 PRIMARY_PRODUCT_UNIFIED value
|
|
162520
|
+
* @property {number} PRIMARY_PRODUCT_FUSION=5 PRIMARY_PRODUCT_FUSION value
|
|
162521
|
+
*/
|
|
162522
|
+
b2b.PrimaryProduct = (function() {
|
|
162523
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
162524
|
+
values[valuesById[0] = "PRIMARY_PRODUCT_UNKNOWN"] = 0;
|
|
162525
|
+
values[valuesById[1] = "PRIMARY_PRODUCT_HEADSPACE"] = 1;
|
|
162526
|
+
values[valuesById[2] = "PRIMARY_PRODUCT_GINGER"] = 2;
|
|
162527
|
+
values[valuesById[3] = "PRIMARY_PRODUCT_CONNECTED"] = 3;
|
|
162528
|
+
values[valuesById[4] = "PRIMARY_PRODUCT_UNIFIED"] = 4;
|
|
162529
|
+
values[valuesById[5] = "PRIMARY_PRODUCT_FUSION"] = 5;
|
|
162530
|
+
return values;
|
|
162531
|
+
})();
|
|
162532
|
+
|
|
162434
162533
|
return b2b;
|
|
162435
162534
|
})();
|
|
162436
162535
|
|
|
@@ -176230,12 +176329,14 @@ $root.coaching = (function() {
|
|
|
176230
176329
|
* @property {number} MODALITY_UPDATE_SOURCE_TYPE_UNKNOWN=0 MODALITY_UPDATE_SOURCE_TYPE_UNKNOWN value
|
|
176231
176330
|
* @property {number} MODALITY_UPDATE_SOURCE_TYPE_MEMBER=1 MODALITY_UPDATE_SOURCE_TYPE_MEMBER value
|
|
176232
176331
|
* @property {number} MODALITY_UPDATE_SOURCE_TYPE_MEMBER_SERVICES=2 MODALITY_UPDATE_SOURCE_TYPE_MEMBER_SERVICES value
|
|
176332
|
+
* @property {number} MODALITY_UPDATE_SOURCE_TYPE_SCRIPT=3 MODALITY_UPDATE_SOURCE_TYPE_SCRIPT value
|
|
176233
176333
|
*/
|
|
176234
176334
|
coaching.ModalityUpdateSourceType = (function() {
|
|
176235
176335
|
var valuesById = {}, values = Object.create(valuesById);
|
|
176236
176336
|
values[valuesById[0] = "MODALITY_UPDATE_SOURCE_TYPE_UNKNOWN"] = 0;
|
|
176237
176337
|
values[valuesById[1] = "MODALITY_UPDATE_SOURCE_TYPE_MEMBER"] = 1;
|
|
176238
176338
|
values[valuesById[2] = "MODALITY_UPDATE_SOURCE_TYPE_MEMBER_SERVICES"] = 2;
|
|
176339
|
+
values[valuesById[3] = "MODALITY_UPDATE_SOURCE_TYPE_SCRIPT"] = 3;
|
|
176239
176340
|
return values;
|
|
176240
176341
|
})();
|
|
176241
176342
|
|
|
@@ -176432,6 +176533,7 @@ $root.coaching = (function() {
|
|
|
176432
176533
|
case 0:
|
|
176433
176534
|
case 1:
|
|
176434
176535
|
case 2:
|
|
176536
|
+
case 3:
|
|
176435
176537
|
break;
|
|
176436
176538
|
}
|
|
176437
176539
|
if (message.eventDetail != null && message.hasOwnProperty("eventDetail")) {
|
|
@@ -176483,6 +176585,10 @@ $root.coaching = (function() {
|
|
|
176483
176585
|
case 2:
|
|
176484
176586
|
message.source = 2;
|
|
176485
176587
|
break;
|
|
176588
|
+
case "MODALITY_UPDATE_SOURCE_TYPE_SCRIPT":
|
|
176589
|
+
case 3:
|
|
176590
|
+
message.source = 3;
|
|
176591
|
+
break;
|
|
176486
176592
|
}
|
|
176487
176593
|
if (object.eventDetail != null) {
|
|
176488
176594
|
if (typeof object.eventDetail !== "object")
|
package/package.json
CHANGED