@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.
Files changed (88) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/package.json +1 -1
  3. package/resources/hris/pay-statements.d.ts +1 -1
  4. package/resources/hris/pay-statements.d.ts.map +1 -1
  5. package/resources/sandbox/payment.d.ts +1 -1
  6. package/resources/sandbox/payment.d.ts.map +1 -1
  7. package/src/_shims/auto/runtime-bun.ts +1 -1
  8. package/src/_shims/auto/runtime-node.ts +1 -1
  9. package/src/_shims/auto/runtime.ts +1 -1
  10. package/src/_shims/auto/types-node.ts +1 -1
  11. package/src/_shims/bun-runtime.ts +2 -2
  12. package/src/_shims/index.d.ts +3 -3
  13. package/src/_shims/index.mjs +1 -1
  14. package/src/_shims/node-runtime.ts +3 -3
  15. package/src/_shims/registry.ts +1 -1
  16. package/src/_shims/web-runtime.ts +3 -3
  17. package/src/core.ts +5 -5
  18. package/src/error.ts +1 -1
  19. package/src/index.ts +20 -20
  20. package/src/internal/qs/formats.ts +1 -1
  21. package/src/internal/qs/index.ts +3 -3
  22. package/src/internal/qs/stringify.ts +3 -3
  23. package/src/internal/qs/utils.ts +2 -2
  24. package/src/pagination.ts +3 -3
  25. package/src/resource.ts +1 -1
  26. package/src/resources/access-tokens.ts +2 -2
  27. package/src/resources/account.ts +3 -3
  28. package/src/resources/connect/connect.ts +3 -3
  29. package/src/resources/connect/index.ts +2 -2
  30. package/src/resources/connect/sessions.ts +2 -2
  31. package/src/resources/connect.ts +1 -1
  32. package/src/resources/hris/benefits/benefits.ts +8 -8
  33. package/src/resources/hris/benefits/index.ts +2 -2
  34. package/src/resources/hris/benefits/individuals.ts +5 -5
  35. package/src/resources/hris/benefits.ts +1 -1
  36. package/src/resources/hris/company/company.ts +5 -5
  37. package/src/resources/hris/company/index.ts +2 -2
  38. package/src/resources/hris/company/pay-statement-item/index.ts +2 -2
  39. package/src/resources/hris/company/pay-statement-item/pay-statement-item.ts +6 -6
  40. package/src/resources/hris/company/pay-statement-item/rules.ts +4 -4
  41. package/src/resources/hris/company/pay-statement-item.ts +1 -1
  42. package/src/resources/hris/company.ts +1 -1
  43. package/src/resources/hris/directory.ts +4 -4
  44. package/src/resources/hris/documents.ts +4 -4
  45. package/src/resources/hris/employments.ts +4 -4
  46. package/src/resources/hris/hris.ts +17 -17
  47. package/src/resources/hris/index.ts +9 -9
  48. package/src/resources/hris/individuals.ts +5 -5
  49. package/src/resources/hris/pay-statements.ts +7 -7
  50. package/src/resources/hris/payments.ts +4 -4
  51. package/src/resources/hris.ts +1 -1
  52. package/src/resources/index.ts +11 -11
  53. package/src/resources/jobs/automated.ts +3 -3
  54. package/src/resources/jobs/index.ts +3 -3
  55. package/src/resources/jobs/jobs.ts +5 -5
  56. package/src/resources/jobs/manual.ts +2 -2
  57. package/src/resources/jobs.ts +1 -1
  58. package/src/resources/payroll/index.ts +2 -2
  59. package/src/resources/payroll/pay-groups.ts +4 -4
  60. package/src/resources/payroll/payroll.ts +3 -3
  61. package/src/resources/payroll.ts +1 -1
  62. package/src/resources/providers.ts +4 -4
  63. package/src/resources/request-forwarding.ts +2 -2
  64. package/src/resources/sandbox/company.ts +3 -3
  65. package/src/resources/sandbox/connections/accounts.ts +4 -4
  66. package/src/resources/sandbox/connections/connections.ts +4 -4
  67. package/src/resources/sandbox/connections/index.ts +2 -2
  68. package/src/resources/sandbox/connections.ts +1 -1
  69. package/src/resources/sandbox/directory.ts +4 -4
  70. package/src/resources/sandbox/employment.ts +4 -4
  71. package/src/resources/sandbox/index.ts +8 -8
  72. package/src/resources/sandbox/individual.ts +4 -4
  73. package/src/resources/sandbox/jobs/configuration.ts +2 -2
  74. package/src/resources/sandbox/jobs/index.ts +2 -2
  75. package/src/resources/sandbox/jobs/jobs.ts +4 -4
  76. package/src/resources/sandbox/jobs.ts +1 -1
  77. package/src/resources/sandbox/payment.ts +6 -6
  78. package/src/resources/sandbox/sandbox.ts +15 -15
  79. package/src/resources/sandbox.ts +1 -1
  80. package/src/resources/webhooks.ts +4 -4
  81. package/src/resources.ts +1 -1
  82. package/src/shims/node.ts +3 -3
  83. package/src/shims/web.ts +3 -3
  84. package/src/uploads.ts +4 -4
  85. package/src/version.ts +1 -1
  86. package/version.d.ts +1 -1
  87. package/version.js +1 -1
  88. 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 { ResponsesPage } from '../../../../pagination';
