conductor-node 12.8.0 → 12.9.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 (82) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +18 -32
  3. package/package.json +1 -1
  4. package/src/_shims/auto/runtime-bun.ts +1 -1
  5. package/src/_shims/auto/runtime-node.ts +1 -1
  6. package/src/_shims/auto/runtime.ts +1 -1
  7. package/src/_shims/auto/types-node.ts +1 -1
  8. package/src/_shims/bun-runtime.ts +2 -2
  9. package/src/_shims/index.d.ts +3 -3
  10. package/src/_shims/index.mjs +1 -1
  11. package/src/_shims/node-runtime.ts +3 -3
  12. package/src/_shims/registry.ts +1 -1
  13. package/src/_shims/web-runtime.ts +3 -3
  14. package/src/core.ts +5 -5
  15. package/src/error.ts +1 -1
  16. package/src/index.ts +13 -13
  17. package/src/internal/qs/formats.ts +1 -1
  18. package/src/internal/qs/index.ts +3 -3
  19. package/src/internal/qs/stringify.ts +3 -3
  20. package/src/internal/qs/utils.ts +2 -2
  21. package/src/pagination.ts +1 -1
  22. package/src/resource.ts +1 -1
  23. package/src/resources/auth-sessions.ts +2 -2
  24. package/src/resources/end-users.ts +3 -3
  25. package/src/resources/index.ts +3 -3
  26. package/src/resources/qbd/account-tax-lines.ts +2 -2
  27. package/src/resources/qbd/accounts.ts +2 -2
  28. package/src/resources/qbd/bill-check-payments.ts +3 -3
  29. package/src/resources/qbd/bill-credit-card-payments.ts +3 -3
  30. package/src/resources/qbd/bills.ts +3 -3
  31. package/src/resources/qbd/checks.ts +3 -3
  32. package/src/resources/qbd/classes.ts +2 -2
  33. package/src/resources/qbd/company.ts +2 -2
  34. package/src/resources/qbd/credit-card-charges.ts +3 -3
  35. package/src/resources/qbd/credit-card-credits.ts +3 -3
  36. package/src/resources/qbd/credit-memos.ts +3 -3
  37. package/src/resources/qbd/customers.ts +3 -3
  38. package/src/resources/qbd/date-driven-terms.ts +2 -2
  39. package/src/resources/qbd/discount-items.ts +3 -3
  40. package/src/resources/qbd/employees.ts +3 -3
  41. package/src/resources/qbd/estimates.ts +3 -3
  42. package/src/resources/qbd/index.ts +47 -47
  43. package/src/resources/qbd/inventory-adjustments.ts +2 -2
  44. package/src/resources/qbd/inventory-assembly-items.ts +3 -3
  45. package/src/resources/qbd/inventory-items.ts +3 -3
  46. package/src/resources/qbd/inventory-sites.ts +2 -2
  47. package/src/resources/qbd/invoices.ts +3 -3
  48. package/src/resources/qbd/item-groups.ts +3 -3
  49. package/src/resources/qbd/item-receipts.ts +3 -3
  50. package/src/resources/qbd/item-sites.ts +3 -3
  51. package/src/resources/qbd/journal-entries.ts +3 -3
  52. package/src/resources/qbd/non-inventory-items.ts +3 -3
  53. package/src/resources/qbd/other-names.ts +2 -2
  54. package/src/resources/qbd/payment-methods.ts +2 -2
  55. package/src/resources/qbd/payroll-wage-items.ts +3 -3
  56. package/src/resources/qbd/preferences.ts +2 -2
  57. package/src/resources/qbd/price-levels.ts +2 -2
  58. package/src/resources/qbd/purchase-orders.ts +3 -3
  59. package/src/resources/qbd/qbd.ts +94 -94
  60. package/src/resources/qbd/receive-payments.ts +3 -3
  61. package/src/resources/qbd/sales-orders.ts +3 -3
  62. package/src/resources/qbd/sales-receipts.ts +3 -3
  63. package/src/resources/qbd/sales-representatives.ts +2 -2
  64. package/src/resources/qbd/sales-tax-codes.ts +2 -2
  65. package/src/resources/qbd/sales-tax-items.ts +3 -3
  66. package/src/resources/qbd/service-items.ts +3 -3
  67. package/src/resources/qbd/standard-terms.ts +2 -2
  68. package/src/resources/qbd/subtotal-items.ts +3 -3
  69. package/src/resources/qbd/time-tracking-activities.ts +3 -3
  70. package/src/resources/qbd/transactions.ts +3 -3
  71. package/src/resources/qbd/transfers.ts +3 -3
  72. package/src/resources/qbd/vendor-credits.ts +3 -3
  73. package/src/resources/qbd/vendors.ts +3 -3
  74. package/src/resources/qbd.ts +1 -1
  75. package/src/resources.ts +1 -1
  76. package/src/shims/node.ts +3 -3
  77. package/src/shims/web.ts +3 -3
  78. package/src/uploads.ts +4 -4
  79. package/src/version.ts +1 -1
  80. package/version.d.ts +1 -1
  81. package/version.js +1 -1
  82. package/version.mjs +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## 12.9.0 (2025-06-06)
