conductor-node 11.10.1 → 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 -65
- 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,366 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../resource';
|
|
4
|
+
import * as Core from '../../core';
|
|
5
|
+
|
|
6
|
+
export class Classes extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new class.
|
|
9
|
+
*/
|
|
10
|
+
create(params: ClassCreateParams, options?: Core.RequestOptions): Core.APIPromise<Class> {
|
|
11
|
+
const { conductorEndUserId, ...body } = params;
|
|
12
|
+
return this._client.post('/quickbooks-desktop/classes', {
|
|
13
|
+
body,
|
|
14
|
+
...options,
|
|
15
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves a class by ID.
|
|
21
|
+
*/
|
|
22
|
+
retrieve(id: string, params: ClassRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<Class> {
|
|
23
|
+
const { conductorEndUserId } = params;
|
|
24
|
+
return this._client.get(`/quickbooks-desktop/classes/${id}`, {
|
|
25
|
+
...options,
|
|
26
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Updates an existing class.
|
|
32
|
+
*/
|
|
33
|
+
update(id: string, params: ClassUpdateParams, options?: Core.RequestOptions): Core.APIPromise<Class> {
|
|
34
|
+
const { conductorEndUserId, ...body } = params;
|
|
35
|
+
return this._client.post(`/quickbooks-desktop/classes/${id}`, {
|
|
36
|
+
body,
|
|
37
|
+
...options,
|
|
38
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Returns a list of classes. NOTE: QuickBooks Desktop does not support pagination
|
|
44
|
+
* for classes; hence, there is no `cursor` parameter. Users typically have few
|
|
45
|
+
* classes.
|
|
46
|
+
*/
|
|
47
|
+
list(params: ClassListParams, options?: Core.RequestOptions): Core.APIPromise<ClassListResponse> {
|
|
48
|
+
const { conductorEndUserId, ...query } = params;
|
|
49
|
+
return this._client.get('/quickbooks-desktop/classes', {
|
|
50
|
+
query,
|
|
51
|
+
...options,
|
|
52
|
+
headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface Class {
|
|
58
|
+
/**
|
|
59
|
+
* The unique identifier assigned by QuickBooks to this class. This ID is unique
|
|
60
|
+
* across all classes but not across different QuickBooks object types.
|
|
61
|
+
*/
|
|
62
|
+
id: string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The date and time when this class was created, in ISO 8601 format
|
|
66
|
+
* (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone
|
|
67
|
+
* in QuickBooks.
|
|
68
|
+
*/
|
|
69
|
+
createdAt: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The case-insensitive fully-qualified unique name of this class, formed by
|
|
73
|
+
* combining the names of its hierarchical parent objects with its own `name`,
|
|
74
|
+
* separated by colons. For example, if a class is under "Department" and has the
|
|
75
|
+
* `name` "Marketing", its `fullName` would be "Department:Marketing".
|
|
76
|
+
*
|
|
77
|
+
* **NOTE**: Unlike `name`, `fullName` is guaranteed to be unique across all class
|
|
78
|
+
* objects. However, `fullName` can still be arbitrarily changed by the QuickBooks
|
|
79
|
+
* user when they modify the underlying `name` field.
|
|
80
|
+
*/
|
|
81
|
+
fullName: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Indicates whether this class is active. Inactive objects are typically hidden
|
|
85
|
+
* from views and reports in QuickBooks. Defaults to `true`.
|
|
86
|
+
*/
|
|
87
|
+
isActive: boolean;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* The case-insensitive name of this class. Not guaranteed to be unique because it
|
|
91
|
+
* does not include the names of its hierarchical parent objects like `fullName`
|
|
92
|
+
* does. For example, two classes could both have the `name` "Marketing", but they
|
|
93
|
+
* could have unique `fullName` values, such as "Department:Marketing" and
|
|
94
|
+
* "Internal:Marketing".
|
|
95
|
+
*/
|
|
96
|
+
name: string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* The type of object. This value is always `"qbd_class"`.
|
|
100
|
+
*/
|
|
101
|
+
objectType: 'qbd_class';
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* The parent class one level above this one in the hierarchy. For example, if this
|
|
105
|
+
* class has a `fullName` of "Department:Marketing", its parent has a `fullName` of
|
|
106
|
+
* "Department". If this class is at the top level, this field will be `null`.
|
|
107
|
+
*/
|
|
108
|
+
parent: Class.Parent | null;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* The current QuickBooks-assigned revision number of this class object, which
|
|
112
|
+
* changes each time the object is modified. When updating this object, you must
|
|
113
|
+
* provide the most recent `revisionNumber` to ensure you're working with the
|
|
114
|
+
* latest data; otherwise, the update will return an error.
|
|
115
|
+
*/
|
|
116
|
+
revisionNumber: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* The depth level of this class in the hierarchy. A top-level class has a
|
|
120
|
+
* `sublevel` of 0; each subsequent sublevel increases this number by 1. For
|
|
121
|
+
* example, a class with a `fullName` of "Department:Marketing" would have a
|
|
122
|
+
* `sublevel` of 1.
|
|
123
|
+
*/
|
|
124
|
+
sublevel: number;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* The date and time when this class was last updated, in ISO 8601 format
|
|
128
|
+
* (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone
|
|
129
|
+
* in QuickBooks.
|
|
130
|
+
*/
|
|
131
|
+
updatedAt: string;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export namespace Class {
|
|
135
|
+
/**
|
|
136
|
+
* The parent class one level above this one in the hierarchy. For example, if this
|
|
137
|
+
* class has a `fullName` of "Department:Marketing", its parent has a `fullName` of
|
|
138
|
+
* "Department". If this class is at the top level, this field will be `null`.
|
|
139
|
+
*/
|
|
140
|
+
export interface Parent {
|
|
141
|
+
/**
|
|
142
|
+
* The unique identifier assigned by QuickBooks to this object. This ID is unique
|
|
143
|
+
* across all objects of the same type, but not across different QuickBooks object
|
|
144
|
+
* types.
|
|
145
|
+
*/
|
|
146
|
+
id: string | null;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* The fully-qualified unique name for this object, formed by combining the names
|
|
150
|
+
* of its parent objects with its own `name`, separated by colons. Not
|
|
151
|
+
* case-sensitive.
|
|
152
|
+
*/
|
|
153
|
+
fullName: string | null;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export interface ClassListResponse {
|
|
158
|
+
/**
|
|
159
|
+
* The array of classes.
|
|
160
|
+
*/
|
|
161
|
+
data: Array<Class>;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* The type of object. This value is always `"list"`.
|
|
165
|
+
*/
|
|
166
|
+
objectType: 'list';
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* The endpoint URL where this list can be accessed.
|
|
170
|
+
*/
|
|
171
|
+
url: string;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export interface ClassCreateParams {
|
|
175
|
+
/**
|
|
176
|
+
* Body param: The case-insensitive name of this class. Not guaranteed to be unique
|
|
177
|
+
* because it does not include the names of its hierarchical parent objects like
|
|
178
|
+
* `fullName` does. For example, two classes could both have the `name`
|
|
179
|
+
* "Marketing", but they could have unique `fullName` values, such as
|
|
180
|
+
* "Department:Marketing" and "Internal:Marketing".
|
|
181
|
+
*
|
|
182
|
+
* Maximum length: 31 characters.
|
|
183
|
+
*/
|
|
184
|
+
name: string;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Header param: The ID of the EndUser to receive this request (e.g.,
|
|
188
|
+
* `"Conductor-End-User-Id: {{END_USER_ID}}"`).
|
|
189
|
+
*/
|
|
190
|
+
conductorEndUserId: string;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Body param: Indicates whether this class is active. Inactive objects are
|
|
194
|
+
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
|
|
195
|
+
*/
|
|
196
|
+
isActive?: boolean;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Body param: The parent class one level above this one in the hierarchy. For
|
|
200
|
+
* example, if this class has a `fullName` of "Department:Marketing", its parent
|
|
201
|
+
* has a `fullName` of "Department". If this class is at the top level, this field
|
|
202
|
+
* will be `null`.
|
|
203
|
+
*/
|
|
204
|
+
parentId?: string;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export interface ClassRetrieveParams {
|
|
208
|
+
/**
|
|
209
|
+
* The ID of the EndUser to receive this request (e.g.,
|
|
210
|
+
* `"Conductor-End-User-Id: {{END_USER_ID}}"`).
|
|
211
|
+
*/
|
|
212
|
+
conductorEndUserId: string;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export interface ClassUpdateParams {
|
|
216
|
+
/**
|
|
217
|
+
* Body param: The current QuickBooks-assigned revision number of the class object
|
|
218
|
+
* you are updating, which you can get by fetching the object first. Provide the
|
|
219
|
+
* most recent `revisionNumber` to ensure you're working with the latest data;
|
|
220
|
+
* otherwise, the update will return an error.
|
|
221
|
+
*/
|
|
222
|
+
revisionNumber: string;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Header param: The ID of the EndUser to receive this request (e.g.,
|
|
226
|
+
* `"Conductor-End-User-Id: {{END_USER_ID}}"`).
|
|
227
|
+
*/
|
|
228
|
+
conductorEndUserId: string;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Body param: Indicates whether this class is active. Inactive objects are
|
|
232
|
+
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
|
|
233
|
+
*/
|
|
234
|
+
isActive?: boolean;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Body param: The case-insensitive name of this class. Not guaranteed to be unique
|
|
238
|
+
* because it does not include the names of its hierarchical parent objects like
|
|
239
|
+
* `fullName` does. For example, two classes could both have the `name`
|
|
240
|
+
* "Marketing", but they could have unique `fullName` values, such as
|
|
241
|
+
* "Department:Marketing" and "Internal:Marketing".
|
|
242
|
+
*
|
|
243
|
+
* Maximum length: 31 characters.
|
|
244
|
+
*/
|
|
245
|
+
name?: string;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Body param: The parent class one level above this one in the hierarchy. For
|
|
249
|
+
* example, if this class has a `fullName` of "Department:Marketing", its parent
|
|
250
|
+
* has a `fullName` of "Department". If this class is at the top level, this field
|
|
251
|
+
* will be `null`.
|
|
252
|
+
*/
|
|
253
|
+
parentId?: string;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export interface ClassListParams {
|
|
257
|
+
/**
|
|
258
|
+
* Header param: The ID of the EndUser to receive this request (e.g.,
|
|
259
|
+
* `"Conductor-End-User-Id: {{END_USER_ID}}"`).
|
|
260
|
+
*/
|
|
261
|
+
conductorEndUserId: string;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Query param: Filter for specific classes by their full-name(s),
|
|
265
|
+
* case-insensitive. Like `id`, `fullName` is a unique identifier for a class,
|
|
266
|
+
* formed by by combining the names of its parent objects with its own `name`,
|
|
267
|
+
* separated by colons. For example, if a class is under "Department" and has the
|
|
268
|
+
* `name` "Marketing", its `fullName` would be "Department:Marketing".
|
|
269
|
+
*
|
|
270
|
+
* **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
|
|
271
|
+
* query parameters for this request.
|
|
272
|
+
*
|
|
273
|
+
* **NOTE**: If any of the values you specify in this parameter are not found, the
|
|
274
|
+
* request will return an error.
|
|
275
|
+
*/
|
|
276
|
+
fullNames?: Array<string>;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Query param: Filter for specific classes by their QuickBooks-assigned unique
|
|
280
|
+
* identifier(s).
|
|
281
|
+
*
|
|
282
|
+
* **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
|
|
283
|
+
* query parameters for this request.
|
|
284
|
+
*
|
|
285
|
+
* **NOTE**: If any of the values you specify in this parameter are not found, the
|
|
286
|
+
* request will return an error.
|
|
287
|
+
*/
|
|
288
|
+
ids?: Array<string>;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Query param: The maximum number of objects to return.
|
|
292
|
+
*
|
|
293
|
+
* **IMPORTANT**: QuickBooks Desktop does not support cursor-based pagination for
|
|
294
|
+
* classes. This parameter will limit the response size, but you cannot fetch
|
|
295
|
+
* subsequent results using a cursor. For pagination, use the name-range parameters
|
|
296
|
+
* instead (e.g., `nameFrom=A&nameTo=B`).
|
|
297
|
+
*
|
|
298
|
+
* When this parameter is omitted, the endpoint returns all classes without limit,
|
|
299
|
+
* unlike paginated endpoints which default to 150 records. This is acceptable
|
|
300
|
+
* because classes typically have low record counts.
|
|
301
|
+
*/
|
|
302
|
+
limit?: number;
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Query param: Filter for classes whose `name` contains this substring,
|
|
306
|
+
* case-insensitive. NOTE: If you use this parameter, you cannot also use
|
|
307
|
+
* `nameStartsWith` or `nameEndsWith`.
|
|
308
|
+
*/
|
|
309
|
+
nameContains?: string;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Query param: Filter for classes whose `name` ends with this substring,
|
|
313
|
+
* case-insensitive. NOTE: If you use this parameter, you cannot also use
|
|
314
|
+
* `nameContains` or `nameStartsWith`.
|
|
315
|
+
*/
|
|
316
|
+
nameEndsWith?: string;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Query param: Filter for classes whose `name` is alphabetically greater than or
|
|
320
|
+
* equal to this value.
|
|
321
|
+
*/
|
|
322
|
+
nameFrom?: string;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Query param: Filter for classes whose `name` starts with this substring,
|
|
326
|
+
* case-insensitive. NOTE: If you use this parameter, you cannot also use
|
|
327
|
+
* `nameContains` or `nameEndsWith`.
|
|
328
|
+
*/
|
|
329
|
+
nameStartsWith?: string;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Query param: Filter for classes whose `name` is alphabetically less than or
|
|
333
|
+
* equal to this value.
|
|
334
|
+
*/
|
|
335
|
+
nameTo?: string;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Query param: Filter for classes that are active, inactive, or both.
|
|
339
|
+
*/
|
|
340
|
+
status?: 'active' | 'all' | 'inactive';
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Query param: Filter for classes updated on or after this date and time, in ISO
|
|
344
|
+
* 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date (YYYY-MM-DD), the
|
|
345
|
+
* time is assumed to be 00:00:00 of that day.
|
|
346
|
+
*/
|
|
347
|
+
updatedAfter?: string;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Query param: Filter for classes updated on or before this date and time, in ISO
|
|
351
|
+
* 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date (YYYY-MM-DD), the
|
|
352
|
+
* time is assumed to be 23:59:59 of that day.
|
|
353
|
+
*/
|
|
354
|
+
updatedBefore?: string;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export declare namespace Classes {
|
|
358
|
+
export {
|
|
359
|
+
type Class as Class,
|
|
360
|
+
type ClassListResponse as ClassListResponse,
|
|
361
|
+
type ClassCreateParams as ClassCreateParams,
|
|
362
|
+
type ClassRetrieveParams as ClassRetrieveParams,
|
|
363
|
+
type ClassUpdateParams as ClassUpdateParams,
|
|
364
|
+
type ClassListParams as ClassListParams,
|
|
365
|
+
};
|
|
366
|
+
}
|