@tryfinch/finch-api 5.24.0 → 5.24.2

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 (134) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/index.d.mts +5 -3
  3. package/index.d.ts +5 -3
  4. package/index.d.ts.map +1 -1
  5. package/index.js +4 -2
  6. package/index.js.map +1 -1
  7. package/index.mjs +4 -2
  8. package/index.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/access-tokens.d.ts +1 -1
  11. package/resources/access-tokens.d.ts.map +1 -1
  12. package/resources/access-tokens.js.map +1 -1
  13. package/resources/access-tokens.mjs.map +1 -1
  14. package/resources/account.d.ts +1 -1
  15. package/resources/account.d.ts.map +1 -1
  16. package/resources/account.js.map +1 -1
  17. package/resources/account.mjs.map +1 -1
  18. package/resources/hris/benefits/benefits.d.ts +1 -1
  19. package/resources/hris/benefits/benefits.d.ts.map +1 -1
  20. package/resources/hris/benefits/benefits.js.map +1 -1
  21. package/resources/hris/benefits/benefits.mjs.map +1 -1
  22. package/resources/hris/benefits/individuals.d.ts +1 -1
  23. package/resources/hris/benefits/individuals.d.ts.map +1 -1
  24. package/resources/hris/benefits/individuals.js.map +1 -1
  25. package/resources/hris/benefits/individuals.mjs.map +1 -1
  26. package/resources/hris/company.d.ts +1 -1
  27. package/resources/hris/company.d.ts.map +1 -1
  28. package/resources/hris/company.js.map +1 -1
  29. package/resources/hris/company.mjs.map +1 -1
  30. package/resources/hris/directory.d.ts +1 -1
  31. package/resources/hris/directory.d.ts.map +1 -1
  32. package/resources/hris/directory.js.map +1 -1
  33. package/resources/hris/directory.mjs.map +1 -1
  34. package/resources/hris/employments.d.ts +1 -1
  35. package/resources/hris/employments.d.ts.map +1 -1
  36. package/resources/hris/employments.js.map +1 -1
  37. package/resources/hris/employments.mjs.map +1 -1
  38. package/resources/hris/individuals.d.ts +1 -1
  39. package/resources/hris/individuals.d.ts.map +1 -1
  40. package/resources/hris/individuals.js.map +1 -1
  41. package/resources/hris/individuals.mjs.map +1 -1
  42. package/resources/hris/pay-statements.d.ts +1 -1
  43. package/resources/hris/pay-statements.d.ts.map +1 -1
  44. package/resources/hris/pay-statements.js.map +1 -1
  45. package/resources/hris/pay-statements.mjs.map +1 -1
  46. package/resources/hris/payments.d.ts +1 -1
  47. package/resources/hris/payments.d.ts.map +1 -1
  48. package/resources/hris/payments.js.map +1 -1
  49. package/resources/hris/payments.mjs.map +1 -1
  50. package/resources/jobs/automated.d.ts +1 -1
  51. package/resources/jobs/automated.d.ts.map +1 -1
  52. package/resources/jobs/automated.js.map +1 -1
  53. package/resources/jobs/automated.mjs.map +1 -1
  54. package/resources/jobs/manual.d.ts +1 -1
  55. package/resources/jobs/manual.d.ts.map +1 -1
  56. package/resources/jobs/manual.js.map +1 -1
  57. package/resources/jobs/manual.mjs.map +1 -1
  58. package/resources/payroll/pay-groups.d.ts +1 -1
  59. package/resources/payroll/pay-groups.d.ts.map +1 -1
  60. package/resources/payroll/pay-groups.js.map +1 -1
  61. package/resources/payroll/pay-groups.mjs.map +1 -1
  62. package/resources/providers.d.ts +1 -1
  63. package/resources/providers.d.ts.map +1 -1
  64. package/resources/providers.js.map +1 -1
  65. package/resources/providers.mjs.map +1 -1
  66. package/resources/request-forwarding.d.ts +1 -1
  67. package/resources/request-forwarding.d.ts.map +1 -1
  68. package/resources/request-forwarding.js.map +1 -1
  69. package/resources/request-forwarding.mjs.map +1 -1
  70. package/resources/sandbox/company.d.ts +1 -1
  71. package/resources/sandbox/company.d.ts.map +1 -1
  72. package/resources/sandbox/company.js.map +1 -1
  73. package/resources/sandbox/company.mjs.map +1 -1
  74. package/resources/sandbox/connections/accounts.d.ts +1 -1
  75. package/resources/sandbox/connections/accounts.d.ts.map +1 -1
  76. package/resources/sandbox/connections/accounts.js.map +1 -1
  77. package/resources/sandbox/connections/accounts.mjs.map +1 -1
  78. package/resources/sandbox/connections/connections.d.ts +1 -1
  79. package/resources/sandbox/connections/connections.d.ts.map +1 -1
  80. package/resources/sandbox/connections/connections.js.map +1 -1
  81. package/resources/sandbox/connections/connections.mjs.map +1 -1
  82. package/resources/sandbox/directory.d.ts +1 -1
  83. package/resources/sandbox/directory.d.ts.map +1 -1
  84. package/resources/sandbox/directory.js.map +1 -1
  85. package/resources/sandbox/directory.mjs.map +1 -1
  86. package/resources/sandbox/employment.d.ts +1 -1
  87. package/resources/sandbox/employment.d.ts.map +1 -1
  88. package/resources/sandbox/employment.js.map +1 -1
  89. package/resources/sandbox/employment.mjs.map +1 -1
  90. package/resources/sandbox/individual.d.ts +1 -1
  91. package/resources/sandbox/individual.d.ts.map +1 -1
  92. package/resources/sandbox/individual.js.map +1 -1
  93. package/resources/sandbox/individual.mjs.map +1 -1
  94. package/resources/sandbox/jobs/configuration.d.ts +1 -1
  95. package/resources/sandbox/jobs/configuration.d.ts.map +1 -1
  96. package/resources/sandbox/jobs/configuration.js.map +1 -1
  97. package/resources/sandbox/jobs/configuration.mjs.map +1 -1
  98. package/resources/sandbox/jobs/jobs.d.ts +1 -1
  99. package/resources/sandbox/jobs/jobs.d.ts.map +1 -1
  100. package/resources/sandbox/jobs/jobs.js.map +1 -1
  101. package/resources/sandbox/jobs/jobs.mjs.map +1 -1
  102. package/resources/sandbox/payment.d.ts +1 -1
  103. package/resources/sandbox/payment.d.ts.map +1 -1
  104. package/resources/sandbox/payment.js.map +1 -1
  105. package/resources/sandbox/payment.mjs.map +1 -1
  106. package/src/index.ts +6 -3
  107. package/src/resources/access-tokens.ts +1 -1
  108. package/src/resources/account.ts +1 -1
  109. package/src/resources/hris/benefits/benefits.ts +1 -1
  110. package/src/resources/hris/benefits/individuals.ts +1 -1
  111. package/src/resources/hris/company.ts +1 -1
  112. package/src/resources/hris/directory.ts +1 -1
  113. package/src/resources/hris/employments.ts +1 -1
  114. package/src/resources/hris/individuals.ts +1 -1
  115. package/src/resources/hris/pay-statements.ts +1 -1
  116. package/src/resources/hris/payments.ts +1 -1
  117. package/src/resources/jobs/automated.ts +1 -1
  118. package/src/resources/jobs/manual.ts +1 -1
  119. package/src/resources/payroll/pay-groups.ts +1 -1
  120. package/src/resources/providers.ts +1 -1
  121. package/src/resources/request-forwarding.ts +1 -1
  122. package/src/resources/sandbox/company.ts +1 -1
  123. package/src/resources/sandbox/connections/accounts.ts +1 -1
  124. package/src/resources/sandbox/connections/connections.ts +1 -1
  125. package/src/resources/sandbox/directory.ts +1 -1
  126. package/src/resources/sandbox/employment.ts +1 -1
  127. package/src/resources/sandbox/individual.ts +1 -1
  128. package/src/resources/sandbox/jobs/configuration.ts +1 -1
  129. package/src/resources/sandbox/jobs/jobs.ts +1 -1
  130. package/src/resources/sandbox/payment.ts +1 -1
  131. package/src/version.ts +1 -1
  132. package/version.d.ts +1 -1
  133. package/version.js +1 -1
  134. package/version.mjs +1 -1
