@maesn/typescript-sdk 0.3.1 → 0.5.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 (824) hide show
  1. package/README.md +38 -68
  2. package/esm/funcs/accounting-create-account.d.ts.map +1 -1
  3. package/esm/funcs/accounting-create-account.js +2 -1
  4. package/esm/funcs/accounting-create-account.js.map +1 -1
  5. package/esm/funcs/accounting-create-bank-account.d.ts.map +1 -1
  6. package/esm/funcs/accounting-create-bank-account.js +2 -1
  7. package/esm/funcs/accounting-create-bank-account.js.map +1 -1
  8. package/esm/funcs/accounting-create-bill-line-item.d.ts.map +1 -1
  9. package/esm/funcs/accounting-create-bill-line-item.js +2 -1
  10. package/esm/funcs/accounting-create-bill-line-item.js.map +1 -1
  11. package/esm/funcs/accounting-create-bill.d.ts.map +1 -1
  12. package/esm/funcs/accounting-create-bill.js +2 -1
  13. package/esm/funcs/accounting-create-bill.js.map +1 -1
  14. package/esm/funcs/accounting-create-booking-proposal.d.ts.map +1 -1
  15. package/esm/funcs/accounting-create-booking-proposal.js +6 -4
  16. package/esm/funcs/accounting-create-booking-proposal.js.map +1 -1
  17. package/esm/funcs/accounting-create-contact.d.ts.map +1 -1
  18. package/esm/funcs/accounting-create-contact.js +2 -1
  19. package/esm/funcs/accounting-create-contact.js.map +1 -1
  20. package/esm/funcs/accounting-create-contacts-v1.d.ts.map +1 -1
  21. package/esm/funcs/accounting-create-contacts-v1.js +2 -1
  22. package/esm/funcs/accounting-create-contacts-v1.js.map +1 -1
  23. package/esm/funcs/accounting-create-contacts.d.ts.map +1 -1
  24. package/esm/funcs/accounting-create-contacts.js +2 -1
  25. package/esm/funcs/accounting-create-contacts.js.map +1 -1
  26. package/esm/funcs/accounting-create-customer.d.ts.map +1 -1
  27. package/esm/funcs/accounting-create-customer.js +2 -1
  28. package/esm/funcs/accounting-create-customer.js.map +1 -1
  29. package/esm/funcs/accounting-create-event-subscriptions.d.ts.map +1 -1
  30. package/esm/funcs/accounting-create-event-subscriptions.js +2 -1
  31. package/esm/funcs/accounting-create-event-subscriptions.js.map +1 -1
  32. package/esm/funcs/accounting-create-expense.d.ts.map +1 -1
  33. package/esm/funcs/accounting-create-expense.js +6 -4
  34. package/esm/funcs/accounting-create-expense.js.map +1 -1
  35. package/esm/funcs/accounting-create-invoice.d.ts.map +1 -1
  36. package/esm/funcs/accounting-create-invoice.js +2 -1
  37. package/esm/funcs/accounting-create-invoice.js.map +1 -1
  38. package/esm/funcs/accounting-create-item.d.ts.map +1 -1
  39. package/esm/funcs/accounting-create-item.js +2 -1
  40. package/esm/funcs/accounting-create-item.js.map +1 -1
  41. package/esm/funcs/accounting-create-journal-entries.d.ts.map +1 -1
  42. package/esm/funcs/accounting-create-journal-entries.js +2 -1
  43. package/esm/funcs/accounting-create-journal-entries.js.map +1 -1
  44. package/esm/funcs/accounting-create-journal-entry-attachments.d.ts.map +1 -1
  45. package/esm/funcs/accounting-create-journal-entry-attachments.js +6 -4
  46. package/esm/funcs/accounting-create-journal-entry-attachments.js.map +1 -1
  47. package/esm/funcs/accounting-create-journal-entry.d.ts.map +1 -1
  48. package/esm/funcs/accounting-create-journal-entry.js +6 -4
  49. package/esm/funcs/accounting-create-journal-entry.js.map +1 -1
  50. package/esm/funcs/accounting-create-line-item.d.ts.map +1 -1
  51. package/esm/funcs/accounting-create-line-item.js +2 -1
  52. package/esm/funcs/accounting-create-line-item.js.map +1 -1
  53. package/esm/funcs/accounting-create-offer.d.ts.map +1 -1
  54. package/esm/funcs/accounting-create-offer.js +2 -1
  55. package/esm/funcs/accounting-create-offer.js.map +1 -1
  56. package/esm/funcs/accounting-create-pass-through-request.d.ts.map +1 -1
  57. package/esm/funcs/accounting-create-pass-through-request.js +2 -1
  58. package/esm/funcs/accounting-create-pass-through-request.js.map +1 -1
  59. package/esm/funcs/accounting-create-payment-term.d.ts.map +1 -1
  60. package/esm/funcs/accounting-create-payment-term.js +2 -1
  61. package/esm/funcs/accounting-create-payment-term.js.map +1 -1
  62. package/esm/funcs/accounting-create-payment.d.ts.map +1 -1
  63. package/esm/funcs/accounting-create-payment.js +2 -1
  64. package/esm/funcs/accounting-create-payment.js.map +1 -1
  65. package/esm/funcs/accounting-create-project.d.ts.map +1 -1
  66. package/esm/funcs/accounting-create-project.js +2 -1
  67. package/esm/funcs/accounting-create-project.js.map +1 -1
  68. package/esm/funcs/accounting-create-sales-order.d.ts.map +1 -1
  69. package/esm/funcs/accounting-create-sales-order.js +2 -1
  70. package/esm/funcs/accounting-create-sales-order.js.map +1 -1
  71. package/esm/funcs/accounting-create-supplier.d.ts.map +1 -1
  72. package/esm/funcs/accounting-create-supplier.js +2 -1
  73. package/esm/funcs/accounting-create-supplier.js.map +1 -1
  74. package/esm/funcs/accounting-create-transaction.d.ts.map +1 -1
  75. package/esm/funcs/accounting-create-transaction.js +6 -4
  76. package/esm/funcs/accounting-create-transaction.js.map +1 -1
  77. package/esm/funcs/accounting-create-vendor-credit.d.ts.map +1 -1
  78. package/esm/funcs/accounting-create-vendor-credit.js +2 -1
  79. package/esm/funcs/accounting-create-vendor-credit.js.map +1 -1
  80. package/esm/funcs/accounting-delete-bill.d.ts.map +1 -1
  81. package/esm/funcs/accounting-delete-bill.js +2 -1
  82. package/esm/funcs/accounting-delete-bill.js.map +1 -1
  83. package/esm/funcs/accounting-delete-event-subscriptions.d.ts.map +1 -1
  84. package/esm/funcs/accounting-delete-event-subscriptions.js +2 -1
  85. package/esm/funcs/accounting-delete-event-subscriptions.js.map +1 -1
  86. package/esm/funcs/accounting-delete-payment.d.ts.map +1 -1
  87. package/esm/funcs/accounting-delete-payment.js +2 -1
  88. package/esm/funcs/accounting-delete-payment.js.map +1 -1
  89. package/esm/funcs/accounting-delete-vendor-credit.d.ts.map +1 -1
  90. package/esm/funcs/accounting-delete-vendor-credit.js +2 -1
  91. package/esm/funcs/accounting-delete-vendor-credit.js.map +1 -1
  92. package/esm/funcs/accounting-get-account.d.ts.map +1 -1
  93. package/esm/funcs/accounting-get-account.js +2 -1
  94. package/esm/funcs/accounting-get-account.js.map +1 -1
  95. package/esm/funcs/accounting-get-accounts.d.ts.map +1 -1
  96. package/esm/funcs/accounting-get-accounts.js +2 -1
  97. package/esm/funcs/accounting-get-accounts.js.map +1 -1
  98. package/esm/funcs/accounting-get-async-task-info.d.ts.map +1 -1
  99. package/esm/funcs/accounting-get-async-task-info.js +2 -1
  100. package/esm/funcs/accounting-get-async-task-info.js.map +1 -1
  101. package/esm/funcs/accounting-get-bank-account.d.ts.map +1 -1
  102. package/esm/funcs/accounting-get-bank-account.js +2 -1
  103. package/esm/funcs/accounting-get-bank-account.js.map +1 -1
  104. package/esm/funcs/accounting-get-bank-accounts.d.ts.map +1 -1
  105. package/esm/funcs/accounting-get-bank-accounts.js +2 -1
  106. package/esm/funcs/accounting-get-bank-accounts.js.map +1 -1
  107. package/esm/funcs/accounting-get-bill-document.d.ts.map +1 -1
  108. package/esm/funcs/accounting-get-bill-document.js +2 -1
  109. package/esm/funcs/accounting-get-bill-document.js.map +1 -1
  110. package/esm/funcs/accounting-get-bill-line-items.d.ts.map +1 -1
  111. package/esm/funcs/accounting-get-bill-line-items.js +2 -1
  112. package/esm/funcs/accounting-get-bill-line-items.js.map +1 -1
  113. package/esm/funcs/accounting-get-bill.d.ts.map +1 -1
  114. package/esm/funcs/accounting-get-bill.js +2 -1
  115. package/esm/funcs/accounting-get-bill.js.map +1 -1
  116. package/esm/funcs/accounting-get-bills.d.ts.map +1 -1
  117. package/esm/funcs/accounting-get-bills.js +2 -1
  118. package/esm/funcs/accounting-get-bills.js.map +1 -1
  119. package/esm/funcs/accounting-get-booking-proposal-document.d.ts.map +1 -1
  120. package/esm/funcs/accounting-get-booking-proposal-document.js +2 -1
  121. package/esm/funcs/accounting-get-booking-proposal-document.js.map +1 -1
  122. package/esm/funcs/accounting-get-booking-proposal.d.ts.map +1 -1
  123. package/esm/funcs/accounting-get-booking-proposal.js +2 -1
  124. package/esm/funcs/accounting-get-booking-proposal.js.map +1 -1
  125. package/esm/funcs/accounting-get-booking-proposals.d.ts.map +1 -1
  126. package/esm/funcs/accounting-get-booking-proposals.js +2 -1
  127. package/esm/funcs/accounting-get-booking-proposals.js.map +1 -1
  128. package/esm/funcs/accounting-get-contact.d.ts.map +1 -1
  129. package/esm/funcs/accounting-get-contact.js +2 -1
  130. package/esm/funcs/accounting-get-contact.js.map +1 -1
  131. package/esm/funcs/accounting-get-contacts.d.ts.map +1 -1
  132. package/esm/funcs/accounting-get-contacts.js +2 -1
  133. package/esm/funcs/accounting-get-contacts.js.map +1 -1
  134. package/esm/funcs/accounting-get-credit-note.d.ts.map +1 -1
  135. package/esm/funcs/accounting-get-credit-note.js +2 -1
  136. package/esm/funcs/accounting-get-credit-note.js.map +1 -1
  137. package/esm/funcs/accounting-get-credit-notes.d.ts.map +1 -1
  138. package/esm/funcs/accounting-get-credit-notes.js +2 -1
  139. package/esm/funcs/accounting-get-credit-notes.js.map +1 -1
  140. package/esm/funcs/accounting-get-customer.d.ts.map +1 -1
  141. package/esm/funcs/accounting-get-customer.js +2 -1
  142. package/esm/funcs/accounting-get-customer.js.map +1 -1
  143. package/esm/funcs/accounting-get-customers.d.ts.map +1 -1
  144. package/esm/funcs/accounting-get-customers.js +2 -1
  145. package/esm/funcs/accounting-get-customers.js.map +1 -1
  146. package/esm/funcs/accounting-get-dimensions.d.ts.map +1 -1
  147. package/esm/funcs/accounting-get-dimensions.js +2 -1
  148. package/esm/funcs/accounting-get-dimensions.js.map +1 -1
  149. package/esm/funcs/accounting-get-document-extensions.d.ts.map +1 -1
  150. package/esm/funcs/accounting-get-document-extensions.js +2 -1
  151. package/esm/funcs/accounting-get-document-extensions.js.map +1 -1
  152. package/esm/funcs/accounting-get-document-types.d.ts.map +1 -1
  153. package/esm/funcs/accounting-get-document-types.js +2 -1
  154. package/esm/funcs/accounting-get-document-types.js.map +1 -1
  155. package/esm/funcs/accounting-get-expense.d.ts.map +1 -1
  156. package/esm/funcs/accounting-get-expense.js +2 -1
  157. package/esm/funcs/accounting-get-expense.js.map +1 -1
  158. package/esm/funcs/accounting-get-expenses.d.ts.map +1 -1
  159. package/esm/funcs/accounting-get-expenses.js +2 -1
  160. package/esm/funcs/accounting-get-expenses.js.map +1 -1
  161. package/esm/funcs/accounting-get-fiscal-year.d.ts.map +1 -1
  162. package/esm/funcs/accounting-get-fiscal-year.js +2 -1
  163. package/esm/funcs/accounting-get-fiscal-year.js.map +1 -1
  164. package/esm/funcs/accounting-get-fiscal-years.d.ts.map +1 -1
  165. package/esm/funcs/accounting-get-fiscal-years.js +2 -1
  166. package/esm/funcs/accounting-get-fiscal-years.js.map +1 -1
  167. package/esm/funcs/accounting-get-goods-receipt-line-item.d.ts.map +1 -1
  168. package/esm/funcs/accounting-get-goods-receipt-line-item.js +2 -1
  169. package/esm/funcs/accounting-get-goods-receipt-line-item.js.map +1 -1
  170. package/esm/funcs/accounting-get-goods-receipt-line-items.d.ts.map +1 -1
  171. package/esm/funcs/accounting-get-goods-receipt-line-items.js +2 -1
  172. package/esm/funcs/accounting-get-goods-receipt-line-items.js.map +1 -1
  173. package/esm/funcs/accounting-get-goods-receipt.d.ts.map +1 -1
  174. package/esm/funcs/accounting-get-goods-receipt.js +2 -1
  175. package/esm/funcs/accounting-get-goods-receipt.js.map +1 -1
  176. package/esm/funcs/accounting-get-goods-receipts.d.ts.map +1 -1
  177. package/esm/funcs/accounting-get-goods-receipts.js +2 -1
  178. package/esm/funcs/accounting-get-goods-receipts.js.map +1 -1
  179. package/esm/funcs/accounting-get-invoice-document.d.ts.map +1 -1
  180. package/esm/funcs/accounting-get-invoice-document.js +2 -1
  181. package/esm/funcs/accounting-get-invoice-document.js.map +1 -1
  182. package/esm/funcs/accounting-get-invoice.d.ts.map +1 -1
  183. package/esm/funcs/accounting-get-invoice.js +2 -1
  184. package/esm/funcs/accounting-get-invoice.js.map +1 -1
  185. package/esm/funcs/accounting-get-invoices.d.ts.map +1 -1
  186. package/esm/funcs/accounting-get-invoices.js +2 -1
  187. package/esm/funcs/accounting-get-invoices.js.map +1 -1
  188. package/esm/funcs/accounting-get-item.d.ts.map +1 -1
  189. package/esm/funcs/accounting-get-item.js +2 -1
  190. package/esm/funcs/accounting-get-item.js.map +1 -1
  191. package/esm/funcs/accounting-get-items.d.ts.map +1 -1
  192. package/esm/funcs/accounting-get-items.js +2 -1
  193. package/esm/funcs/accounting-get-items.js.map +1 -1
  194. package/esm/funcs/accounting-get-journal-entries.d.ts.map +1 -1
  195. package/esm/funcs/accounting-get-journal-entries.js +2 -1
  196. package/esm/funcs/accounting-get-journal-entries.js.map +1 -1
  197. package/esm/funcs/accounting-get-journal-entry-attachment-by-id.d.ts.map +1 -1
  198. package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js +2 -1
  199. package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js.map +1 -1
  200. package/esm/funcs/accounting-get-journal-entry-attachments.d.ts.map +1 -1
  201. package/esm/funcs/accounting-get-journal-entry-attachments.js +2 -1
  202. package/esm/funcs/accounting-get-journal-entry-attachments.js.map +1 -1
  203. package/esm/funcs/accounting-get-journal-entry.d.ts.map +1 -1
  204. package/esm/funcs/accounting-get-journal-entry.js +2 -1
  205. package/esm/funcs/accounting-get-journal-entry.js.map +1 -1
  206. package/esm/funcs/accounting-get-journals.d.ts.map +1 -1
  207. package/esm/funcs/accounting-get-journals.js +2 -1
  208. package/esm/funcs/accounting-get-journals.js.map +1 -1
  209. package/esm/funcs/accounting-get-line-item.d.ts.map +1 -1
  210. package/esm/funcs/accounting-get-line-item.js +2 -1
  211. package/esm/funcs/accounting-get-line-item.js.map +1 -1
  212. package/esm/funcs/accounting-get-line-items.d.ts.map +1 -1
  213. package/esm/funcs/accounting-get-line-items.js +2 -1
  214. package/esm/funcs/accounting-get-line-items.js.map +1 -1
  215. package/esm/funcs/accounting-get-offer-document.d.ts.map +1 -1
  216. package/esm/funcs/accounting-get-offer-document.js +2 -1
  217. package/esm/funcs/accounting-get-offer-document.js.map +1 -1
  218. package/esm/funcs/accounting-get-offer-line-item.d.ts.map +1 -1
  219. package/esm/funcs/accounting-get-offer-line-item.js +2 -1
  220. package/esm/funcs/accounting-get-offer-line-item.js.map +1 -1
  221. package/esm/funcs/accounting-get-offer-line-items.d.ts.map +1 -1
  222. package/esm/funcs/accounting-get-offer-line-items.js +2 -1
  223. package/esm/funcs/accounting-get-offer-line-items.js.map +1 -1
  224. package/esm/funcs/accounting-get-offer.d.ts.map +1 -1
  225. package/esm/funcs/accounting-get-offer.js +2 -1
  226. package/esm/funcs/accounting-get-offer.js.map +1 -1
  227. package/esm/funcs/accounting-get-offers.d.ts.map +1 -1
  228. package/esm/funcs/accounting-get-offers.js +2 -1
  229. package/esm/funcs/accounting-get-offers.js.map +1 -1
  230. package/esm/funcs/accounting-get-open-items.d.ts.map +1 -1
  231. package/esm/funcs/accounting-get-open-items.js +2 -1
  232. package/esm/funcs/accounting-get-open-items.js.map +1 -1
  233. package/esm/funcs/accounting-get-payment-term.d.ts.map +1 -1
  234. package/esm/funcs/accounting-get-payment-term.js +2 -1
  235. package/esm/funcs/accounting-get-payment-term.js.map +1 -1
  236. package/esm/funcs/accounting-get-payment-terms.d.ts.map +1 -1
  237. package/esm/funcs/accounting-get-payment-terms.js +2 -1
  238. package/esm/funcs/accounting-get-payment-terms.js.map +1 -1
  239. package/esm/funcs/accounting-get-payment.d.ts.map +1 -1
  240. package/esm/funcs/accounting-get-payment.js +2 -1
  241. package/esm/funcs/accounting-get-payment.js.map +1 -1
  242. package/esm/funcs/accounting-get-payments.d.ts.map +1 -1
  243. package/esm/funcs/accounting-get-payments.js +2 -1
  244. package/esm/funcs/accounting-get-payments.js.map +1 -1
  245. package/esm/funcs/accounting-get-profile.d.ts.map +1 -1
  246. package/esm/funcs/accounting-get-profile.js +2 -1
  247. package/esm/funcs/accounting-get-profile.js.map +1 -1
  248. package/esm/funcs/accounting-get-project.d.ts.map +1 -1
  249. package/esm/funcs/accounting-get-project.js +2 -1
  250. package/esm/funcs/accounting-get-project.js.map +1 -1
  251. package/esm/funcs/accounting-get-projects.d.ts.map +1 -1
  252. package/esm/funcs/accounting-get-projects.js +2 -1
  253. package/esm/funcs/accounting-get-projects.js.map +1 -1
  254. package/esm/funcs/accounting-get-purchase-order-line-item.d.ts.map +1 -1
  255. package/esm/funcs/accounting-get-purchase-order-line-item.js +2 -1
  256. package/esm/funcs/accounting-get-purchase-order-line-item.js.map +1 -1
  257. package/esm/funcs/accounting-get-purchase-order-line-items.d.ts.map +1 -1
  258. package/esm/funcs/accounting-get-purchase-order-line-items.js +2 -1
  259. package/esm/funcs/accounting-get-purchase-order-line-items.js.map +1 -1
  260. package/esm/funcs/accounting-get-purchase-order.d.ts.map +1 -1
  261. package/esm/funcs/accounting-get-purchase-order.js +2 -1
  262. package/esm/funcs/accounting-get-purchase-order.js.map +1 -1
  263. package/esm/funcs/accounting-get-purchase-orders.d.ts.map +1 -1
  264. package/esm/funcs/accounting-get-purchase-orders.js +2 -1
  265. package/esm/funcs/accounting-get-purchase-orders.js.map +1 -1
  266. package/esm/funcs/accounting-get-sales-order-lines.d.ts.map +1 -1
  267. package/esm/funcs/accounting-get-sales-order-lines.js +2 -1
  268. package/esm/funcs/accounting-get-sales-order-lines.js.map +1 -1
  269. package/esm/funcs/accounting-get-sales-order.d.ts.map +1 -1
  270. package/esm/funcs/accounting-get-sales-order.js +2 -1
  271. package/esm/funcs/accounting-get-sales-order.js.map +1 -1
  272. package/esm/funcs/accounting-get-sales-orders.d.ts.map +1 -1
  273. package/esm/funcs/accounting-get-sales-orders.js +2 -1
  274. package/esm/funcs/accounting-get-sales-orders.js.map +1 -1
  275. package/esm/funcs/accounting-get-supplier.d.ts.map +1 -1
  276. package/esm/funcs/accounting-get-supplier.js +2 -1
  277. package/esm/funcs/accounting-get-supplier.js.map +1 -1
  278. package/esm/funcs/accounting-get-suppliers.d.ts.map +1 -1
  279. package/esm/funcs/accounting-get-suppliers.js +2 -1
  280. package/esm/funcs/accounting-get-suppliers.js.map +1 -1
  281. package/esm/funcs/accounting-get-tax-rate.d.ts.map +1 -1
  282. package/esm/funcs/accounting-get-tax-rate.js +2 -1
  283. package/esm/funcs/accounting-get-tax-rate.js.map +1 -1
  284. package/esm/funcs/accounting-get-tax-rates.d.ts.map +1 -1
  285. package/esm/funcs/accounting-get-tax-rates.js +2 -1
  286. package/esm/funcs/accounting-get-tax-rates.js.map +1 -1
  287. package/esm/funcs/accounting-get-trial-balance.d.ts.map +1 -1
  288. package/esm/funcs/accounting-get-trial-balance.js +2 -1
  289. package/esm/funcs/accounting-get-trial-balance.js.map +1 -1
  290. package/esm/funcs/accounting-get-units.d.ts.map +1 -1
  291. package/esm/funcs/accounting-get-units.js +2 -1
  292. package/esm/funcs/accounting-get-units.js.map +1 -1
  293. package/esm/funcs/accounting-get-vendor-credits.d.ts.map +1 -1
  294. package/esm/funcs/accounting-get-vendor-credits.js +2 -1
  295. package/esm/funcs/accounting-get-vendor-credits.js.map +1 -1
  296. package/esm/funcs/accounting-patch-contact.d.ts.map +1 -1
  297. package/esm/funcs/accounting-patch-contact.js +2 -1
  298. package/esm/funcs/accounting-patch-contact.js.map +1 -1
  299. package/esm/funcs/accounting-patch-customers.d.ts.map +1 -1
  300. package/esm/funcs/accounting-patch-customers.js +2 -1
  301. package/esm/funcs/accounting-patch-customers.js.map +1 -1
  302. package/esm/funcs/accounting-patch-invoice.d.ts.map +1 -1
  303. package/esm/funcs/accounting-patch-invoice.js +2 -1
  304. package/esm/funcs/accounting-patch-invoice.js.map +1 -1
  305. package/esm/funcs/accounting-patch-item.d.ts.map +1 -1
  306. package/esm/funcs/accounting-patch-item.js +2 -1
  307. package/esm/funcs/accounting-patch-item.js.map +1 -1
  308. package/esm/funcs/accounting-patch-line-item.d.ts.map +1 -1
  309. package/esm/funcs/accounting-patch-line-item.js +2 -1
  310. package/esm/funcs/accounting-patch-line-item.js.map +1 -1
  311. package/esm/funcs/accounting-patch-supplier.d.ts.map +1 -1
  312. package/esm/funcs/accounting-patch-supplier.js +2 -1
  313. package/esm/funcs/accounting-patch-supplier.js.map +1 -1
  314. package/esm/funcs/accounting-post-file.d.ts.map +1 -1
  315. package/esm/funcs/accounting-post-file.js +6 -4
  316. package/esm/funcs/accounting-post-file.js.map +1 -1
  317. package/esm/funcs/accounting-put-contact.d.ts.map +1 -1
  318. package/esm/funcs/accounting-put-contact.js +2 -1
  319. package/esm/funcs/accounting-put-contact.js.map +1 -1
  320. package/esm/funcs/accounting-update-bill-line-item.d.ts.map +1 -1
  321. package/esm/funcs/accounting-update-bill-line-item.js +2 -1
  322. package/esm/funcs/accounting-update-bill-line-item.js.map +1 -1
  323. package/esm/funcs/accounting-update-bill.d.ts.map +1 -1
  324. package/esm/funcs/accounting-update-bill.js +2 -1
  325. package/esm/funcs/accounting-update-bill.js.map +1 -1
  326. package/esm/funcs/accounting-update-customer.d.ts.map +1 -1
  327. package/esm/funcs/accounting-update-customer.js +2 -1
  328. package/esm/funcs/accounting-update-customer.js.map +1 -1
  329. package/esm/funcs/accounting-update-supplier.d.ts.map +1 -1
  330. package/esm/funcs/accounting-update-supplier.js +2 -1
  331. package/esm/funcs/accounting-update-supplier.js.map +1 -1
  332. package/esm/funcs/accounting-update-vendor-credit.d.ts.map +1 -1
  333. package/esm/funcs/accounting-update-vendor-credit.js +2 -1
  334. package/esm/funcs/accounting-update-vendor-credit.js.map +1 -1
  335. package/esm/funcs/accounting-v2-create-booking-proposal-v2.d.ts.map +1 -1
  336. package/esm/funcs/accounting-v2-create-booking-proposal-v2.js +6 -4
  337. package/esm/funcs/accounting-v2-create-booking-proposal-v2.js.map +1 -1
  338. package/esm/funcs/accounting-v2-create-contact-v2.d.ts.map +1 -1
  339. package/esm/funcs/accounting-v2-create-contact-v2.js +2 -1
  340. package/esm/funcs/accounting-v2-create-contact-v2.js.map +1 -1
  341. package/esm/funcs/accounting-v2-get-contact-v2.d.ts.map +1 -1
  342. package/esm/funcs/accounting-v2-get-contact-v2.js +2 -1
  343. package/esm/funcs/accounting-v2-get-contact-v2.js.map +1 -1
  344. package/esm/funcs/accounting-v2-get-contacts-v2.d.ts.map +1 -1
  345. package/esm/funcs/accounting-v2-get-contacts-v2.js +2 -1
  346. package/esm/funcs/accounting-v2-get-contacts-v2.js.map +1 -1
  347. package/esm/funcs/accounting-v2-get-dimensions-by-dimension.d.ts.map +1 -1
  348. package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js +2 -1
  349. package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js.map +1 -1
  350. package/esm/funcs/accounting-v2-get-dimensions-v2.d.ts.map +1 -1
  351. package/esm/funcs/accounting-v2-get-dimensions-v2.js +2 -1
  352. package/esm/funcs/accounting-v2-get-dimensions-v2.js.map +1 -1
  353. package/esm/funcs/accounting-v2-patch-contact-v2.d.ts.map +1 -1
  354. package/esm/funcs/accounting-v2-patch-contact-v2.js +2 -1
  355. package/esm/funcs/accounting-v2-patch-contact-v2.js.map +1 -1
  356. package/esm/funcs/accounting-v2-put-contact-v2.d.ts.map +1 -1
  357. package/esm/funcs/accounting-v2-put-contact-v2.js +2 -1
  358. package/esm/funcs/accounting-v2-put-contact-v2.js.map +1 -1
  359. package/esm/funcs/auth-create-end-user-account.d.ts.map +1 -1
  360. package/esm/funcs/auth-create-end-user-account.js +3 -2
  361. package/esm/funcs/auth-create-end-user-account.js.map +1 -1
  362. package/esm/funcs/auth-get-companies.d.ts.map +1 -1
  363. package/esm/funcs/auth-get-companies.js +3 -2
  364. package/esm/funcs/auth-get-companies.js.map +1 -1
  365. package/esm/funcs/auth-get-environments.d.ts.map +1 -1
  366. package/esm/funcs/auth-get-environments.js +3 -2
  367. package/esm/funcs/auth-get-environments.js.map +1 -1
  368. package/esm/funcs/auth-system-login-url.d.ts.map +1 -1
  369. package/esm/funcs/auth-system-login-url.js +3 -2
  370. package/esm/funcs/auth-system-login-url.js.map +1 -1
  371. package/esm/funcs/events-get-code.d.ts.map +1 -1
  372. package/esm/funcs/events-get-code.js +3 -2
  373. package/esm/funcs/events-get-code.js.map +1 -1
  374. package/esm/funcs/events-handle-callback.d.ts.map +1 -1
  375. package/esm/funcs/events-handle-callback.js +3 -2
  376. package/esm/funcs/events-handle-callback.js.map +1 -1
  377. package/esm/funcs/events-handle-configuration-callback.d.ts.map +1 -1
  378. package/esm/funcs/events-handle-configuration-callback.js +3 -2
  379. package/esm/funcs/events-handle-configuration-callback.js.map +1 -1
  380. package/esm/funcs/health-check.d.ts.map +1 -1
  381. package/esm/funcs/health-check.js +3 -2
  382. package/esm/funcs/health-check.js.map +1 -1
  383. package/esm/funcs/tenants-add-callback-url.d.ts.map +1 -1
  384. package/esm/funcs/tenants-add-callback-url.js +3 -2
  385. package/esm/funcs/tenants-add-callback-url.js.map +1 -1
  386. package/esm/funcs/tenants-count-end-users-by-system.d.ts.map +1 -1
  387. package/esm/funcs/tenants-count-end-users-by-system.js +3 -2
  388. package/esm/funcs/tenants-count-end-users-by-system.js.map +1 -1
  389. package/esm/funcs/tenants-delete-end-user.d.ts.map +1 -1
  390. package/esm/funcs/tenants-delete-end-user.js +3 -2
  391. package/esm/funcs/tenants-delete-end-user.js.map +1 -1
  392. package/esm/funcs/tenants-delete-registered-system.d.ts.map +1 -1
  393. package/esm/funcs/tenants-delete-registered-system.js +3 -2
  394. package/esm/funcs/tenants-delete-registered-system.js.map +1 -1
  395. package/esm/funcs/tenants-get-callback-url.d.ts.map +1 -1
  396. package/esm/funcs/tenants-get-callback-url.js +3 -2
  397. package/esm/funcs/tenants-get-callback-url.js.map +1 -1
  398. package/esm/funcs/tenants-get-end-user-list.d.ts.map +1 -1
  399. package/esm/funcs/tenants-get-end-user-list.js +3 -2
  400. package/esm/funcs/tenants-get-end-user-list.js.map +1 -1
  401. package/esm/funcs/tenants-get-registered-systems-masked.d.ts.map +1 -1
  402. package/esm/funcs/tenants-get-registered-systems-masked.js +3 -2
  403. package/esm/funcs/tenants-get-registered-systems-masked.js.map +1 -1
  404. package/esm/funcs/tenants-get-registered-systems.d.ts.map +1 -1
  405. package/esm/funcs/tenants-get-registered-systems.js +3 -2
  406. package/esm/funcs/tenants-get-registered-systems.js.map +1 -1
  407. package/esm/funcs/tenants-get-submission-page-style-by-key.d.ts.map +1 -1
  408. package/esm/funcs/tenants-get-submission-page-style-by-key.js +3 -2
  409. package/esm/funcs/tenants-get-submission-page-style-by-key.js.map +1 -1
  410. package/esm/funcs/tenants-get-submission-page-style.d.ts.map +1 -1
  411. package/esm/funcs/tenants-get-submission-page-style.js +3 -2
  412. package/esm/funcs/tenants-get-submission-page-style.js.map +1 -1
  413. package/esm/funcs/tenants-get-target-system-requirements.d.ts.map +1 -1
  414. package/esm/funcs/tenants-get-target-system-requirements.js +3 -2
  415. package/esm/funcs/tenants-get-target-system-requirements.js.map +1 -1
  416. package/esm/funcs/tenants-get-target-system-values.d.ts.map +1 -1
  417. package/esm/funcs/tenants-get-target-system-values.js +3 -2
  418. package/esm/funcs/tenants-get-target-system-values.js.map +1 -1
  419. package/esm/funcs/tenants-system-registration.d.ts.map +1 -1
  420. package/esm/funcs/tenants-system-registration.js +3 -2
  421. package/esm/funcs/tenants-system-registration.js.map +1 -1
  422. package/esm/funcs/tenants-update-submission-page-style.d.ts.map +1 -1
  423. package/esm/funcs/tenants-update-submission-page-style.js +3 -2
  424. package/esm/funcs/tenants-update-submission-page-style.js.map +1 -1
  425. package/esm/funcs/user-get-user-info.d.ts.map +1 -1
  426. package/esm/funcs/user-get-user-info.js +2 -1
  427. package/esm/funcs/user-get-user-info.js.map +1 -1
  428. package/esm/funcs/webhooks-create-webhook-end-user.d.ts.map +1 -1
  429. package/esm/funcs/webhooks-create-webhook-end-user.js +3 -2
  430. package/esm/funcs/webhooks-create-webhook-end-user.js.map +1 -1
  431. package/esm/funcs/webhooks-create-webhook.d.ts.map +1 -1
  432. package/esm/funcs/webhooks-create-webhook.js +3 -2
  433. package/esm/funcs/webhooks-create-webhook.js.map +1 -1
  434. package/esm/funcs/webhooks-delete-webhook-end-user.d.ts.map +1 -1
  435. package/esm/funcs/webhooks-delete-webhook-end-user.js +3 -2
  436. package/esm/funcs/webhooks-delete-webhook-end-user.js.map +1 -1
  437. package/esm/funcs/webhooks-delete-webhook.d.ts.map +1 -1
  438. package/esm/funcs/webhooks-delete-webhook.js +3 -2
  439. package/esm/funcs/webhooks-delete-webhook.js.map +1 -1
  440. package/esm/funcs/webhooks-get-webhooks.d.ts.map +1 -1
  441. package/esm/funcs/webhooks-get-webhooks.js +3 -2
  442. package/esm/funcs/webhooks-get-webhooks.js.map +1 -1
  443. package/esm/lib/config.d.ts +3 -3
  444. package/esm/lib/config.js +3 -3
  445. package/esm/lib/encodings.d.ts +1 -0
  446. package/esm/lib/encodings.d.ts.map +1 -1
  447. package/esm/lib/encodings.js +6 -0
  448. package/esm/lib/encodings.js.map +1 -1
  449. package/esm/lib/sdks.d.ts +1 -1
  450. package/esm/lib/sdks.d.ts.map +1 -1
  451. package/esm/lib/sdks.js +3 -3
  452. package/esm/lib/sdks.js.map +1 -1
  453. package/esm/models/errors/index.d.ts +0 -1
  454. package/esm/models/errors/index.d.ts.map +1 -1
  455. package/esm/models/errors/index.js +0 -1
  456. package/esm/models/errors/index.js.map +1 -1
  457. package/esm/models/index.d.ts +0 -4
  458. package/esm/models/index.d.ts.map +1 -1
  459. package/esm/models/index.js +0 -4
  460. package/esm/models/index.js.map +1 -1
  461. package/esm/models/operations/index.d.ts +0 -15
  462. package/esm/models/operations/index.d.ts.map +1 -1
  463. package/esm/models/operations/index.js +0 -15
  464. package/esm/models/operations/index.js.map +1 -1
  465. package/esm/sdk/accounting.d.ts +0 -1
  466. package/esm/sdk/accounting.d.ts.map +1 -1
  467. package/esm/sdk/accounting.js +0 -4
  468. package/esm/sdk/accounting.js.map +1 -1
  469. package/esm/sdk/auth.d.ts +0 -9
  470. package/esm/sdk/auth.d.ts.map +1 -1
  471. package/esm/sdk/auth.js +0 -36
  472. package/esm/sdk/auth.js.map +1 -1
  473. package/esm/sdk/health.d.ts +0 -7
  474. package/esm/sdk/health.d.ts.map +1 -1
  475. package/esm/sdk/health.js +0 -10
  476. package/esm/sdk/health.js.map +1 -1
  477. package/esm/sdk/sdk.d.ts +2 -2
  478. package/esm/sdk/sdk.d.ts.map +1 -1
  479. package/esm/sdk/sdk.js +4 -4
  480. package/esm/sdk/sdk.js.map +1 -1
  481. package/esm/sdk/tenants.d.ts +0 -1
  482. package/esm/sdk/tenants.d.ts.map +1 -1
  483. package/esm/sdk/tenants.js +0 -4
  484. package/esm/sdk/tenants.js.map +1 -1
  485. package/esm/sdk/webhooks.d.ts +1 -5
  486. package/esm/sdk/webhooks.d.ts.map +1 -1
  487. package/esm/sdk/webhooks.js +3 -15
  488. package/esm/sdk/webhooks.js.map +1 -1
  489. package/jsr.json +1 -1
  490. package/package.json +3 -3
  491. package/src/funcs/accounting-create-account.ts +3 -1
  492. package/src/funcs/accounting-create-bank-account.ts +3 -1
  493. package/src/funcs/accounting-create-bill-line-item.ts +3 -1
  494. package/src/funcs/accounting-create-bill.ts +3 -1
  495. package/src/funcs/accounting-create-booking-proposal.ts +12 -4
  496. package/src/funcs/accounting-create-contact.ts +3 -1
  497. package/src/funcs/accounting-create-contacts-v1.ts +3 -1
  498. package/src/funcs/accounting-create-contacts.ts +3 -1
  499. package/src/funcs/accounting-create-customer.ts +3 -1
  500. package/src/funcs/accounting-create-event-subscriptions.ts +3 -1
  501. package/src/funcs/accounting-create-expense.ts +12 -4
  502. package/src/funcs/accounting-create-invoice.ts +3 -1
  503. package/src/funcs/accounting-create-item.ts +3 -1
  504. package/src/funcs/accounting-create-journal-entries.ts +3 -1
  505. package/src/funcs/accounting-create-journal-entry-attachments.ts +7 -4
  506. package/src/funcs/accounting-create-journal-entry.ts +12 -4
  507. package/src/funcs/accounting-create-line-item.ts +3 -1
  508. package/src/funcs/accounting-create-offer.ts +3 -1
  509. package/src/funcs/accounting-create-pass-through-request.ts +3 -1
  510. package/src/funcs/accounting-create-payment-term.ts +3 -1
  511. package/src/funcs/accounting-create-payment.ts +3 -1
  512. package/src/funcs/accounting-create-project.ts +3 -1
  513. package/src/funcs/accounting-create-sales-order.ts +3 -1
  514. package/src/funcs/accounting-create-supplier.ts +3 -1
  515. package/src/funcs/accounting-create-transaction.ts +12 -4
  516. package/src/funcs/accounting-create-vendor-credit.ts +3 -1
  517. package/src/funcs/accounting-delete-bill.ts +3 -1
  518. package/src/funcs/accounting-delete-event-subscriptions.ts +3 -1
  519. package/src/funcs/accounting-delete-payment.ts +3 -1
  520. package/src/funcs/accounting-delete-vendor-credit.ts +3 -1
  521. package/src/funcs/accounting-get-account.ts +3 -1
  522. package/src/funcs/accounting-get-accounts.ts +3 -1
  523. package/src/funcs/accounting-get-async-task-info.ts +3 -1
  524. package/src/funcs/accounting-get-bank-account.ts +3 -1
  525. package/src/funcs/accounting-get-bank-accounts.ts +3 -1
  526. package/src/funcs/accounting-get-bill-document.ts +3 -1
  527. package/src/funcs/accounting-get-bill-line-items.ts +3 -1
  528. package/src/funcs/accounting-get-bill.ts +3 -1
  529. package/src/funcs/accounting-get-bills.ts +3 -1
  530. package/src/funcs/accounting-get-booking-proposal-document.ts +3 -1
  531. package/src/funcs/accounting-get-booking-proposal.ts +3 -1
  532. package/src/funcs/accounting-get-booking-proposals.ts +3 -1
  533. package/src/funcs/accounting-get-contact.ts +3 -1
  534. package/src/funcs/accounting-get-contacts.ts +3 -1
  535. package/src/funcs/accounting-get-credit-note.ts +3 -1
  536. package/src/funcs/accounting-get-credit-notes.ts +3 -1
  537. package/src/funcs/accounting-get-customer.ts +3 -1
  538. package/src/funcs/accounting-get-customers.ts +3 -1
  539. package/src/funcs/accounting-get-dimensions.ts +3 -1
  540. package/src/funcs/accounting-get-document-extensions.ts +3 -1
  541. package/src/funcs/accounting-get-document-types.ts +3 -1
  542. package/src/funcs/accounting-get-expense.ts +3 -1
  543. package/src/funcs/accounting-get-expenses.ts +3 -1
  544. package/src/funcs/accounting-get-fiscal-year.ts +3 -1
  545. package/src/funcs/accounting-get-fiscal-years.ts +3 -1
  546. package/src/funcs/accounting-get-goods-receipt-line-item.ts +3 -1
  547. package/src/funcs/accounting-get-goods-receipt-line-items.ts +3 -1
  548. package/src/funcs/accounting-get-goods-receipt.ts +3 -1
  549. package/src/funcs/accounting-get-goods-receipts.ts +3 -1
  550. package/src/funcs/accounting-get-invoice-document.ts +3 -1
  551. package/src/funcs/accounting-get-invoice.ts +3 -1
  552. package/src/funcs/accounting-get-invoices.ts +3 -1
  553. package/src/funcs/accounting-get-item.ts +3 -1
  554. package/src/funcs/accounting-get-items.ts +3 -1
  555. package/src/funcs/accounting-get-journal-entries.ts +3 -1
  556. package/src/funcs/accounting-get-journal-entry-attachment-by-id.ts +3 -1
  557. package/src/funcs/accounting-get-journal-entry-attachments.ts +3 -1
  558. package/src/funcs/accounting-get-journal-entry.ts +3 -1
  559. package/src/funcs/accounting-get-journals.ts +3 -1
  560. package/src/funcs/accounting-get-line-item.ts +3 -1
  561. package/src/funcs/accounting-get-line-items.ts +3 -1
  562. package/src/funcs/accounting-get-offer-document.ts +3 -1
  563. package/src/funcs/accounting-get-offer-line-item.ts +3 -1
  564. package/src/funcs/accounting-get-offer-line-items.ts +3 -1
  565. package/src/funcs/accounting-get-offer.ts +3 -1
  566. package/src/funcs/accounting-get-offers.ts +3 -1
  567. package/src/funcs/accounting-get-open-items.ts +3 -1
  568. package/src/funcs/accounting-get-payment-term.ts +3 -1
  569. package/src/funcs/accounting-get-payment-terms.ts +3 -1
  570. package/src/funcs/accounting-get-payment.ts +3 -1
  571. package/src/funcs/accounting-get-payments.ts +3 -1
  572. package/src/funcs/accounting-get-profile.ts +3 -1
  573. package/src/funcs/accounting-get-project.ts +3 -1
  574. package/src/funcs/accounting-get-projects.ts +3 -1
  575. package/src/funcs/accounting-get-purchase-order-line-item.ts +3 -1
  576. package/src/funcs/accounting-get-purchase-order-line-items.ts +3 -1
  577. package/src/funcs/accounting-get-purchase-order.ts +3 -1
  578. package/src/funcs/accounting-get-purchase-orders.ts +3 -1
  579. package/src/funcs/accounting-get-sales-order-lines.ts +3 -1
  580. package/src/funcs/accounting-get-sales-order.ts +3 -1
  581. package/src/funcs/accounting-get-sales-orders.ts +3 -1
  582. package/src/funcs/accounting-get-supplier.ts +3 -1
  583. package/src/funcs/accounting-get-suppliers.ts +3 -1
  584. package/src/funcs/accounting-get-tax-rate.ts +3 -1
  585. package/src/funcs/accounting-get-tax-rates.ts +3 -1
  586. package/src/funcs/accounting-get-trial-balance.ts +3 -1
  587. package/src/funcs/accounting-get-units.ts +3 -1
  588. package/src/funcs/accounting-get-vendor-credits.ts +3 -1
  589. package/src/funcs/accounting-patch-contact.ts +3 -1
  590. package/src/funcs/accounting-patch-customers.ts +3 -1
  591. package/src/funcs/accounting-patch-invoice.ts +3 -1
  592. package/src/funcs/accounting-patch-item.ts +3 -1
  593. package/src/funcs/accounting-patch-line-item.ts +3 -1
  594. package/src/funcs/accounting-patch-supplier.ts +3 -1
  595. package/src/funcs/accounting-post-file.ts +11 -4
  596. package/src/funcs/accounting-put-contact.ts +3 -1
  597. package/src/funcs/accounting-update-bill-line-item.ts +3 -1
  598. package/src/funcs/accounting-update-bill.ts +3 -1
  599. package/src/funcs/accounting-update-customer.ts +3 -1
  600. package/src/funcs/accounting-update-supplier.ts +3 -1
  601. package/src/funcs/accounting-update-vendor-credit.ts +3 -1
  602. package/src/funcs/accounting-v2-create-booking-proposal-v2.ts +12 -4
  603. package/src/funcs/accounting-v2-create-contact-v2.ts +3 -1
  604. package/src/funcs/accounting-v2-get-contact-v2.ts +3 -1
  605. package/src/funcs/accounting-v2-get-contacts-v2.ts +3 -1
  606. package/src/funcs/accounting-v2-get-dimensions-by-dimension.ts +3 -1
  607. package/src/funcs/accounting-v2-get-dimensions-v2.ts +3 -1
  608. package/src/funcs/accounting-v2-patch-contact-v2.ts +3 -1
  609. package/src/funcs/accounting-v2-put-contact-v2.ts +3 -1
  610. package/src/funcs/auth-create-end-user-account.ts +4 -2
  611. package/src/funcs/auth-get-companies.ts +4 -2
  612. package/src/funcs/auth-get-environments.ts +4 -2
  613. package/src/funcs/auth-system-login-url.ts +4 -2
  614. package/src/funcs/events-get-code.ts +4 -2
  615. package/src/funcs/events-handle-callback.ts +4 -2
  616. package/src/funcs/events-handle-configuration-callback.ts +4 -2
  617. package/src/funcs/health-check.ts +4 -2
  618. package/src/funcs/tenants-add-callback-url.ts +4 -2
  619. package/src/funcs/tenants-count-end-users-by-system.ts +4 -2
  620. package/src/funcs/tenants-delete-end-user.ts +4 -2
  621. package/src/funcs/tenants-delete-registered-system.ts +4 -2
  622. package/src/funcs/tenants-get-callback-url.ts +4 -2
  623. package/src/funcs/tenants-get-end-user-list.ts +4 -2
  624. package/src/funcs/tenants-get-registered-systems-masked.ts +4 -2
  625. package/src/funcs/tenants-get-registered-systems.ts +4 -2
  626. package/src/funcs/tenants-get-submission-page-style-by-key.ts +4 -2
  627. package/src/funcs/tenants-get-submission-page-style.ts +4 -2
  628. package/src/funcs/tenants-get-target-system-requirements.ts +4 -2
  629. package/src/funcs/tenants-get-target-system-values.ts +4 -2
  630. package/src/funcs/tenants-system-registration.ts +4 -2
  631. package/src/funcs/tenants-update-submission-page-style.ts +4 -2
  632. package/src/funcs/user-get-user-info.ts +3 -1
  633. package/src/funcs/webhooks-create-webhook-end-user.ts +4 -2
  634. package/src/funcs/webhooks-create-webhook.ts +4 -2
  635. package/src/funcs/webhooks-delete-webhook-end-user.ts +4 -2
  636. package/src/funcs/webhooks-delete-webhook.ts +4 -2
  637. package/src/funcs/webhooks-get-webhooks.ts +4 -2
  638. package/src/lib/config.ts +3 -3
  639. package/src/lib/encodings.ts +9 -0
  640. package/src/lib/sdks.ts +3 -4
  641. package/src/models/errors/index.ts +0 -1
  642. package/src/models/index.ts +0 -4
  643. package/src/models/operations/index.ts +0 -15
  644. package/src/sdk/accounting.ts +0 -12
  645. package/src/sdk/auth.ts +0 -104
  646. package/src/sdk/health.ts +0 -16
  647. package/src/sdk/sdk.ts +5 -5
  648. package/src/sdk/tenants.ts +0 -10
  649. package/src/sdk/webhooks.ts +8 -45
  650. package/esm/funcs/accounting-create-bookings.d.ts +0 -11
  651. package/esm/funcs/accounting-create-bookings.d.ts.map +0 -1
  652. package/esm/funcs/accounting-create-bookings.js +0 -76
  653. package/esm/funcs/accounting-create-bookings.js.map +0 -1
  654. package/esm/funcs/auth-api-key-confirmation.d.ts +0 -11
  655. package/esm/funcs/auth-api-key-confirmation.d.ts.map +0 -1
  656. package/esm/funcs/auth-api-key-confirmation.js +0 -61
  657. package/esm/funcs/auth-api-key-confirmation.js.map +0 -1
  658. package/esm/funcs/auth-callback.d.ts +0 -11
  659. package/esm/funcs/auth-callback.d.ts.map +0 -1
  660. package/esm/funcs/auth-callback.js +0 -94
  661. package/esm/funcs/auth-callback.js.map +0 -1
  662. package/esm/funcs/auth-cancel.d.ts +0 -11
  663. package/esm/funcs/auth-cancel.d.ts.map +0 -1
  664. package/esm/funcs/auth-cancel.js +0 -61
  665. package/esm/funcs/auth-cancel.js.map +0 -1
  666. package/esm/funcs/auth-get-companies-flow.d.ts +0 -11
  667. package/esm/funcs/auth-get-companies-flow.d.ts.map +0 -1
  668. package/esm/funcs/auth-get-companies-flow.js +0 -85
  669. package/esm/funcs/auth-get-companies-flow.js.map +0 -1
  670. package/esm/funcs/auth-get-environment-page.d.ts +0 -11
  671. package/esm/funcs/auth-get-environment-page.d.ts.map +0 -1
  672. package/esm/funcs/auth-get-environment-page.js +0 -86
  673. package/esm/funcs/auth-get-environment-page.js.map +0 -1
  674. package/esm/funcs/auth-get-submit-page.d.ts +0 -11
  675. package/esm/funcs/auth-get-submit-page.d.ts.map +0 -1
  676. package/esm/funcs/auth-get-submit-page.js +0 -85
  677. package/esm/funcs/auth-get-submit-page.js.map +0 -1
  678. package/esm/funcs/auth-long-token.d.ts +0 -11
  679. package/esm/funcs/auth-long-token.d.ts.map +0 -1
  680. package/esm/funcs/auth-long-token.js +0 -88
  681. package/esm/funcs/auth-long-token.js.map +0 -1
  682. package/esm/funcs/auth-set-end-user-selections.d.ts +0 -11
  683. package/esm/funcs/auth-set-end-user-selections.d.ts.map +0 -1
  684. package/esm/funcs/auth-set-end-user-selections.js +0 -77
  685. package/esm/funcs/auth-set-end-user-selections.js.map +0 -1
  686. package/esm/funcs/auth-test.d.ts +0 -11
  687. package/esm/funcs/auth-test.d.ts.map +0 -1
  688. package/esm/funcs/auth-test.js +0 -85
  689. package/esm/funcs/auth-test.js.map +0 -1
  690. package/esm/funcs/health-details.d.ts +0 -18
  691. package/esm/funcs/health-details.d.ts.map +0 -1
  692. package/esm/funcs/health-details.js +0 -81
  693. package/esm/funcs/health-details.js.map +0 -1
  694. package/esm/funcs/tenants-get-all-active-end-users.d.ts +0 -11
  695. package/esm/funcs/tenants-get-all-active-end-users.d.ts.map +0 -1
  696. package/esm/funcs/tenants-get-all-active-end-users.js +0 -71
  697. package/esm/funcs/tenants-get-all-active-end-users.js.map +0 -1
  698. package/esm/funcs/webhooks-create-web-hook-tenant.d.ts +0 -12
  699. package/esm/funcs/webhooks-create-web-hook-tenant.d.ts.map +0 -1
  700. package/esm/funcs/webhooks-create-web-hook-tenant.js +0 -73
  701. package/esm/funcs/webhooks-create-web-hook-tenant.js.map +0 -1
  702. package/esm/funcs/webhooks-create-webhook-config.d.ts +0 -12
  703. package/esm/funcs/webhooks-create-webhook-config.d.ts.map +0 -1
  704. package/esm/funcs/webhooks-create-webhook-config.js +0 -73
  705. package/esm/funcs/webhooks-create-webhook-config.js.map +0 -1
  706. package/esm/funcs/webhooks-delete-webhook-tenant.d.ts +0 -11
  707. package/esm/funcs/webhooks-delete-webhook-tenant.d.ts.map +0 -1
  708. package/esm/funcs/webhooks-delete-webhook-tenant.js +0 -78
  709. package/esm/funcs/webhooks-delete-webhook-tenant.js.map +0 -1
  710. package/esm/models/booking-entry-request-dto.d.ts +0 -216
  711. package/esm/models/booking-entry-request-dto.d.ts.map +0 -1
  712. package/esm/models/booking-entry-request-dto.js +0 -199
  713. package/esm/models/booking-entry-request-dto.js.map +0 -1
  714. package/esm/models/booking-entry-response-dto.d.ts +0 -202
  715. package/esm/models/booking-entry-response-dto.d.ts.map +0 -1
  716. package/esm/models/booking-entry-response-dto.js +0 -203
  717. package/esm/models/booking-entry-response-dto.js.map +0 -1
  718. package/esm/models/bookings-response-dto.d.ts +0 -28
  719. package/esm/models/bookings-response-dto.d.ts.map +0 -1
  720. package/esm/models/bookings-response-dto.js +0 -31
  721. package/esm/models/bookings-response-dto.js.map +0 -1
  722. package/esm/models/create-bookings-request-dto.d.ts +0 -30
  723. package/esm/models/create-bookings-request-dto.d.ts.map +0 -1
  724. package/esm/models/create-bookings-request-dto.js +0 -25
  725. package/esm/models/create-bookings-request-dto.js.map +0 -1
  726. package/esm/models/errors/details.d.ts +0 -43
  727. package/esm/models/errors/details.d.ts.map +0 -1
  728. package/esm/models/errors/details.js +0 -51
  729. package/esm/models/errors/details.js.map +0 -1
  730. package/esm/models/operations/api-key-confirmation.d.ts +0 -13
  731. package/esm/models/operations/api-key-confirmation.d.ts.map +0 -1
  732. package/esm/models/operations/api-key-confirmation.js +0 -14
  733. package/esm/models/operations/api-key-confirmation.js.map +0 -1
  734. package/esm/models/operations/callback.d.ts +0 -43
  735. package/esm/models/operations/callback.d.ts.map +0 -1
  736. package/esm/models/operations/callback.js +0 -30
  737. package/esm/models/operations/callback.js.map +0 -1
  738. package/esm/models/operations/cancel.d.ts +0 -13
  739. package/esm/models/operations/cancel.d.ts.map +0 -1
  740. package/esm/models/operations/cancel.js +0 -14
  741. package/esm/models/operations/cancel.js.map +0 -1
  742. package/esm/models/operations/create-bookings.d.ts +0 -56
  743. package/esm/models/operations/create-bookings.d.ts.map +0 -1
  744. package/esm/models/operations/create-bookings.js +0 -54
  745. package/esm/models/operations/create-bookings.js.map +0 -1
  746. package/esm/models/operations/create-web-hook-tenant.d.ts +0 -41
  747. package/esm/models/operations/create-web-hook-tenant.d.ts.map +0 -1
  748. package/esm/models/operations/create-web-hook-tenant.js +0 -46
  749. package/esm/models/operations/create-web-hook-tenant.js.map +0 -1
  750. package/esm/models/operations/create-webhook-config.d.ts +0 -41
  751. package/esm/models/operations/create-webhook-config.d.ts.map +0 -1
  752. package/esm/models/operations/create-webhook-config.js +0 -46
  753. package/esm/models/operations/create-webhook-config.js.map +0 -1
  754. package/esm/models/operations/delete-webhook-tenant.d.ts +0 -12
  755. package/esm/models/operations/delete-webhook-tenant.d.ts.map +0 -1
  756. package/esm/models/operations/delete-webhook-tenant.js +0 -12
  757. package/esm/models/operations/delete-webhook-tenant.js.map +0 -1
  758. package/esm/models/operations/details.d.ts +0 -32
  759. package/esm/models/operations/details.d.ts.map +0 -1
  760. package/esm/models/operations/details.js +0 -34
  761. package/esm/models/operations/details.js.map +0 -1
  762. package/esm/models/operations/get-all-active-end-users.d.ts +0 -11
  763. package/esm/models/operations/get-all-active-end-users.d.ts.map +0 -1
  764. package/esm/models/operations/get-all-active-end-users.js +0 -11
  765. package/esm/models/operations/get-all-active-end-users.js.map +0 -1
  766. package/esm/models/operations/get-companies-flow.d.ts +0 -54
  767. package/esm/models/operations/get-companies-flow.d.ts.map +0 -1
  768. package/esm/models/operations/get-companies-flow.js +0 -53
  769. package/esm/models/operations/get-companies-flow.js.map +0 -1
  770. package/esm/models/operations/get-environment-page.d.ts +0 -29
  771. package/esm/models/operations/get-environment-page.d.ts.map +0 -1
  772. package/esm/models/operations/get-environment-page.js +0 -19
  773. package/esm/models/operations/get-environment-page.js.map +0 -1
  774. package/esm/models/operations/get-submit-page.d.ts +0 -26
  775. package/esm/models/operations/get-submit-page.d.ts.map +0 -1
  776. package/esm/models/operations/get-submit-page.js +0 -21
  777. package/esm/models/operations/get-submit-page.js.map +0 -1
  778. package/esm/models/operations/long-token.d.ts +0 -25
  779. package/esm/models/operations/long-token.d.ts.map +0 -1
  780. package/esm/models/operations/long-token.js +0 -14
  781. package/esm/models/operations/long-token.js.map +0 -1
  782. package/esm/models/operations/set-end-user-selections.d.ts +0 -36
  783. package/esm/models/operations/set-end-user-selections.d.ts.map +0 -1
  784. package/esm/models/operations/set-end-user-selections.js +0 -23
  785. package/esm/models/operations/set-end-user-selections.js.map +0 -1
  786. package/esm/models/operations/test.d.ts +0 -26
  787. package/esm/models/operations/test.d.ts.map +0 -1
  788. package/esm/models/operations/test.js +0 -21
  789. package/esm/models/operations/test.js.map +0 -1
  790. package/src/funcs/accounting-create-bookings.ts +0 -159
  791. package/src/funcs/auth-api-key-confirmation.ts +0 -135
  792. package/src/funcs/auth-callback.ts +0 -177
  793. package/src/funcs/auth-cancel.ts +0 -135
  794. package/src/funcs/auth-get-companies-flow.ts +0 -172
  795. package/src/funcs/auth-get-environment-page.ts +0 -170
  796. package/src/funcs/auth-get-submit-page.ts +0 -168
  797. package/src/funcs/auth-long-token.ts +0 -171
  798. package/src/funcs/auth-set-end-user-selections.ts +0 -161
  799. package/src/funcs/auth-test.ts +0 -168
  800. package/src/funcs/health-details.ts +0 -160
  801. package/src/funcs/tenants-get-all-active-end-users.ts +0 -145
  802. package/src/funcs/webhooks-create-web-hook-tenant.ts +0 -156
  803. package/src/funcs/webhooks-create-webhook-config.ts +0 -156
  804. package/src/funcs/webhooks-delete-webhook-tenant.ts +0 -161
  805. package/src/models/booking-entry-request-dto.ts +0 -268
  806. package/src/models/booking-entry-response-dto.ts +0 -260
  807. package/src/models/bookings-response-dto.ts +0 -68
  808. package/src/models/create-bookings-request-dto.ts +0 -64
  809. package/src/models/errors/details.ts +0 -82
  810. package/src/models/operations/api-key-confirmation.ts +0 -34
  811. package/src/models/operations/callback.ts +0 -89
  812. package/src/models/operations/cancel.ts +0 -34
  813. package/src/models/operations/create-bookings.ts +0 -162
  814. package/src/models/operations/create-web-hook-tenant.ts +0 -135
  815. package/src/models/operations/create-webhook-config.ts +0 -135
  816. package/src/models/operations/delete-webhook-tenant.ts +0 -30
  817. package/src/models/operations/details.ts +0 -100
  818. package/src/models/operations/get-all-active-end-users.ts +0 -29
  819. package/src/models/operations/get-companies-flow.ts +0 -161
  820. package/src/models/operations/get-environment-page.ts +0 -63
  821. package/src/models/operations/get-submit-page.ts +0 -62
  822. package/src/models/operations/long-token.ts +0 -45
  823. package/src/models/operations/set-end-user-selections.ts +0 -76
  824. package/src/models/operations/test.ts +0 -56
