@moovio/sdk 0.12.1 → 0.12.3
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/README.md +28 -24
- package/bin/mcp-server.js +719 -365
- package/bin/mcp-server.js.map +185 -183
- package/funcs/accountTerminalApplicationsGet.d.ts +3 -2
- package/funcs/accountTerminalApplicationsGet.d.ts.map +1 -1
- package/funcs/accountTerminalApplicationsGet.js +1 -1
- package/funcs/accountTerminalApplicationsGet.js.map +1 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.d.ts +3 -2
- package/funcs/accountTerminalApplicationsGetConfiguration.d.ts.map +1 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.js +1 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.js.map +1 -1
- package/funcs/accountTerminalApplicationsLink.d.ts +3 -2
- package/funcs/accountTerminalApplicationsLink.d.ts.map +1 -1
- package/funcs/accountTerminalApplicationsLink.js +1 -1
- package/funcs/accountTerminalApplicationsLink.js.map +1 -1
- package/funcs/accountTerminalApplicationsList.d.ts +3 -2
- package/funcs/accountTerminalApplicationsList.d.ts.map +1 -1
- package/funcs/accountTerminalApplicationsList.js +1 -1
- package/funcs/accountTerminalApplicationsList.js.map +1 -1
- package/funcs/accountsAssignCountries.d.ts +3 -2
- package/funcs/accountsAssignCountries.d.ts.map +1 -1
- package/funcs/accountsAssignCountries.js +1 -1
- package/funcs/accountsAssignCountries.js.map +1 -1
- package/funcs/accountsCreate.d.ts +3 -2
- package/funcs/accountsCreate.d.ts.map +1 -1
- package/funcs/accountsCreate.js +1 -1
- package/funcs/accountsCreate.js.map +1 -1
- package/funcs/accountsDisconnect.d.ts +3 -2
- package/funcs/accountsDisconnect.d.ts.map +1 -1
- package/funcs/accountsDisconnect.js +1 -1
- package/funcs/accountsDisconnect.js.map +1 -1
- package/funcs/accountsGet.d.ts +3 -2
- package/funcs/accountsGet.d.ts.map +1 -1
- package/funcs/accountsGet.js +1 -1
- package/funcs/accountsGet.js.map +1 -1
- package/funcs/accountsGetCountries.d.ts +3 -2
- package/funcs/accountsGetCountries.d.ts.map +1 -1
- package/funcs/accountsGetCountries.js +1 -1
- package/funcs/accountsGetCountries.js.map +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.d.ts +3 -2
- package/funcs/accountsGetMerchantProcessingAgreement.d.ts.map +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.js +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.js.map +1 -1
- package/funcs/accountsGetTermsOfServiceToken.d.ts +3 -2
- package/funcs/accountsGetTermsOfServiceToken.d.ts.map +1 -1
- package/funcs/accountsGetTermsOfServiceToken.js +1 -1
- package/funcs/accountsGetTermsOfServiceToken.js.map +1 -1
- package/funcs/accountsList.d.ts +3 -2
- package/funcs/accountsList.d.ts.map +1 -1
- package/funcs/accountsList.js +1 -1
- package/funcs/accountsList.js.map +1 -1
- package/funcs/accountsUpdate.d.ts +3 -2
- package/funcs/accountsUpdate.d.ts.map +1 -1
- package/funcs/accountsUpdate.js +1 -1
- package/funcs/accountsUpdate.js.map +1 -1
- package/funcs/adjustmentsGet.d.ts +3 -2
- package/funcs/adjustmentsGet.d.ts.map +1 -1
- package/funcs/adjustmentsGet.js +1 -1
- package/funcs/adjustmentsGet.js.map +1 -1
- package/funcs/adjustmentsList.d.ts +3 -2
- package/funcs/adjustmentsList.d.ts.map +1 -1
- package/funcs/adjustmentsList.js +1 -1
- package/funcs/adjustmentsList.js.map +1 -1
- package/funcs/applePayCreateSession.d.ts +3 -2
- package/funcs/applePayCreateSession.d.ts.map +1 -1
- package/funcs/applePayCreateSession.js +1 -1
- package/funcs/applePayCreateSession.js.map +1 -1
- package/funcs/applePayGetMerchantDomains.d.ts +3 -2
- package/funcs/applePayGetMerchantDomains.d.ts.map +1 -1
- package/funcs/applePayGetMerchantDomains.js +1 -1
- package/funcs/applePayGetMerchantDomains.js.map +1 -1
- package/funcs/applePayLinkToken.d.ts +3 -2
- package/funcs/applePayLinkToken.d.ts.map +1 -1
- package/funcs/applePayLinkToken.js +1 -1
- package/funcs/applePayLinkToken.js.map +1 -1
- package/funcs/applePayRegisterMerchantDomains.d.ts +3 -2
- package/funcs/applePayRegisterMerchantDomains.d.ts.map +1 -1
- package/funcs/applePayRegisterMerchantDomains.js +1 -1
- package/funcs/applePayRegisterMerchantDomains.js.map +1 -1
- package/funcs/applePayUpdateMerchantDomains.d.ts +3 -2
- package/funcs/applePayUpdateMerchantDomains.d.ts.map +1 -1
- package/funcs/applePayUpdateMerchantDomains.js +1 -1
- package/funcs/applePayUpdateMerchantDomains.js.map +1 -1
- package/funcs/authenticationCreateAccessToken.d.ts +3 -2
- package/funcs/authenticationCreateAccessToken.d.ts.map +1 -1
- package/funcs/authenticationCreateAccessToken.js +1 -1
- package/funcs/authenticationCreateAccessToken.js.map +1 -1
- package/funcs/authenticationRevokeAccessToken.d.ts +3 -2
- package/funcs/authenticationRevokeAccessToken.d.ts.map +1 -1
- package/funcs/authenticationRevokeAccessToken.js +1 -1
- package/funcs/authenticationRevokeAccessToken.js.map +1 -1
- package/funcs/avatarsGet.d.ts +3 -2
- package/funcs/avatarsGet.d.ts.map +1 -1
- package/funcs/avatarsGet.js +1 -1
- package/funcs/avatarsGet.js.map +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.d.ts +3 -2
- package/funcs/bankAccountsCompleteMicroDeposits.d.ts.map +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.js +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsCompleteVerification.d.ts +3 -2
- package/funcs/bankAccountsCompleteVerification.d.ts.map +1 -1
- package/funcs/bankAccountsCompleteVerification.js +1 -1
- package/funcs/bankAccountsCompleteVerification.js.map +1 -1
- package/funcs/bankAccountsDisable.d.ts +3 -2
- package/funcs/bankAccountsDisable.d.ts.map +1 -1
- package/funcs/bankAccountsDisable.js +1 -1
- package/funcs/bankAccountsDisable.js.map +1 -1
- package/funcs/bankAccountsGet.d.ts +3 -2
- package/funcs/bankAccountsGet.d.ts.map +1 -1
- package/funcs/bankAccountsGet.js +1 -1
- package/funcs/bankAccountsGet.js.map +1 -1
- package/funcs/bankAccountsGetVerification.d.ts +3 -2
- package/funcs/bankAccountsGetVerification.d.ts.map +1 -1
- package/funcs/bankAccountsGetVerification.js +1 -1
- package/funcs/bankAccountsGetVerification.js.map +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.d.ts +3 -2
- package/funcs/bankAccountsInitiateMicroDeposits.d.ts.map +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.js +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsInitiateVerification.d.ts +3 -2
- package/funcs/bankAccountsInitiateVerification.d.ts.map +1 -1
- package/funcs/bankAccountsInitiateVerification.js +1 -1
- package/funcs/bankAccountsInitiateVerification.js.map +1 -1
- package/funcs/bankAccountsLink.d.ts +3 -2
- package/funcs/bankAccountsLink.d.ts.map +1 -1
- package/funcs/bankAccountsLink.js +1 -1
- package/funcs/bankAccountsLink.js.map +1 -1
- package/funcs/bankAccountsList.d.ts +3 -2
- package/funcs/bankAccountsList.d.ts.map +1 -1
- package/funcs/bankAccountsList.js +1 -1
- package/funcs/bankAccountsList.js.map +1 -1
- package/funcs/brandingCreate.d.ts +3 -2
- package/funcs/brandingCreate.d.ts.map +1 -1
- package/funcs/brandingCreate.js +1 -1
- package/funcs/brandingCreate.js.map +1 -1
- package/funcs/brandingGet.d.ts +3 -2
- package/funcs/brandingGet.d.ts.map +1 -1
- package/funcs/brandingGet.js +1 -1
- package/funcs/brandingGet.js.map +1 -1
- package/funcs/brandingUpdate.d.ts +3 -2
- package/funcs/brandingUpdate.d.ts.map +1 -1
- package/funcs/brandingUpdate.js +1 -1
- package/funcs/brandingUpdate.js.map +1 -1
- package/funcs/brandingUpsert.d.ts +3 -2
- package/funcs/brandingUpsert.d.ts.map +1 -1
- package/funcs/brandingUpsert.js +1 -1
- package/funcs/brandingUpsert.js.map +1 -1
- package/funcs/capabilitiesDisable.d.ts +3 -2
- package/funcs/capabilitiesDisable.d.ts.map +1 -1
- package/funcs/capabilitiesDisable.js +1 -1
- package/funcs/capabilitiesDisable.js.map +1 -1
- package/funcs/capabilitiesGet.d.ts +3 -2
- package/funcs/capabilitiesGet.d.ts.map +1 -1
- package/funcs/capabilitiesGet.js +1 -1
- package/funcs/capabilitiesGet.js.map +1 -1
- package/funcs/capabilitiesList.d.ts +3 -2
- package/funcs/capabilitiesList.d.ts.map +1 -1
- package/funcs/capabilitiesList.js +1 -1
- package/funcs/capabilitiesList.js.map +1 -1
- package/funcs/capabilitiesRequest.d.ts +3 -2
- package/funcs/capabilitiesRequest.d.ts.map +1 -1
- package/funcs/capabilitiesRequest.js +1 -1
- package/funcs/capabilitiesRequest.js.map +1 -1
- package/funcs/cardIssuingGet.d.ts +3 -2
- package/funcs/cardIssuingGet.d.ts.map +1 -1
- package/funcs/cardIssuingGet.js +1 -1
- package/funcs/cardIssuingGet.js.map +1 -1
- package/funcs/cardIssuingGetFull.d.ts +3 -2
- package/funcs/cardIssuingGetFull.d.ts.map +1 -1
- package/funcs/cardIssuingGetFull.js +1 -1
- package/funcs/cardIssuingGetFull.js.map +1 -1
- package/funcs/cardIssuingList.d.ts +3 -2
- package/funcs/cardIssuingList.d.ts.map +1 -1
- package/funcs/cardIssuingList.js +1 -1
- package/funcs/cardIssuingList.js.map +1 -1
- package/funcs/cardIssuingRequest.d.ts +3 -2
- package/funcs/cardIssuingRequest.d.ts.map +1 -1
- package/funcs/cardIssuingRequest.js +1 -1
- package/funcs/cardIssuingRequest.js.map +1 -1
- package/funcs/cardIssuingUpdate.d.ts +3 -2
- package/funcs/cardIssuingUpdate.d.ts.map +1 -1
- package/funcs/cardIssuingUpdate.js +1 -1
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/cardsDisable.d.ts +3 -2
- package/funcs/cardsDisable.d.ts.map +1 -1
- package/funcs/cardsDisable.js +1 -1
- package/funcs/cardsDisable.js.map +1 -1
- package/funcs/cardsGet.d.ts +3 -2
- package/funcs/cardsGet.d.ts.map +1 -1
- package/funcs/cardsGet.js +1 -1
- package/funcs/cardsGet.js.map +1 -1
- package/funcs/cardsLink.d.ts +3 -2
- package/funcs/cardsLink.d.ts.map +1 -1
- package/funcs/cardsLink.js +1 -1
- package/funcs/cardsLink.js.map +1 -1
- package/funcs/cardsList.d.ts +3 -2
- package/funcs/cardsList.d.ts.map +1 -1
- package/funcs/cardsList.js +1 -1
- package/funcs/cardsList.js.map +1 -1
- package/funcs/cardsUpdate.d.ts +3 -2
- package/funcs/cardsUpdate.d.ts.map +1 -1
- package/funcs/cardsUpdate.js +1 -1
- package/funcs/cardsUpdate.js.map +1 -1
- package/funcs/disputesAccept.d.ts +3 -2
- package/funcs/disputesAccept.d.ts.map +1 -1
- package/funcs/disputesAccept.js +1 -1
- package/funcs/disputesAccept.js.map +1 -1
- package/funcs/disputesDeleteEvidence.d.ts +3 -2
- package/funcs/disputesDeleteEvidence.d.ts.map +1 -1
- package/funcs/disputesDeleteEvidence.js +1 -1
- package/funcs/disputesDeleteEvidence.js.map +1 -1
- package/funcs/disputesGet.d.ts +3 -2
- package/funcs/disputesGet.d.ts.map +1 -1
- package/funcs/disputesGet.js +1 -1
- package/funcs/disputesGet.js.map +1 -1
- package/funcs/disputesGetEvidence.d.ts +3 -2
- package/funcs/disputesGetEvidence.d.ts.map +1 -1
- package/funcs/disputesGetEvidence.js +1 -1
- package/funcs/disputesGetEvidence.js.map +1 -1
- package/funcs/disputesGetEvidenceData.d.ts +3 -2
- package/funcs/disputesGetEvidenceData.d.ts.map +1 -1
- package/funcs/disputesGetEvidenceData.js +1 -1
- package/funcs/disputesGetEvidenceData.js.map +1 -1
- package/funcs/disputesList.d.ts +3 -2
- package/funcs/disputesList.d.ts.map +1 -1
- package/funcs/disputesList.js +1 -1
- package/funcs/disputesList.js.map +1 -1
- package/funcs/disputesListEvidence.d.ts +3 -2
- package/funcs/disputesListEvidence.d.ts.map +1 -1
- package/funcs/disputesListEvidence.js +1 -1
- package/funcs/disputesListEvidence.js.map +1 -1
- package/funcs/disputesSubmitEvidence.d.ts +3 -2
- package/funcs/disputesSubmitEvidence.d.ts.map +1 -1
- package/funcs/disputesSubmitEvidence.js +1 -1
- package/funcs/disputesSubmitEvidence.js.map +1 -1
- package/funcs/disputesUpdateEvidence.d.ts +3 -2
- package/funcs/disputesUpdateEvidence.d.ts.map +1 -1
- package/funcs/disputesUpdateEvidence.js +1 -1
- package/funcs/disputesUpdateEvidence.js.map +1 -1
- package/funcs/disputesUploadEvidenceFile.d.ts +3 -2
- package/funcs/disputesUploadEvidenceFile.d.ts.map +1 -1
- package/funcs/disputesUploadEvidenceFile.js +1 -1
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/disputesUploadEvidenceText.d.ts +3 -2
- package/funcs/disputesUploadEvidenceText.d.ts.map +1 -1
- package/funcs/disputesUploadEvidenceText.js +1 -1
- package/funcs/disputesUploadEvidenceText.js.map +1 -1
- package/funcs/endToEndEncryptionGenerateKey.d.ts +3 -2
- package/funcs/endToEndEncryptionGenerateKey.d.ts.map +1 -1
- package/funcs/endToEndEncryptionGenerateKey.js +1 -1
- package/funcs/endToEndEncryptionGenerateKey.js.map +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.d.ts +3 -2
- package/funcs/endToEndEncryptionTestEncryptedToken.d.ts.map +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.js +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.js.map +1 -1
- package/funcs/enrichedAddressGet.d.ts +3 -2
- package/funcs/enrichedAddressGet.d.ts.map +1 -1
- package/funcs/enrichedAddressGet.js +1 -1
- package/funcs/enrichedAddressGet.js.map +1 -1
- package/funcs/enrichedProfileGet.d.ts +3 -2
- package/funcs/enrichedProfileGet.d.ts.map +1 -1
- package/funcs/enrichedProfileGet.js +1 -1
- package/funcs/enrichedProfileGet.js.map +1 -1
- package/funcs/feePlansCreateFeePlanAgreements.d.ts +3 -2
- package/funcs/feePlansCreateFeePlanAgreements.d.ts.map +1 -1
- package/funcs/feePlansCreateFeePlanAgreements.js +1 -1
- package/funcs/feePlansCreateFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansListFeePlanAgreements.d.ts +3 -2
- package/funcs/feePlansListFeePlanAgreements.d.ts.map +1 -1
- package/funcs/feePlansListFeePlanAgreements.js +1 -1
- package/funcs/feePlansListFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansListFeePlans.d.ts +3 -2
- package/funcs/feePlansListFeePlans.d.ts.map +1 -1
- package/funcs/feePlansListFeePlans.js +1 -1
- package/funcs/feePlansListFeePlans.js.map +1 -1
- package/funcs/feePlansListFeesFetch.d.ts +3 -2
- package/funcs/feePlansListFeesFetch.d.ts.map +1 -1
- package/funcs/feePlansListFeesFetch.js +1 -1
- package/funcs/feePlansListFeesFetch.js.map +1 -1
- package/funcs/feePlansListPartnerPricing.d.ts +3 -2
- package/funcs/feePlansListPartnerPricing.d.ts.map +1 -1
- package/funcs/feePlansListPartnerPricing.js +1 -1
- package/funcs/feePlansListPartnerPricing.js.map +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.d.ts +3 -2
- package/funcs/feePlansListPartnerPricingAgreements.d.ts.map +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.js +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.js.map +1 -1
- package/funcs/feePlansRetrieveFees.d.ts +3 -2
- package/funcs/feePlansRetrieveFees.d.ts.map +1 -1
- package/funcs/feePlansRetrieveFees.js +1 -1
- package/funcs/feePlansRetrieveFees.js.map +1 -1
- package/funcs/filesGet.d.ts +3 -2
- package/funcs/filesGet.d.ts.map +1 -1
- package/funcs/filesGet.js +1 -1
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesList.d.ts +3 -2
- package/funcs/filesList.d.ts.map +1 -1
- package/funcs/filesList.js +1 -1
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpload.d.ts +3 -2
- package/funcs/filesUpload.d.ts.map +1 -1
- package/funcs/filesUpload.js +1 -1
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/industriesList.d.ts +3 -2
- package/funcs/industriesList.d.ts.map +1 -1
- package/funcs/industriesList.js +1 -1
- package/funcs/industriesList.js.map +1 -1
- package/funcs/institutionsSearch.d.ts +3 -2
- package/funcs/institutionsSearch.d.ts.map +1 -1
- package/funcs/institutionsSearch.js +1 -1
- package/funcs/institutionsSearch.js.map +1 -1
- package/funcs/institutionsSearchInstitutions.d.ts +3 -2
- package/funcs/institutionsSearchInstitutions.d.ts.map +1 -1
- package/funcs/institutionsSearchInstitutions.js +1 -1
- package/funcs/institutionsSearchInstitutions.js.map +1 -1
- package/funcs/issuingTransactionsGet.d.ts +3 -2
- package/funcs/issuingTransactionsGet.d.ts.map +1 -1
- package/funcs/issuingTransactionsGet.js +1 -1
- package/funcs/issuingTransactionsGet.js.map +1 -1
- package/funcs/issuingTransactionsGetAuthorization.d.ts +3 -2
- package/funcs/issuingTransactionsGetAuthorization.d.ts.map +1 -1
- package/funcs/issuingTransactionsGetAuthorization.js +1 -1
- package/funcs/issuingTransactionsGetAuthorization.js.map +1 -1
- package/funcs/issuingTransactionsList.d.ts +3 -2
- package/funcs/issuingTransactionsList.d.ts.map +1 -1
- package/funcs/issuingTransactionsList.js +1 -1
- package/funcs/issuingTransactionsList.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.d.ts +3 -2
- package/funcs/issuingTransactionsListAuthorizationEvents.d.ts.map +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.js +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizations.d.ts +3 -2
- package/funcs/issuingTransactionsListAuthorizations.d.ts.map +1 -1
- package/funcs/issuingTransactionsListAuthorizations.js +1 -1
- package/funcs/issuingTransactionsListAuthorizations.js.map +1 -1
- package/funcs/onboardingCreateInvite.d.ts +3 -2
- package/funcs/onboardingCreateInvite.d.ts.map +1 -1
- package/funcs/onboardingCreateInvite.js +1 -1
- package/funcs/onboardingCreateInvite.js.map +1 -1
- package/funcs/onboardingGetInvite.d.ts +3 -2
- package/funcs/onboardingGetInvite.d.ts.map +1 -1
- package/funcs/onboardingGetInvite.js +1 -1
- package/funcs/onboardingGetInvite.js.map +1 -1
- package/funcs/onboardingListInvites.d.ts +3 -2
- package/funcs/onboardingListInvites.d.ts.map +1 -1
- package/funcs/onboardingListInvites.js +1 -1
- package/funcs/onboardingListInvites.js.map +1 -1
- package/funcs/onboardingRevokeInvite.d.ts +3 -2
- package/funcs/onboardingRevokeInvite.d.ts.map +1 -1
- package/funcs/onboardingRevokeInvite.js +1 -1
- package/funcs/onboardingRevokeInvite.js.map +1 -1
- package/funcs/paymentLinksCreate.d.ts +3 -2
- package/funcs/paymentLinksCreate.d.ts.map +1 -1
- package/funcs/paymentLinksCreate.js +1 -1
- package/funcs/paymentLinksCreate.js.map +1 -1
- package/funcs/paymentLinksDisable.d.ts +3 -2
- package/funcs/paymentLinksDisable.d.ts.map +1 -1
- package/funcs/paymentLinksDisable.js +1 -1
- package/funcs/paymentLinksDisable.js.map +1 -1
- package/funcs/paymentLinksGet.d.ts +3 -2
- package/funcs/paymentLinksGet.d.ts.map +1 -1
- package/funcs/paymentLinksGet.js +1 -1
- package/funcs/paymentLinksGet.js.map +1 -1
- package/funcs/paymentLinksGetQRCode.d.ts +3 -2
- package/funcs/paymentLinksGetQRCode.d.ts.map +1 -1
- package/funcs/paymentLinksGetQRCode.js +1 -1
- package/funcs/paymentLinksGetQRCode.js.map +1 -1
- package/funcs/paymentLinksList.d.ts +3 -2
- package/funcs/paymentLinksList.d.ts.map +1 -1
- package/funcs/paymentLinksList.js +1 -1
- package/funcs/paymentLinksList.js.map +1 -1
- package/funcs/paymentLinksUpdate.d.ts +3 -2
- package/funcs/paymentLinksUpdate.d.ts.map +1 -1
- package/funcs/paymentLinksUpdate.js +1 -1
- package/funcs/paymentLinksUpdate.js.map +1 -1
- package/funcs/paymentMethodsGet.d.ts +3 -2
- package/funcs/paymentMethodsGet.d.ts.map +1 -1
- package/funcs/paymentMethodsGet.js +1 -1
- package/funcs/paymentMethodsGet.js.map +1 -1
- package/funcs/paymentMethodsList.d.ts +3 -2
- package/funcs/paymentMethodsList.d.ts.map +1 -1
- package/funcs/paymentMethodsList.js +1 -1
- package/funcs/paymentMethodsList.js.map +1 -1
- package/funcs/pingPing.d.ts +3 -2
- package/funcs/pingPing.d.ts.map +1 -1
- package/funcs/pingPing.js +1 -1
- package/funcs/pingPing.js.map +1 -1
- package/funcs/receiptsCreate.d.ts +3 -2
- package/funcs/receiptsCreate.d.ts.map +1 -1
- package/funcs/receiptsCreate.js +1 -1
- package/funcs/receiptsCreate.js.map +1 -1
- package/funcs/receiptsList.d.ts +3 -2
- package/funcs/receiptsList.d.ts.map +1 -1
- package/funcs/receiptsList.js +1 -1
- package/funcs/receiptsList.js.map +1 -1
- package/funcs/representativesCreate.d.ts +3 -2
- package/funcs/representativesCreate.d.ts.map +1 -1
- package/funcs/representativesCreate.js +1 -1
- package/funcs/representativesCreate.js.map +1 -1
- package/funcs/representativesDelete.d.ts +3 -2
- package/funcs/representativesDelete.d.ts.map +1 -1
- package/funcs/representativesDelete.js +1 -1
- package/funcs/representativesDelete.js.map +1 -1
- package/funcs/representativesGet.d.ts +3 -2
- package/funcs/representativesGet.d.ts.map +1 -1
- package/funcs/representativesGet.js +1 -1
- package/funcs/representativesGet.js.map +1 -1
- package/funcs/representativesList.d.ts +3 -2
- package/funcs/representativesList.d.ts.map +1 -1
- package/funcs/representativesList.js +1 -1
- package/funcs/representativesList.js.map +1 -1
- package/funcs/representativesUpdate.d.ts +3 -2
- package/funcs/representativesUpdate.d.ts.map +1 -1
- package/funcs/representativesUpdate.js +1 -1
- package/funcs/representativesUpdate.js.map +1 -1
- package/funcs/schedulingCancel.d.ts +3 -2
- package/funcs/schedulingCancel.d.ts.map +1 -1
- package/funcs/schedulingCancel.js +1 -1
- package/funcs/schedulingCancel.js.map +1 -1
- package/funcs/schedulingCreate.d.ts +3 -2
- package/funcs/schedulingCreate.d.ts.map +1 -1
- package/funcs/schedulingCreate.js +1 -1
- package/funcs/schedulingCreate.js.map +1 -1
- package/funcs/schedulingGet.d.ts +3 -2
- package/funcs/schedulingGet.d.ts.map +1 -1
- package/funcs/schedulingGet.js +1 -1
- package/funcs/schedulingGet.js.map +1 -1
- package/funcs/schedulingGetOccurrance.d.ts +3 -2
- package/funcs/schedulingGetOccurrance.d.ts.map +1 -1
- package/funcs/schedulingGetOccurrance.js +1 -1
- package/funcs/schedulingGetOccurrance.js.map +1 -1
- package/funcs/schedulingList.d.ts +3 -2
- package/funcs/schedulingList.d.ts.map +1 -1
- package/funcs/schedulingList.js +1 -1
- package/funcs/schedulingList.js.map +1 -1
- package/funcs/schedulingUpdate.d.ts +3 -2
- package/funcs/schedulingUpdate.d.ts.map +1 -1
- package/funcs/schedulingUpdate.js +1 -1
- package/funcs/schedulingUpdate.js.map +1 -1
- package/funcs/sweepsCreateConfig.d.ts +3 -2
- package/funcs/sweepsCreateConfig.d.ts.map +1 -1
- package/funcs/sweepsCreateConfig.js +1 -1
- package/funcs/sweepsCreateConfig.js.map +1 -1
- package/funcs/sweepsGet.d.ts +3 -2
- package/funcs/sweepsGet.d.ts.map +1 -1
- package/funcs/sweepsGet.js +1 -1
- package/funcs/sweepsGet.js.map +1 -1
- package/funcs/sweepsGetConfig.d.ts +3 -2
- package/funcs/sweepsGetConfig.d.ts.map +1 -1
- package/funcs/sweepsGetConfig.js +1 -1
- package/funcs/sweepsGetConfig.js.map +1 -1
- package/funcs/sweepsList.d.ts +3 -2
- package/funcs/sweepsList.d.ts.map +1 -1
- package/funcs/sweepsList.js +1 -1
- package/funcs/sweepsList.js.map +1 -1
- package/funcs/sweepsListConfigs.d.ts +3 -2
- package/funcs/sweepsListConfigs.d.ts.map +1 -1
- package/funcs/sweepsListConfigs.js +1 -1
- package/funcs/sweepsListConfigs.js.map +1 -1
- package/funcs/sweepsUpdateConfig.d.ts +3 -2
- package/funcs/sweepsUpdateConfig.d.ts.map +1 -1
- package/funcs/sweepsUpdateConfig.js +1 -1
- package/funcs/sweepsUpdateConfig.js.map +1 -1
- package/funcs/terminalApplicationsCreate.d.ts +3 -2
- package/funcs/terminalApplicationsCreate.d.ts.map +1 -1
- package/funcs/terminalApplicationsCreate.js +1 -1
- package/funcs/terminalApplicationsCreate.js.map +1 -1
- package/funcs/terminalApplicationsDelete.d.ts +3 -2
- package/funcs/terminalApplicationsDelete.d.ts.map +1 -1
- package/funcs/terminalApplicationsDelete.js +1 -1
- package/funcs/terminalApplicationsDelete.js.map +1 -1
- package/funcs/terminalApplicationsGet.d.ts +3 -2
- package/funcs/terminalApplicationsGet.d.ts.map +1 -1
- package/funcs/terminalApplicationsGet.js +1 -1
- package/funcs/terminalApplicationsGet.js.map +1 -1
- package/funcs/terminalApplicationsList.d.ts +3 -2
- package/funcs/terminalApplicationsList.d.ts.map +1 -1
- package/funcs/terminalApplicationsList.js +1 -1
- package/funcs/terminalApplicationsList.js.map +1 -1
- package/funcs/transfersCreate.d.ts +3 -2
- package/funcs/transfersCreate.d.ts.map +1 -1
- package/funcs/transfersCreate.js +1 -1
- package/funcs/transfersCreate.js.map +1 -1
- package/funcs/transfersCreateCancellation.d.ts +3 -2
- package/funcs/transfersCreateCancellation.d.ts.map +1 -1
- package/funcs/transfersCreateCancellation.js +1 -1
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateReversal.d.ts +3 -2
- package/funcs/transfersCreateReversal.d.ts.map +1 -1
- package/funcs/transfersCreateReversal.js +1 -1
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersGenerateOptions.d.ts +3 -2
- package/funcs/transfersGenerateOptions.d.ts.map +1 -1
- package/funcs/transfersGenerateOptions.js +1 -1
- package/funcs/transfersGenerateOptions.js.map +1 -1
- package/funcs/transfersGet.d.ts +3 -2
- package/funcs/transfersGet.d.ts.map +1 -1
- package/funcs/transfersGet.js +1 -1
- package/funcs/transfersGet.js.map +1 -1
- package/funcs/transfersGetCancellation.d.ts +3 -2
- package/funcs/transfersGetCancellation.d.ts.map +1 -1
- package/funcs/transfersGetCancellation.js +1 -1
- package/funcs/transfersGetCancellation.js.map +1 -1
- package/funcs/transfersGetRefund.d.ts +3 -2
- package/funcs/transfersGetRefund.d.ts.map +1 -1
- package/funcs/transfersGetRefund.js +1 -1
- package/funcs/transfersGetRefund.js.map +1 -1
- package/funcs/transfersInitiateRefund.d.ts +3 -2
- package/funcs/transfersInitiateRefund.d.ts.map +1 -1
- package/funcs/transfersInitiateRefund.js +1 -1
- package/funcs/transfersInitiateRefund.js.map +1 -1
- package/funcs/transfersList.d.ts +3 -2
- package/funcs/transfersList.d.ts.map +1 -1
- package/funcs/transfersList.js +2 -1
- package/funcs/transfersList.js.map +1 -1
- package/funcs/transfersListRefunds.d.ts +3 -2
- package/funcs/transfersListRefunds.d.ts.map +1 -1
- package/funcs/transfersListRefunds.js +1 -1
- package/funcs/transfersListRefunds.js.map +1 -1
- package/funcs/transfersUpdate.d.ts +3 -2
- package/funcs/transfersUpdate.d.ts.map +1 -1
- package/funcs/transfersUpdate.js +1 -1
- package/funcs/transfersUpdate.js.map +1 -1
- package/funcs/underwritingGet.d.ts +3 -2
- package/funcs/underwritingGet.d.ts.map +1 -1
- package/funcs/underwritingGet.js +1 -1
- package/funcs/underwritingGet.js.map +1 -1
- package/funcs/underwritingUpsert.d.ts +3 -2
- package/funcs/underwritingUpsert.d.ts.map +1 -1
- package/funcs/underwritingUpsert.js +1 -1
- package/funcs/underwritingUpsert.js.map +1 -1
- package/funcs/walletTransactionsGet.d.ts +3 -2
- package/funcs/walletTransactionsGet.d.ts.map +1 -1
- package/funcs/walletTransactionsGet.js +1 -1
- package/funcs/walletTransactionsGet.js.map +1 -1
- package/funcs/walletTransactionsList.d.ts +3 -2
- package/funcs/walletTransactionsList.d.ts.map +1 -1
- package/funcs/walletTransactionsList.js +1 -1
- package/funcs/walletTransactionsList.js.map +1 -1
- package/funcs/walletsGet.d.ts +3 -2
- package/funcs/walletsGet.d.ts.map +1 -1
- package/funcs/walletsGet.js +1 -1
- package/funcs/walletsGet.js.map +1 -1
- package/funcs/walletsList.d.ts +3 -2
- package/funcs/walletsList.d.ts.map +1 -1
- package/funcs/walletsList.js +1 -1
- package/funcs/walletsList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/matchers.d.ts +3 -10
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +33 -31
- package/lib/matchers.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/bankaccountexception.d.ts +4 -4
- package/models/components/bankaccountexception.d.ts.map +1 -1
- package/models/components/bankaccountexception.js +4 -4
- package/models/components/bankaccountexception.js.map +1 -1
- package/models/components/transfer.d.ts +2 -0
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +2 -0
- package/models/components/transfer.js.map +1 -1
- package/models/errors/accountterminalapplicationerror.d.ts +7 -2
- package/models/errors/accountterminalapplicationerror.d.ts.map +1 -1
- package/models/errors/accountterminalapplicationerror.js +12 -4
- package/models/errors/accountterminalapplicationerror.js.map +1 -1
- package/models/errors/addcapabilitieserror.d.ts +7 -2
- package/models/errors/addcapabilitieserror.d.ts.map +1 -1
- package/models/errors/addcapabilitieserror.js +12 -4
- package/models/errors/addcapabilitieserror.js.map +1 -1
- package/models/errors/apierror.d.ts +8 -18
- package/models/errors/apierror.d.ts.map +1 -1
- package/models/errors/apierror.js +17 -10
- package/models/errors/apierror.js.map +1 -1
- package/models/errors/assigncountrieserror.d.ts +7 -2
- package/models/errors/assigncountrieserror.d.ts.map +1 -1
- package/models/errors/assigncountrieserror.js +12 -4
- package/models/errors/assigncountrieserror.js.map +1 -1
- package/models/errors/authtokenrequesterror.d.ts +7 -2
- package/models/errors/authtokenrequesterror.d.ts.map +1 -1
- package/models/errors/authtokenrequesterror.js +12 -4
- package/models/errors/authtokenrequesterror.js.map +1 -1
- package/models/errors/bankaccountvalidationerror.d.ts +7 -2
- package/models/errors/bankaccountvalidationerror.d.ts.map +1 -1
- package/models/errors/bankaccountvalidationerror.js +12 -4
- package/models/errors/bankaccountvalidationerror.js.map +1 -1
- package/models/errors/brandvalidationerror.d.ts +7 -2
- package/models/errors/brandvalidationerror.d.ts.map +1 -1
- package/models/errors/brandvalidationerror.js +12 -4
- package/models/errors/brandvalidationerror.js.map +1 -1
- package/models/errors/cardacquiringrefund.d.ts +7 -2
- package/models/errors/cardacquiringrefund.d.ts.map +1 -1
- package/models/errors/cardacquiringrefund.js +12 -4
- package/models/errors/cardacquiringrefund.js.map +1 -1
- package/models/errors/createaccount.d.ts +7 -2
- package/models/errors/createaccount.d.ts.map +1 -1
- package/models/errors/createaccount.js +12 -4
- package/models/errors/createaccount.js.map +1 -1
- package/models/errors/createpaymentlinkerror.d.ts +7 -2
- package/models/errors/createpaymentlinkerror.d.ts.map +1 -1
- package/models/errors/createpaymentlinkerror.js +12 -4
- package/models/errors/createpaymentlinkerror.js.map +1 -1
- package/models/errors/createsweepconfigerror.d.ts +7 -2
- package/models/errors/createsweepconfigerror.d.ts.map +1 -1
- package/models/errors/createsweepconfigerror.js +12 -4
- package/models/errors/createsweepconfigerror.js.map +1 -1
- package/models/errors/feeplanagreementerror.d.ts +7 -2
- package/models/errors/feeplanagreementerror.d.ts.map +1 -1
- package/models/errors/feeplanagreementerror.js +12 -4
- package/models/errors/feeplanagreementerror.js.map +1 -1
- package/models/errors/fileuploadvalidationerror.d.ts +7 -2
- package/models/errors/fileuploadvalidationerror.d.ts.map +1 -1
- package/models/errors/fileuploadvalidationerror.js +12 -4
- package/models/errors/fileuploadvalidationerror.js.map +1 -1
- package/models/errors/filevalidationerror.d.ts +7 -2
- package/models/errors/filevalidationerror.d.ts.map +1 -1
- package/models/errors/filevalidationerror.js +12 -4
- package/models/errors/filevalidationerror.js.map +1 -1
- package/models/errors/genericerror.d.ts +7 -2
- package/models/errors/genericerror.d.ts.map +1 -1
- package/models/errors/genericerror.js +12 -4
- package/models/errors/genericerror.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/linkapplepayerror.d.ts +7 -2
- package/models/errors/linkapplepayerror.d.ts.map +1 -1
- package/models/errors/linkapplepayerror.js +12 -4
- package/models/errors/linkapplepayerror.js.map +1 -1
- package/models/errors/linkcarderror.d.ts +7 -2
- package/models/errors/linkcarderror.d.ts.map +1 -1
- package/models/errors/linkcarderror.js +12 -4
- package/models/errors/linkcarderror.js.map +1 -1
- package/models/errors/microdepositvalidationerror.d.ts +7 -2
- package/models/errors/microdepositvalidationerror.d.ts.map +1 -1
- package/models/errors/microdepositvalidationerror.js +12 -4
- package/models/errors/microdepositvalidationerror.js.map +1 -1
- package/models/errors/mooverror.d.ts +19 -0
- package/models/errors/mooverror.d.ts.map +1 -0
- package/models/errors/mooverror.js +20 -0
- package/models/errors/mooverror.js.map +1 -0
- package/models/errors/onboardinginviteerror.d.ts +7 -2
- package/models/errors/onboardinginviteerror.d.ts.map +1 -1
- package/models/errors/onboardinginviteerror.js +12 -4
- package/models/errors/onboardinginviteerror.js.map +1 -1
- package/models/errors/patchsweepconfigerror.d.ts +7 -2
- package/models/errors/patchsweepconfigerror.d.ts.map +1 -1
- package/models/errors/patchsweepconfigerror.js +12 -4
- package/models/errors/patchsweepconfigerror.js.map +1 -1
- package/models/errors/refundvalidationerror.d.ts +7 -2
- package/models/errors/refundvalidationerror.d.ts.map +1 -1
- package/models/errors/refundvalidationerror.js +12 -4
- package/models/errors/refundvalidationerror.js.map +1 -1
- package/models/errors/representativevalidationerror.d.ts +7 -2
- package/models/errors/representativevalidationerror.d.ts.map +1 -1
- package/models/errors/representativevalidationerror.js +12 -4
- package/models/errors/representativevalidationerror.js.map +1 -1
- package/models/errors/requestcarderror.d.ts +7 -2
- package/models/errors/requestcarderror.d.ts.map +1 -1
- package/models/errors/requestcarderror.js +12 -4
- package/models/errors/requestcarderror.js.map +1 -1
- package/models/errors/responsevalidationerror.d.ts +26 -0
- package/models/errors/responsevalidationerror.d.ts.map +1 -0
- package/models/errors/responsevalidationerror.js +66 -0
- package/models/errors/responsevalidationerror.js.map +1 -0
- package/models/errors/reversalvalidationerror.d.ts +7 -2
- package/models/errors/reversalvalidationerror.d.ts.map +1 -1
- package/models/errors/reversalvalidationerror.js +12 -4
- package/models/errors/reversalvalidationerror.js.map +1 -1
- package/models/errors/revoketokenrequesterror.d.ts +7 -2
- package/models/errors/revoketokenrequesterror.d.ts.map +1 -1
- package/models/errors/revoketokenrequesterror.js +12 -4
- package/models/errors/revoketokenrequesterror.js.map +1 -1
- package/models/errors/schedulevalidationerror.d.ts +7 -2
- package/models/errors/schedulevalidationerror.d.ts.map +1 -1
- package/models/errors/schedulevalidationerror.js +12 -4
- package/models/errors/schedulevalidationerror.js.map +1 -1
- package/models/errors/sdkvalidationerror.d.ts +1 -0
- package/models/errors/sdkvalidationerror.d.ts.map +1 -1
- package/models/errors/sdkvalidationerror.js +14 -0
- package/models/errors/sdkvalidationerror.js.map +1 -1
- package/models/errors/terminalapplicationerror.d.ts +7 -2
- package/models/errors/terminalapplicationerror.d.ts.map +1 -1
- package/models/errors/terminalapplicationerror.js +12 -4
- package/models/errors/terminalapplicationerror.js.map +1 -1
- package/models/errors/transfer.d.ts +10 -2
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +16 -4
- package/models/errors/transfer.js.map +1 -1
- package/models/errors/transferoptionsvalidationerror.d.ts +7 -2
- package/models/errors/transferoptionsvalidationerror.d.ts.map +1 -1
- package/models/errors/transferoptionsvalidationerror.js +12 -4
- package/models/errors/transferoptionsvalidationerror.js.map +1 -1
- package/models/errors/transfervalidationerror.d.ts +7 -2
- package/models/errors/transfervalidationerror.d.ts.map +1 -1
- package/models/errors/transfervalidationerror.js +12 -4
- package/models/errors/transfervalidationerror.js.map +1 -1
- package/models/errors/updateaccount.d.ts +7 -2
- package/models/errors/updateaccount.d.ts.map +1 -1
- package/models/errors/updateaccount.js +12 -4
- package/models/errors/updateaccount.js.map +1 -1
- package/models/errors/updatecarderror.d.ts +7 -2
- package/models/errors/updatecarderror.d.ts.map +1 -1
- package/models/errors/updatecarderror.js +12 -4
- package/models/errors/updatecarderror.js.map +1 -1
- package/models/errors/updateissuedcarderror.d.ts +7 -2
- package/models/errors/updateissuedcarderror.d.ts.map +1 -1
- package/models/errors/updateissuedcarderror.js +12 -4
- package/models/errors/updateissuedcarderror.js.map +1 -1
- package/models/errors/updatepaymentlinkerror.d.ts +7 -2
- package/models/errors/updatepaymentlinkerror.d.ts.map +1 -1
- package/models/errors/updatepaymentlinkerror.js +12 -4
- package/models/errors/updatepaymentlinkerror.js.map +1 -1
- package/models/errors/updateunderwritingerror.d.ts +7 -2
- package/models/errors/updateunderwritingerror.d.ts.map +1 -1
- package/models/errors/updateunderwritingerror.js +12 -4
- package/models/errors/updateunderwritingerror.js.map +1 -1
- package/models/operations/listtransfers.d.ts +5 -0
- package/models/operations/listtransfers.d.ts.map +1 -1
- package/models/operations/listtransfers.js +2 -0
- package/models/operations/listtransfers.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/accountTerminalApplicationsGet.ts +21 -17
- package/src/funcs/accountTerminalApplicationsGetConfiguration.ts +21 -17
- package/src/funcs/accountTerminalApplicationsLink.ts +21 -17
- package/src/funcs/accountTerminalApplicationsList.ts +21 -17
- package/src/funcs/accountsAssignCountries.ts +21 -17
- package/src/funcs/accountsCreate.ts +21 -17
- package/src/funcs/accountsDisconnect.ts +21 -17
- package/src/funcs/accountsGet.ts +21 -17
- package/src/funcs/accountsGetCountries.ts +21 -17
- package/src/funcs/accountsGetMerchantProcessingAgreement.ts +21 -17
- package/src/funcs/accountsGetTermsOfServiceToken.ts +21 -17
- package/src/funcs/accountsList.ts +21 -17
- package/src/funcs/accountsUpdate.ts +21 -17
- package/src/funcs/adjustmentsGet.ts +21 -17
- package/src/funcs/adjustmentsList.ts +21 -17
- package/src/funcs/applePayCreateSession.ts +21 -17
- package/src/funcs/applePayGetMerchantDomains.ts +21 -17
- package/src/funcs/applePayLinkToken.ts +21 -17
- package/src/funcs/applePayRegisterMerchantDomains.ts +21 -17
- package/src/funcs/applePayUpdateMerchantDomains.ts +21 -17
- package/src/funcs/authenticationCreateAccessToken.ts +21 -17
- package/src/funcs/authenticationRevokeAccessToken.ts +21 -17
- package/src/funcs/avatarsGet.ts +21 -17
- package/src/funcs/bankAccountsCompleteMicroDeposits.ts +21 -17
- package/src/funcs/bankAccountsCompleteVerification.ts +21 -17
- package/src/funcs/bankAccountsDisable.ts +21 -17
- package/src/funcs/bankAccountsGet.ts +21 -17
- package/src/funcs/bankAccountsGetVerification.ts +21 -17
- package/src/funcs/bankAccountsInitiateMicroDeposits.ts +21 -17
- package/src/funcs/bankAccountsInitiateVerification.ts +21 -17
- package/src/funcs/bankAccountsLink.ts +21 -17
- package/src/funcs/bankAccountsList.ts +21 -17
- package/src/funcs/brandingCreate.ts +21 -17
- package/src/funcs/brandingGet.ts +21 -17
- package/src/funcs/brandingUpdate.ts +21 -17
- package/src/funcs/brandingUpsert.ts +21 -17
- package/src/funcs/capabilitiesDisable.ts +21 -17
- package/src/funcs/capabilitiesGet.ts +21 -17
- package/src/funcs/capabilitiesList.ts +21 -17
- package/src/funcs/capabilitiesRequest.ts +21 -17
- package/src/funcs/cardIssuingGet.ts +21 -17
- package/src/funcs/cardIssuingGetFull.ts +21 -17
- package/src/funcs/cardIssuingList.ts +21 -17
- package/src/funcs/cardIssuingRequest.ts +21 -17
- package/src/funcs/cardIssuingUpdate.ts +21 -17
- package/src/funcs/cardsDisable.ts +21 -17
- package/src/funcs/cardsGet.ts +21 -17
- package/src/funcs/cardsLink.ts +21 -17
- package/src/funcs/cardsList.ts +21 -17
- package/src/funcs/cardsUpdate.ts +21 -17
- package/src/funcs/disputesAccept.ts +21 -17
- package/src/funcs/disputesDeleteEvidence.ts +21 -17
- package/src/funcs/disputesGet.ts +21 -17
- package/src/funcs/disputesGetEvidence.ts +21 -17
- package/src/funcs/disputesGetEvidenceData.ts +21 -17
- package/src/funcs/disputesList.ts +21 -17
- package/src/funcs/disputesListEvidence.ts +21 -17
- package/src/funcs/disputesSubmitEvidence.ts +21 -17
- package/src/funcs/disputesUpdateEvidence.ts +21 -17
- package/src/funcs/disputesUploadEvidenceFile.ts +21 -17
- package/src/funcs/disputesUploadEvidenceText.ts +21 -17
- package/src/funcs/endToEndEncryptionGenerateKey.ts +21 -17
- package/src/funcs/endToEndEncryptionTestEncryptedToken.ts +21 -17
- package/src/funcs/enrichedAddressGet.ts +21 -17
- package/src/funcs/enrichedProfileGet.ts +21 -17
- package/src/funcs/feePlansCreateFeePlanAgreements.ts +21 -17
- package/src/funcs/feePlansListFeePlanAgreements.ts +21 -17
- package/src/funcs/feePlansListFeePlans.ts +21 -17
- package/src/funcs/feePlansListFeesFetch.ts +21 -17
- package/src/funcs/feePlansListPartnerPricing.ts +21 -17
- package/src/funcs/feePlansListPartnerPricingAgreements.ts +21 -17
- package/src/funcs/feePlansRetrieveFees.ts +21 -17
- package/src/funcs/filesGet.ts +21 -17
- package/src/funcs/filesList.ts +21 -17
- package/src/funcs/filesUpload.ts +21 -17
- package/src/funcs/industriesList.ts +21 -17
- package/src/funcs/institutionsSearch.ts +21 -17
- package/src/funcs/institutionsSearchInstitutions.ts +21 -17
- package/src/funcs/issuingTransactionsGet.ts +21 -17
- package/src/funcs/issuingTransactionsGetAuthorization.ts +21 -17
- package/src/funcs/issuingTransactionsList.ts +21 -17
- package/src/funcs/issuingTransactionsListAuthorizationEvents.ts +21 -17
- package/src/funcs/issuingTransactionsListAuthorizations.ts +21 -17
- package/src/funcs/onboardingCreateInvite.ts +21 -17
- package/src/funcs/onboardingGetInvite.ts +21 -17
- package/src/funcs/onboardingListInvites.ts +21 -17
- package/src/funcs/onboardingRevokeInvite.ts +21 -17
- package/src/funcs/paymentLinksCreate.ts +21 -17
- package/src/funcs/paymentLinksDisable.ts +21 -17
- package/src/funcs/paymentLinksGet.ts +21 -17
- package/src/funcs/paymentLinksGetQRCode.ts +21 -17
- package/src/funcs/paymentLinksList.ts +21 -17
- package/src/funcs/paymentLinksUpdate.ts +21 -17
- package/src/funcs/paymentMethodsGet.ts +21 -17
- package/src/funcs/paymentMethodsList.ts +21 -17
- package/src/funcs/pingPing.ts +21 -17
- package/src/funcs/receiptsCreate.ts +21 -17
- package/src/funcs/receiptsList.ts +21 -17
- package/src/funcs/representativesCreate.ts +21 -17
- package/src/funcs/representativesDelete.ts +21 -17
- package/src/funcs/representativesGet.ts +21 -17
- package/src/funcs/representativesList.ts +21 -17
- package/src/funcs/representativesUpdate.ts +21 -17
- package/src/funcs/schedulingCancel.ts +21 -17
- package/src/funcs/schedulingCreate.ts +21 -17
- package/src/funcs/schedulingGet.ts +21 -17
- package/src/funcs/schedulingGetOccurrance.ts +21 -17
- package/src/funcs/schedulingList.ts +21 -17
- package/src/funcs/schedulingUpdate.ts +21 -17
- package/src/funcs/sweepsCreateConfig.ts +21 -17
- package/src/funcs/sweepsGet.ts +21 -17
- package/src/funcs/sweepsGetConfig.ts +21 -17
- package/src/funcs/sweepsList.ts +21 -17
- package/src/funcs/sweepsListConfigs.ts +21 -17
- package/src/funcs/sweepsUpdateConfig.ts +21 -17
- package/src/funcs/terminalApplicationsCreate.ts +21 -17
- package/src/funcs/terminalApplicationsDelete.ts +21 -17
- package/src/funcs/terminalApplicationsGet.ts +21 -17
- package/src/funcs/terminalApplicationsList.ts +21 -17
- package/src/funcs/transfersCreate.ts +21 -17
- package/src/funcs/transfersCreateCancellation.ts +21 -17
- package/src/funcs/transfersCreateReversal.ts +21 -17
- package/src/funcs/transfersGenerateOptions.ts +21 -17
- package/src/funcs/transfersGet.ts +21 -17
- package/src/funcs/transfersGetCancellation.ts +21 -17
- package/src/funcs/transfersGetRefund.ts +21 -17
- package/src/funcs/transfersInitiateRefund.ts +21 -17
- package/src/funcs/transfersList.ts +22 -17
- package/src/funcs/transfersListRefunds.ts +21 -17
- package/src/funcs/transfersUpdate.ts +21 -17
- package/src/funcs/underwritingGet.ts +21 -17
- package/src/funcs/underwritingUpsert.ts +21 -17
- package/src/funcs/walletTransactionsGet.ts +21 -17
- package/src/funcs/walletTransactionsList.ts +21 -17
- package/src/funcs/walletsGet.ts +21 -17
- package/src/funcs/walletsList.ts +21 -17
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +44 -41
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/bankaccountexception.ts +8 -8
- package/src/models/components/transfer.ts +4 -0
- package/src/models/errors/accountterminalapplicationerror.ts +15 -5
- package/src/models/errors/addcapabilitieserror.ts +15 -5
- package/src/models/errors/apierror.ts +23 -31
- package/src/models/errors/assigncountrieserror.ts +15 -5
- package/src/models/errors/authtokenrequesterror.ts +15 -5
- package/src/models/errors/bankaccountvalidationerror.ts +15 -5
- package/src/models/errors/brandvalidationerror.ts +15 -5
- package/src/models/errors/cardacquiringrefund.ts +15 -5
- package/src/models/errors/createaccount.ts +15 -5
- package/src/models/errors/createpaymentlinkerror.ts +15 -5
- package/src/models/errors/createsweepconfigerror.ts +15 -5
- package/src/models/errors/feeplanagreementerror.ts +15 -5
- package/src/models/errors/fileuploadvalidationerror.ts +15 -5
- package/src/models/errors/filevalidationerror.ts +15 -5
- package/src/models/errors/genericerror.ts +15 -5
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/linkapplepayerror.ts +15 -5
- package/src/models/errors/linkcarderror.ts +15 -5
- package/src/models/errors/microdepositvalidationerror.ts +15 -5
- package/src/models/errors/mooverror.ts +35 -0
- package/src/models/errors/onboardinginviteerror.ts +15 -5
- package/src/models/errors/patchsweepconfigerror.ts +15 -5
- package/src/models/errors/refundvalidationerror.ts +15 -5
- package/src/models/errors/representativevalidationerror.ts +15 -5
- package/src/models/errors/requestcarderror.ts +15 -5
- package/src/models/errors/responsevalidationerror.ts +50 -0
- package/src/models/errors/reversalvalidationerror.ts +15 -5
- package/src/models/errors/revoketokenrequesterror.ts +15 -5
- package/src/models/errors/schedulevalidationerror.ts +15 -5
- package/src/models/errors/sdkvalidationerror.ts +12 -0
- package/src/models/errors/terminalapplicationerror.ts +15 -5
- package/src/models/errors/transfer.ts +21 -5
- package/src/models/errors/transferoptionsvalidationerror.ts +15 -5
- package/src/models/errors/transfervalidationerror.ts +15 -5
- package/src/models/errors/updateaccount.ts +15 -5
- package/src/models/errors/updatecarderror.ts +15 -5
- package/src/models/errors/updateissuedcarderror.ts +15 -5
- package/src/models/errors/updatepaymentlinkerror.ts +15 -5
- package/src/models/errors/updateunderwritingerror.ts +15 -5
- package/src/models/operations/listtransfers.ts +7 -0
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { MoovError } from "./mooverror.js";
|
|
6
7
|
|
|
7
8
|
export type FileValidationErrorData = {
|
|
8
9
|
error?: string | undefined;
|
|
@@ -11,7 +12,7 @@ export type FileValidationErrorData = {
|
|
|
11
12
|
metadata?: string | undefined;
|
|
12
13
|
};
|
|
13
14
|
|
|
14
|
-
export class FileValidationError extends
|
|
15
|
+
export class FileValidationError extends MoovError {
|
|
15
16
|
error?: string | undefined;
|
|
16
17
|
file?: string | undefined;
|
|
17
18
|
filePurpose?: string | undefined;
|
|
@@ -20,13 +21,15 @@ export class FileValidationError extends Error {
|
|
|
20
21
|
/** The original data that was passed to this error instance. */
|
|
21
22
|
data$: FileValidationErrorData;
|
|
22
23
|
|
|
23
|
-
constructor(
|
|
24
|
+
constructor(
|
|
25
|
+
err: FileValidationErrorData,
|
|
26
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
27
|
+
) {
|
|
24
28
|
const message = "message" in err && typeof err.message === "string"
|
|
25
29
|
? err.message
|
|
26
30
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
27
|
-
super(message);
|
|
31
|
+
super(message, httpMeta);
|
|
28
32
|
this.data$ = err;
|
|
29
|
-
|
|
30
33
|
if (err.error != null) this.error = err.error;
|
|
31
34
|
if (err.file != null) this.file = err.file;
|
|
32
35
|
if (err.filePurpose != null) this.filePurpose = err.filePurpose;
|
|
@@ -46,9 +49,16 @@ export const FileValidationError$inboundSchema: z.ZodType<
|
|
|
46
49
|
file: z.string().optional(),
|
|
47
50
|
filePurpose: z.string().optional(),
|
|
48
51
|
metadata: z.string().optional(),
|
|
52
|
+
request$: z.instanceof(Request),
|
|
53
|
+
response$: z.instanceof(Response),
|
|
54
|
+
body$: z.string(),
|
|
49
55
|
})
|
|
50
56
|
.transform((v) => {
|
|
51
|
-
return new FileValidationError(v
|
|
57
|
+
return new FileValidationError(v, {
|
|
58
|
+
request: v.request$,
|
|
59
|
+
response: v.response$,
|
|
60
|
+
body: v.body$,
|
|
61
|
+
});
|
|
52
62
|
});
|
|
53
63
|
|
|
54
64
|
/** @internal */
|
|
@@ -3,24 +3,27 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { MoovError } from "./mooverror.js";
|
|
6
7
|
|
|
7
8
|
export type GenericErrorData = {
|
|
8
9
|
error: string;
|
|
9
10
|
};
|
|
10
11
|
|
|
11
|
-
export class GenericError extends
|
|
12
|
+
export class GenericError extends MoovError {
|
|
12
13
|
error: string;
|
|
13
14
|
|
|
14
15
|
/** The original data that was passed to this error instance. */
|
|
15
16
|
data$: GenericErrorData;
|
|
16
17
|
|
|
17
|
-
constructor(
|
|
18
|
+
constructor(
|
|
19
|
+
err: GenericErrorData,
|
|
20
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
21
|
+
) {
|
|
18
22
|
const message = "message" in err && typeof err.message === "string"
|
|
19
23
|
? err.message
|
|
20
24
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
21
|
-
super(message);
|
|
25
|
+
super(message, httpMeta);
|
|
22
26
|
this.data$ = err;
|
|
23
|
-
|
|
24
27
|
this.error = err.error;
|
|
25
28
|
|
|
26
29
|
this.name = "GenericError";
|
|
@@ -34,9 +37,16 @@ export const GenericError$inboundSchema: z.ZodType<
|
|
|
34
37
|
unknown
|
|
35
38
|
> = z.object({
|
|
36
39
|
error: z.string(),
|
|
40
|
+
request$: z.instanceof(Request),
|
|
41
|
+
response$: z.instanceof(Response),
|
|
42
|
+
body$: z.string(),
|
|
37
43
|
})
|
|
38
44
|
.transform((v) => {
|
|
39
|
-
return new GenericError(v
|
|
45
|
+
return new GenericError(v, {
|
|
46
|
+
request: v.request$,
|
|
47
|
+
response: v.response$,
|
|
48
|
+
body: v.body$,
|
|
49
|
+
});
|
|
40
50
|
});
|
|
41
51
|
|
|
42
52
|
/** @internal */
|
|
@@ -26,6 +26,7 @@ export * from "./patchsweepconfigerror.js";
|
|
|
26
26
|
export * from "./refundvalidationerror.js";
|
|
27
27
|
export * from "./representativevalidationerror.js";
|
|
28
28
|
export * from "./requestcarderror.js";
|
|
29
|
+
export * from "./responsevalidationerror.js";
|
|
29
30
|
export * from "./reversalvalidationerror.js";
|
|
30
31
|
export * from "./revoketokenrequesterror.js";
|
|
31
32
|
export * from "./schedulevalidationerror.js";
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { MoovError } from "./mooverror.js";
|
|
6
7
|
|
|
7
8
|
export type LinkApplePayErrorData = {
|
|
8
9
|
/**
|
|
@@ -23,7 +24,7 @@ export type LinkApplePayErrorData = {
|
|
|
23
24
|
transactionIdentifier?: string | undefined;
|
|
24
25
|
};
|
|
25
26
|
|
|
26
|
-
export class LinkApplePayError extends
|
|
27
|
+
export class LinkApplePayError extends MoovError {
|
|
27
28
|
/**
|
|
28
29
|
* Describes an error that wasn't attributable to a single request field.
|
|
29
30
|
*/
|
|
@@ -44,13 +45,15 @@ export class LinkApplePayError extends Error {
|
|
|
44
45
|
/** The original data that was passed to this error instance. */
|
|
45
46
|
data$: LinkApplePayErrorData;
|
|
46
47
|
|
|
47
|
-
constructor(
|
|
48
|
+
constructor(
|
|
49
|
+
err: LinkApplePayErrorData,
|
|
50
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
51
|
+
) {
|
|
48
52
|
const message = "message" in err && typeof err.message === "string"
|
|
49
53
|
? err.message
|
|
50
54
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
51
|
-
super(message);
|
|
55
|
+
super(message, httpMeta);
|
|
52
56
|
this.data$ = err;
|
|
53
|
-
|
|
54
57
|
if (err.error != null) this.error = err.error;
|
|
55
58
|
if (err.paymentData != null) this.paymentData = err.paymentData;
|
|
56
59
|
if (err.paymentMethod != null) this.paymentMethod = err.paymentMethod;
|
|
@@ -72,9 +75,16 @@ export const LinkApplePayError$inboundSchema: z.ZodType<
|
|
|
72
75
|
paymentData: z.string().optional(),
|
|
73
76
|
paymentMethod: z.string().optional(),
|
|
74
77
|
transactionIdentifier: z.string().optional(),
|
|
78
|
+
request$: z.instanceof(Request),
|
|
79
|
+
response$: z.instanceof(Response),
|
|
80
|
+
body$: z.string(),
|
|
75
81
|
})
|
|
76
82
|
.transform((v) => {
|
|
77
|
-
return new LinkApplePayError(v
|
|
83
|
+
return new LinkApplePayError(v, {
|
|
84
|
+
request: v.request$,
|
|
85
|
+
response: v.response$,
|
|
86
|
+
body: v.body$,
|
|
87
|
+
});
|
|
78
88
|
});
|
|
79
89
|
|
|
80
90
|
/** @internal */
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import * as components from "../components/index.js";
|
|
7
|
+
import { MoovError } from "./mooverror.js";
|
|
7
8
|
|
|
8
9
|
export type LinkCardErrorData = {
|
|
9
10
|
error?: string | undefined;
|
|
@@ -18,7 +19,7 @@ export type LinkCardErrorData = {
|
|
|
18
19
|
verifyName?: string | undefined;
|
|
19
20
|
};
|
|
20
21
|
|
|
21
|
-
export class LinkCardError extends
|
|
22
|
+
export class LinkCardError extends MoovError {
|
|
22
23
|
error?: string | undefined;
|
|
23
24
|
e2ee?: components.End2EndEncryptionError | undefined;
|
|
24
25
|
cardNumber?: string | undefined;
|
|
@@ -33,13 +34,15 @@ export class LinkCardError extends Error {
|
|
|
33
34
|
/** The original data that was passed to this error instance. */
|
|
34
35
|
data$: LinkCardErrorData;
|
|
35
36
|
|
|
36
|
-
constructor(
|
|
37
|
+
constructor(
|
|
38
|
+
err: LinkCardErrorData,
|
|
39
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
40
|
+
) {
|
|
37
41
|
const message = "message" in err && typeof err.message === "string"
|
|
38
42
|
? err.message
|
|
39
43
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
40
|
-
super(message);
|
|
44
|
+
super(message, httpMeta);
|
|
41
45
|
this.data$ = err;
|
|
42
|
-
|
|
43
46
|
if (err.error != null) this.error = err.error;
|
|
44
47
|
if (err.e2ee != null) this.e2ee = err.e2ee;
|
|
45
48
|
if (err.cardNumber != null) this.cardNumber = err.cardNumber;
|
|
@@ -73,9 +76,16 @@ export const LinkCardError$inboundSchema: z.ZodType<
|
|
|
73
76
|
cardOnFile: z.string().optional(),
|
|
74
77
|
merchantAccountID: z.string().optional(),
|
|
75
78
|
verifyName: z.string().optional(),
|
|
79
|
+
request$: z.instanceof(Request),
|
|
80
|
+
response$: z.instanceof(Response),
|
|
81
|
+
body$: z.string(),
|
|
76
82
|
})
|
|
77
83
|
.transform((v) => {
|
|
78
|
-
return new LinkCardError(v
|
|
84
|
+
return new LinkCardError(v, {
|
|
85
|
+
request: v.request$,
|
|
86
|
+
response: v.response$,
|
|
87
|
+
body: v.body$,
|
|
88
|
+
});
|
|
79
89
|
});
|
|
80
90
|
|
|
81
91
|
/** @internal */
|
|
@@ -3,24 +3,27 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { MoovError } from "./mooverror.js";
|
|
6
7
|
|
|
7
8
|
export type MicroDepositValidationErrorData = {
|
|
8
9
|
amounts?: string | undefined;
|
|
9
10
|
};
|
|
10
11
|
|
|
11
|
-
export class MicroDepositValidationError extends
|
|
12
|
+
export class MicroDepositValidationError extends MoovError {
|
|
12
13
|
amounts?: string | undefined;
|
|
13
14
|
|
|
14
15
|
/** The original data that was passed to this error instance. */
|
|
15
16
|
data$: MicroDepositValidationErrorData;
|
|
16
17
|
|
|
17
|
-
constructor(
|
|
18
|
+
constructor(
|
|
19
|
+
err: MicroDepositValidationErrorData,
|
|
20
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
21
|
+
) {
|
|
18
22
|
const message = "message" in err && typeof err.message === "string"
|
|
19
23
|
? err.message
|
|
20
24
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
21
|
-
super(message);
|
|
25
|
+
super(message, httpMeta);
|
|
22
26
|
this.data$ = err;
|
|
23
|
-
|
|
24
27
|
if (err.amounts != null) this.amounts = err.amounts;
|
|
25
28
|
|
|
26
29
|
this.name = "MicroDepositValidationError";
|
|
@@ -34,9 +37,16 @@ export const MicroDepositValidationError$inboundSchema: z.ZodType<
|
|
|
34
37
|
unknown
|
|
35
38
|
> = z.object({
|
|
36
39
|
amounts: z.string().optional(),
|
|
40
|
+
request$: z.instanceof(Request),
|
|
41
|
+
response$: z.instanceof(Response),
|
|
42
|
+
body$: z.string(),
|
|
37
43
|
})
|
|
38
44
|
.transform((v) => {
|
|
39
|
-
return new MicroDepositValidationError(v
|
|
45
|
+
return new MicroDepositValidationError(v, {
|
|
46
|
+
request: v.request$,
|
|
47
|
+
response: v.response$,
|
|
48
|
+
body: v.body$,
|
|
49
|
+
});
|
|
40
50
|
});
|
|
41
51
|
|
|
42
52
|
/** @internal */
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/** The base class for all HTTP error responses */
|
|
6
|
+
export class MoovError extends Error {
|
|
7
|
+
/** HTTP status code */
|
|
8
|
+
public readonly statusCode: number;
|
|
9
|
+
/** HTTP body */
|
|
10
|
+
public readonly body: string;
|
|
11
|
+
/** HTTP headers */
|
|
12
|
+
public readonly headers: Headers;
|
|
13
|
+
/** HTTP content type */
|
|
14
|
+
public readonly contentType: string;
|
|
15
|
+
/** Raw response */
|
|
16
|
+
public readonly rawResponse: Response;
|
|
17
|
+
|
|
18
|
+
constructor(
|
|
19
|
+
message: string,
|
|
20
|
+
httpMeta: {
|
|
21
|
+
response: Response;
|
|
22
|
+
request: Request;
|
|
23
|
+
body: string;
|
|
24
|
+
},
|
|
25
|
+
) {
|
|
26
|
+
super(message);
|
|
27
|
+
this.statusCode = httpMeta.response.status;
|
|
28
|
+
this.body = httpMeta.body;
|
|
29
|
+
this.headers = httpMeta.response.headers;
|
|
30
|
+
this.contentType = httpMeta.response.headers.get("content-type") || "";
|
|
31
|
+
this.rawResponse = httpMeta.response;
|
|
32
|
+
|
|
33
|
+
this.name = "MoovError";
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { MoovError } from "./mooverror.js";
|
|
6
7
|
|
|
7
8
|
export type OnboardingInviteErrorData = {
|
|
8
9
|
returnURL?: string | undefined;
|
|
@@ -12,7 +13,7 @@ export type OnboardingInviteErrorData = {
|
|
|
12
13
|
feePlanCodes?: { [k: string]: string } | undefined;
|
|
13
14
|
};
|
|
14
15
|
|
|
15
|
-
export class OnboardingInviteError extends
|
|
16
|
+
export class OnboardingInviteError extends MoovError {
|
|
16
17
|
returnURL?: string | undefined;
|
|
17
18
|
termsOfServiceURL?: string | undefined;
|
|
18
19
|
scopes?: { [k: string]: string } | undefined;
|
|
@@ -22,13 +23,15 @@ export class OnboardingInviteError extends Error {
|
|
|
22
23
|
/** The original data that was passed to this error instance. */
|
|
23
24
|
data$: OnboardingInviteErrorData;
|
|
24
25
|
|
|
25
|
-
constructor(
|
|
26
|
+
constructor(
|
|
27
|
+
err: OnboardingInviteErrorData,
|
|
28
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
29
|
+
) {
|
|
26
30
|
const message = "message" in err && typeof err.message === "string"
|
|
27
31
|
? err.message
|
|
28
32
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
29
|
-
super(message);
|
|
33
|
+
super(message, httpMeta);
|
|
30
34
|
this.data$ = err;
|
|
31
|
-
|
|
32
35
|
if (err.returnURL != null) this.returnURL = err.returnURL;
|
|
33
36
|
if (err.termsOfServiceURL != null) {
|
|
34
37
|
this.termsOfServiceURL = err.termsOfServiceURL;
|
|
@@ -52,9 +55,16 @@ export const OnboardingInviteError$inboundSchema: z.ZodType<
|
|
|
52
55
|
scopes: z.record(z.string()).optional(),
|
|
53
56
|
capabilities: z.record(z.string()).optional(),
|
|
54
57
|
feePlanCodes: z.record(z.string()).optional(),
|
|
58
|
+
request$: z.instanceof(Request),
|
|
59
|
+
response$: z.instanceof(Response),
|
|
60
|
+
body$: z.string(),
|
|
55
61
|
})
|
|
56
62
|
.transform((v) => {
|
|
57
|
-
return new OnboardingInviteError(v
|
|
63
|
+
return new OnboardingInviteError(v, {
|
|
64
|
+
request: v.request$,
|
|
65
|
+
response: v.response$,
|
|
66
|
+
body: v.body$,
|
|
67
|
+
});
|
|
58
68
|
});
|
|
59
69
|
|
|
60
70
|
/** @internal */
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { MoovError } from "./mooverror.js";
|
|
6
7
|
|
|
7
8
|
export type PatchSweepConfigErrorData = {
|
|
8
9
|
status?: string | undefined;
|
|
@@ -12,7 +13,7 @@ export type PatchSweepConfigErrorData = {
|
|
|
12
13
|
minimumBalance?: string | undefined;
|
|
13
14
|
};
|
|
14
15
|
|
|
15
|
-
export class PatchSweepConfigError extends
|
|
16
|
+
export class PatchSweepConfigError extends MoovError {
|
|
16
17
|
status?: string | undefined;
|
|
17
18
|
pushPaymentMethodID?: string | undefined;
|
|
18
19
|
pullPaymentMethodID?: string | undefined;
|
|
@@ -22,13 +23,15 @@ export class PatchSweepConfigError extends Error {
|
|
|
22
23
|
/** The original data that was passed to this error instance. */
|
|
23
24
|
data$: PatchSweepConfigErrorData;
|
|
24
25
|
|
|
25
|
-
constructor(
|
|
26
|
+
constructor(
|
|
27
|
+
err: PatchSweepConfigErrorData,
|
|
28
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
29
|
+
) {
|
|
26
30
|
const message = "message" in err && typeof err.message === "string"
|
|
27
31
|
? err.message
|
|
28
32
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
29
|
-
super(message);
|
|
33
|
+
super(message, httpMeta);
|
|
30
34
|
this.data$ = err;
|
|
31
|
-
|
|
32
35
|
if (err.status != null) this.status = err.status;
|
|
33
36
|
if (err.pushPaymentMethodID != null) {
|
|
34
37
|
this.pushPaymentMethodID = err.pushPaymentMethodID;
|
|
@@ -56,9 +59,16 @@ export const PatchSweepConfigError$inboundSchema: z.ZodType<
|
|
|
56
59
|
pullPaymentMethodID: z.string().optional(),
|
|
57
60
|
statementDescriptor: z.string().optional(),
|
|
58
61
|
minimumBalance: z.string().optional(),
|
|
62
|
+
request$: z.instanceof(Request),
|
|
63
|
+
response$: z.instanceof(Response),
|
|
64
|
+
body$: z.string(),
|
|
59
65
|
})
|
|
60
66
|
.transform((v) => {
|
|
61
|
-
return new PatchSweepConfigError(v
|
|
67
|
+
return new PatchSweepConfigError(v, {
|
|
68
|
+
request: v.request$,
|
|
69
|
+
response: v.response$,
|
|
70
|
+
body: v.body$,
|
|
71
|
+
});
|
|
62
72
|
});
|
|
63
73
|
|
|
64
74
|
/** @internal */
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { MoovError } from "./mooverror.js";
|
|
6
7
|
|
|
7
8
|
export type RefundValidationErrorData = {
|
|
8
9
|
amount?: string | undefined;
|
|
@@ -12,7 +13,7 @@ export type RefundValidationErrorData = {
|
|
|
12
13
|
error?: string | undefined;
|
|
13
14
|
};
|
|
14
15
|
|
|
15
|
-
export class RefundValidationError extends
|
|
16
|
+
export class RefundValidationError extends MoovError {
|
|
16
17
|
amount?: string | undefined;
|
|
17
18
|
/**
|
|
18
19
|
* Used for generic errors when invalid request data isn't attributed to a single request field.
|
|
@@ -22,13 +23,15 @@ export class RefundValidationError extends Error {
|
|
|
22
23
|
/** The original data that was passed to this error instance. */
|
|
23
24
|
data$: RefundValidationErrorData;
|
|
24
25
|
|
|
25
|
-
constructor(
|
|
26
|
+
constructor(
|
|
27
|
+
err: RefundValidationErrorData,
|
|
28
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
29
|
+
) {
|
|
26
30
|
const message = "message" in err && typeof err.message === "string"
|
|
27
31
|
? err.message
|
|
28
32
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
29
|
-
super(message);
|
|
33
|
+
super(message, httpMeta);
|
|
30
34
|
this.data$ = err;
|
|
31
|
-
|
|
32
35
|
if (err.amount != null) this.amount = err.amount;
|
|
33
36
|
if (err.error != null) this.error = err.error;
|
|
34
37
|
|
|
@@ -44,9 +47,16 @@ export const RefundValidationError$inboundSchema: z.ZodType<
|
|
|
44
47
|
> = z.object({
|
|
45
48
|
amount: z.string().optional(),
|
|
46
49
|
error: z.string().optional(),
|
|
50
|
+
request$: z.instanceof(Request),
|
|
51
|
+
response$: z.instanceof(Response),
|
|
52
|
+
body$: z.string(),
|
|
47
53
|
})
|
|
48
54
|
.transform((v) => {
|
|
49
|
-
return new RefundValidationError(v
|
|
55
|
+
return new RefundValidationError(v, {
|
|
56
|
+
request: v.request$,
|
|
57
|
+
response: v.response$,
|
|
58
|
+
body: v.body$,
|
|
59
|
+
});
|
|
50
60
|
});
|
|
51
61
|
|
|
52
62
|
/** @internal */
|
|
@@ -6,6 +6,7 @@ import * as z from "zod";
|
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import * as components from "../components/index.js";
|
|
9
|
+
import { MoovError } from "./mooverror.js";
|
|
9
10
|
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
10
11
|
|
|
11
12
|
export type ErrorT = {
|
|
@@ -22,19 +23,21 @@ export type RepresentativeValidationErrorData = {
|
|
|
22
23
|
error: ErrorT;
|
|
23
24
|
};
|
|
24
25
|
|
|
25
|
-
export class RepresentativeValidationError extends
|
|
26
|
+
export class RepresentativeValidationError extends MoovError {
|
|
26
27
|
error: ErrorT;
|
|
27
28
|
|
|
28
29
|
/** The original data that was passed to this error instance. */
|
|
29
30
|
data$: RepresentativeValidationErrorData;
|
|
30
31
|
|
|
31
|
-
constructor(
|
|
32
|
+
constructor(
|
|
33
|
+
err: RepresentativeValidationErrorData,
|
|
34
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
35
|
+
) {
|
|
32
36
|
const message = "message" in err && typeof err.message === "string"
|
|
33
37
|
? err.message
|
|
34
38
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
35
|
-
super(message);
|
|
39
|
+
super(message, httpMeta);
|
|
36
40
|
this.data$ = err;
|
|
37
|
-
|
|
38
41
|
this.error = err.error;
|
|
39
42
|
|
|
40
43
|
this.name = "RepresentativeValidationError";
|
|
@@ -117,9 +120,16 @@ export const RepresentativeValidationError$inboundSchema: z.ZodType<
|
|
|
117
120
|
unknown
|
|
118
121
|
> = z.object({
|
|
119
122
|
error: z.lazy(() => ErrorT$inboundSchema),
|
|
123
|
+
request$: z.instanceof(Request),
|
|
124
|
+
response$: z.instanceof(Response),
|
|
125
|
+
body$: z.string(),
|
|
120
126
|
})
|
|
121
127
|
.transform((v) => {
|
|
122
|
-
return new RepresentativeValidationError(v
|
|
128
|
+
return new RepresentativeValidationError(v, {
|
|
129
|
+
request: v.request$,
|
|
130
|
+
response: v.response$,
|
|
131
|
+
body: v.body$,
|
|
132
|
+
});
|
|
123
133
|
});
|
|
124
134
|
|
|
125
135
|
/** @internal */
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import * as components from "../components/index.js";
|
|
7
|
+
import { MoovError } from "./mooverror.js";
|
|
7
8
|
|
|
8
9
|
export type RequestCardErrorData = {
|
|
9
10
|
fundingWalletID?: string | undefined;
|
|
@@ -14,7 +15,7 @@ export type RequestCardErrorData = {
|
|
|
14
15
|
controls?: components.IssuingControlsError | undefined;
|
|
15
16
|
};
|
|
16
17
|
|
|
17
|
-
export class RequestCardError extends
|
|
18
|
+
export class RequestCardError extends MoovError {
|
|
18
19
|
fundingWalletID?: string | undefined;
|
|
19
20
|
formFactor?: string | undefined;
|
|
20
21
|
authorizedUser?: components.CreateAuthorizedUserError | undefined;
|
|
@@ -25,13 +26,15 @@ export class RequestCardError extends Error {
|
|
|
25
26
|
/** The original data that was passed to this error instance. */
|
|
26
27
|
data$: RequestCardErrorData;
|
|
27
28
|
|
|
28
|
-
constructor(
|
|
29
|
+
constructor(
|
|
30
|
+
err: RequestCardErrorData,
|
|
31
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
32
|
+
) {
|
|
29
33
|
const message = "message" in err && typeof err.message === "string"
|
|
30
34
|
? err.message
|
|
31
35
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
32
|
-
super(message);
|
|
36
|
+
super(message, httpMeta);
|
|
33
37
|
this.data$ = err;
|
|
34
|
-
|
|
35
38
|
if (err.fundingWalletID != null) this.fundingWalletID = err.fundingWalletID;
|
|
36
39
|
if (err.formFactor != null) this.formFactor = err.formFactor;
|
|
37
40
|
if (err.authorizedUser != null) this.authorizedUser = err.authorizedUser;
|
|
@@ -55,9 +58,16 @@ export const RequestCardError$inboundSchema: z.ZodType<
|
|
|
55
58
|
memo: z.string().optional(),
|
|
56
59
|
expiration: components.CardExpirationError$inboundSchema.optional(),
|
|
57
60
|
controls: components.IssuingControlsError$inboundSchema.optional(),
|
|
61
|
+
request$: z.instanceof(Request),
|
|
62
|
+
response$: z.instanceof(Response),
|
|
63
|
+
body$: z.string(),
|
|
58
64
|
})
|
|
59
65
|
.transform((v) => {
|
|
60
|
-
return new RequestCardError(v
|
|
66
|
+
return new RequestCardError(v, {
|
|
67
|
+
request: v.request$,
|
|
68
|
+
response: v.response$,
|
|
69
|
+
body: v.body$,
|
|
70
|
+
});
|
|
61
71
|
});
|
|
62
72
|
|
|
63
73
|
/** @internal */
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { MoovError } from "./mooverror.js";
|
|
7
|
+
import { formatZodError } from "./sdkvalidationerror.js";
|
|
8
|
+
|
|
9
|
+
export class ResponseValidationError extends MoovError {
|
|
10
|
+
/**
|
|
11
|
+
* The raw value that failed validation.
|
|
12
|
+
*/
|
|
13
|
+
public readonly rawValue: unknown;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* The raw message that failed validation.
|
|
17
|
+
*/
|
|
18
|
+
public readonly rawMessage: unknown;
|
|
19
|
+
|
|
20
|
+
constructor(
|
|
21
|
+
message: string,
|
|
22
|
+
extra: {
|
|
23
|
+
response: Response;
|
|
24
|
+
request: Request;
|
|
25
|
+
body: string;
|
|
26
|
+
cause: unknown;
|
|
27
|
+
rawValue: unknown;
|
|
28
|
+
rawMessage: unknown;
|
|
29
|
+
},
|
|
30
|
+
) {
|
|
31
|
+
super(message, extra);
|
|
32
|
+
this.name = "ResponseValidationError";
|
|
33
|
+
this.cause = extra.cause;
|
|
34
|
+
this.rawValue = extra.rawValue;
|
|
35
|
+
this.rawMessage = extra.rawMessage;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Return a pretty-formatted error message if the underlying validation error
|
|
40
|
+
* is a ZodError or some other recognized error type, otherwise return the
|
|
41
|
+
* default error message.
|
|
42
|
+
*/
|
|
43
|
+
public pretty(): string {
|
|
44
|
+
if (this.cause instanceof z.ZodError) {
|
|
45
|
+
return `${this.rawMessage}\n${formatZodError(this.cause)}`;
|
|
46
|
+
} else {
|
|
47
|
+
return this.toString();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -3,24 +3,27 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { MoovError } from "./mooverror.js";
|
|
6
7
|
|
|
7
8
|
export type ReversalValidationErrorData = {
|
|
8
9
|
amount?: string | undefined;
|
|
9
10
|
};
|
|
10
11
|
|
|
11
|
-
export class ReversalValidationError extends
|
|
12
|
+
export class ReversalValidationError extends MoovError {
|
|
12
13
|
amount?: string | undefined;
|
|
13
14
|
|
|
14
15
|
/** The original data that was passed to this error instance. */
|
|
15
16
|
data$: ReversalValidationErrorData;
|
|
16
17
|
|
|
17
|
-
constructor(
|
|
18
|
+
constructor(
|
|
19
|
+
err: ReversalValidationErrorData,
|
|
20
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
21
|
+
) {
|
|
18
22
|
const message = "message" in err && typeof err.message === "string"
|
|
19
23
|
? err.message
|
|
20
24
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
21
|
-
super(message);
|
|
25
|
+
super(message, httpMeta);
|
|
22
26
|
this.data$ = err;
|
|
23
|
-
|
|
24
27
|
if (err.amount != null) this.amount = err.amount;
|
|
25
28
|
|
|
26
29
|
this.name = "ReversalValidationError";
|
|
@@ -34,9 +37,16 @@ export const ReversalValidationError$inboundSchema: z.ZodType<
|
|
|
34
37
|
unknown
|
|
35
38
|
> = z.object({
|
|
36
39
|
amount: z.string().optional(),
|
|
40
|
+
request$: z.instanceof(Request),
|
|
41
|
+
response$: z.instanceof(Response),
|
|
42
|
+
body$: z.string(),
|
|
37
43
|
})
|
|
38
44
|
.transform((v) => {
|
|
39
|
-
return new ReversalValidationError(v
|
|
45
|
+
return new ReversalValidationError(v, {
|
|
46
|
+
request: v.request$,
|
|
47
|
+
response: v.response$,
|
|
48
|
+
body: v.body$,
|
|
49
|
+
});
|
|
40
50
|
});
|
|
41
51
|
|
|
42
52
|
/** @internal */
|