@moovio/sdk 0.11.4 → 0.12.0

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 (510) hide show
  1. package/FUNCTIONS.md +1 -82
  2. package/README.md +13 -505
  3. package/bin/mcp-server.js +1921 -1584
  4. package/bin/mcp-server.js.map +161 -151
  5. package/docs/sdks/accounts/README.md +16 -180
  6. package/docs/sdks/adjustments/README.md +6 -6
  7. package/docs/sdks/applepay/README.md +12 -12
  8. package/docs/sdks/bankaccounts/README.md +36 -36
  9. package/docs/sdks/branding/README.md +8 -8
  10. package/docs/sdks/capabilities/README.md +10 -10
  11. package/docs/sdks/cardissuing/README.md +22 -38
  12. package/docs/sdks/cards/README.md +11 -41
  13. package/docs/sdks/disputes/README.md +54 -54
  14. package/docs/sdks/enrichedprofile/README.md +2 -2
  15. package/docs/sdks/feeplans/README.md +16 -16
  16. package/docs/sdks/files/README.md +8 -8
  17. package/docs/sdks/industries/README.md +4 -4
  18. package/docs/sdks/issuingtransactions/README.md +16 -16
  19. package/docs/sdks/onboarding/README.md +2 -170
  20. package/docs/sdks/paymentlinks/README.md +16 -74
  21. package/docs/sdks/paymentmethods/README.md +6 -6
  22. package/docs/sdks/receipts/README.md +4 -14
  23. package/docs/sdks/representatives/README.md +18 -26
  24. package/docs/sdks/scheduling/README.md +34 -34
  25. package/docs/sdks/sweeps/README.md +22 -22
  26. package/docs/sdks/transfers/README.md +50 -96
  27. package/docs/sdks/underwriting/README.md +30 -30
  28. package/docs/sdks/wallets/README.md +6 -6
  29. package/docs/sdks/wallettransactions/README.md +10 -10
  30. package/funcs/accountTerminalApplicationsGet.js +2 -0
  31. package/funcs/accountTerminalApplicationsGet.js.map +1 -1
  32. package/funcs/accountTerminalApplicationsGetConfiguration.js +2 -0
  33. package/funcs/accountTerminalApplicationsGetConfiguration.js.map +1 -1
  34. package/funcs/accountTerminalApplicationsLink.js +2 -0
  35. package/funcs/accountTerminalApplicationsLink.js.map +1 -1
  36. package/funcs/accountTerminalApplicationsList.js +2 -0
  37. package/funcs/accountTerminalApplicationsList.js.map +1 -1
  38. package/funcs/accountsAssignCountries.js +2 -0
  39. package/funcs/accountsAssignCountries.js.map +1 -1
  40. package/funcs/accountsCreate.js +2 -0
  41. package/funcs/accountsCreate.js.map +1 -1
  42. package/funcs/accountsDisconnect.js +2 -0
  43. package/funcs/accountsDisconnect.js.map +1 -1
  44. package/funcs/accountsGet.js +2 -0
  45. package/funcs/accountsGet.js.map +1 -1
  46. package/funcs/accountsGetCountries.js +2 -0
  47. package/funcs/accountsGetCountries.js.map +1 -1
  48. package/funcs/accountsGetMerchantProcessingAgreement.js +2 -0
  49. package/funcs/accountsGetMerchantProcessingAgreement.js.map +1 -1
  50. package/funcs/accountsGetTermsOfServiceToken.js +2 -0
  51. package/funcs/accountsGetTermsOfServiceToken.js.map +1 -1
  52. package/funcs/accountsList.js +2 -0
  53. package/funcs/accountsList.js.map +1 -1
  54. package/funcs/accountsUpdate.js +2 -0
  55. package/funcs/accountsUpdate.js.map +1 -1
  56. package/funcs/adjustmentsGet.js +2 -0
  57. package/funcs/adjustmentsGet.js.map +1 -1
  58. package/funcs/adjustmentsList.js +2 -0
  59. package/funcs/adjustmentsList.js.map +1 -1
  60. package/funcs/applePayCreateSession.js +2 -0
  61. package/funcs/applePayCreateSession.js.map +1 -1
  62. package/funcs/applePayGetMerchantDomains.js +2 -0
  63. package/funcs/applePayGetMerchantDomains.js.map +1 -1
  64. package/funcs/applePayLinkToken.js +2 -0
  65. package/funcs/applePayLinkToken.js.map +1 -1
  66. package/funcs/applePayRegisterMerchantDomains.js +2 -0
  67. package/funcs/applePayRegisterMerchantDomains.js.map +1 -1
  68. package/funcs/applePayUpdateMerchantDomains.js +2 -0
  69. package/funcs/applePayUpdateMerchantDomains.js.map +1 -1
  70. package/funcs/authenticationCreateAccessToken.js +2 -0
  71. package/funcs/authenticationCreateAccessToken.js.map +1 -1
  72. package/funcs/authenticationRevokeAccessToken.js +2 -0
  73. package/funcs/authenticationRevokeAccessToken.js.map +1 -1
  74. package/funcs/avatarsGet.js +2 -0
  75. package/funcs/avatarsGet.js.map +1 -1
  76. package/funcs/bankAccountsCompleteMicroDeposits.js +2 -0
  77. package/funcs/bankAccountsCompleteMicroDeposits.js.map +1 -1
  78. package/funcs/bankAccountsCompleteVerification.js +2 -0
  79. package/funcs/bankAccountsCompleteVerification.js.map +1 -1
  80. package/funcs/bankAccountsDisable.js +2 -0
  81. package/funcs/bankAccountsDisable.js.map +1 -1
  82. package/funcs/bankAccountsGet.js +2 -0
  83. package/funcs/bankAccountsGet.js.map +1 -1
  84. package/funcs/bankAccountsGetVerification.js +2 -0
  85. package/funcs/bankAccountsGetVerification.js.map +1 -1
  86. package/funcs/bankAccountsInitiateMicroDeposits.js +2 -0
  87. package/funcs/bankAccountsInitiateMicroDeposits.js.map +1 -1
  88. package/funcs/bankAccountsInitiateVerification.js +2 -0
  89. package/funcs/bankAccountsInitiateVerification.js.map +1 -1
  90. package/funcs/bankAccountsLink.js +2 -0
  91. package/funcs/bankAccountsLink.js.map +1 -1
  92. package/funcs/bankAccountsList.js +2 -0
  93. package/funcs/bankAccountsList.js.map +1 -1
  94. package/funcs/brandingCreate.js +2 -0
  95. package/funcs/brandingCreate.js.map +1 -1
  96. package/funcs/brandingGet.js +2 -0
  97. package/funcs/brandingGet.js.map +1 -1
  98. package/funcs/brandingUpdate.js +2 -0
  99. package/funcs/brandingUpdate.js.map +1 -1
  100. package/funcs/brandingUpsert.js +2 -0
  101. package/funcs/brandingUpsert.js.map +1 -1
  102. package/funcs/capabilitiesDisable.js +2 -0
  103. package/funcs/capabilitiesDisable.js.map +1 -1
  104. package/funcs/capabilitiesGet.js +2 -0
  105. package/funcs/capabilitiesGet.js.map +1 -1
  106. package/funcs/capabilitiesList.js +2 -0
  107. package/funcs/capabilitiesList.js.map +1 -1
  108. package/funcs/capabilitiesRequest.js +2 -0
  109. package/funcs/capabilitiesRequest.js.map +1 -1
  110. package/funcs/cardIssuingGet.js +2 -0
  111. package/funcs/cardIssuingGet.js.map +1 -1
  112. package/funcs/cardIssuingGetFull.js +2 -0
  113. package/funcs/cardIssuingGetFull.js.map +1 -1
  114. package/funcs/cardIssuingList.js +2 -0
  115. package/funcs/cardIssuingList.js.map +1 -1
  116. package/funcs/cardIssuingRequest.js +2 -0
  117. package/funcs/cardIssuingRequest.js.map +1 -1
  118. package/funcs/cardIssuingUpdate.js +2 -0
  119. package/funcs/cardIssuingUpdate.js.map +1 -1
  120. package/funcs/cardsDisable.js +2 -0
  121. package/funcs/cardsDisable.js.map +1 -1
  122. package/funcs/cardsGet.js +2 -0
  123. package/funcs/cardsGet.js.map +1 -1
  124. package/funcs/cardsLink.js +3 -1
  125. package/funcs/cardsLink.js.map +1 -1
  126. package/funcs/cardsList.js +2 -0
  127. package/funcs/cardsList.js.map +1 -1
  128. package/funcs/cardsUpdate.js +2 -0
  129. package/funcs/cardsUpdate.js.map +1 -1
  130. package/funcs/disputesAccept.js +2 -0
  131. package/funcs/disputesAccept.js.map +1 -1
  132. package/funcs/disputesDeleteEvidence.js +2 -0
  133. package/funcs/disputesDeleteEvidence.js.map +1 -1
  134. package/funcs/disputesGet.js +2 -0
  135. package/funcs/disputesGet.js.map +1 -1
  136. package/funcs/disputesGetEvidence.js +2 -0
  137. package/funcs/disputesGetEvidence.js.map +1 -1
  138. package/funcs/disputesGetEvidenceData.js +2 -0
  139. package/funcs/disputesGetEvidenceData.js.map +1 -1
  140. package/funcs/disputesList.js +2 -0
  141. package/funcs/disputesList.js.map +1 -1
  142. package/funcs/disputesListEvidence.js +2 -0
  143. package/funcs/disputesListEvidence.js.map +1 -1
  144. package/funcs/disputesSubmitEvidence.js +2 -0
  145. package/funcs/disputesSubmitEvidence.js.map +1 -1
  146. package/funcs/disputesUpdateEvidence.js +2 -0
  147. package/funcs/disputesUpdateEvidence.js.map +1 -1
  148. package/funcs/disputesUploadEvidenceFile.js +2 -0
  149. package/funcs/disputesUploadEvidenceFile.js.map +1 -1
  150. package/funcs/disputesUploadEvidenceText.js +2 -0
  151. package/funcs/disputesUploadEvidenceText.js.map +1 -1
  152. package/funcs/endToEndEncryptionGenerateKey.js +2 -0
  153. package/funcs/endToEndEncryptionGenerateKey.js.map +1 -1
  154. package/funcs/endToEndEncryptionTestEncryptedToken.js +2 -0
  155. package/funcs/endToEndEncryptionTestEncryptedToken.js.map +1 -1
  156. package/funcs/enrichedAddressGet.js +2 -0
  157. package/funcs/enrichedAddressGet.js.map +1 -1
  158. package/funcs/enrichedProfileGet.js +2 -0
  159. package/funcs/enrichedProfileGet.js.map +1 -1
  160. package/funcs/feePlansCreateFeePlanAgreements.js +2 -0
  161. package/funcs/feePlansCreateFeePlanAgreements.js.map +1 -1
  162. package/funcs/feePlansListFeePlanAgreements.js +2 -0
  163. package/funcs/feePlansListFeePlanAgreements.js.map +1 -1
  164. package/funcs/feePlansListFeePlans.js +2 -0
  165. package/funcs/feePlansListFeePlans.js.map +1 -1
  166. package/funcs/feePlansListFeesFetch.js +2 -0
  167. package/funcs/feePlansListFeesFetch.js.map +1 -1
  168. package/funcs/feePlansListPartnerPricing.js +2 -0
  169. package/funcs/feePlansListPartnerPricing.js.map +1 -1
  170. package/funcs/feePlansListPartnerPricingAgreements.js +2 -0
  171. package/funcs/feePlansListPartnerPricingAgreements.js.map +1 -1
  172. package/funcs/feePlansRetrieveFees.js +2 -0
  173. package/funcs/feePlansRetrieveFees.js.map +1 -1
  174. package/funcs/filesGet.js +2 -0
  175. package/funcs/filesGet.js.map +1 -1
  176. package/funcs/filesList.js +2 -0
  177. package/funcs/filesList.js.map +1 -1
  178. package/funcs/filesUpload.js +2 -0
  179. package/funcs/filesUpload.js.map +1 -1
  180. package/funcs/industriesList.d.ts +2 -2
  181. package/funcs/industriesList.js +4 -2
  182. package/funcs/industriesList.js.map +1 -1
  183. package/funcs/institutionsSearch.js +2 -0
  184. package/funcs/institutionsSearch.js.map +1 -1
  185. package/funcs/issuingTransactionsGet.js +2 -0
  186. package/funcs/issuingTransactionsGet.js.map +1 -1
  187. package/funcs/issuingTransactionsGetAuthorization.js +2 -0
  188. package/funcs/issuingTransactionsGetAuthorization.js.map +1 -1
  189. package/funcs/issuingTransactionsList.js +2 -0
  190. package/funcs/issuingTransactionsList.js.map +1 -1
  191. package/funcs/issuingTransactionsListAuthorizationEvents.js +2 -0
  192. package/funcs/issuingTransactionsListAuthorizationEvents.js.map +1 -1
  193. package/funcs/issuingTransactionsListAuthorizations.js +2 -0
  194. package/funcs/issuingTransactionsListAuthorizations.js.map +1 -1
  195. package/funcs/onboardingCreateInvite.js +2 -0
  196. package/funcs/onboardingCreateInvite.js.map +1 -1
  197. package/funcs/onboardingGetInvite.js +2 -0
  198. package/funcs/onboardingGetInvite.js.map +1 -1
  199. package/funcs/onboardingListInvites.js +2 -0
  200. package/funcs/onboardingListInvites.js.map +1 -1
  201. package/funcs/onboardingRevokeInvite.js +2 -0
  202. package/funcs/onboardingRevokeInvite.js.map +1 -1
  203. package/funcs/paymentLinksCreate.js +2 -0
  204. package/funcs/paymentLinksCreate.js.map +1 -1
  205. package/funcs/paymentLinksDisable.js +2 -0
  206. package/funcs/paymentLinksDisable.js.map +1 -1
  207. package/funcs/paymentLinksGet.js +2 -0
  208. package/funcs/paymentLinksGet.js.map +1 -1
  209. package/funcs/paymentLinksGetQRCode.js +2 -0
  210. package/funcs/paymentLinksGetQRCode.js.map +1 -1
  211. package/funcs/paymentLinksList.js +2 -0
  212. package/funcs/paymentLinksList.js.map +1 -1
  213. package/funcs/paymentLinksUpdate.js +2 -0
  214. package/funcs/paymentLinksUpdate.js.map +1 -1
  215. package/funcs/paymentMethodsGet.js +2 -0
  216. package/funcs/paymentMethodsGet.js.map +1 -1
  217. package/funcs/paymentMethodsList.js +2 -0
  218. package/funcs/paymentMethodsList.js.map +1 -1
  219. package/funcs/pingPing.js +2 -0
  220. package/funcs/pingPing.js.map +1 -1
  221. package/funcs/receiptsCreate.js +2 -0
  222. package/funcs/receiptsCreate.js.map +1 -1
  223. package/funcs/receiptsList.js +2 -0
  224. package/funcs/receiptsList.js.map +1 -1
  225. package/funcs/representativesCreate.js +2 -0
  226. package/funcs/representativesCreate.js.map +1 -1
  227. package/funcs/representativesDelete.js +2 -0
  228. package/funcs/representativesDelete.js.map +1 -1
  229. package/funcs/representativesGet.js +2 -0
  230. package/funcs/representativesGet.js.map +1 -1
  231. package/funcs/representativesList.js +2 -0
  232. package/funcs/representativesList.js.map +1 -1
  233. package/funcs/representativesUpdate.js +2 -0
  234. package/funcs/representativesUpdate.js.map +1 -1
  235. package/funcs/schedulingCancel.js +2 -0
  236. package/funcs/schedulingCancel.js.map +1 -1
  237. package/funcs/schedulingCreate.js +2 -0
  238. package/funcs/schedulingCreate.js.map +1 -1
  239. package/funcs/schedulingGet.js +2 -0
  240. package/funcs/schedulingGet.js.map +1 -1
  241. package/funcs/schedulingGetOccurrance.js +2 -0
  242. package/funcs/schedulingGetOccurrance.js.map +1 -1
  243. package/funcs/schedulingList.js +2 -0
  244. package/funcs/schedulingList.js.map +1 -1
  245. package/funcs/schedulingUpdate.js +2 -0
  246. package/funcs/schedulingUpdate.js.map +1 -1
  247. package/funcs/sweepsCreateConfig.js +2 -0
  248. package/funcs/sweepsCreateConfig.js.map +1 -1
  249. package/funcs/sweepsGet.js +2 -0
  250. package/funcs/sweepsGet.js.map +1 -1
  251. package/funcs/sweepsGetConfig.js +2 -0
  252. package/funcs/sweepsGetConfig.js.map +1 -1
  253. package/funcs/sweepsList.js +2 -0
  254. package/funcs/sweepsList.js.map +1 -1
  255. package/funcs/sweepsListConfigs.js +2 -0
  256. package/funcs/sweepsListConfigs.js.map +1 -1
  257. package/funcs/sweepsUpdateConfig.js +2 -0
  258. package/funcs/sweepsUpdateConfig.js.map +1 -1
  259. package/funcs/terminalApplicationsCreate.js +2 -0
  260. package/funcs/terminalApplicationsCreate.js.map +1 -1
  261. package/funcs/terminalApplicationsDelete.js +2 -0
  262. package/funcs/terminalApplicationsDelete.js.map +1 -1
  263. package/funcs/terminalApplicationsGet.js +2 -0
  264. package/funcs/terminalApplicationsGet.js.map +1 -1
  265. package/funcs/terminalApplicationsList.js +2 -0
  266. package/funcs/terminalApplicationsList.js.map +1 -1
  267. package/funcs/transfersCreate.js +2 -0
  268. package/funcs/transfersCreate.js.map +1 -1
  269. package/funcs/transfersCreateCancellation.js +2 -0
  270. package/funcs/transfersCreateCancellation.js.map +1 -1
  271. package/funcs/transfersCreateReversal.js +2 -0
  272. package/funcs/transfersCreateReversal.js.map +1 -1
  273. package/funcs/transfersGenerateOptions.js +2 -0
  274. package/funcs/transfersGenerateOptions.js.map +1 -1
  275. package/funcs/transfersGet.js +2 -0
  276. package/funcs/transfersGet.js.map +1 -1
  277. package/funcs/transfersGetCancellation.js +2 -0
  278. package/funcs/transfersGetCancellation.js.map +1 -1
  279. package/funcs/transfersGetRefund.js +2 -0
  280. package/funcs/transfersGetRefund.js.map +1 -1
  281. package/funcs/transfersInitiateRefund.js +2 -0
  282. package/funcs/transfersInitiateRefund.js.map +1 -1
  283. package/funcs/transfersList.js +2 -0
  284. package/funcs/transfersList.js.map +1 -1
  285. package/funcs/transfersListRefunds.js +2 -0
  286. package/funcs/transfersListRefunds.js.map +1 -1
  287. package/funcs/transfersUpdate.js +2 -0
  288. package/funcs/transfersUpdate.js.map +1 -1
  289. package/funcs/underwritingGet.js +2 -0
  290. package/funcs/underwritingGet.js.map +1 -1
  291. package/funcs/underwritingUpsert.js +2 -0
  292. package/funcs/underwritingUpsert.js.map +1 -1
  293. package/funcs/walletTransactionsGet.js +2 -0
  294. package/funcs/walletTransactionsGet.js.map +1 -1
  295. package/funcs/walletTransactionsList.js +2 -0
  296. package/funcs/walletTransactionsList.js.map +1 -1
  297. package/funcs/walletsGet.js +2 -0
  298. package/funcs/walletsGet.js.map +1 -1
  299. package/funcs/walletsList.js +2 -0
  300. package/funcs/walletsList.js.map +1 -1
  301. package/hooks/types.d.ts +2 -0
  302. package/hooks/types.d.ts.map +1 -1
  303. package/index.d.ts +2 -0
  304. package/index.d.ts.map +1 -1
  305. package/index.js +3 -1
  306. package/index.js.map +1 -1
  307. package/jsr.json +1 -1
  308. package/lib/config.d.ts +7 -3
  309. package/lib/config.d.ts.map +1 -1
  310. package/lib/config.js +3 -3
  311. package/lib/config.js.map +1 -1
  312. package/lib/sdks.d.ts +1 -0
  313. package/lib/sdks.d.ts.map +1 -1
  314. package/lib/sdks.js +3 -3
  315. package/lib/sdks.js.map +1 -1
  316. package/mcp-server/cli/start/impl.js +4 -4
  317. package/mcp-server/cli/start/impl.js.map +1 -1
  318. package/mcp-server/mcp-server.js +1 -1
  319. package/mcp-server/server.js +1 -1
  320. package/mcp-server/tools/industriesList.js +2 -2
  321. package/models/components/enrichedindustries.d.ts +3 -3
  322. package/models/components/enrichedindustries.js +3 -3
  323. package/models/components/index.d.ts +2 -1
  324. package/models/components/index.d.ts.map +1 -1
  325. package/models/components/index.js +2 -1
  326. package/models/components/index.js.map +1 -1
  327. package/models/components/industrytaxonomy.d.ts +55 -0
  328. package/models/components/industrytaxonomy.d.ts.map +1 -0
  329. package/models/components/{enrichedindustry.js → industrytaxonomy.js} +27 -25
  330. package/models/components/industrytaxonomy.js.map +1 -0
  331. package/models/components/sweep.d.ts +6 -0
  332. package/models/components/sweep.d.ts.map +1 -1
  333. package/models/components/sweep.js +3 -0
  334. package/models/components/sweep.js.map +1 -1
  335. package/models/components/sweepsubtotal.d.ts +44 -0
  336. package/models/components/sweepsubtotal.d.ts.map +1 -0
  337. package/models/components/sweepsubtotal.js +75 -0
  338. package/models/components/sweepsubtotal.js.map +1 -0
  339. package/models/operations/createtransfer.d.ts +1 -1
  340. package/package.json +2 -2
  341. package/sdk/industries.d.ts +2 -2
  342. package/sdk/industries.js +2 -2
  343. package/src/funcs/accountTerminalApplicationsGet.ts +2 -0
  344. package/src/funcs/accountTerminalApplicationsGetConfiguration.ts +2 -0
  345. package/src/funcs/accountTerminalApplicationsLink.ts +2 -0
  346. package/src/funcs/accountTerminalApplicationsList.ts +2 -0
  347. package/src/funcs/accountsAssignCountries.ts +2 -0
  348. package/src/funcs/accountsCreate.ts +2 -0
  349. package/src/funcs/accountsDisconnect.ts +2 -0
  350. package/src/funcs/accountsGet.ts +2 -0
  351. package/src/funcs/accountsGetCountries.ts +2 -0
  352. package/src/funcs/accountsGetMerchantProcessingAgreement.ts +2 -0
  353. package/src/funcs/accountsGetTermsOfServiceToken.ts +2 -0
  354. package/src/funcs/accountsList.ts +2 -0
  355. package/src/funcs/accountsUpdate.ts +2 -0
  356. package/src/funcs/adjustmentsGet.ts +2 -0
  357. package/src/funcs/adjustmentsList.ts +2 -0
  358. package/src/funcs/applePayCreateSession.ts +2 -0
  359. package/src/funcs/applePayGetMerchantDomains.ts +2 -0
  360. package/src/funcs/applePayLinkToken.ts +2 -0
  361. package/src/funcs/applePayRegisterMerchantDomains.ts +2 -0
  362. package/src/funcs/applePayUpdateMerchantDomains.ts +2 -0
  363. package/src/funcs/authenticationCreateAccessToken.ts +2 -0
  364. package/src/funcs/authenticationRevokeAccessToken.ts +2 -0
  365. package/src/funcs/avatarsGet.ts +2 -0
  366. package/src/funcs/bankAccountsCompleteMicroDeposits.ts +2 -0
  367. package/src/funcs/bankAccountsCompleteVerification.ts +2 -0
  368. package/src/funcs/bankAccountsDisable.ts +2 -0
  369. package/src/funcs/bankAccountsGet.ts +2 -0
  370. package/src/funcs/bankAccountsGetVerification.ts +2 -0
  371. package/src/funcs/bankAccountsInitiateMicroDeposits.ts +2 -0
  372. package/src/funcs/bankAccountsInitiateVerification.ts +2 -0
  373. package/src/funcs/bankAccountsLink.ts +2 -0
  374. package/src/funcs/bankAccountsList.ts +2 -0
  375. package/src/funcs/brandingCreate.ts +2 -0
  376. package/src/funcs/brandingGet.ts +2 -0
  377. package/src/funcs/brandingUpdate.ts +2 -0
  378. package/src/funcs/brandingUpsert.ts +2 -0
  379. package/src/funcs/capabilitiesDisable.ts +2 -0
  380. package/src/funcs/capabilitiesGet.ts +2 -0
  381. package/src/funcs/capabilitiesList.ts +2 -0
  382. package/src/funcs/capabilitiesRequest.ts +2 -0
  383. package/src/funcs/cardIssuingGet.ts +2 -0
  384. package/src/funcs/cardIssuingGetFull.ts +2 -0
  385. package/src/funcs/cardIssuingList.ts +2 -0
  386. package/src/funcs/cardIssuingRequest.ts +2 -0
  387. package/src/funcs/cardIssuingUpdate.ts +2 -0
  388. package/src/funcs/cardsDisable.ts +2 -0
  389. package/src/funcs/cardsGet.ts +2 -0
  390. package/src/funcs/cardsLink.ts +4 -2
  391. package/src/funcs/cardsList.ts +2 -0
  392. package/src/funcs/cardsUpdate.ts +2 -0
  393. package/src/funcs/disputesAccept.ts +2 -0
  394. package/src/funcs/disputesDeleteEvidence.ts +2 -0
  395. package/src/funcs/disputesGet.ts +2 -0
  396. package/src/funcs/disputesGetEvidence.ts +2 -0
  397. package/src/funcs/disputesGetEvidenceData.ts +2 -0
  398. package/src/funcs/disputesList.ts +2 -0
  399. package/src/funcs/disputesListEvidence.ts +2 -0
  400. package/src/funcs/disputesSubmitEvidence.ts +2 -0
  401. package/src/funcs/disputesUpdateEvidence.ts +2 -0
  402. package/src/funcs/disputesUploadEvidenceFile.ts +2 -0
  403. package/src/funcs/disputesUploadEvidenceText.ts +2 -0
  404. package/src/funcs/endToEndEncryptionGenerateKey.ts +2 -0
  405. package/src/funcs/endToEndEncryptionTestEncryptedToken.ts +2 -0
  406. package/src/funcs/enrichedAddressGet.ts +2 -0
  407. package/src/funcs/enrichedProfileGet.ts +2 -0
  408. package/src/funcs/feePlansCreateFeePlanAgreements.ts +2 -0
  409. package/src/funcs/feePlansListFeePlanAgreements.ts +2 -0
  410. package/src/funcs/feePlansListFeePlans.ts +2 -0
  411. package/src/funcs/feePlansListFeesFetch.ts +2 -0
  412. package/src/funcs/feePlansListPartnerPricing.ts +2 -0
  413. package/src/funcs/feePlansListPartnerPricingAgreements.ts +2 -0
  414. package/src/funcs/feePlansRetrieveFees.ts +2 -0
  415. package/src/funcs/filesGet.ts +2 -0
  416. package/src/funcs/filesList.ts +2 -0
  417. package/src/funcs/filesUpload.ts +2 -0
  418. package/src/funcs/industriesList.ts +4 -2
  419. package/src/funcs/institutionsSearch.ts +2 -0
  420. package/src/funcs/issuingTransactionsGet.ts +2 -0
  421. package/src/funcs/issuingTransactionsGetAuthorization.ts +2 -0
  422. package/src/funcs/issuingTransactionsList.ts +2 -0
  423. package/src/funcs/issuingTransactionsListAuthorizationEvents.ts +2 -0
  424. package/src/funcs/issuingTransactionsListAuthorizations.ts +2 -0
  425. package/src/funcs/onboardingCreateInvite.ts +2 -0
  426. package/src/funcs/onboardingGetInvite.ts +2 -0
  427. package/src/funcs/onboardingListInvites.ts +2 -0
  428. package/src/funcs/onboardingRevokeInvite.ts +2 -0
  429. package/src/funcs/paymentLinksCreate.ts +2 -0
  430. package/src/funcs/paymentLinksDisable.ts +2 -0
  431. package/src/funcs/paymentLinksGet.ts +2 -0
  432. package/src/funcs/paymentLinksGetQRCode.ts +2 -0
  433. package/src/funcs/paymentLinksList.ts +2 -0
  434. package/src/funcs/paymentLinksUpdate.ts +2 -0
  435. package/src/funcs/paymentMethodsGet.ts +2 -0
  436. package/src/funcs/paymentMethodsList.ts +2 -0
  437. package/src/funcs/pingPing.ts +2 -0
  438. package/src/funcs/receiptsCreate.ts +2 -0
  439. package/src/funcs/receiptsList.ts +2 -0
  440. package/src/funcs/representativesCreate.ts +2 -0
  441. package/src/funcs/representativesDelete.ts +2 -0
  442. package/src/funcs/representativesGet.ts +2 -0
  443. package/src/funcs/representativesList.ts +2 -0
  444. package/src/funcs/representativesUpdate.ts +2 -0
  445. package/src/funcs/schedulingCancel.ts +2 -0
  446. package/src/funcs/schedulingCreate.ts +2 -0
  447. package/src/funcs/schedulingGet.ts +2 -0
  448. package/src/funcs/schedulingGetOccurrance.ts +2 -0
  449. package/src/funcs/schedulingList.ts +2 -0
  450. package/src/funcs/schedulingUpdate.ts +2 -0
  451. package/src/funcs/sweepsCreateConfig.ts +2 -0
  452. package/src/funcs/sweepsGet.ts +2 -0
  453. package/src/funcs/sweepsGetConfig.ts +2 -0
  454. package/src/funcs/sweepsList.ts +2 -0
  455. package/src/funcs/sweepsListConfigs.ts +2 -0
  456. package/src/funcs/sweepsUpdateConfig.ts +2 -0
  457. package/src/funcs/terminalApplicationsCreate.ts +2 -0
  458. package/src/funcs/terminalApplicationsDelete.ts +2 -0
  459. package/src/funcs/terminalApplicationsGet.ts +2 -0
  460. package/src/funcs/terminalApplicationsList.ts +2 -0
  461. package/src/funcs/transfersCreate.ts +2 -0
  462. package/src/funcs/transfersCreateCancellation.ts +2 -0
  463. package/src/funcs/transfersCreateReversal.ts +2 -0
  464. package/src/funcs/transfersGenerateOptions.ts +2 -0
  465. package/src/funcs/transfersGet.ts +2 -0
  466. package/src/funcs/transfersGetCancellation.ts +2 -0
  467. package/src/funcs/transfersGetRefund.ts +2 -0
  468. package/src/funcs/transfersInitiateRefund.ts +2 -0
  469. package/src/funcs/transfersList.ts +2 -0
  470. package/src/funcs/transfersListRefunds.ts +2 -0
  471. package/src/funcs/transfersUpdate.ts +2 -0
  472. package/src/funcs/underwritingGet.ts +2 -0
  473. package/src/funcs/underwritingUpsert.ts +2 -0
  474. package/src/funcs/walletTransactionsGet.ts +2 -0
  475. package/src/funcs/walletTransactionsList.ts +2 -0
  476. package/src/funcs/walletsGet.ts +2 -0
  477. package/src/funcs/walletsList.ts +2 -0
  478. package/src/hooks/types.ts +2 -0
  479. package/src/index.ts +2 -0
  480. package/src/lib/config.ts +7 -3
  481. package/src/lib/sdks.ts +10 -4
  482. package/src/mcp-server/cli/start/impl.ts +4 -4
  483. package/src/mcp-server/mcp-server.ts +1 -1
  484. package/src/mcp-server/server.ts +1 -1
  485. package/src/mcp-server/tools/industriesList.ts +2 -2
  486. package/src/models/components/enrichedindustries.ts +9 -9
  487. package/src/models/components/index.ts +2 -1
  488. package/src/models/components/industrytaxonomy.ts +100 -0
  489. package/src/models/components/sweep.ts +13 -0
  490. package/src/models/components/sweepsubtotal.ts +90 -0
  491. package/src/models/operations/createtransfer.ts +1 -1
  492. package/src/sdk/industries.ts +2 -2
  493. package/test/README.md +2 -0
  494. package/test/index.ts +1 -0
  495. package/test/package.json +25 -0
  496. package/test/setup.ts +119 -0
  497. package/test/tests/accounts.test.ts +127 -0
  498. package/test/tests/bankAccounts.test.ts +171 -0
  499. package/test/tests/capabilities.test.ts +147 -0
  500. package/test/tests/cards.test.ts +168 -0
  501. package/test/tests/paymentMethods.test.ts +55 -0
  502. package/test/tests/representatives.test.ts +83 -0
  503. package/test/tests/transfers.test.ts +122 -0
  504. package/test/tests/wallets.test.ts +31 -0
  505. package/test/tsconfig.json +30 -0
  506. package/test/utils/utils.ts +276 -0
  507. package/models/components/enrichedindustry.d.ts +0 -47
  508. package/models/components/enrichedindustry.d.ts.map +0 -1
  509. package/models/components/enrichedindustry.js.map +0 -1
  510. package/src/models/components/enrichedindustry.ts +0 -90