package/src/index.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from './core';
4
3
  import * as Errors from './error';
5
- import { type Agent } from './_shims/index';
6
4
  import * as Uploads from './uploads';
5
+ import { type Agent } from './_shims/index';
7
6
  import * as qs from 'qs';
7
+ import * as Core from "./core";
8
8
  import * as Pagination from "./pagination";
9
9
  import * as API from "./resources/index";
10
10
 
@@ -93,7 +93,9 @@ export interface ClientOptions {
93
93
  defaultQuery?: Core.DefaultQuery;
94
94
  }
95
95
 
96
- /** API Client for interfacing with the Finch API. */
96
+ /**
97
+ * API Client for interfacing with the Finch API.
98
+ */
97
99
  export class Finch extends Core.APIClient {
98
100
  accessToken: string | null;
99
101
  clientId: string | null;
@@ -149,6 +151,7 @@ export class Finch extends Core.APIClient {
149
151
  maxRetries: options.maxRetries,
150
152
  fetch: options.fetch,
151
153
  });
154
+
152
155
  this._options = options;
153
156
 
154
157
  this.accessToken = accessToken;
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../core";
4
3
  import { APIResource } from "../resource";
4
+ import * as Core from "../core";
5
5
  import * as AccessTokensAPI from "./access-tokens";
