@moovio/sdk 26.10.0-dev.0 → 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 (660) hide show
  1. package/README.md +167 -68
  2. package/bin/mcp-server.js +2946 -1196
  3. package/bin/mcp-server.js.map +141 -85
  4. package/funcs/avatarsDelete.d.ts +23 -0
  5. package/funcs/avatarsDelete.d.ts.map +1 -0
  6. package/funcs/avatarsDelete.js +135 -0
  7. package/funcs/avatarsDelete.js.map +1 -0
  8. package/funcs/avatarsUpload.d.ts +23 -0
  9. package/funcs/avatarsUpload.d.ts.map +1 -0
  10. package/funcs/avatarsUpload.js +155 -0
  11. package/funcs/avatarsUpload.js.map +1 -0
  12. package/funcs/cardIssuingListMerchantCategories.d.ts +19 -0
  13. package/funcs/cardIssuingListMerchantCategories.d.ts.map +1 -0
  14. package/funcs/cardIssuingListMerchantCategories.js +109 -0
  15. package/funcs/cardIssuingListMerchantCategories.js.map +1 -0
  16. package/funcs/productsList.js +1 -0
  17. package/funcs/productsList.js.map +1 -1
  18. package/funcs/productsListCategories.d.ts +14 -0
  19. package/funcs/productsListCategories.d.ts.map +1 -0
  20. package/funcs/productsListCategories.js +107 -0
  21. package/funcs/productsListCategories.js.map +1 -0
  22. package/funcs/transfersCreateCancellation.js +4 -1
  23. package/funcs/transfersCreateCancellation.js.map +1 -1
  24. package/funcs/transfersCreateCapture.d.ts +18 -0
  25. package/funcs/transfersCreateCapture.d.ts.map +1 -0
  26. package/funcs/transfersCreateCapture.js +132 -0
  27. package/funcs/transfersCreateCapture.js.map +1 -0
  28. package/funcs/transfersGetCapture.d.ts +17 -0
  29. package/funcs/transfersGetCapture.d.ts.map +1 -0
  30. package/funcs/transfersGetCapture.js +133 -0
  31. package/funcs/transfersGetCapture.js.map +1 -0
  32. package/funcs/transfersList.js +3 -0
  33. package/funcs/transfersList.js.map +1 -1
  34. package/funcs/transfersListCaptures.d.ts +17 -0
  35. package/funcs/transfersListCaptures.d.ts.map +1 -0
  36. package/funcs/transfersListCaptures.js +129 -0
  37. package/funcs/transfersListCaptures.js.map +1 -0
  38. package/hooks/oauth2scopes.d.ts +5 -0
  39. package/hooks/oauth2scopes.d.ts.map +1 -0
  40. package/hooks/oauth2scopes.js +6 -0
  41. package/hooks/oauth2scopes.js.map +1 -0
  42. package/jsr.json +1 -1
  43. package/lib/config.d.ts +3 -3
  44. package/lib/config.js +3 -3
  45. package/mcp-server/mcp-server.js +1 -1
  46. package/mcp-server/server.d.ts.map +1 -1
  47. package/mcp-server/server.js +16 -6
  48. package/mcp-server/server.js.map +1 -1
  49. package/mcp-server/tools/avatarsGet.js +1 -1
  50. package/mcp-server/tools/cardIssuingListMerchantCategories.d.ts +3 -0
  51. package/mcp-server/tools/cardIssuingListMerchantCategories.d.ts.map +1 -0
  52. package/mcp-server/tools/cardIssuingListMerchantCategories.js +29 -0
  53. package/mcp-server/tools/cardIssuingListMerchantCategories.js.map +1 -0
  54. package/mcp-server/tools/enrichedAddressGet.js +1 -1
  55. package/mcp-server/tools/enrichedProfileGet.js +1 -1
  56. package/mcp-server/tools/institutionsSearch.js +1 -1
  57. package/mcp-server/tools/productsListCategories.d.ts +3 -0
  58. package/mcp-server/tools/productsListCategories.d.ts.map +1 -0
  59. package/mcp-server/tools/productsListCategories.js +24 -0
  60. package/mcp-server/tools/productsListCategories.js.map +1 -0
  61. package/mcp-server/tools/transfersCreateCapture.d.ts +8 -0
  62. package/mcp-server/tools/transfersCreateCapture.d.ts.map +1 -0
  63. package/mcp-server/tools/transfersCreateCapture.js +65 -0
  64. package/mcp-server/tools/transfersCreateCapture.js.map +1 -0
  65. package/mcp-server/tools/transfersGetCapture.d.ts +8 -0
  66. package/mcp-server/tools/transfersGetCapture.d.ts.map +1 -0
  67. package/mcp-server/tools/transfersGetCapture.js +65 -0
  68. package/mcp-server/tools/transfersGetCapture.js.map +1 -0
  69. package/mcp-server/tools/transfersListCaptures.d.ts +8 -0
  70. package/mcp-server/tools/transfersListCaptures.d.ts.map +1 -0
  71. package/mcp-server/tools/transfersListCaptures.js +65 -0
  72. package/mcp-server/tools/transfersListCaptures.js.map +1 -0
  73. package/models/components/achcreditoptions.d.ts +28 -0
  74. package/models/components/achcreditoptions.d.ts.map +1 -0
  75. package/models/components/achcreditoptions.js +64 -0
  76. package/models/components/achcreditoptions.js.map +1 -0
  77. package/models/components/achcredittransferprocessingdetails.d.ts +22 -0
  78. package/models/components/achcredittransferprocessingdetails.d.ts.map +1 -0
  79. package/models/components/achcredittransferprocessingdetails.js +64 -0
  80. package/models/components/achcredittransferprocessingdetails.js.map +1 -0
  81. package/models/components/achdebitoptions.d.ts +40 -0
  82. package/models/components/achdebitoptions.d.ts.map +1 -0
  83. package/models/components/{achtransactiondetails.js → achdebitoptions.js} +10 -34
  84. package/models/components/achdebitoptions.js.map +1 -0
  85. package/models/components/achdebittransferprocessingdetails.d.ts +22 -0
  86. package/models/components/achdebittransferprocessingdetails.d.ts.map +1 -0
  87. package/models/components/achdebittransferprocessingdetails.js +64 -0
  88. package/models/components/achdebittransferprocessingdetails.js.map +1 -0
  89. package/models/components/allowedscheduleerror.d.ts +24 -0
  90. package/models/components/allowedscheduleerror.d.ts.map +1 -0
  91. package/models/components/allowedscheduleerror.js +62 -0
  92. package/models/components/allowedscheduleerror.js.map +1 -0
  93. package/models/components/asynccreatedrefund.d.ts +8 -3
  94. package/models/components/asynccreatedrefund.d.ts.map +1 -1
  95. package/models/components/asynccreatedrefund.js +5 -3
  96. package/models/components/asynccreatedrefund.js.map +1 -1
  97. package/models/components/avataruploadrequest.d.ts +35 -0
  98. package/models/components/avataruploadrequest.d.ts.map +1 -0
  99. package/models/components/avataruploadrequest.js +88 -0
  100. package/models/components/avataruploadrequest.js.map +1 -0
  101. package/models/components/capabilityid.d.ts +1 -0
  102. package/models/components/capabilityid.d.ts.map +1 -1
  103. package/models/components/capabilityid.js +1 -0
  104. package/models/components/capabilityid.js.map +1 -1
  105. package/models/components/capture.d.ts +77 -0
  106. package/models/components/capture.d.ts.map +1 -0
  107. package/models/components/capture.js +85 -0
  108. package/models/components/capture.js.map +1 -0
  109. package/models/components/capturestatus.d.ts +16 -0
  110. package/models/components/capturestatus.d.ts.map +1 -0
  111. package/models/components/{refundcardstatus.js → capturestatus.js} +9 -8
  112. package/models/components/capturestatus.js.map +1 -0
  113. package/models/components/cardacquiringrefund.d.ts +11 -6
  114. package/models/components/cardacquiringrefund.d.ts.map +1 -1
  115. package/models/components/cardacquiringrefund.js +8 -6
  116. package/models/components/cardacquiringrefund.js.map +1 -1
  117. package/models/components/cardpaymentoptions.d.ts +31 -0
  118. package/models/components/cardpaymentoptions.d.ts.map +1 -0
  119. package/models/components/cardpaymentoptions.js +62 -0
  120. package/models/components/cardpaymentoptions.js.map +1 -0
  121. package/models/components/cardpaymentrefundprocessingdetails.d.ts +18 -0
  122. package/models/components/cardpaymentrefundprocessingdetails.d.ts.map +1 -0
  123. package/models/components/{refundcarddetails.js → cardpaymentrefundprocessingdetails.js} +10 -23
  124. package/models/components/cardpaymentrefundprocessingdetails.js.map +1 -0
  125. package/models/components/cardpaymenttransferprocessingdetails.d.ts +24 -0
  126. package/models/components/cardpaymenttransferprocessingdetails.d.ts.map +1 -0
  127. package/models/components/cardpaymenttransferprocessingdetails.js +66 -0
  128. package/models/components/cardpaymenttransferprocessingdetails.js.map +1 -0
  129. package/models/components/createcancellation.d.ts +18 -0
  130. package/models/components/createcancellation.d.ts.map +1 -0
  131. package/models/components/{cardacquiringdispute.js → createcancellation.js} +13 -17
  132. package/models/components/createcancellation.js.map +1 -0
  133. package/models/components/createcapture.d.ts +70 -0
  134. package/models/components/createcapture.d.ts.map +1 -0
  135. package/models/components/createcapture.js +78 -0
  136. package/models/components/createcapture.js.map +1 -0
  137. package/models/components/createdtransfer.d.ts +24 -23
  138. package/models/components/createdtransfer.d.ts.map +1 -1
  139. package/models/components/createdtransfer.js +21 -20
  140. package/models/components/createdtransfer.js.map +1 -1
  141. package/models/components/createrefund.d.ts +10 -4
  142. package/models/components/createrefund.d.ts.map +1 -1
  143. package/models/components/createrefund.js +5 -2
  144. package/models/components/createrefund.js.map +1 -1
  145. package/models/components/createreversal.d.ts +4 -3
  146. package/models/components/createreversal.d.ts.map +1 -1
  147. package/models/components/createreversal.js +3 -2
  148. package/models/components/createreversal.js.map +1 -1
  149. package/models/components/createtransfer.d.ts +13 -7
  150. package/models/components/createtransfer.d.ts.map +1 -1
  151. package/models/components/createtransfer.js +9 -6
  152. package/models/components/createtransfer.js.map +1 -1
  153. package/models/components/createtransferfacilitatorfee.d.ts +29 -0
  154. package/models/components/createtransferfacilitatorfee.d.ts.map +1 -0
  155. package/models/components/createtransferfacilitatorfee.js +62 -0
  156. package/models/components/createtransferfacilitatorfee.js.map +1 -0
  157. package/models/components/createtransferoptions.d.ts +3 -3
  158. package/models/components/createtransferoptions.d.ts.map +1 -1
  159. package/models/components/createtransferoptions.js +3 -3
  160. package/models/components/createtransferoptions.js.map +1 -1
  161. package/models/components/feepaidby.d.ts +18 -0
  162. package/models/components/feepaidby.d.ts.map +1 -0
  163. package/models/components/{achtransactionstatus.js → feepaidby.js} +8 -13
  164. package/models/components/feepaidby.js.map +1 -0
  165. package/models/components/fullissuedcard.d.ts +6 -3
  166. package/models/components/fullissuedcard.d.ts.map +1 -1
  167. package/models/components/fullissuedcard.js +3 -3
  168. package/models/components/fullissuedcard.js.map +1 -1
  169. package/models/components/incurredfee.d.ts +6 -0
  170. package/models/components/incurredfee.d.ts.map +1 -1
  171. package/models/components/incurredfee.js +3 -0
  172. package/models/components/incurredfee.js.map +1 -1
  173. package/models/components/index.d.ts +47 -9
  174. package/models/components/index.d.ts.map +1 -1
  175. package/models/components/index.js +47 -9
  176. package/models/components/index.js.map +1 -1
  177. package/models/components/instantbankcredittransferprocessingdetails.d.ts +31 -0
  178. package/models/components/instantbankcredittransferprocessingdetails.d.ts.map +1 -0
  179. package/models/components/{instantbanktransactiondetails.js → instantbankcredittransferprocessingdetails.js} +10 -21
  180. package/models/components/instantbankcredittransferprocessingdetails.js.map +1 -0
  181. package/models/components/issuedcard.d.ts +6 -3
  182. package/models/components/issuedcard.d.ts.map +1 -1
  183. package/models/components/issuedcard.js +3 -3
  184. package/models/components/issuedcard.js.map +1 -1
  185. package/models/components/issuedcontrols.d.ts +76 -0
  186. package/models/components/issuedcontrols.d.ts.map +1 -0
  187. package/models/components/issuedcontrols.js +92 -0
  188. package/models/components/issuedcontrols.js.map +1 -0
  189. package/models/components/issuedvelocitylimit.d.ts +59 -0
  190. package/models/components/issuedvelocitylimit.d.ts.map +1 -0
  191. package/models/components/issuedvelocitylimit.js +74 -0
  192. package/models/components/issuedvelocitylimit.js.map +1 -0
  193. package/models/components/issuingcontrols.d.ts +47 -0
  194. package/models/components/issuingcontrols.d.ts.map +1 -1
  195. package/models/components/issuingcontrols.js +33 -1
  196. package/models/components/issuingcontrols.js.map +1 -1
  197. package/models/components/issuingcontrolserror.d.ts +11 -0
  198. package/models/components/issuingcontrolserror.d.ts.map +1 -1
  199. package/models/components/issuingcontrolserror.js +12 -0
  200. package/models/components/issuingcontrolserror.js.map +1 -1
  201. package/models/components/issuingcontrolsrestrictionmode.d.ts +18 -0
  202. package/models/components/issuingcontrolsrestrictionmode.d.ts.map +1 -0
  203. package/models/components/{cardtransactionstatus.js → issuingcontrolsrestrictionmode.js} +8 -13
  204. package/models/components/issuingcontrolsrestrictionmode.js.map +1 -0
  205. package/models/components/issuingintervallimit.d.ts +9 -6
  206. package/models/components/issuingintervallimit.d.ts.map +1 -1
  207. package/models/components/issuingintervallimit.js +7 -4
  208. package/models/components/issuingintervallimit.js.map +1 -1
  209. package/models/components/issuingmerchantcategory.d.ts +42 -0
  210. package/models/components/issuingmerchantcategory.d.ts.map +1 -0
  211. package/models/components/issuingmerchantcategory.js +76 -0
  212. package/models/components/issuingmerchantcategory.js.map +1 -0
  213. package/models/components/issuingscheduleday.d.ts +17 -0
  214. package/models/components/issuingscheduleday.d.ts.map +1 -0
  215. package/models/components/issuingscheduleday.js +54 -0
  216. package/models/components/issuingscheduleday.js.map +1 -0
  217. package/models/components/issuingvelocitylimit.d.ts +8 -3
  218. package/models/components/issuingvelocitylimit.d.ts.map +1 -1
  219. package/models/components/issuingvelocitylimit.js +4 -2
  220. package/models/components/issuingvelocitylimit.js.map +1 -1
  221. package/models/components/issuingvelocitylimiterror.d.ts +2 -0
  222. package/models/components/issuingvelocitylimiterror.d.ts.map +1 -1
  223. package/models/components/issuingvelocitylimiterror.js +2 -0
  224. package/models/components/issuingvelocitylimiterror.js.map +1 -1
  225. package/models/components/merchantcategories.d.ts +21 -0
  226. package/models/components/merchantcategories.d.ts.map +1 -0
  227. package/models/components/merchantcategories.js +59 -0
  228. package/models/components/merchantcategories.js.map +1 -0
  229. package/models/components/merchantcategory.d.ts +32 -0
  230. package/models/components/merchantcategory.d.ts.map +1 -0
  231. package/models/components/merchantcategory.js +62 -0
  232. package/models/components/merchantcategory.js.map +1 -0
  233. package/models/components/merchantcategoryrestrictions.d.ts +41 -0
  234. package/models/components/merchantcategoryrestrictions.d.ts.map +1 -0
  235. package/models/components/merchantcategoryrestrictions.js +68 -0
  236. package/models/components/merchantcategoryrestrictions.js.map +1 -0
  237. package/models/components/merchantcategoryrestrictionserror.d.ts +36 -0
  238. package/models/components/merchantcategoryrestrictionserror.d.ts.map +1 -0
  239. package/models/components/merchantcategoryrestrictionserror.js +66 -0
  240. package/models/components/merchantcategoryrestrictionserror.js.map +1 -0
  241. package/models/components/merchantentry.d.ts +33 -0
  242. package/models/components/merchantentry.d.ts.map +1 -0
  243. package/models/components/merchantentry.js +63 -0
  244. package/models/components/merchantentry.js.map +1 -0
  245. package/models/components/merchantentryerror.d.ts +19 -0
  246. package/models/components/merchantentryerror.d.ts.map +1 -0
  247. package/models/components/merchantentryerror.js +61 -0
  248. package/models/components/merchantentryerror.js.map +1 -0
  249. package/models/components/merchantrestrictions.d.ts +30 -0
  250. package/models/components/merchantrestrictions.d.ts.map +1 -0
  251. package/models/components/merchantrestrictions.js +62 -0
  252. package/models/components/merchantrestrictions.js.map +1 -0
  253. package/models/components/merchantrestrictionserror.d.ts +24 -0
  254. package/models/components/merchantrestrictionserror.d.ts.map +1 -0
  255. package/models/components/merchantrestrictionserror.js +62 -0
  256. package/models/components/merchantrestrictionserror.js.map +1 -0
  257. package/models/components/moovfeedetails.d.ts +9 -8
  258. package/models/components/moovfeedetails.d.ts.map +1 -1
  259. package/models/components/moovfeedetails.js +9 -8
  260. package/models/components/moovfeedetails.js.map +1 -1
  261. package/models/components/paymentlinkpayoutdetails.d.ts +14 -0
  262. package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
  263. package/models/components/paymentlinkpayoutdetails.js +3 -0
  264. package/models/components/paymentlinkpayoutdetails.js.map +1 -1
  265. package/models/components/paymentlinkpayoutdetailsupdate.d.ts +14 -0
  266. package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
  267. package/models/components/paymentlinkpayoutdetailsupdate.js +3 -0
  268. package/models/components/paymentlinkpayoutdetailsupdate.js.map +1 -1
  269. package/models/components/paymentmethodswallet.d.ts +1 -0
  270. package/models/components/paymentmethodswallet.d.ts.map +1 -1
  271. package/models/components/paymentmethodswallet.js.map +1 -1
  272. package/models/components/payoutdetailserror.d.ts +2 -0
  273. package/models/components/payoutdetailserror.d.ts.map +1 -1
  274. package/models/components/payoutdetailserror.js +2 -0
  275. package/models/components/payoutdetailserror.js.map +1 -1
  276. package/models/components/product.d.ts +6 -0
  277. package/models/components/product.d.ts.map +1 -1
  278. package/models/components/product.js +3 -0
  279. package/models/components/product.js.map +1 -1
  280. package/models/components/productcategories.d.ts +21 -0
  281. package/models/components/productcategories.d.ts.map +1 -0
  282. package/models/components/productcategories.js +59 -0
  283. package/models/components/productcategories.js.map +1 -0
  284. package/models/components/productcategory.d.ts +43 -0
  285. package/models/components/productcategory.d.ts.map +1 -0
  286. package/models/components/productcategory.js +67 -0
  287. package/models/components/productcategory.js.map +1 -0
  288. package/models/components/productrequest.d.ts +5 -0
  289. package/models/components/productrequest.d.ts.map +1 -1
  290. package/models/components/productrequest.js +2 -0
  291. package/models/components/productrequest.js.map +1 -1
  292. package/models/components/pullfromcardoptions.d.ts +31 -0
  293. package/models/components/pullfromcardoptions.d.ts.map +1 -0
  294. package/models/components/pullfromcardoptions.js +62 -0
  295. package/models/components/pullfromcardoptions.js.map +1 -0
  296. package/models/components/pullfromcardtransferprocessingdetails.d.ts +24 -0
  297. package/models/components/pullfromcardtransferprocessingdetails.d.ts.map +1 -0
  298. package/models/components/pullfromcardtransferprocessingdetails.js +66 -0
  299. package/models/components/pullfromcardtransferprocessingdetails.js.map +1 -0
  300. package/models/components/pushtocardoptions.d.ts +20 -0
  301. package/models/components/pushtocardoptions.d.ts.map +1 -0
  302. package/models/components/pushtocardoptions.js +59 -0
  303. package/models/components/pushtocardoptions.js.map +1 -0
  304. package/models/components/pushtocardtransferprocessingdetails.d.ts +24 -0
  305. package/models/components/pushtocardtransferprocessingdetails.d.ts.map +1 -0
  306. package/models/components/pushtocardtransferprocessingdetails.js +66 -0
  307. package/models/components/pushtocardtransferprocessingdetails.js.map +1 -0
  308. package/models/components/refundprocessingdetails.d.ts +18 -0
  309. package/models/components/refundprocessingdetails.d.ts.map +1 -0
  310. package/models/components/refundprocessingdetails.js +60 -0
  311. package/models/components/refundprocessingdetails.js.map +1 -0
  312. package/models/components/schedulewindow.d.ts +34 -0
  313. package/models/components/schedulewindow.d.ts.map +1 -0
  314. package/models/components/schedulewindow.js +64 -0
  315. package/models/components/schedulewindow.js.map +1 -0
  316. package/models/components/schedulewindowerror.d.ts +21 -0
  317. package/models/components/schedulewindowerror.d.ts.map +1 -0
  318. package/models/components/schedulewindowerror.js +63 -0
  319. package/models/components/schedulewindowerror.js.map +1 -0
  320. package/models/components/sendfunds.d.ts +3 -0
  321. package/models/components/sendfunds.d.ts.map +1 -1
  322. package/models/components/sendfunds.js +3 -0
  323. package/models/components/sendfunds.js.map +1 -1
  324. package/models/components/sendfundserror.d.ts +3 -0
  325. package/models/components/sendfundserror.d.ts.map +1 -1
  326. package/models/components/sendfundserror.js +3 -0
  327. package/models/components/sendfundserror.js.map +1 -1
  328. package/models/components/sendfundswire.d.ts +18 -0
  329. package/models/components/sendfundswire.d.ts.map +1 -0
  330. package/models/components/sendfundswire.js +60 -0
  331. package/models/components/sendfundswire.js.map +1 -0
  332. package/models/components/sendfundswireerror.d.ts +18 -0
  333. package/models/components/sendfundswireerror.d.ts.map +1 -0
  334. package/models/components/sendfundswireerror.js +60 -0
  335. package/models/components/sendfundswireerror.js.map +1 -0
  336. package/models/components/transfer.d.ts +24 -23
  337. package/models/components/transfer.d.ts.map +1 -1
  338. package/models/components/transfer.js +21 -20
  339. package/models/components/transfer.js.map +1 -1
  340. package/models/components/transferauthorization.d.ts +28 -0
  341. package/models/components/transferauthorization.d.ts.map +1 -0
  342. package/models/components/transferauthorization.js +70 -0
  343. package/models/components/transferauthorization.js.map +1 -0
  344. package/models/components/transferdestination.d.ts +6 -24
  345. package/models/components/transferdestination.d.ts.map +1 -1
  346. package/models/components/transferdestination.js +6 -15
  347. package/models/components/transferdestination.js.map +1 -1
  348. package/models/components/transferfeepaidby.d.ts +24 -0
  349. package/models/components/transferfeepaidby.d.ts.map +1 -0
  350. package/models/components/transferfeepaidby.js +60 -0
  351. package/models/components/transferfeepaidby.js.map +1 -0
  352. package/models/components/transferpaymentmethodswallet.d.ts +1 -0
  353. package/models/components/transferpaymentmethodswallet.d.ts.map +1 -1
  354. package/models/components/transferpaymentmethodswallet.js.map +1 -1
  355. package/models/components/transferprocessingdetails.d.ts +33 -0
  356. package/models/components/transferprocessingdetails.d.ts.map +1 -0
  357. package/models/components/transferprocessingdetails.js +76 -0
  358. package/models/components/transferprocessingdetails.js.map +1 -0
  359. package/models/components/transferrailoptions.d.ts +30 -0
  360. package/models/components/transferrailoptions.d.ts.map +1 -0
  361. package/models/components/transferrailoptions.js +72 -0
  362. package/models/components/transferrailoptions.js.map +1 -0
  363. package/models/components/transfersource.d.ts +6 -18
  364. package/models/components/transfersource.d.ts.map +1 -1
  365. package/models/components/transfersource.js +6 -12
  366. package/models/components/transfersource.js.map +1 -1
  367. package/models/components/transferstatus.d.ts +1 -0
  368. package/models/components/transferstatus.d.ts.map +1 -1
  369. package/models/components/transferstatus.js +1 -0
  370. package/models/components/transferstatus.js.map +1 -1
  371. package/models/components/transfertype.d.ts +24 -0
  372. package/models/components/transfertype.d.ts.map +1 -0
  373. package/models/components/{instantbanktransactionstatus.js → transfertype.js} +14 -10
  374. package/models/components/transfertype.js.map +1 -0
  375. package/models/components/updateissuedcard.d.ts +6 -0
  376. package/models/components/updateissuedcard.d.ts.map +1 -1
  377. package/models/components/updateissuedcard.js +3 -0
  378. package/models/components/updateissuedcard.js.map +1 -1
  379. package/models/components/updateissuingcontrols.d.ts +130 -0
  380. package/models/components/updateissuingcontrols.d.ts.map +1 -0
  381. package/models/components/updateissuingcontrols.js +130 -0
  382. package/models/components/updateissuingcontrols.js.map +1 -0
  383. package/models/components/updateissuingcontrolserror.d.ts +33 -0
  384. package/models/components/updateissuingcontrolserror.d.ts.map +1 -0
  385. package/models/components/updateissuingcontrolserror.js +72 -0
  386. package/models/components/updateissuingcontrolserror.js.map +1 -0
  387. package/models/components/wallet.d.ts +1 -0
  388. package/models/components/wallet.d.ts.map +1 -1
  389. package/models/components/wallet.js.map +1 -1
  390. package/models/components/wallettype.d.ts +3 -0
  391. package/models/components/wallettype.d.ts.map +1 -1
  392. package/models/components/wallettype.js +2 -0
  393. package/models/components/wallettype.js.map +1 -1
  394. package/models/components/webhookdatatransferstatus.d.ts +3 -0
  395. package/models/components/webhookdatatransferstatus.d.ts.map +1 -1
  396. package/models/components/webhookdatatransferstatus.js +3 -0
  397. package/models/components/webhookdatatransferstatus.js.map +1 -1
  398. package/models/errors/capturevalidationerror.d.ts +55 -0
  399. package/models/errors/capturevalidationerror.d.ts.map +1 -0
  400. package/models/errors/capturevalidationerror.js +117 -0
  401. package/models/errors/capturevalidationerror.js.map +1 -0
  402. package/models/errors/cardacquiringrefund.d.ts +15 -6
  403. package/models/errors/cardacquiringrefund.d.ts.map +1 -1
  404. package/models/errors/cardacquiringrefund.js +9 -6
  405. package/models/errors/cardacquiringrefund.js.map +1 -1
  406. package/models/errors/index.d.ts +1 -0
  407. package/models/errors/index.d.ts.map +1 -1
  408. package/models/errors/index.js +1 -0
  409. package/models/errors/index.js.map +1 -1
  410. package/models/errors/productrequestvalidationerror.d.ts +3 -0
  411. package/models/errors/productrequestvalidationerror.d.ts.map +1 -1
  412. package/models/errors/productrequestvalidationerror.js +4 -0
  413. package/models/errors/productrequestvalidationerror.js.map +1 -1
  414. package/models/errors/transfer.d.ts +30 -30
  415. package/models/errors/transfer.d.ts.map +1 -1
  416. package/models/errors/transfer.js +21 -25
  417. package/models/errors/transfer.js.map +1 -1
  418. package/models/errors/updateissuedcarderror.d.ts +3 -0
  419. package/models/errors/updateissuedcarderror.d.ts.map +1 -1
  420. package/models/errors/updateissuedcarderror.js +4 -0
  421. package/models/errors/updateissuedcarderror.js.map +1 -1
  422. package/models/operations/createcancellation.d.ts +2 -0
  423. package/models/operations/createcancellation.d.ts.map +1 -1
  424. package/models/operations/createcancellation.js +10 -0
  425. package/models/operations/createcancellation.js.map +1 -1
  426. package/models/operations/createcapture.d.ts +52 -0
  427. package/models/operations/createcapture.d.ts.map +1 -0
  428. package/models/operations/createcapture.js +105 -0
  429. package/models/operations/createcapture.js.map +1 -0
  430. package/models/operations/createreversal.d.ts +2 -2
  431. package/models/operations/createreversal.d.ts.map +1 -1
  432. package/models/operations/createreversal.js +2 -2
  433. package/models/operations/createreversal.js.map +1 -1
  434. package/models/operations/deleteavatar.d.ts +52 -0
  435. package/models/operations/deleteavatar.d.ts.map +1 -0
  436. package/models/operations/deleteavatar.js +102 -0
  437. package/models/operations/deleteavatar.js.map +1 -0
  438. package/models/operations/getcapture.d.ts +50 -0
  439. package/models/operations/getcapture.d.ts.map +1 -0
  440. package/models/operations/getcapture.js +93 -0
  441. package/models/operations/getcapture.js.map +1 -0
  442. package/models/operations/index.d.ts +7 -0
  443. package/models/operations/index.d.ts.map +1 -1
  444. package/models/operations/index.js +7 -0
  445. package/models/operations/index.js.map +1 -1
  446. package/models/operations/initiaterefund.d.ts +2 -2
  447. package/models/operations/initiaterefund.d.ts.map +1 -1
  448. package/models/operations/initiaterefund.js +2 -2
  449. package/models/operations/initiaterefund.js.map +1 -1
  450. package/models/operations/listcaptures.d.ts +45 -0
  451. package/models/operations/listcaptures.d.ts.map +1 -0
  452. package/models/operations/listcaptures.js +91 -0
  453. package/models/operations/listcaptures.js.map +1 -0
  454. package/models/operations/listissuingmerchantcategories.d.ts +24 -0
  455. package/models/operations/listissuingmerchantcategories.d.ts.map +1 -0
  456. package/models/operations/listissuingmerchantcategories.js +72 -0
  457. package/models/operations/listissuingmerchantcategories.js.map +1 -0
  458. package/models/operations/listproductcategories.d.ts +24 -0
  459. package/models/operations/listproductcategories.d.ts.map +1 -0
  460. package/models/operations/listproductcategories.js +72 -0
  461. package/models/operations/listproductcategories.js.map +1 -0
  462. package/models/operations/listproducts.d.ts +9 -0
  463. package/models/operations/listproducts.d.ts.map +1 -1
  464. package/models/operations/listproducts.js +2 -0
  465. package/models/operations/listproducts.js.map +1 -1
  466. package/models/operations/listtransfers.d.ts +15 -0
  467. package/models/operations/listtransfers.d.ts.map +1 -1
  468. package/models/operations/listtransfers.js +6 -0
  469. package/models/operations/listtransfers.js.map +1 -1
  470. package/models/operations/uploadavatar.d.ts +55 -0
  471. package/models/operations/uploadavatar.d.ts.map +1 -0
  472. package/models/operations/uploadavatar.js +113 -0
  473. package/models/operations/uploadavatar.js.map +1 -0
  474. package/package.json +1 -1
  475. package/sdk/avatars.d.ts +24 -0
  476. package/sdk/avatars.d.ts.map +1 -1
  477. package/sdk/avatars.js +30 -0
  478. package/sdk/avatars.js.map +1 -1
  479. package/sdk/cardissuing.d.ts +9 -0
  480. package/sdk/cardissuing.d.ts.map +1 -1
  481. package/sdk/cardissuing.js +12 -0
  482. package/sdk/cardissuing.js.map +1 -1
  483. package/sdk/products.d.ts +4 -0
  484. package/sdk/products.d.ts.map +1 -1
  485. package/sdk/products.js +7 -0
  486. package/sdk/products.js.map +1 -1
  487. package/sdk/sdk.d.ts +2 -2
  488. package/sdk/sdk.d.ts.map +1 -1
  489. package/sdk/sdk.js +3 -3
  490. package/sdk/sdk.js.map +1 -1
  491. package/sdk/transfers.d.ts +21 -0
  492. package/sdk/transfers.d.ts.map +1 -1
  493. package/sdk/transfers.js +30 -0
  494. package/sdk/transfers.js.map +1 -1
  495. package/src/funcs/avatarsDelete.ts +194 -0
  496. package/src/funcs/avatarsUpload.ts +231 -0
  497. package/src/funcs/cardIssuingListMerchantCategories.ts +155 -0
  498. package/src/funcs/productsList.ts +1 -0
  499. package/src/funcs/productsListCategories.ts +149 -0
  500. package/src/funcs/transfersCreateCancellation.ts +5 -2
  501. package/src/funcs/transfersCreateCapture.ts +196 -0
  502. package/src/funcs/transfersGetCapture.ts +185 -0
  503. package/src/funcs/transfersList.ts +3 -0
  504. package/src/funcs/transfersListCaptures.ts +181 -0
  505. package/src/hooks/oauth2scopes.ts +8 -0
  506. package/src/lib/config.ts +3 -3
  507. package/src/mcp-server/mcp-server.ts +1 -1
  508. package/src/mcp-server/server.ts +16 -6
  509. package/src/mcp-server/tools/avatarsGet.ts +1 -1
  510. package/src/mcp-server/tools/cardIssuingListMerchantCategories.ts +34 -0
  511. package/src/mcp-server/tools/enrichedAddressGet.ts +1 -1
  512. package/src/mcp-server/tools/enrichedProfileGet.ts +1 -1
  513. package/src/mcp-server/tools/institutionsSearch.ts +1 -1
  514. package/src/mcp-server/tools/productsListCategories.ts +29 -0
  515. package/src/mcp-server/tools/transfersCreateCapture.ts +38 -0
  516. package/src/mcp-server/tools/transfersGetCapture.ts +38 -0
  517. package/src/mcp-server/tools/transfersListCaptures.ts +38 -0
  518. package/src/models/components/achcreditoptions.ts +72 -0
  519. package/src/models/components/achcredittransferprocessingdetails.ts +69 -0
  520. package/src/models/components/achdebitoptions.ts +94 -0
  521. package/src/models/components/achdebittransferprocessingdetails.ts +68 -0
  522. package/src/models/components/allowedscheduleerror.ts +62 -0
  523. package/src/models/components/asynccreatedrefund.ts +16 -9
  524. package/src/models/components/avataruploadrequest.ts +113 -0
  525. package/src/models/components/capabilityid.ts +1 -0
  526. package/src/models/components/capture.ts +142 -0
  527. package/src/models/components/capturestatus.ts +30 -0
  528. package/src/models/components/cardacquiringrefund.ts +25 -18
  529. package/src/models/components/cardpaymentoptions.ts +72 -0
  530. package/src/models/components/cardpaymentrefundprocessingdetails.ts +60 -0
  531. package/src/models/components/cardpaymenttransferprocessingdetails.ts +72 -0
  532. package/src/models/components/createcancellation.ts +58 -0
  533. package/src/models/components/createcapture.ts +128 -0
  534. package/src/models/components/createdtransfer.ts +63 -58
  535. package/src/models/components/createrefund.ts +19 -6
  536. package/src/models/components/createreversal.ts +11 -5
  537. package/src/models/components/createtransfer.ts +32 -19
  538. package/src/models/components/createtransferfacilitatorfee.ts +73 -0
  539. package/src/models/components/createtransferoptions.ts +9 -9
  540. package/src/models/components/feepaidby.ts +32 -0
  541. package/src/models/components/fullissuedcard.ts +12 -9
  542. package/src/models/components/incurredfee.ts +12 -0
  543. package/src/models/components/index.ts +47 -9
  544. package/src/models/components/instantbankcredittransferprocessingdetails.ts +88 -0
  545. package/src/models/components/issuedcard.ts +12 -9
  546. package/src/models/components/issuedcontrols.ts +180 -0
  547. package/src/models/components/issuedvelocitylimit.ts +112 -0
  548. package/src/models/components/issuingcontrols.ts +107 -0
  549. package/src/models/components/issuingcontrolserror.ts +39 -0
  550. package/src/models/components/issuingcontrolsrestrictionmode.ts +34 -0
  551. package/src/models/components/issuingintervallimit.ts +18 -10
  552. package/src/models/components/issuingmerchantcategory.ts +56 -0
  553. package/src/models/components/issuingscheduleday.ts +26 -0
  554. package/src/models/components/issuingvelocitylimit.ts +12 -5
  555. package/src/models/components/issuingvelocitylimiterror.ts +4 -0
  556. package/src/models/components/merchantcategories.ts +60 -0
  557. package/src/models/components/merchantcategory.ts +73 -0
  558. package/src/models/components/merchantcategoryrestrictions.ts +97 -0
  559. package/src/models/components/merchantcategoryrestrictionserror.ts +72 -0
  560. package/src/models/components/merchantentry.ts +68 -0
  561. package/src/models/components/merchantentryerror.ts +56 -0
  562. package/src/models/components/merchantrestrictions.ts +75 -0
  563. package/src/models/components/merchantrestrictionserror.ts +62 -0
  564. package/src/models/components/moovfeedetails.ts +22 -16
  565. package/src/models/components/paymentlinkpayoutdetails.ts +16 -0
  566. package/src/models/components/paymentlinkpayoutdetailsupdate.ts +16 -0
  567. package/src/models/components/paymentmethodswallet.ts +1 -0
  568. package/src/models/components/payoutdetailserror.ts +4 -0
  569. package/src/models/components/product.ts +13 -0
  570. package/src/models/components/productcategories.ts +60 -0
  571. package/src/models/components/productcategory.ts +84 -0
  572. package/src/models/components/productrequest.ts +7 -0
  573. package/src/models/components/pullfromcardoptions.ts +72 -0
  574. package/src/models/components/pullfromcardtransferprocessingdetails.ts +72 -0
  575. package/src/models/components/pushtocardoptions.ts +55 -0
  576. package/src/models/components/pushtocardtransferprocessingdetails.ts +72 -0
  577. package/src/models/components/refundprocessingdetails.ts +58 -0
  578. package/src/models/components/schedulewindow.ts +73 -0
  579. package/src/models/components/schedulewindowerror.ts +60 -0
  580. package/src/models/components/sendfunds.ts +10 -0
  581. package/src/models/components/sendfundserror.ts +10 -0
  582. package/src/models/components/sendfundswire.ts +54 -0
  583. package/src/models/components/sendfundswireerror.ts +58 -0
  584. package/src/models/components/transfer.ts +63 -58
  585. package/src/models/components/transferauthorization.ts +78 -0
  586. package/src/models/components/transferdestination.ts +12 -53
  587. package/src/models/components/transferfeepaidby.ts +63 -0
  588. package/src/models/components/transferpaymentmethodswallet.ts +1 -0
  589. package/src/models/components/transferprocessingdetails.ts +117 -0
  590. package/src/models/components/transferrailoptions.ts +98 -0
  591. package/src/models/components/transfersource.ts +12 -38
  592. package/src/models/components/transferstatus.ts +1 -0
  593. package/src/models/components/transfertype.ts +38 -0
  594. package/src/models/components/updateissuedcard.ts +13 -0
  595. package/src/models/components/updateissuingcontrols.ts +351 -0
  596. package/src/models/components/updateissuingcontrolserror.ts +101 -0
  597. package/src/models/components/wallet.ts +1 -0
  598. package/src/models/components/wallettype.ts +3 -0
  599. package/src/models/components/webhookdatatransferstatus.ts +3 -0
  600. package/src/models/errors/capturevalidationerror.ts +145 -0
  601. package/src/models/errors/cardacquiringrefund.ts +23 -11
  602. package/src/models/errors/index.ts +1 -0
  603. package/src/models/errors/productrequestvalidationerror.ts +6 -0
  604. package/src/models/errors/transfer.ts +50 -55
  605. package/src/models/errors/updateissuedcarderror.ts +6 -0
  606. package/src/models/operations/createcancellation.ts +12 -0
  607. package/src/models/operations/createcapture.ts +142 -0
  608. package/src/models/operations/createreversal.ts +4 -4
  609. package/src/models/operations/deleteavatar.ts +154 -0
  610. package/src/models/operations/getcapture.ts +128 -0
  611. package/src/models/operations/index.ts +7 -0
  612. package/src/models/operations/initiaterefund.ts +4 -4
  613. package/src/models/operations/listcaptures.ts +121 -0
  614. package/src/models/operations/listissuingmerchantcategories.ts +70 -0
  615. package/src/models/operations/listproductcategories.ts +69 -0
  616. package/src/models/operations/listproducts.ts +11 -0
  617. package/src/models/operations/listtransfers.ts +21 -0
  618. package/src/models/operations/uploadavatar.ts +167 -0
  619. package/src/sdk/avatars.ts +50 -0
  620. package/src/sdk/cardissuing.ts +18 -0
  621. package/src/sdk/products.ts +13 -0
  622. package/src/sdk/sdk.ts +5 -5
  623. package/src/sdk/transfers.ts +54 -0
  624. package/models/components/achtransactiondetails.d.ts +0 -70
  625. package/models/components/achtransactiondetails.d.ts.map +0 -1
  626. package/models/components/achtransactiondetails.js.map +0 -1
  627. package/models/components/achtransactionstatus.d.ts +0 -23
  628. package/models/components/achtransactionstatus.d.ts.map +0 -1
  629. package/models/components/achtransactionstatus.js.map +0 -1
  630. package/models/components/cardacquiringdispute.d.ts +0 -25
  631. package/models/components/cardacquiringdispute.d.ts.map +0 -1
  632. package/models/components/cardacquiringdispute.js.map +0 -1
  633. package/models/components/cardtransactiondetails.d.ts +0 -79
  634. package/models/components/cardtransactiondetails.d.ts.map +0 -1
  635. package/models/components/cardtransactiondetails.js +0 -90
  636. package/models/components/cardtransactiondetails.js.map +0 -1
  637. package/models/components/cardtransactionstatus.d.ts +0 -23
  638. package/models/components/cardtransactionstatus.d.ts.map +0 -1
  639. package/models/components/cardtransactionstatus.js.map +0 -1
  640. package/models/components/instantbanktransactiondetails.d.ts +0 -51
  641. package/models/components/instantbanktransactiondetails.d.ts.map +0 -1
  642. package/models/components/instantbanktransactiondetails.js.map +0 -1
  643. package/models/components/instantbanktransactionstatus.d.ts +0 -20
  644. package/models/components/instantbanktransactionstatus.d.ts.map +0 -1
  645. package/models/components/instantbanktransactionstatus.js.map +0 -1
  646. package/models/components/refundcarddetails.d.ts +0 -31
  647. package/models/components/refundcarddetails.d.ts.map +0 -1
  648. package/models/components/refundcarddetails.js.map +0 -1
  649. package/models/components/refundcardstatus.d.ts +0 -15
  650. package/models/components/refundcardstatus.d.ts.map +0 -1
  651. package/models/components/refundcardstatus.js.map +0 -1
  652. package/src/models/components/achtransactiondetails.ts +0 -157
  653. package/src/models/components/achtransactionstatus.ts +0 -37
  654. package/src/models/components/cardacquiringdispute.ts +0 -69
  655. package/src/models/components/cardtransactiondetails.ts +0 -154
  656. package/src/models/components/cardtransactionstatus.ts +0 -37
  657. package/src/models/components/instantbanktransactiondetails.ts +0 -116
  658. package/src/models/components/instantbanktransactionstatus.ts +0 -36
  659. package/src/models/components/refundcarddetails.ts +0 -86
  660. package/src/models/components/refundcardstatus.ts +0 -29
