@tryfinch/finch-api 6.28.0 → 6.30.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.
Files changed (90) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/package.json +1 -1
  3. package/resources/hris/employments.d.ts +4 -4
  4. package/resources/hris/employments.d.ts.map +1 -1
  5. package/resources/hris/pay-statements.d.ts +1 -1
  6. package/resources/hris/pay-statements.d.ts.map +1 -1
  7. package/resources/sandbox/payment.d.ts +1 -1
  8. package/resources/sandbox/payment.d.ts.map +1 -1
  9. package/src/_shims/auto/runtime-bun.ts +1 -1
  10. package/src/_shims/auto/runtime-node.ts +1 -1
  11. package/src/_shims/auto/runtime.ts +1 -1
  12. package/src/_shims/auto/types-node.ts +1 -1
  13. package/src/_shims/bun-runtime.ts +2 -2
  14. package/src/_shims/index.d.ts +3 -3
  15. package/src/_shims/index.mjs +1 -1
  16. package/src/_shims/node-runtime.ts +3 -3
  17. package/src/_shims/registry.ts +1 -1
  18. package/src/_shims/web-runtime.ts +3 -3
  19. package/src/core.ts +5 -5
  20. package/src/error.ts +1 -1
  21. package/src/index.ts +20 -20
  22. package/src/internal/qs/formats.ts +1 -1
  23. package/src/internal/qs/index.ts +3 -3
  24. package/src/internal/qs/stringify.ts +3 -3
  25. package/src/internal/qs/utils.ts +2 -2
  26. package/src/pagination.ts +3 -3
  27. package/src/resource.ts +1 -1
  28. package/src/resources/access-tokens.ts +2 -2
  29. package/src/resources/account.ts +3 -3
  30. package/src/resources/connect/connect.ts +3 -3
  31. package/src/resources/connect/index.ts +2 -2
  32. package/src/resources/connect/sessions.ts +2 -2
  33. package/src/resources/connect.ts +1 -1
  34. package/src/resources/hris/benefits/benefits.ts +8 -8
  35. package/src/resources/hris/benefits/index.ts +2 -2
  36. package/src/resources/hris/benefits/individuals.ts +5 -5
  37. package/src/resources/hris/benefits.ts +1 -1
  38. package/src/resources/hris/company/company.ts +5 -5
  39. package/src/resources/hris/company/index.ts +2 -2
  40. package/src/resources/hris/company/pay-statement-item/index.ts +2 -2
  41. package/src/resources/hris/company/pay-statement-item/pay-statement-item.ts +6 -6
  42. package/src/resources/hris/company/pay-statement-item/rules.ts +4 -4
  43. package/src/resources/hris/company/pay-statement-item.ts +1 -1
  44. package/src/resources/hris/company.ts +1 -1
  45. package/src/resources/hris/directory.ts +4 -4
  46. package/src/resources/hris/documents.ts +4 -4
  47. package/src/resources/hris/employments.ts +9 -9
  48. package/src/resources/hris/hris.ts +17 -17
  49. package/src/resources/hris/index.ts +9 -9
  50. package/src/resources/hris/individuals.ts +5 -5
  51. package/src/resources/hris/pay-statements.ts +7 -7
  52. package/src/resources/hris/payments.ts +4 -4
  53. package/src/resources/hris.ts +1 -1
  54. package/src/resources/index.ts +11 -11
  55. package/src/resources/jobs/automated.ts +3 -3
  56. package/src/resources/jobs/index.ts +3 -3
  57. package/src/resources/jobs/jobs.ts +5 -5
  58. package/src/resources/jobs/manual.ts +2 -2
  59. package/src/resources/jobs.ts +1 -1
  60. package/src/resources/payroll/index.ts +2 -2
  61. package/src/resources/payroll/pay-groups.ts +4 -4
  62. package/src/resources/payroll/payroll.ts +3 -3
  63. package/src/resources/payroll.ts +1 -1
  64. package/src/resources/providers.ts +4 -4
  65. package/src/resources/request-forwarding.ts +2 -2
  66. package/src/resources/sandbox/company.ts +3 -3
  67. package/src/resources/sandbox/connections/accounts.ts +4 -4
  68. package/src/resources/sandbox/connections/connections.ts +4 -4
  69. package/src/resources/sandbox/connections/index.ts +2 -2
  70. package/src/resources/sandbox/connections.ts +1 -1
  71. package/src/resources/sandbox/directory.ts +4 -4
  72. package/src/resources/sandbox/employment.ts +4 -4
  73. package/src/resources/sandbox/index.ts +8 -8
  74. package/src/resources/sandbox/individual.ts +4 -4
  75. package/src/resources/sandbox/jobs/configuration.ts +2 -2
  76. package/src/resources/sandbox/jobs/index.ts +2 -2
  77. package/src/resources/sandbox/jobs/jobs.ts +4 -4
  78. package/src/resources/sandbox/jobs.ts +1 -1
  79. package/src/resources/sandbox/payment.ts +6 -6
  80. package/src/resources/sandbox/sandbox.ts +15 -15
  81. package/src/resources/sandbox.ts +1 -1
  82. package/src/resources/webhooks.ts +4 -4
  83. package/src/resources.ts +1 -1
  84. package/src/shims/node.ts +3 -3
  85. package/src/shims/web.ts +3 -3
  86. package/src/uploads.ts +4 -4
  87. package/src/version.ts +1 -1
  88. package/version.d.ts +1 -1
  89. package/version.js +1 -1
  90. package/version.mjs +1 -1
