@moovio/sdk 25.1.1 → 25.7.0

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 (482) hide show
  1. package/README.md +135 -47
  2. package/bin/mcp-server.js +2790 -486
  3. package/bin/mcp-server.js.map +96 -23
  4. package/examples/package-lock.json +1 -1
  5. package/funcs/supportCreateTicket.d.ts +21 -0
  6. package/funcs/supportCreateTicket.d.ts.map +1 -0
  7. package/funcs/supportCreateTicket.js +142 -0
  8. package/funcs/supportCreateTicket.js.map +1 -0
  9. package/funcs/supportGetTicket.d.ts +20 -0
  10. package/funcs/supportGetTicket.d.ts.map +1 -0
  11. package/funcs/supportGetTicket.js +132 -0
  12. package/funcs/supportGetTicket.js.map +1 -0
  13. package/funcs/supportListTicketMessages.d.ts +20 -0
  14. package/funcs/supportListTicketMessages.d.ts.map +1 -0
  15. package/funcs/supportListTicketMessages.js +132 -0
  16. package/funcs/supportListTicketMessages.js.map +1 -0
  17. package/funcs/supportListTickets.d.ts +20 -0
  18. package/funcs/supportListTickets.d.ts.map +1 -0
  19. package/funcs/supportListTickets.js +135 -0
  20. package/funcs/supportListTickets.js.map +1 -0
  21. package/funcs/supportUpdateTicket.d.ts +21 -0
  22. package/funcs/supportUpdateTicket.d.ts.map +1 -0
  23. package/funcs/supportUpdateTicket.js +146 -0
  24. package/funcs/supportUpdateTicket.js.map +1 -0
  25. package/funcs/underwritingSave.d.ts +20 -0
  26. package/funcs/underwritingSave.d.ts.map +1 -0
  27. package/funcs/underwritingSave.js +145 -0
  28. package/funcs/underwritingSave.js.map +1 -0
  29. package/jsr.json +1 -1
  30. package/lib/config.d.ts +3 -3
  31. package/lib/config.js +3 -3
  32. package/mcp-server/mcp-server.js +1 -1
  33. package/mcp-server/server.d.ts.map +1 -1
  34. package/mcp-server/server.js +13 -1
  35. package/mcp-server/server.js.map +1 -1
  36. package/mcp-server/tools/supportCreateTicket.d.ts +8 -0
  37. package/mcp-server/tools/supportCreateTicket.d.ts.map +1 -0
  38. package/mcp-server/tools/supportCreateTicket.js +68 -0
  39. package/mcp-server/tools/supportCreateTicket.js.map +1 -0
  40. package/mcp-server/tools/supportGetTicket.d.ts +8 -0
  41. package/mcp-server/tools/supportGetTicket.d.ts.map +1 -0
  42. package/mcp-server/tools/supportGetTicket.js +68 -0
  43. package/mcp-server/tools/supportGetTicket.js.map +1 -0
  44. package/mcp-server/tools/supportListTicketMessages.d.ts +8 -0
  45. package/mcp-server/tools/supportListTicketMessages.d.ts.map +1 -0
  46. package/mcp-server/tools/supportListTicketMessages.js +68 -0
  47. package/mcp-server/tools/supportListTicketMessages.js.map +1 -0
  48. package/mcp-server/tools/supportListTickets.d.ts +8 -0
  49. package/mcp-server/tools/supportListTickets.d.ts.map +1 -0
  50. package/mcp-server/tools/supportListTickets.js +68 -0
  51. package/mcp-server/tools/supportListTickets.js.map +1 -0
  52. package/mcp-server/tools/supportUpdateTicket.d.ts +8 -0
  53. package/mcp-server/tools/supportUpdateTicket.d.ts.map +1 -0
  54. package/mcp-server/tools/supportUpdateTicket.js +68 -0
  55. package/mcp-server/tools/supportUpdateTicket.js.map +1 -0
  56. package/mcp-server/tools/underwritingSave.d.ts +8 -0
  57. package/mcp-server/tools/underwritingSave.d.ts.map +1 -0
  58. package/mcp-server/tools/underwritingSave.js +67 -0
  59. package/mcp-server/tools/underwritingSave.js.map +1 -0
  60. package/models/components/accounttype.d.ts +1 -0
  61. package/models/components/accounttype.d.ts.map +1 -1
  62. package/models/components/accounttype.js +1 -0
  63. package/models/components/accounttype.js.map +1 -1
  64. package/models/components/bankaccountholdertype.d.ts +1 -0
  65. package/models/components/bankaccountholdertype.d.ts.map +1 -1
  66. package/models/components/bankaccountholdertype.js +1 -0
  67. package/models/components/bankaccountholdertype.js.map +1 -1
  68. package/models/components/businesspresence.d.ts +16 -0
  69. package/models/components/businesspresence.d.ts.map +1 -0
  70. package/models/components/businesspresence.js +53 -0
  71. package/models/components/businesspresence.js.map +1 -0
  72. package/models/components/capabilityid.d.ts +11 -0
  73. package/models/components/capabilityid.d.ts.map +1 -1
  74. package/models/components/capabilityid.js +11 -0
  75. package/models/components/capabilityid.js.map +1 -1
  76. package/models/components/cardacceptancemethods.d.ts +33 -0
  77. package/models/components/cardacceptancemethods.d.ts.map +1 -0
  78. package/models/components/cardacceptancemethods.js +62 -0
  79. package/models/components/cardacceptancemethods.js.map +1 -0
  80. package/models/components/cardacceptancemethodserror.d.ts +21 -0
  81. package/models/components/cardacceptancemethodserror.d.ts.map +1 -0
  82. package/models/components/cardacceptancemethodserror.js +62 -0
  83. package/models/components/cardacceptancemethodserror.js.map +1 -0
  84. package/models/components/cardpresentpaymentpaymentmethod.d.ts +31 -0
  85. package/models/components/cardpresentpaymentpaymentmethod.d.ts.map +1 -0
  86. package/models/components/cardpresentpaymentpaymentmethod.js +63 -0
  87. package/models/components/cardpresentpaymentpaymentmethod.js.map +1 -0
  88. package/models/components/collectfunds.d.ts +21 -0
  89. package/models/components/collectfunds.d.ts.map +1 -0
  90. package/models/components/collectfunds.js +62 -0
  91. package/models/components/collectfunds.js.map +1 -0
  92. package/models/components/collectfundsach.d.ts +18 -0
  93. package/models/components/collectfundsach.d.ts.map +1 -0
  94. package/models/components/collectfundsach.js +59 -0
  95. package/models/components/collectfundsach.js.map +1 -0
  96. package/models/components/collectfundsacherror.d.ts +18 -0
  97. package/models/components/collectfundsacherror.d.ts.map +1 -0
  98. package/models/components/collectfundsacherror.js +59 -0
  99. package/models/components/collectfundsacherror.js.map +1 -0
  100. package/models/components/collectfundscardpayments.d.ts +32 -0
  101. package/models/components/collectfundscardpayments.d.ts.map +1 -0
  102. package/models/components/collectfundscardpayments.js +70 -0
  103. package/models/components/collectfundscardpayments.js.map +1 -0
  104. package/models/components/collectfundscardpaymentserror.d.ts +28 -0
  105. package/models/components/collectfundscardpaymentserror.d.ts.map +1 -0
  106. package/models/components/collectfundscardpaymentserror.js +69 -0
  107. package/models/components/collectfundscardpaymentserror.js.map +1 -0
  108. package/models/components/collectfundserror.d.ts +21 -0
  109. package/models/components/collectfundserror.d.ts.map +1 -0
  110. package/models/components/collectfundserror.js +62 -0
  111. package/models/components/collectfundserror.js.map +1 -0
  112. package/models/components/createaccount.d.ts +2 -5
  113. package/models/components/createaccount.d.ts.map +1 -1
  114. package/models/components/createaccount.js +3 -3
  115. package/models/components/createaccount.js.map +1 -1
  116. package/models/components/createaccounttype.d.ts +12 -0
  117. package/models/components/createaccounttype.d.ts.map +1 -0
  118. package/models/components/createaccounttype.js +49 -0
  119. package/models/components/createaccounttype.js.map +1 -0
  120. package/models/components/createticket.d.ts +29 -0
  121. package/models/components/createticket.d.ts.map +1 -0
  122. package/models/components/createticket.js +67 -0
  123. package/models/components/createticket.js.map +1 -0
  124. package/models/components/createticketcontacterror.d.ts +19 -0
  125. package/models/components/createticketcontacterror.d.ts.map +1 -0
  126. package/models/components/createticketcontacterror.js +60 -0
  127. package/models/components/createticketcontacterror.js.map +1 -0
  128. package/models/components/enrichedindustries.d.ts +3 -3
  129. package/models/components/enrichedindustries.js +3 -3
  130. package/models/components/entrymode.d.ts +17 -0
  131. package/models/components/entrymode.d.ts.map +1 -0
  132. package/models/components/entrymode.js +52 -0
  133. package/models/components/entrymode.js.map +1 -0
  134. package/models/components/estimatedactivity.d.ts +25 -0
  135. package/models/components/estimatedactivity.d.ts.map +1 -0
  136. package/models/components/estimatedactivity.js +63 -0
  137. package/models/components/estimatedactivity.js.map +1 -0
  138. package/models/components/estimatedactivityerror.d.ts +21 -0
  139. package/models/components/estimatedactivityerror.d.ts.map +1 -0
  140. package/models/components/estimatedactivityerror.js +62 -0
  141. package/models/components/estimatedactivityerror.js.map +1 -0
  142. package/models/components/fulfillment.d.ts +21 -0
  143. package/models/components/fulfillment.d.ts.map +1 -0
  144. package/models/components/fulfillment.js +62 -0
  145. package/models/components/fulfillment.js.map +1 -0
  146. package/models/components/fulfillmenterror.d.ts +19 -0
  147. package/models/components/fulfillmenterror.d.ts.map +1 -0
  148. package/models/components/{enrichedindustry.js → fulfillmenterror.js} +14 -18
  149. package/models/components/fulfillmenterror.js.map +1 -0
  150. package/models/components/fulfillmentmethod.d.ts +19 -0
  151. package/models/components/fulfillmentmethod.d.ts.map +1 -0
  152. package/models/components/fulfillmentmethod.js +56 -0
  153. package/models/components/fulfillmentmethod.js.map +1 -0
  154. package/models/components/fulfillmenttimeframe.d.ts +18 -0
  155. package/models/components/fulfillmenttimeframe.d.ts.map +1 -0
  156. package/models/components/fulfillmenttimeframe.js +55 -0
  157. package/models/components/fulfillmenttimeframe.js.map +1 -0
  158. package/models/components/geographicreach.d.ts +13 -0
  159. package/models/components/geographicreach.d.ts.map +1 -0
  160. package/models/components/geographicreach.js +50 -0
  161. package/models/components/geographicreach.js.map +1 -0
  162. package/models/components/guestprofile.d.ts +31 -0
  163. package/models/components/guestprofile.d.ts.map +1 -0
  164. package/models/components/guestprofile.js +63 -0
  165. package/models/components/guestprofile.js.map +1 -0
  166. package/models/components/index.d.ts +53 -1
  167. package/models/components/index.d.ts.map +1 -1
  168. package/models/components/index.js +53 -1
  169. package/models/components/index.js.map +1 -1
  170. package/models/components/industrytaxonomy.d.ts +43 -0
  171. package/models/components/industrytaxonomy.d.ts.map +1 -0
  172. package/models/components/industrytaxonomy.js +66 -0
  173. package/models/components/industrytaxonomy.js.map +1 -0
  174. package/models/components/itemlistnextpage.d.ts +20 -0
  175. package/models/components/itemlistnextpage.d.ts.map +1 -0
  176. package/models/components/itemlistnextpage.js +58 -0
  177. package/models/components/itemlistnextpage.js.map +1 -0
  178. package/models/components/moneytransfer.d.ts +21 -0
  179. package/models/components/moneytransfer.d.ts.map +1 -0
  180. package/models/components/moneytransfer.js +62 -0
  181. package/models/components/moneytransfer.js.map +1 -0
  182. package/models/components/moneytransfererror.d.ts +21 -0
  183. package/models/components/moneytransfererror.d.ts.map +1 -0
  184. package/models/components/moneytransfererror.js +62 -0
  185. package/models/components/moneytransfererror.js.map +1 -0
  186. package/models/components/moneytransferpullfromcard.d.ts +18 -0
  187. package/models/components/moneytransferpullfromcard.d.ts.map +1 -0
  188. package/models/components/moneytransferpullfromcard.js +59 -0
  189. package/models/components/moneytransferpullfromcard.js.map +1 -0
  190. package/models/components/moneytransferpullfromcarderror.d.ts +18 -0
  191. package/models/components/moneytransferpullfromcarderror.d.ts.map +1 -0
  192. package/models/components/moneytransferpullfromcarderror.js +59 -0
  193. package/models/components/moneytransferpullfromcarderror.js.map +1 -0
  194. package/models/components/moneytransferpushtocard.d.ts +18 -0
  195. package/models/components/moneytransferpushtocard.d.ts.map +1 -0
  196. package/models/components/moneytransferpushtocard.js +59 -0
  197. package/models/components/moneytransferpushtocard.js.map +1 -0
  198. package/models/components/moneytransferpushtocarderror.d.ts +18 -0
  199. package/models/components/moneytransferpushtocarderror.d.ts.map +1 -0
  200. package/models/components/moneytransferpushtocarderror.js +59 -0
  201. package/models/components/moneytransferpushtocarderror.js.map +1 -0
  202. package/models/components/monthlyvolumerange.d.ts +24 -0
  203. package/models/components/monthlyvolumerange.d.ts.map +1 -0
  204. package/models/components/monthlyvolumerange.js +58 -0
  205. package/models/components/monthlyvolumerange.js.map +1 -0
  206. package/models/components/paymentmethod.d.ts +3 -2
  207. package/models/components/paymentmethod.d.ts.map +1 -1
  208. package/models/components/paymentmethod.js +3 -0
  209. package/models/components/paymentmethod.js.map +1 -1
  210. package/models/components/paymentmethodtype.d.ts +1 -0
  211. package/models/components/paymentmethodtype.d.ts.map +1 -1
  212. package/models/components/paymentmethodtype.js +1 -0
  213. package/models/components/paymentmethodtype.js.map +1 -1
  214. package/models/components/pendinglitigation.d.ts +20 -0
  215. package/models/components/pendinglitigation.d.ts.map +1 -0
  216. package/models/components/pendinglitigation.js +57 -0
  217. package/models/components/pendinglitigation.js.map +1 -0
  218. package/models/components/profile.d.ts +6 -0
  219. package/models/components/profile.d.ts.map +1 -1
  220. package/models/components/profile.js +3 -0
  221. package/models/components/profile.js.map +1 -1
  222. package/models/components/refundpolicy.d.ts +19 -0
  223. package/models/components/refundpolicy.d.ts.map +1 -0
  224. package/models/components/refundpolicy.js +56 -0
  225. package/models/components/refundpolicy.js.map +1 -0
  226. package/models/components/requirementid.d.ts +54 -0
  227. package/models/components/requirementid.d.ts.map +1 -1
  228. package/models/components/requirementid.js +54 -0
  229. package/models/components/requirementid.js.map +1 -1
  230. package/models/components/sendfunds.d.ts +27 -0
  231. package/models/components/sendfunds.d.ts.map +1 -0
  232. package/models/components/sendfunds.js +68 -0
  233. package/models/components/sendfunds.js.map +1 -0
  234. package/models/components/sendfundsach.d.ts +18 -0
  235. package/models/components/sendfundsach.d.ts.map +1 -0
  236. package/models/components/sendfundsach.js +59 -0
  237. package/models/components/sendfundsach.js.map +1 -0
  238. package/models/components/sendfundsacherror.d.ts +18 -0
  239. package/models/components/sendfundsacherror.d.ts.map +1 -0
  240. package/models/components/sendfundsacherror.js +59 -0
  241. package/models/components/sendfundsacherror.js.map +1 -0
  242. package/models/components/sendfundserror.d.ts +27 -0
  243. package/models/components/sendfundserror.d.ts.map +1 -0
  244. package/models/components/sendfundserror.js +68 -0
  245. package/models/components/sendfundserror.js.map +1 -0
  246. package/models/components/sendfundsinstantbank.d.ts +18 -0
  247. package/models/components/sendfundsinstantbank.d.ts.map +1 -0
  248. package/models/components/sendfundsinstantbank.js +59 -0
  249. package/models/components/sendfundsinstantbank.js.map +1 -0
  250. package/models/components/sendfundsinstantbankerror.d.ts +18 -0
  251. package/models/components/sendfundsinstantbankerror.d.ts.map +1 -0
  252. package/models/components/sendfundsinstantbankerror.js +59 -0
  253. package/models/components/sendfundsinstantbankerror.js.map +1 -0
  254. package/models/components/sendfundspushtocard.d.ts +18 -0
  255. package/models/components/sendfundspushtocard.d.ts.map +1 -0
  256. package/models/components/sendfundspushtocard.js +59 -0
  257. package/models/components/sendfundspushtocard.js.map +1 -0
  258. package/models/components/sendfundspushtocarderror.d.ts +18 -0
  259. package/models/components/sendfundspushtocarderror.d.ts.map +1 -0
  260. package/models/components/sendfundspushtocarderror.js +59 -0
  261. package/models/components/sendfundspushtocarderror.js.map +1 -0
  262. package/models/components/sendfundsrtp.d.ts +18 -0
  263. package/models/components/sendfundsrtp.d.ts.map +1 -0
  264. package/models/components/sendfundsrtp.js +59 -0
  265. package/models/components/sendfundsrtp.js.map +1 -0
  266. package/models/components/sendfundsrtperror.d.ts +18 -0
  267. package/models/components/sendfundsrtperror.d.ts.map +1 -0
  268. package/models/components/sendfundsrtperror.js +59 -0
  269. package/models/components/sendfundsrtperror.js.map +1 -0
  270. package/models/components/submissionintent.d.ts +12 -0
  271. package/models/components/submissionintent.d.ts.map +1 -0
  272. package/models/components/submissionintent.js +49 -0
  273. package/models/components/submissionintent.js.map +1 -0
  274. package/models/components/terminalcard.d.ts +83 -0
  275. package/models/components/terminalcard.d.ts.map +1 -0
  276. package/models/components/terminalcard.js +84 -0
  277. package/models/components/terminalcard.js.map +1 -0
  278. package/models/components/ticket.d.ts +37 -0
  279. package/models/components/ticket.d.ts.map +1 -0
  280. package/models/components/ticket.js +80 -0
  281. package/models/components/ticket.js.map +1 -0
  282. package/models/components/ticketcontact.d.ts +19 -0
  283. package/models/components/ticketcontact.d.ts.map +1 -0
  284. package/models/components/ticketcontact.js +60 -0
  285. package/models/components/ticketcontact.js.map +1 -0
  286. package/models/components/ticketmessage.d.ts +21 -0
  287. package/models/components/ticketmessage.d.ts.map +1 -0
  288. package/models/components/ticketmessage.js +62 -0
  289. package/models/components/ticketmessage.js.map +1 -0
  290. package/models/components/transfersource.d.ts +6 -0
  291. package/models/components/transfersource.d.ts.map +1 -1
  292. package/models/components/transfersource.js +3 -0
  293. package/models/components/transfersource.js.map +1 -1
  294. package/models/components/underwriting.d.ts +35 -14
  295. package/models/components/underwriting.d.ts.map +1 -1
  296. package/models/components/underwriting.js +36 -14
  297. package/models/components/underwriting.js.map +1 -1
  298. package/models/components/updateticket.d.ts +21 -0
  299. package/models/components/updateticket.d.ts.map +1 -0
  300. package/models/components/updateticket.js +59 -0
  301. package/models/components/updateticket.js.map +1 -0
  302. package/models/components/updateticketstatus.d.ts +11 -0
  303. package/models/components/updateticketstatus.d.ts.map +1 -0
  304. package/models/components/updateticketstatus.js +48 -0
  305. package/models/components/updateticketstatus.js.map +1 -0
  306. package/models/components/upsertunderwriting.d.ts +39 -0
  307. package/models/components/upsertunderwriting.d.ts.map +1 -0
  308. package/models/components/upsertunderwriting.js +81 -0
  309. package/models/components/upsertunderwriting.js.map +1 -0
  310. package/models/components/volumesharebycustomertype.d.ts +21 -0
  311. package/models/components/volumesharebycustomertype.d.ts.map +1 -0
  312. package/models/components/volumesharebycustomertype.js +62 -0
  313. package/models/components/volumesharebycustomertype.js.map +1 -0
  314. package/models/components/volumesharebycustomertypeerror.d.ts +21 -0
  315. package/models/components/volumesharebycustomertypeerror.d.ts.map +1 -0
  316. package/models/components/volumesharebycustomertypeerror.js +62 -0
  317. package/models/components/volumesharebycustomertypeerror.js.map +1 -0
  318. package/models/errors/createticketerror.d.ts +36 -0
  319. package/models/errors/createticketerror.d.ts.map +1 -0
  320. package/models/errors/createticketerror.js +90 -0
  321. package/models/errors/createticketerror.js.map +1 -0
  322. package/models/errors/index.d.ts +3 -0
  323. package/models/errors/index.d.ts.map +1 -1
  324. package/models/errors/index.js +3 -0
  325. package/models/errors/index.js.map +1 -1
  326. package/models/errors/updateticketerror.d.ts +24 -0
  327. package/models/errors/updateticketerror.d.ts.map +1 -0
  328. package/models/errors/updateticketerror.js +75 -0
  329. package/models/errors/updateticketerror.js.map +1 -0
  330. package/models/errors/upsertunderwritingerror.d.ts +64 -0
  331. package/models/errors/upsertunderwritingerror.d.ts.map +1 -0
  332. package/models/errors/upsertunderwritingerror.js +143 -0
  333. package/models/errors/upsertunderwritingerror.js.map +1 -0
  334. package/models/operations/createticket.d.ts +66 -0
  335. package/models/operations/createticket.d.ts.map +1 -0
  336. package/models/operations/createticket.js +122 -0
  337. package/models/operations/createticket.js.map +1 -0
  338. package/models/operations/getticket.d.ts +66 -0
  339. package/models/operations/getticket.d.ts.map +1 -0
  340. package/models/operations/getticket.js +114 -0
  341. package/models/operations/getticket.js.map +1 -0
  342. package/models/operations/index.d.ts +6 -0
  343. package/models/operations/index.d.ts.map +1 -1
  344. package/models/operations/index.js +6 -0
  345. package/models/operations/index.js.map +1 -1
  346. package/models/operations/listaccounts.d.ts +1 -1
  347. package/models/operations/listaccounts.d.ts.map +1 -1
  348. package/models/operations/listaccounts.js +2 -2
  349. package/models/operations/listaccounts.js.map +1 -1
  350. package/models/operations/listconnectedaccountsforaccount.d.ts +1 -1
  351. package/models/operations/listconnectedaccountsforaccount.d.ts.map +1 -1
  352. package/models/operations/listconnectedaccountsforaccount.js +2 -2
  353. package/models/operations/listconnectedaccountsforaccount.js.map +1 -1
  354. package/models/operations/listticketmessages.d.ts +66 -0
  355. package/models/operations/listticketmessages.d.ts.map +1 -0
  356. package/models/operations/listticketmessages.js +114 -0
  357. package/models/operations/listticketmessages.js.map +1 -0
  358. package/models/operations/listtickets.d.ts +90 -0
  359. package/models/operations/listtickets.d.ts.map +1 -0
  360. package/models/operations/listtickets.js +138 -0
  361. package/models/operations/listtickets.js.map +1 -0
  362. package/models/operations/saveunderwriting.d.ts +66 -0
  363. package/models/operations/saveunderwriting.d.ts.map +1 -0
  364. package/models/operations/saveunderwriting.js +122 -0
  365. package/models/operations/saveunderwriting.js.map +1 -0
  366. package/models/operations/updateticket.d.ts +68 -0
  367. package/models/operations/updateticket.d.ts.map +1 -0
  368. package/models/operations/updateticket.js +124 -0
  369. package/models/operations/updateticket.js.map +1 -0
  370. package/package.json +1 -1
  371. package/sdk/sdk.d.ts +3 -0
  372. package/sdk/sdk.d.ts.map +1 -1
  373. package/sdk/sdk.js +4 -0
  374. package/sdk/sdk.js.map +1 -1
  375. package/sdk/support.d.ts +55 -0
  376. package/sdk/support.d.ts.map +1 -0
  377. package/sdk/support.js +77 -0
  378. package/sdk/support.js.map +1 -0
  379. package/sdk/underwriting.d.ts +9 -0
  380. package/sdk/underwriting.d.ts.map +1 -1
  381. package/sdk/underwriting.js +12 -0
  382. package/sdk/underwriting.js.map +1 -1
  383. package/src/funcs/supportCreateTicket.ts +204 -0
  384. package/src/funcs/supportGetTicket.ts +188 -0
  385. package/src/funcs/supportListTicketMessages.ts +188 -0
  386. package/src/funcs/supportListTickets.ts +190 -0
  387. package/src/funcs/supportUpdateTicket.ts +210 -0
  388. package/src/funcs/underwritingSave.ts +207 -0
  389. package/src/lib/config.ts +3 -3
  390. package/src/mcp-server/mcp-server.ts +1 -1
  391. package/src/mcp-server/server.ts +13 -1
  392. package/src/mcp-server/tools/supportCreateTicket.ts +41 -0
  393. package/src/mcp-server/tools/supportGetTicket.ts +41 -0
  394. package/src/mcp-server/tools/supportListTicketMessages.ts +41 -0
  395. package/src/mcp-server/tools/supportListTickets.ts +41 -0
  396. package/src/mcp-server/tools/supportUpdateTicket.ts +41 -0
  397. package/src/mcp-server/tools/underwritingSave.ts +40 -0
  398. package/src/models/components/accounttype.ts +1 -0
  399. package/src/models/components/bankaccountholdertype.ts +1 -0
  400. package/src/models/components/businesspresence.ts +25 -0
  401. package/src/models/components/capabilityid.ts +11 -0
  402. package/src/models/components/cardacceptancemethods.ts +71 -0
  403. package/src/models/components/cardacceptancemethodserror.ts +59 -0
  404. package/src/models/components/cardpresentpaymentpaymentmethod.ts +76 -0
  405. package/src/models/components/collectfunds.ts +63 -0
  406. package/src/models/components/collectfundsach.ts +55 -0
  407. package/src/models/components/collectfundsacherror.ts +57 -0
  408. package/src/models/components/collectfundscardpayments.ts +93 -0
  409. package/src/models/components/collectfundscardpaymentserror.ts +87 -0
  410. package/src/models/components/collectfundserror.ts +67 -0
  411. package/src/models/components/createaccount.ts +8 -11
  412. package/src/models/components/createaccounttype.ts +21 -0
  413. package/src/models/components/createticket.ts +72 -0
  414. package/src/models/components/createticketcontacterror.ts +55 -0
  415. package/src/models/components/enrichedindustries.ts +9 -9
  416. package/src/models/components/entrymode.ts +24 -0
  417. package/src/models/components/estimatedactivity.ts +67 -0
  418. package/src/models/components/estimatedactivityerror.ts +59 -0
  419. package/src/models/components/fulfillment.ts +61 -0
  420. package/src/models/components/fulfillmenterror.ts +55 -0
  421. package/src/models/components/fulfillmentmethod.ts +28 -0
  422. package/src/models/components/fulfillmenttimeframe.ts +27 -0
  423. package/src/models/components/geographicreach.ts +22 -0
  424. package/src/models/components/guestprofile.ts +70 -0
  425. package/src/models/components/index.ts +53 -1
  426. package/src/models/components/industrytaxonomy.ts +85 -0
  427. package/src/models/components/itemlistnextpage.ts +54 -0
  428. package/src/models/components/moneytransfer.ts +63 -0
  429. package/src/models/components/moneytransfererror.ts +67 -0
  430. package/src/models/components/moneytransferpullfromcard.ts +57 -0
  431. package/src/models/components/moneytransferpullfromcarderror.ts +59 -0
  432. package/src/models/components/moneytransferpushtocard.ts +57 -0
  433. package/src/models/components/moneytransferpushtocarderror.ts +59 -0
  434. package/src/models/components/monthlyvolumerange.ts +33 -0
  435. package/src/models/components/paymentmethod.ts +12 -2
  436. package/src/models/components/paymentmethodtype.ts +1 -0
  437. package/src/models/components/pendinglitigation.ts +30 -0
  438. package/src/models/components/profile.ts +13 -0
  439. package/src/models/components/refundpolicy.ts +26 -0
  440. package/src/models/components/requirementid.ts +103 -0
  441. package/src/models/components/sendfunds.ts +83 -0
  442. package/src/models/components/sendfundsach.ts +53 -0
  443. package/src/models/components/sendfundsacherror.ts +57 -0
  444. package/src/models/components/sendfundserror.ts +83 -0
  445. package/src/models/components/sendfundsinstantbank.ts +57 -0
  446. package/src/models/components/sendfundsinstantbankerror.ts +57 -0
  447. package/src/models/components/sendfundspushtocard.ts +57 -0
  448. package/src/models/components/sendfundspushtocarderror.ts +57 -0
  449. package/src/models/components/sendfundsrtp.ts +53 -0
  450. package/src/models/components/sendfundsrtperror.ts +57 -0
  451. package/src/models/components/submissionintent.ts +21 -0
  452. package/src/models/components/terminalcard.ts +152 -0
  453. package/src/models/components/ticket.ts +98 -0
  454. package/src/models/components/ticketcontact.ts +51 -0
  455. package/src/models/components/ticketmessage.ts +55 -0
  456. package/src/models/components/transfersource.ts +13 -0
  457. package/src/models/components/underwriting.ts +96 -28
  458. package/src/models/components/updateticket.ts +55 -0
  459. package/src/models/components/updateticketstatus.ts +20 -0
  460. package/src/models/components/upsertunderwriting.ts +124 -0
  461. package/src/models/components/volumesharebycustomertype.ts +59 -0
  462. package/src/models/components/volumesharebycustomertypeerror.ts +61 -0
  463. package/src/models/errors/createticketerror.ts +89 -0
  464. package/src/models/errors/index.ts +3 -0
  465. package/src/models/errors/updateticketerror.ts +66 -0
  466. package/src/models/errors/upsertunderwritingerror.ts +178 -0
  467. package/src/models/operations/createticket.ts +187 -0
  468. package/src/models/operations/getticket.ts +179 -0
  469. package/src/models/operations/index.ts +6 -0
  470. package/src/models/operations/listaccounts.ts +3 -3
  471. package/src/models/operations/listconnectedaccountsforaccount.ts +3 -3
  472. package/src/models/operations/listticketmessages.ts +179 -0
  473. package/src/models/operations/listtickets.ts +241 -0
  474. package/src/models/operations/saveunderwriting.ts +187 -0
  475. package/src/models/operations/updateticket.ts +191 -0
  476. package/src/sdk/sdk.ts +6 -0
  477. package/src/sdk/support.ts +114 -0
  478. package/src/sdk/underwriting.ts +20 -0
  479. package/models/components/enrichedindustry.d.ts +0 -35
  480. package/models/components/enrichedindustry.d.ts.map +0 -1
  481. package/models/components/enrichedindustry.js.map +0 -1
  482. package/src/models/components/enrichedindustry.ts +0 -75
package/bin/mcp-server.js CHANGED
@@ -52412,10 +52412,10 @@ var init_config = __esm(() => {
52412
52412
  ];
52413
52413
  SDK_METADATA = {
52414
52414
  language: "typescript",
52415
- openapiDocVersion: "v2025.01.00",
52416
- sdkVersion: "25.1.1",
52415
+ openapiDocVersion: "v2025.07.00",
52416
+ sdkVersion: "25.7.0",
52417
52417
  genVersion: "2.803.3",
52418
- userAgent: "speakeasy-sdk/typescript 25.1.1 2.803.3 v2025.01.00 @moovio/sdk"
52418
+ userAgent: "speakeasy-sdk/typescript 25.7.0 2.803.3 v2025.07.00 @moovio/sdk"
52419
52419
  };
52420
52420
  });
52421
52421
 
@@ -54230,7 +54230,8 @@ var init_accounttype = __esm(() => {
54230
54230
  init_esm();
54231
54231
  AccountType = {
54232
54232
  Individual: "individual",
54233
- Business: "business"
54233
+ Business: "business",
54234
+ Guest: "guest"
54234
54235
  };
54235
54236
  AccountType$inboundSchema = nativeEnumType(AccountType);
54236
54237
  AccountType$outboundSchema = AccountType$inboundSchema;
@@ -54471,6 +54472,23 @@ var init_businessprofile = __esm(() => {
54471
54472
  });
54472
54473
  });
54473
54474
 