@@ -10,14 +10,18 @@ export * from "./accountnameverification.js";
10
10
  export * from "./accountterminalapplication.js";
11
11
  export * from "./accounttype.js";
12
12
  export * from "./accountverificationstatus.js";
13
+ export * from "./achcreditoptions.js";
13
14
  export * from "./achcreditsamedaypaymentmethod.js";
14
15
  export * from "./achcreditsamedaytransferpaymentmethod.js";
15
16
  export * from "./achcreditstandardpaymentmethod.js";
16
17
  export * from "./achcreditstandardtransferpaymentmethod.js";
18
+ export * from "./achcredittransferprocessingdetails.js";
17
19
  export * from "./achdebitcollectpaymentmethod.js";
18
20
  export * from "./achdebitcollecttransferpaymentmethod.js";
19
21
  export * from "./achdebitfundpaymentmethod.js";
20
22
  export * from "./achdebitfundtransferpaymentmethod.js";
23
+ export * from "./achdebitoptions.js";
24
+ export * from "./achdebittransferprocessingdetails.js";
21
25
  export * from "./achexception.js";
22
26
  export * from "./achfees.js";
23
27
  export * from "./achinstitution.js";
@@ -27,14 +31,13 @@ export * from "./achpaymentdetails.js";
27
31
  export * from "./achpaymentdetailserror.js";
