@moovio/sdk 0.11.5 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (583) hide show
  1. package/FUNCTIONS.md +7 -104
  2. package/README.md +110 -560
  3. package/bin/mcp-server.js +2663 -1992
  4. package/bin/mcp-server.js.map +172 -152
  5. package/docs/sdks/accounts/README.md +79 -261
  6. package/docs/sdks/accountterminalapplications/README.md +28 -36
  7. package/docs/sdks/adjustments/README.md +20 -24
  8. package/docs/sdks/applepay/README.md +47 -57
  9. package/docs/sdks/authentication/README.md +14 -18
  10. package/docs/sdks/avatars/README.md +7 -9
  11. package/docs/sdks/bankaccounts/README.md +99 -117
  12. package/docs/sdks/branding/README.md +36 -44
  13. package/docs/sdks/capabilities/README.md +38 -46
  14. package/docs/sdks/cardissuing/README.md +57 -83
  15. package/docs/sdks/cards/README.md +45 -85
  16. package/docs/sdks/disputes/README.md +131 -153
  17. package/docs/sdks/endtoendencryption/README.md +14 -18
  18. package/docs/sdks/enrichedaddress/README.md +7 -9
  19. package/docs/sdks/enrichedprofile/README.md +9 -11
  20. package/docs/sdks/feeplans/README.md +65 -79
  21. package/docs/sdks/files/README.md +29 -35
  22. package/docs/sdks/industries/README.md +11 -13
  23. package/docs/sdks/institutions/README.md +98 -9
  24. package/docs/sdks/issuingtransactions/README.md +51 -61
  25. package/docs/sdks/onboarding/README.md +30 -206
  26. package/docs/sdks/paymentlinks/README.md +58 -128
  27. package/docs/sdks/paymentmethods/README.md +20 -24
  28. package/docs/sdks/ping/README.md +7 -9
  29. package/docs/sdks/receipts/README.md +19 -33
  30. package/docs/sdks/representatives/README.md +53 -71
  31. package/docs/sdks/scheduling/README.md +76 -88
  32. package/docs/sdks/sweeps/README.md +64 -76
  33. package/docs/sdks/terminalapplications/README.md +28 -36
  34. package/docs/sdks/transfers/README.md +127 -195
  35. package/docs/sdks/underwriting/README.md +44 -48
  36. package/docs/sdks/wallets/README.md +20 -24
  37. package/docs/sdks/wallettransactions/README.md +24 -28
  38. package/funcs/accountTerminalApplicationsGet.js +2 -0
  39. package/funcs/accountTerminalApplicationsGet.js.map +1 -1
  40. package/funcs/accountTerminalApplicationsGetConfiguration.js +2 -0
  41. package/funcs/accountTerminalApplicationsGetConfiguration.js.map +1 -1
  42. package/funcs/accountTerminalApplicationsLink.js +2 -0
  43. package/funcs/accountTerminalApplicationsLink.js.map +1 -1
  44. package/funcs/accountTerminalApplicationsList.js +2 -0
  45. package/funcs/accountTerminalApplicationsList.js.map +1 -1
  46. package/funcs/accountsAssignCountries.js +2 -0
  47. package/funcs/accountsAssignCountries.js.map +1 -1
  48. package/funcs/accountsCreate.js +2 -0
  49. package/funcs/accountsCreate.js.map +1 -1
  50. package/funcs/accountsDisconnect.js +2 -0
  51. package/funcs/accountsDisconnect.js.map +1 -1
  52. package/funcs/accountsGet.js +2 -0
  53. package/funcs/accountsGet.js.map +1 -1
  54. package/funcs/accountsGetCountries.js +2 -0
  55. package/funcs/accountsGetCountries.js.map +1 -1
  56. package/funcs/accountsGetMerchantProcessingAgreement.js +2 -0
  57. package/funcs/accountsGetMerchantProcessingAgreement.js.map +1 -1
  58. package/funcs/accountsGetTermsOfServiceToken.js +2 -0
  59. package/funcs/accountsGetTermsOfServiceToken.js.map +1 -1
  60. package/funcs/accountsList.js +2 -0
  61. package/funcs/accountsList.js.map +1 -1
  62. package/funcs/accountsUpdate.js +2 -0
  63. package/funcs/accountsUpdate.js.map +1 -1
  64. package/funcs/adjustmentsGet.js +2 -0
  65. package/funcs/adjustmentsGet.js.map +1 -1
  66. package/funcs/adjustmentsList.js +2 -0
  67. package/funcs/adjustmentsList.js.map +1 -1
  68. package/funcs/applePayCreateSession.js +2 -0
  69. package/funcs/applePayCreateSession.js.map +1 -1
  70. package/funcs/applePayGetMerchantDomains.js +2 -0
  71. package/funcs/applePayGetMerchantDomains.js.map +1 -1
  72. package/funcs/applePayLinkToken.js +2 -0
  73. package/funcs/applePayLinkToken.js.map +1 -1
  74. package/funcs/applePayRegisterMerchantDomains.js +2 -0
  75. package/funcs/applePayRegisterMerchantDomains.js.map +1 -1
  76. package/funcs/applePayUpdateMerchantDomains.js +2 -0
  77. package/funcs/applePayUpdateMerchantDomains.js.map +1 -1
  78. package/funcs/authenticationCreateAccessToken.js +2 -0
  79. package/funcs/authenticationCreateAccessToken.js.map +1 -1
  80. package/funcs/authenticationRevokeAccessToken.js +2 -0
  81. package/funcs/authenticationRevokeAccessToken.js.map +1 -1
  82. package/funcs/avatarsGet.js +2 -0
  83. package/funcs/avatarsGet.js.map +1 -1
  84. package/funcs/bankAccountsCompleteMicroDeposits.js +2 -0
  85. package/funcs/bankAccountsCompleteMicroDeposits.js.map +1 -1
  86. package/funcs/bankAccountsCompleteVerification.js +2 -0
  87. package/funcs/bankAccountsCompleteVerification.js.map +1 -1
  88. package/funcs/bankAccountsDisable.js +2 -0
  89. package/funcs/bankAccountsDisable.js.map +1 -1
  90. package/funcs/bankAccountsGet.js +2 -0
  91. package/funcs/bankAccountsGet.js.map +1 -1
  92. package/funcs/bankAccountsGetVerification.js +2 -0
  93. package/funcs/bankAccountsGetVerification.js.map +1 -1
  94. package/funcs/bankAccountsInitiateMicroDeposits.js +2 -0
  95. package/funcs/bankAccountsInitiateMicroDeposits.js.map +1 -1
  96. package/funcs/bankAccountsInitiateVerification.js +2 -0
  97. package/funcs/bankAccountsInitiateVerification.js.map +1 -1
  98. package/funcs/bankAccountsLink.js +2 -0
  99. package/funcs/bankAccountsLink.js.map +1 -1
  100. package/funcs/bankAccountsList.js +2 -0
  101. package/funcs/bankAccountsList.js.map +1 -1
  102. package/funcs/brandingCreate.js +2 -0
  103. package/funcs/brandingCreate.js.map +1 -1
  104. package/funcs/brandingGet.js +2 -0
  105. package/funcs/brandingGet.js.map +1 -1
  106. package/funcs/brandingUpdate.js +2 -0
  107. package/funcs/brandingUpdate.js.map +1 -1
  108. package/funcs/brandingUpsert.js +2 -0
  109. package/funcs/brandingUpsert.js.map +1 -1
  110. package/funcs/capabilitiesDisable.js +2 -0
  111. package/funcs/capabilitiesDisable.js.map +1 -1
  112. package/funcs/capabilitiesGet.js +2 -0
  113. package/funcs/capabilitiesGet.js.map +1 -1
  114. package/funcs/capabilitiesList.js +2 -0
  115. package/funcs/capabilitiesList.js.map +1 -1
  116. package/funcs/capabilitiesRequest.js +2 -0
  117. package/funcs/capabilitiesRequest.js.map +1 -1
  118. package/funcs/cardIssuingGet.js +2 -0
  119. package/funcs/cardIssuingGet.js.map +1 -1
  120. package/funcs/cardIssuingGetFull.js +2 -0
  121. package/funcs/cardIssuingGetFull.js.map +1 -1
  122. package/funcs/cardIssuingList.js +2 -0
  123. package/funcs/cardIssuingList.js.map +1 -1
  124. package/funcs/cardIssuingRequest.js +2 -0
  125. package/funcs/cardIssuingRequest.js.map +1 -1
  126. package/funcs/cardIssuingUpdate.js +2 -0
  127. package/funcs/cardIssuingUpdate.js.map +1 -1
  128. package/funcs/cardsDisable.js +2 -0
  129. package/funcs/cardsDisable.js.map +1 -1
  130. package/funcs/cardsGet.js +2 -0
  131. package/funcs/cardsGet.js.map +1 -1
  132. package/funcs/cardsLink.js +2 -0
  133. package/funcs/cardsLink.js.map +1 -1
  134. package/funcs/cardsList.js +2 -0
  135. package/funcs/cardsList.js.map +1 -1
  136. package/funcs/cardsUpdate.js +2 -0
  137. package/funcs/cardsUpdate.js.map +1 -1
  138. package/funcs/disputesAccept.js +2 -0
  139. package/funcs/disputesAccept.js.map +1 -1
  140. package/funcs/disputesDeleteEvidence.js +2 -0
  141. package/funcs/disputesDeleteEvidence.js.map +1 -1
  142. package/funcs/disputesGet.js +2 -0
  143. package/funcs/disputesGet.js.map +1 -1
  144. package/funcs/disputesGetEvidence.js +2 -0
  145. package/funcs/disputesGetEvidence.js.map +1 -1
  146. package/funcs/disputesGetEvidenceData.js +2 -0
  147. package/funcs/disputesGetEvidenceData.js.map +1 -1
  148. package/funcs/disputesList.js +2 -0
  149. package/funcs/disputesList.js.map +1 -1
  150. package/funcs/disputesListEvidence.js +2 -0
  151. package/funcs/disputesListEvidence.js.map +1 -1
  152. package/funcs/disputesSubmitEvidence.js +2 -0
  153. package/funcs/disputesSubmitEvidence.js.map +1 -1
  154. package/funcs/disputesUpdateEvidence.js +2 -0
  155. package/funcs/disputesUpdateEvidence.js.map +1 -1
  156. package/funcs/disputesUploadEvidenceFile.js +2 -0
  157. package/funcs/disputesUploadEvidenceFile.js.map +1 -1
  158. package/funcs/disputesUploadEvidenceText.js +2 -0
  159. package/funcs/disputesUploadEvidenceText.js.map +1 -1
  160. package/funcs/endToEndEncryptionGenerateKey.js +2 -0
  161. package/funcs/endToEndEncryptionGenerateKey.js.map +1 -1
  162. package/funcs/endToEndEncryptionTestEncryptedToken.js +2 -0
  163. package/funcs/endToEndEncryptionTestEncryptedToken.js.map +1 -1
  164. package/funcs/enrichedAddressGet.js +2 -0
  165. package/funcs/enrichedAddressGet.js.map +1 -1
  166. package/funcs/enrichedProfileGet.js +2 -0
  167. package/funcs/enrichedProfileGet.js.map +1 -1
  168. package/funcs/feePlansCreateFeePlanAgreements.js +2 -0
  169. package/funcs/feePlansCreateFeePlanAgreements.js.map +1 -1
  170. package/funcs/feePlansListFeePlanAgreements.js +2 -0
  171. package/funcs/feePlansListFeePlanAgreements.js.map +1 -1
  172. package/funcs/feePlansListFeePlans.js +2 -0
  173. package/funcs/feePlansListFeePlans.js.map +1 -1
  174. package/funcs/feePlansListFeesFetch.js +2 -0
  175. package/funcs/feePlansListFeesFetch.js.map +1 -1
  176. package/funcs/feePlansListPartnerPricing.js +2 -0
  177. package/funcs/feePlansListPartnerPricing.js.map +1 -1
  178. package/funcs/feePlansListPartnerPricingAgreements.js +2 -0
  179. package/funcs/feePlansListPartnerPricingAgreements.js.map +1 -1
  180. package/funcs/feePlansRetrieveFees.js +2 -0
  181. package/funcs/feePlansRetrieveFees.js.map +1 -1
  182. package/funcs/filesGet.js +2 -0
  183. package/funcs/filesGet.js.map +1 -1
  184. package/funcs/filesList.js +2 -0
  185. package/funcs/filesList.js.map +1 -1
  186. package/funcs/filesUpload.js +2 -0
  187. package/funcs/filesUpload.js.map +1 -1
  188. package/funcs/industriesList.d.ts +2 -2
  189. package/funcs/industriesList.js +4 -2
  190. package/funcs/industriesList.js.map +1 -1
  191. package/funcs/institutionsSearch.js +2 -0
  192. package/funcs/institutionsSearch.js.map +1 -1
  193. package/funcs/institutionsSearchInstitutions.d.ts +20 -0
  194. package/funcs/institutionsSearchInstitutions.d.ts.map +1 -0
  195. package/funcs/institutionsSearchInstitutions.js +129 -0
  196. package/funcs/institutionsSearchInstitutions.js.map +1 -0
  197. package/funcs/issuingTransactionsGet.js +2 -0
  198. package/funcs/issuingTransactionsGet.js.map +1 -1
  199. package/funcs/issuingTransactionsGetAuthorization.js +2 -0
  200. package/funcs/issuingTransactionsGetAuthorization.js.map +1 -1
  201. package/funcs/issuingTransactionsList.js +2 -0
  202. package/funcs/issuingTransactionsList.js.map +1 -1
  203. package/funcs/issuingTransactionsListAuthorizationEvents.js +2 -0
  204. package/funcs/issuingTransactionsListAuthorizationEvents.js.map +1 -1
  205. package/funcs/issuingTransactionsListAuthorizations.js +2 -0
  206. package/funcs/issuingTransactionsListAuthorizations.js.map +1 -1
  207. package/funcs/onboardingCreateInvite.js +2 -0
  208. package/funcs/onboardingCreateInvite.js.map +1 -1
  209. package/funcs/onboardingGetInvite.js +2 -0
  210. package/funcs/onboardingGetInvite.js.map +1 -1
  211. package/funcs/onboardingListInvites.js +2 -0
  212. package/funcs/onboardingListInvites.js.map +1 -1
  213. package/funcs/onboardingRevokeInvite.js +2 -0
  214. package/funcs/onboardingRevokeInvite.js.map +1 -1
  215. package/funcs/paymentLinksCreate.js +2 -0
  216. package/funcs/paymentLinksCreate.js.map +1 -1
  217. package/funcs/paymentLinksDisable.js +2 -0
  218. package/funcs/paymentLinksDisable.js.map +1 -1
  219. package/funcs/paymentLinksGet.js +2 -0
  220. package/funcs/paymentLinksGet.js.map +1 -1
  221. package/funcs/paymentLinksGetQRCode.js +2 -0
  222. package/funcs/paymentLinksGetQRCode.js.map +1 -1
  223. package/funcs/paymentLinksList.js +2 -0
  224. package/funcs/paymentLinksList.js.map +1 -1
  225. package/funcs/paymentLinksUpdate.js +2 -0
  226. package/funcs/paymentLinksUpdate.js.map +1 -1
  227. package/funcs/paymentMethodsGet.js +2 -0
  228. package/funcs/paymentMethodsGet.js.map +1 -1
  229. package/funcs/paymentMethodsList.js +2 -0
  230. package/funcs/paymentMethodsList.js.map +1 -1
  231. package/funcs/pingPing.js +2 -0
  232. package/funcs/pingPing.js.map +1 -1
  233. package/funcs/receiptsCreate.js +2 -0
  234. package/funcs/receiptsCreate.js.map +1 -1
  235. package/funcs/receiptsList.js +2 -0
  236. package/funcs/receiptsList.js.map +1 -1
  237. package/funcs/representativesCreate.js +2 -0
  238. package/funcs/representativesCreate.js.map +1 -1
  239. package/funcs/representativesDelete.js +2 -0
  240. package/funcs/representativesDelete.js.map +1 -1
  241. package/funcs/representativesGet.js +2 -0
  242. package/funcs/representativesGet.js.map +1 -1
  243. package/funcs/representativesList.js +2 -0
  244. package/funcs/representativesList.js.map +1 -1
  245. package/funcs/representativesUpdate.js +2 -0
  246. package/funcs/representativesUpdate.js.map +1 -1
  247. package/funcs/schedulingCancel.js +2 -0
  248. package/funcs/schedulingCancel.js.map +1 -1
  249. package/funcs/schedulingCreate.js +2 -0
  250. package/funcs/schedulingCreate.js.map +1 -1
  251. package/funcs/schedulingGet.js +2 -0
  252. package/funcs/schedulingGet.js.map +1 -1
  253. package/funcs/schedulingGetOccurrance.js +2 -0
  254. package/funcs/schedulingGetOccurrance.js.map +1 -1
  255. package/funcs/schedulingList.js +2 -0
  256. package/funcs/schedulingList.js.map +1 -1
  257. package/funcs/schedulingUpdate.js +2 -0
  258. package/funcs/schedulingUpdate.js.map +1 -1
  259. package/funcs/sweepsCreateConfig.js +2 -0
  260. package/funcs/sweepsCreateConfig.js.map +1 -1
  261. package/funcs/sweepsGet.js +2 -0
  262. package/funcs/sweepsGet.js.map +1 -1
  263. package/funcs/sweepsGetConfig.js +2 -0
  264. package/funcs/sweepsGetConfig.js.map +1 -1
  265. package/funcs/sweepsList.js +2 -0
  266. package/funcs/sweepsList.js.map +1 -1
  267. package/funcs/sweepsListConfigs.js +2 -0
  268. package/funcs/sweepsListConfigs.js.map +1 -1
  269. package/funcs/sweepsUpdateConfig.js +2 -0
  270. package/funcs/sweepsUpdateConfig.js.map +1 -1
  271. package/funcs/terminalApplicationsCreate.js +2 -0
  272. package/funcs/terminalApplicationsCreate.js.map +1 -1
  273. package/funcs/terminalApplicationsDelete.js +2 -0
  274. package/funcs/terminalApplicationsDelete.js.map +1 -1
  275. package/funcs/terminalApplicationsGet.js +2 -0
  276. package/funcs/terminalApplicationsGet.js.map +1 -1
  277. package/funcs/terminalApplicationsList.js +2 -0
  278. package/funcs/terminalApplicationsList.js.map +1 -1
  279. package/funcs/transfersCreate.js +2 -0
  280. package/funcs/transfersCreate.js.map +1 -1
  281. package/funcs/transfersCreateCancellation.js +2 -0
  282. package/funcs/transfersCreateCancellation.js.map +1 -1
  283. package/funcs/transfersCreateReversal.js +2 -0
  284. package/funcs/transfersCreateReversal.js.map +1 -1
  285. package/funcs/transfersGenerateOptions.js +2 -0
  286. package/funcs/transfersGenerateOptions.js.map +1 -1
  287. package/funcs/transfersGet.js +2 -0
  288. package/funcs/transfersGet.js.map +1 -1
  289. package/funcs/transfersGetCancellation.js +2 -0
  290. package/funcs/transfersGetCancellation.js.map +1 -1
  291. package/funcs/transfersGetRefund.js +2 -0
  292. package/funcs/transfersGetRefund.js.map +1 -1
  293. package/funcs/transfersInitiateRefund.js +2 -0
  294. package/funcs/transfersInitiateRefund.js.map +1 -1
  295. package/funcs/transfersList.js +2 -0
  296. package/funcs/transfersList.js.map +1 -1
  297. package/funcs/transfersListRefunds.js +2 -0
  298. package/funcs/transfersListRefunds.js.map +1 -1
  299. package/funcs/transfersUpdate.js +2 -0
  300. package/funcs/transfersUpdate.js.map +1 -1
  301. package/funcs/underwritingGet.js +2 -0
  302. package/funcs/underwritingGet.js.map +1 -1
  303. package/funcs/underwritingUpsert.js +2 -0
  304. package/funcs/underwritingUpsert.js.map +1 -1
  305. package/funcs/walletTransactionsGet.js +2 -0
  306. package/funcs/walletTransactionsGet.js.map +1 -1
  307. package/funcs/walletTransactionsList.js +2 -0
  308. package/funcs/walletTransactionsList.js.map +1 -1
  309. package/funcs/walletsGet.js +2 -0
  310. package/funcs/walletsGet.js.map +1 -1
  311. package/funcs/walletsList.js +2 -0
  312. package/funcs/walletsList.js.map +1 -1
  313. package/hooks/types.d.ts +2 -0
  314. package/hooks/types.d.ts.map +1 -1
  315. package/index.d.ts +2 -0
  316. package/index.d.ts.map +1 -1
  317. package/index.js +3 -1
  318. package/index.js.map +1 -1
  319. package/jsr.json +1 -1
  320. package/lib/config.d.ts +7 -3
  321. package/lib/config.d.ts.map +1 -1
  322. package/lib/config.js +3 -3
  323. package/lib/config.js.map +1 -1
  324. package/lib/sdks.d.ts +1 -0
  325. package/lib/sdks.d.ts.map +1 -1
  326. package/lib/sdks.js +3 -3
  327. package/lib/sdks.js.map +1 -1
  328. package/mcp-server/cli/start/impl.js +4 -4
  329. package/mcp-server/cli/start/impl.js.map +1 -1
  330. package/mcp-server/mcp-server.js +1 -1
  331. package/mcp-server/server.d.ts.map +1 -1
  332. package/mcp-server/server.js +3 -1
  333. package/mcp-server/server.js.map +1 -1
  334. package/mcp-server/tools/industriesList.js +2 -2
  335. package/mcp-server/tools/institutionsSearchInstitutions.d.ts +8 -0
  336. package/mcp-server/tools/institutionsSearchInstitutions.d.ts.map +1 -0
  337. package/mcp-server/tools/institutionsSearchInstitutions.js +69 -0
  338. package/mcp-server/tools/institutionsSearchInstitutions.js.map +1 -0
  339. package/models/components/achinstitution.d.ts +40 -0
  340. package/models/components/achinstitution.d.ts.map +1 -0
  341. package/models/components/achinstitution.js +77 -0
  342. package/models/components/achinstitution.js.map +1 -0
  343. package/models/components/contact.d.ts +30 -0
  344. package/models/components/contact.d.ts.map +1 -0
  345. package/models/components/{enrichedindustry.js → contact.js} +20 -25
  346. package/models/components/contact.js.map +1 -0
  347. package/models/components/enrichedindustries.d.ts +3 -3
  348. package/models/components/enrichedindustries.js +3 -3
  349. package/models/components/index.d.ts +9 -1
  350. package/models/components/index.d.ts.map +1 -1
  351. package/models/components/index.js +9 -1
  352. package/models/components/index.js.map +1 -1
  353. package/models/components/industrytaxonomy.d.ts +55 -0
  354. package/models/components/industrytaxonomy.d.ts.map +1 -0
  355. package/models/components/industrytaxonomy.js +77 -0
  356. package/models/components/industrytaxonomy.js.map +1 -0
  357. package/models/components/institutionssearchresponse.d.ts +36 -0
  358. package/models/components/institutionssearchresponse.d.ts.map +1 -0
  359. package/models/components/institutionssearchresponse.js +76 -0
  360. package/models/components/institutionssearchresponse.js.map +1 -0
  361. package/models/components/rtpinstitution.d.ts +37 -0
  362. package/models/components/rtpinstitution.d.ts.map +1 -0
  363. package/models/components/rtpinstitution.js +74 -0
  364. package/models/components/rtpinstitution.js.map +1 -0
  365. package/models/components/rtpservices.d.ts +37 -0
  366. package/models/components/rtpservices.d.ts.map +1 -0
  367. package/models/components/rtpservices.js +71 -0
  368. package/models/components/rtpservices.js.map +1 -0
  369. package/models/components/sweep.d.ts +6 -0
  370. package/models/components/sweep.d.ts.map +1 -1
  371. package/models/components/sweep.js +3 -0
  372. package/models/components/sweep.js.map +1 -1
  373. package/models/components/sweepsubtotal.d.ts +44 -0
  374. package/models/components/sweepsubtotal.d.ts.map +1 -0
  375. package/models/components/sweepsubtotal.js +75 -0
  376. package/models/components/sweepsubtotal.js.map +1 -0
  377. package/models/components/wireinstitution.d.ts +40 -0
  378. package/models/components/wireinstitution.d.ts.map +1 -0
  379. package/models/components/wireinstitution.js +77 -0
  380. package/models/components/wireinstitution.js.map +1 -0
  381. package/models/components/wireservices.d.ts +42 -0
  382. package/models/components/wireservices.d.ts.map +1 -0
  383. package/models/components/wireservices.js +73 -0
  384. package/models/components/wireservices.js.map +1 -0
  385. package/models/errors/apierror.d.ts +14 -2
  386. package/models/errors/apierror.d.ts.map +1 -1
  387. package/models/errors/apierror.js +1 -1
  388. package/models/errors/apierror.js.map +1 -1
  389. package/models/operations/index.d.ts +1 -0
  390. package/models/operations/index.d.ts.map +1 -1
  391. package/models/operations/index.js +1 -0
  392. package/models/operations/index.js.map +1 -1
  393. package/models/operations/searchinstitutions.d.ts +112 -0
  394. package/models/operations/searchinstitutions.d.ts.map +1 -0
  395. package/models/operations/searchinstitutions.js +149 -0
  396. package/models/operations/searchinstitutions.js.map +1 -0
  397. package/package.json +2 -2
  398. package/sdk/industries.d.ts +2 -2
  399. package/sdk/industries.js +2 -2
  400. package/sdk/institutions.d.ts +11 -0
  401. package/sdk/institutions.d.ts.map +1 -1
  402. package/sdk/institutions.js +14 -0
  403. package/sdk/institutions.js.map +1 -1
  404. package/src/funcs/accountTerminalApplicationsGet.ts +2 -0
  405. package/src/funcs/accountTerminalApplicationsGetConfiguration.ts +2 -0
  406. package/src/funcs/accountTerminalApplicationsLink.ts +2 -0
  407. package/src/funcs/accountTerminalApplicationsList.ts +2 -0
  408. package/src/funcs/accountsAssignCountries.ts +2 -0
  409. package/src/funcs/accountsCreate.ts +2 -0
  410. package/src/funcs/accountsDisconnect.ts +2 -0
  411. package/src/funcs/accountsGet.ts +2 -0
  412. package/src/funcs/accountsGetCountries.ts +2 -0
  413. package/src/funcs/accountsGetMerchantProcessingAgreement.ts +2 -0
  414. package/src/funcs/accountsGetTermsOfServiceToken.ts +2 -0
  415. package/src/funcs/accountsList.ts +2 -0
  416. package/src/funcs/accountsUpdate.ts +2 -0
  417. package/src/funcs/adjustmentsGet.ts +2 -0
  418. package/src/funcs/adjustmentsList.ts +2 -0
  419. package/src/funcs/applePayCreateSession.ts +2 -0
  420. package/src/funcs/applePayGetMerchantDomains.ts +2 -0
  421. package/src/funcs/applePayLinkToken.ts +2 -0
  422. package/src/funcs/applePayRegisterMerchantDomains.ts +2 -0
  423. package/src/funcs/applePayUpdateMerchantDomains.ts +2 -0
  424. package/src/funcs/authenticationCreateAccessToken.ts +2 -0
  425. package/src/funcs/authenticationRevokeAccessToken.ts +2 -0
  426. package/src/funcs/avatarsGet.ts +2 -0
  427. package/src/funcs/bankAccountsCompleteMicroDeposits.ts +2 -0
  428. package/src/funcs/bankAccountsCompleteVerification.ts +2 -0
  429. package/src/funcs/bankAccountsDisable.ts +2 -0
  430. package/src/funcs/bankAccountsGet.ts +2 -0
  431. package/src/funcs/bankAccountsGetVerification.ts +2 -0
  432. package/src/funcs/bankAccountsInitiateMicroDeposits.ts +2 -0
  433. package/src/funcs/bankAccountsInitiateVerification.ts +2 -0
  434. package/src/funcs/bankAccountsLink.ts +2 -0
  435. package/src/funcs/bankAccountsList.ts +2 -0
  436. package/src/funcs/brandingCreate.ts +2 -0
  437. package/src/funcs/brandingGet.ts +2 -0
  438. package/src/funcs/brandingUpdate.ts +2 -0
  439. package/src/funcs/brandingUpsert.ts +2 -0
  440. package/src/funcs/capabilitiesDisable.ts +2 -0
  441. package/src/funcs/capabilitiesGet.ts +2 -0
  442. package/src/funcs/capabilitiesList.ts +2 -0
  443. package/src/funcs/capabilitiesRequest.ts +2 -0
  444. package/src/funcs/cardIssuingGet.ts +2 -0
  445. package/src/funcs/cardIssuingGetFull.ts +2 -0
  446. package/src/funcs/cardIssuingList.ts +2 -0
  447. package/src/funcs/cardIssuingRequest.ts +2 -0
  448. package/src/funcs/cardIssuingUpdate.ts +2 -0
  449. package/src/funcs/cardsDisable.ts +2 -0
  450. package/src/funcs/cardsGet.ts +2 -0
  451. package/src/funcs/cardsLink.ts +2 -0
  452. package/src/funcs/cardsList.ts +2 -0
  453. package/src/funcs/cardsUpdate.ts +2 -0
  454. package/src/funcs/disputesAccept.ts +2 -0
  455. package/src/funcs/disputesDeleteEvidence.ts +2 -0
  456. package/src/funcs/disputesGet.ts +2 -0
  457. package/src/funcs/disputesGetEvidence.ts +2 -0
  458. package/src/funcs/disputesGetEvidenceData.ts +2 -0
  459. package/src/funcs/disputesList.ts +2 -0
  460. package/src/funcs/disputesListEvidence.ts +2 -0
  461. package/src/funcs/disputesSubmitEvidence.ts +2 -0
  462. package/src/funcs/disputesUpdateEvidence.ts +2 -0
  463. package/src/funcs/disputesUploadEvidenceFile.ts +2 -0
  464. package/src/funcs/disputesUploadEvidenceText.ts +2 -0
  465. package/src/funcs/endToEndEncryptionGenerateKey.ts +2 -0
  466. package/src/funcs/endToEndEncryptionTestEncryptedToken.ts +2 -0
  467. package/src/funcs/enrichedAddressGet.ts +2 -0
  468. package/src/funcs/enrichedProfileGet.ts +2 -0
  469. package/src/funcs/feePlansCreateFeePlanAgreements.ts +2 -0
  470. package/src/funcs/feePlansListFeePlanAgreements.ts +2 -0
  471. package/src/funcs/feePlansListFeePlans.ts +2 -0
  472. package/src/funcs/feePlansListFeesFetch.ts +2 -0
  473. package/src/funcs/feePlansListPartnerPricing.ts +2 -0
  474. package/src/funcs/feePlansListPartnerPricingAgreements.ts +2 -0
  475. package/src/funcs/feePlansRetrieveFees.ts +2 -0
  476. package/src/funcs/filesGet.ts +2 -0
  477. package/src/funcs/filesList.ts +2 -0
  478. package/src/funcs/filesUpload.ts +2 -0
  479. package/src/funcs/industriesList.ts +4 -2
  480. package/src/funcs/institutionsSearch.ts +2 -0
  481. package/src/funcs/institutionsSearchInstitutions.ts +179 -0
  482. package/src/funcs/issuingTransactionsGet.ts +2 -0
  483. package/src/funcs/issuingTransactionsGetAuthorization.ts +2 -0
  484. package/src/funcs/issuingTransactionsList.ts +2 -0
  485. package/src/funcs/issuingTransactionsListAuthorizationEvents.ts +2 -0
  486. package/src/funcs/issuingTransactionsListAuthorizations.ts +2 -0
  487. package/src/funcs/onboardingCreateInvite.ts +2 -0
  488. package/src/funcs/onboardingGetInvite.ts +2 -0
  489. package/src/funcs/onboardingListInvites.ts +2 -0
  490. package/src/funcs/onboardingRevokeInvite.ts +2 -0
  491. package/src/funcs/paymentLinksCreate.ts +2 -0
  492. package/src/funcs/paymentLinksDisable.ts +2 -0
  493. package/src/funcs/paymentLinksGet.ts +2 -0
  494. package/src/funcs/paymentLinksGetQRCode.ts +2 -0
  495. package/src/funcs/paymentLinksList.ts +2 -0
  496. package/src/funcs/paymentLinksUpdate.ts +2 -0
  497. package/src/funcs/paymentMethodsGet.ts +2 -0
  498. package/src/funcs/paymentMethodsList.ts +2 -0
  499. package/src/funcs/pingPing.ts +2 -0
  500. package/src/funcs/receiptsCreate.ts +2 -0
  501. package/src/funcs/receiptsList.ts +2 -0
  502. package/src/funcs/representativesCreate.ts +2 -0
  503. package/src/funcs/representativesDelete.ts +2 -0
  504. package/src/funcs/representativesGet.ts +2 -0
  505. package/src/funcs/representativesList.ts +2 -0
  506. package/src/funcs/representativesUpdate.ts +2 -0
  507. package/src/funcs/schedulingCancel.ts +2 -0
  508. package/src/funcs/schedulingCreate.ts +2 -0
  509. package/src/funcs/schedulingGet.ts +2 -0
  510. package/src/funcs/schedulingGetOccurrance.ts +2 -0
  511. package/src/funcs/schedulingList.ts +2 -0
  512. package/src/funcs/schedulingUpdate.ts +2 -0
  513. package/src/funcs/sweepsCreateConfig.ts +2 -0
  514. package/src/funcs/sweepsGet.ts +2 -0
  515. package/src/funcs/sweepsGetConfig.ts +2 -0
  516. package/src/funcs/sweepsList.ts +2 -0
  517. package/src/funcs/sweepsListConfigs.ts +2 -0
  518. package/src/funcs/sweepsUpdateConfig.ts +2 -0
  519. package/src/funcs/terminalApplicationsCreate.ts +2 -0
  520. package/src/funcs/terminalApplicationsDelete.ts +2 -0
  521. package/src/funcs/terminalApplicationsGet.ts +2 -0
  522. package/src/funcs/terminalApplicationsList.ts +2 -0
  523. package/src/funcs/transfersCreate.ts +2 -0
  524. package/src/funcs/transfersCreateCancellation.ts +2 -0
  525. package/src/funcs/transfersCreateReversal.ts +2 -0
  526. package/src/funcs/transfersGenerateOptions.ts +2 -0
  527. package/src/funcs/transfersGet.ts +2 -0
  528. package/src/funcs/transfersGetCancellation.ts +2 -0
  529. package/src/funcs/transfersGetRefund.ts +2 -0
  530. package/src/funcs/transfersInitiateRefund.ts +2 -0
  531. package/src/funcs/transfersList.ts +2 -0
  532. package/src/funcs/transfersListRefunds.ts +2 -0
  533. package/src/funcs/transfersUpdate.ts +2 -0
  534. package/src/funcs/underwritingGet.ts +2 -0
  535. package/src/funcs/underwritingUpsert.ts +2 -0
  536. package/src/funcs/walletTransactionsGet.ts +2 -0
  537. package/src/funcs/walletTransactionsList.ts +2 -0
  538. package/src/funcs/walletsGet.ts +2 -0
  539. package/src/funcs/walletsList.ts +2 -0
  540. package/src/hooks/types.ts +2 -0
  541. package/src/index.ts +2 -0
  542. package/src/lib/config.ts +7 -3
  543. package/src/lib/sdks.ts +10 -4
  544. package/src/mcp-server/cli/start/impl.ts +4 -4
  545. package/src/mcp-server/mcp-server.ts +1 -1
  546. package/src/mcp-server/server.ts +3 -1
  547. package/src/mcp-server/tools/industriesList.ts +2 -2
  548. package/src/mcp-server/tools/institutionsSearchInstitutions.ts +43 -0
  549. package/src/models/components/achinstitution.ts +89 -0
  550. package/src/models/components/contact.ts +65 -0
  551. package/src/models/components/enrichedindustries.ts +9 -9
  552. package/src/models/components/index.ts +9 -1
  553. package/src/models/components/industrytaxonomy.ts +100 -0
  554. package/src/models/components/institutionssearchresponse.ts +92 -0
  555. package/src/models/components/rtpinstitution.ts +79 -0
  556. package/src/models/components/rtpservices.ts +72 -0
  557. package/src/models/components/sweep.ts +13 -0
  558. package/src/models/components/sweepsubtotal.ts +90 -0
  559. package/src/models/components/wireinstitution.ts +91 -0
  560. package/src/models/components/wireservices.ts +79 -0
  561. package/src/models/errors/apierror.ts +18 -3
  562. package/src/models/operations/index.ts +1 -0
  563. package/src/models/operations/searchinstitutions.ts +236 -0
  564. package/src/sdk/industries.ts +2 -2
  565. package/src/sdk/institutions.ts +22 -0
  566. package/test/README.md +2 -0
  567. package/test/index.ts +1 -0
  568. package/test/package.json +25 -0
  569. package/test/setup.ts +119 -0
  570. package/test/tests/accounts.test.ts +127 -0
  571. package/test/tests/bankAccounts.test.ts +171 -0
  572. package/test/tests/capabilities.test.ts +147 -0
  573. package/test/tests/cards.test.ts +168 -0
  574. package/test/tests/paymentMethods.test.ts +55 -0
  575. package/test/tests/representatives.test.ts +83 -0
  576. package/test/tests/transfers.test.ts +122 -0
  577. package/test/tests/wallets.test.ts +31 -0
  578. package/test/tsconfig.json +30 -0
  579. package/test/utils/utils.ts +276 -0
  580. package/models/components/enrichedindustry.d.ts +0 -47
  581. package/models/components/enrichedindustry.d.ts.map +0 -1
  582. package/models/components/enrichedindustry.js.map +0 -1
  583. package/src/models/components/enrichedindustry.ts +0 -90
