conductor-node 11.10.0 → 12.0.0-beta.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 +46 -0
- package/LICENSE +201 -21
- package/README.md +330 -63
- package/_shims/MultipartBody.d.ts +9 -0
- package/_shims/MultipartBody.d.ts.map +1 -0
- package/_shims/MultipartBody.js +16 -0
- package/_shims/MultipartBody.js.map +1 -0
- package/_shims/MultipartBody.mjs +12 -0
- package/_shims/MultipartBody.mjs.map +1 -0
- package/_shims/README.md +46 -0
- package/_shims/auto/runtime-bun.d.ts +5 -0
- package/_shims/auto/runtime-bun.d.ts.map +1 -0
- package/_shims/auto/runtime-bun.js +21 -0
- package/_shims/auto/runtime-bun.js.map +1 -0
- package/_shims/auto/runtime-bun.mjs +2 -0
- package/_shims/auto/runtime-bun.mjs.map +1 -0
- package/_shims/auto/runtime-node.d.ts +5 -0
- package/_shims/auto/runtime-node.d.ts.map +1 -0
- package/_shims/auto/runtime-node.js +21 -0
- package/_shims/auto/runtime-node.js.map +1 -0
- package/_shims/auto/runtime-node.mjs +2 -0
- package/_shims/auto/runtime-node.mjs.map +1 -0
- package/_shims/auto/runtime.d.ts +5 -0
- package/_shims/auto/runtime.d.ts.map +1 -0
- package/_shims/auto/runtime.js +21 -0
- package/_shims/auto/runtime.js.map +1 -0
- package/_shims/auto/runtime.mjs +2 -0
- package/_shims/auto/runtime.mjs.map +1 -0
- package/_shims/auto/types-node.d.ts +5 -0
- package/_shims/auto/types-node.d.ts.map +1 -0
- package/_shims/auto/types-node.js +21 -0
- package/_shims/auto/types-node.js.map +1 -0
- package/_shims/auto/types-node.mjs +2 -0
- package/_shims/auto/types-node.mjs.map +1 -0
- package/_shims/auto/types.d.ts +101 -0
- package/_shims/auto/types.js +3 -0
- package/_shims/auto/types.mjs +3 -0
- package/_shims/bun-runtime.d.ts +6 -0
- package/_shims/bun-runtime.d.ts.map +1 -0
- package/_shims/bun-runtime.js +14 -0
- package/_shims/bun-runtime.js.map +1 -0
- package/_shims/bun-runtime.mjs +10 -0
- package/_shims/bun-runtime.mjs.map +1 -0
- package/_shims/index.d.ts +81 -0
- package/_shims/index.js +13 -0
- package/_shims/index.mjs +7 -0
- package/_shims/manual-types.d.ts +12 -0
- package/_shims/manual-types.js +3 -0
- package/_shims/manual-types.mjs +3 -0
- package/_shims/node-runtime.d.ts +3 -0
- package/_shims/node-runtime.d.ts.map +1 -0
- package/_shims/node-runtime.js +89 -0
- package/_shims/node-runtime.js.map +1 -0
- package/_shims/node-runtime.mjs +56 -0
- package/_shims/node-runtime.mjs.map +1 -0
- package/_shims/node-types.d.ts +42 -0
- package/_shims/node-types.js +3 -0
- package/_shims/node-types.mjs +3 -0
- package/_shims/registry.d.ts +37 -0
- package/_shims/registry.d.ts.map +1 -0
- package/_shims/registry.js +41 -0
- package/_shims/registry.js.map +1 -0
- package/_shims/registry.mjs +37 -0
- package/_shims/registry.mjs.map +1 -0
- package/_shims/web-runtime.d.ts +5 -0
- package/_shims/web-runtime.d.ts.map +1 -0
- package/_shims/web-runtime.js +78 -0
- package/_shims/web-runtime.js.map +1 -0
- package/_shims/web-runtime.mjs +71 -0
- package/_shims/web-runtime.mjs.map +1 -0
- package/_shims/web-types.d.ts +83 -0
- package/_shims/web-types.js +3 -0
- package/_shims/web-types.mjs +3 -0
- package/core.d.ts +241 -0
- package/core.d.ts.map +1 -0
- package/core.js +914 -0
- package/core.js.map +1 -0
- package/core.mjs +882 -0
- package/core.mjs.map +1 -0
- package/error.d.ts +47 -0
- package/error.d.ts.map +1 -0
- package/error.js +113 -0
- package/error.js.map +1 -0
- package/error.mjs +97 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +121 -0
- package/index.d.ts +121 -0
- package/index.d.ts.map +1 -0
- package/index.js +133 -0
- package/index.js.map +1 -0
- package/index.mjs +90 -0
- package/index.mjs.map +1 -0
- package/internal/qs/formats.d.ts +6 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +11 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +8 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +280 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +276 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/{dist/src/resources → internal/qs}/types.js +1 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.ts +14 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +229 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/package.json +111 -35
- package/pagination.d.ts +18 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +40 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +36 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.ts +6 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +11 -0
- package/resource.js.map +1 -0
- package/resource.mjs +7 -0
- package/resource.mjs.map +1 -0
- package/resources/auth-sessions.d.ts +79 -0
- package/resources/auth-sessions.d.ts.map +1 -0
- package/resources/auth-sessions.js +23 -0
- package/resources/auth-sessions.js.map +1 -0
- package/resources/auth-sessions.mjs +19 -0
- package/resources/auth-sessions.mjs.map +1 -0
- package/resources/end-users.d.ts +154 -0
- package/resources/end-users.d.ts.map +1 -0
- package/resources/end-users.js +48 -0
- package/resources/end-users.js.map +1 -0
- package/resources/end-users.mjs +44 -0
- package/resources/end-users.mjs.map +1 -0
- package/resources/index.d.ts +4 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +11 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +5 -0
- package/resources/index.mjs.map +1 -0
- package/resources/qbd/accounts.d.ts +579 -0
- package/resources/qbd/accounts.d.ts.map +1 -0
- package/resources/qbd/accounts.js +54 -0
- package/resources/qbd/accounts.js.map +1 -0
- package/resources/qbd/accounts.mjs +50 -0
- package/resources/qbd/accounts.mjs.map +1 -0
- package/resources/qbd/bill-check-payments.d.ts +831 -0
- package/resources/qbd/bill-check-payments.d.ts.map +1 -0
- package/resources/qbd/bill-check-payments.js +70 -0
- package/resources/qbd/bill-check-payments.js.map +1 -0
- package/resources/qbd/bill-check-payments.mjs +65 -0
- package/resources/qbd/bill-check-payments.mjs.map +1 -0
- package/resources/qbd/bill-credit-card-payments.d.ts +641 -0
- package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -0
- package/resources/qbd/bill-credit-card-payments.js +55 -0
- package/resources/qbd/bill-credit-card-payments.js.map +1 -0
- package/resources/qbd/bill-credit-card-payments.mjs +50 -0
- package/resources/qbd/bill-credit-card-payments.mjs.map +1 -0
- package/resources/qbd/bills.d.ts +2561 -0
- package/resources/qbd/bills.d.ts.map +1 -0
- package/resources/qbd/bills.js +69 -0
- package/resources/qbd/bills.js.map +1 -0
- package/resources/qbd/bills.mjs +64 -0
- package/resources/qbd/bills.mjs.map +1 -0
- package/resources/qbd/checks.d.ts +2528 -0
- package/resources/qbd/checks.d.ts.map +1 -0
- package/resources/qbd/checks.js +69 -0
- package/resources/qbd/checks.js.map +1 -0
- package/resources/qbd/checks.mjs +64 -0
- package/resources/qbd/checks.mjs.map +1 -0
- package/resources/qbd/classes.d.ts +289 -0
- package/resources/qbd/classes.d.ts.map +1 -0
- package/resources/qbd/classes.js +54 -0
- package/resources/qbd/classes.js.map +1 -0
- package/resources/qbd/classes.mjs +50 -0
- package/resources/qbd/classes.mjs.map +1 -0
- package/resources/qbd/credit-card-charges.d.ts +2236 -0
- package/resources/qbd/credit-card-charges.d.ts.map +1 -0
- package/resources/qbd/credit-card-charges.js +69 -0
- package/resources/qbd/credit-card-charges.js.map +1 -0
- package/resources/qbd/credit-card-charges.mjs +64 -0
- package/resources/qbd/credit-card-charges.mjs.map +1 -0
- package/resources/qbd/credit-card-credits.d.ts +2233 -0
- package/resources/qbd/credit-card-credits.d.ts.map +1 -0
- package/resources/qbd/credit-card-credits.js +69 -0
- package/resources/qbd/credit-card-credits.js.map +1 -0
- package/resources/qbd/credit-card-credits.mjs +64 -0
- package/resources/qbd/credit-card-credits.mjs.map +1 -0
- package/resources/qbd/credit-memos.d.ts +2649 -0
- package/resources/qbd/credit-memos.d.ts.map +1 -0
- package/resources/qbd/credit-memos.js +69 -0
- package/resources/qbd/credit-memos.js.map +1 -0
- package/resources/qbd/credit-memos.mjs +64 -0
- package/resources/qbd/credit-memos.mjs.map +1 -0
- package/resources/qbd/customers.d.ts +2106 -0
- package/resources/qbd/customers.d.ts.map +1 -0
- package/resources/qbd/customers.js +58 -0
- package/resources/qbd/customers.js.map +1 -0
- package/resources/qbd/customers.mjs +53 -0
- package/resources/qbd/customers.mjs.map +1 -0
- package/resources/qbd/date-driven-terms.d.ts +242 -0
- package/resources/qbd/date-driven-terms.d.ts.map +1 -0
- package/resources/qbd/date-driven-terms.js +43 -0
- package/resources/qbd/date-driven-terms.js.map +1 -0
- package/resources/qbd/date-driven-terms.mjs +39 -0
- package/resources/qbd/date-driven-terms.mjs.map +1 -0
- package/resources/qbd/discount-items.d.ts +576 -0
- package/resources/qbd/discount-items.d.ts.map +1 -0
- package/resources/qbd/discount-items.js +58 -0
- package/resources/qbd/discount-items.js.map +1 -0
- package/resources/qbd/discount-items.mjs +53 -0
- package/resources/qbd/discount-items.mjs.map +1 -0
- package/resources/qbd/employees.d.ts +1669 -0
- package/resources/qbd/employees.d.ts.map +1 -0
- package/resources/qbd/employees.js +58 -0
- package/resources/qbd/employees.js.map +1 -0
- package/resources/qbd/employees.mjs +53 -0
- package/resources/qbd/employees.mjs.map +1 -0
- package/resources/qbd/estimates.d.ts +2493 -0
- package/resources/qbd/estimates.d.ts.map +1 -0
- package/resources/qbd/estimates.js +69 -0
- package/resources/qbd/estimates.js.map +1 -0
- package/resources/qbd/estimates.mjs +64 -0
- package/resources/qbd/estimates.mjs.map +1 -0
- package/resources/qbd/index.d.ts +37 -0
- package/resources/qbd/index.d.ts.map +1 -0
- package/resources/qbd/index.js +105 -0
- package/resources/qbd/index.js.map +1 -0
- package/resources/qbd/index.mjs +38 -0
- package/resources/qbd/index.mjs.map +1 -0
- package/resources/qbd/inventory-adjustments.d.ts +814 -0
- package/resources/qbd/inventory-adjustments.d.ts.map +1 -0
- package/resources/qbd/inventory-adjustments.js +66 -0
- package/resources/qbd/inventory-adjustments.js.map +1 -0
- package/resources/qbd/inventory-adjustments.mjs +62 -0
- package/resources/qbd/inventory-adjustments.mjs.map +1 -0
- package/resources/qbd/inventory-assembly-items.d.ts +931 -0
- package/resources/qbd/inventory-assembly-items.d.ts.map +1 -0
- package/resources/qbd/inventory-assembly-items.js +54 -0
- package/resources/qbd/inventory-assembly-items.js.map +1 -0
- package/resources/qbd/inventory-assembly-items.mjs +49 -0
- package/resources/qbd/inventory-assembly-items.mjs.map +1 -0
- package/resources/qbd/inventory-items.d.ts +844 -0
- package/resources/qbd/inventory-items.d.ts.map +1 -0
- package/resources/qbd/inventory-items.js +58 -0
- package/resources/qbd/inventory-items.js.map +1 -0
- package/resources/qbd/inventory-items.mjs +53 -0
- package/resources/qbd/inventory-items.mjs.map +1 -0
- package/resources/qbd/inventory-sites.d.ts +477 -0
- package/resources/qbd/inventory-sites.d.ts.map +1 -0
- package/resources/qbd/inventory-sites.js +54 -0
- package/resources/qbd/inventory-sites.js.map +1 -0
- package/resources/qbd/inventory-sites.mjs +50 -0
- package/resources/qbd/inventory-sites.mjs.map +1 -0
- package/resources/qbd/invoices.d.ts +2873 -0
- package/resources/qbd/invoices.d.ts.map +1 -0
- package/resources/qbd/invoices.js +69 -0
- package/resources/qbd/invoices.js.map +1 -0
- package/resources/qbd/invoices.mjs +64 -0
- package/resources/qbd/invoices.mjs.map +1 -0
- package/resources/qbd/journal-entries.d.ts +856 -0
- package/resources/qbd/journal-entries.d.ts.map +1 -0
- package/resources/qbd/journal-entries.js +69 -0
- package/resources/qbd/journal-entries.js.map +1 -0
- package/resources/qbd/journal-entries.mjs +64 -0
- package/resources/qbd/journal-entries.mjs.map +1 -0
- package/resources/qbd/non-inventory-items.d.ts +950 -0
- package/resources/qbd/non-inventory-items.d.ts.map +1 -0
- package/resources/qbd/non-inventory-items.js +58 -0
- package/resources/qbd/non-inventory-items.js.map +1 -0
- package/resources/qbd/non-inventory-items.mjs +53 -0
- package/resources/qbd/non-inventory-items.mjs.map +1 -0
- package/resources/qbd/payroll-wage-items.d.ts +215 -0
- package/resources/qbd/payroll-wage-items.d.ts.map +1 -0
- package/resources/qbd/payroll-wage-items.js +47 -0
- package/resources/qbd/payroll-wage-items.js.map +1 -0
- package/resources/qbd/payroll-wage-items.mjs +42 -0
- package/resources/qbd/payroll-wage-items.mjs.map +1 -0
- package/resources/qbd/purchase-orders.d.ts +2554 -0
- package/resources/qbd/purchase-orders.d.ts.map +1 -0
- package/resources/qbd/purchase-orders.js +69 -0
- package/resources/qbd/purchase-orders.js.map +1 -0
- package/resources/qbd/purchase-orders.mjs +64 -0
- package/resources/qbd/purchase-orders.mjs.map +1 -0
- package/resources/qbd/qbd.d.ts +146 -0
- package/resources/qbd/qbd.d.ts.map +1 -0
- package/resources/qbd/qbd.js +202 -0
- package/resources/qbd/qbd.js.map +1 -0
- package/resources/qbd/qbd.mjs +175 -0
- package/resources/qbd/qbd.mjs.map +1 -0
- package/resources/qbd/receive-payments.d.ts +1282 -0
- package/resources/qbd/receive-payments.d.ts.map +1 -0
- package/resources/qbd/receive-payments.js +70 -0
- package/resources/qbd/receive-payments.js.map +1 -0
- package/resources/qbd/receive-payments.mjs +65 -0
- package/resources/qbd/receive-payments.mjs.map +1 -0
- package/resources/qbd/sales-orders.d.ts +2628 -0
- package/resources/qbd/sales-orders.d.ts.map +1 -0
- package/resources/qbd/sales-orders.js +69 -0
- package/resources/qbd/sales-orders.js.map +1 -0
- package/resources/qbd/sales-orders.mjs +64 -0
- package/resources/qbd/sales-orders.mjs.map +1 -0
- package/resources/qbd/sales-receipts.d.ts +3373 -0
- package/resources/qbd/sales-receipts.d.ts.map +1 -0
- package/resources/qbd/sales-receipts.js +69 -0
- package/resources/qbd/sales-receipts.js.map +1 -0
- package/resources/qbd/sales-receipts.mjs +64 -0
- package/resources/qbd/sales-receipts.mjs.map +1 -0
- package/resources/qbd/sales-representatives.d.ts +251 -0
- package/resources/qbd/sales-representatives.d.ts.map +1 -0
- package/resources/qbd/sales-representatives.js +54 -0
- package/resources/qbd/sales-representatives.js.map +1 -0
- package/resources/qbd/sales-representatives.mjs +50 -0
- package/resources/qbd/sales-representatives.mjs.map +1 -0
- package/resources/qbd/sales-tax-codes.d.ts +306 -0
- package/resources/qbd/sales-tax-codes.d.ts.map +1 -0
- package/resources/qbd/sales-tax-codes.js +54 -0
- package/resources/qbd/sales-tax-codes.js.map +1 -0
- package/resources/qbd/sales-tax-codes.mjs +50 -0
- package/resources/qbd/sales-tax-codes.mjs.map +1 -0
- package/resources/qbd/sales-tax-items.d.ts +458 -0
- package/resources/qbd/sales-tax-items.d.ts.map +1 -0
- package/resources/qbd/sales-tax-items.js +58 -0
- package/resources/qbd/sales-tax-items.js.map +1 -0
- package/resources/qbd/sales-tax-items.mjs +53 -0
- package/resources/qbd/sales-tax-items.mjs.map +1 -0
- package/resources/qbd/service-items.d.ts +923 -0
- package/resources/qbd/service-items.d.ts.map +1 -0
- package/resources/qbd/service-items.js +58 -0
- package/resources/qbd/service-items.js.map +1 -0
- package/resources/qbd/service-items.mjs +53 -0
- package/resources/qbd/service-items.mjs.map +1 -0
- package/resources/qbd/standard-terms.d.ts +225 -0
- package/resources/qbd/standard-terms.d.ts.map +1 -0
- package/resources/qbd/standard-terms.js +43 -0
- package/resources/qbd/standard-terms.js.map +1 -0
- package/resources/qbd/standard-terms.mjs +39 -0
- package/resources/qbd/standard-terms.mjs.map +1 -0
- package/resources/qbd/subtotal-items.d.ts +323 -0
- package/resources/qbd/subtotal-items.d.ts.map +1 -0
- package/resources/qbd/subtotal-items.js +58 -0
- package/resources/qbd/subtotal-items.js.map +1 -0
- package/resources/qbd/subtotal-items.mjs +53 -0
- package/resources/qbd/subtotal-items.mjs.map +1 -0
- package/resources/qbd/transfers.d.ts +269 -0
- package/resources/qbd/transfers.d.ts.map +1 -0
- package/resources/qbd/transfers.js +58 -0
- package/resources/qbd/transfers.js.map +1 -0
- package/resources/qbd/transfers.mjs +53 -0
- package/resources/qbd/transfers.mjs.map +1 -0
- package/resources/qbd/vendor-credits.d.ts +2298 -0
- package/resources/qbd/vendor-credits.d.ts.map +1 -0
- package/resources/qbd/vendor-credits.js +69 -0
- package/resources/qbd/vendor-credits.js.map +1 -0
- package/resources/qbd/vendor-credits.mjs +64 -0
- package/resources/qbd/vendor-credits.mjs.map +1 -0
- package/resources/qbd/vendors.d.ts +1677 -0
- package/resources/qbd/vendors.d.ts.map +1 -0
- package/resources/qbd/vendors.js +58 -0
- package/resources/qbd/vendors.js.map +1 -0
- package/resources/qbd/vendors.mjs +53 -0
- package/resources/qbd/vendors.mjs.map +1 -0
- package/shims/node.d.ts +30 -0
- package/shims/node.d.ts.map +1 -0
- package/shims/node.js +31 -0
- package/shims/node.js.map +1 -0
- package/shims/node.mjs +5 -0
- package/shims/node.mjs.map +1 -0
- package/shims/web.d.ts +26 -0
- package/shims/web.d.ts.map +1 -0
- package/shims/web.js +31 -0
- package/shims/web.js.map +1 -0
- package/shims/web.mjs +5 -0
- package/shims/web.mjs.map +1 -0
- package/src/_shims/MultipartBody.ts +9 -0
- package/src/_shims/README.md +46 -0
- package/src/_shims/auto/runtime-bun.ts +4 -0
- package/src/_shims/auto/runtime-node.ts +4 -0
- package/src/_shims/auto/runtime.ts +4 -0
- package/src/_shims/auto/types-node.ts +4 -0
- package/src/_shims/auto/types.d.ts +101 -0
- package/src/_shims/auto/types.js +3 -0
- package/src/_shims/auto/types.mjs +3 -0
- package/src/_shims/bun-runtime.ts +14 -0
- package/src/_shims/index.d.ts +81 -0
- package/src/_shims/index.js +13 -0
- package/src/_shims/index.mjs +7 -0
- package/src/_shims/manual-types.d.ts +12 -0
- package/src/_shims/manual-types.js +3 -0
- package/src/_shims/manual-types.mjs +3 -0
- package/src/_shims/node-runtime.ts +81 -0
- package/src/_shims/node-types.d.ts +42 -0
- package/src/_shims/node-types.js +3 -0
- package/src/_shims/node-types.mjs +3 -0
- package/src/_shims/registry.ts +67 -0
- package/src/_shims/web-runtime.ts +103 -0
- package/src/_shims/web-types.d.ts +83 -0
- package/src/_shims/web-types.js +3 -0
- package/src/_shims/web-types.mjs +3 -0
- package/src/core.ts +1208 -0
- package/src/error.ts +130 -0
- package/src/index.ts +227 -0
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +9 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +388 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/lib/.keep +4 -0
- package/src/pagination.ts +60 -0
- package/src/resource.ts +11 -0
- package/src/resources/auth-sessions.ts +99 -0
- package/src/resources/end-users.ts +216 -0
- package/src/resources/index.ts +14 -0
- package/src/resources/qbd/accounts.ts +797 -0
- package/src/resources/qbd/bill-check-payments.ts +1086 -0
- package/src/resources/qbd/bill-credit-card-payments.ts +851 -0
- package/src/resources/qbd/bills.ts +3039 -0
- package/src/resources/qbd/checks.ts +3003 -0
- package/src/resources/qbd/classes.ts +366 -0
- package/src/resources/qbd/credit-card-charges.ts +2646 -0
- package/src/resources/qbd/credit-card-credits.ts +2643 -0
- package/src/resources/qbd/credit-memos.ts +3157 -0
- package/src/resources/qbd/customers.ts +2518 -0
- package/src/resources/qbd/date-driven-terms.ts +314 -0
- package/src/resources/qbd/discount-items.ts +712 -0
- package/src/resources/qbd/employees.ts +2266 -0
- package/src/resources/qbd/estimates.ts +2975 -0
- package/src/resources/qbd/index.ts +346 -0
- package/src/resources/qbd/inventory-adjustments.ts +1008 -0
- package/src/resources/qbd/inventory-assembly-items.ts +1126 -0
- package/src/resources/qbd/inventory-items.ts +1026 -0
- package/src/resources/qbd/inventory-sites.ts +605 -0
- package/src/resources/qbd/invoices.ts +3398 -0
- package/src/resources/qbd/journal-entries.ts +1051 -0
- package/src/resources/qbd/non-inventory-items.ts +1138 -0
- package/src/resources/qbd/payroll-wage-items.ts +304 -0
- package/src/resources/qbd/purchase-orders.ts +3045 -0
- package/src/resources/qbd/qbd.ts +876 -0
- package/src/resources/qbd/receive-payments.ts +1609 -0
- package/src/resources/qbd/sales-orders.ts +3141 -0
- package/src/resources/qbd/sales-receipts.ts +3977 -0
- package/src/resources/qbd/sales-representatives.ts +340 -0
- package/src/resources/qbd/sales-tax-codes.ts +398 -0
- package/src/resources/qbd/sales-tax-items.ts +583 -0
- package/src/resources/qbd/service-items.ts +1105 -0
- package/src/resources/qbd/standard-terms.ts +295 -0
- package/src/resources/qbd/subtotal-items.ts +430 -0
- package/src/resources/qbd/transfers.ts +359 -0
- package/src/resources/qbd/vendor-credits.ts +2742 -0
- package/src/resources/qbd/vendors.ts +2017 -0
- package/src/shims/node.ts +50 -0
- package/src/shims/web.ts +50 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +255 -0
- package/src/version.ts +1 -0
- package/uploads.d.ts +75 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +171 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +158 -0
- package/uploads.mjs.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
- package/dist/package.json +0 -48
- package/dist/src/Client.d.ts +0 -21
- package/dist/src/Client.js +0 -54
- package/dist/src/index.d.ts +0 -11
- package/dist/src/index.js +0 -59
- package/dist/src/integrations/BaseIntegration.d.ts +0 -9
- package/dist/src/integrations/BaseIntegration.js +0 -14
- package/dist/src/integrations/qbd/QbdIntegration.d.ts +0 -3120
- package/dist/src/integrations/qbd/QbdIntegration.js +0 -3147
- package/dist/src/integrations/qbd/qbdTypes.d.ts +0 -14076
- package/dist/src/integrations/qbd/qbdTypes.js +0 -2
- package/dist/src/interceptors/errorHandling.d.ts +0 -2
- package/dist/src/interceptors/errorHandling.js +0 -53
- package/dist/src/interceptors/logging.d.ts +0 -18
- package/dist/src/interceptors/logging.js +0 -70
- package/dist/src/resources/AuthSessionsResource.d.ts +0 -77
- package/dist/src/resources/AuthSessionsResource.js +0 -26
- package/dist/src/resources/BaseResource.d.ts +0 -6
- package/dist/src/resources/BaseResource.js +0 -9
- package/dist/src/resources/EndUsersResource.d.ts +0 -84
- package/dist/src/resources/EndUsersResource.js +0 -57
- package/dist/src/resources/types.d.ts +0 -40
- package/dist/src/utils/checkForUpdates.d.ts +0 -2
- package/dist/src/utils/checkForUpdates.js +0 -62
- package/dist/src/utils/env.d.ts +0 -1
- package/dist/src/utils/env.js +0 -15
- package/dist/src/utils/error.d.ts +0 -184
- package/dist/src/utils/error.js +0 -254
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import { APIResource } from "../../resource.js";
|
|
2
|
+
import * as Core from "../../core.js";
|
|
3
|
+
import { CursorPage, type CursorPageParams } from "../../pagination.js";
|
|
4
|
+
export declare class SubtotalItems extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new subtotal item.
|
|
7
|
+
*/
|
|
8
|
+
create(params: SubtotalItemCreateParams, options?: Core.RequestOptions): Core.APIPromise<SubtotalItem>;
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a subtotal item by ID.
|
|
11
|
+
*/
|
|
12
|
+
retrieve(id: string, params: SubtotalItemRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<SubtotalItem>;
|
|
13
|
+
/**
|
|
14
|
+
* Updates an existing subtotal item.
|
|
15
|
+
*/
|
|
16
|
+
update(id: string, params: SubtotalItemUpdateParams, options?: Core.RequestOptions): Core.APIPromise<SubtotalItem>;
|
|
17
|
+
/**
|
|
18
|
+
* Returns a list of subtotal items. Use the `cursor` parameter to paginate through
|
|
19
|
+
* the results.
|
|
20
|
+
*/
|
|
21
|
+
list(params: SubtotalItemListParams, options?: Core.RequestOptions): Core.PagePromise<SubtotalItemsCursorPage, SubtotalItem>;
|
|
22
|
+
}
|
|
23
|
+
export declare class SubtotalItemsCursorPage extends CursorPage<SubtotalItem> {
|
|
24
|
+
}
|
|
25
|
+
export interface SubtotalItem {
|
|
26
|
+
/**
|
|
27
|
+
* The unique identifier assigned by QuickBooks to this subtotal item. This ID is
|
|
28
|
+
* unique across all subtotal items but not across different QuickBooks object
|
|
29
|
+
* types.
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
/**
|
|
33
|
+
* The subtotal item's barcode.
|
|
34
|
+
*/
|
|
35
|
+
barcode: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* The date and time when this subtotal item was created, in ISO 8601 format
|
|
38
|
+
* (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone
|
|
39
|
+
* in QuickBooks.
|
|
40
|
+
*/
|
|
41
|
+
createdAt: string;
|
|
42
|
+
/**
|
|
43
|
+
* The custom fields for the subtotal item object, added as user-defined data
|
|
44
|
+
* extensions, not included in the standard QuickBooks object.
|
|
45
|
+
*/
|
|
46
|
+
customFields: Array<SubtotalItem.CustomField>;
|
|
47
|
+
/**
|
|
48
|
+
* The subtotal item's description that will appear on sales forms that include
|
|
49
|
+
* this item.
|
|
50
|
+
*/
|
|
51
|
+
description: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* A globally unique identifier (GUID) you, the developer, can provide for tracking
|
|
54
|
+
* this object in your external system. This field is immutable and can only be set
|
|
55
|
+
* during object creation.
|
|
56
|
+
*/
|
|
57
|
+
externalId: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Indicates whether this subtotal item is active. Inactive objects are typically
|
|
60
|
+
* hidden from views and reports in QuickBooks. Defaults to `true`.
|
|
61
|
+
*/
|
|
62
|
+
isActive: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* The case-insensitive unique name of this subtotal item, unique across all
|
|
65
|
+
* subtotal items.
|
|
66
|
+
*
|
|
67
|
+
* **NOTE**: Subtotal items do not have a `fullName` field because they are not
|
|
68
|
+
* hierarchical objects, which is why `name` is unique for them but not for objects
|
|
69
|
+
* that have parents.
|
|
70
|
+
*/
|
|
71
|
+
name: string;
|
|
72
|
+
/**
|
|
73
|
+
* The type of object. This value is always `"qbd_subtotal_item"`.
|
|
74
|
+
*/
|
|
75
|
+
objectType: 'qbd_subtotal_item';
|
|
76
|
+
/**
|
|
77
|
+
* The current QuickBooks-assigned revision number of this subtotal item object,
|
|
78
|
+
* which changes each time the object is modified. When updating this object, you
|
|
79
|
+
* must provide the most recent `revisionNumber` to ensure you're working with the
|
|
80
|
+
* latest data; otherwise, the update will return an error.
|
|
81
|
+
*/
|
|
82
|
+
revisionNumber: string;
|
|
83
|
+
/**
|
|
84
|
+
* The type of special item for this subtotal item.
|
|
85
|
+
*/
|
|
86
|
+
specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal' | null;
|
|
87
|
+
/**
|
|
88
|
+
* The date and time when this subtotal item was last updated, in ISO 8601 format
|
|
89
|
+
* (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone
|
|
90
|
+
* in QuickBooks.
|
|
91
|
+
*/
|
|
92
|
+
updatedAt: string;
|
|
93
|
+
}
|
|
94
|
+
export declare namespace SubtotalItem {
|
|
95
|
+
interface CustomField {
|
|
96
|
+
/**
|
|
97
|
+
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
98
|
+
* custom fields, this name is visible as a label in the QuickBooks UI.
|
|
99
|
+
*/
|
|
100
|
+
name: string;
|
|
101
|
+
/**
|
|
102
|
+
* The identifier of the owner of the custom field, which QuickBooks internally
|
|
103
|
+
* calls a "data extension". For public custom fields visible in the UI, such as
|
|
104
|
+
* those added by the QuickBooks user, this is always "0". For private custom
|
|
105
|
+
* fields that are only visible to the application that created them, this is a
|
|
106
|
+
* valid GUID identifying the owning application. Internally, Conductor always
|
|
107
|
+
* fetches all public custom fields (those with an `ownerId` of "0") for all
|
|
108
|
+
* objects.
|
|
109
|
+
*/
|
|
110
|
+
ownerId: string;
|
|
111
|
+
/**
|
|
112
|
+
* The data type of this custom field.
|
|
113
|
+
*/
|
|
114
|
+
type: 'amount_type' | 'date_time_type' | 'integer_type' | 'percent_type' | 'price_type' | 'quantity_type' | 'string_1024_type' | 'string_255_type';
|
|
115
|
+
/**
|
|
116
|
+
* The value of this custom field. The maximum length depends on the field's data
|
|
117
|
+
* type.
|
|
118
|
+
*/
|
|
119
|
+
value: string;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
export interface SubtotalItemCreateParams {
|
|
123
|
+
/**
|
|
124
|
+
* Body param: The case-insensitive unique name of this subtotal item, unique
|
|
125
|
+
* across all subtotal items.
|
|
126
|
+
*
|
|
127
|
+
* **NOTE**: Subtotal items do not have a `fullName` field because they are not
|
|
128
|
+
* hierarchical objects, which is why `name` is unique for them but not for objects
|
|
129
|
+
* that have parents.
|
|
130
|
+
*
|
|
131
|
+
* Maximum length: 31 characters.
|
|
132
|
+
*/
|
|
133
|
+
name: string;
|
|
134
|
+
/**
|
|
135
|
+
* Header param: The ID of the EndUser to receive this request (e.g.,
|
|
136
|
+
* `"Conductor-End-User-Id: {{END_USER_ID}}"`).
|
|
137
|
+
*/
|
|
138
|
+
conductorEndUserId: string;
|
|
139
|
+
/**
|
|
140
|
+
* Body param: The subtotal item's barcode.
|
|
141
|
+
*/
|
|
142
|
+
barcode?: SubtotalItemCreateParams.Barcode;
|
|
143
|
+
/**
|
|
144
|
+
* Body param: The subtotal item's description that will appear on sales forms that
|
|
145
|
+
* include this item.
|
|
146
|
+
*/
|
|
147
|
+
description?: string;
|
|
148
|
+
/**
|
|
149
|
+
* Body param: A globally unique identifier (GUID) you, the developer, can provide
|
|
150
|
+
* for tracking this object in your external system. This field is immutable and
|
|
151
|
+
* can only be set during object creation.
|
|
152
|
+
*
|
|
153
|
+
* **IMPORTANT**: This field must be formatted as a valid GUID; otherwise,
|
|
154
|
+
* QuickBooks will return an error.
|
|
155
|
+
*/
|
|
156
|
+
externalId?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Body param: Indicates whether this subtotal item is active. Inactive objects are
|
|
159
|
+
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
|
|
160
|
+
*/
|
|
161
|
+
isActive?: boolean;
|
|
162
|
+
}
|
|
163
|
+
export declare namespace SubtotalItemCreateParams {
|
|
164
|
+
/**
|
|
165
|
+
* The subtotal item's barcode.
|
|
166
|
+
*/
|
|
167
|
+
interface Barcode {
|
|
168
|
+
/**
|
|
169
|
+
* Indicates whether to allow the barcode to be overridden.
|
|
170
|
+
*/
|
|
171
|
+
allowOverride?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* Indicates whether to assign the barcode even if it is already used.
|
|
174
|
+
*/
|
|
175
|
+
assignEvenIfUsed?: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* The item's barcode value.
|
|
178
|
+
*/
|
|
179
|
+
value?: string;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
export interface SubtotalItemRetrieveParams {
|
|
183
|
+
/**
|
|
184
|
+
* The ID of the EndUser to receive this request (e.g.,
|
|
185
|
+
* `"Conductor-End-User-Id: {{END_USER_ID}}"`).
|
|
186
|
+
*/
|
|
187
|
+
conductorEndUserId: string;
|
|
188
|
+
}
|
|
189
|
+
export interface SubtotalItemUpdateParams {
|
|
190
|
+
/**
|
|
191
|
+
* Body param: The current QuickBooks-assigned revision number of the subtotal item
|
|
192
|
+
* object you are updating, which you can get by fetching the object first. Provide
|
|
193
|
+
* the most recent `revisionNumber` to ensure you're working with the latest data;
|
|
194
|
+
* otherwise, the update will return an error.
|
|
195
|
+
*/
|
|
196
|
+
revisionNumber: string;
|
|
197
|
+
/**
|
|
198
|
+
* Header param: The ID of the EndUser to receive this request (e.g.,
|
|
199
|
+
* `"Conductor-End-User-Id: {{END_USER_ID}}"`).
|
|
200
|
+
*/
|
|
201
|
+
conductorEndUserId: string;
|
|
202
|
+
/**
|
|
203
|
+
* Body param: The subtotal item's barcode.
|
|
204
|
+
*/
|
|
205
|
+
barcode?: SubtotalItemUpdateParams.Barcode;
|
|
206
|
+
/**
|
|
207
|
+
* Body param: The subtotal item's description that will appear on sales forms that
|
|
208
|
+
* include this item.
|
|
209
|
+
*/
|
|
210
|
+
description?: string;
|
|
211
|
+
/**
|
|
212
|
+
* Body param: Indicates whether this subtotal item is active. Inactive objects are
|
|
213
|
+
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
|
|
214
|
+
*/
|
|
215
|
+
isActive?: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* Body param: The case-insensitive unique name of this subtotal item, unique
|
|
218
|
+
* across all subtotal items.
|
|
219
|
+
*
|
|
220
|
+
* **NOTE**: Subtotal items do not have a `fullName` field because they are not
|
|
221
|
+
* hierarchical objects, which is why `name` is unique for them but not for objects
|
|
222
|
+
* that have parents.
|
|
223
|
+
*
|
|
224
|
+
* Maximum length: 31 characters.
|
|
225
|
+
*/
|
|
226
|
+
name?: string;
|
|
227
|
+
}
|
|
228
|
+
export declare namespace SubtotalItemUpdateParams {
|
|
229
|
+
/**
|
|
230
|
+
* The subtotal item's barcode.
|
|
231
|
+
*/
|
|
232
|
+
interface Barcode {
|
|
233
|
+
/**
|
|
234
|
+
* Indicates whether to allow the barcode to be overridden.
|
|
235
|
+
*/
|
|
236
|
+
allowOverride?: boolean;
|
|
237
|
+
/**
|
|
238
|
+
* Indicates whether to assign the barcode even if it is already used.
|
|
239
|
+
*/
|
|
240
|
+
assignEvenIfUsed?: boolean;
|
|
241
|
+
/**
|
|
242
|
+
* The item's barcode value.
|
|
243
|
+
*/
|
|
244
|
+
value?: string;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
export interface SubtotalItemListParams extends CursorPageParams {
|
|
248
|
+
/**
|
|
249
|
+
* Header param: The ID of the EndUser to receive this request (e.g.,
|
|
250
|
+
* `"Conductor-End-User-Id: {{END_USER_ID}}"`).
|
|
251
|
+
*/
|
|
252
|
+
conductorEndUserId: string;
|
|
253
|
+
/**
|
|
254
|
+
* Query param: Filter for specific subtotal items by their QuickBooks-assigned
|
|
255
|
+
* unique identifier(s).
|
|
256
|
+
*
|
|
257
|
+
* **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
|
|
258
|
+
* query parameters for this request.
|
|
259
|
+
*
|
|
260
|
+
* **NOTE**: If any of the values you specify in this parameter are not found, the
|
|
261
|
+
* request will return an error.
|
|
262
|
+
*/
|
|
263
|
+
ids?: Array<string>;
|
|
264
|
+
/**
|
|
265
|
+
* Query param: Filter for subtotal items whose `name` contains this substring,
|
|
266
|
+
* case-insensitive. NOTE: If you use this parameter, you cannot also use
|
|
267
|
+
* `nameStartsWith` or `nameEndsWith`.
|
|
268
|
+
*/
|
|
269
|
+
nameContains?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Query param: Filter for subtotal items whose `name` ends with this substring,
|
|
272
|
+
* case-insensitive. NOTE: If you use this parameter, you cannot also use
|
|
273
|
+
* `nameContains` or `nameStartsWith`.
|
|
274
|
+
*/
|
|
275
|
+
nameEndsWith?: string;
|
|
276
|
+
/**
|
|
277
|
+
* Query param: Filter for subtotal items whose `name` is alphabetically greater
|
|
278
|
+
* than or equal to this value.
|
|
279
|
+
*/
|
|
280
|
+
nameFrom?: string;
|
|
281
|
+
/**
|
|
282
|
+
* Query param: Filter for specific subtotal items by their name(s),
|
|
283
|
+
* case-insensitive. Like `id`, `name` is a unique identifier for a subtotal item.
|
|
284
|
+
*
|
|
285
|
+
* **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
|
|
286
|
+
* query parameters for this request.
|
|
287
|
+
*
|
|
288
|
+
* **NOTE**: If any of the values you specify in this parameter are not found, the
|
|
289
|
+
* request will return an error.
|
|
290
|
+
*/
|
|
291
|
+
names?: Array<string>;
|
|
292
|
+
/**
|
|
293
|
+
* Query param: Filter for subtotal items whose `name` starts with this substring,
|
|
294
|
+
* case-insensitive. NOTE: If you use this parameter, you cannot also use
|
|
295
|
+
* `nameContains` or `nameEndsWith`.
|
|
296
|
+
*/
|
|
297
|
+
nameStartsWith?: string;
|
|
298
|
+
/**
|
|
299
|
+
* Query param: Filter for subtotal items whose `name` is alphabetically less than
|
|
300
|
+
* or equal to this value.
|
|
301
|
+
*/
|
|
302
|
+
nameTo?: string;
|
|
303
|
+
/**
|
|
304
|
+
* Query param: Filter for subtotal items that are active, inactive, or both.
|
|
305
|
+
*/
|
|
306
|
+
status?: 'active' | 'all' | 'inactive';
|
|
307
|
+
/**
|
|
308
|
+
* Query param: Filter for subtotal items updated on or after this date and time,
|
|
309
|
+
* in ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date
|
|
310
|
+
* (YYYY-MM-DD), the time is assumed to be 00:00:00 of that day.
|
|
311
|
+
*/
|
|
312
|
+
updatedAfter?: string;
|
|
313
|
+
/**
|
|
314
|
+
* Query param: Filter for subtotal items updated on or before this date and time,
|
|
315
|
+
* in ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date
|
|
316
|
+
* (YYYY-MM-DD), the time is assumed to be 23:59:59 of that day.
|
|
317
|
+
*/
|
|
318
|
+
updatedBefore?: string;
|
|
319
|
+
}
|
|
320
|
+
export declare namespace SubtotalItems {
|
|
321
|
+
export { type SubtotalItem as SubtotalItem, SubtotalItemsCursorPage as SubtotalItemsCursorPage, type SubtotalItemCreateParams as SubtotalItemCreateParams, type SubtotalItemRetrieveParams as SubtotalItemRetrieveParams, type SubtotalItemUpdateParams as SubtotalItemUpdateParams, type SubtotalItemListParams as SubtotalItemListParams, };
|
|
322
|
+
}
|
|
323
|
+
//# sourceMappingURL=subtotal-items.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subtotal-items.d.ts","sourceRoot":"","sources":["../../src/resources/qbd/subtotal-items.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,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC;IAStG;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC;IAQhC;;OAEG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC;IAShC;;;OAGG;IACH,IAAI,CACF,MAAM,EAAE,sBAAsB,EAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,uBAAuB,EAAE,YAAY,CAAC;CAQ3D;AAED,qBAAa,uBAAwB,SAAQ,UAAU,CAAC,YAAY,CAAC;CAAG;AAExE,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OA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G;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,UAAU,CAAC;IAEvC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAID,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,uBAAuB,IAAI,uBAAuB,EAClD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SubtotalItemsCursorPage = exports.SubtotalItems = void 0;
|
|
5
|
+
const resource_1 = require("../../resource.js");
|
|
6
|
+
const pagination_1 = require("../../pagination.js");
|
|
7
|
+
class SubtotalItems extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new subtotal item.
|
|
10
|
+
*/
|
|
11
|
+
create(params, options) {
|
|
12
|
+
const { conductorEndUserId, ...body } = params;
|
|
13
|
+
return this._client.post('/quickbooks-desktop/subtotal-items', {
|
|
14
|
+
body,
|
|
15
|
+
...options,
|
|
16
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves a subtotal item by ID.
|
|
21
|
+
*/
|
|
22
|
+
retrieve(id, params, options) {
|
|
23
|
+
const { conductorEndUserId } = params;
|
|
24
|
+
return this._client.get(`/quickbooks-desktop/subtotal-items/${id}`, {
|
|
25
|
+
...options,
|
|
26
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Updates an existing subtotal item.
|
|
31
|
+
*/
|
|
32
|
+
update(id, params, options) {
|
|
33
|
+
const { conductorEndUserId, ...body } = params;
|
|
34
|
+
return this._client.post(`/quickbooks-desktop/subtotal-items/${id}`, {
|
|
35
|
+
body,
|
|
36
|
+
...options,
|
|
37
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Returns a list of subtotal items. Use the `cursor` parameter to paginate through
|
|
42
|
+
* the results.
|
|
43
|
+
*/
|
|
44
|
+
list(params, options) {
|
|
45
|
+
const { conductorEndUserId, ...query } = params;
|
|
46
|
+
return this._client.getAPIList('/quickbooks-desktop/subtotal-items', SubtotalItemsCursorPage, {
|
|
47
|
+
query,
|
|
48
|
+
...options,
|
|
49
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.SubtotalItems = SubtotalItems;
|
|
54
|
+
class SubtotalItemsCursorPage extends pagination_1.CursorPage {
|
|
55
|
+
}
|
|
56
|
+
exports.SubtotalItemsCursorPage = SubtotalItemsCursorPage;
|
|
57
|
+
SubtotalItems.SubtotalItemsCursorPage = SubtotalItemsCursorPage;
|
|
58
|
+
//# sourceMappingURL=subtotal-items.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subtotal-items.js","sourceRoot":"","sources":["../../src/resources/qbd/subtotal-items.ts"],"names":[],"mappings":";AAAA,s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,oCAAoC,EAAE,uBAAuB,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAC9E,CAAC,CAAC;IACL,CAAC;CACF;AA3DD,sCA2DC;AAED,MAAa,uBAAwB,SAAQ,uBAAwB;CAAG;AAAxE,0DAAwE;AA+VxE,aAAa,CAAC,uBAAuB,GAAG,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../resource.mjs";
|
|
3
|
+
import { CursorPage } from "../../pagination.mjs";
|
|
4
|
+
export class SubtotalItems extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new subtotal item.
|
|
7
|
+
*/
|
|
8
|
+
create(params, options) {
|
|
9
|
+
const { conductorEndUserId, ...body } = params;
|
|
10
|
+
return this._client.post('/quickbooks-desktop/subtotal-items', {
|
|
11
|
+
body,
|
|
12
|
+
...options,
|
|
13
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves a subtotal item by ID.
|
|
18
|
+
*/
|
|
19
|
+
retrieve(id, params, options) {
|
|
20
|
+
const { conductorEndUserId } = params;
|
|
21
|
+
return this._client.get(`/quickbooks-desktop/subtotal-items/${id}`, {
|
|
22
|
+
...options,
|
|
23
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Updates an existing subtotal item.
|
|
28
|
+
*/
|
|
29
|
+
update(id, params, options) {
|
|
30
|
+
const { conductorEndUserId, ...body } = params;
|
|
31
|
+
return this._client.post(`/quickbooks-desktop/subtotal-items/${id}`, {
|
|
32
|
+
body,
|
|
33
|
+
...options,
|
|
34
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Returns a list of subtotal items. Use the `cursor` parameter to paginate through
|
|
39
|
+
* the results.
|
|
40
|
+
*/
|
|
41
|
+
list(params, options) {
|
|
42
|
+
const { conductorEndUserId, ...query } = params;
|
|
43
|
+
return this._client.getAPIList('/quickbooks-desktop/subtotal-items', SubtotalItemsCursorPage, {
|
|
44
|
+
query,
|
|
45
|
+
...options,
|
|
46
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class SubtotalItemsCursorPage extends CursorPage {
|
|
51
|
+
}
|
|
52
|
+
SubtotalItems.SubtotalItemsCursorPage = SubtotalItemsCursorPage;
|
|
53
|
+
//# sourceMappingURL=subtotal-items.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subtotal-items.mjs","sourceRoot":"","sources":["../../src/resources/qbd/subtotal-items.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAyB;AAE5C,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,MAAM,CAAC,MAAgC,EAAE,OAA6B;QACpE,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oCAAoC,EAAE;YAC7D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAkC,EAClC,OAA6B;QAE7B,MAAM,EAAE,kBAAkB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