28
32
  export * from "./achpaymentsettings.js";
29
33
  export * from "./achreturncode.js";
30
- export * from "./achtransactiondetails.js";
31
- export * from "./achtransactionstatus.js";
32
34
  export * from "./addcapabilities.js";
33
35
  export * from "./address.js";
34
36
  export * from "./addresserror.js";
35
37
  export * from "./addresssuggestion.js";
36
38
  export * from "./addressupdate.js";
37
39
  export * from "./adjustment.js";
40
+ export * from "./allowedscheduleerror.js";
38
41
  export * from "./amount.js";
39
42
  export * from "./amountdecimal.js";
40
43
  export * from "./amountdecimalrange.js";
@@ -59,6 +62,7 @@ export * from "./asynccreatedrefund.js";
59
62
  export * from "./asynctransfer.js";
60
63
  export * from "./authtoken.js";
61
64
  export * from "./authtokenrequest.js";
65
+ export * from "./avataruploadrequest.js";
62
66
  export * from "./bankaccount.js";
63
67
  export * from "./bankaccountexception.js";
64
68
  export * from "./bankaccountholdertype.js";
@@ -98,11 +102,12 @@ export * from "./capability.js";
98
102
  export * from "./capabilityid.js";
99
103
  export * from "./capabilityrequirement.js";
