@headspace/protos-events 1.641.0 → 1.643.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 -5
- package/lib/index.js +74 -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. */
|
|
@@ -55221,6 +55222,16 @@ export interface IGingerMemberUpgraded {
|
|
|
55221
55222
|
* For all other organizations and flows, eligibility is linked during enrollment
|
|
55222
55223
|
*/
|
|
55223
55224
|
hsEligibilityRecordUuid?: (string|null);
|
|
55225
|
+
|
|
55226
|
+
/**
|
|
55227
|
+
* [Optional] If the member is an active enrolled KP National legacy Headspace care member, this field will be
|
|
55228
|
+
* populated with the most recent RenewableBenefitCycleSubscription.start_date
|
|
55229
|
+
* indicating the start of their current active subscription
|
|
55230
|
+
* This value will replace the default value of OrgMember.activeSince when the member is upgraded
|
|
55231
|
+
* (in millis since epoch UTC)
|
|
55232
|
+
* This field is NOT to be confused with first_enrolled_at
|
|
55233
|
+
*/
|
|
55234
|
+
legacyCycleStartDate?: (number|Long|null);
|
|
55224
55235
|
}
|
|
55225
55236
|
|
|
55226
55237
|
/**
|
|
@@ -55282,6 +55293,16 @@ export class GingerMemberUpgraded implements IGingerMemberUpgraded {
|
|
|
55282
55293
|
*/
|
|
55283
55294
|
public hsEligibilityRecordUuid: string;
|
|
55284
55295
|
|
|
55296
|
+
/**
|
|
55297
|
+
* [Optional] If the member is an active enrolled KP National legacy Headspace care member, this field will be
|
|
55298
|
+
* populated with the most recent RenewableBenefitCycleSubscription.start_date
|
|
55299
|
+
* indicating the start of their current active subscription
|
|
55300
|
+
* This value will replace the default value of OrgMember.activeSince when the member is upgraded
|
|
55301
|
+
* (in millis since epoch UTC)
|
|
55302
|
+
* This field is NOT to be confused with first_enrolled_at
|
|
55303
|
+
*/
|
|
55304
|
+
public legacyCycleStartDate: (number|Long);
|
|
55305
|
+
|
|
55285
55306
|
/**
|
|
55286
55307
|
* Creates a new GingerMemberUpgraded instance using the specified properties.
|
|
55287
55308
|
* @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);
|
|
@@ -153989,6 +154001,12 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
153989
154001
|
* @property {string|null} [hsEligibilityRecordUuid] [Optional] The uuid of the user's EligibilityRecord, not to be confused with legacy EligibilityRecord in Ginger web
|
|
153990
154002
|
* Expect this field to be populated only when migrating KP National legacy Headspace care members to Fusion
|
|
153991
154003
|
* For all other organizations and flows, eligibility is linked during enrollment
|
|
154004
|
+
* @property {number|Long|null} [legacyCycleStartDate] [Optional] If the member is an active enrolled KP National legacy Headspace care member, this field will be
|
|
154005
|
+
* populated with the most recent RenewableBenefitCycleSubscription.start_date
|
|
154006
|
+
* indicating the start of their current active subscription
|
|
154007
|
+
* This value will replace the default value of OrgMember.activeSince when the member is upgraded
|
|
154008
|
+
* (in millis since epoch UTC)
|
|
154009
|
+
* This field is NOT to be confused with first_enrolled_at
|
|
153992
154010
|
*/
|
|
153993
154011
|
|
|
153994
154012
|
/**
|
|
@@ -154122,6 +154140,19 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154122
154140
|
*/
|
|
154123
154141
|
GingerMemberUpgraded.prototype.hsEligibilityRecordUuid = "";
|
|
154124
154142
|
|
|
154143
|
+
/**
|
|
154144
|
+
* [Optional] If the member is an active enrolled KP National legacy Headspace care member, this field will be
|
|
154145
|
+
* populated with the most recent RenewableBenefitCycleSubscription.start_date
|
|
154146
|
+
* indicating the start of their current active subscription
|
|
154147
|
+
* This value will replace the default value of OrgMember.activeSince when the member is upgraded
|
|
154148
|
+
* (in millis since epoch UTC)
|
|
154149
|
+
* This field is NOT to be confused with first_enrolled_at
|
|
154150
|
+
* @member {number|Long} legacyCycleStartDate
|
|
154151
|
+
* @memberof GingerMemberUpgraded
|
|
154152
|
+
* @instance
|
|
154153
|
+
*/
|
|
154154
|
+
GingerMemberUpgraded.prototype.legacyCycleStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
154155
|
+
|
|
154125
154156
|
/**
|
|
154126
154157
|
* Creates a new GingerMemberUpgraded instance using the specified properties.
|
|
154127
154158
|
* @function create
|
|
@@ -154174,6 +154205,8 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154174
154205
|
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.gracePeriodEndDate);
|
|
154175
154206
|
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
154176
154207
|
writer.uint32(/* id 14, wireType 2 =*/114).string(message.hsEligibilityRecordUuid);
|
|
154208
|
+
if (message.legacyCycleStartDate != null && message.hasOwnProperty("legacyCycleStartDate"))
|
|
154209
|
+
writer.uint32(/* id 15, wireType 0 =*/120).uint64(message.legacyCycleStartDate);
|
|
154177
154210
|
return writer;
|
|
154178
154211
|
};
|
|
154179
154212
|
|
|
@@ -154250,6 +154283,9 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154250
154283
|
case 14:
|
|
154251
154284
|
message.hsEligibilityRecordUuid = reader.string();
|
|
154252
154285
|
break;
|
|
154286
|
+
case 15:
|
|
154287
|
+
message.legacyCycleStartDate = reader.uint64();
|
|
154288
|
+
break;
|
|
154253
154289
|
default:
|
|
154254
154290
|
reader.skipType(tag & 7);
|
|
154255
154291
|
break;
|
|
@@ -154345,6 +154381,9 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154345
154381
|
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
154346
154382
|
if (!$util.isString(message.hsEligibilityRecordUuid))
|
|
154347
154383
|
return "hsEligibilityRecordUuid: string expected";
|
|
154384
|
+
if (message.legacyCycleStartDate != null && message.hasOwnProperty("legacyCycleStartDate"))
|
|
154385
|
+
if (!$util.isInteger(message.legacyCycleStartDate) && !(message.legacyCycleStartDate && $util.isInteger(message.legacyCycleStartDate.low) && $util.isInteger(message.legacyCycleStartDate.high)))
|
|
154386
|
+
return "legacyCycleStartDate: integer|Long expected";
|
|
154348
154387
|
return null;
|
|
154349
154388
|
};
|
|
154350
154389
|
|
|
@@ -154450,6 +154489,15 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154450
154489
|
message.gracePeriodEndDate = new $util.LongBits(object.gracePeriodEndDate.low >>> 0, object.gracePeriodEndDate.high >>> 0).toNumber(true);
|
|
154451
154490
|
if (object.hsEligibilityRecordUuid != null)
|
|
154452
154491
|
message.hsEligibilityRecordUuid = String(object.hsEligibilityRecordUuid);
|
|
154492
|
+
if (object.legacyCycleStartDate != null)
|
|
154493
|
+
if ($util.Long)
|
|
154494
|
+
(message.legacyCycleStartDate = $util.Long.fromValue(object.legacyCycleStartDate)).unsigned = true;
|
|
154495
|
+
else if (typeof object.legacyCycleStartDate === "string")
|
|
154496
|
+
message.legacyCycleStartDate = parseInt(object.legacyCycleStartDate, 10);
|
|
154497
|
+
else if (typeof object.legacyCycleStartDate === "number")
|
|
154498
|
+
message.legacyCycleStartDate = object.legacyCycleStartDate;
|
|
154499
|
+
else if (typeof object.legacyCycleStartDate === "object")
|
|
154500
|
+
message.legacyCycleStartDate = new $util.LongBits(object.legacyCycleStartDate.low >>> 0, object.legacyCycleStartDate.high >>> 0).toNumber(true);
|
|
154453
154501
|
return message;
|
|
154454
154502
|
};
|
|
154455
154503
|
|
|
@@ -154489,6 +154537,11 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154489
154537
|
} else
|
|
154490
154538
|
object.gracePeriodEndDate = options.longs === String ? "0" : 0;
|
|
154491
154539
|
object.hsEligibilityRecordUuid = "";
|
|
154540
|
+
if ($util.Long) {
|
|
154541
|
+
var long = new $util.Long(0, 0, true);
|
|
154542
|
+
object.legacyCycleStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
154543
|
+
} else
|
|
154544
|
+
object.legacyCycleStartDate = options.longs === String ? "0" : 0;
|
|
154492
154545
|
}
|
|
154493
154546
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
154494
154547
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -154524,6 +154577,11 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
154524
154577
|
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;
|
|
154525
154578
|
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
154526
154579
|
object.hsEligibilityRecordUuid = message.hsEligibilityRecordUuid;
|
|
154580
|
+
if (message.legacyCycleStartDate != null && message.hasOwnProperty("legacyCycleStartDate"))
|
|
154581
|
+
if (typeof message.legacyCycleStartDate === "number")
|
|
154582
|
+
object.legacyCycleStartDate = options.longs === String ? String(message.legacyCycleStartDate) : message.legacyCycleStartDate;
|
|
154583
|
+
else
|
|
154584
|
+
object.legacyCycleStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.legacyCycleStartDate) : options.longs === Number ? new $util.LongBits(message.legacyCycleStartDate.low >>> 0, message.legacyCycleStartDate.high >>> 0).toNumber(true) : message.legacyCycleStartDate;
|
|
154527
154585
|
return object;
|
|
154528
154586
|
};
|
|
154529
154587
|
|
package/package.json
CHANGED