@moovio/sdk 26.5.1 → 26.5.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 (321) hide show
  1. package/README.md +91 -87
  2. package/bin/mcp-server.js +635 -326
  3. package/bin/mcp-server.js.map +74 -71
  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/matchers.js +3 -3
  40. package/lib/matchers.js.map +1 -1
  41. package/lib/primitives.d.ts +1 -0
  42. package/lib/primitives.d.ts.map +1 -1
  43. package/lib/primitives.js +18 -0
  44. package/lib/primitives.js.map +1 -1
  45. package/lib/retries.js +7 -0
  46. package/lib/retries.js.map +1 -1
  47. package/lib/sdks.d.ts.map +1 -1
  48. package/lib/sdks.js +50 -16
  49. package/lib/sdks.js.map +1 -1
  50. package/mcp-server/mcp-server.js +1 -1
  51. package/mcp-server/server.d.ts.map +1 -1
  52. package/mcp-server/server.js +3 -1
  53. package/mcp-server/server.js.map +1 -1
  54. package/mcp-server/tools/accountsCreate.d.ts.map +1 -1
  55. package/mcp-server/tools/accountsCreate.js +8 -10
  56. package/mcp-server/tools/accountsCreate.js.map +1 -1
  57. package/mcp-server/tools/bankAccountsLink.js +1 -1
  58. package/mcp-server/tools/capabilitiesDisable.js +1 -1
  59. package/mcp-server/tools/capabilitiesGet.js +1 -1
  60. package/mcp-server/tools/capabilitiesList.js +1 -1
  61. package/mcp-server/tools/capabilitiesRequest.js +1 -1
  62. package/mcp-server/tools/transfersListCancellations.d.ts +8 -0
  63. package/mcp-server/tools/transfersListCancellations.d.ts.map +1 -0
  64. package/mcp-server/tools/transfersListCancellations.js +65 -0
  65. package/mcp-server/tools/transfersListCancellations.js.map +1 -0
  66. package/models/components/addcapabilities.d.ts +9 -0
  67. package/models/components/addcapabilities.d.ts.map +1 -1
  68. package/models/components/addcapabilities.js.map +1 -1
  69. package/models/components/capability.d.ts +7 -1
  70. package/models/components/capability.d.ts.map +1 -1
  71. package/models/components/capability.js.map +1 -1
  72. package/models/components/capabilityid.d.ts +15 -2
  73. package/models/components/capabilityid.d.ts.map +1 -1
  74. package/models/components/capabilityid.js +8 -1
  75. package/models/components/capabilityid.js.map +1 -1
  76. package/models/components/cardtransactiondetails.d.ts +7 -0
  77. package/models/components/cardtransactiondetails.d.ts.map +1 -1
  78. package/models/components/cardtransactiondetails.js +5 -0
  79. package/models/components/cardtransactiondetails.js.map +1 -1
  80. package/models/components/cardtransactionstatus.d.ts +1 -0
  81. package/models/components/cardtransactionstatus.d.ts.map +1 -1
  82. package/models/components/cardtransactionstatus.js +1 -0
  83. package/models/components/cardtransactionstatus.js.map +1 -1
  84. package/models/components/createaccount.d.ts +9 -0
  85. package/models/components/createaccount.d.ts.map +1 -1
  86. package/models/components/createaccount.js.map +1 -1
  87. package/models/components/createpaymentlink.d.ts +3 -3
  88. package/models/components/createtransferdestinationcard.d.ts +5 -0
  89. package/models/components/createtransferdestinationcard.d.ts.map +1 -1
  90. package/models/components/createtransferdestinationcard.js +2 -0
  91. package/models/components/createtransferdestinationcard.js.map +1 -1
  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 +5 -4
  97. package/models/components/index.d.ts.map +1 -1
  98. package/models/components/index.js +5 -4
  99. package/models/components/index.js.map +1 -1
  100. package/models/components/invoice.d.ts +5 -0
  101. package/models/components/invoice.d.ts.map +1 -1
  102. package/models/components/invoice.js +2 -0
  103. package/models/components/invoice.js.map +1 -1
  104. package/models/components/issuedcard.d.ts +26 -12
  105. package/models/components/issuedcard.d.ts.map +1 -1
  106. package/models/components/issuedcard.js +11 -5
  107. package/models/components/issuedcard.js.map +1 -1
  108. package/models/components/issuedcardstate.d.ts +2 -8
  109. package/models/components/issuedcardstate.d.ts.map +1 -1
  110. package/models/components/issuedcardstate.js +1 -5
  111. package/models/components/issuedcardstate.js.map +1 -1
  112. package/models/components/manualtermsofservice.d.ts +1 -1
  113. package/models/components/manualtermsofserviceupdate.d.ts +1 -1
  114. package/models/components/onboardinginvite.d.ts +1 -1
  115. package/models/components/onboardinginviterequest.d.ts +1 -1
  116. package/models/components/patchtransfer.d.ts +3 -0
  117. package/models/components/patchtransfer.d.ts.map +1 -1
  118. package/models/components/patchtransfer.js.map +1 -1
  119. package/models/components/paymentlink.d.ts +2 -2
  120. package/models/components/paymentlinkpayoutdetails.d.ts +11 -0
  121. package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
  122. package/models/components/paymentlinkpayoutdetails.js +3 -0
  123. package/models/components/paymentlinkpayoutdetails.js.map +1 -1
  124. package/models/components/paymentlinkpayoutdetailsupdate.d.ts +11 -0
  125. package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
  126. package/models/components/paymentlinkpayoutdetailsupdate.js +3 -0
  127. package/models/components/paymentlinkpayoutdetailsupdate.js.map +1 -1
  128. package/models/components/payoutdetailserror.d.ts +3 -0
  129. package/models/components/payoutdetailserror.d.ts.map +1 -1
  130. package/models/components/payoutdetailserror.js +3 -0
  131. package/models/components/payoutdetailserror.js.map +1 -1
  132. package/models/components/pushdeliveryspeed.d.ts +18 -0
  133. package/models/components/pushdeliveryspeed.d.ts.map +1 -0
  134. package/models/components/pushdeliveryspeed.js +52 -0
  135. package/models/components/pushdeliveryspeed.js.map +1 -0
  136. package/models/components/pushoptions.d.ts +35 -0
  137. package/models/components/pushoptions.d.ts.map +1 -0
  138. package/models/components/{createauthorizeduser.js → pushoptions.js} +15 -17
  139. package/models/components/pushoptions.js.map +1 -0
  140. package/models/components/pushoptionserror.d.ts +19 -0
  141. package/models/components/pushoptionserror.d.ts.map +1 -0
  142. package/models/components/{authorizeduser.js → pushoptionserror.js} +14 -14
  143. package/models/components/pushoptionserror.js.map +1 -0
  144. package/models/components/pushoptionsupdate.d.ts +35 -0
  145. package/models/components/pushoptionsupdate.d.ts.map +1 -0
  146. package/models/components/{createauthorizedusererror.js → pushoptionsupdate.js} +15 -17
  147. package/models/components/pushoptionsupdate.js.map +1 -0
  148. package/models/components/requestcard.d.ts +14 -17
  149. package/models/components/requestcard.d.ts.map +1 -1
  150. package/models/components/requestcard.js +9 -10
  151. package/models/components/requestcard.js.map +1 -1
  152. package/models/components/termsofservice.d.ts +1 -1
  153. package/models/components/updateissuedcard.d.ts +33 -8
  154. package/models/components/updateissuedcard.d.ts.map +1 -1
  155. package/models/components/updateissuedcard.js +35 -6
  156. package/models/components/updateissuedcard.js.map +1 -1
  157. package/models/components/webhookdata.d.ts +3 -2
  158. package/models/components/webhookdata.d.ts.map +1 -1
  159. package/models/components/webhookdata.js +7 -4
  160. package/models/components/webhookdata.js.map +1 -1
  161. package/models/components/webhookdataauthorizationexpiring.d.ts +23 -0
  162. package/models/components/webhookdataauthorizationexpiring.d.ts.map +1 -0
  163. package/models/components/{createauthorizeduserupdate.js → webhookdataauthorizationexpiring.js} +18 -17
  164. package/models/components/webhookdataauthorizationexpiring.js.map +1 -0
  165. package/models/components/webhookdatacapabilityrequested.d.ts +7 -1
  166. package/models/components/webhookdatacapabilityrequested.d.ts.map +1 -1
  167. package/models/components/webhookdatacapabilityrequested.js.map +1 -1
  168. package/models/components/webhookdatacapabilityupdated.d.ts +7 -1
  169. package/models/components/webhookdatacapabilityupdated.d.ts.map +1 -1
  170. package/models/components/webhookdatacapabilityupdated.js.map +1 -1
  171. package/models/components/webhookdatasweepcreated.d.ts +5 -0
  172. package/models/components/webhookdatasweepcreated.d.ts.map +1 -1
  173. package/models/components/webhookdatasweepcreated.js +2 -0
  174. package/models/components/webhookdatasweepcreated.js.map +1 -1
  175. package/models/components/webhookdatasweepupdated.d.ts +5 -0
  176. package/models/components/webhookdatasweepupdated.d.ts.map +1 -1
  177. package/models/components/webhookdatasweepupdated.js +2 -0
  178. package/models/components/webhookdatasweepupdated.js.map +1 -1
  179. package/models/components/webhookeventtype.d.ts +1 -0
  180. package/models/components/webhookeventtype.d.ts.map +1 -1
  181. package/models/components/webhookeventtype.js +1 -0
  182. package/models/components/webhookeventtype.js.map +1 -1
  183. package/models/errors/requestcarderror.d.ts +12 -12
  184. package/models/errors/requestcarderror.d.ts.map +1 -1
  185. package/models/errors/requestcarderror.js +17 -17
  186. package/models/errors/requestcarderror.js.map +1 -1
  187. package/models/errors/updateissuedcarderror.d.ts +9 -6
  188. package/models/errors/updateissuedcarderror.d.ts.map +1 -1
  189. package/models/errors/updateissuedcarderror.js +12 -9
  190. package/models/errors/updateissuedcarderror.js.map +1 -1
  191. package/models/operations/disablecapability.d.ts +7 -1
  192. package/models/operations/disablecapability.d.ts.map +1 -1
  193. package/models/operations/disablecapability.js.map +1 -1
  194. package/models/operations/getcapability.d.ts +7 -1
  195. package/models/operations/getcapability.d.ts.map +1 -1
  196. package/models/operations/getcapability.js.map +1 -1
  197. package/models/operations/index.d.ts +1 -0
  198. package/models/operations/index.d.ts.map +1 -1
  199. package/models/operations/index.js +1 -0
  200. package/models/operations/index.js.map +1 -1
  201. package/models/operations/linkbankaccount.d.ts +1 -1
  202. package/models/operations/listcancellations.d.ts +45 -0
  203. package/models/operations/listcancellations.d.ts.map +1 -0
  204. package/models/operations/listcancellations.js +90 -0
  205. package/models/operations/listcancellations.js.map +1 -0
  206. package/models/operations/listissuedcards.d.ts +1 -1
  207. package/package.json +1 -1
  208. package/sdk/accounts.d.ts +8 -10
  209. package/sdk/accounts.d.ts.map +1 -1
  210. package/sdk/accounts.js +8 -10
  211. package/sdk/accounts.js.map +1 -1
  212. package/sdk/bankaccounts.d.ts +1 -1
  213. package/sdk/bankaccounts.js +1 -1
  214. package/sdk/capabilities.d.ts +4 -4
  215. package/sdk/capabilities.js +4 -4
  216. package/sdk/transfers.d.ts +7 -0
  217. package/sdk/transfers.d.ts.map +1 -1
  218. package/sdk/transfers.js +10 -0
  219. package/sdk/transfers.js.map +1 -1
  220. package/src/funcs/accountsCreate.ts +8 -10
  221. package/src/funcs/bankAccountsLink.ts +1 -1
  222. package/src/funcs/capabilitiesDisable.ts +1 -1
  223. package/src/funcs/capabilitiesGet.ts +1 -1
  224. package/src/funcs/capabilitiesList.ts +1 -1
  225. package/src/funcs/capabilitiesRequest.ts +1 -1
  226. package/src/funcs/cardIssuingGet.ts +1 -1
  227. package/src/funcs/cardIssuingGetFull.ts +3 -3
  228. package/src/funcs/cardIssuingList.ts +1 -1
  229. package/src/funcs/cardIssuingRequest.ts +1 -1
  230. package/src/funcs/cardIssuingUpdate.ts +1 -1
  231. package/src/funcs/transfersListCancellations.ts +181 -0
  232. package/src/hooks/types.ts +1 -0
  233. package/src/lib/config.ts +3 -3
  234. package/src/lib/encodings.ts +1 -1
  235. package/src/lib/matchers.ts +1 -1
  236. package/src/lib/primitives.ts +16 -0
  237. package/src/lib/retries.ts +8 -0
  238. package/src/lib/sdks.ts +54 -17
  239. package/src/mcp-server/mcp-server.ts +1 -1
  240. package/src/mcp-server/server.ts +3 -1
  241. package/src/mcp-server/tools/accountsCreate.ts +8 -10
  242. package/src/mcp-server/tools/bankAccountsLink.ts +1 -1
  243. package/src/mcp-server/tools/capabilitiesDisable.ts +1 -1
  244. package/src/mcp-server/tools/capabilitiesGet.ts +1 -1
  245. package/src/mcp-server/tools/capabilitiesList.ts +1 -1
  246. package/src/mcp-server/tools/capabilitiesRequest.ts +1 -1
  247. package/src/mcp-server/tools/transfersListCancellations.ts +38 -0
  248. package/src/models/components/addcapabilities.ts +9 -0
  249. package/src/models/components/capability.ts +7 -1
  250. package/src/models/components/capabilityid.ts +15 -2
  251. package/src/models/components/cardtransactiondetails.ts +14 -0
  252. package/src/models/components/cardtransactionstatus.ts +1 -0
  253. package/src/models/components/createaccount.ts +9 -0
  254. package/src/models/components/createpaymentlink.ts +3 -3
  255. package/src/models/components/createtransferdestinationcard.ts +9 -0
  256. package/src/models/components/fullissuedcard.ts +36 -20
  257. package/src/models/components/index.ts +5 -4
  258. package/src/models/components/invoice.ts +7 -0
  259. package/src/models/components/issuedcard.ts +36 -20
  260. package/src/models/components/issuedcardstate.ts +2 -8
  261. package/src/models/components/manualtermsofservice.ts +1 -1
  262. package/src/models/components/manualtermsofserviceupdate.ts +1 -1
  263. package/src/models/components/onboardinginvite.ts +1 -1
  264. package/src/models/components/onboardinginviterequest.ts +1 -1
  265. package/src/models/components/patchtransfer.ts +3 -0
  266. package/src/models/components/paymentlink.ts +2 -2
  267. package/src/models/components/paymentlinkpayoutdetails.ts +18 -0
  268. package/src/models/components/paymentlinkpayoutdetailsupdate.ts +18 -0
  269. package/src/models/components/payoutdetailserror.ts +10 -0
  270. package/src/models/components/pushdeliveryspeed.ts +27 -0
  271. package/src/models/components/pushoptions.ts +71 -0
  272. package/src/models/components/pushoptionserror.ts +55 -0
  273. package/src/models/components/pushoptionsupdate.ts +75 -0
  274. package/src/models/components/requestcard.ts +23 -34
  275. package/src/models/components/termsofservice.ts +1 -1
  276. package/src/models/components/updateissuedcard.ts +73 -17
  277. package/src/models/components/webhookdata.ts +18 -8
  278. package/src/models/components/webhookdataauthorizationexpiring.ts +65 -0
  279. package/src/models/components/webhookdatacapabilityrequested.ts +7 -1
  280. package/src/models/components/webhookdatacapabilityupdated.ts +7 -1
  281. package/src/models/components/webhookdatasweepcreated.ts +7 -0
  282. package/src/models/components/webhookdatasweepupdated.ts +7 -0
  283. package/src/models/components/webhookeventtype.ts +1 -0
  284. package/src/models/errors/requestcarderror.ts +26 -25
  285. package/src/models/errors/updateissuedcarderror.ts +18 -13
  286. package/src/models/operations/disablecapability.ts +7 -1
  287. package/src/models/operations/getcapability.ts +7 -1
  288. package/src/models/operations/index.ts +1 -0
  289. package/src/models/operations/linkbankaccount.ts +1 -1
  290. package/src/models/operations/listcancellations.ts +120 -0
  291. package/src/models/operations/listissuedcards.ts +1 -1
  292. package/src/sdk/accounts.ts +8 -10
  293. package/src/sdk/bankaccounts.ts +1 -1
  294. package/src/sdk/capabilities.ts +4 -4
  295. package/src/sdk/transfers.ts +18 -0
  296. package/lib/dlv.d.ts +0 -14
  297. package/lib/dlv.d.ts.map +0 -1
  298. package/lib/dlv.js +0 -49
  299. package/lib/dlv.js.map +0 -1
  300. package/lib/is-plain-object.d.ts +0 -2
  301. package/lib/is-plain-object.d.ts.map +0 -1
  302. package/lib/is-plain-object.js +0 -41
  303. package/lib/is-plain-object.js.map +0 -1
  304. package/models/components/authorizeduser.d.ts +0 -22
  305. package/models/components/authorizeduser.d.ts.map +0 -1
  306. package/models/components/authorizeduser.js.map +0 -1
  307. package/models/components/createauthorizeduser.d.ts +0 -25
  308. package/models/components/createauthorizeduser.d.ts.map +0 -1
  309. package/models/components/createauthorizeduser.js.map +0 -1
  310. package/models/components/createauthorizedusererror.d.ts +0 -22
  311. package/models/components/createauthorizedusererror.d.ts.map +0 -1
  312. package/models/components/createauthorizedusererror.js.map +0 -1
  313. package/models/components/createauthorizeduserupdate.d.ts +0 -25
  314. package/models/components/createauthorizeduserupdate.d.ts.map +0 -1
  315. package/models/components/createauthorizeduserupdate.js.map +0 -1
  316. package/src/lib/dlv.ts +0 -53
  317. package/src/lib/is-plain-object.ts +0 -43
  318. package/src/models/components/authorizeduser.ts +0 -54
  319. package/src/models/components/createauthorizeduser.ts +0 -68
  320. package/src/models/components/createauthorizedusererror.ts +0 -65
  321. package/src/models/components/createauthorizeduserupdate.ts +0 -68
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ListCancellationsResponse$outboundSchema = exports.ListCancellationsResponse$inboundSchema = exports.ListCancellationsRequest$outboundSchema = exports.ListCancellationsRequest$inboundSchema = void 0;
40
+ exports.listCancellationsRequestToJSON = listCancellationsRequestToJSON;
41
+ exports.listCancellationsRequestFromJSON = listCancellationsRequestFromJSON;
42
+ exports.listCancellationsResponseToJSON = listCancellationsResponseToJSON;
43
+ exports.listCancellationsResponseFromJSON = listCancellationsResponseFromJSON;
44
+ const z = __importStar(require("zod/v3"));
45
+ const primitives_js_1 = require("../../lib/primitives.js");
46
+ const schemas_js_1 = require("../../lib/schemas.js");
47
+ const components = __importStar(require("../components/index.js"));
48
+ /** @internal */
49
+ exports.ListCancellationsRequest$inboundSchema = z.object({
50
+ accountID: z.string(),
51
+ transferID: z.string(),
52
+ });
53
+ /** @internal */
54
+ exports.ListCancellationsRequest$outboundSchema = z.object({
55
+ accountID: z.string(),
56
+ transferID: z.string(),
57
+ });
58
+ function listCancellationsRequestToJSON(listCancellationsRequest) {
59
+ return JSON.stringify(exports.ListCancellationsRequest$outboundSchema.parse(listCancellationsRequest));
60
+ }
61
+ function listCancellationsRequestFromJSON(jsonString) {
62
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCancellationsRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCancellationsRequest' from JSON`);
63
+ }
64
+ /** @internal */
65
+ exports.ListCancellationsResponse$inboundSchema = z.object({
66
+ Headers: z.record(z.array(z.string())).default({}),
67
+ Result: z.array(components.Cancellation$inboundSchema),
68
+ }).transform((v) => {
69
+ return (0, primitives_js_1.remap)(v, {
70
+ "Headers": "headers",
71
+ "Result": "result",
72
+ });
73
+ });
74
+ /** @internal */
75
+ exports.ListCancellationsResponse$outboundSchema = z.object({
76
+ headers: z.record(z.array(z.string())),
77
+ result: z.array(components.Cancellation$outboundSchema),
78
+ }).transform((v) => {
79
+ return (0, primitives_js_1.remap)(v, {
80
+ headers: "Headers",
81
+ result: "Result",
82
+ });
83
+ });
84
+ function listCancellationsResponseToJSON(listCancellationsResponse) {
85
+ return JSON.stringify(exports.ListCancellationsResponse$outboundSchema.parse(listCancellationsResponse));
86
+ }
87
+ function listCancellationsResponseFromJSON(jsonString) {
88
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCancellationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCancellationsResponse' from JSON`);
89
+ }
90
+ //# sourceMappingURL=listcancellations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listcancellations.js","sourceRoot":"","sources":["../../src/models/operations/listcancellations.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDH,wEAMC;AACD,4EAQC;AAqCD,0EAMC;AACD,8EAQC;AAnHD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAmBrD,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC;AAEH,SAAgB,8BAA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C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AACD,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
@@ -10,7 +10,7 @@ export type ListIssuedCardsRequest = {
10
10
  skip?: number | undefined;
11
11
  count?: number | undefined;
12
12
  /**
13
- * Optional, comma-separated states to filter the Moov list issued cards response. For example `active,pending-verification`
13
+ * Optional, comma-separated states to filter the Moov list issued cards response. For example `active,closed`
14
14
  */
15
15
  states?: Array<components.IssuedCardState> | undefined;
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moovio/sdk",
3
- "version": "26.5.1",
3
+ "version": "26.5.3",
4
4
  "author": "Moov",
5
5
  "bin": {
6
6
  "mcp": "bin/mcp-server.js"
package/sdk/accounts.d.ts CHANGED
@@ -3,21 +3,19 @@ import * as components from "../models/components/index.js";
3
3
  import * as operations from "../models/operations/index.js";
4
4
  export declare class Accounts extends ClientSDK {
5
5
  /**
6
- * You can create **business** or **individual** accounts for your users (i.e., customers, merchants) by passing the required
7
- * information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/requirements/).
6
+ * 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/).
8
7
  *
9
- * If you're requesting the `wallet`, `send-funds`, `collect-funds`, or `card-issuing` capabilities, you'll need to:
10
- * + Send Moov the user [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance.
11
- * 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.
12
- * If you're creating a business account with the business type `llc`, `partnership`, or `privateCorporation`, you'll need to:
8
+ * 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:
9
+ * + 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.
10
+ * + 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.
11
+ *
12
+ * If you're creating a business account, depending on the business type, you'll also need to:
13
13
  * + Provide [business representatives](https://docs.moov.io/api/moov-accounts/representatives/) after creating the account.
14
14
  * + [Patch](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account to indicate that business representative ownership information is complete.
15
15
  *
16
- * 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/).
17
- * 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.
16
+ * 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.
18
17
  *
19
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
20
- * to specify the `/accounts.write` scope.
18
+ * 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.
21
19
  */
22
20
  create(request: components.CreateAccount, options?: RequestOptions): Promise<operations.CreateAccountResponse>;
23
21
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"accounts.d.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CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC;CAOtD"}
package/sdk/accounts.js CHANGED
@@ -19,21 +19,19 @@ const sdks_js_1 = require("../lib/sdks.js");
19
19
  const fp_js_1 = require("../types/fp.js");
20
20
  class Accounts extends sdks_js_1.ClientSDK {
21
21
  /**
22
- * You can create **business** or **individual** accounts for your users (i.e., customers, merchants) by passing the required
23
- * information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/requirements/).
22
+ * 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/).
24
23
  *
25
- * If you're requesting the `wallet`, `send-funds`, `collect-funds`, or `card-issuing` capabilities, you'll need to:
26
- * + Send Moov the user [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance.
27
- * 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.
28
- * If you're creating a business account with the business type `llc`, `partnership`, or `privateCorporation`, you'll need to:
24
+ * 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:
25
+ * + 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.
26
+ * + 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.
27
+ *
28
+ * If you're creating a business account, depending on the business type, you'll also need to:
29
29
  * + Provide [business representatives](https://docs.moov.io/api/moov-accounts/representatives/) after creating the account.
30
30
  * + [Patch](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account to indicate that business representative ownership information is complete.
31
31
  *
32
- * 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/).
33
- * 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.
32
+ * 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.
34
33
  *
35
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
36
- * to specify the `/accounts.write` scope.
34
+ * 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.
37
35
  */
38
36
  async create(request, options) {
39
37
  return (0, fp_js_1.unwrapAsync)((0, accountsCreate_js_1.accountsCreate)(this, request, options));
@@ -1 +1 @@
1
- {"version":3,"file":"accounts.js","sourceRoot":"","sources":["../src/sdk/accounts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oFAA8E;AAC9E,oEAA8D;AAC9D,kEAA4D;AAC5D,0EAAoE;AACpE,4DAAsD;AACtD,8EAAwE;AACxE,kHAA4G;AAC5G,kGAA4F;AAC5F,8DAAwD;AACxD,gFAA0E;AAC1E,kEAA4D;AAC5D,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACrC;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,MAAM,CACV,OAAiC,EACjC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,IAAI,CACR,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8BAAY,EAC7B,IAAI,EACJ,OAAO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R,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,sBAAsB,CAC1B,OAAiD,EACjD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kEAA8B,EAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAvND,4BAuNC"}
@@ -5,7 +5,7 @@ export declare class BankAccounts extends ClientSDK {
5
5
  * 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.
6
6
  *
7
7
  * It is strongly recommended that callers include the `X-Wait-For` header, set to `payment-method`, if the newly linked
8
- * bank-account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
8
+ * bank account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
9
9
  * Methods](https://docs.moov.io/api/sources/payment-methods/list/)
10
10
  * endpoint to wait for the new payment methods to be available for use.
11
11
  *
@@ -20,7 +20,7 @@ class BankAccounts extends sdks_js_1.ClientSDK {
20
20
  * 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.
21
21
  *
22
22
  * It is strongly recommended that callers include the `X-Wait-For` header, set to `payment-method`, if the newly linked
23
- * bank-account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
23
+ * bank account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
24
24
  * Methods](https://docs.moov.io/api/sources/payment-methods/list/)
25
25
  * endpoint to wait for the new payment methods to be available for use.
26
26
  *
@@ -4,28 +4,28 @@ export declare class Capabilities extends ClientSDK {
4
4
  /**
5
5
  * Retrieve all the capabilities an account has requested.
6
6
  *
7
- * Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
7
+ * Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
8
8
  *
9
9
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
10
10
  * you'll need to specify the `/accounts/{accountID}/capabilities.read` scope.
11
11
  */
12
12
  list(request: operations.ListCapabilitiesRequest, options?: RequestOptions): Promise<operations.ListCapabilitiesResponse>;
13
13
  /**
14
- * Request capabilities for a specific account. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
14
+ * Request capabilities for a specific account. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
15
15
  *
16
16
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
17
17
  * you'll need to specify the `/accounts/{accountID}/capabilities.write` scope.
18
18
  */
19
19
  request(request: operations.RequestCapabilitiesRequest, options?: RequestOptions): Promise<operations.RequestCapabilitiesResponse>;
20
20
  /**
21
- * Retrieve a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
21
+ * Retrieve a specific capability that an account has requested. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
22
22
  *
23
23
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
24
24
  * you'll need to specify the `/accounts/{accountID}/capabilities.read` scope.
25
25
  */
26
26
  get(request: operations.GetCapabilityRequest, options?: RequestOptions): Promise<operations.GetCapabilityResponse>;
27
27
  /**
28
- * Disable a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
28
+ * Disable a specific capability that an account has requested. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
29
29
  *
30
30
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
31
31
  * you'll need to specify the `/accounts/{accountID}/capabilities.write` scope.
@@ -14,7 +14,7 @@ class Capabilities extends sdks_js_1.ClientSDK {
14
14
  /**
15
15
  * Retrieve all the capabilities an account has requested.
16
16
  *
17
- * Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
17
+ * Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
18
18
  *
19
19
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
20
20
  * you'll need to specify the `/accounts/{accountID}/capabilities.read` scope.
@@ -23,7 +23,7 @@ class Capabilities extends sdks_js_1.ClientSDK {
23
23
  return (0, fp_js_1.unwrapAsync)((0, capabilitiesList_js_1.capabilitiesList)(this, request, options));
24
24
  }
25
25
  /**
26
- * Request capabilities for a specific account. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
26
+ * Request capabilities for a specific account. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
27
27
  *
28
28
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
29
29
  * you'll need to specify the `/accounts/{accountID}/capabilities.write` scope.
@@ -32,7 +32,7 @@ class Capabilities extends sdks_js_1.ClientSDK {
32
32
  return (0, fp_js_1.unwrapAsync)((0, capabilitiesRequest_js_1.capabilitiesRequest)(this, request, options));
33
33
  }
34
34
  /**
35
- * Retrieve a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
35
+ * Retrieve a specific capability that an account has requested. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
36
36
  *
37
37
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
38
38
  * you'll need to specify the `/accounts/{accountID}/capabilities.read` scope.
@@ -41,7 +41,7 @@ class Capabilities extends sdks_js_1.ClientSDK {
41
41
  return (0, fp_js_1.unwrapAsync)((0, capabilitiesGet_js_1.capabilitiesGet)(this, request, options));
42
42
  }
43
43
  /**
44
- * Disable a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
44
+ * Disable a specific capability that an account has requested. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
45
45
  *
46
46
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
47
47
  * you'll need to specify the `/accounts/{accountID}/capabilities.write` scope.
@@ -73,6 +73,13 @@ export declare class Transfers extends ClientSDK {
73
73
  * to specify the `/accounts/{accountID}/transfers.write` scope.
74
74
  */
75
75
  createCancellation(request: operations.CreateCancellationRequest, options?: RequestOptions): Promise<operations.CreateCancellationResponse>;
76
+ /**
77
+ * Get a list of cancellations for a transfer.
78
+ *
79
+ * To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
80
+ * to specify the `/accounts/{accountID}/transfers.read` scope.
81
+ */
82
+ listCancellations(request: operations.ListCancellationsRequest, options?: RequestOptions): Promise<operations.ListCancellationsResponse>;
76
83
  /**
77
84
  * Get details of a cancellation for a transfer.
78
85
  *
@@ -1 +1 @@
1
- {"version":3,"file":"transfers.d.ts","sourceRoot":"","sources":["../src/sdk/transfers.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,SAAU,SAAQ,SAAS;IACtC;;;;;;;;;;OAUG;IACG,eAAe,CACnB,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC;IAQpD;;;;;;;OAOG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAQ7C;;;;;;;;;;;;OAYG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAQ5C;;;;;;;;;OASG;IACG,iBAAiB,CACrB,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO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iBAAiB,CACrB,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;OAKG;IACG,eAAe,CACnB,OAAO,EAAE,UAAU,CAAC,sBAAsB,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,uBAAuB,CAAC;IAQ9C;;;;;;;;OAQG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAQ7C;;;;;OAKG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mBAAmB,CAAC;IAQ1C;;;;;OAKG;IACG,SAAS,CACb,OAAO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAQxC;;;;;;;OAOG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;CAO9C"}
package/sdk/transfers.js CHANGED
@@ -14,6 +14,7 @@ const transfersGetCancellation_js_1 = require("../funcs/transfersGetCancellation
14
14
  const transfersGetRefund_js_1 = require("../funcs/transfersGetRefund.js");
15
15
  const transfersInitiateRefund_js_1 = require("../funcs/transfersInitiateRefund.js");
16
16
  const transfersList_js_1 = require("../funcs/transfersList.js");
17
+ const transfersListCancellations_js_1 = require("../funcs/transfersListCancellations.js");
17
18
  const transfersListRefunds_js_1 = require("../funcs/transfersListRefunds.js");
18
19
  const transfersUpdate_js_1 = require("../funcs/transfersUpdate.js");
19
20
  const sdks_js_1 = require("../lib/sdks.js");
@@ -105,6 +106,15 @@ class Transfers extends sdks_js_1.ClientSDK {
105
106
  async createCancellation(request, options) {
106
107
  return (0, fp_js_1.unwrapAsync)((0, transfersCreateCancellation_js_1.transfersCreateCancellation)(this, request, options));
107
108
  }
109
+ /**
110
+ * Get a list of cancellations for a transfer.
111
+ *
112
+ * To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
113
+ * to specify the `/accounts/{accountID}/transfers.read` scope.
114
+ */
115
+ async listCancellations(request, options) {
116
+ return (0, fp_js_1.unwrapAsync)((0, transfersListCancellations_js_1.transfersListCancellations)(this, request, options));
117
+ }
108
118
  /**
109
119
  * Get details of a cancellation for a transfer.
110
120
  *
@@ -1 +1 @@
1
- {"version":3,"file":"transfers.js","sourceRoot":"","sources":["../src/sdk/transfers.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0FAAoF;AACpF,oEAA8D;AAC9D,4FAAsF;AACtF,oFAA8E;AAC9E,sFAAgF;AAChF,8DAAwD;AACxD,sFAAgF;AAChF,0EAAoE;AACpE,oFAA8E;AAC9E,gEAA0D;AAC1D,8EAAwE;AACxE,oEAA8D;AAC9D,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,SAAU,SAAQ,mBAAS;IACtC;;;;;;;;;;OAUG;IACH,KAAK,CAAC,eAAe,CACnB,OAAgD,EAChD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CACV,OAAyC,EACzC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,oCAAe,EAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,IAAI,CACR,OAAwC,EACxC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAA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C,IAAA,8CAAoB,EACrC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,SAAS,CACb,OAAoC,EACpC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,cAAc,CAClB,OAAyC,EACzC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,oDAAuB,EACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAxOD,8BAwOC"}
1
+ {"version":3,"file":"transfers.js","sourceRoot":"","sources":["../src/sdk/transfers.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0FAAoF;AACpF,oEAA8D;AAC9D,4FAAsF;AACtF,oFAA8E;AAC9E,sFAAgF;AAChF,8DAAwD;AACxD,sFAAgF;AAChF,0EAAoE;AACpE,oFAA8E;AAC9E,gEAA0D;AAC1D,0FAAoF;AACpF,8EAAwE;AACxE,oEAA8D;AAC9D,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,SAAU,SAAQ,mBAAS;IACtC;;;;;;;;;;OAUG;IACH,KAAK,CAAC,eAAe,CACnB,OAAgD,EAChD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CACV,OAAyC,EACzC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,oCAAe,EAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,IAAI,CACR,OAAwC,EACxC,OAAwB;QAExB,OAAO,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OAAO,IAAA,mBAAW,EAAC,IAAA,oDAAuB,EACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACf,OAAsC,EACtC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8CAAoB,EACrC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,SAAS,CACb,OAAoC,EACpC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,cAAc,CAClB,OAAyC,EACzC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,oDAAuB,EACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAzPD,8BAyPC"}
@@ -28,21 +28,19 @@ import { APICall, APIPromise } from "../types/async.js";
28
28
  import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
- * You can create **business** or **individual** accounts for your users (i.e., customers, merchants) by passing the required
32
- * information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/requirements/).
31
+ * 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/).
33
32
  *
34
- * If you're requesting the `wallet`, `send-funds`, `collect-funds`, or `card-issuing` capabilities, you'll need to:
35
- * + Send Moov the user [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance.
36
- * 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.
37
- * If you're creating a business account with the business type `llc`, `partnership`, or `privateCorporation`, you'll need to:
33
+ * 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:
34
+ * + 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.
35
+ * + 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.
36
+ *
37
+ * If you're creating a business account, depending on the business type, you'll also need to:
38
38
  * + Provide [business representatives](https://docs.moov.io/api/moov-accounts/representatives/) after creating the account.
39
39
  * + [Patch](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account to indicate that business representative ownership information is complete.
40
40
  *
41
- * 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/).
42
- * 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.
41
+ * 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.
43
42
  *
44
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
45
- * to specify the `/accounts.write` scope.
43
+ * 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.
46
44
  */
47
45
  export function accountsCreate(
48
46
  client: MoovCore,
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * 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.
31
31
  *
32
32
  * It is strongly recommended that callers include the `X-Wait-For` header, set to `payment-method`, if the newly linked
33
- * bank-account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
33
+ * bank account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
34
34
  * Methods](https://docs.moov.io/api/sources/payment-methods/list/)
35
35
  * endpoint to wait for the new payment methods to be available for use.
36
36
  *
@@ -27,7 +27,7 @@ import { APICall, APIPromise } from "../types/async.js";
27
27
  import { Result } from "../types/fp.js";
28
28
 
29
29
  /**
30
- * Disable a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
30
+ * Disable a specific capability that an account has requested. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
31
31
  *
32
32
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
33
33
  * you'll need to specify the `/accounts/{accountID}/capabilities.write` scope.
@@ -26,7 +26,7 @@ import { APICall, APIPromise } from "../types/async.js";
26
26
  import { Result } from "../types/fp.js";
27
27
 
28
28
  /**
29
- * Retrieve a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
29
+ * Retrieve a specific capability that an account has requested. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
30
30
  *
31
31
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
32
32
  * you'll need to specify the `/accounts/{accountID}/capabilities.read` scope.
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  /**
29
29
  * Retrieve all the capabilities an account has requested.
30
30
  *
31
- * Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
31
+ * Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
32
32
  *
33
33
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
34
34
  * you'll need to specify the `/accounts/{accountID}/capabilities.read` scope.
@@ -27,7 +27,7 @@ import { APICall, APIPromise } from "../types/async.js";
27
27
  import { Result } from "../types/fp.js";
28
28
 
29
29
  /**
30
- * Request capabilities for a specific account. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
30
+ * Request capabilities for a specific account. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
31
31
  *
32
32
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
33
33
  * you'll need to specify the `/accounts/{accountID}/capabilities.write` scope.
@@ -96,7 +96,7 @@ async function $do(
96
96
  charEncoding: "percent",
97
97
  }),
98
98
  };
99
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}")(
99
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(
100
100
  pathParams,
101
101
  );
102
102
 
@@ -98,9 +98,9 @@ async function $do(
98
98
  charEncoding: "percent",
99
99
  }),
100
100
  };
101
- const path = pathToFunc(
102
- "/issuing/{accountID}/issued-cards/{issuedCardID}/details",
103
- )(pathParams);
101
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}/details")(
102
+ pathParams,
103
+ );
104
104
 
105
105
  const headers = new Headers(compactMap({
106
106
  Accept: "application/json",
@@ -92,7 +92,7 @@ async function $do(
92
92
  charEncoding: "percent",
93
93
  }),
94
94
  };
95
- const path = pathToFunc("/issuing/{accountID}/issued-cards")(pathParams);
95
+ const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
96
96
 
97
97
  const query = encodeFormQuery({
98
98
  "count": payload.count,
@@ -97,7 +97,7 @@ async function $do(
97
97
  charEncoding: "percent",
98
98
  }),
99
99
  };
100
- const path = pathToFunc("/issuing/{accountID}/issued-cards")(pathParams);
100
+ const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
101
101
 
102
102
  const headers = new Headers(compactMap({
103
103
  "Content-Type": "application/json",
@@ -101,7 +101,7 @@ async function $do(
101
101
  charEncoding: "percent",
102
102
  }),
103
103
  };
104
- const path = pathToFunc("/issuing/{accountID}/issued-cards/{issuedCardID}")(
104
+ const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(
105
105
  pathParams,
106
106
  );
107
107