100
104
  export * from "./capabilitystatus.js";
105
+ export * from "./capture.js";
106
+ export * from "./capturestatus.js";
101
107
  export * from "./card.js";
102
108
  export * from "./cardacceptancemethods.js";
103
109
  export * from "./cardacceptancemethodserror.js";
104
110
  export * from "./cardaccountupdater.js";
105
- export * from "./cardacquiringdispute.js";
106
111
  export * from "./cardacquiringfees.js";
107
112
  export * from "./cardacquiringmodel.js";
108
113
  export * from "./cardacquiringrefund.js";
@@ -116,15 +121,16 @@ export * from "./cardmetadata.js";
116
121
  export * from "./cardmetadatarequest.js";
117
122
  export * from "./cardpaymentdetails.js";
118
123
  export * from "./cardpaymentdetailserror.js";
124
+ export * from "./cardpaymentoptions.js";
119
125
  export * from "./cardpaymentpaymentmethod.js";
126
+ export * from "./cardpaymentrefundprocessingdetails.js";
120
127
  export * from "./cardpaymentsettings.js";
121
128
  export * from "./cardpaymenttransferpaymentmethod.js";
129
+ export * from "./cardpaymenttransferprocessingdetails.js";
122
130
  export * from "./cardpayouttype.js";
123
131
  export * from "./cardpresentpaymentpaymentmethod.js";