54475
+ // src/models/components/guestprofile.ts
54476
+ var GuestProfile$inboundSchema, GuestProfile$outboundSchema;
54477
+ var init_guestprofile = __esm(() => {
54478
+ init_esm();
54479
+ init_phonenumber();
54480
+ GuestProfile$inboundSchema = objectType({
54481
+ name: stringType(),
54482
+ phone: PhoneNumber$inboundSchema.optional(),
54483
+ email: stringType().optional()
54484
+ });
54485
+ GuestProfile$outboundSchema = objectType({
54486
+ name: stringType(),
54487
+ phone: PhoneNumber$outboundSchema.optional(),
54488
+ email: stringType().optional()
54489
+ });
54490
+ });
54491
+
54474
54492
  // src/models/components/individualprofile.ts
54475
54493
  var IndividualProfile$inboundSchema, IndividualProfile$outboundSchema;
54476
54494
  var init_individualprofile = __esm(() => {
@@ -54501,14 +54519,17 @@ var Profile$inboundSchema, Profile$outboundSchema;
54501
54519
  var init_profile = __esm(() => {
54502
54520
  init_esm();
54503
54521
  init_businessprofile();
54522
+ init_guestprofile();
54504
54523
  init_individualprofile();
54505
54524
  Profile$inboundSchema = objectType({
54506
54525
  individual: IndividualProfile$inboundSchema.optional(),
54507
- business: BusinessProfile$inboundSchema.optional()
54526
+ business: BusinessProfile$inboundSchema.optional(),
54527
+ guest: GuestProfile$inboundSchema.optional()
54508
54528
  });
54509
54529
  Profile$outboundSchema = objectType({
54510
54530
  individual: IndividualProfile$outboundSchema.optional(),
54511
- business: BusinessProfile$outboundSchema.optional()
54531
+ business: BusinessProfile$outboundSchema.optional(),
54532
+ guest: GuestProfile$outboundSchema.optional()
54512
54533
  });
54513
54534
  });
54514
54535
 
@@ -54824,7 +54845,8 @@ var init_bankaccountholdertype = __esm(() => {
54824
54845
  init_esm();
54825
54846
  BankAccountHolderType = {
54826
54847
  Individual: "individual",
54827
- Business: "business"
54848
+ Business: "business",
54849
+ Guest: "guest"
54828
54850
  };
54829
54851
  BankAccountHolderType$inboundSchema = nativeEnumType(BankAccountHolderType);
54830
54852
  BankAccountHolderType$outboundSchema = BankAccountHolderType$inboundSchema;
@@ -55286,10 +55308,21 @@ var init_capabilityid = __esm(() => {
55286
55308
  CapabilityID = {
55287
55309
  Transfers: "transfers",
55288
55310
  SendFunds: "send-funds",
55311
+ SendFundsPushToCard: "send-funds.push-to-card",
55312
+ MoneyTransferPushToCard: "money-transfer.push-to-card",
55313
+ SendFundsAch: "send-funds.ach",
55314
+ SendFundsRtp: "send-funds.rtp",
55315
+ SendFundsInstantBank: "send-funds.instant-bank",
55289
55316
  CollectFunds: "collect-funds",
55317
+ CollectFundsCardPayments: "collect-funds.card-payments",
55318
+ MoneyTransferPullFromCard: "money-transfer.pull-from-card",
55319
+ CollectFundsAch: "collect-funds.ach",
55290
55320
  Wallet: "wallet",
55321
+ WalletBalance: "wallet.balance",
55291
55322
  CardIssuing: "card-issuing",
55292
- ProductionApp: "production-app"
55323
+ ProductionApp: "production-app",
55324
+ PlatformProductionApp: "platform.production-app",
55325
+ PlatformWalletTransfers: "platform.wallet-transfers"
55293
55326
  };
55294
55327
  CapabilityID$inboundSchema = nativeEnumType(CapabilityID);
55295
55328
  CapabilityID$outboundSchema = CapabilityID$inboundSchema;
@@ -55874,7 +55907,8 @@ var init_paymentmethodtype = __esm(() => {
55874
55907
  CardPayment: "card-payment",
55875
55908
  PushToCard: "push-to-card",
55876
55909
  PullFromCard: "pull-from-card",
55877
- ApplePay: "apple-pay"
55910
+ ApplePay: "apple-pay",
55911
+ CardPresentPayment: "card-present-payment"
55878
55912
  };
55879
55913
  PaymentMethodType$inboundSchema = nativeEnumType(PaymentMethodType);
55880
55914
  PaymentMethodType$outboundSchema = PaymentMethodType$inboundSchema;
@@ -58753,6 +58787,22 @@ var init_brandproperties = __esm(() => {
58753
58787
  });
58754
58788
  });
58755
58789
 
58790
+ // src/models/components/businesspresence.ts
58791
+ var BusinessPresence, BusinessPresence$inboundSchema, BusinessPresence$outboundSchema;
58792
+ var init_businesspresence = __esm(() => {
58793
+ init_esm();
58794
+ BusinessPresence = {
58795
+ CommercialOffice: "commercial-office",
58796
+ HomeBased: "home-based",
58797
+ MixedPresence: "mixed-presence",
58798
+ MobileBusiness: "mobile-business",
58799
+ OnlineOnly: "online-only",
58800
+ RetailStorefront: "retail-storefront"
58801
+ };
58802
+ BusinessPresence$inboundSchema = nativeEnumType(BusinessPresence);
58803
+ BusinessPresence$outboundSchema = BusinessPresence$inboundSchema;
58804
+ });
58805
+
58756
58806
  // src/models/components/calltoaction.ts
58757
58807
  var CallToAction, CallToAction$inboundSchema, CallToAction$outboundSchema;
58758
58808
  var init_calltoaction = __esm(() => {
@@ -58886,7 +58936,61 @@ var init_requirementid = __esm(() => {
58886
58936
  RepresentativeRepUuidIsController: "representative.{rep-uuid}.is-controller",
58887
58937
  RepresentativeRepUuidIsOwner: "representative.{rep-uuid}.is-owner",
58888
58938
  RepresentativeRepUuidOwnership: "representative.{rep-uuid}.ownership",
58889
- DocumentDocUuid: "document.{doc-uuid}"
58939
+ DocumentDocUuid: "document.{doc-uuid}",
58940
+ UnderwritingBusinessPresence: "underwriting.businessPresence",
58941
+ UnderwritingGeographicReach: "underwriting.geographicReach",
58942
+ UnderwritingVolumeShareByCustomerType: "underwriting.volumeShareByCustomerType",
58943
+ UnderwritingPendingLitigation: "underwriting.pendingLitigation",
58944
+ UnderwritingDocumentsProcessingStatementsPast3Months: "underwriting.documents.processingStatementsPast3Months",
58945
+ UnderwritingCollectFundsCardPaymentsCardAcceptanceMethods: "underwriting.collectFunds.cardPayments.cardAcceptanceMethods",
58946
+ UnderwritingCollectFundsCardPaymentsCurrentlyAcceptsCards: "underwriting.collectFunds.cardPayments.currentlyAcceptsCards",
58947
+ UnderwritingCollectFundsCardPaymentsEstimatedActivityAverageTransactionAmount: "underwriting.collectFunds.cardPayments.estimatedActivity.averageTransactionAmount",
58948
+ UnderwritingCollectFundsCardPaymentsEstimatedActivityMaximumTransactionAmount: "underwriting.collectFunds.cardPayments.estimatedActivity.maximumTransactionAmount",
58949
+ UnderwritingCollectFundsCardPaymentsEstimatedActivityMonthlyVolumeRange: "underwriting.collectFunds.cardPayments.estimatedActivity.monthlyVolumeRange",
58950
+ UnderwritingCollectFundsCardPaymentsFulfillment: "underwriting.collectFunds.cardPayments.fulfillment",
58951
+ UnderwritingCollectFundsCardPaymentsRefundPolicy: "underwriting.collectFunds.cardPayments.refundPolicy",
58952
+ UnderwritingCollectFundsAchCardAcceptanceMethods: "underwriting.collectFunds.ach.cardAcceptanceMethods",
58953
+ UnderwritingCollectFundsAchCurrentlyAcceptsCards: "underwriting.collectFunds.ach.currentlyAcceptsCards",
58954
+ UnderwritingCollectFundsAchEstimatedActivityAverageTransactionAmount: "underwriting.collectFunds.ach.estimatedActivity.averageTransactionAmount",
58955
+ UnderwritingCollectFundsAchEstimatedActivityMaximumTransactionAmount: "underwriting.collectFunds.ach.estimatedActivity.maximumTransactionAmount",
58956
+ UnderwritingCollectFundsAchEstimatedActivityMonthlyVolumeRange: "underwriting.collectFunds.ach.estimatedActivity.monthlyVolumeRange",
58957
+ UnderwritingCollectFundsAchFulfillment: "underwriting.collectFunds.ach.fulfillment",
58958
+ UnderwritingCollectFundsAchRefundPolicy: "underwriting.collectFunds.ach.refundPolicy",
58959
+ UnderwritingSendFundsAchCardAcceptanceMethods: "underwriting.sendFunds.ach.cardAcceptanceMethods",
58960
+ UnderwritingSendFundsAchCurrentlyAcceptsCards: "underwriting.sendFunds.ach.currentlyAcceptsCards",
58961
+ UnderwritingSendFundsAchEstimatedActivityAverageTransactionAmount: "underwriting.sendFunds.ach.estimatedActivity.averageTransactionAmount",
58962
+ UnderwritingSendFundsAchEstimatedActivityMaximumTransactionAmount: "underwriting.sendFunds.ach.estimatedActivity.maximumTransactionAmount",
58963
+ UnderwritingSendFundsAchEstimatedActivityMonthlyVolumeRange: "underwriting.sendFunds.ach.estimatedActivity.monthlyVolumeRange",
58964
+ UnderwritingSendFundsAchFulfillment: "underwriting.sendFunds.ach.fulfillment",
58965
+ UnderwritingSendFundsAchRefundPolicy: "underwriting.sendFunds.ach.refundPolicy",
58966
+ UnderwritingSendFundsRtpCardAcceptanceMethods: "underwriting.sendFunds.rtp.cardAcceptanceMethods",
58967
+ UnderwritingSendFundsRtpCurrentlyAcceptsCards: "underwriting.sendFunds.rtp.currentlyAcceptsCards",
58968
+ UnderwritingSendFundsRtpEstimatedActivityAverageTransactionAmount: "underwriting.sendFunds.rtp.estimatedActivity.averageTransactionAmount",
58969
+ UnderwritingSendFundsRtpEstimatedActivityMaximumTransactionAmount: "underwriting.sendFunds.rtp.estimatedActivity.maximumTransactionAmount",
58970
+ UnderwritingSendFundsRtpEstimatedActivityMonthlyVolumeRange: "underwriting.sendFunds.rtp.estimatedActivity.monthlyVolumeRange",
58971
+ UnderwritingSendFundsRtpFulfillment: "underwriting.sendFunds.rtp.fulfillment",
58972
+ UnderwritingSendFundsRtpRefundPolicy: "underwriting.sendFunds.rtp.refundPolicy",
58973
+ UnderwritingSendFundsPushToCardCardAcceptanceMethods: "underwriting.sendFunds.pushToCard.cardAcceptanceMethods",
58974
+ UnderwritingSendFundsPushToCardCurrentlyAcceptsCards: "underwriting.sendFunds.pushToCard.currentlyAcceptsCards",
58975
+ UnderwritingSendFundsPushToCardEstimatedActivityAverageTransactionAmount: "underwriting.sendFunds.pushToCard.estimatedActivity.averageTransactionAmount",
58976
+ UnderwritingSendFundsPushToCardEstimatedActivityMaximumTransactionAmount: "underwriting.sendFunds.pushToCard.estimatedActivity.maximumTransactionAmount",
58977
+ UnderwritingSendFundsPushToCardEstimatedActivityMonthlyVolumeRange: "underwriting.sendFunds.pushToCard.estimatedActivity.monthlyVolumeRange",
58978
+ UnderwritingSendFundsPushToCardFulfillment: "underwriting.sendFunds.pushToCard.fulfillment",
58979
+ UnderwritingSendFundsPushToCardRefundPolicy: "underwriting.sendFunds.pushToCard.refundPolicy",
58980
+ UnderwritingMoneyTransferPullFromCardCardAcceptanceMethods: "underwriting.moneyTransfer.pullFromCard.cardAcceptanceMethods",
58981
+ UnderwritingMoneyTransferPullFromCardCurrentlyAcceptsCards: "underwriting.moneyTransfer.pullFromCard.currentlyAcceptsCards",
58982
+ UnderwritingMoneyTransferPullFromCardEstimatedActivityAverageTransactionAmount: "underwriting.moneyTransfer.pullFromCard.estimatedActivity.averageTransactionAmount",
58983
+ UnderwritingMoneyTransferPullFromCardEstimatedActivityMaximumTransactionAmount: "underwriting.moneyTransfer.pullFromCard.estimatedActivity.maximumTransactionAmount",
58984
+ UnderwritingMoneyTransferPullFromCardEstimatedActivityMonthlyVolumeRange: "underwriting.moneyTransfer.pullFromCard.estimatedActivity.monthlyVolumeRange",
58985
+ UnderwritingMoneyTransferPullFromCardFulfillment: "underwriting.moneyTransfer.pullFromCard.fulfillment",
58986
+ UnderwritingMoneyTransferPullFromCardRefundPolicy: "underwriting.moneyTransfer.pullFromCard.refundPolicy",
58987
+ UnderwritingMoneyTransferPushToCardCardAcceptanceMethods: "underwriting.moneyTransfer.pushToCard.cardAcceptanceMethods",
58988
+ UnderwritingMoneyTransferPushToCardCurrentlyAcceptsCards: "underwriting.moneyTransfer.pushToCard.currentlyAcceptsCards",
58989
+ UnderwritingMoneyTransferPushToCardEstimatedActivityAverageTransactionAmount: "underwriting.moneyTransfer.pushToCard.estimatedActivity.averageTransactionAmount",
58990
+ UnderwritingMoneyTransferPushToCardEstimatedActivityMaximumTransactionAmount: "underwriting.moneyTransfer.pushToCard.estimatedActivity.maximumTransactionAmount",
58991
+ UnderwritingMoneyTransferPushToCardEstimatedActivityMonthlyVolumeRange: "underwriting.moneyTransfer.pushToCard.estimatedActivity.monthlyVolumeRange",
58992
+ UnderwritingMoneyTransferPushToCardFulfillment: "underwriting.moneyTransfer.pushToCard.fulfillment",
58993
+ UnderwritingMoneyTransferPushToCardRefundPolicy: "underwriting.moneyTransfer.pushToCard.refundPolicy"
58890
58994
  };
58891
58995
  RequirementID$inboundSchema = nativeEnumType(RequirementID);
58892
58996
  RequirementID$outboundSchema = RequirementID$inboundSchema;
@@ -59133,6 +59237,38 @@ var init_card = __esm(() => {
59133
59237
  });
59134
59238
  });
59135
59239
 
59240
+ // src/models/components/cardacceptancemethods.ts
59241
+ var CardAcceptanceMethods$inboundSchema, CardAcceptanceMethods$outboundSchema;
59242
+ var init_cardacceptancemethods = __esm(() => {
59243
+ init_esm();
59244
+ CardAcceptanceMethods$inboundSchema = objectType({
59245
+ inPersonPercentage: numberType().int().optional(),
59246
+ mailOrPhonePercentage: numberType().int().optional(),
59247
+ onlinePercentage: numberType().int().optional()
59248
+ });
59249
+ CardAcceptanceMethods$outboundSchema = objectType({
59250
+ inPersonPercentage: numberType().int().optional(),
59251
+ mailOrPhonePercentage: numberType().int().optional(),
59252
+ onlinePercentage: numberType().int().optional()
59253
+ });
59254
+ });
59255
+
59256
+ // src/models/components/cardacceptancemethodserror.ts
59257
+ var CardAcceptanceMethodsError$inboundSchema, CardAcceptanceMethodsError$outboundSchema;
59258
+ var init_cardacceptancemethodserror = __esm(() => {
59259
+ init_esm();
59260
+ CardAcceptanceMethodsError$inboundSchema = objectType({
59261
+ inPersonPercentage: stringType().optional(),
59262
+ mailOrPhonePercentage: stringType().optional(),
59263
+ onlinePercentage: stringType().optional()
59264
+ });
59265
+ CardAcceptanceMethodsError$outboundSchema = objectType({
59266
+ inPersonPercentage: stringType().optional(),
59267
+ mailOrPhonePercentage: stringType().optional(),
59268
+ onlinePercentage: stringType().optional()
59269
+ });
59270
+ });
59271
+
59136
59272
  // src/models/components/cardacquiringdispute.ts
59137
59273
  var CardAcquiringDispute$inboundSchema, CardAcquiringDispute$outboundSchema;
59138
59274
  var init_cardacquiringdispute = __esm(() => {
@@ -59448,6 +59584,72 @@ var init_cardpaymentpaymentmethod = __esm(() => {
59448
59584
  });
59449
59585
  });
59450
59586
 
59587
+ // src/models/components/entrymode.ts
59588
+ var EntryMode, EntryMode$inboundSchema, EntryMode$outboundSchema;
59589
+ var init_entrymode = __esm(() => {
59590
+ init_esm();
59591
+ EntryMode = {
59592
+ Contactless: "contactless"
59593
+ };
59594
+ EntryMode$inboundSchema = nativeEnumType(EntryMode);
59595
+ EntryMode$outboundSchema = EntryMode$inboundSchema;
59596
+ });
59597
+
59598
+ // src/models/components/terminalcard.ts
59599
+ var TerminalCard$inboundSchema, TerminalCard$outboundSchema;
59600
+ var init_terminalcard = __esm(() => {
59601
+ init_esm();
59602
+ init_cardbrand();
59603
+ init_cardexpiration();
59604
+ init_cardtype();
59605
+ init_entrymode();
59606
+ TerminalCard$inboundSchema = objectType({
59607
+ entryMode: EntryMode$inboundSchema.optional(),
59608
+ brand: CardBrand$inboundSchema.optional(),
59609
+ bin: stringType().optional(),
59610
+ cardType: CardType$inboundSchema.optional(),
59611
+ expiration: CardExpiration$inboundSchema.optional(),
59612
+ fingerprint: stringType().optional(),
59613
+ holderName: stringType().optional(),
59614
+ issuer: stringType().optional(),
59615
+ issuerCountry: stringType().optional(),
59616
+ lastFourCardNumber: stringType().optional(),
59617
+ applicationID: stringType().optional(),
59618
+ applicationName: stringType().optional()
59619
+ });
59620
+ TerminalCard$outboundSchema = objectType({
59621
+ entryMode: EntryMode$outboundSchema.optional(),
59622
+ brand: CardBrand$outboundSchema.optional(),
59623
+ bin: stringType().optional(),
59624
+ cardType: CardType$outboundSchema.optional(),
59625
+ expiration: CardExpiration$outboundSchema.optional(),
59626
+ fingerprint: stringType().optional(),
59627
+ holderName: stringType().optional(),
59628
+ issuer: stringType().optional(),
59629
+ issuerCountry: stringType().optional(),
59630
+ lastFourCardNumber: stringType().optional(),
59631
+ applicationID: stringType().optional(),
59632
+ applicationName: stringType().optional()
59633
+ });
59634
+ });
59635
+
59636
+ // src/models/components/cardpresentpaymentpaymentmethod.ts
59637
+ var CardPresentPaymentPaymentMethod$inboundSchema, CardPresentPaymentPaymentMethod$outboundSchema;
59638
+ var init_cardpresentpaymentpaymentmethod = __esm(() => {
59639
+ init_esm();
59640
+ init_terminalcard();
59641
+ CardPresentPaymentPaymentMethod$inboundSchema = objectType({
59642
+ paymentMethodID: stringType(),
59643
+ paymentMethodType: literalType("card-present-payment"),
59644
+ terminalCard: TerminalCard$inboundSchema.optional()
59645
+ });
59646
+ CardPresentPaymentPaymentMethod$outboundSchema = objectType({
59647
+ paymentMethodID: stringType(),
59648
+ paymentMethodType: literalType("card-present-payment"),
59649
+ terminalCard: TerminalCard$outboundSchema.optional()
59650
+ });
59651
+ });
59652
+
59451
59653
  // src/models/components/cardtransactionstatus.ts
59452
59654
  var CardTransactionStatus, CardTransactionStatus$inboundSchema, CardTransactionStatus$outboundSchema;
59453
59655
  var init_cardtransactionstatus = __esm(() => {
@@ -59552,6 +59754,248 @@ var init_cardvolumedistributionerror = __esm(() => {
59552
59754
  });
59553
59755
  });
59554
59756
 
59757
+ // src/models/components/monthlyvolumerange.ts
59758
+ var MonthlyVolumeRange, MonthlyVolumeRange$inboundSchema, MonthlyVolumeRange$outboundSchema;
59759
+ var init_monthlyvolumerange = __esm(() => {
59760
+ init_esm();
59761
+ MonthlyVolumeRange = {
59762
+ Under10k: "under-10k",
59763
+ Tenk50k: "10k-50k",
59764
+ Fiftyk100k: "50k-100k",
59765
+ OneHundredk250k: "100k-250k",
59766
+ TwoHundredAndFiftyk500k: "250k-500k",
59767
+ FiveHundredk1m: "500k-1m",
59768
+ Onem5m: "1m-5m",
59769
+ Over5m: "over-5m"
59770
+ };
59771
+ MonthlyVolumeRange$inboundSchema = nativeEnumType(MonthlyVolumeRange);
59772
+ MonthlyVolumeRange$outboundSchema = MonthlyVolumeRange$inboundSchema;
59773
+ });
59774
+
59775
+ // src/models/components/estimatedactivity.ts
59776
+ var EstimatedActivity$inboundSchema, EstimatedActivity$outboundSchema;
59777
+ var init_estimatedactivity = __esm(() => {
59778
+ init_esm();
59779
+ init_monthlyvolumerange();
59780
+ EstimatedActivity$inboundSchema = objectType({
59781
+ averageTransactionAmount: numberType().int().optional(),
59782
+ maximumTransactionAmount: numberType().int().optional(),
59783
+ monthlyVolumeRange: MonthlyVolumeRange$inboundSchema.optional()
59784
+ });
59785
+ EstimatedActivity$outboundSchema = objectType({
59786
+ averageTransactionAmount: numberType().int().optional(),
59787
+ maximumTransactionAmount: numberType().int().optional(),
59788
+ monthlyVolumeRange: MonthlyVolumeRange$outboundSchema.optional()
59789
+ });
59790
+ });
59791
+
59792
+ // src/models/components/collectfundsach.ts
59793
+ var CollectFundsAch$inboundSchema, CollectFundsAch$outboundSchema;
59794
+ var init_collectfundsach = __esm(() => {
59795
+ init_esm();
59796
+ init_estimatedactivity();
59797
+ CollectFundsAch$inboundSchema = objectType({
59798
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
59799
+ });
59800
+ CollectFundsAch$outboundSchema = objectType({
59801
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
59802
+ });
59803
+ });
59804
+
59805
+ // src/models/components/fulfillmentmethod.ts
59806
+ var FulfillmentMethod, FulfillmentMethod$inboundSchema, FulfillmentMethod$outboundSchema;
59807
+ var init_fulfillmentmethod = __esm(() => {
59808
+ init_esm();
59809
+ FulfillmentMethod = {
59810
+ BillOrDebtPayment: "bill-or-debt-payment",
59811
+ DigitalContent: "digital-content",
59812
+ Donation: "donation",
59813
+ InPersonService: "in-person-service",
59814
+ LocalPickupOrDelivery: "local-pickup-or-delivery",
59815
+ Other: "other",
59816
+ RemoteService: "remote-service",
59817
+ ShippedPhysicalGoods: "shipped-physical-goods",
59818
+ SubscriptionOrMembership: "subscription-or-membership"
59819
+ };
59820
+ FulfillmentMethod$inboundSchema = nativeEnumType(FulfillmentMethod);
59821
+ FulfillmentMethod$outboundSchema = FulfillmentMethod$inboundSchema;
59822
+ });
59823
+
59824
+ // src/models/components/fulfillmenttimeframe.ts
59825
+ var FulfillmentTimeframe, FulfillmentTimeframe$inboundSchema, FulfillmentTimeframe$outboundSchema;
59826
+ var init_fulfillmenttimeframe = __esm(() => {
59827
+ init_esm();
59828
+ FulfillmentTimeframe = {
59829
+ Immediate: "immediate",
59830
+ Other: "other",
59831
+ Over30Days: "over-30-days",
59832
+ PreOrder: "pre-order",
59833
+ RecurringSchedule: "recurring-schedule",
59834
+ ScheduledEvent: "scheduled-event",
59835
+ Within30Days: "within-30-days",
59836
+ Within7Days: "within-7-days"
59837
+ };
59838
+ FulfillmentTimeframe$inboundSchema = nativeEnumType(FulfillmentTimeframe);
59839
+ FulfillmentTimeframe$outboundSchema = FulfillmentTimeframe$inboundSchema;
59840
+ });
59841
+
59842
+ // src/models/components/fulfillment.ts
59843
+ var Fulfillment$inboundSchema, Fulfillment$outboundSchema;
59844
+ var init_fulfillment = __esm(() => {
59845
+ init_esm();
59846
+ init_fulfillmentmethod();
59847
+ init_fulfillmenttimeframe();
59848
+ Fulfillment$inboundSchema = objectType({
59849
+ method: FulfillmentMethod$inboundSchema.optional(),
59850
+ timeframe: FulfillmentTimeframe$inboundSchema.optional()
59851
+ });
59852
+ Fulfillment$outboundSchema = objectType({
59853
+ method: FulfillmentMethod$outboundSchema.optional(),
59854
+ timeframe: FulfillmentTimeframe$outboundSchema.optional()
59855
+ });
59856
+ });
59857
+
59858
+ // src/models/components/refundpolicy.ts
59859
+ var RefundPolicy, RefundPolicy$inboundSchema, RefundPolicy$outboundSchema;
59860
+ var init_refundpolicy = __esm(() => {
59861
+ init_esm();
59862
+ RefundPolicy = {
59863
+ ConditionalRefund: "conditional-refund",
59864
+ CustomPolicy: "custom-policy",
59865
+ EventBasedPolicy: "event-based-policy",
59866
+ FullRefundExtendedWindow: "full-refund-extended-window",
59867
+ FullRefundWithin30Days: "full-refund-within-30-days",
59868
+ NoRefunds: "no-refunds",
59869
+ PartialRefund: "partial-refund",
59870
+ ProratedRefund: "prorated-refund",
59871
+ StoreCreditOnly: "store-credit-only"
59872
+ };
59873
+ RefundPolicy$inboundSchema = nativeEnumType(RefundPolicy);
59874
+ RefundPolicy$outboundSchema = RefundPolicy$inboundSchema;
59875
+ });
59876
+
59877
+ // src/models/components/collectfundscardpayments.ts
59878
+ var CollectFundsCardPayments$inboundSchema, CollectFundsCardPayments$outboundSchema;
59879
+ var init_collectfundscardpayments = __esm(() => {
59880
+ init_esm();
59881
+ init_cardacceptancemethods();
59882
+ init_estimatedactivity();
59883
+ init_fulfillment();
59884
+ init_refundpolicy();
59885
+ CollectFundsCardPayments$inboundSchema = objectType({
59886
+ cardAcceptanceMethods: CardAcceptanceMethods$inboundSchema.optional(),
59887
+ currentlyAcceptsCards: booleanType().optional(),
59888
+ estimatedActivity: EstimatedActivity$inboundSchema.optional(),
59889
+ fulfillment: Fulfillment$inboundSchema.optional(),
59890
+ refundPolicy: RefundPolicy$inboundSchema.optional()
59891
+ });
59892
+ CollectFundsCardPayments$outboundSchema = objectType({
59893
+ cardAcceptanceMethods: CardAcceptanceMethods$outboundSchema.optional(),
59894
+ currentlyAcceptsCards: booleanType().optional(),
59895
+ estimatedActivity: EstimatedActivity$outboundSchema.optional(),
59896
+ fulfillment: Fulfillment$outboundSchema.optional(),
59897
+ refundPolicy: RefundPolicy$outboundSchema.optional()
59898
+ });
59899
+ });
59900
+
59901
+ // src/models/components/collectfunds.ts
59902
+ var CollectFunds$inboundSchema, CollectFunds$outboundSchema;
59903
+ var init_collectfunds = __esm(() => {
59904
+ init_esm();
59905
+ init_collectfundsach();
59906
+ init_collectfundscardpayments();
59907
+ CollectFunds$inboundSchema = objectType({
59908
+ ach: CollectFundsAch$inboundSchema.optional(),
59909
+ cardPayments: CollectFundsCardPayments$inboundSchema.optional()
59910
+ });
59911
+ CollectFunds$outboundSchema = objectType({
59912
+ ach: CollectFundsAch$outboundSchema.optional(),
59913
+ cardPayments: CollectFundsCardPayments$outboundSchema.optional()
59914
+ });
59915
+ });
59916
+
59917
+ // src/models/components/estimatedactivityerror.ts
59918
+ var EstimatedActivityError$inboundSchema, EstimatedActivityError$outboundSchema;
59919
+ var init_estimatedactivityerror = __esm(() => {
59920
+ init_esm();
59921
+ EstimatedActivityError$inboundSchema = objectType({
59922
+ averageTransactionAmount: stringType().optional(),
59923
+ maximumTransactionAmount: stringType().optional(),
59924
+ monthlyVolumeRange: stringType().optional()
59925
+ });
59926
+ EstimatedActivityError$outboundSchema = objectType({
59927
+ averageTransactionAmount: stringType().optional(),
59928
+ maximumTransactionAmount: stringType().optional(),
59929
+ monthlyVolumeRange: stringType().optional()
59930
+ });
59931
+ });
59932
+
59933
+ // src/models/components/collectfundsacherror.ts
59934
+ var CollectFundsAchError$inboundSchema, CollectFundsAchError$outboundSchema;
59935
+ var init_collectfundsacherror = __esm(() => {
59936
+ init_esm();
59937
+ init_estimatedactivityerror();
59938
+ CollectFundsAchError$inboundSchema = objectType({
59939
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
59940
+ });
59941
+ CollectFundsAchError$outboundSchema = objectType({
59942
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
59943
+ });
59944
+ });
59945
+
59946
+ // src/models/components/fulfillmenterror.ts
59947
+ var FulfillmentError$inboundSchema, FulfillmentError$outboundSchema;
59948
+ var init_fulfillmenterror = __esm(() => {
59949
+ init_esm();
59950
+ FulfillmentError$inboundSchema = objectType({
59951
+ method: stringType().optional(),
59952
+ timeframe: stringType().optional()
59953
+ });
59954
+ FulfillmentError$outboundSchema = objectType({
59955
+ method: stringType().optional(),
59956
+ timeframe: stringType().optional()
59957
+ });
59958
+ });
59959
+
59960
+ // src/models/components/collectfundscardpaymentserror.ts
59961
+ var CollectFundsCardPaymentsError$inboundSchema, CollectFundsCardPaymentsError$outboundSchema;
59962
+ var init_collectfundscardpaymentserror = __esm(() => {
59963
+ init_esm();
59964
+ init_cardacceptancemethodserror();
59965
+ init_estimatedactivityerror();
59966
+ init_fulfillmenterror();
59967
+ CollectFundsCardPaymentsError$inboundSchema = objectType({
59968
+ cardAcceptanceMethods: CardAcceptanceMethodsError$inboundSchema.optional(),
59969
+ currentlyAcceptsCards: stringType().optional(),
59970
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional(),
59971
+ fulfillment: FulfillmentError$inboundSchema.optional(),
59972
+ refundPolicy: stringType().optional()
59973
+ });
59974
+ CollectFundsCardPaymentsError$outboundSchema = objectType({
59975
+ cardAcceptanceMethods: CardAcceptanceMethodsError$outboundSchema.optional(),
59976
+ currentlyAcceptsCards: stringType().optional(),
59977
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional(),
59978
+ fulfillment: FulfillmentError$outboundSchema.optional(),
59979
+ refundPolicy: stringType().optional()
59980
+ });
59981
+ });
59982
+
59983
+ // src/models/components/collectfundserror.ts
59984
+ var CollectFundsError$inboundSchema, CollectFundsError$outboundSchema;
59985
+ var init_collectfundserror = __esm(() => {
59986
+ init_esm();
59987
+ init_collectfundsacherror();
59988
+ init_collectfundscardpaymentserror();
59989
+ CollectFundsError$inboundSchema = objectType({
59990
+ ach: CollectFundsAchError$inboundSchema.optional(),
59991
+ cardPayments: CollectFundsCardPaymentsError$inboundSchema.optional()
59992
+ });
59993
+ CollectFundsError$outboundSchema = objectType({
59994
+ ach: CollectFundsAchError$outboundSchema.optional(),
59995
+ cardPayments: CollectFundsCardPaymentsError$outboundSchema.optional()
59996
+ });
59997
+ });
59998
+
59555
59999
  // src/models/components/collectionpaymentmethodtype.ts
59556
60000
  var CollectionPaymentMethodType, CollectionPaymentMethodType$inboundSchema, CollectionPaymentMethodType$outboundSchema;
59557
60001
  var init_collectionpaymentmethodtype = __esm(() => {
@@ -59628,6 +60072,18 @@ var init_completemicrodeposits = __esm(() => {
59628
60072
  });
59629
60073
  });
59630
60074
 
60075
+ // src/models/components/createaccounttype.ts
60076
+ var CreateAccountType, CreateAccountType$inboundSchema, CreateAccountType$outboundSchema;
60077
+ var init_createaccounttype = __esm(() => {
60078
+ init_esm();
60079
+ CreateAccountType = {
60080
+ Individual: "individual",
60081
+ Business: "business"
60082
+ };
60083
+ CreateAccountType$inboundSchema = nativeEnumType(CreateAccountType);
60084
+ CreateAccountType$outboundSchema = CreateAccountType$inboundSchema;
60085
+ });
60086
+
59631
60087
  // src/models/components/taxid.ts
59632
60088
  var Ein$inboundSchema, Ein$outboundSchema, TaxID$inboundSchema, TaxID$outboundSchema;
59633
60089
  var init_taxid = __esm(() => {
@@ -59796,15 +60252,15 @@ var init_termsofservicepayload = __esm(() => {
59796
60252
  var CreateAccount$inboundSchema, CreateAccount$outboundSchema;
59797
60253
  var init_createaccount = __esm(() => {
59798
60254
  init_esm();
59799
- init_accounttype();
59800
60255
  init_capabilityid();
60256
+ init_createaccounttype();
59801
60257
  init_createprofile();
59802
60258
  init_customersupport();
59803
60259
  init_mode();
59804
60260
  init_settings();
59805
60261
  init_termsofservicepayload();
59806
60262
  CreateAccount$inboundSchema = objectType({
59807
- accountType: AccountType$inboundSchema,
60263
+ accountType: CreateAccountType$inboundSchema,
59808
60264
  profile: CreateProfile$inboundSchema,
59809
60265
  metadata: recordType(stringType()).optional(),
59810
60266
  termsOfService: TermsOfServicePayload$inboundSchema.optional(),
@@ -59815,7 +60271,7 @@ var init_createaccount = __esm(() => {
59815
60271
  mode: Mode$inboundSchema.optional()
59816
60272
  });
59817
60273
  CreateAccount$outboundSchema = objectType({
59818
- accountType: AccountType$outboundSchema,
60274
+ accountType: CreateAccountType$outboundSchema,
59819
60275
  profile: CreateProfile$outboundSchema,
59820
60276
  metadata: recordType(stringType()).optional(),
59821
60277
  termsOfService: TermsOfServicePayload$outboundSchema.optional(),
@@ -60274,6 +60730,7 @@ var init_transfersource = __esm(() => {
60274
60730
  init_paymentmethodscard();
60275
60731
  init_paymentmethodswallet();
60276
60732
  init_paymentmethodtype();
60733
+ init_terminalcard();
60277
60734
  init_transferaccount();
60278
60735
  TransferSource$inboundSchema = objectType({
60279
60736
  transferID: stringType().optional(),
@@ -60284,6 +60741,7 @@ var init_transfersource = __esm(() => {
60284
60741
  wallet: PaymentMethodsWallet$inboundSchema.optional(),
60285
60742
  card: PaymentMethodsCard$inboundSchema.optional(),
60286
60743
  applePay: ApplePayResponse$inboundSchema.optional(),
60744
+ terminalCard: TerminalCard$inboundSchema.optional(),
60287
60745
  cardDetails: CardTransactionDetails$inboundSchema.optional(),
60288
60746
  achDetails: ACHTransactionDetails$inboundSchema.optional()
60289
60747
  });
@@ -60296,6 +60754,7 @@ var init_transfersource = __esm(() => {
60296
60754
  wallet: PaymentMethodsWallet$outboundSchema.optional(),
60297
60755
  card: PaymentMethodsCard$outboundSchema.optional(),
60298
60756
  applePay: ApplePayResponse$outboundSchema.optional(),
60757
+ terminalCard: TerminalCard$outboundSchema.optional(),
60299
60758
  cardDetails: CardTransactionDetails$outboundSchema.optional(),
60300
60759
  achDetails: ACHTransactionDetails$outboundSchema.optional()
60301
60760
  });
@@ -61141,6 +61600,55 @@ var init_createterminalapplication = __esm(() => {
61141
61600
  });
61142
61601
  });
61143
61602
 
61603
+ // src/models/components/ticketcontact.ts
61604
+ var TicketContact$inboundSchema, TicketContact$outboundSchema;
61605
+ var init_ticketcontact = __esm(() => {
61606
+ init_esm();
61607
+ TicketContact$inboundSchema = objectType({
61608
+ email: stringType(),
61609
+ name: stringType().optional()
61610
+ });
61611
+ TicketContact$outboundSchema = objectType({
61612
+ email: stringType(),
61613
+ name: stringType().optional()
61614
+ });
61615
+ });
61616
+
61617
+ // src/models/components/createticket.ts
61618
+ var CreateTicket$inboundSchema, CreateTicket$outboundSchema;
61619
+ var init_createticket = __esm(() => {
61620
+ init_esm();
61621
+ init_ticketcontact();
61622
+ CreateTicket$inboundSchema = objectType({
61623
+ title: stringType(),
61624
+ body: stringType(),
61625
+ author: stringType().optional(),
61626
+ contact: TicketContact$inboundSchema,
61627
+ foreignID: stringType().optional()
61628
+ });
61629
+ CreateTicket$outboundSchema = objectType({
61630
+ title: stringType(),
61631
+ body: stringType(),
61632
+ author: stringType().optional(),
61633
+ contact: TicketContact$outboundSchema,
61634
+ foreignID: stringType().optional()
61635
+ });
61636
+ });
61637
+
61638
+ // src/models/components/createticketcontacterror.ts
61639
+ var CreateTicketContactError$inboundSchema, CreateTicketContactError$outboundSchema;
61640
+ var init_createticketcontacterror = __esm(() => {
61641
+ init_esm();
61642
+ CreateTicketContactError$inboundSchema = objectType({
61643
+ email: stringType().optional(),
61644
+ name: stringType().optional()
61645
+ });
61646
+ CreateTicketContactError$outboundSchema = objectType({
61647
+ email: stringType().optional(),
61648
+ name: stringType().optional()
61649
+ });
61650
+ });
61651
+
61144
61652
  // src/models/components/createtransferachaddendarecord.ts
61145
61653
  var CreateTransferACHAddendaRecord$inboundSchema, CreateTransferACHAddendaRecord$outboundSchema;
61146
61654
  var init_createtransferachaddendarecord = __esm(() => {
@@ -61785,21 +62293,23 @@ var init_enrichedbusinessresponse = __esm(() => {
61785
62293
  });
61786
62294
  });
61787
62295
 
61788
- // src/models/components/enrichedindustry.ts
61789
- var EnrichedIndustry$inboundSchema, EnrichedIndustry$outboundSchema;
61790
- var init_enrichedindustry = __esm(() => {
62296
+ // src/models/components/industrytaxonomy.ts
62297
+ var IndustryTaxonomy$inboundSchema, IndustryTaxonomy$outboundSchema;
62298
+ var init_industrytaxonomy = __esm(() => {
61791
62299
  init_esm();
61792
- EnrichedIndustry$inboundSchema = objectType({
61793
- title: stringType(),
61794
- naics: stringType(),
61795
- sic: stringType(),
61796
- mcc: stringType()
62300
+ IndustryTaxonomy$inboundSchema = objectType({
62301
+ industry: stringType(),
62302
+ displayName: stringType(),
62303
+ category: stringType(),
62304
+ categoryDisplayName: stringType(),
62305
+ defaultMcc: stringType()
61797
62306
  });
61798
- EnrichedIndustry$outboundSchema = objectType({
61799
- title: stringType(),
61800
- naics: stringType(),
61801
- sic: stringType(),
61802
- mcc: stringType()
62307
+ IndustryTaxonomy$outboundSchema = objectType({
62308
+ industry: stringType(),
62309
+ displayName: stringType(),
62310
+ category: stringType(),
62311
+ categoryDisplayName: stringType(),
62312
+ defaultMcc: stringType()
61803
62313
  });
61804
62314
  });
61805
62315
 
@@ -61807,12 +62317,12 @@ var init_enrichedindustry = __esm(() => {
61807
62317
  var EnrichedIndustries$inboundSchema, EnrichedIndustries$outboundSchema;
61808
62318
  var init_enrichedindustries = __esm(() => {
61809
62319
  init_esm();
61810
- init_enrichedindustry();
62320
+ init_industrytaxonomy();
61811
62321
  EnrichedIndustries$inboundSchema = objectType({
61812
- industries: arrayType(EnrichedIndustry$inboundSchema)
62322
+ industries: arrayType(IndustryTaxonomy$inboundSchema)
61813
62323
  });
61814
62324
  EnrichedIndustries$outboundSchema = objectType({
61815
- industries: arrayType(EnrichedIndustry$outboundSchema)
62325
+ industries: arrayType(IndustryTaxonomy$outboundSchema)
61816
62326
  });
61817
62327
  });
61818
62328
 
@@ -62303,6 +62813,19 @@ var init_generatedby = __esm(() => {
62303
62813
  });
62304
62814
  });
62305
62815
 
62816
+ // src/models/components/geographicreach.ts
62817
+ var GeographicReach, GeographicReach$inboundSchema, GeographicReach$outboundSchema;
62818
+ var init_geographicreach = __esm(() => {
62819
+ init_esm();
62820
+ GeographicReach = {
62821
+ InternationalOnly: "international-only",
62822
+ UsAndInternational: "us-and-international",
62823
+ UsOnly: "us-only"
62824
+ };
62825
+ GeographicReach$inboundSchema = nativeEnumType(GeographicReach);
62826
+ GeographicReach$outboundSchema = GeographicReach$inboundSchema;
62827
+ });
62828
+
62306
62829
  // src/models/components/governmentiderror.ts
62307
62830
  var GovernmentIDErrorSsn$inboundSchema, GovernmentIDErrorSsn$outboundSchema, GovernmentIDErrorItin$inboundSchema, GovernmentIDErrorItin$outboundSchema, GovernmentIDError$inboundSchema, GovernmentIDError$outboundSchema;
62308
62831
  var init_governmentiderror = __esm(() => {
@@ -62810,6 +63333,18 @@ var init_issuingcontrolserror = __esm(() => {
62810
63333
  });
62811
63334
  });
62812
63335
 
63336
+ // src/models/components/itemlistnextpage.ts
63337
+ var ItemListNextPage$inboundSchema, ItemListNextPage$outboundSchema;
63338
+ var init_itemlistnextpage = __esm(() => {
63339
+ init_esm();
63340
+ ItemListNextPage$inboundSchema = objectType({
63341
+ cursor: stringType()
63342
+ });
63343
+ ItemListNextPage$outboundSchema = objectType({
63344
+ cursor: stringType()
63345
+ });
63346
+ });
63347
+
62813
63348
  // src/models/components/jsonwebkey.ts
62814
63349
  var Use, Use$inboundSchema, Use$outboundSchema, JSONWebKey$inboundSchema, JSONWebKey$outboundSchema;
62815
63350
  var init_jsonwebkey = __esm(() => {
@@ -63123,6 +63658,90 @@ var init_manualtermsofserviceupdate = __esm(() => {
63123
63658
  });
63124
63659
  });
63125
63660
 
63661
+ // src/models/components/moneytransferpullfromcard.ts
63662
+ var MoneyTransferPullFromCard$inboundSchema, MoneyTransferPullFromCard$outboundSchema;
63663
+ var init_moneytransferpullfromcard = __esm(() => {
63664
+ init_esm();
63665
+ init_estimatedactivity();
63666
+ MoneyTransferPullFromCard$inboundSchema = objectType({
63667
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
63668
+ });
63669
+ MoneyTransferPullFromCard$outboundSchema = objectType({
63670
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
63671
+ });
63672
+ });
63673
+
63674
+ // src/models/components/moneytransferpushtocard.ts
63675
+ var MoneyTransferPushToCard$inboundSchema, MoneyTransferPushToCard$outboundSchema;
63676
+ var init_moneytransferpushtocard = __esm(() => {
63677
+ init_esm();
63678
+ init_estimatedactivity();
63679
+ MoneyTransferPushToCard$inboundSchema = objectType({
63680
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
63681
+ });
63682
+ MoneyTransferPushToCard$outboundSchema = objectType({
63683
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
63684
+ });
63685
+ });
63686
+
63687
+ // src/models/components/moneytransfer.ts
63688
+ var MoneyTransfer$inboundSchema, MoneyTransfer$outboundSchema;
63689
+ var init_moneytransfer = __esm(() => {
63690
+ init_esm();
63691
+ init_moneytransferpullfromcard();
63692
+ init_moneytransferpushtocard();
63693
+ MoneyTransfer$inboundSchema = objectType({
63694
+ pullFromCard: MoneyTransferPullFromCard$inboundSchema.optional(),
63695
+ pushToCard: MoneyTransferPushToCard$inboundSchema.optional()
63696
+ });
63697
+ MoneyTransfer$outboundSchema = objectType({
63698
+ pullFromCard: MoneyTransferPullFromCard$outboundSchema.optional(),
63699
+ pushToCard: MoneyTransferPushToCard$outboundSchema.optional()
63700
+ });
63701
+ });
63702
+
63703
+ // src/models/components/moneytransferpullfromcarderror.ts
63704
+ var MoneyTransferPullFromCardError$inboundSchema, MoneyTransferPullFromCardError$outboundSchema;
63705
+ var init_moneytransferpullfromcarderror = __esm(() => {
63706
+ init_esm();
63707
+ init_estimatedactivityerror();
63708
+ MoneyTransferPullFromCardError$inboundSchema = objectType({
63709
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
63710
+ });
63711
+ MoneyTransferPullFromCardError$outboundSchema = objectType({
63712
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
63713
+ });
63714
+ });
63715
+
63716
+ // src/models/components/moneytransferpushtocarderror.ts
63717
+ var MoneyTransferPushToCardError$inboundSchema, MoneyTransferPushToCardError$outboundSchema;
63718
+ var init_moneytransferpushtocarderror = __esm(() => {
63719
+ init_esm();
63720
+ init_estimatedactivityerror();
63721
+ MoneyTransferPushToCardError$inboundSchema = objectType({
63722
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
63723
+ });
63724
+ MoneyTransferPushToCardError$outboundSchema = objectType({
63725
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
63726
+ });
63727
+ });
63728
+
63729
+ // src/models/components/moneytransfererror.ts
63730
+ var MoneyTransferError$inboundSchema, MoneyTransferError$outboundSchema;
63731
+ var init_moneytransfererror = __esm(() => {
63732
+ init_esm();
63733
+ init_moneytransferpullfromcarderror();
63734
+ init_moneytransferpushtocarderror();
63735
+ MoneyTransferError$inboundSchema = objectType({
63736
+ pullFromCard: MoneyTransferPullFromCardError$inboundSchema.optional(),
63737
+ pushToCard: MoneyTransferPushToCardError$inboundSchema.optional()
63738
+ });
63739
+ MoneyTransferError$outboundSchema = objectType({
63740
+ pullFromCard: MoneyTransferPullFromCardError$outboundSchema.optional(),
63741
+ pushToCard: MoneyTransferPushToCardError$outboundSchema.optional()
63742
+ });
63743
+ });
63744
+
63126
63745
  // src/models/components/transferparty.ts
63127
63746
  var TransferParty, TransferParty$inboundSchema, TransferParty$outboundSchema;
63128
63747
  var init_transferparty = __esm(() => {
@@ -64049,6 +64668,7 @@ var init_paymentmethod = __esm(() => {
64049
64668
  init_achdebitfundpaymentmethod();
64050
64669
  init_applepaypaymentmethod();
64051
64670
  init_cardpaymentpaymentmethod();
64671
+ init_cardpresentpaymentpaymentmethod();
64052
64672
  init_moovwalletpaymentmethod();
64053
64673
  init_pullfromcardpaymentmethod();
64054
64674
  init_pushtocardpaymentmethod();
@@ -64063,7 +64683,8 @@ var init_paymentmethod = __esm(() => {
64063
64683
  CardPaymentPaymentMethod$inboundSchema,
64064
64684
  PushToCardPaymentMethod$inboundSchema,
64065
64685
  PullFromCardPaymentMethod$inboundSchema,
64066
- ApplePayPaymentMethod$inboundSchema
64686
+ ApplePayPaymentMethod$inboundSchema,
64687
+ CardPresentPaymentPaymentMethod$inboundSchema
64067
64688
  ]);
64068
64689
  PaymentMethod$outboundSchema = unionType([
64069
64690
  MoovWalletPaymentMethod$outboundSchema,
@@ -64075,7 +64696,8 @@ var init_paymentmethod = __esm(() => {
64075
64696
  CardPaymentPaymentMethod$outboundSchema,
64076
64697
  PushToCardPaymentMethod$outboundSchema,
64077
64698
  PullFromCardPaymentMethod$outboundSchema,
64078
- ApplePayPaymentMethod$outboundSchema
64699
+ ApplePayPaymentMethod$outboundSchema,
64700
+ CardPresentPaymentPaymentMethod$outboundSchema
64079
64701
  ]);
64080
64702
  });
64081
64703
 
@@ -64111,6 +64733,26 @@ var init_payoutdetailserror = __esm(() => {
64111
64733
  });
64112
64734
  });
64113
64735
 
64736
+ // src/models/components/pendinglitigation.ts
64737
+ var PendingLitigation, PendingLitigation$inboundSchema, PendingLitigation$outboundSchema;
64738
+ var init_pendinglitigation = __esm(() => {
64739
+ init_esm();
64740
+ PendingLitigation = {
64741
+ BankruptcyOrInsolvency: "bankruptcy-or-insolvency",
64742
+ ConsumerProtectionOrClassAction: "consumer-protection-or-class-action",
64743
+ DataBreachOrPrivacy: "data-breach-or-privacy",
64744
+ EmploymentOrWorkplaceDisputes: "employment-or-workplace-disputes",
64745
+ FraudOrFinancialCrime: "fraud-or-financial-crime",
64746
+ GovernmentEnforcementOrInvestigation: "government-enforcement-or-investigation",
64747
+ IntellectualProperty: "intellectual-property",
64748
+ None: "none",
64749
+ Other: "other",
64750
+ PersonalInjuryOrMedical: "personal-injury-or-medical"
64751
+ };
64752
+ PendingLitigation$inboundSchema = nativeEnumType(PendingLitigation);
64753
+ PendingLitigation$outboundSchema = PendingLitigation$inboundSchema;
64754
+ });
64755
+
64114
64756
  // src/models/components/webhook.ts
64115
64757
  var Webhook$inboundSchema, Webhook$outboundSchema;
64116
64758
  var init_webhook = __esm(() => {
@@ -64728,6 +65370,154 @@ var init_security2 = __esm(() => {
64728
65370
  });
64729
65371
  });
64730
65372
 
65373
+ // src/models/components/sendfundsach.ts
65374
+ var SendFundsAch$inboundSchema, SendFundsAch$outboundSchema;
65375
+ var init_sendfundsach = __esm(() => {
65376
+ init_esm();
65377
+ init_estimatedactivity();
65378
+ SendFundsAch$inboundSchema = objectType({
65379
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
65380
+ });
65381
+ SendFundsAch$outboundSchema = objectType({
65382
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
65383
+ });
65384
+ });
65385
+
65386
+ // src/models/components/sendfundsinstantbank.ts
65387
+ var SendFundsInstantBank$inboundSchema, SendFundsInstantBank$outboundSchema;
65388
+ var init_sendfundsinstantbank = __esm(() => {
65389
+ init_esm();
65390
+ init_estimatedactivity();
65391
+ SendFundsInstantBank$inboundSchema = objectType({
65392
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
65393
+ });
65394
+ SendFundsInstantBank$outboundSchema = objectType({
65395
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
65396
+ });
65397
+ });
65398
+
65399
+ // src/models/components/sendfundspushtocard.ts
65400
+ var SendFundsPushToCard$inboundSchema, SendFundsPushToCard$outboundSchema;
65401
+ var init_sendfundspushtocard = __esm(() => {
65402
+ init_esm();
65403
+ init_estimatedactivity();
65404
+ SendFundsPushToCard$inboundSchema = objectType({
65405
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
65406
+ });
65407
+ SendFundsPushToCard$outboundSchema = objectType({
65408
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
65409
+ });
65410
+ });
65411
+
65412
+ // src/models/components/sendfundsrtp.ts
65413
+ var SendFundsRtp$inboundSchema, SendFundsRtp$outboundSchema;
65414
+ var init_sendfundsrtp = __esm(() => {
65415
+ init_esm();
65416
+ init_estimatedactivity();
65417
+ SendFundsRtp$inboundSchema = objectType({
65418
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
65419
+ });
65420
+ SendFundsRtp$outboundSchema = objectType({
65421
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
65422
+ });
65423
+ });
65424
+
65425
+ // src/models/components/sendfunds.ts
65426
+ var SendFunds$inboundSchema, SendFunds$outboundSchema;
65427
+ var init_sendfunds = __esm(() => {
65428
+ init_esm();
65429
+ init_sendfundsach();
65430
+ init_sendfundsinstantbank();
65431
+ init_sendfundspushtocard();
65432
+ init_sendfundsrtp();
65433
+ SendFunds$inboundSchema = objectType({
65434
+ ach: SendFundsAch$inboundSchema.optional(),
65435
+ pushToCard: SendFundsPushToCard$inboundSchema.optional(),
65436
+ rtp: SendFundsRtp$inboundSchema.optional(),
65437
+ instantBank: SendFundsInstantBank$inboundSchema.optional()
65438
+ });
65439
+ SendFunds$outboundSchema = objectType({
65440
+ ach: SendFundsAch$outboundSchema.optional(),
65441
+ pushToCard: SendFundsPushToCard$outboundSchema.optional(),
65442
+ rtp: SendFundsRtp$outboundSchema.optional(),
65443
+ instantBank: SendFundsInstantBank$outboundSchema.optional()
65444
+ });
65445
+ });
65446
+
65447
+ // src/models/components/sendfundsacherror.ts
65448
+ var SendFundsAchError$inboundSchema, SendFundsAchError$outboundSchema;
65449
+ var init_sendfundsacherror = __esm(() => {
65450
+ init_esm();
65451
+ init_estimatedactivityerror();
65452
+ SendFundsAchError$inboundSchema = objectType({
65453
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
65454
+ });
65455
+ SendFundsAchError$outboundSchema = objectType({
65456
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
65457
+ });
65458
+ });
65459
+
65460
+ // src/models/components/sendfundsinstantbankerror.ts
65461
+ var SendFundsInstantBankError$inboundSchema, SendFundsInstantBankError$outboundSchema;
65462
+ var init_sendfundsinstantbankerror = __esm(() => {
65463
+ init_esm();
65464
+ init_estimatedactivityerror();
65465
+ SendFundsInstantBankError$inboundSchema = objectType({
65466
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
65467
+ });
65468
+ SendFundsInstantBankError$outboundSchema = objectType({
65469
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
65470
+ });
65471
+ });
65472
+
65473
+ // src/models/components/sendfundspushtocarderror.ts
65474
+ var SendFundsPushToCardError$inboundSchema, SendFundsPushToCardError$outboundSchema;
65475
+ var init_sendfundspushtocarderror = __esm(() => {
65476
+ init_esm();
65477
+ init_estimatedactivityerror();
65478
+ SendFundsPushToCardError$inboundSchema = objectType({
65479
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
65480
+ });
65481
+ SendFundsPushToCardError$outboundSchema = objectType({
65482
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
65483
+ });
65484
+ });
65485
+
65486
+ // src/models/components/sendfundsrtperror.ts
65487
+ var SendFundsRtpError$inboundSchema, SendFundsRtpError$outboundSchema;
65488
+ var init_sendfundsrtperror = __esm(() => {
65489
+ init_esm();
65490
+ init_estimatedactivityerror();
65491
+ SendFundsRtpError$inboundSchema = objectType({
65492
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
65493
+ });
65494
+ SendFundsRtpError$outboundSchema = objectType({
65495
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
65496
+ });
65497
+ });
65498
+
65499
+ // src/models/components/sendfundserror.ts
65500
+ var SendFundsError$inboundSchema, SendFundsError$outboundSchema;
65501
+ var init_sendfundserror = __esm(() => {
65502
+ init_esm();
65503
+ init_sendfundsacherror();
65504
+ init_sendfundsinstantbankerror();
65505
+ init_sendfundspushtocarderror();
65506
+ init_sendfundsrtperror();
65507
+ SendFundsError$inboundSchema = objectType({
65508
+ ach: SendFundsAchError$inboundSchema.optional(),
65509
+ pushToCard: SendFundsPushToCardError$inboundSchema.optional(),
65510
+ rtp: SendFundsRtpError$inboundSchema.optional(),
65511
+ instantBank: SendFundsInstantBankError$inboundSchema.optional()
65512
+ });
65513
+ SendFundsError$outboundSchema = objectType({
65514
+ ach: SendFundsAchError$outboundSchema.optional(),
65515
+ pushToCard: SendFundsPushToCardError$outboundSchema.optional(),
65516
+ rtp: SendFundsRtpError$outboundSchema.optional(),
65517
+ instantBank: SendFundsInstantBankError$outboundSchema.optional()
65518
+ });
65519
+ });
65520
+
64731
65521
  // src/models/components/sharescopes.ts
64732
65522
  var ShareScopes$inboundSchema, ShareScopes$outboundSchema;
64733
65523
  var init_sharescopes = __esm(() => {
@@ -64795,6 +65585,18 @@ var init_statement = __esm(() => {
64795
65585
  });
64796
65586
  });
64797
65587
 
65588
+ // src/models/components/submissionintent.ts
65589
+ var SubmissionIntent, SubmissionIntent$inboundSchema, SubmissionIntent$outboundSchema;
65590
+ var init_submissionintent = __esm(() => {
65591
+ init_esm();
65592
+ SubmissionIntent = {
65593
+ Wait: "wait",
65594
+ Submit: "submit"
65595
+ };
65596
+ SubmissionIntent$inboundSchema = nativeEnumType(SubmissionIntent);
65597
+ SubmissionIntent$outboundSchema = SubmissionIntent$inboundSchema;
65598
+ });
65599
+
64798
65600
  // src/models/components/sweepstatus.ts
64799
65601
  var SweepStatus, SweepStatus$inboundSchema, SweepStatus$outboundSchema;
64800
65602
  var init_sweepstatus = __esm(() => {
@@ -65066,6 +65868,54 @@ var init_ticketstatus = __esm(() => {
65066
65868
  TicketStatus$outboundSchema = TicketStatus$inboundSchema;
65067
65869
  });
65068
65870
 
65871
+ // src/models/components/ticket.ts
65872
+ var Ticket$inboundSchema, Ticket$outboundSchema;
65873
+ var init_ticket = __esm(() => {
65874
+ init_esm();
65875
+ init_ticketcontact();
65876
+ init_ticketstatus();
65877
+ Ticket$inboundSchema = objectType({
65878
+ ticketID: stringType(),
65879
+ number: numberType().int(),
65880
+ title: stringType(),
65881
+ contact: TicketContact$inboundSchema,
65882
+ status: TicketStatus$inboundSchema,
65883
+ createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
65884
+ updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
65885
+ latestMessageOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
65886
+ closedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
65887
+ foreignID: stringType().optional()
65888
+ });
65889
+ Ticket$outboundSchema = objectType({
65890
+ ticketID: stringType(),
65891
+ number: numberType().int(),
65892
+ title: stringType(),
65893
+ contact: TicketContact$outboundSchema,
65894
+ status: TicketStatus$outboundSchema,
65895
+ createdOn: dateType().transform((v2) => v2.toISOString()),
65896
+ updatedOn: dateType().transform((v2) => v2.toISOString()),
65897
+ latestMessageOn: dateType().transform((v2) => v2.toISOString()).optional(),
65898
+ closedOn: dateType().transform((v2) => v2.toISOString()).optional(),
65899
+ foreignID: stringType().optional()
65900
+ });
65901
+ });
65902
+
65903
+ // src/models/components/ticketmessage.ts
65904
+ var TicketMessage$inboundSchema, TicketMessage$outboundSchema;
65905
+ var init_ticketmessage = __esm(() => {
65906
+ init_esm();
65907
+ TicketMessage$inboundSchema = objectType({
65908
+ author: stringType(),
65909
+ body: stringType(),
65910
+ sentOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
65911
+ });
65912
+ TicketMessage$outboundSchema = objectType({
65913
+ author: stringType(),
65914
+ body: stringType(),
65915
+ sentOn: dateType().transform((v2) => v2.toISOString())
65916
+ });
65917
+ });
65918
+
65069
65919
  // src/models/components/transfer.ts
65070
65920
  var Transfer$inboundSchema, Transfer$outboundSchema;
65071
65921
  var init_transfer = __esm(() => {
@@ -65199,31 +66049,68 @@ var init_volumebycustomertype = __esm(() => {
65199
66049
  });
65200
66050
  });
65201
66051
 
66052
+ // src/models/components/volumesharebycustomertype.ts
66053
+ var VolumeShareByCustomerType$inboundSchema, VolumeShareByCustomerType$outboundSchema;
66054
+ var init_volumesharebycustomertype = __esm(() => {
66055
+ init_esm();
66056
+ VolumeShareByCustomerType$inboundSchema = objectType({
66057
+ business: numberType().int().optional(),
66058
+ consumer: numberType().int().optional(),
66059
+ p2p: numberType().int().optional()
66060
+ });
66061
+ VolumeShareByCustomerType$outboundSchema = objectType({
66062
+ business: numberType().int().optional(),
66063
+ consumer: numberType().int().optional(),
66064
+ p2p: numberType().int().optional()
66065
+ });
66066
+ });
66067
+
65202
66068
  // src/models/components/underwriting.ts
65203
66069
  var Underwriting$inboundSchema, Underwriting$outboundSchema;
65204
66070
  var init_underwriting = __esm(() => {
65205
66071
  init_esm();
66072
+ init_businesspresence();
65206
66073
  init_cardvolumedistribution();
66074
+ init_collectfunds();
65207
66075
  init_fulfillmentdetails();
66076
+ init_geographicreach();
66077
+ init_moneytransfer();
66078
+ init_pendinglitigation();
66079
+ init_sendfunds();
65208
66080
  init_underwritingstatus();
65209
66081
  init_volumebycustomertype();
66082
+ init_volumesharebycustomertype();
65210
66083
  Underwriting$inboundSchema = objectType({
65211
- averageTransactionSize: numberType().int(),
65212
- maxTransactionSize: numberType().int(),
65213
- averageMonthlyTransactionVolume: numberType().int(),
65214
- status: UnderwritingStatus$inboundSchema,
65215
- volumeByCustomerType: VolumeByCustomerType$inboundSchema,
65216
- cardVolumeDistribution: CardVolumeDistribution$inboundSchema,
65217
- fulfillment: FulfillmentDetails$inboundSchema
66084
+ averageTransactionSize: numberType().int().optional(),
66085
+ maxTransactionSize: numberType().int().optional(),
66086
+ averageMonthlyTransactionVolume: numberType().int().optional(),
66087
+ status: UnderwritingStatus$inboundSchema.optional(),
66088
+ volumeByCustomerType: VolumeByCustomerType$inboundSchema.optional(),
66089
+ cardVolumeDistribution: CardVolumeDistribution$inboundSchema.optional(),
66090
+ fulfillment: FulfillmentDetails$inboundSchema.optional(),
66091
+ geographicReach: GeographicReach$inboundSchema.optional(),
66092
+ businessPresence: BusinessPresence$inboundSchema.optional(),
66093
+ pendingLitigation: PendingLitigation$inboundSchema.optional(),
66094
+ volumeShareByCustomerType: VolumeShareByCustomerType$inboundSchema.optional(),
66095
+ collectFunds: CollectFunds$inboundSchema.optional(),
66096
+ moneyTransfer: MoneyTransfer$inboundSchema.optional(),
66097
+ sendFunds: SendFunds$inboundSchema.optional()
65218
66098
  });
65219
66099
  Underwriting$outboundSchema = objectType({
65220
- averageTransactionSize: numberType().int(),
65221
- maxTransactionSize: numberType().int(),
65222
- averageMonthlyTransactionVolume: numberType().int(),
65223
- status: UnderwritingStatus$outboundSchema,
65224
- volumeByCustomerType: VolumeByCustomerType$outboundSchema,
65225
- cardVolumeDistribution: CardVolumeDistribution$outboundSchema,
65226
- fulfillment: FulfillmentDetails$outboundSchema
66100
+ averageTransactionSize: numberType().int().optional(),
66101
+ maxTransactionSize: numberType().int().optional(),
66102
+ averageMonthlyTransactionVolume: numberType().int().optional(),
66103
+ status: UnderwritingStatus$outboundSchema.optional(),
66104
+ volumeByCustomerType: VolumeByCustomerType$outboundSchema.optional(),
66105
+ cardVolumeDistribution: CardVolumeDistribution$outboundSchema.optional(),
66106
+ fulfillment: FulfillmentDetails$outboundSchema.optional(),
66107
+ geographicReach: GeographicReach$outboundSchema.optional(),
66108
+ businessPresence: BusinessPresence$outboundSchema.optional(),
66109
+ pendingLitigation: PendingLitigation$outboundSchema.optional(),
66110
+ volumeShareByCustomerType: VolumeShareByCustomerType$outboundSchema.optional(),
66111
+ collectFunds: CollectFunds$outboundSchema.optional(),
66112
+ moneyTransfer: MoneyTransfer$outboundSchema.optional(),
66113
+ sendFunds: SendFunds$outboundSchema.optional()
65227
66114
  });
65228
66115
  });
65229
66116
 
@@ -65477,6 +66364,30 @@ var init_updaterepresentative = __esm(() => {
65477
66364
  });
65478
66365
  });
65479
66366
 
66367
+ // src/models/components/updateticketstatus.ts
66368
+ var UpdateTicketStatus, UpdateTicketStatus$inboundSchema, UpdateTicketStatus$outboundSchema;
66369
+ var init_updateticketstatus = __esm(() => {
66370
+ init_esm();
66371
+ UpdateTicketStatus = {
66372
+ Closed: "closed"
66373
+ };
66374
+ UpdateTicketStatus$inboundSchema = nativeEnumType(UpdateTicketStatus);
66375
+ UpdateTicketStatus$outboundSchema = UpdateTicketStatus$inboundSchema;
66376
+ });
66377
+
66378
+ // src/models/components/updateticket.ts
66379
+ var UpdateTicket$inboundSchema, UpdateTicket$outboundSchema;
66380
+ var init_updateticket = __esm(() => {
66381
+ init_esm();
66382
+ init_updateticketstatus();
66383
+ UpdateTicket$inboundSchema = objectType({
66384
+ status: UpdateTicketStatus$inboundSchema.optional()
66385
+ });
66386
+ UpdateTicket$outboundSchema = objectType({
66387
+ status: UpdateTicketStatus$outboundSchema.optional()
66388
+ });
66389
+ });
66390
+
65480
66391
  // src/models/components/updateunderwriting.ts
65481
66392
  var UpdateUnderwriting$inboundSchema, UpdateUnderwriting$outboundSchema;
65482
66393
  var init_updateunderwriting = __esm(() => {
@@ -65540,6 +66451,40 @@ var init_upsertschedule = __esm(() => {
65540
66451
  });
65541
66452
  });
65542
66453
 
66454
+ // src/models/components/upsertunderwriting.ts
66455
+ var UpsertUnderwriting$inboundSchema, UpsertUnderwriting$outboundSchema;
66456
+ var init_upsertunderwriting = __esm(() => {
66457
+ init_esm();
66458
+ init_businesspresence();
66459
+ init_collectfunds();
66460
+ init_geographicreach();
66461
+ init_moneytransfer();
66462
+ init_pendinglitigation();
66463
+ init_sendfunds();
66464
+ init_submissionintent();
66465
+ init_volumesharebycustomertype();
66466
+ UpsertUnderwriting$inboundSchema = objectType({
66467
+ geographicReach: GeographicReach$inboundSchema.optional(),
66468
+ businessPresence: BusinessPresence$inboundSchema.optional(),
66469
+ pendingLitigation: PendingLitigation$inboundSchema.optional(),
66470
+ volumeShareByCustomerType: VolumeShareByCustomerType$inboundSchema.optional(),
66471
+ collectFunds: CollectFunds$inboundSchema.optional(),
66472
+ moneyTransfer: MoneyTransfer$inboundSchema.optional(),
66473
+ sendFunds: SendFunds$inboundSchema.optional(),
66474
+ submissionIntent: SubmissionIntent$inboundSchema.optional()
66475
+ });
66476
+ UpsertUnderwriting$outboundSchema = objectType({
66477
+ geographicReach: GeographicReach$outboundSchema.optional(),
66478
+ businessPresence: BusinessPresence$outboundSchema.optional(),
66479
+ pendingLitigation: PendingLitigation$outboundSchema.optional(),
66480
+ volumeShareByCustomerType: VolumeShareByCustomerType$outboundSchema.optional(),
66481
+ collectFunds: CollectFunds$outboundSchema.optional(),
66482
+ moneyTransfer: MoneyTransfer$outboundSchema.optional(),
66483
+ sendFunds: SendFunds$outboundSchema.optional(),
66484
+ submissionIntent: SubmissionIntent$outboundSchema.optional()
66485
+ });
66486
+ });
66487
+
65543
66488
  // src/models/components/volumebycustomertypeerror.ts
65544
66489
  var VolumeByCustomerTypeError$inboundSchema, VolumeByCustomerTypeError$outboundSchema;
65545
66490
  var init_volumebycustomertypeerror = __esm(() => {
@@ -65554,6 +66499,22 @@ var init_volumebycustomertypeerror = __esm(() => {
65554
66499
  });
65555
66500
  });
65556
66501
 
66502
+ // src/models/components/volumesharebycustomertypeerror.ts
66503
+ var VolumeShareByCustomerTypeError$inboundSchema, VolumeShareByCustomerTypeError$outboundSchema;
66504
+ var init_volumesharebycustomertypeerror = __esm(() => {
66505
+ init_esm();
66506
+ VolumeShareByCustomerTypeError$inboundSchema = objectType({
66507
+ business: stringType().optional(),
66508
+ consumer: stringType().optional(),
66509
+ p2p: stringType().optional()
66510
+ });
66511
+ VolumeShareByCustomerTypeError$outboundSchema = objectType({
66512
+ business: stringType().optional(),
66513
+ consumer: stringType().optional(),
66514
+ p2p: stringType().optional()
66515
+ });
66516
+ });
66517
+
65557
66518
  // src/models/components/walletavailablebalance.ts
65558
66519
  var WalletAvailableBalance$inboundSchema, WalletAvailableBalance$outboundSchema;
65559
66520
  var init_walletavailablebalance = __esm(() => {
@@ -66593,6 +67554,7 @@ var init_components = __esm(() => {
66593
67554
  init_brandcolors();
66594
67555
  init_brandcolorvalidationerror();
66595
67556
  init_brandproperties();
67557
+ init_businesspresence();
66596
67558
  init_businessprofile();
66597
67559
  init_businesstype();
66598
67560
  init_calltoaction();
@@ -66603,6 +67565,8 @@ var init_components = __esm(() => {
66603
67565
  init_capabilityrequirement();
66604
67566
  init_capabilitystatus();
66605
67567
  init_card();
67568
+ init_cardacceptancemethods();
67569
+ init_cardacceptancemethodserror();
66606
67570
  init_cardaccountupdater();
66607
67571
  init_cardacquiringdispute();
66608
67572
  init_cardacquiringfees();
@@ -66618,6 +67582,7 @@ var init_components = __esm(() => {
66618
67582
  init_cardpaymentdetailserror();
66619
67583
  init_cardpaymentpaymentmethod();
66620
67584
  init_cardpaymentsettings();
67585
+ init_cardpresentpaymentpaymentmethod();
66621
67586
  init_cardtransactiondetails();
66622
67587
  init_cardtransactionfailurecode();
66623
67588
  init_cardtransactionstatus();
@@ -66627,6 +67592,12 @@ var init_components = __esm(() => {
66627
67592
  init_cardverificationresult();
66628
67593
  init_cardvolumedistribution();
66629
67594
  init_cardvolumedistributionerror();
67595
+ init_collectfunds();
67596
+ init_collectfundsach();
67597
+ init_collectfundsacherror();
67598
+ init_collectfundscardpayments();
67599
+ init_collectfundscardpaymentserror();
67600
+ init_collectfundserror();
66630
67601
  init_collectionpaymentmethodtype();
66631
67602
  init_colorsvalidationerror();
66632
67603
  init_completebankaccountverification();
@@ -66635,6 +67606,7 @@ var init_components = __esm(() => {
66635
67606
  init_contact();
66636
67607
  init_createaccount();
66637
67608
  init_createaccountsettings();
67609
+ init_createaccounttype();
66638
67610
  init_createapplepaysession();
66639
67611
  init_createauthorizeduser();
66640
67612
  init_createauthorizedusererror();
@@ -66669,6 +67641,8 @@ var init_components = __esm(() => {
66669
67641
  init_createscheduledtransferlineitems();
66670
67642
  init_createsweepconfig();
66671
67643
  init_createterminalapplication();
67644
+ init_createticket();
67645
+ init_createticketcontacterror();
66672
67646
  init_createtransfer();
66673
67647
  init_createtransferachaddendarecord();
66674
67648
  init_createtransferdestination();
@@ -66707,8 +67681,10 @@ var init_components = __esm(() => {
66707
67681
  init_enrichedbusinessprofile();
66708
67682
  init_enrichedbusinessresponse();
66709
67683
  init_enrichedindustries();
66710
- init_enrichedindustry();
66711
67684
  init_enrichedindustrycodes();
67685
+ init_entrymode();
67686
+ init_estimatedactivity();
67687
+ init_estimatedactivityerror();
66712
67688
  init_eventtype();
66713
67689
  init_evidencetextresponse();
66714
67690
  init_evidencetype();
@@ -66727,13 +67703,19 @@ var init_components = __esm(() => {
66727
67703
  init_filestatus();
66728
67704
  init_fileuploadrequestmultipart();
66729
67705
  init_financialinstitutions();
67706
+ init_fulfillment();
66730
67707
  init_fulfillmentdetails();
66731
67708
  init_fulfillmentdetailserror();
67709
+ init_fulfillmenterror();
67710
+ init_fulfillmentmethod();
67711
+ init_fulfillmenttimeframe();
66732
67712
  init_fullissuedcard();
66733
67713
  init_generatedby();
67714
+ init_geographicreach();
66734
67715
  init_governmentid();
66735
67716
  init_governmentiderror();
66736
67717
  init_granttype();
67718
+ init_guestprofile();
66737
67719
  init_imagemetadata();
66738
67720
  init_imagemetadatarequest();
66739
67721
  init_imagemetadatavalidationerror();
@@ -66744,6 +67726,7 @@ var init_components = __esm(() => {
66744
67726
  init_individualnameupdate();
66745
67727
  init_individualprofile();
66746
67728
  init_industrycodes();
67729
+ init_industrytaxonomy();
66747
67730
  init_instantpaymentfees();
66748
67731
  init_institutionssearchresponse();
66749
67732
  init_invoicestatus();
@@ -66762,6 +67745,7 @@ var init_components = __esm(() => {
66762
67745
  init_issuingmerchantdata();
66763
67746
  init_issuingvelocitylimit();
66764
67747
  init_issuingvelocitylimiterror();
67748
+ init_itemlistnextpage();
66765
67749
  init_jsonwebkey();
66766
67750
  init_linkaccountterminalapplication();
66767
67751
  init_linkapplepay();
@@ -66778,7 +67762,14 @@ var init_components = __esm(() => {
66778
67762
  init_microdepositstatus();
66779
67763
  init_minimumcommitment();
66780
67764
  init_mode();
67765
+ init_moneytransfer();
67766
+ init_moneytransfererror();
67767
+ init_moneytransferpullfromcard();
67768
+ init_moneytransferpullfromcarderror();
67769
+ init_moneytransferpushtocard();
67770
+ init_moneytransferpushtocarderror();
66781
67771
  init_monthlyplatformfee();
67772
+ init_monthlyvolumerange();
66782
67773
  init_moovfee();
66783
67774
  init_moovfeedetails();
66784
67775
  init_moovwalletpaymentmethod();
@@ -66824,6 +67815,7 @@ var init_components = __esm(() => {
66824
67815
  init_payoutdetailserror();
66825
67816
  init_payoutrecipient();
66826
67817
  init_payoutrecipienterror();
67818
+ init_pendinglitigation();
66827
67819
  init_phonenumber();
66828
67820
  init_phonenumbererror();
66829
67821
  init_pingresponse();
@@ -66851,6 +67843,7 @@ var init_components = __esm(() => {
66851
67843
  init_recurresponse();
66852
67844
  init_refundcarddetails();
66853
67845
  init_refundcardstatus();
67846
+ init_refundpolicy();
66854
67847
  init_refundstatus();
66855
67848
  init_registerapplepaymerchantdomains();
66856
67849
  init_representative();
@@ -66883,11 +67876,22 @@ var init_components = __esm(() => {
66883
67876
  init_scheduleresponse();
66884
67877
  init_seccode();
66885
67878
  init_security2();
67879
+ init_sendfunds();
67880
+ init_sendfundsach();
67881
+ init_sendfundsacherror();
67882
+ init_sendfundserror();
67883
+ init_sendfundsinstantbank();
67884
+ init_sendfundsinstantbankerror();
67885
+ init_sendfundspushtocard();
67886
+ init_sendfundspushtocarderror();
67887
+ init_sendfundsrtp();
67888
+ init_sendfundsrtperror();
66886
67889
  init_sentreceipt();
66887
67890
  init_settings();
66888
67891
  init_sharescopes();
66889
67892
  init_sourcedestinationoptions();
66890
67893
  init_statement();
67894
+ init_submissionintent();
66891
67895
  init_sweep();
66892
67896
  init_sweepconfig();
66893
67897
  init_sweepconfigpaymentmethod();
@@ -66900,12 +67904,16 @@ var init_components = __esm(() => {
66900
67904
  init_terminalapplicationplatform();
66901
67905
  init_terminalapplicationstatus();
66902
67906
  init_terminalapplicationversion();
67907
+ init_terminalcard();
66903
67908
  init_terminalconfiguration();
66904
67909
  init_termsofservice();
66905
67910
  init_termsofserviceerror();
66906
67911
  init_termsofservicepayload();
66907
67912
  init_termsofservicepayloadupdate();
66908
67913
  init_termsofservicetoken();
67914
+ init_ticket();
67915
+ init_ticketcontact();
67916
+ init_ticketmessage();
66909
67917
  init_ticketstatus();
66910
67918
  init_tokentype();
66911
67919
  init_transactionsource();
@@ -66934,15 +67942,20 @@ var init_components = __esm(() => {
66934
67942
  init_updateissuedcardstate();
66935
67943
  init_updatepaymentlink();
66936
67944
  init_updaterepresentative();
67945
+ init_updateticket();
67946
+ init_updateticketstatus();
66937
67947
  init_updateunderwriting();
66938
67948
  init_updatewebhook();
66939
67949
  init_upsertschedule();
67950
+ init_upsertunderwriting();
66940
67951
  init_verification();
66941
67952
  init_verificationstatus();
66942
67953
  init_verificationstatusdetail();
66943
67954
  init_volumebycustomertype();
66944
67955
  init_volumebycustomertypeerror();
66945
67956
  init_volumerange();
67957
+ init_volumesharebycustomertype();
67958
+ init_volumesharebycustomertypeerror();
66946
67959
  init_wallet();
66947
67960
  init_walletavailablebalance();
66948
67961
  init_walletstatus();
@@ -67344,6 +68357,58 @@ var init_createsweepconfigerror = __esm(() => {
67344
68357
  }));
67345
68358
  });
67346
68359
 
68360
+ // src/models/errors/createticketerror.ts
68361
+ var CreateTicketError, CreateTicketError$inboundSchema, CreateTicketError$outboundSchema;
68362
+ var init_createticketerror = __esm(() => {
68363
+ init_esm();
68364
+ init_components();
68365
+ init_mooverror();
68366
+ CreateTicketError = class CreateTicketError extends MoovError {
68367
+ title;
68368
+ author;
68369
+ contact;
68370
+ foreignID;
68371
+ data$;
68372
+ constructor(err, httpMeta) {
68373
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
68374
+ super(message, httpMeta);
68375
+ this.data$ = err;
68376
+ if (err.title != null)
68377
+ this.title = err.title;
68378
+ if (err.author != null)
68379
+ this.author = err.author;
68380
+ if (err.contact != null)
68381
+ this.contact = err.contact;
68382
+ if (err.foreignID != null)
68383
+ this.foreignID = err.foreignID;
68384
+ this.name = "CreateTicketError";
68385
+ }
68386
+ };
68387
+ CreateTicketError$inboundSchema = objectType({
68388
+ title: stringType().optional(),
68389
+ body: stringType().optional(),
68390
+ author: stringType().optional(),
68391
+ contact: CreateTicketContactError$inboundSchema.optional(),
68392
+ foreignID: stringType().optional(),
68393
+ request$: instanceOfType(Request),
68394
+ response$: instanceOfType(Response),
68395
+ body$: stringType()
68396
+ }).transform((v2) => {
68397
+ return new CreateTicketError(v2, {
68398
+ request: v2.request$,
68399
+ response: v2.response$,
68400
+ body: v2.body$
68401
+ });
68402
+ });
68403
+ CreateTicketError$outboundSchema = instanceOfType(CreateTicketError).transform((v2) => v2.data$).pipe(objectType({
68404
+ title: stringType().optional(),
68405
+ body: stringType().optional(),
68406
+ author: stringType().optional(),
68407
+ contact: CreateTicketContactError$outboundSchema.optional(),
68408
+ foreignID: stringType().optional()
68409
+ }));
68410
+ });
68411
+
67347
68412
  // src/models/errors/createwalletvalidationerror.ts
67348
68413
  var CreateWalletValidationError, CreateWalletValidationError$inboundSchema, CreateWalletValidationError$outboundSchema;
67349
68414
  var init_createwalletvalidationerror = __esm(() => {
@@ -69222,6 +70287,40 @@ var init_updatepaymentlinkerror = __esm(() => {
69222
70287
  }));
69223
70288
  });
69224
70289
 
70290
+ // src/models/errors/updateticketerror.ts
70291
+ var UpdateTicketError, UpdateTicketError$inboundSchema, UpdateTicketError$outboundSchema;
70292
+ var init_updateticketerror = __esm(() => {
70293
+ init_esm();
70294
+ init_mooverror();
70295
+ UpdateTicketError = class UpdateTicketError extends MoovError {
70296
+ status;
70297
+ data$;
70298
+ constructor(err, httpMeta) {
70299
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
70300
+ super(message, httpMeta);
70301
+ this.data$ = err;
70302
+ if (err.status != null)
70303
+ this.status = err.status;
70304
+ this.name = "UpdateTicketError";
70305
+ }
70306
+ };
70307
+ UpdateTicketError$inboundSchema = objectType({
70308
+ status: stringType().optional(),
70309
+ request$: instanceOfType(Request),
70310
+ response$: instanceOfType(Response),
70311
+ body$: stringType()
70312
+ }).transform((v2) => {
70313
+ return new UpdateTicketError(v2, {
70314
+ request: v2.request$,
70315
+ response: v2.response$,
70316
+ body: v2.body$
70317
+ });
70318
+ });
70319
+ UpdateTicketError$outboundSchema = instanceOfType(UpdateTicketError).transform((v2) => v2.data$).pipe(objectType({
70320
+ status: stringType().optional()
70321
+ }));
70322
+ });
70323
+
69225
70324
  // src/models/errors/updateunderwritingerror.ts
69226
70325
  var UpdateUnderwritingError, UpdateUnderwritingErrorError$inboundSchema, UpdateUnderwritingErrorError$outboundSchema, UpdateUnderwritingError$inboundSchema, UpdateUnderwritingError$outboundSchema;
69227
70326
  var init_updateunderwritingerror = __esm(() => {
@@ -69321,6 +70420,114 @@ var init_updatewebhookvalidationerror = __esm(() => {
69321
70420
  }));
69322
70421
  });
69323
70422
 
70423
+ // src/models/errors/upsertunderwritingerror.ts
70424
+ var UpsertUnderwritingError, UpsertUnderwritingError$inboundSchema, UpsertUnderwritingError$outboundSchema;
70425
+ var init_upsertunderwritingerror = __esm(() => {
70426
+ init_esm();
70427
+ init_components();
70428
+ init_mooverror();
70429
+ UpsertUnderwritingError = class UpsertUnderwritingError extends MoovError {
70430
+ geographicReach;
70431
+ businessPresence;
70432
+ pendingLitigation;
70433
+ volumeShareByCustomerType;
70434
+ collectFunds;
70435
+ moneyTransfer;
70436
+ sendFunds;
70437
+ averageMonthlyTransactionVolume;
70438
+ error;
70439
+ averageTransactionSize;
70440
+ maxTransactionSize;
70441
+ volumeByCustomerType;
70442
+ cardVolumeDistribution;
70443
+ fulfillment;
70444
+ data$;
70445
+ constructor(err, httpMeta) {
70446
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
70447
+ super(message, httpMeta);
70448
+ this.data$ = err;
70449
+ if (err.geographicReach != null)
70450
+ this.geographicReach = err.geographicReach;
70451
+ if (err.businessPresence != null) {
70452
+ this.businessPresence = err.businessPresence;
70453
+ }
70454
+ if (err.pendingLitigation != null) {
70455
+ this.pendingLitigation = err.pendingLitigation;
70456
+ }
70457
+ if (err.volumeShareByCustomerType != null) {
70458
+ this.volumeShareByCustomerType = err.volumeShareByCustomerType;
70459
+ }
70460
+ if (err.collectFunds != null)
70461
+ this.collectFunds = err.collectFunds;
70462
+ if (err.moneyTransfer != null)
70463
+ this.moneyTransfer = err.moneyTransfer;
70464
+ if (err.sendFunds != null)
70465
+ this.sendFunds = err.sendFunds;
70466
+ if (err.averageMonthlyTransactionVolume != null) {
70467
+ this.averageMonthlyTransactionVolume = err.averageMonthlyTransactionVolume;
70468
+ }
70469
+ if (err.error != null)
70470
+ this.error = err.error;
70471
+ if (err.averageTransactionSize != null) {
70472
+ this.averageTransactionSize = err.averageTransactionSize;
70473
+ }
70474
+ if (err.maxTransactionSize != null) {
70475
+ this.maxTransactionSize = err.maxTransactionSize;
70476
+ }
70477
+ if (err.volumeByCustomerType != null) {
70478
+ this.volumeByCustomerType = err.volumeByCustomerType;
70479
+ }
70480
+ if (err.cardVolumeDistribution != null) {
70481
+ this.cardVolumeDistribution = err.cardVolumeDistribution;
70482
+ }
70483
+ if (err.fulfillment != null)
70484
+ this.fulfillment = err.fulfillment;
70485
+ this.name = "UpsertUnderwritingError";
70486
+ }
70487
+ };
70488
+ UpsertUnderwritingError$inboundSchema = objectType({
70489
+ geographicReach: stringType().optional(),
70490
+ businessPresence: stringType().optional(),
70491
+ pendingLitigation: stringType().optional(),
70492
+ volumeShareByCustomerType: VolumeShareByCustomerTypeError$inboundSchema.optional(),
70493
+ collectFunds: CollectFundsError$inboundSchema.optional(),
70494
+ moneyTransfer: MoneyTransferError$inboundSchema.optional(),
70495
+ sendFunds: SendFundsError$inboundSchema.optional(),
70496
+ averageMonthlyTransactionVolume: stringType().optional(),
70497
+ error: stringType().optional(),
70498
+ averageTransactionSize: stringType().optional(),
70499
+ maxTransactionSize: stringType().optional(),
70500
+ volumeByCustomerType: VolumeByCustomerTypeError$inboundSchema.optional(),
70501
+ cardVolumeDistribution: CardVolumeDistributionError$inboundSchema.optional(),
70502
+ fulfillment: FulfillmentDetailsError$inboundSchema.optional(),
70503
+ request$: instanceOfType(Request),
70504
+ response$: instanceOfType(Response),
70505
+ body$: stringType()
70506
+ }).transform((v2) => {
70507
+ return new UpsertUnderwritingError(v2, {
70508
+ request: v2.request$,
70509
+ response: v2.response$,
70510
+ body: v2.body$
70511
+ });
70512
+ });
70513
+ UpsertUnderwritingError$outboundSchema = instanceOfType(UpsertUnderwritingError).transform((v2) => v2.data$).pipe(objectType({
70514
+ geographicReach: stringType().optional(),
70515
+ businessPresence: stringType().optional(),
70516
+ pendingLitigation: stringType().optional(),
70517
+ volumeShareByCustomerType: VolumeShareByCustomerTypeError$outboundSchema.optional(),
70518
+ collectFunds: CollectFundsError$outboundSchema.optional(),
70519
+ moneyTransfer: MoneyTransferError$outboundSchema.optional(),
70520
+ sendFunds: SendFundsError$outboundSchema.optional(),
70521
+ averageMonthlyTransactionVolume: stringType().optional(),
70522
+ error: stringType().optional(),
70523
+ averageTransactionSize: stringType().optional(),
70524
+ maxTransactionSize: stringType().optional(),
70525
+ volumeByCustomerType: VolumeByCustomerTypeError$outboundSchema.optional(),
70526
+ cardVolumeDistribution: CardVolumeDistributionError$outboundSchema.optional(),
70527
+ fulfillment: FulfillmentDetailsError$outboundSchema.optional()
70528
+ }));
70529
+ });
70530
+
69324
70531
  // src/models/errors/index.ts
69325
70532
  var init_errors4 = __esm(() => {
69326
70533
  init_accountterminalapplicationerror();
@@ -69335,6 +70542,7 @@ var init_errors4 = __esm(() => {
69335
70542
  init_createaccounterror();
69336
70543
  init_createpaymentlinkerror();
69337
70544
  init_createsweepconfigerror();
70545
+ init_createticketerror();
69338
70546
  init_createwalletvalidationerror();
69339
70547
  init_createwebhookvalidationerror();
69340
70548
  init_feeplanagreementerror();
@@ -69372,8 +70580,10 @@ var init_errors4 = __esm(() => {
69372
70580
  init_updatecarderror();
69373
70581
  init_updateissuedcarderror();
69374
70582
  init_updatepaymentlinkerror();
70583
+ init_updateticketerror();
69375
70584
  init_updateunderwritingerror();
69376
70585
  init_updatewebhookvalidationerror();
70586
+ init_upsertunderwritingerror();
69377
70587
  });
69378
70588
 
69379
70589
  // src/models/operations/acceptdispute.ts
@@ -70505,6 +71715,62 @@ var init_createterminalapplicationversion = __esm(() => {
70505
71715
  });
70506
71716
  });
70507
71717
 
71718
+ // src/models/operations/createticket.ts
71719
+ var CreateTicketGlobals$inboundSchema, CreateTicketGlobals$outboundSchema, CreateTicketRequest$inboundSchema, CreateTicketRequest$outboundSchema, CreateTicketResponse$inboundSchema, CreateTicketResponse$outboundSchema;
71720
+ var init_createticket2 = __esm(() => {
71721
+ init_esm();
71722
+ init_primitives();
71723
+ init_components();
71724
+ CreateTicketGlobals$inboundSchema = objectType({
71725
+ "X-Moov-Version": stringType().optional()
71726
+ }).transform((v2) => {
71727
+ return remap(v2, {
71728
+ "X-Moov-Version": "xMoovVersion"
71729
+ });
71730
+ });
71731
+ CreateTicketGlobals$outboundSchema = objectType({
71732
+ xMoovVersion: stringType().optional()
71733
+ }).transform((v2) => {
71734
+ return remap(v2, {
71735
+ xMoovVersion: "X-Moov-Version"
71736
+ });
71737
+ });
71738
+ CreateTicketRequest$inboundSchema = objectType({
71739
+ accountID: stringType(),
71740
+ CreateTicket: CreateTicket$inboundSchema
71741
+ }).transform((v2) => {
71742
+ return remap(v2, {
71743
+ CreateTicket: "createTicket"
71744
+ });
71745
+ });
71746
+ CreateTicketRequest$outboundSchema = objectType({
71747
+ accountID: stringType(),
71748
+ createTicket: CreateTicket$outboundSchema
71749
+ }).transform((v2) => {
71750
+ return remap(v2, {
71751
+ createTicket: "CreateTicket"
71752
+ });
71753
+ });
71754
+ CreateTicketResponse$inboundSchema = objectType({
71755
+ Headers: recordType(arrayType(stringType())).default({}),
71756
+ Result: Ticket$inboundSchema
71757
+ }).transform((v2) => {
71758
+ return remap(v2, {
71759
+ Headers: "headers",
71760
+ Result: "result"
71761
+ });
71762
+ });
71763
+ CreateTicketResponse$outboundSchema = objectType({
71764
+ headers: recordType(arrayType(stringType())),
71765
+ result: Ticket$outboundSchema
71766
+ }).transform((v2) => {
71767
+ return remap(v2, {
71768
+ headers: "Headers",
71769
+ result: "Result"
71770
+ });
71771
+ });
71772
+ });
71773
+
70508
71774
  // src/models/operations/createtransfer.ts
70509
71775
  var CreateTransferGlobals$inboundSchema, CreateTransferGlobals$outboundSchema, CreateTransferRequest$inboundSchema, CreateTransferRequest$outboundSchema, CreateTransferResponseResult$inboundSchema, CreateTransferResponseResult$outboundSchema, CreateTransferResponse$inboundSchema, CreateTransferResponse$outboundSchema;
70510
71776
  var init_createtransfer2 = __esm(() => {
@@ -73291,6 +74557,54 @@ var init_gettermsofservicetoken = __esm(() => {
73291
74557
  });
73292
74558
  });
73293
74559
 
74560
+ // src/models/operations/getticket.ts
74561
+ var GetTicketGlobals$inboundSchema, GetTicketGlobals$outboundSchema, GetTicketRequest$inboundSchema, GetTicketRequest$outboundSchema, GetTicketResponse$inboundSchema, GetTicketResponse$outboundSchema;
74562
+ var init_getticket = __esm(() => {
74563
+ init_esm();
74564
+ init_primitives();
74565
+ init_components();
74566
+ GetTicketGlobals$inboundSchema = objectType({
74567
+ "X-Moov-Version": stringType().optional()
74568
+ }).transform((v2) => {
74569
+ return remap(v2, {
74570
+ "X-Moov-Version": "xMoovVersion"
74571
+ });
74572
+ });
74573
+ GetTicketGlobals$outboundSchema = objectType({
74574
+ xMoovVersion: stringType().optional()
74575
+ }).transform((v2) => {
74576
+ return remap(v2, {
74577
+ xMoovVersion: "X-Moov-Version"
74578
+ });
74579
+ });
74580
+ GetTicketRequest$inboundSchema = objectType({
74581
+ accountID: stringType(),
74582
+ ticketID: stringType()
74583
+ });
74584
+ GetTicketRequest$outboundSchema = objectType({
74585
+ accountID: stringType(),
74586
+ ticketID: stringType()
74587
+ });
74588
+ GetTicketResponse$inboundSchema = objectType({
74589
+ Headers: recordType(arrayType(stringType())).default({}),
74590
+ Result: Ticket$inboundSchema
74591
+ }).transform((v2) => {
74592
+ return remap(v2, {
74593
+ Headers: "headers",
74594
+ Result: "result"
74595
+ });
74596
+ });
74597
+ GetTicketResponse$outboundSchema = objectType({
74598
+ headers: recordType(arrayType(stringType())),
74599
+ result: Ticket$outboundSchema
74600
+ }).transform((v2) => {
74601
+ return remap(v2, {
74602
+ headers: "Headers",
74603
+ result: "Result"
74604
+ });
74605
+ });
74606
+ });
74607
+
73294
74608
  // src/models/operations/gettransfer.ts
73295
74609
  var GetTransferGlobals$inboundSchema, GetTransferGlobals$outboundSchema, GetTransferRequest$inboundSchema, GetTransferRequest$outboundSchema, GetTransferResponse$inboundSchema, GetTransferResponse$outboundSchema;
73296
74610
  var init_gettransfer = __esm(() => {
@@ -74011,7 +75325,7 @@ var init_listaccounts = __esm(() => {
74011
75325
  ListAccountsRequest$inboundSchema = objectType({
74012
75326
  name: stringType().optional(),
74013
75327
  email: stringType().optional(),
74014
- type: AccountType$inboundSchema.optional(),
75328
+ type: CreateAccountType$inboundSchema.optional(),
74015
75329
  foreignID: stringType().optional(),
74016
75330
  includeDisconnected: booleanType().optional(),
74017
75331
  capability: CapabilityID$inboundSchema.optional(),
@@ -74022,7 +75336,7 @@ var init_listaccounts = __esm(() => {
74022
75336
  ListAccountsRequest$outboundSchema = objectType({
74023
75337
  name: stringType().optional(),
74024
75338
  email: stringType().optional(),
74025
- type: AccountType$outboundSchema.optional(),
75339
+ type: CreateAccountType$outboundSchema.optional(),
74026
75340
  foreignID: stringType().optional(),
74027
75341
  includeDisconnected: booleanType().optional(),
74028
75342
  capability: CapabilityID$outboundSchema.optional(),
@@ -74306,7 +75620,7 @@ var init_listconnectedaccountsforaccount = __esm(() => {
74306
75620
  accountID: stringType(),
74307
75621
  name: stringType().optional(),
74308
75622
  email: stringType().optional(),
74309
- type: AccountType$inboundSchema.optional(),
75623
+ type: CreateAccountType$inboundSchema.optional(),
74310
75624
  foreignID: stringType().optional(),
74311
75625
  includeDisconnected: booleanType().optional(),
74312
75626
  capability: CapabilityID$inboundSchema.optional(),
@@ -74318,7 +75632,7 @@ var init_listconnectedaccountsforaccount = __esm(() => {
74318
75632
  accountID: stringType(),
74319
75633
  name: stringType().optional(),
74320
75634
  email: stringType().optional(),
74321
- type: AccountType$outboundSchema.optional(),
75635
+ type: CreateAccountType$outboundSchema.optional(),
74322
75636
  foreignID: stringType().optional(),
74323
75637
  includeDisconnected: booleanType().optional(),
74324
75638
  capability: CapabilityID$outboundSchema.optional(),
@@ -75889,6 +77203,116 @@ var init_listterminalapplications = __esm(() => {
75889
77203
  });
75890
77204
  });
75891
77205
 
77206
+ // src/models/operations/listticketmessages.ts
77207
+ var ListTicketMessagesGlobals$inboundSchema, ListTicketMessagesGlobals$outboundSchema, ListTicketMessagesRequest$inboundSchema, ListTicketMessagesRequest$outboundSchema, ListTicketMessagesResponse$inboundSchema, ListTicketMessagesResponse$outboundSchema;
77208
+ var init_listticketmessages = __esm(() => {
77209
+ init_esm();
77210
+ init_primitives();
77211
+ init_components();
77212
+ ListTicketMessagesGlobals$inboundSchema = objectType({
77213
+ "X-Moov-Version": stringType().optional()
77214
+ }).transform((v2) => {
77215
+ return remap(v2, {
77216
+ "X-Moov-Version": "xMoovVersion"
77217
+ });
77218
+ });
77219
+ ListTicketMessagesGlobals$outboundSchema = objectType({
77220
+ xMoovVersion: stringType().optional()
77221
+ }).transform((v2) => {
77222
+ return remap(v2, {
77223
+ xMoovVersion: "X-Moov-Version"
77224
+ });
77225
+ });
77226
+ ListTicketMessagesRequest$inboundSchema = objectType({
77227
+ accountID: stringType(),
77228
+ ticketID: stringType()
77229
+ });
77230
+ ListTicketMessagesRequest$outboundSchema = objectType({
77231
+ accountID: stringType(),
77232
+ ticketID: stringType()
77233
+ });
77234
+ ListTicketMessagesResponse$inboundSchema = objectType({
77235
+ Headers: recordType(arrayType(stringType())).default({}),
77236
+ Result: arrayType(TicketMessage$inboundSchema)
77237
+ }).transform((v2) => {
77238
+ return remap(v2, {
77239
+ Headers: "headers",
77240
+ Result: "result"
77241
+ });
77242
+ });
77243
+ ListTicketMessagesResponse$outboundSchema = objectType({
77244
+ headers: recordType(arrayType(stringType())),
77245
+ result: arrayType(TicketMessage$outboundSchema)
77246
+ }).transform((v2) => {
77247
+ return remap(v2, {
77248
+ headers: "Headers",
77249
+ result: "Result"
77250
+ });
77251
+ });
77252
+ });
77253
+
77254
+ // src/models/operations/listtickets.ts
77255
+ var ListTicketsGlobals$inboundSchema, ListTicketsGlobals$outboundSchema, ListTicketsRequest$inboundSchema, ListTicketsRequest$outboundSchema, ListTicketsResponseBody$inboundSchema, ListTicketsResponseBody$outboundSchema, ListTicketsResponse$inboundSchema, ListTicketsResponse$outboundSchema;
77256
+ var init_listtickets = __esm(() => {
77257
+ init_esm();
77258
+ init_primitives();
77259
+ init_components();
77260
+ ListTicketsGlobals$inboundSchema = objectType({
77261
+ "X-Moov-Version": stringType().optional()
77262
+ }).transform((v2) => {
77263
+ return remap(v2, {
77264
+ "X-Moov-Version": "xMoovVersion"
77265
+ });
77266
+ });
77267
+ ListTicketsGlobals$outboundSchema = objectType({
77268
+ xMoovVersion: stringType().optional()
77269
+ }).transform((v2) => {
77270
+ return remap(v2, {
77271
+ xMoovVersion: "X-Moov-Version"
77272
+ });
77273
+ });
77274
+ ListTicketsRequest$inboundSchema = objectType({
77275
+ cursor: stringType().optional(),
77276
+ count: numberType().int().optional(),
77277
+ status: TicketStatus$inboundSchema.optional(),
77278
+ foreignID: stringType().optional(),
77279
+ accountID: stringType()
77280
+ });
77281
+ ListTicketsRequest$outboundSchema = objectType({
77282
+ cursor: stringType().optional(),
77283
+ count: numberType().int().optional(),
77284
+ status: TicketStatus$outboundSchema.optional(),
77285
+ foreignID: stringType().optional(),
77286
+ accountID: stringType()
77287
+ });
77288
+ ListTicketsResponseBody$inboundSchema = objectType({
77289
+ items: arrayType(Ticket$inboundSchema),
77290
+ nextPage: ItemListNextPage$inboundSchema.optional()
77291
+ });
77292
+ ListTicketsResponseBody$outboundSchema = objectType({
77293
+ items: arrayType(Ticket$outboundSchema),
77294
+ nextPage: ItemListNextPage$outboundSchema.optional()
77295
+ });
77296
+ ListTicketsResponse$inboundSchema = objectType({
77297
+ Headers: recordType(arrayType(stringType())).default({}),
77298
+ Result: lazyType(() => ListTicketsResponseBody$inboundSchema)
77299
+ }).transform((v2) => {
77300
+ return remap(v2, {
77301
+ Headers: "headers",
77302
+ Result: "result"
77303
+ });
77304
+ });
77305
+ ListTicketsResponse$outboundSchema = objectType({
77306
+ headers: recordType(arrayType(stringType())),
77307
+ result: lazyType(() => ListTicketsResponseBody$outboundSchema)
77308
+ }).transform((v2) => {
77309
+ return remap(v2, {
77310
+ headers: "Headers",
77311
+ result: "Result"
77312
+ });
77313
+ });
77314
+ });
77315
+
75892
77316
  // src/models/operations/listtransfers.ts
75893
77317
  var ListTransfersGlobals$inboundSchema, ListTransfersGlobals$outboundSchema, ListTransfersRequest$inboundSchema, ListTransfersRequest$outboundSchema, ListTransfersResponse$inboundSchema, ListTransfersResponse$outboundSchema;
75894
77318
  var init_listtransfers = __esm(() => {
@@ -76514,6 +77938,62 @@ var init_revokeonboardinginvite = __esm(() => {
76514
77938
  });
76515
77939
  });
76516
77940
 
77941
+ // src/models/operations/saveunderwriting.ts
77942
+ var SaveUnderwritingGlobals$inboundSchema, SaveUnderwritingGlobals$outboundSchema, SaveUnderwritingRequest$inboundSchema, SaveUnderwritingRequest$outboundSchema, SaveUnderwritingResponse$inboundSchema, SaveUnderwritingResponse$outboundSchema;
77943
+ var init_saveunderwriting = __esm(() => {
77944
+ init_esm();
77945
+ init_primitives();
77946
+ init_components();
77947
+ SaveUnderwritingGlobals$inboundSchema = objectType({
77948
+ "X-Moov-Version": stringType().optional()
77949
+ }).transform((v2) => {
77950
+ return remap(v2, {
77951
+ "X-Moov-Version": "xMoovVersion"
77952
+ });
77953
+ });
77954
+ SaveUnderwritingGlobals$outboundSchema = objectType({
77955
+ xMoovVersion: stringType().optional()
77956
+ }).transform((v2) => {
77957
+ return remap(v2, {
77958
+ xMoovVersion: "X-Moov-Version"
77959
+ });
77960
+ });
77961
+ SaveUnderwritingRequest$inboundSchema = objectType({
77962
+ accountID: stringType(),
77963
+ UpsertUnderwriting: UpsertUnderwriting$inboundSchema
77964
+ }).transform((v2) => {
77965
+ return remap(v2, {
77966
+ UpsertUnderwriting: "upsertUnderwriting"
77967
+ });
77968
+ });
77969
+ SaveUnderwritingRequest$outboundSchema = objectType({
77970
+ accountID: stringType(),
77971
+ upsertUnderwriting: UpsertUnderwriting$outboundSchema
77972
+ }).transform((v2) => {
77973
+ return remap(v2, {
77974
+ upsertUnderwriting: "UpsertUnderwriting"
77975
+ });
77976
+ });
77977
+ SaveUnderwritingResponse$inboundSchema = objectType({
77978
+ Headers: recordType(arrayType(stringType())).default({}),
77979
+ Result: Underwriting$inboundSchema
77980
+ }).transform((v2) => {
77981
+ return remap(v2, {
77982
+ Headers: "headers",
77983
+ Result: "result"
77984
+ });
77985
+ });
77986
+ SaveUnderwritingResponse$outboundSchema = objectType({
77987
+ headers: recordType(arrayType(stringType())),
77988
+ result: Underwriting$outboundSchema
77989
+ }).transform((v2) => {
77990
+ return remap(v2, {
77991
+ headers: "Headers",
77992
+ result: "Result"
77993
+ });
77994
+ });
77995
+ });
77996
+
76517
77997
  // src/models/operations/searchinstitutions.ts
76518
77998
  var SearchInstitutionsGlobals$inboundSchema, SearchInstitutionsGlobals$outboundSchema, SearchInstitutionsRequest$inboundSchema, SearchInstitutionsRequest$outboundSchema, SearchInstitutionsResponse$inboundSchema, SearchInstitutionsResponse$outboundSchema;
76519
77999
  var init_searchinstitutions = __esm(() => {
@@ -77333,6 +78813,64 @@ var init_updatesweepconfig = __esm(() => {
77333
78813
  });
77334
78814
  });
77335
78815
 
78816
+ // src/models/operations/updateticket.ts
78817
+ var UpdateTicketGlobals$inboundSchema, UpdateTicketGlobals$outboundSchema, UpdateTicketRequest$inboundSchema, UpdateTicketRequest$outboundSchema, UpdateTicketResponse$inboundSchema, UpdateTicketResponse$outboundSchema;
78818
+ var init_updateticket2 = __esm(() => {
78819
+ init_esm();
78820
+ init_primitives();
78821
+ init_components();
78822
+ UpdateTicketGlobals$inboundSchema = objectType({
78823
+ "X-Moov-Version": stringType().optional()
78824
+ }).transform((v2) => {
78825
+ return remap(v2, {
78826
+ "X-Moov-Version": "xMoovVersion"
78827
+ });
78828
+ });
78829
+ UpdateTicketGlobals$outboundSchema = objectType({
78830
+ xMoovVersion: stringType().optional()
78831
+ }).transform((v2) => {
78832
+ return remap(v2, {
78833
+ xMoovVersion: "X-Moov-Version"
78834
+ });
78835
+ });
78836
+ UpdateTicketRequest$inboundSchema = objectType({
78837
+ accountID: stringType(),
78838
+ ticketID: stringType(),
78839
+ UpdateTicket: UpdateTicket$inboundSchema
78840
+ }).transform((v2) => {
78841
+ return remap(v2, {
78842
+ UpdateTicket: "updateTicket"
78843
+ });
78844
+ });
78845
+ UpdateTicketRequest$outboundSchema = objectType({
78846
+ accountID: stringType(),
78847
+ ticketID: stringType(),
78848
+ updateTicket: UpdateTicket$outboundSchema
78849
+ }).transform((v2) => {
78850
+ return remap(v2, {
78851
+ updateTicket: "UpdateTicket"
78852
+ });
78853
+ });
78854
+ UpdateTicketResponse$inboundSchema = objectType({
78855
+ Headers: recordType(arrayType(stringType())).default({}),
78856
+ Result: Ticket$inboundSchema
78857
+ }).transform((v2) => {
78858
+ return remap(v2, {
78859
+ Headers: "headers",
78860
+ Result: "result"
78861
+ });
78862
+ });
78863
+ UpdateTicketResponse$outboundSchema = objectType({
78864
+ headers: recordType(arrayType(stringType())),
78865
+ result: Ticket$outboundSchema
78866
+ }).transform((v2) => {
78867
+ return remap(v2, {
78868
+ headers: "Headers",
78869
+ result: "Result"
78870
+ });
78871
+ });
78872
+ });
78873
+
77336
78874
  // src/models/operations/updatetransfer.ts
77337
78875
  var UpdateTransferGlobals$inboundSchema, UpdateTransferGlobals$outboundSchema, UpdateTransferRequest$inboundSchema, UpdateTransferRequest$outboundSchema, UpdateTransferResponse$inboundSchema, UpdateTransferResponse$outboundSchema;
77338
78876
  var init_updatetransfer = __esm(() => {
@@ -77791,7 +79329,7 @@ var init_upsertbrand = __esm(() => {
77791
79329
 
77792
79330
  // src/models/operations/upsertunderwriting.ts
77793
79331
  var UpsertUnderwritingGlobals$inboundSchema, UpsertUnderwritingGlobals$outboundSchema, UpsertUnderwritingRequest$inboundSchema, UpsertUnderwritingRequest$outboundSchema, UpsertUnderwritingResponse$inboundSchema, UpsertUnderwritingResponse$outboundSchema;
77794
- var init_upsertunderwriting = __esm(() => {
79332
+ var init_upsertunderwriting2 = __esm(() => {
77795
79333
  init_esm();
77796
79334
  init_primitives();
77797
79335
  init_components();
@@ -77869,6 +79407,7 @@ var init_operations = __esm(() => {
77869
79407
  init_createsweepconfig2();
77870
79408
  init_createterminalapplication2();
77871
79409
  init_createterminalapplicationversion();
79410
+ init_createticket2();
77872
79411
  init_createtransfer2();
77873
79412
  init_createtransferoptions2();
77874
79413
  init_createwallet2();
@@ -77926,6 +79465,7 @@ var init_operations = __esm(() => {
77926
79465
  init_getterminalapplication();
77927
79466
  init_getterminalconfiguration();
77928
79467
  init_gettermsofservicetoken();
79468
+ init_getticket();
77929
79469
  init_gettransfer();
77930
79470
  init_getunderwriting();
77931
79471
  init_getwallet();
@@ -77976,6 +79516,8 @@ var init_operations = __esm(() => {
77976
79516
  init_listsweepconfigs();
77977
79517
  init_listsweeps();
77978
79518
  init_listterminalapplications();
79519
+ init_listticketmessages();
79520
+ init_listtickets();
77979
79521
  init_listtransfers();
77980
79522
  init_listwallets();
77981
79523
  init_listwallettransactions();
@@ -77988,6 +79530,7 @@ var init_operations = __esm(() => {
77988
79530
  init_retrievefees();
77989
79531
  init_revokeaccesstoken();
77990
79532
  init_revokeonboardinginvite();
79533
+ init_saveunderwriting();
77991
79534
  init_searchinstitutions();
77992
79535
  init_submitdisputeevidence();
77993
79536
  init_testendtoendtoken();
@@ -78003,6 +79546,7 @@ var init_operations = __esm(() => {
78003
79546
  init_updaterepresentative2();
78004
79547
  init_updateschedule();
78005
79548
  init_updatesweepconfig();
79549
+ init_updateticket2();
78006
79550
  init_updatetransfer();
78007
79551
  init_updatewallet();
78008
79552
  init_updatewebhook2();
@@ -78011,7 +79555,7 @@ var init_operations = __esm(() => {
78011
79555
  init_uploadfile();
78012
79556
  init_uploadimage();
78013
79557
  init_upsertbrand();
78014
- init_upsertunderwriting();
79558
+ init_upsertunderwriting2();
78015
79559
  });
78016
79560
 
78017
79561
  // src/types/async.ts
@@ -93400,24 +94944,24 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
93400
94944
  };
93401
94945
  });
93402
94946
 
93403
- // src/funcs/sweepsCreateConfig.ts
93404
- function sweepsCreateConfig(client, request, options) {
94947
+ // src/funcs/supportCreateTicket.ts
94948
+ function supportCreateTicket(client, request, options) {
93405
94949
  return new APIPromise($do128(client, request, options));
93406
94950
  }
93407
94951
  async function $do128(client, request, options) {
93408
- const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
94952
+ const parsed = safeParse4(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
93409
94953
  if (!parsed.ok) {
93410
94954
  return [parsed, { status: "invalid" }];
93411
94955
  }
93412
94956
  const payload = parsed.value;
93413
- const body = encodeJSON("body", payload.CreateSweepConfig, { explode: true });
94957
+ const body = encodeJSON("body", payload.CreateTicket, { explode: true });
93414
94958
  const pathParams = {
93415
94959
  accountID: encodeSimple("accountID", payload.accountID, {
93416
94960
  explode: false,
93417
94961
  charEncoding: "percent"
93418
94962
  })
93419
94963
  };
93420
- const path = pathToFunc("/accounts/{accountID}/sweep-configs")(pathParams);
94964
+ const path = pathToFunc("/accounts/{accountID}/tickets")(pathParams);
93421
94965
  const headers = new Headers(compactMap({
93422
94966
  "Content-Type": "application/json",
93423
94967
  Accept: "application/json",
@@ -93428,7 +94972,7 @@ async function $do128(client, request, options) {
93428
94972
  const context = {
93429
94973
  options: client._options,
93430
94974
  baseURL: options?.serverURL ?? client._baseURL ?? "",
93431
- operationID: "createSweepConfig",
94975
+ operationID: "createTicket",
93432
94976
  oAuth2Scopes: null,
93433
94977
  resolvedSecurity: requestSecurity,
93434
94978
  securitySource: client._options.security,
@@ -93474,16 +95018,16 @@ async function $do128(client, request, options) {
93474
95018
  const responseFields = {
93475
95019
  HttpMeta: { Response: response, Request: req }
93476
95020
  };
93477
- const [result] = await match(json(200, CreateSweepConfigResponse$inboundSchema, {
95021
+ const [result] = await match(json(200, CreateTicketResponse$inboundSchema, {
93478
95022
  hdrs: true,
93479
95023
  key: "Result"
93480
- }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, CreateSweepConfigError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
95024
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, CreateTicketError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
93481
95025
  if (!result.ok) {
93482
95026
  return [result, { status: "complete", request: req, response }];
93483
95027
  }
93484
95028
  return [result, { status: "complete", request: req, response }];
93485
95029
  }
93486
- var init_sweepsCreateConfig = __esm(() => {
95030
+ var init_supportCreateTicket = __esm(() => {
93487
95031
  init_encodings();
93488
95032
  init_matchers();
93489
95033
  init_primitives();
@@ -93495,24 +95039,27 @@ var init_sweepsCreateConfig = __esm(() => {
93495
95039
  init_async();
93496
95040
  });
93497
95041
 
93498
- // src/mcp-server/tools/sweepsCreateConfig.ts
93499
- var args128, tool$sweepsCreateConfig;
93500
- var init_sweepsCreateConfig2 = __esm(() => {
93501
- init_sweepsCreateConfig();
95042
+ // src/mcp-server/tools/supportCreateTicket.ts
95043
+ var args128, tool$supportCreateTicket;
95044
+ var init_supportCreateTicket2 = __esm(() => {
95045
+ init_supportCreateTicket();
93502
95046
  init_operations();
93503
95047
  init_tools();
93504
95048
  args128 = {
93505
- request: CreateSweepConfigRequest$inboundSchema
95049
+ request: CreateTicketRequest$inboundSchema
93506
95050
  };
93507
- tool$sweepsCreateConfig = {
93508
- name: "sweeps-create-config",
93509
- description: `Create a sweep config for a wallet.
95051
+ tool$supportCreateTicket = {
95052
+ name: "support-create-ticket",
95053
+ description: `Create a support ticket for a Moov account.
93510
95054
 
93511
95055
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
93512
- you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
95056
+ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
95057
+
95058
+ If you're creating the ticket on behalf of another account, then you'll need to
95059
+ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
93513
95060
  args: args128,
93514
95061
  tool: async (client, args129, ctx) => {
93515
- const [result, apiCall] = await sweepsCreateConfig(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95062
+ const [result, apiCall] = await supportCreateTicket(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
93516
95063
  if (!result.ok) {
93517
95064
  return {
93518
95065
  content: [{ type: "text", text: result.error.message }],
@@ -93525,12 +95072,12 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
93525
95072
  };
93526
95073
  });
93527
95074
 
93528
- // src/funcs/sweepsGet.ts
93529
- function sweepsGet(client, request, options) {
95075
+ // src/funcs/supportGetTicket.ts
95076
+ function supportGetTicket(client, request, options) {
93530
95077
  return new APIPromise($do129(client, request, options));
93531
95078
  }
93532
95079
  async function $do129(client, request, options) {
93533
- const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
95080
+ const parsed = safeParse4(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
93534
95081
  if (!parsed.ok) {
93535
95082
  return [parsed, { status: "invalid" }];
93536
95083
  }
@@ -93541,16 +95088,12 @@ async function $do129(client, request, options) {
93541
95088
  explode: false,
93542
95089
  charEncoding: "percent"
93543
95090
  }),
93544
- sweepID: encodeSimple("sweepID", payload.sweepID, {
93545
- explode: false,
93546
- charEncoding: "percent"
93547
- }),
93548
- walletID: encodeSimple("walletID", payload.walletID, {
95091
+ ticketID: encodeSimple("ticketID", payload.ticketID, {
93549
95092
  explode: false,
93550
95093
  charEncoding: "percent"
93551
95094
  })
93552
95095
  };
93553
- const path = pathToFunc("/accounts/{accountID}/wallets/{walletID}/sweeps/{sweepID}")(pathParams);
95096
+ const path = pathToFunc("/accounts/{accountID}/tickets/{ticketID}")(pathParams);
93554
95097
  const headers = new Headers(compactMap({
93555
95098
  Accept: "application/json",
93556
95099
  "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
@@ -93560,7 +95103,7 @@ async function $do129(client, request, options) {
93560
95103
  const context = {
93561
95104
  options: client._options,
93562
95105
  baseURL: options?.serverURL ?? client._baseURL ?? "",
93563
- operationID: "getSweep",
95106
+ operationID: "getTicket",
93564
95107
  oAuth2Scopes: null,
93565
95108
  resolvedSecurity: requestSecurity,
93566
95109
  securitySource: client._options.security,
@@ -93594,7 +95137,7 @@ async function $do129(client, request, options) {
93594
95137
  const responseFields = {
93595
95138
  HttpMeta: { Response: response, Request: req }
93596
95139
  };
93597
- const [result] = await match(json(200, GetSweepResponse$inboundSchema, {
95140
+ const [result] = await match(json(200, GetTicketResponse$inboundSchema, {
93598
95141
  hdrs: true,
93599
95142
  key: "Result"
93600
95143
  }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
@@ -93603,7 +95146,7 @@ async function $do129(client, request, options) {
93603
95146
  }
93604
95147
  return [result, { status: "complete", request: req, response }];
93605
95148
  }
93606
- var init_sweepsGet = __esm(() => {
95149
+ var init_supportGetTicket = __esm(() => {
93607
95150
  init_encodings();
93608
95151
  init_matchers();
93609
95152
  init_primitives();
@@ -93614,24 +95157,27 @@ var init_sweepsGet = __esm(() => {
93614
95157
  init_async();
93615
95158
  });
93616
95159
 
93617
- // src/mcp-server/tools/sweepsGet.ts
93618
- var args129, tool$sweepsGet;
93619
- var init_sweepsGet2 = __esm(() => {
93620
- init_sweepsGet();
95160
+ // src/mcp-server/tools/supportGetTicket.ts
95161
+ var args129, tool$supportGetTicket;
95162
+ var init_supportGetTicket2 = __esm(() => {
95163
+ init_supportGetTicket();
93621
95164
  init_operations();
93622
95165
  init_tools();
93623
95166
  args129 = {
93624
- request: GetSweepRequest$inboundSchema
95167
+ request: GetTicketRequest$inboundSchema
93625
95168
  };
93626
- tool$sweepsGet = {
93627
- name: "sweeps-get",
93628
- description: `Get details on a specific sweep.
95169
+ tool$supportGetTicket = {
95170
+ name: "support-get-ticket",
95171
+ description: `Retrieve a support ticket by ID.
93629
95172
 
93630
95173
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
93631
- you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
95174
+ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
95175
+
95176
+ If you're retrieving another account's ticket, then you'll need to
95177
+ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
93632
95178
  args: args129,
93633
95179
  tool: async (client, args130, ctx) => {
93634
- const [result, apiCall] = await sweepsGet(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95180
+ const [result, apiCall] = await supportGetTicket(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
93635
95181
  if (!result.ok) {
93636
95182
  return {
93637
95183
  content: [{ type: "text", text: result.error.message }],
@@ -93644,12 +95190,12 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
93644
95190
  };
93645
95191
  });
93646
95192
 
93647
- // src/funcs/sweepsGetConfig.ts
93648
- function sweepsGetConfig(client, request, options) {
95193
+ // src/funcs/supportListTicketMessages.ts
95194
+ function supportListTicketMessages(client, request, options) {
93649
95195
  return new APIPromise($do130(client, request, options));
93650
95196
  }
93651
95197
  async function $do130(client, request, options) {
93652
- const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
95198
+ const parsed = safeParse4(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
93653
95199
  if (!parsed.ok) {
93654
95200
  return [parsed, { status: "invalid" }];
93655
95201
  }
@@ -93660,12 +95206,12 @@ async function $do130(client, request, options) {
93660
95206
  explode: false,
93661
95207
  charEncoding: "percent"
93662
95208
  }),
93663
- sweepConfigID: encodeSimple("sweepConfigID", payload.sweepConfigID, {
95209
+ ticketID: encodeSimple("ticketID", payload.ticketID, {
93664
95210
  explode: false,
93665
95211
  charEncoding: "percent"
93666
95212
  })
93667
95213
  };
93668
- const path = pathToFunc("/accounts/{accountID}/sweep-configs/{sweepConfigID}")(pathParams);
95214
+ const path = pathToFunc("/accounts/{accountID}/tickets/{ticketID}/messages")(pathParams);
93669
95215
  const headers = new Headers(compactMap({
93670
95216
  Accept: "application/json",
93671
95217
  "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
@@ -93675,7 +95221,7 @@ async function $do130(client, request, options) {
93675
95221
  const context = {
93676
95222
  options: client._options,
93677
95223
  baseURL: options?.serverURL ?? client._baseURL ?? "",
93678
- operationID: "getSweepConfig",
95224
+ operationID: "listTicketMessages",
93679
95225
  oAuth2Scopes: null,
93680
95226
  resolvedSecurity: requestSecurity,
93681
95227
  securitySource: client._options.security,
@@ -93698,7 +95244,7 @@ async function $do130(client, request, options) {
93698
95244
  const req = requestRes.value;
93699
95245
  const doResult = await client._do(req, {
93700
95246
  context,
93701
- errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
95247
+ errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
93702
95248
  retryConfig: context.retryConfig,
93703
95249
  retryCodes: context.retryCodes
93704
95250
  });
@@ -93709,16 +95255,16 @@ async function $do130(client, request, options) {
93709
95255
  const responseFields = {
93710
95256
  HttpMeta: { Response: response, Request: req }
93711
95257
  };
93712
- const [result] = await match(json(200, GetSweepConfigResponse$inboundSchema, {
95258
+ const [result] = await match(json(200, ListTicketMessagesResponse$inboundSchema, {
93713
95259
  hdrs: true,
93714
95260
  key: "Result"
93715
- }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
95261
+ }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
93716
95262
  if (!result.ok) {
93717
95263
  return [result, { status: "complete", request: req, response }];
93718
95264
  }
93719
95265
  return [result, { status: "complete", request: req, response }];
93720
95266
  }
93721
- var init_sweepsGetConfig = __esm(() => {
95267
+ var init_supportListTicketMessages = __esm(() => {
93722
95268
  init_encodings();
93723
95269
  init_matchers();
93724
95270
  init_primitives();
@@ -93729,24 +95275,27 @@ var init_sweepsGetConfig = __esm(() => {
93729
95275
  init_async();
93730
95276
  });
93731
95277
 
93732
- // src/mcp-server/tools/sweepsGetConfig.ts
93733
- var args130, tool$sweepsGetConfig;
93734
- var init_sweepsGetConfig2 = __esm(() => {
93735
- init_sweepsGetConfig();
95278
+ // src/mcp-server/tools/supportListTicketMessages.ts
95279
+ var args130, tool$supportListTicketMessages;
95280
+ var init_supportListTicketMessages2 = __esm(() => {
95281
+ init_supportListTicketMessages();
93736
95282
  init_operations();
93737
95283
  init_tools();
93738
95284
  args130 = {
93739
- request: GetSweepConfigRequest$inboundSchema
95285
+ request: ListTicketMessagesRequest$inboundSchema
93740
95286
  };
93741
- tool$sweepsGetConfig = {
93742
- name: "sweeps-get-config",
93743
- description: `Get a sweep config associated with a wallet.
95287
+ tool$supportListTicketMessages = {
95288
+ name: "support-list-ticket-messages",
95289
+ description: `List all the messages for a support ticket.
93744
95290
 
93745
95291
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
93746
- you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
95292
+ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
95293
+
95294
+ If you're listing another account's messages, then you'll need to
95295
+ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
93747
95296
  args: args130,
93748
95297
  tool: async (client, args131, ctx) => {
93749
- const [result, apiCall] = await sweepsGetConfig(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95298
+ const [result, apiCall] = await supportListTicketMessages(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
93750
95299
  if (!result.ok) {
93751
95300
  return {
93752
95301
  content: [{ type: "text", text: result.error.message }],
@@ -93759,12 +95308,12 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
93759
95308
  };
93760
95309
  });
93761
95310
 
93762
- // src/funcs/sweepsList.ts
93763
- function sweepsList(client, request, options) {
95311
+ // src/funcs/supportListTickets.ts
95312
+ function supportListTickets(client, request, options) {
93764
95313
  return new APIPromise($do131(client, request, options));
93765
95314
  }
93766
95315
  async function $do131(client, request, options) {
93767
- const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
95316
+ const parsed = safeParse4(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
93768
95317
  if (!parsed.ok) {
93769
95318
  return [parsed, { status: "invalid" }];
93770
95319
  }
@@ -93774,17 +95323,13 @@ async function $do131(client, request, options) {
93774
95323
  accountID: encodeSimple("accountID", payload.accountID, {
93775
95324
  explode: false,
93776
95325
  charEncoding: "percent"
93777
- }),
93778
- walletID: encodeSimple("walletID", payload.walletID, {
93779
- explode: false,
93780
- charEncoding: "percent"
93781
95326
  })
93782
95327
  };
93783
- const path = pathToFunc("/accounts/{accountID}/wallets/{walletID}/sweeps")(pathParams);
95328
+ const path = pathToFunc("/accounts/{accountID}/tickets")(pathParams);
93784
95329
  const query = encodeFormQuery({
93785
95330
  count: payload.count,
93786
- skip: payload.skip,
93787
- statementDescriptor: payload.statementDescriptor,
95331
+ cursor: payload.cursor,
95332
+ foreignID: payload.foreignID,
93788
95333
  status: payload.status
93789
95334
  }, { explode: false });
93790
95335
  const headers = new Headers(compactMap({
@@ -93796,7 +95341,7 @@ async function $do131(client, request, options) {
93796
95341
  const context = {
93797
95342
  options: client._options,
93798
95343
  baseURL: options?.serverURL ?? client._baseURL ?? "",
93799
- operationID: "listSweeps",
95344
+ operationID: "listTickets",
93800
95345
  oAuth2Scopes: null,
93801
95346
  resolvedSecurity: requestSecurity,
93802
95347
  securitySource: client._options.security,
@@ -93831,7 +95376,7 @@ async function $do131(client, request, options) {
93831
95376
  const responseFields = {
93832
95377
  HttpMeta: { Response: response, Request: req }
93833
95378
  };
93834
- const [result] = await match(json(200, ListSweepsResponse$inboundSchema, {
95379
+ const [result] = await match(json(200, ListTicketsResponse$inboundSchema, {
93835
95380
  hdrs: true,
93836
95381
  key: "Result"
93837
95382
  }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
@@ -93840,7 +95385,7 @@ async function $do131(client, request, options) {
93840
95385
  }
93841
95386
  return [result, { status: "complete", request: req, response }];
93842
95387
  }
93843
- var init_sweepsList = __esm(() => {
95388
+ var init_supportListTickets = __esm(() => {
93844
95389
  init_encodings();
93845
95390
  init_matchers();
93846
95391
  init_primitives();
@@ -93851,24 +95396,27 @@ var init_sweepsList = __esm(() => {
93851
95396
  init_async();
93852
95397
  });
93853
95398
 
93854
- // src/mcp-server/tools/sweepsList.ts
93855
- var args131, tool$sweepsList;
93856
- var init_sweepsList2 = __esm(() => {
93857
- init_sweepsList();
95399
+ // src/mcp-server/tools/supportListTickets.ts
95400
+ var args131, tool$supportListTickets;
95401
+ var init_supportListTickets2 = __esm(() => {
95402
+ init_supportListTickets();
93858
95403
  init_operations();
93859
95404
  init_tools();
93860
95405
  args131 = {
93861
- request: ListSweepsRequest$inboundSchema
95406
+ request: ListTicketsRequest$inboundSchema
93862
95407
  };
93863
- tool$sweepsList = {
93864
- name: "sweeps-list",
93865
- description: `List sweeps associated with a wallet.
95408
+ tool$supportListTickets = {
95409
+ name: "support-list-tickets",
95410
+ description: `List all the support tickets created under a Moov account.
93866
95411
 
93867
95412
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
93868
- you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
95413
+ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
95414
+
95415
+ If you're listing another account's tickets, then you'll need to
95416
+ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
93869
95417
  args: args131,
93870
95418
  tool: async (client, args132, ctx) => {
93871
- const [result, apiCall] = await sweepsList(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95419
+ const [result, apiCall] = await supportListTickets(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
93872
95420
  if (!result.ok) {
93873
95421
  return {
93874
95422
  content: [{ type: "text", text: result.error.message }],
@@ -93881,139 +95429,28 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
93881
95429
  };
93882
95430
  });
93883
95431
 
93884
- // src/funcs/sweepsListConfigs.ts
93885
- function sweepsListConfigs(client, request, options) {
95432
+ // src/funcs/supportUpdateTicket.ts
95433
+ function supportUpdateTicket(client, request, options) {
93886
95434
  return new APIPromise($do132(client, request, options));
93887
95435
  }
93888
95436
  async function $do132(client, request, options) {
93889
- const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
95437
+ const parsed = safeParse4(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
93890
95438
  if (!parsed.ok) {
93891
95439
  return [parsed, { status: "invalid" }];
93892
95440
  }
93893
95441
  const payload = parsed.value;
93894
- const body = null;
93895
- const pathParams = {
93896
- accountID: encodeSimple("accountID", payload.accountID, {
93897
- explode: false,
93898
- charEncoding: "percent"
93899
- })
93900
- };
93901
- const path = pathToFunc("/accounts/{accountID}/sweep-configs")(pathParams);
93902
- const headers = new Headers(compactMap({
93903
- Accept: "application/json",
93904
- "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
93905
- }));
93906
- const securityInput = await extractSecurity(client._options.security);
93907
- const requestSecurity = resolveGlobalSecurity(securityInput);
93908
- const context = {
93909
- options: client._options,
93910
- baseURL: options?.serverURL ?? client._baseURL ?? "",
93911
- operationID: "listSweepConfigs",
93912
- oAuth2Scopes: null,
93913
- resolvedSecurity: requestSecurity,
93914
- securitySource: client._options.security,
93915
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
93916
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
93917
- };
93918
- const requestRes = client._createRequest(context, {
93919
- security: requestSecurity,
93920
- method: "GET",
93921
- baseURL: options?.serverURL,
93922
- path,
93923
- headers,
93924
- body,
93925
- userAgent: client._options.userAgent,
93926
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
93927
- }, options);
93928
- if (!requestRes.ok) {
93929
- return [requestRes, { status: "invalid" }];
93930
- }
93931
- const req = requestRes.value;
93932
- const doResult = await client._do(req, {
93933
- context,
93934
- errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
93935
- retryConfig: context.retryConfig,
93936
- retryCodes: context.retryCodes
93937
- });
93938
- if (!doResult.ok) {
93939
- return [doResult, { status: "request-error", request: req }];
93940
- }
93941
- const response = doResult.value;
93942
- const responseFields = {
93943
- HttpMeta: { Response: response, Request: req }
93944
- };
93945
- const [result] = await match(json(200, ListSweepConfigsResponse$inboundSchema, {
93946
- hdrs: true,
93947
- key: "Result"
93948
- }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
93949
- if (!result.ok) {
93950
- return [result, { status: "complete", request: req, response }];
93951
- }
93952
- return [result, { status: "complete", request: req, response }];
93953
- }
93954
- var init_sweepsListConfigs = __esm(() => {
93955
- init_encodings();
93956
- init_matchers();
93957
- init_primitives();
93958
- init_schemas4();
93959
- init_security();
93960
- init_url();
93961
- init_operations();
93962
- init_async();
93963
- });
93964
-
93965
- // src/mcp-server/tools/sweepsListConfigs.ts
93966
- var args132, tool$sweepsListConfigs;
93967
- var init_sweepsListConfigs2 = __esm(() => {
93968
- init_sweepsListConfigs();
93969
- init_operations();
93970
- init_tools();
93971
- args132 = {
93972
- request: ListSweepConfigsRequest$inboundSchema
93973
- };
93974
- tool$sweepsListConfigs = {
93975
- name: "sweeps-list-configs",
93976
- description: `List sweep configs associated with an account.
93977
-
93978
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
93979
- you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
93980
- args: args132,
93981
- tool: async (client, args133, ctx) => {
93982
- const [result, apiCall] = await sweepsListConfigs(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
93983
- if (!result.ok) {
93984
- return {
93985
- content: [{ type: "text", text: result.error.message }],
93986
- isError: true
93987
- };
93988
- }
93989
- const value = result.value.result;
93990
- return formatResult(value, apiCall);
93991
- }
93992
- };
93993
- });
93994
-
93995
- // src/funcs/sweepsUpdateConfig.ts
93996
- function sweepsUpdateConfig(client, request, options) {
93997
- return new APIPromise($do133(client, request, options));
93998
- }
93999
- async function $do133(client, request, options) {
94000
- const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
94001
- if (!parsed.ok) {
94002
- return [parsed, { status: "invalid" }];
94003
- }
94004
- const payload = parsed.value;
94005
- const body = encodeJSON("body", payload.PatchSweepConfig, { explode: true });
95442
+ const body = encodeJSON("body", payload.UpdateTicket, { explode: true });
94006
95443
  const pathParams = {
94007
95444
  accountID: encodeSimple("accountID", payload.accountID, {
94008
95445
  explode: false,
94009
95446
  charEncoding: "percent"
94010
95447
  }),
94011
- sweepConfigID: encodeSimple("sweepConfigID", payload.sweepConfigID, {
95448
+ ticketID: encodeSimple("ticketID", payload.ticketID, {
94012
95449
  explode: false,
94013
95450
  charEncoding: "percent"
94014
95451
  })
94015
95452
  };
94016
- const path = pathToFunc("/accounts/{accountID}/sweep-configs/{sweepConfigID}")(pathParams);
95453
+ const path = pathToFunc("/accounts/{accountID}/tickets/{ticketID}")(pathParams);
94017
95454
  const headers = new Headers(compactMap({
94018
95455
  "Content-Type": "application/json",
94019
95456
  Accept: "application/json",
@@ -94024,7 +95461,731 @@ async function $do133(client, request, options) {
94024
95461
  const context = {
94025
95462
  options: client._options,
94026
95463
  baseURL: options?.serverURL ?? client._baseURL ?? "",
94027
- operationID: "updateSweepConfig",
95464
+ operationID: "updateTicket",
95465
+ oAuth2Scopes: null,
95466
+ resolvedSecurity: requestSecurity,
95467
+ securitySource: client._options.security,
95468
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
95469
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
95470
+ };
95471
+ const requestRes = client._createRequest(context, {
95472
+ security: requestSecurity,
95473
+ method: "PATCH",
95474
+ baseURL: options?.serverURL,
95475
+ path,
95476
+ headers,
95477
+ body,
95478
+ userAgent: client._options.userAgent,
95479
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
95480
+ }, options);
95481
+ if (!requestRes.ok) {
95482
+ return [requestRes, { status: "invalid" }];
95483
+ }
95484
+ const req = requestRes.value;
95485
+ const doResult = await client._do(req, {
95486
+ context,
95487
+ errorCodes: [
95488
+ "400",
95489
+ "401",
95490
+ "403",
95491
+ "404",
95492
+ "409",
95493
+ "422",
95494
+ "429",
95495
+ "4XX",
95496
+ "500",
95497
+ "504",
95498
+ "5XX"
95499
+ ],
95500
+ retryConfig: context.retryConfig,
95501
+ retryCodes: context.retryCodes
95502
+ });
95503
+ if (!doResult.ok) {
95504
+ return [doResult, { status: "request-error", request: req }];
95505
+ }
95506
+ const response = doResult.value;
95507
+ const responseFields = {
95508
+ HttpMeta: { Response: response, Request: req }
95509
+ };
95510
+ const [result] = await match(json(200, UpdateTicketResponse$inboundSchema, {
95511
+ hdrs: true,
95512
+ key: "Result"
95513
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, UpdateTicketError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
95514
+ if (!result.ok) {
95515
+ return [result, { status: "complete", request: req, response }];
95516
+ }
95517
+ return [result, { status: "complete", request: req, response }];
95518
+ }
95519
+ var init_supportUpdateTicket = __esm(() => {
95520
+ init_encodings();
95521
+ init_matchers();
95522
+ init_primitives();
95523
+ init_schemas4();
95524
+ init_security();
95525
+ init_url();
95526
+ init_errors4();
95527
+ init_operations();
95528
+ init_async();
95529
+ });
95530
+
95531
+ // src/mcp-server/tools/supportUpdateTicket.ts
95532
+ var args132, tool$supportUpdateTicket;
95533
+ var init_supportUpdateTicket2 = __esm(() => {
95534
+ init_supportUpdateTicket();
95535
+ init_operations();
95536
+ init_tools();
95537
+ args132 = {
95538
+ request: UpdateTicketRequest$inboundSchema
95539
+ };
95540
+ tool$supportUpdateTicket = {
95541
+ name: "support-update-ticket",
95542
+ description: `Updates a support ticket.
95543
+
95544
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95545
+ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
95546
+
95547
+ If you're updating the ticket on behalf of another account, then you'll need to
95548
+ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
95549
+ args: args132,
95550
+ tool: async (client, args133, ctx) => {
95551
+ const [result, apiCall] = await supportUpdateTicket(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95552
+ if (!result.ok) {
95553
+ return {
95554
+ content: [{ type: "text", text: result.error.message }],
95555
+ isError: true
95556
+ };
95557
+ }
95558
+ const value = result.value.result;
95559
+ return formatResult(value, apiCall);
95560
+ }
95561
+ };
95562
+ });
95563
+
95564
+ // src/funcs/sweepsCreateConfig.ts
95565
+ function sweepsCreateConfig(client, request, options) {
95566
+ return new APIPromise($do133(client, request, options));
95567
+ }
95568
+ async function $do133(client, request, options) {
95569
+ const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
95570
+ if (!parsed.ok) {
95571
+ return [parsed, { status: "invalid" }];
95572
+ }
95573
+ const payload = parsed.value;
95574
+ const body = encodeJSON("body", payload.CreateSweepConfig, { explode: true });
95575
+ const pathParams = {
95576
+ accountID: encodeSimple("accountID", payload.accountID, {
95577
+ explode: false,
95578
+ charEncoding: "percent"
95579
+ })
95580
+ };
95581
+ const path = pathToFunc("/accounts/{accountID}/sweep-configs")(pathParams);
95582
+ const headers = new Headers(compactMap({
95583
+ "Content-Type": "application/json",
95584
+ Accept: "application/json",
95585
+ "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
95586
+ }));
95587
+ const securityInput = await extractSecurity(client._options.security);
95588
+ const requestSecurity = resolveGlobalSecurity(securityInput);
95589
+ const context = {
95590
+ options: client._options,
95591
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
95592
+ operationID: "createSweepConfig",
95593
+ oAuth2Scopes: null,
95594
+ resolvedSecurity: requestSecurity,
95595
+ securitySource: client._options.security,
95596
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
95597
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
95598
+ };
95599
+ const requestRes = client._createRequest(context, {
95600
+ security: requestSecurity,
95601
+ method: "POST",
95602
+ baseURL: options?.serverURL,
95603
+ path,
95604
+ headers,
95605
+ body,
95606
+ userAgent: client._options.userAgent,
95607
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
95608
+ }, options);
95609
+ if (!requestRes.ok) {
95610
+ return [requestRes, { status: "invalid" }];
95611
+ }
95612
+ const req = requestRes.value;
95613
+ const doResult = await client._do(req, {
95614
+ context,
95615
+ errorCodes: [
95616
+ "400",
95617
+ "401",
95618
+ "403",
95619
+ "404",
95620
+ "409",
95621
+ "422",
95622
+ "429",
95623
+ "4XX",
95624
+ "500",
95625
+ "504",
95626
+ "5XX"
95627
+ ],
95628
+ retryConfig: context.retryConfig,
95629
+ retryCodes: context.retryCodes
95630
+ });
95631
+ if (!doResult.ok) {
95632
+ return [doResult, { status: "request-error", request: req }];
95633
+ }
95634
+ const response = doResult.value;
95635
+ const responseFields = {
95636
+ HttpMeta: { Response: response, Request: req }
95637
+ };
95638
+ const [result] = await match(json(200, CreateSweepConfigResponse$inboundSchema, {
95639
+ hdrs: true,
95640
+ key: "Result"
95641
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, CreateSweepConfigError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
95642
+ if (!result.ok) {
95643
+ return [result, { status: "complete", request: req, response }];
95644
+ }
95645
+ return [result, { status: "complete", request: req, response }];
95646
+ }
95647
+ var init_sweepsCreateConfig = __esm(() => {
95648
+ init_encodings();
95649
+ init_matchers();
95650
+ init_primitives();
95651
+ init_schemas4();
95652
+ init_security();
95653
+ init_url();
95654
+ init_errors4();
95655
+ init_operations();
95656
+ init_async();
95657
+ });
95658
+
95659
+ // src/mcp-server/tools/sweepsCreateConfig.ts
95660
+ var args133, tool$sweepsCreateConfig;
95661
+ var init_sweepsCreateConfig2 = __esm(() => {
95662
+ init_sweepsCreateConfig();
95663
+ init_operations();
95664
+ init_tools();
95665
+ args133 = {
95666
+ request: CreateSweepConfigRequest$inboundSchema
95667
+ };
95668
+ tool$sweepsCreateConfig = {
95669
+ name: "sweeps-create-config",
95670
+ description: `Create a sweep config for a wallet.
95671
+
95672
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95673
+ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
95674
+ args: args133,
95675
+ tool: async (client, args134, ctx) => {
95676
+ const [result, apiCall] = await sweepsCreateConfig(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95677
+ if (!result.ok) {
95678
+ return {
95679
+ content: [{ type: "text", text: result.error.message }],
95680
+ isError: true
95681
+ };
95682
+ }
95683
+ const value = result.value.result;
95684
+ return formatResult(value, apiCall);
95685
+ }
95686
+ };
95687
+ });
95688
+
95689
+ // src/funcs/sweepsGet.ts
95690
+ function sweepsGet(client, request, options) {
95691
+ return new APIPromise($do134(client, request, options));
95692
+ }
95693
+ async function $do134(client, request, options) {
95694
+ const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
95695
+ if (!parsed.ok) {
95696
+ return [parsed, { status: "invalid" }];
95697
+ }
95698
+ const payload = parsed.value;
95699
+ const body = null;
95700
+ const pathParams = {
95701
+ accountID: encodeSimple("accountID", payload.accountID, {
95702
+ explode: false,
95703
+ charEncoding: "percent"
95704
+ }),
95705
+ sweepID: encodeSimple("sweepID", payload.sweepID, {
95706
+ explode: false,
95707
+ charEncoding: "percent"
95708
+ }),
95709
+ walletID: encodeSimple("walletID", payload.walletID, {
95710
+ explode: false,
95711
+ charEncoding: "percent"
95712
+ })
95713
+ };
95714
+ const path = pathToFunc("/accounts/{accountID}/wallets/{walletID}/sweeps/{sweepID}")(pathParams);
95715
+ const headers = new Headers(compactMap({
95716
+ Accept: "application/json",
95717
+ "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
95718
+ }));
95719
+ const securityInput = await extractSecurity(client._options.security);
95720
+ const requestSecurity = resolveGlobalSecurity(securityInput);
95721
+ const context = {
95722
+ options: client._options,
95723
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
95724
+ operationID: "getSweep",
95725
+ oAuth2Scopes: null,
95726
+ resolvedSecurity: requestSecurity,
95727
+ securitySource: client._options.security,
95728
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
95729
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
95730
+ };
95731
+ const requestRes = client._createRequest(context, {
95732
+ security: requestSecurity,
95733
+ method: "GET",
95734
+ baseURL: options?.serverURL,
95735
+ path,
95736
+ headers,
95737
+ body,
95738
+ userAgent: client._options.userAgent,
95739
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
95740
+ }, options);
95741
+ if (!requestRes.ok) {
95742
+ return [requestRes, { status: "invalid" }];
95743
+ }
95744
+ const req = requestRes.value;
95745
+ const doResult = await client._do(req, {
95746
+ context,
95747
+ errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
95748
+ retryConfig: context.retryConfig,
95749
+ retryCodes: context.retryCodes
95750
+ });
95751
+ if (!doResult.ok) {
95752
+ return [doResult, { status: "request-error", request: req }];
95753
+ }
95754
+ const response = doResult.value;
95755
+ const responseFields = {
95756
+ HttpMeta: { Response: response, Request: req }
95757
+ };
95758
+ const [result] = await match(json(200, GetSweepResponse$inboundSchema, {
95759
+ hdrs: true,
95760
+ key: "Result"
95761
+ }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
95762
+ if (!result.ok) {
95763
+ return [result, { status: "complete", request: req, response }];
95764
+ }
95765
+ return [result, { status: "complete", request: req, response }];
95766
+ }
95767
+ var init_sweepsGet = __esm(() => {
95768
+ init_encodings();
95769
+ init_matchers();
95770
+ init_primitives();
95771
+ init_schemas4();
95772
+ init_security();
95773
+ init_url();
95774
+ init_operations();
95775
+ init_async();
95776
+ });
95777
+
95778
+ // src/mcp-server/tools/sweepsGet.ts
95779
+ var args134, tool$sweepsGet;
95780
+ var init_sweepsGet2 = __esm(() => {
95781
+ init_sweepsGet();
95782
+ init_operations();
95783
+ init_tools();
95784
+ args134 = {
95785
+ request: GetSweepRequest$inboundSchema
95786
+ };
95787
+ tool$sweepsGet = {
95788
+ name: "sweeps-get",
95789
+ description: `Get details on a specific sweep.
95790
+
95791
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95792
+ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
95793
+ args: args134,
95794
+ tool: async (client, args135, ctx) => {
95795
+ const [result, apiCall] = await sweepsGet(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95796
+ if (!result.ok) {
95797
+ return {
95798
+ content: [{ type: "text", text: result.error.message }],
95799
+ isError: true
95800
+ };
95801
+ }
95802
+ const value = result.value.result;
95803
+ return formatResult(value, apiCall);
95804
+ }
95805
+ };
95806
+ });
95807
+
95808
+ // src/funcs/sweepsGetConfig.ts
95809
+ function sweepsGetConfig(client, request, options) {
95810
+ return new APIPromise($do135(client, request, options));
95811
+ }
95812
+ async function $do135(client, request, options) {
95813
+ const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
95814
+ if (!parsed.ok) {
95815
+ return [parsed, { status: "invalid" }];
95816
+ }
95817
+ const payload = parsed.value;
95818
+ const body = null;
95819
+ const pathParams = {
95820
+ accountID: encodeSimple("accountID", payload.accountID, {
95821
+ explode: false,
95822
+ charEncoding: "percent"
95823
+ }),
95824
+ sweepConfigID: encodeSimple("sweepConfigID", payload.sweepConfigID, {
95825
+ explode: false,
95826
+ charEncoding: "percent"
95827
+ })
95828
+ };
95829
+ const path = pathToFunc("/accounts/{accountID}/sweep-configs/{sweepConfigID}")(pathParams);
95830
+ const headers = new Headers(compactMap({
95831
+ Accept: "application/json",
95832
+ "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
95833
+ }));
95834
+ const securityInput = await extractSecurity(client._options.security);
95835
+ const requestSecurity = resolveGlobalSecurity(securityInput);
95836
+ const context = {
95837
+ options: client._options,
95838
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
95839
+ operationID: "getSweepConfig",
95840
+ oAuth2Scopes: null,
95841
+ resolvedSecurity: requestSecurity,
95842
+ securitySource: client._options.security,
95843
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
95844
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
95845
+ };
95846
+ const requestRes = client._createRequest(context, {
95847
+ security: requestSecurity,
95848
+ method: "GET",
95849
+ baseURL: options?.serverURL,
95850
+ path,
95851
+ headers,
95852
+ body,
95853
+ userAgent: client._options.userAgent,
95854
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
95855
+ }, options);
95856
+ if (!requestRes.ok) {
95857
+ return [requestRes, { status: "invalid" }];
95858
+ }
95859
+ const req = requestRes.value;
95860
+ const doResult = await client._do(req, {
95861
+ context,
95862
+ errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
95863
+ retryConfig: context.retryConfig,
95864
+ retryCodes: context.retryCodes
95865
+ });
95866
+ if (!doResult.ok) {
95867
+ return [doResult, { status: "request-error", request: req }];
95868
+ }
95869
+ const response = doResult.value;
95870
+ const responseFields = {
95871
+ HttpMeta: { Response: response, Request: req }
95872
+ };
95873
+ const [result] = await match(json(200, GetSweepConfigResponse$inboundSchema, {
95874
+ hdrs: true,
95875
+ key: "Result"
95876
+ }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
95877
+ if (!result.ok) {
95878
+ return [result, { status: "complete", request: req, response }];
95879
+ }
95880
+ return [result, { status: "complete", request: req, response }];
95881
+ }
95882
+ var init_sweepsGetConfig = __esm(() => {
95883
+ init_encodings();
95884
+ init_matchers();
95885
+ init_primitives();
95886
+ init_schemas4();
95887
+ init_security();
95888
+ init_url();
95889
+ init_operations();
95890
+ init_async();
95891
+ });
95892
+
95893
+ // src/mcp-server/tools/sweepsGetConfig.ts
95894
+ var args135, tool$sweepsGetConfig;
95895
+ var init_sweepsGetConfig2 = __esm(() => {
95896
+ init_sweepsGetConfig();
95897
+ init_operations();
95898
+ init_tools();
95899
+ args135 = {
95900
+ request: GetSweepConfigRequest$inboundSchema
95901
+ };
95902
+ tool$sweepsGetConfig = {
95903
+ name: "sweeps-get-config",
95904
+ description: `Get a sweep config associated with a wallet.
95905
+
95906
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95907
+ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
95908
+ args: args135,
95909
+ tool: async (client, args136, ctx) => {
95910
+ const [result, apiCall] = await sweepsGetConfig(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95911
+ if (!result.ok) {
95912
+ return {
95913
+ content: [{ type: "text", text: result.error.message }],
95914
+ isError: true
95915
+ };
95916
+ }
95917
+ const value = result.value.result;
95918
+ return formatResult(value, apiCall);
95919
+ }
95920
+ };
95921
+ });
95922
+
95923
+ // src/funcs/sweepsList.ts
95924
+ function sweepsList(client, request, options) {
95925
+ return new APIPromise($do136(client, request, options));
95926
+ }
95927
+ async function $do136(client, request, options) {
95928
+ const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
95929
+ if (!parsed.ok) {
95930
+ return [parsed, { status: "invalid" }];
95931
+ }
95932
+ const payload = parsed.value;
95933
+ const body = null;
95934
+ const pathParams = {
95935
+ accountID: encodeSimple("accountID", payload.accountID, {
95936
+ explode: false,
95937
+ charEncoding: "percent"
95938
+ }),
95939
+ walletID: encodeSimple("walletID", payload.walletID, {
95940
+ explode: false,
95941
+ charEncoding: "percent"
95942
+ })
95943
+ };
95944
+ const path = pathToFunc("/accounts/{accountID}/wallets/{walletID}/sweeps")(pathParams);
95945
+ const query = encodeFormQuery({
95946
+ count: payload.count,
95947
+ skip: payload.skip,
95948
+ statementDescriptor: payload.statementDescriptor,
95949
+ status: payload.status
95950
+ }, { explode: false });
95951
+ const headers = new Headers(compactMap({
95952
+ Accept: "application/json",
95953
+ "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
95954
+ }));
95955
+ const securityInput = await extractSecurity(client._options.security);
95956
+ const requestSecurity = resolveGlobalSecurity(securityInput);
95957
+ const context = {
95958
+ options: client._options,
95959
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
95960
+ operationID: "listSweeps",
95961
+ oAuth2Scopes: null,
95962
+ resolvedSecurity: requestSecurity,
95963
+ securitySource: client._options.security,
95964
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
95965
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
95966
+ };
95967
+ const requestRes = client._createRequest(context, {
95968
+ security: requestSecurity,
95969
+ method: "GET",
95970
+ baseURL: options?.serverURL,
95971
+ path,
95972
+ headers,
95973
+ query,
95974
+ body,
95975
+ userAgent: client._options.userAgent,
95976
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
95977
+ }, options);
95978
+ if (!requestRes.ok) {
95979
+ return [requestRes, { status: "invalid" }];
95980
+ }
95981
+ const req = requestRes.value;
95982
+ const doResult = await client._do(req, {
95983
+ context,
95984
+ errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
95985
+ retryConfig: context.retryConfig,
95986
+ retryCodes: context.retryCodes
95987
+ });
95988
+ if (!doResult.ok) {
95989
+ return [doResult, { status: "request-error", request: req }];
95990
+ }
95991
+ const response = doResult.value;
95992
+ const responseFields = {
95993
+ HttpMeta: { Response: response, Request: req }
95994
+ };
95995
+ const [result] = await match(json(200, ListSweepsResponse$inboundSchema, {
95996
+ hdrs: true,
95997
+ key: "Result"
95998
+ }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
95999
+ if (!result.ok) {
96000
+ return [result, { status: "complete", request: req, response }];
96001
+ }
96002
+ return [result, { status: "complete", request: req, response }];
96003
+ }
96004
+ var init_sweepsList = __esm(() => {
96005
+ init_encodings();
96006
+ init_matchers();
96007
+ init_primitives();
96008
+ init_schemas4();
96009
+ init_security();
96010
+ init_url();
96011
+ init_operations();
96012
+ init_async();
96013
+ });
96014
+
96015
+ // src/mcp-server/tools/sweepsList.ts
96016
+ var args136, tool$sweepsList;
96017
+ var init_sweepsList2 = __esm(() => {
96018
+ init_sweepsList();
96019
+ init_operations();
96020
+ init_tools();
96021
+ args136 = {
96022
+ request: ListSweepsRequest$inboundSchema
96023
+ };
96024
+ tool$sweepsList = {
96025
+ name: "sweeps-list",
96026
+ description: `List sweeps associated with a wallet.
96027
+
96028
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96029
+ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96030
+ args: args136,
96031
+ tool: async (client, args137, ctx) => {
96032
+ const [result, apiCall] = await sweepsList(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96033
+ if (!result.ok) {
96034
+ return {
96035
+ content: [{ type: "text", text: result.error.message }],
96036
+ isError: true
96037
+ };
96038
+ }
96039
+ const value = result.value.result;
96040
+ return formatResult(value, apiCall);
96041
+ }
96042
+ };
96043
+ });
96044
+
96045
+ // src/funcs/sweepsListConfigs.ts
96046
+ function sweepsListConfigs(client, request, options) {
96047
+ return new APIPromise($do137(client, request, options));
96048
+ }
96049
+ async function $do137(client, request, options) {
96050
+ const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
96051
+ if (!parsed.ok) {
96052
+ return [parsed, { status: "invalid" }];
96053
+ }
96054
+ const payload = parsed.value;
96055
+ const body = null;
96056
+ const pathParams = {
96057
+ accountID: encodeSimple("accountID", payload.accountID, {
96058
+ explode: false,
96059
+ charEncoding: "percent"
96060
+ })
96061
+ };
96062
+ const path = pathToFunc("/accounts/{accountID}/sweep-configs")(pathParams);
96063
+ const headers = new Headers(compactMap({
96064
+ Accept: "application/json",
96065
+ "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
96066
+ }));
96067
+ const securityInput = await extractSecurity(client._options.security);
96068
+ const requestSecurity = resolveGlobalSecurity(securityInput);
96069
+ const context = {
96070
+ options: client._options,
96071
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
96072
+ operationID: "listSweepConfigs",
96073
+ oAuth2Scopes: null,
96074
+ resolvedSecurity: requestSecurity,
96075
+ securitySource: client._options.security,
96076
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
96077
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
96078
+ };
96079
+ const requestRes = client._createRequest(context, {
96080
+ security: requestSecurity,
96081
+ method: "GET",
96082
+ baseURL: options?.serverURL,
96083
+ path,
96084
+ headers,
96085
+ body,
96086
+ userAgent: client._options.userAgent,
96087
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
96088
+ }, options);
96089
+ if (!requestRes.ok) {
96090
+ return [requestRes, { status: "invalid" }];
96091
+ }
96092
+ const req = requestRes.value;
96093
+ const doResult = await client._do(req, {
96094
+ context,
96095
+ errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
96096
+ retryConfig: context.retryConfig,
96097
+ retryCodes: context.retryCodes
96098
+ });
96099
+ if (!doResult.ok) {
96100
+ return [doResult, { status: "request-error", request: req }];
96101
+ }
96102
+ const response = doResult.value;
96103
+ const responseFields = {
96104
+ HttpMeta: { Response: response, Request: req }
96105
+ };
96106
+ const [result] = await match(json(200, ListSweepConfigsResponse$inboundSchema, {
96107
+ hdrs: true,
96108
+ key: "Result"
96109
+ }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
96110
+ if (!result.ok) {
96111
+ return [result, { status: "complete", request: req, response }];
96112
+ }
96113
+ return [result, { status: "complete", request: req, response }];
96114
+ }
96115
+ var init_sweepsListConfigs = __esm(() => {
96116
+ init_encodings();
96117
+ init_matchers();
96118
+ init_primitives();
96119
+ init_schemas4();
96120
+ init_security();
96121
+ init_url();
96122
+ init_operations();
96123
+ init_async();
96124
+ });
96125
+
96126
+ // src/mcp-server/tools/sweepsListConfigs.ts
96127
+ var args137, tool$sweepsListConfigs;
96128
+ var init_sweepsListConfigs2 = __esm(() => {
96129
+ init_sweepsListConfigs();
96130
+ init_operations();
96131
+ init_tools();
96132
+ args137 = {
96133
+ request: ListSweepConfigsRequest$inboundSchema
96134
+ };
96135
+ tool$sweepsListConfigs = {
96136
+ name: "sweeps-list-configs",
96137
+ description: `List sweep configs associated with an account.
96138
+
96139
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96140
+ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96141
+ args: args137,
96142
+ tool: async (client, args138, ctx) => {
96143
+ const [result, apiCall] = await sweepsListConfigs(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96144
+ if (!result.ok) {
96145
+ return {
96146
+ content: [{ type: "text", text: result.error.message }],
96147
+ isError: true
96148
+ };
96149
+ }
96150
+ const value = result.value.result;
96151
+ return formatResult(value, apiCall);
96152
+ }
96153
+ };
96154
+ });
96155
+
96156
+ // src/funcs/sweepsUpdateConfig.ts
96157
+ function sweepsUpdateConfig(client, request, options) {
96158
+ return new APIPromise($do138(client, request, options));
96159
+ }
96160
+ async function $do138(client, request, options) {
96161
+ const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
96162
+ if (!parsed.ok) {
96163
+ return [parsed, { status: "invalid" }];
96164
+ }
96165
+ const payload = parsed.value;
96166
+ const body = encodeJSON("body", payload.PatchSweepConfig, { explode: true });
96167
+ const pathParams = {
96168
+ accountID: encodeSimple("accountID", payload.accountID, {
96169
+ explode: false,
96170
+ charEncoding: "percent"
96171
+ }),
96172
+ sweepConfigID: encodeSimple("sweepConfigID", payload.sweepConfigID, {
96173
+ explode: false,
96174
+ charEncoding: "percent"
96175
+ })
96176
+ };
96177
+ const path = pathToFunc("/accounts/{accountID}/sweep-configs/{sweepConfigID}")(pathParams);
96178
+ const headers = new Headers(compactMap({
96179
+ "Content-Type": "application/json",
96180
+ Accept: "application/json",
96181
+ "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
96182
+ }));
96183
+ const securityInput = await extractSecurity(client._options.security);
96184
+ const requestSecurity = resolveGlobalSecurity(securityInput);
96185
+ const context = {
96186
+ options: client._options,
96187
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
96188
+ operationID: "updateSweepConfig",
94028
96189
  oAuth2Scopes: null,
94029
96190
  resolvedSecurity: requestSecurity,
94030
96191
  securitySource: client._options.security,
@@ -94092,12 +96253,12 @@ var init_sweepsUpdateConfig = __esm(() => {
94092
96253
  });
94093
96254
 
94094
96255
  // src/mcp-server/tools/sweepsUpdateConfig.ts
94095
- var args133, tool$sweepsUpdateConfig;
96256
+ var args138, tool$sweepsUpdateConfig;
94096
96257
  var init_sweepsUpdateConfig2 = __esm(() => {
94097
96258
  init_sweepsUpdateConfig();
94098
96259
  init_operations();
94099
96260
  init_tools();
94100
- args133 = {
96261
+ args138 = {
94101
96262
  request: UpdateSweepConfigRequest$inboundSchema
94102
96263
  };
94103
96264
  tool$sweepsUpdateConfig = {
@@ -94106,9 +96267,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
94106
96267
 
94107
96268
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94108
96269
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
94109
- args: args133,
94110
- tool: async (client, args134, ctx) => {
94111
- const [result, apiCall] = await sweepsUpdateConfig(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96270
+ args: args138,
96271
+ tool: async (client, args139, ctx) => {
96272
+ const [result, apiCall] = await sweepsUpdateConfig(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94112
96273
  if (!result.ok) {
94113
96274
  return {
94114
96275
  content: [{ type: "text", text: result.error.message }],
@@ -94123,9 +96284,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
94123
96284
 
94124
96285
  // src/funcs/terminalApplicationsCreate.ts
94125
96286
  function terminalApplicationsCreate(client, request, options) {
94126
- return new APIPromise($do134(client, request, options));
96287
+ return new APIPromise($do139(client, request, options));
94127
96288
  }
94128
- async function $do134(client, request, options) {
96289
+ async function $do139(client, request, options) {
94129
96290
  const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
94130
96291
  if (!parsed.ok) {
94131
96292
  return [parsed, { status: "invalid" }];
@@ -94214,12 +96375,12 @@ var init_terminalApplicationsCreate = __esm(() => {
94214
96375
  });
94215
96376
 
94216
96377
  // src/mcp-server/tools/terminalApplicationsCreate.ts
94217
- var args134, tool$terminalApplicationsCreate;
96378
+ var args139, tool$terminalApplicationsCreate;
94218
96379
  var init_terminalApplicationsCreate2 = __esm(() => {
94219
96380
  init_terminalApplicationsCreate();
94220
96381
  init_components();
94221
96382
  init_tools();
94222
- args134 = {
96383
+ args139 = {
94223
96384
  request: CreateTerminalApplication$inboundSchema
94224
96385
  };
94225
96386
  tool$terminalApplicationsCreate = {
@@ -94228,9 +96389,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
94228
96389
 
94229
96390
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94230
96391
  you'll need to specify the \`/terminal-applications.write\` scope.`,
94231
- args: args134,
94232
- tool: async (client, args135, ctx) => {
94233
- const [result, apiCall] = await terminalApplicationsCreate(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96392
+ args: args139,
96393
+ tool: async (client, args140, ctx) => {
96394
+ const [result, apiCall] = await terminalApplicationsCreate(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94234
96395
  if (!result.ok) {
94235
96396
  return {
94236
96397
  content: [{ type: "text", text: result.error.message }],
@@ -94245,9 +96406,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
94245
96406
 
94246
96407
  // src/funcs/terminalApplicationsCreateVersion.ts
94247
96408
  function terminalApplicationsCreateVersion(client, request, options) {
94248
- return new APIPromise($do135(client, request, options));
96409
+ return new APIPromise($do140(client, request, options));
94249
96410
  }
94250
- async function $do135(client, request, options) {
96411
+ async function $do140(client, request, options) {
94251
96412
  const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
94252
96413
  if (!parsed.ok) {
94253
96414
  return [parsed, { status: "invalid" }];
@@ -94337,12 +96498,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
94337
96498
  });
94338
96499
 
94339
96500
  // src/mcp-server/tools/terminalApplicationsCreateVersion.ts
94340
- var args135, tool$terminalApplicationsCreateVersion;
96501
+ var args140, tool$terminalApplicationsCreateVersion;
94341
96502
  var init_terminalApplicationsCreateVersion2 = __esm(() => {
94342
96503
  init_terminalApplicationsCreateVersion();
94343
96504
  init_operations();
94344
96505
  init_tools();
94345
- args135 = {
96506
+ args140 = {
94346
96507
  request: CreateTerminalApplicationVersionRequest$inboundSchema
94347
96508
  };
94348
96509
  tool$terminalApplicationsCreateVersion = {
@@ -94351,9 +96512,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
94351
96512
 
94352
96513
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94353
96514
  you'll need to specify the \`/terminal-applications.write\` scope.`,
94354
- args: args135,
94355
- tool: async (client, args136, ctx) => {
94356
- const [result, apiCall] = await terminalApplicationsCreateVersion(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96515
+ args: args140,
96516
+ tool: async (client, args141, ctx) => {
96517
+ const [result, apiCall] = await terminalApplicationsCreateVersion(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94357
96518
  if (!result.ok) {
94358
96519
  return {
94359
96520
  content: [{ type: "text", text: result.error.message }],
@@ -94368,9 +96529,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
94368
96529
 
94369
96530
  // src/funcs/terminalApplicationsDelete.ts
94370
96531
  function terminalApplicationsDelete(client, request, options) {
94371
- return new APIPromise($do136(client, request, options));
96532
+ return new APIPromise($do141(client, request, options));
94372
96533
  }
94373
- async function $do136(client, request, options) {
96534
+ async function $do141(client, request, options) {
94374
96535
  const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
94375
96536
  if (!parsed.ok) {
94376
96537
  return [parsed, { status: "invalid" }];
@@ -94454,12 +96615,12 @@ var init_terminalApplicationsDelete = __esm(() => {
94454
96615
  });
94455
96616
 
94456
96617
  // src/mcp-server/tools/terminalApplicationsDelete.ts
94457
- var args136, tool$terminalApplicationsDelete;
96618
+ var args141, tool$terminalApplicationsDelete;
94458
96619
  var init_terminalApplicationsDelete2 = __esm(() => {
94459
96620
  init_terminalApplicationsDelete();
94460
96621
  init_operations();
94461
96622
  init_tools();
94462
- args136 = {
96623
+ args141 = {
94463
96624
  request: DeleteTerminalApplicationRequest$inboundSchema
94464
96625
  };
94465
96626
  tool$terminalApplicationsDelete = {
@@ -94468,9 +96629,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
94468
96629
 
94469
96630
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94470
96631
  you'll need to specify the \`/terminal-applications.write\` scope.`,
94471
- args: args136,
94472
- tool: async (client, args137, ctx) => {
94473
- const [result, apiCall] = await terminalApplicationsDelete(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96632
+ args: args141,
96633
+ tool: async (client, args142, ctx) => {
96634
+ const [result, apiCall] = await terminalApplicationsDelete(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94474
96635
  if (!result.ok) {
94475
96636
  return {
94476
96637
  content: [{ type: "text", text: result.error.message }],
@@ -94484,9 +96645,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
94484
96645
 
94485
96646
  // src/funcs/terminalApplicationsGet.ts
94486
96647
  function terminalApplicationsGet(client, request, options) {
94487
- return new APIPromise($do137(client, request, options));
96648
+ return new APIPromise($do142(client, request, options));
94488
96649
  }
94489
- async function $do137(client, request, options) {
96650
+ async function $do142(client, request, options) {
94490
96651
  const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
94491
96652
  if (!parsed.ok) {
94492
96653
  return [parsed, { status: "invalid" }];
@@ -94561,12 +96722,12 @@ var init_terminalApplicationsGet = __esm(() => {
94561
96722
  });
94562
96723
 
94563
96724
  // src/mcp-server/tools/terminalApplicationsGet.ts
94564
- var args137, tool$terminalApplicationsGet;
96725
+ var args142, tool$terminalApplicationsGet;
94565
96726
  var init_terminalApplicationsGet2 = __esm(() => {
94566
96727
  init_terminalApplicationsGet();
94567
96728
  init_operations();
94568
96729
  init_tools();
94569
- args137 = {
96730
+ args142 = {
94570
96731
  request: GetTerminalApplicationRequest$inboundSchema
94571
96732
  };
94572
96733
  tool$terminalApplicationsGet = {
@@ -94575,9 +96736,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
94575
96736
 
94576
96737
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94577
96738
  you'll need to specify the \`/terminal-applications.read\` scope.`,
94578
- args: args137,
94579
- tool: async (client, args138, ctx) => {
94580
- const [result, apiCall] = await terminalApplicationsGet(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96739
+ args: args142,
96740
+ tool: async (client, args143, ctx) => {
96741
+ const [result, apiCall] = await terminalApplicationsGet(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94581
96742
  if (!result.ok) {
94582
96743
  return {
94583
96744
  content: [{ type: "text", text: result.error.message }],
@@ -94592,9 +96753,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
94592
96753
 
94593
96754
  // src/funcs/terminalApplicationsList.ts
94594
96755
  function terminalApplicationsList(client, _request, options) {
94595
- return new APIPromise($do138(client, _request, options));
96756
+ return new APIPromise($do143(client, _request, options));
94596
96757
  }
94597
- async function $do138(client, _request, options) {
96758
+ async function $do143(client, _request, options) {
94598
96759
  const path = pathToFunc("/terminal-applications")();
94599
96760
  const headers = new Headers(compactMap({
94600
96761
  Accept: "application/json",
@@ -94658,12 +96819,12 @@ var init_terminalApplicationsList = __esm(() => {
94658
96819
  });
94659
96820
 
94660
96821
  // src/mcp-server/tools/terminalApplicationsList.ts
94661
- var args138, tool$terminalApplicationsList;
96822
+ var args143, tool$terminalApplicationsList;
94662
96823
  var init_terminalApplicationsList2 = __esm(() => {
94663
96824
  init_terminalApplicationsList();
94664
96825
  init_operations();
94665
96826
  init_tools();
94666
- args138 = {
96827
+ args143 = {
94667
96828
  request: ListTerminalApplicationsRequest$inboundSchema
94668
96829
  };
94669
96830
  tool$terminalApplicationsList = {
@@ -94672,9 +96833,9 @@ var init_terminalApplicationsList2 = __esm(() => {
94672
96833
 
94673
96834
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94674
96835
  you'll need to specify the \`/terminal-applications.read\` scope.`,
94675
- args: args138,
94676
- tool: async (client, args139, ctx) => {
94677
- const [result, apiCall] = await terminalApplicationsList(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96836
+ args: args143,
96837
+ tool: async (client, args144, ctx) => {
96838
+ const [result, apiCall] = await terminalApplicationsList(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94678
96839
  if (!result.ok) {
94679
96840
  return {
94680
96841
  content: [{ type: "text", text: result.error.message }],
@@ -94689,9 +96850,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
94689
96850
 
94690
96851
  // src/funcs/transfersCreate.ts
94691
96852
  function transfersCreate(client, request, options) {
94692
- return new APIPromise($do139(client, request, options));
96853
+ return new APIPromise($do144(client, request, options));
94693
96854
  }
94694
- async function $do139(client, request, options) {
96855
+ async function $do144(client, request, options) {
94695
96856
  const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
94696
96857
  if (!parsed.ok) {
94697
96858
  return [parsed, { status: "invalid" }];
@@ -94784,12 +96945,12 @@ var init_transfersCreate = __esm(() => {
94784
96945
  });
94785
96946
 
94786
96947
  // src/mcp-server/tools/transfersCreate.ts
94787
- var args139, tool$transfersCreate;
96948
+ var args144, tool$transfersCreate;
94788
96949
  var init_transfersCreate2 = __esm(() => {
94789
96950
  init_transfersCreate();
94790
96951
  init_operations();
94791
96952
  init_tools();
94792
- args139 = {
96953
+ args144 = {
94793
96954
  request: CreateTransferRequest$inboundSchema
94794
96955
  };
94795
96956
  tool$transfersCreate = {
@@ -94800,9 +96961,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
94800
96961
 
94801
96962
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94802
96963
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
94803
- args: args139,
94804
- tool: async (client, args140, ctx) => {
94805
- const [result, apiCall] = await transfersCreate(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96964
+ args: args144,
96965
+ tool: async (client, args145, ctx) => {
96966
+ const [result, apiCall] = await transfersCreate(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94806
96967
  if (!result.ok) {
94807
96968
  return {
94808
96969
  content: [{ type: "text", text: result.error.message }],
@@ -94817,9 +96978,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
94817
96978
 
94818
96979
  // src/funcs/transfersCreateCancellation.ts
94819
96980
  function transfersCreateCancellation(client, request, options) {
94820
- return new APIPromise($do140(client, request, options));
96981
+ return new APIPromise($do145(client, request, options));
94821
96982
  }
94822
- async function $do140(client, request, options) {
96983
+ async function $do145(client, request, options) {
94823
96984
  const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
94824
96985
  if (!parsed.ok) {
94825
96986
  return [parsed, { status: "invalid" }];
@@ -94902,12 +97063,12 @@ var init_transfersCreateCancellation = __esm(() => {
94902
97063
  });
94903
97064
 
94904
97065
  // src/mcp-server/tools/transfersCreateCancellation.ts
94905
- var args140, tool$transfersCreateCancellation;
97066
+ var args145, tool$transfersCreateCancellation;
94906
97067
  var init_transfersCreateCancellation2 = __esm(() => {
94907
97068
  init_transfersCreateCancellation();
94908
97069
  init_operations();
94909
97070
  init_tools();
94910
- args140 = {
97071
+ args145 = {
94911
97072
  request: CreateCancellationRequest$inboundSchema
94912
97073
  };
94913
97074
  tool$transfersCreateCancellation = {
@@ -94916,9 +97077,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
94916
97077
 
94917
97078
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
94918
97079
  to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
94919
- args: args140,
94920
- tool: async (client, args141, ctx) => {
94921
- const [result, apiCall] = await transfersCreateCancellation(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97080
+ args: args145,
97081
+ tool: async (client, args146, ctx) => {
97082
+ const [result, apiCall] = await transfersCreateCancellation(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94922
97083
  if (!result.ok) {
94923
97084
  return {
94924
97085
  content: [{ type: "text", text: result.error.message }],
@@ -94933,9 +97094,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
94933
97094
 
94934
97095
  // src/funcs/transfersCreateReversal.ts
94935
97096
  function transfersCreateReversal(client, request, options) {
94936
- return new APIPromise($do141(client, request, options));
97097
+ return new APIPromise($do146(client, request, options));
94937
97098
  }
94938
- async function $do141(client, request, options) {
97099
+ async function $do146(client, request, options) {
94939
97100
  const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
94940
97101
  if (!parsed.ok) {
94941
97102
  return [parsed, { status: "invalid" }];
@@ -95034,12 +97195,12 @@ var init_transfersCreateReversal = __esm(() => {
95034
97195
  });
95035
97196
 
95036
97197
  // src/mcp-server/tools/transfersCreateReversal.ts
95037
- var args141, tool$transfersCreateReversal;
97198
+ var args146, tool$transfersCreateReversal;
95038
97199
  var init_transfersCreateReversal2 = __esm(() => {
95039
97200
  init_transfersCreateReversal();
95040
97201
  init_operations();
95041
97202
  init_tools();
95042
- args141 = {
97203
+ args146 = {
95043
97204
  request: CreateReversalRequest$inboundSchema
95044
97205
  };
95045
97206
  tool$transfersCreateReversal = {
@@ -95050,9 +97211,9 @@ to learn more.
95050
97211
 
95051
97212
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
95052
97213
  to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
95053
- args: args141,
95054
- tool: async (client, args142, ctx) => {
95055
- const [result, apiCall] = await transfersCreateReversal(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97214
+ args: args146,
97215
+ tool: async (client, args147, ctx) => {
97216
+ const [result, apiCall] = await transfersCreateReversal(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95056
97217
  if (!result.ok) {
95057
97218
  return {
95058
97219
  content: [{ type: "text", text: result.error.message }],
@@ -95067,9 +97228,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
95067
97228
 
95068
97229
  // src/funcs/transfersGenerateOptions.ts
95069
97230
  function transfersGenerateOptions(client, request, options) {
95070
- return new APIPromise($do142(client, request, options));
97231
+ return new APIPromise($do147(client, request, options));
95071
97232
  }
95072
- async function $do142(client, request, options) {
97233
+ async function $do147(client, request, options) {
95073
97234
  const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
95074
97235
  if (!parsed.ok) {
95075
97236
  return [parsed, { status: "invalid" }];
@@ -95153,12 +97314,12 @@ var init_transfersGenerateOptions = __esm(() => {
95153
97314
  });
95154
97315
 
95155
97316
  // src/mcp-server/tools/transfersGenerateOptions.ts
95156
- var args142, tool$transfersGenerateOptions;
97317
+ var args147, tool$transfersGenerateOptions;
95157
97318
  var init_transfersGenerateOptions2 = __esm(() => {
95158
97319
  init_transfersGenerateOptions();
95159
97320
  init_operations();
95160
97321
  init_tools();
95161
- args142 = {
97322
+ args147 = {
95162
97323
  request: CreateTransferOptionsRequest$inboundSchema
95163
97324
  };
95164
97325
  tool$transfersGenerateOptions = {
@@ -95172,9 +97333,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
95172
97333
 
95173
97334
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95174
97335
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
95175
- args: args142,
95176
- tool: async (client, args143, ctx) => {
95177
- const [result, apiCall] = await transfersGenerateOptions(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97336
+ args: args147,
97337
+ tool: async (client, args148, ctx) => {
97338
+ const [result, apiCall] = await transfersGenerateOptions(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95178
97339
  if (!result.ok) {
95179
97340
  return {
95180
97341
  content: [{ type: "text", text: result.error.message }],
@@ -95189,9 +97350,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
95189
97350
 
95190
97351
  // src/funcs/transfersGet.ts
95191
97352
  function transfersGet(client, request, options) {
95192
- return new APIPromise($do143(client, request, options));
97353
+ return new APIPromise($do148(client, request, options));
95193
97354
  }
95194
- async function $do143(client, request, options) {
97355
+ async function $do148(client, request, options) {
95195
97356
  const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
95196
97357
  if (!parsed.ok) {
95197
97358
  return [parsed, { status: "invalid" }];
@@ -95273,12 +97434,12 @@ var init_transfersGet = __esm(() => {
95273
97434
  });
95274
97435
 
95275
97436
  // src/mcp-server/tools/transfersGet.ts
95276
- var args143, tool$transfersGet;
97437
+ var args148, tool$transfersGet;
95277
97438
  var init_transfersGet2 = __esm(() => {
95278
97439
  init_transfersGet();
95279
97440
  init_operations();
95280
97441
  init_tools();
95281
- args143 = {
97442
+ args148 = {
95282
97443
  request: GetTransferRequest$inboundSchema
95283
97444
  };
95284
97445
  tool$transfersGet = {
@@ -95290,9 +97451,9 @@ to learn more.
95290
97451
 
95291
97452
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95292
97453
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95293
- args: args143,
95294
- tool: async (client, args144, ctx) => {
95295
- const [result, apiCall] = await transfersGet(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97454
+ args: args148,
97455
+ tool: async (client, args149, ctx) => {
97456
+ const [result, apiCall] = await transfersGet(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95296
97457
  if (!result.ok) {
95297
97458
  return {
95298
97459
  content: [{ type: "text", text: result.error.message }],
@@ -95307,9 +97468,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95307
97468
 
95308
97469
  // src/funcs/transfersGetCancellation.ts
95309
97470
  function transfersGetCancellation(client, request, options) {
95310
- return new APIPromise($do144(client, request, options));
97471
+ return new APIPromise($do149(client, request, options));
95311
97472
  }
95312
- async function $do144(client, request, options) {
97473
+ async function $do149(client, request, options) {
95313
97474
  const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
95314
97475
  if (!parsed.ok) {
95315
97476
  return [parsed, { status: "invalid" }];
@@ -95395,12 +97556,12 @@ var init_transfersGetCancellation = __esm(() => {
95395
97556
  });
95396
97557
 
95397
97558
  // src/mcp-server/tools/transfersGetCancellation.ts
95398
- var args144, tool$transfersGetCancellation;
97559
+ var args149, tool$transfersGetCancellation;
95399
97560
  var init_transfersGetCancellation2 = __esm(() => {
95400
97561
  init_transfersGetCancellation();
95401
97562
  init_operations();
95402
97563
  init_tools();
95403
- args144 = {
97564
+ args149 = {
95404
97565
  request: GetCancellationRequest$inboundSchema
95405
97566
  };
95406
97567
  tool$transfersGetCancellation = {
@@ -95409,9 +97570,9 @@ var init_transfersGetCancellation2 = __esm(() => {
95409
97570
 
95410
97571
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
95411
97572
  to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95412
- args: args144,
95413
- tool: async (client, args145, ctx) => {
95414
- const [result, apiCall] = await transfersGetCancellation(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97573
+ args: args149,
97574
+ tool: async (client, args150, ctx) => {
97575
+ const [result, apiCall] = await transfersGetCancellation(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95415
97576
  if (!result.ok) {
95416
97577
  return {
95417
97578
  content: [{ type: "text", text: result.error.message }],
@@ -95426,9 +97587,9 @@ var init_transfersGetCancellation2 = __esm(() => {
95426
97587
 
95427
97588
  // src/funcs/transfersGetRefund.ts
95428
97589
  function transfersGetRefund(client, request, options) {
95429
- return new APIPromise($do145(client, request, options));
97590
+ return new APIPromise($do150(client, request, options));
95430
97591
  }
95431
- async function $do145(client, request, options) {
97592
+ async function $do150(client, request, options) {
95432
97593
  const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
95433
97594
  if (!parsed.ok) {
95434
97595
  return [parsed, { status: "invalid" }];
@@ -95514,12 +97675,12 @@ var init_transfersGetRefund = __esm(() => {
95514
97675
  });
95515
97676
 
95516
97677
  // src/mcp-server/tools/transfersGetRefund.ts
95517
- var args145, tool$transfersGetRefund;
97678
+ var args150, tool$transfersGetRefund;
95518
97679
  var init_transfersGetRefund2 = __esm(() => {
95519
97680
  init_transfersGetRefund();
95520
97681
  init_operations();
95521
97682
  init_tools();
95522
- args145 = {
97683
+ args150 = {
95523
97684
  request: GetRefundRequest$inboundSchema
95524
97685
  };
95525
97686
  tool$transfersGetRefund = {
@@ -95528,9 +97689,9 @@ var init_transfersGetRefund2 = __esm(() => {
95528
97689
 
95529
97690
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95530
97691
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95531
- args: args145,
95532
- tool: async (client, args146, ctx) => {
95533
- const [result, apiCall] = await transfersGetRefund(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97692
+ args: args150,
97693
+ tool: async (client, args151, ctx) => {
97694
+ const [result, apiCall] = await transfersGetRefund(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95534
97695
  if (!result.ok) {
95535
97696
  return {
95536
97697
  content: [{ type: "text", text: result.error.message }],
@@ -95545,9 +97706,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95545
97706
 
95546
97707
  // src/funcs/transfersInitiateRefund.ts
95547
97708
  function transfersInitiateRefund(client, request, options) {
95548
- return new APIPromise($do146(client, request, options));
97709
+ return new APIPromise($do151(client, request, options));
95549
97710
  }
95550
- async function $do146(client, request, options) {
97711
+ async function $do151(client, request, options) {
95551
97712
  const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
95552
97713
  if (!parsed.ok) {
95553
97714
  return [parsed, { status: "invalid" }];
@@ -95639,12 +97800,12 @@ var init_transfersInitiateRefund = __esm(() => {
95639
97800
  });
95640
97801
 
95641
97802
  // src/mcp-server/tools/transfersInitiateRefund.ts
95642
- var args146, tool$transfersInitiateRefund;
97803
+ var args151, tool$transfersInitiateRefund;
95643
97804
  var init_transfersInitiateRefund2 = __esm(() => {
95644
97805
  init_transfersInitiateRefund();
95645
97806
  init_operations();
95646
97807
  init_tools();
95647
- args146 = {
97808
+ args151 = {
95648
97809
  request: InitiateRefundRequest$inboundSchema
95649
97810
  };
95650
97811
  tool$transfersInitiateRefund = {
@@ -95656,9 +97817,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
95656
97817
 
95657
97818
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95658
97819
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
95659
- args: args146,
95660
- tool: async (client, args147, ctx) => {
95661
- const [result, apiCall] = await transfersInitiateRefund(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97820
+ args: args151,
97821
+ tool: async (client, args152, ctx) => {
97822
+ const [result, apiCall] = await transfersInitiateRefund(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95662
97823
  if (!result.ok) {
95663
97824
  return {
95664
97825
  content: [{ type: "text", text: result.error.message }],
@@ -95673,9 +97834,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
95673
97834
 
95674
97835
  // src/funcs/transfersList.ts
95675
97836
  function transfersList(client, request, options) {
95676
- return new APIPromise($do147(client, request, options));
97837
+ return new APIPromise($do152(client, request, options));
95677
97838
  }
95678
- async function $do147(client, request, options) {
97839
+ async function $do152(client, request, options) {
95679
97840
  const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
95680
97841
  if (!parsed.ok) {
95681
97842
  return [parsed, { status: "invalid" }];
@@ -95771,12 +97932,12 @@ var init_transfersList = __esm(() => {
95771
97932
  });
95772
97933
 
95773
97934
  // src/mcp-server/tools/transfersList.ts
95774
- var args147, tool$transfersList;
97935
+ var args152, tool$transfersList;
95775
97936
  var init_transfersList2 = __esm(() => {
95776
97937
  init_transfersList();
95777
97938
  init_operations();
95778
97939
  init_tools();
95779
- args147 = {
97940
+ args152 = {
95780
97941
  request: ListTransfersRequest$inboundSchema
95781
97942
  };
95782
97943
  tool$transfersList = {
@@ -95792,9 +97953,9 @@ period of time. You can run multiple requests in smaller time window increments
95792
97953
 
95793
97954
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95794
97955
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95795
- args: args147,
95796
- tool: async (client, args148, ctx) => {
95797
- const [result, apiCall] = await transfersList(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97956
+ args: args152,
97957
+ tool: async (client, args153, ctx) => {
97958
+ const [result, apiCall] = await transfersList(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95798
97959
  if (!result.ok) {
95799
97960
  return {
95800
97961
  content: [{ type: "text", text: result.error.message }],
@@ -95809,9 +97970,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95809
97970
 
95810
97971
  // src/funcs/transfersListRefunds.ts
95811
97972
  function transfersListRefunds(client, request, options) {
95812
- return new APIPromise($do148(client, request, options));
97973
+ return new APIPromise($do153(client, request, options));
95813
97974
  }
95814
- async function $do148(client, request, options) {
97975
+ async function $do153(client, request, options) {
95815
97976
  const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
95816
97977
  if (!parsed.ok) {
95817
97978
  return [parsed, { status: "invalid" }];
@@ -95893,12 +98054,12 @@ var init_transfersListRefunds = __esm(() => {
95893
98054
  });
95894
98055
 
95895
98056
  // src/mcp-server/tools/transfersListRefunds.ts
95896
- var args148, tool$transfersListRefunds;
98057
+ var args153, tool$transfersListRefunds;
95897
98058
  var init_transfersListRefunds2 = __esm(() => {
95898
98059
  init_transfersListRefunds();
95899
98060
  init_operations();
95900
98061
  init_tools();
95901
- args148 = {
98062
+ args153 = {
95902
98063
  request: ListRefundsRequest$inboundSchema
95903
98064
  };
95904
98065
  tool$transfersListRefunds = {
@@ -95907,9 +98068,9 @@ var init_transfersListRefunds2 = __esm(() => {
95907
98068
 
95908
98069
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95909
98070
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95910
- args: args148,
95911
- tool: async (client, args149, ctx) => {
95912
- const [result, apiCall] = await transfersListRefunds(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98071
+ args: args153,
98072
+ tool: async (client, args154, ctx) => {
98073
+ const [result, apiCall] = await transfersListRefunds(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95913
98074
  if (!result.ok) {
95914
98075
  return {
95915
98076
  content: [{ type: "text", text: result.error.message }],
@@ -95924,9 +98085,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95924
98085
 
95925
98086
  // src/funcs/transfersUpdate.ts
95926
98087
  function transfersUpdate(client, request, options) {
95927
- return new APIPromise($do149(client, request, options));
98088
+ return new APIPromise($do154(client, request, options));
95928
98089
  }
95929
- async function $do149(client, request, options) {
98090
+ async function $do154(client, request, options) {
95930
98091
  const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
95931
98092
  if (!parsed.ok) {
95932
98093
  return [parsed, { status: "invalid" }];
@@ -96012,12 +98173,12 @@ var init_transfersUpdate = __esm(() => {
96012
98173
  });
96013
98174
 
96014
98175
  // src/mcp-server/tools/transfersUpdate.ts
96015
- var args149, tool$transfersUpdate;
98176
+ var args154, tool$transfersUpdate;
96016
98177
  var init_transfersUpdate2 = __esm(() => {
96017
98178
  init_transfersUpdate();
96018
98179
  init_operations();
96019
98180
  init_tools();
96020
- args149 = {
98181
+ args154 = {
96021
98182
  request: UpdateTransferRequest$inboundSchema
96022
98183
  };
96023
98184
  tool$transfersUpdate = {
@@ -96028,9 +98189,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
96028
98189
 
96029
98190
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96030
98191
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
96031
- args: args149,
96032
- tool: async (client, args150, ctx) => {
96033
- const [result, apiCall] = await transfersUpdate(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98192
+ args: args154,
98193
+ tool: async (client, args155, ctx) => {
98194
+ const [result, apiCall] = await transfersUpdate(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96034
98195
  if (!result.ok) {
96035
98196
  return {
96036
98197
  content: [{ type: "text", text: result.error.message }],
@@ -96045,9 +98206,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
96045
98206
 
96046
98207
  // src/funcs/underwritingGet.ts
96047
98208
  function underwritingGet(client, request, options) {
96048
- return new APIPromise($do150(client, request, options));
98209
+ return new APIPromise($do155(client, request, options));
96049
98210
  }
96050
- async function $do150(client, request, options) {
98211
+ async function $do155(client, request, options) {
96051
98212
  const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
96052
98213
  if (!parsed.ok) {
96053
98214
  return [parsed, { status: "invalid" }];
@@ -96125,12 +98286,12 @@ var init_underwritingGet = __esm(() => {
96125
98286
  });
96126
98287
 
96127
98288
  // src/mcp-server/tools/underwritingGet.ts
96128
- var args150, tool$underwritingGet;
98289
+ var args155, tool$underwritingGet;
96129
98290
  var init_underwritingGet2 = __esm(() => {
96130
98291
  init_underwritingGet();
96131
98292
  init_operations();
96132
98293
  init_tools();
96133
- args150 = {
98294
+ args155 = {
96134
98295
  request: GetUnderwritingRequest$inboundSchema
96135
98296
  };
96136
98297
  tool$underwritingGet = {
@@ -96141,9 +98302,140 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
96141
98302
 
96142
98303
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96143
98304
  you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
96144
- args: args150,
96145
- tool: async (client, args151, ctx) => {
96146
- const [result, apiCall] = await underwritingGet(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98305
+ args: args155,
98306
+ tool: async (client, args156, ctx) => {
98307
+ const [result, apiCall] = await underwritingGet(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98308
+ if (!result.ok) {
98309
+ return {
98310
+ content: [{ type: "text", text: result.error.message }],
98311
+ isError: true
98312
+ };
98313
+ }
98314
+ const value = result.value.result;
98315
+ return formatResult(value, apiCall);
98316
+ }
98317
+ };
98318
+ });
98319
+
98320
+ // src/funcs/underwritingSave.ts
98321
+ function underwritingSave(client, request, options) {
98322
+ return new APIPromise($do156(client, request, options));
98323
+ }
98324
+ async function $do156(client, request, options) {
98325
+ const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
98326
+ if (!parsed.ok) {
98327
+ return [parsed, { status: "invalid" }];
98328
+ }
98329
+ const payload = parsed.value;
98330
+ const body = encodeJSON("body", payload.UpsertUnderwriting, {
98331
+ explode: true
98332
+ });
98333
+ const pathParams = {
98334
+ accountID: encodeSimple("accountID", payload.accountID, {
98335
+ explode: false,
98336
+ charEncoding: "percent"
98337
+ })
98338
+ };
98339
+ const path = pathToFunc("/accounts/{accountID}/underwriting")(pathParams);
98340
+ const headers = new Headers(compactMap({
98341
+ "Content-Type": "application/json",
98342
+ Accept: "application/json",
98343
+ "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
98344
+ }));
98345
+ const securityInput = await extractSecurity(client._options.security);
98346
+ const requestSecurity = resolveGlobalSecurity(securityInput);
98347
+ const context = {
98348
+ options: client._options,
98349
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
98350
+ operationID: "saveUnderwriting",
98351
+ oAuth2Scopes: null,
98352
+ resolvedSecurity: requestSecurity,
98353
+ securitySource: client._options.security,
98354
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
98355
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
98356
+ };
98357
+ const requestRes = client._createRequest(context, {
98358
+ security: requestSecurity,
98359
+ method: "POST",
98360
+ baseURL: options?.serverURL,
98361
+ path,
98362
+ headers,
98363
+ body,
98364
+ userAgent: client._options.userAgent,
98365
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
98366
+ }, options);
98367
+ if (!requestRes.ok) {
98368
+ return [requestRes, { status: "invalid" }];
98369
+ }
98370
+ const req = requestRes.value;
98371
+ const doResult = await client._do(req, {
98372
+ context,
98373
+ errorCodes: [
98374
+ "400",
98375
+ "401",
98376
+ "403",
98377
+ "404",
98378
+ "409",
98379
+ "422",
98380
+ "429",
98381
+ "4XX",
98382
+ "500",
98383
+ "504",
98384
+ "5XX"
98385
+ ],
98386
+ retryConfig: context.retryConfig,
98387
+ retryCodes: context.retryCodes
98388
+ });
98389
+ if (!doResult.ok) {
98390
+ return [doResult, { status: "request-error", request: req }];
98391
+ }
98392
+ const response = doResult.value;
98393
+ const responseFields = {
98394
+ HttpMeta: { Response: response, Request: req }
98395
+ };
98396
+ const [result] = await match(json(200, SaveUnderwritingResponse$inboundSchema, {
98397
+ hdrs: true,
98398
+ key: "Result"
98399
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, UpsertUnderwritingError$inboundSchema, {
98400
+ hdrs: true
98401
+ }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
98402
+ if (!result.ok) {
98403
+ return [result, { status: "complete", request: req, response }];
98404
+ }
98405
+ return [result, { status: "complete", request: req, response }];
98406
+ }
98407
+ var init_underwritingSave = __esm(() => {
98408
+ init_encodings();
98409
+ init_matchers();
98410
+ init_primitives();
98411
+ init_schemas4();
98412
+ init_security();
98413
+ init_url();
98414
+ init_errors4();
98415
+ init_operations();
98416
+ init_async();
98417
+ });
98418
+
98419
+ // src/mcp-server/tools/underwritingSave.ts
98420
+ var args156, tool$underwritingSave;
98421
+ var init_underwritingSave2 = __esm(() => {
98422
+ init_underwritingSave();
98423
+ init_operations();
98424
+ init_tools();
98425
+ args156 = {
98426
+ request: SaveUnderwritingRequest$inboundSchema
98427
+ };
98428
+ tool$underwritingSave = {
98429
+ name: "underwriting-save",
98430
+ description: `Create or update the account's underwriting.
98431
+
98432
+ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/underwriting/) to learn more.
98433
+
98434
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
98435
+ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
98436
+ args: args156,
98437
+ tool: async (client, args157, ctx) => {
98438
+ const [result, apiCall] = await underwritingSave(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96147
98439
  if (!result.ok) {
96148
98440
  return {
96149
98441
  content: [{ type: "text", text: result.error.message }],
@@ -96158,9 +98450,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
96158
98450
 
96159
98451
  // src/funcs/underwritingUpsert.ts
96160
98452
  function underwritingUpsert(client, request, options) {
96161
- return new APIPromise($do151(client, request, options));
98453
+ return new APIPromise($do157(client, request, options));
96162
98454
  }
96163
- async function $do151(client, request, options) {
98455
+ async function $do157(client, request, options) {
96164
98456
  const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
96165
98457
  if (!parsed.ok) {
96166
98458
  return [parsed, { status: "invalid" }];
@@ -96256,12 +98548,12 @@ var init_underwritingUpsert = __esm(() => {
96256
98548
  });
96257
98549
 
96258
98550
  // src/mcp-server/tools/underwritingUpsert.ts
96259
- var args151, tool$underwritingUpsert;
98551
+ var args157, tool$underwritingUpsert;
96260
98552
  var init_underwritingUpsert2 = __esm(() => {
96261
98553
  init_underwritingUpsert();
96262
98554
  init_operations();
96263
98555
  init_tools();
96264
- args151 = {
98556
+ args157 = {
96265
98557
  request: UpsertUnderwritingRequest$inboundSchema
96266
98558
  };
96267
98559
  tool$underwritingUpsert = {
@@ -96272,9 +98564,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
96272
98564
 
96273
98565
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96274
98566
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
96275
- args: args151,
96276
- tool: async (client, args152, ctx) => {
96277
- const [result, apiCall] = await underwritingUpsert(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98567
+ args: args157,
98568
+ tool: async (client, args158, ctx) => {
98569
+ const [result, apiCall] = await underwritingUpsert(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96278
98570
  if (!result.ok) {
96279
98571
  return {
96280
98572
  content: [{ type: "text", text: result.error.message }],
@@ -96289,9 +98581,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
96289
98581
 
96290
98582
  // src/funcs/walletsCreate.ts
96291
98583
  function walletsCreate(client, request, options) {
96292
- return new APIPromise($do152(client, request, options));
98584
+ return new APIPromise($do158(client, request, options));
96293
98585
  }
96294
- async function $do152(client, request, options) {
98586
+ async function $do158(client, request, options) {
96295
98587
  const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
96296
98588
  if (!parsed.ok) {
96297
98589
  return [parsed, { status: "invalid" }];
@@ -96385,12 +98677,12 @@ var init_walletsCreate = __esm(() => {
96385
98677
  });
96386
98678
 
96387
98679
  // src/mcp-server/tools/walletsCreate.ts
96388
- var args152, tool$walletsCreate;
98680
+ var args158, tool$walletsCreate;
96389
98681
  var init_walletsCreate2 = __esm(() => {
96390
98682
  init_walletsCreate();
96391
98683
  init_operations();
96392
98684
  init_tools();
96393
- args152 = {
98685
+ args158 = {
96394
98686
  request: CreateWalletRequest$inboundSchema
96395
98687
  };
96396
98688
  tool$walletsCreate = {
@@ -96401,9 +98693,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
96401
98693
 
96402
98694
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96403
98695
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
96404
- args: args152,
96405
- tool: async (client, args153, ctx) => {
96406
- const [result, apiCall] = await walletsCreate(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98696
+ args: args158,
98697
+ tool: async (client, args159, ctx) => {
98698
+ const [result, apiCall] = await walletsCreate(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96407
98699
  if (!result.ok) {
96408
98700
  return {
96409
98701
  content: [{ type: "text", text: result.error.message }],
@@ -96418,9 +98710,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
96418
98710
 
96419
98711
  // src/funcs/walletsGet.ts
96420
98712
  function walletsGet(client, request, options) {
96421
- return new APIPromise($do153(client, request, options));
98713
+ return new APIPromise($do159(client, request, options));
96422
98714
  }
96423
- async function $do153(client, request, options) {
98715
+ async function $do159(client, request, options) {
96424
98716
  const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
96425
98717
  if (!parsed.ok) {
96426
98718
  return [parsed, { status: "invalid" }];
@@ -96502,12 +98794,12 @@ var init_walletsGet = __esm(() => {
96502
98794
  });
96503
98795
 
96504
98796
  // src/mcp-server/tools/walletsGet.ts
96505
- var args153, tool$walletsGet;
98797
+ var args159, tool$walletsGet;
96506
98798
  var init_walletsGet2 = __esm(() => {
96507
98799
  init_walletsGet();
96508
98800
  init_operations();
96509
98801
  init_tools();
96510
- args153 = {
98802
+ args159 = {
96511
98803
  request: GetWalletRequest$inboundSchema
96512
98804
  };
96513
98805
  tool$walletsGet = {
@@ -96518,9 +98810,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
96518
98810
 
96519
98811
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96520
98812
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96521
- args: args153,
96522
- tool: async (client, args154, ctx) => {
96523
- const [result, apiCall] = await walletsGet(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98813
+ args: args159,
98814
+ tool: async (client, args160, ctx) => {
98815
+ const [result, apiCall] = await walletsGet(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96524
98816
  if (!result.ok) {
96525
98817
  return {
96526
98818
  content: [{ type: "text", text: result.error.message }],
@@ -96535,9 +98827,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96535
98827
 
96536
98828
  // src/funcs/walletsList.ts
96537
98829
  function walletsList(client, request, options) {
96538
- return new APIPromise($do154(client, request, options));
98830
+ return new APIPromise($do160(client, request, options));
96539
98831
  }
96540
- async function $do154(client, request, options) {
98832
+ async function $do160(client, request, options) {
96541
98833
  const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
96542
98834
  if (!parsed.ok) {
96543
98835
  return [parsed, { status: "invalid" }];
@@ -96625,12 +98917,12 @@ var init_walletsList = __esm(() => {
96625
98917
  });
96626
98918
 
96627
98919
  // src/mcp-server/tools/walletsList.ts
96628
- var args154, tool$walletsList;
98920
+ var args160, tool$walletsList;
96629
98921
  var init_walletsList2 = __esm(() => {
96630
98922
  init_walletsList();
96631
98923
  init_operations();
96632
98924
  init_tools();
96633
- args154 = {
98925
+ args160 = {
96634
98926
  request: ListWalletsRequest$inboundSchema
96635
98927
  };
96636
98928
  tool$walletsList = {
@@ -96641,9 +98933,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
96641
98933
 
96642
98934
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96643
98935
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96644
- args: args154,
96645
- tool: async (client, args155, ctx) => {
96646
- const [result, apiCall] = await walletsList(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98936
+ args: args160,
98937
+ tool: async (client, args161, ctx) => {
98938
+ const [result, apiCall] = await walletsList(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96647
98939
  if (!result.ok) {
96648
98940
  return {
96649
98941
  content: [{ type: "text", text: result.error.message }],
@@ -96658,9 +98950,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96658
98950
 
96659
98951
  // src/funcs/walletsUpdate.ts
96660
98952
  function walletsUpdate(client, request, options) {
96661
- return new APIPromise($do155(client, request, options));
98953
+ return new APIPromise($do161(client, request, options));
96662
98954
  }
96663
- async function $do155(client, request, options) {
98955
+ async function $do161(client, request, options) {
96664
98956
  const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
96665
98957
  if (!parsed.ok) {
96666
98958
  return [parsed, { status: "invalid" }];
@@ -96758,12 +99050,12 @@ var init_walletsUpdate = __esm(() => {
96758
99050
  });
96759
99051
 
96760
99052
  // src/mcp-server/tools/walletsUpdate.ts
96761
- var args155, tool$walletsUpdate;
99053
+ var args161, tool$walletsUpdate;
96762
99054
  var init_walletsUpdate2 = __esm(() => {
96763
99055
  init_walletsUpdate();
96764
99056
  init_operations();
96765
99057
  init_tools();
96766
- args155 = {
99058
+ args161 = {
96767
99059
  request: UpdateWalletRequest$inboundSchema
96768
99060
  };
96769
99061
  tool$walletsUpdate = {
@@ -96774,9 +99066,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
96774
99066
 
96775
99067
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96776
99068
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
96777
- args: args155,
96778
- tool: async (client, args156, ctx) => {
96779
- const [result, apiCall] = await walletsUpdate(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99069
+ args: args161,
99070
+ tool: async (client, args162, ctx) => {
99071
+ const [result, apiCall] = await walletsUpdate(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96780
99072
  if (!result.ok) {
96781
99073
  return {
96782
99074
  content: [{ type: "text", text: result.error.message }],
@@ -96791,9 +99083,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
96791
99083
 
96792
99084
  // src/funcs/walletTransactionsGet.ts
96793
99085
  function walletTransactionsGet(client, request, options) {
96794
- return new APIPromise($do156(client, request, options));
99086
+ return new APIPromise($do162(client, request, options));
96795
99087
  }
96796
- async function $do156(client, request, options) {
99088
+ async function $do162(client, request, options) {
96797
99089
  const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
96798
99090
  if (!parsed.ok) {
96799
99091
  return [parsed, { status: "invalid" }];
@@ -96879,12 +99171,12 @@ var init_walletTransactionsGet = __esm(() => {
96879
99171
  });
96880
99172
 
96881
99173
  // src/mcp-server/tools/walletTransactionsGet.ts
96882
- var args156, tool$walletTransactionsGet;
99174
+ var args162, tool$walletTransactionsGet;
96883
99175
  var init_walletTransactionsGet2 = __esm(() => {
96884
99176
  init_walletTransactionsGet();
96885
99177
  init_operations();
96886
99178
  init_tools();
96887
- args156 = {
99179
+ args162 = {
96888
99180
  request: GetWalletTransactionRequest$inboundSchema
96889
99181
  };
96890
99182
  tool$walletTransactionsGet = {
@@ -96895,9 +99187,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
96895
99187
 
96896
99188
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96897
99189
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96898
- args: args156,
96899
- tool: async (client, args157, ctx) => {
96900
- const [result, apiCall] = await walletTransactionsGet(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99190
+ args: args162,
99191
+ tool: async (client, args163, ctx) => {
99192
+ const [result, apiCall] = await walletTransactionsGet(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96901
99193
  if (!result.ok) {
96902
99194
  return {
96903
99195
  content: [{ type: "text", text: result.error.message }],
@@ -96912,9 +99204,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96912
99204
 
96913
99205
  // src/funcs/walletTransactionsList.ts
96914
99206
  function walletTransactionsList(client, request, options) {
96915
- return new APIPromise($do157(client, request, options));
99207
+ return new APIPromise($do163(client, request, options));
96916
99208
  }
96917
- async function $do157(client, request, options) {
99209
+ async function $do163(client, request, options) {
96918
99210
  const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
96919
99211
  if (!parsed.ok) {
96920
99212
  return [parsed, { status: "invalid" }];
@@ -97014,12 +99306,12 @@ var init_walletTransactionsList = __esm(() => {
97014
99306
  });
97015
99307
 
97016
99308
  // src/mcp-server/tools/walletTransactionsList.ts
97017
- var args157, tool$walletTransactionsList;
99309
+ var args163, tool$walletTransactionsList;
97018
99310
  var init_walletTransactionsList2 = __esm(() => {
97019
99311
  init_walletTransactionsList();
97020
99312
  init_operations();
97021
99313
  init_tools();
97022
- args157 = {
99314
+ args163 = {
97023
99315
  request: ListWalletTransactionsRequest$inboundSchema
97024
99316
  };
97025
99317
  tool$walletTransactionsList = {
@@ -97030,9 +99322,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
97030
99322
 
97031
99323
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
97032
99324
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97033
- args: args157,
97034
- tool: async (client, args158, ctx) => {
97035
- const [result, apiCall] = await walletTransactionsList(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99325
+ args: args163,
99326
+ tool: async (client, args164, ctx) => {
99327
+ const [result, apiCall] = await walletTransactionsList(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97036
99328
  if (!result.ok) {
97037
99329
  return {
97038
99330
  content: [{ type: "text", text: result.error.message }],
@@ -97047,9 +99339,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97047
99339
 
97048
99340
  // src/funcs/webhooksCreate.ts
97049
99341
  function webhooksCreate(client, request, options) {
97050
- return new APIPromise($do158(client, request, options));
99342
+ return new APIPromise($do164(client, request, options));
97051
99343
  }
97052
- async function $do158(client, request, options) {
99344
+ async function $do164(client, request, options) {
97053
99345
  const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
97054
99346
  if (!parsed.ok) {
97055
99347
  return [parsed, { status: "invalid" }];
@@ -97138,20 +99430,20 @@ var init_webhooksCreate = __esm(() => {
97138
99430
  });
97139
99431
 
97140
99432
  // src/mcp-server/tools/webhooksCreate.ts
97141
- var args158, tool$webhooksCreate;
99433
+ var args164, tool$webhooksCreate;
97142
99434
  var init_webhooksCreate2 = __esm(() => {
97143
99435
  init_webhooksCreate();
97144
99436
  init_components();
97145
99437
  init_tools();
97146
- args158 = {
99438
+ args164 = {
97147
99439
  request: CreateWebhook$inboundSchema
97148
99440
  };
97149
99441
  tool$webhooksCreate = {
97150
99442
  name: "webhooks-create",
97151
99443
  description: `Create a new webhook for the account.`,
97152
- args: args158,
97153
- tool: async (client, args159, ctx) => {
97154
- const [result, apiCall] = await webhooksCreate(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99444
+ args: args164,
99445
+ tool: async (client, args165, ctx) => {
99446
+ const [result, apiCall] = await webhooksCreate(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97155
99447
  if (!result.ok) {
97156
99448
  return {
97157
99449
  content: [{ type: "text", text: result.error.message }],
@@ -97166,9 +99458,9 @@ var init_webhooksCreate2 = __esm(() => {
97166
99458
 
97167
99459
  // src/funcs/webhooksDisable.ts
97168
99460
  function webhooksDisable(client, request, options) {
97169
- return new APIPromise($do159(client, request, options));
99461
+ return new APIPromise($do165(client, request, options));
97170
99462
  }
97171
- async function $do159(client, request, options) {
99463
+ async function $do165(client, request, options) {
97172
99464
  const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
97173
99465
  if (!parsed.ok) {
97174
99466
  return [parsed, { status: "invalid" }];
@@ -97257,20 +99549,20 @@ var init_webhooksDisable = __esm(() => {
97257
99549
  });
97258
99550
 
97259
99551
  // src/mcp-server/tools/webhooksDisable.ts
97260
- var args159, tool$webhooksDisable;
99552
+ var args165, tool$webhooksDisable;
97261
99553
  var init_webhooksDisable2 = __esm(() => {
97262
99554
  init_webhooksDisable();
97263
99555
  init_operations();
97264
99556
  init_tools();
97265
- args159 = {
99557
+ args165 = {
97266
99558
  request: DisableWebhookRequest$inboundSchema
97267
99559
  };
97268
99560
  tool$webhooksDisable = {
97269
99561
  name: "webhooks-disable",
97270
99562
  description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
97271
- args: args159,
97272
- tool: async (client, args160, ctx) => {
97273
- const [result, apiCall] = await webhooksDisable(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99563
+ args: args165,
99564
+ tool: async (client, args166, ctx) => {
99565
+ const [result, apiCall] = await webhooksDisable(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97274
99566
  if (!result.ok) {
97275
99567
  return {
97276
99568
  content: [{ type: "text", text: result.error.message }],
@@ -97284,9 +99576,9 @@ var init_webhooksDisable2 = __esm(() => {
97284
99576
 
97285
99577
  // src/funcs/webhooksGet.ts
97286
99578
  function webhooksGet(client, request, options) {
97287
- return new APIPromise($do160(client, request, options));
99579
+ return new APIPromise($do166(client, request, options));
97288
99580
  }
97289
- async function $do160(client, request, options) {
99581
+ async function $do166(client, request, options) {
97290
99582
  const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
97291
99583
  if (!parsed.ok) {
97292
99584
  return [parsed, { status: "invalid" }];
@@ -97364,20 +99656,20 @@ var init_webhooksGet = __esm(() => {
97364
99656
  });
97365
99657
 
97366
99658
  // src/mcp-server/tools/webhooksGet.ts
97367
- var args160, tool$webhooksGet;
99659
+ var args166, tool$webhooksGet;
97368
99660
  var init_webhooksGet2 = __esm(() => {
97369
99661
  init_webhooksGet();
97370
99662
  init_operations();
97371
99663
  init_tools();
97372
- args160 = {
99664
+ args166 = {
97373
99665
  request: GetWebhookRequest$inboundSchema
97374
99666
  };
97375
99667
  tool$webhooksGet = {
97376
99668
  name: "webhooks-get",
97377
99669
  description: `Get details of a specific webhook.`,
97378
- args: args160,
97379
- tool: async (client, args161, ctx) => {
97380
- const [result, apiCall] = await webhooksGet(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99670
+ args: args166,
99671
+ tool: async (client, args167, ctx) => {
99672
+ const [result, apiCall] = await webhooksGet(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97381
99673
  if (!result.ok) {
97382
99674
  return {
97383
99675
  content: [{ type: "text", text: result.error.message }],
@@ -97392,9 +99684,9 @@ var init_webhooksGet2 = __esm(() => {
97392
99684
 
97393
99685
  // src/funcs/webhooksGetSecret.ts
97394
99686
  function webhooksGetSecret(client, request, options) {
97395
- return new APIPromise($do161(client, request, options));
99687
+ return new APIPromise($do167(client, request, options));
97396
99688
  }
97397
- async function $do161(client, request, options) {
99689
+ async function $do167(client, request, options) {
97398
99690
  const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
97399
99691
  if (!parsed.ok) {
97400
99692
  return [parsed, { status: "invalid" }];
@@ -97472,20 +99764,20 @@ var init_webhooksGetSecret = __esm(() => {
97472
99764
  });
97473
99765
 
97474
99766
  // src/mcp-server/tools/webhooksGetSecret.ts
97475
- var args161, tool$webhooksGetSecret;
99767
+ var args167, tool$webhooksGetSecret;
97476
99768
  var init_webhooksGetSecret2 = __esm(() => {
97477
99769
  init_webhooksGetSecret();
97478
99770
  init_operations();
97479
99771
  init_tools();
97480
- args161 = {
99772
+ args167 = {
97481
99773
  request: GetWebhookSecretRequest$inboundSchema
97482
99774
  };
97483
99775
  tool$webhooksGetSecret = {
97484
99776
  name: "webhooks-get-secret",
97485
99777
  description: `Get the secret key for verifying webhook payloads.`,
97486
- args: args161,
97487
- tool: async (client, args162, ctx) => {
97488
- const [result, apiCall] = await webhooksGetSecret(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99778
+ args: args167,
99779
+ tool: async (client, args168, ctx) => {
99780
+ const [result, apiCall] = await webhooksGetSecret(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97489
99781
  if (!result.ok) {
97490
99782
  return {
97491
99783
  content: [{ type: "text", text: result.error.message }],
@@ -97500,9 +99792,9 @@ var init_webhooksGetSecret2 = __esm(() => {
97500
99792
 
97501
99793
  // src/funcs/webhooksList.ts
97502
99794
  function webhooksList(client, _request, options) {
97503
- return new APIPromise($do162(client, _request, options));
99795
+ return new APIPromise($do168(client, _request, options));
97504
99796
  }
97505
- async function $do162(client, _request, options) {
99797
+ async function $do168(client, _request, options) {
97506
99798
  const path = pathToFunc("/webhooks")();
97507
99799
  const headers = new Headers(compactMap({
97508
99800
  Accept: "application/json",
@@ -97566,20 +99858,20 @@ var init_webhooksList = __esm(() => {
97566
99858
  });
97567
99859
 
97568
99860
  // src/mcp-server/tools/webhooksList.ts
97569
- var args162, tool$webhooksList;
99861
+ var args168, tool$webhooksList;
97570
99862
  var init_webhooksList2 = __esm(() => {
97571
99863
  init_webhooksList();
97572
99864
  init_operations();
97573
99865
  init_tools();
97574
- args162 = {
99866
+ args168 = {
97575
99867
  request: ListWebhooksRequest$inboundSchema
97576
99868
  };
97577
99869
  tool$webhooksList = {
97578
99870
  name: "webhooks-list",
97579
99871
  description: `List all webhooks configured for the account.`,
97580
- args: args162,
97581
- tool: async (client, args163, ctx) => {
97582
- const [result, apiCall] = await webhooksList(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99872
+ args: args168,
99873
+ tool: async (client, args169, ctx) => {
99874
+ const [result, apiCall] = await webhooksList(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97583
99875
  if (!result.ok) {
97584
99876
  return {
97585
99877
  content: [{ type: "text", text: result.error.message }],
@@ -97594,9 +99886,9 @@ var init_webhooksList2 = __esm(() => {
97594
99886
 
97595
99887
  // src/funcs/webhooksListEventTypes.ts
97596
99888
  function webhooksListEventTypes(client, _request, options) {
97597
- return new APIPromise($do163(client, _request, options));
99889
+ return new APIPromise($do169(client, _request, options));
97598
99890
  }
97599
- async function $do163(client, _request, options) {
99891
+ async function $do169(client, _request, options) {
97600
99892
  const path = pathToFunc("/event-types")();
97601
99893
  const headers = new Headers(compactMap({
97602
99894
  Accept: "application/json",
@@ -97660,20 +99952,20 @@ var init_webhooksListEventTypes = __esm(() => {
97660
99952
  });
97661
99953
 
97662
99954
  // src/mcp-server/tools/webhooksListEventTypes.ts
97663
- var args163, tool$webhooksListEventTypes;
99955
+ var args169, tool$webhooksListEventTypes;
97664
99956
  var init_webhooksListEventTypes2 = __esm(() => {
97665
99957
  init_webhooksListEventTypes();
97666
99958
  init_operations();
97667
99959
  init_tools();
97668
- args163 = {
99960
+ args169 = {
97669
99961
  request: ListEventTypesRequest$inboundSchema
97670
99962
  };
97671
99963
  tool$webhooksListEventTypes = {
97672
99964
  name: "webhooks-list-event-types",
97673
99965
  description: `List all available event types that can be subscribed to.`,
97674
- args: args163,
97675
- tool: async (client, args164, ctx) => {
97676
- const [result, apiCall] = await webhooksListEventTypes(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99966
+ args: args169,
99967
+ tool: async (client, args170, ctx) => {
99968
+ const [result, apiCall] = await webhooksListEventTypes(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97677
99969
  if (!result.ok) {
97678
99970
  return {
97679
99971
  content: [{ type: "text", text: result.error.message }],
@@ -97688,9 +99980,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
97688
99980
 
97689
99981
  // src/funcs/webhooksPing.ts
97690
99982
  function webhooksPing(client, request, options) {
97691
- return new APIPromise($do164(client, request, options));
99983
+ return new APIPromise($do170(client, request, options));
97692
99984
  }
97693
- async function $do164(client, request, options) {
99985
+ async function $do170(client, request, options) {
97694
99986
  const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
97695
99987
  if (!parsed.ok) {
97696
99988
  return [parsed, { status: "invalid" }];
@@ -97768,20 +100060,20 @@ var init_webhooksPing = __esm(() => {
97768
100060
  });
97769
100061
 
97770
100062
  // src/mcp-server/tools/webhooksPing.ts
97771
- var args164, tool$webhooksPing;
100063
+ var args170, tool$webhooksPing;
97772
100064
  var init_webhooksPing2 = __esm(() => {
97773
100065
  init_webhooksPing();
97774
100066
  init_operations();
97775
100067
  init_tools();
97776
- args164 = {
100068
+ args170 = {
97777
100069
  request: PingWebhookRequest$inboundSchema
97778
100070
  };
97779
100071
  tool$webhooksPing = {
97780
100072
  name: "webhooks-ping",
97781
100073
  description: `Send a test ping to a webhook to verify it is configured correctly.`,
97782
- args: args164,
97783
- tool: async (client, args165, ctx) => {
97784
- const [result, apiCall] = await webhooksPing(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100074
+ args: args170,
100075
+ tool: async (client, args171, ctx) => {
100076
+ const [result, apiCall] = await webhooksPing(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97785
100077
  if (!result.ok) {
97786
100078
  return {
97787
100079
  content: [{ type: "text", text: result.error.message }],
@@ -97796,9 +100088,9 @@ var init_webhooksPing2 = __esm(() => {
97796
100088
 
97797
100089
  // src/funcs/webhooksUpdate.ts
97798
100090
  function webhooksUpdate(client, request, options) {
97799
- return new APIPromise($do165(client, request, options));
100091
+ return new APIPromise($do171(client, request, options));
97800
100092
  }
97801
- async function $do165(client, request, options) {
100093
+ async function $do171(client, request, options) {
97802
100094
  const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
97803
100095
  if (!parsed.ok) {
97804
100096
  return [parsed, { status: "invalid" }];
@@ -97892,20 +100184,20 @@ var init_webhooksUpdate = __esm(() => {
97892
100184
  });
97893
100185
 
97894
100186
  // src/mcp-server/tools/webhooksUpdate.ts
97895
- var args165, tool$webhooksUpdate;
100187
+ var args171, tool$webhooksUpdate;
97896
100188
  var init_webhooksUpdate2 = __esm(() => {
97897
100189
  init_webhooksUpdate();
97898
100190
  init_operations();
97899
100191
  init_tools();
97900
- args165 = {
100192
+ args171 = {
97901
100193
  request: UpdateWebhookRequest$inboundSchema
97902
100194
  };
97903
100195
  tool$webhooksUpdate = {
97904
100196
  name: "webhooks-update",
97905
100197
  description: `Update an existing webhook.`,
97906
- args: args165,
97907
- tool: async (client, args166, ctx) => {
97908
- const [result, apiCall] = await webhooksUpdate(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100198
+ args: args171,
100199
+ tool: async (client, args172, ctx) => {
100200
+ const [result, apiCall] = await webhooksUpdate(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97909
100201
  if (!result.ok) {
97910
100202
  return {
97911
100203
  content: [{ type: "text", text: result.error.message }],
@@ -97922,7 +100214,7 @@ var init_webhooksUpdate2 = __esm(() => {
97922
100214
  function createMCPServer(deps) {
97923
100215
  const server = new McpServer({
97924
100216
  name: "Moov",
97925
- version: "25.1.1"
100217
+ version: "25.7.0"
97926
100218
  });
97927
100219
  const client = new MoovCore({
97928
100220
  security: deps.security,
@@ -98043,6 +100335,11 @@ function createMCPServer(deps) {
98043
100335
  tool(tool$accountTerminalApplicationsList);
98044
100336
  tool(tool$accountTerminalApplicationsGet);
98045
100337
  tool(tool$accountTerminalApplicationsGetConfiguration);
100338
+ tool(tool$supportCreateTicket);
100339
+ tool(tool$supportListTickets);
100340
+ tool(tool$supportGetTicket);
100341
+ tool(tool$supportUpdateTicket);
100342
+ tool(tool$supportListTicketMessages);
98046
100343
  tool(tool$transfersGenerateOptions);
98047
100344
  tool(tool$transfersCreate);
98048
100345
  tool(tool$transfersList);
@@ -98055,6 +100352,7 @@ function createMCPServer(deps) {
98055
100352
  tool(tool$transfersGetRefund);
98056
100353
  tool(tool$transfersCreateReversal);
98057
100354
  tool(tool$underwritingGet);
100355
+ tool(tool$underwritingSave);
98058
100356
  tool(tool$underwritingUpsert);
98059
100357
  tool(tool$walletsCreate);
98060
100358
  tool(tool$walletsList);
@@ -98236,6 +100534,11 @@ var init_server2 = __esm(() => {
98236
100534
  init_schedulingUpdate2();
98237
100535
  init_statementsGet2();
98238
100536
  init_statementsList2();
100537
+ init_supportCreateTicket2();
100538
+ init_supportGetTicket2();
100539
+ init_supportListTicketMessages2();
100540
+ init_supportListTickets2();
100541
+ init_supportUpdateTicket2();
98239
100542
  init_sweepsCreateConfig2();
98240
100543
  init_sweepsGet2();
98241
100544
  init_sweepsGetConfig2();
@@ -98259,6 +100562,7 @@ var init_server2 = __esm(() => {
98259
100562
  init_transfersListRefunds2();
98260
100563
  init_transfersUpdate2();
98261
100564
  init_underwritingGet2();
100565
+ init_underwritingSave2();
98262
100566
  init_underwritingUpsert2();
98263
100567
  init_walletsCreate2();
98264
100568
  init_walletsGet2();
@@ -99476,7 +101780,7 @@ var routes = rn({
99476
101780
  var app = Ve(routes, {
99477
101781
  name: "mcp",
99478
101782
  versionInfo: {
99479
- currentVersion: "25.1.1"
101783
+ currentVersion: "25.7.0"
99480
101784
  }
99481
101785
  });
99482
101786
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -99484,5 +101788,5 @@ export {
99484
101788
  app
99485
101789
  };
99486
101790
 
99487
- //# debugId=25F4961CC34359C064756E2164756E21
101791
+ //# debugId=65F5F4DE937537EE64756E2164756E21
99488
101792
  //# sourceMappingURL=mcp-server.js.map