@moovio/sdk 25.4.0 → 25.10.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 (454) hide show
  1. package/README.md +135 -47
  2. package/bin/mcp-server.js +2711 -483
  3. package/bin/mcp-server.js.map +90 -20
  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/lib/config.js.map +1 -1
  33. package/mcp-server/mcp-server.js +1 -1
  34. package/mcp-server/mcp-server.js.map +1 -1
  35. package/mcp-server/server.d.ts.map +1 -1
  36. package/mcp-server/server.js +13 -1
  37. package/mcp-server/server.js.map +1 -1
  38. package/mcp-server/tools/supportCreateTicket.d.ts +8 -0
  39. package/mcp-server/tools/supportCreateTicket.d.ts.map +1 -0
  40. package/mcp-server/tools/supportCreateTicket.js +68 -0
  41. package/mcp-server/tools/supportCreateTicket.js.map +1 -0
  42. package/mcp-server/tools/supportGetTicket.d.ts +8 -0
  43. package/mcp-server/tools/supportGetTicket.d.ts.map +1 -0
  44. package/mcp-server/tools/supportGetTicket.js +68 -0
  45. package/mcp-server/tools/supportGetTicket.js.map +1 -0
  46. package/mcp-server/tools/supportListTicketMessages.d.ts +8 -0
  47. package/mcp-server/tools/supportListTicketMessages.d.ts.map +1 -0
  48. package/mcp-server/tools/supportListTicketMessages.js +68 -0
  49. package/mcp-server/tools/supportListTicketMessages.js.map +1 -0
  50. package/mcp-server/tools/supportListTickets.d.ts +8 -0
  51. package/mcp-server/tools/supportListTickets.d.ts.map +1 -0
  52. package/mcp-server/tools/supportListTickets.js +68 -0
  53. package/mcp-server/tools/supportListTickets.js.map +1 -0
  54. package/mcp-server/tools/supportUpdateTicket.d.ts +8 -0
  55. package/mcp-server/tools/supportUpdateTicket.d.ts.map +1 -0
  56. package/mcp-server/tools/supportUpdateTicket.js +68 -0
  57. package/mcp-server/tools/supportUpdateTicket.js.map +1 -0
  58. package/mcp-server/tools/underwritingSave.d.ts +8 -0
  59. package/mcp-server/tools/underwritingSave.d.ts.map +1 -0
  60. package/mcp-server/tools/underwritingSave.js +67 -0
  61. package/mcp-server/tools/underwritingSave.js.map +1 -0
  62. package/models/components/accounttype.d.ts +1 -0
  63. package/models/components/accounttype.d.ts.map +1 -1
  64. package/models/components/accounttype.js +1 -0
  65. package/models/components/accounttype.js.map +1 -1
  66. package/models/components/bankaccountholdertype.d.ts +1 -0
  67. package/models/components/bankaccountholdertype.d.ts.map +1 -1
  68. package/models/components/bankaccountholdertype.js +1 -0
  69. package/models/components/bankaccountholdertype.js.map +1 -1
  70. package/models/components/businesspresence.d.ts +16 -0
  71. package/models/components/businesspresence.d.ts.map +1 -0
  72. package/models/components/businesspresence.js +53 -0
  73. package/models/components/businesspresence.js.map +1 -0
  74. package/models/components/capabilityid.d.ts +11 -0
  75. package/models/components/capabilityid.d.ts.map +1 -1
  76. package/models/components/capabilityid.js +11 -0
  77. package/models/components/capabilityid.js.map +1 -1
  78. package/models/components/cardacceptancemethods.d.ts +33 -0
  79. package/models/components/cardacceptancemethods.d.ts.map +1 -0
  80. package/models/components/cardacceptancemethods.js +62 -0
  81. package/models/components/cardacceptancemethods.js.map +1 -0
  82. package/models/components/cardacceptancemethodserror.d.ts +21 -0
  83. package/models/components/cardacceptancemethodserror.d.ts.map +1 -0
  84. package/models/components/cardacceptancemethodserror.js +62 -0
  85. package/models/components/cardacceptancemethodserror.js.map +1 -0
  86. package/models/components/collectfunds.d.ts +21 -0
  87. package/models/components/collectfunds.d.ts.map +1 -0
  88. package/models/components/collectfunds.js +62 -0
  89. package/models/components/collectfunds.js.map +1 -0
  90. package/models/components/collectfundsach.d.ts +18 -0
  91. package/models/components/collectfundsach.d.ts.map +1 -0
  92. package/models/components/collectfundsach.js +59 -0
  93. package/models/components/collectfundsach.js.map +1 -0
  94. package/models/components/collectfundsacherror.d.ts +18 -0
  95. package/models/components/collectfundsacherror.d.ts.map +1 -0
  96. package/models/components/collectfundsacherror.js +59 -0
  97. package/models/components/collectfundsacherror.js.map +1 -0
  98. package/models/components/collectfundscardpayments.d.ts +32 -0
  99. package/models/components/collectfundscardpayments.d.ts.map +1 -0
  100. package/models/components/collectfundscardpayments.js +70 -0
  101. package/models/components/collectfundscardpayments.js.map +1 -0
  102. package/models/components/collectfundscardpaymentserror.d.ts +28 -0
  103. package/models/components/collectfundscardpaymentserror.d.ts.map +1 -0
  104. package/models/components/collectfundscardpaymentserror.js +69 -0
  105. package/models/components/collectfundscardpaymentserror.js.map +1 -0
  106. package/models/components/collectfundserror.d.ts +21 -0
  107. package/models/components/collectfundserror.d.ts.map +1 -0
  108. package/models/components/collectfundserror.js +62 -0
  109. package/models/components/collectfundserror.js.map +1 -0
  110. package/models/components/createaccount.d.ts +2 -5
  111. package/models/components/createaccount.d.ts.map +1 -1
  112. package/models/components/createaccount.js +3 -3
  113. package/models/components/createaccount.js.map +1 -1
  114. package/models/components/createaccounttype.d.ts +12 -0
  115. package/models/components/createaccounttype.d.ts.map +1 -0
  116. package/models/components/createaccounttype.js +49 -0
  117. package/models/components/createaccounttype.js.map +1 -0
  118. package/models/components/createticket.d.ts +29 -0
  119. package/models/components/createticket.d.ts.map +1 -0
  120. package/models/components/createticket.js +67 -0
  121. package/models/components/createticket.js.map +1 -0
  122. package/models/components/createticketcontacterror.d.ts +19 -0
  123. package/models/components/createticketcontacterror.d.ts.map +1 -0
  124. package/models/components/createticketcontacterror.js +60 -0
  125. package/models/components/createticketcontacterror.js.map +1 -0
  126. package/models/components/enrichedindustries.d.ts +3 -3
  127. package/models/components/enrichedindustries.js +3 -3
  128. package/models/components/estimatedactivity.d.ts +25 -0
  129. package/models/components/estimatedactivity.d.ts.map +1 -0
  130. package/models/components/estimatedactivity.js +63 -0
  131. package/models/components/estimatedactivity.js.map +1 -0
  132. package/models/components/estimatedactivityerror.d.ts +21 -0
  133. package/models/components/estimatedactivityerror.d.ts.map +1 -0
  134. package/models/components/estimatedactivityerror.js +62 -0
  135. package/models/components/estimatedactivityerror.js.map +1 -0
  136. package/models/components/fulfillment.d.ts +21 -0
  137. package/models/components/fulfillment.d.ts.map +1 -0
  138. package/models/components/fulfillment.js +62 -0
  139. package/models/components/fulfillment.js.map +1 -0
  140. package/models/components/fulfillmenterror.d.ts +19 -0
  141. package/models/components/fulfillmenterror.d.ts.map +1 -0
  142. package/models/components/{enrichedindustry.js → fulfillmenterror.js} +14 -18
  143. package/models/components/fulfillmenterror.js.map +1 -0
  144. package/models/components/fulfillmentmethod.d.ts +19 -0
  145. package/models/components/fulfillmentmethod.d.ts.map +1 -0
  146. package/models/components/fulfillmentmethod.js +56 -0
  147. package/models/components/fulfillmentmethod.js.map +1 -0
  148. package/models/components/fulfillmenttimeframe.d.ts +18 -0
  149. package/models/components/fulfillmenttimeframe.d.ts.map +1 -0
  150. package/models/components/fulfillmenttimeframe.js +55 -0
  151. package/models/components/fulfillmenttimeframe.js.map +1 -0
  152. package/models/components/geographicreach.d.ts +13 -0
  153. package/models/components/geographicreach.d.ts.map +1 -0
  154. package/models/components/geographicreach.js +50 -0
  155. package/models/components/geographicreach.js.map +1 -0
  156. package/models/components/guestprofile.d.ts +31 -0
  157. package/models/components/guestprofile.d.ts.map +1 -0
  158. package/models/components/guestprofile.js +63 -0
  159. package/models/components/guestprofile.js.map +1 -0
  160. package/models/components/index.d.ts +50 -1
  161. package/models/components/index.d.ts.map +1 -1
  162. package/models/components/index.js +50 -1
  163. package/models/components/index.js.map +1 -1
  164. package/models/components/industrytaxonomy.d.ts +43 -0
  165. package/models/components/industrytaxonomy.d.ts.map +1 -0
  166. package/models/components/industrytaxonomy.js +66 -0
  167. package/models/components/industrytaxonomy.js.map +1 -0
  168. package/models/components/itemlistnextpage.d.ts +20 -0
  169. package/models/components/itemlistnextpage.d.ts.map +1 -0
  170. package/models/components/itemlistnextpage.js +58 -0
  171. package/models/components/itemlistnextpage.js.map +1 -0
  172. package/models/components/moneytransfer.d.ts +21 -0
  173. package/models/components/moneytransfer.d.ts.map +1 -0
  174. package/models/components/moneytransfer.js +62 -0
  175. package/models/components/moneytransfer.js.map +1 -0
  176. package/models/components/moneytransfererror.d.ts +21 -0
  177. package/models/components/moneytransfererror.d.ts.map +1 -0
  178. package/models/components/moneytransfererror.js +62 -0
  179. package/models/components/moneytransfererror.js.map +1 -0
  180. package/models/components/moneytransferpullfromcard.d.ts +18 -0
  181. package/models/components/moneytransferpullfromcard.d.ts.map +1 -0
  182. package/models/components/moneytransferpullfromcard.js +59 -0
  183. package/models/components/moneytransferpullfromcard.js.map +1 -0
  184. package/models/components/moneytransferpullfromcarderror.d.ts +18 -0
  185. package/models/components/moneytransferpullfromcarderror.d.ts.map +1 -0
  186. package/models/components/moneytransferpullfromcarderror.js +59 -0
  187. package/models/components/moneytransferpullfromcarderror.js.map +1 -0
  188. package/models/components/moneytransferpushtocard.d.ts +18 -0
  189. package/models/components/moneytransferpushtocard.d.ts.map +1 -0
  190. package/models/components/moneytransferpushtocard.js +59 -0
  191. package/models/components/moneytransferpushtocard.js.map +1 -0
  192. package/models/components/moneytransferpushtocarderror.d.ts +18 -0
  193. package/models/components/moneytransferpushtocarderror.d.ts.map +1 -0
  194. package/models/components/moneytransferpushtocarderror.js +59 -0
  195. package/models/components/moneytransferpushtocarderror.js.map +1 -0
  196. package/models/components/monthlyvolumerange.d.ts +24 -0
  197. package/models/components/monthlyvolumerange.d.ts.map +1 -0
  198. package/models/components/monthlyvolumerange.js +58 -0
  199. package/models/components/monthlyvolumerange.js.map +1 -0
  200. package/models/components/pendinglitigation.d.ts +20 -0
  201. package/models/components/pendinglitigation.d.ts.map +1 -0
  202. package/models/components/pendinglitigation.js +57 -0
  203. package/models/components/pendinglitigation.js.map +1 -0
  204. package/models/components/profile.d.ts +6 -0
  205. package/models/components/profile.d.ts.map +1 -1
  206. package/models/components/profile.js +3 -0
  207. package/models/components/profile.js.map +1 -1
  208. package/models/components/refundpolicy.d.ts +19 -0
  209. package/models/components/refundpolicy.d.ts.map +1 -0
  210. package/models/components/refundpolicy.js +56 -0
  211. package/models/components/refundpolicy.js.map +1 -0
  212. package/models/components/requirementid.d.ts +54 -0
  213. package/models/components/requirementid.d.ts.map +1 -1
  214. package/models/components/requirementid.js +54 -0
  215. package/models/components/requirementid.js.map +1 -1
  216. package/models/components/sendfunds.d.ts +27 -0
  217. package/models/components/sendfunds.d.ts.map +1 -0
  218. package/models/components/sendfunds.js +68 -0
  219. package/models/components/sendfunds.js.map +1 -0
  220. package/models/components/sendfundsach.d.ts +18 -0
  221. package/models/components/sendfundsach.d.ts.map +1 -0
  222. package/models/components/sendfundsach.js +59 -0
  223. package/models/components/sendfundsach.js.map +1 -0
  224. package/models/components/sendfundsacherror.d.ts +18 -0
  225. package/models/components/sendfundsacherror.d.ts.map +1 -0
  226. package/models/components/sendfundsacherror.js +59 -0
  227. package/models/components/sendfundsacherror.js.map +1 -0
  228. package/models/components/sendfundserror.d.ts +27 -0
  229. package/models/components/sendfundserror.d.ts.map +1 -0
  230. package/models/components/sendfundserror.js +68 -0
  231. package/models/components/sendfundserror.js.map +1 -0
  232. package/models/components/sendfundsinstantbank.d.ts +18 -0
  233. package/models/components/sendfundsinstantbank.d.ts.map +1 -0
  234. package/models/components/sendfundsinstantbank.js +59 -0
  235. package/models/components/sendfundsinstantbank.js.map +1 -0
  236. package/models/components/sendfundsinstantbankerror.d.ts +18 -0
  237. package/models/components/sendfundsinstantbankerror.d.ts.map +1 -0
  238. package/models/components/sendfundsinstantbankerror.js +59 -0
  239. package/models/components/sendfundsinstantbankerror.js.map +1 -0
  240. package/models/components/sendfundspushtocard.d.ts +18 -0
  241. package/models/components/sendfundspushtocard.d.ts.map +1 -0
  242. package/models/components/sendfundspushtocard.js +59 -0
  243. package/models/components/sendfundspushtocard.js.map +1 -0
  244. package/models/components/sendfundspushtocarderror.d.ts +18 -0
  245. package/models/components/sendfundspushtocarderror.d.ts.map +1 -0
  246. package/models/components/sendfundspushtocarderror.js +59 -0
  247. package/models/components/sendfundspushtocarderror.js.map +1 -0
  248. package/models/components/sendfundsrtp.d.ts +18 -0
  249. package/models/components/sendfundsrtp.d.ts.map +1 -0
  250. package/models/components/sendfundsrtp.js +59 -0
  251. package/models/components/sendfundsrtp.js.map +1 -0
  252. package/models/components/sendfundsrtperror.d.ts +18 -0
  253. package/models/components/sendfundsrtperror.d.ts.map +1 -0
  254. package/models/components/sendfundsrtperror.js +59 -0
  255. package/models/components/sendfundsrtperror.js.map +1 -0
  256. package/models/components/submissionintent.d.ts +12 -0
  257. package/models/components/submissionintent.d.ts.map +1 -0
  258. package/models/components/submissionintent.js +49 -0
  259. package/models/components/submissionintent.js.map +1 -0
  260. package/models/components/ticket.d.ts +37 -0
  261. package/models/components/ticket.d.ts.map +1 -0
  262. package/models/components/ticket.js +80 -0
  263. package/models/components/ticket.js.map +1 -0
  264. package/models/components/ticketcontact.d.ts +19 -0
  265. package/models/components/ticketcontact.d.ts.map +1 -0
  266. package/models/components/ticketcontact.js +60 -0
  267. package/models/components/ticketcontact.js.map +1 -0
  268. package/models/components/ticketmessage.d.ts +21 -0
  269. package/models/components/ticketmessage.d.ts.map +1 -0
  270. package/models/components/ticketmessage.js +62 -0
  271. package/models/components/ticketmessage.js.map +1 -0
  272. package/models/components/underwriting.d.ts +35 -14
  273. package/models/components/underwriting.d.ts.map +1 -1
  274. package/models/components/underwriting.js +36 -14
  275. package/models/components/underwriting.js.map +1 -1
  276. package/models/components/updateticket.d.ts +21 -0
  277. package/models/components/updateticket.d.ts.map +1 -0
  278. package/models/components/updateticket.js +59 -0
  279. package/models/components/updateticket.js.map +1 -0
  280. package/models/components/updateticketstatus.d.ts +11 -0
  281. package/models/components/updateticketstatus.d.ts.map +1 -0
  282. package/models/components/updateticketstatus.js +48 -0
  283. package/models/components/updateticketstatus.js.map +1 -0
  284. package/models/components/upsertunderwriting.d.ts +39 -0
  285. package/models/components/upsertunderwriting.d.ts.map +1 -0
  286. package/models/components/upsertunderwriting.js +81 -0
  287. package/models/components/upsertunderwriting.js.map +1 -0
  288. package/models/components/volumesharebycustomertype.d.ts +21 -0
  289. package/models/components/volumesharebycustomertype.d.ts.map +1 -0
  290. package/models/components/volumesharebycustomertype.js +62 -0
  291. package/models/components/volumesharebycustomertype.js.map +1 -0
  292. package/models/components/volumesharebycustomertypeerror.d.ts +21 -0
  293. package/models/components/volumesharebycustomertypeerror.d.ts.map +1 -0
  294. package/models/components/volumesharebycustomertypeerror.js +62 -0
  295. package/models/components/volumesharebycustomertypeerror.js.map +1 -0
  296. package/models/errors/createticketerror.d.ts +36 -0
  297. package/models/errors/createticketerror.d.ts.map +1 -0
  298. package/models/errors/createticketerror.js +90 -0
  299. package/models/errors/createticketerror.js.map +1 -0
  300. package/models/errors/index.d.ts +3 -0
  301. package/models/errors/index.d.ts.map +1 -1
  302. package/models/errors/index.js +3 -0
  303. package/models/errors/index.js.map +1 -1
  304. package/models/errors/updateticketerror.d.ts +24 -0
  305. package/models/errors/updateticketerror.d.ts.map +1 -0
  306. package/models/errors/updateticketerror.js +75 -0
  307. package/models/errors/updateticketerror.js.map +1 -0
  308. package/models/errors/upsertunderwritingerror.d.ts +64 -0
  309. package/models/errors/upsertunderwritingerror.d.ts.map +1 -0
  310. package/models/errors/upsertunderwritingerror.js +143 -0
  311. package/models/errors/upsertunderwritingerror.js.map +1 -0
  312. package/models/operations/createticket.d.ts +66 -0
  313. package/models/operations/createticket.d.ts.map +1 -0
  314. package/models/operations/createticket.js +122 -0
  315. package/models/operations/createticket.js.map +1 -0
  316. package/models/operations/getticket.d.ts +66 -0
  317. package/models/operations/getticket.d.ts.map +1 -0
  318. package/models/operations/getticket.js +114 -0
  319. package/models/operations/getticket.js.map +1 -0
  320. package/models/operations/index.d.ts +6 -0
  321. package/models/operations/index.d.ts.map +1 -1
  322. package/models/operations/index.js +6 -0
  323. package/models/operations/index.js.map +1 -1
  324. package/models/operations/listaccounts.d.ts +1 -1
  325. package/models/operations/listaccounts.d.ts.map +1 -1
  326. package/models/operations/listaccounts.js +2 -2
  327. package/models/operations/listaccounts.js.map +1 -1
  328. package/models/operations/listconnectedaccountsforaccount.d.ts +1 -1
  329. package/models/operations/listconnectedaccountsforaccount.d.ts.map +1 -1
  330. package/models/operations/listconnectedaccountsforaccount.js +2 -2
  331. package/models/operations/listconnectedaccountsforaccount.js.map +1 -1
  332. package/models/operations/listticketmessages.d.ts +66 -0
  333. package/models/operations/listticketmessages.d.ts.map +1 -0
  334. package/models/operations/listticketmessages.js +114 -0
  335. package/models/operations/listticketmessages.js.map +1 -0
  336. package/models/operations/listtickets.d.ts +90 -0
  337. package/models/operations/listtickets.d.ts.map +1 -0
  338. package/models/operations/listtickets.js +138 -0
  339. package/models/operations/listtickets.js.map +1 -0
  340. package/models/operations/saveunderwriting.d.ts +66 -0
  341. package/models/operations/saveunderwriting.d.ts.map +1 -0
  342. package/models/operations/saveunderwriting.js +122 -0
  343. package/models/operations/saveunderwriting.js.map +1 -0
  344. package/models/operations/updateticket.d.ts +68 -0
  345. package/models/operations/updateticket.d.ts.map +1 -0
  346. package/models/operations/updateticket.js +124 -0
  347. package/models/operations/updateticket.js.map +1 -0
  348. package/package.json +1 -1
  349. package/sdk/sdk.d.ts +3 -0
  350. package/sdk/sdk.d.ts.map +1 -1
  351. package/sdk/sdk.js +4 -0
  352. package/sdk/sdk.js.map +1 -1
  353. package/sdk/support.d.ts +55 -0
  354. package/sdk/support.d.ts.map +1 -0
  355. package/sdk/support.js +77 -0
  356. package/sdk/support.js.map +1 -0
  357. package/sdk/underwriting.d.ts +9 -0
  358. package/sdk/underwriting.d.ts.map +1 -1
  359. package/sdk/underwriting.js +12 -0
  360. package/sdk/underwriting.js.map +1 -1
  361. package/src/funcs/supportCreateTicket.ts +204 -0
  362. package/src/funcs/supportGetTicket.ts +188 -0
  363. package/src/funcs/supportListTicketMessages.ts +188 -0
  364. package/src/funcs/supportListTickets.ts +190 -0
  365. package/src/funcs/supportUpdateTicket.ts +210 -0
  366. package/src/funcs/underwritingSave.ts +207 -0
  367. package/src/lib/config.ts +3 -3
  368. package/src/mcp-server/mcp-server.ts +1 -1
  369. package/src/mcp-server/server.ts +13 -1
  370. package/src/mcp-server/tools/supportCreateTicket.ts +41 -0
  371. package/src/mcp-server/tools/supportGetTicket.ts +41 -0
  372. package/src/mcp-server/tools/supportListTicketMessages.ts +41 -0
  373. package/src/mcp-server/tools/supportListTickets.ts +41 -0
  374. package/src/mcp-server/tools/supportUpdateTicket.ts +41 -0
  375. package/src/mcp-server/tools/underwritingSave.ts +40 -0
  376. package/src/models/components/accounttype.ts +1 -0
  377. package/src/models/components/bankaccountholdertype.ts +1 -0
  378. package/src/models/components/businesspresence.ts +25 -0
  379. package/src/models/components/capabilityid.ts +11 -0
  380. package/src/models/components/cardacceptancemethods.ts +71 -0
  381. package/src/models/components/cardacceptancemethodserror.ts +59 -0
  382. package/src/models/components/collectfunds.ts +63 -0
  383. package/src/models/components/collectfundsach.ts +55 -0
  384. package/src/models/components/collectfundsacherror.ts +57 -0
  385. package/src/models/components/collectfundscardpayments.ts +93 -0
  386. package/src/models/components/collectfundscardpaymentserror.ts +87 -0
  387. package/src/models/components/collectfundserror.ts +67 -0
  388. package/src/models/components/createaccount.ts +8 -11
  389. package/src/models/components/createaccounttype.ts +21 -0
  390. package/src/models/components/createticket.ts +72 -0
  391. package/src/models/components/createticketcontacterror.ts +55 -0
  392. package/src/models/components/enrichedindustries.ts +9 -9
  393. package/src/models/components/estimatedactivity.ts +67 -0
  394. package/src/models/components/estimatedactivityerror.ts +59 -0
  395. package/src/models/components/fulfillment.ts +61 -0
  396. package/src/models/components/fulfillmenterror.ts +55 -0
  397. package/src/models/components/fulfillmentmethod.ts +28 -0
  398. package/src/models/components/fulfillmenttimeframe.ts +27 -0
  399. package/src/models/components/geographicreach.ts +22 -0
  400. package/src/models/components/guestprofile.ts +70 -0
  401. package/src/models/components/index.ts +50 -1
  402. package/src/models/components/industrytaxonomy.ts +85 -0
  403. package/src/models/components/itemlistnextpage.ts +54 -0
  404. package/src/models/components/moneytransfer.ts +63 -0
  405. package/src/models/components/moneytransfererror.ts +67 -0
  406. package/src/models/components/moneytransferpullfromcard.ts +57 -0
  407. package/src/models/components/moneytransferpullfromcarderror.ts +59 -0
  408. package/src/models/components/moneytransferpushtocard.ts +57 -0
  409. package/src/models/components/moneytransferpushtocarderror.ts +59 -0
  410. package/src/models/components/monthlyvolumerange.ts +33 -0
  411. package/src/models/components/pendinglitigation.ts +30 -0
  412. package/src/models/components/profile.ts +13 -0
  413. package/src/models/components/refundpolicy.ts +26 -0
  414. package/src/models/components/requirementid.ts +103 -0
  415. package/src/models/components/sendfunds.ts +83 -0
  416. package/src/models/components/sendfundsach.ts +53 -0
  417. package/src/models/components/sendfundsacherror.ts +57 -0
  418. package/src/models/components/sendfundserror.ts +83 -0
  419. package/src/models/components/sendfundsinstantbank.ts +57 -0
  420. package/src/models/components/sendfundsinstantbankerror.ts +57 -0
  421. package/src/models/components/sendfundspushtocard.ts +57 -0
  422. package/src/models/components/sendfundspushtocarderror.ts +57 -0
  423. package/src/models/components/sendfundsrtp.ts +53 -0
  424. package/src/models/components/sendfundsrtperror.ts +57 -0
  425. package/src/models/components/submissionintent.ts +21 -0
  426. package/src/models/components/ticket.ts +98 -0
  427. package/src/models/components/ticketcontact.ts +51 -0
  428. package/src/models/components/ticketmessage.ts +55 -0
  429. package/src/models/components/underwriting.ts +96 -28
  430. package/src/models/components/updateticket.ts +55 -0
  431. package/src/models/components/updateticketstatus.ts +20 -0
  432. package/src/models/components/upsertunderwriting.ts +124 -0
  433. package/src/models/components/volumesharebycustomertype.ts +59 -0
  434. package/src/models/components/volumesharebycustomertypeerror.ts +61 -0
  435. package/src/models/errors/createticketerror.ts +89 -0
  436. package/src/models/errors/index.ts +3 -0
  437. package/src/models/errors/updateticketerror.ts +66 -0
  438. package/src/models/errors/upsertunderwritingerror.ts +178 -0
  439. package/src/models/operations/createticket.ts +187 -0
  440. package/src/models/operations/getticket.ts +179 -0
  441. package/src/models/operations/index.ts +6 -0
  442. package/src/models/operations/listaccounts.ts +3 -3
  443. package/src/models/operations/listconnectedaccountsforaccount.ts +3 -3
  444. package/src/models/operations/listticketmessages.ts +179 -0
  445. package/src/models/operations/listtickets.ts +241 -0
  446. package/src/models/operations/saveunderwriting.ts +187 -0
  447. package/src/models/operations/updateticket.ts +191 -0
  448. package/src/sdk/sdk.ts +6 -0
  449. package/src/sdk/support.ts +114 -0
  450. package/src/sdk/underwriting.ts +20 -0
  451. package/models/components/enrichedindustry.d.ts +0 -35
  452. package/models/components/enrichedindustry.d.ts.map +0 -1
  453. package/models/components/enrichedindustry.js.map +0 -1
  454. 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.04.00",