124
132
  export * from "./cardpresentpaymenttransferpaymentmethod.js";
125
- export * from "./cardtransactiondetails.js";
126
133
  export * from "./cardtransactionfailurecode.js";
127
- export * from "./cardtransactionstatus.js";
128
134
  export * from "./cardtype.js";
129
135
  export * from "./cardupdatereason.js";
130
136
  export * from "./cardverification.js";
@@ -150,6 +156,8 @@ export * from "./createaccounttype.js";
150
156
  export * from "./createapplepaysession.js";
151
157
  export * from "./createbusinesserror.js";
152
158
  export * from "./createbusinessprofile.js";
159
+ export * from "./createcancellation.js";
160
+ export * from "./createcapture.js";
153
161
  export * from "./createdtransfer.js";
154
162
  export * from "./createevidencefilemultipart.js";
155
163
  export * from "./createevidencetext.js";
@@ -201,6 +209,7 @@ export * from "./createtransferconfig.js";
201
209
  export * from "./createtransferdestination.js";
202
210
  export * from "./createtransferdestinationach.js";
203
211
  export * from "./createtransferdestinationcard.js";
212
+ export * from "./createtransferfacilitatorfee.js";
204
213
  export * from "./createtransferlineitem.js";
205
214
  export * from "./createtransferlineitemoption.js";