@@ -94,6 +94,7 @@ to specify the `/accounts.write` scope.
94
94
  import { Moov } from "@moovio/sdk";
95
95
 
96
96
  const moov = new Moov({
97
+ xMoovVersion: "v2024.01.00",
97
98
  security: {
98
99
  username: "",
99
100
  password: "",
@@ -104,94 +105,12 @@ async function run() {
104
105
  const result = await moov.accounts.create({
105
106
  accountType: "business",
106
107
  profile: {
107
- individual: {
108
- name: {
109
- firstName: "Jordan",
110
- middleName: "Reese",
111
- lastName: "Lee",
112
- suffix: "Jr",
113
- },
114
- phone: {
115
- number: "8185551212",
116
- countryCode: "1",
117
- },
118
- email: "jordan.lee@classbooker.dev",
119
- address: {
120
- addressLine1: "123 Main Street",
121
- addressLine2: "Apt 302",
122
- city: "Boulder",
123
- stateOrProvince: "CO",
124
- postalCode: "80301",
125
- country: "US",
126
- },
127
- birthDate: {
128
- day: 9,
129
- month: 11,
130
- year: 1989,
131
- },
132
- },
133
108
  business: {
134
- legalBusinessName: "Classbooker, LLC",
135
- businessType: "llc",
136
- address: {
137
- addressLine1: "123 Main Street",
138
- addressLine2: "Apt 302",
139
- city: "Boulder",
140
- stateOrProvince: "CO",
141
- postalCode: "80301",
142
- country: "US",
143
- },
144
- phone: {
145
- number: "8185551212",
146
- countryCode: "1",
147
- },
148
- email: "jordan.lee@classbooker.dev",
149
- description: "Local fitness gym paying out instructors",
150
- taxID: {
151
- ein: {
152
- number: "12-3456789",
153
- },
154
- },
155
- industryCodes: {
156
- naics: "713940",
157
- sic: "7991",
158
- mcc: "7997",
159
- },
160
- },
161
- },
162
- metadata: {
163
- "optional": "metadata",
164
- },
165
- termsOfService: {
166
- token: "kgT1uxoMAk7QKuyJcmQE8nqW_HjpyuXBabiXPi6T83fUQoxsyWYPcYzuHQTqrt7YRp4gCwyDQvb6U5REM9Pgl2EloCe35t-eiMAbUWGo3Kerxme6aqNcKrP_6-v0MTXViOEJ96IBxPFTvMV7EROI2dq3u4e-x4BbGSCedAX-ViAQND6hcreCDXwrO6sHuzh5Xi2IzSqZHxaovnWEboaxuZKRJkA3dsFID6fzitMpm2qrOh4",
167
- },
168
- customerSupport: {
169
- phone: {
170
- number: "8185551212",
171
- countryCode: "1",
172
- },
173
- email: "jordan.lee@classbooker.dev",
174
- address: {
175
- addressLine1: "123 Main Street",
176
- addressLine2: "Apt 302",
177
- city: "Boulder",
178
- stateOrProvince: "CO",
179
- postalCode: "80301",
180
- country: "US",
109
+ legalBusinessName: "Whole Body Fitness LLC",
181
110
  },
182
111
  },
183
- settings: {
184
- cardPayment: {
185
- statementDescriptor: "Whole Body Fitness",
186
- },
187
- achPayment: {
188
- companyName: "WholeBodyFitness",
189
- },
190
- },
191
- mode: "production",
192
112
  });
193
113
 
194
- // Handle the result
195
114
  console.log(result);
196
115
  }
197
116
 
@@ -209,6 +128,7 @@ import { accountsCreate } from "@moovio/sdk/funcs/accountsCreate.js";
209
128
  // Use `MoovCore` for best tree-shaking performance.
210
129
  // You can create one instance of it to use across an application.
211
130
  const moov = new MoovCore({
131
+ xMoovVersion: "v2024.01.00",
212
132
  security: {
213
133
  username: "",
214
134
  password: "",
@@ -219,101 +139,17 @@ async function run() {
219
139
  const res = await accountsCreate(moov, {
220
140
  accountType: "business",
221
141
  profile: {
222
- individual: {
223
- name: {
224
- firstName: "Jordan",
225
- middleName: "Reese",
226
- lastName: "Lee",
227
- suffix: "Jr",
228
- },
229
- phone: {
230
- number: "8185551212",
231
- countryCode: "1",
232
- },
233
- email: "jordan.lee@classbooker.dev",
234
- address: {
235
- addressLine1: "123 Main Street",
236
- addressLine2: "Apt 302",
237
- city: "Boulder",
238
- stateOrProvince: "CO",
239
- postalCode: "80301",
240
- country: "US",
241
- },
242
- birthDate: {
243
- day: 9,
244
- month: 11,
245
- year: 1989,
246
- },
247
- },
248
142
  business: {
249
- legalBusinessName: "Classbooker, LLC",
250
- businessType: "llc",
251
- address: {
252
- addressLine1: "123 Main Street",
253
- addressLine2: "Apt 302",
254
- city: "Boulder",
255
- stateOrProvince: "CO",
256
- postalCode: "80301",
257
- country: "US",
258
- },
259
- phone: {
260
- number: "8185551212",
261
- countryCode: "1",
262
- },
263
- email: "jordan.lee@classbooker.dev",
264
- description: "Local fitness gym paying out instructors",
265
- taxID: {
266
- ein: {
267
- number: "12-3456789",
268
- },
269
- },
270
- industryCodes: {
271
- naics: "713940",
272
- sic: "7991",
273
- mcc: "7997",
274
- },
143
+ legalBusinessName: "Whole Body Fitness LLC",
275
144
  },
276
145
  },
277
- metadata: {
278
- "optional": "metadata",
279
- },
280
- termsOfService: {
281
- token: "kgT1uxoMAk7QKuyJcmQE8nqW_HjpyuXBabiXPi6T83fUQoxsyWYPcYzuHQTqrt7YRp4gCwyDQvb6U5REM9Pgl2EloCe35t-eiMAbUWGo3Kerxme6aqNcKrP_6-v0MTXViOEJ96IBxPFTvMV7EROI2dq3u4e-x4BbGSCedAX-ViAQND6hcreCDXwrO6sHuzh5Xi2IzSqZHxaovnWEboaxuZKRJkA3dsFID6fzitMpm2qrOh4",
282
- },
283
- customerSupport: {
284
- phone: {
285
- number: "8185551212",
286
- countryCode: "1",
287
- },
288
- email: "jordan.lee@classbooker.dev",
289
- address: {
290
- addressLine1: "123 Main Street",
291
- addressLine2: "Apt 302",
292
- city: "Boulder",
293
- stateOrProvince: "CO",
294
- postalCode: "80301",
295
- country: "US",
296
- },
297
- },
298
- settings: {
299
- cardPayment: {
300
- statementDescriptor: "Whole Body Fitness",
301
- },
302
- achPayment: {
303
- companyName: "WholeBodyFitness",
304
- },
305
- },
306
- mode: "production",
307
146
  });
308
-
309
- if (!res.ok) {
310
- throw res.error;
147
+ if (res.ok) {
148
+ const { value: result } = res;
149
+ console.log(result);
150
+ } else {
151
+ console.log("accountsCreate failed:", res.error);
311
152
  }
312
-
313
- const { value: result } = res;
314
-
315
- // Handle the result
316
- console.log(result);
317
153
  }
318
154
 
319
155
  run();
@@ -357,6 +193,7 @@ to specify the `/accounts.read` scope.
357
193
  import { Moov } from "@moovio/sdk";
358
194
 
359
195
  const moov = new Moov({
196
+ xMoovVersion: "v2024.01.00",
360
197
  security: {
361
198
  username: "",
362
199
  password: "",
@@ -370,7 +207,6 @@ async function run() {
370
207
  count: 20,
371
208
  });
372
209
 
373
- // Handle the result
374
210
  console.log(result);
375
211
  }
376
212
 
@@ -388,6 +224,7 @@ import { accountsList } from "@moovio/sdk/funcs/accountsList.js";
388
224
  // Use `MoovCore` for best tree-shaking performance.
389
225
  // You can create one instance of it to use across an application.
390
226
  const moov = new MoovCore({
227
+ xMoovVersion: "v2024.01.00",
391
228
  security: {
392
229
  username: "",
393
230
  password: "",
@@ -400,15 +237,12 @@ async function run() {
400
237
  skip: 60,
401
238
  count: 20,
402
239
  });
403
-
404
- if (!res.ok) {
405
- throw res.error;
240
+ if (res.ok) {
241
+ const { value: result } = res;
242
+ console.log(result);
243
+ } else {
244
+ console.log("accountsList failed:", res.error);
406
245
  }
407
-
408
- const { value: result } = res;
409
-
410
- // Handle the result
411
- console.log(result);
412
246
  }
413
247
 
414
248
  run();
@@ -446,6 +280,7 @@ to specify the `/accounts/{accountID}/profile.read` scope.
446
280
  import { Moov } from "@moovio/sdk";
447
281
 
448
282
  const moov = new Moov({
283
+ xMoovVersion: "v2024.01.00",
449
284
  security: {
450
285
  username: "",
451
286
  password: "",
@@ -454,10 +289,9 @@ const moov = new Moov({
454
289
 
455
290
  async function run() {
456
291
  const result = await moov.accounts.get({
457
- accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
292
+ accountID: "2f93a6cf-3b3b-4c17-8d3b-110dfadccea4",
458
293
  });
459
294
 
460
- // Handle the result
461
295
  console.log(result);
462
296
  }
463
297
 
@@ -475,6 +309,7 @@ import { accountsGet } from "@moovio/sdk/funcs/accountsGet.js";
475
309
  // Use `MoovCore` for best tree-shaking performance.
476
310
  // You can create one instance of it to use across an application.
477
311
  const moov = new MoovCore({
312
+ xMoovVersion: "v2024.01.00",
478
313
  security: {
479
314
  username: "",
480
315
  password: "",
@@ -483,17 +318,14 @@ const moov = new MoovCore({
483
318
 
484
319
  async function run() {
485
320
  const res = await accountsGet(moov, {
486
- accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
321
+ accountID: "2f93a6cf-3b3b-4c17-8d3b-110dfadccea4",
487
322
  });
488
-
489
- if (!res.ok) {
490
- throw res.error;
323
+ if (res.ok) {
324
+ const { value: result } = res;
325
+ console.log(result);
326
+ } else {
327
+ console.log("accountsGet failed:", res.error);
491
328
  }
492
-
493
- const { value: result } = res;
494
-
495
- // Handle the result
496
- console.log(result);
497
329
  }
498
330
 
499
331
  run();
@@ -539,6 +371,7 @@ to specify the `/accounts/{accountID}/profile.write` scope.
539
371
  import { Moov } from "@moovio/sdk";
540
372
 
541
373
  const moov = new Moov({
374
+ xMoovVersion: "v2024.01.00",
542
375
  security: {
543
376
  username: "",
544
377
  password: "",
@@ -547,7 +380,7 @@ const moov = new Moov({
547
380
 
548
381
  async function run() {
549
382
  const result = await moov.accounts.update({
550
- accountID: "95fa7f0e-7432-4ce4-a7cb-60cc78135dde",
383
+ accountID: "433cb9d1-5943-4fd5-91b4-2aef5b30e2e7",
551
384
  patchAccount: {
552
385
  profile: {
553
386
  individual: {
@@ -607,8 +440,7 @@ async function run() {
607
440
  "optional": "metadata",
608
441
  },
609
442
  termsOfService: {
610
- acceptedIP: "172.217.2.46",
611
- acceptedUserAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
443
+ token: "kgT1uxoMAk7QKuyJcmQE8nqW_HjpyuXBabiXPi6T83fUQoxsyWYPcYzuHQTqrt7YRp4gCwyDQvb6U5REM9Pgl2EloCe35t-eiMAbUWGo3Kerxme6aqNcKrP_6-v0MTXViOEJ96IBxPFTvMV7EROI2dq3u4e-x4BbGSCedAX-ViAQND6hcreCDXwrO6sHuzh5Xi2IzSqZHxaovnWEboaxuZKRJkA3dsFID6fzitMpm2qrOh4",
612
444
  },
613
445
  customerSupport: {
614
446
  phone: {
@@ -628,7 +460,6 @@ async function run() {
628
460
  },
629
461
  });
630
462
 
631
- // Handle the result
632
463
  console.log(result);
633
464
  }
634
465
 
@@ -646,6 +477,7 @@ import { accountsUpdate } from "@moovio/sdk/funcs/accountsUpdate.js";
646
477
  // Use `MoovCore` for best tree-shaking performance.
647
478
  // You can create one instance of it to use across an application.
648
479
  const moov = new MoovCore({
480
+ xMoovVersion: "v2024.01.00",
649
481
  security: {
650
482
  username: "",
651
483
  password: "",
@@ -654,7 +486,7 @@ const moov = new MoovCore({
654
486
 
655
487
  async function run() {
656
488
  const res = await accountsUpdate(moov, {
657
- accountID: "95fa7f0e-7432-4ce4-a7cb-60cc78135dde",
489
+ accountID: "433cb9d1-5943-4fd5-91b4-2aef5b30e2e7",
658
490
  patchAccount: {
659
491
  profile: {
660
492
  individual: {
@@ -714,8 +546,7 @@ async function run() {
714
546
  "optional": "metadata",
715
547
  },
716
548
  termsOfService: {
717
- acceptedIP: "172.217.2.46",
718
- acceptedUserAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
549
+ token: "kgT1uxoMAk7QKuyJcmQE8nqW_HjpyuXBabiXPi6T83fUQoxsyWYPcYzuHQTqrt7YRp4gCwyDQvb6U5REM9Pgl2EloCe35t-eiMAbUWGo3Kerxme6aqNcKrP_6-v0MTXViOEJ96IBxPFTvMV7EROI2dq3u4e-x4BbGSCedAX-ViAQND6hcreCDXwrO6sHuzh5Xi2IzSqZHxaovnWEboaxuZKRJkA3dsFID6fzitMpm2qrOh4",
719
550
  },
720
551
  customerSupport: {
721
552
  phone: {
@@ -734,15 +565,12 @@ async function run() {
734
565
  },
735
566
  },
736
567
  });
737
-
738
- if (!res.ok) {
739
- throw res.error;
568
+ if (res.ok) {
569
+ const { value: result } = res;
570
+ console.log(result);
571
+ } else {
572
+ console.log("accountsUpdate failed:", res.error);
740
573
  }
741
-
742
- const { value: result } = res;
743
-
744
- // Handle the result
745
- console.log(result);
746
574
  }
747
575
 
748
576
  run();
@@ -784,6 +612,7 @@ you'll need to specify the `/accounts/{accountID}/profile.disconnect` scope.
784
612
  import { Moov } from "@moovio/sdk";
785
613
 
786
614
  const moov = new Moov({
615
+ xMoovVersion: "v2024.01.00",
787
616
  security: {
788
617
  username: "",
789
618
  password: "",
@@ -792,10 +621,9 @@ const moov = new Moov({
792
621
 
793
622
  async function run() {
794
623
  const result = await moov.accounts.disconnect({
795
- accountID: "ac3cbe09-fcd4-4c5e-ada2-89eaaa9c149e",
624
+ accountID: "cfdfea7d-f185-4de5-ba90-b09f14fe6683",
796
625
  });
797
626
 
798
- // Handle the result
799
627
  console.log(result);
800
628
  }
801
629
 
@@ -813,6 +641,7 @@ import { accountsDisconnect } from "@moovio/sdk/funcs/accountsDisconnect.js";
813
641
  // Use `MoovCore` for best tree-shaking performance.
814
642
  // You can create one instance of it to use across an application.
815
643
  const moov = new MoovCore({
644
+ xMoovVersion: "v2024.01.00",
816
645
  security: {
817
646
  username: "",
818
647
  password: "",
@@ -821,17 +650,14 @@ const moov = new MoovCore({
821
650
 
822
651
  async function run() {
823
652
  const res = await accountsDisconnect(moov, {
824
- accountID: "ac3cbe09-fcd4-4c5e-ada2-89eaaa9c149e",
653
+ accountID: "cfdfea7d-f185-4de5-ba90-b09f14fe6683",
825
654
  });
826
-
827
- if (!res.ok) {
828
- throw res.error;
655
+ if (res.ok) {
656
+ const { value: result } = res;
657
+ console.log(result);
658
+ } else {
659
+ console.log("accountsDisconnect failed:", res.error);
829
660
  }
830
-
831
- const { value: result } = res;
832
-
833
- // Handle the result
834
- console.log(result);
835
661
  }
836
662
 
837
663
  run();
@@ -870,6 +696,7 @@ you'll need to specify the `/accounts/{accountID}/profile.read` scope.
870
696
  import { Moov } from "@moovio/sdk";
871
697
 
872
698
  const moov = new Moov({
699
+ xMoovVersion: "v2024.01.00",
873
700
  security: {
874
701
  username: "",
875
702
  password: "",
@@ -878,10 +705,9 @@ const moov = new Moov({
878
705
 
879
706
  async function run() {
880
707
  const result = await moov.accounts.getCountries({
881
- accountID: "b49c57bf-7b36-4308-8206-c1f5ce8067ac",
708
+ accountID: "a2026036-cc26-42c1-beef-950662d13b5d",
882
709
  });
883
710
 
884
- // Handle the result
885
711
  console.log(result);
886
712
  }
887
713
 
@@ -899,6 +725,7 @@ import { accountsGetCountries } from "@moovio/sdk/funcs/accountsGetCountries.js"
899
725
  // Use `MoovCore` for best tree-shaking performance.
900
726
  // You can create one instance of it to use across an application.
901
727
  const moov = new MoovCore({
728
+ xMoovVersion: "v2024.01.00",
902
729
  security: {
903
730
  username: "",
904
731
  password: "",
@@ -907,17 +734,14 @@ const moov = new MoovCore({
907
734
 
908
735
  async function run() {
909
736
  const res = await accountsGetCountries(moov, {
910
- accountID: "b49c57bf-7b36-4308-8206-c1f5ce8067ac",
737
+ accountID: "a2026036-cc26-42c1-beef-950662d13b5d",
911
738
  });
912
-
913
- if (!res.ok) {
914
- throw res.error;
739
+ if (res.ok) {
740
+ const { value: result } = res;
741
+ console.log(result);
742
+ } else {
743
+ console.log("accountsGetCountries failed:", res.error);
915
744
  }
916
-
917
- const { value: result } = res;
918
-
919
- // Handle the result
920
- console.log(result);
921
745
  }
922
746
 
923
747
  run();
@@ -957,6 +781,7 @@ you'll need to specify the `/accounts/{accountID}/profile.write` scope.
957
781
  import { Moov } from "@moovio/sdk";
958
782
 
959
783
  const moov = new Moov({
784
+ xMoovVersion: "v2024.01.00",
960
785
  security: {
961
786
  username: "",
962
787
  password: "",
@@ -965,7 +790,7 @@ const moov = new Moov({
965
790
 
966
791
  async function run() {
967
792
  const result = await moov.accounts.assignCountries({
968
- accountID: "aa2dc19b-77dd-481f-a0a8-c76f2cfc1372",
793
+ accountID: "46736fa8-4bf7-4144-8e0e-dbea1eb0805b",
969
794
  accountCountries: {
970
795
  countries: [
971
796
  "United States",
@@ -973,7 +798,6 @@ async function run() {
973
798
  },
974
799
  });
975
800
 
976
- // Handle the result
977
801
  console.log(result);
978
802
  }
979
803
 
@@ -991,6 +815,7 @@ import { accountsAssignCountries } from "@moovio/sdk/funcs/accountsAssignCountri
991
815
  // Use `MoovCore` for best tree-shaking performance.
992
816
  // You can create one instance of it to use across an application.
993
817
  const moov = new MoovCore({
818
+ xMoovVersion: "v2024.01.00",
994
819
  security: {
995
820
  username: "",
996
821
  password: "",
@@ -999,22 +824,19 @@ const moov = new MoovCore({
999
824
 
1000
825
  async function run() {
1001
826
  const res = await accountsAssignCountries(moov, {
1002
- accountID: "aa2dc19b-77dd-481f-a0a8-c76f2cfc1372",
827
+ accountID: "46736fa8-4bf7-4144-8e0e-dbea1eb0805b",
1003
828
  accountCountries: {
1004
829
  countries: [
1005
830
  "United States",
1006
831
  ],
1007
832
  },
1008
833
  });
1009
-
1010
- if (!res.ok) {
1011
- throw res.error;
834
+ if (res.ok) {
835
+ const { value: result } = res;
836
+ console.log(result);
837
+ } else {
838
+ console.log("accountsAssignCountries failed:", res.error);
1012
839
  }
1013
-
1014
- const { value: result } = res;
1015
-
1016
- // Handle the result
1017
- console.log(result);
1018
840
  }
1019
841
 
1020
842
  run();
@@ -1054,6 +876,7 @@ you'll need to specify the `/accounts/{accountID}/profile.read` scope.
1054
876
  import { Moov } from "@moovio/sdk";
1055
877
 
1056
878
  const moov = new Moov({
879
+ xMoovVersion: "v2024.01.00",
1057
880
  security: {
1058
881
  username: "",
1059
882
  password: "",
@@ -1062,10 +885,9 @@ const moov = new Moov({
1062
885
 
1063
886
  async function run() {
1064
887
  const result = await moov.accounts.getMerchantProcessingAgreement({
1065
- accountID: "d2cfd0d3-6efb-4bc4-a193-53f35dd0d912",
888
+ accountID: "6180d9b9-2377-4190-8530-70a99d31a578",
1066
889
  });
1067
890
 
1068
- // Handle the result
1069
891
  console.log(result);
1070
892
  }
1071
893
 
@@ -1083,6 +905,7 @@ import { accountsGetMerchantProcessingAgreement } from "@moovio/sdk/funcs/accoun
1083
905
  // Use `MoovCore` for best tree-shaking performance.
1084
906
  // You can create one instance of it to use across an application.
1085
907
  const moov = new MoovCore({
908
+ xMoovVersion: "v2024.01.00",
1086
909
  security: {
1087
910
  username: "",
1088
911
  password: "",
@@ -1091,17 +914,14 @@ const moov = new MoovCore({
1091
914
 
1092
915
  async function run() {
1093
916
  const res = await accountsGetMerchantProcessingAgreement(moov, {
1094
- accountID: "d2cfd0d3-6efb-4bc4-a193-53f35dd0d912",
917
+ accountID: "6180d9b9-2377-4190-8530-70a99d31a578",
1095
918
  });
1096
-
1097
- if (!res.ok) {
1098
- throw res.error;
919
+ if (res.ok) {
920
+ const { value: result } = res;
921
+ console.log(result);
922
+ } else {
923
+ console.log("accountsGetMerchantProcessingAgreement failed:", res.error);
1099
924
  }
1100
-
1101
- const { value: result } = res;
1102
-
1103
- // Handle the result
1104
- console.log(result);
1105
925
  }
1106
926
 
1107
927
  run();
@@ -1140,6 +960,7 @@ token patched to the account. Read more in our [documentation](https://docs.moov
1140
960
  import { Moov } from "@moovio/sdk";
1141
961
 
1142
962
  const moov = new Moov({
963
+ xMoovVersion: "v2024.01.00",
1143
964
  security: {
1144
965
  username: "",
1145
966
  password: "",
@@ -1149,7 +970,6 @@ const moov = new Moov({
1149
970
  async function run() {
1150
971
  const result = await moov.accounts.getTermsOfServiceToken({});
1151
972
 
1152
- // Handle the result
1153
973
  console.log(result);
1154
974
  }
1155
975
 
@@ -1167,6 +987,7 @@ import { accountsGetTermsOfServiceToken } from "@moovio/sdk/funcs/accountsGetTer
1167
987
  // Use `MoovCore` for best tree-shaking performance.
1168
988
  // You can create one instance of it to use across an application.
1169
989
  const moov = new MoovCore({
990
+ xMoovVersion: "v2024.01.00",
1170
991
  security: {
1171
992
  username: "",
1172
993
  password: "",
@@ -1175,15 +996,12 @@ const moov = new MoovCore({
1175
996
 
1176
997
  async function run() {
1177
998
  const res = await accountsGetTermsOfServiceToken(moov, {});
1178
-
1179
- if (!res.ok) {
1180
- throw res.error;
999
+ if (res.ok) {
1000
+ const { value: result } = res;
1001
+ console.log(result);
1002
+ } else {
1003
+ console.log("accountsGetTermsOfServiceToken failed:", res.error);
1181
1004
  }
1182
-
1183
- const { value: result } = res;
1184
-
1185
- // Handle the result
1186
- console.log(result);
1187
1005
  }
1188
1006
 
1189
1007
  run();