@moovio/sdk 26.5.1 → 26.5.4

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 (336) hide show
  1. package/README.md +91 -87
  2. package/bin/mcp-server.js +645 -330
  3. package/bin/mcp-server.js.map +77 -74
  4. package/funcs/accountsCreate.d.ts +8 -10
  5. package/funcs/accountsCreate.d.ts.map +1 -1
  6. package/funcs/accountsCreate.js +8 -10
  7. package/funcs/accountsCreate.js.map +1 -1
  8. package/funcs/bankAccountsLink.d.ts +1 -1
  9. package/funcs/bankAccountsLink.js +1 -1
  10. package/funcs/capabilitiesDisable.d.ts +1 -1
  11. package/funcs/capabilitiesDisable.js +1 -1
  12. package/funcs/capabilitiesGet.d.ts +1 -1
  13. package/funcs/capabilitiesGet.js +1 -1
  14. package/funcs/capabilitiesList.d.ts +1 -1
  15. package/funcs/capabilitiesList.js +1 -1
  16. package/funcs/capabilitiesRequest.d.ts +1 -1
  17. package/funcs/capabilitiesRequest.js +1 -1
  18. package/funcs/cardIssuingGet.js +1 -1
  19. package/funcs/cardIssuingGet.js.map +1 -1
  20. package/funcs/cardIssuingGetFull.js +1 -1
  21. package/funcs/cardIssuingGetFull.js.map +1 -1
  22. package/funcs/cardIssuingList.js +1 -1
  23. package/funcs/cardIssuingList.js.map +1 -1
  24. package/funcs/cardIssuingRequest.js +1 -1
  25. package/funcs/cardIssuingRequest.js.map +1 -1
  26. package/funcs/cardIssuingUpdate.js +1 -1
  27. package/funcs/cardIssuingUpdate.js.map +1 -1
  28. package/funcs/transfersListCancellations.d.ts +17 -0
  29. package/funcs/transfersListCancellations.d.ts.map +1 -0
  30. package/funcs/transfersListCancellations.js +129 -0
  31. package/funcs/transfersListCancellations.js.map +1 -0
  32. package/hooks/types.d.ts +1 -0
  33. package/hooks/types.d.ts.map +1 -1
  34. package/jsr.json +1 -1
  35. package/lib/config.d.ts +3 -3
  36. package/lib/config.js +3 -3
  37. package/lib/encodings.js +12 -12
  38. package/lib/encodings.js.map +1 -1
  39. package/lib/http.d.ts +1 -1
  40. package/lib/http.d.ts.map +1 -1
  41. package/lib/http.js +1 -1
  42. package/lib/http.js.map +1 -1
  43. package/lib/matchers.js +3 -3
  44. package/lib/matchers.js.map +1 -1
  45. package/lib/primitives.d.ts +1 -0
  46. package/lib/primitives.d.ts.map +1 -1
  47. package/lib/primitives.js +18 -0
  48. package/lib/primitives.js.map +1 -1
  49. package/lib/retries.js +7 -0
  50. package/lib/retries.js.map +1 -1
  51. package/lib/sdks.d.ts.map +1 -1
  52. package/lib/sdks.js +50 -16
  53. package/lib/sdks.js.map +1 -1
  54. package/lib/security.d.ts +5 -4
  55. package/lib/security.d.ts.map +1 -1
  56. package/lib/security.js +6 -7
  57. package/lib/security.js.map +1 -1
  58. package/mcp-server/mcp-server.js +1 -1
  59. package/mcp-server/server.d.ts.map +1 -1
  60. package/mcp-server/server.js +3 -1
  61. package/mcp-server/server.js.map +1 -1
  62. package/mcp-server/tools/accountsCreate.d.ts.map +1 -1
  63. package/mcp-server/tools/accountsCreate.js +8 -10
  64. package/mcp-server/tools/accountsCreate.js.map +1 -1
  65. package/mcp-server/tools/bankAccountsLink.js +1 -1
  66. package/mcp-server/tools/capabilitiesDisable.js +1 -1
  67. package/mcp-server/tools/capabilitiesGet.js +1 -1
  68. package/mcp-server/tools/capabilitiesList.js +1 -1
  69. package/mcp-server/tools/capabilitiesRequest.js +1 -1
  70. package/mcp-server/tools/transfersListCancellations.d.ts +8 -0
  71. package/mcp-server/tools/transfersListCancellations.d.ts.map +1 -0
  72. package/mcp-server/tools/transfersListCancellations.js +65 -0
  73. package/mcp-server/tools/transfersListCancellations.js.map +1 -0
  74. package/models/components/addcapabilities.d.ts +9 -0
  75. package/models/components/addcapabilities.d.ts.map +1 -1
  76. package/models/components/addcapabilities.js.map +1 -1
  77. package/models/components/capability.d.ts +7 -1
  78. package/models/components/capability.d.ts.map +1 -1
  79. package/models/components/capability.js.map +1 -1
  80. package/models/components/capabilityid.d.ts +15 -2
  81. package/models/components/capabilityid.d.ts.map +1 -1
  82. package/models/components/capabilityid.js +8 -1
  83. package/models/components/capabilityid.js.map +1 -1
  84. package/models/components/cardbrandfees.d.ts +5 -0
  85. package/models/components/cardbrandfees.d.ts.map +1 -1
  86. package/models/components/cardbrandfees.js +2 -0
  87. package/models/components/cardbrandfees.js.map +1 -1
  88. package/models/components/cardtransactiondetails.d.ts +7 -0
  89. package/models/components/cardtransactiondetails.d.ts.map +1 -1
  90. package/models/components/cardtransactiondetails.js +5 -0
  91. package/models/components/cardtransactiondetails.js.map +1 -1
  92. package/models/components/cardtransactionstatus.d.ts +1 -0
  93. package/models/components/cardtransactionstatus.d.ts.map +1 -1
  94. package/models/components/cardtransactionstatus.js +1 -0
  95. package/models/components/cardtransactionstatus.js.map +1 -1
  96. package/models/components/createaccount.d.ts +9 -0
  97. package/models/components/createaccount.d.ts.map +1 -1
  98. package/models/components/createaccount.js.map +1 -1
  99. package/models/components/createpaymentlink.d.ts +3 -3
  100. package/models/components/createtransferdestinationcard.d.ts +5 -0
  101. package/models/components/createtransferdestinationcard.d.ts.map +1 -1
  102. package/models/components/createtransferdestinationcard.js +2 -0
  103. package/models/components/createtransferdestinationcard.js.map +1 -1
  104. package/models/components/fullissuedcard.d.ts +26 -12
  105. package/models/components/fullissuedcard.d.ts.map +1 -1
  106. package/models/components/fullissuedcard.js +11 -5
  107. package/models/components/fullissuedcard.js.map +1 -1
  108. package/models/components/index.d.ts +5 -4
  109. package/models/components/index.d.ts.map +1 -1
  110. package/models/components/index.js +5 -4
  111. package/models/components/index.js.map +1 -1
  112. package/models/components/invoice.d.ts +5 -0
  113. package/models/components/invoice.d.ts.map +1 -1
  114. package/models/components/invoice.js +2 -0
  115. package/models/components/invoice.js.map +1 -1
  116. package/models/components/issuedcard.d.ts +26 -12
  117. package/models/components/issuedcard.d.ts.map +1 -1
  118. package/models/components/issuedcard.js +11 -5
  119. package/models/components/issuedcard.js.map +1 -1
  120. package/models/components/issuedcardstate.d.ts +2 -8
  121. package/models/components/issuedcardstate.d.ts.map +1 -1
  122. package/models/components/issuedcardstate.js +1 -5
  123. package/models/components/issuedcardstate.js.map +1 -1
  124. package/models/components/manualtermsofservice.d.ts +1 -1
  125. package/models/components/manualtermsofserviceupdate.d.ts +1 -1
  126. package/models/components/onboardinginvite.d.ts +1 -1
  127. package/models/components/onboardinginviterequest.d.ts +1 -1
  128. package/models/components/patchtransfer.d.ts +3 -0
  129. package/models/components/patchtransfer.d.ts.map +1 -1
  130. package/models/components/patchtransfer.js.map +1 -1
  131. package/models/components/paymentlink.d.ts +2 -2
  132. package/models/components/paymentlinkpayoutdetails.d.ts +11 -0
  133. package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
  134. package/models/components/paymentlinkpayoutdetails.js +3 -0
  135. package/models/components/paymentlinkpayoutdetails.js.map +1 -1
  136. package/models/components/paymentlinkpayoutdetailsupdate.d.ts +11 -0
  137. package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
  138. package/models/components/paymentlinkpayoutdetailsupdate.js +3 -0
  139. package/models/components/paymentlinkpayoutdetailsupdate.js.map +1 -1
  140. package/models/components/payoutdetailserror.d.ts +3 -0
  141. package/models/components/payoutdetailserror.d.ts.map +1 -1
  142. package/models/components/payoutdetailserror.js +3 -0
  143. package/models/components/payoutdetailserror.js.map +1 -1
  144. package/models/components/pushdeliveryspeed.d.ts +18 -0
  145. package/models/components/pushdeliveryspeed.d.ts.map +1 -0
  146. package/models/components/pushdeliveryspeed.js +52 -0
  147. package/models/components/pushdeliveryspeed.js.map +1 -0
  148. package/models/components/pushoptions.d.ts +35 -0
  149. package/models/components/pushoptions.d.ts.map +1 -0
  150. package/models/components/{createauthorizeduser.js → pushoptions.js} +15 -17
  151. package/models/components/pushoptions.js.map +1 -0
  152. package/models/components/pushoptionserror.d.ts +19 -0
  153. package/models/components/pushoptionserror.d.ts.map +1 -0
  154. package/models/components/{authorizeduser.js → pushoptionserror.js} +14 -14
  155. package/models/components/pushoptionserror.js.map +1 -0
  156. package/models/components/pushoptionsupdate.d.ts +35 -0
  157. package/models/components/pushoptionsupdate.d.ts.map +1 -0
  158. package/models/components/{createauthorizedusererror.js → pushoptionsupdate.js} +15 -17
  159. package/models/components/pushoptionsupdate.js.map +1 -0
  160. package/models/components/requestcard.d.ts +14 -17
  161. package/models/components/requestcard.d.ts.map +1 -1
  162. package/models/components/requestcard.js +9 -10
  163. package/models/components/requestcard.js.map +1 -1
  164. package/models/components/termsofservice.d.ts +1 -1
  165. package/models/components/updateissuedcard.d.ts +33 -8
  166. package/models/components/updateissuedcard.d.ts.map +1 -1
  167. package/models/components/updateissuedcard.js +35 -6
  168. package/models/components/updateissuedcard.js.map +1 -1
  169. package/models/components/webhookdata.d.ts +3 -2
  170. package/models/components/webhookdata.d.ts.map +1 -1
  171. package/models/components/webhookdata.js +7 -4
  172. package/models/components/webhookdata.js.map +1 -1
  173. package/models/components/webhookdataauthorizationexpiring.d.ts +23 -0
  174. package/models/components/webhookdataauthorizationexpiring.d.ts.map +1 -0
  175. package/models/components/{createauthorizeduserupdate.js → webhookdataauthorizationexpiring.js} +18 -17
  176. package/models/components/webhookdataauthorizationexpiring.js.map +1 -0
  177. package/models/components/webhookdatacapabilityrequested.d.ts +7 -1
  178. package/models/components/webhookdatacapabilityrequested.d.ts.map +1 -1
  179. package/models/components/webhookdatacapabilityrequested.js.map +1 -1
  180. package/models/components/webhookdatacapabilityupdated.d.ts +7 -1
  181. package/models/components/webhookdatacapabilityupdated.d.ts.map +1 -1
  182. package/models/components/webhookdatacapabilityupdated.js.map +1 -1
  183. package/models/components/webhookdatasweepcreated.d.ts +5 -0
  184. package/models/components/webhookdatasweepcreated.d.ts.map +1 -1
  185. package/models/components/webhookdatasweepcreated.js +2 -0
  186. package/models/components/webhookdatasweepcreated.js.map +1 -1
  187. package/models/components/webhookdatasweepupdated.d.ts +5 -0
  188. package/models/components/webhookdatasweepupdated.d.ts.map +1 -1
  189. package/models/components/webhookdatasweepupdated.js +2 -0
  190. package/models/components/webhookdatasweepupdated.js.map +1 -1
  191. package/models/components/webhookeventtype.d.ts +1 -0
  192. package/models/components/webhookeventtype.d.ts.map +1 -1
  193. package/models/components/webhookeventtype.js +1 -0
  194. package/models/components/webhookeventtype.js.map +1 -1
  195. package/models/errors/requestcarderror.d.ts +12 -12
  196. package/models/errors/requestcarderror.d.ts.map +1 -1
  197. package/models/errors/requestcarderror.js +17 -17
  198. package/models/errors/requestcarderror.js.map +1 -1
  199. package/models/errors/updateissuedcarderror.d.ts +9 -6
  200. package/models/errors/updateissuedcarderror.d.ts.map +1 -1
  201. package/models/errors/updateissuedcarderror.js +12 -9
  202. package/models/errors/updateissuedcarderror.js.map +1 -1
  203. package/models/operations/disablecapability.d.ts +7 -1
  204. package/models/operations/disablecapability.d.ts.map +1 -1
  205. package/models/operations/disablecapability.js.map +1 -1
  206. package/models/operations/getcapability.d.ts +7 -1
  207. package/models/operations/getcapability.d.ts.map +1 -1
  208. package/models/operations/getcapability.js.map +1 -1
  209. package/models/operations/index.d.ts +1 -0
  210. package/models/operations/index.d.ts.map +1 -1
  211. package/models/operations/index.js +1 -0
  212. package/models/operations/index.js.map +1 -1
  213. package/models/operations/linkbankaccount.d.ts +1 -1
  214. package/models/operations/listcancellations.d.ts +45 -0
  215. package/models/operations/listcancellations.d.ts.map +1 -0
  216. package/models/operations/listcancellations.js +90 -0
  217. package/models/operations/listcancellations.js.map +1 -0
  218. package/models/operations/listissuedcards.d.ts +1 -1
  219. package/package.json +1 -1
  220. package/sdk/accounts.d.ts +8 -10
  221. package/sdk/accounts.d.ts.map +1 -1
  222. package/sdk/accounts.js +8 -10
  223. package/sdk/accounts.js.map +1 -1
  224. package/sdk/bankaccounts.d.ts +1 -1
  225. package/sdk/bankaccounts.js +1 -1
  226. package/sdk/capabilities.d.ts +4 -4
  227. package/sdk/capabilities.js +4 -4
  228. package/sdk/transfers.d.ts +7 -0
  229. package/sdk/transfers.d.ts.map +1 -1
  230. package/sdk/transfers.js +10 -0
  231. package/sdk/transfers.js.map +1 -1
  232. package/src/funcs/accountsCreate.ts +8 -10
  233. package/src/funcs/bankAccountsLink.ts +1 -1
  234. package/src/funcs/capabilitiesDisable.ts +1 -1
  235. package/src/funcs/capabilitiesGet.ts +1 -1
  236. package/src/funcs/capabilitiesList.ts +1 -1
  237. package/src/funcs/capabilitiesRequest.ts +1 -1
  238. package/src/funcs/cardIssuingGet.ts +1 -1
  239. package/src/funcs/cardIssuingGetFull.ts +3 -3
  240. package/src/funcs/cardIssuingList.ts +1 -1
  241. package/src/funcs/cardIssuingRequest.ts +1 -1
  242. package/src/funcs/cardIssuingUpdate.ts +1 -1
  243. package/src/funcs/transfersListCancellations.ts +181 -0
  244. package/src/hooks/types.ts +1 -0
  245. package/src/lib/config.ts +3 -3
  246. package/src/lib/encodings.ts +1 -1
  247. package/src/lib/http.ts +3 -1
  248. package/src/lib/matchers.ts +1 -1
  249. package/src/lib/primitives.ts +16 -0
  250. package/src/lib/retries.ts +8 -0
  251. package/src/lib/sdks.ts +54 -17
  252. package/src/lib/security.ts +10 -5
  253. package/src/mcp-server/mcp-server.ts +1 -1
  254. package/src/mcp-server/server.ts +3 -1
  255. package/src/mcp-server/tools/accountsCreate.ts +8 -10
  256. package/src/mcp-server/tools/bankAccountsLink.ts +1 -1
  257. package/src/mcp-server/tools/capabilitiesDisable.ts +1 -1
  258. package/src/mcp-server/tools/capabilitiesGet.ts +1 -1
  259. package/src/mcp-server/tools/capabilitiesList.ts +1 -1
  260. package/src/mcp-server/tools/capabilitiesRequest.ts +1 -1
  261. package/src/mcp-server/tools/transfersListCancellations.ts +38 -0
  262. package/src/models/components/addcapabilities.ts +9 -0
  263. package/src/models/components/capability.ts +7 -1
  264. package/src/models/components/capabilityid.ts +15 -2
  265. package/src/models/components/cardbrandfees.ts +7 -0
  266. package/src/models/components/cardtransactiondetails.ts +14 -0
  267. package/src/models/components/cardtransactionstatus.ts +1 -0
  268. package/src/models/components/createaccount.ts +9 -0
  269. package/src/models/components/createpaymentlink.ts +3 -3
  270. package/src/models/components/createtransferdestinationcard.ts +9 -0
  271. package/src/models/components/fullissuedcard.ts +36 -20
  272. package/src/models/components/index.ts +5 -4
  273. package/src/models/components/invoice.ts +7 -0
  274. package/src/models/components/issuedcard.ts +36 -20
  275. package/src/models/components/issuedcardstate.ts +2 -8
  276. package/src/models/components/manualtermsofservice.ts +1 -1
  277. package/src/models/components/manualtermsofserviceupdate.ts +1 -1
  278. package/src/models/components/onboardinginvite.ts +1 -1
  279. package/src/models/components/onboardinginviterequest.ts +1 -1
  280. package/src/models/components/patchtransfer.ts +3 -0
  281. package/src/models/components/paymentlink.ts +2 -2
  282. package/src/models/components/paymentlinkpayoutdetails.ts +18 -0
  283. package/src/models/components/paymentlinkpayoutdetailsupdate.ts +18 -0
  284. package/src/models/components/payoutdetailserror.ts +10 -0
  285. package/src/models/components/pushdeliveryspeed.ts +27 -0
  286. package/src/models/components/pushoptions.ts +71 -0
  287. package/src/models/components/pushoptionserror.ts +55 -0
  288. package/src/models/components/pushoptionsupdate.ts +75 -0
  289. package/src/models/components/requestcard.ts +23 -34
  290. package/src/models/components/termsofservice.ts +1 -1
  291. package/src/models/components/updateissuedcard.ts +73 -17
  292. package/src/models/components/webhookdata.ts +18 -8
  293. package/src/models/components/webhookdataauthorizationexpiring.ts +65 -0
  294. package/src/models/components/webhookdatacapabilityrequested.ts +7 -1
  295. package/src/models/components/webhookdatacapabilityupdated.ts +7 -1
  296. package/src/models/components/webhookdatasweepcreated.ts +7 -0
  297. package/src/models/components/webhookdatasweepupdated.ts +7 -0
  298. package/src/models/components/webhookeventtype.ts +1 -0
  299. package/src/models/errors/requestcarderror.ts +26 -25
  300. package/src/models/errors/updateissuedcarderror.ts +18 -13
  301. package/src/models/operations/disablecapability.ts +7 -1
  302. package/src/models/operations/getcapability.ts +7 -1
  303. package/src/models/operations/index.ts +1 -0
  304. package/src/models/operations/linkbankaccount.ts +1 -1
  305. package/src/models/operations/listcancellations.ts +120 -0
  306. package/src/models/operations/listissuedcards.ts +1 -1
  307. package/src/sdk/accounts.ts +8 -10
  308. package/src/sdk/bankaccounts.ts +1 -1
  309. package/src/sdk/capabilities.ts +4 -4
  310. package/src/sdk/transfers.ts +18 -0
  311. package/lib/dlv.d.ts +0 -14
  312. package/lib/dlv.d.ts.map +0 -1
  313. package/lib/dlv.js +0 -49
  314. package/lib/dlv.js.map +0 -1
  315. package/lib/is-plain-object.d.ts +0 -2
  316. package/lib/is-plain-object.d.ts.map +0 -1
  317. package/lib/is-plain-object.js +0 -41
  318. package/lib/is-plain-object.js.map +0 -1
  319. package/models/components/authorizeduser.d.ts +0 -22
  320. package/models/components/authorizeduser.d.ts.map +0 -1
  321. package/models/components/authorizeduser.js.map +0 -1
  322. package/models/components/createauthorizeduser.d.ts +0 -25
  323. package/models/components/createauthorizeduser.d.ts.map +0 -1
  324. package/models/components/createauthorizeduser.js.map +0 -1
  325. package/models/components/createauthorizedusererror.d.ts +0 -22
  326. package/models/components/createauthorizedusererror.d.ts.map +0 -1
  327. package/models/components/createauthorizedusererror.js.map +0 -1
  328. package/models/components/createauthorizeduserupdate.d.ts +0 -25
  329. package/models/components/createauthorizeduserupdate.d.ts.map +0 -1
  330. package/models/components/createauthorizeduserupdate.js.map +0 -1
  331. package/src/lib/dlv.ts +0 -53
  332. package/src/lib/is-plain-object.ts +0 -43
  333. package/src/models/components/authorizeduser.ts +0 -54
  334. package/src/models/components/createauthorizeduser.ts +0 -68
  335. package/src/models/components/createauthorizedusererror.ts +0 -65
  336. package/src/models/components/createauthorizeduserupdate.ts +0 -68