6
6
 
7
7
  export class AccessTokens extends APIResource {
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../core";
4
3
  import { APIResource } from "../resource";
4
+ import * as Core from "../core";
5
5
  import * as AccountAPI from "./account";
6
6
  import * as Shared from "./shared";
7
7
 
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../../core";
4
3
  import { APIResource } from "../../../resource";
5
4
  import { isRequestOptions } from "../../../core";
5
+ import * as Core from "../../../core";
6
6
  import * as BenefitsAPI from "./benefits";
7
7
  import * as Shared from "../../shared";
8
8
  import * as IndividualsAPI from "./individuals";
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../../core";
4
3
  import { APIResource } from "../../../resource";
5
4
  import { isRequestOptions } from "../../../core";
5
+ import * as Core from "../../../core";
6
6
  import * as IndividualsAPI from "./individuals";
7
7
  import * as BenefitsAPI from "./benefits";
8
8
  import { SinglePage } from "../../../pagination";
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
4
+ import * as Core from "../../core";
5
5
  import * as CompanyAPI from "./company";
6
6
  import * as HRISAPI from "./hris";
7
7
 
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
5
4
  import { isRequestOptions } from "../../core";
5
+ import * as Core from "../../core";
6
6
  import * as DirectoryAPI from "./directory";
7
7
  import { IndividualsPage, type IndividualsPageParams } from "../../pagination";
8
8
 
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
4
+ import * as Core from "../../core";
5
5
  import * as EmploymentsAPI from "./employments";
6
6
  import * as HRISAPI from "./hris";
7
7
  import { ResponsesPage } from "../../pagination";
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
5
4
  import { isRequestOptions } from "../../core";
5
+ import * as Core from "../../core";
6
6
  import * as IndividualsAPI from "./individuals";
7
7
  import * as HRISAPI from "./hris";
8
8
  import { ResponsesPage } from "../../pagination";
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
4
+ import * as Core from "../../core";
5
5
  import * as PayStatementsAPI from "./pay-statements";
6
6
  import * as Shared from "../shared";
7
7
  import * as HRISAPI from "./hris";
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
4
+ import * as Core from "../../core";
5
5
  import * as PaymentsAPI from "./payments";
6
6
  import * as HRISAPI from "./hris";
7
7
  import { SinglePage } from "../../pagination";
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
5
4
  import { isRequestOptions } from "../../core";
5
+ import * as Core from "../../core";
6
6
  import * as AutomatedAPI from "./automated";
7
7
  import { Page, type PageParams } from "../../pagination";
8
8
 
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
4
+ import * as Core from "../../core";
5
5
  import * as ManualAPI from "./manual";
6
6
 
7
7
  export class Manual extends APIResource {
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
5
4
  import { isRequestOptions } from "../../core";
5
+ import * as Core from "../../core";
6
6
  import * as PayGroupsAPI from "./pay-groups";
7
7
  import { SinglePage } from "../../pagination";
8
8
 
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../core";
4
3
  import { APIResource } from "../resource";
4
+ import * as Core from "../core";
5
5
  import * as ProvidersAPI from "./providers";
6
6
  import * as BenefitsAPI from "./hris/benefits/benefits";
7
7
  import { SinglePage } from "../pagination";
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../core";
4
3
  import { APIResource } from "../resource";
4
+ import * as Core from "../core";
5
5
  import * as RequestForwardingAPI from "./request-forwarding";
6
6
 
7
7
  export class RequestForwarding extends APIResource {
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
4
+ import * as Core from "../../core";
5
5
  import * as CompanyAPI from "./company";
6
6
  import * as HRISAPI from "../hris/hris";
7
7
 
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../../core";
4
3
  import { APIResource } from "../../../resource";
5
4
  import { isRequestOptions } from "../../../core";
5
+ import * as Core from "../../../core";
6
6
  import * as AccountsAPI from "./accounts";
7
7
  import * as Shared from "../../shared";
8
8
 
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../../core";
4
3
  import { APIResource } from "../../../resource";
4
+ import * as Core from "../../../core";
5
5
  import * as ConnectionsAPI from "./connections";
6
6
  import * as AccountsAPI from "./accounts";
7
7
 
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
4
+ import * as Core from "../../core";
5
5
  import * as DirectoryAPI from "./directory";
6
6
  import * as HRISAPI from "../hris/hris";
7
7
 
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
5
4
  import { isRequestOptions } from "../../core";
5
+ import * as Core from "../../core";
6
6
  import * as EmploymentAPI from "./employment";
7
7
  import * as HRISAPI from "../hris/hris";
8
8
 
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
5
4
  import { isRequestOptions } from "../../core";
5
+ import * as Core from "../../core";
6
6
  import * as IndividualAPI from "./individual";
7
7
  import * as HRISAPI from "../hris/hris";
8
8
 
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../../core";
4
3
  import { APIResource } from "../../../resource";
4
+ import * as Core from "../../../core";
5
5
  import * as ConfigurationAPI from "./configuration";
6
6
 
7
7
  export class Configuration extends APIResource {
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../../core";
4
3
  import { APIResource } from "../../../resource";
4
+ import * as Core from "../../../core";
5
5
  import * as JobsAPI from "./jobs";
6
6
  import * as ConfigurationAPI from "./configuration";
7
7
 
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
3
  import { APIResource } from "../../resource";
5
4
  import { isRequestOptions } from "../../core";
5
+ import * as Core from "../../core";
6
6
  import * as PaymentAPI from "./payment";
7
7
  import * as HRISAPI from "../hris/hris";
8
8
  import * as BenefitsAPI from "../hris/benefits/benefits";
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.24.0'; // x-release-please-version
1
+ export const VERSION = '5.24.2'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.24.0";
1
+ export declare const VERSION = "5.24.2";
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 = '5.24.0'; // x-release-please-version
4
+ exports.VERSION = '5.24.2'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.24.0'; // x-release-please-version
1
+ export const VERSION = '5.24.2'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map