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.
- package/CHANGELOG.md +28 -0
- package/README.md +18 -32
- package/package.json +1 -1
- package/src/_shims/auto/runtime-bun.ts +1 -1
- package/src/_shims/auto/runtime-node.ts +1 -1
- package/src/_shims/auto/runtime.ts +1 -1
- package/src/_shims/auto/types-node.ts +1 -1
- package/src/_shims/bun-runtime.ts +2 -2
- package/src/_shims/index.d.ts +3 -3
- package/src/_shims/index.mjs +1 -1
- package/src/_shims/node-runtime.ts +3 -3
- package/src/_shims/registry.ts +1 -1
- package/src/_shims/web-runtime.ts +3 -3
- package/src/core.ts +5 -5
- package/src/error.ts +1 -1
- package/src/index.ts +13 -13
- package/src/internal/qs/formats.ts +1 -1
- package/src/internal/qs/index.ts +3 -3
- package/src/internal/qs/stringify.ts +3 -3
- package/src/internal/qs/utils.ts +2 -2
- package/src/pagination.ts +1 -1
- package/src/resource.ts +1 -1
- package/src/resources/auth-sessions.ts +2 -2
- package/src/resources/end-users.ts +3 -3
- package/src/resources/index.ts +3 -3
- package/src/resources/qbd/account-tax-lines.ts +2 -2
- package/src/resources/qbd/accounts.ts +2 -2
- package/src/resources/qbd/bill-check-payments.ts +3 -3
- package/src/resources/qbd/bill-credit-card-payments.ts +3 -3
- package/src/resources/qbd/bills.ts +3 -3
- package/src/resources/qbd/checks.ts +3 -3
- package/src/resources/qbd/classes.ts +2 -2
- package/src/resources/qbd/company.ts +2 -2
- package/src/resources/qbd/credit-card-charges.ts +3 -3
- package/src/resources/qbd/credit-card-credits.ts +3 -3
- package/src/resources/qbd/credit-memos.ts +3 -3
- package/src/resources/qbd/customers.ts +3 -3
- package/src/resources/qbd/date-driven-terms.ts +2 -2
- package/src/resources/qbd/discount-items.ts +3 -3
- package/src/resources/qbd/employees.ts +3 -3
- package/src/resources/qbd/estimates.ts +3 -3
- package/src/resources/qbd/index.ts +47 -47
- package/src/resources/qbd/inventory-adjustments.ts +2 -2
- package/src/resources/qbd/inventory-assembly-items.ts +3 -3
- package/src/resources/qbd/inventory-items.ts +3 -3
- package/src/resources/qbd/inventory-sites.ts +2 -2
- package/src/resources/qbd/invoices.ts +3 -3
- package/src/resources/qbd/item-groups.ts +3 -3
- package/src/resources/qbd/item-receipts.ts +3 -3
- package/src/resources/qbd/item-sites.ts +3 -3
- package/src/resources/qbd/journal-entries.ts +3 -3
- package/src/resources/qbd/non-inventory-items.ts +3 -3
- package/src/resources/qbd/other-names.ts +2 -2
- package/src/resources/qbd/payment-methods.ts +2 -2
- package/src/resources/qbd/payroll-wage-items.ts +3 -3
- package/src/resources/qbd/preferences.ts +2 -2
- package/src/resources/qbd/price-levels.ts +2 -2
- package/src/resources/qbd/purchase-orders.ts +3 -3
- package/src/resources/qbd/qbd.ts +94 -94
- package/src/resources/qbd/receive-payments.ts +3 -3
- package/src/resources/qbd/sales-orders.ts +3 -3
- package/src/resources/qbd/sales-receipts.ts +3 -3
- package/src/resources/qbd/sales-representatives.ts +2 -2
- package/src/resources/qbd/sales-tax-codes.ts +2 -2
- package/src/resources/qbd/sales-tax-items.ts +3 -3
- package/src/resources/qbd/service-items.ts +3 -3
- package/src/resources/qbd/standard-terms.ts +2 -2
- package/src/resources/qbd/subtotal-items.ts +3 -3
- package/src/resources/qbd/time-tracking-activities.ts +3 -3
- package/src/resources/qbd/transactions.ts +3 -3
- package/src/resources/qbd/transfers.ts +3 -3
- package/src/resources/qbd/vendor-credits.ts +3 -3
- package/src/resources/qbd/vendors.ts +3 -3
- package/src/resources/qbd.ts +1 -1
- package/src/resources.ts +1 -1
- package/src/shims/node.ts +3 -3
- package/src/shims/web.ts +3 -3
- package/src/uploads.ts +4 -4
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- 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
|
-
|
|
76
|
-
|
|
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
|
-
|
|
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
|
-
|
|
98
|
-
|
|
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
|
-
|
|
116
|
-
|
|
117
|
-
.
|
|
118
|
-
.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
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
|
|
194
|
-
const
|
|
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
|
-
|
|
183
|
+
allInvoices.push(invoice);
|
|
198
184
|
}
|
|
199
|
-
return
|
|
185
|
+
return allInvoices;
|
|
200
186
|
}
|
|
201
187
|
```
|
|
202
188
|
|
package/package.json
CHANGED
|
@@ -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
|
|
5
|
-
import { getRuntime as getWebRuntime } from
|
|
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 {
|
package/src/_shims/index.d.ts
CHANGED
|
@@ -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
|
|
5
|
-
import * as auto from "./auto/types";
|
|
6
|
-
import { type RequestOptions } from
|
|
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
|
|
package/src/_shims/index.mjs
CHANGED
|
@@ -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
|
|
14
|
-
import { MultipartBody } from
|
|
15
|
-
import { type Shims } from
|
|
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'>;
|
package/src/_shims/registry.ts
CHANGED
|
@@ -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
|
|
5
|
-
import { type RequestOptions } from
|
|
6
|
-
import { type Shims } from
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
32
|
+
} from "./uploads.js";
|
|
33
33
|
|
|
34
34
|
export type Fetch = (url: RequestInfo, init?: RequestInit) => Promise<Response>;
|
|
35
35
|
|
package/src/error.ts
CHANGED
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
|
|
4
|
-
import * as qs from
|
|
5
|
-
import * as Core from
|
|
6
|
-
import * as Errors from
|
|
7
|
-
import * as Pagination from
|
|
8
|
-
import { type CursorPageParams, CursorPageResponse } from
|
|
9
|
-
import * as Uploads from
|
|
10
|
-
import * as API from
|
|
11
|
-
import { AuthSession, AuthSessionCreateParams, AuthSessions } from
|
|
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
|
|
21
|
-
import { Qbd, QbdHealthCheckParams, QbdHealthCheckResponse } from
|
|
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
|
|
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
|
|
227
|
+
} from "./error.js";
|
|
228
228
|
|
|
229
229
|
export default Conductor;
|
package/src/internal/qs/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default_format, formatters, RFC1738, RFC3986 } from
|
|
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
|
|
10
|
+
export { stringify } from "./stringify.js";
|
|
11
11
|
export { formats };
|
|
12
12
|
|
|
13
|
-
export type { DefaultDecoder, DefaultEncoder, Format, ParseOptions, StringifyOptions } from
|
|
13
|
+
export type { DefaultDecoder, DefaultEncoder, Format, ParseOptions, StringifyOptions } from "./types.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { encode, is_buffer, maybe_map } from
|
|
2
|
-
import { default_format, formatters } from
|
|
3
|
-
import type { NonNullableProperties, StringifyOptions } from
|
|
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
|
|
package/src/internal/qs/utils.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RFC1738 } from
|
|
2
|
-
import type { DefaultEncoder, Format } from
|
|
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
|
|
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,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from
|
|
4
|
-
import * as Core from
|
|
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
|
|
4
|
-
import { isRequestOptions } from
|
|
5
|
-
import * as Core from
|
|
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
|
/**
|
package/src/resources/index.ts
CHANGED
|
@@ -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
|
|
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
|
|
13
|
-
export { Qbd, type QbdHealthCheckResponse, type QbdHealthCheckParams } from
|
|
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
|
|
4
|
-
import * as Core from
|
|
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
|
|
4
|
-
import * as Core from
|
|
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
|
|
4
|
-
import * as Core from
|
|
5
|
-
import { CursorPage, type CursorPageParams } from
|
|
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
|
|
4
|
-
import * as Core from
|
|
5
|
-
import { CursorPage, type CursorPageParams } from
|
|
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
|
|
4
|
-
import * as Core from
|
|
5
|
-
import { CursorPage, type CursorPageParams } from
|
|
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
|
|
4
|
-
import * as Core from
|
|
5
|
-
import { CursorPage, type CursorPageParams } from
|
|
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
|
|
4
|
-
import * as Core from
|
|
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
|
|
4
|
-
import * as Core from
|
|
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
|
|
4
|
-
import * as Core from
|
|
5
|
-
import { CursorPage, type CursorPageParams } from
|
|
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
|
|
4
|
-
import * as Core from
|
|
5
|
-
import { CursorPage, type CursorPageParams } from
|
|
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
|
|
4
|
-
import * as Core from
|
|
5
|
-
import { CursorPage, type CursorPageParams } from
|
|
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
|
|
4
|
-
import * as Core from
|
|
5
|
-
import { CursorPage, type CursorPageParams } from
|
|
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
|
|
4
|
-
import * as Core from
|
|
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
|
|
4
|
-
import * as Core from
|
|
5
|
-
import { CursorPage, type CursorPageParams } from
|
|
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
|
|
4
|
-
import * as Core from
|
|
5
|
-
import { CursorPage, type CursorPageParams } from
|
|
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
|
/**
|