package/bin/mcp-server.js CHANGED
@@ -37121,6 +37121,57 @@ function remap(inp, mappings) {
37121
37121
  }
37122
37122
  return out;
37123
37123
  }
37124
+ function combineSignals(...signals) {
37125
+ const filtered = [];
37126
+ for (const signal of signals) {
37127
+ if (signal) {
37128
+ filtered.push(signal);
37129
+ }
37130
+ }
37131
+ switch (filtered.length) {
37132
+ case 0:
37133
+ case 1:
37134
+ return filtered[0] || null;
37135
+ default:
37136
+ if ("any" in AbortSignal && typeof AbortSignal.any === "function") {
37137
+ return AbortSignal.any(filtered);
37138
+ }
37139
+ return abortSignalAny(filtered);
37140
+ }
37141
+ }
37142
+ function abortSignalAny(signals) {
37143
+ const controller = new AbortController;
37144
+ const result = controller.signal;
37145
+ if (!signals.length) {
37146
+ return controller.signal;
37147
+ }
37148
+ if (signals.length === 1) {
37149
+ return signals[0] || controller.signal;
37150
+ }
37151
+ for (const signal of signals) {
37152
+ if (signal.aborted) {
37153
+ return signal;
37154
+ }
37155
+ }
37156
+ function abort() {
37157
+ controller.abort(this.reason);
37158
+ clean();
37159
+ }
37160
+ const signalRefs = [];
37161
+ function clean() {
37162
+ for (const signalRef of signalRefs) {
37163
+ const signal = signalRef.deref();
37164
+ if (signal) {
37165
+ signal.removeEventListener("abort", abort);
37166
+ }
37167
+ }
37168
+ }
37169
+ for (const signal of signals) {
37170
+ signalRefs.push(new WeakRef(signal));
37171
+ signal.addEventListener("abort", abort);
37172
+ }
37173
+ return result;
37174
+ }
37124
37175
  function compactMap(values) {
37125
37176
  const out = {};
37126
37177
  for (const [k2, v2] of Object.entries(values)) {
@@ -37136,6 +37187,20 @@ function allRequired(v2) {
37136
37187
  }
37137
37188
  return v2;
37138
37189
  }
37190
+ function isPlainObject2(value) {
37191
+ if (value === null || typeof value !== "object")
37192
+ return false;
37193
+ if (Object.prototype.toString.call(value) !== "[object Object]")
37194
+ return false;
37195
+ const proto = Object.getPrototypeOf(value);
37196
+ if (proto === null || proto === Object.prototype)
37197
+ return true;
37198
+ try {
37199
+ return Object.getPrototypeOf(proto) === null;
37200
+ } catch {
37201
+ return false;
37202
+ }
37203
+ }
37139
37204
  var init_primitives = () => {};
37140
37205
 
37141
37206
  // node_modules/zod/dist/esm/v4/mini/parse.js
@@ -39629,7 +39694,7 @@ class Protocol {
39629
39694
  };
39630
39695
  }
39631
39696
  }
