@tryfinch/finch-api 6.27.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 (208) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/README.md +1 -1
  3. package/package.json +1 -1
  4. package/resources/access-tokens.d.ts +8 -0
  5. package/resources/access-tokens.d.ts.map +1 -1
  6. package/resources/access-tokens.js +8 -0
  7. package/resources/access-tokens.js.map +1 -1
  8. package/resources/access-tokens.mjs +8 -0
  9. package/resources/access-tokens.mjs.map +1 -1
  10. package/resources/hris/benefits/benefits.d.ts +73 -0
  11. package/resources/hris/benefits/benefits.d.ts.map +1 -1
  12. package/resources/hris/benefits/benefits.js +23 -0
  13. package/resources/hris/benefits/benefits.js.map +1 -1
  14. package/resources/hris/benefits/benefits.mjs +23 -0
  15. package/resources/hris/benefits/benefits.mjs.map +1 -1
  16. package/resources/hris/benefits/individuals.d.ts +35 -0
  17. package/resources/hris/benefits/individuals.d.ts.map +1 -1
  18. package/resources/hris/benefits/individuals.js +8 -0
  19. package/resources/hris/benefits/individuals.js.map +1 -1
  20. package/resources/hris/benefits/individuals.mjs +8 -0
  21. package/resources/hris/benefits/individuals.mjs.map +1 -1
  22. package/resources/hris/company/company.d.ts +15 -10
  23. package/resources/hris/company/company.d.ts.map +1 -1
  24. package/resources/hris/company/company.js +5 -0
  25. package/resources/hris/company/company.js.map +1 -1
  26. package/resources/hris/company/company.mjs +5 -0
  27. package/resources/hris/company/company.mjs.map +1 -1
  28. package/resources/hris/company/pay-statement-item/pay-statement-item.d.ts +8 -0
  29. package/resources/hris/company/pay-statement-item/pay-statement-item.d.ts.map +1 -1
  30. package/resources/hris/company/pay-statement-item/pay-statement-item.js.map +1 -1
  31. package/resources/hris/company/pay-statement-item/pay-statement-item.mjs.map +1 -1
  32. package/resources/hris/company/pay-statement-item/rules.d.ts +30 -0
  33. package/resources/hris/company/pay-statement-item/rules.d.ts.map +1 -1
  34. package/resources/hris/company/pay-statement-item/rules.js +16 -0
  35. package/resources/hris/company/pay-statement-item/rules.js.map +1 -1
  36. package/resources/hris/company/pay-statement-item/rules.mjs +16 -0
  37. package/resources/hris/company/pay-statement-item/rules.mjs.map +1 -1
  38. package/resources/hris/directory.d.ts +16 -8
  39. package/resources/hris/directory.d.ts.map +1 -1
  40. package/resources/hris/directory.js.map +1 -1
  41. package/resources/hris/directory.mjs.map +1 -1
  42. package/resources/hris/documents.d.ts +12 -0
  43. package/resources/hris/documents.d.ts.map +1 -1
  44. package/resources/hris/documents.js +7 -0
  45. package/resources/hris/documents.js.map +1 -1
  46. package/resources/hris/documents.mjs +7 -0
  47. package/resources/hris/documents.mjs.map +1 -1
  48. package/resources/hris/employments.d.ts +122 -103
  49. package/resources/hris/employments.d.ts.map +1 -1
  50. package/resources/hris/employments.js +10 -0
  51. package/resources/hris/employments.js.map +1 -1
  52. package/resources/hris/employments.mjs +10 -0
  53. package/resources/hris/employments.mjs.map +1 -1
  54. package/resources/hris/hris.d.ts +12 -12
  55. package/resources/hris/hris.d.ts.map +1 -1
  56. package/resources/hris/individuals.d.ts +73 -56
  57. package/resources/hris/individuals.d.ts.map +1 -1
  58. package/resources/hris/individuals.js.map +1 -1
  59. package/resources/hris/individuals.mjs.map +1 -1
  60. package/resources/hris/pay-statements.d.ts +17 -1
  61. package/resources/hris/pay-statements.d.ts.map +1 -1
  62. package/resources/hris/pay-statements.js +16 -0
  63. package/resources/hris/pay-statements.js.map +1 -1
  64. package/resources/hris/pay-statements.mjs +16 -0
  65. package/resources/hris/pay-statements.mjs.map +1 -1
  66. package/resources/hris/payments.d.ts +11 -0
  67. package/resources/hris/payments.d.ts.map +1 -1
  68. package/resources/hris/payments.js +11 -0
  69. package/resources/hris/payments.js.map +1 -1
  70. package/resources/hris/payments.mjs +11 -0
  71. package/resources/hris/payments.mjs.map +1 -1
  72. package/resources/request-forwarding.d.ts +10 -0
  73. package/resources/request-forwarding.d.ts.map +1 -1
  74. package/resources/request-forwarding.js +10 -0
  75. package/resources/request-forwarding.js.map +1 -1
  76. package/resources/request-forwarding.mjs +10 -0
  77. package/resources/request-forwarding.mjs.map +1 -1
  78. package/resources/sandbox/company.d.ts +23 -0
  79. package/resources/sandbox/company.d.ts.map +1 -1
  80. package/resources/sandbox/company.js +23 -0
  81. package/resources/sandbox/company.js.map +1 -1
  82. package/resources/sandbox/company.mjs +23 -0
  83. package/resources/sandbox/company.mjs.map +1 -1
  84. package/resources/sandbox/connections/accounts.d.ts +17 -0
  85. package/resources/sandbox/connections/accounts.d.ts.map +1 -1
  86. package/resources/sandbox/connections/accounts.js +9 -0
  87. package/resources/sandbox/connections/accounts.js.map +1 -1
  88. package/resources/sandbox/connections/accounts.mjs +9 -0
  89. package/resources/sandbox/connections/accounts.mjs.map +1 -1
  90. package/resources/sandbox/connections/connections.d.ts +7 -0
  91. package/resources/sandbox/connections/connections.d.ts.map +1 -1
  92. package/resources/sandbox/connections/connections.js +7 -0
  93. package/resources/sandbox/connections/connections.js.map +1 -1
  94. package/resources/sandbox/connections/connections.mjs +7 -0
  95. package/resources/sandbox/connections/connections.mjs.map +1 -1
  96. package/resources/sandbox/directory.d.ts +7 -0
  97. package/resources/sandbox/directory.d.ts.map +1 -1
  98. package/resources/sandbox/directory.js.map +1 -1
  99. package/resources/sandbox/directory.mjs.map +1 -1
  100. package/resources/sandbox/employment.d.ts +7 -0
  101. package/resources/sandbox/employment.d.ts.map +1 -1
  102. package/resources/sandbox/employment.js.map +1 -1
  103. package/resources/sandbox/employment.mjs.map +1 -1
  104. package/resources/sandbox/individual.d.ts +7 -0
  105. package/resources/sandbox/individual.d.ts.map +1 -1
  106. package/resources/sandbox/individual.js.map +1 -1
  107. package/resources/sandbox/individual.mjs.map +1 -1
  108. package/resources/sandbox/jobs/configuration.d.ts +15 -0
  109. package/resources/sandbox/jobs/configuration.d.ts.map +1 -1
  110. package/resources/sandbox/jobs/configuration.js +15 -0
  111. package/resources/sandbox/jobs/configuration.js.map +1 -1
  112. package/resources/sandbox/jobs/configuration.mjs +15 -0
  113. package/resources/sandbox/jobs/configuration.mjs.map +1 -1
  114. package/resources/sandbox/jobs/jobs.d.ts +7 -0
  115. package/resources/sandbox/jobs/jobs.d.ts.map +1 -1
  116. package/resources/sandbox/jobs/jobs.js +7 -0
  117. package/resources/sandbox/jobs/jobs.js.map +1 -1
  118. package/resources/sandbox/jobs/jobs.mjs +7 -0
  119. package/resources/sandbox/jobs/jobs.mjs.map +1 -1
  120. package/resources/sandbox/payment.d.ts +20 -1
  121. package/resources/sandbox/payment.d.ts.map +1 -1
  122. package/resources/sandbox/payment.js.map +1 -1
  123. package/resources/sandbox/payment.mjs.map +1 -1
  124. package/resources/shared.d.ts +4 -4
  125. package/resources/shared.d.ts.map +1 -1
  126. package/src/_shims/auto/runtime-bun.ts +1 -1
  127. package/src/_shims/auto/runtime-node.ts +1 -1
  128. package/src/_shims/auto/runtime.ts +1 -1
  129. package/src/_shims/auto/types-node.ts +1 -1
  130. package/src/_shims/bun-runtime.ts +2 -2
  131. package/src/_shims/index.d.ts +3 -3
  132. package/src/_shims/index.mjs +1 -1
  133. package/src/_shims/node-runtime.ts +3 -3
  134. package/src/_shims/registry.ts +1 -1
  135. package/src/_shims/web-runtime.ts +3 -3
  136. package/src/core.ts +5 -5
  137. package/src/error.ts +1 -1
  138. package/src/index.ts +20 -20
  139. package/src/internal/qs/formats.ts +1 -1
  140. package/src/internal/qs/index.ts +3 -3
  141. package/src/internal/qs/stringify.ts +3 -3
  142. package/src/internal/qs/utils.ts +2 -2
  143. package/src/pagination.ts +3 -3
  144. package/src/resource.ts +1 -1
  145. package/src/resources/access-tokens.ts +10 -2
  146. package/src/resources/account.ts +3 -3
  147. package/src/resources/connect/connect.ts +3 -3
  148. package/src/resources/connect/index.ts +2 -2
  149. package/src/resources/connect/sessions.ts +2 -2
  150. package/src/resources/connect.ts +1 -1
  151. package/src/resources/hris/benefits/benefits.ts +91 -8
  152. package/src/resources/hris/benefits/index.ts +2 -2
  153. package/src/resources/hris/benefits/individuals.ts +40 -5
  154. package/src/resources/hris/benefits.ts +1 -1
  155. package/src/resources/hris/company/company.ts +20 -15
  156. package/src/resources/hris/company/index.ts +2 -2
  157. package/src/resources/hris/company/pay-statement-item/index.ts +2 -2
  158. package/src/resources/hris/company/pay-statement-item/pay-statement-item.ts +14 -6
  159. package/src/resources/hris/company/pay-statement-item/rules.ts +34 -4
  160. package/src/resources/hris/company/pay-statement-item.ts +1 -1
  161. package/src/resources/hris/company.ts +1 -1
  162. package/src/resources/hris/directory.ts +20 -12
  163. package/src/resources/hris/documents.ts +16 -4
  164. package/src/resources/hris/employments.ts +143 -119
  165. package/src/resources/hris/hris.ts +31 -31
  166. package/src/resources/hris/index.ts +9 -9
  167. package/src/resources/hris/individuals.ts +101 -79
  168. package/src/resources/hris/pay-statements.ts +23 -7
  169. package/src/resources/hris/payments.ts +15 -4
  170. package/src/resources/hris.ts +1 -1
  171. package/src/resources/index.ts +11 -11
  172. package/src/resources/jobs/automated.ts +3 -3
  173. package/src/resources/jobs/index.ts +3 -3
  174. package/src/resources/jobs/jobs.ts +5 -5
  175. package/src/resources/jobs/manual.ts +2 -2
  176. package/src/resources/jobs.ts +1 -1
  177. package/src/resources/payroll/index.ts +2 -2
  178. package/src/resources/payroll/pay-groups.ts +4 -4
  179. package/src/resources/payroll/payroll.ts +3 -3
  180. package/src/resources/payroll.ts +1 -1
  181. package/src/resources/providers.ts +4 -4
  182. package/src/resources/request-forwarding.ts +12 -2
  183. package/src/resources/sandbox/company.ts +26 -3
  184. package/src/resources/sandbox/connections/accounts.ts +21 -4
  185. package/src/resources/sandbox/connections/connections.ts +11 -4
  186. package/src/resources/sandbox/connections/index.ts +2 -2
  187. package/src/resources/sandbox/connections.ts +1 -1
  188. package/src/resources/sandbox/directory.ts +11 -4
  189. package/src/resources/sandbox/employment.ts +11 -4
  190. package/src/resources/sandbox/index.ts +8 -8
  191. package/src/resources/sandbox/individual.ts +11 -4
  192. package/src/resources/sandbox/jobs/configuration.ts +17 -2
  193. package/src/resources/sandbox/jobs/index.ts +2 -2
  194. package/src/resources/sandbox/jobs/jobs.ts +11 -4
  195. package/src/resources/sandbox/jobs.ts +1 -1
  196. package/src/resources/sandbox/payment.ts +25 -6
  197. package/src/resources/sandbox/sandbox.ts +15 -15
  198. package/src/resources/sandbox.ts +1 -1
  199. package/src/resources/shared.ts +4 -4
  200. package/src/resources/webhooks.ts +4 -4
  201. package/src/resources.ts +1 -1
  202. package/src/shims/node.ts +3 -3
  203. package/src/shims/web.ts +3 -3
  204. package/src/uploads.ts +4 -4
  205. package/src/version.ts +1 -1
  206. package/version.d.ts +1 -1
  207. package/version.js +1 -1
  208. package/version.mjs +1 -1
