@moovio/sdk 26.4.0-dev.6 → 26.4.0-dev.8

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 (651) hide show
  1. package/README.md +108 -50
  2. package/bin/mcp-server.js +2686 -820
  3. package/bin/mcp-server.js.map +233 -187
  4. package/examples/package-lock.json +1 -1
  5. package/funcs/cardsLink.d.ts +1 -1
  6. package/funcs/cardsLink.d.ts.map +1 -1
  7. package/funcs/cardsLink.js +1 -1
  8. package/funcs/cardsLink.js.map +1 -1
  9. package/funcs/invoicesCreateInvoice.d.ts +18 -0
  10. package/funcs/invoicesCreateInvoice.d.ts.map +1 -0
  11. package/funcs/invoicesCreateInvoice.js +139 -0
  12. package/funcs/invoicesCreateInvoice.js.map +1 -0
  13. package/funcs/invoicesCreateInvoicePayment.d.ts +19 -0
  14. package/funcs/invoicesCreateInvoicePayment.d.ts.map +1 -0
  15. package/funcs/invoicesCreateInvoicePayment.js +148 -0
  16. package/funcs/invoicesCreateInvoicePayment.js.map +1 -0
  17. package/funcs/invoicesGetInvoice.d.ts +17 -0
  18. package/funcs/invoicesGetInvoice.d.ts.map +1 -0
  19. package/funcs/invoicesGetInvoice.js +129 -0
  20. package/funcs/invoicesGetInvoice.js.map +1 -0
  21. package/funcs/invoicesListInvoicePayments.d.ts +17 -0
  22. package/funcs/invoicesListInvoicePayments.d.ts.map +1 -0
  23. package/funcs/invoicesListInvoicePayments.js +129 -0
  24. package/funcs/invoicesListInvoicePayments.js.map +1 -0
  25. package/funcs/invoicesListInvoices.d.ts +18 -0
  26. package/funcs/invoicesListInvoices.d.ts.map +1 -0
  27. package/funcs/invoicesListInvoices.js +139 -0
  28. package/funcs/invoicesListInvoices.js.map +1 -0
  29. package/funcs/invoicesUpdateInvoice.d.ts +18 -0
  30. package/funcs/invoicesUpdateInvoice.d.ts.map +1 -0
  31. package/funcs/invoicesUpdateInvoice.js +143 -0
  32. package/funcs/invoicesUpdateInvoice.js.map +1 -0
  33. package/funcs/paymentLinksList.js +1 -2
  34. package/funcs/paymentLinksList.js.map +1 -1
  35. package/jsr.json +1 -1
  36. package/lib/config.d.ts +3 -3
  37. package/lib/config.js +3 -3
  38. package/mcp-server/mcp-server.js +1 -1
  39. package/mcp-server/server.d.ts.map +1 -1
  40. package/mcp-server/server.js +13 -1
  41. package/mcp-server/server.js.map +1 -1
  42. package/mcp-server/tools/invoicesCreateInvoice.d.ts +8 -0
  43. package/mcp-server/tools/invoicesCreateInvoice.d.ts.map +1 -0
  44. package/mcp-server/tools/invoicesCreateInvoice.js +65 -0
  45. package/mcp-server/tools/invoicesCreateInvoice.js.map +1 -0
  46. package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts +8 -0
  47. package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts.map +1 -0
  48. package/mcp-server/tools/invoicesCreateInvoicePayment.js +66 -0
  49. package/mcp-server/tools/invoicesCreateInvoicePayment.js.map +1 -0
  50. package/mcp-server/tools/invoicesGetInvoice.d.ts +8 -0
  51. package/mcp-server/tools/invoicesGetInvoice.d.ts.map +1 -0
  52. package/mcp-server/tools/invoicesGetInvoice.js +65 -0
  53. package/mcp-server/tools/invoicesGetInvoice.js.map +1 -0
  54. package/mcp-server/tools/invoicesListInvoicePayments.d.ts +8 -0
  55. package/mcp-server/tools/invoicesListInvoicePayments.d.ts.map +1 -0
  56. package/mcp-server/tools/invoicesListInvoicePayments.js +65 -0
  57. package/mcp-server/tools/invoicesListInvoicePayments.js.map +1 -0
  58. package/mcp-server/tools/invoicesListInvoices.d.ts +8 -0
  59. package/mcp-server/tools/invoicesListInvoices.d.ts.map +1 -0
  60. package/mcp-server/tools/invoicesListInvoices.js +65 -0
  61. package/mcp-server/tools/invoicesListInvoices.js.map +1 -0
  62. package/mcp-server/tools/invoicesUpdateInvoice.d.ts +8 -0
  63. package/mcp-server/tools/invoicesUpdateInvoice.d.ts.map +1 -0
  64. package/mcp-server/tools/invoicesUpdateInvoice.js +65 -0
  65. package/mcp-server/tools/invoicesUpdateInvoice.js.map +1 -0
  66. package/models/components/accountfees.d.ts +5 -0
  67. package/models/components/accountfees.d.ts.map +1 -1
  68. package/models/components/accountfees.js +2 -0
  69. package/models/components/accountfees.js.map +1 -1
  70. package/models/components/amountdecimalupdate.d.ts +29 -0
  71. package/models/components/amountdecimalupdate.d.ts.map +1 -0
  72. package/models/components/amountdecimalupdate.js +60 -0
  73. package/models/components/amountdecimalupdate.js.map +1 -0
  74. package/models/components/createinvoice.d.ts +35 -0
  75. package/models/components/createinvoice.d.ts.map +1 -0
  76. package/models/components/createinvoice.js +72 -0
  77. package/models/components/createinvoice.js.map +1 -0
  78. package/models/components/createinvoicelineitem.d.ts +48 -0
  79. package/models/components/createinvoicelineitem.d.ts.map +1 -0
  80. package/models/components/createinvoicelineitem.js +68 -0
  81. package/models/components/createinvoicelineitem.js.map +1 -0
  82. package/models/components/createinvoicelineitemoption.d.ts +39 -0
  83. package/models/components/createinvoicelineitemoption.d.ts.map +1 -0
  84. package/models/components/createinvoicelineitemoption.js +65 -0
  85. package/models/components/createinvoicelineitemoption.js.map +1 -0
  86. package/models/components/createinvoicelineitemoptionvalidationerror.d.ts +24 -0
  87. package/models/components/createinvoicelineitemoptionvalidationerror.d.ts.map +1 -0
  88. package/models/components/createinvoicelineitemoptionvalidationerror.js +65 -0
  89. package/models/components/createinvoicelineitemoptionvalidationerror.js.map +1 -0
  90. package/models/components/createinvoicelineitems.d.ts +24 -0
  91. package/models/components/createinvoicelineitems.d.ts.map +1 -0
  92. package/models/components/createinvoicelineitems.js +59 -0
  93. package/models/components/createinvoicelineitems.js.map +1 -0
  94. package/models/components/createinvoicelineitemsupdate.d.ts +24 -0
  95. package/models/components/createinvoicelineitemsupdate.d.ts.map +1 -0
  96. package/models/components/createinvoicelineitemsupdate.js +59 -0
  97. package/models/components/createinvoicelineitemsupdate.js.map +1 -0
  98. package/models/components/createinvoicelineitemsvalidationerror.d.ts +22 -0
  99. package/models/components/createinvoicelineitemsvalidationerror.d.ts.map +1 -0
  100. package/models/components/createinvoicelineitemsvalidationerror.js +61 -0
  101. package/models/components/createinvoicelineitemsvalidationerror.js.map +1 -0
  102. package/models/components/createinvoicelineitemvalidationerror.d.ts +31 -0
  103. package/models/components/createinvoicelineitemvalidationerror.d.ts.map +1 -0
  104. package/models/components/createinvoicelineitemvalidationerror.js +70 -0
  105. package/models/components/createinvoicelineitemvalidationerror.js.map +1 -0
  106. package/models/components/createinvoicepayment.d.ts +24 -0
  107. package/models/components/createinvoicepayment.d.ts.map +1 -0
  108. package/models/components/createinvoicepayment.js +66 -0
  109. package/models/components/createinvoicepayment.js.map +1 -0
  110. package/models/components/index.d.ts +23 -0
  111. package/models/components/index.d.ts.map +1 -1
  112. package/models/components/index.js +23 -0
  113. package/models/components/index.js.map +1 -1
  114. package/models/components/invoice.d.ts +93 -0
  115. package/models/components/invoice.d.ts.map +1 -0
  116. package/models/components/invoice.js +107 -0
  117. package/models/components/invoice.js.map +1 -0
  118. package/models/components/invoiceexternalpayment.d.ts +21 -0
  119. package/models/components/invoiceexternalpayment.d.ts.map +1 -0
  120. package/models/components/invoiceexternalpayment.js +63 -0
  121. package/models/components/invoiceexternalpayment.js.map +1 -0
  122. package/models/components/invoicelineitem.d.ts +54 -0
  123. package/models/components/invoicelineitem.d.ts.map +1 -0
  124. package/models/components/invoicelineitem.js +71 -0
  125. package/models/components/invoicelineitem.js.map +1 -0
  126. package/models/components/invoicelineitemimagemetadata.d.ts +35 -0
  127. package/models/components/invoicelineitemimagemetadata.d.ts.map +1 -0
  128. package/models/components/invoicelineitemimagemetadata.js +64 -0
  129. package/models/components/invoicelineitemimagemetadata.js.map +1 -0
  130. package/models/components/invoicelineitemoption.d.ts +45 -0
  131. package/models/components/invoicelineitemoption.d.ts.map +1 -0
  132. package/models/components/invoicelineitemoption.js +68 -0
  133. package/models/components/invoicelineitemoption.js.map +1 -0
  134. package/models/components/invoicelineitemoptionvalidationerror.d.ts +24 -0
  135. package/models/components/invoicelineitemoptionvalidationerror.d.ts.map +1 -0
  136. package/models/components/invoicelineitemoptionvalidationerror.js +65 -0
  137. package/models/components/invoicelineitemoptionvalidationerror.js.map +1 -0
  138. package/models/components/invoicelineitems.d.ts +24 -0
  139. package/models/components/invoicelineitems.d.ts.map +1 -0
  140. package/models/components/invoicelineitems.js +59 -0
  141. package/models/components/invoicelineitems.js.map +1 -0
  142. package/models/components/invoicelineitemsvalidationerror.d.ts +22 -0
  143. package/models/components/invoicelineitemsvalidationerror.d.ts.map +1 -0
  144. package/models/components/invoicelineitemsvalidationerror.js +59 -0
  145. package/models/components/invoicelineitemsvalidationerror.js.map +1 -0
  146. package/models/components/invoicelineitemvalidationerror.d.ts +31 -0
  147. package/models/components/invoicelineitemvalidationerror.d.ts.map +1 -0
  148. package/models/components/invoicelineitemvalidationerror.js +70 -0
  149. package/models/components/invoicelineitemvalidationerror.js.map +1 -0
  150. package/models/components/invoicepayment.d.ts +35 -0
  151. package/models/components/invoicepayment.d.ts.map +1 -0
  152. package/models/components/invoicepayment.js +70 -0
  153. package/models/components/invoicepayment.js.map +1 -0
  154. package/models/components/invoicepaymenttype.d.ts +12 -0
  155. package/models/components/invoicepaymenttype.d.ts.map +1 -0
  156. package/models/components/invoicepaymenttype.js +49 -0
  157. package/models/components/invoicepaymenttype.js.map +1 -0
  158. package/models/components/invoicetransferpayment.d.ts +20 -0
  159. package/models/components/invoicetransferpayment.d.ts.map +1 -0
  160. package/models/components/invoicetransferpayment.js +58 -0
  161. package/models/components/invoicetransferpayment.js.map +1 -0
  162. package/models/components/paymentlinktype.d.ts +1 -0
  163. package/models/components/paymentlinktype.d.ts.map +1 -1
  164. package/models/components/paymentlinktype.js +1 -0
  165. package/models/components/paymentlinktype.js.map +1 -1
  166. package/models/components/transfer.d.ts +5 -0
  167. package/models/components/transfer.d.ts.map +1 -1
  168. package/models/components/transfer.js +2 -0
  169. package/models/components/transfer.js.map +1 -1
  170. package/models/components/updateinvoice.d.ts +40 -0
  171. package/models/components/updateinvoice.d.ts.map +1 -0
  172. package/models/components/updateinvoice.js +71 -0
  173. package/models/components/updateinvoice.js.map +1 -0
  174. package/models/components/wallettransactiontype.d.ts +1 -0
  175. package/models/components/wallettransactiontype.d.ts.map +1 -1
  176. package/models/components/wallettransactiontype.js +1 -0
  177. package/models/components/wallettransactiontype.js.map +1 -1
  178. package/models/errors/createinvoiceerror.d.ts +40 -0
  179. package/models/errors/createinvoiceerror.d.ts.map +1 -0
  180. package/models/errors/createinvoiceerror.js +100 -0
  181. package/models/errors/createinvoiceerror.js.map +1 -0
  182. package/models/errors/createinvoicepaymenterror.d.ts +34 -0
  183. package/models/errors/createinvoicepaymenterror.d.ts.map +1 -0
  184. package/models/errors/createinvoicepaymenterror.js +88 -0
  185. package/models/errors/createinvoicepaymenterror.js.map +1 -0
  186. package/models/errors/duplicatecarderror.d.ts +45 -0
  187. package/models/errors/duplicatecarderror.d.ts.map +1 -0
  188. package/models/errors/duplicatecarderror.js +78 -0
  189. package/models/errors/duplicatecarderror.js.map +1 -0
  190. package/models/errors/index.d.ts +5 -0
  191. package/models/errors/index.d.ts.map +1 -1
  192. package/models/errors/index.js +5 -0
  193. package/models/errors/index.js.map +1 -1
  194. package/models/errors/listinvoicesvalidationerror.d.ts +45 -0
  195. package/models/errors/listinvoicesvalidationerror.d.ts.map +1 -0
  196. package/models/errors/listinvoicesvalidationerror.js +107 -0
  197. package/models/errors/listinvoicesvalidationerror.js.map +1 -0
  198. package/models/errors/transfer.d.ts +9 -0
  199. package/models/errors/transfer.d.ts.map +1 -1
  200. package/models/errors/transfer.js +4 -0
  201. package/models/errors/transfer.js.map +1 -1
  202. package/models/errors/updateinvoiceerror.d.ts +40 -0
  203. package/models/errors/updateinvoiceerror.d.ts.map +1 -0
  204. package/models/errors/updateinvoiceerror.js +99 -0
  205. package/models/errors/updateinvoiceerror.js.map +1 -0
  206. package/models/operations/acceptdispute.d.ts +1 -1
  207. package/models/operations/assignaccountcountries.d.ts +1 -1
  208. package/models/operations/cancelschedule.d.ts +1 -1
  209. package/models/operations/completebankaccountverification.d.ts +1 -1
  210. package/models/operations/completemicrodeposits.d.ts +1 -1
  211. package/models/operations/connectaccount.d.ts +1 -1
  212. package/models/operations/createaccesstoken.d.ts +1 -1
  213. package/models/operations/createaccount.d.ts +1 -1
  214. package/models/operations/createapplepaysession.d.ts +1 -1
  215. package/models/operations/createbrand.d.ts +1 -1
  216. package/models/operations/createcancellation.d.ts +1 -1
  217. package/models/operations/createfeeplanagreements.d.ts +1 -1
  218. package/models/operations/createinvoice.d.ts +66 -0
  219. package/models/operations/createinvoice.d.ts.map +1 -0
  220. package/models/operations/createinvoice.js +122 -0
  221. package/models/operations/createinvoice.js.map +1 -0
  222. package/models/operations/createinvoicepayment.d.ts +68 -0
  223. package/models/operations/createinvoicepayment.d.ts.map +1 -0
  224. package/models/operations/createinvoicepayment.js +124 -0
  225. package/models/operations/createinvoicepayment.js.map +1 -0
  226. package/models/operations/createonboardinginvite.d.ts +1 -1
  227. package/models/operations/createpaymentlink.d.ts +1 -1
  228. package/models/operations/createproduct.d.ts +1 -1
  229. package/models/operations/createreceipts.d.ts +1 -1
  230. package/models/operations/createrepresentative.d.ts +1 -1
  231. package/models/operations/createreversal.d.ts +1 -1
  232. package/models/operations/createschedule.d.ts +1 -1
  233. package/models/operations/createsweepconfig.d.ts +1 -1
  234. package/models/operations/createterminalapplication.d.ts +1 -1
  235. package/models/operations/createterminalapplicationversion.d.ts +1 -1
  236. package/models/operations/createticket.d.ts +1 -1
  237. package/models/operations/createtransfer.d.ts +1 -1
  238. package/models/operations/createtransferoptions.d.ts +1 -1
  239. package/models/operations/createwallet.d.ts +1 -1
  240. package/models/operations/createwebhook.d.ts +1 -1
  241. package/models/operations/deletedisputeevidencefile.d.ts +1 -1
  242. package/models/operations/deleteimage.d.ts +1 -1
  243. package/models/operations/deleterepresentative.d.ts +1 -1
  244. package/models/operations/deleteterminalapplication.d.ts +1 -1
  245. package/models/operations/disablebankaccount.d.ts +1 -1
  246. package/models/operations/disablecapability.d.ts +1 -1
  247. package/models/operations/disablecard.d.ts +1 -1
  248. package/models/operations/disablepaymentlink.d.ts +1 -1
  249. package/models/operations/disableproduct.d.ts +1 -1
  250. package/models/operations/disablewebhook.d.ts +1 -1
  251. package/models/operations/disconnectaccount.d.ts +1 -1
  252. package/models/operations/generateendtoendkey.d.ts +1 -1
  253. package/models/operations/getaccount.d.ts +1 -1
  254. package/models/operations/getaccountcountries.d.ts +1 -1
  255. package/models/operations/getaccountterminalapplication.d.ts +1 -1
  256. package/models/operations/getadjustment.d.ts +1 -1
  257. package/models/operations/getapplepaymerchantdomains.d.ts +1 -1
  258. package/models/operations/getavatar.d.ts +1 -1
  259. package/models/operations/getbankaccount.d.ts +1 -1
  260. package/models/operations/getbankaccountverification.d.ts +1 -1
  261. package/models/operations/getbrand.d.ts +1 -1
  262. package/models/operations/getcancellation.d.ts +1 -1
  263. package/models/operations/getcapability.d.ts +1 -1
  264. package/models/operations/getcard.d.ts +1 -1
  265. package/models/operations/getdispute.d.ts +1 -1
  266. package/models/operations/getdisputeevidence.d.ts +1 -1
  267. package/models/operations/getdisputeevidencedata.d.ts +1 -1
  268. package/models/operations/getenrichmentaddress.d.ts +1 -1
  269. package/models/operations/getenrichmentprofile.d.ts +1 -1
  270. package/models/operations/getfiledetails.d.ts +1 -1
  271. package/models/operations/getfullissuedcard.d.ts +1 -1
  272. package/models/operations/getimagemetadata.d.ts +1 -1
  273. package/models/operations/getinvoice.d.ts +66 -0
  274. package/models/operations/getinvoice.d.ts.map +1 -0
  275. package/models/operations/getinvoice.js +114 -0
  276. package/models/operations/getinvoice.js.map +1 -0
  277. package/models/operations/getissuedcard.d.ts +1 -1
  278. package/models/operations/getissuedcardauthorization.d.ts +1 -1
  279. package/models/operations/getissuedcardtransaction.d.ts +1 -1
  280. package/models/operations/getmerchantprocessingagreement.d.ts +1 -1
  281. package/models/operations/getonboardinginvite.d.ts +1 -1
  282. package/models/operations/getpaymentlink.d.ts +1 -1
  283. package/models/operations/getpaymentlinkqrcode.d.ts +1 -1
  284. package/models/operations/getpaymentmethod.d.ts +1 -1
  285. package/models/operations/getproduct.d.ts +1 -1
  286. package/models/operations/getpublicimage.d.ts +2 -2
  287. package/models/operations/getpublicimage.d.ts.map +1 -1
  288. package/models/operations/getpublicimage.js +2 -2
  289. package/models/operations/getpublicimage.js.map +1 -1
  290. package/models/operations/getrefund.d.ts +1 -1
  291. package/models/operations/getrepresentative.d.ts +1 -1
  292. package/models/operations/getresidual.d.ts +1 -1
  293. package/models/operations/getscheduledoccurrence.d.ts +1 -1
  294. package/models/operations/getschedules.d.ts +1 -1
  295. package/models/operations/getstatement.d.ts +1 -1
  296. package/models/operations/getsweep.d.ts +1 -1
  297. package/models/operations/getsweepconfig.d.ts +1 -1
  298. package/models/operations/getterminalapplication.d.ts +1 -1
  299. package/models/operations/getterminalconfiguration.d.ts +1 -1
  300. package/models/operations/gettermsofservicetoken.d.ts +1 -1
  301. package/models/operations/getticket.d.ts +1 -1
  302. package/models/operations/gettransfer.d.ts +1 -1
  303. package/models/operations/getunderwriting.d.ts +1 -1
  304. package/models/operations/getwallet.d.ts +1 -1
  305. package/models/operations/getwallettransaction.d.ts +1 -1
  306. package/models/operations/getwebhook.d.ts +1 -1
  307. package/models/operations/getwebhooksecret.d.ts +1 -1
  308. package/models/operations/index.d.ts +6 -0
  309. package/models/operations/index.d.ts.map +1 -1
  310. package/models/operations/index.js +6 -0
  311. package/models/operations/index.js.map +1 -1
  312. package/models/operations/initiatebankaccountverification.d.ts +1 -1
  313. package/models/operations/initiatemicrodeposits.d.ts +1 -1
  314. package/models/operations/initiaterefund.d.ts +1 -1
  315. package/models/operations/linkaccountterminalapplication.d.ts +1 -1
  316. package/models/operations/linkapplepaytoken.d.ts +1 -1
  317. package/models/operations/linkbankaccount.d.ts +1 -1
  318. package/models/operations/linkcard.d.ts +1 -1
  319. package/models/operations/listaccounts.d.ts +1 -1
  320. package/models/operations/listaccountterminalapplications.d.ts +1 -1
  321. package/models/operations/listadjustments.d.ts +1 -1
  322. package/models/operations/listbankaccounts.d.ts +1 -1
  323. package/models/operations/listcapabilities.d.ts +1 -1
  324. package/models/operations/listcards.d.ts +1 -1
  325. package/models/operations/listconnectedaccountsforaccount.d.ts +1 -1
  326. package/models/operations/listdisputeevidence.d.ts +1 -1
  327. package/models/operations/listdisputes.d.ts +1 -1
  328. package/models/operations/listeventtypes.d.ts +1 -1
  329. package/models/operations/listfeeplanagreements.d.ts +1 -1
  330. package/models/operations/listfeeplans.d.ts +1 -1
  331. package/models/operations/listfeerevenue.d.ts +1 -1
  332. package/models/operations/listfeesfetch.d.ts +1 -1
  333. package/models/operations/listfiles.d.ts +1 -1
  334. package/models/operations/listimagemetadata.d.ts +1 -1
  335. package/models/operations/listindustries.d.ts +1 -1
  336. package/models/operations/listinstitutions.d.ts +1 -1
  337. package/models/operations/listinvoicepayments.d.ts +66 -0
  338. package/models/operations/listinvoicepayments.d.ts.map +1 -0
  339. package/models/operations/listinvoicepayments.js +114 -0
  340. package/models/operations/listinvoicepayments.js.map +1 -0
  341. package/models/operations/listinvoices.d.ts +80 -0
  342. package/models/operations/listinvoices.d.ts.map +1 -0
  343. package/models/operations/listinvoices.js +128 -0
  344. package/models/operations/listinvoices.js.map +1 -0
  345. package/models/operations/listissuedcardauthorizationevents.d.ts +1 -1
  346. package/models/operations/listissuedcardauthorizations.d.ts +1 -1
  347. package/models/operations/listissuedcards.d.ts +1 -1
  348. package/models/operations/listissuedcardtransactions.d.ts +1 -1
  349. package/models/operations/listonboardinginvites.d.ts +1 -1
  350. package/models/operations/listpartnerpricingagreements.d.ts +1 -1
  351. package/models/operations/listpaymentlinks.d.ts +6 -5
  352. package/models/operations/listpaymentlinks.d.ts.map +1 -1
  353. package/models/operations/listpaymentlinks.js +2 -4
  354. package/models/operations/listpaymentlinks.js.map +1 -1
  355. package/models/operations/listpaymentmethods.d.ts +1 -1
  356. package/models/operations/listproducts.d.ts +1 -1
  357. package/models/operations/listreceipts.d.ts +1 -1
  358. package/models/operations/listrefunds.d.ts +1 -1
  359. package/models/operations/listrepresentatives.d.ts +1 -1
  360. package/models/operations/listresidualfees.d.ts +1 -1
  361. package/models/operations/listresiduals.d.ts +1 -1
  362. package/models/operations/listschedules.d.ts +1 -1
  363. package/models/operations/liststatements.d.ts +1 -1
  364. package/models/operations/listsweepconfigs.d.ts +1 -1
  365. package/models/operations/listsweeps.d.ts +1 -1
  366. package/models/operations/listterminalapplications.d.ts +1 -1
  367. package/models/operations/listticketmessages.d.ts +1 -1
  368. package/models/operations/listtickets.d.ts +1 -1
  369. package/models/operations/listtransfers.d.ts +1 -1
  370. package/models/operations/listwallets.d.ts +1 -1
  371. package/models/operations/listwallettransactions.d.ts +1 -1
  372. package/models/operations/listwebhooks.d.ts +1 -1
  373. package/models/operations/ping.d.ts +1 -1
  374. package/models/operations/pingwebhook.d.ts +1 -1
  375. package/models/operations/registerapplepaymerchantdomains.d.ts +1 -1
  376. package/models/operations/requestcapabilities.d.ts +1 -1
  377. package/models/operations/requestcard.d.ts +1 -1
  378. package/models/operations/retrievefees.d.ts +1 -1
  379. package/models/operations/revokeaccesstoken.d.ts +1 -1
  380. package/models/operations/revokeonboardinginvite.d.ts +1 -1
  381. package/models/operations/saveunderwriting.d.ts +1 -1
  382. package/models/operations/searchinstitutions.d.ts +1 -1
  383. package/models/operations/submitdisputeevidence.d.ts +1 -1
  384. package/models/operations/testendtoendtoken.d.ts +1 -1
  385. package/models/operations/updateaccount.d.ts +1 -1
  386. package/models/operations/updateapplepaymerchantdomains.d.ts +1 -1
  387. package/models/operations/updatecard.d.ts +1 -1
  388. package/models/operations/updatedisputeevidence.d.ts +1 -1
  389. package/models/operations/updateimage.d.ts +1 -1
  390. package/models/operations/updateimagemetadata.d.ts +1 -1
  391. package/models/operations/updateinvoice.d.ts +68 -0
  392. package/models/operations/updateinvoice.d.ts.map +1 -0
  393. package/models/operations/updateinvoice.js +124 -0
  394. package/models/operations/updateinvoice.js.map +1 -0
  395. package/models/operations/updateissuedcard.d.ts +1 -1
  396. package/models/operations/updatepaymentlink.d.ts +1 -1
  397. package/models/operations/updateproduct.d.ts +1 -1
  398. package/models/operations/updaterepresentative.d.ts +1 -1
  399. package/models/operations/updateschedule.d.ts +1 -1
  400. package/models/operations/updatesweepconfig.d.ts +1 -1
  401. package/models/operations/updateticket.d.ts +1 -1
  402. package/models/operations/updatetransfer.d.ts +1 -1
  403. package/models/operations/updatewallet.d.ts +1 -1
  404. package/models/operations/updatewebhook.d.ts +1 -1
  405. package/models/operations/uploaddisputeevidencefile.d.ts +1 -1
  406. package/models/operations/uploaddisputeevidencetext.d.ts +1 -1
  407. package/models/operations/uploadfile.d.ts +1 -1
  408. package/models/operations/uploadimage.d.ts +1 -1
  409. package/models/operations/upsertbrand.d.ts +1 -1
  410. package/models/operations/upsertunderwriting.d.ts +1 -1
  411. package/package.json +1 -1
  412. package/sdk/invoices.d.ts +48 -0
  413. package/sdk/invoices.d.ts.map +1 -0
  414. package/sdk/invoices.js +73 -0
  415. package/sdk/invoices.js.map +1 -0
  416. package/sdk/sdk.d.ts +3 -0
  417. package/sdk/sdk.d.ts.map +1 -1
  418. package/sdk/sdk.js +4 -0
  419. package/sdk/sdk.js.map +1 -1
  420. package/src/funcs/cardsLink.ts +5 -1
  421. package/src/funcs/invoicesCreateInvoice.ts +201 -0
  422. package/src/funcs/invoicesCreateInvoicePayment.ts +213 -0
  423. package/src/funcs/invoicesGetInvoice.ts +185 -0
  424. package/src/funcs/invoicesListInvoicePayments.ts +186 -0
  425. package/src/funcs/invoicesListInvoices.ts +198 -0
  426. package/src/funcs/invoicesUpdateInvoice.ts +207 -0
  427. package/src/funcs/paymentLinksList.ts +1 -2
  428. package/src/lib/config.ts +3 -3
  429. package/src/mcp-server/mcp-server.ts +1 -1
  430. package/src/mcp-server/server.ts +13 -1
  431. package/src/mcp-server/tools/invoicesCreateInvoice.ts +38 -0
  432. package/src/mcp-server/tools/invoicesCreateInvoicePayment.ts +40 -0
  433. package/src/mcp-server/tools/invoicesGetInvoice.ts +38 -0
  434. package/src/mcp-server/tools/invoicesListInvoicePayments.ts +38 -0
  435. package/src/mcp-server/tools/invoicesListInvoices.ts +38 -0
  436. package/src/mcp-server/tools/invoicesUpdateInvoice.ts +38 -0
  437. package/src/models/components/accountfees.ts +7 -0
  438. package/src/models/components/amountdecimalupdate.ts +65 -0
  439. package/src/models/components/createinvoice.ts +87 -0
  440. package/src/models/components/createinvoicelineitem.ts +100 -0
  441. package/src/models/components/createinvoicelineitemoption.ts +86 -0
  442. package/src/models/components/createinvoicelineitemoptionvalidationerror.ts +77 -0
  443. package/src/models/components/createinvoicelineitems.ts +63 -0
  444. package/src/models/components/createinvoicelineitemsupdate.ts +65 -0
  445. package/src/models/components/createinvoicelineitemsvalidationerror.ts +64 -0
  446. package/src/models/components/createinvoicelineitemvalidationerror.ts +88 -0
  447. package/src/models/components/createinvoicepayment.ts +70 -0
  448. package/src/models/components/index.ts +23 -0
  449. package/src/models/components/invoice.ts +190 -0
  450. package/src/models/components/invoiceexternalpayment.ts +60 -0
  451. package/src/models/components/invoicelineitem.ts +111 -0
  452. package/src/models/components/invoicelineitemimagemetadata.ts +77 -0
  453. package/src/models/components/invoicelineitemoption.ts +97 -0
  454. package/src/models/components/invoicelineitemoptionvalidationerror.ts +72 -0
  455. package/src/models/components/invoicelineitems.ts +63 -0
  456. package/src/models/components/invoicelineitemsvalidationerror.ts +59 -0
  457. package/src/models/components/invoicelineitemvalidationerror.ts +85 -0
  458. package/src/models/components/invoicepayment.ts +92 -0
  459. package/src/models/components/invoicepaymenttype.ts +21 -0
  460. package/src/models/components/invoicetransferpayment.ts +54 -0
  461. package/src/models/components/paymentlinktype.ts +1 -0
  462. package/src/models/components/transfer.ts +7 -0
  463. package/src/models/components/updateinvoice.ts +98 -0
  464. package/src/models/components/wallettransactiontype.ts +1 -0
  465. package/src/models/errors/createinvoiceerror.ts +104 -0
  466. package/src/models/errors/createinvoicepaymenterror.ts +85 -0
  467. package/src/models/errors/duplicatecarderror.ts +90 -0
  468. package/src/models/errors/index.ts +5 -0
  469. package/src/models/errors/listinvoicesvalidationerror.ts +116 -0
  470. package/src/models/errors/transfer.ts +12 -0
  471. package/src/models/errors/updateinvoiceerror.ts +100 -0
  472. package/src/models/operations/acceptdispute.ts +1 -1
  473. package/src/models/operations/assignaccountcountries.ts +1 -1
  474. package/src/models/operations/cancelschedule.ts +1 -1
  475. package/src/models/operations/completebankaccountverification.ts +1 -1
  476. package/src/models/operations/completemicrodeposits.ts +1 -1
  477. package/src/models/operations/connectaccount.ts +1 -1
  478. package/src/models/operations/createaccesstoken.ts +1 -1
  479. package/src/models/operations/createaccount.ts +1 -1
  480. package/src/models/operations/createapplepaysession.ts +1 -1
  481. package/src/models/operations/createbrand.ts +1 -1
  482. package/src/models/operations/createcancellation.ts +1 -1
  483. package/src/models/operations/createfeeplanagreements.ts +1 -1
  484. package/src/models/operations/createinvoice.ts +187 -0
  485. package/src/models/operations/createinvoicepayment.ts +197 -0
  486. package/src/models/operations/createonboardinginvite.ts +1 -1
  487. package/src/models/operations/createpaymentlink.ts +1 -1
  488. package/src/models/operations/createproduct.ts +1 -1
  489. package/src/models/operations/createreceipts.ts +1 -1
  490. package/src/models/operations/createrepresentative.ts +1 -1
  491. package/src/models/operations/createreversal.ts +1 -1
  492. package/src/models/operations/createschedule.ts +1 -1
  493. package/src/models/operations/createsweepconfig.ts +1 -1
  494. package/src/models/operations/createterminalapplication.ts +1 -1
  495. package/src/models/operations/createterminalapplicationversion.ts +1 -1
  496. package/src/models/operations/createticket.ts +1 -1
  497. package/src/models/operations/createtransfer.ts +1 -1
  498. package/src/models/operations/createtransferoptions.ts +1 -1
  499. package/src/models/operations/createwallet.ts +1 -1
  500. package/src/models/operations/createwebhook.ts +1 -1
  501. package/src/models/operations/deletedisputeevidencefile.ts +1 -1
  502. package/src/models/operations/deleteimage.ts +1 -1
  503. package/src/models/operations/deleterepresentative.ts +1 -1
  504. package/src/models/operations/deleteterminalapplication.ts +1 -1
  505. package/src/models/operations/disablebankaccount.ts +1 -1
  506. package/src/models/operations/disablecapability.ts +1 -1
  507. package/src/models/operations/disablecard.ts +1 -1
  508. package/src/models/operations/disablepaymentlink.ts +1 -1
  509. package/src/models/operations/disableproduct.ts +1 -1
  510. package/src/models/operations/disablewebhook.ts +1 -1
  511. package/src/models/operations/disconnectaccount.ts +1 -1
  512. package/src/models/operations/generateendtoendkey.ts +1 -1
  513. package/src/models/operations/getaccount.ts +1 -1
  514. package/src/models/operations/getaccountcountries.ts +1 -1
  515. package/src/models/operations/getaccountterminalapplication.ts +1 -1
  516. package/src/models/operations/getadjustment.ts +1 -1
  517. package/src/models/operations/getapplepaymerchantdomains.ts +1 -1
  518. package/src/models/operations/getavatar.ts +1 -1
  519. package/src/models/operations/getbankaccount.ts +1 -1
  520. package/src/models/operations/getbankaccountverification.ts +1 -1
  521. package/src/models/operations/getbrand.ts +1 -1
  522. package/src/models/operations/getcancellation.ts +1 -1
  523. package/src/models/operations/getcapability.ts +1 -1
  524. package/src/models/operations/getcard.ts +1 -1
  525. package/src/models/operations/getdispute.ts +1 -1
  526. package/src/models/operations/getdisputeevidence.ts +1 -1
  527. package/src/models/operations/getdisputeevidencedata.ts +1 -1
  528. package/src/models/operations/getenrichmentaddress.ts +1 -1
  529. package/src/models/operations/getenrichmentprofile.ts +1 -1
  530. package/src/models/operations/getfiledetails.ts +1 -1
  531. package/src/models/operations/getfullissuedcard.ts +1 -1
  532. package/src/models/operations/getimagemetadata.ts +1 -1
  533. package/src/models/operations/getinvoice.ts +179 -0
  534. package/src/models/operations/getissuedcard.ts +1 -1
  535. package/src/models/operations/getissuedcardauthorization.ts +1 -1
  536. package/src/models/operations/getissuedcardtransaction.ts +1 -1
  537. package/src/models/operations/getmerchantprocessingagreement.ts +1 -1
  538. package/src/models/operations/getonboardinginvite.ts +1 -1
  539. package/src/models/operations/getpaymentlink.ts +1 -1
  540. package/src/models/operations/getpaymentlinkqrcode.ts +1 -1
  541. package/src/models/operations/getpaymentmethod.ts +1 -1
  542. package/src/models/operations/getproduct.ts +1 -1
  543. package/src/models/operations/getpublicimage.ts +8 -6
  544. package/src/models/operations/getrefund.ts +1 -1
  545. package/src/models/operations/getrepresentative.ts +1 -1
  546. package/src/models/operations/getresidual.ts +1 -1
  547. package/src/models/operations/getscheduledoccurrence.ts +1 -1
  548. package/src/models/operations/getschedules.ts +1 -1
  549. package/src/models/operations/getstatement.ts +1 -1
  550. package/src/models/operations/getsweep.ts +1 -1
  551. package/src/models/operations/getsweepconfig.ts +1 -1
  552. package/src/models/operations/getterminalapplication.ts +1 -1
  553. package/src/models/operations/getterminalconfiguration.ts +1 -1
  554. package/src/models/operations/gettermsofservicetoken.ts +1 -1
  555. package/src/models/operations/getticket.ts +1 -1
  556. package/src/models/operations/gettransfer.ts +1 -1
  557. package/src/models/operations/getunderwriting.ts +1 -1
  558. package/src/models/operations/getwallet.ts +1 -1
  559. package/src/models/operations/getwallettransaction.ts +1 -1
  560. package/src/models/operations/getwebhook.ts +1 -1
  561. package/src/models/operations/getwebhooksecret.ts +1 -1
  562. package/src/models/operations/index.ts +6 -0
  563. package/src/models/operations/initiatebankaccountverification.ts +1 -1
  564. package/src/models/operations/initiatemicrodeposits.ts +1 -1
  565. package/src/models/operations/initiaterefund.ts +1 -1
  566. package/src/models/operations/linkaccountterminalapplication.ts +1 -1
  567. package/src/models/operations/linkapplepaytoken.ts +1 -1
  568. package/src/models/operations/linkbankaccount.ts +1 -1
  569. package/src/models/operations/linkcard.ts +1 -1
  570. package/src/models/operations/listaccounts.ts +1 -1
  571. package/src/models/operations/listaccountterminalapplications.ts +1 -1
  572. package/src/models/operations/listadjustments.ts +1 -1
  573. package/src/models/operations/listbankaccounts.ts +1 -1
  574. package/src/models/operations/listcapabilities.ts +1 -1
  575. package/src/models/operations/listcards.ts +1 -1
  576. package/src/models/operations/listconnectedaccountsforaccount.ts +1 -1
  577. package/src/models/operations/listdisputeevidence.ts +1 -1
  578. package/src/models/operations/listdisputes.ts +1 -1
  579. package/src/models/operations/listeventtypes.ts +1 -1
  580. package/src/models/operations/listfeeplanagreements.ts +1 -1
  581. package/src/models/operations/listfeeplans.ts +1 -1
  582. package/src/models/operations/listfeerevenue.ts +1 -1
  583. package/src/models/operations/listfeesfetch.ts +1 -1
  584. package/src/models/operations/listfiles.ts +1 -1
  585. package/src/models/operations/listimagemetadata.ts +1 -1
  586. package/src/models/operations/listindustries.ts +1 -1
  587. package/src/models/operations/listinstitutions.ts +1 -1
  588. package/src/models/operations/listinvoicepayments.ts +181 -0
  589. package/src/models/operations/listinvoices.ts +215 -0
  590. package/src/models/operations/listissuedcardauthorizationevents.ts +1 -1
  591. package/src/models/operations/listissuedcardauthorizations.ts +1 -1
  592. package/src/models/operations/listissuedcards.ts +1 -1
  593. package/src/models/operations/listissuedcardtransactions.ts +1 -1
  594. package/src/models/operations/listonboardinginvites.ts +1 -1
  595. package/src/models/operations/listpartnerpricingagreements.ts +1 -1
  596. package/src/models/operations/listpaymentlinks.ts +8 -9
  597. package/src/models/operations/listpaymentmethods.ts +1 -1
  598. package/src/models/operations/listproducts.ts +1 -1
  599. package/src/models/operations/listreceipts.ts +1 -1
  600. package/src/models/operations/listrefunds.ts +1 -1
  601. package/src/models/operations/listrepresentatives.ts +1 -1
  602. package/src/models/operations/listresidualfees.ts +1 -1
  603. package/src/models/operations/listresiduals.ts +1 -1
  604. package/src/models/operations/listschedules.ts +1 -1
  605. package/src/models/operations/liststatements.ts +1 -1
  606. package/src/models/operations/listsweepconfigs.ts +1 -1
  607. package/src/models/operations/listsweeps.ts +1 -1
  608. package/src/models/operations/listterminalapplications.ts +1 -1
  609. package/src/models/operations/listticketmessages.ts +1 -1
  610. package/src/models/operations/listtickets.ts +1 -1
  611. package/src/models/operations/listtransfers.ts +1 -1
  612. package/src/models/operations/listwallets.ts +1 -1
  613. package/src/models/operations/listwallettransactions.ts +1 -1
  614. package/src/models/operations/listwebhooks.ts +1 -1
  615. package/src/models/operations/ping.ts +1 -1
  616. package/src/models/operations/pingwebhook.ts +1 -1
  617. package/src/models/operations/registerapplepaymerchantdomains.ts +1 -1
  618. package/src/models/operations/requestcapabilities.ts +1 -1
  619. package/src/models/operations/requestcard.ts +1 -1
  620. package/src/models/operations/retrievefees.ts +1 -1
  621. package/src/models/operations/revokeaccesstoken.ts +1 -1
  622. package/src/models/operations/revokeonboardinginvite.ts +1 -1
  623. package/src/models/operations/saveunderwriting.ts +1 -1
  624. package/src/models/operations/searchinstitutions.ts +1 -1
  625. package/src/models/operations/submitdisputeevidence.ts +1 -1
  626. package/src/models/operations/testendtoendtoken.ts +1 -1
  627. package/src/models/operations/updateaccount.ts +1 -1
  628. package/src/models/operations/updateapplepaymerchantdomains.ts +1 -1
  629. package/src/models/operations/updatecard.ts +1 -1
  630. package/src/models/operations/updatedisputeevidence.ts +1 -1
  631. package/src/models/operations/updateimage.ts +1 -1
  632. package/src/models/operations/updateimagemetadata.ts +1 -1
  633. package/src/models/operations/updateinvoice.ts +191 -0
  634. package/src/models/operations/updateissuedcard.ts +1 -1
  635. package/src/models/operations/updatepaymentlink.ts +1 -1
  636. package/src/models/operations/updateproduct.ts +1 -1
  637. package/src/models/operations/updaterepresentative.ts +1 -1
  638. package/src/models/operations/updateschedule.ts +1 -1
  639. package/src/models/operations/updatesweepconfig.ts +1 -1
  640. package/src/models/operations/updateticket.ts +1 -1
  641. package/src/models/operations/updatetransfer.ts +1 -1
  642. package/src/models/operations/updatewallet.ts +1 -1
  643. package/src/models/operations/updatewebhook.ts +1 -1
  644. package/src/models/operations/uploaddisputeevidencefile.ts +1 -1
  645. package/src/models/operations/uploaddisputeevidencetext.ts +1 -1
  646. package/src/models/operations/uploadfile.ts +1 -1
  647. package/src/models/operations/uploadimage.ts +1 -1
  648. package/src/models/operations/upsertbrand.ts +1 -1
  649. package/src/models/operations/upsertunderwriting.ts +1 -1
  650. package/src/sdk/invoices.ts +118 -0
  651. package/src/sdk/sdk.ts +6 -0
