conductor-node 11.10.1 → 12.0.0-beta.10

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 (517) hide show
  1. package/CHANGELOG.md +135 -0
  2. package/LICENSE +201 -21
  3. package/README.md +336 -64
  4. package/_shims/MultipartBody.d.ts +9 -0
  5. package/_shims/MultipartBody.d.ts.map +1 -0
  6. package/_shims/MultipartBody.js +16 -0
  7. package/_shims/MultipartBody.js.map +1 -0
  8. package/_shims/MultipartBody.mjs +12 -0
  9. package/_shims/MultipartBody.mjs.map +1 -0
  10. package/_shims/README.md +46 -0
  11. package/_shims/auto/runtime-bun.d.ts +5 -0
  12. package/_shims/auto/runtime-bun.d.ts.map +1 -0
  13. package/_shims/auto/runtime-bun.js +21 -0
  14. package/_shims/auto/runtime-bun.js.map +1 -0
  15. package/_shims/auto/runtime-bun.mjs +2 -0
  16. package/_shims/auto/runtime-bun.mjs.map +1 -0
  17. package/_shims/auto/runtime-node.d.ts +5 -0
  18. package/_shims/auto/runtime-node.d.ts.map +1 -0
  19. package/_shims/auto/runtime-node.js +21 -0
  20. package/_shims/auto/runtime-node.js.map +1 -0
  21. package/_shims/auto/runtime-node.mjs +2 -0
  22. package/_shims/auto/runtime-node.mjs.map +1 -0
  23. package/_shims/auto/runtime.d.ts +5 -0
  24. package/_shims/auto/runtime.d.ts.map +1 -0
  25. package/_shims/auto/runtime.js +21 -0
  26. package/_shims/auto/runtime.js.map +1 -0
  27. package/_shims/auto/runtime.mjs +2 -0
  28. package/_shims/auto/runtime.mjs.map +1 -0
  29. package/_shims/auto/types-node.d.ts +5 -0
  30. package/_shims/auto/types-node.d.ts.map +1 -0
  31. package/_shims/auto/types-node.js +21 -0
  32. package/_shims/auto/types-node.js.map +1 -0
  33. package/_shims/auto/types-node.mjs +2 -0
  34. package/_shims/auto/types-node.mjs.map +1 -0
  35. package/_shims/auto/types.d.ts +101 -0
  36. package/_shims/auto/types.js +3 -0
  37. package/_shims/auto/types.mjs +3 -0
  38. package/_shims/bun-runtime.d.ts +6 -0
  39. package/_shims/bun-runtime.d.ts.map +1 -0
  40. package/_shims/bun-runtime.js +14 -0
  41. package/_shims/bun-runtime.js.map +1 -0
  42. package/_shims/bun-runtime.mjs +10 -0
  43. package/_shims/bun-runtime.mjs.map +1 -0
  44. package/_shims/index.d.ts +81 -0
  45. package/_shims/index.js +13 -0
  46. package/_shims/index.mjs +7 -0
  47. package/_shims/manual-types.d.ts +12 -0
  48. package/_shims/manual-types.js +3 -0
  49. package/_shims/manual-types.mjs +3 -0
  50. package/_shims/node-runtime.d.ts +3 -0
  51. package/_shims/node-runtime.d.ts.map +1 -0
  52. package/_shims/node-runtime.js +89 -0
  53. package/_shims/node-runtime.js.map +1 -0
  54. package/_shims/node-runtime.mjs +56 -0
  55. package/_shims/node-runtime.mjs.map +1 -0
  56. package/_shims/node-types.d.ts +42 -0
  57. package/_shims/node-types.js +3 -0
  58. package/_shims/node-types.mjs +3 -0
  59. package/_shims/registry.d.ts +37 -0
  60. package/_shims/registry.d.ts.map +1 -0
  61. package/_shims/registry.js +41 -0
  62. package/_shims/registry.js.map +1 -0
  63. package/_shims/registry.mjs +37 -0
  64. package/_shims/registry.mjs.map +1 -0
  65. package/_shims/web-runtime.d.ts +5 -0
  66. package/_shims/web-runtime.d.ts.map +1 -0
  67. package/_shims/web-runtime.js +78 -0
  68. package/_shims/web-runtime.js.map +1 -0
  69. package/_shims/web-runtime.mjs +71 -0
  70. package/_shims/web-runtime.mjs.map +1 -0
  71. package/_shims/web-types.d.ts +83 -0
  72. package/_shims/web-types.js +3 -0
  73. package/_shims/web-types.mjs +3 -0
  74. package/core.d.ts +241 -0
  75. package/core.d.ts.map +1 -0
  76. package/core.js +914 -0
  77. package/core.js.map +1 -0
  78. package/core.mjs +882 -0
  79. package/core.mjs.map +1 -0
  80. package/error.d.ts +47 -0
  81. package/error.d.ts.map +1 -0
  82. package/error.js +113 -0
  83. package/error.js.map +1 -0
  84. package/error.mjs +97 -0
  85. package/error.mjs.map +1 -0
  86. package/index.d.mts +121 -0
  87. package/index.d.ts +121 -0
  88. package/index.d.ts.map +1 -0
  89. package/index.js +133 -0
  90. package/index.js.map +1 -0
  91. package/index.mjs +90 -0
  92. package/index.mjs.map +1 -0
  93. package/internal/qs/formats.d.ts +6 -0
  94. package/internal/qs/formats.d.ts.map +1 -0
  95. package/internal/qs/formats.js +11 -0
  96. package/internal/qs/formats.js.map +1 -0
  97. package/internal/qs/formats.mjs +8 -0
  98. package/internal/qs/formats.mjs.map +1 -0
  99. package/internal/qs/index.d.ts +10 -0
  100. package/internal/qs/index.d.ts.map +1 -0
  101. package/internal/qs/index.js +14 -0
  102. package/internal/qs/index.js.map +1 -0
  103. package/internal/qs/index.mjs +10 -0
  104. package/internal/qs/index.mjs.map +1 -0
  105. package/internal/qs/stringify.d.ts +3 -0
  106. package/internal/qs/stringify.d.ts.map +1 -0
  107. package/internal/qs/stringify.js +280 -0
  108. package/internal/qs/stringify.js.map +1 -0
  109. package/internal/qs/stringify.mjs +276 -0
  110. package/internal/qs/stringify.mjs.map +1 -0
  111. package/internal/qs/types.d.ts +57 -0
  112. package/internal/qs/types.d.ts.map +1 -0
  113. package/{dist/src/resources → internal/qs}/types.js +1 -0
  114. package/internal/qs/types.js.map +1 -0
  115. package/internal/qs/types.mjs +2 -0
  116. package/internal/qs/types.mjs.map +1 -0
  117. package/internal/qs/utils.d.ts +14 -0
  118. package/internal/qs/utils.d.ts.map +1 -0
  119. package/internal/qs/utils.js +229 -0
  120. package/internal/qs/utils.js.map +1 -0
  121. package/internal/qs/utils.mjs +217 -0
  122. package/internal/qs/utils.mjs.map +1 -0
  123. package/package.json +111 -35
  124. package/pagination.d.ts +18 -0
  125. package/pagination.d.ts.map +1 -0
  126. package/pagination.js +40 -0
  127. package/pagination.js.map +1 -0
  128. package/pagination.mjs +36 -0
  129. package/pagination.mjs.map +1 -0
  130. package/resource.d.ts +6 -0
  131. package/resource.d.ts.map +1 -0
  132. package/resource.js +11 -0
  133. package/resource.js.map +1 -0
  134. package/resource.mjs +7 -0
  135. package/resource.mjs.map +1 -0
  136. package/resources/auth-sessions.d.ts +75 -0
  137. package/resources/auth-sessions.d.ts.map +1 -0
  138. package/resources/auth-sessions.js +17 -0
  139. package/resources/auth-sessions.js.map +1 -0
  140. package/resources/auth-sessions.mjs +13 -0
  141. package/resources/auth-sessions.mjs.map +1 -0
  142. package/resources/end-users.d.ts +142 -0
  143. package/resources/end-users.d.ts.map +1 -0
  144. package/resources/end-users.js +40 -0
  145. package/resources/end-users.js.map +1 -0
  146. package/resources/end-users.mjs +36 -0
  147. package/resources/end-users.mjs.map +1 -0
  148. package/resources/index.d.ts +4 -0
  149. package/resources/index.d.ts.map +1 -0
  150. package/resources/index.js +11 -0
  151. package/resources/index.js.map +1 -0
  152. package/resources/index.mjs +5 -0
  153. package/resources/index.mjs.map +1 -0
  154. package/resources/qbd/accounts.d.ts +579 -0
  155. package/resources/qbd/accounts.d.ts.map +1 -0
  156. package/resources/qbd/accounts.js +54 -0
  157. package/resources/qbd/accounts.js.map +1 -0
  158. package/resources/qbd/accounts.mjs +50 -0
  159. package/resources/qbd/accounts.mjs.map +1 -0
  160. package/resources/qbd/bill-check-payments.d.ts +831 -0
  161. package/resources/qbd/bill-check-payments.d.ts.map +1 -0
  162. package/resources/qbd/bill-check-payments.js +70 -0
  163. package/resources/qbd/bill-check-payments.js.map +1 -0
  164. package/resources/qbd/bill-check-payments.mjs +65 -0
  165. package/resources/qbd/bill-check-payments.mjs.map +1 -0
  166. package/resources/qbd/bill-credit-card-payments.d.ts +641 -0
  167. package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -0
  168. package/resources/qbd/bill-credit-card-payments.js +55 -0
  169. package/resources/qbd/bill-credit-card-payments.js.map +1 -0
  170. package/resources/qbd/bill-credit-card-payments.mjs +50 -0
  171. package/resources/qbd/bill-credit-card-payments.mjs.map +1 -0
  172. package/resources/qbd/bills.d.ts +2561 -0
  173. package/resources/qbd/bills.d.ts.map +1 -0
  174. package/resources/qbd/bills.js +69 -0
  175. package/resources/qbd/bills.js.map +1 -0
  176. package/resources/qbd/bills.mjs +64 -0
  177. package/resources/qbd/bills.mjs.map +1 -0
  178. package/resources/qbd/checks.d.ts +2528 -0
  179. package/resources/qbd/checks.d.ts.map +1 -0
  180. package/resources/qbd/checks.js +69 -0
  181. package/resources/qbd/checks.js.map +1 -0
  182. package/resources/qbd/checks.mjs +64 -0
  183. package/resources/qbd/checks.mjs.map +1 -0
  184. package/resources/qbd/classes.d.ts +289 -0
  185. package/resources/qbd/classes.d.ts.map +1 -0
  186. package/resources/qbd/classes.js +54 -0
  187. package/resources/qbd/classes.js.map +1 -0
  188. package/resources/qbd/classes.mjs +50 -0
  189. package/resources/qbd/classes.mjs.map +1 -0
  190. package/resources/qbd/credit-card-charges.d.ts +2236 -0
  191. package/resources/qbd/credit-card-charges.d.ts.map +1 -0
  192. package/resources/qbd/credit-card-charges.js +69 -0
  193. package/resources/qbd/credit-card-charges.js.map +1 -0
  194. package/resources/qbd/credit-card-charges.mjs +64 -0
  195. package/resources/qbd/credit-card-charges.mjs.map +1 -0
  196. package/resources/qbd/credit-card-credits.d.ts +2233 -0
  197. package/resources/qbd/credit-card-credits.d.ts.map +1 -0
  198. package/resources/qbd/credit-card-credits.js +69 -0
  199. package/resources/qbd/credit-card-credits.js.map +1 -0
  200. package/resources/qbd/credit-card-credits.mjs +64 -0
  201. package/resources/qbd/credit-card-credits.mjs.map +1 -0
  202. package/resources/qbd/credit-memos.d.ts +2649 -0
  203. package/resources/qbd/credit-memos.d.ts.map +1 -0
  204. package/resources/qbd/credit-memos.js +69 -0
  205. package/resources/qbd/credit-memos.js.map +1 -0
  206. package/resources/qbd/credit-memos.mjs +64 -0
  207. package/resources/qbd/credit-memos.mjs.map +1 -0
  208. package/resources/qbd/customers.d.ts +2106 -0
  209. package/resources/qbd/customers.d.ts.map +1 -0
  210. package/resources/qbd/customers.js +58 -0
  211. package/resources/qbd/customers.js.map +1 -0
  212. package/resources/qbd/customers.mjs +53 -0
  213. package/resources/qbd/customers.mjs.map +1 -0
  214. package/resources/qbd/date-driven-terms.d.ts +242 -0
  215. package/resources/qbd/date-driven-terms.d.ts.map +1 -0
  216. package/resources/qbd/date-driven-terms.js +43 -0
  217. package/resources/qbd/date-driven-terms.js.map +1 -0
  218. package/resources/qbd/date-driven-terms.mjs +39 -0
  219. package/resources/qbd/date-driven-terms.mjs.map +1 -0
  220. package/resources/qbd/discount-items.d.ts +576 -0
  221. package/resources/qbd/discount-items.d.ts.map +1 -0
  222. package/resources/qbd/discount-items.js +58 -0
  223. package/resources/qbd/discount-items.js.map +1 -0
  224. package/resources/qbd/discount-items.mjs +53 -0
  225. package/resources/qbd/discount-items.mjs.map +1 -0
  226. package/resources/qbd/employees.d.ts +1711 -0
  227. package/resources/qbd/employees.d.ts.map +1 -0
  228. package/resources/qbd/employees.js +58 -0
  229. package/resources/qbd/employees.js.map +1 -0
  230. package/resources/qbd/employees.mjs +53 -0
  231. package/resources/qbd/employees.mjs.map +1 -0
  232. package/resources/qbd/estimates.d.ts +2493 -0
  233. package/resources/qbd/estimates.d.ts.map +1 -0
  234. package/resources/qbd/estimates.js +69 -0
  235. package/resources/qbd/estimates.js.map +1 -0
  236. package/resources/qbd/estimates.mjs +64 -0
  237. package/resources/qbd/estimates.mjs.map +1 -0
  238. package/resources/qbd/index.d.ts +38 -0
  239. package/resources/qbd/index.d.ts.map +1 -0
  240. package/resources/qbd/index.js +108 -0
  241. package/resources/qbd/index.js.map +1 -0
  242. package/resources/qbd/index.mjs +39 -0
  243. package/resources/qbd/index.mjs.map +1 -0
  244. package/resources/qbd/inventory-adjustments.d.ts +814 -0
  245. package/resources/qbd/inventory-adjustments.d.ts.map +1 -0
  246. package/resources/qbd/inventory-adjustments.js +66 -0
  247. package/resources/qbd/inventory-adjustments.js.map +1 -0
  248. package/resources/qbd/inventory-adjustments.mjs +62 -0
  249. package/resources/qbd/inventory-adjustments.mjs.map +1 -0
  250. package/resources/qbd/inventory-assembly-items.d.ts +931 -0
  251. package/resources/qbd/inventory-assembly-items.d.ts.map +1 -0
  252. package/resources/qbd/inventory-assembly-items.js +54 -0
  253. package/resources/qbd/inventory-assembly-items.js.map +1 -0
  254. package/resources/qbd/inventory-assembly-items.mjs +49 -0
  255. package/resources/qbd/inventory-assembly-items.mjs.map +1 -0
  256. package/resources/qbd/inventory-items.d.ts +844 -0
  257. package/resources/qbd/inventory-items.d.ts.map +1 -0
  258. package/resources/qbd/inventory-items.js +58 -0
  259. package/resources/qbd/inventory-items.js.map +1 -0
  260. package/resources/qbd/inventory-items.mjs +53 -0
  261. package/resources/qbd/inventory-items.mjs.map +1 -0
  262. package/resources/qbd/inventory-sites.d.ts +477 -0
  263. package/resources/qbd/inventory-sites.d.ts.map +1 -0
  264. package/resources/qbd/inventory-sites.js +54 -0
  265. package/resources/qbd/inventory-sites.js.map +1 -0
  266. package/resources/qbd/inventory-sites.mjs +50 -0
  267. package/resources/qbd/inventory-sites.mjs.map +1 -0
  268. package/resources/qbd/invoices.d.ts +2873 -0
  269. package/resources/qbd/invoices.d.ts.map +1 -0
  270. package/resources/qbd/invoices.js +69 -0
  271. package/resources/qbd/invoices.js.map +1 -0
  272. package/resources/qbd/invoices.mjs +64 -0
  273. package/resources/qbd/invoices.mjs.map +1 -0
  274. package/resources/qbd/journal-entries.d.ts +856 -0
  275. package/resources/qbd/journal-entries.d.ts.map +1 -0
  276. package/resources/qbd/journal-entries.js +69 -0
  277. package/resources/qbd/journal-entries.js.map +1 -0
  278. package/resources/qbd/journal-entries.mjs +64 -0
  279. package/resources/qbd/journal-entries.mjs.map +1 -0
  280. package/resources/qbd/non-inventory-items.d.ts +950 -0
  281. package/resources/qbd/non-inventory-items.d.ts.map +1 -0
  282. package/resources/qbd/non-inventory-items.js +58 -0
  283. package/resources/qbd/non-inventory-items.js.map +1 -0
  284. package/resources/qbd/non-inventory-items.mjs +53 -0
  285. package/resources/qbd/non-inventory-items.mjs.map +1 -0
  286. package/resources/qbd/payroll-wage-items.d.ts +215 -0
  287. package/resources/qbd/payroll-wage-items.d.ts.map +1 -0
  288. package/resources/qbd/payroll-wage-items.js +47 -0
  289. package/resources/qbd/payroll-wage-items.js.map +1 -0
  290. package/resources/qbd/payroll-wage-items.mjs +42 -0
  291. package/resources/qbd/payroll-wage-items.mjs.map +1 -0
  292. package/resources/qbd/purchase-orders.d.ts +2554 -0
  293. package/resources/qbd/purchase-orders.d.ts.map +1 -0
  294. package/resources/qbd/purchase-orders.js +69 -0
  295. package/resources/qbd/purchase-orders.js.map +1 -0
  296. package/resources/qbd/purchase-orders.mjs +64 -0
  297. package/resources/qbd/purchase-orders.mjs.map +1 -0
  298. package/resources/qbd/qbd.d.ts +178 -0
  299. package/resources/qbd/qbd.d.ts.map +1 -0
  300. package/resources/qbd/qbd.js +222 -0
  301. package/resources/qbd/qbd.js.map +1 -0
  302. package/resources/qbd/qbd.mjs +195 -0
  303. package/resources/qbd/qbd.mjs.map +1 -0
  304. package/resources/qbd/receive-payments.d.ts +1282 -0
  305. package/resources/qbd/receive-payments.d.ts.map +1 -0
  306. package/resources/qbd/receive-payments.js +70 -0
  307. package/resources/qbd/receive-payments.js.map +1 -0
  308. package/resources/qbd/receive-payments.mjs +65 -0
  309. package/resources/qbd/receive-payments.mjs.map +1 -0
  310. package/resources/qbd/sales-orders.d.ts +2628 -0
  311. package/resources/qbd/sales-orders.d.ts.map +1 -0
  312. package/resources/qbd/sales-orders.js +69 -0
  313. package/resources/qbd/sales-orders.js.map +1 -0
  314. package/resources/qbd/sales-orders.mjs +64 -0
  315. package/resources/qbd/sales-orders.mjs.map +1 -0
  316. package/resources/qbd/sales-receipts.d.ts +3373 -0
  317. package/resources/qbd/sales-receipts.d.ts.map +1 -0
  318. package/resources/qbd/sales-receipts.js +69 -0
  319. package/resources/qbd/sales-receipts.js.map +1 -0
  320. package/resources/qbd/sales-receipts.mjs +64 -0
  321. package/resources/qbd/sales-receipts.mjs.map +1 -0
  322. package/resources/qbd/sales-representatives.d.ts +251 -0
  323. package/resources/qbd/sales-representatives.d.ts.map +1 -0
  324. package/resources/qbd/sales-representatives.js +54 -0
  325. package/resources/qbd/sales-representatives.js.map +1 -0
  326. package/resources/qbd/sales-representatives.mjs +50 -0
  327. package/resources/qbd/sales-representatives.mjs.map +1 -0
  328. package/resources/qbd/sales-tax-codes.d.ts +306 -0
  329. package/resources/qbd/sales-tax-codes.d.ts.map +1 -0
  330. package/resources/qbd/sales-tax-codes.js +54 -0
  331. package/resources/qbd/sales-tax-codes.js.map +1 -0
  332. package/resources/qbd/sales-tax-codes.mjs +50 -0
  333. package/resources/qbd/sales-tax-codes.mjs.map +1 -0
  334. package/resources/qbd/sales-tax-items.d.ts +458 -0
  335. package/resources/qbd/sales-tax-items.d.ts.map +1 -0
  336. package/resources/qbd/sales-tax-items.js +58 -0
  337. package/resources/qbd/sales-tax-items.js.map +1 -0
  338. package/resources/qbd/sales-tax-items.mjs +53 -0
  339. package/resources/qbd/sales-tax-items.mjs.map +1 -0
  340. package/resources/qbd/service-items.d.ts +923 -0
  341. package/resources/qbd/service-items.d.ts.map +1 -0
  342. package/resources/qbd/service-items.js +58 -0
  343. package/resources/qbd/service-items.js.map +1 -0
  344. package/resources/qbd/service-items.mjs +53 -0
  345. package/resources/qbd/service-items.mjs.map +1 -0
  346. package/resources/qbd/standard-terms.d.ts +225 -0
  347. package/resources/qbd/standard-terms.d.ts.map +1 -0
  348. package/resources/qbd/standard-terms.js +43 -0
  349. package/resources/qbd/standard-terms.js.map +1 -0
  350. package/resources/qbd/standard-terms.mjs +39 -0
  351. package/resources/qbd/standard-terms.mjs.map +1 -0
  352. package/resources/qbd/subtotal-items.d.ts +323 -0
  353. package/resources/qbd/subtotal-items.d.ts.map +1 -0
  354. package/resources/qbd/subtotal-items.js +58 -0
  355. package/resources/qbd/subtotal-items.js.map +1 -0
  356. package/resources/qbd/subtotal-items.mjs +53 -0
  357. package/resources/qbd/subtotal-items.mjs.map +1 -0
  358. package/resources/qbd/time-tracking-activities.d.ts +485 -0
  359. package/resources/qbd/time-tracking-activities.d.ts.map +1 -0
  360. package/resources/qbd/time-tracking-activities.js +66 -0
  361. package/resources/qbd/time-tracking-activities.js.map +1 -0
  362. package/resources/qbd/time-tracking-activities.mjs +61 -0
  363. package/resources/qbd/time-tracking-activities.mjs.map +1 -0
  364. package/resources/qbd/transfers.d.ts +269 -0
  365. package/resources/qbd/transfers.d.ts.map +1 -0
  366. package/resources/qbd/transfers.js +58 -0
  367. package/resources/qbd/transfers.js.map +1 -0
  368. package/resources/qbd/transfers.mjs +53 -0
  369. package/resources/qbd/transfers.mjs.map +1 -0
  370. package/resources/qbd/vendor-credits.d.ts +2298 -0
  371. package/resources/qbd/vendor-credits.d.ts.map +1 -0
  372. package/resources/qbd/vendor-credits.js +69 -0
  373. package/resources/qbd/vendor-credits.js.map +1 -0
  374. package/resources/qbd/vendor-credits.mjs +64 -0
  375. package/resources/qbd/vendor-credits.mjs.map +1 -0
  376. package/resources/qbd/vendors.d.ts +1677 -0
  377. package/resources/qbd/vendors.d.ts.map +1 -0
  378. package/resources/qbd/vendors.js +58 -0
  379. package/resources/qbd/vendors.js.map +1 -0
  380. package/resources/qbd/vendors.mjs +53 -0
  381. package/resources/qbd/vendors.mjs.map +1 -0
  382. package/shims/node.d.ts +30 -0
  383. package/shims/node.d.ts.map +1 -0
  384. package/shims/node.js +31 -0
  385. package/shims/node.js.map +1 -0
  386. package/shims/node.mjs +5 -0
  387. package/shims/node.mjs.map +1 -0
  388. package/shims/web.d.ts +26 -0
  389. package/shims/web.d.ts.map +1 -0
  390. package/shims/web.js +31 -0
  391. package/shims/web.js.map +1 -0
  392. package/shims/web.mjs +5 -0
  393. package/shims/web.mjs.map +1 -0
  394. package/src/_shims/MultipartBody.ts +9 -0
  395. package/src/_shims/README.md +46 -0
  396. package/src/_shims/auto/runtime-bun.ts +4 -0
  397. package/src/_shims/auto/runtime-node.ts +4 -0
  398. package/src/_shims/auto/runtime.ts +4 -0
  399. package/src/_shims/auto/types-node.ts +4 -0
  400. package/src/_shims/auto/types.d.ts +101 -0
  401. package/src/_shims/auto/types.js +3 -0
  402. package/src/_shims/auto/types.mjs +3 -0
  403. package/src/_shims/bun-runtime.ts +14 -0
  404. package/src/_shims/index.d.ts +81 -0
  405. package/src/_shims/index.js +13 -0
  406. package/src/_shims/index.mjs +7 -0
  407. package/src/_shims/manual-types.d.ts +12 -0
  408. package/src/_shims/manual-types.js +3 -0
  409. package/src/_shims/manual-types.mjs +3 -0
  410. package/src/_shims/node-runtime.ts +81 -0
  411. package/src/_shims/node-types.d.ts +42 -0
  412. package/src/_shims/node-types.js +3 -0
  413. package/src/_shims/node-types.mjs +3 -0
  414. package/src/_shims/registry.ts +67 -0
  415. package/src/_shims/web-runtime.ts +103 -0
  416. package/src/_shims/web-types.d.ts +83 -0
  417. package/src/_shims/web-types.js +3 -0
  418. package/src/_shims/web-types.mjs +3 -0
  419. package/src/core.ts +1208 -0
  420. package/src/error.ts +130 -0
  421. package/src/index.ts +229 -0
  422. package/src/internal/qs/LICENSE.md +13 -0
  423. package/src/internal/qs/README.md +3 -0
  424. package/src/internal/qs/formats.ts +9 -0
  425. package/src/internal/qs/index.ts +13 -0
  426. package/src/internal/qs/stringify.ts +388 -0
  427. package/src/internal/qs/types.ts +71 -0
  428. package/src/internal/qs/utils.ts +265 -0
  429. package/src/lib/.keep +4 -0
  430. package/src/pagination.ts +60 -0
  431. package/src/resource.ts +11 -0
  432. package/src/resources/auth-sessions.ts +92 -0
  433. package/src/resources/end-users.ts +195 -0
  434. package/src/resources/index.ts +13 -0
  435. package/src/resources/qbd/accounts.ts +797 -0
  436. package/src/resources/qbd/bill-check-payments.ts +1086 -0
  437. package/src/resources/qbd/bill-credit-card-payments.ts +851 -0
  438. package/src/resources/qbd/bills.ts +3039 -0
  439. package/src/resources/qbd/checks.ts +3003 -0
  440. package/src/resources/qbd/classes.ts +366 -0
  441. package/src/resources/qbd/credit-card-charges.ts +2646 -0
  442. package/src/resources/qbd/credit-card-credits.ts +2643 -0
  443. package/src/resources/qbd/credit-memos.ts +3157 -0
  444. package/src/resources/qbd/customers.ts +2518 -0
  445. package/src/resources/qbd/date-driven-terms.ts +314 -0
  446. package/src/resources/qbd/discount-items.ts +712 -0
  447. package/src/resources/qbd/employees.ts +2308 -0
  448. package/src/resources/qbd/estimates.ts +2975 -0
  449. package/src/resources/qbd/index.ts +357 -0
  450. package/src/resources/qbd/inventory-adjustments.ts +1008 -0
  451. package/src/resources/qbd/inventory-assembly-items.ts +1126 -0
  452. package/src/resources/qbd/inventory-items.ts +1026 -0
  453. package/src/resources/qbd/inventory-sites.ts +605 -0
  454. package/src/resources/qbd/invoices.ts +3398 -0
  455. package/src/resources/qbd/journal-entries.ts +1051 -0
  456. package/src/resources/qbd/non-inventory-items.ts +1138 -0
  457. package/src/resources/qbd/payroll-wage-items.ts +304 -0
  458. package/src/resources/qbd/purchase-orders.ts +3045 -0
  459. package/src/resources/qbd/qbd.ts +949 -0
  460. package/src/resources/qbd/receive-payments.ts +1609 -0
  461. package/src/resources/qbd/sales-orders.ts +3141 -0
  462. package/src/resources/qbd/sales-receipts.ts +3977 -0
  463. package/src/resources/qbd/sales-representatives.ts +340 -0
  464. package/src/resources/qbd/sales-tax-codes.ts +398 -0
  465. package/src/resources/qbd/sales-tax-items.ts +583 -0
  466. package/src/resources/qbd/service-items.ts +1105 -0
  467. package/src/resources/qbd/standard-terms.ts +295 -0
  468. package/src/resources/qbd/subtotal-items.ts +430 -0
  469. package/src/resources/qbd/time-tracking-activities.ts +615 -0
  470. package/src/resources/qbd/transfers.ts +359 -0
  471. package/src/resources/qbd/vendor-credits.ts +2742 -0
  472. package/src/resources/qbd/vendors.ts +2017 -0
  473. package/src/shims/node.ts +50 -0
  474. package/src/shims/web.ts +50 -0
  475. package/src/tsconfig.json +11 -0
  476. package/src/uploads.ts +255 -0
  477. package/src/version.ts +1 -0
  478. package/uploads.d.ts +75 -0
  479. package/uploads.d.ts.map +1 -0
  480. package/uploads.js +171 -0
  481. package/uploads.js.map +1 -0
  482. package/uploads.mjs +158 -0
  483. package/uploads.mjs.map +1 -0
  484. package/version.d.ts +2 -0
  485. package/version.d.ts.map +1 -0
  486. package/version.js +5 -0
  487. package/version.js.map +1 -0
  488. package/version.mjs +2 -0
  489. package/version.mjs.map +1 -0
  490. package/dist/package.json +0 -48
  491. package/dist/src/Client.d.ts +0 -21
  492. package/dist/src/Client.js +0 -54
  493. package/dist/src/index.d.ts +0 -11
  494. package/dist/src/index.js +0 -59
  495. package/dist/src/integrations/BaseIntegration.d.ts +0 -9
  496. package/dist/src/integrations/BaseIntegration.js +0 -14
  497. package/dist/src/integrations/qbd/QbdIntegration.d.ts +0 -3120
  498. package/dist/src/integrations/qbd/QbdIntegration.js +0 -3147
  499. package/dist/src/integrations/qbd/qbdTypes.d.ts +0 -14076
  500. package/dist/src/integrations/qbd/qbdTypes.js +0 -2
  501. package/dist/src/interceptors/errorHandling.d.ts +0 -2
  502. package/dist/src/interceptors/errorHandling.js +0 -53
  503. package/dist/src/interceptors/logging.d.ts +0 -18
  504. package/dist/src/interceptors/logging.js +0 -70
  505. package/dist/src/resources/AuthSessionsResource.d.ts +0 -77
  506. package/dist/src/resources/AuthSessionsResource.js +0 -26
  507. package/dist/src/resources/BaseResource.d.ts +0 -6
  508. package/dist/src/resources/BaseResource.js +0 -9
  509. package/dist/src/resources/EndUsersResource.d.ts +0 -84
  510. package/dist/src/resources/EndUsersResource.js +0 -57
  511. package/dist/src/resources/types.d.ts +0 -40
  512. package/dist/src/utils/checkForUpdates.d.ts +0 -2
  513. package/dist/src/utils/checkForUpdates.js +0 -65
  514. package/dist/src/utils/env.d.ts +0 -1
  515. package/dist/src/utils/env.js +0 -15
  516. package/dist/src/utils/error.d.ts +0 -184
  517. package/dist/src/utils/error.js +0 -254