@@ -1,13 +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 { 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
  /**
10
10
  * Update sandbox employment
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const employment = await client.sandbox.employment.update(
15
+ * 'individual_id',
16
+ * );
17
+ * ```
11
18
  */
12
19
  update(
13
20
  individualId: string,
@@ -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,13 +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 { 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
  /**
10
10
  * Update sandbox individual
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const individual = await client.sandbox.individual.update(
15
+ * 'individual_id',
16
+ * );
17
+ * ```
11
18
  */
12
19
  update(
13
20
  individualId: string,
@@ -1,11 +1,17 @@
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
  /**
8
8
  * Get configurations for sandbox jobs
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const sandboxJobConfigurations =
13
+ * await client.sandbox.jobs.configuration.retrieve();
14
+ * ```
9
15
  */
10
16
  retrieve(options?: Core.RequestOptions): Core.APIPromise<ConfigurationRetrieveResponse> {
11
17
  return this._client.get('/sandbox/jobs/configuration', options);
@@ -13,6 +19,15 @@ export class Configuration extends APIResource {
13
19
 
14
20
  /**
15
21
  * Update configurations for sandbox jobs
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const sandboxJobConfiguration =
26
+ * await client.sandbox.jobs.configuration.update({
27
+ * completion_status: 'complete',
28
+ * type: 'data_sync_all',
29
+ * });
30
+ * ```
16
31
  */
17
32
  update(
18
33
  body: ConfigurationUpdateParams,
@@ -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,20 +1,27 @@
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);
15
15
 
16
16
  /**
17
17
  * Enqueue a new sandbox job
18
+ *
19
+ * @example
20
+ * ```ts
21
+ * const job = await client.sandbox.jobs.create({
22
+ * type: 'data_sync_all',
23
+ * });
24
+ * ```
18
25
  */
19
26
  create(body: JobCreateParams, options?: Core.RequestOptions): Core.APIPromise<JobCreateResponse> {
20
27
  return this._client.post('/sandbox/jobs', { body, ...options });
@@ -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,14 +1,33 @@
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
  /**
11
11
  * Add a new sandbox payment
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const payment = await client.sandbox.payment.create({
16
+ * pay_statements: [
17
+ * {
18
+ * individual_id: 'b2338cfb-472f-4f72-9faa-e028c083144a',
19
+ * employee_deductions: [
20
+ * {
21
+ * name: '401k test',
22
+ * type: '401k',
23
+ * amount: 2000,
24
+ * currency: 'usd',
25
+ * },
26
+ * ],
27
+ * },
28
+ * ],
29
+ * });
30
+ * ```
12
31
  */
13
32
  create(body?: PaymentCreateParams, options?: Core.RequestOptions): Core.APIPromise<PaymentCreateResponse>;
14
33
  create(options?: Core.RequestOptions): Core.APIPromise<PaymentCreateResponse>;
@@ -69,7 +88,7 @@ export namespace PaymentCreateParams {
69
88
  /**
70
89
  * The payment method.
71
90
  */
72
- payment_method?: 'check' | 'direct_deposit' | null;
91
+ payment_method?: 'check' | 'direct_deposit' | 'other' | null;
73
92
 
74
93
  /**
75
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";
@@ -71,12 +71,12 @@ export interface OperationSupportMatrix {
71
71
 
72
72
  export interface Paging {
73
73
  /**
74
- * The total number of elements for the entire query (not just the given page)
74
+ * The current start index of the returned list of elements
75
75
  */
76
- count?: number;
76
+ offset: number;
77
77
 
78
78
  /**
79
- * The current start index of the returned list of elements
79
+ * The total number of elements for the entire query (not just the given page)
80
80
  */
81
- offset?: number;
81
+ count?: number;
82
82
  }
@@ -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.27.0'; // x-release-please-version
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.27.0";
1
+ export declare const VERSION = "6.29.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.27.0'; // x-release-please-version
4
+ exports.VERSION = '6.29.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '6.27.0'; // x-release-please-version
1
+ export const VERSION = '6.29.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map