206
215
  export * from "./createtransferlineitemoptionvalidationerror.js";
@@ -249,6 +258,7 @@ export * from "./fednowinstitution.js";
249
258
  export * from "./fednowservices.js";
250
259
  export * from "./feecategory.js";
251
260
  export * from "./feemodel.js";
261
+ export * from "./feepaidby.js";
252
262
  export * from "./feeplan.js";
253
263
  export * from "./feeplanagreement.js";
254
264
  export * from "./feeplanagreementstatus.js";
@@ -293,10 +303,9 @@ export * from "./industrycodes.js";
293
303
  export * from "./industrytaxonomy.js";
294
304
  export * from "./instantbankcreditpaymentmethod.js";
295
305
  export * from "./instantbankcredittransferpaymentmethod.js";
306
+ export * from "./instantbankcredittransferprocessingdetails.js";
296
307
  export * from "./instantbankfailurecode.js";
297
308
  export * from "./instantbanknetwork.js";
298
- export * from "./instantbanktransactiondetails.js";
299
- export * from "./instantbanktransactionstatus.js";
300
309
  export * from "./instantpaymentfees.js";
301
310
  export * from "./institutionssearchresponse.js";
302
311
  export * from "./invoice.js";
@@ -320,11 +329,16 @@ export * from "./issuedcardeventtype.js";
320
329
  export * from "./issuedcardformfactor.js";
321
330
  export * from "./issuedcardstate.js";
322
331
  export * from "./issuedcardtransaction.js";
332
+ export * from "./issuedcontrols.js";
333
+ export * from "./issuedvelocitylimit.js";
323
334
  export * from "./issuingauthorizationstatus.js";
324
335
  export * from "./issuingcontrols.js";
325
336
  export * from "./issuingcontrolserror.js";
337
+ export * from "./issuingcontrolsrestrictionmode.js";
326
338
  export * from "./issuingintervallimit.js";
339
+ export * from "./issuingmerchantcategory.js";
327
340
  export * from "./issuingmerchantdata.js";
341
+ export * from "./issuingscheduleday.js";
328
342
  export * from "./issuingvelocitylimit.js";
329
343
  export * from "./issuingvelocitylimiterror.js";
330
344
  export * from "./itemlistnextpage.js";
@@ -343,6 +357,14 @@ export * from "./linkgooglepay.js";
343
357
  export * from "./listfeesfetchrequest.js";
344
358
  export * from "./manualtermsofservice.js";
345
359
  export * from "./manualtermsofserviceupdate.js";
360
+ export * from "./merchantcategories.js";
361
+ export * from "./merchantcategory.js";
362
+ export * from "./merchantcategoryrestrictions.js";
363
+ export * from "./merchantcategoryrestrictionserror.js";
364
+ export * from "./merchantentry.js";
365
+ export * from "./merchantentryerror.js";
366
+ export * from "./merchantrestrictions.js";
367
+ export * from "./merchantrestrictionserror.js";
346
368
  export * from "./microdepositstatus.js";
347
369
  export * from "./minimumcommitment.js";
348
370
  export * from "./mode.js";
@@ -415,6 +437,8 @@ export * from "./plaidpayload.js";
415
437
  export * from "./platformfees.js";
416
438
  export * from "./primaryregulator.js";
417
439
  export * from "./product.js";
440
+ export * from "./productcategories.js";
441
+ export * from "./productcategory.js";
418
442
  export * from "./productimagemetadata.js";
419
443
  export * from "./productoption.js";
420
444
  export * from "./productoptiongroup.js";
@@ -424,8 +448,10 @@ export * from "./productrequest.js";
424
448
  export * from "./profile.js";
425
449
  export * from "./pullfromapplepaypaymentmethod.js";
426
450
  export * from "./pullfromapplepaytransferpaymentmethod.js";
451
+ export * from "./pullfromcardoptions.js";
427
452
  export * from "./pullfromcardpaymentmethod.js";
428
453
  export * from "./pullfromcardtransferpaymentmethod.js";
454
+ export * from "./pullfromcardtransferprocessingdetails.js";
429
455
  export * from "./pullfromgooglepaypaymentmethod.js";
430
456
  export * from "./pullfromgooglepaytransferpaymentmethod.js";
431
457
  export * from "./pushdeliveryspeed.js";
@@ -434,8 +460,10 @@ export * from "./pushoptionserror.js";
434
460
  export * from "./pushoptionsupdate.js";
435
461
  export * from "./pushtoapplepaypaymentmethod.js";
436
462
  export * from "./pushtoapplepaytransferpaymentmethod.js";
463
+ export * from "./pushtocardoptions.js";
437
464
  export * from "./pushtocardpaymentmethod.js";
438
465
  export * from "./pushtocardtransferpaymentmethod.js";
466
+ export * from "./pushtocardtransferprocessingdetails.js";
439
467
  export * from "./pushtogooglepaypaymentmethod.js";
440
468
  export * from "./pushtogooglepaytransferpaymentmethod.js";
441
469
  export * from "./puttippresets.js";
@@ -448,9 +476,8 @@ export * from "./recur.js";
448
476
  export * from "./recurresponse.js";
449
477
  export * from "./refundamountdetails.js";
450
478
  export * from "./refundamountdetailsvalidationerror.js";
451
- export * from "./refundcarddetails.js";
452
- export * from "./refundcardstatus.js";
453
479
  export * from "./refundpolicy.js";
480
+ export * from "./refundprocessingdetails.js";
454
481
  export * from "./refundstatus.js";
455
482
  export * from "./registerapplepaymerchantdomains.js";
456
483
  export * from "./representative.js";
@@ -484,6 +511,8 @@ export * from "./scheduledtransferlineitems.js";
484
511
  export * from "./schedulelistresponse.js";
485
512
  export * from "./schedulepaymentmethod.js";
486
513
  export * from "./scheduleresponse.js";
514
+ export * from "./schedulewindow.js";
515
+ export * from "./schedulewindowerror.js";
487
516
  export * from "./seccode.js";
488
517
  export * from "./security.js";
489
518
  export * from "./sendfunds.js";
@@ -496,6 +525,8 @@ export * from "./sendfundspushtocard.js";
496
525
  export * from "./sendfundspushtocarderror.js";
497
526
  export * from "./sendfundsrtp.js";
498
527
  export * from "./sendfundsrtperror.js";
528
+ export * from "./sendfundswire.js";
529
+ export * from "./sendfundswireerror.js";
499
530
  export * from "./sentreceipt.js";
500
531
  export * from "./settings.js";
501
532
  export * from "./sharescopes.js";
@@ -534,11 +565,13 @@ export * from "./transfer.js";
534
565
  export * from "./transferaccount.js";
535
566
  export * from "./transferachaddendarecord.js";
536
567
  export * from "./transferamountdetails.js";
568
+ export * from "./transferauthorization.js";
537
569
  export * from "./transferconfig.js";
538
570
  export * from "./transfercontrols.js";
539
571
  export * from "./transferdestination.js";
540
572
  export * from "./transferentrymode.js";
541
573
  export * from "./transferfailurereason.js";
574
+ export * from "./transferfeepaidby.js";
542
575
  export * from "./transferlineitem.js";
543
576
  export * from "./transferlineitemimagemetadata.js";
