@moovio/sdk 26.7.0 → 26.7.2

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 (546) hide show
  1. package/README.md +107 -83
  2. package/bin/mcp-server.js +1121 -380
  3. package/bin/mcp-server.js.map +127 -101
  4. package/funcs/cardIssuingGetFull.d.ts +1 -1
  5. package/funcs/cardIssuingGetFull.js +1 -1
  6. package/funcs/cardIssuingListMerchantCategories.d.ts +19 -0
  7. package/funcs/cardIssuingListMerchantCategories.d.ts.map +1 -0
  8. package/funcs/cardIssuingListMerchantCategories.js +109 -0
  9. package/funcs/cardIssuingListMerchantCategories.js.map +1 -0
  10. package/funcs/imagesUpload.d.ts +1 -1
  11. package/funcs/imagesUpload.js +1 -1
  12. package/funcs/institutionsSearch.d.ts +1 -1
  13. package/funcs/institutionsSearch.js +1 -1
  14. package/funcs/issuingTransactionsList.js +1 -0
  15. package/funcs/issuingTransactionsList.js.map +1 -1
  16. package/funcs/transfersCreateCancellation.d.ts +3 -0
  17. package/funcs/transfersCreateCancellation.d.ts.map +1 -1
  18. package/funcs/transfersCreateCancellation.js +6 -1
  19. package/funcs/transfersCreateCancellation.js.map +1 -1
  20. package/funcs/transfersCreateReversal.d.ts +3 -0
  21. package/funcs/transfersCreateReversal.d.ts.map +1 -1
  22. package/funcs/transfersCreateReversal.js +3 -0
  23. package/funcs/transfersCreateReversal.js.map +1 -1
  24. package/funcs/transfersList.js +2 -0
  25. package/funcs/transfersList.js.map +1 -1
  26. package/funcs/transfersListCancellations.js +1 -1
  27. package/funcs/transfersListCancellations.js.map +1 -1
  28. package/funcs/transfersListRefunds.js +1 -1
  29. package/funcs/transfersListRefunds.js.map +1 -1
  30. package/jsr.json +1 -1
  31. package/lib/config.d.ts +3 -3
  32. package/lib/config.js +3 -3
  33. package/lib/encodings.d.ts +10 -9
  34. package/lib/encodings.d.ts.map +1 -1
  35. package/lib/encodings.js +29 -13
  36. package/lib/encodings.js.map +1 -1
  37. package/mcp-server/mcp-server.js +1 -1
  38. package/mcp-server/server.d.ts.map +1 -1
  39. package/mcp-server/server.js +8 -6
  40. package/mcp-server/server.js.map +1 -1
  41. package/mcp-server/tools/avatarsGet.js +1 -1
  42. package/mcp-server/tools/cardIssuingGetFull.js +1 -1
  43. package/mcp-server/tools/cardIssuingGetFull.js.map +1 -1
  44. package/mcp-server/tools/cardIssuingListMerchantCategories.d.ts +3 -0
  45. package/mcp-server/tools/cardIssuingListMerchantCategories.d.ts.map +1 -0
  46. package/mcp-server/tools/cardIssuingListMerchantCategories.js +29 -0
  47. package/mcp-server/tools/cardIssuingListMerchantCategories.js.map +1 -0
  48. package/mcp-server/tools/enrichedAddressGet.js +1 -1
  49. package/mcp-server/tools/enrichedProfileGet.js +1 -1
  50. package/mcp-server/tools/imagesUpload.js +1 -1
  51. package/mcp-server/tools/imagesUpload.js.map +1 -1
  52. package/mcp-server/tools/institutionsSearch.js +2 -2
  53. package/mcp-server/tools/transfersCreateCancellation.d.ts.map +1 -1
  54. package/mcp-server/tools/transfersCreateCancellation.js +3 -0
  55. package/mcp-server/tools/transfersCreateCancellation.js.map +1 -1
  56. package/mcp-server/tools/transfersCreateReversal.d.ts.map +1 -1
  57. package/mcp-server/tools/transfersCreateReversal.js +4 -1
  58. package/mcp-server/tools/transfersCreateReversal.js.map +1 -1
  59. package/mcp-server/tools/transfersListCancellations.js +1 -1
  60. package/models/components/adjustmentfees.d.ts +30 -0
  61. package/models/components/adjustmentfees.d.ts.map +1 -0
  62. package/models/components/adjustmentfees.js +62 -0
  63. package/models/components/adjustmentfees.js.map +1 -0
  64. package/models/components/allowedscheduleerror.d.ts +24 -0
  65. package/models/components/allowedscheduleerror.d.ts.map +1 -0
  66. package/models/components/allowedscheduleerror.js +62 -0
  67. package/models/components/allowedscheduleerror.js.map +1 -0
  68. package/models/components/amountdecimalrange.d.ts +1 -3
  69. package/models/components/amountdecimalrange.d.ts.map +1 -1
  70. package/models/components/amountdecimalrange.js.map +1 -1
  71. package/models/components/amountdecimalrangeupdate.d.ts +1 -3
  72. package/models/components/amountdecimalrangeupdate.d.ts.map +1 -1
  73. package/models/components/amountdecimalrangeupdate.js.map +1 -1
  74. package/models/components/applicationscope.d.ts +1 -1
  75. package/models/components/applicationscope.js +1 -1
  76. package/models/components/applicationscope.js.map +1 -1
  77. package/models/components/billingadjustment.d.ts +34 -0
  78. package/models/components/billingadjustment.d.ts.map +1 -0
  79. package/models/components/billingadjustment.js +64 -0
  80. package/models/components/billingadjustment.js.map +1 -0
  81. package/models/components/billingsummary.d.ts +15 -10
  82. package/models/components/billingsummary.d.ts.map +1 -1
  83. package/models/components/billingsummary.js +14 -11
  84. package/models/components/billingsummary.js.map +1 -1
  85. package/models/components/cancellation.d.ts +3 -0
  86. package/models/components/cancellation.d.ts.map +1 -1
  87. package/models/components/cancellation.js.map +1 -1
  88. package/models/components/createdtransfer.d.ts +14 -0
  89. package/models/components/createdtransfer.d.ts.map +1 -1
  90. package/models/components/createdtransfer.js +3 -0
  91. package/models/components/createdtransfer.js.map +1 -1
  92. package/models/components/createfeeplanagreement.d.ts +16 -1
  93. package/models/components/createfeeplanagreement.d.ts.map +1 -1
  94. package/models/components/createfeeplanagreement.js +2 -0
  95. package/models/components/createfeeplanagreement.js.map +1 -1
  96. package/models/components/createpaymentlink.d.ts +3 -0
  97. package/models/components/createpaymentlink.d.ts.map +1 -1
  98. package/models/components/createpaymentlink.js.map +1 -1
  99. package/models/components/createrefund.d.ts +2 -2
  100. package/models/components/createreversal.d.ts +6 -1
  101. package/models/components/createreversal.d.ts.map +1 -1
  102. package/models/components/createreversal.js.map +1 -1
  103. package/models/components/createtransfer.d.ts +1 -1
  104. package/models/components/facilitatorfee.d.ts +2 -2
  105. package/models/components/feepaidby.d.ts +0 -6
  106. package/models/components/feepaidby.d.ts.map +1 -1
  107. package/models/components/feepaidby.js +0 -3
  108. package/models/components/feepaidby.js.map +1 -1
  109. package/models/components/feeplanagreement.d.ts +10 -0
  110. package/models/components/feeplanagreement.d.ts.map +1 -1
  111. package/models/components/feeplanagreement.js +5 -0
  112. package/models/components/feeplanagreement.js.map +1 -1
  113. package/models/components/fullissuedcard.d.ts +7 -3
  114. package/models/components/fullissuedcard.d.ts.map +1 -1
  115. package/models/components/fullissuedcard.js +3 -3
  116. package/models/components/fullissuedcard.js.map +1 -1
  117. package/models/components/index.d.ts +23 -0
  118. package/models/components/index.d.ts.map +1 -1
  119. package/models/components/index.js +23 -0
  120. package/models/components/index.js.map +1 -1
  121. package/models/components/issuedcard.d.ts +7 -3
  122. package/models/components/issuedcard.d.ts.map +1 -1
  123. package/models/components/issuedcard.js +3 -3
  124. package/models/components/issuedcard.js.map +1 -1
  125. package/models/components/issuedcardstate.d.ts +3 -0
  126. package/models/components/issuedcardstate.d.ts.map +1 -1
  127. package/models/components/issuedcardstate.js +2 -0
  128. package/models/components/issuedcardstate.js.map +1 -1
  129. package/models/components/issuedcontrols.d.ts +73 -0
  130. package/models/components/issuedcontrols.d.ts.map +1 -0
  131. package/models/components/issuedcontrols.js +92 -0
  132. package/models/components/issuedcontrols.js.map +1 -0
  133. package/models/components/issuedvelocitylimit.d.ts +59 -0
  134. package/models/components/issuedvelocitylimit.d.ts.map +1 -0
  135. package/models/components/issuedvelocitylimit.js +74 -0
  136. package/models/components/issuedvelocitylimit.js.map +1 -0
  137. package/models/components/issuingcontrols.d.ts +47 -0
  138. package/models/components/issuingcontrols.d.ts.map +1 -1
  139. package/models/components/issuingcontrols.js +33 -1
  140. package/models/components/issuingcontrols.js.map +1 -1
  141. package/models/components/issuingcontrolserror.d.ts +11 -0
  142. package/models/components/issuingcontrolserror.d.ts.map +1 -1
  143. package/models/components/issuingcontrolserror.js +12 -0
  144. package/models/components/issuingcontrolserror.js.map +1 -1
  145. package/models/components/issuingcontrolsrestrictionmode.d.ts +18 -0
  146. package/models/components/issuingcontrolsrestrictionmode.d.ts.map +1 -0
  147. package/models/components/issuingcontrolsrestrictionmode.js +52 -0
  148. package/models/components/issuingcontrolsrestrictionmode.js.map +1 -0
  149. package/models/components/issuingintervallimit.d.ts +7 -4
  150. package/models/components/issuingintervallimit.d.ts.map +1 -1
  151. package/models/components/issuingintervallimit.js +6 -3
  152. package/models/components/issuingintervallimit.js.map +1 -1
  153. package/models/components/issuingmerchantcategory.d.ts +42 -0
  154. package/models/components/issuingmerchantcategory.d.ts.map +1 -0
  155. package/models/components/issuingmerchantcategory.js +76 -0
  156. package/models/components/issuingmerchantcategory.js.map +1 -0
  157. package/models/components/issuingscheduleday.d.ts +17 -0
  158. package/models/components/issuingscheduleday.d.ts.map +1 -0
  159. package/models/components/issuingscheduleday.js +54 -0
  160. package/models/components/issuingscheduleday.js.map +1 -0
  161. package/models/components/issuingvelocitylimit.d.ts +7 -2
  162. package/models/components/issuingvelocitylimit.d.ts.map +1 -1
  163. package/models/components/issuingvelocitylimit.js +4 -2
  164. package/models/components/issuingvelocitylimit.js.map +1 -1
  165. package/models/components/issuingvelocitylimiterror.d.ts +2 -0
  166. package/models/components/issuingvelocitylimiterror.d.ts.map +1 -1
  167. package/models/components/issuingvelocitylimiterror.js +2 -0
  168. package/models/components/issuingvelocitylimiterror.js.map +1 -1
  169. package/models/components/merchantcategories.d.ts +21 -0
  170. package/models/components/merchantcategories.d.ts.map +1 -0
  171. package/models/components/merchantcategories.js +59 -0
  172. package/models/components/merchantcategories.js.map +1 -0
  173. package/models/components/merchantcategory.d.ts +32 -0
  174. package/models/components/merchantcategory.d.ts.map +1 -0
  175. package/models/components/merchantcategory.js +62 -0
  176. package/models/components/merchantcategory.js.map +1 -0
  177. package/models/components/merchantcategoryrestrictions.d.ts +41 -0
  178. package/models/components/merchantcategoryrestrictions.d.ts.map +1 -0
  179. package/models/components/merchantcategoryrestrictions.js +68 -0
  180. package/models/components/merchantcategoryrestrictions.js.map +1 -0
  181. package/models/components/merchantcategoryrestrictionserror.d.ts +36 -0
  182. package/models/components/merchantcategoryrestrictionserror.d.ts.map +1 -0
  183. package/models/components/merchantcategoryrestrictionserror.js +66 -0
  184. package/models/components/merchantcategoryrestrictionserror.js.map +1 -0
  185. package/models/components/merchantentry.d.ts +33 -0
  186. package/models/components/merchantentry.d.ts.map +1 -0
  187. package/models/components/merchantentry.js +63 -0
  188. package/models/components/merchantentry.js.map +1 -0
  189. package/models/components/merchantentryerror.d.ts +19 -0
  190. package/models/components/merchantentryerror.d.ts.map +1 -0
  191. package/models/components/merchantentryerror.js +61 -0
  192. package/models/components/merchantentryerror.js.map +1 -0
  193. package/models/components/merchantrestrictions.d.ts +30 -0
  194. package/models/components/merchantrestrictions.d.ts.map +1 -0
  195. package/models/components/merchantrestrictions.js +62 -0
  196. package/models/components/merchantrestrictions.js.map +1 -0
  197. package/models/components/merchantrestrictionserror.d.ts +24 -0
  198. package/models/components/merchantrestrictionserror.d.ts.map +1 -0
  199. package/models/components/merchantrestrictionserror.js +62 -0
  200. package/models/components/merchantrestrictionserror.js.map +1 -0
  201. package/models/components/partnerpricingagreement.d.ts +12 -2
  202. package/models/components/partnerpricingagreement.d.ts.map +1 -1
  203. package/models/components/partnerpricingagreement.js +5 -0
  204. package/models/components/partnerpricingagreement.js.map +1 -1
  205. package/models/components/paymentlink.d.ts +4 -3
  206. package/models/components/paymentlink.d.ts.map +1 -1
  207. package/models/components/paymentlink.js.map +1 -1
  208. package/models/components/paymentlinkcustomamountpaymentdetails.d.ts +1 -3
  209. package/models/components/paymentlinkcustomamountpaymentdetails.d.ts.map +1 -1
  210. package/models/components/paymentlinkcustomamountpaymentdetails.js.map +1 -1
  211. package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts +1 -3
  212. package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts.map +1 -1
  213. package/models/components/paymentlinkcustomamountpaymentdetailsupdate.js.map +1 -1
  214. package/models/components/paymentlinkpayoutdetails.d.ts +7 -8
  215. package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
  216. package/models/components/paymentlinkpayoutdetails.js.map +1 -1
  217. package/models/components/paymentlinkpayoutdetailsupdate.d.ts +7 -8
  218. package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
  219. package/models/components/paymentlinkpayoutdetailsupdate.js.map +1 -1
  220. package/models/components/paymentmethodswallet.d.ts +1 -0
  221. package/models/components/paymentmethodswallet.d.ts.map +1 -1
  222. package/models/components/paymentmethodswallet.js.map +1 -1
  223. package/models/components/pushoptions.d.ts +4 -6
  224. package/models/components/pushoptions.d.ts.map +1 -1
  225. package/models/components/pushoptions.js.map +1 -1
  226. package/models/components/pushoptionsupdate.d.ts +4 -6
  227. package/models/components/pushoptionsupdate.d.ts.map +1 -1
  228. package/models/components/pushoptionsupdate.js.map +1 -1
  229. package/models/components/requestcard.d.ts +3 -0
  230. package/models/components/requestcard.d.ts.map +1 -1
  231. package/models/components/requestcard.js.map +1 -1
  232. package/models/components/requirementid.d.ts +14 -0
  233. package/models/components/requirementid.d.ts.map +1 -1
  234. package/models/components/requirementid.js +14 -0
  235. package/models/components/requirementid.js.map +1 -1
  236. package/models/components/reversalamountdetails.d.ts +5 -1
  237. package/models/components/reversalamountdetails.d.ts.map +1 -1
  238. package/models/components/reversalamountdetails.js.map +1 -1
  239. package/models/components/reversedwithcancellation.d.ts +3 -0
  240. package/models/components/reversedwithcancellation.d.ts.map +1 -1
  241. package/models/components/reversedwithcancellation.js.map +1 -1
  242. package/models/components/schedulewindow.d.ts +34 -0
  243. package/models/components/schedulewindow.d.ts.map +1 -0
  244. package/models/components/schedulewindow.js +64 -0
  245. package/models/components/schedulewindow.js.map +1 -0
  246. package/models/components/schedulewindowerror.d.ts +21 -0
  247. package/models/components/schedulewindowerror.d.ts.map +1 -0
  248. package/models/components/schedulewindowerror.js +63 -0
  249. package/models/components/schedulewindowerror.js.map +1 -0
  250. package/models/components/sendfunds.d.ts +3 -0
  251. package/models/components/sendfunds.d.ts.map +1 -1
  252. package/models/components/sendfunds.js +3 -0
  253. package/models/components/sendfunds.js.map +1 -1
  254. package/models/components/sendfundserror.d.ts +3 -0
  255. package/models/components/sendfundserror.d.ts.map +1 -1
  256. package/models/components/sendfundserror.js +3 -0
  257. package/models/components/sendfundserror.js.map +1 -1
  258. package/models/components/sendfundswire.d.ts +18 -0
  259. package/models/components/sendfundswire.d.ts.map +1 -0
  260. package/models/components/sendfundswire.js +60 -0
  261. package/models/components/sendfundswire.js.map +1 -0
  262. package/models/components/sendfundswireerror.d.ts +18 -0
  263. package/models/components/sendfundswireerror.d.ts.map +1 -0
  264. package/models/components/sendfundswireerror.js +60 -0
  265. package/models/components/sendfundswireerror.js.map +1 -0
  266. package/models/components/statement.d.ts +6 -0
  267. package/models/components/statement.d.ts.map +1 -1
  268. package/models/components/statement.js +3 -0
  269. package/models/components/statement.js.map +1 -1
  270. package/models/components/sweepconfig.d.ts +2 -2
  271. package/models/components/sweepconfigpaymentmethod.d.ts +1 -1
  272. package/models/components/transfer.d.ts +14 -0
  273. package/models/components/transfer.d.ts.map +1 -1
  274. package/models/components/transfer.js +3 -0
  275. package/models/components/transfer.js.map +1 -1
  276. package/models/components/transfercapture.d.ts +28 -0
  277. package/models/components/transfercapture.d.ts.map +1 -0
  278. package/models/components/transfercapture.js +61 -0
  279. package/models/components/transfercapture.js.map +1 -0
  280. package/models/components/transferfeepaidby.d.ts +1 -1
  281. package/models/components/transferpaymentmethodswallet.d.ts +1 -0
  282. package/models/components/transferpaymentmethodswallet.d.ts.map +1 -1
  283. package/models/components/transferpaymentmethodswallet.js.map +1 -1
  284. package/models/components/updateissuedcard.d.ts +8 -0
  285. package/models/components/updateissuedcard.d.ts.map +1 -1
  286. package/models/components/updateissuedcard.js +3 -0
  287. package/models/components/updateissuedcard.js.map +1 -1
  288. package/models/components/updateissuedcardstate.d.ts +6 -0
  289. package/models/components/updateissuedcardstate.d.ts.map +1 -1
  290. package/models/components/updateissuedcardstate.js +4 -0
  291. package/models/components/updateissuedcardstate.js.map +1 -1
  292. package/models/components/updateissuingcontrols.d.ts +130 -0
  293. package/models/components/updateissuingcontrols.d.ts.map +1 -0
  294. package/models/components/updateissuingcontrols.js +130 -0
  295. package/models/components/updateissuingcontrols.js.map +1 -0
  296. package/models/components/updateissuingcontrolserror.d.ts +33 -0
  297. package/models/components/updateissuingcontrolserror.d.ts.map +1 -0
  298. package/models/components/updateissuingcontrolserror.js +72 -0
  299. package/models/components/updateissuingcontrolserror.js.map +1 -0
  300. package/models/components/updatepaymentlink.d.ts +3 -0
  301. package/models/components/updatepaymentlink.d.ts.map +1 -1
  302. package/models/components/updatepaymentlink.js.map +1 -1
  303. package/models/components/wallet.d.ts +1 -0
  304. package/models/components/wallet.d.ts.map +1 -1
  305. package/models/components/wallet.js.map +1 -1
  306. package/models/components/wallettype.d.ts +3 -0
  307. package/models/components/wallettype.d.ts.map +1 -1
  308. package/models/components/wallettype.js +2 -0
  309. package/models/components/wallettype.js.map +1 -1
  310. package/models/components/webhookdatatransferstatus.d.ts +3 -0
  311. package/models/components/webhookdatatransferstatus.d.ts.map +1 -1
  312. package/models/components/webhookdatatransferstatus.js +3 -0
  313. package/models/components/webhookdatatransferstatus.js.map +1 -1
  314. package/models/errors/transfer.d.ts +25 -0
  315. package/models/errors/transfer.d.ts.map +1 -1
  316. package/models/errors/transfer.js +4 -0
  317. package/models/errors/transfer.js.map +1 -1
  318. package/models/errors/updateissuedcarderror.d.ts +3 -0
  319. package/models/errors/updateissuedcarderror.d.ts.map +1 -1
  320. package/models/errors/updateissuedcarderror.js +4 -0
  321. package/models/errors/updateissuedcarderror.js.map +1 -1
  322. package/models/operations/index.d.ts +1 -0
  323. package/models/operations/index.d.ts.map +1 -1
  324. package/models/operations/index.js +1 -0
  325. package/models/operations/index.js.map +1 -1
  326. package/models/operations/listaccounts.d.ts +3 -0
  327. package/models/operations/listaccounts.d.ts.map +1 -1
  328. package/models/operations/listaccounts.js.map +1 -1
  329. package/models/operations/listconnectedaccountsforaccount.d.ts +3 -0
  330. package/models/operations/listconnectedaccountsforaccount.d.ts.map +1 -1
  331. package/models/operations/listconnectedaccountsforaccount.js.map +1 -1
  332. package/models/operations/listdisputes.d.ts +3 -0
  333. package/models/operations/listdisputes.d.ts.map +1 -1
  334. package/models/operations/listdisputes.js.map +1 -1
  335. package/models/operations/listfeeplanagreements.d.ts +3 -0
  336. package/models/operations/listfeeplanagreements.d.ts.map +1 -1
  337. package/models/operations/listfeeplanagreements.js.map +1 -1
  338. package/models/operations/listfeerevenue.d.ts +3 -0
  339. package/models/operations/listfeerevenue.d.ts.map +1 -1
  340. package/models/operations/listfeerevenue.js.map +1 -1
  341. package/models/operations/listinvoices.d.ts +3 -0
  342. package/models/operations/listinvoices.d.ts.map +1 -1
  343. package/models/operations/listinvoices.js.map +1 -1
  344. package/models/operations/listissuedcardauthorizationevents.d.ts +3 -0
  345. package/models/operations/listissuedcardauthorizationevents.d.ts.map +1 -1
  346. package/models/operations/listissuedcardauthorizationevents.js.map +1 -1
  347. package/models/operations/listissuedcardauthorizations.d.ts +3 -0
  348. package/models/operations/listissuedcardauthorizations.d.ts.map +1 -1
  349. package/models/operations/listissuedcardauthorizations.js.map +1 -1
  350. package/models/operations/listissuedcards.d.ts +3 -0
  351. package/models/operations/listissuedcards.d.ts.map +1 -1
  352. package/models/operations/listissuedcards.js.map +1 -1
  353. package/models/operations/listissuedcardtransactions.d.ts +8 -0
  354. package/models/operations/listissuedcardtransactions.d.ts.map +1 -1
  355. package/models/operations/listissuedcardtransactions.js +2 -0
  356. package/models/operations/listissuedcardtransactions.js.map +1 -1
  357. package/models/operations/listissuingmerchantcategories.d.ts +24 -0
  358. package/models/operations/listissuingmerchantcategories.d.ts.map +1 -0
  359. package/models/operations/listissuingmerchantcategories.js +72 -0
  360. package/models/operations/listissuingmerchantcategories.js.map +1 -0
  361. package/models/operations/listpartnerpricingagreements.d.ts +3 -0
  362. package/models/operations/listpartnerpricingagreements.d.ts.map +1 -1
  363. package/models/operations/listpartnerpricingagreements.js.map +1 -1
  364. package/models/operations/listpaymentlinks.d.ts +3 -0
  365. package/models/operations/listpaymentlinks.d.ts.map +1 -1
  366. package/models/operations/listpaymentlinks.js.map +1 -1
  367. package/models/operations/listproducts.d.ts +3 -0
  368. package/models/operations/listproducts.d.ts.map +1 -1
  369. package/models/operations/listproducts.js.map +1 -1
  370. package/models/operations/listresidualfees.d.ts +3 -0
  371. package/models/operations/listresidualfees.d.ts.map +1 -1
  372. package/models/operations/listresidualfees.js.map +1 -1
  373. package/models/operations/listresiduals.d.ts +3 -0
  374. package/models/operations/listresiduals.d.ts.map +1 -1
  375. package/models/operations/listresiduals.js.map +1 -1
  376. package/models/operations/listschedules.d.ts +3 -0
  377. package/models/operations/listschedules.d.ts.map +1 -1
  378. package/models/operations/listschedules.js.map +1 -1
  379. package/models/operations/liststatements.d.ts +3 -0
  380. package/models/operations/liststatements.d.ts.map +1 -1
  381. package/models/operations/liststatements.js.map +1 -1
  382. package/models/operations/listsweeps.d.ts +3 -0
  383. package/models/operations/listsweeps.d.ts.map +1 -1
  384. package/models/operations/listsweeps.js.map +1 -1
  385. package/models/operations/listtickets.d.ts +3 -0
  386. package/models/operations/listtickets.d.ts.map +1 -1
  387. package/models/operations/listtickets.js.map +1 -1
  388. package/models/operations/listtransfers.d.ts +13 -0
  389. package/models/operations/listtransfers.d.ts.map +1 -1
  390. package/models/operations/listtransfers.js +4 -0
  391. package/models/operations/listtransfers.js.map +1 -1
  392. package/models/operations/listwallets.d.ts +3 -0
  393. package/models/operations/listwallets.d.ts.map +1 -1
  394. package/models/operations/listwallets.js.map +1 -1
  395. package/models/operations/listwallettransactions.d.ts +3 -0
  396. package/models/operations/listwallettransactions.d.ts.map +1 -1
  397. package/models/operations/listwallettransactions.js.map +1 -1
  398. package/models/operations/retrievefees.d.ts +3 -0
  399. package/models/operations/retrievefees.d.ts.map +1 -1
  400. package/models/operations/retrievefees.js.map +1 -1
  401. package/package.json +1 -1
  402. package/sdk/cardissuing.d.ts +10 -1
  403. package/sdk/cardissuing.d.ts.map +1 -1
  404. package/sdk/cardissuing.js +13 -1
  405. package/sdk/cardissuing.js.map +1 -1
  406. package/sdk/images.d.ts +1 -1
  407. package/sdk/images.js +1 -1
  408. package/sdk/institutions.d.ts +1 -1
  409. package/sdk/institutions.js +1 -1
  410. package/sdk/sdk.d.ts +2 -2
  411. package/sdk/sdk.d.ts.map +1 -1
  412. package/sdk/sdk.js +3 -3
  413. package/sdk/sdk.js.map +1 -1
  414. package/sdk/transfers.d.ts +6 -0
  415. package/sdk/transfers.d.ts.map +1 -1
  416. package/sdk/transfers.js +6 -0
  417. package/sdk/transfers.js.map +1 -1
  418. package/src/funcs/cardIssuingGetFull.ts +1 -1
  419. package/src/funcs/cardIssuingListMerchantCategories.ts +155 -0
  420. package/src/funcs/imagesUpload.ts +1 -1
  421. package/src/funcs/institutionsSearch.ts +1 -1
  422. package/src/funcs/issuingTransactionsList.ts +1 -0
  423. package/src/funcs/transfersCreateCancellation.ts +6 -1
  424. package/src/funcs/transfersCreateReversal.ts +3 -0
  425. package/src/funcs/transfersList.ts +2 -0
  426. package/src/funcs/transfersListCancellations.ts +1 -1
  427. package/src/funcs/transfersListRefunds.ts +1 -1
  428. package/src/lib/config.ts +3 -3
  429. package/src/lib/encodings.ts +58 -23
  430. package/src/mcp-server/mcp-server.ts +1 -1
  431. package/src/mcp-server/server.ts +8 -6
  432. package/src/mcp-server/tools/avatarsGet.ts +1 -1
  433. package/src/mcp-server/tools/cardIssuingGetFull.ts +1 -1
  434. package/src/mcp-server/tools/cardIssuingListMerchantCategories.ts +34 -0
  435. package/src/mcp-server/tools/enrichedAddressGet.ts +1 -1
  436. package/src/mcp-server/tools/enrichedProfileGet.ts +1 -1
  437. package/src/mcp-server/tools/imagesUpload.ts +1 -1
  438. package/src/mcp-server/tools/institutionsSearch.ts +2 -2
  439. package/src/mcp-server/tools/transfersCreateCancellation.ts +3 -0
  440. package/src/mcp-server/tools/transfersCreateReversal.ts +4 -1
  441. package/src/mcp-server/tools/transfersListCancellations.ts +1 -1
  442. package/src/models/components/adjustmentfees.ts +72 -0
  443. package/src/models/components/allowedscheduleerror.ts +62 -0
  444. package/src/models/components/amountdecimalrange.ts +1 -3
  445. package/src/models/components/amountdecimalrangeupdate.ts +1 -3
  446. package/src/models/components/applicationscope.ts +1 -1
  447. package/src/models/components/billingadjustment.ts +78 -0
  448. package/src/models/components/billingsummary.ts +35 -19
  449. package/src/models/components/cancellation.ts +3 -0
  450. package/src/models/components/createdtransfer.ts +21 -0
  451. package/src/models/components/createfeeplanagreement.ts +18 -1
  452. package/src/models/components/createpaymentlink.ts +3 -0
  453. package/src/models/components/createrefund.ts +2 -2
  454. package/src/models/components/createreversal.ts +6 -1
  455. package/src/models/components/createtransfer.ts +1 -1
  456. package/src/models/components/facilitatorfee.ts +2 -2
  457. package/src/models/components/feepaidby.ts +0 -6
  458. package/src/models/components/feeplanagreement.ts +15 -0
  459. package/src/models/components/fullissuedcard.ts +13 -9
  460. package/src/models/components/index.ts +23 -0
  461. package/src/models/components/issuedcard.ts +13 -9
  462. package/src/models/components/issuedcardstate.ts +3 -0
  463. package/src/models/components/issuedcontrols.ts +177 -0
  464. package/src/models/components/issuedvelocitylimit.ts +112 -0
  465. package/src/models/components/issuingcontrols.ts +107 -0
  466. package/src/models/components/issuingcontrolserror.ts +39 -0
  467. package/src/models/components/issuingcontrolsrestrictionmode.ts +34 -0
  468. package/src/models/components/issuingintervallimit.ts +16 -8
  469. package/src/models/components/issuingmerchantcategory.ts +56 -0
  470. package/src/models/components/issuingscheduleday.ts +26 -0
  471. package/src/models/components/issuingvelocitylimit.ts +11 -4
  472. package/src/models/components/issuingvelocitylimiterror.ts +4 -0
  473. package/src/models/components/merchantcategories.ts +60 -0
  474. package/src/models/components/merchantcategory.ts +73 -0
  475. package/src/models/components/merchantcategoryrestrictions.ts +97 -0
  476. package/src/models/components/merchantcategoryrestrictionserror.ts +72 -0
  477. package/src/models/components/merchantentry.ts +68 -0
  478. package/src/models/components/merchantentryerror.ts +56 -0
  479. package/src/models/components/merchantrestrictions.ts +75 -0
  480. package/src/models/components/merchantrestrictionserror.ts +62 -0
  481. package/src/models/components/partnerpricingagreement.ts +17 -2
  482. package/src/models/components/paymentlink.ts +4 -3
  483. package/src/models/components/paymentlinkcustomamountpaymentdetails.ts +1 -3
  484. package/src/models/components/paymentlinkcustomamountpaymentdetailsupdate.ts +1 -3
  485. package/src/models/components/paymentlinkpayoutdetails.ts +7 -8
  486. package/src/models/components/paymentlinkpayoutdetailsupdate.ts +7 -8
  487. package/src/models/components/paymentmethodswallet.ts +1 -0
  488. package/src/models/components/pushoptions.ts +4 -6
  489. package/src/models/components/pushoptionsupdate.ts +4 -6
  490. package/src/models/components/requestcard.ts +3 -0
  491. package/src/models/components/requirementid.ts +28 -0
  492. package/src/models/components/reversalamountdetails.ts +5 -1
  493. package/src/models/components/reversedwithcancellation.ts +3 -0
  494. package/src/models/components/schedulewindow.ts +73 -0
  495. package/src/models/components/schedulewindowerror.ts +60 -0
  496. package/src/models/components/sendfunds.ts +10 -0
  497. package/src/models/components/sendfundserror.ts +10 -0
  498. package/src/models/components/sendfundswire.ts +54 -0
  499. package/src/models/components/sendfundswireerror.ts +58 -0
  500. package/src/models/components/statement.ts +13 -0
  501. package/src/models/components/sweepconfig.ts +2 -2
  502. package/src/models/components/sweepconfigpaymentmethod.ts +1 -1
  503. package/src/models/components/transfer.ts +21 -0
  504. package/src/models/components/transfercapture.ts +63 -0
  505. package/src/models/components/transferfeepaidby.ts +1 -1
  506. package/src/models/components/transferpaymentmethodswallet.ts +1 -0
  507. package/src/models/components/updateissuedcard.ts +15 -0
  508. package/src/models/components/updateissuedcardstate.ts +6 -0
  509. package/src/models/components/updateissuingcontrols.ts +351 -0
  510. package/src/models/components/updateissuingcontrolserror.ts +101 -0
  511. package/src/models/components/updatepaymentlink.ts +3 -0
  512. package/src/models/components/wallet.ts +1 -0
  513. package/src/models/components/wallettype.ts +3 -0
  514. package/src/models/components/webhookdatatransferstatus.ts +3 -0
  515. package/src/models/errors/transfer.ts +28 -0
  516. package/src/models/errors/updateissuedcarderror.ts +6 -0
  517. package/src/models/operations/index.ts +1 -0
  518. package/src/models/operations/listaccounts.ts +3 -0
  519. package/src/models/operations/listconnectedaccountsforaccount.ts +3 -0
  520. package/src/models/operations/listdisputes.ts +3 -0
  521. package/src/models/operations/listfeeplanagreements.ts +3 -0
  522. package/src/models/operations/listfeerevenue.ts +3 -0
  523. package/src/models/operations/listinvoices.ts +3 -0
  524. package/src/models/operations/listissuedcardauthorizationevents.ts +3 -0
  525. package/src/models/operations/listissuedcardauthorizations.ts +3 -0
  526. package/src/models/operations/listissuedcards.ts +3 -0
  527. package/src/models/operations/listissuedcardtransactions.ts +10 -0
  528. package/src/models/operations/listissuingmerchantcategories.ts +70 -0
  529. package/src/models/operations/listpartnerpricingagreements.ts +3 -0
  530. package/src/models/operations/listpaymentlinks.ts +3 -0
  531. package/src/models/operations/listproducts.ts +3 -0
  532. package/src/models/operations/listresidualfees.ts +3 -0
  533. package/src/models/operations/listresiduals.ts +3 -0
  534. package/src/models/operations/listschedules.ts +3 -0
  535. package/src/models/operations/liststatements.ts +3 -0
  536. package/src/models/operations/listsweeps.ts +3 -0
  537. package/src/models/operations/listtickets.ts +3 -0
  538. package/src/models/operations/listtransfers.ts +17 -0
  539. package/src/models/operations/listwallets.ts +3 -0
  540. package/src/models/operations/listwallettransactions.ts +3 -0
  541. package/src/models/operations/retrievefees.ts +3 -0
  542. package/src/sdk/cardissuing.ts +19 -1
  543. package/src/sdk/images.ts +1 -1
  544. package/src/sdk/institutions.ts +1 -1
  545. package/src/sdk/sdk.ts +5 -5
  546. package/src/sdk/transfers.ts +6 -0
