@moovio/sdk 26.2.7 → 26.3.1

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 (267) hide show
  1. package/README.md +112 -80
  2. package/bin/mcp-server.js +604 -324
  3. package/bin/mcp-server.js.map +59 -59
  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/access-token-hook.d.ts +25 -0
  31. package/hooks/access-token-hook.d.ts.map +1 -0
  32. package/hooks/access-token-hook.js +60 -0
  33. package/hooks/access-token-hook.js.map +1 -0
  34. package/hooks/registration.d.ts.map +1 -1
  35. package/hooks/registration.js +4 -0
  36. package/hooks/registration.js.map +1 -1
  37. package/hooks/types.d.ts +1 -0
  38. package/hooks/types.d.ts.map +1 -1
  39. package/jsr.json +1 -1
  40. package/lib/config.d.ts +7 -3
  41. package/lib/config.d.ts.map +1 -1
  42. package/lib/config.js +3 -3
  43. package/lib/config.js.map +1 -1
  44. package/lib/encodings.js +12 -12
  45. package/lib/encodings.js.map +1 -1
  46. package/lib/matchers.js +3 -3
  47. package/lib/matchers.js.map +1 -1
  48. package/lib/primitives.d.ts +1 -0
  49. package/lib/primitives.d.ts.map +1 -1
  50. package/lib/primitives.js +18 -0
  51. package/lib/primitives.js.map +1 -1
  52. package/lib/retries.js +7 -0
  53. package/lib/retries.js.map +1 -1
  54. package/lib/sdks.d.ts.map +1 -1
  55. package/lib/sdks.js +50 -16
  56. package/lib/sdks.js.map +1 -1
  57. package/mcp-server/cli/start/command.d.ts.map +1 -1
  58. package/mcp-server/cli/start/command.js +8 -0
  59. package/mcp-server/cli/start/command.js.map +1 -1
  60. package/mcp-server/cli/start/impl.d.ts +1 -0
  61. package/mcp-server/cli/start/impl.d.ts.map +1 -1
  62. package/mcp-server/cli/start/impl.js +2 -0
  63. package/mcp-server/cli/start/impl.js.map +1 -1
  64. package/mcp-server/mcp-server.js +1 -1
  65. package/mcp-server/server.d.ts +1 -0
  66. package/mcp-server/server.d.ts.map +1 -1
  67. package/mcp-server/server.js +4 -1
  68. package/mcp-server/server.js.map +1 -1
  69. package/mcp-server/tools/accountsCreate.d.ts.map +1 -1
  70. package/mcp-server/tools/accountsCreate.js +8 -10
  71. package/mcp-server/tools/accountsCreate.js.map +1 -1
  72. package/mcp-server/tools/capabilitiesDisable.js +1 -1
  73. package/mcp-server/tools/capabilitiesGet.js +1 -1
  74. package/mcp-server/tools/capabilitiesList.js +1 -1
  75. package/mcp-server/tools/capabilitiesRequest.js +1 -1
  76. package/mcp-server/tools/transfersListCancellations.d.ts +8 -0
  77. package/mcp-server/tools/transfersListCancellations.d.ts.map +1 -0
  78. package/{models/components/authorizeduser.js → mcp-server/tools/transfersListCancellations.js} +27 -22
  79. package/mcp-server/tools/transfersListCancellations.js.map +1 -0
  80. package/models/components/addcapabilities.d.ts +9 -0
  81. package/models/components/addcapabilities.d.ts.map +1 -1
  82. package/models/components/addcapabilities.js.map +1 -1
  83. package/models/components/capability.d.ts +7 -1
  84. package/models/components/capability.d.ts.map +1 -1
  85. package/models/components/capability.js.map +1 -1
  86. package/models/components/capabilityid.d.ts +14 -2
  87. package/models/components/capabilityid.d.ts.map +1 -1
  88. package/models/components/capabilityid.js +7 -1
  89. package/models/components/capabilityid.js.map +1 -1
  90. package/models/components/createaccount.d.ts +9 -0
  91. package/models/components/createaccount.d.ts.map +1 -1
  92. package/models/components/createaccount.js.map +1 -1
  93. package/models/components/createpaymentlink.d.ts +3 -3
  94. package/models/components/fullissuedcard.d.ts +25 -9
  95. package/models/components/fullissuedcard.d.ts.map +1 -1
  96. package/models/components/fullissuedcard.js +11 -5
  97. package/models/components/fullissuedcard.js.map +1 -1
  98. package/models/components/index.d.ts +1 -4
  99. package/models/components/index.d.ts.map +1 -1
  100. package/models/components/index.js +1 -4
  101. package/models/components/index.js.map +1 -1
  102. package/models/components/issuedcard.d.ts +25 -9
  103. package/models/components/issuedcard.d.ts.map +1 -1
  104. package/models/components/issuedcard.js +11 -5
  105. package/models/components/issuedcard.js.map +1 -1
  106. package/models/components/onboardinginvite.d.ts +1 -1
  107. package/models/components/onboardinginviterequest.d.ts +1 -1
  108. package/models/components/paymentlink.d.ts +2 -2
  109. package/models/components/requestcard.d.ts +14 -17
  110. package/models/components/requestcard.d.ts.map +1 -1
  111. package/models/components/requestcard.js +9 -10
  112. package/models/components/requestcard.js.map +1 -1
  113. package/models/components/updateissuedcard.d.ts +33 -8
  114. package/models/components/updateissuedcard.d.ts.map +1 -1
  115. package/models/components/updateissuedcard.js +35 -6
  116. package/models/components/updateissuedcard.js.map +1 -1
  117. package/models/components/webhookdata.d.ts +3 -2
  118. package/models/components/webhookdata.d.ts.map +1 -1
  119. package/models/components/webhookdata.js +7 -4
  120. package/models/components/webhookdata.js.map +1 -1
  121. package/models/components/webhookdataauthorizationexpiring.d.ts +23 -0
  122. package/models/components/webhookdataauthorizationexpiring.d.ts.map +1 -0
  123. package/models/components/{createauthorizedusererror.js → webhookdataauthorizationexpiring.js} +18 -17
  124. package/models/components/webhookdataauthorizationexpiring.js.map +1 -0
  125. package/models/components/webhookdatacapabilityrequested.d.ts +7 -1
  126. package/models/components/webhookdatacapabilityrequested.d.ts.map +1 -1
  127. package/models/components/webhookdatacapabilityrequested.js.map +1 -1
  128. package/models/components/webhookdatacapabilityupdated.d.ts +7 -1
  129. package/models/components/webhookdatacapabilityupdated.d.ts.map +1 -1
  130. package/models/components/webhookdatacapabilityupdated.js.map +1 -1
  131. package/models/components/webhookdatasweepcreated.d.ts +5 -0
  132. package/models/components/webhookdatasweepcreated.d.ts.map +1 -1
  133. package/models/components/webhookdatasweepcreated.js +2 -0
  134. package/models/components/webhookdatasweepcreated.js.map +1 -1
  135. package/models/components/webhookdatasweepupdated.d.ts +5 -0
  136. package/models/components/webhookdatasweepupdated.d.ts.map +1 -1
  137. package/models/components/webhookdatasweepupdated.js +2 -0
  138. package/models/components/webhookdatasweepupdated.js.map +1 -1
  139. package/models/components/webhookeventtype.d.ts +1 -0
  140. package/models/components/webhookeventtype.d.ts.map +1 -1
  141. package/models/components/webhookeventtype.js +1 -0
  142. package/models/components/webhookeventtype.js.map +1 -1
  143. package/models/errors/requestcarderror.d.ts +12 -12
  144. package/models/errors/requestcarderror.d.ts.map +1 -1
  145. package/models/errors/requestcarderror.js +17 -17
  146. package/models/errors/requestcarderror.js.map +1 -1
  147. package/models/errors/updateissuedcarderror.d.ts +9 -6
  148. package/models/errors/updateissuedcarderror.d.ts.map +1 -1
  149. package/models/errors/updateissuedcarderror.js +12 -9
  150. package/models/errors/updateissuedcarderror.js.map +1 -1
  151. package/models/operations/disablecapability.d.ts +7 -1
  152. package/models/operations/disablecapability.d.ts.map +1 -1
  153. package/models/operations/disablecapability.js.map +1 -1
  154. package/models/operations/getcapability.d.ts +7 -1
  155. package/models/operations/getcapability.d.ts.map +1 -1
  156. package/models/operations/getcapability.js.map +1 -1
  157. package/models/operations/index.d.ts +1 -0
  158. package/models/operations/index.d.ts.map +1 -1
  159. package/models/operations/index.js +1 -0
  160. package/models/operations/index.js.map +1 -1
  161. package/models/operations/listcancellations.d.ts +45 -0
  162. package/models/operations/listcancellations.d.ts.map +1 -0
  163. package/models/operations/listcancellations.js +90 -0
  164. package/models/operations/listcancellations.js.map +1 -0
  165. package/package.json +1 -1
  166. package/sdk/accounts.d.ts +8 -10
  167. package/sdk/accounts.d.ts.map +1 -1
  168. package/sdk/accounts.js +8 -10
  169. package/sdk/accounts.js.map +1 -1
  170. package/sdk/capabilities.d.ts +4 -4
  171. package/sdk/capabilities.js +4 -4
  172. package/sdk/transfers.d.ts +7 -0
  173. package/sdk/transfers.d.ts.map +1 -1
  174. package/sdk/transfers.js +10 -0
  175. package/sdk/transfers.js.map +1 -1
  176. package/src/funcs/accountsCreate.ts +8 -10
  177. package/src/funcs/capabilitiesDisable.ts +1 -1
  178. package/src/funcs/capabilitiesGet.ts +1 -1
  179. package/src/funcs/capabilitiesList.ts +1 -1
  180. package/src/funcs/capabilitiesRequest.ts +1 -1
  181. package/src/funcs/cardIssuingGet.ts +1 -1
  182. package/src/funcs/cardIssuingGetFull.ts +3 -3
  183. package/src/funcs/cardIssuingList.ts +1 -1
  184. package/src/funcs/cardIssuingRequest.ts +1 -1
  185. package/src/funcs/cardIssuingUpdate.ts +1 -1
  186. package/src/funcs/transfersListCancellations.ts +181 -0
  187. package/src/hooks/access-token-hook.ts +73 -0
  188. package/src/hooks/registration.ts +5 -0
  189. package/src/hooks/types.ts +1 -0
  190. package/src/lib/config.ts +8 -3
  191. package/src/lib/encodings.ts +1 -1
  192. package/src/lib/matchers.ts +1 -1
  193. package/src/lib/primitives.ts +16 -0
  194. package/src/lib/retries.ts +8 -0
  195. package/src/lib/sdks.ts +54 -17
  196. package/src/mcp-server/cli/start/command.ts +9 -0
  197. package/src/mcp-server/cli/start/impl.ts +3 -0
  198. package/src/mcp-server/mcp-server.ts +1 -1
  199. package/src/mcp-server/server.ts +5 -1
  200. package/src/mcp-server/tools/accountsCreate.ts +8 -10
  201. package/src/mcp-server/tools/capabilitiesDisable.ts +1 -1
  202. package/src/mcp-server/tools/capabilitiesGet.ts +1 -1
  203. package/src/mcp-server/tools/capabilitiesList.ts +1 -1
  204. package/src/mcp-server/tools/capabilitiesRequest.ts +1 -1
  205. package/src/mcp-server/tools/transfersListCancellations.ts +38 -0
  206. package/src/models/components/addcapabilities.ts +9 -0
  207. package/src/models/components/capability.ts +7 -1
  208. package/src/models/components/capabilityid.ts +14 -2
  209. package/src/models/components/createaccount.ts +9 -0
  210. package/src/models/components/createpaymentlink.ts +3 -3
  211. package/src/models/components/fullissuedcard.ts +35 -17
  212. package/src/models/components/index.ts +1 -4
  213. package/src/models/components/issuedcard.ts +35 -17
  214. package/src/models/components/onboardinginvite.ts +1 -1
  215. package/src/models/components/onboardinginviterequest.ts +1 -1
  216. package/src/models/components/paymentlink.ts +2 -2
  217. package/src/models/components/requestcard.ts +23 -34
  218. package/src/models/components/updateissuedcard.ts +73 -17
  219. package/src/models/components/webhookdata.ts +18 -8
  220. package/src/models/components/webhookdataauthorizationexpiring.ts +65 -0
  221. package/src/models/components/webhookdatacapabilityrequested.ts +7 -1
  222. package/src/models/components/webhookdatacapabilityupdated.ts +7 -1
  223. package/src/models/components/webhookdatasweepcreated.ts +7 -0
  224. package/src/models/components/webhookdatasweepupdated.ts +7 -0
  225. package/src/models/components/webhookeventtype.ts +1 -0
  226. package/src/models/errors/requestcarderror.ts +26 -25
  227. package/src/models/errors/updateissuedcarderror.ts +18 -13
  228. package/src/models/operations/disablecapability.ts +7 -1
  229. package/src/models/operations/getcapability.ts +7 -1
  230. package/src/models/operations/index.ts +1 -0
  231. package/src/models/operations/listcancellations.ts +120 -0
  232. package/src/sdk/accounts.ts +8 -10
  233. package/src/sdk/capabilities.ts +4 -4
  234. package/src/sdk/transfers.ts +18 -0
  235. package/src/types/async.ts +8 -7
  236. package/test/tests/accessToken.test.ts +86 -0
  237. package/types/async.d.ts.map +1 -1
  238. package/types/async.js +8 -7
  239. package/types/async.js.map +1 -1
  240. package/lib/dlv.d.ts +0 -14
  241. package/lib/dlv.d.ts.map +0 -1
  242. package/lib/dlv.js +0 -49
  243. package/lib/dlv.js.map +0 -1
  244. package/lib/is-plain-object.d.ts +0 -2
  245. package/lib/is-plain-object.d.ts.map +0 -1
  246. package/lib/is-plain-object.js +0 -41
  247. package/lib/is-plain-object.js.map +0 -1
  248. package/models/components/authorizeduser.d.ts +0 -22
  249. package/models/components/authorizeduser.d.ts.map +0 -1
  250. package/models/components/authorizeduser.js.map +0 -1
  251. package/models/components/createauthorizeduser.d.ts +0 -25
  252. package/models/components/createauthorizeduser.d.ts.map +0 -1
  253. package/models/components/createauthorizeduser.js +0 -63
  254. package/models/components/createauthorizeduser.js.map +0 -1
  255. package/models/components/createauthorizedusererror.d.ts +0 -22
  256. package/models/components/createauthorizedusererror.d.ts.map +0 -1
  257. package/models/components/createauthorizedusererror.js.map +0 -1
  258. package/models/components/createauthorizeduserupdate.d.ts +0 -25
  259. package/models/components/createauthorizeduserupdate.d.ts.map +0 -1
  260. package/models/components/createauthorizeduserupdate.js +0 -63
  261. package/models/components/createauthorizeduserupdate.js.map +0 -1
  262. package/src/lib/dlv.ts +0 -53
  263. package/src/lib/is-plain-object.ts +0 -43
  264. package/src/models/components/authorizeduser.ts +0 -54
  265. package/src/models/components/createauthorizeduser.ts +0 -68
  266. package/src/models/components/createauthorizedusererror.ts +0 -65
  267. package/src/models/components/createauthorizeduserupdate.ts +0 -68
