@moovio/sdk 0.18.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -54
- package/bin/mcp-server.js +1456 -1306
- package/bin/mcp-server.js.map +330 -331
- package/docs/sdks/images/README.md +105 -11
- package/examples/package-lock.json +1 -1
- package/funcs/accountTerminalApplicationsGet.js +1 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.js +1 -1
- package/funcs/accountTerminalApplicationsLink.js +1 -1
- package/funcs/accountTerminalApplicationsList.js +1 -1
- package/funcs/accountsAssignCountries.js +1 -1
- package/funcs/accountsCreate.js +1 -1
- package/funcs/accountsDisconnect.js +1 -1
- package/funcs/accountsGet.js +1 -1
- package/funcs/accountsGetCountries.js +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.js +1 -1
- package/funcs/accountsGetTermsOfServiceToken.js +1 -1
- package/funcs/accountsGetTermsOfServiceToken.js.map +1 -1
- package/funcs/accountsList.js +1 -1
- package/funcs/accountsUpdate.js +1 -1
- package/funcs/adjustmentsGet.js +1 -1
- package/funcs/adjustmentsList.js +1 -1
- package/funcs/applePayCreateSession.js +1 -1
- package/funcs/applePayGetMerchantDomains.js +1 -1
- package/funcs/applePayLinkToken.js +1 -1
- package/funcs/applePayRegisterMerchantDomains.js +1 -1
- package/funcs/applePayUpdateMerchantDomains.js +1 -1
- package/funcs/authenticationCreateAccessToken.js +1 -1
- package/funcs/authenticationRevokeAccessToken.js +1 -1
- package/funcs/avatarsGet.js +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.js +1 -1
- package/funcs/bankAccountsCompleteVerification.js +1 -1
- package/funcs/bankAccountsDisable.js +1 -1
- package/funcs/bankAccountsGet.js +1 -1
- package/funcs/bankAccountsGetVerification.js +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.js +1 -1
- package/funcs/bankAccountsInitiateVerification.js +1 -1
- package/funcs/bankAccountsLink.js +1 -1
- package/funcs/bankAccountsList.js +1 -1
- package/funcs/brandingCreate.js +1 -1
- package/funcs/brandingGet.js +1 -1
- package/funcs/brandingUpdate.js +1 -1
- package/funcs/brandingUpsert.js +1 -1
- package/funcs/capabilitiesDisable.js +1 -1
- package/funcs/capabilitiesGet.js +1 -1
- package/funcs/capabilitiesList.js +1 -1
- package/funcs/capabilitiesRequest.js +1 -1
- package/funcs/cardIssuingGet.js +1 -1
- package/funcs/cardIssuingGetFull.js +1 -1
- package/funcs/cardIssuingList.js +1 -1
- package/funcs/cardIssuingRequest.js +1 -1
- package/funcs/cardIssuingUpdate.js +1 -1
- package/funcs/cardsDisable.js +1 -1
- package/funcs/cardsGet.js +1 -1
- package/funcs/cardsLink.js +1 -1
- package/funcs/cardsList.js +1 -1
- package/funcs/cardsUpdate.js +1 -1
- package/funcs/disputesAccept.js +1 -1
- package/funcs/disputesDeleteEvidence.js +1 -1
- package/funcs/disputesGet.js +1 -1
- package/funcs/disputesGetEvidence.js +1 -1
- package/funcs/disputesGetEvidenceData.js +1 -1
- package/funcs/disputesList.js +1 -1
- package/funcs/disputesListEvidence.js +1 -1
- package/funcs/disputesSubmitEvidence.js +1 -1
- package/funcs/disputesUpdateEvidence.js +1 -1
- package/funcs/disputesUploadEvidenceFile.js +1 -1
- package/funcs/disputesUploadEvidenceText.js +1 -1
- package/funcs/endToEndEncryptionGenerateKey.js +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.js +1 -1
- package/funcs/enrichedAddressGet.js +1 -1
- package/funcs/enrichedProfileGet.js +1 -1
- package/funcs/feePlansCreateFeePlanAgreements.js +1 -1
- package/funcs/feePlansListFeePlanAgreements.js +1 -1
- package/funcs/feePlansListFeePlans.js +1 -1
- package/funcs/feePlansListFeesFetch.js +1 -1
- package/funcs/feePlansListPartnerPricing.js +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.js +1 -1
- package/funcs/feePlansRetrieveFees.js +1 -1
- package/funcs/filesGet.js +1 -1
- package/funcs/filesList.js +1 -1
- package/funcs/filesUpload.js +1 -1
- package/funcs/imagesDelete.js +1 -1
- package/funcs/imagesGetMetadata.js +1 -1
- package/funcs/imagesList.js +1 -1
- package/funcs/imagesUpdate.d.ts +4 -4
- package/funcs/imagesUpdate.js +20 -22
- package/funcs/imagesUpdate.js.map +1 -1
- package/funcs/imagesUpdateMetadata.d.ts +15 -0
- package/funcs/imagesUpdateMetadata.d.ts.map +1 -0
- package/funcs/imagesUpdateMetadata.js +144 -0
- package/funcs/imagesUpdateMetadata.js.map +1 -0
- package/funcs/imagesUpload.js +1 -1
- package/funcs/industriesList.js +1 -1
- package/funcs/institutionsSearch.js +1 -1
- package/funcs/institutionsSearchInstitutions.js +1 -1
- package/funcs/issuingTransactionsGet.js +1 -1
- package/funcs/issuingTransactionsGetAuthorization.js +1 -1
- package/funcs/issuingTransactionsList.js +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.js +1 -1
- package/funcs/issuingTransactionsListAuthorizations.js +1 -1
- package/funcs/onboardingCreateInvite.js +1 -1
- package/funcs/onboardingGetInvite.js +1 -1
- package/funcs/onboardingListInvites.js +1 -1
- package/funcs/onboardingRevokeInvite.js +1 -1
- package/funcs/paymentLinksCreate.js +1 -1
- package/funcs/paymentLinksDisable.js +1 -1
- package/funcs/paymentLinksGet.js +1 -1
- package/funcs/paymentLinksGetQRCode.js +1 -1
- package/funcs/paymentLinksList.js +1 -1
- package/funcs/paymentLinksUpdate.js +1 -1
- package/funcs/paymentMethodsGet.js +1 -1
- package/funcs/paymentMethodsList.js +1 -1
- package/funcs/pingPing.js +1 -1
- package/funcs/productsCreate.js +1 -1
- package/funcs/productsDisable.js +1 -1
- package/funcs/productsGet.js +1 -1
- package/funcs/productsList.js +1 -1
- package/funcs/productsUpdate.js +1 -1
- package/funcs/receiptsCreate.js +1 -1
- package/funcs/receiptsList.js +1 -1
- package/funcs/representativesCreate.js +1 -1
- package/funcs/representativesDelete.js +1 -1
- package/funcs/representativesGet.js +1 -1
- package/funcs/representativesList.js +1 -1
- package/funcs/representativesUpdate.js +1 -1
- package/funcs/schedulingCancel.js +1 -1
- package/funcs/schedulingCreate.js +1 -1
- package/funcs/schedulingGet.js +1 -1
- package/funcs/schedulingGetOccurrance.js +1 -1
- package/funcs/schedulingList.js +1 -1
- package/funcs/schedulingUpdate.js +1 -1
- package/funcs/statementsGet.js +1 -1
- package/funcs/statementsList.js +1 -1
- package/funcs/supportCreateTicket.js +1 -1
- package/funcs/supportGetTicket.js +1 -1
- package/funcs/supportListTicketMessages.js +1 -1
- package/funcs/supportListTickets.js +1 -1
- package/funcs/supportUpdateTicket.js +1 -1
- package/funcs/sweepsCreateConfig.js +1 -1
- package/funcs/sweepsGet.js +1 -1
- package/funcs/sweepsGetConfig.js +1 -1
- package/funcs/sweepsList.js +1 -1
- package/funcs/sweepsListConfigs.js +1 -1
- package/funcs/sweepsUpdateConfig.js +1 -1
- package/funcs/terminalApplicationsCreate.js +1 -1
- package/funcs/terminalApplicationsCreateVersion.js +1 -1
- package/funcs/terminalApplicationsDelete.js +1 -1
- package/funcs/terminalApplicationsGet.js +1 -1
- package/funcs/terminalApplicationsList.js +1 -1
- package/funcs/transfersCreate.js +1 -1
- package/funcs/transfersCreate.js.map +1 -1
- package/funcs/transfersCreateCancellation.js +1 -1
- package/funcs/transfersCreateReversal.js +1 -1
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersGenerateOptions.js +1 -1
- package/funcs/transfersGet.js +1 -1
- package/funcs/transfersGetCancellation.js +1 -1
- package/funcs/transfersGetRefund.js +1 -1
- package/funcs/transfersInitiateRefund.js +1 -1
- package/funcs/transfersInitiateRefund.js.map +1 -1
- package/funcs/transfersList.js +1 -1
- package/funcs/transfersListRefunds.js +1 -1
- package/funcs/transfersUpdate.js +1 -1
- package/funcs/underwritingGet.js +1 -1
- package/funcs/underwritingSave.js +1 -1
- package/funcs/underwritingUpsert.js +1 -1
- package/funcs/walletTransactionsGet.js +1 -1
- package/funcs/walletTransactionsList.js +1 -1
- package/funcs/walletsCreate.js +1 -1
- package/funcs/walletsGet.js +1 -1
- package/funcs/walletsList.js +1 -1
- package/funcs/walletsUpdate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- 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/imagesUpdate.js +4 -4
- package/mcp-server/tools/imagesUpdate.js.map +1 -1
- package/mcp-server/tools/imagesUpdateMetadata.d.ts +8 -0
- package/mcp-server/tools/imagesUpdateMetadata.d.ts.map +1 -0
- package/mcp-server/tools/imagesUpdateMetadata.js +62 -0
- package/mcp-server/tools/imagesUpdateMetadata.js.map +1 -0
- package/models/components/generatedby.d.ts +14 -7
- package/models/components/generatedby.d.ts.map +1 -1
- package/models/components/generatedby.js +14 -19
- package/models/components/generatedby.js.map +1 -1
- package/models/components/imageupdaterequestmultipart.d.ts +2 -2
- package/models/components/imageupdaterequestmultipart.d.ts.map +1 -1
- package/models/components/imageupdaterequestmultipart.js +2 -3
- package/models/components/imageupdaterequestmultipart.js.map +1 -1
- package/models/components/index.d.ts +0 -5
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -5
- package/models/components/index.js.map +1 -1
- package/models/errors/imagemetadatavalidationerror.d.ts +36 -0
- package/models/errors/imagemetadatavalidationerror.d.ts.map +1 -0
- package/models/errors/imagemetadatavalidationerror.js +86 -0
- package/models/errors/imagemetadatavalidationerror.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/acceptdispute.d.ts +1 -1
- package/models/operations/acceptdispute.js +3 -3
- package/models/operations/assignaccountcountries.d.ts +1 -1
- package/models/operations/assignaccountcountries.js +3 -3
- package/models/operations/cancelschedule.d.ts +1 -1
- package/models/operations/cancelschedule.js +3 -3
- package/models/operations/completebankaccountverification.d.ts +1 -1
- package/models/operations/completebankaccountverification.js +3 -3
- package/models/operations/completemicrodeposits.d.ts +1 -1
- package/models/operations/completemicrodeposits.js +3 -3
- package/models/operations/createaccesstoken.d.ts +1 -1
- package/models/operations/createaccesstoken.js +3 -3
- package/models/operations/createaccount.d.ts +1 -1
- package/models/operations/createaccount.js +3 -3
- package/models/operations/createapplepaysession.d.ts +1 -1
- package/models/operations/createapplepaysession.js +3 -3
- package/models/operations/createbrand.d.ts +1 -1
- package/models/operations/createbrand.js +3 -3
- package/models/operations/createcancellation.d.ts +1 -1
- package/models/operations/createcancellation.js +3 -3
- package/models/operations/createfeeplanagreements.d.ts +1 -1
- package/models/operations/createfeeplanagreements.js +3 -3
- package/models/operations/createonboardinginvite.d.ts +1 -1
- package/models/operations/createonboardinginvite.js +3 -3
- package/models/operations/createpaymentlink.d.ts +1 -1
- package/models/operations/createpaymentlink.js +3 -3
- package/models/operations/createproduct.d.ts +1 -1
- package/models/operations/createproduct.js +3 -3
- package/models/operations/createreceipts.d.ts +1 -1
- package/models/operations/createreceipts.js +3 -3
- package/models/operations/createrepresentative.d.ts +1 -1
- package/models/operations/createrepresentative.js +3 -3
- package/models/operations/createreversal.d.ts +1 -1
- package/models/operations/createreversal.js +3 -3
- package/models/operations/createschedule.d.ts +1 -1
- package/models/operations/createschedule.js +3 -3
- package/models/operations/createsweepconfig.d.ts +1 -1
- package/models/operations/createsweepconfig.js +3 -3
- package/models/operations/createterminalapplication.d.ts +1 -1
- package/models/operations/createterminalapplication.js +3 -3
- package/models/operations/createterminalapplicationversion.d.ts +1 -1
- package/models/operations/createterminalapplicationversion.js +3 -3
- package/models/operations/createticket.d.ts +1 -1
- package/models/operations/createticket.js +3 -3
- package/models/operations/createtransfer.d.ts +1 -1
- package/models/operations/createtransfer.js +3 -3
- package/models/operations/createtransferoptions.d.ts +1 -1
- package/models/operations/createtransferoptions.js +3 -3
- package/models/operations/createwallet.d.ts +1 -1
- package/models/operations/createwallet.js +3 -3
- package/models/operations/deletedisputeevidencefile.d.ts +1 -1
- package/models/operations/deletedisputeevidencefile.js +3 -3
- package/models/operations/deleteimage.d.ts +1 -1
- package/models/operations/deleteimage.js +3 -3
- package/models/operations/deleterepresentative.d.ts +1 -1
- package/models/operations/deleterepresentative.js +3 -3
- package/models/operations/deleteterminalapplication.d.ts +1 -1
- package/models/operations/deleteterminalapplication.js +3 -3
- package/models/operations/disablebankaccount.d.ts +1 -1
- package/models/operations/disablebankaccount.js +3 -3
- package/models/operations/disablecapability.d.ts +1 -1
- package/models/operations/disablecapability.js +3 -3
- package/models/operations/disablecard.d.ts +1 -1
- package/models/operations/disablecard.js +3 -3
- package/models/operations/disablepaymentlink.d.ts +1 -1
- package/models/operations/disablepaymentlink.js +3 -3
- package/models/operations/disableproduct.d.ts +1 -1
- package/models/operations/disableproduct.js +3 -3
- package/models/operations/disconnectaccount.d.ts +1 -1
- package/models/operations/disconnectaccount.js +3 -3
- package/models/operations/generateendtoendkey.d.ts +1 -1
- package/models/operations/generateendtoendkey.js +3 -3
- package/models/operations/getaccount.d.ts +1 -1
- package/models/operations/getaccount.js +3 -3
- package/models/operations/getaccountcountries.d.ts +1 -1
- package/models/operations/getaccountcountries.js +3 -3
- package/models/operations/getaccountterminalapplication.d.ts +1 -1
- package/models/operations/getaccountterminalapplication.js +3 -3
- package/models/operations/getadjustment.d.ts +1 -1
- package/models/operations/getadjustment.js +3 -3
- package/models/operations/getapplepaymerchantdomains.d.ts +1 -1
- package/models/operations/getapplepaymerchantdomains.js +3 -3
- package/models/operations/getavatar.d.ts +1 -1
- package/models/operations/getavatar.js +3 -3
- package/models/operations/getbankaccount.d.ts +1 -1
- package/models/operations/getbankaccount.js +3 -3
- package/models/operations/getbankaccountverification.d.ts +1 -1
- package/models/operations/getbankaccountverification.js +3 -3
- package/models/operations/getbrand.d.ts +1 -1
- package/models/operations/getbrand.js +3 -3
- package/models/operations/getcancellation.d.ts +1 -1
- package/models/operations/getcancellation.js +3 -3
- package/models/operations/getcapability.d.ts +1 -1
- package/models/operations/getcapability.js +3 -3
- package/models/operations/getcard.d.ts +1 -1
- package/models/operations/getcard.js +3 -3
- package/models/operations/getdispute.d.ts +1 -1
- package/models/operations/getdispute.js +3 -3
- package/models/operations/getdisputeevidence.d.ts +1 -1
- package/models/operations/getdisputeevidence.js +3 -3
- package/models/operations/getdisputeevidencedata.d.ts +1 -1
- package/models/operations/getdisputeevidencedata.js +3 -3
- package/models/operations/getenrichmentaddress.d.ts +1 -1
- package/models/operations/getenrichmentaddress.js +3 -3
- package/models/operations/getenrichmentprofile.d.ts +1 -1
- package/models/operations/getenrichmentprofile.js +3 -3
- package/models/operations/getfiledetails.d.ts +1 -1
- package/models/operations/getfiledetails.js +3 -3
- package/models/operations/getfullissuedcard.d.ts +1 -1
- package/models/operations/getfullissuedcard.js +3 -3
- package/models/operations/getimagemetadata.d.ts +1 -1
- package/models/operations/getimagemetadata.js +3 -3
- package/models/operations/getissuedcard.d.ts +1 -1
- package/models/operations/getissuedcard.js +3 -3
- package/models/operations/getissuedcardauthorization.d.ts +1 -1
- package/models/operations/getissuedcardauthorization.js +3 -3
- package/models/operations/getissuedcardtransaction.d.ts +1 -1
- package/models/operations/getissuedcardtransaction.js +3 -3
- package/models/operations/getmerchantprocessingagreement.d.ts +1 -1
- package/models/operations/getmerchantprocessingagreement.js +3 -3
- package/models/operations/getonboardinginvite.d.ts +1 -1
- package/models/operations/getonboardinginvite.js +3 -3
- package/models/operations/getpaymentlink.d.ts +1 -1
- package/models/operations/getpaymentlink.js +3 -3
- package/models/operations/getpaymentlinkqrcode.d.ts +1 -1
- package/models/operations/getpaymentlinkqrcode.js +3 -3
- package/models/operations/getpaymentmethod.d.ts +1 -1
- package/models/operations/getpaymentmethod.js +3 -3
- package/models/operations/getproduct.d.ts +1 -1
- package/models/operations/getproduct.js +3 -3
- package/models/operations/getrefund.d.ts +1 -1
- package/models/operations/getrefund.js +3 -3
- package/models/operations/getrepresentative.d.ts +1 -1
- package/models/operations/getrepresentative.js +3 -3
- package/models/operations/getscheduledoccurrence.d.ts +1 -1
- package/models/operations/getscheduledoccurrence.js +3 -3
- package/models/operations/getschedules.d.ts +1 -1
- package/models/operations/getschedules.js +3 -3
- package/models/operations/getstatement.d.ts +1 -1
- package/models/operations/getstatement.js +3 -3
- package/models/operations/getsweep.d.ts +1 -1
- package/models/operations/getsweep.js +3 -3
- package/models/operations/getsweepconfig.d.ts +1 -1
- package/models/operations/getsweepconfig.js +3 -3
- package/models/operations/getterminalapplication.d.ts +1 -1
- package/models/operations/getterminalapplication.js +3 -3
- package/models/operations/getterminalconfiguration.d.ts +1 -1
- package/models/operations/getterminalconfiguration.js +3 -3
- package/models/operations/gettermsofservicetoken.d.ts +1 -1
- package/models/operations/gettermsofservicetoken.js +3 -3
- package/models/operations/getticket.d.ts +1 -1
- package/models/operations/getticket.js +3 -3
- package/models/operations/gettransfer.d.ts +1 -1
- package/models/operations/gettransfer.js +3 -3
- package/models/operations/getunderwriting.d.ts +1 -1
- package/models/operations/getunderwriting.js +3 -3
- package/models/operations/getwallet.d.ts +1 -1
- package/models/operations/getwallet.js +3 -3
- package/models/operations/getwallettransaction.d.ts +1 -1
- package/models/operations/getwallettransaction.js +3 -3
- 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/initiatebankaccountverification.d.ts +1 -1
- package/models/operations/initiatebankaccountverification.js +3 -3
- package/models/operations/initiatemicrodeposits.d.ts +1 -1
- package/models/operations/initiatemicrodeposits.js +3 -3
- package/models/operations/initiaterefund.d.ts +1 -1
- package/models/operations/initiaterefund.js +3 -3
- package/models/operations/linkaccountterminalapplication.d.ts +1 -1
- package/models/operations/linkaccountterminalapplication.js +3 -3
- package/models/operations/linkapplepaytoken.d.ts +1 -1
- package/models/operations/linkapplepaytoken.js +3 -3
- package/models/operations/linkbankaccount.d.ts +1 -1
- package/models/operations/linkbankaccount.js +3 -3
- package/models/operations/linkcard.d.ts +1 -1
- package/models/operations/linkcard.js +3 -3
- package/models/operations/listaccounts.d.ts +1 -1
- package/models/operations/listaccounts.js +3 -3
- package/models/operations/listaccountterminalapplications.d.ts +1 -1
- package/models/operations/listaccountterminalapplications.js +3 -3
- package/models/operations/listadjustments.d.ts +1 -1
- package/models/operations/listadjustments.js +3 -3
- package/models/operations/listbankaccounts.d.ts +1 -1
- package/models/operations/listbankaccounts.js +3 -3
- package/models/operations/listcapabilities.d.ts +1 -1
- package/models/operations/listcapabilities.js +3 -3
- package/models/operations/listcards.d.ts +1 -1
- package/models/operations/listcards.js +3 -3
- package/models/operations/listdisputeevidence.d.ts +1 -1
- package/models/operations/listdisputeevidence.js +3 -3
- package/models/operations/listdisputes.d.ts +1 -1
- package/models/operations/listdisputes.js +3 -3
- package/models/operations/listfeeplanagreements.d.ts +1 -1
- package/models/operations/listfeeplanagreements.js +3 -3
- package/models/operations/listfeeplans.d.ts +1 -1
- package/models/operations/listfeeplans.js +3 -3
- package/models/operations/listfeesfetch.d.ts +1 -1
- package/models/operations/listfeesfetch.js +3 -3
- package/models/operations/listfiles.d.ts +1 -1
- package/models/operations/listfiles.js +3 -3
- package/models/operations/listimagemetadata.d.ts +1 -1
- package/models/operations/listimagemetadata.js +3 -3
- package/models/operations/listindustries.d.ts +1 -1
- package/models/operations/listindustries.js +3 -3
- package/models/operations/listinstitutions.d.ts +1 -1
- package/models/operations/listinstitutions.js +3 -3
- package/models/operations/listissuedcardauthorizationevents.d.ts +1 -1
- package/models/operations/listissuedcardauthorizationevents.js +3 -3
- package/models/operations/listissuedcardauthorizations.d.ts +1 -1
- package/models/operations/listissuedcardauthorizations.js +3 -3
- package/models/operations/listissuedcards.d.ts +1 -1
- package/models/operations/listissuedcards.js +3 -3
- package/models/operations/listissuedcardtransactions.d.ts +1 -1
- package/models/operations/listissuedcardtransactions.js +3 -3
- package/models/operations/listonboardinginvites.d.ts +1 -1
- package/models/operations/listonboardinginvites.js +3 -3
- package/models/operations/listpartnerpricing.d.ts +1 -1
- package/models/operations/listpartnerpricing.js +3 -3
- package/models/operations/listpartnerpricingagreements.d.ts +1 -1
- package/models/operations/listpartnerpricingagreements.js +3 -3
- package/models/operations/listpaymentlinks.d.ts +1 -1
- package/models/operations/listpaymentlinks.js +3 -3
- package/models/operations/listpaymentmethods.d.ts +1 -1
- package/models/operations/listpaymentmethods.js +3 -3
- package/models/operations/listproducts.d.ts +1 -1
- package/models/operations/listproducts.js +3 -3
- package/models/operations/listreceipts.d.ts +1 -1
- package/models/operations/listreceipts.js +3 -3
- package/models/operations/listrefunds.d.ts +1 -1
- package/models/operations/listrefunds.js +3 -3
- package/models/operations/listrepresentatives.d.ts +1 -1
- package/models/operations/listrepresentatives.js +3 -3
- package/models/operations/listschedules.d.ts +1 -1
- package/models/operations/listschedules.js +3 -3
- package/models/operations/liststatements.d.ts +1 -1
- package/models/operations/liststatements.js +3 -3
- package/models/operations/listsweepconfigs.d.ts +1 -1
- package/models/operations/listsweepconfigs.js +3 -3
- package/models/operations/listsweeps.d.ts +1 -1
- package/models/operations/listsweeps.js +3 -3
- package/models/operations/listterminalapplications.d.ts +1 -1
- package/models/operations/listterminalapplications.js +3 -3
- package/models/operations/listticketmessages.d.ts +1 -1
- package/models/operations/listticketmessages.js +3 -3
- package/models/operations/listtickets.d.ts +1 -1
- package/models/operations/listtickets.js +3 -3
- package/models/operations/listtransfers.d.ts +1 -1
- package/models/operations/listtransfers.js +3 -3
- package/models/operations/listwallets.d.ts +1 -1
- package/models/operations/listwallets.js +3 -3
- package/models/operations/listwallettransactions.d.ts +1 -1
- package/models/operations/listwallettransactions.js +3 -3
- package/models/operations/ping.d.ts +1 -1
- package/models/operations/ping.js +3 -3
- package/models/operations/registerapplepaymerchantdomains.d.ts +1 -1
- package/models/operations/registerapplepaymerchantdomains.js +3 -3
- package/models/operations/requestcapabilities.d.ts +1 -1
- package/models/operations/requestcapabilities.js +3 -3
- package/models/operations/requestcard.d.ts +1 -1
- package/models/operations/requestcard.js +3 -3
- package/models/operations/retrievefees.d.ts +1 -1
- package/models/operations/retrievefees.js +3 -3
- package/models/operations/revokeaccesstoken.d.ts +1 -1
- package/models/operations/revokeaccesstoken.js +3 -3
- package/models/operations/revokeonboardinginvite.d.ts +1 -1
- package/models/operations/revokeonboardinginvite.js +3 -3
- package/models/operations/saveunderwriting.d.ts +1 -1
- package/models/operations/saveunderwriting.js +3 -3
- package/models/operations/searchinstitutions.d.ts +1 -1
- package/models/operations/searchinstitutions.js +3 -3
- package/models/operations/submitdisputeevidence.d.ts +1 -1
- package/models/operations/submitdisputeevidence.js +3 -3
- package/models/operations/testendtoendtoken.d.ts +1 -1
- package/models/operations/testendtoendtoken.js +3 -3
- package/models/operations/updateaccount.d.ts +1 -1
- package/models/operations/updateaccount.js +3 -3
- package/models/operations/updateapplepaymerchantdomains.d.ts +1 -1
- package/models/operations/updateapplepaymerchantdomains.js +3 -3
- package/models/operations/updatebrand.d.ts +1 -1
- package/models/operations/updatebrand.js +3 -3
- package/models/operations/updatecard.d.ts +1 -1
- package/models/operations/updatecard.js +3 -3
- package/models/operations/updatedisputeevidence.d.ts +1 -1
- package/models/operations/updatedisputeevidence.js +3 -3
- package/models/operations/updateimage.d.ts +1 -1
- package/models/operations/updateimage.js +3 -3
- package/models/operations/updateimagemetadata.d.ts +103 -0
- package/models/operations/updateimagemetadata.d.ts.map +1 -0
- package/models/operations/updateimagemetadata.js +157 -0
- package/models/operations/updateimagemetadata.js.map +1 -0
- package/models/operations/updateissuedcard.d.ts +1 -1
- package/models/operations/updateissuedcard.js +3 -3
- package/models/operations/updatepaymentlink.d.ts +1 -1
- package/models/operations/updatepaymentlink.js +3 -3
- package/models/operations/updateproduct.d.ts +1 -1
- package/models/operations/updateproduct.js +3 -3
- package/models/operations/updaterepresentative.d.ts +1 -1
- package/models/operations/updaterepresentative.js +3 -3
- package/models/operations/updateschedule.d.ts +1 -1
- package/models/operations/updateschedule.js +3 -3
- package/models/operations/updatesweepconfig.d.ts +1 -1
- package/models/operations/updatesweepconfig.js +3 -3
- package/models/operations/updateticket.d.ts +1 -1
- package/models/operations/updateticket.js +3 -3
- package/models/operations/updatetransfer.d.ts +1 -1
- package/models/operations/updatetransfer.js +3 -3
- package/models/operations/updatewallet.d.ts +1 -1
- package/models/operations/updatewallet.js +3 -3
- package/models/operations/uploaddisputeevidencefile.d.ts +1 -1
- package/models/operations/uploaddisputeevidencefile.js +3 -3
- package/models/operations/uploaddisputeevidencetext.d.ts +1 -1
- package/models/operations/uploaddisputeevidencetext.js +3 -3
- package/models/operations/uploadfile.d.ts +1 -1
- package/models/operations/uploadfile.js +3 -3
- package/models/operations/uploadimage.d.ts +1 -1
- package/models/operations/uploadimage.js +3 -3
- package/models/operations/upsertbrand.d.ts +1 -1
- package/models/operations/upsertbrand.js +3 -3
- package/models/operations/upsertunderwriting.d.ts +1 -1
- package/models/operations/upsertunderwriting.js +3 -3
- package/package.json +1 -1
- package/sdk/images.d.ts +8 -4
- package/sdk/images.d.ts.map +1 -1
- package/sdk/images.js +11 -4
- package/sdk/images.js.map +1 -1
- package/src/funcs/accountTerminalApplicationsGet.ts +2 -2
- package/src/funcs/accountTerminalApplicationsGetConfiguration.ts +2 -2
- package/src/funcs/accountTerminalApplicationsLink.ts +2 -2
- package/src/funcs/accountTerminalApplicationsList.ts +2 -2
- package/src/funcs/accountsAssignCountries.ts +2 -2
- package/src/funcs/accountsCreate.ts +2 -2
- package/src/funcs/accountsDisconnect.ts +2 -2
- package/src/funcs/accountsGet.ts +2 -2
- package/src/funcs/accountsGetCountries.ts +2 -2
- package/src/funcs/accountsGetMerchantProcessingAgreement.ts +2 -2
- package/src/funcs/accountsGetTermsOfServiceToken.ts +5 -5
- package/src/funcs/accountsList.ts +2 -2
- package/src/funcs/accountsUpdate.ts +2 -2
- package/src/funcs/adjustmentsGet.ts +2 -2
- package/src/funcs/adjustmentsList.ts +2 -2
- package/src/funcs/applePayCreateSession.ts +2 -2
- package/src/funcs/applePayGetMerchantDomains.ts +2 -2
- package/src/funcs/applePayLinkToken.ts +2 -2
- package/src/funcs/applePayRegisterMerchantDomains.ts +2 -2
- package/src/funcs/applePayUpdateMerchantDomains.ts +2 -2
- package/src/funcs/authenticationCreateAccessToken.ts +2 -2
- package/src/funcs/authenticationRevokeAccessToken.ts +2 -2
- package/src/funcs/avatarsGet.ts +2 -2
- package/src/funcs/bankAccountsCompleteMicroDeposits.ts +2 -2
- package/src/funcs/bankAccountsCompleteVerification.ts +2 -2
- package/src/funcs/bankAccountsDisable.ts +2 -2
- package/src/funcs/bankAccountsGet.ts +2 -2
- package/src/funcs/bankAccountsGetVerification.ts +2 -2
- package/src/funcs/bankAccountsInitiateMicroDeposits.ts +2 -2
- package/src/funcs/bankAccountsInitiateVerification.ts +2 -2
- package/src/funcs/bankAccountsLink.ts +2 -2
- package/src/funcs/bankAccountsList.ts +2 -2
- package/src/funcs/brandingCreate.ts +2 -2
- package/src/funcs/brandingGet.ts +2 -2
- package/src/funcs/brandingUpdate.ts +2 -2
- package/src/funcs/brandingUpsert.ts +2 -2
- package/src/funcs/capabilitiesDisable.ts +2 -2
- package/src/funcs/capabilitiesGet.ts +2 -2
- package/src/funcs/capabilitiesList.ts +2 -2
- package/src/funcs/capabilitiesRequest.ts +2 -2
- package/src/funcs/cardIssuingGet.ts +2 -2
- package/src/funcs/cardIssuingGetFull.ts +2 -2
- package/src/funcs/cardIssuingList.ts +2 -2
- package/src/funcs/cardIssuingRequest.ts +2 -2
- package/src/funcs/cardIssuingUpdate.ts +2 -2
- package/src/funcs/cardsDisable.ts +2 -2
- package/src/funcs/cardsGet.ts +2 -2
- package/src/funcs/cardsLink.ts +2 -2
- package/src/funcs/cardsList.ts +2 -2
- package/src/funcs/cardsUpdate.ts +2 -2
- package/src/funcs/disputesAccept.ts +2 -2
- package/src/funcs/disputesDeleteEvidence.ts +2 -2
- package/src/funcs/disputesGet.ts +2 -2
- package/src/funcs/disputesGetEvidence.ts +2 -2
- package/src/funcs/disputesGetEvidenceData.ts +2 -2
- package/src/funcs/disputesList.ts +2 -2
- package/src/funcs/disputesListEvidence.ts +2 -2
- package/src/funcs/disputesSubmitEvidence.ts +2 -2
- package/src/funcs/disputesUpdateEvidence.ts +2 -2
- package/src/funcs/disputesUploadEvidenceFile.ts +2 -2
- package/src/funcs/disputesUploadEvidenceText.ts +2 -2
- package/src/funcs/endToEndEncryptionGenerateKey.ts +2 -2
- package/src/funcs/endToEndEncryptionTestEncryptedToken.ts +2 -2
- package/src/funcs/enrichedAddressGet.ts +2 -2
- package/src/funcs/enrichedProfileGet.ts +2 -2
- package/src/funcs/feePlansCreateFeePlanAgreements.ts +2 -2
- package/src/funcs/feePlansListFeePlanAgreements.ts +2 -2
- package/src/funcs/feePlansListFeePlans.ts +2 -2
- package/src/funcs/feePlansListFeesFetch.ts +2 -2
- package/src/funcs/feePlansListPartnerPricing.ts +2 -2
- package/src/funcs/feePlansListPartnerPricingAgreements.ts +2 -2
- package/src/funcs/feePlansRetrieveFees.ts +2 -2
- package/src/funcs/filesGet.ts +2 -2
- package/src/funcs/filesList.ts +2 -2
- package/src/funcs/filesUpload.ts +2 -2
- package/src/funcs/imagesDelete.ts +2 -2
- package/src/funcs/imagesGetMetadata.ts +2 -2
- package/src/funcs/imagesList.ts +2 -2
- package/src/funcs/imagesUpdate.ts +37 -39
- package/src/funcs/imagesUpdateMetadata.ts +209 -0
- package/src/funcs/imagesUpload.ts +2 -2
- package/src/funcs/industriesList.ts +2 -2
- package/src/funcs/institutionsSearch.ts +2 -2
- package/src/funcs/institutionsSearchInstitutions.ts +2 -2
- package/src/funcs/issuingTransactionsGet.ts +2 -2
- package/src/funcs/issuingTransactionsGetAuthorization.ts +2 -2
- package/src/funcs/issuingTransactionsList.ts +2 -2
- package/src/funcs/issuingTransactionsListAuthorizationEvents.ts +2 -2
- package/src/funcs/issuingTransactionsListAuthorizations.ts +2 -2
- package/src/funcs/onboardingCreateInvite.ts +2 -2
- package/src/funcs/onboardingGetInvite.ts +2 -2
- package/src/funcs/onboardingListInvites.ts +2 -2
- package/src/funcs/onboardingRevokeInvite.ts +2 -2
- package/src/funcs/paymentLinksCreate.ts +2 -2
- package/src/funcs/paymentLinksDisable.ts +2 -2
- package/src/funcs/paymentLinksGet.ts +2 -2
- package/src/funcs/paymentLinksGetQRCode.ts +2 -2
- package/src/funcs/paymentLinksList.ts +2 -2
- package/src/funcs/paymentLinksUpdate.ts +2 -2
- package/src/funcs/paymentMethodsGet.ts +2 -2
- package/src/funcs/paymentMethodsList.ts +2 -2
- package/src/funcs/pingPing.ts +2 -2
- package/src/funcs/productsCreate.ts +2 -2
- package/src/funcs/productsDisable.ts +2 -2
- package/src/funcs/productsGet.ts +2 -2
- package/src/funcs/productsList.ts +2 -2
- package/src/funcs/productsUpdate.ts +2 -2
- package/src/funcs/receiptsCreate.ts +2 -2
- package/src/funcs/receiptsList.ts +2 -2
- package/src/funcs/representativesCreate.ts +2 -2
- package/src/funcs/representativesDelete.ts +2 -2
- package/src/funcs/representativesGet.ts +2 -2
- package/src/funcs/representativesList.ts +2 -2
- package/src/funcs/representativesUpdate.ts +2 -2
- package/src/funcs/schedulingCancel.ts +2 -2
- package/src/funcs/schedulingCreate.ts +2 -2
- package/src/funcs/schedulingGet.ts +2 -2
- package/src/funcs/schedulingGetOccurrance.ts +2 -2
- package/src/funcs/schedulingList.ts +2 -2
- package/src/funcs/schedulingUpdate.ts +2 -2
- package/src/funcs/statementsGet.ts +2 -2
- package/src/funcs/statementsList.ts +2 -2
- package/src/funcs/supportCreateTicket.ts +2 -2
- package/src/funcs/supportGetTicket.ts +2 -2
- package/src/funcs/supportListTicketMessages.ts +2 -2
- package/src/funcs/supportListTickets.ts +2 -2
- package/src/funcs/supportUpdateTicket.ts +2 -2
- package/src/funcs/sweepsCreateConfig.ts +2 -2
- package/src/funcs/sweepsGet.ts +2 -2
- package/src/funcs/sweepsGetConfig.ts +2 -2
- package/src/funcs/sweepsList.ts +2 -2
- package/src/funcs/sweepsListConfigs.ts +2 -2
- package/src/funcs/sweepsUpdateConfig.ts +2 -2
- package/src/funcs/terminalApplicationsCreate.ts +2 -2
- package/src/funcs/terminalApplicationsCreateVersion.ts +2 -2
- package/src/funcs/terminalApplicationsDelete.ts +2 -2
- package/src/funcs/terminalApplicationsGet.ts +2 -2
- package/src/funcs/terminalApplicationsList.ts +2 -2
- package/src/funcs/transfersCreate.ts +5 -5
- package/src/funcs/transfersCreateCancellation.ts +2 -2
- package/src/funcs/transfersCreateReversal.ts +5 -5
- package/src/funcs/transfersGenerateOptions.ts +2 -2
- package/src/funcs/transfersGet.ts +2 -2
- package/src/funcs/transfersGetCancellation.ts +2 -2
- package/src/funcs/transfersGetRefund.ts +2 -2
- package/src/funcs/transfersInitiateRefund.ts +5 -5
- package/src/funcs/transfersList.ts +2 -2
- package/src/funcs/transfersListRefunds.ts +2 -2
- package/src/funcs/transfersUpdate.ts +2 -2
- package/src/funcs/underwritingGet.ts +2 -2
- package/src/funcs/underwritingSave.ts +2 -2
- package/src/funcs/underwritingUpsert.ts +2 -2
- package/src/funcs/walletTransactionsGet.ts +2 -2
- package/src/funcs/walletTransactionsList.ts +2 -2
- package/src/funcs/walletsCreate.ts +2 -2
- package/src/funcs/walletsGet.ts +2 -2
- package/src/funcs/walletsList.ts +2 -2
- package/src/funcs/walletsUpdate.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/imagesUpdate.ts +4 -4
- package/src/mcp-server/tools/imagesUpdateMetadata.ts +35 -0
- package/src/models/components/generatedby.ts +28 -56
- package/src/models/components/imageupdaterequestmultipart.ts +4 -5
- package/src/models/components/index.ts +0 -5
- package/src/models/errors/imagemetadatavalidationerror.ts +79 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/acceptdispute.ts +4 -4
- package/src/models/operations/assignaccountcountries.ts +4 -4
- package/src/models/operations/cancelschedule.ts +4 -4
- package/src/models/operations/completebankaccountverification.ts +4 -4
- package/src/models/operations/completemicrodeposits.ts +4 -4
- package/src/models/operations/createaccesstoken.ts +4 -4
- package/src/models/operations/createaccount.ts +4 -4
- package/src/models/operations/createapplepaysession.ts +4 -4
- package/src/models/operations/createbrand.ts +4 -4
- package/src/models/operations/createcancellation.ts +4 -4
- package/src/models/operations/createfeeplanagreements.ts +4 -4
- package/src/models/operations/createonboardinginvite.ts +4 -4
- package/src/models/operations/createpaymentlink.ts +4 -4
- package/src/models/operations/createproduct.ts +4 -4
- package/src/models/operations/createreceipts.ts +4 -4
- package/src/models/operations/createrepresentative.ts +4 -4
- package/src/models/operations/createreversal.ts +4 -4
- package/src/models/operations/createschedule.ts +4 -4
- package/src/models/operations/createsweepconfig.ts +4 -4
- package/src/models/operations/createterminalapplication.ts +4 -4
- package/src/models/operations/createterminalapplicationversion.ts +4 -4
- package/src/models/operations/createticket.ts +4 -4
- package/src/models/operations/createtransfer.ts +4 -4
- package/src/models/operations/createtransferoptions.ts +4 -4
- package/src/models/operations/createwallet.ts +4 -4
- package/src/models/operations/deletedisputeevidencefile.ts +4 -4
- package/src/models/operations/deleteimage.ts +4 -4
- package/src/models/operations/deleterepresentative.ts +4 -4
- package/src/models/operations/deleteterminalapplication.ts +4 -4
- package/src/models/operations/disablebankaccount.ts +4 -4
- package/src/models/operations/disablecapability.ts +4 -4
- package/src/models/operations/disablecard.ts +4 -4
- package/src/models/operations/disablepaymentlink.ts +4 -4
- package/src/models/operations/disableproduct.ts +4 -4
- package/src/models/operations/disconnectaccount.ts +4 -4
- package/src/models/operations/generateendtoendkey.ts +4 -4
- package/src/models/operations/getaccount.ts +4 -4
- package/src/models/operations/getaccountcountries.ts +4 -4
- package/src/models/operations/getaccountterminalapplication.ts +4 -4
- package/src/models/operations/getadjustment.ts +4 -4
- package/src/models/operations/getapplepaymerchantdomains.ts +4 -4
- package/src/models/operations/getavatar.ts +4 -4
- package/src/models/operations/getbankaccount.ts +4 -4
- package/src/models/operations/getbankaccountverification.ts +4 -4
- package/src/models/operations/getbrand.ts +4 -4
- package/src/models/operations/getcancellation.ts +4 -4
- package/src/models/operations/getcapability.ts +4 -4
- package/src/models/operations/getcard.ts +4 -4
- package/src/models/operations/getdispute.ts +4 -4
- package/src/models/operations/getdisputeevidence.ts +4 -4
- package/src/models/operations/getdisputeevidencedata.ts +4 -4
- package/src/models/operations/getenrichmentaddress.ts +4 -4
- package/src/models/operations/getenrichmentprofile.ts +4 -4
- package/src/models/operations/getfiledetails.ts +4 -4
- package/src/models/operations/getfullissuedcard.ts +4 -4
- package/src/models/operations/getimagemetadata.ts +4 -4
- package/src/models/operations/getissuedcard.ts +4 -4
- package/src/models/operations/getissuedcardauthorization.ts +4 -4
- package/src/models/operations/getissuedcardtransaction.ts +4 -4
- package/src/models/operations/getmerchantprocessingagreement.ts +4 -4
- package/src/models/operations/getonboardinginvite.ts +4 -4
- package/src/models/operations/getpaymentlink.ts +4 -4
- package/src/models/operations/getpaymentlinkqrcode.ts +4 -4
- package/src/models/operations/getpaymentmethod.ts +4 -4
- package/src/models/operations/getproduct.ts +4 -4
- package/src/models/operations/getrefund.ts +4 -4
- package/src/models/operations/getrepresentative.ts +4 -4
- package/src/models/operations/getscheduledoccurrence.ts +4 -4
- package/src/models/operations/getschedules.ts +4 -4
- package/src/models/operations/getstatement.ts +4 -4
- package/src/models/operations/getsweep.ts +4 -4
- package/src/models/operations/getsweepconfig.ts +4 -4
- package/src/models/operations/getterminalapplication.ts +4 -4
- package/src/models/operations/getterminalconfiguration.ts +4 -4
- package/src/models/operations/gettermsofservicetoken.ts +4 -4
- package/src/models/operations/getticket.ts +4 -4
- package/src/models/operations/gettransfer.ts +4 -4
- package/src/models/operations/getunderwriting.ts +4 -4
- package/src/models/operations/getwallet.ts +4 -4
- package/src/models/operations/getwallettransaction.ts +4 -4
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/initiatebankaccountverification.ts +4 -4
- package/src/models/operations/initiatemicrodeposits.ts +4 -4
- package/src/models/operations/initiaterefund.ts +4 -4
- package/src/models/operations/linkaccountterminalapplication.ts +4 -4
- package/src/models/operations/linkapplepaytoken.ts +4 -4
- package/src/models/operations/linkbankaccount.ts +4 -4
- package/src/models/operations/linkcard.ts +4 -4
- package/src/models/operations/listaccounts.ts +4 -4
- package/src/models/operations/listaccountterminalapplications.ts +4 -4
- package/src/models/operations/listadjustments.ts +4 -4
- package/src/models/operations/listbankaccounts.ts +4 -4
- package/src/models/operations/listcapabilities.ts +4 -4
- package/src/models/operations/listcards.ts +4 -4
- package/src/models/operations/listdisputeevidence.ts +4 -4
- package/src/models/operations/listdisputes.ts +4 -4
- package/src/models/operations/listfeeplanagreements.ts +4 -4
- package/src/models/operations/listfeeplans.ts +4 -4
- package/src/models/operations/listfeesfetch.ts +4 -4
- package/src/models/operations/listfiles.ts +4 -4
- package/src/models/operations/listimagemetadata.ts +4 -4
- package/src/models/operations/listindustries.ts +4 -4
- package/src/models/operations/listinstitutions.ts +4 -4
- package/src/models/operations/listissuedcardauthorizationevents.ts +4 -4
- package/src/models/operations/listissuedcardauthorizations.ts +4 -4
- package/src/models/operations/listissuedcards.ts +4 -4
- package/src/models/operations/listissuedcardtransactions.ts +4 -4
- package/src/models/operations/listonboardinginvites.ts +4 -4
- package/src/models/operations/listpartnerpricing.ts +4 -4
- package/src/models/operations/listpartnerpricingagreements.ts +4 -4
- package/src/models/operations/listpaymentlinks.ts +4 -4
- package/src/models/operations/listpaymentmethods.ts +4 -4
- package/src/models/operations/listproducts.ts +4 -4
- package/src/models/operations/listreceipts.ts +4 -4
- package/src/models/operations/listrefunds.ts +4 -4
- package/src/models/operations/listrepresentatives.ts +4 -4
- package/src/models/operations/listschedules.ts +4 -4
- package/src/models/operations/liststatements.ts +4 -4
- package/src/models/operations/listsweepconfigs.ts +4 -4
- package/src/models/operations/listsweeps.ts +4 -4
- package/src/models/operations/listterminalapplications.ts +4 -4
- package/src/models/operations/listticketmessages.ts +4 -4
- package/src/models/operations/listtickets.ts +4 -4
- package/src/models/operations/listtransfers.ts +4 -4
- package/src/models/operations/listwallets.ts +4 -4
- package/src/models/operations/listwallettransactions.ts +4 -4
- package/src/models/operations/ping.ts +4 -4
- package/src/models/operations/registerapplepaymerchantdomains.ts +4 -4
- package/src/models/operations/requestcapabilities.ts +4 -4
- package/src/models/operations/requestcard.ts +4 -4
- package/src/models/operations/retrievefees.ts +4 -4
- package/src/models/operations/revokeaccesstoken.ts +4 -4
- package/src/models/operations/revokeonboardinginvite.ts +4 -4
- package/src/models/operations/saveunderwriting.ts +4 -4
- package/src/models/operations/searchinstitutions.ts +4 -4
- package/src/models/operations/submitdisputeevidence.ts +4 -4
- package/src/models/operations/testendtoendtoken.ts +4 -4
- package/src/models/operations/updateaccount.ts +4 -4
- package/src/models/operations/updateapplepaymerchantdomains.ts +4 -4
- package/src/models/operations/updatebrand.ts +4 -4
- package/src/models/operations/updatecard.ts +4 -4
- package/src/models/operations/updatedisputeevidence.ts +4 -4
- package/src/models/operations/updateimage.ts +4 -4
- package/src/models/operations/updateimagemetadata.ts +237 -0
- package/src/models/operations/updateissuedcard.ts +4 -4
- package/src/models/operations/updatepaymentlink.ts +4 -4
- package/src/models/operations/updateproduct.ts +4 -4
- package/src/models/operations/updaterepresentative.ts +4 -4
- package/src/models/operations/updateschedule.ts +4 -4
- package/src/models/operations/updatesweepconfig.ts +4 -4
- package/src/models/operations/updateticket.ts +4 -4
- package/src/models/operations/updatetransfer.ts +4 -4
- package/src/models/operations/updatewallet.ts +4 -4
- package/src/models/operations/uploaddisputeevidencefile.ts +4 -4
- package/src/models/operations/uploaddisputeevidencetext.ts +4 -4
- package/src/models/operations/uploadfile.ts +4 -4
- package/src/models/operations/uploadimage.ts +4 -4
- package/src/models/operations/upsertbrand.ts +4 -4
- package/src/models/operations/upsertunderwriting.ts +4 -4
- package/src/sdk/images.ts +19 -4
- package/models/components/generatedbyaccountid.d.ts +0 -29
- package/models/components/generatedbyaccountid.d.ts.map +0 -1
- package/models/components/generatedbyaccountid.js +0 -69
- package/models/components/generatedbyaccountid.js.map +0 -1
- package/models/components/generatedbybankaccountid.d.ts +0 -29
- package/models/components/generatedbybankaccountid.d.ts.map +0 -1
- package/models/components/generatedbybankaccountid.js +0 -69
- package/models/components/generatedbybankaccountid.js.map +0 -1
- package/models/components/generatedbycardid.d.ts +0 -29
- package/models/components/generatedbycardid.d.ts.map +0 -1
- package/models/components/generatedbycardid.js +0 -69
- package/models/components/generatedbycardid.js.map +0 -1
- package/models/components/generatedbydisputeid.d.ts +0 -29
- package/models/components/generatedbydisputeid.d.ts.map +0 -1
- package/models/components/generatedbydisputeid.js +0 -69
- package/models/components/generatedbydisputeid.js.map +0 -1
- package/models/components/generatedbytransferid.d.ts +0 -29
- package/models/components/generatedbytransferid.d.ts.map +0 -1
- package/models/components/generatedbytransferid.js +0 -69
- package/models/components/generatedbytransferid.js.map +0 -1
- package/src/models/components/generatedbyaccountid.ts +0 -66
- package/src/models/components/generatedbybankaccountid.ts +0 -66
- package/src/models/components/generatedbycardid.ts +0 -66
- package/src/models/components/generatedbydisputeid.ts +0 -66
- package/src/models/components/generatedbytransferid.ts +0 -66
|
@@ -77,8 +77,8 @@ async function $do(
|
|
|
77
77
|
|
|
78
78
|
const headers = new Headers(compactMap({
|
|
79
79
|
Accept: "application/json",
|
|
80
|
-
"
|
|
81
|
-
"
|
|
80
|
+
"X-Moov-Version": encodeSimple(
|
|
81
|
+
"X-Moov-Version",
|
|
82
82
|
client._options.xMoovVersion,
|
|
83
83
|
{ explode: false, charEncoding: "none" },
|
|
84
84
|
),
|
|
@@ -106,16 +106,16 @@ async function $do(
|
|
|
106
106
|
const headers = new Headers(compactMap({
|
|
107
107
|
"Content-Type": "application/json",
|
|
108
108
|
Accept: "application/json",
|
|
109
|
+
"X-Moov-Version": encodeSimple(
|
|
110
|
+
"X-Moov-Version",
|
|
111
|
+
client._options.xMoovVersion,
|
|
112
|
+
{ explode: false, charEncoding: "none" },
|
|
113
|
+
),
|
|
109
114
|
"x-idempotency-key": encodeSimple(
|
|
110
115
|
"x-idempotency-key",
|
|
111
116
|
payload["x-idempotency-key"],
|
|
112
117
|
{ explode: false, charEncoding: "none" },
|
|
113
118
|
),
|
|
114
|
-
"x-moov-version": encodeSimple(
|
|
115
|
-
"x-moov-version",
|
|
116
|
-
client._options.xMoovVersion,
|
|
117
|
-
{ explode: false, charEncoding: "none" },
|
|
118
|
-
),
|
|
119
119
|
"x-wait-for": encodeSimple("x-wait-for", payload["x-wait-for"], {
|
|
120
120
|
explode: false,
|
|
121
121
|
charEncoding: "none",
|
|
@@ -105,8 +105,8 @@ async function $do(
|
|
|
105
105
|
|
|
106
106
|
const headers = new Headers(compactMap({
|
|
107
107
|
Accept: "application/json",
|
|
108
|
-
"
|
|
109
|
-
"
|
|
108
|
+
"X-Moov-Version": encodeSimple(
|
|
109
|
+
"X-Moov-Version",
|
|
110
110
|
client._options.xMoovVersion,
|
|
111
111
|
{ explode: false, charEncoding: "none" },
|
|
112
112
|
),
|
|
@@ -110,16 +110,16 @@ async function $do(
|
|
|
110
110
|
const headers = new Headers(compactMap({
|
|
111
111
|
"Content-Type": "application/json",
|
|
112
112
|
Accept: "application/json",
|
|
113
|
+
"X-Moov-Version": encodeSimple(
|
|
114
|
+
"X-Moov-Version",
|
|
115
|
+
client._options.xMoovVersion,
|
|
116
|
+
{ explode: false, charEncoding: "none" },
|
|
117
|
+
),
|
|
113
118
|
"x-idempotency-key": encodeSimple(
|
|
114
119
|
"x-idempotency-key",
|
|
115
120
|
payload["x-idempotency-key"],
|
|
116
121
|
{ explode: false, charEncoding: "none" },
|
|
117
122
|
),
|
|
118
|
-
"x-moov-version": encodeSimple(
|
|
119
|
-
"x-moov-version",
|
|
120
|
-
client._options.xMoovVersion,
|
|
121
|
-
{ explode: false, charEncoding: "none" },
|
|
122
|
-
),
|
|
123
123
|
}));
|
|
124
124
|
|
|
125
125
|
const securityInput = await extractSecurity(client._options.security);
|
|
@@ -110,8 +110,8 @@ async function $do(
|
|
|
110
110
|
const headers = new Headers(compactMap({
|
|
111
111
|
"Content-Type": "application/json",
|
|
112
112
|
Accept: "application/json",
|
|
113
|
-
"
|
|
114
|
-
"
|
|
113
|
+
"X-Moov-Version": encodeSimple(
|
|
114
|
+
"X-Moov-Version",
|
|
115
115
|
client._options.xMoovVersion,
|
|
116
116
|
{ explode: false, charEncoding: "none" },
|
|
117
117
|
),
|
|
@@ -105,8 +105,8 @@ async function $do(
|
|
|
105
105
|
|
|
106
106
|
const headers = new Headers(compactMap({
|
|
107
107
|
Accept: "application/json",
|
|
108
|
-
"
|
|
109
|
-
"
|
|
108
|
+
"X-Moov-Version": encodeSimple(
|
|
109
|
+
"X-Moov-Version",
|
|
110
110
|
client._options.xMoovVersion,
|
|
111
111
|
{ explode: false, charEncoding: "none" },
|
|
112
112
|
),
|
|
@@ -106,8 +106,8 @@ async function $do(
|
|
|
106
106
|
|
|
107
107
|
const headers = new Headers(compactMap({
|
|
108
108
|
Accept: "application/json",
|
|
109
|
-
"
|
|
110
|
-
"
|
|
109
|
+
"X-Moov-Version": encodeSimple(
|
|
110
|
+
"X-Moov-Version",
|
|
111
111
|
client._options.xMoovVersion,
|
|
112
112
|
{ explode: false, charEncoding: "none" },
|
|
113
113
|
),
|
|
@@ -106,8 +106,8 @@ async function $do(
|
|
|
106
106
|
|
|
107
107
|
const headers = new Headers(compactMap({
|
|
108
108
|
Accept: "application/json",
|
|
109
|
-
"
|
|
110
|
-
"
|
|
109
|
+
"X-Moov-Version": encodeSimple(
|
|
110
|
+
"X-Moov-Version",
|
|
111
111
|
client._options.xMoovVersion,
|
|
112
112
|
{ explode: false, charEncoding: "none" },
|
|
113
113
|
),
|
|
@@ -113,16 +113,16 @@ async function $do(
|
|
|
113
113
|
const headers = new Headers(compactMap({
|
|
114
114
|
"Content-Type": "application/json",
|
|
115
115
|
Accept: "application/json",
|
|
116
|
+
"X-Moov-Version": encodeSimple(
|
|
117
|
+
"X-Moov-Version",
|
|
118
|
+
client._options.xMoovVersion,
|
|
119
|
+
{ explode: false, charEncoding: "none" },
|
|
120
|
+
),
|
|
116
121
|
"x-idempotency-key": encodeSimple(
|
|
117
122
|
"x-idempotency-key",
|
|
118
123
|
payload["x-idempotency-key"],
|
|
119
124
|
{ explode: false, charEncoding: "none" },
|
|
120
125
|
),
|
|
121
|
-
"x-moov-version": encodeSimple(
|
|
122
|
-
"x-moov-version",
|
|
123
|
-
client._options.xMoovVersion,
|
|
124
|
-
{ explode: false, charEncoding: "none" },
|
|
125
|
-
),
|
|
126
126
|
"x-wait-for": encodeSimple("x-wait-for", payload["x-wait-for"], {
|
|
127
127
|
explode: false,
|
|
128
128
|
charEncoding: "none",
|
|
@@ -121,8 +121,8 @@ async function $do(
|
|
|
121
121
|
|
|
122
122
|
const headers = new Headers(compactMap({
|
|
123
123
|
Accept: "application/json",
|
|
124
|
-
"
|
|
125
|
-
"
|
|
124
|
+
"X-Moov-Version": encodeSimple(
|
|
125
|
+
"X-Moov-Version",
|
|
126
126
|
client._options.xMoovVersion,
|
|
127
127
|
{ explode: false, charEncoding: "none" },
|
|
128
128
|
),
|
|
@@ -102,8 +102,8 @@ async function $do(
|
|
|
102
102
|
|
|
103
103
|
const headers = new Headers(compactMap({
|
|
104
104
|
Accept: "application/json",
|
|
105
|
-
"
|
|
106
|
-
"
|
|
105
|
+
"X-Moov-Version": encodeSimple(
|
|
106
|
+
"X-Moov-Version",
|
|
107
107
|
client._options.xMoovVersion,
|
|
108
108
|
{ explode: false, charEncoding: "none" },
|
|
109
109
|
),
|
|
@@ -108,8 +108,8 @@ async function $do(
|
|
|
108
108
|
const headers = new Headers(compactMap({
|
|
109
109
|
"Content-Type": "application/json",
|
|
110
110
|
Accept: "application/json",
|
|
111
|
-
"
|
|
112
|
-
"
|
|
111
|
+
"X-Moov-Version": encodeSimple(
|
|
112
|
+
"X-Moov-Version",
|
|
113
113
|
client._options.xMoovVersion,
|
|
114
114
|
{ explode: false, charEncoding: "none" },
|
|
115
115
|
),
|
|
@@ -98,8 +98,8 @@ async function $do(
|
|
|
98
98
|
|
|
99
99
|
const headers = new Headers(compactMap({
|
|
100
100
|
Accept: "application/json",
|
|
101
|
-
"
|
|
102
|
-
"
|
|
101
|
+
"X-Moov-Version": encodeSimple(
|
|
102
|
+
"X-Moov-Version",
|
|
103
103
|
client._options.xMoovVersion,
|
|
104
104
|
{ explode: false, charEncoding: "none" },
|
|
105
105
|
),
|
|
@@ -106,8 +106,8 @@ async function $do(
|
|
|
106
106
|
const headers = new Headers(compactMap({
|
|
107
107
|
"Content-Type": "application/json",
|
|
108
108
|
Accept: "application/json",
|
|
109
|
-
"
|
|
110
|
-
"
|
|
109
|
+
"X-Moov-Version": encodeSimple(
|
|
110
|
+
"X-Moov-Version",
|
|
111
111
|
client._options.xMoovVersion,
|
|
112
112
|
{ explode: false, charEncoding: "none" },
|
|
113
113
|
),
|
|
@@ -106,8 +106,8 @@ async function $do(
|
|
|
106
106
|
const headers = new Headers(compactMap({
|
|
107
107
|
"Content-Type": "application/json",
|
|
108
108
|
Accept: "application/json",
|
|
109
|
-
"
|
|
110
|
-
"
|
|
109
|
+
"X-Moov-Version": encodeSimple(
|
|
110
|
+
"X-Moov-Version",
|
|
111
111
|
client._options.xMoovVersion,
|
|
112
112
|
{ explode: false, charEncoding: "none" },
|
|
113
113
|
),
|
|
@@ -109,8 +109,8 @@ async function $do(
|
|
|
109
109
|
|
|
110
110
|
const headers = new Headers(compactMap({
|
|
111
111
|
Accept: "application/json",
|
|
112
|
-
"
|
|
113
|
-
"
|
|
112
|
+
"X-Moov-Version": encodeSimple(
|
|
113
|
+
"X-Moov-Version",
|
|
114
114
|
client._options.xMoovVersion,
|
|
115
115
|
{ explode: false, charEncoding: "none" },
|
|
116
116
|
),
|
|
@@ -123,8 +123,8 @@ async function $do(
|
|
|
123
123
|
|
|
124
124
|
const headers = new Headers(compactMap({
|
|
125
125
|
Accept: "application/json",
|
|
126
|
-
"
|
|
127
|
-
"
|
|
126
|
+
"X-Moov-Version": encodeSimple(
|
|
127
|
+
"X-Moov-Version",
|
|
128
128
|
client._options.xMoovVersion,
|
|
129
129
|
{ explode: false, charEncoding: "none" },
|
|
130
130
|
),
|
|
@@ -104,8 +104,8 @@ async function $do(
|
|
|
104
104
|
const headers = new Headers(compactMap({
|
|
105
105
|
"Content-Type": "application/json",
|
|
106
106
|
Accept: "application/json",
|
|
107
|
-
"
|
|
108
|
-
"
|
|
107
|
+
"X-Moov-Version": encodeSimple(
|
|
108
|
+
"X-Moov-Version",
|
|
109
109
|
client._options.xMoovVersion,
|
|
110
110
|
{ explode: false, charEncoding: "none" },
|
|
111
111
|
),
|
package/src/funcs/walletsGet.ts
CHANGED
|
@@ -104,8 +104,8 @@ async function $do(
|
|
|
104
104
|
|
|
105
105
|
const headers = new Headers(compactMap({
|
|
106
106
|
Accept: "application/json",
|
|
107
|
-
"
|
|
108
|
-
"
|
|
107
|
+
"X-Moov-Version": encodeSimple(
|
|
108
|
+
"X-Moov-Version",
|
|
109
109
|
client._options.xMoovVersion,
|
|
110
110
|
{ explode: false, charEncoding: "none" },
|
|
111
111
|
),
|
package/src/funcs/walletsList.ts
CHANGED
|
@@ -108,8 +108,8 @@ async function $do(
|
|
|
108
108
|
|
|
109
109
|
const headers = new Headers(compactMap({
|
|
110
110
|
Accept: "application/json",
|
|
111
|
-
"
|
|
112
|
-
"
|
|
111
|
+
"X-Moov-Version": encodeSimple(
|
|
112
|
+
"X-Moov-Version",
|
|
113
113
|
client._options.xMoovVersion,
|
|
114
114
|
{ explode: false, charEncoding: "none" },
|
|
115
115
|
),
|
|
@@ -110,8 +110,8 @@ async function $do(
|
|
|
110
110
|
const headers = new Headers(compactMap({
|
|
111
111
|
"Content-Type": "application/json",
|
|
112
112
|
Accept: "application/json",
|
|
113
|
-
"
|
|
114
|
-
"
|
|
113
|
+
"X-Moov-Version": encodeSimple(
|
|
114
|
+
"X-Moov-Version",
|
|
115
115
|
client._options.xMoovVersion,
|
|
116
116
|
{ explode: false, charEncoding: "none" },
|
|
117
117
|
),
|
package/src/lib/config.ts
CHANGED
|
@@ -73,7 +73,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
73
73
|
export const SDK_METADATA = {
|
|
74
74
|
language: "typescript",
|
|
75
75
|
openapiDocVersion: "latest",
|
|
76
|
-
sdkVersion: "0.18.
|
|
77
|
-
genVersion: "2.
|
|
78
|
-
userAgent: "speakeasy-sdk/typescript 0.18.
|
|
76
|
+
sdkVersion: "0.18.1",
|
|
77
|
+
genVersion: "2.729.2",
|
|
78
|
+
userAgent: "speakeasy-sdk/typescript 0.18.1 2.729.2 latest @moovio/sdk",
|
|
79
79
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -93,6 +93,7 @@ import { tool$imagesGetMetadata } from "./tools/imagesGetMetadata.js";
|
|
|
93
93
|
import { tool$imagesGetPublic } from "./tools/imagesGetPublic.js";
|
|
94
94
|
import { tool$imagesList } from "./tools/imagesList.js";
|
|
95
95
|
import { tool$imagesUpdate } from "./tools/imagesUpdate.js";
|
|
96
|
+
import { tool$imagesUpdateMetadata } from "./tools/imagesUpdateMetadata.js";
|
|
96
97
|
import { tool$imagesUpload } from "./tools/imagesUpload.js";
|
|
97
98
|
import { tool$industriesList } from "./tools/industriesList.js";
|
|
98
99
|
import { tool$institutionsSearch } from "./tools/institutionsSearch.js";
|
|
@@ -183,7 +184,7 @@ export function createMCPServer(deps: {
|
|
|
183
184
|
}) {
|
|
184
185
|
const server = new McpServer({
|
|
185
186
|
name: "Moov",
|
|
186
|
-
version: "0.18.
|
|
187
|
+
version: "0.18.1",
|
|
187
188
|
});
|
|
188
189
|
|
|
189
190
|
const client = new MoovCore({
|
|
@@ -278,6 +279,7 @@ export function createMCPServer(deps: {
|
|
|
278
279
|
tool(tool$imagesGetMetadata);
|
|
279
280
|
tool(tool$imagesUpdate);
|
|
280
281
|
tool(tool$imagesDelete);
|
|
282
|
+
tool(tool$imagesUpdateMetadata);
|
|
281
283
|
tool(tool$imagesGetPublic);
|
|
282
284
|
tool(tool$paymentLinksCreate);
|
|
283
285
|
tool(tool$paymentLinksList);
|
|
@@ -12,11 +12,11 @@ const args = {
|
|
|
12
12
|
|
|
13
13
|
export const tool$imagesUpdate: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "images-update",
|
|
15
|
-
description: `
|
|
15
|
+
description: `Replace an existing image and, optionally, its metadata.
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
form
|
|
19
|
-
|
|
17
|
+
This endpoint replaces the existing image with the new PNG, JPEG, or WebP. Omit
|
|
18
|
+
the metadata form section to keep existing metadata, or send \`null\` to clear it.
|
|
19
|
+
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
20
20
|
args,
|
|
21
21
|
tool: async (client, args, ctx) => {
|
|
22
22
|
const [result, apiCall] = await imagesUpdate(
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { imagesUpdateMetadata } from "../../funcs/imagesUpdateMetadata.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.UpdateImageMetadataRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$imagesUpdateMetadata: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "images-update-metadata",
|
|
15
|
+
description: `Replace the metadata for an existing image.`,
|
|
16
|
+
args,
|
|
17
|
+
tool: async (client, args, ctx) => {
|
|
18
|
+
const [result, apiCall] = await imagesUpdateMetadata(
|
|
19
|
+
client,
|
|
20
|
+
args.request,
|
|
21
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
22
|
+
).$inspect();
|
|
23
|
+
|
|
24
|
+
if (!result.ok) {
|
|
25
|
+
return {
|
|
26
|
+
content: [{ type: "text", text: result.error.message }],
|
|
27
|
+
isError: true,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const value = result.value.result;
|
|
32
|
+
|
|
33
|
+
return formatResult(value, apiCall);
|
|
34
|
+
},
|
|
35
|
+
};
|
|
@@ -6,80 +6,52 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
GeneratedByAccountID,
|
|
11
|
-
GeneratedByAccountID$inboundSchema,
|
|
12
|
-
GeneratedByAccountID$Outbound,
|
|
13
|
-
GeneratedByAccountID$outboundSchema,
|
|
14
|
-
} from "./generatedbyaccountid.js";
|
|
15
|
-
import {
|
|
16
|
-
GeneratedByBankAccountID,
|
|
17
|
-
GeneratedByBankAccountID$inboundSchema,
|
|
18
|
-
GeneratedByBankAccountID$Outbound,
|
|
19
|
-
GeneratedByBankAccountID$outboundSchema,
|
|
20
|
-
} from "./generatedbybankaccountid.js";
|
|
21
|
-
import {
|
|
22
|
-
GeneratedByCardID,
|
|
23
|
-
GeneratedByCardID$inboundSchema,
|
|
24
|
-
GeneratedByCardID$Outbound,
|
|
25
|
-
GeneratedByCardID$outboundSchema,
|
|
26
|
-
} from "./generatedbycardid.js";
|
|
27
|
-
import {
|
|
28
|
-
GeneratedByDisputeID,
|
|
29
|
-
GeneratedByDisputeID$inboundSchema,
|
|
30
|
-
GeneratedByDisputeID$Outbound,
|
|
31
|
-
GeneratedByDisputeID$outboundSchema,
|
|
32
|
-
} from "./generatedbydisputeid.js";
|
|
33
|
-
import {
|
|
34
|
-
GeneratedByTransferID,
|
|
35
|
-
GeneratedByTransferID$inboundSchema,
|
|
36
|
-
GeneratedByTransferID$Outbound,
|
|
37
|
-
GeneratedByTransferID$outboundSchema,
|
|
38
|
-
} from "./generatedbytransferid.js";
|
|
39
9
|
|
|
40
10
|
/**
|
|
41
11
|
* The entity that generated the fee.
|
|
42
12
|
*/
|
|
43
|
-
export type GeneratedBy =
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
|
47
|
-
|
|
|
48
|
-
|
|
|
13
|
+
export type GeneratedBy = {
|
|
14
|
+
transferID?: string | undefined;
|
|
15
|
+
cardID?: string | undefined;
|
|
16
|
+
disputeID?: string | undefined;
|
|
17
|
+
accountID?: string | undefined;
|
|
18
|
+
bankAccountID?: string | undefined;
|
|
19
|
+
};
|
|
49
20
|
|
|
50
21
|
/** @internal */
|
|
51
22
|
export const GeneratedBy$inboundSchema: z.ZodType<
|
|
52
23
|
GeneratedBy,
|
|
53
24
|
z.ZodTypeDef,
|
|
54
25
|
unknown
|
|
55
|
-
> = z.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
26
|
+
> = z.object({
|
|
27
|
+
transferID: z.string().optional(),
|
|
28
|
+
cardID: z.string().optional(),
|
|
29
|
+
disputeID: z.string().optional(),
|
|
30
|
+
accountID: z.string().optional(),
|
|
31
|
+
bankAccountID: z.string().optional(),
|
|
32
|
+
});
|
|
62
33
|
|
|
63
34
|
/** @internal */
|
|
64
|
-
export type GeneratedBy$Outbound =
|
|
65
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
|
35
|
+
export type GeneratedBy$Outbound = {
|
|
36
|
+
transferID?: string | undefined;
|
|
37
|
+
cardID?: string | undefined;
|
|
38
|
+
disputeID?: string | undefined;
|
|
39
|
+
accountID?: string | undefined;
|
|
40
|
+
bankAccountID?: string | undefined;
|
|
41
|
+
};
|
|
70
42
|
|
|
71
43
|
/** @internal */
|
|
72
44
|
export const GeneratedBy$outboundSchema: z.ZodType<
|
|
73
45
|
GeneratedBy$Outbound,
|
|
74
46
|
z.ZodTypeDef,
|
|
75
47
|
GeneratedBy
|
|
76
|
-
> = z.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
48
|
+
> = z.object({
|
|
49
|
+
transferID: z.string().optional(),
|
|
50
|
+
cardID: z.string().optional(),
|
|
51
|
+
disputeID: z.string().optional(),
|
|
52
|
+
accountID: z.string().optional(),
|
|
53
|
+
bankAccountID: z.string().optional(),
|
|
54
|
+
});
|
|
83
55
|
|
|
84
56
|
/**
|
|
85
57
|
* @internal
|
|
@@ -31,7 +31,7 @@ export type Metadata = {
|
|
|
31
31
|
* Multipart request body for updating an image and/or its metadata.
|
|
32
32
|
*/
|
|
33
33
|
export type ImageUpdateRequestMultiPart = {
|
|
34
|
-
image
|
|
34
|
+
image: ImageUpdateRequestMultiPartImage | Blob;
|
|
35
35
|
/**
|
|
36
36
|
* JSON-encoded metadata to update for the image.
|
|
37
37
|
*
|
|
@@ -167,14 +167,13 @@ export const ImageUpdateRequestMultiPart$inboundSchema: z.ZodType<
|
|
|
167
167
|
z.ZodTypeDef,
|
|
168
168
|
unknown
|
|
169
169
|
> = z.object({
|
|
170
|
-
image: z.lazy(() => ImageUpdateRequestMultiPartImage$inboundSchema)
|
|
171
|
-
.optional(),
|
|
170
|
+
image: z.lazy(() => ImageUpdateRequestMultiPartImage$inboundSchema),
|
|
172
171
|
metadata: z.nullable(z.lazy(() => Metadata$inboundSchema)).optional(),
|
|
173
172
|
});
|
|
174
173
|
|
|
175
174
|
/** @internal */
|
|
176
175
|
export type ImageUpdateRequestMultiPart$Outbound = {
|
|
177
|
-
image
|
|
176
|
+
image: ImageUpdateRequestMultiPartImage$Outbound | Blob;
|
|
178
177
|
metadata?: Metadata$Outbound | null | undefined;
|
|
179
178
|
};
|
|
180
179
|
|
|
@@ -186,7 +185,7 @@ export const ImageUpdateRequestMultiPart$outboundSchema: z.ZodType<
|
|
|
186
185
|
> = z.object({
|
|
187
186
|
image: z.lazy(() => ImageUpdateRequestMultiPartImage$outboundSchema).or(
|
|
188
187
|
blobLikeSchema,
|
|
189
|
-
)
|
|
188
|
+
),
|
|
190
189
|
metadata: z.nullable(z.lazy(() => Metadata$outboundSchema)).optional(),
|
|
191
190
|
});
|
|
192
191
|
|
|
@@ -213,11 +213,6 @@ export * from "./fulfillmentmethod.js";
|
|
|
213
213
|
export * from "./fulfillmenttimeframe.js";
|
|
214
214
|
export * from "./fullissuedcard.js";
|
|
215
215
|
export * from "./generatedby.js";
|
|
216
|
-
export * from "./generatedbyaccountid.js";
|
|
217
|
-
export * from "./generatedbybankaccountid.js";
|
|
218
|
-
export * from "./generatedbycardid.js";
|
|
219
|
-
export * from "./generatedbydisputeid.js";
|
|
220
|
-
export * from "./generatedbytransferid.js";
|
|
221
216
|
export * from "./geographicreach.js";
|
|
222
217
|
export * from "./governmentid.js";
|
|
223
218
|
export * from "./governmentiderror.js";
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { MoovError } from "./mooverror.js";
|
|
7
|
+
|
|
8
|
+
export type ImageMetadataValidationErrorData = {
|
|
9
|
+
altText?: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export class ImageMetadataValidationError extends MoovError {
|
|
13
|
+
altText?: string | undefined;
|
|
14
|
+
|
|
15
|
+
/** The original data that was passed to this error instance. */
|
|
16
|
+
data$: ImageMetadataValidationErrorData;
|
|
17
|
+
|
|
18
|
+
constructor(
|
|
19
|
+
err: ImageMetadataValidationErrorData,
|
|
20
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
21
|
+
) {
|
|
22
|
+
const message = "message" in err && typeof err.message === "string"
|
|
23
|
+
? err.message
|
|
24
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
25
|
+
super(message, httpMeta);
|
|
26
|
+
this.data$ = err;
|
|
27
|
+
if (err.altText != null) this.altText = err.altText;
|
|
28
|
+
|
|
29
|
+
this.name = "ImageMetadataValidationError";
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const ImageMetadataValidationError$inboundSchema: z.ZodType<
|
|
35
|
+
ImageMetadataValidationError,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
unknown
|
|
38
|
+
> = z.object({
|
|
39
|
+
altText: z.string().optional(),
|
|
40
|
+
request$: z.instanceof(Request),
|
|
41
|
+
response$: z.instanceof(Response),
|
|
42
|
+
body$: z.string(),
|
|
43
|
+
})
|
|
44
|
+
.transform((v) => {
|
|
45
|
+
return new ImageMetadataValidationError(v, {
|
|
46
|
+
request: v.request$,
|
|
47
|
+
response: v.response$,
|
|
48
|
+
body: v.body$,
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export type ImageMetadataValidationError$Outbound = {
|
|
54
|
+
altText?: string | undefined;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const ImageMetadataValidationError$outboundSchema: z.ZodType<
|
|
59
|
+
ImageMetadataValidationError$Outbound,
|
|
60
|
+
z.ZodTypeDef,
|
|
61
|
+
ImageMetadataValidationError
|
|
62
|
+
> = z.instanceof(ImageMetadataValidationError)
|
|
63
|
+
.transform(v => v.data$)
|
|
64
|
+
.pipe(z.object({
|
|
65
|
+
altText: z.string().optional(),
|
|
66
|
+
}));
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
71
|
+
*/
|
|
72
|
+
export namespace ImageMetadataValidationError$ {
|
|
73
|
+
/** @deprecated use `ImageMetadataValidationError$inboundSchema` instead. */
|
|
74
|
+
export const inboundSchema = ImageMetadataValidationError$inboundSchema;
|
|
75
|
+
/** @deprecated use `ImageMetadataValidationError$outboundSchema` instead. */
|
|
76
|
+
export const outboundSchema = ImageMetadataValidationError$outboundSchema;
|
|
77
|
+
/** @deprecated use `ImageMetadataValidationError$Outbound` instead. */
|
|
78
|
+
export type Outbound = ImageMetadataValidationError$Outbound;
|
|
79
|
+
}
|
|
@@ -20,6 +20,7 @@ export * from "./fileuploadvalidationerror.js";
|
|
|
20
20
|
export * from "./filevalidationerror.js";
|
|
21
21
|
export * from "./genericerror.js";
|
|
22
22
|
export * from "./httpclienterrors.js";
|
|
23
|
+
export * from "./imagemetadatavalidationerror.js";
|
|
23
24
|
export * from "./imagerequestvalidationerror.js";
|
|
24
25
|
export * from "./linkapplepayerror.js";
|
|
25
26
|
export * from "./linkcarderror.js";
|