@headspace/protos-events 1.654.0 → 1.655.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 +6 -0
- package/lib/index.js +55 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -60123,6 +60123,9 @@ export interface IOrgCoverageProfile {
|
|
|
60123
60123
|
|
|
60124
60124
|
/** OrgCoverageProfile headspaceHealthOrgId */
|
|
60125
60125
|
headspaceHealthOrgId?: (string|null);
|
|
60126
|
+
|
|
60127
|
+
/** OrgCoverageProfile enrollmentFlow */
|
|
60128
|
+
enrollmentFlow?: (b2b.EnrollmentFlow|null);
|
|
60126
60129
|
}
|
|
60127
60130
|
|
|
60128
60131
|
/** Represents an OrgCoverageProfile. */
|
|
@@ -60155,6 +60158,9 @@ export class OrgCoverageProfile implements IOrgCoverageProfile {
|
|
|
60155
60158
|
/** OrgCoverageProfile headspaceHealthOrgId. */
|
|
60156
60159
|
public headspaceHealthOrgId: string;
|
|
60157
60160
|
|
|
60161
|
+
/** OrgCoverageProfile enrollmentFlow. */
|
|
60162
|
+
public enrollmentFlow: b2b.EnrollmentFlow;
|
|
60163
|
+
|
|
60158
60164
|
/**
|
|
60159
60165
|
* Creates a new OrgCoverageProfile instance using the specified properties.
|
|
60160
60166
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -168441,6 +168441,7 @@ $root.OrgCoverageProfile = (function() {
|
|
|
168441
168441
|
* @property {number|Long|null} [careOrgId] OrgCoverageProfile careOrgId
|
|
168442
168442
|
* @property {number|Long|null} [headspaceOrgId] OrgCoverageProfile headspaceOrgId
|
|
168443
168443
|
* @property {string|null} [headspaceHealthOrgId] OrgCoverageProfile headspaceHealthOrgId
|
|
168444
|
+
* @property {b2b.EnrollmentFlow|null} [enrollmentFlow] OrgCoverageProfile enrollmentFlow
|
|
168444
168445
|
*/
|
|
168445
168446
|
|
|
168446
168447
|
/**
|
|
@@ -168514,6 +168515,14 @@ $root.OrgCoverageProfile = (function() {
|
|
|
168514
168515
|
*/
|
|
168515
168516
|
OrgCoverageProfile.prototype.headspaceHealthOrgId = "";
|
|
168516
168517
|
|
|
168518
|
+
/**
|
|
168519
|
+
* OrgCoverageProfile enrollmentFlow.
|
|
168520
|
+
* @member {b2b.EnrollmentFlow} enrollmentFlow
|
|
168521
|
+
* @memberof OrgCoverageProfile
|
|
168522
|
+
* @instance
|
|
168523
|
+
*/
|
|
168524
|
+
OrgCoverageProfile.prototype.enrollmentFlow = 0;
|
|
168525
|
+
|
|
168517
168526
|
/**
|
|
168518
168527
|
* Creates a new OrgCoverageProfile instance using the specified properties.
|
|
168519
168528
|
* @function create
|
|
@@ -168552,6 +168561,8 @@ $root.OrgCoverageProfile = (function() {
|
|
|
168552
168561
|
writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.headspaceOrgId);
|
|
168553
168562
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
168554
168563
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.headspaceHealthOrgId);
|
|
168564
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
168565
|
+
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.enrollmentFlow);
|
|
168555
168566
|
return writer;
|
|
168556
168567
|
};
|
|
168557
168568
|
|
|
@@ -168607,6 +168618,9 @@ $root.OrgCoverageProfile = (function() {
|
|
|
168607
168618
|
case 8:
|
|
168608
168619
|
message.headspaceHealthOrgId = reader.string();
|
|
168609
168620
|
break;
|
|
168621
|
+
case 9:
|
|
168622
|
+
message.enrollmentFlow = reader.int32();
|
|
168623
|
+
break;
|
|
168610
168624
|
default:
|
|
168611
168625
|
reader.skipType(tag & 7);
|
|
168612
168626
|
break;
|
|
@@ -168684,6 +168698,18 @@ $root.OrgCoverageProfile = (function() {
|
|
|
168684
168698
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
168685
168699
|
if (!$util.isString(message.headspaceHealthOrgId))
|
|
168686
168700
|
return "headspaceHealthOrgId: string expected";
|
|
168701
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
168702
|
+
switch (message.enrollmentFlow) {
|
|
168703
|
+
default:
|
|
168704
|
+
return "enrollmentFlow: enum value expected";
|
|
168705
|
+
case 0:
|
|
168706
|
+
case 1:
|
|
168707
|
+
case 2:
|
|
168708
|
+
case 3:
|
|
168709
|
+
case 4:
|
|
168710
|
+
case 5:
|
|
168711
|
+
break;
|
|
168712
|
+
}
|
|
168687
168713
|
return null;
|
|
168688
168714
|
};
|
|
168689
168715
|
|
|
@@ -168782,6 +168808,32 @@ $root.OrgCoverageProfile = (function() {
|
|
|
168782
168808
|
message.headspaceOrgId = new $util.LongBits(object.headspaceOrgId.low >>> 0, object.headspaceOrgId.high >>> 0).toNumber(true);
|
|
168783
168809
|
if (object.headspaceHealthOrgId != null)
|
|
168784
168810
|
message.headspaceHealthOrgId = String(object.headspaceHealthOrgId);
|
|
168811
|
+
switch (object.enrollmentFlow) {
|
|
168812
|
+
case "ENROLLMENT_FLOW_UNKNOWN":
|
|
168813
|
+
case 0:
|
|
168814
|
+
message.enrollmentFlow = 0;
|
|
168815
|
+
break;
|
|
168816
|
+
case "ENROLLMENT_FLOW_HEADSPACE":
|
|
168817
|
+
case 1:
|
|
168818
|
+
message.enrollmentFlow = 1;
|
|
168819
|
+
break;
|
|
168820
|
+
case "ENROLLMENT_FLOW_CONNECTED":
|
|
168821
|
+
case 2:
|
|
168822
|
+
message.enrollmentFlow = 2;
|
|
168823
|
+
break;
|
|
168824
|
+
case "ENROLLMENT_FLOW_UMD":
|
|
168825
|
+
case 3:
|
|
168826
|
+
message.enrollmentFlow = 3;
|
|
168827
|
+
break;
|
|
168828
|
+
case "ENROLLMENT_FLOW_FUSION":
|
|
168829
|
+
case 4:
|
|
168830
|
+
message.enrollmentFlow = 4;
|
|
168831
|
+
break;
|
|
168832
|
+
case "ENROLLMENT_FLOW_GINGER":
|
|
168833
|
+
case 5:
|
|
168834
|
+
message.enrollmentFlow = 5;
|
|
168835
|
+
break;
|
|
168836
|
+
}
|
|
168785
168837
|
return message;
|
|
168786
168838
|
};
|
|
168787
168839
|
|
|
@@ -168818,6 +168870,7 @@ $root.OrgCoverageProfile = (function() {
|
|
|
168818
168870
|
} else
|
|
168819
168871
|
object.headspaceOrgId = options.longs === String ? "0" : 0;
|
|
168820
168872
|
object.headspaceHealthOrgId = "";
|
|
168873
|
+
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
168821
168874
|
}
|
|
168822
168875
|
if (message.type != null && message.hasOwnProperty("type"))
|
|
168823
168876
|
object.type = options.enums === String ? $root.OrgCoverageType[message.type] : message.type;
|
|
@@ -168842,6 +168895,8 @@ $root.OrgCoverageProfile = (function() {
|
|
|
168842
168895
|
object.headspaceOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.headspaceOrgId) : options.longs === Number ? new $util.LongBits(message.headspaceOrgId.low >>> 0, message.headspaceOrgId.high >>> 0).toNumber(true) : message.headspaceOrgId;
|
|
168843
168896
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
168844
168897
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
168898
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
168899
|
+
object.enrollmentFlow = options.enums === String ? $root.b2b.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
|
|
168845
168900
|
return object;
|
|
168846
168901
|
};
|
|
168847
168902
|
|
package/package.json
CHANGED