@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.
- package/FUNCTIONS.md +7 -104
- package/README.md +110 -560
- package/bin/mcp-server.js +2663 -1992
- package/bin/mcp-server.js.map +172 -152
- package/docs/sdks/accounts/README.md +79 -261
- package/docs/sdks/accountterminalapplications/README.md +28 -36
- package/docs/sdks/adjustments/README.md +20 -24
- package/docs/sdks/applepay/README.md +47 -57
- package/docs/sdks/authentication/README.md +14 -18
- package/docs/sdks/avatars/README.md +7 -9
- package/docs/sdks/bankaccounts/README.md +99 -117
- package/docs/sdks/branding/README.md +36 -44
- package/docs/sdks/capabilities/README.md +38 -46
- package/docs/sdks/cardissuing/README.md +57 -83
- package/docs/sdks/cards/README.md +45 -85
- package/docs/sdks/disputes/README.md +131 -153
- package/docs/sdks/endtoendencryption/README.md +14 -18
- package/docs/sdks/enrichedaddress/README.md +7 -9
- package/docs/sdks/enrichedprofile/README.md +9 -11
- package/docs/sdks/feeplans/README.md +65 -79
- package/docs/sdks/files/README.md +29 -35
- package/docs/sdks/industries/README.md +11 -13
- package/docs/sdks/institutions/README.md +98 -9
- package/docs/sdks/issuingtransactions/README.md +51 -61
- package/docs/sdks/onboarding/README.md +30 -206
- package/docs/sdks/paymentlinks/README.md +58 -128
- package/docs/sdks/paymentmethods/README.md +20 -24
- package/docs/sdks/ping/README.md +7 -9
- package/docs/sdks/receipts/README.md +19 -33
- package/docs/sdks/representatives/README.md +53 -71
- package/docs/sdks/scheduling/README.md +76 -88
- package/docs/sdks/sweeps/README.md +64 -76
- package/docs/sdks/terminalapplications/README.md +28 -36
- package/docs/sdks/transfers/README.md +127 -195
- package/docs/sdks/underwriting/README.md +44 -48
- package/docs/sdks/wallets/README.md +20 -24
- package/docs/sdks/wallettransactions/README.md +24 -28
- package/funcs/accountTerminalApplicationsGet.js +2 -0
- package/funcs/accountTerminalApplicationsGet.js.map +1 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.js +2 -0
- package/funcs/accountTerminalApplicationsGetConfiguration.js.map +1 -1
- package/funcs/accountTerminalApplicationsLink.js +2 -0
- package/funcs/accountTerminalApplicationsLink.js.map +1 -1
- package/funcs/accountTerminalApplicationsList.js +2 -0
- package/funcs/accountTerminalApplicationsList.js.map +1 -1
- package/funcs/accountsAssignCountries.js +2 -0
- package/funcs/accountsAssignCountries.js.map +1 -1
- package/funcs/accountsCreate.js +2 -0
- package/funcs/accountsCreate.js.map +1 -1
- package/funcs/accountsDisconnect.js +2 -0
- package/funcs/accountsDisconnect.js.map +1 -1
- package/funcs/accountsGet.js +2 -0
- package/funcs/accountsGet.js.map +1 -1
- package/funcs/accountsGetCountries.js +2 -0
- package/funcs/accountsGetCountries.js.map +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.js +2 -0
- package/funcs/accountsGetMerchantProcessingAgreement.js.map +1 -1
- package/funcs/accountsGetTermsOfServiceToken.js +2 -0
- package/funcs/accountsGetTermsOfServiceToken.js.map +1 -1
- package/funcs/accountsList.js +2 -0
- package/funcs/accountsList.js.map +1 -1
- package/funcs/accountsUpdate.js +2 -0
- package/funcs/accountsUpdate.js.map +1 -1
- package/funcs/adjustmentsGet.js +2 -0
- package/funcs/adjustmentsGet.js.map +1 -1
- package/funcs/adjustmentsList.js +2 -0
- package/funcs/adjustmentsList.js.map +1 -1
- package/funcs/applePayCreateSession.js +2 -0
- package/funcs/applePayCreateSession.js.map +1 -1
- package/funcs/applePayGetMerchantDomains.js +2 -0
- package/funcs/applePayGetMerchantDomains.js.map +1 -1
- package/funcs/applePayLinkToken.js +2 -0
- package/funcs/applePayLinkToken.js.map +1 -1
- package/funcs/applePayRegisterMerchantDomains.js +2 -0
- package/funcs/applePayRegisterMerchantDomains.js.map +1 -1
- package/funcs/applePayUpdateMerchantDomains.js +2 -0
- package/funcs/applePayUpdateMerchantDomains.js.map +1 -1
- package/funcs/authenticationCreateAccessToken.js +2 -0
- package/funcs/authenticationCreateAccessToken.js.map +1 -1
- package/funcs/authenticationRevokeAccessToken.js +2 -0
- package/funcs/authenticationRevokeAccessToken.js.map +1 -1
- package/funcs/avatarsGet.js +2 -0
- package/funcs/avatarsGet.js.map +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.js +2 -0
- package/funcs/bankAccountsCompleteMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsCompleteVerification.js +2 -0
- package/funcs/bankAccountsCompleteVerification.js.map +1 -1
- package/funcs/bankAccountsDisable.js +2 -0
- package/funcs/bankAccountsDisable.js.map +1 -1
- package/funcs/bankAccountsGet.js +2 -0
- package/funcs/bankAccountsGet.js.map +1 -1
- package/funcs/bankAccountsGetVerification.js +2 -0
- package/funcs/bankAccountsGetVerification.js.map +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.js +2 -0
- package/funcs/bankAccountsInitiateMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsInitiateVerification.js +2 -0
- package/funcs/bankAccountsInitiateVerification.js.map +1 -1
- package/funcs/bankAccountsLink.js +2 -0
- package/funcs/bankAccountsLink.js.map +1 -1
- package/funcs/bankAccountsList.js +2 -0
- package/funcs/bankAccountsList.js.map +1 -1
- package/funcs/brandingCreate.js +2 -0
- package/funcs/brandingCreate.js.map +1 -1
- package/funcs/brandingGet.js +2 -0
- package/funcs/brandingGet.js.map +1 -1
- package/funcs/brandingUpdate.js +2 -0
- package/funcs/brandingUpdate.js.map +1 -1
- package/funcs/brandingUpsert.js +2 -0
- package/funcs/brandingUpsert.js.map +1 -1
- package/funcs/capabilitiesDisable.js +2 -0
- package/funcs/capabilitiesDisable.js.map +1 -1
- package/funcs/capabilitiesGet.js +2 -0
- package/funcs/capabilitiesGet.js.map +1 -1
- package/funcs/capabilitiesList.js +2 -0
- package/funcs/capabilitiesList.js.map +1 -1
- package/funcs/capabilitiesRequest.js +2 -0
- package/funcs/capabilitiesRequest.js.map +1 -1
- package/funcs/cardIssuingGet.js +2 -0
- package/funcs/cardIssuingGet.js.map +1 -1
- package/funcs/cardIssuingGetFull.js +2 -0
- package/funcs/cardIssuingGetFull.js.map +1 -1
- package/funcs/cardIssuingList.js +2 -0
- package/funcs/cardIssuingList.js.map +1 -1
- package/funcs/cardIssuingRequest.js +2 -0
- package/funcs/cardIssuingRequest.js.map +1 -1
- package/funcs/cardIssuingUpdate.js +2 -0
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/cardsDisable.js +2 -0
- package/funcs/cardsDisable.js.map +1 -1
- package/funcs/cardsGet.js +2 -0
- package/funcs/cardsGet.js.map +1 -1
- package/funcs/cardsLink.js +2 -0
- package/funcs/cardsLink.js.map +1 -1
- package/funcs/cardsList.js +2 -0
- package/funcs/cardsList.js.map +1 -1
- package/funcs/cardsUpdate.js +2 -0
- package/funcs/cardsUpdate.js.map +1 -1
- package/funcs/disputesAccept.js +2 -0
- package/funcs/disputesAccept.js.map +1 -1
- package/funcs/disputesDeleteEvidence.js +2 -0
- package/funcs/disputesDeleteEvidence.js.map +1 -1
- package/funcs/disputesGet.js +2 -0
- package/funcs/disputesGet.js.map +1 -1
- package/funcs/disputesGetEvidence.js +2 -0
- package/funcs/disputesGetEvidence.js.map +1 -1
- package/funcs/disputesGetEvidenceData.js +2 -0
- package/funcs/disputesGetEvidenceData.js.map +1 -1
- package/funcs/disputesList.js +2 -0
- package/funcs/disputesList.js.map +1 -1
- package/funcs/disputesListEvidence.js +2 -0
- package/funcs/disputesListEvidence.js.map +1 -1
- package/funcs/disputesSubmitEvidence.js +2 -0
- package/funcs/disputesSubmitEvidence.js.map +1 -1
- package/funcs/disputesUpdateEvidence.js +2 -0
- package/funcs/disputesUpdateEvidence.js.map +1 -1
- package/funcs/disputesUploadEvidenceFile.js +2 -0
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/disputesUploadEvidenceText.js +2 -0
- package/funcs/disputesUploadEvidenceText.js.map +1 -1
- package/funcs/endToEndEncryptionGenerateKey.js +2 -0
- package/funcs/endToEndEncryptionGenerateKey.js.map +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.js +2 -0
- package/funcs/endToEndEncryptionTestEncryptedToken.js.map +1 -1
- package/funcs/enrichedAddressGet.js +2 -0
- package/funcs/enrichedAddressGet.js.map +1 -1
- package/funcs/enrichedProfileGet.js +2 -0
- package/funcs/enrichedProfileGet.js.map +1 -1
- package/funcs/feePlansCreateFeePlanAgreements.js +2 -0
- package/funcs/feePlansCreateFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansListFeePlanAgreements.js +2 -0
- package/funcs/feePlansListFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansListFeePlans.js +2 -0
- package/funcs/feePlansListFeePlans.js.map +1 -1
- package/funcs/feePlansListFeesFetch.js +2 -0
- package/funcs/feePlansListFeesFetch.js.map +1 -1
- package/funcs/feePlansListPartnerPricing.js +2 -0
- package/funcs/feePlansListPartnerPricing.js.map +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.js +2 -0
- package/funcs/feePlansListPartnerPricingAgreements.js.map +1 -1
- package/funcs/feePlansRetrieveFees.js +2 -0
- package/funcs/feePlansRetrieveFees.js.map +1 -1
- package/funcs/filesGet.js +2 -0
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesList.js +2 -0
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpload.js +2 -0
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/industriesList.d.ts +2 -2
- package/funcs/industriesList.js +4 -2
- package/funcs/industriesList.js.map +1 -1
- package/funcs/institutionsSearch.js +2 -0
- package/funcs/institutionsSearch.js.map +1 -1
- package/funcs/institutionsSearchInstitutions.d.ts +20 -0
- package/funcs/institutionsSearchInstitutions.d.ts.map +1 -0
- package/funcs/institutionsSearchInstitutions.js +129 -0
- package/funcs/institutionsSearchInstitutions.js.map +1 -0
- package/funcs/issuingTransactionsGet.js +2 -0
- package/funcs/issuingTransactionsGet.js.map +1 -1
- package/funcs/issuingTransactionsGetAuthorization.js +2 -0
- package/funcs/issuingTransactionsGetAuthorization.js.map +1 -1
- package/funcs/issuingTransactionsList.js +2 -0
- package/funcs/issuingTransactionsList.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.js +2 -0
- package/funcs/issuingTransactionsListAuthorizationEvents.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizations.js +2 -0
- package/funcs/issuingTransactionsListAuthorizations.js.map +1 -1
- package/funcs/onboardingCreateInvite.js +2 -0
- package/funcs/onboardingCreateInvite.js.map +1 -1
- package/funcs/onboardingGetInvite.js +2 -0
- package/funcs/onboardingGetInvite.js.map +1 -1
- package/funcs/onboardingListInvites.js +2 -0
- package/funcs/onboardingListInvites.js.map +1 -1
- package/funcs/onboardingRevokeInvite.js +2 -0
- package/funcs/onboardingRevokeInvite.js.map +1 -1
- package/funcs/paymentLinksCreate.js +2 -0
- package/funcs/paymentLinksCreate.js.map +1 -1
- package/funcs/paymentLinksDisable.js +2 -0
- package/funcs/paymentLinksDisable.js.map +1 -1
- package/funcs/paymentLinksGet.js +2 -0
- package/funcs/paymentLinksGet.js.map +1 -1
- package/funcs/paymentLinksGetQRCode.js +2 -0
- package/funcs/paymentLinksGetQRCode.js.map +1 -1
- package/funcs/paymentLinksList.js +2 -0
- package/funcs/paymentLinksList.js.map +1 -1
- package/funcs/paymentLinksUpdate.js +2 -0
- package/funcs/paymentLinksUpdate.js.map +1 -1
- package/funcs/paymentMethodsGet.js +2 -0
- package/funcs/paymentMethodsGet.js.map +1 -1
- package/funcs/paymentMethodsList.js +2 -0
- package/funcs/paymentMethodsList.js.map +1 -1
- package/funcs/pingPing.js +2 -0
- package/funcs/pingPing.js.map +1 -1
- package/funcs/receiptsCreate.js +2 -0
- package/funcs/receiptsCreate.js.map +1 -1
- package/funcs/receiptsList.js +2 -0
- package/funcs/receiptsList.js.map +1 -1
- package/funcs/representativesCreate.js +2 -0
- package/funcs/representativesCreate.js.map +1 -1
- package/funcs/representativesDelete.js +2 -0
- package/funcs/representativesDelete.js.map +1 -1
- package/funcs/representativesGet.js +2 -0
- package/funcs/representativesGet.js.map +1 -1
- package/funcs/representativesList.js +2 -0
- package/funcs/representativesList.js.map +1 -1
- package/funcs/representativesUpdate.js +2 -0
- package/funcs/representativesUpdate.js.map +1 -1
- package/funcs/schedulingCancel.js +2 -0
- package/funcs/schedulingCancel.js.map +1 -1
- package/funcs/schedulingCreate.js +2 -0
- package/funcs/schedulingCreate.js.map +1 -1
- package/funcs/schedulingGet.js +2 -0
- package/funcs/schedulingGet.js.map +1 -1
- package/funcs/schedulingGetOccurrance.js +2 -0
- package/funcs/schedulingGetOccurrance.js.map +1 -1
- package/funcs/schedulingList.js +2 -0
- package/funcs/schedulingList.js.map +1 -1
- package/funcs/schedulingUpdate.js +2 -0
- package/funcs/schedulingUpdate.js.map +1 -1
- package/funcs/sweepsCreateConfig.js +2 -0
- package/funcs/sweepsCreateConfig.js.map +1 -1
- package/funcs/sweepsGet.js +2 -0
- package/funcs/sweepsGet.js.map +1 -1
- package/funcs/sweepsGetConfig.js +2 -0
- package/funcs/sweepsGetConfig.js.map +1 -1
- package/funcs/sweepsList.js +2 -0
- package/funcs/sweepsList.js.map +1 -1
- package/funcs/sweepsListConfigs.js +2 -0
- package/funcs/sweepsListConfigs.js.map +1 -1
- package/funcs/sweepsUpdateConfig.js +2 -0
- package/funcs/sweepsUpdateConfig.js.map +1 -1
- package/funcs/terminalApplicationsCreate.js +2 -0
- package/funcs/terminalApplicationsCreate.js.map +1 -1
- package/funcs/terminalApplicationsDelete.js +2 -0
- package/funcs/terminalApplicationsDelete.js.map +1 -1
- package/funcs/terminalApplicationsGet.js +2 -0
- package/funcs/terminalApplicationsGet.js.map +1 -1
- package/funcs/terminalApplicationsList.js +2 -0
- package/funcs/terminalApplicationsList.js.map +1 -1
- package/funcs/transfersCreate.js +2 -0
- package/funcs/transfersCreate.js.map +1 -1
- package/funcs/transfersCreateCancellation.js +2 -0
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateReversal.js +2 -0
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersGenerateOptions.js +2 -0
- package/funcs/transfersGenerateOptions.js.map +1 -1
- package/funcs/transfersGet.js +2 -0
- package/funcs/transfersGet.js.map +1 -1
- package/funcs/transfersGetCancellation.js +2 -0
- package/funcs/transfersGetCancellation.js.map +1 -1
- package/funcs/transfersGetRefund.js +2 -0
- package/funcs/transfersGetRefund.js.map +1 -1
- package/funcs/transfersInitiateRefund.js +2 -0
- package/funcs/transfersInitiateRefund.js.map +1 -1
- package/funcs/transfersList.js +2 -0
- package/funcs/transfersList.js.map +1 -1
- package/funcs/transfersListRefunds.js +2 -0
- package/funcs/transfersListRefunds.js.map +1 -1
- package/funcs/transfersUpdate.js +2 -0
- package/funcs/transfersUpdate.js.map +1 -1
- package/funcs/underwritingGet.js +2 -0
- package/funcs/underwritingGet.js.map +1 -1
- package/funcs/underwritingUpsert.js +2 -0
- package/funcs/underwritingUpsert.js.map +1 -1
- package/funcs/walletTransactionsGet.js +2 -0
- package/funcs/walletTransactionsGet.js.map +1 -1
- package/funcs/walletTransactionsList.js +2 -0
- package/funcs/walletTransactionsList.js.map +1 -1
- package/funcs/walletsGet.js +2 -0
- package/funcs/walletsGet.js.map +1 -1
- package/funcs/walletsList.js +2 -0
- package/funcs/walletsList.js.map +1 -1
- package/hooks/types.d.ts +2 -0
- package/hooks/types.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +7 -3
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/sdks.d.ts +1 -0
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +3 -3
- package/lib/sdks.js.map +1 -1
- package/mcp-server/cli/start/impl.js +4 -4
- package/mcp-server/cli/start/impl.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/industriesList.js +2 -2
- package/mcp-server/tools/institutionsSearchInstitutions.d.ts +8 -0
- package/mcp-server/tools/institutionsSearchInstitutions.d.ts.map +1 -0
- package/mcp-server/tools/institutionsSearchInstitutions.js +69 -0
- package/mcp-server/tools/institutionsSearchInstitutions.js.map +1 -0
- package/models/components/achinstitution.d.ts +40 -0
- package/models/components/achinstitution.d.ts.map +1 -0
- package/models/components/achinstitution.js +77 -0
- package/models/components/achinstitution.js.map +1 -0
- package/models/components/contact.d.ts +30 -0
- package/models/components/contact.d.ts.map +1 -0
- package/models/components/{enrichedindustry.js → contact.js} +20 -25
- package/models/components/contact.js.map +1 -0
- package/models/components/enrichedindustries.d.ts +3 -3
- package/models/components/enrichedindustries.js +3 -3
- package/models/components/index.d.ts +9 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +9 -1
- package/models/components/index.js.map +1 -1
- package/models/components/industrytaxonomy.d.ts +55 -0
- package/models/components/industrytaxonomy.d.ts.map +1 -0
- package/models/components/industrytaxonomy.js +77 -0
- package/models/components/industrytaxonomy.js.map +1 -0
- package/models/components/institutionssearchresponse.d.ts +36 -0
- package/models/components/institutionssearchresponse.d.ts.map +1 -0
- package/models/components/institutionssearchresponse.js +76 -0
- package/models/components/institutionssearchresponse.js.map +1 -0
- package/models/components/rtpinstitution.d.ts +37 -0
- package/models/components/rtpinstitution.d.ts.map +1 -0
- package/models/components/rtpinstitution.js +74 -0
- package/models/components/rtpinstitution.js.map +1 -0
- package/models/components/rtpservices.d.ts +37 -0
- package/models/components/rtpservices.d.ts.map +1 -0
- package/models/components/rtpservices.js +71 -0
- package/models/components/rtpservices.js.map +1 -0
- package/models/components/sweep.d.ts +6 -0
- package/models/components/sweep.d.ts.map +1 -1
- package/models/components/sweep.js +3 -0
- package/models/components/sweep.js.map +1 -1
- package/models/components/sweepsubtotal.d.ts +44 -0
- package/models/components/sweepsubtotal.d.ts.map +1 -0
- package/models/components/sweepsubtotal.js +75 -0
- package/models/components/sweepsubtotal.js.map +1 -0
- package/models/components/wireinstitution.d.ts +40 -0
- package/models/components/wireinstitution.d.ts.map +1 -0
- package/models/components/wireinstitution.js +77 -0
- package/models/components/wireinstitution.js.map +1 -0
- package/models/components/wireservices.d.ts +42 -0
- package/models/components/wireservices.d.ts.map +1 -0
- package/models/components/wireservices.js +73 -0
- package/models/components/wireservices.js.map +1 -0
- package/models/errors/apierror.d.ts +14 -2
- package/models/errors/apierror.d.ts.map +1 -1
- package/models/errors/apierror.js +1 -1
- package/models/errors/apierror.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/searchinstitutions.d.ts +112 -0
- package/models/operations/searchinstitutions.d.ts.map +1 -0
- package/models/operations/searchinstitutions.js +149 -0
- package/models/operations/searchinstitutions.js.map +1 -0
- package/package.json +2 -2
- package/sdk/industries.d.ts +2 -2
- package/sdk/industries.js +2 -2
- package/sdk/institutions.d.ts +11 -0
- package/sdk/institutions.d.ts.map +1 -1
- package/sdk/institutions.js +14 -0
- package/sdk/institutions.js.map +1 -1
- package/src/funcs/accountTerminalApplicationsGet.ts +2 -0
- package/src/funcs/accountTerminalApplicationsGetConfiguration.ts +2 -0
- package/src/funcs/accountTerminalApplicationsLink.ts +2 -0
- package/src/funcs/accountTerminalApplicationsList.ts +2 -0
- package/src/funcs/accountsAssignCountries.ts +2 -0
- package/src/funcs/accountsCreate.ts +2 -0
- package/src/funcs/accountsDisconnect.ts +2 -0
- package/src/funcs/accountsGet.ts +2 -0
- package/src/funcs/accountsGetCountries.ts +2 -0
- package/src/funcs/accountsGetMerchantProcessingAgreement.ts +2 -0
- package/src/funcs/accountsGetTermsOfServiceToken.ts +2 -0
- package/src/funcs/accountsList.ts +2 -0
- package/src/funcs/accountsUpdate.ts +2 -0
- package/src/funcs/adjustmentsGet.ts +2 -0
- package/src/funcs/adjustmentsList.ts +2 -0
- package/src/funcs/applePayCreateSession.ts +2 -0
- package/src/funcs/applePayGetMerchantDomains.ts +2 -0
- package/src/funcs/applePayLinkToken.ts +2 -0
- package/src/funcs/applePayRegisterMerchantDomains.ts +2 -0
- package/src/funcs/applePayUpdateMerchantDomains.ts +2 -0
- package/src/funcs/authenticationCreateAccessToken.ts +2 -0
- package/src/funcs/authenticationRevokeAccessToken.ts +2 -0
- package/src/funcs/avatarsGet.ts +2 -0
- package/src/funcs/bankAccountsCompleteMicroDeposits.ts +2 -0
- package/src/funcs/bankAccountsCompleteVerification.ts +2 -0
- package/src/funcs/bankAccountsDisable.ts +2 -0
- package/src/funcs/bankAccountsGet.ts +2 -0
- package/src/funcs/bankAccountsGetVerification.ts +2 -0
- package/src/funcs/bankAccountsInitiateMicroDeposits.ts +2 -0
- package/src/funcs/bankAccountsInitiateVerification.ts +2 -0
- package/src/funcs/bankAccountsLink.ts +2 -0
- package/src/funcs/bankAccountsList.ts +2 -0
- package/src/funcs/brandingCreate.ts +2 -0
- package/src/funcs/brandingGet.ts +2 -0
- package/src/funcs/brandingUpdate.ts +2 -0
- package/src/funcs/brandingUpsert.ts +2 -0
- package/src/funcs/capabilitiesDisable.ts +2 -0
- package/src/funcs/capabilitiesGet.ts +2 -0
- package/src/funcs/capabilitiesList.ts +2 -0
- package/src/funcs/capabilitiesRequest.ts +2 -0
- package/src/funcs/cardIssuingGet.ts +2 -0
- package/src/funcs/cardIssuingGetFull.ts +2 -0
- package/src/funcs/cardIssuingList.ts +2 -0
- package/src/funcs/cardIssuingRequest.ts +2 -0
- package/src/funcs/cardIssuingUpdate.ts +2 -0
- package/src/funcs/cardsDisable.ts +2 -0
- package/src/funcs/cardsGet.ts +2 -0
- package/src/funcs/cardsLink.ts +2 -0
- package/src/funcs/cardsList.ts +2 -0
- package/src/funcs/cardsUpdate.ts +2 -0
- package/src/funcs/disputesAccept.ts +2 -0
- package/src/funcs/disputesDeleteEvidence.ts +2 -0
- package/src/funcs/disputesGet.ts +2 -0
- package/src/funcs/disputesGetEvidence.ts +2 -0
- package/src/funcs/disputesGetEvidenceData.ts +2 -0
- package/src/funcs/disputesList.ts +2 -0
- package/src/funcs/disputesListEvidence.ts +2 -0
- package/src/funcs/disputesSubmitEvidence.ts +2 -0
- package/src/funcs/disputesUpdateEvidence.ts +2 -0
- package/src/funcs/disputesUploadEvidenceFile.ts +2 -0
- package/src/funcs/disputesUploadEvidenceText.ts +2 -0
- package/src/funcs/endToEndEncryptionGenerateKey.ts +2 -0
- package/src/funcs/endToEndEncryptionTestEncryptedToken.ts +2 -0
- package/src/funcs/enrichedAddressGet.ts +2 -0
- package/src/funcs/enrichedProfileGet.ts +2 -0
- package/src/funcs/feePlansCreateFeePlanAgreements.ts +2 -0
- package/src/funcs/feePlansListFeePlanAgreements.ts +2 -0
- package/src/funcs/feePlansListFeePlans.ts +2 -0
- package/src/funcs/feePlansListFeesFetch.ts +2 -0
- package/src/funcs/feePlansListPartnerPricing.ts +2 -0
- package/src/funcs/feePlansListPartnerPricingAgreements.ts +2 -0
- package/src/funcs/feePlansRetrieveFees.ts +2 -0
- package/src/funcs/filesGet.ts +2 -0
- package/src/funcs/filesList.ts +2 -0
- package/src/funcs/filesUpload.ts +2 -0
- package/src/funcs/industriesList.ts +4 -2
- package/src/funcs/institutionsSearch.ts +2 -0
- package/src/funcs/institutionsSearchInstitutions.ts +179 -0
- package/src/funcs/issuingTransactionsGet.ts +2 -0
- package/src/funcs/issuingTransactionsGetAuthorization.ts +2 -0
- package/src/funcs/issuingTransactionsList.ts +2 -0
- package/src/funcs/issuingTransactionsListAuthorizationEvents.ts +2 -0
- package/src/funcs/issuingTransactionsListAuthorizations.ts +2 -0
- package/src/funcs/onboardingCreateInvite.ts +2 -0
- package/src/funcs/onboardingGetInvite.ts +2 -0
- package/src/funcs/onboardingListInvites.ts +2 -0
- package/src/funcs/onboardingRevokeInvite.ts +2 -0
- package/src/funcs/paymentLinksCreate.ts +2 -0
- package/src/funcs/paymentLinksDisable.ts +2 -0
- package/src/funcs/paymentLinksGet.ts +2 -0
- package/src/funcs/paymentLinksGetQRCode.ts +2 -0
- package/src/funcs/paymentLinksList.ts +2 -0
- package/src/funcs/paymentLinksUpdate.ts +2 -0
- package/src/funcs/paymentMethodsGet.ts +2 -0
- package/src/funcs/paymentMethodsList.ts +2 -0
- package/src/funcs/pingPing.ts +2 -0
- package/src/funcs/receiptsCreate.ts +2 -0
- package/src/funcs/receiptsList.ts +2 -0
- package/src/funcs/representativesCreate.ts +2 -0
- package/src/funcs/representativesDelete.ts +2 -0
- package/src/funcs/representativesGet.ts +2 -0
- package/src/funcs/representativesList.ts +2 -0
- package/src/funcs/representativesUpdate.ts +2 -0
- package/src/funcs/schedulingCancel.ts +2 -0
- package/src/funcs/schedulingCreate.ts +2 -0
- package/src/funcs/schedulingGet.ts +2 -0
- package/src/funcs/schedulingGetOccurrance.ts +2 -0
- package/src/funcs/schedulingList.ts +2 -0
- package/src/funcs/schedulingUpdate.ts +2 -0
- package/src/funcs/sweepsCreateConfig.ts +2 -0
- package/src/funcs/sweepsGet.ts +2 -0
- package/src/funcs/sweepsGetConfig.ts +2 -0
- package/src/funcs/sweepsList.ts +2 -0
- package/src/funcs/sweepsListConfigs.ts +2 -0
- package/src/funcs/sweepsUpdateConfig.ts +2 -0
- package/src/funcs/terminalApplicationsCreate.ts +2 -0
- package/src/funcs/terminalApplicationsDelete.ts +2 -0
- package/src/funcs/terminalApplicationsGet.ts +2 -0
- package/src/funcs/terminalApplicationsList.ts +2 -0
- package/src/funcs/transfersCreate.ts +2 -0
- package/src/funcs/transfersCreateCancellation.ts +2 -0
- package/src/funcs/transfersCreateReversal.ts +2 -0
- package/src/funcs/transfersGenerateOptions.ts +2 -0
- package/src/funcs/transfersGet.ts +2 -0
- package/src/funcs/transfersGetCancellation.ts +2 -0
- package/src/funcs/transfersGetRefund.ts +2 -0
- package/src/funcs/transfersInitiateRefund.ts +2 -0
- package/src/funcs/transfersList.ts +2 -0
- package/src/funcs/transfersListRefunds.ts +2 -0
- package/src/funcs/transfersUpdate.ts +2 -0
- package/src/funcs/underwritingGet.ts +2 -0
- package/src/funcs/underwritingUpsert.ts +2 -0
- package/src/funcs/walletTransactionsGet.ts +2 -0
- package/src/funcs/walletTransactionsList.ts +2 -0
- package/src/funcs/walletsGet.ts +2 -0
- package/src/funcs/walletsList.ts +2 -0
- package/src/hooks/types.ts +2 -0
- package/src/index.ts +2 -0
- package/src/lib/config.ts +7 -3
- package/src/lib/sdks.ts +10 -4
- package/src/mcp-server/cli/start/impl.ts +4 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/industriesList.ts +2 -2
- package/src/mcp-server/tools/institutionsSearchInstitutions.ts +43 -0
- package/src/models/components/achinstitution.ts +89 -0
- package/src/models/components/contact.ts +65 -0
- package/src/models/components/enrichedindustries.ts +9 -9
- package/src/models/components/index.ts +9 -1
- package/src/models/components/industrytaxonomy.ts +100 -0
- package/src/models/components/institutionssearchresponse.ts +92 -0
- package/src/models/components/rtpinstitution.ts +79 -0
- package/src/models/components/rtpservices.ts +72 -0
- package/src/models/components/sweep.ts +13 -0
- package/src/models/components/sweepsubtotal.ts +90 -0
- package/src/models/components/wireinstitution.ts +91 -0
- package/src/models/components/wireservices.ts +79 -0
- package/src/models/errors/apierror.ts +18 -3
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/searchinstitutions.ts +236 -0
- package/src/sdk/industries.ts +2 -2
- package/src/sdk/institutions.ts +22 -0
- package/test/README.md +2 -0
- package/test/index.ts +1 -0
- package/test/package.json +25 -0
- package/test/setup.ts +119 -0
- package/test/tests/accounts.test.ts +127 -0
- package/test/tests/bankAccounts.test.ts +171 -0
- package/test/tests/capabilities.test.ts +147 -0
- package/test/tests/cards.test.ts +168 -0
- package/test/tests/paymentMethods.test.ts +55 -0
- package/test/tests/representatives.test.ts +83 -0
- package/test/tests/transfers.test.ts +122 -0
- package/test/tests/wallets.test.ts +31 -0
- package/test/tsconfig.json +30 -0
- package/test/utils/utils.ts +276 -0
- package/models/components/enrichedindustry.d.ts +0 -47
- package/models/components/enrichedindustry.d.ts.map +0 -1
- package/models/components/enrichedindustry.js.map +0 -1
- package/src/models/components/enrichedindustry.ts +0 -90
|
@@ -35,6 +35,7 @@ you'll need to specify the `/accounts/{accountID}/branding.write` scope.
|
|
|
35
35
|
import { Moov } from "@moovio/sdk";
|
|
36
36
|
|
|
37
37
|
const moov = new Moov({
|
|
38
|
+
xMoovVersion: "v2024.01.00",
|
|
38
39
|
security: {
|
|
39
40
|
username: "",
|
|
40
41
|
password: "",
|
|
@@ -43,7 +44,7 @@ const moov = new Moov({
|
|
|
43
44
|
|
|
44
45
|
async function run() {
|
|
45
46
|
const result = await moov.branding.create({
|
|
46
|
-
accountID: "
|
|
47
|
+
accountID: "0a6ae927-b52b-4ef4-86d0-288f27479817",
|
|
47
48
|
brandProperties: {
|
|
48
49
|
colors: {
|
|
49
50
|
dark: {
|
|
@@ -56,7 +57,6 @@ async function run() {
|
|
|
56
57
|
},
|
|
57
58
|
});
|
|
58
59
|
|
|
59
|
-
// Handle the result
|
|
60
60
|
console.log(result);
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -74,6 +74,7 @@ import { brandingCreate } from "@moovio/sdk/funcs/brandingCreate.js";
|
|
|
74
74
|
// Use `MoovCore` for best tree-shaking performance.
|
|
75
75
|
// You can create one instance of it to use across an application.
|
|
76
76
|
const moov = new MoovCore({
|
|
77
|
+
xMoovVersion: "v2024.01.00",
|
|
77
78
|
security: {
|
|
78
79
|
username: "",
|
|
79
80
|
password: "",
|
|
@@ -82,7 +83,7 @@ const moov = new MoovCore({
|
|
|
82
83
|
|
|
83
84
|
async function run() {
|
|
84
85
|
const res = await brandingCreate(moov, {
|
|
85
|
-
accountID: "
|
|
86
|
+
accountID: "0a6ae927-b52b-4ef4-86d0-288f27479817",
|
|
86
87
|
brandProperties: {
|
|
87
88
|
colors: {
|
|
88
89
|
dark: {
|
|
@@ -94,15 +95,12 @@ async function run() {
|
|
|
94
95
|
},
|
|
95
96
|
},
|
|
96
97
|
});
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
if (res.ok) {
|
|
99
|
+
const { value: result } = res;
|
|
100
|
+
console.log(result);
|
|
101
|
+
} else {
|
|
102
|
+
console.log("brandingCreate failed:", res.error);
|
|
100
103
|
}
|
|
101
|
-
|
|
102
|
-
const { value: result } = res;
|
|
103
|
-
|
|
104
|
-
// Handle the result
|
|
105
|
-
console.log(result);
|
|
106
104
|
}
|
|
107
105
|
|
|
108
106
|
run();
|
|
@@ -142,6 +140,7 @@ you'll need to specify the `/accounts/{accountID}/branding.write` scope.
|
|
|
142
140
|
import { Moov } from "@moovio/sdk";
|
|
143
141
|
|
|
144
142
|
const moov = new Moov({
|
|
143
|
+
xMoovVersion: "v2024.01.00",
|
|
145
144
|
security: {
|
|
146
145
|
username: "",
|
|
147
146
|
password: "",
|
|
@@ -150,7 +149,7 @@ const moov = new Moov({
|
|
|
150
149
|
|
|
151
150
|
async function run() {
|
|
152
151
|
const result = await moov.branding.upsert({
|
|
153
|
-
accountID: "
|
|
152
|
+
accountID: "0cd408b1-a57d-477b-825b-12331c2ed00a",
|
|
154
153
|
brandProperties: {
|
|
155
154
|
colors: {
|
|
156
155
|
dark: {
|
|
@@ -163,7 +162,6 @@ async function run() {
|
|
|
163
162
|
},
|
|
164
163
|
});
|
|
165
164
|
|
|
166
|
-
// Handle the result
|
|
167
165
|
console.log(result);
|
|
168
166
|
}
|
|
169
167
|
|
|
@@ -181,6 +179,7 @@ import { brandingUpsert } from "@moovio/sdk/funcs/brandingUpsert.js";
|
|
|
181
179
|
// Use `MoovCore` for best tree-shaking performance.
|
|
182
180
|
// You can create one instance of it to use across an application.
|
|
183
181
|
const moov = new MoovCore({
|
|
182
|
+
xMoovVersion: "v2024.01.00",
|
|
184
183
|
security: {
|
|
185
184
|
username: "",
|
|
186
185
|
password: "",
|
|
@@ -189,7 +188,7 @@ const moov = new MoovCore({
|
|
|
189
188
|
|
|
190
189
|
async function run() {
|
|
191
190
|
const res = await brandingUpsert(moov, {
|
|
192
|
-
accountID: "
|
|
191
|
+
accountID: "0cd408b1-a57d-477b-825b-12331c2ed00a",
|
|
193
192
|
brandProperties: {
|
|
194
193
|
colors: {
|
|
195
194
|
dark: {
|
|
@@ -201,15 +200,12 @@ async function run() {
|
|
|
201
200
|
},
|
|
202
201
|
},
|
|
203
202
|
});
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
203
|
+
if (res.ok) {
|
|
204
|
+
const { value: result } = res;
|
|
205
|
+
console.log(result);
|
|
206
|
+
} else {
|
|
207
|
+
console.log("brandingUpsert failed:", res.error);
|
|
207
208
|
}
|
|
208
|
-
|
|
209
|
-
const { value: result } = res;
|
|
210
|
-
|
|
211
|
-
// Handle the result
|
|
212
|
-
console.log(result);
|
|
213
209
|
}
|
|
214
210
|
|
|
215
211
|
run();
|
|
@@ -249,6 +245,7 @@ you'll need to specify the `/accounts/{accountID}/branding.read` scope.
|
|
|
249
245
|
import { Moov } from "@moovio/sdk";
|
|
250
246
|
|
|
251
247
|
const moov = new Moov({
|
|
248
|
+
xMoovVersion: "v2024.01.00",
|
|
252
249
|
security: {
|
|
253
250
|
username: "",
|
|
254
251
|
password: "",
|
|
@@ -257,10 +254,9 @@ const moov = new Moov({
|
|
|
257
254
|
|
|
258
255
|
async function run() {
|
|
259
256
|
const result = await moov.branding.get({
|
|
260
|
-
accountID: "
|
|
257
|
+
accountID: "8a4ec43e-d45f-481d-a291-683cb221e3cc",
|
|
261
258
|
});
|
|
262
259
|
|
|
263
|
-
// Handle the result
|
|
264
260
|
console.log(result);
|
|
265
261
|
}
|
|
266
262
|
|
|
@@ -278,6 +274,7 @@ import { brandingGet } from "@moovio/sdk/funcs/brandingGet.js";
|
|
|
278
274
|
// Use `MoovCore` for best tree-shaking performance.
|
|
279
275
|
// You can create one instance of it to use across an application.
|
|
280
276
|
const moov = new MoovCore({
|
|
277
|
+
xMoovVersion: "v2024.01.00",
|
|
281
278
|
security: {
|
|
282
279
|
username: "",
|
|
283
280
|
password: "",
|
|
@@ -286,17 +283,14 @@ const moov = new MoovCore({
|
|
|
286
283
|
|
|
287
284
|
async function run() {
|
|
288
285
|
const res = await brandingGet(moov, {
|
|
289
|
-
accountID: "
|
|
286
|
+
accountID: "8a4ec43e-d45f-481d-a291-683cb221e3cc",
|
|
290
287
|
});
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
288
|
+
if (res.ok) {
|
|
289
|
+
const { value: result } = res;
|
|
290
|
+
console.log(result);
|
|
291
|
+
} else {
|
|
292
|
+
console.log("brandingGet failed:", res.error);
|
|
294
293
|
}
|
|
295
|
-
|
|
296
|
-
const { value: result } = res;
|
|
297
|
-
|
|
298
|
-
// Handle the result
|
|
299
|
-
console.log(result);
|
|
300
294
|
}
|
|
301
295
|
|
|
302
296
|
run();
|
|
@@ -334,6 +328,7 @@ you'll need to specify the `/accounts/{accountID}/branding.write` scope.
|
|
|
334
328
|
import { Moov } from "@moovio/sdk";
|
|
335
329
|
|
|
336
330
|
const moov = new Moov({
|
|
331
|
+
xMoovVersion: "v2024.01.00",
|
|
337
332
|
security: {
|
|
338
333
|
username: "",
|
|
339
334
|
password: "",
|
|
@@ -342,11 +337,10 @@ const moov = new Moov({
|
|
|
342
337
|
|
|
343
338
|
async function run() {
|
|
344
339
|
const result = await moov.branding.update({
|
|
345
|
-
accountID: "
|
|
340
|
+
accountID: "0c0dc4a5-ecd9-4223-810a-a71632980156",
|
|
346
341
|
updateBrand: {},
|
|
347
342
|
});
|
|
348
343
|
|
|
349
|
-
// Handle the result
|
|
350
344
|
console.log(result);
|
|
351
345
|
}
|
|
352
346
|
|
|
@@ -364,6 +358,7 @@ import { brandingUpdate } from "@moovio/sdk/funcs/brandingUpdate.js";
|
|
|
364
358
|
// Use `MoovCore` for best tree-shaking performance.
|
|
365
359
|
// You can create one instance of it to use across an application.
|
|
366
360
|
const moov = new MoovCore({
|
|
361
|
+
xMoovVersion: "v2024.01.00",
|
|
367
362
|
security: {
|
|
368
363
|
username: "",
|
|
369
364
|
password: "",
|
|
@@ -372,18 +367,15 @@ const moov = new MoovCore({
|
|
|
372
367
|
|
|
373
368
|
async function run() {
|
|
374
369
|
const res = await brandingUpdate(moov, {
|
|
375
|
-
accountID: "
|
|
370
|
+
accountID: "0c0dc4a5-ecd9-4223-810a-a71632980156",
|
|
376
371
|
updateBrand: {},
|
|
377
372
|
});
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
373
|
+
if (res.ok) {
|
|
374
|
+
const { value: result } = res;
|
|
375
|
+
console.log(result);
|
|
376
|
+
} else {
|
|
377
|
+
console.log("brandingUpdate failed:", res.error);
|
|
381
378
|
}
|
|
382
|
-
|
|
383
|
-
const { value: result } = res;
|
|
384
|
-
|
|
385
|
-
// Handle the result
|
|
386
|
-
console.log(result);
|
|
387
379
|
}
|
|
388
380
|
|
|
389
381
|
run();
|
|
@@ -39,6 +39,7 @@ you'll need to specify the `/accounts/{accountID}/capabilities.read` scope.
|
|
|
39
39
|
import { Moov } from "@moovio/sdk";
|
|
40
40
|
|
|
41
41
|
const moov = new Moov({
|
|
42
|
+
xMoovVersion: "v2024.01.00",
|
|
42
43
|
security: {
|
|
43
44
|
username: "",
|
|
44
45
|
password: "",
|
|
@@ -47,10 +48,9 @@ const moov = new Moov({
|
|
|
47
48
|
|
|
48
49
|
async function run() {
|
|
49
50
|
const result = await moov.capabilities.list({
|
|
50
|
-
accountID: "
|
|
51
|
+
accountID: "1a50ab1c-1714-49e7-a016-cea17b33511a",
|
|
51
52
|
});
|
|
52
53
|
|
|
53
|
-
// Handle the result
|
|
54
54
|
console.log(result);
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -68,6 +68,7 @@ import { capabilitiesList } from "@moovio/sdk/funcs/capabilitiesList.js";
|
|
|
68
68
|
// Use `MoovCore` for best tree-shaking performance.
|
|
69
69
|
// You can create one instance of it to use across an application.
|
|
70
70
|
const moov = new MoovCore({
|
|
71
|
+
xMoovVersion: "v2024.01.00",
|
|
71
72
|
security: {
|
|
72
73
|
username: "",
|
|
73
74
|
password: "",
|
|
@@ -76,17 +77,14 @@ const moov = new MoovCore({
|
|
|
76
77
|
|
|
77
78
|
async function run() {
|
|
78
79
|
const res = await capabilitiesList(moov, {
|
|
79
|
-
accountID: "
|
|
80
|
+
accountID: "1a50ab1c-1714-49e7-a016-cea17b33511a",
|
|
80
81
|
});
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
if (res.ok) {
|
|
83
|
+
const { value: result } = res;
|
|
84
|
+
console.log(result);
|
|
85
|
+
} else {
|
|
86
|
+
console.log("capabilitiesList failed:", res.error);
|
|
84
87
|
}
|
|
85
|
-
|
|
86
|
-
const { value: result } = res;
|
|
87
|
-
|
|
88
|
-
// Handle the result
|
|
89
|
-
console.log(result);
|
|
90
88
|
}
|
|
91
89
|
|
|
92
90
|
run();
|
|
@@ -124,6 +122,7 @@ you'll need to specify the `/accounts/{accountID}/capabilities.write` scope.
|
|
|
124
122
|
import { Moov } from "@moovio/sdk";
|
|
125
123
|
|
|
126
124
|
const moov = new Moov({
|
|
125
|
+
xMoovVersion: "v2024.01.00",
|
|
127
126
|
security: {
|
|
128
127
|
username: "",
|
|
129
128
|
password: "",
|
|
@@ -132,7 +131,7 @@ const moov = new Moov({
|
|
|
132
131
|
|
|
133
132
|
async function run() {
|
|
134
133
|
const result = await moov.capabilities.request({
|
|
135
|
-
accountID: "
|
|
134
|
+
accountID: "0de140d5-cc78-4eeb-ab00-1f51aaf6c814",
|
|
136
135
|
addCapabilities: {
|
|
137
136
|
capabilities: [
|
|
138
137
|
"collect-funds",
|
|
@@ -140,7 +139,6 @@ async function run() {
|
|
|
140
139
|
},
|
|
141
140
|
});
|
|
142
141
|
|
|
143
|
-
// Handle the result
|
|
144
142
|
console.log(result);
|
|
145
143
|
}
|
|
146
144
|
|
|
@@ -158,6 +156,7 @@ import { capabilitiesRequest } from "@moovio/sdk/funcs/capabilitiesRequest.js";
|
|
|
158
156
|
// Use `MoovCore` for best tree-shaking performance.
|
|
159
157
|
// You can create one instance of it to use across an application.
|
|
160
158
|
const moov = new MoovCore({
|
|
159
|
+
xMoovVersion: "v2024.01.00",
|
|
161
160
|
security: {
|
|
162
161
|
username: "",
|
|
163
162
|
password: "",
|
|
@@ -166,22 +165,19 @@ const moov = new MoovCore({
|
|
|
166
165
|
|
|
167
166
|
async function run() {
|
|
168
167
|
const res = await capabilitiesRequest(moov, {
|
|
169
|
-
accountID: "
|
|
168
|
+
accountID: "0de140d5-cc78-4eeb-ab00-1f51aaf6c814",
|
|
170
169
|
addCapabilities: {
|
|
171
170
|
capabilities: [
|
|
172
171
|
"collect-funds",
|
|
173
172
|
],
|
|
174
173
|
},
|
|
175
174
|
});
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
if (res.ok) {
|
|
176
|
+
const { value: result } = res;
|
|
177
|
+
console.log(result);
|
|
178
|
+
} else {
|
|
179
|
+
console.log("capabilitiesRequest failed:", res.error);
|
|
179
180
|
}
|
|
180
|
-
|
|
181
|
-
const { value: result } = res;
|
|
182
|
-
|
|
183
|
-
// Handle the result
|
|
184
|
-
console.log(result);
|
|
185
181
|
}
|
|
186
182
|
|
|
187
183
|
run();
|
|
@@ -221,6 +217,7 @@ you'll need to specify the `/accounts/{accountID}/capabilities.read` scope.
|
|
|
221
217
|
import { Moov } from "@moovio/sdk";
|
|
222
218
|
|
|
223
219
|
const moov = new Moov({
|
|
220
|
+
xMoovVersion: "v2024.01.00",
|
|
224
221
|
security: {
|
|
225
222
|
username: "",
|
|
226
223
|
password: "",
|
|
@@ -229,11 +226,10 @@ const moov = new Moov({
|
|
|
229
226
|
|
|
230
227
|
async function run() {
|
|
231
228
|
const result = await moov.capabilities.get({
|
|
232
|
-
accountID: "
|
|
233
|
-
capabilityID: "
|
|
229
|
+
accountID: "c1697ea6-c984-4ba1-9b81-93e5e18660af",
|
|
230
|
+
capabilityID: "send-funds",
|
|
234
231
|
});
|
|
235
232
|
|
|
236
|
-
// Handle the result
|
|
237
233
|
console.log(result);
|
|
238
234
|
}
|
|
239
235
|
|
|
@@ -251,6 +247,7 @@ import { capabilitiesGet } from "@moovio/sdk/funcs/capabilitiesGet.js";
|
|
|
251
247
|
// Use `MoovCore` for best tree-shaking performance.
|
|
252
248
|
// You can create one instance of it to use across an application.
|
|
253
249
|
const moov = new MoovCore({
|
|
250
|
+
xMoovVersion: "v2024.01.00",
|
|
254
251
|
security: {
|
|
255
252
|
username: "",
|
|
256
253
|
password: "",
|
|
@@ -259,18 +256,15 @@ const moov = new MoovCore({
|
|
|
259
256
|
|
|
260
257
|
async function run() {
|
|
261
258
|
const res = await capabilitiesGet(moov, {
|
|
262
|
-
accountID: "
|
|
263
|
-
capabilityID: "
|
|
259
|
+
accountID: "c1697ea6-c984-4ba1-9b81-93e5e18660af",
|
|
260
|
+
capabilityID: "send-funds",
|
|
264
261
|
});
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
262
|
+
if (res.ok) {
|
|
263
|
+
const { value: result } = res;
|
|
264
|
+
console.log(result);
|
|
265
|
+
} else {
|
|
266
|
+
console.log("capabilitiesGet failed:", res.error);
|
|
268
267
|
}
|
|
269
|
-
|
|
270
|
-
const { value: result } = res;
|
|
271
|
-
|
|
272
|
-
// Handle the result
|
|
273
|
-
console.log(result);
|
|
274
268
|
}
|
|
275
269
|
|
|
276
270
|
run();
|
|
@@ -308,6 +302,7 @@ you'll need to specify the `/accounts/{accountID}/capabilities.write` scope.
|
|
|
308
302
|
import { Moov } from "@moovio/sdk";
|
|
309
303
|
|
|
310
304
|
const moov = new Moov({
|
|
305
|
+
xMoovVersion: "v2024.01.00",
|
|
311
306
|
security: {
|
|
312
307
|
username: "",
|
|
313
308
|
password: "",
|
|
@@ -316,11 +311,10 @@ const moov = new Moov({
|
|
|
316
311
|
|
|
317
312
|
async function run() {
|
|
318
313
|
const result = await moov.capabilities.disable({
|
|
319
|
-
accountID: "
|
|
314
|
+
accountID: "2be80c4e-d409-49ea-8a8a-76dfa4006d69",
|
|
320
315
|
capabilityID: "transfers",
|
|
321
316
|
});
|
|
322
317
|
|
|
323
|
-
// Handle the result
|
|
324
318
|
console.log(result);
|
|
325
319
|
}
|
|
326
320
|
|
|
@@ -338,6 +332,7 @@ import { capabilitiesDisable } from "@moovio/sdk/funcs/capabilitiesDisable.js";
|
|
|
338
332
|
// Use `MoovCore` for best tree-shaking performance.
|
|
339
333
|
// You can create one instance of it to use across an application.
|
|
340
334
|
const moov = new MoovCore({
|
|
335
|
+
xMoovVersion: "v2024.01.00",
|
|
341
336
|
security: {
|
|
342
337
|
username: "",
|
|
343
338
|
password: "",
|
|
@@ -346,18 +341,15 @@ const moov = new MoovCore({
|
|
|
346
341
|
|
|
347
342
|
async function run() {
|
|
348
343
|
const res = await capabilitiesDisable(moov, {
|
|
349
|
-
accountID: "
|
|
344
|
+
accountID: "2be80c4e-d409-49ea-8a8a-76dfa4006d69",
|
|
350
345
|
capabilityID: "transfers",
|
|
351
346
|
});
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
347
|
+
if (res.ok) {
|
|
348
|
+
const { value: result } = res;
|
|
349
|
+
console.log(result);
|
|
350
|
+
} else {
|
|
351
|
+
console.log("capabilitiesDisable failed:", res.error);
|
|
355
352
|
}
|
|
356
|
-
|
|
357
|
-
const { value: result } = res;
|
|
358
|
-
|
|
359
|
-
// Handle the result
|
|
360
|
-
console.log(result);
|
|
361
353
|
}
|
|
362
354
|
|
|
363
355
|
run();
|