conductor-node 12.8.1 → 12.10.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 +21 -0
- package/README.md +16 -28
- package/package.json +1 -1
- package/resources/auth-sessions.d.ts +1 -1
- package/resources/auth-sessions.js +1 -1
- package/resources/auth-sessions.mjs +1 -1
- package/resources/end-users.d.ts +5 -5
- package/resources/end-users.js +4 -4
- package/resources/end-users.mjs +4 -4
- package/resources/qbd/account-tax-lines.d.ts +1 -1
- package/resources/qbd/account-tax-lines.js +1 -1
- package/resources/qbd/account-tax-lines.mjs +1 -1
- package/resources/qbd/accounts.d.ts +4 -4
- package/resources/qbd/accounts.js +4 -4
- package/resources/qbd/accounts.mjs +4 -4
- package/resources/qbd/bill-check-payments.d.ts +5 -5
- package/resources/qbd/bill-check-payments.js +5 -5
- package/resources/qbd/bill-check-payments.mjs +5 -5
- package/resources/qbd/bill-credit-card-payments.d.ts +4 -4
- package/resources/qbd/bill-credit-card-payments.js +4 -4
- package/resources/qbd/bill-credit-card-payments.mjs +4 -4
- package/resources/qbd/bills.d.ts +5 -5
- package/resources/qbd/bills.js +5 -5
- package/resources/qbd/bills.mjs +5 -5
- package/resources/qbd/checks.d.ts +5 -5
- package/resources/qbd/checks.js +5 -5
- package/resources/qbd/checks.mjs +5 -5
- package/resources/qbd/classes.d.ts +4 -4
- package/resources/qbd/classes.js +4 -4
- package/resources/qbd/classes.mjs +4 -4
- package/resources/qbd/company.d.ts +1 -1
- package/resources/qbd/company.js +1 -1
- package/resources/qbd/company.mjs +1 -1
- package/resources/qbd/credit-card-charges.d.ts +5 -5
- package/resources/qbd/credit-card-charges.js +5 -5
- package/resources/qbd/credit-card-charges.mjs +5 -5
- package/resources/qbd/credit-card-credits.d.ts +5 -5
- package/resources/qbd/credit-card-credits.js +5 -5
- package/resources/qbd/credit-card-credits.mjs +5 -5
- package/resources/qbd/credit-memos.d.ts +7 -7
- package/resources/qbd/credit-memos.js +7 -7
- package/resources/qbd/credit-memos.mjs +7 -7
- package/resources/qbd/customers.d.ts +4 -4
- package/resources/qbd/customers.js +4 -4
- package/resources/qbd/customers.mjs +4 -4
- package/resources/qbd/date-driven-terms.d.ts +3 -3
- package/resources/qbd/date-driven-terms.js +3 -3
- package/resources/qbd/date-driven-terms.mjs +3 -3
- package/resources/qbd/discount-items.d.ts +16 -14
- package/resources/qbd/discount-items.d.ts.map +1 -1
- package/resources/qbd/discount-items.js +16 -14
- package/resources/qbd/discount-items.js.map +1 -1
- package/resources/qbd/discount-items.mjs +16 -14
- package/resources/qbd/discount-items.mjs.map +1 -1
- package/resources/qbd/employees.d.ts +4 -4
- package/resources/qbd/employees.js +4 -4
- package/resources/qbd/employees.mjs +4 -4
- package/resources/qbd/estimates.d.ts +5 -5
- package/resources/qbd/estimates.js +5 -5
- package/resources/qbd/estimates.mjs +5 -5
- package/resources/qbd/inventory-adjustments.d.ts +5 -5
- package/resources/qbd/inventory-adjustments.js +5 -5
- package/resources/qbd/inventory-adjustments.mjs +5 -5
- package/resources/qbd/inventory-assembly-items.d.ts +4 -4
- package/resources/qbd/inventory-assembly-items.js +4 -4
- package/resources/qbd/inventory-assembly-items.mjs +4 -4
- package/resources/qbd/inventory-items.d.ts +4 -4
- package/resources/qbd/inventory-items.js +4 -4
- package/resources/qbd/inventory-items.mjs +4 -4
- package/resources/qbd/inventory-sites.d.ts +7 -6
- package/resources/qbd/inventory-sites.d.ts.map +1 -1
- package/resources/qbd/inventory-sites.js +7 -6
- package/resources/qbd/inventory-sites.js.map +1 -1
- package/resources/qbd/inventory-sites.mjs +7 -6
- package/resources/qbd/inventory-sites.mjs.map +1 -1
- package/resources/qbd/invoices.d.ts +5 -5
- package/resources/qbd/invoices.js +5 -5
- package/resources/qbd/invoices.mjs +5 -5
- package/resources/qbd/item-groups.d.ts +6 -6
- package/resources/qbd/item-groups.js +6 -6
- package/resources/qbd/item-groups.mjs +6 -6
- package/resources/qbd/item-receipts.d.ts +15 -12
- package/resources/qbd/item-receipts.d.ts.map +1 -1
- package/resources/qbd/item-receipts.js +15 -12
- package/resources/qbd/item-receipts.js.map +1 -1
- package/resources/qbd/item-receipts.mjs +15 -12
- package/resources/qbd/item-receipts.mjs.map +1 -1
- package/resources/qbd/item-sites.d.ts +2 -2
- package/resources/qbd/item-sites.js +2 -2
- package/resources/qbd/item-sites.mjs +2 -2
- package/resources/qbd/journal-entries.d.ts +18 -17
- package/resources/qbd/journal-entries.d.ts.map +1 -1
- package/resources/qbd/journal-entries.js +18 -17
- package/resources/qbd/journal-entries.js.map +1 -1
- package/resources/qbd/journal-entries.mjs +18 -17
- package/resources/qbd/journal-entries.mjs.map +1 -1
- package/resources/qbd/non-inventory-items.d.ts +4 -4
- package/resources/qbd/non-inventory-items.js +4 -4
- package/resources/qbd/non-inventory-items.mjs +4 -4
- package/resources/qbd/other-names.d.ts +4 -4
- package/resources/qbd/other-names.js +4 -4
- package/resources/qbd/other-names.mjs +4 -4
- package/resources/qbd/payment-methods.d.ts +6 -5
- package/resources/qbd/payment-methods.d.ts.map +1 -1
- package/resources/qbd/payment-methods.js +6 -5
- package/resources/qbd/payment-methods.js.map +1 -1
- package/resources/qbd/payment-methods.mjs +6 -5
- package/resources/qbd/payment-methods.mjs.map +1 -1
- package/resources/qbd/payroll-wage-items.d.ts +3 -3
- package/resources/qbd/payroll-wage-items.js +3 -3
- package/resources/qbd/payroll-wage-items.mjs +3 -3
- package/resources/qbd/preferences.d.ts +4 -3
- package/resources/qbd/preferences.d.ts.map +1 -1
- package/resources/qbd/preferences.js +4 -3
- package/resources/qbd/preferences.js.map +1 -1
- package/resources/qbd/preferences.mjs +4 -3
- package/resources/qbd/preferences.mjs.map +1 -1
- package/resources/qbd/price-levels.d.ts +4 -4
- package/resources/qbd/price-levels.js +4 -4
- package/resources/qbd/price-levels.mjs +4 -4
- package/resources/qbd/purchase-orders.d.ts +5 -5
- package/resources/qbd/purchase-orders.js +5 -5
- package/resources/qbd/purchase-orders.mjs +5 -5
- package/resources/qbd/qbd.d.ts +1 -1
- package/resources/qbd/qbd.js +1 -1
- package/resources/qbd/qbd.mjs +1 -1
- package/resources/qbd/receive-payments.d.ts +5 -5
- package/resources/qbd/receive-payments.js +5 -5
- package/resources/qbd/receive-payments.mjs +5 -5
- package/resources/qbd/sales-orders.d.ts +7 -7
- package/resources/qbd/sales-orders.js +7 -7
- package/resources/qbd/sales-orders.mjs +7 -7
- package/resources/qbd/sales-receipts.d.ts +21 -18
- package/resources/qbd/sales-receipts.d.ts.map +1 -1
- package/resources/qbd/sales-receipts.js +21 -18
- package/resources/qbd/sales-receipts.js.map +1 -1
- package/resources/qbd/sales-receipts.mjs +21 -18
- package/resources/qbd/sales-receipts.mjs.map +1 -1
- package/resources/qbd/sales-representatives.d.ts +4 -4
- package/resources/qbd/sales-representatives.js +4 -4
- package/resources/qbd/sales-representatives.mjs +4 -4
- package/resources/qbd/sales-tax-codes.d.ts +19 -16
- package/resources/qbd/sales-tax-codes.d.ts.map +1 -1
- package/resources/qbd/sales-tax-codes.js +19 -16
- package/resources/qbd/sales-tax-codes.js.map +1 -1
- package/resources/qbd/sales-tax-codes.mjs +19 -16
- package/resources/qbd/sales-tax-codes.mjs.map +1 -1
- package/resources/qbd/sales-tax-items.d.ts +15 -13
- package/resources/qbd/sales-tax-items.d.ts.map +1 -1
- package/resources/qbd/sales-tax-items.js +15 -13
- package/resources/qbd/sales-tax-items.js.map +1 -1
- package/resources/qbd/sales-tax-items.mjs +15 -13
- package/resources/qbd/sales-tax-items.mjs.map +1 -1
- package/resources/qbd/service-items.d.ts +13 -10
- package/resources/qbd/service-items.d.ts.map +1 -1
- package/resources/qbd/service-items.js +13 -10
- package/resources/qbd/service-items.js.map +1 -1
- package/resources/qbd/service-items.mjs +13 -10
- package/resources/qbd/service-items.mjs.map +1 -1
- package/resources/qbd/standard-terms.d.ts +10 -8
- package/resources/qbd/standard-terms.d.ts.map +1 -1
- package/resources/qbd/standard-terms.js +10 -8
- package/resources/qbd/standard-terms.js.map +1 -1
- package/resources/qbd/standard-terms.mjs +10 -8
- package/resources/qbd/standard-terms.mjs.map +1 -1
- package/resources/qbd/subtotal-items.d.ts +15 -13
- package/resources/qbd/subtotal-items.d.ts.map +1 -1
- package/resources/qbd/subtotal-items.js +15 -13
- package/resources/qbd/subtotal-items.js.map +1 -1
- package/resources/qbd/subtotal-items.mjs +15 -13
- package/resources/qbd/subtotal-items.mjs.map +1 -1
- package/resources/qbd/time-tracking-activities.d.ts +5 -5
- package/resources/qbd/time-tracking-activities.js +5 -5
- package/resources/qbd/time-tracking-activities.mjs +5 -5
- package/resources/qbd/transactions.d.ts +6 -5
- package/resources/qbd/transactions.d.ts.map +1 -1
- package/resources/qbd/transactions.js +6 -5
- package/resources/qbd/transactions.js.map +1 -1
- package/resources/qbd/transactions.mjs +6 -5
- package/resources/qbd/transactions.mjs.map +1 -1
- package/resources/qbd/transfers.d.ts +4 -4
- package/resources/qbd/transfers.js +4 -4
- package/resources/qbd/transfers.mjs +4 -4
- package/resources/qbd/vendor-credits.d.ts +21 -18
- package/resources/qbd/vendor-credits.d.ts.map +1 -1
- package/resources/qbd/vendor-credits.js +21 -18
- package/resources/qbd/vendor-credits.js.map +1 -1
- package/resources/qbd/vendor-credits.mjs +21 -18
- package/resources/qbd/vendor-credits.mjs.map +1 -1
- package/resources/qbd/vendors.d.ts +4 -4
- package/resources/qbd/vendors.js +4 -4
- package/resources/qbd/vendors.mjs +4 -4
- package/src/resources/auth-sessions.ts +1 -1
- package/src/resources/end-users.ts +5 -5
- package/src/resources/qbd/account-tax-lines.ts +1 -1
- package/src/resources/qbd/accounts.ts +4 -4
- package/src/resources/qbd/bill-check-payments.ts +5 -5
- package/src/resources/qbd/bill-credit-card-payments.ts +4 -4
- package/src/resources/qbd/bills.ts +5 -5
- package/src/resources/qbd/checks.ts +5 -5
- package/src/resources/qbd/classes.ts +4 -4
- package/src/resources/qbd/company.ts +1 -1
- package/src/resources/qbd/credit-card-charges.ts +5 -5
- package/src/resources/qbd/credit-card-credits.ts +5 -5
- package/src/resources/qbd/credit-memos.ts +7 -7
- package/src/resources/qbd/customers.ts +4 -4
- package/src/resources/qbd/date-driven-terms.ts +3 -3
- package/src/resources/qbd/discount-items.ts +16 -14
- package/src/resources/qbd/employees.ts +4 -4
- package/src/resources/qbd/estimates.ts +5 -5
- package/src/resources/qbd/inventory-adjustments.ts +5 -5
- package/src/resources/qbd/inventory-assembly-items.ts +4 -4
- package/src/resources/qbd/inventory-items.ts +4 -4
- package/src/resources/qbd/inventory-sites.ts +7 -6
- package/src/resources/qbd/invoices.ts +5 -5
- package/src/resources/qbd/item-groups.ts +6 -6
- package/src/resources/qbd/item-receipts.ts +15 -12
- package/src/resources/qbd/item-sites.ts +2 -2
- package/src/resources/qbd/journal-entries.ts +18 -17
- package/src/resources/qbd/non-inventory-items.ts +4 -4
- package/src/resources/qbd/other-names.ts +4 -4
- package/src/resources/qbd/payment-methods.ts +6 -5
- package/src/resources/qbd/payroll-wage-items.ts +3 -3
- package/src/resources/qbd/preferences.ts +4 -3
- package/src/resources/qbd/price-levels.ts +4 -4
- package/src/resources/qbd/purchase-orders.ts +5 -5
- package/src/resources/qbd/qbd.ts +1 -1
- package/src/resources/qbd/receive-payments.ts +5 -5
- package/src/resources/qbd/sales-orders.ts +7 -7
- package/src/resources/qbd/sales-receipts.ts +21 -18
- package/src/resources/qbd/sales-representatives.ts +4 -4
- package/src/resources/qbd/sales-tax-codes.ts +19 -16
- package/src/resources/qbd/sales-tax-items.ts +15 -13
- package/src/resources/qbd/service-items.ts +13 -10
- package/src/resources/qbd/standard-terms.ts +10 -8
- package/src/resources/qbd/subtotal-items.ts +15 -13
- package/src/resources/qbd/time-tracking-activities.ts +5 -5
- package/src/resources/qbd/transactions.ts +6 -5
- package/src/resources/qbd/transfers.ts +4 -4
- package/src/resources/qbd/vendor-credits.ts +21 -18
- package/src/resources/qbd/vendors.ts +4 -4
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 12.10.0 (2025-06-10)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v12.9.0...v12.10.0](https://github.com/conductor-is/quickbooks-desktop-node/compare/v12.9.0...v12.10.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([e933b41](https://github.com/conductor-is/quickbooks-desktop-node/commit/e933b411d299a33c6968aa89b0ac5ec546415ee7))
|
|
10
|
+
|
|
11
|
+
## 12.9.0 (2025-06-06)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v12.8.1...v12.9.0](https://github.com/conductor-is/quickbooks-desktop-node/compare/v12.8.1...v12.9.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **mcp:** implement support for binary responses ([e5261e6](https://github.com/conductor-is/quickbooks-desktop-node/commit/e5261e6e4aaf89d7a06aeed09214e18a84d1a83c))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
|
|
22
|
+
* **docs:** use top-level-await in example snippets ([1b9e6e3](https://github.com/conductor-is/quickbooks-desktop-node/commit/1b9e6e39772f0bc760599e41fd20d674338dd90c))
|
|
23
|
+
|
|
3
24
|
## 12.8.1 (2025-06-03)
|
|
4
25
|
|
|
5
26
|
Full Changelog: [v12.8.0...v12.8.1](https://github.com/conductor-is/quickbooks-desktop-node/compare/v12.8.0...v12.8.1)
|
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,17 @@ 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
|
-
|
|
125
|
-
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
main();
|
|
107
|
+
const page = await conductor.qbd.invoices
|
|
108
|
+
.list({ conductorEndUserId: 'YOUR_END_USER_ID' })
|
|
109
|
+
.catch(async (err) => {
|
|
110
|
+
if (err instanceof Conductor.APIError) {
|
|
111
|
+
console.log(err.status); // 400
|
|
112
|
+
console.log(err.name); // BadRequestError
|
|
113
|
+
console.log(err.headers); // {server: 'nginx', ...}
|
|
114
|
+
} else {
|
|
115
|
+
throw err;
|
|
116
|
+
}
|
|
117
|
+
});
|
|
130
118
|
```
|
|
131
119
|
|
|
132
120
|
Error codes are as follows:
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ export declare class AuthSessions extends APIResource {
|
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
11
|
-
* const authSession = await
|
|
11
|
+
* const authSession = await conductor.authSessions.create({
|
|
12
12
|
* endUserId: 'end_usr_1234567abcdefg',
|
|
13
13
|
* publishableKey: '{{YOUR_PUBLISHABLE_KEY}}',
|
|
14
14
|
* });
|
|
@@ -11,7 +11,7 @@ class AuthSessions extends resource_1.APIResource {
|
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```ts
|
|
14
|
-
* const authSession = await
|
|
14
|
+
* const authSession = await conductor.authSessions.create({
|
|
15
15
|
* endUserId: 'end_usr_1234567abcdefg',
|
|
16
16
|
* publishableKey: '{{YOUR_PUBLISHABLE_KEY}}',
|
|
17
17
|
* });
|
|
@@ -8,7 +8,7 @@ export class AuthSessions extends APIResource {
|
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
11
|
-
* const authSession = await
|
|
11
|
+
* const authSession = await conductor.authSessions.create({
|
|
12
12
|
* endUserId: 'end_usr_1234567abcdefg',
|
|
13
13
|
* publishableKey: '{{YOUR_PUBLISHABLE_KEY}}',
|
|
14
14
|
* });
|
package/resources/end-users.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare class EndUsers extends APIResource {
|
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* ```ts
|
|
9
|
-
* const endUser = await
|
|
9
|
+
* const endUser = await conductor.endUsers.create({
|
|
10
10
|
* companyName: 'Acme Inc.',
|
|
11
11
|
* email: 'alice@acme.com',
|
|
12
12
|
* sourceId: '12345678-abcd-abcd-example-1234567890ab',
|
|
@@ -19,7 +19,7 @@ export declare class EndUsers extends APIResource {
|
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* ```ts
|
|
22
|
-
* const endUser = await
|
|
22
|
+
* const endUser = await conductor.endUsers.retrieve(
|
|
23
23
|
* 'end_usr_1234567abcdefg',
|
|
24
24
|
* );
|
|
25
25
|
* ```
|
|
@@ -30,7 +30,7 @@ export declare class EndUsers extends APIResource {
|
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* ```ts
|
|
33
|
-
* const endUsers = await
|
|
33
|
+
* const endUsers = await conductor.endUsers.list();
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
list(options?: Core.RequestOptions): Core.APIPromise<EndUserListResponse>;
|
|
@@ -39,7 +39,7 @@ export declare class EndUsers extends APIResource {
|
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* ```ts
|
|
42
|
-
* const endUser = await
|
|
42
|
+
* const endUser = await conductor.endUsers.delete(
|
|
43
43
|
* 'end_usr_1234567abcdefg',
|
|
44
44
|
* );
|
|
45
45
|
* ```
|
|
@@ -51,7 +51,7 @@ export declare class EndUsers extends APIResource {
|
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* ```ts
|
|
54
|
-
* const response = await
|
|
54
|
+
* const response = await conductor.endUsers.passthrough(
|
|
55
55
|
* 'end_usr_1234567abcdefg',
|
|
56
56
|
* 'quickbooks_desktop',
|
|
57
57
|
* { foo: 'bar' },
|
package/resources/end-users.js
CHANGED
|
@@ -10,7 +10,7 @@ class EndUsers extends resource_1.APIResource {
|
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
13
|
-
* const endUser = await
|
|
13
|
+
* const endUser = await conductor.endUsers.create({
|
|
14
14
|
* companyName: 'Acme Inc.',
|
|
15
15
|
* email: 'alice@acme.com',
|
|
16
16
|
* sourceId: '12345678-abcd-abcd-example-1234567890ab',
|
|
@@ -25,7 +25,7 @@ class EndUsers extends resource_1.APIResource {
|
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* ```ts
|
|
28
|
-
* const endUser = await
|
|
28
|
+
* const endUser = await conductor.endUsers.retrieve(
|
|
29
29
|
* 'end_usr_1234567abcdefg',
|
|
30
30
|
* );
|
|
31
31
|
* ```
|
|
@@ -38,7 +38,7 @@ class EndUsers extends resource_1.APIResource {
|
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* ```ts
|
|
41
|
-
* const endUsers = await
|
|
41
|
+
* const endUsers = await conductor.endUsers.list();
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
44
|
list(options) {
|
|
@@ -49,7 +49,7 @@ class EndUsers extends resource_1.APIResource {
|
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* ```ts
|
|
52
|
-
* const endUser = await
|
|
52
|
+
* const endUser = await conductor.endUsers.delete(
|
|
53
53
|
* 'end_usr_1234567abcdefg',
|
|
54
54
|
* );
|
|
55
55
|
* ```
|
package/resources/end-users.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export class EndUsers extends APIResource {
|
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```ts
|
|
10
|
-
* const endUser = await
|
|
10
|
+
* const endUser = await conductor.endUsers.create({
|
|
11
11
|
* companyName: 'Acme Inc.',
|
|
12
12
|
* email: 'alice@acme.com',
|
|
13
13
|
* sourceId: '12345678-abcd-abcd-example-1234567890ab',
|
|
@@ -22,7 +22,7 @@ export class EndUsers extends APIResource {
|
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* ```ts
|
|
25
|
-
* const endUser = await
|
|
25
|
+
* const endUser = await conductor.endUsers.retrieve(
|
|
26
26
|
* 'end_usr_1234567abcdefg',
|
|
27
27
|
* );
|
|
28
28
|
* ```
|
|
@@ -35,7 +35,7 @@ export class EndUsers extends APIResource {
|
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* ```ts
|
|
38
|
-
* const endUsers = await
|
|
38
|
+
* const endUsers = await conductor.endUsers.list();
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
list(options) {
|
|
@@ -46,7 +46,7 @@ export class EndUsers extends APIResource {
|
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* ```ts
|
|
49
|
-
* const endUser = await
|
|
49
|
+
* const endUser = await conductor.endUsers.delete(
|
|
50
50
|
* 'end_usr_1234567abcdefg',
|
|
51
51
|
* );
|
|
52
52
|
* ```
|
|
@@ -9,7 +9,7 @@ export declare class AccountTaxLines extends APIResource {
|
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
11
11
|
* const accountTaxLines =
|
|
12
|
-
* await
|
|
12
|
+
* await conductor.qbd.accountTaxLines.list({
|
|
13
13
|
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
14
14
|
* });
|
|
15
15
|
* ```
|
|
@@ -12,7 +12,7 @@ class AccountTaxLines extends resource_1.APIResource {
|
|
|
12
12
|
* @example
|
|
13
13
|
* ```ts
|
|
14
14
|
* const accountTaxLines =
|
|
15
|
-
* await
|
|
15
|
+
* await conductor.qbd.accountTaxLines.list({
|
|
16
16
|
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
17
17
|
* });
|
|
18
18
|
* ```
|
|
@@ -9,7 +9,7 @@ export class AccountTaxLines extends APIResource {
|
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
11
11
|
* const accountTaxLines =
|
|
12
|
-
* await
|
|
12
|
+
* await conductor.qbd.accountTaxLines.list({
|
|
13
13
|
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
14
14
|
* });
|
|
15
15
|
* ```
|
|
@@ -6,7 +6,7 @@ export declare class Accounts extends APIResource {
|
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* ```ts
|
|
9
|
-
* const account = await
|
|
9
|
+
* const account = await conductor.qbd.accounts.create({
|
|
10
10
|
* accountType: 'bank',
|
|
11
11
|
* name: 'Accounts-Payable',
|
|
12
12
|
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
@@ -19,7 +19,7 @@ export declare class Accounts extends APIResource {
|
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* ```ts
|
|
22
|
-
* const account = await
|
|
22
|
+
* const account = await conductor.qbd.accounts.retrieve(
|
|
23
23
|
* '80000001-1234567890',
|
|
24
24
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
25
25
|
* );
|
|
@@ -31,7 +31,7 @@ export declare class Accounts extends APIResource {
|
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* ```ts
|
|
34
|
-
* const account = await
|
|
34
|
+
* const account = await conductor.qbd.accounts.update(
|
|
35
35
|
* '80000001-1234567890',
|
|
36
36
|
* {
|
|
37
37
|
* revisionNumber: '1721172183',
|
|
@@ -48,7 +48,7 @@ export declare class Accounts extends APIResource {
|
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* ```ts
|
|
51
|
-
* const accounts = await
|
|
51
|
+
* const accounts = await conductor.qbd.accounts.list({
|
|
52
52
|
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
53
53
|
* });
|
|
54
54
|
* ```
|
|
@@ -9,7 +9,7 @@ class Accounts extends resource_1.APIResource {
|
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```ts
|
|
12
|
-
* const account = await
|
|
12
|
+
* const account = await conductor.qbd.accounts.create({
|
|
13
13
|
* accountType: 'bank',
|
|
14
14
|
* name: 'Accounts-Payable',
|
|
15
15
|
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
@@ -29,7 +29,7 @@ class Accounts extends resource_1.APIResource {
|
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* ```ts
|
|
32
|
-
* const account = await
|
|
32
|
+
* const account = await conductor.qbd.accounts.retrieve(
|
|
33
33
|
* '80000001-1234567890',
|
|
34
34
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
35
35
|
* );
|
|
@@ -47,7 +47,7 @@ class Accounts extends resource_1.APIResource {
|
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* ```ts
|
|
50
|
-
* const account = await
|
|
50
|
+
* const account = await conductor.qbd.accounts.update(
|
|
51
51
|
* '80000001-1234567890',
|
|
52
52
|
* {
|
|
53
53
|
* revisionNumber: '1721172183',
|
|
@@ -71,7 +71,7 @@ class Accounts extends resource_1.APIResource {
|
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* ```ts
|
|
74
|
-
* const accounts = await
|
|
74
|
+
* const accounts = await conductor.qbd.accounts.list({
|
|
75
75
|
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
76
76
|
* });
|
|
77
77
|
* ```
|
|
@@ -6,7 +6,7 @@ export class Accounts extends APIResource {
|
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* ```ts
|
|
9
|
-
* const account = await
|
|
9
|
+
* const account = await conductor.qbd.accounts.create({
|
|
10
10
|
* accountType: 'bank',
|
|
11
11
|
* name: 'Accounts-Payable',
|
|
12
12
|
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
@@ -26,7 +26,7 @@ export class Accounts extends APIResource {
|
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* ```ts
|
|
29
|
-
* const account = await
|
|
29
|
+
* const account = await conductor.qbd.accounts.retrieve(
|
|
30
30
|
* '80000001-1234567890',
|
|
31
31
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
32
32
|
* );
|
|
@@ -44,7 +44,7 @@ export class Accounts extends APIResource {
|
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* ```ts
|
|
47
|
-
* const account = await
|
|
47
|
+
* const account = await conductor.qbd.accounts.update(
|
|
48
48
|
* '80000001-1234567890',
|
|
49
49
|
* {
|
|
50
50
|
* revisionNumber: '1721172183',
|
|
@@ -68,7 +68,7 @@ export class Accounts extends APIResource {
|
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* ```ts
|
|
71
|
-
* const accounts = await
|
|
71
|
+
* const accounts = await conductor.qbd.accounts.list({
|
|
72
72
|
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
73
73
|
* });
|
|
74
74
|
* ```
|
|
@@ -8,7 +8,7 @@ export declare class BillCheckPayments extends APIResource {
|
|
|
8
8
|
* @example
|
|
9
9
|
* ```ts
|
|
10
10
|
* const billCheckPayment =
|
|
11
|
-
* await
|
|
11
|
+
* await conductor.qbd.billCheckPayments.create({
|
|
12
12
|
* applyToTransactions: [
|
|
13
13
|
* { transactionId: '123ABC-1234567890' },
|
|
14
14
|
* ],
|
|
@@ -26,7 +26,7 @@ export declare class BillCheckPayments extends APIResource {
|
|
|
26
26
|
* @example
|
|
27
27
|
* ```ts
|
|
28
28
|
* const billCheckPayment =
|
|
29
|
-
* await
|
|
29
|
+
* await conductor.qbd.billCheckPayments.retrieve(
|
|
30
30
|
* '123ABC-1234567890',
|
|
31
31
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
32
32
|
* );
|
|
@@ -39,7 +39,7 @@ export declare class BillCheckPayments extends APIResource {
|
|
|
39
39
|
* @example
|
|
40
40
|
* ```ts
|
|
41
41
|
* const billCheckPayment =
|
|
42
|
-
* await
|
|
42
|
+
* await conductor.qbd.billCheckPayments.update(
|
|
43
43
|
* '123ABC-1234567890',
|
|
44
44
|
* {
|
|
45
45
|
* revisionNumber: '1721172183',
|
|
@@ -56,7 +56,7 @@ export declare class BillCheckPayments extends APIResource {
|
|
|
56
56
|
* @example
|
|
57
57
|
* ```ts
|
|
58
58
|
* // Automatically fetches more pages as needed.
|
|
59
|
-
* for await (const billCheckPayment of
|
|
59
|
+
* for await (const billCheckPayment of conductor.qbd.billCheckPayments.list(
|
|
60
60
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
61
61
|
* )) {
|
|
62
62
|
* // ...
|
|
@@ -72,7 +72,7 @@ export declare class BillCheckPayments extends APIResource {
|
|
|
72
72
|
* @example
|
|
73
73
|
* ```ts
|
|
74
74
|
* const billCheckPayment =
|
|
75
|
-
* await
|
|
75
|
+
* await conductor.qbd.billCheckPayments.delete(
|
|
76
76
|
* '123ABC-1234567890',
|
|
77
77
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
78
78
|
* );
|
|
@@ -11,7 +11,7 @@ class BillCheckPayments extends resource_1.APIResource {
|
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
13
13
|
* const billCheckPayment =
|
|
14
|
-
* await
|
|
14
|
+
* await conductor.qbd.billCheckPayments.create({
|
|
15
15
|
* applyToTransactions: [
|
|
16
16
|
* { transactionId: '123ABC-1234567890' },
|
|
17
17
|
* ],
|
|
@@ -36,7 +36,7 @@ class BillCheckPayments extends resource_1.APIResource {
|
|
|
36
36
|
* @example
|
|
37
37
|
* ```ts
|
|
38
38
|
* const billCheckPayment =
|
|
39
|
-
* await
|
|
39
|
+
* await conductor.qbd.billCheckPayments.retrieve(
|
|
40
40
|
* '123ABC-1234567890',
|
|
41
41
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
42
42
|
* );
|
|
@@ -55,7 +55,7 @@ class BillCheckPayments extends resource_1.APIResource {
|
|
|
55
55
|
* @example
|
|
56
56
|
* ```ts
|
|
57
57
|
* const billCheckPayment =
|
|
58
|
-
* await
|
|
58
|
+
* await conductor.qbd.billCheckPayments.update(
|
|
59
59
|
* '123ABC-1234567890',
|
|
60
60
|
* {
|
|
61
61
|
* revisionNumber: '1721172183',
|
|
@@ -79,7 +79,7 @@ class BillCheckPayments extends resource_1.APIResource {
|
|
|
79
79
|
* @example
|
|
80
80
|
* ```ts
|
|
81
81
|
* // Automatically fetches more pages as needed.
|
|
82
|
-
* for await (const billCheckPayment of
|
|
82
|
+
* for await (const billCheckPayment of conductor.qbd.billCheckPayments.list(
|
|
83
83
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
84
84
|
* )) {
|
|
85
85
|
* // ...
|
|
@@ -102,7 +102,7 @@ class BillCheckPayments extends resource_1.APIResource {
|
|
|
102
102
|
* @example
|
|
103
103
|
* ```ts
|
|
104
104
|
* const billCheckPayment =
|
|
105
|
-
* await
|
|
105
|
+
* await conductor.qbd.billCheckPayments.delete(
|
|
106
106
|
* '123ABC-1234567890',
|
|
107
107
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
108
108
|
* );
|
|
@@ -8,7 +8,7 @@ export class BillCheckPayments extends APIResource {
|
|
|
8
8
|
* @example
|
|
9
9
|
* ```ts
|
|
10
10
|
* const billCheckPayment =
|
|
11
|
-
* await
|
|
11
|
+
* await conductor.qbd.billCheckPayments.create({
|
|
12
12
|
* applyToTransactions: [
|
|
13
13
|
* { transactionId: '123ABC-1234567890' },
|
|
14
14
|
* ],
|
|
@@ -33,7 +33,7 @@ export class BillCheckPayments extends APIResource {
|
|
|
33
33
|
* @example
|
|
34
34
|
* ```ts
|
|
35
35
|
* const billCheckPayment =
|
|
36
|
-
* await
|
|
36
|
+
* await conductor.qbd.billCheckPayments.retrieve(
|
|
37
37
|
* '123ABC-1234567890',
|
|
38
38
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
39
39
|
* );
|
|
@@ -52,7 +52,7 @@ export class BillCheckPayments extends APIResource {
|
|
|
52
52
|
* @example
|
|
53
53
|
* ```ts
|
|
54
54
|
* const billCheckPayment =
|
|
55
|
-
* await
|
|
55
|
+
* await conductor.qbd.billCheckPayments.update(
|
|
56
56
|
* '123ABC-1234567890',
|
|
57
57
|
* {
|
|
58
58
|
* revisionNumber: '1721172183',
|
|
@@ -76,7 +76,7 @@ export class BillCheckPayments extends APIResource {
|
|
|
76
76
|
* @example
|
|
77
77
|
* ```ts
|
|
78
78
|
* // Automatically fetches more pages as needed.
|
|
79
|
-
* for await (const billCheckPayment of
|
|
79
|
+
* for await (const billCheckPayment of conductor.qbd.billCheckPayments.list(
|
|
80
80
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
81
81
|
* )) {
|
|
82
82
|
* // ...
|
|
@@ -99,7 +99,7 @@ export class BillCheckPayments extends APIResource {
|
|
|
99
99
|
* @example
|
|
100
100
|
* ```ts
|
|
101
101
|
* const billCheckPayment =
|
|
102
|
-
* await
|
|
102
|
+
* await conductor.qbd.billCheckPayments.delete(
|
|
103
103
|
* '123ABC-1234567890',
|
|
104
104
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
105
105
|
* );
|
|
@@ -8,7 +8,7 @@ export declare class BillCreditCardPayments extends APIResource {
|
|
|
8
8
|
* @example
|
|
9
9
|
* ```ts
|
|
10
10
|
* const billCreditCardPayment =
|
|
11
|
-
* await
|
|
11
|
+
* await conductor.qbd.billCreditCardPayments.create({
|
|
12
12
|
* applyToTransactions: [
|
|
13
13
|
* { transactionId: '123ABC-1234567890' },
|
|
14
14
|
* ],
|
|
@@ -26,7 +26,7 @@ export declare class BillCreditCardPayments extends APIResource {
|
|
|
26
26
|
* @example
|
|
27
27
|
* ```ts
|
|
28
28
|
* const billCreditCardPayment =
|
|
29
|
-
* await
|
|
29
|
+
* await conductor.qbd.billCreditCardPayments.retrieve(
|
|
30
30
|
* '123ABC-1234567890',
|
|
31
31
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
32
32
|
* );
|
|
@@ -40,7 +40,7 @@ export declare class BillCreditCardPayments extends APIResource {
|
|
|
40
40
|
* @example
|
|
41
41
|
* ```ts
|
|
42
42
|
* // Automatically fetches more pages as needed.
|
|
43
|
-
* for await (const billCreditCardPayment of
|
|
43
|
+
* for await (const billCreditCardPayment of conductor.qbd.billCreditCardPayments.list(
|
|
44
44
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
45
45
|
* )) {
|
|
46
46
|
* // ...
|
|
@@ -56,7 +56,7 @@ export declare class BillCreditCardPayments extends APIResource {
|
|
|
56
56
|
* @example
|
|
57
57
|
* ```ts
|
|
58
58
|
* const billCreditCardPayment =
|
|
59
|
-
* await
|
|
59
|
+
* await conductor.qbd.billCreditCardPayments.delete(
|
|
60
60
|
* '123ABC-1234567890',
|
|
61
61
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
62
62
|
* );
|
|
@@ -11,7 +11,7 @@ class BillCreditCardPayments extends resource_1.APIResource {
|
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
13
13
|
* const billCreditCardPayment =
|
|
14
|
-
* await
|
|
14
|
+
* await conductor.qbd.billCreditCardPayments.create({
|
|
15
15
|
* applyToTransactions: [
|
|
16
16
|
* { transactionId: '123ABC-1234567890' },
|
|
17
17
|
* ],
|
|
@@ -36,7 +36,7 @@ class BillCreditCardPayments extends resource_1.APIResource {
|
|
|
36
36
|
* @example
|
|
37
37
|
* ```ts
|
|
38
38
|
* const billCreditCardPayment =
|
|
39
|
-
* await
|
|
39
|
+
* await conductor.qbd.billCreditCardPayments.retrieve(
|
|
40
40
|
* '123ABC-1234567890',
|
|
41
41
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
42
42
|
* );
|
|
@@ -56,7 +56,7 @@ class BillCreditCardPayments extends resource_1.APIResource {
|
|
|
56
56
|
* @example
|
|
57
57
|
* ```ts
|
|
58
58
|
* // Automatically fetches more pages as needed.
|
|
59
|
-
* for await (const billCreditCardPayment of
|
|
59
|
+
* for await (const billCreditCardPayment of conductor.qbd.billCreditCardPayments.list(
|
|
60
60
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
61
61
|
* )) {
|
|
62
62
|
* // ...
|
|
@@ -75,7 +75,7 @@ class BillCreditCardPayments extends resource_1.APIResource {
|
|
|
75
75
|
* @example
|
|
76
76
|
* ```ts
|
|
77
77
|
* const billCreditCardPayment =
|
|
78
|
-
* await
|
|
78
|
+
* await conductor.qbd.billCreditCardPayments.delete(
|
|
79
79
|
* '123ABC-1234567890',
|
|
80
80
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
81
81
|
* );
|
|
@@ -8,7 +8,7 @@ export class BillCreditCardPayments extends APIResource {
|
|
|
8
8
|
* @example
|
|
9
9
|
* ```ts
|
|
10
10
|
* const billCreditCardPayment =
|
|
11
|
-
* await
|
|
11
|
+
* await conductor.qbd.billCreditCardPayments.create({
|
|
12
12
|
* applyToTransactions: [
|
|
13
13
|
* { transactionId: '123ABC-1234567890' },
|
|
14
14
|
* ],
|
|
@@ -33,7 +33,7 @@ export class BillCreditCardPayments extends APIResource {
|
|
|
33
33
|
* @example
|
|
34
34
|
* ```ts
|
|
35
35
|
* const billCreditCardPayment =
|
|
36
|
-
* await
|
|
36
|
+
* await conductor.qbd.billCreditCardPayments.retrieve(
|
|
37
37
|
* '123ABC-1234567890',
|
|
38
38
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
39
39
|
* );
|
|
@@ -53,7 +53,7 @@ export class BillCreditCardPayments extends APIResource {
|
|
|
53
53
|
* @example
|
|
54
54
|
* ```ts
|
|
55
55
|
* // Automatically fetches more pages as needed.
|
|
56
|
-
* for await (const billCreditCardPayment of
|
|
56
|
+
* for await (const billCreditCardPayment of conductor.qbd.billCreditCardPayments.list(
|
|
57
57
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
58
58
|
* )) {
|
|
59
59
|
* // ...
|
|
@@ -72,7 +72,7 @@ export class BillCreditCardPayments extends APIResource {
|
|
|
72
72
|
* @example
|
|
73
73
|
* ```ts
|
|
74
74
|
* const billCreditCardPayment =
|
|
75
|
-
* await
|
|
75
|
+
* await conductor.qbd.billCreditCardPayments.delete(
|
|
76
76
|
* '123ABC-1234567890',
|
|
77
77
|
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
78
78
|
* );
|