@@ -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 '../../resource';
4
- import { isRequestOptions } from '../../core';
5
- import * as Core from '../../core';
6
- import * as HRISAPI from '../hris/hris';
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
7
 
8
8
  export class Individual extends APIResource {
9
9
  /**
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../../../resource';
4
- import * as Core from '../../../core';
3
+ import { APIResource } from "../../../resource.js";
4
+ import * as Core from "../../../core.js";
5
5
 
6
6
  export class Configuration extends APIResource {
7
7
  /**
@@ -5,5 +5,5 @@ export {
5
5
  type SandboxJobConfiguration,
6
6
  type ConfigurationRetrieveResponse,
7
7
  type ConfigurationUpdateParams,
8
- } from './configuration';
9
- export { Jobs, type JobCreateResponse, type JobCreateParams } from './jobs';
8
+ } from "./configuration.js";
9
+ export { Jobs, type JobCreateResponse, type JobCreateParams } from "./jobs.js";
@@ -1,14 +1,14 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../../../resource';
4
- import * as Core from '../../../core';
5
- import * as ConfigurationAPI from './configuration';
3
+ import { APIResource } from "../../../resource.js";
4
+ import * as Core from "../../../core.js";
5
+ import * as ConfigurationAPI from "./configuration.js";
6
6
  import {
7
7
  Configuration,
8
8
  ConfigurationRetrieveResponse,
9
9
  ConfigurationUpdateParams,
10
10
  SandboxJobConfiguration,
11
- } from './configuration';
11
+ } from "./configuration.js";
12
12
 
13
13
  export class Jobs extends APIResource {
14
14
  configuration: ConfigurationAPI.Configuration = new ConfigurationAPI.Configuration(this._client);
@@ -1,3 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export * from './jobs/index';
3
+ export * from "./jobs/index.js";
@@ -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 '../../resource';
4
- import { isRequestOptions } from '../../core';
5
- import * as Core from '../../core';
6
- import * as HRISAPI from '../hris/hris';
7
- import * as BenefitsAPI from '../hris/benefits/benefits';
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 '../../resource';
4
- import * as CompanyAPI from './company';
5
- import { Company, CompanyUpdateParams, CompanyUpdateResponse } from './company';
6
- import * as DirectoryAPI from './directory';
7
- import { Directory, DirectoryCreateParams, DirectoryCreateResponse } from './directory';
8
- import * as EmploymentAPI from './employment';
9
- import { Employment, EmploymentUpdateParams, EmploymentUpdateResponse } from './employment';
10
- import * as IndividualAPI from './individual';
11
- import { Individual, IndividualUpdateParams, IndividualUpdateResponse } from './individual';
12
- import * as PaymentAPI from './payment';
13
- import { Payment, PaymentCreateParams, PaymentCreateResponse } from './payment';
14
- import * as ConnectionsAPI from './connections/connections';
15
- import { ConnectionCreateParams, ConnectionCreateResponse, Connections } from './connections/connections';
16
- import * as JobsAPI from './jobs/jobs';
17
- import { JobCreateParams, JobCreateResponse, Jobs } from './jobs/jobs';
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);
@@ -1,3 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export * from './sandbox/index';
3
+ export * from "./sandbox/index.js";
@@ -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 '../resource';
4
- import * as Shared from './shared';
5
- import * as BenefitsAPI from './hris/benefits/benefits';
6
- import { fromBase64, getRequiredHeader, HeadersLike, toBase64 } from '../core';
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 './resources/index';
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 '../_shims/node-types';
3
- import { setShims } from '../_shims/registry';
4
- import { getRuntime } from '../_shims/node-runtime';
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 '../_shims/web-types';
3
- import { setShims } from '../_shims/registry';
4
- import { getRuntime } from '../_shims/web-runtime';
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 './core';
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 './_shims/index';
11
- import { MultipartBody } from './_shims/MultipartBody';
12
- export { fileFromPath } from './_shims/index';
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.28.0'; // x-release-please-version
1
+ export const VERSION = '6.30.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.28.0";
1
+ export declare const VERSION = "6.30.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '6.28.0'; // x-release-please-version
4
+ exports.VERSION = '6.30.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '6.28.0'; // x-release-please-version
1
+ export const VERSION = '6.30.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map