@unified-api/typescript-sdk 2.73.5 → 2.73.6

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 (646) hide show
  1. package/README.md +60 -0
  2. package/bin/mcp-server.js +9518 -3971
  3. package/bin/mcp-server.js.map +121 -20
  4. package/docs/sdks/accounting/README.md +2759 -387
  5. package/docs/sdks/balancesheet/README.md +163 -0
  6. package/docs/sdks/bill/README.md +483 -0
  7. package/docs/sdks/creditmemo/README.md +483 -0
  8. package/docs/sdks/profitloss/README.md +163 -0
  9. package/docs/sdks/purchaseorder/README.md +483 -0
  10. package/docs/sdks/salesorder/README.md +483 -0
  11. package/docs/sdks/trialbalance/README.md +163 -0
  12. package/funcs/accountingCreateAccountingBill.d.ts +15 -0
  13. package/funcs/accountingCreateAccountingBill.d.ts.map +1 -0
  14. package/funcs/accountingCreateAccountingBill.js +112 -0
  15. package/funcs/accountingCreateAccountingBill.js.map +1 -0
  16. package/funcs/accountingCreateAccountingCreditmemo.d.ts +15 -0
  17. package/funcs/accountingCreateAccountingCreditmemo.d.ts.map +1 -0
  18. package/funcs/accountingCreateAccountingCreditmemo.js +114 -0
  19. package/funcs/accountingCreateAccountingCreditmemo.js.map +1 -0
  20. package/funcs/accountingCreateAccountingPurchaseorder.d.ts +15 -0
  21. package/funcs/accountingCreateAccountingPurchaseorder.d.ts.map +1 -0
  22. package/funcs/accountingCreateAccountingPurchaseorder.js +114 -0
  23. package/funcs/accountingCreateAccountingPurchaseorder.js.map +1 -0
  24. package/funcs/accountingCreateAccountingSalesorder.d.ts +15 -0
  25. package/funcs/accountingCreateAccountingSalesorder.d.ts.map +1 -0
  26. package/funcs/accountingCreateAccountingSalesorder.js +114 -0
  27. package/funcs/accountingCreateAccountingSalesorder.js.map +1 -0
  28. package/funcs/accountingGetAccountingBalancesheet.d.ts +15 -0
  29. package/funcs/accountingGetAccountingBalancesheet.d.ts.map +1 -0
  30. package/funcs/accountingGetAccountingBalancesheet.js +115 -0
  31. package/funcs/accountingGetAccountingBalancesheet.js.map +1 -0
  32. package/funcs/accountingGetAccountingBill.d.ts +15 -0
  33. package/funcs/accountingGetAccountingBill.d.ts.map +1 -0
  34. package/funcs/accountingGetAccountingBill.js +115 -0
  35. package/funcs/accountingGetAccountingBill.js.map +1 -0
  36. package/funcs/accountingGetAccountingCreditmemo.d.ts +15 -0
  37. package/funcs/accountingGetAccountingCreditmemo.d.ts.map +1 -0
  38. package/funcs/accountingGetAccountingCreditmemo.js +115 -0
  39. package/funcs/accountingGetAccountingCreditmemo.js.map +1 -0
  40. package/funcs/accountingGetAccountingProfitloss.d.ts +15 -0
  41. package/funcs/accountingGetAccountingProfitloss.d.ts.map +1 -0
  42. package/funcs/accountingGetAccountingProfitloss.js +115 -0
  43. package/funcs/accountingGetAccountingProfitloss.js.map +1 -0
  44. package/funcs/accountingGetAccountingPurchaseorder.d.ts +15 -0
  45. package/funcs/accountingGetAccountingPurchaseorder.d.ts.map +1 -0
  46. package/funcs/accountingGetAccountingPurchaseorder.js +115 -0
  47. package/funcs/accountingGetAccountingPurchaseorder.js.map +1 -0
  48. package/funcs/accountingGetAccountingSalesorder.d.ts +15 -0
  49. package/funcs/accountingGetAccountingSalesorder.d.ts.map +1 -0
  50. package/funcs/accountingGetAccountingSalesorder.js +115 -0
  51. package/funcs/accountingGetAccountingSalesorder.js.map +1 -0
  52. package/funcs/accountingGetAccountingTrialbalance.d.ts +15 -0
  53. package/funcs/accountingGetAccountingTrialbalance.d.ts.map +1 -0
  54. package/funcs/accountingGetAccountingTrialbalance.js +115 -0
  55. package/funcs/accountingGetAccountingTrialbalance.js.map +1 -0
  56. package/funcs/accountingListAccountingBalancesheets.d.ts +15 -0
  57. package/funcs/accountingListAccountingBalancesheets.d.ts.map +1 -0
  58. package/funcs/accountingListAccountingBalancesheets.js +120 -0
  59. package/funcs/accountingListAccountingBalancesheets.js.map +1 -0
  60. package/funcs/accountingListAccountingBills.d.ts +15 -0
  61. package/funcs/accountingListAccountingBills.d.ts.map +1 -0
  62. package/funcs/accountingListAccountingBills.js +120 -0
  63. package/funcs/accountingListAccountingBills.js.map +1 -0
  64. package/funcs/accountingListAccountingCreditmemoes.d.ts +15 -0
  65. package/funcs/accountingListAccountingCreditmemoes.d.ts.map +1 -0
  66. package/funcs/accountingListAccountingCreditmemoes.js +120 -0
  67. package/funcs/accountingListAccountingCreditmemoes.js.map +1 -0
  68. package/funcs/accountingListAccountingProfitlosses.d.ts +15 -0
  69. package/funcs/accountingListAccountingProfitlosses.d.ts.map +1 -0
  70. package/funcs/accountingListAccountingProfitlosses.js +120 -0
  71. package/funcs/accountingListAccountingProfitlosses.js.map +1 -0
  72. package/funcs/accountingListAccountingPurchaseorders.d.ts +15 -0
  73. package/funcs/accountingListAccountingPurchaseorders.d.ts.map +1 -0
  74. package/funcs/accountingListAccountingPurchaseorders.js +119 -0
  75. package/funcs/accountingListAccountingPurchaseorders.js.map +1 -0
  76. package/funcs/accountingListAccountingSalesorders.d.ts +15 -0
  77. package/funcs/accountingListAccountingSalesorders.d.ts.map +1 -0
  78. package/funcs/accountingListAccountingSalesorders.js +119 -0
  79. package/funcs/accountingListAccountingSalesorders.js.map +1 -0
  80. package/funcs/accountingListAccountingTrialbalances.d.ts +15 -0
  81. package/funcs/accountingListAccountingTrialbalances.d.ts.map +1 -0
  82. package/funcs/accountingListAccountingTrialbalances.js +120 -0
  83. package/funcs/accountingListAccountingTrialbalances.js.map +1 -0
  84. package/funcs/accountingPatchAccountingBill.d.ts +15 -0
  85. package/funcs/accountingPatchAccountingBill.d.ts.map +1 -0
  86. package/funcs/accountingPatchAccountingBill.js +116 -0
  87. package/funcs/accountingPatchAccountingBill.js.map +1 -0
  88. package/funcs/accountingPatchAccountingCreditmemo.d.ts +15 -0
  89. package/funcs/accountingPatchAccountingCreditmemo.d.ts.map +1 -0
  90. package/funcs/accountingPatchAccountingCreditmemo.js +118 -0
  91. package/funcs/accountingPatchAccountingCreditmemo.js.map +1 -0
  92. package/funcs/accountingPatchAccountingPurchaseorder.d.ts +15 -0
  93. package/funcs/accountingPatchAccountingPurchaseorder.d.ts.map +1 -0
  94. package/funcs/accountingPatchAccountingPurchaseorder.js +118 -0
  95. package/funcs/accountingPatchAccountingPurchaseorder.js.map +1 -0
  96. package/funcs/accountingPatchAccountingSalesorder.d.ts +15 -0
  97. package/funcs/accountingPatchAccountingSalesorder.d.ts.map +1 -0
  98. package/funcs/accountingPatchAccountingSalesorder.js +118 -0
  99. package/funcs/accountingPatchAccountingSalesorder.js.map +1 -0
  100. package/funcs/accountingRemoveAccountingBill.d.ts +14 -0
  101. package/funcs/accountingRemoveAccountingBill.d.ts.map +1 -0
  102. package/funcs/accountingRemoveAccountingBill.js +112 -0
  103. package/funcs/accountingRemoveAccountingBill.js.map +1 -0
  104. package/funcs/accountingRemoveAccountingCreditmemo.d.ts +14 -0
  105. package/funcs/accountingRemoveAccountingCreditmemo.d.ts.map +1 -0
  106. package/funcs/accountingRemoveAccountingCreditmemo.js +112 -0
  107. package/funcs/accountingRemoveAccountingCreditmemo.js.map +1 -0
  108. package/funcs/accountingRemoveAccountingPurchaseorder.d.ts +14 -0
  109. package/funcs/accountingRemoveAccountingPurchaseorder.d.ts.map +1 -0
  110. package/funcs/accountingRemoveAccountingPurchaseorder.js +112 -0
  111. package/funcs/accountingRemoveAccountingPurchaseorder.js.map +1 -0
  112. package/funcs/accountingRemoveAccountingSalesorder.d.ts +14 -0
  113. package/funcs/accountingRemoveAccountingSalesorder.d.ts.map +1 -0
  114. package/funcs/accountingRemoveAccountingSalesorder.js +112 -0
  115. package/funcs/accountingRemoveAccountingSalesorder.js.map +1 -0
  116. package/funcs/accountingUpdateAccountingBill.d.ts +15 -0
  117. package/funcs/accountingUpdateAccountingBill.d.ts.map +1 -0
  118. package/funcs/accountingUpdateAccountingBill.js +116 -0
  119. package/funcs/accountingUpdateAccountingBill.js.map +1 -0
  120. package/funcs/accountingUpdateAccountingCreditmemo.d.ts +15 -0
  121. package/funcs/accountingUpdateAccountingCreditmemo.d.ts.map +1 -0
  122. package/funcs/accountingUpdateAccountingCreditmemo.js +118 -0
  123. package/funcs/accountingUpdateAccountingCreditmemo.js.map +1 -0
  124. package/funcs/accountingUpdateAccountingPurchaseorder.d.ts +15 -0
  125. package/funcs/accountingUpdateAccountingPurchaseorder.d.ts.map +1 -0
  126. package/funcs/accountingUpdateAccountingPurchaseorder.js +118 -0
  127. package/funcs/accountingUpdateAccountingPurchaseorder.js.map +1 -0
  128. package/funcs/accountingUpdateAccountingSalesorder.d.ts +15 -0
  129. package/funcs/accountingUpdateAccountingSalesorder.d.ts.map +1 -0
  130. package/funcs/accountingUpdateAccountingSalesorder.js +118 -0
  131. package/funcs/accountingUpdateAccountingSalesorder.js.map +1 -0
  132. package/jsr.json +1 -1
  133. package/lib/config.d.ts +2 -2
  134. package/lib/config.js +2 -2
  135. package/mcp-server/mcp-server.js +1 -1
  136. package/mcp-server/server.d.ts.map +1 -1
  137. package/mcp-server/server.js +61 -1
  138. package/mcp-server/server.js.map +1 -1
  139. package/mcp-server/tools/accountingCreateAccountingBill.d.ts +8 -0
  140. package/mcp-server/tools/accountingCreateAccountingBill.d.ts.map +1 -0
  141. package/mcp-server/tools/accountingCreateAccountingBill.js +52 -0
  142. package/mcp-server/tools/accountingCreateAccountingBill.js.map +1 -0
  143. package/mcp-server/tools/accountingCreateAccountingCreditmemo.d.ts +8 -0
  144. package/mcp-server/tools/accountingCreateAccountingCreditmemo.d.ts.map +1 -0
  145. package/mcp-server/tools/accountingCreateAccountingCreditmemo.js +52 -0
  146. package/mcp-server/tools/accountingCreateAccountingCreditmemo.js.map +1 -0
  147. package/mcp-server/tools/accountingCreateAccountingPurchaseorder.d.ts +8 -0
  148. package/mcp-server/tools/accountingCreateAccountingPurchaseorder.d.ts.map +1 -0
  149. package/mcp-server/tools/accountingCreateAccountingPurchaseorder.js +52 -0
  150. package/mcp-server/tools/accountingCreateAccountingPurchaseorder.js.map +1 -0
  151. package/mcp-server/tools/accountingCreateAccountingSalesorder.d.ts +8 -0
  152. package/mcp-server/tools/accountingCreateAccountingSalesorder.d.ts.map +1 -0
  153. package/mcp-server/tools/accountingCreateAccountingSalesorder.js +52 -0
  154. package/mcp-server/tools/accountingCreateAccountingSalesorder.js.map +1 -0
  155. package/mcp-server/tools/accountingGetAccountingBalancesheet.d.ts +8 -0
  156. package/mcp-server/tools/accountingGetAccountingBalancesheet.d.ts.map +1 -0
  157. package/mcp-server/tools/accountingGetAccountingBalancesheet.js +52 -0
  158. package/mcp-server/tools/accountingGetAccountingBalancesheet.js.map +1 -0
  159. package/mcp-server/tools/accountingGetAccountingBill.d.ts +8 -0
  160. package/mcp-server/tools/accountingGetAccountingBill.d.ts.map +1 -0
  161. package/mcp-server/tools/accountingGetAccountingBill.js +52 -0
  162. package/mcp-server/tools/accountingGetAccountingBill.js.map +1 -0
  163. package/mcp-server/tools/accountingGetAccountingCreditmemo.d.ts +8 -0
  164. package/mcp-server/tools/accountingGetAccountingCreditmemo.d.ts.map +1 -0
  165. package/mcp-server/tools/accountingGetAccountingCreditmemo.js +52 -0
  166. package/mcp-server/tools/accountingGetAccountingCreditmemo.js.map +1 -0
  167. package/mcp-server/tools/accountingGetAccountingProfitloss.d.ts +8 -0
  168. package/mcp-server/tools/accountingGetAccountingProfitloss.d.ts.map +1 -0
  169. package/mcp-server/tools/accountingGetAccountingProfitloss.js +52 -0
  170. package/mcp-server/tools/accountingGetAccountingProfitloss.js.map +1 -0
  171. package/mcp-server/tools/accountingGetAccountingPurchaseorder.d.ts +8 -0
  172. package/mcp-server/tools/accountingGetAccountingPurchaseorder.d.ts.map +1 -0
  173. package/mcp-server/tools/accountingGetAccountingPurchaseorder.js +52 -0
  174. package/mcp-server/tools/accountingGetAccountingPurchaseorder.js.map +1 -0
  175. package/mcp-server/tools/accountingGetAccountingSalesorder.d.ts +8 -0
  176. package/mcp-server/tools/accountingGetAccountingSalesorder.d.ts.map +1 -0
  177. package/mcp-server/tools/accountingGetAccountingSalesorder.js +52 -0
  178. package/mcp-server/tools/accountingGetAccountingSalesorder.js.map +1 -0
  179. package/mcp-server/tools/accountingGetAccountingTrialbalance.d.ts +8 -0
  180. package/mcp-server/tools/accountingGetAccountingTrialbalance.d.ts.map +1 -0
  181. package/mcp-server/tools/accountingGetAccountingTrialbalance.js +52 -0
  182. package/mcp-server/tools/accountingGetAccountingTrialbalance.js.map +1 -0
  183. package/mcp-server/tools/accountingListAccountingBalancesheets.d.ts +8 -0
  184. package/mcp-server/tools/accountingListAccountingBalancesheets.d.ts.map +1 -0
  185. package/mcp-server/tools/accountingListAccountingBalancesheets.js +52 -0
  186. package/mcp-server/tools/accountingListAccountingBalancesheets.js.map +1 -0
  187. package/mcp-server/tools/accountingListAccountingBills.d.ts +8 -0
  188. package/mcp-server/tools/accountingListAccountingBills.d.ts.map +1 -0
  189. package/mcp-server/tools/accountingListAccountingBills.js +52 -0
  190. package/mcp-server/tools/accountingListAccountingBills.js.map +1 -0
  191. package/mcp-server/tools/accountingListAccountingCreditmemoes.d.ts +8 -0
  192. package/mcp-server/tools/accountingListAccountingCreditmemoes.d.ts.map +1 -0
  193. package/mcp-server/tools/accountingListAccountingCreditmemoes.js +52 -0
  194. package/mcp-server/tools/accountingListAccountingCreditmemoes.js.map +1 -0
  195. package/mcp-server/tools/accountingListAccountingProfitlosses.d.ts +8 -0
  196. package/mcp-server/tools/accountingListAccountingProfitlosses.d.ts.map +1 -0
  197. package/mcp-server/tools/accountingListAccountingProfitlosses.js +52 -0
  198. package/mcp-server/tools/accountingListAccountingProfitlosses.js.map +1 -0
  199. package/mcp-server/tools/accountingListAccountingPurchaseorders.d.ts +8 -0
  200. package/mcp-server/tools/accountingListAccountingPurchaseorders.d.ts.map +1 -0
  201. package/mcp-server/tools/accountingListAccountingPurchaseorders.js +52 -0
  202. package/mcp-server/tools/accountingListAccountingPurchaseorders.js.map +1 -0
  203. package/mcp-server/tools/accountingListAccountingSalesorders.d.ts +8 -0
  204. package/mcp-server/tools/accountingListAccountingSalesorders.d.ts.map +1 -0
  205. package/mcp-server/tools/accountingListAccountingSalesorders.js +52 -0
  206. package/mcp-server/tools/accountingListAccountingSalesorders.js.map +1 -0
  207. package/mcp-server/tools/accountingListAccountingTrialbalances.d.ts +8 -0
  208. package/mcp-server/tools/accountingListAccountingTrialbalances.d.ts.map +1 -0
  209. package/mcp-server/tools/accountingListAccountingTrialbalances.js +52 -0
  210. package/mcp-server/tools/accountingListAccountingTrialbalances.js.map +1 -0
  211. package/mcp-server/tools/accountingPatchAccountingBill.d.ts +8 -0
  212. package/mcp-server/tools/accountingPatchAccountingBill.d.ts.map +1 -0
  213. package/mcp-server/tools/accountingPatchAccountingBill.js +52 -0
  214. package/mcp-server/tools/accountingPatchAccountingBill.js.map +1 -0
  215. package/mcp-server/tools/accountingPatchAccountingCreditmemo.d.ts +8 -0
  216. package/mcp-server/tools/accountingPatchAccountingCreditmemo.d.ts.map +1 -0
  217. package/mcp-server/tools/accountingPatchAccountingCreditmemo.js +52 -0
  218. package/mcp-server/tools/accountingPatchAccountingCreditmemo.js.map +1 -0
  219. package/mcp-server/tools/accountingPatchAccountingPurchaseorder.d.ts +8 -0
  220. package/mcp-server/tools/accountingPatchAccountingPurchaseorder.d.ts.map +1 -0
  221. package/mcp-server/tools/accountingPatchAccountingPurchaseorder.js +52 -0
  222. package/mcp-server/tools/accountingPatchAccountingPurchaseorder.js.map +1 -0
  223. package/mcp-server/tools/accountingPatchAccountingSalesorder.d.ts +8 -0
  224. package/mcp-server/tools/accountingPatchAccountingSalesorder.d.ts.map +1 -0
  225. package/mcp-server/tools/accountingPatchAccountingSalesorder.js +52 -0
  226. package/mcp-server/tools/accountingPatchAccountingSalesorder.js.map +1 -0
  227. package/mcp-server/tools/accountingRemoveAccountingBill.d.ts +8 -0
  228. package/mcp-server/tools/accountingRemoveAccountingBill.d.ts.map +1 -0
  229. package/mcp-server/tools/accountingRemoveAccountingBill.js +51 -0
  230. package/mcp-server/tools/accountingRemoveAccountingBill.js.map +1 -0
  231. package/mcp-server/tools/accountingRemoveAccountingCreditmemo.d.ts +8 -0
  232. package/mcp-server/tools/accountingRemoveAccountingCreditmemo.d.ts.map +1 -0
  233. package/mcp-server/tools/accountingRemoveAccountingCreditmemo.js +51 -0
  234. package/mcp-server/tools/accountingRemoveAccountingCreditmemo.js.map +1 -0
  235. package/mcp-server/tools/accountingRemoveAccountingPurchaseorder.d.ts +8 -0
  236. package/mcp-server/tools/accountingRemoveAccountingPurchaseorder.d.ts.map +1 -0
  237. package/mcp-server/tools/accountingRemoveAccountingPurchaseorder.js +51 -0
  238. package/mcp-server/tools/accountingRemoveAccountingPurchaseorder.js.map +1 -0
  239. package/mcp-server/tools/accountingRemoveAccountingSalesorder.d.ts +8 -0
  240. package/mcp-server/tools/accountingRemoveAccountingSalesorder.d.ts.map +1 -0
  241. package/mcp-server/tools/accountingRemoveAccountingSalesorder.js +51 -0
  242. package/mcp-server/tools/accountingRemoveAccountingSalesorder.js.map +1 -0
  243. package/mcp-server/tools/accountingUpdateAccountingBill.d.ts +8 -0
  244. package/mcp-server/tools/accountingUpdateAccountingBill.d.ts.map +1 -0
  245. package/mcp-server/tools/accountingUpdateAccountingBill.js +52 -0
  246. package/mcp-server/tools/accountingUpdateAccountingBill.js.map +1 -0
  247. package/mcp-server/tools/accountingUpdateAccountingCreditmemo.d.ts +8 -0
  248. package/mcp-server/tools/accountingUpdateAccountingCreditmemo.d.ts.map +1 -0
  249. package/mcp-server/tools/accountingUpdateAccountingCreditmemo.js +52 -0
  250. package/mcp-server/tools/accountingUpdateAccountingCreditmemo.js.map +1 -0
  251. package/mcp-server/tools/accountingUpdateAccountingPurchaseorder.d.ts +8 -0
  252. package/mcp-server/tools/accountingUpdateAccountingPurchaseorder.d.ts.map +1 -0
  253. package/mcp-server/tools/accountingUpdateAccountingPurchaseorder.js +52 -0
  254. package/mcp-server/tools/accountingUpdateAccountingPurchaseorder.js.map +1 -0
  255. package/mcp-server/tools/accountingUpdateAccountingSalesorder.d.ts +8 -0
  256. package/mcp-server/tools/accountingUpdateAccountingSalesorder.d.ts.map +1 -0
  257. package/mcp-server/tools/accountingUpdateAccountingSalesorder.js +52 -0
  258. package/mcp-server/tools/accountingUpdateAccountingSalesorder.js.map +1 -0
  259. package/package.json +1 -1
  260. package/sdk/accounting.d.ts +120 -0
  261. package/sdk/accounting.d.ts.map +1 -1
  262. package/sdk/accounting.js +210 -0
  263. package/sdk/accounting.js.map +1 -1
  264. package/sdk/balancesheet.d.ts +14 -0
  265. package/sdk/balancesheet.d.ts.map +1 -0
  266. package/sdk/balancesheet.js +26 -0
  267. package/sdk/balancesheet.js.map +1 -0
  268. package/sdk/bill.d.ts +30 -0
  269. package/sdk/bill.d.ts.map +1 -0
  270. package/sdk/bill.js +54 -0
  271. package/sdk/bill.js.map +1 -0
  272. package/sdk/creditmemo.d.ts +30 -0
  273. package/sdk/creditmemo.d.ts.map +1 -0
  274. package/sdk/creditmemo.js +54 -0
  275. package/sdk/creditmemo.js.map +1 -0
  276. package/sdk/models/operations/createaccountingbill.d.ts +45 -0
  277. package/sdk/models/operations/createaccountingbill.d.ts.map +1 -0
  278. package/sdk/models/operations/createaccountingbill.js +77 -0
  279. package/sdk/models/operations/createaccountingbill.js.map +1 -0
  280. package/sdk/models/operations/createaccountingcreditmemo.d.ts +45 -0
  281. package/sdk/models/operations/createaccountingcreditmemo.d.ts.map +1 -0
  282. package/sdk/models/operations/createaccountingcreditmemo.js +77 -0
  283. package/sdk/models/operations/createaccountingcreditmemo.js.map +1 -0
  284. package/sdk/models/operations/createaccountingpurchaseorder.d.ts +45 -0
  285. package/sdk/models/operations/createaccountingpurchaseorder.d.ts.map +1 -0
  286. package/sdk/models/operations/createaccountingpurchaseorder.js +77 -0
  287. package/sdk/models/operations/createaccountingpurchaseorder.js.map +1 -0
  288. package/sdk/models/operations/createaccountingsalesorder.d.ts +45 -0
  289. package/sdk/models/operations/createaccountingsalesorder.d.ts.map +1 -0
  290. package/sdk/models/operations/createaccountingsalesorder.js +77 -0
  291. package/sdk/models/operations/createaccountingsalesorder.js.map +1 -0
  292. package/sdk/models/operations/getaccountingbalancesheet.d.ts +47 -0
  293. package/sdk/models/operations/getaccountingbalancesheet.d.ts.map +1 -0
  294. package/sdk/models/operations/getaccountingbalancesheet.js +74 -0
  295. package/sdk/models/operations/getaccountingbalancesheet.js.map +1 -0
  296. package/sdk/models/operations/getaccountingbill.d.ts +47 -0
  297. package/sdk/models/operations/getaccountingbill.d.ts.map +1 -0
  298. package/sdk/models/operations/getaccountingbill.js +74 -0
  299. package/sdk/models/operations/getaccountingbill.js.map +1 -0
  300. package/sdk/models/operations/getaccountingcreditmemo.d.ts +47 -0
  301. package/sdk/models/operations/getaccountingcreditmemo.d.ts.map +1 -0
  302. package/sdk/models/operations/getaccountingcreditmemo.js +74 -0
  303. package/sdk/models/operations/getaccountingcreditmemo.js.map +1 -0
  304. package/sdk/models/operations/getaccountingprofitloss.d.ts +47 -0
  305. package/sdk/models/operations/getaccountingprofitloss.d.ts.map +1 -0
  306. package/sdk/models/operations/getaccountingprofitloss.js +74 -0
  307. package/sdk/models/operations/getaccountingprofitloss.js.map +1 -0
  308. package/sdk/models/operations/getaccountingpurchaseorder.d.ts +47 -0
  309. package/sdk/models/operations/getaccountingpurchaseorder.d.ts.map +1 -0
  310. package/sdk/models/operations/getaccountingpurchaseorder.js +74 -0
  311. package/sdk/models/operations/getaccountingpurchaseorder.js.map +1 -0
  312. package/sdk/models/operations/getaccountingsalesorder.d.ts +47 -0
  313. package/sdk/models/operations/getaccountingsalesorder.d.ts.map +1 -0
  314. package/sdk/models/operations/getaccountingsalesorder.js +74 -0
  315. package/sdk/models/operations/getaccountingsalesorder.js.map +1 -0
  316. package/sdk/models/operations/getaccountingtrialbalance.d.ts +47 -0
  317. package/sdk/models/operations/getaccountingtrialbalance.d.ts.map +1 -0
  318. package/sdk/models/operations/getaccountingtrialbalance.js +74 -0
  319. package/sdk/models/operations/getaccountingtrialbalance.js.map +1 -0
  320. package/sdk/models/operations/index.d.ts +30 -0
  321. package/sdk/models/operations/index.d.ts.map +1 -1
  322. package/sdk/models/operations/index.js +30 -0
  323. package/sdk/models/operations/index.js.map +1 -1
  324. package/sdk/models/operations/listaccountingbalancesheets.d.ts +70 -0
  325. package/sdk/models/operations/listaccountingbalancesheets.d.ts.map +1 -0
  326. package/sdk/models/operations/listaccountingbalancesheets.js +94 -0
  327. package/sdk/models/operations/listaccountingbalancesheets.js.map +1 -0
  328. package/sdk/models/operations/listaccountingbills.d.ts +70 -0
  329. package/sdk/models/operations/listaccountingbills.d.ts.map +1 -0
  330. package/sdk/models/operations/listaccountingbills.js +94 -0
  331. package/sdk/models/operations/listaccountingbills.js.map +1 -0
  332. package/sdk/models/operations/listaccountingcreditmemoes.d.ts +70 -0
  333. package/sdk/models/operations/listaccountingcreditmemoes.d.ts.map +1 -0
  334. package/sdk/models/operations/listaccountingcreditmemoes.js +94 -0
  335. package/sdk/models/operations/listaccountingcreditmemoes.js.map +1 -0
  336. package/sdk/models/operations/listaccountingprofitlosses.d.ts +70 -0
  337. package/sdk/models/operations/listaccountingprofitlosses.d.ts.map +1 -0
  338. package/sdk/models/operations/listaccountingprofitlosses.js +94 -0
  339. package/sdk/models/operations/listaccountingprofitlosses.js.map +1 -0
  340. package/sdk/models/operations/listaccountingpurchaseorders.d.ts +65 -0
  341. package/sdk/models/operations/listaccountingpurchaseorders.d.ts.map +1 -0
  342. package/sdk/models/operations/listaccountingpurchaseorders.js +90 -0
  343. package/sdk/models/operations/listaccountingpurchaseorders.js.map +1 -0
  344. package/sdk/models/operations/listaccountingsalesorders.d.ts +65 -0
  345. package/sdk/models/operations/listaccountingsalesorders.d.ts.map +1 -0
  346. package/sdk/models/operations/listaccountingsalesorders.js +90 -0
  347. package/sdk/models/operations/listaccountingsalesorders.js.map +1 -0
  348. package/sdk/models/operations/listaccountingtrialbalances.d.ts +70 -0
  349. package/sdk/models/operations/listaccountingtrialbalances.d.ts.map +1 -0
  350. package/sdk/models/operations/listaccountingtrialbalances.js +94 -0
  351. package/sdk/models/operations/listaccountingtrialbalances.js.map +1 -0
  352. package/sdk/models/operations/patchaccountingbill.d.ts +50 -0
  353. package/sdk/models/operations/patchaccountingbill.d.ts.map +1 -0
  354. package/sdk/models/operations/patchaccountingbill.js +79 -0
  355. package/sdk/models/operations/patchaccountingbill.js.map +1 -0
  356. package/sdk/models/operations/patchaccountingcreditmemo.d.ts +50 -0
  357. package/sdk/models/operations/patchaccountingcreditmemo.d.ts.map +1 -0
  358. package/sdk/models/operations/patchaccountingcreditmemo.js +79 -0
  359. package/sdk/models/operations/patchaccountingcreditmemo.js.map +1 -0
  360. package/sdk/models/operations/patchaccountingpurchaseorder.d.ts +50 -0
  361. package/sdk/models/operations/patchaccountingpurchaseorder.d.ts.map +1 -0
  362. package/sdk/models/operations/patchaccountingpurchaseorder.js +79 -0
  363. package/sdk/models/operations/patchaccountingpurchaseorder.js.map +1 -0
  364. package/sdk/models/operations/patchaccountingsalesorder.d.ts +50 -0
  365. package/sdk/models/operations/patchaccountingsalesorder.d.ts.map +1 -0
  366. package/sdk/models/operations/patchaccountingsalesorder.js +79 -0
  367. package/sdk/models/operations/patchaccountingsalesorder.js.map +1 -0
  368. package/sdk/models/operations/removeaccountingbill.d.ts +66 -0
  369. package/sdk/models/operations/removeaccountingbill.d.ts.map +1 -0
  370. package/sdk/models/operations/removeaccountingbill.js +105 -0
  371. package/sdk/models/operations/removeaccountingbill.js.map +1 -0
  372. package/sdk/models/operations/removeaccountingcreditmemo.d.ts +66 -0
  373. package/sdk/models/operations/removeaccountingcreditmemo.d.ts.map +1 -0
  374. package/sdk/models/operations/removeaccountingcreditmemo.js +105 -0
  375. package/sdk/models/operations/removeaccountingcreditmemo.js.map +1 -0
  376. package/sdk/models/operations/removeaccountingpurchaseorder.d.ts +66 -0
  377. package/sdk/models/operations/removeaccountingpurchaseorder.d.ts.map +1 -0
  378. package/sdk/models/operations/removeaccountingpurchaseorder.js +105 -0
  379. package/sdk/models/operations/removeaccountingpurchaseorder.js.map +1 -0
  380. package/sdk/models/operations/removeaccountingsalesorder.d.ts +66 -0
  381. package/sdk/models/operations/removeaccountingsalesorder.d.ts.map +1 -0
  382. package/sdk/models/operations/removeaccountingsalesorder.js +105 -0
  383. package/sdk/models/operations/removeaccountingsalesorder.js.map +1 -0
  384. package/sdk/models/operations/updateaccountingbill.d.ts +50 -0
  385. package/sdk/models/operations/updateaccountingbill.d.ts.map +1 -0
  386. package/sdk/models/operations/updateaccountingbill.js +79 -0
  387. package/sdk/models/operations/updateaccountingbill.js.map +1 -0
  388. package/sdk/models/operations/updateaccountingcreditmemo.d.ts +50 -0
  389. package/sdk/models/operations/updateaccountingcreditmemo.d.ts.map +1 -0
  390. package/sdk/models/operations/updateaccountingcreditmemo.js +79 -0
  391. package/sdk/models/operations/updateaccountingcreditmemo.js.map +1 -0
  392. package/sdk/models/operations/updateaccountingpurchaseorder.d.ts +50 -0
  393. package/sdk/models/operations/updateaccountingpurchaseorder.d.ts.map +1 -0
  394. package/sdk/models/operations/updateaccountingpurchaseorder.js +79 -0
  395. package/sdk/models/operations/updateaccountingpurchaseorder.js.map +1 -0
  396. package/sdk/models/operations/updateaccountingsalesorder.d.ts +50 -0
  397. package/sdk/models/operations/updateaccountingsalesorder.d.ts.map +1 -0
  398. package/sdk/models/operations/updateaccountingsalesorder.js +79 -0
  399. package/sdk/models/operations/updateaccountingsalesorder.js.map +1 -0
  400. package/sdk/models/shared/accountingbalancesheet.d.ts +56 -0
  401. package/sdk/models/shared/accountingbalancesheet.d.ts.map +1 -0
  402. package/sdk/models/shared/accountingbalancesheet.js +103 -0
  403. package/sdk/models/shared/accountingbalancesheet.js.map +1 -0
  404. package/sdk/models/shared/accountingbalancesheetitem.d.ts +16 -16
  405. package/sdk/models/shared/accountingbalancesheetitem.js +18 -18
  406. package/sdk/models/shared/accountingbill.d.ts +129 -0
  407. package/sdk/models/shared/accountingbill.d.ts.map +1 -0
  408. package/sdk/models/shared/accountingbill.js +216 -0
  409. package/sdk/models/shared/accountingbill.js.map +1 -0
  410. package/sdk/models/shared/accountingcreditmemo.d.ts +129 -0
  411. package/sdk/models/shared/accountingcreditmemo.d.ts.map +1 -0
  412. package/sdk/models/shared/accountingcreditmemo.js +216 -0
  413. package/sdk/models/shared/accountingcreditmemo.js.map +1 -0
  414. package/sdk/models/shared/accountinginvoice.d.ts +10 -10
  415. package/sdk/models/shared/accountinginvoice.d.ts.map +1 -1
  416. package/sdk/models/shared/accountinginvoice.js +15 -15
  417. package/sdk/models/shared/accountinginvoice.js.map +1 -1
  418. package/sdk/models/shared/accountingprofitloss.d.ts +82 -0
  419. package/sdk/models/shared/accountingprofitloss.d.ts.map +1 -0
  420. package/sdk/models/shared/accountingprofitloss.js +145 -0
  421. package/sdk/models/shared/accountingprofitloss.js.map +1 -0
  422. package/sdk/models/shared/accountingprofitlossaccount.d.ts +35 -0
  423. package/sdk/models/shared/accountingprofitlossaccount.d.ts.map +1 -0
  424. package/sdk/models/shared/{accountingprofitandlossaccount.js → accountingprofitlossaccount.js} +17 -17
  425. package/sdk/models/shared/accountingprofitlossaccount.js.map +1 -0
  426. package/sdk/models/shared/accountingprofitlosscategory.d.ts +37 -0
  427. package/sdk/models/shared/accountingprofitlosscategory.d.ts.map +1 -0
  428. package/sdk/models/shared/{accountingprofitandlosscategory.js → accountingprofitlosscategory.js} +20 -22
  429. package/sdk/models/shared/accountingprofitlosscategory.js.map +1 -0
  430. package/sdk/models/shared/accountingprofitlosssection.d.ts +36 -0
  431. package/sdk/models/shared/accountingprofitlosssection.d.ts.map +1 -0
  432. package/sdk/models/shared/{accountingprofitandlosssection.js → accountingprofitlosssection.js} +20 -20
  433. package/sdk/models/shared/accountingprofitlosssection.js.map +1 -0
  434. package/sdk/models/shared/accountingprofitlosssubcategory.d.ts +36 -0
  435. package/sdk/models/shared/accountingprofitlosssubcategory.d.ts.map +1 -0
  436. package/sdk/models/shared/{accountingprofitandlosssubcategory.js → accountingprofitlosssubcategory.js} +17 -17
  437. package/sdk/models/shared/accountingprofitlosssubcategory.js.map +1 -0
  438. package/sdk/models/shared/accountingpurchaseorder.d.ts +85 -0
  439. package/sdk/models/shared/accountingpurchaseorder.d.ts.map +1 -0
  440. package/sdk/models/shared/accountingpurchaseorder.js +148 -0
  441. package/sdk/models/shared/accountingpurchaseorder.js.map +1 -0
  442. package/sdk/models/shared/accountingsalesorder.d.ts +85 -0
  443. package/sdk/models/shared/accountingsalesorder.d.ts.map +1 -0
  444. package/sdk/models/shared/accountingsalesorder.js +148 -0
  445. package/sdk/models/shared/accountingsalesorder.js.map +1 -0
  446. package/sdk/models/shared/accountingtrialbalance.d.ts +54 -0
  447. package/sdk/models/shared/accountingtrialbalance.d.ts.map +1 -0
  448. package/sdk/models/shared/accountingtrialbalance.js +105 -0
  449. package/sdk/models/shared/accountingtrialbalance.js.map +1 -0
  450. package/sdk/models/shared/accountingtrialbalancesubitem.d.ts +13 -13
  451. package/sdk/models/shared/accountingtrialbalancesubitem.js +16 -16
  452. package/sdk/models/shared/index.d.ts +15 -4
  453. package/sdk/models/shared/index.d.ts.map +1 -1
  454. package/sdk/models/shared/index.js +15 -4
  455. package/sdk/models/shared/index.js.map +1 -1
  456. package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.d.ts +13 -13
  457. package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.js +16 -16
  458. package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.d.ts +43 -0
  459. package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.d.ts.map +1 -0
  460. package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.js +86 -0
  461. package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.js.map +1 -0
  462. package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.d.ts +43 -0
  463. package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.d.ts.map +1 -0
  464. package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.js +86 -0
  465. package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.js.map +1 -0
  466. package/sdk/models/shared/propertyaccountingreportbalancesheet.d.ts +27 -7
  467. package/sdk/models/shared/propertyaccountingreportbalancesheet.d.ts.map +1 -1
  468. package/sdk/models/shared/propertyaccountingreportbalancesheet.js +34 -6
  469. package/sdk/models/shared/propertyaccountingreportbalancesheet.js.map +1 -1
  470. package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts +34 -14
  471. package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts.map +1 -1
  472. package/sdk/models/shared/propertyaccountingreportprofitandloss.js +43 -14
  473. package/sdk/models/shared/propertyaccountingreportprofitandloss.js.map +1 -1
  474. package/sdk/models/shared/propertyaccountingreporttrialbalance.d.ts +23 -3
  475. package/sdk/models/shared/propertyaccountingreporttrialbalance.d.ts.map +1 -1
  476. package/sdk/models/shared/propertyaccountingreporttrialbalance.js +30 -2
  477. package/sdk/models/shared/propertyaccountingreporttrialbalance.js.map +1 -1
  478. package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.d.ts +43 -0
  479. package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.d.ts.map +1 -0
  480. package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.js +86 -0
  481. package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.js.map +1 -0
  482. package/sdk/models/shared/propertyaccountingsalesordershippingaddress.d.ts +43 -0
  483. package/sdk/models/shared/propertyaccountingsalesordershippingaddress.d.ts.map +1 -0
  484. package/sdk/models/shared/propertyaccountingsalesordershippingaddress.js +86 -0
  485. package/sdk/models/shared/propertyaccountingsalesordershippingaddress.js.map +1 -0
  486. package/sdk/profitloss.d.ts +14 -0
  487. package/sdk/profitloss.d.ts.map +1 -0
  488. package/sdk/profitloss.js +26 -0
  489. package/sdk/profitloss.js.map +1 -0
  490. package/sdk/purchaseorder.d.ts +30 -0
  491. package/sdk/purchaseorder.d.ts.map +1 -0
  492. package/sdk/purchaseorder.js +54 -0
  493. package/sdk/purchaseorder.js.map +1 -0
  494. package/sdk/salesorder.d.ts +30 -0
  495. package/sdk/salesorder.d.ts.map +1 -0
  496. package/sdk/salesorder.js +54 -0
  497. package/sdk/salesorder.js.map +1 -0
  498. package/sdk/sdk.d.ts +21 -0
  499. package/sdk/sdk.d.ts.map +1 -1
  500. package/sdk/sdk.js +28 -0
  501. package/sdk/sdk.js.map +1 -1
  502. package/sdk/trialbalance.d.ts +14 -0
  503. package/sdk/trialbalance.d.ts.map +1 -0
  504. package/sdk/trialbalance.js +26 -0
  505. package/sdk/trialbalance.js.map +1 -0
  506. package/src/funcs/accountingCreateAccountingBill.ts +171 -0
  507. package/src/funcs/accountingCreateAccountingCreditmemo.ts +173 -0
  508. package/src/funcs/accountingCreateAccountingPurchaseorder.ts +177 -0
  509. package/src/funcs/accountingCreateAccountingSalesorder.ts +173 -0
  510. package/src/funcs/accountingGetAccountingBalancesheet.ts +176 -0
  511. package/src/funcs/accountingGetAccountingBill.ts +173 -0
  512. package/src/funcs/accountingGetAccountingCreditmemo.ts +176 -0
  513. package/src/funcs/accountingGetAccountingProfitloss.ts +176 -0
  514. package/src/funcs/accountingGetAccountingPurchaseorder.ts +176 -0
  515. package/src/funcs/accountingGetAccountingSalesorder.ts +176 -0
  516. package/src/funcs/accountingGetAccountingTrialbalance.ts +176 -0
  517. package/src/funcs/accountingListAccountingBalancesheets.ts +181 -0
  518. package/src/funcs/accountingListAccountingBills.ts +179 -0
  519. package/src/funcs/accountingListAccountingCreditmemoes.ts +179 -0
  520. package/src/funcs/accountingListAccountingProfitlosses.ts +179 -0
  521. package/src/funcs/accountingListAccountingPurchaseorders.ts +182 -0
  522. package/src/funcs/accountingListAccountingSalesorders.ts +178 -0
  523. package/src/funcs/accountingListAccountingTrialbalances.ts +181 -0
  524. package/src/funcs/accountingPatchAccountingBill.ts +175 -0
  525. package/src/funcs/accountingPatchAccountingCreditmemo.ts +179 -0
  526. package/src/funcs/accountingPatchAccountingPurchaseorder.ts +181 -0
  527. package/src/funcs/accountingPatchAccountingSalesorder.ts +179 -0
  528. package/src/funcs/accountingRemoveAccountingBill.ts +179 -0
  529. package/src/funcs/accountingRemoveAccountingCreditmemo.ts +181 -0
  530. package/src/funcs/accountingRemoveAccountingPurchaseorder.ts +183 -0
  531. package/src/funcs/accountingRemoveAccountingSalesorder.ts +181 -0
  532. package/src/funcs/accountingUpdateAccountingBill.ts +175 -0
  533. package/src/funcs/accountingUpdateAccountingCreditmemo.ts +179 -0
  534. package/src/funcs/accountingUpdateAccountingPurchaseorder.ts +181 -0
  535. package/src/funcs/accountingUpdateAccountingSalesorder.ts +179 -0
  536. package/src/lib/config.ts +2 -2
  537. package/src/mcp-server/mcp-server.ts +1 -1
  538. package/src/mcp-server/server.ts +61 -1
  539. package/src/mcp-server/tools/accountingCreateAccountingBill.ts +36 -0
  540. package/src/mcp-server/tools/accountingCreateAccountingCreditmemo.ts +37 -0
  541. package/src/mcp-server/tools/accountingCreateAccountingPurchaseorder.ts +37 -0
  542. package/src/mcp-server/tools/accountingCreateAccountingSalesorder.ts +37 -0
  543. package/src/mcp-server/tools/accountingGetAccountingBalancesheet.ts +37 -0
  544. package/src/mcp-server/tools/accountingGetAccountingBill.ts +35 -0
  545. package/src/mcp-server/tools/accountingGetAccountingCreditmemo.ts +37 -0
  546. package/src/mcp-server/tools/accountingGetAccountingProfitloss.ts +37 -0
  547. package/src/mcp-server/tools/accountingGetAccountingPurchaseorder.ts +37 -0
  548. package/src/mcp-server/tools/accountingGetAccountingSalesorder.ts +37 -0
  549. package/src/mcp-server/tools/accountingGetAccountingTrialbalance.ts +37 -0
  550. package/src/mcp-server/tools/accountingListAccountingBalancesheets.ts +37 -0
  551. package/src/mcp-server/tools/accountingListAccountingBills.ts +35 -0
  552. package/src/mcp-server/tools/accountingListAccountingCreditmemoes.ts +37 -0
  553. package/src/mcp-server/tools/accountingListAccountingProfitlosses.ts +37 -0
  554. package/src/mcp-server/tools/accountingListAccountingPurchaseorders.ts +37 -0
  555. package/src/mcp-server/tools/accountingListAccountingSalesorders.ts +37 -0
  556. package/src/mcp-server/tools/accountingListAccountingTrialbalances.ts +37 -0
  557. package/src/mcp-server/tools/accountingPatchAccountingBill.ts +35 -0
  558. package/src/mcp-server/tools/accountingPatchAccountingCreditmemo.ts +37 -0
  559. package/src/mcp-server/tools/accountingPatchAccountingPurchaseorder.ts +37 -0
  560. package/src/mcp-server/tools/accountingPatchAccountingSalesorder.ts +37 -0
  561. package/src/mcp-server/tools/accountingRemoveAccountingBill.ts +34 -0
  562. package/src/mcp-server/tools/accountingRemoveAccountingCreditmemo.ts +35 -0
  563. package/src/mcp-server/tools/accountingRemoveAccountingPurchaseorder.ts +35 -0
  564. package/src/mcp-server/tools/accountingRemoveAccountingSalesorder.ts +35 -0
  565. package/src/mcp-server/tools/accountingUpdateAccountingBill.ts +36 -0
  566. package/src/mcp-server/tools/accountingUpdateAccountingCreditmemo.ts +37 -0
  567. package/src/mcp-server/tools/accountingUpdateAccountingPurchaseorder.ts +37 -0
  568. package/src/mcp-server/tools/accountingUpdateAccountingSalesorder.ts +37 -0
  569. package/src/sdk/accounting.ts +450 -0
  570. package/src/sdk/balancesheet.ts +40 -0
  571. package/src/sdk/bill.ts +100 -0
  572. package/src/sdk/creditmemo.ts +100 -0
  573. package/src/sdk/models/operations/createaccountingbill.ts +101 -0
  574. package/src/sdk/models/operations/createaccountingcreditmemo.ts +102 -0
  575. package/src/sdk/models/operations/createaccountingpurchaseorder.ts +104 -0
  576. package/src/sdk/models/operations/createaccountingsalesorder.ts +102 -0
  577. package/src/sdk/models/operations/getaccountingbalancesheet.ts +101 -0
  578. package/src/sdk/models/operations/getaccountingbill.ts +99 -0
  579. package/src/sdk/models/operations/getaccountingcreditmemo.ts +101 -0
  580. package/src/sdk/models/operations/getaccountingprofitloss.ts +101 -0
  581. package/src/sdk/models/operations/getaccountingpurchaseorder.ts +102 -0
  582. package/src/sdk/models/operations/getaccountingsalesorder.ts +101 -0
  583. package/src/sdk/models/operations/getaccountingtrialbalance.ts +101 -0
  584. package/src/sdk/models/operations/index.ts +30 -0
  585. package/src/sdk/models/operations/listaccountingbalancesheets.ts +146 -0
  586. package/src/sdk/models/operations/listaccountingbills.ts +142 -0
  587. package/src/sdk/models/operations/listaccountingcreditmemoes.ts +145 -0
  588. package/src/sdk/models/operations/listaccountingprofitlosses.ts +145 -0
  589. package/src/sdk/models/operations/listaccountingpurchaseorders.ts +138 -0
  590. package/src/sdk/models/operations/listaccountingsalesorders.ts +135 -0
  591. package/src/sdk/models/operations/listaccountingtrialbalances.ts +146 -0
  592. package/src/sdk/models/operations/patchaccountingbill.ts +106 -0
  593. package/src/sdk/models/operations/patchaccountingcreditmemo.ts +108 -0
  594. package/src/sdk/models/operations/patchaccountingpurchaseorder.ts +111 -0
  595. package/src/sdk/models/operations/patchaccountingsalesorder.ts +108 -0
  596. package/src/sdk/models/operations/removeaccountingbill.ts +155 -0
  597. package/src/sdk/models/operations/removeaccountingcreditmemo.ts +158 -0
  598. package/src/sdk/models/operations/removeaccountingpurchaseorder.ts +161 -0
  599. package/src/sdk/models/operations/removeaccountingsalesorder.ts +158 -0
  600. package/src/sdk/models/operations/updateaccountingbill.ts +108 -0
  601. package/src/sdk/models/operations/updateaccountingcreditmemo.ts +109 -0
  602. package/src/sdk/models/operations/updateaccountingpurchaseorder.ts +111 -0
  603. package/src/sdk/models/operations/updateaccountingsalesorder.ts +109 -0
  604. package/src/sdk/models/shared/accountingbalancesheet.ts +137 -0
  605. package/src/sdk/models/shared/accountingbalancesheetitem.ts +29 -29
  606. package/src/sdk/models/shared/accountingbill.ts +309 -0
  607. package/src/sdk/models/shared/accountingcreditmemo.ts +325 -0
  608. package/src/sdk/models/shared/accountinginvoice.ts +25 -17
  609. package/src/sdk/models/shared/accountingprofitloss.ts +213 -0
  610. package/src/sdk/models/shared/{accountingprofitandlossaccount.ts → accountingprofitlossaccount.ts} +22 -22
  611. package/src/sdk/models/shared/accountingprofitlosscategory.ts +94 -0
  612. package/src/sdk/models/shared/accountingprofitlosssection.ts +99 -0
  613. package/src/sdk/models/shared/accountingprofitlosssubcategory.ts +88 -0
  614. package/src/sdk/models/shared/accountingpurchaseorder.ts +216 -0
  615. package/src/sdk/models/shared/accountingsalesorder.ts +216 -0
  616. package/src/sdk/models/shared/accountingtrialbalance.ts +137 -0
  617. package/src/sdk/models/shared/accountingtrialbalancesubitem.ts +22 -22
  618. package/src/sdk/models/shared/index.ts +15 -4
  619. package/src/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.ts +23 -23
  620. package/src/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.ts +120 -0
  621. package/src/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.ts +121 -0
  622. package/src/sdk/models/shared/propertyaccountingreportbalancesheet.ts +60 -16
  623. package/src/sdk/models/shared/propertyaccountingreportprofitandloss.ts +79 -40
  624. package/src/sdk/models/shared/propertyaccountingreporttrialbalance.ts +52 -8
  625. package/src/sdk/models/shared/propertyaccountingsalesorderbillingaddress.ts +117 -0
  626. package/src/sdk/models/shared/propertyaccountingsalesordershippingaddress.ts +120 -0
  627. package/src/sdk/profitloss.ts +40 -0
  628. package/src/sdk/purchaseorder.ts +100 -0
  629. package/src/sdk/salesorder.ts +100 -0
  630. package/src/sdk/sdk.ts +42 -0
  631. package/src/sdk/trialbalance.ts +40 -0
  632. package/sdk/models/shared/accountingprofitandlossaccount.d.ts +0 -35
  633. package/sdk/models/shared/accountingprofitandlossaccount.d.ts.map +0 -1
  634. package/sdk/models/shared/accountingprofitandlossaccount.js.map +0 -1
  635. package/sdk/models/shared/accountingprofitandlosscategory.d.ts +0 -37
  636. package/sdk/models/shared/accountingprofitandlosscategory.d.ts.map +0 -1
  637. package/sdk/models/shared/accountingprofitandlosscategory.js.map +0 -1
  638. package/sdk/models/shared/accountingprofitandlosssection.d.ts +0 -36
  639. package/sdk/models/shared/accountingprofitandlosssection.d.ts.map +0 -1
  640. package/sdk/models/shared/accountingprofitandlosssection.js.map +0 -1
  641. package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts +0 -36
  642. package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts.map +0 -1
  643. package/sdk/models/shared/accountingprofitandlosssubcategory.js.map +0 -1
  644. package/src/sdk/models/shared/accountingprofitandlosscategory.ts +0 -96
  645. package/src/sdk/models/shared/accountingprofitandlosssection.ts +0 -99
  646. package/src/sdk/models/shared/accountingprofitandlosssubcategory.ts +0 -90
