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.
Files changed (398) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/bin/cli +12 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts.map +1 -1
  5. package/client.js +11 -0
  6. package/client.js.map +1 -1
  7. package/client.mjs +11 -0
  8. package/client.mjs.map +1 -1
  9. package/internal/types.d.mts +6 -6
  10. package/internal/types.d.mts.map +1 -1
  11. package/internal/types.d.ts +6 -6
  12. package/internal/types.d.ts.map +1 -1
  13. package/package.json +1 -1
  14. package/resources/qbd/account-tax-lines.d.mts +5 -3
  15. package/resources/qbd/account-tax-lines.d.mts.map +1 -1
  16. package/resources/qbd/account-tax-lines.d.ts +5 -3
  17. package/resources/qbd/account-tax-lines.d.ts.map +1 -1
  18. package/resources/qbd/account-tax-lines.js +5 -3
  19. package/resources/qbd/account-tax-lines.js.map +1 -1
  20. package/resources/qbd/account-tax-lines.mjs +5 -3
  21. package/resources/qbd/account-tax-lines.mjs.map +1 -1
  22. package/resources/qbd/accounts.d.mts +4 -3
  23. package/resources/qbd/accounts.d.mts.map +1 -1
  24. package/resources/qbd/accounts.d.ts +4 -3
  25. package/resources/qbd/accounts.d.ts.map +1 -1
  26. package/resources/qbd/accounts.js +4 -3
  27. package/resources/qbd/accounts.js.map +1 -1
  28. package/resources/qbd/accounts.mjs +4 -3
  29. package/resources/qbd/accounts.mjs.map +1 -1
  30. package/resources/qbd/bill-check-payments.d.mts +52 -1
  31. package/resources/qbd/bill-check-payments.d.mts.map +1 -1
  32. package/resources/qbd/bill-check-payments.d.ts +52 -1
  33. package/resources/qbd/bill-check-payments.d.ts.map +1 -1
  34. package/resources/qbd/bill-check-payments.js +20 -0
  35. package/resources/qbd/bill-check-payments.js.map +1 -1
  36. package/resources/qbd/bill-check-payments.mjs +20 -0
  37. package/resources/qbd/bill-check-payments.mjs.map +1 -1
  38. package/resources/qbd/bill-credit-card-payments.d.mts +54 -1
  39. package/resources/qbd/bill-credit-card-payments.d.mts.map +1 -1
  40. package/resources/qbd/bill-credit-card-payments.d.ts +54 -1
  41. package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -1
  42. package/resources/qbd/bill-credit-card-payments.js +21 -0
  43. package/resources/qbd/bill-credit-card-payments.js.map +1 -1
  44. package/resources/qbd/bill-credit-card-payments.mjs +21 -0
  45. package/resources/qbd/bill-credit-card-payments.mjs.map +1 -1
  46. package/resources/qbd/bills.d.mts +55 -1
  47. package/resources/qbd/bills.d.mts.map +1 -1
  48. package/resources/qbd/bills.d.ts +55 -1
  49. package/resources/qbd/bills.d.ts.map +1 -1
  50. package/resources/qbd/bills.js +24 -0
  51. package/resources/qbd/bills.js.map +1 -1
  52. package/resources/qbd/bills.mjs +24 -0
  53. package/resources/qbd/bills.mjs.map +1 -1
  54. package/resources/qbd/checks.d.mts +55 -1
  55. package/resources/qbd/checks.d.mts.map +1 -1
  56. package/resources/qbd/checks.d.ts +55 -1
  57. package/resources/qbd/checks.d.ts.map +1 -1
  58. package/resources/qbd/checks.js +24 -0
  59. package/resources/qbd/checks.js.map +1 -1
  60. package/resources/qbd/checks.mjs +24 -0
  61. package/resources/qbd/checks.mjs.map +1 -1
  62. package/resources/qbd/classes.d.mts +4 -3
  63. package/resources/qbd/classes.d.mts.map +1 -1
  64. package/resources/qbd/classes.d.ts +4 -3
  65. package/resources/qbd/classes.d.ts.map +1 -1
  66. package/resources/qbd/classes.js +4 -3
  67. package/resources/qbd/classes.js.map +1 -1
  68. package/resources/qbd/classes.mjs +4 -3
  69. package/resources/qbd/classes.mjs.map +1 -1
  70. package/resources/qbd/credit-card-charges.d.mts +56 -1
  71. package/resources/qbd/credit-card-charges.d.mts.map +1 -1
  72. package/resources/qbd/credit-card-charges.d.ts +56 -1
  73. package/resources/qbd/credit-card-charges.d.ts.map +1 -1
  74. package/resources/qbd/credit-card-charges.js +24 -0
  75. package/resources/qbd/credit-card-charges.js.map +1 -1
  76. package/resources/qbd/credit-card-charges.mjs +24 -0
  77. package/resources/qbd/credit-card-charges.mjs.map +1 -1
  78. package/resources/qbd/credit-card-credits.d.mts +56 -1
  79. package/resources/qbd/credit-card-credits.d.mts.map +1 -1
  80. package/resources/qbd/credit-card-credits.d.ts +56 -1
  81. package/resources/qbd/credit-card-credits.d.ts.map +1 -1
  82. package/resources/qbd/credit-card-credits.js +24 -0
  83. package/resources/qbd/credit-card-credits.js.map +1 -1
  84. package/resources/qbd/credit-card-credits.mjs +24 -0
  85. package/resources/qbd/credit-card-credits.mjs.map +1 -1
  86. package/resources/qbd/credit-card-refunds.d.mts +52 -1
  87. package/resources/qbd/credit-card-refunds.d.mts.map +1 -1
  88. package/resources/qbd/credit-card-refunds.d.ts +52 -1
  89. package/resources/qbd/credit-card-refunds.d.ts.map +1 -1
  90. package/resources/qbd/credit-card-refunds.js +20 -0
  91. package/resources/qbd/credit-card-refunds.js.map +1 -1
  92. package/resources/qbd/credit-card-refunds.mjs +20 -0
  93. package/resources/qbd/credit-card-refunds.mjs.map +1 -1
  94. package/resources/qbd/credit-memos.d.mts +55 -1
  95. package/resources/qbd/credit-memos.d.mts.map +1 -1
  96. package/resources/qbd/credit-memos.d.ts +55 -1
  97. package/resources/qbd/credit-memos.d.ts.map +1 -1
  98. package/resources/qbd/credit-memos.js +24 -0
  99. package/resources/qbd/credit-memos.js.map +1 -1
  100. package/resources/qbd/credit-memos.mjs +24 -0
  101. package/resources/qbd/credit-memos.mjs.map +1 -1
  102. package/resources/qbd/currencies.d.mts +4 -3
  103. package/resources/qbd/currencies.d.mts.map +1 -1
  104. package/resources/qbd/currencies.d.ts +4 -3
  105. package/resources/qbd/currencies.d.ts.map +1 -1
  106. package/resources/qbd/currencies.js +4 -3
  107. package/resources/qbd/currencies.js.map +1 -1
  108. package/resources/qbd/currencies.mjs +4 -3
  109. package/resources/qbd/currencies.mjs.map +1 -1
  110. package/resources/qbd/customer-types.d.mts +4 -3
  111. package/resources/qbd/customer-types.d.mts.map +1 -1
  112. package/resources/qbd/customer-types.d.ts +4 -3
  113. package/resources/qbd/customer-types.d.ts.map +1 -1
  114. package/resources/qbd/customer-types.js +4 -3
  115. package/resources/qbd/customer-types.js.map +1 -1
  116. package/resources/qbd/customer-types.mjs +4 -3
  117. package/resources/qbd/customer-types.mjs.map +1 -1
  118. package/resources/qbd/customers.d.mts +17 -2
  119. package/resources/qbd/customers.d.mts.map +1 -1
  120. package/resources/qbd/customers.d.ts +17 -2
  121. package/resources/qbd/customers.d.ts.map +1 -1
  122. package/resources/qbd/customers.js +4 -0
  123. package/resources/qbd/customers.js.map +1 -1
  124. package/resources/qbd/customers.mjs +4 -0
  125. package/resources/qbd/customers.mjs.map +1 -1
  126. package/resources/qbd/date-driven-terms.d.mts +5 -3
  127. package/resources/qbd/date-driven-terms.d.mts.map +1 -1
  128. package/resources/qbd/date-driven-terms.d.ts +5 -3
  129. package/resources/qbd/date-driven-terms.d.ts.map +1 -1
  130. package/resources/qbd/date-driven-terms.js +5 -3
  131. package/resources/qbd/date-driven-terms.js.map +1 -1
  132. package/resources/qbd/date-driven-terms.mjs +5 -3
  133. package/resources/qbd/date-driven-terms.mjs.map +1 -1
  134. package/resources/qbd/deleted-list-objects.d.mts +4 -0
  135. package/resources/qbd/deleted-list-objects.d.mts.map +1 -1
  136. package/resources/qbd/deleted-list-objects.d.ts +4 -0
  137. package/resources/qbd/deleted-list-objects.d.ts.map +1 -1
  138. package/resources/qbd/deleted-list-objects.js +4 -0
  139. package/resources/qbd/deleted-list-objects.js.map +1 -1
  140. package/resources/qbd/deleted-list-objects.mjs +4 -0
  141. package/resources/qbd/deleted-list-objects.mjs.map +1 -1
  142. package/resources/qbd/deleted-transactions.d.mts +4 -0
  143. package/resources/qbd/deleted-transactions.d.mts.map +1 -1
  144. package/resources/qbd/deleted-transactions.d.ts +4 -0
  145. package/resources/qbd/deleted-transactions.d.ts.map +1 -1
  146. package/resources/qbd/deleted-transactions.js +4 -0
  147. package/resources/qbd/deleted-transactions.js.map +1 -1
  148. package/resources/qbd/deleted-transactions.mjs +4 -0
  149. package/resources/qbd/deleted-transactions.mjs.map +1 -1
  150. package/resources/qbd/deposits.d.mts +879 -0
  151. package/resources/qbd/deposits.d.mts.map +1 -0
  152. package/resources/qbd/deposits.d.ts +879 -0
  153. package/resources/qbd/deposits.d.ts.map +1 -0
  154. package/resources/qbd/deposits.js +144 -0
  155. package/resources/qbd/deposits.js.map +1 -0
  156. package/resources/qbd/deposits.mjs +140 -0
  157. package/resources/qbd/deposits.mjs.map +1 -0
  158. package/resources/qbd/employees.d.mts +4 -3
  159. package/resources/qbd/employees.d.mts.map +1 -1
  160. package/resources/qbd/employees.d.ts +4 -3
  161. package/resources/qbd/employees.d.ts.map +1 -1
  162. package/resources/qbd/employees.js +4 -3
  163. package/resources/qbd/employees.js.map +1 -1
  164. package/resources/qbd/employees.mjs +4 -3
  165. package/resources/qbd/employees.mjs.map +1 -1
  166. package/resources/qbd/estimates.d.mts +4 -0
  167. package/resources/qbd/estimates.d.mts.map +1 -1
  168. package/resources/qbd/estimates.d.ts +4 -0
  169. package/resources/qbd/estimates.d.ts.map +1 -1
  170. package/resources/qbd/estimates.js +4 -0
  171. package/resources/qbd/estimates.js.map +1 -1
  172. package/resources/qbd/estimates.mjs +4 -0
  173. package/resources/qbd/estimates.mjs.map +1 -1
  174. package/resources/qbd/index.d.mts +16 -14
  175. package/resources/qbd/index.d.mts.map +1 -1
  176. package/resources/qbd/index.d.ts +16 -14
  177. package/resources/qbd/index.d.ts.map +1 -1
  178. package/resources/qbd/index.js +6 -2
  179. package/resources/qbd/index.js.map +1 -1
  180. package/resources/qbd/index.mjs +2 -0
  181. package/resources/qbd/index.mjs.map +1 -1
  182. package/resources/qbd/inventory-adjustments.d.mts +62 -4
  183. package/resources/qbd/inventory-adjustments.d.mts.map +1 -1
  184. package/resources/qbd/inventory-adjustments.d.ts +62 -4
  185. package/resources/qbd/inventory-adjustments.d.ts.map +1 -1
  186. package/resources/qbd/inventory-adjustments.js +30 -3
  187. package/resources/qbd/inventory-adjustments.js.map +1 -1
  188. package/resources/qbd/inventory-adjustments.mjs +30 -3
  189. package/resources/qbd/inventory-adjustments.mjs.map +1 -1
  190. package/resources/qbd/inventory-sites.d.mts +4 -3
  191. package/resources/qbd/inventory-sites.d.mts.map +1 -1
  192. package/resources/qbd/inventory-sites.d.ts +4 -3
  193. package/resources/qbd/inventory-sites.d.ts.map +1 -1
  194. package/resources/qbd/inventory-sites.js +4 -3
  195. package/resources/qbd/inventory-sites.js.map +1 -1
  196. package/resources/qbd/inventory-sites.mjs +4 -3
  197. package/resources/qbd/inventory-sites.mjs.map +1 -1
  198. package/resources/qbd/invoices.d.mts +55 -1
  199. package/resources/qbd/invoices.d.mts.map +1 -1
  200. package/resources/qbd/invoices.d.ts +55 -1
  201. package/resources/qbd/invoices.d.ts.map +1 -1
  202. package/resources/qbd/invoices.js +24 -0
  203. package/resources/qbd/invoices.js.map +1 -1
  204. package/resources/qbd/invoices.mjs +24 -0
  205. package/resources/qbd/invoices.mjs.map +1 -1
  206. package/resources/qbd/item-receipts.d.mts +55 -1
  207. package/resources/qbd/item-receipts.d.mts.map +1 -1
  208. package/resources/qbd/item-receipts.d.ts +55 -1
  209. package/resources/qbd/item-receipts.d.ts.map +1 -1
  210. package/resources/qbd/item-receipts.js +24 -0
  211. package/resources/qbd/item-receipts.js.map +1 -1
  212. package/resources/qbd/item-receipts.mjs +24 -0
  213. package/resources/qbd/item-receipts.mjs.map +1 -1
  214. package/resources/qbd/journal-entries.d.mts +55 -1
  215. package/resources/qbd/journal-entries.d.mts.map +1 -1
  216. package/resources/qbd/journal-entries.d.ts +55 -1
  217. package/resources/qbd/journal-entries.d.ts.map +1 -1
  218. package/resources/qbd/journal-entries.js +24 -0
  219. package/resources/qbd/journal-entries.js.map +1 -1
  220. package/resources/qbd/journal-entries.mjs +24 -0
  221. package/resources/qbd/journal-entries.mjs.map +1 -1
  222. package/resources/qbd/other-names.d.mts +4 -3
  223. package/resources/qbd/other-names.d.mts.map +1 -1
  224. package/resources/qbd/other-names.d.ts +4 -3
  225. package/resources/qbd/other-names.d.ts.map +1 -1
  226. package/resources/qbd/other-names.js +4 -3
  227. package/resources/qbd/other-names.js.map +1 -1
  228. package/resources/qbd/other-names.mjs +4 -3
  229. package/resources/qbd/other-names.mjs.map +1 -1
  230. package/resources/qbd/payment-methods.d.mts +4 -3
  231. package/resources/qbd/payment-methods.d.mts.map +1 -1
  232. package/resources/qbd/payment-methods.d.ts +4 -3
  233. package/resources/qbd/payment-methods.d.ts.map +1 -1
  234. package/resources/qbd/payment-methods.js +4 -3
  235. package/resources/qbd/payment-methods.js.map +1 -1
  236. package/resources/qbd/payment-methods.mjs +4 -3
  237. package/resources/qbd/payment-methods.mjs.map +1 -1
  238. package/resources/qbd/payments-to-deposit.d.mts +139 -0
  239. package/resources/qbd/payments-to-deposit.d.mts.map +1 -0
  240. package/resources/qbd/payments-to-deposit.d.ts +139 -0
  241. package/resources/qbd/payments-to-deposit.d.ts.map +1 -0
  242. package/resources/qbd/payments-to-deposit.js +35 -0
  243. package/resources/qbd/payments-to-deposit.js.map +1 -0
  244. package/resources/qbd/payments-to-deposit.mjs +31 -0
  245. package/resources/qbd/payments-to-deposit.mjs.map +1 -0
  246. package/resources/qbd/price-levels.d.mts +4 -3
  247. package/resources/qbd/price-levels.d.mts.map +1 -1
  248. package/resources/qbd/price-levels.d.ts +4 -3
  249. package/resources/qbd/price-levels.d.ts.map +1 -1
  250. package/resources/qbd/price-levels.js +4 -3
  251. package/resources/qbd/price-levels.js.map +1 -1
  252. package/resources/qbd/price-levels.mjs +4 -3
  253. package/resources/qbd/price-levels.mjs.map +1 -1
  254. package/resources/qbd/purchase-orders.d.mts +4 -0
  255. package/resources/qbd/purchase-orders.d.mts.map +1 -1
  256. package/resources/qbd/purchase-orders.d.ts +4 -0
  257. package/resources/qbd/purchase-orders.d.ts.map +1 -1
  258. package/resources/qbd/purchase-orders.js +4 -0
  259. package/resources/qbd/purchase-orders.js.map +1 -1
  260. package/resources/qbd/purchase-orders.mjs +4 -0
  261. package/resources/qbd/purchase-orders.mjs.map +1 -1
  262. package/resources/qbd/qbd.d.mts +36 -28
  263. package/resources/qbd/qbd.d.mts.map +1 -1
  264. package/resources/qbd/qbd.d.ts +36 -28
  265. package/resources/qbd/qbd.d.ts.map +1 -1
  266. package/resources/qbd/qbd.js +8 -0
  267. package/resources/qbd/qbd.js.map +1 -1
  268. package/resources/qbd/qbd.mjs +8 -0
  269. package/resources/qbd/qbd.mjs.map +1 -1
  270. package/resources/qbd/sales-orders.d.mts +4 -0
  271. package/resources/qbd/sales-orders.d.mts.map +1 -1
  272. package/resources/qbd/sales-orders.d.ts +4 -0
  273. package/resources/qbd/sales-orders.d.ts.map +1 -1
  274. package/resources/qbd/sales-orders.js +4 -0
  275. package/resources/qbd/sales-orders.js.map +1 -1
  276. package/resources/qbd/sales-orders.mjs +4 -0
  277. package/resources/qbd/sales-orders.mjs.map +1 -1
  278. package/resources/qbd/sales-receipts.d.mts +55 -1
  279. package/resources/qbd/sales-receipts.d.mts.map +1 -1
  280. package/resources/qbd/sales-receipts.d.ts +55 -1
  281. package/resources/qbd/sales-receipts.d.ts.map +1 -1
  282. package/resources/qbd/sales-receipts.js +24 -0
  283. package/resources/qbd/sales-receipts.js.map +1 -1
  284. package/resources/qbd/sales-receipts.mjs +24 -0
  285. package/resources/qbd/sales-receipts.mjs.map +1 -1
  286. package/resources/qbd/sales-representatives.d.mts +5 -3
  287. package/resources/qbd/sales-representatives.d.mts.map +1 -1
  288. package/resources/qbd/sales-representatives.d.ts +5 -3
  289. package/resources/qbd/sales-representatives.d.ts.map +1 -1
  290. package/resources/qbd/sales-representatives.js +5 -3
  291. package/resources/qbd/sales-representatives.js.map +1 -1
  292. package/resources/qbd/sales-representatives.mjs +5 -3
  293. package/resources/qbd/sales-representatives.mjs.map +1 -1
  294. package/resources/qbd/sales-tax-codes.d.mts +4 -3
  295. package/resources/qbd/sales-tax-codes.d.mts.map +1 -1
  296. package/resources/qbd/sales-tax-codes.d.ts +4 -3
  297. package/resources/qbd/sales-tax-codes.d.ts.map +1 -1
  298. package/resources/qbd/sales-tax-codes.js +4 -3
  299. package/resources/qbd/sales-tax-codes.js.map +1 -1
  300. package/resources/qbd/sales-tax-codes.mjs +4 -3
  301. package/resources/qbd/sales-tax-codes.mjs.map +1 -1
  302. package/resources/qbd/shipping-methods.d.mts +5 -3
  303. package/resources/qbd/shipping-methods.d.mts.map +1 -1
  304. package/resources/qbd/shipping-methods.d.ts +5 -3
  305. package/resources/qbd/shipping-methods.d.ts.map +1 -1
  306. package/resources/qbd/shipping-methods.js +5 -3
  307. package/resources/qbd/shipping-methods.js.map +1 -1
  308. package/resources/qbd/shipping-methods.mjs +5 -3
  309. package/resources/qbd/shipping-methods.mjs.map +1 -1
  310. package/resources/qbd/standard-terms.d.mts +4 -3
  311. package/resources/qbd/standard-terms.d.mts.map +1 -1
  312. package/resources/qbd/standard-terms.d.ts +4 -3
  313. package/resources/qbd/standard-terms.d.ts.map +1 -1
  314. package/resources/qbd/standard-terms.js +4 -3
  315. package/resources/qbd/standard-terms.js.map +1 -1
  316. package/resources/qbd/standard-terms.mjs +4 -3
  317. package/resources/qbd/standard-terms.mjs.map +1 -1
  318. package/resources/qbd/time-tracking-activities.d.mts +0 -5
  319. package/resources/qbd/time-tracking-activities.d.mts.map +1 -1
  320. package/resources/qbd/time-tracking-activities.d.ts +0 -5
  321. package/resources/qbd/time-tracking-activities.d.ts.map +1 -1
  322. package/resources/qbd/transactions.d.mts +2 -1
  323. package/resources/qbd/transactions.d.mts.map +1 -1
  324. package/resources/qbd/transactions.d.ts +2 -1
  325. package/resources/qbd/transactions.d.ts.map +1 -1
  326. package/resources/qbd/transactions.js +2 -1
  327. package/resources/qbd/transactions.js.map +1 -1
  328. package/resources/qbd/transactions.mjs +2 -1
  329. package/resources/qbd/transactions.mjs.map +1 -1
  330. package/resources/qbd/unit-of-measure-sets.d.mts +4 -0
  331. package/resources/qbd/unit-of-measure-sets.d.mts.map +1 -1
  332. package/resources/qbd/unit-of-measure-sets.d.ts +4 -0
  333. package/resources/qbd/unit-of-measure-sets.d.ts.map +1 -1
  334. package/resources/qbd/unit-of-measure-sets.js +4 -0
  335. package/resources/qbd/unit-of-measure-sets.js.map +1 -1
  336. package/resources/qbd/unit-of-measure-sets.mjs +4 -0
  337. package/resources/qbd/unit-of-measure-sets.mjs.map +1 -1
  338. package/resources/qbd/vendor-credits.d.mts +55 -1
  339. package/resources/qbd/vendor-credits.d.mts.map +1 -1
  340. package/resources/qbd/vendor-credits.d.ts +55 -1
  341. package/resources/qbd/vendor-credits.d.ts.map +1 -1
  342. package/resources/qbd/vendor-credits.js +24 -0
  343. package/resources/qbd/vendor-credits.js.map +1 -1
  344. package/resources/qbd/vendor-credits.mjs +24 -0
  345. package/resources/qbd/vendor-credits.mjs.map +1 -1
  346. package/src/client.ts +12 -0
  347. package/src/internal/types.ts +6 -8
  348. package/src/resources/qbd/account-tax-lines.ts +5 -3
  349. package/src/resources/qbd/accounts.ts +4 -3
  350. package/src/resources/qbd/bill-check-payments.ts +71 -0
  351. package/src/resources/qbd/bill-credit-card-payments.ts +73 -0
  352. package/src/resources/qbd/bills.ts +70 -0
  353. package/src/resources/qbd/checks.ts +70 -0
  354. package/src/resources/qbd/classes.ts +4 -3
  355. package/src/resources/qbd/credit-card-charges.ts +75 -0
  356. package/src/resources/qbd/credit-card-credits.ts +75 -0
  357. package/src/resources/qbd/credit-card-refunds.ts +71 -0
  358. package/src/resources/qbd/credit-memos.ts +74 -0
  359. package/src/resources/qbd/currencies.ts +4 -3
  360. package/src/resources/qbd/customer-types.ts +4 -3
  361. package/src/resources/qbd/customers.ts +18 -2
  362. package/src/resources/qbd/date-driven-terms.ts +5 -3
  363. package/src/resources/qbd/deleted-list-objects.ts +4 -0
  364. package/src/resources/qbd/deleted-transactions.ts +4 -0
  365. package/src/resources/qbd/deposits.ts +1101 -0
  366. package/src/resources/qbd/employees.ts +4 -3
  367. package/src/resources/qbd/estimates.ts +4 -0
  368. package/src/resources/qbd/index.ts +47 -0
  369. package/src/resources/qbd/inventory-adjustments.ts +81 -3
  370. package/src/resources/qbd/inventory-sites.ts +4 -3
  371. package/src/resources/qbd/invoices.ts +70 -0
  372. package/src/resources/qbd/item-receipts.ts +74 -0
  373. package/src/resources/qbd/journal-entries.ts +74 -0
  374. package/src/resources/qbd/other-names.ts +4 -3
  375. package/src/resources/qbd/payment-methods.ts +4 -3
  376. package/src/resources/qbd/payments-to-deposit.ts +201 -0
  377. package/src/resources/qbd/price-levels.ts +4 -3
  378. package/src/resources/qbd/purchase-orders.ts +4 -0
  379. package/src/resources/qbd/qbd.ts +104 -0
  380. package/src/resources/qbd/sales-orders.ts +4 -0
  381. package/src/resources/qbd/sales-receipts.ts +74 -0
  382. package/src/resources/qbd/sales-representatives.ts +5 -3
  383. package/src/resources/qbd/sales-tax-codes.ts +4 -3
  384. package/src/resources/qbd/shipping-methods.ts +5 -3
  385. package/src/resources/qbd/standard-terms.ts +4 -3
  386. package/src/resources/qbd/time-tracking-activities.ts +0 -6
  387. package/src/resources/qbd/transactions.ts +2 -1
  388. package/src/resources/qbd/unit-of-measure-sets.ts +4 -0
  389. package/src/resources/qbd/vendor-credits.ts +74 -0
  390. package/src/version.ts +1 -1
  391. package/version.d.mts +1 -1
  392. package/version.d.mts.map +1 -1
  393. package/version.d.ts +1 -1
  394. package/version.d.ts.map +1 -1
  395. package/version.js +1 -1
  396. package/version.js.map +1 -1
  397. package/version.mjs +1 -1
  398. package/version.mjs.map +1 -1
