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
|
@@ -4,25 +4,79 @@ import { CursorPage, type CursorPageParams } from "../../pagination.js";
|
|
|
4
4
|
export declare class BillCheckPayments extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Creates a new bill check payment.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const billCheckPayment =
|
|
11
|
+
* await client.qbd.billCheckPayments.create({
|
|
12
|
+
* applyToTransactions: [
|
|
13
|
+
* { transactionId: '123ABC-1234567890' },
|
|
14
|
+
* ],
|
|
15
|
+
* bankAccountId: '80000001-1234567890',
|
|
16
|
+
* transactionDate: '2021-10-01',
|
|
17
|
+
* vendorId: '80000001-1234567890',
|
|
18
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
7
21
|
*/
|
|
8
22
|
create(params: BillCheckPaymentCreateParams, options?: Core.RequestOptions): Core.APIPromise<BillCheckPayment>;
|
|
9
23
|
/**
|
|
10
24
|
* Retrieves a bill check payment by ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const billCheckPayment =
|
|
29
|
+
* await client.qbd.billCheckPayments.retrieve(
|
|
30
|
+
* '123ABC-1234567890',
|
|
31
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
32
|
+
* );
|
|
33
|
+
* ```
|
|
11
34
|
*/
|
|
12
35
|
retrieve(id: string, params: BillCheckPaymentRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<BillCheckPayment>;
|
|
13
36
|
/**
|
|
14
37
|
* Updates an existing bill check payment.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const billCheckPayment =
|
|
42
|
+
* await client.qbd.billCheckPayments.update(
|
|
43
|
+
* '123ABC-1234567890',
|
|
44
|
+
* {
|
|
45
|
+
* revisionNumber: '1721172183',
|
|
46
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
47
|
+
* },
|
|
48
|
+
* );
|
|
49
|
+
* ```
|
|
15
50
|
*/
|
|
16
51
|
update(id: string, params: BillCheckPaymentUpdateParams, options?: Core.RequestOptions): Core.APIPromise<BillCheckPayment>;
|
|
17
52
|
/**
|
|
18
53
|
* Returns a list of bill check payments. Use the `cursor` parameter to paginate
|
|
19
54
|
* through the results.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* // Automatically fetches more pages as needed.
|
|
59
|
+
* for await (const billCheckPayment of client.qbd.billCheckPayments.list(
|
|
60
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
61
|
+
* )) {
|
|
62
|
+
* // ...
|
|
63
|
+
* }
|
|
64
|
+
* ```
|
|
20
65
|
*/
|
|
21
66
|
list(params: BillCheckPaymentListParams, options?: Core.RequestOptions): Core.PagePromise<BillCheckPaymentsCursorPage, BillCheckPayment>;
|
|
22
67
|
/**
|
|
23
68
|
* Permanently deletes a a bill check payment. The deletion will fail if the bill
|
|
24
69
|
* check payment is currently in use or has any linked transactions that are in
|
|
25
70
|
* use.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* const billCheckPayment =
|
|
75
|
+
* await client.qbd.billCheckPayments.delete(
|
|
76
|
+
* '123ABC-1234567890',
|
|
77
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
78
|
+
* );
|
|
79
|
+
* ```
|
|
26
80
|
*/
|
|
27
81
|
delete(id: string, params: BillCheckPaymentDeleteParams, options?: Core.RequestOptions): Core.APIPromise<BillCheckPaymentDeleteResponse>;
|
|
28
82
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bill-check-payments.d.ts","sourceRoot":"","sources":["../../src/resources/qbd/bill-check-payments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAErE,qBAAa,iBAAkB,SAAQ,WAAW;IAChD
|
|
1
|
+
{"version":3,"file":"bill-check-payments.d.ts","sourceRoot":"","sources":["../../src/resources/qbd/bill-check-payments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAErE,qBAAa,iBAAkB,SAAQ,WAAW;IAChD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,MAAM,EAAE,4BAA4B,EACpC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC;IASpC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,8BAA8B,EACtC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC;IAQpC;;;;;;;;;;;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M,CAAC;IAE7B;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,4BAA4B;IAC3C;;;OAGG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAID,MAAM,CAAC,OAAO,WAAW,iBAAiB,CAAC;IACzC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,2BAA2B,IAAI,2BAA2B,EAC1D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -7,6 +7,20 @@ const pagination_1 = require("../../pagination.js");
|
|
|
7
7
|
class BillCheckPayments extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new bill check payment.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const billCheckPayment =
|
|
14
|
+
* await client.qbd.billCheckPayments.create({
|
|
15
|
+
* applyToTransactions: [
|
|
16
|
+
* { transactionId: '123ABC-1234567890' },
|
|
17
|
+
* ],
|
|
18
|
+
* bankAccountId: '80000001-1234567890',
|
|
19
|
+
* transactionDate: '2021-10-01',
|
|
20
|
+
* vendorId: '80000001-1234567890',
|
|
21
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
10
24
|
*/
|
|
11
25
|
create(params, options) {
|
|
12
26
|
const { conductorEndUserId, ...body } = params;
|
|
@@ -18,6 +32,15 @@ class BillCheckPayments extends resource_1.APIResource {
|
|
|
18
32
|
}
|
|
19
33
|
/**
|
|
20
34
|
* Retrieves a bill check payment by ID.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const billCheckPayment =
|
|
39
|
+
* await client.qbd.billCheckPayments.retrieve(
|
|
40
|
+
* '123ABC-1234567890',
|
|
41
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
21
44
|
*/
|
|
22
45
|
retrieve(id, params, options) {
|
|
23
46
|
const { conductorEndUserId } = params;
|
|
@@ -28,6 +51,18 @@ class BillCheckPayments extends resource_1.APIResource {
|
|
|
28
51
|
}
|
|
29
52
|
/**
|
|
30
53
|
* Updates an existing bill check payment.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* const billCheckPayment =
|
|
58
|
+
* await client.qbd.billCheckPayments.update(
|
|
59
|
+
* '123ABC-1234567890',
|
|
60
|
+
* {
|
|
61
|
+
* revisionNumber: '1721172183',
|
|
62
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
63
|
+
* },
|
|
64
|
+
* );
|
|
65
|
+
* ```
|
|
31
66
|
*/
|
|
32
67
|
update(id, params, options) {
|
|
33
68
|
const { conductorEndUserId, ...body } = params;
|
|
@@ -40,6 +75,16 @@ class BillCheckPayments extends resource_1.APIResource {
|
|
|
40
75
|
/**
|
|
41
76
|
* Returns a list of bill check payments. Use the `cursor` parameter to paginate
|
|
42
77
|
* through the results.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```ts
|
|
81
|
+
* // Automatically fetches more pages as needed.
|
|
82
|
+
* for await (const billCheckPayment of client.qbd.billCheckPayments.list(
|
|
83
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
84
|
+
* )) {
|
|
85
|
+
* // ...
|
|
86
|
+
* }
|
|
87
|
+
* ```
|
|
43
88
|
*/
|
|
44
89
|
list(params, options) {
|
|
45
90
|
const { conductorEndUserId, ...query } = params;
|
|
@@ -53,6 +98,15 @@ class BillCheckPayments extends resource_1.APIResource {
|
|
|
53
98
|
* Permanently deletes a a bill check payment. The deletion will fail if the bill
|
|
54
99
|
* check payment is currently in use or has any linked transactions that are in
|
|
55
100
|
* use.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* ```ts
|
|
104
|
+
* const billCheckPayment =
|
|
105
|
+
* await client.qbd.billCheckPayments.delete(
|
|
106
|
+
* '123ABC-1234567890',
|
|
107
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
108
|
+
* );
|
|
109
|
+
* ```
|
|
56
110
|
*/
|
|
57
111
|
delete(id, params, options) {
|
|
58
112
|
const { conductorEndUserId } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bill-check-payments.js","sourceRoot":"","sources":["../../src/resources/qbd/bill-check-payments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAE7C,oDAAqE;AAErE,MAAa,iBAAkB,SAAQ,sBAAW;IAChD
|
|
1
|
+
{"version":3,"file":"bill-check-payments.js","sourceRoot":"","sources":["../../src/resources/qbd/bill-check-payments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAE7C,oDAAqE;AAErE,MAAa,iBAAkB,SAAQ,sBAAW;IAChD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,MAAoC,EACpC,OAA6B;QAE7B,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yCAAyC,EAAE;YA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AAoC,EACpC,OAA6B;QAE7B,MAAM,EAAE,kBAAkB,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE,EAAE,EAAE;YAC1E,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAC9E,CAAC,CAAC;IACL,CAAC;CACF;AArID,8CAqIC;AAED,MAAa,2BAA4B,SAAQ,uBAA4B;CAAG;AAAhF,kEAAgF;AAy9BhF,iBAAiB,CAAC,2BAA2B,GAAG,2BAA2B,CAAC"}
|
|
@@ -4,6 +4,20 @@ import { CursorPage } from "../../pagination.mjs";
|
|
|
4
4
|
export class BillCheckPayments extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Creates a new bill check payment.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const billCheckPayment =
|
|
11
|
+
* await client.qbd.billCheckPayments.create({
|
|
12
|
+
* applyToTransactions: [
|
|
13
|
+
* { transactionId: '123ABC-1234567890' },
|
|
14
|
+
* ],
|
|
15
|
+
* bankAccountId: '80000001-1234567890',
|
|
16
|
+
* transactionDate: '2021-10-01',
|
|
17
|
+
* vendorId: '80000001-1234567890',
|
|
18
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
7
21
|
*/
|
|
8
22
|
create(params, options) {
|
|
9
23
|
const { conductorEndUserId, ...body } = params;
|
|
@@ -15,6 +29,15 @@ export class BillCheckPayments extends APIResource {
|
|
|
15
29
|
}
|
|
16
30
|
/**
|
|
17
31
|
* Retrieves a bill check payment by ID.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const billCheckPayment =
|
|
36
|
+
* await client.qbd.billCheckPayments.retrieve(
|
|
37
|
+
* '123ABC-1234567890',
|
|
38
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
18
41
|
*/
|
|
19
42
|
retrieve(id, params, options) {
|
|
20
43
|
const { conductorEndUserId } = params;
|
|
@@ -25,6 +48,18 @@ export class BillCheckPayments extends APIResource {
|
|
|
25
48
|
}
|
|
26
49
|
/**
|
|
27
50
|
* Updates an existing bill check payment.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* const billCheckPayment =
|
|
55
|
+
* await client.qbd.billCheckPayments.update(
|
|
56
|
+
* '123ABC-1234567890',
|
|
57
|
+
* {
|
|
58
|
+
* revisionNumber: '1721172183',
|
|
59
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
60
|
+
* },
|
|
61
|
+
* );
|
|
62
|
+
* ```
|
|
28
63
|
*/
|
|
29
64
|
update(id, params, options) {
|
|
30
65
|
const { conductorEndUserId, ...body } = params;
|
|
@@ -37,6 +72,16 @@ export class BillCheckPayments extends APIResource {
|
|
|
37
72
|
/**
|
|
38
73
|
* Returns a list of bill check payments. Use the `cursor` parameter to paginate
|
|
39
74
|
* through the results.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```ts
|
|
78
|
+
* // Automatically fetches more pages as needed.
|
|
79
|
+
* for await (const billCheckPayment of client.qbd.billCheckPayments.list(
|
|
80
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
81
|
+
* )) {
|
|
82
|
+
* // ...
|
|
83
|
+
* }
|
|
84
|
+
* ```
|
|
40
85
|
*/
|
|
41
86
|
list(params, options) {
|
|
42
87
|
const { conductorEndUserId, ...query } = params;
|
|
@@ -50,6 +95,15 @@ export class BillCheckPayments extends APIResource {
|
|
|
50
95
|
* Permanently deletes a a bill check payment. The deletion will fail if the bill
|
|
51
96
|
* check payment is currently in use or has any linked transactions that are in
|
|
52
97
|
* use.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ```ts
|
|
101
|
+
* const billCheckPayment =
|
|
102
|
+
* await client.qbd.billCheckPayments.delete(
|
|
103
|
+
* '123ABC-1234567890',
|
|
104
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
105
|
+
* );
|
|
106
|
+
* ```
|
|
53
107
|
*/
|
|
54
108
|
delete(id, params, options) {
|
|
55
109
|
const { conductorEndUserId } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bill-check-payments.mjs","sourceRoot":"","sources":["../../src/resources/qbd/bill-check-payments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAyB;AAE5C,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAChD
|
|
1
|
+
{"version":3,"file":"bill-check-payments.mjs","sourceRoot":"","sources":["../../src/resources/qbd/bill-check-payments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAyB;AAE5C,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAChD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,MAAoC,EACpC,OAA6B;QAE7B,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yCAAyC,EAAE;YAClE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAU,EACV,MAAsC,EACtC,OAA6B;QAE7B,MAAM,EAAE,kBAAkB,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2CAA2C,EAAE,EAAE,EAAE;YAC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AAiB,CAAC,2BAA2B,GAAG,2BAA2B,CAAC"}
|
|
@@ -4,21 +4,63 @@ import { CursorPage, type CursorPageParams } from "../../pagination.js";
|
|
|
4
4
|
export declare class BillCreditCardPayments extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Creates a new bill credit card payment.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const billCreditCardPayment =
|
|
11
|
+
* await client.qbd.billCreditCardPayments.create({
|
|
12
|
+
* applyToTransactions: [
|
|
13
|
+
* { transactionId: '123ABC-1234567890' },
|
|
14
|
+
* ],
|
|
15
|
+
* creditCardAccountId: '80000001-1234567890',
|
|
16
|
+
* transactionDate: '2021-10-01',
|
|
17
|
+
* vendorId: '80000001-1234567890',
|
|
18
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
7
21
|
*/
|
|
8
22
|
create(params: BillCreditCardPaymentCreateParams, options?: Core.RequestOptions): Core.APIPromise<BillCreditCardPayment>;
|
|
9
23
|
/**
|
|
10
24
|
* Retrieves a bill credit card payment by ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const billCreditCardPayment =
|
|
29
|
+
* await client.qbd.billCreditCardPayments.retrieve(
|
|
30
|
+
* '123ABC-1234567890',
|
|
31
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
32
|
+
* );
|
|
33
|
+
* ```
|
|
11
34
|
*/
|
|
12
35
|
retrieve(id: string, params: BillCreditCardPaymentRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<BillCreditCardPayment>;
|
|
13
36
|
/**
|
|
14
37
|
* Returns a list of bill credit card payments. Use the `cursor` parameter to
|
|
15
38
|
* paginate through the results.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* // Automatically fetches more pages as needed.
|
|
43
|
+
* for await (const billCreditCardPayment of client.qbd.billCreditCardPayments.list(
|
|
44
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
45
|
+
* )) {
|
|
46
|
+
* // ...
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
16
49
|
*/
|
|
17
50
|
list(params: BillCreditCardPaymentListParams, options?: Core.RequestOptions): Core.PagePromise<BillCreditCardPaymentsCursorPage, BillCreditCardPayment>;
|
|
18
51
|
/**
|
|
19
52
|
* Permanently deletes a a bill credit card payment. The deletion will fail if the
|
|
20
53
|
* bill credit card payment is currently in use or has any linked transactions that
|
|
21
54
|
* are in use.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* const billCreditCardPayment =
|
|
59
|
+
* await client.qbd.billCreditCardPayments.delete(
|
|
60
|
+
* '123ABC-1234567890',
|
|
61
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
62
|
+
* );
|
|
63
|
+
* ```
|
|
22
64
|
*/
|
|
23
65
|
delete(id: string, params: BillCreditCardPaymentDeleteParams, options?: Core.RequestOptions): Core.APIPromise<BillCreditCardPaymentDeleteResponse>;
|
|
24
66
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bill-credit-card-payments.d.ts","sourceRoot":"","sources":["../../src/resources/qbd/bill-credit-card-payments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAErE,qBAAa,sBAAuB,SAAQ,WAAW;IACrD
|
|
1
|
+
{"version":3,"file":"bill-credit-card-payments.d.ts","sourceRoot":"","sources":["../../src/resources/qbd/bill-credit-card-payments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IA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AAM,CAAC;CAC5B;AAID,MAAM,CAAC,OAAO,WAAW,sBAAsB,CAAC;IAC9C,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,gCAAgC,IAAI,gCAAgC,EACpE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;CACH"}
|
|
@@ -7,6 +7,20 @@ const pagination_1 = require("../../pagination.js");
|
|
|
7
7
|
class BillCreditCardPayments extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new bill credit card payment.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const billCreditCardPayment =
|
|
14
|
+
* await client.qbd.billCreditCardPayments.create({
|
|
15
|
+
* applyToTransactions: [
|
|
16
|
+
* { transactionId: '123ABC-1234567890' },
|
|
17
|
+
* ],
|
|
18
|
+
* creditCardAccountId: '80000001-1234567890',
|
|
19
|
+
* transactionDate: '2021-10-01',
|
|
20
|
+
* vendorId: '80000001-1234567890',
|
|
21
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
10
24
|
*/
|
|
11
25
|
create(params, options) {
|
|
12
26
|
const { conductorEndUserId, ...body } = params;
|
|
@@ -18,6 +32,15 @@ class BillCreditCardPayments extends resource_1.APIResource {
|
|
|
18
32
|
}
|
|
19
33
|
/**
|
|
20
34
|
* Retrieves a bill credit card payment by ID.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const billCreditCardPayment =
|
|
39
|
+
* await client.qbd.billCreditCardPayments.retrieve(
|
|
40
|
+
* '123ABC-1234567890',
|
|
41
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
21
44
|
*/
|
|
22
45
|
retrieve(id, params, options) {
|
|
23
46
|
const { conductorEndUserId } = params;
|
|
@@ -29,6 +52,16 @@ class BillCreditCardPayments extends resource_1.APIResource {
|
|
|
29
52
|
/**
|
|
30
53
|
* Returns a list of bill credit card payments. Use the `cursor` parameter to
|
|
31
54
|
* paginate through the results.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* // Automatically fetches more pages as needed.
|
|
59
|
+
* for await (const billCreditCardPayment of client.qbd.billCreditCardPayments.list(
|
|
60
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
61
|
+
* )) {
|
|
62
|
+
* // ...
|
|
63
|
+
* }
|
|
64
|
+
* ```
|
|
32
65
|
*/
|
|
33
66
|
list(params, options) {
|
|
34
67
|
const { conductorEndUserId, ...query } = params;
|
|
@@ -38,6 +71,15 @@ class BillCreditCardPayments extends resource_1.APIResource {
|
|
|
38
71
|
* Permanently deletes a a bill credit card payment. The deletion will fail if the
|
|
39
72
|
* bill credit card payment is currently in use or has any linked transactions that
|
|
40
73
|
* are in use.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```ts
|
|
77
|
+
* const billCreditCardPayment =
|
|
78
|
+
* await client.qbd.billCreditCardPayments.delete(
|
|
79
|
+
* '123ABC-1234567890',
|
|
80
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
81
|
+
* );
|
|
82
|
+
* ```
|
|
41
83
|
*/
|
|
42
84
|
delete(id, params, options) {
|
|
43
85
|
const { conductorEndUserId } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bill-credit-card-payments.js","sourceRoot":"","sources":["../../src/resources/qbd/bill-credit-card-payments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAE7C,oDAAqE;AAErE,MAAa,sBAAuB,SAAQ,sBAAW;IACrD
|
|
1
|
+
{"version":3,"file":"bill-credit-card-payments.js","sourceRoot":"","sources":["../../src/resources/qbd/bill-credit-card-payments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAE7C,oDAAqE;AAErE,MAAa,sBAAuB,SAAQ,sBAAW;IACrD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,MAAyC,EACzC,OAA6B;QAE7B,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+CAA+C,EAAE;YACxE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAU,EACV,MAA2C,EAC3C,OAA6B;QAE7B,MAAM,EAAE,kBAAkB,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iDAAiD,EAAE,EAAE,EAAE;YAC7E,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,MAAuC,EACvC,OAA6B;QAE7B,MAAM,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,+CAA+C,EAC/C,gCAAgC,EAChC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,EAAE,CACrG,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAU,EACV,MAAyC,EACzC,OAA6B;QAE7B,MAAM,EAAE,kBAAkB,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE,EAAE,EAAE;YAChF,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAC9E,CAAC,CAAC;IACL,CAAC;CACF;AAzGD,wDAyGC;AAED,MAAa,gCAAiC,SAAQ,uBAAiC;CAAG;AAA1F,4EAA0F;AA+vB1F,sBAAsB,CAAC,gCAAgC,GAAG,gCAAgC,CAAC"}
|
|
@@ -4,6 +4,20 @@ import { CursorPage } from "../../pagination.mjs";
|
|
|
4
4
|
export class BillCreditCardPayments extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Creates a new bill credit card payment.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const billCreditCardPayment =
|
|
11
|
+
* await client.qbd.billCreditCardPayments.create({
|
|
12
|
+
* applyToTransactions: [
|
|
13
|
+
* { transactionId: '123ABC-1234567890' },
|
|
14
|
+
* ],
|
|
15
|
+
* creditCardAccountId: '80000001-1234567890',
|
|
16
|
+
* transactionDate: '2021-10-01',
|
|
17
|
+
* vendorId: '80000001-1234567890',
|
|
18
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
7
21
|
*/
|
|
8
22
|
create(params, options) {
|
|
9
23
|
const { conductorEndUserId, ...body } = params;
|
|
@@ -15,6 +29,15 @@ export class BillCreditCardPayments extends APIResource {
|
|
|
15
29
|
}
|
|
16
30
|
/**
|
|
17
31
|
* Retrieves a bill credit card payment by ID.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const billCreditCardPayment =
|
|
36
|
+
* await client.qbd.billCreditCardPayments.retrieve(
|
|
37
|
+
* '123ABC-1234567890',
|
|
38
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
18
41
|
*/
|
|
19
42
|
retrieve(id, params, options) {
|
|
20
43
|
const { conductorEndUserId } = params;
|
|
@@ -26,6 +49,16 @@ export class BillCreditCardPayments extends APIResource {
|
|
|
26
49
|
/**
|
|
27
50
|
* Returns a list of bill credit card payments. Use the `cursor` parameter to
|
|
28
51
|
* paginate through the results.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```ts
|
|
55
|
+
* // Automatically fetches more pages as needed.
|
|
56
|
+
* for await (const billCreditCardPayment of client.qbd.billCreditCardPayments.list(
|
|
57
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
58
|
+
* )) {
|
|
59
|
+
* // ...
|
|
60
|
+
* }
|
|
61
|
+
* ```
|
|
29
62
|
*/
|
|
30
63
|
list(params, options) {
|
|
31
64
|
const { conductorEndUserId, ...query } = params;
|
|
@@ -35,6 +68,15 @@ export class BillCreditCardPayments extends APIResource {
|
|
|
35
68
|
* Permanently deletes a a bill credit card payment. The deletion will fail if the
|
|
36
69
|
* bill credit card payment is currently in use or has any linked transactions that
|
|
37
70
|
* are in use.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* const billCreditCardPayment =
|
|
75
|
+
* await client.qbd.billCreditCardPayments.delete(
|
|
76
|
+
* '123ABC-1234567890',
|
|
77
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
78
|
+
* );
|
|
79
|
+
* ```
|
|
38
80
|
*/
|
|
39
81
|
delete(id, params, options) {
|
|
40
82
|
const { conductorEndUserId } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bill-credit-card-payments.mjs","sourceRoot":"","sources":["../../src/resources/qbd/bill-credit-card-payments.ts"],"names":[],"mappings":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AO,EAAE,OAAO,EAAE,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,EAAE,CACrG,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAU,EACV,MAAyC,EACzC,OAA6B;QAE7B,MAAM,EAAE,kBAAkB,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE,EAAE,EAAE;YAChF,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAC9E,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,gCAAiC,SAAQ,UAAiC;CAAG;AA+vB1F,sBAAsB,CAAC,gCAAgC,GAAG,gCAAgC,CAAC"}
|
package/resources/qbd/bills.d.ts
CHANGED
|
@@ -4,24 +4,70 @@ import { CursorPage, type CursorPageParams } from "../../pagination.js";
|
|
|
4
4
|
export declare class Bills extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Creates a new bill.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const bill = await client.qbd.bills.create({
|
|
11
|
+
* transactionDate: '2021-10-01',
|
|
12
|
+
* vendorId: '80000001-1234567890',
|
|
13
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
7
16
|
*/
|
|
8
17
|
create(params: BillCreateParams, options?: Core.RequestOptions): Core.APIPromise<Bill>;
|
|
9
18
|
/**
|
|
10
19
|
* Retrieves a bill by ID.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const bill = await client.qbd.bills.retrieve(
|
|
24
|
+
* '123ABC-1234567890',
|
|
25
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
26
|
+
* );
|
|
27
|
+
* ```
|
|
11
28
|
*/
|
|
12
29
|
retrieve(id: string, params: BillRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<Bill>;
|
|
13
30
|
/**
|
|
14
31
|
* Updates an existing bill.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const bill = await client.qbd.bills.update(
|
|
36
|
+
* '123ABC-1234567890',
|
|
37
|
+
* {
|
|
38
|
+
* revisionNumber: '1721172183',
|
|
39
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
40
|
+
* },
|
|
41
|
+
* );
|
|
42
|
+
* ```
|
|
15
43
|
*/
|
|
16
44
|
update(id: string, params: BillUpdateParams, options?: Core.RequestOptions): Core.APIPromise<Bill>;
|
|
17
45
|
/**
|
|
18
46
|
* Returns a list of bills. Use the `cursor` parameter to paginate through the
|
|
19
47
|
* results.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* // Automatically fetches more pages as needed.
|
|
52
|
+
* for await (const bill of client.qbd.bills.list({
|
|
53
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
54
|
+
* })) {
|
|
55
|
+
* // ...
|
|
56
|
+
* }
|
|
57
|
+
* ```
|
|
20
58
|
*/
|
|
21
59
|
list(params: BillListParams, options?: Core.RequestOptions): Core.PagePromise<BillsCursorPage, Bill>;
|
|
22
60
|
/**
|
|
23
61
|
* Permanently deletes a a bill. The deletion will fail if the bill is currently in
|
|
24
62
|
* use or has any linked transactions that are in use.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```ts
|
|
66
|
+
* const bill = await client.qbd.bills.delete(
|
|
67
|
+
* '123ABC-1234567890',
|
|
68
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
69
|
+
* );
|
|
70
|
+
* ```
|
|
25
71
|
*/
|
|
26
72
|
delete(id: string, params: BillDeleteParams, options?: Core.RequestOptions): Core.APIPromise<BillDeleteResponse>;
|
|
27
73
|
}
|