@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
|
@@ -41,6 +41,7 @@ you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.
|
|
|
41
41
|
import { Moov } from "@moovio/sdk";
|
|
42
42
|
|
|
43
43
|
const moov = new Moov({
|
|
44
|
+
xMoovVersion: "v2024.01.00",
|
|
44
45
|
security: {
|
|
45
46
|
username: "",
|
|
46
47
|
password: "",
|
|
@@ -49,12 +50,12 @@ const moov = new Moov({
|
|
|
49
50
|
|
|
50
51
|
async function run() {
|
|
51
52
|
const result = await moov.cardIssuing.request({
|
|
52
|
-
accountID: "
|
|
53
|
+
accountID: "d9ac71ae-fccb-4dfc-9fed-710ca654e3ed",
|
|
53
54
|
requestCard: {
|
|
54
|
-
fundingWalletID: "
|
|
55
|
+
fundingWalletID: "fd98e3b2-696f-4f67-9250-17b3474ababf",
|
|
55
56
|
authorizedUser: {
|
|
56
|
-
firstName: "
|
|
57
|
-
lastName: "
|
|
57
|
+
firstName: "Milton",
|
|
58
|
+
lastName: "Stiedemann",
|
|
58
59
|
birthDate: {
|
|
59
60
|
day: 9,
|
|
60
61
|
month: 11,
|
|
@@ -72,20 +73,11 @@ async function run() {
|
|
|
72
73
|
amount: 10000,
|
|
73
74
|
interval: "per-transaction",
|
|
74
75
|
},
|
|
75
|
-
{
|
|
76
|
-
amount: 10000,
|
|
77
|
-
interval: "per-transaction",
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
amount: 10000,
|
|
81
|
-
interval: "per-transaction",
|
|
82
|
-
},
|
|
83
76
|
],
|
|
84
77
|
},
|
|
85
78
|
},
|
|
86
79
|
});
|
|
87
80
|
|
|
88
|
-
// Handle the result
|
|
89
81
|
console.log(result);
|
|
90
82
|
}
|
|
91
83
|
|
|
@@ -103,6 +95,7 @@ import { cardIssuingRequest } from "@moovio/sdk/funcs/cardIssuingRequest.js";
|
|
|
103
95
|
// Use `MoovCore` for best tree-shaking performance.
|
|
104
96
|
// You can create one instance of it to use across an application.
|
|
105
97
|
const moov = new MoovCore({
|
|
98
|
+
xMoovVersion: "v2024.01.00",
|
|
106
99
|
security: {
|
|
107
100
|
username: "",
|
|
108
101
|
password: "",
|
|
@@ -111,12 +104,12 @@ const moov = new MoovCore({
|
|
|
111
104
|
|
|
112
105
|
async function run() {
|
|
113
106
|
const res = await cardIssuingRequest(moov, {
|
|
114
|
-
accountID: "
|
|
107
|
+
accountID: "d9ac71ae-fccb-4dfc-9fed-710ca654e3ed",
|
|
115
108
|
requestCard: {
|
|
116
|
-
fundingWalletID: "
|
|
109
|
+
fundingWalletID: "fd98e3b2-696f-4f67-9250-17b3474ababf",
|
|
117
110
|
authorizedUser: {
|
|
118
|
-
firstName: "
|
|
119
|
-
lastName: "
|
|
111
|
+
firstName: "Milton",
|
|
112
|
+
lastName: "Stiedemann",
|
|
120
113
|
birthDate: {
|
|
121
114
|
day: 9,
|
|
122
115
|
month: 11,
|
|
@@ -134,27 +127,16 @@ async function run() {
|
|
|
134
127
|
amount: 10000,
|
|
135
128
|
interval: "per-transaction",
|
|
136
129
|
},
|
|
137
|
-
{
|
|
138
|
-
amount: 10000,
|
|
139
|
-
interval: "per-transaction",
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
amount: 10000,
|
|
143
|
-
interval: "per-transaction",
|
|
144
|
-
},
|
|
145
130
|
],
|
|
146
131
|
},
|
|
147
132
|
},
|
|
148
133
|
});
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
134
|
+
if (res.ok) {
|
|
135
|
+
const { value: result } = res;
|
|
136
|
+
console.log(result);
|
|
137
|
+
} else {
|
|
138
|
+
console.log("cardIssuingRequest failed:", res.error);
|
|
152
139
|
}
|
|
153
|
-
|
|
154
|
-
const { value: result } = res;
|
|
155
|
-
|
|
156
|
-
// Handle the result
|
|
157
|
-
console.log(result);
|
|
158
140
|
}
|
|
159
141
|
|
|
160
142
|
run();
|
|
@@ -194,6 +176,7 @@ you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
|
|
|
194
176
|
import { Moov } from "@moovio/sdk";
|
|
195
177
|
|
|
196
178
|
const moov = new Moov({
|
|
179
|
+
xMoovVersion: "v2024.01.00",
|
|
197
180
|
security: {
|
|
198
181
|
username: "",
|
|
199
182
|
password: "",
|
|
@@ -202,12 +185,11 @@ const moov = new Moov({
|
|
|
202
185
|
|
|
203
186
|
async function run() {
|
|
204
187
|
const result = await moov.cardIssuing.list({
|
|
205
|
-
accountID: "
|
|
188
|
+
accountID: "17c958e0-3abe-46e5-8afb-98742f1fb8ac",
|
|
206
189
|
skip: 60,
|
|
207
190
|
count: 20,
|
|
208
191
|
});
|
|
209
192
|
|
|
210
|
-
// Handle the result
|
|
211
193
|
console.log(result);
|
|
212
194
|
}
|
|
213
195
|
|
|
@@ -225,6 +207,7 @@ import { cardIssuingList } from "@moovio/sdk/funcs/cardIssuingList.js";
|
|
|
225
207
|
// Use `MoovCore` for best tree-shaking performance.
|
|
226
208
|
// You can create one instance of it to use across an application.
|
|
227
209
|
const moov = new MoovCore({
|
|
210
|
+
xMoovVersion: "v2024.01.00",
|
|
228
211
|
security: {
|
|
229
212
|
username: "",
|
|
230
213
|
password: "",
|
|
@@ -233,19 +216,16 @@ const moov = new MoovCore({
|
|
|
233
216
|
|
|
234
217
|
async function run() {
|
|
235
218
|
const res = await cardIssuingList(moov, {
|
|
236
|
-
accountID: "
|
|
219
|
+
accountID: "17c958e0-3abe-46e5-8afb-98742f1fb8ac",
|
|
237
220
|
skip: 60,
|
|
238
221
|
count: 20,
|
|
239
222
|
});
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
223
|
+
if (res.ok) {
|
|
224
|
+
const { value: result } = res;
|
|
225
|
+
console.log(result);
|
|
226
|
+
} else {
|
|
227
|
+
console.log("cardIssuingList failed:", res.error);
|
|
243
228
|
}
|
|
244
|
-
|
|
245
|
-
const { value: result } = res;
|
|
246
|
-
|
|
247
|
-
// Handle the result
|
|
248
|
-
console.log(result);
|
|
249
229
|
}
|
|
250
230
|
|
|
251
231
|
run();
|
|
@@ -283,6 +263,7 @@ you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
|
|
|
283
263
|
import { Moov } from "@moovio/sdk";
|
|
284
264
|
|
|
285
265
|
const moov = new Moov({
|
|
266
|
+
xMoovVersion: "v2024.01.00",
|
|
286
267
|
security: {
|
|
287
268
|
username: "",
|
|
288
269
|
password: "",
|
|
@@ -291,11 +272,10 @@ const moov = new Moov({
|
|
|
291
272
|
|
|
292
273
|
async function run() {
|
|
293
274
|
const result = await moov.cardIssuing.get({
|
|
294
|
-
accountID: "
|
|
295
|
-
issuedCardID: "
|
|
275
|
+
accountID: "4fde8da4-b6c5-4379-82a2-4ff6a742e41a",
|
|
276
|
+
issuedCardID: "d04885c9-ea6b-43a7-9186-63d9fbd57716",
|
|
296
277
|
});
|
|
297
278
|
|
|
298
|
-
// Handle the result
|
|
299
279
|
console.log(result);
|
|
300
280
|
}
|
|
301
281
|
|
|
@@ -313,6 +293,7 @@ import { cardIssuingGet } from "@moovio/sdk/funcs/cardIssuingGet.js";
|
|
|
313
293
|
// Use `MoovCore` for best tree-shaking performance.
|
|
314
294
|
// You can create one instance of it to use across an application.
|
|
315
295
|
const moov = new MoovCore({
|
|
296
|
+
xMoovVersion: "v2024.01.00",
|
|
316
297
|
security: {
|
|
317
298
|
username: "",
|
|
318
299
|
password: "",
|
|
@@ -321,18 +302,15 @@ const moov = new MoovCore({
|
|
|
321
302
|
|
|
322
303
|
async function run() {
|
|
323
304
|
const res = await cardIssuingGet(moov, {
|
|
324
|
-
accountID: "
|
|
325
|
-
issuedCardID: "
|
|
305
|
+
accountID: "4fde8da4-b6c5-4379-82a2-4ff6a742e41a",
|
|
306
|
+
issuedCardID: "d04885c9-ea6b-43a7-9186-63d9fbd57716",
|
|
326
307
|
});
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
308
|
+
if (res.ok) {
|
|
309
|
+
const { value: result } = res;
|
|
310
|
+
console.log(result);
|
|
311
|
+
} else {
|
|
312
|
+
console.log("cardIssuingGet failed:", res.error);
|
|
330
313
|
}
|
|
331
|
-
|
|
332
|
-
const { value: result } = res;
|
|
333
|
-
|
|
334
|
-
// Handle the result
|
|
335
|
-
console.log(result);
|
|
336
314
|
}
|
|
337
315
|
|
|
338
316
|
run();
|
|
@@ -370,6 +348,7 @@ you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.
|
|
|
370
348
|
import { Moov } from "@moovio/sdk";
|
|
371
349
|
|
|
372
350
|
const moov = new Moov({
|
|
351
|
+
xMoovVersion: "v2024.01.00",
|
|
373
352
|
security: {
|
|
374
353
|
username: "",
|
|
375
354
|
password: "",
|
|
@@ -378,8 +357,8 @@ const moov = new Moov({
|
|
|
378
357
|
|
|
379
358
|
async function run() {
|
|
380
359
|
const result = await moov.cardIssuing.update({
|
|
381
|
-
accountID: "
|
|
382
|
-
issuedCardID: "
|
|
360
|
+
accountID: "44db31bc-2813-424b-9b8c-2d3f5f1300e3",
|
|
361
|
+
issuedCardID: "69ca2a7e-7bbc-4176-9d0c-2a1aa7143006",
|
|
383
362
|
updateIssuedCard: {
|
|
384
363
|
authorizedUser: {
|
|
385
364
|
birthDate: {
|
|
@@ -391,7 +370,6 @@ async function run() {
|
|
|
391
370
|
},
|
|
392
371
|
});
|
|
393
372
|
|
|
394
|
-
// Handle the result
|
|
395
373
|
console.log(result);
|
|
396
374
|
}
|
|
397
375
|
|
|
@@ -409,6 +387,7 @@ import { cardIssuingUpdate } from "@moovio/sdk/funcs/cardIssuingUpdate.js";
|
|
|
409
387
|
// Use `MoovCore` for best tree-shaking performance.
|
|
410
388
|
// You can create one instance of it to use across an application.
|
|
411
389
|
const moov = new MoovCore({
|
|
390
|
+
xMoovVersion: "v2024.01.00",
|
|
412
391
|
security: {
|
|
413
392
|
username: "",
|
|
414
393
|
password: "",
|
|
@@ -417,8 +396,8 @@ const moov = new MoovCore({
|
|
|
417
396
|
|
|
418
397
|
async function run() {
|
|
419
398
|
const res = await cardIssuingUpdate(moov, {
|
|
420
|
-
accountID: "
|
|
421
|
-
issuedCardID: "
|
|
399
|
+
accountID: "44db31bc-2813-424b-9b8c-2d3f5f1300e3",
|
|
400
|
+
issuedCardID: "69ca2a7e-7bbc-4176-9d0c-2a1aa7143006",
|
|
422
401
|
updateIssuedCard: {
|
|
423
402
|
authorizedUser: {
|
|
424
403
|
birthDate: {
|
|
@@ -429,15 +408,12 @@ async function run() {
|
|
|
429
408
|
},
|
|
430
409
|
},
|
|
431
410
|
});
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
411
|
+
if (res.ok) {
|
|
412
|
+
const { value: result } = res;
|
|
413
|
+
console.log(result);
|
|
414
|
+
} else {
|
|
415
|
+
console.log("cardIssuingUpdate failed:", res.error);
|
|
435
416
|
}
|
|
436
|
-
|
|
437
|
-
const { value: result } = res;
|
|
438
|
-
|
|
439
|
-
// Handle the result
|
|
440
|
-
console.log(result);
|
|
441
417
|
}
|
|
442
418
|
|
|
443
419
|
run();
|
|
@@ -479,6 +455,7 @@ you'll need to specify the `/accounts/{accountID}/issued-cards.read-secure` scop
|
|
|
479
455
|
import { Moov } from "@moovio/sdk";
|
|
480
456
|
|
|
481
457
|
const moov = new Moov({
|
|
458
|
+
xMoovVersion: "v2024.01.00",
|
|
482
459
|
security: {
|
|
483
460
|
username: "",
|
|
484
461
|
password: "",
|
|
@@ -487,11 +464,10 @@ const moov = new Moov({
|
|
|
487
464
|
|
|
488
465
|
async function run() {
|
|
489
466
|
const result = await moov.cardIssuing.getFull({
|
|
490
|
-
accountID: "
|
|
491
|
-
issuedCardID: "
|
|
467
|
+
accountID: "512052fb-5e2c-4d24-98dd-fa893c9d8a03",
|
|
468
|
+
issuedCardID: "087ecc51-11fe-4471-a3bb-44f20c1e87a9",
|
|
492
469
|
});
|
|
493
470
|
|
|
494
|
-
// Handle the result
|
|
495
471
|
console.log(result);
|
|
496
472
|
}
|
|
497
473
|
|
|
@@ -509,6 +485,7 @@ import { cardIssuingGetFull } from "@moovio/sdk/funcs/cardIssuingGetFull.js";
|
|
|
509
485
|
// Use `MoovCore` for best tree-shaking performance.
|
|
510
486
|
// You can create one instance of it to use across an application.
|
|
511
487
|
const moov = new MoovCore({
|
|
488
|
+
xMoovVersion: "v2024.01.00",
|
|
512
489
|
security: {
|
|
513
490
|
username: "",
|
|
514
491
|
password: "",
|
|
@@ -517,18 +494,15 @@ const moov = new MoovCore({
|
|
|
517
494
|
|
|
518
495
|
async function run() {
|
|
519
496
|
const res = await cardIssuingGetFull(moov, {
|
|
520
|
-
accountID: "
|
|
521
|
-
issuedCardID: "
|
|
497
|
+
accountID: "512052fb-5e2c-4d24-98dd-fa893c9d8a03",
|
|
498
|
+
issuedCardID: "087ecc51-11fe-4471-a3bb-44f20c1e87a9",
|
|
522
499
|
});
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
500
|
+
if (res.ok) {
|
|
501
|
+
const { value: result } = res;
|
|
502
|
+
console.log(result);
|
|
503
|
+
} else {
|
|
504
|
+
console.log("cardIssuingGetFull failed:", res.error);
|
|
526
505
|
}
|
|
527
|
-
|
|
528
|
-
const { value: result } = res;
|
|
529
|
-
|
|
530
|
-
// Handle the result
|
|
531
|
-
console.log(result);
|
|
532
506
|
}
|
|
533
507
|
|
|
534
508
|
run();
|
|
@@ -80,6 +80,7 @@ you'll need to specify the `/accounts/{accountID}/cards.write` scope.
|
|
|
80
80
|
import { Moov } from "@moovio/sdk";
|
|
81
81
|
|
|
82
82
|
const moov = new Moov({
|
|
83
|
+
xMoovVersion: "v2024.01.00",
|
|
83
84
|
security: {
|
|
84
85
|
username: "",
|
|
85
86
|
password: "",
|
|
@@ -89,7 +90,7 @@ const moov = new Moov({
|
|
|
89
90
|
async function run() {
|
|
90
91
|
const result = await moov.cards.link({
|
|
91
92
|
xWaitFor: "payment-method",
|
|
92
|
-
accountID: "
|
|
93
|
+
accountID: "5593e46f-7936-474b-a52b-96f1da46867b",
|
|
93
94
|
linkCard: {
|
|
94
95
|
cardNumber: "4111111111111111",
|
|
95
96
|
cardCvv: "123",
|
|
@@ -104,7 +105,6 @@ async function run() {
|
|
|
104
105
|
},
|
|
105
106
|
});
|
|
106
107
|
|
|
107
|
-
// Handle the result
|
|
108
108
|
console.log(result);
|
|
109
109
|
}
|
|
110
110
|
|
|
@@ -122,6 +122,7 @@ import { cardsLink } from "@moovio/sdk/funcs/cardsLink.js";
|
|
|
122
122
|
// Use `MoovCore` for best tree-shaking performance.
|
|
123
123
|
// You can create one instance of it to use across an application.
|
|
124
124
|
const moov = new MoovCore({
|
|
125
|
+
xMoovVersion: "v2024.01.00",
|
|
125
126
|
security: {
|
|
126
127
|
username: "",
|
|
127
128
|
password: "",
|
|
@@ -131,7 +132,7 @@ const moov = new MoovCore({
|
|
|
131
132
|
async function run() {
|
|
132
133
|
const res = await cardsLink(moov, {
|
|
133
134
|
xWaitFor: "payment-method",
|
|
134
|
-
accountID: "
|
|
135
|
+
accountID: "5593e46f-7936-474b-a52b-96f1da46867b",
|
|
135
136
|
linkCard: {
|
|
136
137
|
cardNumber: "4111111111111111",
|
|
137
138
|
cardCvv: "123",
|
|
@@ -145,15 +146,12 @@ async function run() {
|
|
|
145
146
|
},
|
|
146
147
|
},
|
|
147
148
|
});
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
if (res.ok) {
|
|
150
|
+
const { value: result } = res;
|
|
151
|
+
console.log(result);
|
|
152
|
+
} else {
|
|
153
|
+
console.log("cardsLink failed:", res.error);
|
|
151
154
|
}
|
|
152
|
-
|
|
153
|
-
const { value: result } = res;
|
|
154
|
-
|
|
155
|
-
// Handle the result
|
|
156
|
-
console.log(result);
|
|
157
155
|
}
|
|
158
156
|
|
|
159
157
|
run();
|
|
@@ -195,6 +193,7 @@ you'll need to specify the `/accounts/{accountID}/cards.read` scope.
|
|
|
195
193
|
import { Moov } from "@moovio/sdk";
|
|
196
194
|
|
|
197
195
|
const moov = new Moov({
|
|
196
|
+
xMoovVersion: "v2024.01.00",
|
|
198
197
|
security: {
|
|
199
198
|
username: "",
|
|
200
199
|
password: "",
|
|
@@ -203,10 +202,9 @@ const moov = new Moov({
|
|
|
203
202
|
|
|
204
203
|
async function run() {
|
|
205
204
|
const result = await moov.cards.list({
|
|
206
|
-
accountID: "
|
|
205
|
+
accountID: "b902712f-8ab9-47ba-b39f-5ccfbcac528c",
|
|
207
206
|
});
|
|
208
207
|
|
|
209
|
-
// Handle the result
|
|
210
208
|
console.log(result);
|
|
211
209
|
}
|
|
212
210
|
|
|
@@ -224,6 +222,7 @@ import { cardsList } from "@moovio/sdk/funcs/cardsList.js";
|
|
|
224
222
|
// Use `MoovCore` for best tree-shaking performance.
|
|
225
223
|
// You can create one instance of it to use across an application.
|
|
226
224
|
const moov = new MoovCore({
|
|
225
|
+
xMoovVersion: "v2024.01.00",
|
|
227
226
|
security: {
|
|
228
227
|
username: "",
|
|
229
228
|
password: "",
|
|
@@ -232,17 +231,14 @@ const moov = new MoovCore({
|
|
|
232
231
|
|
|
233
232
|
async function run() {
|
|
234
233
|
const res = await cardsList(moov, {
|
|
235
|
-
accountID: "
|
|
234
|
+
accountID: "b902712f-8ab9-47ba-b39f-5ccfbcac528c",
|
|
236
235
|
});
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
236
|
+
if (res.ok) {
|
|
237
|
+
const { value: result } = res;
|
|
238
|
+
console.log(result);
|
|
239
|
+
} else {
|
|
240
|
+
console.log("cardsList failed:", res.error);
|
|
240
241
|
}
|
|
241
|
-
|
|
242
|
-
const { value: result } = res;
|
|
243
|
-
|
|
244
|
-
// Handle the result
|
|
245
|
-
console.log(result);
|
|
246
242
|
}
|
|
247
243
|
|
|
248
244
|
run();
|
|
@@ -282,6 +278,7 @@ you'll need to specify the `/accounts/{accountID}/cards.read` scope.
|
|
|
282
278
|
import { Moov } from "@moovio/sdk";
|
|
283
279
|
|
|
284
280
|
const moov = new Moov({
|
|
281
|
+
xMoovVersion: "v2024.01.00",
|
|
285
282
|
security: {
|
|
286
283
|
username: "",
|
|
287
284
|
password: "",
|
|
@@ -290,11 +287,10 @@ const moov = new Moov({
|
|
|
290
287
|
|
|
291
288
|
async function run() {
|
|
292
289
|
const result = await moov.cards.get({
|
|
293
|
-
accountID: "
|
|
290
|
+
accountID: "1f590cf9-4db9-4241-8818-30f9c26362e8",
|
|
294
291
|
cardID: "01234567-89ab-cdef-0123-456789abcdef",
|
|
295
292
|
});
|
|
296
293
|
|
|
297
|
-
// Handle the result
|
|
298
294
|
console.log(result);
|
|
299
295
|
}
|
|
300
296
|
|
|
@@ -312,6 +308,7 @@ import { cardsGet } from "@moovio/sdk/funcs/cardsGet.js";
|
|
|
312
308
|
// Use `MoovCore` for best tree-shaking performance.
|
|
313
309
|
// You can create one instance of it to use across an application.
|
|
314
310
|
const moov = new MoovCore({
|
|
311
|
+
xMoovVersion: "v2024.01.00",
|
|
315
312
|
security: {
|
|
316
313
|
username: "",
|
|
317
314
|
password: "",
|
|
@@ -320,18 +317,15 @@ const moov = new MoovCore({
|
|
|
320
317
|
|
|
321
318
|
async function run() {
|
|
322
319
|
const res = await cardsGet(moov, {
|
|
323
|
-
accountID: "
|
|
320
|
+
accountID: "1f590cf9-4db9-4241-8818-30f9c26362e8",
|
|
324
321
|
cardID: "01234567-89ab-cdef-0123-456789abcdef",
|
|
325
322
|
});
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
323
|
+
if (res.ok) {
|
|
324
|
+
const { value: result } = res;
|
|
325
|
+
console.log(result);
|
|
326
|
+
} else {
|
|
327
|
+
console.log("cardsGet failed:", res.error);
|
|
329
328
|
}
|
|
330
|
-
|
|
331
|
-
const { value: result } = res;
|
|
332
|
-
|
|
333
|
-
// Handle the result
|
|
334
|
-
console.log(result);
|
|
335
329
|
}
|
|
336
330
|
|
|
337
331
|
run();
|
|
@@ -378,6 +372,7 @@ you'll need to specify the `/accounts/{accountID}/cards.write` scope.
|
|
|
378
372
|
import { Moov } from "@moovio/sdk";
|
|
379
373
|
|
|
380
374
|
const moov = new Moov({
|
|
375
|
+
xMoovVersion: "v2024.01.00",
|
|
381
376
|
security: {
|
|
382
377
|
username: "",
|
|
383
378
|
password: "",
|
|
@@ -386,29 +381,13 @@ const moov = new Moov({
|
|
|
386
381
|
|
|
387
382
|
async function run() {
|
|
388
383
|
const result = await moov.cards.update({
|
|
389
|
-
accountID: "
|
|
384
|
+
accountID: "7104688e-8434-482e-9556-4784be3ad3fe",
|
|
390
385
|
cardID: "01234567-89ab-cdef-0123-456789abcdef",
|
|
391
386
|
updateCard: {
|
|
392
|
-
e2ee: {
|
|
393
|
-
token: "eyJhbGciOiJFQ0RILUVTK0EyNTZLVyIsImVuYyI6IkEyNTZHQ00iLCJlcGsiOnsia3R5IjoiRUMiLCJjcnYiOiJQLTUyMSIsIngiOiJBS0NYVDM1WVdvTm8wbzExNy1SU0dqUGg3alN1NjFmLUhnYkx1dW0xVG1ueTRlcW5yX2hyU0hpY0w1d3gwODRCWDBRZjVTdEtkRUoydzY2ZUJqWHprRV9OIiwieSI6IkFIMEJfT2RaYTQtbG43dGJ4M3VBdlc1NDNQRE9HUXBCTDloRFFNWjlTQXNfOW05UWN3dnhRd1hrb1VrM3VzT1FnVV9ySVFrNFRoZ1NTUzV4UlhKcm5ZaTkifSwia2lkIjoiYmRvV3pLekpKUGw0TVFIaENDa05WYTZlZ1dmYi02V1haSjZKTFZqQ0hWMD0ifQ.HalyoHsfufBJEODd2lD9ThQvvVWw3b2kgWDLHGxmHhMv8rODyLL_Ug.rpQP178t8Ed_pUU2.Sn9UFeVoegAxiMUv11q7l3M0y9YHSLYi2n_JB7n7Pc777_47-icfaxstJemT0IC81w.akkq1EBxzWkBr4vEomSpWA",
|
|
394
|
-
},
|
|
395
|
-
billingAddress: {
|
|
396
|
-
addressLine1: "123 Main Street",
|
|
397
|
-
addressLine2: "Apt 302",
|
|
398
|
-
city: "Boulder",
|
|
399
|
-
stateOrProvince: "CO",
|
|
400
|
-
postalCode: "80301",
|
|
401
|
-
country: "US",
|
|
402
|
-
},
|
|
403
|
-
expiration: {
|
|
404
|
-
month: "01",
|
|
405
|
-
year: "21",
|
|
406
|
-
},
|
|
407
387
|
cardCvv: "456",
|
|
408
388
|
},
|
|
409
389
|
});
|
|
410
390
|
|
|
411
|
-
// Handle the result
|
|
412
391
|
console.log(result);
|
|
413
392
|
}
|
|
414
393
|
|
|
@@ -426,6 +405,7 @@ import { cardsUpdate } from "@moovio/sdk/funcs/cardsUpdate.js";
|
|
|
426
405
|
// Use `MoovCore` for best tree-shaking performance.
|
|
427
406
|
// You can create one instance of it to use across an application.
|
|
428
407
|
const moov = new MoovCore({
|
|
408
|
+
xMoovVersion: "v2024.01.00",
|
|
429
409
|
security: {
|
|
430
410
|
username: "",
|
|
431
411
|
password: "",
|
|
@@ -434,36 +414,18 @@ const moov = new MoovCore({
|
|
|
434
414
|
|
|
435
415
|
async function run() {
|
|
436
416
|
const res = await cardsUpdate(moov, {
|
|
437
|
-
accountID: "
|
|
417
|
+
accountID: "7104688e-8434-482e-9556-4784be3ad3fe",
|
|
438
418
|
cardID: "01234567-89ab-cdef-0123-456789abcdef",
|
|
439
419
|
updateCard: {
|
|
440
|
-
e2ee: {
|
|
441
|
-
token: "eyJhbGciOiJFQ0RILUVTK0EyNTZLVyIsImVuYyI6IkEyNTZHQ00iLCJlcGsiOnsia3R5IjoiRUMiLCJjcnYiOiJQLTUyMSIsIngiOiJBS0NYVDM1WVdvTm8wbzExNy1SU0dqUGg3alN1NjFmLUhnYkx1dW0xVG1ueTRlcW5yX2hyU0hpY0w1d3gwODRCWDBRZjVTdEtkRUoydzY2ZUJqWHprRV9OIiwieSI6IkFIMEJfT2RaYTQtbG43dGJ4M3VBdlc1NDNQRE9HUXBCTDloRFFNWjlTQXNfOW05UWN3dnhRd1hrb1VrM3VzT1FnVV9ySVFrNFRoZ1NTUzV4UlhKcm5ZaTkifSwia2lkIjoiYmRvV3pLekpKUGw0TVFIaENDa05WYTZlZ1dmYi02V1haSjZKTFZqQ0hWMD0ifQ.HalyoHsfufBJEODd2lD9ThQvvVWw3b2kgWDLHGxmHhMv8rODyLL_Ug.rpQP178t8Ed_pUU2.Sn9UFeVoegAxiMUv11q7l3M0y9YHSLYi2n_JB7n7Pc777_47-icfaxstJemT0IC81w.akkq1EBxzWkBr4vEomSpWA",
|
|
442
|
-
},
|
|
443
|
-
billingAddress: {
|
|
444
|
-
addressLine1: "123 Main Street",
|
|
445
|
-
addressLine2: "Apt 302",
|
|
446
|
-
city: "Boulder",
|
|
447
|
-
stateOrProvince: "CO",
|
|
448
|
-
postalCode: "80301",
|
|
449
|
-
country: "US",
|
|
450
|
-
},
|
|
451
|
-
expiration: {
|
|
452
|
-
month: "01",
|
|
453
|
-
year: "21",
|
|
454
|
-
},
|
|
455
420
|
cardCvv: "456",
|
|
456
421
|
},
|
|
457
422
|
});
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
423
|
+
if (res.ok) {
|
|
424
|
+
const { value: result } = res;
|
|
425
|
+
console.log(result);
|
|
426
|
+
} else {
|
|
427
|
+
console.log("cardsUpdate failed:", res.error);
|
|
461
428
|
}
|
|
462
|
-
|
|
463
|
-
const { value: result } = res;
|
|
464
|
-
|
|
465
|
-
// Handle the result
|
|
466
|
-
console.log(result);
|
|
467
429
|
}
|
|
468
430
|
|
|
469
431
|
run();
|
|
@@ -503,6 +465,7 @@ you'll need to specify the `/accounts/{accountID}/cards.write` scope.
|
|
|
503
465
|
import { Moov } from "@moovio/sdk";
|
|
504
466
|
|
|
505
467
|
const moov = new Moov({
|
|
468
|
+
xMoovVersion: "v2024.01.00",
|
|
506
469
|
security: {
|
|
507
470
|
username: "",
|
|
508
471
|
password: "",
|
|
@@ -511,11 +474,10 @@ const moov = new Moov({
|
|
|
511
474
|
|
|
512
475
|
async function run() {
|
|
513
476
|
const result = await moov.cards.disable({
|
|
514
|
-
accountID: "
|
|
477
|
+
accountID: "bbd12cb2-58f4-46e5-861d-1e6c4617c0c2",
|
|
515
478
|
cardID: "01234567-89ab-cdef-0123-456789abcdef",
|
|
516
479
|
});
|
|
517
480
|
|
|
518
|
-
// Handle the result
|
|
519
481
|
console.log(result);
|
|
520
482
|
}
|
|
521
483
|
|
|
@@ -533,6 +495,7 @@ import { cardsDisable } from "@moovio/sdk/funcs/cardsDisable.js";
|
|
|
533
495
|
// Use `MoovCore` for best tree-shaking performance.
|
|
534
496
|
// You can create one instance of it to use across an application.
|
|
535
497
|
const moov = new MoovCore({
|
|
498
|
+
xMoovVersion: "v2024.01.00",
|
|
536
499
|
security: {
|
|
537
500
|
username: "",
|
|
538
501
|
password: "",
|
|
@@ -541,18 +504,15 @@ const moov = new MoovCore({
|
|
|
541
504
|
|
|
542
505
|
async function run() {
|
|
543
506
|
const res = await cardsDisable(moov, {
|
|
544
|
-
accountID: "
|
|
507
|
+
accountID: "bbd12cb2-58f4-46e5-861d-1e6c4617c0c2",
|
|
545
508
|
cardID: "01234567-89ab-cdef-0123-456789abcdef",
|
|
546
509
|
});
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
510
|
+
if (res.ok) {
|
|
511
|
+
const { value: result } = res;
|
|
512
|
+
console.log(result);
|
|
513
|
+
} else {
|
|
514
|
+
console.log("cardsDisable failed:", res.error);
|
|
550
515
|
}
|
|
551
|
-
|
|
552
|
-
const { value: result } = res;
|
|
553
|
-
|
|
554
|
-
// Handle the result
|
|
555
|
-
console.log(result);
|
|
556
516
|
}
|
|
557
517
|
|
|
558
518
|
run();
|