@moovio/sdk 26.4.0-dev.15 → 26.4.0-dev.17
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 +77 -61
- package/bin/mcp-server.js +650 -284
- package/bin/mcp-server.js.map +197 -186
- package/funcs/accountTerminalApplicationsGet.js.map +1 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.js.map +1 -1
- package/funcs/accountTerminalApplicationsLink.js.map +1 -1
- package/funcs/accountTerminalApplicationsList.js.map +1 -1
- package/funcs/accountsAssignCountries.js.map +1 -1
- package/funcs/accountsConnect.js.map +1 -1
- package/funcs/accountsDisconnect.js.map +1 -1
- package/funcs/accountsGet.js.map +1 -1
- package/funcs/accountsGetCountries.js.map +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.js.map +1 -1
- package/funcs/accountsListConnected.js.map +1 -1
- package/funcs/accountsUpdate.js.map +1 -1
- package/funcs/adjustmentsGet.js.map +1 -1
- package/funcs/adjustmentsList.js.map +1 -1
- package/funcs/applePayCreateSession.js.map +1 -1
- package/funcs/applePayGetMerchantDomains.js.map +1 -1
- package/funcs/applePayLinkToken.js.map +1 -1
- package/funcs/applePayRegisterMerchantDomains.js.map +1 -1
- package/funcs/applePayUpdateMerchantDomains.js.map +1 -1
- package/funcs/avatarsGet.js.map +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsCompleteVerification.js.map +1 -1
- package/funcs/bankAccountsDisable.js.map +1 -1
- package/funcs/bankAccountsGet.js.map +1 -1
- package/funcs/bankAccountsGetVerification.js.map +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsInitiateVerification.js.map +1 -1
- package/funcs/bankAccountsLink.js.map +1 -1
- package/funcs/bankAccountsList.js.map +1 -1
- package/funcs/brandingCreate.js.map +1 -1
- package/funcs/brandingGet.js.map +1 -1
- package/funcs/brandingUpsert.js.map +1 -1
- package/funcs/capabilitiesDisable.js.map +1 -1
- package/funcs/capabilitiesGet.js.map +1 -1
- package/funcs/capabilitiesList.js.map +1 -1
- package/funcs/capabilitiesRequest.js.map +1 -1
- package/funcs/cardIssuingGet.js.map +1 -1
- package/funcs/cardIssuingGetFull.js.map +1 -1
- package/funcs/cardIssuingList.js.map +1 -1
- 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 +2 -1
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/cardsDisable.js.map +1 -1
- package/funcs/cardsGet.js.map +1 -1
- package/funcs/cardsLink.js.map +1 -1
- package/funcs/cardsList.js.map +1 -1
- package/funcs/cardsUpdate.js.map +1 -1
- package/funcs/disputesAccept.js.map +1 -1
- package/funcs/disputesDeleteEvidence.js.map +1 -1
- package/funcs/disputesGet.js.map +1 -1
- package/funcs/disputesGetEvidence.js.map +1 -1
- package/funcs/disputesGetEvidenceData.js.map +1 -1
- package/funcs/disputesList.js.map +1 -1
- package/funcs/disputesListEvidence.js.map +1 -1
- package/funcs/disputesSubmitEvidence.js.map +1 -1
- package/funcs/disputesUpdateEvidence.js.map +1 -1
- package/funcs/disputesUploadEvidenceFile.d.ts.map +1 -1
- package/funcs/disputesUploadEvidenceFile.js +6 -12
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/disputesUploadEvidenceText.js.map +1 -1
- package/funcs/feePlansCreateFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansGetResidual.js.map +1 -1
- package/funcs/feePlansListFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansListFeePlans.js.map +1 -1
- package/funcs/feePlansListFeeRevenue.js.map +1 -1
- package/funcs/feePlansListFeesFetch.js.map +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.js.map +1 -1
- package/funcs/feePlansListResidualFees.js.map +1 -1
- package/funcs/feePlansListResiduals.js.map +1 -1
- package/funcs/feePlansRetrieveFees.js.map +1 -1
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpload.d.ts.map +1 -1
- package/funcs/filesUpload.js +6 -12
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/imagesDelete.js.map +1 -1
- package/funcs/imagesGetMetadata.js.map +1 -1
- package/funcs/imagesGetPublic.js.map +1 -1
- package/funcs/imagesList.js.map +1 -1
- package/funcs/imagesUpdate.d.ts.map +1 -1
- package/funcs/imagesUpdate.js +6 -13
- package/funcs/imagesUpdate.js.map +1 -1
- package/funcs/imagesUpdateMetadata.js.map +1 -1
- package/funcs/imagesUpload.d.ts.map +1 -1
- package/funcs/imagesUpload.js +6 -13
- package/funcs/imagesUpload.js.map +1 -1
- package/funcs/invoicesCreateInvoice.js.map +1 -1
- package/funcs/invoicesCreateInvoicePayment.js.map +1 -1
- package/funcs/invoicesDelete.js.map +1 -1
- package/funcs/invoicesGetInvoice.js.map +1 -1
- package/funcs/invoicesListInvoicePayments.js.map +1 -1
- package/funcs/invoicesListInvoices.js.map +1 -1
- package/funcs/invoicesUpdateInvoice.js.map +1 -1
- package/funcs/issuingTransactionsGet.js.map +1 -1
- package/funcs/issuingTransactionsGetAuthorization.js.map +1 -1
- package/funcs/issuingTransactionsList.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizations.js.map +1 -1
- package/funcs/onboardingGetInvite.js.map +1 -1
- package/funcs/onboardingRevokeInvite.js.map +1 -1
- package/funcs/paymentLinksCreate.js.map +1 -1
- package/funcs/paymentLinksDisable.js.map +1 -1
- package/funcs/paymentLinksGet.js.map +1 -1
- package/funcs/paymentLinksGetQRCode.js.map +1 -1
- package/funcs/paymentLinksList.js.map +1 -1
- package/funcs/paymentLinksUpdate.js.map +1 -1
- package/funcs/paymentMethodsGet.js.map +1 -1
- package/funcs/paymentMethodsList.js.map +1 -1
- package/funcs/productsCreate.js.map +1 -1
- package/funcs/productsDisable.js.map +1 -1
- package/funcs/productsGet.js.map +1 -1
- package/funcs/productsList.js.map +1 -1
- package/funcs/productsUpdate.js.map +1 -1
- package/funcs/representativesCreate.js.map +1 -1
- package/funcs/representativesDelete.js.map +1 -1
- package/funcs/representativesGet.js.map +1 -1
- package/funcs/representativesList.js.map +1 -1
- package/funcs/representativesUpdate.js.map +1 -1
- package/funcs/resolutionLinksCreate.js.map +1 -1
- package/funcs/resolutionLinksDisable.js.map +1 -1
- package/funcs/resolutionLinksGet.js.map +1 -1
- package/funcs/resolutionLinksList.js.map +1 -1
- package/funcs/schedulingCancel.js.map +1 -1
- package/funcs/schedulingCreate.js.map +1 -1
- package/funcs/schedulingGet.js.map +1 -1
- package/funcs/schedulingGetOccurrance.js.map +1 -1
- package/funcs/schedulingList.js.map +1 -1
- package/funcs/schedulingUpdate.js.map +1 -1
- package/funcs/statementsGet.js.map +1 -1
- package/funcs/statementsList.js.map +1 -1
- package/funcs/supportCreateTicket.js.map +1 -1
- package/funcs/supportGetTicket.js.map +1 -1
- package/funcs/supportListTicketMessages.js.map +1 -1
- package/funcs/supportListTickets.js.map +1 -1
- package/funcs/supportUpdateTicket.js.map +1 -1
- package/funcs/sweepsCreateConfig.js.map +1 -1
- package/funcs/sweepsGet.js.map +1 -1
- package/funcs/sweepsGetConfig.js.map +1 -1
- package/funcs/sweepsList.js.map +1 -1
- package/funcs/sweepsListConfigs.js.map +1 -1
- package/funcs/sweepsUpdateConfig.js.map +1 -1
- package/funcs/terminalApplicationsCreateVersion.js.map +1 -1
- package/funcs/terminalApplicationsDelete.js.map +1 -1
- package/funcs/terminalApplicationsGet.js.map +1 -1
- package/funcs/transfersBatchGetTransfers.d.ts +21 -0
- package/funcs/transfersBatchGetTransfers.d.ts.map +1 -0
- package/funcs/transfersBatchGetTransfers.js +131 -0
- package/funcs/transfersBatchGetTransfers.js.map +1 -0
- package/funcs/transfersCreate.js.map +1 -1
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersGenerateOptions.js.map +1 -1
- package/funcs/transfersGet.js.map +1 -1
- package/funcs/transfersGetCancellation.js.map +1 -1
- package/funcs/transfersGetRefund.js.map +1 -1
- package/funcs/transfersInitiateRefund.js.map +1 -1
- package/funcs/transfersList.js.map +1 -1
- package/funcs/transfersListRefunds.js.map +1 -1
- package/funcs/transfersUpdate.js.map +1 -1
- package/funcs/underwritingGet.js.map +1 -1
- package/funcs/underwritingSave.js.map +1 -1
- package/funcs/underwritingUpsert.js.map +1 -1
- package/funcs/walletTransactionsGet.js.map +1 -1
- package/funcs/walletTransactionsList.js.map +1 -1
- package/funcs/walletsCreate.js.map +1 -1
- package/funcs/walletsGet.js.map +1 -1
- package/funcs/walletsList.js.map +1 -1
- package/funcs/walletsUpdate.js.map +1 -1
- package/funcs/webhooksDisable.js.map +1 -1
- package/funcs/webhooksGet.js.map +1 -1
- package/funcs/webhooksGetSecret.js.map +1 -1
- package/funcs/webhooksPing.js.map +1 -1
- 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/files.d.ts +13 -0
- package/lib/files.d.ts.map +1 -1
- package/lib/files.js +19 -0
- package/lib/files.js.map +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +8 -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/lib/url.d.ts.map +1 -1
- package/lib/url.js +4 -2
- package/lib/url.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/cardpayouttype.d.ts +17 -0
- package/models/components/cardpayouttype.d.ts.map +1 -0
- package/models/components/cardpayouttype.js +51 -0
- package/models/components/cardpayouttype.js.map +1 -0
- package/models/components/createtransferdestinationcard.d.ts +6 -0
- package/models/components/createtransferdestinationcard.d.ts.map +1 -1
- package/models/components/createtransferdestinationcard.js +3 -0
- package/models/components/createtransferdestinationcard.js.map +1 -1
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/paymentmethod.d.ts +4 -2
- package/models/components/paymentmethod.d.ts.map +1 -1
- package/models/components/paymentmethod.js +6 -0
- package/models/components/paymentmethod.js.map +1 -1
- package/models/components/paymentmethodtype.d.ts +2 -0
- package/models/components/paymentmethodtype.d.ts.map +1 -1
- package/models/components/paymentmethodtype.js +2 -0
- package/models/components/paymentmethodtype.js.map +1 -1
- package/models/components/pullfromapplepaypaymentmethod.d.ts +28 -0
- package/models/components/pullfromapplepaypaymentmethod.d.ts.map +1 -0
- package/models/components/pullfromapplepaypaymentmethod.js +63 -0
- package/models/components/pullfromapplepaypaymentmethod.js.map +1 -0
- package/models/components/pullfromapplepaytransferpaymentmethod.d.ts +28 -0
- package/models/components/pullfromapplepaytransferpaymentmethod.d.ts.map +1 -0
- package/models/components/pullfromapplepaytransferpaymentmethod.js +63 -0
- package/models/components/pullfromapplepaytransferpaymentmethod.js.map +1 -0
- package/models/components/pushtoapplepaypaymentmethod.d.ts +28 -0
- package/models/components/pushtoapplepaypaymentmethod.d.ts.map +1 -0
- package/models/components/pushtoapplepaypaymentmethod.js +63 -0
- package/models/components/pushtoapplepaypaymentmethod.js.map +1 -0
- package/models/components/pushtoapplepaytransferpaymentmethod.d.ts +28 -0
- package/models/components/pushtoapplepaytransferpaymentmethod.d.ts.map +1 -0
- package/models/components/pushtoapplepaytransferpaymentmethod.js +63 -0
- package/models/components/pushtoapplepaytransferpaymentmethod.js.map +1 -0
- package/models/components/rtpfailurecode.d.ts +26 -0
- package/models/components/rtpfailurecode.d.ts.map +1 -0
- package/models/components/rtpfailurecode.js +60 -0
- package/models/components/rtpfailurecode.js.map +1 -0
- package/models/components/rtptransactionstatus.d.ts +20 -0
- package/models/components/rtptransactionstatus.d.ts.map +1 -0
- package/models/components/rtptransactionstatus.js +54 -0
- package/models/components/rtptransactionstatus.js.map +1 -0
- package/models/components/transferdestination.d.ts +46 -0
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +36 -1
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transferpaymentmethod.d.ts +4 -2
- package/models/components/transferpaymentmethod.d.ts.map +1 -1
- package/models/components/transferpaymentmethod.js +6 -0
- package/models/components/transferpaymentmethod.js.map +1 -1
- package/models/components/transferpaymentmethodtype.d.ts +2 -0
- package/models/components/transferpaymentmethodtype.d.ts.map +1 -1
- package/models/components/transferpaymentmethodtype.js +2 -0
- package/models/components/transferpaymentmethodtype.js.map +1 -1
- package/models/components/wallettransactiontype.d.ts +1 -0
- package/models/components/wallettransactiontype.d.ts.map +1 -1
- package/models/components/wallettransactiontype.js +1 -0
- package/models/components/wallettransactiontype.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/linkapplepaytoken.d.ts +2 -2
- package/models/operations/linkapplepaytoken.d.ts.map +1 -1
- package/models/operations/linkapplepaytoken.js +2 -2
- package/models/operations/linkapplepaytoken.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 +0 -1
- package/src/funcs/accountTerminalApplicationsGetConfiguration.ts +0 -1
- package/src/funcs/accountTerminalApplicationsLink.ts +0 -1
- package/src/funcs/accountTerminalApplicationsList.ts +0 -1
- package/src/funcs/accountsAssignCountries.ts +0 -1
- package/src/funcs/accountsConnect.ts +0 -1
- package/src/funcs/accountsDisconnect.ts +0 -1
- package/src/funcs/accountsGet.ts +0 -1
- package/src/funcs/accountsGetCountries.ts +0 -1
- package/src/funcs/accountsGetMerchantProcessingAgreement.ts +0 -1
- package/src/funcs/accountsListConnected.ts +0 -1
- package/src/funcs/accountsUpdate.ts +0 -1
- package/src/funcs/adjustmentsGet.ts +0 -1
- package/src/funcs/adjustmentsList.ts +0 -1
- package/src/funcs/applePayCreateSession.ts +0 -1
- package/src/funcs/applePayGetMerchantDomains.ts +0 -1
- package/src/funcs/applePayLinkToken.ts +0 -1
- package/src/funcs/applePayRegisterMerchantDomains.ts +0 -1
- package/src/funcs/applePayUpdateMerchantDomains.ts +0 -1
- package/src/funcs/avatarsGet.ts +0 -1
- package/src/funcs/bankAccountsCompleteMicroDeposits.ts +0 -1
- package/src/funcs/bankAccountsCompleteVerification.ts +0 -1
- package/src/funcs/bankAccountsDisable.ts +0 -1
- package/src/funcs/bankAccountsGet.ts +0 -1
- package/src/funcs/bankAccountsGetVerification.ts +0 -1
- package/src/funcs/bankAccountsInitiateMicroDeposits.ts +0 -1
- package/src/funcs/bankAccountsInitiateVerification.ts +0 -1
- package/src/funcs/bankAccountsLink.ts +0 -1
- package/src/funcs/bankAccountsList.ts +0 -1
- package/src/funcs/brandingCreate.ts +0 -1
- package/src/funcs/brandingGet.ts +0 -1
- package/src/funcs/brandingUpsert.ts +0 -1
- package/src/funcs/capabilitiesDisable.ts +0 -1
- package/src/funcs/capabilitiesGet.ts +0 -1
- package/src/funcs/capabilitiesList.ts +0 -1
- package/src/funcs/capabilitiesRequest.ts +0 -1
- package/src/funcs/cardIssuingGet.ts +0 -1
- package/src/funcs/cardIssuingGetFull.ts +0 -1
- package/src/funcs/cardIssuingList.ts +0 -1
- package/src/funcs/cardIssuingRequest.ts +0 -1
- package/src/funcs/cardIssuingUpdate.ts +5 -5
- package/src/funcs/cardsDisable.ts +0 -1
- package/src/funcs/cardsGet.ts +0 -1
- package/src/funcs/cardsLink.ts +0 -1
- package/src/funcs/cardsList.ts +0 -1
- package/src/funcs/cardsUpdate.ts +0 -1
- package/src/funcs/disputesAccept.ts +0 -1
- package/src/funcs/disputesDeleteEvidence.ts +0 -1
- package/src/funcs/disputesGet.ts +0 -1
- package/src/funcs/disputesGetEvidence.ts +0 -1
- package/src/funcs/disputesGetEvidenceData.ts +0 -1
- package/src/funcs/disputesList.ts +0 -1
- package/src/funcs/disputesListEvidence.ts +0 -1
- package/src/funcs/disputesSubmitEvidence.ts +0 -1
- package/src/funcs/disputesUpdateEvidence.ts +0 -1
- package/src/funcs/disputesUploadEvidenceFile.ts +11 -23
- package/src/funcs/disputesUploadEvidenceText.ts +0 -1
- package/src/funcs/feePlansCreateFeePlanAgreements.ts +0 -1
- package/src/funcs/feePlansGetResidual.ts +0 -1
- package/src/funcs/feePlansListFeePlanAgreements.ts +0 -1
- package/src/funcs/feePlansListFeePlans.ts +0 -1
- package/src/funcs/feePlansListFeeRevenue.ts +0 -1
- package/src/funcs/feePlansListFeesFetch.ts +0 -1
- package/src/funcs/feePlansListPartnerPricingAgreements.ts +0 -1
- package/src/funcs/feePlansListResidualFees.ts +0 -1
- package/src/funcs/feePlansListResiduals.ts +0 -1
- package/src/funcs/feePlansRetrieveFees.ts +0 -1
- package/src/funcs/filesGet.ts +0 -1
- package/src/funcs/filesList.ts +0 -1
- package/src/funcs/filesUpload.ts +8 -23
- package/src/funcs/imagesDelete.ts +0 -1
- package/src/funcs/imagesGetMetadata.ts +0 -1
- package/src/funcs/imagesGetPublic.ts +0 -1
- package/src/funcs/imagesList.ts +0 -1
- package/src/funcs/imagesUpdate.ts +16 -24
- package/src/funcs/imagesUpdateMetadata.ts +0 -1
- package/src/funcs/imagesUpload.ts +16 -24
- package/src/funcs/invoicesCreateInvoice.ts +0 -1
- package/src/funcs/invoicesCreateInvoicePayment.ts +0 -1
- package/src/funcs/invoicesDelete.ts +0 -1
- package/src/funcs/invoicesGetInvoice.ts +0 -1
- package/src/funcs/invoicesListInvoicePayments.ts +0 -1
- package/src/funcs/invoicesListInvoices.ts +0 -1
- package/src/funcs/invoicesUpdateInvoice.ts +0 -1
- package/src/funcs/issuingTransactionsGet.ts +0 -1
- package/src/funcs/issuingTransactionsGetAuthorization.ts +0 -1
- package/src/funcs/issuingTransactionsList.ts +0 -1
- package/src/funcs/issuingTransactionsListAuthorizationEvents.ts +0 -1
- package/src/funcs/issuingTransactionsListAuthorizations.ts +0 -1
- package/src/funcs/onboardingGetInvite.ts +0 -1
- package/src/funcs/onboardingRevokeInvite.ts +0 -1
- package/src/funcs/paymentLinksCreate.ts +0 -1
- package/src/funcs/paymentLinksDisable.ts +0 -1
- package/src/funcs/paymentLinksGet.ts +0 -1
- package/src/funcs/paymentLinksGetQRCode.ts +0 -1
- package/src/funcs/paymentLinksList.ts +0 -1
- package/src/funcs/paymentLinksUpdate.ts +0 -1
- package/src/funcs/paymentMethodsGet.ts +0 -1
- package/src/funcs/paymentMethodsList.ts +0 -1
- package/src/funcs/productsCreate.ts +0 -1
- package/src/funcs/productsDisable.ts +0 -1
- package/src/funcs/productsGet.ts +0 -1
- package/src/funcs/productsList.ts +0 -1
- package/src/funcs/productsUpdate.ts +0 -1
- package/src/funcs/representativesCreate.ts +0 -1
- package/src/funcs/representativesDelete.ts +0 -1
- package/src/funcs/representativesGet.ts +0 -1
- package/src/funcs/representativesList.ts +0 -1
- package/src/funcs/representativesUpdate.ts +0 -1
- package/src/funcs/resolutionLinksCreate.ts +0 -1
- package/src/funcs/resolutionLinksDisable.ts +0 -1
- package/src/funcs/resolutionLinksGet.ts +0 -1
- package/src/funcs/resolutionLinksList.ts +0 -1
- package/src/funcs/schedulingCancel.ts +0 -1
- package/src/funcs/schedulingCreate.ts +0 -1
- package/src/funcs/schedulingGet.ts +0 -1
- package/src/funcs/schedulingGetOccurrance.ts +0 -1
- package/src/funcs/schedulingList.ts +0 -1
- package/src/funcs/schedulingUpdate.ts +0 -1
- package/src/funcs/statementsGet.ts +0 -1
- package/src/funcs/statementsList.ts +0 -1
- package/src/funcs/supportCreateTicket.ts +0 -1
- package/src/funcs/supportGetTicket.ts +0 -1
- package/src/funcs/supportListTicketMessages.ts +0 -1
- package/src/funcs/supportListTickets.ts +0 -1
- package/src/funcs/supportUpdateTicket.ts +0 -1
- package/src/funcs/sweepsCreateConfig.ts +0 -1
- package/src/funcs/sweepsGet.ts +0 -1
- package/src/funcs/sweepsGetConfig.ts +0 -1
- package/src/funcs/sweepsList.ts +0 -1
- package/src/funcs/sweepsListConfigs.ts +0 -1
- package/src/funcs/sweepsUpdateConfig.ts +0 -1
- package/src/funcs/terminalApplicationsCreateVersion.ts +0 -1
- package/src/funcs/terminalApplicationsDelete.ts +0 -1
- package/src/funcs/terminalApplicationsGet.ts +0 -1
- package/src/funcs/transfersBatchGetTransfers.ts +180 -0
- package/src/funcs/transfersCreate.ts +0 -1
- package/src/funcs/transfersCreateCancellation.ts +0 -1
- package/src/funcs/transfersCreateReversal.ts +0 -1
- package/src/funcs/transfersGenerateOptions.ts +0 -1
- package/src/funcs/transfersGet.ts +0 -1
- package/src/funcs/transfersGetCancellation.ts +0 -1
- package/src/funcs/transfersGetRefund.ts +0 -1
- package/src/funcs/transfersInitiateRefund.ts +0 -1
- package/src/funcs/transfersList.ts +0 -1
- package/src/funcs/transfersListRefunds.ts +0 -1
- package/src/funcs/transfersUpdate.ts +0 -1
- package/src/funcs/underwritingGet.ts +0 -1
- package/src/funcs/underwritingSave.ts +0 -1
- package/src/funcs/underwritingUpsert.ts +0 -1
- package/src/funcs/walletTransactionsGet.ts +0 -1
- package/src/funcs/walletTransactionsList.ts +0 -1
- package/src/funcs/walletsCreate.ts +0 -1
- package/src/funcs/walletsGet.ts +0 -1
- package/src/funcs/walletsList.ts +0 -1
- package/src/funcs/walletsUpdate.ts +0 -1
- package/src/funcs/webhooksDisable.ts +0 -1
- package/src/funcs/webhooksGet.ts +0 -1
- package/src/funcs/webhooksGetSecret.ts +0 -1
- package/src/funcs/webhooksPing.ts +0 -1
- package/src/funcs/webhooksUpdate.ts +0 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +32 -4
- package/src/lib/files.ts +22 -0
- package/src/lib/sdks.ts +7 -5
- package/src/lib/security.ts +14 -2
- package/src/lib/url.ts +16 -14
- 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/cardpayouttype.ts +26 -0
- package/src/models/components/createtransferdestinationcard.ts +12 -0
- package/src/models/components/index.ts +8 -0
- package/src/models/components/paymentmethod.ts +22 -2
- package/src/models/components/paymentmethodtype.ts +2 -0
- package/src/models/components/pullfromapplepaypaymentmethod.ts +73 -0
- package/src/models/components/pullfromapplepaytransferpaymentmethod.ts +74 -0
- package/src/models/components/pushtoapplepaypaymentmethod.ts +73 -0
- package/src/models/components/pushtoapplepaytransferpaymentmethod.ts +74 -0
- package/src/models/components/rtpfailurecode.ts +35 -0
- package/src/models/components/rtptransactionstatus.ts +29 -0
- package/src/models/components/transferdestination.ts +99 -0
- package/src/models/components/transferpaymentmethod.ts +22 -2
- package/src/models/components/transferpaymentmethodtype.ts +2 -0
- package/src/models/components/wallettransactiontype.ts +1 -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/linkapplepaytoken.ts +4 -4
- package/src/models/operations/updateissuedcard.ts +6 -0
- package/src/sdk/cardissuing.ts +1 -1
- package/src/sdk/transfers.ts +22 -0
package/bin/mcp-server.js
CHANGED
|
@@ -52848,7 +52848,7 @@ function pathToFunc(pathPattern, options) {
|
|
|
52848
52848
|
throw new Error(`Parameter '${placeholder}' must be a string or number`);
|
|
52849
52849
|
}
|
|
52850
52850
|
return options?.charEncoding === "percent" ? encodeURIComponent(`${value}`) : `${value}`;
|
|
52851
|
-
});
|
|
52851
|
+
}).replace(/^\/+/, "");
|
|
52852
52852
|
};
|
|
52853
52853
|
}
|
|
52854
52854
|
var hasOwn;
|
|
@@ -52879,9 +52879,9 @@ var init_config = __esm(() => {
|
|
|
52879
52879
|
SDK_METADATA = {
|
|
52880
52880
|
language: "typescript",
|
|
52881
52881
|
openapiDocVersion: "v2026.04.00",
|
|
52882
|
-
sdkVersion: "26.4.0-dev.
|
|
52883
|
-
genVersion: "2.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 26.4.0-dev.
|
|
52882
|
+
sdkVersion: "26.4.0-dev.17",
|
|
52883
|
+
genVersion: "2.879.13",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 26.4.0-dev.17 2.879.13 v2026.04.00 @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
@@ -53226,17 +53226,38 @@ function queryEncoder(f) {
|
|
|
53226
53226
|
};
|
|
53227
53227
|
return bulkEncode;
|
|
53228
53228
|
}
|
|
53229
|
+
function isBlobLike(val) {
|
|
53230
|
+
if (val instanceof Blob) {
|
|
53231
|
+
return true;
|
|
53232
|
+
}
|
|
53233
|
+
if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
|
|
53234
|
+
return false;
|
|
53235
|
+
}
|
|
53236
|
+
const tag = val[Symbol.toStringTag];
|
|
53237
|
+
if (tag !== "Blob" && tag !== "File") {
|
|
53238
|
+
return false;
|
|
53239
|
+
}
|
|
53240
|
+
return "stream" in val && typeof val.stream === "function";
|
|
53241
|
+
}
|
|
53229
53242
|
function appendForm(fd, key, value, fileName) {
|
|
53230
53243
|
if (value == null) {
|
|
53231
53244
|
return;
|
|
53232
|
-
} else if (value
|
|
53233
|
-
|
|
53234
|
-
|
|
53235
|
-
|
|
53245
|
+
} else if (isBlobLike(value)) {
|
|
53246
|
+
if (fileName) {
|
|
53247
|
+
fd.append(key, value, fileName);
|
|
53248
|
+
} else {
|
|
53249
|
+
fd.append(key, value);
|
|
53250
|
+
}
|
|
53236
53251
|
} else {
|
|
53237
53252
|
fd.append(key, String(value));
|
|
53238
53253
|
}
|
|
53239
53254
|
}
|
|
53255
|
+
async function normalizeBlob(value) {
|
|
53256
|
+
if (value instanceof Blob) {
|
|
53257
|
+
return value;
|
|
53258
|
+
}
|
|
53259
|
+
return new Blob([await value.arrayBuffer()], { type: value.type });
|
|
53260
|
+
}
|
|
53240
53261
|
var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encodeSimple = (key, value, options) => {
|
|
53241
53262
|
let out = "";
|
|
53242
53263
|
const pairs = options?.explode ? explode(key, value) : [[key, value]];
|
|
@@ -53619,12 +53640,15 @@ class ClientSDK {
|
|
|
53619
53640
|
if (!base) {
|
|
53620
53641
|
return ERR(new InvalidRequestError("No base URL provided for operation"));
|
|
53621
53642
|
}
|
|
53622
|
-
const
|
|
53623
|
-
|
|
53643
|
+
const baseURL = new URL(base);
|
|
53644
|
+
let reqURL;
|
|
53624
53645
|
if (path) {
|
|
53625
|
-
|
|
53626
|
-
reqURL
|
|
53646
|
+
baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/";
|
|
53647
|
+
reqURL = new URL(path, baseURL);
|
|
53648
|
+
} else {
|
|
53649
|
+
reqURL = baseURL;
|
|
53627
53650
|
}
|
|
53651
|
+
reqURL.hash = "";
|
|
53628
53652
|
let finalQuery = query || "";
|
|
53629
53653
|
const secQuery = [];
|
|
53630
53654
|
for (const [k2, v2] of Object.entries(security?.queryParams || {})) {
|
|
@@ -54437,13 +54461,24 @@ function applyBearer(state, spec) {
|
|
|
54437
54461
|
state.headers[spec.fieldName] = value;
|
|
54438
54462
|
}
|
|
54439
54463
|
}
|
|
54440
|
-
function resolveGlobalSecurity(security) {
|
|
54441
|
-
|
|
54442
|
-
|
|
54443
|
-
|
|
54444
|
-
|
|
54445
|
-
|
|
54446
|
-
|
|
54464
|
+
function resolveGlobalSecurity(security, allowedFields) {
|
|
54465
|
+
let inputs = [
|
|
54466
|
+
[
|
|
54467
|
+
{
|
|
54468
|
+
type: "http:basic",
|
|
54469
|
+
value: { username: security?.username, password: security?.password }
|
|
54470
|
+
}
|
|
54471
|
+
]
|
|
54472
|
+
];
|
|
54473
|
+
if (allowedFields) {
|
|
54474
|
+
inputs = allowedFields.map((i) => {
|
|
54475
|
+
if (i < 0 || i >= inputs.length) {
|
|
54476
|
+
throw new RangeError(`invalid allowedFields index ${i}`);
|
|
54477
|
+
}
|
|
54478
|
+
return inputs[i];
|
|
54479
|
+
});
|
|
54480
|
+
}
|
|
54481
|
+
return resolveSecurity(...inputs);
|
|
54447
54482
|
}
|
|
54448
54483
|
async function extractSecurity(sec) {
|
|
54449
54484
|
if (sec == null) {
|
|
@@ -56510,7 +56545,9 @@ var init_paymentmethodtype = __esm(() => {
|
|
|
56510
56545
|
PullFromCard: "pull-from-card",
|
|
56511
56546
|
ApplePay: "apple-pay",
|
|
56512
56547
|
CardPresentPayment: "card-present-payment",
|
|
56513
|
-
InstantBankCredit: "instant-bank-credit"
|
|
56548
|
+
InstantBankCredit: "instant-bank-credit",
|
|
56549
|
+
PushToApplePay: "push-to-apple-pay",
|
|
56550
|
+
PullFromApplePay: "pull-from-apple-pay"
|
|
56514
56551
|
};
|
|
56515
56552
|
PaymentMethodType$inboundSchema = nativeEnumType(PaymentMethodType);
|
|
56516
56553
|
PaymentMethodType$outboundSchema = PaymentMethodType$inboundSchema;
|
|
@@ -56683,6 +56720,18 @@ var init_bankaccountwaitfor = __esm(() => {
|
|
|
56683
56720
|
BankAccountWaitFor$outboundSchema = BankAccountWaitFor$inboundSchema;
|
|
56684
56721
|
});
|
|
56685
56722
|
|
|
56723
|
+
// src/models/components/batchgettransfersrequest.ts
|
|
56724
|
+
var BatchGetTransfersRequest$inboundSchema, BatchGetTransfersRequest$outboundSchema;
|
|
56725
|
+
var init_batchgettransfersrequest = __esm(() => {
|
|
56726
|
+
init_esm();
|
|
56727
|
+
BatchGetTransfersRequest$inboundSchema = objectType({
|
|
56728
|
+
transferIDs: arrayType(stringType())
|
|
56729
|
+
});
|
|
56730
|
+
BatchGetTransfersRequest$outboundSchema = objectType({
|
|
56731
|
+
transferIDs: arrayType(stringType())
|
|
56732
|
+
});
|
|
56733
|
+
});
|
|
56734
|
+
|
|
56686
56735
|
// src/models/components/feecategory.ts
|
|
56687
56736
|
var FeeCategory, FeeCategory$inboundSchema, FeeCategory$outboundSchema;
|
|
56688
56737
|
var init_feecategory = __esm(() => {
|
|
@@ -60256,6 +60305,17 @@ var init_cardpaymenttransferpaymentmethod = __esm(() => {
|
|
|
60256
60305
|
});
|
|
60257
60306
|
});
|
|
60258
60307
|
|
|
60308
|
+
// src/models/components/cardpayouttype.ts
|
|
60309
|
+
var CardPayoutType, CardPayoutType$inboundSchema, CardPayoutType$outboundSchema;
|
|
60310
|
+
var init_cardpayouttype = __esm(() => {
|
|
60311
|
+
init_esm();
|
|
60312
|
+
CardPayoutType = {
|
|
60313
|
+
Loyalty: "loyalty"
|
|
60314
|
+
};
|
|
60315
|
+
CardPayoutType$inboundSchema = nativeEnumType(CardPayoutType);
|
|
60316
|
+
CardPayoutType$outboundSchema = CardPayoutType$inboundSchema;
|
|
60317
|
+
});
|
|
60318
|
+
|
|
60259
60319
|
// src/models/components/entrymode.ts
|
|
60260
60320
|
var EntryMode, EntryMode$inboundSchema, EntryMode$outboundSchema;
|
|
60261
60321
|
var init_entrymode = __esm(() => {
|
|
@@ -61298,6 +61358,40 @@ var init_instantbanktransactiondetails = __esm(() => {
|
|
|
61298
61358
|
});
|
|
61299
61359
|
});
|
|
61300
61360
|
|
|
61361
|
+
// src/models/components/rtpfailurecode.ts
|
|
61362
|
+
var RTPFailureCode, RTPFailureCode$inboundSchema, RTPFailureCode$outboundSchema;
|
|
61363
|
+
var init_rtpfailurecode = __esm(() => {
|
|
61364
|
+
init_esm();
|
|
61365
|
+
RTPFailureCode = {
|
|
61366
|
+
ProcessingError: "processing-error",
|
|
61367
|
+
InvalidAccount: "invalid-account",
|
|
61368
|
+
AccountClosed: "account-closed",
|
|
61369
|
+
AccountBlocked: "account-blocked",
|
|
61370
|
+
InvalidField: "invalid-field",
|
|
61371
|
+
TransactionNotSupported: "transaction-not-supported",
|
|
61372
|
+
LimitExceeded: "limit-exceeded",
|
|
61373
|
+
InvalidAmount: "invalid-amount",
|
|
61374
|
+
CustomerDeceased: "customer-deceased",
|
|
61375
|
+
Other: "other"
|
|
61376
|
+
};
|
|
61377
|
+
RTPFailureCode$inboundSchema = nativeEnumType(RTPFailureCode);
|
|
61378
|
+
RTPFailureCode$outboundSchema = RTPFailureCode$inboundSchema;
|
|
61379
|
+
});
|
|
61380
|
+
|
|
61381
|
+
// src/models/components/rtptransactionstatus.ts
|
|
61382
|
+
var RTPTransactionStatus, RTPTransactionStatus$inboundSchema, RTPTransactionStatus$outboundSchema;
|
|
61383
|
+
var init_rtptransactionstatus = __esm(() => {
|
|
61384
|
+
init_esm();
|
|
61385
|
+
RTPTransactionStatus = {
|
|
61386
|
+
Initiated: "initiated",
|
|
61387
|
+
Completed: "completed",
|
|
61388
|
+
Failed: "failed",
|
|
61389
|
+
AcceptedWithoutPosting: "accepted-without-posting"
|
|
61390
|
+
};
|
|
61391
|
+
RTPTransactionStatus$inboundSchema = nativeEnumType(RTPTransactionStatus);
|
|
61392
|
+
RTPTransactionStatus$outboundSchema = RTPTransactionStatus$inboundSchema;
|
|
61393
|
+
});
|
|
61394
|
+
|
|
61301
61395
|
// src/models/components/transferaccount.ts
|
|
61302
61396
|
var TransferAccount$inboundSchema, TransferAccount$outboundSchema;
|
|
61303
61397
|
var init_transferaccount = __esm(() => {
|
|
@@ -61359,25 +61453,47 @@ var init_transferpaymentmethodtype = __esm(() => {
|
|
|
61359
61453
|
PullFromCard: "pull-from-card",
|
|
61360
61454
|
ApplePay: "apple-pay",
|
|
61361
61455
|
CardPresentPayment: "card-present-payment",
|
|
61362
|
-
InstantBankCredit: "instant-bank-credit"
|
|
61456
|
+
InstantBankCredit: "instant-bank-credit",
|
|
61457
|
+
PushToApplePay: "push-to-apple-pay",
|
|
61458
|
+
PullFromApplePay: "pull-from-apple-pay"
|
|
61363
61459
|
};
|
|
61364
61460
|
TransferPaymentMethodType$inboundSchema = nativeEnumType(TransferPaymentMethodType);
|
|
61365
61461
|
TransferPaymentMethodType$outboundSchema = TransferPaymentMethodType$inboundSchema;
|
|
61366
61462
|
});
|
|
61367
61463
|
|
|
61368
61464
|
// src/models/components/transferdestination.ts
|
|
61369
|
-
var TransferDestination$inboundSchema, TransferDestination$outboundSchema;
|
|
61465
|
+
var RtpDetails$inboundSchema, RtpDetails$outboundSchema, TransferDestination$inboundSchema, TransferDestination$outboundSchema;
|
|
61370
61466
|
var init_transferdestination = __esm(() => {
|
|
61371
61467
|
init_esm();
|
|
61372
61468
|
init_achtransactiondetails();
|
|
61373
61469
|
init_applepayresponse();
|
|
61374
61470
|
init_cardtransactiondetails();
|
|
61375
61471
|
init_instantbanktransactiondetails();
|
|
61472
|
+
init_rtpfailurecode();
|
|
61473
|
+
init_rtptransactionstatus();
|
|
61376
61474
|
init_transferaccount();
|
|
61377
61475
|
init_transferpaymentmethodsbankaccount();
|
|
61378
61476
|
init_transferpaymentmethodscard();
|
|
61379
61477
|
init_transferpaymentmethodswallet();
|
|
61380
61478
|
init_transferpaymentmethodtype();
|
|
61479
|
+
RtpDetails$inboundSchema = objectType({
|
|
61480
|
+
status: RTPTransactionStatus$inboundSchema.optional(),
|
|
61481
|
+
networkResponseCode: stringType().optional(),
|
|
61482
|
+
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
61483
|
+
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61484
|
+
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61485
|
+
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61486
|
+
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
61487
|
+
});
|
|
61488
|
+
RtpDetails$outboundSchema = objectType({
|
|
61489
|
+
status: RTPTransactionStatus$outboundSchema.optional(),
|
|
61490
|
+
networkResponseCode: stringType().optional(),
|
|
61491
|
+
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
61492
|
+
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61493
|
+
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61494
|
+
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61495
|
+
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
61496
|
+
});
|
|
61381
61497
|
TransferDestination$inboundSchema = objectType({
|
|
61382
61498
|
paymentMethodID: stringType(),
|
|
61383
61499
|
paymentMethodType: TransferPaymentMethodType$inboundSchema,
|
|
@@ -61388,6 +61504,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61388
61504
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
61389
61505
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
61390
61506
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
61507
|
+
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional(),
|
|
61391
61508
|
instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional()
|
|
61392
61509
|
});
|
|
61393
61510
|
TransferDestination$outboundSchema = objectType({
|
|
@@ -61400,6 +61517,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61400
61517
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
61401
61518
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
61402
61519
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
61520
|
+
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional(),
|
|
61403
61521
|
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional()
|
|
61404
61522
|
});
|
|
61405
61523
|
});
|
|
@@ -61631,7 +61749,7 @@ var init_createdtransfer = __esm(() => {
|
|
|
61631
61749
|
});
|
|
61632
61750
|
|
|
61633
61751
|
// src/types/blobs.ts
|
|
61634
|
-
function
|
|
61752
|
+
function isBlobLike2(val) {
|
|
61635
61753
|
if (val instanceof Blob) {
|
|
61636
61754
|
return true;
|
|
61637
61755
|
}
|
|
@@ -61650,7 +61768,7 @@ function isBlobLike(val) {
|
|
|
61650
61768
|
var blobLikeSchema;
|
|
61651
61769
|
var init_blobs = __esm(() => {
|
|
61652
61770
|
init_esm();
|
|
61653
|
-
blobLikeSchema = custom(
|
|
61771
|
+
blobLikeSchema = custom(isBlobLike2, {
|
|
61654
61772
|
message: "expected a Blob, File or Blob-like object",
|
|
61655
61773
|
fatal: true
|
|
61656
61774
|
});
|
|
@@ -62652,11 +62770,14 @@ var init_createtransferdestinationach = __esm(() => {
|
|
|
62652
62770
|
var CreateTransferDestinationCard$inboundSchema, CreateTransferDestinationCard$outboundSchema;
|
|
62653
62771
|
var init_createtransferdestinationcard = __esm(() => {
|
|
62654
62772
|
init_esm();
|
|
62773
|
+
init_cardpayouttype();
|
|
62655
62774
|
CreateTransferDestinationCard$inboundSchema = objectType({
|
|
62656
|
-
dynamicDescriptor: stringType().optional()
|
|
62775
|
+
dynamicDescriptor: stringType().optional(),
|
|
62776
|
+
payoutType: CardPayoutType$inboundSchema.optional()
|
|
62657
62777
|
});
|
|
62658
62778
|
CreateTransferDestinationCard$outboundSchema = objectType({
|
|
62659
|
-
dynamicDescriptor: stringType().optional()
|
|
62779
|
+
dynamicDescriptor: stringType().optional(),
|
|
62780
|
+
payoutType: CardPayoutType$outboundSchema.optional()
|
|
62660
62781
|
});
|
|
62661
62782
|
});
|
|
62662
62783
|
|
|
@@ -65908,6 +66029,23 @@ var init_paymentlinkpayoutdetailsupdate = __esm(() => {
|
|
|
65908
66029
|
});
|
|
65909
66030
|
});
|
|
65910
66031
|
|
|
66032
|
+
// src/models/components/pullfromapplepaypaymentmethod.ts
|
|
66033
|
+
var PullFromApplePayPaymentMethod$inboundSchema, PullFromApplePayPaymentMethod$outboundSchema;
|
|
66034
|
+
var init_pullfromapplepaypaymentmethod = __esm(() => {
|
|
66035
|
+
init_esm();
|
|
66036
|
+
init_applepayresponse();
|
|
66037
|
+
PullFromApplePayPaymentMethod$inboundSchema = objectType({
|
|
66038
|
+
paymentMethodID: stringType(),
|
|
66039
|
+
paymentMethodType: literalType("pull-from-apple-pay"),
|
|
66040
|
+
applePay: ApplePayResponse$inboundSchema
|
|
66041
|
+
});
|
|
66042
|
+
PullFromApplePayPaymentMethod$outboundSchema = objectType({
|
|
66043
|
+
paymentMethodID: stringType(),
|
|
66044
|
+
paymentMethodType: literalType("pull-from-apple-pay"),
|
|
66045
|
+
applePay: ApplePayResponse$outboundSchema
|
|
66046
|
+
});
|
|
66047
|
+
});
|
|
66048
|
+
|
|
65911
66049
|
// src/models/components/pullfromcardpaymentmethod.ts
|
|
65912
66050
|
var PullFromCardPaymentMethod$inboundSchema, PullFromCardPaymentMethod$outboundSchema;
|
|
65913
66051
|
var init_pullfromcardpaymentmethod = __esm(() => {
|
|
@@ -65925,6 +66063,23 @@ var init_pullfromcardpaymentmethod = __esm(() => {
|
|
|
65925
66063
|
});
|
|
65926
66064
|
});
|
|
65927
66065
|
|
|
66066
|
+
// src/models/components/pushtoapplepaypaymentmethod.ts
|
|
66067
|
+
var PushToApplePayPaymentMethod$inboundSchema, PushToApplePayPaymentMethod$outboundSchema;
|
|
66068
|
+
var init_pushtoapplepaypaymentmethod = __esm(() => {
|
|
66069
|
+
init_esm();
|
|
66070
|
+
init_applepayresponse();
|
|
66071
|
+
PushToApplePayPaymentMethod$inboundSchema = objectType({
|
|
66072
|
+
paymentMethodID: stringType(),
|
|
66073
|
+
paymentMethodType: literalType("push-to-apple-pay"),
|
|
66074
|
+
applePay: ApplePayResponse$inboundSchema
|
|
66075
|
+
});
|
|
66076
|
+
PushToApplePayPaymentMethod$outboundSchema = objectType({
|
|
66077
|
+
paymentMethodID: stringType(),
|
|
66078
|
+
paymentMethodType: literalType("push-to-apple-pay"),
|
|
66079
|
+
applePay: ApplePayResponse$outboundSchema
|
|
66080
|
+
});
|
|
66081
|
+
});
|
|
66082
|
+
|
|
65928
66083
|
// src/models/components/pushtocardpaymentmethod.ts
|
|
65929
66084
|
var PushToCardPaymentMethod$inboundSchema, PushToCardPaymentMethod$outboundSchema;
|
|
65930
66085
|
var init_pushtocardpaymentmethod = __esm(() => {
|
|
@@ -65972,7 +66127,9 @@ var init_paymentmethod = __esm(() => {
|
|
|
65972
66127
|
init_cardpresentpaymentpaymentmethod();
|
|
65973
66128
|
init_instantbankcreditpaymentmethod();
|
|
65974
66129
|
init_moovwalletpaymentmethod();
|
|
66130
|
+
init_pullfromapplepaypaymentmethod();
|
|
65975
66131
|
init_pullfromcardpaymentmethod();
|
|
66132
|
+
init_pushtoapplepaypaymentmethod();
|
|
65976
66133
|
init_pushtocardpaymentmethod();
|
|
65977
66134
|
init_rtpcreditpaymentmethod();
|
|
65978
66135
|
PaymentMethod$inboundSchema = unionType([
|
|
@@ -65987,7 +66144,9 @@ var init_paymentmethod = __esm(() => {
|
|
|
65987
66144
|
PullFromCardPaymentMethod$inboundSchema,
|
|
65988
66145
|
ApplePayPaymentMethod$inboundSchema,
|
|
65989
66146
|
CardPresentPaymentPaymentMethod$inboundSchema,
|
|
65990
|
-
InstantBankCreditPaymentMethod$inboundSchema
|
|
66147
|
+
InstantBankCreditPaymentMethod$inboundSchema,
|
|
66148
|
+
PushToApplePayPaymentMethod$inboundSchema,
|
|
66149
|
+
PullFromApplePayPaymentMethod$inboundSchema
|
|
65991
66150
|
]);
|
|
65992
66151
|
PaymentMethod$outboundSchema = unionType([
|
|
65993
66152
|
MoovWalletPaymentMethod$outboundSchema,
|
|
@@ -66001,7 +66160,9 @@ var init_paymentmethod = __esm(() => {
|
|
|
66001
66160
|
PullFromCardPaymentMethod$outboundSchema,
|
|
66002
66161
|
ApplePayPaymentMethod$outboundSchema,
|
|
66003
66162
|
CardPresentPaymentPaymentMethod$outboundSchema,
|
|
66004
|
-
InstantBankCreditPaymentMethod$outboundSchema
|
|
66163
|
+
InstantBankCreditPaymentMethod$outboundSchema,
|
|
66164
|
+
PushToApplePayPaymentMethod$outboundSchema,
|
|
66165
|
+
PullFromApplePayPaymentMethod$outboundSchema
|
|
66005
66166
|
]);
|
|
66006
66167
|
});
|
|
66007
66168
|
|
|
@@ -66273,6 +66434,23 @@ var init_productrequest = __esm(() => {
|
|
|
66273
66434
|
});
|
|
66274
66435
|
});
|
|
66275
66436
|
|
|
66437
|
+
// src/models/components/pullfromapplepaytransferpaymentmethod.ts
|
|
66438
|
+
var PullFromApplePayTransferPaymentMethod$inboundSchema, PullFromApplePayTransferPaymentMethod$outboundSchema;
|
|
66439
|
+
var init_pullfromapplepaytransferpaymentmethod = __esm(() => {
|
|
66440
|
+
init_esm();
|
|
66441
|
+
init_applepayresponse();
|
|
66442
|
+
PullFromApplePayTransferPaymentMethod$inboundSchema = objectType({
|
|
66443
|
+
paymentMethodID: stringType(),
|
|
66444
|
+
paymentMethodType: literalType("pull-from-apple-pay"),
|
|
66445
|
+
applePay: ApplePayResponse$inboundSchema
|
|
66446
|
+
});
|
|
66447
|
+
PullFromApplePayTransferPaymentMethod$outboundSchema = objectType({
|
|
66448
|
+
paymentMethodID: stringType(),
|
|
66449
|
+
paymentMethodType: literalType("pull-from-apple-pay"),
|
|
66450
|
+
applePay: ApplePayResponse$outboundSchema
|
|
66451
|
+
});
|
|
66452
|
+
});
|
|
66453
|
+
|
|
66276
66454
|
// src/models/components/pullfromcardtransferpaymentmethod.ts
|
|
66277
66455
|
var PullFromCardTransferPaymentMethod$inboundSchema, PullFromCardTransferPaymentMethod$outboundSchema;
|
|
66278
66456
|
var init_pullfromcardtransferpaymentmethod = __esm(() => {
|
|
@@ -66290,6 +66468,23 @@ var init_pullfromcardtransferpaymentmethod = __esm(() => {
|
|
|
66290
66468
|
});
|
|
66291
66469
|
});
|
|
66292
66470
|
|
|
66471
|
+
// src/models/components/pushtoapplepaytransferpaymentmethod.ts
|
|
66472
|
+
var PushToApplePayTransferPaymentMethod$inboundSchema, PushToApplePayTransferPaymentMethod$outboundSchema;
|
|
66473
|
+
var init_pushtoapplepaytransferpaymentmethod = __esm(() => {
|
|
66474
|
+
init_esm();
|
|
66475
|
+
init_applepayresponse();
|
|
66476
|
+
PushToApplePayTransferPaymentMethod$inboundSchema = objectType({
|
|
66477
|
+
paymentMethodID: stringType(),
|
|
66478
|
+
paymentMethodType: literalType("push-to-apple-pay"),
|
|
66479
|
+
applePay: ApplePayResponse$inboundSchema
|
|
66480
|
+
});
|
|
66481
|
+
PushToApplePayTransferPaymentMethod$outboundSchema = objectType({
|
|
66482
|
+
paymentMethodID: stringType(),
|
|
66483
|
+
paymentMethodType: literalType("push-to-apple-pay"),
|
|
66484
|
+
applePay: ApplePayResponse$outboundSchema
|
|
66485
|
+
});
|
|
66486
|
+
});
|
|
66487
|
+
|
|
66293
66488
|
// src/models/components/pushtocardtransferpaymentmethod.ts
|
|
66294
66489
|
var PushToCardTransferPaymentMethod$inboundSchema, PushToCardTransferPaymentMethod$outboundSchema;
|
|
66295
66490
|
var init_pushtocardtransferpaymentmethod = __esm(() => {
|
|
@@ -67027,7 +67222,8 @@ var init_wallettransactiontype = __esm(() => {
|
|
|
67027
67222
|
WalletTransfer: "wallet-transfer",
|
|
67028
67223
|
Adjustment: "adjustment",
|
|
67029
67224
|
FeeRevenue: "fee-revenue",
|
|
67030
|
-
Residual: "residual"
|
|
67225
|
+
Residual: "residual",
|
|
67226
|
+
InstantBankFailure: "instant-bank-failure"
|
|
67031
67227
|
};
|
|
67032
67228
|
WalletTransactionType$inboundSchema = nativeEnumType(WalletTransactionType);
|
|
67033
67229
|
WalletTransactionType$outboundSchema = WalletTransactionType$inboundSchema;
|
|
@@ -67392,7 +67588,9 @@ var init_transferpaymentmethod = __esm(() => {
|
|
|
67392
67588
|
init_cardpresentpaymenttransferpaymentmethod();
|
|
67393
67589
|
init_instantbankcredittransferpaymentmethod();
|
|
67394
67590
|
init_moovwallettransferpaymentmethod();
|
|
67591
|
+
init_pullfromapplepaytransferpaymentmethod();
|
|
67395
67592
|
init_pullfromcardtransferpaymentmethod();
|
|
67593
|
+
init_pushtoapplepaytransferpaymentmethod();
|
|
67396
67594
|
init_pushtocardtransferpaymentmethod();
|
|
67397
67595
|
init_rtpcredittransferpaymentmethod();
|
|
67398
67596
|
TransferPaymentMethod$inboundSchema = unionType([
|
|
@@ -67407,7 +67605,9 @@ var init_transferpaymentmethod = __esm(() => {
|
|
|
67407
67605
|
PullFromCardTransferPaymentMethod$inboundSchema,
|
|
67408
67606
|
ApplePayTransferPaymentMethod$inboundSchema,
|
|
67409
67607
|
CardPresentPaymentTransferPaymentMethod$inboundSchema,
|
|
67410
|
-
InstantBankCreditTransferPaymentMethod$inboundSchema
|
|
67608
|
+
InstantBankCreditTransferPaymentMethod$inboundSchema,
|
|
67609
|
+
PushToApplePayTransferPaymentMethod$inboundSchema,
|
|
67610
|
+
PullFromApplePayTransferPaymentMethod$inboundSchema
|
|
67411
67611
|
]);
|
|
67412
67612
|
TransferPaymentMethod$outboundSchema = unionType([
|
|
67413
67613
|
MoovWalletTransferPaymentMethod$outboundSchema,
|
|
@@ -67421,7 +67621,9 @@ var init_transferpaymentmethod = __esm(() => {
|
|
|
67421
67621
|
PullFromCardTransferPaymentMethod$outboundSchema,
|
|
67422
67622
|
ApplePayTransferPaymentMethod$outboundSchema,
|
|
67423
67623
|
CardPresentPaymentTransferPaymentMethod$outboundSchema,
|
|
67424
|
-
InstantBankCreditTransferPaymentMethod$outboundSchema
|
|
67624
|
+
InstantBankCreditTransferPaymentMethod$outboundSchema,
|
|
67625
|
+
PushToApplePayTransferPaymentMethod$outboundSchema,
|
|
67626
|
+
PullFromApplePayTransferPaymentMethod$outboundSchema
|
|
67425
67627
|
]);
|
|
67426
67628
|
});
|
|
67427
67629
|
|
|
@@ -68110,9 +68312,11 @@ var WebhookBillingStatementCreated$inboundSchema, WebhookBillingStatementCreated
|
|
|
68110
68312
|
var init_webhookbillingstatementcreated = __esm(() => {
|
|
68111
68313
|
init_esm();
|
|
68112
68314
|
WebhookBillingStatementCreated$inboundSchema = objectType({
|
|
68315
|
+
accountID: stringType(),
|
|
68113
68316
|
statementID: stringType()
|
|
68114
68317
|
});
|
|
68115
68318
|
WebhookBillingStatementCreated$outboundSchema = objectType({
|
|
68319
|
+
accountID: stringType(),
|
|
68116
68320
|
statementID: stringType()
|
|
68117
68321
|
});
|
|
68118
68322
|
});
|
|
@@ -68854,11 +69058,11 @@ var init_webhookdata = __esm(() => {
|
|
|
68854
69058
|
WebhookDataTicketCreated$inboundSchema,
|
|
68855
69059
|
WebhookDataTicketMessageAdded$inboundSchema,
|
|
68856
69060
|
WebhookDataWalletCreated$inboundSchema,
|
|
69061
|
+
WebhookBillingStatementCreated$inboundSchema,
|
|
68857
69062
|
WebhookDataAccountCreated$inboundSchema,
|
|
68858
69063
|
WebhookDataAccountUpdated$inboundSchema,
|
|
68859
69064
|
WebhookDataAccountDisconnected$inboundSchema,
|
|
68860
|
-
WebhookDataNetworkIDUpdated$inboundSchema
|
|
68861
|
-
WebhookBillingStatementCreated$inboundSchema
|
|
69065
|
+
WebhookDataNetworkIDUpdated$inboundSchema
|
|
68862
69066
|
]);
|
|
68863
69067
|
WebhookData$outboundSchema = unionType([
|
|
68864
69068
|
WebhookDataDisputeCreated$outboundSchema,
|
|
@@ -68893,11 +69097,11 @@ var init_webhookdata = __esm(() => {
|
|
|
68893
69097
|
WebhookDataTicketCreated$outboundSchema,
|
|
68894
69098
|
WebhookDataTicketMessageAdded$outboundSchema,
|
|
68895
69099
|
WebhookDataWalletCreated$outboundSchema,
|
|
69100
|
+
WebhookBillingStatementCreated$outboundSchema,
|
|
68896
69101
|
WebhookDataAccountCreated$outboundSchema,
|
|
68897
69102
|
WebhookDataAccountUpdated$outboundSchema,
|
|
68898
69103
|
WebhookDataAccountDisconnected$outboundSchema,
|
|
68899
|
-
WebhookDataNetworkIDUpdated$outboundSchema
|
|
68900
|
-
WebhookBillingStatementCreated$outboundSchema
|
|
69104
|
+
WebhookDataNetworkIDUpdated$outboundSchema
|
|
68901
69105
|
]);
|
|
68902
69106
|
});
|
|
68903
69107
|
|
|
@@ -69002,6 +69206,7 @@ var init_components = __esm(() => {
|
|
|
69002
69206
|
init_bankaccountverificationstatus();
|
|
69003
69207
|
init_bankaccountwaitfor();
|
|
69004
69208
|
init_basicpaymentmethod();
|
|
69209
|
+
init_batchgettransfersrequest();
|
|
69005
69210
|
init_billablefee();
|
|
69006
69211
|
init_billingcountandamount();
|
|
69007
69212
|
init_billinginterchangeprogramfee();
|
|
@@ -69045,6 +69250,7 @@ var init_components = __esm(() => {
|
|
|
69045
69250
|
init_cardpaymentpaymentmethod();
|
|
69046
69251
|
init_cardpaymentsettings();
|
|
69047
69252
|
init_cardpaymenttransferpaymentmethod();
|
|
69253
|
+
init_cardpayouttype();
|
|
69048
69254
|
init_cardpresentpaymentpaymentmethod();
|
|
69049
69255
|
init_cardpresentpaymenttransferpaymentmethod();
|
|
69050
69256
|
init_cardtransactiondetails();
|
|
@@ -69326,8 +69532,12 @@ var init_components = __esm(() => {
|
|
|
69326
69532
|
init_productoptionvalidationerror();
|
|
69327
69533
|
init_productrequest();
|
|
69328
69534
|
init_profile();
|
|
69535
|
+
init_pullfromapplepaypaymentmethod();
|
|
69536
|
+
init_pullfromapplepaytransferpaymentmethod();
|
|
69329
69537
|
init_pullfromcardpaymentmethod();
|
|
69330
69538
|
init_pullfromcardtransferpaymentmethod();
|
|
69539
|
+
init_pushtoapplepaypaymentmethod();
|
|
69540
|
+
init_pushtoapplepaytransferpaymentmethod();
|
|
69331
69541
|
init_pushtocardpaymentmethod();
|
|
69332
69542
|
init_pushtocardtransferpaymentmethod();
|
|
69333
69543
|
init_qrcode();
|
|
@@ -69358,9 +69568,11 @@ var init_components = __esm(() => {
|
|
|
69358
69568
|
init_revoketokenrequest();
|
|
69359
69569
|
init_rtpcreditpaymentmethod();
|
|
69360
69570
|
init_rtpcredittransferpaymentmethod();
|
|
69571
|
+
init_rtpfailurecode();
|
|
69361
69572
|
init_rtpinstitution();
|
|
69362
69573
|
init_rtprejectioncode();
|
|
69363
69574
|
init_rtpservices();
|
|
69575
|
+
init_rtptransactionstatus();
|
|
69364
69576
|
init_runtransfer();
|
|
69365
69577
|
init_scheduledtransferimagemetadata();
|
|
69366
69578
|
init_scheduledtransferlineitem();
|
|
@@ -72497,6 +72709,48 @@ var init_assignaccountcountries = __esm(() => {
|
|
|
72497
72709
|
});
|
|
72498
72710
|
});
|
|
72499
72711
|
|
|
72712
|
+
// src/models/operations/batchgettransfers.ts
|
|
72713
|
+
var BatchGetTransfersRequest$inboundSchema2, BatchGetTransfersRequest$outboundSchema2, BatchGetTransfersResponse$inboundSchema, BatchGetTransfersResponse$outboundSchema;
|
|
72714
|
+
var init_batchgettransfers = __esm(() => {
|
|
72715
|
+
init_esm();
|
|
72716
|
+
init_primitives();
|
|
72717
|
+
init_components();
|
|
72718
|
+
BatchGetTransfersRequest$inboundSchema2 = objectType({
|
|
72719
|
+
accountID: stringType(),
|
|
72720
|
+
BatchGetTransfersRequest: BatchGetTransfersRequest$inboundSchema
|
|
72721
|
+
}).transform((v2) => {
|
|
72722
|
+
return remap(v2, {
|
|
72723
|
+
BatchGetTransfersRequest: "batchGetTransfersRequest"
|
|
72724
|
+
});
|
|
72725
|
+
});
|
|
72726
|
+
BatchGetTransfersRequest$outboundSchema2 = objectType({
|
|
72727
|
+
accountID: stringType(),
|
|
72728
|
+
batchGetTransfersRequest: BatchGetTransfersRequest$outboundSchema
|
|
72729
|
+
}).transform((v2) => {
|
|
72730
|
+
return remap(v2, {
|
|
72731
|
+
batchGetTransfersRequest: "BatchGetTransfersRequest"
|
|
72732
|
+
});
|
|
72733
|
+
});
|
|
72734
|
+
BatchGetTransfersResponse$inboundSchema = objectType({
|
|
72735
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
72736
|
+
Result: recordType(Transfer$inboundSchema)
|
|
72737
|
+
}).transform((v2) => {
|
|
72738
|
+
return remap(v2, {
|
|
72739
|
+
Headers: "headers",
|
|
72740
|
+
Result: "result"
|
|
72741
|
+
});
|
|
72742
|
+
});
|
|
72743
|
+
BatchGetTransfersResponse$outboundSchema = objectType({
|
|
72744
|
+
headers: recordType(arrayType(stringType())),
|
|
72745
|
+
result: recordType(Transfer$outboundSchema)
|
|
72746
|
+
}).transform((v2) => {
|
|
72747
|
+
return remap(v2, {
|
|
72748
|
+
headers: "Headers",
|
|
72749
|
+
result: "Result"
|
|
72750
|
+
});
|
|
72751
|
+
});
|
|
72752
|
+
});
|
|
72753
|
+
|
|
72500
72754
|
// src/models/operations/cancelschedule.ts
|
|
72501
72755
|
var CancelScheduleRequest$inboundSchema, CancelScheduleRequest$outboundSchema, CancelScheduleResponse$inboundSchema, CancelScheduleResponse$outboundSchema;
|
|
72502
72756
|
var init_cancelschedule = __esm(() => {
|
|
@@ -75977,7 +76231,7 @@ var init_linkapplepaytoken2 = __esm(() => {
|
|
|
75977
76231
|
});
|
|
75978
76232
|
LinkApplePayTokenResponse$inboundSchema = objectType({
|
|
75979
76233
|
Headers: recordType(arrayType(stringType())).default({}),
|
|
75980
|
-
Result: LinkedApplePayPaymentMethod$inboundSchema
|
|
76234
|
+
Result: arrayType(LinkedApplePayPaymentMethod$inboundSchema)
|
|
75981
76235
|
}).transform((v2) => {
|
|
75982
76236
|
return remap(v2, {
|
|
75983
76237
|
Headers: "headers",
|
|
@@ -75986,7 +76240,7 @@ var init_linkapplepaytoken2 = __esm(() => {
|
|
|
75986
76240
|
});
|
|
75987
76241
|
LinkApplePayTokenResponse$outboundSchema = objectType({
|
|
75988
76242
|
headers: recordType(arrayType(stringType())),
|
|
75989
|
-
result: LinkedApplePayPaymentMethod$outboundSchema
|
|
76243
|
+
result: arrayType(LinkedApplePayPaymentMethod$outboundSchema)
|
|
75990
76244
|
}).transform((v2) => {
|
|
75991
76245
|
return remap(v2, {
|
|
75992
76246
|
headers: "Headers",
|
|
@@ -78569,17 +78823,21 @@ var init_updateissuedcard2 = __esm(() => {
|
|
|
78569
78823
|
});
|
|
78570
78824
|
});
|
|
78571
78825
|
UpdateIssuedCardResponse$inboundSchema = objectType({
|
|
78572
|
-
Headers: recordType(arrayType(stringType())).default({})
|
|
78826
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
78827
|
+
Result: IssuedCard$inboundSchema
|
|
78573
78828
|
}).transform((v2) => {
|
|
78574
78829
|
return remap(v2, {
|
|
78575
|
-
Headers: "headers"
|
|
78830
|
+
Headers: "headers",
|
|
78831
|
+
Result: "result"
|
|
78576
78832
|
});
|
|
78577
78833
|
});
|
|
78578
78834
|
UpdateIssuedCardResponse$outboundSchema = objectType({
|
|
78579
|
-
headers: recordType(arrayType(stringType()))
|
|
78835
|
+
headers: recordType(arrayType(stringType())),
|
|
78836
|
+
result: IssuedCard$outboundSchema
|
|
78580
78837
|
}).transform((v2) => {
|
|
78581
78838
|
return remap(v2, {
|
|
78582
|
-
headers: "Headers"
|
|
78839
|
+
headers: "Headers",
|
|
78840
|
+
result: "Result"
|
|
78583
78841
|
});
|
|
78584
78842
|
});
|
|
78585
78843
|
});
|
|
@@ -79238,6 +79496,7 @@ var init_upsertunderwriting2 = __esm(() => {
|
|
|
79238
79496
|
var init_operations = __esm(() => {
|
|
79239
79497
|
init_acceptdispute();
|
|
79240
79498
|
init_assignaccountcountries();
|
|
79499
|
+
init_batchgettransfers();
|
|
79241
79500
|
init_cancelschedule();
|
|
79242
79501
|
init_completebankaccountverification2();
|
|
79243
79502
|
init_completemicrodeposits2();
|
|
@@ -81788,12 +82047,12 @@ var init_applePayLinkToken2 = __esm(() => {
|
|
|
81788
82047
|
};
|
|
81789
82048
|
tool$applePayLinkToken = {
|
|
81790
82049
|
name: "apple-pay-link-token",
|
|
81791
|
-
description: `Connect an Apple Pay token to the specified account.
|
|
82050
|
+
description: `Connect an Apple Pay token to the specified account.
|
|
81792
82051
|
|
|
81793
|
-
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
82052
|
+
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
81794
82053
|
The \`token\` data is defined by Apple Pay and should be passed through from Apple Pay's response unmodified.
|
|
81795
82054
|
|
|
81796
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82055
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81797
82056
|
you'll need to specify the \`/accounts/{accountID}/cards.write\` scope.`,
|
|
81798
82057
|
args: args20,
|
|
81799
82058
|
tool: async (client, args21, ctx) => {
|
|
@@ -84912,8 +85171,9 @@ async function $do46(client, request, options) {
|
|
|
84912
85171
|
const responseFields = {
|
|
84913
85172
|
HttpMeta: { Response: response, Request: req }
|
|
84914
85173
|
};
|
|
84915
|
-
const [result] = await match(
|
|
84916
|
-
hdrs: true
|
|
85174
|
+
const [result] = await match(json(200, UpdateIssuedCardResponse$inboundSchema, {
|
|
85175
|
+
hdrs: true,
|
|
85176
|
+
key: "Result"
|
|
84917
85177
|
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, UpdateIssuedCardError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
84918
85178
|
if (!result.ok) {
|
|
84919
85179
|
return [result, { status: "complete", request: req, response }];
|
|
@@ -84956,7 +85216,8 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.write\` scope.`,
|
|
|
84956
85216
|
isError: true
|
|
84957
85217
|
};
|
|
84958
85218
|
}
|
|
84959
|
-
|
|
85219
|
+
const value = result.value.result;
|
|
85220
|
+
return formatResult(value, apiCall);
|
|
84960
85221
|
}
|
|
84961
85222
|
};
|
|
84962
85223
|
});
|
|
@@ -86758,6 +87019,12 @@ function getContentTypeFromFileName(fileName) {
|
|
|
86758
87019
|
};
|
|
86759
87020
|
return mimeTypes[ext] || null;
|
|
86760
87021
|
}
|
|
87022
|
+
function bytesToBlob(content, contentType2) {
|
|
87023
|
+
if (content instanceof Uint8Array) {
|
|
87024
|
+
return new Blob([new Uint8Array(content)], { type: contentType2 });
|
|
87025
|
+
}
|
|
87026
|
+
return new Blob([content], { type: contentType2 });
|
|
87027
|
+
}
|
|
86761
87028
|
|
|
86762
87029
|
// src/types/streams.ts
|
|
86763
87030
|
function isReadableStream(val) {
|
|
@@ -86780,23 +87047,18 @@ async function $do61(client, request, options) {
|
|
|
86780
87047
|
const payload = parsed.value;
|
|
86781
87048
|
const body = new FormData;
|
|
86782
87049
|
appendForm(body, "evidenceType", payload.CreateEvidenceFileMultiPart.evidenceType);
|
|
86783
|
-
if (
|
|
86784
|
-
|
|
87050
|
+
if (isBlobLike2(payload.CreateEvidenceFileMultiPart.file)) {
|
|
87051
|
+
const file = payload.CreateEvidenceFileMultiPart.file;
|
|
87052
|
+
const blob = await normalizeBlob(file);
|
|
87053
|
+
const name = "name" in file ? file.name : undefined;
|
|
87054
|
+
appendForm(body, "file", blob, name);
|
|
86785
87055
|
} else if (isReadableStream(payload.CreateEvidenceFileMultiPart.file.content)) {
|
|
86786
87056
|
const buffer = await readableStreamToArrayBuffer(payload.CreateEvidenceFileMultiPart.file.content);
|
|
86787
87057
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
86788
|
-
|
|
86789
|
-
appendForm(body, "file", blob, payload.CreateEvidenceFileMultiPart.file.fileName);
|
|
86790
|
-
} else if (payload.CreateEvidenceFileMultiPart.file.content instanceof Uint8Array) {
|
|
86791
|
-
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
86792
|
-
appendForm(body, "file", new Blob([
|
|
86793
|
-
new Uint8Array(payload.CreateEvidenceFileMultiPart.file.content).buffer
|
|
86794
|
-
], { type: contentType2 }), payload.CreateEvidenceFileMultiPart.file.fileName);
|
|
87058
|
+
appendForm(body, "file", bytesToBlob(buffer, contentType2), payload.CreateEvidenceFileMultiPart.file.fileName);
|
|
86795
87059
|
} else {
|
|
86796
87060
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
86797
|
-
appendForm(body, "file",
|
|
86798
|
-
type: contentType2
|
|
86799
|
-
}), payload.CreateEvidenceFileMultiPart.file.fileName);
|
|
87061
|
+
appendForm(body, "file", bytesToBlob(payload.CreateEvidenceFileMultiPart.file.content, contentType2), payload.CreateEvidenceFileMultiPart.file.fileName);
|
|
86800
87062
|
}
|
|
86801
87063
|
const pathParams = {
|
|
86802
87064
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
@@ -88885,23 +89147,18 @@ async function $do79(client, request, options) {
|
|
|
88885
89147
|
}
|
|
88886
89148
|
const payload = parsed.value;
|
|
88887
89149
|
const body = new FormData;
|
|
88888
|
-
if (
|
|
88889
|
-
|
|
89150
|
+
if (isBlobLike2(payload.FileUploadRequestMultiPart.file)) {
|
|
89151
|
+
const file = payload.FileUploadRequestMultiPart.file;
|
|
89152
|
+
const blob = await normalizeBlob(file);
|
|
89153
|
+
const name = "name" in file ? file.name : undefined;
|
|
89154
|
+
appendForm(body, "file", blob, name);
|
|
88890
89155
|
} else if (isReadableStream(payload.FileUploadRequestMultiPart.file.content)) {
|
|
88891
89156
|
const buffer = await readableStreamToArrayBuffer(payload.FileUploadRequestMultiPart.file.content);
|
|
88892
89157
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
88893
|
-
|
|
88894
|
-
appendForm(body, "file", blob, payload.FileUploadRequestMultiPart.file.fileName);
|
|
88895
|
-
} else if (payload.FileUploadRequestMultiPart.file.content instanceof Uint8Array) {
|
|
88896
|
-
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
88897
|
-
appendForm(body, "file", new Blob([
|
|
88898
|
-
new Uint8Array(payload.FileUploadRequestMultiPart.file.content).buffer
|
|
88899
|
-
], { type: contentType2 }), payload.FileUploadRequestMultiPart.file.fileName);
|
|
89158
|
+
appendForm(body, "file", bytesToBlob(buffer, contentType2), payload.FileUploadRequestMultiPart.file.fileName);
|
|
88900
89159
|
} else {
|
|
88901
89160
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
88902
|
-
appendForm(body, "file",
|
|
88903
|
-
type: contentType2
|
|
88904
|
-
}), payload.FileUploadRequestMultiPart.file.fileName);
|
|
89161
|
+
appendForm(body, "file", bytesToBlob(payload.FileUploadRequestMultiPart.file.content, contentType2), payload.FileUploadRequestMultiPart.file.fileName);
|
|
88905
89162
|
}
|
|
88906
89163
|
appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
|
|
88907
89164
|
if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
|
|
@@ -89503,23 +89760,18 @@ async function $do84(client, request, options) {
|
|
|
89503
89760
|
}
|
|
89504
89761
|
const payload = parsed.value;
|
|
89505
89762
|
const body = new FormData;
|
|
89506
|
-
if (
|
|
89507
|
-
|
|
89763
|
+
if (isBlobLike2(payload.ImageUploadRequestMultiPart.image)) {
|
|
89764
|
+
const file = payload.ImageUploadRequestMultiPart.image;
|
|
89765
|
+
const blob = await normalizeBlob(file);
|
|
89766
|
+
const name = "name" in file ? file.name : undefined;
|
|
89767
|
+
appendForm(body, "image", blob, name);
|
|
89508
89768
|
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
89509
89769
|
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
89510
89770
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
89511
|
-
|
|
89512
|
-
appendForm(body, "image", blob, payload.ImageUploadRequestMultiPart.image.fileName);
|
|
89513
|
-
} else if (payload.ImageUploadRequestMultiPart.image.content instanceof Uint8Array) {
|
|
89514
|
-
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
89515
|
-
appendForm(body, "image", new Blob([
|
|
89516
|
-
new Uint8Array(payload.ImageUploadRequestMultiPart.image.content).buffer
|
|
89517
|
-
], { type: contentType2 }), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
89771
|
+
appendForm(body, "image", bytesToBlob(buffer, contentType2), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
89518
89772
|
} else {
|
|
89519
89773
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
89520
|
-
appendForm(body, "image",
|
|
89521
|
-
type: contentType2
|
|
89522
|
-
}), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
89774
|
+
appendForm(body, "image", bytesToBlob(payload.ImageUploadRequestMultiPart.image.content, contentType2), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
89523
89775
|
}
|
|
89524
89776
|
if (payload.ImageUploadRequestMultiPart.metadata !== undefined) {
|
|
89525
89777
|
appendForm(body, "metadata", encodeJSON("metadata", payload.ImageUploadRequestMultiPart.metadata, {
|
|
@@ -89785,23 +90037,18 @@ async function $do86(client, request, options) {
|
|
|
89785
90037
|
}
|
|
89786
90038
|
const payload = parsed.value;
|
|
89787
90039
|
const body = new FormData;
|
|
89788
|
-
if (
|
|
89789
|
-
|
|
90040
|
+
if (isBlobLike2(payload.ImageUploadRequestMultiPart.image)) {
|
|
90041
|
+
const file = payload.ImageUploadRequestMultiPart.image;
|
|
90042
|
+
const blob = await normalizeBlob(file);
|
|
90043
|
+
const name = "name" in file ? file.name : undefined;
|
|
90044
|
+
appendForm(body, "image", blob, name);
|
|
89790
90045
|
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
89791
90046
|
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
89792
90047
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
89793
|
-
|
|
89794
|
-
appendForm(body, "image", blob, payload.ImageUploadRequestMultiPart.image.fileName);
|
|
89795
|
-
} else if (payload.ImageUploadRequestMultiPart.image.content instanceof Uint8Array) {
|
|
89796
|
-
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
89797
|
-
appendForm(body, "image", new Blob([
|
|
89798
|
-
new Uint8Array(payload.ImageUploadRequestMultiPart.image.content).buffer
|
|
89799
|
-
], { type: contentType2 }), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
90048
|
+
appendForm(body, "image", bytesToBlob(buffer, contentType2), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
89800
90049
|
} else {
|
|
89801
90050
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
89802
|
-
appendForm(body, "image",
|
|
89803
|
-
type: contentType2
|
|
89804
|
-
}), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
90051
|
+
appendForm(body, "image", bytesToBlob(payload.ImageUploadRequestMultiPart.image.content, contentType2), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
89805
90052
|
}
|
|
89806
90053
|
if (payload.ImageUploadRequestMultiPart.metadata !== undefined) {
|
|
89807
90054
|
appendForm(body, "metadata", encodeJSON("metadata", payload.ImageUploadRequestMultiPart.metadata, {
|
|
@@ -97894,11 +98141,128 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
97894
98141
|
};
|
|
97895
98142
|
});
|
|
97896
98143
|
|
|
97897
|
-
// src/funcs/
|
|
97898
|
-
function
|
|
98144
|
+
// src/funcs/transfersBatchGetTransfers.ts
|
|
98145
|
+
function transfersBatchGetTransfers(client, request, options) {
|
|
97899
98146
|
return new APIPromise($do155(client, request, options));
|
|
97900
98147
|
}
|
|
97901
98148
|
async function $do155(client, request, options) {
|
|
98149
|
+
const parsed = safeParse4(request, (value) => BatchGetTransfersRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
98150
|
+
if (!parsed.ok) {
|
|
98151
|
+
return [parsed, { status: "invalid" }];
|
|
98152
|
+
}
|
|
98153
|
+
const payload = parsed.value;
|
|
98154
|
+
const body = encodeJSON("body", payload.BatchGetTransfersRequest, {
|
|
98155
|
+
explode: true
|
|
98156
|
+
});
|
|
98157
|
+
const pathParams = {
|
|
98158
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
98159
|
+
explode: false,
|
|
98160
|
+
charEncoding: "percent"
|
|
98161
|
+
})
|
|
98162
|
+
};
|
|
98163
|
+
const path = pathToFunc("/accounts/{accountID}/transfers/.fetch")(pathParams);
|
|
98164
|
+
const headers = new Headers(compactMap({
|
|
98165
|
+
"Content-Type": "application/json",
|
|
98166
|
+
Accept: "application/json"
|
|
98167
|
+
}));
|
|
98168
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
98169
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
98170
|
+
const context = {
|
|
98171
|
+
options: client._options,
|
|
98172
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
98173
|
+
operationID: "batchGetTransfers",
|
|
98174
|
+
oAuth2Scopes: null,
|
|
98175
|
+
resolvedSecurity: requestSecurity,
|
|
98176
|
+
securitySource: client._options.security,
|
|
98177
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
98178
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
98179
|
+
};
|
|
98180
|
+
const requestRes = client._createRequest(context, {
|
|
98181
|
+
security: requestSecurity,
|
|
98182
|
+
method: "POST",
|
|
98183
|
+
baseURL: options?.serverURL,
|
|
98184
|
+
path,
|
|
98185
|
+
headers,
|
|
98186
|
+
body,
|
|
98187
|
+
userAgent: client._options.userAgent,
|
|
98188
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
98189
|
+
}, options);
|
|
98190
|
+
if (!requestRes.ok) {
|
|
98191
|
+
return [requestRes, { status: "invalid" }];
|
|
98192
|
+
}
|
|
98193
|
+
const req = requestRes.value;
|
|
98194
|
+
const doResult = await client._do(req, {
|
|
98195
|
+
context,
|
|
98196
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
98197
|
+
retryConfig: context.retryConfig,
|
|
98198
|
+
retryCodes: context.retryCodes
|
|
98199
|
+
});
|
|
98200
|
+
if (!doResult.ok) {
|
|
98201
|
+
return [doResult, { status: "request-error", request: req }];
|
|
98202
|
+
}
|
|
98203
|
+
const response = doResult.value;
|
|
98204
|
+
const responseFields = {
|
|
98205
|
+
HttpMeta: { Response: response, Request: req }
|
|
98206
|
+
};
|
|
98207
|
+
const [result] = await match(json(200, BatchGetTransfersResponse$inboundSchema, {
|
|
98208
|
+
hdrs: true,
|
|
98209
|
+
key: "Result"
|
|
98210
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
98211
|
+
if (!result.ok) {
|
|
98212
|
+
return [result, { status: "complete", request: req, response }];
|
|
98213
|
+
}
|
|
98214
|
+
return [result, { status: "complete", request: req, response }];
|
|
98215
|
+
}
|
|
98216
|
+
var init_transfersBatchGetTransfers = __esm(() => {
|
|
98217
|
+
init_encodings();
|
|
98218
|
+
init_matchers();
|
|
98219
|
+
init_primitives();
|
|
98220
|
+
init_schemas4();
|
|
98221
|
+
init_security();
|
|
98222
|
+
init_url();
|
|
98223
|
+
init_operations();
|
|
98224
|
+
init_async();
|
|
98225
|
+
});
|
|
98226
|
+
|
|
98227
|
+
// src/mcp-server/tools/transfersBatchGetTransfers.ts
|
|
98228
|
+
var args150, tool$transfersBatchGetTransfers;
|
|
98229
|
+
var init_transfersBatchGetTransfers2 = __esm(() => {
|
|
98230
|
+
init_transfersBatchGetTransfers();
|
|
98231
|
+
init_operations();
|
|
98232
|
+
init_tools();
|
|
98233
|
+
args150 = {
|
|
98234
|
+
request: BatchGetTransfersRequest$inboundSchema2
|
|
98235
|
+
};
|
|
98236
|
+
tool$transfersBatchGetTransfers = {
|
|
98237
|
+
name: "transfers-batch-get-transfers",
|
|
98238
|
+
description: `Retrieve transfer details for multiple transfers in one request. The response is a map from each
|
|
98239
|
+
requested transfer ID to its full transfer details when available; IDs that are not found or not
|
|
98240
|
+
accessible under this account are omitted from the map.
|
|
98241
|
+
|
|
98242
|
+
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
98243
|
+
|
|
98244
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98245
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98246
|
+
args: args150,
|
|
98247
|
+
tool: async (client, args151, ctx) => {
|
|
98248
|
+
const [result, apiCall] = await transfersBatchGetTransfers(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98249
|
+
if (!result.ok) {
|
|
98250
|
+
return {
|
|
98251
|
+
content: [{ type: "text", text: result.error.message }],
|
|
98252
|
+
isError: true
|
|
98253
|
+
};
|
|
98254
|
+
}
|
|
98255
|
+
const value = result.value.result;
|
|
98256
|
+
return formatResult(value, apiCall);
|
|
98257
|
+
}
|
|
98258
|
+
};
|
|
98259
|
+
});
|
|
98260
|
+
|
|
98261
|
+
// src/funcs/transfersCreate.ts
|
|
98262
|
+
function transfersCreate(client, request, options) {
|
|
98263
|
+
return new APIPromise($do156(client, request, options));
|
|
98264
|
+
}
|
|
98265
|
+
async function $do156(client, request, options) {
|
|
97902
98266
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97903
98267
|
if (!parsed.ok) {
|
|
97904
98268
|
return [parsed, { status: "invalid" }];
|
|
@@ -97990,12 +98354,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
97990
98354
|
});
|
|
97991
98355
|
|
|
97992
98356
|
// src/mcp-server/tools/transfersCreate.ts
|
|
97993
|
-
var
|
|
98357
|
+
var args151, tool$transfersCreate;
|
|
97994
98358
|
var init_transfersCreate2 = __esm(() => {
|
|
97995
98359
|
init_transfersCreate();
|
|
97996
98360
|
init_operations();
|
|
97997
98361
|
init_tools();
|
|
97998
|
-
|
|
98362
|
+
args151 = {
|
|
97999
98363
|
request: CreateTransferRequest$inboundSchema
|
|
98000
98364
|
};
|
|
98001
98365
|
tool$transfersCreate = {
|
|
@@ -98006,9 +98370,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
98006
98370
|
|
|
98007
98371
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98008
98372
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98009
|
-
args:
|
|
98010
|
-
tool: async (client,
|
|
98011
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
98373
|
+
args: args151,
|
|
98374
|
+
tool: async (client, args152, ctx) => {
|
|
98375
|
+
const [result, apiCall] = await transfersCreate(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98012
98376
|
if (!result.ok) {
|
|
98013
98377
|
return {
|
|
98014
98378
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98023,9 +98387,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98023
98387
|
|
|
98024
98388
|
// src/funcs/transfersCreateCancellation.ts
|
|
98025
98389
|
function transfersCreateCancellation(client, request, options) {
|
|
98026
|
-
return new APIPromise($
|
|
98390
|
+
return new APIPromise($do157(client, request, options));
|
|
98027
98391
|
}
|
|
98028
|
-
async function $
|
|
98392
|
+
async function $do157(client, request, options) {
|
|
98029
98393
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98030
98394
|
if (!parsed.ok) {
|
|
98031
98395
|
return [parsed, { status: "invalid" }];
|
|
@@ -98107,12 +98471,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
98107
98471
|
});
|
|
98108
98472
|
|
|
98109
98473
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
98110
|
-
var
|
|
98474
|
+
var args152, tool$transfersCreateCancellation;
|
|
98111
98475
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
98112
98476
|
init_transfersCreateCancellation();
|
|
98113
98477
|
init_operations();
|
|
98114
98478
|
init_tools();
|
|
98115
|
-
|
|
98479
|
+
args152 = {
|
|
98116
98480
|
request: CreateCancellationRequest$inboundSchema
|
|
98117
98481
|
};
|
|
98118
98482
|
tool$transfersCreateCancellation = {
|
|
@@ -98121,9 +98485,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
98121
98485
|
|
|
98122
98486
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98123
98487
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98124
|
-
args:
|
|
98125
|
-
tool: async (client,
|
|
98126
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
98488
|
+
args: args152,
|
|
98489
|
+
tool: async (client, args153, ctx) => {
|
|
98490
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98127
98491
|
if (!result.ok) {
|
|
98128
98492
|
return {
|
|
98129
98493
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98138,9 +98502,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
98138
98502
|
|
|
98139
98503
|
// src/funcs/transfersCreateReversal.ts
|
|
98140
98504
|
function transfersCreateReversal(client, request, options) {
|
|
98141
|
-
return new APIPromise($
|
|
98505
|
+
return new APIPromise($do158(client, request, options));
|
|
98142
98506
|
}
|
|
98143
|
-
async function $
|
|
98507
|
+
async function $do158(client, request, options) {
|
|
98144
98508
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98145
98509
|
if (!parsed.ok) {
|
|
98146
98510
|
return [parsed, { status: "invalid" }];
|
|
@@ -98238,12 +98602,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
98238
98602
|
});
|
|
98239
98603
|
|
|
98240
98604
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
98241
|
-
var
|
|
98605
|
+
var args153, tool$transfersCreateReversal;
|
|
98242
98606
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
98243
98607
|
init_transfersCreateReversal();
|
|
98244
98608
|
init_operations();
|
|
98245
98609
|
init_tools();
|
|
98246
|
-
|
|
98610
|
+
args153 = {
|
|
98247
98611
|
request: CreateReversalRequest$inboundSchema
|
|
98248
98612
|
};
|
|
98249
98613
|
tool$transfersCreateReversal = {
|
|
@@ -98254,9 +98618,9 @@ to learn more.
|
|
|
98254
98618
|
|
|
98255
98619
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98256
98620
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98257
|
-
args:
|
|
98258
|
-
tool: async (client,
|
|
98259
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
98621
|
+
args: args153,
|
|
98622
|
+
tool: async (client, args154, ctx) => {
|
|
98623
|
+
const [result, apiCall] = await transfersCreateReversal(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98260
98624
|
if (!result.ok) {
|
|
98261
98625
|
return {
|
|
98262
98626
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98271,9 +98635,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98271
98635
|
|
|
98272
98636
|
// src/funcs/transfersGenerateOptions.ts
|
|
98273
98637
|
function transfersGenerateOptions(client, request, options) {
|
|
98274
|
-
return new APIPromise($
|
|
98638
|
+
return new APIPromise($do159(client, request, options));
|
|
98275
98639
|
}
|
|
98276
|
-
async function $
|
|
98640
|
+
async function $do159(client, request, options) {
|
|
98277
98641
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98278
98642
|
if (!parsed.ok) {
|
|
98279
98643
|
return [parsed, { status: "invalid" }];
|
|
@@ -98356,12 +98720,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
98356
98720
|
});
|
|
98357
98721
|
|
|
98358
98722
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
98359
|
-
var
|
|
98723
|
+
var args154, tool$transfersGenerateOptions;
|
|
98360
98724
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
98361
98725
|
init_transfersGenerateOptions();
|
|
98362
98726
|
init_operations();
|
|
98363
98727
|
init_tools();
|
|
98364
|
-
|
|
98728
|
+
args154 = {
|
|
98365
98729
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
98366
98730
|
};
|
|
98367
98731
|
tool$transfersGenerateOptions = {
|
|
@@ -98375,9 +98739,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
98375
98739
|
|
|
98376
98740
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98377
98741
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98378
|
-
args:
|
|
98379
|
-
tool: async (client,
|
|
98380
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
98742
|
+
args: args154,
|
|
98743
|
+
tool: async (client, args155, ctx) => {
|
|
98744
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98381
98745
|
if (!result.ok) {
|
|
98382
98746
|
return {
|
|
98383
98747
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98392,9 +98756,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98392
98756
|
|
|
98393
98757
|
// src/funcs/transfersGet.ts
|
|
98394
98758
|
function transfersGet(client, request, options) {
|
|
98395
|
-
return new APIPromise($
|
|
98759
|
+
return new APIPromise($do160(client, request, options));
|
|
98396
98760
|
}
|
|
98397
|
-
async function $
|
|
98761
|
+
async function $do160(client, request, options) {
|
|
98398
98762
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98399
98763
|
if (!parsed.ok) {
|
|
98400
98764
|
return [parsed, { status: "invalid" }];
|
|
@@ -98475,12 +98839,12 @@ var init_transfersGet = __esm(() => {
|
|
|
98475
98839
|
});
|
|
98476
98840
|
|
|
98477
98841
|
// src/mcp-server/tools/transfersGet.ts
|
|
98478
|
-
var
|
|
98842
|
+
var args155, tool$transfersGet;
|
|
98479
98843
|
var init_transfersGet2 = __esm(() => {
|
|
98480
98844
|
init_transfersGet();
|
|
98481
98845
|
init_operations();
|
|
98482
98846
|
init_tools();
|
|
98483
|
-
|
|
98847
|
+
args155 = {
|
|
98484
98848
|
request: GetTransferRequest$inboundSchema
|
|
98485
98849
|
};
|
|
98486
98850
|
tool$transfersGet = {
|
|
@@ -98492,9 +98856,9 @@ to learn more.
|
|
|
98492
98856
|
|
|
98493
98857
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98494
98858
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98495
|
-
args:
|
|
98496
|
-
tool: async (client,
|
|
98497
|
-
const [result, apiCall] = await transfersGet(client,
|
|
98859
|
+
args: args155,
|
|
98860
|
+
tool: async (client, args156, ctx) => {
|
|
98861
|
+
const [result, apiCall] = await transfersGet(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98498
98862
|
if (!result.ok) {
|
|
98499
98863
|
return {
|
|
98500
98864
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98509,9 +98873,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98509
98873
|
|
|
98510
98874
|
// src/funcs/transfersGetCancellation.ts
|
|
98511
98875
|
function transfersGetCancellation(client, request, options) {
|
|
98512
|
-
return new APIPromise($
|
|
98876
|
+
return new APIPromise($do161(client, request, options));
|
|
98513
98877
|
}
|
|
98514
|
-
async function $
|
|
98878
|
+
async function $do161(client, request, options) {
|
|
98515
98879
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98516
98880
|
if (!parsed.ok) {
|
|
98517
98881
|
return [parsed, { status: "invalid" }];
|
|
@@ -98596,12 +98960,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
98596
98960
|
});
|
|
98597
98961
|
|
|
98598
98962
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
98599
|
-
var
|
|
98963
|
+
var args156, tool$transfersGetCancellation;
|
|
98600
98964
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
98601
98965
|
init_transfersGetCancellation();
|
|
98602
98966
|
init_operations();
|
|
98603
98967
|
init_tools();
|
|
98604
|
-
|
|
98968
|
+
args156 = {
|
|
98605
98969
|
request: GetCancellationRequest$inboundSchema
|
|
98606
98970
|
};
|
|
98607
98971
|
tool$transfersGetCancellation = {
|
|
@@ -98610,9 +98974,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
98610
98974
|
|
|
98611
98975
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98612
98976
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98613
|
-
args:
|
|
98614
|
-
tool: async (client,
|
|
98615
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
98977
|
+
args: args156,
|
|
98978
|
+
tool: async (client, args157, ctx) => {
|
|
98979
|
+
const [result, apiCall] = await transfersGetCancellation(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98616
98980
|
if (!result.ok) {
|
|
98617
98981
|
return {
|
|
98618
98982
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98627,9 +98991,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
98627
98991
|
|
|
98628
98992
|
// src/funcs/transfersGetRefund.ts
|
|
98629
98993
|
function transfersGetRefund(client, request, options) {
|
|
98630
|
-
return new APIPromise($
|
|
98994
|
+
return new APIPromise($do162(client, request, options));
|
|
98631
98995
|
}
|
|
98632
|
-
async function $
|
|
98996
|
+
async function $do162(client, request, options) {
|
|
98633
98997
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98634
98998
|
if (!parsed.ok) {
|
|
98635
98999
|
return [parsed, { status: "invalid" }];
|
|
@@ -98714,12 +99078,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
98714
99078
|
});
|
|
98715
99079
|
|
|
98716
99080
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
98717
|
-
var
|
|
99081
|
+
var args157, tool$transfersGetRefund;
|
|
98718
99082
|
var init_transfersGetRefund2 = __esm(() => {
|
|
98719
99083
|
init_transfersGetRefund();
|
|
98720
99084
|
init_operations();
|
|
98721
99085
|
init_tools();
|
|
98722
|
-
|
|
99086
|
+
args157 = {
|
|
98723
99087
|
request: GetRefundRequest$inboundSchema
|
|
98724
99088
|
};
|
|
98725
99089
|
tool$transfersGetRefund = {
|
|
@@ -98728,9 +99092,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
98728
99092
|
|
|
98729
99093
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98730
99094
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98731
|
-
args:
|
|
98732
|
-
tool: async (client,
|
|
98733
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
99095
|
+
args: args157,
|
|
99096
|
+
tool: async (client, args158, ctx) => {
|
|
99097
|
+
const [result, apiCall] = await transfersGetRefund(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98734
99098
|
if (!result.ok) {
|
|
98735
99099
|
return {
|
|
98736
99100
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98745,9 +99109,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98745
99109
|
|
|
98746
99110
|
// src/funcs/transfersInitiateRefund.ts
|
|
98747
99111
|
function transfersInitiateRefund(client, request, options) {
|
|
98748
|
-
return new APIPromise($
|
|
99112
|
+
return new APIPromise($do163(client, request, options));
|
|
98749
99113
|
}
|
|
98750
|
-
async function $
|
|
99114
|
+
async function $do163(client, request, options) {
|
|
98751
99115
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98752
99116
|
if (!parsed.ok) {
|
|
98753
99117
|
return [parsed, { status: "invalid" }];
|
|
@@ -98838,12 +99202,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
98838
99202
|
});
|
|
98839
99203
|
|
|
98840
99204
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
98841
|
-
var
|
|
99205
|
+
var args158, tool$transfersInitiateRefund;
|
|
98842
99206
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
98843
99207
|
init_transfersInitiateRefund();
|
|
98844
99208
|
init_operations();
|
|
98845
99209
|
init_tools();
|
|
98846
|
-
|
|
99210
|
+
args158 = {
|
|
98847
99211
|
request: InitiateRefundRequest$inboundSchema
|
|
98848
99212
|
};
|
|
98849
99213
|
tool$transfersInitiateRefund = {
|
|
@@ -98855,9 +99219,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
98855
99219
|
|
|
98856
99220
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98857
99221
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98858
|
-
args:
|
|
98859
|
-
tool: async (client,
|
|
98860
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
99222
|
+
args: args158,
|
|
99223
|
+
tool: async (client, args159, ctx) => {
|
|
99224
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98861
99225
|
if (!result.ok) {
|
|
98862
99226
|
return {
|
|
98863
99227
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98872,9 +99236,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98872
99236
|
|
|
98873
99237
|
// src/funcs/transfersList.ts
|
|
98874
99238
|
function transfersList(client, request, options) {
|
|
98875
|
-
return new APIPromise($
|
|
99239
|
+
return new APIPromise($do164(client, request, options));
|
|
98876
99240
|
}
|
|
98877
|
-
async function $
|
|
99241
|
+
async function $do164(client, request, options) {
|
|
98878
99242
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98879
99243
|
if (!parsed.ok) {
|
|
98880
99244
|
return [parsed, { status: "invalid" }];
|
|
@@ -98969,12 +99333,12 @@ var init_transfersList = __esm(() => {
|
|
|
98969
99333
|
});
|
|
98970
99334
|
|
|
98971
99335
|
// src/mcp-server/tools/transfersList.ts
|
|
98972
|
-
var
|
|
99336
|
+
var args159, tool$transfersList;
|
|
98973
99337
|
var init_transfersList2 = __esm(() => {
|
|
98974
99338
|
init_transfersList();
|
|
98975
99339
|
init_operations();
|
|
98976
99340
|
init_tools();
|
|
98977
|
-
|
|
99341
|
+
args159 = {
|
|
98978
99342
|
request: ListTransfersRequest$inboundSchema
|
|
98979
99343
|
};
|
|
98980
99344
|
tool$transfersList = {
|
|
@@ -98990,9 +99354,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
98990
99354
|
|
|
98991
99355
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98992
99356
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98993
|
-
args:
|
|
98994
|
-
tool: async (client,
|
|
98995
|
-
const [result, apiCall] = await transfersList(client,
|
|
99357
|
+
args: args159,
|
|
99358
|
+
tool: async (client, args160, ctx) => {
|
|
99359
|
+
const [result, apiCall] = await transfersList(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98996
99360
|
if (!result.ok) {
|
|
98997
99361
|
return {
|
|
98998
99362
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99007,9 +99371,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99007
99371
|
|
|
99008
99372
|
// src/funcs/transfersListRefunds.ts
|
|
99009
99373
|
function transfersListRefunds(client, request, options) {
|
|
99010
|
-
return new APIPromise($
|
|
99374
|
+
return new APIPromise($do165(client, request, options));
|
|
99011
99375
|
}
|
|
99012
|
-
async function $
|
|
99376
|
+
async function $do165(client, request, options) {
|
|
99013
99377
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99014
99378
|
if (!parsed.ok) {
|
|
99015
99379
|
return [parsed, { status: "invalid" }];
|
|
@@ -99090,12 +99454,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
99090
99454
|
});
|
|
99091
99455
|
|
|
99092
99456
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
99093
|
-
var
|
|
99457
|
+
var args160, tool$transfersListRefunds;
|
|
99094
99458
|
var init_transfersListRefunds2 = __esm(() => {
|
|
99095
99459
|
init_transfersListRefunds();
|
|
99096
99460
|
init_operations();
|
|
99097
99461
|
init_tools();
|
|
99098
|
-
|
|
99462
|
+
args160 = {
|
|
99099
99463
|
request: ListRefundsRequest$inboundSchema
|
|
99100
99464
|
};
|
|
99101
99465
|
tool$transfersListRefunds = {
|
|
@@ -99104,9 +99468,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
99104
99468
|
|
|
99105
99469
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99106
99470
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
99107
|
-
args:
|
|
99108
|
-
tool: async (client,
|
|
99109
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
99471
|
+
args: args160,
|
|
99472
|
+
tool: async (client, args161, ctx) => {
|
|
99473
|
+
const [result, apiCall] = await transfersListRefunds(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99110
99474
|
if (!result.ok) {
|
|
99111
99475
|
return {
|
|
99112
99476
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99121,9 +99485,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99121
99485
|
|
|
99122
99486
|
// src/funcs/transfersUpdate.ts
|
|
99123
99487
|
function transfersUpdate(client, request, options) {
|
|
99124
|
-
return new APIPromise($
|
|
99488
|
+
return new APIPromise($do166(client, request, options));
|
|
99125
99489
|
}
|
|
99126
|
-
async function $
|
|
99490
|
+
async function $do166(client, request, options) {
|
|
99127
99491
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99128
99492
|
if (!parsed.ok) {
|
|
99129
99493
|
return [parsed, { status: "invalid" }];
|
|
@@ -99208,12 +99572,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
99208
99572
|
});
|
|
99209
99573
|
|
|
99210
99574
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
99211
|
-
var
|
|
99575
|
+
var args161, tool$transfersUpdate;
|
|
99212
99576
|
var init_transfersUpdate2 = __esm(() => {
|
|
99213
99577
|
init_transfersUpdate();
|
|
99214
99578
|
init_operations();
|
|
99215
99579
|
init_tools();
|
|
99216
|
-
|
|
99580
|
+
args161 = {
|
|
99217
99581
|
request: UpdateTransferRequest$inboundSchema
|
|
99218
99582
|
};
|
|
99219
99583
|
tool$transfersUpdate = {
|
|
@@ -99224,9 +99588,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
99224
99588
|
|
|
99225
99589
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99226
99590
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
99227
|
-
args:
|
|
99228
|
-
tool: async (client,
|
|
99229
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
99591
|
+
args: args161,
|
|
99592
|
+
tool: async (client, args162, ctx) => {
|
|
99593
|
+
const [result, apiCall] = await transfersUpdate(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99230
99594
|
if (!result.ok) {
|
|
99231
99595
|
return {
|
|
99232
99596
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99241,9 +99605,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99241
99605
|
|
|
99242
99606
|
// src/funcs/underwritingGet.ts
|
|
99243
99607
|
function underwritingGet(client, request, options) {
|
|
99244
|
-
return new APIPromise($
|
|
99608
|
+
return new APIPromise($do167(client, request, options));
|
|
99245
99609
|
}
|
|
99246
|
-
async function $
|
|
99610
|
+
async function $do167(client, request, options) {
|
|
99247
99611
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99248
99612
|
if (!parsed.ok) {
|
|
99249
99613
|
return [parsed, { status: "invalid" }];
|
|
@@ -99320,12 +99684,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
99320
99684
|
});
|
|
99321
99685
|
|
|
99322
99686
|
// src/mcp-server/tools/underwritingGet.ts
|
|
99323
|
-
var
|
|
99687
|
+
var args162, tool$underwritingGet;
|
|
99324
99688
|
var init_underwritingGet2 = __esm(() => {
|
|
99325
99689
|
init_underwritingGet();
|
|
99326
99690
|
init_operations();
|
|
99327
99691
|
init_tools();
|
|
99328
|
-
|
|
99692
|
+
args162 = {
|
|
99329
99693
|
request: GetUnderwritingRequest$inboundSchema
|
|
99330
99694
|
};
|
|
99331
99695
|
tool$underwritingGet = {
|
|
@@ -99336,9 +99700,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99336
99700
|
|
|
99337
99701
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99338
99702
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
99339
|
-
args:
|
|
99340
|
-
tool: async (client,
|
|
99341
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
99703
|
+
args: args162,
|
|
99704
|
+
tool: async (client, args163, ctx) => {
|
|
99705
|
+
const [result, apiCall] = await underwritingGet(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99342
99706
|
if (!result.ok) {
|
|
99343
99707
|
return {
|
|
99344
99708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99353,9 +99717,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99353
99717
|
|
|
99354
99718
|
// src/funcs/underwritingSave.ts
|
|
99355
99719
|
function underwritingSave(client, request, options) {
|
|
99356
|
-
return new APIPromise($
|
|
99720
|
+
return new APIPromise($do168(client, request, options));
|
|
99357
99721
|
}
|
|
99358
|
-
async function $
|
|
99722
|
+
async function $do168(client, request, options) {
|
|
99359
99723
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99360
99724
|
if (!parsed.ok) {
|
|
99361
99725
|
return [parsed, { status: "invalid" }];
|
|
@@ -99450,12 +99814,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
99450
99814
|
});
|
|
99451
99815
|
|
|
99452
99816
|
// src/mcp-server/tools/underwritingSave.ts
|
|
99453
|
-
var
|
|
99817
|
+
var args163, tool$underwritingSave;
|
|
99454
99818
|
var init_underwritingSave2 = __esm(() => {
|
|
99455
99819
|
init_underwritingSave();
|
|
99456
99820
|
init_operations();
|
|
99457
99821
|
init_tools();
|
|
99458
|
-
|
|
99822
|
+
args163 = {
|
|
99459
99823
|
request: SaveUnderwritingRequest$inboundSchema
|
|
99460
99824
|
};
|
|
99461
99825
|
tool$underwritingSave = {
|
|
@@ -99466,9 +99830,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99466
99830
|
|
|
99467
99831
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99468
99832
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
99469
|
-
args:
|
|
99470
|
-
tool: async (client,
|
|
99471
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
99833
|
+
args: args163,
|
|
99834
|
+
tool: async (client, args164, ctx) => {
|
|
99835
|
+
const [result, apiCall] = await underwritingSave(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99472
99836
|
if (!result.ok) {
|
|
99473
99837
|
return {
|
|
99474
99838
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99483,9 +99847,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
99483
99847
|
|
|
99484
99848
|
// src/funcs/underwritingUpsert.ts
|
|
99485
99849
|
function underwritingUpsert(client, request, options) {
|
|
99486
|
-
return new APIPromise($
|
|
99850
|
+
return new APIPromise($do169(client, request, options));
|
|
99487
99851
|
}
|
|
99488
|
-
async function $
|
|
99852
|
+
async function $do169(client, request, options) {
|
|
99489
99853
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99490
99854
|
if (!parsed.ok) {
|
|
99491
99855
|
return [parsed, { status: "invalid" }];
|
|
@@ -99580,12 +99944,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
99580
99944
|
});
|
|
99581
99945
|
|
|
99582
99946
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
99583
|
-
var
|
|
99947
|
+
var args164, tool$underwritingUpsert;
|
|
99584
99948
|
var init_underwritingUpsert2 = __esm(() => {
|
|
99585
99949
|
init_underwritingUpsert();
|
|
99586
99950
|
init_operations();
|
|
99587
99951
|
init_tools();
|
|
99588
|
-
|
|
99952
|
+
args164 = {
|
|
99589
99953
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
99590
99954
|
};
|
|
99591
99955
|
tool$underwritingUpsert = {
|
|
@@ -99596,9 +99960,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99596
99960
|
|
|
99597
99961
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99598
99962
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
99599
|
-
args:
|
|
99600
|
-
tool: async (client,
|
|
99601
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
99963
|
+
args: args164,
|
|
99964
|
+
tool: async (client, args165, ctx) => {
|
|
99965
|
+
const [result, apiCall] = await underwritingUpsert(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99602
99966
|
if (!result.ok) {
|
|
99603
99967
|
return {
|
|
99604
99968
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99613,9 +99977,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
99613
99977
|
|
|
99614
99978
|
// src/funcs/walletsCreate.ts
|
|
99615
99979
|
function walletsCreate(client, request, options) {
|
|
99616
|
-
return new APIPromise($
|
|
99980
|
+
return new APIPromise($do170(client, request, options));
|
|
99617
99981
|
}
|
|
99618
|
-
async function $
|
|
99982
|
+
async function $do170(client, request, options) {
|
|
99619
99983
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99620
99984
|
if (!parsed.ok) {
|
|
99621
99985
|
return [parsed, { status: "invalid" }];
|
|
@@ -99708,12 +100072,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
99708
100072
|
});
|
|
99709
100073
|
|
|
99710
100074
|
// src/mcp-server/tools/walletsCreate.ts
|
|
99711
|
-
var
|
|
100075
|
+
var args165, tool$walletsCreate;
|
|
99712
100076
|
var init_walletsCreate2 = __esm(() => {
|
|
99713
100077
|
init_walletsCreate();
|
|
99714
100078
|
init_operations();
|
|
99715
100079
|
init_tools();
|
|
99716
|
-
|
|
100080
|
+
args165 = {
|
|
99717
100081
|
request: CreateWalletRequest$inboundSchema
|
|
99718
100082
|
};
|
|
99719
100083
|
tool$walletsCreate = {
|
|
@@ -99724,9 +100088,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99724
100088
|
|
|
99725
100089
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99726
100090
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
99727
|
-
args:
|
|
99728
|
-
tool: async (client,
|
|
99729
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
100091
|
+
args: args165,
|
|
100092
|
+
tool: async (client, args166, ctx) => {
|
|
100093
|
+
const [result, apiCall] = await walletsCreate(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99730
100094
|
if (!result.ok) {
|
|
99731
100095
|
return {
|
|
99732
100096
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99741,9 +100105,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
99741
100105
|
|
|
99742
100106
|
// src/funcs/walletsGet.ts
|
|
99743
100107
|
function walletsGet(client, request, options) {
|
|
99744
|
-
return new APIPromise($
|
|
100108
|
+
return new APIPromise($do171(client, request, options));
|
|
99745
100109
|
}
|
|
99746
|
-
async function $
|
|
100110
|
+
async function $do171(client, request, options) {
|
|
99747
100111
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99748
100112
|
if (!parsed.ok) {
|
|
99749
100113
|
return [parsed, { status: "invalid" }];
|
|
@@ -99824,12 +100188,12 @@ var init_walletsGet = __esm(() => {
|
|
|
99824
100188
|
});
|
|
99825
100189
|
|
|
99826
100190
|
// src/mcp-server/tools/walletsGet.ts
|
|
99827
|
-
var
|
|
100191
|
+
var args166, tool$walletsGet;
|
|
99828
100192
|
var init_walletsGet2 = __esm(() => {
|
|
99829
100193
|
init_walletsGet();
|
|
99830
100194
|
init_operations();
|
|
99831
100195
|
init_tools();
|
|
99832
|
-
|
|
100196
|
+
args166 = {
|
|
99833
100197
|
request: GetWalletRequest$inboundSchema
|
|
99834
100198
|
};
|
|
99835
100199
|
tool$walletsGet = {
|
|
@@ -99840,9 +100204,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99840
100204
|
|
|
99841
100205
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99842
100206
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99843
|
-
args:
|
|
99844
|
-
tool: async (client,
|
|
99845
|
-
const [result, apiCall] = await walletsGet(client,
|
|
100207
|
+
args: args166,
|
|
100208
|
+
tool: async (client, args167, ctx) => {
|
|
100209
|
+
const [result, apiCall] = await walletsGet(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99846
100210
|
if (!result.ok) {
|
|
99847
100211
|
return {
|
|
99848
100212
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99857,9 +100221,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99857
100221
|
|
|
99858
100222
|
// src/funcs/walletsList.ts
|
|
99859
100223
|
function walletsList(client, request, options) {
|
|
99860
|
-
return new APIPromise($
|
|
100224
|
+
return new APIPromise($do172(client, request, options));
|
|
99861
100225
|
}
|
|
99862
|
-
async function $
|
|
100226
|
+
async function $do172(client, request, options) {
|
|
99863
100227
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99864
100228
|
if (!parsed.ok) {
|
|
99865
100229
|
return [parsed, { status: "invalid" }];
|
|
@@ -99946,12 +100310,12 @@ var init_walletsList = __esm(() => {
|
|
|
99946
100310
|
});
|
|
99947
100311
|
|
|
99948
100312
|
// src/mcp-server/tools/walletsList.ts
|
|
99949
|
-
var
|
|
100313
|
+
var args167, tool$walletsList;
|
|
99950
100314
|
var init_walletsList2 = __esm(() => {
|
|
99951
100315
|
init_walletsList();
|
|
99952
100316
|
init_operations();
|
|
99953
100317
|
init_tools();
|
|
99954
|
-
|
|
100318
|
+
args167 = {
|
|
99955
100319
|
request: ListWalletsRequest$inboundSchema
|
|
99956
100320
|
};
|
|
99957
100321
|
tool$walletsList = {
|
|
@@ -99962,9 +100326,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99962
100326
|
|
|
99963
100327
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99964
100328
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99965
|
-
args:
|
|
99966
|
-
tool: async (client,
|
|
99967
|
-
const [result, apiCall] = await walletsList(client,
|
|
100329
|
+
args: args167,
|
|
100330
|
+
tool: async (client, args168, ctx) => {
|
|
100331
|
+
const [result, apiCall] = await walletsList(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99968
100332
|
if (!result.ok) {
|
|
99969
100333
|
return {
|
|
99970
100334
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99979,9 +100343,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99979
100343
|
|
|
99980
100344
|
// src/funcs/walletsUpdate.ts
|
|
99981
100345
|
function walletsUpdate(client, request, options) {
|
|
99982
|
-
return new APIPromise($
|
|
100346
|
+
return new APIPromise($do173(client, request, options));
|
|
99983
100347
|
}
|
|
99984
|
-
async function $
|
|
100348
|
+
async function $do173(client, request, options) {
|
|
99985
100349
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99986
100350
|
if (!parsed.ok) {
|
|
99987
100351
|
return [parsed, { status: "invalid" }];
|
|
@@ -100078,12 +100442,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
100078
100442
|
});
|
|
100079
100443
|
|
|
100080
100444
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
100081
|
-
var
|
|
100445
|
+
var args168, tool$walletsUpdate;
|
|
100082
100446
|
var init_walletsUpdate2 = __esm(() => {
|
|
100083
100447
|
init_walletsUpdate();
|
|
100084
100448
|
init_operations();
|
|
100085
100449
|
init_tools();
|
|
100086
|
-
|
|
100450
|
+
args168 = {
|
|
100087
100451
|
request: UpdateWalletRequest$inboundSchema
|
|
100088
100452
|
};
|
|
100089
100453
|
tool$walletsUpdate = {
|
|
@@ -100094,9 +100458,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
100094
100458
|
|
|
100095
100459
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100096
100460
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
100097
|
-
args:
|
|
100098
|
-
tool: async (client,
|
|
100099
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
100461
|
+
args: args168,
|
|
100462
|
+
tool: async (client, args169, ctx) => {
|
|
100463
|
+
const [result, apiCall] = await walletsUpdate(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100100
100464
|
if (!result.ok) {
|
|
100101
100465
|
return {
|
|
100102
100466
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100111,9 +100475,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100111
100475
|
|
|
100112
100476
|
// src/funcs/walletTransactionsGet.ts
|
|
100113
100477
|
function walletTransactionsGet(client, request, options) {
|
|
100114
|
-
return new APIPromise($
|
|
100478
|
+
return new APIPromise($do174(client, request, options));
|
|
100115
100479
|
}
|
|
100116
|
-
async function $
|
|
100480
|
+
async function $do174(client, request, options) {
|
|
100117
100481
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100118
100482
|
if (!parsed.ok) {
|
|
100119
100483
|
return [parsed, { status: "invalid" }];
|
|
@@ -100198,12 +100562,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
100198
100562
|
});
|
|
100199
100563
|
|
|
100200
100564
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
100201
|
-
var
|
|
100565
|
+
var args169, tool$walletTransactionsGet;
|
|
100202
100566
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
100203
100567
|
init_walletTransactionsGet();
|
|
100204
100568
|
init_operations();
|
|
100205
100569
|
init_tools();
|
|
100206
|
-
|
|
100570
|
+
args169 = {
|
|
100207
100571
|
request: GetWalletTransactionRequest$inboundSchema
|
|
100208
100572
|
};
|
|
100209
100573
|
tool$walletTransactionsGet = {
|
|
@@ -100214,9 +100578,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
100214
100578
|
|
|
100215
100579
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100216
100580
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100217
|
-
args:
|
|
100218
|
-
tool: async (client,
|
|
100219
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
100581
|
+
args: args169,
|
|
100582
|
+
tool: async (client, args170, ctx) => {
|
|
100583
|
+
const [result, apiCall] = await walletTransactionsGet(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100220
100584
|
if (!result.ok) {
|
|
100221
100585
|
return {
|
|
100222
100586
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100231,9 +100595,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100231
100595
|
|
|
100232
100596
|
// src/funcs/walletTransactionsList.ts
|
|
100233
100597
|
function walletTransactionsList(client, request, options) {
|
|
100234
|
-
return new APIPromise($
|
|
100598
|
+
return new APIPromise($do175(client, request, options));
|
|
100235
100599
|
}
|
|
100236
|
-
async function $
|
|
100600
|
+
async function $do175(client, request, options) {
|
|
100237
100601
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100238
100602
|
if (!parsed.ok) {
|
|
100239
100603
|
return [parsed, { status: "invalid" }];
|
|
@@ -100332,12 +100696,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
100332
100696
|
});
|
|
100333
100697
|
|
|
100334
100698
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
100335
|
-
var
|
|
100699
|
+
var args170, tool$walletTransactionsList;
|
|
100336
100700
|
var init_walletTransactionsList2 = __esm(() => {
|
|
100337
100701
|
init_walletTransactionsList();
|
|
100338
100702
|
init_operations();
|
|
100339
100703
|
init_tools();
|
|
100340
|
-
|
|
100704
|
+
args170 = {
|
|
100341
100705
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
100342
100706
|
};
|
|
100343
100707
|
tool$walletTransactionsList = {
|
|
@@ -100348,9 +100712,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
100348
100712
|
|
|
100349
100713
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100350
100714
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100351
|
-
args:
|
|
100352
|
-
tool: async (client,
|
|
100353
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
100715
|
+
args: args170,
|
|
100716
|
+
tool: async (client, args171, ctx) => {
|
|
100717
|
+
const [result, apiCall] = await walletTransactionsList(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100354
100718
|
if (!result.ok) {
|
|
100355
100719
|
return {
|
|
100356
100720
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100365,9 +100729,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100365
100729
|
|
|
100366
100730
|
// src/funcs/webhooksCreate.ts
|
|
100367
100731
|
function webhooksCreate(client, request, options) {
|
|
100368
|
-
return new APIPromise($
|
|
100732
|
+
return new APIPromise($do176(client, request, options));
|
|
100369
100733
|
}
|
|
100370
|
-
async function $
|
|
100734
|
+
async function $do176(client, request, options) {
|
|
100371
100735
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
100372
100736
|
if (!parsed.ok) {
|
|
100373
100737
|
return [parsed, { status: "invalid" }];
|
|
@@ -100455,20 +100819,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
100455
100819
|
});
|
|
100456
100820
|
|
|
100457
100821
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
100458
|
-
var
|
|
100822
|
+
var args171, tool$webhooksCreate;
|
|
100459
100823
|
var init_webhooksCreate2 = __esm(() => {
|
|
100460
100824
|
init_webhooksCreate();
|
|
100461
100825
|
init_components();
|
|
100462
100826
|
init_tools();
|
|
100463
|
-
|
|
100827
|
+
args171 = {
|
|
100464
100828
|
request: CreateWebhook$inboundSchema
|
|
100465
100829
|
};
|
|
100466
100830
|
tool$webhooksCreate = {
|
|
100467
100831
|
name: "webhooks-create",
|
|
100468
100832
|
description: `Create a new webhook for the account.`,
|
|
100469
|
-
args:
|
|
100470
|
-
tool: async (client,
|
|
100471
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
100833
|
+
args: args171,
|
|
100834
|
+
tool: async (client, args172, ctx) => {
|
|
100835
|
+
const [result, apiCall] = await webhooksCreate(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100472
100836
|
if (!result.ok) {
|
|
100473
100837
|
return {
|
|
100474
100838
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100483,9 +100847,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
100483
100847
|
|
|
100484
100848
|
// src/funcs/webhooksDisable.ts
|
|
100485
100849
|
function webhooksDisable(client, request, options) {
|
|
100486
|
-
return new APIPromise($
|
|
100850
|
+
return new APIPromise($do177(client, request, options));
|
|
100487
100851
|
}
|
|
100488
|
-
async function $
|
|
100852
|
+
async function $do177(client, request, options) {
|
|
100489
100853
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100490
100854
|
if (!parsed.ok) {
|
|
100491
100855
|
return [parsed, { status: "invalid" }];
|
|
@@ -100573,20 +100937,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
100573
100937
|
});
|
|
100574
100938
|
|
|
100575
100939
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
100576
|
-
var
|
|
100940
|
+
var args172, tool$webhooksDisable;
|
|
100577
100941
|
var init_webhooksDisable2 = __esm(() => {
|
|
100578
100942
|
init_webhooksDisable();
|
|
100579
100943
|
init_operations();
|
|
100580
100944
|
init_tools();
|
|
100581
|
-
|
|
100945
|
+
args172 = {
|
|
100582
100946
|
request: DisableWebhookRequest$inboundSchema
|
|
100583
100947
|
};
|
|
100584
100948
|
tool$webhooksDisable = {
|
|
100585
100949
|
name: "webhooks-disable",
|
|
100586
100950
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
100587
|
-
args:
|
|
100588
|
-
tool: async (client,
|
|
100589
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
100951
|
+
args: args172,
|
|
100952
|
+
tool: async (client, args173, ctx) => {
|
|
100953
|
+
const [result, apiCall] = await webhooksDisable(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100590
100954
|
if (!result.ok) {
|
|
100591
100955
|
return {
|
|
100592
100956
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100600,9 +100964,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
100600
100964
|
|
|
100601
100965
|
// src/funcs/webhooksGet.ts
|
|
100602
100966
|
function webhooksGet(client, request, options) {
|
|
100603
|
-
return new APIPromise($
|
|
100967
|
+
return new APIPromise($do178(client, request, options));
|
|
100604
100968
|
}
|
|
100605
|
-
async function $
|
|
100969
|
+
async function $do178(client, request, options) {
|
|
100606
100970
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100607
100971
|
if (!parsed.ok) {
|
|
100608
100972
|
return [parsed, { status: "invalid" }];
|
|
@@ -100679,20 +101043,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
100679
101043
|
});
|
|
100680
101044
|
|
|
100681
101045
|
// src/mcp-server/tools/webhooksGet.ts
|
|
100682
|
-
var
|
|
101046
|
+
var args173, tool$webhooksGet;
|
|
100683
101047
|
var init_webhooksGet2 = __esm(() => {
|
|
100684
101048
|
init_webhooksGet();
|
|
100685
101049
|
init_operations();
|
|
100686
101050
|
init_tools();
|
|
100687
|
-
|
|
101051
|
+
args173 = {
|
|
100688
101052
|
request: GetWebhookRequest$inboundSchema
|
|
100689
101053
|
};
|
|
100690
101054
|
tool$webhooksGet = {
|
|
100691
101055
|
name: "webhooks-get",
|
|
100692
101056
|
description: `Get details of a specific webhook.`,
|
|
100693
|
-
args:
|
|
100694
|
-
tool: async (client,
|
|
100695
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
101057
|
+
args: args173,
|
|
101058
|
+
tool: async (client, args174, ctx) => {
|
|
101059
|
+
const [result, apiCall] = await webhooksGet(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100696
101060
|
if (!result.ok) {
|
|
100697
101061
|
return {
|
|
100698
101062
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100707,9 +101071,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
100707
101071
|
|
|
100708
101072
|
// src/funcs/webhooksGetSecret.ts
|
|
100709
101073
|
function webhooksGetSecret(client, request, options) {
|
|
100710
|
-
return new APIPromise($
|
|
101074
|
+
return new APIPromise($do179(client, request, options));
|
|
100711
101075
|
}
|
|
100712
|
-
async function $
|
|
101076
|
+
async function $do179(client, request, options) {
|
|
100713
101077
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100714
101078
|
if (!parsed.ok) {
|
|
100715
101079
|
return [parsed, { status: "invalid" }];
|
|
@@ -100786,20 +101150,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
100786
101150
|
});
|
|
100787
101151
|
|
|
100788
101152
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
100789
|
-
var
|
|
101153
|
+
var args174, tool$webhooksGetSecret;
|
|
100790
101154
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
100791
101155
|
init_webhooksGetSecret();
|
|
100792
101156
|
init_operations();
|
|
100793
101157
|
init_tools();
|
|
100794
|
-
|
|
101158
|
+
args174 = {
|
|
100795
101159
|
request: GetWebhookSecretRequest$inboundSchema
|
|
100796
101160
|
};
|
|
100797
101161
|
tool$webhooksGetSecret = {
|
|
100798
101162
|
name: "webhooks-get-secret",
|
|
100799
101163
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
100800
|
-
args:
|
|
100801
|
-
tool: async (client,
|
|
100802
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
101164
|
+
args: args174,
|
|
101165
|
+
tool: async (client, args175, ctx) => {
|
|
101166
|
+
const [result, apiCall] = await webhooksGetSecret(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100803
101167
|
if (!result.ok) {
|
|
100804
101168
|
return {
|
|
100805
101169
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100814,9 +101178,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
100814
101178
|
|
|
100815
101179
|
// src/funcs/webhooksList.ts
|
|
100816
101180
|
function webhooksList(client, options) {
|
|
100817
|
-
return new APIPromise($
|
|
101181
|
+
return new APIPromise($do180(client, options));
|
|
100818
101182
|
}
|
|
100819
|
-
async function $
|
|
101183
|
+
async function $do180(client, options) {
|
|
100820
101184
|
const path = pathToFunc("/webhooks")();
|
|
100821
101185
|
const headers = new Headers(compactMap({
|
|
100822
101186
|
Accept: "application/json"
|
|
@@ -100901,9 +101265,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
100901
101265
|
|
|
100902
101266
|
// src/funcs/webhooksListEventTypes.ts
|
|
100903
101267
|
function webhooksListEventTypes(client, options) {
|
|
100904
|
-
return new APIPromise($
|
|
101268
|
+
return new APIPromise($do181(client, options));
|
|
100905
101269
|
}
|
|
100906
|
-
async function $
|
|
101270
|
+
async function $do181(client, options) {
|
|
100907
101271
|
const path = pathToFunc("/event-types")();
|
|
100908
101272
|
const headers = new Headers(compactMap({
|
|
100909
101273
|
Accept: "application/json"
|
|
@@ -100988,9 +101352,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
100988
101352
|
|
|
100989
101353
|
// src/funcs/webhooksPing.ts
|
|
100990
101354
|
function webhooksPing(client, request, options) {
|
|
100991
|
-
return new APIPromise($
|
|
101355
|
+
return new APIPromise($do182(client, request, options));
|
|
100992
101356
|
}
|
|
100993
|
-
async function $
|
|
101357
|
+
async function $do182(client, request, options) {
|
|
100994
101358
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100995
101359
|
if (!parsed.ok) {
|
|
100996
101360
|
return [parsed, { status: "invalid" }];
|
|
@@ -101067,20 +101431,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
101067
101431
|
});
|
|
101068
101432
|
|
|
101069
101433
|
// src/mcp-server/tools/webhooksPing.ts
|
|
101070
|
-
var
|
|
101434
|
+
var args175, tool$webhooksPing;
|
|
101071
101435
|
var init_webhooksPing2 = __esm(() => {
|
|
101072
101436
|
init_webhooksPing();
|
|
101073
101437
|
init_operations();
|
|
101074
101438
|
init_tools();
|
|
101075
|
-
|
|
101439
|
+
args175 = {
|
|
101076
101440
|
request: PingWebhookRequest$inboundSchema
|
|
101077
101441
|
};
|
|
101078
101442
|
tool$webhooksPing = {
|
|
101079
101443
|
name: "webhooks-ping",
|
|
101080
101444
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
101081
|
-
args:
|
|
101082
|
-
tool: async (client,
|
|
101083
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
101445
|
+
args: args175,
|
|
101446
|
+
tool: async (client, args176, ctx) => {
|
|
101447
|
+
const [result, apiCall] = await webhooksPing(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101084
101448
|
if (!result.ok) {
|
|
101085
101449
|
return {
|
|
101086
101450
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101095,9 +101459,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
101095
101459
|
|
|
101096
101460
|
// src/funcs/webhooksUpdate.ts
|
|
101097
101461
|
function webhooksUpdate(client, request, options) {
|
|
101098
|
-
return new APIPromise($
|
|
101462
|
+
return new APIPromise($do183(client, request, options));
|
|
101099
101463
|
}
|
|
101100
|
-
async function $
|
|
101464
|
+
async function $do183(client, request, options) {
|
|
101101
101465
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101102
101466
|
if (!parsed.ok) {
|
|
101103
101467
|
return [parsed, { status: "invalid" }];
|
|
@@ -101190,20 +101554,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
101190
101554
|
});
|
|
101191
101555
|
|
|
101192
101556
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
101193
|
-
var
|
|
101557
|
+
var args176, tool$webhooksUpdate;
|
|
101194
101558
|
var init_webhooksUpdate2 = __esm(() => {
|
|
101195
101559
|
init_webhooksUpdate();
|
|
101196
101560
|
init_operations();
|
|
101197
101561
|
init_tools();
|
|
101198
|
-
|
|
101562
|
+
args176 = {
|
|
101199
101563
|
request: UpdateWebhookRequest$inboundSchema
|
|
101200
101564
|
};
|
|
101201
101565
|
tool$webhooksUpdate = {
|
|
101202
101566
|
name: "webhooks-update",
|
|
101203
101567
|
description: `Update an existing webhook.`,
|
|
101204
|
-
args:
|
|
101205
|
-
tool: async (client,
|
|
101206
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
101568
|
+
args: args176,
|
|
101569
|
+
tool: async (client, args177, ctx) => {
|
|
101570
|
+
const [result, apiCall] = await webhooksUpdate(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101207
101571
|
if (!result.ok) {
|
|
101208
101572
|
return {
|
|
101209
101573
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101220,7 +101584,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
101220
101584
|
function createMCPServer(deps) {
|
|
101221
101585
|
const server = new McpServer({
|
|
101222
101586
|
name: "Moov",
|
|
101223
|
-
version: "26.4.0-dev.
|
|
101587
|
+
version: "26.4.0-dev.17"
|
|
101224
101588
|
});
|
|
101225
101589
|
const client = new MoovCore({
|
|
101226
101590
|
security: deps.security,
|
|
@@ -101359,6 +101723,7 @@ function createMCPServer(deps) {
|
|
|
101359
101723
|
tool(tool$transfersGenerateOptions);
|
|
101360
101724
|
tool(tool$transfersCreate);
|
|
101361
101725
|
tool(tool$transfersList);
|
|
101726
|
+
tool(tool$transfersBatchGetTransfers);
|
|
101362
101727
|
tool(tool$transfersGet);
|
|
101363
101728
|
tool(tool$transfersUpdate);
|
|
101364
101729
|
tool(tool$transfersCreateCancellation);
|
|
@@ -101577,6 +101942,7 @@ var init_server2 = __esm(() => {
|
|
|
101577
101942
|
init_terminalApplicationsDelete2();
|
|
101578
101943
|
init_terminalApplicationsGet2();
|
|
101579
101944
|
init_terminalApplicationsList2();
|
|
101945
|
+
init_transfersBatchGetTransfers2();
|
|
101580
101946
|
init_transfersCreate2();
|
|
101581
101947
|
init_transfersCreateCancellation2();
|
|
101582
101948
|
init_transfersCreateReversal2();
|
|
@@ -102797,7 +103163,7 @@ var routes = rn({
|
|
|
102797
103163
|
var app = Ve(routes, {
|
|
102798
103164
|
name: "mcp",
|
|
102799
103165
|
versionInfo: {
|
|
102800
|
-
currentVersion: "26.4.0-dev.
|
|
103166
|
+
currentVersion: "26.4.0-dev.17"
|
|
102801
103167
|
}
|
|
102802
103168
|
});
|
|
102803
103169
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -102805,5 +103171,5 @@ export {
|
|
|
102805
103171
|
app
|
|
102806
103172
|
};
|
|
102807
103173
|
|
|
102808
|
-
//# debugId=
|
|
103174
|
+
//# debugId=E1C22779F58B8B4464756E2164756E21
|
|
102809
103175
|
//# sourceMappingURL=mcp-server.js.map
|