@moovio/sdk 0.7.1 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/bin/mcp-server.js +409 -206
- package/bin/mcp-server.js.map +160 -154
- package/docs/sdks/scheduling/README.md +2 -2
- package/funcs/receiptsCreate.js +1 -1
- package/funcs/schedulingList.d.ts +1 -1
- package/funcs/schedulingList.js +2 -1
- package/funcs/schedulingList.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.map +1 -1
- package/lib/sdks.js +2 -8
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/accountsAssignCountries.js +1 -1
- package/mcp-server/tools/accountsCreate.js +1 -1
- package/mcp-server/tools/accountsDisconnect.js +1 -1
- package/mcp-server/tools/accountsGet.js +1 -1
- package/mcp-server/tools/accountsGetCountries.js +1 -1
- package/mcp-server/tools/accountsGetMerchantProcessingAgreement.js +1 -1
- package/mcp-server/tools/accountsGetTermsOfServiceToken.js +1 -1
- package/mcp-server/tools/accountsList.js +1 -1
- package/mcp-server/tools/accountsUpdate.js +1 -1
- package/mcp-server/tools/adjustmentsGet.js +1 -1
- package/mcp-server/tools/adjustmentsList.js +1 -1
- package/mcp-server/tools/applePayCreateSession.js +1 -1
- package/mcp-server/tools/applePayGetMerchantDomains.js +1 -1
- package/mcp-server/tools/applePayLinkToken.js +1 -1
- package/mcp-server/tools/applePayRegisterMerchantDomains.js +1 -1
- package/mcp-server/tools/applePayUpdateMerchantDomains.js +1 -1
- package/mcp-server/tools/authenticationCreateAccessToken.js +1 -1
- package/mcp-server/tools/authenticationRevokeAccessToken.js +1 -1
- package/mcp-server/tools/avatarsGet.js +1 -1
- package/mcp-server/tools/bankAccountsCompleteMicroDeposits.js +1 -1
- package/mcp-server/tools/bankAccountsCompleteVerification.js +1 -1
- package/mcp-server/tools/bankAccountsDisable.js +1 -1
- package/mcp-server/tools/bankAccountsGet.js +1 -1
- package/mcp-server/tools/bankAccountsGetVerification.js +1 -1
- package/mcp-server/tools/bankAccountsInitiateMicroDeposits.js +1 -1
- package/mcp-server/tools/bankAccountsInitiateVerification.js +1 -1
- package/mcp-server/tools/bankAccountsLink.js +1 -1
- package/mcp-server/tools/bankAccountsList.js +1 -1
- package/mcp-server/tools/brandingCreate.js +1 -1
- package/mcp-server/tools/brandingGet.js +1 -1
- package/mcp-server/tools/brandingUpdate.js +1 -1
- package/mcp-server/tools/brandingUpsert.js +1 -1
- package/mcp-server/tools/capabilitiesDisable.js +1 -1
- package/mcp-server/tools/capabilitiesGet.js +1 -1
- package/mcp-server/tools/capabilitiesList.js +1 -1
- package/mcp-server/tools/capabilitiesRequest.js +1 -1
- package/mcp-server/tools/cardIssuingGet.js +1 -1
- package/mcp-server/tools/cardIssuingGetFull.js +1 -1
- package/mcp-server/tools/cardIssuingList.js +1 -1
- package/mcp-server/tools/cardIssuingRequest.js +1 -1
- package/mcp-server/tools/cardIssuingUpdate.js +1 -1
- package/mcp-server/tools/cardsDisable.js +1 -1
- package/mcp-server/tools/cardsGet.js +1 -1
- package/mcp-server/tools/cardsLink.js +1 -1
- package/mcp-server/tools/cardsList.js +1 -1
- package/mcp-server/tools/cardsUpdate.js +1 -1
- package/mcp-server/tools/disputesAccept.js +1 -1
- package/mcp-server/tools/disputesDeleteEvidence.js +1 -1
- package/mcp-server/tools/disputesGet.js +1 -1
- package/mcp-server/tools/disputesGetEvidence.js +1 -1
- package/mcp-server/tools/disputesGetEvidenceData.js +1 -1
- package/mcp-server/tools/disputesList.js +1 -1
- package/mcp-server/tools/disputesListEvidence.js +1 -1
- package/mcp-server/tools/disputesSubmitEvidence.js +1 -1
- package/mcp-server/tools/disputesUpdateEvidence.js +1 -1
- package/mcp-server/tools/disputesUploadEvidenceFile.js +1 -1
- package/mcp-server/tools/disputesUploadEvidenceText.js +1 -1
- package/mcp-server/tools/endToEndEncryptionGenerateKey.js +1 -1
- package/mcp-server/tools/endToEndEncryptionTestEncryptedToken.js +1 -1
- package/mcp-server/tools/enrichedAddressGet.js +1 -1
- package/mcp-server/tools/enrichedProfileGet.js +1 -1
- package/mcp-server/tools/feePlansCreateFeePlanAgreements.js +1 -1
- package/mcp-server/tools/feePlansListFeePlanAgreements.js +1 -1
- package/mcp-server/tools/feePlansListFeePlans.js +1 -1
- package/mcp-server/tools/feePlansListFeesFetch.js +1 -1
- package/mcp-server/tools/feePlansListPartnerPricing.js +1 -1
- package/mcp-server/tools/feePlansListPartnerPricingAgreements.js +1 -1
- package/mcp-server/tools/feePlansRetrieveFees.js +1 -1
- package/mcp-server/tools/filesGet.js +1 -1
- package/mcp-server/tools/filesList.js +1 -1
- package/mcp-server/tools/filesUpload.js +1 -1
- package/mcp-server/tools/industriesList.js +1 -1
- package/mcp-server/tools/institutionsSearch.js +1 -1
- package/mcp-server/tools/issuingTransactionsGet.js +1 -1
- package/mcp-server/tools/issuingTransactionsGetAuthorization.js +1 -1
- package/mcp-server/tools/issuingTransactionsList.js +1 -1
- package/mcp-server/tools/issuingTransactionsListAuthorizationEvents.js +1 -1
- package/mcp-server/tools/issuingTransactionsListAuthorizations.js +1 -1
- package/mcp-server/tools/onboardingCreateInvite.js +1 -1
- package/mcp-server/tools/onboardingGetInvite.js +1 -1
- package/mcp-server/tools/onboardingListInvites.js +1 -1
- package/mcp-server/tools/onboardingRevokeInvite.js +1 -1
- package/mcp-server/tools/paymentLinksCreate.js +1 -1
- package/mcp-server/tools/paymentLinksDisable.js +1 -1
- package/mcp-server/tools/paymentLinksGet.js +1 -1
- package/mcp-server/tools/paymentLinksGetQRCode.js +1 -1
- package/mcp-server/tools/paymentLinksList.js +1 -1
- package/mcp-server/tools/paymentLinksUpdate.js +1 -1
- package/mcp-server/tools/paymentMethodsGet.js +1 -1
- package/mcp-server/tools/paymentMethodsList.js +1 -1
- package/mcp-server/tools/pingPing.js +1 -1
- package/mcp-server/tools/receiptsCreate.js +1 -1
- package/mcp-server/tools/receiptsList.js +1 -1
- package/mcp-server/tools/representativesCreate.js +1 -1
- package/mcp-server/tools/representativesDelete.js +1 -1
- package/mcp-server/tools/representativesGet.js +1 -1
- package/mcp-server/tools/representativesList.js +1 -1
- package/mcp-server/tools/representativesUpdate.js +1 -1
- package/mcp-server/tools/schedulingCancel.js +1 -1
- package/mcp-server/tools/schedulingCreate.js +1 -1
- package/mcp-server/tools/schedulingGet.js +1 -1
- package/mcp-server/tools/schedulingGetOccurrance.js +1 -1
- package/mcp-server/tools/schedulingList.js +2 -2
- package/mcp-server/tools/schedulingUpdate.js +1 -1
- package/mcp-server/tools/sweepsCreateConfig.js +1 -1
- package/mcp-server/tools/sweepsGet.js +1 -1
- package/mcp-server/tools/sweepsGetConfig.js +1 -1
- package/mcp-server/tools/sweepsList.js +1 -1
- package/mcp-server/tools/sweepsListConfigs.js +1 -1
- package/mcp-server/tools/sweepsUpdateConfig.js +1 -1
- package/mcp-server/tools/terminalApplicationsCreate.js +1 -1
- package/mcp-server/tools/terminalApplicationsDelete.js +1 -1
- package/mcp-server/tools/terminalApplicationsGet.js +1 -1
- package/mcp-server/tools/terminalApplicationsList.js +1 -1
- package/mcp-server/tools/transfersCreate.js +1 -1
- package/mcp-server/tools/transfersCreateCancellation.js +1 -1
- package/mcp-server/tools/transfersCreateReversal.js +1 -1
- package/mcp-server/tools/transfersGenerateOptions.js +1 -1
- package/mcp-server/tools/transfersGet.js +1 -1
- package/mcp-server/tools/transfersGetCancellation.js +1 -1
- package/mcp-server/tools/transfersGetRefund.js +1 -1
- package/mcp-server/tools/transfersInitiateRefund.js +1 -1
- package/mcp-server/tools/transfersList.js +1 -1
- package/mcp-server/tools/transfersListRefunds.js +1 -1
- package/mcp-server/tools/transfersUpdate.js +1 -1
- package/mcp-server/tools/underwritingGet.js +1 -1
- package/mcp-server/tools/underwritingUpsert.js +1 -1
- package/mcp-server/tools/walletTransactionsGet.js +1 -1
- package/mcp-server/tools/walletTransactionsList.js +1 -1
- package/mcp-server/tools/walletsGet.js +1 -1
- package/mcp-server/tools/walletsList.js +1 -1
- package/mcp-server/tools.d.ts.map +1 -1
- package/mcp-server/tools.js +3 -0
- package/mcp-server/tools.js.map +1 -1
- package/models/components/cardpresentpaymentpaymentmethod.d.ts +66 -0
- package/models/components/cardpresentpaymentpaymentmethod.d.ts.map +1 -0
- package/models/components/cardpresentpaymentpaymentmethod.js +93 -0
- package/models/components/cardpresentpaymentpaymentmethod.js.map +1 -0
- package/models/components/debitholdperiod.d.ts +6 -6
- package/models/components/debitholdperiod.js +2 -2
- package/models/components/debitholdperiod.js.map +1 -1
- package/models/components/entrymode.d.ts +31 -0
- package/models/components/entrymode.d.ts.map +1 -0
- package/models/components/entrymode.js +63 -0
- package/models/components/entrymode.js.map +1 -0
- package/models/components/feeplan.d.ts +6 -0
- package/models/components/feeplan.d.ts.map +1 -1
- package/models/components/feeplan.js +3 -0
- package/models/components/feeplan.js.map +1 -1
- package/models/components/feeplanagreement.d.ts +6 -0
- package/models/components/feeplanagreement.d.ts.map +1 -1
- package/models/components/feeplanagreement.js +3 -0
- package/models/components/feeplanagreement.js.map +1 -1
- package/models/components/governmentid.d.ts +30 -30
- package/models/components/governmentid.d.ts.map +1 -1
- package/models/components/governmentid.js +38 -35
- package/models/components/governmentid.js.map +1 -1
- package/models/components/governmentiderror.d.ts +30 -30
- package/models/components/governmentiderror.d.ts.map +1 -1
- package/models/components/governmentiderror.js +35 -38
- package/models/components/governmentiderror.js.map +1 -1
- package/models/components/index.d.ts +6 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +6 -0
- package/models/components/index.js.map +1 -1
- package/models/components/minimumcommitment.d.ts +44 -0
- package/models/components/minimumcommitment.d.ts.map +1 -0
- package/models/components/minimumcommitment.js +71 -0
- package/models/components/minimumcommitment.js.map +1 -0
- package/models/components/partialscheduleaccount.d.ts +33 -0
- package/models/components/partialscheduleaccount.d.ts.map +1 -0
- package/models/components/partialscheduleaccount.js +73 -0
- package/models/components/partialscheduleaccount.js.map +1 -0
- package/models/components/partnerpricing.d.ts +6 -0
- package/models/components/partnerpricing.d.ts.map +1 -1
- package/models/components/partnerpricing.js +3 -0
- package/models/components/partnerpricing.js.map +1 -1
- package/models/components/partnerpricingagreement.d.ts +6 -0
- package/models/components/partnerpricingagreement.d.ts.map +1 -1
- package/models/components/partnerpricingagreement.js +3 -0
- package/models/components/partnerpricingagreement.js.map +1 -1
- package/models/components/paymentmethod.d.ts +5 -0
- package/models/components/paymentmethod.d.ts.map +1 -1
- package/models/components/paymentmethod.js +5 -0
- package/models/components/paymentmethod.js.map +1 -1
- package/models/components/paymentmethodtype.d.ts +3 -0
- package/models/components/paymentmethodtype.d.ts.map +1 -1
- package/models/components/paymentmethodtype.js +1 -0
- package/models/components/paymentmethodtype.js.map +1 -1
- package/models/components/schedulelistresponse.d.ts +70 -0
- package/models/components/schedulelistresponse.d.ts.map +1 -0
- package/models/components/schedulelistresponse.js +102 -0
- package/models/components/schedulelistresponse.js.map +1 -0
- package/models/components/taxid.d.ts +15 -15
- package/models/components/taxid.d.ts.map +1 -1
- package/models/components/taxid.js +20 -18
- package/models/components/taxid.js.map +1 -1
- package/models/components/taxidupdate.d.ts +15 -15
- package/models/components/taxidupdate.d.ts.map +1 -1
- package/models/components/taxidupdate.js +18 -20
- package/models/components/taxidupdate.js.map +1 -1
- package/models/components/terminalcard.d.ts +85 -0
- package/models/components/terminalcard.d.ts.map +1 -0
- package/models/components/terminalcard.js +91 -0
- package/models/components/terminalcard.js.map +1 -0
- package/models/operations/listschedules.d.ts +27 -2
- package/models/operations/listschedules.d.ts.map +1 -1
- package/models/operations/listschedules.js +24 -3
- package/models/operations/listschedules.js.map +1 -1
- package/package.json +1 -1
- package/sdk/scheduling.d.ts +1 -1
- package/sdk/scheduling.js +1 -1
- package/src/funcs/receiptsCreate.ts +1 -1
- package/src/funcs/schedulingList.ts +2 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +2 -7
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/accountsAssignCountries.ts +1 -1
- package/src/mcp-server/tools/accountsCreate.ts +1 -1
- package/src/mcp-server/tools/accountsDisconnect.ts +1 -1
- package/src/mcp-server/tools/accountsGet.ts +1 -1
- package/src/mcp-server/tools/accountsGetCountries.ts +1 -1
- package/src/mcp-server/tools/accountsGetMerchantProcessingAgreement.ts +1 -1
- package/src/mcp-server/tools/accountsGetTermsOfServiceToken.ts +1 -1
- package/src/mcp-server/tools/accountsList.ts +1 -1
- package/src/mcp-server/tools/accountsUpdate.ts +1 -1
- package/src/mcp-server/tools/adjustmentsGet.ts +1 -1
- package/src/mcp-server/tools/adjustmentsList.ts +1 -1
- package/src/mcp-server/tools/applePayCreateSession.ts +1 -1
- package/src/mcp-server/tools/applePayGetMerchantDomains.ts +1 -1
- package/src/mcp-server/tools/applePayLinkToken.ts +1 -1
- package/src/mcp-server/tools/applePayRegisterMerchantDomains.ts +1 -1
- package/src/mcp-server/tools/applePayUpdateMerchantDomains.ts +1 -1
- package/src/mcp-server/tools/authenticationCreateAccessToken.ts +1 -1
- package/src/mcp-server/tools/authenticationRevokeAccessToken.ts +1 -1
- package/src/mcp-server/tools/avatarsGet.ts +1 -1
- package/src/mcp-server/tools/bankAccountsCompleteMicroDeposits.ts +1 -1
- package/src/mcp-server/tools/bankAccountsCompleteVerification.ts +1 -1
- package/src/mcp-server/tools/bankAccountsDisable.ts +1 -1
- package/src/mcp-server/tools/bankAccountsGet.ts +1 -1
- package/src/mcp-server/tools/bankAccountsGetVerification.ts +1 -1
- package/src/mcp-server/tools/bankAccountsInitiateMicroDeposits.ts +1 -1
- package/src/mcp-server/tools/bankAccountsInitiateVerification.ts +1 -1
- package/src/mcp-server/tools/bankAccountsLink.ts +1 -1
- package/src/mcp-server/tools/bankAccountsList.ts +1 -1
- package/src/mcp-server/tools/brandingCreate.ts +1 -1
- package/src/mcp-server/tools/brandingGet.ts +1 -1
- package/src/mcp-server/tools/brandingUpdate.ts +1 -1
- package/src/mcp-server/tools/brandingUpsert.ts +1 -1
- package/src/mcp-server/tools/capabilitiesDisable.ts +1 -1
- package/src/mcp-server/tools/capabilitiesGet.ts +1 -1
- package/src/mcp-server/tools/capabilitiesList.ts +1 -1
- package/src/mcp-server/tools/capabilitiesRequest.ts +1 -1
- package/src/mcp-server/tools/cardIssuingGet.ts +1 -1
- package/src/mcp-server/tools/cardIssuingGetFull.ts +1 -1
- package/src/mcp-server/tools/cardIssuingList.ts +1 -1
- package/src/mcp-server/tools/cardIssuingRequest.ts +1 -1
- package/src/mcp-server/tools/cardIssuingUpdate.ts +1 -1
- package/src/mcp-server/tools/cardsDisable.ts +1 -1
- package/src/mcp-server/tools/cardsGet.ts +1 -1
- package/src/mcp-server/tools/cardsLink.ts +1 -1
- package/src/mcp-server/tools/cardsList.ts +1 -1
- package/src/mcp-server/tools/cardsUpdate.ts +1 -1
- package/src/mcp-server/tools/disputesAccept.ts +1 -1
- package/src/mcp-server/tools/disputesDeleteEvidence.ts +1 -1
- package/src/mcp-server/tools/disputesGet.ts +1 -1
- package/src/mcp-server/tools/disputesGetEvidence.ts +1 -1
- package/src/mcp-server/tools/disputesGetEvidenceData.ts +1 -1
- package/src/mcp-server/tools/disputesList.ts +1 -1
- package/src/mcp-server/tools/disputesListEvidence.ts +1 -1
- package/src/mcp-server/tools/disputesSubmitEvidence.ts +1 -1
- package/src/mcp-server/tools/disputesUpdateEvidence.ts +1 -1
- package/src/mcp-server/tools/disputesUploadEvidenceFile.ts +1 -1
- package/src/mcp-server/tools/disputesUploadEvidenceText.ts +1 -1
- package/src/mcp-server/tools/endToEndEncryptionGenerateKey.ts +1 -1
- package/src/mcp-server/tools/endToEndEncryptionTestEncryptedToken.ts +1 -1
- package/src/mcp-server/tools/enrichedAddressGet.ts +1 -1
- package/src/mcp-server/tools/enrichedProfileGet.ts +1 -1
- package/src/mcp-server/tools/feePlansCreateFeePlanAgreements.ts +1 -1
- package/src/mcp-server/tools/feePlansListFeePlanAgreements.ts +1 -1
- package/src/mcp-server/tools/feePlansListFeePlans.ts +1 -1
- package/src/mcp-server/tools/feePlansListFeesFetch.ts +1 -1
- package/src/mcp-server/tools/feePlansListPartnerPricing.ts +1 -1
- package/src/mcp-server/tools/feePlansListPartnerPricingAgreements.ts +1 -1
- package/src/mcp-server/tools/feePlansRetrieveFees.ts +1 -1
- package/src/mcp-server/tools/filesGet.ts +1 -1
- package/src/mcp-server/tools/filesList.ts +1 -1
- package/src/mcp-server/tools/filesUpload.ts +1 -1
- package/src/mcp-server/tools/industriesList.ts +1 -1
- package/src/mcp-server/tools/institutionsSearch.ts +1 -1
- package/src/mcp-server/tools/issuingTransactionsGet.ts +1 -1
- package/src/mcp-server/tools/issuingTransactionsGetAuthorization.ts +1 -1
- package/src/mcp-server/tools/issuingTransactionsList.ts +1 -1
- package/src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts +1 -1
- package/src/mcp-server/tools/issuingTransactionsListAuthorizations.ts +1 -1
- package/src/mcp-server/tools/onboardingCreateInvite.ts +1 -1
- package/src/mcp-server/tools/onboardingGetInvite.ts +1 -1
- package/src/mcp-server/tools/onboardingListInvites.ts +1 -1
- package/src/mcp-server/tools/onboardingRevokeInvite.ts +1 -1
- package/src/mcp-server/tools/paymentLinksCreate.ts +1 -1
- package/src/mcp-server/tools/paymentLinksDisable.ts +1 -1
- package/src/mcp-server/tools/paymentLinksGet.ts +1 -1
- package/src/mcp-server/tools/paymentLinksGetQRCode.ts +1 -1
- package/src/mcp-server/tools/paymentLinksList.ts +1 -1
- package/src/mcp-server/tools/paymentLinksUpdate.ts +1 -1
- package/src/mcp-server/tools/paymentMethodsGet.ts +1 -1
- package/src/mcp-server/tools/paymentMethodsList.ts +1 -1
- package/src/mcp-server/tools/pingPing.ts +1 -1
- package/src/mcp-server/tools/receiptsCreate.ts +1 -1
- package/src/mcp-server/tools/receiptsList.ts +1 -1
- package/src/mcp-server/tools/representativesCreate.ts +1 -1
- package/src/mcp-server/tools/representativesDelete.ts +1 -1
- package/src/mcp-server/tools/representativesGet.ts +1 -1
- package/src/mcp-server/tools/representativesList.ts +1 -1
- package/src/mcp-server/tools/representativesUpdate.ts +1 -1
- package/src/mcp-server/tools/schedulingCancel.ts +1 -1
- package/src/mcp-server/tools/schedulingCreate.ts +1 -1
- package/src/mcp-server/tools/schedulingGet.ts +1 -1
- package/src/mcp-server/tools/schedulingGetOccurrance.ts +1 -1
- package/src/mcp-server/tools/schedulingList.ts +2 -2
- package/src/mcp-server/tools/schedulingUpdate.ts +1 -1
- package/src/mcp-server/tools/sweepsCreateConfig.ts +1 -1
- package/src/mcp-server/tools/sweepsGet.ts +1 -1
- package/src/mcp-server/tools/sweepsGetConfig.ts +1 -1
- package/src/mcp-server/tools/sweepsList.ts +1 -1
- package/src/mcp-server/tools/sweepsListConfigs.ts +1 -1
- package/src/mcp-server/tools/sweepsUpdateConfig.ts +1 -1
- package/src/mcp-server/tools/terminalApplicationsCreate.ts +1 -1
- package/src/mcp-server/tools/terminalApplicationsDelete.ts +1 -1
- package/src/mcp-server/tools/terminalApplicationsGet.ts +1 -1
- package/src/mcp-server/tools/terminalApplicationsList.ts +1 -1
- package/src/mcp-server/tools/transfersCreate.ts +1 -1
- package/src/mcp-server/tools/transfersCreateCancellation.ts +1 -1
- package/src/mcp-server/tools/transfersCreateReversal.ts +1 -1
- package/src/mcp-server/tools/transfersGenerateOptions.ts +1 -1
- package/src/mcp-server/tools/transfersGet.ts +1 -1
- package/src/mcp-server/tools/transfersGetCancellation.ts +1 -1
- package/src/mcp-server/tools/transfersGetRefund.ts +1 -1
- package/src/mcp-server/tools/transfersInitiateRefund.ts +1 -1
- package/src/mcp-server/tools/transfersList.ts +1 -1
- package/src/mcp-server/tools/transfersListRefunds.ts +1 -1
- package/src/mcp-server/tools/transfersUpdate.ts +1 -1
- package/src/mcp-server/tools/underwritingGet.ts +1 -1
- package/src/mcp-server/tools/underwritingUpsert.ts +1 -1
- package/src/mcp-server/tools/walletTransactionsGet.ts +1 -1
- package/src/mcp-server/tools/walletTransactionsList.ts +1 -1
- package/src/mcp-server/tools/walletsGet.ts +1 -1
- package/src/mcp-server/tools/walletsList.ts +1 -1
- package/src/mcp-server/tools.ts +4 -0
- package/src/models/components/cardpresentpaymentpaymentmethod.ts +124 -0
- package/src/models/components/debitholdperiod.ts +2 -2
- package/src/models/components/entrymode.ts +36 -0
- package/src/models/components/feeplan.ts +13 -0
- package/src/models/components/feeplanagreement.ts +13 -0
- package/src/models/components/governmentid.ts +58 -76
- package/src/models/components/governmentiderror.ts +78 -58
- package/src/models/components/index.ts +6 -0
- package/src/models/components/minimumcommitment.ts +83 -0
- package/src/models/components/partialscheduleaccount.ts +74 -0
- package/src/models/components/partnerpricing.ts +13 -0
- package/src/models/components/partnerpricingagreement.ts +13 -0
- package/src/models/components/paymentmethod.ts +22 -2
- package/src/models/components/paymentmethodtype.ts +1 -0
- package/src/models/components/schedulelistresponse.ts +151 -0
- package/src/models/components/taxid.ts +27 -33
- package/src/models/components/taxidupdate.ts +33 -27
- package/src/models/components/terminalcard.ts +153 -0
- package/src/models/operations/listschedules.ts +33 -4
- package/src/sdk/scheduling.ts +1 -1
|
@@ -7,112 +7,132 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
|
-
export type
|
|
10
|
+
export type GovernmentIDErrorSsn = {
|
|
11
11
|
full?: string | undefined;
|
|
12
12
|
lastFour?: string | undefined;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
export type
|
|
15
|
+
export type GovernmentIDErrorItin = {
|
|
16
16
|
full?: string | undefined;
|
|
17
17
|
lastFour?: string | undefined;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export type GovernmentIDError = {
|
|
21
|
-
ssn?:
|
|
22
|
-
itin?:
|
|
21
|
+
ssn?: GovernmentIDErrorSsn | undefined;
|
|
22
|
+
itin?: GovernmentIDErrorItin | undefined;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
/** @internal */
|
|
26
|
-
export const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
export const GovernmentIDErrorSsn$inboundSchema: z.ZodType<
|
|
27
|
+
GovernmentIDErrorSsn,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
unknown
|
|
30
|
+
> = z.object({
|
|
31
|
+
full: z.string().optional(),
|
|
32
|
+
lastFour: z.string().optional(),
|
|
33
|
+
});
|
|
31
34
|
|
|
32
35
|
/** @internal */
|
|
33
|
-
export type
|
|
36
|
+
export type GovernmentIDErrorSsn$Outbound = {
|
|
34
37
|
full?: string | undefined;
|
|
35
38
|
lastFour?: string | undefined;
|
|
36
39
|
};
|
|
37
40
|
|
|
38
41
|
/** @internal */
|
|
39
|
-
export const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
export const GovernmentIDErrorSsn$outboundSchema: z.ZodType<
|
|
43
|
+
GovernmentIDErrorSsn$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
GovernmentIDErrorSsn
|
|
46
|
+
> = z.object({
|
|
47
|
+
full: z.string().optional(),
|
|
48
|
+
lastFour: z.string().optional(),
|
|
49
|
+
});
|
|
44
50
|
|
|
45
51
|
/**
|
|
46
52
|
* @internal
|
|
47
53
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
54
|
*/
|
|
49
|
-
export namespace
|
|
50
|
-
/** @deprecated use `
|
|
51
|
-
export const inboundSchema =
|
|
52
|
-
/** @deprecated use `
|
|
53
|
-
export const outboundSchema =
|
|
54
|
-
/** @deprecated use `
|
|
55
|
-
export type Outbound =
|
|
55
|
+
export namespace GovernmentIDErrorSsn$ {
|
|
56
|
+
/** @deprecated use `GovernmentIDErrorSsn$inboundSchema` instead. */
|
|
57
|
+
export const inboundSchema = GovernmentIDErrorSsn$inboundSchema;
|
|
58
|
+
/** @deprecated use `GovernmentIDErrorSsn$outboundSchema` instead. */
|
|
59
|
+
export const outboundSchema = GovernmentIDErrorSsn$outboundSchema;
|
|
60
|
+
/** @deprecated use `GovernmentIDErrorSsn$Outbound` instead. */
|
|
61
|
+
export type Outbound = GovernmentIDErrorSsn$Outbound;
|
|
56
62
|
}
|
|
57
63
|
|
|
58
|
-
export function
|
|
59
|
-
|
|
64
|
+
export function governmentIDErrorSsnToJSON(
|
|
65
|
+
governmentIDErrorSsn: GovernmentIDErrorSsn,
|
|
66
|
+
): string {
|
|
67
|
+
return JSON.stringify(
|
|
68
|
+
GovernmentIDErrorSsn$outboundSchema.parse(governmentIDErrorSsn),
|
|
69
|
+
);
|
|
60
70
|
}
|
|
61
71
|
|
|
62
|
-
export function
|
|
72
|
+
export function governmentIDErrorSsnFromJSON(
|
|
63
73
|
jsonString: string,
|
|
64
|
-
): SafeParseResult<
|
|
74
|
+
): SafeParseResult<GovernmentIDErrorSsn, SDKValidationError> {
|
|
65
75
|
return safeParse(
|
|
66
76
|
jsonString,
|
|
67
|
-
(x) =>
|
|
68
|
-
`Failed to parse '
|
|
77
|
+
(x) => GovernmentIDErrorSsn$inboundSchema.parse(JSON.parse(x)),
|
|
78
|
+
`Failed to parse 'GovernmentIDErrorSsn' from JSON`,
|
|
69
79
|
);
|
|
70
80
|
}
|
|
71
81
|
|
|
72
82
|
/** @internal */
|
|
73
|
-
export const
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
83
|
+
export const GovernmentIDErrorItin$inboundSchema: z.ZodType<
|
|
84
|
+
GovernmentIDErrorItin,
|
|
85
|
+
z.ZodTypeDef,
|
|
86
|
+
unknown
|
|
87
|
+
> = z.object({
|
|
88
|
+
full: z.string().optional(),
|
|
89
|
+
lastFour: z.string().optional(),
|
|
90
|
+
});
|
|
78
91
|
|
|
79
92
|
/** @internal */
|
|
80
|
-
export type
|
|
93
|
+
export type GovernmentIDErrorItin$Outbound = {
|
|
81
94
|
full?: string | undefined;
|
|
82
95
|
lastFour?: string | undefined;
|
|
83
96
|
};
|
|
84
97
|
|
|
85
98
|
/** @internal */
|
|
86
|
-
export const
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
99
|
+
export const GovernmentIDErrorItin$outboundSchema: z.ZodType<
|
|
100
|
+
GovernmentIDErrorItin$Outbound,
|
|
101
|
+
z.ZodTypeDef,
|
|
102
|
+
GovernmentIDErrorItin
|
|
103
|
+
> = z.object({
|
|
104
|
+
full: z.string().optional(),
|
|
105
|
+
lastFour: z.string().optional(),
|
|
106
|
+
});
|
|
91
107
|
|
|
92
108
|
/**
|
|
93
109
|
* @internal
|
|
94
110
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
95
111
|
*/
|
|
96
|
-
export namespace
|
|
97
|
-
/** @deprecated use `
|
|
98
|
-
export const inboundSchema =
|
|
99
|
-
/** @deprecated use `
|
|
100
|
-
export const outboundSchema =
|
|
101
|
-
/** @deprecated use `
|
|
102
|
-
export type Outbound =
|
|
112
|
+
export namespace GovernmentIDErrorItin$ {
|
|
113
|
+
/** @deprecated use `GovernmentIDErrorItin$inboundSchema` instead. */
|
|
114
|
+
export const inboundSchema = GovernmentIDErrorItin$inboundSchema;
|
|
115
|
+
/** @deprecated use `GovernmentIDErrorItin$outboundSchema` instead. */
|
|
116
|
+
export const outboundSchema = GovernmentIDErrorItin$outboundSchema;
|
|
117
|
+
/** @deprecated use `GovernmentIDErrorItin$Outbound` instead. */
|
|
118
|
+
export type Outbound = GovernmentIDErrorItin$Outbound;
|
|
103
119
|
}
|
|
104
120
|
|
|
105
|
-
export function
|
|
106
|
-
|
|
121
|
+
export function governmentIDErrorItinToJSON(
|
|
122
|
+
governmentIDErrorItin: GovernmentIDErrorItin,
|
|
123
|
+
): string {
|
|
124
|
+
return JSON.stringify(
|
|
125
|
+
GovernmentIDErrorItin$outboundSchema.parse(governmentIDErrorItin),
|
|
126
|
+
);
|
|
107
127
|
}
|
|
108
128
|
|
|
109
|
-
export function
|
|
129
|
+
export function governmentIDErrorItinFromJSON(
|
|
110
130
|
jsonString: string,
|
|
111
|
-
): SafeParseResult<
|
|
131
|
+
): SafeParseResult<GovernmentIDErrorItin, SDKValidationError> {
|
|
112
132
|
return safeParse(
|
|
113
133
|
jsonString,
|
|
114
|
-
(x) =>
|
|
115
|
-
`Failed to parse '
|
|
134
|
+
(x) => GovernmentIDErrorItin$inboundSchema.parse(JSON.parse(x)),
|
|
135
|
+
`Failed to parse 'GovernmentIDErrorItin' from JSON`,
|
|
116
136
|
);
|
|
117
137
|
}
|
|
118
138
|
|
|
@@ -122,14 +142,14 @@ export const GovernmentIDError$inboundSchema: z.ZodType<
|
|
|
122
142
|
z.ZodTypeDef,
|
|
123
143
|
unknown
|
|
124
144
|
> = z.object({
|
|
125
|
-
ssn: z.lazy(() =>
|
|
126
|
-
itin: z.lazy(() =>
|
|
145
|
+
ssn: z.lazy(() => GovernmentIDErrorSsn$inboundSchema).optional(),
|
|
146
|
+
itin: z.lazy(() => GovernmentIDErrorItin$inboundSchema).optional(),
|
|
127
147
|
});
|
|
128
148
|
|
|
129
149
|
/** @internal */
|
|
130
150
|
export type GovernmentIDError$Outbound = {
|
|
131
|
-
ssn?:
|
|
132
|
-
itin?:
|
|
151
|
+
ssn?: GovernmentIDErrorSsn$Outbound | undefined;
|
|
152
|
+
itin?: GovernmentIDErrorItin$Outbound | undefined;
|
|
133
153
|
};
|
|
134
154
|
|
|
135
155
|
/** @internal */
|
|
@@ -138,8 +158,8 @@ export const GovernmentIDError$outboundSchema: z.ZodType<
|
|
|
138
158
|
z.ZodTypeDef,
|
|
139
159
|
GovernmentIDError
|
|
140
160
|
> = z.object({
|
|
141
|
-
ssn: z.lazy(() =>
|
|
142
|
-
itin: z.lazy(() =>
|
|
161
|
+
ssn: z.lazy(() => GovernmentIDErrorSsn$outboundSchema).optional(),
|
|
162
|
+
itin: z.lazy(() => GovernmentIDErrorItin$outboundSchema).optional(),
|
|
143
163
|
});
|
|
144
164
|
|
|
145
165
|
/**
|
|
@@ -89,6 +89,7 @@ export * from "./cardpaymentdetails.js";
|
|
|
89
89
|
export * from "./cardpaymentdetailserror.js";
|
|
90
90
|
export * from "./cardpaymentpaymentmethod.js";
|
|
91
91
|
export * from "./cardpaymentsettings.js";
|
|
92
|
+
export * from "./cardpresentpaymentpaymentmethod.js";
|
|
92
93
|
export * from "./cardtransactiondetails.js";
|
|
93
94
|
export * from "./cardtransactionfailurecode.js";
|
|
94
95
|
export * from "./cardtransactionstatus.js";
|
|
@@ -158,6 +159,7 @@ export * from "./enrichedbusinessresponse.js";
|
|
|
158
159
|
export * from "./enrichedindustries.js";
|
|
159
160
|
export * from "./enrichedindustry.js";
|
|
160
161
|
export * from "./enrichedindustrycodes.js";
|
|
162
|
+
export * from "./entrymode.js";
|
|
161
163
|
export * from "./evidencetextresponse.js";
|
|
162
164
|
export * from "./evidencetype.js";
|
|
163
165
|
export * from "./evidenceuploadresponse.js";
|
|
@@ -219,6 +221,7 @@ export * from "./listfeesfetchrequest.js";
|
|
|
219
221
|
export * from "./manualtermsofservice.js";
|
|
220
222
|
export * from "./manualtermsofserviceupdate.js";
|
|
221
223
|
export * from "./microdepositstatus.js";
|
|
224
|
+
export * from "./minimumcommitment.js";
|
|
222
225
|
export * from "./mode.js";
|
|
223
226
|
export * from "./moovfeedetails.js";
|
|
224
227
|
export * from "./moovwalletpaymentmethod.js";
|
|
@@ -230,6 +233,7 @@ export * from "./occurrencestatus.js";
|
|
|
230
233
|
export * from "./onboardinginvite.js";
|
|
231
234
|
export * from "./onboardinginviterequest.js";
|
|
232
235
|
export * from "./onboardingpartneraccount.js";
|
|
236
|
+
export * from "./partialscheduleaccount.js";
|
|
233
237
|
export * from "./partnerpricing.js";
|
|
234
238
|
export * from "./partnerpricingagreement.js";
|
|
235
239
|
export * from "./patchaccount.js";
|
|
@@ -295,6 +299,7 @@ export * from "./rtprejectioncode.js";
|
|
|
295
299
|
export * from "./rtptransactiondetails.js";
|
|
296
300
|
export * from "./rtptransactionstatus.js";
|
|
297
301
|
export * from "./runtransfer.js";
|
|
302
|
+
export * from "./schedulelistresponse.js";
|
|
298
303
|
export * from "./schedulepaymentmethod.js";
|
|
299
304
|
export * from "./scheduleresponse.js";
|
|
300
305
|
export * from "./seccode.js";
|
|
@@ -312,6 +317,7 @@ export * from "./taxidupdate.js";
|
|
|
312
317
|
export * from "./terminalapplication.js";
|
|
313
318
|
export * from "./terminalapplicationplatform.js";
|
|
314
319
|
export * from "./terminalapplicationstatus.js";
|
|
320
|
+
export * from "./terminalcard.js";
|
|
315
321
|
export * from "./termsofservice.js";
|
|
316
322
|
export * from "./termsofserviceerror.js";
|
|
317
323
|
export * from "./termsofservicetoken.js";
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference.
|
|
12
|
+
*/
|
|
13
|
+
export type MinimumCommitment = {
|
|
14
|
+
/**
|
|
15
|
+
* A 3-letter ISO 4217 currency code.
|
|
16
|
+
*/
|
|
17
|
+
currency: string;
|
|
18
|
+
/**
|
|
19
|
+
* A decimal-formatted numerical string that represents up to 9 decimal place precision.
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
*
|
|
23
|
+
* For example, $12.987654321 is '12.987654321'.
|
|
24
|
+
*/
|
|
25
|
+
valueDecimal: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const MinimumCommitment$inboundSchema: z.ZodType<
|
|
30
|
+
MinimumCommitment,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
currency: z.string(),
|
|
35
|
+
valueDecimal: z.string(),
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type MinimumCommitment$Outbound = {
|
|
40
|
+
currency: string;
|
|
41
|
+
valueDecimal: string;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const MinimumCommitment$outboundSchema: z.ZodType<
|
|
46
|
+
MinimumCommitment$Outbound,
|
|
47
|
+
z.ZodTypeDef,
|
|
48
|
+
MinimumCommitment
|
|
49
|
+
> = z.object({
|
|
50
|
+
currency: z.string(),
|
|
51
|
+
valueDecimal: z.string(),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
+
*/
|
|
58
|
+
export namespace MinimumCommitment$ {
|
|
59
|
+
/** @deprecated use `MinimumCommitment$inboundSchema` instead. */
|
|
60
|
+
export const inboundSchema = MinimumCommitment$inboundSchema;
|
|
61
|
+
/** @deprecated use `MinimumCommitment$outboundSchema` instead. */
|
|
62
|
+
export const outboundSchema = MinimumCommitment$outboundSchema;
|
|
63
|
+
/** @deprecated use `MinimumCommitment$Outbound` instead. */
|
|
64
|
+
export type Outbound = MinimumCommitment$Outbound;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function minimumCommitmentToJSON(
|
|
68
|
+
minimumCommitment: MinimumCommitment,
|
|
69
|
+
): string {
|
|
70
|
+
return JSON.stringify(
|
|
71
|
+
MinimumCommitment$outboundSchema.parse(minimumCommitment),
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function minimumCommitmentFromJSON(
|
|
76
|
+
jsonString: string,
|
|
77
|
+
): SafeParseResult<MinimumCommitment, SDKValidationError> {
|
|
78
|
+
return safeParse(
|
|
79
|
+
jsonString,
|
|
80
|
+
(x) => MinimumCommitment$inboundSchema.parse(JSON.parse(x)),
|
|
81
|
+
`Failed to parse 'MinimumCommitment' from JSON`,
|
|
82
|
+
);
|
|
83
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type PartialScheduleAccount = {
|
|
11
|
+
accountID: string;
|
|
12
|
+
displayName: string;
|
|
13
|
+
email?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const PartialScheduleAccount$inboundSchema: z.ZodType<
|
|
18
|
+
PartialScheduleAccount,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
accountID: z.string(),
|
|
23
|
+
displayName: z.string(),
|
|
24
|
+
email: z.string().optional(),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export type PartialScheduleAccount$Outbound = {
|
|
29
|
+
accountID: string;
|
|
30
|
+
displayName: string;
|
|
31
|
+
email?: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const PartialScheduleAccount$outboundSchema: z.ZodType<
|
|
36
|
+
PartialScheduleAccount$Outbound,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
PartialScheduleAccount
|
|
39
|
+
> = z.object({
|
|
40
|
+
accountID: z.string(),
|
|
41
|
+
displayName: z.string(),
|
|
42
|
+
email: z.string().optional(),
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
|
+
*/
|
|
49
|
+
export namespace PartialScheduleAccount$ {
|
|
50
|
+
/** @deprecated use `PartialScheduleAccount$inboundSchema` instead. */
|
|
51
|
+
export const inboundSchema = PartialScheduleAccount$inboundSchema;
|
|
52
|
+
/** @deprecated use `PartialScheduleAccount$outboundSchema` instead. */
|
|
53
|
+
export const outboundSchema = PartialScheduleAccount$outboundSchema;
|
|
54
|
+
/** @deprecated use `PartialScheduleAccount$Outbound` instead. */
|
|
55
|
+
export type Outbound = PartialScheduleAccount$Outbound;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function partialScheduleAccountToJSON(
|
|
59
|
+
partialScheduleAccount: PartialScheduleAccount,
|
|
60
|
+
): string {
|
|
61
|
+
return JSON.stringify(
|
|
62
|
+
PartialScheduleAccount$outboundSchema.parse(partialScheduleAccount),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function partialScheduleAccountFromJSON(
|
|
67
|
+
jsonString: string,
|
|
68
|
+
): SafeParseResult<PartialScheduleAccount, SDKValidationError> {
|
|
69
|
+
return safeParse(
|
|
70
|
+
jsonString,
|
|
71
|
+
(x) => PartialScheduleAccount$inboundSchema.parse(JSON.parse(x)),
|
|
72
|
+
`Failed to parse 'PartialScheduleAccount' from JSON`,
|
|
73
|
+
);
|
|
74
|
+
}
|
|
@@ -17,6 +17,12 @@ import {
|
|
|
17
17
|
CardAcquiringModel$inboundSchema,
|
|
18
18
|
CardAcquiringModel$outboundSchema,
|
|
19
19
|
} from "./cardacquiringmodel.js";
|
|
20
|
+
import {
|
|
21
|
+
MinimumCommitment,
|
|
22
|
+
MinimumCommitment$inboundSchema,
|
|
23
|
+
MinimumCommitment$Outbound,
|
|
24
|
+
MinimumCommitment$outboundSchema,
|
|
25
|
+
} from "./minimumcommitment.js";
|
|
20
26
|
|
|
21
27
|
export type PartnerPricing = {
|
|
22
28
|
planID: string;
|
|
@@ -37,6 +43,10 @@ export type PartnerPricing = {
|
|
|
37
43
|
*/
|
|
38
44
|
cardAcquiringModel: CardAcquiringModel;
|
|
39
45
|
billableFees: Array<BillableFee>;
|
|
46
|
+
/**
|
|
47
|
+
* The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference.
|
|
48
|
+
*/
|
|
49
|
+
minimumCommitment: MinimumCommitment;
|
|
40
50
|
createdAt: Date;
|
|
41
51
|
};
|
|
42
52
|
|
|
@@ -52,6 +62,7 @@ export const PartnerPricing$inboundSchema: z.ZodType<
|
|
|
52
62
|
revenueShare: z.number().int(),
|
|
53
63
|
cardAcquiringModel: CardAcquiringModel$inboundSchema,
|
|
54
64
|
billableFees: z.array(BillableFee$inboundSchema),
|
|
65
|
+
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
55
66
|
createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
56
67
|
});
|
|
57
68
|
|
|
@@ -63,6 +74,7 @@ export type PartnerPricing$Outbound = {
|
|
|
63
74
|
revenueShare: number;
|
|
64
75
|
cardAcquiringModel: string;
|
|
65
76
|
billableFees: Array<BillableFee$Outbound>;
|
|
77
|
+
minimumCommitment: MinimumCommitment$Outbound;
|
|
66
78
|
createdAt: string;
|
|
67
79
|
};
|
|
68
80
|
|
|
@@ -78,6 +90,7 @@ export const PartnerPricing$outboundSchema: z.ZodType<
|
|
|
78
90
|
revenueShare: z.number().int(),
|
|
79
91
|
cardAcquiringModel: CardAcquiringModel$outboundSchema,
|
|
80
92
|
billableFees: z.array(BillableFee$outboundSchema),
|
|
93
|
+
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
81
94
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
82
95
|
});
|
|
83
96
|
|
|
@@ -22,6 +22,12 @@ import {
|
|
|
22
22
|
FeePlanAgreementStatus$inboundSchema,
|
|
23
23
|
FeePlanAgreementStatus$outboundSchema,
|
|
24
24
|
} from "./feeplanagreementstatus.js";
|
|
25
|
+
import {
|
|
26
|
+
MinimumCommitment,
|
|
27
|
+
MinimumCommitment$inboundSchema,
|
|
28
|
+
MinimumCommitment$Outbound,
|
|
29
|
+
MinimumCommitment$outboundSchema,
|
|
30
|
+
} from "./minimumcommitment.js";
|
|
25
31
|
|
|
26
32
|
export type PartnerPricingAgreement = {
|
|
27
33
|
agreementID: string;
|
|
@@ -42,6 +48,10 @@ export type PartnerPricingAgreement = {
|
|
|
42
48
|
*/
|
|
43
49
|
cardAcquiringModel: CardAcquiringModel;
|
|
44
50
|
billableFees: Array<BillableFee>;
|
|
51
|
+
/**
|
|
52
|
+
* The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference.
|
|
53
|
+
*/
|
|
54
|
+
minimumCommitment: MinimumCommitment;
|
|
45
55
|
/**
|
|
46
56
|
* The integer percentage value of the revenue split for partner.
|
|
47
57
|
*/
|
|
@@ -63,6 +73,7 @@ export const PartnerPricingAgreement$inboundSchema: z.ZodType<
|
|
|
63
73
|
status: FeePlanAgreementStatus$inboundSchema,
|
|
64
74
|
cardAcquiringModel: CardAcquiringModel$inboundSchema,
|
|
65
75
|
billableFees: z.array(BillableFee$inboundSchema),
|
|
76
|
+
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
66
77
|
revenueShare: z.number().int(),
|
|
67
78
|
});
|
|
68
79
|
|
|
@@ -77,6 +88,7 @@ export type PartnerPricingAgreement$Outbound = {
|
|
|
77
88
|
status: string;
|
|
78
89
|
cardAcquiringModel: string;
|
|
79
90
|
billableFees: Array<BillableFee$Outbound>;
|
|
91
|
+
minimumCommitment: MinimumCommitment$Outbound;
|
|
80
92
|
revenueShare: number;
|
|
81
93
|
};
|
|
82
94
|
|
|
@@ -95,6 +107,7 @@ export const PartnerPricingAgreement$outboundSchema: z.ZodType<
|
|
|
95
107
|
status: FeePlanAgreementStatus$outboundSchema,
|
|
96
108
|
cardAcquiringModel: CardAcquiringModel$outboundSchema,
|
|
97
109
|
billableFees: z.array(BillableFee$outboundSchema),
|
|
110
|
+
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
98
111
|
revenueShare: z.number().int(),
|
|
99
112
|
});
|
|
100
113
|
|
|
@@ -42,6 +42,12 @@ import {
|
|
|
42
42
|
CardPaymentPaymentMethod$Outbound,
|
|
43
43
|
CardPaymentPaymentMethod$outboundSchema,
|
|
44
44
|
} from "./cardpaymentpaymentmethod.js";
|
|
45
|
+
import {
|
|
46
|
+
CardPresentPaymentPaymentMethod,
|
|
47
|
+
CardPresentPaymentPaymentMethod$inboundSchema,
|
|
48
|
+
CardPresentPaymentPaymentMethod$Outbound,
|
|
49
|
+
CardPresentPaymentPaymentMethod$outboundSchema,
|
|
50
|
+
} from "./cardpresentpaymentpaymentmethod.js";
|
|
45
51
|
import {
|
|
46
52
|
MoovWalletPaymentMethod,
|
|
47
53
|
MoovWalletPaymentMethod$inboundSchema,
|
|
@@ -84,7 +90,10 @@ export type PaymentMethod =
|
|
|
84
90
|
| (CardPaymentPaymentMethod & { paymentMethodType: "card-payment" })
|
|
85
91
|
| (PushToCardPaymentMethod & { paymentMethodType: "push-to-card" })
|
|
86
92
|
| (PullFromCardPaymentMethod & { paymentMethodType: "pull-from-card" })
|
|
87
|
-
| (ApplePayPaymentMethod & { paymentMethodType: "apple-pay" })
|
|
93
|
+
| (ApplePayPaymentMethod & { paymentMethodType: "apple-pay" })
|
|
94
|
+
| (CardPresentPaymentPaymentMethod & {
|
|
95
|
+
paymentMethodType: "card-present-payment";
|
|
96
|
+
});
|
|
88
97
|
|
|
89
98
|
/** @internal */
|
|
90
99
|
export const PaymentMethod$inboundSchema: z.ZodType<
|
|
@@ -142,6 +151,10 @@ export const PaymentMethod$inboundSchema: z.ZodType<
|
|
|
142
151
|
paymentMethodType: v.paymentMethodType,
|
|
143
152
|
})),
|
|
144
153
|
),
|
|
154
|
+
CardPresentPaymentPaymentMethod$inboundSchema.and(
|
|
155
|
+
z.object({ paymentMethodType: z.literal("card-present-payment") })
|
|
156
|
+
.transform((v) => ({ paymentMethodType: v.paymentMethodType })),
|
|
157
|
+
),
|
|
145
158
|
]);
|
|
146
159
|
|
|
147
160
|
/** @internal */
|
|
@@ -165,7 +178,10 @@ export type PaymentMethod$Outbound =
|
|
|
165
178
|
| (PullFromCardPaymentMethod$Outbound & {
|
|
166
179
|
paymentMethodType: "pull-from-card";
|
|
167
180
|
})
|
|
168
|
-
| (ApplePayPaymentMethod$Outbound & { paymentMethodType: "apple-pay" })
|
|
181
|
+
| (ApplePayPaymentMethod$Outbound & { paymentMethodType: "apple-pay" })
|
|
182
|
+
| (CardPresentPaymentPaymentMethod$Outbound & {
|
|
183
|
+
paymentMethodType: "card-present-payment";
|
|
184
|
+
});
|
|
169
185
|
|
|
170
186
|
/** @internal */
|
|
171
187
|
export const PaymentMethod$outboundSchema: z.ZodType<
|
|
@@ -223,6 +239,10 @@ export const PaymentMethod$outboundSchema: z.ZodType<
|
|
|
223
239
|
paymentMethodType: v.paymentMethodType,
|
|
224
240
|
})),
|
|
225
241
|
),
|
|
242
|
+
CardPresentPaymentPaymentMethod$outboundSchema.and(
|
|
243
|
+
z.object({ paymentMethodType: z.literal("card-present-payment") })
|
|
244
|
+
.transform((v) => ({ paymentMethodType: v.paymentMethodType })),
|
|
245
|
+
),
|
|
226
246
|
]);
|
|
227
247
|
|
|
228
248
|
/**
|
|
@@ -19,6 +19,7 @@ export const PaymentMethodType = {
|
|
|
19
19
|
PushToCard: "push-to-card",
|
|
20
20
|
PullFromCard: "pull-from-card",
|
|
21
21
|
ApplePay: "apple-pay",
|
|
22
|
+
CardPresentPayment: "card-present-payment",
|
|
22
23
|
} as const;
|
|
23
24
|
/**
|
|
24
25
|
* The payment method type that represents a payment rail and directionality
|