@@ -14,7 +14,7 @@ export type UpdateApplePayMerchantDomainsGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdateCardGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdateDisputeEvidenceGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdateImageGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdateImageMetadataGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -0,0 +1,68 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import * as components from "../components/index.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export type UpdateInvoiceGlobals = {
6
+ /**
7
+ * Specify an API version.
8
+ *
9
+ * @remarks
10
+ *
11
+ * API versioning follows the format `vYYYY.QQ.BB`, where
12
+ * - `YYYY` is the year
13
+ * - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
14
+ * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
+ * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
+ *
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
+ * When no version is specified, the API defaults to `v2024.01.00`.
19
+ */
20
+ xMoovVersion?: string | undefined;
21
+ };
22
+ export type UpdateInvoiceRequest = {
23
+ accountID: string;
24
+ invoiceID: string;
25
+ updateInvoice: components.UpdateInvoice;
26
+ };
27
+ export type UpdateInvoiceResponse = {
28
+ headers: {
29
+ [k: string]: Array<string>;
30
+ };
31
+ result: components.Invoice;
32
+ };
33
+ /** @internal */
34
+ export declare const UpdateInvoiceGlobals$inboundSchema: z.ZodType<UpdateInvoiceGlobals, z.ZodTypeDef, unknown>;
35
+ /** @internal */
36
+ export type UpdateInvoiceGlobals$Outbound = {
37
+ "X-Moov-Version"?: string | undefined;
38
+ };
39
+ /** @internal */
40
+ export declare const UpdateInvoiceGlobals$outboundSchema: z.ZodType<UpdateInvoiceGlobals$Outbound, z.ZodTypeDef, UpdateInvoiceGlobals>;
41
+ export declare function updateInvoiceGlobalsToJSON(updateInvoiceGlobals: UpdateInvoiceGlobals): string;
42
+ export declare function updateInvoiceGlobalsFromJSON(jsonString: string): SafeParseResult<UpdateInvoiceGlobals, SDKValidationError>;
43
+ /** @internal */
44
+ export declare const UpdateInvoiceRequest$inboundSchema: z.ZodType<UpdateInvoiceRequest, z.ZodTypeDef, unknown>;
45
+ /** @internal */
46
+ export type UpdateInvoiceRequest$Outbound = {
47
+ accountID: string;
48
+ invoiceID: string;
49
+ UpdateInvoice: components.UpdateInvoice$Outbound;
50
+ };
51
+ /** @internal */
52
+ export declare const UpdateInvoiceRequest$outboundSchema: z.ZodType<UpdateInvoiceRequest$Outbound, z.ZodTypeDef, UpdateInvoiceRequest>;
53
+ export declare function updateInvoiceRequestToJSON(updateInvoiceRequest: UpdateInvoiceRequest): string;
54
+ export declare function updateInvoiceRequestFromJSON(jsonString: string): SafeParseResult<UpdateInvoiceRequest, SDKValidationError>;
55
+ /** @internal */
56
+ export declare const UpdateInvoiceResponse$inboundSchema: z.ZodType<UpdateInvoiceResponse, z.ZodTypeDef, unknown>;
57
+ /** @internal */
58
+ export type UpdateInvoiceResponse$Outbound = {
59
+ Headers: {
60
+ [k: string]: Array<string>;
61
+ };
62
+ Result: components.Invoice$Outbound;
63
+ };
64
+ /** @internal */
65
+ export declare const UpdateInvoiceResponse$outboundSchema: z.ZodType<UpdateInvoiceResponse$Outbound, z.ZodTypeDef, UpdateInvoiceResponse>;
66
+ export declare function updateInvoiceResponseToJSON(updateInvoiceResponse: UpdateInvoiceResponse): string;
67
+ export declare function updateInvoiceResponseFromJSON(jsonString: string): SafeParseResult<UpdateInvoiceResponse, SDKValidationError>;
68
+ //# sourceMappingURL=updateinvoice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateinvoice.d.ts","sourceRoot":"","sources":["../../src/models/operations/updateinvoice.ts"],"names":[],"mapp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 * 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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.UpdateInvoiceResponse$outboundSchema = exports.UpdateInvoiceResponse$inboundSchema = exports.UpdateInvoiceRequest$outboundSchema = exports.UpdateInvoiceRequest$inboundSchema = exports.UpdateInvoiceGlobals$outboundSchema = exports.UpdateInvoiceGlobals$inboundSchema = void 0;
40
+ exports.updateInvoiceGlobalsToJSON = updateInvoiceGlobalsToJSON;
41
+ exports.updateInvoiceGlobalsFromJSON = updateInvoiceGlobalsFromJSON;
42
+ exports.updateInvoiceRequestToJSON = updateInvoiceRequestToJSON;
43
+ exports.updateInvoiceRequestFromJSON = updateInvoiceRequestFromJSON;
44
+ exports.updateInvoiceResponseToJSON = updateInvoiceResponseToJSON;
45
+ exports.updateInvoiceResponseFromJSON = updateInvoiceResponseFromJSON;
46
+ const z = __importStar(require("zod/v3"));
47
+ const primitives_js_1 = require("../../lib/primitives.js");
48
+ const schemas_js_1 = require("../../lib/schemas.js");
49
+ const components = __importStar(require("../components/index.js"));
50
+ /** @internal */
51
+ exports.UpdateInvoiceGlobals$inboundSchema = z.object({
52
+ "X-Moov-Version": z.string().optional(),
53
+ }).transform((v) => {
54
+ return (0, primitives_js_1.remap)(v, {
55
+ "X-Moov-Version": "xMoovVersion",
56
+ });
57
+ });
58
+ /** @internal */
59
+ exports.UpdateInvoiceGlobals$outboundSchema = z.object({
60
+ xMoovVersion: z.string().optional(),
61
+ }).transform((v) => {
62
+ return (0, primitives_js_1.remap)(v, {
63
+ xMoovVersion: "X-Moov-Version",
64
+ });
65
+ });
66
+ function updateInvoiceGlobalsToJSON(updateInvoiceGlobals) {
67
+ return JSON.stringify(exports.UpdateInvoiceGlobals$outboundSchema.parse(updateInvoiceGlobals));
68
+ }
69
+ function updateInvoiceGlobalsFromJSON(jsonString) {
70
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateInvoiceGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateInvoiceGlobals' from JSON`);
71
+ }
72
+ /** @internal */
73
+ exports.UpdateInvoiceRequest$inboundSchema = z.object({
74
+ accountID: z.string(),
75
+ invoiceID: z.string(),
76
+ UpdateInvoice: components.UpdateInvoice$inboundSchema,
77
+ }).transform((v) => {
78
+ return (0, primitives_js_1.remap)(v, {
79
+ "UpdateInvoice": "updateInvoice",
80
+ });
81
+ });
82
+ /** @internal */
83
+ exports.UpdateInvoiceRequest$outboundSchema = z.object({
84
+ accountID: z.string(),
85
+ invoiceID: z.string(),
86
+ updateInvoice: components.UpdateInvoice$outboundSchema,
87
+ }).transform((v) => {
88
+ return (0, primitives_js_1.remap)(v, {
89
+ updateInvoice: "UpdateInvoice",
90
+ });
91
+ });
92
+ function updateInvoiceRequestToJSON(updateInvoiceRequest) {
93
+ return JSON.stringify(exports.UpdateInvoiceRequest$outboundSchema.parse(updateInvoiceRequest));
94
+ }
95
+ function updateInvoiceRequestFromJSON(jsonString) {
96
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateInvoiceRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateInvoiceRequest' from JSON`);
97
+ }
98
+ /** @internal */
99
+ exports.UpdateInvoiceResponse$inboundSchema = z.object({
100
+ Headers: z.record(z.array(z.string())).default({}),
101
+ Result: components.Invoice$inboundSchema,
102
+ }).transform((v) => {
103
+ return (0, primitives_js_1.remap)(v, {
104
+ "Headers": "headers",
105
+ "Result": "result",
106
+ });
107
+ });
108
+ /** @internal */
109
+ exports.UpdateInvoiceResponse$outboundSchema = z.object({
110
+ headers: z.record(z.array(z.string())),
111
+ result: components.Invoice$outboundSchema,
112
+ }).transform((v) => {
113
+ return (0, primitives_js_1.remap)(v, {
114
+ headers: "Headers",
115
+ result: "Result",
116
+ });
117
+ });
118
+ function updateInvoiceResponseToJSON(updateInvoiceResponse) {
119
+ return JSON.stringify(exports.UpdateInvoiceResponse$outboundSchema.parse(updateInvoiceResponse));
120
+ }
121
+ function updateInvoiceResponseFromJSON(jsonString) {
122
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateInvoiceResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateInvoiceResponse' from JSON`);
123
+ }
124
+ //# sourceMappingURL=updateinvoice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateinvoice.js","sourceRoot":"","sources":["../../src/models/operations/updateinvoice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEH,gEAMC;AACD,oEAQC;AAsCD,gEAMC;AACD,oEAQC;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,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE,UAAU,CAAC,sBAAsB;CAC1C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AACD,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -14,7 +14,7 @@ export type UpdateIssuedCardGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdatePaymentLinkGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdateProductGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdateRepresentativeGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdateScheduleGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdateSweepConfigGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdateTicketGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdateTransferGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdateWalletGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpdateWebhookGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UploadDisputeEvidenceFileGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UploadDisputeEvidenceTextGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UploadFileGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UploadImageGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpsertBrandGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
@@ -14,7 +14,7 @@ export type UpsertUnderwritingGlobals = {
14
14
  * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
15
  * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
16
  *
17
- * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
17
+ * The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
18
  * When no version is specified, the API defaults to `v2024.01.00`.
19
19
  */
20
20
  xMoovVersion?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moovio/sdk",
3
- "version": "26.4.0-dev.6",
3
+ "version": "26.4.0-dev.8",
4
4
  "author": "Moov",
5
5
  "bin": {
6
6
  "mcp": "bin/mcp-server.js"
@@ -0,0 +1,48 @@
1
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
+ import * as operations from "../models/operations/index.js";
3
+ export declare class Invoices extends ClientSDK {
4
+ /**
5
+ * Create an invoice for a Moov account.
6
+ *
7
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
8
+ * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
9
+ */
10
+ createInvoice(request: operations.CreateInvoiceRequest, options?: RequestOptions): Promise<operations.CreateInvoiceResponse>;
11
+ /**
12
+ * List all the invoices created under a Moov account.
13
+ *
14
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
15
+ * you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
16
+ */
17
+ listInvoices(request: operations.ListInvoicesRequest, options?: RequestOptions): Promise<operations.ListInvoicesResponse>;
18
+ /**
19
+ * Retrieve an invoice by ID.
20
+ *
21
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
22
+ * you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
23
+ */
24
+ getInvoice(request: operations.GetInvoiceRequest, options?: RequestOptions): Promise<operations.GetInvoiceResponse>;
25
+ /**
26
+ * Updates an invoice.
27
+ *
28
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
29
+ * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
30
+ */
31
+ updateInvoice(request: operations.UpdateInvoiceRequest, options?: RequestOptions): Promise<operations.UpdateInvoiceResponse>;
32
+ /**
33
+ * Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
34
+ * If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
35
+ *
36
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
37
+ * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
38
+ */
39
+ createInvoicePayment(request: operations.CreateInvoicePaymentRequest, options?: RequestOptions): Promise<operations.CreateInvoicePaymentResponse>;
40
+ /**
41
+ * List all the payments made towards an invoice.
42
+ *
43
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
44
+ * you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
45
+ */
46
+ listInvoicePayments(request: operations.ListInvoicePaymentsRequest, options?: RequestOptions): Promise<operations.ListInvoicePaymentsResponse>;
47
+ }
48
+ //# sourceMappingURL=invoices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoices.d.ts","sourceRoot":"","sources":["../src/sdk/invoices.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAQ5C;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAQ3C;;;;;OAKG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAQzC;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAQ5C;;;;;;OAMG;IACG,oBAAoB,CACxB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4BAA4B,CAAC;IAQnD;;;;;OAKG;IACG,mBAAmB,CACvB,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC;CAOnD"}
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Invoices = void 0;
7
+ const invoicesCreateInvoice_js_1 = require("../funcs/invoicesCreateInvoice.js");
8
+ const invoicesCreateInvoicePayment_js_1 = require("../funcs/invoicesCreateInvoicePayment.js");
9
+ const invoicesGetInvoice_js_1 = require("../funcs/invoicesGetInvoice.js");
10
+ const invoicesListInvoicePayments_js_1 = require("../funcs/invoicesListInvoicePayments.js");
11
+ const invoicesListInvoices_js_1 = require("../funcs/invoicesListInvoices.js");
12
+ const invoicesUpdateInvoice_js_1 = require("../funcs/invoicesUpdateInvoice.js");
13
+ const sdks_js_1 = require("../lib/sdks.js");
14
+ const fp_js_1 = require("../types/fp.js");
15
+ class Invoices extends sdks_js_1.ClientSDK {
16
+ /**
17
+ * Create an invoice for a Moov account.
18
+ *
19
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
20
+ * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
21
+ */
22
+ async createInvoice(request, options) {
23
+ return (0, fp_js_1.unwrapAsync)((0, invoicesCreateInvoice_js_1.invoicesCreateInvoice)(this, request, options));
24
+ }
25
+ /**
26
+ * List all the invoices created under a Moov account.
27
+ *
28
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
29
+ * you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
30
+ */
31
+ async listInvoices(request, options) {
32
+ return (0, fp_js_1.unwrapAsync)((0, invoicesListInvoices_js_1.invoicesListInvoices)(this, request, options));
33
+ }
34
+ /**
35
+ * Retrieve an invoice by ID.
36
+ *
37
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
38
+ * you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
39
+ */
40
+ async getInvoice(request, options) {
41
+ return (0, fp_js_1.unwrapAsync)((0, invoicesGetInvoice_js_1.invoicesGetInvoice)(this, request, options));
42
+ }
43
+ /**
44
+ * Updates an invoice.
45
+ *
46
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
47
+ * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
48
+ */
49
+ async updateInvoice(request, options) {
50
+ return (0, fp_js_1.unwrapAsync)((0, invoicesUpdateInvoice_js_1.invoicesUpdateInvoice)(this, request, options));
51
+ }
52
+ /**
53
+ * Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
54
+ * If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
55
+ *
56
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
57
+ * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
58
+ */
59
+ async createInvoicePayment(request, options) {
60
+ return (0, fp_js_1.unwrapAsync)((0, invoicesCreateInvoicePayment_js_1.invoicesCreateInvoicePayment)(this, request, options));
61
+ }
62
+ /**
63
+ * List all the payments made towards an invoice.
64
+ *
65
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66
+ * you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
67
+ */
68
+ async listInvoicePayments(request, options) {
69
+ return (0, fp_js_1.unwrapAsync)((0, invoicesListInvoicePayments_js_1.invoicesListInvoicePayments)(this, request, options));
70
+ }
71
+ }
72
+ exports.Invoices = Invoices;
73
+ //# sourceMappingURL=invoices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoices.js","sourceRoot":"","sources":["../src/sdk/invoices.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,gFAA0E;AAC1E,8FAAwF;AACxF,0EAAoE;AACpE,4FAAsF;AACtF,8EAAwE;AACxE,gFAA0E;AAC1E,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACrC;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACjB,OAAwC,EACxC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8CAAoB,EACrC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAAqC,EACrC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACjB,OAAwC,EACxC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,oBAAoB,CACxB,OAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8DAA4B,EAC7C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4DAA2B,EAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAvGD,4BAuGC"}
package/sdk/sdk.d.ts CHANGED
@@ -19,6 +19,7 @@ import { Files } from "./files.js";
19
19
  import { Images } from "./images.js";
20
20
  import { Industries } from "./industries.js";
21
21
  import { Institutions } from "./institutions.js";
22
+ import { Invoices } from "./invoices.js";
22
23
  import { IssuingTransactions } from "./issuingtransactions.js";
23
24
  import { Onboarding } from "./onboarding.js";
24
25
  import { PaymentLinks } from "./paymentlinks.js";
@@ -60,6 +61,8 @@ export declare class Moov extends ClientSDK {
60
61
  get files(): Files;
61
62
  private _images?;
62
63
  get images(): Images;
64
+ private _invoices?;
65
+ get invoices(): Invoices;
63
66
  private _paymentLinks?;
64
67
  get paymentLinks(): PaymentLinks;
65
68
  private _paymentMethods?;
package/sdk/sdk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CAAW;IAC7B,IAAI,QAAQ,IAAI,QAAQ,CAEvB;IAED,OAAO,CAAC,qBAAqB,CAAC,CAAuB;IACrD,IAAI,oBAAoB,IAAI,oBAAoB,CAI/C;CACF"}
package/sdk/sdk.js CHANGED
@@ -25,6 +25,7 @@ const files_js_1 = require("./files.js");
25
25
  const images_js_1 = require("./images.js");
26
26
  const industries_js_1 = require("./industries.js");
27
27
  const institutions_js_1 = require("./institutions.js");
28
+ const invoices_js_1 = require("./invoices.js");
28
29
  const issuingtransactions_js_1 = require("./issuingtransactions.js");
29
30
  const onboarding_js_1 = require("./onboarding.js");
30
31
  const paymentlinks_js_1 = require("./paymentlinks.js");
@@ -77,6 +78,9 @@ class Moov extends sdks_js_1.ClientSDK {
77
78
  get images() {
78
79
  return (this._images ?? (this._images = new images_js_1.Images(this._options)));
79
80
  }
81
+ get invoices() {
82
+ return (this._invoices ?? (this._invoices = new invoices_js_1.Invoices(this._options)));
83
+ }
80
84
  get paymentLinks() {
81
85
  return (this._paymentLinks ?? (this._paymentLinks = new paymentlinks_js_1.PaymentLinks(this._options)));
82
86
  }