@maesn/typescript-sdk 0.2.3 → 0.3.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 (420) hide show
  1. package/README.md +44 -95
  2. package/esm/funcs/accounting-create-bill-line-item.d.ts +11 -0
  3. package/esm/funcs/accounting-create-bill-line-item.d.ts.map +1 -0
  4. package/esm/funcs/{accounting-bills-add-line-item.js → accounting-create-bill-line-item.js} +2 -2
  5. package/esm/funcs/accounting-create-bill-line-item.js.map +1 -0
  6. package/esm/funcs/{fiscal-years-get.d.ts → accounting-create-item.d.ts} +2 -2
  7. package/esm/funcs/accounting-create-item.d.ts.map +1 -0
  8. package/esm/funcs/{items-create.js → accounting-create-item.js} +2 -2
  9. package/esm/funcs/accounting-create-item.js.map +1 -0
  10. package/esm/funcs/{goods-receipts-get-line-item.d.ts → accounting-create-journal-entries.d.ts} +2 -2
  11. package/esm/funcs/accounting-create-journal-entries.d.ts.map +1 -0
  12. package/esm/funcs/{journal-entries-create-bulk.js → accounting-create-journal-entries.js} +2 -2
  13. package/esm/funcs/accounting-create-journal-entries.js.map +1 -0
  14. package/esm/funcs/accounting-delete-vendor-credit.d.ts +11 -0
  15. package/esm/funcs/accounting-delete-vendor-credit.d.ts.map +1 -0
  16. package/esm/funcs/{vendor-credits-delete.js → accounting-delete-vendor-credit.js} +2 -2
  17. package/esm/funcs/accounting-delete-vendor-credit.js.map +1 -0
  18. package/esm/funcs/{accounting-invoices-update-line-item.d.ts → accounting-get-bill-line-items.d.ts} +2 -2
  19. package/esm/funcs/{accounting-bills-add-line-item.d.ts.map → accounting-get-bill-line-items.d.ts.map} +1 -1
  20. package/esm/funcs/{bills-get-line-items.js → accounting-get-bill-line-items.js} +2 -2
  21. package/esm/funcs/accounting-get-bill-line-items.js.map +1 -0
  22. package/esm/funcs/accounting-get-document-extensions.d.ts +11 -0
  23. package/esm/funcs/accounting-get-document-extensions.d.ts.map +1 -0
  24. package/esm/funcs/{files-get-document-extensions.js → accounting-get-document-extensions.js} +2 -2
  25. package/esm/funcs/accounting-get-document-extensions.js.map +1 -0
  26. package/esm/funcs/{offers-get-document.d.ts → accounting-get-fiscal-year.d.ts} +2 -2
  27. package/esm/funcs/accounting-get-fiscal-year.d.ts.map +1 -0
  28. package/esm/funcs/{fiscal-years-get.js → accounting-get-fiscal-year.js} +2 -2
  29. package/esm/funcs/accounting-get-fiscal-year.js.map +1 -0
  30. package/esm/funcs/{accounting-v2-create-booking-proposal.d.ts → accounting-get-goods-receipt-line-item.d.ts} +2 -2
  31. package/esm/funcs/accounting-get-goods-receipt-line-item.d.ts.map +1 -0
  32. package/esm/funcs/{goods-receipts-get-line-item.js → accounting-get-goods-receipt-line-item.js} +2 -2
  33. package/esm/funcs/accounting-get-goods-receipt-line-item.js.map +1 -0
  34. package/esm/funcs/{accounting-journal-entries-get-attachments.d.ts → accounting-get-journal-entry-attachment-by-id.d.ts} +2 -2
  35. package/esm/funcs/accounting-get-journal-entry-attachment-by-id.d.ts.map +1 -0
  36. package/esm/funcs/{journal-entry-attachments-get-by-id.js → accounting-get-journal-entry-attachment-by-id.js} +2 -2
  37. package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js.map +1 -0
  38. package/esm/funcs/{journal-entry-attachments-get-by-id.d.ts → accounting-get-journal-entry-attachments.d.ts} +2 -2
  39. package/esm/funcs/accounting-get-journal-entry-attachments.d.ts.map +1 -0
  40. package/esm/funcs/{accounting-journal-entries-get-attachments.js → accounting-get-journal-entry-attachments.js} +2 -2
  41. package/esm/funcs/accounting-get-journal-entry-attachments.js.map +1 -0
  42. package/esm/funcs/{accounting-v2-create-contact.d.ts → accounting-get-offer-document.d.ts} +2 -2
  43. package/esm/funcs/{accounting-v2-contacts-update.d.ts.map → accounting-get-offer-document.d.ts.map} +1 -1
  44. package/esm/funcs/{offers-get-document.js → accounting-get-offer-document.js} +2 -2
  45. package/esm/funcs/accounting-get-offer-document.js.map +1 -0
  46. package/esm/funcs/{accounting-bills-add-line-item.d.ts → accounting-get-purchase-orders.d.ts} +2 -2
  47. package/esm/funcs/accounting-get-purchase-orders.d.ts.map +1 -0
  48. package/esm/funcs/{purchase-orders-list.js → accounting-get-purchase-orders.js} +2 -2
  49. package/esm/funcs/accounting-get-purchase-orders.js.map +1 -0
  50. package/esm/funcs/{contacts-v2-get.d.ts → accounting-patch-contact.d.ts} +2 -2
  51. package/esm/funcs/accounting-patch-contact.d.ts.map +1 -0
  52. package/esm/funcs/{contacts-patch.js → accounting-patch-contact.js} +2 -2
  53. package/esm/funcs/accounting-patch-contact.js.map +1 -0
  54. package/esm/funcs/{contacts-patch.d.ts → accounting-patch-item.d.ts} +2 -2
  55. package/esm/funcs/{vendor-credits-delete.d.ts.map → accounting-patch-item.d.ts.map} +1 -1
  56. package/esm/funcs/{items-modify.js → accounting-patch-item.js} +2 -2
  57. package/esm/funcs/accounting-patch-item.js.map +1 -0
  58. package/esm/funcs/{bills-get-line-items.d.ts → accounting-patch-line-item.d.ts} +2 -2
  59. package/esm/funcs/accounting-patch-line-item.d.ts.map +1 -0
  60. package/esm/funcs/{accounting-invoices-update-line-item.js → accounting-patch-line-item.js} +2 -2
  61. package/esm/funcs/accounting-patch-line-item.js.map +1 -0
  62. package/esm/funcs/{bills-update.d.ts → accounting-update-bill.d.ts} +2 -2
  63. package/esm/funcs/accounting-update-bill.d.ts.map +1 -0
  64. package/esm/funcs/{bills-update.js → accounting-update-bill.js} +2 -2
  65. package/esm/funcs/accounting-update-bill.js.map +1 -0
  66. package/esm/funcs/{files-get-document-extensions.d.ts → accounting-v2-create-booking-proposal-v2.d.ts} +2 -2
  67. package/esm/funcs/accounting-v2-create-booking-proposal-v2.d.ts.map +1 -0
  68. package/esm/funcs/{accounting-v2-create-booking-proposal.js → accounting-v2-create-booking-proposal-v2.js} +2 -2
  69. package/esm/funcs/accounting-v2-create-booking-proposal-v2.js.map +1 -0
  70. package/esm/funcs/accounting-v2-create-contact-v2.d.ts +11 -0
  71. package/esm/funcs/accounting-v2-create-contact-v2.d.ts.map +1 -0
  72. package/esm/funcs/{accounting-v2-create-contact.js → accounting-v2-create-contact-v2.js} +2 -2
  73. package/esm/funcs/accounting-v2-create-contact-v2.js.map +1 -0
  74. package/esm/funcs/accounting-v2-get-contact-v2.d.ts +11 -0
  75. package/esm/funcs/{goods-receipts-get-line-item.d.ts.map → accounting-v2-get-contact-v2.d.ts.map} +1 -1
  76. package/esm/funcs/{contacts-v2-get.js → accounting-v2-get-contact-v2.js} +2 -2
  77. package/esm/funcs/{contacts-v2-list.js.map → accounting-v2-get-contact-v2.js.map} +1 -1
  78. package/esm/funcs/{journal-entries-create-bulk.d.ts → accounting-v2-get-contacts-v2.d.ts} +2 -2
  79. package/esm/funcs/{files-get-document-extensions.d.ts.map → accounting-v2-get-contacts-v2.d.ts.map} +1 -1
  80. package/esm/funcs/{contacts-v2-list.js → accounting-v2-get-contacts-v2.js} +2 -2
  81. package/esm/funcs/accounting-v2-get-contacts-v2.js.map +1 -0
  82. package/esm/funcs/accounting-v2-get-dimensions-by-dimension.d.ts +11 -0
  83. package/esm/funcs/accounting-v2-get-dimensions-by-dimension.d.ts.map +1 -0
  84. package/esm/funcs/{accounting-v2-get-dimension.js → accounting-v2-get-dimensions-by-dimension.js} +2 -2
  85. package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js.map +1 -0
  86. package/esm/funcs/{accounting-v2-contacts-update.d.ts → accounting-v2-patch-contact-v2.d.ts} +2 -2
  87. package/esm/funcs/accounting-v2-patch-contact-v2.d.ts.map +1 -0
  88. package/esm/funcs/{accounting-v2-contacts-update.js → accounting-v2-patch-contact-v2.js} +2 -2
  89. package/esm/funcs/accounting-v2-patch-contact-v2.js.map +1 -0
  90. package/esm/lib/config.d.ts +2 -2
  91. package/esm/lib/config.js +2 -2
  92. package/esm/models/operations/get-accounts.d.ts +11 -1
  93. package/esm/models/operations/get-accounts.d.ts.map +1 -1
  94. package/esm/models/operations/get-accounts.js +10 -1
  95. package/esm/models/operations/get-accounts.js.map +1 -1
  96. package/esm/models/operations/get-async-task-info.d.ts +12 -1
  97. package/esm/models/operations/get-async-task-info.d.ts.map +1 -1
  98. package/esm/models/operations/get-async-task-info.js +10 -1
  99. package/esm/models/operations/get-async-task-info.js.map +1 -1
  100. package/esm/models/operations/get-bank-accounts.d.ts +12 -1
  101. package/esm/models/operations/get-bank-accounts.d.ts.map +1 -1
  102. package/esm/models/operations/get-bank-accounts.js +10 -1
  103. package/esm/models/operations/get-bank-accounts.js.map +1 -1
  104. package/esm/models/operations/get-bills.d.ts +11 -1
  105. package/esm/models/operations/get-bills.d.ts.map +1 -1
  106. package/esm/models/operations/get-bills.js +10 -1
  107. package/esm/models/operations/get-bills.js.map +1 -1
  108. package/esm/models/operations/get-booking-proposals.d.ts +11 -1
  109. package/esm/models/operations/get-booking-proposals.d.ts.map +1 -1
  110. package/esm/models/operations/get-booking-proposals.js +10 -1
  111. package/esm/models/operations/get-booking-proposals.js.map +1 -1
  112. package/esm/models/operations/get-contacts-v2.d.ts +12 -1
  113. package/esm/models/operations/get-contacts-v2.d.ts.map +1 -1
  114. package/esm/models/operations/get-contacts-v2.js +10 -1
  115. package/esm/models/operations/get-contacts-v2.js.map +1 -1
  116. package/esm/models/operations/get-contacts.d.ts +12 -1
  117. package/esm/models/operations/get-contacts.d.ts.map +1 -1
  118. package/esm/models/operations/get-contacts.js +10 -1
  119. package/esm/models/operations/get-contacts.js.map +1 -1
  120. package/esm/models/operations/get-credit-notes.d.ts +12 -1
  121. package/esm/models/operations/get-credit-notes.d.ts.map +1 -1
  122. package/esm/models/operations/get-credit-notes.js +10 -1
  123. package/esm/models/operations/get-credit-notes.js.map +1 -1
  124. package/esm/models/operations/get-customers.d.ts +12 -1
  125. package/esm/models/operations/get-customers.d.ts.map +1 -1
  126. package/esm/models/operations/get-customers.js +10 -1
  127. package/esm/models/operations/get-customers.js.map +1 -1
  128. package/esm/models/operations/get-dimensions-by-dimension.d.ts +12 -1
  129. package/esm/models/operations/get-dimensions-by-dimension.d.ts.map +1 -1
  130. package/esm/models/operations/get-dimensions-by-dimension.js +10 -1
  131. package/esm/models/operations/get-dimensions-by-dimension.js.map +1 -1
  132. package/esm/models/operations/get-dimensions.d.ts +12 -1
  133. package/esm/models/operations/get-dimensions.d.ts.map +1 -1
  134. package/esm/models/operations/get-dimensions.js +10 -1
  135. package/esm/models/operations/get-dimensions.js.map +1 -1
  136. package/esm/models/operations/get-expenses.d.ts +12 -1
  137. package/esm/models/operations/get-expenses.d.ts.map +1 -1
  138. package/esm/models/operations/get-expenses.js +10 -1
  139. package/esm/models/operations/get-expenses.js.map +1 -1
  140. package/esm/models/operations/get-goods-receipts.d.ts +12 -1
  141. package/esm/models/operations/get-goods-receipts.d.ts.map +1 -1
  142. package/esm/models/operations/get-goods-receipts.js +10 -1
  143. package/esm/models/operations/get-goods-receipts.js.map +1 -1
  144. package/esm/models/operations/get-invoices.d.ts +11 -1
  145. package/esm/models/operations/get-invoices.d.ts.map +1 -1
  146. package/esm/models/operations/get-invoices.js +10 -1
  147. package/esm/models/operations/get-invoices.js.map +1 -1
  148. package/esm/models/operations/get-items.d.ts +12 -1
  149. package/esm/models/operations/get-items.d.ts.map +1 -1
  150. package/esm/models/operations/get-items.js +10 -1
  151. package/esm/models/operations/get-items.js.map +1 -1
  152. package/esm/models/operations/get-journal-entries.d.ts +12 -1
  153. package/esm/models/operations/get-journal-entries.d.ts.map +1 -1
  154. package/esm/models/operations/get-journal-entries.js +10 -1
  155. package/esm/models/operations/get-journal-entries.js.map +1 -1
  156. package/esm/models/operations/get-journals.d.ts +12 -1
  157. package/esm/models/operations/get-journals.d.ts.map +1 -1
  158. package/esm/models/operations/get-journals.js +10 -1
  159. package/esm/models/operations/get-journals.js.map +1 -1
  160. package/esm/models/operations/get-line-items.d.ts +12 -1
  161. package/esm/models/operations/get-line-items.d.ts.map +1 -1
  162. package/esm/models/operations/get-line-items.js +10 -1
  163. package/esm/models/operations/get-line-items.js.map +1 -1
  164. package/esm/models/operations/get-offer-line-items.d.ts +12 -1
  165. package/esm/models/operations/get-offer-line-items.d.ts.map +1 -1
  166. package/esm/models/operations/get-offer-line-items.js +10 -1
  167. package/esm/models/operations/get-offer-line-items.js.map +1 -1
  168. package/esm/models/operations/get-offers.d.ts +11 -1
  169. package/esm/models/operations/get-offers.d.ts.map +1 -1
  170. package/esm/models/operations/get-offers.js +10 -1
  171. package/esm/models/operations/get-offers.js.map +1 -1
  172. package/esm/models/operations/get-open-items.d.ts +12 -1
  173. package/esm/models/operations/get-open-items.d.ts.map +1 -1
  174. package/esm/models/operations/get-open-items.js +10 -1
  175. package/esm/models/operations/get-open-items.js.map +1 -1
  176. package/esm/models/operations/get-payment-terms.d.ts +12 -1
  177. package/esm/models/operations/get-payment-terms.d.ts.map +1 -1
  178. package/esm/models/operations/get-payment-terms.js +10 -1
  179. package/esm/models/operations/get-payment-terms.js.map +1 -1
  180. package/esm/models/operations/get-payments.d.ts +12 -1
  181. package/esm/models/operations/get-payments.d.ts.map +1 -1
  182. package/esm/models/operations/get-payments.js +10 -1
  183. package/esm/models/operations/get-payments.js.map +1 -1
  184. package/esm/models/operations/get-projects.d.ts +12 -1
  185. package/esm/models/operations/get-projects.d.ts.map +1 -1
  186. package/esm/models/operations/get-projects.js +10 -1
  187. package/esm/models/operations/get-projects.js.map +1 -1
  188. package/esm/models/operations/get-purchase-orders.d.ts +12 -1
  189. package/esm/models/operations/get-purchase-orders.d.ts.map +1 -1
  190. package/esm/models/operations/get-purchase-orders.js +10 -1
  191. package/esm/models/operations/get-purchase-orders.js.map +1 -1
  192. package/esm/models/operations/get-sales-order-lines.d.ts +12 -1
  193. package/esm/models/operations/get-sales-order-lines.d.ts.map +1 -1
  194. package/esm/models/operations/get-sales-order-lines.js +10 -1
  195. package/esm/models/operations/get-sales-order-lines.js.map +1 -1
  196. package/esm/models/operations/get-sales-orders.d.ts +11 -1
  197. package/esm/models/operations/get-sales-orders.d.ts.map +1 -1
  198. package/esm/models/operations/get-sales-orders.js +10 -1
  199. package/esm/models/operations/get-sales-orders.js.map +1 -1
  200. package/esm/models/operations/get-suppliers.d.ts +12 -1
  201. package/esm/models/operations/get-suppliers.d.ts.map +1 -1
  202. package/esm/models/operations/get-suppliers.js +10 -1
  203. package/esm/models/operations/get-suppliers.js.map +1 -1
  204. package/esm/models/operations/get-tax-rates.d.ts +12 -1
  205. package/esm/models/operations/get-tax-rates.d.ts.map +1 -1
  206. package/esm/models/operations/get-tax-rates.js +10 -1
  207. package/esm/models/operations/get-tax-rates.js.map +1 -1
  208. package/esm/models/operations/get-trial-balance.d.ts +12 -1
  209. package/esm/models/operations/get-trial-balance.d.ts.map +1 -1
  210. package/esm/models/operations/get-trial-balance.js +10 -1
  211. package/esm/models/operations/get-trial-balance.js.map +1 -1
  212. package/esm/models/operations/get-units.d.ts +12 -1
  213. package/esm/models/operations/get-units.d.ts.map +1 -1
  214. package/esm/models/operations/get-units.js +10 -1
  215. package/esm/models/operations/get-units.js.map +1 -1
  216. package/esm/models/operations/get-vendor-credits.d.ts +11 -1
  217. package/esm/models/operations/get-vendor-credits.d.ts.map +1 -1
  218. package/esm/models/operations/get-vendor-credits.js +10 -1
  219. package/esm/models/operations/get-vendor-credits.js.map +1 -1
  220. package/esm/sdk/accounting-v2.d.ts +6 -2
  221. package/esm/sdk/accounting-v2.d.ts.map +1 -1
  222. package/esm/sdk/accounting-v2.js +22 -6
  223. package/esm/sdk/accounting-v2.js.map +1 -1
  224. package/esm/sdk/accounting.d.ts +16 -12
  225. package/esm/sdk/accounting.d.ts.map +1 -1
  226. package/esm/sdk/accounting.js +64 -20
  227. package/esm/sdk/accounting.js.map +1 -1
  228. package/esm/sdk/sdk.d.ts +0 -36
  229. package/esm/sdk/sdk.d.ts.map +1 -1
  230. package/esm/sdk/sdk.js +0 -60
  231. package/esm/sdk/sdk.js.map +1 -1
  232. package/jsr.json +1 -1
  233. package/package.json +1 -1
  234. package/src/funcs/{accounting-bills-add-line-item.ts → accounting-create-bill-line-item.ts} +1 -1
  235. package/src/funcs/{items-create.ts → accounting-create-item.ts} +1 -1
  236. package/src/funcs/{journal-entries-create-bulk.ts → accounting-create-journal-entries.ts} +1 -1
  237. package/src/funcs/{vendor-credits-delete.ts → accounting-delete-vendor-credit.ts} +1 -1
  238. package/src/funcs/{bills-get-line-items.ts → accounting-get-bill-line-items.ts} +1 -1
  239. package/src/funcs/{files-get-document-extensions.ts → accounting-get-document-extensions.ts} +1 -1
  240. package/src/funcs/{fiscal-years-get.ts → accounting-get-fiscal-year.ts} +1 -1
  241. package/src/funcs/{goods-receipts-get-line-item.ts → accounting-get-goods-receipt-line-item.ts} +1 -1
  242. package/src/funcs/{journal-entry-attachments-get-by-id.ts → accounting-get-journal-entry-attachment-by-id.ts} +1 -1
  243. package/src/funcs/{accounting-journal-entries-get-attachments.ts → accounting-get-journal-entry-attachments.ts} +1 -1
  244. package/src/funcs/{offers-get-document.ts → accounting-get-offer-document.ts} +1 -1
  245. package/src/funcs/{purchase-orders-list.ts → accounting-get-purchase-orders.ts} +1 -1
  246. package/src/funcs/{contacts-patch.ts → accounting-patch-contact.ts} +1 -1
  247. package/src/funcs/{items-modify.ts → accounting-patch-item.ts} +1 -1
  248. package/src/funcs/{accounting-invoices-update-line-item.ts → accounting-patch-line-item.ts} +1 -1
  249. package/src/funcs/{bills-update.ts → accounting-update-bill.ts} +1 -1
  250. package/src/funcs/{accounting-v2-create-booking-proposal.ts → accounting-v2-create-booking-proposal-v2.ts} +1 -1
  251. package/src/funcs/{accounting-v2-create-contact.ts → accounting-v2-create-contact-v2.ts} +1 -1
  252. package/src/funcs/{contacts-v2-get.ts → accounting-v2-get-contact-v2.ts} +1 -1
  253. package/src/funcs/{contacts-v2-list.ts → accounting-v2-get-contacts-v2.ts} +1 -1
  254. package/src/funcs/{accounting-v2-get-dimension.ts → accounting-v2-get-dimensions-by-dimension.ts} +1 -1
  255. package/src/funcs/{accounting-v2-contacts-update.ts → accounting-v2-patch-contact-v2.ts} +1 -1
  256. package/src/lib/config.ts +2 -2
  257. package/src/models/operations/get-accounts.ts +16 -2
  258. package/src/models/operations/get-async-task-info.ts +17 -2
  259. package/src/models/operations/get-bank-accounts.ts +17 -2
  260. package/src/models/operations/get-bills.ts +15 -2
  261. package/src/models/operations/get-booking-proposals.ts +18 -2
  262. package/src/models/operations/get-contacts-v2.ts +17 -2
  263. package/src/models/operations/get-contacts.ts +17 -2
  264. package/src/models/operations/get-credit-notes.ts +17 -2
  265. package/src/models/operations/get-customers.ts +17 -2
  266. package/src/models/operations/get-dimensions-by-dimension.ts +19 -2
  267. package/src/models/operations/get-dimensions.ts +17 -2
  268. package/src/models/operations/get-expenses.ts +17 -2
  269. package/src/models/operations/get-goods-receipts.ts +17 -2
  270. package/src/models/operations/get-invoices.ts +16 -2
  271. package/src/models/operations/get-items.ts +16 -2
  272. package/src/models/operations/get-journal-entries.ts +17 -2
  273. package/src/models/operations/get-journals.ts +17 -2
  274. package/src/models/operations/get-line-items.ts +17 -2
  275. package/src/models/operations/get-offer-line-items.ts +17 -2
  276. package/src/models/operations/get-offers.ts +16 -2
  277. package/src/models/operations/get-open-items.ts +17 -2
  278. package/src/models/operations/get-payment-terms.ts +17 -2
  279. package/src/models/operations/get-payments.ts +17 -2
  280. package/src/models/operations/get-projects.ts +17 -2
  281. package/src/models/operations/get-purchase-orders.ts +17 -2
  282. package/src/models/operations/get-sales-order-lines.ts +19 -2
  283. package/src/models/operations/get-sales-orders.ts +16 -2
  284. package/src/models/operations/get-suppliers.ts +17 -2
  285. package/src/models/operations/get-tax-rates.ts +17 -2
  286. package/src/models/operations/get-trial-balance.ts +17 -2
  287. package/src/models/operations/get-units.ts +16 -2
  288. package/src/models/operations/get-vendor-credits.ts +16 -2
  289. package/src/sdk/accounting-v2.ts +54 -6
  290. package/src/sdk/accounting.ts +192 -26
  291. package/src/sdk/sdk.ts +0 -74
  292. package/esm/funcs/accounting-bills-add-line-item.js.map +0 -1
  293. package/esm/funcs/accounting-invoices-update-line-item.d.ts.map +0 -1
  294. package/esm/funcs/accounting-invoices-update-line-item.js.map +0 -1
  295. package/esm/funcs/accounting-journal-entries-get-attachments.d.ts.map +0 -1
  296. package/esm/funcs/accounting-journal-entries-get-attachments.js.map +0 -1
  297. package/esm/funcs/accounting-v2-contacts-update.js.map +0 -1
  298. package/esm/funcs/accounting-v2-create-booking-proposal.d.ts.map +0 -1
  299. package/esm/funcs/accounting-v2-create-booking-proposal.js.map +0 -1
  300. package/esm/funcs/accounting-v2-create-contact.d.ts.map +0 -1
  301. package/esm/funcs/accounting-v2-create-contact.js.map +0 -1
  302. package/esm/funcs/accounting-v2-get-dimension.d.ts +0 -11
  303. package/esm/funcs/accounting-v2-get-dimension.d.ts.map +0 -1
  304. package/esm/funcs/accounting-v2-get-dimension.js.map +0 -1
  305. package/esm/funcs/bills-get-line-items.d.ts.map +0 -1
  306. package/esm/funcs/bills-get-line-items.js.map +0 -1
  307. package/esm/funcs/bills-update.d.ts.map +0 -1
  308. package/esm/funcs/bills-update.js.map +0 -1
  309. package/esm/funcs/contacts-patch.d.ts.map +0 -1
  310. package/esm/funcs/contacts-patch.js.map +0 -1
  311. package/esm/funcs/contacts-v2-get.d.ts.map +0 -1
  312. package/esm/funcs/contacts-v2-get.js.map +0 -1
  313. package/esm/funcs/contacts-v2-list.d.ts +0 -11
  314. package/esm/funcs/contacts-v2-list.d.ts.map +0 -1
  315. package/esm/funcs/files-get-document-extensions.js.map +0 -1
  316. package/esm/funcs/fiscal-years-get.d.ts.map +0 -1
  317. package/esm/funcs/fiscal-years-get.js.map +0 -1
  318. package/esm/funcs/goods-receipts-get-line-item.js.map +0 -1
  319. package/esm/funcs/items-create.d.ts +0 -11
  320. package/esm/funcs/items-create.d.ts.map +0 -1
  321. package/esm/funcs/items-create.js.map +0 -1
  322. package/esm/funcs/items-modify.d.ts +0 -11
  323. package/esm/funcs/items-modify.d.ts.map +0 -1
  324. package/esm/funcs/items-modify.js.map +0 -1
  325. package/esm/funcs/journal-entries-create-bulk.d.ts.map +0 -1
  326. package/esm/funcs/journal-entries-create-bulk.js.map +0 -1
  327. package/esm/funcs/journal-entry-attachments-get-by-id.d.ts.map +0 -1
  328. package/esm/funcs/journal-entry-attachments-get-by-id.js.map +0 -1
  329. package/esm/funcs/offers-get-document.d.ts.map +0 -1
  330. package/esm/funcs/offers-get-document.js.map +0 -1
  331. package/esm/funcs/purchase-orders-list.d.ts +0 -11
  332. package/esm/funcs/purchase-orders-list.d.ts.map +0 -1
  333. package/esm/funcs/purchase-orders-list.js.map +0 -1
  334. package/esm/funcs/vendor-credits-delete.d.ts +0 -11
  335. package/esm/funcs/vendor-credits-delete.js.map +0 -1
  336. package/esm/sdk/accounting-bills.d.ts +0 -6
  337. package/esm/sdk/accounting-bills.d.ts.map +0 -1
  338. package/esm/sdk/accounting-bills.js +0 -12
  339. package/esm/sdk/accounting-bills.js.map +0 -1
  340. package/esm/sdk/accounting-journal-entries.d.ts +0 -6
  341. package/esm/sdk/accounting-journal-entries.d.ts.map +0 -1
  342. package/esm/sdk/accounting-journal-entries.js +0 -12
  343. package/esm/sdk/accounting-journal-entries.js.map +0 -1
  344. package/esm/sdk/bills.d.ts +0 -7
  345. package/esm/sdk/bills.d.ts.map +0 -1
  346. package/esm/sdk/bills.js +0 -16
  347. package/esm/sdk/bills.js.map +0 -1
  348. package/esm/sdk/contacts-v2.d.ts +0 -7
  349. package/esm/sdk/contacts-v2.d.ts.map +0 -1
  350. package/esm/sdk/contacts-v2.js +0 -16
  351. package/esm/sdk/contacts-v2.js.map +0 -1
  352. package/esm/sdk/contacts.d.ts +0 -6
  353. package/esm/sdk/contacts.d.ts.map +0 -1
  354. package/esm/sdk/contacts.js +0 -12
  355. package/esm/sdk/contacts.js.map +0 -1
  356. package/esm/sdk/files.d.ts +0 -6
  357. package/esm/sdk/files.d.ts.map +0 -1
  358. package/esm/sdk/files.js +0 -12
  359. package/esm/sdk/files.js.map +0 -1
  360. package/esm/sdk/fiscal-years.d.ts +0 -6
  361. package/esm/sdk/fiscal-years.d.ts.map +0 -1
  362. package/esm/sdk/fiscal-years.js +0 -12
  363. package/esm/sdk/fiscal-years.js.map +0 -1
  364. package/esm/sdk/goods-receipts.d.ts +0 -6
  365. package/esm/sdk/goods-receipts.d.ts.map +0 -1
  366. package/esm/sdk/goods-receipts.js +0 -12
  367. package/esm/sdk/goods-receipts.js.map +0 -1
  368. package/esm/sdk/invoices.d.ts +0 -6
  369. package/esm/sdk/invoices.d.ts.map +0 -1
  370. package/esm/sdk/invoices.js +0 -12
  371. package/esm/sdk/invoices.js.map +0 -1
  372. package/esm/sdk/items.d.ts +0 -7
  373. package/esm/sdk/items.d.ts.map +0 -1
  374. package/esm/sdk/items.js +0 -16
  375. package/esm/sdk/items.js.map +0 -1
  376. package/esm/sdk/journal-entries.d.ts +0 -6
  377. package/esm/sdk/journal-entries.d.ts.map +0 -1
  378. package/esm/sdk/journal-entries.js +0 -12
  379. package/esm/sdk/journal-entries.js.map +0 -1
  380. package/esm/sdk/journal-entry-attachments.d.ts +0 -6
  381. package/esm/sdk/journal-entry-attachments.d.ts.map +0 -1
  382. package/esm/sdk/journal-entry-attachments.js +0 -12
  383. package/esm/sdk/journal-entry-attachments.js.map +0 -1
  384. package/esm/sdk/offers.d.ts +0 -6
  385. package/esm/sdk/offers.d.ts.map +0 -1
  386. package/esm/sdk/offers.js +0 -12
  387. package/esm/sdk/offers.js.map +0 -1
  388. package/esm/sdk/purchase-orders.d.ts +0 -6
  389. package/esm/sdk/purchase-orders.d.ts.map +0 -1
  390. package/esm/sdk/purchase-orders.js +0 -12
  391. package/esm/sdk/purchase-orders.js.map +0 -1
  392. package/esm/sdk/v2-contacts.d.ts +0 -6
  393. package/esm/sdk/v2-contacts.d.ts.map +0 -1
  394. package/esm/sdk/v2-contacts.js +0 -12
  395. package/esm/sdk/v2-contacts.js.map +0 -1
  396. package/esm/sdk/v2.d.ts +0 -9
  397. package/esm/sdk/v2.d.ts.map +0 -1
  398. package/esm/sdk/v2.js +0 -17
  399. package/esm/sdk/v2.js.map +0 -1
  400. package/esm/sdk/vendor-credits.d.ts +0 -6
  401. package/esm/sdk/vendor-credits.d.ts.map +0 -1
  402. package/esm/sdk/vendor-credits.js +0 -12
  403. package/esm/sdk/vendor-credits.js.map +0 -1
  404. package/src/sdk/accounting-bills.ts +0 -21
  405. package/src/sdk/accounting-journal-entries.ts +0 -21
  406. package/src/sdk/bills.ts +0 -33
  407. package/src/sdk/contacts-v2.ts +0 -33
  408. package/src/sdk/contacts.ts +0 -21
  409. package/src/sdk/files.ts +0 -21
  410. package/src/sdk/fiscal-years.ts +0 -21
  411. package/src/sdk/goods-receipts.ts +0 -21
  412. package/src/sdk/invoices.ts +0 -21
  413. package/src/sdk/items.ts +0 -33
  414. package/src/sdk/journal-entries.ts +0 -21
  415. package/src/sdk/journal-entry-attachments.ts +0 -21
  416. package/src/sdk/offers.ts +0 -21
  417. package/src/sdk/purchase-orders.ts +0 -21
  418. package/src/sdk/v2-contacts.ts +0 -21
  419. package/src/sdk/v2.ts +0 -27
  420. package/src/sdk/vendor-credits.ts +0 -21
