@headspace/protos-events 1.640.0 → 1.642.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 +20 -5
- package/lib/index.js +54 -16
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -14334,8 +14334,8 @@ export namespace b2b {
|
|
|
14334
14334
|
/** Organization overlappedCareId */
|
|
14335
14335
|
overlappedCareId?: (number|null);
|
|
14336
14336
|
|
|
14337
|
-
/** Organization
|
|
14338
|
-
|
|
14337
|
+
/** Organization emailCampaignLogo */
|
|
14338
|
+
emailCampaignLogo?: (string|null);
|
|
14339
14339
|
}
|
|
14340
14340
|
|
|
14341
14341
|
/** Represents an Organization. */
|
|
@@ -14416,8 +14416,8 @@ export namespace b2b {
|
|
|
14416
14416
|
/** Organization overlappedCareId. */
|
|
14417
14417
|
public overlappedCareId: number;
|
|
14418
14418
|
|
|
14419
|
-
/** Organization
|
|
14420
|
-
public
|
|
14419
|
+
/** Organization emailCampaignLogo. */
|
|
14420
|
+
public emailCampaignLogo: string;
|
|
14421
14421
|
|
|
14422
14422
|
/**
|
|
14423
14423
|
* Creates a new Organization instance using the specified properties.
|
|
@@ -14669,7 +14669,8 @@ export namespace b2b {
|
|
|
14669
14669
|
ORG_RESTRICT_BY_EMPLOYEE_ID = 6,
|
|
14670
14670
|
ORG_RESTRICT_BY_SSO = 7,
|
|
14671
14671
|
ORG_RESTRICT_BY_BUNDLED_EMAIL_ELIGIBILITY_FILE = 8,
|
|
14672
|
-
ORG_RESTRICT_BY_BUNDLED_EMPLOYEE_ID_ELIGIBILITY_FILE = 9
|
|
14672
|
+
ORG_RESTRICT_BY_BUNDLED_EMPLOYEE_ID_ELIGIBILITY_FILE = 9,
|
|
14673
|
+
ORG_RESTRICT_BY_KP_NATIONAL_JWT = 10
|
|
14673
14674
|
}
|
|
14674
14675
|
|
|
14675
14676
|
/** OrgType enum. */
|
|
@@ -55214,6 +55215,13 @@ export interface IGingerMemberUpgraded {
|
|
|
55214
55215
|
|
|
55215
55216
|
/** GingerMemberUpgraded gracePeriodEndDate */
|
|
55216
55217
|
gracePeriodEndDate?: (number|Long|null);
|
|
55218
|
+
|
|
55219
|
+
/**
|
|
55220
|
+
* [Optional] The uuid of the user's EligibilityRecord, not to be confused with legacy EligibilityRecord in Ginger web
|
|
55221
|
+
* Expect this field to be populated only when migrating KP National legacy Headspace care members to Fusion
|
|
55222
|
+
* For all other organizations and flows, eligibility is linked during enrollment
|
|
55223
|
+
*/
|
|
55224
|
+
hsEligibilityRecordUuid?: (string|null);
|
|
55217
55225
|
}
|
|
55218
55226
|
|
|
55219
55227
|
/**
|
|
@@ -55268,6 +55276,13 @@ export class GingerMemberUpgraded implements IGingerMemberUpgraded {
|
|
|
55268
55276
|
/** GingerMemberUpgraded gracePeriodEndDate. */
|
|
55269
55277
|
public gracePeriodEndDate: (number|Long);
|
|
55270
55278
|
|
|
55279
|
+
/**
|
|
55280
|
+
* [Optional] The uuid of the user's EligibilityRecord, not to be confused with legacy EligibilityRecord in Ginger web
|
|
55281
|
+
* Expect this field to be populated only when migrating KP National legacy Headspace care members to Fusion
|
|
55282
|
+
* For all other organizations and flows, eligibility is linked during enrollment
|
|
55283
|
+
*/
|
|
55284
|
+
public hsEligibilityRecordUuid: string;
|
|
55285
|
+
|
|
55271
55286
|
/**
|
|
55272
55287
|
* Creates a new GingerMemberUpgraded instance using the specified properties.
|
|
55273
55288
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -37777,7 +37777,7 @@ $root.b2b = (function() {
|
|
|
37777
37777
|
* @property {string|null} [country] Organization country
|
|
37778
37778
|
* @property {boolean|null} [hasEapCoverage] Organization hasEapCoverage
|
|
37779
37779
|
* @property {number|null} [overlappedCareId] Organization overlappedCareId
|
|
37780
|
-
* @property {string|null} [
|
|
37780
|
+
* @property {string|null} [emailCampaignLogo] Organization emailCampaignLogo
|
|
37781
37781
|
*/
|
|
37782
37782
|
|
|
37783
37783
|
/**
|
|
@@ -37981,12 +37981,12 @@ $root.b2b = (function() {
|
|
|
37981
37981
|
Organization.prototype.overlappedCareId = 0;
|
|
37982
37982
|
|
|
37983
37983
|
/**
|
|
37984
|
-
* Organization
|
|
37985
|
-
* @member {string}
|
|
37984
|
+
* Organization emailCampaignLogo.
|
|
37985
|
+
* @member {string} emailCampaignLogo
|
|
37986
37986
|
* @memberof b2b.Organization
|
|
37987
37987
|
* @instance
|
|
37988
37988
|
*/
|
|
37989
|
-
Organization.prototype.
|
|
37989
|
+
Organization.prototype.emailCampaignLogo = "";
|
|
37990
37990
|
|
|
37991
37991
|
/**
|
|
37992
37992
|
* Creates a new Organization instance using the specified properties.
|
|
@@ -38062,8 +38062,8 @@ $root.b2b = (function() {
|
|
|
38062
38062
|
writer.uint32(/* id 22, wireType 0 =*/176).bool(message.hasEapCoverage);
|
|
38063
38063
|
if (message.overlappedCareId != null && message.hasOwnProperty("overlappedCareId"))
|
|
38064
38064
|
writer.uint32(/* id 23, wireType 0 =*/184).uint32(message.overlappedCareId);
|
|
38065
|
-
if (message.
|
|
38066
|
-
writer.uint32(/* id
|
|
38065
|
+
if (message.emailCampaignLogo != null && message.hasOwnProperty("emailCampaignLogo"))
|
|
38066
|
+
writer.uint32(/* id 25, wireType 2 =*/202).string(message.emailCampaignLogo);
|
|
38067
38067
|
return writer;
|
|
38068
38068
|
};
|
|
38069
38069
|
|
|
@@ -38174,8 +38174,8 @@ $root.b2b = (function() {
|
|
|
38174
38174
|
case 23:
|
|
38175
38175
|
message.overlappedCareId = reader.uint32();
|
|
38176
38176
|
break;
|
|
38177
|
-
case
|
|
38178
|
-
message.
|
|
38177
|
+
case 25:
|
|
38178
|
+
message.emailCampaignLogo = reader.string();
|
|
38179
38179
|
break;
|
|
38180
38180
|
default:
|
|
38181
38181
|
reader.skipType(tag & 7);
|
|
@@ -38260,6 +38260,7 @@ $root.b2b = (function() {
|
|
|
38260
38260
|
case 7:
|
|
38261
38261
|
case 8:
|
|
38262
38262
|
case 9:
|
|
38263
|
+
case 10:
|
|
38263
38264
|
break;
|
|
38264
38265
|
}
|
|
38265
38266
|
if (message.gingerId != null && message.hasOwnProperty("gingerId"))
|
|
@@ -38315,9 +38316,9 @@ $root.b2b = (function() {
|
|
|
38315
38316
|
if (message.overlappedCareId != null && message.hasOwnProperty("overlappedCareId"))
|
|
38316
38317
|
if (!$util.isInteger(message.overlappedCareId))
|
|
38317
38318
|
return "overlappedCareId: integer expected";
|
|
38318
|
-
if (message.
|
|
38319
|
-
if (!$util.isString(message.
|
|
38320
|
-
return "
|
|
38319
|
+
if (message.emailCampaignLogo != null && message.hasOwnProperty("emailCampaignLogo"))
|
|
38320
|
+
if (!$util.isString(message.emailCampaignLogo))
|
|
38321
|
+
return "emailCampaignLogo: string expected";
|
|
38321
38322
|
return null;
|
|
38322
38323
|
};
|
|
38323
38324
|
|
|
@@ -38418,6 +38419,10 @@ $root.b2b = (function() {
|
|
|
38418
38419
|
case 9:
|
|
38419
38420
|
message.restrictBy = 9;
|
|
38420
38421
|
break;
|
|
38422
|
+
case "ORG_RESTRICT_BY_KP_NATIONAL_JWT":
|
|
38423
|
+
case 10:
|
|
38424
|
+
message.restrictBy = 10;
|
|
38425
|
+
break;
|
|
38421
38426
|
}
|
|
38422
38427
|
if (object.gingerId != null)
|
|
38423
38428
|
message.gingerId = String(object.gingerId);
|
|
@@ -38470,8 +38475,8 @@ $root.b2b = (function() {
|
|
|
38470
38475
|
message.hasEapCoverage = Boolean(object.hasEapCoverage);
|
|
38471
38476
|
if (object.overlappedCareId != null)
|
|
38472
38477
|
message.overlappedCareId = object.overlappedCareId >>> 0;
|
|
38473
|
-
if (object.
|
|
38474
|
-
message.
|
|
38478
|
+
if (object.emailCampaignLogo != null)
|
|
38479
|
+
message.emailCampaignLogo = String(object.emailCampaignLogo);
|
|
38475
38480
|
return message;
|
|
38476
38481
|
};
|
|
38477
38482
|
|
|
@@ -38513,7 +38518,7 @@ $root.b2b = (function() {
|
|
|
38513
38518
|
object.country = "";
|
|
38514
38519
|
object.hasEapCoverage = false;
|
|
38515
38520
|
object.overlappedCareId = 0;
|
|
38516
|
-
object.
|
|
38521
|
+
object.emailCampaignLogo = "";
|
|
38517
38522
|
}
|
|
38518
38523
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
38519
38524
|
object.orgId = message.orgId;
|
|
@@ -38564,8 +38569,8 @@ $root.b2b = (function() {
|
|
|
38564
38569
|
object.hasEapCoverage = message.hasEapCoverage;
|
|
38565
38570
|
if (message.overlappedCareId != null && message.hasOwnProperty("overlappedCareId"))
|
|
38566
38571
|
object.overlappedCareId = message.overlappedCareId;
|
|
38567
|
-
if (message.
|
|
38568
|
-
object.
|
|
38572
|
+
if (message.emailCampaignLogo != null && message.hasOwnProperty("emailCampaignLogo"))
|
|
38573
|
+
object.emailCampaignLogo = message.emailCampaignLogo;
|
|
38569
38574
|
return object;
|
|
38570
38575
|
};
|
|
38571
38576
|
|
|
@@ -39246,6 +39251,7 @@ $root.b2b = (function() {
|
|
|
39246
39251
|
* @property {number} ORG_RESTRICT_BY_SSO=7 ORG_RESTRICT_BY_SSO value
|
|
39247
39252
|
* @property {number} ORG_RESTRICT_BY_BUNDLED_EMAIL_ELIGIBILITY_FILE=8 ORG_RESTRICT_BY_BUNDLED_EMAIL_ELIGIBILITY_FILE value
|
|
39248
39253
|
* @property {number} ORG_RESTRICT_BY_BUNDLED_EMPLOYEE_ID_ELIGIBILITY_FILE=9 ORG_RESTRICT_BY_BUNDLED_EMPLOYEE_ID_ELIGIBILITY_FILE value
|
|
39254
|
+
* @property {number} ORG_RESTRICT_BY_KP_NATIONAL_JWT=10 ORG_RESTRICT_BY_KP_NATIONAL_JWT value
|
|
39249
39255
|
*/
|
|
39250
39256
|
b2b.OrgRestrictBy = (function() {
|
|
39251
39257
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -39259,6 +39265,7 @@ $root.b2b = (function() {
|
|
|
39259
39265
|
values[valuesById[7] = "ORG_RESTRICT_BY_SSO"] = 7;
|
|
39260
39266
|
values[valuesById[8] = "ORG_RESTRICT_BY_BUNDLED_EMAIL_ELIGIBILITY_FILE"] = 8;
|
|
39261
39267
|
values[valuesById[9] = "ORG_RESTRICT_BY_BUNDLED_EMPLOYEE_ID_ELIGIBILITY_FILE"] = 9;
|
|
39268
|
+
values[valuesById[10] = "ORG_RESTRICT_BY_KP_NATIONAL_JWT"] = 10;
|
|
39262
39269
|
return values;
|
|
39263
39270
|
})();
|
|
39264
39271
|
|
|
@@ -121995,6 +122002,7 @@ $root.EligibilityFileProcessed = (function() {
|
|
|
121995
122002
|
case 7:
|
|
121996
122003
|
case 8:
|
|
121997
122004
|
case 9:
|
|
122005
|
+
case 10:
|
|
121998
122006
|
break;
|
|
121999
122007
|
}
|
|
122000
122008
|
if (message.orgHeadspaceHealthId != null && message.hasOwnProperty("orgHeadspaceHealthId"))
|
|
@@ -122105,6 +122113,10 @@ $root.EligibilityFileProcessed = (function() {
|
|
|
122105
122113
|
case 9:
|
|
122106
122114
|
message.orgRestrictBy = 9;
|
|
122107
122115
|
break;
|
|
122116
|
+
case "ORG_RESTRICT_BY_KP_NATIONAL_JWT":
|
|
122117
|
+
case 10:
|
|
122118
|
+
message.orgRestrictBy = 10;
|
|
122119
|
+
break;
|
|
122108
122120
|
}
|
|
122109
122121
|
if (object.orgHeadspaceHealthId != null)
|
|
122110
122122
|
message.orgHeadspaceHealthId = String(object.orgHeadspaceHealthId);
|
|
@@ -153986,6 +153998,9 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
153986
153998
|
* @property {number|null} [b2bRootOrgId] GingerMemberUpgraded b2bRootOrgId
|
|
153987
153999
|
* @property {number|Long|null} [firstEnrolledAt] GingerMemberUpgraded firstEnrolledAt
|
|
153988
154000
|
* @property {number|Long|null} [gracePeriodEndDate] GingerMemberUpgraded gracePeriodEndDate
|
|
154001
|
+
* @property {string|null} [hsEligibilityRecordUuid] [Optional] The uuid of the user's EligibilityRecord, not to be confused with legacy EligibilityRecord in Ginger web
|
|
154002
|
+
* Expect this field to be populated only when migrating KP National legacy Headspace care members to Fusion
|
|
154003
|
+
* For all other organizations and flows, eligibility is linked during enrollment
|
|
153989
154004
|
*/
|
|
153990
154005
|
|
|
153991
154006
|
/**
|
|
@@ -154109,6 +154124,16 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154109
154124
|
*/
|
|
154110
154125
|
GingerMemberUpgraded.prototype.gracePeriodEndDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
154111
154126
|
|
|
154127
|
+
/**
|
|
154128
|
+
* [Optional] The uuid of the user's EligibilityRecord, not to be confused with legacy EligibilityRecord in Ginger web
|
|
154129
|
+
* Expect this field to be populated only when migrating KP National legacy Headspace care members to Fusion
|
|
154130
|
+
* For all other organizations and flows, eligibility is linked during enrollment
|
|
154131
|
+
* @member {string} hsEligibilityRecordUuid
|
|
154132
|
+
* @memberof GingerMemberUpgraded
|
|
154133
|
+
* @instance
|
|
154134
|
+
*/
|
|
154135
|
+
GingerMemberUpgraded.prototype.hsEligibilityRecordUuid = "";
|
|
154136
|
+
|
|
154112
154137
|
/**
|
|
154113
154138
|
* Creates a new GingerMemberUpgraded instance using the specified properties.
|
|
154114
154139
|
* @function create
|
|
@@ -154159,6 +154184,8 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154159
154184
|
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.firstEnrolledAt);
|
|
154160
154185
|
if (message.gracePeriodEndDate != null && message.hasOwnProperty("gracePeriodEndDate"))
|
|
154161
154186
|
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.gracePeriodEndDate);
|
|
154187
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
154188
|
+
writer.uint32(/* id 14, wireType 2 =*/114).string(message.hsEligibilityRecordUuid);
|
|
154162
154189
|
return writer;
|
|
154163
154190
|
};
|
|
154164
154191
|
|
|
@@ -154232,6 +154259,9 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154232
154259
|
case 13:
|
|
154233
154260
|
message.gracePeriodEndDate = reader.uint64();
|
|
154234
154261
|
break;
|
|
154262
|
+
case 14:
|
|
154263
|
+
message.hsEligibilityRecordUuid = reader.string();
|
|
154264
|
+
break;
|
|
154235
154265
|
default:
|
|
154236
154266
|
reader.skipType(tag & 7);
|
|
154237
154267
|
break;
|
|
@@ -154324,6 +154354,9 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154324
154354
|
if (message.gracePeriodEndDate != null && message.hasOwnProperty("gracePeriodEndDate"))
|
|
154325
154355
|
if (!$util.isInteger(message.gracePeriodEndDate) && !(message.gracePeriodEndDate && $util.isInteger(message.gracePeriodEndDate.low) && $util.isInteger(message.gracePeriodEndDate.high)))
|
|
154326
154356
|
return "gracePeriodEndDate: integer|Long expected";
|
|
154357
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
154358
|
+
if (!$util.isString(message.hsEligibilityRecordUuid))
|
|
154359
|
+
return "hsEligibilityRecordUuid: string expected";
|
|
154327
154360
|
return null;
|
|
154328
154361
|
};
|
|
154329
154362
|
|
|
@@ -154427,6 +154460,8 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154427
154460
|
message.gracePeriodEndDate = object.gracePeriodEndDate;
|
|
154428
154461
|
else if (typeof object.gracePeriodEndDate === "object")
|
|
154429
154462
|
message.gracePeriodEndDate = new $util.LongBits(object.gracePeriodEndDate.low >>> 0, object.gracePeriodEndDate.high >>> 0).toNumber(true);
|
|
154463
|
+
if (object.hsEligibilityRecordUuid != null)
|
|
154464
|
+
message.hsEligibilityRecordUuid = String(object.hsEligibilityRecordUuid);
|
|
154430
154465
|
return message;
|
|
154431
154466
|
};
|
|
154432
154467
|
|
|
@@ -154465,6 +154500,7 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154465
154500
|
object.gracePeriodEndDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
154466
154501
|
} else
|
|
154467
154502
|
object.gracePeriodEndDate = options.longs === String ? "0" : 0;
|
|
154503
|
+
object.hsEligibilityRecordUuid = "";
|
|
154468
154504
|
}
|
|
154469
154505
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
154470
154506
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -154498,6 +154534,8 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154498
154534
|
object.gracePeriodEndDate = options.longs === String ? String(message.gracePeriodEndDate) : message.gracePeriodEndDate;
|
|
154499
154535
|
else
|
|
154500
154536
|
object.gracePeriodEndDate = options.longs === String ? $util.Long.prototype.toString.call(message.gracePeriodEndDate) : options.longs === Number ? new $util.LongBits(message.gracePeriodEndDate.low >>> 0, message.gracePeriodEndDate.high >>> 0).toNumber(true) : message.gracePeriodEndDate;
|
|
154537
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
154538
|
+
object.hsEligibilityRecordUuid = message.hsEligibilityRecordUuid;
|
|
154501
154539
|
return object;
|
|
154502
154540
|
};
|
|
154503
154541
|
|
package/package.json
CHANGED