conductor-node 12.5.0 → 12.5.1
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 +13 -0
- package/package.json +1 -1
- package/resources/auth-sessions.d.ts +8 -0
- package/resources/auth-sessions.d.ts.map +1 -1
- package/resources/auth-sessions.js +8 -0
- package/resources/auth-sessions.js.map +1 -1
- package/resources/auth-sessions.mjs +8 -0
- package/resources/auth-sessions.mjs.map +1 -1
- package/resources/end-users.d.ts +37 -0
- package/resources/end-users.d.ts.map +1 -1
- package/resources/end-users.js +28 -0
- package/resources/end-users.js.map +1 -1
- package/resources/end-users.mjs +28 -0
- package/resources/end-users.mjs.map +1 -1
- package/resources/qbd/account-tax-lines.d.ts +8 -0
- package/resources/qbd/account-tax-lines.d.ts.map +1 -1
- package/resources/qbd/account-tax-lines.js +8 -0
- package/resources/qbd/account-tax-lines.js.map +1 -1
- package/resources/qbd/account-tax-lines.mjs +8 -0
- package/resources/qbd/account-tax-lines.mjs.map +1 -1
- package/resources/qbd/accounts.d.ts +35 -0
- package/resources/qbd/accounts.d.ts.map +1 -1
- package/resources/qbd/accounts.js +35 -0
- package/resources/qbd/accounts.js.map +1 -1
- package/resources/qbd/accounts.mjs +35 -0
- package/resources/qbd/accounts.mjs.map +1 -1
- package/resources/qbd/bill-check-payments.d.ts +54 -0
- package/resources/qbd/bill-check-payments.d.ts.map +1 -1
- package/resources/qbd/bill-check-payments.js +54 -0
- package/resources/qbd/bill-check-payments.js.map +1 -1
- package/resources/qbd/bill-check-payments.mjs +54 -0
- package/resources/qbd/bill-check-payments.mjs.map +1 -1
- package/resources/qbd/bill-credit-card-payments.d.ts +42 -0
- package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -1
- package/resources/qbd/bill-credit-card-payments.js +42 -0
- package/resources/qbd/bill-credit-card-payments.js.map +1 -1
- package/resources/qbd/bill-credit-card-payments.mjs +42 -0
- package/resources/qbd/bill-credit-card-payments.mjs.map +1 -1
- package/resources/qbd/bills.d.ts +46 -0
- package/resources/qbd/bills.d.ts.map +1 -1
- package/resources/qbd/bills.js +46 -0
- package/resources/qbd/bills.js.map +1 -1
- package/resources/qbd/bills.mjs +46 -0
- package/resources/qbd/bills.mjs.map +1 -1
- package/resources/qbd/checks.d.ts +46 -0
- package/resources/qbd/checks.d.ts.map +1 -1
- package/resources/qbd/checks.js +46 -0
- package/resources/qbd/checks.js.map +1 -1
- package/resources/qbd/checks.mjs +46 -0
- package/resources/qbd/checks.mjs.map +1 -1
- package/resources/qbd/classes.d.ts +34 -0
- package/resources/qbd/classes.d.ts.map +1 -1
- package/resources/qbd/classes.js +34 -0
- package/resources/qbd/classes.js.map +1 -1
- package/resources/qbd/classes.mjs +34 -0
- package/resources/qbd/classes.mjs.map +1 -1
- package/resources/qbd/company.d.ts +7 -0
- package/resources/qbd/company.d.ts.map +1 -1
- package/resources/qbd/company.js +7 -0
- package/resources/qbd/company.js.map +1 -1
- package/resources/qbd/company.mjs +7 -0
- package/resources/qbd/company.mjs.map +1 -1
- package/resources/qbd/credit-card-charges.d.ts +50 -0
- package/resources/qbd/credit-card-charges.d.ts.map +1 -1
- package/resources/qbd/credit-card-charges.js +50 -0
- package/resources/qbd/credit-card-charges.js.map +1 -1
- package/resources/qbd/credit-card-charges.mjs +50 -0
- package/resources/qbd/credit-card-charges.mjs.map +1 -1
- package/resources/qbd/credit-card-credits.d.ts +50 -0
- package/resources/qbd/credit-card-credits.d.ts.map +1 -1
- package/resources/qbd/credit-card-credits.js +50 -0
- package/resources/qbd/credit-card-credits.js.map +1 -1
- package/resources/qbd/credit-card-credits.mjs +50 -0
- package/resources/qbd/credit-card-credits.mjs.map +1 -1
- package/resources/qbd/credit-memos.d.ts +46 -0
- package/resources/qbd/credit-memos.d.ts.map +1 -1
- package/resources/qbd/credit-memos.js +46 -0
- package/resources/qbd/credit-memos.js.map +1 -1
- package/resources/qbd/credit-memos.mjs +46 -0
- package/resources/qbd/credit-memos.mjs.map +1 -1
- package/resources/qbd/customers.d.ts +37 -0
- package/resources/qbd/customers.d.ts.map +1 -1
- package/resources/qbd/customers.js +37 -0
- package/resources/qbd/customers.js.map +1 -1
- package/resources/qbd/customers.mjs +37 -0
- package/resources/qbd/customers.mjs.map +1 -1
- package/resources/qbd/date-driven-terms.d.ts +27 -0
- package/resources/qbd/date-driven-terms.d.ts.map +1 -1
- package/resources/qbd/date-driven-terms.js +27 -0
- package/resources/qbd/date-driven-terms.js.map +1 -1
- package/resources/qbd/date-driven-terms.mjs +27 -0
- package/resources/qbd/date-driven-terms.mjs.map +1 -1
- package/resources/qbd/discount-items.d.ts +39 -0
- package/resources/qbd/discount-items.d.ts.map +1 -1
- package/resources/qbd/discount-items.js +39 -0
- package/resources/qbd/discount-items.js.map +1 -1
- package/resources/qbd/discount-items.mjs +39 -0
- package/resources/qbd/discount-items.mjs.map +1 -1
- package/resources/qbd/employees.d.ts +36 -0
- package/resources/qbd/employees.d.ts.map +1 -1
- package/resources/qbd/employees.js +36 -0
- package/resources/qbd/employees.js.map +1 -1
- package/resources/qbd/employees.mjs +36 -0
- package/resources/qbd/employees.mjs.map +1 -1
- package/resources/qbd/estimates.d.ts +46 -0
- package/resources/qbd/estimates.d.ts.map +1 -1
- package/resources/qbd/estimates.js +46 -0
- package/resources/qbd/estimates.js.map +1 -1
- package/resources/qbd/estimates.mjs +46 -0
- package/resources/qbd/estimates.mjs.map +1 -1
- package/resources/qbd/inventory-adjustments.d.ts +48 -0
- package/resources/qbd/inventory-adjustments.d.ts.map +1 -1
- package/resources/qbd/inventory-adjustments.js +48 -0
- package/resources/qbd/inventory-adjustments.js.map +1 -1
- package/resources/qbd/inventory-adjustments.mjs +48 -0
- package/resources/qbd/inventory-adjustments.mjs.map +1 -1
- package/resources/qbd/inventory-assembly-items.d.ts +43 -0
- package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
- package/resources/qbd/inventory-assembly-items.js +43 -0
- package/resources/qbd/inventory-assembly-items.js.map +1 -1
- package/resources/qbd/inventory-assembly-items.mjs +43 -0
- package/resources/qbd/inventory-assembly-items.mjs.map +1 -1
- package/resources/qbd/inventory-items.d.ts +43 -0
- package/resources/qbd/inventory-items.d.ts.map +1 -1
- package/resources/qbd/inventory-items.js +43 -0
- package/resources/qbd/inventory-items.js.map +1 -1
- package/resources/qbd/inventory-items.mjs +43 -0
- package/resources/qbd/inventory-items.mjs.map +1 -1
- package/resources/qbd/inventory-sites.d.ts +37 -0
- package/resources/qbd/inventory-sites.d.ts.map +1 -1
- package/resources/qbd/inventory-sites.js +37 -0
- package/resources/qbd/inventory-sites.js.map +1 -1
- package/resources/qbd/inventory-sites.mjs +37 -0
- package/resources/qbd/inventory-sites.mjs.map +1 -1
- package/resources/qbd/invoices.d.ts +46 -0
- package/resources/qbd/invoices.d.ts.map +1 -1
- package/resources/qbd/invoices.js +46 -0
- package/resources/qbd/invoices.js.map +1 -1
- package/resources/qbd/invoices.mjs +46 -0
- package/resources/qbd/invoices.mjs.map +1 -1
- package/resources/qbd/item-groups.d.ts +38 -0
- package/resources/qbd/item-groups.d.ts.map +1 -1
- package/resources/qbd/item-groups.js +38 -0
- package/resources/qbd/item-groups.js.map +1 -1
- package/resources/qbd/item-groups.mjs +38 -0
- package/resources/qbd/item-groups.mjs.map +1 -1
- package/resources/qbd/item-receipts.d.ts +46 -0
- package/resources/qbd/item-receipts.d.ts.map +1 -1
- package/resources/qbd/item-receipts.js +46 -0
- package/resources/qbd/item-receipts.js.map +1 -1
- package/resources/qbd/item-receipts.mjs +46 -0
- package/resources/qbd/item-receipts.mjs.map +1 -1
- package/resources/qbd/item-sites.d.ts +18 -0
- package/resources/qbd/item-sites.d.ts.map +1 -1
- package/resources/qbd/item-sites.js +18 -0
- package/resources/qbd/item-sites.js.map +1 -1
- package/resources/qbd/item-sites.mjs +18 -0
- package/resources/qbd/item-sites.mjs.map +1 -1
- package/resources/qbd/journal-entries.d.ts +48 -0
- package/resources/qbd/journal-entries.d.ts.map +1 -1
- package/resources/qbd/journal-entries.js +48 -0
- package/resources/qbd/journal-entries.js.map +1 -1
- package/resources/qbd/journal-entries.mjs +48 -0
- package/resources/qbd/journal-entries.mjs.map +1 -1
- package/resources/qbd/non-inventory-items.d.ts +40 -0
- package/resources/qbd/non-inventory-items.d.ts.map +1 -1
- package/resources/qbd/non-inventory-items.js +40 -0
- package/resources/qbd/non-inventory-items.js.map +1 -1
- package/resources/qbd/non-inventory-items.mjs +40 -0
- package/resources/qbd/non-inventory-items.mjs.map +1 -1
- package/resources/qbd/payroll-wage-items.d.ts +30 -0
- package/resources/qbd/payroll-wage-items.d.ts.map +1 -1
- package/resources/qbd/payroll-wage-items.js +30 -0
- package/resources/qbd/payroll-wage-items.js.map +1 -1
- package/resources/qbd/payroll-wage-items.mjs +30 -0
- package/resources/qbd/payroll-wage-items.mjs.map +1 -1
- package/resources/qbd/preferences.d.ts +7 -0
- package/resources/qbd/preferences.d.ts.map +1 -1
- package/resources/qbd/preferences.js +7 -0
- package/resources/qbd/preferences.js.map +1 -1
- package/resources/qbd/preferences.mjs +7 -0
- package/resources/qbd/preferences.mjs.map +1 -1
- package/resources/qbd/price-levels.d.ts +34 -0
- package/resources/qbd/price-levels.d.ts.map +1 -1
- package/resources/qbd/price-levels.js +34 -0
- package/resources/qbd/price-levels.js.map +1 -1
- package/resources/qbd/price-levels.mjs +34 -0
- package/resources/qbd/price-levels.mjs.map +1 -1
- package/resources/qbd/purchase-orders.d.ts +49 -0
- package/resources/qbd/purchase-orders.d.ts.map +1 -1
- package/resources/qbd/purchase-orders.js +49 -0
- package/resources/qbd/purchase-orders.js.map +1 -1
- package/resources/qbd/purchase-orders.mjs +49 -0
- package/resources/qbd/purchase-orders.mjs.map +1 -1
- package/resources/qbd/qbd.d.ts +7 -0
- package/resources/qbd/qbd.d.ts.map +1 -1
- package/resources/qbd/qbd.js +7 -0
- package/resources/qbd/qbd.js.map +1 -1
- package/resources/qbd/qbd.mjs +7 -0
- package/resources/qbd/qbd.mjs.map +1 -1
- package/resources/qbd/receive-payments.d.ts +51 -0
- package/resources/qbd/receive-payments.d.ts.map +1 -1
- package/resources/qbd/receive-payments.js +51 -0
- package/resources/qbd/receive-payments.js.map +1 -1
- package/resources/qbd/receive-payments.mjs +51 -0
- package/resources/qbd/receive-payments.mjs.map +1 -1
- package/resources/qbd/sales-orders.d.ts +46 -0
- package/resources/qbd/sales-orders.d.ts.map +1 -1
- package/resources/qbd/sales-orders.js +46 -0
- package/resources/qbd/sales-orders.js.map +1 -1
- package/resources/qbd/sales-orders.mjs +46 -0
- package/resources/qbd/sales-orders.mjs.map +1 -1
- package/resources/qbd/sales-receipts.d.ts +47 -0
- package/resources/qbd/sales-receipts.d.ts.map +1 -1
- package/resources/qbd/sales-receipts.js +47 -0
- package/resources/qbd/sales-receipts.js.map +1 -1
- package/resources/qbd/sales-receipts.mjs +47 -0
- package/resources/qbd/sales-receipts.mjs.map +1 -1
- package/resources/qbd/sales-representatives.d.ts +39 -0
- package/resources/qbd/sales-representatives.d.ts.map +1 -1
- package/resources/qbd/sales-representatives.js +39 -0
- package/resources/qbd/sales-representatives.js.map +1 -1
- package/resources/qbd/sales-representatives.mjs +39 -0
- package/resources/qbd/sales-representatives.mjs.map +1 -1
- package/resources/qbd/sales-tax-codes.d.ts +36 -0
- package/resources/qbd/sales-tax-codes.d.ts.map +1 -1
- package/resources/qbd/sales-tax-codes.js +36 -0
- package/resources/qbd/sales-tax-codes.js.map +1 -1
- package/resources/qbd/sales-tax-codes.mjs +36 -0
- package/resources/qbd/sales-tax-codes.mjs.map +1 -1
- package/resources/qbd/sales-tax-items.d.ts +38 -0
- package/resources/qbd/sales-tax-items.d.ts.map +1 -1
- package/resources/qbd/sales-tax-items.js +38 -0
- package/resources/qbd/sales-tax-items.js.map +1 -1
- package/resources/qbd/sales-tax-items.mjs +38 -0
- package/resources/qbd/sales-tax-items.mjs.map +1 -1
- package/resources/qbd/service-items.d.ts +37 -0
- package/resources/qbd/service-items.d.ts.map +1 -1
- package/resources/qbd/service-items.js +37 -0
- package/resources/qbd/service-items.js.map +1 -1
- package/resources/qbd/service-items.mjs +37 -0
- package/resources/qbd/service-items.mjs.map +1 -1
- package/resources/qbd/standard-terms.d.ts +24 -0
- package/resources/qbd/standard-terms.d.ts.map +1 -1
- package/resources/qbd/standard-terms.js +24 -0
- package/resources/qbd/standard-terms.js.map +1 -1
- package/resources/qbd/standard-terms.mjs +24 -0
- package/resources/qbd/standard-terms.mjs.map +1 -1
- package/resources/qbd/subtotal-items.d.ts +38 -0
- package/resources/qbd/subtotal-items.d.ts.map +1 -1
- package/resources/qbd/subtotal-items.js +38 -0
- package/resources/qbd/subtotal-items.js.map +1 -1
- package/resources/qbd/subtotal-items.mjs +38 -0
- package/resources/qbd/subtotal-items.mjs.map +1 -1
- package/resources/qbd/time-tracking-activities.d.ts +53 -0
- package/resources/qbd/time-tracking-activities.d.ts.map +1 -1
- package/resources/qbd/time-tracking-activities.js +53 -0
- package/resources/qbd/time-tracking-activities.js.map +1 -1
- package/resources/qbd/time-tracking-activities.mjs +53 -0
- package/resources/qbd/time-tracking-activities.mjs.map +1 -1
- package/resources/qbd/transactions.d.ts +18 -0
- package/resources/qbd/transactions.d.ts.map +1 -1
- package/resources/qbd/transactions.js +18 -0
- package/resources/qbd/transactions.js.map +1 -1
- package/resources/qbd/transactions.mjs +18 -0
- package/resources/qbd/transactions.mjs.map +1 -1
- package/resources/qbd/transfers.d.ts +40 -0
- package/resources/qbd/transfers.d.ts.map +1 -1
- package/resources/qbd/transfers.js +40 -0
- package/resources/qbd/transfers.js.map +1 -1
- package/resources/qbd/transfers.mjs +40 -0
- package/resources/qbd/transfers.mjs.map +1 -1
- package/resources/qbd/vendor-credits.d.ts +47 -0
- package/resources/qbd/vendor-credits.d.ts.map +1 -1
- package/resources/qbd/vendor-credits.js +47 -0
- package/resources/qbd/vendor-credits.js.map +1 -1
- package/resources/qbd/vendor-credits.mjs +47 -0
- package/resources/qbd/vendor-credits.mjs.map +1 -1
- package/resources/qbd/vendors.d.ts +37 -0
- package/resources/qbd/vendors.d.ts.map +1 -1
- package/resources/qbd/vendors.js +37 -0
- package/resources/qbd/vendors.js.map +1 -1
- package/resources/qbd/vendors.mjs +37 -0
- package/resources/qbd/vendors.mjs.map +1 -1
- package/src/resources/auth-sessions.ts +8 -0
- package/src/resources/end-users.ts +37 -0
- package/src/resources/qbd/account-tax-lines.ts +8 -0
- package/src/resources/qbd/accounts.ts +35 -0
- package/src/resources/qbd/bill-check-payments.ts +54 -0
- package/src/resources/qbd/bill-credit-card-payments.ts +42 -0
- package/src/resources/qbd/bills.ts +46 -0
- package/src/resources/qbd/checks.ts +46 -0
- package/src/resources/qbd/classes.ts +34 -0
- package/src/resources/qbd/company.ts +7 -0
- package/src/resources/qbd/credit-card-charges.ts +50 -0
- package/src/resources/qbd/credit-card-credits.ts +50 -0
- package/src/resources/qbd/credit-memos.ts +46 -0
- package/src/resources/qbd/customers.ts +37 -0
- package/src/resources/qbd/date-driven-terms.ts +27 -0
- package/src/resources/qbd/discount-items.ts +39 -0
- package/src/resources/qbd/employees.ts +36 -0
- package/src/resources/qbd/estimates.ts +46 -0
- package/src/resources/qbd/inventory-adjustments.ts +48 -0
- package/src/resources/qbd/inventory-assembly-items.ts +43 -0
- package/src/resources/qbd/inventory-items.ts +43 -0
- package/src/resources/qbd/inventory-sites.ts +37 -0
- package/src/resources/qbd/invoices.ts +46 -0
- package/src/resources/qbd/item-groups.ts +38 -0
- package/src/resources/qbd/item-receipts.ts +46 -0
- package/src/resources/qbd/item-sites.ts +18 -0
- package/src/resources/qbd/journal-entries.ts +48 -0
- package/src/resources/qbd/non-inventory-items.ts +40 -0
- package/src/resources/qbd/payroll-wage-items.ts +30 -0
- package/src/resources/qbd/preferences.ts +7 -0
- package/src/resources/qbd/price-levels.ts +34 -0
- package/src/resources/qbd/purchase-orders.ts +49 -0
- package/src/resources/qbd/qbd.ts +7 -0
- package/src/resources/qbd/receive-payments.ts +51 -0
- package/src/resources/qbd/sales-orders.ts +46 -0
- package/src/resources/qbd/sales-receipts.ts +47 -0
- package/src/resources/qbd/sales-representatives.ts +39 -0
- package/src/resources/qbd/sales-tax-codes.ts +36 -0
- package/src/resources/qbd/sales-tax-items.ts +38 -0
- package/src/resources/qbd/service-items.ts +37 -0
- package/src/resources/qbd/standard-terms.ts +24 -0
- package/src/resources/qbd/subtotal-items.ts +38 -0
- package/src/resources/qbd/time-tracking-activities.ts +53 -0
- package/src/resources/qbd/transactions.ts +18 -0
- package/src/resources/qbd/transfers.ts +40 -0
- package/src/resources/qbd/vendor-credits.ts +47 -0
- package/src/resources/qbd/vendors.ts +37 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -7,6 +7,14 @@ import { CursorPage, type CursorPageParams } from '../../pagination';
|
|
|
7
7
|
export class SubtotalItems extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new subtotal item.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const subtotalItem = await client.qbd.subtotalItems.create({
|
|
14
|
+
* name: 'Labor subtotal',
|
|
15
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
10
18
|
*/
|
|
11
19
|
create(params: SubtotalItemCreateParams, options?: Core.RequestOptions): Core.APIPromise<SubtotalItem> {
|
|
12
20
|
const { conductorEndUserId, ...body } = params;
|
|
@@ -19,6 +27,15 @@ export class SubtotalItems extends APIResource {
|
|
|
19
27
|
|
|
20
28
|
/**
|
|
21
29
|
* Retrieves a subtotal item by ID.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const subtotalItem =
|
|
34
|
+
* await client.qbd.subtotalItems.retrieve(
|
|
35
|
+
* '80000001-1234567890',
|
|
36
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
37
|
+
* );
|
|
38
|
+
* ```
|
|
22
39
|
*/
|
|
23
40
|
retrieve(
|
|
24
41
|
id: string,
|
|
@@ -34,6 +51,17 @@ export class SubtotalItems extends APIResource {
|
|
|
34
51
|
|
|
35
52
|
/**
|
|
36
53
|
* Updates an existing subtotal item.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* const subtotalItem = await client.qbd.subtotalItems.update(
|
|
58
|
+
* '80000001-1234567890',
|
|
59
|
+
* {
|
|
60
|
+
* revisionNumber: '1721172183',
|
|
61
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
62
|
+
* },
|
|
63
|
+
* );
|
|
64
|
+
* ```
|
|
37
65
|
*/
|
|
38
66
|
update(
|
|
39
67
|
id: string,
|
|
@@ -51,6 +79,16 @@ export class SubtotalItems extends APIResource {
|
|
|
51
79
|
/**
|
|
52
80
|
* Returns a list of subtotal items. Use the `cursor` parameter to paginate through
|
|
53
81
|
* the results.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```ts
|
|
85
|
+
* // Automatically fetches more pages as needed.
|
|
86
|
+
* for await (const subtotalItem of client.qbd.subtotalItems.list(
|
|
87
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
88
|
+
* )) {
|
|
89
|
+
* // ...
|
|
90
|
+
* }
|
|
91
|
+
* ```
|
|
54
92
|
*/
|
|
55
93
|
list(
|
|
56
94
|
params: SubtotalItemListParams,
|
|
@@ -7,6 +7,17 @@ import { CursorPage, type CursorPageParams } from '../../pagination';
|
|
|
7
7
|
export class TimeTrackingActivities extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new time tracking activity.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const timeTrackingActivity =
|
|
14
|
+
* await client.qbd.timeTrackingActivities.create({
|
|
15
|
+
* duration: 'PT1H30M',
|
|
16
|
+
* entityId: '80000001-1234567890',
|
|
17
|
+
* transactionDate: '2021-10-01',
|
|
18
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
10
21
|
*/
|
|
11
22
|
create(
|
|
12
23
|
params: TimeTrackingActivityCreateParams,
|
|
@@ -22,6 +33,15 @@ export class TimeTrackingActivities extends APIResource {
|
|
|
22
33
|
|
|
23
34
|
/**
|
|
24
35
|
* Retrieves a time tracking activity by ID.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* const timeTrackingActivity =
|
|
40
|
+
* await client.qbd.timeTrackingActivities.retrieve(
|
|
41
|
+
* '123ABC-1234567890',
|
|
42
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
43
|
+
* );
|
|
44
|
+
* ```
|
|
25
45
|
*/
|
|
26
46
|
retrieve(
|
|
27
47
|
id: string,
|
|
@@ -37,6 +57,20 @@ export class TimeTrackingActivities extends APIResource {
|
|
|
37
57
|
|
|
38
58
|
/**
|
|
39
59
|
* Updates an existing time tracking activity.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* const timeTrackingActivity =
|
|
64
|
+
* await client.qbd.timeTrackingActivities.update(
|
|
65
|
+
* '123ABC-1234567890',
|
|
66
|
+
* {
|
|
67
|
+
* duration: 'PT1H30M',
|
|
68
|
+
* entityId: '80000001-1234567890',
|
|
69
|
+
* revisionNumber: '1721172183',
|
|
70
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
71
|
+
* },
|
|
72
|
+
* );
|
|
73
|
+
* ```
|
|
40
74
|
*/
|
|
41
75
|
update(
|
|
42
76
|
id: string,
|
|
@@ -54,6 +88,16 @@ export class TimeTrackingActivities extends APIResource {
|
|
|
54
88
|
/**
|
|
55
89
|
* Returns a list of time tracking activities. Use the `cursor` parameter to
|
|
56
90
|
* paginate through the results.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* ```ts
|
|
94
|
+
* // Automatically fetches more pages as needed.
|
|
95
|
+
* for await (const timeTrackingActivity of client.qbd.timeTrackingActivities.list(
|
|
96
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
97
|
+
* )) {
|
|
98
|
+
* // ...
|
|
99
|
+
* }
|
|
100
|
+
* ```
|
|
57
101
|
*/
|
|
58
102
|
list(
|
|
59
103
|
params: TimeTrackingActivityListParams,
|
|
@@ -71,6 +115,15 @@ export class TimeTrackingActivities extends APIResource {
|
|
|
71
115
|
* Permanently deletes a a time tracking activity. The deletion will fail if the
|
|
72
116
|
* time tracking activity is currently in use or has any linked transactions that
|
|
73
117
|
* are in use.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* ```ts
|
|
121
|
+
* const timeTrackingActivity =
|
|
122
|
+
* await client.qbd.timeTrackingActivities.delete(
|
|
123
|
+
* '123ABC-1234567890',
|
|
124
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
125
|
+
* );
|
|
126
|
+
* ```
|
|
74
127
|
*/
|
|
75
128
|
delete(
|
|
76
129
|
id: string,
|
|
@@ -7,6 +7,14 @@ import { CursorPage, type CursorPageParams } from '../../pagination';
|
|
|
7
7
|
export class Transactions extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Retrieves a transaction by ID.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const transaction = await client.qbd.transactions.retrieve(
|
|
14
|
+
* '123ABC-1234567890',
|
|
15
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
16
|
+
* );
|
|
17
|
+
* ```
|
|
10
18
|
*/
|
|
11
19
|
retrieve(
|
|
12
20
|
id: string,
|
|
@@ -27,6 +35,16 @@ export class Transactions extends APIResource {
|
|
|
27
35
|
* transaction type, make a subsequent call to the relevant transaction-specific
|
|
28
36
|
* endpoint (such as invoices, bills, etc.). NOTE: This endpoint does not support
|
|
29
37
|
* time tracking activities.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* // Automatically fetches more pages as needed.
|
|
42
|
+
* for await (const transaction of client.qbd.transactions.list(
|
|
43
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
44
|
+
* )) {
|
|
45
|
+
* // ...
|
|
46
|
+
* }
|
|
47
|
+
* ```
|
|
30
48
|
*/
|
|
31
49
|
list(
|
|
32
50
|
params: TransactionListParams,
|
|
@@ -7,6 +7,17 @@ import { CursorPage, type CursorPageParams } from '../../pagination';
|
|
|
7
7
|
export class Transfers extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new transfer.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const transfer = await client.qbd.transfers.create({
|
|
14
|
+
* amount: '1000.00',
|
|
15
|
+
* sourceAccountId: '80000001-1234567890',
|
|
16
|
+
* targetAccountId: '80000001-1234567890',
|
|
17
|
+
* transactionDate: '2021-10-01',
|
|
18
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
10
21
|
*/
|
|
11
22
|
create(params: TransferCreateParams, options?: Core.RequestOptions): Core.APIPromise<Transfer> {
|
|
12
23
|
const { conductorEndUserId, ...body } = params;
|
|
@@ -19,6 +30,14 @@ export class Transfers extends APIResource {
|
|
|
19
30
|
|
|
20
31
|
/**
|
|
21
32
|
* Retrieves a transfer by ID.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const transfer = await client.qbd.transfers.retrieve(
|
|
37
|
+
* '123ABC-1234567890',
|
|
38
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
22
41
|
*/
|
|
23
42
|
retrieve(
|
|
24
43
|
id: string,
|
|
@@ -34,6 +53,17 @@ export class Transfers extends APIResource {
|
|
|
34
53
|
|
|
35
54
|
/**
|
|
36
55
|
* Updates an existing transfer.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```ts
|
|
59
|
+
* const transfer = await client.qbd.transfers.update(
|
|
60
|
+
* '123ABC-1234567890',
|
|
61
|
+
* {
|
|
62
|
+
* revisionNumber: '1721172183',
|
|
63
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
64
|
+
* },
|
|
65
|
+
* );
|
|
66
|
+
* ```
|
|
37
67
|
*/
|
|
38
68
|
update(id: string, params: TransferUpdateParams, options?: Core.RequestOptions): Core.APIPromise<Transfer> {
|
|
39
69
|
const { conductorEndUserId, ...body } = params;
|
|
@@ -47,6 +77,16 @@ export class Transfers extends APIResource {
|
|
|
47
77
|
/**
|
|
48
78
|
* Returns a list of transfers. Use the `cursor` parameter to paginate through the
|
|
49
79
|
* results.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* ```ts
|
|
83
|
+
* // Automatically fetches more pages as needed.
|
|
84
|
+
* for await (const transfer of client.qbd.transfers.list({
|
|
85
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
86
|
+
* })) {
|
|
87
|
+
* // ...
|
|
88
|
+
* }
|
|
89
|
+
* ```
|
|
50
90
|
*/
|
|
51
91
|
list(
|
|
52
92
|
params: TransferListParams,
|
|
@@ -7,6 +7,15 @@ import { CursorPage, type CursorPageParams } from '../../pagination';
|
|
|
7
7
|
export class VendorCredits extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new vendor credit.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const vendorCredit = await client.qbd.vendorCredits.create({
|
|
14
|
+
* transactionDate: '2021-10-01',
|
|
15
|
+
* vendorId: '80000001-1234567890',
|
|
16
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
10
19
|
*/
|
|
11
20
|
create(params: VendorCreditCreateParams, options?: Core.RequestOptions): Core.APIPromise<VendorCredit> {
|
|
12
21
|
const { conductorEndUserId, ...body } = params;
|
|
@@ -19,6 +28,15 @@ export class VendorCredits extends APIResource {
|
|
|
19
28
|
|
|
20
29
|
/**
|
|
21
30
|
* Retrieves a vendor credit by ID.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const vendorCredit =
|
|
35
|
+
* await client.qbd.vendorCredits.retrieve(
|
|
36
|
+
* '123ABC-1234567890',
|
|
37
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
22
40
|
*/
|
|
23
41
|
retrieve(
|
|
24
42
|
id: string,
|
|
@@ -34,6 +52,17 @@ export class VendorCredits extends APIResource {
|
|
|
34
52
|
|
|
35
53
|
/**
|
|
36
54
|
* Updates an existing vendor credit.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* const vendorCredit = await client.qbd.vendorCredits.update(
|
|
59
|
+
* '123ABC-1234567890',
|
|
60
|
+
* {
|
|
61
|
+
* revisionNumber: '1721172183',
|
|
62
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
63
|
+
* },
|
|
64
|
+
* );
|
|
65
|
+
* ```
|
|
37
66
|
*/
|
|
38
67
|
update(
|
|
39
68
|
id: string,
|
|
@@ -51,6 +80,16 @@ export class VendorCredits extends APIResource {
|
|
|
51
80
|
/**
|
|
52
81
|
* Returns a list of vendor credits. Use the `cursor` parameter to paginate through
|
|
53
82
|
* the results.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```ts
|
|
86
|
+
* // Automatically fetches more pages as needed.
|
|
87
|
+
* for await (const vendorCredit of client.qbd.vendorCredits.list(
|
|
88
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
89
|
+
* )) {
|
|
90
|
+
* // ...
|
|
91
|
+
* }
|
|
92
|
+
* ```
|
|
54
93
|
*/
|
|
55
94
|
list(
|
|
56
95
|
params: VendorCreditListParams,
|
|
@@ -67,6 +106,14 @@ export class VendorCredits extends APIResource {
|
|
|
67
106
|
/**
|
|
68
107
|
* Permanently deletes a a vendor credit. The deletion will fail if the vendor
|
|
69
108
|
* credit is currently in use or has any linked transactions that are in use.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* ```ts
|
|
112
|
+
* const vendorCredit = await client.qbd.vendorCredits.delete(
|
|
113
|
+
* '123ABC-1234567890',
|
|
114
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
115
|
+
* );
|
|
116
|
+
* ```
|
|
70
117
|
*/
|
|
71
118
|
delete(
|
|
72
119
|
id: string,
|
|
@@ -7,6 +7,14 @@ import { CursorPage, type CursorPageParams } from '../../pagination';
|
|
|
7
7
|
export class Vendors extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new vendor.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const vendor = await client.qbd.vendors.create({
|
|
14
|
+
* name: 'Acme Supplies Inc.',
|
|
15
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
10
18
|
*/
|
|
11
19
|
create(params: VendorCreateParams, options?: Core.RequestOptions): Core.APIPromise<Vendor> {
|
|
12
20
|
const { conductorEndUserId, ...body } = params;
|
|
@@ -19,6 +27,14 @@ export class Vendors extends APIResource {
|
|
|
19
27
|
|
|
20
28
|
/**
|
|
21
29
|
* Retrieves a vendor by ID.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const vendor = await client.qbd.vendors.retrieve(
|
|
34
|
+
* '80000001-1234567890',
|
|
35
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
36
|
+
* );
|
|
37
|
+
* ```
|
|
22
38
|
*/
|
|
23
39
|
retrieve(id: string, params: VendorRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<Vendor> {
|
|
24
40
|
const { conductorEndUserId } = params;
|
|
@@ -30,6 +46,17 @@ export class Vendors extends APIResource {
|
|
|
30
46
|
|
|
31
47
|
/**
|
|
32
48
|
* Updates an existing vendor.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* const vendor = await client.qbd.vendors.update(
|
|
53
|
+
* '80000001-1234567890',
|
|
54
|
+
* {
|
|
55
|
+
* revisionNumber: '1721172183',
|
|
56
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
57
|
+
* },
|
|
58
|
+
* );
|
|
59
|
+
* ```
|
|
33
60
|
*/
|
|
34
61
|
update(id: string, params: VendorUpdateParams, options?: Core.RequestOptions): Core.APIPromise<Vendor> {
|
|
35
62
|
const { conductorEndUserId, ...body } = params;
|
|
@@ -43,6 +70,16 @@ export class Vendors extends APIResource {
|
|
|
43
70
|
/**
|
|
44
71
|
* Returns a list of vendors. Use the `cursor` parameter to paginate through the
|
|
45
72
|
* results.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```ts
|
|
76
|
+
* // Automatically fetches more pages as needed.
|
|
77
|
+
* for await (const vendor of client.qbd.vendors.list({
|
|
78
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
79
|
+
* })) {
|
|
80
|
+
* // ...
|
|
81
|
+
* }
|
|
82
|
+
* ```
|
|
46
83
|
*/
|
|
47
84
|
list(params: VendorListParams, options?: Core.RequestOptions): Core.PagePromise<VendorsCursorPage, Vendor> {
|
|
48
85
|
const { conductorEndUserId, ...query } = params;
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '12.5.
|
|
1
|
+
export const VERSION = '12.5.1'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "12.5.
|
|
1
|
+
export declare const VERSION = "12.5.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '12.5.
|
|
1
|
+
export const VERSION = '12.5.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|