@vitable-inc/vitable-connect 6.0.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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/members/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/members/client/Client.js +1 -1
- package/dist/cjs/api/types/Member.d.ts +4 -0
- package/dist/cjs/api/types/MemberAddress.d.ts +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/members/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/members/client/Client.mjs +1 -1
- package/dist/esm/api/types/Member.d.mts +4 -0
- package/dist/esm/api/types/MemberAddress.d.mts +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -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": "6.
|
|
48
|
-
"User-Agent": "@vitable-inc/vitable-connect/6.
|
|
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
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "6.
|
|
1
|
+
export declare const SDK_VERSION = "6.1.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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": "6.
|
|
11
|
-
"User-Agent": "@vitable-inc/vitable-connect/6.
|
|
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
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "6.
|
|
1
|
+
export declare const SDK_VERSION = "6.1.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "6.
|
|
1
|
+
export const SDK_VERSION = "6.1.0";
|
package/package.json
CHANGED
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>
|