@maesn/typescript-sdk 0.2.2 → 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 (1381) hide show
  1. package/FUNCTIONS.md +3 -3
  2. package/README.md +231 -288
  3. package/esm/funcs/accounting-create-account.d.ts +11 -0
  4. package/esm/funcs/accounting-create-account.d.ts.map +1 -0
  5. package/esm/funcs/accounting-create-account.js +77 -0
  6. package/esm/funcs/accounting-create-account.js.map +1 -0
  7. package/esm/funcs/accounting-create-bank-account.d.ts +11 -0
  8. package/esm/funcs/accounting-create-bank-account.d.ts.map +1 -0
  9. package/esm/funcs/accounting-create-bank-account.js +77 -0
  10. package/esm/funcs/accounting-create-bank-account.js.map +1 -0
  11. package/esm/funcs/accounting-create-bill-line-item.d.ts +11 -0
  12. package/esm/funcs/accounting-create-bill-line-item.d.ts.map +1 -0
  13. package/esm/funcs/accounting-create-bill-line-item.js +82 -0
  14. package/esm/funcs/accounting-create-bill-line-item.js.map +1 -0
  15. package/esm/funcs/accounting-create-bill.d.ts +11 -0
  16. package/esm/funcs/accounting-create-bill.d.ts.map +1 -0
  17. package/esm/funcs/accounting-create-bill.js +77 -0
  18. package/esm/funcs/accounting-create-bill.js.map +1 -0
  19. package/esm/funcs/accounting-create-bookings.d.ts +11 -0
  20. package/esm/funcs/accounting-create-bookings.d.ts.map +1 -0
  21. package/esm/funcs/accounting-create-bookings.js +76 -0
  22. package/esm/funcs/accounting-create-bookings.js.map +1 -0
  23. package/esm/funcs/accounting-create-contact.d.ts +11 -0
  24. package/esm/funcs/accounting-create-contact.d.ts.map +1 -0
  25. package/esm/funcs/accounting-create-contact.js +77 -0
  26. package/esm/funcs/accounting-create-contact.js.map +1 -0
  27. package/esm/funcs/accounting-create-contacts-v1.d.ts +11 -0
  28. package/esm/funcs/accounting-create-contacts-v1.d.ts.map +1 -0
  29. package/esm/funcs/accounting-create-contacts-v1.js +76 -0
  30. package/esm/funcs/accounting-create-contacts-v1.js.map +1 -0
  31. package/esm/funcs/accounting-create-contacts.d.ts +11 -0
  32. package/esm/funcs/accounting-create-contacts.d.ts.map +1 -0
  33. package/esm/funcs/accounting-create-contacts.js +76 -0
  34. package/esm/funcs/accounting-create-contacts.js.map +1 -0
  35. package/esm/funcs/accounting-create-event-subscriptions.d.ts +12 -0
  36. package/esm/funcs/accounting-create-event-subscriptions.d.ts.map +1 -0
  37. package/esm/funcs/accounting-create-event-subscriptions.js +77 -0
  38. package/esm/funcs/accounting-create-event-subscriptions.js.map +1 -0
  39. package/esm/funcs/accounting-create-expense.d.ts +11 -0
  40. package/esm/funcs/accounting-create-expense.d.ts.map +1 -0
  41. package/esm/funcs/accounting-create-expense.js +102 -0
  42. package/esm/funcs/accounting-create-expense.js.map +1 -0
  43. package/esm/funcs/accounting-create-invoice.d.ts +11 -0
  44. package/esm/funcs/accounting-create-invoice.d.ts.map +1 -0
  45. package/esm/funcs/accounting-create-invoice.js +77 -0
  46. package/esm/funcs/accounting-create-invoice.js.map +1 -0
  47. package/esm/funcs/accounting-create-item.d.ts +11 -0
  48. package/esm/funcs/accounting-create-item.d.ts.map +1 -0
  49. package/esm/funcs/accounting-create-item.js +77 -0
  50. package/esm/funcs/accounting-create-item.js.map +1 -0
  51. package/esm/funcs/accounting-create-journal-entries.d.ts +11 -0
  52. package/esm/funcs/accounting-create-journal-entries.d.ts.map +1 -0
  53. package/esm/funcs/accounting-create-journal-entries.js +76 -0
  54. package/esm/funcs/accounting-create-journal-entries.js.map +1 -0
  55. package/esm/funcs/accounting-create-journal-entry.d.ts +11 -0
  56. package/esm/funcs/accounting-create-journal-entry.d.ts.map +1 -0
  57. package/esm/funcs/accounting-create-journal-entry.js +107 -0
  58. package/esm/funcs/accounting-create-journal-entry.js.map +1 -0
  59. package/esm/funcs/accounting-create-line-item.d.ts +11 -0
  60. package/esm/funcs/accounting-create-line-item.d.ts.map +1 -0
  61. package/esm/funcs/accounting-create-line-item.js +83 -0
  62. package/esm/funcs/accounting-create-line-item.js.map +1 -0
  63. package/esm/funcs/accounting-create-offer.d.ts +11 -0
  64. package/esm/funcs/accounting-create-offer.d.ts.map +1 -0
  65. package/esm/funcs/accounting-create-offer.js +77 -0
  66. package/esm/funcs/accounting-create-offer.js.map +1 -0
  67. package/esm/funcs/accounting-create-pass-through-request.d.ts +11 -0
  68. package/esm/funcs/accounting-create-pass-through-request.d.ts.map +1 -0
  69. package/esm/funcs/accounting-create-pass-through-request.js +77 -0
  70. package/esm/funcs/accounting-create-pass-through-request.js.map +1 -0
  71. package/esm/funcs/accounting-create-payment-term.d.ts +11 -0
  72. package/esm/funcs/accounting-create-payment-term.d.ts.map +1 -0
  73. package/esm/funcs/accounting-create-payment-term.js +76 -0
  74. package/esm/funcs/accounting-create-payment-term.js.map +1 -0
  75. package/esm/funcs/accounting-create-payment.d.ts +11 -0
  76. package/esm/funcs/accounting-create-payment.d.ts.map +1 -0
  77. package/esm/funcs/accounting-create-payment.js +76 -0
  78. package/esm/funcs/accounting-create-payment.js.map +1 -0
  79. package/esm/funcs/accounting-create-project.d.ts +11 -0
  80. package/esm/funcs/accounting-create-project.d.ts.map +1 -0
  81. package/esm/funcs/accounting-create-project.js +77 -0
  82. package/esm/funcs/accounting-create-project.js.map +1 -0
  83. package/esm/funcs/accounting-create-sales-order.d.ts +11 -0
  84. package/esm/funcs/accounting-create-sales-order.d.ts.map +1 -0
  85. package/esm/funcs/accounting-create-sales-order.js +77 -0
  86. package/esm/funcs/accounting-create-sales-order.js.map +1 -0
  87. package/esm/funcs/accounting-create-supplier.d.ts +11 -0
  88. package/esm/funcs/accounting-create-supplier.d.ts.map +1 -0
  89. package/esm/funcs/accounting-create-supplier.js +77 -0
  90. package/esm/funcs/accounting-create-supplier.js.map +1 -0
  91. package/esm/funcs/accounting-create-transaction.d.ts +11 -0
  92. package/esm/funcs/accounting-create-transaction.d.ts.map +1 -0
  93. package/esm/funcs/accounting-create-transaction.js +101 -0
  94. package/esm/funcs/accounting-create-transaction.js.map +1 -0
  95. package/esm/funcs/accounting-delete-bill.d.ts +11 -0
  96. package/esm/funcs/accounting-delete-bill.d.ts.map +1 -0
  97. package/esm/funcs/accounting-delete-bill.js +82 -0
  98. package/esm/funcs/accounting-delete-bill.js.map +1 -0
  99. package/esm/funcs/accounting-delete-event-subscriptions.d.ts +12 -0
  100. package/esm/funcs/accounting-delete-event-subscriptions.d.ts.map +1 -0
  101. package/esm/funcs/accounting-delete-event-subscriptions.js +79 -0
  102. package/esm/funcs/accounting-delete-event-subscriptions.js.map +1 -0
  103. package/esm/funcs/accounting-delete-payment.d.ts +11 -0
  104. package/esm/funcs/accounting-delete-payment.d.ts.map +1 -0
  105. package/esm/funcs/accounting-delete-payment.js +81 -0
  106. package/esm/funcs/accounting-delete-payment.js.map +1 -0
  107. package/esm/funcs/accounting-delete-vendor-credit.d.ts +11 -0
  108. package/esm/funcs/accounting-delete-vendor-credit.d.ts.map +1 -0
  109. package/esm/funcs/accounting-delete-vendor-credit.js +82 -0
  110. package/esm/funcs/accounting-delete-vendor-credit.js.map +1 -0
  111. package/esm/funcs/accounting-get-account.d.ts +11 -0
  112. package/esm/funcs/accounting-get-account.d.ts.map +1 -0
  113. package/esm/funcs/accounting-get-account.js +83 -0
  114. package/esm/funcs/accounting-get-account.js.map +1 -0
  115. package/esm/funcs/accounting-get-accounts.d.ts +11 -0
  116. package/esm/funcs/accounting-get-accounts.d.ts.map +1 -0
  117. package/esm/funcs/accounting-get-accounts.js +86 -0
  118. package/esm/funcs/accounting-get-accounts.js.map +1 -0
  119. package/esm/funcs/accounting-get-async-task-info.d.ts +11 -0
  120. package/esm/funcs/accounting-get-async-task-info.d.ts.map +1 -0
  121. package/esm/funcs/accounting-get-async-task-info.js +83 -0
  122. package/esm/funcs/accounting-get-async-task-info.js.map +1 -0
  123. package/esm/funcs/accounting-get-bank-account.d.ts +11 -0
  124. package/esm/funcs/accounting-get-bank-account.d.ts.map +1 -0
  125. package/esm/funcs/accounting-get-bank-account.js +83 -0
  126. package/esm/funcs/accounting-get-bank-account.js.map +1 -0
  127. package/esm/funcs/accounting-get-bank-accounts.d.ts +11 -0
  128. package/esm/funcs/accounting-get-bank-accounts.d.ts.map +1 -0
  129. package/esm/funcs/accounting-get-bank-accounts.js +80 -0
  130. package/esm/funcs/accounting-get-bank-accounts.js.map +1 -0
  131. package/esm/funcs/accounting-get-bill-document.d.ts +11 -0
  132. package/esm/funcs/accounting-get-bill-document.d.ts.map +1 -0
  133. package/esm/funcs/accounting-get-bill-document.js +77 -0
  134. package/esm/funcs/accounting-get-bill-document.js.map +1 -0
  135. package/esm/funcs/accounting-get-bill-line-items.d.ts +11 -0
  136. package/esm/funcs/accounting-get-bill-line-items.d.ts.map +1 -0
  137. package/esm/funcs/accounting-get-bill-line-items.js +82 -0
  138. package/esm/funcs/accounting-get-bill-line-items.js.map +1 -0
  139. package/esm/funcs/accounting-get-bill.d.ts +11 -0
  140. package/esm/funcs/accounting-get-bill.d.ts.map +1 -0
  141. package/esm/funcs/accounting-get-bill.js +83 -0
  142. package/esm/funcs/accounting-get-bill.js.map +1 -0
  143. package/esm/funcs/accounting-get-bills.d.ts +11 -0
  144. package/esm/funcs/accounting-get-bills.d.ts.map +1 -0
  145. package/esm/funcs/accounting-get-bills.js +84 -0
  146. package/esm/funcs/accounting-get-bills.js.map +1 -0
  147. package/esm/funcs/accounting-get-booking-proposal-document.d.ts +11 -0
  148. package/esm/funcs/accounting-get-booking-proposal-document.d.ts.map +1 -0
  149. package/esm/funcs/accounting-get-booking-proposal-document.js +74 -0
  150. package/esm/funcs/accounting-get-booking-proposal-document.js.map +1 -0
  151. package/esm/funcs/accounting-get-booking-proposal.d.ts +11 -0
  152. package/esm/funcs/accounting-get-booking-proposal.d.ts.map +1 -0
  153. package/esm/funcs/accounting-get-booking-proposal.js +80 -0
  154. package/esm/funcs/accounting-get-booking-proposal.js.map +1 -0
  155. package/esm/funcs/accounting-get-booking-proposals.d.ts +11 -0
  156. package/esm/funcs/accounting-get-booking-proposals.d.ts.map +1 -0
  157. package/esm/funcs/accounting-get-booking-proposals.js +84 -0
  158. package/esm/funcs/accounting-get-booking-proposals.js.map +1 -0
  159. package/esm/funcs/accounting-get-contact.d.ts +11 -0
  160. package/esm/funcs/accounting-get-contact.d.ts.map +1 -0
  161. package/esm/funcs/accounting-get-contact.js +83 -0
  162. package/esm/funcs/accounting-get-contact.js.map +1 -0
  163. package/esm/funcs/accounting-get-credit-note.d.ts +11 -0
  164. package/esm/funcs/accounting-get-credit-note.d.ts.map +1 -0
  165. package/esm/funcs/accounting-get-credit-note.js +83 -0
  166. package/esm/funcs/accounting-get-credit-note.js.map +1 -0
  167. package/esm/funcs/accounting-get-credit-notes.d.ts +11 -0
  168. package/esm/funcs/accounting-get-credit-notes.d.ts.map +1 -0
  169. package/esm/funcs/accounting-get-credit-notes.js +80 -0
  170. package/esm/funcs/accounting-get-credit-notes.js.map +1 -0
  171. package/esm/funcs/accounting-get-customer.d.ts +11 -0
  172. package/esm/funcs/accounting-get-customer.d.ts.map +1 -0
  173. package/esm/funcs/accounting-get-customer.js +83 -0
  174. package/esm/funcs/accounting-get-customer.js.map +1 -0
  175. package/esm/funcs/accounting-get-customers.d.ts +11 -0
  176. package/esm/funcs/accounting-get-customers.d.ts.map +1 -0
  177. package/esm/funcs/accounting-get-customers.js +83 -0
  178. package/esm/funcs/accounting-get-customers.js.map +1 -0
  179. package/esm/funcs/accounting-get-dimensions.d.ts +11 -0
  180. package/esm/funcs/accounting-get-dimensions.d.ts.map +1 -0
  181. package/esm/funcs/accounting-get-dimensions.js +80 -0
  182. package/esm/funcs/accounting-get-dimensions.js.map +1 -0
  183. package/esm/funcs/accounting-get-document-extensions.d.ts +11 -0
  184. package/esm/funcs/accounting-get-document-extensions.d.ts.map +1 -0
  185. package/esm/funcs/accounting-get-document-extensions.js +75 -0
  186. package/esm/funcs/accounting-get-document-extensions.js.map +1 -0
  187. package/esm/funcs/accounting-get-document-types.d.ts +11 -0
  188. package/esm/funcs/accounting-get-document-types.d.ts.map +1 -0
  189. package/esm/funcs/accounting-get-document-types.js +75 -0
  190. package/esm/funcs/accounting-get-document-types.js.map +1 -0
  191. package/esm/funcs/accounting-get-expense.d.ts +11 -0
  192. package/esm/funcs/accounting-get-expense.d.ts.map +1 -0
  193. package/esm/funcs/accounting-get-expense.js +83 -0
  194. package/esm/funcs/accounting-get-expense.js.map +1 -0
  195. package/esm/funcs/accounting-get-expenses.d.ts +11 -0
  196. package/esm/funcs/accounting-get-expenses.d.ts.map +1 -0
  197. package/esm/funcs/accounting-get-expenses.js +79 -0
  198. package/esm/funcs/accounting-get-expenses.js.map +1 -0
  199. package/esm/funcs/accounting-get-fiscal-year.d.ts +11 -0
  200. package/esm/funcs/accounting-get-fiscal-year.d.ts.map +1 -0
  201. package/esm/funcs/accounting-get-fiscal-year.js +83 -0
  202. package/esm/funcs/accounting-get-fiscal-year.js.map +1 -0
  203. package/esm/funcs/accounting-get-goods-receipt-line-item.d.ts +11 -0
  204. package/esm/funcs/accounting-get-goods-receipt-line-item.d.ts.map +1 -0
  205. package/esm/funcs/accounting-get-goods-receipt-line-item.js +87 -0
  206. package/esm/funcs/accounting-get-goods-receipt-line-item.js.map +1 -0
  207. package/esm/funcs/accounting-get-goods-receipt-line-items.d.ts +11 -0
  208. package/esm/funcs/accounting-get-goods-receipt-line-items.d.ts.map +1 -0
  209. package/esm/funcs/accounting-get-goods-receipt-line-items.js +84 -0
  210. package/esm/funcs/accounting-get-goods-receipt-line-items.js.map +1 -0
  211. package/esm/funcs/accounting-get-goods-receipt.d.ts +11 -0
  212. package/esm/funcs/accounting-get-goods-receipt.d.ts.map +1 -0
  213. package/esm/funcs/accounting-get-goods-receipt.js +83 -0
  214. package/esm/funcs/accounting-get-goods-receipt.js.map +1 -0
  215. package/esm/funcs/accounting-get-invoice-document.d.ts +11 -0
  216. package/esm/funcs/accounting-get-invoice-document.d.ts.map +1 -0
  217. package/esm/funcs/accounting-get-invoice-document.js +82 -0
  218. package/esm/funcs/accounting-get-invoice-document.js.map +1 -0
  219. package/esm/funcs/accounting-get-invoice.d.ts +11 -0
  220. package/esm/funcs/accounting-get-invoice.d.ts.map +1 -0
  221. package/esm/funcs/accounting-get-invoice.js +83 -0
  222. package/esm/funcs/accounting-get-invoice.js.map +1 -0
  223. package/esm/funcs/accounting-get-invoices.d.ts +11 -0
  224. package/esm/funcs/accounting-get-invoices.d.ts.map +1 -0
  225. package/esm/funcs/accounting-get-invoices.js +85 -0
  226. package/esm/funcs/accounting-get-invoices.js.map +1 -0
  227. package/esm/funcs/accounting-get-item.d.ts +11 -0
  228. package/esm/funcs/accounting-get-item.d.ts.map +1 -0
  229. package/esm/funcs/accounting-get-item.js +83 -0
  230. package/esm/funcs/accounting-get-item.js.map +1 -0
  231. package/esm/funcs/accounting-get-items.d.ts +11 -0
  232. package/esm/funcs/accounting-get-items.d.ts.map +1 -0
  233. package/esm/funcs/accounting-get-items.js +82 -0
  234. package/esm/funcs/accounting-get-items.js.map +1 -0
  235. package/esm/funcs/accounting-get-journal-entries.d.ts +11 -0
  236. package/esm/funcs/accounting-get-journal-entries.d.ts.map +1 -0
  237. package/esm/funcs/accounting-get-journal-entries.js +82 -0
  238. package/esm/funcs/accounting-get-journal-entries.js.map +1 -0
  239. package/esm/funcs/accounting-get-journal-entry-attachment-by-id.d.ts +11 -0
  240. package/esm/funcs/accounting-get-journal-entry-attachment-by-id.d.ts.map +1 -0
  241. package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js +86 -0
  242. package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js.map +1 -0
  243. package/esm/funcs/accounting-get-journal-entry-attachments.d.ts +11 -0
  244. package/esm/funcs/accounting-get-journal-entry-attachments.d.ts.map +1 -0
  245. package/esm/funcs/accounting-get-journal-entry-attachments.js +82 -0
  246. package/esm/funcs/accounting-get-journal-entry-attachments.js.map +1 -0
  247. package/esm/funcs/accounting-get-journal-entry.d.ts +11 -0
  248. package/esm/funcs/accounting-get-journal-entry.d.ts.map +1 -0
  249. package/esm/funcs/accounting-get-journal-entry.js +84 -0
  250. package/esm/funcs/accounting-get-journal-entry.js.map +1 -0
  251. package/esm/funcs/accounting-get-journals.d.ts +11 -0
  252. package/esm/funcs/accounting-get-journals.d.ts.map +1 -0
  253. package/esm/funcs/accounting-get-journals.js +80 -0
  254. package/esm/funcs/accounting-get-journals.js.map +1 -0
  255. package/esm/funcs/accounting-get-line-item.d.ts +11 -0
  256. package/esm/funcs/accounting-get-line-item.d.ts.map +1 -0
  257. package/esm/funcs/accounting-get-line-item.js +87 -0
  258. package/esm/funcs/accounting-get-line-item.js.map +1 -0
  259. package/esm/funcs/accounting-get-line-items.d.ts +11 -0
  260. package/esm/funcs/accounting-get-line-items.d.ts.map +1 -0
  261. package/esm/funcs/accounting-get-line-items.js +86 -0
  262. package/esm/funcs/accounting-get-line-items.js.map +1 -0
  263. package/esm/funcs/accounting-get-offer-document.d.ts +11 -0
  264. package/esm/funcs/accounting-get-offer-document.d.ts.map +1 -0
  265. package/esm/funcs/accounting-get-offer-document.js +82 -0
  266. package/esm/funcs/accounting-get-offer-document.js.map +1 -0
  267. package/esm/funcs/accounting-get-offer-line-item.d.ts +11 -0
  268. package/esm/funcs/accounting-get-offer-line-item.d.ts.map +1 -0
  269. package/esm/funcs/accounting-get-offer-line-item.js +87 -0
  270. package/esm/funcs/accounting-get-offer-line-item.js.map +1 -0
  271. package/esm/funcs/accounting-get-offer-line-items.d.ts +11 -0
  272. package/esm/funcs/accounting-get-offer-line-items.d.ts.map +1 -0
  273. package/esm/funcs/accounting-get-offer-line-items.js +86 -0
  274. package/esm/funcs/accounting-get-offer-line-items.js.map +1 -0
  275. package/esm/funcs/accounting-get-offer.d.ts +11 -0
  276. package/esm/funcs/accounting-get-offer.d.ts.map +1 -0
  277. package/esm/funcs/accounting-get-offer.js +83 -0
  278. package/esm/funcs/accounting-get-offer.js.map +1 -0
  279. package/esm/funcs/accounting-get-offers.d.ts +11 -0
  280. package/esm/funcs/accounting-get-offers.d.ts.map +1 -0
  281. package/esm/funcs/accounting-get-offers.js +81 -0
  282. package/esm/funcs/accounting-get-offers.js.map +1 -0
  283. package/esm/funcs/accounting-get-open-items.d.ts +11 -0
  284. package/esm/funcs/accounting-get-open-items.d.ts.map +1 -0
  285. package/esm/funcs/accounting-get-open-items.js +84 -0
  286. package/esm/funcs/accounting-get-open-items.js.map +1 -0
  287. package/esm/funcs/accounting-get-payment-term.d.ts +11 -0
  288. package/esm/funcs/accounting-get-payment-term.d.ts.map +1 -0
  289. package/esm/funcs/accounting-get-payment-term.js +83 -0
  290. package/esm/funcs/accounting-get-payment-term.js.map +1 -0
  291. package/esm/funcs/accounting-get-payment.d.ts +11 -0
  292. package/esm/funcs/accounting-get-payment.d.ts.map +1 -0
  293. package/esm/funcs/accounting-get-payment.js +82 -0
  294. package/esm/funcs/accounting-get-payment.js.map +1 -0
  295. package/esm/funcs/accounting-get-payments.d.ts +11 -0
  296. package/esm/funcs/accounting-get-payments.d.ts.map +1 -0
  297. package/esm/funcs/accounting-get-payments.js +81 -0
  298. package/esm/funcs/accounting-get-payments.js.map +1 -0
  299. package/esm/funcs/accounting-get-project.d.ts +11 -0
  300. package/esm/funcs/accounting-get-project.d.ts.map +1 -0
  301. package/esm/funcs/accounting-get-project.js +83 -0
  302. package/esm/funcs/accounting-get-project.js.map +1 -0
  303. package/esm/funcs/accounting-get-purchase-order-line-item.d.ts +11 -0
  304. package/esm/funcs/accounting-get-purchase-order-line-item.d.ts.map +1 -0
  305. package/esm/funcs/accounting-get-purchase-order-line-item.js +87 -0
  306. package/esm/funcs/accounting-get-purchase-order-line-item.js.map +1 -0
  307. package/esm/funcs/accounting-get-purchase-order-line-items.d.ts +11 -0
  308. package/esm/funcs/accounting-get-purchase-order-line-items.d.ts.map +1 -0
  309. package/esm/funcs/accounting-get-purchase-order-line-items.js +84 -0
  310. package/esm/funcs/accounting-get-purchase-order-line-items.js.map +1 -0
  311. package/esm/funcs/accounting-get-purchase-order.d.ts +11 -0
  312. package/esm/funcs/accounting-get-purchase-order.d.ts.map +1 -0
  313. package/esm/funcs/accounting-get-purchase-order.js +83 -0
  314. package/esm/funcs/accounting-get-purchase-order.js.map +1 -0
  315. package/esm/funcs/accounting-get-purchase-orders.d.ts +11 -0
  316. package/esm/funcs/accounting-get-purchase-orders.d.ts.map +1 -0
  317. package/esm/funcs/accounting-get-purchase-orders.js +80 -0
  318. package/esm/funcs/accounting-get-purchase-orders.js.map +1 -0
  319. package/esm/funcs/accounting-get-sales-order-lines.d.ts +11 -0
  320. package/esm/funcs/accounting-get-sales-order-lines.d.ts.map +1 -0
  321. package/esm/funcs/accounting-get-sales-order-lines.js +86 -0
  322. package/esm/funcs/accounting-get-sales-order-lines.js.map +1 -0
  323. package/esm/funcs/accounting-get-sales-order.d.ts +11 -0
  324. package/esm/funcs/accounting-get-sales-order.d.ts.map +1 -0
  325. package/esm/funcs/accounting-get-sales-order.js +83 -0
  326. package/esm/funcs/accounting-get-sales-order.js.map +1 -0
  327. package/esm/funcs/accounting-get-sales-orders.d.ts +11 -0
  328. package/esm/funcs/accounting-get-sales-orders.d.ts.map +1 -0
  329. package/esm/funcs/accounting-get-sales-orders.js +81 -0
  330. package/esm/funcs/accounting-get-sales-orders.js.map +1 -0
  331. package/esm/funcs/accounting-get-supplier.d.ts +11 -0
  332. package/esm/funcs/accounting-get-supplier.d.ts.map +1 -0
  333. package/esm/funcs/accounting-get-supplier.js +83 -0
  334. package/esm/funcs/accounting-get-supplier.js.map +1 -0
  335. package/esm/funcs/accounting-get-suppliers.d.ts +11 -0
  336. package/esm/funcs/accounting-get-suppliers.d.ts.map +1 -0
  337. package/esm/funcs/accounting-get-suppliers.js +83 -0
  338. package/esm/funcs/accounting-get-suppliers.js.map +1 -0
  339. package/esm/funcs/accounting-get-tax-rate.d.ts +11 -0
  340. package/esm/funcs/accounting-get-tax-rate.d.ts.map +1 -0
  341. package/esm/funcs/accounting-get-tax-rate.js +83 -0
  342. package/esm/funcs/accounting-get-tax-rate.js.map +1 -0
  343. package/esm/funcs/accounting-get-tax-rates.d.ts +11 -0
  344. package/esm/funcs/accounting-get-tax-rates.d.ts.map +1 -0
  345. package/esm/funcs/accounting-get-tax-rates.js +81 -0
  346. package/esm/funcs/accounting-get-tax-rates.js.map +1 -0
  347. package/esm/funcs/accounting-get-trial-balance.d.ts +11 -0
  348. package/esm/funcs/accounting-get-trial-balance.d.ts.map +1 -0
  349. package/esm/funcs/accounting-get-trial-balance.js +84 -0
  350. package/esm/funcs/accounting-get-trial-balance.js.map +1 -0
  351. package/esm/funcs/accounting-get-units.d.ts +11 -0
  352. package/esm/funcs/accounting-get-units.d.ts.map +1 -0
  353. package/esm/funcs/accounting-get-units.js +79 -0
  354. package/esm/funcs/accounting-get-units.js.map +1 -0
  355. package/esm/funcs/accounting-get-vendor-credits.d.ts +11 -0
  356. package/esm/funcs/accounting-get-vendor-credits.d.ts.map +1 -0
  357. package/esm/funcs/accounting-get-vendor-credits.js +82 -0
  358. package/esm/funcs/accounting-get-vendor-credits.js.map +1 -0
  359. package/esm/funcs/accounting-patch-contact.d.ts +11 -0
  360. package/esm/funcs/accounting-patch-contact.d.ts.map +1 -0
  361. package/esm/funcs/accounting-patch-contact.js +83 -0
  362. package/esm/funcs/accounting-patch-contact.js.map +1 -0
  363. package/esm/funcs/accounting-patch-customers.d.ts +11 -0
  364. package/esm/funcs/accounting-patch-customers.d.ts.map +1 -0
  365. package/esm/funcs/accounting-patch-customers.js +83 -0
  366. package/esm/funcs/accounting-patch-customers.js.map +1 -0
  367. package/esm/funcs/accounting-patch-invoice.d.ts +11 -0
  368. package/esm/funcs/accounting-patch-invoice.d.ts.map +1 -0
  369. package/esm/funcs/accounting-patch-invoice.js +83 -0
  370. package/esm/funcs/accounting-patch-invoice.js.map +1 -0
  371. package/esm/funcs/accounting-patch-item.d.ts +11 -0
  372. package/esm/funcs/accounting-patch-item.d.ts.map +1 -0
  373. package/esm/funcs/accounting-patch-item.js +83 -0
  374. package/esm/funcs/accounting-patch-item.js.map +1 -0
  375. package/esm/funcs/accounting-patch-line-item.d.ts +11 -0
  376. package/esm/funcs/accounting-patch-line-item.d.ts.map +1 -0
  377. package/esm/funcs/accounting-patch-line-item.js +87 -0
  378. package/esm/funcs/accounting-patch-line-item.js.map +1 -0
  379. package/esm/funcs/accounting-patch-supplier.d.ts +11 -0
  380. package/esm/funcs/accounting-patch-supplier.d.ts.map +1 -0
  381. package/esm/funcs/accounting-patch-supplier.js +83 -0
  382. package/esm/funcs/accounting-patch-supplier.js.map +1 -0
  383. package/esm/funcs/accounting-post-file.d.ts +11 -0
  384. package/esm/funcs/accounting-post-file.d.ts.map +1 -0
  385. package/esm/funcs/accounting-post-file.js +117 -0
  386. package/esm/funcs/accounting-post-file.js.map +1 -0
  387. package/esm/funcs/accounting-put-contact.d.ts +11 -0
  388. package/esm/funcs/accounting-put-contact.d.ts.map +1 -0
  389. package/esm/funcs/accounting-put-contact.js +83 -0
  390. package/esm/funcs/accounting-put-contact.js.map +1 -0
  391. package/esm/funcs/accounting-update-bill-line-item.d.ts +11 -0
  392. package/esm/funcs/accounting-update-bill-line-item.d.ts.map +1 -0
  393. package/esm/funcs/accounting-update-bill-line-item.js +86 -0
  394. package/esm/funcs/accounting-update-bill-line-item.js.map +1 -0
  395. package/esm/funcs/accounting-update-bill.d.ts +11 -0
  396. package/esm/funcs/accounting-update-bill.d.ts.map +1 -0
  397. package/esm/funcs/accounting-update-bill.js +83 -0
  398. package/esm/funcs/accounting-update-bill.js.map +1 -0
  399. package/esm/funcs/accounting-update-supplier.d.ts +11 -0
  400. package/esm/funcs/accounting-update-supplier.d.ts.map +1 -0
  401. package/esm/funcs/accounting-update-supplier.js +82 -0
  402. package/esm/funcs/accounting-update-supplier.js.map +1 -0
  403. package/esm/funcs/accounting-update-vendor-credit.d.ts +11 -0
  404. package/esm/funcs/accounting-update-vendor-credit.d.ts.map +1 -0
  405. package/esm/funcs/accounting-update-vendor-credit.js +83 -0
  406. package/esm/funcs/accounting-update-vendor-credit.js.map +1 -0
  407. package/esm/funcs/accounting-v2-create-booking-proposal-v2.d.ts +11 -0
  408. package/esm/funcs/accounting-v2-create-booking-proposal-v2.d.ts.map +1 -0
  409. package/esm/funcs/accounting-v2-create-booking-proposal-v2.js +111 -0
  410. package/esm/funcs/accounting-v2-create-booking-proposal-v2.js.map +1 -0
  411. package/esm/funcs/accounting-v2-create-contact-v2.d.ts +11 -0
  412. package/esm/funcs/accounting-v2-create-contact-v2.d.ts.map +1 -0
  413. package/esm/funcs/accounting-v2-create-contact-v2.js +77 -0
  414. package/esm/funcs/accounting-v2-create-contact-v2.js.map +1 -0
  415. package/esm/funcs/accounting-v2-get-contact-v2.d.ts +11 -0
  416. package/esm/funcs/accounting-v2-get-contact-v2.d.ts.map +1 -0
  417. package/esm/funcs/accounting-v2-get-contact-v2.js +83 -0
  418. package/esm/funcs/accounting-v2-get-contact-v2.js.map +1 -0
  419. package/esm/funcs/accounting-v2-get-contacts-v2.d.ts +11 -0
  420. package/esm/funcs/accounting-v2-get-contacts-v2.d.ts.map +1 -0
  421. package/esm/funcs/accounting-v2-get-contacts-v2.js +80 -0
  422. package/esm/funcs/accounting-v2-get-contacts-v2.js.map +1 -0
  423. package/esm/funcs/accounting-v2-get-dimensions-by-dimension.d.ts +11 -0
  424. package/esm/funcs/accounting-v2-get-dimensions-by-dimension.d.ts.map +1 -0
  425. package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js +86 -0
  426. package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js.map +1 -0
  427. package/esm/funcs/accounting-v2-get-dimensions-v2.d.ts +11 -0
  428. package/esm/funcs/accounting-v2-get-dimensions-v2.d.ts.map +1 -0
  429. package/esm/funcs/accounting-v2-get-dimensions-v2.js +78 -0
  430. package/esm/funcs/accounting-v2-get-dimensions-v2.js.map +1 -0
  431. package/esm/funcs/accounting-v2-patch-contact-v2.d.ts +11 -0
  432. package/esm/funcs/accounting-v2-patch-contact-v2.d.ts.map +1 -0
  433. package/esm/funcs/accounting-v2-patch-contact-v2.js +83 -0
  434. package/esm/funcs/accounting-v2-patch-contact-v2.js.map +1 -0
  435. package/esm/funcs/accounting-v2-put-contact-v2.d.ts +11 -0
  436. package/esm/funcs/accounting-v2-put-contact-v2.d.ts.map +1 -0
  437. package/esm/funcs/accounting-v2-put-contact-v2.js +83 -0
  438. package/esm/funcs/accounting-v2-put-contact-v2.js.map +1 -0
  439. package/esm/funcs/user-get-user-info.d.ts +11 -0
  440. package/esm/funcs/user-get-user-info.d.ts.map +1 -0
  441. package/esm/funcs/user-get-user-info.js +61 -0
  442. package/esm/funcs/user-get-user-info.js.map +1 -0
  443. package/esm/lib/config.d.ts +3 -3
  444. package/esm/lib/config.d.ts.map +1 -1
  445. package/esm/lib/config.js +3 -3
  446. package/esm/lib/config.js.map +1 -1
  447. package/esm/lib/security.d.ts +1 -1
  448. package/esm/lib/security.d.ts.map +1 -1
  449. package/esm/lib/security.js +24 -13
  450. package/esm/lib/security.js.map +1 -1
  451. package/esm/models/operations/get-accounts.d.ts +11 -1
  452. package/esm/models/operations/get-accounts.d.ts.map +1 -1
  453. package/esm/models/operations/get-accounts.js +10 -1
  454. package/esm/models/operations/get-accounts.js.map +1 -1
  455. package/esm/models/operations/get-async-task-info.d.ts +12 -1
  456. package/esm/models/operations/get-async-task-info.d.ts.map +1 -1
  457. package/esm/models/operations/get-async-task-info.js +10 -1
  458. package/esm/models/operations/get-async-task-info.js.map +1 -1
  459. package/esm/models/operations/get-bank-accounts.d.ts +12 -1
  460. package/esm/models/operations/get-bank-accounts.d.ts.map +1 -1
  461. package/esm/models/operations/get-bank-accounts.js +10 -1
  462. package/esm/models/operations/get-bank-accounts.js.map +1 -1
  463. package/esm/models/operations/get-bills.d.ts +11 -1
  464. package/esm/models/operations/get-bills.d.ts.map +1 -1
  465. package/esm/models/operations/get-bills.js +10 -1
  466. package/esm/models/operations/get-bills.js.map +1 -1
  467. package/esm/models/operations/get-booking-proposals.d.ts +11 -1
  468. package/esm/models/operations/get-booking-proposals.d.ts.map +1 -1
  469. package/esm/models/operations/get-booking-proposals.js +10 -1
  470. package/esm/models/operations/get-booking-proposals.js.map +1 -1
  471. package/esm/models/operations/get-contacts-v2.d.ts +12 -1
  472. package/esm/models/operations/get-contacts-v2.d.ts.map +1 -1
  473. package/esm/models/operations/get-contacts-v2.js +10 -1
  474. package/esm/models/operations/get-contacts-v2.js.map +1 -1
  475. package/esm/models/operations/get-contacts.d.ts +12 -1
  476. package/esm/models/operations/get-contacts.d.ts.map +1 -1
  477. package/esm/models/operations/get-contacts.js +10 -1
  478. package/esm/models/operations/get-contacts.js.map +1 -1
  479. package/esm/models/operations/get-credit-notes.d.ts +12 -1
  480. package/esm/models/operations/get-credit-notes.d.ts.map +1 -1
  481. package/esm/models/operations/get-credit-notes.js +10 -1
  482. package/esm/models/operations/get-credit-notes.js.map +1 -1
  483. package/esm/models/operations/get-customers.d.ts +12 -1
  484. package/esm/models/operations/get-customers.d.ts.map +1 -1
  485. package/esm/models/operations/get-customers.js +10 -1
  486. package/esm/models/operations/get-customers.js.map +1 -1
  487. package/esm/models/operations/get-dimensions-by-dimension.d.ts +12 -1
  488. package/esm/models/operations/get-dimensions-by-dimension.d.ts.map +1 -1
  489. package/esm/models/operations/get-dimensions-by-dimension.js +10 -1
  490. package/esm/models/operations/get-dimensions-by-dimension.js.map +1 -1
  491. package/esm/models/operations/get-dimensions.d.ts +12 -1
  492. package/esm/models/operations/get-dimensions.d.ts.map +1 -1
  493. package/esm/models/operations/get-dimensions.js +10 -1
  494. package/esm/models/operations/get-dimensions.js.map +1 -1
  495. package/esm/models/operations/get-expenses.d.ts +12 -1
  496. package/esm/models/operations/get-expenses.d.ts.map +1 -1
  497. package/esm/models/operations/get-expenses.js +10 -1
  498. package/esm/models/operations/get-expenses.js.map +1 -1
  499. package/esm/models/operations/get-goods-receipts.d.ts +12 -1
  500. package/esm/models/operations/get-goods-receipts.d.ts.map +1 -1
  501. package/esm/models/operations/get-goods-receipts.js +10 -1
  502. package/esm/models/operations/get-goods-receipts.js.map +1 -1
  503. package/esm/models/operations/get-invoices.d.ts +11 -1
  504. package/esm/models/operations/get-invoices.d.ts.map +1 -1
  505. package/esm/models/operations/get-invoices.js +10 -1
  506. package/esm/models/operations/get-invoices.js.map +1 -1
  507. package/esm/models/operations/get-items.d.ts +12 -1
  508. package/esm/models/operations/get-items.d.ts.map +1 -1
  509. package/esm/models/operations/get-items.js +10 -1
  510. package/esm/models/operations/get-items.js.map +1 -1
  511. package/esm/models/operations/get-journal-entries.d.ts +12 -1
  512. package/esm/models/operations/get-journal-entries.d.ts.map +1 -1
  513. package/esm/models/operations/get-journal-entries.js +10 -1
  514. package/esm/models/operations/get-journal-entries.js.map +1 -1
  515. package/esm/models/operations/get-journals.d.ts +12 -1
  516. package/esm/models/operations/get-journals.d.ts.map +1 -1
  517. package/esm/models/operations/get-journals.js +10 -1
  518. package/esm/models/operations/get-journals.js.map +1 -1
  519. package/esm/models/operations/get-line-items.d.ts +12 -1
  520. package/esm/models/operations/get-line-items.d.ts.map +1 -1
  521. package/esm/models/operations/get-line-items.js +10 -1
  522. package/esm/models/operations/get-line-items.js.map +1 -1
  523. package/esm/models/operations/get-offer-line-items.d.ts +12 -1
  524. package/esm/models/operations/get-offer-line-items.d.ts.map +1 -1
  525. package/esm/models/operations/get-offer-line-items.js +10 -1
  526. package/esm/models/operations/get-offer-line-items.js.map +1 -1
  527. package/esm/models/operations/get-offers.d.ts +11 -1
  528. package/esm/models/operations/get-offers.d.ts.map +1 -1
  529. package/esm/models/operations/get-offers.js +10 -1
  530. package/esm/models/operations/get-offers.js.map +1 -1
  531. package/esm/models/operations/get-open-items.d.ts +12 -1
  532. package/esm/models/operations/get-open-items.d.ts.map +1 -1
  533. package/esm/models/operations/get-open-items.js +10 -1
  534. package/esm/models/operations/get-open-items.js.map +1 -1
  535. package/esm/models/operations/get-payment-terms.d.ts +12 -1
  536. package/esm/models/operations/get-payment-terms.d.ts.map +1 -1
  537. package/esm/models/operations/get-payment-terms.js +10 -1
  538. package/esm/models/operations/get-payment-terms.js.map +1 -1
  539. package/esm/models/operations/get-payments.d.ts +12 -1
  540. package/esm/models/operations/get-payments.d.ts.map +1 -1
  541. package/esm/models/operations/get-payments.js +10 -1
  542. package/esm/models/operations/get-payments.js.map +1 -1
  543. package/esm/models/operations/get-projects.d.ts +12 -1
  544. package/esm/models/operations/get-projects.d.ts.map +1 -1
  545. package/esm/models/operations/get-projects.js +10 -1
  546. package/esm/models/operations/get-projects.js.map +1 -1
  547. package/esm/models/operations/get-purchase-orders.d.ts +12 -1
  548. package/esm/models/operations/get-purchase-orders.d.ts.map +1 -1
  549. package/esm/models/operations/get-purchase-orders.js +10 -1
  550. package/esm/models/operations/get-purchase-orders.js.map +1 -1
  551. package/esm/models/operations/get-sales-order-lines.d.ts +12 -1
  552. package/esm/models/operations/get-sales-order-lines.d.ts.map +1 -1
  553. package/esm/models/operations/get-sales-order-lines.js +10 -1
  554. package/esm/models/operations/get-sales-order-lines.js.map +1 -1
  555. package/esm/models/operations/get-sales-orders.d.ts +11 -1
  556. package/esm/models/operations/get-sales-orders.d.ts.map +1 -1
  557. package/esm/models/operations/get-sales-orders.js +10 -1
  558. package/esm/models/operations/get-sales-orders.js.map +1 -1
  559. package/esm/models/operations/get-suppliers.d.ts +12 -1
  560. package/esm/models/operations/get-suppliers.d.ts.map +1 -1
  561. package/esm/models/operations/get-suppliers.js +10 -1
  562. package/esm/models/operations/get-suppliers.js.map +1 -1
  563. package/esm/models/operations/get-tax-rates.d.ts +12 -1
  564. package/esm/models/operations/get-tax-rates.d.ts.map +1 -1
  565. package/esm/models/operations/get-tax-rates.js +10 -1
  566. package/esm/models/operations/get-tax-rates.js.map +1 -1
  567. package/esm/models/operations/get-trial-balance.d.ts +12 -1
  568. package/esm/models/operations/get-trial-balance.d.ts.map +1 -1
  569. package/esm/models/operations/get-trial-balance.js +10 -1
  570. package/esm/models/operations/get-trial-balance.js.map +1 -1
  571. package/esm/models/operations/get-units.d.ts +12 -1
  572. package/esm/models/operations/get-units.d.ts.map +1 -1
  573. package/esm/models/operations/get-units.js +10 -1
  574. package/esm/models/operations/get-units.js.map +1 -1
  575. package/esm/models/operations/get-vendor-credits.d.ts +11 -1
  576. package/esm/models/operations/get-vendor-credits.d.ts.map +1 -1
  577. package/esm/models/operations/get-vendor-credits.js +10 -1
  578. package/esm/models/operations/get-vendor-credits.js.map +1 -1
  579. package/esm/sdk/accounting-v2.d.ts +8 -4
  580. package/esm/sdk/accounting-v2.d.ts.map +1 -1
  581. package/esm/sdk/accounting-v2.js +28 -12
  582. package/esm/sdk/accounting-v2.js.map +1 -1
  583. package/esm/sdk/accounting.d.ts +101 -97
  584. package/esm/sdk/accounting.d.ts.map +1 -1
  585. package/esm/sdk/accounting.js +319 -275
  586. package/esm/sdk/accounting.js.map +1 -1
  587. package/esm/sdk/sdk.d.ts +0 -36
  588. package/esm/sdk/sdk.d.ts.map +1 -1
  589. package/esm/sdk/sdk.js +0 -60
  590. package/esm/sdk/sdk.js.map +1 -1
  591. package/esm/sdk/user.d.ts +1 -1
  592. package/esm/sdk/user.d.ts.map +1 -1
  593. package/esm/sdk/user.js +3 -3
  594. package/esm/sdk/user.js.map +1 -1
  595. package/examples/accountingGetAccount.example.ts +32 -0
  596. package/jsr.json +1 -1
  597. package/package.json +1 -1
  598. package/src/funcs/accounting-create-account.ts +160 -0
  599. package/src/funcs/accounting-create-bank-account.ts +161 -0
  600. package/src/funcs/accounting-create-bill-line-item.ts +166 -0
  601. package/src/funcs/accounting-create-bill.ts +160 -0
  602. package/src/funcs/accounting-create-bookings.ts +159 -0
  603. package/src/funcs/accounting-create-contact.ts +160 -0
  604. package/src/funcs/accounting-create-contacts-v1.ts +160 -0
  605. package/src/funcs/accounting-create-contacts.ts +159 -0
  606. package/src/funcs/accounting-create-event-subscriptions.ts +161 -0
  607. package/src/funcs/accounting-create-expense.ts +202 -0
  608. package/src/funcs/accounting-create-invoice.ts +160 -0
  609. package/src/funcs/accounting-create-item.ts +160 -0
  610. package/src/funcs/accounting-create-journal-entries.ts +160 -0
  611. package/src/funcs/accounting-create-journal-entry.ts +208 -0
  612. package/src/funcs/accounting-create-line-item.ts +168 -0
  613. package/src/funcs/accounting-create-offer.ts +160 -0
  614. package/src/funcs/accounting-create-pass-through-request.ts +161 -0
  615. package/src/funcs/accounting-create-payment-term.ts +160 -0
  616. package/src/funcs/accounting-create-payment.ts +159 -0
  617. package/src/funcs/accounting-create-project.ts +160 -0
  618. package/src/funcs/accounting-create-sales-order.ts +161 -0
  619. package/src/funcs/accounting-create-supplier.ts +160 -0
  620. package/src/funcs/accounting-create-transaction.ts +202 -0
  621. package/src/funcs/accounting-delete-bill.ts +165 -0
  622. package/src/funcs/accounting-delete-event-subscriptions.ts +169 -0
  623. package/src/funcs/accounting-delete-payment.ts +164 -0
  624. package/src/funcs/accounting-delete-vendor-credit.ts +168 -0
  625. package/src/funcs/accounting-get-account.ts +166 -0
  626. package/src/funcs/accounting-get-accounts.ts +170 -0
  627. package/src/funcs/accounting-get-async-task-info.ts +167 -0
  628. package/src/funcs/accounting-get-bank-account.ts +168 -0
  629. package/src/funcs/accounting-get-bank-accounts.ts +167 -0
  630. package/src/funcs/accounting-get-bill-document.ts +159 -0
  631. package/src/funcs/accounting-get-bill-line-items.ts +166 -0
  632. package/src/funcs/accounting-get-bill.ts +166 -0
  633. package/src/funcs/accounting-get-bills.ts +168 -0
  634. package/src/funcs/accounting-get-booking-proposal-document.ts +166 -0
  635. package/src/funcs/accounting-get-booking-proposal.ts +170 -0
  636. package/src/funcs/accounting-get-booking-proposals.ts +171 -0
  637. package/src/funcs/accounting-get-contact.ts +166 -0
  638. package/src/funcs/accounting-get-credit-note.ts +166 -0
  639. package/src/funcs/accounting-get-credit-notes.ts +167 -0
  640. package/src/funcs/accounting-get-customer.ts +166 -0
  641. package/src/funcs/accounting-get-customers.ts +167 -0
  642. package/src/funcs/accounting-get-dimensions.ts +167 -0
  643. package/src/funcs/accounting-get-document-extensions.ts +162 -0
  644. package/src/funcs/accounting-get-document-types.ts +162 -0
  645. package/src/funcs/accounting-get-expense.ts +166 -0
  646. package/src/funcs/accounting-get-expenses.ts +163 -0
  647. package/src/funcs/accounting-get-fiscal-year.ts +166 -0
  648. package/src/funcs/accounting-get-goods-receipt-line-item.ts +173 -0
  649. package/src/funcs/accounting-get-goods-receipt-line-items.ts +170 -0
  650. package/src/funcs/accounting-get-goods-receipt.ts +168 -0
  651. package/src/funcs/accounting-get-invoice-document.ts +168 -0
  652. package/src/funcs/accounting-get-invoice.ts +166 -0
  653. package/src/funcs/accounting-get-invoices.ts +169 -0
  654. package/src/funcs/accounting-get-item.ts +166 -0
  655. package/src/funcs/accounting-get-items.ts +166 -0
  656. package/src/funcs/accounting-get-journal-entries.ts +169 -0
  657. package/src/funcs/accounting-get-journal-entry-attachment-by-id.ts +175 -0
  658. package/src/funcs/accounting-get-journal-entry-attachments.ts +171 -0
  659. package/src/funcs/accounting-get-journal-entry.ts +169 -0
  660. package/src/funcs/accounting-get-journals.ts +164 -0
  661. package/src/funcs/accounting-get-line-item.ts +172 -0
  662. package/src/funcs/accounting-get-line-items.ts +171 -0
  663. package/src/funcs/accounting-get-offer-document.ts +166 -0
  664. package/src/funcs/accounting-get-offer-line-item.ts +173 -0
  665. package/src/funcs/accounting-get-offer-line-items.ts +170 -0
  666. package/src/funcs/accounting-get-offer.ts +166 -0
  667. package/src/funcs/accounting-get-offers.ts +165 -0
  668. package/src/funcs/accounting-get-open-items.ts +168 -0
  669. package/src/funcs/accounting-get-payment-term.ts +168 -0
  670. package/src/funcs/accounting-get-payment.ts +165 -0
  671. package/src/funcs/accounting-get-payments.ts +165 -0
  672. package/src/funcs/accounting-get-project.ts +166 -0
  673. package/src/funcs/accounting-get-purchase-order-line-item.ts +173 -0
  674. package/src/funcs/accounting-get-purchase-order-line-items.ts +173 -0
  675. package/src/funcs/accounting-get-purchase-order.ts +169 -0
  676. package/src/funcs/accounting-get-purchase-orders.ts +167 -0
  677. package/src/funcs/accounting-get-sales-order-lines.ts +172 -0
  678. package/src/funcs/accounting-get-sales-order.ts +166 -0
  679. package/src/funcs/accounting-get-sales-orders.ts +168 -0
  680. package/src/funcs/accounting-get-supplier.ts +166 -0
  681. package/src/funcs/accounting-get-suppliers.ts +167 -0
  682. package/src/funcs/accounting-get-tax-rate.ts +166 -0
  683. package/src/funcs/accounting-get-tax-rates.ts +165 -0
  684. package/src/funcs/accounting-get-trial-balance.ts +171 -0
  685. package/src/funcs/accounting-get-units.ts +163 -0
  686. package/src/funcs/accounting-get-vendor-credits.ts +169 -0
  687. package/src/funcs/accounting-patch-contact.ts +166 -0
  688. package/src/funcs/accounting-patch-customers.ts +166 -0
  689. package/src/funcs/accounting-patch-invoice.ts +166 -0
  690. package/src/funcs/accounting-patch-item.ts +166 -0
  691. package/src/funcs/accounting-patch-line-item.ts +172 -0
  692. package/src/funcs/accounting-patch-supplier.ts +166 -0
  693. package/src/funcs/accounting-post-file.ts +215 -0
  694. package/src/funcs/accounting-put-contact.ts +166 -0
  695. package/src/funcs/accounting-update-bill-line-item.ts +172 -0
  696. package/src/funcs/accounting-update-bill.ts +166 -0
  697. package/src/funcs/accounting-update-supplier.ts +165 -0
  698. package/src/funcs/accounting-update-vendor-credit.ts +169 -0
  699. package/src/funcs/accounting-v2-create-booking-proposal-v2.ts +216 -0
  700. package/src/funcs/accounting-v2-create-contact-v2.ts +160 -0
  701. package/src/funcs/accounting-v2-get-contact-v2.ts +166 -0
  702. package/src/funcs/accounting-v2-get-contacts-v2.ts +167 -0
  703. package/src/funcs/accounting-v2-get-dimensions-by-dimension.ts +170 -0
  704. package/src/funcs/accounting-v2-get-dimensions-v2.ts +165 -0
  705. package/src/funcs/accounting-v2-patch-contact-v2.ts +166 -0
  706. package/src/funcs/accounting-v2-put-contact-v2.ts +166 -0
  707. package/src/funcs/user-get-user-info.ts +135 -0
  708. package/src/lib/config.ts +3 -4
  709. package/src/lib/security.ts +14 -2
  710. package/src/models/operations/get-accounts.ts +16 -2
  711. package/src/models/operations/get-async-task-info.ts +17 -2
  712. package/src/models/operations/get-bank-accounts.ts +17 -2
  713. package/src/models/operations/get-bills.ts +15 -2
  714. package/src/models/operations/get-booking-proposals.ts +18 -2
  715. package/src/models/operations/get-contacts-v2.ts +17 -2
  716. package/src/models/operations/get-contacts.ts +17 -2
  717. package/src/models/operations/get-credit-notes.ts +17 -2
  718. package/src/models/operations/get-customers.ts +17 -2
  719. package/src/models/operations/get-dimensions-by-dimension.ts +19 -2
  720. package/src/models/operations/get-dimensions.ts +17 -2
  721. package/src/models/operations/get-expenses.ts +17 -2
  722. package/src/models/operations/get-goods-receipts.ts +17 -2
  723. package/src/models/operations/get-invoices.ts +16 -2
  724. package/src/models/operations/get-items.ts +16 -2
  725. package/src/models/operations/get-journal-entries.ts +17 -2
  726. package/src/models/operations/get-journals.ts +17 -2
  727. package/src/models/operations/get-line-items.ts +17 -2
  728. package/src/models/operations/get-offer-line-items.ts +17 -2
  729. package/src/models/operations/get-offers.ts +16 -2
  730. package/src/models/operations/get-open-items.ts +17 -2
  731. package/src/models/operations/get-payment-terms.ts +17 -2
  732. package/src/models/operations/get-payments.ts +17 -2
  733. package/src/models/operations/get-projects.ts +17 -2
  734. package/src/models/operations/get-purchase-orders.ts +17 -2
  735. package/src/models/operations/get-sales-order-lines.ts +19 -2
  736. package/src/models/operations/get-sales-orders.ts +16 -2
  737. package/src/models/operations/get-suppliers.ts +17 -2
  738. package/src/models/operations/get-tax-rates.ts +17 -2
  739. package/src/models/operations/get-trial-balance.ts +17 -2
  740. package/src/models/operations/get-units.ts +16 -2
  741. package/src/models/operations/get-vendor-credits.ts +16 -2
  742. package/src/sdk/accounting-v2.ts +60 -12
  743. package/src/sdk/accounting.ts +447 -281
  744. package/src/sdk/sdk.ts +0 -74
  745. package/src/sdk/user.ts +3 -3
  746. package/esm/funcs/accounting-add-account.d.ts +0 -11
  747. package/esm/funcs/accounting-add-account.d.ts.map +0 -1
  748. package/esm/funcs/accounting-add-account.js +0 -77
  749. package/esm/funcs/accounting-add-account.js.map +0 -1
  750. package/esm/funcs/accounting-add-bank-account.d.ts +0 -11
  751. package/esm/funcs/accounting-add-bank-account.d.ts.map +0 -1
  752. package/esm/funcs/accounting-add-bank-account.js +0 -77
  753. package/esm/funcs/accounting-add-bank-account.js.map +0 -1
  754. package/esm/funcs/accounting-add-bill.d.ts +0 -11
  755. package/esm/funcs/accounting-add-bill.d.ts.map +0 -1
  756. package/esm/funcs/accounting-add-bill.js +0 -77
  757. package/esm/funcs/accounting-add-bill.js.map +0 -1
  758. package/esm/funcs/accounting-add-booking.d.ts +0 -11
  759. package/esm/funcs/accounting-add-booking.d.ts.map +0 -1
  760. package/esm/funcs/accounting-add-booking.js +0 -76
  761. package/esm/funcs/accounting-add-booking.js.map +0 -1
  762. package/esm/funcs/accounting-add-contact.d.ts +0 -11
  763. package/esm/funcs/accounting-add-contact.d.ts.map +0 -1
  764. package/esm/funcs/accounting-add-contact.js +0 -77
  765. package/esm/funcs/accounting-add-contact.js.map +0 -1
  766. package/esm/funcs/accounting-add-event-subscription.d.ts +0 -12
  767. package/esm/funcs/accounting-add-event-subscription.d.ts.map +0 -1
  768. package/esm/funcs/accounting-add-event-subscription.js +0 -77
  769. package/esm/funcs/accounting-add-event-subscription.js.map +0 -1
  770. package/esm/funcs/accounting-add-expense.d.ts +0 -11
  771. package/esm/funcs/accounting-add-expense.d.ts.map +0 -1
  772. package/esm/funcs/accounting-add-expense.js +0 -102
  773. package/esm/funcs/accounting-add-expense.js.map +0 -1
  774. package/esm/funcs/accounting-add-invoice-line-item.d.ts +0 -11
  775. package/esm/funcs/accounting-add-invoice-line-item.d.ts.map +0 -1
  776. package/esm/funcs/accounting-add-invoice-line-item.js +0 -83
  777. package/esm/funcs/accounting-add-invoice-line-item.js.map +0 -1
  778. package/esm/funcs/accounting-add-invoice.d.ts +0 -11
  779. package/esm/funcs/accounting-add-invoice.d.ts.map +0 -1
  780. package/esm/funcs/accounting-add-invoice.js +0 -77
  781. package/esm/funcs/accounting-add-invoice.js.map +0 -1
  782. package/esm/funcs/accounting-add-journal-entry.d.ts +0 -11
  783. package/esm/funcs/accounting-add-journal-entry.d.ts.map +0 -1
  784. package/esm/funcs/accounting-add-journal-entry.js +0 -107
  785. package/esm/funcs/accounting-add-journal-entry.js.map +0 -1
  786. package/esm/funcs/accounting-add-offer.d.ts +0 -11
  787. package/esm/funcs/accounting-add-offer.d.ts.map +0 -1
  788. package/esm/funcs/accounting-add-offer.js +0 -77
  789. package/esm/funcs/accounting-add-offer.js.map +0 -1
  790. package/esm/funcs/accounting-add-payment-term.d.ts +0 -11
  791. package/esm/funcs/accounting-add-payment-term.d.ts.map +0 -1
  792. package/esm/funcs/accounting-add-payment-term.js +0 -76
  793. package/esm/funcs/accounting-add-payment-term.js.map +0 -1
  794. package/esm/funcs/accounting-add-payment.d.ts +0 -11
  795. package/esm/funcs/accounting-add-payment.d.ts.map +0 -1
  796. package/esm/funcs/accounting-add-payment.js +0 -76
  797. package/esm/funcs/accounting-add-payment.js.map +0 -1
  798. package/esm/funcs/accounting-add-project.d.ts +0 -11
  799. package/esm/funcs/accounting-add-project.d.ts.map +0 -1
  800. package/esm/funcs/accounting-add-project.js +0 -77
  801. package/esm/funcs/accounting-add-project.js.map +0 -1
  802. package/esm/funcs/accounting-add-sales-order.d.ts +0 -11
  803. package/esm/funcs/accounting-add-sales-order.d.ts.map +0 -1
  804. package/esm/funcs/accounting-add-sales-order.js +0 -77
  805. package/esm/funcs/accounting-add-sales-order.js.map +0 -1
  806. package/esm/funcs/accounting-add-supplier.d.ts +0 -11
  807. package/esm/funcs/accounting-add-supplier.d.ts.map +0 -1
  808. package/esm/funcs/accounting-add-supplier.js +0 -77
  809. package/esm/funcs/accounting-add-supplier.js.map +0 -1
  810. package/esm/funcs/accounting-amend-customer.d.ts +0 -11
  811. package/esm/funcs/accounting-amend-customer.d.ts.map +0 -1
  812. package/esm/funcs/accounting-amend-customer.js +0 -83
  813. package/esm/funcs/accounting-amend-customer.js.map +0 -1
  814. package/esm/funcs/accounting-amend-invoice.d.ts +0 -11
  815. package/esm/funcs/accounting-amend-invoice.d.ts.map +0 -1
  816. package/esm/funcs/accounting-amend-invoice.js +0 -83
  817. package/esm/funcs/accounting-amend-invoice.js.map +0 -1
  818. package/esm/funcs/accounting-amend-supplier.d.ts +0 -11
  819. package/esm/funcs/accounting-amend-supplier.d.ts.map +0 -1
  820. package/esm/funcs/accounting-amend-supplier.js +0 -83
  821. package/esm/funcs/accounting-amend-supplier.js.map +0 -1
  822. package/esm/funcs/accounting-batch-add-contacts.d.ts +0 -11
  823. package/esm/funcs/accounting-batch-add-contacts.d.ts.map +0 -1
  824. package/esm/funcs/accounting-batch-add-contacts.js +0 -76
  825. package/esm/funcs/accounting-batch-add-contacts.js.map +0 -1
  826. package/esm/funcs/accounting-bills-add-line-item.d.ts +0 -11
  827. package/esm/funcs/accounting-bills-add-line-item.d.ts.map +0 -1
  828. package/esm/funcs/accounting-bills-add-line-item.js +0 -82
  829. package/esm/funcs/accounting-bills-add-line-item.js.map +0 -1
  830. package/esm/funcs/accounting-create-contacts-bulk.d.ts +0 -11
  831. package/esm/funcs/accounting-create-contacts-bulk.d.ts.map +0 -1
  832. package/esm/funcs/accounting-create-contacts-bulk.js +0 -76
  833. package/esm/funcs/accounting-create-contacts-bulk.js.map +0 -1
  834. package/esm/funcs/accounting-create-pass-through.d.ts +0 -11
  835. package/esm/funcs/accounting-create-pass-through.d.ts.map +0 -1
  836. package/esm/funcs/accounting-create-pass-through.js +0 -77
  837. package/esm/funcs/accounting-create-pass-through.js.map +0 -1
  838. package/esm/funcs/accounting-fetch-bank-account.d.ts +0 -11
  839. package/esm/funcs/accounting-fetch-bank-account.d.ts.map +0 -1
  840. package/esm/funcs/accounting-fetch-bank-account.js +0 -83
  841. package/esm/funcs/accounting-fetch-bank-account.js.map +0 -1
  842. package/esm/funcs/accounting-fetch-bill-document.d.ts +0 -11
  843. package/esm/funcs/accounting-fetch-bill-document.d.ts.map +0 -1
  844. package/esm/funcs/accounting-fetch-bill-document.js +0 -77
  845. package/esm/funcs/accounting-fetch-bill-document.js.map +0 -1
  846. package/esm/funcs/accounting-fetch-bill.d.ts +0 -11
  847. package/esm/funcs/accounting-fetch-bill.d.ts.map +0 -1
  848. package/esm/funcs/accounting-fetch-bill.js +0 -83
  849. package/esm/funcs/accounting-fetch-bill.js.map +0 -1
  850. package/esm/funcs/accounting-fetch-bills.d.ts +0 -11
  851. package/esm/funcs/accounting-fetch-bills.d.ts.map +0 -1
  852. package/esm/funcs/accounting-fetch-bills.js +0 -84
  853. package/esm/funcs/accounting-fetch-bills.js.map +0 -1
  854. package/esm/funcs/accounting-fetch-booking-proposal-document.d.ts +0 -11
  855. package/esm/funcs/accounting-fetch-booking-proposal-document.d.ts.map +0 -1
  856. package/esm/funcs/accounting-fetch-booking-proposal-document.js +0 -74
  857. package/esm/funcs/accounting-fetch-booking-proposal-document.js.map +0 -1
  858. package/esm/funcs/accounting-fetch-contact.d.ts +0 -11
  859. package/esm/funcs/accounting-fetch-contact.d.ts.map +0 -1
  860. package/esm/funcs/accounting-fetch-contact.js +0 -83
  861. package/esm/funcs/accounting-fetch-contact.js.map +0 -1
  862. package/esm/funcs/accounting-fetch-credit-note.d.ts +0 -11
  863. package/esm/funcs/accounting-fetch-credit-note.d.ts.map +0 -1
  864. package/esm/funcs/accounting-fetch-credit-note.js +0 -83
  865. package/esm/funcs/accounting-fetch-credit-note.js.map +0 -1
  866. package/esm/funcs/accounting-fetch-customer.d.ts +0 -11
  867. package/esm/funcs/accounting-fetch-customer.d.ts.map +0 -1
  868. package/esm/funcs/accounting-fetch-customer.js +0 -83
  869. package/esm/funcs/accounting-fetch-customer.js.map +0 -1
  870. package/esm/funcs/accounting-fetch-customers.d.ts +0 -11
  871. package/esm/funcs/accounting-fetch-customers.d.ts.map +0 -1
  872. package/esm/funcs/accounting-fetch-customers.js +0 -83
  873. package/esm/funcs/accounting-fetch-customers.js.map +0 -1
  874. package/esm/funcs/accounting-fetch-document-types.d.ts +0 -11
  875. package/esm/funcs/accounting-fetch-document-types.d.ts.map +0 -1
  876. package/esm/funcs/accounting-fetch-document-types.js +0 -75
  877. package/esm/funcs/accounting-fetch-document-types.js.map +0 -1
  878. package/esm/funcs/accounting-fetch-expense.d.ts +0 -11
  879. package/esm/funcs/accounting-fetch-expense.d.ts.map +0 -1
  880. package/esm/funcs/accounting-fetch-expense.js +0 -83
  881. package/esm/funcs/accounting-fetch-expense.js.map +0 -1
  882. package/esm/funcs/accounting-fetch-expenses.d.ts +0 -11
  883. package/esm/funcs/accounting-fetch-expenses.d.ts.map +0 -1
  884. package/esm/funcs/accounting-fetch-expenses.js +0 -79
  885. package/esm/funcs/accounting-fetch-expenses.js.map +0 -1
  886. package/esm/funcs/accounting-fetch-invoice-document.d.ts +0 -11
  887. package/esm/funcs/accounting-fetch-invoice-document.d.ts.map +0 -1
  888. package/esm/funcs/accounting-fetch-invoice-document.js +0 -82
  889. package/esm/funcs/accounting-fetch-invoice-document.js.map +0 -1
  890. package/esm/funcs/accounting-fetch-invoice.d.ts +0 -11
  891. package/esm/funcs/accounting-fetch-invoice.d.ts.map +0 -1
  892. package/esm/funcs/accounting-fetch-invoice.js +0 -83
  893. package/esm/funcs/accounting-fetch-invoice.js.map +0 -1
  894. package/esm/funcs/accounting-fetch-item.d.ts +0 -11
  895. package/esm/funcs/accounting-fetch-item.d.ts.map +0 -1
  896. package/esm/funcs/accounting-fetch-item.js +0 -83
  897. package/esm/funcs/accounting-fetch-item.js.map +0 -1
  898. package/esm/funcs/accounting-fetch-journal-entry.d.ts +0 -11
  899. package/esm/funcs/accounting-fetch-journal-entry.d.ts.map +0 -1
  900. package/esm/funcs/accounting-fetch-journal-entry.js +0 -84
  901. package/esm/funcs/accounting-fetch-journal-entry.js.map +0 -1
  902. package/esm/funcs/accounting-fetch-journals.d.ts +0 -11
  903. package/esm/funcs/accounting-fetch-journals.d.ts.map +0 -1
  904. package/esm/funcs/accounting-fetch-journals.js +0 -80
  905. package/esm/funcs/accounting-fetch-journals.js.map +0 -1
  906. package/esm/funcs/accounting-fetch-offer-line-items.d.ts +0 -11
  907. package/esm/funcs/accounting-fetch-offer-line-items.d.ts.map +0 -1
  908. package/esm/funcs/accounting-fetch-offer-line-items.js +0 -86
  909. package/esm/funcs/accounting-fetch-offer-line-items.js.map +0 -1
  910. package/esm/funcs/accounting-fetch-offer.d.ts +0 -11
  911. package/esm/funcs/accounting-fetch-offer.d.ts.map +0 -1
  912. package/esm/funcs/accounting-fetch-offer.js +0 -83
  913. package/esm/funcs/accounting-fetch-offer.js.map +0 -1
  914. package/esm/funcs/accounting-fetch-offers.d.ts +0 -11
  915. package/esm/funcs/accounting-fetch-offers.d.ts.map +0 -1
  916. package/esm/funcs/accounting-fetch-offers.js +0 -81
  917. package/esm/funcs/accounting-fetch-offers.js.map +0 -1
  918. package/esm/funcs/accounting-fetch-payment-term.d.ts +0 -11
  919. package/esm/funcs/accounting-fetch-payment-term.d.ts.map +0 -1
  920. package/esm/funcs/accounting-fetch-payment-term.js +0 -83
  921. package/esm/funcs/accounting-fetch-payment-term.js.map +0 -1
  922. package/esm/funcs/accounting-fetch-payment.d.ts +0 -11
  923. package/esm/funcs/accounting-fetch-payment.d.ts.map +0 -1
  924. package/esm/funcs/accounting-fetch-payment.js +0 -82
  925. package/esm/funcs/accounting-fetch-payment.js.map +0 -1
  926. package/esm/funcs/accounting-fetch-project.d.ts +0 -11
  927. package/esm/funcs/accounting-fetch-project.d.ts.map +0 -1
  928. package/esm/funcs/accounting-fetch-project.js +0 -83
  929. package/esm/funcs/accounting-fetch-project.js.map +0 -1
  930. package/esm/funcs/accounting-fetch-purchase-order.d.ts +0 -11
  931. package/esm/funcs/accounting-fetch-purchase-order.d.ts.map +0 -1
  932. package/esm/funcs/accounting-fetch-purchase-order.js +0 -83
  933. package/esm/funcs/accounting-fetch-purchase-order.js.map +0 -1
  934. package/esm/funcs/accounting-fetch-sales-order.d.ts +0 -11
  935. package/esm/funcs/accounting-fetch-sales-order.d.ts.map +0 -1
  936. package/esm/funcs/accounting-fetch-sales-order.js +0 -83
  937. package/esm/funcs/accounting-fetch-sales-order.js.map +0 -1
  938. package/esm/funcs/accounting-fetch-supplier.d.ts +0 -11
  939. package/esm/funcs/accounting-fetch-supplier.d.ts.map +0 -1
  940. package/esm/funcs/accounting-fetch-supplier.js +0 -83
  941. package/esm/funcs/accounting-fetch-supplier.js.map +0 -1
  942. package/esm/funcs/accounting-fetch-tax-rate.d.ts +0 -11
  943. package/esm/funcs/accounting-fetch-tax-rate.d.ts.map +0 -1
  944. package/esm/funcs/accounting-fetch-tax-rate.js +0 -83
  945. package/esm/funcs/accounting-fetch-tax-rate.js.map +0 -1
  946. package/esm/funcs/accounting-fetch-trial-balance.d.ts +0 -11
  947. package/esm/funcs/accounting-fetch-trial-balance.d.ts.map +0 -1
  948. package/esm/funcs/accounting-fetch-trial-balance.js +0 -84
  949. package/esm/funcs/accounting-fetch-trial-balance.js.map +0 -1
  950. package/esm/funcs/accounting-fetch-units.d.ts +0 -11
  951. package/esm/funcs/accounting-fetch-units.d.ts.map +0 -1
  952. package/esm/funcs/accounting-fetch-units.js +0 -79
  953. package/esm/funcs/accounting-fetch-units.js.map +0 -1
  954. package/esm/funcs/accounting-get-async-task.d.ts +0 -11
  955. package/esm/funcs/accounting-get-async-task.d.ts.map +0 -1
  956. package/esm/funcs/accounting-get-async-task.js +0 -83
  957. package/esm/funcs/accounting-get-async-task.js.map +0 -1
  958. package/esm/funcs/accounting-invoices-update-line-item.d.ts +0 -11
  959. package/esm/funcs/accounting-invoices-update-line-item.d.ts.map +0 -1
  960. package/esm/funcs/accounting-invoices-update-line-item.js +0 -87
  961. package/esm/funcs/accounting-invoices-update-line-item.js.map +0 -1
  962. package/esm/funcs/accounting-journal-entries-get-attachments.d.ts +0 -11
  963. package/esm/funcs/accounting-journal-entries-get-attachments.d.ts.map +0 -1
  964. package/esm/funcs/accounting-journal-entries-get-attachments.js +0 -82
  965. package/esm/funcs/accounting-journal-entries-get-attachments.js.map +0 -1
  966. package/esm/funcs/accounting-list-booking-proposals.d.ts +0 -11
  967. package/esm/funcs/accounting-list-booking-proposals.d.ts.map +0 -1
  968. package/esm/funcs/accounting-list-booking-proposals.js +0 -84
  969. package/esm/funcs/accounting-list-booking-proposals.js.map +0 -1
  970. package/esm/funcs/accounting-list-credit-notes.d.ts +0 -11
  971. package/esm/funcs/accounting-list-credit-notes.d.ts.map +0 -1
  972. package/esm/funcs/accounting-list-credit-notes.js +0 -80
  973. package/esm/funcs/accounting-list-credit-notes.js.map +0 -1
  974. package/esm/funcs/accounting-list-journal-entries.d.ts +0 -11
  975. package/esm/funcs/accounting-list-journal-entries.d.ts.map +0 -1
  976. package/esm/funcs/accounting-list-journal-entries.js +0 -82
  977. package/esm/funcs/accounting-list-journal-entries.js.map +0 -1
  978. package/esm/funcs/accounting-list-sales-order-line-items.d.ts +0 -11
  979. package/esm/funcs/accounting-list-sales-order-line-items.d.ts.map +0 -1
  980. package/esm/funcs/accounting-list-sales-order-line-items.js +0 -86
  981. package/esm/funcs/accounting-list-sales-order-line-items.js.map +0 -1
  982. package/esm/funcs/accounting-list-sales-orders.d.ts +0 -11
  983. package/esm/funcs/accounting-list-sales-orders.d.ts.map +0 -1
  984. package/esm/funcs/accounting-list-sales-orders.js +0 -81
  985. package/esm/funcs/accounting-list-sales-orders.js.map +0 -1
  986. package/esm/funcs/accounting-modify-bill-line-item.d.ts +0 -11
  987. package/esm/funcs/accounting-modify-bill-line-item.d.ts.map +0 -1
  988. package/esm/funcs/accounting-modify-bill-line-item.js +0 -86
  989. package/esm/funcs/accounting-modify-bill-line-item.js.map +0 -1
  990. package/esm/funcs/accounting-modify-supplier.d.ts +0 -11
  991. package/esm/funcs/accounting-modify-supplier.d.ts.map +0 -1
  992. package/esm/funcs/accounting-modify-supplier.js +0 -82
  993. package/esm/funcs/accounting-modify-supplier.js.map +0 -1
  994. package/esm/funcs/accounting-modify-vendor-credit.d.ts +0 -11
  995. package/esm/funcs/accounting-modify-vendor-credit.d.ts.map +0 -1
  996. package/esm/funcs/accounting-modify-vendor-credit.js +0 -83
  997. package/esm/funcs/accounting-modify-vendor-credit.js.map +0 -1
  998. package/esm/funcs/accounting-record-transaction.d.ts +0 -11
  999. package/esm/funcs/accounting-record-transaction.d.ts.map +0 -1
  1000. package/esm/funcs/accounting-record-transaction.js +0 -101
  1001. package/esm/funcs/accounting-record-transaction.js.map +0 -1
  1002. package/esm/funcs/accounting-remove-bill.d.ts +0 -11
  1003. package/esm/funcs/accounting-remove-bill.d.ts.map +0 -1
  1004. package/esm/funcs/accounting-remove-bill.js +0 -82
  1005. package/esm/funcs/accounting-remove-bill.js.map +0 -1
  1006. package/esm/funcs/accounting-remove-event-subscription.d.ts +0 -12
  1007. package/esm/funcs/accounting-remove-event-subscription.d.ts.map +0 -1
  1008. package/esm/funcs/accounting-remove-event-subscription.js +0 -79
  1009. package/esm/funcs/accounting-remove-event-subscription.js.map +0 -1
  1010. package/esm/funcs/accounting-remove-payment.d.ts +0 -11
  1011. package/esm/funcs/accounting-remove-payment.d.ts.map +0 -1
  1012. package/esm/funcs/accounting-remove-payment.js +0 -81
  1013. package/esm/funcs/accounting-remove-payment.js.map +0 -1
  1014. package/esm/funcs/accounting-replace-contact.d.ts +0 -11
  1015. package/esm/funcs/accounting-replace-contact.d.ts.map +0 -1
  1016. package/esm/funcs/accounting-replace-contact.js +0 -83
  1017. package/esm/funcs/accounting-replace-contact.js.map +0 -1
  1018. package/esm/funcs/accounting-retrieve-account.d.ts +0 -11
  1019. package/esm/funcs/accounting-retrieve-account.d.ts.map +0 -1
  1020. package/esm/funcs/accounting-retrieve-account.js +0 -83
  1021. package/esm/funcs/accounting-retrieve-account.js.map +0 -1
  1022. package/esm/funcs/accounting-retrieve-accounts.d.ts +0 -11
  1023. package/esm/funcs/accounting-retrieve-accounts.d.ts.map +0 -1
  1024. package/esm/funcs/accounting-retrieve-accounts.js +0 -86
  1025. package/esm/funcs/accounting-retrieve-accounts.js.map +0 -1
  1026. package/esm/funcs/accounting-retrieve-bank-accounts.d.ts +0 -11
  1027. package/esm/funcs/accounting-retrieve-bank-accounts.d.ts.map +0 -1
  1028. package/esm/funcs/accounting-retrieve-bank-accounts.js +0 -80
  1029. package/esm/funcs/accounting-retrieve-bank-accounts.js.map +0 -1
  1030. package/esm/funcs/accounting-retrieve-booking-proposal.d.ts +0 -11
  1031. package/esm/funcs/accounting-retrieve-booking-proposal.d.ts.map +0 -1
  1032. package/esm/funcs/accounting-retrieve-booking-proposal.js +0 -80
  1033. package/esm/funcs/accounting-retrieve-booking-proposal.js.map +0 -1
  1034. package/esm/funcs/accounting-retrieve-dimensions.d.ts +0 -11
  1035. package/esm/funcs/accounting-retrieve-dimensions.d.ts.map +0 -1
  1036. package/esm/funcs/accounting-retrieve-dimensions.js +0 -80
  1037. package/esm/funcs/accounting-retrieve-dimensions.js.map +0 -1
  1038. package/esm/funcs/accounting-retrieve-goods-receipt-line-items.d.ts +0 -11
  1039. package/esm/funcs/accounting-retrieve-goods-receipt-line-items.d.ts.map +0 -1
  1040. package/esm/funcs/accounting-retrieve-goods-receipt-line-items.js +0 -84
  1041. package/esm/funcs/accounting-retrieve-goods-receipt-line-items.js.map +0 -1
  1042. package/esm/funcs/accounting-retrieve-goods-receipt.d.ts +0 -11
  1043. package/esm/funcs/accounting-retrieve-goods-receipt.d.ts.map +0 -1
  1044. package/esm/funcs/accounting-retrieve-goods-receipt.js +0 -83
  1045. package/esm/funcs/accounting-retrieve-goods-receipt.js.map +0 -1
  1046. package/esm/funcs/accounting-retrieve-invoice-line-item.d.ts +0 -11
  1047. package/esm/funcs/accounting-retrieve-invoice-line-item.d.ts.map +0 -1
  1048. package/esm/funcs/accounting-retrieve-invoice-line-item.js +0 -87
  1049. package/esm/funcs/accounting-retrieve-invoice-line-item.js.map +0 -1
  1050. package/esm/funcs/accounting-retrieve-invoice-line-items.d.ts +0 -11
  1051. package/esm/funcs/accounting-retrieve-invoice-line-items.d.ts.map +0 -1
  1052. package/esm/funcs/accounting-retrieve-invoice-line-items.js +0 -86
  1053. package/esm/funcs/accounting-retrieve-invoice-line-items.js.map +0 -1
  1054. package/esm/funcs/accounting-retrieve-invoices.d.ts +0 -11
  1055. package/esm/funcs/accounting-retrieve-invoices.d.ts.map +0 -1
  1056. package/esm/funcs/accounting-retrieve-invoices.js +0 -85
  1057. package/esm/funcs/accounting-retrieve-invoices.js.map +0 -1
  1058. package/esm/funcs/accounting-retrieve-items.d.ts +0 -11
  1059. package/esm/funcs/accounting-retrieve-items.d.ts.map +0 -1
  1060. package/esm/funcs/accounting-retrieve-items.js +0 -82
  1061. package/esm/funcs/accounting-retrieve-items.js.map +0 -1
  1062. package/esm/funcs/accounting-retrieve-offer-line-item.d.ts +0 -11
  1063. package/esm/funcs/accounting-retrieve-offer-line-item.d.ts.map +0 -1
  1064. package/esm/funcs/accounting-retrieve-offer-line-item.js +0 -87
  1065. package/esm/funcs/accounting-retrieve-offer-line-item.js.map +0 -1
  1066. package/esm/funcs/accounting-retrieve-open-items.d.ts +0 -11
  1067. package/esm/funcs/accounting-retrieve-open-items.d.ts.map +0 -1
  1068. package/esm/funcs/accounting-retrieve-open-items.js +0 -84
  1069. package/esm/funcs/accounting-retrieve-open-items.js.map +0 -1
  1070. package/esm/funcs/accounting-retrieve-payments.d.ts +0 -11
  1071. package/esm/funcs/accounting-retrieve-payments.d.ts.map +0 -1
  1072. package/esm/funcs/accounting-retrieve-payments.js +0 -81
  1073. package/esm/funcs/accounting-retrieve-payments.js.map +0 -1
  1074. package/esm/funcs/accounting-retrieve-purchase-order-line-item.d.ts +0 -11
  1075. package/esm/funcs/accounting-retrieve-purchase-order-line-item.d.ts.map +0 -1
  1076. package/esm/funcs/accounting-retrieve-purchase-order-line-item.js +0 -87
  1077. package/esm/funcs/accounting-retrieve-purchase-order-line-item.js.map +0 -1
  1078. package/esm/funcs/accounting-retrieve-purchase-order-line-items.d.ts +0 -11
  1079. package/esm/funcs/accounting-retrieve-purchase-order-line-items.d.ts.map +0 -1
  1080. package/esm/funcs/accounting-retrieve-purchase-order-line-items.js +0 -84
  1081. package/esm/funcs/accounting-retrieve-purchase-order-line-items.js.map +0 -1
  1082. package/esm/funcs/accounting-retrieve-suppliers.d.ts +0 -11
  1083. package/esm/funcs/accounting-retrieve-suppliers.d.ts.map +0 -1
  1084. package/esm/funcs/accounting-retrieve-suppliers.js +0 -83
  1085. package/esm/funcs/accounting-retrieve-suppliers.js.map +0 -1
  1086. package/esm/funcs/accounting-retrieve-tax-rates.d.ts +0 -11
  1087. package/esm/funcs/accounting-retrieve-tax-rates.d.ts.map +0 -1
  1088. package/esm/funcs/accounting-retrieve-tax-rates.js +0 -81
  1089. package/esm/funcs/accounting-retrieve-tax-rates.js.map +0 -1
  1090. package/esm/funcs/accounting-retrieve-vendor-credits.d.ts +0 -11
  1091. package/esm/funcs/accounting-retrieve-vendor-credits.d.ts.map +0 -1
  1092. package/esm/funcs/accounting-retrieve-vendor-credits.js +0 -82
  1093. package/esm/funcs/accounting-retrieve-vendor-credits.js.map +0 -1
  1094. package/esm/funcs/accounting-upload-file.d.ts +0 -11
  1095. package/esm/funcs/accounting-upload-file.d.ts.map +0 -1
  1096. package/esm/funcs/accounting-upload-file.js +0 -117
  1097. package/esm/funcs/accounting-upload-file.js.map +0 -1
  1098. package/esm/funcs/accounting-v2-contacts-update.d.ts +0 -11
  1099. package/esm/funcs/accounting-v2-contacts-update.d.ts.map +0 -1
  1100. package/esm/funcs/accounting-v2-contacts-update.js +0 -83
  1101. package/esm/funcs/accounting-v2-contacts-update.js.map +0 -1
  1102. package/esm/funcs/accounting-v2-create-booking-proposal.d.ts +0 -11
  1103. package/esm/funcs/accounting-v2-create-booking-proposal.d.ts.map +0 -1
  1104. package/esm/funcs/accounting-v2-create-booking-proposal.js +0 -111
  1105. package/esm/funcs/accounting-v2-create-booking-proposal.js.map +0 -1
  1106. package/esm/funcs/accounting-v2-create-contact.d.ts +0 -11
  1107. package/esm/funcs/accounting-v2-create-contact.d.ts.map +0 -1
  1108. package/esm/funcs/accounting-v2-create-contact.js +0 -77
  1109. package/esm/funcs/accounting-v2-create-contact.js.map +0 -1
  1110. package/esm/funcs/accounting-v2-get-dimension.d.ts +0 -11
  1111. package/esm/funcs/accounting-v2-get-dimension.d.ts.map +0 -1
  1112. package/esm/funcs/accounting-v2-get-dimension.js +0 -86
  1113. package/esm/funcs/accounting-v2-get-dimension.js.map +0 -1
  1114. package/esm/funcs/accounting-v2-obtain-dimensions.d.ts +0 -11
  1115. package/esm/funcs/accounting-v2-obtain-dimensions.d.ts.map +0 -1
  1116. package/esm/funcs/accounting-v2-obtain-dimensions.js +0 -78
  1117. package/esm/funcs/accounting-v2-obtain-dimensions.js.map +0 -1
  1118. package/esm/funcs/accounting-v2-update-contact.d.ts +0 -11
  1119. package/esm/funcs/accounting-v2-update-contact.d.ts.map +0 -1
  1120. package/esm/funcs/accounting-v2-update-contact.js +0 -83
  1121. package/esm/funcs/accounting-v2-update-contact.js.map +0 -1
  1122. package/esm/funcs/bills-get-line-items.d.ts +0 -11
  1123. package/esm/funcs/bills-get-line-items.d.ts.map +0 -1
  1124. package/esm/funcs/bills-get-line-items.js +0 -82
  1125. package/esm/funcs/bills-get-line-items.js.map +0 -1
  1126. package/esm/funcs/bills-update.d.ts +0 -11
  1127. package/esm/funcs/bills-update.d.ts.map +0 -1
  1128. package/esm/funcs/bills-update.js +0 -83
  1129. package/esm/funcs/bills-update.js.map +0 -1
  1130. package/esm/funcs/contacts-patch.d.ts +0 -11
  1131. package/esm/funcs/contacts-patch.d.ts.map +0 -1
  1132. package/esm/funcs/contacts-patch.js +0 -83
  1133. package/esm/funcs/contacts-patch.js.map +0 -1
  1134. package/esm/funcs/contacts-v2-get.d.ts +0 -11
  1135. package/esm/funcs/contacts-v2-get.d.ts.map +0 -1
  1136. package/esm/funcs/contacts-v2-get.js +0 -83
  1137. package/esm/funcs/contacts-v2-get.js.map +0 -1
  1138. package/esm/funcs/contacts-v2-list.d.ts +0 -11
  1139. package/esm/funcs/contacts-v2-list.d.ts.map +0 -1
  1140. package/esm/funcs/contacts-v2-list.js +0 -80
  1141. package/esm/funcs/contacts-v2-list.js.map +0 -1
  1142. package/esm/funcs/files-get-document-extensions.d.ts +0 -11
  1143. package/esm/funcs/files-get-document-extensions.d.ts.map +0 -1
  1144. package/esm/funcs/files-get-document-extensions.js +0 -75
  1145. package/esm/funcs/files-get-document-extensions.js.map +0 -1
  1146. package/esm/funcs/fiscal-years-get.d.ts +0 -11
  1147. package/esm/funcs/fiscal-years-get.d.ts.map +0 -1
  1148. package/esm/funcs/fiscal-years-get.js +0 -83
  1149. package/esm/funcs/fiscal-years-get.js.map +0 -1
  1150. package/esm/funcs/goods-receipts-get-line-item.d.ts +0 -11
  1151. package/esm/funcs/goods-receipts-get-line-item.d.ts.map +0 -1
  1152. package/esm/funcs/goods-receipts-get-line-item.js +0 -87
  1153. package/esm/funcs/goods-receipts-get-line-item.js.map +0 -1
  1154. package/esm/funcs/items-create.d.ts +0 -11
  1155. package/esm/funcs/items-create.d.ts.map +0 -1
  1156. package/esm/funcs/items-create.js +0 -77
  1157. package/esm/funcs/items-create.js.map +0 -1
  1158. package/esm/funcs/items-modify.d.ts +0 -11
  1159. package/esm/funcs/items-modify.d.ts.map +0 -1
  1160. package/esm/funcs/items-modify.js +0 -83
  1161. package/esm/funcs/items-modify.js.map +0 -1
  1162. package/esm/funcs/journal-entries-create-bulk.d.ts +0 -11
  1163. package/esm/funcs/journal-entries-create-bulk.d.ts.map +0 -1
  1164. package/esm/funcs/journal-entries-create-bulk.js +0 -76
  1165. package/esm/funcs/journal-entries-create-bulk.js.map +0 -1
  1166. package/esm/funcs/journal-entry-attachments-get-by-id.d.ts +0 -11
  1167. package/esm/funcs/journal-entry-attachments-get-by-id.d.ts.map +0 -1
  1168. package/esm/funcs/journal-entry-attachments-get-by-id.js +0 -86
  1169. package/esm/funcs/journal-entry-attachments-get-by-id.js.map +0 -1
  1170. package/esm/funcs/offers-get-document.d.ts +0 -11
  1171. package/esm/funcs/offers-get-document.d.ts.map +0 -1
  1172. package/esm/funcs/offers-get-document.js +0 -82
  1173. package/esm/funcs/offers-get-document.js.map +0 -1
  1174. package/esm/funcs/purchase-orders-list.d.ts +0 -11
  1175. package/esm/funcs/purchase-orders-list.d.ts.map +0 -1
  1176. package/esm/funcs/purchase-orders-list.js +0 -80
  1177. package/esm/funcs/purchase-orders-list.js.map +0 -1
  1178. package/esm/funcs/user-get-info.d.ts +0 -11
  1179. package/esm/funcs/user-get-info.d.ts.map +0 -1
  1180. package/esm/funcs/user-get-info.js +0 -61
  1181. package/esm/funcs/user-get-info.js.map +0 -1
  1182. package/esm/funcs/vendor-credits-delete.d.ts +0 -11
  1183. package/esm/funcs/vendor-credits-delete.d.ts.map +0 -1
  1184. package/esm/funcs/vendor-credits-delete.js +0 -82
  1185. package/esm/funcs/vendor-credits-delete.js.map +0 -1
  1186. package/esm/sdk/accounting-bills.d.ts +0 -6
  1187. package/esm/sdk/accounting-bills.d.ts.map +0 -1
  1188. package/esm/sdk/accounting-bills.js +0 -12
  1189. package/esm/sdk/accounting-bills.js.map +0 -1
  1190. package/esm/sdk/accounting-journal-entries.d.ts +0 -6
  1191. package/esm/sdk/accounting-journal-entries.d.ts.map +0 -1
  1192. package/esm/sdk/accounting-journal-entries.js +0 -12
  1193. package/esm/sdk/accounting-journal-entries.js.map +0 -1
  1194. package/esm/sdk/bills.d.ts +0 -7
  1195. package/esm/sdk/bills.d.ts.map +0 -1
  1196. package/esm/sdk/bills.js +0 -16
  1197. package/esm/sdk/bills.js.map +0 -1
  1198. package/esm/sdk/contacts-v2.d.ts +0 -7
  1199. package/esm/sdk/contacts-v2.d.ts.map +0 -1
  1200. package/esm/sdk/contacts-v2.js +0 -16
  1201. package/esm/sdk/contacts-v2.js.map +0 -1
  1202. package/esm/sdk/contacts.d.ts +0 -6
  1203. package/esm/sdk/contacts.d.ts.map +0 -1
  1204. package/esm/sdk/contacts.js +0 -12
  1205. package/esm/sdk/contacts.js.map +0 -1
  1206. package/esm/sdk/files.d.ts +0 -6
  1207. package/esm/sdk/files.d.ts.map +0 -1
  1208. package/esm/sdk/files.js +0 -12
  1209. package/esm/sdk/files.js.map +0 -1
  1210. package/esm/sdk/fiscal-years.d.ts +0 -6
  1211. package/esm/sdk/fiscal-years.d.ts.map +0 -1
  1212. package/esm/sdk/fiscal-years.js +0 -12
  1213. package/esm/sdk/fiscal-years.js.map +0 -1
  1214. package/esm/sdk/goods-receipts.d.ts +0 -6
  1215. package/esm/sdk/goods-receipts.d.ts.map +0 -1
  1216. package/esm/sdk/goods-receipts.js +0 -12
  1217. package/esm/sdk/goods-receipts.js.map +0 -1
  1218. package/esm/sdk/invoices.d.ts +0 -6
  1219. package/esm/sdk/invoices.d.ts.map +0 -1
  1220. package/esm/sdk/invoices.js +0 -12
  1221. package/esm/sdk/invoices.js.map +0 -1
  1222. package/esm/sdk/items.d.ts +0 -7
  1223. package/esm/sdk/items.d.ts.map +0 -1
  1224. package/esm/sdk/items.js +0 -16
  1225. package/esm/sdk/items.js.map +0 -1
  1226. package/esm/sdk/journal-entries.d.ts +0 -6
  1227. package/esm/sdk/journal-entries.d.ts.map +0 -1
  1228. package/esm/sdk/journal-entries.js +0 -12
  1229. package/esm/sdk/journal-entries.js.map +0 -1
  1230. package/esm/sdk/journal-entry-attachments.d.ts +0 -6
  1231. package/esm/sdk/journal-entry-attachments.d.ts.map +0 -1
  1232. package/esm/sdk/journal-entry-attachments.js +0 -12
  1233. package/esm/sdk/journal-entry-attachments.js.map +0 -1
  1234. package/esm/sdk/offers.d.ts +0 -6
  1235. package/esm/sdk/offers.d.ts.map +0 -1
  1236. package/esm/sdk/offers.js +0 -12
  1237. package/esm/sdk/offers.js.map +0 -1
  1238. package/esm/sdk/purchase-orders.d.ts +0 -6
  1239. package/esm/sdk/purchase-orders.d.ts.map +0 -1
  1240. package/esm/sdk/purchase-orders.js +0 -12
  1241. package/esm/sdk/purchase-orders.js.map +0 -1
  1242. package/esm/sdk/v2-contacts.d.ts +0 -6
  1243. package/esm/sdk/v2-contacts.d.ts.map +0 -1
  1244. package/esm/sdk/v2-contacts.js +0 -12
  1245. package/esm/sdk/v2-contacts.js.map +0 -1
  1246. package/esm/sdk/v2.d.ts +0 -9
  1247. package/esm/sdk/v2.d.ts.map +0 -1
  1248. package/esm/sdk/v2.js +0 -17
  1249. package/esm/sdk/v2.js.map +0 -1
  1250. package/esm/sdk/vendor-credits.d.ts +0 -6
  1251. package/esm/sdk/vendor-credits.d.ts.map +0 -1
  1252. package/esm/sdk/vendor-credits.js +0 -12
  1253. package/esm/sdk/vendor-credits.js.map +0 -1
  1254. package/examples/accountingRetrieveAccount.example.ts +0 -32
  1255. package/src/funcs/accounting-add-account.ts +0 -160
  1256. package/src/funcs/accounting-add-bank-account.ts +0 -161
  1257. package/src/funcs/accounting-add-bill.ts +0 -160
  1258. package/src/funcs/accounting-add-booking.ts +0 -159
  1259. package/src/funcs/accounting-add-contact.ts +0 -160
  1260. package/src/funcs/accounting-add-event-subscription.ts +0 -161
  1261. package/src/funcs/accounting-add-expense.ts +0 -202
  1262. package/src/funcs/accounting-add-invoice-line-item.ts +0 -168
  1263. package/src/funcs/accounting-add-invoice.ts +0 -160
  1264. package/src/funcs/accounting-add-journal-entry.ts +0 -208
  1265. package/src/funcs/accounting-add-offer.ts +0 -160
  1266. package/src/funcs/accounting-add-payment-term.ts +0 -160
  1267. package/src/funcs/accounting-add-payment.ts +0 -159
  1268. package/src/funcs/accounting-add-project.ts +0 -160
  1269. package/src/funcs/accounting-add-sales-order.ts +0 -161
  1270. package/src/funcs/accounting-add-supplier.ts +0 -160
  1271. package/src/funcs/accounting-amend-customer.ts +0 -166
  1272. package/src/funcs/accounting-amend-invoice.ts +0 -166
  1273. package/src/funcs/accounting-amend-supplier.ts +0 -166
  1274. package/src/funcs/accounting-batch-add-contacts.ts +0 -160
  1275. package/src/funcs/accounting-bills-add-line-item.ts +0 -166
  1276. package/src/funcs/accounting-create-contacts-bulk.ts +0 -159
  1277. package/src/funcs/accounting-create-pass-through.ts +0 -161
  1278. package/src/funcs/accounting-fetch-bank-account.ts +0 -168
  1279. package/src/funcs/accounting-fetch-bill-document.ts +0 -159
  1280. package/src/funcs/accounting-fetch-bill.ts +0 -166
  1281. package/src/funcs/accounting-fetch-bills.ts +0 -168
  1282. package/src/funcs/accounting-fetch-booking-proposal-document.ts +0 -166
  1283. package/src/funcs/accounting-fetch-contact.ts +0 -166
  1284. package/src/funcs/accounting-fetch-credit-note.ts +0 -166
  1285. package/src/funcs/accounting-fetch-customer.ts +0 -166
  1286. package/src/funcs/accounting-fetch-customers.ts +0 -167
  1287. package/src/funcs/accounting-fetch-document-types.ts +0 -162
  1288. package/src/funcs/accounting-fetch-expense.ts +0 -166
  1289. package/src/funcs/accounting-fetch-expenses.ts +0 -163
  1290. package/src/funcs/accounting-fetch-invoice-document.ts +0 -168
  1291. package/src/funcs/accounting-fetch-invoice.ts +0 -166
  1292. package/src/funcs/accounting-fetch-item.ts +0 -166
  1293. package/src/funcs/accounting-fetch-journal-entry.ts +0 -169
  1294. package/src/funcs/accounting-fetch-journals.ts +0 -164
  1295. package/src/funcs/accounting-fetch-offer-line-items.ts +0 -170
  1296. package/src/funcs/accounting-fetch-offer.ts +0 -166
  1297. package/src/funcs/accounting-fetch-offers.ts +0 -165
  1298. package/src/funcs/accounting-fetch-payment-term.ts +0 -168
  1299. package/src/funcs/accounting-fetch-payment.ts +0 -165
  1300. package/src/funcs/accounting-fetch-project.ts +0 -166
  1301. package/src/funcs/accounting-fetch-purchase-order.ts +0 -169
  1302. package/src/funcs/accounting-fetch-sales-order.ts +0 -166
  1303. package/src/funcs/accounting-fetch-supplier.ts +0 -166
  1304. package/src/funcs/accounting-fetch-tax-rate.ts +0 -166
  1305. package/src/funcs/accounting-fetch-trial-balance.ts +0 -171
  1306. package/src/funcs/accounting-fetch-units.ts +0 -163
  1307. package/src/funcs/accounting-get-async-task.ts +0 -167
  1308. package/src/funcs/accounting-invoices-update-line-item.ts +0 -172
  1309. package/src/funcs/accounting-journal-entries-get-attachments.ts +0 -171
  1310. package/src/funcs/accounting-list-booking-proposals.ts +0 -171
  1311. package/src/funcs/accounting-list-credit-notes.ts +0 -167
  1312. package/src/funcs/accounting-list-journal-entries.ts +0 -169
  1313. package/src/funcs/accounting-list-sales-order-line-items.ts +0 -172
  1314. package/src/funcs/accounting-list-sales-orders.ts +0 -168
  1315. package/src/funcs/accounting-modify-bill-line-item.ts +0 -172
  1316. package/src/funcs/accounting-modify-supplier.ts +0 -165
  1317. package/src/funcs/accounting-modify-vendor-credit.ts +0 -169
  1318. package/src/funcs/accounting-record-transaction.ts +0 -202
  1319. package/src/funcs/accounting-remove-bill.ts +0 -165
  1320. package/src/funcs/accounting-remove-event-subscription.ts +0 -169
  1321. package/src/funcs/accounting-remove-payment.ts +0 -164
  1322. package/src/funcs/accounting-replace-contact.ts +0 -166
  1323. package/src/funcs/accounting-retrieve-account.ts +0 -166
  1324. package/src/funcs/accounting-retrieve-accounts.ts +0 -170
  1325. package/src/funcs/accounting-retrieve-bank-accounts.ts +0 -167
  1326. package/src/funcs/accounting-retrieve-booking-proposal.ts +0 -170
  1327. package/src/funcs/accounting-retrieve-dimensions.ts +0 -167
  1328. package/src/funcs/accounting-retrieve-goods-receipt-line-items.ts +0 -170
  1329. package/src/funcs/accounting-retrieve-goods-receipt.ts +0 -168
  1330. package/src/funcs/accounting-retrieve-invoice-line-item.ts +0 -172
  1331. package/src/funcs/accounting-retrieve-invoice-line-items.ts +0 -171
  1332. package/src/funcs/accounting-retrieve-invoices.ts +0 -169
  1333. package/src/funcs/accounting-retrieve-items.ts +0 -166
  1334. package/src/funcs/accounting-retrieve-offer-line-item.ts +0 -173
  1335. package/src/funcs/accounting-retrieve-open-items.ts +0 -168
  1336. package/src/funcs/accounting-retrieve-payments.ts +0 -165
  1337. package/src/funcs/accounting-retrieve-purchase-order-line-item.ts +0 -173
  1338. package/src/funcs/accounting-retrieve-purchase-order-line-items.ts +0 -173
  1339. package/src/funcs/accounting-retrieve-suppliers.ts +0 -167
  1340. package/src/funcs/accounting-retrieve-tax-rates.ts +0 -165
  1341. package/src/funcs/accounting-retrieve-vendor-credits.ts +0 -169
  1342. package/src/funcs/accounting-upload-file.ts +0 -215
  1343. package/src/funcs/accounting-v2-contacts-update.ts +0 -166
  1344. package/src/funcs/accounting-v2-create-booking-proposal.ts +0 -216
  1345. package/src/funcs/accounting-v2-create-contact.ts +0 -160
  1346. package/src/funcs/accounting-v2-get-dimension.ts +0 -170
  1347. package/src/funcs/accounting-v2-obtain-dimensions.ts +0 -165
  1348. package/src/funcs/accounting-v2-update-contact.ts +0 -166
  1349. package/src/funcs/bills-get-line-items.ts +0 -166
  1350. package/src/funcs/bills-update.ts +0 -166
  1351. package/src/funcs/contacts-patch.ts +0 -166
  1352. package/src/funcs/contacts-v2-get.ts +0 -166
  1353. package/src/funcs/contacts-v2-list.ts +0 -167
  1354. package/src/funcs/files-get-document-extensions.ts +0 -162
  1355. package/src/funcs/fiscal-years-get.ts +0 -166
  1356. package/src/funcs/goods-receipts-get-line-item.ts +0 -173
  1357. package/src/funcs/items-create.ts +0 -160
  1358. package/src/funcs/items-modify.ts +0 -166
  1359. package/src/funcs/journal-entries-create-bulk.ts +0 -160
  1360. package/src/funcs/journal-entry-attachments-get-by-id.ts +0 -175
  1361. package/src/funcs/offers-get-document.ts +0 -166
  1362. package/src/funcs/purchase-orders-list.ts +0 -167
  1363. package/src/funcs/user-get-info.ts +0 -135
  1364. package/src/funcs/vendor-credits-delete.ts +0 -168
  1365. package/src/sdk/accounting-bills.ts +0 -21
  1366. package/src/sdk/accounting-journal-entries.ts +0 -21
  1367. package/src/sdk/bills.ts +0 -33
  1368. package/src/sdk/contacts-v2.ts +0 -33
  1369. package/src/sdk/contacts.ts +0 -21
  1370. package/src/sdk/files.ts +0 -21
  1371. package/src/sdk/fiscal-years.ts +0 -21
  1372. package/src/sdk/goods-receipts.ts +0 -21
  1373. package/src/sdk/invoices.ts +0 -21
  1374. package/src/sdk/items.ts +0 -33
  1375. package/src/sdk/journal-entries.ts +0 -21
  1376. package/src/sdk/journal-entry-attachments.ts +0 -21
  1377. package/src/sdk/offers.ts +0 -21
  1378. package/src/sdk/purchase-orders.ts +0 -21
  1379. package/src/sdk/v2-contacts.ts +0 -21
  1380. package/src/sdk/v2.ts +0 -27
  1381. package/src/sdk/vendor-credits.ts +0 -21