@@ -114,6 +114,7 @@ async function $do(
114
114
  const requestSecurity = resolveGlobalSecurity(securityInput);
115
115
 
116
116
  const context = {
117
+ options: client._options,
117
118
  baseURL: options?.serverURL ?? client._baseURL ?? "",
118
119
  operationID: "upsertUnderwriting",
119
120
  oAuth2Scopes: [],
@@ -134,6 +135,7 @@ async function $do(
134
135
  path: path,
135
136
  headers: headers,
136
137
  body: body,
138
+ userAgent: client._options.userAgent,
137
139
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
138
140
  }, options);
139
141
  if (!requestRes.ok) {
@@ -117,6 +117,7 @@ async function $do(
117
117
  const requestSecurity = resolveGlobalSecurity(securityInput);
118
118
 
119
119
  const context = {
120
+ options: client._options,
120
121
  baseURL: options?.serverURL ?? client._baseURL ?? "",
121
122
  operationID: "getWalletTransaction",
122
123
  oAuth2Scopes: [],
@@ -137,6 +138,7 @@ async function $do(
137
138
  path: path,
138
139
  headers: headers,
139
140
  body: body,
141
+ userAgent: client._options.userAgent,
140
142
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
141
143
  }, options);
142
144
  if (!requestRes.ok) {
@@ -128,6 +128,7 @@ async function $do(
128
128
  const requestSecurity = resolveGlobalSecurity(securityInput);
129
129
 
130
130
  const context = {
131
+ options: client._options,
131
132
  baseURL: options?.serverURL ?? client._baseURL ?? "",
132
133
  operationID: "listWalletTransactions",
133
134
  oAuth2Scopes: [],
@@ -149,6 +150,7 @@ async function $do(
149
150
  headers: headers,
150
151
  query: query,
151
152
  body: body,
153
+ userAgent: client._options.userAgent,
152
154
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
153
155
  }, options);
154
156
  if (!requestRes.ok) {
@@ -112,6 +112,7 @@ async function $do(
112
112
  const requestSecurity = resolveGlobalSecurity(securityInput);
113
113
 
114
114
  const context = {
115
+ options: client._options,
115
116
  baseURL: options?.serverURL ?? client._baseURL ?? "",
116
117
  operationID: "getWallet",
117
118
  oAuth2Scopes: [],
@@ -132,6 +133,7 @@ async function $do(
132
133
  path: path,
133
134
  headers: headers,
134
135
  body: body,
136
+ userAgent: client._options.userAgent,
135
137
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
136
138
  }, options);
137
139
  if (!requestRes.ok) {
@@ -106,6 +106,7 @@ async function $do(
106
106
  const requestSecurity = resolveGlobalSecurity(securityInput);
107
107
 
108
108
  const context = {
109
+ options: client._options,
109
110
  baseURL: options?.serverURL ?? client._baseURL ?? "",
110
111
  operationID: "listWallets",
111
112
  oAuth2Scopes: [],
@@ -126,6 +127,7 @@ async function $do(
126
127
  path: path,
127
128
  headers: headers,
128
129
  body: body,
130
+ userAgent: client._options.userAgent,
129
131
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
130
132
  }, options);
131
133
  if (!requestRes.ok) {
@@ -2,6 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ import { SDKOptions } from "../lib/config.js";
5
6
  import { HTTPClient, RequestInput } from "../lib/http.js";
6
7
  import { RetryConfig } from "../lib/retries.js";
7
8
  import { SecurityState } from "../lib/security.js";
@@ -13,6 +14,7 @@ export type HookContext = {
13
14
  securitySource?: any | (() => Promise<any>);
14
15
  retryConfig: RetryConfig;
15
16
  resolvedSecurity: SecurityState | null;
17
+ options: SDKOptions;
16
18
  };
17
19
 
18
20
  export type Awaitable<T> = T | Promise<T>;
package/src/index.ts CHANGED
@@ -4,4 +4,6 @@
4
4
 
5
5
  export * from "./lib/config.js";
6
6
  export * as files from "./lib/files.js";
7
+ export { HTTPClient } from "./lib/http.js";
8
+ export type { Fetcher, HTTPClientOptions } from "./lib/http.js";
7
9
  export * from "./sdk/sdk.js";
package/src/lib/config.ts CHANGED
@@ -41,6 +41,10 @@ export type SDKOptions = {
41
41
  * Allows overriding the default server URL used by the SDK
42
42
  */
43
43
  serverURL?: string | undefined;
44
+ /**
45
+ * Allows overriding the default user agent used by the SDK
46
+ */
47
+ userAgent?: string | undefined;
44
48
  /**
45
49
  * Allows overriding the default retry config used by the SDK
46
50
  */
@@ -69,7 +73,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
69
73
  export const SDK_METADATA = {
70
74
  language: "typescript",
71
75
  openapiDocVersion: "latest",
72
- sdkVersion: "0.11.4",
73
- genVersion: "2.597.9",
74
- userAgent: "speakeasy-sdk/typescript 0.11.4 2.597.9 latest @moovio/sdk",
76
+ sdkVersion: "0.12.0",
77
+ genVersion: "2.618.0",
78
+ userAgent: "speakeasy-sdk/typescript 0.12.0 2.618.0 latest @moovio/sdk",
75
79
  } as const;
package/src/lib/sdks.ts CHANGED
@@ -64,6 +64,7 @@ type RequestConfig = {
64
64
  headers?: HeadersInit;
65
65
  security?: SecurityState | null;
66
66
  uaHeader?: string;
67
+ userAgent?: string | undefined;
67
68
  timeoutMs?: number;
68
69
  };
69
70
 
@@ -95,19 +96,21 @@ export class ClientSDK {
95
96
  } else {
96
97
  this.#hooks = new SDKHooks();
97
98
  }
98
- this._options = { ...options, hooks: this.#hooks };
99
-
100
99
  const url = serverURLFromOptions(options);
101
100
  if (url) {
102
101
  url.pathname = url.pathname.replace(/\/+$/, "") + "/";
103
102
  }
103
+
104
104
  const { baseURL, client } = this.#hooks.sdkInit({
105
105
  baseURL: url,
106
106
  client: options.httpClient || new HTTPClient(),
107
107
  });
108
108
  this._baseURL = baseURL;
109
109
  this.#httpClient = client;
110
- this.#logger = options.debugLogger;
110
+
111
+ this._options = { ...options, hooks: this.#hooks };
112
+
113
+ this.#logger = this._options.debugLogger;
111
114
  }
112
115
 
113
116
  public _createRequest(
@@ -180,7 +183,10 @@ export class ClientSDK {
180
183
  // Only set user agent header in non-browser-like environments since CORS
181
184
  // policy disallows setting it in browsers e.g. Chrome throws an error.
182
185
  if (!isBrowserLike) {
183
- headers.set(conf.uaHeader ?? "user-agent", SDK_METADATA.userAgent);
186
+ headers.set(
187
+ conf.uaHeader ?? "user-agent",
188
+ conf.userAgent ?? SDK_METADATA.userAgent,
189
+ );
184
190
  }
185
191
 
186
192
  const fetchOptions: Omit<RequestInit, "method" | "body"> = {
@@ -54,8 +54,8 @@ async function startStdio(flags: StartCommandFlags) {
54
54
  allowedTools: flags.tool,
55
55
  scopes: flags.scope,
56
56
  security: allRequired({
57
- username: flags.username,
58
- password: flags.password,
57
+ username: flags.username ?? "",
58
+ password: flags.password ?? "",
59
59
  }),
60
60
  xMoovVersion: flags["x-moov-version"],
61
61
  serverURL: flags["server-url"],
@@ -79,8 +79,8 @@ async function startSSE(flags: StartCommandFlags) {
79
79
  allowedTools: flags.tool,
80
80
  scopes: flags.scope,
81
81
  security: allRequired({
82
- username: flags.username,
83
- password: flags.password,
82
+ username: flags.username ?? "",
83
+ password: flags.password ?? "",
84
84
  }),
85
85
  xMoovVersion: flags["x-moov-version"],
86
86
  serverURL: flags["server-url"],
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.11.4",
22
+ currentVersion: "0.12.0",
23
23
  },
24
24
  });
25
25
 
@@ -160,7 +160,7 @@ export function createMCPServer(deps: {
160
160
  }) {
161
161
  const server = new McpServer({
162
162
  name: "Moov",
163
- version: "0.11.4",
163
+ version: "0.12.0",
164
164
  });
165
165
 
166
166
  const client = new MoovCore({
@@ -13,9 +13,9 @@ const args = {
13
13
  export const tool$industriesList: ToolDefinition<typeof args> = {
14
14
  name: "industries-list",
15
15
  description:
16
- `Returns a list of all industry titles and their corresponding MCC/SIC/NAICS codes. Results are ordered by title.
16
+ `Returns a list of industries relevant to merchant profile enrichment. Results are ordered by industry name.
17
17
 
18
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
18
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
19
19
  you'll need to specify the \`/profile-enrichment.read\` scope.`,
20
20
  args,
21
21
  tool: async (client, args, ctx) => {
@@ -7,14 +7,14 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
  import {
10
- EnrichedIndustry,
11
- EnrichedIndustry$inboundSchema,
12
- EnrichedIndustry$Outbound,
13
- EnrichedIndustry$outboundSchema,
14
- } from "./enrichedindustry.js";
10
+ IndustryTaxonomy,
11
+ IndustryTaxonomy$inboundSchema,
12
+ IndustryTaxonomy$Outbound,
13
+ IndustryTaxonomy$outboundSchema,
14
+ } from "./industrytaxonomy.js";
15
15
 
16
16
  export type EnrichedIndustries = {
17
- industries: Array<EnrichedIndustry>;
17
+ industries: Array<IndustryTaxonomy>;
18
18
  };
19
19
 
20
20
  /** @internal */
@@ -23,12 +23,12 @@ export const EnrichedIndustries$inboundSchema: z.ZodType<
23
23
  z.ZodTypeDef,
24
24
  unknown
25
25
  > = z.object({
26
- industries: z.array(EnrichedIndustry$inboundSchema),
26
+ industries: z.array(IndustryTaxonomy$inboundSchema),
27
27
  });
28
28
 
29
29
  /** @internal */
30
30
  export type EnrichedIndustries$Outbound = {
31
- industries: Array<EnrichedIndustry$Outbound>;
31
+ industries: Array<IndustryTaxonomy$Outbound>;
32
32
  };
33
33
 
34
34
  /** @internal */
@@ -37,7 +37,7 @@ export const EnrichedIndustries$outboundSchema: z.ZodType<
37
37
  z.ZodTypeDef,
38
38
  EnrichedIndustries
39
39
  > = z.object({
40
- industries: z.array(EnrichedIndustry$outboundSchema),
40
+ industries: z.array(IndustryTaxonomy$outboundSchema),
41
41
  });
42
42
 
43
43
  /**
@@ -159,7 +159,6 @@ export * from "./enrichedaddressresponse.js";
159
159
  export * from "./enrichedbusinessprofile.js";
160
160
  export * from "./enrichedbusinessresponse.js";
161
161
  export * from "./enrichedindustries.js";
162
- export * from "./enrichedindustry.js";
163
162
  export * from "./enrichedindustrycodes.js";
164
163
  export * from "./entrymode.js";
165
164
  export * from "./evidencetextresponse.js";
@@ -196,6 +195,7 @@ export * from "./individualnameerror.js";
196
195
  export * from "./individualnameupdate.js";
197
196
  export * from "./individualprofile.js";
198
197
  export * from "./industrycodes.js";
198
+ export * from "./industrytaxonomy.js";
199
199
  export * from "./issuedcard.js";
200
200
  export * from "./issuedcardauthorization.js";
201
201
  export * from "./issuedcardauthorizationevent.js";
@@ -318,6 +318,7 @@ export * from "./sweepconfig.js";
318
318
  export * from "./sweepconfigpaymentmethod.js";
319
319
  export * from "./sweepconfigstatus.js";
320
320
  export * from "./sweepstatus.js";
321
+ export * from "./sweepsubtotal.js";
321
322
  export * from "./taxid.js";
322
323
  export * from "./taxidupdate.js";
323
324
  export * from "./terminalapplication.js";
@@ -0,0 +1,100 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ /**
11
+ * A structured industry taxonomy entry with category and mapped to a default MCC code.
12
+ */
13
+ export type IndustryTaxonomy = {
14
+ /**
15
+ * URL-safe identifier for the industry
16
+ */
17
+ industry: string;
18
+ /**
19
+ * Display name of the industry
20
+ */
21
+ displayName: string;
22
+ /**
23
+ * Category slug
24
+ */
25
+ category: string;
26
+ /**
27
+ * Human-readable category label
28
+ */
29
+ categoryDisplayName: string;
30
+ /**
31
+ * Default Merchant Category Code
32
+ */
33
+ defaultMcc: string;
34
+ };
35
+
36
+ /** @internal */
37
+ export const IndustryTaxonomy$inboundSchema: z.ZodType<
38
+ IndustryTaxonomy,
39
+ z.ZodTypeDef,
40
+ unknown
41
+ > = z.object({
42
+ industry: z.string(),
43
+ displayName: z.string(),
44
+ category: z.string(),
45
+ categoryDisplayName: z.string(),
46
+ defaultMcc: z.string(),
47
+ });
48
+
49
+ /** @internal */
50
+ export type IndustryTaxonomy$Outbound = {
51
+ industry: string;
52
+ displayName: string;
53
+ category: string;
54
+ categoryDisplayName: string;
55
+ defaultMcc: string;
56
+ };
57
+
58
+ /** @internal */
59
+ export const IndustryTaxonomy$outboundSchema: z.ZodType<
60
+ IndustryTaxonomy$Outbound,
61
+ z.ZodTypeDef,
62
+ IndustryTaxonomy
63
+ > = z.object({
64
+ industry: z.string(),
65
+ displayName: z.string(),
66
+ category: z.string(),
67
+ categoryDisplayName: z.string(),
68
+ defaultMcc: z.string(),
69
+ });
70
+
71
+ /**
72
+ * @internal
73
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
74
+ */
75
+ export namespace IndustryTaxonomy$ {
76
+ /** @deprecated use `IndustryTaxonomy$inboundSchema` instead. */
77
+ export const inboundSchema = IndustryTaxonomy$inboundSchema;
78
+ /** @deprecated use `IndustryTaxonomy$outboundSchema` instead. */
79
+ export const outboundSchema = IndustryTaxonomy$outboundSchema;
80
+ /** @deprecated use `IndustryTaxonomy$Outbound` instead. */
81
+ export type Outbound = IndustryTaxonomy$Outbound;
82
+ }
83
+
84
+ export function industryTaxonomyToJSON(
85
+ industryTaxonomy: IndustryTaxonomy,
86
+ ): string {
87
+ return JSON.stringify(
88
+ IndustryTaxonomy$outboundSchema.parse(industryTaxonomy),
89
+ );
90
+ }
91
+
92
+ export function industryTaxonomyFromJSON(
93
+ jsonString: string,
94
+ ): SafeParseResult<IndustryTaxonomy, SDKValidationError> {
95
+ return safeParse(
96
+ jsonString,
97
+ (x) => IndustryTaxonomy$inboundSchema.parse(JSON.parse(x)),
98
+ `Failed to parse 'IndustryTaxonomy' from JSON`,
99
+ );
100
+ }
@@ -11,6 +11,12 @@ import {
11
11
  SweepStatus$inboundSchema,
12
12
  SweepStatus$outboundSchema,
13
13
  } from "./sweepstatus.js";
14
+ import {
15
+ SweepSubtotal,
16
+ SweepSubtotal$inboundSchema,
17
+ SweepSubtotal$Outbound,
18
+ SweepSubtotal$outboundSchema,
19
+ } from "./sweepsubtotal.js";
14
20
 
15
21
  export type Sweep = {
16
22
  sweepID: string;
@@ -52,6 +58,10 @@ export type Sweep = {
52
58
  * The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor.
53
59
  */
54
60
  statementDescriptor?: string | undefined;
61
+ /**
62
+ * The subtotal of each transaction type contributing to the sweep's accrued amount.
63
+ */
64
+ subtotals?: Array<SweepSubtotal> | undefined;
55
65
  };
56
66
 
57
67
  /** @internal */
@@ -73,6 +83,7 @@ export const Sweep$inboundSchema: z.ZodType<Sweep, z.ZodTypeDef, unknown> = z
73
83
  transferID: z.string().optional(),
74
84
  transferAmount: z.string().optional(),
75
85
  statementDescriptor: z.string().optional(),
86
+ subtotals: z.array(SweepSubtotal$inboundSchema).optional(),
76
87
  });
77
88
 
78
89
  /** @internal */
@@ -89,6 +100,7 @@ export type Sweep$Outbound = {
89
100
  transferID?: string | undefined;
90
101
  transferAmount?: string | undefined;
91
102
  statementDescriptor?: string | undefined;
103
+ subtotals?: Array<SweepSubtotal$Outbound> | undefined;
92
104
  };
93
105
 
94
106
  /** @internal */
@@ -109,6 +121,7 @@ export const Sweep$outboundSchema: z.ZodType<
109
121
  transferID: z.string().optional(),
110
122
  transferAmount: z.string().optional(),
111
123
  statementDescriptor: z.string().optional(),
124
+ subtotals: z.array(SweepSubtotal$outboundSchema).optional(),
112
125
  });
113
126
 
114
127
  /**
@@ -0,0 +1,90 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+ import {
10
+ AmountDecimal,
11
+ AmountDecimal$inboundSchema,
12
+ AmountDecimal$Outbound,
13
+ AmountDecimal$outboundSchema,
14
+ } from "./amountdecimal.js";
15
+ import {
16
+ WalletTransactionType,
17
+ WalletTransactionType$inboundSchema,
18
+ WalletTransactionType$outboundSchema,
19
+ } from "./wallettransactiontype.js";
20
+
21
+ export type SweepSubtotal = {
22
+ /**
23
+ * The type of wallet transaction the subtotal is for.
24
+ */
25
+ type: WalletTransactionType;
26
+ /**
27
+ * The number of transactions of this type accrued in the sweep.
28
+ */
29
+ count: number;
30
+ /**
31
+ * The value of transactions of this type accrued in the sweep.
32
+ */
33
+ amount: AmountDecimal;
34
+ };
35
+
36
+ /** @internal */
37
+ export const SweepSubtotal$inboundSchema: z.ZodType<
38
+ SweepSubtotal,
39
+ z.ZodTypeDef,
40
+ unknown
41
+ > = z.object({
42
+ type: WalletTransactionType$inboundSchema,
43
+ count: z.number().int(),
44
+ amount: AmountDecimal$inboundSchema,
45
+ });
46
+
47
+ /** @internal */
48
+ export type SweepSubtotal$Outbound = {
49
+ type: string;
50
+ count: number;
51
+ amount: AmountDecimal$Outbound;
52
+ };
53
+
54
+ /** @internal */
55
+ export const SweepSubtotal$outboundSchema: z.ZodType<
56
+ SweepSubtotal$Outbound,
57
+ z.ZodTypeDef,
58
+ SweepSubtotal
59
+ > = z.object({
60
+ type: WalletTransactionType$outboundSchema,
61
+ count: z.number().int(),
62
+ amount: AmountDecimal$outboundSchema,
63
+ });
64
+
65
+ /**
66
+ * @internal
67
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
68
+ */
69
+ export namespace SweepSubtotal$ {
70
+ /** @deprecated use `SweepSubtotal$inboundSchema` instead. */
71
+ export const inboundSchema = SweepSubtotal$inboundSchema;
72
+ /** @deprecated use `SweepSubtotal$outboundSchema` instead. */
73
+ export const outboundSchema = SweepSubtotal$outboundSchema;
74
+ /** @deprecated use `SweepSubtotal$Outbound` instead. */
75
+ export type Outbound = SweepSubtotal$Outbound;
76
+ }
77
+
78
+ export function sweepSubtotalToJSON(sweepSubtotal: SweepSubtotal): string {
79
+ return JSON.stringify(SweepSubtotal$outboundSchema.parse(sweepSubtotal));
80
+ }
81
+
82
+ export function sweepSubtotalFromJSON(
83
+ jsonString: string,
84
+ ): SafeParseResult<SweepSubtotal, SDKValidationError> {
85
+ return safeParse(
86
+ jsonString,
87
+ (x) => SweepSubtotal$inboundSchema.parse(JSON.parse(x)),
88
+ `Failed to parse 'SweepSubtotal' from JSON`,
89
+ );
90
+ }
@@ -39,7 +39,7 @@ export type CreateTransferRequest = {
39
39
  */
40
40
  xWaitFor?: components.TransferWaitFor | undefined;
41
41
  /**
42
- * The merchant's Moov account ID.
42
+ * Your Moov account ID.
43
43
  */
44
44
  accountID: string;
45
45
  createTransfer: components.CreateTransfer;
@@ -9,9 +9,9 @@ import { unwrapAsync } from "../types/fp.js";
9
9
 
10
10
  export class Industries extends ClientSDK {
11
11
  /**
12
- * Returns a list of all industry titles and their corresponding MCC/SIC/NAICS codes. Results are ordered by title.
12
+ * Returns a list of industries relevant to merchant profile enrichment. Results are ordered by industry name.
13
13
  *
14
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
14
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
15
15
  * you'll need to specify the `/profile-enrichment.read` scope.
16
16
  */
17
17
  async list(
package/test/README.md ADDED
@@ -0,0 +1,2 @@
1
+ 1. Make sure you have `bun` [installed](https://bun.sh/docs/installation)
2
+ 2. Run `bun test` or `bun test:verbose` to see all the Requests and Responses
package/test/index.ts ADDED
@@ -0,0 +1 @@
1
+ console.log("Hello via Bun!");
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "moov-typescript-test",
3
+ "module": "index.ts",
4
+ "type": "module",
5
+ "scripts": {
6
+ "format": "prettier --write \"**/*.{ts,tsx,md,json}\"",
7
+ "format:check": "prettier --check \"**/*.{ts,tsx,md,json}\"",
8
+ "test": "bun test --timeout 20000",
9
+ "test:verbose": "VERBOSE=1 bun test --timeout 20000"
10
+ },
11
+ "devDependencies": {
12
+ "@types/bun": "latest",
13
+ "@types/chance": "^1.1.6",
14
+ "bun-types": "^1.2.2",
15
+ "chance": "^1.1.12",
16
+ "prettier": "^3.1.0",
17
+ "@moovio/sdk": "link:@moovio/sdk"
18
+ },
19
+ "peerDependencies": {
20
+ "typescript": "^5.0.0"
21
+ },
22
+ "dependencies": {
23
+ "remeda": "^2.20.1"
24
+ }
25
+ }