@moovio/sdk 26.7.0-dev.3 → 26.7.0-dev.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 (301) hide show
  1. package/README.md +90 -86
  2. package/bin/mcp-server.js +664 -356
  3. package/bin/mcp-server.js.map +65 -63
  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/capabilitiesDisable.d.ts +1 -1
  9. package/funcs/capabilitiesDisable.js +1 -1
  10. package/funcs/capabilitiesGet.d.ts +1 -1
  11. package/funcs/capabilitiesGet.js +1 -1
  12. package/funcs/capabilitiesList.d.ts +1 -1
  13. package/funcs/capabilitiesList.js +1 -1
  14. package/funcs/capabilitiesRequest.d.ts +1 -1
  15. package/funcs/capabilitiesRequest.js +1 -1
  16. package/funcs/cardIssuingGet.js +1 -1
  17. package/funcs/cardIssuingGet.js.map +1 -1
  18. package/funcs/cardIssuingGetFull.js +1 -1
  19. package/funcs/cardIssuingGetFull.js.map +1 -1
  20. package/funcs/cardIssuingList.js +1 -1
  21. package/funcs/cardIssuingList.js.map +1 -1
  22. package/funcs/cardIssuingRequest.js +1 -1
  23. package/funcs/cardIssuingRequest.js.map +1 -1
  24. package/funcs/cardIssuingUpdate.js +1 -1
  25. package/funcs/cardIssuingUpdate.js.map +1 -1
  26. package/funcs/transfersListCancellations.d.ts +17 -0
  27. package/funcs/transfersListCancellations.d.ts.map +1 -0
  28. package/funcs/transfersListCancellations.js +129 -0
  29. package/funcs/transfersListCancellations.js.map +1 -0
  30. package/hooks/types.d.ts +1 -0
  31. package/hooks/types.d.ts.map +1 -1
  32. package/jsr.json +1 -1
  33. package/lib/config.d.ts +3 -3
  34. package/lib/config.js +3 -3
  35. package/lib/encodings.js +12 -12
  36. package/lib/encodings.js.map +1 -1
  37. package/lib/matchers.js +3 -3
  38. package/lib/matchers.js.map +1 -1
  39. package/lib/primitives.d.ts +1 -0
  40. package/lib/primitives.d.ts.map +1 -1
  41. package/lib/primitives.js +18 -0
  42. package/lib/primitives.js.map +1 -1
  43. package/lib/retries.js +7 -0
  44. package/lib/retries.js.map +1 -1
  45. package/lib/sdks.d.ts.map +1 -1
  46. package/lib/sdks.js +50 -16
  47. package/lib/sdks.js.map +1 -1
  48. package/mcp-server/mcp-server.js +1 -1
  49. package/mcp-server/server.d.ts.map +1 -1
  50. package/mcp-server/server.js +3 -1
  51. package/mcp-server/server.js.map +1 -1
  52. package/mcp-server/tools/accountsCreate.d.ts.map +1 -1
  53. package/mcp-server/tools/accountsCreate.js +8 -10
  54. package/mcp-server/tools/accountsCreate.js.map +1 -1
  55. package/mcp-server/tools/capabilitiesDisable.js +1 -1
  56. package/mcp-server/tools/capabilitiesGet.js +1 -1
  57. package/mcp-server/tools/capabilitiesList.js +1 -1
  58. package/mcp-server/tools/capabilitiesRequest.js +1 -1
  59. package/mcp-server/tools/transfersListCancellations.d.ts +8 -0
  60. package/mcp-server/tools/transfersListCancellations.d.ts.map +1 -0
  61. package/{models/components/authorizeduser.js → mcp-server/tools/transfersListCancellations.js} +27 -23
  62. package/mcp-server/tools/transfersListCancellations.js.map +1 -0
  63. package/models/components/addcapabilities.d.ts +9 -0
  64. package/models/components/addcapabilities.d.ts.map +1 -1
  65. package/models/components/addcapabilities.js.map +1 -1
  66. package/models/components/amountdecimalrange.d.ts +15 -4
  67. package/models/components/amountdecimalrange.d.ts.map +1 -1
  68. package/models/components/amountdecimalrange.js +5 -4
  69. package/models/components/amountdecimalrange.js.map +1 -1
  70. package/models/components/amountdecimalrangeupdate.d.ts +11 -0
  71. package/models/components/amountdecimalrangeupdate.d.ts.map +1 -1
  72. package/models/components/amountdecimalrangeupdate.js.map +1 -1
  73. package/models/components/capability.d.ts +7 -1
  74. package/models/components/capability.d.ts.map +1 -1
  75. package/models/components/capability.js.map +1 -1
  76. package/models/components/capabilityid.d.ts +14 -2
  77. package/models/components/capabilityid.d.ts.map +1 -1
  78. package/models/components/capabilityid.js +7 -1
  79. package/models/components/capabilityid.js.map +1 -1
  80. package/models/components/createaccount.d.ts +9 -0
  81. package/models/components/createaccount.d.ts.map +1 -1
  82. package/models/components/createaccount.js.map +1 -1
  83. package/models/components/createpaymentlink.d.ts +9 -3
  84. package/models/components/createpaymentlink.d.ts.map +1 -1
  85. package/models/components/createpaymentlink.js +4 -0
  86. package/models/components/createpaymentlink.js.map +1 -1
  87. package/models/components/customamountpaymentdetailserror.d.ts +29 -0
  88. package/models/components/customamountpaymentdetailserror.d.ts.map +1 -0
  89. package/models/components/customamountpaymentdetailserror.js +71 -0
  90. package/models/components/customamountpaymentdetailserror.js.map +1 -0
  91. package/models/components/fullissuedcard.d.ts +25 -9
  92. package/models/components/fullissuedcard.d.ts.map +1 -1
  93. package/models/components/fullissuedcard.js +11 -5
  94. package/models/components/fullissuedcard.js.map +1 -1
  95. package/models/components/index.d.ts +4 -4
  96. package/models/components/index.d.ts.map +1 -1
  97. package/models/components/index.js +4 -4
  98. package/models/components/index.js.map +1 -1
  99. package/models/components/issuedcard.d.ts +25 -9
  100. package/models/components/issuedcard.d.ts.map +1 -1
  101. package/models/components/issuedcard.js +11 -5
  102. package/models/components/issuedcard.js.map +1 -1
  103. package/models/components/onboardinginvite.d.ts +1 -1
  104. package/models/components/onboardinginviterequest.d.ts +1 -1
  105. package/models/components/paymentlink.d.ts +13 -2
  106. package/models/components/paymentlink.d.ts.map +1 -1
  107. package/models/components/paymentlink.js +4 -0
  108. package/models/components/paymentlink.js.map +1 -1
  109. package/models/components/paymentlinkcustomamountpaymentdetails.d.ts +70 -0
  110. package/models/components/paymentlinkcustomamountpaymentdetails.d.ts.map +1 -0
  111. package/models/components/paymentlinkcustomamountpaymentdetails.js +74 -0
  112. package/models/components/paymentlinkcustomamountpaymentdetails.js.map +1 -0
  113. package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts +70 -0
  114. package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts.map +1 -0
  115. package/models/components/paymentlinkcustomamountpaymentdetailsupdate.js +75 -0
  116. package/models/components/paymentlinkcustomamountpaymentdetailsupdate.js.map +1 -0
  117. package/models/components/paymentlinkpaymentdetails.d.ts +0 -33
  118. package/models/components/paymentlinkpaymentdetails.d.ts.map +1 -1
  119. package/models/components/paymentlinkpaymentdetails.js +1 -21
  120. package/models/components/paymentlinkpaymentdetails.js.map +1 -1
  121. package/models/components/paymentlinkpaymentdetailsupdate.d.ts +0 -33
  122. package/models/components/paymentlinkpaymentdetailsupdate.d.ts.map +1 -1
  123. package/models/components/paymentlinkpaymentdetailsupdate.js +1 -21
  124. package/models/components/paymentlinkpaymentdetailsupdate.js.map +1 -1
  125. package/models/components/paymentlinktype.d.ts +1 -0
  126. package/models/components/paymentlinktype.d.ts.map +1 -1
  127. package/models/components/paymentlinktype.js +1 -0
  128. package/models/components/paymentlinktype.js.map +1 -1
  129. package/models/components/requestcard.d.ts +14 -17
  130. package/models/components/requestcard.d.ts.map +1 -1
  131. package/models/components/requestcard.js +9 -10
  132. package/models/components/requestcard.js.map +1 -1
  133. package/models/components/updateissuedcard.d.ts +33 -8
  134. package/models/components/updateissuedcard.d.ts.map +1 -1
  135. package/models/components/updateissuedcard.js +35 -6
  136. package/models/components/updateissuedcard.js.map +1 -1
  137. package/models/components/updatepaymentlink.d.ts +6 -0
  138. package/models/components/updatepaymentlink.d.ts.map +1 -1
  139. package/models/components/updatepaymentlink.js +3 -0
  140. package/models/components/updatepaymentlink.js.map +1 -1
  141. package/models/components/webhookdata.d.ts +3 -2
  142. package/models/components/webhookdata.d.ts.map +1 -1
  143. package/models/components/webhookdata.js +7 -4
  144. package/models/components/webhookdata.js.map +1 -1
  145. package/models/components/webhookdataauthorizationexpiring.d.ts +23 -0
  146. package/models/components/webhookdataauthorizationexpiring.d.ts.map +1 -0
  147. package/models/components/{createauthorizedusererror.js → webhookdataauthorizationexpiring.js} +18 -17
  148. package/models/components/webhookdataauthorizationexpiring.js.map +1 -0
  149. package/models/components/webhookdatacapabilityrequested.d.ts +7 -1
  150. package/models/components/webhookdatacapabilityrequested.d.ts.map +1 -1
  151. package/models/components/webhookdatacapabilityrequested.js.map +1 -1
  152. package/models/components/webhookdatacapabilityupdated.d.ts +7 -1
  153. package/models/components/webhookdatacapabilityupdated.d.ts.map +1 -1
  154. package/models/components/webhookdatacapabilityupdated.js.map +1 -1
  155. package/models/components/webhookdatasweepcreated.d.ts +5 -0
  156. package/models/components/webhookdatasweepcreated.d.ts.map +1 -1
  157. package/models/components/webhookdatasweepcreated.js +2 -0
  158. package/models/components/webhookdatasweepcreated.js.map +1 -1
  159. package/models/components/webhookdatasweepupdated.d.ts +5 -0
  160. package/models/components/webhookdatasweepupdated.d.ts.map +1 -1
  161. package/models/components/webhookdatasweepupdated.js +2 -0
  162. package/models/components/webhookdatasweepupdated.js.map +1 -1
  163. package/models/components/webhookeventtype.d.ts +1 -0
  164. package/models/components/webhookeventtype.d.ts.map +1 -1
  165. package/models/components/webhookeventtype.js +1 -0
  166. package/models/components/webhookeventtype.js.map +1 -1
  167. package/models/errors/createpaymentlinkerror.d.ts +3 -0
  168. package/models/errors/createpaymentlinkerror.d.ts.map +1 -1
  169. package/models/errors/createpaymentlinkerror.js +6 -0
  170. package/models/errors/createpaymentlinkerror.js.map +1 -1
  171. package/models/errors/requestcarderror.d.ts +12 -12
  172. package/models/errors/requestcarderror.d.ts.map +1 -1
  173. package/models/errors/requestcarderror.js +17 -17
  174. package/models/errors/requestcarderror.js.map +1 -1
  175. package/models/errors/updateissuedcarderror.d.ts +9 -6
  176. package/models/errors/updateissuedcarderror.d.ts.map +1 -1
  177. package/models/errors/updateissuedcarderror.js +12 -9
  178. package/models/errors/updateissuedcarderror.js.map +1 -1
  179. package/models/errors/updatepaymentlinkerror.d.ts +3 -0
  180. package/models/errors/updatepaymentlinkerror.d.ts.map +1 -1
  181. package/models/errors/updatepaymentlinkerror.js +6 -0
  182. package/models/errors/updatepaymentlinkerror.js.map +1 -1
  183. package/models/operations/disablecapability.d.ts +7 -1
  184. package/models/operations/disablecapability.d.ts.map +1 -1
  185. package/models/operations/disablecapability.js.map +1 -1
  186. package/models/operations/getcapability.d.ts +7 -1
  187. package/models/operations/getcapability.d.ts.map +1 -1
  188. package/models/operations/getcapability.js.map +1 -1
  189. package/models/operations/index.d.ts +1 -0
  190. package/models/operations/index.d.ts.map +1 -1
  191. package/models/operations/index.js +1 -0
  192. package/models/operations/index.js.map +1 -1
  193. package/models/operations/listcancellations.d.ts +45 -0
  194. package/models/operations/listcancellations.d.ts.map +1 -0
  195. package/models/operations/listcancellations.js +91 -0
  196. package/models/operations/listcancellations.js.map +1 -0
  197. package/package.json +1 -1
  198. package/sdk/accounts.d.ts +8 -10
  199. package/sdk/accounts.d.ts.map +1 -1
  200. package/sdk/accounts.js +8 -10
  201. package/sdk/accounts.js.map +1 -1
  202. package/sdk/capabilities.d.ts +4 -4
  203. package/sdk/capabilities.js +4 -4
  204. package/sdk/transfers.d.ts +7 -0
  205. package/sdk/transfers.d.ts.map +1 -1
  206. package/sdk/transfers.js +10 -0
  207. package/sdk/transfers.js.map +1 -1
  208. package/src/funcs/accountsCreate.ts +8 -10
  209. package/src/funcs/capabilitiesDisable.ts +1 -1
  210. package/src/funcs/capabilitiesGet.ts +1 -1
  211. package/src/funcs/capabilitiesList.ts +1 -1
  212. package/src/funcs/capabilitiesRequest.ts +1 -1
  213. package/src/funcs/cardIssuingGet.ts +1 -1
  214. package/src/funcs/cardIssuingGetFull.ts +3 -3
  215. package/src/funcs/cardIssuingList.ts +1 -1
  216. package/src/funcs/cardIssuingRequest.ts +1 -1
  217. package/src/funcs/cardIssuingUpdate.ts +1 -1
  218. package/src/funcs/transfersListCancellations.ts +181 -0
  219. package/src/hooks/types.ts +1 -0
  220. package/src/lib/config.ts +3 -3
  221. package/src/lib/encodings.ts +1 -1
  222. package/src/lib/matchers.ts +1 -1
  223. package/src/lib/primitives.ts +16 -0
  224. package/src/lib/retries.ts +8 -0
  225. package/src/lib/sdks.ts +54 -17
  226. package/src/mcp-server/mcp-server.ts +1 -1
  227. package/src/mcp-server/server.ts +3 -1
  228. package/src/mcp-server/tools/accountsCreate.ts +8 -10
  229. package/src/mcp-server/tools/capabilitiesDisable.ts +1 -1
  230. package/src/mcp-server/tools/capabilitiesGet.ts +1 -1
  231. package/src/mcp-server/tools/capabilitiesList.ts +1 -1
  232. package/src/mcp-server/tools/capabilitiesRequest.ts +1 -1
  233. package/src/mcp-server/tools/transfersListCancellations.ts +38 -0
  234. package/src/models/components/addcapabilities.ts +9 -0
  235. package/src/models/components/amountdecimalrange.ts +20 -8
  236. package/src/models/components/amountdecimalrangeupdate.ts +11 -0
  237. package/src/models/components/capability.ts +7 -1
  238. package/src/models/components/capabilityid.ts +14 -2
  239. package/src/models/components/createaccount.ts +9 -0
  240. package/src/models/components/createpaymentlink.ts +21 -3
  241. package/src/models/components/customamountpaymentdetailserror.ts +86 -0
  242. package/src/models/components/fullissuedcard.ts +35 -17
  243. package/src/models/components/index.ts +4 -4
  244. package/src/models/components/issuedcard.ts +35 -17
  245. package/src/models/components/onboardinginvite.ts +1 -1
  246. package/src/models/components/onboardinginviterequest.ts +1 -1
  247. package/src/models/components/paymentlink.ts +25 -2
  248. package/src/models/components/paymentlinkcustomamountpaymentdetails.ts +138 -0
  249. package/src/models/components/paymentlinkcustomamountpaymentdetailsupdate.ts +149 -0
  250. package/src/models/components/paymentlinkpaymentdetails.ts +0 -60
  251. package/src/models/components/paymentlinkpaymentdetailsupdate.ts +0 -61
  252. package/src/models/components/paymentlinktype.ts +1 -0
  253. package/src/models/components/requestcard.ts +23 -34
  254. package/src/models/components/updateissuedcard.ts +73 -17
  255. package/src/models/components/updatepaymentlink.ts +18 -0
  256. package/src/models/components/webhookdata.ts +18 -8
  257. package/src/models/components/webhookdataauthorizationexpiring.ts +66 -0
  258. package/src/models/components/webhookdatacapabilityrequested.ts +7 -1
  259. package/src/models/components/webhookdatacapabilityupdated.ts +7 -1
  260. package/src/models/components/webhookdatasweepcreated.ts +7 -0
  261. package/src/models/components/webhookdatasweepupdated.ts +7 -0
  262. package/src/models/components/webhookeventtype.ts +1 -0
  263. package/src/models/errors/createpaymentlinkerror.ts +13 -0
  264. package/src/models/errors/requestcarderror.ts +26 -27
  265. package/src/models/errors/updateissuedcarderror.ts +18 -15
  266. package/src/models/errors/updatepaymentlinkerror.ts +13 -0
  267. package/src/models/operations/disablecapability.ts +7 -1
  268. package/src/models/operations/getcapability.ts +7 -1
  269. package/src/models/operations/index.ts +1 -0
  270. package/src/models/operations/listcancellations.ts +121 -0
  271. package/src/sdk/accounts.ts +8 -10
  272. package/src/sdk/capabilities.ts +4 -4
  273. package/src/sdk/transfers.ts +18 -0
  274. package/lib/dlv.d.ts +0 -14
  275. package/lib/dlv.d.ts.map +0 -1
  276. package/lib/dlv.js +0 -49
  277. package/lib/dlv.js.map +0 -1
  278. package/lib/is-plain-object.d.ts +0 -2
  279. package/lib/is-plain-object.d.ts.map +0 -1
  280. package/lib/is-plain-object.js +0 -41
  281. package/lib/is-plain-object.js.map +0 -1
  282. package/models/components/authorizeduser.d.ts +0 -22
  283. package/models/components/authorizeduser.d.ts.map +0 -1
  284. package/models/components/authorizeduser.js.map +0 -1
  285. package/models/components/createauthorizeduser.d.ts +0 -25
  286. package/models/components/createauthorizeduser.d.ts.map +0 -1
  287. package/models/components/createauthorizeduser.js +0 -64
  288. package/models/components/createauthorizeduser.js.map +0 -1
  289. package/models/components/createauthorizedusererror.d.ts +0 -22
  290. package/models/components/createauthorizedusererror.d.ts.map +0 -1
  291. package/models/components/createauthorizedusererror.js.map +0 -1
  292. package/models/components/createauthorizeduserupdate.d.ts +0 -25
  293. package/models/components/createauthorizeduserupdate.d.ts.map +0 -1
  294. package/models/components/createauthorizeduserupdate.js +0 -64
  295. package/models/components/createauthorizeduserupdate.js.map +0 -1
  296. package/src/lib/dlv.ts +0 -53
  297. package/src/lib/is-plain-object.ts +0 -43
  298. package/src/models/components/authorizeduser.ts +0 -55
  299. package/src/models/components/createauthorizeduser.ts +0 -69
  300. package/src/models/components/createauthorizedusererror.ts +0 -66
  301. package/src/models/components/createauthorizeduserupdate.ts +0 -69