@@ -0,0 +1,879 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { CursorPage, type CursorPageParams, PagePromise } from "../../core/pagination.js";
4
+ import { RequestOptions } from "../../internal/request-options.js";
5
+ export declare class Deposits extends APIResource {
6
+ /**
7
+ * Creates a deposit into a QuickBooks Desktop bank or other asset account. Lines
8
+ * can either reference existing payments waiting to be deposited, using
9
+ * `paymentTransactionId` and optionally `paymentTransactionLineId`, or describe a
10
+ * manual transfer from another account using `accountId` and related line details.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const deposit = await conductor.qbd.deposits.create({
15
+ * depositToAccountId: '80000001-1234567890',
16
+ * transactionDate: '2024-10-01',
17
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
18
+ * });
19
+ * ```
20
+ */
21
+ create(params: DepositCreateParams, options?: RequestOptions): APIPromise<Deposit>;
22
+ /**
23
+ * Retrieves a deposit by ID.
24
+ *
25
+ * **IMPORTANT:** If you need to fetch multiple specific deposits by ID, use the
26
+ * list endpoint instead with the `ids` parameter. It accepts an array of IDs so
27
+ * you can batch the request into a single call, which is significantly faster.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * const deposit = await conductor.qbd.deposits.retrieve(
32
+ * '123ABC-1234567890',
33
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
34
+ * );
35
+ * ```
36
+ */
37
+ retrieve(id: string, params: DepositRetrieveParams, options?: RequestOptions): APIPromise<Deposit>;
38
+ /**
39
+ * Updates an existing deposit.
40
+ *
41
+ * **NOTE:** If you include `lines`, QuickBooks Desktop replaces that line list
42
+ * with the array you send, so include unchanged lines you want to keep and use
43
+ * `id: "-1"` for new lines.
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * const deposit = await conductor.qbd.deposits.update(
48
+ * '123ABC-1234567890',
49
+ * {
50
+ * revisionNumber: '1721172183',
51
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
52
+ * },
53
+ * );
54
+ * ```
55
+ */
56
+ update(id: string, params: DepositUpdateParams, options?: RequestOptions): APIPromise<Deposit>;
57
+ /**
58
+ * Returns a list of deposits. Use the `cursor` parameter to paginate through the
59
+ * results.
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * // Automatically fetches more pages as needed.
64
+ * for await (const deposit of conductor.qbd.deposits.list({
65
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
66
+ * })) {
67
+ * // ...
68
+ * }
69
+ * ```
70
+ */
71
+ list(params: DepositListParams, options?: RequestOptions): PagePromise<DepositsCursorPage, Deposit>;
72
+ /**
73
+ * Permanently deletes a a deposit. The deletion will fail if the deposit is
74
+ * currently in use or has any linked transactions that are in use.
75
+ *
76
+ * @example
77
+ * ```ts
78
+ * const deposit = await conductor.qbd.deposits.delete(
79
+ * '123ABC-1234567890',
80
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
81
+ * );
82
+ * ```
83
+ */
84
+ delete(id: string, params: DepositDeleteParams, options?: RequestOptions): APIPromise<DepositDeleteResponse>;
85
+ /**
86
+ * Voids a deposit by setting its amount to zero while keeping a record of it in
87
+ * QuickBooks. The void will fail if the deposit is currently in use or has any
88
+ * linked transactions that are in use.
89
+ *
90
+ * @example
91
+ * ```ts
92
+ * const response = await conductor.qbd.deposits.void(
93
+ * '123ABC-1234567890',
94
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
95
+ * );
96
+ * ```
97
+ */
98
+ void(id: string, params: DepositVoidParams, options?: RequestOptions): APIPromise<DepositVoidResponse>;
99
+ }
100
+ export type DepositsCursorPage = CursorPage<Deposit>;
101
+ export interface Deposit {
102
+ /**
103
+ * The unique identifier assigned by QuickBooks to this deposit. This ID is unique
104
+ * across all transaction types.
105
+ */
106
+ id: string;
107
+ /**
108
+ * Cash back taken out of this deposit and recorded to another account, such as
109
+ * Petty Cash.
110
+ */
111
+ cashBack: Deposit.CashBack | null;
112
+ /**
113
+ * The date and time when this deposit was created, in ISO 8601 format
114
+ * (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop interprets in the local
115
+ * timezone of the end-user's computer.
116
+ */
117
+ createdAt: string;
118
+ /**
119
+ * The deposit's currency. For built-in currencies, the name and code are standard
120
+ * ISO 4217 international values. For user-defined currencies, all values are
121
+ * editable.
122
+ */
123
+ currency: Deposit.Currency | null;
124
+ /**
125
+ * The custom fields for the deposit object, added as user-defined data extensions,
126
+ * not included in the standard QuickBooks object.
127
+ */
128
+ customFields: Array<Deposit.CustomField>;
129
+ /**
130
+ * The account where the funds for this deposit have been deposited.
131
+ */
132
+ depositToAccount: Deposit.DepositToAccount | null;
133
+ /**
134
+ * The market exchange rate between this deposit's currency and the home currency
135
+ * in QuickBooks at the time of this transaction. Represented as a decimal value
136
+ * (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home currency).
137
+ */
138
+ exchangeRate: number | null;
139
+ /**
140
+ * A globally unique identifier (GUID) you, the developer, can provide for tracking
141
+ * this object in your external system. This field is immutable and can only be set
142
+ * during object creation.
143
+ */
144
+ externalId: string | null;
145
+ /**
146
+ * The deposit's deposit lines, each representing either an existing payment
147
+ * selected for deposit or a manual transfer from another account into the deposit
148
+ * account.
149
+ */
150
+ lines: Array<Deposit.Line>;
151
+ /**
152
+ * A memo or note for this deposit.
153
+ */
154
+ memo: string | null;
155
+ /**
156
+ * The type of object. This value is always `"qbd_deposit"`.
157
+ */
158
+ objectType: 'qbd_deposit';
159
+ /**
160
+ * The current QuickBooks-assigned revision number of this deposit object, which
161
+ * changes each time the object is modified. When updating this object, you must
162
+ * provide the most recent `revisionNumber` to ensure you're working with the
163
+ * latest data; otherwise, the update will return an error.
164
+ */
165
+ revisionNumber: string;
166
+ /**
167
+ * The total monetary amount deposited into this deposit's destination account,
168
+ * represented as a decimal string.
169
+ */
170
+ totalAmount: string | null;
171
+ /**
172
+ * This deposit's total monetary amount converted to the home currency of the
173
+ * QuickBooks company file, represented as a decimal string.
174
+ */
175
+ totalAmountInHomeCurrency: string | null;
176
+ /**
177
+ * The date of this deposit, in ISO 8601 format (YYYY-MM-DD).
178
+ */
179
+ transactionDate: string;
180
+ /**
181
+ * The date and time when this deposit was last updated, in ISO 8601 format
182
+ * (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop interprets in the local
183
+ * timezone of the end-user's computer.
184
+ */
185
+ updatedAt: string;
186
+ }
187
+ export declare namespace Deposit {
188
+ /**
189
+ * Cash back taken out of this deposit and recorded to another account, such as
190
+ * Petty Cash.
191
+ */
192
+ interface CashBack {
193
+ /**
194
+ * The unique identifier assigned by QuickBooks to this deposit cash-back line.
195
+ * This ID is unique across all transaction line types.
196
+ */
197
+ id: string;
198
+ /**
199
+ * The account where this deposit cash-back line's cash-back amount is recorded,
200
+ * such as Petty Cash. This amount reduces the total credited to the deposit's
201
+ * destination account.
202
+ */
203
+ account: CashBack.Account;
204
+ /**
205
+ * The cash-back amount taken out of the deposit and recorded to this deposit
206
+ * cash-back line's account, represented as a decimal string.
207
+ */
208
+ amount: string | null;
209
+ /**
210
+ * A memo or note for this deposit cash-back line.
211
+ */
212
+ memo: string | null;
213
+ /**
214
+ * The type of object. This value is always `"qbd_deposit_cash_back_line"`.
215
+ */
216
+ objectType: 'qbd_deposit_cash_back_line';
217
+ }
218
+ namespace CashBack {
219
+ /**
220
+ * The account where this deposit cash-back line's cash-back amount is recorded,
221
+ * such as Petty Cash. This amount reduces the total credited to the deposit's
222
+ * destination account.
223
+ */
224
+ interface Account {
225
+ /**
226
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
227
+ * across all objects of the same type, but not across different QuickBooks object
228
+ * types.
229
+ */
230
+ id: string | null;
231
+ /**
232
+ * The fully-qualified unique name for this object, formed by combining the names
233
+ * of its parent objects with its own `name`, separated by colons. Not
234
+ * case-sensitive.
235
+ */
236
+ fullName: string | null;
237
+ }
238
+ }
239
+ /**
240
+ * The deposit's currency. For built-in currencies, the name and code are standard
241
+ * ISO 4217 international values. For user-defined currencies, all values are
242
+ * editable.
243
+ */
244
+ interface Currency {
245
+ /**
246
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
247
+ * across all objects of the same type, but not across different QuickBooks object
248
+ * types.
249
+ */
250
+ id: string | null;
251
+ /**
252
+ * The fully-qualified unique name for this object, formed by combining the names
253
+ * of its parent objects with its own `name`, separated by colons. Not
254
+ * case-sensitive.
255
+ */
256
+ fullName: string | null;
257
+ }
258
+ interface CustomField {
259
+ /**
260
+ * The name of the custom field, unique for the specified `ownerId`. For public
261
+ * custom fields, this name is visible as a label in the QuickBooks UI.
262
+ */
263
+ name: string;
264
+ /**
265
+ * The identifier of the owner of the custom field, which QuickBooks internally
266
+ * calls a "data extension". For public custom fields visible in the UI, such as
267
+ * those added by the QuickBooks user, this is always "0". For private custom
268
+ * fields that are only visible to the application that created them, this is a
269
+ * valid GUID identifying the owning application. Internally, Conductor always
270
+ * fetches all public custom fields (those with an `ownerId` of "0") for all
271
+ * objects.
272
+ */
273
+ ownerId: string;
274
+ /**
275
+ * The data type of this custom field.
276
+ */
277
+ type: 'amount_type' | 'date_time_type' | 'integer_type' | 'percent_type' | 'price_type' | 'quantity_type' | 'string_1024_type' | 'string_255_type';
278
+ /**
279
+ * The value of this custom field. The maximum length depends on the field's data
280
+ * type.
281
+ */
282
+ value: string;
283
+ }
284
+ /**
285
+ * The account where the funds for this deposit have been deposited.
286
+ */
287
+ interface DepositToAccount {
288
+ /**
289
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
290
+ * across all objects of the same type, but not across different QuickBooks object
291
+ * types.
292
+ */
293
+ id: string | null;
294
+ /**
295
+ * The fully-qualified unique name for this object, formed by combining the names
296
+ * of its parent objects with its own `name`, separated by colons. Not
297
+ * case-sensitive.
298
+ */
299
+ fullName: string | null;
300
+ }
301
+ interface Line {
302
+ /**
303
+ * The unique identifier assigned by QuickBooks to this deposit line. This ID is
304
+ * unique across all transaction line types.
305
+ */
306
+ id: string;
307
+ /**
308
+ * The account associated with this deposit line. For manual deposit lines, this is
309
+ * the account the funds were transferred from into the deposit's destination
310
+ * account.
311
+ */
312
+ account: Line.Account | null;
313
+ /**
314
+ * The amount this deposit line contributes to the deposit's destination account,
315
+ * represented as a decimal string.
316
+ */
317
+ amount: string | null;
318
+ /**
319
+ * The check number of a check received for this deposit line.
320
+ */
321
+ checkNumber: string | null;
322
+ /**
323
+ * The deposit line's class. Classes can be used to categorize objects into
324
+ * meaningful segments, such as department, location, or type of work. In
325
+ * QuickBooks, class tracking is off by default.
326
+ */
327
+ class: Line.Class | null;
328
+ /**
329
+ * The customer, vendor, employee, or person on QuickBooks's "Other Names" list
330
+ * associated with this deposit line.
331
+ */
332
+ entity: Line.Entity | null;
333
+ /**
334
+ * A memo or note for this deposit line.
335
+ */
336
+ memo: string | null;
337
+ /**
338
+ * The type of object. This value is always `"qbd_deposit_line"`.
339
+ */
340
+ objectType: 'qbd_deposit_line';
341
+ /**
342
+ * The deposit line's payment method (e.g., cash, check, credit card).
343
+ */
344
+ paymentMethod: Line.PaymentMethod | null;
345
+ /**
346
+ * For payment-based deposit lines, the ID of the source payment included in this
347
+ * deposit line. For manual deposit lines, this is null.
348
+ */
349
+ paymentTransactionId: string | null;
350
+ /**
351
+ * For payment-based deposit lines, the line ID of the specific source payment line
352
+ * included in this deposit line. For manual deposit lines, this is null.
353
+ */
354
+ paymentTransactionLineId: string | null;
355
+ /**
356
+ * The type of transaction for this deposit line.
357
+ */
358
+ 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' | null;
359
+ }
360
+ namespace Line {
361
+ /**
362
+ * The account associated with this deposit line. For manual deposit lines, this is
363
+ * the account the funds were transferred from into the deposit's destination
364
+ * account.
365
+ */
366
+ interface Account {
367
+ /**
368
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
369
+ * across all objects of the same type, but not across different QuickBooks object
370
+ * types.
371
+ */
372
+ id: string | null;
373
+ /**
374
+ * The fully-qualified unique name for this object, formed by combining the names
375
+ * of its parent objects with its own `name`, separated by colons. Not
376
+ * case-sensitive.
377
+ */
378
+ fullName: string | null;
379
+ }
380
+ /**
381
+ * The deposit line's class. Classes can be used to categorize objects into
382
+ * meaningful segments, such as department, location, or type of work. In
383
+ * QuickBooks, class tracking is off by default.
384
+ */
385
+ interface Class {
386
+ /**
387
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
388
+ * across all objects of the same type, but not across different QuickBooks object
389
+ * types.
390
+ */
391
+ id: string | null;
392
+ /**
393
+ * The fully-qualified unique name for this object, formed by combining the names
394
+ * of its parent objects with its own `name`, separated by colons. Not
395
+ * case-sensitive.
396
+ */
397
+ fullName: string | null;
398
+ }
399
+ /**
400
+ * The customer, vendor, employee, or person on QuickBooks's "Other Names" list
401
+ * associated with this deposit line.
402
+ */
403
+ interface Entity {
404
+ /**
405
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
406
+ * across all objects of the same type, but not across different QuickBooks object
407
+ * types.
408
+ */
409
+ id: string | null;
410
+ /**
411
+ * The fully-qualified unique name for this object, formed by combining the names
412
+ * of its parent objects with its own `name`, separated by colons. Not
413
+ * case-sensitive.
414
+ */
415
+ fullName: string | null;
416
+ }
417
+ /**
418
+ * The deposit line's payment method (e.g., cash, check, credit card).
419
+ */
420
+ interface PaymentMethod {
421
+ /**
422
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
423
+ * across all objects of the same type, but not across different QuickBooks object
424
+ * types.
425
+ */
426
+ id: string | null;
427
+ /**
428
+ * The fully-qualified unique name for this object, formed by combining the names
429
+ * of its parent objects with its own `name`, separated by colons. Not
430
+ * case-sensitive.
431
+ */
432
+ fullName: string | null;
433
+ }
434
+ }
435
+ }
436
+ export interface DepositDeleteResponse {
437
+ /**
438
+ * The QuickBooks-assigned unique identifier of the deleted deposit.
439
+ */
440
+ id: string;
441
+ /**
442
+ * Indicates whether the deposit was deleted.
443
+ */
444
+ deleted: boolean;
445
+ /**
446
+ * The type of object. This value is always `"qbd_deposit"`.
447
+ */
448
+ objectType: 'qbd_deposit';
449
+ }
450
+ export interface DepositVoidResponse {
451
+ /**
452
+ * The QuickBooks-assigned unique identifier of the voided deposit.
453
+ */
454
+ id: string;
455
+ /**
456
+ * The date and time when this deposit was created, in ISO 8601 format
457
+ * (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
458
+ * timezone of the end-user's computer.
459
+ */
460
+ createdAt: string | null;
461
+ /**
462
+ * The type of object. This value is always `"qbd_deposit"`.
463
+ */
464
+ objectType: 'qbd_deposit';
465
+ /**
466
+ * The date and time when this deposit was last updated, in ISO 8601 format
467
+ * (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
468
+ * timezone of the end-user's computer.
469
+ */
470
+ updatedAt: string | null;
471
+ /**
472
+ * Indicates whether the deposit was voided.
473
+ */
474
+ voided: boolean;
475
+ }
476
+ export interface DepositCreateParams {
477
+ /**
478
+ * Body param: The account where the funds for this deposit will be deposited.
479
+ */
480
+ depositToAccountId: string;
481
+ /**
482
+ * Body param: The date of this deposit, in ISO 8601 format (YYYY-MM-DD).
483
+ */
484
+ transactionDate: string;
485
+ /**
486
+ * Header param: The ID of the End-User to receive this request.
487
+ */
488
+ conductorEndUserId: string;
489
+ /**
490
+ * Body param: Cash back taken out of this deposit and recorded to another account,
491
+ * such as Petty Cash.
492
+ */
493
+ cashBack?: DepositCreateParams.CashBack;
494
+ /**
495
+ * Body param: The deposit's currency. For built-in currencies, the name and code
496
+ * are standard ISO 4217 international values. For user-defined currencies, all
497
+ * values are editable.
498
+ */
499
+ currencyId?: string;
500
+ /**
501
+ * Body param: The market exchange rate between this deposit's currency and the
502
+ * home currency in QuickBooks at the time of this transaction. Represented as a
503
+ * decimal value (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home currency).
504
+ */
505
+ exchangeRate?: number;
506
+ /**
507
+ * Body param: A globally unique identifier (GUID) you, the developer, can provide
508
+ * for tracking this object in your external system. This field is immutable and
509
+ * can only be set during object creation.
510
+ *
511
+ * **IMPORTANT**: This field must be formatted as a valid GUID; otherwise,
512
+ * QuickBooks will return an error.
513
+ */
514
+ externalId?: string;
515
+ /**
516
+ * Body param: The deposit's deposit lines, each representing either an existing
517
+ * payment selected for deposit or a manual transfer from another account into the
518
+ * deposit account.
519
+ */
520
+ lines?: Array<DepositCreateParams.Line>;
521
+ /**
522
+ * Body param: A memo or note for this deposit.
523
+ */
524
+ memo?: string;
525
+ }
526
+ export declare namespace DepositCreateParams {
527
+ /**
528
+ * Cash back taken out of this deposit and recorded to another account, such as
529
+ * Petty Cash.
530
+ */
531
+ interface CashBack {
532
+ /**
533
+ * The account where this deposit cash-back line's cash-back amount is recorded,
534
+ * such as Petty Cash. This amount reduces the total credited to the deposit's
535
+ * destination account.
536
+ */
537
+ accountId: string;
538
+ /**
539
+ * The cash-back amount taken out of the deposit and recorded to this deposit
540
+ * cash-back line's account, represented as a decimal string.
541
+ */
542
+ amount?: string;
543
+ /**
544
+ * A memo or note for this deposit cash-back line.
545
+ */
546
+ memo?: string;
547
+ }
548
+ interface Line {
549
+ /**
550
+ * For a manual deposit line, the account that the funds are transferred from into
551
+ * the deposit's destination account. To deposit an existing payment instead, use
552
+ * `paymentTransactionId` and, when needed, `paymentTransactionLineId`.
553
+ */
554
+ accountId?: string;
555
+ /**
556
+ * For a manual deposit line, the amount transferred from the line's account into
557
+ * the deposit's destination account, represented as a decimal string.
558
+ */
559
+ amount?: string;
560
+ /**
561
+ * The check number of a check received for this deposit line.
562
+ */
563
+ checkNumber?: string;
564
+ /**
565
+ * The deposit line's class. Classes can be used to categorize objects into
566
+ * meaningful segments, such as department, location, or type of work. In
567
+ * QuickBooks, class tracking is off by default.
568
+ */
569
+ classId?: string;
570
+ /**
571
+ * The customer, vendor, employee, or person on QuickBooks's "Other Names" list
572
+ * associated with this manual deposit line.
573
+ */
574
+ entityId?: string;
575
+ /**
576
+ * A memo or note for this deposit line.
577
+ */
578
+ memo?: string;
579
+ /**
580
+ * The check number to use for this deposit line, overriding the check number from
581
+ * the existing payment line.
582
+ *
583
+ * Maximum length: 11 characters.
584
+ */
585
+ overrideCheckNumber?: string;
586
+ /**
587
+ * The class to use for this deposit line, overriding the class from the existing
588
+ * payment line.
589
+ */
590
+ overrideClassId?: string;
591
+ /**
592
+ * The memo to use for this deposit line, overriding the memo from the existing
593
+ * payment line.
594
+ *
595
+ * Maximum length: 4095 characters.
596
+ */
597
+ overrideMemo?: string;
598
+ /**
599
+ * The deposit line's payment method (e.g., cash, check, credit card).
600
+ */
601
+ paymentMethodId?: string;
602
+ /**
603
+ * The ID of an existing undeposited payment to include in this deposit line. Use
604
+ * the `paymentTransactionId` from a payments-to-deposit result, or the `id` from
605
+ * the original receive-payment response. If the source payment has multiple
606
+ * depositable lines and you omit `paymentTransactionLineId`, QuickBooks Desktop
607
+ * deposits only the first line.
608
+ */
609
+ paymentTransactionId?: string;
610
+ /**
611
+ * The line ID for the specific undeposited payment line to include in this deposit
612
+ * line. Use the `paymentTransactionLineId` from a payments-to-deposit result. If
613
+ * the source payment has multiple depositable lines, provide this field with
614
+ * `paymentTransactionId` to choose the exact line.
615
+ */
616
+ paymentTransactionLineId?: string;
617
+ }
618
+ }
619
+ export interface DepositRetrieveParams {
620
+ /**
621
+ * The ID of the End-User to receive this request.
622
+ */
623
+ conductorEndUserId: string;
624
+ }
625
+ export interface DepositUpdateParams {
626
+ /**
627
+ * Body param: The current QuickBooks-assigned revision number of the deposit
628
+ * object you are updating, which you can get by fetching the object first. Provide
629
+ * the most recent `revisionNumber` to ensure you're working with the latest data;
630
+ * otherwise, the update will return an error.
631
+ */
632
+ revisionNumber: string;
633
+ /**
634
+ * Header param: The ID of the End-User to receive this request.
635
+ */
636
+ conductorEndUserId: string;
637
+ /**
638
+ * Body param: Cash back taken out of this deposit and recorded to another account,
639
+ * such as Petty Cash.
640
+ */
641
+ cashBack?: DepositUpdateParams.CashBack;
642
+ /**
643
+ * Body param: The deposit's currency. For built-in currencies, the name and code
644
+ * are standard ISO 4217 international values. For user-defined currencies, all
645
+ * values are editable.
646
+ */
647
+ currencyId?: string;
648
+ /**
649
+ * Body param: The account where the funds for this deposit will be deposited.
650
+ */
651
+ depositToAccountId?: string;
652
+ /**
653
+ * Body param: The market exchange rate between this deposit's currency and the
654
+ * home currency in QuickBooks at the time of this transaction. Represented as a
655
+ * decimal value (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home currency).
656
+ */
657
+ exchangeRate?: number;
658
+ /**
659
+ * Body param: The deposit's deposit lines, each representing either an existing
660
+ * payment selected for deposit or a manual transfer from another account into the
661
+ * deposit account.
662
+ *
663
+ * **IMPORTANT**:
664
+ *
665
+ * 1. Including this array in your update request will **REPLACE** all existing
666
+ * deposit lines for the deposit with this array. To keep any existing deposit
667
+ * lines, you must include them in this array even if they have not changed.
668
+ * **Any deposit lines not included will be removed.**
669
+ *
670
+ * 2. To add a new deposit line, include it here with the `id` field set to `-1`.
671
+ *
672
+ * 3. If you do not wish to modify any deposit lines, omit this field entirely to
673
+ * keep them unchanged.
674
+ */
675
+ lines?: Array<DepositUpdateParams.Line>;
676
+ /**
677
+ * Body param: A memo or note for this deposit.
678
+ */
679
+ memo?: string;
680
+ /**
681
+ * Body param: The date of this deposit, in ISO 8601 format (YYYY-MM-DD).
682
+ */
683
+ transactionDate?: string;
684
+ }
685
+ export declare namespace DepositUpdateParams {
686
+ /**
687
+ * Cash back taken out of this deposit and recorded to another account, such as
688
+ * Petty Cash.
689
+ */
690
+ interface CashBack {
691
+ /**
692
+ * The account where this deposit cash-back line's cash-back amount is recorded,
693
+ * such as Petty Cash. This amount reduces the total credited to the deposit's
694
+ * destination account.
695
+ */
696
+ accountId?: string;
697
+ /**
698
+ * The cash-back amount taken out of the deposit and recorded to this deposit
699
+ * cash-back line's account, represented as a decimal string.
700
+ */
701
+ amount?: string;
702
+ /**
703
+ * A memo or note for this deposit cash-back line.
704
+ */
705
+ memo?: string;
706
+ }
707
+ interface Line {
708
+ /**
709
+ * The QuickBooks-assigned unique identifier of an existing deposit line you wish
710
+ * to retain or update.
711
+ *
712
+ * **IMPORTANT**: Set this field to `-1` for new deposit lines you wish to add.
713
+ */
714
+ id: string;
715
+ /**
716
+ * For a manual deposit line, the account that the funds are transferred from into
717
+ * the deposit's destination account. To deposit an existing payment instead, use
718
+ * `paymentTransactionId` and, when needed, `paymentTransactionLineId`.
719
+ */
720
+ accountId?: string;
721
+ /**
722
+ * For a manual deposit line, the amount transferred from the line's account into
723
+ * the deposit's destination account, represented as a decimal string.
724
+ */
725
+ amount?: string;
726
+ /**
727
+ * The check number of a check received for this deposit line.
728
+ */
729
+ checkNumber?: string;
730
+ /**
731
+ * The deposit line's class. Classes can be used to categorize objects into
732
+ * meaningful segments, such as department, location, or type of work. In
733
+ * QuickBooks, class tracking is off by default.
734
+ */
735
+ classId?: string;
736
+ /**
737
+ * The customer, vendor, employee, or person on QuickBooks's "Other Names" list
738
+ * associated with this manual deposit line.
739
+ */
740
+ entityId?: string;
741
+ /**
742
+ * A memo or note for this deposit line.
743
+ */
744
+ memo?: string;
745
+ /**
746
+ * The check number to use for this deposit line, overriding the check number from
747
+ * the existing payment line.
748
+ *
749
+ * Maximum length: 11 characters.
750
+ */
751
+ overrideCheckNumber?: string;
752
+ /**
753
+ * The class to use for this deposit line, overriding the class from the existing
754
+ * payment line.
755
+ */
756
+ overrideClassId?: string;
757
+ /**
758
+ * The memo to use for this deposit line, overriding the memo from the existing
759
+ * payment line.
760
+ *
761
+ * Maximum length: 4095 characters.
762
+ */
763
+ overrideMemo?: string;
764
+ /**
765
+ * The deposit line's payment method (e.g., cash, check, credit card).
766
+ */
767
+ paymentMethodId?: string;
768
+ /**
769
+ * The ID of an existing undeposited payment to include in this deposit line. Use
770
+ * the `paymentTransactionId` from a payments-to-deposit result, or the `id` from
771
+ * the original receive-payment response. If the source payment has multiple
772
+ * depositable lines and you omit `paymentTransactionLineId`, QuickBooks Desktop
773
+ * deposits only the first line.
774
+ */
775
+ paymentTransactionId?: string;
776
+ /**
777
+ * The line ID for the specific undeposited payment line to include in this deposit
778
+ * line. Use the `paymentTransactionLineId` from a payments-to-deposit result. If
779
+ * the source payment has multiple depositable lines, provide this field with
780
+ * `paymentTransactionId` to choose the exact line.
781
+ */
782
+ paymentTransactionLineId?: string;
783
+ }
784
+ }
785
+ export interface DepositListParams extends CursorPageParams {
786
+ /**
787
+ * Header param: The ID of the End-User to receive this request.
788
+ */
789
+ conductorEndUserId: string;
790
+ /**
791
+ * Query param: Filter for deposits associated with these accounts.
792
+ */
793
+ accountIds?: Array<string>;
794
+ /**
795
+ * Query param: Filter for deposits in these currencies.
796
+ */
797
+ currencyIds?: Array<string>;
798
+ /**
799
+ * Query param: Filter for deposits associated with these entities (customers,
800
+ * vendors, employees, etc.). These are the entities referenced on the deposit's
801
+ * manual lines.
802
+ */
803
+ entityIds?: Array<string>;
804
+ /**
805
+ * Query param: Filter for specific deposits by their QuickBooks-assigned unique
806
+ * identifier(s).
807
+ *
808
+ * **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
809
+ * query parameters for this request.
810
+ *
811
+ * **NOTE**: If any of the values you specify in this parameter are not found, the
812
+ * request will return an error.
813
+ */
814
+ ids?: Array<string>;
815
+ /**
816
+ * Query param: Whether to include line items in the response. Defaults to `true`.
817
+ */
818
+ includeLineItems?: boolean;
819
+ /**
820
+ * Query param: Filter for deposits whose `date` field is on or after this date, in
821
+ * ISO 8601 format (YYYY-MM-DD).
822
+ *
823
+ * **NOTE:** QuickBooks Desktop interprets this date as the **start of the
824
+ * specified day** in the local timezone of the end-user's computer (e.g.,
825
+ * `2025-01-01` → `2025-01-01T00:00:00`).
826
+ */
827
+ transactionDateFrom?: string;
828
+ /**
829
+ * Query param: Filter for deposits whose `date` field is on or before this date,
830
+ * in ISO 8601 format (YYYY-MM-DD).
831
+ *
832
+ * **NOTE:** QuickBooks Desktop interprets this date as the **end of the specified
833
+ * day** in the local timezone of the end-user's computer (e.g., `2025-01-01` →
834
+ * `2025-01-01T23:59:59`).
835
+ */
836
+ transactionDateTo?: string;
837
+ /**
838
+ * Query param: Filter for deposits updated on or after this date/time. Accepts the
839
+ * following ISO 8601 formats:
840
+ *
841
+ * - **date-only** (YYYY-MM-DD) - QuickBooks Desktop interprets the date as the
842
+ * **start of the specified day** in the local timezone of the end-user's
843
+ * computer (e.g., `2025-01-01` → `2025-01-01T00:00:00`).
844
+ * - **datetime without timezone** (YYYY-MM-DDTHH:mm:ss) - QuickBooks Desktop
845
+ * interprets the timestamp in the local timezone of the end-user's computer.
846
+ * - **datetime with timezone** (YYYY-MM-DDTHH:mm:ss±HH:mm) - QuickBooks Desktop
847
+ * interprets the timestamp using the specified timezone.
848
+ */
849
+ updatedAfter?: string;
850
+ /**
851
+ * Query param: Filter for deposits updated on or before this date/time. Accepts
852
+ * the following ISO 8601 formats:
853
+ *
854
+ * - **date-only** (YYYY-MM-DD) - QuickBooks Desktop interprets the date as the
855
+ * **end of the specified day** in the local timezone of the end-user's computer
856
+ * (e.g., `2025-01-01` → `2025-01-01T23:59:59`).
857
+ * - **datetime without timezone** (YYYY-MM-DDTHH:mm:ss) - QuickBooks Desktop
858
+ * interprets the timestamp in the local timezone of the end-user's computer.
859
+ * - **datetime with timezone** (YYYY-MM-DDTHH:mm:ss±HH:mm) - QuickBooks Desktop
860
+ * interprets the timestamp using the specified timezone.
861
+ */
862
+ updatedBefore?: string;
863
+ }
864
+ export interface DepositDeleteParams {
865
+ /**
866
+ * The ID of the End-User to receive this request.
867
+ */
868
+ conductorEndUserId: string;
869
+ }
870
+ export interface DepositVoidParams {
871
+ /**
872
+ * The ID of the End-User to receive this request.
873
+ */
874
+ conductorEndUserId: string;
875
+ }
876
+ export declare namespace Deposits {
877
+ export { type Deposit as Deposit, type DepositDeleteResponse as DepositDeleteResponse, type DepositVoidResponse as DepositVoidResponse, type DepositsCursorPage as DepositsCursorPage, type DepositCreateParams as DepositCreateParams, type DepositRetrieveParams as DepositRetrieveParams, type DepositUpdateParams as DepositUpdateParams, type DepositListParams as DepositListParams, type DepositDeleteParams as DepositDeleteParams, type DepositVoidParams as DepositVoidParams, };
878
+ }
879
+ //# sourceMappingURL=deposits.d.ts.map