@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
@@ -0,0 +1,36 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { MerchantEntryError, MerchantEntryError$Outbound } from "./merchantentryerror.js";
5
+ export type MerchantCategoryRestrictionsError = {
6
+ mode?: string | undefined;
7
+ categories?: {
8
+ [k: string]: string;
9
+ } | undefined;
10
+ customMCCs?: {
11
+ [k: string]: string;
12
+ } | undefined;
13
+ exemptMerchants?: {
14
+ [k: string]: MerchantEntryError;
15
+ } | undefined;
16
+ };
17
+ /** @internal */
18
+ export declare const MerchantCategoryRestrictionsError$inboundSchema: z.ZodType<MerchantCategoryRestrictionsError, z.ZodTypeDef, unknown>;
19
+ /** @internal */
20
+ export type MerchantCategoryRestrictionsError$Outbound = {
21
+ mode?: string | undefined;
22
+ categories?: {
23
+ [k: string]: string;
24
+ } | undefined;
25
+ customMCCs?: {
26
+ [k: string]: string;
27
+ } | undefined;
28
+ exemptMerchants?: {
29
+ [k: string]: MerchantEntryError$Outbound;
30
+ } | undefined;
31
+ };
32
+ /** @internal */
33
+ export declare const MerchantCategoryRestrictionsError$outboundSchema: z.ZodType<MerchantCategoryRestrictionsError$Outbound, z.ZodTypeDef, MerchantCategoryRestrictionsError>;
34
+ export declare function merchantCategoryRestrictionsErrorToJSON(merchantCategoryRestrictionsError: MerchantCategoryRestrictionsError): string;
35
+ export declare function merchantCategoryRestrictionsErrorFromJSON(jsonString: string): SafeParseResult<MerchantCategoryRestrictionsError, SDKValidationError>;
36
+ //# sourceMappingURL=merchantcategoryrestrictionserror.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchantcategoryrestrictionserror.d.ts","sourceRoot":"","sources":["../../src/models/components/merchantcategoryrestrictionserror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,iCAAiC,GAAG;IAC9C,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IACjD,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IACjD,eAAe,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAAA;KAAE,GAAG,SAAS,CAAC;CACnE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,0CAA0C,GAAG;IACvD,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IACjD,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IACjD,eAAe,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,2BAA2B,CAAA;KAAE,GAAG,SAAS,CAAC;CAC5E,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,0CAA0C,EAC1C,CAAC,CAAC,UAAU,EACZ,iCAAiC,CAMjC,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR;AACD,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.MerchantCategoryRestrictionsError$outboundSchema = exports.MerchantCategoryRestrictionsError$inboundSchema = void 0;
40
+ exports.merchantCategoryRestrictionsErrorToJSON = merchantCategoryRestrictionsErrorToJSON;
41
+ exports.merchantCategoryRestrictionsErrorFromJSON = merchantCategoryRestrictionsErrorFromJSON;
42
+ const z = __importStar(require("zod/v3"));
43
+ const schemas_js_1 = require("../../lib/schemas.js");
44
+ const types = __importStar(require("../../types/primitives.js"));
45
+ const merchantentryerror_js_1 = require("./merchantentryerror.js");
46
+ /** @internal */
47
+ exports.MerchantCategoryRestrictionsError$inboundSchema = z.object({
48
+ mode: types.optional(types.string()),
49
+ categories: types.optional(z.record(types.string())),
50
+ customMCCs: types.optional(z.record(types.string())),
51
+ exemptMerchants: types.optional(z.record(merchantentryerror_js_1.MerchantEntryError$inboundSchema)),
52
+ });
53
+ /** @internal */
54
+ exports.MerchantCategoryRestrictionsError$outboundSchema = z.object({
55
+ mode: z.string().optional(),
56
+ categories: z.record(z.string()).optional(),
57
+ customMCCs: z.record(z.string()).optional(),
58
+ exemptMerchants: z.record(merchantentryerror_js_1.MerchantEntryError$outboundSchema).optional(),
59
+ });
60
+ function merchantCategoryRestrictionsErrorToJSON(merchantCategoryRestrictionsError) {
61
+ return JSON.stringify(exports.MerchantCategoryRestrictionsError$outboundSchema.parse(merchantCategoryRestrictionsError));
62
+ }
63
+ function merchantCategoryRestrictionsErrorFromJSON(jsonString) {
64
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MerchantCategoryRestrictionsError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MerchantCategoryRestrictionsError' from JSON`);
65
+ }
66
+ //# sourceMappingURL=merchantcategoryrestrictionserror.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchantcategoryrestrictionserror.js","sourceRoot":"","sources":["../../src/models/components/merchantcategoryrestrictionserror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDH,0FAQC;AACD,8FAQC;AAnED,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAEnD,mEAKiC;AASjC,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACpC,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACpD,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACpD,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,wDAAgC,CAAC,CAAC;CAC5E,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,eAAe,EAAE,CAAC,CAAC,MAAM,CAAC,yDAAiC,CAAC,CAAC,QAAQ,EAAE;CACxE,CAAC,CAAC;AAEH,SAAgB,uCAAuC,CACrD,iCAAoE;IAEpE,OAAO,IAAI,CAAC,SAAS,CACnB,wDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,yCAAyC,CACvD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uDAA+C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,+DAA+D,CAChE,CAAC;AACJ,CAAC"}
@@ -0,0 +1,33 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ /**
5
+ * Identifies a merchant by ID, descriptor pattern, or both. At least one of `mid` or `descriptorPattern` must be set.
6
+ */
7
+ export type MerchantEntry = {
8
+ /**
9
+ * The merchant's unique identifier (ISO 8583 DE42), matched exactly.
10
+ */
11
+ mid?: string | undefined;
12
+ /**
13
+ * A case-insensitive RE2 regular expression matched against the merchant descriptor (ISO 8583 DE43).
14
+ */
15
+ descriptorPattern?: string | undefined;
16
+ /**
17
+ * An optional label for this entry.
18
+ */
19
+ name?: string | undefined;
20
+ };
21
+ /** @internal */
22
+ export declare const MerchantEntry$inboundSchema: z.ZodType<MerchantEntry, z.ZodTypeDef, unknown>;
23
+ /** @internal */
24
+ export type MerchantEntry$Outbound = {
25
+ mid?: string | undefined;
26
+ descriptorPattern?: string | undefined;
27
+ name?: string | undefined;
28
+ };
29
+ /** @internal */
30
+ export declare const MerchantEntry$outboundSchema: z.ZodType<MerchantEntry$Outbound, z.ZodTypeDef, MerchantEntry>;
31
+ export declare function merchantEntryToJSON(merchantEntry: MerchantEntry): string;
32
+ export declare function merchantEntryFromJSON(jsonString: string): SafeParseResult<MerchantEntry, SDKValidationError>;
33
+ //# sourceMappingURL=merchantentry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchantentry.d.ts","sourceRoot":"","sources":["../../src/models/components/merchantentry.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,sBAAsB,GAAG;IACnC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,aAAa,CAKb,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AACD,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.MerchantEntry$outboundSchema = exports.MerchantEntry$inboundSchema = void 0;
40
+ exports.merchantEntryToJSON = merchantEntryToJSON;
41
+ exports.merchantEntryFromJSON = merchantEntryFromJSON;
42
+ const z = __importStar(require("zod/v3"));
43
+ const schemas_js_1 = require("../../lib/schemas.js");
44
+ const types = __importStar(require("../../types/primitives.js"));
45
+ /** @internal */
46
+ exports.MerchantEntry$inboundSchema = z.object({
47
+ mid: types.optional(types.string()),
48
+ descriptorPattern: types.optional(types.string()),
49
+ name: types.optional(types.string()),
50
+ });
51
+ /** @internal */
52
+ exports.MerchantEntry$outboundSchema = z.object({
53
+ mid: z.string().optional(),
54
+ descriptorPattern: z.string().optional(),
55
+ name: z.string().optional(),
56
+ });
57
+ function merchantEntryToJSON(merchantEntry) {
58
+ return JSON.stringify(exports.MerchantEntry$outboundSchema.parse(merchantEntry));
59
+ }
60
+ function merchantEntryFromJSON(jsonString) {
61
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MerchantEntry$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MerchantEntry' from JSON`);
62
+ }
63
+ //# sourceMappingURL=merchantentry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchantentry.js","sourceRoot":"","sources":["../../src/models/components/merchantentry.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDH,kDAEC;AACD,sDAQC;AA/DD,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAqBnD,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACnC,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACjD,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CACrC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAEH,SAAgB,mBAAmB,CAAC,aAA4B;IAC9D,OAAO,IAAI,CAAC,SAAS,CAAC,oCAA4B,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAC3E,CAAC;AACD,SAAgB,qBAAqB,CACnC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,19 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ export type MerchantEntryError = {
5
+ mid?: string | undefined;
6
+ descriptorPattern?: string | undefined;
7
+ };
8
+ /** @internal */
9
+ export declare const MerchantEntryError$inboundSchema: z.ZodType<MerchantEntryError, z.ZodTypeDef, unknown>;
10
+ /** @internal */
11
+ export type MerchantEntryError$Outbound = {
12
+ mid?: string | undefined;
13
+ descriptorPattern?: string | undefined;
14
+ };
15
+ /** @internal */
16
+ export declare const MerchantEntryError$outboundSchema: z.ZodType<MerchantEntryError$Outbound, z.ZodTypeDef, MerchantEntryError>;
17
+ export declare function merchantEntryErrorToJSON(merchantEntryError: MerchantEntryError): string;
18
+ export declare function merchantEntryErrorFromJSON(jsonString: string): SafeParseResult<MerchantEntryError, SDKValidationError>;
19
+ //# sourceMappingURL=merchantentryerror.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchantentryerror.d.ts","sourceRoot":"","sources":["../../src/models/components/merchantentryerror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAIlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.MerchantEntryError$outboundSchema = exports.MerchantEntryError$inboundSchema = void 0;
40
+ exports.merchantEntryErrorToJSON = merchantEntryErrorToJSON;
41
+ exports.merchantEntryErrorFromJSON = merchantEntryErrorFromJSON;
42
+ const z = __importStar(require("zod/v3"));
43
+ const schemas_js_1 = require("../../lib/schemas.js");
44
+ const types = __importStar(require("../../types/primitives.js"));
45
+ /** @internal */
46
+ exports.MerchantEntryError$inboundSchema = z.object({
47
+ mid: types.optional(types.string()),
48
+ descriptorPattern: types.optional(types.string()),
49
+ });
50
+ /** @internal */
51
+ exports.MerchantEntryError$outboundSchema = z.object({
52
+ mid: z.string().optional(),
53
+ descriptorPattern: z.string().optional(),
54
+ });
55
+ function merchantEntryErrorToJSON(merchantEntryError) {
56
+ return JSON.stringify(exports.MerchantEntryError$outboundSchema.parse(merchantEntryError));
57
+ }
58
+ function merchantEntryErrorFromJSON(jsonString) {
59
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MerchantEntryError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MerchantEntryError' from JSON`);
60
+ }
61
+ //# sourceMappingURL=merchantentryerror.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchantentryerror.js","sourceRoot":"","sources":["../../src/models/components/merchantentryerror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCH,4DAMC;AACD,gEAQC;AAnDD,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAQnD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACnC,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAClD,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAEH,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC;AACD,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,30 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { IssuingControlsRestrictionMode } from "./issuingcontrolsrestrictionmode.js";
5
+ import { MerchantEntry, MerchantEntry$Outbound } from "./merchantentry.js";
6
+ /**
7
+ * Restricts card usage to specific merchants, independent of merchant category.
8
+ */
9
+ export type MerchantRestrictions = {
10
+ /**
11
+ * Whether the listed merchants are the only ones allowed, or the ones to block.
12
+ */
13
+ mode: IssuingControlsRestrictionMode;
14
+ /**
15
+ * The merchants to allow or block.
16
+ */
17
+ merchants: Array<MerchantEntry>;
18
+ };
19
+ /** @internal */
20
+ export declare const MerchantRestrictions$inboundSchema: z.ZodType<MerchantRestrictions, z.ZodTypeDef, unknown>;
21
+ /** @internal */
22
+ export type MerchantRestrictions$Outbound = {
23
+ mode: string;
24
+ merchants: Array<MerchantEntry$Outbound>;
25
+ };
26
+ /** @internal */
27
+ export declare const MerchantRestrictions$outboundSchema: z.ZodType<MerchantRestrictions$Outbound, z.ZodTypeDef, MerchantRestrictions>;
28
+ export declare function merchantRestrictionsToJSON(merchantRestrictions: MerchantRestrictions): string;
29
+ export declare function merchantRestrictionsFromJSON(jsonString: string): SafeParseResult<MerchantRestrictions, SDKValidationError>;
30
+ //# sourceMappingURL=merchantrestrictions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchantrestrictions.d.ts","sourceRoot":"","sources":["../../src/models/components/merchantrestrictions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAG/B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,IAAI,EAAE,8BAA8B,CAAC;IACrC;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAIpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AACD,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.MerchantRestrictions$outboundSchema = exports.MerchantRestrictions$inboundSchema = void 0;
40
+ exports.merchantRestrictionsToJSON = merchantRestrictionsToJSON;
41
+ exports.merchantRestrictionsFromJSON = merchantRestrictionsFromJSON;
42
+ const z = __importStar(require("zod/v3"));
43
+ const schemas_js_1 = require("../../lib/schemas.js");
44
+ const issuingcontrolsrestrictionmode_js_1 = require("./issuingcontrolsrestrictionmode.js");
45
+ const merchantentry_js_1 = require("./merchantentry.js");
46
+ /** @internal */
47
+ exports.MerchantRestrictions$inboundSchema = z.object({
48
+ mode: issuingcontrolsrestrictionmode_js_1.IssuingControlsRestrictionMode$inboundSchema,
49
+ merchants: z.array(merchantentry_js_1.MerchantEntry$inboundSchema),
50
+ });
51
+ /** @internal */
52
+ exports.MerchantRestrictions$outboundSchema = z.object({
53
+ mode: issuingcontrolsrestrictionmode_js_1.IssuingControlsRestrictionMode$outboundSchema,
54
+ merchants: z.array(merchantentry_js_1.MerchantEntry$outboundSchema),
55
+ });
56
+ function merchantRestrictionsToJSON(merchantRestrictions) {
57
+ return JSON.stringify(exports.MerchantRestrictions$outboundSchema.parse(merchantRestrictions));
58
+ }
59
+ function merchantRestrictionsFromJSON(jsonString) {
60
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MerchantRestrictions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MerchantRestrictions' from JSON`);
61
+ }
62
+ //# sourceMappingURL=merchantrestrictions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchantrestrictions.js","sourceRoot":"","sources":["../../src/models/components/merchantrestrictions.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDH,gEAMC;AACD,oEAQC;AAtED,0CAA4B;AAC5B,qDAAiD;AAGjD,2FAI6C;AAC7C,yDAK4B;AAgB5B,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,gFAA4C;IAClD,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,8CAA2B,CAAC;CAChD,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,iFAA6C;IACnD,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,+CAA4B,CAAC;CACjD,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AACD,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,24 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { MerchantEntryError, MerchantEntryError$Outbound } from "./merchantentryerror.js";
5
+ export type MerchantRestrictionsError = {
6
+ mode?: string | undefined;
7
+ merchants?: {
8
+ [k: string]: MerchantEntryError;
9
+ } | undefined;
10
+ };
11
+ /** @internal */
12
+ export declare const MerchantRestrictionsError$inboundSchema: z.ZodType<MerchantRestrictionsError, z.ZodTypeDef, unknown>;
13
+ /** @internal */
14
+ export type MerchantRestrictionsError$Outbound = {
15
+ mode?: string | undefined;
16
+ merchants?: {
17
+ [k: string]: MerchantEntryError$Outbound;
18
+ } | undefined;
19
+ };
20
+ /** @internal */
21
+ export declare const MerchantRestrictionsError$outboundSchema: z.ZodType<MerchantRestrictionsError$Outbound, z.ZodTypeDef, MerchantRestrictionsError>;
22
+ export declare function merchantRestrictionsErrorToJSON(merchantRestrictionsError: MerchantRestrictionsError): string;
23
+ export declare function merchantRestrictionsErrorFromJSON(jsonString: string): SafeParseResult<MerchantRestrictionsError, SDKValidationError>;
24
+ //# sourceMappingURL=merchantrestrictionserror.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchantrestrictionserror.d.ts","sourceRoot":"","sources":["../../src/models/components/merchantrestrictionserror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAAA;KAAE,GAAG,SAAS,CAAC;CAC7D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,2BAA2B,CAAA;KAAE,GAAG,SAAS,CAAC;CACtE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAIzB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AACD,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.MerchantRestrictionsError$outboundSchema = exports.MerchantRestrictionsError$inboundSchema = void 0;
40
+ exports.merchantRestrictionsErrorToJSON = merchantRestrictionsErrorToJSON;
41
+ exports.merchantRestrictionsErrorFromJSON = merchantRestrictionsErrorFromJSON;
42
+ const z = __importStar(require("zod/v3"));
43
+ const schemas_js_1 = require("../../lib/schemas.js");
44
+ const types = __importStar(require("../../types/primitives.js"));
45
+ const merchantentryerror_js_1 = require("./merchantentryerror.js");
46
+ /** @internal */
47
+ exports.MerchantRestrictionsError$inboundSchema = z.object({
48
+ mode: types.optional(types.string()),
49
+ merchants: types.optional(z.record(merchantentryerror_js_1.MerchantEntryError$inboundSchema)),
50
+ });
51
+ /** @internal */
52
+ exports.MerchantRestrictionsError$outboundSchema = z.object({
53
+ mode: z.string().optional(),
54
+ merchants: z.record(merchantentryerror_js_1.MerchantEntryError$outboundSchema).optional(),
55
+ });
56
+ function merchantRestrictionsErrorToJSON(merchantRestrictionsError) {
57
+ return JSON.stringify(exports.MerchantRestrictionsError$outboundSchema.parse(merchantRestrictionsError));
58
+ }
59
+ function merchantRestrictionsErrorFromJSON(jsonString) {
60
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MerchantRestrictionsError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MerchantRestrictionsError' from JSON`);
61
+ }
62
+ //# sourceMappingURL=merchantrestrictionserror.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchantrestrictionserror.js","sourceRoot":"","sources":["../../src/models/components/merchantrestrictionserror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CH,0EAMC;AACD,8EAQC;AAzDD,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAEnD,mEAKiC;AAOjC,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACpC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,wDAAgC,CAAC,CAAC;CACtE,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,yDAAiC,CAAC,CAAC,QAAQ,EAAE;CAClE,CAAC,CAAC;AAEH,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AACD,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v3";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { AmountDecimal, AmountDecimal$Outbound } from "./amountdecimal.js";
4
5
  /**
5
6
  * Processing and pass-through costs that add up to the moovFee.
6
7
  */
