@moovio/sdk 26.2.1 → 26.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +355 -921
- package/bin/mcp-server.js.map +179 -179
- package/funcs/accountTerminalApplicationsGet.d.ts.map +1 -1
- package/funcs/accountTerminalApplicationsGet.js +2 -1
- package/funcs/accountTerminalApplicationsGet.js.map +1 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.d.ts.map +1 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.js +2 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.js.map +1 -1
- package/funcs/accountTerminalApplicationsLink.d.ts.map +1 -1
- package/funcs/accountTerminalApplicationsLink.js +2 -13
- package/funcs/accountTerminalApplicationsLink.js.map +1 -1
- package/funcs/accountTerminalApplicationsList.d.ts.map +1 -1
- package/funcs/accountTerminalApplicationsList.js +2 -1
- package/funcs/accountTerminalApplicationsList.js.map +1 -1
- package/funcs/accountsAssignCountries.d.ts.map +1 -1
- package/funcs/accountsAssignCountries.js +2 -13
- package/funcs/accountsAssignCountries.js.map +1 -1
- package/funcs/accountsConnect.d.ts.map +1 -1
- package/funcs/accountsConnect.js +2 -13
- package/funcs/accountsConnect.js.map +1 -1
- package/funcs/accountsCreate.d.ts.map +1 -1
- package/funcs/accountsCreate.js +2 -13
- package/funcs/accountsCreate.js.map +1 -1
- package/funcs/accountsDisconnect.d.ts.map +1 -1
- package/funcs/accountsDisconnect.js +2 -12
- package/funcs/accountsDisconnect.js.map +1 -1
- package/funcs/accountsGet.d.ts.map +1 -1
- package/funcs/accountsGet.js +2 -1
- package/funcs/accountsGet.js.map +1 -1
- package/funcs/accountsGetCountries.d.ts.map +1 -1
- package/funcs/accountsGetCountries.js +2 -1
- package/funcs/accountsGetCountries.js.map +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.d.ts.map +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.js +2 -1
- package/funcs/accountsGetMerchantProcessingAgreement.js.map +1 -1
- package/funcs/accountsGetTermsOfServiceToken.d.ts.map +1 -1
- package/funcs/accountsGetTermsOfServiceToken.js +2 -1
- package/funcs/accountsGetTermsOfServiceToken.js.map +1 -1
- package/funcs/accountsList.d.ts.map +1 -1
- package/funcs/accountsList.js +2 -1
- package/funcs/accountsList.js.map +1 -1
- package/funcs/accountsListConnected.d.ts.map +1 -1
- package/funcs/accountsListConnected.js +2 -1
- package/funcs/accountsListConnected.js.map +1 -1
- package/funcs/accountsUpdate.d.ts.map +1 -1
- package/funcs/accountsUpdate.js +2 -13
- package/funcs/accountsUpdate.js.map +1 -1
- package/funcs/adjustmentsGet.d.ts.map +1 -1
- package/funcs/adjustmentsGet.js +2 -1
- package/funcs/adjustmentsGet.js.map +1 -1
- package/funcs/adjustmentsList.d.ts.map +1 -1
- package/funcs/adjustmentsList.js +2 -1
- package/funcs/adjustmentsList.js.map +1 -1
- package/funcs/applePayCreateSession.d.ts.map +1 -1
- package/funcs/applePayCreateSession.js +2 -13
- package/funcs/applePayCreateSession.js.map +1 -1
- package/funcs/applePayGetMerchantDomains.d.ts.map +1 -1
- package/funcs/applePayGetMerchantDomains.js +2 -1
- package/funcs/applePayGetMerchantDomains.js.map +1 -1
- package/funcs/applePayLinkToken.d.ts.map +1 -1
- package/funcs/applePayLinkToken.js +2 -13
- package/funcs/applePayLinkToken.js.map +1 -1
- package/funcs/applePayRegisterMerchantDomains.d.ts.map +1 -1
- package/funcs/applePayRegisterMerchantDomains.js +2 -12
- package/funcs/applePayRegisterMerchantDomains.js.map +1 -1
- package/funcs/applePayUpdateMerchantDomains.d.ts.map +1 -1
- package/funcs/applePayUpdateMerchantDomains.js +2 -13
- package/funcs/applePayUpdateMerchantDomains.js.map +1 -1
- package/funcs/authenticationCreateAccessToken.d.ts.map +1 -1
- package/funcs/authenticationCreateAccessToken.js +2 -1
- package/funcs/authenticationCreateAccessToken.js.map +1 -1
- package/funcs/authenticationRevokeAccessToken.d.ts.map +1 -1
- package/funcs/authenticationRevokeAccessToken.js +2 -1
- package/funcs/authenticationRevokeAccessToken.js.map +1 -1
- package/funcs/avatarsGet.d.ts.map +1 -1
- package/funcs/avatarsGet.js +2 -1
- package/funcs/avatarsGet.js.map +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.d.ts.map +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.js +2 -13
- package/funcs/bankAccountsCompleteMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsCompleteVerification.d.ts.map +1 -1
- package/funcs/bankAccountsCompleteVerification.js +2 -13
- package/funcs/bankAccountsCompleteVerification.js.map +1 -1
- package/funcs/bankAccountsDisable.d.ts.map +1 -1
- package/funcs/bankAccountsDisable.js +2 -12
- package/funcs/bankAccountsDisable.js.map +1 -1
- package/funcs/bankAccountsGet.d.ts.map +1 -1
- package/funcs/bankAccountsGet.js +2 -1
- package/funcs/bankAccountsGet.js.map +1 -1
- package/funcs/bankAccountsGetVerification.d.ts.map +1 -1
- package/funcs/bankAccountsGetVerification.js +2 -1
- package/funcs/bankAccountsGetVerification.js.map +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.d.ts.map +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.js +2 -12
- package/funcs/bankAccountsInitiateMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsInitiateVerification.d.ts.map +1 -1
- package/funcs/bankAccountsInitiateVerification.js +2 -12
- package/funcs/bankAccountsInitiateVerification.js.map +1 -1
- package/funcs/bankAccountsLink.d.ts.map +1 -1
- package/funcs/bankAccountsLink.js +2 -13
- package/funcs/bankAccountsLink.js.map +1 -1
- package/funcs/bankAccountsList.d.ts.map +1 -1
- package/funcs/bankAccountsList.js +2 -1
- package/funcs/bankAccountsList.js.map +1 -1
- package/funcs/brandingCreate.d.ts.map +1 -1
- package/funcs/brandingCreate.js +2 -13
- package/funcs/brandingCreate.js.map +1 -1
- package/funcs/brandingGet.d.ts.map +1 -1
- package/funcs/brandingGet.js +2 -1
- package/funcs/brandingGet.js.map +1 -1
- package/funcs/brandingUpsert.d.ts.map +1 -1
- package/funcs/brandingUpsert.js +2 -13
- package/funcs/brandingUpsert.js.map +1 -1
- package/funcs/capabilitiesDisable.d.ts.map +1 -1
- package/funcs/capabilitiesDisable.js +2 -12
- package/funcs/capabilitiesDisable.js.map +1 -1
- package/funcs/capabilitiesGet.d.ts.map +1 -1
- package/funcs/capabilitiesGet.js +2 -1
- package/funcs/capabilitiesGet.js.map +1 -1
- package/funcs/capabilitiesList.d.ts.map +1 -1
- package/funcs/capabilitiesList.js +2 -1
- package/funcs/capabilitiesList.js.map +1 -1
- package/funcs/capabilitiesRequest.d.ts.map +1 -1
- package/funcs/capabilitiesRequest.js +2 -13
- package/funcs/capabilitiesRequest.js.map +1 -1
- package/funcs/cardIssuingGet.d.ts.map +1 -1
- package/funcs/cardIssuingGet.js +2 -1
- package/funcs/cardIssuingGet.js.map +1 -1
- package/funcs/cardIssuingGetFull.d.ts.map +1 -1
- package/funcs/cardIssuingGetFull.js +2 -1
- package/funcs/cardIssuingGetFull.js.map +1 -1
- package/funcs/cardIssuingList.d.ts.map +1 -1
- package/funcs/cardIssuingList.js +2 -1
- package/funcs/cardIssuingList.js.map +1 -1
- package/funcs/cardIssuingRequest.d.ts.map +1 -1
- package/funcs/cardIssuingRequest.js +2 -12
- package/funcs/cardIssuingRequest.js.map +1 -1
- package/funcs/cardIssuingUpdate.d.ts.map +1 -1
- package/funcs/cardIssuingUpdate.js +2 -13
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/cardsDisable.d.ts.map +1 -1
- package/funcs/cardsDisable.js +2 -12
- package/funcs/cardsDisable.js.map +1 -1
- package/funcs/cardsGet.d.ts.map +1 -1
- package/funcs/cardsGet.js +2 -1
- package/funcs/cardsGet.js.map +1 -1
- package/funcs/cardsLink.d.ts.map +1 -1
- package/funcs/cardsLink.js +2 -13
- package/funcs/cardsLink.js.map +1 -1
- package/funcs/cardsList.d.ts.map +1 -1
- package/funcs/cardsList.js +2 -1
- package/funcs/cardsList.js.map +1 -1
- package/funcs/cardsUpdate.d.ts.map +1 -1
- package/funcs/cardsUpdate.js +2 -13
- package/funcs/cardsUpdate.js.map +1 -1
- package/funcs/disputesAccept.d.ts.map +1 -1
- package/funcs/disputesAccept.js +2 -12
- package/funcs/disputesAccept.js.map +1 -1
- package/funcs/disputesDeleteEvidence.d.ts.map +1 -1
- package/funcs/disputesDeleteEvidence.js +2 -1
- package/funcs/disputesDeleteEvidence.js.map +1 -1
- package/funcs/disputesGet.d.ts.map +1 -1
- package/funcs/disputesGet.js +2 -1
- package/funcs/disputesGet.js.map +1 -1
- package/funcs/disputesGetEvidence.d.ts.map +1 -1
- package/funcs/disputesGetEvidence.js +2 -1
- package/funcs/disputesGetEvidence.js.map +1 -1
- package/funcs/disputesGetEvidenceData.d.ts.map +1 -1
- package/funcs/disputesGetEvidenceData.js +2 -1
- package/funcs/disputesGetEvidenceData.js.map +1 -1
- package/funcs/disputesList.d.ts.map +1 -1
- package/funcs/disputesList.js +2 -1
- package/funcs/disputesList.js.map +1 -1
- package/funcs/disputesListEvidence.d.ts.map +1 -1
- package/funcs/disputesListEvidence.js +2 -1
- package/funcs/disputesListEvidence.js.map +1 -1
- package/funcs/disputesSubmitEvidence.d.ts.map +1 -1
- package/funcs/disputesSubmitEvidence.js +2 -12
- package/funcs/disputesSubmitEvidence.js.map +1 -1
- package/funcs/disputesUpdateEvidence.d.ts.map +1 -1
- package/funcs/disputesUpdateEvidence.js +2 -1
- package/funcs/disputesUpdateEvidence.js.map +1 -1
- package/funcs/disputesUploadEvidenceFile.d.ts.map +1 -1
- package/funcs/disputesUploadEvidenceFile.js +2 -13
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/disputesUploadEvidenceText.d.ts.map +1 -1
- package/funcs/disputesUploadEvidenceText.js +2 -12
- package/funcs/disputesUploadEvidenceText.js.map +1 -1
- package/funcs/endToEndEncryptionGenerateKey.d.ts.map +1 -1
- package/funcs/endToEndEncryptionGenerateKey.js +2 -1
- package/funcs/endToEndEncryptionGenerateKey.js.map +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.d.ts.map +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.js +2 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.js.map +1 -1
- package/funcs/enrichedAddressGet.d.ts.map +1 -1
- package/funcs/enrichedAddressGet.js +2 -1
- package/funcs/enrichedAddressGet.js.map +1 -1
- package/funcs/enrichedProfileGet.d.ts.map +1 -1
- package/funcs/enrichedProfileGet.js +2 -1
- package/funcs/enrichedProfileGet.js.map +1 -1
- package/funcs/feePlansCreateFeePlanAgreements.d.ts.map +1 -1
- package/funcs/feePlansCreateFeePlanAgreements.js +2 -13
- package/funcs/feePlansCreateFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansGetResidual.d.ts.map +1 -1
- package/funcs/feePlansGetResidual.js +2 -1
- package/funcs/feePlansGetResidual.js.map +1 -1
- package/funcs/feePlansListFeePlanAgreements.d.ts.map +1 -1
- package/funcs/feePlansListFeePlanAgreements.js +2 -1
- package/funcs/feePlansListFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansListFeePlans.d.ts.map +1 -1
- package/funcs/feePlansListFeePlans.js +2 -1
- package/funcs/feePlansListFeePlans.js.map +1 -1
- package/funcs/feePlansListFeeRevenue.d.ts.map +1 -1
- package/funcs/feePlansListFeeRevenue.js +2 -1
- package/funcs/feePlansListFeeRevenue.js.map +1 -1
- package/funcs/feePlansListFeesFetch.d.ts.map +1 -1
- package/funcs/feePlansListFeesFetch.js +2 -1
- package/funcs/feePlansListFeesFetch.js.map +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.d.ts.map +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.js +2 -1
- package/funcs/feePlansListPartnerPricingAgreements.js.map +1 -1
- package/funcs/feePlansListResidualFees.d.ts.map +1 -1
- package/funcs/feePlansListResidualFees.js +2 -1
- package/funcs/feePlansListResidualFees.js.map +1 -1
- package/funcs/feePlansListResiduals.d.ts.map +1 -1
- package/funcs/feePlansListResiduals.js +2 -1
- package/funcs/feePlansListResiduals.js.map +1 -1
- package/funcs/feePlansRetrieveFees.d.ts.map +1 -1
- package/funcs/feePlansRetrieveFees.js +2 -1
- package/funcs/feePlansRetrieveFees.js.map +1 -1
- package/funcs/filesGet.d.ts.map +1 -1
- package/funcs/filesGet.js +2 -1
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesList.d.ts.map +1 -1
- package/funcs/filesList.js +2 -1
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpload.d.ts.map +1 -1
- package/funcs/filesUpload.js +2 -13
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/imagesDelete.d.ts.map +1 -1
- package/funcs/imagesDelete.js +2 -12
- package/funcs/imagesDelete.js.map +1 -1
- package/funcs/imagesGetMetadata.d.ts.map +1 -1
- package/funcs/imagesGetMetadata.js +2 -1
- package/funcs/imagesGetMetadata.js.map +1 -1
- package/funcs/imagesGetPublic.d.ts.map +1 -1
- package/funcs/imagesGetPublic.js +2 -1
- package/funcs/imagesGetPublic.js.map +1 -1
- package/funcs/imagesList.d.ts.map +1 -1
- package/funcs/imagesList.js +2 -1
- package/funcs/imagesList.js.map +1 -1
- package/funcs/imagesUpdate.d.ts.map +1 -1
- package/funcs/imagesUpdate.js +2 -13
- package/funcs/imagesUpdate.js.map +1 -1
- package/funcs/imagesUpdateMetadata.d.ts.map +1 -1
- package/funcs/imagesUpdateMetadata.js +2 -13
- package/funcs/imagesUpdateMetadata.js.map +1 -1
- package/funcs/imagesUpload.d.ts.map +1 -1
- package/funcs/imagesUpload.js +2 -13
- package/funcs/imagesUpload.js.map +1 -1
- package/funcs/industriesList.d.ts.map +1 -1
- package/funcs/industriesList.js +2 -1
- package/funcs/industriesList.js.map +1 -1
- package/funcs/institutionsSearch.d.ts.map +1 -1
- package/funcs/institutionsSearch.js +2 -1
- package/funcs/institutionsSearch.js.map +1 -1
- package/funcs/institutionsSearchInstitutions.d.ts.map +1 -1
- package/funcs/institutionsSearchInstitutions.js +2 -1
- package/funcs/institutionsSearchInstitutions.js.map +1 -1
- package/funcs/issuingTransactionsGet.d.ts.map +1 -1
- package/funcs/issuingTransactionsGet.js +2 -1
- package/funcs/issuingTransactionsGet.js.map +1 -1
- package/funcs/issuingTransactionsGetAuthorization.d.ts.map +1 -1
- package/funcs/issuingTransactionsGetAuthorization.js +2 -1
- package/funcs/issuingTransactionsGetAuthorization.js.map +1 -1
- package/funcs/issuingTransactionsList.d.ts.map +1 -1
- package/funcs/issuingTransactionsList.js +2 -1
- package/funcs/issuingTransactionsList.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.d.ts.map +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.js +2 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizations.d.ts.map +1 -1
- package/funcs/issuingTransactionsListAuthorizations.js +2 -1
- package/funcs/issuingTransactionsListAuthorizations.js.map +1 -1
- package/funcs/onboardingCreateInvite.d.ts.map +1 -1
- package/funcs/onboardingCreateInvite.js +2 -13
- package/funcs/onboardingCreateInvite.js.map +1 -1
- package/funcs/onboardingGetInvite.d.ts.map +1 -1
- package/funcs/onboardingGetInvite.js +2 -1
- package/funcs/onboardingGetInvite.js.map +1 -1
- package/funcs/onboardingListInvites.d.ts.map +1 -1
- package/funcs/onboardingListInvites.js +2 -1
- package/funcs/onboardingListInvites.js.map +1 -1
- package/funcs/onboardingRevokeInvite.d.ts.map +1 -1
- package/funcs/onboardingRevokeInvite.js +2 -1
- package/funcs/onboardingRevokeInvite.js.map +1 -1
- package/funcs/paymentLinksCreate.d.ts.map +1 -1
- package/funcs/paymentLinksCreate.js +2 -13
- package/funcs/paymentLinksCreate.js.map +1 -1
- package/funcs/paymentLinksDisable.d.ts.map +1 -1
- package/funcs/paymentLinksDisable.js +2 -1
- package/funcs/paymentLinksDisable.js.map +1 -1
- package/funcs/paymentLinksGet.d.ts.map +1 -1
- package/funcs/paymentLinksGet.js +2 -1
- package/funcs/paymentLinksGet.js.map +1 -1
- package/funcs/paymentLinksGetQRCode.d.ts.map +1 -1
- package/funcs/paymentLinksGetQRCode.js +2 -1
- package/funcs/paymentLinksGetQRCode.js.map +1 -1
- package/funcs/paymentLinksList.d.ts.map +1 -1
- package/funcs/paymentLinksList.js +2 -1
- package/funcs/paymentLinksList.js.map +1 -1
- package/funcs/paymentLinksUpdate.d.ts.map +1 -1
- package/funcs/paymentLinksUpdate.js +2 -13
- package/funcs/paymentLinksUpdate.js.map +1 -1
- package/funcs/paymentMethodsGet.d.ts.map +1 -1
- package/funcs/paymentMethodsGet.js +2 -1
- package/funcs/paymentMethodsGet.js.map +1 -1
- package/funcs/paymentMethodsList.d.ts.map +1 -1
- package/funcs/paymentMethodsList.js +2 -1
- package/funcs/paymentMethodsList.js.map +1 -1
- package/funcs/pingPing.d.ts.map +1 -1
- package/funcs/pingPing.js +2 -1
- package/funcs/pingPing.js.map +1 -1
- package/funcs/productsCreate.d.ts.map +1 -1
- package/funcs/productsCreate.js +2 -13
- package/funcs/productsCreate.js.map +1 -1
- package/funcs/productsDisable.d.ts.map +1 -1
- package/funcs/productsDisable.js +2 -12
- package/funcs/productsDisable.js.map +1 -1
- package/funcs/productsGet.d.ts.map +1 -1
- package/funcs/productsGet.js +2 -1
- package/funcs/productsGet.js.map +1 -1
- package/funcs/productsList.d.ts.map +1 -1
- package/funcs/productsList.js +2 -1
- package/funcs/productsList.js.map +1 -1
- package/funcs/productsUpdate.d.ts.map +1 -1
- package/funcs/productsUpdate.js +2 -13
- package/funcs/productsUpdate.js.map +1 -1
- package/funcs/receiptsCreate.d.ts.map +1 -1
- package/funcs/receiptsCreate.js +2 -13
- package/funcs/receiptsCreate.js.map +1 -1
- package/funcs/receiptsList.d.ts.map +1 -1
- package/funcs/receiptsList.js +2 -1
- package/funcs/receiptsList.js.map +1 -1
- package/funcs/representativesCreate.d.ts.map +1 -1
- package/funcs/representativesCreate.js +2 -13
- package/funcs/representativesCreate.js.map +1 -1
- package/funcs/representativesDelete.d.ts.map +1 -1
- package/funcs/representativesDelete.js +2 -12
- package/funcs/representativesDelete.js.map +1 -1
- package/funcs/representativesGet.d.ts.map +1 -1
- package/funcs/representativesGet.js +2 -1
- package/funcs/representativesGet.js.map +1 -1
- package/funcs/representativesList.d.ts.map +1 -1
- package/funcs/representativesList.js +2 -1
- package/funcs/representativesList.js.map +1 -1
- package/funcs/representativesUpdate.d.ts.map +1 -1
- package/funcs/representativesUpdate.js +2 -12
- package/funcs/representativesUpdate.js.map +1 -1
- package/funcs/schedulingCancel.d.ts.map +1 -1
- package/funcs/schedulingCancel.js +2 -12
- package/funcs/schedulingCancel.js.map +1 -1
- package/funcs/schedulingCreate.d.ts.map +1 -1
- package/funcs/schedulingCreate.js +2 -13
- package/funcs/schedulingCreate.js.map +1 -1
- package/funcs/schedulingGet.d.ts.map +1 -1
- package/funcs/schedulingGet.js +2 -1
- package/funcs/schedulingGet.js.map +1 -1
- package/funcs/schedulingGetOccurrance.d.ts.map +1 -1
- package/funcs/schedulingGetOccurrance.js +2 -1
- package/funcs/schedulingGetOccurrance.js.map +1 -1
- package/funcs/schedulingList.d.ts.map +1 -1
- package/funcs/schedulingList.js +2 -1
- package/funcs/schedulingList.js.map +1 -1
- package/funcs/schedulingUpdate.d.ts.map +1 -1
- package/funcs/schedulingUpdate.js +2 -13
- package/funcs/schedulingUpdate.js.map +1 -1
- package/funcs/statementsGet.d.ts.map +1 -1
- package/funcs/statementsGet.js +2 -1
- package/funcs/statementsGet.js.map +1 -1
- package/funcs/statementsList.d.ts.map +1 -1
- package/funcs/statementsList.js +2 -1
- package/funcs/statementsList.js.map +1 -1
- package/funcs/supportCreateTicket.d.ts.map +1 -1
- package/funcs/supportCreateTicket.js +2 -13
- package/funcs/supportCreateTicket.js.map +1 -1
- package/funcs/supportGetTicket.d.ts.map +1 -1
- package/funcs/supportGetTicket.js +2 -1
- package/funcs/supportGetTicket.js.map +1 -1
- package/funcs/supportListTicketMessages.d.ts.map +1 -1
- package/funcs/supportListTicketMessages.js +2 -1
- package/funcs/supportListTicketMessages.js.map +1 -1
- package/funcs/supportListTickets.d.ts.map +1 -1
- package/funcs/supportListTickets.js +2 -1
- package/funcs/supportListTickets.js.map +1 -1
- package/funcs/supportUpdateTicket.d.ts.map +1 -1
- package/funcs/supportUpdateTicket.js +2 -13
- package/funcs/supportUpdateTicket.js.map +1 -1
- package/funcs/sweepsCreateConfig.d.ts.map +1 -1
- package/funcs/sweepsCreateConfig.js +2 -13
- package/funcs/sweepsCreateConfig.js.map +1 -1
- package/funcs/sweepsGet.d.ts.map +1 -1
- package/funcs/sweepsGet.js +2 -1
- package/funcs/sweepsGet.js.map +1 -1
- package/funcs/sweepsGetConfig.d.ts.map +1 -1
- package/funcs/sweepsGetConfig.js +2 -1
- package/funcs/sweepsGetConfig.js.map +1 -1
- package/funcs/sweepsList.d.ts.map +1 -1
- package/funcs/sweepsList.js +2 -1
- package/funcs/sweepsList.js.map +1 -1
- package/funcs/sweepsListConfigs.d.ts.map +1 -1
- package/funcs/sweepsListConfigs.js +2 -1
- package/funcs/sweepsListConfigs.js.map +1 -1
- package/funcs/sweepsUpdateConfig.d.ts.map +1 -1
- package/funcs/sweepsUpdateConfig.js +2 -13
- package/funcs/sweepsUpdateConfig.js.map +1 -1
- package/funcs/terminalApplicationsCreate.d.ts.map +1 -1
- package/funcs/terminalApplicationsCreate.js +2 -13
- package/funcs/terminalApplicationsCreate.js.map +1 -1
- package/funcs/terminalApplicationsCreateVersion.d.ts.map +1 -1
- package/funcs/terminalApplicationsCreateVersion.js +2 -13
- package/funcs/terminalApplicationsCreateVersion.js.map +1 -1
- package/funcs/terminalApplicationsDelete.d.ts.map +1 -1
- package/funcs/terminalApplicationsDelete.js +2 -12
- package/funcs/terminalApplicationsDelete.js.map +1 -1
- package/funcs/terminalApplicationsGet.d.ts.map +1 -1
- package/funcs/terminalApplicationsGet.js +2 -1
- package/funcs/terminalApplicationsGet.js.map +1 -1
- package/funcs/terminalApplicationsList.d.ts.map +1 -1
- package/funcs/terminalApplicationsList.js +2 -1
- package/funcs/terminalApplicationsList.js.map +1 -1
- package/funcs/transfersBatchGetTransfers.d.ts.map +1 -1
- package/funcs/transfersBatchGetTransfers.js +2 -1
- package/funcs/transfersBatchGetTransfers.js.map +1 -1
- package/funcs/transfersCreate.d.ts.map +1 -1
- package/funcs/transfersCreate.js +2 -1
- package/funcs/transfersCreate.js.map +1 -1
- package/funcs/transfersCreateCancellation.d.ts.map +1 -1
- package/funcs/transfersCreateCancellation.js +2 -1
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateReversal.d.ts.map +1 -1
- package/funcs/transfersCreateReversal.js +2 -13
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersGenerateOptions.d.ts.map +1 -1
- package/funcs/transfersGenerateOptions.js +2 -1
- package/funcs/transfersGenerateOptions.js.map +1 -1
- package/funcs/transfersGet.d.ts.map +1 -1
- package/funcs/transfersGet.js +2 -1
- package/funcs/transfersGet.js.map +1 -1
- package/funcs/transfersGetCancellation.d.ts.map +1 -1
- package/funcs/transfersGetCancellation.js +2 -1
- package/funcs/transfersGetCancellation.js.map +1 -1
- package/funcs/transfersGetRefund.d.ts.map +1 -1
- package/funcs/transfersGetRefund.js +2 -1
- package/funcs/transfersGetRefund.js.map +1 -1
- package/funcs/transfersInitiateRefund.d.ts.map +1 -1
- package/funcs/transfersInitiateRefund.js +2 -1
- package/funcs/transfersInitiateRefund.js.map +1 -1
- package/funcs/transfersList.d.ts.map +1 -1
- package/funcs/transfersList.js +2 -1
- package/funcs/transfersList.js.map +1 -1
- package/funcs/transfersListRefunds.d.ts.map +1 -1
- package/funcs/transfersListRefunds.js +2 -1
- package/funcs/transfersListRefunds.js.map +1 -1
- package/funcs/transfersUpdate.d.ts.map +1 -1
- package/funcs/transfersUpdate.js +2 -1
- package/funcs/transfersUpdate.js.map +1 -1
- package/funcs/underwritingGet.d.ts.map +1 -1
- package/funcs/underwritingGet.js +2 -1
- package/funcs/underwritingGet.js.map +1 -1
- package/funcs/underwritingSave.d.ts.map +1 -1
- package/funcs/underwritingSave.js +2 -13
- package/funcs/underwritingSave.js.map +1 -1
- package/funcs/underwritingUpsert.d.ts.map +1 -1
- package/funcs/underwritingUpsert.js +2 -13
- package/funcs/underwritingUpsert.js.map +1 -1
- package/funcs/walletTransactionsGet.d.ts.map +1 -1
- package/funcs/walletTransactionsGet.js +2 -1
- package/funcs/walletTransactionsGet.js.map +1 -1
- package/funcs/walletTransactionsList.d.ts.map +1 -1
- package/funcs/walletTransactionsList.js +2 -1
- package/funcs/walletTransactionsList.js.map +1 -1
- package/funcs/walletsCreate.d.ts.map +1 -1
- package/funcs/walletsCreate.js +2 -13
- package/funcs/walletsCreate.js.map +1 -1
- package/funcs/walletsGet.d.ts.map +1 -1
- package/funcs/walletsGet.js +2 -1
- package/funcs/walletsGet.js.map +1 -1
- package/funcs/walletsList.d.ts.map +1 -1
- package/funcs/walletsList.js +2 -1
- package/funcs/walletsList.js.map +1 -1
- package/funcs/walletsUpdate.d.ts.map +1 -1
- package/funcs/walletsUpdate.js +2 -13
- package/funcs/walletsUpdate.js.map +1 -1
- package/funcs/webhooksCreate.d.ts.map +1 -1
- package/funcs/webhooksCreate.js +2 -13
- package/funcs/webhooksCreate.js.map +1 -1
- package/funcs/webhooksDisable.d.ts.map +1 -1
- package/funcs/webhooksDisable.js +2 -12
- package/funcs/webhooksDisable.js.map +1 -1
- package/funcs/webhooksGet.d.ts.map +1 -1
- package/funcs/webhooksGet.js +2 -1
- package/funcs/webhooksGet.js.map +1 -1
- package/funcs/webhooksGetSecret.d.ts.map +1 -1
- package/funcs/webhooksGetSecret.js +2 -1
- package/funcs/webhooksGetSecret.js.map +1 -1
- package/funcs/webhooksList.d.ts.map +1 -1
- package/funcs/webhooksList.js +2 -1
- package/funcs/webhooksList.js.map +1 -1
- package/funcs/webhooksListEventTypes.d.ts.map +1 -1
- package/funcs/webhooksListEventTypes.js +2 -1
- package/funcs/webhooksListEventTypes.js.map +1 -1
- package/funcs/webhooksPing.d.ts.map +1 -1
- package/funcs/webhooksPing.js +2 -1
- package/funcs/webhooksPing.js.map +1 -1
- package/funcs/webhooksUpdate.d.ts.map +1 -1
- package/funcs/webhooksUpdate.js +2 -13
- package/funcs/webhooksUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/sdks.d.ts +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +2 -4
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/disbursementpaymentmethodtype.d.ts +2 -0
- package/models/components/disbursementpaymentmethodtype.d.ts.map +1 -1
- package/models/components/disbursementpaymentmethodtype.js +2 -0
- package/models/components/disbursementpaymentmethodtype.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/accountTerminalApplicationsGet.ts +3 -1
- package/src/funcs/accountTerminalApplicationsGetConfiguration.ts +3 -1
- package/src/funcs/accountTerminalApplicationsLink.ts +3 -13
- package/src/funcs/accountTerminalApplicationsList.ts +3 -1
- package/src/funcs/accountsAssignCountries.ts +3 -13
- package/src/funcs/accountsConnect.ts +3 -13
- package/src/funcs/accountsCreate.ts +3 -13
- package/src/funcs/accountsDisconnect.ts +3 -12
- package/src/funcs/accountsGet.ts +3 -1
- package/src/funcs/accountsGetCountries.ts +3 -1
- package/src/funcs/accountsGetMerchantProcessingAgreement.ts +3 -1
- package/src/funcs/accountsGetTermsOfServiceToken.ts +3 -1
- package/src/funcs/accountsList.ts +3 -1
- package/src/funcs/accountsListConnected.ts +3 -1
- package/src/funcs/accountsUpdate.ts +3 -13
- package/src/funcs/adjustmentsGet.ts +3 -1
- package/src/funcs/adjustmentsList.ts +3 -1
- package/src/funcs/applePayCreateSession.ts +3 -13
- package/src/funcs/applePayGetMerchantDomains.ts +3 -1
- package/src/funcs/applePayLinkToken.ts +3 -13
- package/src/funcs/applePayRegisterMerchantDomains.ts +3 -12
- package/src/funcs/applePayUpdateMerchantDomains.ts +3 -13
- package/src/funcs/authenticationCreateAccessToken.ts +3 -1
- package/src/funcs/authenticationRevokeAccessToken.ts +3 -1
- package/src/funcs/avatarsGet.ts +3 -1
- package/src/funcs/bankAccountsCompleteMicroDeposits.ts +3 -13
- package/src/funcs/bankAccountsCompleteVerification.ts +3 -13
- package/src/funcs/bankAccountsDisable.ts +3 -12
- package/src/funcs/bankAccountsGet.ts +3 -1
- package/src/funcs/bankAccountsGetVerification.ts +3 -1
- package/src/funcs/bankAccountsInitiateMicroDeposits.ts +3 -12
- package/src/funcs/bankAccountsInitiateVerification.ts +3 -12
- package/src/funcs/bankAccountsLink.ts +3 -13
- package/src/funcs/bankAccountsList.ts +3 -1
- package/src/funcs/brandingCreate.ts +3 -13
- package/src/funcs/brandingGet.ts +3 -1
- package/src/funcs/brandingUpsert.ts +3 -13
- package/src/funcs/capabilitiesDisable.ts +3 -12
- package/src/funcs/capabilitiesGet.ts +3 -1
- package/src/funcs/capabilitiesList.ts +3 -1
- package/src/funcs/capabilitiesRequest.ts +3 -13
- package/src/funcs/cardIssuingGet.ts +3 -1
- package/src/funcs/cardIssuingGetFull.ts +3 -1
- package/src/funcs/cardIssuingList.ts +3 -1
- package/src/funcs/cardIssuingRequest.ts +3 -12
- package/src/funcs/cardIssuingUpdate.ts +3 -13
- package/src/funcs/cardsDisable.ts +3 -12
- package/src/funcs/cardsGet.ts +3 -1
- package/src/funcs/cardsLink.ts +3 -13
- package/src/funcs/cardsList.ts +3 -1
- package/src/funcs/cardsUpdate.ts +3 -13
- package/src/funcs/disputesAccept.ts +3 -12
- package/src/funcs/disputesDeleteEvidence.ts +3 -1
- package/src/funcs/disputesGet.ts +3 -1
- package/src/funcs/disputesGetEvidence.ts +3 -1
- package/src/funcs/disputesGetEvidenceData.ts +3 -1
- package/src/funcs/disputesList.ts +3 -1
- package/src/funcs/disputesListEvidence.ts +3 -1
- package/src/funcs/disputesSubmitEvidence.ts +3 -12
- package/src/funcs/disputesUpdateEvidence.ts +3 -1
- package/src/funcs/disputesUploadEvidenceFile.ts +3 -13
- package/src/funcs/disputesUploadEvidenceText.ts +3 -12
- package/src/funcs/endToEndEncryptionGenerateKey.ts +3 -1
- package/src/funcs/endToEndEncryptionTestEncryptedToken.ts +3 -1
- package/src/funcs/enrichedAddressGet.ts +3 -1
- package/src/funcs/enrichedProfileGet.ts +3 -1
- package/src/funcs/feePlansCreateFeePlanAgreements.ts +3 -13
- package/src/funcs/feePlansGetResidual.ts +3 -1
- package/src/funcs/feePlansListFeePlanAgreements.ts +3 -1
- package/src/funcs/feePlansListFeePlans.ts +3 -1
- package/src/funcs/feePlansListFeeRevenue.ts +3 -1
- package/src/funcs/feePlansListFeesFetch.ts +3 -1
- package/src/funcs/feePlansListPartnerPricingAgreements.ts +3 -1
- package/src/funcs/feePlansListResidualFees.ts +3 -1
- package/src/funcs/feePlansListResiduals.ts +3 -1
- package/src/funcs/feePlansRetrieveFees.ts +3 -1
- package/src/funcs/filesGet.ts +3 -1
- package/src/funcs/filesList.ts +3 -1
- package/src/funcs/filesUpload.ts +3 -13
- package/src/funcs/imagesDelete.ts +3 -12
- package/src/funcs/imagesGetMetadata.ts +3 -1
- package/src/funcs/imagesGetPublic.ts +3 -1
- package/src/funcs/imagesList.ts +3 -1
- package/src/funcs/imagesUpdate.ts +3 -13
- package/src/funcs/imagesUpdateMetadata.ts +3 -13
- package/src/funcs/imagesUpload.ts +3 -13
- package/src/funcs/industriesList.ts +3 -1
- package/src/funcs/institutionsSearch.ts +3 -1
- package/src/funcs/institutionsSearchInstitutions.ts +3 -1
- package/src/funcs/issuingTransactionsGet.ts +3 -1
- package/src/funcs/issuingTransactionsGetAuthorization.ts +3 -1
- package/src/funcs/issuingTransactionsList.ts +3 -1
- package/src/funcs/issuingTransactionsListAuthorizationEvents.ts +3 -1
- package/src/funcs/issuingTransactionsListAuthorizations.ts +3 -1
- package/src/funcs/onboardingCreateInvite.ts +3 -13
- package/src/funcs/onboardingGetInvite.ts +3 -1
- package/src/funcs/onboardingListInvites.ts +3 -1
- package/src/funcs/onboardingRevokeInvite.ts +3 -1
- package/src/funcs/paymentLinksCreate.ts +3 -13
- package/src/funcs/paymentLinksDisable.ts +3 -1
- package/src/funcs/paymentLinksGet.ts +3 -1
- package/src/funcs/paymentLinksGetQRCode.ts +3 -1
- package/src/funcs/paymentLinksList.ts +3 -1
- package/src/funcs/paymentLinksUpdate.ts +3 -13
- package/src/funcs/paymentMethodsGet.ts +3 -1
- package/src/funcs/paymentMethodsList.ts +3 -1
- package/src/funcs/pingPing.ts +3 -1
- package/src/funcs/productsCreate.ts +3 -13
- package/src/funcs/productsDisable.ts +3 -12
- package/src/funcs/productsGet.ts +3 -1
- package/src/funcs/productsList.ts +3 -1
- package/src/funcs/productsUpdate.ts +3 -13
- package/src/funcs/receiptsCreate.ts +3 -13
- package/src/funcs/receiptsList.ts +3 -1
- package/src/funcs/representativesCreate.ts +3 -13
- package/src/funcs/representativesDelete.ts +3 -12
- package/src/funcs/representativesGet.ts +3 -1
- package/src/funcs/representativesList.ts +3 -1
- package/src/funcs/representativesUpdate.ts +3 -12
- package/src/funcs/schedulingCancel.ts +3 -12
- package/src/funcs/schedulingCreate.ts +3 -13
- package/src/funcs/schedulingGet.ts +3 -1
- package/src/funcs/schedulingGetOccurrance.ts +3 -1
- package/src/funcs/schedulingList.ts +3 -1
- package/src/funcs/schedulingUpdate.ts +3 -13
- package/src/funcs/statementsGet.ts +3 -1
- package/src/funcs/statementsList.ts +3 -1
- package/src/funcs/supportCreateTicket.ts +3 -13
- package/src/funcs/supportGetTicket.ts +3 -1
- package/src/funcs/supportListTicketMessages.ts +3 -1
- package/src/funcs/supportListTickets.ts +3 -1
- package/src/funcs/supportUpdateTicket.ts +3 -13
- package/src/funcs/sweepsCreateConfig.ts +3 -13
- package/src/funcs/sweepsGet.ts +3 -1
- package/src/funcs/sweepsGetConfig.ts +3 -1
- package/src/funcs/sweepsList.ts +3 -1
- package/src/funcs/sweepsListConfigs.ts +3 -1
- package/src/funcs/sweepsUpdateConfig.ts +3 -13
- package/src/funcs/terminalApplicationsCreate.ts +3 -13
- package/src/funcs/terminalApplicationsCreateVersion.ts +3 -13
- package/src/funcs/terminalApplicationsDelete.ts +3 -12
- package/src/funcs/terminalApplicationsGet.ts +3 -1
- package/src/funcs/terminalApplicationsList.ts +3 -1
- package/src/funcs/transfersBatchGetTransfers.ts +3 -1
- package/src/funcs/transfersCreate.ts +3 -1
- package/src/funcs/transfersCreateCancellation.ts +3 -1
- package/src/funcs/transfersCreateReversal.ts +3 -13
- package/src/funcs/transfersGenerateOptions.ts +3 -1
- package/src/funcs/transfersGet.ts +3 -1
- package/src/funcs/transfersGetCancellation.ts +3 -1
- package/src/funcs/transfersGetRefund.ts +3 -1
- package/src/funcs/transfersInitiateRefund.ts +3 -1
- package/src/funcs/transfersList.ts +3 -1
- package/src/funcs/transfersListRefunds.ts +3 -1
- package/src/funcs/transfersUpdate.ts +3 -1
- package/src/funcs/underwritingGet.ts +3 -1
- package/src/funcs/underwritingSave.ts +3 -13
- package/src/funcs/underwritingUpsert.ts +3 -13
- package/src/funcs/walletTransactionsGet.ts +3 -1
- package/src/funcs/walletTransactionsList.ts +3 -1
- package/src/funcs/walletsCreate.ts +3 -13
- package/src/funcs/walletsGet.ts +3 -1
- package/src/funcs/walletsList.ts +3 -1
- package/src/funcs/walletsUpdate.ts +3 -13
- package/src/funcs/webhooksCreate.ts +3 -13
- package/src/funcs/webhooksDisable.ts +3 -12
- package/src/funcs/webhooksGet.ts +3 -1
- package/src/funcs/webhooksGetSecret.ts +3 -1
- package/src/funcs/webhooksList.ts +3 -1
- package/src/funcs/webhooksListEventTypes.ts +3 -1
- package/src/funcs/webhooksPing.ts +3 -1
- package/src/funcs/webhooksUpdate.ts +3 -13
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +3 -6
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/disbursementpaymentmethodtype.ts +2 -0
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -140,7 +141,8 @@ async function $do(
|
|
|
140
141
|
|
|
141
142
|
const doResult = await client._do(req, {
|
|
142
143
|
context,
|
|
143
|
-
|
|
144
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
145
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
144
146
|
retryConfig: context.retryConfig,
|
|
145
147
|
retryCodes: context.retryCodes,
|
|
146
148
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -143,7 +144,8 @@ async function $do(
|
|
|
143
144
|
|
|
144
145
|
const doResult = await client._do(req, {
|
|
145
146
|
context,
|
|
146
|
-
|
|
147
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
148
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
147
149
|
retryConfig: context.retryConfig,
|
|
148
150
|
retryCodes: context.retryCodes,
|
|
149
151
|
});
|
package/src/funcs/filesGet.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -136,7 +137,8 @@ async function $do(
|
|
|
136
137
|
|
|
137
138
|
const doResult = await client._do(req, {
|
|
138
139
|
context,
|
|
139
|
-
|
|
140
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
141
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
140
142
|
retryConfig: context.retryConfig,
|
|
141
143
|
retryCodes: context.retryCodes,
|
|
142
144
|
});
|
package/src/funcs/filesList.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -132,7 +133,8 @@ async function $do(
|
|
|
132
133
|
|
|
133
134
|
const doResult = await client._do(req, {
|
|
134
135
|
context,
|
|
135
|
-
|
|
136
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
137
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
136
138
|
retryConfig: context.retryConfig,
|
|
137
139
|
retryCodes: context.retryCodes,
|
|
138
140
|
});
|
package/src/funcs/filesUpload.ts
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
getContentTypeFromFileName,
|
|
10
10
|
readableStreamToArrayBuffer,
|
|
11
11
|
} from "../lib/files.js";
|
|
12
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
12
13
|
import * as M from "../lib/matchers.js";
|
|
13
14
|
import { compactMap } from "../lib/primitives.js";
|
|
14
15
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -189,19 +190,8 @@ async function $do(
|
|
|
189
190
|
|
|
190
191
|
const doResult = await client._do(req, {
|
|
191
192
|
context,
|
|
192
|
-
|
|
193
|
-
"
|
|
194
|
-
"401",
|
|
195
|
-
"403",
|
|
196
|
-
"404",
|
|
197
|
-
"409",
|
|
198
|
-
"422",
|
|
199
|
-
"429",
|
|
200
|
-
"4XX",
|
|
201
|
-
"500",
|
|
202
|
-
"504",
|
|
203
|
-
"5XX",
|
|
204
|
-
],
|
|
193
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
194
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
205
195
|
retryConfig: context.retryConfig,
|
|
206
196
|
retryCodes: context.retryCodes,
|
|
207
197
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -139,18 +140,8 @@ async function $do(
|
|
|
139
140
|
|
|
140
141
|
const doResult = await client._do(req, {
|
|
141
142
|
context,
|
|
142
|
-
|
|
143
|
-
"
|
|
144
|
-
"401",
|
|
145
|
-
"403",
|
|
146
|
-
"404",
|
|
147
|
-
"409",
|
|
148
|
-
"429",
|
|
149
|
-
"4XX",
|
|
150
|
-
"500",
|
|
151
|
-
"504",
|
|
152
|
-
"5XX",
|
|
153
|
-
],
|
|
143
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
144
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
154
145
|
retryConfig: context.retryConfig,
|
|
155
146
|
retryCodes: context.retryCodes,
|
|
156
147
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -133,7 +134,8 @@ async function $do(
|
|
|
133
134
|
|
|
134
135
|
const doResult = await client._do(req, {
|
|
135
136
|
context,
|
|
136
|
-
|
|
137
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
138
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
137
139
|
retryConfig: context.retryConfig,
|
|
138
140
|
retryCodes: context.retryCodes,
|
|
139
141
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -140,7 +141,8 @@ async function $do(
|
|
|
140
141
|
|
|
141
142
|
const doResult = await client._do(req, {
|
|
142
143
|
context,
|
|
143
|
-
|
|
144
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
145
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
144
146
|
retryConfig: context.retryConfig,
|
|
145
147
|
retryCodes: context.retryCodes,
|
|
146
148
|
});
|
package/src/funcs/imagesList.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -135,7 +136,8 @@ async function $do(
|
|
|
135
136
|
|
|
136
137
|
const doResult = await client._do(req, {
|
|
137
138
|
context,
|
|
138
|
-
|
|
139
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
140
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
139
141
|
retryConfig: context.retryConfig,
|
|
140
142
|
retryCodes: context.retryCodes,
|
|
141
143
|
});
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
getContentTypeFromFileName,
|
|
15
15
|
readableStreamToArrayBuffer,
|
|
16
16
|
} from "../lib/files.js";
|
|
17
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
17
18
|
import * as M from "../lib/matchers.js";
|
|
18
19
|
import { compactMap } from "../lib/primitives.js";
|
|
19
20
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -199,19 +200,8 @@ async function $do(
|
|
|
199
200
|
|
|
200
201
|
const doResult = await client._do(req, {
|
|
201
202
|
context,
|
|
202
|
-
|
|
203
|
-
"
|
|
204
|
-
"401",
|
|
205
|
-
"403",
|
|
206
|
-
"404",
|
|
207
|
-
"409",
|
|
208
|
-
"422",
|
|
209
|
-
"429",
|
|
210
|
-
"4XX",
|
|
211
|
-
"500",
|
|
212
|
-
"504",
|
|
213
|
-
"5XX",
|
|
214
|
-
],
|
|
203
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
204
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
215
205
|
retryConfig: context.retryConfig,
|
|
216
206
|
retryCodes: context.retryCodes,
|
|
217
207
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -144,19 +145,8 @@ async function $do(
|
|
|
144
145
|
|
|
145
146
|
const doResult = await client._do(req, {
|
|
146
147
|
context,
|
|
147
|
-
|
|
148
|
-
"
|
|
149
|
-
"401",
|
|
150
|
-
"403",
|
|
151
|
-
"404",
|
|
152
|
-
"409",
|
|
153
|
-
"422",
|
|
154
|
-
"429",
|
|
155
|
-
"4XX",
|
|
156
|
-
"500",
|
|
157
|
-
"504",
|
|
158
|
-
"5XX",
|
|
159
|
-
],
|
|
148
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
149
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
160
150
|
retryConfig: context.retryConfig,
|
|
161
151
|
retryCodes: context.retryCodes,
|
|
162
152
|
});
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
getContentTypeFromFileName,
|
|
15
15
|
readableStreamToArrayBuffer,
|
|
16
16
|
} from "../lib/files.js";
|
|
17
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
17
18
|
import * as M from "../lib/matchers.js";
|
|
18
19
|
import { compactMap } from "../lib/primitives.js";
|
|
19
20
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -193,19 +194,8 @@ async function $do(
|
|
|
193
194
|
|
|
194
195
|
const doResult = await client._do(req, {
|
|
195
196
|
context,
|
|
196
|
-
|
|
197
|
-
"
|
|
198
|
-
"401",
|
|
199
|
-
"403",
|
|
200
|
-
"404",
|
|
201
|
-
"409",
|
|
202
|
-
"422",
|
|
203
|
-
"429",
|
|
204
|
-
"4XX",
|
|
205
|
-
"500",
|
|
206
|
-
"504",
|
|
207
|
-
"5XX",
|
|
208
|
-
],
|
|
197
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
198
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
209
199
|
retryConfig: context.retryConfig,
|
|
210
200
|
retryCodes: context.retryCodes,
|
|
211
201
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -109,7 +110,8 @@ async function $do(
|
|
|
109
110
|
|
|
110
111
|
const doResult = await client._do(req, {
|
|
111
112
|
context,
|
|
112
|
-
|
|
113
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
114
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
113
115
|
retryConfig: context.retryConfig,
|
|
114
116
|
retryCodes: context.retryCodes,
|
|
115
117
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -141,7 +142,8 @@ async function $do(
|
|
|
141
142
|
|
|
142
143
|
const doResult = await client._do(req, {
|
|
143
144
|
context,
|
|
144
|
-
|
|
145
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
146
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
145
147
|
retryConfig: context.retryConfig,
|
|
146
148
|
retryCodes: context.retryCodes,
|
|
147
149
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -137,7 +138,8 @@ async function $do(
|
|
|
137
138
|
|
|
138
139
|
const doResult = await client._do(req, {
|
|
139
140
|
context,
|
|
140
|
-
|
|
141
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
142
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
141
143
|
retryConfig: context.retryConfig,
|
|
142
144
|
retryCodes: context.retryCodes,
|
|
143
145
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -140,7 +141,8 @@ async function $do(
|
|
|
140
141
|
|
|
141
142
|
const doResult = await client._do(req, {
|
|
142
143
|
context,
|
|
143
|
-
|
|
144
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
145
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
144
146
|
retryConfig: context.retryConfig,
|
|
145
147
|
retryCodes: context.retryCodes,
|
|
146
148
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -139,7 +140,8 @@ async function $do(
|
|
|
139
140
|
|
|
140
141
|
const doResult = await client._do(req, {
|
|
141
142
|
context,
|
|
142
|
-
|
|
143
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
144
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
143
145
|
retryConfig: context.retryConfig,
|
|
144
146
|
retryCodes: context.retryCodes,
|
|
145
147
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -142,7 +143,8 @@ async function $do(
|
|
|
142
143
|
|
|
143
144
|
const doResult = await client._do(req, {
|
|
144
145
|
context,
|
|
145
|
-
|
|
146
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
147
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
146
148
|
retryConfig: context.retryConfig,
|
|
147
149
|
retryCodes: context.retryCodes,
|
|
148
150
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -147,7 +148,8 @@ async function $do(
|
|
|
147
148
|
|
|
148
149
|
const doResult = await client._do(req, {
|
|
149
150
|
context,
|
|
150
|
-
|
|
151
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
152
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
151
153
|
retryConfig: context.retryConfig,
|
|
152
154
|
retryCodes: context.retryCodes,
|
|
153
155
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -145,7 +146,8 @@ async function $do(
|
|
|
145
146
|
|
|
146
147
|
const doResult = await client._do(req, {
|
|
147
148
|
context,
|
|
148
|
-
|
|
149
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
150
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
149
151
|
retryConfig: context.retryConfig,
|
|
150
152
|
retryCodes: context.retryCodes,
|
|
151
153
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeJSON } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -133,19 +134,8 @@ async function $do(
|
|
|
133
134
|
|
|
134
135
|
const doResult = await client._do(req, {
|
|
135
136
|
context,
|
|
136
|
-
|
|
137
|
-
"
|
|
138
|
-
"401",
|
|
139
|
-
"403",
|
|
140
|
-
"404",
|
|
141
|
-
"409",
|
|
142
|
-
"422",
|
|
143
|
-
"429",
|
|
144
|
-
"4XX",
|
|
145
|
-
"500",
|
|
146
|
-
"504",
|
|
147
|
-
"5XX",
|
|
148
|
-
],
|
|
137
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
138
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
149
139
|
retryConfig: context.retryConfig,
|
|
150
140
|
retryCodes: context.retryCodes,
|
|
151
141
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -133,7 +134,8 @@ async function $do(
|
|
|
133
134
|
|
|
134
135
|
const doResult = await client._do(req, {
|
|
135
136
|
context,
|
|
136
|
-
|
|
137
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
138
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
137
139
|
retryConfig: context.retryConfig,
|
|
138
140
|
retryCodes: context.retryCodes,
|
|
139
141
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -109,7 +110,8 @@ async function $do(
|
|
|
109
110
|
|
|
110
111
|
const doResult = await client._do(req, {
|
|
111
112
|
context,
|
|
112
|
-
|
|
113
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
114
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
113
115
|
retryConfig: context.retryConfig,
|
|
114
116
|
retryCodes: context.retryCodes,
|
|
115
117
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -133,7 +134,8 @@ async function $do(
|
|
|
133
134
|
|
|
134
135
|
const doResult = await client._do(req, {
|
|
135
136
|
context,
|
|
136
|
-
|
|
137
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
138
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
137
139
|
retryConfig: context.retryConfig,
|
|
138
140
|
retryCodes: context.retryCodes,
|
|
139
141
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -138,19 +139,8 @@ async function $do(
|
|
|
138
139
|
|
|
139
140
|
const doResult = await client._do(req, {
|
|
140
141
|
context,
|
|
141
|
-
|
|
142
|
-
"
|
|
143
|
-
"401",
|
|
144
|
-
"403",
|
|
145
|
-
"404",
|
|
146
|
-
"409",
|
|
147
|
-
"422",
|
|
148
|
-
"429",
|
|
149
|
-
"4XX",
|
|
150
|
-
"500",
|
|
151
|
-
"504",
|
|
152
|
-
"5XX",
|
|
153
|
-
],
|
|
142
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
143
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
154
144
|
retryConfig: context.retryConfig,
|
|
155
145
|
retryCodes: context.retryCodes,
|
|
156
146
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -138,7 +139,8 @@ async function $do(
|
|
|
138
139
|
|
|
139
140
|
const doResult = await client._do(req, {
|
|
140
141
|
context,
|
|
141
|
-
|
|
142
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
143
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
142
144
|
retryConfig: context.retryConfig,
|
|
143
145
|
retryCodes: context.retryCodes,
|
|
144
146
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -138,7 +139,8 @@ async function $do(
|
|
|
138
139
|
|
|
139
140
|
const doResult = await client._do(req, {
|
|
140
141
|
context,
|
|
141
|
-
|
|
142
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
143
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
142
144
|
retryConfig: context.retryConfig,
|
|
143
145
|
retryCodes: context.retryCodes,
|
|
144
146
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -147,7 +148,8 @@ async function $do(
|
|
|
147
148
|
|
|
148
149
|
const doResult = await client._do(req, {
|
|
149
150
|
context,
|
|
150
|
-
|
|
151
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
152
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
151
153
|
retryConfig: context.retryConfig,
|
|
152
154
|
retryCodes: context.retryCodes,
|
|
153
155
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -139,7 +140,8 @@ async function $do(
|
|
|
139
140
|
|
|
140
141
|
const doResult = await client._do(req, {
|
|
141
142
|
context,
|
|
142
|
-
|
|
143
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
144
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
143
145
|
retryConfig: context.retryConfig,
|
|
144
146
|
retryCodes: context.retryCodes,
|
|
145
147
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
6
|
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
8
|
import * as M from "../lib/matchers.js";
|
|
8
9
|
import { compactMap } from "../lib/primitives.js";
|
|
9
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -144,19 +145,8 @@ async function $do(
|
|
|
144
145
|
|
|
145
146
|
const doResult = await client._do(req, {
|
|
146
147
|
context,
|
|
147
|
-
|
|
148
|
-
"
|
|
149
|
-
"401",
|
|
150
|
-
"403",
|
|
151
|
-
"404",
|
|
152
|
-
"409",
|
|
153
|
-
"422",
|
|
154
|
-
"429",
|
|
155
|
-
"4XX",
|
|
156
|
-
"500",
|
|
157
|
-
"504",
|
|
158
|
-
"5XX",
|
|
159
|
-
],
|
|
148
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
149
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
160
150
|
retryConfig: context.retryConfig,
|
|
161
151
|
retryCodes: context.retryCodes,
|
|
162
152
|
});
|