@vitable-inc/vitable-connect 5.2.0 → 6.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.2.0",
48
- "User-Agent": "@vitable-inc/vitable-connect/5.2.0",
47
+ "X-Fern-SDK-Version": "6.1.0",
48
+ "User-Agent": "@vitable-inc/vitable-connect/6.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);
@@ -14,7 +14,7 @@ export declare class MembersClient {
14
14
  protected readonly _options: NormalizedClientOptionsWithAuth<MembersClient.Options>;
15
15
  constructor(options?: MembersClient.Options);
16
16
  /**
17
- * Retrieves a member's profile by ID — identity, demographics, address, contact details, tobacco status, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
17
+ * Retrieves a member's profile by ID — identity, demographics, address (with county), contact details, tobacco status, marital status, individual and household income, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
18
18
  *
19
19
  * @param {VitableConnect.GetMembersRequest} request
20
20
  * @param {MembersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -71,7 +71,7 @@ class MembersClient {
71
71
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
72
72
  }
73
73
  /**
74
- * Retrieves a member's profile by ID — identity, demographics, address, contact details, tobacco status, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
74
+ * Retrieves a member's profile by ID — identity, demographics, address (with county), contact details, tobacco status, marital status, individual and household income, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
75
75
  *
76
76
  * @param {VitableConnect.GetMembersRequest} request
77
77
  * @param {MembersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -74,6 +74,10 @@ export interface Member {
74
74
  * * `Married` - Married
75
75
  */
76
76
  marital_status?: (VitableConnect.MaritalStatus | null) | undefined;
77
+ /** Member's annual individual income in cents, if provided */
78
+ individual_income_in_cents?: (number | null) | undefined;
79
+ /** Member's annual household income in cents, if provided */
80
+ household_income_in_cents?: (number | null) | undefined;
77
81
  /** Member profile status (onboarded or pending onboarding) */
78
82
  status?: VitableConnect.MemberStatus | undefined;
79
83
  }
@@ -75,4 +75,6 @@ export interface MemberAddress {
75
75
  state: VitableConnect.State;
76
76
  /** ZIP code (5 or 9 digit) */
77
77
  zipcode: string;
78
+ /** County name, if known */
79
+ county_name?: (string | null) | undefined;
78
80
  }
@@ -90,8 +90,8 @@ export interface MemberEnrollment {
90
90
  * * `Cancelled` - Cancelled
91
91
  */
92
92
  policy_status: VitableConnect.PlanYearEnrollmentPolicyStatus | null;
93
- /** True when today (ET) falls in the final month of the member's individual coverage (the earliest of termination, subscription end, plan-year end, and selected-plan end) or of the plan-year coverage window; drives end-of-coverage enrollment actions on the client. */
94
- in_last_month_of_coverage: boolean;
93
+ /** True when today (ET) falls in the final month of the plan year. No new enrollment can start in that month, so it drives Reissue availability on the client. */
94
+ plan_year_ends_this_month: 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
97
  /**
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.2.0";
1
+ export declare const SDK_VERSION = "6.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.2.0";
4
+ exports.SDK_VERSION = "6.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.2.0",
11
- "User-Agent": "@vitable-inc/vitable-connect/5.2.0",
10
+ "X-Fern-SDK-Version": "6.1.0",
11
+ "User-Agent": "@vitable-inc/vitable-connect/6.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);
@@ -14,7 +14,7 @@ export declare class MembersClient {
14
14
  protected readonly _options: NormalizedClientOptionsWithAuth<MembersClient.Options>;
15
15
  constructor(options?: MembersClient.Options);
16
16
  /**
17
- * Retrieves a member's profile by ID — identity, demographics, address, contact details, tobacco status, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
17
+ * Retrieves a member's profile by ID — identity, demographics, address (with county), contact details, tobacco status, marital status, individual and household income, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
18
18
  *
19
19
  * @param {VitableConnect.GetMembersRequest} request
20
20
  * @param {MembersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -35,7 +35,7 @@ export class MembersClient {
35
35
  this._options = normalizeClientOptionsWithAuth(options);
36
36
  }
37
37
  /**
38
- * Retrieves a member's profile by ID — identity, demographics, address, contact details, tobacco status, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
38
+ * Retrieves a member's profile by ID — identity, demographics, address (with county), contact details, tobacco status, marital status, individual and household income, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
39
39
  *
40
40
  * @param {VitableConnect.GetMembersRequest} request
41
41
  * @param {MembersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -74,6 +74,10 @@ export interface Member {
74
74
  * * `Married` - Married
75
75
  */
76
76
  marital_status?: (VitableConnect.MaritalStatus | null) | undefined;
77
+ /** Member's annual individual income in cents, if provided */
78
+ individual_income_in_cents?: (number | null) | undefined;
79
+ /** Member's annual household income in cents, if provided */
80
+ household_income_in_cents?: (number | null) | undefined;
77
81
  /** Member profile status (onboarded or pending onboarding) */
78
82
  status?: VitableConnect.MemberStatus | undefined;
79
83
  }
@@ -75,4 +75,6 @@ export interface MemberAddress {
75
75
  state: VitableConnect.State;
76
76
  /** ZIP code (5 or 9 digit) */
77
77
  zipcode: string;
78
+ /** County name, if known */
79
+ county_name?: (string | null) | undefined;
78
80
  }
@@ -90,8 +90,8 @@ export interface MemberEnrollment {
90
90
  * * `Cancelled` - Cancelled
91
91
  */
92
92
  policy_status: VitableConnect.PlanYearEnrollmentPolicyStatus | null;
93
- /** True when today (ET) falls in the final month of the member's individual coverage (the earliest of termination, subscription end, plan-year end, and selected-plan end) or of the plan-year coverage window; drives end-of-coverage enrollment actions on the client. */
94
- in_last_month_of_coverage: boolean;
93
+ /** True when today (ET) falls in the final month of the plan year. No new enrollment can start in that month, so it drives Reissue availability on the client. */
94
+ plan_year_ends_this_month: 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
97
  /**
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.2.0";
1
+ export declare const SDK_VERSION = "6.1.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "5.2.0";
1
+ export const SDK_VERSION = "6.1.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitable-inc/vitable-connect",
3
- "version": "5.2.0",
3
+ "version": "6.1.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -2071,7 +2071,7 @@ await client.groups.update({
2071
2071
  <dl>
2072
2072
  <dd>
2073
2073
 
2074
- Retrieves a member's profile by ID — identity, demographics, address, contact details, tobacco status, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
2074
+ Retrieves a member's profile by ID — identity, demographics, address (with county), contact details, tobacco status, marital status, individual and household income, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.
2075
2075
  </dd>
2076
2076
  </dl>
2077
2077
  </dd>