conductor-node 14.9.0 → 14.11.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 +32 -0
- package/bin/cli +12 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +11 -0
- package/client.js.map +1 -1
- package/client.mjs +11 -0
- package/client.mjs.map +1 -1
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/qbd/account-tax-lines.d.mts +5 -3
- package/resources/qbd/account-tax-lines.d.mts.map +1 -1
- package/resources/qbd/account-tax-lines.d.ts +5 -3
- package/resources/qbd/account-tax-lines.d.ts.map +1 -1
- package/resources/qbd/account-tax-lines.js +5 -3
- package/resources/qbd/account-tax-lines.js.map +1 -1
- package/resources/qbd/account-tax-lines.mjs +5 -3
- package/resources/qbd/account-tax-lines.mjs.map +1 -1
- package/resources/qbd/accounts.d.mts +4 -3
- package/resources/qbd/accounts.d.mts.map +1 -1
- package/resources/qbd/accounts.d.ts +4 -3
- package/resources/qbd/accounts.d.ts.map +1 -1
- package/resources/qbd/accounts.js +4 -3
- package/resources/qbd/accounts.js.map +1 -1
- package/resources/qbd/accounts.mjs +4 -3
- package/resources/qbd/accounts.mjs.map +1 -1
- package/resources/qbd/bill-check-payments.d.mts +52 -1
- package/resources/qbd/bill-check-payments.d.mts.map +1 -1
- package/resources/qbd/bill-check-payments.d.ts +52 -1
- package/resources/qbd/bill-check-payments.d.ts.map +1 -1
- package/resources/qbd/bill-check-payments.js +20 -0
- package/resources/qbd/bill-check-payments.js.map +1 -1
- package/resources/qbd/bill-check-payments.mjs +20 -0
- package/resources/qbd/bill-check-payments.mjs.map +1 -1
- package/resources/qbd/bill-credit-card-payments.d.mts +54 -1
- package/resources/qbd/bill-credit-card-payments.d.mts.map +1 -1
- package/resources/qbd/bill-credit-card-payments.d.ts +54 -1
- package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -1
- package/resources/qbd/bill-credit-card-payments.js +21 -0
- package/resources/qbd/bill-credit-card-payments.js.map +1 -1
- package/resources/qbd/bill-credit-card-payments.mjs +21 -0
- package/resources/qbd/bill-credit-card-payments.mjs.map +1 -1
- package/resources/qbd/bills.d.mts +55 -1
- package/resources/qbd/bills.d.mts.map +1 -1
- package/resources/qbd/bills.d.ts +55 -1
- package/resources/qbd/bills.d.ts.map +1 -1
- package/resources/qbd/bills.js +24 -0
- package/resources/qbd/bills.js.map +1 -1
- package/resources/qbd/bills.mjs +24 -0
- package/resources/qbd/bills.mjs.map +1 -1
- package/resources/qbd/checks.d.mts +55 -1
- package/resources/qbd/checks.d.mts.map +1 -1
- package/resources/qbd/checks.d.ts +55 -1
- package/resources/qbd/checks.d.ts.map +1 -1
- package/resources/qbd/checks.js +24 -0
- package/resources/qbd/checks.js.map +1 -1
- package/resources/qbd/checks.mjs +24 -0
- package/resources/qbd/checks.mjs.map +1 -1
- package/resources/qbd/classes.d.mts +4 -3
- package/resources/qbd/classes.d.mts.map +1 -1
- package/resources/qbd/classes.d.ts +4 -3
- package/resources/qbd/classes.d.ts.map +1 -1
- package/resources/qbd/classes.js +4 -3
- package/resources/qbd/classes.js.map +1 -1
- package/resources/qbd/classes.mjs +4 -3
- package/resources/qbd/classes.mjs.map +1 -1
- package/resources/qbd/credit-card-charges.d.mts +56 -1
- package/resources/qbd/credit-card-charges.d.mts.map +1 -1
- package/resources/qbd/credit-card-charges.d.ts +56 -1
- package/resources/qbd/credit-card-charges.d.ts.map +1 -1
- package/resources/qbd/credit-card-charges.js +24 -0
- package/resources/qbd/credit-card-charges.js.map +1 -1
- package/resources/qbd/credit-card-charges.mjs +24 -0
- package/resources/qbd/credit-card-charges.mjs.map +1 -1
- package/resources/qbd/credit-card-credits.d.mts +56 -1
- package/resources/qbd/credit-card-credits.d.mts.map +1 -1
- package/resources/qbd/credit-card-credits.d.ts +56 -1
- package/resources/qbd/credit-card-credits.d.ts.map +1 -1
- package/resources/qbd/credit-card-credits.js +24 -0
- package/resources/qbd/credit-card-credits.js.map +1 -1
- package/resources/qbd/credit-card-credits.mjs +24 -0
- package/resources/qbd/credit-card-credits.mjs.map +1 -1
- package/resources/qbd/credit-card-refunds.d.mts +52 -1
- package/resources/qbd/credit-card-refunds.d.mts.map +1 -1
- package/resources/qbd/credit-card-refunds.d.ts +52 -1
- package/resources/qbd/credit-card-refunds.d.ts.map +1 -1
- package/resources/qbd/credit-card-refunds.js +20 -0
- package/resources/qbd/credit-card-refunds.js.map +1 -1
- package/resources/qbd/credit-card-refunds.mjs +20 -0
- package/resources/qbd/credit-card-refunds.mjs.map +1 -1
- package/resources/qbd/credit-memos.d.mts +55 -1
- package/resources/qbd/credit-memos.d.mts.map +1 -1
- package/resources/qbd/credit-memos.d.ts +55 -1
- package/resources/qbd/credit-memos.d.ts.map +1 -1
- package/resources/qbd/credit-memos.js +24 -0
- package/resources/qbd/credit-memos.js.map +1 -1
- package/resources/qbd/credit-memos.mjs +24 -0
- package/resources/qbd/credit-memos.mjs.map +1 -1
- package/resources/qbd/currencies.d.mts +4 -3
- package/resources/qbd/currencies.d.mts.map +1 -1
- package/resources/qbd/currencies.d.ts +4 -3
- package/resources/qbd/currencies.d.ts.map +1 -1
- package/resources/qbd/currencies.js +4 -3
- package/resources/qbd/currencies.js.map +1 -1
- package/resources/qbd/currencies.mjs +4 -3
- package/resources/qbd/currencies.mjs.map +1 -1
- package/resources/qbd/customer-types.d.mts +4 -3
- package/resources/qbd/customer-types.d.mts.map +1 -1
- package/resources/qbd/customer-types.d.ts +4 -3
- package/resources/qbd/customer-types.d.ts.map +1 -1
- package/resources/qbd/customer-types.js +4 -3
- package/resources/qbd/customer-types.js.map +1 -1
- package/resources/qbd/customer-types.mjs +4 -3
- package/resources/qbd/customer-types.mjs.map +1 -1
- package/resources/qbd/customers.d.mts +17 -2
- package/resources/qbd/customers.d.mts.map +1 -1
- package/resources/qbd/customers.d.ts +17 -2
- package/resources/qbd/customers.d.ts.map +1 -1
- package/resources/qbd/customers.js +4 -0
- package/resources/qbd/customers.js.map +1 -1
- package/resources/qbd/customers.mjs +4 -0
- package/resources/qbd/customers.mjs.map +1 -1
- package/resources/qbd/date-driven-terms.d.mts +5 -3
- package/resources/qbd/date-driven-terms.d.mts.map +1 -1
- package/resources/qbd/date-driven-terms.d.ts +5 -3
- package/resources/qbd/date-driven-terms.d.ts.map +1 -1
- package/resources/qbd/date-driven-terms.js +5 -3
- package/resources/qbd/date-driven-terms.js.map +1 -1
- package/resources/qbd/date-driven-terms.mjs +5 -3
- package/resources/qbd/date-driven-terms.mjs.map +1 -1
- package/resources/qbd/deleted-list-objects.d.mts +4 -0
- package/resources/qbd/deleted-list-objects.d.mts.map +1 -1
- package/resources/qbd/deleted-list-objects.d.ts +4 -0
- package/resources/qbd/deleted-list-objects.d.ts.map +1 -1
- package/resources/qbd/deleted-list-objects.js +4 -0
- package/resources/qbd/deleted-list-objects.js.map +1 -1
- package/resources/qbd/deleted-list-objects.mjs +4 -0
- package/resources/qbd/deleted-list-objects.mjs.map +1 -1
- package/resources/qbd/deleted-transactions.d.mts +4 -0
- package/resources/qbd/deleted-transactions.d.mts.map +1 -1
- package/resources/qbd/deleted-transactions.d.ts +4 -0
- package/resources/qbd/deleted-transactions.d.ts.map +1 -1
- package/resources/qbd/deleted-transactions.js +4 -0
- package/resources/qbd/deleted-transactions.js.map +1 -1
- package/resources/qbd/deleted-transactions.mjs +4 -0
- package/resources/qbd/deleted-transactions.mjs.map +1 -1
- package/resources/qbd/deposits.d.mts +879 -0
- package/resources/qbd/deposits.d.mts.map +1 -0
- package/resources/qbd/deposits.d.ts +879 -0
- package/resources/qbd/deposits.d.ts.map +1 -0
- package/resources/qbd/deposits.js +144 -0
- package/resources/qbd/deposits.js.map +1 -0
- package/resources/qbd/deposits.mjs +140 -0
- package/resources/qbd/deposits.mjs.map +1 -0
- package/resources/qbd/employees.d.mts +4 -3
- package/resources/qbd/employees.d.mts.map +1 -1
- package/resources/qbd/employees.d.ts +4 -3
- package/resources/qbd/employees.d.ts.map +1 -1
- package/resources/qbd/employees.js +4 -3
- package/resources/qbd/employees.js.map +1 -1
- package/resources/qbd/employees.mjs +4 -3
- package/resources/qbd/employees.mjs.map +1 -1
- package/resources/qbd/estimates.d.mts +4 -0
- package/resources/qbd/estimates.d.mts.map +1 -1
- package/resources/qbd/estimates.d.ts +4 -0
- package/resources/qbd/estimates.d.ts.map +1 -1
- package/resources/qbd/estimates.js +4 -0
- package/resources/qbd/estimates.js.map +1 -1
- package/resources/qbd/estimates.mjs +4 -0
- package/resources/qbd/estimates.mjs.map +1 -1
- package/resources/qbd/index.d.mts +16 -14
- package/resources/qbd/index.d.mts.map +1 -1
- package/resources/qbd/index.d.ts +16 -14
- package/resources/qbd/index.d.ts.map +1 -1
- package/resources/qbd/index.js +6 -2
- package/resources/qbd/index.js.map +1 -1
- package/resources/qbd/index.mjs +2 -0
- package/resources/qbd/index.mjs.map +1 -1
- package/resources/qbd/inventory-adjustments.d.mts +62 -4
- package/resources/qbd/inventory-adjustments.d.mts.map +1 -1
- package/resources/qbd/inventory-adjustments.d.ts +62 -4
- package/resources/qbd/inventory-adjustments.d.ts.map +1 -1
- package/resources/qbd/inventory-adjustments.js +30 -3
- package/resources/qbd/inventory-adjustments.js.map +1 -1
- package/resources/qbd/inventory-adjustments.mjs +30 -3
- package/resources/qbd/inventory-adjustments.mjs.map +1 -1
- package/resources/qbd/inventory-sites.d.mts +4 -3
- package/resources/qbd/inventory-sites.d.mts.map +1 -1
- package/resources/qbd/inventory-sites.d.ts +4 -3
- package/resources/qbd/inventory-sites.d.ts.map +1 -1
- package/resources/qbd/inventory-sites.js +4 -3
- package/resources/qbd/inventory-sites.js.map +1 -1
- package/resources/qbd/inventory-sites.mjs +4 -3
- package/resources/qbd/inventory-sites.mjs.map +1 -1
- package/resources/qbd/invoices.d.mts +55 -1
- package/resources/qbd/invoices.d.mts.map +1 -1
- package/resources/qbd/invoices.d.ts +55 -1
- package/resources/qbd/invoices.d.ts.map +1 -1
- package/resources/qbd/invoices.js +24 -0
- package/resources/qbd/invoices.js.map +1 -1
- package/resources/qbd/invoices.mjs +24 -0
- package/resources/qbd/invoices.mjs.map +1 -1
- package/resources/qbd/item-receipts.d.mts +55 -1
- package/resources/qbd/item-receipts.d.mts.map +1 -1
- package/resources/qbd/item-receipts.d.ts +55 -1
- package/resources/qbd/item-receipts.d.ts.map +1 -1
- package/resources/qbd/item-receipts.js +24 -0
- package/resources/qbd/item-receipts.js.map +1 -1
- package/resources/qbd/item-receipts.mjs +24 -0
- package/resources/qbd/item-receipts.mjs.map +1 -1
- package/resources/qbd/journal-entries.d.mts +55 -1
- package/resources/qbd/journal-entries.d.mts.map +1 -1
- package/resources/qbd/journal-entries.d.ts +55 -1
- package/resources/qbd/journal-entries.d.ts.map +1 -1
- package/resources/qbd/journal-entries.js +24 -0
- package/resources/qbd/journal-entries.js.map +1 -1
- package/resources/qbd/journal-entries.mjs +24 -0
- package/resources/qbd/journal-entries.mjs.map +1 -1
- package/resources/qbd/other-names.d.mts +4 -3
- package/resources/qbd/other-names.d.mts.map +1 -1
- package/resources/qbd/other-names.d.ts +4 -3
- package/resources/qbd/other-names.d.ts.map +1 -1
- package/resources/qbd/other-names.js +4 -3
- package/resources/qbd/other-names.js.map +1 -1
- package/resources/qbd/other-names.mjs +4 -3
- package/resources/qbd/other-names.mjs.map +1 -1
- package/resources/qbd/payment-methods.d.mts +4 -3
- package/resources/qbd/payment-methods.d.mts.map +1 -1
- package/resources/qbd/payment-methods.d.ts +4 -3
- package/resources/qbd/payment-methods.d.ts.map +1 -1
- package/resources/qbd/payment-methods.js +4 -3
- package/resources/qbd/payment-methods.js.map +1 -1
- package/resources/qbd/payment-methods.mjs +4 -3
- package/resources/qbd/payment-methods.mjs.map +1 -1
- package/resources/qbd/payments-to-deposit.d.mts +139 -0
- package/resources/qbd/payments-to-deposit.d.mts.map +1 -0
- package/resources/qbd/payments-to-deposit.d.ts +139 -0
- package/resources/qbd/payments-to-deposit.d.ts.map +1 -0
- package/resources/qbd/payments-to-deposit.js +35 -0
- package/resources/qbd/payments-to-deposit.js.map +1 -0
- package/resources/qbd/payments-to-deposit.mjs +31 -0
- package/resources/qbd/payments-to-deposit.mjs.map +1 -0
- package/resources/qbd/price-levels.d.mts +4 -3
- package/resources/qbd/price-levels.d.mts.map +1 -1
- package/resources/qbd/price-levels.d.ts +4 -3
- package/resources/qbd/price-levels.d.ts.map +1 -1
- package/resources/qbd/price-levels.js +4 -3
- package/resources/qbd/price-levels.js.map +1 -1
- package/resources/qbd/price-levels.mjs +4 -3
- package/resources/qbd/price-levels.mjs.map +1 -1
- package/resources/qbd/purchase-orders.d.mts +4 -0
- package/resources/qbd/purchase-orders.d.mts.map +1 -1
- package/resources/qbd/purchase-orders.d.ts +4 -0
- package/resources/qbd/purchase-orders.d.ts.map +1 -1
- package/resources/qbd/purchase-orders.js +4 -0
- package/resources/qbd/purchase-orders.js.map +1 -1
- package/resources/qbd/purchase-orders.mjs +4 -0
- package/resources/qbd/purchase-orders.mjs.map +1 -1
- package/resources/qbd/qbd.d.mts +36 -28
- package/resources/qbd/qbd.d.mts.map +1 -1
- package/resources/qbd/qbd.d.ts +36 -28
- package/resources/qbd/qbd.d.ts.map +1 -1
- package/resources/qbd/qbd.js +8 -0
- package/resources/qbd/qbd.js.map +1 -1
- package/resources/qbd/qbd.mjs +8 -0
- package/resources/qbd/qbd.mjs.map +1 -1
- package/resources/qbd/sales-orders.d.mts +4 -0
- package/resources/qbd/sales-orders.d.mts.map +1 -1
- package/resources/qbd/sales-orders.d.ts +4 -0
- package/resources/qbd/sales-orders.d.ts.map +1 -1
- package/resources/qbd/sales-orders.js +4 -0
- package/resources/qbd/sales-orders.js.map +1 -1
- package/resources/qbd/sales-orders.mjs +4 -0
- package/resources/qbd/sales-orders.mjs.map +1 -1
- package/resources/qbd/sales-receipts.d.mts +55 -1
- package/resources/qbd/sales-receipts.d.mts.map +1 -1
- package/resources/qbd/sales-receipts.d.ts +55 -1
- package/resources/qbd/sales-receipts.d.ts.map +1 -1
- package/resources/qbd/sales-receipts.js +24 -0
- package/resources/qbd/sales-receipts.js.map +1 -1
- package/resources/qbd/sales-receipts.mjs +24 -0
- package/resources/qbd/sales-receipts.mjs.map +1 -1
- package/resources/qbd/sales-representatives.d.mts +5 -3
- package/resources/qbd/sales-representatives.d.mts.map +1 -1
- package/resources/qbd/sales-representatives.d.ts +5 -3
- package/resources/qbd/sales-representatives.d.ts.map +1 -1
- package/resources/qbd/sales-representatives.js +5 -3
- package/resources/qbd/sales-representatives.js.map +1 -1
- package/resources/qbd/sales-representatives.mjs +5 -3
- package/resources/qbd/sales-representatives.mjs.map +1 -1
- package/resources/qbd/sales-tax-codes.d.mts +4 -3
- package/resources/qbd/sales-tax-codes.d.mts.map +1 -1
- package/resources/qbd/sales-tax-codes.d.ts +4 -3
- package/resources/qbd/sales-tax-codes.d.ts.map +1 -1
- package/resources/qbd/sales-tax-codes.js +4 -3
- package/resources/qbd/sales-tax-codes.js.map +1 -1
- package/resources/qbd/sales-tax-codes.mjs +4 -3
- package/resources/qbd/sales-tax-codes.mjs.map +1 -1
- package/resources/qbd/shipping-methods.d.mts +5 -3
- package/resources/qbd/shipping-methods.d.mts.map +1 -1
- package/resources/qbd/shipping-methods.d.ts +5 -3
- package/resources/qbd/shipping-methods.d.ts.map +1 -1
- package/resources/qbd/shipping-methods.js +5 -3
- package/resources/qbd/shipping-methods.js.map +1 -1
- package/resources/qbd/shipping-methods.mjs +5 -3
- package/resources/qbd/shipping-methods.mjs.map +1 -1
- package/resources/qbd/standard-terms.d.mts +4 -3
- package/resources/qbd/standard-terms.d.mts.map +1 -1
- package/resources/qbd/standard-terms.d.ts +4 -3
- package/resources/qbd/standard-terms.d.ts.map +1 -1
- package/resources/qbd/standard-terms.js +4 -3
- package/resources/qbd/standard-terms.js.map +1 -1
- package/resources/qbd/standard-terms.mjs +4 -3
- package/resources/qbd/standard-terms.mjs.map +1 -1
- package/resources/qbd/time-tracking-activities.d.mts +0 -5
- package/resources/qbd/time-tracking-activities.d.mts.map +1 -1
- package/resources/qbd/time-tracking-activities.d.ts +0 -5
- package/resources/qbd/time-tracking-activities.d.ts.map +1 -1
- package/resources/qbd/transactions.d.mts +2 -1
- package/resources/qbd/transactions.d.mts.map +1 -1
- package/resources/qbd/transactions.d.ts +2 -1
- package/resources/qbd/transactions.d.ts.map +1 -1
- package/resources/qbd/transactions.js +2 -1
- package/resources/qbd/transactions.js.map +1 -1
- package/resources/qbd/transactions.mjs +2 -1
- package/resources/qbd/transactions.mjs.map +1 -1
- package/resources/qbd/unit-of-measure-sets.d.mts +4 -0
- package/resources/qbd/unit-of-measure-sets.d.mts.map +1 -1
- package/resources/qbd/unit-of-measure-sets.d.ts +4 -0
- package/resources/qbd/unit-of-measure-sets.d.ts.map +1 -1
- package/resources/qbd/unit-of-measure-sets.js +4 -0
- package/resources/qbd/unit-of-measure-sets.js.map +1 -1
- package/resources/qbd/unit-of-measure-sets.mjs +4 -0
- package/resources/qbd/unit-of-measure-sets.mjs.map +1 -1
- package/resources/qbd/vendor-credits.d.mts +55 -1
- package/resources/qbd/vendor-credits.d.mts.map +1 -1
- package/resources/qbd/vendor-credits.d.ts +55 -1
- package/resources/qbd/vendor-credits.d.ts.map +1 -1
- package/resources/qbd/vendor-credits.js +24 -0
- package/resources/qbd/vendor-credits.js.map +1 -1
- package/resources/qbd/vendor-credits.mjs +24 -0
- package/resources/qbd/vendor-credits.mjs.map +1 -1
- package/src/client.ts +12 -0
- package/src/internal/types.ts +6 -8
- package/src/resources/qbd/account-tax-lines.ts +5 -3
- package/src/resources/qbd/accounts.ts +4 -3
- package/src/resources/qbd/bill-check-payments.ts +71 -0
- package/src/resources/qbd/bill-credit-card-payments.ts +73 -0
- package/src/resources/qbd/bills.ts +70 -0
- package/src/resources/qbd/checks.ts +70 -0
- package/src/resources/qbd/classes.ts +4 -3
- package/src/resources/qbd/credit-card-charges.ts +75 -0
- package/src/resources/qbd/credit-card-credits.ts +75 -0
- package/src/resources/qbd/credit-card-refunds.ts +71 -0
- package/src/resources/qbd/credit-memos.ts +74 -0
- package/src/resources/qbd/currencies.ts +4 -3
- package/src/resources/qbd/customer-types.ts +4 -3
- package/src/resources/qbd/customers.ts +18 -2
- package/src/resources/qbd/date-driven-terms.ts +5 -3
- package/src/resources/qbd/deleted-list-objects.ts +4 -0
- package/src/resources/qbd/deleted-transactions.ts +4 -0
- package/src/resources/qbd/deposits.ts +1101 -0
- package/src/resources/qbd/employees.ts +4 -3
- package/src/resources/qbd/estimates.ts +4 -0
- package/src/resources/qbd/index.ts +47 -0
- package/src/resources/qbd/inventory-adjustments.ts +81 -3
- package/src/resources/qbd/inventory-sites.ts +4 -3
- package/src/resources/qbd/invoices.ts +70 -0
- package/src/resources/qbd/item-receipts.ts +74 -0
- package/src/resources/qbd/journal-entries.ts +74 -0
- package/src/resources/qbd/other-names.ts +4 -3
- package/src/resources/qbd/payment-methods.ts +4 -3
- package/src/resources/qbd/payments-to-deposit.ts +201 -0
- package/src/resources/qbd/price-levels.ts +4 -3
- package/src/resources/qbd/purchase-orders.ts +4 -0
- package/src/resources/qbd/qbd.ts +104 -0
- package/src/resources/qbd/sales-orders.ts +4 -0
- package/src/resources/qbd/sales-receipts.ts +74 -0
- package/src/resources/qbd/sales-representatives.ts +5 -3
- package/src/resources/qbd/sales-tax-codes.ts +4 -3
- package/src/resources/qbd/shipping-methods.ts +5 -3
- package/src/resources/qbd/standard-terms.ts +4 -3
- package/src/resources/qbd/time-tracking-activities.ts +0 -6
- package/src/resources/qbd/transactions.ts +2 -1
- package/src/resources/qbd/unit-of-measure-sets.ts +4 -0
- package/src/resources/qbd/vendor-credits.ts +74 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- 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
|
@@ -65,6 +65,10 @@ export class JournalEntries extends APIResource {
|
|
|
65
65
|
* include the related customer or vendor on any A/R or A/P line you submit in the
|
|
66
66
|
* update body.
|
|
67
67
|
*
|
|
68
|
+
* **NOTE:** If you include `lines`, QuickBooks Desktop replaces that line list
|
|
69
|
+
* with the array you send, so include unchanged lines you want to keep and use
|
|
70
|
+
* `id: "-1"` for new lines.
|
|
71
|
+
*
|
|
68
72
|
* @example
|
|
69
73
|
* ```ts
|
|
70
74
|
* const journalEntry =
|
|
@@ -136,6 +140,31 @@ export class JournalEntries extends APIResource {
|
|
|
136
140
|
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
137
141
|
});
|
|
138
142
|
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Voids a journal entry by setting its amount to zero while keeping a record of it
|
|
146
|
+
* in QuickBooks. The void will fail if the journal entry is currently in use or
|
|
147
|
+
* has any linked transactions that are in use.
|
|
148
|
+
*
|
|
149
|
+
* @example
|
|
150
|
+
* ```ts
|
|
151
|
+
* const response = await conductor.qbd.journalEntries.void(
|
|
152
|
+
* '123ABC-1234567890',
|
|
153
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
154
|
+
* );
|
|
155
|
+
* ```
|
|
156
|
+
*/
|
|
157
|
+
void(
|
|
158
|
+
id: string,
|
|
159
|
+
params: JournalEntryVoidParams,
|
|
160
|
+
options?: RequestOptions,
|
|
161
|
+
): APIPromise<JournalEntryVoidResponse> {
|
|
162
|
+
const { conductorEndUserId } = params;
|
|
163
|
+
return this._client.post(path`/quickbooks-desktop/journal-entries/${id}/void`, {
|
|
164
|
+
...options,
|
|
165
|
+
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
166
|
+
});
|
|
167
|
+
}
|
|
139
168
|
}
|
|
140
169
|
|
|
141
170
|
export type JournalEntriesCursorPage = CursorPage<JournalEntry>;
|
|
@@ -640,6 +669,42 @@ export interface JournalEntryDeleteResponse {
|
|
|
640
669
|
refNumber: string | null;
|
|
641
670
|
}
|
|
642
671
|
|
|
672
|
+
export interface JournalEntryVoidResponse {
|
|
673
|
+
/**
|
|
674
|
+
* The QuickBooks-assigned unique identifier of the voided journal entry.
|
|
675
|
+
*/
|
|
676
|
+
id: string;
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* The date and time when this journal entry was created, in ISO 8601 format
|
|
680
|
+
* (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
|
|
681
|
+
* timezone of the end-user's computer.
|
|
682
|
+
*/
|
|
683
|
+
createdAt: string | null;
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* The type of object. This value is always `"qbd_journal_entry"`.
|
|
687
|
+
*/
|
|
688
|
+
objectType: 'qbd_journal_entry';
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* The case-sensitive user-defined reference number of the voided journal entry.
|
|
692
|
+
*/
|
|
693
|
+
refNumber: string | null;
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* The date and time when this journal entry was last updated, in ISO 8601 format
|
|
697
|
+
* (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
|
|
698
|
+
* timezone of the end-user's computer.
|
|
699
|
+
*/
|
|
700
|
+
updatedAt: string | null;
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Indicates whether the journal entry was voided.
|
|
704
|
+
*/
|
|
705
|
+
voided: boolean;
|
|
706
|
+
}
|
|
707
|
+
|
|
643
708
|
export interface JournalEntryCreateParams {
|
|
644
709
|
/**
|
|
645
710
|
* Body param: The date of this journal entry, in ISO 8601 format (YYYY-MM-DD).
|
|
@@ -1115,15 +1180,24 @@ export interface JournalEntryDeleteParams {
|
|
|
1115
1180
|
conductorEndUserId: string;
|
|
1116
1181
|
}
|
|
1117
1182
|
|
|
1183
|
+
export interface JournalEntryVoidParams {
|
|
1184
|
+
/**
|
|
1185
|
+
* The ID of the End-User to receive this request.
|
|
1186
|
+
*/
|
|
1187
|
+
conductorEndUserId: string;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1118
1190
|
export declare namespace JournalEntries {
|
|
1119
1191
|
export {
|
|
1120
1192
|
type JournalEntry as JournalEntry,
|
|
1121
1193
|
type JournalEntryDeleteResponse as JournalEntryDeleteResponse,
|
|
1194
|
+
type JournalEntryVoidResponse as JournalEntryVoidResponse,
|
|
1122
1195
|
type JournalEntriesCursorPage as JournalEntriesCursorPage,
|
|
1123
1196
|
type JournalEntryCreateParams as JournalEntryCreateParams,
|
|
1124
1197
|
type JournalEntryRetrieveParams as JournalEntryRetrieveParams,
|
|
1125
1198
|
type JournalEntryUpdateParams as JournalEntryUpdateParams,
|
|
1126
1199
|
type JournalEntryListParams as JournalEntryListParams,
|
|
1127
1200
|
type JournalEntryDeleteParams as JournalEntryDeleteParams,
|
|
1201
|
+
type JournalEntryVoidParams as JournalEntryVoidParams,
|
|
1128
1202
|
};
|
|
1129
1203
|
}
|
|
@@ -74,9 +74,10 @@ export class OtherNames extends APIResource {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Returns a list of other-names.
|
|
78
|
-
*
|
|
79
|
-
*
|
|
77
|
+
* Returns a list of other-names.
|
|
78
|
+
*
|
|
79
|
+
* **NOTE:** QuickBooks Desktop does not support pagination for other-names; hence,
|
|
80
|
+
* there is no `cursor` parameter. Users typically have few other-names.
|
|
80
81
|
*
|
|
81
82
|
* @example
|
|
82
83
|
* ```ts
|
|
@@ -58,9 +58,10 @@ export class PaymentMethods extends APIResource {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
* Returns a list of payment methods.
|
|
62
|
-
*
|
|
63
|
-
*
|
|
61
|
+
* Returns a list of payment methods.
|
|
62
|
+
*
|
|
63
|
+
* **NOTE:** QuickBooks Desktop does not support pagination for payment methods;
|
|
64
|
+
* hence, there is no `cursor` parameter. Users typically have few payment methods.
|
|
64
65
|
*
|
|
65
66
|
* @example
|
|
66
67
|
* ```ts
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
+
|
|
8
|
+
export class PaymentsToDeposit extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Lists received customer payments that are currently available to include in a
|
|
11
|
+
* QuickBooks Desktop deposit. Use each result's `paymentTransactionId` and, when
|
|
12
|
+
* present, `paymentTransactionLineId` as the corresponding fields on a deposit
|
|
13
|
+
* line.
|
|
14
|
+
*
|
|
15
|
+
* **NOTE:** QuickBooks Desktop does not support pagination for payments to
|
|
16
|
+
* deposit; hence, there is no `cursor` parameter. Users typically have few
|
|
17
|
+
* payments to deposit.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const paymentsToDeposits =
|
|
22
|
+
* await conductor.qbd.paymentsToDeposit.list({
|
|
23
|
+
* conductorEndUserId: 'end_usr_1234567abcdefg',
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
list(
|
|
28
|
+
params: PaymentsToDepositListParams,
|
|
29
|
+
options?: RequestOptions,
|
|
30
|
+
): APIPromise<PaymentsToDepositListResponse> {
|
|
31
|
+
const { conductorEndUserId } = params;
|
|
32
|
+
return this._client.get('/quickbooks-desktop/payments-to-deposit', {
|
|
33
|
+
...options,
|
|
34
|
+
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface PaymentToDeposit {
|
|
40
|
+
/**
|
|
41
|
+
* The monetary amount of this received payment that is currently available to
|
|
42
|
+
* deposit, represented as a decimal string.
|
|
43
|
+
*/
|
|
44
|
+
amount: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* The monetary amount of this payment to deposit converted to the home currency of
|
|
48
|
+
* the QuickBooks company file. Represented as a decimal string.
|
|
49
|
+
*/
|
|
50
|
+
amountInHomeCurrency: string | null;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* The payment to deposit's currency. For built-in currencies, the name and code
|
|
54
|
+
* are standard ISO 4217 international values. For user-defined currencies, all
|
|
55
|
+
* values are editable.
|
|
56
|
+
*/
|
|
57
|
+
currency: PaymentToDeposit.Currency | null;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The customer or customer-job associated with this payment to deposit.
|
|
61
|
+
*/
|
|
62
|
+
customer: PaymentToDeposit.Customer | null;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The market exchange rate between this payment to deposit's currency and the home
|
|
66
|
+
* currency in QuickBooks at the time of this transaction. Represented as a decimal
|
|
67
|
+
* value (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home currency).
|
|
68
|
+
*/
|
|
69
|
+
exchangeRate: number | null;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The ID of the received payment that is available to deposit. Pass this value as
|
|
73
|
+
* `paymentTransactionId` when creating a deposit line.
|
|
74
|
+
*/
|
|
75
|
+
paymentTransactionId: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the specific received-payment line that is available to deposit. If
|
|
79
|
+
* this value is not `null`, pass it as `paymentTransactionLineId` with
|
|
80
|
+
* `paymentTransactionId` when creating a deposit line.
|
|
81
|
+
*/
|
|
82
|
+
paymentTransactionLineId: string | null;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* The case-sensitive user-defined reference number for this payment to deposit,
|
|
86
|
+
* which can be used to identify the transaction in QuickBooks. This value is not
|
|
87
|
+
* required to be unique and can be arbitrarily changed by the QuickBooks user.
|
|
88
|
+
*/
|
|
89
|
+
refNumber: string | null;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* The date of this payment to deposit, in ISO 8601 format (YYYY-MM-DD).
|
|
93
|
+
*/
|
|
94
|
+
transactionDate: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The type of transaction for this payment to deposit.
|
|
98
|
+
*/
|
|
99
|
+
transactionType:
|
|
100
|
+
| 'ar_refund_credit_card'
|
|
101
|
+
| 'bill'
|
|
102
|
+
| 'bill_payment_check'
|
|
103
|
+
| 'bill_payment_credit_card'
|
|
104
|
+
| 'build_assembly'
|
|
105
|
+
| 'charge'
|
|
106
|
+
| 'check'
|
|
107
|
+
| 'credit_card_charge'
|
|
108
|
+
| 'credit_card_credit'
|
|
109
|
+
| 'credit_memo'
|
|
110
|
+
| 'deposit'
|
|
111
|
+
| 'estimate'
|
|
112
|
+
| 'inventory_adjustment'
|
|
113
|
+
| 'invoice'
|
|
114
|
+
| 'item_receipt'
|
|
115
|
+
| 'journal_entry'
|
|
116
|
+
| 'liability_adjustment'
|
|
117
|
+
| 'paycheck'
|
|
118
|
+
| 'payroll_liability_check'
|
|
119
|
+
| 'purchase_order'
|
|
120
|
+
| 'receive_payment'
|
|
121
|
+
| 'sales_order'
|
|
122
|
+
| 'sales_receipt'
|
|
123
|
+
| 'sales_tax_payment_check'
|
|
124
|
+
| 'transfer'
|
|
125
|
+
| 'vendor_credit'
|
|
126
|
+
| 'ytd_adjustment';
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export namespace PaymentToDeposit {
|
|
130
|
+
/**
|
|
131
|
+
* The payment to deposit's currency. For built-in currencies, the name and code
|
|
132
|
+
* are standard ISO 4217 international values. For user-defined currencies, all
|
|
133
|
+
* values are editable.
|
|
134
|
+
*/
|
|
135
|
+
export interface Currency {
|
|
136
|
+
/**
|
|
137
|
+
* The unique identifier assigned by QuickBooks to this object. This ID is unique
|
|
138
|
+
* across all objects of the same type, but not across different QuickBooks object
|
|
139
|
+
* types.
|
|
140
|
+
*/
|
|
141
|
+
id: string | null;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* The fully-qualified unique name for this object, formed by combining the names
|
|
145
|
+
* of its parent objects with its own `name`, separated by colons. Not
|
|
146
|
+
* case-sensitive.
|
|
147
|
+
*/
|
|
148
|
+
fullName: string | null;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* The customer or customer-job associated with this payment to deposit.
|
|
153
|
+
*/
|
|
154
|
+
export interface Customer {
|
|
155
|
+
/**
|
|
156
|
+
* The unique identifier assigned by QuickBooks to this object. This ID is unique
|
|
157
|
+
* across all objects of the same type, but not across different QuickBooks object
|
|
158
|
+
* types.
|
|
159
|
+
*/
|
|
160
|
+
id: string | null;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* The fully-qualified unique name for this object, formed by combining the names
|
|
164
|
+
* of its parent objects with its own `name`, separated by colons. Not
|
|
165
|
+
* case-sensitive.
|
|
166
|
+
*/
|
|
167
|
+
fullName: string | null;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export interface PaymentsToDepositListResponse {
|
|
172
|
+
/**
|
|
173
|
+
* The array of payments to deposit.
|
|
174
|
+
*/
|
|
175
|
+
data: Array<PaymentToDeposit>;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* The type of object. This value is always `"list"`.
|
|
179
|
+
*/
|
|
180
|
+
objectType: 'list';
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The endpoint URL where this list can be accessed.
|
|
184
|
+
*/
|
|
185
|
+
url: string;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export interface PaymentsToDepositListParams {
|
|
189
|
+
/**
|
|
190
|
+
* The ID of the End-User to receive this request.
|
|
191
|
+
*/
|
|
192
|
+
conductorEndUserId: string;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export declare namespace PaymentsToDeposit {
|
|
196
|
+
export {
|
|
197
|
+
type PaymentToDeposit as PaymentToDeposit,
|
|
198
|
+
type PaymentsToDepositListResponse as PaymentsToDepositListResponse,
|
|
199
|
+
type PaymentsToDepositListParams as PaymentsToDepositListParams,
|
|
200
|
+
};
|
|
201
|
+
}
|
|
@@ -74,9 +74,10 @@ export class PriceLevels extends APIResource {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Returns a list of price levels.
|
|
78
|
-
*
|
|
79
|
-
*
|
|
77
|
+
* Returns a list of price levels.
|
|
78
|
+
*
|
|
79
|
+
* **NOTE:** QuickBooks Desktop does not support pagination for price levels;
|
|
80
|
+
* hence, there is no `cursor` parameter. Users typically have few price levels.
|
|
80
81
|
*
|
|
81
82
|
* @example
|
|
82
83
|
* ```ts
|
|
@@ -62,6 +62,10 @@ export class PurchaseOrders extends APIResource {
|
|
|
62
62
|
/**
|
|
63
63
|
* Updates an existing purchase order.
|
|
64
64
|
*
|
|
65
|
+
* **NOTE:** If you include `lines` or `lineGroups`, QuickBooks Desktop replaces
|
|
66
|
+
* each included line list with the array you send, so include unchanged lines you
|
|
67
|
+
* want to keep and use `id: "-1"` for new lines.
|
|
68
|
+
*
|
|
65
69
|
* @example
|
|
66
70
|
* ```ts
|
|
67
71
|
* const purchaseOrder =
|