conductor-node 12.43.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/README.md +111 -41
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/bin/cli +46 -0
- package/bin/migration-config.json +44 -0
- package/client.d.mts +189 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +189 -0
- package/client.d.ts.map +1 -0
- package/client.js +462 -0
- package/client.js.map +1 -0
- package/client.mjs +458 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/pagination.d.mts +54 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +54 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +101 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +95 -0
- package/core/pagination.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +1 -46
- package/error.d.ts.map +1 -1
- package/error.js +3 -110
- package/error.js.map +1 -1
- package/error.mjs +1 -96
- package/error.mjs.map +1 -1
- package/index.d.mts +7 -124
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -123
- package/index.d.ts.map +1 -1
- package/index.js +14 -119
- package/index.js.map +1 -1
- package/index.mjs +6 -92
- package/index.mjs.map +1 -1
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +35 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +32 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +1 -0
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/formats.js +4 -2
- package/internal/qs/formats.js.map +1 -1
- package/internal/qs/formats.mjs +2 -1
- package/internal/qs/formats.mjs.map +1 -1
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.js +16 -19
- package/internal/qs/stringify.js.map +1 -1
- package/internal/qs/stringify.mjs +17 -19
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +1 -0
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.js +22 -21
- package/internal/qs/utils.js.map +1 -1
- package/internal/qs/utils.mjs +12 -12
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +85 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +79 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +11 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +113 -64
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +1 -17
- package/pagination.d.ts.map +1 -1
- package/pagination.js +3 -37
- package/pagination.js.map +1 -1
- package/pagination.mjs +1 -35
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +1 -5
- package/resource.d.ts.map +1 -1
- package/resource.js +3 -8
- package/resource.js.map +1 -1
- package/resource.mjs +1 -6
- package/resource.mjs.map +1 -1
- package/resources/auth-sessions.d.mts +84 -0
- package/resources/auth-sessions.d.mts.map +1 -0
- package/resources/auth-sessions.d.ts +4 -3
- package/resources/auth-sessions.d.ts.map +1 -1
- package/resources/auth-sessions.js +1 -1
- package/resources/auth-sessions.js.map +1 -1
- package/resources/auth-sessions.mjs +1 -1
- package/resources/auth-sessions.mjs.map +1 -1
- package/resources/end-users.d.mts +195 -0
- package/resources/end-users.d.mts.map +1 -0
- package/resources/end-users.d.ts +24 -12
- package/resources/end-users.d.ts.map +1 -1
- package/resources/end-users.js +14 -7
- package/resources/end-users.js.map +1 -1
- package/resources/end-users.mjs +14 -7
- package/resources/end-users.mjs.map +1 -1
- package/resources/index.d.mts +4 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/qbd/account-tax-lines.d.mts +56 -0
- package/resources/qbd/account-tax-lines.d.mts.map +1 -0
- package/resources/qbd/account-tax-lines.d.ts +5 -5
- package/resources/qbd/account-tax-lines.d.ts.map +1 -1
- package/resources/qbd/account-tax-lines.js +3 -2
- package/resources/qbd/account-tax-lines.js.map +1 -1
- package/resources/qbd/account-tax-lines.mjs +3 -2
- package/resources/qbd/account-tax-lines.mjs.map +1 -1
- package/resources/qbd/accounts.d.mts +645 -0
- package/resources/qbd/accounts.d.mts.map +1 -0
- package/resources/qbd/accounts.d.ts +11 -14
- package/resources/qbd/accounts.d.ts.map +1 -1
- package/resources/qbd/accounts.js +9 -7
- package/resources/qbd/accounts.js.map +1 -1
- package/resources/qbd/accounts.mjs +9 -7
- package/resources/qbd/accounts.mjs.map +1 -1
- package/resources/qbd/bill-check-payments.d.mts +918 -0
- package/resources/qbd/bill-check-payments.d.mts.map +1 -0
- package/resources/qbd/bill-check-payments.d.ts +16 -21
- package/resources/qbd/bill-check-payments.d.ts.map +1 -1
- package/resources/qbd/bill-check-payments.js +14 -16
- package/resources/qbd/bill-check-payments.js.map +1 -1
- package/resources/qbd/bill-check-payments.mjs +13 -14
- package/resources/qbd/bill-check-payments.mjs.map +1 -1
- package/resources/qbd/bill-credit-card-payments.d.mts +714 -0
- package/resources/qbd/bill-credit-card-payments.d.mts.map +1 -0
- package/resources/qbd/bill-credit-card-payments.d.ts +14 -18
- package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -1
- package/resources/qbd/bill-credit-card-payments.js +15 -13
- package/resources/qbd/bill-credit-card-payments.js.map +1 -1
- package/resources/qbd/bill-credit-card-payments.mjs +14 -11
- package/resources/qbd/bill-credit-card-payments.mjs.map +1 -1
- package/resources/qbd/bills.d.mts +2644 -0
- package/resources/qbd/bills.d.mts.map +1 -0
- package/resources/qbd/bills.d.ts +16 -21
- package/resources/qbd/bills.d.ts.map +1 -1
- package/resources/qbd/bills.js +14 -16
- package/resources/qbd/bills.js.map +1 -1
- package/resources/qbd/bills.mjs +13 -14
- package/resources/qbd/bills.mjs.map +1 -1
- package/resources/qbd/build-assemblies.d.mts +698 -0
- package/resources/qbd/build-assemblies.d.mts.map +1 -0
- package/resources/qbd/build-assemblies.d.ts +16 -21
- package/resources/qbd/build-assemblies.d.ts.map +1 -1
- package/resources/qbd/build-assemblies.js +14 -16
- package/resources/qbd/build-assemblies.js.map +1 -1
- package/resources/qbd/build-assemblies.mjs +13 -14
- package/resources/qbd/build-assemblies.mjs.map +1 -1
- package/resources/qbd/checks.d.mts +2607 -0
- package/resources/qbd/checks.d.mts.map +1 -0
- package/resources/qbd/checks.d.ts +16 -21
- package/resources/qbd/checks.d.ts.map +1 -1
- package/resources/qbd/checks.js +14 -16
- package/resources/qbd/checks.js.map +1 -1
- package/resources/qbd/checks.mjs +13 -14
- package/resources/qbd/checks.mjs.map +1 -1
- package/resources/qbd/classes.d.mts +344 -0
- package/resources/qbd/classes.d.mts.map +1 -0
- package/resources/qbd/classes.d.ts +11 -14
- package/resources/qbd/classes.d.ts.map +1 -1
- package/resources/qbd/classes.js +9 -7
- package/resources/qbd/classes.js.map +1 -1
- package/resources/qbd/classes.mjs +9 -7
- package/resources/qbd/classes.mjs.map +1 -1
- package/resources/qbd/company.d.mts +361 -0
- package/resources/qbd/company.d.mts.map +1 -0
- package/resources/qbd/company.d.ts +5 -5
- package/resources/qbd/company.d.ts.map +1 -1
- package/resources/qbd/company.js +3 -2
- package/resources/qbd/company.js.map +1 -1
- package/resources/qbd/company.mjs +3 -2
- package/resources/qbd/company.mjs.map +1 -1
- package/resources/qbd/credit-card-charges.d.mts +2316 -0
- package/resources/qbd/credit-card-charges.d.mts.map +1 -0
- package/resources/qbd/credit-card-charges.d.ts +16 -21
- package/resources/qbd/credit-card-charges.d.ts.map +1 -1
- package/resources/qbd/credit-card-charges.js +14 -16
- package/resources/qbd/credit-card-charges.js.map +1 -1
- package/resources/qbd/credit-card-charges.mjs +13 -14
- package/resources/qbd/credit-card-charges.mjs.map +1 -1
- package/resources/qbd/credit-card-credits.d.mts +2311 -0
- package/resources/qbd/credit-card-credits.d.mts.map +1 -0
- package/resources/qbd/credit-card-credits.d.ts +16 -21
- package/resources/qbd/credit-card-credits.d.ts.map +1 -1
- package/resources/qbd/credit-card-credits.js +14 -16
- package/resources/qbd/credit-card-credits.js.map +1 -1
- package/resources/qbd/credit-card-credits.mjs +13 -14
- package/resources/qbd/credit-card-credits.mjs.map +1 -1
- package/resources/qbd/credit-card-refunds.d.mts +1012 -0
- package/resources/qbd/credit-card-refunds.d.mts.map +1 -0
- package/resources/qbd/credit-card-refunds.d.ts +14 -18
- package/resources/qbd/credit-card-refunds.d.ts.map +1 -1
- package/resources/qbd/credit-card-refunds.js +12 -14
- package/resources/qbd/credit-card-refunds.js.map +1 -1
- package/resources/qbd/credit-card-refunds.mjs +11 -12
- package/resources/qbd/credit-card-refunds.mjs.map +1 -1
- package/resources/qbd/credit-memos.d.mts +2718 -0
- package/resources/qbd/credit-memos.d.mts.map +1 -0
- package/resources/qbd/credit-memos.d.ts +16 -21
- package/resources/qbd/credit-memos.d.ts.map +1 -1
- package/resources/qbd/credit-memos.js +14 -16
- package/resources/qbd/credit-memos.js.map +1 -1
- package/resources/qbd/credit-memos.mjs +13 -14
- package/resources/qbd/credit-memos.mjs.map +1 -1
- package/resources/qbd/currencies.d.mts +439 -0
- package/resources/qbd/currencies.d.mts.map +1 -0
- package/resources/qbd/currencies.d.ts +11 -14
- package/resources/qbd/currencies.d.ts.map +1 -1
- package/resources/qbd/currencies.js +9 -7
- package/resources/qbd/currencies.js.map +1 -1
- package/resources/qbd/currencies.mjs +9 -7
- package/resources/qbd/currencies.mjs.map +1 -1
- package/resources/qbd/customer-types.d.mts +300 -0
- package/resources/qbd/customer-types.d.mts.map +1 -0
- package/resources/qbd/customer-types.d.ts +9 -11
- package/resources/qbd/customer-types.d.ts.map +1 -1
- package/resources/qbd/customer-types.js +7 -5
- package/resources/qbd/customer-types.js.map +1 -1
- package/resources/qbd/customer-types.mjs +7 -5
- package/resources/qbd/customer-types.mjs.map +1 -1
- package/resources/qbd/customers.d.mts +2163 -0
- package/resources/qbd/customers.d.mts.map +1 -0
- package/resources/qbd/customers.d.ts +14 -18
- package/resources/qbd/customers.d.ts.map +1 -1
- package/resources/qbd/customers.js +12 -14
- package/resources/qbd/customers.js.map +1 -1
- package/resources/qbd/customers.mjs +11 -12
- package/resources/qbd/customers.mjs.map +1 -1
- package/resources/qbd/date-driven-terms.d.mts +295 -0
- package/resources/qbd/date-driven-terms.d.mts.map +1 -0
- package/resources/qbd/date-driven-terms.d.ts +9 -11
- package/resources/qbd/date-driven-terms.d.ts.map +1 -1
- package/resources/qbd/date-driven-terms.js +7 -5
- package/resources/qbd/date-driven-terms.js.map +1 -1
- package/resources/qbd/date-driven-terms.mjs +7 -5
- package/resources/qbd/date-driven-terms.mjs.map +1 -1
- package/resources/qbd/deleted-list-objects.d.mts +105 -0
- package/resources/qbd/deleted-list-objects.d.mts.map +1 -0
- package/resources/qbd/deleted-list-objects.d.ts +5 -5
- package/resources/qbd/deleted-list-objects.d.ts.map +1 -1
- package/resources/qbd/deleted-list-objects.js +3 -2
- package/resources/qbd/deleted-list-objects.js.map +1 -1
- package/resources/qbd/deleted-list-objects.mjs +3 -2
- package/resources/qbd/deleted-list-objects.mjs.map +1 -1
- package/resources/qbd/deleted-transactions.d.mts +111 -0
- package/resources/qbd/deleted-transactions.d.mts.map +1 -0
- package/resources/qbd/deleted-transactions.d.ts +5 -5
- package/resources/qbd/deleted-transactions.d.ts.map +1 -1
- package/resources/qbd/deleted-transactions.js +3 -2
- package/resources/qbd/deleted-transactions.js.map +1 -1
- package/resources/qbd/deleted-transactions.mjs +3 -2
- package/resources/qbd/deleted-transactions.mjs.map +1 -1
- package/resources/qbd/discount-items.d.mts +642 -0
- package/resources/qbd/discount-items.d.mts.map +1 -0
- package/resources/qbd/discount-items.d.ts +14 -18
- package/resources/qbd/discount-items.d.ts.map +1 -1
- package/resources/qbd/discount-items.js +12 -14
- package/resources/qbd/discount-items.js.map +1 -1
- package/resources/qbd/discount-items.mjs +11 -12
- package/resources/qbd/discount-items.mjs.map +1 -1
- package/resources/qbd/employees.d.mts +1811 -0
- package/resources/qbd/employees.d.mts.map +1 -0
- package/resources/qbd/employees.d.ts +11 -14
- package/resources/qbd/employees.d.ts.map +1 -1
- package/resources/qbd/employees.js +9 -7
- package/resources/qbd/employees.js.map +1 -1
- package/resources/qbd/employees.mjs +9 -7
- package/resources/qbd/employees.mjs.map +1 -1
- package/resources/qbd/estimates.d.mts +2584 -0
- package/resources/qbd/estimates.d.mts.map +1 -0
- package/resources/qbd/estimates.d.ts +16 -21
- package/resources/qbd/estimates.d.ts.map +1 -1
- package/resources/qbd/estimates.js +14 -16
- package/resources/qbd/estimates.js.map +1 -1
- package/resources/qbd/estimates.mjs +13 -14
- package/resources/qbd/estimates.mjs.map +1 -1
- package/resources/qbd/index.d.mts +57 -0
- package/resources/qbd/index.d.mts.map +1 -0
- package/resources/qbd/index.d.ts +34 -34
- package/resources/qbd/index.d.ts.map +1 -1
- package/resources/qbd/index.js +2 -36
- package/resources/qbd/index.js.map +1 -1
- package/resources/qbd/index.mjs +34 -34
- package/resources/qbd/index.mjs.map +1 -1
- package/resources/qbd/inventory-adjustments.d.mts +893 -0
- package/resources/qbd/inventory-adjustments.d.mts.map +1 -0
- package/resources/qbd/inventory-adjustments.d.ts +13 -17
- package/resources/qbd/inventory-adjustments.d.ts.map +1 -1
- package/resources/qbd/inventory-adjustments.js +11 -9
- package/resources/qbd/inventory-adjustments.js.map +1 -1
- package/resources/qbd/inventory-adjustments.mjs +11 -9
- package/resources/qbd/inventory-adjustments.mjs.map +1 -1
- package/resources/qbd/inventory-assembly-items.d.mts +988 -0
- package/resources/qbd/inventory-assembly-items.d.mts.map +1 -0
- package/resources/qbd/inventory-assembly-items.d.ts +14 -18
- package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
- package/resources/qbd/inventory-assembly-items.js +15 -13
- package/resources/qbd/inventory-assembly-items.js.map +1 -1
- package/resources/qbd/inventory-assembly-items.mjs +14 -11
- package/resources/qbd/inventory-assembly-items.mjs.map +1 -1
- package/resources/qbd/inventory-items.d.mts +898 -0
- package/resources/qbd/inventory-items.d.mts.map +1 -0
- package/resources/qbd/inventory-items.d.ts +14 -18
- package/resources/qbd/inventory-items.d.ts.map +1 -1
- package/resources/qbd/inventory-items.js +12 -14
- package/resources/qbd/inventory-items.js.map +1 -1
- package/resources/qbd/inventory-items.mjs +11 -12
- package/resources/qbd/inventory-items.mjs.map +1 -1
- package/resources/qbd/inventory-sites.d.mts +537 -0
- package/resources/qbd/inventory-sites.d.mts.map +1 -0
- package/resources/qbd/inventory-sites.d.ts +11 -14
- package/resources/qbd/inventory-sites.d.ts.map +1 -1
- package/resources/qbd/inventory-sites.js +9 -7
- package/resources/qbd/inventory-sites.js.map +1 -1
- package/resources/qbd/inventory-sites.mjs +9 -7
- package/resources/qbd/inventory-sites.mjs.map +1 -1
- package/resources/qbd/invoices.d.mts +2942 -0
- package/resources/qbd/invoices.d.mts.map +1 -0
- package/resources/qbd/invoices.d.ts +16 -21
- package/resources/qbd/invoices.d.ts.map +1 -1
- package/resources/qbd/invoices.js +14 -16
- package/resources/qbd/invoices.js.map +1 -1
- package/resources/qbd/invoices.mjs +13 -14
- package/resources/qbd/invoices.mjs.map +1 -1
- package/resources/qbd/item-groups.d.mts +548 -0
- package/resources/qbd/item-groups.d.mts.map +1 -0
- package/resources/qbd/item-groups.d.ts +14 -18
- package/resources/qbd/item-groups.d.ts.map +1 -1
- package/resources/qbd/item-groups.js +12 -14
- package/resources/qbd/item-groups.js.map +1 -1
- package/resources/qbd/item-groups.mjs +11 -12
- package/resources/qbd/item-groups.mjs.map +1 -1
- package/resources/qbd/item-receipts.d.mts +2416 -0
- package/resources/qbd/item-receipts.d.mts.map +1 -0
- package/resources/qbd/item-receipts.d.ts +16 -21
- package/resources/qbd/item-receipts.d.ts.map +1 -1
- package/resources/qbd/item-receipts.js +14 -16
- package/resources/qbd/item-receipts.js.map +1 -1
- package/resources/qbd/item-receipts.mjs +13 -14
- package/resources/qbd/item-receipts.mjs.map +1 -1
- package/resources/qbd/item-sites.d.mts +244 -0
- package/resources/qbd/item-sites.d.mts.map +1 -0
- package/resources/qbd/item-sites.d.ts +10 -12
- package/resources/qbd/item-sites.d.ts.map +1 -1
- package/resources/qbd/item-sites.js +9 -11
- package/resources/qbd/item-sites.js.map +1 -1
- package/resources/qbd/item-sites.mjs +8 -9
- package/resources/qbd/item-sites.mjs.map +1 -1
- package/resources/qbd/journal-entries.d.mts +937 -0
- package/resources/qbd/journal-entries.d.mts.map +1 -0
- package/resources/qbd/journal-entries.d.ts +16 -21
- package/resources/qbd/journal-entries.d.ts.map +1 -1
- package/resources/qbd/journal-entries.js +14 -16
- package/resources/qbd/journal-entries.js.map +1 -1
- package/resources/qbd/journal-entries.mjs +13 -14
- package/resources/qbd/journal-entries.mjs.map +1 -1
- package/resources/qbd/non-inventory-items.d.mts +1016 -0
- package/resources/qbd/non-inventory-items.d.mts.map +1 -0
- package/resources/qbd/non-inventory-items.d.ts +14 -18
- package/resources/qbd/non-inventory-items.d.ts.map +1 -1
- package/resources/qbd/non-inventory-items.js +12 -14
- package/resources/qbd/non-inventory-items.js.map +1 -1
- package/resources/qbd/non-inventory-items.mjs +11 -12
- package/resources/qbd/non-inventory-items.mjs.map +1 -1
- package/resources/qbd/other-charge-items.d.mts +948 -0
- package/resources/qbd/other-charge-items.d.mts.map +1 -0
- package/resources/qbd/other-charge-items.d.ts +14 -18
- package/resources/qbd/other-charge-items.d.ts.map +1 -1
- package/resources/qbd/other-charge-items.js +12 -14
- package/resources/qbd/other-charge-items.js.map +1 -1
- package/resources/qbd/other-charge-items.mjs +11 -12
- package/resources/qbd/other-charge-items.mjs.map +1 -1
- package/resources/qbd/other-names.d.mts +711 -0
- package/resources/qbd/other-names.d.mts.map +1 -0
- package/resources/qbd/other-names.d.ts +11 -14
- package/resources/qbd/other-names.d.ts.map +1 -1
- package/resources/qbd/other-names.js +9 -7
- package/resources/qbd/other-names.js.map +1 -1
- package/resources/qbd/other-names.mjs +9 -7
- package/resources/qbd/other-names.mjs.map +1 -1
- package/resources/qbd/payment-methods.d.mts +258 -0
- package/resources/qbd/payment-methods.d.mts.map +1 -0
- package/resources/qbd/payment-methods.d.ts +9 -11
- package/resources/qbd/payment-methods.d.ts.map +1 -1
- package/resources/qbd/payment-methods.js +7 -5
- package/resources/qbd/payment-methods.js.map +1 -1
- package/resources/qbd/payment-methods.mjs +7 -5
- package/resources/qbd/payment-methods.mjs.map +1 -1
- package/resources/qbd/payroll-wage-items.d.mts +267 -0
- package/resources/qbd/payroll-wage-items.d.mts.map +1 -0
- package/resources/qbd/payroll-wage-items.d.ts +12 -15
- package/resources/qbd/payroll-wage-items.d.ts.map +1 -1
- package/resources/qbd/payroll-wage-items.js +10 -12
- package/resources/qbd/payroll-wage-items.js.map +1 -1
- package/resources/qbd/payroll-wage-items.mjs +9 -10
- package/resources/qbd/payroll-wage-items.mjs.map +1 -1
- package/resources/qbd/preferences.d.mts +599 -0
- package/resources/qbd/preferences.d.mts.map +1 -0
- package/resources/qbd/preferences.d.ts +5 -5
- package/resources/qbd/preferences.d.ts.map +1 -1
- package/resources/qbd/preferences.js +3 -2
- package/resources/qbd/preferences.js.map +1 -1
- package/resources/qbd/preferences.mjs +3 -2
- package/resources/qbd/preferences.mjs.map +1 -1
- package/resources/qbd/price-levels.d.mts +509 -0
- package/resources/qbd/price-levels.d.mts.map +1 -0
- package/resources/qbd/price-levels.d.ts +11 -14
- package/resources/qbd/price-levels.d.ts.map +1 -1
- package/resources/qbd/price-levels.js +9 -7
- package/resources/qbd/price-levels.js.map +1 -1
- package/resources/qbd/price-levels.mjs +9 -7
- package/resources/qbd/price-levels.mjs.map +1 -1
- package/resources/qbd/purchase-orders.d.mts +2632 -0
- package/resources/qbd/purchase-orders.d.mts.map +1 -0
- package/resources/qbd/purchase-orders.d.ts +16 -21
- package/resources/qbd/purchase-orders.d.ts.map +1 -1
- package/resources/qbd/purchase-orders.js +14 -16
- package/resources/qbd/purchase-orders.js.map +1 -1
- package/resources/qbd/purchase-orders.mjs +13 -14
- package/resources/qbd/purchase-orders.mjs.map +1 -1
- package/resources/qbd/qbd.d.mts +261 -0
- package/resources/qbd/qbd.d.mts.map +1 -0
- package/resources/qbd/qbd.d.ts +39 -39
- package/resources/qbd/qbd.d.ts.map +1 -1
- package/resources/qbd/qbd.js +59 -114
- package/resources/qbd/qbd.js.map +1 -1
- package/resources/qbd/qbd.mjs +37 -70
- package/resources/qbd/qbd.mjs.map +1 -1
- package/resources/qbd/receive-payments.d.mts +1358 -0
- package/resources/qbd/receive-payments.d.mts.map +1 -0
- package/resources/qbd/receive-payments.d.ts +16 -21
- package/resources/qbd/receive-payments.d.ts.map +1 -1
- package/resources/qbd/receive-payments.js +14 -16
- package/resources/qbd/receive-payments.js.map +1 -1
- package/resources/qbd/receive-payments.mjs +13 -14
- package/resources/qbd/receive-payments.mjs.map +1 -1
- package/resources/qbd/sales-orders.d.mts +2705 -0
- package/resources/qbd/sales-orders.d.mts.map +1 -0
- package/resources/qbd/sales-orders.d.ts +16 -21
- package/resources/qbd/sales-orders.d.ts.map +1 -1
- package/resources/qbd/sales-orders.js +14 -16
- package/resources/qbd/sales-orders.js.map +1 -1
- package/resources/qbd/sales-orders.mjs +13 -14
- package/resources/qbd/sales-orders.mjs.map +1 -1
- package/resources/qbd/sales-receipts.d.mts +3454 -0
- package/resources/qbd/sales-receipts.d.mts.map +1 -0
- package/resources/qbd/sales-receipts.d.ts +16 -21
- package/resources/qbd/sales-receipts.d.ts.map +1 -1
- package/resources/qbd/sales-receipts.js +14 -16
- package/resources/qbd/sales-receipts.js.map +1 -1
- package/resources/qbd/sales-receipts.mjs +13 -14
- package/resources/qbd/sales-receipts.mjs.map +1 -1
- package/resources/qbd/sales-representatives.d.mts +317 -0
- package/resources/qbd/sales-representatives.d.mts.map +1 -0
- package/resources/qbd/sales-representatives.d.ts +11 -14
- package/resources/qbd/sales-representatives.d.ts.map +1 -1
- package/resources/qbd/sales-representatives.js +9 -7
- package/resources/qbd/sales-representatives.js.map +1 -1
- package/resources/qbd/sales-representatives.mjs +9 -7
- package/resources/qbd/sales-representatives.mjs.map +1 -1
- package/resources/qbd/sales-tax-codes.d.mts +369 -0
- package/resources/qbd/sales-tax-codes.d.mts.map +1 -0
- package/resources/qbd/sales-tax-codes.d.ts +11 -14
- package/resources/qbd/sales-tax-codes.d.ts.map +1 -1
- package/resources/qbd/sales-tax-codes.js +9 -7
- package/resources/qbd/sales-tax-codes.js.map +1 -1
- package/resources/qbd/sales-tax-codes.mjs +9 -7
- package/resources/qbd/sales-tax-codes.mjs.map +1 -1
- package/resources/qbd/sales-tax-items.d.mts +518 -0
- package/resources/qbd/sales-tax-items.d.mts.map +1 -0
- package/resources/qbd/sales-tax-items.d.ts +14 -18
- package/resources/qbd/sales-tax-items.d.ts.map +1 -1
- package/resources/qbd/sales-tax-items.js +12 -14
- package/resources/qbd/sales-tax-items.js.map +1 -1
- package/resources/qbd/sales-tax-items.mjs +11 -12
- package/resources/qbd/sales-tax-items.mjs.map +1 -1
- package/resources/qbd/service-items.d.mts +987 -0
- package/resources/qbd/service-items.d.mts.map +1 -0
- package/resources/qbd/service-items.d.ts +14 -18
- package/resources/qbd/service-items.d.ts.map +1 -1
- package/resources/qbd/service-items.js +12 -14
- package/resources/qbd/service-items.js.map +1 -1
- package/resources/qbd/service-items.mjs +11 -12
- package/resources/qbd/service-items.mjs.map +1 -1
- package/resources/qbd/standard-terms.d.mts +273 -0
- package/resources/qbd/standard-terms.d.mts.map +1 -0
- package/resources/qbd/standard-terms.d.ts +9 -11
- package/resources/qbd/standard-terms.d.ts.map +1 -1
- package/resources/qbd/standard-terms.js +7 -5
- package/resources/qbd/standard-terms.js.map +1 -1
- package/resources/qbd/standard-terms.mjs +7 -5
- package/resources/qbd/standard-terms.mjs.map +1 -1
- package/resources/qbd/subtotal-items.d.mts +383 -0
- package/resources/qbd/subtotal-items.d.mts.map +1 -0
- package/resources/qbd/subtotal-items.d.ts +14 -18
- package/resources/qbd/subtotal-items.d.ts.map +1 -1
- package/resources/qbd/subtotal-items.js +12 -14
- package/resources/qbd/subtotal-items.js.map +1 -1
- package/resources/qbd/subtotal-items.mjs +11 -12
- package/resources/qbd/subtotal-items.mjs.map +1 -1
- package/resources/qbd/templates.d.mts +107 -0
- package/resources/qbd/templates.d.mts.map +1 -0
- package/resources/qbd/templates.d.ts +5 -5
- package/resources/qbd/templates.d.ts.map +1 -1
- package/resources/qbd/templates.js +3 -2
- package/resources/qbd/templates.js.map +1 -1
- package/resources/qbd/templates.mjs +3 -2
- package/resources/qbd/templates.mjs.map +1 -1
- package/resources/qbd/time-tracking-activities.d.mts +560 -0
- package/resources/qbd/time-tracking-activities.d.mts.map +1 -0
- package/resources/qbd/time-tracking-activities.d.ts +16 -21
- package/resources/qbd/time-tracking-activities.d.ts.map +1 -1
- package/resources/qbd/time-tracking-activities.js +17 -15
- package/resources/qbd/time-tracking-activities.js.map +1 -1
- package/resources/qbd/time-tracking-activities.mjs +16 -13
- package/resources/qbd/time-tracking-activities.mjs.map +1 -1
- package/resources/qbd/transactions.d.mts +356 -0
- package/resources/qbd/transactions.d.mts.map +1 -0
- package/resources/qbd/transactions.d.ts +10 -12
- package/resources/qbd/transactions.d.ts.map +1 -1
- package/resources/qbd/transactions.js +9 -11
- package/resources/qbd/transactions.js.map +1 -1
- package/resources/qbd/transactions.mjs +8 -9
- package/resources/qbd/transactions.mjs.map +1 -1
- package/resources/qbd/transfers.d.mts +331 -0
- package/resources/qbd/transfers.d.mts.map +1 -0
- package/resources/qbd/transfers.d.ts +14 -18
- package/resources/qbd/transfers.d.ts.map +1 -1
- package/resources/qbd/transfers.js +12 -14
- package/resources/qbd/transfers.js.map +1 -1
- package/resources/qbd/transfers.mjs +11 -12
- package/resources/qbd/transfers.mjs.map +1 -1
- package/resources/qbd/unit-of-measure-sets.d.mts +443 -0
- package/resources/qbd/unit-of-measure-sets.d.mts.map +1 -0
- package/resources/qbd/unit-of-measure-sets.d.ts +9 -11
- package/resources/qbd/unit-of-measure-sets.d.ts.map +1 -1
- package/resources/qbd/unit-of-measure-sets.js +7 -5
- package/resources/qbd/unit-of-measure-sets.js.map +1 -1
- package/resources/qbd/unit-of-measure-sets.mjs +7 -5
- package/resources/qbd/unit-of-measure-sets.mjs.map +1 -1
- package/resources/qbd/vendor-credits.d.mts +2387 -0
- package/resources/qbd/vendor-credits.d.mts.map +1 -0
- package/resources/qbd/vendor-credits.d.ts +16 -21
- package/resources/qbd/vendor-credits.d.ts.map +1 -1
- package/resources/qbd/vendor-credits.js +14 -16
- package/resources/qbd/vendor-credits.js.map +1 -1
- package/resources/qbd/vendor-credits.mjs +13 -14
- package/resources/qbd/vendor-credits.mjs.map +1 -1
- package/resources/qbd/vendors.d.mts +1734 -0
- package/resources/qbd/vendors.d.mts.map +1 -0
- package/resources/qbd/vendors.d.ts +14 -18
- package/resources/qbd/vendors.d.ts.map +1 -1
- package/resources/qbd/vendors.js +12 -14
- package/resources/qbd/vendors.js.map +1 -1
- package/resources/qbd/vendors.mjs +11 -12
- package/resources/qbd/vendors.mjs.map +1 -1
- package/resources/qbd.d.mts +2 -0
- package/resources/qbd.d.mts.map +1 -0
- package/resources/qbd.d.ts.map +1 -1
- package/resources/qbd.js +2 -15
- package/resources/qbd.js.map +1 -1
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts.map +1 -1
- package/resources.js +2 -15
- package/resources.js.map +1 -1
- package/src/api-promise.ts +2 -0
- package/src/client.ts +769 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/pagination.ts +157 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -130
- package/src/index.ts +6 -223
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +50 -0
- package/src/internal/qs/formats.ts +3 -2
- package/src/internal/qs/index.ts +3 -3
- package/src/internal/qs/stringify.ts +18 -21
- package/src/internal/qs/utils.ts +16 -16
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +126 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +8 -0
- package/src/pagination.ts +2 -60
- package/src/resource.ts +2 -11
- package/src/resources/auth-sessions.ts +4 -3
- package/src/resources/end-users.ts +33 -16
- package/src/resources/index.ts +3 -3
- package/src/resources/qbd/account-tax-lines.ts +7 -9
- package/src/resources/qbd/accounts.ts +19 -24
- package/src/resources/qbd/bill-check-payments.ts +31 -38
- package/src/resources/qbd/bill-credit-card-payments.ts +31 -30
- package/src/resources/qbd/bills.ts +27 -35
- package/src/resources/qbd/build-assemblies.ts +30 -38
- package/src/resources/qbd/checks.ts +27 -35
- package/src/resources/qbd/classes.ts +19 -20
- package/src/resources/qbd/company.ts +7 -6
- package/src/resources/qbd/credit-card-charges.ts +31 -38
- package/src/resources/qbd/credit-card-credits.ts +31 -38
- package/src/resources/qbd/credit-card-refunds.ts +26 -32
- package/src/resources/qbd/credit-memos.ts +29 -41
- package/src/resources/qbd/currencies.ts +19 -24
- package/src/resources/qbd/customer-types.ts +16 -19
- package/src/resources/qbd/customers.ts +23 -33
- package/src/resources/qbd/date-driven-terms.ts +16 -19
- package/src/resources/qbd/deleted-list-objects.ts +8 -7
- package/src/resources/qbd/deleted-transactions.ts +8 -7
- package/src/resources/qbd/discount-items.ts +25 -32
- package/src/resources/qbd/employees.ts +19 -24
- package/src/resources/qbd/estimates.ts +28 -39
- package/src/resources/qbd/index.ts +90 -90
- package/src/resources/qbd/inventory-adjustments.ts +27 -32
- package/src/resources/qbd/inventory-assembly-items.ts +31 -30
- package/src/resources/qbd/inventory-items.ts +25 -32
- package/src/resources/qbd/inventory-sites.ts +20 -28
- package/src/resources/qbd/invoices.ts +28 -39
- package/src/resources/qbd/item-groups.ts +23 -37
- package/src/resources/qbd/item-receipts.ts +29 -41
- package/src/resources/qbd/item-sites.ts +16 -24
- package/src/resources/qbd/journal-entries.ts +30 -38
- package/src/resources/qbd/non-inventory-items.ts +26 -32
- package/src/resources/qbd/other-charge-items.ts +26 -32
- package/src/resources/qbd/other-names.ts +19 -28
- package/src/resources/qbd/payment-methods.ts +16 -19
- package/src/resources/qbd/payroll-wage-items.ts +21 -26
- package/src/resources/qbd/preferences.ts +7 -6
- package/src/resources/qbd/price-levels.ts +19 -28
- package/src/resources/qbd/purchase-orders.ts +30 -38
- package/src/resources/qbd/qbd.ts +151 -187
- package/src/resources/qbd/receive-payments.ts +31 -35
- package/src/resources/qbd/sales-orders.ts +29 -41
- package/src/resources/qbd/sales-receipts.ts +30 -38
- package/src/resources/qbd/sales-representatives.ts +22 -26
- package/src/resources/qbd/sales-tax-codes.ts +20 -28
- package/src/resources/qbd/sales-tax-items.ts +25 -32
- package/src/resources/qbd/service-items.ts +24 -35
- package/src/resources/qbd/standard-terms.ts +16 -19
- package/src/resources/qbd/subtotal-items.ts +25 -32
- package/src/resources/qbd/templates.ts +7 -6
- package/src/resources/qbd/time-tracking-activities.ts +36 -36
- package/src/resources/qbd/transactions.ts +17 -22
- package/src/resources/qbd/transfers.ts +23 -33
- package/src/resources/qbd/unit-of-measure-sets.ts +17 -20
- package/src/resources/qbd/vendor-credits.ts +30 -38
- package/src/resources/qbd/vendors.ts +23 -26
- package/src/resources/qbd.ts +1 -1
- package/src/resources.ts +1 -1
- package/src/tsconfig.json +2 -2
- package/src/uploads.ts +2 -255
- package/src/version.ts +1 -1
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +1 -74
- package/uploads.d.ts.map +1 -1
- package/uploads.js +3 -168
- package/uploads.js.map +1 -1
- package/uploads.mjs +1 -157
- package/uploads.mjs.map +1 -1
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/_shims/MultipartBody.d.ts +0 -9
- package/_shims/MultipartBody.d.ts.map +0 -1
- package/_shims/MultipartBody.js +0 -16
- package/_shims/MultipartBody.js.map +0 -1
- package/_shims/MultipartBody.mjs +0 -12
- package/_shims/MultipartBody.mjs.map +0 -1
- package/_shims/README.md +0 -46
- package/_shims/auto/runtime-bun.d.ts +0 -5
- package/_shims/auto/runtime-bun.d.ts.map +0 -1
- package/_shims/auto/runtime-bun.js +0 -21
- package/_shims/auto/runtime-bun.js.map +0 -1
- package/_shims/auto/runtime-bun.mjs +0 -2
- package/_shims/auto/runtime-bun.mjs.map +0 -1
- package/_shims/auto/runtime-node.d.ts +0 -5
- package/_shims/auto/runtime-node.d.ts.map +0 -1
- package/_shims/auto/runtime-node.js +0 -21
- package/_shims/auto/runtime-node.js.map +0 -1
- package/_shims/auto/runtime-node.mjs +0 -2
- package/_shims/auto/runtime-node.mjs.map +0 -1
- package/_shims/auto/runtime.d.ts +0 -5
- package/_shims/auto/runtime.d.ts.map +0 -1
- package/_shims/auto/runtime.js +0 -21
- package/_shims/auto/runtime.js.map +0 -1
- package/_shims/auto/runtime.mjs +0 -2
- package/_shims/auto/runtime.mjs.map +0 -1
- package/_shims/auto/types-node.d.ts +0 -5
- package/_shims/auto/types-node.d.ts.map +0 -1
- package/_shims/auto/types-node.js +0 -21
- package/_shims/auto/types-node.js.map +0 -1
- package/_shims/auto/types-node.mjs +0 -2
- package/_shims/auto/types-node.mjs.map +0 -1
- package/_shims/auto/types.d.ts +0 -101
- package/_shims/auto/types.js +0 -3
- package/_shims/auto/types.mjs +0 -3
- package/_shims/bun-runtime.d.ts +0 -6
- package/_shims/bun-runtime.d.ts.map +0 -1
- package/_shims/bun-runtime.js +0 -14
- package/_shims/bun-runtime.js.map +0 -1
- package/_shims/bun-runtime.mjs +0 -10
- package/_shims/bun-runtime.mjs.map +0 -1
- package/_shims/index.d.ts +0 -83
- package/_shims/index.js +0 -17
- package/_shims/index.mjs +0 -11
- package/_shims/manual-types.d.ts +0 -12
- package/_shims/manual-types.js +0 -3
- package/_shims/manual-types.mjs +0 -3
- package/_shims/node-runtime.d.ts +0 -3
- package/_shims/node-runtime.d.ts.map +0 -1
- package/_shims/node-runtime.js +0 -89
- package/_shims/node-runtime.js.map +0 -1
- package/_shims/node-runtime.mjs +0 -56
- package/_shims/node-runtime.mjs.map +0 -1
- package/_shims/node-types.d.ts +0 -42
- package/_shims/node-types.js +0 -3
- package/_shims/node-types.mjs +0 -3
- package/_shims/registry.d.ts +0 -37
- package/_shims/registry.d.ts.map +0 -1
- package/_shims/registry.js +0 -41
- package/_shims/registry.js.map +0 -1
- package/_shims/registry.mjs +0 -37
- package/_shims/registry.mjs.map +0 -1
- package/_shims/web-runtime.d.ts +0 -5
- package/_shims/web-runtime.d.ts.map +0 -1
- package/_shims/web-runtime.js +0 -78
- package/_shims/web-runtime.js.map +0 -1
- package/_shims/web-runtime.mjs +0 -71
- package/_shims/web-runtime.mjs.map +0 -1
- package/_shims/web-types.d.ts +0 -83
- package/_shims/web-types.js +0 -3
- package/_shims/web-types.mjs +0 -3
- package/core.d.ts +0 -255
- package/core.d.ts.map +0 -1
- package/core.js +0 -924
- package/core.js.map +0 -1
- package/core.mjs +0 -892
- package/core.mjs.map +0 -1
- package/shims/node.d.ts +0 -30
- package/shims/node.d.ts.map +0 -1
- package/shims/node.js +0 -31
- package/shims/node.js.map +0 -1
- package/shims/node.mjs +0 -5
- package/shims/node.mjs.map +0 -1
- package/shims/web.d.ts +0 -26
- package/shims/web.d.ts.map +0 -1
- package/shims/web.js +0 -31
- package/shims/web.js.map +0 -1
- package/shims/web.mjs +0 -5
- package/shims/web.mjs.map +0 -1
- package/src/_shims/MultipartBody.ts +0 -9
- package/src/_shims/README.md +0 -46
- package/src/_shims/auto/runtime-bun.ts +0 -4
- package/src/_shims/auto/runtime-node.ts +0 -4
- package/src/_shims/auto/runtime.ts +0 -4
- package/src/_shims/auto/types-node.ts +0 -4
- package/src/_shims/auto/types.d.ts +0 -101
- package/src/_shims/auto/types.js +0 -3
- package/src/_shims/auto/types.mjs +0 -3
- package/src/_shims/bun-runtime.ts +0 -14
- package/src/_shims/index.d.ts +0 -83
- package/src/_shims/index.js +0 -17
- package/src/_shims/index.mjs +0 -11
- package/src/_shims/manual-types.d.ts +0 -12
- package/src/_shims/manual-types.js +0 -3
- package/src/_shims/manual-types.mjs +0 -3
- package/src/_shims/node-runtime.ts +0 -81
- package/src/_shims/node-types.d.ts +0 -42
- package/src/_shims/node-types.js +0 -3
- package/src/_shims/node-types.mjs +0 -3
- package/src/_shims/registry.ts +0 -67
- package/src/_shims/web-runtime.ts +0 -103
- package/src/_shims/web-types.d.ts +0 -83
- package/src/_shims/web-types.js +0 -3
- package/src/_shims/web-types.mjs +0 -3
- package/src/core.ts +0 -1236
- package/src/shims/node.ts +0 -50
- package/src/shims/web.ts +0 -50
|
@@ -0,0 +1,918 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { CursorPage, type CursorPageParams, PagePromise } from "../../core/pagination.mjs";
|
|
4
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
5
|
+
export declare class BillCheckPayments extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Records a check payment against one vendor’s open bills. Each bill allocation
|
|
8
|
+
* must include a payment amount, discount, or vendor credit, and the accounts
|
|
9
|
+
* payable account has to match the one used on the bills you’re closing.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const billCheckPayment =
|
|
14
|
+
* await conductor.qbd.billCheckPayments.create({
|
|
15
|
+
* applyToTransactions: [
|
|
16
|
+
* { transactionId: '123ABC-1234567890' },
|
|
17
|
+
* ],
|
|
18
|
+
* bankAccountId: '80000001-1234567890',
|
|
19
|
+
* transactionDate: '2024-10-01',
|
|
20
|
+
* vendorId: '80000001-1234567890',
|
|
21
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
create(params: BillCheckPaymentCreateParams, options?: RequestOptions): APIPromise<BillCheckPayment>;
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves a bill check payment by ID.
|
|
28
|
+
*
|
|
29
|
+
* **IMPORTANT:** If you need to fetch multiple specific bill check payments by ID,
|
|
30
|
+
* use the list endpoint instead with the `ids` parameter. It accepts an array of
|
|
31
|
+
* IDs so you can batch the request into a single call, which is significantly
|
|
32
|
+
* faster.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const billCheckPayment =
|
|
37
|
+
* await conductor.qbd.billCheckPayments.retrieve(
|
|
38
|
+
* '123ABC-1234567890',
|
|
39
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
40
|
+
* );
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
retrieve(id: string, params: BillCheckPaymentRetrieveParams, options?: RequestOptions): APIPromise<BillCheckPayment>;
|
|
44
|
+
/**
|
|
45
|
+
* Updates a bill check payment so you can reallocate how amounts, discounts, or
|
|
46
|
+
* credits are applied to the vendor’s bills. When you update a payment, QuickBooks
|
|
47
|
+
* clears the prior allocations but keeps any existing vendor credits unchanged, so
|
|
48
|
+
* submit the full list of bill applications in this request.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* const billCheckPayment =
|
|
53
|
+
* await conductor.qbd.billCheckPayments.update(
|
|
54
|
+
* '123ABC-1234567890',
|
|
55
|
+
* {
|
|
56
|
+
* revisionNumber: '1721172183',
|
|
57
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
58
|
+
* },
|
|
59
|
+
* );
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
update(id: string, params: BillCheckPaymentUpdateParams, options?: RequestOptions): APIPromise<BillCheckPayment>;
|
|
63
|
+
/**
|
|
64
|
+
* Returns a list of bill check payments. Use the `cursor` parameter to paginate
|
|
65
|
+
* through the results.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```ts
|
|
69
|
+
* // Automatically fetches more pages as needed.
|
|
70
|
+
* for await (const billCheckPayment of conductor.qbd.billCheckPayments.list(
|
|
71
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
72
|
+
* )) {
|
|
73
|
+
* // ...
|
|
74
|
+
* }
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
list(params: BillCheckPaymentListParams, options?: RequestOptions): PagePromise<BillCheckPaymentsCursorPage, BillCheckPayment>;
|
|
78
|
+
/**
|
|
79
|
+
* Permanently deletes a a bill check payment. The deletion will fail if the bill
|
|
80
|
+
* check payment is currently in use or has any linked transactions that are in
|
|
81
|
+
* use.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```ts
|
|
85
|
+
* const billCheckPayment =
|
|
86
|
+
* await conductor.qbd.billCheckPayments.delete(
|
|
87
|
+
* '123ABC-1234567890',
|
|
88
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
89
|
+
* );
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
delete(id: string, params: BillCheckPaymentDeleteParams, options?: RequestOptions): APIPromise<BillCheckPaymentDeleteResponse>;
|
|
93
|
+
}
|
|
94
|
+
export type BillCheckPaymentsCursorPage = CursorPage<BillCheckPayment>;
|
|
95
|
+
export interface BillCheckPayment {
|
|
96
|
+
/**
|
|
97
|
+
* The unique identifier assigned by QuickBooks to this bill check payment. This ID
|
|
98
|
+
* is unique across all transaction types.
|
|
99
|
+
*/
|
|
100
|
+
id: string;
|
|
101
|
+
/**
|
|
102
|
+
* The address that is printed on the bill check payment.
|
|
103
|
+
*/
|
|
104
|
+
address: BillCheckPayment.Address | null;
|
|
105
|
+
/**
|
|
106
|
+
* The monetary amount of this bill check payment, represented as a decimal string.
|
|
107
|
+
*/
|
|
108
|
+
amount: string;
|
|
109
|
+
/**
|
|
110
|
+
* The monetary amount of this bill check payment converted to the home currency of
|
|
111
|
+
* the QuickBooks company file. Represented as a decimal string.
|
|
112
|
+
*/
|
|
113
|
+
amountInHomeCurrency: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* The bill(s) paid by this bill check payment.
|
|
116
|
+
*/
|
|
117
|
+
appliedToTransactions: Array<BillCheckPayment.AppliedToTransaction>;
|
|
118
|
+
/**
|
|
119
|
+
* The bank account from which the funds are being drawn for this bill check
|
|
120
|
+
* payment; e.g., Checking or Savings. This bill check payment will decrease the
|
|
121
|
+
* balance of this account.
|
|
122
|
+
*/
|
|
123
|
+
bankAccount: BillCheckPayment.BankAccount;
|
|
124
|
+
/**
|
|
125
|
+
* The date and time when this bill check payment was created, in ISO 8601 format
|
|
126
|
+
* (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop interprets in the local
|
|
127
|
+
* timezone of the end-user's computer.
|
|
128
|
+
*/
|
|
129
|
+
createdAt: string;
|
|
130
|
+
/**
|
|
131
|
+
* The bill check payment's currency. For built-in currencies, the name and code
|
|
132
|
+
* are standard international values. For user-defined currencies, all values are
|
|
133
|
+
* editable.
|
|
134
|
+
*/
|
|
135
|
+
currency: BillCheckPayment.Currency | null;
|
|
136
|
+
/**
|
|
137
|
+
* The custom fields for the bill check payment object, added as user-defined data
|
|
138
|
+
* extensions, not included in the standard QuickBooks object.
|
|
139
|
+
*/
|
|
140
|
+
customFields: Array<BillCheckPayment.CustomField>;
|
|
141
|
+
/**
|
|
142
|
+
* The market exchange rate between this bill check payment's currency and the home
|
|
143
|
+
* currency in QuickBooks at the time of this transaction. Represented as a decimal
|
|
144
|
+
* value (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home currency).
|
|
145
|
+
*/
|
|
146
|
+
exchangeRate: number | null;
|
|
147
|
+
/**
|
|
148
|
+
* A globally unique identifier (GUID) you, the developer, can provide for tracking
|
|
149
|
+
* this object in your external system. This field is immutable and can only be set
|
|
150
|
+
* during object creation.
|
|
151
|
+
*/
|
|
152
|
+
externalId: string | null;
|
|
153
|
+
/**
|
|
154
|
+
* Indicates whether this bill check payment is included in the queue of documents
|
|
155
|
+
* for QuickBooks to print.
|
|
156
|
+
*/
|
|
157
|
+
isQueuedForPrint: boolean | null;
|
|
158
|
+
/**
|
|
159
|
+
* A memo or note for this bill check payment.
|
|
160
|
+
*/
|
|
161
|
+
memo: string | null;
|
|
162
|
+
/**
|
|
163
|
+
* The type of object. This value is always `"qbd_bill_check_payment"`.
|
|
164
|
+
*/
|
|
165
|
+
objectType: 'qbd_bill_check_payment';
|
|
166
|
+
/**
|
|
167
|
+
* The Accounts-Payable (A/P) account to which this bill check payment is assigned,
|
|
168
|
+
* used to track the amount owed. If not specified, QuickBooks Desktop will use its
|
|
169
|
+
* default A/P account.
|
|
170
|
+
*
|
|
171
|
+
* **IMPORTANT**: If this bill check payment is linked to other transactions, this
|
|
172
|
+
* A/P account must match the `payablesAccount` used in those other transactions.
|
|
173
|
+
*/
|
|
174
|
+
payablesAccount: BillCheckPayment.PayablesAccount | null;
|
|
175
|
+
/**
|
|
176
|
+
* The case-sensitive user-defined reference number for this bill check payment,
|
|
177
|
+
* which can be used to identify the transaction in QuickBooks. This value is not
|
|
178
|
+
* required to be unique and can be arbitrarily changed by the QuickBooks user.
|
|
179
|
+
*
|
|
180
|
+
* **IMPORTANT**: For checks, this field is the check number.
|
|
181
|
+
*/
|
|
182
|
+
refNumber: string | null;
|
|
183
|
+
/**
|
|
184
|
+
* The current QuickBooks-assigned revision number of this bill check payment
|
|
185
|
+
* object, which changes each time the object is modified. When updating this
|
|
186
|
+
* object, you must provide the most recent `revisionNumber` to ensure you're
|
|
187
|
+
* working with the latest data; otherwise, the update will return an error.
|
|
188
|
+
*/
|
|
189
|
+
revisionNumber: string;
|
|
190
|
+
/**
|
|
191
|
+
* The date of this bill check payment, in ISO 8601 format (YYYY-MM-DD).
|
|
192
|
+
*/
|
|
193
|
+
transactionDate: string;
|
|
194
|
+
/**
|
|
195
|
+
* The date and time when this bill check payment was last updated, in ISO 8601
|
|
196
|
+
* format (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop interprets in the
|
|
197
|
+
* local timezone of the end-user's computer.
|
|
198
|
+
*/
|
|
199
|
+
updatedAt: string;
|
|
200
|
+
/**
|
|
201
|
+
* The vendor who sent the bill(s) that this bill check payment is paying and who
|
|
202
|
+
* will receive this payment.
|
|
203
|
+
*
|
|
204
|
+
* **IMPORTANT**: This vendor must match the `vendor` on the bill(s) specified in
|
|
205
|
+
* `applyToTransactions`.
|
|
206
|
+
*/
|
|
207
|
+
vendor: BillCheckPayment.Vendor | null;
|
|
208
|
+
}
|
|
209
|
+
export declare namespace BillCheckPayment {
|
|
210
|
+
/**
|
|
211
|
+
* The address that is printed on the bill check payment.
|
|
212
|
+
*/
|
|
213
|
+
interface Address {
|
|
214
|
+
/**
|
|
215
|
+
* The city, district, suburb, town, or village name of the address.
|
|
216
|
+
*/
|
|
217
|
+
city: string | null;
|
|
218
|
+
/**
|
|
219
|
+
* The country name of the address.
|
|
220
|
+
*/
|
|
221
|
+
country: string | null;
|
|
222
|
+
/**
|
|
223
|
+
* The first line of the address (e.g., street, PO Box, or company name).
|
|
224
|
+
*/
|
|
225
|
+
line1: string | null;
|
|
226
|
+
/**
|
|
227
|
+
* The second line of the address, if needed (e.g., apartment, suite, unit, or
|
|
228
|
+
* building).
|
|
229
|
+
*/
|
|
230
|
+
line2: string | null;
|
|
231
|
+
/**
|
|
232
|
+
* The third line of the address, if needed.
|
|
233
|
+
*/
|
|
234
|
+
line3: string | null;
|
|
235
|
+
/**
|
|
236
|
+
* The fourth line of the address, if needed.
|
|
237
|
+
*/
|
|
238
|
+
line4: string | null;
|
|
239
|
+
/**
|
|
240
|
+
* The fifth line of the address, if needed.
|
|
241
|
+
*/
|
|
242
|
+
line5: string | null;
|
|
243
|
+
/**
|
|
244
|
+
* A note written at the bottom of the address in the form in which it appears,
|
|
245
|
+
* such as the invoice form.
|
|
246
|
+
*/
|
|
247
|
+
note: string | null;
|
|
248
|
+
/**
|
|
249
|
+
* The postal code or ZIP code of the address.
|
|
250
|
+
*/
|
|
251
|
+
postalCode: string | null;
|
|
252
|
+
/**
|
|
253
|
+
* The state, county, province, or region name of the address.
|
|
254
|
+
*/
|
|
255
|
+
state: string | null;
|
|
256
|
+
}
|
|
257
|
+
interface AppliedToTransaction {
|
|
258
|
+
/**
|
|
259
|
+
* The monetary amount of this receivable transaction, represented as a decimal
|
|
260
|
+
* string.
|
|
261
|
+
*/
|
|
262
|
+
amount: string | null;
|
|
263
|
+
/**
|
|
264
|
+
* The outstanding balance of this receivable transaction after applying any
|
|
265
|
+
* credits or payments. Represented as a decimal string.
|
|
266
|
+
*/
|
|
267
|
+
balanceRemaining: string | null;
|
|
268
|
+
/**
|
|
269
|
+
* The financial account used to track this receivable transaction's discount.
|
|
270
|
+
*/
|
|
271
|
+
discountAccount: AppliedToTransaction.DiscountAccount | null;
|
|
272
|
+
/**
|
|
273
|
+
* The monetary amount by which to reduce the receivable transaction's receivable
|
|
274
|
+
* amount, represented as a decimal string.
|
|
275
|
+
*/
|
|
276
|
+
discountAmount: string | null;
|
|
277
|
+
/**
|
|
278
|
+
* The class used to track this receivable transaction's discount.
|
|
279
|
+
*/
|
|
280
|
+
discountClass: AppliedToTransaction.DiscountClass | null;
|
|
281
|
+
/**
|
|
282
|
+
* The receivable transaction's linked transactions, such as payments applied,
|
|
283
|
+
* credits used, or associated purchase orders.
|
|
284
|
+
*
|
|
285
|
+
* **IMPORTANT**: You must specify the parameter `includeLinkedTransactions` when
|
|
286
|
+
* fetching a list of receivable transactions to receive this field because it is
|
|
287
|
+
* not returned by default.
|
|
288
|
+
*/
|
|
289
|
+
linkedTransactions: Array<AppliedToTransaction.LinkedTransaction>;
|
|
290
|
+
/**
|
|
291
|
+
* The case-sensitive user-defined reference number for this receivable
|
|
292
|
+
* transaction, which can be used to identify the transaction in QuickBooks. This
|
|
293
|
+
* value is not required to be unique and can be arbitrarily changed by the
|
|
294
|
+
* QuickBooks user.
|
|
295
|
+
*/
|
|
296
|
+
refNumber: string | null;
|
|
297
|
+
/**
|
|
298
|
+
* The date of this receivable transaction, in ISO 8601 format (YYYY-MM-DD).
|
|
299
|
+
*/
|
|
300
|
+
transactionDate: string | null;
|
|
301
|
+
/**
|
|
302
|
+
* The ID of the receivable transaction to which this payment is applied.
|
|
303
|
+
*/
|
|
304
|
+
transactionId: string;
|
|
305
|
+
/**
|
|
306
|
+
* The type of transaction for this receivable transaction.
|
|
307
|
+
*/
|
|
308
|
+
transactionType: 'ar_refund_credit_card' | 'bill' | 'bill_payment_check' | 'bill_payment_credit_card' | 'build_assembly' | 'charge' | 'check' | 'credit_card_charge' | 'credit_card_credit' | 'credit_memo' | 'deposit' | 'estimate' | 'inventory_adjustment' | 'invoice' | 'item_receipt' | 'journal_entry' | 'liability_adjustment' | 'paycheck' | 'payroll_liability_check' | 'purchase_order' | 'receive_payment' | 'sales_order' | 'sales_receipt' | 'sales_tax_payment_check' | 'transfer' | 'vendor_credit' | 'ytd_adjustment';
|
|
309
|
+
}
|
|
310
|
+
namespace AppliedToTransaction {
|
|
311
|
+
/**
|
|
312
|
+
* The financial account used to track this receivable transaction's discount.
|
|
313
|
+
*/
|
|
314
|
+
interface DiscountAccount {
|
|
315
|
+
/**
|
|
316
|
+
* The unique identifier assigned by QuickBooks to this object. This ID is unique
|
|
317
|
+
* across all objects of the same type, but not across different QuickBooks object
|
|
318
|
+
* types.
|
|
319
|
+
*/
|
|
320
|
+
id: string | null;
|
|
321
|
+
/**
|
|
322
|
+
* The fully-qualified unique name for this object, formed by combining the names
|
|
323
|
+
* of its parent objects with its own `name`, separated by colons. Not
|
|
324
|
+
* case-sensitive.
|
|
325
|
+
*/
|
|
326
|
+
fullName: string | null;
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* The class used to track this receivable transaction's discount.
|
|
330
|
+
*/
|
|
331
|
+
interface DiscountClass {
|
|
332
|
+
/**
|
|
333
|
+
* The unique identifier assigned by QuickBooks to this object. This ID is unique
|
|
334
|
+
* across all objects of the same type, but not across different QuickBooks object
|
|
335
|
+
* types.
|
|
336
|
+
*/
|
|
337
|
+
id: string | null;
|
|
338
|
+
/**
|
|
339
|
+
* The fully-qualified unique name for this object, formed by combining the names
|
|
340
|
+
* of its parent objects with its own `name`, separated by colons. Not
|
|
341
|
+
* case-sensitive.
|
|
342
|
+
*/
|
|
343
|
+
fullName: string | null;
|
|
344
|
+
}
|
|
345
|
+
interface LinkedTransaction {
|
|
346
|
+
/**
|
|
347
|
+
* The unique identifier assigned by QuickBooks to this linked transaction. This ID
|
|
348
|
+
* is unique across all transaction types.
|
|
349
|
+
*/
|
|
350
|
+
id: string;
|
|
351
|
+
/**
|
|
352
|
+
* The monetary amount of this linked transaction, represented as a decimal string.
|
|
353
|
+
*/
|
|
354
|
+
amount: string | null;
|
|
355
|
+
/**
|
|
356
|
+
* Indicates the nature of the link between the transactions: `amount` denotes an
|
|
357
|
+
* amount-based link (e.g., an invoice linked to a payment), and `quantity` denotes
|
|
358
|
+
* a quantity-based link (e.g., an invoice created from a sales order based on the
|
|
359
|
+
* quantity of items received).
|
|
360
|
+
*/
|
|
361
|
+
linkType: 'amount' | 'quantity' | null;
|
|
362
|
+
/**
|
|
363
|
+
* The type of object. This value is always `"qbd_linked_transaction"`.
|
|
364
|
+
*/
|
|
365
|
+
objectType: 'qbd_linked_transaction';
|
|
366
|
+
/**
|
|
367
|
+
* The case-sensitive user-defined reference number for this linked transaction,
|
|
368
|
+
* which can be used to identify the transaction in QuickBooks. This value is not
|
|
369
|
+
* required to be unique and can be arbitrarily changed by the QuickBooks user.
|
|
370
|
+
*/
|
|
371
|
+
refNumber: string | null;
|
|
372
|
+
/**
|
|
373
|
+
* The date of this linked transaction, in ISO 8601 format (YYYY-MM-DD).
|
|
374
|
+
*/
|
|
375
|
+
transactionDate: string;
|
|
376
|
+
/**
|
|
377
|
+
* The type of transaction for this linked transaction.
|
|
378
|
+
*/
|
|
379
|
+
transactionType: 'ar_refund_credit_card' | 'bill' | 'bill_payment_check' | 'bill_payment_credit_card' | 'build_assembly' | 'charge' | 'check' | 'credit_card_charge' | 'credit_card_credit' | 'credit_memo' | 'deposit' | 'estimate' | 'inventory_adjustment' | 'invoice' | 'item_receipt' | 'journal_entry' | 'liability_adjustment' | 'paycheck' | 'payroll_liability_check' | 'purchase_order' | 'receive_payment' | 'sales_order' | 'sales_receipt' | 'sales_tax_payment_check' | 'transfer' | 'vendor_credit' | 'ytd_adjustment' | 'unknown';
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* The bank account from which the funds are being drawn for this bill check
|
|
384
|
+
* payment; e.g., Checking or Savings. This bill check payment will decrease the
|
|
385
|
+
* balance of this account.
|
|
386
|
+
*/
|
|
387
|
+
interface BankAccount {
|
|
388
|
+
/**
|
|
389
|
+
* The unique identifier assigned by QuickBooks to this object. This ID is unique
|
|
390
|
+
* across all objects of the same type, but not across different QuickBooks object
|
|
391
|
+
* types.
|
|
392
|
+
*/
|
|
393
|
+
id: string | null;
|
|
394
|
+
/**
|
|
395
|
+
* The fully-qualified unique name for this object, formed by combining the names
|
|
396
|
+
* of its parent objects with its own `name`, separated by colons. Not
|
|
397
|
+
* case-sensitive.
|
|
398
|
+
*/
|
|
399
|
+
fullName: string | null;
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* The bill check payment's currency. For built-in currencies, the name and code
|
|
403
|
+
* are standard international values. For user-defined currencies, all values are
|
|
404
|
+
* editable.
|
|
405
|
+
*/
|
|
406
|
+
interface Currency {
|
|
407
|
+
/**
|
|
408
|
+
* The unique identifier assigned by QuickBooks to this object. This ID is unique
|
|
409
|
+
* across all objects of the same type, but not across different QuickBooks object
|
|
410
|
+
* types.
|
|
411
|
+
*/
|
|
412
|
+
id: string | null;
|
|
413
|
+
/**
|
|
414
|
+
* The fully-qualified unique name for this object, formed by combining the names
|
|
415
|
+
* of its parent objects with its own `name`, separated by colons. Not
|
|
416
|
+
* case-sensitive.
|
|
417
|
+
*/
|
|
418
|
+
fullName: string | null;
|
|
419
|
+
}
|
|
420
|
+
interface CustomField {
|
|
421
|
+
/**
|
|
422
|
+
* The name of the custom field, unique for the specified `ownerId`. For public
|
|
423
|
+
* custom fields, this name is visible as a label in the QuickBooks UI.
|
|
424
|
+
*/
|
|
425
|
+
name: string;
|
|
426
|
+
/**
|
|
427
|
+
* The identifier of the owner of the custom field, which QuickBooks internally
|
|
428
|
+
* calls a "data extension". For public custom fields visible in the UI, such as
|
|
429
|
+
* those added by the QuickBooks user, this is always "0". For private custom
|
|
430
|
+
* fields that are only visible to the application that created them, this is a
|
|
431
|
+
* valid GUID identifying the owning application. Internally, Conductor always
|
|
432
|
+
* fetches all public custom fields (those with an `ownerId` of "0") for all
|
|
433
|
+
* objects.
|
|
434
|
+
*/
|
|
435
|
+
ownerId: string;
|
|
436
|
+
/**
|
|
437
|
+
* The data type of this custom field.
|
|
438
|
+
*/
|
|
439
|
+
type: 'amount_type' | 'date_time_type' | 'integer_type' | 'percent_type' | 'price_type' | 'quantity_type' | 'string_1024_type' | 'string_255_type';
|
|
440
|
+
/**
|
|
441
|
+
* The value of this custom field. The maximum length depends on the field's data
|
|
442
|
+
* type.
|
|
443
|
+
*/
|
|
444
|
+
value: string;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* The Accounts-Payable (A/P) account to which this bill check payment is assigned,
|
|
448
|
+
* used to track the amount owed. If not specified, QuickBooks Desktop will use its
|
|
449
|
+
* default A/P account.
|
|
450
|
+
*
|
|
451
|
+
* **IMPORTANT**: If this bill check payment is linked to other transactions, this
|
|
452
|
+
* A/P account must match the `payablesAccount` used in those other transactions.
|
|
453
|
+
*/
|
|
454
|
+
interface PayablesAccount {
|
|
455
|
+
/**
|
|
456
|
+
* The unique identifier assigned by QuickBooks to this object. This ID is unique
|
|
457
|
+
* across all objects of the same type, but not across different QuickBooks object
|
|
458
|
+
* types.
|
|
459
|
+
*/
|
|
460
|
+
id: string | null;
|
|
461
|
+
/**
|
|
462
|
+
* The fully-qualified unique name for this object, formed by combining the names
|
|
463
|
+
* of its parent objects with its own `name`, separated by colons. Not
|
|
464
|
+
* case-sensitive.
|
|
465
|
+
*/
|
|
466
|
+
fullName: string | null;
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* The vendor who sent the bill(s) that this bill check payment is paying and who
|
|
470
|
+
* will receive this payment.
|
|
471
|
+
*
|
|
472
|
+
* **IMPORTANT**: This vendor must match the `vendor` on the bill(s) specified in
|
|
473
|
+
* `applyToTransactions`.
|
|
474
|
+
*/
|
|
475
|
+
interface Vendor {
|
|
476
|
+
/**
|
|
477
|
+
* The unique identifier assigned by QuickBooks to this object. This ID is unique
|
|
478
|
+
* across all objects of the same type, but not across different QuickBooks object
|
|
479
|
+
* types.
|
|
480
|
+
*/
|
|
481
|
+
id: string | null;
|
|
482
|
+
/**
|
|
483
|
+
* The fully-qualified unique name for this object, formed by combining the names
|
|
484
|
+
* of its parent objects with its own `name`, separated by colons. Not
|
|
485
|
+
* case-sensitive.
|
|
486
|
+
*/
|
|
487
|
+
fullName: string | null;
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
export interface BillCheckPaymentDeleteResponse {
|
|
491
|
+
/**
|
|
492
|
+
* The QuickBooks-assigned unique identifier of the deleted bill check payment.
|
|
493
|
+
*/
|
|
494
|
+
id: string;
|
|
495
|
+
/**
|
|
496
|
+
* Indicates whether the bill check payment was deleted.
|
|
497
|
+
*/
|
|
498
|
+
deleted: boolean;
|
|
499
|
+
/**
|
|
500
|
+
* The type of object. This value is always `"qbd_bill_check_payment"`.
|
|
501
|
+
*/
|
|
502
|
+
objectType: 'qbd_bill_check_payment';
|
|
503
|
+
/**
|
|
504
|
+
* The case-sensitive user-defined reference number of the deleted bill check
|
|
505
|
+
* payment.
|
|
506
|
+
*/
|
|
507
|
+
refNumber: string | null;
|
|
508
|
+
}
|
|
509
|
+
export interface BillCheckPaymentCreateParams {
|
|
510
|
+
/**
|
|
511
|
+
* Body param: The bills to be paid by this bill check payment. This will create a
|
|
512
|
+
* link between this bill check payment and the specified bills.
|
|
513
|
+
*
|
|
514
|
+
* **IMPORTANT**: In each `applyToTransactions` object, you must specify either
|
|
515
|
+
* `paymentAmount`, `applyCredits`, `discountAmount`, or any combination of these;
|
|
516
|
+
* if none of these are specified, you will receive an error for an empty
|
|
517
|
+
* transaction.
|
|
518
|
+
*
|
|
519
|
+
* **IMPORTANT**: The target bill must have `isPaid=false`, otherwise, QuickBooks
|
|
520
|
+
* will report this object as "cannot be found".
|
|
521
|
+
*/
|
|
522
|
+
applyToTransactions: Array<BillCheckPaymentCreateParams.ApplyToTransaction>;
|
|
523
|
+
/**
|
|
524
|
+
* Body param: The bank account from which the funds are being drawn for this bill
|
|
525
|
+
* check payment; e.g., Checking or Savings. This bill check payment will decrease
|
|
526
|
+
* the balance of this account.
|
|
527
|
+
*/
|
|
528
|
+
bankAccountId: string;
|
|
529
|
+
/**
|
|
530
|
+
* Body param: The date of this bill check payment, in ISO 8601 format
|
|
531
|
+
* (YYYY-MM-DD).
|
|
532
|
+
*/
|
|
533
|
+
transactionDate: string;
|
|
534
|
+
/**
|
|
535
|
+
* Body param: The vendor who sent the bill(s) that this bill check payment is
|
|
536
|
+
* paying and who will receive this payment.
|
|
537
|
+
*
|
|
538
|
+
* **IMPORTANT**: This vendor must match the `vendor` on the bill(s) specified in
|
|
539
|
+
* `applyToTransactions`; otherwise, QuickBooks will say the `transactionId` in
|
|
540
|
+
* `applyToTransactions` "does not exist".
|
|
541
|
+
*/
|
|
542
|
+
vendorId: string;
|
|
543
|
+
/**
|
|
544
|
+
* Header param: The ID of the End-User to receive this request.
|
|
545
|
+
*/
|
|
546
|
+
conductorEndUserId: string;
|
|
547
|
+
/**
|
|
548
|
+
* Body param: The market exchange rate between this bill check payment's currency
|
|
549
|
+
* and the home currency in QuickBooks at the time of this transaction. Represented
|
|
550
|
+
* as a decimal value (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home
|
|
551
|
+
* currency).
|
|
552
|
+
*/
|
|
553
|
+
exchangeRate?: number;
|
|
554
|
+
/**
|
|
555
|
+
* Body param: A globally unique identifier (GUID) you, the developer, can provide
|
|
556
|
+
* for tracking this object in your external system. This field is immutable and
|
|
557
|
+
* can only be set during object creation.
|
|
558
|
+
*
|
|
559
|
+
* **IMPORTANT**: This field must be formatted as a valid GUID; otherwise,
|
|
560
|
+
* QuickBooks will return an error.
|
|
561
|
+
*/
|
|
562
|
+
externalId?: string;
|
|
563
|
+
/**
|
|
564
|
+
* Body param: Indicates whether this bill check payment is included in the queue
|
|
565
|
+
* of documents for QuickBooks to print.
|
|
566
|
+
*/
|
|
567
|
+
isQueuedForPrint?: boolean;
|
|
568
|
+
/**
|
|
569
|
+
* Body param: A memo or note for this bill check payment.
|
|
570
|
+
*/
|
|
571
|
+
memo?: string;
|
|
572
|
+
/**
|
|
573
|
+
* Body param: The Accounts-Payable (A/P) account to which this bill check payment
|
|
574
|
+
* is assigned, used to track the amount owed. If not specified, QuickBooks Desktop
|
|
575
|
+
* will use its default A/P account.
|
|
576
|
+
*
|
|
577
|
+
* **IMPORTANT**: If this bill check payment is linked to other transactions, this
|
|
578
|
+
* A/P account must match the `payablesAccount` used in those other transactions.
|
|
579
|
+
*/
|
|
580
|
+
payablesAccountId?: string;
|
|
581
|
+
/**
|
|
582
|
+
* Body param: The case-sensitive user-defined reference number for this bill check
|
|
583
|
+
* payment, which can be used to identify the transaction in QuickBooks. This value
|
|
584
|
+
* is not required to be unique and can be arbitrarily changed by the QuickBooks
|
|
585
|
+
* user. When left blank in this create request, this field will be left blank in
|
|
586
|
+
* QuickBooks (i.e., it does _not_ auto-increment).
|
|
587
|
+
*
|
|
588
|
+
* **IMPORTANT**: For checks, this field is the check number.
|
|
589
|
+
*/
|
|
590
|
+
refNumber?: string;
|
|
591
|
+
}
|
|
592
|
+
export declare namespace BillCheckPaymentCreateParams {
|
|
593
|
+
interface ApplyToTransaction {
|
|
594
|
+
/**
|
|
595
|
+
* The ID of the receivable transaction to which this payment is applied.
|
|
596
|
+
*/
|
|
597
|
+
transactionId: string;
|
|
598
|
+
/**
|
|
599
|
+
* Credit memos to apply to this receivable transaction, reducing its balance. This
|
|
600
|
+
* creates a link between this receivable transaction and the specified credit
|
|
601
|
+
* memos.
|
|
602
|
+
*
|
|
603
|
+
* **IMPORTANT**: By default, QuickBooks will not return any information about the
|
|
604
|
+
* linked transactions in this endpoint's response even when this request is
|
|
605
|
+
* successful. To see the transactions linked via this field, refetch the
|
|
606
|
+
* receivable transaction and check the `linkedTransactions` response field. If
|
|
607
|
+
* fetching a list of receivable transactions, you must also specify the parameter
|
|
608
|
+
* `includeLinkedTransactions=true` to see the `linkedTransactions` response field.
|
|
609
|
+
*/
|
|
610
|
+
applyCredits?: Array<ApplyToTransaction.ApplyCredit>;
|
|
611
|
+
/**
|
|
612
|
+
* The financial account used to track this receivable transaction's discount.
|
|
613
|
+
*/
|
|
614
|
+
discountAccountId?: string;
|
|
615
|
+
/**
|
|
616
|
+
* The monetary amount by which to reduce the receivable transaction's receivable
|
|
617
|
+
* amount, represented as a decimal string.
|
|
618
|
+
*/
|
|
619
|
+
discountAmount?: string;
|
|
620
|
+
/**
|
|
621
|
+
* The class used to track this receivable transaction's discount.
|
|
622
|
+
*/
|
|
623
|
+
discountClassId?: string;
|
|
624
|
+
/**
|
|
625
|
+
* The monetary amount to apply to the receivable transaction, represented as a
|
|
626
|
+
* decimal string.
|
|
627
|
+
*/
|
|
628
|
+
paymentAmount?: string;
|
|
629
|
+
}
|
|
630
|
+
namespace ApplyToTransaction {
|
|
631
|
+
interface ApplyCredit {
|
|
632
|
+
/**
|
|
633
|
+
* The amount of credit applied to this transaction. This could include customer
|
|
634
|
+
* deposits, payments, or credits. Represented as a decimal string.
|
|
635
|
+
*/
|
|
636
|
+
appliedAmount: string;
|
|
637
|
+
/**
|
|
638
|
+
* The unique identifier of the credit transaction (credit memo or vendor credit)
|
|
639
|
+
* to apply to this transaction.
|
|
640
|
+
*/
|
|
641
|
+
creditTransactionId: string;
|
|
642
|
+
/**
|
|
643
|
+
* Indicates whether to override the credit.
|
|
644
|
+
*/
|
|
645
|
+
overrideCreditApplication?: boolean;
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
export interface BillCheckPaymentRetrieveParams {
|
|
650
|
+
/**
|
|
651
|
+
* The ID of the End-User to receive this request.
|
|
652
|
+
*/
|
|
653
|
+
conductorEndUserId: string;
|
|
654
|
+
}
|
|
655
|
+
export interface BillCheckPaymentUpdateParams {
|
|
656
|
+
/**
|
|
657
|
+
* Body param: The current QuickBooks-assigned revision number of the bill check
|
|
658
|
+
* payment object you are updating, which you can get by fetching the object first.
|
|
659
|
+
* Provide the most recent `revisionNumber` to ensure you're working with the
|
|
660
|
+
* latest data; otherwise, the update will return an error.
|
|
661
|
+
*/
|
|
662
|
+
revisionNumber: string;
|
|
663
|
+
/**
|
|
664
|
+
* Header param: The ID of the End-User to receive this request.
|
|
665
|
+
*/
|
|
666
|
+
conductorEndUserId: string;
|
|
667
|
+
/**
|
|
668
|
+
* Body param: The monetary amount of this bill check payment, represented as a
|
|
669
|
+
* decimal string.
|
|
670
|
+
*/
|
|
671
|
+
amount?: string;
|
|
672
|
+
/**
|
|
673
|
+
* Body param: The bills to be paid by this bill check payment. This will create a
|
|
674
|
+
* link between this bill check payment and the specified bills.
|
|
675
|
+
*
|
|
676
|
+
* **IMPORTANT**: In each `applyToTransactions` object, you must specify either
|
|
677
|
+
* `paymentAmount`, `applyCredits`, `discountAmount`, or any combination of these;
|
|
678
|
+
* if none of these are specified, you will receive an error for an empty
|
|
679
|
+
* transaction.
|
|
680
|
+
*
|
|
681
|
+
* **IMPORTANT**: The target bill must have `isPaid=false`, otherwise, QuickBooks
|
|
682
|
+
* will report this object as "cannot be found".
|
|
683
|
+
*/
|
|
684
|
+
applyToTransactions?: Array<BillCheckPaymentUpdateParams.ApplyToTransaction>;
|
|
685
|
+
/**
|
|
686
|
+
* Body param: The bank account from which the funds are being drawn for this bill
|
|
687
|
+
* check payment; e.g., Checking or Savings. This bill check payment will decrease
|
|
688
|
+
* the balance of this account.
|
|
689
|
+
*/
|
|
690
|
+
bankAccountId?: string;
|
|
691
|
+
/**
|
|
692
|
+
* Body param: The market exchange rate between this bill check payment's currency
|
|
693
|
+
* and the home currency in QuickBooks at the time of this transaction. Represented
|
|
694
|
+
* as a decimal value (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home
|
|
695
|
+
* currency).
|
|
696
|
+
*/
|
|
697
|
+
exchangeRate?: number;
|
|
698
|
+
/**
|
|
699
|
+
* Body param: Indicates whether this bill check payment is included in the queue
|
|
700
|
+
* of documents for QuickBooks to print.
|
|
701
|
+
*/
|
|
702
|
+
isQueuedForPrint?: boolean;
|
|
703
|
+
/**
|
|
704
|
+
* Body param: A memo or note for this bill check payment.
|
|
705
|
+
*/
|
|
706
|
+
memo?: string;
|
|
707
|
+
/**
|
|
708
|
+
* Body param: The case-sensitive user-defined reference number for this bill check
|
|
709
|
+
* payment, which can be used to identify the transaction in QuickBooks. This value
|
|
710
|
+
* is not required to be unique and can be arbitrarily changed by the QuickBooks
|
|
711
|
+
* user.
|
|
712
|
+
*
|
|
713
|
+
* **IMPORTANT**: For checks, this field is the check number.
|
|
714
|
+
*/
|
|
715
|
+
refNumber?: string;
|
|
716
|
+
/**
|
|
717
|
+
* Body param: The date of this bill check payment, in ISO 8601 format
|
|
718
|
+
* (YYYY-MM-DD).
|
|
719
|
+
*/
|
|
720
|
+
transactionDate?: string;
|
|
721
|
+
}
|
|
722
|
+
export declare namespace BillCheckPaymentUpdateParams {
|
|
723
|
+
interface ApplyToTransaction {
|
|
724
|
+
/**
|
|
725
|
+
* The ID of the receivable transaction to which this payment is applied.
|
|
726
|
+
*/
|
|
727
|
+
transactionId: string;
|
|
728
|
+
/**
|
|
729
|
+
* Credit memos to apply to this receivable transaction, reducing its balance. This
|
|
730
|
+
* creates a link between this receivable transaction and the specified credit
|
|
731
|
+
* memos.
|
|
732
|
+
*
|
|
733
|
+
* **IMPORTANT**: By default, QuickBooks will not return any information about the
|
|
734
|
+
* linked transactions in this endpoint's response even when this request is
|
|
735
|
+
* successful. To see the transactions linked via this field, refetch the
|
|
736
|
+
* receivable transaction and check the `linkedTransactions` response field. If
|
|
737
|
+
* fetching a list of receivable transactions, you must also specify the parameter
|
|
738
|
+
* `includeLinkedTransactions=true` to see the `linkedTransactions` response field.
|
|
739
|
+
*/
|
|
740
|
+
applyCredits?: Array<ApplyToTransaction.ApplyCredit>;
|
|
741
|
+
/**
|
|
742
|
+
* The financial account used to track this receivable transaction's discount.
|
|
743
|
+
*/
|
|
744
|
+
discountAccountId?: string;
|
|
745
|
+
/**
|
|
746
|
+
* The monetary amount by which to reduce the receivable transaction's receivable
|
|
747
|
+
* amount, represented as a decimal string.
|
|
748
|
+
*/
|
|
749
|
+
discountAmount?: string;
|
|
750
|
+
/**
|
|
751
|
+
* The class used to track this receivable transaction's discount.
|
|
752
|
+
*/
|
|
753
|
+
discountClassId?: string;
|
|
754
|
+
/**
|
|
755
|
+
* The monetary amount to apply to the receivable transaction, represented as a
|
|
756
|
+
* decimal string.
|
|
757
|
+
*/
|
|
758
|
+
paymentAmount?: string;
|
|
759
|
+
}
|
|
760
|
+
namespace ApplyToTransaction {
|
|
761
|
+
interface ApplyCredit {
|
|
762
|
+
/**
|
|
763
|
+
* The amount of credit applied to this transaction. This could include customer
|
|
764
|
+
* deposits, payments, or credits. Represented as a decimal string.
|
|
765
|
+
*/
|
|
766
|
+
appliedAmount: string;
|
|
767
|
+
/**
|
|
768
|
+
* The unique identifier of the credit transaction (credit memo or vendor credit)
|
|
769
|
+
* to apply to this transaction.
|
|
770
|
+
*/
|
|
771
|
+
creditTransactionId: string;
|
|
772
|
+
/**
|
|
773
|
+
* Indicates whether to override the credit.
|
|
774
|
+
*/
|
|
775
|
+
overrideCreditApplication?: boolean;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
export interface BillCheckPaymentListParams extends CursorPageParams {
|
|
780
|
+
/**
|
|
781
|
+
* Header param: The ID of the End-User to receive this request.
|
|
782
|
+
*/
|
|
783
|
+
conductorEndUserId: string;
|
|
784
|
+
/**
|
|
785
|
+
* Query param: Filter for bill check payments associated with these accounts.
|
|
786
|
+
*/
|
|
787
|
+
accountIds?: Array<string>;
|
|
788
|
+
/**
|
|
789
|
+
* Query param: Filter for bill check payments in these currencies.
|
|
790
|
+
*/
|
|
791
|
+
currencyIds?: Array<string>;
|
|
792
|
+
/**
|
|
793
|
+
* Query param: Filter for specific bill check payments by their
|
|
794
|
+
* QuickBooks-assigned unique identifier(s).
|
|
795
|
+
*
|
|
796
|
+
* **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
|
|
797
|
+
* query parameters for this request.
|
|
798
|
+
*
|
|
799
|
+
* **NOTE**: If any of the values you specify in this parameter are not found, the
|
|
800
|
+
* request will return an error.
|
|
801
|
+
*/
|
|
802
|
+
ids?: Array<string>;
|
|
803
|
+
/**
|
|
804
|
+
* Query param: Whether to include line items in the response. Defaults to `true`.
|
|
805
|
+
*/
|
|
806
|
+
includeLineItems?: boolean;
|
|
807
|
+
/**
|
|
808
|
+
* Query param: Filter for bill check payments whose `refNumber` contains this
|
|
809
|
+
* substring. (For checks, this field is the check number.)
|
|
810
|
+
*
|
|
811
|
+
* **NOTE**: If you use this parameter, you cannot also use `refNumberStartsWith`
|
|
812
|
+
* or `refNumberEndsWith`.
|
|
813
|
+
*/
|
|
814
|
+
refNumberContains?: string;
|
|
815
|
+
/**
|
|
816
|
+
* Query param: Filter for bill check payments whose `refNumber` ends with this
|
|
817
|
+
* substring. (For checks, this field is the check number.)
|
|
818
|
+
*
|
|
819
|
+
* **NOTE**: If you use this parameter, you cannot also use `refNumberContains` or
|
|
820
|
+
* `refNumberStartsWith`.
|
|
821
|
+
*/
|
|
822
|
+
refNumberEndsWith?: string;
|
|
823
|
+
/**
|
|
824
|
+
* Query param: Filter for bill check payments whose `refNumber` is greater than or
|
|
825
|
+
* equal to this value. (For checks, this field is the check number.) If omitted,
|
|
826
|
+
* the range will begin with the first number of the list. Uses a numerical
|
|
827
|
+
* comparison for values that contain only digits; otherwise, uses a
|
|
828
|
+
* lexicographical comparison.
|
|
829
|
+
*/
|
|
830
|
+
refNumberFrom?: string;
|
|
831
|
+
/**
|
|
832
|
+
* Query param: Filter for specific bill check payments by their ref-number(s),
|
|
833
|
+
* case-sensitive. In QuickBooks, ref-numbers are not required to be unique and can
|
|
834
|
+
* be arbitrarily changed by the QuickBooks user.
|
|
835
|
+
*
|
|
836
|
+
* **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
|
|
837
|
+
* query parameters for this request.
|
|
838
|
+
*
|
|
839
|
+
* **NOTE**: If any of the values you specify in this parameter are not found, the
|
|
840
|
+
* request will return an error.
|
|
841
|
+
*/
|
|
842
|
+
refNumbers?: Array<string>;
|
|
843
|
+
/**
|
|
844
|
+
* Query param: Filter for bill check payments whose `refNumber` starts with this
|
|
845
|
+
* substring. (For checks, this field is the check number.)
|
|
846
|
+
*
|
|
847
|
+
* **NOTE**: If you use this parameter, you cannot also use `refNumberContains` or
|
|
848
|
+
* `refNumberEndsWith`.
|
|
849
|
+
*/
|
|
850
|
+
refNumberStartsWith?: string;
|
|
851
|
+
/**
|
|
852
|
+
* Query param: Filter for bill check payments whose `refNumber` is less than or
|
|
853
|
+
* equal to this value. (For checks, this field is the check number.) If omitted,
|
|
854
|
+
* the range will end with the last number of the list. Uses a numerical comparison
|
|
855
|
+
* for values that contain only digits; otherwise, uses a lexicographical
|
|
856
|
+
* comparison.
|
|
857
|
+
*/
|
|
858
|
+
refNumberTo?: string;
|
|
859
|
+
/**
|
|
860
|
+
* Query param: Filter for bill check payments whose `date` field is on or after
|
|
861
|
+
* this date, in ISO 8601 format (YYYY-MM-DD).
|
|
862
|
+
*
|
|
863
|
+
* **NOTE:** QuickBooks Desktop interprets this date as the **start of the
|
|
864
|
+
* specified day** in the local timezone of the end-user's computer (e.g.,
|
|
865
|
+
* `2025-01-01` → `2025-01-01T00:00:00`).
|
|
866
|
+
*/
|
|
867
|
+
transactionDateFrom?: string;
|
|
868
|
+
/**
|
|
869
|
+
* Query param: Filter for bill check payments whose `date` field is on or before
|
|
870
|
+
* this date, in ISO 8601 format (YYYY-MM-DD).
|
|
871
|
+
*
|
|
872
|
+
* **NOTE:** QuickBooks Desktop interprets this date as the **end of the specified
|
|
873
|
+
* day** in the local timezone of the end-user's computer (e.g., `2025-01-01` →
|
|
874
|
+
* `2025-01-01T23:59:59`).
|
|
875
|
+
*/
|
|
876
|
+
transactionDateTo?: string;
|
|
877
|
+
/**
|
|
878
|
+
* Query param: Filter for bill check payments updated on or after this date/time.
|
|
879
|
+
* Accepts the following ISO 8601 formats:
|
|
880
|
+
*
|
|
881
|
+
* - **date-only** (YYYY-MM-DD) - QuickBooks Desktop interprets the date as the
|
|
882
|
+
* **start of the specified day** in the local timezone of the end-user's
|
|
883
|
+
* computer (e.g., `2025-01-01` → `2025-01-01T00:00:00`).
|
|
884
|
+
* - **datetime without timezone** (YYYY-MM-DDTHH:mm:ss) - QuickBooks Desktop
|
|
885
|
+
* interprets the timestamp in the local timezone of the end-user's computer.
|
|
886
|
+
* - **datetime with timezone** (YYYY-MM-DDTHH:mm:ss±HH:mm) - QuickBooks Desktop
|
|
887
|
+
* interprets the timestamp using the specified timezone.
|
|
888
|
+
*/
|
|
889
|
+
updatedAfter?: string;
|
|
890
|
+
/**
|
|
891
|
+
* Query param: Filter for bill check payments updated on or before this date/time.
|
|
892
|
+
* Accepts the following ISO 8601 formats:
|
|
893
|
+
*
|
|
894
|
+
* - **date-only** (YYYY-MM-DD) - QuickBooks Desktop interprets the date as the
|
|
895
|
+
* **end of the specified day** in the local timezone of the end-user's computer
|
|
896
|
+
* (e.g., `2025-01-01` → `2025-01-01T23:59:59`).
|
|
897
|
+
* - **datetime without timezone** (YYYY-MM-DDTHH:mm:ss) - QuickBooks Desktop
|
|
898
|
+
* interprets the timestamp in the local timezone of the end-user's computer.
|
|
899
|
+
* - **datetime with timezone** (YYYY-MM-DDTHH:mm:ss±HH:mm) - QuickBooks Desktop
|
|
900
|
+
* interprets the timestamp using the specified timezone.
|
|
901
|
+
*/
|
|
902
|
+
updatedBefore?: string;
|
|
903
|
+
/**
|
|
904
|
+
* Query param: Filter for bill check payments sent to these vendors. These are the
|
|
905
|
+
* vendors who sent the bills paid by these checks.
|
|
906
|
+
*/
|
|
907
|
+
vendorIds?: Array<string>;
|
|
908
|
+
}
|
|
909
|
+
export interface BillCheckPaymentDeleteParams {
|
|
910
|
+
/**
|
|
911
|
+
* The ID of the End-User to receive this request.
|
|
912
|
+
*/
|
|
913
|
+
conductorEndUserId: string;
|
|
914
|
+
}
|
|
915
|
+
export declare namespace BillCheckPayments {
|
|
916
|
+
export { type BillCheckPayment as BillCheckPayment, type BillCheckPaymentDeleteResponse as BillCheckPaymentDeleteResponse, type BillCheckPaymentsCursorPage as BillCheckPaymentsCursorPage, type BillCheckPaymentCreateParams as BillCheckPaymentCreateParams, type BillCheckPaymentRetrieveParams as BillCheckPaymentRetrieveParams, type BillCheckPaymentUpdateParams as BillCheckPaymentUpdateParams, type BillCheckPaymentListParams as BillCheckPaymentListParams, type BillCheckPaymentDeleteParams as BillCheckPaymentDeleteParams, };
|
|
917
|
+
}
|
|
918
|
+
//# sourceMappingURL=bill-check-payments.d.mts.map
|