@@ -0,0 +1,50 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import * as shared from "../shared/index.js";
5
+ export type PatchAccountingBillRequest = {
6
+ accountingBill: shared.AccountingBill;
7
+ /**
8
+ * ID of the connection
9
+ */
10
+ connectionId: string;
11
+ /**
12
+ * Comma-delimited fields to return
13
+ */
14
+ fields?: Array<string> | undefined;
15
+ /**
16
+ * ID of the Bill
17
+ */
18
+ id: string;
19
+ /**
20
+ * Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
21
+ */
22
+ raw?: string | undefined;
23
+ };
24
+ /** @internal */
25
+ export declare const PatchAccountingBillRequest$inboundSchema: z.ZodType<PatchAccountingBillRequest, z.ZodTypeDef, unknown>;
26
+ /** @internal */
27
+ export type PatchAccountingBillRequest$Outbound = {
28
+ AccountingBill: shared.AccountingBill$Outbound;
29
+ connection_id: string;
30
+ fields?: Array<string> | undefined;
31
+ id: string;
32
+ raw?: string | undefined;
33
+ };
34
+ /** @internal */
35
+ export declare const PatchAccountingBillRequest$outboundSchema: z.ZodType<PatchAccountingBillRequest$Outbound, z.ZodTypeDef, PatchAccountingBillRequest>;
36
+ /**
37
+ * @internal
38
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
39
+ */
40
+ export declare namespace PatchAccountingBillRequest$ {
41
+ /** @deprecated use `PatchAccountingBillRequest$inboundSchema` instead. */
42
+ const inboundSchema: z.ZodType<PatchAccountingBillRequest, z.ZodTypeDef, unknown>;
43
+ /** @deprecated use `PatchAccountingBillRequest$outboundSchema` instead. */
44
+ const outboundSchema: z.ZodType<PatchAccountingBillRequest$Outbound, z.ZodTypeDef, PatchAccountingBillRequest>;
45
+ /** @deprecated use `PatchAccountingBillRequest$Outbound` instead. */
46
+ type Outbound = PatchAccountingBillRequest$Outbound;
47
+ }
48
+ export declare function patchAccountingBillRequestToJSON(patchAccountingBillRequest: PatchAccountingBillRequest): string;
49
+ export declare function patchAccountingBillRequestFromJSON(jsonString: string): SafeParseResult<PatchAccountingBillRequest, SDKValidationError>;
50
+ //# sourceMappingURL=patchaccountingbill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchaccountingbill.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/patchaccountingbill.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,MAAM,MAAM,0BAA0B,GAAG;IACvC,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC;IACtC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,cAAc,EAAE,MAAM,CAAC,uBAAuB,CAAC;IAC/C,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAY1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PatchAccountingBillRequest$ = exports.PatchAccountingBillRequest$outboundSchema = exports.PatchAccountingBillRequest$inboundSchema = void 0;
30
+ exports.patchAccountingBillRequestToJSON = patchAccountingBillRequestToJSON;
31
+ exports.patchAccountingBillRequestFromJSON = patchAccountingBillRequestFromJSON;
32
+ const z = __importStar(require("zod"));
33
+ const primitives_js_1 = require("../../../lib/primitives.js");
34
+ const schemas_js_1 = require("../../../lib/schemas.js");
35
+ const shared = __importStar(require("../shared/index.js"));
36
+ /** @internal */
37
+ exports.PatchAccountingBillRequest$inboundSchema = z.object({
38
+ AccountingBill: shared.AccountingBill$inboundSchema,
39
+ connection_id: z.string(),
40
+ fields: z.array(z.string()).optional(),
41
+ id: z.string(),
42
+ raw: z.string().optional(),
43
+ }).transform((v) => {
44
+ return (0, primitives_js_1.remap)(v, {
45
+ "AccountingBill": "accountingBill",
46
+ "connection_id": "connectionId",
47
+ });
48
+ });
49
+ /** @internal */
50
+ exports.PatchAccountingBillRequest$outboundSchema = z.object({
51
+ accountingBill: shared.AccountingBill$outboundSchema,
52
+ connectionId: z.string(),
53
+ fields: z.array(z.string()).optional(),
54
+ id: z.string(),
55
+ raw: z.string().optional(),
56
+ }).transform((v) => {
57
+ return (0, primitives_js_1.remap)(v, {
58
+ accountingBill: "AccountingBill",
59
+ connectionId: "connection_id",
60
+ });
61
+ });
62
+ /**
63
+ * @internal
64
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
+ */
66
+ var PatchAccountingBillRequest$;
67
+ (function (PatchAccountingBillRequest$) {
68
+ /** @deprecated use `PatchAccountingBillRequest$inboundSchema` instead. */
69
+ PatchAccountingBillRequest$.inboundSchema = exports.PatchAccountingBillRequest$inboundSchema;
70
+ /** @deprecated use `PatchAccountingBillRequest$outboundSchema` instead. */
71
+ PatchAccountingBillRequest$.outboundSchema = exports.PatchAccountingBillRequest$outboundSchema;
72
+ })(PatchAccountingBillRequest$ || (exports.PatchAccountingBillRequest$ = PatchAccountingBillRequest$ = {}));
73
+ function patchAccountingBillRequestToJSON(patchAccountingBillRequest) {
74
+ return JSON.stringify(exports.PatchAccountingBillRequest$outboundSchema.parse(patchAccountingBillRequest));
75
+ }
76
+ function patchAccountingBillRequestFromJSON(jsonString) {
77
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PatchAccountingBillRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchAccountingBillRequest' from JSON`);
78
+ }
79
+ //# sourceMappingURL=patchaccountingbill.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchaccountingbill.js","sourceRoot":"","sources":["../../../src/sdk/models/operations/patchaccountingbill.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuFH,4EAMC;AAED,gFAQC;AArGD,uCAAyB;AACzB,8DAA6D;AAC7D,wDAAoD;AAGpD,2DAA6C;AAsB7C,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC,4BAA4B;IACnD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAA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C"}
@@ -0,0 +1,50 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import * as shared from "../shared/index.js";
5
+ export type PatchAccountingCreditmemoRequest = {
6
+ accountingCreditmemo: shared.AccountingCreditmemo;
7
+ /**
8
+ * ID of the connection
9
+ */
10
+ connectionId: string;
11
+ /**
12
+ * Comma-delimited fields to return
13
+ */
14
+ fields?: Array<string> | undefined;
15
+ /**
16
+ * ID of the Creditmemo
17
+ */
18
+ id: string;
19
+ /**
20
+ * Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
21
+ */
22
+ raw?: string | undefined;
23
+ };
24
+ /** @internal */
25
+ export declare const PatchAccountingCreditmemoRequest$inboundSchema: z.ZodType<PatchAccountingCreditmemoRequest, z.ZodTypeDef, unknown>;
26
+ /** @internal */
27
+ export type PatchAccountingCreditmemoRequest$Outbound = {
28
+ AccountingCreditmemo: shared.AccountingCreditmemo$Outbound;
29
+ connection_id: string;
30
+ fields?: Array<string> | undefined;
31
+ id: string;
32
+ raw?: string | undefined;
33
+ };
34
+ /** @internal */
35
+ export declare const PatchAccountingCreditmemoRequest$outboundSchema: z.ZodType<PatchAccountingCreditmemoRequest$Outbound, z.ZodTypeDef, PatchAccountingCreditmemoRequest>;
36
+ /**
37
+ * @internal
38
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
39
+ */
40
+ export declare namespace PatchAccountingCreditmemoRequest$ {
41
+ /** @deprecated use `PatchAccountingCreditmemoRequest$inboundSchema` instead. */
42
+ const inboundSchema: z.ZodType<PatchAccountingCreditmemoRequest, z.ZodTypeDef, unknown>;
43
+ /** @deprecated use `PatchAccountingCreditmemoRequest$outboundSchema` instead. */
44
+ const outboundSchema: z.ZodType<PatchAccountingCreditmemoRequest$Outbound, z.ZodTypeDef, PatchAccountingCreditmemoRequest>;
45
+ /** @deprecated use `PatchAccountingCreditmemoRequest$Outbound` instead. */
46
+ type Outbound = PatchAccountingCreditmemoRequest$Outbound;
47
+ }
48
+ export declare function patchAccountingCreditmemoRequestToJSON(patchAccountingCreditmemoRequest: PatchAccountingCreditmemoRequest): string;
49
+ export declare function patchAccountingCreditmemoRequestFromJSON(jsonString: string): SafeParseResult<PatchAccountingCreditmemoRequest, SDKValidationError>;
50
+ //# sourceMappingURL=patchaccountingcreditmemo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchaccountingcreditmemo.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/patchaccountingcreditmemo.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,MAAM,MAAM,gCAAgC,GAAG;IAC7C,oBAAoB,EAAE,MAAM,CAAC,oBAAoB,CAAC;IAClD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,yCAAyC,GAAG;IACtD,oBAAoB,EAAE,MAAM,CAAC,6BAA6B,CAAC;IAC3D,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,gCAAgC,CAYhC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,iCAAiC,CAAC;IACjD,gFAAgF;IACzE,MAAM,aAAa,oEAAiD,CAAC;IAC5E,iFAAiF;IAC1E,MAAM,cAAc,sGAAkD,CAAC;IAC9E,2EAA2E;IAC3E,KAAY,QAAQ,GAAG,yCAAyC,CAAC;CAClE;AAED,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR;AAED,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE"}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PatchAccountingCreditmemoRequest$ = exports.PatchAccountingCreditmemoRequest$outboundSchema = exports.PatchAccountingCreditmemoRequest$inboundSchema = void 0;
30
+ exports.patchAccountingCreditmemoRequestToJSON = patchAccountingCreditmemoRequestToJSON;
31
+ exports.patchAccountingCreditmemoRequestFromJSON = patchAccountingCreditmemoRequestFromJSON;
32
+ const z = __importStar(require("zod"));
33
+ const primitives_js_1 = require("../../../lib/primitives.js");
34
+ const schemas_js_1 = require("../../../lib/schemas.js");
35
+ const shared = __importStar(require("../shared/index.js"));
36
+ /** @internal */
37
+ exports.PatchAccountingCreditmemoRequest$inboundSchema = z.object({
38
+ AccountingCreditmemo: shared.AccountingCreditmemo$inboundSchema,
39
+ connection_id: z.string(),
40
+ fields: z.array(z.string()).optional(),
41
+ id: z.string(),
42
+ raw: z.string().optional(),
43
+ }).transform((v) => {
44
+ return (0, primitives_js_1.remap)(v, {
45
+ "AccountingCreditmemo": "accountingCreditmemo",
46
+ "connection_id": "connectionId",
47
+ });
48
+ });
49
+ /** @internal */
50
+ exports.PatchAccountingCreditmemoRequest$outboundSchema = z.object({
51
+ accountingCreditmemo: shared.AccountingCreditmemo$outboundSchema,
52
+ connectionId: z.string(),
53
+ fields: z.array(z.string()).optional(),
54
+ id: z.string(),
55
+ raw: z.string().optional(),
56
+ }).transform((v) => {
57
+ return (0, primitives_js_1.remap)(v, {
58
+ accountingCreditmemo: "AccountingCreditmemo",
59
+ connectionId: "connection_id",
60
+ });
61
+ });
62
+ /**
63
+ * @internal
64
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
+ */
66
+ var PatchAccountingCreditmemoRequest$;
67
+ (function (PatchAccountingCreditmemoRequest$) {
68
+ /** @deprecated use `PatchAccountingCreditmemoRequest$inboundSchema` instead. */
69
+ PatchAccountingCreditmemoRequest$.inboundSchema = exports.PatchAccountingCreditmemoRequest$inboundSchema;
70
+ /** @deprecated use `PatchAccountingCreditmemoRequest$outboundSchema` instead. */
71
+ PatchAccountingCreditmemoRequest$.outboundSchema = exports.PatchAccountingCreditmemoRequest$outboundSchema;
72
+ })(PatchAccountingCreditmemoRequest$ || (exports.PatchAccountingCreditmemoRequest$ = PatchAccountingCreditmemoRequest$ = {}));
73
+ function patchAccountingCreditmemoRequestToJSON(patchAccountingCreditmemoRequest) {
74
+ return JSON.stringify(exports.PatchAccountingCreditmemoRequest$outboundSchema.parse(patchAccountingCreditmemoRequest));
75
+ }
76
+ function patchAccountingCreditmemoRequestFromJSON(jsonString) {
77
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PatchAccountingCreditmemoRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchAccountingCreditmemoRequest' from JSON`);
78
+ }
79
+ //# sourceMappingURL=patchaccountingcreditmemo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchaccountingcreditmemo.js","sourceRoot":"","sources":["../../../src/sdk/models/operations/patchaccountingcreditmemo.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuFH,wFAQC;AAED,4FAQC;AAvGD,uCAAyB;AACzB,8DAA6D;AAC7D,wDAAoD;AAGpD,2DAA6C;AAsB7C,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,oBAAoB,EAAE,MAAM,CAAC,kCAAkC;IAC/D,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAA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C,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,8DAA8D,CAC/D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,50 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import * as shared from "../shared/index.js";
5
+ export type PatchAccountingPurchaseorderRequest = {
6
+ accountingPurchaseorder: shared.AccountingPurchaseorder;
7
+ /**
8
+ * ID of the connection
9
+ */
10
+ connectionId: string;
11
+ /**
12
+ * Comma-delimited fields to return
13
+ */
14
+ fields?: Array<string> | undefined;
15
+ /**
16
+ * ID of the Purchaseorder
17
+ */
18
+ id: string;
19
+ /**
20
+ * Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
21
+ */
22
+ raw?: string | undefined;
23
+ };
24
+ /** @internal */
25
+ export declare const PatchAccountingPurchaseorderRequest$inboundSchema: z.ZodType<PatchAccountingPurchaseorderRequest, z.ZodTypeDef, unknown>;
26
+ /** @internal */
27
+ export type PatchAccountingPurchaseorderRequest$Outbound = {
28
+ AccountingPurchaseorder: shared.AccountingPurchaseorder$Outbound;
29
+ connection_id: string;
30
+ fields?: Array<string> | undefined;
31
+ id: string;
32
+ raw?: string | undefined;
33
+ };
34
+ /** @internal */
35
+ export declare const PatchAccountingPurchaseorderRequest$outboundSchema: z.ZodType<PatchAccountingPurchaseorderRequest$Outbound, z.ZodTypeDef, PatchAccountingPurchaseorderRequest>;
36
+ /**
37
+ * @internal
38
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
39
+ */
40
+ export declare namespace PatchAccountingPurchaseorderRequest$ {
41
+ /** @deprecated use `PatchAccountingPurchaseorderRequest$inboundSchema` instead. */
42
+ const inboundSchema: z.ZodType<PatchAccountingPurchaseorderRequest, z.ZodTypeDef, unknown>;
43
+ /** @deprecated use `PatchAccountingPurchaseorderRequest$outboundSchema` instead. */
44
+ const outboundSchema: z.ZodType<PatchAccountingPurchaseorderRequest$Outbound, z.ZodTypeDef, PatchAccountingPurchaseorderRequest>;
45
+ /** @deprecated use `PatchAccountingPurchaseorderRequest$Outbound` instead. */
46
+ type Outbound = PatchAccountingPurchaseorderRequest$Outbound;
47
+ }
48
+ export declare function patchAccountingPurchaseorderRequestToJSON(patchAccountingPurchaseorderRequest: PatchAccountingPurchaseorderRequest): string;
49
+ export declare function patchAccountingPurchaseorderRequestFromJSON(jsonString: string): SafeParseResult<PatchAccountingPurchaseorderRequest, SDKValidationError>;
50
+ //# sourceMappingURL=patchaccountingpurchaseorder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchaccountingpurchaseorder.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/patchaccountingpurchaseorder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,MAAM,MAAM,mCAAmC,GAAG;IAChD,uBAAuB,EAAE,MAAM,CAAC,uBAAuB,CAAC;IACxD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,4CAA4C,GAAG;IACzD,uBAAuB,EAAE,MAAM,CAAC,gCAAgC,CAAC;IACjE,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CAYnC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oCAAoC,CAAC;IACpD,mFAAmF;IAC5E,MAAM,aAAa,uEACyB,CAAC;IACpD,oFAAoF;IAC7E,MAAM,cAAc,4GACyB,CAAC;IACrD,8EAA8E;IAC9E,KAAY,QAAQ,GAAG,4CAA4C,CAAC;CACrE;AAED,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AAED,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PatchAccountingPurchaseorderRequest$ = exports.PatchAccountingPurchaseorderRequest$outboundSchema = exports.PatchAccountingPurchaseorderRequest$inboundSchema = void 0;
30
+ exports.patchAccountingPurchaseorderRequestToJSON = patchAccountingPurchaseorderRequestToJSON;
31
+ exports.patchAccountingPurchaseorderRequestFromJSON = patchAccountingPurchaseorderRequestFromJSON;
32
+ const z = __importStar(require("zod"));
33
+ const primitives_js_1 = require("../../../lib/primitives.js");
34
+ const schemas_js_1 = require("../../../lib/schemas.js");
35
+ const shared = __importStar(require("../shared/index.js"));
36
+ /** @internal */
37
+ exports.PatchAccountingPurchaseorderRequest$inboundSchema = z.object({
38
+ AccountingPurchaseorder: shared.AccountingPurchaseorder$inboundSchema,
39
+ connection_id: z.string(),
40
+ fields: z.array(z.string()).optional(),
41
+ id: z.string(),
42
+ raw: z.string().optional(),
43
+ }).transform((v) => {
44
+ return (0, primitives_js_1.remap)(v, {
45
+ "AccountingPurchaseorder": "accountingPurchaseorder",
46
+ "connection_id": "connectionId",
47
+ });
48
+ });
49
+ /** @internal */
50
+ exports.PatchAccountingPurchaseorderRequest$outboundSchema = z.object({
51
+ accountingPurchaseorder: shared.AccountingPurchaseorder$outboundSchema,
52
+ connectionId: z.string(),
53
+ fields: z.array(z.string()).optional(),
54
+ id: z.string(),
55
+ raw: z.string().optional(),
56
+ }).transform((v) => {
57
+ return (0, primitives_js_1.remap)(v, {
58
+ accountingPurchaseorder: "AccountingPurchaseorder",
59
+ connectionId: "connection_id",
60
+ });
61
+ });
62
+ /**
63
+ * @internal
64
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
+ */
66
+ var PatchAccountingPurchaseorderRequest$;
67
+ (function (PatchAccountingPurchaseorderRequest$) {
68
+ /** @deprecated use `PatchAccountingPurchaseorderRequest$inboundSchema` instead. */
69
+ PatchAccountingPurchaseorderRequest$.inboundSchema = exports.PatchAccountingPurchaseorderRequest$inboundSchema;
70
+ /** @deprecated use `PatchAccountingPurchaseorderRequest$outboundSchema` instead. */
71
+ PatchAccountingPurchaseorderRequest$.outboundSchema = exports.PatchAccountingPurchaseorderRequest$outboundSchema;
72
+ })(PatchAccountingPurchaseorderRequest$ || (exports.PatchAccountingPurchaseorderRequest$ = PatchAccountingPurchaseorderRequest$ = {}));
73
+ function patchAccountingPurchaseorderRequestToJSON(patchAccountingPurchaseorderRequest) {
74
+ return JSON.stringify(exports.PatchAccountingPurchaseorderRequest$outboundSchema.parse(patchAccountingPurchaseorderRequest));
75
+ }
76
+ function patchAccountingPurchaseorderRequestFromJSON(jsonString) {
77
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PatchAccountingPurchaseorderRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchAccountingPurchaseorderRequest' from JSON`);
78
+ }
79
+ //# sourceMappingURL=patchaccountingpurchaseorder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchaccountingpurchaseorder.js","sourceRoot":"","sources":["../../../src/sdk/models/operations/patchaccountingpurchaseorder.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAyFH,8FAQC;AAED,kGASC;AA1GD,uCAAyB;AACzB,8DAA6D;AAC7D,wDAAoD;AAGpD,2DAA6C;AAsB7C,gBAAgB;AACH,QAAA,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,uBAAuB,EAAE,MAAM,CAAC,qCAAqC;IACrE,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,MAAM,EAAE,CAAC,CAAC,KAAK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AgB,2CAA2C,CACzD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC"}
@@ -0,0 +1,50 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import * as shared from "../shared/index.js";
5
+ export type PatchAccountingSalesorderRequest = {
6
+ accountingSalesorder: shared.AccountingSalesorder;
7
+ /**
8
+ * ID of the connection
9
+ */
10
+ connectionId: string;
11
+ /**
12
+ * Comma-delimited fields to return
13
+ */
14
+ fields?: Array<string> | undefined;
15
+ /**
16
+ * ID of the Salesorder
17
+ */
18
+ id: string;
19
+ /**
20
+ * Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
21
+ */
22
+ raw?: string | undefined;
23
+ };
24
+ /** @internal */
25
+ export declare const PatchAccountingSalesorderRequest$inboundSchema: z.ZodType<PatchAccountingSalesorderRequest, z.ZodTypeDef, unknown>;
26
+ /** @internal */
27
+ export type PatchAccountingSalesorderRequest$Outbound = {
28
+ AccountingSalesorder: shared.AccountingSalesorder$Outbound;
29
+ connection_id: string;
30
+ fields?: Array<string> | undefined;
31
+ id: string;
32
+ raw?: string | undefined;
33
+ };
34
+ /** @internal */
35
+ export declare const PatchAccountingSalesorderRequest$outboundSchema: z.ZodType<PatchAccountingSalesorderRequest$Outbound, z.ZodTypeDef, PatchAccountingSalesorderRequest>;
36
+ /**
37
+ * @internal
38
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
39
+ */
40
+ export declare namespace PatchAccountingSalesorderRequest$ {
41
+ /** @deprecated use `PatchAccountingSalesorderRequest$inboundSchema` instead. */
42
+ const inboundSchema: z.ZodType<PatchAccountingSalesorderRequest, z.ZodTypeDef, unknown>;
43
+ /** @deprecated use `PatchAccountingSalesorderRequest$outboundSchema` instead. */
44
+ const outboundSchema: z.ZodType<PatchAccountingSalesorderRequest$Outbound, z.ZodTypeDef, PatchAccountingSalesorderRequest>;
45
+ /** @deprecated use `PatchAccountingSalesorderRequest$Outbound` instead. */
46
+ type Outbound = PatchAccountingSalesorderRequest$Outbound;
47
+ }
48
+ export declare function patchAccountingSalesorderRequestToJSON(patchAccountingSalesorderRequest: PatchAccountingSalesorderRequest): string;
49
+ export declare function patchAccountingSalesorderRequestFromJSON(jsonString: string): SafeParseResult<PatchAccountingSalesorderRequest, SDKValidationError>;
50
+ //# sourceMappingURL=patchaccountingsalesorder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchaccountingsalesorder.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/patchaccountingsalesorder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,MAAM,MAAM,gCAAgC,GAAG;IAC7C,oBAAoB,EAAE,MAAM,CAAC,oBAAoB,CAAC;IAClD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,yCAAyC,GAAG;IACtD,oBAAoB,EAAE,MAAM,CAAC,6BAA6B,CAAC;IAC3D,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,gCAAgC,CAYhC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,iCAAiC,CAAC;IACjD,gFAAgF;IACzE,MAAM,aAAa,oEAAiD,CAAC;IAC5E,iFAAiF;IAC1E,MAAM,cAAc,sGAAkD,CAAC;IAC9E,2EAA2E;IAC3E,KAAY,QAAQ,GAAG,yCAAyC,CAAC;CAClE;AAED,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR;AAED,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE"}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PatchAccountingSalesorderRequest$ = exports.PatchAccountingSalesorderRequest$outboundSchema = exports.PatchAccountingSalesorderRequest$inboundSchema = void 0;
30
+ exports.patchAccountingSalesorderRequestToJSON = patchAccountingSalesorderRequestToJSON;
31
+ exports.patchAccountingSalesorderRequestFromJSON = patchAccountingSalesorderRequestFromJSON;
32
+ const z = __importStar(require("zod"));
33
+ const primitives_js_1 = require("../../../lib/primitives.js");
34
+ const schemas_js_1 = require("../../../lib/schemas.js");
35
+ const shared = __importStar(require("../shared/index.js"));
36
+ /** @internal */
37
+ exports.PatchAccountingSalesorderRequest$inboundSchema = z.object({
38
+ AccountingSalesorder: shared.AccountingSalesorder$inboundSchema,
39
+ connection_id: z.string(),
40
+ fields: z.array(z.string()).optional(),
41
+ id: z.string(),
42
+ raw: z.string().optional(),
43
+ }).transform((v) => {
44
+ return (0, primitives_js_1.remap)(v, {
45
+ "AccountingSalesorder": "accountingSalesorder",
46
+ "connection_id": "connectionId",
47
+ });
48
+ });
49
+ /** @internal */
50
+ exports.PatchAccountingSalesorderRequest$outboundSchema = z.object({
51
+ accountingSalesorder: shared.AccountingSalesorder$outboundSchema,
52
+ connectionId: z.string(),
53
+ fields: z.array(z.string()).optional(),
54
+ id: z.string(),
55
+ raw: z.string().optional(),
56
+ }).transform((v) => {
57
+ return (0, primitives_js_1.remap)(v, {
58
+ accountingSalesorder: "AccountingSalesorder",
59
+ connectionId: "connection_id",
60
+ });
61
+ });
62
+ /**
63
+ * @internal
64
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
+ */
66
+ var PatchAccountingSalesorderRequest$;
67
+ (function (PatchAccountingSalesorderRequest$) {
68
+ /** @deprecated use `PatchAccountingSalesorderRequest$inboundSchema` instead. */
69
+ PatchAccountingSalesorderRequest$.inboundSchema = exports.PatchAccountingSalesorderRequest$inboundSchema;
70
+ /** @deprecated use `PatchAccountingSalesorderRequest$outboundSchema` instead. */
71
+ PatchAccountingSalesorderRequest$.outboundSchema = exports.PatchAccountingSalesorderRequest$outboundSchema;
72
+ })(PatchAccountingSalesorderRequest$ || (exports.PatchAccountingSalesorderRequest$ = PatchAccountingSalesorderRequest$ = {}));
73
+ function patchAccountingSalesorderRequestToJSON(patchAccountingSalesorderRequest) {
74
+ return JSON.stringify(exports.PatchAccountingSalesorderRequest$outboundSchema.parse(patchAccountingSalesorderRequest));
75
+ }
76
+ function patchAccountingSalesorderRequestFromJSON(jsonString) {
77
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PatchAccountingSalesorderRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchAccountingSalesorderRequest' from JSON`);
78
+ }
79
+ //# sourceMappingURL=patchaccountingsalesorder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchaccountingsalesorder.js","sourceRoot":"","sources":["../../../src/sdk/models/operations/patchaccountingsalesorder.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuFH,wFAQC;AAED,4FAQC;AAvGD,uCAAyB;AACzB,8DAA6D;AAC7D,wDAAoD;AAGpD,2DAA6C;AAsB7C,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,oBAAoB,EAAE,MAAM,CAAC,kCAAkC;IAC/D,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,M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C,CACtD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sDAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,8DAA8D,CAC/D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,66 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ export type RemoveAccountingBillRequest = {
5
+ /**
6
+ * ID of the connection
7
+ */
8
+ connectionId: string;
9
+ /**
10
+ * ID of the Bill
11
+ */
12
+ id: string;
13
+ };
14
+ export type RemoveAccountingBillResponse = {
15
+ headers: {
16
+ [k: string]: Array<string>;
17
+ };
18
+ };
19
+ /** @internal */
20
+ export declare const RemoveAccountingBillRequest$inboundSchema: z.ZodType<RemoveAccountingBillRequest, z.ZodTypeDef, unknown>;
21
+ /** @internal */
22
+ export type RemoveAccountingBillRequest$Outbound = {
23
+ connection_id: string;
24
+ id: string;
25
+ };
26
+ /** @internal */
27
+ export declare const RemoveAccountingBillRequest$outboundSchema: z.ZodType<RemoveAccountingBillRequest$Outbound, z.ZodTypeDef, RemoveAccountingBillRequest>;
28
+ /**
29
+ * @internal
30
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
31
+ */
32
+ export declare namespace RemoveAccountingBillRequest$ {
33
+ /** @deprecated use `RemoveAccountingBillRequest$inboundSchema` instead. */
34
+ const inboundSchema: z.ZodType<RemoveAccountingBillRequest, z.ZodTypeDef, unknown>;
35
+ /** @deprecated use `RemoveAccountingBillRequest$outboundSchema` instead. */
36
+ const outboundSchema: z.ZodType<RemoveAccountingBillRequest$Outbound, z.ZodTypeDef, RemoveAccountingBillRequest>;
37
+ /** @deprecated use `RemoveAccountingBillRequest$Outbound` instead. */
38
+ type Outbound = RemoveAccountingBillRequest$Outbound;
39
+ }
40
+ export declare function removeAccountingBillRequestToJSON(removeAccountingBillRequest: RemoveAccountingBillRequest): string;
41
+ export declare function removeAccountingBillRequestFromJSON(jsonString: string): SafeParseResult<RemoveAccountingBillRequest, SDKValidationError>;
42
+ /** @internal */
43
+ export declare const RemoveAccountingBillResponse$inboundSchema: z.ZodType<RemoveAccountingBillResponse, z.ZodTypeDef, unknown>;
44
+ /** @internal */
45
+ export type RemoveAccountingBillResponse$Outbound = {
46
+ Headers: {
47
+ [k: string]: Array<string>;
48
+ };
49
+ };
50
+ /** @internal */
51
+ export declare const RemoveAccountingBillResponse$outboundSchema: z.ZodType<RemoveAccountingBillResponse$Outbound, z.ZodTypeDef, RemoveAccountingBillResponse>;
52
+ /**
53
+ * @internal
54
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
55
+ */
56
+ export declare namespace RemoveAccountingBillResponse$ {
57
+ /** @deprecated use `RemoveAccountingBillResponse$inboundSchema` instead. */
58
+ const inboundSchema: z.ZodType<RemoveAccountingBillResponse, z.ZodTypeDef, unknown>;
59
+ /** @deprecated use `RemoveAccountingBillResponse$outboundSchema` instead. */
60
+ const outboundSchema: z.ZodType<RemoveAccountingBillResponse$Outbound, z.ZodTypeDef, RemoveAccountingBillResponse>;
61
+ /** @deprecated use `RemoveAccountingBillResponse$Outbound` instead. */
62
+ type Outbound = RemoveAccountingBillResponse$Outbound;
63
+ }
64
+ export declare function removeAccountingBillResponseToJSON(removeAccountingBillResponse: RemoveAccountingBillResponse): string;
65
+ export declare function removeAccountingBillResponseFromJSON(jsonString: string): SafeParseResult<RemoveAccountingBillResponse, SDKValidationError>;
66
+ //# sourceMappingURL=removeaccountingbill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeaccountingbill.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/removeaccountingbill.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,m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