@moovio/sdk 0.3.5 → 0.4.0
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 +62 -46
- package/docs/sdks/{billing → feeplans}/README.md +199 -17
- package/docs/sdks/transfers/README.md +17 -3
- package/funcs/accountsAssignCountries.d.ts +2 -1
- package/funcs/accountsAssignCountries.d.ts.map +1 -1
- package/funcs/accountsAssignCountries.js +11 -7
- package/funcs/accountsAssignCountries.js.map +1 -1
- package/funcs/accountsCreate.d.ts +2 -1
- package/funcs/accountsCreate.d.ts.map +1 -1
- package/funcs/accountsCreate.js +11 -7
- package/funcs/accountsCreate.js.map +1 -1
- package/funcs/accountsDisconnect.d.ts +2 -1
- package/funcs/accountsDisconnect.d.ts.map +1 -1
- package/funcs/accountsDisconnect.js +11 -7
- package/funcs/accountsDisconnect.js.map +1 -1
- package/funcs/accountsGet.d.ts +2 -1
- package/funcs/accountsGet.d.ts.map +1 -1
- package/funcs/accountsGet.js +11 -7
- package/funcs/accountsGet.js.map +1 -1
- package/funcs/accountsGetCountries.d.ts +2 -1
- package/funcs/accountsGetCountries.d.ts.map +1 -1
- package/funcs/accountsGetCountries.js +11 -7
- package/funcs/accountsGetCountries.js.map +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.d.ts +2 -1
- package/funcs/accountsGetMerchantProcessingAgreement.d.ts.map +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.js +11 -7
- package/funcs/accountsGetMerchantProcessingAgreement.js.map +1 -1
- package/funcs/accountsGetTermsOfServiceToken.d.ts +2 -1
- package/funcs/accountsGetTermsOfServiceToken.d.ts.map +1 -1
- package/funcs/accountsGetTermsOfServiceToken.js +11 -7
- package/funcs/accountsGetTermsOfServiceToken.js.map +1 -1
- package/funcs/accountsList.d.ts +2 -1
- package/funcs/accountsList.d.ts.map +1 -1
- package/funcs/accountsList.js +11 -7
- package/funcs/accountsList.js.map +1 -1
- package/funcs/accountsUpdate.d.ts +2 -1
- package/funcs/accountsUpdate.d.ts.map +1 -1
- package/funcs/accountsUpdate.js +11 -7
- package/funcs/accountsUpdate.js.map +1 -1
- package/funcs/adjustmentsGet.d.ts +2 -1
- package/funcs/adjustmentsGet.d.ts.map +1 -1
- package/funcs/adjustmentsGet.js +11 -7
- package/funcs/adjustmentsGet.js.map +1 -1
- package/funcs/adjustmentsList.d.ts +2 -1
- package/funcs/adjustmentsList.d.ts.map +1 -1
- package/funcs/adjustmentsList.js +11 -7
- package/funcs/adjustmentsList.js.map +1 -1
- package/funcs/applePayCreateSession.d.ts +2 -1
- package/funcs/applePayCreateSession.d.ts.map +1 -1
- package/funcs/applePayCreateSession.js +11 -7
- package/funcs/applePayCreateSession.js.map +1 -1
- package/funcs/applePayGetMerchantDomains.d.ts +2 -1
- package/funcs/applePayGetMerchantDomains.d.ts.map +1 -1
- package/funcs/applePayGetMerchantDomains.js +11 -7
- package/funcs/applePayGetMerchantDomains.js.map +1 -1
- package/funcs/applePayLinkToken.d.ts +2 -1
- package/funcs/applePayLinkToken.d.ts.map +1 -1
- package/funcs/applePayLinkToken.js +11 -7
- package/funcs/applePayLinkToken.js.map +1 -1
- package/funcs/applePayRegisterMerchantDomains.d.ts +2 -1
- package/funcs/applePayRegisterMerchantDomains.d.ts.map +1 -1
- package/funcs/applePayRegisterMerchantDomains.js +11 -7
- package/funcs/applePayRegisterMerchantDomains.js.map +1 -1
- package/funcs/applePayUpdateMerchantDomains.d.ts +2 -1
- package/funcs/applePayUpdateMerchantDomains.d.ts.map +1 -1
- package/funcs/applePayUpdateMerchantDomains.js +11 -7
- package/funcs/applePayUpdateMerchantDomains.js.map +1 -1
- package/funcs/authenticationCreateAccessToken.d.ts +2 -1
- package/funcs/authenticationCreateAccessToken.d.ts.map +1 -1
- package/funcs/authenticationCreateAccessToken.js +11 -7
- package/funcs/authenticationCreateAccessToken.js.map +1 -1
- package/funcs/authenticationRevokeAccessToken.d.ts +2 -1
- package/funcs/authenticationRevokeAccessToken.d.ts.map +1 -1
- package/funcs/authenticationRevokeAccessToken.js +11 -7
- package/funcs/authenticationRevokeAccessToken.js.map +1 -1
- package/funcs/avatarsGet.d.ts +2 -1
- package/funcs/avatarsGet.d.ts.map +1 -1
- package/funcs/avatarsGet.js +11 -7
- package/funcs/avatarsGet.js.map +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.d.ts +2 -1
- package/funcs/bankAccountsCompleteMicroDeposits.d.ts.map +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.js +11 -7
- package/funcs/bankAccountsCompleteMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsCompleteVerification.d.ts +2 -1
- package/funcs/bankAccountsCompleteVerification.d.ts.map +1 -1
- package/funcs/bankAccountsCompleteVerification.js +11 -7
- package/funcs/bankAccountsCompleteVerification.js.map +1 -1
- package/funcs/bankAccountsDisable.d.ts +2 -1
- package/funcs/bankAccountsDisable.d.ts.map +1 -1
- package/funcs/bankAccountsDisable.js +11 -7
- package/funcs/bankAccountsDisable.js.map +1 -1
- package/funcs/bankAccountsGet.d.ts +2 -1
- package/funcs/bankAccountsGet.d.ts.map +1 -1
- package/funcs/bankAccountsGet.js +11 -7
- package/funcs/bankAccountsGet.js.map +1 -1
- package/funcs/bankAccountsGetVerification.d.ts +2 -1
- package/funcs/bankAccountsGetVerification.d.ts.map +1 -1
- package/funcs/bankAccountsGetVerification.js +11 -7
- package/funcs/bankAccountsGetVerification.js.map +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.d.ts +2 -1
- package/funcs/bankAccountsInitiateMicroDeposits.d.ts.map +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.js +11 -7
- package/funcs/bankAccountsInitiateMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsInitiateVerification.d.ts +2 -1
- package/funcs/bankAccountsInitiateVerification.d.ts.map +1 -1
- package/funcs/bankAccountsInitiateVerification.js +11 -7
- package/funcs/bankAccountsInitiateVerification.js.map +1 -1
- package/funcs/bankAccountsLink.d.ts +2 -1
- package/funcs/bankAccountsLink.d.ts.map +1 -1
- package/funcs/bankAccountsLink.js +11 -7
- package/funcs/bankAccountsLink.js.map +1 -1
- package/funcs/bankAccountsList.d.ts +2 -1
- package/funcs/bankAccountsList.d.ts.map +1 -1
- package/funcs/bankAccountsList.js +11 -7
- package/funcs/bankAccountsList.js.map +1 -1
- package/funcs/brandingCreate.d.ts +2 -1
- package/funcs/brandingCreate.d.ts.map +1 -1
- package/funcs/brandingCreate.js +11 -7
- package/funcs/brandingCreate.js.map +1 -1
- package/funcs/brandingGet.d.ts +2 -1
- package/funcs/brandingGet.d.ts.map +1 -1
- package/funcs/brandingGet.js +11 -7
- package/funcs/brandingGet.js.map +1 -1
- package/funcs/brandingUpdate.d.ts +2 -1
- package/funcs/brandingUpdate.d.ts.map +1 -1
- package/funcs/brandingUpdate.js +11 -7
- package/funcs/brandingUpdate.js.map +1 -1
- package/funcs/brandingUpsert.d.ts +2 -1
- package/funcs/brandingUpsert.d.ts.map +1 -1
- package/funcs/brandingUpsert.js +11 -7
- package/funcs/brandingUpsert.js.map +1 -1
- package/funcs/capabilitiesDisable.d.ts +2 -1
- package/funcs/capabilitiesDisable.d.ts.map +1 -1
- package/funcs/capabilitiesDisable.js +11 -7
- package/funcs/capabilitiesDisable.js.map +1 -1
- package/funcs/capabilitiesGet.d.ts +2 -1
- package/funcs/capabilitiesGet.d.ts.map +1 -1
- package/funcs/capabilitiesGet.js +11 -7
- package/funcs/capabilitiesGet.js.map +1 -1
- package/funcs/capabilitiesList.d.ts +2 -1
- package/funcs/capabilitiesList.d.ts.map +1 -1
- package/funcs/capabilitiesList.js +11 -7
- package/funcs/capabilitiesList.js.map +1 -1
- package/funcs/capabilitiesRequest.d.ts +2 -1
- package/funcs/capabilitiesRequest.d.ts.map +1 -1
- package/funcs/capabilitiesRequest.js +11 -7
- package/funcs/capabilitiesRequest.js.map +1 -1
- package/funcs/cardIssuingGet.d.ts +2 -1
- package/funcs/cardIssuingGet.d.ts.map +1 -1
- package/funcs/cardIssuingGet.js +11 -7
- package/funcs/cardIssuingGet.js.map +1 -1
- package/funcs/cardIssuingGetFull.d.ts +2 -1
- package/funcs/cardIssuingGetFull.d.ts.map +1 -1
- package/funcs/cardIssuingGetFull.js +11 -7
- package/funcs/cardIssuingGetFull.js.map +1 -1
- package/funcs/cardIssuingList.d.ts +2 -1
- package/funcs/cardIssuingList.d.ts.map +1 -1
- package/funcs/cardIssuingList.js +11 -7
- package/funcs/cardIssuingList.js.map +1 -1
- package/funcs/cardIssuingRequest.d.ts +2 -1
- package/funcs/cardIssuingRequest.d.ts.map +1 -1
- package/funcs/cardIssuingRequest.js +11 -7
- package/funcs/cardIssuingRequest.js.map +1 -1
- package/funcs/cardIssuingUpdate.d.ts +2 -1
- package/funcs/cardIssuingUpdate.d.ts.map +1 -1
- package/funcs/cardIssuingUpdate.js +11 -7
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/cardsDisable.d.ts +2 -1
- package/funcs/cardsDisable.d.ts.map +1 -1
- package/funcs/cardsDisable.js +11 -7
- package/funcs/cardsDisable.js.map +1 -1
- package/funcs/cardsGet.d.ts +2 -1
- package/funcs/cardsGet.d.ts.map +1 -1
- package/funcs/cardsGet.js +11 -7
- package/funcs/cardsGet.js.map +1 -1
- package/funcs/cardsLink.d.ts +2 -1
- package/funcs/cardsLink.d.ts.map +1 -1
- package/funcs/cardsLink.js +11 -7
- package/funcs/cardsLink.js.map +1 -1
- package/funcs/cardsList.d.ts +2 -1
- package/funcs/cardsList.d.ts.map +1 -1
- package/funcs/cardsList.js +11 -7
- package/funcs/cardsList.js.map +1 -1
- package/funcs/cardsUpdate.d.ts +2 -1
- package/funcs/cardsUpdate.d.ts.map +1 -1
- package/funcs/cardsUpdate.js +11 -7
- package/funcs/cardsUpdate.js.map +1 -1
- package/funcs/disputesAccept.d.ts +2 -1
- package/funcs/disputesAccept.d.ts.map +1 -1
- package/funcs/disputesAccept.js +11 -7
- package/funcs/disputesAccept.js.map +1 -1
- package/funcs/disputesDeleteEvidence.d.ts +2 -1
- package/funcs/disputesDeleteEvidence.d.ts.map +1 -1
- package/funcs/disputesDeleteEvidence.js +11 -7
- package/funcs/disputesDeleteEvidence.js.map +1 -1
- package/funcs/disputesGet.d.ts +2 -1
- package/funcs/disputesGet.d.ts.map +1 -1
- package/funcs/disputesGet.js +11 -7
- package/funcs/disputesGet.js.map +1 -1
- package/funcs/disputesGetEvidence.d.ts +2 -1
- package/funcs/disputesGetEvidence.d.ts.map +1 -1
- package/funcs/disputesGetEvidence.js +11 -7
- package/funcs/disputesGetEvidence.js.map +1 -1
- package/funcs/disputesGetEvidenceData.d.ts +2 -1
- package/funcs/disputesGetEvidenceData.d.ts.map +1 -1
- package/funcs/disputesGetEvidenceData.js +11 -7
- package/funcs/disputesGetEvidenceData.js.map +1 -1
- package/funcs/disputesList.d.ts +2 -1
- package/funcs/disputesList.d.ts.map +1 -1
- package/funcs/disputesList.js +11 -7
- package/funcs/disputesList.js.map +1 -1
- package/funcs/disputesListEvidence.d.ts +2 -1
- package/funcs/disputesListEvidence.d.ts.map +1 -1
- package/funcs/disputesListEvidence.js +11 -7
- package/funcs/disputesListEvidence.js.map +1 -1
- package/funcs/disputesSubmitEvidence.d.ts +2 -1
- package/funcs/disputesSubmitEvidence.d.ts.map +1 -1
- package/funcs/disputesSubmitEvidence.js +11 -7
- package/funcs/disputesSubmitEvidence.js.map +1 -1
- package/funcs/disputesUpdateEvidence.d.ts +2 -1
- package/funcs/disputesUpdateEvidence.d.ts.map +1 -1
- package/funcs/disputesUpdateEvidence.js +11 -7
- package/funcs/disputesUpdateEvidence.js.map +1 -1
- package/funcs/disputesUploadEvidenceFile.d.ts +2 -1
- package/funcs/disputesUploadEvidenceFile.d.ts.map +1 -1
- package/funcs/disputesUploadEvidenceFile.js +11 -7
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/disputesUploadEvidenceText.d.ts +2 -1
- package/funcs/disputesUploadEvidenceText.d.ts.map +1 -1
- package/funcs/disputesUploadEvidenceText.js +11 -7
- package/funcs/disputesUploadEvidenceText.js.map +1 -1
- package/funcs/endToEndEncryptionGenerateKey.d.ts +2 -1
- package/funcs/endToEndEncryptionGenerateKey.d.ts.map +1 -1
- package/funcs/endToEndEncryptionGenerateKey.js +10 -6
- package/funcs/endToEndEncryptionGenerateKey.js.map +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.d.ts +2 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.d.ts.map +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.js +11 -7
- package/funcs/endToEndEncryptionTestEncryptedToken.js.map +1 -1
- package/funcs/enrichedAddressGet.d.ts +2 -1
- package/funcs/enrichedAddressGet.d.ts.map +1 -1
- package/funcs/enrichedAddressGet.js +11 -7
- package/funcs/enrichedAddressGet.js.map +1 -1
- package/funcs/enrichedProfileGet.d.ts +2 -1
- package/funcs/enrichedProfileGet.d.ts.map +1 -1
- package/funcs/enrichedProfileGet.js +11 -7
- package/funcs/enrichedProfileGet.js.map +1 -1
- package/funcs/{billingCreateFeePlanAgreements.d.ts → feePlansCreateFeePlanAgreements.d.ts} +3 -2
- package/funcs/feePlansCreateFeePlanAgreements.d.ts.map +1 -0
- package/funcs/{billingCreateFeePlanAgreements.js → feePlansCreateFeePlanAgreements.js} +13 -9
- package/funcs/feePlansCreateFeePlanAgreements.js.map +1 -0
- package/funcs/{billingListFeePlanAgreements.d.ts → feePlansListFeePlanAgreements.d.ts} +3 -2
- package/funcs/feePlansListFeePlanAgreements.d.ts.map +1 -0
- package/funcs/{billingListFeePlanAgreements.js → feePlansListFeePlanAgreements.js} +13 -9
- package/funcs/feePlansListFeePlanAgreements.js.map +1 -0
- package/funcs/{billingListFeePlans.d.ts → feePlansListFeePlans.d.ts} +3 -2
- package/funcs/feePlansListFeePlans.d.ts.map +1 -0
- package/funcs/{billingListFeePlans.js → feePlansListFeePlans.js} +13 -9
- package/funcs/feePlansListFeePlans.js.map +1 -0
- package/funcs/feePlansListFeesFetch.d.ts +16 -0
- package/funcs/feePlansListFeesFetch.d.ts.map +1 -0
- package/funcs/feePlansListFeesFetch.js +126 -0
- package/funcs/feePlansListFeesFetch.js.map +1 -0
- package/funcs/{billingListPartnerPricing.d.ts → feePlansListPartnerPricing.d.ts} +3 -2
- package/funcs/feePlansListPartnerPricing.d.ts.map +1 -0
- package/funcs/{billingListPartnerPricing.js → feePlansListPartnerPricing.js} +13 -9
- package/funcs/feePlansListPartnerPricing.js.map +1 -0
- package/funcs/{billingListPartnerPricingAgreements.d.ts → feePlansListPartnerPricingAgreements.d.ts} +3 -2
- package/funcs/feePlansListPartnerPricingAgreements.d.ts.map +1 -0
- package/funcs/{billingListPartnerPricingAgreements.js → feePlansListPartnerPricingAgreements.js} +13 -9
- package/funcs/feePlansListPartnerPricingAgreements.js.map +1 -0
- package/funcs/feePlansRetrieveFees.d.ts +16 -0
- package/funcs/feePlansRetrieveFees.d.ts.map +1 -0
- package/funcs/feePlansRetrieveFees.js +132 -0
- package/funcs/feePlansRetrieveFees.js.map +1 -0
- package/funcs/filesGet.d.ts +2 -1
- package/funcs/filesGet.d.ts.map +1 -1
- package/funcs/filesGet.js +11 -7
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesList.d.ts +2 -1
- package/funcs/filesList.d.ts.map +1 -1
- package/funcs/filesList.js +11 -7
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpload.d.ts +2 -1
- package/funcs/filesUpload.d.ts.map +1 -1
- package/funcs/filesUpload.js +11 -7
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/industriesList.d.ts +2 -1
- package/funcs/industriesList.d.ts.map +1 -1
- package/funcs/industriesList.js +10 -6
- package/funcs/industriesList.js.map +1 -1
- package/funcs/institutionsSearch.d.ts +2 -1
- package/funcs/institutionsSearch.d.ts.map +1 -1
- package/funcs/institutionsSearch.js +11 -7
- package/funcs/institutionsSearch.js.map +1 -1
- package/funcs/issuingTransactionsGet.d.ts +2 -1
- package/funcs/issuingTransactionsGet.d.ts.map +1 -1
- package/funcs/issuingTransactionsGet.js +11 -7
- package/funcs/issuingTransactionsGet.js.map +1 -1
- package/funcs/issuingTransactionsGetAuthorization.d.ts +2 -1
- package/funcs/issuingTransactionsGetAuthorization.d.ts.map +1 -1
- package/funcs/issuingTransactionsGetAuthorization.js +11 -7
- package/funcs/issuingTransactionsGetAuthorization.js.map +1 -1
- package/funcs/issuingTransactionsList.d.ts +2 -1
- package/funcs/issuingTransactionsList.d.ts.map +1 -1
- package/funcs/issuingTransactionsList.js +11 -7
- package/funcs/issuingTransactionsList.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.d.ts +2 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.d.ts.map +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.js +11 -7
- package/funcs/issuingTransactionsListAuthorizationEvents.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizations.d.ts +2 -1
- package/funcs/issuingTransactionsListAuthorizations.d.ts.map +1 -1
- package/funcs/issuingTransactionsListAuthorizations.js +11 -7
- package/funcs/issuingTransactionsListAuthorizations.js.map +1 -1
- package/funcs/onboardingCreateInvite.d.ts +2 -1
- package/funcs/onboardingCreateInvite.d.ts.map +1 -1
- package/funcs/onboardingCreateInvite.js +11 -7
- package/funcs/onboardingCreateInvite.js.map +1 -1
- package/funcs/onboardingGetInvite.d.ts +2 -1
- package/funcs/onboardingGetInvite.d.ts.map +1 -1
- package/funcs/onboardingGetInvite.js +11 -7
- package/funcs/onboardingGetInvite.js.map +1 -1
- package/funcs/onboardingListInvites.d.ts +2 -1
- package/funcs/onboardingListInvites.d.ts.map +1 -1
- package/funcs/onboardingListInvites.js +10 -6
- package/funcs/onboardingListInvites.js.map +1 -1
- package/funcs/onboardingRevokeInvite.d.ts +2 -1
- package/funcs/onboardingRevokeInvite.d.ts.map +1 -1
- package/funcs/onboardingRevokeInvite.js +11 -7
- package/funcs/onboardingRevokeInvite.js.map +1 -1
- package/funcs/paymentLinksCreate.d.ts +2 -1
- package/funcs/paymentLinksCreate.d.ts.map +1 -1
- package/funcs/paymentLinksCreate.js +11 -7
- package/funcs/paymentLinksCreate.js.map +1 -1
- package/funcs/paymentLinksDisable.d.ts +2 -1
- package/funcs/paymentLinksDisable.d.ts.map +1 -1
- package/funcs/paymentLinksDisable.js +11 -7
- package/funcs/paymentLinksDisable.js.map +1 -1
- package/funcs/paymentLinksGet.d.ts +2 -1
- package/funcs/paymentLinksGet.d.ts.map +1 -1
- package/funcs/paymentLinksGet.js +11 -7
- package/funcs/paymentLinksGet.js.map +1 -1
- package/funcs/paymentLinksGetQRCode.d.ts +2 -1
- package/funcs/paymentLinksGetQRCode.d.ts.map +1 -1
- package/funcs/paymentLinksGetQRCode.js +11 -7
- package/funcs/paymentLinksGetQRCode.js.map +1 -1
- package/funcs/paymentLinksList.d.ts +2 -1
- package/funcs/paymentLinksList.d.ts.map +1 -1
- package/funcs/paymentLinksList.js +11 -7
- package/funcs/paymentLinksList.js.map +1 -1
- package/funcs/paymentLinksUpdate.d.ts +2 -1
- package/funcs/paymentLinksUpdate.d.ts.map +1 -1
- package/funcs/paymentLinksUpdate.js +11 -7
- package/funcs/paymentLinksUpdate.js.map +1 -1
- package/funcs/paymentMethodsGet.d.ts +2 -1
- package/funcs/paymentMethodsGet.d.ts.map +1 -1
- package/funcs/paymentMethodsGet.js +11 -7
- package/funcs/paymentMethodsGet.js.map +1 -1
- package/funcs/paymentMethodsList.d.ts +2 -1
- package/funcs/paymentMethodsList.d.ts.map +1 -1
- package/funcs/paymentMethodsList.js +11 -7
- package/funcs/paymentMethodsList.js.map +1 -1
- package/funcs/pingPing.d.ts +2 -1
- package/funcs/pingPing.d.ts.map +1 -1
- package/funcs/pingPing.js +10 -6
- package/funcs/pingPing.js.map +1 -1
- package/funcs/representativesCreate.d.ts +2 -1
- package/funcs/representativesCreate.d.ts.map +1 -1
- package/funcs/representativesCreate.js +11 -7
- package/funcs/representativesCreate.js.map +1 -1
- package/funcs/representativesDelete.d.ts +2 -1
- package/funcs/representativesDelete.d.ts.map +1 -1
- package/funcs/representativesDelete.js +11 -7
- package/funcs/representativesDelete.js.map +1 -1
- package/funcs/representativesGet.d.ts +2 -1
- package/funcs/representativesGet.d.ts.map +1 -1
- package/funcs/representativesGet.js +11 -7
- package/funcs/representativesGet.js.map +1 -1
- package/funcs/representativesList.d.ts +2 -1
- package/funcs/representativesList.d.ts.map +1 -1
- package/funcs/representativesList.js +11 -7
- package/funcs/representativesList.js.map +1 -1
- package/funcs/representativesUpdate.d.ts +2 -1
- package/funcs/representativesUpdate.d.ts.map +1 -1
- package/funcs/representativesUpdate.js +11 -7
- package/funcs/representativesUpdate.js.map +1 -1
- package/funcs/schedulingCancel.d.ts +2 -1
- package/funcs/schedulingCancel.d.ts.map +1 -1
- package/funcs/schedulingCancel.js +11 -7
- package/funcs/schedulingCancel.js.map +1 -1
- package/funcs/schedulingCreate.d.ts +2 -1
- package/funcs/schedulingCreate.d.ts.map +1 -1
- package/funcs/schedulingCreate.js +11 -7
- package/funcs/schedulingCreate.js.map +1 -1
- package/funcs/schedulingGet.d.ts +2 -1
- package/funcs/schedulingGet.d.ts.map +1 -1
- package/funcs/schedulingGet.js +11 -7
- package/funcs/schedulingGet.js.map +1 -1
- package/funcs/schedulingGetOccurrance.d.ts +2 -1
- package/funcs/schedulingGetOccurrance.d.ts.map +1 -1
- package/funcs/schedulingGetOccurrance.js +11 -7
- package/funcs/schedulingGetOccurrance.js.map +1 -1
- package/funcs/schedulingList.d.ts +2 -1
- package/funcs/schedulingList.d.ts.map +1 -1
- package/funcs/schedulingList.js +11 -7
- package/funcs/schedulingList.js.map +1 -1
- package/funcs/schedulingUpdate.d.ts +2 -1
- package/funcs/schedulingUpdate.d.ts.map +1 -1
- package/funcs/schedulingUpdate.js +11 -7
- package/funcs/schedulingUpdate.js.map +1 -1
- package/funcs/sweepsCreateConfig.d.ts +2 -1
- package/funcs/sweepsCreateConfig.d.ts.map +1 -1
- package/funcs/sweepsCreateConfig.js +11 -7
- package/funcs/sweepsCreateConfig.js.map +1 -1
- package/funcs/sweepsGet.d.ts +2 -1
- package/funcs/sweepsGet.d.ts.map +1 -1
- package/funcs/sweepsGet.js +11 -7
- package/funcs/sweepsGet.js.map +1 -1
- package/funcs/sweepsGetConfig.d.ts +2 -1
- package/funcs/sweepsGetConfig.d.ts.map +1 -1
- package/funcs/sweepsGetConfig.js +11 -7
- package/funcs/sweepsGetConfig.js.map +1 -1
- package/funcs/sweepsList.d.ts +2 -1
- package/funcs/sweepsList.d.ts.map +1 -1
- package/funcs/sweepsList.js +11 -7
- package/funcs/sweepsList.js.map +1 -1
- package/funcs/sweepsListConfigs.d.ts +2 -1
- package/funcs/sweepsListConfigs.d.ts.map +1 -1
- package/funcs/sweepsListConfigs.js +11 -7
- package/funcs/sweepsListConfigs.js.map +1 -1
- package/funcs/sweepsUpdateConfig.d.ts +2 -1
- package/funcs/sweepsUpdateConfig.d.ts.map +1 -1
- package/funcs/sweepsUpdateConfig.js +11 -7
- package/funcs/sweepsUpdateConfig.js.map +1 -1
- package/funcs/transfersCreate.d.ts +2 -1
- package/funcs/transfersCreate.d.ts.map +1 -1
- package/funcs/transfersCreate.js +11 -7
- package/funcs/transfersCreate.js.map +1 -1
- package/funcs/transfersCreateReversal.d.ts +2 -1
- package/funcs/transfersCreateReversal.d.ts.map +1 -1
- package/funcs/transfersCreateReversal.js +11 -7
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersGenerateOptions.d.ts +3 -1
- package/funcs/transfersGenerateOptions.d.ts.map +1 -1
- package/funcs/transfersGenerateOptions.js +20 -6
- package/funcs/transfersGenerateOptions.js.map +1 -1
- package/funcs/transfersGet.d.ts +2 -1
- package/funcs/transfersGet.d.ts.map +1 -1
- package/funcs/transfersGet.js +11 -7
- package/funcs/transfersGet.js.map +1 -1
- package/funcs/transfersGetRefund.d.ts +2 -1
- package/funcs/transfersGetRefund.d.ts.map +1 -1
- package/funcs/transfersGetRefund.js +11 -7
- package/funcs/transfersGetRefund.js.map +1 -1
- package/funcs/transfersInitiateRefund.d.ts +2 -1
- package/funcs/transfersInitiateRefund.d.ts.map +1 -1
- package/funcs/transfersInitiateRefund.js +11 -7
- package/funcs/transfersInitiateRefund.js.map +1 -1
- package/funcs/transfersList.d.ts +2 -1
- package/funcs/transfersList.d.ts.map +1 -1
- package/funcs/transfersList.js +11 -7
- package/funcs/transfersList.js.map +1 -1
- package/funcs/transfersListRefunds.d.ts +2 -1
- package/funcs/transfersListRefunds.d.ts.map +1 -1
- package/funcs/transfersListRefunds.js +11 -7
- package/funcs/transfersListRefunds.js.map +1 -1
- package/funcs/transfersUpdate.d.ts +2 -1
- package/funcs/transfersUpdate.d.ts.map +1 -1
- package/funcs/transfersUpdate.js +11 -7
- package/funcs/transfersUpdate.js.map +1 -1
- package/funcs/underwritingGet.d.ts +2 -1
- package/funcs/underwritingGet.d.ts.map +1 -1
- package/funcs/underwritingGet.js +11 -7
- package/funcs/underwritingGet.js.map +1 -1
- package/funcs/underwritingUpsert.d.ts +2 -1
- package/funcs/underwritingUpsert.d.ts.map +1 -1
- package/funcs/underwritingUpsert.js +11 -7
- package/funcs/underwritingUpsert.js.map +1 -1
- package/funcs/walletTransactionsGet.d.ts +2 -1
- package/funcs/walletTransactionsGet.d.ts.map +1 -1
- package/funcs/walletTransactionsGet.js +11 -7
- package/funcs/walletTransactionsGet.js.map +1 -1
- package/funcs/walletTransactionsList.d.ts +2 -1
- package/funcs/walletTransactionsList.d.ts.map +1 -1
- package/funcs/walletTransactionsList.js +11 -7
- package/funcs/walletTransactionsList.js.map +1 -1
- package/funcs/walletsGet.d.ts +2 -1
- package/funcs/walletsGet.d.ts.map +1 -1
- package/funcs/walletsGet.js +11 -7
- package/funcs/walletsGet.js.map +1 -1
- package/funcs/walletsList.d.ts +2 -1
- package/funcs/walletsList.d.ts.map +1 -1
- package/funcs/walletsList.js +11 -7
- package/funcs/walletsList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/sdks.d.ts +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/models/components/createtransferoptions.d.ts +35 -0
- package/models/components/createtransferoptions.d.ts.map +1 -0
- package/models/components/createtransferoptions.js +75 -0
- package/models/components/createtransferoptions.js.map +1 -0
- package/models/components/feemodel.d.ts +3 -0
- package/models/components/feemodel.d.ts.map +1 -1
- package/models/components/feemodel.js +1 -0
- package/models/components/feemodel.js.map +1 -1
- package/models/components/generatedby.d.ts +33 -0
- package/models/components/generatedby.d.ts.map +1 -0
- package/models/components/generatedby.js +82 -0
- package/models/components/generatedby.js.map +1 -0
- package/models/components/generatedbyaccountid.d.ts +29 -0
- package/models/components/generatedbyaccountid.d.ts.map +1 -0
- package/models/components/generatedbyaccountid.js +78 -0
- package/models/components/generatedbyaccountid.js.map +1 -0
- package/models/components/generatedbybankaccountid.d.ts +29 -0
- package/models/components/generatedbybankaccountid.d.ts.map +1 -0
- package/models/components/generatedbybankaccountid.js +78 -0
- package/models/components/generatedbybankaccountid.js.map +1 -0
- package/models/components/generatedbycardid.d.ts +29 -0
- package/models/components/generatedbycardid.d.ts.map +1 -0
- package/models/components/generatedbycardid.js +78 -0
- package/models/components/generatedbycardid.js.map +1 -0
- package/models/components/generatedbydisputeid.d.ts +29 -0
- package/models/components/generatedbydisputeid.d.ts.map +1 -0
- package/models/components/generatedbydisputeid.js +78 -0
- package/models/components/generatedbydisputeid.js.map +1 -0
- package/models/components/generatedbytransferid.d.ts +29 -0
- package/models/components/generatedbytransferid.d.ts.map +1 -0
- package/models/components/generatedbytransferid.js +69 -0
- package/models/components/generatedbytransferid.js.map +1 -0
- package/models/components/incurredfee.d.ts +49 -0
- package/models/components/incurredfee.d.ts.map +1 -0
- package/models/components/incurredfee.js +84 -0
- package/models/components/incurredfee.js.map +1 -0
- package/models/components/index.d.ts +10 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +10 -0
- package/models/components/index.js.map +1 -1
- package/models/components/listfeesfetchrequest.d.ts +32 -0
- package/models/components/listfeesfetchrequest.d.ts.map +1 -0
- package/models/components/listfeesfetchrequest.js +69 -0
- package/models/components/listfeesfetchrequest.js.map +1 -0
- package/models/components/sourcedestinationoptions.d.ts +31 -0
- package/models/components/sourcedestinationoptions.d.ts.map +1 -0
- package/models/components/sourcedestinationoptions.js +71 -0
- package/models/components/sourcedestinationoptions.js.map +1 -0
- package/models/components/transfer.d.ts +2 -2
- package/models/components/transfer.js +2 -2
- package/models/components/transfer.js.map +1 -1
- package/models/errors/transfer.d.ts +3 -3
- package/models/errors/transfer.js +2 -2
- package/models/errors/transfer.js.map +1 -1
- package/models/operations/createtransferoptions.d.ts +0 -21
- package/models/operations/createtransferoptions.d.ts.map +1 -1
- package/models/operations/createtransferoptions.js +1 -24
- package/models/operations/createtransferoptions.js.map +1 -1
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listfeesfetch.d.ts +101 -0
- package/models/operations/listfeesfetch.d.ts.map +1 -0
- package/models/operations/listfeesfetch.js +157 -0
- package/models/operations/listfeesfetch.js.map +1 -0
- package/models/operations/retrievefees.d.ts +123 -0
- package/models/operations/retrievefees.d.ts.map +1 -0
- package/models/operations/retrievefees.js +157 -0
- package/models/operations/retrievefees.js.map +1 -0
- package/package.json +1 -1
- package/sdk/{billing.d.ts → feeplans.d.ts} +16 -2
- package/sdk/feeplans.d.ts.map +1 -0
- package/sdk/feeplans.js +83 -0
- package/sdk/feeplans.js.map +1 -0
- package/sdk/sdk.d.ts +3 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/transfers.d.ts +2 -1
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/accountsAssignCountries.ts +37 -8
- package/src/funcs/accountsCreate.ts +37 -8
- package/src/funcs/accountsDisconnect.ts +36 -8
- package/src/funcs/accountsGet.ts +35 -8
- package/src/funcs/accountsGetCountries.ts +35 -8
- package/src/funcs/accountsGetMerchantProcessingAgreement.ts +35 -8
- package/src/funcs/accountsGetTermsOfServiceToken.ts +35 -8
- package/src/funcs/accountsList.ts +35 -8
- package/src/funcs/accountsUpdate.ts +37 -8
- package/src/funcs/adjustmentsGet.ts +35 -8
- package/src/funcs/adjustmentsList.ts +35 -8
- package/src/funcs/applePayCreateSession.ts +36 -8
- package/src/funcs/applePayGetMerchantDomains.ts +35 -8
- package/src/funcs/applePayLinkToken.ts +37 -8
- package/src/funcs/applePayRegisterMerchantDomains.ts +36 -8
- package/src/funcs/applePayUpdateMerchantDomains.ts +36 -8
- package/src/funcs/authenticationCreateAccessToken.ts +37 -8
- package/src/funcs/authenticationRevokeAccessToken.ts +37 -8
- package/src/funcs/avatarsGet.ts +35 -8
- package/src/funcs/bankAccountsCompleteMicroDeposits.ts +37 -8
- package/src/funcs/bankAccountsCompleteVerification.ts +36 -8
- package/src/funcs/bankAccountsDisable.ts +36 -8
- package/src/funcs/bankAccountsGet.ts +35 -8
- package/src/funcs/bankAccountsGetVerification.ts +35 -8
- package/src/funcs/bankAccountsInitiateMicroDeposits.ts +36 -8
- package/src/funcs/bankAccountsInitiateVerification.ts +36 -8
- package/src/funcs/bankAccountsLink.ts +37 -8
- package/src/funcs/bankAccountsList.ts +35 -8
- package/src/funcs/brandingCreate.ts +37 -8
- package/src/funcs/brandingGet.ts +35 -8
- package/src/funcs/brandingUpdate.ts +37 -8
- package/src/funcs/brandingUpsert.ts +37 -8
- package/src/funcs/capabilitiesDisable.ts +36 -8
- package/src/funcs/capabilitiesGet.ts +35 -8
- package/src/funcs/capabilitiesList.ts +35 -8
- package/src/funcs/capabilitiesRequest.ts +37 -8
- package/src/funcs/cardIssuingGet.ts +35 -8
- package/src/funcs/cardIssuingGetFull.ts +35 -8
- package/src/funcs/cardIssuingList.ts +35 -8
- package/src/funcs/cardIssuingRequest.ts +37 -8
- package/src/funcs/cardIssuingUpdate.ts +37 -8
- package/src/funcs/cardsDisable.ts +36 -8
- package/src/funcs/cardsGet.ts +35 -8
- package/src/funcs/cardsLink.ts +37 -8
- package/src/funcs/cardsList.ts +35 -8
- package/src/funcs/cardsUpdate.ts +37 -8
- package/src/funcs/disputesAccept.ts +36 -8
- package/src/funcs/disputesDeleteEvidence.ts +36 -8
- package/src/funcs/disputesGet.ts +35 -8
- package/src/funcs/disputesGetEvidence.ts +35 -8
- package/src/funcs/disputesGetEvidenceData.ts +37 -8
- package/src/funcs/disputesList.ts +36 -8
- package/src/funcs/disputesListEvidence.ts +35 -8
- package/src/funcs/disputesSubmitEvidence.ts +36 -8
- package/src/funcs/disputesUpdateEvidence.ts +36 -8
- package/src/funcs/disputesUploadEvidenceFile.ts +37 -8
- package/src/funcs/disputesUploadEvidenceText.ts +36 -8
- package/src/funcs/endToEndEncryptionGenerateKey.ts +34 -7
- package/src/funcs/endToEndEncryptionTestEncryptedToken.ts +36 -8
- package/src/funcs/enrichedAddressGet.ts +35 -8
- package/src/funcs/enrichedProfileGet.ts +35 -8
- package/src/funcs/{billingCreateFeePlanAgreements.ts → feePlansCreateFeePlanAgreements.ts} +37 -8
- package/src/funcs/{billingListFeePlanAgreements.ts → feePlansListFeePlanAgreements.ts} +35 -8
- package/src/funcs/{billingListFeePlans.ts → feePlansListFeePlans.ts} +35 -8
- package/src/funcs/feePlansListFeesFetch.ts +176 -0
- package/src/funcs/{billingListPartnerPricing.ts → feePlansListPartnerPricing.ts} +35 -8
- package/src/funcs/{billingListPartnerPricingAgreements.ts → feePlansListPartnerPricingAgreements.ts} +35 -8
- package/src/funcs/feePlansRetrieveFees.ts +183 -0
- package/src/funcs/filesGet.ts +35 -8
- package/src/funcs/filesList.ts +35 -8
- package/src/funcs/filesUpload.ts +37 -8
- package/src/funcs/industriesList.ts +34 -7
- package/src/funcs/institutionsSearch.ts +36 -8
- package/src/funcs/issuingTransactionsGet.ts +35 -8
- package/src/funcs/issuingTransactionsGetAuthorization.ts +35 -8
- package/src/funcs/issuingTransactionsList.ts +35 -8
- package/src/funcs/issuingTransactionsListAuthorizationEvents.ts +35 -8
- package/src/funcs/issuingTransactionsListAuthorizations.ts +35 -8
- package/src/funcs/onboardingCreateInvite.ts +37 -8
- package/src/funcs/onboardingGetInvite.ts +35 -8
- package/src/funcs/onboardingListInvites.ts +34 -7
- package/src/funcs/onboardingRevokeInvite.ts +35 -8
- package/src/funcs/paymentLinksCreate.ts +37 -8
- package/src/funcs/paymentLinksDisable.ts +35 -8
- package/src/funcs/paymentLinksGet.ts +35 -8
- package/src/funcs/paymentLinksGetQRCode.ts +35 -8
- package/src/funcs/paymentLinksList.ts +35 -8
- package/src/funcs/paymentLinksUpdate.ts +37 -8
- package/src/funcs/paymentMethodsGet.ts +35 -8
- package/src/funcs/paymentMethodsList.ts +35 -8
- package/src/funcs/pingPing.ts +34 -7
- package/src/funcs/representativesCreate.ts +37 -8
- package/src/funcs/representativesDelete.ts +36 -8
- package/src/funcs/representativesGet.ts +35 -8
- package/src/funcs/representativesList.ts +35 -8
- package/src/funcs/representativesUpdate.ts +36 -8
- package/src/funcs/schedulingCancel.ts +36 -8
- package/src/funcs/schedulingCreate.ts +37 -8
- package/src/funcs/schedulingGet.ts +35 -8
- package/src/funcs/schedulingGetOccurrance.ts +35 -8
- package/src/funcs/schedulingList.ts +35 -8
- package/src/funcs/schedulingUpdate.ts +37 -8
- package/src/funcs/sweepsCreateConfig.ts +37 -8
- package/src/funcs/sweepsGet.ts +35 -8
- package/src/funcs/sweepsGetConfig.ts +35 -8
- package/src/funcs/sweepsList.ts +35 -8
- package/src/funcs/sweepsListConfigs.ts +35 -8
- package/src/funcs/sweepsUpdateConfig.ts +37 -8
- package/src/funcs/transfersCreate.ts +38 -8
- package/src/funcs/transfersCreateReversal.ts +37 -8
- package/src/funcs/transfersGenerateOptions.ts +53 -9
- package/src/funcs/transfersGet.ts +35 -8
- package/src/funcs/transfersGetRefund.ts +35 -8
- package/src/funcs/transfersInitiateRefund.ts +38 -8
- package/src/funcs/transfersList.ts +35 -8
- package/src/funcs/transfersListRefunds.ts +35 -8
- package/src/funcs/transfersUpdate.ts +35 -8
- package/src/funcs/underwritingGet.ts +35 -8
- package/src/funcs/underwritingUpsert.ts +37 -8
- package/src/funcs/walletTransactionsGet.ts +35 -8
- package/src/funcs/walletTransactionsList.ts +35 -8
- package/src/funcs/walletsGet.ts +35 -8
- package/src/funcs/walletsList.ts +35 -8
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +1 -1
- package/src/models/components/createtransferoptions.ts +86 -0
- package/src/models/components/feemodel.ts +1 -0
- package/src/models/components/generatedby.ts +109 -0
- package/src/models/components/generatedbyaccountid.ts +75 -0
- package/src/models/components/generatedbybankaccountid.ts +75 -0
- package/src/models/components/generatedbycardid.ts +75 -0
- package/src/models/components/generatedbydisputeid.ts +75 -0
- package/src/models/components/generatedbytransferid.ts +66 -0
- package/src/models/components/incurredfee.ts +105 -0
- package/src/models/components/index.ts +10 -0
- package/src/models/components/listfeesfetchrequest.ts +69 -0
- package/src/models/components/sourcedestinationoptions.ts +70 -0
- package/src/models/components/transfer.ts +4 -4
- package/src/models/errors/transfer.ts +5 -5
- package/src/models/operations/createtransferoptions.ts +0 -52
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listfeesfetch.ts +233 -0
- package/src/models/operations/retrievefees.ts +255 -0
- package/src/sdk/{billing.ts → feeplans.ts} +47 -11
- package/src/sdk/sdk.ts +4 -4
- package/src/sdk/transfers.ts +2 -1
- package/src/types/async.ts +68 -0
- package/types/async.d.ts +23 -0
- package/types/async.d.ts.map +1 -0
- package/types/async.js +44 -0
- package/types/async.js.map +1 -0
- package/funcs/billingCreateFeePlanAgreements.d.ts.map +0 -1
- package/funcs/billingCreateFeePlanAgreements.js.map +0 -1
- package/funcs/billingListFeePlanAgreements.d.ts.map +0 -1
- package/funcs/billingListFeePlanAgreements.js.map +0 -1
- package/funcs/billingListFeePlans.d.ts.map +0 -1
- package/funcs/billingListFeePlans.js.map +0 -1
- package/funcs/billingListPartnerPricing.d.ts.map +0 -1
- package/funcs/billingListPartnerPricing.js.map +0 -1
- package/funcs/billingListPartnerPricingAgreements.d.ts.map +0 -1
- package/funcs/billingListPartnerPricingAgreements.js.map +0 -1
- package/sdk/billing.d.ts.map +0 -1
- package/sdk/billing.js +0 -63
- package/sdk/billing.js.map +0 -1
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type ListFeesFetchGlobals = {
|
|
13
|
+
/**
|
|
14
|
+
* Specify an API version.
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
*
|
|
18
|
+
* API versioning follows the format `vYYYY.QQ.BB`, where
|
|
19
|
+
* - `YYYY` is the year
|
|
20
|
+
* - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
21
|
+
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
|
+
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
|
+
*
|
|
24
|
+
* The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
|
+
*/
|
|
26
|
+
xMoovVersion?: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export type ListFeesFetchRequest = {
|
|
30
|
+
accountID: string;
|
|
31
|
+
listFeesFetchRequest?: components.ListFeesFetchRequest | undefined;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export type ListFeesFetchResponse = {
|
|
35
|
+
headers: { [k: string]: Array<string> };
|
|
36
|
+
result: Array<components.IncurredFee>;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const ListFeesFetchGlobals$inboundSchema: z.ZodType<
|
|
41
|
+
ListFeesFetchGlobals,
|
|
42
|
+
z.ZodTypeDef,
|
|
43
|
+
unknown
|
|
44
|
+
> = z.object({
|
|
45
|
+
"x-moov-version": z.string().default("v2024.01.00"),
|
|
46
|
+
}).transform((v) => {
|
|
47
|
+
return remap$(v, {
|
|
48
|
+
"x-moov-version": "xMoovVersion",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export type ListFeesFetchGlobals$Outbound = {
|
|
54
|
+
"x-moov-version": string;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const ListFeesFetchGlobals$outboundSchema: z.ZodType<
|
|
59
|
+
ListFeesFetchGlobals$Outbound,
|
|
60
|
+
z.ZodTypeDef,
|
|
61
|
+
ListFeesFetchGlobals
|
|
62
|
+
> = z.object({
|
|
63
|
+
xMoovVersion: z.string().default("v2024.01.00"),
|
|
64
|
+
}).transform((v) => {
|
|
65
|
+
return remap$(v, {
|
|
66
|
+
xMoovVersion: "x-moov-version",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
export namespace ListFeesFetchGlobals$ {
|
|
75
|
+
/** @deprecated use `ListFeesFetchGlobals$inboundSchema` instead. */
|
|
76
|
+
export const inboundSchema = ListFeesFetchGlobals$inboundSchema;
|
|
77
|
+
/** @deprecated use `ListFeesFetchGlobals$outboundSchema` instead. */
|
|
78
|
+
export const outboundSchema = ListFeesFetchGlobals$outboundSchema;
|
|
79
|
+
/** @deprecated use `ListFeesFetchGlobals$Outbound` instead. */
|
|
80
|
+
export type Outbound = ListFeesFetchGlobals$Outbound;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function listFeesFetchGlobalsToJSON(
|
|
84
|
+
listFeesFetchGlobals: ListFeesFetchGlobals,
|
|
85
|
+
): string {
|
|
86
|
+
return JSON.stringify(
|
|
87
|
+
ListFeesFetchGlobals$outboundSchema.parse(listFeesFetchGlobals),
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function listFeesFetchGlobalsFromJSON(
|
|
92
|
+
jsonString: string,
|
|
93
|
+
): SafeParseResult<ListFeesFetchGlobals, SDKValidationError> {
|
|
94
|
+
return safeParse(
|
|
95
|
+
jsonString,
|
|
96
|
+
(x) => ListFeesFetchGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
97
|
+
`Failed to parse 'ListFeesFetchGlobals' from JSON`,
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** @internal */
|
|
102
|
+
export const ListFeesFetchRequest$inboundSchema: z.ZodType<
|
|
103
|
+
ListFeesFetchRequest,
|
|
104
|
+
z.ZodTypeDef,
|
|
105
|
+
unknown
|
|
106
|
+
> = z.object({
|
|
107
|
+
accountID: z.string(),
|
|
108
|
+
ListFeesFetchRequest: components.ListFeesFetchRequest$inboundSchema
|
|
109
|
+
.optional(),
|
|
110
|
+
}).transform((v) => {
|
|
111
|
+
return remap$(v, {
|
|
112
|
+
"ListFeesFetchRequest": "listFeesFetchRequest",
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
/** @internal */
|
|
117
|
+
export type ListFeesFetchRequest$Outbound = {
|
|
118
|
+
accountID: string;
|
|
119
|
+
ListFeesFetchRequest?: components.ListFeesFetchRequest$Outbound | undefined;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/** @internal */
|
|
123
|
+
export const ListFeesFetchRequest$outboundSchema: z.ZodType<
|
|
124
|
+
ListFeesFetchRequest$Outbound,
|
|
125
|
+
z.ZodTypeDef,
|
|
126
|
+
ListFeesFetchRequest
|
|
127
|
+
> = z.object({
|
|
128
|
+
accountID: z.string(),
|
|
129
|
+
listFeesFetchRequest: components.ListFeesFetchRequest$outboundSchema
|
|
130
|
+
.optional(),
|
|
131
|
+
}).transform((v) => {
|
|
132
|
+
return remap$(v, {
|
|
133
|
+
listFeesFetchRequest: "ListFeesFetchRequest",
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @internal
|
|
139
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
140
|
+
*/
|
|
141
|
+
export namespace ListFeesFetchRequest$ {
|
|
142
|
+
/** @deprecated use `ListFeesFetchRequest$inboundSchema` instead. */
|
|
143
|
+
export const inboundSchema = ListFeesFetchRequest$inboundSchema;
|
|
144
|
+
/** @deprecated use `ListFeesFetchRequest$outboundSchema` instead. */
|
|
145
|
+
export const outboundSchema = ListFeesFetchRequest$outboundSchema;
|
|
146
|
+
/** @deprecated use `ListFeesFetchRequest$Outbound` instead. */
|
|
147
|
+
export type Outbound = ListFeesFetchRequest$Outbound;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export function listFeesFetchRequestToJSON(
|
|
151
|
+
listFeesFetchRequest: ListFeesFetchRequest,
|
|
152
|
+
): string {
|
|
153
|
+
return JSON.stringify(
|
|
154
|
+
ListFeesFetchRequest$outboundSchema.parse(listFeesFetchRequest),
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export function listFeesFetchRequestFromJSON(
|
|
159
|
+
jsonString: string,
|
|
160
|
+
): SafeParseResult<ListFeesFetchRequest, SDKValidationError> {
|
|
161
|
+
return safeParse(
|
|
162
|
+
jsonString,
|
|
163
|
+
(x) => ListFeesFetchRequest$inboundSchema.parse(JSON.parse(x)),
|
|
164
|
+
`Failed to parse 'ListFeesFetchRequest' from JSON`,
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/** @internal */
|
|
169
|
+
export const ListFeesFetchResponse$inboundSchema: z.ZodType<
|
|
170
|
+
ListFeesFetchResponse,
|
|
171
|
+
z.ZodTypeDef,
|
|
172
|
+
unknown
|
|
173
|
+
> = z.object({
|
|
174
|
+
Headers: z.record(z.array(z.string())),
|
|
175
|
+
Result: z.array(components.IncurredFee$inboundSchema),
|
|
176
|
+
}).transform((v) => {
|
|
177
|
+
return remap$(v, {
|
|
178
|
+
"Headers": "headers",
|
|
179
|
+
"Result": "result",
|
|
180
|
+
});
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
/** @internal */
|
|
184
|
+
export type ListFeesFetchResponse$Outbound = {
|
|
185
|
+
Headers: { [k: string]: Array<string> };
|
|
186
|
+
Result: Array<components.IncurredFee$Outbound>;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
/** @internal */
|
|
190
|
+
export const ListFeesFetchResponse$outboundSchema: z.ZodType<
|
|
191
|
+
ListFeesFetchResponse$Outbound,
|
|
192
|
+
z.ZodTypeDef,
|
|
193
|
+
ListFeesFetchResponse
|
|
194
|
+
> = z.object({
|
|
195
|
+
headers: z.record(z.array(z.string())),
|
|
196
|
+
result: z.array(components.IncurredFee$outboundSchema),
|
|
197
|
+
}).transform((v) => {
|
|
198
|
+
return remap$(v, {
|
|
199
|
+
headers: "Headers",
|
|
200
|
+
result: "Result",
|
|
201
|
+
});
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @internal
|
|
206
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
207
|
+
*/
|
|
208
|
+
export namespace ListFeesFetchResponse$ {
|
|
209
|
+
/** @deprecated use `ListFeesFetchResponse$inboundSchema` instead. */
|
|
210
|
+
export const inboundSchema = ListFeesFetchResponse$inboundSchema;
|
|
211
|
+
/** @deprecated use `ListFeesFetchResponse$outboundSchema` instead. */
|
|
212
|
+
export const outboundSchema = ListFeesFetchResponse$outboundSchema;
|
|
213
|
+
/** @deprecated use `ListFeesFetchResponse$Outbound` instead. */
|
|
214
|
+
export type Outbound = ListFeesFetchResponse$Outbound;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export function listFeesFetchResponseToJSON(
|
|
218
|
+
listFeesFetchResponse: ListFeesFetchResponse,
|
|
219
|
+
): string {
|
|
220
|
+
return JSON.stringify(
|
|
221
|
+
ListFeesFetchResponse$outboundSchema.parse(listFeesFetchResponse),
|
|
222
|
+
);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export function listFeesFetchResponseFromJSON(
|
|
226
|
+
jsonString: string,
|
|
227
|
+
): SafeParseResult<ListFeesFetchResponse, SDKValidationError> {
|
|
228
|
+
return safeParse(
|
|
229
|
+
jsonString,
|
|
230
|
+
(x) => ListFeesFetchResponse$inboundSchema.parse(JSON.parse(x)),
|
|
231
|
+
`Failed to parse 'ListFeesFetchResponse' from JSON`,
|
|
232
|
+
);
|
|
233
|
+
}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type RetrieveFeesGlobals = {
|
|
13
|
+
/**
|
|
14
|
+
* Specify an API version.
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
*
|
|
18
|
+
* API versioning follows the format `vYYYY.QQ.BB`, where
|
|
19
|
+
* - `YYYY` is the year
|
|
20
|
+
* - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
21
|
+
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
|
+
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
|
+
*
|
|
24
|
+
* The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
|
+
*/
|
|
26
|
+
xMoovVersion?: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export type RetrieveFeesRequest = {
|
|
30
|
+
accountID: string;
|
|
31
|
+
/**
|
|
32
|
+
* Optional transfer ID to filter the results by.
|
|
33
|
+
*/
|
|
34
|
+
transferID?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Optional dispute ID to filter the results by.
|
|
37
|
+
*/
|
|
38
|
+
disputeID?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Optional date-time to inclusively filter all fees created after this date-time.
|
|
41
|
+
*/
|
|
42
|
+
startDateTime?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Optional date-time to exclusively filter all fees created before this date-time.
|
|
45
|
+
*/
|
|
46
|
+
endDateTime?: string | undefined;
|
|
47
|
+
skip?: number | undefined;
|
|
48
|
+
count?: number | undefined;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export type RetrieveFeesResponse = {
|
|
52
|
+
headers: { [k: string]: Array<string> };
|
|
53
|
+
result: Array<components.IncurredFee>;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const RetrieveFeesGlobals$inboundSchema: z.ZodType<
|
|
58
|
+
RetrieveFeesGlobals,
|
|
59
|
+
z.ZodTypeDef,
|
|
60
|
+
unknown
|
|
61
|
+
> = z.object({
|
|
62
|
+
"x-moov-version": z.string().default("v2024.01.00"),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
"x-moov-version": "xMoovVersion",
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export type RetrieveFeesGlobals$Outbound = {
|
|
71
|
+
"x-moov-version": string;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/** @internal */
|
|
75
|
+
export const RetrieveFeesGlobals$outboundSchema: z.ZodType<
|
|
76
|
+
RetrieveFeesGlobals$Outbound,
|
|
77
|
+
z.ZodTypeDef,
|
|
78
|
+
RetrieveFeesGlobals
|
|
79
|
+
> = z.object({
|
|
80
|
+
xMoovVersion: z.string().default("v2024.01.00"),
|
|
81
|
+
}).transform((v) => {
|
|
82
|
+
return remap$(v, {
|
|
83
|
+
xMoovVersion: "x-moov-version",
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
|
+
*/
|
|
91
|
+
export namespace RetrieveFeesGlobals$ {
|
|
92
|
+
/** @deprecated use `RetrieveFeesGlobals$inboundSchema` instead. */
|
|
93
|
+
export const inboundSchema = RetrieveFeesGlobals$inboundSchema;
|
|
94
|
+
/** @deprecated use `RetrieveFeesGlobals$outboundSchema` instead. */
|
|
95
|
+
export const outboundSchema = RetrieveFeesGlobals$outboundSchema;
|
|
96
|
+
/** @deprecated use `RetrieveFeesGlobals$Outbound` instead. */
|
|
97
|
+
export type Outbound = RetrieveFeesGlobals$Outbound;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function retrieveFeesGlobalsToJSON(
|
|
101
|
+
retrieveFeesGlobals: RetrieveFeesGlobals,
|
|
102
|
+
): string {
|
|
103
|
+
return JSON.stringify(
|
|
104
|
+
RetrieveFeesGlobals$outboundSchema.parse(retrieveFeesGlobals),
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function retrieveFeesGlobalsFromJSON(
|
|
109
|
+
jsonString: string,
|
|
110
|
+
): SafeParseResult<RetrieveFeesGlobals, SDKValidationError> {
|
|
111
|
+
return safeParse(
|
|
112
|
+
jsonString,
|
|
113
|
+
(x) => RetrieveFeesGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
114
|
+
`Failed to parse 'RetrieveFeesGlobals' from JSON`,
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/** @internal */
|
|
119
|
+
export const RetrieveFeesRequest$inboundSchema: z.ZodType<
|
|
120
|
+
RetrieveFeesRequest,
|
|
121
|
+
z.ZodTypeDef,
|
|
122
|
+
unknown
|
|
123
|
+
> = z.object({
|
|
124
|
+
accountID: z.string(),
|
|
125
|
+
transferID: z.string().optional(),
|
|
126
|
+
disputeID: z.string().optional(),
|
|
127
|
+
startDateTime: z.string().optional(),
|
|
128
|
+
endDateTime: z.string().optional(),
|
|
129
|
+
skip: z.number().int().optional(),
|
|
130
|
+
count: z.number().int().optional(),
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
/** @internal */
|
|
134
|
+
export type RetrieveFeesRequest$Outbound = {
|
|
135
|
+
accountID: string;
|
|
136
|
+
transferID?: string | undefined;
|
|
137
|
+
disputeID?: string | undefined;
|
|
138
|
+
startDateTime?: string | undefined;
|
|
139
|
+
endDateTime?: string | undefined;
|
|
140
|
+
skip?: number | undefined;
|
|
141
|
+
count?: number | undefined;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
/** @internal */
|
|
145
|
+
export const RetrieveFeesRequest$outboundSchema: z.ZodType<
|
|
146
|
+
RetrieveFeesRequest$Outbound,
|
|
147
|
+
z.ZodTypeDef,
|
|
148
|
+
RetrieveFeesRequest
|
|
149
|
+
> = z.object({
|
|
150
|
+
accountID: z.string(),
|
|
151
|
+
transferID: z.string().optional(),
|
|
152
|
+
disputeID: z.string().optional(),
|
|
153
|
+
startDateTime: z.string().optional(),
|
|
154
|
+
endDateTime: z.string().optional(),
|
|
155
|
+
skip: z.number().int().optional(),
|
|
156
|
+
count: z.number().int().optional(),
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @internal
|
|
161
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
162
|
+
*/
|
|
163
|
+
export namespace RetrieveFeesRequest$ {
|
|
164
|
+
/** @deprecated use `RetrieveFeesRequest$inboundSchema` instead. */
|
|
165
|
+
export const inboundSchema = RetrieveFeesRequest$inboundSchema;
|
|
166
|
+
/** @deprecated use `RetrieveFeesRequest$outboundSchema` instead. */
|
|
167
|
+
export const outboundSchema = RetrieveFeesRequest$outboundSchema;
|
|
168
|
+
/** @deprecated use `RetrieveFeesRequest$Outbound` instead. */
|
|
169
|
+
export type Outbound = RetrieveFeesRequest$Outbound;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export function retrieveFeesRequestToJSON(
|
|
173
|
+
retrieveFeesRequest: RetrieveFeesRequest,
|
|
174
|
+
): string {
|
|
175
|
+
return JSON.stringify(
|
|
176
|
+
RetrieveFeesRequest$outboundSchema.parse(retrieveFeesRequest),
|
|
177
|
+
);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export function retrieveFeesRequestFromJSON(
|
|
181
|
+
jsonString: string,
|
|
182
|
+
): SafeParseResult<RetrieveFeesRequest, SDKValidationError> {
|
|
183
|
+
return safeParse(
|
|
184
|
+
jsonString,
|
|
185
|
+
(x) => RetrieveFeesRequest$inboundSchema.parse(JSON.parse(x)),
|
|
186
|
+
`Failed to parse 'RetrieveFeesRequest' from JSON`,
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/** @internal */
|
|
191
|
+
export const RetrieveFeesResponse$inboundSchema: z.ZodType<
|
|
192
|
+
RetrieveFeesResponse,
|
|
193
|
+
z.ZodTypeDef,
|
|
194
|
+
unknown
|
|
195
|
+
> = z.object({
|
|
196
|
+
Headers: z.record(z.array(z.string())),
|
|
197
|
+
Result: z.array(components.IncurredFee$inboundSchema),
|
|
198
|
+
}).transform((v) => {
|
|
199
|
+
return remap$(v, {
|
|
200
|
+
"Headers": "headers",
|
|
201
|
+
"Result": "result",
|
|
202
|
+
});
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
/** @internal */
|
|
206
|
+
export type RetrieveFeesResponse$Outbound = {
|
|
207
|
+
Headers: { [k: string]: Array<string> };
|
|
208
|
+
Result: Array<components.IncurredFee$Outbound>;
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
/** @internal */
|
|
212
|
+
export const RetrieveFeesResponse$outboundSchema: z.ZodType<
|
|
213
|
+
RetrieveFeesResponse$Outbound,
|
|
214
|
+
z.ZodTypeDef,
|
|
215
|
+
RetrieveFeesResponse
|
|
216
|
+
> = z.object({
|
|
217
|
+
headers: z.record(z.array(z.string())),
|
|
218
|
+
result: z.array(components.IncurredFee$outboundSchema),
|
|
219
|
+
}).transform((v) => {
|
|
220
|
+
return remap$(v, {
|
|
221
|
+
headers: "Headers",
|
|
222
|
+
result: "Result",
|
|
223
|
+
});
|
|
224
|
+
});
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @internal
|
|
228
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
229
|
+
*/
|
|
230
|
+
export namespace RetrieveFeesResponse$ {
|
|
231
|
+
/** @deprecated use `RetrieveFeesResponse$inboundSchema` instead. */
|
|
232
|
+
export const inboundSchema = RetrieveFeesResponse$inboundSchema;
|
|
233
|
+
/** @deprecated use `RetrieveFeesResponse$outboundSchema` instead. */
|
|
234
|
+
export const outboundSchema = RetrieveFeesResponse$outboundSchema;
|
|
235
|
+
/** @deprecated use `RetrieveFeesResponse$Outbound` instead. */
|
|
236
|
+
export type Outbound = RetrieveFeesResponse$Outbound;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export function retrieveFeesResponseToJSON(
|
|
240
|
+
retrieveFeesResponse: RetrieveFeesResponse,
|
|
241
|
+
): string {
|
|
242
|
+
return JSON.stringify(
|
|
243
|
+
RetrieveFeesResponse$outboundSchema.parse(retrieveFeesResponse),
|
|
244
|
+
);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export function retrieveFeesResponseFromJSON(
|
|
248
|
+
jsonString: string,
|
|
249
|
+
): SafeParseResult<RetrieveFeesResponse, SDKValidationError> {
|
|
250
|
+
return safeParse(
|
|
251
|
+
jsonString,
|
|
252
|
+
(x) => RetrieveFeesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
253
|
+
`Failed to parse 'RetrieveFeesResponse' from JSON`,
|
|
254
|
+
);
|
|
255
|
+
}
|
|
@@ -2,16 +2,18 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { feePlansCreateFeePlanAgreements } from "../funcs/feePlansCreateFeePlanAgreements.js";
|
|
6
|
+
import { feePlansListFeePlanAgreements } from "../funcs/feePlansListFeePlanAgreements.js";
|
|
7
|
+
import { feePlansListFeePlans } from "../funcs/feePlansListFeePlans.js";
|
|
8
|
+
import { feePlansListFeesFetch } from "../funcs/feePlansListFeesFetch.js";
|
|
9
|
+
import { feePlansListPartnerPricing } from "../funcs/feePlansListPartnerPricing.js";
|
|
10
|
+
import { feePlansListPartnerPricingAgreements } from "../funcs/feePlansListPartnerPricingAgreements.js";
|
|
11
|
+
import { feePlansRetrieveFees } from "../funcs/feePlansRetrieveFees.js";
|
|
10
12
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
13
|
import * as operations from "../models/operations/index.js";
|
|
12
14
|
import { unwrapAsync } from "../types/fp.js";
|
|
13
15
|
|
|
14
|
-
export class
|
|
16
|
+
export class FeePlans extends ClientSDK {
|
|
15
17
|
/**
|
|
16
18
|
* List all fee plan agreements associated with an account.
|
|
17
19
|
*
|
|
@@ -22,7 +24,7 @@ export class Billing extends ClientSDK {
|
|
|
22
24
|
request: operations.ListFeePlanAgreementsRequest,
|
|
23
25
|
options?: RequestOptions,
|
|
24
26
|
): Promise<operations.ListFeePlanAgreementsResponse> {
|
|
25
|
-
return unwrapAsync(
|
|
27
|
+
return unwrapAsync(feePlansListFeePlanAgreements(
|
|
26
28
|
this,
|
|
27
29
|
request,
|
|
28
30
|
options,
|
|
@@ -39,7 +41,7 @@ export class Billing extends ClientSDK {
|
|
|
39
41
|
request: operations.CreateFeePlanAgreementsRequest,
|
|
40
42
|
options?: RequestOptions,
|
|
41
43
|
): Promise<operations.CreateFeePlanAgreementsResponse> {
|
|
42
|
-
return unwrapAsync(
|
|
44
|
+
return unwrapAsync(feePlansCreateFeePlanAgreements(
|
|
43
45
|
this,
|
|
44
46
|
request,
|
|
45
47
|
options,
|
|
@@ -57,7 +59,41 @@ export class Billing extends ClientSDK {
|
|
|
57
59
|
request: operations.ListFeePlansRequest,
|
|
58
60
|
options?: RequestOptions,
|
|
59
61
|
): Promise<operations.ListFeePlansResponse> {
|
|
60
|
-
return unwrapAsync(
|
|
62
|
+
return unwrapAsync(feePlansListFeePlans(
|
|
63
|
+
this,
|
|
64
|
+
request,
|
|
65
|
+
options,
|
|
66
|
+
));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Retrieve fees associated with an account.
|
|
71
|
+
*
|
|
72
|
+
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73
|
+
* you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
74
|
+
*/
|
|
75
|
+
async retrieveFees(
|
|
76
|
+
request: operations.RetrieveFeesRequest,
|
|
77
|
+
options?: RequestOptions,
|
|
78
|
+
): Promise<operations.RetrieveFeesResponse> {
|
|
79
|
+
return unwrapAsync(feePlansRetrieveFees(
|
|
80
|
+
this,
|
|
81
|
+
request,
|
|
82
|
+
options,
|
|
83
|
+
));
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* List fees associated with an account.
|
|
88
|
+
*
|
|
89
|
+
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
90
|
+
* you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
91
|
+
*/
|
|
92
|
+
async listFeesFetch(
|
|
93
|
+
request: operations.ListFeesFetchRequest,
|
|
94
|
+
options?: RequestOptions,
|
|
95
|
+
): Promise<operations.ListFeesFetchResponse> {
|
|
96
|
+
return unwrapAsync(feePlansListFeesFetch(
|
|
61
97
|
this,
|
|
62
98
|
request,
|
|
63
99
|
options,
|
|
@@ -74,7 +110,7 @@ export class Billing extends ClientSDK {
|
|
|
74
110
|
request: operations.ListPartnerPricingRequest,
|
|
75
111
|
options?: RequestOptions,
|
|
76
112
|
): Promise<operations.ListPartnerPricingResponse> {
|
|
77
|
-
return unwrapAsync(
|
|
113
|
+
return unwrapAsync(feePlansListPartnerPricing(
|
|
78
114
|
this,
|
|
79
115
|
request,
|
|
80
116
|
options,
|
|
@@ -91,7 +127,7 @@ export class Billing extends ClientSDK {
|
|
|
91
127
|
request: operations.ListPartnerPricingAgreementsRequest,
|
|
92
128
|
options?: RequestOptions,
|
|
93
129
|
): Promise<operations.ListPartnerPricingAgreementsResponse> {
|
|
94
|
-
return unwrapAsync(
|
|
130
|
+
return unwrapAsync(feePlansListPartnerPricingAgreements(
|
|
95
131
|
this,
|
|
96
132
|
request,
|
|
97
133
|
options,
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { ApplePay } from "./applepay.js";
|
|
|
9
9
|
import { Authentication } from "./authentication.js";
|
|
10
10
|
import { Avatars } from "./avatars.js";
|
|
11
11
|
import { BankAccounts } from "./bankaccounts.js";
|
|
12
|
-
import { Billing } from "./billing.js";
|
|
13
12
|
import { Branding } from "./branding.js";
|
|
14
13
|
import { Capabilities } from "./capabilities.js";
|
|
15
14
|
import { CardIssuing } from "./cardissuing.js";
|
|
@@ -18,6 +17,7 @@ import { Disputes } from "./disputes.js";
|
|
|
18
17
|
import { EndToEndEncryption } from "./endtoendencryption.js";
|
|
19
18
|
import { EnrichedAddress } from "./enrichedaddress.js";
|
|
20
19
|
import { EnrichedProfile } from "./enrichedprofile.js";
|
|
20
|
+
import { FeePlans } from "./feeplans.js";
|
|
21
21
|
import { Files } from "./files.js";
|
|
22
22
|
import { Industries } from "./industries.js";
|
|
23
23
|
import { Institutions } from "./institutions.js";
|
|
@@ -75,9 +75,9 @@ export class Moov extends ClientSDK {
|
|
|
75
75
|
return (this._disputes ??= new Disputes(this._options));
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
private
|
|
79
|
-
get
|
|
80
|
-
return (this.
|
|
78
|
+
private _feePlans?: FeePlans;
|
|
79
|
+
get feePlans(): FeePlans {
|
|
80
|
+
return (this._feePlans ??= new FeePlans(this._options));
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
private _files?: Files;
|
package/src/sdk/transfers.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { transfersList } from "../funcs/transfersList.js";
|
|
|
12
12
|
import { transfersListRefunds } from "../funcs/transfersListRefunds.js";
|
|
13
13
|
import { transfersUpdate } from "../funcs/transfersUpdate.js";
|
|
14
14
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
15
|
+
import * as components from "../models/components/index.js";
|
|
15
16
|
import * as operations from "../models/operations/index.js";
|
|
16
17
|
import { unwrapAsync } from "../types/fp.js";
|
|
17
18
|
|
|
@@ -181,7 +182,7 @@ export class Transfers extends ClientSDK {
|
|
|
181
182
|
* you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
182
183
|
*/
|
|
183
184
|
async generateOptions(
|
|
184
|
-
request:
|
|
185
|
+
request: components.CreateTransferOptions,
|
|
185
186
|
options?: RequestOptions,
|
|
186
187
|
): Promise<operations.CreateTransferOptionsResponse> {
|
|
187
188
|
return unwrapAsync(transfersGenerateOptions(
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export type APICall =
|
|
6
|
+
| {
|
|
7
|
+
status: "complete";
|
|
8
|
+
request: Request;
|
|
9
|
+
response: Response;
|
|
10
|
+
}
|
|
11
|
+
| {
|
|
12
|
+
status: "request-error";
|
|
13
|
+
request: Request;
|
|
14
|
+
response?: undefined;
|
|
15
|
+
}
|
|
16
|
+
| {
|
|
17
|
+
status: "invalid";
|
|
18
|
+
request?: undefined;
|
|
19
|
+
response?: undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export class APIPromise<T> implements Promise<T> {
|
|
23
|
+
readonly #promise: Promise<[T, APICall]>;
|
|
24
|
+
readonly #unwrapped: Promise<T>;
|
|
25
|
+
|
|
26
|
+
readonly [Symbol.toStringTag] = "APIPromise";
|
|
27
|
+
|
|
28
|
+
constructor(p: [T, APICall] | Promise<[T, APICall]>) {
|
|
29
|
+
this.#promise = p instanceof Promise ? p : Promise.resolve(p);
|
|
30
|
+
this.#unwrapped =
|
|
31
|
+
p instanceof Promise
|
|
32
|
+
? this.#promise.then(([value]) => value)
|
|
33
|
+
: Promise.resolve(p[0]);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
then<TResult1 = T, TResult2 = never>(
|
|
37
|
+
onfulfilled?:
|
|
38
|
+
| ((value: T) => TResult1 | PromiseLike<TResult1>)
|
|
39
|
+
| null
|
|
40
|
+
| undefined,
|
|
41
|
+
onrejected?:
|
|
42
|
+
| ((reason: any) => TResult2 | PromiseLike<TResult2>)
|
|
43
|
+
| null
|
|
44
|
+
| undefined,
|
|
45
|
+
): Promise<TResult1 | TResult2> {
|
|
46
|
+
return this.#promise.then(
|
|
47
|
+
onfulfilled ? ([value]) => onfulfilled(value) : void 0,
|
|
48
|
+
onrejected,
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
catch<TResult = never>(
|
|
53
|
+
onrejected?:
|
|
54
|
+
| ((reason: any) => TResult | PromiseLike<TResult>)
|
|
55
|
+
| null
|
|
56
|
+
| undefined,
|
|
57
|
+
): Promise<T | TResult> {
|
|
58
|
+
return this.#unwrapped.catch(onrejected);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
finally(onfinally?: (() => void) | null | undefined): Promise<T> {
|
|
62
|
+
return this.#unwrapped.finally(onfinally);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
$inspect(): Promise<[T, APICall]> {
|
|
66
|
+
return this.#promise;
|
|
67
|
+
}
|
|
68
|
+
}
|