@@ -1,82 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4-mini";
6
- import * as types from "../../types/primitives.js";
7
- import * as operations from "../operations/index.js";
8
- import { MaesnError } from "./maesn-error.js";
9
-
10
- /**
11
- * The Health Check is not successful
12
- */
13
- export type ServiceUnavailableErrorData = {
14
- status?: string | undefined;
15
- info?: { [k: string]: operations.Info } | null | undefined;
16
- error?: { [k: string]: operations.ErrorT } | null | undefined;
17
- details?: { [k: string]: operations.Details } | undefined;
18
- };
19
-
20
- /**
21
- * The Health Check is not successful
22
- */
23
- export class ServiceUnavailableError extends MaesnError {
24
- status?: string | undefined;
25
- info?: { [k: string]: operations.Info } | null | undefined;
26
- error?: { [k: string]: operations.ErrorT } | null | undefined;
27
- details?: { [k: string]: operations.Details } | undefined;
28
-
29
- /** The original data that was passed to this error instance. */
30
- data$: ServiceUnavailableErrorData;
31
-
32
- constructor(
33
- err: ServiceUnavailableErrorData,
34
- httpMeta: { response: Response; request: Request; body: string },
35
- ) {
36
- const message = "message" in err && typeof err.message === "string"
37
- ? err.message
38
- : `API error occurred: ${JSON.stringify(err)}`;
39
- super(message, httpMeta);
40
- this.data$ = err;
41
- if (err.status != null) this.status = err.status;
42
- if (err.info != null) this.info = err.info;
43
- if (err.error != null) this.error = err.error;
44
- if (err.details != null) this.details = err.details;
45
-
46
- this.name = "ServiceUnavailableError";
47
- }
48
- }
49
-
50
- /** @internal */
51
- export const ServiceUnavailableError$inboundSchema: z.ZodMiniType<
52
- ServiceUnavailableError,
53
- unknown
54
- > = z.pipe(
55
- z.object({
56
- status: types.optional(types.string()),
57
- info: z.optional(z.nullable(z.record(
58
- z.string(),
59
- z.lazy(() => operations.Info$inboundSchema),
60
- ))),
61
- error: z.optional(z.nullable(z.record(
62
- z.string(),
63
- z.lazy(() => operations.ErrorT$inboundSchema),
64
- ))),
65
- details: types.optional(z.record(
66
- z.string(),
67
- z.lazy(() => operations.Details$inboundSchema),
68
- )),
69
- request$: z.custom<Request>(x =>
70
- x instanceof Request
71
- ),
72
- response$: z.custom<Response>(x => x instanceof Response),
73
- body$: z.string(),
74
- }),
75
- z.transform((v) => {
76
- return new ServiceUnavailableError(v, {
77
- request: v.request$,
78
- response: v.response$,
79
- body: v.body$,
80
- });
81
- }),
82
- );
@@ -1,34 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4-mini";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import * as types from "../../types/primitives.js";
9
- import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
-
11
- /**
12
- * API key confirmed and redirect URL returned successfully
13
- */
14
- export type ApiKeyConfirmationResponse = {
15
- url?: string | undefined;
16
- };
17
-
18
- /** @internal */
19
- export const ApiKeyConfirmationResponse$inboundSchema: z.ZodMiniType<
20
- ApiKeyConfirmationResponse,
21
- unknown
22
- > = z.object({
23
- url: types.optional(types.string()),
24
- });
25
-
26
- export function apiKeyConfirmationResponseFromJSON(
27
- jsonString: string,
28
- ): SafeParseResult<ApiKeyConfirmationResponse, SDKValidationError> {
29
- return safeParse(
30
- jsonString,
31
- (x) => ApiKeyConfirmationResponse$inboundSchema.parse(JSON.parse(x)),
32
- `Failed to parse 'ApiKeyConfirmationResponse' from JSON`,
33
- );
34
- }
@@ -1,89 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4-mini";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import * as types from "../../types/primitives.js";
10
- import { SDKValidationError } from "../errors/sdk-validation-error.js";
11
-
12
- export type CallbackRequest = {
13
- targetSystem: string;
14
- /**
15
- * OAuth state parameter returned by the target system, encoding tenant and user context
16
- */
17
- state: string;
18
- /**
19
- * Authorization code returned by the target system after successful OAuth consent
20
- */
21
- code?: string | undefined;
22
- /**
23
- * Realm ID returned by QuickBooks Online after OAuth consent
24
- */
25
- realmId?: string | undefined;
26
- /**
27
- * Access token returned directly by some target systems that do not use an authorization code flow
28
- */
29
- token?: string | undefined;
30
- };
31
-
32
- /**
33
- * OAuth callback processed and redirect URL returned successfully
34
- */
35
- export type CallbackResponse = {
36
- url?: string | undefined;
37
- };
38
-
39
- /** @internal */
40
- export type CallbackRequest$Outbound = {
41
- TARGET_SYSTEM: string;
42
- state: string;
43
- code?: string | undefined;
44
- realmId?: string | undefined;
45
- token?: string | undefined;
46
- };
47
-
48
- /** @internal */
49
- export const CallbackRequest$outboundSchema: z.ZodMiniType<
50
- CallbackRequest$Outbound,
51
- CallbackRequest
52
- > = z.pipe(
53
- z.object({
54
- targetSystem: z.string(),
55
- state: z.string(),
56
- code: z.optional(z.string()),
57
- realmId: z.optional(z.string()),
58
- token: z.optional(z.string()),
59
- }),
60
- z.transform((v) => {
61
- return remap$(v, {
62
- targetSystem: "TARGET_SYSTEM",
63
- });
64
- }),
65
- );
66
-
67
- export function callbackRequestToJSON(
68
- callbackRequest: CallbackRequest,
69
- ): string {
70
- return JSON.stringify(CallbackRequest$outboundSchema.parse(callbackRequest));
71
- }
72
-
73
- /** @internal */
74
- export const CallbackResponse$inboundSchema: z.ZodMiniType<
75
- CallbackResponse,
76
- unknown
77
- > = z.object({
78
- url: types.optional(types.string()),
79
- });
80
-
81
- export function callbackResponseFromJSON(
82
- jsonString: string,
83
- ): SafeParseResult<CallbackResponse, SDKValidationError> {
84
- return safeParse(
85
- jsonString,
86
- (x) => CallbackResponse$inboundSchema.parse(JSON.parse(x)),
87
- `Failed to parse 'CallbackResponse' from JSON`,
88
- );
89
- }
@@ -1,34 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4-mini";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import * as types from "../../types/primitives.js";
9
- import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
-
11
- /**
12
- * Cancellation redirect URL returned successfully
13
- */
14
- export type CancelResponse = {
15
- url?: string | undefined;
16
- };
17
-
18
- /** @internal */
19
- export const CancelResponse$inboundSchema: z.ZodMiniType<
20
- CancelResponse,
21
- unknown
22
- > = z.object({
23
- url: types.optional(types.string()),
24
- });
25
-
26
- export function cancelResponseFromJSON(
27
- jsonString: string,
28
- ): SafeParseResult<CancelResponse, SDKValidationError> {
29
- return safeParse(
30
- jsonString,
31
- (x) => CancelResponse$inboundSchema.parse(JSON.parse(x)),
32
- `Failed to parse 'CancelResponse' from JSON`,
33
- );
34
- }
@@ -1,162 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4-mini";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import * as types from "../../types/primitives.js";
9
- import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
- import * as models from "../index.js";
11
-
12
- export type CreateBookingsRequest = {
13
- /**
14
- * ID of the company (required for multi-company target systems)
15
- */
16
- companyId?: string | undefined;
17
- body: models.CreateBookingsRequestDto;
18
- };
19
-
20
- export type CreateBookingsPagination = {
21
- total: number;
22
- perPage: number;
23
- currentPage: number;
24
- totalPages: number;
25
- };
26
-
27
- export type CreateBookingsMeta = {
28
- warnings?: Array<string> | null | undefined;
29
- pagination?: CreateBookingsPagination | null | undefined;
30
- };
31
-
32
- export type CreateBookingsErrors = {};
33
-
34
- export type CreateBookingsRawData = {};
35
-
36
- /**
37
- * Booking created successfully
38
- */
39
- export type CreateBookingsResponse = {
40
- meta?: CreateBookingsMeta | null | undefined;
41
- data: models.BookingsResponseDto;
42
- errors: CreateBookingsErrors | null;
43
- rawData: CreateBookingsRawData | null;
44
- };
45
-
46
- /** @internal */
47
- export type CreateBookingsRequest$Outbound = {
48
- companyId?: string | undefined;
49
- body: models.CreateBookingsRequestDto$Outbound;
50
- };
51
-
52
- /** @internal */
53
- export const CreateBookingsRequest$outboundSchema: z.ZodMiniType<
54
- CreateBookingsRequest$Outbound,
55
- CreateBookingsRequest
56
- > = z.object({
57
- companyId: z.optional(z.string()),
58
- body: models.CreateBookingsRequestDto$outboundSchema,
59
- });
60
-
61
- export function createBookingsRequestToJSON(
62
- createBookingsRequest: CreateBookingsRequest,
63
- ): string {
64
- return JSON.stringify(
65
- CreateBookingsRequest$outboundSchema.parse(createBookingsRequest),
66
- );
67
- }
68
-
69
- /** @internal */
70
- export const CreateBookingsPagination$inboundSchema: z.ZodMiniType<
71
- CreateBookingsPagination,
72
- unknown
73
- > = z.object({
74
- total: types.number(),
75
- perPage: types.number(),
76
- currentPage: types.number(),
77
- totalPages: types.number(),
78
- });
79
-
80
- export function createBookingsPaginationFromJSON(
81
- jsonString: string,
82
- ): SafeParseResult<CreateBookingsPagination, SDKValidationError> {
83
- return safeParse(
84
- jsonString,
85
- (x) => CreateBookingsPagination$inboundSchema.parse(JSON.parse(x)),
86
- `Failed to parse 'CreateBookingsPagination' from JSON`,
87
- );
88
- }
89
-
90
- /** @internal */
91
- export const CreateBookingsMeta$inboundSchema: z.ZodMiniType<
92
- CreateBookingsMeta,
93
- unknown
94
- > = z.object({
95
- warnings: z.optional(z.nullable(z.array(types.string()))),
96
- pagination: z.optional(
97
- z.nullable(z.lazy(() => CreateBookingsPagination$inboundSchema)),
98
- ),
99
- });
100
-
101
- export function createBookingsMetaFromJSON(
102
- jsonString: string,
103
- ): SafeParseResult<CreateBookingsMeta, SDKValidationError> {
104
- return safeParse(
105
- jsonString,
106
- (x) => CreateBookingsMeta$inboundSchema.parse(JSON.parse(x)),
107
- `Failed to parse 'CreateBookingsMeta' from JSON`,
108
- );
109
- }
110
-
111
- /** @internal */
112
- export const CreateBookingsErrors$inboundSchema: z.ZodMiniType<
113
- CreateBookingsErrors,
114
- unknown
115
- > = z.object({});
116
-
117
- export function createBookingsErrorsFromJSON(
118
- jsonString: string,
119
- ): SafeParseResult<CreateBookingsErrors, SDKValidationError> {
120
- return safeParse(
121
- jsonString,
122
- (x) => CreateBookingsErrors$inboundSchema.parse(JSON.parse(x)),
123
- `Failed to parse 'CreateBookingsErrors' from JSON`,
124
- );
125
- }
126
-
127
- /** @internal */
128
- export const CreateBookingsRawData$inboundSchema: z.ZodMiniType<
129
- CreateBookingsRawData,
130
- unknown
131
- > = z.object({});
132
-
133
- export function createBookingsRawDataFromJSON(
134
- jsonString: string,
135
- ): SafeParseResult<CreateBookingsRawData, SDKValidationError> {
136
- return safeParse(
137
- jsonString,
138
- (x) => CreateBookingsRawData$inboundSchema.parse(JSON.parse(x)),
139
- `Failed to parse 'CreateBookingsRawData' from JSON`,
140
- );
141
- }
142
-
143
- /** @internal */
144
- export const CreateBookingsResponse$inboundSchema: z.ZodMiniType<
145
- CreateBookingsResponse,
146
- unknown
147
- > = z.object({
148
- meta: z.optional(z.nullable(z.lazy(() => CreateBookingsMeta$inboundSchema))),
149
- data: models.BookingsResponseDto$inboundSchema,
150
- errors: types.nullable(z.lazy(() => CreateBookingsErrors$inboundSchema)),
151
- rawData: types.nullable(z.lazy(() => CreateBookingsRawData$inboundSchema)),
152
- });
153
-
154
- export function createBookingsResponseFromJSON(
155
- jsonString: string,
156
- ): SafeParseResult<CreateBookingsResponse, SDKValidationError> {
157
- return safeParse(
158
- jsonString,
159
- (x) => CreateBookingsResponse$inboundSchema.parse(JSON.parse(x)),
160
- `Failed to parse 'CreateBookingsResponse' from JSON`,
161
- );
162
- }
@@ -1,135 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4-mini";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import * as types from "../../types/primitives.js";
9
- import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
- import * as models from "../index.js";
11
-
12
- export type CreateWebHookTenantPagination = {
13
- total: number;
14
- perPage: number;
15
- currentPage: number;
16
- totalPages: number;
17
- };
18
-
19
- export type CreateWebHookTenantMeta = {
20
- warnings?: Array<string> | null | undefined;
21
- pagination?: CreateWebHookTenantPagination | null | undefined;
22
- };
23
-
24
- export type CreateWebHookTenantErrors = {};
25
-
26
- export type CreateWebHookTenantRawData = {};
27
-
28
- /**
29
- * Webhook created successfully
30
- */
31
- export type CreateWebHookTenantResponse = {
32
- meta?: CreateWebHookTenantMeta | null | undefined;
33
- data: models.WebhookResponseDto;
34
- errors: CreateWebHookTenantErrors | null;
35
- rawData: CreateWebHookTenantRawData | null;
36
- };
37
-
38
- /** @internal */
39
- export const CreateWebHookTenantPagination$inboundSchema: z.ZodMiniType<
40
- CreateWebHookTenantPagination,
41
- unknown
42
- > = z.object({
43
- total: types.number(),
44
- perPage: types.number(),
45
- currentPage: types.number(),
46
- totalPages: types.number(),
47
- });
48
-
49
- export function createWebHookTenantPaginationFromJSON(
50
- jsonString: string,
51
- ): SafeParseResult<CreateWebHookTenantPagination, SDKValidationError> {
52
- return safeParse(
53
- jsonString,
54
- (x) => CreateWebHookTenantPagination$inboundSchema.parse(JSON.parse(x)),
55
- `Failed to parse 'CreateWebHookTenantPagination' from JSON`,
56
- );
57
- }
58
-
59
- /** @internal */
60
- export const CreateWebHookTenantMeta$inboundSchema: z.ZodMiniType<
61
- CreateWebHookTenantMeta,
62
- unknown
63
- > = z.object({
64
- warnings: z.optional(z.nullable(z.array(types.string()))),
65
- pagination: z.optional(
66
- z.nullable(z.lazy(() => CreateWebHookTenantPagination$inboundSchema)),
67
- ),
68
- });
69
-
70
- export function createWebHookTenantMetaFromJSON(
71
- jsonString: string,
72
- ): SafeParseResult<CreateWebHookTenantMeta, SDKValidationError> {
73
- return safeParse(
74
- jsonString,
75
- (x) => CreateWebHookTenantMeta$inboundSchema.parse(JSON.parse(x)),
76
- `Failed to parse 'CreateWebHookTenantMeta' from JSON`,
77
- );
78
- }
79
-
80
- /** @internal */
81
- export const CreateWebHookTenantErrors$inboundSchema: z.ZodMiniType<
82
- CreateWebHookTenantErrors,
83
- unknown
84
- > = z.object({});
85
-
86
- export function createWebHookTenantErrorsFromJSON(
87
- jsonString: string,
88
- ): SafeParseResult<CreateWebHookTenantErrors, SDKValidationError> {
89
- return safeParse(
90
- jsonString,
91
- (x) => CreateWebHookTenantErrors$inboundSchema.parse(JSON.parse(x)),
92
- `Failed to parse 'CreateWebHookTenantErrors' from JSON`,
93
- );
94
- }
95
-
96
- /** @internal */
97
- export const CreateWebHookTenantRawData$inboundSchema: z.ZodMiniType<
98
- CreateWebHookTenantRawData,
99
- unknown
100
- > = z.object({});
101
-
102
- export function createWebHookTenantRawDataFromJSON(
103
- jsonString: string,
104
- ): SafeParseResult<CreateWebHookTenantRawData, SDKValidationError> {
105
- return safeParse(
106
- jsonString,
107
- (x) => CreateWebHookTenantRawData$inboundSchema.parse(JSON.parse(x)),
108
- `Failed to parse 'CreateWebHookTenantRawData' from JSON`,
109
- );
110
- }
111
-
112
- /** @internal */
113
- export const CreateWebHookTenantResponse$inboundSchema: z.ZodMiniType<
114
- CreateWebHookTenantResponse,
115
- unknown
116
- > = z.object({
117
- meta: z.optional(
118
- z.nullable(z.lazy(() => CreateWebHookTenantMeta$inboundSchema)),
119
- ),
120
- data: models.WebhookResponseDto$inboundSchema,
121
- errors: types.nullable(z.lazy(() => CreateWebHookTenantErrors$inboundSchema)),
122
- rawData: types.nullable(
123
- z.lazy(() => CreateWebHookTenantRawData$inboundSchema),
124
- ),
125
- });
126
-
127
- export function createWebHookTenantResponseFromJSON(
128
- jsonString: string,
129
- ): SafeParseResult<CreateWebHookTenantResponse, SDKValidationError> {
130
- return safeParse(
131
- jsonString,
132
- (x) => CreateWebHookTenantResponse$inboundSchema.parse(JSON.parse(x)),
133
- `Failed to parse 'CreateWebHookTenantResponse' from JSON`,
134
- );
135
- }
@@ -1,135 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4-mini";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import * as types from "../../types/primitives.js";
9
- import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
- import * as models from "../index.js";
11
-
12
- export type CreateWebhookConfigPagination = {
13
- total: number;
14
- perPage: number;
15
- currentPage: number;
16
- totalPages: number;
17
- };
18
-
19
- export type CreateWebhookConfigMeta = {
20
- warnings?: Array<string> | null | undefined;
21
- pagination?: CreateWebhookConfigPagination | null | undefined;
22
- };
23
-
24
- export type CreateWebhookConfigErrors = {};
25
-
26
- export type CreateWebhookConfigRawData = {};
27
-
28
- /**
29
- * Webhook created successfully
30
- */
31
- export type CreateWebhookConfigResponse = {
32
- meta?: CreateWebhookConfigMeta | null | undefined;
33
- data: models.WebhookResponseDto;
34
- errors: CreateWebhookConfigErrors | null;
35
- rawData: CreateWebhookConfigRawData | null;
36
- };
37
-
38
- /** @internal */
39
- export const CreateWebhookConfigPagination$inboundSchema: z.ZodMiniType<
40
- CreateWebhookConfigPagination,
41
- unknown
42
- > = z.object({
43
- total: types.number(),
44
- perPage: types.number(),
45
- currentPage: types.number(),
46
- totalPages: types.number(),
47
- });
48
-
49
- export function createWebhookConfigPaginationFromJSON(
50
- jsonString: string,
51
- ): SafeParseResult<CreateWebhookConfigPagination, SDKValidationError> {
52
- return safeParse(
53
- jsonString,
54
- (x) => CreateWebhookConfigPagination$inboundSchema.parse(JSON.parse(x)),
55
- `Failed to parse 'CreateWebhookConfigPagination' from JSON`,
56
- );
57
- }
58
-
59
- /** @internal */
60
- export const CreateWebhookConfigMeta$inboundSchema: z.ZodMiniType<
61
- CreateWebhookConfigMeta,
62
- unknown
63
- > = z.object({
64
- warnings: z.optional(z.nullable(z.array(types.string()))),
65
- pagination: z.optional(
66
- z.nullable(z.lazy(() => CreateWebhookConfigPagination$inboundSchema)),
67
- ),
68
- });
69
-
70
- export function createWebhookConfigMetaFromJSON(
71
- jsonString: string,
72
- ): SafeParseResult<CreateWebhookConfigMeta, SDKValidationError> {
73
- return safeParse(
74
- jsonString,
75
- (x) => CreateWebhookConfigMeta$inboundSchema.parse(JSON.parse(x)),
76
- `Failed to parse 'CreateWebhookConfigMeta' from JSON`,
77
- );
78
- }
79
-
80
- /** @internal */
81
- export const CreateWebhookConfigErrors$inboundSchema: z.ZodMiniType<
82
- CreateWebhookConfigErrors,
83
- unknown
84
- > = z.object({});
85
-
86
- export function createWebhookConfigErrorsFromJSON(
87
- jsonString: string,
88
- ): SafeParseResult<CreateWebhookConfigErrors, SDKValidationError> {
89
- return safeParse(
90
- jsonString,
91
- (x) => CreateWebhookConfigErrors$inboundSchema.parse(JSON.parse(x)),
92
- `Failed to parse 'CreateWebhookConfigErrors' from JSON`,
93
- );
94
- }
95
-
96
- /** @internal */
97
- export const CreateWebhookConfigRawData$inboundSchema: z.ZodMiniType<
98
- CreateWebhookConfigRawData,
99
- unknown
100
- > = z.object({});
101
-
102
- export function createWebhookConfigRawDataFromJSON(
103
- jsonString: string,
104
- ): SafeParseResult<CreateWebhookConfigRawData, SDKValidationError> {
105
- return safeParse(
106
- jsonString,
107
- (x) => CreateWebhookConfigRawData$inboundSchema.parse(JSON.parse(x)),
108
- `Failed to parse 'CreateWebhookConfigRawData' from JSON`,
109
- );
110
- }
111
-
112
- /** @internal */
113
- export const CreateWebhookConfigResponse$inboundSchema: z.ZodMiniType<
114
- CreateWebhookConfigResponse,
115
- unknown
116
- > = z.object({
117
- meta: z.optional(
118
- z.nullable(z.lazy(() => CreateWebhookConfigMeta$inboundSchema)),
119
- ),
120
- data: models.WebhookResponseDto$inboundSchema,
121
- errors: types.nullable(z.lazy(() => CreateWebhookConfigErrors$inboundSchema)),
122
- rawData: types.nullable(
123
- z.lazy(() => CreateWebhookConfigRawData$inboundSchema),
124
- ),
125
- });
126
-
127
- export function createWebhookConfigResponseFromJSON(
128
- jsonString: string,
129
- ): SafeParseResult<CreateWebhookConfigResponse, SDKValidationError> {
130
- return safeParse(
131
- jsonString,
132
- (x) => CreateWebhookConfigResponse$inboundSchema.parse(JSON.parse(x)),
133
- `Failed to parse 'CreateWebhookConfigResponse' from JSON`,
134
- );
135
- }
@@ -1,30 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4-mini";
6
-
7
- export type DeleteWebhookTenantRequest = {
8
- webhookId: string;
9
- };
10
-
11
- /** @internal */
12
- export type DeleteWebhookTenantRequest$Outbound = {
13
- webhookId: string;
14
- };
15
-
16
- /** @internal */
17
- export const DeleteWebhookTenantRequest$outboundSchema: z.ZodMiniType<
18
- DeleteWebhookTenantRequest$Outbound,
19
- DeleteWebhookTenantRequest
20
- > = z.object({
21
- webhookId: z.string(),
22
- });
23
-
24
- export function deleteWebhookTenantRequestToJSON(
25
- deleteWebhookTenantRequest: DeleteWebhookTenantRequest,
26
- ): string {
27
- return JSON.stringify(
28
- DeleteWebhookTenantRequest$outboundSchema.parse(deleteWebhookTenantRequest),
29
- );
30
- }