544
577
  export * from "./transferlineitemoption.js";
@@ -550,9 +583,12 @@ export * from "./transferpaymentmethodsbankaccount.js";
550
583
  export * from "./transferpaymentmethodscard.js";
551
584
  export * from "./transferpaymentmethodswallet.js";
552
585
  export * from "./transferpaymentmethodtype.js";
586
+ export * from "./transferprocessingdetails.js";
587
+ export * from "./transferrailoptions.js";
553
588
  export * from "./transfersource.js";
554
589
  export * from "./transferstatus.js";
555
590
  export * from "./transferterminalcard.js";
591
+ export * from "./transfertype.js";
556
592
  export * from "./transferwaitfor.js";
557
593
  export * from "./underwriting.js";
558
594
  export * from "./underwritingstatus.js";
@@ -564,6 +600,8 @@ export * from "./updateevidence.js";
564
600
  export * from "./updateinvoice.js";
565
601
  export * from "./updateissuedcard.js";
566
602
  export * from "./updateissuedcardstate.js";
603
+ export * from "./updateissuingcontrols.js";
604
+ export * from "./updateissuingcontrolserror.js";
567
605
  export * from "./updatepaymentlink.js";
568
606
  export * from "./updatepaymentlinkamountdetails.js";
569
607
  export * from "./updatepaymentlinkamountdetailsvalidationerror.js";
@@ -0,0 +1,88 @@
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
+ InstantBankFailureCode,
12
+ InstantBankFailureCode$inboundSchema,
13
+ InstantBankFailureCode$outboundSchema,
14
+ } from "./instantbankfailurecode.js";
15
+ import {
16
+ InstantBankNetwork,
17
+ InstantBankNetwork$inboundSchema,
18
+ InstantBankNetwork$outboundSchema,
19
+ } from "./instantbanknetwork.js";
20
+
21
+ export type InstantBankCreditTransferProcessingDetails = {
22
+ /**
23
+ * The network that the transaction was processed on.
24
+ */
25
+ network: InstantBankNetwork;
26
+ networkResponseCode?: string | undefined;
27
+ /**
28
+ * Status codes for instant-bank failures.
29
+ */
30
+ failureCode?: InstantBankFailureCode | undefined;
31
+ endToEndID?: string | undefined;
32
+ };
33
+
34
+ /** @internal */
35
+ export const InstantBankCreditTransferProcessingDetails$inboundSchema:
36
+ z.ZodType<InstantBankCreditTransferProcessingDetails, z.ZodTypeDef, unknown> =
37
+ z.object({
38
+ network: InstantBankNetwork$inboundSchema,
39
+ networkResponseCode: types.optional(types.string()),
40
+ failureCode: types.optional(InstantBankFailureCode$inboundSchema),
41
+ endToEndID: types.optional(types.string()),
42
+ });
43
+ /** @internal */
44
+ export type InstantBankCreditTransferProcessingDetails$Outbound = {
45
+ network: string;
46
+ networkResponseCode?: string | undefined;
47
+ failureCode?: string | undefined;
48
+ endToEndID?: string | undefined;
49
+ };
50
+
51
+ /** @internal */
52
+ export const InstantBankCreditTransferProcessingDetails$outboundSchema:
53
+ z.ZodType<
54
+ InstantBankCreditTransferProcessingDetails$Outbound,
55
+ z.ZodTypeDef,
56
+ InstantBankCreditTransferProcessingDetails
57
+ > = z.object({
58
+ network: InstantBankNetwork$outboundSchema,
59
+ networkResponseCode: z.string().optional(),
60
+ failureCode: InstantBankFailureCode$outboundSchema.optional(),
61
+ endToEndID: z.string().optional(),
62
+ });
63
+
64
+ export function instantBankCreditTransferProcessingDetailsToJSON(
65
+ instantBankCreditTransferProcessingDetails:
66
+ InstantBankCreditTransferProcessingDetails,
67
+ ): string {
68
+ return JSON.stringify(
69
+ InstantBankCreditTransferProcessingDetails$outboundSchema.parse(
70
+ instantBankCreditTransferProcessingDetails,
71
+ ),
72
+ );
73
+ }
74
+ export function instantBankCreditTransferProcessingDetailsFromJSON(
75
+ jsonString: string,
76
+ ): SafeParseResult<
77
+ InstantBankCreditTransferProcessingDetails,
78
+ SDKValidationError
79
+ > {
80
+ return safeParse(
81
+ jsonString,
82
+ (x) =>
83
+ InstantBankCreditTransferProcessingDetails$inboundSchema.parse(
84
+ JSON.parse(x),
85
+ ),
86
+ `Failed to parse 'InstantBankCreditTransferProcessingDetails' from JSON`,
87
+ );
88
+ }
@@ -35,11 +35,11 @@ import {
35
35
  IssuedCardState$outboundSchema,
36
36
  } from "./issuedcardstate.js";
37
37
  import {
38
- IssuingControls,
39
- IssuingControls$inboundSchema,
40
- IssuingControls$Outbound,
41
- IssuingControls$outboundSchema,
42
- } from "./issuingcontrols.js";
38
+ IssuedControls,
39
+ IssuedControls$inboundSchema,
40
+ IssuedControls$Outbound,
41
+ IssuedControls$outboundSchema,
42
+ } from "./issuedcontrols.js";
43
43
 
44
44
  export type IssuedCard = {
45
45
  issuedCardID: string;
@@ -85,7 +85,10 @@ export type IssuedCard = {
85
85
  * Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
86
86
  */
87
87
  formFactor: IssuedCardFormFactor;
88
- controls?: IssuingControls | undefined;
88
+ /**
89
+ * Spend controls applied to an issued card, including velocity runtime state.
90
+ */
91
+ controls?: IssuedControls | undefined;
89
92
  createdOn: Date;
90
93
  updatedOn: Date;
91
94
  };
@@ -107,7 +110,7 @@ export const IssuedCard$inboundSchema: z.ZodType<
107
110
  billingAddress: types.optional(Address$inboundSchema),
108
111
  state: IssuedCardState$inboundSchema,
109
112
  formFactor: IssuedCardFormFactor$inboundSchema,
110
- controls: types.optional(IssuingControls$inboundSchema),
113
+ controls: types.optional(IssuedControls$inboundSchema),
111
114
  createdOn: types.date(),
112
115
  updatedOn: types.date(),
113
116
  });
@@ -124,7 +127,7 @@ export type IssuedCard$Outbound = {
124
127
  billingAddress?: Address$Outbound | undefined;
125
128
  state: string;
126
129
  formFactor: string;
127
- controls?: IssuingControls$Outbound | undefined;
130
+ controls?: IssuedControls$Outbound | undefined;
128
131
  createdOn: string;
129
132
  updatedOn: string;
130
133
  };
@@ -146,7 +149,7 @@ export const IssuedCard$outboundSchema: z.ZodType<
146
149
  billingAddress: Address$outboundSchema.optional(),
147
150
  state: IssuedCardState$outboundSchema,
148
151
  formFactor: IssuedCardFormFactor$outboundSchema,
149
- controls: IssuingControls$outboundSchema.optional(),
152
+ controls: IssuedControls$outboundSchema.optional(),
150
153
  createdOn: z.date().transform(v => v.toISOString()),
151
154
  updatedOn: z.date().transform(v => v.toISOString()),
152
155
  });