@@ -0,0 +1,155 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { MoovCore } from "../core.js";
6
+ import { matchStatusCode } from "../lib/http.js";
7
+ import * as M from "../lib/matchers.js";
8
+ import { compactMap } from "../lib/primitives.js";
9
+ import { RequestOptions } from "../lib/sdks.js";
10
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
11
+ import { pathToFunc } from "../lib/url.js";
12
+ import {
13
+ ConnectionError,
14
+ InvalidRequestError,
15
+ RequestAbortedError,
16
+ RequestTimeoutError,
17
+ UnexpectedClientError,
18
+ } from "../models/errors/httpclienterrors.js";
19
+ import { MoovError } from "../models/errors/mooverror.js";
20
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
21
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
22
+ import * as operations from "../models/operations/index.js";
23
+ import { APICall, APIPromise } from "../types/async.js";
24
+ import { Result } from "../types/fp.js";
25
+
26
+ /**
27
+ * List the predefined merchant category groups available for issued card spend controls, along with
28
+ * the merchant category codes (MCCs) each group covers. Use these category names in an issued card's
29
+ * `merchantCategoryRestrictions`.
30
+ *
31
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
32
+ * you'll need to specify the `/issued-cards.read` scope.
33
+ */
34
+ export function cardIssuingListMerchantCategories(
35
+ client: MoovCore,
36
+ options?: RequestOptions,
37
+ ): APIPromise<
38
+ Result<
39
+ operations.ListIssuingMerchantCategoriesResponse,
40
+ | MoovError
41
+ | ResponseValidationError
42
+ | ConnectionError
43
+ | RequestAbortedError
44
+ | RequestTimeoutError
45
+ | InvalidRequestError
46
+ | UnexpectedClientError
47
+ | SDKValidationError
48
+ >
49
+ > {
50
+ return new APIPromise($do(
51
+ client,
52
+ options,
53
+ ));
54
+ }
55
+
56
+ async function $do(
57
+ client: MoovCore,
58
+ options?: RequestOptions,
59
+ ): Promise<
60
+ [
61
+ Result<
62
+ operations.ListIssuingMerchantCategoriesResponse,
63
+ | MoovError
64
+ | ResponseValidationError
65
+ | ConnectionError
66
+ | RequestAbortedError
67
+ | RequestTimeoutError
68
+ | InvalidRequestError
69
+ | UnexpectedClientError
70
+ | SDKValidationError
71
+ >,
72
+ APICall,
73
+ ]
74
+ > {
75
+ const path = pathToFunc("/issuing/merchant-categories")();
76
+
77
+ const headers = new Headers(compactMap({
78
+ Accept: "application/json",
79
+ }));
80
+
81
+ const securityInput = await extractSecurity(client._options.security);
82
+ const requestSecurity = resolveGlobalSecurity(securityInput);
83
+
84
+ const context = {
85
+ options: client._options,
86
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
87
+ operationID: "listIssuingMerchantCategories",
88
+ oAuth2Scopes: null,
89
+
90
+ resolvedSecurity: requestSecurity,
91
+
92
+ securitySource: client._options.security,
93
+ retryConfig: options?.retries
94
+ || client._options.retryConfig
95
+ || { strategy: "none" },
96
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
97
+ };
98
+
99
+ const requestRes = client._createRequest(context, {
100
+ security: requestSecurity,
101
+ method: "GET",
102
+ baseURL: options?.serverURL,
103
+ path: path,
104
+ headers: headers,
105
+ userAgent: client._options.userAgent,
106
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
107
+ }, options);
108
+ if (!requestRes.ok) {
109
+ return [requestRes, { status: "invalid" }];
110
+ }
111
+ const req = requestRes.value;
112
+
113
+ const doResult = await client._do(req, {
114
+ context,
115
+ isErrorStatusCode: (statusCode: number) =>
116
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
117
+ retryConfig: context.retryConfig,
118
+ retryCodes: context.retryCodes,
119
+ });
120
+ if (!doResult.ok) {
121
+ return [doResult, { status: "request-error", request: req }];
122
+ }
123
+ const response = doResult.value;
124
+
125
+ const responseFields = {
126
+ HttpMeta: { Response: response, Request: req },
127
+ };
128
+
129
+ const [result] = await M.match<
130
+ operations.ListIssuingMerchantCategoriesResponse,
131
+ | MoovError
132
+ | ResponseValidationError
133
+ | ConnectionError
134
+ | RequestAbortedError
135
+ | RequestTimeoutError
136
+ | InvalidRequestError
137
+ | UnexpectedClientError
138
+ | SDKValidationError
139
+ >(
140
+ M.json(
141
+ 200,
142
+ operations.ListIssuingMerchantCategoriesResponse$inboundSchema,
143
+ { hdrs: true, key: "Result" },
144
+ ),
145
+ M.fail([401, 403, 429]),
146
+ M.fail([500, 504]),
147
+ M.fail("4XX"),
148
+ M.fail("5XX"),
149
+ )(response, req, { extraFields: responseFields });
150
+ if (!result.ok) {
151
+ return [result, { status: "complete", request: req, response }];
152
+ }
153
+
154
+ return [result, { status: "complete", request: req, response }];
155
+ }
@@ -40,7 +40,7 @@ import { isReadableStream } from "../types/streams.js";
40
40
 
