@vitable-inc/vitable-connect 4.1.0 → 5.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/employers/client/requests/SubmitPayrollAccessSetupRequest.d.ts +2 -2
- package/dist/cjs/api/types/BenefitPlanNetwork.d.ts +1 -1
- package/dist/cjs/api/types/DetailedAddress.d.ts +12 -0
- package/dist/cjs/api/types/DetailedAddress.js +3 -0
- package/dist/cjs/api/types/{AccessMethod.d.ts → PayrollAccessMethod.d.ts} +2 -2
- package/dist/cjs/api/types/{AccessMethod.js → PayrollAccessMethod.js} +2 -2
- package/dist/cjs/api/types/index.d.ts +2 -2
- package/dist/cjs/api/types/index.js +2 -2
- 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/employers/client/requests/SubmitPayrollAccessSetupRequest.d.mts +2 -2
- package/dist/esm/api/types/BenefitPlanNetwork.d.mts +1 -1
- package/dist/esm/api/types/DetailedAddress.d.mts +12 -0
- package/dist/esm/api/types/DetailedAddress.mjs +2 -0
- package/dist/esm/api/types/{AccessMethod.d.mts → PayrollAccessMethod.d.mts} +2 -2
- package/dist/esm/api/types/{AccessMethod.mjs → PayrollAccessMethod.mjs} +1 -1
- package/dist/esm/api/types/index.d.mts +2 -2
- package/dist/esm/api/types/index.mjs +2 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/types/AdditionalAccessMethod.d.ts +0 -9
- package/dist/cjs/api/types/AdditionalAccessMethod.js +0 -12
- package/dist/esm/api/types/AdditionalAccessMethod.d.mts +0 -9
- package/dist/esm/api/types/AdditionalAccessMethod.mjs +0 -9
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": "5.0.0",
|
|
48
|
+
"User-Agent": "@vitable-inc/vitable-connect/5.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);
|
package/dist/cjs/api/resources/employers/client/requests/SubmitPayrollAccessSetupRequest.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export interface SubmitPayrollAccessSetupRequest {
|
|
|
36
36
|
is_controlled_group: boolean;
|
|
37
37
|
/** Whether this payroll system also covers other EINs in the controlled group. */
|
|
38
38
|
same_payroll_covers_other_eins?: boolean | null;
|
|
39
|
-
access_method: VitableConnect.
|
|
39
|
+
access_method: VitableConnect.PayrollAccessMethod;
|
|
40
40
|
/** Sign-in URL for the payroll system. */
|
|
41
41
|
login_url?: string | null;
|
|
42
42
|
/** Username Vitable should use to access the payroll system. */
|
|
@@ -50,7 +50,7 @@ export interface SubmitPayrollAccessSetupRequest {
|
|
|
50
50
|
/** Whether a second payroll system is in use. When `true`, supply the `additional_*` fields below. */
|
|
51
51
|
has_additional_payroll_system: boolean;
|
|
52
52
|
/** How Vitable will access the second payroll system. */
|
|
53
|
-
additional_access_method?: VitableConnect.
|
|
53
|
+
additional_access_method?: VitableConnect.PayrollAccessMethod | null;
|
|
54
54
|
/** Sign-in URL for the second payroll system. */
|
|
55
55
|
additional_login_url?: string | null;
|
|
56
56
|
/** Username Vitable should use for the second payroll system. */
|
|
@@ -7,7 +7,7 @@ export interface BenefitPlanNetwork {
|
|
|
7
7
|
/** URL of the network's logo, or `null` if none is on file. */
|
|
8
8
|
logo: string | null;
|
|
9
9
|
/** Postal address of the provider network. */
|
|
10
|
-
address: VitableConnect.
|
|
10
|
+
address: VitableConnect.DetailedAddress;
|
|
11
11
|
/** Network's EDI */
|
|
12
12
|
edi?: (string | null) | undefined;
|
|
13
13
|
/** Website of the network */
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as VitableConnect from "../index.js";
|
|
2
|
+
export interface DetailedAddress {
|
|
3
|
+
address_line_1: string;
|
|
4
|
+
address_line_2?: (string | null) | undefined;
|
|
5
|
+
city: string;
|
|
6
|
+
zipcode: string;
|
|
7
|
+
state: VitableConnect.State;
|
|
8
|
+
latitude?: (number | null) | undefined;
|
|
9
|
+
longitude?: (number | null) | undefined;
|
|
10
|
+
county_fips_code?: (string | null) | undefined;
|
|
11
|
+
county_name?: (string | null) | undefined;
|
|
12
|
+
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* * `SELF_SETUP` - SELF_SETUP
|
|
3
3
|
* * `NEEDS_HELP` - NEEDS_HELP
|
|
4
4
|
*/
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const PayrollAccessMethod: {
|
|
6
6
|
readonly SelfSetup: "SELF_SETUP";
|
|
7
7
|
readonly NeedsHelp: "NEEDS_HELP";
|
|
8
8
|
};
|
|
9
|
-
export type
|
|
9
|
+
export type PayrollAccessMethod = (typeof PayrollAccessMethod)[keyof typeof PayrollAccessMethod];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.PayrollAccessMethod = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* * `SELF_SETUP` - SELF_SETUP
|
|
7
7
|
* * `NEEDS_HELP` - NEEDS_HELP
|
|
8
8
|
*/
|
|
9
|
-
exports.
|
|
9
|
+
exports.PayrollAccessMethod = {
|
|
10
10
|
SelfSetup: "SELF_SETUP",
|
|
11
11
|
NeedsHelp: "NEEDS_HELP",
|
|
12
12
|
};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export * from "./AccessMethod.js";
|
|
2
1
|
export * from "./AccessTokenResponse.js";
|
|
3
|
-
export * from "./AdditionalAccessMethod.js";
|
|
4
2
|
export * from "./Address.js";
|
|
5
3
|
export * from "./AddressRequest.js";
|
|
6
4
|
export * from "./BenefitFamily.js";
|
|
@@ -34,6 +32,7 @@ export * from "./CreatedAfter.js";
|
|
|
34
32
|
export * from "./CreatedBefore.js";
|
|
35
33
|
export * from "./DeductionDetail.js";
|
|
36
34
|
export * from "./DeductionFrequency.js";
|
|
35
|
+
export * from "./DetailedAddress.js";
|
|
37
36
|
export * from "./DigitalBenefitCard.js";
|
|
38
37
|
export * from "./ElectionStatusItem.js";
|
|
39
38
|
export * from "./EligibilityPolicy.js";
|
|
@@ -139,6 +138,7 @@ export * from "./OrganizationType.js";
|
|
|
139
138
|
export * from "./OrganizationUserRole.js";
|
|
140
139
|
export * from "./Page.js";
|
|
141
140
|
export * from "./Pagination.js";
|
|
141
|
+
export * from "./PayrollAccessMethod.js";
|
|
142
142
|
export * from "./PayrollAccessSetupStatus.js";
|
|
143
143
|
export * from "./PayrollAccessSetupStatusResponse.js";
|
|
144
144
|
export * from "./PayrollDeductionStatement.js";
|
|
@@ -14,9 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./AccessMethod.js"), exports);
|
|
18
17
|
__exportStar(require("./AccessTokenResponse.js"), exports);
|
|
19
|
-
__exportStar(require("./AdditionalAccessMethod.js"), exports);
|
|
20
18
|
__exportStar(require("./Address.js"), exports);
|
|
21
19
|
__exportStar(require("./AddressRequest.js"), exports);
|
|
22
20
|
__exportStar(require("./BenefitFamily.js"), exports);
|
|
@@ -50,6 +48,7 @@ __exportStar(require("./CreatedAfter.js"), exports);
|
|
|
50
48
|
__exportStar(require("./CreatedBefore.js"), exports);
|
|
51
49
|
__exportStar(require("./DeductionDetail.js"), exports);
|
|
52
50
|
__exportStar(require("./DeductionFrequency.js"), exports);
|
|
51
|
+
__exportStar(require("./DetailedAddress.js"), exports);
|
|
53
52
|
__exportStar(require("./DigitalBenefitCard.js"), exports);
|
|
54
53
|
__exportStar(require("./ElectionStatusItem.js"), exports);
|
|
55
54
|
__exportStar(require("./EligibilityPolicy.js"), exports);
|
|
@@ -155,6 +154,7 @@ __exportStar(require("./OrganizationType.js"), exports);
|
|
|
155
154
|
__exportStar(require("./OrganizationUserRole.js"), exports);
|
|
156
155
|
__exportStar(require("./Page.js"), exports);
|
|
157
156
|
__exportStar(require("./Pagination.js"), exports);
|
|
157
|
+
__exportStar(require("./PayrollAccessMethod.js"), exports);
|
|
158
158
|
__exportStar(require("./PayrollAccessSetupStatus.js"), exports);
|
|
159
159
|
__exportStar(require("./PayrollAccessSetupStatusResponse.js"), exports);
|
|
160
160
|
__exportStar(require("./PayrollDeductionStatement.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "5.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": "5.0.0",
|
|
11
|
+
"User-Agent": "@vitable-inc/vitable-connect/5.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);
|
package/dist/esm/api/resources/employers/client/requests/SubmitPayrollAccessSetupRequest.d.mts
CHANGED
|
@@ -36,7 +36,7 @@ export interface SubmitPayrollAccessSetupRequest {
|
|
|
36
36
|
is_controlled_group: boolean;
|
|
37
37
|
/** Whether this payroll system also covers other EINs in the controlled group. */
|
|
38
38
|
same_payroll_covers_other_eins?: boolean | null;
|
|
39
|
-
access_method: VitableConnect.
|
|
39
|
+
access_method: VitableConnect.PayrollAccessMethod;
|
|
40
40
|
/** Sign-in URL for the payroll system. */
|
|
41
41
|
login_url?: string | null;
|
|
42
42
|
/** Username Vitable should use to access the payroll system. */
|
|
@@ -50,7 +50,7 @@ export interface SubmitPayrollAccessSetupRequest {
|
|
|
50
50
|
/** Whether a second payroll system is in use. When `true`, supply the `additional_*` fields below. */
|
|
51
51
|
has_additional_payroll_system: boolean;
|
|
52
52
|
/** How Vitable will access the second payroll system. */
|
|
53
|
-
additional_access_method?: VitableConnect.
|
|
53
|
+
additional_access_method?: VitableConnect.PayrollAccessMethod | null;
|
|
54
54
|
/** Sign-in URL for the second payroll system. */
|
|
55
55
|
additional_login_url?: string | null;
|
|
56
56
|
/** Username Vitable should use for the second payroll system. */
|
|
@@ -7,7 +7,7 @@ export interface BenefitPlanNetwork {
|
|
|
7
7
|
/** URL of the network's logo, or `null` if none is on file. */
|
|
8
8
|
logo: string | null;
|
|
9
9
|
/** Postal address of the provider network. */
|
|
10
|
-
address: VitableConnect.
|
|
10
|
+
address: VitableConnect.DetailedAddress;
|
|
11
11
|
/** Network's EDI */
|
|
12
12
|
edi?: (string | null) | undefined;
|
|
13
13
|
/** Website of the network */
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as VitableConnect from "../index.mjs";
|
|
2
|
+
export interface DetailedAddress {
|
|
3
|
+
address_line_1: string;
|
|
4
|
+
address_line_2?: (string | null) | undefined;
|
|
5
|
+
city: string;
|
|
6
|
+
zipcode: string;
|
|
7
|
+
state: VitableConnect.State;
|
|
8
|
+
latitude?: (number | null) | undefined;
|
|
9
|
+
longitude?: (number | null) | undefined;
|
|
10
|
+
county_fips_code?: (string | null) | undefined;
|
|
11
|
+
county_name?: (string | null) | undefined;
|
|
12
|
+
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* * `SELF_SETUP` - SELF_SETUP
|
|
3
3
|
* * `NEEDS_HELP` - NEEDS_HELP
|
|
4
4
|
*/
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const PayrollAccessMethod: {
|
|
6
6
|
readonly SelfSetup: "SELF_SETUP";
|
|
7
7
|
readonly NeedsHelp: "NEEDS_HELP";
|
|
8
8
|
};
|
|
9
|
-
export type
|
|
9
|
+
export type PayrollAccessMethod = (typeof PayrollAccessMethod)[keyof typeof PayrollAccessMethod];
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export * from "./AccessMethod.mjs";
|
|
2
1
|
export * from "./AccessTokenResponse.mjs";
|
|
3
|
-
export * from "./AdditionalAccessMethod.mjs";
|
|
4
2
|
export * from "./Address.mjs";
|
|
5
3
|
export * from "./AddressRequest.mjs";
|
|
6
4
|
export * from "./BenefitFamily.mjs";
|
|
@@ -34,6 +32,7 @@ export * from "./CreatedAfter.mjs";
|
|
|
34
32
|
export * from "./CreatedBefore.mjs";
|
|
35
33
|
export * from "./DeductionDetail.mjs";
|
|
36
34
|
export * from "./DeductionFrequency.mjs";
|
|
35
|
+
export * from "./DetailedAddress.mjs";
|
|
37
36
|
export * from "./DigitalBenefitCard.mjs";
|
|
38
37
|
export * from "./ElectionStatusItem.mjs";
|
|
39
38
|
export * from "./EligibilityPolicy.mjs";
|
|
@@ -139,6 +138,7 @@ export * from "./OrganizationType.mjs";
|
|
|
139
138
|
export * from "./OrganizationUserRole.mjs";
|
|
140
139
|
export * from "./Page.mjs";
|
|
141
140
|
export * from "./Pagination.mjs";
|
|
141
|
+
export * from "./PayrollAccessMethod.mjs";
|
|
142
142
|
export * from "./PayrollAccessSetupStatus.mjs";
|
|
143
143
|
export * from "./PayrollAccessSetupStatusResponse.mjs";
|
|
144
144
|
export * from "./PayrollDeductionStatement.mjs";
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export * from "./AccessMethod.mjs";
|
|
2
1
|
export * from "./AccessTokenResponse.mjs";
|
|
3
|
-
export * from "./AdditionalAccessMethod.mjs";
|
|
4
2
|
export * from "./Address.mjs";
|
|
5
3
|
export * from "./AddressRequest.mjs";
|
|
6
4
|
export * from "./BenefitFamily.mjs";
|
|
@@ -34,6 +32,7 @@ export * from "./CreatedAfter.mjs";
|
|
|
34
32
|
export * from "./CreatedBefore.mjs";
|
|
35
33
|
export * from "./DeductionDetail.mjs";
|
|
36
34
|
export * from "./DeductionFrequency.mjs";
|
|
35
|
+
export * from "./DetailedAddress.mjs";
|
|
37
36
|
export * from "./DigitalBenefitCard.mjs";
|
|
38
37
|
export * from "./ElectionStatusItem.mjs";
|
|
39
38
|
export * from "./EligibilityPolicy.mjs";
|
|
@@ -139,6 +138,7 @@ export * from "./OrganizationType.mjs";
|
|
|
139
138
|
export * from "./OrganizationUserRole.mjs";
|
|
140
139
|
export * from "./Page.mjs";
|
|
141
140
|
export * from "./Pagination.mjs";
|
|
141
|
+
export * from "./PayrollAccessMethod.mjs";
|
|
142
142
|
export * from "./PayrollAccessSetupStatus.mjs";
|
|
143
143
|
export * from "./PayrollAccessSetupStatusResponse.mjs";
|
|
144
144
|
export * from "./PayrollDeductionStatement.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "5.0.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "5.0.0";
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `SELF_SETUP` - SELF_SETUP
|
|
3
|
-
* * `NEEDS_HELP` - NEEDS_HELP
|
|
4
|
-
*/
|
|
5
|
-
export declare const AdditionalAccessMethod: {
|
|
6
|
-
readonly SelfSetup: "SELF_SETUP";
|
|
7
|
-
readonly NeedsHelp: "NEEDS_HELP";
|
|
8
|
-
};
|
|
9
|
-
export type AdditionalAccessMethod = (typeof AdditionalAccessMethod)[keyof typeof AdditionalAccessMethod];
|
|
@@ -1,12 +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.AdditionalAccessMethod = void 0;
|
|
5
|
-
/**
|
|
6
|
-
* * `SELF_SETUP` - SELF_SETUP
|
|
7
|
-
* * `NEEDS_HELP` - NEEDS_HELP
|
|
8
|
-
*/
|
|
9
|
-
exports.AdditionalAccessMethod = {
|
|
10
|
-
SelfSetup: "SELF_SETUP",
|
|
11
|
-
NeedsHelp: "NEEDS_HELP",
|
|
12
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `SELF_SETUP` - SELF_SETUP
|
|
3
|
-
* * `NEEDS_HELP` - NEEDS_HELP
|
|
4
|
-
*/
|
|
5
|
-
export declare const AdditionalAccessMethod: {
|
|
6
|
-
readonly SelfSetup: "SELF_SETUP";
|
|
7
|
-
readonly NeedsHelp: "NEEDS_HELP";
|
|
8
|
-
};
|
|
9
|
-
export type AdditionalAccessMethod = (typeof AdditionalAccessMethod)[keyof typeof AdditionalAccessMethod];
|