@moovio/sdk 26.2.0 → 26.2.2
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 +72 -56
- package/bin/mcp-server.js +889 -1143
- package/bin/mcp-server.js.map +197 -189
- package/funcs/accountTerminalApplicationsGet.d.ts.map +1 -1
- package/funcs/accountTerminalApplicationsGet.js +2 -1
- package/funcs/accountTerminalApplicationsGet.js.map +1 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.d.ts.map +1 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.js +2 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.js.map +1 -1
- package/funcs/accountTerminalApplicationsLink.d.ts.map +1 -1
- package/funcs/accountTerminalApplicationsLink.js +2 -13
- package/funcs/accountTerminalApplicationsLink.js.map +1 -1
- package/funcs/accountTerminalApplicationsList.d.ts.map +1 -1
- package/funcs/accountTerminalApplicationsList.js +2 -1
- package/funcs/accountTerminalApplicationsList.js.map +1 -1
- package/funcs/accountsAssignCountries.d.ts.map +1 -1
- package/funcs/accountsAssignCountries.js +2 -13
- package/funcs/accountsAssignCountries.js.map +1 -1
- package/funcs/accountsConnect.d.ts.map +1 -1
- package/funcs/accountsConnect.js +2 -13
- package/funcs/accountsConnect.js.map +1 -1
- package/funcs/accountsCreate.d.ts.map +1 -1
- package/funcs/accountsCreate.js +2 -13
- package/funcs/accountsCreate.js.map +1 -1
- package/funcs/accountsDisconnect.d.ts.map +1 -1
- package/funcs/accountsDisconnect.js +2 -12
- package/funcs/accountsDisconnect.js.map +1 -1
- package/funcs/accountsGet.d.ts.map +1 -1
- package/funcs/accountsGet.js +2 -1
- package/funcs/accountsGet.js.map +1 -1
- package/funcs/accountsGetCountries.d.ts.map +1 -1
- package/funcs/accountsGetCountries.js +2 -1
- package/funcs/accountsGetCountries.js.map +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.d.ts.map +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.js +2 -1
- package/funcs/accountsGetMerchantProcessingAgreement.js.map +1 -1
- package/funcs/accountsGetTermsOfServiceToken.d.ts.map +1 -1
- package/funcs/accountsGetTermsOfServiceToken.js +2 -1
- package/funcs/accountsGetTermsOfServiceToken.js.map +1 -1
- package/funcs/accountsList.d.ts.map +1 -1
- package/funcs/accountsList.js +2 -1
- package/funcs/accountsList.js.map +1 -1
- package/funcs/accountsListConnected.d.ts.map +1 -1
- package/funcs/accountsListConnected.js +2 -1
- package/funcs/accountsListConnected.js.map +1 -1
- package/funcs/accountsUpdate.d.ts.map +1 -1
- package/funcs/accountsUpdate.js +2 -13
- package/funcs/accountsUpdate.js.map +1 -1
- package/funcs/adjustmentsGet.d.ts.map +1 -1
- package/funcs/adjustmentsGet.js +2 -1
- package/funcs/adjustmentsGet.js.map +1 -1
- package/funcs/adjustmentsList.d.ts.map +1 -1
- package/funcs/adjustmentsList.js +2 -1
- package/funcs/adjustmentsList.js.map +1 -1
- package/funcs/applePayCreateSession.d.ts.map +1 -1
- package/funcs/applePayCreateSession.js +2 -13
- package/funcs/applePayCreateSession.js.map +1 -1
- package/funcs/applePayGetMerchantDomains.d.ts.map +1 -1
- package/funcs/applePayGetMerchantDomains.js +2 -1
- package/funcs/applePayGetMerchantDomains.js.map +1 -1
- package/funcs/applePayLinkToken.d.ts.map +1 -1
- package/funcs/applePayLinkToken.js +2 -13
- package/funcs/applePayLinkToken.js.map +1 -1
- package/funcs/applePayRegisterMerchantDomains.d.ts.map +1 -1
- package/funcs/applePayRegisterMerchantDomains.js +2 -12
- package/funcs/applePayRegisterMerchantDomains.js.map +1 -1
- package/funcs/applePayUpdateMerchantDomains.d.ts.map +1 -1
- package/funcs/applePayUpdateMerchantDomains.js +2 -13
- package/funcs/applePayUpdateMerchantDomains.js.map +1 -1
- package/funcs/authenticationCreateAccessToken.d.ts.map +1 -1
- package/funcs/authenticationCreateAccessToken.js +2 -1
- package/funcs/authenticationCreateAccessToken.js.map +1 -1
- package/funcs/authenticationRevokeAccessToken.d.ts.map +1 -1
- package/funcs/authenticationRevokeAccessToken.js +2 -1
- package/funcs/authenticationRevokeAccessToken.js.map +1 -1
- package/funcs/avatarsGet.d.ts.map +1 -1
- package/funcs/avatarsGet.js +2 -1
- package/funcs/avatarsGet.js.map +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.d.ts.map +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.js +2 -13
- package/funcs/bankAccountsCompleteMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsCompleteVerification.d.ts.map +1 -1
- package/funcs/bankAccountsCompleteVerification.js +2 -13
- package/funcs/bankAccountsCompleteVerification.js.map +1 -1
- package/funcs/bankAccountsDisable.d.ts.map +1 -1
- package/funcs/bankAccountsDisable.js +2 -12
- package/funcs/bankAccountsDisable.js.map +1 -1
- package/funcs/bankAccountsGet.d.ts.map +1 -1
- package/funcs/bankAccountsGet.js +2 -1
- package/funcs/bankAccountsGet.js.map +1 -1
- package/funcs/bankAccountsGetVerification.d.ts.map +1 -1
- package/funcs/bankAccountsGetVerification.js +2 -1
- package/funcs/bankAccountsGetVerification.js.map +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.d.ts.map +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.js +2 -12
- package/funcs/bankAccountsInitiateMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsInitiateVerification.d.ts.map +1 -1
- package/funcs/bankAccountsInitiateVerification.js +2 -12
- package/funcs/bankAccountsInitiateVerification.js.map +1 -1
- package/funcs/bankAccountsLink.d.ts.map +1 -1
- package/funcs/bankAccountsLink.js +2 -13
- package/funcs/bankAccountsLink.js.map +1 -1
- package/funcs/bankAccountsList.d.ts.map +1 -1
- package/funcs/bankAccountsList.js +2 -1
- package/funcs/bankAccountsList.js.map +1 -1
- package/funcs/brandingCreate.d.ts.map +1 -1
- package/funcs/brandingCreate.js +2 -13
- package/funcs/brandingCreate.js.map +1 -1
- package/funcs/brandingGet.d.ts.map +1 -1
- package/funcs/brandingGet.js +2 -1
- package/funcs/brandingGet.js.map +1 -1
- package/funcs/brandingUpsert.d.ts.map +1 -1
- package/funcs/brandingUpsert.js +2 -13
- package/funcs/brandingUpsert.js.map +1 -1
- package/funcs/capabilitiesDisable.d.ts.map +1 -1
- package/funcs/capabilitiesDisable.js +2 -12
- package/funcs/capabilitiesDisable.js.map +1 -1
- package/funcs/capabilitiesGet.d.ts.map +1 -1
- package/funcs/capabilitiesGet.js +2 -1
- package/funcs/capabilitiesGet.js.map +1 -1
- package/funcs/capabilitiesList.d.ts.map +1 -1
- package/funcs/capabilitiesList.js +2 -1
- package/funcs/capabilitiesList.js.map +1 -1
- package/funcs/capabilitiesRequest.d.ts.map +1 -1
- package/funcs/capabilitiesRequest.js +2 -13
- package/funcs/capabilitiesRequest.js.map +1 -1
- package/funcs/cardIssuingGet.d.ts.map +1 -1
- package/funcs/cardIssuingGet.js +2 -1
- package/funcs/cardIssuingGet.js.map +1 -1
- package/funcs/cardIssuingGetFull.d.ts.map +1 -1
- package/funcs/cardIssuingGetFull.js +2 -1
- package/funcs/cardIssuingGetFull.js.map +1 -1
- package/funcs/cardIssuingList.d.ts.map +1 -1
- package/funcs/cardIssuingList.js +2 -1
- package/funcs/cardIssuingList.js.map +1 -1
- package/funcs/cardIssuingRequest.d.ts.map +1 -1
- package/funcs/cardIssuingRequest.js +2 -12
- package/funcs/cardIssuingRequest.js.map +1 -1
- package/funcs/cardIssuingUpdate.d.ts +1 -1
- package/funcs/cardIssuingUpdate.d.ts.map +1 -1
- package/funcs/cardIssuingUpdate.js +4 -14
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/cardsDisable.d.ts.map +1 -1
- package/funcs/cardsDisable.js +2 -12
- package/funcs/cardsDisable.js.map +1 -1
- package/funcs/cardsGet.d.ts.map +1 -1
- package/funcs/cardsGet.js +2 -1
- package/funcs/cardsGet.js.map +1 -1
- package/funcs/cardsLink.d.ts.map +1 -1
- package/funcs/cardsLink.js +2 -13
- package/funcs/cardsLink.js.map +1 -1
- package/funcs/cardsList.d.ts.map +1 -1
- package/funcs/cardsList.js +2 -1
- package/funcs/cardsList.js.map +1 -1
- package/funcs/cardsUpdate.d.ts.map +1 -1
- package/funcs/cardsUpdate.js +2 -13
- package/funcs/cardsUpdate.js.map +1 -1
- package/funcs/disputesAccept.d.ts.map +1 -1
- package/funcs/disputesAccept.js +2 -12
- package/funcs/disputesAccept.js.map +1 -1
- package/funcs/disputesDeleteEvidence.d.ts.map +1 -1
- package/funcs/disputesDeleteEvidence.js +2 -1
- package/funcs/disputesDeleteEvidence.js.map +1 -1
- package/funcs/disputesGet.d.ts.map +1 -1
- package/funcs/disputesGet.js +2 -1
- package/funcs/disputesGet.js.map +1 -1
- package/funcs/disputesGetEvidence.d.ts.map +1 -1
- package/funcs/disputesGetEvidence.js +2 -1
- package/funcs/disputesGetEvidence.js.map +1 -1
- package/funcs/disputesGetEvidenceData.d.ts.map +1 -1
- package/funcs/disputesGetEvidenceData.js +2 -1
- package/funcs/disputesGetEvidenceData.js.map +1 -1
- package/funcs/disputesList.d.ts.map +1 -1
- package/funcs/disputesList.js +2 -1
- package/funcs/disputesList.js.map +1 -1
- package/funcs/disputesListEvidence.d.ts.map +1 -1
- package/funcs/disputesListEvidence.js +2 -1
- package/funcs/disputesListEvidence.js.map +1 -1
- package/funcs/disputesSubmitEvidence.d.ts.map +1 -1
- package/funcs/disputesSubmitEvidence.js +2 -12
- package/funcs/disputesSubmitEvidence.js.map +1 -1
- package/funcs/disputesUpdateEvidence.d.ts.map +1 -1
- package/funcs/disputesUpdateEvidence.js +2 -1
- package/funcs/disputesUpdateEvidence.js.map +1 -1
- package/funcs/disputesUploadEvidenceFile.d.ts.map +1 -1
- package/funcs/disputesUploadEvidenceFile.js +6 -14
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/disputesUploadEvidenceText.d.ts.map +1 -1
- package/funcs/disputesUploadEvidenceText.js +2 -12
- package/funcs/disputesUploadEvidenceText.js.map +1 -1
- package/funcs/endToEndEncryptionGenerateKey.d.ts.map +1 -1
- package/funcs/endToEndEncryptionGenerateKey.js +2 -1
- package/funcs/endToEndEncryptionGenerateKey.js.map +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.d.ts.map +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.js +2 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.js.map +1 -1
- package/funcs/enrichedAddressGet.d.ts.map +1 -1
- package/funcs/enrichedAddressGet.js +2 -1
- package/funcs/enrichedAddressGet.js.map +1 -1
- package/funcs/enrichedProfileGet.d.ts.map +1 -1
- package/funcs/enrichedProfileGet.js +2 -1
- package/funcs/enrichedProfileGet.js.map +1 -1
- package/funcs/feePlansCreateFeePlanAgreements.d.ts.map +1 -1
- package/funcs/feePlansCreateFeePlanAgreements.js +2 -13
- package/funcs/feePlansCreateFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansGetResidual.d.ts.map +1 -1
- package/funcs/feePlansGetResidual.js +2 -1
- package/funcs/feePlansGetResidual.js.map +1 -1
- package/funcs/feePlansListFeePlanAgreements.d.ts.map +1 -1
- package/funcs/feePlansListFeePlanAgreements.js +2 -1
- package/funcs/feePlansListFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansListFeePlans.d.ts.map +1 -1
- package/funcs/feePlansListFeePlans.js +2 -1
- package/funcs/feePlansListFeePlans.js.map +1 -1
- package/funcs/feePlansListFeeRevenue.d.ts.map +1 -1
- package/funcs/feePlansListFeeRevenue.js +2 -1
- package/funcs/feePlansListFeeRevenue.js.map +1 -1
- package/funcs/feePlansListFeesFetch.d.ts.map +1 -1
- package/funcs/feePlansListFeesFetch.js +2 -1
- package/funcs/feePlansListFeesFetch.js.map +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.d.ts.map +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.js +2 -1
- package/funcs/feePlansListPartnerPricingAgreements.js.map +1 -1
- package/funcs/feePlansListResidualFees.d.ts.map +1 -1
- package/funcs/feePlansListResidualFees.js +2 -1
- package/funcs/feePlansListResidualFees.js.map +1 -1
- package/funcs/feePlansListResiduals.d.ts.map +1 -1
- package/funcs/feePlansListResiduals.js +2 -1
- package/funcs/feePlansListResiduals.js.map +1 -1
- package/funcs/feePlansRetrieveFees.d.ts.map +1 -1
- package/funcs/feePlansRetrieveFees.js +2 -1
- package/funcs/feePlansRetrieveFees.js.map +1 -1
- package/funcs/filesGet.d.ts.map +1 -1
- package/funcs/filesGet.js +2 -1
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesList.d.ts.map +1 -1
- package/funcs/filesList.js +2 -1
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpload.d.ts.map +1 -1
- package/funcs/filesUpload.js +6 -14
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/imagesDelete.d.ts.map +1 -1
- package/funcs/imagesDelete.js +2 -12
- package/funcs/imagesDelete.js.map +1 -1
- package/funcs/imagesGetMetadata.d.ts.map +1 -1
- package/funcs/imagesGetMetadata.js +2 -1
- package/funcs/imagesGetMetadata.js.map +1 -1
- package/funcs/imagesGetPublic.d.ts.map +1 -1
- package/funcs/imagesGetPublic.js +2 -1
- package/funcs/imagesGetPublic.js.map +1 -1
- package/funcs/imagesList.d.ts.map +1 -1
- package/funcs/imagesList.js +2 -1
- package/funcs/imagesList.js.map +1 -1
- package/funcs/imagesUpdate.d.ts.map +1 -1
- package/funcs/imagesUpdate.js +6 -14
- package/funcs/imagesUpdate.js.map +1 -1
- package/funcs/imagesUpdateMetadata.d.ts.map +1 -1
- package/funcs/imagesUpdateMetadata.js +2 -13
- package/funcs/imagesUpdateMetadata.js.map +1 -1
- package/funcs/imagesUpload.d.ts.map +1 -1
- package/funcs/imagesUpload.js +6 -14
- package/funcs/imagesUpload.js.map +1 -1
- package/funcs/industriesList.d.ts.map +1 -1
- package/funcs/industriesList.js +2 -1
- package/funcs/industriesList.js.map +1 -1
- package/funcs/institutionsSearch.d.ts.map +1 -1
- package/funcs/institutionsSearch.js +2 -1
- package/funcs/institutionsSearch.js.map +1 -1
- package/funcs/institutionsSearchInstitutions.d.ts.map +1 -1
- package/funcs/institutionsSearchInstitutions.js +2 -1
- package/funcs/institutionsSearchInstitutions.js.map +1 -1
- package/funcs/issuingTransactionsGet.d.ts.map +1 -1
- package/funcs/issuingTransactionsGet.js +2 -1
- package/funcs/issuingTransactionsGet.js.map +1 -1
- package/funcs/issuingTransactionsGetAuthorization.d.ts.map +1 -1
- package/funcs/issuingTransactionsGetAuthorization.js +2 -1
- package/funcs/issuingTransactionsGetAuthorization.js.map +1 -1
- package/funcs/issuingTransactionsList.d.ts.map +1 -1
- package/funcs/issuingTransactionsList.js +2 -1
- package/funcs/issuingTransactionsList.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.d.ts.map +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.js +2 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizations.d.ts.map +1 -1
- package/funcs/issuingTransactionsListAuthorizations.js +2 -1
- package/funcs/issuingTransactionsListAuthorizations.js.map +1 -1
- package/funcs/onboardingCreateInvite.d.ts.map +1 -1
- package/funcs/onboardingCreateInvite.js +2 -13
- package/funcs/onboardingCreateInvite.js.map +1 -1
- package/funcs/onboardingGetInvite.d.ts.map +1 -1
- package/funcs/onboardingGetInvite.js +2 -1
- package/funcs/onboardingGetInvite.js.map +1 -1
- package/funcs/onboardingListInvites.d.ts.map +1 -1
- package/funcs/onboardingListInvites.js +2 -1
- package/funcs/onboardingListInvites.js.map +1 -1
- package/funcs/onboardingRevokeInvite.d.ts.map +1 -1
- package/funcs/onboardingRevokeInvite.js +2 -1
- package/funcs/onboardingRevokeInvite.js.map +1 -1
- package/funcs/paymentLinksCreate.d.ts.map +1 -1
- package/funcs/paymentLinksCreate.js +2 -13
- package/funcs/paymentLinksCreate.js.map +1 -1
- package/funcs/paymentLinksDisable.d.ts.map +1 -1
- package/funcs/paymentLinksDisable.js +2 -1
- package/funcs/paymentLinksDisable.js.map +1 -1
- package/funcs/paymentLinksGet.d.ts.map +1 -1
- package/funcs/paymentLinksGet.js +2 -1
- package/funcs/paymentLinksGet.js.map +1 -1
- package/funcs/paymentLinksGetQRCode.d.ts.map +1 -1
- package/funcs/paymentLinksGetQRCode.js +2 -1
- package/funcs/paymentLinksGetQRCode.js.map +1 -1
- package/funcs/paymentLinksList.d.ts.map +1 -1
- package/funcs/paymentLinksList.js +2 -1
- package/funcs/paymentLinksList.js.map +1 -1
- package/funcs/paymentLinksUpdate.d.ts.map +1 -1
- package/funcs/paymentLinksUpdate.js +2 -13
- package/funcs/paymentLinksUpdate.js.map +1 -1
- package/funcs/paymentMethodsGet.d.ts.map +1 -1
- package/funcs/paymentMethodsGet.js +2 -1
- package/funcs/paymentMethodsGet.js.map +1 -1
- package/funcs/paymentMethodsList.d.ts.map +1 -1
- package/funcs/paymentMethodsList.js +2 -1
- package/funcs/paymentMethodsList.js.map +1 -1
- package/funcs/pingPing.d.ts.map +1 -1
- package/funcs/pingPing.js +2 -1
- package/funcs/pingPing.js.map +1 -1
- package/funcs/productsCreate.d.ts.map +1 -1
- package/funcs/productsCreate.js +2 -13
- package/funcs/productsCreate.js.map +1 -1
- package/funcs/productsDisable.d.ts.map +1 -1
- package/funcs/productsDisable.js +2 -12
- package/funcs/productsDisable.js.map +1 -1
- package/funcs/productsGet.d.ts.map +1 -1
- package/funcs/productsGet.js +2 -1
- package/funcs/productsGet.js.map +1 -1
- package/funcs/productsList.d.ts.map +1 -1
- package/funcs/productsList.js +2 -1
- package/funcs/productsList.js.map +1 -1
- package/funcs/productsUpdate.d.ts.map +1 -1
- package/funcs/productsUpdate.js +2 -13
- package/funcs/productsUpdate.js.map +1 -1
- package/funcs/receiptsCreate.d.ts.map +1 -1
- package/funcs/receiptsCreate.js +2 -13
- package/funcs/receiptsCreate.js.map +1 -1
- package/funcs/receiptsList.d.ts.map +1 -1
- package/funcs/receiptsList.js +2 -1
- package/funcs/receiptsList.js.map +1 -1
- package/funcs/representativesCreate.d.ts.map +1 -1
- package/funcs/representativesCreate.js +2 -13
- package/funcs/representativesCreate.js.map +1 -1
- package/funcs/representativesDelete.d.ts.map +1 -1
- package/funcs/representativesDelete.js +2 -12
- package/funcs/representativesDelete.js.map +1 -1
- package/funcs/representativesGet.d.ts.map +1 -1
- package/funcs/representativesGet.js +2 -1
- package/funcs/representativesGet.js.map +1 -1
- package/funcs/representativesList.d.ts.map +1 -1
- package/funcs/representativesList.js +2 -1
- package/funcs/representativesList.js.map +1 -1
- package/funcs/representativesUpdate.d.ts.map +1 -1
- package/funcs/representativesUpdate.js +2 -12
- package/funcs/representativesUpdate.js.map +1 -1
- package/funcs/schedulingCancel.d.ts.map +1 -1
- package/funcs/schedulingCancel.js +2 -12
- package/funcs/schedulingCancel.js.map +1 -1
- package/funcs/schedulingCreate.d.ts.map +1 -1
- package/funcs/schedulingCreate.js +2 -13
- package/funcs/schedulingCreate.js.map +1 -1
- package/funcs/schedulingGet.d.ts.map +1 -1
- package/funcs/schedulingGet.js +2 -1
- package/funcs/schedulingGet.js.map +1 -1
- package/funcs/schedulingGetOccurrance.d.ts.map +1 -1
- package/funcs/schedulingGetOccurrance.js +2 -1
- package/funcs/schedulingGetOccurrance.js.map +1 -1
- package/funcs/schedulingList.d.ts.map +1 -1
- package/funcs/schedulingList.js +2 -1
- package/funcs/schedulingList.js.map +1 -1
- package/funcs/schedulingUpdate.d.ts.map +1 -1
- package/funcs/schedulingUpdate.js +2 -13
- package/funcs/schedulingUpdate.js.map +1 -1
- package/funcs/statementsGet.d.ts.map +1 -1
- package/funcs/statementsGet.js +2 -1
- package/funcs/statementsGet.js.map +1 -1
- package/funcs/statementsList.d.ts.map +1 -1
- package/funcs/statementsList.js +2 -1
- package/funcs/statementsList.js.map +1 -1
- package/funcs/supportCreateTicket.d.ts.map +1 -1
- package/funcs/supportCreateTicket.js +2 -13
- package/funcs/supportCreateTicket.js.map +1 -1
- package/funcs/supportGetTicket.d.ts.map +1 -1
- package/funcs/supportGetTicket.js +2 -1
- package/funcs/supportGetTicket.js.map +1 -1
- package/funcs/supportListTicketMessages.d.ts.map +1 -1
- package/funcs/supportListTicketMessages.js +2 -1
- package/funcs/supportListTicketMessages.js.map +1 -1
- package/funcs/supportListTickets.d.ts.map +1 -1
- package/funcs/supportListTickets.js +2 -1
- package/funcs/supportListTickets.js.map +1 -1
- package/funcs/supportUpdateTicket.d.ts.map +1 -1
- package/funcs/supportUpdateTicket.js +2 -13
- package/funcs/supportUpdateTicket.js.map +1 -1
- package/funcs/sweepsCreateConfig.d.ts.map +1 -1
- package/funcs/sweepsCreateConfig.js +2 -13
- package/funcs/sweepsCreateConfig.js.map +1 -1
- package/funcs/sweepsGet.d.ts.map +1 -1
- package/funcs/sweepsGet.js +2 -1
- package/funcs/sweepsGet.js.map +1 -1
- package/funcs/sweepsGetConfig.d.ts.map +1 -1
- package/funcs/sweepsGetConfig.js +2 -1
- package/funcs/sweepsGetConfig.js.map +1 -1
- package/funcs/sweepsList.d.ts.map +1 -1
- package/funcs/sweepsList.js +2 -1
- package/funcs/sweepsList.js.map +1 -1
- package/funcs/sweepsListConfigs.d.ts.map +1 -1
- package/funcs/sweepsListConfigs.js +2 -1
- package/funcs/sweepsListConfigs.js.map +1 -1
- package/funcs/sweepsUpdateConfig.d.ts.map +1 -1
- package/funcs/sweepsUpdateConfig.js +2 -13
- package/funcs/sweepsUpdateConfig.js.map +1 -1
- package/funcs/terminalApplicationsCreate.d.ts.map +1 -1
- package/funcs/terminalApplicationsCreate.js +2 -13
- package/funcs/terminalApplicationsCreate.js.map +1 -1
- package/funcs/terminalApplicationsCreateVersion.d.ts.map +1 -1
- package/funcs/terminalApplicationsCreateVersion.js +2 -13
- package/funcs/terminalApplicationsCreateVersion.js.map +1 -1
- package/funcs/terminalApplicationsDelete.d.ts.map +1 -1
- package/funcs/terminalApplicationsDelete.js +2 -12
- package/funcs/terminalApplicationsDelete.js.map +1 -1
- package/funcs/terminalApplicationsGet.d.ts.map +1 -1
- package/funcs/terminalApplicationsGet.js +2 -1
- package/funcs/terminalApplicationsGet.js.map +1 -1
- package/funcs/terminalApplicationsList.d.ts.map +1 -1
- package/funcs/terminalApplicationsList.js +2 -1
- package/funcs/terminalApplicationsList.js.map +1 -1
- package/funcs/transfersBatchGetTransfers.d.ts +21 -0
- package/funcs/transfersBatchGetTransfers.d.ts.map +1 -0
- package/funcs/transfersBatchGetTransfers.js +132 -0
- package/funcs/transfersBatchGetTransfers.js.map +1 -0
- package/funcs/transfersCreate.d.ts.map +1 -1
- package/funcs/transfersCreate.js +2 -1
- package/funcs/transfersCreate.js.map +1 -1
- package/funcs/transfersCreateCancellation.d.ts.map +1 -1
- package/funcs/transfersCreateCancellation.js +2 -1
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateReversal.d.ts.map +1 -1
- package/funcs/transfersCreateReversal.js +2 -13
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersGenerateOptions.d.ts.map +1 -1
- package/funcs/transfersGenerateOptions.js +2 -1
- package/funcs/transfersGenerateOptions.js.map +1 -1
- package/funcs/transfersGet.d.ts.map +1 -1
- package/funcs/transfersGet.js +2 -1
- package/funcs/transfersGet.js.map +1 -1
- package/funcs/transfersGetCancellation.d.ts.map +1 -1
- package/funcs/transfersGetCancellation.js +2 -1
- package/funcs/transfersGetCancellation.js.map +1 -1
- package/funcs/transfersGetRefund.d.ts.map +1 -1
- package/funcs/transfersGetRefund.js +2 -1
- package/funcs/transfersGetRefund.js.map +1 -1
- package/funcs/transfersInitiateRefund.d.ts.map +1 -1
- package/funcs/transfersInitiateRefund.js +2 -1
- package/funcs/transfersInitiateRefund.js.map +1 -1
- 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.map +1 -1
- package/funcs/transfersListRefunds.js +2 -1
- package/funcs/transfersListRefunds.js.map +1 -1
- package/funcs/transfersUpdate.d.ts.map +1 -1
- package/funcs/transfersUpdate.js +2 -1
- package/funcs/transfersUpdate.js.map +1 -1
- package/funcs/underwritingGet.d.ts.map +1 -1
- package/funcs/underwritingGet.js +2 -1
- package/funcs/underwritingGet.js.map +1 -1
- package/funcs/underwritingSave.d.ts.map +1 -1
- package/funcs/underwritingSave.js +2 -13
- package/funcs/underwritingSave.js.map +1 -1
- package/funcs/underwritingUpsert.d.ts.map +1 -1
- package/funcs/underwritingUpsert.js +2 -13
- package/funcs/underwritingUpsert.js.map +1 -1
- package/funcs/walletTransactionsGet.d.ts.map +1 -1
- package/funcs/walletTransactionsGet.js +2 -1
- package/funcs/walletTransactionsGet.js.map +1 -1
- package/funcs/walletTransactionsList.d.ts.map +1 -1
- package/funcs/walletTransactionsList.js +2 -1
- package/funcs/walletTransactionsList.js.map +1 -1
- package/funcs/walletsCreate.d.ts.map +1 -1
- package/funcs/walletsCreate.js +2 -13
- package/funcs/walletsCreate.js.map +1 -1
- package/funcs/walletsGet.d.ts.map +1 -1
- package/funcs/walletsGet.js +2 -1
- package/funcs/walletsGet.js.map +1 -1
- package/funcs/walletsList.d.ts.map +1 -1
- package/funcs/walletsList.js +2 -1
- package/funcs/walletsList.js.map +1 -1
- package/funcs/walletsUpdate.d.ts.map +1 -1
- package/funcs/walletsUpdate.js +2 -13
- package/funcs/walletsUpdate.js.map +1 -1
- package/funcs/webhooksCreate.d.ts.map +1 -1
- package/funcs/webhooksCreate.js +2 -13
- package/funcs/webhooksCreate.js.map +1 -1
- package/funcs/webhooksDisable.d.ts.map +1 -1
- package/funcs/webhooksDisable.js +2 -12
- package/funcs/webhooksDisable.js.map +1 -1
- package/funcs/webhooksGet.d.ts.map +1 -1
- package/funcs/webhooksGet.js +2 -1
- package/funcs/webhooksGet.js.map +1 -1
- package/funcs/webhooksGetSecret.d.ts.map +1 -1
- package/funcs/webhooksGetSecret.js +2 -1
- package/funcs/webhooksGetSecret.js.map +1 -1
- package/funcs/webhooksList.d.ts.map +1 -1
- package/funcs/webhooksList.js +2 -1
- package/funcs/webhooksList.js.map +1 -1
- package/funcs/webhooksListEventTypes.d.ts.map +1 -1
- package/funcs/webhooksListEventTypes.js +2 -1
- package/funcs/webhooksListEventTypes.js.map +1 -1
- package/funcs/webhooksPing.d.ts.map +1 -1
- package/funcs/webhooksPing.js +2 -1
- package/funcs/webhooksPing.js.map +1 -1
- package/funcs/webhooksUpdate.d.ts.map +1 -1
- package/funcs/webhooksUpdate.js +2 -13
- package/funcs/webhooksUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +27 -5
- package/lib/encodings.js.map +1 -1
- package/lib/sdks.d.ts +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +2 -4
- package/lib/sdks.js.map +1 -1
- package/lib/security.d.ts +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +18 -7
- package/lib/security.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/applePayLinkToken.js +3 -3
- package/mcp-server/tools/cardIssuingUpdate.d.ts.map +1 -1
- package/mcp-server/tools/cardIssuingUpdate.js +2 -1
- package/mcp-server/tools/cardIssuingUpdate.js.map +1 -1
- package/mcp-server/tools/transfersBatchGetTransfers.d.ts +8 -0
- package/mcp-server/tools/transfersBatchGetTransfers.d.ts.map +1 -0
- package/mcp-server/tools/transfersBatchGetTransfers.js +69 -0
- package/mcp-server/tools/transfersBatchGetTransfers.js.map +1 -0
- package/models/components/batchgettransfersrequest.d.ts +20 -0
- package/models/components/batchgettransfersrequest.d.ts.map +1 -0
- package/models/components/batchgettransfersrequest.js +58 -0
- package/models/components/batchgettransfersrequest.js.map +1 -0
- package/models/components/disbursementpaymentmethodtype.d.ts +2 -0
- package/models/components/disbursementpaymentmethodtype.d.ts.map +1 -1
- package/models/components/disbursementpaymentmethodtype.js +2 -0
- package/models/components/disbursementpaymentmethodtype.js.map +1 -1
- package/models/components/index.d.ts +5 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +5 -0
- package/models/components/index.js.map +1 -1
- package/models/components/instantbankfailurecode.d.ts +27 -0
- package/models/components/instantbankfailurecode.d.ts.map +1 -0
- package/models/components/instantbankfailurecode.js +61 -0
- package/models/components/instantbankfailurecode.js.map +1 -0
- package/models/components/instantbanknetwork.d.ts +18 -0
- package/models/components/instantbanknetwork.d.ts.map +1 -0
- package/models/components/instantbanknetwork.js +52 -0
- package/models/components/instantbanknetwork.js.map +1 -0
- package/models/components/instantbanktransactiondetails.d.ts +51 -0
- package/models/components/instantbanktransactiondetails.d.ts.map +1 -0
- package/models/components/instantbanktransactiondetails.js +80 -0
- package/models/components/instantbanktransactiondetails.js.map +1 -0
- package/models/components/instantbanktransactionstatus.d.ts +20 -0
- package/models/components/instantbanktransactionstatus.d.ts.map +1 -0
- package/models/components/instantbanktransactionstatus.js +54 -0
- package/models/components/instantbanktransactionstatus.js.map +1 -0
- package/models/components/transferdestination.d.ts +6 -0
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +3 -0
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/webhookbillingstatementcreated.d.ts +2 -0
- package/models/components/webhookbillingstatementcreated.d.ts.map +1 -1
- package/models/components/webhookbillingstatementcreated.js +2 -0
- package/models/components/webhookbillingstatementcreated.js.map +1 -1
- package/models/components/webhookdata.d.ts +2 -2
- package/models/components/webhookdata.d.ts.map +1 -1
- package/models/components/webhookdata.js +2 -2
- package/models/components/webhookdata.js.map +1 -1
- package/models/operations/batchgettransfers.d.ts +43 -0
- package/models/operations/batchgettransfers.d.ts.map +1 -0
- package/models/operations/batchgettransfers.js +98 -0
- package/models/operations/batchgettransfers.js.map +1 -0
- 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/updateissuedcard.d.ts +2 -0
- package/models/operations/updateissuedcard.d.ts.map +1 -1
- package/models/operations/updateissuedcard.js +4 -0
- package/models/operations/updateissuedcard.js.map +1 -1
- package/package.json +1 -1
- package/sdk/cardissuing.d.ts +1 -1
- package/sdk/cardissuing.d.ts.map +1 -1
- package/sdk/transfers.d.ts +11 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +14 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/accountTerminalApplicationsGet.ts +3 -1
- package/src/funcs/accountTerminalApplicationsGetConfiguration.ts +3 -1
- package/src/funcs/accountTerminalApplicationsLink.ts +3 -13
- package/src/funcs/accountTerminalApplicationsList.ts +3 -1
- package/src/funcs/accountsAssignCountries.ts +3 -13
- package/src/funcs/accountsConnect.ts +3 -13
- package/src/funcs/accountsCreate.ts +3 -13
- package/src/funcs/accountsDisconnect.ts +3 -12
- package/src/funcs/accountsGet.ts +3 -1
- package/src/funcs/accountsGetCountries.ts +3 -1
- package/src/funcs/accountsGetMerchantProcessingAgreement.ts +3 -1
- package/src/funcs/accountsGetTermsOfServiceToken.ts +3 -1
- package/src/funcs/accountsList.ts +3 -1
- package/src/funcs/accountsListConnected.ts +3 -1
- package/src/funcs/accountsUpdate.ts +3 -13
- package/src/funcs/adjustmentsGet.ts +3 -1
- package/src/funcs/adjustmentsList.ts +3 -1
- package/src/funcs/applePayCreateSession.ts +3 -13
- package/src/funcs/applePayGetMerchantDomains.ts +3 -1
- package/src/funcs/applePayLinkToken.ts +3 -13
- package/src/funcs/applePayRegisterMerchantDomains.ts +3 -12
- package/src/funcs/applePayUpdateMerchantDomains.ts +3 -13
- package/src/funcs/authenticationCreateAccessToken.ts +3 -1
- package/src/funcs/authenticationRevokeAccessToken.ts +3 -1
- package/src/funcs/avatarsGet.ts +3 -1
- package/src/funcs/bankAccountsCompleteMicroDeposits.ts +3 -13
- package/src/funcs/bankAccountsCompleteVerification.ts +3 -13
- package/src/funcs/bankAccountsDisable.ts +3 -12
- package/src/funcs/bankAccountsGet.ts +3 -1
- package/src/funcs/bankAccountsGetVerification.ts +3 -1
- package/src/funcs/bankAccountsInitiateMicroDeposits.ts +3 -12
- package/src/funcs/bankAccountsInitiateVerification.ts +3 -12
- package/src/funcs/bankAccountsLink.ts +3 -13
- package/src/funcs/bankAccountsList.ts +3 -1
- package/src/funcs/brandingCreate.ts +3 -13
- package/src/funcs/brandingGet.ts +3 -1
- package/src/funcs/brandingUpsert.ts +3 -13
- package/src/funcs/capabilitiesDisable.ts +3 -12
- package/src/funcs/capabilitiesGet.ts +3 -1
- package/src/funcs/capabilitiesList.ts +3 -1
- package/src/funcs/capabilitiesRequest.ts +3 -13
- package/src/funcs/cardIssuingGet.ts +3 -1
- package/src/funcs/cardIssuingGetFull.ts +3 -1
- package/src/funcs/cardIssuingList.ts +3 -1
- package/src/funcs/cardIssuingRequest.ts +3 -12
- package/src/funcs/cardIssuingUpdate.ts +8 -17
- package/src/funcs/cardsDisable.ts +3 -12
- package/src/funcs/cardsGet.ts +3 -1
- package/src/funcs/cardsLink.ts +3 -13
- package/src/funcs/cardsList.ts +3 -1
- package/src/funcs/cardsUpdate.ts +3 -13
- package/src/funcs/disputesAccept.ts +3 -12
- package/src/funcs/disputesDeleteEvidence.ts +3 -1
- package/src/funcs/disputesGet.ts +3 -1
- package/src/funcs/disputesGetEvidence.ts +3 -1
- package/src/funcs/disputesGetEvidenceData.ts +3 -1
- package/src/funcs/disputesList.ts +3 -1
- package/src/funcs/disputesListEvidence.ts +3 -1
- package/src/funcs/disputesSubmitEvidence.ts +3 -12
- package/src/funcs/disputesUpdateEvidence.ts +3 -1
- package/src/funcs/disputesUploadEvidenceFile.ts +8 -15
- package/src/funcs/disputesUploadEvidenceText.ts +3 -12
- package/src/funcs/endToEndEncryptionGenerateKey.ts +3 -1
- package/src/funcs/endToEndEncryptionTestEncryptedToken.ts +3 -1
- package/src/funcs/enrichedAddressGet.ts +3 -1
- package/src/funcs/enrichedProfileGet.ts +3 -1
- package/src/funcs/feePlansCreateFeePlanAgreements.ts +3 -13
- package/src/funcs/feePlansGetResidual.ts +3 -1
- package/src/funcs/feePlansListFeePlanAgreements.ts +3 -1
- package/src/funcs/feePlansListFeePlans.ts +3 -1
- package/src/funcs/feePlansListFeeRevenue.ts +3 -1
- package/src/funcs/feePlansListFeesFetch.ts +3 -1
- package/src/funcs/feePlansListPartnerPricingAgreements.ts +3 -1
- package/src/funcs/feePlansListResidualFees.ts +3 -1
- package/src/funcs/feePlansListResiduals.ts +3 -1
- package/src/funcs/feePlansRetrieveFees.ts +3 -1
- package/src/funcs/filesGet.ts +3 -1
- package/src/funcs/filesList.ts +3 -1
- package/src/funcs/filesUpload.ts +8 -15
- package/src/funcs/imagesDelete.ts +3 -12
- package/src/funcs/imagesGetMetadata.ts +3 -1
- package/src/funcs/imagesGetPublic.ts +3 -1
- package/src/funcs/imagesList.ts +3 -1
- package/src/funcs/imagesUpdate.ts +13 -15
- package/src/funcs/imagesUpdateMetadata.ts +3 -13
- package/src/funcs/imagesUpload.ts +13 -15
- package/src/funcs/industriesList.ts +3 -1
- package/src/funcs/institutionsSearch.ts +3 -1
- package/src/funcs/institutionsSearchInstitutions.ts +3 -1
- package/src/funcs/issuingTransactionsGet.ts +3 -1
- package/src/funcs/issuingTransactionsGetAuthorization.ts +3 -1
- package/src/funcs/issuingTransactionsList.ts +3 -1
- package/src/funcs/issuingTransactionsListAuthorizationEvents.ts +3 -1
- package/src/funcs/issuingTransactionsListAuthorizations.ts +3 -1
- package/src/funcs/onboardingCreateInvite.ts +3 -13
- package/src/funcs/onboardingGetInvite.ts +3 -1
- package/src/funcs/onboardingListInvites.ts +3 -1
- package/src/funcs/onboardingRevokeInvite.ts +3 -1
- package/src/funcs/paymentLinksCreate.ts +3 -13
- package/src/funcs/paymentLinksDisable.ts +3 -1
- package/src/funcs/paymentLinksGet.ts +3 -1
- package/src/funcs/paymentLinksGetQRCode.ts +3 -1
- package/src/funcs/paymentLinksList.ts +3 -1
- package/src/funcs/paymentLinksUpdate.ts +3 -13
- package/src/funcs/paymentMethodsGet.ts +3 -1
- package/src/funcs/paymentMethodsList.ts +3 -1
- package/src/funcs/pingPing.ts +3 -1
- package/src/funcs/productsCreate.ts +3 -13
- package/src/funcs/productsDisable.ts +3 -12
- package/src/funcs/productsGet.ts +3 -1
- package/src/funcs/productsList.ts +3 -1
- package/src/funcs/productsUpdate.ts +3 -13
- package/src/funcs/receiptsCreate.ts +3 -13
- package/src/funcs/receiptsList.ts +3 -1
- package/src/funcs/representativesCreate.ts +3 -13
- package/src/funcs/representativesDelete.ts +3 -12
- package/src/funcs/representativesGet.ts +3 -1
- package/src/funcs/representativesList.ts +3 -1
- package/src/funcs/representativesUpdate.ts +3 -12
- package/src/funcs/schedulingCancel.ts +3 -12
- package/src/funcs/schedulingCreate.ts +3 -13
- package/src/funcs/schedulingGet.ts +3 -1
- package/src/funcs/schedulingGetOccurrance.ts +3 -1
- package/src/funcs/schedulingList.ts +3 -1
- package/src/funcs/schedulingUpdate.ts +3 -13
- package/src/funcs/statementsGet.ts +3 -1
- package/src/funcs/statementsList.ts +3 -1
- package/src/funcs/supportCreateTicket.ts +3 -13
- package/src/funcs/supportGetTicket.ts +3 -1
- package/src/funcs/supportListTicketMessages.ts +3 -1
- package/src/funcs/supportListTickets.ts +3 -1
- package/src/funcs/supportUpdateTicket.ts +3 -13
- package/src/funcs/sweepsCreateConfig.ts +3 -13
- package/src/funcs/sweepsGet.ts +3 -1
- package/src/funcs/sweepsGetConfig.ts +3 -1
- package/src/funcs/sweepsList.ts +3 -1
- package/src/funcs/sweepsListConfigs.ts +3 -1
- package/src/funcs/sweepsUpdateConfig.ts +3 -13
- package/src/funcs/terminalApplicationsCreate.ts +3 -13
- package/src/funcs/terminalApplicationsCreateVersion.ts +3 -13
- package/src/funcs/terminalApplicationsDelete.ts +3 -12
- package/src/funcs/terminalApplicationsGet.ts +3 -1
- package/src/funcs/terminalApplicationsList.ts +3 -1
- package/src/funcs/transfersBatchGetTransfers.ts +182 -0
- package/src/funcs/transfersCreate.ts +3 -1
- package/src/funcs/transfersCreateCancellation.ts +3 -1
- package/src/funcs/transfersCreateReversal.ts +3 -13
- package/src/funcs/transfersGenerateOptions.ts +3 -1
- package/src/funcs/transfersGet.ts +3 -1
- package/src/funcs/transfersGetCancellation.ts +3 -1
- package/src/funcs/transfersGetRefund.ts +3 -1
- package/src/funcs/transfersInitiateRefund.ts +3 -1
- package/src/funcs/transfersList.ts +3 -1
- package/src/funcs/transfersListRefunds.ts +3 -1
- package/src/funcs/transfersUpdate.ts +3 -1
- package/src/funcs/underwritingGet.ts +3 -1
- package/src/funcs/underwritingSave.ts +3 -13
- package/src/funcs/underwritingUpsert.ts +3 -13
- package/src/funcs/walletTransactionsGet.ts +3 -1
- package/src/funcs/walletTransactionsList.ts +3 -1
- package/src/funcs/walletsCreate.ts +3 -13
- package/src/funcs/walletsGet.ts +3 -1
- package/src/funcs/walletsList.ts +3 -1
- package/src/funcs/walletsUpdate.ts +3 -13
- package/src/funcs/webhooksCreate.ts +3 -13
- package/src/funcs/webhooksDisable.ts +3 -12
- package/src/funcs/webhooksGet.ts +3 -1
- package/src/funcs/webhooksGetSecret.ts +3 -1
- package/src/funcs/webhooksList.ts +3 -1
- package/src/funcs/webhooksListEventTypes.ts +3 -1
- package/src/funcs/webhooksPing.ts +3 -1
- package/src/funcs/webhooksUpdate.ts +3 -13
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +32 -4
- package/src/lib/sdks.ts +3 -6
- package/src/lib/security.ts +14 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/applePayLinkToken.ts +3 -3
- package/src/mcp-server/tools/cardIssuingUpdate.ts +3 -1
- package/src/mcp-server/tools/transfersBatchGetTransfers.ts +43 -0
- package/src/models/components/batchgettransfersrequest.ts +54 -0
- package/src/models/components/disbursementpaymentmethodtype.ts +2 -0
- package/src/models/components/index.ts +5 -0
- package/src/models/components/instantbankfailurecode.ts +36 -0
- package/src/models/components/instantbanknetwork.ts +27 -0
- package/src/models/components/instantbanktransactiondetails.ts +120 -0
- package/src/models/components/instantbanktransactionstatus.ts +31 -0
- package/src/models/components/transferdestination.ts +13 -0
- package/src/models/components/webhookbillingstatementcreated.ts +4 -0
- package/src/models/components/webhookdata.ts +6 -6
- package/src/models/operations/batchgettransfers.ts +122 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/updateissuedcard.ts +6 -0
- package/src/sdk/cardissuing.ts +1 -1
- package/src/sdk/transfers.ts +22 -0
package/src/lib/security.ts
CHANGED
|
@@ -239,15 +239,27 @@ function applyBearer(
|
|
|
239
239
|
|
|
240
240
|
export function resolveGlobalSecurity(
|
|
241
241
|
security: Partial<components.Security> | null | undefined,
|
|
242
|
+
allowedFields?: number[],
|
|
242
243
|
): SecurityState | null {
|
|
243
|
-
|
|
244
|
+
let inputs: SecurityInput[][] = [
|
|
244
245
|
[
|
|
245
246
|
{
|
|
246
247
|
type: "http:basic",
|
|
247
248
|
value: { username: security?.username, password: security?.password },
|
|
248
249
|
},
|
|
249
250
|
],
|
|
250
|
-
|
|
251
|
+
];
|
|
252
|
+
|
|
253
|
+
if (allowedFields) {
|
|
254
|
+
inputs = allowedFields.map((i) => {
|
|
255
|
+
if (i < 0 || i >= inputs.length) {
|
|
256
|
+
throw new RangeError(`invalid allowedFields index ${i}`);
|
|
257
|
+
}
|
|
258
|
+
return inputs[i]!;
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
return resolveSecurity(...inputs);
|
|
251
263
|
}
|
|
252
264
|
|
|
253
265
|
export async function extractSecurity<
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -156,6 +156,7 @@ import { tool$terminalApplicationsCreateVersion } from "./tools/terminalApplicat
|
|
|
156
156
|
import { tool$terminalApplicationsDelete } from "./tools/terminalApplicationsDelete.js";
|
|
157
157
|
import { tool$terminalApplicationsGet } from "./tools/terminalApplicationsGet.js";
|
|
158
158
|
import { tool$terminalApplicationsList } from "./tools/terminalApplicationsList.js";
|
|
159
|
+
import { tool$transfersBatchGetTransfers } from "./tools/transfersBatchGetTransfers.js";
|
|
159
160
|
import { tool$transfersCreate } from "./tools/transfersCreate.js";
|
|
160
161
|
import { tool$transfersCreateCancellation } from "./tools/transfersCreateCancellation.js";
|
|
161
162
|
import { tool$transfersCreateReversal } from "./tools/transfersCreateReversal.js";
|
|
@@ -195,7 +196,7 @@ export function createMCPServer(deps: {
|
|
|
195
196
|
}) {
|
|
196
197
|
const server = new McpServer({
|
|
197
198
|
name: "Moov",
|
|
198
|
-
version: "26.2.
|
|
199
|
+
version: "26.2.2",
|
|
199
200
|
});
|
|
200
201
|
|
|
201
202
|
const client = new MoovCore({
|
|
@@ -339,6 +340,7 @@ export function createMCPServer(deps: {
|
|
|
339
340
|
tool(tool$transfersGenerateOptions);
|
|
340
341
|
tool(tool$transfersCreate);
|
|
341
342
|
tool(tool$transfersList);
|
|
343
|
+
tool(tool$transfersBatchGetTransfers);
|
|
342
344
|
tool(tool$transfersGet);
|
|
343
345
|
tool(tool$transfersUpdate);
|
|
344
346
|
tool(tool$transfersCreateCancellation);
|
|
@@ -12,12 +12,12 @@ const args = {
|
|
|
12
12
|
|
|
13
13
|
export const tool$applePayLinkToken: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "apple-pay-link-token",
|
|
15
|
-
description: `Connect an Apple Pay token to the specified account.
|
|
15
|
+
description: `Connect an Apple Pay token to the specified account.
|
|
16
16
|
|
|
17
|
-
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
17
|
+
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
18
18
|
The \`token\` data is defined by Apple Pay and should be passed through from Apple Pay's response unmodified.
|
|
19
19
|
|
|
20
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
20
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
21
21
|
you'll need to specify the \`/accounts/{accountID}/cards.write\` scope.`,
|
|
22
22
|
args,
|
|
23
23
|
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 { transfersBatchGetTransfers } from "../../funcs/transfersBatchGetTransfers.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.BatchGetTransfersRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$transfersBatchGetTransfers: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "transfers-batch-get-transfers",
|
|
15
|
+
description:
|
|
16
|
+
`Retrieve transfer details for multiple transfers in one request. The response is a map from each
|
|
17
|
+
requested transfer ID to its full transfer details when available; IDs that are not found or not
|
|
18
|
+
accessible under this account are omitted from the map.
|
|
19
|
+
|
|
20
|
+
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
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 \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
24
|
+
args,
|
|
25
|
+
tool: async (client, args, ctx) => {
|
|
26
|
+
const [result, apiCall] = await transfersBatchGetTransfers(
|
|
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,54 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
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
|
+
* Array of transfer IDs to fetch.
|
|
12
|
+
*/
|
|
13
|
+
export type BatchGetTransfersRequest = {
|
|
14
|
+
transferIDs: Array<string>;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const BatchGetTransfersRequest$inboundSchema: z.ZodType<
|
|
19
|
+
BatchGetTransfersRequest,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
transferIDs: z.array(z.string()),
|
|
24
|
+
});
|
|
25
|
+
/** @internal */
|
|
26
|
+
export type BatchGetTransfersRequest$Outbound = {
|
|
27
|
+
transferIDs: Array<string>;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const BatchGetTransfersRequest$outboundSchema: z.ZodType<
|
|
32
|
+
BatchGetTransfersRequest$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
BatchGetTransfersRequest
|
|
35
|
+
> = z.object({
|
|
36
|
+
transferIDs: z.array(z.string()),
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export function batchGetTransfersRequestToJSON(
|
|
40
|
+
batchGetTransfersRequest: BatchGetTransfersRequest,
|
|
41
|
+
): string {
|
|
42
|
+
return JSON.stringify(
|
|
43
|
+
BatchGetTransfersRequest$outboundSchema.parse(batchGetTransfersRequest),
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export function batchGetTransfersRequestFromJSON(
|
|
47
|
+
jsonString: string,
|
|
48
|
+
): SafeParseResult<BatchGetTransfersRequest, SDKValidationError> {
|
|
49
|
+
return safeParse(
|
|
50
|
+
jsonString,
|
|
51
|
+
(x) => BatchGetTransfersRequest$inboundSchema.parse(JSON.parse(x)),
|
|
52
|
+
`Failed to parse 'BatchGetTransfersRequest' from JSON`,
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -13,6 +13,8 @@ export const DisbursementPaymentMethodType = {
|
|
|
13
13
|
RtpCredit: "rtp-credit",
|
|
14
14
|
AchCreditSameDay: "ach-credit-same-day",
|
|
15
15
|
AchCreditStandard: "ach-credit-standard",
|
|
16
|
+
PushToApplePay: "push-to-apple-pay",
|
|
17
|
+
PushToGooglePay: "push-to-google-pay",
|
|
16
18
|
} as const;
|
|
17
19
|
/**
|
|
18
20
|
* Payment methods allowed for disbursing funds.
|
|
@@ -68,6 +68,7 @@ export * from "./bankaccountverificationmethod.js";
|
|
|
68
68
|
export * from "./bankaccountverificationstatus.js";
|
|
69
69
|
export * from "./bankaccountwaitfor.js";
|
|
70
70
|
export * from "./basicpaymentmethod.js";
|
|
71
|
+
export * from "./batchgettransfersrequest.js";
|
|
71
72
|
export * from "./billablefee.js";
|
|
72
73
|
export * from "./billingcountandamount.js";
|
|
73
74
|
export * from "./billinginterchangeprogramfee.js";
|
|
@@ -259,6 +260,10 @@ export * from "./industrycodes.js";
|
|
|
259
260
|
export * from "./industrytaxonomy.js";
|
|
260
261
|
export * from "./instantbankcreditpaymentmethod.js";
|
|
261
262
|
export * from "./instantbankcredittransferpaymentmethod.js";
|
|
263
|
+
export * from "./instantbankfailurecode.js";
|
|
264
|
+
export * from "./instantbanknetwork.js";
|
|
265
|
+
export * from "./instantbanktransactiondetails.js";
|
|
266
|
+
export * from "./instantbanktransactionstatus.js";
|
|
262
267
|
export * from "./instantpaymentfees.js";
|
|
263
268
|
export * from "./institutionssearchresponse.js";
|
|
264
269
|
export * from "./invoicestatus.js";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Status codes for instant-bank failures.
|
|
10
|
+
*/
|
|
11
|
+
export const InstantBankFailureCode = {
|
|
12
|
+
ProcessingError: "processing-error",
|
|
13
|
+
InvalidAccount: "invalid-account",
|
|
14
|
+
AccountClosed: "account-closed",
|
|
15
|
+
AccountBlocked: "account-blocked",
|
|
16
|
+
InvalidField: "invalid-field",
|
|
17
|
+
TransactionNotSupported: "transaction-not-supported",
|
|
18
|
+
LimitExceeded: "limit-exceeded",
|
|
19
|
+
InvalidAmount: "invalid-amount",
|
|
20
|
+
CustomerDeceased: "customer-deceased",
|
|
21
|
+
ParticipantNotAvailable: "participant-not-available",
|
|
22
|
+
Other: "other",
|
|
23
|
+
} as const;
|
|
24
|
+
/**
|
|
25
|
+
* Status codes for instant-bank failures.
|
|
26
|
+
*/
|
|
27
|
+
export type InstantBankFailureCode = ClosedEnum<typeof InstantBankFailureCode>;
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const InstantBankFailureCode$inboundSchema: z.ZodNativeEnum<
|
|
31
|
+
typeof InstantBankFailureCode
|
|
32
|
+
> = z.nativeEnum(InstantBankFailureCode);
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const InstantBankFailureCode$outboundSchema: z.ZodNativeEnum<
|
|
35
|
+
typeof InstantBankFailureCode
|
|
36
|
+
> = InstantBankFailureCode$inboundSchema;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The network that the transaction was processed on.
|
|
10
|
+
*/
|
|
11
|
+
export const InstantBankNetwork = {
|
|
12
|
+
Fednow: "fednow",
|
|
13
|
+
Rtp: "rtp",
|
|
14
|
+
} as const;
|
|
15
|
+
/**
|
|
16
|
+
* The network that the transaction was processed on.
|
|
17
|
+
*/
|
|
18
|
+
export type InstantBankNetwork = ClosedEnum<typeof InstantBankNetwork>;
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const InstantBankNetwork$inboundSchema: z.ZodNativeEnum<
|
|
22
|
+
typeof InstantBankNetwork
|
|
23
|
+
> = z.nativeEnum(InstantBankNetwork);
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const InstantBankNetwork$outboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof InstantBankNetwork
|
|
27
|
+
> = InstantBankNetwork$inboundSchema;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
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
|
+
InstantBankFailureCode,
|
|
11
|
+
InstantBankFailureCode$inboundSchema,
|
|
12
|
+
InstantBankFailureCode$outboundSchema,
|
|
13
|
+
} from "./instantbankfailurecode.js";
|
|
14
|
+
import {
|
|
15
|
+
InstantBankNetwork,
|
|
16
|
+
InstantBankNetwork$inboundSchema,
|
|
17
|
+
InstantBankNetwork$outboundSchema,
|
|
18
|
+
} from "./instantbanknetwork.js";
|
|
19
|
+
import {
|
|
20
|
+
InstantBankTransactionStatus,
|
|
21
|
+
InstantBankTransactionStatus$inboundSchema,
|
|
22
|
+
InstantBankTransactionStatus$outboundSchema,
|
|
23
|
+
} from "./instantbanktransactionstatus.js";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Instant-bank specific details about the transaction.
|
|
27
|
+
*/
|
|
28
|
+
export type InstantBankTransactionDetails = {
|
|
29
|
+
/**
|
|
30
|
+
* The network that the transaction was processed on.
|
|
31
|
+
*/
|
|
32
|
+
network: InstantBankNetwork;
|
|
33
|
+
/**
|
|
34
|
+
* Status of a transaction within the instant-bank lifecycle.
|
|
35
|
+
*/
|
|
36
|
+
status: InstantBankTransactionStatus;
|
|
37
|
+
/**
|
|
38
|
+
* Response code returned by network on failure.
|
|
39
|
+
*/
|
|
40
|
+
networkResponseCode?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Status codes for instant-bank failures.
|
|
43
|
+
*/
|
|
44
|
+
failureCode?: InstantBankFailureCode | undefined;
|
|
45
|
+
endToEndID?: string | undefined;
|
|
46
|
+
initiatedOn?: Date | undefined;
|
|
47
|
+
completedOn?: Date | undefined;
|
|
48
|
+
failedOn?: Date | undefined;
|
|
49
|
+
acceptedWithoutPostingOn?: Date | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const InstantBankTransactionDetails$inboundSchema: z.ZodType<
|
|
54
|
+
InstantBankTransactionDetails,
|
|
55
|
+
z.ZodTypeDef,
|
|
56
|
+
unknown
|
|
57
|
+
> = z.object({
|
|
58
|
+
network: InstantBankNetwork$inboundSchema,
|
|
59
|
+
status: InstantBankTransactionStatus$inboundSchema,
|
|
60
|
+
networkResponseCode: z.string().optional(),
|
|
61
|
+
failureCode: InstantBankFailureCode$inboundSchema.optional(),
|
|
62
|
+
endToEndID: z.string().optional(),
|
|
63
|
+
initiatedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
64
|
+
.optional(),
|
|
65
|
+
completedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
66
|
+
.optional(),
|
|
67
|
+
failedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
68
|
+
.optional(),
|
|
69
|
+
acceptedWithoutPostingOn: z.string().datetime({ offset: true }).transform(v =>
|
|
70
|
+
new Date(v)
|
|
71
|
+
).optional(),
|
|
72
|
+
});
|
|
73
|
+
/** @internal */
|
|
74
|
+
export type InstantBankTransactionDetails$Outbound = {
|
|
75
|
+
network: string;
|
|
76
|
+
status: string;
|
|
77
|
+
networkResponseCode?: string | undefined;
|
|
78
|
+
failureCode?: string | undefined;
|
|
79
|
+
endToEndID?: string | undefined;
|
|
80
|
+
initiatedOn?: string | undefined;
|
|
81
|
+
completedOn?: string | undefined;
|
|
82
|
+
failedOn?: string | undefined;
|
|
83
|
+
acceptedWithoutPostingOn?: string | undefined;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/** @internal */
|
|
87
|
+
export const InstantBankTransactionDetails$outboundSchema: z.ZodType<
|
|
88
|
+
InstantBankTransactionDetails$Outbound,
|
|
89
|
+
z.ZodTypeDef,
|
|
90
|
+
InstantBankTransactionDetails
|
|
91
|
+
> = z.object({
|
|
92
|
+
network: InstantBankNetwork$outboundSchema,
|
|
93
|
+
status: InstantBankTransactionStatus$outboundSchema,
|
|
94
|
+
networkResponseCode: z.string().optional(),
|
|
95
|
+
failureCode: InstantBankFailureCode$outboundSchema.optional(),
|
|
96
|
+
endToEndID: z.string().optional(),
|
|
97
|
+
initiatedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
98
|
+
completedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
99
|
+
failedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
100
|
+
acceptedWithoutPostingOn: z.date().transform(v => v.toISOString()).optional(),
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
export function instantBankTransactionDetailsToJSON(
|
|
104
|
+
instantBankTransactionDetails: InstantBankTransactionDetails,
|
|
105
|
+
): string {
|
|
106
|
+
return JSON.stringify(
|
|
107
|
+
InstantBankTransactionDetails$outboundSchema.parse(
|
|
108
|
+
instantBankTransactionDetails,
|
|
109
|
+
),
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
export function instantBankTransactionDetailsFromJSON(
|
|
113
|
+
jsonString: string,
|
|
114
|
+
): SafeParseResult<InstantBankTransactionDetails, SDKValidationError> {
|
|
115
|
+
return safeParse(
|
|
116
|
+
jsonString,
|
|
117
|
+
(x) => InstantBankTransactionDetails$inboundSchema.parse(JSON.parse(x)),
|
|
118
|
+
`Failed to parse 'InstantBankTransactionDetails' from JSON`,
|
|
119
|
+
);
|
|
120
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Status of a transaction within the instant-bank lifecycle.
|
|
10
|
+
*/
|
|
11
|
+
export const InstantBankTransactionStatus = {
|
|
12
|
+
Initiated: "initiated",
|
|
13
|
+
Completed: "completed",
|
|
14
|
+
Failed: "failed",
|
|
15
|
+
AcceptedWithoutPosting: "accepted-without-posting",
|
|
16
|
+
} as const;
|
|
17
|
+
/**
|
|
18
|
+
* Status of a transaction within the instant-bank lifecycle.
|
|
19
|
+
*/
|
|
20
|
+
export type InstantBankTransactionStatus = ClosedEnum<
|
|
21
|
+
typeof InstantBankTransactionStatus
|
|
22
|
+
>;
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const InstantBankTransactionStatus$inboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof InstantBankTransactionStatus
|
|
27
|
+
> = z.nativeEnum(InstantBankTransactionStatus);
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const InstantBankTransactionStatus$outboundSchema: z.ZodNativeEnum<
|
|
30
|
+
typeof InstantBankTransactionStatus
|
|
31
|
+
> = InstantBankTransactionStatus$inboundSchema;
|
|
@@ -24,6 +24,12 @@ import {
|
|
|
24
24
|
CardTransactionDetails$Outbound,
|
|
25
25
|
CardTransactionDetails$outboundSchema,
|
|
26
26
|
} from "./cardtransactiondetails.js";
|
|
27
|
+
import {
|
|
28
|
+
InstantBankTransactionDetails,
|
|
29
|
+
InstantBankTransactionDetails$inboundSchema,
|
|
30
|
+
InstantBankTransactionDetails$Outbound,
|
|
31
|
+
InstantBankTransactionDetails$outboundSchema,
|
|
32
|
+
} from "./instantbanktransactiondetails.js";
|
|
27
33
|
import {
|
|
28
34
|
RTPFailureCode,
|
|
29
35
|
RTPFailureCode$inboundSchema,
|
|
@@ -120,6 +126,10 @@ export type TransferDestination = {
|
|
|
120
126
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
121
127
|
*/
|
|
122
128
|
rtpDetails?: RtpDetails | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* Instant-bank specific details about the transaction.
|
|
131
|
+
*/
|
|
132
|
+
instantBankDetails?: InstantBankTransactionDetails | undefined;
|
|
123
133
|
};
|
|
124
134
|
|
|
125
135
|
/** @internal */
|
|
@@ -196,6 +206,7 @@ export const TransferDestination$inboundSchema: z.ZodType<
|
|
|
196
206
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
197
207
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
198
208
|
rtpDetails: z.lazy(() => RtpDetails$inboundSchema).optional(),
|
|
209
|
+
instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional(),
|
|
199
210
|
});
|
|
200
211
|
/** @internal */
|
|
201
212
|
export type TransferDestination$Outbound = {
|
|
@@ -209,6 +220,7 @@ export type TransferDestination$Outbound = {
|
|
|
209
220
|
applePay?: ApplePayResponse$Outbound | undefined;
|
|
210
221
|
cardDetails?: CardTransactionDetails$Outbound | undefined;
|
|
211
222
|
rtpDetails?: RtpDetails$Outbound | undefined;
|
|
223
|
+
instantBankDetails?: InstantBankTransactionDetails$Outbound | undefined;
|
|
212
224
|
};
|
|
213
225
|
|
|
214
226
|
/** @internal */
|
|
@@ -227,6 +239,7 @@ export const TransferDestination$outboundSchema: z.ZodType<
|
|
|
227
239
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
228
240
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
229
241
|
rtpDetails: z.lazy(() => RtpDetails$outboundSchema).optional(),
|
|
242
|
+
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional(),
|
|
230
243
|
});
|
|
231
244
|
|
|
232
245
|
export function transferDestinationToJSON(
|
|
@@ -8,6 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type WebhookBillingStatementCreated = {
|
|
11
|
+
accountID: string;
|
|
11
12
|
statementID: string;
|
|
12
13
|
};
|
|
13
14
|
|
|
@@ -17,10 +18,12 @@ export const WebhookBillingStatementCreated$inboundSchema: z.ZodType<
|
|
|
17
18
|
z.ZodTypeDef,
|
|
18
19
|
unknown
|
|
19
20
|
> = z.object({
|
|
21
|
+
accountID: z.string(),
|
|
20
22
|
statementID: z.string(),
|
|
21
23
|
});
|
|
22
24
|
/** @internal */
|
|
23
25
|
export type WebhookBillingStatementCreated$Outbound = {
|
|
26
|
+
accountID: string;
|
|
24
27
|
statementID: string;
|
|
25
28
|
};
|
|
26
29
|
|
|
@@ -30,6 +33,7 @@ export const WebhookBillingStatementCreated$outboundSchema: z.ZodType<
|
|
|
30
33
|
z.ZodTypeDef,
|
|
31
34
|
WebhookBillingStatementCreated
|
|
32
35
|
> = z.object({
|
|
36
|
+
accountID: z.string(),
|
|
33
37
|
statementID: z.string(),
|
|
34
38
|
});
|
|
35
39
|
|
|
@@ -265,11 +265,11 @@ export type WebhookData =
|
|
|
265
265
|
| WebhookDataTicketCreated
|
|
266
266
|
| WebhookDataTicketMessageAdded
|
|
267
267
|
| WebhookDataWalletCreated
|
|
268
|
+
| WebhookBillingStatementCreated
|
|
268
269
|
| WebhookDataAccountCreated
|
|
269
270
|
| WebhookDataAccountUpdated
|
|
270
271
|
| WebhookDataAccountDisconnected
|
|
271
|
-
| WebhookDataNetworkIDUpdated
|
|
272
|
-
| WebhookBillingStatementCreated;
|
|
272
|
+
| WebhookDataNetworkIDUpdated;
|
|
273
273
|
|
|
274
274
|
/** @internal */
|
|
275
275
|
export const WebhookData$inboundSchema: z.ZodType<
|
|
@@ -309,11 +309,11 @@ export const WebhookData$inboundSchema: z.ZodType<
|
|
|
309
309
|
WebhookDataTicketCreated$inboundSchema,
|
|
310
310
|
WebhookDataTicketMessageAdded$inboundSchema,
|
|
311
311
|
WebhookDataWalletCreated$inboundSchema,
|
|
312
|
+
WebhookBillingStatementCreated$inboundSchema,
|
|
312
313
|
WebhookDataAccountCreated$inboundSchema,
|
|
313
314
|
WebhookDataAccountUpdated$inboundSchema,
|
|
314
315
|
WebhookDataAccountDisconnected$inboundSchema,
|
|
315
316
|
WebhookDataNetworkIDUpdated$inboundSchema,
|
|
316
|
-
WebhookBillingStatementCreated$inboundSchema,
|
|
317
317
|
]);
|
|
318
318
|
/** @internal */
|
|
319
319
|
export type WebhookData$Outbound =
|
|
@@ -349,11 +349,11 @@ export type WebhookData$Outbound =
|
|
|
349
349
|
| WebhookDataTicketCreated$Outbound
|
|
350
350
|
| WebhookDataTicketMessageAdded$Outbound
|
|
351
351
|
| WebhookDataWalletCreated$Outbound
|
|
352
|
+
| WebhookBillingStatementCreated$Outbound
|
|
352
353
|
| WebhookDataAccountCreated$Outbound
|
|
353
354
|
| WebhookDataAccountUpdated$Outbound
|
|
354
355
|
| WebhookDataAccountDisconnected$Outbound
|
|
355
|
-
| WebhookDataNetworkIDUpdated$Outbound
|
|
356
|
-
| WebhookBillingStatementCreated$Outbound;
|
|
356
|
+
| WebhookDataNetworkIDUpdated$Outbound;
|
|
357
357
|
|
|
358
358
|
/** @internal */
|
|
359
359
|
export const WebhookData$outboundSchema: z.ZodType<
|
|
@@ -393,11 +393,11 @@ export const WebhookData$outboundSchema: z.ZodType<
|
|
|
393
393
|
WebhookDataTicketCreated$outboundSchema,
|
|
394
394
|
WebhookDataTicketMessageAdded$outboundSchema,
|
|
395
395
|
WebhookDataWalletCreated$outboundSchema,
|
|
396
|
+
WebhookBillingStatementCreated$outboundSchema,
|
|
396
397
|
WebhookDataAccountCreated$outboundSchema,
|
|
397
398
|
WebhookDataAccountUpdated$outboundSchema,
|
|
398
399
|
WebhookDataAccountDisconnected$outboundSchema,
|
|
399
400
|
WebhookDataNetworkIDUpdated$outboundSchema,
|
|
400
|
-
WebhookBillingStatementCreated$outboundSchema,
|
|
401
401
|
]);
|
|
402
402
|
|
|
403
403
|
export function webhookDataToJSON(webhookData: WebhookData): string {
|