39632
- function isPlainObject2(value) {
39697
+ function isPlainObject3(value) {
39633
39698
  return value !== null && typeof value === "object" && !Array.isArray(value);
39634
39699
  }
39635
39700
  function mergeCapabilities(base, additional) {
@@ -39640,7 +39705,7 @@ function mergeCapabilities(base, additional) {
39640
39705
  if (addValue === undefined)
39641
39706
  continue;
39642
39707
  const baseValue = result[k2];
39643
- if (isPlainObject2(baseValue) && isPlainObject2(addValue)) {
39708
+ if (isPlainObject3(baseValue) && isPlainObject3(addValue)) {
39644
39709
  result[k2] = { ...baseValue, ...addValue };
39645
39710
  } else {
39646
39711
  result[k2] = addValue;
@@ -52909,9 +52974,9 @@ var init_config = __esm(() => {
52909
52974
  SDK_METADATA = {
52910
52975
  language: "typescript",
52911
52976
  openapiDocVersion: "v2026.04.00",
52912
- sdkVersion: "26.5.1",
52913
- genVersion: "2.893.0",
52914
- userAgent: "speakeasy-sdk/typescript 26.5.1 2.893.0 v2026.04.00 @moovio/sdk"
52977
+ sdkVersion: "26.5.4",
52978
+ genVersion: "2.917.0",
52979
+ userAgent: "speakeasy-sdk/typescript 26.5.4 2.917.0 v2026.04.00 @moovio/sdk"
52915
52980
  };
52916
52981
  });
52917
52982
 
@@ -53084,15 +53149,6 @@ var init_base64 = __esm(() => {
53084
53149
  zodInbound = instanceOfType(Uint8Array).or(stringType().transform(bytesFromBase64));
53085
53150
  });
53086
53151
 
53087
- // src/lib/is-plain-object.ts
53088
- function isPlainObject3(value) {
53089
- if (typeof value !== "object" || value === null) {
53090
- return false;
53091
- }
53092
- const prototype = Object.getPrototypeOf(value);
53093
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
53094
- }
53095
-
53096
53152
  // src/lib/encodings.ts
53097
53153
  function formEncoder(sep) {
53098
53154
  return (key, value, options) => {
@@ -53113,7 +53169,7 @@ function formEncoder(sep) {
53113
53169
  return;
53114
53170
  } else if (Array.isArray(pv)) {
53115
53171
  encValue = mapDefined(pv, (v2) => `${encodeValue(v2)}`)?.join(encodedSep);
53116
- } else if (isPlainObject3(pv)) {
53172
+ } else if (isPlainObject2(pv)) {
53117
53173
  encValue = mapDefinedEntries(Object.entries(pv), ([k2, v2]) => {
53118
53174
  return `${encodeString(k2)}${encodedSep}${encodeValue(v2)}`;
53119
53175
  })?.join(encodedSep);
@@ -53136,7 +53192,7 @@ function encodeDeepObject(key, value, options) {
53136
53192
  if (value == null) {
53137
53193
  return;
53138
53194
  }
53139
- if (!isPlainObject3(value)) {
53195
+ if (!isPlainObject2(value)) {
53140
53196
  throw new EncodingError(`Value of parameter '${key}' which uses deepObject encoding must be an object or null`);
53141
53197
  }
53142
53198
  return encodeDeepObjectObject(key, value, options);
@@ -53149,7 +53205,7 @@ function encodeDeepObjectObject(key, value, options) {
53149
53205
  const encodeString = (v2) => {
53150
53206
  return options?.charEncoding === "percent" ? encodeURIComponent(v2) : v2;
53151
53207
  };
53152
- if (!isPlainObject3(value)) {
53208
+ if (!isPlainObject2(value)) {
53153
53209
  throw new EncodingError(`Expected parameter '${key}' to be an object.`);
53154
53210
  }
53155
53211
  Object.entries(value).forEach(([ck, cv]) => {
@@ -53157,7 +53213,7 @@ function encodeDeepObjectObject(key, value, options) {
53157
53213
  return;
53158
53214
  }
53159
53215
  const pk = `${key}[${ck}]`;
53160
- if (isPlainObject3(cv)) {
53216
+ if (isPlainObject2(cv)) {
53161
53217
  const objOut = encodeDeepObjectObject(pk, cv, options);
53162
53218
  out += objOut == null ? "" : `&${objOut}`;
53163
53219
  return;
@@ -53183,7 +53239,7 @@ function encodeJSON(key, value, options) {
53183
53239
  function explode(key, value) {
53184
53240
  if (Array.isArray(value)) {
53185
53241
  return value.map((v2) => [key, v2]);
53186
- } else if (isPlainObject3(value)) {
53242
+ } else if (isPlainObject2(value)) {
53187
53243
  const o = value ?? {};
53188
53244
  return Object.entries(o).map(([k2, v2]) => [k2, v2]);
53189
53245
  } else {
@@ -53308,13 +53364,13 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
53308
53364
  return;
53309
53365
  } else if (Array.isArray(pv)) {
53310
53366
  tmp = mapDefined(pv, (v2) => `${encodeValue(v2)}`)?.join(",");
53311
- } else if (isPlainObject3(pv)) {
53367
+ } else if (isPlainObject2(pv)) {
53312
53368
  const mapped = mapDefinedEntries(Object.entries(pv), ([k2, v2]) => {
53313
53369
  return `,${encodeString(k2)},${encodeValue(v2)}`;
53314
53370
  });
53315
53371
  tmp = mapped?.join("").slice(1);
53316
53372
  } else {
53317
- const k2 = options?.explode && isPlainObject3(value) ? `${pk}=` : "";
53373
+ const k2 = options?.explode && isPlainObject2(value) ? `${pk}=` : "";
53318
53374
  tmp = `${k2}${encodeValue(pv)}`;
53319
53375
  }
53320
53376
  out += tmp ? `,${tmp}` : "";
@@ -53323,6 +53379,7 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
53323
53379
  }, encodeJSONQuery, encodeFormQuery, encodeSpaceDelimitedQuery, encodePipeDelimitedQuery, encodeDeepObjectQuery;
53324
53380
  var init_encodings = __esm(() => {
53325
53381
  init_base64();
53382
+ init_primitives();
53326
53383
  EncodingError = class EncodingError extends Error {
53327
53384
  constructor(message) {
53328
53385
  super(message);
@@ -53341,11 +53398,11 @@ var init_encodings = __esm(() => {
53341
53398
 
53342
53399
  // src/lib/http.ts
53343
53400
  class HTTPClient {
53344
- options;
53345
53401
  fetcher;
53346
53402
  requestHooks = [];
53347
53403
  requestErrorHooks = [];
53348
53404
  responseHooks = [];
53405
+ options;
53349
53406
  constructor(options = {}) {
53350
53407
  this.options = options;
53351
53408
  this.fetcher = options.fetcher || DEFAULT_FETCHER;
@@ -53588,6 +53645,13 @@ async function retryBackoff(fn, strategy) {
53588
53645
  }
53589
53646
  }
53590
53647
  function retryIntervalFromResponse(res) {
53648
+ const retryAfterMsVal = res.headers.get("retry-after-ms");
53649
+ if (retryAfterMsVal) {
53650
+ const parsedMs = Number(retryAfterMsVal);
53651
+ if (Number.isFinite(parsedMs) && parsedMs >= 0) {
53652
+ return parsedMs;
53653
+ }
53654
+ }
53591
53655
  const retryVal = res.headers.get("retry-after") || "";
53592
53656
  if (!retryVal) {
53593
53657
  return 0;
@@ -53679,24 +53743,41 @@ class ClientSDK {
53679
53743
  if (path) {
53680
53744
  baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/";
53681
53745
  reqURL = new URL(path, baseURL);
53746
+ if (!reqURL.search && baseURL.search) {
53747
+ reqURL.search = baseURL.search;
53748
+ }
53682
53749
  } else {
53683
53750
  reqURL = baseURL;
53684
53751
  }
53685
53752
  reqURL.hash = "";
53686
- let finalQuery = query || "";
53687
- const secQuery = [];
53688
- for (const [k2, v2] of Object.entries(security?.queryParams || {})) {
53689
- const q2 = encodeForm(k2, v2, { charEncoding: "percent" });
53690
- if (typeof q2 !== "undefined") {
53691
- secQuery.push(q2);
53753
+ const mergeQuery = (current, additions) => {
53754
+ if (!additions) {
53755
+ return current;
53692
53756
  }
53693
- }
53694
- if (secQuery.length) {
53695
- finalQuery += `&${secQuery.join("&")}`;
53696
- }
53757
+ const additionKeys = new Set(additions.split("&").filter((pair) => pair !== "").map((pair) => pair.split("=")[0] ?? ""));
53758
+ const kept = current.split("&").filter((pair) => {
53759
+ return pair !== "" && !additionKeys.has(pair.split("=")[0] ?? "");
53760
+ });
53761
+ return [...kept, additions].join("&");
53762
+ };
53763
+ const encodeQueryRecord = (record3) => {
53764
+ return Object.entries(record3).map(([k2, v2]) => {
53765
+ if (v2 == null) {
53766
+ return;
53767
+ }
53768
+ const value = v2;
53769
+ return encodeForm(k2, value, {
53770
+ explode: Array.isArray(value),
53771
+ charEncoding: "percent"
53772
+ });
53773
+ }).filter((pair) => typeof pair !== "undefined").join("&");
53774
+ };
53775
+ const finalQuery = [
53776
+ query || "",
53777
+ encodeQueryRecord(security?.queryParams || {})
53778
+ ].reduce(mergeQuery, reqURL.search.slice(1));
53697
53779
  if (finalQuery) {
53698
- const q2 = finalQuery.startsWith("&") ? finalQuery.slice(1) : finalQuery;
53699
- reqURL.search = `?${q2}`;
53780
+ reqURL.search = `?${finalQuery}`;
53700
53781
  }
53701
53782
  const headers = new Headers(opHeaders);
53702
53783
  const username = security?.basic.username;
@@ -53726,9 +53807,8 @@ class ClientSDK {
53726
53807
  ...options?.fetchOptions,
53727
53808
  ...options
53728
53809
  };
53729
- if (!fetchOptions?.signal && conf.timeoutMs && conf.timeoutMs > 0) {
53730
- const timeoutSignal = AbortSignal.timeout(conf.timeoutMs);
53731
- fetchOptions.signal = timeoutSignal;
53810
+ if (!fetchOptions?.signal && conf.timeoutMs != null && conf.timeoutMs > 0) {
53811
+ context.timeoutMs = conf.timeoutMs;
53732
53812
  }
53733
53813
  if (conf.body instanceof ReadableStream) {
53734
53814
  Object.assign(fetchOptions, { duplex: "half" });
@@ -53753,8 +53833,16 @@ class ClientSDK {
53753
53833
  }
53754
53834
  async _do(request, options) {
53755
53835
  const { context, isErrorStatusCode } = options;
53836
+ const timeoutMs = context.timeoutMs;
53756
53837
  return retry(async () => {
53757
- const req = await this.#hooks.beforeRequest(context, request.clone());
53838
+ const cloned = request.clone();
53839
+ let attempt = cloned;
53840
+ if (timeoutMs != null && timeoutMs > 0) {
53841
+ const timeoutSignal = AbortSignal.timeout(timeoutMs);
53842
+ const combined = combineSignals(cloned.signal, timeoutSignal) ?? timeoutSignal;
53843
+ attempt = new Request(cloned, { signal: combined });
53844
+ }
53845
+ const req = await this.#hooks.beforeRequest(context, attempt);
53758
53846
  await logRequest(this.#logger, req).catch((e) => this.#logger?.log("Failed to log request:", e));
53759
53847
  let response = await this.#httpClient.request(req);
53760
53848
  try {
@@ -53872,6 +53960,7 @@ var init_sdks = __esm(() => {
53872
53960
  init_config();
53873
53961
  init_encodings();
53874
53962
  init_http();
53963
+ init_primitives();
53875
53964
  init_retries();
53876
53965
  gt2 = typeof globalThis === "undefined" ? null : globalThis;
53877
53966
  webWorkerLike2 = typeof gt2 === "object" && gt2 != null && "importScripts" in gt2 && typeof gt2["importScripts"] === "function";
@@ -54321,7 +54410,7 @@ function match(...matchers) {
54321
54410
  data = {
54322
54411
  ...options?.extraFields,
54323
54412
  ...matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null,
54324
- ...isPlainObject3(raw) ? raw : null,
54413
+ ...isPlainObject2(raw) ? raw : null,
54325
54414
  request$: request,
54326
54415
  response$: response,
54327
54416
  body$: body
@@ -54336,7 +54425,7 @@ function match(...matchers) {
54336
54425
  data = {
54337
54426
  ...options?.extraFields,
54338
54427
  ...matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null,
54339
- ...isPlainObject3(raw) ? raw : null
54428
+ ...isPlainObject2(raw) ? raw : null
54340
54429
  };
54341
54430
  } else {
54342
54431
  data = raw;
@@ -54376,6 +54465,7 @@ var init_matchers = __esm(() => {
54376
54465
  init_apierror();
54377
54466
  init_responsevalidationerror();
54378
54467
  init_http();
54468
+ init_primitives();
54379
54469
  DEFAULT_CONTENT_TYPES = {
54380
54470
  jsonl: "application/jsonl",
54381
54471
  json: "application/json",
@@ -54518,8 +54608,12 @@ async function extractSecurity(sec) {
54518
54608
  }
54519
54609
  return typeof sec === "function" ? sec() : sec;
54520
54610
  }
54521
- var SecurityError;
54611
+ var SecurityErrorCode, SecurityError;
54522
54612
  var init_security = __esm(() => {
54613
+ SecurityErrorCode = {
54614
+ Incomplete: "incomplete",
54615
+ UnrecognisedSecurityType: "unrecognized_security_type"
54616
+ };
54523
54617
  SecurityError = class SecurityError extends Error {
54524
54618
  code;
54525
54619
  constructor(code, message) {
@@ -54528,10 +54622,10 @@ var init_security = __esm(() => {
54528
54622
  this.name = "SecurityError";
54529
54623
  }
54530
54624
  static incomplete() {
54531
- return new SecurityError("incomplete" /* Incomplete */, "Security requirements not met in order to perform the operation");
54625
+ return new SecurityError(SecurityErrorCode.Incomplete, "Security requirements not met in order to perform the operation");
54532
54626
  }
54533
54627
  static unrecognizedType(type) {
54534
- return new SecurityError("unrecognized_security_type" /* UnrecognisedSecurityType */, `Unrecognised security type: ${type}`);
54628
+ return new SecurityError(SecurityErrorCode.UnrecognisedSecurityType, `Unrecognised security type: ${type}`);
54535
54629
  }
54536
54630
  };
54537
54631
  });
@@ -55957,6 +56051,7 @@ var init_capabilityid = __esm(() => {
55957
56051
  Wallet: "wallet",
55958
56052
  WalletBalance: "wallet.balance",
55959
56053
  CardIssuing: "card-issuing",
56054
+ IssuingCardholder: "issuing.cardholder",
55960
56055
  ProductionApp: "production-app",
55961
56056
  PlatformProductionApp: "platform.production-app",
55962
56057
  PlatformWalletTransfers: "platform.wallet-transfers"
@@ -56390,20 +56485,6 @@ var init_asynctransfer = __esm(() => {
56390
56485
  });
56391
56486
  });
56392
56487
 
56393
- // src/models/components/authorizeduser.ts
56394
- var AuthorizedUser$inboundSchema, AuthorizedUser$outboundSchema;
56395
- var init_authorizeduser = __esm(() => {
56396
- init_esm();
56397
- AuthorizedUser$inboundSchema = objectType({
56398
- firstName: stringType(),
56399
- lastName: stringType()
56400
- });
56401
- AuthorizedUser$outboundSchema = objectType({
56402
- firstName: stringType(),
56403
- lastName: stringType()
56404
- });
56405
- });
56406
-
56407
56488
  // src/models/components/tokentype.ts
56408
56489
  var TokenType, TokenType$inboundSchema, TokenType$outboundSchema;
56409
56490
  var init_tokentype = __esm(() => {
@@ -59989,6 +60070,7 @@ var init_cardbrandfees = __esm(() => {
59989
60070
  completedInternationalInPerson: BillingCountAndAmount$inboundSchema.optional(),
59990
60071
  declines: BillingCountAndAmount$inboundSchema.optional(),
59991
60072
  refunds: BillingCountAndAmount$inboundSchema.optional(),
60073
+ cardCancellations: BillingCountAndAmount$inboundSchema.optional(),
59992
60074
  total: BillingCountAndAmount$inboundSchema
59993
60075
  });
59994
60076
  CardBrandFees$outboundSchema = objectType({
@@ -60001,6 +60083,7 @@ var init_cardbrandfees = __esm(() => {
60001
60083
  completedInternationalInPerson: BillingCountAndAmount$outboundSchema.optional(),
60002
60084
  declines: BillingCountAndAmount$outboundSchema.optional(),
60003
60085
  refunds: BillingCountAndAmount$outboundSchema.optional(),
60086
+ cardCancellations: BillingCountAndAmount$outboundSchema.optional(),
60004
60087
  total: BillingCountAndAmount$outboundSchema
60005
60088
  });
60006
60089
  });
@@ -60493,7 +60576,8 @@ var init_cardtransactionstatus = __esm(() => {
60493
60576
  Canceled: "canceled",
60494
60577
  Settled: "settled",
60495
60578
  Failed: "failed",
60496
- Completed: "completed"
60579
+ Completed: "completed",
60580
+ Deferred: "deferred"
60497
60581
  };
60498
60582
  CardTransactionStatus$inboundSchema = nativeEnumType(CardTransactionStatus);
60499
60583
  CardTransactionStatus$outboundSchema = CardTransactionStatus$inboundSchema;
@@ -60523,6 +60607,7 @@ var init_cardtransactiondetails = __esm(() => {
60523
60607
  status: CardTransactionStatus$inboundSchema.optional(),
60524
60608
  failureCode: CardTransactionFailureCode$inboundSchema.optional(),
60525
60609
  dynamicDescriptor: stringType().optional(),
60610
+ scheduledDeliveryOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
60526
60611
  transactionSource: TransactionSource$inboundSchema.optional(),
60527
60612
  initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
60528
60613
  confirmedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
@@ -60530,6 +60615,7 @@ var init_cardtransactiondetails = __esm(() => {
60530
60615
  failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
60531
60616
  canceledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
60532
60617
  completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
60618
+ deferredOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
60533
60619
  interchangeQualification: stringType().optional(),
60534
60620
  feeProgram: stringType().optional(),
60535
60621
  authorizationCode: stringType().optional()
@@ -60538,6 +60624,7 @@ var init_cardtransactiondetails = __esm(() => {
60538
60624
  status: CardTransactionStatus$outboundSchema.optional(),
60539
60625
  failureCode: CardTransactionFailureCode$outboundSchema.optional(),
60540
60626
  dynamicDescriptor: stringType().optional(),
60627
+ scheduledDeliveryOn: dateType().transform((v2) => v2.toISOString()).optional(),
60541
60628
  transactionSource: TransactionSource$outboundSchema.optional(),
60542
60629
  initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
60543
60630
  confirmedOn: dateType().transform((v2) => v2.toISOString()).optional(),
@@ -60545,6 +60632,7 @@ var init_cardtransactiondetails = __esm(() => {
60545
60632
  failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
60546
60633
  canceledOn: dateType().transform((v2) => v2.toISOString()).optional(),
60547
60634
  completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
60635
+ deferredOn: dateType().transform((v2) => v2.toISOString()).optional(),
60548
60636
  interchangeQualification: stringType().optional(),
60549
60637
  feeProgram: stringType().optional(),
60550
60638
  authorizationCode: stringType().optional()
@@ -61157,57 +61245,6 @@ var init_createapplepaysession = __esm(() => {
61157
61245
  });
61158
61246
  });
61159
61247
 
61160
- // src/models/components/createauthorizeduser.ts
61161
- var CreateAuthorizedUser$inboundSchema, CreateAuthorizedUser$outboundSchema;
61162
- var init_createauthorizeduser = __esm(() => {
61163
- init_esm();
61164
- init_birthdate();
61165
- CreateAuthorizedUser$inboundSchema = objectType({
61166
- firstName: stringType(),
61167
- lastName: stringType(),
61168
- birthDate: BirthDate$inboundSchema.optional()
61169
- });
61170
- CreateAuthorizedUser$outboundSchema = objectType({
61171
- firstName: stringType(),
61172
- lastName: stringType(),
61173
- birthDate: BirthDate$outboundSchema.optional()
61174
- });
61175
- });
61176
-
61177
- // src/models/components/createauthorizedusererror.ts
61178
- var CreateAuthorizedUserError$inboundSchema, CreateAuthorizedUserError$outboundSchema;
61179
- var init_createauthorizedusererror = __esm(() => {
61180
- init_esm();
61181
- init_birthdateerror();
61182
- CreateAuthorizedUserError$inboundSchema = objectType({
61183
- firstName: stringType().optional(),
61184
- lastName: stringType().optional(),
61185
- birthDate: BirthDateError$inboundSchema.optional()
61186
- });
61187
- CreateAuthorizedUserError$outboundSchema = objectType({
61188
- firstName: stringType().optional(),
61189
- lastName: stringType().optional(),
61190
- birthDate: BirthDateError$outboundSchema.optional()
61191
- });
61192
- });
61193
-
61194
- // src/models/components/createauthorizeduserupdate.ts
61195
- var CreateAuthorizedUserUpdate$inboundSchema, CreateAuthorizedUserUpdate$outboundSchema;
61196
- var init_createauthorizeduserupdate = __esm(() => {
61197
- init_esm();
61198
- init_birthdateupdate();
61199
- CreateAuthorizedUserUpdate$inboundSchema = objectType({
61200
- firstName: stringType().optional(),
61201
- lastName: stringType().optional(),
61202
- birthDate: BirthDateUpdate$inboundSchema.optional()
61203
- });
61204
- CreateAuthorizedUserUpdate$outboundSchema = objectType({
61205
- firstName: stringType().optional(),
61206
- lastName: stringType().optional(),
61207
- birthDate: BirthDateUpdate$outboundSchema.optional()
61208
- });
61209
- });
61210
-
61211
61248
  // src/models/components/phonenumbererror.ts
61212
61249
  var PhoneNumberError$inboundSchema, PhoneNumberError$outboundSchema;
61213
61250
  var init_phonenumbererror = __esm(() => {
@@ -62335,21 +62372,51 @@ var init_payoutrecipient = __esm(() => {
62335
62372
  });
62336
62373
  });
62337
62374
 
62375
+ // src/models/components/pushdeliveryspeed.ts
62376
+ var PushDeliverySpeed, PushDeliverySpeed$inboundSchema, PushDeliverySpeed$outboundSchema;
62377
+ var init_pushdeliveryspeed = __esm(() => {
62378
+ init_esm();
62379
+ PushDeliverySpeed = {
62380
+ Instant: "instant",
62381
+ Deferred: "deferred"
62382
+ };
62383
+ PushDeliverySpeed$inboundSchema = nativeEnumType(PushDeliverySpeed);
62384
+ PushDeliverySpeed$outboundSchema = PushDeliverySpeed$inboundSchema;
62385
+ });
62386
+
62387
+ // src/models/components/pushoptions.ts
62388
+ var PushOptions$inboundSchema, PushOptions$outboundSchema;
62389
+ var init_pushoptions = __esm(() => {
62390
+ init_esm();
62391
+ init_pushdeliveryspeed();
62392
+ PushOptions$inboundSchema = objectType({
62393
+ allowedSpeeds: arrayType(PushDeliverySpeed$inboundSchema),
62394
+ deferredBy: stringType().optional()
62395
+ });
62396
+ PushOptions$outboundSchema = objectType({
62397
+ allowedSpeeds: arrayType(PushDeliverySpeed$outboundSchema),
62398
+ deferredBy: stringType().optional()
62399
+ });
62400
+ });
62401
+
62338
62402
  // src/models/components/paymentlinkpayoutdetails.ts
62339
62403
  var PaymentLinkPayoutDetails$inboundSchema, PaymentLinkPayoutDetails$outboundSchema;
62340
62404
  var init_paymentlinkpayoutdetails = __esm(() => {
62341
62405
  init_esm();
62342
62406
  init_disbursementpaymentmethodtype();
62343
62407
  init_payoutrecipient();
62408
+ init_pushoptions();
62344
62409
  PaymentLinkPayoutDetails$inboundSchema = objectType({
62345
62410
  allowedMethods: arrayType(DisbursementPaymentMethodType$inboundSchema),
62346
62411
  recipient: PayoutRecipient$inboundSchema,
62347
- metadata: recordType(stringType()).optional()
62412
+ metadata: recordType(stringType()).optional(),
62413
+ pushOptions: PushOptions$inboundSchema.optional()
62348
62414
  });
62349
62415
  PaymentLinkPayoutDetails$outboundSchema = objectType({
62350
62416
  allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema),
62351
62417
  recipient: PayoutRecipient$outboundSchema,
62352
- metadata: recordType(stringType()).optional()
62418
+ metadata: recordType(stringType()).optional(),
62419
+ pushOptions: PushOptions$outboundSchema.optional()
62353
62420
  });
62354
62421
  });
62355
62422
 
@@ -62925,10 +62992,12 @@ var init_createtransferdestinationcard = __esm(() => {
62925
62992
  init_cardpayouttype();
62926
62993
  CreateTransferDestinationCard$inboundSchema = objectType({
62927
62994
  dynamicDescriptor: stringType().optional(),
62995
+ scheduledDeliveryOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
62928
62996
  payoutType: CardPayoutType$inboundSchema.optional()
62929
62997
  });
62930
62998
  CreateTransferDestinationCard$outboundSchema = objectType({
62931
62999
  dynamicDescriptor: stringType().optional(),
63000
+ scheduledDeliveryOn: dateType().transform((v2) => v2.toISOString()).optional(),
62932
63001
  payoutType: CardPayoutType$outboundSchema.optional()
62933
63002
  });
62934
63003
  });
@@ -63278,7 +63347,8 @@ var init_webhookeventtype = __esm(() => {
63278
63347
  WalletCreated: "wallet.created",
63279
63348
  WalletUpdated: "wallet.updated",
63280
63349
  WalletTransactionUpdated: "walletTransaction.updated",
63281
- BillingStatementCreated: "billingStatement.created"
63350
+ BillingStatementCreated: "billingStatement.created",
63351
+ AuthorizationExpiring: "authorization.expiring"
63282
63352
  };
63283
63353
  WebhookEventType$inboundSchema = nativeEnumType(WebhookEventType);
63284
63354
  WebhookEventType$outboundSchema = WebhookEventType$inboundSchema;
@@ -63997,8 +64067,6 @@ var init_issuedcardstate = __esm(() => {
63997
64067
  init_esm();
63998
64068
  IssuedCardState = {
63999
64069
  Active: "active",
64000
- Inactive: "inactive",
64001
- PendingVerification: "pending-verification",
64002
64070
  Closed: "closed"
64003
64071
  };
64004
64072
  IssuedCardState$inboundSchema = nativeEnumType(IssuedCardState);
@@ -64050,7 +64118,7 @@ var init_issuingcontrols = __esm(() => {
64050
64118
  var FullIssuedCard$inboundSchema, FullIssuedCard$outboundSchema;
64051
64119
  var init_fullissuedcard = __esm(() => {
64052
64120
  init_esm();
64053
- init_authorizeduser();
64121
+ init_address();
64054
64122
  init_cardbrand();
64055
64123
  init_cardexpiration();
64056
64124
  init_issuedcardformfactor();
@@ -64061,13 +64129,16 @@ var init_fullissuedcard = __esm(() => {
64061
64129
  brand: CardBrand$inboundSchema,
64062
64130
  lastFourCardNumber: stringType(),
64063
64131
  expiration: CardExpiration$inboundSchema,
64064
- authorizedUser: AuthorizedUser$inboundSchema,
64065
- memo: stringType().optional(),
64066
64132
  fundingWalletID: stringType(),
64133
+ authorizedUserAccountID: stringType().optional(),
64134
+ nickname: stringType().optional(),
64135
+ metadata: recordType(stringType()).optional(),
64136
+ billingAddress: Address$inboundSchema.optional(),
64067
64137
  state: IssuedCardState$inboundSchema,
64068
64138
  formFactor: IssuedCardFormFactor$inboundSchema,
64069
64139
  controls: IssuingControls$inboundSchema.optional(),
64070
64140
  createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
64141
+ updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
64071
64142
  pan: stringType(),
64072
64143
  cvv: stringType()
64073
64144
  });
@@ -64076,13 +64147,16 @@ var init_fullissuedcard = __esm(() => {
64076
64147
  brand: CardBrand$outboundSchema,
64077
64148
  lastFourCardNumber: stringType(),
64078
64149
  expiration: CardExpiration$outboundSchema,
64079
- authorizedUser: AuthorizedUser$outboundSchema,
64080
- memo: stringType().optional(),
64081
64150
  fundingWalletID: stringType(),
64151
+ authorizedUserAccountID: stringType().optional(),
64152
+ nickname: stringType().optional(),
64153
+ metadata: recordType(stringType()).optional(),
64154
+ billingAddress: Address$outboundSchema.optional(),
64082
64155
  state: IssuedCardState$outboundSchema,
64083
64156
  formFactor: IssuedCardFormFactor$outboundSchema,
64084
64157
  controls: IssuingControls$outboundSchema.optional(),
64085
64158
  createdOn: dateType().transform((v2) => v2.toISOString()),
64159
+ updatedOn: dateType().transform((v2) => v2.toISOString()),
64086
64160
  pan: stringType(),
64087
64161
  cvv: stringType()
64088
64162
  });
@@ -64782,6 +64856,7 @@ var init_invoice = __esm(() => {
64782
64856
  refundedAmount: AmountDecimal$inboundSchema,
64783
64857
  disputedAmount: AmountDecimal$inboundSchema,
64784
64858
  paymentLinkCode: stringType().optional(),
64859
+ paymentLinkURL: stringType().optional(),
64785
64860
  invoicePayments: arrayType(InvoicePayment$inboundSchema).optional(),
64786
64861
  createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
64787
64862
  invoiceDate: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
@@ -64809,6 +64884,7 @@ var init_invoice = __esm(() => {
64809
64884
  refundedAmount: AmountDecimal$outboundSchema,
64810
64885
  disputedAmount: AmountDecimal$outboundSchema,
64811
64886
  paymentLinkCode: stringType().optional(),
64887
+ paymentLinkURL: stringType().optional(),
64812
64888
  invoicePayments: arrayType(InvoicePayment$outboundSchema).optional(),
64813
64889
  createdOn: dateType().transform((v2) => v2.toISOString()),
64814
64890
  invoiceDate: dateType().transform((v2) => v2.toISOString()).optional(),
@@ -64878,7 +64954,7 @@ var init_invoicelineitemsvalidationerror = __esm(() => {
64878
64954
  var IssuedCard$inboundSchema, IssuedCard$outboundSchema;
64879
64955
  var init_issuedcard = __esm(() => {
64880
64956
  init_esm();
64881
- init_authorizeduser();
64957
+ init_address();
64882
64958
  init_cardbrand();
64883
64959
  init_cardexpiration();
64884
64960
  init_issuedcardformfactor();
@@ -64889,26 +64965,32 @@ var init_issuedcard = __esm(() => {
64889
64965
  brand: CardBrand$inboundSchema,
64890
64966
  lastFourCardNumber: stringType(),
64891
64967
  expiration: CardExpiration$inboundSchema,
64892
- authorizedUser: AuthorizedUser$inboundSchema,
64893
- memo: stringType().optional(),
64894
64968
  fundingWalletID: stringType(),
64969
+ authorizedUserAccountID: stringType().optional(),
64970
+ nickname: stringType().optional(),
64971
+ metadata: recordType(stringType()).optional(),
64972
+ billingAddress: Address$inboundSchema.optional(),
64895
64973
  state: IssuedCardState$inboundSchema,
64896
64974
  formFactor: IssuedCardFormFactor$inboundSchema,
64897
64975
  controls: IssuingControls$inboundSchema.optional(),
64898
- createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
64976
+ createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
64977
+ updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
64899
64978
  });
64900
64979
  IssuedCard$outboundSchema = objectType({
64901
64980
  issuedCardID: stringType(),
64902
64981
  brand: CardBrand$outboundSchema,
64903
64982
  lastFourCardNumber: stringType(),
64904
64983
  expiration: CardExpiration$outboundSchema,
64905
- authorizedUser: AuthorizedUser$outboundSchema,
64906
- memo: stringType().optional(),
64907
64984
  fundingWalletID: stringType(),
64985
+ authorizedUserAccountID: stringType().optional(),
64986
+ nickname: stringType().optional(),
64987
+ metadata: recordType(stringType()).optional(),
64988
+ billingAddress: Address$outboundSchema.optional(),
64908
64989
  state: IssuedCardState$outboundSchema,
64909
64990
  formFactor: IssuedCardFormFactor$outboundSchema,
64910
64991
  controls: IssuingControls$outboundSchema.optional(),
64911
- createdOn: dateType().transform((v2) => v2.toISOString())
64992
+ createdOn: dateType().transform((v2) => v2.toISOString()),
64993
+ updatedOn: dateType().transform((v2) => v2.toISOString())
64912
64994
  });
64913
64995
  });
64914
64996
 
@@ -66411,21 +66493,39 @@ var init_paymentlinkpaymentdetailsupdate = __esm(() => {
66411
66493
  });
66412
66494
  });
66413
66495
 
66496
+ // src/models/components/pushoptionsupdate.ts
66497
+ var PushOptionsUpdate$inboundSchema, PushOptionsUpdate$outboundSchema;
66498
+ var init_pushoptionsupdate = __esm(() => {
66499
+ init_esm();
66500
+ init_pushdeliveryspeed();
66501
+ PushOptionsUpdate$inboundSchema = objectType({
66502
+ allowedSpeeds: arrayType(PushDeliverySpeed$inboundSchema).optional(),
66503
+ deferredBy: stringType().optional()
66504
+ });
66505
+ PushOptionsUpdate$outboundSchema = objectType({
66506
+ allowedSpeeds: arrayType(PushDeliverySpeed$outboundSchema).optional(),
66507
+ deferredBy: stringType().optional()
66508
+ });
66509
+ });
66510
+
66414
66511
  // src/models/components/paymentlinkpayoutdetailsupdate.ts
66415
66512
  var PaymentLinkPayoutDetailsUpdate$inboundSchema, PaymentLinkPayoutDetailsUpdate$outboundSchema;
66416
66513
  var init_paymentlinkpayoutdetailsupdate = __esm(() => {
66417
66514
  init_esm();
66418
66515
  init_disbursementpaymentmethodtype();
66419
66516
  init_payoutrecipient();
66517
+ init_pushoptionsupdate();
66420
66518
  PaymentLinkPayoutDetailsUpdate$inboundSchema = objectType({
66421
66519
  allowedMethods: arrayType(DisbursementPaymentMethodType$inboundSchema).optional(),
66422
66520
  recipient: PayoutRecipient$inboundSchema.optional(),
66423
- metadata: recordType(stringType()).optional()
66521
+ metadata: recordType(stringType()).optional(),
66522
+ pushOptions: PushOptionsUpdate$inboundSchema.optional()
66424
66523
  });
66425
66524
  PaymentLinkPayoutDetailsUpdate$outboundSchema = objectType({
66426
66525
  allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema).optional(),
66427
66526
  recipient: PayoutRecipient$outboundSchema.optional(),
66428
- metadata: recordType(stringType()).optional()
66527
+ metadata: recordType(stringType()).optional(),
66528
+ pushOptions: PushOptionsUpdate$outboundSchema.optional()
66429
66529
  });
66430
66530
  });
66431
66531
 
@@ -66624,20 +66724,37 @@ var init_payoutrecipienterror = __esm(() => {
66624
66724
  });
66625
66725
  });
66626
66726
 
66727
+ // src/models/components/pushoptionserror.ts
66728
+ var PushOptionsError$inboundSchema, PushOptionsError$outboundSchema;
66729
+ var init_pushoptionserror = __esm(() => {
66730
+ init_esm();
66731
+ PushOptionsError$inboundSchema = objectType({
66732
+ allowedSpeeds: stringType().optional(),
66733
+ deferredBy: stringType().optional()
66734
+ });
66735
+ PushOptionsError$outboundSchema = objectType({
66736
+ allowedSpeeds: stringType().optional(),
66737
+ deferredBy: stringType().optional()
66738
+ });
66739
+ });
66740
+
66627
66741
  // src/models/components/payoutdetailserror.ts
66628
66742
  var PayoutDetailsError$inboundSchema, PayoutDetailsError$outboundSchema;
66629
66743
  var init_payoutdetailserror = __esm(() => {
66630
66744
  init_esm();
66631
66745
  init_payoutrecipienterror();
66746
+ init_pushoptionserror();
66632
66747
  PayoutDetailsError$inboundSchema = objectType({
66633
66748
  allowedMethods: stringType().optional(),
66634
66749
  recipient: PayoutRecipientError$inboundSchema.optional(),
66635
- metadata: stringType().optional()
66750
+ metadata: stringType().optional(),
66751
+ pushOptions: PushOptionsError$inboundSchema.optional()
66636
66752
  });
66637
66753
  PayoutDetailsError$outboundSchema = objectType({
66638
66754
  allowedMethods: stringType().optional(),
66639
66755
  recipient: PayoutRecipientError$outboundSchema.optional(),
66640
- metadata: stringType().optional()
66756
+ metadata: stringType().optional(),
66757
+ pushOptions: PushOptionsError$outboundSchema.optional()
66641
66758
  });
66642
66759
  });
66643
66760
 
@@ -67182,23 +67299,22 @@ var init_representativeresponsibilitieserror = __esm(() => {
67182
67299
  var RequestCard$inboundSchema, RequestCard$outboundSchema;
67183
67300
  var init_requestcard = __esm(() => {
67184
67301
  init_esm();
67302
+ init_address();
67185
67303
  init_cardexpiration();
67186
- init_createauthorizeduser();
67187
- init_issuedcardformfactor();
67188
67304
  init_issuingcontrols();
67189
67305
  RequestCard$inboundSchema = objectType({
67190
- fundingWalletID: stringType(),
67191
- authorizedUser: CreateAuthorizedUser$inboundSchema,
67192
- formFactor: IssuedCardFormFactor$inboundSchema,
67193
- memo: stringType().optional(),
67306
+ authorizedUserAccountID: stringType().optional(),
67307
+ nickname: stringType().optional(),
67308
+ metadata: recordType(stringType()).optional(),
67309
+ billingAddress: Address$inboundSchema.optional(),
67194
67310
  expiration: CardExpiration$inboundSchema.optional(),
67195
67311
  controls: IssuingControls$inboundSchema.optional()
67196
67312
  });
67197
67313
  RequestCard$outboundSchema = objectType({
67198
- fundingWalletID: stringType(),
67199
- authorizedUser: CreateAuthorizedUser$outboundSchema,
67200
- formFactor: IssuedCardFormFactor$outboundSchema,
67201
- memo: stringType().optional(),
67314
+ authorizedUserAccountID: stringType().optional(),
67315
+ nickname: stringType().optional(),
67316
+ metadata: recordType(stringType()).optional(),
67317
+ billingAddress: Address$outboundSchema.optional(),
67202
67318
  expiration: CardExpiration$outboundSchema.optional(),
67203
67319
  controls: IssuingControls$outboundSchema.optional()
67204
67320
  });
@@ -68470,20 +68586,37 @@ var init_updateissuedcardstate = __esm(() => {
68470
68586
  });
68471
68587
 
68472
68588
  // src/models/components/updateissuedcard.ts
68473
- var UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
68589
+ var BillingAddress$inboundSchema, BillingAddress$outboundSchema, UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
68474
68590
  var init_updateissuedcard = __esm(() => {
68475
68591
  init_esm();
68476
- init_createauthorizeduserupdate();
68477
68592
  init_updateissuedcardstate();
68593
+ BillingAddress$inboundSchema = objectType({
68594
+ addressLine1: stringType().optional(),
68595
+ addressLine2: stringType().optional(),
68596
+ city: stringType().optional(),
68597
+ stateOrProvince: stringType().optional(),
68598
+ postalCode: stringType().optional(),
68599
+ country: stringType().optional()
68600
+ });
68601
+ BillingAddress$outboundSchema = objectType({
68602
+ addressLine1: stringType().optional(),
68603
+ addressLine2: stringType().optional(),
68604
+ city: stringType().optional(),
68605
+ stateOrProvince: stringType().optional(),
68606
+ postalCode: stringType().optional(),
68607
+ country: stringType().optional()
68608
+ });
68478
68609
  UpdateIssuedCard$inboundSchema = objectType({
68479
68610
  state: UpdateIssuedCardState$inboundSchema.optional(),
68480
- memo: stringType().optional(),
68481
- authorizedUser: CreateAuthorizedUserUpdate$inboundSchema.optional()
68611
+ nickname: nullableType(stringType()).optional(),
68612
+ metadata: nullableType(recordType(stringType())).optional(),
68613
+ billingAddress: nullableType(lazyType(() => BillingAddress$inboundSchema)).optional()
68482
68614
  });
68483
68615
  UpdateIssuedCard$outboundSchema = objectType({
68484
68616
  state: UpdateIssuedCardState$outboundSchema.optional(),
68485
- memo: stringType().optional(),
68486
- authorizedUser: CreateAuthorizedUserUpdate$outboundSchema.optional()
68617
+ nickname: nullableType(stringType()).optional(),
68618
+ metadata: nullableType(recordType(stringType())).optional(),
68619
+ billingAddress: nullableType(lazyType(() => BillingAddress$outboundSchema)).optional()
68487
68620
  });
68488
68621
  });
68489
68622
 
@@ -68955,6 +69088,24 @@ var init_webhookdataaccountupdated = __esm(() => {
68955
69088
  });
68956
69089
  });
68957
69090
 
69091
+ // src/models/components/webhookdataauthorizationexpiring.ts
69092
+ var WebhookDataAuthorizationExpiring$inboundSchema, WebhookDataAuthorizationExpiring$outboundSchema;
69093
+ var init_webhookdataauthorizationexpiring = __esm(() => {
69094
+ init_esm();
69095
+ WebhookDataAuthorizationExpiring$inboundSchema = objectType({
69096
+ merchantAccountID: stringType(),
69097
+ partnerAccountID: stringType(),
69098
+ authorizationID: stringType(),
69099
+ expiresOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
69100
+ });
69101
+ WebhookDataAuthorizationExpiring$outboundSchema = objectType({
69102
+ merchantAccountID: stringType(),
69103
+ partnerAccountID: stringType(),
69104
+ authorizationID: stringType(),
69105
+ expiresOn: dateType().transform((v2) => v2.toISOString())
69106
+ });
69107
+ });
69108
+
68958
69109
  // src/models/components/webhookdatabalanceupdated.ts
68959
69110
  var WebhookDataBalanceUpdated$inboundSchema, WebhookDataBalanceUpdated$outboundSchema;
68960
69111
  var init_webhookdatabalanceupdated = __esm(() => {
@@ -69329,10 +69480,12 @@ var WebhookDataSweepCreated$inboundSchema, WebhookDataSweepCreated$outboundSchem
69329
69480
  var init_webhookdatasweepcreated = __esm(() => {
69330
69481
  init_esm();
69331
69482
  WebhookDataSweepCreated$inboundSchema = objectType({
69483
+ accountID: stringType(),
69332
69484
  walletID: stringType(),
69333
69485
  sweepID: stringType()
69334
69486
  });
69335
69487
  WebhookDataSweepCreated$outboundSchema = objectType({
69488
+ accountID: stringType(),
69336
69489
  walletID: stringType(),
69337
69490
  sweepID: stringType()
69338
69491
  });
@@ -69344,12 +69497,14 @@ var init_webhookdatasweepupdated = __esm(() => {
69344
69497
  init_esm();
69345
69498
  init_sweepstatus();
69346
69499
  WebhookDataSweepUpdated$inboundSchema = objectType({
69500
+ accountID: stringType(),
69347
69501
  walletID: stringType(),
69348
69502
  sweepID: stringType(),
69349
69503
  transferID: stringType().optional(),
69350
69504
  status: SweepStatus$inboundSchema
69351
69505
  });
69352
69506
  WebhookDataSweepUpdated$outboundSchema = objectType({
69507
+ accountID: stringType(),
69353
69508
  walletID: stringType(),
69354
69509
  sweepID: stringType(),
69355
69510
  transferID: stringType().optional(),
@@ -69590,6 +69745,7 @@ var init_webhookdata = __esm(() => {
69590
69745
  init_webhookdataaccountcreated();
69591
69746
  init_webhookdataaccountdisconnected();
69592
69747
  init_webhookdataaccountupdated();
69748
+ init_webhookdataauthorizationexpiring();
69593
69749
  init_webhookdatabalanceupdated();
69594
69750
  init_webhookdatabankaccountcreated();
69595
69751
  init_webhookdatabankaccountdeleted();
@@ -69629,7 +69785,9 @@ var init_webhookdata = __esm(() => {
69629
69785
  WebhookDataTransferUpdated$inboundSchema,
69630
69786
  WebhookDataBankAccountUpdated$inboundSchema,
69631
69787
  WebhookDataRefundUpdated$inboundSchema,
69788
+ WebhookDataSweepUpdated$inboundSchema,
69632
69789
  WebhookDataWalletTransactionUpdated$inboundSchema,
69790
+ WebhookDataAuthorizationExpiring$inboundSchema,
69633
69791
  WebhookDataBankAccountCreated$inboundSchema,
69634
69792
  WebhookDataBankAccountDeleted$inboundSchema,
69635
69793
  WebhookDataCancellationCreated$inboundSchema,
@@ -69640,7 +69798,7 @@ var init_webhookdata = __esm(() => {
69640
69798
  WebhookDataPaymentMethodEnabled$inboundSchema,
69641
69799
  WebhookDataPaymentMethodDisabled$inboundSchema,
69642
69800
  WebhookDataRefundCreated$inboundSchema,
69643
- WebhookDataSweepUpdated$inboundSchema,
69801
+ WebhookDataSweepCreated$inboundSchema,
69644
69802
  WebhookDataTicketUpdated$inboundSchema,
69645
69803
  WebhookDataTransferCreated$inboundSchema,
69646
69804
  WebhookDataWalletUpdated$inboundSchema,
@@ -69650,7 +69808,6 @@ var init_webhookdata = __esm(() => {
69650
69808
  WebhookDataRepresentativeCreated$inboundSchema,
69651
69809
  WebhookDataRepresentativeUpdated$inboundSchema,
69652
69810
  WebhookDataRepresentativeDisabled$inboundSchema,
69653
- WebhookDataSweepCreated$inboundSchema,
69654
69811
  WebhookDataTerminalApplicationCreated$inboundSchema,
69655
69812
  WebhookDataTerminalApplicationUpdated$inboundSchema,
69656
69813
  WebhookDataTicketCreated$inboundSchema,
@@ -69668,7 +69825,9 @@ var init_webhookdata = __esm(() => {
69668
69825
  WebhookDataTransferUpdated$outboundSchema,
69669
69826
  WebhookDataBankAccountUpdated$outboundSchema,
69670
69827
  WebhookDataRefundUpdated$outboundSchema,
69828
+ WebhookDataSweepUpdated$outboundSchema,
69671
69829
  WebhookDataWalletTransactionUpdated$outboundSchema,
69830
+ WebhookDataAuthorizationExpiring$outboundSchema,
69672
69831
  WebhookDataBankAccountCreated$outboundSchema,
69673
69832
  WebhookDataBankAccountDeleted$outboundSchema,
69674
69833
  WebhookDataCancellationCreated$outboundSchema,
@@ -69679,7 +69838,7 @@ var init_webhookdata = __esm(() => {
69679
69838
  WebhookDataPaymentMethodEnabled$outboundSchema,
69680
69839
  WebhookDataPaymentMethodDisabled$outboundSchema,
69681
69840
  WebhookDataRefundCreated$outboundSchema,
69682
- WebhookDataSweepUpdated$outboundSchema,
69841
+ WebhookDataSweepCreated$outboundSchema,
69683
69842
  WebhookDataTicketUpdated$outboundSchema,
69684
69843
  WebhookDataTransferCreated$outboundSchema,
69685
69844
  WebhookDataWalletUpdated$outboundSchema,
@@ -69689,7 +69848,6 @@ var init_webhookdata = __esm(() => {
69689
69848
  WebhookDataRepresentativeCreated$outboundSchema,
69690
69849
  WebhookDataRepresentativeUpdated$outboundSchema,
69691
69850
  WebhookDataRepresentativeDisabled$outboundSchema,
69692
- WebhookDataSweepCreated$outboundSchema,
69693
69851
  WebhookDataTerminalApplicationCreated$outboundSchema,
69694
69852
  WebhookDataTerminalApplicationUpdated$outboundSchema,
69695
69853
  WebhookDataTicketCreated$outboundSchema,
@@ -69787,7 +69945,6 @@ var init_components = __esm(() => {
69787
69945
  init_assignproductimagevalidationerror();
69788
69946
  init_asynccreatedrefund();
69789
69947
  init_asynctransfer();
69790
- init_authorizeduser();
69791
69948
  init_authtoken();
69792
69949
  init_authtokenrequest();
69793
69950
  init_bankaccount();
@@ -69876,9 +70033,6 @@ var init_components = __esm(() => {
69876
70033
  init_createaccountsettings();
69877
70034
  init_createaccounttype();
69878
70035
  init_createapplepaysession();
69879
- init_createauthorizeduser();
69880
- init_createauthorizedusererror();
69881
- init_createauthorizeduserupdate();
69882
70036
  init_createbusinesserror();
69883
70037
  init_createbusinessprofile();
69884
70038
  init_createdtransfer();
@@ -70151,6 +70305,10 @@ var init_components = __esm(() => {
70151
70305
  init_pullfromcardtransferpaymentmethod();
70152
70306
  init_pullfromgooglepaypaymentmethod();
70153
70307
  init_pullfromgooglepaytransferpaymentmethod();
70308
+ init_pushdeliveryspeed();
70309
+ init_pushoptions();
70310
+ init_pushoptionserror();
70311
+ init_pushoptionsupdate();
70154
70312
  init_pushtoapplepaypaymentmethod();
70155
70313
  init_pushtoapplepaytransferpaymentmethod();
70156
70314
  init_pushtocardpaymentmethod();
@@ -70311,6 +70469,7 @@ var init_components = __esm(() => {
70311
70469
  init_webhookdataaccountcreated();
70312
70470
  init_webhookdataaccountdisconnected();
70313
70471
  init_webhookdataaccountupdated();
70472
+ init_webhookdataauthorizationexpiring();
70314
70473
  init_webhookdatabalanceupdated();
70315
70474
  init_webhookdatabankaccountcreated();
70316
70475
  init_webhookdatabankaccountdeleted();
@@ -72215,10 +72374,10 @@ var init_requestcarderror = __esm(() => {
72215
72374
  init_components();
72216
72375
  init_mooverror();
72217
72376
  RequestCardError = class RequestCardError extends MoovError {
72218
- fundingWalletID;
72219
- formFactor;
72220
- authorizedUser;
72221
- memo;
72377
+ authorizedUserAccountID;
72378
+ nickname;
72379
+ metadata;
72380
+ billingAddress;
72222
72381
  expiration;
72223
72382
  controls;
72224
72383
  data$;
@@ -72226,14 +72385,15 @@ var init_requestcarderror = __esm(() => {
72226
72385
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
72227
72386
  super(message, httpMeta);
72228
72387
  this.data$ = err;
72229
- if (err.fundingWalletID != null)
72230
- this.fundingWalletID = err.fundingWalletID;
72231
- if (err.formFactor != null)
72232
- this.formFactor = err.formFactor;
72233
- if (err.authorizedUser != null)
72234
- this.authorizedUser = err.authorizedUser;
72235
- if (err.memo != null)
72236
- this.memo = err.memo;
72388
+ if (err.authorizedUserAccountID != null) {
72389
+ this.authorizedUserAccountID = err.authorizedUserAccountID;
72390
+ }
72391
+ if (err.nickname != null)
72392
+ this.nickname = err.nickname;
72393
+ if (err.metadata != null)
72394
+ this.metadata = err.metadata;
72395
+ if (err.billingAddress != null)
72396
+ this.billingAddress = err.billingAddress;
72237
72397
  if (err.expiration != null)
72238
72398
  this.expiration = err.expiration;
72239
72399
  if (err.controls != null)
@@ -72242,10 +72402,10 @@ var init_requestcarderror = __esm(() => {
72242
72402
  }
72243
72403
  };
72244
72404
  RequestCardError$inboundSchema = objectType({
72245
- fundingWalletID: stringType().optional(),
72246
- formFactor: stringType().optional(),
72247
- authorizedUser: CreateAuthorizedUserError$inboundSchema.optional(),
72248
- memo: stringType().optional(),
72405
+ authorizedUserAccountID: stringType().optional(),
72406
+ nickname: stringType().optional(),
72407
+ metadata: stringType().optional(),
72408
+ billingAddress: AddressError$inboundSchema.optional(),
72249
72409
  expiration: CardExpirationError$inboundSchema.optional(),
72250
72410
  controls: IssuingControlsError$inboundSchema.optional(),
72251
72411
  request$: instanceOfType(Request),
@@ -72259,10 +72419,10 @@ var init_requestcarderror = __esm(() => {
72259
72419
  });
72260
72420
  });
72261
72421
  RequestCardError$outboundSchema = instanceOfType(RequestCardError).transform((v2) => v2.data$).pipe(objectType({
72262
- fundingWalletID: stringType().optional(),
72263
- formFactor: stringType().optional(),
72264
- authorizedUser: CreateAuthorizedUserError$outboundSchema.optional(),
72265
- memo: stringType().optional(),
72422
+ authorizedUserAccountID: stringType().optional(),
72423
+ nickname: stringType().optional(),
72424
+ metadata: stringType().optional(),
72425
+ billingAddress: AddressError$outboundSchema.optional(),
72266
72426
  expiration: CardExpirationError$outboundSchema.optional(),
72267
72427
  controls: IssuingControlsError$outboundSchema.optional()
72268
72428
  }));
@@ -72968,8 +73128,9 @@ var init_updateissuedcarderror = __esm(() => {
72968
73128
  init_mooverror();
72969
73129
  UpdateIssuedCardError = class UpdateIssuedCardError extends MoovError {
72970
73130
  state;
72971
- memo;
72972
- authorizedUser;
73131
+ nickname;
73132
+ metadata;
73133
+ billingAddress;
72973
73134
  data$;
72974
73135
  constructor(err, httpMeta) {
72975
73136
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
@@ -72977,17 +73138,20 @@ var init_updateissuedcarderror = __esm(() => {
72977
73138
  this.data$ = err;
72978
73139
  if (err.state != null)
72979
73140
  this.state = err.state;
72980
- if (err.memo != null)
72981
- this.memo = err.memo;
72982
- if (err.authorizedUser != null)
72983
- this.authorizedUser = err.authorizedUser;
73141
+ if (err.nickname != null)
73142
+ this.nickname = err.nickname;
73143
+ if (err.metadata != null)
73144
+ this.metadata = err.metadata;
73145
+ if (err.billingAddress != null)
73146
+ this.billingAddress = err.billingAddress;
72984
73147
  this.name = "UpdateIssuedCardError";
72985
73148
  }
72986
73149
  };
72987
73150
  UpdateIssuedCardError$inboundSchema = objectType({
72988
73151
  state: stringType().optional(),
72989
- memo: stringType().optional(),
72990
- authorizedUser: CreateAuthorizedUserError$inboundSchema.optional(),
73152
+ nickname: stringType().optional(),
73153
+ metadata: stringType().optional(),
73154
+ billingAddress: AddressError$inboundSchema.optional(),
72991
73155
  request$: instanceOfType(Request),
72992
73156
  response$: instanceOfType(Response),
72993
73157
  body$: stringType()
@@ -73000,8 +73164,9 @@ var init_updateissuedcarderror = __esm(() => {
73000
73164
  });
73001
73165
  UpdateIssuedCardError$outboundSchema = instanceOfType(UpdateIssuedCardError).transform((v2) => v2.data$).pipe(objectType({
73002
73166
  state: stringType().optional(),
73003
- memo: stringType().optional(),
73004
- authorizedUser: CreateAuthorizedUserError$outboundSchema.optional()
73167
+ nickname: stringType().optional(),
73168
+ metadata: stringType().optional(),
73169
+ billingAddress: AddressError$outboundSchema.optional()
73005
73170
  }));
73006
73171
  });
73007
73172
 
@@ -77347,6 +77512,40 @@ var init_listbankaccounts = __esm(() => {
77347
77512
  });
77348
77513
  });
77349
77514
 
77515
+ // src/models/operations/listcancellations.ts
77516
+ var ListCancellationsRequest$inboundSchema, ListCancellationsRequest$outboundSchema, ListCancellationsResponse$inboundSchema, ListCancellationsResponse$outboundSchema;
77517
+ var init_listcancellations = __esm(() => {
77518
+ init_esm();
77519
+ init_primitives();
77520
+ init_components();
77521
+ ListCancellationsRequest$inboundSchema = objectType({
77522
+ accountID: stringType(),
77523
+ transferID: stringType()
77524
+ });
77525
+ ListCancellationsRequest$outboundSchema = objectType({
77526
+ accountID: stringType(),
77527
+ transferID: stringType()
77528
+ });
77529
+ ListCancellationsResponse$inboundSchema = objectType({
77530
+ Headers: recordType(arrayType(stringType())).default({}),
77531
+ Result: arrayType(Cancellation$inboundSchema)
77532
+ }).transform((v2) => {
77533
+ return remap(v2, {
77534
+ Headers: "headers",
77535
+ Result: "result"
77536
+ });
77537
+ });
77538
+ ListCancellationsResponse$outboundSchema = objectType({
77539
+ headers: recordType(arrayType(stringType())),
77540
+ result: arrayType(Cancellation$outboundSchema)
77541
+ }).transform((v2) => {
77542
+ return remap(v2, {
77543
+ headers: "Headers",
77544
+ result: "Result"
77545
+ });
77546
+ });
77547
+ });
77548
+
77350
77549
  // src/models/operations/listcapabilities.ts
77351
77550
  var ListCapabilitiesRequest$inboundSchema, ListCapabilitiesRequest$outboundSchema, ListCapabilitiesResponse$inboundSchema, ListCapabilitiesResponse$outboundSchema;
77352
77551
  var init_listcapabilities = __esm(() => {
@@ -80505,6 +80704,7 @@ var init_operations = __esm(() => {
80505
80704
  init_listaccountterminalapplications();
80506
80705
  init_listadjustments();
80507
80706
  init_listbankaccounts();
80707
+ init_listcancellations();
80508
80708
  init_listcapabilities();
80509
80709
  init_listcards();
80510
80710
  init_listconnectedaccountsforaccount();
@@ -80929,21 +81129,19 @@ var init_accountsCreate2 = __esm(() => {
80929
81129
  };
80930
81130
  tool$accountsCreate = {
80931
81131
  name: "accounts-create",
80932
- description: `You can create **business** or **individual** accounts for your users (i.e., customers, merchants) by passing the required
80933
- information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/requirements/).
81132
+ description: `You can create business or individual accounts for your users (i.e., customers, merchants) by passing the required information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/reference/).
80934
81133
 
80935
- If you're requesting the \`wallet\`, \`send-funds\`, \`collect-funds\`, or \`card-issuing\` capabilities, you'll need to:
80936
- + Send Moov the user [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance.
80937
- This can be done upon account creation, or by [patching](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account using the \`termsOfService\` field.
80938
- If you're creating a business account with the business type \`llc\`, \`partnership\`, or \`privateCorporation\`, you'll need to:
81134
+ The \`transfers\` capability is automatically requested for every account. If you request any capability beyond \`transfers\` (for example, \`send-funds.ach\`, \`collect-funds.card-payments\`), you'll need to:
81135
+ + Send Moov the user's [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance. This can be done at account creation, or by [patching](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account using the \`termsOfService\` field.
81136
+ + Fulfill the [verification and underwriting requirements](https://docs.moov.io/guides/accounts/requirements/) for each requested capability. A capability isn't enabled until its requirements pass — check the capability's status to see what's still outstanding.
81137
+
81138
+ If you're creating a business account, depending on the business type, you'll also need to:
80939
81139
  + Provide [business representatives](https://docs.moov.io/api/moov-accounts/representatives/) after creating the account.
80940
81140
  + [Patch](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account to indicate that business representative ownership information is complete.
80941
81141
 
80942
- Visit our documentation to read more about [creating accounts](https://docs.moov.io/guides/accounts/create-accounts/) and [verification requirements](https://docs.moov.io/guides/accounts/requirements/identity-verification/).
80943
- Note that the \`mode\` field (for production or sandbox) is only required when creating a _facilitator_ account. All non-facilitator account requests will ignore the mode field and be set to the calling facilitator's mode.
81142
+ Visit our documentation to read more about [creating accounts](https://docs.moov.io/guides/accounts/create-accounts/) and [verification requirements](https://docs.moov.io/guides/accounts/requirements/identity-verification/). Note that the \`mode\` field (for production or sandbox) is only required when creating a Partner account. All other account requests will ignore the mode field and be set to the calling Partner account's mode.
80944
81143
 
80945
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
80946
- to specify the \`/accounts.write\` scope.`,
81144
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the \`/accounts.write\` scope.`,
80947
81145
  args: args3,
80948
81146
  tool: async (client, args4, ctx) => {
80949
81147
  const [result, apiCall] = await accountsCreate(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -84415,7 +84613,7 @@ var init_bankAccountsLink2 = __esm(() => {
84415
84613
  description: `Link a bank account to an existing Moov account. Read our [bank accounts guide](https://docs.moov.io/guides/sources/bank-accounts/) to learn more.
84416
84614
 
84417
84615
  It is strongly recommended that callers include the \`X-Wait-For\` header, set to \`payment-method\`, if the newly linked
84418
- bank-account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
84616
+ bank account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
84419
84617
  Methods](https://docs.moov.io/api/sources/payment-methods/list/)
84420
84618
  endpoint to wait for the new payment methods to be available for use.
84421
84619
 
@@ -84982,7 +85180,7 @@ var init_capabilitiesDisable2 = __esm(() => {
84982
85180
  };
84983
85181
  tool$capabilitiesDisable = {
84984
85182
  name: "capabilities-disable",
84985
- description: `Disable a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
85183
+ description: `Disable a specific capability that an account has requested. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
84986
85184
 
84987
85185
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
84988
85186
  you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
@@ -85096,7 +85294,7 @@ var init_capabilitiesGet2 = __esm(() => {
85096
85294
  };
85097
85295
  tool$capabilitiesGet = {
85098
85296
  name: "capabilities-get",
85099
- description: `Retrieve a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
85297
+ description: `Retrieve a specific capability that an account has requested. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
85100
85298
 
85101
85299
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
85102
85300
  you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
@@ -85209,7 +85407,7 @@ var init_capabilitiesList2 = __esm(() => {
85209
85407
  name: "capabilities-list",
85210
85408
  description: `Retrieve all the capabilities an account has requested.
85211
85409
 
85212
- Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
85410
+ Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
85213
85411
 
85214
85412
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
85215
85413
  you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
@@ -85322,7 +85520,7 @@ var init_capabilitiesRequest2 = __esm(() => {
85322
85520
  };
85323
85521
  tool$capabilitiesRequest = {
85324
85522
  name: "capabilities-request",
85325
- description: `Request capabilities for a specific account. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
85523
+ description: `Request capabilities for a specific account. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
85326
85524
 
85327
85525
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
85328
85526
  you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
@@ -85362,7 +85560,7 @@ async function $do42(client, request, options) {
85362
85560
  charEncoding: "percent"
85363
85561
  })
85364
85562
  };
85365
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}")(pathParams);
85563
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
85366
85564
  const headers = new Headers(compactMap({
85367
85565
  Accept: "application/json"
85368
85566
  }));
@@ -85477,7 +85675,7 @@ async function $do43(client, request, options) {
85477
85675
  charEncoding: "percent"
85478
85676
  })
85479
85677
  };
85480
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}/details")(pathParams);
85678
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}/details")(pathParams);
85481
85679
  const headers = new Headers(compactMap({
85482
85680
  Accept: "application/json"
85483
85681
  }));
@@ -85590,7 +85788,7 @@ async function $do44(client, request, options) {
85590
85788
  charEncoding: "percent"
85591
85789
  })
85592
85790
  };
85593
- const path = pathToFunc("/issuing/{accountID}/issued-cards")(pathParams);
85791
+ const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
85594
85792
  const query = encodeFormQuery({
85595
85793
  count: payload.count,
85596
85794
  skip: payload.skip,
@@ -85707,7 +85905,7 @@ async function $do45(client, request, options) {
85707
85905
  charEncoding: "percent"
85708
85906
  })
85709
85907
  };
85710
- const path = pathToFunc("/issuing/{accountID}/issued-cards")(pathParams);
85908
+ const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
85711
85909
  const headers = new Headers(compactMap({
85712
85910
  "Content-Type": "application/json",
85713
85911
  Accept: "application/json"
@@ -85824,7 +86022,7 @@ async function $do46(client, request, options) {
85824
86022
  charEncoding: "percent"
85825
86023
  })
85826
86024
  };
85827
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}")(pathParams);
86025
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
85828
86026
  const headers = new Headers(compactMap({
85829
86027
  "Content-Type": "application/json",
85830
86028
  Accept: "application/json"
@@ -100170,11 +100368,126 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
100170
100368
  };
100171
100369
  });
100172
100370
 
100173
- // src/funcs/transfersListRefunds.ts
100174
- function transfersListRefunds(client, request, options) {
100371
+ // src/funcs/transfersListCancellations.ts
100372
+ function transfersListCancellations(client, request, options) {
100175
100373
  return new APIPromise($do169(client, request, options));
100176
100374
  }
100177
100375
  async function $do169(client, request, options) {
100376
+ const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
100377
+ if (!parsed.ok) {
100378
+ return [parsed, { status: "invalid" }];
100379
+ }
100380
+ const payload = parsed.value;
100381
+ const body = null;
100382
+ const pathParams = {
100383
+ accountID: encodeSimple("accountID", payload.accountID, {
100384
+ explode: false,
100385
+ charEncoding: "percent"
100386
+ }),
100387
+ transferID: encodeSimple("transferID", payload.transferID, {
100388
+ explode: false,
100389
+ charEncoding: "percent"
100390
+ })
100391
+ };
100392
+ const path = pathToFunc("/accounts/{accountID}/transfers/{transferID}/cancellations")(pathParams);
100393
+ const headers = new Headers(compactMap({
100394
+ Accept: "application/json"
100395
+ }));
100396
+ const securityInput = await extractSecurity(client._options.security);
100397
+ const requestSecurity = resolveGlobalSecurity(securityInput);
100398
+ const context = {
100399
+ options: client._options,
100400
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
100401
+ operationID: "listCancellations",
100402
+ oAuth2Scopes: null,
100403
+ resolvedSecurity: requestSecurity,
100404
+ securitySource: client._options.security,
100405
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
100406
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
100407
+ };
100408
+ const requestRes = client._createRequest(context, {
100409
+ security: requestSecurity,
100410
+ method: "GET",
100411
+ baseURL: options?.serverURL,
100412
+ path,
100413
+ headers,
100414
+ body,
100415
+ userAgent: client._options.userAgent,
100416
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
100417
+ }, options);
100418
+ if (!requestRes.ok) {
100419
+ return [requestRes, { status: "invalid" }];
100420
+ }
100421
+ const req = requestRes.value;
100422
+ const doResult = await client._do(req, {
100423
+ context,
100424
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
100425
+ retryConfig: context.retryConfig,
100426
+ retryCodes: context.retryCodes
100427
+ });
100428
+ if (!doResult.ok) {
100429
+ return [doResult, { status: "request-error", request: req }];
100430
+ }
100431
+ const response = doResult.value;
100432
+ const responseFields = {
100433
+ HttpMeta: { Response: response, Request: req }
100434
+ };
100435
+ const [result] = await match(json(200, ListCancellationsResponse$inboundSchema, {
100436
+ hdrs: true,
100437
+ key: "Result"
100438
+ }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
100439
+ if (!result.ok) {
100440
+ return [result, { status: "complete", request: req, response }];
100441
+ }
100442
+ return [result, { status: "complete", request: req, response }];
100443
+ }
100444
+ var init_transfersListCancellations = __esm(() => {
100445
+ init_encodings();
100446
+ init_http();
100447
+ init_matchers();
100448
+ init_primitives();
100449
+ init_schemas4();
100450
+ init_security();
100451
+ init_url();
100452
+ init_operations();
100453
+ init_async();
100454
+ });
100455
+
100456
+ // src/mcp-server/tools/transfersListCancellations.ts
100457
+ var args164, tool$transfersListCancellations;
100458
+ var init_transfersListCancellations2 = __esm(() => {
100459
+ init_transfersListCancellations();
100460
+ init_operations();
100461
+ init_tools();
100462
+ args164 = {
100463
+ request: ListCancellationsRequest$inboundSchema
100464
+ };
100465
+ tool$transfersListCancellations = {
100466
+ name: "transfers-list-cancellations",
100467
+ description: ` Get a list of cancellations for a transfer.
100468
+
100469
+ To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
100470
+ to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
100471
+ args: args164,
100472
+ tool: async (client, args165, ctx) => {
100473
+ const [result, apiCall] = await transfersListCancellations(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100474
+ if (!result.ok) {
100475
+ return {
100476
+ content: [{ type: "text", text: result.error.message }],
100477
+ isError: true
100478
+ };
100479
+ }
100480
+ const value = result.value.result;
100481
+ return formatResult(value, apiCall);
100482
+ }
100483
+ };
100484
+ });
100485
+
100486
+ // src/funcs/transfersListRefunds.ts
100487
+ function transfersListRefunds(client, request, options) {
100488
+ return new APIPromise($do170(client, request, options));
100489
+ }
100490
+ async function $do170(client, request, options) {
100178
100491
  const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
100179
100492
  if (!parsed.ok) {
100180
100493
  return [parsed, { status: "invalid" }];
@@ -100256,12 +100569,12 @@ var init_transfersListRefunds = __esm(() => {
100256
100569
  });
100257
100570
 
100258
100571
  // src/mcp-server/tools/transfersListRefunds.ts
100259
- var args164, tool$transfersListRefunds;
100572
+ var args165, tool$transfersListRefunds;
100260
100573
  var init_transfersListRefunds2 = __esm(() => {
100261
100574
  init_transfersListRefunds();
100262
100575
  init_operations();
100263
100576
  init_tools();
100264
- args164 = {
100577
+ args165 = {
100265
100578
  request: ListRefundsRequest$inboundSchema
100266
100579
  };
100267
100580
  tool$transfersListRefunds = {
@@ -100270,9 +100583,9 @@ var init_transfersListRefunds2 = __esm(() => {
100270
100583
 
100271
100584
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
100272
100585
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
100273
- args: args164,
100274
- tool: async (client, args165, ctx) => {
100275
- const [result, apiCall] = await transfersListRefunds(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100586
+ args: args165,
100587
+ tool: async (client, args166, ctx) => {
100588
+ const [result, apiCall] = await transfersListRefunds(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100276
100589
  if (!result.ok) {
100277
100590
  return {
100278
100591
  content: [{ type: "text", text: result.error.message }],
@@ -100287,9 +100600,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
100287
100600
 
100288
100601
  // src/funcs/transfersUpdate.ts
100289
100602
  function transfersUpdate(client, request, options) {
100290
- return new APIPromise($do170(client, request, options));
100603
+ return new APIPromise($do171(client, request, options));
100291
100604
  }
100292
- async function $do170(client, request, options) {
100605
+ async function $do171(client, request, options) {
100293
100606
  const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
100294
100607
  if (!parsed.ok) {
100295
100608
  return [parsed, { status: "invalid" }];
@@ -100375,12 +100688,12 @@ var init_transfersUpdate = __esm(() => {
100375
100688
  });
100376
100689
 
100377
100690
  // src/mcp-server/tools/transfersUpdate.ts
100378
- var args165, tool$transfersUpdate;
100691
+ var args166, tool$transfersUpdate;
100379
100692
  var init_transfersUpdate2 = __esm(() => {
100380
100693
  init_transfersUpdate();
100381
100694
  init_operations();
100382
100695
  init_tools();
100383
- args165 = {
100696
+ args166 = {
100384
100697
  request: UpdateTransferRequest$inboundSchema
100385
100698
  };
100386
100699
  tool$transfersUpdate = {
@@ -100391,9 +100704,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
100391
100704
 
100392
100705
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
100393
100706
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
100394
- args: args165,
100395
- tool: async (client, args166, ctx) => {
100396
- const [result, apiCall] = await transfersUpdate(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100707
+ args: args166,
100708
+ tool: async (client, args167, ctx) => {
100709
+ const [result, apiCall] = await transfersUpdate(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100397
100710
  if (!result.ok) {
100398
100711
  return {
100399
100712
  content: [{ type: "text", text: result.error.message }],
@@ -100408,9 +100721,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
100408
100721
 
100409
100722
  // src/funcs/underwritingGet.ts
100410
100723
  function underwritingGet(client, request, options) {
100411
- return new APIPromise($do171(client, request, options));
100724
+ return new APIPromise($do172(client, request, options));
100412
100725
  }
100413
- async function $do171(client, request, options) {
100726
+ async function $do172(client, request, options) {
100414
100727
  const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
100415
100728
  if (!parsed.ok) {
100416
100729
  return [parsed, { status: "invalid" }];
@@ -100488,12 +100801,12 @@ var init_underwritingGet = __esm(() => {
100488
100801
  });
100489
100802
 
100490
100803
  // src/mcp-server/tools/underwritingGet.ts
100491
- var args166, tool$underwritingGet;
100804
+ var args167, tool$underwritingGet;
100492
100805
  var init_underwritingGet2 = __esm(() => {
100493
100806
  init_underwritingGet();
100494
100807
  init_operations();
100495
100808
  init_tools();
100496
- args166 = {
100809
+ args167 = {
100497
100810
  request: GetUnderwritingRequest$inboundSchema
100498
100811
  };
100499
100812
  tool$underwritingGet = {
@@ -100504,9 +100817,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
100504
100817
 
100505
100818
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
100506
100819
  you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
100507
- args: args166,
100508
- tool: async (client, args167, ctx) => {
100509
- const [result, apiCall] = await underwritingGet(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100820
+ args: args167,
100821
+ tool: async (client, args168, ctx) => {
100822
+ const [result, apiCall] = await underwritingGet(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100510
100823
  if (!result.ok) {
100511
100824
  return {
100512
100825
  content: [{ type: "text", text: result.error.message }],
@@ -100521,9 +100834,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
100521
100834
 
100522
100835
  // src/funcs/underwritingSave.ts
100523
100836
  function underwritingSave(client, request, options) {
100524
- return new APIPromise($do172(client, request, options));
100837
+ return new APIPromise($do173(client, request, options));
100525
100838
  }
100526
- async function $do172(client, request, options) {
100839
+ async function $do173(client, request, options) {
100527
100840
  const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
100528
100841
  if (!parsed.ok) {
100529
100842
  return [parsed, { status: "invalid" }];
@@ -100607,12 +100920,12 @@ var init_underwritingSave = __esm(() => {
100607
100920
  });
100608
100921
 
100609
100922
  // src/mcp-server/tools/underwritingSave.ts
100610
- var args167, tool$underwritingSave;
100923
+ var args168, tool$underwritingSave;
100611
100924
  var init_underwritingSave2 = __esm(() => {
100612
100925
  init_underwritingSave();
100613
100926
  init_operations();
100614
100927
  init_tools();
100615
- args167 = {
100928
+ args168 = {
100616
100929
  request: SaveUnderwritingRequest$inboundSchema
100617
100930
  };
100618
100931
  tool$underwritingSave = {
@@ -100623,9 +100936,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
100623
100936
 
100624
100937
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
100625
100938
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
100626
- args: args167,
100627
- tool: async (client, args168, ctx) => {
100628
- const [result, apiCall] = await underwritingSave(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100939
+ args: args168,
100940
+ tool: async (client, args169, ctx) => {
100941
+ const [result, apiCall] = await underwritingSave(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100629
100942
  if (!result.ok) {
100630
100943
  return {
100631
100944
  content: [{ type: "text", text: result.error.message }],
@@ -100640,9 +100953,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
100640
100953
 
100641
100954
  // src/funcs/underwritingUpsert.ts
100642
100955
  function underwritingUpsert(client, request, options) {
100643
- return new APIPromise($do173(client, request, options));
100956
+ return new APIPromise($do174(client, request, options));
100644
100957
  }
100645
- async function $do173(client, request, options) {
100958
+ async function $do174(client, request, options) {
100646
100959
  const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
100647
100960
  if (!parsed.ok) {
100648
100961
  return [parsed, { status: "invalid" }];
@@ -100726,12 +101039,12 @@ var init_underwritingUpsert = __esm(() => {
100726
101039
  });
100727
101040
 
100728
101041
  // src/mcp-server/tools/underwritingUpsert.ts
100729
- var args168, tool$underwritingUpsert;
101042
+ var args169, tool$underwritingUpsert;
100730
101043
  var init_underwritingUpsert2 = __esm(() => {
100731
101044
  init_underwritingUpsert();
100732
101045
  init_operations();
100733
101046
  init_tools();
100734
- args168 = {
101047
+ args169 = {
100735
101048
  request: UpsertUnderwritingRequest$inboundSchema
100736
101049
  };
100737
101050
  tool$underwritingUpsert = {
@@ -100742,9 +101055,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
100742
101055
 
100743
101056
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
100744
101057
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
100745
- args: args168,
100746
- tool: async (client, args169, ctx) => {
100747
- const [result, apiCall] = await underwritingUpsert(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101058
+ args: args169,
101059
+ tool: async (client, args170, ctx) => {
101060
+ const [result, apiCall] = await underwritingUpsert(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100748
101061
  if (!result.ok) {
100749
101062
  return {
100750
101063
  content: [{ type: "text", text: result.error.message }],
@@ -100759,9 +101072,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
100759
101072
 
100760
101073
  // src/funcs/walletsCreate.ts
100761
101074
  function walletsCreate(client, request, options) {
100762
- return new APIPromise($do174(client, request, options));
101075
+ return new APIPromise($do175(client, request, options));
100763
101076
  }
100764
- async function $do174(client, request, options) {
101077
+ async function $do175(client, request, options) {
100765
101078
  const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
100766
101079
  if (!parsed.ok) {
100767
101080
  return [parsed, { status: "invalid" }];
@@ -100843,12 +101156,12 @@ var init_walletsCreate = __esm(() => {
100843
101156
  });
100844
101157
 
100845
101158
  // src/mcp-server/tools/walletsCreate.ts
100846
- var args169, tool$walletsCreate;
101159
+ var args170, tool$walletsCreate;
100847
101160
  var init_walletsCreate2 = __esm(() => {
100848
101161
  init_walletsCreate();
100849
101162
  init_operations();
100850
101163
  init_tools();
100851
- args169 = {
101164
+ args170 = {
100852
101165
  request: CreateWalletRequest$inboundSchema
100853
101166
  };
100854
101167
  tool$walletsCreate = {
@@ -100859,9 +101172,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
100859
101172
 
100860
101173
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
100861
101174
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
100862
- args: args169,
100863
- tool: async (client, args170, ctx) => {
100864
- const [result, apiCall] = await walletsCreate(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101175
+ args: args170,
101176
+ tool: async (client, args171, ctx) => {
101177
+ const [result, apiCall] = await walletsCreate(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100865
101178
  if (!result.ok) {
100866
101179
  return {
100867
101180
  content: [{ type: "text", text: result.error.message }],
@@ -100876,9 +101189,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
100876
101189
 
100877
101190
  // src/funcs/walletsGet.ts
100878
101191
  function walletsGet(client, request, options) {
100879
- return new APIPromise($do175(client, request, options));
101192
+ return new APIPromise($do176(client, request, options));
100880
101193
  }
100881
- async function $do175(client, request, options) {
101194
+ async function $do176(client, request, options) {
100882
101195
  const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
100883
101196
  if (!parsed.ok) {
100884
101197
  return [parsed, { status: "invalid" }];
@@ -100960,12 +101273,12 @@ var init_walletsGet = __esm(() => {
100960
101273
  });
100961
101274
 
100962
101275
  // src/mcp-server/tools/walletsGet.ts
100963
- var args170, tool$walletsGet;
101276
+ var args171, tool$walletsGet;
100964
101277
  var init_walletsGet2 = __esm(() => {
100965
101278
  init_walletsGet();
100966
101279
  init_operations();
100967
101280
  init_tools();
100968
- args170 = {
101281
+ args171 = {
100969
101282
  request: GetWalletRequest$inboundSchema
100970
101283
  };
100971
101284
  tool$walletsGet = {
@@ -100976,9 +101289,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
100976
101289
 
100977
101290
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
100978
101291
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
100979
- args: args170,
100980
- tool: async (client, args171, ctx) => {
100981
- const [result, apiCall] = await walletsGet(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101292
+ args: args171,
101293
+ tool: async (client, args172, ctx) => {
101294
+ const [result, apiCall] = await walletsGet(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100982
101295
  if (!result.ok) {
100983
101296
  return {
100984
101297
  content: [{ type: "text", text: result.error.message }],
@@ -100993,9 +101306,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
100993
101306
 
100994
101307
  // src/funcs/walletsList.ts
100995
101308
  function walletsList(client, request, options) {
100996
- return new APIPromise($do176(client, request, options));
101309
+ return new APIPromise($do177(client, request, options));
100997
101310
  }
100998
- async function $do176(client, request, options) {
101311
+ async function $do177(client, request, options) {
100999
101312
  const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
101000
101313
  if (!parsed.ok) {
101001
101314
  return [parsed, { status: "invalid" }];
@@ -101083,12 +101396,12 @@ var init_walletsList = __esm(() => {
101083
101396
  });
101084
101397
 
101085
101398
  // src/mcp-server/tools/walletsList.ts
101086
- var args171, tool$walletsList;
101399
+ var args172, tool$walletsList;
101087
101400
  var init_walletsList2 = __esm(() => {
101088
101401
  init_walletsList();
101089
101402
  init_operations();
101090
101403
  init_tools();
101091
- args171 = {
101404
+ args172 = {
101092
101405
  request: ListWalletsRequest$inboundSchema
101093
101406
  };
101094
101407
  tool$walletsList = {
@@ -101099,9 +101412,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
101099
101412
 
101100
101413
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
101101
101414
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
101102
- args: args171,
101103
- tool: async (client, args172, ctx) => {
101104
- const [result, apiCall] = await walletsList(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101415
+ args: args172,
101416
+ tool: async (client, args173, ctx) => {
101417
+ const [result, apiCall] = await walletsList(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101105
101418
  if (!result.ok) {
101106
101419
  return {
101107
101420
  content: [{ type: "text", text: result.error.message }],
@@ -101116,9 +101429,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
101116
101429
 
101117
101430
  // src/funcs/walletsUpdate.ts
101118
101431
  function walletsUpdate(client, request, options) {
101119
- return new APIPromise($do177(client, request, options));
101432
+ return new APIPromise($do178(client, request, options));
101120
101433
  }
101121
- async function $do177(client, request, options) {
101434
+ async function $do178(client, request, options) {
101122
101435
  const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
101123
101436
  if (!parsed.ok) {
101124
101437
  return [parsed, { status: "invalid" }];
@@ -101204,12 +101517,12 @@ var init_walletsUpdate = __esm(() => {
101204
101517
  });
101205
101518
 
101206
101519
  // src/mcp-server/tools/walletsUpdate.ts
101207
- var args172, tool$walletsUpdate;
101520
+ var args173, tool$walletsUpdate;
101208
101521
  var init_walletsUpdate2 = __esm(() => {
101209
101522
  init_walletsUpdate();
101210
101523
  init_operations();
101211
101524
  init_tools();
101212
- args172 = {
101525
+ args173 = {
101213
101526
  request: UpdateWalletRequest$inboundSchema
101214
101527
  };
101215
101528
  tool$walletsUpdate = {
@@ -101220,9 +101533,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
101220
101533
 
101221
101534
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
101222
101535
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
101223
- args: args172,
101224
- tool: async (client, args173, ctx) => {
101225
- const [result, apiCall] = await walletsUpdate(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101536
+ args: args173,
101537
+ tool: async (client, args174, ctx) => {
101538
+ const [result, apiCall] = await walletsUpdate(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101226
101539
  if (!result.ok) {
101227
101540
  return {
101228
101541
  content: [{ type: "text", text: result.error.message }],
@@ -101237,9 +101550,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
101237
101550
 
101238
101551
  // src/funcs/walletTransactionsGet.ts
101239
101552
  function walletTransactionsGet(client, request, options) {
101240
- return new APIPromise($do178(client, request, options));
101553
+ return new APIPromise($do179(client, request, options));
101241
101554
  }
101242
- async function $do178(client, request, options) {
101555
+ async function $do179(client, request, options) {
101243
101556
  const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
101244
101557
  if (!parsed.ok) {
101245
101558
  return [parsed, { status: "invalid" }];
@@ -101325,12 +101638,12 @@ var init_walletTransactionsGet = __esm(() => {
101325
101638
  });
101326
101639
 
101327
101640
  // src/mcp-server/tools/walletTransactionsGet.ts
101328
- var args173, tool$walletTransactionsGet;
101641
+ var args174, tool$walletTransactionsGet;
101329
101642
  var init_walletTransactionsGet2 = __esm(() => {
101330
101643
  init_walletTransactionsGet();
101331
101644
  init_operations();
101332
101645
  init_tools();
101333
- args173 = {
101646
+ args174 = {
101334
101647
  request: GetWalletTransactionRequest$inboundSchema
101335
101648
  };
101336
101649
  tool$walletTransactionsGet = {
@@ -101341,9 +101654,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
101341
101654
 
101342
101655
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
101343
101656
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
101344
- args: args173,
101345
- tool: async (client, args174, ctx) => {
101346
- const [result, apiCall] = await walletTransactionsGet(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101657
+ args: args174,
101658
+ tool: async (client, args175, ctx) => {
101659
+ const [result, apiCall] = await walletTransactionsGet(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101347
101660
  if (!result.ok) {
101348
101661
  return {
101349
101662
  content: [{ type: "text", text: result.error.message }],
@@ -101358,9 +101671,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
101358
101671
 
101359
101672
  // src/funcs/walletTransactionsList.ts
101360
101673
  function walletTransactionsList(client, request, options) {
101361
- return new APIPromise($do179(client, request, options));
101674
+ return new APIPromise($do180(client, request, options));
101362
101675
  }
101363
- async function $do179(client, request, options) {
101676
+ async function $do180(client, request, options) {
101364
101677
  const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
101365
101678
  if (!parsed.ok) {
101366
101679
  return [parsed, { status: "invalid" }];
@@ -101460,12 +101773,12 @@ var init_walletTransactionsList = __esm(() => {
101460
101773
  });
101461
101774
 
101462
101775
  // src/mcp-server/tools/walletTransactionsList.ts
101463
- var args174, tool$walletTransactionsList;
101776
+ var args175, tool$walletTransactionsList;
101464
101777
  var init_walletTransactionsList2 = __esm(() => {
101465
101778
  init_walletTransactionsList();
101466
101779
  init_operations();
101467
101780
  init_tools();
101468
- args174 = {
101781
+ args175 = {
101469
101782
  request: ListWalletTransactionsRequest$inboundSchema
101470
101783
  };
101471
101784
  tool$walletTransactionsList = {
@@ -101476,9 +101789,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
101476
101789
 
101477
101790
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
101478
101791
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
101479
- args: args174,
101480
- tool: async (client, args175, ctx) => {
101481
- const [result, apiCall] = await walletTransactionsList(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101792
+ args: args175,
101793
+ tool: async (client, args176, ctx) => {
101794
+ const [result, apiCall] = await walletTransactionsList(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101482
101795
  if (!result.ok) {
101483
101796
  return {
101484
101797
  content: [{ type: "text", text: result.error.message }],
@@ -101493,9 +101806,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
101493
101806
 
101494
101807
  // src/funcs/webhooksCreate.ts
101495
101808
  function webhooksCreate(client, request, options) {
101496
- return new APIPromise($do180(client, request, options));
101809
+ return new APIPromise($do181(client, request, options));
101497
101810
  }
101498
- async function $do180(client, request, options) {
101811
+ async function $do181(client, request, options) {
101499
101812
  const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
101500
101813
  if (!parsed.ok) {
101501
101814
  return [parsed, { status: "invalid" }];
@@ -101572,20 +101885,20 @@ var init_webhooksCreate = __esm(() => {
101572
101885
  });
101573
101886
 
101574
101887
  // src/mcp-server/tools/webhooksCreate.ts
101575
- var args175, tool$webhooksCreate;
101888
+ var args176, tool$webhooksCreate;
101576
101889
  var init_webhooksCreate2 = __esm(() => {
101577
101890
  init_webhooksCreate();
101578
101891
  init_components();
101579
101892
  init_tools();
101580
- args175 = {
101893
+ args176 = {
101581
101894
  request: CreateWebhook$inboundSchema
101582
101895
  };
101583
101896
  tool$webhooksCreate = {
101584
101897
  name: "webhooks-create",
101585
101898
  description: `Create a new webhook for the account.`,
101586
- args: args175,
101587
- tool: async (client, args176, ctx) => {
101588
- const [result, apiCall] = await webhooksCreate(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101899
+ args: args176,
101900
+ tool: async (client, args177, ctx) => {
101901
+ const [result, apiCall] = await webhooksCreate(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101589
101902
  if (!result.ok) {
101590
101903
  return {
101591
101904
  content: [{ type: "text", text: result.error.message }],
@@ -101600,9 +101913,9 @@ var init_webhooksCreate2 = __esm(() => {
101600
101913
 
101601
101914
  // src/funcs/webhooksDisable.ts
101602
101915
  function webhooksDisable(client, request, options) {
101603
- return new APIPromise($do181(client, request, options));
101916
+ return new APIPromise($do182(client, request, options));
101604
101917
  }
101605
- async function $do181(client, request, options) {
101918
+ async function $do182(client, request, options) {
101606
101919
  const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
101607
101920
  if (!parsed.ok) {
101608
101921
  return [parsed, { status: "invalid" }];
@@ -101680,20 +101993,20 @@ var init_webhooksDisable = __esm(() => {
101680
101993
  });
101681
101994
 
101682
101995
  // src/mcp-server/tools/webhooksDisable.ts
101683
- var args176, tool$webhooksDisable;
101996
+ var args177, tool$webhooksDisable;
101684
101997
  var init_webhooksDisable2 = __esm(() => {
101685
101998
  init_webhooksDisable();
101686
101999
  init_operations();
101687
102000
  init_tools();
101688
- args176 = {
102001
+ args177 = {
101689
102002
  request: DisableWebhookRequest$inboundSchema
101690
102003
  };
101691
102004
  tool$webhooksDisable = {
101692
102005
  name: "webhooks-disable",
101693
102006
  description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
101694
- args: args176,
101695
- tool: async (client, args177, ctx) => {
101696
- const [result, apiCall] = await webhooksDisable(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102007
+ args: args177,
102008
+ tool: async (client, args178, ctx) => {
102009
+ const [result, apiCall] = await webhooksDisable(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101697
102010
  if (!result.ok) {
101698
102011
  return {
101699
102012
  content: [{ type: "text", text: result.error.message }],
@@ -101707,9 +102020,9 @@ var init_webhooksDisable2 = __esm(() => {
101707
102020
 
101708
102021
  // src/funcs/webhooksGet.ts
101709
102022
  function webhooksGet(client, request, options) {
101710
- return new APIPromise($do182(client, request, options));
102023
+ return new APIPromise($do183(client, request, options));
101711
102024
  }
101712
- async function $do182(client, request, options) {
102025
+ async function $do183(client, request, options) {
101713
102026
  const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
101714
102027
  if (!parsed.ok) {
101715
102028
  return [parsed, { status: "invalid" }];
@@ -101787,20 +102100,20 @@ var init_webhooksGet = __esm(() => {
101787
102100
  });
101788
102101
 
101789
102102
  // src/mcp-server/tools/webhooksGet.ts
101790
- var args177, tool$webhooksGet;
102103
+ var args178, tool$webhooksGet;
101791
102104
  var init_webhooksGet2 = __esm(() => {
101792
102105
  init_webhooksGet();
101793
102106
  init_operations();
101794
102107
  init_tools();
101795
- args177 = {
102108
+ args178 = {
101796
102109
  request: GetWebhookRequest$inboundSchema
101797
102110
  };
101798
102111
  tool$webhooksGet = {
101799
102112
  name: "webhooks-get",
101800
102113
  description: `Get details of a specific webhook.`,
101801
- args: args177,
101802
- tool: async (client, args178, ctx) => {
101803
- const [result, apiCall] = await webhooksGet(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102114
+ args: args178,
102115
+ tool: async (client, args179, ctx) => {
102116
+ const [result, apiCall] = await webhooksGet(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101804
102117
  if (!result.ok) {
101805
102118
  return {
101806
102119
  content: [{ type: "text", text: result.error.message }],
@@ -101815,9 +102128,9 @@ var init_webhooksGet2 = __esm(() => {
101815
102128
 
101816
102129
  // src/funcs/webhooksGetSecret.ts
101817
102130
  function webhooksGetSecret(client, request, options) {
101818
- return new APIPromise($do183(client, request, options));
102131
+ return new APIPromise($do184(client, request, options));
101819
102132
  }
101820
- async function $do183(client, request, options) {
102133
+ async function $do184(client, request, options) {
101821
102134
  const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
101822
102135
  if (!parsed.ok) {
101823
102136
  return [parsed, { status: "invalid" }];
@@ -101895,20 +102208,20 @@ var init_webhooksGetSecret = __esm(() => {
101895
102208
  });
101896
102209
 
101897
102210
  // src/mcp-server/tools/webhooksGetSecret.ts
101898
- var args178, tool$webhooksGetSecret;
102211
+ var args179, tool$webhooksGetSecret;
101899
102212
  var init_webhooksGetSecret2 = __esm(() => {
101900
102213
  init_webhooksGetSecret();
101901
102214
  init_operations();
101902
102215
  init_tools();
101903
- args178 = {
102216
+ args179 = {
101904
102217
  request: GetWebhookSecretRequest$inboundSchema
101905
102218
  };
101906
102219
  tool$webhooksGetSecret = {
101907
102220
  name: "webhooks-get-secret",
101908
102221
  description: `Get the secret key for verifying webhook payloads.`,
101909
- args: args178,
101910
- tool: async (client, args179, ctx) => {
101911
- const [result, apiCall] = await webhooksGetSecret(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102222
+ args: args179,
102223
+ tool: async (client, args180, ctx) => {
102224
+ const [result, apiCall] = await webhooksGetSecret(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101912
102225
  if (!result.ok) {
101913
102226
  return {
101914
102227
  content: [{ type: "text", text: result.error.message }],
@@ -101923,9 +102236,9 @@ var init_webhooksGetSecret2 = __esm(() => {
101923
102236
 
101924
102237
  // src/funcs/webhooksList.ts
101925
102238
  function webhooksList(client, options) {
101926
- return new APIPromise($do184(client, options));
102239
+ return new APIPromise($do185(client, options));
101927
102240
  }
101928
- async function $do184(client, options) {
102241
+ async function $do185(client, options) {
101929
102242
  const path = pathToFunc("/webhooks")();
101930
102243
  const headers = new Headers(compactMap({
101931
102244
  Accept: "application/json"
@@ -102011,9 +102324,9 @@ var init_webhooksList2 = __esm(() => {
102011
102324
 
102012
102325
  // src/funcs/webhooksListEventTypes.ts
102013
102326
  function webhooksListEventTypes(client, options) {
102014
- return new APIPromise($do185(client, options));
102327
+ return new APIPromise($do186(client, options));
102015
102328
  }
102016
- async function $do185(client, options) {
102329
+ async function $do186(client, options) {
102017
102330
  const path = pathToFunc("/event-types")();
102018
102331
  const headers = new Headers(compactMap({
102019
102332
  Accept: "application/json"
@@ -102099,9 +102412,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
102099
102412
 
102100
102413
  // src/funcs/webhooksPing.ts
102101
102414
  function webhooksPing(client, request, options) {
102102
- return new APIPromise($do186(client, request, options));
102415
+ return new APIPromise($do187(client, request, options));
102103
102416
  }
102104
- async function $do186(client, request, options) {
102417
+ async function $do187(client, request, options) {
102105
102418
  const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
102106
102419
  if (!parsed.ok) {
102107
102420
  return [parsed, { status: "invalid" }];
@@ -102179,20 +102492,20 @@ var init_webhooksPing = __esm(() => {
102179
102492
  });
102180
102493
 
102181
102494
  // src/mcp-server/tools/webhooksPing.ts
102182
- var args179, tool$webhooksPing;
102495
+ var args180, tool$webhooksPing;
102183
102496
  var init_webhooksPing2 = __esm(() => {
102184
102497
  init_webhooksPing();
102185
102498
  init_operations();
102186
102499
  init_tools();
102187
- args179 = {
102500
+ args180 = {
102188
102501
  request: PingWebhookRequest$inboundSchema
102189
102502
  };
102190
102503
  tool$webhooksPing = {
102191
102504
  name: "webhooks-ping",
102192
102505
  description: `Send a test ping to a webhook to verify it is configured correctly.`,
102193
- args: args179,
102194
- tool: async (client, args180, ctx) => {
102195
- const [result, apiCall] = await webhooksPing(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102506
+ args: args180,
102507
+ tool: async (client, args181, ctx) => {
102508
+ const [result, apiCall] = await webhooksPing(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102196
102509
  if (!result.ok) {
102197
102510
  return {
102198
102511
  content: [{ type: "text", text: result.error.message }],
@@ -102207,9 +102520,9 @@ var init_webhooksPing2 = __esm(() => {
102207
102520
 
102208
102521
  // src/funcs/webhooksUpdate.ts
102209
102522
  function webhooksUpdate(client, request, options) {
102210
- return new APIPromise($do187(client, request, options));
102523
+ return new APIPromise($do188(client, request, options));
102211
102524
  }
102212
- async function $do187(client, request, options) {
102525
+ async function $do188(client, request, options) {
102213
102526
  const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
102214
102527
  if (!parsed.ok) {
102215
102528
  return [parsed, { status: "invalid" }];
@@ -102291,20 +102604,20 @@ var init_webhooksUpdate = __esm(() => {
102291
102604
  });
102292
102605
 
102293
102606
  // src/mcp-server/tools/webhooksUpdate.ts
102294
- var args180, tool$webhooksUpdate;
102607
+ var args181, tool$webhooksUpdate;
102295
102608
  var init_webhooksUpdate2 = __esm(() => {
102296
102609
  init_webhooksUpdate();
102297
102610
  init_operations();
102298
102611
  init_tools();
102299
- args180 = {
102612
+ args181 = {
102300
102613
  request: UpdateWebhookRequest$inboundSchema
102301
102614
  };
102302
102615
  tool$webhooksUpdate = {
102303
102616
  name: "webhooks-update",
102304
102617
  description: `Update an existing webhook.`,
102305
- args: args180,
102306
- tool: async (client, args181, ctx) => {
102307
- const [result, apiCall] = await webhooksUpdate(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102618
+ args: args181,
102619
+ tool: async (client, args182, ctx) => {
102620
+ const [result, apiCall] = await webhooksUpdate(client, args182.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102308
102621
  if (!result.ok) {
102309
102622
  return {
102310
102623
  content: [{ type: "text", text: result.error.message }],
@@ -102321,7 +102634,7 @@ var init_webhooksUpdate2 = __esm(() => {
102321
102634
  function createMCPServer(deps) {
102322
102635
  const server = new McpServer({
102323
102636
  name: "Moov",
102324
- version: "26.5.1"
102637
+ version: "26.5.4"
102325
102638
  });
102326
102639
  const client = new MoovCore({
102327
102640
  security: deps.security,
@@ -102469,6 +102782,7 @@ function createMCPServer(deps) {
102469
102782
  tool(tool$transfersGet);
102470
102783
  tool(tool$transfersUpdate);
102471
102784
  tool(tool$transfersCreateCancellation);
102785
+ tool(tool$transfersListCancellations);
102472
102786
  tool(tool$transfersGetCancellation);
102473
102787
  tool(tool$transfersInitiateRefund);
102474
102788
  tool(tool$transfersListRefunds);
@@ -102698,6 +103012,7 @@ var init_server2 = __esm(() => {
102698
103012
  init_transfersGetRefund2();
102699
103013
  init_transfersInitiateRefund2();
102700
103014
  init_transfersList2();
103015
+ init_transfersListCancellations2();
102701
103016
  init_transfersListRefunds2();
102702
103017
  init_transfersUpdate2();
102703
103018
  init_underwritingGet2();
@@ -103919,7 +104234,7 @@ var routes = rn({
103919
104234
  var app = Ve(routes, {
103920
104235
  name: "mcp",
103921
104236
  versionInfo: {
103922
- currentVersion: "26.5.1"
104237
+ currentVersion: "26.5.4"
103923
104238
  }
103924
104239
  });
103925
104240
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -103927,5 +104242,5 @@ export {
103927
104242
  app
103928
104243
  };
103929
104244
 
103930
- //# debugId=89461B4DF037125C64756E2164756E21
104245
+ //# debugId=050A03B63D66C56864756E2164756E21
103931
104246
  //# sourceMappingURL=mcp-server.js.map