52416
- sdkVersion: "25.4.0",
52415
+ openapiDocVersion: "v2025.10.00",
52416
+ sdkVersion: "25.10.0",
52417
52417
  genVersion: "2.803.3",
52418
- userAgent: "speakeasy-sdk/typescript 25.4.0 2.803.3 v2025.04.00 @moovio/sdk"
52418
+ userAgent: "speakeasy-sdk/typescript 25.10.0 2.803.3 v2025.10.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;
@@ -58754,6 +58787,22 @@ var init_brandproperties = __esm(() => {
58754
58787
  });
58755
58788
  });
58756
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
+
58757
58806
  // src/models/components/calltoaction.ts
58758
58807
  var CallToAction, CallToAction$inboundSchema, CallToAction$outboundSchema;
58759
58808
  var init_calltoaction = __esm(() => {
@@ -58887,7 +58936,61 @@ var init_requirementid = __esm(() => {
58887
58936
  RepresentativeRepUuidIsController: "representative.{rep-uuid}.is-controller",
58888
58937
  RepresentativeRepUuidIsOwner: "representative.{rep-uuid}.is-owner",
58889
58938
  RepresentativeRepUuidOwnership: "representative.{rep-uuid}.ownership",
58890
- 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"
58891
58994
  };
58892
58995
  RequirementID$inboundSchema = nativeEnumType(RequirementID);
58893
58996
  RequirementID$outboundSchema = RequirementID$inboundSchema;
@@ -59134,6 +59237,38 @@ var init_card = __esm(() => {
59134
59237
  });
59135
59238
  });
59136
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
+
59137
59272
  // src/models/components/cardacquiringdispute.ts
59138
59273
  var CardAcquiringDispute$inboundSchema, CardAcquiringDispute$outboundSchema;
59139
59274
  var init_cardacquiringdispute = __esm(() => {
@@ -59619,6 +59754,248 @@ var init_cardvolumedistributionerror = __esm(() => {
59619
59754
  });
59620
59755
  });
59621
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
+
59622
59999
  // src/models/components/collectionpaymentmethodtype.ts
59623
60000
  var CollectionPaymentMethodType, CollectionPaymentMethodType$inboundSchema, CollectionPaymentMethodType$outboundSchema;
59624
60001
  var init_collectionpaymentmethodtype = __esm(() => {
@@ -59695,6 +60072,18 @@ var init_completemicrodeposits = __esm(() => {
59695
60072
  });
59696
60073
  });
59697
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
+
59698
60087
  // src/models/components/taxid.ts
59699
60088
  var Ein$inboundSchema, Ein$outboundSchema, TaxID$inboundSchema, TaxID$outboundSchema;
59700
60089
  var init_taxid = __esm(() => {
@@ -59863,15 +60252,15 @@ var init_termsofservicepayload = __esm(() => {
59863
60252
  var CreateAccount$inboundSchema, CreateAccount$outboundSchema;
59864
60253
  var init_createaccount = __esm(() => {
59865
60254
  init_esm();
59866
- init_accounttype();
59867
60255
  init_capabilityid();
60256
+ init_createaccounttype();
59868
60257
  init_createprofile();
59869
60258
  init_customersupport();
59870
60259
  init_mode();
59871
60260
  init_settings();
59872
60261
  init_termsofservicepayload();
59873
60262
  CreateAccount$inboundSchema = objectType({
59874
- accountType: AccountType$inboundSchema,
60263
+ accountType: CreateAccountType$inboundSchema,
59875
60264
  profile: CreateProfile$inboundSchema,
59876
60265
  metadata: recordType(stringType()).optional(),
59877
60266
  termsOfService: TermsOfServicePayload$inboundSchema.optional(),
@@ -59882,7 +60271,7 @@ var init_createaccount = __esm(() => {
59882
60271
  mode: Mode$inboundSchema.optional()
59883
60272
  });
59884
60273
  CreateAccount$outboundSchema = objectType({
59885
- accountType: AccountType$outboundSchema,
60274
+ accountType: CreateAccountType$outboundSchema,
59886
60275
  profile: CreateProfile$outboundSchema,
59887
60276
  metadata: recordType(stringType()).optional(),
59888
60277
  termsOfService: TermsOfServicePayload$outboundSchema.optional(),
@@ -61211,6 +61600,55 @@ var init_createterminalapplication = __esm(() => {
61211
61600
  });
61212
61601
  });
61213
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
+
61214
61652
  // src/models/components/createtransferachaddendarecord.ts
61215
61653
  var CreateTransferACHAddendaRecord$inboundSchema, CreateTransferACHAddendaRecord$outboundSchema;
61216
61654
  var init_createtransferachaddendarecord = __esm(() => {
@@ -61855,21 +62293,23 @@ var init_enrichedbusinessresponse = __esm(() => {
61855
62293
  });
61856
62294
  });
61857
62295
 
61858
- // src/models/components/enrichedindustry.ts
61859
- var EnrichedIndustry$inboundSchema, EnrichedIndustry$outboundSchema;
61860
- var init_enrichedindustry = __esm(() => {
62296
+ // src/models/components/industrytaxonomy.ts
62297
+ var IndustryTaxonomy$inboundSchema, IndustryTaxonomy$outboundSchema;
62298
+ var init_industrytaxonomy = __esm(() => {
61861
62299
  init_esm();
61862
- EnrichedIndustry$inboundSchema = objectType({
61863
- title: stringType(),
61864
- naics: stringType(),
61865
- sic: stringType(),
61866
- mcc: stringType()
62300
+ IndustryTaxonomy$inboundSchema = objectType({
62301
+ industry: stringType(),
62302
+ displayName: stringType(),
62303
+ category: stringType(),
62304
+ categoryDisplayName: stringType(),
62305
+ defaultMcc: stringType()
61867
62306
  });
61868
- EnrichedIndustry$outboundSchema = objectType({
61869
- title: stringType(),
61870
- naics: stringType(),
61871
- sic: stringType(),
61872
- mcc: stringType()
62307
+ IndustryTaxonomy$outboundSchema = objectType({
62308
+ industry: stringType(),
62309
+ displayName: stringType(),
62310
+ category: stringType(),
62311
+ categoryDisplayName: stringType(),
62312
+ defaultMcc: stringType()
61873
62313
  });
61874
62314
  });
61875
62315
 
@@ -61877,12 +62317,12 @@ var init_enrichedindustry = __esm(() => {
61877
62317
  var EnrichedIndustries$inboundSchema, EnrichedIndustries$outboundSchema;
61878
62318
  var init_enrichedindustries = __esm(() => {
61879
62319
  init_esm();
61880
- init_enrichedindustry();
62320
+ init_industrytaxonomy();
61881
62321
  EnrichedIndustries$inboundSchema = objectType({
61882
- industries: arrayType(EnrichedIndustry$inboundSchema)
62322
+ industries: arrayType(IndustryTaxonomy$inboundSchema)
61883
62323
  });
61884
62324
  EnrichedIndustries$outboundSchema = objectType({
61885
- industries: arrayType(EnrichedIndustry$outboundSchema)
62325
+ industries: arrayType(IndustryTaxonomy$outboundSchema)
61886
62326
  });
61887
62327
  });
61888
62328
 
@@ -62373,6 +62813,19 @@ var init_generatedby = __esm(() => {
62373
62813
  });
62374
62814
  });
62375
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
+
62376
62829
  // src/models/components/governmentiderror.ts
62377
62830
  var GovernmentIDErrorSsn$inboundSchema, GovernmentIDErrorSsn$outboundSchema, GovernmentIDErrorItin$inboundSchema, GovernmentIDErrorItin$outboundSchema, GovernmentIDError$inboundSchema, GovernmentIDError$outboundSchema;
62378
62831
  var init_governmentiderror = __esm(() => {
@@ -62880,6 +63333,18 @@ var init_issuingcontrolserror = __esm(() => {
62880
63333
  });
62881
63334
  });
62882
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
+
62883
63348
  // src/models/components/jsonwebkey.ts
62884
63349
  var Use, Use$inboundSchema, Use$outboundSchema, JSONWebKey$inboundSchema, JSONWebKey$outboundSchema;
62885
63350
  var init_jsonwebkey = __esm(() => {
@@ -63193,6 +63658,90 @@ var init_manualtermsofserviceupdate = __esm(() => {
63193
63658
  });
63194
63659
  });
63195
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
+
63196
63745
  // src/models/components/transferparty.ts
63197
63746
  var TransferParty, TransferParty$inboundSchema, TransferParty$outboundSchema;
63198
63747
  var init_transferparty = __esm(() => {
@@ -64184,6 +64733,26 @@ var init_payoutdetailserror = __esm(() => {
64184
64733
  });
64185
64734
  });
64186
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
+
64187
64756
  // src/models/components/webhook.ts
64188
64757
  var Webhook$inboundSchema, Webhook$outboundSchema;
64189
64758
  var init_webhook = __esm(() => {
@@ -64801,6 +65370,154 @@ var init_security2 = __esm(() => {
64801
65370
  });
64802
65371
  });
64803
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
+
64804
65521
  // src/models/components/sharescopes.ts
64805
65522
  var ShareScopes$inboundSchema, ShareScopes$outboundSchema;
64806
65523
  var init_sharescopes = __esm(() => {
@@ -64868,6 +65585,18 @@ var init_statement = __esm(() => {
64868
65585
  });
64869
65586
  });
64870
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
+
64871
65600
  // src/models/components/sweepstatus.ts
64872
65601
  var SweepStatus, SweepStatus$inboundSchema, SweepStatus$outboundSchema;
64873
65602
  var init_sweepstatus = __esm(() => {
@@ -65139,6 +65868,54 @@ var init_ticketstatus = __esm(() => {
65139
65868
  TicketStatus$outboundSchema = TicketStatus$inboundSchema;
65140
65869
  });
65141
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
+
65142
65919
  // src/models/components/transfer.ts
65143
65920
  var Transfer$inboundSchema, Transfer$outboundSchema;
65144
65921
  var init_transfer = __esm(() => {
@@ -65272,31 +66049,68 @@ var init_volumebycustomertype = __esm(() => {
65272
66049
  });
65273
66050
  });
65274
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
+
65275
66068
  // src/models/components/underwriting.ts
65276
66069
  var Underwriting$inboundSchema, Underwriting$outboundSchema;
65277
66070
  var init_underwriting = __esm(() => {
65278
66071
  init_esm();
66072
+ init_businesspresence();
65279
66073
  init_cardvolumedistribution();
66074
+ init_collectfunds();
65280
66075
  init_fulfillmentdetails();
66076
+ init_geographicreach();
66077
+ init_moneytransfer();
66078
+ init_pendinglitigation();
66079
+ init_sendfunds();
65281
66080
  init_underwritingstatus();
65282
66081
  init_volumebycustomertype();
66082
+ init_volumesharebycustomertype();
65283
66083
  Underwriting$inboundSchema = objectType({
65284
- averageTransactionSize: numberType().int(),
65285
- maxTransactionSize: numberType().int(),
65286
- averageMonthlyTransactionVolume: numberType().int(),
65287
- status: UnderwritingStatus$inboundSchema,
65288
- volumeByCustomerType: VolumeByCustomerType$inboundSchema,
65289
- cardVolumeDistribution: CardVolumeDistribution$inboundSchema,
65290
- 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()
65291
66098
  });
65292
66099
  Underwriting$outboundSchema = objectType({
65293
- averageTransactionSize: numberType().int(),
65294
- maxTransactionSize: numberType().int(),
65295
- averageMonthlyTransactionVolume: numberType().int(),
65296
- status: UnderwritingStatus$outboundSchema,
65297
- volumeByCustomerType: VolumeByCustomerType$outboundSchema,
65298
- cardVolumeDistribution: CardVolumeDistribution$outboundSchema,
65299
- 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()
65300
66114
  });
65301
66115
  });
65302
66116
 
@@ -65550,6 +66364,30 @@ var init_updaterepresentative = __esm(() => {
65550
66364
  });
65551
66365
  });
65552
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
+
65553
66391
  // src/models/components/updateunderwriting.ts
65554
66392
  var UpdateUnderwriting$inboundSchema, UpdateUnderwriting$outboundSchema;
65555
66393
  var init_updateunderwriting = __esm(() => {
@@ -65613,6 +66451,40 @@ var init_upsertschedule = __esm(() => {
65613
66451
  });
65614
66452
  });
65615
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
+
65616
66488
  // src/models/components/volumebycustomertypeerror.ts
65617
66489
  var VolumeByCustomerTypeError$inboundSchema, VolumeByCustomerTypeError$outboundSchema;
65618
66490
  var init_volumebycustomertypeerror = __esm(() => {
@@ -65627,6 +66499,22 @@ var init_volumebycustomertypeerror = __esm(() => {
65627
66499
  });
65628
66500
  });
65629
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
+
65630
66518
  // src/models/components/walletavailablebalance.ts
65631
66519
  var WalletAvailableBalance$inboundSchema, WalletAvailableBalance$outboundSchema;
65632
66520
  var init_walletavailablebalance = __esm(() => {
@@ -66666,6 +67554,7 @@ var init_components = __esm(() => {
66666
67554
  init_brandcolors();
66667
67555
  init_brandcolorvalidationerror();
66668
67556
  init_brandproperties();
67557
+ init_businesspresence();
66669
67558
  init_businessprofile();
66670
67559
  init_businesstype();
66671
67560
  init_calltoaction();
@@ -66676,6 +67565,8 @@ var init_components = __esm(() => {
66676
67565
  init_capabilityrequirement();
66677
67566
  init_capabilitystatus();
66678
67567
  init_card();
67568
+ init_cardacceptancemethods();
67569
+ init_cardacceptancemethodserror();
66679
67570
  init_cardaccountupdater();
66680
67571
  init_cardacquiringdispute();
66681
67572
  init_cardacquiringfees();
@@ -66701,6 +67592,12 @@ var init_components = __esm(() => {
66701
67592
  init_cardverificationresult();
66702
67593
  init_cardvolumedistribution();
66703
67594
  init_cardvolumedistributionerror();
67595
+ init_collectfunds();
67596
+ init_collectfundsach();
67597
+ init_collectfundsacherror();
67598
+ init_collectfundscardpayments();
67599
+ init_collectfundscardpaymentserror();
67600
+ init_collectfundserror();
66704
67601
  init_collectionpaymentmethodtype();
66705
67602
  init_colorsvalidationerror();
66706
67603
  init_completebankaccountverification();
@@ -66709,6 +67606,7 @@ var init_components = __esm(() => {
66709
67606
  init_contact();
66710
67607
  init_createaccount();
66711
67608
  init_createaccountsettings();
67609
+ init_createaccounttype();
66712
67610
  init_createapplepaysession();
66713
67611
  init_createauthorizeduser();
66714
67612
  init_createauthorizedusererror();
@@ -66743,6 +67641,8 @@ var init_components = __esm(() => {
66743
67641
  init_createscheduledtransferlineitems();
66744
67642
  init_createsweepconfig();
66745
67643
  init_createterminalapplication();
67644
+ init_createticket();
67645
+ init_createticketcontacterror();
66746
67646
  init_createtransfer();
66747
67647
  init_createtransferachaddendarecord();
66748
67648
  init_createtransferdestination();
@@ -66781,9 +67681,10 @@ var init_components = __esm(() => {
66781
67681
  init_enrichedbusinessprofile();
66782
67682
  init_enrichedbusinessresponse();
66783
67683
  init_enrichedindustries();
66784
- init_enrichedindustry();
66785
67684
  init_enrichedindustrycodes();
66786
67685
  init_entrymode();
67686
+ init_estimatedactivity();
67687
+ init_estimatedactivityerror();
66787
67688
  init_eventtype();
66788
67689
  init_evidencetextresponse();
66789
67690
  init_evidencetype();
@@ -66802,13 +67703,19 @@ var init_components = __esm(() => {
66802
67703
  init_filestatus();
66803
67704
  init_fileuploadrequestmultipart();
66804
67705
  init_financialinstitutions();
67706
+ init_fulfillment();
66805
67707
  init_fulfillmentdetails();
66806
67708
  init_fulfillmentdetailserror();
67709
+ init_fulfillmenterror();
67710
+ init_fulfillmentmethod();
67711
+ init_fulfillmenttimeframe();
66807
67712
  init_fullissuedcard();
66808
67713
  init_generatedby();
67714
+ init_geographicreach();
66809
67715
  init_governmentid();
66810
67716
  init_governmentiderror();
66811
67717
  init_granttype();
67718
+ init_guestprofile();
66812
67719
  init_imagemetadata();
66813
67720
  init_imagemetadatarequest();
66814
67721
  init_imagemetadatavalidationerror();
@@ -66819,6 +67726,7 @@ var init_components = __esm(() => {
66819
67726
  init_individualnameupdate();
66820
67727
  init_individualprofile();
66821
67728
  init_industrycodes();
67729
+ init_industrytaxonomy();
66822
67730
  init_instantpaymentfees();
66823
67731
  init_institutionssearchresponse();
66824
67732
  init_invoicestatus();
@@ -66837,6 +67745,7 @@ var init_components = __esm(() => {
66837
67745
  init_issuingmerchantdata();
66838
67746
  init_issuingvelocitylimit();
66839
67747
  init_issuingvelocitylimiterror();
67748
+ init_itemlistnextpage();
66840
67749
  init_jsonwebkey();
66841
67750
  init_linkaccountterminalapplication();
66842
67751
  init_linkapplepay();
@@ -66853,7 +67762,14 @@ var init_components = __esm(() => {
66853
67762
  init_microdepositstatus();
66854
67763
  init_minimumcommitment();
66855
67764
  init_mode();
67765
+ init_moneytransfer();
67766
+ init_moneytransfererror();
67767
+ init_moneytransferpullfromcard();
67768
+ init_moneytransferpullfromcarderror();
67769
+ init_moneytransferpushtocard();
67770
+ init_moneytransferpushtocarderror();
66856
67771
  init_monthlyplatformfee();
67772
+ init_monthlyvolumerange();
66857
67773
  init_moovfee();
66858
67774
  init_moovfeedetails();
66859
67775
  init_moovwalletpaymentmethod();
@@ -66899,6 +67815,7 @@ var init_components = __esm(() => {
66899
67815
  init_payoutdetailserror();
66900
67816
  init_payoutrecipient();
66901
67817
  init_payoutrecipienterror();
67818
+ init_pendinglitigation();
66902
67819
  init_phonenumber();
66903
67820
  init_phonenumbererror();
66904
67821
  init_pingresponse();
@@ -66926,6 +67843,7 @@ var init_components = __esm(() => {
66926
67843
  init_recurresponse();
66927
67844
  init_refundcarddetails();
66928
67845
  init_refundcardstatus();
67846
+ init_refundpolicy();
66929
67847
  init_refundstatus();
66930
67848
  init_registerapplepaymerchantdomains();
66931
67849
  init_representative();
@@ -66958,11 +67876,22 @@ var init_components = __esm(() => {
66958
67876
  init_scheduleresponse();
66959
67877
  init_seccode();
66960
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();
66961
67889
  init_sentreceipt();
66962
67890
  init_settings();
66963
67891
  init_sharescopes();
66964
67892
  init_sourcedestinationoptions();
66965
67893
  init_statement();
67894
+ init_submissionintent();
66966
67895
  init_sweep();
66967
67896
  init_sweepconfig();
66968
67897
  init_sweepconfigpaymentmethod();
@@ -66982,6 +67911,9 @@ var init_components = __esm(() => {
66982
67911
  init_termsofservicepayload();
66983
67912
  init_termsofservicepayloadupdate();
66984
67913
  init_termsofservicetoken();
67914
+ init_ticket();
67915
+ init_ticketcontact();
67916
+ init_ticketmessage();
66985
67917
  init_ticketstatus();
66986
67918
  init_tokentype();
66987
67919
  init_transactionsource();
@@ -67010,15 +67942,20 @@ var init_components = __esm(() => {
67010
67942
  init_updateissuedcardstate();
67011
67943
  init_updatepaymentlink();
67012
67944
  init_updaterepresentative();
67945
+ init_updateticket();
67946
+ init_updateticketstatus();
67013
67947
  init_updateunderwriting();
67014
67948
  init_updatewebhook();
67015
67949
  init_upsertschedule();
67950
+ init_upsertunderwriting();
67016
67951
  init_verification();
67017
67952
  init_verificationstatus();
67018
67953
  init_verificationstatusdetail();
67019
67954
  init_volumebycustomertype();
67020
67955
  init_volumebycustomertypeerror();
67021
67956
  init_volumerange();
67957
+ init_volumesharebycustomertype();
67958
+ init_volumesharebycustomertypeerror();
67022
67959
  init_wallet();
67023
67960
  init_walletavailablebalance();
67024
67961
  init_walletstatus();
@@ -67420,6 +68357,58 @@ var init_createsweepconfigerror = __esm(() => {
67420
68357
  }));
67421
68358
  });
67422
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
+
67423
68412
  // src/models/errors/createwalletvalidationerror.ts
67424
68413
  var CreateWalletValidationError, CreateWalletValidationError$inboundSchema, CreateWalletValidationError$outboundSchema;
67425
68414
  var init_createwalletvalidationerror = __esm(() => {
@@ -69298,6 +70287,40 @@ var init_updatepaymentlinkerror = __esm(() => {
69298
70287
  }));
69299
70288
  });
69300
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
+
69301
70324
  // src/models/errors/updateunderwritingerror.ts
69302
70325
  var UpdateUnderwritingError, UpdateUnderwritingErrorError$inboundSchema, UpdateUnderwritingErrorError$outboundSchema, UpdateUnderwritingError$inboundSchema, UpdateUnderwritingError$outboundSchema;
69303
70326
  var init_updateunderwritingerror = __esm(() => {
@@ -69397,6 +70420,114 @@ var init_updatewebhookvalidationerror = __esm(() => {
69397
70420
  }));
69398
70421
  });
69399
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
+
69400
70531
  // src/models/errors/index.ts
69401
70532
  var init_errors4 = __esm(() => {
69402
70533
  init_accountterminalapplicationerror();
@@ -69411,6 +70542,7 @@ var init_errors4 = __esm(() => {
69411
70542
  init_createaccounterror();
69412
70543
  init_createpaymentlinkerror();
69413
70544
  init_createsweepconfigerror();
70545
+ init_createticketerror();
69414
70546
  init_createwalletvalidationerror();
69415
70547
  init_createwebhookvalidationerror();
69416
70548
  init_feeplanagreementerror();
@@ -69448,8 +70580,10 @@ var init_errors4 = __esm(() => {
69448
70580
  init_updatecarderror();
69449
70581
  init_updateissuedcarderror();
69450
70582
  init_updatepaymentlinkerror();
70583
+ init_updateticketerror();
69451
70584
  init_updateunderwritingerror();
69452
70585
  init_updatewebhookvalidationerror();
70586
+ init_upsertunderwritingerror();
69453
70587
  });
69454
70588
 
69455
70589
  // src/models/operations/acceptdispute.ts
@@ -70581,6 +71715,62 @@ var init_createterminalapplicationversion = __esm(() => {
70581
71715
  });
70582
71716
  });
70583
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
+
70584
71774
  // src/models/operations/createtransfer.ts
70585
71775
  var CreateTransferGlobals$inboundSchema, CreateTransferGlobals$outboundSchema, CreateTransferRequest$inboundSchema, CreateTransferRequest$outboundSchema, CreateTransferResponseResult$inboundSchema, CreateTransferResponseResult$outboundSchema, CreateTransferResponse$inboundSchema, CreateTransferResponse$outboundSchema;
70586
71776
  var init_createtransfer2 = __esm(() => {
@@ -73367,6 +74557,54 @@ var init_gettermsofservicetoken = __esm(() => {
73367
74557
  });
73368
74558
  });
73369
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
+
73370
74608
  // src/models/operations/gettransfer.ts
73371
74609
  var GetTransferGlobals$inboundSchema, GetTransferGlobals$outboundSchema, GetTransferRequest$inboundSchema, GetTransferRequest$outboundSchema, GetTransferResponse$inboundSchema, GetTransferResponse$outboundSchema;
73372
74610
  var init_gettransfer = __esm(() => {
@@ -74087,7 +75325,7 @@ var init_listaccounts = __esm(() => {
74087
75325
  ListAccountsRequest$inboundSchema = objectType({
74088
75326
  name: stringType().optional(),
74089
75327
  email: stringType().optional(),
74090
- type: AccountType$inboundSchema.optional(),
75328
+ type: CreateAccountType$inboundSchema.optional(),
74091
75329
  foreignID: stringType().optional(),
74092
75330
  includeDisconnected: booleanType().optional(),
74093
75331
  capability: CapabilityID$inboundSchema.optional(),
@@ -74098,7 +75336,7 @@ var init_listaccounts = __esm(() => {
74098
75336
  ListAccountsRequest$outboundSchema = objectType({
74099
75337
  name: stringType().optional(),
74100
75338
  email: stringType().optional(),
74101
- type: AccountType$outboundSchema.optional(),
75339
+ type: CreateAccountType$outboundSchema.optional(),
74102
75340
  foreignID: stringType().optional(),
74103
75341
  includeDisconnected: booleanType().optional(),
74104
75342
  capability: CapabilityID$outboundSchema.optional(),
@@ -74382,7 +75620,7 @@ var init_listconnectedaccountsforaccount = __esm(() => {
74382
75620
  accountID: stringType(),
74383
75621
  name: stringType().optional(),
74384
75622
  email: stringType().optional(),
74385
- type: AccountType$inboundSchema.optional(),
75623
+ type: CreateAccountType$inboundSchema.optional(),
74386
75624
  foreignID: stringType().optional(),
74387
75625
  includeDisconnected: booleanType().optional(),
74388
75626
  capability: CapabilityID$inboundSchema.optional(),
@@ -74394,7 +75632,7 @@ var init_listconnectedaccountsforaccount = __esm(() => {
74394
75632
  accountID: stringType(),
74395
75633
  name: stringType().optional(),
74396
75634
  email: stringType().optional(),
74397
- type: AccountType$outboundSchema.optional(),
75635
+ type: CreateAccountType$outboundSchema.optional(),
74398
75636
  foreignID: stringType().optional(),
74399
75637
  includeDisconnected: booleanType().optional(),
74400
75638
  capability: CapabilityID$outboundSchema.optional(),
@@ -75965,6 +77203,116 @@ var init_listterminalapplications = __esm(() => {
75965
77203
  });
75966
77204
  });
75967
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
+
75968
77316
  // src/models/operations/listtransfers.ts
75969
77317
  var ListTransfersGlobals$inboundSchema, ListTransfersGlobals$outboundSchema, ListTransfersRequest$inboundSchema, ListTransfersRequest$outboundSchema, ListTransfersResponse$inboundSchema, ListTransfersResponse$outboundSchema;
75970
77318
  var init_listtransfers = __esm(() => {
@@ -76590,6 +77938,62 @@ var init_revokeonboardinginvite = __esm(() => {
76590
77938
  });
76591
77939
  });
76592
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
+
76593
77997
  // src/models/operations/searchinstitutions.ts
76594
77998
  var SearchInstitutionsGlobals$inboundSchema, SearchInstitutionsGlobals$outboundSchema, SearchInstitutionsRequest$inboundSchema, SearchInstitutionsRequest$outboundSchema, SearchInstitutionsResponse$inboundSchema, SearchInstitutionsResponse$outboundSchema;
76595
77999
  var init_searchinstitutions = __esm(() => {
@@ -77409,6 +78813,64 @@ var init_updatesweepconfig = __esm(() => {
77409
78813
  });
77410
78814
  });
77411
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
+
77412
78874
  // src/models/operations/updatetransfer.ts
77413
78875
  var UpdateTransferGlobals$inboundSchema, UpdateTransferGlobals$outboundSchema, UpdateTransferRequest$inboundSchema, UpdateTransferRequest$outboundSchema, UpdateTransferResponse$inboundSchema, UpdateTransferResponse$outboundSchema;
77414
78876
  var init_updatetransfer = __esm(() => {
@@ -77867,7 +79329,7 @@ var init_upsertbrand = __esm(() => {
77867
79329
 
77868
79330
  // src/models/operations/upsertunderwriting.ts
77869
79331
  var UpsertUnderwritingGlobals$inboundSchema, UpsertUnderwritingGlobals$outboundSchema, UpsertUnderwritingRequest$inboundSchema, UpsertUnderwritingRequest$outboundSchema, UpsertUnderwritingResponse$inboundSchema, UpsertUnderwritingResponse$outboundSchema;
77870
- var init_upsertunderwriting = __esm(() => {
79332
+ var init_upsertunderwriting2 = __esm(() => {
77871
79333
  init_esm();
77872
79334
  init_primitives();
77873
79335
  init_components();
@@ -77945,6 +79407,7 @@ var init_operations = __esm(() => {
77945
79407
  init_createsweepconfig2();
77946
79408
  init_createterminalapplication2();
77947
79409
  init_createterminalapplicationversion();
79410
+ init_createticket2();
77948
79411
  init_createtransfer2();
77949
79412
  init_createtransferoptions2();
77950
79413
  init_createwallet2();
@@ -78002,6 +79465,7 @@ var init_operations = __esm(() => {
78002
79465
  init_getterminalapplication();
78003
79466
  init_getterminalconfiguration();
78004
79467
  init_gettermsofservicetoken();
79468
+ init_getticket();
78005
79469
  init_gettransfer();
78006
79470
  init_getunderwriting();
78007
79471
  init_getwallet();
@@ -78052,6 +79516,8 @@ var init_operations = __esm(() => {
78052
79516
  init_listsweepconfigs();
78053
79517
  init_listsweeps();
78054
79518
  init_listterminalapplications();
79519
+ init_listticketmessages();
79520
+ init_listtickets();
78055
79521
  init_listtransfers();
78056
79522
  init_listwallets();
78057
79523
  init_listwallettransactions();
@@ -78064,6 +79530,7 @@ var init_operations = __esm(() => {
78064
79530
  init_retrievefees();
78065
79531
  init_revokeaccesstoken();
78066
79532
  init_revokeonboardinginvite();
79533
+ init_saveunderwriting();
78067
79534
  init_searchinstitutions();
78068
79535
  init_submitdisputeevidence();
78069
79536
  init_testendtoendtoken();
@@ -78079,6 +79546,7 @@ var init_operations = __esm(() => {
78079
79546
  init_updaterepresentative2();
78080
79547
  init_updateschedule();
78081
79548
  init_updatesweepconfig();
79549
+ init_updateticket2();
78082
79550
  init_updatetransfer();
78083
79551
  init_updatewallet();
78084
79552
  init_updatewebhook2();
@@ -78087,7 +79555,7 @@ var init_operations = __esm(() => {
78087
79555
  init_uploadfile();
78088
79556
  init_uploadimage();
78089
79557
  init_upsertbrand();
78090
- init_upsertunderwriting();
79558
+ init_upsertunderwriting2();
78091
79559
  });
78092
79560
 
78093
79561
  // src/types/async.ts
@@ -93476,24 +94944,24 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
93476
94944
  };
93477
94945
  });
93478
94946
 
93479
- // src/funcs/sweepsCreateConfig.ts
93480
- function sweepsCreateConfig(client, request, options) {
94947
+ // src/funcs/supportCreateTicket.ts
94948
+ function supportCreateTicket(client, request, options) {
93481
94949
  return new APIPromise($do128(client, request, options));
93482
94950
  }
93483
94951
  async function $do128(client, request, options) {
93484
- 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");
93485
94953
  if (!parsed.ok) {
93486
94954
  return [parsed, { status: "invalid" }];
93487
94955
  }
93488
94956
  const payload = parsed.value;
93489
- const body = encodeJSON("body", payload.CreateSweepConfig, { explode: true });
94957
+ const body = encodeJSON("body", payload.CreateTicket, { explode: true });
93490
94958
  const pathParams = {
93491
94959
  accountID: encodeSimple("accountID", payload.accountID, {
93492
94960
  explode: false,
93493
94961
  charEncoding: "percent"
93494
94962
  })
93495
94963
  };
93496
- const path = pathToFunc("/accounts/{accountID}/sweep-configs")(pathParams);
94964
+ const path = pathToFunc("/accounts/{accountID}/tickets")(pathParams);
93497
94965
  const headers = new Headers(compactMap({
93498
94966
  "Content-Type": "application/json",
93499
94967
  Accept: "application/json",
@@ -93504,7 +94972,7 @@ async function $do128(client, request, options) {
93504
94972
  const context = {
93505
94973
  options: client._options,
93506
94974
  baseURL: options?.serverURL ?? client._baseURL ?? "",
93507
- operationID: "createSweepConfig",
94975
+ operationID: "createTicket",
93508
94976
  oAuth2Scopes: null,
93509
94977
  resolvedSecurity: requestSecurity,
93510
94978
  securitySource: client._options.security,
@@ -93550,16 +95018,16 @@ async function $do128(client, request, options) {
93550
95018
  const responseFields = {
93551
95019
  HttpMeta: { Response: response, Request: req }
93552
95020
  };
93553
- const [result] = await match(json(200, CreateSweepConfigResponse$inboundSchema, {
95021
+ const [result] = await match(json(200, CreateTicketResponse$inboundSchema, {
93554
95022
  hdrs: true,
93555
95023
  key: "Result"
93556
- }), 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 });
93557
95025
  if (!result.ok) {
93558
95026
  return [result, { status: "complete", request: req, response }];
93559
95027
  }
93560
95028
  return [result, { status: "complete", request: req, response }];
93561
95029
  }
93562
- var init_sweepsCreateConfig = __esm(() => {
95030
+ var init_supportCreateTicket = __esm(() => {
93563
95031
  init_encodings();
93564
95032
  init_matchers();
93565
95033
  init_primitives();
@@ -93571,24 +95039,27 @@ var init_sweepsCreateConfig = __esm(() => {
93571
95039
  init_async();
93572
95040
  });
93573
95041
 
93574
- // src/mcp-server/tools/sweepsCreateConfig.ts
93575
- var args128, tool$sweepsCreateConfig;
93576
- var init_sweepsCreateConfig2 = __esm(() => {
93577
- init_sweepsCreateConfig();
95042
+ // src/mcp-server/tools/supportCreateTicket.ts
95043
+ var args128, tool$supportCreateTicket;
95044
+ var init_supportCreateTicket2 = __esm(() => {
95045
+ init_supportCreateTicket();
93578
95046
  init_operations();
93579
95047
  init_tools();
93580
95048
  args128 = {
93581
- request: CreateSweepConfigRequest$inboundSchema
95049
+ request: CreateTicketRequest$inboundSchema
93582
95050
  };
93583
- tool$sweepsCreateConfig = {
93584
- name: "sweeps-create-config",
93585
- 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.
93586
95054
 
93587
95055
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
93588
- 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.`,
93589
95060
  args: args128,
93590
95061
  tool: async (client, args129, ctx) => {
93591
- 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();
93592
95063
  if (!result.ok) {
93593
95064
  return {
93594
95065
  content: [{ type: "text", text: result.error.message }],
@@ -93601,12 +95072,12 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
93601
95072
  };
93602
95073
  });
93603
95074
 
93604
- // src/funcs/sweepsGet.ts
93605
- function sweepsGet(client, request, options) {
95075
+ // src/funcs/supportGetTicket.ts
95076
+ function supportGetTicket(client, request, options) {
93606
95077
  return new APIPromise($do129(client, request, options));
93607
95078
  }
93608
95079
  async function $do129(client, request, options) {
93609
- 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");
93610
95081
  if (!parsed.ok) {
93611
95082
  return [parsed, { status: "invalid" }];
93612
95083
  }
@@ -93617,16 +95088,12 @@ async function $do129(client, request, options) {
93617
95088
  explode: false,
93618
95089
  charEncoding: "percent"
93619
95090
  }),
93620
- sweepID: encodeSimple("sweepID", payload.sweepID, {
93621
- explode: false,
93622
- charEncoding: "percent"
93623
- }),
93624
- walletID: encodeSimple("walletID", payload.walletID, {
95091
+ ticketID: encodeSimple("ticketID", payload.ticketID, {
93625
95092
  explode: false,
93626
95093
  charEncoding: "percent"
93627
95094
  })
93628
95095
  };
93629
- const path = pathToFunc("/accounts/{accountID}/wallets/{walletID}/sweeps/{sweepID}")(pathParams);
95096
+ const path = pathToFunc("/accounts/{accountID}/tickets/{ticketID}")(pathParams);
93630
95097
  const headers = new Headers(compactMap({
93631
95098
  Accept: "application/json",
93632
95099
  "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
@@ -93636,7 +95103,7 @@ async function $do129(client, request, options) {
93636
95103
  const context = {
93637
95104
  options: client._options,
93638
95105
  baseURL: options?.serverURL ?? client._baseURL ?? "",
93639
- operationID: "getSweep",
95106
+ operationID: "getTicket",
93640
95107
  oAuth2Scopes: null,
93641
95108
  resolvedSecurity: requestSecurity,
93642
95109
  securitySource: client._options.security,
@@ -93670,7 +95137,7 @@ async function $do129(client, request, options) {
93670
95137
  const responseFields = {
93671
95138
  HttpMeta: { Response: response, Request: req }
93672
95139
  };
93673
- const [result] = await match(json(200, GetSweepResponse$inboundSchema, {
95140
+ const [result] = await match(json(200, GetTicketResponse$inboundSchema, {
93674
95141
  hdrs: true,
93675
95142
  key: "Result"
93676
95143
  }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
@@ -93679,7 +95146,7 @@ async function $do129(client, request, options) {
93679
95146
  }
93680
95147
  return [result, { status: "complete", request: req, response }];
93681
95148
  }
93682
- var init_sweepsGet = __esm(() => {
95149
+ var init_supportGetTicket = __esm(() => {
93683
95150
  init_encodings();
93684
95151
  init_matchers();
93685
95152
  init_primitives();
@@ -93690,24 +95157,27 @@ var init_sweepsGet = __esm(() => {
93690
95157
  init_async();
93691
95158
  });
93692
95159
 
93693
- // src/mcp-server/tools/sweepsGet.ts
93694
- var args129, tool$sweepsGet;
93695
- var init_sweepsGet2 = __esm(() => {
93696
- init_sweepsGet();
95160
+ // src/mcp-server/tools/supportGetTicket.ts
95161
+ var args129, tool$supportGetTicket;
95162
+ var init_supportGetTicket2 = __esm(() => {
95163
+ init_supportGetTicket();
93697
95164
  init_operations();
93698
95165
  init_tools();
93699
95166
  args129 = {
93700
- request: GetSweepRequest$inboundSchema
95167
+ request: GetTicketRequest$inboundSchema
93701
95168
  };
93702
- tool$sweepsGet = {
93703
- name: "sweeps-get",
93704
- description: `Get details on a specific sweep.
95169
+ tool$supportGetTicket = {
95170
+ name: "support-get-ticket",
95171
+ description: `Retrieve a support ticket by ID.
93705
95172
 
93706
95173
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
93707
- 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.`,
93708
95178
  args: args129,
93709
95179
  tool: async (client, args130, ctx) => {
93710
- 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();
93711
95181
  if (!result.ok) {
93712
95182
  return {
93713
95183
  content: [{ type: "text", text: result.error.message }],
@@ -93720,12 +95190,12 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
93720
95190
  };
93721
95191
  });
93722
95192
 
93723
- // src/funcs/sweepsGetConfig.ts
93724
- function sweepsGetConfig(client, request, options) {
95193
+ // src/funcs/supportListTicketMessages.ts
95194
+ function supportListTicketMessages(client, request, options) {
93725
95195
  return new APIPromise($do130(client, request, options));
93726
95196
  }
93727
95197
  async function $do130(client, request, options) {
93728
- 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");
93729
95199
  if (!parsed.ok) {
93730
95200
  return [parsed, { status: "invalid" }];
93731
95201
  }
@@ -93736,12 +95206,12 @@ async function $do130(client, request, options) {
93736
95206
  explode: false,
93737
95207
  charEncoding: "percent"
93738
95208
  }),
93739
- sweepConfigID: encodeSimple("sweepConfigID", payload.sweepConfigID, {
95209
+ ticketID: encodeSimple("ticketID", payload.ticketID, {
93740
95210
  explode: false,
93741
95211
  charEncoding: "percent"
93742
95212
  })
93743
95213
  };
93744
- const path = pathToFunc("/accounts/{accountID}/sweep-configs/{sweepConfigID}")(pathParams);
95214
+ const path = pathToFunc("/accounts/{accountID}/tickets/{ticketID}/messages")(pathParams);
93745
95215
  const headers = new Headers(compactMap({
93746
95216
  Accept: "application/json",
93747
95217
  "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
@@ -93751,7 +95221,7 @@ async function $do130(client, request, options) {
93751
95221
  const context = {
93752
95222
  options: client._options,
93753
95223
  baseURL: options?.serverURL ?? client._baseURL ?? "",
93754
- operationID: "getSweepConfig",
95224
+ operationID: "listTicketMessages",
93755
95225
  oAuth2Scopes: null,
93756
95226
  resolvedSecurity: requestSecurity,
93757
95227
  securitySource: client._options.security,
@@ -93774,7 +95244,7 @@ async function $do130(client, request, options) {
93774
95244
  const req = requestRes.value;
93775
95245
  const doResult = await client._do(req, {
93776
95246
  context,
93777
- errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
95247
+ errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
93778
95248
  retryConfig: context.retryConfig,
93779
95249
  retryCodes: context.retryCodes
93780
95250
  });
@@ -93785,16 +95255,16 @@ async function $do130(client, request, options) {
93785
95255
  const responseFields = {
93786
95256
  HttpMeta: { Response: response, Request: req }
93787
95257
  };
93788
- const [result] = await match(json(200, GetSweepConfigResponse$inboundSchema, {
95258
+ const [result] = await match(json(200, ListTicketMessagesResponse$inboundSchema, {
93789
95259
  hdrs: true,
93790
95260
  key: "Result"
93791
- }), 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 });
93792
95262
  if (!result.ok) {
93793
95263
  return [result, { status: "complete", request: req, response }];
93794
95264
  }
93795
95265
  return [result, { status: "complete", request: req, response }];
93796
95266
  }
93797
- var init_sweepsGetConfig = __esm(() => {
95267
+ var init_supportListTicketMessages = __esm(() => {
93798
95268
  init_encodings();
93799
95269
  init_matchers();
93800
95270
  init_primitives();
@@ -93805,24 +95275,27 @@ var init_sweepsGetConfig = __esm(() => {
93805
95275
  init_async();
93806
95276
  });
93807
95277
 
93808
- // src/mcp-server/tools/sweepsGetConfig.ts
93809
- var args130, tool$sweepsGetConfig;
93810
- var init_sweepsGetConfig2 = __esm(() => {
93811
- init_sweepsGetConfig();
95278
+ // src/mcp-server/tools/supportListTicketMessages.ts
95279
+ var args130, tool$supportListTicketMessages;
95280
+ var init_supportListTicketMessages2 = __esm(() => {
95281
+ init_supportListTicketMessages();
93812
95282
  init_operations();
93813
95283
  init_tools();
93814
95284
  args130 = {
93815
- request: GetSweepConfigRequest$inboundSchema
95285
+ request: ListTicketMessagesRequest$inboundSchema
93816
95286
  };
93817
- tool$sweepsGetConfig = {
93818
- name: "sweeps-get-config",
93819
- 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.
93820
95290
 
93821
95291
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
93822
- 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.`,
93823
95296
  args: args130,
93824
95297
  tool: async (client, args131, ctx) => {
93825
- 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();
93826
95299
  if (!result.ok) {
93827
95300
  return {
93828
95301
  content: [{ type: "text", text: result.error.message }],
@@ -93835,12 +95308,12 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
93835
95308
  };
93836
95309
  });
93837
95310
 
93838
- // src/funcs/sweepsList.ts
93839
- function sweepsList(client, request, options) {
95311
+ // src/funcs/supportListTickets.ts
95312
+ function supportListTickets(client, request, options) {
93840
95313
  return new APIPromise($do131(client, request, options));
93841
95314
  }
93842
95315
  async function $do131(client, request, options) {
93843
- 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");
93844
95317
  if (!parsed.ok) {
93845
95318
  return [parsed, { status: "invalid" }];
93846
95319
  }
@@ -93850,17 +95323,13 @@ async function $do131(client, request, options) {
93850
95323
  accountID: encodeSimple("accountID", payload.accountID, {
93851
95324
  explode: false,
93852
95325
  charEncoding: "percent"
93853
- }),
93854
- walletID: encodeSimple("walletID", payload.walletID, {
93855
- explode: false,
93856
- charEncoding: "percent"
93857
95326
  })
93858
95327
  };
93859
- const path = pathToFunc("/accounts/{accountID}/wallets/{walletID}/sweeps")(pathParams);
95328
+ const path = pathToFunc("/accounts/{accountID}/tickets")(pathParams);
93860
95329
  const query = encodeFormQuery({
93861
95330
  count: payload.count,
93862
- skip: payload.skip,
93863
- statementDescriptor: payload.statementDescriptor,
95331
+ cursor: payload.cursor,
95332
+ foreignID: payload.foreignID,
93864
95333
  status: payload.status
93865
95334
  }, { explode: false });
93866
95335
  const headers = new Headers(compactMap({
@@ -93872,7 +95341,7 @@ async function $do131(client, request, options) {
93872
95341
  const context = {
93873
95342
  options: client._options,
93874
95343
  baseURL: options?.serverURL ?? client._baseURL ?? "",
93875
- operationID: "listSweeps",
95344
+ operationID: "listTickets",
93876
95345
  oAuth2Scopes: null,
93877
95346
  resolvedSecurity: requestSecurity,
93878
95347
  securitySource: client._options.security,
@@ -93907,7 +95376,7 @@ async function $do131(client, request, options) {
93907
95376
  const responseFields = {
93908
95377
  HttpMeta: { Response: response, Request: req }
93909
95378
  };
93910
- const [result] = await match(json(200, ListSweepsResponse$inboundSchema, {
95379
+ const [result] = await match(json(200, ListTicketsResponse$inboundSchema, {
93911
95380
  hdrs: true,
93912
95381
  key: "Result"
93913
95382
  }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
@@ -93916,7 +95385,7 @@ async function $do131(client, request, options) {
93916
95385
  }
93917
95386
  return [result, { status: "complete", request: req, response }];
93918
95387
  }
93919
- var init_sweepsList = __esm(() => {
95388
+ var init_supportListTickets = __esm(() => {
93920
95389
  init_encodings();
93921
95390
  init_matchers();
93922
95391
  init_primitives();
@@ -93927,24 +95396,27 @@ var init_sweepsList = __esm(() => {
93927
95396
  init_async();
93928
95397
  });
93929
95398
 
93930
- // src/mcp-server/tools/sweepsList.ts
93931
- var args131, tool$sweepsList;
93932
- var init_sweepsList2 = __esm(() => {
93933
- init_sweepsList();
95399
+ // src/mcp-server/tools/supportListTickets.ts
95400
+ var args131, tool$supportListTickets;
95401
+ var init_supportListTickets2 = __esm(() => {
95402
+ init_supportListTickets();
93934
95403
  init_operations();
93935
95404
  init_tools();
93936
95405
  args131 = {
93937
- request: ListSweepsRequest$inboundSchema
95406
+ request: ListTicketsRequest$inboundSchema
93938
95407
  };
93939
- tool$sweepsList = {
93940
- name: "sweeps-list",
93941
- 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.
93942
95411
 
93943
95412
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
93944
- 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.`,
93945
95417
  args: args131,
93946
95418
  tool: async (client, args132, ctx) => {
93947
- 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();
93948
95420
  if (!result.ok) {
93949
95421
  return {
93950
95422
  content: [{ type: "text", text: result.error.message }],
@@ -93957,139 +95429,28 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
93957
95429
  };
93958
95430
  });
93959
95431
 
93960
- // src/funcs/sweepsListConfigs.ts
93961
- function sweepsListConfigs(client, request, options) {
95432
+ // src/funcs/supportUpdateTicket.ts
95433
+ function supportUpdateTicket(client, request, options) {
93962
95434
  return new APIPromise($do132(client, request, options));
93963
95435
  }
93964
95436
  async function $do132(client, request, options) {
93965
- 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");
93966
95438
  if (!parsed.ok) {
93967
95439
  return [parsed, { status: "invalid" }];
93968
95440
  }
93969
95441
  const payload = parsed.value;
93970
- const body = null;
93971
- const pathParams = {
93972
- accountID: encodeSimple("accountID", payload.accountID, {
93973
- explode: false,
93974
- charEncoding: "percent"
93975
- })
93976
- };
93977
- const path = pathToFunc("/accounts/{accountID}/sweep-configs")(pathParams);
93978
- const headers = new Headers(compactMap({
93979
- Accept: "application/json",
93980
- "X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
93981
- }));
93982
- const securityInput = await extractSecurity(client._options.security);
93983
- const requestSecurity = resolveGlobalSecurity(securityInput);
93984
- const context = {
93985
- options: client._options,
93986
- baseURL: options?.serverURL ?? client._baseURL ?? "",
93987
- operationID: "listSweepConfigs",
93988
- oAuth2Scopes: null,
93989
- resolvedSecurity: requestSecurity,
93990
- securitySource: client._options.security,
93991
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
93992
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
93993
- };
93994
- const requestRes = client._createRequest(context, {
93995
- security: requestSecurity,
93996
- method: "GET",
93997
- baseURL: options?.serverURL,
93998
- path,
93999
- headers,
94000
- body,
94001
- userAgent: client._options.userAgent,
94002
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
94003
- }, options);
94004
- if (!requestRes.ok) {
94005
- return [requestRes, { status: "invalid" }];
94006
- }
94007
- const req = requestRes.value;
94008
- const doResult = await client._do(req, {
94009
- context,
94010
- errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
94011
- retryConfig: context.retryConfig,
94012
- retryCodes: context.retryCodes
94013
- });
94014
- if (!doResult.ok) {
94015
- return [doResult, { status: "request-error", request: req }];
94016
- }
94017
- const response = doResult.value;
94018
- const responseFields = {
94019
- HttpMeta: { Response: response, Request: req }
94020
- };
94021
- const [result] = await match(json(200, ListSweepConfigsResponse$inboundSchema, {
94022
- hdrs: true,
94023
- key: "Result"
94024
- }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
94025
- if (!result.ok) {
94026
- return [result, { status: "complete", request: req, response }];
94027
- }
94028
- return [result, { status: "complete", request: req, response }];
94029
- }
94030
- var init_sweepsListConfigs = __esm(() => {
94031
- init_encodings();
94032
- init_matchers();
94033
- init_primitives();
94034
- init_schemas4();
94035
- init_security();
94036
- init_url();
94037
- init_operations();
94038
- init_async();
94039
- });
94040
-
94041
- // src/mcp-server/tools/sweepsListConfigs.ts
94042
- var args132, tool$sweepsListConfigs;
94043
- var init_sweepsListConfigs2 = __esm(() => {
94044
- init_sweepsListConfigs();
94045
- init_operations();
94046
- init_tools();
94047
- args132 = {
94048
- request: ListSweepConfigsRequest$inboundSchema
94049
- };
94050
- tool$sweepsListConfigs = {
94051
- name: "sweeps-list-configs",
94052
- description: `List sweep configs associated with an account.
94053
-
94054
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94055
- you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
94056
- args: args132,
94057
- tool: async (client, args133, ctx) => {
94058
- const [result, apiCall] = await sweepsListConfigs(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94059
- if (!result.ok) {
94060
- return {
94061
- content: [{ type: "text", text: result.error.message }],
94062
- isError: true
94063
- };
94064
- }
94065
- const value = result.value.result;
94066
- return formatResult(value, apiCall);
94067
- }
94068
- };
94069
- });
94070
-
94071
- // src/funcs/sweepsUpdateConfig.ts
94072
- function sweepsUpdateConfig(client, request, options) {
94073
- return new APIPromise($do133(client, request, options));
94074
- }
94075
- async function $do133(client, request, options) {
94076
- const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
94077
- if (!parsed.ok) {
94078
- return [parsed, { status: "invalid" }];
94079
- }
94080
- const payload = parsed.value;
94081
- const body = encodeJSON("body", payload.PatchSweepConfig, { explode: true });
95442
+ const body = encodeJSON("body", payload.UpdateTicket, { explode: true });
94082
95443
  const pathParams = {
94083
95444
  accountID: encodeSimple("accountID", payload.accountID, {
94084
95445
  explode: false,
94085
95446
  charEncoding: "percent"
94086
95447
  }),
94087
- sweepConfigID: encodeSimple("sweepConfigID", payload.sweepConfigID, {
95448
+ ticketID: encodeSimple("ticketID", payload.ticketID, {
94088
95449
  explode: false,
94089
95450
  charEncoding: "percent"
94090
95451
  })
94091
95452
  };
94092
- const path = pathToFunc("/accounts/{accountID}/sweep-configs/{sweepConfigID}")(pathParams);
95453
+ const path = pathToFunc("/accounts/{accountID}/tickets/{ticketID}")(pathParams);
94093
95454
  const headers = new Headers(compactMap({
94094
95455
  "Content-Type": "application/json",
94095
95456
  Accept: "application/json",
@@ -94100,7 +95461,731 @@ async function $do133(client, request, options) {
94100
95461
  const context = {
94101
95462
  options: client._options,
94102
95463
  baseURL: options?.serverURL ?? client._baseURL ?? "",
94103
- 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",
94104
96189
  oAuth2Scopes: null,
94105
96190
  resolvedSecurity: requestSecurity,
94106
96191
  securitySource: client._options.security,
@@ -94168,12 +96253,12 @@ var init_sweepsUpdateConfig = __esm(() => {
94168
96253
  });
94169
96254
 
94170
96255
  // src/mcp-server/tools/sweepsUpdateConfig.ts
94171
- var args133, tool$sweepsUpdateConfig;
96256
+ var args138, tool$sweepsUpdateConfig;
94172
96257
  var init_sweepsUpdateConfig2 = __esm(() => {
94173
96258
  init_sweepsUpdateConfig();
94174
96259
  init_operations();
94175
96260
  init_tools();
94176
- args133 = {
96261
+ args138 = {
94177
96262
  request: UpdateSweepConfigRequest$inboundSchema
94178
96263
  };
94179
96264
  tool$sweepsUpdateConfig = {
@@ -94182,9 +96267,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
94182
96267
 
94183
96268
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94184
96269
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
94185
- args: args133,
94186
- tool: async (client, args134, ctx) => {
94187
- 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();
94188
96273
  if (!result.ok) {
94189
96274
  return {
94190
96275
  content: [{ type: "text", text: result.error.message }],
@@ -94199,9 +96284,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
94199
96284
 
94200
96285
  // src/funcs/terminalApplicationsCreate.ts
94201
96286
  function terminalApplicationsCreate(client, request, options) {
94202
- return new APIPromise($do134(client, request, options));
96287
+ return new APIPromise($do139(client, request, options));
94203
96288
  }
94204
- async function $do134(client, request, options) {
96289
+ async function $do139(client, request, options) {
94205
96290
  const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
94206
96291
  if (!parsed.ok) {
94207
96292
  return [parsed, { status: "invalid" }];
@@ -94290,12 +96375,12 @@ var init_terminalApplicationsCreate = __esm(() => {
94290
96375
  });
94291
96376
 
94292
96377
  // src/mcp-server/tools/terminalApplicationsCreate.ts
94293
- var args134, tool$terminalApplicationsCreate;
96378
+ var args139, tool$terminalApplicationsCreate;
94294
96379
  var init_terminalApplicationsCreate2 = __esm(() => {
94295
96380
  init_terminalApplicationsCreate();
94296
96381
  init_components();
94297
96382
  init_tools();
94298
- args134 = {
96383
+ args139 = {
94299
96384
  request: CreateTerminalApplication$inboundSchema
94300
96385
  };
94301
96386
  tool$terminalApplicationsCreate = {
@@ -94304,9 +96389,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
94304
96389
 
94305
96390
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94306
96391
  you'll need to specify the \`/terminal-applications.write\` scope.`,
94307
- args: args134,
94308
- tool: async (client, args135, ctx) => {
94309
- 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();
94310
96395
  if (!result.ok) {
94311
96396
  return {
94312
96397
  content: [{ type: "text", text: result.error.message }],
@@ -94321,9 +96406,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
94321
96406
 
94322
96407
  // src/funcs/terminalApplicationsCreateVersion.ts
94323
96408
  function terminalApplicationsCreateVersion(client, request, options) {
94324
- return new APIPromise($do135(client, request, options));
96409
+ return new APIPromise($do140(client, request, options));
94325
96410
  }
94326
- async function $do135(client, request, options) {
96411
+ async function $do140(client, request, options) {
94327
96412
  const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
94328
96413
  if (!parsed.ok) {
94329
96414
  return [parsed, { status: "invalid" }];
@@ -94413,12 +96498,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
94413
96498
  });
94414
96499
 
94415
96500
  // src/mcp-server/tools/terminalApplicationsCreateVersion.ts
94416
- var args135, tool$terminalApplicationsCreateVersion;
96501
+ var args140, tool$terminalApplicationsCreateVersion;
94417
96502
  var init_terminalApplicationsCreateVersion2 = __esm(() => {
94418
96503
  init_terminalApplicationsCreateVersion();
94419
96504
  init_operations();
94420
96505
  init_tools();
94421
- args135 = {
96506
+ args140 = {
94422
96507
  request: CreateTerminalApplicationVersionRequest$inboundSchema
94423
96508
  };
94424
96509
  tool$terminalApplicationsCreateVersion = {
@@ -94427,9 +96512,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
94427
96512
 
94428
96513
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94429
96514
  you'll need to specify the \`/terminal-applications.write\` scope.`,
94430
- args: args135,
94431
- tool: async (client, args136, ctx) => {
94432
- 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();
94433
96518
  if (!result.ok) {
94434
96519
  return {
94435
96520
  content: [{ type: "text", text: result.error.message }],
@@ -94444,9 +96529,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
94444
96529
 
94445
96530
  // src/funcs/terminalApplicationsDelete.ts
94446
96531
  function terminalApplicationsDelete(client, request, options) {
94447
- return new APIPromise($do136(client, request, options));
96532
+ return new APIPromise($do141(client, request, options));
94448
96533
  }
94449
- async function $do136(client, request, options) {
96534
+ async function $do141(client, request, options) {
94450
96535
  const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
94451
96536
  if (!parsed.ok) {
94452
96537
  return [parsed, { status: "invalid" }];
@@ -94530,12 +96615,12 @@ var init_terminalApplicationsDelete = __esm(() => {
94530
96615
  });
94531
96616
 
94532
96617
  // src/mcp-server/tools/terminalApplicationsDelete.ts
94533
- var args136, tool$terminalApplicationsDelete;
96618
+ var args141, tool$terminalApplicationsDelete;
94534
96619
  var init_terminalApplicationsDelete2 = __esm(() => {
94535
96620
  init_terminalApplicationsDelete();
94536
96621
  init_operations();
94537
96622
  init_tools();
94538
- args136 = {
96623
+ args141 = {
94539
96624
  request: DeleteTerminalApplicationRequest$inboundSchema
94540
96625
  };
94541
96626
  tool$terminalApplicationsDelete = {
@@ -94544,9 +96629,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
94544
96629
 
94545
96630
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94546
96631
  you'll need to specify the \`/terminal-applications.write\` scope.`,
94547
- args: args136,
94548
- tool: async (client, args137, ctx) => {
94549
- 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();
94550
96635
  if (!result.ok) {
94551
96636
  return {
94552
96637
  content: [{ type: "text", text: result.error.message }],
@@ -94560,9 +96645,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
94560
96645
 
94561
96646
  // src/funcs/terminalApplicationsGet.ts
94562
96647
  function terminalApplicationsGet(client, request, options) {
94563
- return new APIPromise($do137(client, request, options));
96648
+ return new APIPromise($do142(client, request, options));
94564
96649
  }
94565
- async function $do137(client, request, options) {
96650
+ async function $do142(client, request, options) {
94566
96651
  const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
94567
96652
  if (!parsed.ok) {
94568
96653
  return [parsed, { status: "invalid" }];
@@ -94637,12 +96722,12 @@ var init_terminalApplicationsGet = __esm(() => {
94637
96722
  });
94638
96723
 
94639
96724
  // src/mcp-server/tools/terminalApplicationsGet.ts
94640
- var args137, tool$terminalApplicationsGet;
96725
+ var args142, tool$terminalApplicationsGet;
94641
96726
  var init_terminalApplicationsGet2 = __esm(() => {
94642
96727
  init_terminalApplicationsGet();
94643
96728
  init_operations();
94644
96729
  init_tools();
94645
- args137 = {
96730
+ args142 = {
94646
96731
  request: GetTerminalApplicationRequest$inboundSchema
94647
96732
  };
94648
96733
  tool$terminalApplicationsGet = {
@@ -94651,9 +96736,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
94651
96736
 
94652
96737
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94653
96738
  you'll need to specify the \`/terminal-applications.read\` scope.`,
94654
- args: args137,
94655
- tool: async (client, args138, ctx) => {
94656
- 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();
94657
96742
  if (!result.ok) {
94658
96743
  return {
94659
96744
  content: [{ type: "text", text: result.error.message }],
@@ -94668,9 +96753,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
94668
96753
 
94669
96754
  // src/funcs/terminalApplicationsList.ts
94670
96755
  function terminalApplicationsList(client, _request, options) {
94671
- return new APIPromise($do138(client, _request, options));
96756
+ return new APIPromise($do143(client, _request, options));
94672
96757
  }
94673
- async function $do138(client, _request, options) {
96758
+ async function $do143(client, _request, options) {
94674
96759
  const path = pathToFunc("/terminal-applications")();
94675
96760
  const headers = new Headers(compactMap({
94676
96761
  Accept: "application/json",
@@ -94734,12 +96819,12 @@ var init_terminalApplicationsList = __esm(() => {
94734
96819
  });
94735
96820
 
94736
96821
  // src/mcp-server/tools/terminalApplicationsList.ts
94737
- var args138, tool$terminalApplicationsList;
96822
+ var args143, tool$terminalApplicationsList;
94738
96823
  var init_terminalApplicationsList2 = __esm(() => {
94739
96824
  init_terminalApplicationsList();
94740
96825
  init_operations();
94741
96826
  init_tools();
94742
- args138 = {
96827
+ args143 = {
94743
96828
  request: ListTerminalApplicationsRequest$inboundSchema
94744
96829
  };
94745
96830
  tool$terminalApplicationsList = {
@@ -94748,9 +96833,9 @@ var init_terminalApplicationsList2 = __esm(() => {
94748
96833
 
94749
96834
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94750
96835
  you'll need to specify the \`/terminal-applications.read\` scope.`,
94751
- args: args138,
94752
- tool: async (client, args139, ctx) => {
94753
- 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();
94754
96839
  if (!result.ok) {
94755
96840
  return {
94756
96841
  content: [{ type: "text", text: result.error.message }],
@@ -94765,9 +96850,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
94765
96850
 
94766
96851
  // src/funcs/transfersCreate.ts
94767
96852
  function transfersCreate(client, request, options) {
94768
- return new APIPromise($do139(client, request, options));
96853
+ return new APIPromise($do144(client, request, options));
94769
96854
  }
94770
- async function $do139(client, request, options) {
96855
+ async function $do144(client, request, options) {
94771
96856
  const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
94772
96857
  if (!parsed.ok) {
94773
96858
  return [parsed, { status: "invalid" }];
@@ -94860,12 +96945,12 @@ var init_transfersCreate = __esm(() => {
94860
96945
  });
94861
96946
 
94862
96947
  // src/mcp-server/tools/transfersCreate.ts
94863
- var args139, tool$transfersCreate;
96948
+ var args144, tool$transfersCreate;
94864
96949
  var init_transfersCreate2 = __esm(() => {
94865
96950
  init_transfersCreate();
94866
96951
  init_operations();
94867
96952
  init_tools();
94868
- args139 = {
96953
+ args144 = {
94869
96954
  request: CreateTransferRequest$inboundSchema
94870
96955
  };
94871
96956
  tool$transfersCreate = {
@@ -94876,9 +96961,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
94876
96961
 
94877
96962
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
94878
96963
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
94879
- args: args139,
94880
- tool: async (client, args140, ctx) => {
94881
- 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();
94882
96967
  if (!result.ok) {
94883
96968
  return {
94884
96969
  content: [{ type: "text", text: result.error.message }],
@@ -94893,9 +96978,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
94893
96978
 
94894
96979
  // src/funcs/transfersCreateCancellation.ts
94895
96980
  function transfersCreateCancellation(client, request, options) {
94896
- return new APIPromise($do140(client, request, options));
96981
+ return new APIPromise($do145(client, request, options));
94897
96982
  }
94898
- async function $do140(client, request, options) {
96983
+ async function $do145(client, request, options) {
94899
96984
  const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
94900
96985
  if (!parsed.ok) {
94901
96986
  return [parsed, { status: "invalid" }];
@@ -94978,12 +97063,12 @@ var init_transfersCreateCancellation = __esm(() => {
94978
97063
  });
94979
97064
 
94980
97065
  // src/mcp-server/tools/transfersCreateCancellation.ts
94981
- var args140, tool$transfersCreateCancellation;
97066
+ var args145, tool$transfersCreateCancellation;
94982
97067
  var init_transfersCreateCancellation2 = __esm(() => {
94983
97068
  init_transfersCreateCancellation();
94984
97069
  init_operations();
94985
97070
  init_tools();
94986
- args140 = {
97071
+ args145 = {
94987
97072
  request: CreateCancellationRequest$inboundSchema
94988
97073
  };
94989
97074
  tool$transfersCreateCancellation = {
@@ -94992,9 +97077,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
94992
97077
 
94993
97078
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
94994
97079
  to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
94995
- args: args140,
94996
- tool: async (client, args141, ctx) => {
94997
- 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();
94998
97083
  if (!result.ok) {
94999
97084
  return {
95000
97085
  content: [{ type: "text", text: result.error.message }],
@@ -95009,9 +97094,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
95009
97094
 
95010
97095
  // src/funcs/transfersCreateReversal.ts
95011
97096
  function transfersCreateReversal(client, request, options) {
95012
- return new APIPromise($do141(client, request, options));
97097
+ return new APIPromise($do146(client, request, options));
95013
97098
  }
95014
- async function $do141(client, request, options) {
97099
+ async function $do146(client, request, options) {
95015
97100
  const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
95016
97101
  if (!parsed.ok) {
95017
97102
  return [parsed, { status: "invalid" }];
@@ -95110,12 +97195,12 @@ var init_transfersCreateReversal = __esm(() => {
95110
97195
  });
95111
97196
 
95112
97197
  // src/mcp-server/tools/transfersCreateReversal.ts
95113
- var args141, tool$transfersCreateReversal;
97198
+ var args146, tool$transfersCreateReversal;
95114
97199
  var init_transfersCreateReversal2 = __esm(() => {
95115
97200
  init_transfersCreateReversal();
95116
97201
  init_operations();
95117
97202
  init_tools();
95118
- args141 = {
97203
+ args146 = {
95119
97204
  request: CreateReversalRequest$inboundSchema
95120
97205
  };
95121
97206
  tool$transfersCreateReversal = {
@@ -95126,9 +97211,9 @@ to learn more.
95126
97211
 
95127
97212
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
95128
97213
  to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
95129
- args: args141,
95130
- tool: async (client, args142, ctx) => {
95131
- 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();
95132
97217
  if (!result.ok) {
95133
97218
  return {
95134
97219
  content: [{ type: "text", text: result.error.message }],
@@ -95143,9 +97228,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
95143
97228
 
95144
97229
  // src/funcs/transfersGenerateOptions.ts
95145
97230
  function transfersGenerateOptions(client, request, options) {
95146
- return new APIPromise($do142(client, request, options));
97231
+ return new APIPromise($do147(client, request, options));
95147
97232
  }
95148
- async function $do142(client, request, options) {
97233
+ async function $do147(client, request, options) {
95149
97234
  const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
95150
97235
  if (!parsed.ok) {
95151
97236
  return [parsed, { status: "invalid" }];
@@ -95229,12 +97314,12 @@ var init_transfersGenerateOptions = __esm(() => {
95229
97314
  });
95230
97315
 
95231
97316
  // src/mcp-server/tools/transfersGenerateOptions.ts
95232
- var args142, tool$transfersGenerateOptions;
97317
+ var args147, tool$transfersGenerateOptions;
95233
97318
  var init_transfersGenerateOptions2 = __esm(() => {
95234
97319
  init_transfersGenerateOptions();
95235
97320
  init_operations();
95236
97321
  init_tools();
95237
- args142 = {
97322
+ args147 = {
95238
97323
  request: CreateTransferOptionsRequest$inboundSchema
95239
97324
  };
95240
97325
  tool$transfersGenerateOptions = {
@@ -95248,9 +97333,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
95248
97333
 
95249
97334
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95250
97335
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
95251
- args: args142,
95252
- tool: async (client, args143, ctx) => {
95253
- 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();
95254
97339
  if (!result.ok) {
95255
97340
  return {
95256
97341
  content: [{ type: "text", text: result.error.message }],
@@ -95265,9 +97350,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
95265
97350
 
95266
97351
  // src/funcs/transfersGet.ts
95267
97352
  function transfersGet(client, request, options) {
95268
- return new APIPromise($do143(client, request, options));
97353
+ return new APIPromise($do148(client, request, options));
95269
97354
  }
95270
- async function $do143(client, request, options) {
97355
+ async function $do148(client, request, options) {
95271
97356
  const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
95272
97357
  if (!parsed.ok) {
95273
97358
  return [parsed, { status: "invalid" }];
@@ -95349,12 +97434,12 @@ var init_transfersGet = __esm(() => {
95349
97434
  });
95350
97435
 
95351
97436
  // src/mcp-server/tools/transfersGet.ts
95352
- var args143, tool$transfersGet;
97437
+ var args148, tool$transfersGet;
95353
97438
  var init_transfersGet2 = __esm(() => {
95354
97439
  init_transfersGet();
95355
97440
  init_operations();
95356
97441
  init_tools();
95357
- args143 = {
97442
+ args148 = {
95358
97443
  request: GetTransferRequest$inboundSchema
95359
97444
  };
95360
97445
  tool$transfersGet = {
@@ -95366,9 +97451,9 @@ to learn more.
95366
97451
 
95367
97452
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95368
97453
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95369
- args: args143,
95370
- tool: async (client, args144, ctx) => {
95371
- 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();
95372
97457
  if (!result.ok) {
95373
97458
  return {
95374
97459
  content: [{ type: "text", text: result.error.message }],
@@ -95383,9 +97468,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95383
97468
 
95384
97469
  // src/funcs/transfersGetCancellation.ts
95385
97470
  function transfersGetCancellation(client, request, options) {
95386
- return new APIPromise($do144(client, request, options));
97471
+ return new APIPromise($do149(client, request, options));
95387
97472
  }
95388
- async function $do144(client, request, options) {
97473
+ async function $do149(client, request, options) {
95389
97474
  const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
95390
97475
  if (!parsed.ok) {
95391
97476
  return [parsed, { status: "invalid" }];
@@ -95471,12 +97556,12 @@ var init_transfersGetCancellation = __esm(() => {
95471
97556
  });
95472
97557
 
95473
97558
  // src/mcp-server/tools/transfersGetCancellation.ts
95474
- var args144, tool$transfersGetCancellation;
97559
+ var args149, tool$transfersGetCancellation;
95475
97560
  var init_transfersGetCancellation2 = __esm(() => {
95476
97561
  init_transfersGetCancellation();
95477
97562
  init_operations();
95478
97563
  init_tools();
95479
- args144 = {
97564
+ args149 = {
95480
97565
  request: GetCancellationRequest$inboundSchema
95481
97566
  };
95482
97567
  tool$transfersGetCancellation = {
@@ -95485,9 +97570,9 @@ var init_transfersGetCancellation2 = __esm(() => {
95485
97570
 
95486
97571
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
95487
97572
  to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95488
- args: args144,
95489
- tool: async (client, args145, ctx) => {
95490
- 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();
95491
97576
  if (!result.ok) {
95492
97577
  return {
95493
97578
  content: [{ type: "text", text: result.error.message }],
@@ -95502,9 +97587,9 @@ var init_transfersGetCancellation2 = __esm(() => {
95502
97587
 
95503
97588
  // src/funcs/transfersGetRefund.ts
95504
97589
  function transfersGetRefund(client, request, options) {
95505
- return new APIPromise($do145(client, request, options));
97590
+ return new APIPromise($do150(client, request, options));
95506
97591
  }
95507
- async function $do145(client, request, options) {
97592
+ async function $do150(client, request, options) {
95508
97593
  const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
95509
97594
  if (!parsed.ok) {
95510
97595
  return [parsed, { status: "invalid" }];
@@ -95590,12 +97675,12 @@ var init_transfersGetRefund = __esm(() => {
95590
97675
  });
95591
97676
 
95592
97677
  // src/mcp-server/tools/transfersGetRefund.ts
95593
- var args145, tool$transfersGetRefund;
97678
+ var args150, tool$transfersGetRefund;
95594
97679
  var init_transfersGetRefund2 = __esm(() => {
95595
97680
  init_transfersGetRefund();
95596
97681
  init_operations();
95597
97682
  init_tools();
95598
- args145 = {
97683
+ args150 = {
95599
97684
  request: GetRefundRequest$inboundSchema
95600
97685
  };
95601
97686
  tool$transfersGetRefund = {
@@ -95604,9 +97689,9 @@ var init_transfersGetRefund2 = __esm(() => {
95604
97689
 
95605
97690
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95606
97691
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95607
- args: args145,
95608
- tool: async (client, args146, ctx) => {
95609
- 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();
95610
97695
  if (!result.ok) {
95611
97696
  return {
95612
97697
  content: [{ type: "text", text: result.error.message }],
@@ -95621,9 +97706,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95621
97706
 
95622
97707
  // src/funcs/transfersInitiateRefund.ts
95623
97708
  function transfersInitiateRefund(client, request, options) {
95624
- return new APIPromise($do146(client, request, options));
97709
+ return new APIPromise($do151(client, request, options));
95625
97710
  }
95626
- async function $do146(client, request, options) {
97711
+ async function $do151(client, request, options) {
95627
97712
  const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
95628
97713
  if (!parsed.ok) {
95629
97714
  return [parsed, { status: "invalid" }];
@@ -95715,12 +97800,12 @@ var init_transfersInitiateRefund = __esm(() => {
95715
97800
  });
95716
97801
 
95717
97802
  // src/mcp-server/tools/transfersInitiateRefund.ts
95718
- var args146, tool$transfersInitiateRefund;
97803
+ var args151, tool$transfersInitiateRefund;
95719
97804
  var init_transfersInitiateRefund2 = __esm(() => {
95720
97805
  init_transfersInitiateRefund();
95721
97806
  init_operations();
95722
97807
  init_tools();
95723
- args146 = {
97808
+ args151 = {
95724
97809
  request: InitiateRefundRequest$inboundSchema
95725
97810
  };
95726
97811
  tool$transfersInitiateRefund = {
@@ -95732,9 +97817,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
95732
97817
 
95733
97818
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95734
97819
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
95735
- args: args146,
95736
- tool: async (client, args147, ctx) => {
95737
- 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();
95738
97823
  if (!result.ok) {
95739
97824
  return {
95740
97825
  content: [{ type: "text", text: result.error.message }],
@@ -95749,9 +97834,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
95749
97834
 
95750
97835
  // src/funcs/transfersList.ts
95751
97836
  function transfersList(client, request, options) {
95752
- return new APIPromise($do147(client, request, options));
97837
+ return new APIPromise($do152(client, request, options));
95753
97838
  }
95754
- async function $do147(client, request, options) {
97839
+ async function $do152(client, request, options) {
95755
97840
  const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
95756
97841
  if (!parsed.ok) {
95757
97842
  return [parsed, { status: "invalid" }];
@@ -95847,12 +97932,12 @@ var init_transfersList = __esm(() => {
95847
97932
  });
95848
97933
 
95849
97934
  // src/mcp-server/tools/transfersList.ts
95850
- var args147, tool$transfersList;
97935
+ var args152, tool$transfersList;
95851
97936
  var init_transfersList2 = __esm(() => {
95852
97937
  init_transfersList();
95853
97938
  init_operations();
95854
97939
  init_tools();
95855
- args147 = {
97940
+ args152 = {
95856
97941
  request: ListTransfersRequest$inboundSchema
95857
97942
  };
95858
97943
  tool$transfersList = {
@@ -95868,9 +97953,9 @@ period of time. You can run multiple requests in smaller time window increments
95868
97953
 
95869
97954
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95870
97955
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95871
- args: args147,
95872
- tool: async (client, args148, ctx) => {
95873
- 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();
95874
97959
  if (!result.ok) {
95875
97960
  return {
95876
97961
  content: [{ type: "text", text: result.error.message }],
@@ -95885,9 +97970,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95885
97970
 
95886
97971
  // src/funcs/transfersListRefunds.ts
95887
97972
  function transfersListRefunds(client, request, options) {
95888
- return new APIPromise($do148(client, request, options));
97973
+ return new APIPromise($do153(client, request, options));
95889
97974
  }
95890
- async function $do148(client, request, options) {
97975
+ async function $do153(client, request, options) {
95891
97976
  const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
95892
97977
  if (!parsed.ok) {
95893
97978
  return [parsed, { status: "invalid" }];
@@ -95969,12 +98054,12 @@ var init_transfersListRefunds = __esm(() => {
95969
98054
  });
95970
98055
 
95971
98056
  // src/mcp-server/tools/transfersListRefunds.ts
95972
- var args148, tool$transfersListRefunds;
98057
+ var args153, tool$transfersListRefunds;
95973
98058
  var init_transfersListRefunds2 = __esm(() => {
95974
98059
  init_transfersListRefunds();
95975
98060
  init_operations();
95976
98061
  init_tools();
95977
- args148 = {
98062
+ args153 = {
95978
98063
  request: ListRefundsRequest$inboundSchema
95979
98064
  };
95980
98065
  tool$transfersListRefunds = {
@@ -95983,9 +98068,9 @@ var init_transfersListRefunds2 = __esm(() => {
95983
98068
 
95984
98069
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
95985
98070
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
95986
- args: args148,
95987
- tool: async (client, args149, ctx) => {
95988
- 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();
95989
98074
  if (!result.ok) {
95990
98075
  return {
95991
98076
  content: [{ type: "text", text: result.error.message }],
@@ -96000,9 +98085,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
96000
98085
 
96001
98086
  // src/funcs/transfersUpdate.ts
96002
98087
  function transfersUpdate(client, request, options) {
96003
- return new APIPromise($do149(client, request, options));
98088
+ return new APIPromise($do154(client, request, options));
96004
98089
  }
96005
- async function $do149(client, request, options) {
98090
+ async function $do154(client, request, options) {
96006
98091
  const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
96007
98092
  if (!parsed.ok) {
96008
98093
  return [parsed, { status: "invalid" }];
@@ -96088,12 +98173,12 @@ var init_transfersUpdate = __esm(() => {
96088
98173
  });
96089
98174
 
96090
98175
  // src/mcp-server/tools/transfersUpdate.ts
96091
- var args149, tool$transfersUpdate;
98176
+ var args154, tool$transfersUpdate;
96092
98177
  var init_transfersUpdate2 = __esm(() => {
96093
98178
  init_transfersUpdate();
96094
98179
  init_operations();
96095
98180
  init_tools();
96096
- args149 = {
98181
+ args154 = {
96097
98182
  request: UpdateTransferRequest$inboundSchema
96098
98183
  };
96099
98184
  tool$transfersUpdate = {
@@ -96104,9 +98189,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
96104
98189
 
96105
98190
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96106
98191
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
96107
- args: args149,
96108
- tool: async (client, args150, ctx) => {
96109
- 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();
96110
98195
  if (!result.ok) {
96111
98196
  return {
96112
98197
  content: [{ type: "text", text: result.error.message }],
@@ -96121,9 +98206,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
96121
98206
 
96122
98207
  // src/funcs/underwritingGet.ts
96123
98208
  function underwritingGet(client, request, options) {
96124
- return new APIPromise($do150(client, request, options));
98209
+ return new APIPromise($do155(client, request, options));
96125
98210
  }
96126
- async function $do150(client, request, options) {
98211
+ async function $do155(client, request, options) {
96127
98212
  const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
96128
98213
  if (!parsed.ok) {
96129
98214
  return [parsed, { status: "invalid" }];
@@ -96201,12 +98286,12 @@ var init_underwritingGet = __esm(() => {
96201
98286
  });
96202
98287
 
96203
98288
  // src/mcp-server/tools/underwritingGet.ts
96204
- var args150, tool$underwritingGet;
98289
+ var args155, tool$underwritingGet;
96205
98290
  var init_underwritingGet2 = __esm(() => {
96206
98291
  init_underwritingGet();
96207
98292
  init_operations();
96208
98293
  init_tools();
96209
- args150 = {
98294
+ args155 = {
96210
98295
  request: GetUnderwritingRequest$inboundSchema
96211
98296
  };
96212
98297
  tool$underwritingGet = {
@@ -96217,9 +98302,140 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
96217
98302
 
96218
98303
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96219
98304
  you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
96220
- args: args150,
96221
- tool: async (client, args151, ctx) => {
96222
- 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();
96223
98439
  if (!result.ok) {
96224
98440
  return {
96225
98441
  content: [{ type: "text", text: result.error.message }],
@@ -96234,9 +98450,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
96234
98450
 
96235
98451
  // src/funcs/underwritingUpsert.ts
96236
98452
  function underwritingUpsert(client, request, options) {
96237
- return new APIPromise($do151(client, request, options));
98453
+ return new APIPromise($do157(client, request, options));
96238
98454
  }
96239
- async function $do151(client, request, options) {
98455
+ async function $do157(client, request, options) {
96240
98456
  const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
96241
98457
  if (!parsed.ok) {
96242
98458
  return [parsed, { status: "invalid" }];
@@ -96332,12 +98548,12 @@ var init_underwritingUpsert = __esm(() => {
96332
98548
  });
96333
98549
 
96334
98550
  // src/mcp-server/tools/underwritingUpsert.ts
96335
- var args151, tool$underwritingUpsert;
98551
+ var args157, tool$underwritingUpsert;
96336
98552
  var init_underwritingUpsert2 = __esm(() => {
96337
98553
  init_underwritingUpsert();
96338
98554
  init_operations();
96339
98555
  init_tools();
96340
- args151 = {
98556
+ args157 = {
96341
98557
  request: UpsertUnderwritingRequest$inboundSchema
96342
98558
  };
96343
98559
  tool$underwritingUpsert = {
@@ -96348,9 +98564,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
96348
98564
 
96349
98565
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96350
98566
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
96351
- args: args151,
96352
- tool: async (client, args152, ctx) => {
96353
- 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();
96354
98570
  if (!result.ok) {
96355
98571
  return {
96356
98572
  content: [{ type: "text", text: result.error.message }],
@@ -96365,9 +98581,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
96365
98581
 
96366
98582
  // src/funcs/walletsCreate.ts
96367
98583
  function walletsCreate(client, request, options) {
96368
- return new APIPromise($do152(client, request, options));
98584
+ return new APIPromise($do158(client, request, options));
96369
98585
  }
96370
- async function $do152(client, request, options) {
98586
+ async function $do158(client, request, options) {
96371
98587
  const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
96372
98588
  if (!parsed.ok) {
96373
98589
  return [parsed, { status: "invalid" }];
@@ -96461,12 +98677,12 @@ var init_walletsCreate = __esm(() => {
96461
98677
  });
96462
98678
 
96463
98679
  // src/mcp-server/tools/walletsCreate.ts
96464
- var args152, tool$walletsCreate;
98680
+ var args158, tool$walletsCreate;
96465
98681
  var init_walletsCreate2 = __esm(() => {
96466
98682
  init_walletsCreate();
96467
98683
  init_operations();
96468
98684
  init_tools();
96469
- args152 = {
98685
+ args158 = {
96470
98686
  request: CreateWalletRequest$inboundSchema
96471
98687
  };
96472
98688
  tool$walletsCreate = {
@@ -96477,9 +98693,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
96477
98693
 
96478
98694
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96479
98695
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
96480
- args: args152,
96481
- tool: async (client, args153, ctx) => {
96482
- 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();
96483
98699
  if (!result.ok) {
96484
98700
  return {
96485
98701
  content: [{ type: "text", text: result.error.message }],
@@ -96494,9 +98710,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
96494
98710
 
96495
98711
  // src/funcs/walletsGet.ts
96496
98712
  function walletsGet(client, request, options) {
96497
- return new APIPromise($do153(client, request, options));
98713
+ return new APIPromise($do159(client, request, options));
96498
98714
  }
96499
- async function $do153(client, request, options) {
98715
+ async function $do159(client, request, options) {
96500
98716
  const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
96501
98717
  if (!parsed.ok) {
96502
98718
  return [parsed, { status: "invalid" }];
@@ -96578,12 +98794,12 @@ var init_walletsGet = __esm(() => {
96578
98794
  });
96579
98795
 
96580
98796
  // src/mcp-server/tools/walletsGet.ts
96581
- var args153, tool$walletsGet;
98797
+ var args159, tool$walletsGet;
96582
98798
  var init_walletsGet2 = __esm(() => {
96583
98799
  init_walletsGet();
96584
98800
  init_operations();
96585
98801
  init_tools();
96586
- args153 = {
98802
+ args159 = {
96587
98803
  request: GetWalletRequest$inboundSchema
96588
98804
  };
96589
98805
  tool$walletsGet = {
@@ -96594,9 +98810,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
96594
98810
 
96595
98811
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96596
98812
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96597
- args: args153,
96598
- tool: async (client, args154, ctx) => {
96599
- 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();
96600
98816
  if (!result.ok) {
96601
98817
  return {
96602
98818
  content: [{ type: "text", text: result.error.message }],
@@ -96611,9 +98827,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96611
98827
 
96612
98828
  // src/funcs/walletsList.ts
96613
98829
  function walletsList(client, request, options) {
96614
- return new APIPromise($do154(client, request, options));
98830
+ return new APIPromise($do160(client, request, options));
96615
98831
  }
96616
- async function $do154(client, request, options) {
98832
+ async function $do160(client, request, options) {
96617
98833
  const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
96618
98834
  if (!parsed.ok) {
96619
98835
  return [parsed, { status: "invalid" }];
@@ -96701,12 +98917,12 @@ var init_walletsList = __esm(() => {
96701
98917
  });
96702
98918
 
96703
98919
  // src/mcp-server/tools/walletsList.ts
96704
- var args154, tool$walletsList;
98920
+ var args160, tool$walletsList;
96705
98921
  var init_walletsList2 = __esm(() => {
96706
98922
  init_walletsList();
96707
98923
  init_operations();
96708
98924
  init_tools();
96709
- args154 = {
98925
+ args160 = {
96710
98926
  request: ListWalletsRequest$inboundSchema
96711
98927
  };
96712
98928
  tool$walletsList = {
@@ -96717,9 +98933,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
96717
98933
 
96718
98934
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96719
98935
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96720
- args: args154,
96721
- tool: async (client, args155, ctx) => {
96722
- 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();
96723
98939
  if (!result.ok) {
96724
98940
  return {
96725
98941
  content: [{ type: "text", text: result.error.message }],
@@ -96734,9 +98950,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96734
98950
 
96735
98951
  // src/funcs/walletsUpdate.ts
96736
98952
  function walletsUpdate(client, request, options) {
96737
- return new APIPromise($do155(client, request, options));
98953
+ return new APIPromise($do161(client, request, options));
96738
98954
  }
96739
- async function $do155(client, request, options) {
98955
+ async function $do161(client, request, options) {
96740
98956
  const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
96741
98957
  if (!parsed.ok) {
96742
98958
  return [parsed, { status: "invalid" }];
@@ -96834,12 +99050,12 @@ var init_walletsUpdate = __esm(() => {
96834
99050
  });
96835
99051
 
96836
99052
  // src/mcp-server/tools/walletsUpdate.ts
96837
- var args155, tool$walletsUpdate;
99053
+ var args161, tool$walletsUpdate;
96838
99054
  var init_walletsUpdate2 = __esm(() => {
96839
99055
  init_walletsUpdate();
96840
99056
  init_operations();
96841
99057
  init_tools();
96842
- args155 = {
99058
+ args161 = {
96843
99059
  request: UpdateWalletRequest$inboundSchema
96844
99060
  };
96845
99061
  tool$walletsUpdate = {
@@ -96850,9 +99066,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
96850
99066
 
96851
99067
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96852
99068
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
96853
- args: args155,
96854
- tool: async (client, args156, ctx) => {
96855
- 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();
96856
99072
  if (!result.ok) {
96857
99073
  return {
96858
99074
  content: [{ type: "text", text: result.error.message }],
@@ -96867,9 +99083,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
96867
99083
 
96868
99084
  // src/funcs/walletTransactionsGet.ts
96869
99085
  function walletTransactionsGet(client, request, options) {
96870
- return new APIPromise($do156(client, request, options));
99086
+ return new APIPromise($do162(client, request, options));
96871
99087
  }
96872
- async function $do156(client, request, options) {
99088
+ async function $do162(client, request, options) {
96873
99089
  const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
96874
99090
  if (!parsed.ok) {
96875
99091
  return [parsed, { status: "invalid" }];
@@ -96955,12 +99171,12 @@ var init_walletTransactionsGet = __esm(() => {
96955
99171
  });
96956
99172
 
96957
99173
  // src/mcp-server/tools/walletTransactionsGet.ts
96958
- var args156, tool$walletTransactionsGet;
99174
+ var args162, tool$walletTransactionsGet;
96959
99175
  var init_walletTransactionsGet2 = __esm(() => {
96960
99176
  init_walletTransactionsGet();
96961
99177
  init_operations();
96962
99178
  init_tools();
96963
- args156 = {
99179
+ args162 = {
96964
99180
  request: GetWalletTransactionRequest$inboundSchema
96965
99181
  };
96966
99182
  tool$walletTransactionsGet = {
@@ -96971,9 +99187,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
96971
99187
 
96972
99188
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96973
99189
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96974
- args: args156,
96975
- tool: async (client, args157, ctx) => {
96976
- 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();
96977
99193
  if (!result.ok) {
96978
99194
  return {
96979
99195
  content: [{ type: "text", text: result.error.message }],
@@ -96988,9 +99204,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
96988
99204
 
96989
99205
  // src/funcs/walletTransactionsList.ts
96990
99206
  function walletTransactionsList(client, request, options) {
96991
- return new APIPromise($do157(client, request, options));
99207
+ return new APIPromise($do163(client, request, options));
96992
99208
  }
96993
- async function $do157(client, request, options) {
99209
+ async function $do163(client, request, options) {
96994
99210
  const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
96995
99211
  if (!parsed.ok) {
96996
99212
  return [parsed, { status: "invalid" }];
@@ -97090,12 +99306,12 @@ var init_walletTransactionsList = __esm(() => {
97090
99306
  });
97091
99307
 
97092
99308
  // src/mcp-server/tools/walletTransactionsList.ts
97093
- var args157, tool$walletTransactionsList;
99309
+ var args163, tool$walletTransactionsList;
97094
99310
  var init_walletTransactionsList2 = __esm(() => {
97095
99311
  init_walletTransactionsList();
97096
99312
  init_operations();
97097
99313
  init_tools();
97098
- args157 = {
99314
+ args163 = {
97099
99315
  request: ListWalletTransactionsRequest$inboundSchema
97100
99316
  };
97101
99317
  tool$walletTransactionsList = {
@@ -97106,9 +99322,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
97106
99322
 
97107
99323
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
97108
99324
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97109
- args: args157,
97110
- tool: async (client, args158, ctx) => {
97111
- 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();
97112
99328
  if (!result.ok) {
97113
99329
  return {
97114
99330
  content: [{ type: "text", text: result.error.message }],
@@ -97123,9 +99339,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97123
99339
 
97124
99340
  // src/funcs/webhooksCreate.ts
97125
99341
  function webhooksCreate(client, request, options) {
97126
- return new APIPromise($do158(client, request, options));
99342
+ return new APIPromise($do164(client, request, options));
97127
99343
  }
97128
- async function $do158(client, request, options) {
99344
+ async function $do164(client, request, options) {
97129
99345
  const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
97130
99346
  if (!parsed.ok) {
97131
99347
  return [parsed, { status: "invalid" }];
@@ -97214,20 +99430,20 @@ var init_webhooksCreate = __esm(() => {
97214
99430
  });
97215
99431
 
97216
99432
  // src/mcp-server/tools/webhooksCreate.ts
97217
- var args158, tool$webhooksCreate;
99433
+ var args164, tool$webhooksCreate;
97218
99434
  var init_webhooksCreate2 = __esm(() => {
97219
99435
  init_webhooksCreate();
97220
99436
  init_components();
97221
99437
  init_tools();
97222
- args158 = {
99438
+ args164 = {
97223
99439
  request: CreateWebhook$inboundSchema
97224
99440
  };
97225
99441
  tool$webhooksCreate = {
97226
99442
  name: "webhooks-create",
97227
99443
  description: `Create a new webhook for the account.`,
97228
- args: args158,
97229
- tool: async (client, args159, ctx) => {
97230
- 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();
97231
99447
  if (!result.ok) {
97232
99448
  return {
97233
99449
  content: [{ type: "text", text: result.error.message }],
@@ -97242,9 +99458,9 @@ var init_webhooksCreate2 = __esm(() => {
97242
99458
 
97243
99459
  // src/funcs/webhooksDisable.ts
97244
99460
  function webhooksDisable(client, request, options) {
97245
- return new APIPromise($do159(client, request, options));
99461
+ return new APIPromise($do165(client, request, options));
97246
99462
  }
97247
- async function $do159(client, request, options) {
99463
+ async function $do165(client, request, options) {
97248
99464
  const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
97249
99465
  if (!parsed.ok) {
97250
99466
  return [parsed, { status: "invalid" }];
@@ -97333,20 +99549,20 @@ var init_webhooksDisable = __esm(() => {
97333
99549
  });
97334
99550
 
97335
99551
  // src/mcp-server/tools/webhooksDisable.ts
97336
- var args159, tool$webhooksDisable;
99552
+ var args165, tool$webhooksDisable;
97337
99553
  var init_webhooksDisable2 = __esm(() => {
97338
99554
  init_webhooksDisable();
97339
99555
  init_operations();
97340
99556
  init_tools();
97341
- args159 = {
99557
+ args165 = {
97342
99558
  request: DisableWebhookRequest$inboundSchema
97343
99559
  };
97344
99560
  tool$webhooksDisable = {
97345
99561
  name: "webhooks-disable",
97346
99562
  description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
97347
- args: args159,
97348
- tool: async (client, args160, ctx) => {
97349
- 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();
97350
99566
  if (!result.ok) {
97351
99567
  return {
97352
99568
  content: [{ type: "text", text: result.error.message }],
@@ -97360,9 +99576,9 @@ var init_webhooksDisable2 = __esm(() => {
97360
99576
 
97361
99577
  // src/funcs/webhooksGet.ts
97362
99578
  function webhooksGet(client, request, options) {
97363
- return new APIPromise($do160(client, request, options));
99579
+ return new APIPromise($do166(client, request, options));
97364
99580
  }
97365
- async function $do160(client, request, options) {
99581
+ async function $do166(client, request, options) {
97366
99582
  const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
97367
99583
  if (!parsed.ok) {
97368
99584
  return [parsed, { status: "invalid" }];
@@ -97440,20 +99656,20 @@ var init_webhooksGet = __esm(() => {
97440
99656
  });
97441
99657
 
97442
99658
  // src/mcp-server/tools/webhooksGet.ts
97443
- var args160, tool$webhooksGet;
99659
+ var args166, tool$webhooksGet;
97444
99660
  var init_webhooksGet2 = __esm(() => {
97445
99661
  init_webhooksGet();
97446
99662
  init_operations();
97447
99663
  init_tools();
97448
- args160 = {
99664
+ args166 = {
97449
99665
  request: GetWebhookRequest$inboundSchema
97450
99666
  };
97451
99667
  tool$webhooksGet = {
97452
99668
  name: "webhooks-get",
97453
99669
  description: `Get details of a specific webhook.`,
97454
- args: args160,
97455
- tool: async (client, args161, ctx) => {
97456
- 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();
97457
99673
  if (!result.ok) {
97458
99674
  return {
97459
99675
  content: [{ type: "text", text: result.error.message }],
@@ -97468,9 +99684,9 @@ var init_webhooksGet2 = __esm(() => {
97468
99684
 
97469
99685
  // src/funcs/webhooksGetSecret.ts
97470
99686
  function webhooksGetSecret(client, request, options) {
97471
- return new APIPromise($do161(client, request, options));
99687
+ return new APIPromise($do167(client, request, options));
97472
99688
  }
97473
- async function $do161(client, request, options) {
99689
+ async function $do167(client, request, options) {
97474
99690
  const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
97475
99691
  if (!parsed.ok) {
97476
99692
  return [parsed, { status: "invalid" }];
@@ -97548,20 +99764,20 @@ var init_webhooksGetSecret = __esm(() => {
97548
99764
  });
97549
99765
 
97550
99766
  // src/mcp-server/tools/webhooksGetSecret.ts
97551
- var args161, tool$webhooksGetSecret;
99767
+ var args167, tool$webhooksGetSecret;
97552
99768
  var init_webhooksGetSecret2 = __esm(() => {
97553
99769
  init_webhooksGetSecret();
97554
99770
  init_operations();
97555
99771
  init_tools();
97556
- args161 = {
99772
+ args167 = {
97557
99773
  request: GetWebhookSecretRequest$inboundSchema
97558
99774
  };
97559
99775
  tool$webhooksGetSecret = {
97560
99776
  name: "webhooks-get-secret",
97561
99777
  description: `Get the secret key for verifying webhook payloads.`,
97562
- args: args161,
97563
- tool: async (client, args162, ctx) => {
97564
- 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();
97565
99781
  if (!result.ok) {
97566
99782
  return {
97567
99783
  content: [{ type: "text", text: result.error.message }],
@@ -97576,9 +99792,9 @@ var init_webhooksGetSecret2 = __esm(() => {
97576
99792
 
97577
99793
  // src/funcs/webhooksList.ts
97578
99794
  function webhooksList(client, _request, options) {
97579
- return new APIPromise($do162(client, _request, options));
99795
+ return new APIPromise($do168(client, _request, options));
97580
99796
  }
97581
- async function $do162(client, _request, options) {
99797
+ async function $do168(client, _request, options) {
97582
99798
  const path = pathToFunc("/webhooks")();
97583
99799
  const headers = new Headers(compactMap({
97584
99800
  Accept: "application/json",
@@ -97642,20 +99858,20 @@ var init_webhooksList = __esm(() => {
97642
99858
  });
97643
99859
 
97644
99860
  // src/mcp-server/tools/webhooksList.ts
97645
- var args162, tool$webhooksList;
99861
+ var args168, tool$webhooksList;
97646
99862
  var init_webhooksList2 = __esm(() => {
97647
99863
  init_webhooksList();
97648
99864
  init_operations();
97649
99865
  init_tools();
97650
- args162 = {
99866
+ args168 = {
97651
99867
  request: ListWebhooksRequest$inboundSchema
97652
99868
  };
97653
99869
  tool$webhooksList = {
97654
99870
  name: "webhooks-list",
97655
99871
  description: `List all webhooks configured for the account.`,
97656
- args: args162,
97657
- tool: async (client, args163, ctx) => {
97658
- 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();
97659
99875
  if (!result.ok) {
97660
99876
  return {
97661
99877
  content: [{ type: "text", text: result.error.message }],
@@ -97670,9 +99886,9 @@ var init_webhooksList2 = __esm(() => {
97670
99886
 
97671
99887
  // src/funcs/webhooksListEventTypes.ts
97672
99888
  function webhooksListEventTypes(client, _request, options) {
97673
- return new APIPromise($do163(client, _request, options));
99889
+ return new APIPromise($do169(client, _request, options));
97674
99890
  }
97675
- async function $do163(client, _request, options) {
99891
+ async function $do169(client, _request, options) {
97676
99892
  const path = pathToFunc("/event-types")();
97677
99893
  const headers = new Headers(compactMap({
97678
99894
  Accept: "application/json",
@@ -97736,20 +99952,20 @@ var init_webhooksListEventTypes = __esm(() => {
97736
99952
  });
97737
99953
 
97738
99954
  // src/mcp-server/tools/webhooksListEventTypes.ts
97739
- var args163, tool$webhooksListEventTypes;
99955
+ var args169, tool$webhooksListEventTypes;
97740
99956
  var init_webhooksListEventTypes2 = __esm(() => {
97741
99957
  init_webhooksListEventTypes();
97742
99958
  init_operations();
97743
99959
  init_tools();
97744
- args163 = {
99960
+ args169 = {
97745
99961
  request: ListEventTypesRequest$inboundSchema
97746
99962
  };
97747
99963
  tool$webhooksListEventTypes = {
97748
99964
  name: "webhooks-list-event-types",
97749
99965
  description: `List all available event types that can be subscribed to.`,
97750
- args: args163,
97751
- tool: async (client, args164, ctx) => {
97752
- 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();
97753
99969
  if (!result.ok) {
97754
99970
  return {
97755
99971
  content: [{ type: "text", text: result.error.message }],
@@ -97764,9 +99980,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
97764
99980
 
97765
99981
  // src/funcs/webhooksPing.ts
97766
99982
  function webhooksPing(client, request, options) {
97767
- return new APIPromise($do164(client, request, options));
99983
+ return new APIPromise($do170(client, request, options));
97768
99984
  }
97769
- async function $do164(client, request, options) {
99985
+ async function $do170(client, request, options) {
97770
99986
  const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
97771
99987
  if (!parsed.ok) {
97772
99988
  return [parsed, { status: "invalid" }];
@@ -97844,20 +100060,20 @@ var init_webhooksPing = __esm(() => {
97844
100060
  });
97845
100061
 
97846
100062
  // src/mcp-server/tools/webhooksPing.ts
97847
- var args164, tool$webhooksPing;
100063
+ var args170, tool$webhooksPing;
97848
100064
  var init_webhooksPing2 = __esm(() => {
97849
100065
  init_webhooksPing();
97850
100066
  init_operations();
97851
100067
  init_tools();
97852
- args164 = {
100068
+ args170 = {
97853
100069
  request: PingWebhookRequest$inboundSchema
97854
100070
  };
97855
100071
  tool$webhooksPing = {
97856
100072
  name: "webhooks-ping",
97857
100073
  description: `Send a test ping to a webhook to verify it is configured correctly.`,
97858
- args: args164,
97859
- tool: async (client, args165, ctx) => {
97860
- 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();
97861
100077
  if (!result.ok) {
97862
100078
  return {
97863
100079
  content: [{ type: "text", text: result.error.message }],
@@ -97872,9 +100088,9 @@ var init_webhooksPing2 = __esm(() => {
97872
100088
 
97873
100089
  // src/funcs/webhooksUpdate.ts
97874
100090
  function webhooksUpdate(client, request, options) {
97875
- return new APIPromise($do165(client, request, options));
100091
+ return new APIPromise($do171(client, request, options));
97876
100092
  }
97877
- async function $do165(client, request, options) {
100093
+ async function $do171(client, request, options) {
97878
100094
  const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
97879
100095
  if (!parsed.ok) {
97880
100096
  return [parsed, { status: "invalid" }];
@@ -97968,20 +100184,20 @@ var init_webhooksUpdate = __esm(() => {
97968
100184
  });
97969
100185
 
97970
100186
  // src/mcp-server/tools/webhooksUpdate.ts
97971
- var args165, tool$webhooksUpdate;
100187
+ var args171, tool$webhooksUpdate;
97972
100188
  var init_webhooksUpdate2 = __esm(() => {
97973
100189
  init_webhooksUpdate();
97974
100190
  init_operations();
97975
100191
  init_tools();
97976
- args165 = {
100192
+ args171 = {
97977
100193
  request: UpdateWebhookRequest$inboundSchema
97978
100194
  };
97979
100195
  tool$webhooksUpdate = {
97980
100196
  name: "webhooks-update",
97981
100197
  description: `Update an existing webhook.`,
97982
- args: args165,
97983
- tool: async (client, args166, ctx) => {
97984
- 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();
97985
100201
  if (!result.ok) {
97986
100202
  return {
97987
100203
  content: [{ type: "text", text: result.error.message }],
@@ -97998,7 +100214,7 @@ var init_webhooksUpdate2 = __esm(() => {
97998
100214
  function createMCPServer(deps) {
97999
100215
  const server = new McpServer({
98000
100216
  name: "Moov",
98001
- version: "25.4.0"
100217
+ version: "25.10.0"
98002
100218
  });
98003
100219
  const client = new MoovCore({
98004
100220
  security: deps.security,
@@ -98119,6 +100335,11 @@ function createMCPServer(deps) {
98119
100335
  tool(tool$accountTerminalApplicationsList);
98120
100336
  tool(tool$accountTerminalApplicationsGet);
98121
100337
  tool(tool$accountTerminalApplicationsGetConfiguration);
100338
+ tool(tool$supportCreateTicket);
100339
+ tool(tool$supportListTickets);
100340
+ tool(tool$supportGetTicket);
100341
+ tool(tool$supportUpdateTicket);
100342
+ tool(tool$supportListTicketMessages);
98122
100343
  tool(tool$transfersGenerateOptions);
98123
100344
  tool(tool$transfersCreate);
98124
100345
  tool(tool$transfersList);
@@ -98131,6 +100352,7 @@ function createMCPServer(deps) {
98131
100352
  tool(tool$transfersGetRefund);
98132
100353
  tool(tool$transfersCreateReversal);
98133
100354
  tool(tool$underwritingGet);
100355
+ tool(tool$underwritingSave);
98134
100356
  tool(tool$underwritingUpsert);
98135
100357
  tool(tool$walletsCreate);
98136
100358
  tool(tool$walletsList);
@@ -98312,6 +100534,11 @@ var init_server2 = __esm(() => {
98312
100534
  init_schedulingUpdate2();
98313
100535
  init_statementsGet2();
98314
100536
  init_statementsList2();
100537
+ init_supportCreateTicket2();
100538
+ init_supportGetTicket2();
100539
+ init_supportListTicketMessages2();
100540
+ init_supportListTickets2();
100541
+ init_supportUpdateTicket2();
98315
100542
  init_sweepsCreateConfig2();
98316
100543
  init_sweepsGet2();
98317
100544
  init_sweepsGetConfig2();
@@ -98335,6 +100562,7 @@ var init_server2 = __esm(() => {
98335
100562
  init_transfersListRefunds2();
98336
100563
  init_transfersUpdate2();
98337
100564
  init_underwritingGet2();
100565
+ init_underwritingSave2();
98338
100566
  init_underwritingUpsert2();
98339
100567
  init_walletsCreate2();
98340
100568
  init_walletsGet2();
@@ -99552,7 +101780,7 @@ var routes = rn({
99552
101780
  var app = Ve(routes, {
99553
101781
  name: "mcp",
99554
101782
  versionInfo: {
99555
- currentVersion: "25.4.0"
101783
+ currentVersion: "25.10.0"
99556
101784
  }
99557
101785
  });
99558
101786
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -99560,5 +101788,5 @@ export {
99560
101788
  app
99561
101789
  };
99562
101790
 
99563
- //# debugId=AE55FFFB4DF534DA64756E2164756E21
101791
+ //# debugId=31847B2CA842D61D64756E2164756E21
99564
101792
  //# sourceMappingURL=mcp-server.js.map