@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
|
@@ -128,6 +128,7 @@ async function $do(
|
|
|
128
128
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
129
129
|
|
|
130
130
|
const context = {
|
|
131
|
+
options: client._options,
|
|
131
132
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
132
133
|
operationID: "listWalletTransactions",
|
|
133
134
|
oAuth2Scopes: [],
|
|
@@ -149,6 +150,7 @@ async function $do(
|
|
|
149
150
|
headers: headers,
|
|
150
151
|
query: query,
|
|
151
152
|
body: body,
|
|
153
|
+
userAgent: client._options.userAgent,
|
|
152
154
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
153
155
|
}, options);
|
|
154
156
|
if (!requestRes.ok) {
|
package/src/funcs/walletsGet.ts
CHANGED
|
@@ -112,6 +112,7 @@ async function $do(
|
|
|
112
112
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
113
113
|
|
|
114
114
|
const context = {
|
|
115
|
+
options: client._options,
|
|
115
116
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
116
117
|
operationID: "getWallet",
|
|
117
118
|
oAuth2Scopes: [],
|
|
@@ -132,6 +133,7 @@ async function $do(
|
|
|
132
133
|
path: path,
|
|
133
134
|
headers: headers,
|
|
134
135
|
body: body,
|
|
136
|
+
userAgent: client._options.userAgent,
|
|
135
137
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
136
138
|
}, options);
|
|
137
139
|
if (!requestRes.ok) {
|
package/src/funcs/walletsList.ts
CHANGED
|
@@ -106,6 +106,7 @@ async function $do(
|
|
|
106
106
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
107
107
|
|
|
108
108
|
const context = {
|
|
109
|
+
options: client._options,
|
|
109
110
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
110
111
|
operationID: "listWallets",
|
|
111
112
|
oAuth2Scopes: [],
|
|
@@ -126,6 +127,7 @@ async function $do(
|
|
|
126
127
|
path: path,
|
|
127
128
|
headers: headers,
|
|
128
129
|
body: body,
|
|
130
|
+
userAgent: client._options.userAgent,
|
|
129
131
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
130
132
|
}, options);
|
|
131
133
|
if (!requestRes.ok) {
|
package/src/hooks/types.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { SDKOptions } from "../lib/config.js";
|
|
5
6
|
import { HTTPClient, RequestInput } from "../lib/http.js";
|
|
6
7
|
import { RetryConfig } from "../lib/retries.js";
|
|
7
8
|
import { SecurityState } from "../lib/security.js";
|
|
@@ -13,6 +14,7 @@ export type HookContext = {
|
|
|
13
14
|
securitySource?: any | (() => Promise<any>);
|
|
14
15
|
retryConfig: RetryConfig;
|
|
15
16
|
resolvedSecurity: SecurityState | null;
|
|
17
|
+
options: SDKOptions;
|
|
16
18
|
};
|
|
17
19
|
|
|
18
20
|
export type Awaitable<T> = T | Promise<T>;
|
package/src/index.ts
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -41,6 +41,10 @@ export type SDKOptions = {
|
|
|
41
41
|
* Allows overriding the default server URL used by the SDK
|
|
42
42
|
*/
|
|
43
43
|
serverURL?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Allows overriding the default user agent used by the SDK
|
|
46
|
+
*/
|
|
47
|
+
userAgent?: string | undefined;
|
|
44
48
|
/**
|
|
45
49
|
* Allows overriding the default retry config used by the SDK
|
|
46
50
|
*/
|
|
@@ -69,7 +73,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
69
73
|
export const SDK_METADATA = {
|
|
70
74
|
language: "typescript",
|
|
71
75
|
openapiDocVersion: "latest",
|
|
72
|
-
sdkVersion: "0.
|
|
73
|
-
genVersion: "2.
|
|
74
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
76
|
+
sdkVersion: "0.12.1",
|
|
77
|
+
genVersion: "2.621.3",
|
|
78
|
+
userAgent: "speakeasy-sdk/typescript 0.12.1 2.621.3 latest @moovio/sdk",
|
|
75
79
|
} as const;
|
package/src/lib/sdks.ts
CHANGED
|
@@ -64,6 +64,7 @@ type RequestConfig = {
|
|
|
64
64
|
headers?: HeadersInit;
|
|
65
65
|
security?: SecurityState | null;
|
|
66
66
|
uaHeader?: string;
|
|
67
|
+
userAgent?: string | undefined;
|
|
67
68
|
timeoutMs?: number;
|
|
68
69
|
};
|
|
69
70
|
|
|
@@ -95,19 +96,21 @@ export class ClientSDK {
|
|
|
95
96
|
} else {
|
|
96
97
|
this.#hooks = new SDKHooks();
|
|
97
98
|
}
|
|
98
|
-
this._options = { ...options, hooks: this.#hooks };
|
|
99
|
-
|
|
100
99
|
const url = serverURLFromOptions(options);
|
|
101
100
|
if (url) {
|
|
102
101
|
url.pathname = url.pathname.replace(/\/+$/, "") + "/";
|
|
103
102
|
}
|
|
103
|
+
|
|
104
104
|
const { baseURL, client } = this.#hooks.sdkInit({
|
|
105
105
|
baseURL: url,
|
|
106
106
|
client: options.httpClient || new HTTPClient(),
|
|
107
107
|
});
|
|
108
108
|
this._baseURL = baseURL;
|
|
109
109
|
this.#httpClient = client;
|
|
110
|
-
|
|
110
|
+
|
|
111
|
+
this._options = { ...options, hooks: this.#hooks };
|
|
112
|
+
|
|
113
|
+
this.#logger = this._options.debugLogger;
|
|
111
114
|
}
|
|
112
115
|
|
|
113
116
|
public _createRequest(
|
|
@@ -180,7 +183,10 @@ export class ClientSDK {
|
|
|
180
183
|
// Only set user agent header in non-browser-like environments since CORS
|
|
181
184
|
// policy disallows setting it in browsers e.g. Chrome throws an error.
|
|
182
185
|
if (!isBrowserLike) {
|
|
183
|
-
headers.set(
|
|
186
|
+
headers.set(
|
|
187
|
+
conf.uaHeader ?? "user-agent",
|
|
188
|
+
conf.userAgent ?? SDK_METADATA.userAgent,
|
|
189
|
+
);
|
|
184
190
|
}
|
|
185
191
|
|
|
186
192
|
const fetchOptions: Omit<RequestInit, "method" | "body"> = {
|
|
@@ -54,8 +54,8 @@ async function startStdio(flags: StartCommandFlags) {
|
|
|
54
54
|
allowedTools: flags.tool,
|
|
55
55
|
scopes: flags.scope,
|
|
56
56
|
security: allRequired({
|
|
57
|
-
username: flags.username,
|
|
58
|
-
password: flags.password,
|
|
57
|
+
username: flags.username ?? "",
|
|
58
|
+
password: flags.password ?? "",
|
|
59
59
|
}),
|
|
60
60
|
xMoovVersion: flags["x-moov-version"],
|
|
61
61
|
serverURL: flags["server-url"],
|
|
@@ -79,8 +79,8 @@ async function startSSE(flags: StartCommandFlags) {
|
|
|
79
79
|
allowedTools: flags.tool,
|
|
80
80
|
scopes: flags.scope,
|
|
81
81
|
security: allRequired({
|
|
82
|
-
username: flags.username,
|
|
83
|
-
password: flags.password,
|
|
82
|
+
username: flags.username ?? "",
|
|
83
|
+
password: flags.password ?? "",
|
|
84
84
|
}),
|
|
85
85
|
xMoovVersion: flags["x-moov-version"],
|
|
86
86
|
serverURL: flags["server-url"],
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -90,6 +90,7 @@ import { tool$filesList } from "./tools/filesList.js";
|
|
|
90
90
|
import { tool$filesUpload } from "./tools/filesUpload.js";
|
|
91
91
|
import { tool$industriesList } from "./tools/industriesList.js";
|
|
92
92
|
import { tool$institutionsSearch } from "./tools/institutionsSearch.js";
|
|
93
|
+
import { tool$institutionsSearchInstitutions } from "./tools/institutionsSearchInstitutions.js";
|
|
93
94
|
import { tool$issuingTransactionsGet } from "./tools/issuingTransactionsGet.js";
|
|
94
95
|
import { tool$issuingTransactionsGetAuthorization } from "./tools/issuingTransactionsGetAuthorization.js";
|
|
95
96
|
import { tool$issuingTransactionsList } from "./tools/issuingTransactionsList.js";
|
|
@@ -160,7 +161,7 @@ export function createMCPServer(deps: {
|
|
|
160
161
|
}) {
|
|
161
162
|
const server = new McpServer({
|
|
162
163
|
name: "Moov",
|
|
163
|
-
version: "0.
|
|
164
|
+
version: "0.12.1",
|
|
164
165
|
});
|
|
165
166
|
|
|
166
167
|
const client = new MoovCore({
|
|
@@ -302,6 +303,7 @@ export function createMCPServer(deps: {
|
|
|
302
303
|
tool(tool$enrichedAddressGet);
|
|
303
304
|
tool(tool$enrichedProfileGet);
|
|
304
305
|
tool(tool$industriesList);
|
|
306
|
+
tool(tool$institutionsSearchInstitutions);
|
|
305
307
|
tool(tool$institutionsSearch);
|
|
306
308
|
tool(tool$issuingTransactionsListAuthorizations);
|
|
307
309
|
tool(tool$issuingTransactionsGetAuthorization);
|
|
@@ -13,9 +13,9 @@ const args = {
|
|
|
13
13
|
export const tool$industriesList: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "industries-list",
|
|
15
15
|
description:
|
|
16
|
-
`Returns a list of
|
|
16
|
+
`Returns a list of industries relevant to merchant profile enrichment. Results are ordered by industry name.
|
|
17
17
|
|
|
18
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
18
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
19
19
|
you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
20
20
|
args,
|
|
21
21
|
tool: async (client, args, ctx) => {
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { institutionsSearchInstitutions } from "../../funcs/institutionsSearchInstitutions.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.SearchInstitutionsRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$institutionsSearchInstitutions: ToolDefinition<typeof args> =
|
|
14
|
+
{
|
|
15
|
+
name: "institutions-search-institutions",
|
|
16
|
+
description: `Search for financial institutions by name or routing number.
|
|
17
|
+
|
|
18
|
+
This endpoint returns metadata about each matched institution, including basic identifying details (such as name, routing number, and address) and information about which payment services they support (e.g., ACH, RTP, and Wire).
|
|
19
|
+
|
|
20
|
+
This can be used to validate a financial institution before initiating payment activity, or to check which payment rails are available for a given routing number.
|
|
21
|
+
|
|
22
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
23
|
+
you'll need to specify the \`/institutions.read\` scope.`,
|
|
24
|
+
args,
|
|
25
|
+
tool: async (client, args, ctx) => {
|
|
26
|
+
const [result, apiCall] = await institutionsSearchInstitutions(
|
|
27
|
+
client,
|
|
28
|
+
args.request,
|
|
29
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
30
|
+
).$inspect();
|
|
31
|
+
|
|
32
|
+
if (!result.ok) {
|
|
33
|
+
return {
|
|
34
|
+
content: [{ type: "text", text: result.error.message }],
|
|
35
|
+
isError: true,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
const value = result.value.result;
|
|
40
|
+
|
|
41
|
+
return formatResult(value, apiCall);
|
|
42
|
+
},
|
|
43
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
Address,
|
|
11
|
+
Address$inboundSchema,
|
|
12
|
+
Address$Outbound,
|
|
13
|
+
Address$outboundSchema,
|
|
14
|
+
} from "./address.js";
|
|
15
|
+
import {
|
|
16
|
+
Contact,
|
|
17
|
+
Contact$inboundSchema,
|
|
18
|
+
Contact$Outbound,
|
|
19
|
+
Contact$outboundSchema,
|
|
20
|
+
} from "./contact.js";
|
|
21
|
+
|
|
22
|
+
export type ACHInstitution = {
|
|
23
|
+
/**
|
|
24
|
+
* Name of the financial institution.
|
|
25
|
+
*/
|
|
26
|
+
name: string;
|
|
27
|
+
routingNumber: string;
|
|
28
|
+
address?: Address | undefined;
|
|
29
|
+
contact?: Contact | undefined;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const ACHInstitution$inboundSchema: z.ZodType<
|
|
34
|
+
ACHInstitution,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
unknown
|
|
37
|
+
> = z.object({
|
|
38
|
+
name: z.string(),
|
|
39
|
+
routingNumber: z.string(),
|
|
40
|
+
address: Address$inboundSchema.optional(),
|
|
41
|
+
contact: Contact$inboundSchema.optional(),
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export type ACHInstitution$Outbound = {
|
|
46
|
+
name: string;
|
|
47
|
+
routingNumber: string;
|
|
48
|
+
address?: Address$Outbound | undefined;
|
|
49
|
+
contact?: Contact$Outbound | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const ACHInstitution$outboundSchema: z.ZodType<
|
|
54
|
+
ACHInstitution$Outbound,
|
|
55
|
+
z.ZodTypeDef,
|
|
56
|
+
ACHInstitution
|
|
57
|
+
> = z.object({
|
|
58
|
+
name: z.string(),
|
|
59
|
+
routingNumber: z.string(),
|
|
60
|
+
address: Address$outboundSchema.optional(),
|
|
61
|
+
contact: Contact$outboundSchema.optional(),
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
|
+
*/
|
|
68
|
+
export namespace ACHInstitution$ {
|
|
69
|
+
/** @deprecated use `ACHInstitution$inboundSchema` instead. */
|
|
70
|
+
export const inboundSchema = ACHInstitution$inboundSchema;
|
|
71
|
+
/** @deprecated use `ACHInstitution$outboundSchema` instead. */
|
|
72
|
+
export const outboundSchema = ACHInstitution$outboundSchema;
|
|
73
|
+
/** @deprecated use `ACHInstitution$Outbound` instead. */
|
|
74
|
+
export type Outbound = ACHInstitution$Outbound;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function achInstitutionToJSON(achInstitution: ACHInstitution): string {
|
|
78
|
+
return JSON.stringify(ACHInstitution$outboundSchema.parse(achInstitution));
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function achInstitutionFromJSON(
|
|
82
|
+
jsonString: string,
|
|
83
|
+
): SafeParseResult<ACHInstitution, SDKValidationError> {
|
|
84
|
+
return safeParse(
|
|
85
|
+
jsonString,
|
|
86
|
+
(x) => ACHInstitution$inboundSchema.parse(JSON.parse(x)),
|
|
87
|
+
`Failed to parse 'ACHInstitution' from JSON`,
|
|
88
|
+
);
|
|
89
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
PhoneNumber,
|
|
11
|
+
PhoneNumber$inboundSchema,
|
|
12
|
+
PhoneNumber$Outbound,
|
|
13
|
+
PhoneNumber$outboundSchema,
|
|
14
|
+
} from "./phonenumber.js";
|
|
15
|
+
|
|
16
|
+
export type Contact = {
|
|
17
|
+
phone?: PhoneNumber | undefined;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const Contact$inboundSchema: z.ZodType<Contact, z.ZodTypeDef, unknown> =
|
|
22
|
+
z.object({
|
|
23
|
+
phone: PhoneNumber$inboundSchema.optional(),
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type Contact$Outbound = {
|
|
28
|
+
phone?: PhoneNumber$Outbound | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const Contact$outboundSchema: z.ZodType<
|
|
33
|
+
Contact$Outbound,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
Contact
|
|
36
|
+
> = z.object({
|
|
37
|
+
phone: PhoneNumber$outboundSchema.optional(),
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
+
*/
|
|
44
|
+
export namespace Contact$ {
|
|
45
|
+
/** @deprecated use `Contact$inboundSchema` instead. */
|
|
46
|
+
export const inboundSchema = Contact$inboundSchema;
|
|
47
|
+
/** @deprecated use `Contact$outboundSchema` instead. */
|
|
48
|
+
export const outboundSchema = Contact$outboundSchema;
|
|
49
|
+
/** @deprecated use `Contact$Outbound` instead. */
|
|
50
|
+
export type Outbound = Contact$Outbound;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function contactToJSON(contact: Contact): string {
|
|
54
|
+
return JSON.stringify(Contact$outboundSchema.parse(contact));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function contactFromJSON(
|
|
58
|
+
jsonString: string,
|
|
59
|
+
): SafeParseResult<Contact, SDKValidationError> {
|
|
60
|
+
return safeParse(
|
|
61
|
+
jsonString,
|
|
62
|
+
(x) => Contact$inboundSchema.parse(JSON.parse(x)),
|
|
63
|
+
`Failed to parse 'Contact' from JSON`,
|
|
64
|
+
);
|
|
65
|
+
}
|
|
@@ -7,14 +7,14 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
IndustryTaxonomy,
|
|
11
|
+
IndustryTaxonomy$inboundSchema,
|
|
12
|
+
IndustryTaxonomy$Outbound,
|
|
13
|
+
IndustryTaxonomy$outboundSchema,
|
|
14
|
+
} from "./industrytaxonomy.js";
|
|
15
15
|
|
|
16
16
|
export type EnrichedIndustries = {
|
|
17
|
-
industries: Array<
|
|
17
|
+
industries: Array<IndustryTaxonomy>;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
/** @internal */
|
|
@@ -23,12 +23,12 @@ export const EnrichedIndustries$inboundSchema: z.ZodType<
|
|
|
23
23
|
z.ZodTypeDef,
|
|
24
24
|
unknown
|
|
25
25
|
> = z.object({
|
|
26
|
-
industries: z.array(
|
|
26
|
+
industries: z.array(IndustryTaxonomy$inboundSchema),
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
/** @internal */
|
|
30
30
|
export type EnrichedIndustries$Outbound = {
|
|
31
|
-
industries: Array<
|
|
31
|
+
industries: Array<IndustryTaxonomy$Outbound>;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
/** @internal */
|
|
@@ -37,7 +37,7 @@ export const EnrichedIndustries$outboundSchema: z.ZodType<
|
|
|
37
37
|
z.ZodTypeDef,
|
|
38
38
|
EnrichedIndustries
|
|
39
39
|
> = z.object({
|
|
40
|
-
industries: z.array(
|
|
40
|
+
industries: z.array(IndustryTaxonomy$outboundSchema),
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
/**
|
|
@@ -13,6 +13,7 @@ export * from "./achcreditstandardpaymentmethod.js";
|
|
|
13
13
|
export * from "./achdebitcollectpaymentmethod.js";
|
|
14
14
|
export * from "./achdebitfundpaymentmethod.js";
|
|
15
15
|
export * from "./achexception.js";
|
|
16
|
+
export * from "./achinstitution.js";
|
|
16
17
|
export * from "./achlocation.js";
|
|
17
18
|
export * from "./achparticipant.js";
|
|
18
19
|
export * from "./achpaymentdetails.js";
|
|
@@ -104,6 +105,7 @@ export * from "./colorsvalidationerror.js";
|
|
|
104
105
|
export * from "./completebankaccountverification.js";
|
|
105
106
|
export * from "./completedmicrodeposits.js";
|
|
106
107
|
export * from "./completemicrodeposits.js";
|
|
108
|
+
export * from "./contact.js";
|
|
107
109
|
export * from "./countrieserrors.js";
|
|
108
110
|
export * from "./createaccount.js";
|
|
109
111
|
export * from "./createaccounterror.js";
|
|
@@ -159,7 +161,6 @@ export * from "./enrichedaddressresponse.js";
|
|
|
159
161
|
export * from "./enrichedbusinessprofile.js";
|
|
160
162
|
export * from "./enrichedbusinessresponse.js";
|
|
161
163
|
export * from "./enrichedindustries.js";
|
|
162
|
-
export * from "./enrichedindustry.js";
|
|
163
164
|
export * from "./enrichedindustrycodes.js";
|
|
164
165
|
export * from "./entrymode.js";
|
|
165
166
|
export * from "./evidencetextresponse.js";
|
|
@@ -196,6 +197,8 @@ export * from "./individualnameerror.js";
|
|
|
196
197
|
export * from "./individualnameupdate.js";
|
|
197
198
|
export * from "./individualprofile.js";
|
|
198
199
|
export * from "./industrycodes.js";
|
|
200
|
+
export * from "./industrytaxonomy.js";
|
|
201
|
+
export * from "./institutionssearchresponse.js";
|
|
199
202
|
export * from "./issuedcard.js";
|
|
200
203
|
export * from "./issuedcardauthorization.js";
|
|
201
204
|
export * from "./issuedcardauthorizationevent.js";
|
|
@@ -301,7 +304,9 @@ export * from "./reversedwithrefund.js";
|
|
|
301
304
|
export * from "./revoketokenrequest.js";
|
|
302
305
|
export * from "./rtpcreditpaymentmethod.js";
|
|
303
306
|
export * from "./rtpfailurecode.js";
|
|
307
|
+
export * from "./rtpinstitution.js";
|
|
304
308
|
export * from "./rtprejectioncode.js";
|
|
309
|
+
export * from "./rtpservices.js";
|
|
305
310
|
export * from "./rtptransactiondetails.js";
|
|
306
311
|
export * from "./rtptransactionstatus.js";
|
|
307
312
|
export * from "./runtransfer.js";
|
|
@@ -318,6 +323,7 @@ export * from "./sweepconfig.js";
|
|
|
318
323
|
export * from "./sweepconfigpaymentmethod.js";
|
|
319
324
|
export * from "./sweepconfigstatus.js";
|
|
320
325
|
export * from "./sweepstatus.js";
|
|
326
|
+
export * from "./sweepsubtotal.js";
|
|
321
327
|
export * from "./taxid.js";
|
|
322
328
|
export * from "./taxidupdate.js";
|
|
323
329
|
export * from "./terminalapplication.js";
|
|
@@ -400,3 +406,5 @@ export * from "./webhookevent.js";
|
|
|
400
406
|
export * from "./webhookeventtype.js";
|
|
401
407
|
export * from "./webhooktransferpaymentmethoddetails.js";
|
|
402
408
|
export * from "./webhookwalletavailablebalance.js";
|
|
409
|
+
export * from "./wireinstitution.js";
|
|
410
|
+
export * from "./wireservices.js";
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A structured industry taxonomy entry with category and mapped to a default MCC code.
|
|
12
|
+
*/
|
|
13
|
+
export type IndustryTaxonomy = {
|
|
14
|
+
/**
|
|
15
|
+
* URL-safe identifier for the industry
|
|
16
|
+
*/
|
|
17
|
+
industry: string;
|
|
18
|
+
/**
|
|
19
|
+
* Display name of the industry
|
|
20
|
+
*/
|
|
21
|
+
displayName: string;
|
|
22
|
+
/**
|
|
23
|
+
* Category slug
|
|
24
|
+
*/
|
|
25
|
+
category: string;
|
|
26
|
+
/**
|
|
27
|
+
* Human-readable category label
|
|
28
|
+
*/
|
|
29
|
+
categoryDisplayName: string;
|
|
30
|
+
/**
|
|
31
|
+
* Default Merchant Category Code
|
|
32
|
+
*/
|
|
33
|
+
defaultMcc: string;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const IndustryTaxonomy$inboundSchema: z.ZodType<
|
|
38
|
+
IndustryTaxonomy,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
unknown
|
|
41
|
+
> = z.object({
|
|
42
|
+
industry: z.string(),
|
|
43
|
+
displayName: z.string(),
|
|
44
|
+
category: z.string(),
|
|
45
|
+
categoryDisplayName: z.string(),
|
|
46
|
+
defaultMcc: z.string(),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export type IndustryTaxonomy$Outbound = {
|
|
51
|
+
industry: string;
|
|
52
|
+
displayName: string;
|
|
53
|
+
category: string;
|
|
54
|
+
categoryDisplayName: string;
|
|
55
|
+
defaultMcc: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const IndustryTaxonomy$outboundSchema: z.ZodType<
|
|
60
|
+
IndustryTaxonomy$Outbound,
|
|
61
|
+
z.ZodTypeDef,
|
|
62
|
+
IndustryTaxonomy
|
|
63
|
+
> = z.object({
|
|
64
|
+
industry: z.string(),
|
|
65
|
+
displayName: z.string(),
|
|
66
|
+
category: z.string(),
|
|
67
|
+
categoryDisplayName: z.string(),
|
|
68
|
+
defaultMcc: z.string(),
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
|
+
*/
|
|
75
|
+
export namespace IndustryTaxonomy$ {
|
|
76
|
+
/** @deprecated use `IndustryTaxonomy$inboundSchema` instead. */
|
|
77
|
+
export const inboundSchema = IndustryTaxonomy$inboundSchema;
|
|
78
|
+
/** @deprecated use `IndustryTaxonomy$outboundSchema` instead. */
|
|
79
|
+
export const outboundSchema = IndustryTaxonomy$outboundSchema;
|
|
80
|
+
/** @deprecated use `IndustryTaxonomy$Outbound` instead. */
|
|
81
|
+
export type Outbound = IndustryTaxonomy$Outbound;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function industryTaxonomyToJSON(
|
|
85
|
+
industryTaxonomy: IndustryTaxonomy,
|
|
86
|
+
): string {
|
|
87
|
+
return JSON.stringify(
|
|
88
|
+
IndustryTaxonomy$outboundSchema.parse(industryTaxonomy),
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function industryTaxonomyFromJSON(
|
|
93
|
+
jsonString: string,
|
|
94
|
+
): SafeParseResult<IndustryTaxonomy, SDKValidationError> {
|
|
95
|
+
return safeParse(
|
|
96
|
+
jsonString,
|
|
97
|
+
(x) => IndustryTaxonomy$inboundSchema.parse(JSON.parse(x)),
|
|
98
|
+
`Failed to parse 'IndustryTaxonomy' from JSON`,
|
|
99
|
+
);
|
|
100
|
+
}
|