@moovio/sdk 25.12.0 → 25.12.3

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 (287) hide show
  1. package/README.md +84 -80
  2. package/bin/mcp-server.js +566 -326
  3. package/bin/mcp-server.js.map +67 -68
  4. package/funcs/accountsCreate.d.ts +8 -10
  5. package/funcs/accountsCreate.d.ts.map +1 -1
  6. package/funcs/accountsCreate.js +8 -10
  7. package/funcs/accountsCreate.js.map +1 -1
  8. package/funcs/bankAccountsLink.d.ts +1 -1
  9. package/funcs/bankAccountsLink.js +1 -1
  10. package/funcs/capabilitiesDisable.d.ts +1 -1
  11. package/funcs/capabilitiesDisable.js +1 -1
  12. package/funcs/capabilitiesGet.d.ts +1 -1
  13. package/funcs/capabilitiesGet.js +1 -1
  14. package/funcs/capabilitiesList.d.ts +1 -1
  15. package/funcs/capabilitiesList.js +1 -1
  16. package/funcs/capabilitiesRequest.d.ts +1 -1
  17. package/funcs/capabilitiesRequest.js +1 -1
  18. package/funcs/cardIssuingGet.js +1 -1
  19. package/funcs/cardIssuingGet.js.map +1 -1
  20. package/funcs/cardIssuingGetFull.js +1 -1
  21. package/funcs/cardIssuingGetFull.js.map +1 -1
  22. package/funcs/cardIssuingList.js +1 -1
  23. package/funcs/cardIssuingList.js.map +1 -1
  24. package/funcs/cardIssuingRequest.js +1 -1
  25. package/funcs/cardIssuingRequest.js.map +1 -1
  26. package/funcs/cardIssuingUpdate.js +1 -1
  27. package/funcs/cardIssuingUpdate.js.map +1 -1
  28. package/funcs/transfersListCancellations.d.ts +17 -0
  29. package/funcs/transfersListCancellations.d.ts.map +1 -0
  30. package/funcs/transfersListCancellations.js +129 -0
  31. package/funcs/transfersListCancellations.js.map +1 -0
  32. package/hooks/types.d.ts +1 -0
  33. package/hooks/types.d.ts.map +1 -1
  34. package/jsr.json +1 -1
  35. package/lib/config.d.ts +3 -3
  36. package/lib/config.js +3 -3
  37. package/lib/encodings.js +12 -12
  38. package/lib/encodings.js.map +1 -1
  39. package/lib/http.d.ts +1 -1
  40. package/lib/http.d.ts.map +1 -1
  41. package/lib/http.js +1 -1
  42. package/lib/http.js.map +1 -1
  43. package/lib/matchers.js +3 -3
  44. package/lib/matchers.js.map +1 -1
  45. package/lib/primitives.d.ts +1 -0
  46. package/lib/primitives.d.ts.map +1 -1
  47. package/lib/primitives.js +18 -0
  48. package/lib/primitives.js.map +1 -1
  49. package/lib/retries.js +7 -0
  50. package/lib/retries.js.map +1 -1
  51. package/lib/sdks.d.ts.map +1 -1
  52. package/lib/sdks.js +50 -16
  53. package/lib/sdks.js.map +1 -1
  54. package/lib/security.d.ts +5 -4
  55. package/lib/security.d.ts.map +1 -1
  56. package/lib/security.js +6 -7
  57. package/lib/security.js.map +1 -1
  58. package/mcp-server/mcp-server.js +1 -1
  59. package/mcp-server/server.d.ts.map +1 -1
  60. package/mcp-server/server.js +3 -1
  61. package/mcp-server/server.js.map +1 -1
  62. package/mcp-server/tools/accountsCreate.d.ts.map +1 -1
  63. package/mcp-server/tools/accountsCreate.js +8 -10
  64. package/mcp-server/tools/accountsCreate.js.map +1 -1
  65. package/mcp-server/tools/bankAccountsLink.js +1 -1
  66. package/mcp-server/tools/capabilitiesDisable.js +1 -1
  67. package/mcp-server/tools/capabilitiesGet.js +1 -1
  68. package/mcp-server/tools/capabilitiesList.js +1 -1
  69. package/mcp-server/tools/capabilitiesRequest.js +1 -1
  70. package/mcp-server/tools/transfersListCancellations.d.ts +8 -0
  71. package/mcp-server/tools/transfersListCancellations.d.ts.map +1 -0
  72. package/{models/components/authorizeduser.js → mcp-server/tools/transfersListCancellations.js} +27 -22
  73. package/mcp-server/tools/transfersListCancellations.js.map +1 -0
  74. package/models/components/addcapabilities.d.ts +9 -0
  75. package/models/components/addcapabilities.d.ts.map +1 -1
  76. package/models/components/addcapabilities.js.map +1 -1
  77. package/models/components/capability.d.ts +7 -1
  78. package/models/components/capability.d.ts.map +1 -1
  79. package/models/components/capability.js.map +1 -1
  80. package/models/components/capabilityid.d.ts +15 -2
  81. package/models/components/capabilityid.d.ts.map +1 -1
  82. package/models/components/capabilityid.js +8 -1
  83. package/models/components/capabilityid.js.map +1 -1
  84. package/models/components/cardbrandfees.d.ts +5 -0
  85. package/models/components/cardbrandfees.d.ts.map +1 -1
  86. package/models/components/cardbrandfees.js +2 -0
  87. package/models/components/cardbrandfees.js.map +1 -1
  88. package/models/components/createaccount.d.ts +9 -0
  89. package/models/components/createaccount.d.ts.map +1 -1
  90. package/models/components/createaccount.js.map +1 -1
  91. package/models/components/createpaymentlink.d.ts +3 -3
  92. package/models/components/fullissuedcard.d.ts +26 -12
  93. package/models/components/fullissuedcard.d.ts.map +1 -1
  94. package/models/components/fullissuedcard.js +11 -5
  95. package/models/components/fullissuedcard.js.map +1 -1
  96. package/models/components/index.d.ts +1 -4
  97. package/models/components/index.d.ts.map +1 -1
  98. package/models/components/index.js +1 -4
  99. package/models/components/index.js.map +1 -1
  100. package/models/components/issuedcard.d.ts +26 -12
  101. package/models/components/issuedcard.d.ts.map +1 -1
  102. package/models/components/issuedcard.js +11 -5
  103. package/models/components/issuedcard.js.map +1 -1
  104. package/models/components/issuedcardstate.d.ts +2 -8
  105. package/models/components/issuedcardstate.d.ts.map +1 -1
  106. package/models/components/issuedcardstate.js +1 -5
  107. package/models/components/issuedcardstate.js.map +1 -1
  108. package/models/components/manualtermsofservice.d.ts +1 -1
  109. package/models/components/manualtermsofserviceupdate.d.ts +1 -1
  110. package/models/components/onboardinginvite.d.ts +1 -1
  111. package/models/components/onboardinginviterequest.d.ts +1 -1
  112. package/models/components/patchtransfer.d.ts +3 -0
  113. package/models/components/patchtransfer.d.ts.map +1 -1
  114. package/models/components/patchtransfer.js.map +1 -1
  115. package/models/components/paymentlink.d.ts +2 -2
  116. package/models/components/requestcard.d.ts +14 -17
  117. package/models/components/requestcard.d.ts.map +1 -1
  118. package/models/components/requestcard.js +9 -10
  119. package/models/components/requestcard.js.map +1 -1
  120. package/models/components/termsofservice.d.ts +1 -1
  121. package/models/components/updateissuedcard.d.ts +33 -8
  122. package/models/components/updateissuedcard.d.ts.map +1 -1
  123. package/models/components/updateissuedcard.js +35 -6
  124. package/models/components/updateissuedcard.js.map +1 -1
  125. package/models/components/webhookdata.d.ts +3 -2
  126. package/models/components/webhookdata.d.ts.map +1 -1
  127. package/models/components/webhookdata.js +7 -4
  128. package/models/components/webhookdata.js.map +1 -1
  129. package/models/components/webhookdataauthorizationexpiring.d.ts +23 -0
  130. package/models/components/webhookdataauthorizationexpiring.d.ts.map +1 -0
  131. package/models/components/{createauthorizedusererror.js → webhookdataauthorizationexpiring.js} +18 -17
  132. package/models/components/webhookdataauthorizationexpiring.js.map +1 -0
  133. package/models/components/webhookdatacapabilityrequested.d.ts +7 -1
  134. package/models/components/webhookdatacapabilityrequested.d.ts.map +1 -1
  135. package/models/components/webhookdatacapabilityrequested.js.map +1 -1
  136. package/models/components/webhookdatacapabilityupdated.d.ts +7 -1
  137. package/models/components/webhookdatacapabilityupdated.d.ts.map +1 -1
  138. package/models/components/webhookdatacapabilityupdated.js.map +1 -1
  139. package/models/components/webhookdatasweepcreated.d.ts +5 -0
  140. package/models/components/webhookdatasweepcreated.d.ts.map +1 -1
  141. package/models/components/webhookdatasweepcreated.js +2 -0
  142. package/models/components/webhookdatasweepcreated.js.map +1 -1
  143. package/models/components/webhookdatasweepupdated.d.ts +5 -0
  144. package/models/components/webhookdatasweepupdated.d.ts.map +1 -1
  145. package/models/components/webhookdatasweepupdated.js +2 -0
  146. package/models/components/webhookdatasweepupdated.js.map +1 -1
  147. package/models/components/webhookeventtype.d.ts +1 -0
  148. package/models/components/webhookeventtype.d.ts.map +1 -1
  149. package/models/components/webhookeventtype.js +1 -0
  150. package/models/components/webhookeventtype.js.map +1 -1
  151. package/models/errors/requestcarderror.d.ts +12 -12
  152. package/models/errors/requestcarderror.d.ts.map +1 -1
  153. package/models/errors/requestcarderror.js +17 -17
  154. package/models/errors/requestcarderror.js.map +1 -1
  155. package/models/errors/updateissuedcarderror.d.ts +9 -6
  156. package/models/errors/updateissuedcarderror.d.ts.map +1 -1
  157. package/models/errors/updateissuedcarderror.js +12 -9
  158. package/models/errors/updateissuedcarderror.js.map +1 -1
  159. package/models/operations/disablecapability.d.ts +7 -1
  160. package/models/operations/disablecapability.d.ts.map +1 -1
  161. package/models/operations/disablecapability.js.map +1 -1
  162. package/models/operations/getcapability.d.ts +7 -1
  163. package/models/operations/getcapability.d.ts.map +1 -1
  164. package/models/operations/getcapability.js.map +1 -1
  165. package/models/operations/index.d.ts +1 -0
  166. package/models/operations/index.d.ts.map +1 -1
  167. package/models/operations/index.js +1 -0
  168. package/models/operations/index.js.map +1 -1
  169. package/models/operations/linkbankaccount.d.ts +1 -1
  170. package/models/operations/listcancellations.d.ts +45 -0
  171. package/models/operations/listcancellations.d.ts.map +1 -0
  172. package/models/operations/listcancellations.js +90 -0
  173. package/models/operations/listcancellations.js.map +1 -0
  174. package/models/operations/listissuedcards.d.ts +1 -1
  175. package/package.json +1 -1
  176. package/sdk/accounts.d.ts +8 -10
  177. package/sdk/accounts.d.ts.map +1 -1
  178. package/sdk/accounts.js +8 -10
  179. package/sdk/accounts.js.map +1 -1
  180. package/sdk/bankaccounts.d.ts +1 -1
  181. package/sdk/bankaccounts.js +1 -1
  182. package/sdk/capabilities.d.ts +4 -4
  183. package/sdk/capabilities.js +4 -4
  184. package/sdk/transfers.d.ts +7 -0
  185. package/sdk/transfers.d.ts.map +1 -1
  186. package/sdk/transfers.js +10 -0
  187. package/sdk/transfers.js.map +1 -1
  188. package/src/funcs/accountsCreate.ts +8 -10
  189. package/src/funcs/bankAccountsLink.ts +1 -1
  190. package/src/funcs/capabilitiesDisable.ts +1 -1
  191. package/src/funcs/capabilitiesGet.ts +1 -1
  192. package/src/funcs/capabilitiesList.ts +1 -1
  193. package/src/funcs/capabilitiesRequest.ts +1 -1
  194. package/src/funcs/cardIssuingGet.ts +1 -1
  195. package/src/funcs/cardIssuingGetFull.ts +3 -3
  196. package/src/funcs/cardIssuingList.ts +1 -1
  197. package/src/funcs/cardIssuingRequest.ts +1 -1
  198. package/src/funcs/cardIssuingUpdate.ts +1 -1
  199. package/src/funcs/transfersListCancellations.ts +181 -0
  200. package/src/hooks/types.ts +1 -0
  201. package/src/lib/config.ts +3 -3
  202. package/src/lib/encodings.ts +1 -1
  203. package/src/lib/http.ts +3 -1
  204. package/src/lib/matchers.ts +1 -1
  205. package/src/lib/primitives.ts +16 -0
  206. package/src/lib/retries.ts +8 -0
  207. package/src/lib/sdks.ts +54 -17
  208. package/src/lib/security.ts +10 -5
  209. package/src/mcp-server/mcp-server.ts +1 -1
  210. package/src/mcp-server/server.ts +3 -1
  211. package/src/mcp-server/tools/accountsCreate.ts +8 -10
  212. package/src/mcp-server/tools/bankAccountsLink.ts +1 -1
  213. package/src/mcp-server/tools/capabilitiesDisable.ts +1 -1
  214. package/src/mcp-server/tools/capabilitiesGet.ts +1 -1
  215. package/src/mcp-server/tools/capabilitiesList.ts +1 -1
  216. package/src/mcp-server/tools/capabilitiesRequest.ts +1 -1
  217. package/src/mcp-server/tools/transfersListCancellations.ts +38 -0
  218. package/src/models/components/addcapabilities.ts +9 -0
  219. package/src/models/components/capability.ts +7 -1
  220. package/src/models/components/capabilityid.ts +15 -2
  221. package/src/models/components/cardbrandfees.ts +7 -0
  222. package/src/models/components/createaccount.ts +9 -0
  223. package/src/models/components/createpaymentlink.ts +3 -3
  224. package/src/models/components/fullissuedcard.ts +36 -20
  225. package/src/models/components/index.ts +1 -4
  226. package/src/models/components/issuedcard.ts +36 -20
  227. package/src/models/components/issuedcardstate.ts +2 -8
  228. package/src/models/components/manualtermsofservice.ts +1 -1
  229. package/src/models/components/manualtermsofserviceupdate.ts +1 -1
  230. package/src/models/components/onboardinginvite.ts +1 -1
  231. package/src/models/components/onboardinginviterequest.ts +1 -1
  232. package/src/models/components/patchtransfer.ts +3 -0
  233. package/src/models/components/paymentlink.ts +2 -2
  234. package/src/models/components/requestcard.ts +23 -34
  235. package/src/models/components/termsofservice.ts +1 -1
  236. package/src/models/components/updateissuedcard.ts +73 -17
  237. package/src/models/components/webhookdata.ts +18 -8
  238. package/src/models/components/webhookdataauthorizationexpiring.ts +65 -0
  239. package/src/models/components/webhookdatacapabilityrequested.ts +7 -1
  240. package/src/models/components/webhookdatacapabilityupdated.ts +7 -1
  241. package/src/models/components/webhookdatasweepcreated.ts +7 -0
  242. package/src/models/components/webhookdatasweepupdated.ts +7 -0
  243. package/src/models/components/webhookeventtype.ts +1 -0
  244. package/src/models/errors/requestcarderror.ts +26 -25
  245. package/src/models/errors/updateissuedcarderror.ts +18 -13
  246. package/src/models/operations/disablecapability.ts +7 -1
  247. package/src/models/operations/getcapability.ts +7 -1
  248. package/src/models/operations/index.ts +1 -0
  249. package/src/models/operations/linkbankaccount.ts +1 -1
  250. package/src/models/operations/listcancellations.ts +120 -0
  251. package/src/models/operations/listissuedcards.ts +1 -1
  252. package/src/sdk/accounts.ts +8 -10
  253. package/src/sdk/bankaccounts.ts +1 -1
  254. package/src/sdk/capabilities.ts +4 -4
  255. package/src/sdk/transfers.ts +18 -0
  256. package/src/types/async.ts +8 -7
  257. package/types/async.d.ts.map +1 -1
  258. package/types/async.js +8 -7
  259. package/types/async.js.map +1 -1
  260. package/lib/dlv.d.ts +0 -14
  261. package/lib/dlv.d.ts.map +0 -1
  262. package/lib/dlv.js +0 -49
  263. package/lib/dlv.js.map +0 -1
  264. package/lib/is-plain-object.d.ts +0 -2
  265. package/lib/is-plain-object.d.ts.map +0 -1
  266. package/lib/is-plain-object.js +0 -41
  267. package/lib/is-plain-object.js.map +0 -1
  268. package/models/components/authorizeduser.d.ts +0 -22
  269. package/models/components/authorizeduser.d.ts.map +0 -1
  270. package/models/components/authorizeduser.js.map +0 -1
  271. package/models/components/createauthorizeduser.d.ts +0 -25
  272. package/models/components/createauthorizeduser.d.ts.map +0 -1
  273. package/models/components/createauthorizeduser.js +0 -63
  274. package/models/components/createauthorizeduser.js.map +0 -1
  275. package/models/components/createauthorizedusererror.d.ts +0 -22
  276. package/models/components/createauthorizedusererror.d.ts.map +0 -1
  277. package/models/components/createauthorizedusererror.js.map +0 -1
  278. package/models/components/createauthorizeduserupdate.d.ts +0 -25
  279. package/models/components/createauthorizeduserupdate.d.ts.map +0 -1
  280. package/models/components/createauthorizeduserupdate.js +0 -63
  281. package/models/components/createauthorizeduserupdate.js.map +0 -1
  282. package/src/lib/dlv.ts +0 -53
  283. package/src/lib/is-plain-object.ts +0 -43
  284. package/src/models/components/authorizeduser.ts +0 -54
  285. package/src/models/components/createauthorizeduser.ts +0 -68
  286. package/src/models/components/createauthorizedusererror.ts +0 -65
  287. package/src/models/components/createauthorizeduserupdate.ts +0 -68