package/bin/mcp-server.js CHANGED
@@ -37121,6 +37121,57 @@ function remap(inp, mappings) {
37121
37121
  }
37122
37122
  return out;
37123
37123
  }
37124
+ function combineSignals(...signals) {
37125
+ const filtered = [];
37126
+ for (const signal of signals) {
37127
+ if (signal) {
37128
+ filtered.push(signal);
37129
+ }
37130
+ }
37131
+ switch (filtered.length) {
37132
+ case 0:
37133
+ case 1:
37134
+ return filtered[0] || null;
37135
+ default:
37136
+ if ("any" in AbortSignal && typeof AbortSignal.any === "function") {
37137
+ return AbortSignal.any(filtered);
37138
+ }
37139
+ return abortSignalAny(filtered);
37140
+ }
37141
+ }
37142
+ function abortSignalAny(signals) {
37143
+ const controller = new AbortController;
37144
+ const result = controller.signal;
37145
+ if (!signals.length) {
37146
+ return controller.signal;
37147
+ }
37148
+ if (signals.length === 1) {
37149
+ return signals[0] || controller.signal;
37150
+ }
37151
+ for (const signal of signals) {
37152
+ if (signal.aborted) {
37153
+ return signal;
37154
+ }
37155
+ }
37156
+ function abort() {
37157
+ controller.abort(this.reason);
37158
+ clean();
37159
+ }
37160
+ const signalRefs = [];
37161
+ function clean() {
37162
+ for (const signalRef of signalRefs) {
37163
+ const signal = signalRef.deref();
37164
+ if (signal) {
37165
+ signal.removeEventListener("abort", abort);
37166
+ }
37167
+ }
37168
+ }
37169
+ for (const signal of signals) {
37170
+ signalRefs.push(new WeakRef(signal));
37171
+ signal.addEventListener("abort", abort);
37172
+ }
37173
+ return result;
37174
+ }
37124
37175
  function compactMap(values) {
37125
37176
  const out = {};
37126
37177
  for (const [k2, v2] of Object.entries(values)) {
@@ -37136,6 +37187,20 @@ function allRequired(v2) {
37136
37187
  }
37137
37188
  return v2;
37138
37189
  }
37190
+ function isPlainObject2(value) {
37191
+ if (value === null || typeof value !== "object")
37192
+ return false;
37193
+ if (Object.prototype.toString.call(value) !== "[object Object]")
37194
+ return false;
37195
+ const proto = Object.getPrototypeOf(value);
37196
+ if (proto === null || proto === Object.prototype)
37197
+ return true;
37198
+ try {
37199
+ return Object.getPrototypeOf(proto) === null;
37200
+ } catch {
37201
+ return false;
37202
+ }
37203
+ }
37139
37204
  var init_primitives = () => {};
37140
37205
 
37141
37206
  // node_modules/zod/dist/esm/v4/mini/parse.js
@@ -39629,7 +39694,7 @@ class Protocol {
39629
39694
  };
39630
39695
  }
39631
39696
  }
