@vitable-inc/vitable-connect 5.0.0 → 5.1.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.
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
44
44
  const headers = (0, headers_js_1.mergeHeaders)({
45
45
  "X-Fern-Language": "JavaScript",
46
46
  "X-Fern-SDK-Name": "@vitable-inc/vitable-connect",
47
- "X-Fern-SDK-Version": "5.0.0",
48
- "User-Agent": "@vitable-inc/vitable-connect/5.0.0",
47
+ "X-Fern-SDK-Version": "5.1.0",
48
+ "User-Agent": "@vitable-inc/vitable-connect/5.1.0",
49
49
  "X-Fern-Runtime": core.RUNTIME.type,
50
50
  "X-Fern-Runtime-Version": core.RUNTIME.version,
51
51
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -94,4 +94,11 @@ export interface MemberEnrollment {
94
94
  in_last_month_of_coverage: boolean;
95
95
  /** True when today falls inside the enrollment window this member has to answer in; drives enrollment-action availability on the client. */
96
96
  is_within_enrollment_window: boolean;
97
+ /**
98
+ * Whether this ICHRA plan year was marked `Affordable` or `Not Affordable` when it was configured. A plan-year setting, not a calculation for this member. Null for non-ICHRA rows and for ICHRA plan years where it has not been set.
99
+ *
100
+ * * `Affordable` - Affordable
101
+ * * `Not Affordable` - Not Affordable
102
+ */
103
+ plan_year_ichra_affordability: VitableConnect.PlanYearIchraAffordability | null;
97
104
  }
@@ -42,4 +42,11 @@ export interface PlanYearEnrollment {
42
42
  employer_contribution_in_cents: number | null;
43
43
  /** What the employee is deducted monthly, in cents: `premium_in_cents` less `employer_contribution_in_cents`, floored at zero. Null when unanswered/waived. */
44
44
  employee_deduction_in_cents: number | null;
45
+ /**
46
+ * Whether this ICHRA plan year was marked `Affordable` or `Not Affordable` when it was configured. A plan-year setting, not a calculation for this member. Null for non-ICHRA plan years and for ICHRA plan years where it has not been set.
47
+ *
48
+ * * `Affordable` - Affordable
49
+ * * `Not Affordable` - Not Affordable
50
+ */
51
+ plan_year_ichra_affordability: VitableConnect.PlanYearIchraAffordability | null;
45
52
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * * `Affordable` - Affordable
3
+ * * `Not Affordable` - Not Affordable
4
+ */
5
+ export declare const PlanYearIchraAffordability: {
6
+ readonly Affordable: "Affordable";
7
+ readonly NotAffordable: "Not Affordable";
8
+ };
9
+ export type PlanYearIchraAffordability = (typeof PlanYearIchraAffordability)[keyof typeof PlanYearIchraAffordability];
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PlanYearIchraAffordability = void 0;
5
+ /**
6
+ * * `Affordable` - Affordable
7
+ * * `Not Affordable` - Not Affordable
8
+ */
9
+ exports.PlanYearIchraAffordability = {
10
+ Affordable: "Affordable",
11
+ NotAffordable: "Not Affordable",
12
+ };
@@ -150,6 +150,7 @@ export * from "./PlanYearEnrollment.js";
150
150
  export * from "./PlanYearEnrollmentElectionStatus.js";
151
151
  export * from "./PlanYearEnrollmentListResponse.js";
152
152
  export * from "./PlanYearEnrollmentPolicyStatus.js";
153
+ export * from "./PlanYearIchraAffordability.js";
153
154
  export * from "./PreferredLanguage.js";
154
155
  export * from "./ProductCode.js";
155
156
  export * from "./QualifyingLifeEventStatus.js";
@@ -166,6 +166,7 @@ __exportStar(require("./PlanYearEnrollment.js"), exports);
166
166
  __exportStar(require("./PlanYearEnrollmentElectionStatus.js"), exports);
167
167
  __exportStar(require("./PlanYearEnrollmentListResponse.js"), exports);
168
168
  __exportStar(require("./PlanYearEnrollmentPolicyStatus.js"), exports);
169
+ __exportStar(require("./PlanYearIchraAffordability.js"), exports);
169
170
  __exportStar(require("./PreferredLanguage.js"), exports);
170
171
  __exportStar(require("./ProductCode.js"), exports);
171
172
  __exportStar(require("./QualifyingLifeEventStatus.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.0.0";
1
+ export declare const SDK_VERSION = "5.1.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "5.0.0";
4
+ exports.SDK_VERSION = "5.1.0";
@@ -7,8 +7,8 @@ export function normalizeClientOptions(options) {
7
7
  const headers = mergeHeaders({
8
8
  "X-Fern-Language": "JavaScript",
9
9
  "X-Fern-SDK-Name": "@vitable-inc/vitable-connect",
10
- "X-Fern-SDK-Version": "5.0.0",
11
- "User-Agent": "@vitable-inc/vitable-connect/5.0.0",
10
+ "X-Fern-SDK-Version": "5.1.0",
11
+ "User-Agent": "@vitable-inc/vitable-connect/5.1.0",
12
12
  "X-Fern-Runtime": core.RUNTIME.type,
13
13
  "X-Fern-Runtime-Version": core.RUNTIME.version,
14
14
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -94,4 +94,11 @@ export interface MemberEnrollment {
94
94
  in_last_month_of_coverage: boolean;
95
95
  /** True when today falls inside the enrollment window this member has to answer in; drives enrollment-action availability on the client. */
96
96
  is_within_enrollment_window: boolean;
97
+ /**
98
+ * Whether this ICHRA plan year was marked `Affordable` or `Not Affordable` when it was configured. A plan-year setting, not a calculation for this member. Null for non-ICHRA rows and for ICHRA plan years where it has not been set.
99
+ *
100
+ * * `Affordable` - Affordable
101
+ * * `Not Affordable` - Not Affordable
102
+ */
103
+ plan_year_ichra_affordability: VitableConnect.PlanYearIchraAffordability | null;
97
104
  }
@@ -42,4 +42,11 @@ export interface PlanYearEnrollment {
42
42
  employer_contribution_in_cents: number | null;
43
43
  /** What the employee is deducted monthly, in cents: `premium_in_cents` less `employer_contribution_in_cents`, floored at zero. Null when unanswered/waived. */
44
44
  employee_deduction_in_cents: number | null;
45
+ /**
46
+ * Whether this ICHRA plan year was marked `Affordable` or `Not Affordable` when it was configured. A plan-year setting, not a calculation for this member. Null for non-ICHRA plan years and for ICHRA plan years where it has not been set.
47
+ *
48
+ * * `Affordable` - Affordable
49
+ * * `Not Affordable` - Not Affordable
50
+ */
51
+ plan_year_ichra_affordability: VitableConnect.PlanYearIchraAffordability | null;
45
52
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * * `Affordable` - Affordable
3
+ * * `Not Affordable` - Not Affordable
4
+ */
5
+ export declare const PlanYearIchraAffordability: {
6
+ readonly Affordable: "Affordable";
7
+ readonly NotAffordable: "Not Affordable";
8
+ };
9
+ export type PlanYearIchraAffordability = (typeof PlanYearIchraAffordability)[keyof typeof PlanYearIchraAffordability];
@@ -0,0 +1,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /**
3
+ * * `Affordable` - Affordable
4
+ * * `Not Affordable` - Not Affordable
5
+ */
6
+ export const PlanYearIchraAffordability = {
7
+ Affordable: "Affordable",
8
+ NotAffordable: "Not Affordable",
9
+ };
@@ -150,6 +150,7 @@ export * from "./PlanYearEnrollment.mjs";
150
150
  export * from "./PlanYearEnrollmentElectionStatus.mjs";
151
151
  export * from "./PlanYearEnrollmentListResponse.mjs";
152
152
  export * from "./PlanYearEnrollmentPolicyStatus.mjs";
153
+ export * from "./PlanYearIchraAffordability.mjs";
153
154
  export * from "./PreferredLanguage.mjs";
154
155
  export * from "./ProductCode.mjs";
155
156
  export * from "./QualifyingLifeEventStatus.mjs";
@@ -150,6 +150,7 @@ export * from "./PlanYearEnrollment.mjs";
150
150
  export * from "./PlanYearEnrollmentElectionStatus.mjs";
151
151
  export * from "./PlanYearEnrollmentListResponse.mjs";
152
152
  export * from "./PlanYearEnrollmentPolicyStatus.mjs";
153
+ export * from "./PlanYearIchraAffordability.mjs";
153
154
  export * from "./PreferredLanguage.mjs";
154
155
  export * from "./ProductCode.mjs";
155
156
  export * from "./QualifyingLifeEventStatus.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.0.0";
1
+ export declare const SDK_VERSION = "5.1.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "5.0.0";
1
+ export const SDK_VERSION = "5.1.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitable-inc/vitable-connect",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",