@@ -0,0 +1,1138 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../resource';
4
+ import * as Core from '../../core';
5
+ import { CursorPage, type CursorPageParams } from '../../pagination';
6
+
7
+ export class NonInventoryItems extends APIResource {
8
+ /**
9
+ * Creates a new non-inventory item.
10
+ */
11
+ create(
12
+ params: NonInventoryItemCreateParams,
13
+ options?: Core.RequestOptions,
14
+ ): Core.APIPromise<NonInventoryItem> {
15
+ const { conductorEndUserId, ...body } = params;
16
+ return this._client.post('/quickbooks-desktop/non-inventory-items', {
17
+ body,
18
+ ...options,
19
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
20
+ });
21
+ }
22
+
23
+ /**
24
+ * Retrieves a non-inventory item by ID.
25
+ */
26
+ retrieve(
27
+ id: string,
28
+ params: NonInventoryItemRetrieveParams,
29
+ options?: Core.RequestOptions,
30
+ ): Core.APIPromise<NonInventoryItem> {
31
+ const { conductorEndUserId } = params;
32
+ return this._client.get(`/quickbooks-desktop/non-inventory-items/${id}`, {
33
+ ...options,
34
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
35
+ });
36
+ }
37
+
38
+ /**
39
+ * Updates an existing non-inventory item.
40
+ */
41
+ update(
42
+ id: string,
43
+ params: NonInventoryItemUpdateParams,
44
+ options?: Core.RequestOptions,
45
+ ): Core.APIPromise<NonInventoryItem> {
46
+ const { conductorEndUserId, ...body } = params;
47
+ return this._client.post(`/quickbooks-desktop/non-inventory-items/${id}`, {
48
+ body,
49
+ ...options,
50
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
51
+ });
52
+ }
53
+
54
+ /**
55
+ * Returns a list of non-inventory items. Use the `cursor` parameter to paginate
56
+ * through the results.
57
+ */
58
+ list(
59
+ params: NonInventoryItemListParams,
60
+ options?: Core.RequestOptions,
61
+ ): Core.PagePromise<NonInventoryItemsCursorPage, NonInventoryItem> {
62
+ const { conductorEndUserId, ...query } = params;
63
+ return this._client.getAPIList('/quickbooks-desktop/non-inventory-items', NonInventoryItemsCursorPage, {
64
+ query,
65
+ ...options,
66
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
67
+ });
68
+ }
69
+ }
70
+
71
+ export class NonInventoryItemsCursorPage extends CursorPage<NonInventoryItem> {}
72
+
73
+ export interface NonInventoryItem {
74
+ /**
75
+ * The unique identifier assigned by QuickBooks to this non-inventory item. This ID
76
+ * is unique across all non-inventory items but not across different QuickBooks
77
+ * object types.
78
+ */
79
+ id: string;
80
+
81
+ /**
82
+ * The non-inventory item's barcode.
83
+ */
84
+ barcode: string | null;
85
+
86
+ /**
87
+ * The non-inventory item's class. Classes can be used to categorize objects into
88
+ * meaningful segments, such as department, location, or type of work. In
89
+ * QuickBooks, class tracking is off by default.
90
+ */
91
+ class: NonInventoryItem.Class | null;
92
+
93
+ /**
94
+ * The date and time when this non-inventory item was created, in ISO 8601 format
95
+ * (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone
96
+ * in QuickBooks.
97
+ */
98
+ createdAt: string;
99
+
100
+ /**
101
+ * The custom fields for the non-inventory item object, added as user-defined data
102
+ * extensions, not included in the standard QuickBooks object.
103
+ */
104
+ customFields: Array<NonInventoryItem.CustomField>;
105
+
106
+ /**
107
+ * A globally unique identifier (GUID) you, the developer, can provide for tracking
108
+ * this object in your external system. This field is immutable and can only be set
109
+ * during object creation.
110
+ */
111
+ externalId: string | null;
112
+
113
+ /**
114
+ * The case-insensitive fully-qualified unique name of this non-inventory item,
115
+ * formed by combining the names of its hierarchical parent objects with its own
116
+ * `name`, separated by colons. For example, if a non-inventory item is under
117
+ * "Office Supplies" and has the `name` "Printer Ink Cartridge", its `fullName`
118
+ * would be "Office Supplies:Printer Ink Cartridge".
119
+ *
120
+ * **NOTE**: Unlike `name`, `fullName` is guaranteed to be unique across all
121
+ * non-inventory item objects. However, `fullName` can still be arbitrarily changed
122
+ * by the QuickBooks user when they modify the underlying `name` field.
123
+ */
124
+ fullName: string;
125
+
126
+ /**
127
+ * Indicates whether this non-inventory item is active. Inactive objects are
128
+ * typically hidden from views and reports in QuickBooks. Defaults to `true`.
129
+ */
130
+ isActive: boolean;
131
+
132
+ /**
133
+ * The case-insensitive name of this non-inventory item. Not guaranteed to be
134
+ * unique because it does not include the names of its hierarchical parent objects
135
+ * like `fullName` does. For example, two non-inventory items could both have the
136
+ * `name` "Printer Ink Cartridge", but they could have unique `fullName` values,
137
+ * such as "Office Supplies:Printer Ink Cartridge" and "Miscellaneous:Printer Ink
138
+ * Cartridge".
139
+ */
140
+ name: string;
141
+
142
+ /**
143
+ * The type of object. This value is always `"qbd_non_inventory_item"`.
144
+ */
145
+ objectType: 'qbd_non_inventory_item';
146
+
147
+ /**
148
+ * The parent non-inventory item one level above this one in the hierarchy. For
149
+ * example, if this non-inventory item has a `fullName` of "Office Supplies:Printer
150
+ * Ink Cartridge", its parent has a `fullName` of "Office Supplies". If this
151
+ * non-inventory item is at the top level, this field will be `null`.
152
+ */
153
+ parent: NonInventoryItem.Parent | null;
154
+
155
+ /**
156
+ * The current QuickBooks-assigned revision number of this non-inventory item
157
+ * object, which changes each time the object is modified. When updating this
158
+ * object, you must provide the most recent `revisionNumber` to ensure you're
159
+ * working with the latest data; otherwise, the update will return an error.
160
+ */
161
+ revisionNumber: string;
162
+
163
+ /**
164
+ * Details for non-inventory items that are both purchased and sold, such as
165
+ * reimbursable expenses or inventory items that are bought from vendors and sold
166
+ * to customers.
167
+ *
168
+ * **IMPORTANT**: A non-inventory item will have either `salesAndPurchaseDetails`
169
+ * or `salesOrPurchaseDetails`, but never both because an item cannot have both
170
+ * configurations.
171
+ */
172
+ salesAndPurchaseDetails: NonInventoryItem.SalesAndPurchaseDetails | null;
173
+
174
+ /**
175
+ * Details for non-inventory items that are exclusively sold or exclusively
176
+ * purchased, but not both. This typically applies to non-inventory items (like a
177
+ * purchased office supply that isn't resold) or service items (like consulting
178
+ * services that are sold but not purchased).
179
+ *
180
+ * **IMPORTANT**: A non-inventory item will have either `salesAndPurchaseDetails`
181
+ * or `salesOrPurchaseDetails`, but never both because an item cannot have both
182
+ * configurations.
183
+ */
184
+ salesOrPurchaseDetails: NonInventoryItem.SalesOrPurchaseDetails | null;
185
+
186
+ /**
187
+ * The default sales-tax code for this non-inventory item, determining whether it
188
+ * is taxable or non-taxable. This can be overridden at the transaction-line level.
189
+ *
190
+ * Default codes include "Non" (non-taxable) and "Tax" (taxable), but custom codes
191
+ * can also be created in QuickBooks. If QuickBooks is not set up to charge sales
192
+ * tax (via the "Do You Charge Sales Tax?" preference), it will assign the default
193
+ * non-taxable code to all sales.
194
+ */
195
+ salesTaxCode: NonInventoryItem.SalesTaxCode | null;
196
+
197
+ /**
198
+ * The non-inventory item's stock keeping unit (SKU), which is sometimes the
199
+ * manufacturer's part number.
200
+ */
201
+ sku: string | null;
202
+
203
+ /**
204
+ * The depth level of this non-inventory item in the hierarchy. A top-level
205
+ * non-inventory item has a `sublevel` of 0; each subsequent sublevel increases
206
+ * this number by 1. For example, a non-inventory item with a `fullName` of "Office
207
+ * Supplies:Printer Ink Cartridge" would have a `sublevel` of 1.
208
+ */
209
+ sublevel: number;
210
+
211
+ /**
212
+ * The unit-of-measure set associated with this non-inventory item, which consists
213
+ * of a base unit and related units.
214
+ */
215
+ unitOfMeasureSet: NonInventoryItem.UnitOfMeasureSet | null;
216
+
217
+ /**
218
+ * The date and time when this non-inventory item was last updated, in ISO 8601
219
+ * format (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time
220
+ * zone in QuickBooks.
221
+ */
222
+ updatedAt: string;
223
+ }
224
+
225
+ export namespace NonInventoryItem {
226
+ /**
227
+ * The non-inventory item's class. Classes can be used to categorize objects into
228
+ * meaningful segments, such as department, location, or type of work. In
229
+ * QuickBooks, class tracking is off by default.
230
+ */
231
+ export interface Class {
232
+ /**
233
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
234
+ * across all objects of the same type, but not across different QuickBooks object
235
+ * types.
236
+ */
237
+ id: string | null;
238
+
239
+ /**
240
+ * The fully-qualified unique name for this object, formed by combining the names
241
+ * of its parent objects with its own `name`, separated by colons. Not
242
+ * case-sensitive.
243
+ */
244
+ fullName: string | null;
245
+ }
246
+
247
+ export interface CustomField {
248
+ /**
249
+ * The name of the custom field, unique for the specified `ownerId`. For public
250
+ * custom fields, this name is visible as a label in the QuickBooks UI.
251
+ */
252
+ name: string;
253
+
254
+ /**
255
+ * The identifier of the owner of the custom field, which QuickBooks internally
256
+ * calls a "data extension". For public custom fields visible in the UI, such as
257
+ * those added by the QuickBooks user, this is always "0". For private custom
258
+ * fields that are only visible to the application that created them, this is a
259
+ * valid GUID identifying the owning application. Internally, Conductor always
260
+ * fetches all public custom fields (those with an `ownerId` of "0") for all
261
+ * objects.
262
+ */
263
+ ownerId: string;
264
+
265
+ /**
266
+ * The data type of this custom field.
267
+ */
268
+ type:
269
+ | 'amount_type'
270
+ | 'date_time_type'
271
+ | 'integer_type'
272
+ | 'percent_type'
273
+ | 'price_type'
274
+ | 'quantity_type'
275
+ | 'string_1024_type'
276
+ | 'string_255_type';
277
+
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
+ /**
286
+ * The parent non-inventory item one level above this one in the hierarchy. For
287
+ * example, if this non-inventory item has a `fullName` of "Office Supplies:Printer
288
+ * Ink Cartridge", its parent has a `fullName` of "Office Supplies". If this
289
+ * non-inventory item is at the top level, this field will be `null`.
290
+ */
291
+ export interface Parent {
292
+ /**
293
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
294
+ * across all objects of the same type, but not across different QuickBooks object
295
+ * types.
296
+ */
297
+ id: string | null;
298
+
299
+ /**
300
+ * The fully-qualified unique name for this object, formed by combining the names
301
+ * of its parent objects with its own `name`, separated by colons. Not
302
+ * case-sensitive.
303
+ */
304
+ fullName: string | null;
305
+ }
306
+
307
+ /**
308
+ * Details for non-inventory items that are both purchased and sold, such as
309
+ * reimbursable expenses or inventory items that are bought from vendors and sold
310
+ * to customers.
311
+ *
312
+ * **IMPORTANT**: A non-inventory item will have either `salesAndPurchaseDetails`
313
+ * or `salesOrPurchaseDetails`, but never both because an item cannot have both
314
+ * configurations.
315
+ */
316
+ export interface SalesAndPurchaseDetails {
317
+ /**
318
+ * The expense account used to track costs from purchases of this item.
319
+ */
320
+ expenseAccount: SalesAndPurchaseDetails.ExpenseAccount;
321
+
322
+ /**
323
+ * The income account used to track revenue from sales of this item.
324
+ */
325
+ incomeAccount: SalesAndPurchaseDetails.IncomeAccount;
326
+
327
+ /**
328
+ * The preferred vendor from whom this item is typically purchased.
329
+ */
330
+ preferredVendor: SalesAndPurchaseDetails.PreferredVendor | null;
331
+
332
+ /**
333
+ * The cost at which this item is purchased from vendors, represented as a decimal
334
+ * string.
335
+ */
336
+ purchaseCost: string | null;
337
+
338
+ /**
339
+ * The description of this item that appears on purchase forms (e.g., checks,
340
+ * bills, item receipts) when it is ordered or bought from vendors.
341
+ */
342
+ purchaseDescription: string | null;
343
+
344
+ /**
345
+ * The tax code applied to purchases of this item. Applicable in regions where
346
+ * purchase taxes are used, such as Canada or the UK.
347
+ */
348
+ purchaseTaxCode: SalesAndPurchaseDetails.PurchaseTaxCode | null;
349
+
350
+ /**
351
+ * The description of this item that appears on sales forms (e.g., invoices, sales
352
+ * receipts) when sold to customers.
353
+ */
354
+ salesDescription: string | null;
355
+
356
+ /**
357
+ * The price at which this item is sold to customers, represented as a decimal
358
+ * string.
359
+ */
360
+ salesPrice: string | null;
361
+ }
362
+
363
+ export namespace SalesAndPurchaseDetails {
364
+ /**
365
+ * The expense account used to track costs from purchases of this item.
366
+ */
367
+ export interface ExpenseAccount {
368
+ /**
369
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
370
+ * across all objects of the same type, but not across different QuickBooks object
371
+ * types.
372
+ */
373
+ id: string | null;
374
+
375
+ /**
376
+ * The fully-qualified unique name for this object, formed by combining the names
377
+ * of its parent objects with its own `name`, separated by colons. Not
378
+ * case-sensitive.
379
+ */
380
+ fullName: string | null;
381
+ }
382
+
383
+ /**
384
+ * The income account used to track revenue from sales of this item.
385
+ */
386
+ export interface IncomeAccount {
387
+ /**
388
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
389
+ * across all objects of the same type, but not across different QuickBooks object
390
+ * types.
391
+ */
392
+ id: string | null;
393
+
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
+ /**
403
+ * The preferred vendor from whom this item is typically purchased.
404
+ */
405
+ export interface PreferredVendor {
406
+ /**
407
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
408
+ * across all objects of the same type, but not across different QuickBooks object
409
+ * types.
410
+ */
411
+ id: string | null;
412
+
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
+
421
+ /**
422
+ * The tax code applied to purchases of this item. Applicable in regions where
423
+ * purchase taxes are used, such as Canada or the UK.
424
+ */
425
+ export interface PurchaseTaxCode {
426
+ /**
427
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
428
+ * across all objects of the same type, but not across different QuickBooks object
429
+ * types.
430
+ */
431
+ id: string | null;
432
+
433
+ /**
434
+ * The fully-qualified unique name for this object, formed by combining the names
435
+ * of its parent objects with its own `name`, separated by colons. Not
436
+ * case-sensitive.
437
+ */
438
+ fullName: string | null;
439
+ }
440
+ }
441
+
442
+ /**
443
+ * Details for non-inventory items that are exclusively sold or exclusively
444
+ * purchased, but not both. This typically applies to non-inventory items (like a
445
+ * purchased office supply that isn't resold) or service items (like consulting
446
+ * services that are sold but not purchased).
447
+ *
448
+ * **IMPORTANT**: A non-inventory item will have either `salesAndPurchaseDetails`
449
+ * or `salesOrPurchaseDetails`, but never both because an item cannot have both
450
+ * configurations.
451
+ */
452
+ export interface SalesOrPurchaseDetails {
453
+ /**
454
+ * A description of this item.
455
+ */
456
+ description: string | null;
457
+
458
+ /**
459
+ * The posting account to which transactions involving this item are posted. This
460
+ * could be an income account when selling or an expense account when purchasing.
461
+ */
462
+ postingAccount: SalesOrPurchaseDetails.PostingAccount | null;
463
+
464
+ /**
465
+ * The price at which this item is purchased or sold, represented as a decimal
466
+ * string.
467
+ */
468
+ price: string | null;
469
+
470
+ /**
471
+ * The price of this item expressed as a percentage, used instead of `price` when
472
+ * the item's cost is calculated as a percentage of another amount. For example, a
473
+ * service item that costs a percentage of another item's price.
474
+ */
475
+ pricePercentage: string | null;
476
+ }
477
+
478
+ export namespace SalesOrPurchaseDetails {
479
+ /**
480
+ * The posting account to which transactions involving this item are posted. This
481
+ * could be an income account when selling or an expense account when purchasing.
482
+ */
483
+ export interface PostingAccount {
484
+ /**
485
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
486
+ * across all objects of the same type, but not across different QuickBooks object
487
+ * types.
488
+ */
489
+ id: string | null;
490
+
491
+ /**
492
+ * The fully-qualified unique name for this object, formed by combining the names
493
+ * of its parent objects with its own `name`, separated by colons. Not
494
+ * case-sensitive.
495
+ */
496
+ fullName: string | null;
497
+ }
498
+ }
499
+
500
+ /**
501
+ * The default sales-tax code for this non-inventory item, determining whether it
502
+ * is taxable or non-taxable. This can be overridden at the transaction-line level.
503
+ *
504
+ * Default codes include "Non" (non-taxable) and "Tax" (taxable), but custom codes
505
+ * can also be created in QuickBooks. If QuickBooks is not set up to charge sales
506
+ * tax (via the "Do You Charge Sales Tax?" preference), it will assign the default
507
+ * non-taxable code to all sales.
508
+ */
509
+ export interface SalesTaxCode {
510
+ /**
511
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
512
+ * across all objects of the same type, but not across different QuickBooks object
513
+ * types.
514
+ */
515
+ id: string | null;
516
+
517
+ /**
518
+ * The fully-qualified unique name for this object, formed by combining the names
519
+ * of its parent objects with its own `name`, separated by colons. Not
520
+ * case-sensitive.
521
+ */
522
+ fullName: string | null;
523
+ }
524
+
525
+ /**
526
+ * The unit-of-measure set associated with this non-inventory item, which consists
527
+ * of a base unit and related units.
528
+ */
529
+ export interface UnitOfMeasureSet {
530
+ /**
531
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
532
+ * across all objects of the same type, but not across different QuickBooks object
533
+ * types.
534
+ */
535
+ id: string | null;
536
+
537
+ /**
538
+ * The fully-qualified unique name for this object, formed by combining the names
539
+ * of its parent objects with its own `name`, separated by colons. Not
540
+ * case-sensitive.
541
+ */
542
+ fullName: string | null;
543
+ }
544
+ }
545
+
546
+ export interface NonInventoryItemCreateParams {
547
+ /**
548
+ * Body param: The case-insensitive name of this non-inventory item. Not guaranteed
549
+ * to be unique because it does not include the names of its hierarchical parent
550
+ * objects like `fullName` does. For example, two non-inventory items could both
551
+ * have the `name` "Printer Ink Cartridge", but they could have unique `fullName`
552
+ * values, such as "Office Supplies:Printer Ink Cartridge" and
553
+ * "Miscellaneous:Printer Ink Cartridge".
554
+ *
555
+ * Maximum length: 31 characters.
556
+ */
557
+ name: string;
558
+
559
+ /**
560
+ * Header param: The ID of the EndUser to receive this request (e.g.,
561
+ * `"Conductor-End-User-Id: {{END_USER_ID}}"`).
562
+ */
563
+ conductorEndUserId: string;
564
+
565
+ /**
566
+ * Body param: The non-inventory item's barcode.
567
+ */
568
+ barcode?: NonInventoryItemCreateParams.Barcode;
569
+
570
+ /**
571
+ * Body param: The non-inventory item's class. Classes can be used to categorize
572
+ * objects into meaningful segments, such as department, location, or type of work.
573
+ * In QuickBooks, class tracking is off by default.
574
+ */
575
+ classId?: string;
576
+
577
+ /**
578
+ * Body param: A globally unique identifier (GUID) you, the developer, can provide
579
+ * for tracking this object in your external system. This field is immutable and
580
+ * can only be set during object creation.
581
+ *
582
+ * **IMPORTANT**: This field must be formatted as a valid GUID; otherwise,
583
+ * QuickBooks will return an error.
584
+ */
585
+ externalId?: string;
586
+
587
+ /**
588
+ * Body param: Indicates whether this non-inventory item is active. Inactive
589
+ * objects are typically hidden from views and reports in QuickBooks. Defaults to
590
+ * `true`.
591
+ */
592
+ isActive?: boolean;
593
+
594
+ /**
595
+ * Body param: The parent non-inventory item one level above this one in the
596
+ * hierarchy. For example, if this non-inventory item has a `fullName` of "Office
597
+ * Supplies:Printer Ink Cartridge", its parent has a `fullName` of "Office
598
+ * Supplies". If this non-inventory item is at the top level, this field will be
599
+ * `null`.
600
+ */
601
+ parentId?: string;
602
+
603
+ /**
604
+ * Body param: Details for non-inventory items that are both purchased and sold,
605
+ * such as reimbursable expenses or inventory items that are bought from vendors
606
+ * and sold to customers.
607
+ *
608
+ * **IMPORTANT**: You must specify either `salesAndPurchaseDetails` or
609
+ * `salesOrPurchaseDetails` when creating a non-inventory item, but never both
610
+ * because an item cannot have both configurations.
611
+ */
612
+ salesAndPurchaseDetails?: NonInventoryItemCreateParams.SalesAndPurchaseDetails;
613
+
614
+ /**
615
+ * Body param: Details for non-inventory items that are exclusively sold or
616
+ * exclusively purchased, but not both. This typically applies to non-inventory
617
+ * items (like a purchased office supply that isn't resold) or service items (like
618
+ * consulting services that are sold but not purchased).
619
+ *
620
+ * **IMPORTANT**: You must specify either `salesOrPurchaseDetails` or
621
+ * `salesAndPurchaseDetails` when creating a non-inventory item, but never both
622
+ * because an item cannot have both configurations.
623
+ */
624
+ salesOrPurchaseDetails?: NonInventoryItemCreateParams.SalesOrPurchaseDetails;
625
+
626
+ /**
627
+ * Body param: The default sales-tax code for this non-inventory item, determining
628
+ * whether it is taxable or non-taxable. This can be overridden at the
629
+ * transaction-line level.
630
+ *
631
+ * Default codes include "Non" (non-taxable) and "Tax" (taxable), but custom codes
632
+ * can also be created in QuickBooks. If QuickBooks is not set up to charge sales
633
+ * tax (via the "Do You Charge Sales Tax?" preference), it will assign the default
634
+ * non-taxable code to all sales.
635
+ */
636
+ salesTaxCodeId?: string;
637
+
638
+ /**
639
+ * Body param: The non-inventory item's stock keeping unit (SKU), which is
640
+ * sometimes the manufacturer's part number.
641
+ */
642
+ sku?: string;
643
+
644
+ /**
645
+ * Body param: The unit-of-measure set associated with this non-inventory item,
646
+ * which consists of a base unit and related units.
647
+ */
648
+ unitOfMeasureSetId?: string;
649
+ }
650
+
651
+ export namespace NonInventoryItemCreateParams {
652
+ /**
653
+ * The non-inventory item's barcode.
654
+ */
655
+ export interface Barcode {
656
+ /**
657
+ * Indicates whether to allow the barcode to be overridden.
658
+ */
659
+ allowOverride?: boolean;
660
+
661
+ /**
662
+ * Indicates whether to assign the barcode even if it is already used.
663
+ */
664
+ assignEvenIfUsed?: boolean;
665
+
666
+ /**
667
+ * The item's barcode value.
668
+ */
669
+ value?: string;
670
+ }
671
+
672
+ /**
673
+ * Details for non-inventory items that are both purchased and sold, such as
674
+ * reimbursable expenses or inventory items that are bought from vendors and sold
675
+ * to customers.
676
+ *
677
+ * **IMPORTANT**: You must specify either `salesAndPurchaseDetails` or
678
+ * `salesOrPurchaseDetails` when creating a non-inventory item, but never both
679
+ * because an item cannot have both configurations.
680
+ */
681
+ export interface SalesAndPurchaseDetails {
682
+ /**
683
+ * The expense account used to track costs from purchases of this item.
684
+ */
685
+ expenseAccountId: string;
686
+
687
+ /**
688
+ * The income account used to track revenue from sales of this item.
689
+ */
690
+ incomeAccountId: string;
691
+
692
+ /**
693
+ * The preferred vendor from whom this item is typically purchased.
694
+ */
695
+ preferredVendorId?: string;
696
+
697
+ /**
698
+ * The cost at which this item is purchased from vendors, represented as a decimal
699
+ * string.
700
+ */
701
+ purchaseCost?: string;
702
+
703
+ /**
704
+ * The description of this item that appears on purchase forms (e.g., checks,
705
+ * bills, item receipts) when it is ordered or bought from vendors.
706
+ */
707
+ purchaseDescription?: string;
708
+
709
+ /**
710
+ * The tax code applied to purchases of this item. Applicable in regions where
711
+ * purchase taxes are used, such as Canada or the UK.
712
+ */
713
+ purchaseTaxCodeId?: string;
714
+
715
+ /**
716
+ * The description of this item that appears on sales forms (e.g., invoices, sales
717
+ * receipts) when sold to customers.
718
+ */
719
+ salesDescription?: string;
720
+
721
+ /**
722
+ * The price at which this item is sold to customers, represented as a decimal
723
+ * string.
724
+ */
725
+ salesPrice?: string;
726
+ }
727
+
728
+ /**
729
+ * Details for non-inventory items that are exclusively sold or exclusively
730
+ * purchased, but not both. This typically applies to non-inventory items (like a
731
+ * purchased office supply that isn't resold) or service items (like consulting
732
+ * services that are sold but not purchased).
733
+ *
734
+ * **IMPORTANT**: You must specify either `salesOrPurchaseDetails` or
735
+ * `salesAndPurchaseDetails` when creating a non-inventory item, but never both
736
+ * because an item cannot have both configurations.
737
+ */
738
+ export interface SalesOrPurchaseDetails {
739
+ /**
740
+ * The posting account to which transactions involving this item are posted. This
741
+ * could be an income account when selling or an expense account when purchasing.
742
+ */
743
+ postingAccountId: string;
744
+
745
+ /**
746
+ * A description of this item.
747
+ */
748
+ description?: string;
749
+
750
+ /**
751
+ * The price at which this item is purchased or sold, represented as a decimal
752
+ * string.
753
+ */
754
+ price?: string;
755
+
756
+ /**
757
+ * The price of this item expressed as a percentage, used instead of `price` when
758
+ * the item's cost is calculated as a percentage of another amount. For example, a
759
+ * service item that costs a percentage of another item's price.
760
+ */
761
+ pricePercentage?: string;
762
+ }
763
+ }
764
+
765
+ export interface NonInventoryItemRetrieveParams {
766
+ /**
767
+ * The ID of the EndUser to receive this request (e.g.,
768
+ * `"Conductor-End-User-Id: {{END_USER_ID}}"`).
769
+ */
770
+ conductorEndUserId: string;
771
+ }
772
+
773
+ export interface NonInventoryItemUpdateParams {
774
+ /**
775
+ * Body param: The current QuickBooks-assigned revision number of the non-inventory
776
+ * item object you are updating, which you can get by fetching the object first.
777
+ * Provide the most recent `revisionNumber` to ensure you're working with the
778
+ * latest data; otherwise, the update will return an error.
779
+ */
780
+ revisionNumber: string;
781
+
782
+ /**
783
+ * Header param: The ID of the EndUser to receive this request (e.g.,
784
+ * `"Conductor-End-User-Id: {{END_USER_ID}}"`).
785
+ */
786
+ conductorEndUserId: string;
787
+
788
+ /**
789
+ * Body param: The non-inventory item's barcode.
790
+ */
791
+ barcode?: NonInventoryItemUpdateParams.Barcode;
792
+
793
+ /**
794
+ * Body param: The non-inventory item's class. Classes can be used to categorize
795
+ * objects into meaningful segments, such as department, location, or type of work.
796
+ * In QuickBooks, class tracking is off by default.
797
+ */
798
+ classId?: string;
799
+
800
+ /**
801
+ * Body param: Indicates whether to allow changing the non-inventory item's
802
+ * unit-of-measure set (using the `unitOfMeasureSetId` field) when the base unit of
803
+ * the new unit-of-measure set does not match that of the currently assigned set.
804
+ * Without setting this field to `true` in this scenario, the request will fail
805
+ * with an error; hence, this field is equivalent to accepting the warning prompt
806
+ * in the QuickBooks UI.
807
+ *
808
+ * NOTE: Changing the base unit requires you to update the item's
809
+ * quantities-on-hand and cost to reflect the new unit; otherwise, these values
810
+ * will be inaccurate. Alternatively, consider creating a new item with the desired
811
+ * unit-of-measure set and deactivating the old item.
812
+ */
813
+ forceUnitOfMeasureChange?: boolean;
814
+
815
+ /**
816
+ * Body param: Indicates whether this non-inventory item is active. Inactive
817
+ * objects are typically hidden from views and reports in QuickBooks. Defaults to
818
+ * `true`.
819
+ */
820
+ isActive?: boolean;
821
+
822
+ /**
823
+ * Body param: The case-insensitive name of this non-inventory item. Not guaranteed
824
+ * to be unique because it does not include the names of its hierarchical parent
825
+ * objects like `fullName` does. For example, two non-inventory items could both
826
+ * have the `name` "Printer Ink Cartridge", but they could have unique `fullName`
827
+ * values, such as "Office Supplies:Printer Ink Cartridge" and
828
+ * "Miscellaneous:Printer Ink Cartridge".
829
+ *
830
+ * Maximum length: 31 characters.
831
+ */
832
+ name?: string;
833
+
834
+ /**
835
+ * Body param: The parent non-inventory item one level above this one in the
836
+ * hierarchy. For example, if this non-inventory item has a `fullName` of "Office
837
+ * Supplies:Printer Ink Cartridge", its parent has a `fullName` of "Office
838
+ * Supplies". If this non-inventory item is at the top level, this field will be
839
+ * `null`.
840
+ */
841
+ parentId?: string;
842
+
843
+ /**
844
+ * Body param: Details for non-inventory items that are both purchased and sold,
845
+ * such as reimbursable expenses or inventory items that are bought from vendors
846
+ * and sold to customers.
847
+ *
848
+ * **IMPORTANT**: You cannot specify both `salesAndPurchaseDetails` and
849
+ * `salesOrPurchaseDetails` when modifying a non-inventory item because an item
850
+ * cannot have both configurations.
851
+ */
852
+ salesAndPurchaseDetails?: NonInventoryItemUpdateParams.SalesAndPurchaseDetails;
853
+
854
+ /**
855
+ * Body param: Details for non-inventory items that are exclusively sold or
856
+ * exclusively purchased, but not both. This typically applies to non-inventory
857
+ * items (like a purchased office supply that isn't resold) or service items (like
858
+ * consulting services that are sold but not purchased).
859
+ *
860
+ * **IMPORTANT**: You cannot specify both `salesOrPurchaseDetails` and
861
+ * `salesAndPurchaseDetails` when modifying a non-inventory item because an item
862
+ * cannot have both configurations.
863
+ */
864
+ salesOrPurchaseDetails?: NonInventoryItemUpdateParams.SalesOrPurchaseDetails;
865
+
866
+ /**
867
+ * Body param: The default sales-tax code for this non-inventory item, determining
868
+ * whether it is taxable or non-taxable. This can be overridden at the
869
+ * transaction-line level.
870
+ *
871
+ * Default codes include "Non" (non-taxable) and "Tax" (taxable), but custom codes
872
+ * can also be created in QuickBooks. If QuickBooks is not set up to charge sales
873
+ * tax (via the "Do You Charge Sales Tax?" preference), it will assign the default
874
+ * non-taxable code to all sales.
875
+ */
876
+ salesTaxCodeId?: string;
877
+
878
+ /**
879
+ * Body param: The non-inventory item's stock keeping unit (SKU), which is
880
+ * sometimes the manufacturer's part number.
881
+ */
882
+ sku?: string;
883
+
884
+ /**
885
+ * Body param: The unit-of-measure set associated with this non-inventory item,
886
+ * which consists of a base unit and related units.
887
+ */
888
+ unitOfMeasureSetId?: string;
889
+ }
890
+
891
+ export namespace NonInventoryItemUpdateParams {
892
+ /**
893
+ * The non-inventory item's barcode.
894
+ */
895
+ export interface Barcode {
896
+ /**
897
+ * Indicates whether to allow the barcode to be overridden.
898
+ */
899
+ allowOverride?: boolean;
900
+
901
+ /**
902
+ * Indicates whether to assign the barcode even if it is already used.
903
+ */
904
+ assignEvenIfUsed?: boolean;
905
+
906
+ /**
907
+ * The item's barcode value.
908
+ */
909
+ value?: string;
910
+ }
911
+
912
+ /**
913
+ * Details for non-inventory items that are both purchased and sold, such as
914
+ * reimbursable expenses or inventory items that are bought from vendors and sold
915
+ * to customers.
916
+ *
917
+ * **IMPORTANT**: You cannot specify both `salesAndPurchaseDetails` and
918
+ * `salesOrPurchaseDetails` when modifying a non-inventory item because an item
919
+ * cannot have both configurations.
920
+ */
921
+ export interface SalesAndPurchaseDetails {
922
+ /**
923
+ * The expense account used to track costs from purchases of this item.
924
+ */
925
+ expenseAccountId?: string;
926
+
927
+ /**
928
+ * The income account used to track revenue from sales of this item.
929
+ */
930
+ incomeAccountId?: string;
931
+
932
+ /**
933
+ * The preferred vendor from whom this item is typically purchased.
934
+ */
935
+ preferredVendorId?: string;
936
+
937
+ /**
938
+ * The cost at which this item is purchased from vendors, represented as a decimal
939
+ * string.
940
+ */
941
+ purchaseCost?: string;
942
+
943
+ /**
944
+ * The description of this item that appears on purchase forms (e.g., checks,
945
+ * bills, item receipts) when it is ordered or bought from vendors.
946
+ */
947
+ purchaseDescription?: string;
948
+
949
+ /**
950
+ * The tax code applied to purchases of this item. Applicable in regions where
951
+ * purchase taxes are used, such as Canada or the UK.
952
+ */
953
+ purchaseTaxCodeId?: string;
954
+
955
+ /**
956
+ * The description of this item that appears on sales forms (e.g., invoices, sales
957
+ * receipts) when sold to customers.
958
+ */
959
+ salesDescription?: string;
960
+
961
+ /**
962
+ * The price at which this item is sold to customers, represented as a decimal
963
+ * string.
964
+ */
965
+ salesPrice?: string;
966
+
967
+ /**
968
+ * When `true`, applies the new expense account (specified by the
969
+ * `expenseAccountId` field) to all existing transactions that use this item. This
970
+ * updates historical data and should be used with caution. The update will fail if
971
+ * any affected transaction falls within a closed accounting period. If this
972
+ * parameter is not specified, QuickBooks will prompt the user before making any
973
+ * changes.
974
+ */
975
+ updateExistingTransactionsExpenseAccount?: boolean;
976
+
977
+ /**
978
+ * When `true`, applies the new income account (specified by the `incomeAccountId`
979
+ * field) to all existing transactions that use this item. This updates historical
980
+ * data and should be used with caution. The update will fail if any affected
981
+ * transaction falls within a closed accounting period. If this parameter is not
982
+ * specified, QuickBooks will prompt the user before making any changes.
983
+ */
984
+ updateExistingTransactionsIncomeAccount?: boolean;
985
+ }
986
+
987
+ /**
988
+ * Details for non-inventory items that are exclusively sold or exclusively
989
+ * purchased, but not both. This typically applies to non-inventory items (like a
990
+ * purchased office supply that isn't resold) or service items (like consulting
991
+ * services that are sold but not purchased).
992
+ *
993
+ * **IMPORTANT**: You cannot specify both `salesOrPurchaseDetails` and
994
+ * `salesAndPurchaseDetails` when modifying a non-inventory item because an item
995
+ * cannot have both configurations.
996
+ */
997
+ export interface SalesOrPurchaseDetails {
998
+ /**
999
+ * A description of this item.
1000
+ */
1001
+ description?: string;
1002
+
1003
+ /**
1004
+ * The posting account to which transactions involving this item are posted. This
1005
+ * could be an income account when selling or an expense account when purchasing.
1006
+ */
1007
+ postingAccountId?: string;
1008
+
1009
+ /**
1010
+ * The price at which this item is purchased or sold, represented as a decimal
1011
+ * string.
1012
+ */
1013
+ price?: string;
1014
+
1015
+ /**
1016
+ * The price of this item expressed as a percentage, used instead of `price` when
1017
+ * the item's cost is calculated as a percentage of another amount. For example, a
1018
+ * service item that costs a percentage of another item's price.
1019
+ */
1020
+ pricePercentage?: string;
1021
+
1022
+ /**
1023
+ * When `true`, applies the new account (specified by the `accountId` field) to all
1024
+ * existing transactions associated with this item. This updates historical data
1025
+ * and should be used with caution. The update will fail if any affected
1026
+ * transaction falls within a closed accounting period. If this parameter is not
1027
+ * specified, QuickBooks will prompt the user before making any changes.
1028
+ */
1029
+ updateExistingTransactionsAccount?: boolean;
1030
+ }
1031
+ }
1032
+
1033
+ export interface NonInventoryItemListParams extends CursorPageParams {
1034
+ /**
1035
+ * Header param: The ID of the EndUser to receive this request (e.g.,
1036
+ * `"Conductor-End-User-Id: {{END_USER_ID}}"`).
1037
+ */
1038
+ conductorEndUserId: string;
1039
+
1040
+ /**
1041
+ * Query param: Filter for non-inventory items of these classes. A class is a way
1042
+ * end-users can categorize non-inventory items in QuickBooks.
1043
+ */
1044
+ classIds?: Array<string>;
1045
+
1046
+ /**
1047
+ * Query param: Filter for specific non-inventory items by their full-name(s),
1048
+ * case-insensitive. Like `id`, `fullName` is a unique identifier for a
1049
+ * non-inventory item, formed by by combining the names of its parent objects with
1050
+ * its own `name`, separated by colons. For example, if a non-inventory item is
1051
+ * under "Office Supplies" and has the `name` "Printer Ink Cartridge", its
1052
+ * `fullName` would be "Office Supplies:Printer Ink Cartridge".
1053
+ *
1054
+ * **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
1055
+ * query parameters for this request.
1056
+ *
1057
+ * **NOTE**: If any of the values you specify in this parameter are not found, the
1058
+ * request will return an error.
1059
+ */
1060
+ fullNames?: Array<string>;
1061
+
1062
+ /**
1063
+ * Query param: Filter for specific non-inventory items by their
1064
+ * QuickBooks-assigned unique identifier(s).
1065
+ *
1066
+ * **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
1067
+ * query parameters for this request.
1068
+ *
1069
+ * **NOTE**: If any of the values you specify in this parameter are not found, the
1070
+ * request will return an error.
1071
+ */
1072
+ ids?: Array<string>;
1073
+
1074
+ /**
1075
+ * Query param: Filter for non-inventory items whose `name` contains this
1076
+ * substring, case-insensitive. NOTE: If you use this parameter, you cannot also
1077
+ * use `nameStartsWith` or `nameEndsWith`.
1078
+ */
1079
+ nameContains?: string;
1080
+
1081
+ /**
1082
+ * Query param: Filter for non-inventory items whose `name` ends with this
1083
+ * substring, case-insensitive. NOTE: If you use this parameter, you cannot also
1084
+ * use `nameContains` or `nameStartsWith`.
1085
+ */
1086
+ nameEndsWith?: string;
1087
+
1088
+ /**
1089
+ * Query param: Filter for non-inventory items whose `name` is alphabetically
1090
+ * greater than or equal to this value.
1091
+ */
1092
+ nameFrom?: string;
1093
+
1094
+ /**
1095
+ * Query param: Filter for non-inventory items whose `name` starts with this
1096
+ * substring, case-insensitive. NOTE: If you use this parameter, you cannot also
1097
+ * use `nameContains` or `nameEndsWith`.
1098
+ */
1099
+ nameStartsWith?: string;
1100
+
1101
+ /**
1102
+ * Query param: Filter for non-inventory items whose `name` is alphabetically less
1103
+ * than or equal to this value.
1104
+ */
1105
+ nameTo?: string;
1106
+
1107
+ /**
1108
+ * Query param: Filter for non-inventory items that are active, inactive, or both.
1109
+ */
1110
+ status?: 'active' | 'all' | 'inactive';
1111
+
1112
+ /**
1113
+ * Query param: Filter for non-inventory items updated on or after this date and
1114
+ * time, in ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date
1115
+ * (YYYY-MM-DD), the time is assumed to be 00:00:00 of that day.
1116
+ */
1117
+ updatedAfter?: string;
1118
+
1119
+ /**
1120
+ * Query param: Filter for non-inventory items updated on or before this date and
1121
+ * time, in ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date
1122
+ * (YYYY-MM-DD), the time is assumed to be 23:59:59 of that day.
1123
+ */
1124
+ updatedBefore?: string;
1125
+ }
1126
+
1127
+ NonInventoryItems.NonInventoryItemsCursorPage = NonInventoryItemsCursorPage;
1128
+
1129
+ export declare namespace NonInventoryItems {
1130
+ export {
1131
+ type NonInventoryItem as NonInventoryItem,
1132
+ NonInventoryItemsCursorPage as NonInventoryItemsCursorPage,
1133
+ type NonInventoryItemCreateParams as NonInventoryItemCreateParams,
1134
+ type NonInventoryItemRetrieveParams as NonInventoryItemRetrieveParams,
1135
+ type NonInventoryItemUpdateParams as NonInventoryItemUpdateParams,
1136
+ type NonInventoryItemListParams as NonInventoryItemListParams,
1137
+ };
1138
+ }