@@ -0,0 +1,171 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { MaesnCore } from "../core.js";
7
+ import { encodeFormQuery } from "../lib/encodings.js";
8
+ import * as M from "../lib/matchers.js";
9
+ import { compactMap } from "../lib/primitives.js";
10
+ import { safeParse } from "../lib/schemas.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/errors/http-client-errors.js";
21
+ import { MaesnError } from "../models/errors/maesn-error.js";
22
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
23
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
24
+ import * as operations from "../models/operations/index.js";
25
+ import { APICall, APIPromise } from "../types/async.js";
26
+ import { Result } from "../types/fp.js";
27
+
28
+ export function accountingGetBookingProposals(
29
+ client: MaesnCore,
30
+ request?: operations.GetBookingProposalsRequest | undefined,
31
+ options?: RequestOptions,
32
+ ): APIPromise<
33
+ Result<
34
+ operations.GetBookingProposalsResponse,
35
+ | MaesnError
36
+ | ResponseValidationError
37
+ | ConnectionError
38
+ | RequestAbortedError
39
+ | RequestTimeoutError
40
+ | InvalidRequestError
41
+ | UnexpectedClientError
42
+ | SDKValidationError
43
+ >
44
+ > {
45
+ return new APIPromise($do(
46
+ client,
47
+ request,
48
+ options,
49
+ ));
50
+ }
51
+
52
+ async function $do(
53
+ client: MaesnCore,
54
+ request?: operations.GetBookingProposalsRequest | undefined,
55
+ options?: RequestOptions,
56
+ ): Promise<
57
+ [
58
+ Result<
59
+ operations.GetBookingProposalsResponse,
60
+ | MaesnError
61
+ | ResponseValidationError
62
+ | ConnectionError
63
+ | RequestAbortedError
64
+ | RequestTimeoutError
65
+ | InvalidRequestError
66
+ | UnexpectedClientError
67
+ | SDKValidationError
68
+ >,
69
+ APICall,
70
+ ]
71
+ > {
72
+ const parsed = safeParse(
73
+ request,
74
+ (value) =>
75
+ z.parse(
76
+ z.optional(operations.GetBookingProposalsRequest$outboundSchema),
77
+ value,
78
+ ),
79
+ "Input validation failed",
80
+ );
81
+ if (!parsed.ok) {
82
+ return [parsed, { status: "invalid" }];
83
+ }
84
+ const payload = parsed.value;
85
+ const body = null;
86
+
87
+ const path = pathToFunc("/accounting/bookingProposals")();
88
+
89
+ const query = encodeFormQuery({
90
+ "bookingType": payload?.bookingType,
91
+ "companyId": payload?.companyId,
92
+ "environmentName": payload?.environmentName,
93
+ "lastModifiedAt": payload?.lastModifiedAt,
94
+ "limit": payload?.limit,
95
+ "orderDir": payload?.orderDir,
96
+ "orderField": payload?.orderField,
97
+ "page": payload?.page,
98
+ "rawData": payload?.rawData,
99
+ "status": payload?.status,
100
+ });
101
+
102
+ const headers = new Headers(compactMap({
103
+ Accept: "application/json",
104
+ }));
105
+
106
+ const securityInput = await extractSecurity(client._options.security);
107
+ const requestSecurity = resolveGlobalSecurity(securityInput);
108
+
109
+ const context = {
110
+ options: client._options,
111
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
112
+ operationID: "getBookingProposals",
113
+ oAuth2Scopes: null,
114
+
115
+ resolvedSecurity: requestSecurity,
116
+
117
+ securitySource: client._options.security,
118
+ retryConfig: options?.retries
119
+ || client._options.retryConfig
120
+ || { strategy: "none" },
121
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
122
+ };
123
+
124
+ const requestRes = client._createRequest(context, {
125
+ security: requestSecurity,
126
+ method: "GET",
127
+ baseURL: options?.serverURL,
128
+ path: path,
129
+ headers: headers,
130
+ query: query,
131
+ body: body,
132
+ userAgent: client._options.userAgent,
133
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
134
+ }, options);
135
+ if (!requestRes.ok) {
136
+ return [requestRes, { status: "invalid" }];
137
+ }
138
+ const req = requestRes.value;
139
+
140
+ const doResult = await client._do(req, {
141
+ context,
142
+ errorCodes: ["4XX", "5XX"],
143
+ retryConfig: context.retryConfig,
144
+ retryCodes: context.retryCodes,
145
+ });
146
+ if (!doResult.ok) {
147
+ return [doResult, { status: "request-error", request: req }];
148
+ }
149
+ const response = doResult.value;
150
+
151
+ const [result] = await M.match<
152
+ operations.GetBookingProposalsResponse,
153
+ | MaesnError
154
+ | ResponseValidationError
155
+ | ConnectionError
156
+ | RequestAbortedError
157
+ | RequestTimeoutError
158
+ | InvalidRequestError
159
+ | UnexpectedClientError
160
+ | SDKValidationError
161
+ >(
162
+ M.json(200, operations.GetBookingProposalsResponse$inboundSchema),
163
+ M.fail("4XX"),
164
+ M.fail("5XX"),
165
+ )(response, req);
166
+ if (!result.ok) {
167
+ return [result, { status: "complete", request: req, response }];
168
+ }
169
+
170
+ return [result, { status: "complete", request: req, response }];
171
+ }
@@ -0,0 +1,166 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { MaesnCore } from "../core.js";
7
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
8
+ import * as M from "../lib/matchers.js";
9
+ import { compactMap } from "../lib/primitives.js";
10
+ import { safeParse } from "../lib/schemas.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/errors/http-client-errors.js";
21
+ import { MaesnError } from "../models/errors/maesn-error.js";
22
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
23
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
24
+ import * as operations from "../models/operations/index.js";
25
+ import { APICall, APIPromise } from "../types/async.js";
26
+ import { Result } from "../types/fp.js";
27
+
28
+ export function accountingGetContact(
29
+ client: MaesnCore,
30
+ request: operations.GetContactRequest,
31
+ options?: RequestOptions,
32
+ ): APIPromise<
33
+ Result<
34
+ operations.GetContactResponse,
35
+ | MaesnError
36
+ | ResponseValidationError
37
+ | ConnectionError
38
+ | RequestAbortedError
39
+ | RequestTimeoutError
40
+ | InvalidRequestError
41
+ | UnexpectedClientError
42
+ | SDKValidationError
43
+ >
44
+ > {
45
+ return new APIPromise($do(
46
+ client,
47
+ request,
48
+ options,
49
+ ));
50
+ }
51
+
52
+ async function $do(
53
+ client: MaesnCore,
54
+ request: operations.GetContactRequest,
55
+ options?: RequestOptions,
56
+ ): Promise<
57
+ [
58
+ Result<
59
+ operations.GetContactResponse,
60
+ | MaesnError
61
+ | ResponseValidationError
62
+ | ConnectionError
63
+ | RequestAbortedError
64
+ | RequestTimeoutError
65
+ | InvalidRequestError
66
+ | UnexpectedClientError
67
+ | SDKValidationError
68
+ >,
69
+ APICall,
70
+ ]
71
+ > {
72
+ const parsed = safeParse(
73
+ request,
74
+ (value) => z.parse(operations.GetContactRequest$outboundSchema, value),
75
+ "Input validation failed",
76
+ );
77
+ if (!parsed.ok) {
78
+ return [parsed, { status: "invalid" }];
79
+ }
80
+ const payload = parsed.value;
81
+ const body = null;
82
+
83
+ const pathParams = {
84
+ contactId: encodeSimple("contactId", payload.contactId, {
85
+ explode: false,
86
+ charEncoding: "percent",
87
+ }),
88
+ };
89
+ const path = pathToFunc("/accounting/contacts/{contactId}")(pathParams);
90
+
91
+ const query = encodeFormQuery({
92
+ "companyId": payload.companyId,
93
+ "environmentName": payload.environmentName,
94
+ "rawData": payload.rawData,
95
+ });
96
+
97
+ const headers = new Headers(compactMap({
98
+ Accept: "application/json",
99
+ }));
100
+
101
+ const securityInput = await extractSecurity(client._options.security);
102
+ const requestSecurity = resolveGlobalSecurity(securityInput);
103
+
104
+ const context = {
105
+ options: client._options,
106
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
107
+ operationID: "getContact",
108
+ oAuth2Scopes: null,
109
+
110
+ resolvedSecurity: requestSecurity,
111
+
112
+ securitySource: client._options.security,
113
+ retryConfig: options?.retries
114
+ || client._options.retryConfig
115
+ || { strategy: "none" },
116
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
117
+ };
118
+
119
+ const requestRes = client._createRequest(context, {
120
+ security: requestSecurity,
121
+ method: "GET",
122
+ baseURL: options?.serverURL,
123
+ path: path,
124
+ headers: headers,
125
+ query: query,
126
+ body: body,
127
+ userAgent: client._options.userAgent,
128
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
129
+ }, options);
130
+ if (!requestRes.ok) {
131
+ return [requestRes, { status: "invalid" }];
132
+ }
133
+ const req = requestRes.value;
134
+
135
+ const doResult = await client._do(req, {
136
+ context,
137
+ errorCodes: ["4XX", "5XX"],
138
+ retryConfig: context.retryConfig,
139
+ retryCodes: context.retryCodes,
140
+ });
141
+ if (!doResult.ok) {
142
+ return [doResult, { status: "request-error", request: req }];
143
+ }
144
+ const response = doResult.value;
145
+
146
+ const [result] = await M.match<
147
+ operations.GetContactResponse,
148
+ | MaesnError
149
+ | ResponseValidationError
150
+ | ConnectionError
151
+ | RequestAbortedError
152
+ | RequestTimeoutError
153
+ | InvalidRequestError
154
+ | UnexpectedClientError
155
+ | SDKValidationError
156
+ >(
157
+ M.json(200, operations.GetContactResponse$inboundSchema),
158
+ M.fail("4XX"),
159
+ M.fail("5XX"),
160
+ )(response, req);
161
+ if (!result.ok) {
162
+ return [result, { status: "complete", request: req, response }];
163
+ }
164
+
165
+ return [result, { status: "complete", request: req, response }];
166
+ }
@@ -0,0 +1,166 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { MaesnCore } from "../core.js";
7
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
8
+ import * as M from "../lib/matchers.js";
9
+ import { compactMap } from "../lib/primitives.js";
10
+ import { safeParse } from "../lib/schemas.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/errors/http-client-errors.js";
21
+ import { MaesnError } from "../models/errors/maesn-error.js";
22
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
23
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
24
+ import * as operations from "../models/operations/index.js";
25
+ import { APICall, APIPromise } from "../types/async.js";
26
+ import { Result } from "../types/fp.js";
27
+
28
+ export function accountingGetCreditNote(
29
+ client: MaesnCore,
30
+ request: operations.GetCreditNoteRequest,
31
+ options?: RequestOptions,
32
+ ): APIPromise<
33
+ Result<
34
+ operations.GetCreditNoteResponse,
35
+ | MaesnError
36
+ | ResponseValidationError
37
+ | ConnectionError
38
+ | RequestAbortedError
39
+ | RequestTimeoutError
40
+ | InvalidRequestError
41
+ | UnexpectedClientError
42
+ | SDKValidationError
43
+ >
44
+ > {
45
+ return new APIPromise($do(
46
+ client,
47
+ request,
48
+ options,
49
+ ));
50
+ }
51
+
52
+ async function $do(
53
+ client: MaesnCore,
54
+ request: operations.GetCreditNoteRequest,
55
+ options?: RequestOptions,
56
+ ): Promise<
57
+ [
58
+ Result<
59
+ operations.GetCreditNoteResponse,
60
+ | MaesnError
61
+ | ResponseValidationError
62
+ | ConnectionError
63
+ | RequestAbortedError
64
+ | RequestTimeoutError
65
+ | InvalidRequestError
66
+ | UnexpectedClientError
67
+ | SDKValidationError
68
+ >,
69
+ APICall,
70
+ ]
71
+ > {
72
+ const parsed = safeParse(
73
+ request,
74
+ (value) => z.parse(operations.GetCreditNoteRequest$outboundSchema, value),
75
+ "Input validation failed",
76
+ );
77
+ if (!parsed.ok) {
78
+ return [parsed, { status: "invalid" }];
79
+ }
80
+ const payload = parsed.value;
81
+ const body = null;
82
+
83
+ const pathParams = {
84
+ creditNoteId: encodeSimple("creditNoteId", payload.creditNoteId, {
85
+ explode: false,
86
+ charEncoding: "percent",
87
+ }),
88
+ };
89
+ const path = pathToFunc("/accounting/creditNotes/{creditNoteId}")(pathParams);
90
+
91
+ const query = encodeFormQuery({
92
+ "companyId": payload.companyId,
93
+ "environmentName": payload.environmentName,
94
+ "rawData": payload.rawData,
95
+ });
96
+
97
+ const headers = new Headers(compactMap({
98
+ Accept: "application/json",
99
+ }));
100
+
101
+ const securityInput = await extractSecurity(client._options.security);
102
+ const requestSecurity = resolveGlobalSecurity(securityInput);
103
+
104
+ const context = {
105
+ options: client._options,
106
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
107
+ operationID: "getCreditNote",
108
+ oAuth2Scopes: null,
109
+
110
+ resolvedSecurity: requestSecurity,
111
+
112
+ securitySource: client._options.security,
113
+ retryConfig: options?.retries
114
+ || client._options.retryConfig
115
+ || { strategy: "none" },
116
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
117
+ };
118
+
119
+ const requestRes = client._createRequest(context, {
120
+ security: requestSecurity,
121
+ method: "GET",
122
+ baseURL: options?.serverURL,
123
+ path: path,
124
+ headers: headers,
125
+ query: query,
126
+ body: body,
127
+ userAgent: client._options.userAgent,
128
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
129
+ }, options);
130
+ if (!requestRes.ok) {
131
+ return [requestRes, { status: "invalid" }];
132
+ }
133
+ const req = requestRes.value;
134
+
135
+ const doResult = await client._do(req, {
136
+ context,
137
+ errorCodes: ["4XX", "5XX"],
138
+ retryConfig: context.retryConfig,
139
+ retryCodes: context.retryCodes,
140
+ });
141
+ if (!doResult.ok) {
142
+ return [doResult, { status: "request-error", request: req }];
143
+ }
144
+ const response = doResult.value;
145
+
146
+ const [result] = await M.match<
147
+ operations.GetCreditNoteResponse,
148
+ | MaesnError
149
+ | ResponseValidationError
150
+ | ConnectionError
151
+ | RequestAbortedError
152
+ | RequestTimeoutError
153
+ | InvalidRequestError
154
+ | UnexpectedClientError
155
+ | SDKValidationError
156
+ >(
157
+ M.json(200, operations.GetCreditNoteResponse$inboundSchema),
158
+ M.fail("4XX"),
159
+ M.fail("5XX"),
160
+ )(response, req);
161
+ if (!result.ok) {
162
+ return [result, { status: "complete", request: req, response }];
163
+ }
164
+
165
+ return [result, { status: "complete", request: req, response }];
166
+ }
@@ -0,0 +1,167 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { MaesnCore } from "../core.js";
7
+ import { encodeFormQuery } from "../lib/encodings.js";
8
+ import * as M from "../lib/matchers.js";
9
+ import { compactMap } from "../lib/primitives.js";
10
+ import { safeParse } from "../lib/schemas.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/errors/http-client-errors.js";
21
+ import { MaesnError } from "../models/errors/maesn-error.js";
22
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
23
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
24
+ import * as operations from "../models/operations/index.js";
25
+ import { APICall, APIPromise } from "../types/async.js";
26
+ import { Result } from "../types/fp.js";
27
+
28
+ export function accountingGetCreditNotes(
29
+ client: MaesnCore,
30
+ request?: operations.GetCreditNotesRequest | undefined,
31
+ options?: RequestOptions,
32
+ ): APIPromise<
33
+ Result<
34
+ operations.GetCreditNotesResponse,
35
+ | MaesnError
36
+ | ResponseValidationError
37
+ | ConnectionError
38
+ | RequestAbortedError
39
+ | RequestTimeoutError
40
+ | InvalidRequestError
41
+ | UnexpectedClientError
42
+ | SDKValidationError
43
+ >
44
+ > {
45
+ return new APIPromise($do(
46
+ client,
47
+ request,
48
+ options,
49
+ ));
50
+ }
51
+
52
+ async function $do(
53
+ client: MaesnCore,
54
+ request?: operations.GetCreditNotesRequest | undefined,
55
+ options?: RequestOptions,
56
+ ): Promise<
57
+ [
58
+ Result<
59
+ operations.GetCreditNotesResponse,
60
+ | MaesnError
61
+ | ResponseValidationError
62
+ | ConnectionError
63
+ | RequestAbortedError
64
+ | RequestTimeoutError
65
+ | InvalidRequestError
66
+ | UnexpectedClientError
67
+ | SDKValidationError
68
+ >,
69
+ APICall,
70
+ ]
71
+ > {
72
+ const parsed = safeParse(
73
+ request,
74
+ (value) =>
75
+ z.parse(
76
+ z.optional(operations.GetCreditNotesRequest$outboundSchema),
77
+ value,
78
+ ),
79
+ "Input validation failed",
80
+ );
81
+ if (!parsed.ok) {
82
+ return [parsed, { status: "invalid" }];
83
+ }
84
+ const payload = parsed.value;
85
+ const body = null;
86
+
87
+ const path = pathToFunc("/accounting/creditNotes")();
88
+
89
+ const query = encodeFormQuery({
90
+ "companyId": payload?.companyId,
91
+ "environmentName": payload?.environmentName,
92
+ "lastModifiedAt": payload?.lastModifiedAt,
93
+ "limit": payload?.limit,
94
+ "page": payload?.page,
95
+ "rawData": payload?.rawData,
96
+ });
97
+
98
+ const headers = new Headers(compactMap({
99
+ Accept: "application/json",
100
+ }));
101
+
102
+ const securityInput = await extractSecurity(client._options.security);
103
+ const requestSecurity = resolveGlobalSecurity(securityInput);
104
+
105
+ const context = {
106
+ options: client._options,
107
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
108
+ operationID: "getCreditNotes",
109
+ oAuth2Scopes: null,
110
+
111
+ resolvedSecurity: requestSecurity,
112
+
113
+ securitySource: client._options.security,
114
+ retryConfig: options?.retries
115
+ || client._options.retryConfig
116
+ || { strategy: "none" },
117
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
118
+ };
119
+
120
+ const requestRes = client._createRequest(context, {
121
+ security: requestSecurity,
122
+ method: "GET",
123
+ baseURL: options?.serverURL,
124
+ path: path,
125
+ headers: headers,
126
+ query: query,
127
+ body: body,
128
+ userAgent: client._options.userAgent,
129
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
130
+ }, options);
131
+ if (!requestRes.ok) {
132
+ return [requestRes, { status: "invalid" }];
133
+ }
134
+ const req = requestRes.value;
135
+
136
+ const doResult = await client._do(req, {
137
+ context,
138
+ errorCodes: ["4XX", "5XX"],
139
+ retryConfig: context.retryConfig,
140
+ retryCodes: context.retryCodes,
141
+ });
142
+ if (!doResult.ok) {
143
+ return [doResult, { status: "request-error", request: req }];
144
+ }
145
+ const response = doResult.value;
146
+
147
+ const [result] = await M.match<
148
+ operations.GetCreditNotesResponse,
149
+ | MaesnError
150
+ | ResponseValidationError
151
+ | ConnectionError
152
+ | RequestAbortedError
153
+ | RequestTimeoutError
154
+ | InvalidRequestError
155
+ | UnexpectedClientError
156
+ | SDKValidationError
157
+ >(
158
+ M.json(200, operations.GetCreditNotesResponse$inboundSchema),
159
+ M.fail("4XX"),
160
+ M.fail("5XX"),
161
+ )(response, req);
162
+ if (!result.ok) {
163
+ return [result, { status: "complete", request: req, response }];
164
+ }
165
+
166
+ return [result, { status: "complete", request: req, response }];
167
+ }