3
+ import { APIResource } from "../../../../resource.js";
4
+ import { isRequestOptions } from "../../../../core.js";
5
+ import * as Core from "../../../../core.js";
6
+ import { ResponsesPage } from "../../../../pagination.js";
7
7
 
8
8
  export class Rules extends APIResource {
9
9
  /**
@@ -1,3 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export * from './pay-statement-item/index';
3
+ export * from "./pay-statement-item/index.js";
@@ -1,3 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export * from './company/index';
3
+ export * from "./company/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 { isRequestOptions } from '../../core';
5
- import * as Core from '../../core';
6
- import { IndividualsPage, type IndividualsPageParams } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import { isRequestOptions } from "../../core.js";
5
+ import * as Core from "../../core.js";
6
+ import { IndividualsPage, type IndividualsPageParams } from "../../pagination.js";
7
7
 
8
8
  export class Directory extends APIResource {
9
9
  /**
@@ -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 Shared from '../shared';
3
+ import { APIResource } from "../../resource.js";
4
+ import { isRequestOptions } from "../../core.js";
5
+ import * as Core from "../../core.js";
6
+ import * as Shared from "../shared.js";
7
7
 
8
8
  export class Documents extends APIResource {
9
9
  /**
@@ -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 Core from '../../core';
5
- import * as HRISAPI from './hris';
6
- import { ResponsesPage } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import * as HRISAPI from "./hris.js";
6
+ import { ResponsesPage } from "../../pagination.js";
7
7
 
8
8
  export class Employments extends APIResource {
9
9
  /**
@@ -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 DirectoryAPI from './directory';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as DirectoryAPI from "./directory.js";
5
5
  import {
6
6
  Directory,
7
7
  DirectoryListIndividualsParams,
8
8
  DirectoryListParams,
9
9
  IndividualInDirectory,
10
- } from './directory';
11
- import * as DocumentsAPI from './documents';
10
+ } from "./directory.js";
11
+ import * as DocumentsAPI from "./documents.js";
12
12
  import {
13
13
  DocumentListParams,
14
14
  DocumentListResponse,
@@ -17,24 +17,24 @@ import {
17
17
  Documents,
18
18
  W42005,
19
19
  W42020,
20
- } from './documents';
21
- import * as EmploymentsAPI from './employments';
20
+ } from "./documents.js";
21
+ import * as EmploymentsAPI from "./employments.js";
22
22
  import {
23
23
  EmploymentData,
24
24
  EmploymentDataResponse,
25
25
  EmploymentDataResponsesPage,
26
26
  EmploymentRetrieveManyParams,
27
27
  Employments,
28
- } from './employments';
29
- import * as IndividualsAPI from './individuals';
28
+ } from "./employments.js";
29
+ import * as IndividualsAPI from "./individuals.js";
30
30
  import {
31
31
  Individual,
32
32
  IndividualResponse,
33
33
  IndividualResponsesPage,
34
34
  IndividualRetrieveManyParams,
35
35
  Individuals,
36
- } from './individuals';
37
- import * as PayStatementsAPI from './pay-statements';
36
+ } from "./individuals.js";
37
+ import * as PayStatementsAPI from "./pay-statements.js";
38
38
  import {
39
39
  PayStatement,
40
40
  PayStatementResponse,
@@ -42,10 +42,10 @@ import {
42
42
  PayStatementResponsesPage,
43
43
  PayStatementRetrieveManyParams,
44
44
  PayStatements,
45
- } from './pay-statements';
46
- import * as PaymentsAPI from './payments';
47
- import { Payment, PaymentListParams, Payments, PaymentsSinglePage } from './payments';
48
- import * as BenefitsAPI from './benefits/benefits';
45
+ } from "./pay-statements.js";
46
+ import * as PaymentsAPI from "./payments.js";
47
+ import { Payment, PaymentListParams, Payments, PaymentsSinglePage } from "./payments.js";
48
+ import * as BenefitsAPI from "./benefits/benefits.js";
49
49
  import {
50
50
  BenefitContribution,
51
51
  BenefitCreateParams,
@@ -64,9 +64,9 @@ import {
64
64
  SupportPerBenefitType,
65
65
  SupportedBenefit,
66
66
  UpdateCompanyBenefitResponse,
67
- } from './benefits/benefits';
68
- import * as CompanyAPI from './company/company';
69
- import { Company, CompanyResource } from './company/company';
67
+ } from "./benefits/benefits.js";
68
+ import * as CompanyAPI from "./company/company.js";
69
+ import { Company, CompanyResource } from "./company/company.js";
70
70
 
71
71
  export class HRIS extends APIResource {
72
72
  company: CompanyAPI.CompanyResource = new CompanyAPI.CompanyResource(this._client);
@@ -18,14 +18,14 @@ export {
18
18
  type BenfitContribution,
19
19
  type BenefitCreateParams,
20
20
  type BenefitUpdateParams,
21
- } from './benefits/index';
22
- export { CompanyResource, type Company } from './company/index';
21
+ } from "./benefits/index.js";
22
+ export { CompanyResource, type Company } from "./company/index.js";
23
23
  export {
24
24
  Directory,
25
25
  type IndividualInDirectory,
26
26
  type DirectoryListParams,
27
27
  type DirectoryListIndividualsParams,
28
- } from './directory';
28
+ } from "./directory.js";
29
29
  export {
30
30
  Documents,
31
31
  type DocumentResponse,
@@ -34,22 +34,22 @@ export {
34
34
  type DocumentListResponse,
35
35
  type DocumentRetreiveResponse,
36
36
  type DocumentListParams,
37
- } from './documents';
37
+ } from "./documents.js";
38
38
  export {
39
39
  EmploymentDataResponsesPage,
40
40
  Employments,
41
41
  type EmploymentData,
42
42
  type EmploymentDataResponse,
43
43
  type EmploymentRetrieveManyParams,
44
- } from './employments';
45
- export { HRIS, type Income, type Location, type Money } from './hris';
44
+ } from "./employments.js";
45
+ export { HRIS, type Income, type Location, type Money } from "./hris.js";
46
46
  export {
47
47
  IndividualResponsesPage,
48
48
  Individuals,
49
49
  type Individual,
50
50
  type IndividualResponse,
51
51
  type IndividualRetrieveManyParams,
52
- } from './individuals';
52
+ } from "./individuals.js";
53
53
  export {
54
54
  PayStatementResponsesPage,
55
55
  PayStatements,
@@ -57,5 +57,5 @@ export {
57
57
  type PayStatementResponse,
58
58
  type PayStatementResponseBody,
59
59
  type PayStatementRetrieveManyParams,
60
- } from './pay-statements';
61
- export { PaymentsSinglePage, Payments, type Payment, type PaymentListParams } from './payments';
60
+ } from "./pay-statements.js";
61
+ export { PaymentsSinglePage, Payments, type Payment, type PaymentListParams } from "./payments.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';
7
- import { ResponsesPage } from '../../pagination';
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.js";
7
+ import { ResponsesPage } from "../../pagination.js";
8
8
 
9
9
  export class Individuals extends APIResource {
10
10
  /**
@@ -1,11 +1,11 @@
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 Shared from '../shared';
6
- import * as HRISAPI from './hris';
7
- import * as BenefitsAPI from './benefits/benefits';
8
- import { ResponsesPage } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import * as Shared from "../shared.js";
6
+ import * as HRISAPI from "./hris.js";
7
+ import * as BenefitsAPI from "./benefits/benefits.js";
8
+ import { ResponsesPage } from "../../pagination.js";
9
9
 
10
10
  export class PayStatements extends APIResource {
11
11
  /**
@@ -69,7 +69,7 @@ export interface PayStatement {
69
69
  /**
70
70
  * The payment method.
71
71
  */
72
- payment_method?: 'check' | 'direct_deposit' | null;
72
+ payment_method?: 'check' | 'direct_deposit' | 'other' | null;
73
73
 
74
74
  /**
75
75
  * The array of taxes objects associated with this pay statement.
@@ -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 Core from '../../core';
5
- import * as HRISAPI from './hris';
6
- import { SinglePage } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import * as HRISAPI from "./hris.js";
6
+ import { SinglePage } from "../../pagination.js";
7
7
 
8
8
  export class Payments extends APIResource {
9
9
  /**
@@ -1,3 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export * from './hris/index';
3
+ export * from "./hris/index.js";
@@ -1,19 +1,19 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export * from './shared';
4
- export { AccessTokens, type CreateAccessTokenResponse, type AccessTokenCreateParams } from './access-tokens';
5
- export { Account, type DisconnectResponse, type Introspection } from './account';
6
- export { Connect } from './connect/connect';
7
- export { HRIS, type Income, type Location, type Money } from './hris/hris';
8
- export { Jobs } from './jobs/jobs';
9
- export { Payroll } from './payroll/payroll';
10
- export { ProvidersSinglePage, Providers, type Provider } from './providers';
3
+ export * from "./shared.js";
4
+ export { AccessTokens, type CreateAccessTokenResponse, type AccessTokenCreateParams } from "./access-tokens.js";
5
+ export { Account, type DisconnectResponse, type Introspection } from "./account.js";
6
+ export { Connect } from "./connect/connect.js";
7
+ export { HRIS, type Income, type Location, type Money } from "./hris/hris.js";
8
+ export { Jobs } from "./jobs/jobs.js";
9
+ export { Payroll } from "./payroll/payroll.js";
10
+ export { ProvidersSinglePage, Providers, type Provider } from "./providers.js";
11
11
  export {
12
12
  RequestForwarding,
13
13
  type RequestForwardingForwardResponse,
14
14
  type RequestForwardingForwardParams,
15
- } from './request-forwarding';
16
- export { Sandbox } from './sandbox/sandbox';
15
+ } from "./request-forwarding.js";
16
+ export { Sandbox } from "./sandbox/sandbox.js";
17
17
  export {
18
18
  Webhooks,
19
19
  type AccountUpdateEvent,
@@ -26,4 +26,4 @@ export {
26
26
  type PayStatementEvent,
27
27
  type PaymentEvent,
28
28
  type WebhookEvent,
29
- } from './webhooks';
29
+ } from "./webhooks.js";
@@ -1,8 +1,8 @@
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';
3
+ import { APIResource } from "../../resource.js";
4
+ import { isRequestOptions } from "../../core.js";
5
+ import * as Core from "../../core.js";
6
6
 
7
7
  export class Automated extends APIResource {
8
8
  /**
@@ -7,6 +7,6 @@ export {
7
7
  type AutomatedListResponse,
8
8
  type AutomatedCreateParams,
9
9
  type AutomatedListParams,
10
- } from './automated';
11
- export { Jobs } from './jobs';
12
- export { Manual, type ManualAsyncJob } from './manual';
10
+ } from "./automated.js";
11
+ export { Jobs } from "./jobs.js";
12
+ export { Manual, type ManualAsyncJob } from "./manual.js";
@@ -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 AutomatedAPI from './automated';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as AutomatedAPI from "./automated.js";
5
5
  import {
6
6
  Automated,
7
7
  AutomatedAsyncJob,
@@ -9,9 +9,9 @@ import {
9
9
  AutomatedCreateResponse,
10
10
  AutomatedListParams,
11
11
  AutomatedListResponse,
12
- } from './automated';
13
- import * as ManualAPI from './manual';
14
- import { Manual, ManualAsyncJob } from './manual';
12
+ } from "./automated.js";
13
+ import * as ManualAPI from "./manual.js";
14
+ import { Manual, ManualAsyncJob } from "./manual.js";
15
15
 
16
16
  export class Jobs extends APIResource {
17
17
  automated: AutomatedAPI.Automated = new AutomatedAPI.Automated(this._client);
@@ -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 Manual extends APIResource {
7
7
  /**
@@ -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";
@@ -6,5 +6,5 @@ export {
6
6
  type PayGroupRetrieveResponse,
7
7
  type PayGroupListResponse,
8
8
  type PayGroupListParams,
9
- } from './pay-groups';
10
- export { Payroll } from './payroll';
9
+ } from "./pay-groups.js";
10
+ export { Payroll } from "./payroll.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 { isRequestOptions } from '../../core';
5
- import * as Core from '../../core';
6
- import { SinglePage } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import { isRequestOptions } from "../../core.js";
5
+ import * as Core from "../../core.js";
6
+ import { SinglePage } from "../../pagination.js";
7
7
 
8
8
  export class PayGroups extends APIResource {
9
9
  /**
@@ -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 PayGroupsAPI from './pay-groups';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as PayGroupsAPI from "./pay-groups.js";
5
5
  import {
6
6
  PayGroupListParams,
7
7
  PayGroupListResponse,
8
8
  PayGroupListResponsesSinglePage,
9
9
  PayGroupRetrieveResponse,
10
10
  PayGroups,
11
- } from './pay-groups';
11
+ } from "./pay-groups.js";
12
12
 
13
13
  export class Payroll extends APIResource {
14
14
  payGroups: PayGroupsAPI.PayGroups = new PayGroupsAPI.PayGroups(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 './payroll/index';
3
+ export * from "./payroll/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 Core from '../core';
5
- import * as BenefitsAPI from './hris/benefits/benefits';
6
- import { SinglePage } from '../pagination';
3
+ import { APIResource } from "../resource.js";
4
+ import * as Core from "../core.js";
5
+ import * as BenefitsAPI from "./hris/benefits/benefits.js";
6
+ import { SinglePage } from "../pagination.js";
7
7
 
8
8
  export class Providers 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 RequestForwarding extends APIResource {
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 { APIResource } from '../../resource';
4
- import * as Core from '../../core';
5
- import * as HRISAPI from '../hris/hris';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import * as HRISAPI from "../hris/hris.js";
6
6
 
7
7
  export class Company extends APIResource {
8
8
  /**
@@ -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 Shared from '../../shared';
3
+ import { APIResource } from "../../../resource.js";
4
+ import { isRequestOptions } from "../../../core.js";
5
+ import * as Core from "../../../core.js";
6
+ import * as Shared from "../../shared.js";
7
7
 
8
8
  export class Accounts extends APIResource {
9
9
  /**
@@ -1,15 +1,15 @@
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 AccountsAPI from './accounts';
3
+ import { APIResource } from "../../../resource.js";
4
+ import * as Core from "../../../core.js";
5
+ import * as AccountsAPI from "./accounts.js";
6
6
  import {
7
7
  AccountCreateParams,
8
8
  AccountCreateResponse,
9
9
  AccountUpdateParams,
10
10
  AccountUpdateResponse,
11
11
  Accounts,
12
- } from './accounts';
12
+ } from "./accounts.js";
13
13
 
14
14
  export class Connections extends APIResource {
15
15
  accounts: AccountsAPI.Accounts = new AccountsAPI.Accounts(this._client);
@@ -6,5 +6,5 @@ export {
6
6
  type AccountUpdateResponse,
7
7
  type AccountCreateParams,
8
8
  type AccountUpdateParams,
9
- } from './accounts';
10
- export { Connections, type ConnectionCreateResponse, type ConnectionCreateParams } from './connections';
9
+ } from "./accounts.js";
10
+ export { Connections, type ConnectionCreateResponse, type ConnectionCreateParams } from "./connections.js";
@@ -1,3 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export * from './connections/index';
3
+ export * from "./connections/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 { 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 Directory extends APIResource {
9
9
  /**
@@ -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 Employment extends APIResource {
9
9
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export { Company, type CompanyUpdateResponse, type CompanyUpdateParams } from './company';
4
- export { Connections, type ConnectionCreateResponse, type ConnectionCreateParams } from './connections/index';
5
- export { Directory, type DirectoryCreateResponse, type DirectoryCreateParams } from './directory';
6
- export { Employment, type EmploymentUpdateResponse, type EmploymentUpdateParams } from './employment';
7
- export { Individual, type IndividualUpdateResponse, type IndividualUpdateParams } from './individual';
8
- export { Jobs, type JobCreateResponse, type JobCreateParams } from './jobs/index';
9
- export { Payment, type PaymentCreateResponse, type PaymentCreateParams } from './payment';
10
- export { Sandbox } from './sandbox';
3
+ export { Company, type CompanyUpdateResponse, type CompanyUpdateParams } from "./company.js";
4
+ export { Connections, type ConnectionCreateResponse, type ConnectionCreateParams } from "./connections/index.js";
5
+ export { Directory, type DirectoryCreateResponse, type DirectoryCreateParams } from "./directory.js";
6
+ export { Employment, type EmploymentUpdateResponse, type EmploymentUpdateParams } from "./employment.js";
7
+ export { Individual, type IndividualUpdateResponse, type IndividualUpdateParams } from "./individual.js";
8
+ export { Jobs, type JobCreateResponse, type JobCreateParams } from "./jobs/index.js";
9
+ export { Payment, type PaymentCreateResponse, type PaymentCreateParams } from "./payment.js";
10
+ export { Sandbox } from "./sandbox.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 { 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);