package/bin/mcp-server.js CHANGED
@@ -37787,6 +37787,57 @@ function remap(inp, mappings) {
37787
37787
  }
37788
37788
  return out;
37789
37789
  }
37790
+ function combineSignals(...signals) {
37791
+ const filtered = [];
37792
+ for (const signal of signals) {
37793
+ if (signal) {
37794
+ filtered.push(signal);
37795
+ }
37796
+ }
37797
+ switch (filtered.length) {
37798
+ case 0:
37799
+ case 1:
37800
+ return filtered[0] || null;
37801
+ default:
37802
+ if ("any" in AbortSignal && typeof AbortSignal.any === "function") {
37803
+ return AbortSignal.any(filtered);
37804
+ }
37805
+ return abortSignalAny(filtered);
37806
+ }
37807
+ }
37808
+ function abortSignalAny(signals) {
37809
+ const controller = new AbortController;
37810
+ const result = controller.signal;
37811
+ if (!signals.length) {
37812
+ return controller.signal;
37813
+ }
37814
+ if (signals.length === 1) {
37815
+ return signals[0] || controller.signal;
37816
+ }
37817
+ for (const signal of signals) {
37818
+ if (signal.aborted) {
37819
+ return signal;
37820
+ }
37821
+ }
37822
+ function abort() {
37823
+ controller.abort(this.reason);
37824
+ clean();
37825
+ }
37826
+ const signalRefs = [];
37827
+ function clean() {
37828
+ for (const signalRef of signalRefs) {
37829
+ const signal = signalRef.deref();
37830
+ if (signal) {
37831
+ signal.removeEventListener("abort", abort);
37832
+ }
37833
+ }
37834
+ }
37835
+ for (const signal of signals) {
37836
+ signalRefs.push(new WeakRef(signal));
37837
+ signal.addEventListener("abort", abort);
37838
+ }
37839
+ return result;
37840
+ }
37790
37841
  function compactMap(values) {
37791
37842
  const out = {};
37792
37843
  for (const [k2, v2] of Object.entries(values)) {
@@ -37802,6 +37853,20 @@ function allRequired(v2) {
37802
37853
  }
37803
37854
  return v2;
37804
37855
  }
37856
+ function isPlainObject2(value) {
37857
+ if (value === null || typeof value !== "object")
37858
+ return false;
37859
+ if (Object.prototype.toString.call(value) !== "[object Object]")
37860
+ return false;
37861
+ const proto = Object.getPrototypeOf(value);
37862
+ if (proto === null || proto === Object.prototype)
37863
+ return true;
37864
+ try {
37865
+ return Object.getPrototypeOf(proto) === null;
37866
+ } catch {
37867
+ return false;
37868
+ }
37869
+ }
37805
37870
  var init_primitives = () => {};
37806
37871
 
37807
37872
  // node_modules/zod/v4/mini/parse.js
@@ -40301,7 +40366,7 @@ class Protocol {
40301
40366
  };
40302
40367
  }
40303
40368
  }