@@ -0,0 +1,180 @@
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
+ IssuedVelocityLimit,
12
+ IssuedVelocityLimit$inboundSchema,
13
+ IssuedVelocityLimit$Outbound,
14
+ IssuedVelocityLimit$outboundSchema,
15
+ } from "./issuedvelocitylimit.js";
16
+ import {
17
+ MerchantCategoryRestrictions,
18
+ MerchantCategoryRestrictions$inboundSchema,
19
+ MerchantCategoryRestrictions$Outbound,
20
+ MerchantCategoryRestrictions$outboundSchema,
21
+ } from "./merchantcategoryrestrictions.js";
22
+ import {
23
+ MerchantRestrictions,
24
+ MerchantRestrictions$inboundSchema,
25
+ MerchantRestrictions$Outbound,
26
+ MerchantRestrictions$outboundSchema,
27
+ } from "./merchantrestrictions.js";
28
+ import {
29
+ ScheduleWindow,
30
+ ScheduleWindow$inboundSchema,
31
+ ScheduleWindow$Outbound,
32
+ ScheduleWindow$outboundSchema,
33
+ } from "./schedulewindow.js";
34
+
35
+ /**
36
+ * Limits card usage to specific days and times.
37
+ */
38
+ export type IssuedControlsAllowedSchedule = {
39
+ /**
40
+ * IANA timezone string used to evaluate window boundaries against the authorization time.
41
+ */
42
+ timezone: string;
43
+ /**
44
+ * Time windows during which the card may authorize. Any matching window allows the transaction.
45
+ */
46
+ windows: Array<ScheduleWindow>;
47
+ };
48
+
49
+ /**
50
+ * Spend controls applied to an issued card, including velocity runtime state.
51
+ */
52
+ export type IssuedControls = {
53
+ /**
54
+ * Indicates if the card is single-use. If true, the card closes after the first authorization.
55
+ */
56
+ singleUse?: boolean | undefined;
57
+ /**
58
+ * The spending limits per time interval, including current runtime state.
59
+ */
60
+ velocityLimits?: Array<IssuedVelocityLimit> | undefined;
61
+ /**
62
+ * Restricts card usage by merchant category. When not set, all categories are allowed.
63
+ */
64
+ merchantCategoryRestrictions?: MerchantCategoryRestrictions | undefined;
65
+ /**
66
+ * Restricts card usage to specific merchants, or blocks specific merchants.
67
+ */
68
+ merchantRestrictions?: MerchantRestrictions | undefined;
69
+ /**
70
+ * Limits card usage to specific days and times.
71
+ */
72
+ allowedSchedule?: IssuedControlsAllowedSchedule | null | undefined;
73
+ /**
74
+ * A spend cutoff date and time. When set, all authorizations after this datetime are declined regardless of other controls.
75
+ */
76
+ expiresOn?: Date | null | undefined;
77
+ };
78
+
79
+ /** @internal */
80
+ export const IssuedControlsAllowedSchedule$inboundSchema: z.ZodType<
81
+ IssuedControlsAllowedSchedule,
82
+ z.ZodTypeDef,
83
+ unknown
84
+ > = z.object({
85
+ timezone: types.string(),
86
+ windows: z.array(ScheduleWindow$inboundSchema),
87
+ });
88
+ /** @internal */
89
+ export type IssuedControlsAllowedSchedule$Outbound = {
90
+ timezone: string;
91
+ windows: Array<ScheduleWindow$Outbound>;
92
+ };
93
+
94
+ /** @internal */
95
+ export const IssuedControlsAllowedSchedule$outboundSchema: z.ZodType<
96
+ IssuedControlsAllowedSchedule$Outbound,
97
+ z.ZodTypeDef,
98
+ IssuedControlsAllowedSchedule
99
+ > = z.object({
100
+ timezone: z.string(),
101
+ windows: z.array(ScheduleWindow$outboundSchema),
102
+ });
103
+
104
+ export function issuedControlsAllowedScheduleToJSON(
105
+ issuedControlsAllowedSchedule: IssuedControlsAllowedSchedule,
106
+ ): string {
107
+ return JSON.stringify(
108
+ IssuedControlsAllowedSchedule$outboundSchema.parse(
109
+ issuedControlsAllowedSchedule,
110
+ ),
111
+ );
112
+ }
113
+ export function issuedControlsAllowedScheduleFromJSON(
114
+ jsonString: string,
115
+ ): SafeParseResult<IssuedControlsAllowedSchedule, SDKValidationError> {
116
+ return safeParse(
117
+ jsonString,
118
+ (x) => IssuedControlsAllowedSchedule$inboundSchema.parse(JSON.parse(x)),
119
+ `Failed to parse 'IssuedControlsAllowedSchedule' from JSON`,
120
+ );
121
+ }
122
+
123
+ /** @internal */
124
+ export const IssuedControls$inboundSchema: z.ZodType<
125
+ IssuedControls,
126
+ z.ZodTypeDef,
127
+ unknown
128
+ > = z.object({
129
+ singleUse: types.optional(types.boolean()),
130
+ velocityLimits: types.optional(z.array(IssuedVelocityLimit$inboundSchema)),
131
+ merchantCategoryRestrictions: types.optional(
132
+ MerchantCategoryRestrictions$inboundSchema,
133
+ ),
134
+ merchantRestrictions: types.optional(MerchantRestrictions$inboundSchema),
135
+ allowedSchedule: z.nullable(
136
+ z.lazy(() => IssuedControlsAllowedSchedule$inboundSchema),
137
+ ).optional(),
138
+ expiresOn: z.nullable(types.date()).optional(),
139
+ });
140
+ /** @internal */
141
+ export type IssuedControls$Outbound = {
142
+ singleUse?: boolean | undefined;
143
+ velocityLimits?: Array<IssuedVelocityLimit$Outbound> | undefined;
144
+ merchantCategoryRestrictions?:
145
+ | MerchantCategoryRestrictions$Outbound
146
+ | undefined;
147
+ merchantRestrictions?: MerchantRestrictions$Outbound | undefined;
148
+ allowedSchedule?: IssuedControlsAllowedSchedule$Outbound | null | undefined;
149
+ expiresOn?: string | null | undefined;
150
+ };
151
+
152
+ /** @internal */
153
+ export const IssuedControls$outboundSchema: z.ZodType<
154
+ IssuedControls$Outbound,
155
+ z.ZodTypeDef,
156
+ IssuedControls
157
+ > = z.object({
158
+ singleUse: z.boolean().optional(),
159
+ velocityLimits: z.array(IssuedVelocityLimit$outboundSchema).optional(),
160
+ merchantCategoryRestrictions: MerchantCategoryRestrictions$outboundSchema
161
+ .optional(),
162
+ merchantRestrictions: MerchantRestrictions$outboundSchema.optional(),
163
+ allowedSchedule: z.nullable(
164
+ z.lazy(() => IssuedControlsAllowedSchedule$outboundSchema),
165
+ ).optional(),
166
+ expiresOn: z.nullable(z.date().transform(v => v.toISOString())).optional(),
167
+ });
168
+
169
+ export function issuedControlsToJSON(issuedControls: IssuedControls): string {
170
+ return JSON.stringify(IssuedControls$outboundSchema.parse(issuedControls));
171
+ }
172
+ export function issuedControlsFromJSON(
173
+ jsonString: string,
174
+ ): SafeParseResult<IssuedControls, SDKValidationError> {
175
+ return safeParse(
176
+ jsonString,
177
+ (x) => IssuedControls$inboundSchema.parse(JSON.parse(x)),
178
+ `Failed to parse 'IssuedControls' from JSON`,
179
+ );
180
+ }
@@ -0,0 +1,112 @@
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
+ IssuingIntervalLimit,
12
+ IssuingIntervalLimit$inboundSchema,
13
+ IssuingIntervalLimit$outboundSchema,
14
+ } from "./issuingintervallimit.js";
15
+
16
+ /**
17
+ * A velocity limit with its current runtime state.
18
+ */
19
+ export type IssuedVelocityLimit = {
20
+ /**
21
+ * The maximum amount in cents that can be spent in a given interval.
22
+ */
23
+ amount?: number | undefined;
24
+ /**
25
+ * The maximum number of transactions allowed in the given interval.
26
+ */
27
+ count?: number | undefined;
28
+ /**
29
+ * Specifies the time frame for a velocity limit. `per-transaction` applies to each individual authorization and never resets. Time-based intervals (where supported) reset at midnight ET.
30
+ */
31
+ interval: IssuingIntervalLimit;
32
+ /**
33
+ * The amount in cents already spent in the current interval.
34
+ */
35
+ amountUsed?: number | undefined;
36
+ /**
37
+ * The amount in cents remaining in the current interval.
38
+ */
39
+ amountRemaining?: number | undefined;
40
+ /**
41
+ * The number of transactions already made in the current interval.
42
+ */
43
+ countUsed?: number | undefined;
44
+ /**
45
+ * The number of transactions remaining in the current interval.
46
+ */
47
+ countRemaining?: number | undefined;
48
+ /**
49
+ * When the current interval resets. Absent for per-transaction limits.
50
+ */
51
+ resetsOn?: Date | undefined;
52
+ };
53
+
54
+ /** @internal */
55
+ export const IssuedVelocityLimit$inboundSchema: z.ZodType<
56
+ IssuedVelocityLimit,
57
+ z.ZodTypeDef,
58
+ unknown
59
+ > = z.object({
60
+ amount: types.optional(types.number()),
61
+ count: types.optional(types.number()),
62
+ interval: IssuingIntervalLimit$inboundSchema,
63
+ amountUsed: types.optional(types.number()),
64
+ amountRemaining: types.optional(types.number()),
65
+ countUsed: types.optional(types.number()),
66
+ countRemaining: types.optional(types.number()),
67
+ resetsOn: types.optional(types.date()),
68
+ });
69
+ /** @internal */
70
+ export type IssuedVelocityLimit$Outbound = {
71
+ amount?: number | undefined;
72
+ count?: number | undefined;
73
+ interval: string;
74
+ amountUsed?: number | undefined;
75
+ amountRemaining?: number | undefined;
76
+ countUsed?: number | undefined;
77
+ countRemaining?: number | undefined;
78
+ resetsOn?: string | undefined;
79
+ };
80
+
81
+ /** @internal */
82
+ export const IssuedVelocityLimit$outboundSchema: z.ZodType<
83
+ IssuedVelocityLimit$Outbound,
84
+ z.ZodTypeDef,
85
+ IssuedVelocityLimit
86
+ > = z.object({
87
+ amount: z.number().int().optional(),
88
+ count: z.number().int().optional(),
89
+ interval: IssuingIntervalLimit$outboundSchema,
90
+ amountUsed: z.number().int().optional(),
91
+ amountRemaining: z.number().int().optional(),
92
+ countUsed: z.number().int().optional(),
93
+ countRemaining: z.number().int().optional(),
94
+ resetsOn: z.date().transform(v => v.toISOString()).optional(),
95
+ });
96
+
97
+ export function issuedVelocityLimitToJSON(
98
+ issuedVelocityLimit: IssuedVelocityLimit,
99
+ ): string {
100
+ return JSON.stringify(
101
+ IssuedVelocityLimit$outboundSchema.parse(issuedVelocityLimit),
102
+ );
103
+ }
104
+ export function issuedVelocityLimitFromJSON(
105
+ jsonString: string,
106
+ ): SafeParseResult<IssuedVelocityLimit, SDKValidationError> {
107
+ return safeParse(
108
+ jsonString,
109
+ (x) => IssuedVelocityLimit$inboundSchema.parse(JSON.parse(x)),
110
+ `Failed to parse 'IssuedVelocityLimit' from JSON`,
111
+ );
112
+ }