package/bin/mcp-server.js CHANGED
@@ -37121,6 +37121,57 @@ function remap(inp, mappings) {
37121
37121
  }
37122
37122
  return out;
37123
37123
  }
37124
+ function combineSignals(...signals) {
37125
+ const filtered = [];
37126
+ for (const signal of signals) {
37127
+ if (signal) {
37128
+ filtered.push(signal);
37129
+ }
37130
+ }
37131
+ switch (filtered.length) {
37132
+ case 0:
37133
+ case 1:
37134
+ return filtered[0] || null;
37135
+ default:
37136
+ if ("any" in AbortSignal && typeof AbortSignal.any === "function") {
37137
+ return AbortSignal.any(filtered);
37138
+ }
37139
+ return abortSignalAny(filtered);
37140
+ }
37141
+ }
37142
+ function abortSignalAny(signals) {
37143
+ const controller = new AbortController;
37144
+ const result = controller.signal;
37145
+ if (!signals.length) {
37146
+ return controller.signal;
37147
+ }
37148
+ if (signals.length === 1) {
37149
+ return signals[0] || controller.signal;
37150
+ }
37151
+ for (const signal of signals) {
37152
+ if (signal.aborted) {
37153
+ return signal;
37154
+ }
37155
+ }
37156
+ function abort() {
37157
+ controller.abort(this.reason);
37158
+ clean();
37159
+ }
37160
+ const signalRefs = [];
37161
+ function clean() {
37162
+ for (const signalRef of signalRefs) {
37163
+ const signal = signalRef.deref();
37164
+ if (signal) {
37165
+ signal.removeEventListener("abort", abort);
37166
+ }
37167
+ }
37168
+ }
37169
+ for (const signal of signals) {
37170
+ signalRefs.push(new WeakRef(signal));
37171
+ signal.addEventListener("abort", abort);
37172
+ }
37173
+ return result;
37174
+ }
37124
37175
  function compactMap(values) {
37125
37176
  const out = {};
37126
37177
  for (const [k2, v2] of Object.entries(values)) {
@@ -37136,6 +37187,20 @@ function allRequired(v2) {
37136
37187
  }
37137
37188
  return v2;
37138
37189
  }
37190
+ function isPlainObject2(value) {
37191
+ if (value === null || typeof value !== "object")
37192
+ return false;
37193
+ if (Object.prototype.toString.call(value) !== "[object Object]")
37194
+ return false;
37195
+ const proto = Object.getPrototypeOf(value);
37196
+ if (proto === null || proto === Object.prototype)
37197
+ return true;
37198
+ try {
37199
+ return Object.getPrototypeOf(proto) === null;
37200
+ } catch {
37201
+ return false;
37202
+ }
37203
+ }
37139
37204
  var init_primitives = () => {};
37140
37205
 
37141
37206
  // node_modules/zod/dist/esm/v4/mini/parse.js
@@ -39629,7 +39694,7 @@ class Protocol {
39629
39694
  };
39630
39695
  }
39631
39696
  }