41
41
  /**
42
42
  * Upload a new PNG, JPEG, or WebP image with optional metadata.
43
- * Duplicate images, and requests larger than 16MB will be rejected.
43
+ * Duplicate images return the existing image's metadata with a 409 status. Requests larger than 16MB will be rejected.
44
44
  */
45
45
  export function imagesUpload(
46
46
  client: MoovCore,
@@ -27,7 +27,7 @@ import { APICall, APIPromise } from "../types/async.js";
27
27
  import { Result } from "../types/fp.js";
28
28
 
29
29
  /**
30
- * This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/form-shortening/institutions/get/).
30
+ * This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/institutions/get/).
31
31
  *
32
32
  * Search for institutions by either their name or routing number.
33
33
  *
@@ -99,6 +99,7 @@ async function $do(
99
99
  "count": payload.count,
100
100
  "endDateTime": payload.endDateTime,
101
101
  "issuedCardID": payload.issuedCardID,
102
+ "merchantName": payload.merchantName,
102
103
  "skip": payload.skip,
103
104
  "startDateTime": payload.startDateTime,
104
105
  }, { explode: false });
@@ -29,6 +29,9 @@ import { Result } from "../types/fp.js";
29
29
  /**
30
30
  * Initiate a cancellation for a card, ACH, or queued transfer.
31
31
  *
32
+ * In v2026.10 and later, an auth-capture `card-payment` transfer can be canceled before any captures exist.
33
+ * For these transfers, a successful cancellation reduces `capturableAmount` without changing `authorizedAmount`.
34
+ * For these transfers, a partial cancellation leaves the remaining `capturableAmount` available for capture.
32
35
  * To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
33
36
  * to specify the `/accounts/{accountID}/transfers.write` scope.
34
37
  */
@@ -172,7 +175,9 @@ async function $do(
172
175
  hdrs: true,
173
176
  key: "Result",
174
177
  }),