@@ -4,15 +4,25 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as types from "../../types/primitives.js";
9
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
11
  import * as models from "../index.js";
11
12
 
13
+ export const GetOfferLineItemsLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetOfferLineItemsLimit = ClosedEnum<typeof GetOfferLineItemsLimit>;
21
+
12
22
  export type GetOfferLineItemsRequest = {
13
23
  offerId: string;
14
24
  page?: number | undefined;
15
- limit?: number | undefined;
25
+ limit?: GetOfferLineItemsLimit | undefined;
16
26
  /**
17
27
  * ISO 8601 timestamp; only records modified after this date are returned
18
28
  */
@@ -57,6 +67,11 @@ export type GetOfferLineItemsResponse = {
57
67
  rawData: GetOfferLineItemsRawData | null;
58
68
  };
59
69
 
70
+ /** @internal */
71
+ export const GetOfferLineItemsLimit$outboundSchema: z.ZodMiniEnum<
72
+ typeof GetOfferLineItemsLimit
73
+ > = z.enum(GetOfferLineItemsLimit);
74
+
60
75
  /** @internal */
61
76
  export type GetOfferLineItemsRequest$Outbound = {
62
77
  offerId: string;
@@ -75,7 +90,7 @@ export const GetOfferLineItemsRequest$outboundSchema: z.ZodMiniType<
75
90
  > = z.object({
76
91
  offerId: z.string(),
77
92
  page: z.optional(z.number()),
78
- limit: z.optional(z.number()),
93
+ limit: z.optional(GetOfferLineItemsLimit$outboundSchema),
79
94
  lastModifiedAt: z.optional(z.string()),
80
95
  environmentName: z.optional(z.string()),
81
96
  companyId: z.optional(z.string()),
@@ -10,6 +10,15 @@ import * as types from "../../types/primitives.js";
10
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
11
11
  import * as models from "../index.js";
12
12
 
13
+ export const GetOffersLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetOffersLimit = ClosedEnum<typeof GetOffersLimit>;
21
+
13
22
  /**
14
23
  * Filter offers by unified status
15
24
  */
@@ -28,7 +37,7 @@ export type GetOffersStatus = ClosedEnum<typeof GetOffersStatus>;
28
37
 
29
38
  export type GetOffersRequest = {
30
39
  page?: number | undefined;
31
- limit?: number | undefined;
40
+ limit?: GetOffersLimit | undefined;
32
41
  /**
33
42
  * ISO 8601 timestamp; only records modified after this date are returned
34
43
  */
@@ -77,6 +86,11 @@ export type GetOffersResponse = {
77
86
  rawData: GetOffersRawData | null;
78
87
  };
79
88
 
89
+ /** @internal */
90
+ export const GetOffersLimit$outboundSchema: z.ZodMiniEnum<
91
+ typeof GetOffersLimit
92
+ > = z.enum(GetOffersLimit);
93
+
80
94
  /** @internal */
81
95
  export const GetOffersStatus$outboundSchema: z.ZodMiniEnum<
82
96
  typeof GetOffersStatus
@@ -99,7 +113,7 @@ export const GetOffersRequest$outboundSchema: z.ZodMiniType<
99
113
  GetOffersRequest
100
114
  > = z.object({
101
115
  page: z.optional(z.number()),
102
- limit: z.optional(z.number()),
116
+ limit: z.optional(GetOffersLimit$outboundSchema),
103
117
  lastModifiedAt: z.optional(z.string()),
104
118
  environmentName: z.optional(z.string()),
105
119
  companyId: z.optional(z.string()),
@@ -4,14 +4,24 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as types from "../../types/primitives.js";
9
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
11
  import * as models from "../index.js";
11
12
 
13
+ export const GetOpenItemsLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetOpenItemsLimit = ClosedEnum<typeof GetOpenItemsLimit>;
21
+
12
22
  export type GetOpenItemsRequest = {
13
23
  page?: number | undefined;
14
- limit?: number | undefined;
24
+ limit?: GetOpenItemsLimit | undefined;
15
25
  /**
16
26
  * ISO 8601 timestamp; only records modified after this date are returned
17
27
  */
@@ -72,6 +82,11 @@ export type GetOpenItemsResponse = {
72
82
  rawData: GetOpenItemsRawData | null;
73
83
  };
74
84
 
85
+ /** @internal */
86
+ export const GetOpenItemsLimit$outboundSchema: z.ZodMiniEnum<
87
+ typeof GetOpenItemsLimit
88
+ > = z.enum(GetOpenItemsLimit);
89
+
75
90
  /** @internal */
76
91
  export type GetOpenItemsRequest$Outbound = {
77
92
  page?: number | undefined;
@@ -92,7 +107,7 @@ export const GetOpenItemsRequest$outboundSchema: z.ZodMiniType<
92
107
  GetOpenItemsRequest
93
108
  > = z.object({
94
109
  page: z.optional(z.number()),
95
- limit: z.optional(z.number()),
110
+ limit: z.optional(GetOpenItemsLimit$outboundSchema),
96
111
  lastModifiedAt: z.optional(z.string()),
97
112
  environmentName: z.optional(z.string()),
98
113
  companyId: z.optional(z.string()),
@@ -4,14 +4,24 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as types from "../../types/primitives.js";
9
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
11
  import * as models from "../index.js";
11
12
 
13
+ export const GetPaymentTermsLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetPaymentTermsLimit = ClosedEnum<typeof GetPaymentTermsLimit>;
21
+
12
22
  export type GetPaymentTermsRequest = {
13
23
  page?: number | undefined;
14
- limit?: number | undefined;
24
+ limit?: GetPaymentTermsLimit | undefined;
15
25
  /**
16
26
  * ISO 8601 timestamp; only records modified after this date are returned
17
27
  */
@@ -64,6 +74,11 @@ export type GetPaymentTermsResponse = {
64
74
  rawData: GetPaymentTermsRawData | null;
65
75
  };
66
76
 
77
+ /** @internal */
78
+ export const GetPaymentTermsLimit$outboundSchema: z.ZodMiniEnum<
79
+ typeof GetPaymentTermsLimit
80
+ > = z.enum(GetPaymentTermsLimit);
81
+
67
82
  /** @internal */
68
83
  export type GetPaymentTermsRequest$Outbound = {
69
84
  page?: number | undefined;
@@ -82,7 +97,7 @@ export const GetPaymentTermsRequest$outboundSchema: z.ZodMiniType<
82
97
  GetPaymentTermsRequest
83
98
  > = z.object({
84
99
  page: z.optional(z.number()),
85
- limit: z.optional(z.number()),
100
+ limit: z.optional(GetPaymentTermsLimit$outboundSchema),
86
101
  lastModifiedAt: z.optional(z.string()),
87
102
  environmentName: z.optional(z.string()),
88
103
  companyId: z.optional(z.string()),
@@ -4,14 +4,24 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as types from "../../types/primitives.js";
9
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
11
  import * as models from "../index.js";
11
12
 
13
+ export const GetPaymentsLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetPaymentsLimit = ClosedEnum<typeof GetPaymentsLimit>;
21
+
12
22
  export type GetPaymentsRequest = {
13
23
  page?: number | undefined;
14
- limit?: number | undefined;
24
+ limit?: GetPaymentsLimit | undefined;
15
25
  /**
16
26
  * Environment name (required for multi-environment systems such as Business Central)
17
27
  */
@@ -60,6 +70,11 @@ export type GetPaymentsResponse = {
60
70
  rawData: GetPaymentsRawData | null;
61
71
  };
62
72
 
73
+ /** @internal */
74
+ export const GetPaymentsLimit$outboundSchema: z.ZodMiniEnum<
75
+ typeof GetPaymentsLimit
76
+ > = z.enum(GetPaymentsLimit);
77
+
63
78
  /** @internal */
64
79
  export type GetPaymentsRequest$Outbound = {
65
80
  page?: number | undefined;
@@ -77,7 +92,7 @@ export const GetPaymentsRequest$outboundSchema: z.ZodMiniType<
77
92
  GetPaymentsRequest
78
93
  > = z.object({
79
94
  page: z.optional(z.number()),
80
- limit: z.optional(z.number()),
95
+ limit: z.optional(GetPaymentsLimit$outboundSchema),
81
96
  environmentName: z.optional(z.string()),
82
97
  companyId: z.optional(z.string()),
83
98
  lastModifiedAt: z.optional(z.string()),
@@ -4,14 +4,24 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as types from "../../types/primitives.js";
9
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
11
  import * as models from "../index.js";
11
12
 
13
+ export const GetProjectsLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetProjectsLimit = ClosedEnum<typeof GetProjectsLimit>;
21
+
12
22
  export type GetProjectsRequest = {
13
23
  page?: number | undefined;
14
- limit?: number | undefined;
24
+ limit?: GetProjectsLimit | undefined;
15
25
  /**
16
26
  * ISO 8601 timestamp; only records modified after this date are returned
17
27
  */
@@ -56,6 +66,11 @@ export type GetProjectsResponse = {
56
66
  rawData: GetProjectsRawData | null;
57
67
  };
58
68
 
69
+ /** @internal */
70
+ export const GetProjectsLimit$outboundSchema: z.ZodMiniEnum<
71
+ typeof GetProjectsLimit
72
+ > = z.enum(GetProjectsLimit);
73
+
59
74
  /** @internal */
60
75
  export type GetProjectsRequest$Outbound = {
61
76
  page?: number | undefined;
@@ -72,7 +87,7 @@ export const GetProjectsRequest$outboundSchema: z.ZodMiniType<
72
87
  GetProjectsRequest
73
88
  > = z.object({
74
89
  page: z.optional(z.number()),
75
- limit: z.optional(z.number()),
90
+ limit: z.optional(GetProjectsLimit$outboundSchema),
76
91
  lastModifiedAt: z.optional(z.string()),
77
92
  environmentName: z.optional(z.string()),
78
93
  companyId: z.optional(z.string()),
@@ -4,14 +4,24 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as types from "../../types/primitives.js";
9
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
11
  import * as models from "../index.js";
11
12
 
13
+ export const GetPurchaseOrdersLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetPurchaseOrdersLimit = ClosedEnum<typeof GetPurchaseOrdersLimit>;
21
+
12
22
  export type GetPurchaseOrdersRequest = {
13
23
  page?: number | undefined;
14
- limit?: number | undefined;
24
+ limit?: GetPurchaseOrdersLimit | undefined;
15
25
  /**
16
26
  * ISO 8601 timestamp; only records modified after this date are returned
17
27
  */
@@ -56,6 +66,11 @@ export type GetPurchaseOrdersResponse = {
56
66
  rawData: GetPurchaseOrdersRawData | null;
57
67
  };
58
68
 
69
+ /** @internal */
70
+ export const GetPurchaseOrdersLimit$outboundSchema: z.ZodMiniEnum<
71
+ typeof GetPurchaseOrdersLimit
72
+ > = z.enum(GetPurchaseOrdersLimit);
73
+
59
74
  /** @internal */
60
75
  export type GetPurchaseOrdersRequest$Outbound = {
61
76
  page?: number | undefined;
@@ -72,7 +87,7 @@ export const GetPurchaseOrdersRequest$outboundSchema: z.ZodMiniType<
72
87
  GetPurchaseOrdersRequest
73
88
  > = z.object({
74
89
  page: z.optional(z.number()),
75
- limit: z.optional(z.number()),
90
+ limit: z.optional(GetPurchaseOrdersLimit$outboundSchema),
76
91
  lastModifiedAt: z.optional(z.string()),
77
92
  environmentName: z.optional(z.string()),
78
93
  companyId: z.optional(z.string()),
@@ -4,15 +4,27 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as types from "../../types/primitives.js";
9
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
11
  import * as models from "../index.js";
11
12
 
13
+ export const GetSalesOrderLinesLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetSalesOrderLinesLimit = ClosedEnum<
21
+ typeof GetSalesOrderLinesLimit
22
+ >;
23
+
12
24
  export type GetSalesOrderLinesRequest = {
13
25
  salesOrderId: string;
14
26
  page?: number | undefined;
15
- limit?: number | undefined;
27
+ limit?: GetSalesOrderLinesLimit | undefined;
16
28
  /**
17
29
  * ISO 8601 timestamp; only records modified after this date are returned
18
30
  */
@@ -57,6 +69,11 @@ export type GetSalesOrderLinesResponse = {
57
69
  rawData: GetSalesOrderLinesRawData | null;
58
70
  };
59
71
 
72
+ /** @internal */
73
+ export const GetSalesOrderLinesLimit$outboundSchema: z.ZodMiniEnum<
74
+ typeof GetSalesOrderLinesLimit
75
+ > = z.enum(GetSalesOrderLinesLimit);
76
+
60
77
  /** @internal */
61
78
  export type GetSalesOrderLinesRequest$Outbound = {
62
79
  salesOrderId: string;
@@ -75,7 +92,7 @@ export const GetSalesOrderLinesRequest$outboundSchema: z.ZodMiniType<
75
92
  > = z.object({
76
93
  salesOrderId: z.string(),
77
94
  page: z.optional(z.number()),
78
- limit: z.optional(z.number()),
95
+ limit: z.optional(GetSalesOrderLinesLimit$outboundSchema),
79
96
  lastModifiedAt: z.optional(z.string()),
80
97
  environmentName: z.optional(z.string()),
81
98
  companyId: z.optional(z.string()),
@@ -10,6 +10,15 @@ import * as types from "../../types/primitives.js";
10
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
11
11
  import * as models from "../index.js";
12
12
 
13
+ export const GetSalesOrdersLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetSalesOrdersLimit = ClosedEnum<typeof GetSalesOrdersLimit>;
21
+
13
22
  /**
14
23
  * Filter sales orders by status
15
24
  */
@@ -27,7 +36,7 @@ export type GetSalesOrdersStatus = ClosedEnum<typeof GetSalesOrdersStatus>;
27
36
 
28
37
  export type GetSalesOrdersRequest = {
29
38
  page?: number | undefined;
30
- limit?: number | undefined;
39
+ limit?: GetSalesOrdersLimit | undefined;
31
40
  /**
32
41
  * ISO 8601 timestamp; only records modified after this date are returned
33
42
  */
@@ -76,6 +85,11 @@ export type GetSalesOrdersResponse = {
76
85
  rawData: GetSalesOrdersRawData | null;
77
86
  };
78
87
 
88
+ /** @internal */
89
+ export const GetSalesOrdersLimit$outboundSchema: z.ZodMiniEnum<
90
+ typeof GetSalesOrdersLimit
91
+ > = z.enum(GetSalesOrdersLimit);
92
+
79
93
  /** @internal */
80
94
  export const GetSalesOrdersStatus$outboundSchema: z.ZodMiniEnum<
81
95
  typeof GetSalesOrdersStatus
@@ -98,7 +112,7 @@ export const GetSalesOrdersRequest$outboundSchema: z.ZodMiniType<
98
112
  GetSalesOrdersRequest
99
113
  > = z.object({
100
114
  page: z.optional(z.number()),
101
- limit: z.optional(z.number()),
115
+ limit: z.optional(GetSalesOrdersLimit$outboundSchema),
102
116
  lastModifiedAt: z.optional(z.string()),
103
117
  environmentName: z.optional(z.string()),
104
118
  companyId: z.optional(z.string()),
@@ -4,14 +4,24 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as types from "../../types/primitives.js";
9
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
11
  import * as models from "../index.js";
11
12
 
13
+ export const GetSuppliersLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetSuppliersLimit = ClosedEnum<typeof GetSuppliersLimit>;
21
+
12
22
  export type GetSuppliersRequest = {
13
23
  page?: number | undefined;
14
- limit?: number | undefined;
24
+ limit?: GetSuppliersLimit | undefined;
15
25
  /**
16
26
  * ISO 8601 timestamp; only records modified after this date are returned
17
27
  */
@@ -68,6 +78,11 @@ export type GetSuppliersResponse = {
68
78
  rawData: GetSuppliersRawData | null;
69
79
  };
70
80
 
81
+ /** @internal */
82
+ export const GetSuppliersLimit$outboundSchema: z.ZodMiniEnum<
83
+ typeof GetSuppliersLimit
84
+ > = z.enum(GetSuppliersLimit);
85
+
71
86
  /** @internal */
72
87
  export type GetSuppliersRequest$Outbound = {
73
88
  page?: number | undefined;
@@ -87,7 +102,7 @@ export const GetSuppliersRequest$outboundSchema: z.ZodMiniType<
87
102
  GetSuppliersRequest
88
103
  > = z.object({
89
104
  page: z.optional(z.number()),
90
- limit: z.optional(z.number()),
105
+ limit: z.optional(GetSuppliersLimit$outboundSchema),
91
106
  lastModifiedAt: z.optional(z.string()),
92
107
  environmentName: z.optional(z.string()),
93
108
  companyId: z.optional(z.string()),
@@ -4,14 +4,24 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as types from "../../types/primitives.js";
9
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
11
  import * as models from "../index.js";
11
12
 
13
+ export const GetTaxRatesLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetTaxRatesLimit = ClosedEnum<typeof GetTaxRatesLimit>;
21
+
12
22
  export type GetTaxRatesRequest = {
13
23
  page?: number | undefined;
14
- limit?: number | undefined;
24
+ limit?: GetTaxRatesLimit | undefined;
15
25
  /**
16
26
  * ISO 8601 timestamp; only records modified after this date are returned
17
27
  */
@@ -60,6 +70,11 @@ export type GetTaxRatesResponse = {
60
70
  rawData: GetTaxRatesRawData | null;
61
71
  };
62
72
 
73
+ /** @internal */
74
+ export const GetTaxRatesLimit$outboundSchema: z.ZodMiniEnum<
75
+ typeof GetTaxRatesLimit
76
+ > = z.enum(GetTaxRatesLimit);
77
+
63
78
  /** @internal */
64
79
  export type GetTaxRatesRequest$Outbound = {
65
80
  page?: number | undefined;
@@ -77,7 +92,7 @@ export const GetTaxRatesRequest$outboundSchema: z.ZodMiniType<
77
92
  GetTaxRatesRequest
78
93
  > = z.object({
79
94
  page: z.optional(z.number()),
80
- limit: z.optional(z.number()),
95
+ limit: z.optional(GetTaxRatesLimit$outboundSchema),
81
96
  lastModifiedAt: z.optional(z.string()),
82
97
  environmentName: z.optional(z.string()),
83
98
  companyId: z.optional(z.string()),
@@ -4,14 +4,24 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as types from "../../types/primitives.js";
9
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
11
  import * as models from "../index.js";
11
12
 
13
+ export const GetTrialBalanceLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetTrialBalanceLimit = ClosedEnum<typeof GetTrialBalanceLimit>;
21
+
12
22
  export type GetTrialBalanceRequest = {
13
23
  page?: number | undefined;
14
- limit?: number | undefined;
24
+ limit?: GetTrialBalanceLimit | undefined;
15
25
  /**
16
26
  * ISO 8601 timestamp; only records modified after this date are returned
17
27
  */
@@ -72,6 +82,11 @@ export type GetTrialBalanceResponse = {
72
82
  rawData: GetTrialBalanceRawData | null;
73
83
  };
74
84
 
85
+ /** @internal */
86
+ export const GetTrialBalanceLimit$outboundSchema: z.ZodMiniEnum<
87
+ typeof GetTrialBalanceLimit
88
+ > = z.enum(GetTrialBalanceLimit);
89
+
75
90
  /** @internal */
76
91
  export type GetTrialBalanceRequest$Outbound = {
77
92
  page?: number | undefined;
@@ -92,7 +107,7 @@ export const GetTrialBalanceRequest$outboundSchema: z.ZodMiniType<
92
107
  GetTrialBalanceRequest
93
108
  > = z.object({
94
109
  page: z.optional(z.number()),
95
- limit: z.optional(z.number()),
110
+ limit: z.optional(GetTrialBalanceLimit$outboundSchema),
96
111
  lastModifiedAt: z.optional(z.string()),
97
112
  environmentName: z.optional(z.string()),
98
113
  companyId: z.optional(z.string()),
@@ -4,14 +4,24 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as types from "../../types/primitives.js";
9
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
11
  import * as models from "../index.js";
11
12
 
13
+ export const GetUnitsLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetUnitsLimit = ClosedEnum<typeof GetUnitsLimit>;
21
+
12
22
  export type GetUnitsRequest = {
13
23
  page?: number | undefined;
14
- limit?: number | undefined;
24
+ limit?: GetUnitsLimit | undefined;
15
25
  /**
16
26
  * Environment name (required for multi-environment systems such as Business Central)
17
27
  */
@@ -52,6 +62,10 @@ export type GetUnitsResponse = {
52
62
  rawData: GetUnitsRawData | null;
53
63
  };
54
64
 
65
+ /** @internal */
66
+ export const GetUnitsLimit$outboundSchema: z.ZodMiniEnum<typeof GetUnitsLimit> =
67
+ z.enum(GetUnitsLimit);
68
+
55
69
  /** @internal */
56
70
  export type GetUnitsRequest$Outbound = {
57
71
  page?: number | undefined;
@@ -67,7 +81,7 @@ export const GetUnitsRequest$outboundSchema: z.ZodMiniType<
67
81
  GetUnitsRequest
68
82
  > = z.object({
69
83
  page: z.optional(z.number()),
70
- limit: z.optional(z.number()),
84
+ limit: z.optional(GetUnitsLimit$outboundSchema),
71
85
  environmentName: z.optional(z.string()),
72
86
  companyId: z.optional(z.string()),
73
87
  rawData: z.optional(z.boolean()),
@@ -10,6 +10,15 @@ import * as types from "../../types/primitives.js";
10
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
11
11
  import * as models from "../index.js";
12
12
 
13
+ export const GetVendorCreditsLimit = {
14
+ Five: 5,
15
+ Ten: 10,
16
+ Twenty: 20,
17
+ Fifty: 50,
18
+ OneHundred: 100,
19
+ } as const;
20
+ export type GetVendorCreditsLimit = ClosedEnum<typeof GetVendorCreditsLimit>;
21
+
13
22
  /**
14
23
  * Filter vendor credits by unified status
15
24
  */
@@ -55,7 +64,7 @@ export type GetVendorCreditsPaymentStatus = ClosedEnum<
55
64
 
56
65
  export type GetVendorCreditsRequest = {
57
66
  page?: number | undefined;
58
- limit?: number | undefined;
67
+ limit?: GetVendorCreditsLimit | undefined;
59
68
  /**
60
69
  * ISO 8601 timestamp; only records modified after this date are returned
61
70
  */
@@ -108,6 +117,11 @@ export type GetVendorCreditsResponse = {
108
117
  rawData: GetVendorCreditsRawData | null;
109
118
  };
110
119
 
120
+ /** @internal */
121
+ export const GetVendorCreditsLimit$outboundSchema: z.ZodMiniEnum<
122
+ typeof GetVendorCreditsLimit
123
+ > = z.enum(GetVendorCreditsLimit);
124
+
111
125
  /** @internal */
112
126
  export const GetVendorCreditsStatus$outboundSchema: z.ZodMiniEnum<
113
127
  typeof GetVendorCreditsStatus
@@ -136,7 +150,7 @@ export const GetVendorCreditsRequest$outboundSchema: z.ZodMiniType<
136
150
  GetVendorCreditsRequest
137
151
  > = z.object({
138
152
  page: z.optional(z.number()),
139
- limit: z.optional(z.number()),
153
+ limit: z.optional(GetVendorCreditsLimit$outboundSchema),
140
154
  lastModifiedAt: z.optional(z.string()),
141
155
  environmentName: z.optional(z.string()),
142
156
  companyId: z.optional(z.string()),