@@ -8,28 +9,28 @@ export type MoovFeeDetails = {
8
9
  /**
9
10
  * Card scheme fees accrued during authorization and settlement. String type represents dollars with up to 9 decimal place precision.
10
11
  */
11
- cardScheme?: string | undefined;
12
+ cardScheme?: AmountDecimal | undefined;
12
13
  /**
13
14
  * Network interchange fee for Visa, Mastercard, or Discover. String type represents dollars with up to 9 decimal place precision.
14
15
  */
15
- interchange?: string | undefined;
16
+ interchange?: AmountDecimal | undefined;
16
17
  /**
17
18
  * Network discount fee for American Express. String type represents dollars with up to 9 decimal place precision.
18
19
  */
19
- discount?: string | undefined;
20
+ discount?: AmountDecimal | undefined;
20
21
  /**
21
22
  * Moov processing fee. String type represents dollars with up to 9 decimal place precision.
22
23
  */
23
- moovProcessing: string;
24
+ moovProcessing: AmountDecimal;
24
25
  };
25
26
  /** @internal */
26
27
  export declare const MoovFeeDetails$inboundSchema: z.ZodType<MoovFeeDetails, z.ZodTypeDef, unknown>;
27
28
  /** @internal */
28
29
  export type MoovFeeDetails$Outbound = {
29
- cardScheme?: string | undefined;
30
- interchange?: string | undefined;
31
- discount?: string | undefined;
32
- moovProcessing: string;
30
+ cardScheme?: AmountDecimal$Outbound | undefined;
31
+ interchange?: AmountDecimal$Outbound | undefined;
32
+ discount?: AmountDecimal$Outbound | undefined;
33
+ moovProcessing: AmountDecimal$Outbound;
33
34
  };