39632
- function isPlainObject2(value) {
39697
+ function isPlainObject3(value) {
39633
39698
  return value !== null && typeof value === "object" && !Array.isArray(value);
39634
39699
  }
39635
39700
  function mergeCapabilities(base, additional) {
@@ -39640,7 +39705,7 @@ function mergeCapabilities(base, additional) {
39640
39705
  if (addValue === undefined)
39641
39706
  continue;
39642
39707
  const baseValue = result[k2];
39643
- if (isPlainObject2(baseValue) && isPlainObject2(addValue)) {
39708
+ if (isPlainObject3(baseValue) && isPlainObject3(addValue)) {
39644
39709
  result[k2] = { ...baseValue, ...addValue };
39645
39710
  } else {
39646
39711
  result[k2] = addValue;
@@ -52835,6 +52900,36 @@ var init_mcp = __esm(() => {
52835
52900
  };
52836
52901
  });
52837
52902
 
52903
+ // src/hooks/access-token-hook.ts
52904
+ class AccessTokenHook {
52905
+ sdkInit(opts) {
52906
+ const token = opts.accessToken;
52907
+ const hasToken = typeof token === "string" && token.length > 0;
52908
+ if (hasToken && opts.security != null) {
52909
+ throw new Error("Moov SDK: `accessToken` and `security.username`/`password` cannot " + "both be set. Use `accessToken` for OAuth2 bearer auth " + "(typically client-side) or `security.username`/`password` for " + "HTTP Basic auth with API keys (server-side).");
52910
+ }
52911
+ if (isBrowserLike && opts.security != null) {
52912
+ throw new Error("Moov SDK: HTTP Basic credentials were provided in a browser-like " + "environment. API keys must never be embedded in client-side " + "code. Mint a short-lived OAuth2 access token on your server " + "and pass it via the `accessToken` option instead.");
52913
+ }
52914
+ return opts;
52915
+ }
52916
+ beforeRequest(ctx, request) {
52917
+ const token = ctx.options.accessToken;
52918
+ if (!token || request.headers.has("Authorization")) {
52919
+ return request;
52920
+ }
52921
+ const next = new Request(request);
52922
+ next.headers.set("Authorization", `Bearer ${token}`);
52923
+ return next;
52924
+ }
52925
+ }
52926
+ var gt, webWorkerLike, isBrowserLike;
52927
+ var init_access_token_hook = __esm(() => {
52928
+ gt = typeof globalThis === "undefined" ? null : globalThis;
52929
+ webWorkerLike = typeof gt === "object" && gt != null && "importScripts" in gt && typeof gt["importScripts"] === "function";
52930
+ isBrowserLike = webWorkerLike || typeof navigator !== "undefined" && "serviceWorker" in navigator || typeof window === "object" && typeof window.document !== "undefined";
52931
+ });
52932
+
52838
52933
  // src/lib/url.ts
52839
52934
  function pathToFunc(pathPattern, options) {
52840
52935
  const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
@@ -52879,9 +52974,9 @@ var init_config = __esm(() => {
52879
52974
  SDK_METADATA = {
52880
52975
  language: "typescript",
52881
52976
  openapiDocVersion: "v2026.01.00",
52882
- sdkVersion: "26.2.7",
52883
- genVersion: "2.884.0",
52884
- userAgent: "speakeasy-sdk/typescript 26.2.7 2.884.0 v2026.01.00 @moovio/sdk"
52977
+ sdkVersion: "26.3.1",
52978
+ genVersion: "2.910.1",
52979
+ userAgent: "speakeasy-sdk/typescript 26.3.1 2.910.1 v2026.01.00 @moovio/sdk"
52885
52980
  };
52886
52981
  });
52887
52982
 
@@ -52901,8 +52996,12 @@ var init_moov_version_hook = __esm(() => {
52901
52996
  function initHooks(hooks) {
52902
52997
  const versionHook = new MoovVersionHook;
52903
52998
  hooks.registerBeforeRequestHook(versionHook);
52999
+ const accessTokenHook = new AccessTokenHook;
53000
+ hooks.registerSDKInitHook(accessTokenHook);
53001
+ hooks.registerBeforeRequestHook(accessTokenHook);
52904
53002
  }
52905
53003
  var init_registration = __esm(() => {
53004
+ init_access_token_hook();
52906
53005
  init_moov_version_hook();
52907
53006
  });
52908
53007
 
@@ -53050,15 +53149,6 @@ var init_base64 = __esm(() => {
53050
53149
  zodInbound = instanceOfType(Uint8Array).or(stringType().transform(bytesFromBase64));
53051
53150
  });
53052
53151
 
53053
- // src/lib/is-plain-object.ts
53054
- function isPlainObject3(value) {
53055
- if (typeof value !== "object" || value === null) {
53056
- return false;
53057
- }
53058
- const prototype = Object.getPrototypeOf(value);
53059
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
53060
- }
53061
-
53062
53152
  // src/lib/encodings.ts
53063
53153
  function formEncoder(sep) {
53064
53154
  return (key, value, options) => {
@@ -53079,7 +53169,7 @@ function formEncoder(sep) {
53079
53169
  return;
53080
53170
  } else if (Array.isArray(pv)) {
53081
53171
  encValue = mapDefined(pv, (v2) => `${encodeValue(v2)}`)?.join(encodedSep);
53082
- } else if (isPlainObject3(pv)) {
53172
+ } else if (isPlainObject2(pv)) {
53083
53173
  encValue = mapDefinedEntries(Object.entries(pv), ([k2, v2]) => {
53084
53174
  return `${encodeString(k2)}${encodedSep}${encodeValue(v2)}`;
53085
53175
  })?.join(encodedSep);
@@ -53102,7 +53192,7 @@ function encodeDeepObject(key, value, options) {
53102
53192
  if (value == null) {
53103
53193
  return;
53104
53194
  }
53105
- if (!isPlainObject3(value)) {
53195
+ if (!isPlainObject2(value)) {
53106
53196
  throw new EncodingError(`Value of parameter '${key}' which uses deepObject encoding must be an object or null`);
53107
53197
  }
53108
53198
  return encodeDeepObjectObject(key, value, options);
@@ -53115,7 +53205,7 @@ function encodeDeepObjectObject(key, value, options) {
53115
53205
  const encodeString = (v2) => {
53116
53206
  return options?.charEncoding === "percent" ? encodeURIComponent(v2) : v2;
53117
53207
  };
53118
- if (!isPlainObject3(value)) {
53208
+ if (!isPlainObject2(value)) {
53119
53209
  throw new EncodingError(`Expected parameter '${key}' to be an object.`);
53120
53210
  }
53121
53211
  Object.entries(value).forEach(([ck, cv]) => {
@@ -53123,7 +53213,7 @@ function encodeDeepObjectObject(key, value, options) {
53123
53213
  return;
53124
53214
  }
53125
53215
  const pk = `${key}[${ck}]`;
53126
- if (isPlainObject3(cv)) {
53216
+ if (isPlainObject2(cv)) {
53127
53217
  const objOut = encodeDeepObjectObject(pk, cv, options);
53128
53218
  out += objOut == null ? "" : `&${objOut}`;
53129
53219
  return;
@@ -53149,7 +53239,7 @@ function encodeJSON(key, value, options) {
53149
53239
  function explode(key, value) {
53150
53240
  if (Array.isArray(value)) {
53151
53241
  return value.map((v2) => [key, v2]);
53152
- } else if (isPlainObject3(value)) {
53242
+ } else if (isPlainObject2(value)) {
53153
53243
  const o = value ?? {};
53154
53244
  return Object.entries(o).map(([k2, v2]) => [k2, v2]);
53155
53245
  } else {
@@ -53274,13 +53364,13 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
53274
53364
  return;
53275
53365
  } else if (Array.isArray(pv)) {
53276
53366
  tmp = mapDefined(pv, (v2) => `${encodeValue(v2)}`)?.join(",");
53277
- } else if (isPlainObject3(pv)) {
53367
+ } else if (isPlainObject2(pv)) {
53278
53368
  const mapped = mapDefinedEntries(Object.entries(pv), ([k2, v2]) => {
53279
53369
  return `,${encodeString(k2)},${encodeValue(v2)}`;
53280
53370
  });
53281
53371
  tmp = mapped?.join("").slice(1);
53282
53372
  } else {
53283
- const k2 = options?.explode && isPlainObject3(value) ? `${pk}=` : "";
53373
+ const k2 = options?.explode && isPlainObject2(value) ? `${pk}=` : "";
53284
53374
  tmp = `${k2}${encodeValue(pv)}`;
53285
53375
  }
53286
53376
  out += tmp ? `,${tmp}` : "";
@@ -53289,6 +53379,7 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
53289
53379
  }, encodeJSONQuery, encodeFormQuery, encodeSpaceDelimitedQuery, encodePipeDelimitedQuery, encodeDeepObjectQuery;
53290
53380
  var init_encodings = __esm(() => {
53291
53381
  init_base64();
53382
+ init_primitives();
53292
53383
  EncodingError = class EncodingError extends Error {
53293
53384
  constructor(message) {
53294
53385
  super(message);
@@ -53554,6 +53645,13 @@ async function retryBackoff(fn, strategy) {
53554
53645
  }
53555
53646
  }
53556
53647
  function retryIntervalFromResponse(res) {
53648
+ const retryAfterMsVal = res.headers.get("retry-after-ms");
53649
+ if (retryAfterMsVal) {
53650
+ const parsedMs = Number(retryAfterMsVal);
53651
+ if (Number.isFinite(parsedMs) && parsedMs >= 0) {
53652
+ return parsedMs;
53653
+ }
53654
+ }
53557
53655
  const retryVal = res.headers.get("retry-after") || "";
53558
53656
  if (!retryVal) {
53559
53657
  return 0;
@@ -53645,24 +53743,41 @@ class ClientSDK {
53645
53743
  if (path) {
53646
53744
  baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/";
53647
53745
  reqURL = new URL(path, baseURL);
53746
+ if (!reqURL.search && baseURL.search) {
53747
+ reqURL.search = baseURL.search;
53748
+ }
53648
53749
  } else {
53649
53750
  reqURL = baseURL;
53650
53751
  }
53651
53752
  reqURL.hash = "";
53652
- let finalQuery = query || "";
53653
- const secQuery = [];
53654
- for (const [k2, v2] of Object.entries(security?.queryParams || {})) {
53655
- const q2 = encodeForm(k2, v2, { charEncoding: "percent" });
53656
- if (typeof q2 !== "undefined") {
53657
- secQuery.push(q2);
53753
+ const mergeQuery = (current, additions) => {
53754
+ if (!additions) {
53755
+ return current;
53658
53756
  }
53659
- }
53660
- if (secQuery.length) {
53661
- finalQuery += `&${secQuery.join("&")}`;
53662
- }
53757
+ const additionKeys = new Set(additions.split("&").filter((pair) => pair !== "").map((pair) => pair.split("=")[0] ?? ""));
53758
+ const kept = current.split("&").filter((pair) => {
53759
+ return pair !== "" && !additionKeys.has(pair.split("=")[0] ?? "");
53760
+ });
53761
+ return [...kept, additions].join("&");
53762
+ };
53763
+ const encodeQueryRecord = (record3) => {
53764
+ return Object.entries(record3).map(([k2, v2]) => {
53765
+ if (v2 == null) {
53766
+ return;
53767
+ }
53768
+ const value = v2;
53769
+ return encodeForm(k2, value, {
53770
+ explode: Array.isArray(value),
53771
+ charEncoding: "percent"
53772
+ });
53773
+ }).filter((pair) => typeof pair !== "undefined").join("&");
53774
+ };
53775
+ const finalQuery = [
53776
+ query || "",
53777
+ encodeQueryRecord(security?.queryParams || {})
53778
+ ].reduce(mergeQuery, reqURL.search.slice(1));
53663
53779
  if (finalQuery) {
53664
- const q2 = finalQuery.startsWith("&") ? finalQuery.slice(1) : finalQuery;
53665
- reqURL.search = `?${q2}`;
53780
+ reqURL.search = `?${finalQuery}`;
53666
53781
  }
53667
53782
  const headers = new Headers(opHeaders);
53668
53783
  const username = security?.basic.username;
@@ -53685,16 +53800,15 @@ class ClientSDK {
53685
53800
  for (const [k2, v2] of userHeaders) {
53686
53801
  headers.set(k2, v2);
53687
53802
  }
53688
- if (!isBrowserLike) {
53803
+ if (!isBrowserLike2) {
53689
53804
  headers.set(conf.uaHeader ?? "user-agent", conf.userAgent ?? SDK_METADATA.userAgent);
53690
53805
  }
53691
53806
  const fetchOptions = {
53692
53807
  ...options?.fetchOptions,
53693
53808
  ...options
53694
53809
  };
53695
- if (!fetchOptions?.signal && conf.timeoutMs && conf.timeoutMs > 0) {
53696
- const timeoutSignal = AbortSignal.timeout(conf.timeoutMs);
53697
- fetchOptions.signal = timeoutSignal;
53810
+ if (!fetchOptions?.signal && conf.timeoutMs != null && conf.timeoutMs > 0) {
53811
+ context.timeoutMs = conf.timeoutMs;
53698
53812
  }
53699
53813
  if (conf.body instanceof ReadableStream) {
53700
53814
  Object.assign(fetchOptions, { duplex: "half" });
@@ -53719,8 +53833,16 @@ class ClientSDK {
53719
53833
  }
53720
53834
  async _do(request, options) {
53721
53835
  const { context, isErrorStatusCode } = options;
53836
+ const timeoutMs = context.timeoutMs;
53722
53837
  return retry(async () => {
53723
- const req = await this.#hooks.beforeRequest(context, request.clone());
53838
+ const cloned = request.clone();
53839
+ let attempt = cloned;
53840
+ if (timeoutMs != null && timeoutMs > 0) {
53841
+ const timeoutSignal = AbortSignal.timeout(timeoutMs);
53842
+ const combined = combineSignals(cloned.signal, timeoutSignal) ?? timeoutSignal;
53843
+ attempt = new Request(cloned, { signal: combined });
53844
+ }
53845
+ const req = await this.#hooks.beforeRequest(context, attempt);
53724
53846
  await logRequest(this.#logger, req).catch((e) => this.#logger?.log("Failed to log request:", e));
53725
53847
  let response = await this.#httpClient.request(req);
53726
53848
  try {
@@ -53830,7 +53952,7 @@ async function logResponse(logger, res, req) {
53830
53952
  logger.groupEnd();
53831
53953
  logger.groupEnd();
53832
53954
  }
53833
- var gt, webWorkerLike, isBrowserLike, jsonLikeContentTypeRE, jsonlLikeContentTypeRE;
53955
+ var gt2, webWorkerLike2, isBrowserLike2, jsonLikeContentTypeRE, jsonlLikeContentTypeRE;
53834
53956
  var init_sdks = __esm(() => {
53835
53957
  init_hooks();
53836
53958
  init_httpclienterrors();
@@ -53838,10 +53960,11 @@ var init_sdks = __esm(() => {
53838
53960
  init_config();
53839
53961
  init_encodings();
53840
53962
  init_http();
53963
+ init_primitives();
53841
53964
  init_retries();
53842
- gt = typeof globalThis === "undefined" ? null : globalThis;
53843
- webWorkerLike = typeof gt === "object" && gt != null && "importScripts" in gt && typeof gt["importScripts"] === "function";
53844
- isBrowserLike = webWorkerLike || typeof navigator !== "undefined" && "serviceWorker" in navigator || typeof window === "object" && typeof window.document !== "undefined";
53965
+ gt2 = typeof globalThis === "undefined" ? null : globalThis;
53966
+ webWorkerLike2 = typeof gt2 === "object" && gt2 != null && "importScripts" in gt2 && typeof gt2["importScripts"] === "function";
53967
+ isBrowserLike2 = webWorkerLike2 || typeof navigator !== "undefined" && "serviceWorker" in navigator || typeof window === "object" && typeof window.document !== "undefined";
53845
53968
  jsonLikeContentTypeRE = /^(application|text)\/([^+]+\+)*json.*/;
53846
53969
  jsonlLikeContentTypeRE = /^(application|text)\/([^+]+\+)*(jsonl|x-ndjson)\b.*/;
53847
53970
  });
@@ -54287,7 +54410,7 @@ function match(...matchers) {
54287
54410
  data = {
54288
54411
  ...options?.extraFields,
54289
54412
  ...matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null,
54290
- ...isPlainObject3(raw) ? raw : null,
54413
+ ...isPlainObject2(raw) ? raw : null,
54291
54414
  request$: request,
54292
54415
  response$: response,
54293
54416
  body$: body
@@ -54302,7 +54425,7 @@ function match(...matchers) {
54302
54425
  data = {
54303
54426
  ...options?.extraFields,
54304
54427
  ...matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null,
54305
- ...isPlainObject3(raw) ? raw : null
54428
+ ...isPlainObject2(raw) ? raw : null
54306
54429
  };
54307
54430
  } else {
54308
54431
  data = raw;
@@ -54342,6 +54465,7 @@ var init_matchers = __esm(() => {
54342
54465
  init_apierror();
54343
54466
  init_responsevalidationerror();
54344
54467
  init_http();
54468
+ init_primitives();
54345
54469
  DEFAULT_CONTENT_TYPES = {
54346
54470
  jsonl: "application/jsonl",
54347
54471
  json: "application/json",
@@ -56342,20 +56466,6 @@ var init_asynctransfer = __esm(() => {
56342
56466
  });
56343
56467
  });
56344
56468
 
56345
- // src/models/components/authorizeduser.ts
56346
- var AuthorizedUser$inboundSchema, AuthorizedUser$outboundSchema;
56347
- var init_authorizeduser = __esm(() => {
56348
- init_esm();
56349
- AuthorizedUser$inboundSchema = objectType({
56350
- firstName: stringType(),
56351
- lastName: stringType()
56352
- });
56353
- AuthorizedUser$outboundSchema = objectType({
56354
- firstName: stringType(),
56355
- lastName: stringType()
56356
- });
56357
- });
56358
-
56359
56469
  // src/models/components/tokentype.ts
56360
56470
  var TokenType, TokenType$inboundSchema, TokenType$outboundSchema;
56361
56471
  var init_tokentype = __esm(() => {
@@ -61091,57 +61201,6 @@ var init_createapplepaysession = __esm(() => {
61091
61201
  });
61092
61202
  });
61093
61203
 
61094
- // src/models/components/createauthorizeduser.ts
61095
- var CreateAuthorizedUser$inboundSchema, CreateAuthorizedUser$outboundSchema;
61096
- var init_createauthorizeduser = __esm(() => {
61097
- init_esm();
61098
- init_birthdate();
61099
- CreateAuthorizedUser$inboundSchema = objectType({
61100
- firstName: stringType(),
61101
- lastName: stringType(),
61102
- birthDate: BirthDate$inboundSchema.optional()
61103
- });
61104
- CreateAuthorizedUser$outboundSchema = objectType({
61105
- firstName: stringType(),
61106
- lastName: stringType(),
61107
- birthDate: BirthDate$outboundSchema.optional()
61108
- });
61109
- });
61110
-
61111
- // src/models/components/createauthorizedusererror.ts
61112
- var CreateAuthorizedUserError$inboundSchema, CreateAuthorizedUserError$outboundSchema;
61113
- var init_createauthorizedusererror = __esm(() => {
61114
- init_esm();
61115
- init_birthdateerror();
61116
- CreateAuthorizedUserError$inboundSchema = objectType({
61117
- firstName: stringType().optional(),
61118
- lastName: stringType().optional(),
61119
- birthDate: BirthDateError$inboundSchema.optional()
61120
- });
61121
- CreateAuthorizedUserError$outboundSchema = objectType({
61122
- firstName: stringType().optional(),
61123
- lastName: stringType().optional(),
61124
- birthDate: BirthDateError$outboundSchema.optional()
61125
- });
61126
- });
61127
-
61128
- // src/models/components/createauthorizeduserupdate.ts
61129
- var CreateAuthorizedUserUpdate$inboundSchema, CreateAuthorizedUserUpdate$outboundSchema;
61130
- var init_createauthorizeduserupdate = __esm(() => {
61131
- init_esm();
61132
- init_birthdateupdate();
61133
- CreateAuthorizedUserUpdate$inboundSchema = objectType({
61134
- firstName: stringType().optional(),
61135
- lastName: stringType().optional(),
61136
- birthDate: BirthDateUpdate$inboundSchema.optional()
61137
- });
61138
- CreateAuthorizedUserUpdate$outboundSchema = objectType({
61139
- firstName: stringType().optional(),
61140
- lastName: stringType().optional(),
61141
- birthDate: BirthDateUpdate$outboundSchema.optional()
61142
- });
61143
- });
61144
-
61145
61204
  // src/models/components/phonenumbererror.ts
61146
61205
  var PhoneNumberError$inboundSchema, PhoneNumberError$outboundSchema;
61147
61206
  var init_phonenumbererror = __esm(() => {
@@ -62880,7 +62939,8 @@ var init_webhookeventtype = __esm(() => {
62880
62939
  WalletCreated: "wallet.created",
62881
62940
  WalletUpdated: "wallet.updated",
62882
62941
  WalletTransactionUpdated: "walletTransaction.updated",
62883
- BillingStatementCreated: "billingStatement.created"
62942
+ BillingStatementCreated: "billingStatement.created",
62943
+ AuthorizationExpiring: "authorization.expiring"
62884
62944
  };
62885
62945
  WebhookEventType$inboundSchema = nativeEnumType(WebhookEventType);
62886
62946
  WebhookEventType$outboundSchema = WebhookEventType$inboundSchema;
@@ -63652,7 +63712,7 @@ var init_issuingcontrols = __esm(() => {
63652
63712
  var FullIssuedCard$inboundSchema, FullIssuedCard$outboundSchema;
63653
63713
  var init_fullissuedcard = __esm(() => {
63654
63714
  init_esm();
63655
- init_authorizeduser();
63715
+ init_address();
63656
63716
  init_cardbrand();
63657
63717
  init_cardexpiration();
63658
63718
  init_issuedcardformfactor();
@@ -63663,13 +63723,16 @@ var init_fullissuedcard = __esm(() => {
63663
63723
  brand: CardBrand$inboundSchema,
63664
63724
  lastFourCardNumber: stringType(),
63665
63725
  expiration: CardExpiration$inboundSchema,
63666
- authorizedUser: AuthorizedUser$inboundSchema,
63667
- memo: stringType().optional(),
63668
63726
  fundingWalletID: stringType(),
63727
+ authorizedUserAccountID: stringType().optional(),
63728
+ nickname: stringType().optional(),
63729
+ metadata: recordType(stringType()).optional(),
63730
+ billingAddress: Address$inboundSchema.optional(),
63669
63731
  state: IssuedCardState$inboundSchema,
63670
63732
  formFactor: IssuedCardFormFactor$inboundSchema,
63671
63733
  controls: IssuingControls$inboundSchema.optional(),
63672
63734
  createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
63735
+ updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
63673
63736
  pan: stringType(),
63674
63737
  cvv: stringType()
63675
63738
  });
@@ -63678,13 +63741,16 @@ var init_fullissuedcard = __esm(() => {
63678
63741
  brand: CardBrand$outboundSchema,
63679
63742
  lastFourCardNumber: stringType(),
63680
63743
  expiration: CardExpiration$outboundSchema,
63681
- authorizedUser: AuthorizedUser$outboundSchema,
63682
- memo: stringType().optional(),
63683
63744
  fundingWalletID: stringType(),
63745
+ authorizedUserAccountID: stringType().optional(),
63746
+ nickname: stringType().optional(),
63747
+ metadata: recordType(stringType()).optional(),
63748
+ billingAddress: Address$outboundSchema.optional(),
63684
63749
  state: IssuedCardState$outboundSchema,
63685
63750
  formFactor: IssuedCardFormFactor$outboundSchema,
63686
63751
  controls: IssuingControls$outboundSchema.optional(),
63687
63752
  createdOn: dateType().transform((v2) => v2.toISOString()),
63753
+ updatedOn: dateType().transform((v2) => v2.toISOString()),
63688
63754
  pan: stringType(),
63689
63755
  cvv: stringType()
63690
63756
  });
@@ -64057,7 +64123,7 @@ var init_invoicestatus = __esm(() => {
64057
64123
  var IssuedCard$inboundSchema, IssuedCard$outboundSchema;
64058
64124
  var init_issuedcard = __esm(() => {
64059
64125
  init_esm();
64060
- init_authorizeduser();
64126
+ init_address();
64061
64127
  init_cardbrand();
64062
64128
  init_cardexpiration();
64063
64129
  init_issuedcardformfactor();
@@ -64068,26 +64134,32 @@ var init_issuedcard = __esm(() => {
64068
64134
  brand: CardBrand$inboundSchema,
64069
64135
  lastFourCardNumber: stringType(),
64070
64136
  expiration: CardExpiration$inboundSchema,
64071
- authorizedUser: AuthorizedUser$inboundSchema,
64072
- memo: stringType().optional(),
64073
64137
  fundingWalletID: stringType(),
64138
+ authorizedUserAccountID: stringType().optional(),
64139
+ nickname: stringType().optional(),
64140
+ metadata: recordType(stringType()).optional(),
64141
+ billingAddress: Address$inboundSchema.optional(),
64074
64142
  state: IssuedCardState$inboundSchema,
64075
64143
  formFactor: IssuedCardFormFactor$inboundSchema,
64076
64144
  controls: IssuingControls$inboundSchema.optional(),
64077
- createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
64145
+ createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
64146
+ updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
64078
64147
  });
64079
64148
  IssuedCard$outboundSchema = objectType({
64080
64149
  issuedCardID: stringType(),
64081
64150
  brand: CardBrand$outboundSchema,
64082
64151
  lastFourCardNumber: stringType(),
64083
64152
  expiration: CardExpiration$outboundSchema,
64084
- authorizedUser: AuthorizedUser$outboundSchema,
64085
- memo: stringType().optional(),
64086
64153
  fundingWalletID: stringType(),
64154
+ authorizedUserAccountID: stringType().optional(),
64155
+ nickname: stringType().optional(),
64156
+ metadata: recordType(stringType()).optional(),
64157
+ billingAddress: Address$outboundSchema.optional(),
64087
64158
  state: IssuedCardState$outboundSchema,
64088
64159
  formFactor: IssuedCardFormFactor$outboundSchema,
64089
64160
  controls: IssuingControls$outboundSchema.optional(),
64090
- createdOn: dateType().transform((v2) => v2.toISOString())
64161
+ createdOn: dateType().transform((v2) => v2.toISOString()),
64162
+ updatedOn: dateType().transform((v2) => v2.toISOString())
64091
64163
  });
64092
64164
  });
64093
64165
 
@@ -66146,23 +66218,22 @@ var init_representativeresponsibilitieserror = __esm(() => {
66146
66218
  var RequestCard$inboundSchema, RequestCard$outboundSchema;
66147
66219
  var init_requestcard = __esm(() => {
66148
66220
  init_esm();
66221
+ init_address();
66149
66222
  init_cardexpiration();
66150
- init_createauthorizeduser();
66151
- init_issuedcardformfactor();
66152
66223
  init_issuingcontrols();
66153
66224
  RequestCard$inboundSchema = objectType({
66154
- fundingWalletID: stringType(),
66155
- authorizedUser: CreateAuthorizedUser$inboundSchema,
66156
- formFactor: IssuedCardFormFactor$inboundSchema,
66157
- memo: stringType().optional(),
66225
+ authorizedUserAccountID: stringType().optional(),
66226
+ nickname: stringType().optional(),
66227
+ metadata: recordType(stringType()).optional(),
66228
+ billingAddress: Address$inboundSchema.optional(),
66158
66229
  expiration: CardExpiration$inboundSchema.optional(),
66159
66230
  controls: IssuingControls$inboundSchema.optional()
66160
66231
  });
66161
66232
  RequestCard$outboundSchema = objectType({
66162
- fundingWalletID: stringType(),
66163
- authorizedUser: CreateAuthorizedUser$outboundSchema,
66164
- formFactor: IssuedCardFormFactor$outboundSchema,
66165
- memo: stringType().optional(),
66233
+ authorizedUserAccountID: stringType().optional(),
66234
+ nickname: stringType().optional(),
66235
+ metadata: recordType(stringType()).optional(),
66236
+ billingAddress: Address$outboundSchema.optional(),
66166
66237
  expiration: CardExpiration$outboundSchema.optional(),
66167
66238
  controls: IssuingControls$outboundSchema.optional()
66168
66239
  });
@@ -67288,20 +67359,37 @@ var init_updateissuedcardstate = __esm(() => {
67288
67359
  });
67289
67360
 
67290
67361
  // src/models/components/updateissuedcard.ts
67291
- var UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
67362
+ var BillingAddress$inboundSchema, BillingAddress$outboundSchema, UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
67292
67363
  var init_updateissuedcard = __esm(() => {
67293
67364
  init_esm();
67294
- init_createauthorizeduserupdate();
67295
67365
  init_updateissuedcardstate();
67366
+ BillingAddress$inboundSchema = objectType({
67367
+ addressLine1: stringType().optional(),
67368
+ addressLine2: stringType().optional(),
67369
+ city: stringType().optional(),
67370
+ stateOrProvince: stringType().optional(),
67371
+ postalCode: stringType().optional(),
67372
+ country: stringType().optional()
67373
+ });
67374
+ BillingAddress$outboundSchema = objectType({
67375
+ addressLine1: stringType().optional(),
67376
+ addressLine2: stringType().optional(),
67377
+ city: stringType().optional(),
67378
+ stateOrProvince: stringType().optional(),
67379
+ postalCode: stringType().optional(),
67380
+ country: stringType().optional()
67381
+ });
67296
67382
  UpdateIssuedCard$inboundSchema = objectType({
67297
67383
  state: UpdateIssuedCardState$inboundSchema.optional(),
67298
- memo: stringType().optional(),
67299
- authorizedUser: CreateAuthorizedUserUpdate$inboundSchema.optional()
67384
+ nickname: nullableType(stringType()).optional(),
67385
+ metadata: nullableType(recordType(stringType())).optional(),
67386
+ billingAddress: nullableType(lazyType(() => BillingAddress$inboundSchema)).optional()
67300
67387
  });
67301
67388
  UpdateIssuedCard$outboundSchema = objectType({
67302
67389
  state: UpdateIssuedCardState$outboundSchema.optional(),
67303
- memo: stringType().optional(),
67304
- authorizedUser: CreateAuthorizedUserUpdate$outboundSchema.optional()
67390
+ nickname: nullableType(stringType()).optional(),
67391
+ metadata: nullableType(recordType(stringType())).optional(),
67392
+ billingAddress: nullableType(lazyType(() => BillingAddress$outboundSchema)).optional()
67305
67393
  });
67306
67394
  });
67307
67395
 
@@ -67773,6 +67861,24 @@ var init_webhookdataaccountupdated = __esm(() => {
67773
67861
  });
67774
67862
  });
67775
67863
 
67864
+ // src/models/components/webhookdataauthorizationexpiring.ts
67865
+ var WebhookDataAuthorizationExpiring$inboundSchema, WebhookDataAuthorizationExpiring$outboundSchema;
67866
+ var init_webhookdataauthorizationexpiring = __esm(() => {
67867
+ init_esm();
67868
+ WebhookDataAuthorizationExpiring$inboundSchema = objectType({
67869
+ merchantAccountID: stringType(),
67870
+ partnerAccountID: stringType(),
67871
+ authorizationID: stringType(),
67872
+ expiresOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
67873
+ });
67874
+ WebhookDataAuthorizationExpiring$outboundSchema = objectType({
67875
+ merchantAccountID: stringType(),
67876
+ partnerAccountID: stringType(),
67877
+ authorizationID: stringType(),
67878
+ expiresOn: dateType().transform((v2) => v2.toISOString())
67879
+ });
67880
+ });
67881
+
67776
67882
  // src/models/components/webhookdatabalanceupdated.ts
67777
67883
  var WebhookDataBalanceUpdated$inboundSchema, WebhookDataBalanceUpdated$outboundSchema;
67778
67884
  var init_webhookdatabalanceupdated = __esm(() => {
@@ -68147,10 +68253,12 @@ var WebhookDataSweepCreated$inboundSchema, WebhookDataSweepCreated$outboundSchem
68147
68253
  var init_webhookdatasweepcreated = __esm(() => {
68148
68254
  init_esm();
68149
68255
  WebhookDataSweepCreated$inboundSchema = objectType({
68256
+ accountID: stringType(),
68150
68257
  walletID: stringType(),
68151
68258
  sweepID: stringType()
68152
68259
  });
68153
68260
  WebhookDataSweepCreated$outboundSchema = objectType({
68261
+ accountID: stringType(),
68154
68262
  walletID: stringType(),
68155
68263
  sweepID: stringType()
68156
68264
  });
@@ -68162,12 +68270,14 @@ var init_webhookdatasweepupdated = __esm(() => {
68162
68270
  init_esm();
68163
68271
  init_sweepstatus();
68164
68272
  WebhookDataSweepUpdated$inboundSchema = objectType({
68273
+ accountID: stringType(),
68165
68274
  walletID: stringType(),
68166
68275
  sweepID: stringType(),
68167
68276
  transferID: stringType().optional(),
68168
68277
  status: SweepStatus$inboundSchema
68169
68278
  });
68170
68279
  WebhookDataSweepUpdated$outboundSchema = objectType({
68280
+ accountID: stringType(),
68171
68281
  walletID: stringType(),
68172
68282
  sweepID: stringType(),
68173
68283
  transferID: stringType().optional(),
@@ -68408,6 +68518,7 @@ var init_webhookdata = __esm(() => {
68408
68518
  init_webhookdataaccountcreated();
68409
68519
  init_webhookdataaccountdisconnected();
68410
68520
  init_webhookdataaccountupdated();
68521
+ init_webhookdataauthorizationexpiring();
68411
68522
  init_webhookdatabalanceupdated();
68412
68523
  init_webhookdatabankaccountcreated();
68413
68524
  init_webhookdatabankaccountdeleted();
@@ -68447,7 +68558,9 @@ var init_webhookdata = __esm(() => {
68447
68558
  WebhookDataTransferUpdated$inboundSchema,
68448
68559
  WebhookDataBankAccountUpdated$inboundSchema,
68449
68560
  WebhookDataRefundUpdated$inboundSchema,
68561
+ WebhookDataSweepUpdated$inboundSchema,
68450
68562
  WebhookDataWalletTransactionUpdated$inboundSchema,
68563
+ WebhookDataAuthorizationExpiring$inboundSchema,
68451
68564
  WebhookDataBankAccountCreated$inboundSchema,
68452
68565
  WebhookDataBankAccountDeleted$inboundSchema,
68453
68566
  WebhookDataCancellationCreated$inboundSchema,
@@ -68458,7 +68571,7 @@ var init_webhookdata = __esm(() => {
68458
68571
  WebhookDataPaymentMethodEnabled$inboundSchema,
68459
68572
  WebhookDataPaymentMethodDisabled$inboundSchema,
68460
68573
  WebhookDataRefundCreated$inboundSchema,
68461
- WebhookDataSweepUpdated$inboundSchema,
68574
+ WebhookDataSweepCreated$inboundSchema,
68462
68575
  WebhookDataTicketUpdated$inboundSchema,
68463
68576
  WebhookDataTransferCreated$inboundSchema,
68464
68577
  WebhookDataWalletUpdated$inboundSchema,
@@ -68468,7 +68581,6 @@ var init_webhookdata = __esm(() => {
68468
68581
  WebhookDataRepresentativeCreated$inboundSchema,
68469
68582
  WebhookDataRepresentativeUpdated$inboundSchema,
68470
68583
  WebhookDataRepresentativeDisabled$inboundSchema,
68471
- WebhookDataSweepCreated$inboundSchema,
68472
68584
  WebhookDataTerminalApplicationCreated$inboundSchema,
68473
68585
  WebhookDataTerminalApplicationUpdated$inboundSchema,
68474
68586
  WebhookDataTicketCreated$inboundSchema,
@@ -68486,7 +68598,9 @@ var init_webhookdata = __esm(() => {
68486
68598
  WebhookDataTransferUpdated$outboundSchema,
68487
68599
  WebhookDataBankAccountUpdated$outboundSchema,
68488
68600
  WebhookDataRefundUpdated$outboundSchema,
68601
+ WebhookDataSweepUpdated$outboundSchema,
68489
68602
  WebhookDataWalletTransactionUpdated$outboundSchema,
68603
+ WebhookDataAuthorizationExpiring$outboundSchema,
68490
68604
  WebhookDataBankAccountCreated$outboundSchema,
68491
68605
  WebhookDataBankAccountDeleted$outboundSchema,
68492
68606
  WebhookDataCancellationCreated$outboundSchema,
@@ -68497,7 +68611,7 @@ var init_webhookdata = __esm(() => {
68497
68611
  WebhookDataPaymentMethodEnabled$outboundSchema,
68498
68612
  WebhookDataPaymentMethodDisabled$outboundSchema,
68499
68613
  WebhookDataRefundCreated$outboundSchema,
68500
- WebhookDataSweepUpdated$outboundSchema,
68614
+ WebhookDataSweepCreated$outboundSchema,
68501
68615
  WebhookDataTicketUpdated$outboundSchema,
68502
68616
  WebhookDataTransferCreated$outboundSchema,
68503
68617
  WebhookDataWalletUpdated$outboundSchema,
@@ -68507,7 +68621,6 @@ var init_webhookdata = __esm(() => {
68507
68621
  WebhookDataRepresentativeCreated$outboundSchema,
68508
68622
  WebhookDataRepresentativeUpdated$outboundSchema,
68509
68623
  WebhookDataRepresentativeDisabled$outboundSchema,
68510
- WebhookDataSweepCreated$outboundSchema,
68511
68624
  WebhookDataTerminalApplicationCreated$outboundSchema,
68512
68625
  WebhookDataTerminalApplicationUpdated$outboundSchema,
68513
68626
  WebhookDataTicketCreated$outboundSchema,
@@ -68604,7 +68717,6 @@ var init_components = __esm(() => {
68604
68717
  init_assignproductimagevalidationerror();
68605
68718
  init_asynccreatedrefund();
68606
68719
  init_asynctransfer();
68607
- init_authorizeduser();
68608
68720
  init_authtoken();
68609
68721
  init_authtokenrequest();
68610
68722
  init_bankaccount();
@@ -68692,9 +68804,6 @@ var init_components = __esm(() => {
68692
68804
  init_createaccountsettings();
68693
68805
  init_createaccounttype();
68694
68806
  init_createapplepaysession();
68695
- init_createauthorizeduser();
68696
- init_createauthorizedusererror();
68697
- init_createauthorizeduserupdate();
68698
68807
  init_createbusinesserror();
68699
68808
  init_createbusinessprofile();
68700
68809
  init_createdtransfer();
@@ -69072,6 +69181,7 @@ var init_components = __esm(() => {
69072
69181
  init_webhookdataaccountcreated();
69073
69182
  init_webhookdataaccountdisconnected();
69074
69183
  init_webhookdataaccountupdated();
69184
+ init_webhookdataauthorizationexpiring();
69075
69185
  init_webhookdatabalanceupdated();
69076
69186
  init_webhookdatabankaccountcreated();
69077
69187
  init_webhookdatabankaccountdeleted();
@@ -70707,10 +70817,10 @@ var init_requestcarderror = __esm(() => {
70707
70817
  init_components();
70708
70818
  init_mooverror();
70709
70819
  RequestCardError = class RequestCardError extends MoovError {
70710
- fundingWalletID;
70711
- formFactor;
70712
- authorizedUser;
70713
- memo;
70820
+ authorizedUserAccountID;
70821
+ nickname;
70822
+ metadata;
70823
+ billingAddress;
70714
70824
  expiration;
70715
70825
  controls;
70716
70826
  data$;
@@ -70718,14 +70828,15 @@ var init_requestcarderror = __esm(() => {
70718
70828
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
70719
70829
  super(message, httpMeta);
70720
70830
  this.data$ = err;
70721
- if (err.fundingWalletID != null)
70722
- this.fundingWalletID = err.fundingWalletID;
70723
- if (err.formFactor != null)
70724
- this.formFactor = err.formFactor;
70725
- if (err.authorizedUser != null)
70726
- this.authorizedUser = err.authorizedUser;
70727
- if (err.memo != null)
70728
- this.memo = err.memo;
70831
+ if (err.authorizedUserAccountID != null) {
70832
+ this.authorizedUserAccountID = err.authorizedUserAccountID;
70833
+ }
70834
+ if (err.nickname != null)
70835
+ this.nickname = err.nickname;
70836
+ if (err.metadata != null)
70837
+ this.metadata = err.metadata;
70838
+ if (err.billingAddress != null)
70839
+ this.billingAddress = err.billingAddress;
70729
70840
  if (err.expiration != null)
70730
70841
  this.expiration = err.expiration;
70731
70842
  if (err.controls != null)
@@ -70734,10 +70845,10 @@ var init_requestcarderror = __esm(() => {
70734
70845
  }
70735
70846
  };
70736
70847
  RequestCardError$inboundSchema = objectType({
70737
- fundingWalletID: stringType().optional(),
70738
- formFactor: stringType().optional(),
70739
- authorizedUser: CreateAuthorizedUserError$inboundSchema.optional(),
70740
- memo: stringType().optional(),
70848
+ authorizedUserAccountID: stringType().optional(),
70849
+ nickname: stringType().optional(),
70850
+ metadata: stringType().optional(),
70851
+ billingAddress: AddressError$inboundSchema.optional(),
70741
70852
  expiration: CardExpirationError$inboundSchema.optional(),
70742
70853
  controls: IssuingControlsError$inboundSchema.optional(),
70743
70854
  request$: instanceOfType(Request),
@@ -70751,10 +70862,10 @@ var init_requestcarderror = __esm(() => {
70751
70862
  });
70752
70863
  });
70753
70864
  RequestCardError$outboundSchema = instanceOfType(RequestCardError).transform((v2) => v2.data$).pipe(objectType({
70754
- fundingWalletID: stringType().optional(),
70755
- formFactor: stringType().optional(),
70756
- authorizedUser: CreateAuthorizedUserError$outboundSchema.optional(),
70757
- memo: stringType().optional(),
70865
+ authorizedUserAccountID: stringType().optional(),
70866
+ nickname: stringType().optional(),
70867
+ metadata: stringType().optional(),
70868
+ billingAddress: AddressError$outboundSchema.optional(),
70758
70869
  expiration: CardExpirationError$outboundSchema.optional(),
70759
70870
  controls: IssuingControlsError$outboundSchema.optional()
70760
70871
  }));
@@ -71325,8 +71436,9 @@ var init_updateissuedcarderror = __esm(() => {
71325
71436
  init_mooverror();
71326
71437
  UpdateIssuedCardError = class UpdateIssuedCardError extends MoovError {
71327
71438
  state;
71328
- memo;
71329
- authorizedUser;
71439
+ nickname;
71440
+ metadata;
71441
+ billingAddress;
71330
71442
  data$;
71331
71443
  constructor(err, httpMeta) {
71332
71444
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
@@ -71334,17 +71446,20 @@ var init_updateissuedcarderror = __esm(() => {
71334
71446
  this.data$ = err;
71335
71447
  if (err.state != null)
71336
71448
  this.state = err.state;
71337
- if (err.memo != null)
71338
- this.memo = err.memo;
71339
- if (err.authorizedUser != null)
71340
- this.authorizedUser = err.authorizedUser;
71449
+ if (err.nickname != null)
71450
+ this.nickname = err.nickname;
71451
+ if (err.metadata != null)
71452
+ this.metadata = err.metadata;
71453
+ if (err.billingAddress != null)
71454
+ this.billingAddress = err.billingAddress;
71341
71455
  this.name = "UpdateIssuedCardError";
71342
71456
  }
71343
71457
  };
71344
71458
  UpdateIssuedCardError$inboundSchema = objectType({
71345
71459
  state: stringType().optional(),
71346
- memo: stringType().optional(),
71347
- authorizedUser: CreateAuthorizedUserError$inboundSchema.optional(),
71460
+ nickname: stringType().optional(),
71461
+ metadata: stringType().optional(),
71462
+ billingAddress: AddressError$inboundSchema.optional(),
71348
71463
  request$: instanceOfType(Request),
71349
71464
  response$: instanceOfType(Response),
71350
71465
  body$: stringType()
@@ -71357,8 +71472,9 @@ var init_updateissuedcarderror = __esm(() => {
71357
71472
  });
71358
71473
  UpdateIssuedCardError$outboundSchema = instanceOfType(UpdateIssuedCardError).transform((v2) => v2.data$).pipe(objectType({
71359
71474
  state: stringType().optional(),
71360
- memo: stringType().optional(),
71361
- authorizedUser: CreateAuthorizedUserError$outboundSchema.optional()
71475
+ nickname: stringType().optional(),
71476
+ metadata: stringType().optional(),
71477
+ billingAddress: AddressError$outboundSchema.optional()
71362
71478
  }));
71363
71479
  });
71364
71480
 
@@ -75327,6 +75443,40 @@ var init_listbankaccounts = __esm(() => {
75327
75443
  });
75328
75444
  });
75329
75445
 
75446
+ // src/models/operations/listcancellations.ts
75447
+ var ListCancellationsRequest$inboundSchema, ListCancellationsRequest$outboundSchema, ListCancellationsResponse$inboundSchema, ListCancellationsResponse$outboundSchema;
75448
+ var init_listcancellations = __esm(() => {
75449
+ init_esm();
75450
+ init_primitives();
75451
+ init_components();
75452
+ ListCancellationsRequest$inboundSchema = objectType({
75453
+ accountID: stringType(),
75454
+ transferID: stringType()
75455
+ });
75456
+ ListCancellationsRequest$outboundSchema = objectType({
75457
+ accountID: stringType(),
75458
+ transferID: stringType()
75459
+ });
75460
+ ListCancellationsResponse$inboundSchema = objectType({
75461
+ Headers: recordType(arrayType(stringType())).default({}),
75462
+ Result: arrayType(Cancellation$inboundSchema)
75463
+ }).transform((v2) => {
75464
+ return remap(v2, {
75465
+ Headers: "headers",
75466
+ Result: "result"
75467
+ });
75468
+ });
75469
+ ListCancellationsResponse$outboundSchema = objectType({
75470
+ headers: recordType(arrayType(stringType())),
75471
+ result: arrayType(Cancellation$outboundSchema)
75472
+ }).transform((v2) => {
75473
+ return remap(v2, {
75474
+ headers: "Headers",
75475
+ result: "Result"
75476
+ });
75477
+ });
75478
+ });
75479
+
75330
75480
  // src/models/operations/listcapabilities.ts
75331
75481
  var ListCapabilitiesRequest$inboundSchema, ListCapabilitiesRequest$outboundSchema, ListCapabilitiesResponse$inboundSchema, ListCapabilitiesResponse$outboundSchema;
75332
75482
  var init_listcapabilities = __esm(() => {
@@ -78275,6 +78425,7 @@ var init_operations = __esm(() => {
78275
78425
  init_listaccountterminalapplications();
78276
78426
  init_listadjustments();
78277
78427
  init_listbankaccounts();
78428
+ init_listcancellations();
78278
78429
  init_listcapabilities();
78279
78430
  init_listcards();
78280
78431
  init_listconnectedaccountsforaccount();
@@ -78359,16 +78510,19 @@ var init_async = __esm(() => {
78359
78510
  [Symbol.toStringTag] = "APIPromise";
78360
78511
  constructor(p) {
78361
78512
  this.#promise = p instanceof Promise ? p : Promise.resolve(p);
78362
- this.#unwrapped = p instanceof Promise ? this.#promise.then(([value]) => value) : Promise.resolve(p[0]);
78513
+ this.#unwrapped = p instanceof Promise ? null : Promise.resolve(p[0]);
78514
+ }
78515
+ #getUnwrapped() {
78516
+ return this.#unwrapped ??= this.#promise.then(([value]) => value);
78363
78517
  }
78364
78518
  then(onfulfilled, onrejected) {
78365
78519
  return this.#promise.then(onfulfilled ? ([value]) => onfulfilled(value) : undefined, onrejected);
78366
78520
  }
78367
78521
  catch(onrejected) {
78368
- return this.#unwrapped.catch(onrejected);
78522
+ return this.#getUnwrapped().catch(onrejected);
78369
78523
  }
78370
78524
  finally(onfinally) {
78371
- return this.#unwrapped.finally(onfinally);
78525
+ return this.#getUnwrapped().finally(onfinally);
78372
78526
  }
78373
78527
  $inspect() {
78374
78528
  return this.#promise;
@@ -78691,21 +78845,19 @@ var init_accountsCreate2 = __esm(() => {
78691
78845
  };
78692
78846
  tool$accountsCreate = {
78693
78847
  name: "accounts-create",
78694
- description: `You can create **business** or **individual** accounts for your users (i.e., customers, merchants) by passing the required
78695
- information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/requirements/).
78848
+ 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/).
78849
+
78850
+ 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:
78851
+ + 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.
78852
+ + 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.
78696
78853
 
78697
- If you're requesting the \`wallet\`, \`send-funds\`, \`collect-funds\`, or \`card-issuing\` capabilities, you'll need to:
78698
- + Send Moov the user [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance.
78699
- 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.
78700
- If you're creating a business account with the business type \`llc\`, \`partnership\`, or \`privateCorporation\`, you'll need to:
78854
+ If you're creating a business account, depending on the business type, you'll also need to:
78701
78855
  + Provide [business representatives](https://docs.moov.io/api/moov-accounts/representatives/) after creating the account.
78702
78856
  + [Patch](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account to indicate that business representative ownership information is complete.
78703
78857
 
78704
- 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/).
78705
- 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.
78858
+ 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.
78706
78859
 
78707
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
78708
- to specify the \`/accounts.write\` scope.`,
78860
+ 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.`,
78709
78861
  args: args3,
78710
78862
  tool: async (client, args4, ctx) => {
78711
78863
  const [result, apiCall] = await accountsCreate(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -82744,7 +82896,7 @@ var init_capabilitiesDisable2 = __esm(() => {
82744
82896
  };
82745
82897
  tool$capabilitiesDisable = {
82746
82898
  name: "capabilities-disable",
82747
- description: `Disable a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
82899
+ 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.
82748
82900
 
82749
82901
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
82750
82902
  you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
@@ -82858,7 +83010,7 @@ var init_capabilitiesGet2 = __esm(() => {
82858
83010
  };
82859
83011
  tool$capabilitiesGet = {
82860
83012
  name: "capabilities-get",
82861
- description: `Retrieve a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
83013
+ 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.
82862
83014
 
82863
83015
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
82864
83016
  you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
@@ -82971,7 +83123,7 @@ var init_capabilitiesList2 = __esm(() => {
82971
83123
  name: "capabilities-list",
82972
83124
  description: `Retrieve all the capabilities an account has requested.
82973
83125
 
82974
- Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
83126
+ Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
82975
83127
 
82976
83128
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
82977
83129
  you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
@@ -83084,7 +83236,7 @@ var init_capabilitiesRequest2 = __esm(() => {
83084
83236
  };
83085
83237
  tool$capabilitiesRequest = {
83086
83238
  name: "capabilities-request",
83087
- description: `Request capabilities for a specific account. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
83239
+ description: `Request capabilities for a specific account. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
83088
83240
 
83089
83241
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
83090
83242
  you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
@@ -83124,7 +83276,7 @@ async function $do42(client, request, options) {
83124
83276
  charEncoding: "percent"
83125
83277
  })
83126
83278
  };
83127
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}")(pathParams);
83279
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
83128
83280
  const headers = new Headers(compactMap({
83129
83281
  Accept: "application/json"
83130
83282
  }));
@@ -83239,7 +83391,7 @@ async function $do43(client, request, options) {
83239
83391
  charEncoding: "percent"
83240
83392
  })
83241
83393
  };
83242
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}/details")(pathParams);
83394
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}/details")(pathParams);
83243
83395
  const headers = new Headers(compactMap({
83244
83396
  Accept: "application/json"
83245
83397
  }));
@@ -83352,7 +83504,7 @@ async function $do44(client, request, options) {
83352
83504
  charEncoding: "percent"
83353
83505
  })
83354
83506
  };
83355
- const path = pathToFunc("/issuing/{accountID}/issued-cards")(pathParams);
83507
+ const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
83356
83508
  const query = encodeFormQuery({
83357
83509
  count: payload.count,
83358
83510
  skip: payload.skip,
@@ -83469,7 +83621,7 @@ async function $do45(client, request, options) {
83469
83621
  charEncoding: "percent"
83470
83622
  })
83471
83623
  };
83472
- const path = pathToFunc("/issuing/{accountID}/issued-cards")(pathParams);
83624
+ const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
83473
83625
  const headers = new Headers(compactMap({
83474
83626
  "Content-Type": "application/json",
83475
83627
  Accept: "application/json"
@@ -83586,7 +83738,7 @@ async function $do46(client, request, options) {
83586
83738
  charEncoding: "percent"
83587
83739
  })
83588
83740
  };
83589
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}")(pathParams);
83741
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
83590
83742
  const headers = new Headers(compactMap({
83591
83743
  "Content-Type": "application/json",
83592
83744
  Accept: "application/json"
@@ -96203,11 +96355,126 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
96203
96355
  };
96204
96356
  });
96205
96357
 
96206
- // src/funcs/transfersListRefunds.ts
96207
- function transfersListRefunds(client, request, options) {
96358
+ // src/funcs/transfersListCancellations.ts
96359
+ function transfersListCancellations(client, request, options) {
96208
96360
  return new APIPromise($do154(client, request, options));
96209
96361
  }
96210
96362
  async function $do154(client, request, options) {
96363
+ const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
96364
+ if (!parsed.ok) {
96365
+ return [parsed, { status: "invalid" }];
96366
+ }
96367
+ const payload = parsed.value;
96368
+ const body = null;
96369
+ const pathParams = {
96370
+ accountID: encodeSimple("accountID", payload.accountID, {
96371
+ explode: false,
96372
+ charEncoding: "percent"
96373
+ }),
96374
+ transferID: encodeSimple("transferID", payload.transferID, {
96375
+ explode: false,
96376
+ charEncoding: "percent"
96377
+ })
96378
+ };
96379
+ const path = pathToFunc("/accounts/{accountID}/transfers/{transferID}/cancellations")(pathParams);
96380
+ const headers = new Headers(compactMap({
96381
+ Accept: "application/json"
96382
+ }));
96383
+ const securityInput = await extractSecurity(client._options.security);
96384
+ const requestSecurity = resolveGlobalSecurity(securityInput);
96385
+ const context = {
96386
+ options: client._options,
96387
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
96388
+ operationID: "listCancellations",
96389
+ oAuth2Scopes: null,
96390
+ resolvedSecurity: requestSecurity,
96391
+ securitySource: client._options.security,
96392
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
96393
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
96394
+ };
96395
+ const requestRes = client._createRequest(context, {
96396
+ security: requestSecurity,
96397
+ method: "GET",
96398
+ baseURL: options?.serverURL,
96399
+ path,
96400
+ headers,
96401
+ body,
96402
+ userAgent: client._options.userAgent,
96403
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
96404
+ }, options);
96405
+ if (!requestRes.ok) {
96406
+ return [requestRes, { status: "invalid" }];
96407
+ }
96408
+ const req = requestRes.value;
96409
+ const doResult = await client._do(req, {
96410
+ context,
96411
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
96412
+ retryConfig: context.retryConfig,
96413
+ retryCodes: context.retryCodes
96414
+ });
96415
+ if (!doResult.ok) {
96416
+ return [doResult, { status: "request-error", request: req }];
96417
+ }
96418
+ const response = doResult.value;
96419
+ const responseFields = {
96420
+ HttpMeta: { Response: response, Request: req }
96421
+ };
96422
+ const [result] = await match(json(200, ListCancellationsResponse$inboundSchema, {
96423
+ hdrs: true,
96424
+ key: "Result"
96425
+ }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
96426
+ if (!result.ok) {
96427
+ return [result, { status: "complete", request: req, response }];
96428
+ }
96429
+ return [result, { status: "complete", request: req, response }];
96430
+ }
96431
+ var init_transfersListCancellations = __esm(() => {
96432
+ init_encodings();
96433
+ init_http();
96434
+ init_matchers();
96435
+ init_primitives();
96436
+ init_schemas4();
96437
+ init_security();
96438
+ init_url();
96439
+ init_operations();
96440
+ init_async();
96441
+ });
96442
+
96443
+ // src/mcp-server/tools/transfersListCancellations.ts
96444
+ var args149, tool$transfersListCancellations;
96445
+ var init_transfersListCancellations2 = __esm(() => {
96446
+ init_transfersListCancellations();
96447
+ init_operations();
96448
+ init_tools();
96449
+ args149 = {
96450
+ request: ListCancellationsRequest$inboundSchema
96451
+ };
96452
+ tool$transfersListCancellations = {
96453
+ name: "transfers-list-cancellations",
96454
+ description: ` Get a list of cancellations for a transfer.
96455
+
96456
+ To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
96457
+ to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
96458
+ args: args149,
96459
+ tool: async (client, args150, ctx) => {
96460
+ const [result, apiCall] = await transfersListCancellations(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96461
+ if (!result.ok) {
96462
+ return {
96463
+ content: [{ type: "text", text: result.error.message }],
96464
+ isError: true
96465
+ };
96466
+ }
96467
+ const value = result.value.result;
96468
+ return formatResult(value, apiCall);
96469
+ }
96470
+ };
96471
+ });
96472
+
96473
+ // src/funcs/transfersListRefunds.ts
96474
+ function transfersListRefunds(client, request, options) {
96475
+ return new APIPromise($do155(client, request, options));
96476
+ }
96477
+ async function $do155(client, request, options) {
96211
96478
  const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
96212
96479
  if (!parsed.ok) {
96213
96480
  return [parsed, { status: "invalid" }];
@@ -96289,12 +96556,12 @@ var init_transfersListRefunds = __esm(() => {
96289
96556
  });
96290
96557
 
96291
96558
  // src/mcp-server/tools/transfersListRefunds.ts
96292
- var args149, tool$transfersListRefunds;
96559
+ var args150, tool$transfersListRefunds;
96293
96560
  var init_transfersListRefunds2 = __esm(() => {
96294
96561
  init_transfersListRefunds();
96295
96562
  init_operations();
96296
96563
  init_tools();
96297
- args149 = {
96564
+ args150 = {
96298
96565
  request: ListRefundsRequest$inboundSchema
96299
96566
  };
96300
96567
  tool$transfersListRefunds = {
@@ -96303,9 +96570,9 @@ var init_transfersListRefunds2 = __esm(() => {
96303
96570
 
96304
96571
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96305
96572
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
96306
- args: args149,
96307
- tool: async (client, args150, ctx) => {
96308
- const [result, apiCall] = await transfersListRefunds(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96573
+ args: args150,
96574
+ tool: async (client, args151, ctx) => {
96575
+ const [result, apiCall] = await transfersListRefunds(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96309
96576
  if (!result.ok) {
96310
96577
  return {
96311
96578
  content: [{ type: "text", text: result.error.message }],
@@ -96320,9 +96587,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
96320
96587
 
96321
96588
  // src/funcs/transfersUpdate.ts
96322
96589
  function transfersUpdate(client, request, options) {
96323
- return new APIPromise($do155(client, request, options));
96590
+ return new APIPromise($do156(client, request, options));
96324
96591
  }
96325
- async function $do155(client, request, options) {
96592
+ async function $do156(client, request, options) {
96326
96593
  const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
96327
96594
  if (!parsed.ok) {
96328
96595
  return [parsed, { status: "invalid" }];
@@ -96408,12 +96675,12 @@ var init_transfersUpdate = __esm(() => {
96408
96675
  });
96409
96676
 
96410
96677
  // src/mcp-server/tools/transfersUpdate.ts
96411
- var args150, tool$transfersUpdate;
96678
+ var args151, tool$transfersUpdate;
96412
96679
  var init_transfersUpdate2 = __esm(() => {
96413
96680
  init_transfersUpdate();
96414
96681
  init_operations();
96415
96682
  init_tools();
96416
- args150 = {
96683
+ args151 = {
96417
96684
  request: UpdateTransferRequest$inboundSchema
96418
96685
  };
96419
96686
  tool$transfersUpdate = {
@@ -96424,9 +96691,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
96424
96691
 
96425
96692
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96426
96693
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
96427
- args: args150,
96428
- tool: async (client, args151, ctx) => {
96429
- const [result, apiCall] = await transfersUpdate(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96694
+ args: args151,
96695
+ tool: async (client, args152, ctx) => {
96696
+ const [result, apiCall] = await transfersUpdate(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96430
96697
  if (!result.ok) {
96431
96698
  return {
96432
96699
  content: [{ type: "text", text: result.error.message }],
@@ -96441,9 +96708,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
96441
96708
 
96442
96709
  // src/funcs/underwritingGet.ts
96443
96710
  function underwritingGet(client, request, options) {
96444
- return new APIPromise($do156(client, request, options));
96711
+ return new APIPromise($do157(client, request, options));
96445
96712
  }
96446
- async function $do156(client, request, options) {
96713
+ async function $do157(client, request, options) {
96447
96714
  const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
96448
96715
  if (!parsed.ok) {
96449
96716
  return [parsed, { status: "invalid" }];
@@ -96521,12 +96788,12 @@ var init_underwritingGet = __esm(() => {
96521
96788
  });
96522
96789
 
96523
96790
  // src/mcp-server/tools/underwritingGet.ts
96524
- var args151, tool$underwritingGet;
96791
+ var args152, tool$underwritingGet;
96525
96792
  var init_underwritingGet2 = __esm(() => {
96526
96793
  init_underwritingGet();
96527
96794
  init_operations();
96528
96795
  init_tools();
96529
- args151 = {
96796
+ args152 = {
96530
96797
  request: GetUnderwritingRequest$inboundSchema
96531
96798
  };
96532
96799
  tool$underwritingGet = {
@@ -96537,9 +96804,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
96537
96804
 
96538
96805
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96539
96806
  you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
96540
- args: args151,
96541
- tool: async (client, args152, ctx) => {
96542
- const [result, apiCall] = await underwritingGet(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96807
+ args: args152,
96808
+ tool: async (client, args153, ctx) => {
96809
+ const [result, apiCall] = await underwritingGet(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96543
96810
  if (!result.ok) {
96544
96811
  return {
96545
96812
  content: [{ type: "text", text: result.error.message }],
@@ -96554,9 +96821,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
96554
96821
 
96555
96822
  // src/funcs/underwritingSave.ts
96556
96823
  function underwritingSave(client, request, options) {
96557
- return new APIPromise($do157(client, request, options));
96824
+ return new APIPromise($do158(client, request, options));
96558
96825
  }
96559
- async function $do157(client, request, options) {
96826
+ async function $do158(client, request, options) {
96560
96827
  const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
96561
96828
  if (!parsed.ok) {
96562
96829
  return [parsed, { status: "invalid" }];
@@ -96640,12 +96907,12 @@ var init_underwritingSave = __esm(() => {
96640
96907
  });
96641
96908
 
96642
96909
  // src/mcp-server/tools/underwritingSave.ts
96643
- var args152, tool$underwritingSave;
96910
+ var args153, tool$underwritingSave;
96644
96911
  var init_underwritingSave2 = __esm(() => {
96645
96912
  init_underwritingSave();
96646
96913
  init_operations();
96647
96914
  init_tools();
96648
- args152 = {
96915
+ args153 = {
96649
96916
  request: SaveUnderwritingRequest$inboundSchema
96650
96917
  };
96651
96918
  tool$underwritingSave = {
@@ -96656,9 +96923,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
96656
96923
 
96657
96924
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96658
96925
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
96659
- args: args152,
96660
- tool: async (client, args153, ctx) => {
96661
- const [result, apiCall] = await underwritingSave(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96926
+ args: args153,
96927
+ tool: async (client, args154, ctx) => {
96928
+ const [result, apiCall] = await underwritingSave(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96662
96929
  if (!result.ok) {
96663
96930
  return {
96664
96931
  content: [{ type: "text", text: result.error.message }],
@@ -96673,9 +96940,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
96673
96940
 
96674
96941
  // src/funcs/underwritingUpsert.ts
96675
96942
  function underwritingUpsert(client, request, options) {
96676
- return new APIPromise($do158(client, request, options));
96943
+ return new APIPromise($do159(client, request, options));
96677
96944
  }
96678
- async function $do158(client, request, options) {
96945
+ async function $do159(client, request, options) {
96679
96946
  const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
96680
96947
  if (!parsed.ok) {
96681
96948
  return [parsed, { status: "invalid" }];
@@ -96759,12 +97026,12 @@ var init_underwritingUpsert = __esm(() => {
96759
97026
  });
96760
97027
 
96761
97028
  // src/mcp-server/tools/underwritingUpsert.ts
96762
- var args153, tool$underwritingUpsert;
97029
+ var args154, tool$underwritingUpsert;
96763
97030
  var init_underwritingUpsert2 = __esm(() => {
96764
97031
  init_underwritingUpsert();
96765
97032
  init_operations();
96766
97033
  init_tools();
96767
- args153 = {
97034
+ args154 = {
96768
97035
  request: UpsertUnderwritingRequest$inboundSchema
96769
97036
  };
96770
97037
  tool$underwritingUpsert = {
@@ -96775,9 +97042,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
96775
97042
 
96776
97043
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96777
97044
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
96778
- args: args153,
96779
- tool: async (client, args154, ctx) => {
96780
- const [result, apiCall] = await underwritingUpsert(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97045
+ args: args154,
97046
+ tool: async (client, args155, ctx) => {
97047
+ const [result, apiCall] = await underwritingUpsert(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96781
97048
  if (!result.ok) {
96782
97049
  return {
96783
97050
  content: [{ type: "text", text: result.error.message }],
@@ -96792,9 +97059,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
96792
97059
 
96793
97060
  // src/funcs/walletsCreate.ts
96794
97061
  function walletsCreate(client, request, options) {
96795
- return new APIPromise($do159(client, request, options));
97062
+ return new APIPromise($do160(client, request, options));
96796
97063
  }
96797
- async function $do159(client, request, options) {
97064
+ async function $do160(client, request, options) {
96798
97065
  const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
96799
97066
  if (!parsed.ok) {
96800
97067
  return [parsed, { status: "invalid" }];
@@ -96876,12 +97143,12 @@ var init_walletsCreate = __esm(() => {
96876
97143
  });
96877
97144
 
96878
97145
  // src/mcp-server/tools/walletsCreate.ts
96879
- var args154, tool$walletsCreate;
97146
+ var args155, tool$walletsCreate;
96880
97147
  var init_walletsCreate2 = __esm(() => {
96881
97148
  init_walletsCreate();
96882
97149
  init_operations();
96883
97150
  init_tools();
96884
- args154 = {
97151
+ args155 = {
96885
97152
  request: CreateWalletRequest$inboundSchema
96886
97153
  };
96887
97154
  tool$walletsCreate = {
@@ -96892,9 +97159,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
96892
97159
 
96893
97160
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96894
97161
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
96895
- args: args154,
96896
- tool: async (client, args155, ctx) => {
96897
- const [result, apiCall] = await walletsCreate(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97162
+ args: args155,
97163
+ tool: async (client, args156, ctx) => {
97164
+ const [result, apiCall] = await walletsCreate(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96898
97165
  if (!result.ok) {
96899
97166
  return {
96900
97167
  content: [{ type: "text", text: result.error.message }],
@@ -96909,9 +97176,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
96909
97176
 
96910
97177
  // src/funcs/walletsGet.ts
96911
97178
  function walletsGet(client, request, options) {
96912
- return new APIPromise($do160(client, request, options));
97179
+ return new APIPromise($do161(client, request, options));
96913
97180
  }
96914
- async function $do160(client, request, options) {
97181
+ async function $do161(client, request, options) {
96915
97182
  const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
96916
97183
  if (!parsed.ok) {
96917
97184
  return [parsed, { status: "invalid" }];
@@ -96993,12 +97260,12 @@ var init_walletsGet = __esm(() => {
96993
97260
  });
96994
97261
 
96995
97262
  // src/mcp-server/tools/walletsGet.ts
96996
- var args155, tool$walletsGet;
97263
+ var args156, tool$walletsGet;
96997
97264
  var init_walletsGet2 = __esm(() => {
96998
97265
  init_walletsGet();
96999
97266
  init_operations();
97000
97267
  init_tools();
97001
- args155 = {
97268
+ args156 = {
97002
97269
  request: GetWalletRequest$inboundSchema
97003
97270
  };
97004
97271
  tool$walletsGet = {
@@ -97009,9 +97276,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
97009
97276
 
97010
97277
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
97011
97278
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97012
- args: args155,
97013
- tool: async (client, args156, ctx) => {
97014
- const [result, apiCall] = await walletsGet(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97279
+ args: args156,
97280
+ tool: async (client, args157, ctx) => {
97281
+ const [result, apiCall] = await walletsGet(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97015
97282
  if (!result.ok) {
97016
97283
  return {
97017
97284
  content: [{ type: "text", text: result.error.message }],
@@ -97026,9 +97293,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97026
97293
 
97027
97294
  // src/funcs/walletsList.ts
97028
97295
  function walletsList(client, request, options) {
97029
- return new APIPromise($do161(client, request, options));
97296
+ return new APIPromise($do162(client, request, options));
97030
97297
  }
97031
- async function $do161(client, request, options) {
97298
+ async function $do162(client, request, options) {
97032
97299
  const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
97033
97300
  if (!parsed.ok) {
97034
97301
  return [parsed, { status: "invalid" }];
@@ -97116,12 +97383,12 @@ var init_walletsList = __esm(() => {
97116
97383
  });
97117
97384
 
97118
97385
  // src/mcp-server/tools/walletsList.ts
97119
- var args156, tool$walletsList;
97386
+ var args157, tool$walletsList;
97120
97387
  var init_walletsList2 = __esm(() => {
97121
97388
  init_walletsList();
97122
97389
  init_operations();
97123
97390
  init_tools();
97124
- args156 = {
97391
+ args157 = {
97125
97392
  request: ListWalletsRequest$inboundSchema
97126
97393
  };
97127
97394
  tool$walletsList = {
@@ -97132,9 +97399,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
97132
97399
 
97133
97400
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
97134
97401
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97135
- args: args156,
97136
- tool: async (client, args157, ctx) => {
97137
- const [result, apiCall] = await walletsList(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97402
+ args: args157,
97403
+ tool: async (client, args158, ctx) => {
97404
+ const [result, apiCall] = await walletsList(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97138
97405
  if (!result.ok) {
97139
97406
  return {
97140
97407
  content: [{ type: "text", text: result.error.message }],
@@ -97149,9 +97416,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97149
97416
 
97150
97417
  // src/funcs/walletsUpdate.ts
97151
97418
  function walletsUpdate(client, request, options) {
97152
- return new APIPromise($do162(client, request, options));
97419
+ return new APIPromise($do163(client, request, options));
97153
97420
  }
97154
- async function $do162(client, request, options) {
97421
+ async function $do163(client, request, options) {
97155
97422
  const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
97156
97423
  if (!parsed.ok) {
97157
97424
  return [parsed, { status: "invalid" }];
@@ -97237,12 +97504,12 @@ var init_walletsUpdate = __esm(() => {
97237
97504
  });
97238
97505
 
97239
97506
  // src/mcp-server/tools/walletsUpdate.ts
97240
- var args157, tool$walletsUpdate;
97507
+ var args158, tool$walletsUpdate;
97241
97508
  var init_walletsUpdate2 = __esm(() => {
97242
97509
  init_walletsUpdate();
97243
97510
  init_operations();
97244
97511
  init_tools();
97245
- args157 = {
97512
+ args158 = {
97246
97513
  request: UpdateWalletRequest$inboundSchema
97247
97514
  };
97248
97515
  tool$walletsUpdate = {
@@ -97253,9 +97520,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
97253
97520
 
97254
97521
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
97255
97522
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
97256
- args: args157,
97257
- tool: async (client, args158, ctx) => {
97258
- const [result, apiCall] = await walletsUpdate(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97523
+ args: args158,
97524
+ tool: async (client, args159, ctx) => {
97525
+ const [result, apiCall] = await walletsUpdate(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97259
97526
  if (!result.ok) {
97260
97527
  return {
97261
97528
  content: [{ type: "text", text: result.error.message }],
@@ -97270,9 +97537,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
97270
97537
 
97271
97538
  // src/funcs/walletTransactionsGet.ts
97272
97539
  function walletTransactionsGet(client, request, options) {
97273
- return new APIPromise($do163(client, request, options));
97540
+ return new APIPromise($do164(client, request, options));
97274
97541
  }
97275
- async function $do163(client, request, options) {
97542
+ async function $do164(client, request, options) {
97276
97543
  const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
97277
97544
  if (!parsed.ok) {
97278
97545
  return [parsed, { status: "invalid" }];
@@ -97358,12 +97625,12 @@ var init_walletTransactionsGet = __esm(() => {
97358
97625
  });
97359
97626
 
97360
97627
  // src/mcp-server/tools/walletTransactionsGet.ts
97361
- var args158, tool$walletTransactionsGet;
97628
+ var args159, tool$walletTransactionsGet;
97362
97629
  var init_walletTransactionsGet2 = __esm(() => {
97363
97630
  init_walletTransactionsGet();
97364
97631
  init_operations();
97365
97632
  init_tools();
97366
- args158 = {
97633
+ args159 = {
97367
97634
  request: GetWalletTransactionRequest$inboundSchema
97368
97635
  };
97369
97636
  tool$walletTransactionsGet = {
@@ -97374,9 +97641,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
97374
97641
 
97375
97642
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
97376
97643
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97377
- args: args158,
97378
- tool: async (client, args159, ctx) => {
97379
- const [result, apiCall] = await walletTransactionsGet(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97644
+ args: args159,
97645
+ tool: async (client, args160, ctx) => {
97646
+ const [result, apiCall] = await walletTransactionsGet(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97380
97647
  if (!result.ok) {
97381
97648
  return {
97382
97649
  content: [{ type: "text", text: result.error.message }],
@@ -97391,9 +97658,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97391
97658
 
97392
97659
  // src/funcs/walletTransactionsList.ts
97393
97660
  function walletTransactionsList(client, request, options) {
97394
- return new APIPromise($do164(client, request, options));
97661
+ return new APIPromise($do165(client, request, options));
97395
97662
  }
97396
- async function $do164(client, request, options) {
97663
+ async function $do165(client, request, options) {
97397
97664
  const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
97398
97665
  if (!parsed.ok) {
97399
97666
  return [parsed, { status: "invalid" }];
@@ -97493,12 +97760,12 @@ var init_walletTransactionsList = __esm(() => {
97493
97760
  });
97494
97761
 
97495
97762
  // src/mcp-server/tools/walletTransactionsList.ts
97496
- var args159, tool$walletTransactionsList;
97763
+ var args160, tool$walletTransactionsList;
97497
97764
  var init_walletTransactionsList2 = __esm(() => {
97498
97765
  init_walletTransactionsList();
97499
97766
  init_operations();
97500
97767
  init_tools();
97501
- args159 = {
97768
+ args160 = {
97502
97769
  request: ListWalletTransactionsRequest$inboundSchema
97503
97770
  };
97504
97771
  tool$walletTransactionsList = {
@@ -97509,9 +97776,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
97509
97776
 
97510
97777
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
97511
97778
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97512
- args: args159,
97513
- tool: async (client, args160, ctx) => {
97514
- const [result, apiCall] = await walletTransactionsList(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97779
+ args: args160,
97780
+ tool: async (client, args161, ctx) => {
97781
+ const [result, apiCall] = await walletTransactionsList(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97515
97782
  if (!result.ok) {
97516
97783
  return {
97517
97784
  content: [{ type: "text", text: result.error.message }],
@@ -97526,9 +97793,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97526
97793
 
97527
97794
  // src/funcs/webhooksCreate.ts
97528
97795
  function webhooksCreate(client, request, options) {
97529
- return new APIPromise($do165(client, request, options));
97796
+ return new APIPromise($do166(client, request, options));
97530
97797
  }
97531
- async function $do165(client, request, options) {
97798
+ async function $do166(client, request, options) {
97532
97799
  const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
97533
97800
  if (!parsed.ok) {
97534
97801
  return [parsed, { status: "invalid" }];
@@ -97605,20 +97872,20 @@ var init_webhooksCreate = __esm(() => {
97605
97872
  });
97606
97873
 
97607
97874
  // src/mcp-server/tools/webhooksCreate.ts
97608
- var args160, tool$webhooksCreate;
97875
+ var args161, tool$webhooksCreate;
97609
97876
  var init_webhooksCreate2 = __esm(() => {
97610
97877
  init_webhooksCreate();
97611
97878
  init_components();
97612
97879
  init_tools();
97613
- args160 = {
97880
+ args161 = {
97614
97881
  request: CreateWebhook$inboundSchema
97615
97882
  };
97616
97883
  tool$webhooksCreate = {
97617
97884
  name: "webhooks-create",
97618
97885
  description: `Create a new webhook for the account.`,
97619
- args: args160,
97620
- tool: async (client, args161, ctx) => {
97621
- const [result, apiCall] = await webhooksCreate(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97886
+ args: args161,
97887
+ tool: async (client, args162, ctx) => {
97888
+ const [result, apiCall] = await webhooksCreate(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97622
97889
  if (!result.ok) {
97623
97890
  return {
97624
97891
  content: [{ type: "text", text: result.error.message }],
@@ -97633,9 +97900,9 @@ var init_webhooksCreate2 = __esm(() => {
97633
97900
 
97634
97901
  // src/funcs/webhooksDisable.ts
97635
97902
  function webhooksDisable(client, request, options) {
97636
- return new APIPromise($do166(client, request, options));
97903
+ return new APIPromise($do167(client, request, options));
97637
97904
  }
97638
- async function $do166(client, request, options) {
97905
+ async function $do167(client, request, options) {
97639
97906
  const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
97640
97907
  if (!parsed.ok) {
97641
97908
  return [parsed, { status: "invalid" }];
@@ -97713,20 +97980,20 @@ var init_webhooksDisable = __esm(() => {
97713
97980
  });
97714
97981
 
97715
97982
  // src/mcp-server/tools/webhooksDisable.ts
97716
- var args161, tool$webhooksDisable;
97983
+ var args162, tool$webhooksDisable;
97717
97984
  var init_webhooksDisable2 = __esm(() => {
97718
97985
  init_webhooksDisable();
97719
97986
  init_operations();
97720
97987
  init_tools();
97721
- args161 = {
97988
+ args162 = {
97722
97989
  request: DisableWebhookRequest$inboundSchema
97723
97990
  };
97724
97991
  tool$webhooksDisable = {
97725
97992
  name: "webhooks-disable",
97726
97993
  description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
97727
- args: args161,
97728
- tool: async (client, args162, ctx) => {
97729
- const [result, apiCall] = await webhooksDisable(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97994
+ args: args162,
97995
+ tool: async (client, args163, ctx) => {
97996
+ const [result, apiCall] = await webhooksDisable(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97730
97997
  if (!result.ok) {
97731
97998
  return {
97732
97999
  content: [{ type: "text", text: result.error.message }],
@@ -97740,9 +98007,9 @@ var init_webhooksDisable2 = __esm(() => {
97740
98007
 
97741
98008
  // src/funcs/webhooksGet.ts
97742
98009
  function webhooksGet(client, request, options) {
97743
- return new APIPromise($do167(client, request, options));
98010
+ return new APIPromise($do168(client, request, options));
97744
98011
  }
97745
- async function $do167(client, request, options) {
98012
+ async function $do168(client, request, options) {
97746
98013
  const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
97747
98014
  if (!parsed.ok) {
97748
98015
  return [parsed, { status: "invalid" }];
@@ -97820,20 +98087,20 @@ var init_webhooksGet = __esm(() => {
97820
98087
  });
97821
98088
 
97822
98089
  // src/mcp-server/tools/webhooksGet.ts
97823
- var args162, tool$webhooksGet;
98090
+ var args163, tool$webhooksGet;
97824
98091
  var init_webhooksGet2 = __esm(() => {
97825
98092
  init_webhooksGet();
97826
98093
  init_operations();
97827
98094
  init_tools();
97828
- args162 = {
98095
+ args163 = {
97829
98096
  request: GetWebhookRequest$inboundSchema
97830
98097
  };
97831
98098
  tool$webhooksGet = {
97832
98099
  name: "webhooks-get",
97833
98100
  description: `Get details of a specific webhook.`,
97834
- args: args162,
97835
- tool: async (client, args163, ctx) => {
97836
- const [result, apiCall] = await webhooksGet(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98101
+ args: args163,
98102
+ tool: async (client, args164, ctx) => {
98103
+ const [result, apiCall] = await webhooksGet(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97837
98104
  if (!result.ok) {
97838
98105
  return {
97839
98106
  content: [{ type: "text", text: result.error.message }],
@@ -97848,9 +98115,9 @@ var init_webhooksGet2 = __esm(() => {
97848
98115
 
97849
98116
  // src/funcs/webhooksGetSecret.ts
97850
98117
  function webhooksGetSecret(client, request, options) {
97851
- return new APIPromise($do168(client, request, options));
98118
+ return new APIPromise($do169(client, request, options));
97852
98119
  }
97853
- async function $do168(client, request, options) {
98120
+ async function $do169(client, request, options) {
97854
98121
  const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
97855
98122
  if (!parsed.ok) {
97856
98123
  return [parsed, { status: "invalid" }];
@@ -97928,20 +98195,20 @@ var init_webhooksGetSecret = __esm(() => {
97928
98195
  });
97929
98196
 
97930
98197
  // src/mcp-server/tools/webhooksGetSecret.ts
97931
- var args163, tool$webhooksGetSecret;
98198
+ var args164, tool$webhooksGetSecret;
97932
98199
  var init_webhooksGetSecret2 = __esm(() => {
97933
98200
  init_webhooksGetSecret();
97934
98201
  init_operations();
97935
98202
  init_tools();
97936
- args163 = {
98203
+ args164 = {
97937
98204
  request: GetWebhookSecretRequest$inboundSchema
97938
98205
  };
97939
98206
  tool$webhooksGetSecret = {
97940
98207
  name: "webhooks-get-secret",
97941
98208
  description: `Get the secret key for verifying webhook payloads.`,
97942
- args: args163,
97943
- tool: async (client, args164, ctx) => {
97944
- const [result, apiCall] = await webhooksGetSecret(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98209
+ args: args164,
98210
+ tool: async (client, args165, ctx) => {
98211
+ const [result, apiCall] = await webhooksGetSecret(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97945
98212
  if (!result.ok) {
97946
98213
  return {
97947
98214
  content: [{ type: "text", text: result.error.message }],
@@ -97956,9 +98223,9 @@ var init_webhooksGetSecret2 = __esm(() => {
97956
98223
 
97957
98224
  // src/funcs/webhooksList.ts
97958
98225
  function webhooksList(client, options) {
97959
- return new APIPromise($do169(client, options));
98226
+ return new APIPromise($do170(client, options));
97960
98227
  }
97961
- async function $do169(client, options) {
98228
+ async function $do170(client, options) {
97962
98229
  const path = pathToFunc("/webhooks")();
97963
98230
  const headers = new Headers(compactMap({
97964
98231
  Accept: "application/json"
@@ -98044,9 +98311,9 @@ var init_webhooksList2 = __esm(() => {
98044
98311
 
98045
98312
  // src/funcs/webhooksListEventTypes.ts
98046
98313
  function webhooksListEventTypes(client, options) {
98047
- return new APIPromise($do170(client, options));
98314
+ return new APIPromise($do171(client, options));
98048
98315
  }
98049
- async function $do170(client, options) {
98316
+ async function $do171(client, options) {
98050
98317
  const path = pathToFunc("/event-types")();
98051
98318
  const headers = new Headers(compactMap({
98052
98319
  Accept: "application/json"
@@ -98132,9 +98399,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
98132
98399
 
98133
98400
  // src/funcs/webhooksPing.ts
98134
98401
  function webhooksPing(client, request, options) {
98135
- return new APIPromise($do171(client, request, options));
98402
+ return new APIPromise($do172(client, request, options));
98136
98403
  }
98137
- async function $do171(client, request, options) {
98404
+ async function $do172(client, request, options) {
98138
98405
  const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
98139
98406
  if (!parsed.ok) {
98140
98407
  return [parsed, { status: "invalid" }];
@@ -98212,20 +98479,20 @@ var init_webhooksPing = __esm(() => {
98212
98479
  });
98213
98480
 
98214
98481
  // src/mcp-server/tools/webhooksPing.ts
98215
- var args164, tool$webhooksPing;
98482
+ var args165, tool$webhooksPing;
98216
98483
  var init_webhooksPing2 = __esm(() => {
98217
98484
  init_webhooksPing();
98218
98485
  init_operations();
98219
98486
  init_tools();
98220
- args164 = {
98487
+ args165 = {
98221
98488
  request: PingWebhookRequest$inboundSchema
98222
98489
  };
98223
98490
  tool$webhooksPing = {
98224
98491
  name: "webhooks-ping",
98225
98492
  description: `Send a test ping to a webhook to verify it is configured correctly.`,
98226
- args: args164,
98227
- tool: async (client, args165, ctx) => {
98228
- const [result, apiCall] = await webhooksPing(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98493
+ args: args165,
98494
+ tool: async (client, args166, ctx) => {
98495
+ const [result, apiCall] = await webhooksPing(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98229
98496
  if (!result.ok) {
98230
98497
  return {
98231
98498
  content: [{ type: "text", text: result.error.message }],
@@ -98240,9 +98507,9 @@ var init_webhooksPing2 = __esm(() => {
98240
98507
 
98241
98508
  // src/funcs/webhooksUpdate.ts
98242
98509
  function webhooksUpdate(client, request, options) {
98243
- return new APIPromise($do172(client, request, options));
98510
+ return new APIPromise($do173(client, request, options));
98244
98511
  }
98245
- async function $do172(client, request, options) {
98512
+ async function $do173(client, request, options) {
98246
98513
  const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
98247
98514
  if (!parsed.ok) {
98248
98515
  return [parsed, { status: "invalid" }];
@@ -98324,20 +98591,20 @@ var init_webhooksUpdate = __esm(() => {
98324
98591
  });
98325
98592
 
98326
98593
  // src/mcp-server/tools/webhooksUpdate.ts
98327
- var args165, tool$webhooksUpdate;
98594
+ var args166, tool$webhooksUpdate;
98328
98595
  var init_webhooksUpdate2 = __esm(() => {
98329
98596
  init_webhooksUpdate();
98330
98597
  init_operations();
98331
98598
  init_tools();
98332
- args165 = {
98599
+ args166 = {
98333
98600
  request: UpdateWebhookRequest$inboundSchema
98334
98601
  };
98335
98602
  tool$webhooksUpdate = {
98336
98603
  name: "webhooks-update",
98337
98604
  description: `Update an existing webhook.`,
98338
- args: args165,
98339
- tool: async (client, args166, ctx) => {
98340
- const [result, apiCall] = await webhooksUpdate(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98605
+ args: args166,
98606
+ tool: async (client, args167, ctx) => {
98607
+ const [result, apiCall] = await webhooksUpdate(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98341
98608
  if (!result.ok) {
98342
98609
  return {
98343
98610
  content: [{ type: "text", text: result.error.message }],
@@ -98354,10 +98621,11 @@ var init_webhooksUpdate2 = __esm(() => {
98354
98621
  function createMCPServer(deps) {
98355
98622
  const server = new McpServer({
98356
98623
  name: "Moov",
98357
- version: "26.2.7"
98624
+ version: "26.3.1"
98358
98625
  });
98359
98626
  const client = new MoovCore({
98360
98627
  security: deps.security,
98628
+ accessToken: deps.accessToken,
98361
98629
  serverURL: deps.serverURL,
98362
98630
  serverIdx: deps.serverIdx
98363
98631
  });
@@ -98486,6 +98754,7 @@ function createMCPServer(deps) {
98486
98754
  tool(tool$transfersGet);
98487
98755
  tool(tool$transfersUpdate);
98488
98756
  tool(tool$transfersCreateCancellation);
98757
+ tool(tool$transfersListCancellations);
98489
98758
  tool(tool$transfersGetCancellation);
98490
98759
  tool(tool$transfersInitiateRefund);
98491
98760
  tool(tool$transfersListRefunds);
@@ -98700,6 +98969,7 @@ var init_server2 = __esm(() => {
98700
98969
  init_transfersGetRefund2();
98701
98970
  init_transfersInitiateRefund2();
98702
98971
  init_transfersList2();
98972
+ init_transfersListCancellations2();
98703
98973
  init_transfersListRefunds2();
98704
98974
  init_transfersUpdate2();
98705
98975
  init_underwritingGet2();
@@ -98751,6 +99021,7 @@ async function startStdio(flags) {
98751
99021
  username: flags.username ?? "",
98752
99022
  password: flags.password ?? ""
98753
99023
  }),
99024
+ accessToken: flags["access-token"],
98754
99025
  serverURL: flags["server-url"],
98755
99026
  serverIdx: flags["server-index"]
98756
99027
  });
@@ -98772,6 +99043,7 @@ async function startSSE(flags) {
98772
99043
  username: flags.username ?? "",
98773
99044
  password: flags.password ?? ""
98774
99045
  }),
99046
+ accessToken: flags["access-token"],
98775
99047
  serverURL: flags["server-url"],
98776
99048
  serverIdx: flags["server-index"]
98777
99049
  });
@@ -99852,6 +100124,14 @@ var startCommand = tn({
99852
100124
  return stringType().parse(value);
99853
100125
  }
99854
100126
  },
100127
+ "access-token": {
100128
+ kind: "parsed",
100129
+ brief: "Allows setting the accessToken parameter for all supported operations",
100130
+ optional: true,
100131
+ parse: (value) => {
100132
+ return stringType().parse(value);
100133
+ }
100134
+ },
99855
100135
  "server-url": {
99856
100136
  kind: "parsed",
99857
100137
  brief: "Overrides the default server URL used by the SDK",
@@ -99911,7 +100191,7 @@ var routes = rn({
99911
100191
  var app = Ve(routes, {
99912
100192
  name: "mcp",
99913
100193
  versionInfo: {
99914
- currentVersion: "26.2.7"
100194
+ currentVersion: "26.3.1"
99915
100195
  }
99916
100196
  });
99917
100197
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -99919,5 +100199,5 @@ export {
99919
100199
  app
99920
100200
  };
99921
100201
 
99922
- //# debugId=16036F6BB02E0BF364756E2164756E21
100202
+ //# debugId=ED5EC5D39C97A85864756E2164756E21
99923
100203
  //# sourceMappingURL=mcp-server.js.map