39632
- function isPlainObject2(value) {
39697
+ function isPlainObject3(value) {
39633
39698
  return value !== null && typeof value === "object" && !Array.isArray(value);
39634
39699
  }
39635
39700
  function mergeCapabilities(base, additional) {
@@ -39640,7 +39705,7 @@ function mergeCapabilities(base, additional) {
39640
39705
  if (addValue === undefined)
39641
39706
  continue;
39642
39707
  const baseValue = result[k2];
39643
- if (isPlainObject2(baseValue) && isPlainObject2(addValue)) {
39708
+ if (isPlainObject3(baseValue) && isPlainObject3(addValue)) {
39644
39709
  result[k2] = { ...baseValue, ...addValue };
39645
39710
  } else {
39646
39711
  result[k2] = addValue;
@@ -52909,9 +52974,9 @@ var init_config = __esm(() => {
52909
52974
  SDK_METADATA = {
52910
52975
  language: "typescript",
52911
52976
  openapiDocVersion: "v2025.10.00",
52912
- sdkVersion: "25.12.0",
52913
- genVersion: "2.884.4",
52914
- userAgent: "speakeasy-sdk/typescript 25.12.0 2.884.4 v2025.10.00 @moovio/sdk"
52977
+ sdkVersion: "25.12.3",
52978
+ genVersion: "2.917.0",
52979
+ userAgent: "speakeasy-sdk/typescript 25.12.3 2.917.0 v2025.10.00 @moovio/sdk"
52915
52980
  };
52916
52981
  });
52917
52982
 
@@ -53084,15 +53149,6 @@ var init_base64 = __esm(() => {
53084
53149
  zodInbound = instanceOfType(Uint8Array).or(stringType().transform(bytesFromBase64));
53085
53150
  });
53086
53151
 
53087
- // src/lib/is-plain-object.ts
53088
- function isPlainObject3(value) {
53089
- if (typeof value !== "object" || value === null) {
53090
- return false;
53091
- }
53092
- const prototype = Object.getPrototypeOf(value);
53093
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
53094
- }
53095
-
53096
53152
  // src/lib/encodings.ts
53097
53153
  function formEncoder(sep) {
53098
53154
  return (key, value, options) => {
@@ -53113,7 +53169,7 @@ function formEncoder(sep) {
53113
53169
  return;
53114
53170
  } else if (Array.isArray(pv)) {
53115
53171
  encValue = mapDefined(pv, (v2) => `${encodeValue(v2)}`)?.join(encodedSep);
53116
- } else if (isPlainObject3(pv)) {
53172
+ } else if (isPlainObject2(pv)) {
53117
53173
  encValue = mapDefinedEntries(Object.entries(pv), ([k2, v2]) => {
53118
53174
  return `${encodeString(k2)}${encodedSep}${encodeValue(v2)}`;
53119
53175
  })?.join(encodedSep);
@@ -53136,7 +53192,7 @@ function encodeDeepObject(key, value, options) {
53136
53192
  if (value == null) {
53137
53193
  return;
53138
53194
  }
53139
- if (!isPlainObject3(value)) {
53195
+ if (!isPlainObject2(value)) {
53140
53196
  throw new EncodingError(`Value of parameter '${key}' which uses deepObject encoding must be an object or null`);
53141
53197
  }
53142
53198
  return encodeDeepObjectObject(key, value, options);
@@ -53149,7 +53205,7 @@ function encodeDeepObjectObject(key, value, options) {
53149
53205
  const encodeString = (v2) => {
53150
53206
  return options?.charEncoding === "percent" ? encodeURIComponent(v2) : v2;
53151
53207
  };
53152
- if (!isPlainObject3(value)) {
53208
+ if (!isPlainObject2(value)) {
53153
53209
  throw new EncodingError(`Expected parameter '${key}' to be an object.`);
53154
53210
  }
53155
53211
  Object.entries(value).forEach(([ck, cv]) => {
@@ -53157,7 +53213,7 @@ function encodeDeepObjectObject(key, value, options) {
53157
53213
  return;
53158
53214
  }
53159
53215
  const pk = `${key}[${ck}]`;
53160
- if (isPlainObject3(cv)) {
53216
+ if (isPlainObject2(cv)) {
53161
53217
  const objOut = encodeDeepObjectObject(pk, cv, options);
53162
53218
  out += objOut == null ? "" : `&${objOut}`;
53163
53219
  return;
@@ -53183,7 +53239,7 @@ function encodeJSON(key, value, options) {
53183
53239
  function explode(key, value) {
53184
53240
  if (Array.isArray(value)) {
53185
53241
  return value.map((v2) => [key, v2]);
53186
- } else if (isPlainObject3(value)) {
53242
+ } else if (isPlainObject2(value)) {
53187
53243
  const o = value ?? {};
53188
53244
  return Object.entries(o).map(([k2, v2]) => [k2, v2]);
53189
53245
  } else {
@@ -53308,13 +53364,13 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
53308
53364
  return;
53309
53365
  } else if (Array.isArray(pv)) {
53310
53366
  tmp = mapDefined(pv, (v2) => `${encodeValue(v2)}`)?.join(",");
53311
- } else if (isPlainObject3(pv)) {
53367
+ } else if (isPlainObject2(pv)) {
53312
53368
  const mapped = mapDefinedEntries(Object.entries(pv), ([k2, v2]) => {
53313
53369
  return `,${encodeString(k2)},${encodeValue(v2)}`;
53314
53370
  });
53315
53371
  tmp = mapped?.join("").slice(1);
53316
53372
  } else {
53317
- const k2 = options?.explode && isPlainObject3(value) ? `${pk}=` : "";
53373
+ const k2 = options?.explode && isPlainObject2(value) ? `${pk}=` : "";
53318
53374
  tmp = `${k2}${encodeValue(pv)}`;
53319
53375
  }
53320
53376
  out += tmp ? `,${tmp}` : "";
@@ -53323,6 +53379,7 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
53323
53379
  }, encodeJSONQuery, encodeFormQuery, encodeSpaceDelimitedQuery, encodePipeDelimitedQuery, encodeDeepObjectQuery;
53324
53380
  var init_encodings = __esm(() => {
53325
53381
  init_base64();
53382
+ init_primitives();
53326
53383
  EncodingError = class EncodingError extends Error {
53327
53384
  constructor(message) {
53328
53385
  super(message);
@@ -53341,11 +53398,11 @@ var init_encodings = __esm(() => {
53341
53398
 
53342
53399
  // src/lib/http.ts
53343
53400
  class HTTPClient {
53344
- options;
53345
53401
  fetcher;
53346
53402
  requestHooks = [];
53347
53403
  requestErrorHooks = [];
53348
53404
  responseHooks = [];
53405
+ options;
53349
53406
  constructor(options = {}) {
53350
53407
  this.options = options;
53351
53408
  this.fetcher = options.fetcher || DEFAULT_FETCHER;
@@ -53588,6 +53645,13 @@ async function retryBackoff(fn, strategy) {
53588
53645
  }
53589
53646
  }
53590
53647
  function retryIntervalFromResponse(res) {
53648
+ const retryAfterMsVal = res.headers.get("retry-after-ms");
53649
+ if (retryAfterMsVal) {
53650
+ const parsedMs = Number(retryAfterMsVal);
53651
+ if (Number.isFinite(parsedMs) && parsedMs >= 0) {
53652
+ return parsedMs;
53653
+ }
53654
+ }
53591
53655
  const retryVal = res.headers.get("retry-after") || "";
53592
53656
  if (!retryVal) {
53593
53657
  return 0;
@@ -53679,24 +53743,41 @@ class ClientSDK {
53679
53743
  if (path) {
53680
53744
  baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/";
53681
53745
  reqURL = new URL(path, baseURL);
53746
+ if (!reqURL.search && baseURL.search) {
53747
+ reqURL.search = baseURL.search;
53748
+ }
53682
53749
  } else {
53683
53750
  reqURL = baseURL;
53684
53751
  }
53685
53752
  reqURL.hash = "";
53686
- let finalQuery = query || "";
53687
- const secQuery = [];
53688
- for (const [k2, v2] of Object.entries(security?.queryParams || {})) {
53689
- const q2 = encodeForm(k2, v2, { charEncoding: "percent" });
53690
- if (typeof q2 !== "undefined") {
53691
- secQuery.push(q2);
53753
+ const mergeQuery = (current, additions) => {
53754
+ if (!additions) {
53755
+ return current;
53692
53756
  }
53693
- }
53694
- if (secQuery.length) {
53695
- finalQuery += `&${secQuery.join("&")}`;
53696
- }
53757
+ const additionKeys = new Set(additions.split("&").filter((pair) => pair !== "").map((pair) => pair.split("=")[0] ?? ""));
53758
+ const kept = current.split("&").filter((pair) => {
53759
+ return pair !== "" && !additionKeys.has(pair.split("=")[0] ?? "");
53760
+ });
53761
+ return [...kept, additions].join("&");
53762
+ };
53763
+ const encodeQueryRecord = (record3) => {
53764
+ return Object.entries(record3).map(([k2, v2]) => {
53765
+ if (v2 == null) {
53766
+ return;
53767
+ }
53768
+ const value = v2;
53769
+ return encodeForm(k2, value, {
53770
+ explode: Array.isArray(value),
53771
+ charEncoding: "percent"
53772
+ });
53773
+ }).filter((pair) => typeof pair !== "undefined").join("&");
53774
+ };
53775
+ const finalQuery = [
53776
+ query || "",
53777
+ encodeQueryRecord(security?.queryParams || {})
53778
+ ].reduce(mergeQuery, reqURL.search.slice(1));
53697
53779
  if (finalQuery) {
53698
- const q2 = finalQuery.startsWith("&") ? finalQuery.slice(1) : finalQuery;
53699
- reqURL.search = `?${q2}`;
53780
+ reqURL.search = `?${finalQuery}`;
53700
53781
  }
53701
53782
  const headers = new Headers(opHeaders);
53702
53783
  const username = security?.basic.username;
@@ -53726,9 +53807,8 @@ class ClientSDK {
53726
53807
  ...options?.fetchOptions,
53727
53808
  ...options
53728
53809
  };
53729
- if (!fetchOptions?.signal && conf.timeoutMs && conf.timeoutMs > 0) {
53730
- const timeoutSignal = AbortSignal.timeout(conf.timeoutMs);
53731
- fetchOptions.signal = timeoutSignal;
53810
+ if (!fetchOptions?.signal && conf.timeoutMs != null && conf.timeoutMs > 0) {
53811
+ context.timeoutMs = conf.timeoutMs;
53732
53812
  }
53733
53813
  if (conf.body instanceof ReadableStream) {
53734
53814
  Object.assign(fetchOptions, { duplex: "half" });
@@ -53753,8 +53833,16 @@ class ClientSDK {
53753
53833
  }
53754
53834
  async _do(request, options) {
53755
53835
  const { context, isErrorStatusCode } = options;
53836
+ const timeoutMs = context.timeoutMs;
53756
53837
  return retry(async () => {
53757
- const req = await this.#hooks.beforeRequest(context, request.clone());
53838
+ const cloned = request.clone();
53839
+ let attempt = cloned;
53840
+ if (timeoutMs != null && timeoutMs > 0) {
53841
+ const timeoutSignal = AbortSignal.timeout(timeoutMs);
53842
+ const combined = combineSignals(cloned.signal, timeoutSignal) ?? timeoutSignal;
53843
+ attempt = new Request(cloned, { signal: combined });
53844
+ }
53845
+ const req = await this.#hooks.beforeRequest(context, attempt);
53758
53846
  await logRequest(this.#logger, req).catch((e) => this.#logger?.log("Failed to log request:", e));
53759
53847
  let response = await this.#httpClient.request(req);
53760
53848
  try {
@@ -53872,6 +53960,7 @@ var init_sdks = __esm(() => {
53872
53960
  init_config();
53873
53961
  init_encodings();
53874
53962
  init_http();
53963
+ init_primitives();
53875
53964
  init_retries();
53876
53965
  gt2 = typeof globalThis === "undefined" ? null : globalThis;
53877
53966
  webWorkerLike2 = typeof gt2 === "object" && gt2 != null && "importScripts" in gt2 && typeof gt2["importScripts"] === "function";
@@ -54321,7 +54410,7 @@ function match(...matchers) {
54321
54410
  data = {
54322
54411
  ...options?.extraFields,
54323
54412
  ...matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null,
54324
- ...isPlainObject3(raw) ? raw : null,
54413
+ ...isPlainObject2(raw) ? raw : null,
54325
54414
  request$: request,
54326
54415
  response$: response,
54327
54416
  body$: body
@@ -54336,7 +54425,7 @@ function match(...matchers) {
54336
54425
  data = {
54337
54426
  ...options?.extraFields,
54338
54427
  ...matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null,
54339
- ...isPlainObject3(raw) ? raw : null
54428
+ ...isPlainObject2(raw) ? raw : null
54340
54429
  };
54341
54430
  } else {
54342
54431
  data = raw;
@@ -54376,6 +54465,7 @@ var init_matchers = __esm(() => {
54376
54465
  init_apierror();
54377
54466
  init_responsevalidationerror();
54378
54467
  init_http();
54468
+ init_primitives();
54379
54469
  DEFAULT_CONTENT_TYPES = {
54380
54470
  jsonl: "application/jsonl",
54381
54471
  json: "application/json",
@@ -54518,8 +54608,12 @@ async function extractSecurity(sec) {
54518
54608
  }
54519
54609
  return typeof sec === "function" ? sec() : sec;
54520
54610
  }
54521
- var SecurityError;
54611
+ var SecurityErrorCode, SecurityError;
54522
54612
  var init_security = __esm(() => {
54613
+ SecurityErrorCode = {
54614
+ Incomplete: "incomplete",
54615
+ UnrecognisedSecurityType: "unrecognized_security_type"
54616
+ };
54523
54617
  SecurityError = class SecurityError extends Error {
54524
54618
  code;
54525
54619
  constructor(code, message) {
@@ -54528,10 +54622,10 @@ var init_security = __esm(() => {
54528
54622
  this.name = "SecurityError";
54529
54623
  }
54530
54624
  static incomplete() {
54531
- return new SecurityError("incomplete" /* Incomplete */, "Security requirements not met in order to perform the operation");
54625
+ return new SecurityError(SecurityErrorCode.Incomplete, "Security requirements not met in order to perform the operation");
54532
54626
  }
54533
54627
  static unrecognizedType(type) {
54534
- return new SecurityError("unrecognized_security_type" /* UnrecognisedSecurityType */, `Unrecognised security type: ${type}`);
54628
+ return new SecurityError(SecurityErrorCode.UnrecognisedSecurityType, `Unrecognised security type: ${type}`);
54535
54629
  }
54536
54630
  };
54537
54631
  });
@@ -55957,6 +56051,7 @@ var init_capabilityid = __esm(() => {
55957
56051
  Wallet: "wallet",
55958
56052
  WalletBalance: "wallet.balance",
55959
56053
  CardIssuing: "card-issuing",
56054
+ IssuingCardholder: "issuing.cardholder",
55960
56055
  ProductionApp: "production-app",
55961
56056
  PlatformProductionApp: "platform.production-app",
55962
56057
  PlatformWalletTransfers: "platform.wallet-transfers"
@@ -56376,20 +56471,6 @@ var init_asynctransfer = __esm(() => {
56376
56471
  });
56377
56472
  });
56378
56473
 
56379
- // src/models/components/authorizeduser.ts
56380
- var AuthorizedUser$inboundSchema, AuthorizedUser$outboundSchema;
56381
- var init_authorizeduser = __esm(() => {
56382
- init_esm();
56383
- AuthorizedUser$inboundSchema = objectType({
56384
- firstName: stringType(),
56385
- lastName: stringType()
56386
- });
56387
- AuthorizedUser$outboundSchema = objectType({
56388
- firstName: stringType(),
56389
- lastName: stringType()
56390
- });
56391
- });
56392
-
56393
56474
  // src/models/components/tokentype.ts
56394
56475
  var TokenType, TokenType$inboundSchema, TokenType$outboundSchema;
56395
56476
  var init_tokentype = __esm(() => {
@@ -59968,6 +60049,7 @@ var init_cardbrandfees = __esm(() => {
59968
60049
  completedInternationalInPerson: BillingCountAndAmount$inboundSchema.optional(),
59969
60050
  declines: BillingCountAndAmount$inboundSchema.optional(),
59970
60051
  refunds: BillingCountAndAmount$inboundSchema.optional(),
60052
+ cardCancellations: BillingCountAndAmount$inboundSchema.optional(),
59971
60053
  total: BillingCountAndAmount$inboundSchema
59972
60054
  });
59973
60055
  CardBrandFees$outboundSchema = objectType({
@@ -59980,6 +60062,7 @@ var init_cardbrandfees = __esm(() => {
59980
60062
  completedInternationalInPerson: BillingCountAndAmount$outboundSchema.optional(),
59981
60063
  declines: BillingCountAndAmount$outboundSchema.optional(),
59982
60064
  refunds: BillingCountAndAmount$outboundSchema.optional(),
60065
+ cardCancellations: BillingCountAndAmount$outboundSchema.optional(),
59983
60066
  total: BillingCountAndAmount$outboundSchema
59984
60067
  });
59985
60068
  });
@@ -61124,57 +61207,6 @@ var init_createapplepaysession = __esm(() => {
61124
61207
  });
61125
61208
  });
61126
61209
 
61127
- // src/models/components/createauthorizeduser.ts
61128
- var CreateAuthorizedUser$inboundSchema, CreateAuthorizedUser$outboundSchema;
61129
- var init_createauthorizeduser = __esm(() => {
61130
- init_esm();
61131
- init_birthdate();
61132
- CreateAuthorizedUser$inboundSchema = objectType({
61133
- firstName: stringType(),
61134
- lastName: stringType(),
61135
- birthDate: BirthDate$inboundSchema.optional()
61136
- });
61137
- CreateAuthorizedUser$outboundSchema = objectType({
61138
- firstName: stringType(),
61139
- lastName: stringType(),
61140
- birthDate: BirthDate$outboundSchema.optional()
61141
- });
61142
- });
61143
-
61144
- // src/models/components/createauthorizedusererror.ts
61145
- var CreateAuthorizedUserError$inboundSchema, CreateAuthorizedUserError$outboundSchema;
61146
- var init_createauthorizedusererror = __esm(() => {
61147
- init_esm();
61148
- init_birthdateerror();
61149
- CreateAuthorizedUserError$inboundSchema = objectType({
61150
- firstName: stringType().optional(),
61151
- lastName: stringType().optional(),
61152
- birthDate: BirthDateError$inboundSchema.optional()
61153
- });
61154
- CreateAuthorizedUserError$outboundSchema = objectType({
61155
- firstName: stringType().optional(),
61156
- lastName: stringType().optional(),
61157
- birthDate: BirthDateError$outboundSchema.optional()
61158
- });
61159
- });
61160
-
61161
- // src/models/components/createauthorizeduserupdate.ts
61162
- var CreateAuthorizedUserUpdate$inboundSchema, CreateAuthorizedUserUpdate$outboundSchema;
61163
- var init_createauthorizeduserupdate = __esm(() => {
61164
- init_esm();
61165
- init_birthdateupdate();
61166
- CreateAuthorizedUserUpdate$inboundSchema = objectType({
61167
- firstName: stringType().optional(),
61168
- lastName: stringType().optional(),
61169
- birthDate: BirthDateUpdate$inboundSchema.optional()
61170
- });
61171
- CreateAuthorizedUserUpdate$outboundSchema = objectType({
61172
- firstName: stringType().optional(),
61173
- lastName: stringType().optional(),
61174
- birthDate: BirthDateUpdate$outboundSchema.optional()
61175
- });
61176
- });
61177
-
61178
61210
  // src/models/components/phonenumbererror.ts
61179
61211
  var PhoneNumberError$inboundSchema, PhoneNumberError$outboundSchema;
61180
61212
  var init_phonenumbererror = __esm(() => {
@@ -62912,7 +62944,8 @@ var init_webhookeventtype = __esm(() => {
62912
62944
  WalletCreated: "wallet.created",
62913
62945
  WalletUpdated: "wallet.updated",
62914
62946
  WalletTransactionUpdated: "walletTransaction.updated",
62915
- BillingStatementCreated: "billingStatement.created"
62947
+ BillingStatementCreated: "billingStatement.created",
62948
+ AuthorizationExpiring: "authorization.expiring"
62916
62949
  };
62917
62950
  WebhookEventType$inboundSchema = nativeEnumType(WebhookEventType);
62918
62951
  WebhookEventType$outboundSchema = WebhookEventType$inboundSchema;
@@ -63631,8 +63664,6 @@ var init_issuedcardstate = __esm(() => {
63631
63664
  init_esm();
63632
63665
  IssuedCardState = {
63633
63666
  Active: "active",
63634
- Inactive: "inactive",
63635
- PendingVerification: "pending-verification",
63636
63667
  Closed: "closed"
63637
63668
  };
63638
63669
  IssuedCardState$inboundSchema = nativeEnumType(IssuedCardState);
@@ -63684,7 +63715,7 @@ var init_issuingcontrols = __esm(() => {
63684
63715
  var FullIssuedCard$inboundSchema, FullIssuedCard$outboundSchema;
63685
63716
  var init_fullissuedcard = __esm(() => {
63686
63717
  init_esm();
63687
- init_authorizeduser();
63718
+ init_address();
63688
63719
  init_cardbrand();
63689
63720
  init_cardexpiration();
63690
63721
  init_issuedcardformfactor();
@@ -63695,13 +63726,16 @@ var init_fullissuedcard = __esm(() => {
63695
63726
  brand: CardBrand$inboundSchema,
63696
63727
  lastFourCardNumber: stringType(),
63697
63728
  expiration: CardExpiration$inboundSchema,
63698
- authorizedUser: AuthorizedUser$inboundSchema,
63699
- memo: stringType().optional(),
63700
63729
  fundingWalletID: stringType(),
63730
+ authorizedUserAccountID: stringType().optional(),
63731
+ nickname: stringType().optional(),
63732
+ metadata: recordType(stringType()).optional(),
63733
+ billingAddress: Address$inboundSchema.optional(),
63701
63734
  state: IssuedCardState$inboundSchema,
63702
63735
  formFactor: IssuedCardFormFactor$inboundSchema,
63703
63736
  controls: IssuingControls$inboundSchema.optional(),
63704
63737
  createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
63738
+ updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
63705
63739
  pan: stringType(),
63706
63740
  cvv: stringType()
63707
63741
  });
@@ -63710,13 +63744,16 @@ var init_fullissuedcard = __esm(() => {
63710
63744
  brand: CardBrand$outboundSchema,
63711
63745
  lastFourCardNumber: stringType(),
63712
63746
  expiration: CardExpiration$outboundSchema,
63713
- authorizedUser: AuthorizedUser$outboundSchema,
63714
- memo: stringType().optional(),
63715
63747
  fundingWalletID: stringType(),
63748
+ authorizedUserAccountID: stringType().optional(),
63749
+ nickname: stringType().optional(),
63750
+ metadata: recordType(stringType()).optional(),
63751
+ billingAddress: Address$outboundSchema.optional(),
63716
63752
  state: IssuedCardState$outboundSchema,
63717
63753
  formFactor: IssuedCardFormFactor$outboundSchema,
63718
63754
  controls: IssuingControls$outboundSchema.optional(),
63719
63755
  createdOn: dateType().transform((v2) => v2.toISOString()),
63756
+ updatedOn: dateType().transform((v2) => v2.toISOString()),
63720
63757
  pan: stringType(),
63721
63758
  cvv: stringType()
63722
63759
  });
@@ -64055,7 +64092,7 @@ var init_invoicestatus = __esm(() => {
64055
64092
  var IssuedCard$inboundSchema, IssuedCard$outboundSchema;
64056
64093
  var init_issuedcard = __esm(() => {
64057
64094
  init_esm();
64058
- init_authorizeduser();
64095
+ init_address();
64059
64096
  init_cardbrand();
64060
64097
  init_cardexpiration();
64061
64098
  init_issuedcardformfactor();
@@ -64066,26 +64103,32 @@ var init_issuedcard = __esm(() => {
64066
64103
  brand: CardBrand$inboundSchema,
64067
64104
  lastFourCardNumber: stringType(),
64068
64105
  expiration: CardExpiration$inboundSchema,
64069
- authorizedUser: AuthorizedUser$inboundSchema,
64070
- memo: stringType().optional(),
64071
64106
  fundingWalletID: stringType(),
64107
+ authorizedUserAccountID: stringType().optional(),
64108
+ nickname: stringType().optional(),
64109
+ metadata: recordType(stringType()).optional(),
64110
+ billingAddress: Address$inboundSchema.optional(),
64072
64111
  state: IssuedCardState$inboundSchema,
64073
64112
  formFactor: IssuedCardFormFactor$inboundSchema,
64074
64113
  controls: IssuingControls$inboundSchema.optional(),
64075
- createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
64114
+ createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
64115
+ updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
64076
64116
  });
64077
64117
  IssuedCard$outboundSchema = objectType({
64078
64118
  issuedCardID: stringType(),
64079
64119
  brand: CardBrand$outboundSchema,
64080
64120
  lastFourCardNumber: stringType(),
64081
64121
  expiration: CardExpiration$outboundSchema,
64082
- authorizedUser: AuthorizedUser$outboundSchema,
64083
- memo: stringType().optional(),
64084
64122
  fundingWalletID: stringType(),
64123
+ authorizedUserAccountID: stringType().optional(),
64124
+ nickname: stringType().optional(),
64125
+ metadata: recordType(stringType()).optional(),
64126
+ billingAddress: Address$outboundSchema.optional(),
64085
64127
  state: IssuedCardState$outboundSchema,
64086
64128
  formFactor: IssuedCardFormFactor$outboundSchema,
64087
64129
  controls: IssuingControls$outboundSchema.optional(),
64088
- createdOn: dateType().transform((v2) => v2.toISOString())
64130
+ createdOn: dateType().transform((v2) => v2.toISOString()),
64131
+ updatedOn: dateType().transform((v2) => v2.toISOString())
64089
64132
  });
64090
64133
  });
64091
64134
 
@@ -66141,23 +66184,22 @@ var init_representativeresponsibilitieserror = __esm(() => {
66141
66184
  var RequestCard$inboundSchema, RequestCard$outboundSchema;
66142
66185
  var init_requestcard = __esm(() => {
66143
66186
  init_esm();
66187
+ init_address();
66144
66188
  init_cardexpiration();
66145
- init_createauthorizeduser();
66146
- init_issuedcardformfactor();
66147
66189
  init_issuingcontrols();
66148
66190
  RequestCard$inboundSchema = objectType({
66149
- fundingWalletID: stringType(),
66150
- authorizedUser: CreateAuthorizedUser$inboundSchema,
66151
- formFactor: IssuedCardFormFactor$inboundSchema,
66152
- memo: stringType().optional(),
66191
+ authorizedUserAccountID: stringType().optional(),
66192
+ nickname: stringType().optional(),
66193
+ metadata: recordType(stringType()).optional(),
66194
+ billingAddress: Address$inboundSchema.optional(),
66153
66195
  expiration: CardExpiration$inboundSchema.optional(),
66154
66196
  controls: IssuingControls$inboundSchema.optional()
66155
66197
  });
66156
66198
  RequestCard$outboundSchema = objectType({
66157
- fundingWalletID: stringType(),
66158
- authorizedUser: CreateAuthorizedUser$outboundSchema,
66159
- formFactor: IssuedCardFormFactor$outboundSchema,
66160
- memo: stringType().optional(),
66199
+ authorizedUserAccountID: stringType().optional(),
66200
+ nickname: stringType().optional(),
66201
+ metadata: recordType(stringType()).optional(),
66202
+ billingAddress: Address$outboundSchema.optional(),
66161
66203
  expiration: CardExpiration$outboundSchema.optional(),
66162
66204
  controls: IssuingControls$outboundSchema.optional()
66163
66205
  });
@@ -67280,20 +67322,37 @@ var init_updateissuedcardstate = __esm(() => {
67280
67322
  });
67281
67323
 
67282
67324
  // src/models/components/updateissuedcard.ts
67283
- var UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
67325
+ var BillingAddress$inboundSchema, BillingAddress$outboundSchema, UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
67284
67326
  var init_updateissuedcard = __esm(() => {
67285
67327
  init_esm();
67286
- init_createauthorizeduserupdate();
67287
67328
  init_updateissuedcardstate();
67329
+ BillingAddress$inboundSchema = objectType({
67330
+ addressLine1: stringType().optional(),
67331
+ addressLine2: stringType().optional(),
67332
+ city: stringType().optional(),
67333
+ stateOrProvince: stringType().optional(),
67334
+ postalCode: stringType().optional(),
67335
+ country: stringType().optional()
67336
+ });
67337
+ BillingAddress$outboundSchema = objectType({
67338
+ addressLine1: stringType().optional(),
67339
+ addressLine2: stringType().optional(),
67340
+ city: stringType().optional(),
67341
+ stateOrProvince: stringType().optional(),
67342
+ postalCode: stringType().optional(),
67343
+ country: stringType().optional()
67344
+ });
67288
67345
  UpdateIssuedCard$inboundSchema = objectType({
67289
67346
  state: UpdateIssuedCardState$inboundSchema.optional(),
67290
- memo: stringType().optional(),
67291
- authorizedUser: CreateAuthorizedUserUpdate$inboundSchema.optional()
67347
+ nickname: nullableType(stringType()).optional(),
67348
+ metadata: nullableType(recordType(stringType())).optional(),
67349
+ billingAddress: nullableType(lazyType(() => BillingAddress$inboundSchema)).optional()
67292
67350
  });
67293
67351
  UpdateIssuedCard$outboundSchema = objectType({
67294
67352
  state: UpdateIssuedCardState$outboundSchema.optional(),
67295
- memo: stringType().optional(),
67296
- authorizedUser: CreateAuthorizedUserUpdate$outboundSchema.optional()
67353
+ nickname: nullableType(stringType()).optional(),
67354
+ metadata: nullableType(recordType(stringType())).optional(),
67355
+ billingAddress: nullableType(lazyType(() => BillingAddress$outboundSchema)).optional()
67297
67356
  });
67298
67357
  });
67299
67358
 
@@ -67765,6 +67824,24 @@ var init_webhookdataaccountupdated = __esm(() => {
67765
67824
  });
67766
67825
  });
67767
67826
 
67827
+ // src/models/components/webhookdataauthorizationexpiring.ts
67828
+ var WebhookDataAuthorizationExpiring$inboundSchema, WebhookDataAuthorizationExpiring$outboundSchema;
67829
+ var init_webhookdataauthorizationexpiring = __esm(() => {
67830
+ init_esm();
67831
+ WebhookDataAuthorizationExpiring$inboundSchema = objectType({
67832
+ merchantAccountID: stringType(),
67833
+ partnerAccountID: stringType(),
67834
+ authorizationID: stringType(),
67835
+ expiresOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
67836
+ });
67837
+ WebhookDataAuthorizationExpiring$outboundSchema = objectType({
67838
+ merchantAccountID: stringType(),
67839
+ partnerAccountID: stringType(),
67840
+ authorizationID: stringType(),
67841
+ expiresOn: dateType().transform((v2) => v2.toISOString())
67842
+ });
67843
+ });
67844
+
67768
67845
  // src/models/components/webhookdatabalanceupdated.ts
67769
67846
  var WebhookDataBalanceUpdated$inboundSchema, WebhookDataBalanceUpdated$outboundSchema;
67770
67847
  var init_webhookdatabalanceupdated = __esm(() => {
@@ -68139,10 +68216,12 @@ var WebhookDataSweepCreated$inboundSchema, WebhookDataSweepCreated$outboundSchem
68139
68216
  var init_webhookdatasweepcreated = __esm(() => {
68140
68217
  init_esm();
68141
68218
  WebhookDataSweepCreated$inboundSchema = objectType({
68219
+ accountID: stringType(),
68142
68220
  walletID: stringType(),
68143
68221
  sweepID: stringType()
68144
68222
  });
68145
68223
  WebhookDataSweepCreated$outboundSchema = objectType({
68224
+ accountID: stringType(),
68146
68225
  walletID: stringType(),
68147
68226
  sweepID: stringType()
68148
68227
  });
@@ -68154,12 +68233,14 @@ var init_webhookdatasweepupdated = __esm(() => {
68154
68233
  init_esm();
68155
68234
  init_sweepstatus();
68156
68235
  WebhookDataSweepUpdated$inboundSchema = objectType({
68236
+ accountID: stringType(),
68157
68237
  walletID: stringType(),
68158
68238
  sweepID: stringType(),
68159
68239
  transferID: stringType().optional(),
68160
68240
  status: SweepStatus$inboundSchema
68161
68241
  });
68162
68242
  WebhookDataSweepUpdated$outboundSchema = objectType({
68243
+ accountID: stringType(),
68163
68244
  walletID: stringType(),
68164
68245
  sweepID: stringType(),
68165
68246
  transferID: stringType().optional(),
@@ -68400,6 +68481,7 @@ var init_webhookdata = __esm(() => {
68400
68481
  init_webhookdataaccountcreated();
68401
68482
  init_webhookdataaccountdisconnected();
68402
68483
  init_webhookdataaccountupdated();
68484
+ init_webhookdataauthorizationexpiring();
68403
68485
  init_webhookdatabalanceupdated();
68404
68486
  init_webhookdatabankaccountcreated();
68405
68487
  init_webhookdatabankaccountdeleted();
@@ -68439,7 +68521,9 @@ var init_webhookdata = __esm(() => {
68439
68521
  WebhookDataTransferUpdated$inboundSchema,
68440
68522
  WebhookDataBankAccountUpdated$inboundSchema,
68441
68523
  WebhookDataRefundUpdated$inboundSchema,
68524
+ WebhookDataSweepUpdated$inboundSchema,
68442
68525
  WebhookDataWalletTransactionUpdated$inboundSchema,
68526
+ WebhookDataAuthorizationExpiring$inboundSchema,
68443
68527
  WebhookDataBankAccountCreated$inboundSchema,
68444
68528
  WebhookDataBankAccountDeleted$inboundSchema,
68445
68529
  WebhookDataCancellationCreated$inboundSchema,
@@ -68450,7 +68534,7 @@ var init_webhookdata = __esm(() => {
68450
68534
  WebhookDataPaymentMethodEnabled$inboundSchema,
68451
68535
  WebhookDataPaymentMethodDisabled$inboundSchema,
68452
68536
  WebhookDataRefundCreated$inboundSchema,
68453
- WebhookDataSweepUpdated$inboundSchema,
68537
+ WebhookDataSweepCreated$inboundSchema,
68454
68538
  WebhookDataTicketUpdated$inboundSchema,
68455
68539
  WebhookDataTransferCreated$inboundSchema,
68456
68540
  WebhookDataWalletUpdated$inboundSchema,
@@ -68460,7 +68544,6 @@ var init_webhookdata = __esm(() => {
68460
68544
  WebhookDataRepresentativeCreated$inboundSchema,
68461
68545
  WebhookDataRepresentativeUpdated$inboundSchema,
68462
68546
  WebhookDataRepresentativeDisabled$inboundSchema,
68463
- WebhookDataSweepCreated$inboundSchema,
68464
68547
  WebhookDataTerminalApplicationCreated$inboundSchema,
68465
68548
  WebhookDataTerminalApplicationUpdated$inboundSchema,
68466
68549
  WebhookDataTicketCreated$inboundSchema,
@@ -68478,7 +68561,9 @@ var init_webhookdata = __esm(() => {
68478
68561
  WebhookDataTransferUpdated$outboundSchema,
68479
68562
  WebhookDataBankAccountUpdated$outboundSchema,
68480
68563
  WebhookDataRefundUpdated$outboundSchema,
68564
+ WebhookDataSweepUpdated$outboundSchema,
68481
68565
  WebhookDataWalletTransactionUpdated$outboundSchema,
68566
+ WebhookDataAuthorizationExpiring$outboundSchema,
68482
68567
  WebhookDataBankAccountCreated$outboundSchema,
68483
68568
  WebhookDataBankAccountDeleted$outboundSchema,
68484
68569
  WebhookDataCancellationCreated$outboundSchema,
@@ -68489,7 +68574,7 @@ var init_webhookdata = __esm(() => {
68489
68574
  WebhookDataPaymentMethodEnabled$outboundSchema,
68490
68575
  WebhookDataPaymentMethodDisabled$outboundSchema,
68491
68576
  WebhookDataRefundCreated$outboundSchema,
68492
- WebhookDataSweepUpdated$outboundSchema,
68577
+ WebhookDataSweepCreated$outboundSchema,
68493
68578
  WebhookDataTicketUpdated$outboundSchema,
68494
68579
  WebhookDataTransferCreated$outboundSchema,
68495
68580
  WebhookDataWalletUpdated$outboundSchema,
@@ -68499,7 +68584,6 @@ var init_webhookdata = __esm(() => {
68499
68584
  WebhookDataRepresentativeCreated$outboundSchema,
68500
68585
  WebhookDataRepresentativeUpdated$outboundSchema,
68501
68586
  WebhookDataRepresentativeDisabled$outboundSchema,
68502
- WebhookDataSweepCreated$outboundSchema,
68503
68587
  WebhookDataTerminalApplicationCreated$outboundSchema,
68504
68588
  WebhookDataTerminalApplicationUpdated$outboundSchema,
68505
68589
  WebhookDataTicketCreated$outboundSchema,
@@ -68596,7 +68680,6 @@ var init_components = __esm(() => {
68596
68680
  init_assignproductimagevalidationerror();
68597
68681
  init_asynccreatedrefund();
68598
68682
  init_asynctransfer();
68599
- init_authorizeduser();
68600
68683
  init_authtoken();
68601
68684
  init_authtokenrequest();
68602
68685
  init_bankaccount();
@@ -68684,9 +68767,6 @@ var init_components = __esm(() => {
68684
68767
  init_createaccountsettings();
68685
68768
  init_createaccounttype();
68686
68769
  init_createapplepaysession();
68687
- init_createauthorizeduser();
68688
- init_createauthorizedusererror();
68689
- init_createauthorizeduserupdate();
68690
68770
  init_createbusinesserror();
68691
68771
  init_createbusinessprofile();
68692
68772
  init_createdtransfer();
@@ -69062,6 +69142,7 @@ var init_components = __esm(() => {
69062
69142
  init_webhookdataaccountcreated();
69063
69143
  init_webhookdataaccountdisconnected();
69064
69144
  init_webhookdataaccountupdated();
69145
+ init_webhookdataauthorizationexpiring();
69065
69146
  init_webhookdatabalanceupdated();
69066
69147
  init_webhookdatabankaccountcreated();
69067
69148
  init_webhookdatabankaccountdeleted();
@@ -70697,10 +70778,10 @@ var init_requestcarderror = __esm(() => {
70697
70778
  init_components();
70698
70779
  init_mooverror();
70699
70780
  RequestCardError = class RequestCardError extends MoovError {
70700
- fundingWalletID;
70701
- formFactor;
70702
- authorizedUser;
70703
- memo;
70781
+ authorizedUserAccountID;
70782
+ nickname;
70783
+ metadata;
70784
+ billingAddress;
70704
70785
  expiration;
70705
70786
  controls;
70706
70787
  data$;
@@ -70708,14 +70789,15 @@ var init_requestcarderror = __esm(() => {
70708
70789
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
70709
70790
  super(message, httpMeta);
70710
70791
  this.data$ = err;
70711
- if (err.fundingWalletID != null)
70712
- this.fundingWalletID = err.fundingWalletID;
70713
- if (err.formFactor != null)
70714
- this.formFactor = err.formFactor;
70715
- if (err.authorizedUser != null)
70716
- this.authorizedUser = err.authorizedUser;
70717
- if (err.memo != null)
70718
- this.memo = err.memo;
70792
+ if (err.authorizedUserAccountID != null) {
70793
+ this.authorizedUserAccountID = err.authorizedUserAccountID;
70794
+ }
70795
+ if (err.nickname != null)
70796
+ this.nickname = err.nickname;
70797
+ if (err.metadata != null)
70798
+ this.metadata = err.metadata;
70799
+ if (err.billingAddress != null)
70800
+ this.billingAddress = err.billingAddress;
70719
70801
  if (err.expiration != null)
70720
70802
  this.expiration = err.expiration;
70721
70803
  if (err.controls != null)
@@ -70724,10 +70806,10 @@ var init_requestcarderror = __esm(() => {
70724
70806
  }
70725
70807
  };
70726
70808
  RequestCardError$inboundSchema = objectType({
70727
- fundingWalletID: stringType().optional(),
70728
- formFactor: stringType().optional(),
70729
- authorizedUser: CreateAuthorizedUserError$inboundSchema.optional(),
70730
- memo: stringType().optional(),
70809
+ authorizedUserAccountID: stringType().optional(),
70810
+ nickname: stringType().optional(),
70811
+ metadata: stringType().optional(),
70812
+ billingAddress: AddressError$inboundSchema.optional(),
70731
70813
  expiration: CardExpirationError$inboundSchema.optional(),
70732
70814
  controls: IssuingControlsError$inboundSchema.optional(),
70733
70815
  request$: instanceOfType(Request),
@@ -70741,10 +70823,10 @@ var init_requestcarderror = __esm(() => {
70741
70823
  });
70742
70824
  });
70743
70825
  RequestCardError$outboundSchema = instanceOfType(RequestCardError).transform((v2) => v2.data$).pipe(objectType({
70744
- fundingWalletID: stringType().optional(),
70745
- formFactor: stringType().optional(),
70746
- authorizedUser: CreateAuthorizedUserError$outboundSchema.optional(),
70747
- memo: stringType().optional(),
70826
+ authorizedUserAccountID: stringType().optional(),
70827
+ nickname: stringType().optional(),
70828
+ metadata: stringType().optional(),
70829
+ billingAddress: AddressError$outboundSchema.optional(),
70748
70830
  expiration: CardExpirationError$outboundSchema.optional(),
70749
70831
  controls: IssuingControlsError$outboundSchema.optional()
70750
70832
  }));
@@ -71315,8 +71397,9 @@ var init_updateissuedcarderror = __esm(() => {
71315
71397
  init_mooverror();
71316
71398
  UpdateIssuedCardError = class UpdateIssuedCardError extends MoovError {
71317
71399
  state;
71318
- memo;
71319
- authorizedUser;
71400
+ nickname;
71401
+ metadata;
71402
+ billingAddress;
71320
71403
  data$;
71321
71404
  constructor(err, httpMeta) {
71322
71405
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
@@ -71324,17 +71407,20 @@ var init_updateissuedcarderror = __esm(() => {
71324
71407
  this.data$ = err;
71325
71408
  if (err.state != null)
71326
71409
  this.state = err.state;
71327
- if (err.memo != null)
71328
- this.memo = err.memo;
71329
- if (err.authorizedUser != null)
71330
- this.authorizedUser = err.authorizedUser;
71410
+ if (err.nickname != null)
71411
+ this.nickname = err.nickname;
71412
+ if (err.metadata != null)
71413
+ this.metadata = err.metadata;
71414
+ if (err.billingAddress != null)
71415
+ this.billingAddress = err.billingAddress;
71331
71416
  this.name = "UpdateIssuedCardError";
71332
71417
  }
71333
71418
  };
71334
71419
  UpdateIssuedCardError$inboundSchema = objectType({
71335
71420
  state: stringType().optional(),
71336
- memo: stringType().optional(),
71337
- authorizedUser: CreateAuthorizedUserError$inboundSchema.optional(),
71421
+ nickname: stringType().optional(),
71422
+ metadata: stringType().optional(),
71423
+ billingAddress: AddressError$inboundSchema.optional(),
71338
71424
  request$: instanceOfType(Request),
71339
71425
  response$: instanceOfType(Response),
71340
71426
  body$: stringType()
@@ -71347,8 +71433,9 @@ var init_updateissuedcarderror = __esm(() => {
71347
71433
  });
71348
71434
  UpdateIssuedCardError$outboundSchema = instanceOfType(UpdateIssuedCardError).transform((v2) => v2.data$).pipe(objectType({
71349
71435
  state: stringType().optional(),
71350
- memo: stringType().optional(),
71351
- authorizedUser: CreateAuthorizedUserError$outboundSchema.optional()
71436
+ nickname: stringType().optional(),
71437
+ metadata: stringType().optional(),
71438
+ billingAddress: AddressError$outboundSchema.optional()
71352
71439
  }));
71353
71440
  });
71354
71441
 
@@ -75317,6 +75404,40 @@ var init_listbankaccounts = __esm(() => {
75317
75404
  });
75318
75405
  });
75319
75406
 
75407
+ // src/models/operations/listcancellations.ts
75408
+ var ListCancellationsRequest$inboundSchema, ListCancellationsRequest$outboundSchema, ListCancellationsResponse$inboundSchema, ListCancellationsResponse$outboundSchema;
75409
+ var init_listcancellations = __esm(() => {
75410
+ init_esm();
75411
+ init_primitives();
75412
+ init_components();
75413
+ ListCancellationsRequest$inboundSchema = objectType({
75414
+ accountID: stringType(),
75415
+ transferID: stringType()
75416
+ });
75417
+ ListCancellationsRequest$outboundSchema = objectType({
75418
+ accountID: stringType(),
75419
+ transferID: stringType()
75420
+ });
75421
+ ListCancellationsResponse$inboundSchema = objectType({
75422
+ Headers: recordType(arrayType(stringType())).default({}),
75423
+ Result: arrayType(Cancellation$inboundSchema)
75424
+ }).transform((v2) => {
75425
+ return remap(v2, {
75426
+ Headers: "headers",
75427
+ Result: "result"
75428
+ });
75429
+ });
75430
+ ListCancellationsResponse$outboundSchema = objectType({
75431
+ headers: recordType(arrayType(stringType())),
75432
+ result: arrayType(Cancellation$outboundSchema)
75433
+ }).transform((v2) => {
75434
+ return remap(v2, {
75435
+ headers: "Headers",
75436
+ result: "Result"
75437
+ });
75438
+ });
75439
+ });
75440
+
75320
75441
  // src/models/operations/listcapabilities.ts
75321
75442
  var ListCapabilitiesRequest$inboundSchema, ListCapabilitiesRequest$outboundSchema, ListCapabilitiesResponse$inboundSchema, ListCapabilitiesResponse$outboundSchema;
75322
75443
  var init_listcapabilities = __esm(() => {
@@ -78265,6 +78386,7 @@ var init_operations = __esm(() => {
78265
78386
  init_listaccountterminalapplications();
78266
78387
  init_listadjustments();
78267
78388
  init_listbankaccounts();
78389
+ init_listcancellations();
78268
78390
  init_listcapabilities();
78269
78391
  init_listcards();
78270
78392
  init_listconnectedaccountsforaccount();
@@ -78349,16 +78471,19 @@ var init_async = __esm(() => {
78349
78471
  [Symbol.toStringTag] = "APIPromise";
78350
78472
  constructor(p) {
78351
78473
  this.#promise = p instanceof Promise ? p : Promise.resolve(p);
78352
- this.#unwrapped = p instanceof Promise ? this.#promise.then(([value]) => value) : Promise.resolve(p[0]);
78474
+ this.#unwrapped = p instanceof Promise ? null : Promise.resolve(p[0]);
78475
+ }
78476
+ #getUnwrapped() {
78477
+ return this.#unwrapped ??= this.#promise.then(([value]) => value);
78353
78478
  }
78354
78479
  then(onfulfilled, onrejected) {
78355
78480
  return this.#promise.then(onfulfilled ? ([value]) => onfulfilled(value) : undefined, onrejected);
78356
78481
  }
78357
78482
  catch(onrejected) {
78358
- return this.#unwrapped.catch(onrejected);
78483
+ return this.#getUnwrapped().catch(onrejected);
78359
78484
  }
78360
78485
  finally(onfinally) {
78361
- return this.#unwrapped.finally(onfinally);
78486
+ return this.#getUnwrapped().finally(onfinally);
78362
78487
  }
78363
78488
  $inspect() {
78364
78489
  return this.#promise;
@@ -78681,21 +78806,19 @@ var init_accountsCreate2 = __esm(() => {
78681
78806
  };
78682
78807
  tool$accountsCreate = {
78683
78808
  name: "accounts-create",
78684
- description: `You can create **business** or **individual** accounts for your users (i.e., customers, merchants) by passing the required
78685
- information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/requirements/).
78809
+ 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/).
78686
78810
 
78687
- If you're requesting the \`wallet\`, \`send-funds\`, \`collect-funds\`, or \`card-issuing\` capabilities, you'll need to:
78688
- + Send Moov the user [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance.
78689
- 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.
78690
- If you're creating a business account with the business type \`llc\`, \`partnership\`, or \`privateCorporation\`, you'll need to:
78811
+ 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:
78812
+ + 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.
78813
+ + 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.
78814
+
78815
+ If you're creating a business account, depending on the business type, you'll also need to:
78691
78816
  + Provide [business representatives](https://docs.moov.io/api/moov-accounts/representatives/) after creating the account.
78692
78817
  + [Patch](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account to indicate that business representative ownership information is complete.
78693
78818
 
78694
- 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/).
78695
- 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.
78819
+ 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.
78696
78820
 
78697
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
78698
- to specify the \`/accounts.write\` scope.`,
78821
+ 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.`,
78699
78822
  args: args3,
78700
78823
  tool: async (client, args4, ctx) => {
78701
78824
  const [result, apiCall] = await accountsCreate(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -82167,7 +82290,7 @@ var init_bankAccountsLink2 = __esm(() => {
82167
82290
  description: `Link a bank account to an existing Moov account. Read our [bank accounts guide](https://docs.moov.io/guides/sources/bank-accounts/) to learn more.
82168
82291
 
82169
82292
  It is strongly recommended that callers include the \`X-Wait-For\` header, set to \`payment-method\`, if the newly linked
82170
- bank-account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
82293
+ bank account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
82171
82294
  Methods](https://docs.moov.io/api/sources/payment-methods/list/)
82172
82295
  endpoint to wait for the new payment methods to be available for use.
82173
82296
 
@@ -82734,7 +82857,7 @@ var init_capabilitiesDisable2 = __esm(() => {
82734
82857
  };
82735
82858
  tool$capabilitiesDisable = {
82736
82859
  name: "capabilities-disable",
82737
- description: `Disable a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
82860
+ 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.
82738
82861
 
82739
82862
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
82740
82863
  you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
@@ -82848,7 +82971,7 @@ var init_capabilitiesGet2 = __esm(() => {
82848
82971
  };
82849
82972
  tool$capabilitiesGet = {
82850
82973
  name: "capabilities-get",
82851
- description: `Retrieve a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
82974
+ 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.
82852
82975
 
82853
82976
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
82854
82977
  you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
@@ -82961,7 +83084,7 @@ var init_capabilitiesList2 = __esm(() => {
82961
83084
  name: "capabilities-list",
82962
83085
  description: `Retrieve all the capabilities an account has requested.
82963
83086
 
82964
- Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
83087
+ Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
82965
83088
 
82966
83089
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
82967
83090
  you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
@@ -83074,7 +83197,7 @@ var init_capabilitiesRequest2 = __esm(() => {
83074
83197
  };
83075
83198
  tool$capabilitiesRequest = {
83076
83199
  name: "capabilities-request",
83077
- description: `Request capabilities for a specific account. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
83200
+ description: `Request capabilities for a specific account. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
83078
83201
 
83079
83202
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
83080
83203
  you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
@@ -83114,7 +83237,7 @@ async function $do42(client, request, options) {
83114
83237
  charEncoding: "percent"
83115
83238
  })
83116
83239
  };
83117
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}")(pathParams);
83240
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
83118
83241
  const headers = new Headers(compactMap({
83119
83242
  Accept: "application/json"
83120
83243
  }));
@@ -83229,7 +83352,7 @@ async function $do43(client, request, options) {
83229
83352
  charEncoding: "percent"
83230
83353
  })
83231
83354
  };
83232
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}/details")(pathParams);
83355
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}/details")(pathParams);
83233
83356
  const headers = new Headers(compactMap({
83234
83357
  Accept: "application/json"
83235
83358
  }));
@@ -83342,7 +83465,7 @@ async function $do44(client, request, options) {
83342
83465
  charEncoding: "percent"
83343
83466
  })
83344
83467
  };
83345
- const path = pathToFunc("/issuing/{accountID}/issued-cards")(pathParams);
83468
+ const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
83346
83469
  const query = encodeFormQuery({
83347
83470
  count: payload.count,
83348
83471
  skip: payload.skip,
@@ -83459,7 +83582,7 @@ async function $do45(client, request, options) {
83459
83582
  charEncoding: "percent"
83460
83583
  })
83461
83584
  };
83462
- const path = pathToFunc("/issuing/{accountID}/issued-cards")(pathParams);
83585
+ const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
83463
83586
  const headers = new Headers(compactMap({
83464
83587
  "Content-Type": "application/json",
83465
83588
  Accept: "application/json"
@@ -83576,7 +83699,7 @@ async function $do46(client, request, options) {
83576
83699
  charEncoding: "percent"
83577
83700
  })
83578
83701
  };
83579
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}")(pathParams);
83702
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
83580
83703
  const headers = new Headers(compactMap({
83581
83704
  "Content-Type": "application/json",
83582
83705
  Accept: "application/json"
@@ -96193,11 +96316,126 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
96193
96316
  };
96194
96317
  });
96195
96318
 
96196
- // src/funcs/transfersListRefunds.ts
96197
- function transfersListRefunds(client, request, options) {
96319
+ // src/funcs/transfersListCancellations.ts
96320
+ function transfersListCancellations(client, request, options) {
96198
96321
  return new APIPromise($do154(client, request, options));
96199
96322
  }
96200
96323
  async function $do154(client, request, options) {
96324
+ const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
96325
+ if (!parsed.ok) {
96326
+ return [parsed, { status: "invalid" }];
96327
+ }
96328
+ const payload = parsed.value;
96329
+ const body = null;
96330
+ const pathParams = {
96331
+ accountID: encodeSimple("accountID", payload.accountID, {
96332
+ explode: false,
96333
+ charEncoding: "percent"
96334
+ }),
96335
+ transferID: encodeSimple("transferID", payload.transferID, {
96336
+ explode: false,
96337
+ charEncoding: "percent"
96338
+ })
96339
+ };
96340
+ const path = pathToFunc("/accounts/{accountID}/transfers/{transferID}/cancellations")(pathParams);
96341
+ const headers = new Headers(compactMap({
96342
+ Accept: "application/json"
96343
+ }));
96344
+ const securityInput = await extractSecurity(client._options.security);
96345
+ const requestSecurity = resolveGlobalSecurity(securityInput);
96346
+ const context = {
96347
+ options: client._options,
96348
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
96349
+ operationID: "listCancellations",
96350
+ oAuth2Scopes: null,
96351
+ resolvedSecurity: requestSecurity,
96352
+ securitySource: client._options.security,
96353
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
96354
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
96355
+ };
96356
+ const requestRes = client._createRequest(context, {
96357
+ security: requestSecurity,
96358
+ method: "GET",
96359
+ baseURL: options?.serverURL,
96360
+ path,
96361
+ headers,
96362
+ body,
96363
+ userAgent: client._options.userAgent,
96364
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
96365
+ }, options);
96366
+ if (!requestRes.ok) {
96367
+ return [requestRes, { status: "invalid" }];
96368
+ }
96369
+ const req = requestRes.value;
96370
+ const doResult = await client._do(req, {
96371
+ context,
96372
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
96373
+ retryConfig: context.retryConfig,
96374
+ retryCodes: context.retryCodes
96375
+ });
96376
+ if (!doResult.ok) {
96377
+ return [doResult, { status: "request-error", request: req }];
96378
+ }
96379
+ const response = doResult.value;
96380
+ const responseFields = {
96381
+ HttpMeta: { Response: response, Request: req }
96382
+ };
96383
+ const [result] = await match(json(200, ListCancellationsResponse$inboundSchema, {
96384
+ hdrs: true,
96385
+ key: "Result"
96386
+ }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
96387
+ if (!result.ok) {
96388
+ return [result, { status: "complete", request: req, response }];
96389
+ }
96390
+ return [result, { status: "complete", request: req, response }];
96391
+ }
96392
+ var init_transfersListCancellations = __esm(() => {
96393
+ init_encodings();
96394
+ init_http();
96395
+ init_matchers();
96396
+ init_primitives();
96397
+ init_schemas4();
96398
+ init_security();
96399
+ init_url();
96400
+ init_operations();
96401
+ init_async();
96402
+ });
96403
+
96404
+ // src/mcp-server/tools/transfersListCancellations.ts
96405
+ var args149, tool$transfersListCancellations;
96406
+ var init_transfersListCancellations2 = __esm(() => {
96407
+ init_transfersListCancellations();
96408
+ init_operations();
96409
+ init_tools();
96410
+ args149 = {
96411
+ request: ListCancellationsRequest$inboundSchema
96412
+ };
96413
+ tool$transfersListCancellations = {
96414
+ name: "transfers-list-cancellations",
96415
+ description: ` Get a list of cancellations for a transfer.
96416
+
96417
+ To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
96418
+ to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
96419
+ args: args149,
96420
+ tool: async (client, args150, ctx) => {
96421
+ const [result, apiCall] = await transfersListCancellations(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96422
+ if (!result.ok) {
96423
+ return {
96424
+ content: [{ type: "text", text: result.error.message }],
96425
+ isError: true
96426
+ };
96427
+ }
96428
+ const value = result.value.result;
96429
+ return formatResult(value, apiCall);
96430
+ }
96431
+ };
96432
+ });
96433
+
96434
+ // src/funcs/transfersListRefunds.ts
96435
+ function transfersListRefunds(client, request, options) {
96436
+ return new APIPromise($do155(client, request, options));
96437
+ }
96438
+ async function $do155(client, request, options) {
96201
96439
  const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
96202
96440
  if (!parsed.ok) {
96203
96441
  return [parsed, { status: "invalid" }];
@@ -96279,12 +96517,12 @@ var init_transfersListRefunds = __esm(() => {
96279
96517
  });
96280
96518
 
96281
96519
  // src/mcp-server/tools/transfersListRefunds.ts
96282
- var args149, tool$transfersListRefunds;
96520
+ var args150, tool$transfersListRefunds;
96283
96521
  var init_transfersListRefunds2 = __esm(() => {
96284
96522
  init_transfersListRefunds();
96285
96523
  init_operations();
96286
96524
  init_tools();
96287
- args149 = {
96525
+ args150 = {
96288
96526
  request: ListRefundsRequest$inboundSchema
96289
96527
  };
96290
96528
  tool$transfersListRefunds = {
@@ -96293,9 +96531,9 @@ var init_transfersListRefunds2 = __esm(() => {
96293
96531
 
96294
96532
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96295
96533
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
96296
- args: args149,
96297
- tool: async (client, args150, ctx) => {
96298
- const [result, apiCall] = await transfersListRefunds(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96534
+ args: args150,
96535
+ tool: async (client, args151, ctx) => {
96536
+ const [result, apiCall] = await transfersListRefunds(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96299
96537
  if (!result.ok) {
96300
96538
  return {
96301
96539
  content: [{ type: "text", text: result.error.message }],
@@ -96310,9 +96548,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
96310
96548
 
96311
96549
  // src/funcs/transfersUpdate.ts
96312
96550
  function transfersUpdate(client, request, options) {
96313
- return new APIPromise($do155(client, request, options));
96551
+ return new APIPromise($do156(client, request, options));
96314
96552
  }
96315
- async function $do155(client, request, options) {
96553
+ async function $do156(client, request, options) {
96316
96554
  const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
96317
96555
  if (!parsed.ok) {
96318
96556
  return [parsed, { status: "invalid" }];
@@ -96398,12 +96636,12 @@ var init_transfersUpdate = __esm(() => {
96398
96636
  });
96399
96637
 
96400
96638
  // src/mcp-server/tools/transfersUpdate.ts
96401
- var args150, tool$transfersUpdate;
96639
+ var args151, tool$transfersUpdate;
96402
96640
  var init_transfersUpdate2 = __esm(() => {
96403
96641
  init_transfersUpdate();
96404
96642
  init_operations();
96405
96643
  init_tools();
96406
- args150 = {
96644
+ args151 = {
96407
96645
  request: UpdateTransferRequest$inboundSchema
96408
96646
  };
96409
96647
  tool$transfersUpdate = {
@@ -96414,9 +96652,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
96414
96652
 
96415
96653
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96416
96654
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
96417
- args: args150,
96418
- tool: async (client, args151, ctx) => {
96419
- const [result, apiCall] = await transfersUpdate(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96655
+ args: args151,
96656
+ tool: async (client, args152, ctx) => {
96657
+ const [result, apiCall] = await transfersUpdate(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96420
96658
  if (!result.ok) {
96421
96659
  return {
96422
96660
  content: [{ type: "text", text: result.error.message }],
@@ -96431,9 +96669,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
96431
96669
 
96432
96670
  // src/funcs/underwritingGet.ts
96433
96671
  function underwritingGet(client, request, options) {
96434
- return new APIPromise($do156(client, request, options));
96672
+ return new APIPromise($do157(client, request, options));
96435
96673
  }
96436
- async function $do156(client, request, options) {
96674
+ async function $do157(client, request, options) {
96437
96675
  const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
96438
96676
  if (!parsed.ok) {
96439
96677
  return [parsed, { status: "invalid" }];
@@ -96511,12 +96749,12 @@ var init_underwritingGet = __esm(() => {
96511
96749
  });
96512
96750
 
96513
96751
  // src/mcp-server/tools/underwritingGet.ts
96514
- var args151, tool$underwritingGet;
96752
+ var args152, tool$underwritingGet;
96515
96753
  var init_underwritingGet2 = __esm(() => {
96516
96754
  init_underwritingGet();
96517
96755
  init_operations();
96518
96756
  init_tools();
96519
- args151 = {
96757
+ args152 = {
96520
96758
  request: GetUnderwritingRequest$inboundSchema
96521
96759
  };
96522
96760
  tool$underwritingGet = {
@@ -96527,9 +96765,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
96527
96765
 
96528
96766
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96529
96767
  you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
96530
- args: args151,
96531
- tool: async (client, args152, ctx) => {
96532
- const [result, apiCall] = await underwritingGet(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96768
+ args: args152,
96769
+ tool: async (client, args153, ctx) => {
96770
+ const [result, apiCall] = await underwritingGet(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96533
96771
  if (!result.ok) {
96534
96772
  return {
96535
96773
  content: [{ type: "text", text: result.error.message }],
@@ -96544,9 +96782,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
96544
96782
 
96545
96783
  // src/funcs/underwritingSave.ts
96546
96784
  function underwritingSave(client, request, options) {
96547
- return new APIPromise($do157(client, request, options));
96785
+ return new APIPromise($do158(client, request, options));
96548
96786
  }
96549
- async function $do157(client, request, options) {
96787
+ async function $do158(client, request, options) {
96550
96788
  const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
96551
96789
  if (!parsed.ok) {
96552
96790
  return [parsed, { status: "invalid" }];
@@ -96630,12 +96868,12 @@ var init_underwritingSave = __esm(() => {
96630
96868
  });
96631
96869
 
96632
96870
  // src/mcp-server/tools/underwritingSave.ts
96633
- var args152, tool$underwritingSave;
96871
+ var args153, tool$underwritingSave;
96634
96872
  var init_underwritingSave2 = __esm(() => {
96635
96873
  init_underwritingSave();
96636
96874
  init_operations();
96637
96875
  init_tools();
96638
- args152 = {
96876
+ args153 = {
96639
96877
  request: SaveUnderwritingRequest$inboundSchema
96640
96878
  };
96641
96879
  tool$underwritingSave = {
@@ -96646,9 +96884,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
96646
96884
 
96647
96885
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96648
96886
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
96649
- args: args152,
96650
- tool: async (client, args153, ctx) => {
96651
- const [result, apiCall] = await underwritingSave(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96887
+ args: args153,
96888
+ tool: async (client, args154, ctx) => {
96889
+ const [result, apiCall] = await underwritingSave(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96652
96890
  if (!result.ok) {
96653
96891
  return {
96654
96892
  content: [{ type: "text", text: result.error.message }],
@@ -96663,9 +96901,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
96663
96901
 
96664
96902
  // src/funcs/underwritingUpsert.ts
96665
96903
  function underwritingUpsert(client, request, options) {
96666
- return new APIPromise($do158(client, request, options));
96904
+ return new APIPromise($do159(client, request, options));
96667
96905
  }
96668
- async function $do158(client, request, options) {
96906
+ async function $do159(client, request, options) {
96669
96907
  const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
96670
96908
  if (!parsed.ok) {
96671
96909
  return [parsed, { status: "invalid" }];
@@ -96749,12 +96987,12 @@ var init_underwritingUpsert = __esm(() => {
96749
96987
  });
96750
96988
 
96751
96989
  // src/mcp-server/tools/underwritingUpsert.ts
96752
- var args153, tool$underwritingUpsert;
96990
+ var args154, tool$underwritingUpsert;
96753
96991
  var init_underwritingUpsert2 = __esm(() => {
96754
96992
  init_underwritingUpsert();
96755
96993
  init_operations();
96756
96994
  init_tools();
96757
- args153 = {
96995
+ args154 = {
96758
96996
  request: UpsertUnderwritingRequest$inboundSchema
96759
96997
  };
96760
96998
  tool$underwritingUpsert = {
@@ -96765,9 +97003,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
96765
97003
 
96766
97004
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96767
97005
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
96768
- args: args153,
96769
- tool: async (client, args154, ctx) => {
96770
- const [result, apiCall] = await underwritingUpsert(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97006
+ args: args154,
97007
+ tool: async (client, args155, ctx) => {
97008
+ const [result, apiCall] = await underwritingUpsert(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96771
97009
  if (!result.ok) {
96772
97010
  return {
96773
97011
  content: [{ type: "text", text: result.error.message }],
@@ -96782,9 +97020,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
96782
97020
 
96783
97021
  // src/funcs/walletsCreate.ts
96784
97022
  function walletsCreate(client, request, options) {
96785
- return new APIPromise($do159(client, request, options));
97023
+ return new APIPromise($do160(client, request, options));
96786
97024
  }
96787
- async function $do159(client, request, options) {
97025
+ async function $do160(client, request, options) {
96788
97026
  const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
96789
97027
  if (!parsed.ok) {
96790
97028
  return [parsed, { status: "invalid" }];
@@ -96866,12 +97104,12 @@ var init_walletsCreate = __esm(() => {
96866
97104
  });
96867
97105
 
96868
97106
  // src/mcp-server/tools/walletsCreate.ts
96869
- var args154, tool$walletsCreate;
97107
+ var args155, tool$walletsCreate;
96870
97108
  var init_walletsCreate2 = __esm(() => {
96871
97109
  init_walletsCreate();
96872
97110
  init_operations();
96873
97111
  init_tools();
96874
- args154 = {
97112
+ args155 = {
96875
97113
  request: CreateWalletRequest$inboundSchema
96876
97114
  };
96877
97115
  tool$walletsCreate = {
@@ -96882,9 +97120,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
96882
97120
 
96883
97121
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
96884
97122
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
96885
- args: args154,
96886
- tool: async (client, args155, ctx) => {
96887
- const [result, apiCall] = await walletsCreate(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97123
+ args: args155,
97124
+ tool: async (client, args156, ctx) => {
97125
+ const [result, apiCall] = await walletsCreate(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96888
97126
  if (!result.ok) {
96889
97127
  return {
96890
97128
  content: [{ type: "text", text: result.error.message }],
@@ -96899,9 +97137,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
96899
97137
 
96900
97138
  // src/funcs/walletsGet.ts
96901
97139
  function walletsGet(client, request, options) {
96902
- return new APIPromise($do160(client, request, options));
97140
+ return new APIPromise($do161(client, request, options));
96903
97141
  }
96904
- async function $do160(client, request, options) {
97142
+ async function $do161(client, request, options) {
96905
97143
  const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
96906
97144
  if (!parsed.ok) {
96907
97145
  return [parsed, { status: "invalid" }];
@@ -96983,12 +97221,12 @@ var init_walletsGet = __esm(() => {
96983
97221
  });
96984
97222
 
96985
97223
  // src/mcp-server/tools/walletsGet.ts
96986
- var args155, tool$walletsGet;
97224
+ var args156, tool$walletsGet;
96987
97225
  var init_walletsGet2 = __esm(() => {
96988
97226
  init_walletsGet();
96989
97227
  init_operations();
96990
97228
  init_tools();
96991
- args155 = {
97229
+ args156 = {
96992
97230
  request: GetWalletRequest$inboundSchema
96993
97231
  };
96994
97232
  tool$walletsGet = {
@@ -96999,9 +97237,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
96999
97237
 
97000
97238
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
97001
97239
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97002
- args: args155,
97003
- tool: async (client, args156, ctx) => {
97004
- const [result, apiCall] = await walletsGet(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97240
+ args: args156,
97241
+ tool: async (client, args157, ctx) => {
97242
+ const [result, apiCall] = await walletsGet(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97005
97243
  if (!result.ok) {
97006
97244
  return {
97007
97245
  content: [{ type: "text", text: result.error.message }],
@@ -97016,9 +97254,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97016
97254
 
97017
97255
  // src/funcs/walletsList.ts
97018
97256
  function walletsList(client, request, options) {
97019
- return new APIPromise($do161(client, request, options));
97257
+ return new APIPromise($do162(client, request, options));
97020
97258
  }
97021
- async function $do161(client, request, options) {
97259
+ async function $do162(client, request, options) {
97022
97260
  const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
97023
97261
  if (!parsed.ok) {
97024
97262
  return [parsed, { status: "invalid" }];
@@ -97106,12 +97344,12 @@ var init_walletsList = __esm(() => {
97106
97344
  });
97107
97345
 
97108
97346
  // src/mcp-server/tools/walletsList.ts
97109
- var args156, tool$walletsList;
97347
+ var args157, tool$walletsList;
97110
97348
  var init_walletsList2 = __esm(() => {
97111
97349
  init_walletsList();
97112
97350
  init_operations();
97113
97351
  init_tools();
97114
- args156 = {
97352
+ args157 = {
97115
97353
  request: ListWalletsRequest$inboundSchema
97116
97354
  };
97117
97355
  tool$walletsList = {
@@ -97122,9 +97360,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
97122
97360
 
97123
97361
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
97124
97362
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97125
- args: args156,
97126
- tool: async (client, args157, ctx) => {
97127
- const [result, apiCall] = await walletsList(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97363
+ args: args157,
97364
+ tool: async (client, args158, ctx) => {
97365
+ const [result, apiCall] = await walletsList(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97128
97366
  if (!result.ok) {
97129
97367
  return {
97130
97368
  content: [{ type: "text", text: result.error.message }],
@@ -97139,9 +97377,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97139
97377
 
97140
97378
  // src/funcs/walletsUpdate.ts
97141
97379
  function walletsUpdate(client, request, options) {
97142
- return new APIPromise($do162(client, request, options));
97380
+ return new APIPromise($do163(client, request, options));
97143
97381
  }
97144
- async function $do162(client, request, options) {
97382
+ async function $do163(client, request, options) {
97145
97383
  const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
97146
97384
  if (!parsed.ok) {
97147
97385
  return [parsed, { status: "invalid" }];
@@ -97227,12 +97465,12 @@ var init_walletsUpdate = __esm(() => {
97227
97465
  });
97228
97466
 
97229
97467
  // src/mcp-server/tools/walletsUpdate.ts
97230
- var args157, tool$walletsUpdate;
97468
+ var args158, tool$walletsUpdate;
97231
97469
  var init_walletsUpdate2 = __esm(() => {
97232
97470
  init_walletsUpdate();
97233
97471
  init_operations();
97234
97472
  init_tools();
97235
- args157 = {
97473
+ args158 = {
97236
97474
  request: UpdateWalletRequest$inboundSchema
97237
97475
  };
97238
97476
  tool$walletsUpdate = {
@@ -97243,9 +97481,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
97243
97481
 
97244
97482
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
97245
97483
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
97246
- args: args157,
97247
- tool: async (client, args158, ctx) => {
97248
- const [result, apiCall] = await walletsUpdate(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97484
+ args: args158,
97485
+ tool: async (client, args159, ctx) => {
97486
+ const [result, apiCall] = await walletsUpdate(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97249
97487
  if (!result.ok) {
97250
97488
  return {
97251
97489
  content: [{ type: "text", text: result.error.message }],
@@ -97260,9 +97498,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
97260
97498
 
97261
97499
  // src/funcs/walletTransactionsGet.ts
97262
97500
  function walletTransactionsGet(client, request, options) {
97263
- return new APIPromise($do163(client, request, options));
97501
+ return new APIPromise($do164(client, request, options));
97264
97502
  }
97265
- async function $do163(client, request, options) {
97503
+ async function $do164(client, request, options) {
97266
97504
  const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
97267
97505
  if (!parsed.ok) {
97268
97506
  return [parsed, { status: "invalid" }];
@@ -97348,12 +97586,12 @@ var init_walletTransactionsGet = __esm(() => {
97348
97586
  });
97349
97587
 
97350
97588
  // src/mcp-server/tools/walletTransactionsGet.ts
97351
- var args158, tool$walletTransactionsGet;
97589
+ var args159, tool$walletTransactionsGet;
97352
97590
  var init_walletTransactionsGet2 = __esm(() => {
97353
97591
  init_walletTransactionsGet();
97354
97592
  init_operations();
97355
97593
  init_tools();
97356
- args158 = {
97594
+ args159 = {
97357
97595
  request: GetWalletTransactionRequest$inboundSchema
97358
97596
  };
97359
97597
  tool$walletTransactionsGet = {
@@ -97364,9 +97602,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
97364
97602
 
97365
97603
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
97366
97604
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97367
- args: args158,
97368
- tool: async (client, args159, ctx) => {
97369
- const [result, apiCall] = await walletTransactionsGet(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97605
+ args: args159,
97606
+ tool: async (client, args160, ctx) => {
97607
+ const [result, apiCall] = await walletTransactionsGet(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97370
97608
  if (!result.ok) {
97371
97609
  return {
97372
97610
  content: [{ type: "text", text: result.error.message }],
@@ -97381,9 +97619,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97381
97619
 
97382
97620
  // src/funcs/walletTransactionsList.ts
97383
97621
  function walletTransactionsList(client, request, options) {
97384
- return new APIPromise($do164(client, request, options));
97622
+ return new APIPromise($do165(client, request, options));
97385
97623
  }
97386
- async function $do164(client, request, options) {
97624
+ async function $do165(client, request, options) {
97387
97625
  const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
97388
97626
  if (!parsed.ok) {
97389
97627
  return [parsed, { status: "invalid" }];
@@ -97483,12 +97721,12 @@ var init_walletTransactionsList = __esm(() => {
97483
97721
  });
97484
97722
 
97485
97723
  // src/mcp-server/tools/walletTransactionsList.ts
97486
- var args159, tool$walletTransactionsList;
97724
+ var args160, tool$walletTransactionsList;
97487
97725
  var init_walletTransactionsList2 = __esm(() => {
97488
97726
  init_walletTransactionsList();
97489
97727
  init_operations();
97490
97728
  init_tools();
97491
- args159 = {
97729
+ args160 = {
97492
97730
  request: ListWalletTransactionsRequest$inboundSchema
97493
97731
  };
97494
97732
  tool$walletTransactionsList = {
@@ -97499,9 +97737,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
97499
97737
 
97500
97738
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
97501
97739
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97502
- args: args159,
97503
- tool: async (client, args160, ctx) => {
97504
- const [result, apiCall] = await walletTransactionsList(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97740
+ args: args160,
97741
+ tool: async (client, args161, ctx) => {
97742
+ const [result, apiCall] = await walletTransactionsList(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97505
97743
  if (!result.ok) {
97506
97744
  return {
97507
97745
  content: [{ type: "text", text: result.error.message }],
@@ -97516,9 +97754,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
97516
97754
 
97517
97755
  // src/funcs/webhooksCreate.ts
97518
97756
  function webhooksCreate(client, request, options) {
97519
- return new APIPromise($do165(client, request, options));
97757
+ return new APIPromise($do166(client, request, options));
97520
97758
  }
97521
- async function $do165(client, request, options) {
97759
+ async function $do166(client, request, options) {
97522
97760
  const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
97523
97761
  if (!parsed.ok) {
97524
97762
  return [parsed, { status: "invalid" }];
@@ -97595,20 +97833,20 @@ var init_webhooksCreate = __esm(() => {
97595
97833
  });
97596
97834
 
97597
97835
  // src/mcp-server/tools/webhooksCreate.ts
97598
- var args160, tool$webhooksCreate;
97836
+ var args161, tool$webhooksCreate;
97599
97837
  var init_webhooksCreate2 = __esm(() => {
97600
97838
  init_webhooksCreate();
97601
97839
  init_components();
97602
97840
  init_tools();
97603
- args160 = {
97841
+ args161 = {
97604
97842
  request: CreateWebhook$inboundSchema
97605
97843
  };
97606
97844
  tool$webhooksCreate = {
97607
97845
  name: "webhooks-create",
97608
97846
  description: `Create a new webhook for the account.`,
97609
- args: args160,
97610
- tool: async (client, args161, ctx) => {
97611
- const [result, apiCall] = await webhooksCreate(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97847
+ args: args161,
97848
+ tool: async (client, args162, ctx) => {
97849
+ const [result, apiCall] = await webhooksCreate(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97612
97850
  if (!result.ok) {
97613
97851
  return {
97614
97852
  content: [{ type: "text", text: result.error.message }],
@@ -97623,9 +97861,9 @@ var init_webhooksCreate2 = __esm(() => {
97623
97861
 
97624
97862
  // src/funcs/webhooksDisable.ts
97625
97863
  function webhooksDisable(client, request, options) {
97626
- return new APIPromise($do166(client, request, options));
97864
+ return new APIPromise($do167(client, request, options));
97627
97865
  }
97628
- async function $do166(client, request, options) {
97866
+ async function $do167(client, request, options) {
97629
97867
  const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
97630
97868
  if (!parsed.ok) {
97631
97869
  return [parsed, { status: "invalid" }];
@@ -97703,20 +97941,20 @@ var init_webhooksDisable = __esm(() => {
97703
97941
  });
97704
97942
 
97705
97943
  // src/mcp-server/tools/webhooksDisable.ts
97706
- var args161, tool$webhooksDisable;
97944
+ var args162, tool$webhooksDisable;
97707
97945
  var init_webhooksDisable2 = __esm(() => {
97708
97946
  init_webhooksDisable();
97709
97947
  init_operations();
97710
97948
  init_tools();
97711
- args161 = {
97949
+ args162 = {
97712
97950
  request: DisableWebhookRequest$inboundSchema
97713
97951
  };
97714
97952
  tool$webhooksDisable = {
97715
97953
  name: "webhooks-disable",
97716
97954
  description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
97717
- args: args161,
97718
- tool: async (client, args162, ctx) => {
97719
- const [result, apiCall] = await webhooksDisable(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97955
+ args: args162,
97956
+ tool: async (client, args163, ctx) => {
97957
+ const [result, apiCall] = await webhooksDisable(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97720
97958
  if (!result.ok) {
97721
97959
  return {
97722
97960
  content: [{ type: "text", text: result.error.message }],
@@ -97730,9 +97968,9 @@ var init_webhooksDisable2 = __esm(() => {
97730
97968
 
97731
97969
  // src/funcs/webhooksGet.ts
97732
97970
  function webhooksGet(client, request, options) {
97733
- return new APIPromise($do167(client, request, options));
97971
+ return new APIPromise($do168(client, request, options));
97734
97972
  }
97735
- async function $do167(client, request, options) {
97973
+ async function $do168(client, request, options) {
97736
97974
  const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
97737
97975
  if (!parsed.ok) {
97738
97976
  return [parsed, { status: "invalid" }];
@@ -97810,20 +98048,20 @@ var init_webhooksGet = __esm(() => {
97810
98048
  });
97811
98049
 
97812
98050
  // src/mcp-server/tools/webhooksGet.ts
97813
- var args162, tool$webhooksGet;
98051
+ var args163, tool$webhooksGet;
97814
98052
  var init_webhooksGet2 = __esm(() => {
97815
98053
  init_webhooksGet();
97816
98054
  init_operations();
97817
98055
  init_tools();
97818
- args162 = {
98056
+ args163 = {
97819
98057
  request: GetWebhookRequest$inboundSchema
97820
98058
  };
97821
98059
  tool$webhooksGet = {
97822
98060
  name: "webhooks-get",
97823
98061
  description: `Get details of a specific webhook.`,
97824
- args: args162,
97825
- tool: async (client, args163, ctx) => {
97826
- const [result, apiCall] = await webhooksGet(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98062
+ args: args163,
98063
+ tool: async (client, args164, ctx) => {
98064
+ const [result, apiCall] = await webhooksGet(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97827
98065
  if (!result.ok) {
97828
98066
  return {
97829
98067
  content: [{ type: "text", text: result.error.message }],
@@ -97838,9 +98076,9 @@ var init_webhooksGet2 = __esm(() => {
97838
98076
 
97839
98077
  // src/funcs/webhooksGetSecret.ts
97840
98078
  function webhooksGetSecret(client, request, options) {
97841
- return new APIPromise($do168(client, request, options));
98079
+ return new APIPromise($do169(client, request, options));
97842
98080
  }
97843
- async function $do168(client, request, options) {
98081
+ async function $do169(client, request, options) {
97844
98082
  const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
97845
98083
  if (!parsed.ok) {
97846
98084
  return [parsed, { status: "invalid" }];
@@ -97918,20 +98156,20 @@ var init_webhooksGetSecret = __esm(() => {
97918
98156
  });
97919
98157
 
97920
98158
  // src/mcp-server/tools/webhooksGetSecret.ts
97921
- var args163, tool$webhooksGetSecret;
98159
+ var args164, tool$webhooksGetSecret;
97922
98160
  var init_webhooksGetSecret2 = __esm(() => {
97923
98161
  init_webhooksGetSecret();
97924
98162
  init_operations();
97925
98163
  init_tools();
97926
- args163 = {
98164
+ args164 = {
97927
98165
  request: GetWebhookSecretRequest$inboundSchema
97928
98166
  };
97929
98167
  tool$webhooksGetSecret = {
97930
98168
  name: "webhooks-get-secret",
97931
98169
  description: `Get the secret key for verifying webhook payloads.`,
97932
- args: args163,
97933
- tool: async (client, args164, ctx) => {
97934
- const [result, apiCall] = await webhooksGetSecret(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98170
+ args: args164,
98171
+ tool: async (client, args165, ctx) => {
98172
+ const [result, apiCall] = await webhooksGetSecret(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97935
98173
  if (!result.ok) {
97936
98174
  return {
97937
98175
  content: [{ type: "text", text: result.error.message }],
@@ -97946,9 +98184,9 @@ var init_webhooksGetSecret2 = __esm(() => {
97946
98184
 
97947
98185
  // src/funcs/webhooksList.ts
97948
98186
  function webhooksList(client, options) {
97949
- return new APIPromise($do169(client, options));
98187
+ return new APIPromise($do170(client, options));
97950
98188
  }
97951
- async function $do169(client, options) {
98189
+ async function $do170(client, options) {
97952
98190
  const path = pathToFunc("/webhooks")();
97953
98191
  const headers = new Headers(compactMap({
97954
98192
  Accept: "application/json"
@@ -98034,9 +98272,9 @@ var init_webhooksList2 = __esm(() => {
98034
98272
 
98035
98273
  // src/funcs/webhooksListEventTypes.ts
98036
98274
  function webhooksListEventTypes(client, options) {
98037
- return new APIPromise($do170(client, options));
98275
+ return new APIPromise($do171(client, options));
98038
98276
  }
98039
- async function $do170(client, options) {
98277
+ async function $do171(client, options) {
98040
98278
  const path = pathToFunc("/event-types")();
98041
98279
  const headers = new Headers(compactMap({
98042
98280
  Accept: "application/json"
@@ -98122,9 +98360,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
98122
98360
 
98123
98361
  // src/funcs/webhooksPing.ts
98124
98362
  function webhooksPing(client, request, options) {
98125
- return new APIPromise($do171(client, request, options));
98363
+ return new APIPromise($do172(client, request, options));
98126
98364
  }
98127
- async function $do171(client, request, options) {
98365
+ async function $do172(client, request, options) {
98128
98366
  const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
98129
98367
  if (!parsed.ok) {
98130
98368
  return [parsed, { status: "invalid" }];
@@ -98202,20 +98440,20 @@ var init_webhooksPing = __esm(() => {
98202
98440
  });
98203
98441
 
98204
98442
  // src/mcp-server/tools/webhooksPing.ts
98205
- var args164, tool$webhooksPing;
98443
+ var args165, tool$webhooksPing;
98206
98444
  var init_webhooksPing2 = __esm(() => {
98207
98445
  init_webhooksPing();
98208
98446
  init_operations();
98209
98447
  init_tools();
98210
- args164 = {
98448
+ args165 = {
98211
98449
  request: PingWebhookRequest$inboundSchema
98212
98450
  };
98213
98451
  tool$webhooksPing = {
98214
98452
  name: "webhooks-ping",
98215
98453
  description: `Send a test ping to a webhook to verify it is configured correctly.`,
98216
- args: args164,
98217
- tool: async (client, args165, ctx) => {
98218
- const [result, apiCall] = await webhooksPing(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98454
+ args: args165,
98455
+ tool: async (client, args166, ctx) => {
98456
+ const [result, apiCall] = await webhooksPing(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98219
98457
  if (!result.ok) {
98220
98458
  return {
98221
98459
  content: [{ type: "text", text: result.error.message }],
@@ -98230,9 +98468,9 @@ var init_webhooksPing2 = __esm(() => {
98230
98468
 
98231
98469
  // src/funcs/webhooksUpdate.ts
98232
98470
  function webhooksUpdate(client, request, options) {
98233
- return new APIPromise($do172(client, request, options));
98471
+ return new APIPromise($do173(client, request, options));
98234
98472
  }
98235
- async function $do172(client, request, options) {
98473
+ async function $do173(client, request, options) {
98236
98474
  const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
98237
98475
  if (!parsed.ok) {
98238
98476
  return [parsed, { status: "invalid" }];
@@ -98314,20 +98552,20 @@ var init_webhooksUpdate = __esm(() => {
98314
98552
  });
98315
98553
 
98316
98554
  // src/mcp-server/tools/webhooksUpdate.ts
98317
- var args165, tool$webhooksUpdate;
98555
+ var args166, tool$webhooksUpdate;
98318
98556
  var init_webhooksUpdate2 = __esm(() => {
98319
98557
  init_webhooksUpdate();
98320
98558
  init_operations();
98321
98559
  init_tools();
98322
- args165 = {
98560
+ args166 = {
98323
98561
  request: UpdateWebhookRequest$inboundSchema
98324
98562
  };
98325
98563
  tool$webhooksUpdate = {
98326
98564
  name: "webhooks-update",
98327
98565
  description: `Update an existing webhook.`,
98328
- args: args165,
98329
- tool: async (client, args166, ctx) => {
98330
- const [result, apiCall] = await webhooksUpdate(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98566
+ args: args166,
98567
+ tool: async (client, args167, ctx) => {
98568
+ const [result, apiCall] = await webhooksUpdate(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98331
98569
  if (!result.ok) {
98332
98570
  return {
98333
98571
  content: [{ type: "text", text: result.error.message }],
@@ -98344,7 +98582,7 @@ var init_webhooksUpdate2 = __esm(() => {
98344
98582
  function createMCPServer(deps) {
98345
98583
  const server = new McpServer({
98346
98584
  name: "Moov",
98347
- version: "25.12.0"
98585
+ version: "25.12.3"
98348
98586
  });
98349
98587
  const client = new MoovCore({
98350
98588
  security: deps.security,
@@ -98477,6 +98715,7 @@ function createMCPServer(deps) {
98477
98715
  tool(tool$transfersGet);
98478
98716
  tool(tool$transfersUpdate);
98479
98717
  tool(tool$transfersCreateCancellation);
98718
+ tool(tool$transfersListCancellations);
98480
98719
  tool(tool$transfersGetCancellation);
98481
98720
  tool(tool$transfersInitiateRefund);
98482
98721
  tool(tool$transfersListRefunds);
@@ -98691,6 +98930,7 @@ var init_server2 = __esm(() => {
98691
98930
  init_transfersGetRefund2();
98692
98931
  init_transfersInitiateRefund2();
98693
98932
  init_transfersList2();
98933
+ init_transfersListCancellations2();
98694
98934
  init_transfersListRefunds2();
98695
98935
  init_transfersUpdate2();
98696
98936
  init_underwritingGet2();
@@ -99912,7 +100152,7 @@ var routes = rn({
99912
100152
  var app = Ve(routes, {
99913
100153
  name: "mcp",
99914
100154
  versionInfo: {
99915
- currentVersion: "25.12.0"
100155
+ currentVersion: "25.12.3"
99916
100156
  }
99917
100157
  });
99918
100158
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -99920,5 +100160,5 @@ export {
99920
100160
  app
99921
100161
  };
99922
100162
 
99923
- //# debugId=BB5D46E7058C8D8F64756E2164756E21
100163
+ //# debugId=47B92877430B559764756E2164756E21
99924
100164
  //# sourceMappingURL=mcp-server.js.map