@moovio/sdk 26.10.0-dev.1 → 26.10.0-dev.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 (537) hide show
  1. package/README.md +111 -74
  2. package/bin/mcp-server.js +2581 -1158
  3. package/bin/mcp-server.js.map +120 -74
  4. package/funcs/cardIssuingListMerchantCategories.d.ts +19 -0
  5. package/funcs/cardIssuingListMerchantCategories.d.ts.map +1 -0
  6. package/funcs/cardIssuingListMerchantCategories.js +109 -0
  7. package/funcs/cardIssuingListMerchantCategories.js.map +1 -0
  8. package/funcs/transfersCreateCancellation.js +4 -1
  9. package/funcs/transfersCreateCancellation.js.map +1 -1
  10. package/funcs/transfersCreateCapture.d.ts +18 -0
  11. package/funcs/transfersCreateCapture.d.ts.map +1 -0
  12. package/funcs/transfersCreateCapture.js +132 -0
  13. package/funcs/transfersCreateCapture.js.map +1 -0
  14. package/funcs/transfersGetCapture.d.ts +17 -0
  15. package/funcs/transfersGetCapture.d.ts.map +1 -0
  16. package/funcs/transfersGetCapture.js +133 -0
  17. package/funcs/transfersGetCapture.js.map +1 -0
  18. package/funcs/transfersList.js +3 -0
  19. package/funcs/transfersList.js.map +1 -1
  20. package/funcs/transfersListCaptures.d.ts +17 -0
  21. package/funcs/transfersListCaptures.d.ts.map +1 -0
  22. package/funcs/transfersListCaptures.js +129 -0
  23. package/funcs/transfersListCaptures.js.map +1 -0
  24. package/jsr.json +1 -1
  25. package/lib/config.d.ts +2 -2
  26. package/lib/config.js +2 -2
  27. package/mcp-server/mcp-server.js +1 -1
  28. package/mcp-server/server.d.ts.map +1 -1
  29. package/mcp-server/server.js +14 -6
  30. package/mcp-server/server.js.map +1 -1
  31. package/mcp-server/tools/avatarsGet.js +1 -1
  32. package/mcp-server/tools/cardIssuingListMerchantCategories.d.ts +3 -0
  33. package/mcp-server/tools/cardIssuingListMerchantCategories.d.ts.map +1 -0
  34. package/mcp-server/tools/cardIssuingListMerchantCategories.js +29 -0
  35. package/mcp-server/tools/cardIssuingListMerchantCategories.js.map +1 -0
  36. package/mcp-server/tools/enrichedAddressGet.js +1 -1
  37. package/mcp-server/tools/enrichedProfileGet.js +1 -1
  38. package/mcp-server/tools/institutionsSearch.js +1 -1
  39. package/mcp-server/tools/transfersCreateCapture.d.ts +8 -0
  40. package/mcp-server/tools/transfersCreateCapture.d.ts.map +1 -0
  41. package/mcp-server/tools/transfersCreateCapture.js +65 -0
  42. package/mcp-server/tools/transfersCreateCapture.js.map +1 -0
  43. package/mcp-server/tools/transfersGetCapture.d.ts +8 -0
  44. package/mcp-server/tools/transfersGetCapture.d.ts.map +1 -0
  45. package/mcp-server/tools/transfersGetCapture.js +65 -0
  46. package/mcp-server/tools/transfersGetCapture.js.map +1 -0
  47. package/mcp-server/tools/transfersListCaptures.d.ts +8 -0
  48. package/mcp-server/tools/transfersListCaptures.d.ts.map +1 -0
  49. package/mcp-server/tools/transfersListCaptures.js +65 -0
  50. package/mcp-server/tools/transfersListCaptures.js.map +1 -0
  51. package/models/components/achcreditoptions.d.ts +28 -0
  52. package/models/components/achcreditoptions.d.ts.map +1 -0
  53. package/models/components/achcreditoptions.js +64 -0
  54. package/models/components/achcreditoptions.js.map +1 -0
  55. package/models/components/achcredittransferprocessingdetails.d.ts +22 -0
  56. package/models/components/achcredittransferprocessingdetails.d.ts.map +1 -0
  57. package/models/components/achcredittransferprocessingdetails.js +64 -0
  58. package/models/components/achcredittransferprocessingdetails.js.map +1 -0
  59. package/models/components/achdebitoptions.d.ts +40 -0
  60. package/models/components/achdebitoptions.d.ts.map +1 -0
  61. package/models/components/{achtransactiondetails.js → achdebitoptions.js} +10 -34
  62. package/models/components/achdebitoptions.js.map +1 -0
  63. package/models/components/achdebittransferprocessingdetails.d.ts +22 -0
  64. package/models/components/achdebittransferprocessingdetails.d.ts.map +1 -0
  65. package/models/components/achdebittransferprocessingdetails.js +64 -0
  66. package/models/components/achdebittransferprocessingdetails.js.map +1 -0
  67. package/models/components/allowedscheduleerror.d.ts +24 -0
  68. package/models/components/allowedscheduleerror.d.ts.map +1 -0
  69. package/models/components/allowedscheduleerror.js +62 -0
  70. package/models/components/allowedscheduleerror.js.map +1 -0
  71. package/models/components/asynccreatedrefund.d.ts +8 -3
  72. package/models/components/asynccreatedrefund.d.ts.map +1 -1
  73. package/models/components/asynccreatedrefund.js +5 -3
  74. package/models/components/asynccreatedrefund.js.map +1 -1
  75. package/models/components/capture.d.ts +77 -0
  76. package/models/components/capture.d.ts.map +1 -0
  77. package/models/components/capture.js +85 -0
  78. package/models/components/capture.js.map +1 -0
  79. package/models/components/capturestatus.d.ts +16 -0
  80. package/models/components/capturestatus.d.ts.map +1 -0
  81. package/models/components/{refundcardstatus.js → capturestatus.js} +9 -8
  82. package/models/components/capturestatus.js.map +1 -0
  83. package/models/components/cardacquiringrefund.d.ts +11 -6
  84. package/models/components/cardacquiringrefund.d.ts.map +1 -1
  85. package/models/components/cardacquiringrefund.js +8 -6
  86. package/models/components/cardacquiringrefund.js.map +1 -1
  87. package/models/components/cardpaymentoptions.d.ts +31 -0
  88. package/models/components/cardpaymentoptions.d.ts.map +1 -0
  89. package/models/components/cardpaymentoptions.js +62 -0
  90. package/models/components/cardpaymentoptions.js.map +1 -0
  91. package/models/components/cardpaymentrefundprocessingdetails.d.ts +18 -0
  92. package/models/components/cardpaymentrefundprocessingdetails.d.ts.map +1 -0
  93. package/models/components/{refundcarddetails.js → cardpaymentrefundprocessingdetails.js} +10 -23
  94. package/models/components/cardpaymentrefundprocessingdetails.js.map +1 -0
  95. package/models/components/cardpaymenttransferprocessingdetails.d.ts +24 -0
  96. package/models/components/cardpaymenttransferprocessingdetails.d.ts.map +1 -0
  97. package/models/components/cardpaymenttransferprocessingdetails.js +66 -0
  98. package/models/components/cardpaymenttransferprocessingdetails.js.map +1 -0
  99. package/models/components/createcancellation.d.ts +18 -0
  100. package/models/components/createcancellation.d.ts.map +1 -0
  101. package/models/components/{cardacquiringdispute.js → createcancellation.js} +13 -17
  102. package/models/components/createcancellation.js.map +1 -0
  103. package/models/components/createcapture.d.ts +70 -0
  104. package/models/components/createcapture.d.ts.map +1 -0
  105. package/models/components/createcapture.js +78 -0
  106. package/models/components/createcapture.js.map +1 -0
  107. package/models/components/createdtransfer.d.ts +24 -23
  108. package/models/components/createdtransfer.d.ts.map +1 -1
  109. package/models/components/createdtransfer.js +21 -20
  110. package/models/components/createdtransfer.js.map +1 -1
  111. package/models/components/createrefund.d.ts +10 -4
  112. package/models/components/createrefund.d.ts.map +1 -1
  113. package/models/components/createrefund.js +5 -2
  114. package/models/components/createrefund.js.map +1 -1
  115. package/models/components/createreversal.d.ts +4 -3
  116. package/models/components/createreversal.d.ts.map +1 -1
  117. package/models/components/createreversal.js +3 -2
  118. package/models/components/createreversal.js.map +1 -1
  119. package/models/components/createtransfer.d.ts +7 -7
  120. package/models/components/createtransfer.d.ts.map +1 -1
  121. package/models/components/createtransfer.js +6 -6
  122. package/models/components/createtransfer.js.map +1 -1
  123. package/models/components/createtransferfacilitatorfee.d.ts +29 -0
  124. package/models/components/createtransferfacilitatorfee.d.ts.map +1 -0
  125. package/models/components/createtransferfacilitatorfee.js +62 -0
  126. package/models/components/createtransferfacilitatorfee.js.map +1 -0
  127. package/models/components/createtransferoptions.d.ts +3 -3
  128. package/models/components/createtransferoptions.d.ts.map +1 -1
  129. package/models/components/createtransferoptions.js +3 -3
  130. package/models/components/createtransferoptions.js.map +1 -1
  131. package/models/components/fullissuedcard.d.ts +6 -3
  132. package/models/components/fullissuedcard.d.ts.map +1 -1
  133. package/models/components/fullissuedcard.js +3 -3
  134. package/models/components/fullissuedcard.js.map +1 -1
  135. package/models/components/index.d.ts +42 -9
  136. package/models/components/index.d.ts.map +1 -1
  137. package/models/components/index.js +42 -9
  138. package/models/components/index.js.map +1 -1
  139. package/models/components/instantbankcredittransferprocessingdetails.d.ts +31 -0
  140. package/models/components/instantbankcredittransferprocessingdetails.d.ts.map +1 -0
  141. package/models/components/{instantbanktransactiondetails.js → instantbankcredittransferprocessingdetails.js} +10 -21
  142. package/models/components/instantbankcredittransferprocessingdetails.js.map +1 -0
  143. package/models/components/issuedcard.d.ts +6 -3
  144. package/models/components/issuedcard.d.ts.map +1 -1
  145. package/models/components/issuedcard.js +3 -3
  146. package/models/components/issuedcard.js.map +1 -1
  147. package/models/components/issuedcontrols.d.ts +76 -0
  148. package/models/components/issuedcontrols.d.ts.map +1 -0
  149. package/models/components/issuedcontrols.js +92 -0
  150. package/models/components/issuedcontrols.js.map +1 -0
  151. package/models/components/issuedvelocitylimit.d.ts +59 -0
  152. package/models/components/issuedvelocitylimit.d.ts.map +1 -0
  153. package/models/components/issuedvelocitylimit.js +74 -0
  154. package/models/components/issuedvelocitylimit.js.map +1 -0
  155. package/models/components/issuingcontrols.d.ts +47 -0
  156. package/models/components/issuingcontrols.d.ts.map +1 -1
  157. package/models/components/issuingcontrols.js +33 -1
  158. package/models/components/issuingcontrols.js.map +1 -1
  159. package/models/components/issuingcontrolserror.d.ts +11 -0
  160. package/models/components/issuingcontrolserror.d.ts.map +1 -1
  161. package/models/components/issuingcontrolserror.js +12 -0
  162. package/models/components/issuingcontrolserror.js.map +1 -1
  163. package/models/components/issuingcontrolsrestrictionmode.d.ts +18 -0
  164. package/models/components/issuingcontrolsrestrictionmode.d.ts.map +1 -0
  165. package/models/components/{achtransactionstatus.js → issuingcontrolsrestrictionmode.js} +8 -13
  166. package/models/components/issuingcontrolsrestrictionmode.js.map +1 -0
  167. package/models/components/issuingintervallimit.d.ts +7 -4
  168. package/models/components/issuingintervallimit.d.ts.map +1 -1
  169. package/models/components/issuingintervallimit.js +6 -3
  170. package/models/components/issuingintervallimit.js.map +1 -1
  171. package/models/components/issuingmerchantcategory.d.ts +42 -0
  172. package/models/components/issuingmerchantcategory.d.ts.map +1 -0
  173. package/models/components/issuingmerchantcategory.js +76 -0
  174. package/models/components/issuingmerchantcategory.js.map +1 -0
  175. package/models/components/issuingscheduleday.d.ts +17 -0
  176. package/models/components/issuingscheduleday.d.ts.map +1 -0
  177. package/models/components/{instantbanktransactionstatus.js → issuingscheduleday.js} +13 -13
  178. package/models/components/issuingscheduleday.js.map +1 -0
  179. package/models/components/issuingvelocitylimit.d.ts +7 -2
  180. package/models/components/issuingvelocitylimit.d.ts.map +1 -1
  181. package/models/components/issuingvelocitylimit.js +4 -2
  182. package/models/components/issuingvelocitylimit.js.map +1 -1
  183. package/models/components/issuingvelocitylimiterror.d.ts +2 -0
  184. package/models/components/issuingvelocitylimiterror.d.ts.map +1 -1
  185. package/models/components/issuingvelocitylimiterror.js +2 -0
  186. package/models/components/issuingvelocitylimiterror.js.map +1 -1
  187. package/models/components/merchantcategories.d.ts +21 -0
  188. package/models/components/merchantcategories.d.ts.map +1 -0
  189. package/models/components/merchantcategories.js +59 -0
  190. package/models/components/merchantcategories.js.map +1 -0
  191. package/models/components/merchantcategory.d.ts +32 -0
  192. package/models/components/merchantcategory.d.ts.map +1 -0
  193. package/models/components/merchantcategory.js +62 -0
  194. package/models/components/merchantcategory.js.map +1 -0
  195. package/models/components/merchantcategoryrestrictions.d.ts +41 -0
  196. package/models/components/merchantcategoryrestrictions.d.ts.map +1 -0
  197. package/models/components/merchantcategoryrestrictions.js +68 -0
  198. package/models/components/merchantcategoryrestrictions.js.map +1 -0
  199. package/models/components/merchantcategoryrestrictionserror.d.ts +36 -0
  200. package/models/components/merchantcategoryrestrictionserror.d.ts.map +1 -0
  201. package/models/components/merchantcategoryrestrictionserror.js +66 -0
  202. package/models/components/merchantcategoryrestrictionserror.js.map +1 -0
  203. package/models/components/merchantentry.d.ts +33 -0
  204. package/models/components/merchantentry.d.ts.map +1 -0
  205. package/models/components/merchantentry.js +63 -0
  206. package/models/components/merchantentry.js.map +1 -0
  207. package/models/components/merchantentryerror.d.ts +19 -0
  208. package/models/components/merchantentryerror.d.ts.map +1 -0
  209. package/models/components/merchantentryerror.js +61 -0
  210. package/models/components/merchantentryerror.js.map +1 -0
  211. package/models/components/merchantrestrictions.d.ts +30 -0
  212. package/models/components/merchantrestrictions.d.ts.map +1 -0
  213. package/models/components/merchantrestrictions.js +62 -0
  214. package/models/components/merchantrestrictions.js.map +1 -0
  215. package/models/components/merchantrestrictionserror.d.ts +24 -0
  216. package/models/components/merchantrestrictionserror.d.ts.map +1 -0
  217. package/models/components/merchantrestrictionserror.js +62 -0
  218. package/models/components/merchantrestrictionserror.js.map +1 -0
  219. package/models/components/moovfeedetails.d.ts +9 -8
  220. package/models/components/moovfeedetails.d.ts.map +1 -1
  221. package/models/components/moovfeedetails.js +9 -8
  222. package/models/components/moovfeedetails.js.map +1 -1
  223. package/models/components/paymentmethodswallet.d.ts +1 -0
  224. package/models/components/paymentmethodswallet.d.ts.map +1 -1
  225. package/models/components/paymentmethodswallet.js.map +1 -1
  226. package/models/components/pullfromcardoptions.d.ts +31 -0
  227. package/models/components/pullfromcardoptions.d.ts.map +1 -0
  228. package/models/components/pullfromcardoptions.js +62 -0
  229. package/models/components/pullfromcardoptions.js.map +1 -0
  230. package/models/components/pullfromcardtransferprocessingdetails.d.ts +24 -0
  231. package/models/components/pullfromcardtransferprocessingdetails.d.ts.map +1 -0
  232. package/models/components/pullfromcardtransferprocessingdetails.js +66 -0
  233. package/models/components/pullfromcardtransferprocessingdetails.js.map +1 -0
  234. package/models/components/pushtocardoptions.d.ts +20 -0
  235. package/models/components/pushtocardoptions.d.ts.map +1 -0
  236. package/models/components/pushtocardoptions.js +59 -0
  237. package/models/components/pushtocardoptions.js.map +1 -0
  238. package/models/components/pushtocardtransferprocessingdetails.d.ts +24 -0
  239. package/models/components/pushtocardtransferprocessingdetails.d.ts.map +1 -0
  240. package/models/components/pushtocardtransferprocessingdetails.js +66 -0
  241. package/models/components/pushtocardtransferprocessingdetails.js.map +1 -0
  242. package/models/components/refundprocessingdetails.d.ts +18 -0
  243. package/models/components/refundprocessingdetails.d.ts.map +1 -0
  244. package/models/components/refundprocessingdetails.js +60 -0
  245. package/models/components/refundprocessingdetails.js.map +1 -0
  246. package/models/components/schedulewindow.d.ts +34 -0
  247. package/models/components/schedulewindow.d.ts.map +1 -0
  248. package/models/components/schedulewindow.js +64 -0
  249. package/models/components/schedulewindow.js.map +1 -0
  250. package/models/components/schedulewindowerror.d.ts +21 -0
  251. package/models/components/schedulewindowerror.d.ts.map +1 -0
  252. package/models/components/schedulewindowerror.js +63 -0
  253. package/models/components/schedulewindowerror.js.map +1 -0
  254. package/models/components/sendfunds.d.ts +3 -0
  255. package/models/components/sendfunds.d.ts.map +1 -1
  256. package/models/components/sendfunds.js +3 -0
  257. package/models/components/sendfunds.js.map +1 -1
  258. package/models/components/sendfundserror.d.ts +3 -0
  259. package/models/components/sendfundserror.d.ts.map +1 -1
  260. package/models/components/sendfundserror.js +3 -0
  261. package/models/components/sendfundserror.js.map +1 -1
  262. package/models/components/sendfundswire.d.ts +18 -0
  263. package/models/components/sendfundswire.d.ts.map +1 -0
  264. package/models/components/sendfundswire.js +60 -0
  265. package/models/components/sendfundswire.js.map +1 -0
  266. package/models/components/sendfundswireerror.d.ts +18 -0
  267. package/models/components/sendfundswireerror.d.ts.map +1 -0
  268. package/models/components/sendfundswireerror.js +60 -0
  269. package/models/components/sendfundswireerror.js.map +1 -0
  270. package/models/components/transfer.d.ts +24 -23
  271. package/models/components/transfer.d.ts.map +1 -1
  272. package/models/components/transfer.js +21 -20
  273. package/models/components/transfer.js.map +1 -1
  274. package/models/components/transferauthorization.d.ts +28 -0
  275. package/models/components/transferauthorization.d.ts.map +1 -0
  276. package/models/components/transferauthorization.js +70 -0
  277. package/models/components/transferauthorization.js.map +1 -0
  278. package/models/components/transferdestination.d.ts +6 -24
  279. package/models/components/transferdestination.d.ts.map +1 -1
  280. package/models/components/transferdestination.js +6 -15
  281. package/models/components/transferdestination.js.map +1 -1
  282. package/models/components/transferpaymentmethodswallet.d.ts +1 -0
  283. package/models/components/transferpaymentmethodswallet.d.ts.map +1 -1
  284. package/models/components/transferpaymentmethodswallet.js.map +1 -1
  285. package/models/components/transferprocessingdetails.d.ts +33 -0
  286. package/models/components/transferprocessingdetails.d.ts.map +1 -0
  287. package/models/components/transferprocessingdetails.js +76 -0
  288. package/models/components/transferprocessingdetails.js.map +1 -0
  289. package/models/components/transferrailoptions.d.ts +30 -0
  290. package/models/components/transferrailoptions.d.ts.map +1 -0
  291. package/models/components/transferrailoptions.js +72 -0
  292. package/models/components/transferrailoptions.js.map +1 -0
  293. package/models/components/transfersource.d.ts +6 -18
  294. package/models/components/transfersource.d.ts.map +1 -1
  295. package/models/components/transfersource.js +6 -12
  296. package/models/components/transfersource.js.map +1 -1
  297. package/models/components/transferstatus.d.ts +1 -0
  298. package/models/components/transferstatus.d.ts.map +1 -1
  299. package/models/components/transferstatus.js +1 -0
  300. package/models/components/transferstatus.js.map +1 -1
  301. package/models/components/transfertype.d.ts +24 -0
  302. package/models/components/transfertype.d.ts.map +1 -0
  303. package/models/components/{cardtransactionstatus.js → transfertype.js} +14 -13
  304. package/models/components/transfertype.js.map +1 -0
  305. package/models/components/updateissuedcard.d.ts +6 -0
  306. package/models/components/updateissuedcard.d.ts.map +1 -1
  307. package/models/components/updateissuedcard.js +3 -0
  308. package/models/components/updateissuedcard.js.map +1 -1
  309. package/models/components/updateissuingcontrols.d.ts +130 -0
  310. package/models/components/updateissuingcontrols.d.ts.map +1 -0
  311. package/models/components/updateissuingcontrols.js +130 -0
  312. package/models/components/updateissuingcontrols.js.map +1 -0
  313. package/models/components/updateissuingcontrolserror.d.ts +33 -0
  314. package/models/components/updateissuingcontrolserror.d.ts.map +1 -0
  315. package/models/components/updateissuingcontrolserror.js +72 -0
  316. package/models/components/updateissuingcontrolserror.js.map +1 -0
  317. package/models/components/wallet.d.ts +1 -0
  318. package/models/components/wallet.d.ts.map +1 -1
  319. package/models/components/wallet.js.map +1 -1
  320. package/models/components/wallettype.d.ts +3 -0
  321. package/models/components/wallettype.d.ts.map +1 -1
  322. package/models/components/wallettype.js +2 -0
  323. package/models/components/wallettype.js.map +1 -1
  324. package/models/components/webhookdatatransferstatus.d.ts +3 -0
  325. package/models/components/webhookdatatransferstatus.d.ts.map +1 -1
  326. package/models/components/webhookdatatransferstatus.js +3 -0
  327. package/models/components/webhookdatatransferstatus.js.map +1 -1
  328. package/models/errors/capturevalidationerror.d.ts +55 -0
  329. package/models/errors/capturevalidationerror.d.ts.map +1 -0
  330. package/models/errors/capturevalidationerror.js +117 -0
  331. package/models/errors/capturevalidationerror.js.map +1 -0
  332. package/models/errors/cardacquiringrefund.d.ts +15 -6
  333. package/models/errors/cardacquiringrefund.d.ts.map +1 -1
  334. package/models/errors/cardacquiringrefund.js +9 -6
  335. package/models/errors/cardacquiringrefund.js.map +1 -1
  336. package/models/errors/index.d.ts +1 -0
  337. package/models/errors/index.d.ts.map +1 -1
  338. package/models/errors/index.js +1 -0
  339. package/models/errors/index.js.map +1 -1
  340. package/models/errors/transfer.d.ts +30 -30
  341. package/models/errors/transfer.d.ts.map +1 -1
  342. package/models/errors/transfer.js +21 -25
  343. package/models/errors/transfer.js.map +1 -1
  344. package/models/errors/updateissuedcarderror.d.ts +3 -0
  345. package/models/errors/updateissuedcarderror.d.ts.map +1 -1
  346. package/models/errors/updateissuedcarderror.js +4 -0
  347. package/models/errors/updateissuedcarderror.js.map +1 -1
  348. package/models/operations/createcancellation.d.ts +2 -0
  349. package/models/operations/createcancellation.d.ts.map +1 -1
  350. package/models/operations/createcancellation.js +10 -0
  351. package/models/operations/createcancellation.js.map +1 -1
  352. package/models/operations/createcapture.d.ts +52 -0
  353. package/models/operations/createcapture.d.ts.map +1 -0
  354. package/models/operations/createcapture.js +105 -0
  355. package/models/operations/createcapture.js.map +1 -0
  356. package/models/operations/createreversal.d.ts +2 -2
  357. package/models/operations/createreversal.d.ts.map +1 -1
  358. package/models/operations/createreversal.js +2 -2
  359. package/models/operations/createreversal.js.map +1 -1
  360. package/models/operations/getcapture.d.ts +50 -0
  361. package/models/operations/getcapture.d.ts.map +1 -0
  362. package/models/operations/getcapture.js +93 -0
  363. package/models/operations/getcapture.js.map +1 -0
  364. package/models/operations/index.d.ts +4 -0
  365. package/models/operations/index.d.ts.map +1 -1
  366. package/models/operations/index.js +4 -0
  367. package/models/operations/index.js.map +1 -1
  368. package/models/operations/initiaterefund.d.ts +2 -2
  369. package/models/operations/initiaterefund.d.ts.map +1 -1
  370. package/models/operations/initiaterefund.js +2 -2
  371. package/models/operations/initiaterefund.js.map +1 -1
  372. package/models/operations/listcaptures.d.ts +45 -0
  373. package/models/operations/listcaptures.d.ts.map +1 -0
  374. package/models/operations/listcaptures.js +91 -0
  375. package/models/operations/listcaptures.js.map +1 -0
  376. package/models/operations/listissuingmerchantcategories.d.ts +24 -0
  377. package/models/operations/listissuingmerchantcategories.d.ts.map +1 -0
  378. package/models/operations/listissuingmerchantcategories.js +72 -0
  379. package/models/operations/listissuingmerchantcategories.js.map +1 -0
  380. package/models/operations/listtransfers.d.ts +15 -0
  381. package/models/operations/listtransfers.d.ts.map +1 -1
  382. package/models/operations/listtransfers.js +6 -0
  383. package/models/operations/listtransfers.js.map +1 -1
  384. package/package.json +1 -1
  385. package/sdk/cardissuing.d.ts +9 -0
  386. package/sdk/cardissuing.d.ts.map +1 -1
  387. package/sdk/cardissuing.js +12 -0
  388. package/sdk/cardissuing.js.map +1 -1
  389. package/sdk/sdk.d.ts +2 -2
  390. package/sdk/sdk.d.ts.map +1 -1
  391. package/sdk/sdk.js +3 -3
  392. package/sdk/sdk.js.map +1 -1
  393. package/sdk/transfers.d.ts +21 -0
  394. package/sdk/transfers.d.ts.map +1 -1
  395. package/sdk/transfers.js +30 -0
  396. package/sdk/transfers.js.map +1 -1
  397. package/src/funcs/cardIssuingListMerchantCategories.ts +155 -0
  398. package/src/funcs/transfersCreateCancellation.ts +5 -2
  399. package/src/funcs/transfersCreateCapture.ts +196 -0
  400. package/src/funcs/transfersGetCapture.ts +185 -0
  401. package/src/funcs/transfersList.ts +3 -0
  402. package/src/funcs/transfersListCaptures.ts +181 -0
  403. package/src/lib/config.ts +2 -2
  404. package/src/mcp-server/mcp-server.ts +1 -1
  405. package/src/mcp-server/server.ts +14 -6
  406. package/src/mcp-server/tools/avatarsGet.ts +1 -1
  407. package/src/mcp-server/tools/cardIssuingListMerchantCategories.ts +34 -0
  408. package/src/mcp-server/tools/enrichedAddressGet.ts +1 -1
  409. package/src/mcp-server/tools/enrichedProfileGet.ts +1 -1
  410. package/src/mcp-server/tools/institutionsSearch.ts +1 -1
  411. package/src/mcp-server/tools/transfersCreateCapture.ts +38 -0
  412. package/src/mcp-server/tools/transfersGetCapture.ts +38 -0
  413. package/src/mcp-server/tools/transfersListCaptures.ts +38 -0
  414. package/src/models/components/achcreditoptions.ts +72 -0
  415. package/src/models/components/achcredittransferprocessingdetails.ts +69 -0
  416. package/src/models/components/achdebitoptions.ts +94 -0
  417. package/src/models/components/achdebittransferprocessingdetails.ts +68 -0
  418. package/src/models/components/allowedscheduleerror.ts +62 -0
  419. package/src/models/components/asynccreatedrefund.ts +16 -9
  420. package/src/models/components/capture.ts +142 -0
  421. package/src/models/components/capturestatus.ts +30 -0
  422. package/src/models/components/cardacquiringrefund.ts +25 -18
  423. package/src/models/components/cardpaymentoptions.ts +72 -0
  424. package/src/models/components/cardpaymentrefundprocessingdetails.ts +60 -0
  425. package/src/models/components/cardpaymenttransferprocessingdetails.ts +72 -0
  426. package/src/models/components/createcancellation.ts +58 -0
  427. package/src/models/components/createcapture.ts +128 -0
  428. package/src/models/components/createdtransfer.ts +63 -58
  429. package/src/models/components/createrefund.ts +19 -6
  430. package/src/models/components/createreversal.ts +11 -5
  431. package/src/models/components/createtransfer.ts +20 -20
  432. package/src/models/components/createtransferfacilitatorfee.ts +73 -0
  433. package/src/models/components/createtransferoptions.ts +9 -9
  434. package/src/models/components/fullissuedcard.ts +12 -9
  435. package/src/models/components/index.ts +42 -9
  436. package/src/models/components/instantbankcredittransferprocessingdetails.ts +88 -0
  437. package/src/models/components/issuedcard.ts +12 -9
  438. package/src/models/components/issuedcontrols.ts +180 -0
  439. package/src/models/components/issuedvelocitylimit.ts +112 -0
  440. package/src/models/components/issuingcontrols.ts +107 -0
  441. package/src/models/components/issuingcontrolserror.ts +39 -0
  442. package/src/models/components/issuingcontrolsrestrictionmode.ts +34 -0
  443. package/src/models/components/issuingintervallimit.ts +16 -8
  444. package/src/models/components/issuingmerchantcategory.ts +56 -0
  445. package/src/models/components/issuingscheduleday.ts +26 -0
  446. package/src/models/components/issuingvelocitylimit.ts +11 -4
  447. package/src/models/components/issuingvelocitylimiterror.ts +4 -0
  448. package/src/models/components/merchantcategories.ts +60 -0
  449. package/src/models/components/merchantcategory.ts +73 -0
  450. package/src/models/components/merchantcategoryrestrictions.ts +97 -0
  451. package/src/models/components/merchantcategoryrestrictionserror.ts +72 -0
  452. package/src/models/components/merchantentry.ts +68 -0
  453. package/src/models/components/merchantentryerror.ts +56 -0
  454. package/src/models/components/merchantrestrictions.ts +75 -0
  455. package/src/models/components/merchantrestrictionserror.ts +62 -0
  456. package/src/models/components/moovfeedetails.ts +22 -16
  457. package/src/models/components/paymentmethodswallet.ts +1 -0
  458. package/src/models/components/pullfromcardoptions.ts +72 -0
  459. package/src/models/components/pullfromcardtransferprocessingdetails.ts +72 -0
  460. package/src/models/components/pushtocardoptions.ts +55 -0
  461. package/src/models/components/pushtocardtransferprocessingdetails.ts +72 -0
  462. package/src/models/components/refundprocessingdetails.ts +58 -0
  463. package/src/models/components/schedulewindow.ts +73 -0
  464. package/src/models/components/schedulewindowerror.ts +60 -0
  465. package/src/models/components/sendfunds.ts +10 -0
  466. package/src/models/components/sendfundserror.ts +10 -0
  467. package/src/models/components/sendfundswire.ts +54 -0
  468. package/src/models/components/sendfundswireerror.ts +58 -0
  469. package/src/models/components/transfer.ts +63 -58
  470. package/src/models/components/transferauthorization.ts +78 -0
  471. package/src/models/components/transferdestination.ts +12 -53
  472. package/src/models/components/transferpaymentmethodswallet.ts +1 -0
  473. package/src/models/components/transferprocessingdetails.ts +117 -0
  474. package/src/models/components/transferrailoptions.ts +98 -0
  475. package/src/models/components/transfersource.ts +12 -38
  476. package/src/models/components/transferstatus.ts +1 -0
  477. package/src/models/components/transfertype.ts +38 -0
  478. package/src/models/components/updateissuedcard.ts +13 -0
  479. package/src/models/components/updateissuingcontrols.ts +351 -0
  480. package/src/models/components/updateissuingcontrolserror.ts +101 -0
  481. package/src/models/components/wallet.ts +1 -0
  482. package/src/models/components/wallettype.ts +3 -0
  483. package/src/models/components/webhookdatatransferstatus.ts +3 -0
  484. package/src/models/errors/capturevalidationerror.ts +145 -0
  485. package/src/models/errors/cardacquiringrefund.ts +23 -11
  486. package/src/models/errors/index.ts +1 -0
  487. package/src/models/errors/transfer.ts +50 -55
  488. package/src/models/errors/updateissuedcarderror.ts +6 -0
  489. package/src/models/operations/createcancellation.ts +12 -0
  490. package/src/models/operations/createcapture.ts +142 -0
  491. package/src/models/operations/createreversal.ts +4 -4
  492. package/src/models/operations/getcapture.ts +128 -0
  493. package/src/models/operations/index.ts +4 -0
  494. package/src/models/operations/initiaterefund.ts +4 -4
  495. package/src/models/operations/listcaptures.ts +121 -0
  496. package/src/models/operations/listissuingmerchantcategories.ts +70 -0
  497. package/src/models/operations/listtransfers.ts +21 -0
  498. package/src/sdk/cardissuing.ts +18 -0
  499. package/src/sdk/sdk.ts +5 -5
  500. package/src/sdk/transfers.ts +54 -0
  501. package/models/components/achtransactiondetails.d.ts +0 -70
  502. package/models/components/achtransactiondetails.d.ts.map +0 -1
  503. package/models/components/achtransactiondetails.js.map +0 -1
  504. package/models/components/achtransactionstatus.d.ts +0 -23
  505. package/models/components/achtransactionstatus.d.ts.map +0 -1
  506. package/models/components/achtransactionstatus.js.map +0 -1
  507. package/models/components/cardacquiringdispute.d.ts +0 -25
  508. package/models/components/cardacquiringdispute.d.ts.map +0 -1
  509. package/models/components/cardacquiringdispute.js.map +0 -1
  510. package/models/components/cardtransactiondetails.d.ts +0 -79
  511. package/models/components/cardtransactiondetails.d.ts.map +0 -1
  512. package/models/components/cardtransactiondetails.js +0 -90
  513. package/models/components/cardtransactiondetails.js.map +0 -1
  514. package/models/components/cardtransactionstatus.d.ts +0 -23
  515. package/models/components/cardtransactionstatus.d.ts.map +0 -1
  516. package/models/components/cardtransactionstatus.js.map +0 -1
  517. package/models/components/instantbanktransactiondetails.d.ts +0 -51
  518. package/models/components/instantbanktransactiondetails.d.ts.map +0 -1
  519. package/models/components/instantbanktransactiondetails.js.map +0 -1
  520. package/models/components/instantbanktransactionstatus.d.ts +0 -20
  521. package/models/components/instantbanktransactionstatus.d.ts.map +0 -1
  522. package/models/components/instantbanktransactionstatus.js.map +0 -1
  523. package/models/components/refundcarddetails.d.ts +0 -31
  524. package/models/components/refundcarddetails.d.ts.map +0 -1
  525. package/models/components/refundcarddetails.js.map +0 -1
  526. package/models/components/refundcardstatus.d.ts +0 -15
  527. package/models/components/refundcardstatus.d.ts.map +0 -1
  528. package/models/components/refundcardstatus.js.map +0 -1
  529. package/src/models/components/achtransactiondetails.ts +0 -157
  530. package/src/models/components/achtransactionstatus.ts +0 -37
  531. package/src/models/components/cardacquiringdispute.ts +0 -69
  532. package/src/models/components/cardtransactiondetails.ts +0 -154
  533. package/src/models/components/cardtransactionstatus.ts +0 -37
  534. package/src/models/components/instantbanktransactiondetails.ts +0 -116
  535. package/src/models/components/instantbanktransactionstatus.ts +0 -36
  536. package/src/models/components/refundcarddetails.ts +0 -86
  537. package/src/models/components/refundcardstatus.ts +0 -29