175
- M.jsonErr(400, errors.GenericError$inboundSchema, { hdrs: true }),
178
+ M.jsonErr([400, 409, 422], errors.GenericError$inboundSchema, {
179
+ hdrs: true,
180
+ }),
176
181
  M.fail([401, 403, 404, 429]),
177
182
  M.fail([500, 504]),
178
183
  M.fail("4XX"),
@@ -28,6 +28,9 @@ import { Result } from "../types/fp.js";
28
28
 
29
29
  /**
30
30
  * Reverses a card transfer by initiating a cancellation or refund depending on the transaction status.
31
+ * In v2026.10 and later, reversing an auth-capture `card-payment` transfer with no captures cancels the entire `capturableAmount`.
32
+ * In those API versions, an auth-capture `card-payment` transfer with one final capture is canceled or refunded depending on its processing state.
33
+ * Auth-capture `card-payment` transfers with a non-final capture or multiple captures are not supported in those API versions.
31
34
  * Read our [reversals guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/)
32
35
  * to learn more.
33
36
  *
@@ -106,6 +106,8 @@ async function $do(
106
106
 
107
107
  const query = encodeFormQuery({
108
108
  "accountIDs": payload.accountIDs,
109
+ "authorizationIDs": payload.authorizationIDs,
110
+ "captureIDs": payload.captureIDs,
109
111
  "count": payload.count,
110
112
  "disputed": payload.disputed,
111
113
  "endDateTime": payload.endDateTime,
@@ -168,7 +168,7 @@ async function $do(
168
168
  hdrs: true,
169
169
  key: "Result",
170
170
  }),
171
- M.fail([401, 403, 429]),
171
+ M.fail([401, 403, 404, 429]),
172
172
  M.fail([500, 504]),
173
173
  M.fail("4XX"),
174
174
  M.fail("5XX"),
@@ -168,7 +168,7 @@ async function $do(
168
168
  hdrs: true,
169
169
  key: "Result",
170
170
  }),
171
- M.fail([401, 403, 429]),
171
+ M.fail([401, 403, 404, 429]),
172
172
  M.fail([500, 504]),
173
173
  M.fail("4XX"),
174
174
  M.fail("5XX"),
package/src/lib/config.ts CHANGED
@@ -73,7 +73,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
73
73
  export const SDK_METADATA = {
74
74
  language: "typescript",
75
75
  openapiDocVersion: "v2026.07.00",
76
- sdkVersion: "26.7.0",
77
- genVersion: "2.924.0",
78
- userAgent: "speakeasy-sdk/typescript 26.7.0 2.924.0 v2026.07.00 @moovio/sdk",
76
+ sdkVersion: "26.7.2",
77
+ genVersion: "2.935.1",
78
+ userAgent: "speakeasy-sdk/typescript 26.7.2 2.935.1 v2026.07.00 @moovio/sdk",
79
79
  } as const;
@@ -12,10 +12,41 @@ export class EncodingError extends Error {
12
12
  }
13
13
  }
14
14
 
15
+ export type CharEncoding = "percent" | "percentExceptReserved" | "none";
16
+
17
+ const reservedEscapes = /%(2[346bcf]|3[abdf]|40|5[bd])/gi;
18
+
19
+ function encodeKeyChars(
20
+ v: string,
21
+ charEncoding: CharEncoding | undefined,
22
+ ): string {
23
+ return encodeChars(
24
+ v,
25
+ charEncoding === "percentExceptReserved" ? "percent" : charEncoding,
26
+ );
27
+ }
28
+
29
+ function encodeChars(
30
+ v: string,
31
+ charEncoding: CharEncoding | undefined,
32
+ ): string {
33
+ switch (charEncoding) {
34
+ case "percent":
35
+ return encodeURIComponent(v);
36
+ case "percentExceptReserved":
37
+ return encodeURIComponent(v).replace(
38
+ reservedEscapes,
39
+ (m) => decodeURIComponent(m),
40
+ );
41
+ default:
42
+ return v;
43
+ }
44
+ }
45
+
15
46
  export function encodeMatrix(
16
47
  key: string,
17
48
  value: unknown,
18
- options?: { explode?: boolean; charEncoding?: "percent" | "none" },
49
+ options?: { explode?: boolean; charEncoding?: CharEncoding },
19
50
  ): string | undefined {
20
51
  let out = "";
21
52
  const pairs: [string, unknown][] = options?.explode
@@ -27,7 +58,7 @@ export function encodeMatrix(
27
58
  }
28
59
 
29
60
  const encodeString = (v: string) => {
30
- return options?.charEncoding === "percent" ? encodeURIComponent(v) : v;
61
+ return encodeChars(v, options?.charEncoding);
31
62
  };
32
63
  const encodeValue = (v: unknown) => encodeString(serializeValue(v));
33
64
 
@@ -52,7 +83,7 @@ export function encodeMatrix(
52
83
  return;
53
84
  }
54
85
 
55
- const keyPrefix = encodeString(pk);
86
+ const keyPrefix = encodeKeyChars(pk, options?.charEncoding);
56
87
  tmp = `${keyPrefix}=${encValue}`;
57
88
  // trim trailing '=' if value was empty
58
89
  if (tmp === `${keyPrefix}=`) {
@@ -73,7 +104,7 @@ export function encodeMatrix(
73
104
  export function encodeLabel(
74
105
  key: string,
75
106
  value: unknown,
76
- options?: { explode?: boolean; charEncoding?: "percent" | "none" },
107
+ options?: { explode?: boolean; charEncoding?: CharEncoding },
77
108
  ): string | undefined {
78
109
  let out = "";
79
110
  const pairs: [string, unknown][] = options?.explode
@@ -85,7 +116,7 @@ export function encodeLabel(
85
116
  }
86
117
 
87
118
  const encodeString = (v: string) => {
88
- return options?.charEncoding === "percent" ? encodeURIComponent(v) : v;
119
+ return encodeChars(v, options?.charEncoding);
89
120
  };
90
121
  const encodeValue = (v: unknown) => encodeString(serializeValue(v));
91
122
 
@@ -103,7 +134,7 @@ export function encodeLabel(
103
134
  encValue = mapped?.join("").slice(1);
104
135
  } else {
105
136
  const k = options?.explode && isPlainObject(value)
106
- ? `${encodeString(pk)}=`
137
+ ? `${encodeKeyChars(pk, options?.charEncoding)}=`
107
138
  : "";
108
139
  encValue = `${k}${encodeValue(pv)}`;
109
140
  }
@@ -117,14 +148,14 @@ export function encodeLabel(
117
148
  type FormEncoder = (
118
149
  key: string,
119
150
  value: unknown,
120
- options?: { explode?: boolean; charEncoding?: "percent" | "none" },
151
+ options?: { explode?: boolean; charEncoding?: CharEncoding },
121
152
  ) => string | undefined;
122
153
 
123
154
  function formEncoder(sep: string): FormEncoder {
124
155
  return (
125
156
  key: string,
126
157
  value: unknown,
127
- options?: { explode?: boolean; charEncoding?: "percent" | "none" },
158
+ options?: { explode?: boolean; charEncoding?: CharEncoding },
128
159
  ) => {
129
160
  let out = "";
130
161
  const pairs: [string, unknown][] = options?.explode
@@ -136,7 +167,7 @@ function formEncoder(sep: string): FormEncoder {
136
167
  }
137
168
 
138
169
  const encodeString = (v: string) => {
139
- return options?.charEncoding === "percent" ? encodeURIComponent(v) : v;
170
+ return encodeChars(v, options?.charEncoding);
140
171
  };
141
172
 
142
173
  const encodeValue = (v: unknown) => encodeString(serializeValue(v));
@@ -163,7 +194,7 @@ function formEncoder(sep: string): FormEncoder {
163
194
  return;
164
195
  }
165
196
 
166
- tmp = `${encodeString(pk)}=${encValue}`;
197
+ tmp = `${encodeKeyChars(pk, options?.charEncoding)}=${encValue}`;
167
198
 
168
199
  // If we end up with the nothing then skip forward
169
200
  if (!tmp || tmp === "=") {
@@ -184,7 +215,7 @@ export const encodePipeDelimited = formEncoder("|");
184
215
  export function encodeBodyForm(
185
216
  key: string,
186
217
  value: unknown,
187
- options?: { explode?: boolean; charEncoding?: "percent" | "none" },
218
+ options?: { explode?: boolean; charEncoding?: CharEncoding },
188
219
  ): string {
189
220
  let out = "";
190
221
  const pairs: [string, unknown][] = options?.explode
@@ -192,7 +223,7 @@ export function encodeBodyForm(
192
223
  : [[key, value]];
193
224
 
194
225
  const encodeString = (v: string) => {
195
- return options?.charEncoding === "percent" ? encodeURIComponent(v) : v;
226
+ return encodeChars(v, options?.charEncoding);
196
227
  };
197
228
 
198
229
  const encodeValue = (v: unknown) => encodeString(serializeValue(v));
@@ -211,7 +242,7 @@ export function encodeBodyForm(
211
242
  encValue = `${encodeValue(pv)}`;
212
243
  }
213
244
 
214
- tmp = `${encodeString(pk)}=${encValue}`;
245
+ tmp = `${encodeKeyChars(pk, options?.charEncoding)}=${encValue}`;
215
246
 
216
247
  // If we end up with the nothing then skip forward
217
248
  if (!tmp || tmp === "=") {
@@ -227,7 +258,7 @@ export function encodeBodyForm(
227
258
  export function encodeDeepObject(
228
259
  key: string,
229
260
  value: unknown,
230
- options?: { charEncoding?: "percent" | "none" },
261
+ options?: { charEncoding?: CharEncoding },
231
262
  ): string | undefined {
232
263
  if (value == null) {
233
264
  return;
@@ -245,7 +276,7 @@ export function encodeDeepObject(
245
276
  export function encodeDeepObjectObject(
246
277
  key: string,
247
278
  value: unknown,
248
- options?: { charEncoding?: "percent" | "none" },
279
+ options?: { charEncoding?: CharEncoding },
249
280
  ): string | undefined {
250
281
  if (value == null) {
251
282
  return;
@@ -254,7 +285,7 @@ export function encodeDeepObjectObject(
254
285
  let out = "";
255
286
 
256
287
  const encodeString = (v: string) => {
257
- return options?.charEncoding === "percent" ? encodeURIComponent(v) : v;
288
+ return encodeChars(v, options?.charEncoding);
258
289
  };
259
290
 
260
291
  if (!isPlainObject(value)) {
@@ -278,7 +309,9 @@ export function encodeDeepObjectObject(
278
309
 
279
310
  const pairs: unknown[] = Array.isArray(cv) ? cv : [cv];
280
311
  const encoded = mapDefined(pairs, (v) => {
281
- return `${encodeString(pk)}=${encodeString(serializeValue(v))}`;
312
+ return `${encodeKeyChars(pk, options?.charEncoding)}=${
313
+ encodeString(serializeValue(v))
314
+ }`;
282
315
  })?.join("&");
283
316
 
284
317
  out += encoded == null ? "" : `&${encoded}`;
@@ -290,25 +323,27 @@ export function encodeDeepObjectObject(
290
323
  export function encodeJSON(
291
324
  key: string,
292
325
  value: unknown,
293
- options?: { explode?: boolean; charEncoding?: "percent" | "none" },
326
+ options?: { explode?: boolean; charEncoding?: CharEncoding },
294
327
  ): string | undefined {
295
328
  if (typeof value === "undefined") {
296
329
  return;
297
330
  }
298
331
 
299
332
  const encodeString = (v: string) => {
300
- return options?.charEncoding === "percent" ? encodeURIComponent(v) : v;
333
+ return encodeChars(v, options?.charEncoding);
301
334
  };
302
335
 
303
336
  const encVal = encodeString(JSON.stringify(value, jsonReplacer));
304
337
 
305
- return options?.explode ? encVal : `${encodeString(key)}=${encVal}`;
338
+ return options?.explode
339
+ ? encVal
340
+ : `${encodeKeyChars(key, options?.charEncoding)}=${encVal}`;
306
341
  }
307
342
 
308
343
  export const encodeSimple = (
309
344
  key: string,
310
345
  value: unknown,
311
- options?: { explode?: boolean; charEncoding?: "percent" | "none" },
346
+ options?: { explode?: boolean; charEncoding?: CharEncoding },
312
347
  ): string | undefined => {
313
348
  let out = "";
314
349
  const pairs: [string, unknown][] = options?.explode
@@ -320,7 +355,7 @@ export const encodeSimple = (
320
355
  }
321
356
 
322
357
  const encodeString = (v: string) => {
323
- return options?.charEncoding === "percent" ? encodeURIComponent(v) : v;
358
+ return encodeChars(v, options?.charEncoding);
324
359
  };
325
360
  const encodeValue = (v: unknown) => encodeString(serializeValue(v));
326
361
 
@@ -426,7 +461,7 @@ export function queryJoin(...args: (string | undefined)[]): string {
426
461
 
427
462
  type QueryEncoderOptions = {
428
463
  explode?: boolean;
429
- charEncoding?: "percent" | "none";
464
+ charEncoding?: CharEncoding;
430
465
  allowEmptyValue?: string[];
431
466
  };
432
467
 
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "26.7.0",
22
+ currentVersion: "26.7.2",
23
23
  },
24
24
  });
25
25
 
@@ -57,6 +57,7 @@ import { tool$capabilitiesRequest } from "./tools/capabilitiesRequest.js";
57
57
  import { tool$cardIssuingGet } from "./tools/cardIssuingGet.js";
58
58
  import { tool$cardIssuingGetFull } from "./tools/cardIssuingGetFull.js";
59
59
  import { tool$cardIssuingList } from "./tools/cardIssuingList.js";
60
+ import { tool$cardIssuingListMerchantCategories } from "./tools/cardIssuingListMerchantCategories.js";
60
61
  import { tool$cardIssuingRequest } from "./tools/cardIssuingRequest.js";
61
62
  import { tool$cardIssuingUpdate } from "./tools/cardIssuingUpdate.js";
62
63
  import { tool$cardsDisable } from "./tools/cardsDisable.js";
@@ -216,7 +217,7 @@ export function createMCPServer(deps: {
216
217
  }) {
217
218
  const server = new McpServer({
218
219
  name: "Moov",
219
- version: "26.7.0",
220
+ version: "26.7.2",
220
221
  });
221
222
 
222
223
  const client = new MoovCore({
@@ -413,16 +414,17 @@ export function createMCPServer(deps: {
413
414
  tool(tool$industriesList);
414
415
  tool(tool$institutionsSearchInstitutions);
415
416
  tool(tool$institutionsSearch);
416
- tool(tool$issuingTransactionsListAuthorizations);
417
- tool(tool$issuingTransactionsGetAuthorization);
418
- tool(tool$issuingTransactionsListAuthorizationEvents);
419
- tool(tool$issuingTransactionsList);
420
- tool(tool$issuingTransactionsGet);
417
+ tool(tool$cardIssuingListMerchantCategories);
421
418
  tool(tool$cardIssuingRequest);
422
419
  tool(tool$cardIssuingList);
423
420
  tool(tool$cardIssuingGet);
424
421
  tool(tool$cardIssuingUpdate);
425
422
  tool(tool$cardIssuingGetFull);
423
+ tool(tool$issuingTransactionsListAuthorizations);
424
+ tool(tool$issuingTransactionsGetAuthorization);
425
+ tool(tool$issuingTransactionsListAuthorizationEvents);
426
+ tool(tool$issuingTransactionsList);
427
+ tool(tool$issuingTransactionsGet);
426
428
  tool(tool$authenticationRevokeAccessToken);
427
429
  tool(tool$authenticationCreateAccessToken);
428
430
  tool(tool$onboardingCreateInvite);
@@ -14,7 +14,7 @@ export const tool$avatarsGet: ToolDefinition<typeof args> = {
14
14
  name: "avatars-get",
15
15
  description: `Get avatar image for an account using a unique ID.
16
16
 
17
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
17
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
18
18
  you'll need to specify the \`/profile-enrichment.read\` scope.`,
19
19
  args,
20
20
  tool: async (client, args, ctx) => {
@@ -17,7 +17,7 @@ export const tool$cardIssuingGetFull: ToolDefinition<typeof args> = {
17
17
  Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
18
18
 
19
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}/issued-cards.read-secure\` scope.`,
20
+ you'll need to specify the \`/accounts/{accountID}/issued-cards.read-private\` scope.`,
21
21
  args,
22
22
  tool: async (client, args, ctx) => {
23
23
  const [result, apiCall] = await cardIssuingGetFull(
@@ -0,0 +1,34 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { cardIssuingListMerchantCategories } from "../../funcs/cardIssuingListMerchantCategories.js";
6
+ import { formatResult, ToolDefinition } from "../tools.js";
7
+
8
+ export const tool$cardIssuingListMerchantCategories: ToolDefinition = {
9
+ name: "card-issuing-list-merchant-categories",
10
+ description:
11
+ `List the predefined merchant category groups available for issued card spend controls, along with
12
+ the merchant category codes (MCCs) each group covers. Use these category names in an issued card's
13
+ \`merchantCategoryRestrictions\`.
14
+
15
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
16
+ you'll need to specify the \`/issued-cards.read\` scope.`,
17
+ tool: async (client, ctx) => {
18
+ const [result, apiCall] = await cardIssuingListMerchantCategories(
19
+ client,
20
+ { fetchOptions: { signal: ctx.signal } },
21
+ ).$inspect();
22
+
23
+ if (!result.ok) {
24
+ return {
25
+ content: [{ type: "text", text: result.error.message }],
26
+ isError: true,
27
+ };
28
+ }
29
+
30
+ const value = result.value.result;
31
+
32
+ return formatResult(value, apiCall);
33
+ },
34
+ };
@@ -14,7 +14,7 @@ export const tool$enrichedAddressGet: ToolDefinition<typeof args> = {
14
14
  name: "enriched-address-get",
15
15
  description: `Fetch enriched address suggestions. Requires a partial address.
16
16
 
17
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
17
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
18
18
  you'll need to specify the \`/profile-enrichment.read\` scope.`,
19
19
  args,
20
20
  tool: async (client, args, ctx) => {
@@ -15,7 +15,7 @@ export const tool$enrichedProfileGet: ToolDefinition<typeof args> = {
15
15
  description:
16
16
  `Fetch enriched profile data. Requires a valid email address. This service is offered in collaboration with Clearbit.
17
17
 
18
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
18
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
19
19
  you'll need to specify the \`/profile-enrichment.read\` scope.`,
20
20
  args,
21
21
  tool: async (client, args, ctx) => {
@@ -13,7 +13,7 @@ const args = {
13
13
  export const tool$imagesUpload: ToolDefinition<typeof args> = {
14
14
  name: "images-upload",
15
15
  description: ` Upload a new PNG, JPEG, or WebP image with optional metadata.
16
- Duplicate images, and requests larger than 16MB will be rejected.`,
16
+ Duplicate images return the existing image's metadata with a 409 status. Requests larger than 16MB will be rejected.`,
17
17
  args,
18
18
  tool: async (client, args, ctx) => {
19
19
  const [result, apiCall] = await imagesUpload(
@@ -13,11 +13,11 @@ const args = {
13
13
  export const tool$institutionsSearch: ToolDefinition<typeof args> = {
14
14
  name: "institutions-search",
15
15
  description:
16
- `This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/form-shortening/institutions/get/).
16
+ `This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/institutions/get/).
17
17
 
18
18
  Search for institutions by either their name or routing number.
19
19
 
20
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
20
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
21
21
  you'll need to specify the \`/fed.read\` scope.`,
22
22
  args,
23
23
  tool: async (client, args, ctx) => {
@@ -14,6 +14,9 @@ export const tool$transfersCreateCancellation: ToolDefinition<typeof args> = {
14
14
  name: "transfers-create-cancellation",
15
15
  description: ` Initiate a cancellation for a card, ACH, or queued transfer.
16
16
 
17
+ In v2026.10 and later, an auth-capture \`card-payment\` transfer can be canceled before any captures exist.
18
+ For these transfers, a successful cancellation reduces \`capturableAmount\` without changing \`authorizedAmount\`.
19
+ For these transfers, a partial cancellation leaves the remaining \`capturableAmount\` available for capture.
17
20
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
18
21
  to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
19
22
  args,
@@ -13,7 +13,10 @@ const args = {
13
13
  export const tool$transfersCreateReversal: ToolDefinition<typeof args> = {
14
14
  name: "transfers-create-reversal",
15
15
  description:
16
- `Reverses a card transfer by initiating a cancellation or refund depending on the transaction status.
16
+ `Reverses a card transfer by initiating a cancellation or refund depending on the transaction status.
17
+ In v2026.10 and later, reversing an auth-capture \`card-payment\` transfer with no captures cancels the entire \`capturableAmount\`.
18
+ In those API versions, an auth-capture \`card-payment\` transfer with one final capture is canceled or refunded depending on its processing state.
19
+ Auth-capture \`card-payment\` transfers with a non-final capture or multiple captures are not supported in those API versions.
17
20
  Read our [reversals guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/)
18
21
  to learn more.
19
22