@tryfinch/finch-api 6.28.0 → 6.29.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/CHANGELOG.md +23 -0
- package/package.json +1 -1
- package/resources/hris/pay-statements.d.ts +1 -1
- package/resources/hris/pay-statements.d.ts.map +1 -1
- package/resources/sandbox/payment.d.ts +1 -1
- package/resources/sandbox/payment.d.ts.map +1 -1
- package/src/_shims/auto/runtime-bun.ts +1 -1
- package/src/_shims/auto/runtime-node.ts +1 -1
- package/src/_shims/auto/runtime.ts +1 -1
- package/src/_shims/auto/types-node.ts +1 -1
- package/src/_shims/bun-runtime.ts +2 -2
- package/src/_shims/index.d.ts +3 -3
- package/src/_shims/index.mjs +1 -1
- package/src/_shims/node-runtime.ts +3 -3
- package/src/_shims/registry.ts +1 -1
- package/src/_shims/web-runtime.ts +3 -3
- package/src/core.ts +5 -5
- package/src/error.ts +1 -1
- package/src/index.ts +20 -20
- package/src/internal/qs/formats.ts +1 -1
- package/src/internal/qs/index.ts +3 -3
- package/src/internal/qs/stringify.ts +3 -3
- package/src/internal/qs/utils.ts +2 -2
- package/src/pagination.ts +3 -3
- package/src/resource.ts +1 -1
- package/src/resources/access-tokens.ts +2 -2
- package/src/resources/account.ts +3 -3
- package/src/resources/connect/connect.ts +3 -3
- package/src/resources/connect/index.ts +2 -2
- package/src/resources/connect/sessions.ts +2 -2
- package/src/resources/connect.ts +1 -1
- package/src/resources/hris/benefits/benefits.ts +8 -8
- package/src/resources/hris/benefits/index.ts +2 -2
- package/src/resources/hris/benefits/individuals.ts +5 -5
- package/src/resources/hris/benefits.ts +1 -1
- package/src/resources/hris/company/company.ts +5 -5
- package/src/resources/hris/company/index.ts +2 -2
- package/src/resources/hris/company/pay-statement-item/index.ts +2 -2
- package/src/resources/hris/company/pay-statement-item/pay-statement-item.ts +6 -6
- package/src/resources/hris/company/pay-statement-item/rules.ts +4 -4
- package/src/resources/hris/company/pay-statement-item.ts +1 -1
- package/src/resources/hris/company.ts +1 -1
- package/src/resources/hris/directory.ts +4 -4
- package/src/resources/hris/documents.ts +4 -4
- package/src/resources/hris/employments.ts +4 -4
- package/src/resources/hris/hris.ts +17 -17
- package/src/resources/hris/index.ts +9 -9
- package/src/resources/hris/individuals.ts +5 -5
- package/src/resources/hris/pay-statements.ts +7 -7
- package/src/resources/hris/payments.ts +4 -4
- package/src/resources/hris.ts +1 -1
- package/src/resources/index.ts +11 -11
- package/src/resources/jobs/automated.ts +3 -3
- package/src/resources/jobs/index.ts +3 -3
- package/src/resources/jobs/jobs.ts +5 -5
- package/src/resources/jobs/manual.ts +2 -2
- package/src/resources/jobs.ts +1 -1
- package/src/resources/payroll/index.ts +2 -2
- package/src/resources/payroll/pay-groups.ts +4 -4
- package/src/resources/payroll/payroll.ts +3 -3
- package/src/resources/payroll.ts +1 -1
- package/src/resources/providers.ts +4 -4
- package/src/resources/request-forwarding.ts +2 -2
- package/src/resources/sandbox/company.ts +3 -3
- package/src/resources/sandbox/connections/accounts.ts +4 -4
- package/src/resources/sandbox/connections/connections.ts +4 -4
- package/src/resources/sandbox/connections/index.ts +2 -2
- package/src/resources/sandbox/connections.ts +1 -1
- package/src/resources/sandbox/directory.ts +4 -4
- package/src/resources/sandbox/employment.ts +4 -4
- package/src/resources/sandbox/index.ts +8 -8
- package/src/resources/sandbox/individual.ts +4 -4
- package/src/resources/sandbox/jobs/configuration.ts +2 -2
- package/src/resources/sandbox/jobs/index.ts +2 -2
- package/src/resources/sandbox/jobs/jobs.ts +4 -4
- package/src/resources/sandbox/jobs.ts +1 -1
- package/src/resources/sandbox/payment.ts +6 -6
- package/src/resources/sandbox/sandbox.ts +15 -15
- package/src/resources/sandbox.ts +1 -1
- package/src/resources/webhooks.ts +4 -4
- package/src/resources.ts +1 -1
- package/src/shims/node.ts +3 -3
- package/src/shims/web.ts +3 -3
- package/src/uploads.ts +4 -4
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from
|
|
4
|
-
import { isRequestOptions } from
|
|
5
|
-
import * as Core from
|
|
6
|
-
import * as HRISAPI from
|
|
7
|
-
import * as BenefitsAPI from
|
|
3
|
+
import { APIResource } from "../../resource.js";
|
|
4
|
+
import { isRequestOptions } from "../../core.js";
|
|
5
|
+
import * as Core from "../../core.js";
|
|
6
|
+
import * as HRISAPI from "../hris/hris.js";
|
|
7
|
+
import * as BenefitsAPI from "../hris/benefits/benefits.js";
|
|
8
8
|
|
|
9
9
|
export class Payment extends APIResource {
|
|
10
10
|
/**
|
|
@@ -88,7 +88,7 @@ export namespace PaymentCreateParams {
|
|
|
88
88
|
/**
|
|
89
89
|
* The payment method.
|
|
90
90
|
*/
|
|
91
|
-
payment_method?: 'check' | 'direct_deposit' | null;
|
|
91
|
+
payment_method?: 'check' | 'direct_deposit' | 'other' | null;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* The array of taxes objects associated with this pay statement.
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from
|
|
4
|
-
import * as CompanyAPI from
|
|
5
|
-
import { Company, CompanyUpdateParams, CompanyUpdateResponse } from
|
|
6
|
-
import * as DirectoryAPI from
|
|
7
|
-
import { Directory, DirectoryCreateParams, DirectoryCreateResponse } from
|
|
8
|
-
import * as EmploymentAPI from
|
|
9
|
-
import { Employment, EmploymentUpdateParams, EmploymentUpdateResponse } from
|
|
10
|
-
import * as IndividualAPI from
|
|
11
|
-
import { Individual, IndividualUpdateParams, IndividualUpdateResponse } from
|
|
12
|
-
import * as PaymentAPI from
|
|
13
|
-
import { Payment, PaymentCreateParams, PaymentCreateResponse } from
|
|
14
|
-
import * as ConnectionsAPI from
|
|
15
|
-
import { ConnectionCreateParams, ConnectionCreateResponse, Connections } from
|
|
16
|
-
import * as JobsAPI from
|
|
17
|
-
import { JobCreateParams, JobCreateResponse, Jobs } from
|
|
3
|
+
import { APIResource } from "../../resource.js";
|
|
4
|
+
import * as CompanyAPI from "./company.js";
|
|
5
|
+
import { Company, CompanyUpdateParams, CompanyUpdateResponse } from "./company.js";
|
|
6
|
+
import * as DirectoryAPI from "./directory.js";
|
|
7
|
+
import { Directory, DirectoryCreateParams, DirectoryCreateResponse } from "./directory.js";
|
|
8
|
+
import * as EmploymentAPI from "./employment.js";
|
|
9
|
+
import { Employment, EmploymentUpdateParams, EmploymentUpdateResponse } from "./employment.js";
|
|
10
|
+
import * as IndividualAPI from "./individual.js";
|
|
11
|
+
import { Individual, IndividualUpdateParams, IndividualUpdateResponse } from "./individual.js";
|
|
12
|
+
import * as PaymentAPI from "./payment.js";
|
|
13
|
+
import { Payment, PaymentCreateParams, PaymentCreateResponse } from "./payment.js";
|
|
14
|
+
import * as ConnectionsAPI from "./connections/connections.js";
|
|
15
|
+
import { ConnectionCreateParams, ConnectionCreateResponse, Connections } from "./connections/connections.js";
|
|
16
|
+
import * as JobsAPI from "./jobs/jobs.js";
|
|
17
|
+
import { JobCreateParams, JobCreateResponse, Jobs } from "./jobs/jobs.js";
|
|
18
18
|
|
|
19
19
|
export class Sandbox extends APIResource {
|
|
20
20
|
connections: ConnectionsAPI.Connections = new ConnectionsAPI.Connections(this._client);
|
package/src/resources/sandbox.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from
|
|
4
|
-
import * as Shared from
|
|
5
|
-
import * as BenefitsAPI from
|
|
6
|
-
import { fromBase64, getRequiredHeader, HeadersLike, toBase64 } from
|
|
3
|
+
import { APIResource } from "../resource.js";
|
|
4
|
+
import * as Shared from "./shared.js";
|
|
5
|
+
import * as BenefitsAPI from "./hris/benefits/benefits.js";
|
|
6
|
+
import { fromBase64, getRequiredHeader, HeadersLike, toBase64 } from "../core.js";
|
|
7
7
|
import { hmac } from '@noble/hashes/hmac';
|
|
8
8
|
import { sha256 } from '@noble/hashes/sha2';
|
|
9
9
|
|
package/src/resources.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./resources/index.js";
|
package/src/shims/node.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
|
-
import * as types from
|
|
3
|
-
import { setShims } from
|
|
4
|
-
import { getRuntime } from
|
|
2
|
+
import * as types from "../_shims/node-types.js";
|
|
3
|
+
import { setShims } from "../_shims/registry.js";
|
|
4
|
+
import { getRuntime } from "../_shims/node-runtime.js";
|
|
5
5
|
setShims(getRuntime());
|
|
6
6
|
|
|
7
7
|
declare module '../_shims/manual-types' {
|
package/src/shims/web.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
|
-
import * as types from
|
|
3
|
-
import { setShims } from
|
|
4
|
-
import { getRuntime } from
|
|
2
|
+
import * as types from "../_shims/web-types.js";
|
|
3
|
+
import { setShims } from "../_shims/registry.js";
|
|
4
|
+
import { getRuntime } from "../_shims/web-runtime.js";
|
|
5
5
|
setShims(getRuntime({ manuallyImported: true }));
|
|
6
6
|
|
|
7
7
|
declare module '../_shims/manual-types' {
|
package/src/uploads.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type RequestOptions } from
|
|
1
|
+
import { type RequestOptions } from "./core.js";
|
|
2
2
|
import {
|
|
3
3
|
FormData,
|
|
4
4
|
File,
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
getMultipartRequestOptions,
|
|
8
8
|
type FsReadStream,
|
|
9
9
|
isFsReadStream,
|
|
10
|
-
} from
|
|
11
|
-
import { MultipartBody } from
|
|
12
|
-
export { fileFromPath } from
|
|
10
|
+
} from "./_shims/index.js";
|
|
11
|
+
import { MultipartBody } from "./_shims/MultipartBody.js";
|
|
12
|
+
export { fileFromPath } from "./_shims/index.js";
|
|
13
13
|
|
|
14
14
|
type BlobLikePart = string | ArrayBuffer | ArrayBufferView | BlobLike | Uint8Array | DataView;
|
|
15
15
|
export type BlobPart = string | ArrayBuffer | ArrayBufferView | Blob | Uint8Array | DataView;
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.29.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.29.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.29.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|