@moovio/sdk 0.11.5 → 0.12.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/FUNCTIONS.md +1 -82
- package/README.md +13 -505
- package/bin/mcp-server.js +1920 -1583
- package/bin/mcp-server.js.map +160 -150
- package/docs/sdks/accounts/README.md +16 -180
- package/docs/sdks/adjustments/README.md +6 -6
- package/docs/sdks/applepay/README.md +12 -12
- package/docs/sdks/bankaccounts/README.md +36 -36
- package/docs/sdks/branding/README.md +8 -8
- package/docs/sdks/capabilities/README.md +10 -10
- package/docs/sdks/cardissuing/README.md +22 -38
- package/docs/sdks/cards/README.md +10 -40
- package/docs/sdks/disputes/README.md +54 -54
- package/docs/sdks/enrichedprofile/README.md +2 -2
- package/docs/sdks/feeplans/README.md +16 -16
- package/docs/sdks/files/README.md +8 -8
- package/docs/sdks/industries/README.md +4 -4
- package/docs/sdks/issuingtransactions/README.md +16 -16
- package/docs/sdks/onboarding/README.md +2 -170
- package/docs/sdks/paymentlinks/README.md +16 -74
- package/docs/sdks/paymentmethods/README.md +6 -6
- package/docs/sdks/receipts/README.md +4 -14
- package/docs/sdks/representatives/README.md +18 -26
- package/docs/sdks/scheduling/README.md +34 -34
- package/docs/sdks/sweeps/README.md +22 -22
- package/docs/sdks/transfers/README.md +50 -96
- package/docs/sdks/underwriting/README.md +30 -30
- package/docs/sdks/wallets/README.md +6 -6
- package/docs/sdks/wallettransactions/README.md +10 -10
- package/funcs/accountTerminalApplicationsGet.js +2 -0
- package/funcs/accountTerminalApplicationsGet.js.map +1 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.js +2 -0
- package/funcs/accountTerminalApplicationsGetConfiguration.js.map +1 -1
- package/funcs/accountTerminalApplicationsLink.js +2 -0
- package/funcs/accountTerminalApplicationsLink.js.map +1 -1
- package/funcs/accountTerminalApplicationsList.js +2 -0
- package/funcs/accountTerminalApplicationsList.js.map +1 -1
- package/funcs/accountsAssignCountries.js +2 -0
- package/funcs/accountsAssignCountries.js.map +1 -1
- package/funcs/accountsCreate.js +2 -0
- package/funcs/accountsCreate.js.map +1 -1
- package/funcs/accountsDisconnect.js +2 -0
- package/funcs/accountsDisconnect.js.map +1 -1
- package/funcs/accountsGet.js +2 -0
- package/funcs/accountsGet.js.map +1 -1
- package/funcs/accountsGetCountries.js +2 -0
- package/funcs/accountsGetCountries.js.map +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.js +2 -0
- package/funcs/accountsGetMerchantProcessingAgreement.js.map +1 -1
- package/funcs/accountsGetTermsOfServiceToken.js +2 -0
- package/funcs/accountsGetTermsOfServiceToken.js.map +1 -1
- package/funcs/accountsList.js +2 -0
- package/funcs/accountsList.js.map +1 -1
- package/funcs/accountsUpdate.js +2 -0
- package/funcs/accountsUpdate.js.map +1 -1
- package/funcs/adjustmentsGet.js +2 -0
- package/funcs/adjustmentsGet.js.map +1 -1
- package/funcs/adjustmentsList.js +2 -0
- package/funcs/adjustmentsList.js.map +1 -1
- package/funcs/applePayCreateSession.js +2 -0
- package/funcs/applePayCreateSession.js.map +1 -1
- package/funcs/applePayGetMerchantDomains.js +2 -0
- package/funcs/applePayGetMerchantDomains.js.map +1 -1
- package/funcs/applePayLinkToken.js +2 -0
- package/funcs/applePayLinkToken.js.map +1 -1
- package/funcs/applePayRegisterMerchantDomains.js +2 -0
- package/funcs/applePayRegisterMerchantDomains.js.map +1 -1
- package/funcs/applePayUpdateMerchantDomains.js +2 -0
- package/funcs/applePayUpdateMerchantDomains.js.map +1 -1
- package/funcs/authenticationCreateAccessToken.js +2 -0
- package/funcs/authenticationCreateAccessToken.js.map +1 -1
- package/funcs/authenticationRevokeAccessToken.js +2 -0
- package/funcs/authenticationRevokeAccessToken.js.map +1 -1
- package/funcs/avatarsGet.js +2 -0
- package/funcs/avatarsGet.js.map +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.js +2 -0
- package/funcs/bankAccountsCompleteMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsCompleteVerification.js +2 -0
- package/funcs/bankAccountsCompleteVerification.js.map +1 -1
- package/funcs/bankAccountsDisable.js +2 -0
- package/funcs/bankAccountsDisable.js.map +1 -1
- package/funcs/bankAccountsGet.js +2 -0
- package/funcs/bankAccountsGet.js.map +1 -1
- package/funcs/bankAccountsGetVerification.js +2 -0
- package/funcs/bankAccountsGetVerification.js.map +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.js +2 -0
- package/funcs/bankAccountsInitiateMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsInitiateVerification.js +2 -0
- package/funcs/bankAccountsInitiateVerification.js.map +1 -1
- package/funcs/bankAccountsLink.js +2 -0
- package/funcs/bankAccountsLink.js.map +1 -1
- package/funcs/bankAccountsList.js +2 -0
- package/funcs/bankAccountsList.js.map +1 -1
- package/funcs/brandingCreate.js +2 -0
- package/funcs/brandingCreate.js.map +1 -1
- package/funcs/brandingGet.js +2 -0
- package/funcs/brandingGet.js.map +1 -1
- package/funcs/brandingUpdate.js +2 -0
- package/funcs/brandingUpdate.js.map +1 -1
- package/funcs/brandingUpsert.js +2 -0
- package/funcs/brandingUpsert.js.map +1 -1
- package/funcs/capabilitiesDisable.js +2 -0
- package/funcs/capabilitiesDisable.js.map +1 -1
- package/funcs/capabilitiesGet.js +2 -0
- package/funcs/capabilitiesGet.js.map +1 -1
- package/funcs/capabilitiesList.js +2 -0
- package/funcs/capabilitiesList.js.map +1 -1
- package/funcs/capabilitiesRequest.js +2 -0
- package/funcs/capabilitiesRequest.js.map +1 -1
- package/funcs/cardIssuingGet.js +2 -0
- package/funcs/cardIssuingGet.js.map +1 -1
- package/funcs/cardIssuingGetFull.js +2 -0
- package/funcs/cardIssuingGetFull.js.map +1 -1
- package/funcs/cardIssuingList.js +2 -0
- package/funcs/cardIssuingList.js.map +1 -1
- package/funcs/cardIssuingRequest.js +2 -0
- package/funcs/cardIssuingRequest.js.map +1 -1
- package/funcs/cardIssuingUpdate.js +2 -0
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/cardsDisable.js +2 -0
- package/funcs/cardsDisable.js.map +1 -1
- package/funcs/cardsGet.js +2 -0
- package/funcs/cardsGet.js.map +1 -1
- package/funcs/cardsLink.js +2 -0
- package/funcs/cardsLink.js.map +1 -1
- package/funcs/cardsList.js +2 -0
- package/funcs/cardsList.js.map +1 -1
- package/funcs/cardsUpdate.js +2 -0
- package/funcs/cardsUpdate.js.map +1 -1
- package/funcs/disputesAccept.js +2 -0
- package/funcs/disputesAccept.js.map +1 -1
- package/funcs/disputesDeleteEvidence.js +2 -0
- package/funcs/disputesDeleteEvidence.js.map +1 -1
- package/funcs/disputesGet.js +2 -0
- package/funcs/disputesGet.js.map +1 -1
- package/funcs/disputesGetEvidence.js +2 -0
- package/funcs/disputesGetEvidence.js.map +1 -1
- package/funcs/disputesGetEvidenceData.js +2 -0
- package/funcs/disputesGetEvidenceData.js.map +1 -1
- package/funcs/disputesList.js +2 -0
- package/funcs/disputesList.js.map +1 -1
- package/funcs/disputesListEvidence.js +2 -0
- package/funcs/disputesListEvidence.js.map +1 -1
- package/funcs/disputesSubmitEvidence.js +2 -0
- package/funcs/disputesSubmitEvidence.js.map +1 -1
- package/funcs/disputesUpdateEvidence.js +2 -0
- package/funcs/disputesUpdateEvidence.js.map +1 -1
- package/funcs/disputesUploadEvidenceFile.js +2 -0
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/disputesUploadEvidenceText.js +2 -0
- package/funcs/disputesUploadEvidenceText.js.map +1 -1
- package/funcs/endToEndEncryptionGenerateKey.js +2 -0
- package/funcs/endToEndEncryptionGenerateKey.js.map +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.js +2 -0
- package/funcs/endToEndEncryptionTestEncryptedToken.js.map +1 -1
- package/funcs/enrichedAddressGet.js +2 -0
- package/funcs/enrichedAddressGet.js.map +1 -1
- package/funcs/enrichedProfileGet.js +2 -0
- package/funcs/enrichedProfileGet.js.map +1 -1
- package/funcs/feePlansCreateFeePlanAgreements.js +2 -0
- package/funcs/feePlansCreateFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansListFeePlanAgreements.js +2 -0
- package/funcs/feePlansListFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansListFeePlans.js +2 -0
- package/funcs/feePlansListFeePlans.js.map +1 -1
- package/funcs/feePlansListFeesFetch.js +2 -0
- package/funcs/feePlansListFeesFetch.js.map +1 -1
- package/funcs/feePlansListPartnerPricing.js +2 -0
- package/funcs/feePlansListPartnerPricing.js.map +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.js +2 -0
- package/funcs/feePlansListPartnerPricingAgreements.js.map +1 -1
- package/funcs/feePlansRetrieveFees.js +2 -0
- package/funcs/feePlansRetrieveFees.js.map +1 -1
- package/funcs/filesGet.js +2 -0
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesList.js +2 -0
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpload.js +2 -0
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/industriesList.d.ts +2 -2
- package/funcs/industriesList.js +4 -2
- package/funcs/industriesList.js.map +1 -1
- package/funcs/institutionsSearch.js +2 -0
- package/funcs/institutionsSearch.js.map +1 -1
- package/funcs/issuingTransactionsGet.js +2 -0
- package/funcs/issuingTransactionsGet.js.map +1 -1
- package/funcs/issuingTransactionsGetAuthorization.js +2 -0
- package/funcs/issuingTransactionsGetAuthorization.js.map +1 -1
- package/funcs/issuingTransactionsList.js +2 -0
- package/funcs/issuingTransactionsList.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.js +2 -0
- package/funcs/issuingTransactionsListAuthorizationEvents.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizations.js +2 -0
- package/funcs/issuingTransactionsListAuthorizations.js.map +1 -1
- package/funcs/onboardingCreateInvite.js +2 -0
- package/funcs/onboardingCreateInvite.js.map +1 -1
- package/funcs/onboardingGetInvite.js +2 -0
- package/funcs/onboardingGetInvite.js.map +1 -1
- package/funcs/onboardingListInvites.js +2 -0
- package/funcs/onboardingListInvites.js.map +1 -1
- package/funcs/onboardingRevokeInvite.js +2 -0
- package/funcs/onboardingRevokeInvite.js.map +1 -1
- package/funcs/paymentLinksCreate.js +2 -0
- package/funcs/paymentLinksCreate.js.map +1 -1
- package/funcs/paymentLinksDisable.js +2 -0
- package/funcs/paymentLinksDisable.js.map +1 -1
- package/funcs/paymentLinksGet.js +2 -0
- package/funcs/paymentLinksGet.js.map +1 -1
- package/funcs/paymentLinksGetQRCode.js +2 -0
- package/funcs/paymentLinksGetQRCode.js.map +1 -1
- package/funcs/paymentLinksList.js +2 -0
- package/funcs/paymentLinksList.js.map +1 -1
- package/funcs/paymentLinksUpdate.js +2 -0
- package/funcs/paymentLinksUpdate.js.map +1 -1
- package/funcs/paymentMethodsGet.js +2 -0
- package/funcs/paymentMethodsGet.js.map +1 -1
- package/funcs/paymentMethodsList.js +2 -0
- package/funcs/paymentMethodsList.js.map +1 -1
- package/funcs/pingPing.js +2 -0
- package/funcs/pingPing.js.map +1 -1
- package/funcs/receiptsCreate.js +2 -0
- package/funcs/receiptsCreate.js.map +1 -1
- package/funcs/receiptsList.js +2 -0
- package/funcs/receiptsList.js.map +1 -1
- package/funcs/representativesCreate.js +2 -0
- package/funcs/representativesCreate.js.map +1 -1
- package/funcs/representativesDelete.js +2 -0
- package/funcs/representativesDelete.js.map +1 -1
- package/funcs/representativesGet.js +2 -0
- package/funcs/representativesGet.js.map +1 -1
- package/funcs/representativesList.js +2 -0
- package/funcs/representativesList.js.map +1 -1
- package/funcs/representativesUpdate.js +2 -0
- package/funcs/representativesUpdate.js.map +1 -1
- package/funcs/schedulingCancel.js +2 -0
- package/funcs/schedulingCancel.js.map +1 -1
- package/funcs/schedulingCreate.js +2 -0
- package/funcs/schedulingCreate.js.map +1 -1
- package/funcs/schedulingGet.js +2 -0
- package/funcs/schedulingGet.js.map +1 -1
- package/funcs/schedulingGetOccurrance.js +2 -0
- package/funcs/schedulingGetOccurrance.js.map +1 -1
- package/funcs/schedulingList.js +2 -0
- package/funcs/schedulingList.js.map +1 -1
- package/funcs/schedulingUpdate.js +2 -0
- package/funcs/schedulingUpdate.js.map +1 -1
- package/funcs/sweepsCreateConfig.js +2 -0
- package/funcs/sweepsCreateConfig.js.map +1 -1
- package/funcs/sweepsGet.js +2 -0
- package/funcs/sweepsGet.js.map +1 -1
- package/funcs/sweepsGetConfig.js +2 -0
- package/funcs/sweepsGetConfig.js.map +1 -1
- package/funcs/sweepsList.js +2 -0
- package/funcs/sweepsList.js.map +1 -1
- package/funcs/sweepsListConfigs.js +2 -0
- package/funcs/sweepsListConfigs.js.map +1 -1
- package/funcs/sweepsUpdateConfig.js +2 -0
- package/funcs/sweepsUpdateConfig.js.map +1 -1
- package/funcs/terminalApplicationsCreate.js +2 -0
- package/funcs/terminalApplicationsCreate.js.map +1 -1
- package/funcs/terminalApplicationsDelete.js +2 -0
- package/funcs/terminalApplicationsDelete.js.map +1 -1
- package/funcs/terminalApplicationsGet.js +2 -0
- package/funcs/terminalApplicationsGet.js.map +1 -1
- package/funcs/terminalApplicationsList.js +2 -0
- package/funcs/terminalApplicationsList.js.map +1 -1
- package/funcs/transfersCreate.js +2 -0
- package/funcs/transfersCreate.js.map +1 -1
- package/funcs/transfersCreateCancellation.js +2 -0
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateReversal.js +2 -0
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersGenerateOptions.js +2 -0
- package/funcs/transfersGenerateOptions.js.map +1 -1
- package/funcs/transfersGet.js +2 -0
- package/funcs/transfersGet.js.map +1 -1
- package/funcs/transfersGetCancellation.js +2 -0
- package/funcs/transfersGetCancellation.js.map +1 -1
- package/funcs/transfersGetRefund.js +2 -0
- package/funcs/transfersGetRefund.js.map +1 -1
- package/funcs/transfersInitiateRefund.js +2 -0
- package/funcs/transfersInitiateRefund.js.map +1 -1
- package/funcs/transfersList.js +2 -0
- package/funcs/transfersList.js.map +1 -1
- package/funcs/transfersListRefunds.js +2 -0
- package/funcs/transfersListRefunds.js.map +1 -1
- package/funcs/transfersUpdate.js +2 -0
- package/funcs/transfersUpdate.js.map +1 -1
- package/funcs/underwritingGet.js +2 -0
- package/funcs/underwritingGet.js.map +1 -1
- package/funcs/underwritingUpsert.js +2 -0
- package/funcs/underwritingUpsert.js.map +1 -1
- package/funcs/walletTransactionsGet.js +2 -0
- package/funcs/walletTransactionsGet.js.map +1 -1
- package/funcs/walletTransactionsList.js +2 -0
- package/funcs/walletTransactionsList.js.map +1 -1
- package/funcs/walletsGet.js +2 -0
- package/funcs/walletsGet.js.map +1 -1
- package/funcs/walletsList.js +2 -0
- package/funcs/walletsList.js.map +1 -1
- package/hooks/types.d.ts +2 -0
- package/hooks/types.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +7 -3
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/sdks.d.ts +1 -0
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +3 -3
- package/lib/sdks.js.map +1 -1
- package/mcp-server/cli/start/impl.js +4 -4
- package/mcp-server/cli/start/impl.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/industriesList.js +2 -2
- package/models/components/enrichedindustries.d.ts +3 -3
- package/models/components/enrichedindustries.js +3 -3
- package/models/components/index.d.ts +2 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -1
- package/models/components/index.js.map +1 -1
- package/models/components/industrytaxonomy.d.ts +55 -0
- package/models/components/industrytaxonomy.d.ts.map +1 -0
- package/models/components/{enrichedindustry.js → industrytaxonomy.js} +27 -25
- package/models/components/industrytaxonomy.js.map +1 -0
- package/models/components/sweep.d.ts +6 -0
- package/models/components/sweep.d.ts.map +1 -1
- package/models/components/sweep.js +3 -0
- package/models/components/sweep.js.map +1 -1
- package/models/components/sweepsubtotal.d.ts +44 -0
- package/models/components/sweepsubtotal.d.ts.map +1 -0
- package/models/components/sweepsubtotal.js +75 -0
- package/models/components/sweepsubtotal.js.map +1 -0
- package/package.json +2 -2
- package/sdk/industries.d.ts +2 -2
- package/sdk/industries.js +2 -2
- package/src/funcs/accountTerminalApplicationsGet.ts +2 -0
- package/src/funcs/accountTerminalApplicationsGetConfiguration.ts +2 -0
- package/src/funcs/accountTerminalApplicationsLink.ts +2 -0
- package/src/funcs/accountTerminalApplicationsList.ts +2 -0
- package/src/funcs/accountsAssignCountries.ts +2 -0
- package/src/funcs/accountsCreate.ts +2 -0
- package/src/funcs/accountsDisconnect.ts +2 -0
- package/src/funcs/accountsGet.ts +2 -0
- package/src/funcs/accountsGetCountries.ts +2 -0
- package/src/funcs/accountsGetMerchantProcessingAgreement.ts +2 -0
- package/src/funcs/accountsGetTermsOfServiceToken.ts +2 -0
- package/src/funcs/accountsList.ts +2 -0
- package/src/funcs/accountsUpdate.ts +2 -0
- package/src/funcs/adjustmentsGet.ts +2 -0
- package/src/funcs/adjustmentsList.ts +2 -0
- package/src/funcs/applePayCreateSession.ts +2 -0
- package/src/funcs/applePayGetMerchantDomains.ts +2 -0
- package/src/funcs/applePayLinkToken.ts +2 -0
- package/src/funcs/applePayRegisterMerchantDomains.ts +2 -0
- package/src/funcs/applePayUpdateMerchantDomains.ts +2 -0
- package/src/funcs/authenticationCreateAccessToken.ts +2 -0
- package/src/funcs/authenticationRevokeAccessToken.ts +2 -0
- package/src/funcs/avatarsGet.ts +2 -0
- package/src/funcs/bankAccountsCompleteMicroDeposits.ts +2 -0
- package/src/funcs/bankAccountsCompleteVerification.ts +2 -0
- package/src/funcs/bankAccountsDisable.ts +2 -0
- package/src/funcs/bankAccountsGet.ts +2 -0
- package/src/funcs/bankAccountsGetVerification.ts +2 -0
- package/src/funcs/bankAccountsInitiateMicroDeposits.ts +2 -0
- package/src/funcs/bankAccountsInitiateVerification.ts +2 -0
- package/src/funcs/bankAccountsLink.ts +2 -0
- package/src/funcs/bankAccountsList.ts +2 -0
- package/src/funcs/brandingCreate.ts +2 -0
- package/src/funcs/brandingGet.ts +2 -0
- package/src/funcs/brandingUpdate.ts +2 -0
- package/src/funcs/brandingUpsert.ts +2 -0
- package/src/funcs/capabilitiesDisable.ts +2 -0
- package/src/funcs/capabilitiesGet.ts +2 -0
- package/src/funcs/capabilitiesList.ts +2 -0
- package/src/funcs/capabilitiesRequest.ts +2 -0
- package/src/funcs/cardIssuingGet.ts +2 -0
- package/src/funcs/cardIssuingGetFull.ts +2 -0
- package/src/funcs/cardIssuingList.ts +2 -0
- package/src/funcs/cardIssuingRequest.ts +2 -0
- package/src/funcs/cardIssuingUpdate.ts +2 -0
- package/src/funcs/cardsDisable.ts +2 -0
- package/src/funcs/cardsGet.ts +2 -0
- package/src/funcs/cardsLink.ts +2 -0
- package/src/funcs/cardsList.ts +2 -0
- package/src/funcs/cardsUpdate.ts +2 -0
- package/src/funcs/disputesAccept.ts +2 -0
- package/src/funcs/disputesDeleteEvidence.ts +2 -0
- package/src/funcs/disputesGet.ts +2 -0
- package/src/funcs/disputesGetEvidence.ts +2 -0
- package/src/funcs/disputesGetEvidenceData.ts +2 -0
- package/src/funcs/disputesList.ts +2 -0
- package/src/funcs/disputesListEvidence.ts +2 -0
- package/src/funcs/disputesSubmitEvidence.ts +2 -0
- package/src/funcs/disputesUpdateEvidence.ts +2 -0
- package/src/funcs/disputesUploadEvidenceFile.ts +2 -0
- package/src/funcs/disputesUploadEvidenceText.ts +2 -0
- package/src/funcs/endToEndEncryptionGenerateKey.ts +2 -0
- package/src/funcs/endToEndEncryptionTestEncryptedToken.ts +2 -0
- package/src/funcs/enrichedAddressGet.ts +2 -0
- package/src/funcs/enrichedProfileGet.ts +2 -0
- package/src/funcs/feePlansCreateFeePlanAgreements.ts +2 -0
- package/src/funcs/feePlansListFeePlanAgreements.ts +2 -0
- package/src/funcs/feePlansListFeePlans.ts +2 -0
- package/src/funcs/feePlansListFeesFetch.ts +2 -0
- package/src/funcs/feePlansListPartnerPricing.ts +2 -0
- package/src/funcs/feePlansListPartnerPricingAgreements.ts +2 -0
- package/src/funcs/feePlansRetrieveFees.ts +2 -0
- package/src/funcs/filesGet.ts +2 -0
- package/src/funcs/filesList.ts +2 -0
- package/src/funcs/filesUpload.ts +2 -0
- package/src/funcs/industriesList.ts +4 -2
- package/src/funcs/institutionsSearch.ts +2 -0
- package/src/funcs/issuingTransactionsGet.ts +2 -0
- package/src/funcs/issuingTransactionsGetAuthorization.ts +2 -0
- package/src/funcs/issuingTransactionsList.ts +2 -0
- package/src/funcs/issuingTransactionsListAuthorizationEvents.ts +2 -0
- package/src/funcs/issuingTransactionsListAuthorizations.ts +2 -0
- package/src/funcs/onboardingCreateInvite.ts +2 -0
- package/src/funcs/onboardingGetInvite.ts +2 -0
- package/src/funcs/onboardingListInvites.ts +2 -0
- package/src/funcs/onboardingRevokeInvite.ts +2 -0
- package/src/funcs/paymentLinksCreate.ts +2 -0
- package/src/funcs/paymentLinksDisable.ts +2 -0
- package/src/funcs/paymentLinksGet.ts +2 -0
- package/src/funcs/paymentLinksGetQRCode.ts +2 -0
- package/src/funcs/paymentLinksList.ts +2 -0
- package/src/funcs/paymentLinksUpdate.ts +2 -0
- package/src/funcs/paymentMethodsGet.ts +2 -0
- package/src/funcs/paymentMethodsList.ts +2 -0
- package/src/funcs/pingPing.ts +2 -0
- package/src/funcs/receiptsCreate.ts +2 -0
- package/src/funcs/receiptsList.ts +2 -0
- package/src/funcs/representativesCreate.ts +2 -0
- package/src/funcs/representativesDelete.ts +2 -0
- package/src/funcs/representativesGet.ts +2 -0
- package/src/funcs/representativesList.ts +2 -0
- package/src/funcs/representativesUpdate.ts +2 -0
- package/src/funcs/schedulingCancel.ts +2 -0
- package/src/funcs/schedulingCreate.ts +2 -0
- package/src/funcs/schedulingGet.ts +2 -0
- package/src/funcs/schedulingGetOccurrance.ts +2 -0
- package/src/funcs/schedulingList.ts +2 -0
- package/src/funcs/schedulingUpdate.ts +2 -0
- package/src/funcs/sweepsCreateConfig.ts +2 -0
- package/src/funcs/sweepsGet.ts +2 -0
- package/src/funcs/sweepsGetConfig.ts +2 -0
- package/src/funcs/sweepsList.ts +2 -0
- package/src/funcs/sweepsListConfigs.ts +2 -0
- package/src/funcs/sweepsUpdateConfig.ts +2 -0
- package/src/funcs/terminalApplicationsCreate.ts +2 -0
- package/src/funcs/terminalApplicationsDelete.ts +2 -0
- package/src/funcs/terminalApplicationsGet.ts +2 -0
- package/src/funcs/terminalApplicationsList.ts +2 -0
- package/src/funcs/transfersCreate.ts +2 -0
- package/src/funcs/transfersCreateCancellation.ts +2 -0
- package/src/funcs/transfersCreateReversal.ts +2 -0
- package/src/funcs/transfersGenerateOptions.ts +2 -0
- package/src/funcs/transfersGet.ts +2 -0
- package/src/funcs/transfersGetCancellation.ts +2 -0
- package/src/funcs/transfersGetRefund.ts +2 -0
- package/src/funcs/transfersInitiateRefund.ts +2 -0
- package/src/funcs/transfersList.ts +2 -0
- package/src/funcs/transfersListRefunds.ts +2 -0
- package/src/funcs/transfersUpdate.ts +2 -0
- package/src/funcs/underwritingGet.ts +2 -0
- package/src/funcs/underwritingUpsert.ts +2 -0
- package/src/funcs/walletTransactionsGet.ts +2 -0
- package/src/funcs/walletTransactionsList.ts +2 -0
- package/src/funcs/walletsGet.ts +2 -0
- package/src/funcs/walletsList.ts +2 -0
- package/src/hooks/types.ts +2 -0
- package/src/index.ts +2 -0
- package/src/lib/config.ts +7 -3
- package/src/lib/sdks.ts +10 -4
- package/src/mcp-server/cli/start/impl.ts +4 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/industriesList.ts +2 -2
- package/src/models/components/enrichedindustries.ts +9 -9
- package/src/models/components/index.ts +2 -1
- package/src/models/components/industrytaxonomy.ts +100 -0
- package/src/models/components/sweep.ts +13 -0
- package/src/models/components/sweepsubtotal.ts +90 -0
- package/src/sdk/industries.ts +2 -2
- package/test/README.md +2 -0
- package/test/index.ts +1 -0
- package/test/package.json +25 -0
- package/test/setup.ts +119 -0
- package/test/tests/accounts.test.ts +127 -0
- package/test/tests/bankAccounts.test.ts +171 -0
- package/test/tests/capabilities.test.ts +147 -0
- package/test/tests/cards.test.ts +168 -0
- package/test/tests/paymentMethods.test.ts +55 -0
- package/test/tests/representatives.test.ts +83 -0
- package/test/tests/transfers.test.ts +122 -0
- package/test/tests/wallets.test.ts +31 -0
- package/test/tsconfig.json +30 -0
- package/test/utils/utils.ts +276 -0
- package/models/components/enrichedindustry.d.ts +0 -47
- package/models/components/enrichedindustry.d.ts.map +0 -1
- package/models/components/enrichedindustry.js.map +0 -1
- package/src/models/components/enrichedindustry.ts +0 -90
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* A structured industry taxonomy entry with category and mapped to a default MCC code.
|
|
6
|
+
*/
|
|
7
|
+
export type IndustryTaxonomy = {
|
|
8
|
+
/**
|
|
9
|
+
* URL-safe identifier for the industry
|
|
10
|
+
*/
|
|
11
|
+
industry: string;
|
|
12
|
+
/**
|
|
13
|
+
* Display name of the industry
|
|
14
|
+
*/
|
|
15
|
+
displayName: string;
|
|
16
|
+
/**
|
|
17
|
+
* Category slug
|
|
18
|
+
*/
|
|
19
|
+
category: string;
|
|
20
|
+
/**
|
|
21
|
+
* Human-readable category label
|
|
22
|
+
*/
|
|
23
|
+
categoryDisplayName: string;
|
|
24
|
+
/**
|
|
25
|
+
* Default Merchant Category Code
|
|
26
|
+
*/
|
|
27
|
+
defaultMcc: string;
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const IndustryTaxonomy$inboundSchema: z.ZodType<IndustryTaxonomy, z.ZodTypeDef, unknown>;
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type IndustryTaxonomy$Outbound = {
|
|
33
|
+
industry: string;
|
|
34
|
+
displayName: string;
|
|
35
|
+
category: string;
|
|
36
|
+
categoryDisplayName: string;
|
|
37
|
+
defaultMcc: string;
|
|
38
|
+
};
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const IndustryTaxonomy$outboundSchema: z.ZodType<IndustryTaxonomy$Outbound, z.ZodTypeDef, IndustryTaxonomy>;
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
+
*/
|
|
45
|
+
export declare namespace IndustryTaxonomy$ {
|
|
46
|
+
/** @deprecated use `IndustryTaxonomy$inboundSchema` instead. */
|
|
47
|
+
const inboundSchema: z.ZodType<IndustryTaxonomy, z.ZodTypeDef, unknown>;
|
|
48
|
+
/** @deprecated use `IndustryTaxonomy$outboundSchema` instead. */
|
|
49
|
+
const outboundSchema: z.ZodType<IndustryTaxonomy$Outbound, z.ZodTypeDef, IndustryTaxonomy>;
|
|
50
|
+
/** @deprecated use `IndustryTaxonomy$Outbound` instead. */
|
|
51
|
+
type Outbound = IndustryTaxonomy$Outbound;
|
|
52
|
+
}
|
|
53
|
+
export declare function industryTaxonomyToJSON(industryTaxonomy: IndustryTaxonomy): string;
|
|
54
|
+
export declare function industryTaxonomyFromJSON(jsonString: string): SafeParseResult<IndustryTaxonomy, SDKValidationError>;
|
|
55
|
+
//# sourceMappingURL=industrytaxonomy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"industrytaxonomy.d.ts","sourceRoot":"","sources":["../../src/models/components/industrytaxonomy.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE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
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
39
|
+
exports.IndustryTaxonomy$ = exports.IndustryTaxonomy$outboundSchema = exports.IndustryTaxonomy$inboundSchema = void 0;
|
|
40
|
+
exports.industryTaxonomyToJSON = industryTaxonomyToJSON;
|
|
41
|
+
exports.industryTaxonomyFromJSON = industryTaxonomyFromJSON;
|
|
42
42
|
const z = __importStar(require("zod"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
/** @internal */
|
|
45
|
-
exports.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
exports.IndustryTaxonomy$inboundSchema = z.object({
|
|
46
|
+
industry: z.string(),
|
|
47
|
+
displayName: z.string(),
|
|
48
|
+
category: z.string(),
|
|
49
|
+
categoryDisplayName: z.string(),
|
|
50
|
+
defaultMcc: z.string(),
|
|
50
51
|
});
|
|
51
52
|
/** @internal */
|
|
52
|
-
exports.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
exports.IndustryTaxonomy$outboundSchema = z.object({
|
|
54
|
+
industry: z.string(),
|
|
55
|
+
displayName: z.string(),
|
|
56
|
+
category: z.string(),
|
|
57
|
+
categoryDisplayName: z.string(),
|
|
58
|
+
defaultMcc: z.string(),
|
|
57
59
|
});
|
|
58
60
|
/**
|
|
59
61
|
* @internal
|
|
60
62
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
63
|
*/
|
|
62
|
-
var
|
|
63
|
-
(function (
|
|
64
|
-
/** @deprecated use `
|
|
65
|
-
|
|
66
|
-
/** @deprecated use `
|
|
67
|
-
|
|
68
|
-
})(
|
|
69
|
-
function
|
|
70
|
-
return JSON.stringify(exports.
|
|
64
|
+
var IndustryTaxonomy$;
|
|
65
|
+
(function (IndustryTaxonomy$) {
|
|
66
|
+
/** @deprecated use `IndustryTaxonomy$inboundSchema` instead. */
|
|
67
|
+
IndustryTaxonomy$.inboundSchema = exports.IndustryTaxonomy$inboundSchema;
|
|
68
|
+
/** @deprecated use `IndustryTaxonomy$outboundSchema` instead. */
|
|
69
|
+
IndustryTaxonomy$.outboundSchema = exports.IndustryTaxonomy$outboundSchema;
|
|
70
|
+
})(IndustryTaxonomy$ || (exports.IndustryTaxonomy$ = IndustryTaxonomy$ = {}));
|
|
71
|
+
function industryTaxonomyToJSON(industryTaxonomy) {
|
|
72
|
+
return JSON.stringify(exports.IndustryTaxonomy$outboundSchema.parse(industryTaxonomy));
|
|
71
73
|
}
|
|
72
|
-
function
|
|
73
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
74
|
+
function industryTaxonomyFromJSON(jsonString) {
|
|
75
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IndustryTaxonomy$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IndustryTaxonomy' from JSON`);
|
|
74
76
|
}
|
|
75
|
-
//# sourceMappingURL=
|
|
77
|
+
//# sourceMappingURL=industrytaxonomy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"industrytaxonomy.js","sourceRoot":"","sources":["../../src/models/components/industrytaxonomy.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiFH,wDAMC;AAED,4DAQC;AA/FD,uCAAyB;AACzB,qDAAiD;AA8BjD,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,iBAAiB,CAOjC;AAPD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAGhE,CAAC,EAPgB,iBAAiB,iCAAjB,iBAAiB,QAOjC;AAED,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC;AAED,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
|
|
@@ -2,6 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { SweepStatus } from "./sweepstatus.js";
|
|
5
|
+
import { SweepSubtotal, SweepSubtotal$Outbound } from "./sweepsubtotal.js";
|
|
5
6
|
export type Sweep = {
|
|
6
7
|
sweepID: string;
|
|
7
8
|
status: SweepStatus;
|
|
@@ -42,6 +43,10 @@ export type Sweep = {
|
|
|
42
43
|
* The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor.
|
|
43
44
|
*/
|
|
44
45
|
statementDescriptor?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* The subtotal of each transaction type contributing to the sweep's accrued amount.
|
|
48
|
+
*/
|
|
49
|
+
subtotals?: Array<SweepSubtotal> | undefined;
|
|
45
50
|
};
|
|
46
51
|
/** @internal */
|
|
47
52
|
export declare const Sweep$inboundSchema: z.ZodType<Sweep, z.ZodTypeDef, unknown>;
|
|
@@ -59,6 +64,7 @@ export type Sweep$Outbound = {
|
|
|
59
64
|
transferID?: string | undefined;
|
|
60
65
|
transferAmount?: string | undefined;
|
|
61
66
|
statementDescriptor?: string | undefined;
|
|
67
|
+
subtotals?: Array<SweepSubtotal$Outbound> | undefined;
|
|
62
68
|
};
|
|
63
69
|
/** @internal */
|
|
64
70
|
export declare const Sweep$outboundSchema: z.ZodType<Sweep$Outbound, z.ZodTypeDef, Sweep>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sweep.d.ts","sourceRoot":"","sources":["../../src/models/components/sweep.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,WAAW,EAGZ,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"sweep.d.ts","sourceRoot":"","sources":["../../src/models/components/sweep.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,WAAW,EAGZ,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,aAAa,EAEb,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CAAC;IACzC,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,SAAS,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAC1C,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,KAAK,CAeL,CAAC;AAEH;;;GAGG;AACH,yBAAiB,MAAM,CAAC;IACtB,qDAAqD;IAC9C,MAAM,aAAa,yCAAsB,CAAC;IACjD,sDAAsD;IAC/C,MAAM,cAAc,gDAAuB,CAAC;IACnD,gDAAgD;IAChD,KAAY,QAAQ,GAAG,cAAc,CAAC;CACvC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAEhD;AAED,wBAAgB,aAAa,CAC3B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAM5C"}
|
|
@@ -42,6 +42,7 @@ exports.sweepFromJSON = sweepFromJSON;
|
|
|
42
42
|
const z = __importStar(require("zod"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
const sweepstatus_js_1 = require("./sweepstatus.js");
|
|
45
|
+
const sweepsubtotal_js_1 = require("./sweepsubtotal.js");
|
|
45
46
|
/** @internal */
|
|
46
47
|
exports.Sweep$inboundSchema = z
|
|
47
48
|
.object({
|
|
@@ -57,6 +58,7 @@ exports.Sweep$inboundSchema = z
|
|
|
57
58
|
transferID: z.string().optional(),
|
|
58
59
|
transferAmount: z.string().optional(),
|
|
59
60
|
statementDescriptor: z.string().optional(),
|
|
61
|
+
subtotals: z.array(sweepsubtotal_js_1.SweepSubtotal$inboundSchema).optional(),
|
|
60
62
|
});
|
|
61
63
|
/** @internal */
|
|
62
64
|
exports.Sweep$outboundSchema = z.object({
|
|
@@ -72,6 +74,7 @@ exports.Sweep$outboundSchema = z.object({
|
|
|
72
74
|
transferID: z.string().optional(),
|
|
73
75
|
transferAmount: z.string().optional(),
|
|
74
76
|
statementDescriptor: z.string().optional(),
|
|
77
|
+
subtotals: z.array(sweepsubtotal_js_1.SweepSubtotal$outboundSchema).optional(),
|
|
75
78
|
});
|
|
76
79
|
/**
|
|
77
80
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sweep.js","sourceRoot":"","sources":["../../src/models/components/sweep.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"sweep.js","sourceRoot":"","sources":["../../src/models/components/sweep.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyIH,kCAEC;AAED,sCAQC;AAnJD,uCAAyB;AACzB,qDAAiD;AAGjD,qDAI0B;AAC1B,yDAK4B;AAgD5B,gBAAgB;AACH,QAAA,mBAAmB,GAA4C,CAAC;KAC1E,MAAM,CAAC;IACN,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,0CAAyB;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CACpE,IAAI,IAAI,CAAC,CAAC,CAAC,CACZ;IACD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QA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AAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,+CAA4B,CAAC,CAAC,QAAQ,EAAE;CAC5D,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,MAAM,CAOtB;AAPD,WAAiB,MAAM;IACrB,qDAAqD;IACxC,oBAAa,GAAG,2BAAmB,CAAC;IACjD,sDAAsD;IACzC,qBAAc,GAAG,4BAAoB,CAAC;AAGrD,CAAC,EAPgB,MAAM,sBAAN,MAAM,QAOtB;AAED,SAAgB,WAAW,CAAC,KAAY;IACtC,OAAO,IAAI,CAAC,SAAS,CAAC,4BAAoB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,aAAa,CAC3B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2BAAmB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/C,mCAAmC,CACpC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { AmountDecimal, AmountDecimal$Outbound } from "./amountdecimal.js";
|
|
5
|
+
import { WalletTransactionType } from "./wallettransactiontype.js";
|
|
6
|
+
export type SweepSubtotal = {
|
|
7
|
+
/**
|
|
8
|
+
* The type of wallet transaction the subtotal is for.
|
|
9
|
+
*/
|
|
10
|
+
type: WalletTransactionType;
|
|
11
|
+
/**
|
|
12
|
+
* The number of transactions of this type accrued in the sweep.
|
|
13
|
+
*/
|
|
14
|
+
count: number;
|
|
15
|
+
/**
|
|
16
|
+
* The value of transactions of this type accrued in the sweep.
|
|
17
|
+
*/
|
|
18
|
+
amount: AmountDecimal;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const SweepSubtotal$inboundSchema: z.ZodType<SweepSubtotal, z.ZodTypeDef, unknown>;
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type SweepSubtotal$Outbound = {
|
|
24
|
+
type: string;
|
|
25
|
+
count: number;
|
|
26
|
+
amount: AmountDecimal$Outbound;
|
|
27
|
+
};
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const SweepSubtotal$outboundSchema: z.ZodType<SweepSubtotal$Outbound, z.ZodTypeDef, SweepSubtotal>;
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
+
*/
|
|
34
|
+
export declare namespace SweepSubtotal$ {
|
|
35
|
+
/** @deprecated use `SweepSubtotal$inboundSchema` instead. */
|
|
36
|
+
const inboundSchema: z.ZodType<SweepSubtotal, z.ZodTypeDef, unknown>;
|
|
37
|
+
/** @deprecated use `SweepSubtotal$outboundSchema` instead. */
|
|
38
|
+
const outboundSchema: z.ZodType<SweepSubtotal$Outbound, z.ZodTypeDef, SweepSubtotal>;
|
|
39
|
+
/** @deprecated use `SweepSubtotal$Outbound` instead. */
|
|
40
|
+
type Outbound = SweepSubtotal$Outbound;
|
|
41
|
+
}
|
|
42
|
+
export declare function sweepSubtotalToJSON(sweepSubtotal: SweepSubtotal): string;
|
|
43
|
+
export declare function sweepSubtotalFromJSON(jsonString: string): SafeParseResult<SweepSubtotal, SDKValidationError>;
|
|
44
|
+
//# sourceMappingURL=sweepsubtotal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sweepsubtotal.d.ts","sourceRoot":"","sources":["../../src/models/components/sweepsubtotal.ts"],"names":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-0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SweepSubtotal$ = exports.SweepSubtotal$outboundSchema = exports.SweepSubtotal$inboundSchema = void 0;
|
|
40
|
+
exports.sweepSubtotalToJSON = sweepSubtotalToJSON;
|
|
41
|
+
exports.sweepSubtotalFromJSON = sweepSubtotalFromJSON;
|
|
42
|
+
const z = __importStar(require("zod"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const amountdecimal_js_1 = require("./amountdecimal.js");
|
|
45
|
+
const wallettransactiontype_js_1 = require("./wallettransactiontype.js");
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.SweepSubtotal$inboundSchema = z.object({
|
|
48
|
+
type: wallettransactiontype_js_1.WalletTransactionType$inboundSchema,
|
|
49
|
+
count: z.number().int(),
|
|
50
|
+
amount: amountdecimal_js_1.AmountDecimal$inboundSchema,
|
|
51
|
+
});
|
|
52
|
+
/** @internal */
|
|
53
|
+
exports.SweepSubtotal$outboundSchema = z.object({
|
|
54
|
+
type: wallettransactiontype_js_1.WalletTransactionType$outboundSchema,
|
|
55
|
+
count: z.number().int(),
|
|
56
|
+
amount: amountdecimal_js_1.AmountDecimal$outboundSchema,
|
|
57
|
+
});
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
+
*/
|
|
62
|
+
var SweepSubtotal$;
|
|
63
|
+
(function (SweepSubtotal$) {
|
|
64
|
+
/** @deprecated use `SweepSubtotal$inboundSchema` instead. */
|
|
65
|
+
SweepSubtotal$.inboundSchema = exports.SweepSubtotal$inboundSchema;
|
|
66
|
+
/** @deprecated use `SweepSubtotal$outboundSchema` instead. */
|
|
67
|
+
SweepSubtotal$.outboundSchema = exports.SweepSubtotal$outboundSchema;
|
|
68
|
+
})(SweepSubtotal$ || (exports.SweepSubtotal$ = SweepSubtotal$ = {}));
|
|
69
|
+
function sweepSubtotalToJSON(sweepSubtotal) {
|
|
70
|
+
return JSON.stringify(exports.SweepSubtotal$outboundSchema.parse(sweepSubtotal));
|
|
71
|
+
}
|
|
72
|
+
function sweepSubtotalFromJSON(jsonString) {
|
|
73
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SweepSubtotal$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SweepSubtotal' from JSON`);
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=sweepsubtotal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sweepsubtotal.js","sourceRoot":"","sources":["../../src/models/components/sweepsubtotal.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EH,kDAEC;AAED,sDAQC;AArFD,uCAAyB;AACzB,qDAAiD;AAGjD,yDAK4B;AAC5B,yEAIoC;AAiBpC,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,8DAAmC;IACzC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,MAAM,EAAE,8CAA2B;CACpC,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,+DAAoC;IAC1C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,MAAM,EAAE,+CAA4B;CACrC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,cAAc,CAO9B;AAPD,WAAiB,cAAc;IAC7B,6DAA6D;IAChD,4BAAa,GAAG,mCAA2B,CAAC;IACzD,8DAA8D;IACjD,6BAAc,GAAG,oCAA4B,CAAC;AAG7D,CAAC,EAPgB,cAAc,8BAAd,cAAc,QAO9B;AAED,SAAgB,mBAAmB,CAAC,aAA4B;IAC9D,OAAO,IAAI,CAAC,SAAS,CAAC,oCAA4B,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAC3E,CAAC;AAED,SAAgB,qBAAqB,CACnC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moovio/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"author": "Moov",
|
|
5
5
|
"bin": {
|
|
6
6
|
"mcp": "bin/mcp-server.js"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"globals": "^15.14.0",
|
|
37
37
|
"typescript": "^5.4.5",
|
|
38
38
|
"typescript-eslint": "^8.22.0",
|
|
39
|
-
"zod": "^3.
|
|
39
|
+
"zod": "^3.25.17"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
|
package/sdk/industries.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
|
2
2
|
import * as operations from "../models/operations/index.js";
|
|
3
3
|
export declare class Industries extends ClientSDK {
|
|
4
4
|
/**
|
|
5
|
-
* Returns a list of
|
|
5
|
+
* Returns a list of industries relevant to merchant profile enrichment. Results are ordered by industry name.
|
|
6
6
|
*
|
|
7
|
-
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
7
|
+
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
8
8
|
* you'll need to specify the `/profile-enrichment.read` scope.
|
|
9
9
|
*/
|
|
10
10
|
list(request: operations.ListIndustriesRequest, options?: RequestOptions): Promise<operations.ListIndustriesResponse>;
|
package/sdk/industries.js
CHANGED
|
@@ -9,9 +9,9 @@ const sdks_js_1 = require("../lib/sdks.js");
|
|
|
9
9
|
const fp_js_1 = require("../types/fp.js");
|
|
10
10
|
class Industries extends sdks_js_1.ClientSDK {
|
|
11
11
|
/**
|
|
12
|
-
* Returns a list of
|
|
12
|
+
* Returns a list of industries relevant to merchant profile enrichment. Results are ordered by industry name.
|
|
13
13
|
*
|
|
14
|
-
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
14
|
+
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
15
15
|
* you'll need to specify the `/profile-enrichment.read` scope.
|
|
16
16
|
*/
|
|
17
17
|
async list(request, options) {
|
|
@@ -114,6 +114,7 @@ async function $do(
|
|
|
114
114
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
115
115
|
|
|
116
116
|
const context = {
|
|
117
|
+
options: client._options,
|
|
117
118
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
118
119
|
operationID: "getAccountTerminalApplication",
|
|
119
120
|
oAuth2Scopes: [],
|
|
@@ -134,6 +135,7 @@ async function $do(
|
|
|
134
135
|
path: path,
|
|
135
136
|
headers: headers,
|
|
136
137
|
body: body,
|
|
138
|
+
userAgent: client._options.userAgent,
|
|
137
139
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
138
140
|
}, options);
|
|
139
141
|
if (!requestRes.ok) {
|
|
@@ -112,6 +112,7 @@ async function $do(
|
|
|
112
112
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
113
113
|
|
|
114
114
|
const context = {
|
|
115
|
+
options: client._options,
|
|
115
116
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
116
117
|
operationID: "getTerminalConfiguration",
|
|
117
118
|
oAuth2Scopes: [],
|
|
@@ -132,6 +133,7 @@ async function $do(
|
|
|
132
133
|
path: path,
|
|
133
134
|
headers: headers,
|
|
134
135
|
body: body,
|
|
136
|
+
userAgent: client._options.userAgent,
|
|
135
137
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
136
138
|
}, options);
|
|
137
139
|
if (!requestRes.ok) {
|
|
@@ -117,6 +117,7 @@ async function $do(
|
|
|
117
117
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
118
118
|
|
|
119
119
|
const context = {
|
|
120
|
+
options: client._options,
|
|
120
121
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
121
122
|
operationID: "linkAccountTerminalApplication",
|
|
122
123
|
oAuth2Scopes: [],
|
|
@@ -137,6 +138,7 @@ async function $do(
|
|
|
137
138
|
path: path,
|
|
138
139
|
headers: headers,
|
|
139
140
|
body: body,
|
|
141
|
+
userAgent: client._options.userAgent,
|
|
140
142
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
141
143
|
}, options);
|
|
142
144
|
if (!requestRes.ok) {
|
|
@@ -109,6 +109,7 @@ async function $do(
|
|
|
109
109
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
110
110
|
|
|
111
111
|
const context = {
|
|
112
|
+
options: client._options,
|
|
112
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
113
114
|
operationID: "listAccountTerminalApplications",
|
|
114
115
|
oAuth2Scopes: [],
|
|
@@ -129,6 +130,7 @@ async function $do(
|
|
|
129
130
|
path: path,
|
|
130
131
|
headers: headers,
|
|
131
132
|
body: body,
|
|
133
|
+
userAgent: client._options.userAgent,
|
|
132
134
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
133
135
|
}, options);
|
|
134
136
|
if (!requestRes.ok) {
|
|
@@ -113,6 +113,7 @@ async function $do(
|
|
|
113
113
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
114
114
|
|
|
115
115
|
const context = {
|
|
116
|
+
options: client._options,
|
|
116
117
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
117
118
|
operationID: "assignAccountCountries",
|
|
118
119
|
oAuth2Scopes: [],
|
|
@@ -133,6 +134,7 @@ async function $do(
|
|
|
133
134
|
path: path,
|
|
134
135
|
headers: headers,
|
|
135
136
|
body: body,
|
|
137
|
+
userAgent: client._options.userAgent,
|
|
136
138
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
137
139
|
}, options);
|
|
138
140
|
if (!requestRes.ok) {
|
|
@@ -115,6 +115,7 @@ async function $do(
|
|
|
115
115
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
116
116
|
|
|
117
117
|
const context = {
|
|
118
|
+
options: client._options,
|
|
118
119
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
119
120
|
operationID: "createAccount",
|
|
120
121
|
oAuth2Scopes: [],
|
|
@@ -135,6 +136,7 @@ async function $do(
|
|
|
135
136
|
path: path,
|
|
136
137
|
headers: headers,
|
|
137
138
|
body: body,
|
|
139
|
+
userAgent: client._options.userAgent,
|
|
138
140
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
139
141
|
}, options);
|
|
140
142
|
if (!requestRes.ok) {
|
|
@@ -109,6 +109,7 @@ async function $do(
|
|
|
109
109
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
110
110
|
|
|
111
111
|
const context = {
|
|
112
|
+
options: client._options,
|
|
112
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
113
114
|
operationID: "disconnectAccount",
|
|
114
115
|
oAuth2Scopes: [],
|
|
@@ -129,6 +130,7 @@ async function $do(
|
|
|
129
130
|
path: path,
|
|
130
131
|
headers: headers,
|
|
131
132
|
body: body,
|
|
133
|
+
userAgent: client._options.userAgent,
|
|
132
134
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
133
135
|
}, options);
|
|
134
136
|
if (!requestRes.ok) {
|
package/src/funcs/accountsGet.ts
CHANGED
|
@@ -104,6 +104,7 @@ async function $do(
|
|
|
104
104
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
105
105
|
|
|
106
106
|
const context = {
|
|
107
|
+
options: client._options,
|
|
107
108
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
108
109
|
operationID: "getAccount",
|
|
109
110
|
oAuth2Scopes: [],
|
|
@@ -124,6 +125,7 @@ async function $do(
|
|
|
124
125
|
path: path,
|
|
125
126
|
headers: headers,
|
|
126
127
|
body: body,
|
|
128
|
+
userAgent: client._options.userAgent,
|
|
127
129
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
128
130
|
}, options);
|
|
129
131
|
if (!requestRes.ok) {
|
|
@@ -105,6 +105,7 @@ async function $do(
|
|
|
105
105
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
106
106
|
|
|
107
107
|
const context = {
|
|
108
|
+
options: client._options,
|
|
108
109
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
109
110
|
operationID: "getAccountCountries",
|
|
110
111
|
oAuth2Scopes: [],
|
|
@@ -125,6 +126,7 @@ async function $do(
|
|
|
125
126
|
path: path,
|
|
126
127
|
headers: headers,
|
|
127
128
|
body: body,
|
|
129
|
+
userAgent: client._options.userAgent,
|
|
128
130
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
129
131
|
}, options);
|
|
130
132
|
if (!requestRes.ok) {
|
|
@@ -109,6 +109,7 @@ async function $do(
|
|
|
109
109
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
110
110
|
|
|
111
111
|
const context = {
|
|
112
|
+
options: client._options,
|
|
112
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
113
114
|
operationID: "getMerchantProcessingAgreement",
|
|
114
115
|
oAuth2Scopes: [],
|
|
@@ -129,6 +130,7 @@ async function $do(
|
|
|
129
130
|
path: path,
|
|
130
131
|
headers: headers,
|
|
131
132
|
body: body,
|
|
133
|
+
userAgent: client._options.userAgent,
|
|
132
134
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
133
135
|
}, options);
|
|
134
136
|
if (!requestRes.ok) {
|
|
@@ -107,6 +107,7 @@ async function $do(
|
|
|
107
107
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
108
108
|
|
|
109
109
|
const context = {
|
|
110
|
+
options: client._options,
|
|
110
111
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
111
112
|
operationID: "getTermsOfServiceToken",
|
|
112
113
|
oAuth2Scopes: [],
|
|
@@ -127,6 +128,7 @@ async function $do(
|
|
|
127
128
|
path: path,
|
|
128
129
|
headers: headers,
|
|
129
130
|
body: body,
|
|
131
|
+
userAgent: client._options.userAgent,
|
|
130
132
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
131
133
|
}, options);
|
|
132
134
|
if (!requestRes.ok) {
|
|
@@ -114,6 +114,7 @@ async function $do(
|
|
|
114
114
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
115
115
|
|
|
116
116
|
const context = {
|
|
117
|
+
options: client._options,
|
|
117
118
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
118
119
|
operationID: "listAccounts",
|
|
119
120
|
oAuth2Scopes: [],
|
|
@@ -135,6 +136,7 @@ async function $do(
|
|
|
135
136
|
headers: headers,
|
|
136
137
|
query: query,
|
|
137
138
|
body: body,
|
|
139
|
+
userAgent: client._options.userAgent,
|
|
138
140
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
139
141
|
}, options);
|
|
140
142
|
if (!requestRes.ok) {
|
|
@@ -118,6 +118,7 @@ async function $do(
|
|
|
118
118
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
119
119
|
|
|
120
120
|
const context = {
|
|
121
|
+
options: client._options,
|
|
121
122
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
122
123
|
operationID: "updateAccount",
|
|
123
124
|
oAuth2Scopes: [],
|
|
@@ -138,6 +139,7 @@ async function $do(
|
|
|
138
139
|
path: path,
|
|
139
140
|
headers: headers,
|
|
140
141
|
body: body,
|
|
142
|
+
userAgent: client._options.userAgent,
|
|
141
143
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
142
144
|
}, options);
|
|
143
145
|
if (!requestRes.ok) {
|
|
@@ -110,6 +110,7 @@ async function $do(
|
|
|
110
110
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
111
111
|
|
|
112
112
|
const context = {
|
|
113
|
+
options: client._options,
|
|
113
114
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
114
115
|
operationID: "getAdjustment",
|
|
115
116
|
oAuth2Scopes: [],
|
|
@@ -130,6 +131,7 @@ async function $do(
|
|
|
130
131
|
path: path,
|
|
131
132
|
headers: headers,
|
|
132
133
|
body: body,
|
|
134
|
+
userAgent: client._options.userAgent,
|
|
133
135
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
134
136
|
}, options);
|
|
135
137
|
if (!requestRes.ok) {
|
|
@@ -108,6 +108,7 @@ async function $do(
|
|
|
108
108
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
109
109
|
|
|
110
110
|
const context = {
|
|
111
|
+
options: client._options,
|
|
111
112
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
112
113
|
operationID: "listAdjustments",
|
|
113
114
|
oAuth2Scopes: [],
|
|
@@ -129,6 +130,7 @@ async function $do(
|
|
|
129
130
|
headers: headers,
|
|
130
131
|
query: query,
|
|
131
132
|
body: body,
|
|
133
|
+
userAgent: client._options.userAgent,
|
|
132
134
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
133
135
|
}, options);
|
|
134
136
|
if (!requestRes.ok) {
|