@vitable-inc/vitable-connect 2.1.0 → 3.0.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/organizations/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/organizations/client/Client.js +1 -1
- package/dist/cjs/api/resources/organizations/client/requests/CreateOrganizationRequest.d.ts +1 -1
- package/dist/cjs/api/types/OrganizationMembership.d.ts +38 -0
- package/dist/cjs/api/types/OrganizationMembership.js +3 -0
- package/dist/cjs/api/types/OrganizationType.d.ts +5 -5
- package/dist/cjs/api/types/OrganizationType.js +5 -5
- package/dist/cjs/api/types/OrganizationUserRole.d.ts +13 -0
- package/dist/cjs/api/types/OrganizationUserRole.js +16 -0
- package/dist/cjs/api/types/OrganizationsListResponse.d.ts +1 -1
- package/dist/cjs/api/types/index.d.ts +2 -1
- package/dist/cjs/api/types/index.js +2 -1
- 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/organizations/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/organizations/client/Client.mjs +1 -1
- package/dist/esm/api/resources/organizations/client/requests/CreateOrganizationRequest.d.mts +1 -1
- package/dist/esm/api/types/OrganizationMembership.d.mts +38 -0
- package/dist/esm/api/types/OrganizationMembership.mjs +2 -0
- package/dist/esm/api/types/OrganizationType.d.mts +5 -5
- package/dist/esm/api/types/OrganizationType.mjs +5 -5
- package/dist/esm/api/types/OrganizationUserRole.d.mts +13 -0
- package/dist/esm/api/types/OrganizationUserRole.mjs +13 -0
- package/dist/esm/api/types/OrganizationsListResponse.d.mts +1 -1
- package/dist/esm/api/types/index.d.mts +2 -1
- package/dist/esm/api/types/index.mjs +2 -1
- 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/api/types/CreateOrganizationRequestType.d.ts +0 -17
- package/dist/cjs/api/types/CreateOrganizationRequestType.js +0 -20
- package/dist/esm/api/types/CreateOrganizationRequestType.d.mts +0 -17
- package/dist/esm/api/types/CreateOrganizationRequestType.mjs +0 -17
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": "
|
|
48
|
-
"User-Agent": "@vitable-inc/vitable-connect/
|
|
47
|
+
"X-Fern-SDK-Version": "3.0.0",
|
|
48
|
+
"User-Agent": "@vitable-inc/vitable-connect/3.0.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 OrganizationsClient {
|
|
|
14
14
|
protected readonly _options: NormalizedClientOptionsWithAuth<OrganizationsClient.Options>;
|
|
15
15
|
constructor(options?: OrganizationsClient.Options);
|
|
16
16
|
/**
|
|
17
|
-
* Lists the organizations the authenticated caller is an active member of (paginated). Returns an empty list when the caller belongs to no organizations.
|
|
17
|
+
* Lists the organizations the authenticated caller is an active member of (paginated), each with the role the caller holds in it. Returns an empty list when the caller belongs to no organizations.
|
|
18
18
|
*
|
|
19
19
|
* @param {OrganizationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
20
20
|
*
|
|
@@ -60,7 +60,7 @@ class OrganizationsClient {
|
|
|
60
60
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* Lists the organizations the authenticated caller is an active member of (paginated). Returns an empty list when the caller belongs to no organizations.
|
|
63
|
+
* Lists the organizations the authenticated caller is an active member of (paginated), each with the role the caller holds in it. Returns an empty list when the caller belongs to no organizations.
|
|
64
64
|
*
|
|
65
65
|
* @param {OrganizationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
66
|
*
|
|
@@ -10,5 +10,5 @@ export interface CreateOrganizationRequest {
|
|
|
10
10
|
/** Legal or trading name of the organization. */
|
|
11
11
|
name: string;
|
|
12
12
|
/** Category of organization being onboarded. */
|
|
13
|
-
type?: VitableConnect.
|
|
13
|
+
type?: VitableConnect.OrganizationType | null;
|
|
14
14
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type * as VitableConnect from "../index.js";
|
|
2
|
+
export interface OrganizationMembership {
|
|
3
|
+
/** Prefixed organization identifier (`org_<base64-encoded-uuid>`). */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Human-readable organization name. */
|
|
6
|
+
name: string;
|
|
7
|
+
/**
|
|
8
|
+
* Partner type (e.g. BROKERAGE, TPA).
|
|
9
|
+
*
|
|
10
|
+
* * `BROKERAGE` - Brokerage
|
|
11
|
+
* * `TPA` - TPA
|
|
12
|
+
* * `GENERAL_AGENT` - General Agent
|
|
13
|
+
* * `CHANNEL_PARTNER` - Channel Partner
|
|
14
|
+
* * `CONSULTING_FIRM` - Consulting Firm
|
|
15
|
+
* * `API_PLATFORM` - API Platform
|
|
16
|
+
*/
|
|
17
|
+
type: VitableConnect.OrganizationType | null;
|
|
18
|
+
/** IdP-issued tenant id (WorkOS org id). */
|
|
19
|
+
idp_org_id: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* IdP that minted idp_org_id (e.g. 'workos').
|
|
22
|
+
*
|
|
23
|
+
* * `workos` - WorkOS
|
|
24
|
+
* * `vitable` - Vitable
|
|
25
|
+
*/
|
|
26
|
+
idp_provider: VitableConnect.IdpProvider | null;
|
|
27
|
+
/** Whether this organization reads across every organization. */
|
|
28
|
+
super_in: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The caller's role in this organization.
|
|
31
|
+
*
|
|
32
|
+
* * `ADMIN` - Admin
|
|
33
|
+
* * `OPERATIONS` - Operations
|
|
34
|
+
* * `SALES` - Sales
|
|
35
|
+
* * `ENROLLMENT_AGENT` - Enrollment Agent
|
|
36
|
+
*/
|
|
37
|
+
role: VitableConnect.OrganizationUserRole;
|
|
38
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* * `BROKERAGE` -
|
|
2
|
+
* * `BROKERAGE` - BROKERAGE
|
|
3
3
|
* * `TPA` - TPA
|
|
4
|
-
* * `GENERAL_AGENT` -
|
|
5
|
-
* * `CHANNEL_PARTNER` -
|
|
6
|
-
* * `CONSULTING_FIRM` -
|
|
7
|
-
* * `API_PLATFORM` -
|
|
4
|
+
* * `GENERAL_AGENT` - GENERAL_AGENT
|
|
5
|
+
* * `CHANNEL_PARTNER` - CHANNEL_PARTNER
|
|
6
|
+
* * `CONSULTING_FIRM` - CONSULTING_FIRM
|
|
7
|
+
* * `API_PLATFORM` - API_PLATFORM
|
|
8
8
|
*/
|
|
9
9
|
export declare const OrganizationType: {
|
|
10
10
|
readonly Brokerage: "BROKERAGE";
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.OrganizationType = void 0;
|
|
5
5
|
/**
|
|
6
|
-
* * `BROKERAGE` -
|
|
6
|
+
* * `BROKERAGE` - BROKERAGE
|
|
7
7
|
* * `TPA` - TPA
|
|
8
|
-
* * `GENERAL_AGENT` -
|
|
9
|
-
* * `CHANNEL_PARTNER` -
|
|
10
|
-
* * `CONSULTING_FIRM` -
|
|
11
|
-
* * `API_PLATFORM` -
|
|
8
|
+
* * `GENERAL_AGENT` - GENERAL_AGENT
|
|
9
|
+
* * `CHANNEL_PARTNER` - CHANNEL_PARTNER
|
|
10
|
+
* * `CONSULTING_FIRM` - CONSULTING_FIRM
|
|
11
|
+
* * `API_PLATFORM` - API_PLATFORM
|
|
12
12
|
*/
|
|
13
13
|
exports.OrganizationType = {
|
|
14
14
|
Brokerage: "BROKERAGE",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `ADMIN` - Admin
|
|
3
|
+
* * `OPERATIONS` - Operations
|
|
4
|
+
* * `SALES` - Sales
|
|
5
|
+
* * `ENROLLMENT_AGENT` - Enrollment Agent
|
|
6
|
+
*/
|
|
7
|
+
export declare const OrganizationUserRole: {
|
|
8
|
+
readonly Admin: "ADMIN";
|
|
9
|
+
readonly Operations: "OPERATIONS";
|
|
10
|
+
readonly Sales: "SALES";
|
|
11
|
+
readonly EnrollmentAgent: "ENROLLMENT_AGENT";
|
|
12
|
+
};
|
|
13
|
+
export type OrganizationUserRole = (typeof OrganizationUserRole)[keyof typeof OrganizationUserRole];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.OrganizationUserRole = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* * `ADMIN` - Admin
|
|
7
|
+
* * `OPERATIONS` - Operations
|
|
8
|
+
* * `SALES` - Sales
|
|
9
|
+
* * `ENROLLMENT_AGENT` - Enrollment Agent
|
|
10
|
+
*/
|
|
11
|
+
exports.OrganizationUserRole = {
|
|
12
|
+
Admin: "ADMIN",
|
|
13
|
+
Operations: "OPERATIONS",
|
|
14
|
+
Sales: "SALES",
|
|
15
|
+
EnrollmentAgent: "ENROLLMENT_AGENT",
|
|
16
|
+
};
|
|
@@ -4,7 +4,7 @@ import type * as VitableConnect from "../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface OrganizationsListResponse {
|
|
6
6
|
/** This page of organizations. */
|
|
7
|
-
organizations: VitableConnect.
|
|
7
|
+
organizations: VitableConnect.OrganizationMembership[];
|
|
8
8
|
/** Total number of organizations the caller belongs to. */
|
|
9
9
|
total: number;
|
|
10
10
|
}
|
|
@@ -32,7 +32,6 @@ export * from "./ContributionTier.js";
|
|
|
32
32
|
export * from "./CoverageTier.js";
|
|
33
33
|
export * from "./CreatedAfter.js";
|
|
34
34
|
export * from "./CreatedBefore.js";
|
|
35
|
-
export * from "./CreateOrganizationRequestType.js";
|
|
36
35
|
export * from "./DeductionDetail.js";
|
|
37
36
|
export * from "./DeductionFrequency.js";
|
|
38
37
|
export * from "./DigitalBenefitCard.js";
|
|
@@ -135,8 +134,10 @@ export * from "./OrganizationEmployer.js";
|
|
|
135
134
|
export * from "./OrganizationEmployerListResponse.js";
|
|
136
135
|
export * from "./OrganizationHrisProvider.js";
|
|
137
136
|
export * from "./OrganizationHrisProvidersResponse.js";
|
|
137
|
+
export * from "./OrganizationMembership.js";
|
|
138
138
|
export * from "./OrganizationsListResponse.js";
|
|
139
139
|
export * from "./OrganizationType.js";
|
|
140
|
+
export * from "./OrganizationUserRole.js";
|
|
140
141
|
export * from "./Page.js";
|
|
141
142
|
export * from "./Pagination.js";
|
|
142
143
|
export * from "./PayrollAccessSetupStatus.js";
|
|
@@ -48,7 +48,6 @@ __exportStar(require("./ContributionTier.js"), exports);
|
|
|
48
48
|
__exportStar(require("./CoverageTier.js"), exports);
|
|
49
49
|
__exportStar(require("./CreatedAfter.js"), exports);
|
|
50
50
|
__exportStar(require("./CreatedBefore.js"), exports);
|
|
51
|
-
__exportStar(require("./CreateOrganizationRequestType.js"), exports);
|
|
52
51
|
__exportStar(require("./DeductionDetail.js"), exports);
|
|
53
52
|
__exportStar(require("./DeductionFrequency.js"), exports);
|
|
54
53
|
__exportStar(require("./DigitalBenefitCard.js"), exports);
|
|
@@ -151,8 +150,10 @@ __exportStar(require("./OrganizationEmployer.js"), exports);
|
|
|
151
150
|
__exportStar(require("./OrganizationEmployerListResponse.js"), exports);
|
|
152
151
|
__exportStar(require("./OrganizationHrisProvider.js"), exports);
|
|
153
152
|
__exportStar(require("./OrganizationHrisProvidersResponse.js"), exports);
|
|
153
|
+
__exportStar(require("./OrganizationMembership.js"), exports);
|
|
154
154
|
__exportStar(require("./OrganizationsListResponse.js"), exports);
|
|
155
155
|
__exportStar(require("./OrganizationType.js"), exports);
|
|
156
|
+
__exportStar(require("./OrganizationUserRole.js"), exports);
|
|
156
157
|
__exportStar(require("./Page.js"), exports);
|
|
157
158
|
__exportStar(require("./Pagination.js"), exports);
|
|
158
159
|
__exportStar(require("./PayrollAccessSetupStatus.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "3.0.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": "
|
|
11
|
-
"User-Agent": "@vitable-inc/vitable-connect/
|
|
10
|
+
"X-Fern-SDK-Version": "3.0.0",
|
|
11
|
+
"User-Agent": "@vitable-inc/vitable-connect/3.0.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 OrganizationsClient {
|
|
|
14
14
|
protected readonly _options: NormalizedClientOptionsWithAuth<OrganizationsClient.Options>;
|
|
15
15
|
constructor(options?: OrganizationsClient.Options);
|
|
16
16
|
/**
|
|
17
|
-
* Lists the organizations the authenticated caller is an active member of (paginated). Returns an empty list when the caller belongs to no organizations.
|
|
17
|
+
* Lists the organizations the authenticated caller is an active member of (paginated), each with the role the caller holds in it. Returns an empty list when the caller belongs to no organizations.
|
|
18
18
|
*
|
|
19
19
|
* @param {OrganizationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
20
20
|
*
|
|
@@ -24,7 +24,7 @@ export class OrganizationsClient {
|
|
|
24
24
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* Lists the organizations the authenticated caller is an active member of (paginated). Returns an empty list when the caller belongs to no organizations.
|
|
27
|
+
* Lists the organizations the authenticated caller is an active member of (paginated), each with the role the caller holds in it. Returns an empty list when the caller belongs to no organizations.
|
|
28
28
|
*
|
|
29
29
|
* @param {OrganizationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
30
30
|
*
|
package/dist/esm/api/resources/organizations/client/requests/CreateOrganizationRequest.d.mts
CHANGED
|
@@ -10,5 +10,5 @@ export interface CreateOrganizationRequest {
|
|
|
10
10
|
/** Legal or trading name of the organization. */
|
|
11
11
|
name: string;
|
|
12
12
|
/** Category of organization being onboarded. */
|
|
13
|
-
type?: VitableConnect.
|
|
13
|
+
type?: VitableConnect.OrganizationType | null;
|
|
14
14
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type * as VitableConnect from "../index.mjs";
|
|
2
|
+
export interface OrganizationMembership {
|
|
3
|
+
/** Prefixed organization identifier (`org_<base64-encoded-uuid>`). */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Human-readable organization name. */
|
|
6
|
+
name: string;
|
|
7
|
+
/**
|
|
8
|
+
* Partner type (e.g. BROKERAGE, TPA).
|
|
9
|
+
*
|
|
10
|
+
* * `BROKERAGE` - Brokerage
|
|
11
|
+
* * `TPA` - TPA
|
|
12
|
+
* * `GENERAL_AGENT` - General Agent
|
|
13
|
+
* * `CHANNEL_PARTNER` - Channel Partner
|
|
14
|
+
* * `CONSULTING_FIRM` - Consulting Firm
|
|
15
|
+
* * `API_PLATFORM` - API Platform
|
|
16
|
+
*/
|
|
17
|
+
type: VitableConnect.OrganizationType | null;
|
|
18
|
+
/** IdP-issued tenant id (WorkOS org id). */
|
|
19
|
+
idp_org_id: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* IdP that minted idp_org_id (e.g. 'workos').
|
|
22
|
+
*
|
|
23
|
+
* * `workos` - WorkOS
|
|
24
|
+
* * `vitable` - Vitable
|
|
25
|
+
*/
|
|
26
|
+
idp_provider: VitableConnect.IdpProvider | null;
|
|
27
|
+
/** Whether this organization reads across every organization. */
|
|
28
|
+
super_in: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The caller's role in this organization.
|
|
31
|
+
*
|
|
32
|
+
* * `ADMIN` - Admin
|
|
33
|
+
* * `OPERATIONS` - Operations
|
|
34
|
+
* * `SALES` - Sales
|
|
35
|
+
* * `ENROLLMENT_AGENT` - Enrollment Agent
|
|
36
|
+
*/
|
|
37
|
+
role: VitableConnect.OrganizationUserRole;
|
|
38
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* * `BROKERAGE` -
|
|
2
|
+
* * `BROKERAGE` - BROKERAGE
|
|
3
3
|
* * `TPA` - TPA
|
|
4
|
-
* * `GENERAL_AGENT` -
|
|
5
|
-
* * `CHANNEL_PARTNER` -
|
|
6
|
-
* * `CONSULTING_FIRM` -
|
|
7
|
-
* * `API_PLATFORM` -
|
|
4
|
+
* * `GENERAL_AGENT` - GENERAL_AGENT
|
|
5
|
+
* * `CHANNEL_PARTNER` - CHANNEL_PARTNER
|
|
6
|
+
* * `CONSULTING_FIRM` - CONSULTING_FIRM
|
|
7
|
+
* * `API_PLATFORM` - API_PLATFORM
|
|
8
8
|
*/
|
|
9
9
|
export declare const OrganizationType: {
|
|
10
10
|
readonly Brokerage: "BROKERAGE";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
/**
|
|
3
|
-
* * `BROKERAGE` -
|
|
3
|
+
* * `BROKERAGE` - BROKERAGE
|
|
4
4
|
* * `TPA` - TPA
|
|
5
|
-
* * `GENERAL_AGENT` -
|
|
6
|
-
* * `CHANNEL_PARTNER` -
|
|
7
|
-
* * `CONSULTING_FIRM` -
|
|
8
|
-
* * `API_PLATFORM` -
|
|
5
|
+
* * `GENERAL_AGENT` - GENERAL_AGENT
|
|
6
|
+
* * `CHANNEL_PARTNER` - CHANNEL_PARTNER
|
|
7
|
+
* * `CONSULTING_FIRM` - CONSULTING_FIRM
|
|
8
|
+
* * `API_PLATFORM` - API_PLATFORM
|
|
9
9
|
*/
|
|
10
10
|
export const OrganizationType = {
|
|
11
11
|
Brokerage: "BROKERAGE",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `ADMIN` - Admin
|
|
3
|
+
* * `OPERATIONS` - Operations
|
|
4
|
+
* * `SALES` - Sales
|
|
5
|
+
* * `ENROLLMENT_AGENT` - Enrollment Agent
|
|
6
|
+
*/
|
|
7
|
+
export declare const OrganizationUserRole: {
|
|
8
|
+
readonly Admin: "ADMIN";
|
|
9
|
+
readonly Operations: "OPERATIONS";
|
|
10
|
+
readonly Sales: "SALES";
|
|
11
|
+
readonly EnrollmentAgent: "ENROLLMENT_AGENT";
|
|
12
|
+
};
|
|
13
|
+
export type OrganizationUserRole = (typeof OrganizationUserRole)[keyof typeof OrganizationUserRole];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/**
|
|
3
|
+
* * `ADMIN` - Admin
|
|
4
|
+
* * `OPERATIONS` - Operations
|
|
5
|
+
* * `SALES` - Sales
|
|
6
|
+
* * `ENROLLMENT_AGENT` - Enrollment Agent
|
|
7
|
+
*/
|
|
8
|
+
export const OrganizationUserRole = {
|
|
9
|
+
Admin: "ADMIN",
|
|
10
|
+
Operations: "OPERATIONS",
|
|
11
|
+
Sales: "SALES",
|
|
12
|
+
EnrollmentAgent: "ENROLLMENT_AGENT",
|
|
13
|
+
};
|
|
@@ -4,7 +4,7 @@ import type * as VitableConnect from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface OrganizationsListResponse {
|
|
6
6
|
/** This page of organizations. */
|
|
7
|
-
organizations: VitableConnect.
|
|
7
|
+
organizations: VitableConnect.OrganizationMembership[];
|
|
8
8
|
/** Total number of organizations the caller belongs to. */
|
|
9
9
|
total: number;
|
|
10
10
|
}
|
|
@@ -32,7 +32,6 @@ export * from "./ContributionTier.mjs";
|
|
|
32
32
|
export * from "./CoverageTier.mjs";
|
|
33
33
|
export * from "./CreatedAfter.mjs";
|
|
34
34
|
export * from "./CreatedBefore.mjs";
|
|
35
|
-
export * from "./CreateOrganizationRequestType.mjs";
|
|
36
35
|
export * from "./DeductionDetail.mjs";
|
|
37
36
|
export * from "./DeductionFrequency.mjs";
|
|
38
37
|
export * from "./DigitalBenefitCard.mjs";
|
|
@@ -135,8 +134,10 @@ export * from "./OrganizationEmployer.mjs";
|
|
|
135
134
|
export * from "./OrganizationEmployerListResponse.mjs";
|
|
136
135
|
export * from "./OrganizationHrisProvider.mjs";
|
|
137
136
|
export * from "./OrganizationHrisProvidersResponse.mjs";
|
|
137
|
+
export * from "./OrganizationMembership.mjs";
|
|
138
138
|
export * from "./OrganizationsListResponse.mjs";
|
|
139
139
|
export * from "./OrganizationType.mjs";
|
|
140
|
+
export * from "./OrganizationUserRole.mjs";
|
|
140
141
|
export * from "./Page.mjs";
|
|
141
142
|
export * from "./Pagination.mjs";
|
|
142
143
|
export * from "./PayrollAccessSetupStatus.mjs";
|
|
@@ -32,7 +32,6 @@ export * from "./ContributionTier.mjs";
|
|
|
32
32
|
export * from "./CoverageTier.mjs";
|
|
33
33
|
export * from "./CreatedAfter.mjs";
|
|
34
34
|
export * from "./CreatedBefore.mjs";
|
|
35
|
-
export * from "./CreateOrganizationRequestType.mjs";
|
|
36
35
|
export * from "./DeductionDetail.mjs";
|
|
37
36
|
export * from "./DeductionFrequency.mjs";
|
|
38
37
|
export * from "./DigitalBenefitCard.mjs";
|
|
@@ -135,8 +134,10 @@ export * from "./OrganizationEmployer.mjs";
|
|
|
135
134
|
export * from "./OrganizationEmployerListResponse.mjs";
|
|
136
135
|
export * from "./OrganizationHrisProvider.mjs";
|
|
137
136
|
export * from "./OrganizationHrisProvidersResponse.mjs";
|
|
137
|
+
export * from "./OrganizationMembership.mjs";
|
|
138
138
|
export * from "./OrganizationsListResponse.mjs";
|
|
139
139
|
export * from "./OrganizationType.mjs";
|
|
140
|
+
export * from "./OrganizationUserRole.mjs";
|
|
140
141
|
export * from "./Page.mjs";
|
|
141
142
|
export * from "./Pagination.mjs";
|
|
142
143
|
export * from "./PayrollAccessSetupStatus.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "3.0.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "3.0.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2626,7 +2626,7 @@ const response = page.response;
|
|
|
2626
2626
|
<dl>
|
|
2627
2627
|
<dd>
|
|
2628
2628
|
|
|
2629
|
-
Lists the organizations the authenticated caller is an active member of (paginated). Returns an empty list when the caller belongs to no organizations.
|
|
2629
|
+
Lists the organizations the authenticated caller is an active member of (paginated), each with the role the caller holds in it. Returns an empty list when the caller belongs to no organizations.
|
|
2630
2630
|
</dd>
|
|
2631
2631
|
</dl>
|
|
2632
2632
|
</dd>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `BROKERAGE` - BROKERAGE
|
|
3
|
-
* * `TPA` - TPA
|
|
4
|
-
* * `GENERAL_AGENT` - GENERAL_AGENT
|
|
5
|
-
* * `CHANNEL_PARTNER` - CHANNEL_PARTNER
|
|
6
|
-
* * `CONSULTING_FIRM` - CONSULTING_FIRM
|
|
7
|
-
* * `API_PLATFORM` - API_PLATFORM
|
|
8
|
-
*/
|
|
9
|
-
export declare const CreateOrganizationRequestType: {
|
|
10
|
-
readonly Brokerage: "BROKERAGE";
|
|
11
|
-
readonly Tpa: "TPA";
|
|
12
|
-
readonly GeneralAgent: "GENERAL_AGENT";
|
|
13
|
-
readonly ChannelPartner: "CHANNEL_PARTNER";
|
|
14
|
-
readonly ConsultingFirm: "CONSULTING_FIRM";
|
|
15
|
-
readonly ApiPlatform: "API_PLATFORM";
|
|
16
|
-
};
|
|
17
|
-
export type CreateOrganizationRequestType = (typeof CreateOrganizationRequestType)[keyof typeof CreateOrganizationRequestType];
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.CreateOrganizationRequestType = void 0;
|
|
5
|
-
/**
|
|
6
|
-
* * `BROKERAGE` - BROKERAGE
|
|
7
|
-
* * `TPA` - TPA
|
|
8
|
-
* * `GENERAL_AGENT` - GENERAL_AGENT
|
|
9
|
-
* * `CHANNEL_PARTNER` - CHANNEL_PARTNER
|
|
10
|
-
* * `CONSULTING_FIRM` - CONSULTING_FIRM
|
|
11
|
-
* * `API_PLATFORM` - API_PLATFORM
|
|
12
|
-
*/
|
|
13
|
-
exports.CreateOrganizationRequestType = {
|
|
14
|
-
Brokerage: "BROKERAGE",
|
|
15
|
-
Tpa: "TPA",
|
|
16
|
-
GeneralAgent: "GENERAL_AGENT",
|
|
17
|
-
ChannelPartner: "CHANNEL_PARTNER",
|
|
18
|
-
ConsultingFirm: "CONSULTING_FIRM",
|
|
19
|
-
ApiPlatform: "API_PLATFORM",
|
|
20
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `BROKERAGE` - BROKERAGE
|
|
3
|
-
* * `TPA` - TPA
|
|
4
|
-
* * `GENERAL_AGENT` - GENERAL_AGENT
|
|
5
|
-
* * `CHANNEL_PARTNER` - CHANNEL_PARTNER
|
|
6
|
-
* * `CONSULTING_FIRM` - CONSULTING_FIRM
|
|
7
|
-
* * `API_PLATFORM` - API_PLATFORM
|
|
8
|
-
*/
|
|
9
|
-
export declare const CreateOrganizationRequestType: {
|
|
10
|
-
readonly Brokerage: "BROKERAGE";
|
|
11
|
-
readonly Tpa: "TPA";
|
|
12
|
-
readonly GeneralAgent: "GENERAL_AGENT";
|
|
13
|
-
readonly ChannelPartner: "CHANNEL_PARTNER";
|
|
14
|
-
readonly ConsultingFirm: "CONSULTING_FIRM";
|
|
15
|
-
readonly ApiPlatform: "API_PLATFORM";
|
|
16
|
-
};
|
|
17
|
-
export type CreateOrganizationRequestType = (typeof CreateOrganizationRequestType)[keyof typeof CreateOrganizationRequestType];
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/**
|
|
3
|
-
* * `BROKERAGE` - BROKERAGE
|
|
4
|
-
* * `TPA` - TPA
|
|
5
|
-
* * `GENERAL_AGENT` - GENERAL_AGENT
|
|
6
|
-
* * `CHANNEL_PARTNER` - CHANNEL_PARTNER
|
|
7
|
-
* * `CONSULTING_FIRM` - CONSULTING_FIRM
|
|
8
|
-
* * `API_PLATFORM` - API_PLATFORM
|
|
9
|
-
*/
|
|
10
|
-
export const CreateOrganizationRequestType = {
|
|
11
|
-
Brokerage: "BROKERAGE",
|
|
12
|
-
Tpa: "TPA",
|
|
13
|
-
GeneralAgent: "GENERAL_AGENT",
|
|
14
|
-
ChannelPartner: "CHANNEL_PARTNER",
|
|
15
|
-
ConsultingFirm: "CONSULTING_FIRM",
|
|
16
|
-
ApiPlatform: "API_PLATFORM",
|
|
17
|
-
};
|