@@ -0,0 +1,72 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import * as types from "../../types/primitives.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ CardTransactionFailureCode,
12
+ CardTransactionFailureCode$inboundSchema,
13
+ CardTransactionFailureCode$outboundSchema,
14
+ } from "./cardtransactionfailurecode.js";
15
+
16
+ export type CardPaymentTransferProcessingDetails = {
17
+ authorizationCode?: string | undefined;
18
+ networkTransactionID?: string | undefined;
19
+ networkResponseCode?: string | undefined;
20
+ failureCode?: CardTransactionFailureCode | undefined;
21
+ };
22
+
23
+ /** @internal */
24
+ export const CardPaymentTransferProcessingDetails$inboundSchema: z.ZodType<
25
+ CardPaymentTransferProcessingDetails,
26
+ z.ZodTypeDef,
27
+ unknown
28
+ > = z.object({
29
+ authorizationCode: types.optional(types.string()),
30
+ networkTransactionID: types.optional(types.string()),
31
+ networkResponseCode: types.optional(types.string()),
32
+ failureCode: types.optional(CardTransactionFailureCode$inboundSchema),
33
+ });
34
+ /** @internal */
35
+ export type CardPaymentTransferProcessingDetails$Outbound = {
36
+ authorizationCode?: string | undefined;
37
+ networkTransactionID?: string | undefined;
38
+ networkResponseCode?: string | undefined;
39
+ failureCode?: string | undefined;
40
+ };
41
+
42
+ /** @internal */
43
+ export const CardPaymentTransferProcessingDetails$outboundSchema: z.ZodType<
44
+ CardPaymentTransferProcessingDetails$Outbound,
45
+ z.ZodTypeDef,
46
+ CardPaymentTransferProcessingDetails
47
+ > = z.object({
48
+ authorizationCode: z.string().optional(),
49
+ networkTransactionID: z.string().optional(),
50
+ networkResponseCode: z.string().optional(),
51
+ failureCode: CardTransactionFailureCode$outboundSchema.optional(),
52
+ });
53
+
54
+ export function cardPaymentTransferProcessingDetailsToJSON(
55
+ cardPaymentTransferProcessingDetails: CardPaymentTransferProcessingDetails,
56
+ ): string {
57
+ return JSON.stringify(
58
+ CardPaymentTransferProcessingDetails$outboundSchema.parse(
59
+ cardPaymentTransferProcessingDetails,
60
+ ),
61
+ );
62
+ }
63
+ export function cardPaymentTransferProcessingDetailsFromJSON(
64
+ jsonString: string,
65
+ ): SafeParseResult<CardPaymentTransferProcessingDetails, SDKValidationError> {
66
+ return safeParse(
67
+ jsonString,
68
+ (x) =>
69
+ CardPaymentTransferProcessingDetails$inboundSchema.parse(JSON.parse(x)),
70
+ `Failed to parse 'CardPaymentTransferProcessingDetails' from JSON`,
71
+ );
72
+ }
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import * as types from "../../types/primitives.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ AmountDecimal,
12
+ AmountDecimal$inboundSchema,
13
+ AmountDecimal$Outbound,
14
+ AmountDecimal$outboundSchema,
15
+ } from "./amountdecimal.js";
16
+
17
+ export type CreateCancellation = {
18
+ amount?: AmountDecimal | undefined;
19
+ };
20
+
21
+ /** @internal */
22
+ export const CreateCancellation$inboundSchema: z.ZodType<
23
+ CreateCancellation,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ amount: types.optional(AmountDecimal$inboundSchema),
28
+ });
29
+ /** @internal */
30
+ export type CreateCancellation$Outbound = {
31
+ amount?: AmountDecimal$Outbound | undefined;
32
+ };
33
+
34
+ /** @internal */
35
+ export const CreateCancellation$outboundSchema: z.ZodType<
36
+ CreateCancellation$Outbound,
37
+ z.ZodTypeDef,
38
+ CreateCancellation
39
+ > = z.object({
40
+ amount: AmountDecimal$outboundSchema.optional(),
41
+ });
42
+
43
+ export function createCancellationToJSON(
44
+ createCancellation: CreateCancellation,
45
+ ): string {
46
+ return JSON.stringify(
47
+ CreateCancellation$outboundSchema.parse(createCancellation),
48
+ );
49
+ }
50
+ export function createCancellationFromJSON(
51
+ jsonString: string,
52
+ ): SafeParseResult<CreateCancellation, SDKValidationError> {
53
+ return safeParse(
54
+ jsonString,
55
+ (x) => CreateCancellation$inboundSchema.parse(JSON.parse(x)),
56
+ `Failed to parse 'CreateCancellation' from JSON`,
57
+ );
58
+ }
@@ -0,0 +1,128 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import * as types from "../../types/primitives.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ AmountDecimal,
12
+ AmountDecimal$inboundSchema,
13
+ AmountDecimal$Outbound,
14
+ AmountDecimal$outboundSchema,
15
+ } from "./amountdecimal.js";
16
+ import {
17
+ CreateTransferAmountDetails,
18
+ CreateTransferAmountDetails$inboundSchema,
19
+ CreateTransferAmountDetails$Outbound,
20
+ CreateTransferAmountDetails$outboundSchema,
21
+ } from "./createtransferamountdetails.js";
22
+ import {
23
+ CreateTransferLineItems,
24
+ CreateTransferLineItems$inboundSchema,
25
+ CreateTransferLineItems$Outbound,
26
+ CreateTransferLineItems$outboundSchema,
27
+ } from "./createtransferlineitems.js";
28
+
29
+ /**
30
+ * Request to capture funds against an authorized transfer.
31
+ */
32
+ export type CreateCapture = {
33
+ /**
34
+ * Payment method of the merchant account to capture funds into. For card-acquiring transfers, this must be a moov-wallet payment method.
35
+ */
36
+ destinationPaymentMethodID: string;
37
+ /**
38
+ * Amount to capture. If omitted, the remaining authorized amount is captured.
39
+ */
40
+ amount?: AmountDecimal | undefined;
41
+ /**
42
+ * Indicates whether this is the final capture against the authorization. When `true`, any remaining authorized amount is voided.
43
+ */
44
+ isFinal?: boolean | undefined;
45
+ /**
46
+ * An optional description of the capture that is used on receipts and for your own internal use.
47
+ */
48
+ description?: string | undefined;
49
+ /**
50
+ * Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
51
+ */
52
+ metadata?: { [k: string]: string } | undefined;
53
+ /**
54
+ * Optional alias from a foreign/external system which can be used to reference this resource.
55
+ */
56
+ foreignID?: string | undefined;
57
+ /**
58
+ * An optional collection of line items for a transfer.
59
+ *
60
+ * @remarks
61
+ * When line items are provided, their total plus tax must equal the transfer amount.
62
+ */
63
+ lineItems?: CreateTransferLineItems | undefined;
64
+ amountDetails?: CreateTransferAmountDetails | undefined;
65
+ /**
66
+ * The facilitator fee amount applied to the capture.
67
+ */
68
+ facilitatorFeeAmount?: AmountDecimal | undefined;
69
+ };
70
+
71
+ /** @internal */
72
+ export const CreateCapture$inboundSchema: z.ZodType<
73
+ CreateCapture,
74
+ z.ZodTypeDef,
75
+ unknown
76
+ > = z.object({
77
+ destinationPaymentMethodID: types.string(),
78
+ amount: types.optional(AmountDecimal$inboundSchema),
79
+ isFinal: types.optional(types.boolean()),
80
+ description: types.optional(types.string()),
81
+ metadata: types.optional(z.record(types.string())),
82
+ foreignID: types.optional(types.string()),
83
+ lineItems: types.optional(CreateTransferLineItems$inboundSchema),
84
+ amountDetails: types.optional(CreateTransferAmountDetails$inboundSchema),
85
+ facilitatorFeeAmount: types.optional(AmountDecimal$inboundSchema),
86
+ });
87
+ /** @internal */
88
+ export type CreateCapture$Outbound = {
89
+ destinationPaymentMethodID: string;
90
+ amount?: AmountDecimal$Outbound | undefined;
91
+ isFinal?: boolean | undefined;
92
+ description?: string | undefined;
93
+ metadata?: { [k: string]: string } | undefined;
94
+ foreignID?: string | undefined;
95
+ lineItems?: CreateTransferLineItems$Outbound | undefined;
96
+ amountDetails?: CreateTransferAmountDetails$Outbound | undefined;
97
+ facilitatorFeeAmount?: AmountDecimal$Outbound | undefined;
98
+ };
99
+
100
+ /** @internal */
101
+ export const CreateCapture$outboundSchema: z.ZodType<
102
+ CreateCapture$Outbound,
103
+ z.ZodTypeDef,
104
+ CreateCapture
105
+ > = z.object({
106
+ destinationPaymentMethodID: z.string(),
107
+ amount: AmountDecimal$outboundSchema.optional(),
108
+ isFinal: z.boolean().optional(),
109
+ description: z.string().optional(),
110
+ metadata: z.record(z.string()).optional(),
111
+ foreignID: z.string().optional(),
112
+ lineItems: CreateTransferLineItems$outboundSchema.optional(),
113
+ amountDetails: CreateTransferAmountDetails$outboundSchema.optional(),
114
+ facilitatorFeeAmount: AmountDecimal$outboundSchema.optional(),
115
+ });
116
+
117
+ export function createCaptureToJSON(createCapture: CreateCapture): string {
118
+ return JSON.stringify(CreateCapture$outboundSchema.parse(createCapture));
119
+ }
120
+ export function createCaptureFromJSON(
121
+ jsonString: string,
122
+ ): SafeParseResult<CreateCapture, SDKValidationError> {
123
+ return safeParse(
124
+ jsonString,
125
+ (x) => CreateCapture$inboundSchema.parse(JSON.parse(x)),
126
+ `Failed to parse 'CreateCapture' from JSON`,
127
+ );
128
+ }
@@ -8,29 +8,11 @@ import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import * as types from "../../types/primitives.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
  import {
11
- Amount,
12
- Amount$inboundSchema,
13
- Amount$Outbound,
14
- Amount$outboundSchema,
15
- } from "./amount.js";
16
- import {
17
- Cancellation,
18
- Cancellation$inboundSchema,
19
- Cancellation$Outbound,
20
- Cancellation$outboundSchema,
21
- } from "./cancellation.js";
22
- import {
23
- CardAcquiringDispute,
24
- CardAcquiringDispute$inboundSchema,
25
- CardAcquiringDispute$Outbound,
26
- CardAcquiringDispute$outboundSchema,
27
- } from "./cardacquiringdispute.js";
28
- import {
29
- CardAcquiringRefund,
30
- CardAcquiringRefund$inboundSchema,
31
- CardAcquiringRefund$Outbound,
32
- CardAcquiringRefund$outboundSchema,
33
- } from "./cardacquiringrefund.js";
11
+ AmountDecimal,
12
+ AmountDecimal$inboundSchema,
13
+ AmountDecimal$Outbound,
14
+ AmountDecimal$outboundSchema,
15
+ } from "./amountdecimal.js";
34
16
  import {
35
17
  FacilitatorFee,
36
18
  FacilitatorFee$inboundSchema,
@@ -49,6 +31,12 @@ import {
49
31
  TransferAmountDetails$Outbound,
50
32
  TransferAmountDetails$outboundSchema,
51
33
  } from "./transferamountdetails.js";
34
+ import {
35
+ TransferAuthorization,
36
+ TransferAuthorization$inboundSchema,
37
+ TransferAuthorization$Outbound,
38
+ TransferAuthorization$outboundSchema,
39
+ } from "./transferauthorization.js";
52
40
  import {
53
41
  TransferDestination,
54
42
  TransferDestination$inboundSchema,
@@ -66,6 +54,18 @@ import {
66
54
  TransferLineItems$Outbound,
67
55
  TransferLineItems$outboundSchema,
68
56
  } from "./transferlineitems.js";
57
+ import {
58
+ TransferProcessingDetails,
59
+ TransferProcessingDetails$inboundSchema,
60
+ TransferProcessingDetails$Outbound,
61
+ TransferProcessingDetails$outboundSchema,
62
+ } from "./transferprocessingdetails.js";
63
+ import {
64
+ TransferRailOptions,
65
+ TransferRailOptions$inboundSchema,
66
+ TransferRailOptions$Outbound,
67
+ TransferRailOptions$outboundSchema,
68
+ } from "./transferrailoptions.js";
69
69
  import {
70
70
  TransferSource,
71
71
  TransferSource$inboundSchema,
@@ -77,9 +77,18 @@ import {
77
77
  TransferStatus$inboundSchema,
78
78
  TransferStatus$outboundSchema,
79
79
  } from "./transferstatus.js";
80
+ import {
81
+ TransferType,
82
+ TransferType$inboundSchema,
83
+ TransferType$outboundSchema,
84
+ } from "./transfertype.js";
80
85
 
81
86
  export type CreatedTransfer = {
82
87
  transferID: string;
88
+ /**
89
+ * The rail and direction used to move funds for a transfer.
90
+ */
91
+ transferType: TransferType;
83
92
  createdOn: Date;
84
93
  source?: TransferSource | undefined;
85
94
  destination?: TransferDestination | undefined;
@@ -92,7 +101,7 @@ export type CreatedTransfer = {
92
101
  * Reason for a transfer's failure.
93
102
  */
94
103
  failureReason?: TransferFailureReason | undefined;
95
- amount?: Amount | undefined;
104
+ amount?: AmountDecimal | undefined;
96
105
  /**
97
106
  * An optional description of the transfer that is used on receipts and for your own internal use.
98
107
  */
@@ -108,21 +117,14 @@ export type CreatedTransfer = {
108
117
  /**
109
118
  * Fees charged to your platform account for transfers.
110
119
  */
111
- moovFee?: number | undefined;
112
- /**
113
- * Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.
114
- */
115
- moovFeeDecimal?: string | undefined;
120
+ moovFee?: AmountDecimal | undefined;
116
121
  /**
117
122
  * Processing and pass-through costs that add up to the moovFee.
118
123
  */
119
124
  moovFeeDetails?: MoovFeeDetails | undefined;
120
125
  groupID?: string | undefined;
121
- cancellations?: Array<Cancellation> | undefined;
122
- refundedAmount?: Amount | undefined;
123
- refunds?: Array<CardAcquiringRefund> | undefined;
124
- disputedAmount?: Amount | undefined;
125
- disputes?: Array<CardAcquiringDispute> | undefined;
126
+ refundedAmount?: AmountDecimal | undefined;
127
+ disputedAmount?: AmountDecimal | undefined;
126
128
  sweepID?: string | undefined;
127
129
  scheduleID?: string | undefined;
128
130
  occurrenceID?: string | undefined;
@@ -139,6 +141,9 @@ export type CreatedTransfer = {
139
141
  */
140
142
  lineItems?: TransferLineItems | undefined;
141
143
  amountDetails?: TransferAmountDetails | undefined;
144
+ authorization?: TransferAuthorization | undefined;
145
+ options: TransferRailOptions;
146
+ processingDetails: TransferProcessingDetails;
142
147
  };
143
148
 
144
149
  /** @internal */
@@ -148,25 +153,22 @@ export const CreatedTransfer$inboundSchema: z.ZodType<
148
153
  unknown
149
154
  > = z.object({
150
155
  transferID: types.string(),
156
+ transferType: TransferType$inboundSchema,
151
157
  createdOn: types.date(),
152
158
  source: types.optional(TransferSource$inboundSchema),
153
159
  destination: types.optional(TransferDestination$inboundSchema),
154
160
  completedOn: types.optional(types.date()),
155
161
  status: types.optional(TransferStatus$inboundSchema),
156
162
  failureReason: types.optional(TransferFailureReason$inboundSchema),
157
- amount: types.optional(Amount$inboundSchema),
163
+ amount: types.optional(AmountDecimal$inboundSchema),
158
164
  description: types.optional(types.string()),
159
165
  metadata: types.optional(z.record(types.string())),
160
166
  facilitatorFee: types.optional(FacilitatorFee$inboundSchema),
161
- moovFee: types.optional(types.number()),
162
- moovFeeDecimal: types.optional(types.string()),
167
+ moovFee: types.optional(AmountDecimal$inboundSchema),
163
168
  moovFeeDetails: types.optional(MoovFeeDetails$inboundSchema),
164
169
  groupID: types.optional(types.string()),
165
- cancellations: types.optional(z.array(Cancellation$inboundSchema)),
166
- refundedAmount: types.optional(Amount$inboundSchema),
167
- refunds: types.optional(z.array(CardAcquiringRefund$inboundSchema)),
168
- disputedAmount: types.optional(Amount$inboundSchema),
169
- disputes: types.optional(z.array(CardAcquiringDispute$inboundSchema)),
170
+ refundedAmount: types.optional(AmountDecimal$inboundSchema),
171
+ disputedAmount: types.optional(AmountDecimal$inboundSchema),
170
172
  sweepID: types.optional(types.string()),
171
173
  scheduleID: types.optional(types.string()),
172
174
  occurrenceID: types.optional(types.string()),
@@ -174,29 +176,29 @@ export const CreatedTransfer$inboundSchema: z.ZodType<
174
176
  foreignID: types.optional(types.string()),
175
177
  lineItems: types.optional(TransferLineItems$inboundSchema),
176
178
  amountDetails: types.optional(TransferAmountDetails$inboundSchema),
179
+ authorization: types.optional(TransferAuthorization$inboundSchema),
180
+ options: TransferRailOptions$inboundSchema,
181
+ processingDetails: TransferProcessingDetails$inboundSchema,
177
182
  });
178
183
  /** @internal */
179
184
  export type CreatedTransfer$Outbound = {
180
185
  transferID: string;
186
+ transferType: string;
181
187
  createdOn: string;
182
188
  source?: TransferSource$Outbound | undefined;
183
189
  destination?: TransferDestination$Outbound | undefined;
184
190
  completedOn?: string | undefined;
185
191
  status?: string | undefined;
186
192
  failureReason?: string | undefined;
187
- amount?: Amount$Outbound | undefined;
193
+ amount?: AmountDecimal$Outbound | undefined;
188
194
  description?: string | undefined;
189
195
  metadata?: { [k: string]: string } | undefined;
190
196
  facilitatorFee?: FacilitatorFee$Outbound | undefined;
191
- moovFee?: number | undefined;
192
- moovFeeDecimal?: string | undefined;
197
+ moovFee?: AmountDecimal$Outbound | undefined;
193
198
  moovFeeDetails?: MoovFeeDetails$Outbound | undefined;
194
199
  groupID?: string | undefined;
195
- cancellations?: Array<Cancellation$Outbound> | undefined;
196
- refundedAmount?: Amount$Outbound | undefined;
197
- refunds?: Array<CardAcquiringRefund$Outbound> | undefined;
198
- disputedAmount?: Amount$Outbound | undefined;
199
- disputes?: Array<CardAcquiringDispute$Outbound> | undefined;
200
+ refundedAmount?: AmountDecimal$Outbound | undefined;
201
+ disputedAmount?: AmountDecimal$Outbound | undefined;
200
202
  sweepID?: string | undefined;
201
203
  scheduleID?: string | undefined;
202
204
  occurrenceID?: string | undefined;
@@ -204,6 +206,9 @@ export type CreatedTransfer$Outbound = {
204
206
  foreignID?: string | undefined;
205
207
  lineItems?: TransferLineItems$Outbound | undefined;
206
208
  amountDetails?: TransferAmountDetails$Outbound | undefined;
209
+ authorization?: TransferAuthorization$Outbound | undefined;
210
+ options: TransferRailOptions$Outbound;
211
+ processingDetails: TransferProcessingDetails$Outbound;
207
212
  };
208
213
 
209
214
  /** @internal */
@@ -213,25 +218,22 @@ export const CreatedTransfer$outboundSchema: z.ZodType<
213
218
  CreatedTransfer
214
219
  > = z.object({
215
220
  transferID: z.string(),
221
+ transferType: TransferType$outboundSchema,
216
222
  createdOn: z.date().transform(v => v.toISOString()),
217
223
  source: TransferSource$outboundSchema.optional(),
218
224
  destination: TransferDestination$outboundSchema.optional(),
219
225
  completedOn: z.date().transform(v => v.toISOString()).optional(),
220
226
  status: TransferStatus$outboundSchema.optional(),
221
227
  failureReason: TransferFailureReason$outboundSchema.optional(),
222
- amount: Amount$outboundSchema.optional(),
228
+ amount: AmountDecimal$outboundSchema.optional(),
223
229
  description: z.string().optional(),
224
230
  metadata: z.record(z.string()).optional(),
225
231
  facilitatorFee: FacilitatorFee$outboundSchema.optional(),
226
- moovFee: z.number().int().optional(),
227
- moovFeeDecimal: z.string().optional(),
232
+ moovFee: AmountDecimal$outboundSchema.optional(),
228
233
  moovFeeDetails: MoovFeeDetails$outboundSchema.optional(),
229
234
  groupID: z.string().optional(),
230
- cancellations: z.array(Cancellation$outboundSchema).optional(),
231
- refundedAmount: Amount$outboundSchema.optional(),
232
- refunds: z.array(CardAcquiringRefund$outboundSchema).optional(),
233
- disputedAmount: Amount$outboundSchema.optional(),
234
- disputes: z.array(CardAcquiringDispute$outboundSchema).optional(),
235
+ refundedAmount: AmountDecimal$outboundSchema.optional(),
236
+ disputedAmount: AmountDecimal$outboundSchema.optional(),
235
237
  sweepID: z.string().optional(),
236
238
  scheduleID: z.string().optional(),
237
239
  occurrenceID: z.string().optional(),
@@ -239,6 +241,9 @@ export const CreatedTransfer$outboundSchema: z.ZodType<
239
241
  foreignID: z.string().optional(),
240
242
  lineItems: TransferLineItems$outboundSchema.optional(),
241
243
  amountDetails: TransferAmountDetails$outboundSchema.optional(),
244
+ authorization: TransferAuthorization$outboundSchema.optional(),
245
+ options: TransferRailOptions$outboundSchema,
246
+ processingDetails: TransferProcessingDetails$outboundSchema,
242
247
  });
243
248
 
244
249
  export function createdTransferToJSON(
@@ -7,6 +7,12 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import * as types from "../../types/primitives.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ AmountDecimal,
12
+ AmountDecimal$inboundSchema,
13
+ AmountDecimal$Outbound,
14
+ AmountDecimal$outboundSchema,
15
+ } from "./amountdecimal.js";
10
16
  import {
11
17
  RefundAmountDetails,
12
18
  RefundAmountDetails$inboundSchema,
@@ -19,13 +25,17 @@ import {
19
25
  *
20
26
  * @remarks
21
27
  *
22
- * This request body is optional, an empty body will issue a refund for the full amount of the original transfer.
28
+ * Before v2026.10, this request body may be omitted. In v2026.10 and later, send an empty object to refund the full amount of the original transfer.
23
29
  */
24
30
  export type CreateRefund = {
25
31
  /**
26
- * Amount to refund in cents. If null, the original transfer's full amount will be refunded.
32
+ * Amount to refund. Before v2026.10, specify the amount in integer cents. If omitted, the original transfer's full amount will be refunded.
33
+ */
34
+ amount?: AmountDecimal | undefined;
35
+ /**
36
+ * ID of the capture to refund. Required for multi-capture card payment transfers.
27
37
  */
28
- amount?: number | undefined;
38
+ captureID?: string | undefined;
29
39
  /**
30
40
  * Breakdown of the refunded amount.
31
41
  */
@@ -38,12 +48,14 @@ export const CreateRefund$inboundSchema: z.ZodType<
38
48
  z.ZodTypeDef,
39
49
  unknown
40
50
  > = z.object({
41
- amount: types.optional(types.number()),
51
+ amount: types.optional(AmountDecimal$inboundSchema),
52
+ captureID: types.optional(types.string()),
42
53
  amountDetails: types.optional(RefundAmountDetails$inboundSchema),
43
54
  });
44
55
  /** @internal */
45
56
  export type CreateRefund$Outbound = {
46
- amount?: number | undefined;
57
+ amount?: AmountDecimal$Outbound | undefined;
58
+ captureID?: string | undefined;
47
59
  amountDetails?: RefundAmountDetails$Outbound | undefined;
48
60
  };
49
61
 
@@ -53,7 +65,8 @@ export const CreateRefund$outboundSchema: z.ZodType<
53
65
  z.ZodTypeDef,
54
66
  CreateRefund
55
67
  > = z.object({
56
- amount: z.number().int().optional(),
68
+ amount: AmountDecimal$outboundSchema.optional(),
69
+ captureID: z.string().optional(),
57
70
  amountDetails: RefundAmountDetails$outboundSchema.optional(),
58
71
  });
59
72
 
@@ -7,6 +7,12 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import * as types from "../../types/primitives.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ AmountDecimal,
12
+ AmountDecimal$inboundSchema,
13
+ AmountDecimal$Outbound,
14
+ AmountDecimal$outboundSchema,
15
+ } from "./amountdecimal.js";
10
16
  import {
11
17
  ReversalAmountDetails,
12
18
  ReversalAmountDetails$inboundSchema,
@@ -16,9 +22,9 @@ import {
16
22
 
17
23
  export type CreateReversal = {
18
24
  /**
19
- * Amount to reverse in cents. Partial amounts will automatically trigger a refund instead of a cancellation.
25
+ * Amount to reverse. Before v2026.10, specify the amount in integer cents. Partial amounts automatically trigger a refund instead of a cancellation.
20
26
  */
21
- amount: number;
27
+ amount: AmountDecimal;
22
28
  /**
23
29
  * Breakdown of the reversed amount.
24
30
  */
@@ -31,12 +37,12 @@ export const CreateReversal$inboundSchema: z.ZodType<
31
37
  z.ZodTypeDef,
32
38
  unknown
33
39
  > = z.object({
34
- amount: types.number(),
40
+ amount: AmountDecimal$inboundSchema,
35
41
  amountDetails: types.optional(ReversalAmountDetails$inboundSchema),
36
42
  });
37
43
  /** @internal */
38
44
  export type CreateReversal$Outbound = {
39
- amount: number;
45
+ amount: AmountDecimal$Outbound;
40
46
  amountDetails?: ReversalAmountDetails$Outbound | undefined;
41
47
  };
42
48
 
@@ -46,7 +52,7 @@ export const CreateReversal$outboundSchema: z.ZodType<
46
52
  z.ZodTypeDef,
47
53
  CreateReversal
48
54
  > = z.object({
49
- amount: z.number().int(),
55
+ amount: AmountDecimal$outboundSchema,
50
56
  amountDetails: ReversalAmountDetails$outboundSchema.optional(),
51
57
  });
52
58