34
35
  /** @internal */
35
36
  export declare const MoovFeeDetails$outboundSchema: z.ZodType<MoovFeeDetails$Outbound, z.ZodTypeDef, MoovFeeDetails>;
@@ -1 +1 @@
1
- {"version":3,"file":"moovfeedetails.d.ts","sourceRoot":"","sources":["../../src/models/components/moovfeedetails.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CAMd,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E;AACD,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
1
+ {"version":3,"file":"moovfeedetails.d.ts","sourceRoot":"","sources":["../../src/models/components/moovfeedetails.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,cAAc,EAAE,aAAa,CAAC;CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,UAAU,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAChD,WAAW,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC9C,cAAc,EAAE,sBAAsB,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CAMd,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E;AACD,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
@@ -42,19 +42,20 @@ exports.moovFeeDetailsFromJSON = moovFeeDetailsFromJSON;
42
42
  const z = __importStar(require("zod/v3"));
43
43
  const schemas_js_1 = require("../../lib/schemas.js");
44
44
  const types = __importStar(require("../../types/primitives.js"));
45
+ const amountdecimal_js_1 = require("./amountdecimal.js");
45
46
  /** @internal */
46
47
  exports.MoovFeeDetails$inboundSchema = z.object({
47
- cardScheme: types.optional(types.string()),
48
- interchange: types.optional(types.string()),
49
- discount: types.optional(types.string()),
50
- moovProcessing: types.string(),
48
+ cardScheme: types.optional(amountdecimal_js_1.AmountDecimal$inboundSchema),
49
+ interchange: types.optional(amountdecimal_js_1.AmountDecimal$inboundSchema),
50
+ discount: types.optional(amountdecimal_js_1.AmountDecimal$inboundSchema),
51
+ moovProcessing: amountdecimal_js_1.AmountDecimal$inboundSchema,
51
52
  });
52
53
  /** @internal */
53
54
  exports.MoovFeeDetails$outboundSchema = z.object({
54
- cardScheme: z.string().optional(),
55
- interchange: z.string().optional(),
56
- discount: z.string().optional(),
57
- moovProcessing: z.string(),
55
+ cardScheme: amountdecimal_js_1.AmountDecimal$outboundSchema.optional(),
56
+ interchange: amountdecimal_js_1.AmountDecimal$outboundSchema.optional(),
57
+ discount: amountdecimal_js_1.AmountDecimal$outboundSchema.optional(),
58
+ moovProcessing: amountdecimal_js_1.AmountDecimal$outboundSchema,
58
59
  });
59
60
  function moovFeeDetailsToJSON(moovFeeDetails) {
60
61
  return JSON.stringify(exports.MoovFeeDetails$outboundSchema.parse(moovFeeDetails));
@@ -1 +1 @@
1
- {"version":3,"file":"moovfeedetails.js","sourceRoot":"","sources":["../../src/models/components/moovfeedetails.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DH,oDAEC;AACD,wDAQC;AAtED,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAyBnD,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACxC,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE;CAC/B,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEH,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AACD,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"moovfeedetails.js","sourceRoot":"","sources":["../../src/models/components/moovfeedetails.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEH,oDAEC;AACD,wDAQC;AA5ED,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAEnD,yDAK4B;AAwB5B,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,8CAA2B,CAAC;IACvD,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,8CAA2B,CAAC;IACxD,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,8CAA2B,CAAC;IACrD,cAAc,EAAE,8CAA2B;CAC5C,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,+CAA4B,CAAC,QAAQ,EAAE;IACnD,WAAW,EAAE,+CAA4B,CAAC,QAAQ,EAAE;IACpD,QAAQ,EAAE,+CAA4B,CAAC,QAAQ,EAAE;IACjD,cAAc,EAAE,+CAA4B;CAC7C,CAAC,CAAC;AAEH,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AACD,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}