4
+
5
+ Full Changelog: [v12.8.1...v12.9.0](https://github.com/conductor-is/quickbooks-desktop-node/compare/v12.8.1...v12.9.0)
6
+
7
+ ### Features
8
+
9
+ * **mcp:** implement support for binary responses ([e5261e6](https://github.com/conductor-is/quickbooks-desktop-node/commit/e5261e6e4aaf89d7a06aeed09214e18a84d1a83c))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **docs:** use top-level-await in example snippets ([1b9e6e3](https://github.com/conductor-is/quickbooks-desktop-node/commit/1b9e6e39772f0bc760599e41fd20d674338dd90c))
15
+
16
+ ## 12.8.1 (2025-06-03)
17
+
18
+ Full Changelog: [v12.8.0...v12.8.1](https://github.com/conductor-is/quickbooks-desktop-node/compare/v12.8.0...v12.8.1)
19
+
20
+ ### Chores
21
+
22
+ * configure new SDK language ([d234759](https://github.com/conductor-is/quickbooks-desktop-node/commit/d23475905e81078975eeaff672679256b904c632))
23
+ * **docs:** grammar improvements ([9bee3cb](https://github.com/conductor-is/quickbooks-desktop-node/commit/9bee3cb5a034e7ecd7591147e98f3b87b040213c))
24
+ * improve publish-npm script --latest tag logic ([ac1f4d7](https://github.com/conductor-is/quickbooks-desktop-node/commit/ac1f4d73e44a970360a0a5a24993719a90e958a4))
25
+
26
+
27
+ ### Documentation
28
+
29
+ * **pagination:** improve naming ([e1acccb](https://github.com/conductor-is/quickbooks-desktop-node/commit/e1acccbecbb0a602a6291be5beff32f93238d704))
30
+
3
31
  ## 12.8.0 (2025-05-16)
4
32
 
5
33
  Full Changelog: [v12.7.0...v12.8.0](https://github.com/conductor-is/quickbooks-desktop-node/compare/v12.7.0...v12.8.0)
package/README.md CHANGED
@@ -72,14 +72,10 @@ const conductor = new Conductor({
72
72
  apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
73
73
  });
74
74
 
75
- async function main() {
76
- const page = await conductor.qbd.invoices.list({ conductorEndUserId: 'YOUR_END_USER_ID' });
77
- const invoice = page.data[0];
75
+ const page = await conductor.qbd.invoices.list({ conductorEndUserId: 'YOUR_END_USER_ID' });
76
+ const invoice = page.data[0];
78
77
 
79
- console.log(invoice.id);
80
- }
81
-
82
- main();
78
+ console.log(invoice.id);
83
79
  ```
84
80
 
85
81
  ### Request & Response types
@@ -94,12 +90,8 @@ const conductor = new Conductor({
94
90
  apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
95
91
  });
96
92
 
97
- async function main() {
98
- const params: Conductor.Qbd.InvoiceListParams = { conductorEndUserId: 'YOUR_END_USER_ID' };
99
- const [invoice]: [Conductor.Qbd.Invoice] = await conductor.qbd.invoices.list(params);
100
- }
101
-
102
- main();
93
+ const params: Conductor.Qbd.InvoiceListParams = { conductorEndUserId: 'YOUR_END_USER_ID' };
94
+ const [invoice]: [Conductor.Qbd.Invoice] = await conductor.qbd.invoices.list(params);
103
95
  ```
104
96
 
105
97
  Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
@@ -112,21 +104,15 @@ a subclass of `APIError` will be thrown:
112
104
 
113
105
  <!-- prettier-ignore -->
114
106
  ```ts
115
- async function main() {
116
- const page = await conductor.qbd.invoices
117
- .list({ conductorEndUserId: 'YOUR_END_USER_ID' })
118
- .catch(async (err) => {
119
- if (err instanceof Conductor.APIError) {
120
- console.log(err.status); // 400
121
- console.log(err.name); // BadRequestError
122
- console.log(err.headers); // {server: 'nginx', ...}
123
- } else {
124
- throw err;
125
- }
126
- });
127
- }
128
-
129
- main();
107
+ const page = await conductor.qbd.invoices.list({ conductorEndUserId: 'YOUR_END_USER_ID' }).catch(async (err) => {
108
+ if (err instanceof Conductor.APIError) {
109
+ console.log(err.status); // 400
110
+ console.log(err.name); // BadRequestError
111
+ console.log(err.headers); // {server: 'nginx', ...}
112
+ } else {
113
+ throw err;
114
+ }
115
+ });
130
116
  ```
131
117
 
132
118
  Error codes are as follows:
@@ -190,13 +176,13 @@ List methods in the Conductor API are paginated.
190
176
  You can use the `for await … of` syntax to iterate through items across all pages:
191
177
 
192
178
  ```ts
193
- async function fetchAllQbdInvoices(params) {
194
- const allQbdInvoices = [];
179
+ async function fetchAllInvoices(params) {
180
+ const allInvoices = [];
195
181
  // Automatically fetches more pages as needed.
196
182
  for await (const invoice of conductor.qbd.invoices.list({ conductorEndUserId: 'YOUR_END_USER_ID' })) {
197
- allQbdInvoices.push(invoice);
183
+ allInvoices.push(invoice);
198
184
  }
199
- return allQbdInvoices;
185
+ return allInvoices;
200
186
  }
201
187
  ```
202
188
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "12.8.0",
3
+ "version": "12.9.0",
4
4
  "description": "The official TypeScript library for the Conductor API",
5
5
  "author": "Conductor <support@conductor.is>",
6
6
  "types": "./index.d.ts",
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Disclaimer: modules in _shims aren't intended to be imported by SDK users.
3
3
  */
4
- export * from '../bun-runtime';
4
+ export * from "../bun-runtime.js";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Disclaimer: modules in _shims aren't intended to be imported by SDK users.
3
3
  */
4
- export * from '../node-runtime';
4
+ export * from "../node-runtime.js";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Disclaimer: modules in _shims aren't intended to be imported by SDK users.
3
3
  */
4
- export * from '../web-runtime';
4
+ export * from "../web-runtime.js";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Disclaimer: modules in _shims aren't intended to be imported by SDK users.
3
3
  */
4
- export * from '../node-types';
4
+ export * from "../node-types.js";
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Disclaimer: modules in _shims aren't intended to be imported by SDK users.
3
3
  */
4
- import { type Shims } from './registry';
5
- import { getRuntime as getWebRuntime } from './web-runtime';
4
+ import { type Shims } from "./registry.js";
5
+ import { getRuntime as getWebRuntime } from "./web-runtime.js";
6
6
  import { ReadStream as FsReadStream } from 'node:fs';
7
7
 
8
8
  export function getRuntime(): Shims {
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Disclaimer: modules in _shims aren't intended to be imported by SDK users.
3
3
  */
4
- import { manual } from './manual-types';
5
- import * as auto from "./auto/types";
6
- import { type RequestOptions } from '../core';
4
+ import { manual } from "./manual-types.js";
5
+ import * as auto from "./auto/types.js";
6
+ import { type RequestOptions } from "../core.js";
7
7
 
8
8
  type SelectType<Manual, Auto> = unknown extends Manual ? Auto : Manual;
9
9
 
@@ -2,7 +2,7 @@
2
2
  * Disclaimer: modules in _shims aren't intended to be imported by SDK users.
3
3
  */
4
4
  import * as shims from './registry.mjs';
5
- import * as auto from "./auto/runtime";
5
+ import * as auto from "./auto/runtime.mjs";
6
6
  export const init = () => {
7
7
  if (!shims.kind) shims.setShims(auto.getRuntime(), { auto: true });
8
8
  };
@@ -10,9 +10,9 @@ import { ReadStream as FsReadStream } from 'node:fs';
10
10
  import { type Agent } from 'node:http';
11
11
  import { FormDataEncoder } from 'form-data-encoder';
12
12
  import { Readable } from 'node:stream';
13
- import { type RequestOptions } from '../core';
14
- import { MultipartBody } from './MultipartBody';
15
- import { type Shims } from './registry';
13
+ import { type RequestOptions } from "../core.js";
14
+ import { MultipartBody } from "./MultipartBody.js";
15
+ import { type Shims } from "./registry.js";
16
16
  import { ReadableStream } from 'node:stream/web';
17
17
 
18
18
  type FileFromPathOptions = Omit<FilePropertyBag, 'lastModified'>;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Disclaimer: modules in _shims aren't intended to be imported by SDK users.
3
3
  */
4
- import { type RequestOptions } from '../core';
4
+ import { type RequestOptions } from "../core.js";
5
5
 
6
6
  export interface Shims {
7
7
  kind: string;
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Disclaimer: modules in _shims aren't intended to be imported by SDK users.
3
3
  */
4
- import { MultipartBody } from './MultipartBody';
5
- import { type RequestOptions } from '../core';
6
- import { type Shims } from './registry';
4
+ import { MultipartBody } from "./MultipartBody.js";
5
+ import { type RequestOptions } from "../core.js";
6
+ import { type Shims } from "./registry.js";
7
7
 
8
8
  export function getRuntime({ manuallyImported }: { manuallyImported?: boolean } = {}): Shims {
9
9
  const recommendation =
package/src/core.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { VERSION } from './version';
1
+ import { VERSION } from "./version.js";
2
2
  import {
3
3
  ConductorError,
4
4
  APIError,
5
5
  APIConnectionError,
6
6
  APIConnectionTimeoutError,
7
7
  APIUserAbortError,
8
- } from './error';
8
+ } from "./error.js";
9
9
  import {
10
10
  kind as shimsKind,
11
11
  type Readable,
@@ -17,19 +17,19 @@ import {
17
17
  type Response,
18
18
  type HeadersInit,
19
19
  init,
20
- } from './_shims/index';
20
+ } from "./_shims/index.js";
21
21
 
22
22
  // try running side effects outside of _shims/index to workaround https://github.com/vercel/next.js/issues/76881
23
23
  init();
24
24
 
25
25
  export { type Response };
26
- import { BlobLike, isBlobLike, isMultipartBody } from './uploads';
26
+ import { BlobLike, isBlobLike, isMultipartBody } from "./uploads.js";
27
27
  export {
28
28
  maybeMultipartFormRequestOptions,
29
29
  multipartFormRequestOptions,
30
30
  createForm,
31
31
  type Uploadable,
32
- } from './uploads';
32
+ } from "./uploads.js";
33
33
 
34
34
  export type Fetch = (url: RequestInfo, init?: RequestInit) => Promise<Response>;
35
35
 
package/src/error.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { castToError, Headers } from './core';
3
+ import { castToError, Headers } from "./core.js";
4
4
 
5
5
  export class ConductorError extends Error {}
6
6
 
package/src/index.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { type Agent } from './_shims/index';
4
- import * as qs from './internal/qs';
5
- import * as Core from './core';
6
- import * as Errors from './error';
7
- import * as Pagination from './pagination';
8
- import { type CursorPageParams, CursorPageResponse } from './pagination';
9
- import * as Uploads from './uploads';
10
- import * as API from './resources/index';
11
- import { AuthSession, AuthSessionCreateParams, AuthSessions } from './resources/auth-sessions';
3
+ import { type Agent } from "./_shims/index.js";
4
+ import * as qs from "./internal/qs.js";
5
+ import * as Core from "./core.js";
6
+ import * as Errors from "./error.js";
7
+ import * as Pagination from "./pagination.js";
8
+ import { type CursorPageParams, CursorPageResponse } from "./pagination.js";
9
+ import * as Uploads from "./uploads.js";
10
+ import * as API from "./resources/index.js";
11
+ import { AuthSession, AuthSessionCreateParams, AuthSessions } from "./resources/auth-sessions.js";
12
12
  import {
13
13
  EndUser,
14
14
  EndUserCreateParams,
@@ -17,8 +17,8 @@ import {
17
17
  EndUserPassthroughParams,
18
18
  EndUserPassthroughResponse,
19
19
  EndUsers,
20
- } from './resources/end-users';
21
- import { Qbd, QbdHealthCheckParams, QbdHealthCheckResponse } from './resources/qbd/qbd';
20
+ } from "./resources/end-users.js";
21
+ import { Qbd, QbdHealthCheckParams, QbdHealthCheckResponse } from "./resources/qbd/qbd.js";
22
22
 
23
23
  export interface ClientOptions {
24
24
  /**
@@ -209,7 +209,7 @@ export declare namespace Conductor {
209
209
  };
210
210
  }
211
211
 
212
- export { toFile, fileFromPath } from './uploads';
212
+ export { toFile, fileFromPath } from "./uploads.js";
213
213
  export {
214
214
  ConductorError,
215
215
  APIError,
@@ -224,6 +224,6 @@ export {
224
224
  InternalServerError,
225
225
  PermissionDeniedError,
226
226
  UnprocessableEntityError,
227
- } from './error';
227
+ } from "./error.js";
228
228
 
229
229
  export default Conductor;
@@ -1,4 +1,4 @@
1
- import type { Format } from './types';
1
+ import type { Format } from "./types.js";
2
2
 
3
3
  export const default_format: Format = 'RFC3986';
4
4
  export const formatters: Record<Format, (str: PropertyKey) => string> = {
@@ -1,4 +1,4 @@
1
- import { default_format, formatters, RFC1738, RFC3986 } from './formats';
1
+ import { default_format, formatters, RFC1738, RFC3986 } from "./formats.js";
2
2
 
3
3
  const formats = {
4
4
  formatters,
@@ -7,7 +7,7 @@ const formats = {
7
7
  default: default_format,
8
8
  };
9
9
 
10
- export { stringify } from './stringify';
10
+ export { stringify } from "./stringify.js";
11
11
  export { formats };
12
12
 
13
- export type { DefaultDecoder, DefaultEncoder, Format, ParseOptions, StringifyOptions } from './types';
13
+ export type { DefaultDecoder, DefaultEncoder, Format, ParseOptions, StringifyOptions } from "./types.js";
@@ -1,6 +1,6 @@
1
- import { encode, is_buffer, maybe_map } from './utils';
2
- import { default_format, formatters } from './formats';
3
- import type { NonNullableProperties, StringifyOptions } from './types';
1
+ import { encode, is_buffer, maybe_map } from "./utils.js";
2
+ import { default_format, formatters } from "./formats.js";
3
+ import type { NonNullableProperties, StringifyOptions } from "./types.js";
4
4
 
5
5
  const has = Object.prototype.hasOwnProperty;
6
6
 
@@ -1,5 +1,5 @@
1
- import { RFC1738 } from './formats';
2
- import type { DefaultEncoder, Format } from './types';
1
+ import { RFC1738 } from "./formats.js";
2
+ import type { DefaultEncoder, Format } from "./types.js";
3
3
 
4
4
  const has = Object.prototype.hasOwnProperty;
5
5
  const is_array = Array.isArray;
package/src/pagination.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { AbstractPage, Response, APIClient, FinalRequestOptions, PageInfo } from './core';
3
+ import { AbstractPage, Response, APIClient, FinalRequestOptions, PageInfo } from "./core.js";
4
4
 
5
5
  export interface CursorPageResponse<Item> {
6
6
  data: Array<Item>;
package/src/resource.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import type { Conductor } from './index';
3
+ import type { Conductor } from "./index.js";
4
4
 
5
5
  export class APIResource {
6
6
  protected _client: Conductor;
@@ -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 AuthSessions 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 { 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 EndUsers extends APIResource {
8
8
  /**
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export { AuthSessions, type AuthSession, type AuthSessionCreateParams } from './auth-sessions';
3
+ export { AuthSessions, type AuthSession, type AuthSessionCreateParams } from "./auth-sessions.js";
4
4
  export {
5
5
  EndUsers,
6
6
  type EndUser,
@@ -9,5 +9,5 @@ export {
9
9
  type EndUserPassthroughResponse,
10
10
  type EndUserCreateParams,
11
11
  type EndUserPassthroughParams,
12
- } from './end-users';
13
- export { Qbd, type QbdHealthCheckResponse, type QbdHealthCheckParams } from './qbd/qbd';
12
+ } from "./end-users.js";
13
+ export { Qbd, type QbdHealthCheckResponse, type QbdHealthCheckParams } from "./qbd/qbd.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 Core from '../../core';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
5
 
6
6
  export class AccountTaxLines extends APIResource {
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 { 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 Accounts 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 { CursorPage, type CursorPageParams } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import { CursorPage, type CursorPageParams } from "../../pagination.js";
6
6
 
7
7
  export class BillCheckPayments extends APIResource {
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 { APIResource } from '../../resource';
4
- import * as Core from '../../core';
5
- import { CursorPage, type CursorPageParams } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import { CursorPage, type CursorPageParams } from "../../pagination.js";
6
6
 
7
7
  export class BillCreditCardPayments extends APIResource {
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 { APIResource } from '../../resource';
4
- import * as Core from '../../core';
5
- import { CursorPage, type CursorPageParams } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import { CursorPage, type CursorPageParams } from "../../pagination.js";
6
6
 
7
7
  export class Bills extends APIResource {
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 { APIResource } from '../../resource';
4
- import * as Core from '../../core';
5
- import { CursorPage, type CursorPageParams } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import { CursorPage, type CursorPageParams } from "../../pagination.js";
6
6
 
7
7
  export class Checks extends APIResource {
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 { 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 Classes extends APIResource {
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 { 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 CompanyResource 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 { CursorPage, type CursorPageParams } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import { CursorPage, type CursorPageParams } from "../../pagination.js";
6
6
 
7
7
  export class CreditCardCharges extends APIResource {
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 { APIResource } from '../../resource';
4
- import * as Core from '../../core';
5
- import { CursorPage, type CursorPageParams } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import { CursorPage, type CursorPageParams } from "../../pagination.js";
6
6
 
7
7
  export class CreditCardCredits extends APIResource {
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 { APIResource } from '../../resource';
4
- import * as Core from '../../core';
5
- import { CursorPage, type CursorPageParams } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import { CursorPage, type CursorPageParams } from "../../pagination.js";
6
6
 
7
7
  export class CreditMemos extends APIResource {
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 { APIResource } from '../../resource';
4
- import * as Core from '../../core';
5
- import { CursorPage, type CursorPageParams } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import { CursorPage, type CursorPageParams } from "../../pagination.js";
6
6
 
7
7
  export class Customers extends APIResource {
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 { 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 DateDrivenTerms 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 { CursorPage, type CursorPageParams } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import { CursorPage, type CursorPageParams } from "../../pagination.js";
6
6
 
7
7
  export class DiscountItems extends APIResource {
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 { APIResource } from '../../resource';
4
- import * as Core from '../../core';
5
- import { CursorPage, type CursorPageParams } from '../../pagination';
3
+ import { APIResource } from "../../resource.js";
4
+ import * as Core from "../../core.js";
5
+ import { CursorPage, type CursorPageParams } from "../../pagination.js";
6
6
 
7
7
  export class Employees extends APIResource {
8
8
  /**