40304
- function isPlainObject2(value) {
40369
+ function isPlainObject3(value) {
40305
40370
  return value !== null && typeof value === "object" && !Array.isArray(value);
40306
40371
  }
40307
40372
  function mergeCapabilities(base, additional) {
@@ -40312,7 +40377,7 @@ function mergeCapabilities(base, additional) {
40312
40377
  if (addValue === undefined)
40313
40378
  continue;
40314
40379
  const baseValue = result[k2];
40315
- if (isPlainObject2(baseValue) && isPlainObject2(addValue)) {
40380
+ if (isPlainObject3(baseValue) && isPlainObject3(addValue)) {
40316
40381
  result[k2] = { ...baseValue, ...addValue };
40317
40382
  } else {
40318
40383
  result[k2] = addValue;
@@ -53586,9 +53651,9 @@ var init_config = __esm(() => {
53586
53651
  SDK_METADATA = {
53587
53652
  language: "typescript",
53588
53653
  openapiDocVersion: "v2026.07.00",
53589
- sdkVersion: "26.7.0-dev.3",
53590
- genVersion: "2.893.0",
53591
- userAgent: "speakeasy-sdk/typescript 26.7.0-dev.3 2.893.0 v2026.07.00 @moovio/sdk"
53654
+ sdkVersion: "26.7.0-dev.4",
53655
+ genVersion: "2.910.1",
53656
+ userAgent: "speakeasy-sdk/typescript 26.7.0-dev.4 2.910.1 v2026.07.00 @moovio/sdk"
53592
53657
  };
53593
53658
  });
53594
53659
 
@@ -53761,15 +53826,6 @@ var init_base64 = __esm(() => {
53761
53826
  zodInbound = instanceOfType(Uint8Array).or(stringType().transform(bytesFromBase64));
53762
53827
  });
53763
53828
 
53764
- // src/lib/is-plain-object.ts
53765
- function isPlainObject3(value) {
53766
- if (typeof value !== "object" || value === null) {
53767
- return false;
53768
- }
53769
- const prototype = Object.getPrototypeOf(value);
53770
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
53771
- }
53772
-
53773
53829
  // src/lib/encodings.ts
53774
53830
  function formEncoder(sep) {
53775
53831
  return (key, value, options) => {
@@ -53790,7 +53846,7 @@ function formEncoder(sep) {
53790
53846
  return;
53791
53847
  } else if (Array.isArray(pv)) {
53792
53848
  encValue = mapDefined(pv, (v2) => `${encodeValue(v2)}`)?.join(encodedSep);
53793
- } else if (isPlainObject3(pv)) {
53849
+ } else if (isPlainObject2(pv)) {
53794
53850
  encValue = mapDefinedEntries(Object.entries(pv), ([k2, v2]) => {
53795
53851
  return `${encodeString(k2)}${encodedSep}${encodeValue(v2)}`;
53796
53852
  })?.join(encodedSep);
@@ -53813,7 +53869,7 @@ function encodeDeepObject(key, value, options) {
53813
53869
  if (value == null) {
53814
53870
  return;
53815
53871
  }
53816
- if (!isPlainObject3(value)) {
53872
+ if (!isPlainObject2(value)) {
53817
53873
  throw new EncodingError(`Value of parameter '${key}' which uses deepObject encoding must be an object or null`);
53818
53874
  }
53819
53875
  return encodeDeepObjectObject(key, value, options);
@@ -53826,7 +53882,7 @@ function encodeDeepObjectObject(key, value, options) {
53826
53882
  const encodeString = (v2) => {
53827
53883
  return options?.charEncoding === "percent" ? encodeURIComponent(v2) : v2;
53828
53884
  };
53829
- if (!isPlainObject3(value)) {
53885
+ if (!isPlainObject2(value)) {
53830
53886
  throw new EncodingError(`Expected parameter '${key}' to be an object.`);
53831
53887
  }
53832
53888
  Object.entries(value).forEach(([ck, cv]) => {
@@ -53834,7 +53890,7 @@ function encodeDeepObjectObject(key, value, options) {
53834
53890
  return;
53835
53891
  }
53836
53892
  const pk = `${key}[${ck}]`;
53837
- if (isPlainObject3(cv)) {
53893
+ if (isPlainObject2(cv)) {
53838
53894
  const objOut = encodeDeepObjectObject(pk, cv, options);
53839
53895
  out += objOut == null ? "" : `&${objOut}`;
53840
53896
  return;
@@ -53860,7 +53916,7 @@ function encodeJSON(key, value, options) {
53860
53916
  function explode(key, value) {
53861
53917
  if (Array.isArray(value)) {
53862
53918
  return value.map((v2) => [key, v2]);
53863
- } else if (isPlainObject3(value)) {
53919
+ } else if (isPlainObject2(value)) {
53864
53920
  const o = value ?? {};
53865
53921
  return Object.entries(o).map(([k2, v2]) => [k2, v2]);
53866
53922
  } else {
@@ -53985,13 +54041,13 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
53985
54041
  return;
53986
54042
  } else if (Array.isArray(pv)) {
53987
54043
  tmp = mapDefined(pv, (v2) => `${encodeValue(v2)}`)?.join(",");
53988
- } else if (isPlainObject3(pv)) {
54044
+ } else if (isPlainObject2(pv)) {
53989
54045
  const mapped = mapDefinedEntries(Object.entries(pv), ([k2, v2]) => {
53990
54046
  return `,${encodeString(k2)},${encodeValue(v2)}`;
53991
54047
  });
53992
54048
  tmp = mapped?.join("").slice(1);
53993
54049
  } else {
53994
- const k2 = options?.explode && isPlainObject3(value) ? `${pk}=` : "";
54050
+ const k2 = options?.explode && isPlainObject2(value) ? `${pk}=` : "";
53995
54051
  tmp = `${k2}${encodeValue(pv)}`;
53996
54052
  }
53997
54053
  out += tmp ? `,${tmp}` : "";
@@ -54000,6 +54056,7 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
54000
54056
  }, encodeJSONQuery, encodeFormQuery, encodeSpaceDelimitedQuery, encodePipeDelimitedQuery, encodeDeepObjectQuery;
54001
54057
  var init_encodings = __esm(() => {
54002
54058
  init_base64();
54059
+ init_primitives();
54003
54060
  EncodingError = class EncodingError extends Error {
54004
54061
  constructor(message) {
54005
54062
  super(message);
@@ -54265,6 +54322,13 @@ async function retryBackoff(fn, strategy) {
54265
54322
  }
54266
54323
  }
54267
54324
  function retryIntervalFromResponse(res) {
54325
+ const retryAfterMsVal = res.headers.get("retry-after-ms");
54326
+ if (retryAfterMsVal) {
54327
+ const parsedMs = Number(retryAfterMsVal);
54328
+ if (Number.isFinite(parsedMs) && parsedMs >= 0) {
54329
+ return parsedMs;
54330
+ }
54331
+ }
54268
54332
  const retryVal = res.headers.get("retry-after") || "";
54269
54333
  if (!retryVal) {
54270
54334
  return 0;
@@ -54356,24 +54420,41 @@ class ClientSDK {
54356
54420
  if (path) {
54357
54421
  baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/";
54358
54422
  reqURL = new URL(path, baseURL);
54423
+ if (!reqURL.search && baseURL.search) {
54424
+ reqURL.search = baseURL.search;
54425
+ }
54359
54426
  } else {
54360
54427
  reqURL = baseURL;
54361
54428
  }
54362
54429
  reqURL.hash = "";
54363
- let finalQuery = query || "";
54364
- const secQuery = [];
54365
- for (const [k2, v2] of Object.entries(security?.queryParams || {})) {
54366
- const q2 = encodeForm(k2, v2, { charEncoding: "percent" });
54367
- if (typeof q2 !== "undefined") {
54368
- secQuery.push(q2);
54430
+ const mergeQuery = (current, additions) => {
54431
+ if (!additions) {
54432
+ return current;
54369
54433
  }
54370
- }
54371
- if (secQuery.length) {
54372
- finalQuery += `&${secQuery.join("&")}`;
54373
- }
54434
+ const additionKeys = new Set(additions.split("&").filter((pair) => pair !== "").map((pair) => pair.split("=")[0] ?? ""));
54435
+ const kept = current.split("&").filter((pair) => {
54436
+ return pair !== "" && !additionKeys.has(pair.split("=")[0] ?? "");
54437
+ });
54438
+ return [...kept, additions].join("&");
54439
+ };
54440
+ const encodeQueryRecord = (record3) => {
54441
+ return Object.entries(record3).map(([k2, v2]) => {
54442
+ if (v2 == null) {
54443
+ return;
54444
+ }
54445
+ const value = v2;
54446
+ return encodeForm(k2, value, {
54447
+ explode: Array.isArray(value),
54448
+ charEncoding: "percent"
54449
+ });
54450
+ }).filter((pair) => typeof pair !== "undefined").join("&");
54451
+ };
54452
+ const finalQuery = [
54453
+ query || "",
54454
+ encodeQueryRecord(security?.queryParams || {})
54455
+ ].reduce(mergeQuery, reqURL.search.slice(1));
54374
54456
  if (finalQuery) {
54375
- const q2 = finalQuery.startsWith("&") ? finalQuery.slice(1) : finalQuery;
54376
- reqURL.search = `?${q2}`;
54457
+ reqURL.search = `?${finalQuery}`;
54377
54458
  }
54378
54459
  const headers = new Headers(opHeaders);
54379
54460
  const username = security?.basic.username;
@@ -54403,9 +54484,8 @@ class ClientSDK {
54403
54484
  ...options?.fetchOptions,
54404
54485
  ...options
54405
54486
  };
54406
- if (!fetchOptions?.signal && conf.timeoutMs && conf.timeoutMs > 0) {
54407
- const timeoutSignal = AbortSignal.timeout(conf.timeoutMs);
54408
- fetchOptions.signal = timeoutSignal;
54487
+ if (!fetchOptions?.signal && conf.timeoutMs != null && conf.timeoutMs > 0) {
54488
+ context.timeoutMs = conf.timeoutMs;
54409
54489
  }
54410
54490
  if (conf.body instanceof ReadableStream) {
54411
54491
  Object.assign(fetchOptions, { duplex: "half" });
@@ -54430,8 +54510,16 @@ class ClientSDK {
54430
54510
  }
54431
54511
  async _do(request, options) {
54432
54512
  const { context, isErrorStatusCode } = options;
54513
+ const timeoutMs = context.timeoutMs;
54433
54514
  return retry(async () => {
54434
- const req = await this.#hooks.beforeRequest(context, request.clone());
54515
+ const cloned = request.clone();
54516
+ let attempt = cloned;
54517
+ if (timeoutMs != null && timeoutMs > 0) {
54518
+ const timeoutSignal = AbortSignal.timeout(timeoutMs);
54519
+ const combined = combineSignals(cloned.signal, timeoutSignal) ?? timeoutSignal;
54520
+ attempt = new Request(cloned, { signal: combined });
54521
+ }
54522
+ const req = await this.#hooks.beforeRequest(context, attempt);
54435
54523
  await logRequest(this.#logger, req).catch((e) => this.#logger?.log("Failed to log request:", e));
54436
54524
  let response = await this.#httpClient.request(req);
54437
54525
  try {
@@ -54549,6 +54637,7 @@ var init_sdks = __esm(() => {
54549
54637
  init_config();
54550
54638
  init_encodings();
54551
54639
  init_http();
54640
+ init_primitives();
54552
54641
  init_retries();
54553
54642
  gt2 = typeof globalThis === "undefined" ? null : globalThis;
54554
54643
  webWorkerLike2 = typeof gt2 === "object" && gt2 != null && "importScripts" in gt2 && typeof gt2["importScripts"] === "function";
@@ -54998,7 +55087,7 @@ function match(...matchers) {
54998
55087
  data = {
54999
55088
  ...options?.extraFields,
55000
55089
  ...matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null,
55001
- ...isPlainObject3(raw) ? raw : null,
55090
+ ...isPlainObject2(raw) ? raw : null,
55002
55091
  request$: request,
55003
55092
  response$: response,
55004
55093
  body$: body
@@ -55013,7 +55102,7 @@ function match(...matchers) {
55013
55102
  data = {
55014
55103
  ...options?.extraFields,
55015
55104
  ...matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null,
55016
- ...isPlainObject3(raw) ? raw : null
55105
+ ...isPlainObject2(raw) ? raw : null
55017
55106
  };
55018
55107
  } else {
55019
55108
  data = raw;
@@ -55053,6 +55142,7 @@ var init_matchers = __esm(() => {
55053
55142
  init_apierror();
55054
55143
  init_responsevalidationerror();
55055
55144
  init_http();
55145
+ init_primitives();
55056
55146
  DEFAULT_CONTENT_TYPES = {
55057
55147
  jsonl: "application/jsonl",
55058
55148
  json: "application/json",
@@ -56970,14 +57060,15 @@ var init_amount = __esm(() => {
56970
57060
  var AmountDecimalRange$inboundSchema, AmountDecimalRange$outboundSchema;
56971
57061
  var init_amountdecimalrange = __esm(() => {
56972
57062
  init_v3();
57063
+ init_primitives2();
56973
57064
  init_amountdecimal();
56974
57065
  AmountDecimalRange$inboundSchema = objectType({
56975
- minimum: AmountDecimal$inboundSchema,
56976
- maximum: AmountDecimal$inboundSchema
57066
+ minimum: optional3(AmountDecimal$inboundSchema),
57067
+ maximum: optional3(AmountDecimal$inboundSchema)
56977
57068
  });
56978
57069
  AmountDecimalRange$outboundSchema = objectType({
56979
- minimum: AmountDecimal$outboundSchema,
56980
- maximum: AmountDecimal$outboundSchema
57070
+ minimum: AmountDecimal$outboundSchema.optional(),
57071
+ maximum: AmountDecimal$outboundSchema.optional()
56981
57072
  });
56982
57073
  });
56983
57074
 
@@ -57389,21 +57480,6 @@ var init_asynctransfer = __esm(() => {
57389
57480
  });
57390
57481
  });
57391
57482
 
57392
- // src/models/components/authorizeduser.ts
57393
- var AuthorizedUser$inboundSchema, AuthorizedUser$outboundSchema;
57394
- var init_authorizeduser = __esm(() => {
57395
- init_v3();
57396
- init_primitives2();
57397
- AuthorizedUser$inboundSchema = objectType({
57398
- firstName: string4(),
57399
- lastName: string4()
57400
- });
57401
- AuthorizedUser$outboundSchema = objectType({
57402
- firstName: stringType(),
57403
- lastName: stringType()
57404
- });
57405
- });
57406
-
57407
57483
  // src/models/components/tokentype.ts
57408
57484
  var TokenType, TokenType$inboundSchema, TokenType$outboundSchema;
57409
57485
  var init_tokentype = __esm(() => {
@@ -62299,60 +62375,6 @@ var init_createapplepaysession = __esm(() => {
62299
62375
  });
62300
62376
  });
62301
62377
 
62302
- // src/models/components/createauthorizeduser.ts
62303
- var CreateAuthorizedUser$inboundSchema, CreateAuthorizedUser$outboundSchema;
62304
- var init_createauthorizeduser = __esm(() => {
62305
- init_v3();
62306
- init_primitives2();
62307
- init_birthdate();
62308
- CreateAuthorizedUser$inboundSchema = objectType({
62309
- firstName: string4(),
62310
- lastName: string4(),
62311
- birthDate: optional3(BirthDate$inboundSchema)
62312
- });
62313
- CreateAuthorizedUser$outboundSchema = objectType({
62314
- firstName: stringType(),
62315
- lastName: stringType(),
62316
- birthDate: BirthDate$outboundSchema.optional()
62317
- });
62318
- });
62319
-
62320
- // src/models/components/createauthorizedusererror.ts
62321
- var CreateAuthorizedUserError$inboundSchema, CreateAuthorizedUserError$outboundSchema;
62322
- var init_createauthorizedusererror = __esm(() => {
62323
- init_v3();
62324
- init_primitives2();
62325
- init_birthdateerror();
62326
- CreateAuthorizedUserError$inboundSchema = objectType({
62327
- firstName: optional3(string4()),
62328
- lastName: optional3(string4()),
62329
- birthDate: optional3(BirthDateError$inboundSchema)
62330
- });
62331
- CreateAuthorizedUserError$outboundSchema = objectType({
62332
- firstName: stringType().optional(),
62333
- lastName: stringType().optional(),
62334
- birthDate: BirthDateError$outboundSchema.optional()
62335
- });
62336
- });
62337
-
62338
- // src/models/components/createauthorizeduserupdate.ts
62339
- var CreateAuthorizedUserUpdate$inboundSchema, CreateAuthorizedUserUpdate$outboundSchema;
62340
- var init_createauthorizeduserupdate = __esm(() => {
62341
- init_v3();
62342
- init_primitives2();
62343
- init_birthdateupdate();
62344
- CreateAuthorizedUserUpdate$inboundSchema = objectType({
62345
- firstName: optional3(string4()),
62346
- lastName: optional3(string4()),
62347
- birthDate: optional3(BirthDateUpdate$inboundSchema)
62348
- });
62349
- CreateAuthorizedUserUpdate$outboundSchema = objectType({
62350
- firstName: stringType().optional(),
62351
- lastName: stringType().optional(),
62352
- birthDate: BirthDateUpdate$outboundSchema.optional()
62353
- });
62354
- });
62355
-
62356
62378
  // src/models/components/phonenumbererror.ts
62357
62379
  var PhoneNumberError$inboundSchema, PhoneNumberError$outboundSchema;
62358
62380
  var init_phonenumbererror = __esm(() => {
@@ -63379,6 +63401,34 @@ var init_createpaymentlinklineitems = __esm(() => {
63379
63401
  });
63380
63402
  });
63381
63403
 
63404
+ // src/models/components/paymentlinkcustomamountpaymentdetails.ts
63405
+ var PaymentLinkCustomAmountPaymentDetails$inboundSchema, PaymentLinkCustomAmountPaymentDetails$outboundSchema;
63406
+ var init_paymentlinkcustomamountpaymentdetails = __esm(() => {
63407
+ init_v3();
63408
+ init_primitives2();
63409
+ init_achpaymentdetails();
63410
+ init_amountdecimal();
63411
+ init_amountdecimalrange();
63412
+ init_cardpaymentdetails();
63413
+ init_collectionpaymentmethodtype();
63414
+ PaymentLinkCustomAmountPaymentDetails$inboundSchema = objectType({
63415
+ allowedMethods: arrayType(CollectionPaymentMethodType$inboundSchema),
63416
+ cardDetails: optional3(CardPaymentDetails$inboundSchema),
63417
+ achDetails: optional3(ACHPaymentDetails$inboundSchema),
63418
+ metadata: optional3(recordType(string4())),
63419
+ amountRange: optional3(AmountDecimalRange$inboundSchema),
63420
+ suggestedAmounts: optional3(arrayType(AmountDecimal$inboundSchema))
63421
+ });
63422
+ PaymentLinkCustomAmountPaymentDetails$outboundSchema = objectType({
63423
+ allowedMethods: arrayType(CollectionPaymentMethodType$outboundSchema),
63424
+ cardDetails: CardPaymentDetails$outboundSchema.optional(),
63425
+ achDetails: ACHPaymentDetails$outboundSchema.optional(),
63426
+ metadata: recordType(stringType()).optional(),
63427
+ amountRange: AmountDecimalRange$outboundSchema.optional(),
63428
+ suggestedAmounts: arrayType(AmountDecimal$outboundSchema).optional()
63429
+ });
63430
+ });
63431
+
63382
63432
  // src/models/components/paymentlinkcustomeroptions.ts
63383
63433
  var PaymentLinkCustomerOptions$inboundSchema, PaymentLinkCustomerOptions$outboundSchema;
63384
63434
  var init_paymentlinkcustomeroptions = __esm(() => {
@@ -63417,36 +63467,21 @@ var init_paymentlinkdisplayoptions = __esm(() => {
63417
63467
  });
63418
63468
 
63419
63469
  // src/models/components/paymentlinkpaymentdetails.ts
63420
- var AmountType, AmountType$inboundSchema, AmountType$outboundSchema, PaymentLinkPaymentDetails$inboundSchema, PaymentLinkPaymentDetails$outboundSchema;
63470
+ var PaymentLinkPaymentDetails$inboundSchema, PaymentLinkPaymentDetails$outboundSchema;
63421
63471
  var init_paymentlinkpaymentdetails = __esm(() => {
63422
63472
  init_v3();
63423
- init_enums();
63424
63473
  init_primitives2();
63425
63474
  init_achpaymentdetails();
63426
- init_amountdecimal();
63427
- init_amountdecimalrange();
63428
63475
  init_cardpaymentdetails();
63429
63476
  init_collectionpaymentmethodtype();
63430
- AmountType = {
63431
- Fixed: "fixed",
63432
- Open: "open"
63433
- };
63434
- AmountType$inboundSchema = inboundSchema(AmountType);
63435
- AmountType$outboundSchema = outboundSchema(AmountType);
63436
63477
  PaymentLinkPaymentDetails$inboundSchema = objectType({
63437
63478
  allowedMethods: arrayType(CollectionPaymentMethodType$inboundSchema),
63438
- amountType: AmountType$inboundSchema.default("fixed"),
63439
- amountRange: optional3(AmountDecimalRange$inboundSchema),
63440
- suggestedAmounts: optional3(arrayType(AmountDecimal$inboundSchema)),
63441
63479
  cardDetails: optional3(CardPaymentDetails$inboundSchema),
63442
63480
  achDetails: optional3(ACHPaymentDetails$inboundSchema),
63443
63481
  metadata: optional3(recordType(string4()))
63444
63482
  });
63445
63483
  PaymentLinkPaymentDetails$outboundSchema = objectType({
63446
63484
  allowedMethods: arrayType(CollectionPaymentMethodType$outboundSchema),
63447
- amountType: AmountType$outboundSchema.default("fixed"),
63448
- amountRange: AmountDecimalRange$outboundSchema.optional(),
63449
- suggestedAmounts: arrayType(AmountDecimal$outboundSchema).optional(),
63450
63485
  cardDetails: CardPaymentDetails$outboundSchema.optional(),
63451
63486
  achDetails: ACHPaymentDetails$outboundSchema.optional(),
63452
63487
  metadata: recordType(stringType()).optional()
@@ -63512,6 +63547,7 @@ var init_createpaymentlink = __esm(() => {
63512
63547
  init_amount();
63513
63548
  init_createpaymentlinkamountdetails();
63514
63549
  init_createpaymentlinklineitems();
63550
+ init_paymentlinkcustomamountpaymentdetails();
63515
63551
  init_paymentlinkcustomeroptions();
63516
63552
  init_paymentlinkdisplayoptions();
63517
63553
  init_paymentlinkpaymentdetails();
@@ -63526,6 +63562,7 @@ var init_createpaymentlink = __esm(() => {
63526
63562
  customer: optional3(PaymentLinkCustomerOptions$inboundSchema),
63527
63563
  payment: optional3(PaymentLinkPaymentDetails$inboundSchema),
63528
63564
  payout: optional3(PaymentLinkPayoutDetails$inboundSchema),
63565
+ customAmountPayment: optional3(PaymentLinkCustomAmountPaymentDetails$inboundSchema),
63529
63566
  lineItems: optional3(CreatePaymentLinkLineItems$inboundSchema),
63530
63567
  amountDetails: optional3(CreatePaymentLinkAmountDetails$inboundSchema)
63531
63568
  });
@@ -63539,6 +63576,7 @@ var init_createpaymentlink = __esm(() => {
63539
63576
  customer: PaymentLinkCustomerOptions$outboundSchema.optional(),
63540
63577
  payment: PaymentLinkPaymentDetails$outboundSchema.optional(),
63541
63578
  payout: PaymentLinkPayoutDetails$outboundSchema.optional(),
63579
+ customAmountPayment: PaymentLinkCustomAmountPaymentDetails$outboundSchema.optional(),
63542
63580
  lineItems: CreatePaymentLinkLineItems$outboundSchema.optional(),
63543
63581
  amountDetails: CreatePaymentLinkAmountDetails$outboundSchema.optional()
63544
63582
  });
@@ -64680,7 +64718,8 @@ var init_webhookeventtype = __esm(() => {
64680
64718
  WalletCreated: "wallet.created",
64681
64719
  WalletUpdated: "wallet.updated",
64682
64720
  WalletTransactionUpdated: "walletTransaction.updated",
64683
- BillingStatementCreated: "billingStatement.created"
64721
+ BillingStatementCreated: "billingStatement.created",
64722
+ AuthorizationExpiring: "authorization.expiring"
64684
64723
  };
64685
64724
  WebhookEventType$inboundSchema = inboundSchema(WebhookEventType);
64686
64725
  WebhookEventType$outboundSchema = outboundSchema(WebhookEventType);
@@ -64719,6 +64758,31 @@ var init_createwebhook = __esm(() => {
64719
64758
  });
64720
64759
  });
64721
64760
 
64761
+ // src/models/components/customamountpaymentdetailserror.ts
64762
+ var CustomAmountPaymentDetailsError$inboundSchema, CustomAmountPaymentDetailsError$outboundSchema;
64763
+ var init_customamountpaymentdetailserror = __esm(() => {
64764
+ init_v3();
64765
+ init_primitives2();
64766
+ init_achpaymentdetailserror();
64767
+ init_cardpaymentdetailserror();
64768
+ CustomAmountPaymentDetailsError$inboundSchema = objectType({
64769
+ allowedMethods: optional3(string4()),
64770
+ cardDetails: optional3(CardPaymentDetailsError$inboundSchema),
64771
+ achDetails: optional3(ACHPaymentDetailsError$inboundSchema),
64772
+ metadata: optional3(string4()),
64773
+ amountRange: optional3(string4()),
64774
+ suggestedAmounts: optional3(string4())
64775
+ });
64776
+ CustomAmountPaymentDetailsError$outboundSchema = objectType({
64777
+ allowedMethods: stringType().optional(),
64778
+ cardDetails: CardPaymentDetailsError$outboundSchema.optional(),
64779
+ achDetails: ACHPaymentDetailsError$outboundSchema.optional(),
64780
+ metadata: stringType().optional(),
64781
+ amountRange: stringType().optional(),
64782
+ suggestedAmounts: stringType().optional()
64783
+ });
64784
+ });
64785
+
64722
64786
  // src/models/components/customersupporterror.ts
64723
64787
  var CustomerSupportError$inboundSchema, CustomerSupportError$outboundSchema;
64724
64788
  var init_customersupporterror = __esm(() => {
@@ -65469,7 +65533,7 @@ var FullIssuedCard$inboundSchema, FullIssuedCard$outboundSchema;
65469
65533
  var init_fullissuedcard = __esm(() => {
65470
65534
  init_v3();
65471
65535
  init_primitives2();
65472
- init_authorizeduser();
65536
+ init_address();
65473
65537
  init_cardbrand();
65474
65538
  init_cardexpiration();
65475
65539
  init_issuedcardformfactor();
@@ -65480,13 +65544,16 @@ var init_fullissuedcard = __esm(() => {
65480
65544
  brand: CardBrand$inboundSchema,
65481
65545
  lastFourCardNumber: string4(),
65482
65546
  expiration: CardExpiration$inboundSchema,
65483
- authorizedUser: AuthorizedUser$inboundSchema,
65484
- memo: optional3(string4()),
65485
65547
  fundingWalletID: string4(),
65548
+ authorizedUserAccountID: optional3(string4()),
65549
+ nickname: optional3(string4()),
65550
+ metadata: optional3(recordType(string4())),
65551
+ billingAddress: optional3(Address$inboundSchema),
65486
65552
  state: IssuedCardState$inboundSchema,
65487
65553
  formFactor: IssuedCardFormFactor$inboundSchema,
65488
65554
  controls: optional3(IssuingControls$inboundSchema),
65489
65555
  createdOn: date4(),
65556
+ updatedOn: date4(),
65490
65557
  pan: string4(),
65491
65558
  cvv: string4()
65492
65559
  });
@@ -65495,13 +65562,16 @@ var init_fullissuedcard = __esm(() => {
65495
65562
  brand: CardBrand$outboundSchema,
65496
65563
  lastFourCardNumber: stringType(),
65497
65564
  expiration: CardExpiration$outboundSchema,
65498
- authorizedUser: AuthorizedUser$outboundSchema,
65499
- memo: stringType().optional(),
65500
65565
  fundingWalletID: stringType(),
65566
+ authorizedUserAccountID: stringType().optional(),
65567
+ nickname: stringType().optional(),
65568
+ metadata: recordType(stringType()).optional(),
65569
+ billingAddress: Address$outboundSchema.optional(),
65501
65570
  state: IssuedCardState$outboundSchema,
65502
65571
  formFactor: IssuedCardFormFactor$outboundSchema,
65503
65572
  controls: IssuingControls$outboundSchema.optional(),
65504
65573
  createdOn: dateType().transform((v2) => v2.toISOString()),
65574
+ updatedOn: dateType().transform((v2) => v2.toISOString()),
65505
65575
  pan: stringType(),
65506
65576
  cvv: stringType()
65507
65577
  });
@@ -66332,7 +66402,7 @@ var IssuedCard$inboundSchema, IssuedCard$outboundSchema;
66332
66402
  var init_issuedcard = __esm(() => {
66333
66403
  init_v3();
66334
66404
  init_primitives2();
66335
- init_authorizeduser();
66405
+ init_address();
66336
66406
  init_cardbrand();
66337
66407
  init_cardexpiration();
66338
66408
  init_issuedcardformfactor();
@@ -66343,26 +66413,32 @@ var init_issuedcard = __esm(() => {
66343
66413
  brand: CardBrand$inboundSchema,
66344
66414
  lastFourCardNumber: string4(),
66345
66415
  expiration: CardExpiration$inboundSchema,
66346
- authorizedUser: AuthorizedUser$inboundSchema,
66347
- memo: optional3(string4()),
66348
66416
  fundingWalletID: string4(),
66417
+ authorizedUserAccountID: optional3(string4()),
66418
+ nickname: optional3(string4()),
66419
+ metadata: optional3(recordType(string4())),
66420
+ billingAddress: optional3(Address$inboundSchema),
66349
66421
  state: IssuedCardState$inboundSchema,
66350
66422
  formFactor: IssuedCardFormFactor$inboundSchema,
66351
66423
  controls: optional3(IssuingControls$inboundSchema),
66352
- createdOn: date4()
66424
+ createdOn: date4(),
66425
+ updatedOn: date4()
66353
66426
  });
66354
66427
  IssuedCard$outboundSchema = objectType({
66355
66428
  issuedCardID: stringType(),
66356
66429
  brand: CardBrand$outboundSchema,
66357
66430
  lastFourCardNumber: stringType(),
66358
66431
  expiration: CardExpiration$outboundSchema,
66359
- authorizedUser: AuthorizedUser$outboundSchema,
66360
- memo: stringType().optional(),
66361
66432
  fundingWalletID: stringType(),
66433
+ authorizedUserAccountID: stringType().optional(),
66434
+ nickname: stringType().optional(),
66435
+ metadata: recordType(stringType()).optional(),
66436
+ billingAddress: Address$outboundSchema.optional(),
66362
66437
  state: IssuedCardState$outboundSchema,
66363
66438
  formFactor: IssuedCardFormFactor$outboundSchema,
66364
66439
  controls: IssuingControls$outboundSchema.optional(),
66365
- createdOn: dateType().transform((v2) => v2.toISOString())
66440
+ createdOn: dateType().transform((v2) => v2.toISOString()),
66441
+ updatedOn: dateType().transform((v2) => v2.toISOString())
66366
66442
  });
66367
66443
  });
66368
66444
 
@@ -67829,7 +67905,8 @@ var init_paymentlinktype = __esm(() => {
67829
67905
  PaymentLinkType = {
67830
67906
  Payment: "payment",
67831
67907
  Payout: "payout",
67832
- InvoicePayment: "invoice-payment"
67908
+ InvoicePayment: "invoice-payment",
67909
+ CustomAmountPayment: "custom-amount-payment"
67833
67910
  };
67834
67911
  PaymentLinkType$inboundSchema = inboundSchema(PaymentLinkType);
67835
67912
  PaymentLinkType$outboundSchema = outboundSchema(PaymentLinkType);
@@ -67843,6 +67920,7 @@ var init_paymentlink = __esm(() => {
67843
67920
  init_amount();
67844
67921
  init_mode();
67845
67922
  init_paymentlinkamountdetails();
67923
+ init_paymentlinkcustomamountpaymentdetails();
67846
67924
  init_paymentlinkcustomeroptions();
67847
67925
  init_paymentlinkdisplayoptions();
67848
67926
  init_paymentlinklineitems();
@@ -67869,6 +67947,7 @@ var init_paymentlink = __esm(() => {
67869
67947
  customer: PaymentLinkCustomerOptions$inboundSchema,
67870
67948
  payment: optional3(PaymentLinkPaymentDetails$inboundSchema),
67871
67949
  payout: optional3(PaymentLinkPayoutDetails$inboundSchema),
67950
+ customAmountPayment: optional3(PaymentLinkCustomAmountPaymentDetails$inboundSchema),
67872
67951
  lineItems: optional3(PaymentLinkLineItems$inboundSchema),
67873
67952
  createdOn: date4(),
67874
67953
  updatedOn: date4(),
@@ -67894,6 +67973,7 @@ var init_paymentlink = __esm(() => {
67894
67973
  customer: PaymentLinkCustomerOptions$outboundSchema,
67895
67974
  payment: PaymentLinkPaymentDetails$outboundSchema.optional(),
67896
67975
  payout: PaymentLinkPayoutDetails$outboundSchema.optional(),
67976
+ customAmountPayment: PaymentLinkCustomAmountPaymentDetails$outboundSchema.optional(),
67897
67977
  lineItems: PaymentLinkLineItems$outboundSchema.optional(),
67898
67978
  createdOn: dateType().transform((v2) => v2.toISOString()),
67899
67979
  updatedOn: dateType().transform((v2) => v2.toISOString()),
@@ -67902,6 +67982,34 @@ var init_paymentlink = __esm(() => {
67902
67982
  });
67903
67983
  });
67904
67984
 
67985
+ // src/models/components/paymentlinkcustomamountpaymentdetailsupdate.ts
67986
+ var PaymentLinkCustomAmountPaymentDetailsUpdate$inboundSchema, PaymentLinkCustomAmountPaymentDetailsUpdate$outboundSchema;
67987
+ var init_paymentlinkcustomamountpaymentdetailsupdate = __esm(() => {
67988
+ init_v3();
67989
+ init_primitives2();
67990
+ init_achpaymentdetails();
67991
+ init_amountdecimal();
67992
+ init_amountdecimalrangeupdate();
67993
+ init_cardpaymentdetails();
67994
+ init_collectionpaymentmethodtype();
67995
+ PaymentLinkCustomAmountPaymentDetailsUpdate$inboundSchema = objectType({
67996
+ allowedMethods: optional3(arrayType(CollectionPaymentMethodType$inboundSchema)),
67997
+ cardDetails: optional3(CardPaymentDetails$inboundSchema),
67998
+ achDetails: optional3(ACHPaymentDetails$inboundSchema),
67999
+ metadata: optional3(recordType(string4())),
68000
+ amountRange: optional3(AmountDecimalRangeUpdate$inboundSchema),
68001
+ suggestedAmounts: optional3(arrayType(AmountDecimal$inboundSchema))
68002
+ });
68003
+ PaymentLinkCustomAmountPaymentDetailsUpdate$outboundSchema = objectType({
68004
+ allowedMethods: arrayType(CollectionPaymentMethodType$outboundSchema).optional(),
68005
+ cardDetails: CardPaymentDetails$outboundSchema.optional(),
68006
+ achDetails: ACHPaymentDetails$outboundSchema.optional(),
68007
+ metadata: recordType(stringType()).optional(),
68008
+ amountRange: AmountDecimalRangeUpdate$outboundSchema.optional(),
68009
+ suggestedAmounts: arrayType(AmountDecimal$outboundSchema).optional()
68010
+ });
68011
+ });
68012
+
67905
68013
  // src/models/components/paymentlinkdisplayoptionsupdate.ts
67906
68014
  var PaymentLinkDisplayOptionsUpdate$inboundSchema, PaymentLinkDisplayOptionsUpdate$outboundSchema;
67907
68015
  var init_paymentlinkdisplayoptionsupdate = __esm(() => {
@@ -67921,35 +68029,21 @@ var init_paymentlinkdisplayoptionsupdate = __esm(() => {
67921
68029
  });
67922
68030
 
67923
68031
  // src/models/components/paymentlinkpaymentdetailsupdate.ts
67924
- var PaymentLinkPaymentDetailsUpdateAmountType, PaymentLinkPaymentDetailsUpdateAmountType$inboundSchema, PaymentLinkPaymentDetailsUpdateAmountType$outboundSchema, PaymentLinkPaymentDetailsUpdate$inboundSchema, PaymentLinkPaymentDetailsUpdate$outboundSchema;
68032
+ var PaymentLinkPaymentDetailsUpdate$inboundSchema, PaymentLinkPaymentDetailsUpdate$outboundSchema;
67925
68033
  var init_paymentlinkpaymentdetailsupdate = __esm(() => {
67926
68034
  init_v3();
67927
68035
  init_primitives2();
67928
68036
  init_achpaymentdetails();
67929
- init_amountdecimal();
67930
- init_amountdecimalrangeupdate();
67931
68037
  init_cardpaymentdetails();
67932
68038
  init_collectionpaymentmethodtype();
67933
- PaymentLinkPaymentDetailsUpdateAmountType = {
67934
- Fixed: "fixed",
67935
- Open: "open"
67936
- };
67937
- PaymentLinkPaymentDetailsUpdateAmountType$inboundSchema = nativeEnumType(PaymentLinkPaymentDetailsUpdateAmountType);
67938
- PaymentLinkPaymentDetailsUpdateAmountType$outboundSchema = PaymentLinkPaymentDetailsUpdateAmountType$inboundSchema;
67939
68039
  PaymentLinkPaymentDetailsUpdate$inboundSchema = objectType({
67940
68040
  allowedMethods: optional3(arrayType(CollectionPaymentMethodType$inboundSchema)),
67941
- amountType: PaymentLinkPaymentDetailsUpdateAmountType$inboundSchema.default("fixed"),
67942
- amountRange: optional3(AmountDecimalRangeUpdate$inboundSchema),
67943
- suggestedAmounts: optional3(arrayType(AmountDecimal$inboundSchema)),
67944
68041
  cardDetails: optional3(CardPaymentDetails$inboundSchema),
67945
68042
  achDetails: optional3(ACHPaymentDetails$inboundSchema),
67946
68043
  metadata: optional3(recordType(string4()))
67947
68044
  });
67948
68045
  PaymentLinkPaymentDetailsUpdate$outboundSchema = objectType({
67949
68046
  allowedMethods: arrayType(CollectionPaymentMethodType$outboundSchema).optional(),
67950
- amountType: PaymentLinkPaymentDetailsUpdateAmountType$outboundSchema.default("fixed"),
67951
- amountRange: AmountDecimalRangeUpdate$outboundSchema.optional(),
67952
- suggestedAmounts: arrayType(AmountDecimal$outboundSchema).optional(),
67953
68047
  cardDetails: CardPaymentDetails$outboundSchema.optional(),
67954
68048
  achDetails: ACHPaymentDetails$outboundSchema.optional(),
67955
68049
  metadata: recordType(stringType()).optional()
@@ -68776,23 +68870,22 @@ var RequestCard$inboundSchema, RequestCard$outboundSchema;
68776
68870
  var init_requestcard = __esm(() => {
68777
68871
  init_v3();
68778
68872
  init_primitives2();
68873
+ init_address();
68779
68874
  init_cardexpiration();
68780
- init_createauthorizeduser();
68781
- init_issuedcardformfactor();
68782
68875
  init_issuingcontrols();
68783
68876
  RequestCard$inboundSchema = objectType({
68784
- fundingWalletID: string4(),
68785
- authorizedUser: CreateAuthorizedUser$inboundSchema,
68786
- formFactor: IssuedCardFormFactor$inboundSchema,
68787
- memo: optional3(string4()),
68877
+ authorizedUserAccountID: optional3(string4()),
68878
+ nickname: optional3(string4()),
68879
+ metadata: optional3(recordType(string4())),
68880
+ billingAddress: optional3(Address$inboundSchema),
68788
68881
  expiration: optional3(CardExpiration$inboundSchema),
68789
68882
  controls: optional3(IssuingControls$inboundSchema)
68790
68883
  });
68791
68884
  RequestCard$outboundSchema = objectType({
68792
- fundingWalletID: stringType(),
68793
- authorizedUser: CreateAuthorizedUser$outboundSchema,
68794
- formFactor: IssuedCardFormFactor$outboundSchema,
68795
- memo: stringType().optional(),
68885
+ authorizedUserAccountID: stringType().optional(),
68886
+ nickname: stringType().optional(),
68887
+ metadata: recordType(stringType()).optional(),
68888
+ billingAddress: Address$outboundSchema.optional(),
68796
68889
  expiration: CardExpiration$outboundSchema.optional(),
68797
68890
  controls: IssuingControls$outboundSchema.optional()
68798
68891
  });
@@ -70120,21 +70213,38 @@ var init_updateissuedcardstate = __esm(() => {
70120
70213
  });
70121
70214
 
70122
70215
  // src/models/components/updateissuedcard.ts
70123
- var UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
70216
+ var BillingAddress$inboundSchema, BillingAddress$outboundSchema, UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
70124
70217
  var init_updateissuedcard = __esm(() => {
70125
70218
  init_v3();
70126
70219
  init_primitives2();
70127
- init_createauthorizeduserupdate();
70128
70220
  init_updateissuedcardstate();
70221
+ BillingAddress$inboundSchema = objectType({
70222
+ addressLine1: optional3(string4()),
70223
+ addressLine2: optional3(string4()),
70224
+ city: optional3(string4()),
70225
+ stateOrProvince: optional3(string4()),
70226
+ postalCode: optional3(string4()),
70227
+ country: optional3(string4())
70228
+ });
70229
+ BillingAddress$outboundSchema = objectType({
70230
+ addressLine1: stringType().optional(),
70231
+ addressLine2: stringType().optional(),
70232
+ city: stringType().optional(),
70233
+ stateOrProvince: stringType().optional(),
70234
+ postalCode: stringType().optional(),
70235
+ country: stringType().optional()
70236
+ });
70129
70237
  UpdateIssuedCard$inboundSchema = objectType({
70130
70238
  state: optional3(UpdateIssuedCardState$inboundSchema),
70131
- memo: optional3(string4()),
70132
- authorizedUser: optional3(CreateAuthorizedUserUpdate$inboundSchema)
70239
+ nickname: nullableType(string4()).optional(),
70240
+ metadata: nullableType(recordType(string4())).optional(),
70241
+ billingAddress: nullableType(lazyType(() => BillingAddress$inboundSchema)).optional()
70133
70242
  });
70134
70243
  UpdateIssuedCard$outboundSchema = objectType({
70135
70244
  state: UpdateIssuedCardState$outboundSchema.optional(),
70136
- memo: stringType().optional(),
70137
- authorizedUser: CreateAuthorizedUserUpdate$outboundSchema.optional()
70245
+ nickname: nullableType(stringType()).optional(),
70246
+ metadata: nullableType(recordType(stringType())).optional(),
70247
+ billingAddress: nullableType(lazyType(() => BillingAddress$outboundSchema)).optional()
70138
70248
  });
70139
70249
  });
70140
70250
 
@@ -70161,6 +70271,7 @@ var init_updatepaymentlink = __esm(() => {
70161
70271
  init_primitives2();
70162
70272
  init_amountupdate();
70163
70273
  init_createpaymentlinklineitemsupdate();
70274
+ init_paymentlinkcustomamountpaymentdetailsupdate();
70164
70275
  init_paymentlinkcustomeroptions();
70165
70276
  init_paymentlinkdisplayoptionsupdate();
70166
70277
  init_paymentlinkpaymentdetailsupdate();
@@ -70173,6 +70284,7 @@ var init_updatepaymentlink = __esm(() => {
70173
70284
  customer: optional3(PaymentLinkCustomerOptions$inboundSchema),
70174
70285
  payment: optional3(PaymentLinkPaymentDetailsUpdate$inboundSchema),
70175
70286
  payout: optional3(PaymentLinkPayoutDetailsUpdate$inboundSchema),
70287
+ customAmountPayment: optional3(PaymentLinkCustomAmountPaymentDetailsUpdate$inboundSchema),
70176
70288
  lineItems: optional3(CreatePaymentLinkLineItemsUpdate$inboundSchema),
70177
70289
  amountDetails: optional3(UpdatePaymentLinkAmountDetails$inboundSchema)
70178
70290
  });
@@ -70183,6 +70295,7 @@ var init_updatepaymentlink = __esm(() => {
70183
70295
  customer: PaymentLinkCustomerOptions$outboundSchema.optional(),
70184
70296
  payment: PaymentLinkPaymentDetailsUpdate$outboundSchema.optional(),
70185
70297
  payout: PaymentLinkPayoutDetailsUpdate$outboundSchema.optional(),
70298
+ customAmountPayment: PaymentLinkCustomAmountPaymentDetailsUpdate$outboundSchema.optional(),
70186
70299
  lineItems: CreatePaymentLinkLineItemsUpdate$outboundSchema.optional(),
70187
70300
  amountDetails: UpdatePaymentLinkAmountDetails$outboundSchema.optional()
70188
70301
  });
@@ -70654,6 +70767,25 @@ var init_webhookdataaccountupdated = __esm(() => {
70654
70767
  });
70655
70768
  });
70656
70769
 
70770
+ // src/models/components/webhookdataauthorizationexpiring.ts
70771
+ var WebhookDataAuthorizationExpiring$inboundSchema, WebhookDataAuthorizationExpiring$outboundSchema;
70772
+ var init_webhookdataauthorizationexpiring = __esm(() => {
70773
+ init_v3();
70774
+ init_primitives2();
70775
+ WebhookDataAuthorizationExpiring$inboundSchema = objectType({
70776
+ merchantAccountID: string4(),
70777
+ partnerAccountID: string4(),
70778
+ authorizationID: string4(),
70779
+ expiresOn: date4()
70780
+ });
70781
+ WebhookDataAuthorizationExpiring$outboundSchema = objectType({
70782
+ merchantAccountID: stringType(),
70783
+ partnerAccountID: stringType(),
70784
+ authorizationID: stringType(),
70785
+ expiresOn: dateType().transform((v2) => v2.toISOString())
70786
+ });
70787
+ });
70788
+
70657
70789
  // src/models/components/webhookdatabalanceupdated.ts
70658
70790
  var WebhookDataBalanceUpdated$inboundSchema, WebhookDataBalanceUpdated$outboundSchema;
70659
70791
  var init_webhookdatabalanceupdated = __esm(() => {
@@ -71050,10 +71182,12 @@ var init_webhookdatasweepcreated = __esm(() => {
71050
71182
  init_v3();
71051
71183
  init_primitives2();
71052
71184
  WebhookDataSweepCreated$inboundSchema = objectType({
71185
+ accountID: string4(),
71053
71186
  walletID: string4(),
71054
71187
  sweepID: string4()
71055
71188
  });
71056
71189
  WebhookDataSweepCreated$outboundSchema = objectType({
71190
+ accountID: stringType(),
71057
71191
  walletID: stringType(),
71058
71192
  sweepID: stringType()
71059
71193
  });
@@ -71066,12 +71200,14 @@ var init_webhookdatasweepupdated = __esm(() => {
71066
71200
  init_primitives2();
71067
71201
  init_sweepstatus();
71068
71202
  WebhookDataSweepUpdated$inboundSchema = objectType({
71203
+ accountID: string4(),
71069
71204
  walletID: string4(),
71070
71205
  sweepID: string4(),
71071
71206
  transferID: optional3(string4()),
71072
71207
  status: SweepStatus$inboundSchema
71073
71208
  });
71074
71209
  WebhookDataSweepUpdated$outboundSchema = objectType({
71210
+ accountID: stringType(),
71075
71211
  walletID: stringType(),
71076
71212
  sweepID: stringType(),
71077
71213
  transferID: stringType().optional(),
@@ -71323,6 +71459,7 @@ var init_webhookdata = __esm(() => {
71323
71459
  init_webhookdataaccountcreated();
71324
71460
  init_webhookdataaccountdisconnected();
71325
71461
  init_webhookdataaccountupdated();
71462
+ init_webhookdataauthorizationexpiring();
71326
71463
  init_webhookdatabalanceupdated();
71327
71464
  init_webhookdatabankaccountcreated();
71328
71465
  init_webhookdatabankaccountdeleted();
@@ -71362,7 +71499,9 @@ var init_webhookdata = __esm(() => {
71362
71499
  WebhookDataTransferUpdated$inboundSchema,
71363
71500
  WebhookDataBankAccountUpdated$inboundSchema,
71364
71501
  WebhookDataRefundUpdated$inboundSchema,
71502
+ WebhookDataSweepUpdated$inboundSchema,
71365
71503
  WebhookDataWalletTransactionUpdated$inboundSchema,
71504
+ WebhookDataAuthorizationExpiring$inboundSchema,
71366
71505
  WebhookDataBankAccountCreated$inboundSchema,
71367
71506
  WebhookDataBankAccountDeleted$inboundSchema,
71368
71507
  WebhookDataCancellationCreated$inboundSchema,
@@ -71373,7 +71512,7 @@ var init_webhookdata = __esm(() => {
71373
71512
  WebhookDataPaymentMethodEnabled$inboundSchema,
71374
71513
  WebhookDataPaymentMethodDisabled$inboundSchema,
71375
71514
  WebhookDataRefundCreated$inboundSchema,
71376
- WebhookDataSweepUpdated$inboundSchema,
71515
+ WebhookDataSweepCreated$inboundSchema,
71377
71516
  WebhookDataTicketUpdated$inboundSchema,
71378
71517
  WebhookDataTransferCreated$inboundSchema,
71379
71518
  WebhookDataWalletUpdated$inboundSchema,
@@ -71383,7 +71522,6 @@ var init_webhookdata = __esm(() => {
71383
71522
  WebhookDataRepresentativeCreated$inboundSchema,
71384
71523
  WebhookDataRepresentativeUpdated$inboundSchema,
71385
71524
  WebhookDataRepresentativeDisabled$inboundSchema,
71386
- WebhookDataSweepCreated$inboundSchema,
71387
71525
  WebhookDataTerminalApplicationCreated$inboundSchema,
71388
71526
  WebhookDataTerminalApplicationUpdated$inboundSchema,
71389
71527
  WebhookDataTicketCreated$inboundSchema,
@@ -71401,7 +71539,9 @@ var init_webhookdata = __esm(() => {
71401
71539
  WebhookDataTransferUpdated$outboundSchema,
71402
71540
  WebhookDataBankAccountUpdated$outboundSchema,
71403
71541
  WebhookDataRefundUpdated$outboundSchema,
71542
+ WebhookDataSweepUpdated$outboundSchema,
71404
71543
  WebhookDataWalletTransactionUpdated$outboundSchema,
71544
+ WebhookDataAuthorizationExpiring$outboundSchema,
71405
71545
  WebhookDataBankAccountCreated$outboundSchema,
71406
71546
  WebhookDataBankAccountDeleted$outboundSchema,
71407
71547
  WebhookDataCancellationCreated$outboundSchema,
@@ -71412,7 +71552,7 @@ var init_webhookdata = __esm(() => {
71412
71552
  WebhookDataPaymentMethodEnabled$outboundSchema,
71413
71553
  WebhookDataPaymentMethodDisabled$outboundSchema,
71414
71554
  WebhookDataRefundCreated$outboundSchema,
71415
- WebhookDataSweepUpdated$outboundSchema,
71555
+ WebhookDataSweepCreated$outboundSchema,
71416
71556
  WebhookDataTicketUpdated$outboundSchema,
71417
71557
  WebhookDataTransferCreated$outboundSchema,
71418
71558
  WebhookDataWalletUpdated$outboundSchema,
@@ -71422,7 +71562,6 @@ var init_webhookdata = __esm(() => {
71422
71562
  WebhookDataRepresentativeCreated$outboundSchema,
71423
71563
  WebhookDataRepresentativeUpdated$outboundSchema,
71424
71564
  WebhookDataRepresentativeDisabled$outboundSchema,
71425
- WebhookDataSweepCreated$outboundSchema,
71426
71565
  WebhookDataTerminalApplicationCreated$outboundSchema,
71427
71566
  WebhookDataTerminalApplicationUpdated$outboundSchema,
71428
71567
  WebhookDataTicketCreated$outboundSchema,
@@ -71527,7 +71666,6 @@ var init_components = __esm(() => {
71527
71666
  init_assignproductimagevalidationerror();
71528
71667
  init_asynccreatedrefund();
71529
71668
  init_asynctransfer();
71530
- init_authorizeduser();
71531
71669
  init_authtoken();
71532
71670
  init_authtokenrequest();
71533
71671
  init_bankaccount();
@@ -71618,9 +71756,6 @@ var init_components = __esm(() => {
71618
71756
  init_createaccountsettings();
71619
71757
  init_createaccounttype();
71620
71758
  init_createapplepaysession();
71621
- init_createauthorizeduser();
71622
- init_createauthorizedusererror();
71623
- init_createauthorizeduserupdate();
71624
71759
  init_createbusinesserror();
71625
71760
  init_createbusinessprofile();
71626
71761
  init_createdtransfer();
@@ -71686,6 +71821,7 @@ var init_components = __esm(() => {
71686
71821
  init_createtransfersourcecard();
71687
71822
  init_createwallet();
71688
71823
  init_createwebhook();
71824
+ init_customamountpaymentdetailserror();
71689
71825
  init_customersupport();
71690
71826
  init_customersupporterror();
71691
71827
  init_debitholdperiod();
@@ -71851,6 +71987,8 @@ var init_components = __esm(() => {
71851
71987
  init_paymentdetailserror();
71852
71988
  init_paymentlink();
71853
71989
  init_paymentlinkamountdetails();
71990
+ init_paymentlinkcustomamountpaymentdetails();
71991
+ init_paymentlinkcustomamountpaymentdetailsupdate();
71854
71992
  init_paymentlinkcustomeroptions();
71855
71993
  init_paymentlinkdisplayoptions();
71856
71994
  init_paymentlinkdisplayoptionsupdate();
@@ -72059,6 +72197,7 @@ var init_components = __esm(() => {
72059
72197
  init_webhookdataaccountcreated();
72060
72198
  init_webhookdataaccountdisconnected();
72061
72199
  init_webhookdataaccountupdated();
72200
+ init_webhookdataauthorizationexpiring();
72062
72201
  init_webhookdatabalanceupdated();
72063
72202
  init_webhookdatabankaccountcreated();
72064
72203
  init_webhookdatabankaccountdeleted();
@@ -72486,6 +72625,7 @@ var init_createpaymentlinkerror = __esm(() => {
72486
72625
  display;
72487
72626
  payment;
72488
72627
  payout;
72628
+ customAmountPayment;
72489
72629
  lineItems;
72490
72630
  amountDetails;
72491
72631
  data$;
@@ -72511,6 +72651,9 @@ var init_createpaymentlinkerror = __esm(() => {
72511
72651
  this.payment = err.payment;
72512
72652
  if (err.payout != null)
72513
72653
  this.payout = err.payout;
72654
+ if (err.customAmountPayment != null) {
72655
+ this.customAmountPayment = err.customAmountPayment;
72656
+ }
72514
72657
  if (err.lineItems != null)
72515
72658
  this.lineItems = err.lineItems;
72516
72659
  if (err.amountDetails != null)
@@ -72527,6 +72670,7 @@ var init_createpaymentlinkerror = __esm(() => {
72527
72670
  display: optional3(DisplayOptionsError$inboundSchema),
72528
72671
  payment: optional3(PaymentDetailsError$inboundSchema),
72529
72672
  payout: optional3(PayoutDetailsError$inboundSchema),
72673
+ customAmountPayment: optional3(CustomAmountPaymentDetailsError$inboundSchema),
72530
72674
  lineItems: optional3(CreatePaymentLinkLineItemsValidationError$inboundSchema),
72531
72675
  amountDetails: optional3(CreatePaymentLinkAmountDetailsValidationError$inboundSchema),
72532
72676
  request$: instanceOfType(Request),
@@ -72548,6 +72692,7 @@ var init_createpaymentlinkerror = __esm(() => {
72548
72692
  display: DisplayOptionsError$outboundSchema.optional(),
72549
72693
  payment: PaymentDetailsError$outboundSchema.optional(),
72550
72694
  payout: PayoutDetailsError$outboundSchema.optional(),
72695
+ customAmountPayment: CustomAmountPaymentDetailsError$outboundSchema.optional(),
72551
72696
  lineItems: CreatePaymentLinkLineItemsValidationError$outboundSchema.optional(),
72552
72697
  amountDetails: CreatePaymentLinkAmountDetailsValidationError$outboundSchema.optional()
72553
72698
  }));
@@ -74056,10 +74201,10 @@ var init_requestcarderror = __esm(() => {
74056
74201
  init_components();
74057
74202
  init_mooverror();
74058
74203
  RequestCardError = class RequestCardError extends MoovError {
74059
- fundingWalletID;
74060
- formFactor;
74061
- authorizedUser;
74062
- memo;
74204
+ authorizedUserAccountID;
74205
+ nickname;
74206
+ metadata;
74207
+ billingAddress;
74063
74208
  expiration;
74064
74209
  controls;
74065
74210
  data$;
@@ -74067,14 +74212,15 @@ var init_requestcarderror = __esm(() => {
74067
74212
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
74068
74213
  super(message, httpMeta);
74069
74214
  this.data$ = err;
74070
- if (err.fundingWalletID != null)
74071
- this.fundingWalletID = err.fundingWalletID;
74072
- if (err.formFactor != null)
74073
- this.formFactor = err.formFactor;
74074
- if (err.authorizedUser != null)
74075
- this.authorizedUser = err.authorizedUser;
74076
- if (err.memo != null)
74077
- this.memo = err.memo;
74215
+ if (err.authorizedUserAccountID != null) {
74216
+ this.authorizedUserAccountID = err.authorizedUserAccountID;
74217
+ }
74218
+ if (err.nickname != null)
74219
+ this.nickname = err.nickname;
74220
+ if (err.metadata != null)
74221
+ this.metadata = err.metadata;
74222
+ if (err.billingAddress != null)
74223
+ this.billingAddress = err.billingAddress;
74078
74224
  if (err.expiration != null)
74079
74225
  this.expiration = err.expiration;
74080
74226
  if (err.controls != null)
@@ -74083,10 +74229,10 @@ var init_requestcarderror = __esm(() => {
74083
74229
  }
74084
74230
  };
74085
74231
  RequestCardError$inboundSchema = objectType({
74086
- fundingWalletID: optional3(string4()),
74087
- formFactor: optional3(string4()),
74088
- authorizedUser: optional3(CreateAuthorizedUserError$inboundSchema),
74089
- memo: optional3(string4()),
74232
+ authorizedUserAccountID: optional3(string4()),
74233
+ nickname: optional3(string4()),
74234
+ metadata: optional3(string4()),
74235
+ billingAddress: optional3(AddressError$inboundSchema),
74090
74236
  expiration: optional3(CardExpirationError$inboundSchema),
74091
74237
  controls: optional3(IssuingControlsError$inboundSchema),
74092
74238
  request$: instanceOfType(Request),
@@ -74100,10 +74246,10 @@ var init_requestcarderror = __esm(() => {
74100
74246
  });
74101
74247
  });
74102
74248
  RequestCardError$outboundSchema = instanceOfType(RequestCardError).transform((v2) => v2.data$).pipe(objectType({
74103
- fundingWalletID: stringType().optional(),
74104
- formFactor: stringType().optional(),
74105
- authorizedUser: CreateAuthorizedUserError$outboundSchema.optional(),
74106
- memo: stringType().optional(),
74249
+ authorizedUserAccountID: stringType().optional(),
74250
+ nickname: stringType().optional(),
74251
+ metadata: stringType().optional(),
74252
+ billingAddress: AddressError$outboundSchema.optional(),
74107
74253
  expiration: CardExpirationError$outboundSchema.optional(),
74108
74254
  controls: IssuingControlsError$outboundSchema.optional()
74109
74255
  }));
@@ -74816,8 +74962,9 @@ var init_updateissuedcarderror = __esm(() => {
74816
74962
  init_mooverror();
74817
74963
  UpdateIssuedCardError = class UpdateIssuedCardError extends MoovError {
74818
74964
  state;
74819
- memo;
74820
- authorizedUser;
74965
+ nickname;
74966
+ metadata;
74967
+ billingAddress;
74821
74968
  data$;
74822
74969
  constructor(err, httpMeta) {
74823
74970
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
@@ -74825,17 +74972,20 @@ var init_updateissuedcarderror = __esm(() => {
74825
74972
  this.data$ = err;
74826
74973
  if (err.state != null)
74827
74974
  this.state = err.state;
74828
- if (err.memo != null)
74829
- this.memo = err.memo;
74830
- if (err.authorizedUser != null)
74831
- this.authorizedUser = err.authorizedUser;
74975
+ if (err.nickname != null)
74976
+ this.nickname = err.nickname;
74977
+ if (err.metadata != null)
74978
+ this.metadata = err.metadata;
74979
+ if (err.billingAddress != null)
74980
+ this.billingAddress = err.billingAddress;
74832
74981
  this.name = "UpdateIssuedCardError";
74833
74982
  }
74834
74983
  };
74835
74984
  UpdateIssuedCardError$inboundSchema = objectType({
74836
74985
  state: optional3(string4()),
74837
- memo: optional3(string4()),
74838
- authorizedUser: optional3(CreateAuthorizedUserError$inboundSchema),
74986
+ nickname: optional3(string4()),
74987
+ metadata: optional3(string4()),
74988
+ billingAddress: optional3(AddressError$inboundSchema),
74839
74989
  request$: instanceOfType(Request),
74840
74990
  response$: instanceOfType(Response),
74841
74991
  body$: stringType()
@@ -74848,8 +74998,9 @@ var init_updateissuedcarderror = __esm(() => {
74848
74998
  });
74849
74999
  UpdateIssuedCardError$outboundSchema = instanceOfType(UpdateIssuedCardError).transform((v2) => v2.data$).pipe(objectType({
74850
75000
  state: stringType().optional(),
74851
- memo: stringType().optional(),
74852
- authorizedUser: CreateAuthorizedUserError$outboundSchema.optional()
75001
+ nickname: stringType().optional(),
75002
+ metadata: stringType().optional(),
75003
+ billingAddress: AddressError$outboundSchema.optional()
74853
75004
  }));
74854
75005
  });
74855
75006
 
@@ -74866,6 +75017,7 @@ var init_updatepaymentlinkerror = __esm(() => {
74866
75017
  display;
74867
75018
  payment;
74868
75019
  payout;
75020
+ customAmountPayment;
74869
75021
  lineItems;
74870
75022
  amountDetails;
74871
75023
  data$;
@@ -74883,6 +75035,9 @@ var init_updatepaymentlinkerror = __esm(() => {
74883
75035
  this.payment = err.payment;
74884
75036
  if (err.payout != null)
74885
75037
  this.payout = err.payout;
75038
+ if (err.customAmountPayment != null) {
75039
+ this.customAmountPayment = err.customAmountPayment;
75040
+ }
74886
75041
  if (err.lineItems != null)
74887
75042
  this.lineItems = err.lineItems;
74888
75043
  if (err.amountDetails != null)
@@ -74896,6 +75051,7 @@ var init_updatepaymentlinkerror = __esm(() => {
74896
75051
  display: optional3(DisplayOptionsError$inboundSchema),
74897
75052
  payment: optional3(PaymentDetailsError$inboundSchema),
74898
75053
  payout: optional3(PayoutDetailsError$inboundSchema),
75054
+ customAmountPayment: optional3(CustomAmountPaymentDetailsError$inboundSchema),
74899
75055
  lineItems: optional3(CreatePaymentLinkLineItemsValidationError$inboundSchema),
74900
75056
  amountDetails: optional3(UpdatePaymentLinkAmountDetailsValidationError$inboundSchema),
74901
75057
  request$: instanceOfType(Request),
@@ -74914,6 +75070,7 @@ var init_updatepaymentlinkerror = __esm(() => {
74914
75070
  display: DisplayOptionsError$outboundSchema.optional(),
74915
75071
  payment: PaymentDetailsError$outboundSchema.optional(),
74916
75072
  payout: PayoutDetailsError$outboundSchema.optional(),
75073
+ customAmountPayment: CustomAmountPaymentDetailsError$outboundSchema.optional(),
74917
75074
  lineItems: CreatePaymentLinkLineItemsValidationError$outboundSchema.optional(),
74918
75075
  amountDetails: UpdatePaymentLinkAmountDetailsValidationError$outboundSchema.optional()
74919
75076
  }));
@@ -79335,6 +79492,41 @@ var init_listbankaccounts = __esm(() => {
79335
79492
  });
79336
79493
  });
79337
79494
 
79495
+ // src/models/operations/listcancellations.ts
79496
+ var ListCancellationsRequest$inboundSchema, ListCancellationsRequest$outboundSchema, ListCancellationsResponse$inboundSchema, ListCancellationsResponse$outboundSchema;
79497
+ var init_listcancellations = __esm(() => {
79498
+ init_v3();
79499
+ init_primitives();
79500
+ init_primitives2();
79501
+ init_components();
79502
+ ListCancellationsRequest$inboundSchema = objectType({
79503
+ accountID: string4(),
79504
+ transferID: string4()
79505
+ });
79506
+ ListCancellationsRequest$outboundSchema = objectType({
79507
+ accountID: stringType(),
79508
+ transferID: stringType()
79509
+ });
79510
+ ListCancellationsResponse$inboundSchema = objectType({
79511
+ Headers: recordType(arrayType(stringType())).default({}),
79512
+ Result: arrayType(Cancellation$inboundSchema)
79513
+ }).transform((v2) => {
79514
+ return remap(v2, {
79515
+ Headers: "headers",
79516
+ Result: "result"
79517
+ });
79518
+ });
79519
+ ListCancellationsResponse$outboundSchema = objectType({
79520
+ headers: recordType(arrayType(stringType())),
79521
+ result: arrayType(Cancellation$outboundSchema)
79522
+ }).transform((v2) => {
79523
+ return remap(v2, {
79524
+ headers: "Headers",
79525
+ result: "Result"
79526
+ });
79527
+ });
79528
+ });
79529
+
79338
79530
  // src/models/operations/listcapabilities.ts
79339
79531
  var ListCapabilitiesRequest$inboundSchema, ListCapabilitiesRequest$outboundSchema, ListCapabilitiesResponse$inboundSchema, ListCapabilitiesResponse$outboundSchema;
79340
79532
  var init_listcapabilities = __esm(() => {
@@ -82564,6 +82756,7 @@ var init_operations = __esm(() => {
82564
82756
  init_listaccountterminalapplications();
82565
82757
  init_listadjustments();
82566
82758
  init_listbankaccounts();
82759
+ init_listcancellations();
82567
82760
  init_listcapabilities();
82568
82761
  init_listcards();
82569
82762
  init_listconnectedaccountsforaccount();
@@ -82987,21 +83180,19 @@ var init_accountsCreate2 = __esm(() => {
82987
83180
  };
82988
83181
  tool$accountsCreate = {
82989
83182
  name: "accounts-create",
82990
- description: `You can create **business** or **individual** accounts for your users (i.e., customers, merchants) by passing the required
82991
- information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/requirements/).
83183
+ 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/).
82992
83184
 
82993
- If you're requesting the \`wallet\`, \`send-funds\`, \`collect-funds\`, or \`card-issuing\` capabilities, you'll need to:
82994
- + Send Moov the user [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance.
82995
- 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.
82996
- If you're creating a business account with the business type \`llc\`, \`partnership\`, or \`privateCorporation\`, you'll need to:
83185
+ 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:
83186
+ + 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.
83187
+ + 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.
83188
+
83189
+ If you're creating a business account, depending on the business type, you'll also need to:
82997
83190
  + Provide [business representatives](https://docs.moov.io/api/moov-accounts/representatives/) after creating the account.
82998
83191
  + [Patch](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account to indicate that business representative ownership information is complete.
82999
83192
 
83000
- 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/).
83001
- 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.
83193
+ 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.
83002
83194
 
83003
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
83004
- to specify the \`/accounts.write\` scope.`,
83195
+ 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.`,
83005
83196
  args: args3,
83006
83197
  tool: async (client, args4, ctx) => {
83007
83198
  const [result, apiCall] = await accountsCreate(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -87038,7 +87229,7 @@ var init_capabilitiesDisable2 = __esm(() => {
87038
87229
  };
87039
87230
  tool$capabilitiesDisable = {
87040
87231
  name: "capabilities-disable",
87041
- description: `Disable a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
87232
+ 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.
87042
87233
 
87043
87234
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
87044
87235
  you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
@@ -87152,7 +87343,7 @@ var init_capabilitiesGet2 = __esm(() => {
87152
87343
  };
87153
87344
  tool$capabilitiesGet = {
87154
87345
  name: "capabilities-get",
87155
- description: `Retrieve a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
87346
+ 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.
87156
87347
 
87157
87348
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
87158
87349
  you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
@@ -87265,7 +87456,7 @@ var init_capabilitiesList2 = __esm(() => {
87265
87456
  name: "capabilities-list",
87266
87457
  description: `Retrieve all the capabilities an account has requested.
87267
87458
 
87268
- Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
87459
+ Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
87269
87460
 
87270
87461
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
87271
87462
  you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
@@ -87378,7 +87569,7 @@ var init_capabilitiesRequest2 = __esm(() => {
87378
87569
  };
87379
87570
  tool$capabilitiesRequest = {
87380
87571
  name: "capabilities-request",
87381
- description: `Request capabilities for a specific account. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
87572
+ description: `Request capabilities for a specific account. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
87382
87573
 
87383
87574
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
87384
87575
  you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
@@ -87418,7 +87609,7 @@ async function $do42(client, request, options) {
87418
87609
  charEncoding: "percent"
87419
87610
  })
87420
87611
  };
87421
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}")(pathParams);
87612
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
87422
87613
  const headers = new Headers(compactMap({
87423
87614
  Accept: "application/json"
87424
87615
  }));
@@ -87533,7 +87724,7 @@ async function $do43(client, request, options) {
87533
87724
  charEncoding: "percent"
87534
87725
  })
87535
87726
  };
87536
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}/details")(pathParams);
87727
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}/details")(pathParams);
87537
87728
  const headers = new Headers(compactMap({
87538
87729
  Accept: "application/json"
87539
87730
  }));
@@ -87646,7 +87837,7 @@ async function $do44(client, request, options) {
87646
87837
  charEncoding: "percent"
87647
87838
  })
87648
87839
  };
87649
- const path = pathToFunc("/issuing/{accountID}/issued-cards")(pathParams);
87840
+ const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
87650
87841
  const query = encodeFormQuery({
87651
87842
  count: payload.count,
87652
87843
  skip: payload.skip,
@@ -87763,7 +87954,7 @@ async function $do45(client, request, options) {
87763
87954
  charEncoding: "percent"
87764
87955
  })
87765
87956
  };
87766
- const path = pathToFunc("/issuing/{accountID}/issued-cards")(pathParams);
87957
+ const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
87767
87958
  const headers = new Headers(compactMap({
87768
87959
  "Content-Type": "application/json",
87769
87960
  Accept: "application/json"
@@ -87880,7 +88071,7 @@ async function $do46(client, request, options) {
87880
88071
  charEncoding: "percent"
87881
88072
  })
87882
88073
  };
87883
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}")(pathParams);
88074
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
87884
88075
  const headers = new Headers(compactMap({
87885
88076
  "Content-Type": "application/json",
87886
88077
  Accept: "application/json"
@@ -102328,11 +102519,126 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
102328
102519
  };
102329
102520
  });
102330
102521
 
102331
- // src/funcs/transfersListRefunds.ts
102332
- function transfersListRefunds(client, request, options) {
102522
+ // src/funcs/transfersListCancellations.ts
102523
+ function transfersListCancellations(client, request, options) {
102333
102524
  return new APIPromise($do170(client, request, options));
102334
102525
  }
102335
102526
  async function $do170(client, request, options) {
102527
+ const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
102528
+ if (!parsed.ok) {
102529
+ return [parsed, { status: "invalid" }];
102530
+ }
102531
+ const payload = parsed.value;
102532
+ const body = null;
102533
+ const pathParams = {
102534
+ accountID: encodeSimple("accountID", payload.accountID, {
102535
+ explode: false,
102536
+ charEncoding: "percent"
102537
+ }),
102538
+ transferID: encodeSimple("transferID", payload.transferID, {
102539
+ explode: false,
102540
+ charEncoding: "percent"
102541
+ })
102542
+ };
102543
+ const path = pathToFunc("/accounts/{accountID}/transfers/{transferID}/cancellations")(pathParams);
102544
+ const headers = new Headers(compactMap({
102545
+ Accept: "application/json"
102546
+ }));
102547
+ const securityInput = await extractSecurity(client._options.security);
102548
+ const requestSecurity = resolveGlobalSecurity(securityInput);
102549
+ const context = {
102550
+ options: client._options,
102551
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
102552
+ operationID: "listCancellations",
102553
+ oAuth2Scopes: null,
102554
+ resolvedSecurity: requestSecurity,
102555
+ securitySource: client._options.security,
102556
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
102557
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
102558
+ };
102559
+ const requestRes = client._createRequest(context, {
102560
+ security: requestSecurity,
102561
+ method: "GET",
102562
+ baseURL: options?.serverURL,
102563
+ path,
102564
+ headers,
102565
+ body,
102566
+ userAgent: client._options.userAgent,
102567
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
102568
+ }, options);
102569
+ if (!requestRes.ok) {
102570
+ return [requestRes, { status: "invalid" }];
102571
+ }
102572
+ const req = requestRes.value;
102573
+ const doResult = await client._do(req, {
102574
+ context,
102575
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
102576
+ retryConfig: context.retryConfig,
102577
+ retryCodes: context.retryCodes
102578
+ });
102579
+ if (!doResult.ok) {
102580
+ return [doResult, { status: "request-error", request: req }];
102581
+ }
102582
+ const response = doResult.value;
102583
+ const responseFields = {
102584
+ HttpMeta: { Response: response, Request: req }
102585
+ };
102586
+ const [result] = await match(json(200, ListCancellationsResponse$inboundSchema, {
102587
+ hdrs: true,
102588
+ key: "Result"
102589
+ }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
102590
+ if (!result.ok) {
102591
+ return [result, { status: "complete", request: req, response }];
102592
+ }
102593
+ return [result, { status: "complete", request: req, response }];
102594
+ }
102595
+ var init_transfersListCancellations = __esm(() => {
102596
+ init_encodings();
102597
+ init_http();
102598
+ init_matchers();
102599
+ init_primitives();
102600
+ init_schemas4();
102601
+ init_security();
102602
+ init_url();
102603
+ init_operations();
102604
+ init_async();
102605
+ });
102606
+
102607
+ // src/mcp-server/tools/transfersListCancellations.ts
102608
+ var args165, tool$transfersListCancellations;
102609
+ var init_transfersListCancellations2 = __esm(() => {
102610
+ init_transfersListCancellations();
102611
+ init_operations();
102612
+ init_tools();
102613
+ args165 = {
102614
+ request: ListCancellationsRequest$inboundSchema
102615
+ };
102616
+ tool$transfersListCancellations = {
102617
+ name: "transfers-list-cancellations",
102618
+ description: ` Get a list of cancellations for a transfer.
102619
+
102620
+ To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
102621
+ to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
102622
+ args: args165,
102623
+ tool: async (client, args166, ctx) => {
102624
+ const [result, apiCall] = await transfersListCancellations(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102625
+ if (!result.ok) {
102626
+ return {
102627
+ content: [{ type: "text", text: result.error.message }],
102628
+ isError: true
102629
+ };
102630
+ }
102631
+ const value = result.value.result;
102632
+ return formatResult(value, apiCall);
102633
+ }
102634
+ };
102635
+ });
102636
+
102637
+ // src/funcs/transfersListRefunds.ts
102638
+ function transfersListRefunds(client, request, options) {
102639
+ return new APIPromise($do171(client, request, options));
102640
+ }
102641
+ async function $do171(client, request, options) {
102336
102642
  const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
102337
102643
  if (!parsed.ok) {
102338
102644
  return [parsed, { status: "invalid" }];
@@ -102414,12 +102720,12 @@ var init_transfersListRefunds = __esm(() => {
102414
102720
  });
102415
102721
 
102416
102722
  // src/mcp-server/tools/transfersListRefunds.ts
102417
- var args165, tool$transfersListRefunds;
102723
+ var args166, tool$transfersListRefunds;
102418
102724
  var init_transfersListRefunds2 = __esm(() => {
102419
102725
  init_transfersListRefunds();
102420
102726
  init_operations();
102421
102727
  init_tools();
102422
- args165 = {
102728
+ args166 = {
102423
102729
  request: ListRefundsRequest$inboundSchema
102424
102730
  };
102425
102731
  tool$transfersListRefunds = {
@@ -102428,9 +102734,9 @@ var init_transfersListRefunds2 = __esm(() => {
102428
102734
 
102429
102735
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
102430
102736
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
102431
- args: args165,
102432
- tool: async (client, args166, ctx) => {
102433
- const [result, apiCall] = await transfersListRefunds(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102737
+ args: args166,
102738
+ tool: async (client, args167, ctx) => {
102739
+ const [result, apiCall] = await transfersListRefunds(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102434
102740
  if (!result.ok) {
102435
102741
  return {
102436
102742
  content: [{ type: "text", text: result.error.message }],
@@ -102445,9 +102751,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
102445
102751
 
102446
102752
  // src/funcs/transfersUpdate.ts
102447
102753
  function transfersUpdate(client, request, options) {
102448
- return new APIPromise($do171(client, request, options));
102754
+ return new APIPromise($do172(client, request, options));
102449
102755
  }
102450
- async function $do171(client, request, options) {
102756
+ async function $do172(client, request, options) {
102451
102757
  const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
102452
102758
  if (!parsed.ok) {
102453
102759
  return [parsed, { status: "invalid" }];
@@ -102533,12 +102839,12 @@ var init_transfersUpdate = __esm(() => {
102533
102839
  });
102534
102840
 
102535
102841
  // src/mcp-server/tools/transfersUpdate.ts
102536
- var args166, tool$transfersUpdate;
102842
+ var args167, tool$transfersUpdate;
102537
102843
  var init_transfersUpdate2 = __esm(() => {
102538
102844
  init_transfersUpdate();
102539
102845
  init_operations();
102540
102846
  init_tools();
102541
- args166 = {
102847
+ args167 = {
102542
102848
  request: UpdateTransferRequest$inboundSchema
102543
102849
  };
102544
102850
  tool$transfersUpdate = {
@@ -102549,9 +102855,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
102549
102855
 
102550
102856
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
102551
102857
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
102552
- args: args166,
102553
- tool: async (client, args167, ctx) => {
102554
- const [result, apiCall] = await transfersUpdate(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102858
+ args: args167,
102859
+ tool: async (client, args168, ctx) => {
102860
+ const [result, apiCall] = await transfersUpdate(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102555
102861
  if (!result.ok) {
102556
102862
  return {
102557
102863
  content: [{ type: "text", text: result.error.message }],
@@ -102566,9 +102872,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
102566
102872
 
102567
102873
  // src/funcs/underwritingGet.ts
102568
102874
  function underwritingGet(client, request, options) {
102569
- return new APIPromise($do172(client, request, options));
102875
+ return new APIPromise($do173(client, request, options));
102570
102876
  }
102571
- async function $do172(client, request, options) {
102877
+ async function $do173(client, request, options) {
102572
102878
  const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
102573
102879
  if (!parsed.ok) {
102574
102880
  return [parsed, { status: "invalid" }];
@@ -102646,12 +102952,12 @@ var init_underwritingGet = __esm(() => {
102646
102952
  });
102647
102953
 
102648
102954
  // src/mcp-server/tools/underwritingGet.ts
102649
- var args167, tool$underwritingGet;
102955
+ var args168, tool$underwritingGet;
102650
102956
  var init_underwritingGet2 = __esm(() => {
102651
102957
  init_underwritingGet();
102652
102958
  init_operations();
102653
102959
  init_tools();
102654
- args167 = {
102960
+ args168 = {
102655
102961
  request: GetUnderwritingRequest$inboundSchema
102656
102962
  };
102657
102963
  tool$underwritingGet = {
@@ -102662,9 +102968,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
102662
102968
 
102663
102969
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
102664
102970
  you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
102665
- args: args167,
102666
- tool: async (client, args168, ctx) => {
102667
- const [result, apiCall] = await underwritingGet(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102971
+ args: args168,
102972
+ tool: async (client, args169, ctx) => {
102973
+ const [result, apiCall] = await underwritingGet(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102668
102974
  if (!result.ok) {
102669
102975
  return {
102670
102976
  content: [{ type: "text", text: result.error.message }],
@@ -102679,9 +102985,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
102679
102985
 
102680
102986
  // src/funcs/underwritingSave.ts
102681
102987
  function underwritingSave(client, request, options) {
102682
- return new APIPromise($do173(client, request, options));
102988
+ return new APIPromise($do174(client, request, options));
102683
102989
  }
102684
- async function $do173(client, request, options) {
102990
+ async function $do174(client, request, options) {
102685
102991
  const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
102686
102992
  if (!parsed.ok) {
102687
102993
  return [parsed, { status: "invalid" }];
@@ -102765,12 +103071,12 @@ var init_underwritingSave = __esm(() => {
102765
103071
  });
102766
103072
 
102767
103073
  // src/mcp-server/tools/underwritingSave.ts
102768
- var args168, tool$underwritingSave;
103074
+ var args169, tool$underwritingSave;
102769
103075
  var init_underwritingSave2 = __esm(() => {
102770
103076
  init_underwritingSave();
102771
103077
  init_operations();
102772
103078
  init_tools();
102773
- args168 = {
103079
+ args169 = {
102774
103080
  request: SaveUnderwritingRequest$inboundSchema
102775
103081
  };
102776
103082
  tool$underwritingSave = {
@@ -102781,9 +103087,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
102781
103087
 
102782
103088
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
102783
103089
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
102784
- args: args168,
102785
- tool: async (client, args169, ctx) => {
102786
- const [result, apiCall] = await underwritingSave(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103090
+ args: args169,
103091
+ tool: async (client, args170, ctx) => {
103092
+ const [result, apiCall] = await underwritingSave(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102787
103093
  if (!result.ok) {
102788
103094
  return {
102789
103095
  content: [{ type: "text", text: result.error.message }],
@@ -102798,9 +103104,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
102798
103104
 
102799
103105
  // src/funcs/underwritingUpsert.ts
102800
103106
  function underwritingUpsert(client, request, options) {
102801
- return new APIPromise($do174(client, request, options));
103107
+ return new APIPromise($do175(client, request, options));
102802
103108
  }
102803
- async function $do174(client, request, options) {
103109
+ async function $do175(client, request, options) {
102804
103110
  const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
102805
103111
  if (!parsed.ok) {
102806
103112
  return [parsed, { status: "invalid" }];
@@ -102884,12 +103190,12 @@ var init_underwritingUpsert = __esm(() => {
102884
103190
  });
102885
103191
 
102886
103192
  // src/mcp-server/tools/underwritingUpsert.ts
102887
- var args169, tool$underwritingUpsert;
103193
+ var args170, tool$underwritingUpsert;
102888
103194
  var init_underwritingUpsert2 = __esm(() => {
102889
103195
  init_underwritingUpsert();
102890
103196
  init_operations();
102891
103197
  init_tools();
102892
- args169 = {
103198
+ args170 = {
102893
103199
  request: UpsertUnderwritingRequest$inboundSchema
102894
103200
  };
102895
103201
  tool$underwritingUpsert = {
@@ -102900,9 +103206,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
102900
103206
 
102901
103207
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
102902
103208
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
102903
- args: args169,
102904
- tool: async (client, args170, ctx) => {
102905
- const [result, apiCall] = await underwritingUpsert(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103209
+ args: args170,
103210
+ tool: async (client, args171, ctx) => {
103211
+ const [result, apiCall] = await underwritingUpsert(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102906
103212
  if (!result.ok) {
102907
103213
  return {
102908
103214
  content: [{ type: "text", text: result.error.message }],
@@ -102917,9 +103223,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
102917
103223
 
102918
103224
  // src/funcs/walletsCreate.ts
102919
103225
  function walletsCreate(client, request, options) {
102920
- return new APIPromise($do175(client, request, options));
103226
+ return new APIPromise($do176(client, request, options));
102921
103227
  }
102922
- async function $do175(client, request, options) {
103228
+ async function $do176(client, request, options) {
102923
103229
  const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
102924
103230
  if (!parsed.ok) {
102925
103231
  return [parsed, { status: "invalid" }];
@@ -103001,12 +103307,12 @@ var init_walletsCreate = __esm(() => {
103001
103307
  });
103002
103308
 
103003
103309
  // src/mcp-server/tools/walletsCreate.ts
103004
- var args170, tool$walletsCreate;
103310
+ var args171, tool$walletsCreate;
103005
103311
  var init_walletsCreate2 = __esm(() => {
103006
103312
  init_walletsCreate();
103007
103313
  init_operations();
103008
103314
  init_tools();
103009
- args170 = {
103315
+ args171 = {
103010
103316
  request: CreateWalletRequest$inboundSchema
103011
103317
  };
103012
103318
  tool$walletsCreate = {
@@ -103017,9 +103323,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
103017
103323
 
103018
103324
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
103019
103325
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
103020
- args: args170,
103021
- tool: async (client, args171, ctx) => {
103022
- const [result, apiCall] = await walletsCreate(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103326
+ args: args171,
103327
+ tool: async (client, args172, ctx) => {
103328
+ const [result, apiCall] = await walletsCreate(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103023
103329
  if (!result.ok) {
103024
103330
  return {
103025
103331
  content: [{ type: "text", text: result.error.message }],
@@ -103034,9 +103340,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
103034
103340
 
103035
103341
  // src/funcs/walletsGet.ts
103036
103342
  function walletsGet(client, request, options) {
103037
- return new APIPromise($do176(client, request, options));
103343
+ return new APIPromise($do177(client, request, options));
103038
103344
  }
103039
- async function $do176(client, request, options) {
103345
+ async function $do177(client, request, options) {
103040
103346
  const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
103041
103347
  if (!parsed.ok) {
103042
103348
  return [parsed, { status: "invalid" }];
@@ -103118,12 +103424,12 @@ var init_walletsGet = __esm(() => {
103118
103424
  });
103119
103425
 
103120
103426
  // src/mcp-server/tools/walletsGet.ts
103121
- var args171, tool$walletsGet;
103427
+ var args172, tool$walletsGet;
103122
103428
  var init_walletsGet2 = __esm(() => {
103123
103429
  init_walletsGet();
103124
103430
  init_operations();
103125
103431
  init_tools();
103126
- args171 = {
103432
+ args172 = {
103127
103433
  request: GetWalletRequest$inboundSchema
103128
103434
  };
103129
103435
  tool$walletsGet = {
@@ -103134,9 +103440,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
103134
103440
 
103135
103441
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
103136
103442
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
103137
- args: args171,
103138
- tool: async (client, args172, ctx) => {
103139
- const [result, apiCall] = await walletsGet(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103443
+ args: args172,
103444
+ tool: async (client, args173, ctx) => {
103445
+ const [result, apiCall] = await walletsGet(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103140
103446
  if (!result.ok) {
103141
103447
  return {
103142
103448
  content: [{ type: "text", text: result.error.message }],
@@ -103151,9 +103457,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
103151
103457
 
103152
103458
  // src/funcs/walletsList.ts
103153
103459
  function walletsList(client, request, options) {
103154
- return new APIPromise($do177(client, request, options));
103460
+ return new APIPromise($do178(client, request, options));
103155
103461
  }
103156
- async function $do177(client, request, options) {
103462
+ async function $do178(client, request, options) {
103157
103463
  const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
103158
103464
  if (!parsed.ok) {
103159
103465
  return [parsed, { status: "invalid" }];
@@ -103241,12 +103547,12 @@ var init_walletsList = __esm(() => {
103241
103547
  });
103242
103548
 
103243
103549
  // src/mcp-server/tools/walletsList.ts
103244
- var args172, tool$walletsList;
103550
+ var args173, tool$walletsList;
103245
103551
  var init_walletsList2 = __esm(() => {
103246
103552
  init_walletsList();
103247
103553
  init_operations();
103248
103554
  init_tools();
103249
- args172 = {
103555
+ args173 = {
103250
103556
  request: ListWalletsRequest$inboundSchema
103251
103557
  };
103252
103558
  tool$walletsList = {
@@ -103257,9 +103563,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
103257
103563
 
103258
103564
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
103259
103565
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
103260
- args: args172,
103261
- tool: async (client, args173, ctx) => {
103262
- const [result, apiCall] = await walletsList(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103566
+ args: args173,
103567
+ tool: async (client, args174, ctx) => {
103568
+ const [result, apiCall] = await walletsList(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103263
103569
  if (!result.ok) {
103264
103570
  return {
103265
103571
  content: [{ type: "text", text: result.error.message }],
@@ -103274,9 +103580,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
103274
103580
 
103275
103581
  // src/funcs/walletsUpdate.ts
103276
103582
  function walletsUpdate(client, request, options) {
103277
- return new APIPromise($do178(client, request, options));
103583
+ return new APIPromise($do179(client, request, options));
103278
103584
  }
103279
- async function $do178(client, request, options) {
103585
+ async function $do179(client, request, options) {
103280
103586
  const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
103281
103587
  if (!parsed.ok) {
103282
103588
  return [parsed, { status: "invalid" }];
@@ -103362,12 +103668,12 @@ var init_walletsUpdate = __esm(() => {
103362
103668
  });
103363
103669
 
103364
103670
  // src/mcp-server/tools/walletsUpdate.ts
103365
- var args173, tool$walletsUpdate;
103671
+ var args174, tool$walletsUpdate;
103366
103672
  var init_walletsUpdate2 = __esm(() => {
103367
103673
  init_walletsUpdate();
103368
103674
  init_operations();
103369
103675
  init_tools();
103370
- args173 = {
103676
+ args174 = {
103371
103677
  request: UpdateWalletRequest$inboundSchema
103372
103678
  };
103373
103679
  tool$walletsUpdate = {
@@ -103378,9 +103684,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
103378
103684
 
103379
103685
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
103380
103686
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
103381
- args: args173,
103382
- tool: async (client, args174, ctx) => {
103383
- const [result, apiCall] = await walletsUpdate(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103687
+ args: args174,
103688
+ tool: async (client, args175, ctx) => {
103689
+ const [result, apiCall] = await walletsUpdate(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103384
103690
  if (!result.ok) {
103385
103691
  return {
103386
103692
  content: [{ type: "text", text: result.error.message }],
@@ -103395,9 +103701,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
103395
103701
 
103396
103702
  // src/funcs/walletTransactionsGet.ts
103397
103703
  function walletTransactionsGet(client, request, options) {
103398
- return new APIPromise($do179(client, request, options));
103704
+ return new APIPromise($do180(client, request, options));
103399
103705
  }
103400
- async function $do179(client, request, options) {
103706
+ async function $do180(client, request, options) {
103401
103707
  const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
103402
103708
  if (!parsed.ok) {
103403
103709
  return [parsed, { status: "invalid" }];
@@ -103483,12 +103789,12 @@ var init_walletTransactionsGet = __esm(() => {
103483
103789
  });
103484
103790
 
103485
103791
  // src/mcp-server/tools/walletTransactionsGet.ts
103486
- var args174, tool$walletTransactionsGet;
103792
+ var args175, tool$walletTransactionsGet;
103487
103793
  var init_walletTransactionsGet2 = __esm(() => {
103488
103794
  init_walletTransactionsGet();
103489
103795
  init_operations();
103490
103796
  init_tools();
103491
- args174 = {
103797
+ args175 = {
103492
103798
  request: GetWalletTransactionRequest$inboundSchema
103493
103799
  };
103494
103800
  tool$walletTransactionsGet = {
@@ -103499,9 +103805,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
103499
103805
 
103500
103806
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
103501
103807
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
103502
- args: args174,
103503
- tool: async (client, args175, ctx) => {
103504
- const [result, apiCall] = await walletTransactionsGet(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103808
+ args: args175,
103809
+ tool: async (client, args176, ctx) => {
103810
+ const [result, apiCall] = await walletTransactionsGet(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103505
103811
  if (!result.ok) {
103506
103812
  return {
103507
103813
  content: [{ type: "text", text: result.error.message }],
@@ -103516,9 +103822,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
103516
103822
 
103517
103823
  // src/funcs/walletTransactionsList.ts
103518
103824
  function walletTransactionsList(client, request, options) {
103519
- return new APIPromise($do180(client, request, options));
103825
+ return new APIPromise($do181(client, request, options));
103520
103826
  }
103521
- async function $do180(client, request, options) {
103827
+ async function $do181(client, request, options) {
103522
103828
  const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
103523
103829
  if (!parsed.ok) {
103524
103830
  return [parsed, { status: "invalid" }];
@@ -103618,12 +103924,12 @@ var init_walletTransactionsList = __esm(() => {
103618
103924
  });
103619
103925
 
103620
103926
  // src/mcp-server/tools/walletTransactionsList.ts
103621
- var args175, tool$walletTransactionsList;
103927
+ var args176, tool$walletTransactionsList;
103622
103928
  var init_walletTransactionsList2 = __esm(() => {
103623
103929
  init_walletTransactionsList();
103624
103930
  init_operations();
103625
103931
  init_tools();
103626
- args175 = {
103932
+ args176 = {
103627
103933
  request: ListWalletTransactionsRequest$inboundSchema
103628
103934
  };
103629
103935
  tool$walletTransactionsList = {
@@ -103634,9 +103940,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
103634
103940
 
103635
103941
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
103636
103942
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
103637
- args: args175,
103638
- tool: async (client, args176, ctx) => {
103639
- const [result, apiCall] = await walletTransactionsList(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103943
+ args: args176,
103944
+ tool: async (client, args177, ctx) => {
103945
+ const [result, apiCall] = await walletTransactionsList(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103640
103946
  if (!result.ok) {
103641
103947
  return {
103642
103948
  content: [{ type: "text", text: result.error.message }],
@@ -103651,9 +103957,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
103651
103957
 
103652
103958
  // src/funcs/webhooksCreate.ts
103653
103959
  function webhooksCreate(client, request, options) {
103654
- return new APIPromise($do181(client, request, options));
103960
+ return new APIPromise($do182(client, request, options));
103655
103961
  }
103656
- async function $do181(client, request, options) {
103962
+ async function $do182(client, request, options) {
103657
103963
  const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
103658
103964
  if (!parsed.ok) {
103659
103965
  return [parsed, { status: "invalid" }];
@@ -103730,20 +104036,20 @@ var init_webhooksCreate = __esm(() => {
103730
104036
  });
103731
104037
 
103732
104038
  // src/mcp-server/tools/webhooksCreate.ts
103733
- var args176, tool$webhooksCreate;
104039
+ var args177, tool$webhooksCreate;
103734
104040
  var init_webhooksCreate2 = __esm(() => {
103735
104041
  init_webhooksCreate();
103736
104042
  init_components();
103737
104043
  init_tools();
103738
- args176 = {
104044
+ args177 = {
103739
104045
  request: CreateWebhook$inboundSchema
103740
104046
  };
103741
104047
  tool$webhooksCreate = {
103742
104048
  name: "webhooks-create",
103743
104049
  description: `Create a new webhook for the account.`,
103744
- args: args176,
103745
- tool: async (client, args177, ctx) => {
103746
- const [result, apiCall] = await webhooksCreate(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
104050
+ args: args177,
104051
+ tool: async (client, args178, ctx) => {
104052
+ const [result, apiCall] = await webhooksCreate(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103747
104053
  if (!result.ok) {
103748
104054
  return {
103749
104055
  content: [{ type: "text", text: result.error.message }],
@@ -103758,9 +104064,9 @@ var init_webhooksCreate2 = __esm(() => {
103758
104064
 
103759
104065
  // src/funcs/webhooksDisable.ts
103760
104066
  function webhooksDisable(client, request, options) {
103761
- return new APIPromise($do182(client, request, options));
104067
+ return new APIPromise($do183(client, request, options));
103762
104068
  }
103763
- async function $do182(client, request, options) {
104069
+ async function $do183(client, request, options) {
103764
104070
  const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
103765
104071
  if (!parsed.ok) {
103766
104072
  return [parsed, { status: "invalid" }];
@@ -103837,20 +104143,20 @@ var init_webhooksDisable = __esm(() => {
103837
104143
  });
103838
104144
 
103839
104145
  // src/mcp-server/tools/webhooksDisable.ts
103840
- var args177, tool$webhooksDisable;
104146
+ var args178, tool$webhooksDisable;
103841
104147
  var init_webhooksDisable2 = __esm(() => {
103842
104148
  init_webhooksDisable();
103843
104149
  init_operations();
103844
104150
  init_tools();
103845
- args177 = {
104151
+ args178 = {
103846
104152
  request: DisableWebhookRequest$inboundSchema
103847
104153
  };
103848
104154
  tool$webhooksDisable = {
103849
104155
  name: "webhooks-disable",
103850
104156
  description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
103851
- args: args177,
103852
- tool: async (client, args178, ctx) => {
103853
- const [result, apiCall] = await webhooksDisable(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
104157
+ args: args178,
104158
+ tool: async (client, args179, ctx) => {
104159
+ const [result, apiCall] = await webhooksDisable(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103854
104160
  if (!result.ok) {
103855
104161
  return {
103856
104162
  content: [{ type: "text", text: result.error.message }],
@@ -103864,9 +104170,9 @@ var init_webhooksDisable2 = __esm(() => {
103864
104170
 
103865
104171
  // src/funcs/webhooksGet.ts
103866
104172
  function webhooksGet(client, request, options) {
103867
- return new APIPromise($do183(client, request, options));
104173
+ return new APIPromise($do184(client, request, options));
103868
104174
  }
103869
- async function $do183(client, request, options) {
104175
+ async function $do184(client, request, options) {
103870
104176
  const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
103871
104177
  if (!parsed.ok) {
103872
104178
  return [parsed, { status: "invalid" }];
@@ -103944,20 +104250,20 @@ var init_webhooksGet = __esm(() => {
103944
104250
  });
103945
104251
 
103946
104252
  // src/mcp-server/tools/webhooksGet.ts
103947
- var args178, tool$webhooksGet;
104253
+ var args179, tool$webhooksGet;
103948
104254
  var init_webhooksGet2 = __esm(() => {
103949
104255
  init_webhooksGet();
103950
104256
  init_operations();
103951
104257
  init_tools();
103952
- args178 = {
104258
+ args179 = {
103953
104259
  request: GetWebhookRequest$inboundSchema
103954
104260
  };
103955
104261
  tool$webhooksGet = {
103956
104262
  name: "webhooks-get",
103957
104263
  description: `Get details of a specific webhook.`,
103958
- args: args178,
103959
- tool: async (client, args179, ctx) => {
103960
- const [result, apiCall] = await webhooksGet(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
104264
+ args: args179,
104265
+ tool: async (client, args180, ctx) => {
104266
+ const [result, apiCall] = await webhooksGet(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
103961
104267
  if (!result.ok) {
103962
104268
  return {
103963
104269
  content: [{ type: "text", text: result.error.message }],
@@ -103972,9 +104278,9 @@ var init_webhooksGet2 = __esm(() => {
103972
104278
 
103973
104279
  // src/funcs/webhooksGetSecret.ts
103974
104280
  function webhooksGetSecret(client, request, options) {
103975
- return new APIPromise($do184(client, request, options));
104281
+ return new APIPromise($do185(client, request, options));
103976
104282
  }
103977
- async function $do184(client, request, options) {
104283
+ async function $do185(client, request, options) {
103978
104284
  const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
103979
104285
  if (!parsed.ok) {
103980
104286
  return [parsed, { status: "invalid" }];
@@ -104052,20 +104358,20 @@ var init_webhooksGetSecret = __esm(() => {
104052
104358
  });
104053
104359
 
104054
104360
  // src/mcp-server/tools/webhooksGetSecret.ts
104055
- var args179, tool$webhooksGetSecret;
104361
+ var args180, tool$webhooksGetSecret;
104056
104362
  var init_webhooksGetSecret2 = __esm(() => {
104057
104363
  init_webhooksGetSecret();
104058
104364
  init_operations();
104059
104365
  init_tools();
104060
- args179 = {
104366
+ args180 = {
104061
104367
  request: GetWebhookSecretRequest$inboundSchema
104062
104368
  };
104063
104369
  tool$webhooksGetSecret = {
104064
104370
  name: "webhooks-get-secret",
104065
104371
  description: `Get the secret key for verifying webhook payloads.`,
104066
- args: args179,
104067
- tool: async (client, args180, ctx) => {
104068
- const [result, apiCall] = await webhooksGetSecret(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
104372
+ args: args180,
104373
+ tool: async (client, args181, ctx) => {
104374
+ const [result, apiCall] = await webhooksGetSecret(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
104069
104375
  if (!result.ok) {
104070
104376
  return {
104071
104377
  content: [{ type: "text", text: result.error.message }],
@@ -104080,9 +104386,9 @@ var init_webhooksGetSecret2 = __esm(() => {
104080
104386
 
104081
104387
  // src/funcs/webhooksList.ts
104082
104388
  function webhooksList(client, options) {
104083
- return new APIPromise($do185(client, options));
104389
+ return new APIPromise($do186(client, options));
104084
104390
  }
104085
- async function $do185(client, options) {
104391
+ async function $do186(client, options) {
104086
104392
  const path = pathToFunc("/webhooks")();
104087
104393
  const headers = new Headers(compactMap({
104088
104394
  Accept: "application/json"
@@ -104168,9 +104474,9 @@ var init_webhooksList2 = __esm(() => {
104168
104474
 
104169
104475
  // src/funcs/webhooksListEventTypes.ts
104170
104476
  function webhooksListEventTypes(client, options) {
104171
- return new APIPromise($do186(client, options));
104477
+ return new APIPromise($do187(client, options));
104172
104478
  }
104173
- async function $do186(client, options) {
104479
+ async function $do187(client, options) {
104174
104480
  const path = pathToFunc("/event-types")();
104175
104481
  const headers = new Headers(compactMap({
104176
104482
  Accept: "application/json"
@@ -104256,9 +104562,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
104256
104562
 
104257
104563
  // src/funcs/webhooksPing.ts
104258
104564
  function webhooksPing(client, request, options) {
104259
- return new APIPromise($do187(client, request, options));
104565
+ return new APIPromise($do188(client, request, options));
104260
104566
  }
104261
- async function $do187(client, request, options) {
104567
+ async function $do188(client, request, options) {
104262
104568
  const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
104263
104569
  if (!parsed.ok) {
104264
104570
  return [parsed, { status: "invalid" }];
@@ -104336,20 +104642,20 @@ var init_webhooksPing = __esm(() => {
104336
104642
  });
104337
104643
 
104338
104644
  // src/mcp-server/tools/webhooksPing.ts
104339
- var args180, tool$webhooksPing;
104645
+ var args181, tool$webhooksPing;
104340
104646
  var init_webhooksPing2 = __esm(() => {
104341
104647
  init_webhooksPing();
104342
104648
  init_operations();
104343
104649
  init_tools();
104344
- args180 = {
104650
+ args181 = {
104345
104651
  request: PingWebhookRequest$inboundSchema
104346
104652
  };
104347
104653
  tool$webhooksPing = {
104348
104654
  name: "webhooks-ping",
104349
104655
  description: `Send a test ping to a webhook to verify it is configured correctly.`,
104350
- args: args180,
104351
- tool: async (client, args181, ctx) => {
104352
- const [result, apiCall] = await webhooksPing(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
104656
+ args: args181,
104657
+ tool: async (client, args182, ctx) => {
104658
+ const [result, apiCall] = await webhooksPing(client, args182.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
104353
104659
  if (!result.ok) {
104354
104660
  return {
104355
104661
  content: [{ type: "text", text: result.error.message }],
@@ -104364,9 +104670,9 @@ var init_webhooksPing2 = __esm(() => {
104364
104670
 
104365
104671
  // src/funcs/webhooksUpdate.ts
104366
104672
  function webhooksUpdate(client, request, options) {
104367
- return new APIPromise($do188(client, request, options));
104673
+ return new APIPromise($do189(client, request, options));
104368
104674
  }
104369
- async function $do188(client, request, options) {
104675
+ async function $do189(client, request, options) {
104370
104676
  const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
104371
104677
  if (!parsed.ok) {
104372
104678
  return [parsed, { status: "invalid" }];
@@ -104448,20 +104754,20 @@ var init_webhooksUpdate = __esm(() => {
104448
104754
  });
104449
104755
 
104450
104756
  // src/mcp-server/tools/webhooksUpdate.ts
104451
- var args181, tool$webhooksUpdate;
104757
+ var args182, tool$webhooksUpdate;
104452
104758
  var init_webhooksUpdate2 = __esm(() => {
104453
104759
  init_webhooksUpdate();
104454
104760
  init_operations();
104455
104761
  init_tools();
104456
- args181 = {
104762
+ args182 = {
104457
104763
  request: UpdateWebhookRequest$inboundSchema
104458
104764
  };
104459
104765
  tool$webhooksUpdate = {
104460
104766
  name: "webhooks-update",
104461
104767
  description: `Update an existing webhook.`,
104462
- args: args181,
104463
- tool: async (client, args182, ctx) => {
104464
- const [result, apiCall] = await webhooksUpdate(client, args182.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
104768
+ args: args182,
104769
+ tool: async (client, args183, ctx) => {
104770
+ const [result, apiCall] = await webhooksUpdate(client, args183.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
104465
104771
  if (!result.ok) {
104466
104772
  return {
104467
104773
  content: [{ type: "text", text: result.error.message }],
@@ -104478,7 +104784,7 @@ var init_webhooksUpdate2 = __esm(() => {
104478
104784
  function createMCPServer(deps) {
104479
104785
  const server = new McpServer({
104480
104786
  name: "Moov",
104481
- version: "26.7.0-dev.3"
104787
+ version: "26.7.0-dev.4"
104482
104788
  });
104483
104789
  const client = new MoovCore({
104484
104790
  security: deps.security,
@@ -104627,6 +104933,7 @@ function createMCPServer(deps) {
104627
104933
  tool(tool$transfersGet);
104628
104934
  tool(tool$transfersUpdate);
104629
104935
  tool(tool$transfersCreateCancellation);
104936
+ tool(tool$transfersListCancellations);
104630
104937
  tool(tool$transfersGetCancellation);
104631
104938
  tool(tool$transfersInitiateRefund);
104632
104939
  tool(tool$transfersListRefunds);
@@ -104857,6 +105164,7 @@ var init_server2 = __esm(() => {
104857
105164
  init_transfersGetRefund2();
104858
105165
  init_transfersInitiateRefund2();
104859
105166
  init_transfersList2();
105167
+ init_transfersListCancellations2();
104860
105168
  init_transfersListRefunds2();
104861
105169
  init_transfersUpdate2();
104862
105170
  init_underwritingGet2();
@@ -106078,7 +106386,7 @@ var routes = rn({
106078
106386
  var app = Ve(routes, {
106079
106387
  name: "mcp",
106080
106388
  versionInfo: {
106081
- currentVersion: "26.7.0-dev.3"
106389
+ currentVersion: "26.7.0-dev.4"
106082
106390
  }
106083
106391
  });
106084
106392
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -106086,5 +106394,5 @@ export {
106086
106394
  app
106087
106395
  };
106088
106396
 
106089
- //# debugId=D141F052C4F739FF64756E2164756E21
106397
+ //# debugId=773E48B16BFC625D64756E2164756E21
106090
106398
  //# sourceMappingURL=mcp-server.js.map