@ember-finance/sdk 2.0.0-beta.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -64
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/dist/src/abis/index.js +22 -10
- package/dist/src/api/api.d.ts +2 -2
- package/dist/src/api/api.js +18 -2
- package/dist/src/api/apis/accounts-api.d.ts +9 -9
- package/dist/src/api/apis/accounts-api.js +73 -63
- package/dist/src/api/apis/vaults-api.d.ts +20 -20
- package/dist/src/api/apis/vaults-api.js +140 -130
- package/dist/src/api/base.d.ts +1 -1
- package/dist/src/api/base.js +15 -7
- package/dist/src/api/common.d.ts +2 -2
- package/dist/src/api/common.js +25 -13
- package/dist/src/api/configuration.js +6 -2
- package/dist/src/api/index.d.ts +3 -3
- package/dist/src/api/index.js +19 -3
- package/dist/src/api/models/account-transaction-transaction-data.d.ts +5 -5
- package/dist/src/api/models/account-transaction-transaction-data.js +2 -1
- package/dist/src/api/models/account-transaction.d.ts +1 -1
- package/dist/src/api/models/account-transaction.js +4 -1
- package/dist/src/api/models/account-withdrawal-request.d.ts +2 -2
- package/dist/src/api/models/account-withdrawal-request.js +4 -1
- package/dist/src/api/models/apy-history-v2.d.ts +1 -1
- package/dist/src/api/models/apy-history-v2.js +2 -1
- package/dist/src/api/models/apy-history.js +2 -1
- package/dist/src/api/models/asset.js +2 -1
- package/dist/src/api/models/borrowed.d.ts +1 -1
- package/dist/src/api/models/borrowed.js +2 -1
- package/dist/src/api/models/chain.js +4 -1
- package/dist/src/api/models/coin-price.js +2 -1
- package/dist/src/api/models/deposit-transaction.d.ts +2 -2
- package/dist/src/api/models/deposit-transaction.js +2 -1
- package/dist/src/api/models/ember-position.d.ts +1 -1
- package/dist/src/api/models/ember-position.js +2 -1
- package/dist/src/api/models/exposure-coin.d.ts +1 -1
- package/dist/src/api/models/exposure-coin.js +2 -1
- package/dist/src/api/models/exposure-protocol.d.ts +6 -6
- package/dist/src/api/models/exposure-protocol.js +2 -1
- package/dist/src/api/models/exposure.d.ts +2 -2
- package/dist/src/api/models/exposure.js +2 -1
- package/dist/src/api/models/fee.d.ts +1 -1
- package/dist/src/api/models/fee.js +2 -1
- package/dist/src/api/models/fees.js +2 -1
- package/dist/src/api/models/history-interval.js +4 -1
- package/dist/src/api/models/index.d.ts +78 -78
- package/dist/src/api/models/index.js +94 -78
- package/dist/src/api/models/lp.d.ts +3 -3
- package/dist/src/api/models/lp.js +2 -1
- package/dist/src/api/models/manager.js +2 -1
- package/dist/src/api/models/min-withdrawal-shares-updated-event.js +2 -1
- package/dist/src/api/models/perps.d.ts +1 -1
- package/dist/src/api/models/perps.js +2 -1
- package/dist/src/api/models/pnl-history-interval.js +4 -1
- package/dist/src/api/models/pnl-history.js +2 -1
- package/dist/src/api/models/poc-report-asset.js +2 -1
- package/dist/src/api/models/poc-report-assets.d.ts +1 -1
- package/dist/src/api/models/poc-report-assets.js +2 -1
- package/dist/src/api/models/poc-report-exchange.d.ts +1 -1
- package/dist/src/api/models/poc-report-exchange.js +2 -1
- package/dist/src/api/models/poc-report-exchanges.d.ts +1 -1
- package/dist/src/api/models/poc-report-exchanges.js +2 -1
- package/dist/src/api/models/poc-report-protocol.js +2 -1
- package/dist/src/api/models/poc-report-token.js +2 -1
- package/dist/src/api/models/poc-report-wallet.d.ts +2 -2
- package/dist/src/api/models/poc-report-wallet.js +2 -1
- package/dist/src/api/models/poc-report-wallets.d.ts +1 -1
- package/dist/src/api/models/poc-report-wallets.js +2 -1
- package/dist/src/api/models/position-history-interval.js +4 -1
- package/dist/src/api/models/position-history.js +4 -1
- package/dist/src/api/models/position-value.js +4 -1
- package/dist/src/api/models/position.js +2 -1
- package/dist/src/api/models/process-requests-summary-event.js +2 -1
- package/dist/src/api/models/proof-of-capital-report.d.ts +3 -3
- package/dist/src/api/models/proof-of-capital-report.js +2 -1
- package/dist/src/api/models/protocol-fee-collected-event.js +2 -1
- package/dist/src/api/models/protocol-info.d.ts +3 -3
- package/dist/src/api/models/protocol-info.js +2 -1
- package/dist/src/api/models/protocol.js +2 -1
- package/dist/src/api/models/raw-event-event-data.d.ts +17 -17
- package/dist/src/api/models/raw-event-event-data.js +2 -1
- package/dist/src/api/models/raw-event.d.ts +1 -1
- package/dist/src/api/models/raw-event.js +4 -1
- package/dist/src/api/models/redeem-request-cancelled-transaction.d.ts +2 -2
- package/dist/src/api/models/redeem-request-cancelled-transaction.js +2 -1
- package/dist/src/api/models/redeem-request-processed-transaction.d.ts +2 -2
- package/dist/src/api/models/redeem-request-processed-transaction.js +2 -1
- package/dist/src/api/models/redeem-request-skipped-transaction.d.ts +2 -2
- package/dist/src/api/models/redeem-request-skipped-transaction.js +2 -1
- package/dist/src/api/models/redeem-request-transaction.d.ts +2 -2
- package/dist/src/api/models/redeem-request-transaction.js +2 -1
- package/dist/src/api/models/reported-apy.js +2 -1
- package/dist/src/api/models/request-processed-event.js +2 -1
- package/dist/src/api/models/request-redeemed-event.js +2 -1
- package/dist/src/api/models/reward-token.js +2 -1
- package/dist/src/api/models/reward.d.ts +1 -1
- package/dist/src/api/models/reward.js +2 -1
- package/dist/src/api/models/share-price-history.js +2 -1
- package/dist/src/api/models/strategy-account.d.ts +1 -1
- package/dist/src/api/models/strategy-account.js +2 -1
- package/dist/src/api/models/strategy.js +2 -1
- package/dist/src/api/models/sub-account.d.ts +1 -1
- package/dist/src/api/models/sub-account.js +2 -1
- package/dist/src/api/models/supplied.d.ts +1 -1
- package/dist/src/api/models/supplied.js +2 -1
- package/dist/src/api/models/tag.js +2 -1
- package/dist/src/api/models/tvl-history.js +2 -1
- package/dist/src/api/models/ultra-coin-info.js +2 -1
- package/dist/src/api/models/update-vault-strategies.d.ts +1 -1
- package/dist/src/api/models/update-vault-strategies.js +2 -1
- package/dist/src/api/models/vault-admin-changed-event.js +2 -1
- package/dist/src/api/models/vault-created-event.js +2 -1
- package/dist/src/api/models/vault-deposit-event.js +2 -1
- package/dist/src/api/models/vault-deposit-without-minting-shares-event.js +2 -1
- package/dist/src/api/models/vault-detail.d.ts +7 -7
- package/dist/src/api/models/vault-detail.js +4 -1
- package/dist/src/api/models/vault-fee-percentage-updated-event.js +2 -1
- package/dist/src/api/models/vault-info.js +2 -1
- package/dist/src/api/models/vault-max-tvl-updated-event.js +2 -1
- package/dist/src/api/models/vault-operator-changed-event.js +2 -1
- package/dist/src/api/models/vault-paused-status-updated-event.js +2 -1
- package/dist/src/api/models/vault-platform-fee-charged-event.js +2 -1
- package/dist/src/api/models/vault-protocol.js +2 -1
- package/dist/src/api/models/vault-rate-updated-event.js +2 -1
- package/dist/src/api/models/vault-slice.js +2 -1
- package/dist/src/api/models/vault-sub-account-updated-event.js +2 -1
- package/dist/src/api/models/vault-withdrawal-without-redeeming-shares-event.js +2 -1
- package/dist/src/api/models/vaults-stats.js +2 -1
- package/dist/src/api/models/yield-aggregate-value.js +2 -1
- package/dist/src/api/v2/api.d.ts +2 -2
- package/dist/src/api/v2/api.js +18 -2
- package/dist/src/api/v2/apis/accounts-api.d.ts +9 -9
- package/dist/src/api/v2/apis/accounts-api.js +66 -56
- package/dist/src/api/v2/apis/vaults-api.d.ts +20 -20
- package/dist/src/api/v2/apis/vaults-api.js +124 -114
- package/dist/src/api/v2/base.d.ts +1 -1
- package/dist/src/api/v2/base.js +15 -7
- package/dist/src/api/v2/common.d.ts +2 -2
- package/dist/src/api/v2/common.js +25 -13
- package/dist/src/api/v2/configuration.js +6 -2
- package/dist/src/api/v2/index.d.ts +3 -3
- package/dist/src/api/v2/index.js +19 -3
- package/dist/src/api/v2/models/account-transaction-transaction-data.d.ts +5 -5
- package/dist/src/api/v2/models/account-transaction-transaction-data.js +2 -1
- package/dist/src/api/v2/models/account-transaction.d.ts +1 -1
- package/dist/src/api/v2/models/account-transaction.js +4 -1
- package/dist/src/api/v2/models/account-vault-position-history.js +4 -1
- package/dist/src/api/v2/models/account-withdrawal-request.d.ts +2 -2
- package/dist/src/api/v2/models/account-withdrawal-request.js +4 -1
- package/dist/src/api/v2/models/aggregated-account-position-history.js +4 -1
- package/dist/src/api/v2/models/aggregated-proof-of-capital-report.d.ts +2 -2
- package/dist/src/api/v2/models/aggregated-proof-of-capital-report.js +2 -1
- package/dist/src/api/v2/models/apy-averages.d.ts +1 -1
- package/dist/src/api/v2/models/apy-averages.js +2 -1
- package/dist/src/api/v2/models/apy-history-response.d.ts +1 -1
- package/dist/src/api/v2/models/apy-history-response.js +2 -1
- package/dist/src/api/v2/models/apy-history.js +2 -1
- package/dist/src/api/v2/models/apy-period-average.js +2 -1
- package/dist/src/api/v2/models/asset.js +2 -1
- package/dist/src/api/v2/models/borrowed.d.ts +1 -1
- package/dist/src/api/v2/models/borrowed.js +2 -1
- package/dist/src/api/v2/models/chain-vault-details.d.ts +2 -2
- package/dist/src/api/v2/models/chain-vault-details.js +2 -1
- package/dist/src/api/v2/models/chain.js +4 -1
- package/dist/src/api/v2/models/coin-price.js +2 -1
- package/dist/src/api/v2/models/deposit-transaction.d.ts +2 -2
- package/dist/src/api/v2/models/deposit-transaction.js +2 -1
- package/dist/src/api/v2/models/ember-position.d.ts +1 -1
- package/dist/src/api/v2/models/ember-position.js +2 -1
- package/dist/src/api/v2/models/evm-contracts.d.ts +5 -5
- package/dist/src/api/v2/models/evm-contracts.js +2 -1
- package/dist/src/api/v2/models/evm-deposit-token.js +2 -1
- package/dist/src/api/v2/models/evm-price-feed.js +2 -1
- package/dist/src/api/v2/models/evm-protocol-config.js +2 -1
- package/dist/src/api/v2/models/evm-protocol-info.d.ts +1 -1
- package/dist/src/api/v2/models/evm-protocol-info.js +2 -1
- package/dist/src/api/v2/models/evm-receipt-token.js +2 -1
- package/dist/src/api/v2/models/evm-vault.js +2 -1
- package/dist/src/api/v2/models/exposure-coin.d.ts +1 -1
- package/dist/src/api/v2/models/exposure-coin.js +2 -1
- package/dist/src/api/v2/models/exposure-protocol.d.ts +6 -6
- package/dist/src/api/v2/models/exposure-protocol.js +2 -1
- package/dist/src/api/v2/models/exposure.d.ts +2 -2
- package/dist/src/api/v2/models/exposure.js +2 -1
- package/dist/src/api/v2/models/fee.d.ts +1 -1
- package/dist/src/api/v2/models/fee.js +2 -1
- package/dist/src/api/v2/models/fees.js +2 -1
- package/dist/src/api/v2/models/history-interval.js +4 -1
- package/dist/src/api/v2/models/index.d.ts +100 -100
- package/dist/src/api/v2/models/index.js +116 -100
- package/dist/src/api/v2/models/lp.d.ts +3 -3
- package/dist/src/api/v2/models/lp.js +2 -1
- package/dist/src/api/v2/models/manager.js +2 -1
- package/dist/src/api/v2/models/min-withdrawal-shares-updated-event.js +2 -1
- package/dist/src/api/v2/models/perps.d.ts +1 -1
- package/dist/src/api/v2/models/perps.js +2 -1
- package/dist/src/api/v2/models/pnl-by-chain.js +2 -1
- package/dist/src/api/v2/models/pnl-history-interval.js +4 -1
- package/dist/src/api/v2/models/pnl-history.js +2 -1
- package/dist/src/api/v2/models/poc-report-asset.js +2 -1
- package/dist/src/api/v2/models/poc-report-assets.d.ts +1 -1
- package/dist/src/api/v2/models/poc-report-assets.js +2 -1
- package/dist/src/api/v2/models/poc-report-exchange.d.ts +1 -1
- package/dist/src/api/v2/models/poc-report-exchange.js +2 -1
- package/dist/src/api/v2/models/poc-report-exchanges.d.ts +1 -1
- package/dist/src/api/v2/models/poc-report-exchanges.js +2 -1
- package/dist/src/api/v2/models/poc-report-protocol.js +2 -1
- package/dist/src/api/v2/models/poc-report-token.js +2 -1
- package/dist/src/api/v2/models/poc-report-wallet.d.ts +2 -2
- package/dist/src/api/v2/models/poc-report-wallet.js +2 -1
- package/dist/src/api/v2/models/poc-report-wallets.d.ts +1 -1
- package/dist/src/api/v2/models/poc-report-wallets.js +2 -1
- package/dist/src/api/v2/models/position-history-interval.js +4 -1
- package/dist/src/api/v2/models/position-value.js +4 -1
- package/dist/src/api/v2/models/position.js +2 -1
- package/dist/src/api/v2/models/process-requests-summary-event.js +2 -1
- package/dist/src/api/v2/models/proof-of-capital-report-status.js +4 -1
- package/dist/src/api/v2/models/proof-of-capital-report.d.ts +4 -4
- package/dist/src/api/v2/models/proof-of-capital-report.js +2 -1
- package/dist/src/api/v2/models/protocol-fee-collected-event.js +2 -1
- package/dist/src/api/v2/models/protocol-pnl-history.js +2 -1
- package/dist/src/api/v2/models/protocol-tvl-history.js +2 -1
- package/dist/src/api/v2/models/protocol.js +2 -1
- package/dist/src/api/v2/models/raw-event-event-data.d.ts +17 -17
- package/dist/src/api/v2/models/raw-event-event-data.js +2 -1
- package/dist/src/api/v2/models/raw-event.d.ts +1 -1
- package/dist/src/api/v2/models/raw-event.js +4 -1
- package/dist/src/api/v2/models/redeem-request-cancelled-transaction.d.ts +2 -2
- package/dist/src/api/v2/models/redeem-request-cancelled-transaction.js +2 -1
- package/dist/src/api/v2/models/redeem-request-processed-transaction.d.ts +2 -2
- package/dist/src/api/v2/models/redeem-request-processed-transaction.js +2 -1
- package/dist/src/api/v2/models/redeem-request-skipped-transaction.d.ts +2 -2
- package/dist/src/api/v2/models/redeem-request-skipped-transaction.js +2 -1
- package/dist/src/api/v2/models/redeem-request-transaction.d.ts +2 -2
- package/dist/src/api/v2/models/redeem-request-transaction.js +2 -1
- package/dist/src/api/v2/models/reported-apy.js +2 -1
- package/dist/src/api/v2/models/request-processed-event.js +2 -1
- package/dist/src/api/v2/models/request-redeemed-event.js +2 -1
- package/dist/src/api/v2/models/reward-token.js +2 -1
- package/dist/src/api/v2/models/reward.d.ts +1 -1
- package/dist/src/api/v2/models/reward.js +2 -1
- package/dist/src/api/v2/models/share-price-history.js +2 -1
- package/dist/src/api/v2/models/strategy-account.d.ts +1 -1
- package/dist/src/api/v2/models/strategy-account.js +2 -1
- package/dist/src/api/v2/models/strategy.js +2 -1
- package/dist/src/api/v2/models/sub-account.d.ts +1 -1
- package/dist/src/api/v2/models/sub-account.js +2 -1
- package/dist/src/api/v2/models/sui-protocol-info.d.ts +3 -3
- package/dist/src/api/v2/models/sui-protocol-info.js +2 -1
- package/dist/src/api/v2/models/supplied.d.ts +1 -1
- package/dist/src/api/v2/models/supplied.js +2 -1
- package/dist/src/api/v2/models/tag.js +2 -1
- package/dist/src/api/v2/models/tvl-by-chain.js +2 -1
- package/dist/src/api/v2/models/tvl-history.d.ts +1 -1
- package/dist/src/api/v2/models/tvl-history.js +2 -1
- package/dist/src/api/v2/models/ultra-coin-info.js +2 -1
- package/dist/src/api/v2/models/update-vault-strategies.d.ts +1 -1
- package/dist/src/api/v2/models/update-vault-strategies.js +2 -1
- package/dist/src/api/v2/models/vault-admin-changed-event.js +2 -1
- package/dist/src/api/v2/models/vault-created-event.js +2 -1
- package/dist/src/api/v2/models/vault-deposit-eligibility.js +2 -1
- package/dist/src/api/v2/models/vault-deposit-event.js +2 -1
- package/dist/src/api/v2/models/vault-deposit-without-minting-shares-event.js +2 -1
- package/dist/src/api/v2/models/vault-detail.d.ts +14 -8
- package/dist/src/api/v2/models/vault-detail.js +4 -1
- package/dist/src/api/v2/models/vault-fee-percentage-updated-event.js +2 -1
- package/dist/src/api/v2/models/vault-info.js +2 -1
- package/dist/src/api/v2/models/vault-max-tvl-updated-event.js +2 -1
- package/dist/src/api/v2/models/vault-operator-changed-event.js +2 -1
- package/dist/src/api/v2/models/vault-paused-status-updated-event.js +2 -1
- package/dist/src/api/v2/models/vault-platform-fee-charged-event.js +2 -1
- package/dist/src/api/v2/models/vault-proof-of-capital-summary.d.ts +2 -2
- package/dist/src/api/v2/models/vault-proof-of-capital-summary.js +2 -1
- package/dist/src/api/v2/models/vault-protocol.js +2 -1
- package/dist/src/api/v2/models/vault-rate-updated-event.js +2 -1
- package/dist/src/api/v2/models/vault-slice.js +2 -1
- package/dist/src/api/v2/models/vault-sub-account-updated-event.js +2 -1
- package/dist/src/api/v2/models/vault-tag.js +2 -1
- package/dist/src/api/v2/models/vault-withdrawal-without-redeeming-shares-event.js +2 -1
- package/dist/src/api/v2/models/vaults-deployment-config-config.d.ts +2 -2
- package/dist/src/api/v2/models/vaults-deployment-config-config.js +2 -1
- package/dist/src/api/v2/models/vaults-deployment-config.d.ts +1 -1
- package/dist/src/api/v2/models/vaults-deployment-config.js +4 -1
- package/dist/src/api/v2/models/vaults-stats.js +2 -1
- package/dist/src/api/v2/models/yield-aggregate-value.js +2 -1
- package/dist/src/common/types.js +2 -1
- package/dist/src/ember-vaults.d.ts +17 -17
- package/dist/src/ember-vaults.js +37 -33
- package/dist/src/evm-vaults/index.d.ts +3 -3
- package/dist/src/evm-vaults/index.js +19 -3
- package/dist/src/evm-vaults/interfaces/index.js +2 -1
- package/dist/src/evm-vaults/on-chain-calls/admin.d.ts +3 -3
- package/dist/src/evm-vaults/on-chain-calls/admin.js +6 -2
- package/dist/src/evm-vaults/on-chain-calls/index.d.ts +7 -7
- package/dist/src/evm-vaults/on-chain-calls/index.js +23 -7
- package/dist/src/evm-vaults/on-chain-calls/onchain-calls.d.ts +3 -3
- package/dist/src/evm-vaults/on-chain-calls/onchain-calls.js +13 -9
- package/dist/src/evm-vaults/on-chain-calls/operator.d.ts +3 -3
- package/dist/src/evm-vaults/on-chain-calls/operator.js +6 -2
- package/dist/src/evm-vaults/on-chain-calls/tx-builder.d.ts +3 -3
- package/dist/src/evm-vaults/on-chain-calls/tx-builder.js +41 -34
- package/dist/src/evm-vaults/on-chain-calls/user.d.ts +3 -3
- package/dist/src/evm-vaults/on-chain-calls/user.js +15 -8
- package/dist/src/evm-vaults/on-chain-calls/vault-admin.d.ts +3 -3
- package/dist/src/evm-vaults/on-chain-calls/vault-admin.js +6 -2
- package/dist/src/evm-vaults/on-chain-calls/vault-reader.d.ts +3 -3
- package/dist/src/evm-vaults/on-chain-calls/vault-reader.js +19 -12
- package/dist/src/evm-vaults/utils/deployment-parser.d.ts +1 -1
- package/dist/src/evm-vaults/utils/deployment-parser.js +5 -1
- package/dist/src/evm-vaults/utils/index.d.ts +2 -2
- package/dist/src/evm-vaults/utils/index.js +18 -2
- package/dist/src/evm-vaults/utils/permit-utils.d.ts +2 -2
- package/dist/src/evm-vaults/utils/permit-utils.js +53 -12
- package/dist/src/index.d.ts +3 -3
- package/dist/src/index.js +19 -3
- package/dist/src/sui-vaults/index.d.ts +4 -4
- package/dist/src/sui-vaults/index.js +20 -4
- package/dist/src/sui-vaults/interfaces/bcs.js +18 -15
- package/dist/src/sui-vaults/interfaces/index.js +2 -1
- package/dist/src/sui-vaults/on-chain-calls/admin.d.ts +2 -2
- package/dist/src/sui-vaults/on-chain-calls/admin.js +17 -13
- package/dist/src/sui-vaults/on-chain-calls/index.d.ts +6 -6
- package/dist/src/sui-vaults/on-chain-calls/index.js +22 -6
- package/dist/src/sui-vaults/on-chain-calls/onchain-calls.d.ts +3 -3
- package/dist/src/sui-vaults/on-chain-calls/onchain-calls.js +12 -8
- package/dist/src/sui-vaults/on-chain-calls/operator.d.ts +2 -2
- package/dist/src/sui-vaults/on-chain-calls/operator.js +19 -15
- package/dist/src/sui-vaults/on-chain-calls/tx-builder.d.ts +2 -2
- package/dist/src/sui-vaults/on-chain-calls/tx-builder.js +50 -46
- package/dist/src/sui-vaults/on-chain-calls/user.d.ts +2 -2
- package/dist/src/sui-vaults/on-chain-calls/user.js +22 -18
- package/dist/src/sui-vaults/on-chain-calls/vault-admin.d.ts +2 -2
- package/dist/src/sui-vaults/on-chain-calls/vault-admin.js +14 -10
- package/dist/src/sui-vaults/on-chain-calls/vault.d.ts +1 -1
- package/dist/src/sui-vaults/on-chain-calls/vault.js +7 -3
- package/dist/src/sui-vaults/utils/common.js +7 -3
- package/dist/src/sui-vaults/utils/deployment-parser.d.ts +1 -1
- package/dist/src/sui-vaults/utils/deployment-parser.js +5 -1
- package/dist/src/sui-vaults/utils/index.d.ts +2 -2
- package/dist/src/sui-vaults/utils/index.js +18 -2
- package/package.json +14 -24
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
@@ -11,17 +12,22 @@
|
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.VaultsApi = exports.VaultsApiFactory = exports.VaultsApiFp = exports.VaultsApiAxiosParamCreator = void 0;
|
|
20
|
+
const axios_1 = __importDefault(require("axios"));
|
|
15
21
|
// Some imports not used depending on template conditions
|
|
16
22
|
// @ts-ignore
|
|
17
|
-
|
|
23
|
+
const common_1 = require("../common");
|
|
18
24
|
// @ts-ignore
|
|
19
|
-
|
|
25
|
+
const base_1 = require("../base");
|
|
20
26
|
/**
|
|
21
27
|
* VaultsApi - axios parameter creator
|
|
22
28
|
* @export
|
|
23
29
|
*/
|
|
24
|
-
|
|
30
|
+
const VaultsApiAxiosParamCreator = function (configuration) {
|
|
25
31
|
return {
|
|
26
32
|
/**
|
|
27
33
|
*
|
|
@@ -32,7 +38,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
32
38
|
getAllTags: async (options = {}) => {
|
|
33
39
|
const localVarPath = `/api/v1/vaults/tags`;
|
|
34
40
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
36
42
|
let baseOptions;
|
|
37
43
|
if (configuration) {
|
|
38
44
|
baseOptions = configuration.baseOptions;
|
|
@@ -40,7 +46,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
40
46
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
41
47
|
const localVarHeaderParameter = {};
|
|
42
48
|
const localVarQueryParameter = {};
|
|
43
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
49
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
44
50
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45
51
|
localVarRequestOptions.headers = {
|
|
46
52
|
...localVarHeaderParameter,
|
|
@@ -48,7 +54,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
48
54
|
...options.headers
|
|
49
55
|
};
|
|
50
56
|
return {
|
|
51
|
-
url: toPathString(localVarUrlObj),
|
|
57
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
52
58
|
options: localVarRequestOptions
|
|
53
59
|
};
|
|
54
60
|
},
|
|
@@ -62,7 +68,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
62
68
|
getCoinsPrice: async (coinTypes, options = {}) => {
|
|
63
69
|
const localVarPath = `/api/v1/vaults/coins/price`;
|
|
64
70
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
71
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
66
72
|
let baseOptions;
|
|
67
73
|
if (configuration) {
|
|
68
74
|
baseOptions = configuration.baseOptions;
|
|
@@ -73,7 +79,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
73
79
|
if (coinTypes !== undefined) {
|
|
74
80
|
localVarQueryParameter["coinTypes"] = coinTypes;
|
|
75
81
|
}
|
|
76
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
82
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
77
83
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78
84
|
localVarRequestOptions.headers = {
|
|
79
85
|
...localVarHeaderParameter,
|
|
@@ -81,7 +87,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
81
87
|
...options.headers
|
|
82
88
|
};
|
|
83
89
|
return {
|
|
84
|
-
url: toPathString(localVarUrlObj),
|
|
90
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
85
91
|
options: localVarRequestOptions
|
|
86
92
|
};
|
|
87
93
|
},
|
|
@@ -95,12 +101,12 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
95
101
|
*/
|
|
96
102
|
getFees: async (startTimestampInMs, endTimestampInMs, options = {}) => {
|
|
97
103
|
// verify required parameter 'startTimestampInMs' is not null or undefined
|
|
98
|
-
assertParamExists("getFees", "startTimestampInMs", startTimestampInMs);
|
|
104
|
+
(0, common_1.assertParamExists)("getFees", "startTimestampInMs", startTimestampInMs);
|
|
99
105
|
// verify required parameter 'endTimestampInMs' is not null or undefined
|
|
100
|
-
assertParamExists("getFees", "endTimestampInMs", endTimestampInMs);
|
|
106
|
+
(0, common_1.assertParamExists)("getFees", "endTimestampInMs", endTimestampInMs);
|
|
101
107
|
const localVarPath = `/api/v1/vaults/fees`;
|
|
102
108
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
109
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
104
110
|
let baseOptions;
|
|
105
111
|
if (configuration) {
|
|
106
112
|
baseOptions = configuration.baseOptions;
|
|
@@ -114,7 +120,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
114
120
|
if (endTimestampInMs !== undefined) {
|
|
115
121
|
localVarQueryParameter["endTimestampInMs"] = endTimestampInMs;
|
|
116
122
|
}
|
|
117
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
123
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
118
124
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
119
125
|
localVarRequestOptions.headers = {
|
|
120
126
|
...localVarHeaderParameter,
|
|
@@ -122,7 +128,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
122
128
|
...options.headers
|
|
123
129
|
};
|
|
124
130
|
return {
|
|
125
|
-
url: toPathString(localVarUrlObj),
|
|
131
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
126
132
|
options: localVarRequestOptions
|
|
127
133
|
};
|
|
128
134
|
},
|
|
@@ -137,7 +143,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
137
143
|
getProtocolPnlHistory: async (limit, interval, options = {}) => {
|
|
138
144
|
const localVarPath = `/api/v1/vaults/pnl-history`;
|
|
139
145
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
140
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
141
147
|
let baseOptions;
|
|
142
148
|
if (configuration) {
|
|
143
149
|
baseOptions = configuration.baseOptions;
|
|
@@ -151,7 +157,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
151
157
|
if (interval !== undefined) {
|
|
152
158
|
localVarQueryParameter["interval"] = interval;
|
|
153
159
|
}
|
|
154
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
160
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
155
161
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
156
162
|
localVarRequestOptions.headers = {
|
|
157
163
|
...localVarHeaderParameter,
|
|
@@ -159,7 +165,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
159
165
|
...options.headers
|
|
160
166
|
};
|
|
161
167
|
return {
|
|
162
|
-
url: toPathString(localVarUrlObj),
|
|
168
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
163
169
|
options: localVarRequestOptions
|
|
164
170
|
};
|
|
165
171
|
},
|
|
@@ -174,7 +180,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
174
180
|
getProtocolTvlHistory: async (limit, interval, options = {}) => {
|
|
175
181
|
const localVarPath = `/api/v1/vaults/tvl-history`;
|
|
176
182
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
177
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
183
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
178
184
|
let baseOptions;
|
|
179
185
|
if (configuration) {
|
|
180
186
|
baseOptions = configuration.baseOptions;
|
|
@@ -188,7 +194,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
188
194
|
if (interval !== undefined) {
|
|
189
195
|
localVarQueryParameter["interval"] = interval;
|
|
190
196
|
}
|
|
191
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
197
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
192
198
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
193
199
|
localVarRequestOptions.headers = {
|
|
194
200
|
...localVarHeaderParameter,
|
|
@@ -196,7 +202,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
196
202
|
...options.headers
|
|
197
203
|
};
|
|
198
204
|
return {
|
|
199
|
-
url: toPathString(localVarUrlObj),
|
|
205
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
200
206
|
options: localVarRequestOptions
|
|
201
207
|
};
|
|
202
208
|
},
|
|
@@ -212,10 +218,10 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
212
218
|
*/
|
|
213
219
|
getRawEvents: async (startTimeInMs, endTimeInMs, limit, page, options = {}) => {
|
|
214
220
|
// verify required parameter 'startTimeInMs' is not null or undefined
|
|
215
|
-
assertParamExists("getRawEvents", "startTimeInMs", startTimeInMs);
|
|
221
|
+
(0, common_1.assertParamExists)("getRawEvents", "startTimeInMs", startTimeInMs);
|
|
216
222
|
const localVarPath = `/api/v1/vaults/raw-events`;
|
|
217
223
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
218
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
224
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
219
225
|
let baseOptions;
|
|
220
226
|
if (configuration) {
|
|
221
227
|
baseOptions = configuration.baseOptions;
|
|
@@ -235,7 +241,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
235
241
|
if (page !== undefined) {
|
|
236
242
|
localVarQueryParameter["page"] = page;
|
|
237
243
|
}
|
|
238
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
244
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
239
245
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
240
246
|
localVarRequestOptions.headers = {
|
|
241
247
|
...localVarHeaderParameter,
|
|
@@ -243,7 +249,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
243
249
|
...options.headers
|
|
244
250
|
};
|
|
245
251
|
return {
|
|
246
|
-
url: toPathString(localVarUrlObj),
|
|
252
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
247
253
|
options: localVarRequestOptions
|
|
248
254
|
};
|
|
249
255
|
},
|
|
@@ -258,10 +264,10 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
258
264
|
*/
|
|
259
265
|
getVaultApyHistory: async (vaultId, limit, interval, options = {}) => {
|
|
260
266
|
// verify required parameter 'vaultId' is not null or undefined
|
|
261
|
-
assertParamExists("getVaultApyHistory", "vaultId", vaultId);
|
|
267
|
+
(0, common_1.assertParamExists)("getVaultApyHistory", "vaultId", vaultId);
|
|
262
268
|
const localVarPath = `/api/v1/vaults/apy-history/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
|
|
263
269
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
264
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
270
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
265
271
|
let baseOptions;
|
|
266
272
|
if (configuration) {
|
|
267
273
|
baseOptions = configuration.baseOptions;
|
|
@@ -275,7 +281,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
275
281
|
if (interval !== undefined) {
|
|
276
282
|
localVarQueryParameter["interval"] = interval;
|
|
277
283
|
}
|
|
278
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
284
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
279
285
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
280
286
|
localVarRequestOptions.headers = {
|
|
281
287
|
...localVarHeaderParameter,
|
|
@@ -283,7 +289,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
283
289
|
...options.headers
|
|
284
290
|
};
|
|
285
291
|
return {
|
|
286
|
-
url: toPathString(localVarUrlObj),
|
|
292
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
287
293
|
options: localVarRequestOptions
|
|
288
294
|
};
|
|
289
295
|
},
|
|
@@ -298,10 +304,10 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
298
304
|
*/
|
|
299
305
|
getVaultApyHistoryV2: async (vaultId, limit, interval, options = {}) => {
|
|
300
306
|
// verify required parameter 'vaultId' is not null or undefined
|
|
301
|
-
assertParamExists("getVaultApyHistoryV2", "vaultId", vaultId);
|
|
307
|
+
(0, common_1.assertParamExists)("getVaultApyHistoryV2", "vaultId", vaultId);
|
|
302
308
|
const localVarPath = `/api/v1/vaults/apy-history/v2/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
|
|
303
309
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
304
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
310
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
305
311
|
let baseOptions;
|
|
306
312
|
if (configuration) {
|
|
307
313
|
baseOptions = configuration.baseOptions;
|
|
@@ -315,7 +321,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
315
321
|
if (interval !== undefined) {
|
|
316
322
|
localVarQueryParameter["interval"] = interval;
|
|
317
323
|
}
|
|
318
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
324
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
319
325
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
320
326
|
localVarRequestOptions.headers = {
|
|
321
327
|
...localVarHeaderParameter,
|
|
@@ -323,7 +329,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
323
329
|
...options.headers
|
|
324
330
|
};
|
|
325
331
|
return {
|
|
326
|
-
url: toPathString(localVarUrlObj),
|
|
332
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
327
333
|
options: localVarRequestOptions
|
|
328
334
|
};
|
|
329
335
|
},
|
|
@@ -336,10 +342,10 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
336
342
|
*/
|
|
337
343
|
getVaultExposure: async (vaultId, options = {}) => {
|
|
338
344
|
// verify required parameter 'vaultId' is not null or undefined
|
|
339
|
-
assertParamExists("getVaultExposure", "vaultId", vaultId);
|
|
345
|
+
(0, common_1.assertParamExists)("getVaultExposure", "vaultId", vaultId);
|
|
340
346
|
const localVarPath = `/api/v1/vaults/exposure/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
|
|
341
347
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
342
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
348
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
343
349
|
let baseOptions;
|
|
344
350
|
if (configuration) {
|
|
345
351
|
baseOptions = configuration.baseOptions;
|
|
@@ -347,7 +353,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
347
353
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
348
354
|
const localVarHeaderParameter = {};
|
|
349
355
|
const localVarQueryParameter = {};
|
|
350
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
356
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
351
357
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
352
358
|
localVarRequestOptions.headers = {
|
|
353
359
|
...localVarHeaderParameter,
|
|
@@ -355,7 +361,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
355
361
|
...options.headers
|
|
356
362
|
};
|
|
357
363
|
return {
|
|
358
|
-
url: toPathString(localVarUrlObj),
|
|
364
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
359
365
|
options: localVarRequestOptions
|
|
360
366
|
};
|
|
361
367
|
},
|
|
@@ -370,10 +376,10 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
370
376
|
*/
|
|
371
377
|
getVaultPnlHistory: async (vaultId, limit, interval, options = {}) => {
|
|
372
378
|
// verify required parameter 'vaultId' is not null or undefined
|
|
373
|
-
assertParamExists("getVaultPnlHistory", "vaultId", vaultId);
|
|
379
|
+
(0, common_1.assertParamExists)("getVaultPnlHistory", "vaultId", vaultId);
|
|
374
380
|
const localVarPath = `/api/v1/vaults/pnl-history/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
|
|
375
381
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
376
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
382
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
377
383
|
let baseOptions;
|
|
378
384
|
if (configuration) {
|
|
379
385
|
baseOptions = configuration.baseOptions;
|
|
@@ -387,7 +393,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
387
393
|
if (interval !== undefined) {
|
|
388
394
|
localVarQueryParameter["interval"] = interval;
|
|
389
395
|
}
|
|
390
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
396
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
391
397
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
392
398
|
localVarRequestOptions.headers = {
|
|
393
399
|
...localVarHeaderParameter,
|
|
@@ -395,7 +401,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
395
401
|
...options.headers
|
|
396
402
|
};
|
|
397
403
|
return {
|
|
398
|
-
url: toPathString(localVarUrlObj),
|
|
404
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
399
405
|
options: localVarRequestOptions
|
|
400
406
|
};
|
|
401
407
|
},
|
|
@@ -408,10 +414,10 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
408
414
|
*/
|
|
409
415
|
getVaultProofOfCapital: async (vaultId, options = {}) => {
|
|
410
416
|
// verify required parameter 'vaultId' is not null or undefined
|
|
411
|
-
assertParamExists("getVaultProofOfCapital", "vaultId", vaultId);
|
|
417
|
+
(0, common_1.assertParamExists)("getVaultProofOfCapital", "vaultId", vaultId);
|
|
412
418
|
const localVarPath = `/api/v1/vaults/poc/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
|
|
413
419
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
414
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
420
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
415
421
|
let baseOptions;
|
|
416
422
|
if (configuration) {
|
|
417
423
|
baseOptions = configuration.baseOptions;
|
|
@@ -419,7 +425,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
419
425
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
420
426
|
const localVarHeaderParameter = {};
|
|
421
427
|
const localVarQueryParameter = {};
|
|
422
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
428
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
423
429
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
424
430
|
localVarRequestOptions.headers = {
|
|
425
431
|
...localVarHeaderParameter,
|
|
@@ -427,7 +433,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
427
433
|
...options.headers
|
|
428
434
|
};
|
|
429
435
|
return {
|
|
430
|
-
url: toPathString(localVarUrlObj),
|
|
436
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
431
437
|
options: localVarRequestOptions
|
|
432
438
|
};
|
|
433
439
|
},
|
|
@@ -442,10 +448,10 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
442
448
|
*/
|
|
443
449
|
getVaultSharePriceHistory: async (vaultId, limit, interval, options = {}) => {
|
|
444
450
|
// verify required parameter 'vaultId' is not null or undefined
|
|
445
|
-
assertParamExists("getVaultSharePriceHistory", "vaultId", vaultId);
|
|
451
|
+
(0, common_1.assertParamExists)("getVaultSharePriceHistory", "vaultId", vaultId);
|
|
446
452
|
const localVarPath = `/api/v1/vaults/share-price-history/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
|
|
447
453
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
448
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
454
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
449
455
|
let baseOptions;
|
|
450
456
|
if (configuration) {
|
|
451
457
|
baseOptions = configuration.baseOptions;
|
|
@@ -459,7 +465,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
459
465
|
if (interval !== undefined) {
|
|
460
466
|
localVarQueryParameter["interval"] = interval;
|
|
461
467
|
}
|
|
462
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
468
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
463
469
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
464
470
|
localVarRequestOptions.headers = {
|
|
465
471
|
...localVarHeaderParameter,
|
|
@@ -467,7 +473,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
467
473
|
...options.headers
|
|
468
474
|
};
|
|
469
475
|
return {
|
|
470
|
-
url: toPathString(localVarUrlObj),
|
|
476
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
471
477
|
options: localVarRequestOptions
|
|
472
478
|
};
|
|
473
479
|
},
|
|
@@ -480,10 +486,10 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
480
486
|
*/
|
|
481
487
|
getVaultStrategy: async (vaultId, options = {}) => {
|
|
482
488
|
// verify required parameter 'vaultId' is not null or undefined
|
|
483
|
-
assertParamExists("getVaultStrategy", "vaultId", vaultId);
|
|
489
|
+
(0, common_1.assertParamExists)("getVaultStrategy", "vaultId", vaultId);
|
|
484
490
|
const localVarPath = `/api/v1/vaults/strategy/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
|
|
485
491
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
486
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
492
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
487
493
|
let baseOptions;
|
|
488
494
|
if (configuration) {
|
|
489
495
|
baseOptions = configuration.baseOptions;
|
|
@@ -491,7 +497,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
491
497
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
492
498
|
const localVarHeaderParameter = {};
|
|
493
499
|
const localVarQueryParameter = {};
|
|
494
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
500
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
495
501
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
496
502
|
localVarRequestOptions.headers = {
|
|
497
503
|
...localVarHeaderParameter,
|
|
@@ -499,7 +505,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
499
505
|
...options.headers
|
|
500
506
|
};
|
|
501
507
|
return {
|
|
502
|
-
url: toPathString(localVarUrlObj),
|
|
508
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
503
509
|
options: localVarRequestOptions
|
|
504
510
|
};
|
|
505
511
|
},
|
|
@@ -514,10 +520,10 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
514
520
|
*/
|
|
515
521
|
getVaultTvlHistory: async (vaultId, limit, interval, options = {}) => {
|
|
516
522
|
// verify required parameter 'vaultId' is not null or undefined
|
|
517
|
-
assertParamExists("getVaultTvlHistory", "vaultId", vaultId);
|
|
523
|
+
(0, common_1.assertParamExists)("getVaultTvlHistory", "vaultId", vaultId);
|
|
518
524
|
const localVarPath = `/api/v1/vaults/tvl-history/{vaultId}`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
|
|
519
525
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
520
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
526
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
521
527
|
let baseOptions;
|
|
522
528
|
if (configuration) {
|
|
523
529
|
baseOptions = configuration.baseOptions;
|
|
@@ -531,7 +537,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
531
537
|
if (interval !== undefined) {
|
|
532
538
|
localVarQueryParameter["interval"] = interval;
|
|
533
539
|
}
|
|
534
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
540
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
535
541
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
536
542
|
localVarRequestOptions.headers = {
|
|
537
543
|
...localVarHeaderParameter,
|
|
@@ -539,7 +545,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
539
545
|
...options.headers
|
|
540
546
|
};
|
|
541
547
|
return {
|
|
542
|
-
url: toPathString(localVarUrlObj),
|
|
548
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
543
549
|
options: localVarRequestOptions
|
|
544
550
|
};
|
|
545
551
|
},
|
|
@@ -555,7 +561,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
555
561
|
getVaults: async (vaultId, receiptCoinSymbol, includeHidden, options = {}) => {
|
|
556
562
|
const localVarPath = `/api/v1/vaults`;
|
|
557
563
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
558
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
564
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
559
565
|
let baseOptions;
|
|
560
566
|
if (configuration) {
|
|
561
567
|
baseOptions = configuration.baseOptions;
|
|
@@ -572,7 +578,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
572
578
|
if (includeHidden !== undefined) {
|
|
573
579
|
localVarQueryParameter["includeHidden"] = includeHidden;
|
|
574
580
|
}
|
|
575
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
581
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
576
582
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
577
583
|
localVarRequestOptions.headers = {
|
|
578
584
|
...localVarHeaderParameter,
|
|
@@ -580,7 +586,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
580
586
|
...options.headers
|
|
581
587
|
};
|
|
582
588
|
return {
|
|
583
|
-
url: toPathString(localVarUrlObj),
|
|
589
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
584
590
|
options: localVarRequestOptions
|
|
585
591
|
};
|
|
586
592
|
},
|
|
@@ -593,7 +599,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
593
599
|
getVaultsProtocolInfo: async (options = {}) => {
|
|
594
600
|
const localVarPath = `/api/v1/vaults/info`;
|
|
595
601
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
596
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
602
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
597
603
|
let baseOptions;
|
|
598
604
|
if (configuration) {
|
|
599
605
|
baseOptions = configuration.baseOptions;
|
|
@@ -601,7 +607,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
601
607
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
602
608
|
const localVarHeaderParameter = {};
|
|
603
609
|
const localVarQueryParameter = {};
|
|
604
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
610
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
605
611
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
606
612
|
localVarRequestOptions.headers = {
|
|
607
613
|
...localVarHeaderParameter,
|
|
@@ -609,7 +615,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
609
615
|
...options.headers
|
|
610
616
|
};
|
|
611
617
|
return {
|
|
612
|
-
url: toPathString(localVarUrlObj),
|
|
618
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
613
619
|
options: localVarRequestOptions
|
|
614
620
|
};
|
|
615
621
|
},
|
|
@@ -622,7 +628,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
622
628
|
getVaultsStats: async (options = {}) => {
|
|
623
629
|
const localVarPath = `/api/v1/vaults/stats`;
|
|
624
630
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
625
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
631
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
626
632
|
let baseOptions;
|
|
627
633
|
if (configuration) {
|
|
628
634
|
baseOptions = configuration.baseOptions;
|
|
@@ -630,7 +636,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
630
636
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
631
637
|
const localVarHeaderParameter = {};
|
|
632
638
|
const localVarQueryParameter = {};
|
|
633
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
639
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
634
640
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
635
641
|
localVarRequestOptions.headers = {
|
|
636
642
|
...localVarHeaderParameter,
|
|
@@ -638,7 +644,7 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
638
644
|
...options.headers
|
|
639
645
|
};
|
|
640
646
|
return {
|
|
641
|
-
url: toPathString(localVarUrlObj),
|
|
647
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
642
648
|
options: localVarRequestOptions
|
|
643
649
|
};
|
|
644
650
|
},
|
|
@@ -651,10 +657,10 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
651
657
|
*/
|
|
652
658
|
updateVaultStrategy: async (updateVaultStrategies, options = {}) => {
|
|
653
659
|
// verify required parameter 'updateVaultStrategies' is not null or undefined
|
|
654
|
-
assertParamExists("updateVaultStrategy", "updateVaultStrategies", updateVaultStrategies);
|
|
660
|
+
(0, common_1.assertParamExists)("updateVaultStrategy", "updateVaultStrategies", updateVaultStrategies);
|
|
655
661
|
const localVarPath = `/api/v1/vaults/strategy`;
|
|
656
662
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
657
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
663
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
658
664
|
let baseOptions;
|
|
659
665
|
if (configuration) {
|
|
660
666
|
baseOptions = configuration.baseOptions;
|
|
@@ -663,27 +669,28 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
663
669
|
const localVarHeaderParameter = {};
|
|
664
670
|
const localVarQueryParameter = {};
|
|
665
671
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
666
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
672
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
667
673
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
668
674
|
localVarRequestOptions.headers = {
|
|
669
675
|
...localVarHeaderParameter,
|
|
670
676
|
...headersFromBaseOptions,
|
|
671
677
|
...options.headers
|
|
672
678
|
};
|
|
673
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateVaultStrategies, localVarRequestOptions, configuration);
|
|
679
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateVaultStrategies, localVarRequestOptions, configuration);
|
|
674
680
|
return {
|
|
675
|
-
url: toPathString(localVarUrlObj),
|
|
681
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
676
682
|
options: localVarRequestOptions
|
|
677
683
|
};
|
|
678
684
|
}
|
|
679
685
|
};
|
|
680
686
|
};
|
|
687
|
+
exports.VaultsApiAxiosParamCreator = VaultsApiAxiosParamCreator;
|
|
681
688
|
/**
|
|
682
689
|
* VaultsApi - functional programming interface
|
|
683
690
|
* @export
|
|
684
691
|
*/
|
|
685
|
-
|
|
686
|
-
const localVarAxiosParamCreator = VaultsApiAxiosParamCreator(configuration);
|
|
692
|
+
const VaultsApiFp = function (configuration) {
|
|
693
|
+
const localVarAxiosParamCreator = (0, exports.VaultsApiAxiosParamCreator)(configuration);
|
|
687
694
|
return {
|
|
688
695
|
/**
|
|
689
696
|
*
|
|
@@ -694,9 +701,9 @@ export const VaultsApiFp = function (configuration) {
|
|
|
694
701
|
async getAllTags(options) {
|
|
695
702
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllTags(options);
|
|
696
703
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
697
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getAllTags"]?.[localVarOperationServerIndex]
|
|
704
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getAllTags"]?.[localVarOperationServerIndex]
|
|
698
705
|
?.url;
|
|
699
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
706
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
700
707
|
},
|
|
701
708
|
/**
|
|
702
709
|
*
|
|
@@ -708,8 +715,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
708
715
|
async getCoinsPrice(coinTypes, options) {
|
|
709
716
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCoinsPrice(coinTypes, options);
|
|
710
717
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
711
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getCoinsPrice"]?.[localVarOperationServerIndex]?.url;
|
|
712
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
718
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getCoinsPrice"]?.[localVarOperationServerIndex]?.url;
|
|
719
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
713
720
|
},
|
|
714
721
|
/**
|
|
715
722
|
*
|
|
@@ -722,9 +729,9 @@ export const VaultsApiFp = function (configuration) {
|
|
|
722
729
|
async getFees(startTimestampInMs, endTimestampInMs, options) {
|
|
723
730
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFees(startTimestampInMs, endTimestampInMs, options);
|
|
724
731
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
725
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getFees"]?.[localVarOperationServerIndex]
|
|
732
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getFees"]?.[localVarOperationServerIndex]
|
|
726
733
|
?.url;
|
|
727
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
734
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
728
735
|
},
|
|
729
736
|
/**
|
|
730
737
|
*
|
|
@@ -737,8 +744,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
737
744
|
async getProtocolPnlHistory(limit, interval, options) {
|
|
738
745
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProtocolPnlHistory(limit, interval, options);
|
|
739
746
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
740
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getProtocolPnlHistory"]?.[localVarOperationServerIndex]?.url;
|
|
741
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
747
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getProtocolPnlHistory"]?.[localVarOperationServerIndex]?.url;
|
|
748
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
742
749
|
},
|
|
743
750
|
/**
|
|
744
751
|
*
|
|
@@ -751,8 +758,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
751
758
|
async getProtocolTvlHistory(limit, interval, options) {
|
|
752
759
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProtocolTvlHistory(limit, interval, options);
|
|
753
760
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
754
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getProtocolTvlHistory"]?.[localVarOperationServerIndex]?.url;
|
|
755
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
761
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getProtocolTvlHistory"]?.[localVarOperationServerIndex]?.url;
|
|
762
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
756
763
|
},
|
|
757
764
|
/**
|
|
758
765
|
*
|
|
@@ -767,8 +774,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
767
774
|
async getRawEvents(startTimeInMs, endTimeInMs, limit, page, options) {
|
|
768
775
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getRawEvents(startTimeInMs, endTimeInMs, limit, page, options);
|
|
769
776
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
770
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getRawEvents"]?.[localVarOperationServerIndex]?.url;
|
|
771
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
777
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getRawEvents"]?.[localVarOperationServerIndex]?.url;
|
|
778
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
772
779
|
},
|
|
773
780
|
/**
|
|
774
781
|
*
|
|
@@ -782,8 +789,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
782
789
|
async getVaultApyHistory(vaultId, limit, interval, options) {
|
|
783
790
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultApyHistory(vaultId, limit, interval, options);
|
|
784
791
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
785
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaultApyHistory"]?.[localVarOperationServerIndex]?.url;
|
|
786
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
792
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultApyHistory"]?.[localVarOperationServerIndex]?.url;
|
|
793
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
787
794
|
},
|
|
788
795
|
/**
|
|
789
796
|
*
|
|
@@ -797,8 +804,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
797
804
|
async getVaultApyHistoryV2(vaultId, limit, interval, options) {
|
|
798
805
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultApyHistoryV2(vaultId, limit, interval, options);
|
|
799
806
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
800
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaultApyHistoryV2"]?.[localVarOperationServerIndex]?.url;
|
|
801
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
807
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultApyHistoryV2"]?.[localVarOperationServerIndex]?.url;
|
|
808
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
802
809
|
},
|
|
803
810
|
/**
|
|
804
811
|
*
|
|
@@ -810,8 +817,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
810
817
|
async getVaultExposure(vaultId, options) {
|
|
811
818
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultExposure(vaultId, options);
|
|
812
819
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
813
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaultExposure"]?.[localVarOperationServerIndex]?.url;
|
|
814
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
820
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultExposure"]?.[localVarOperationServerIndex]?.url;
|
|
821
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
815
822
|
},
|
|
816
823
|
/**
|
|
817
824
|
*
|
|
@@ -825,8 +832,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
825
832
|
async getVaultPnlHistory(vaultId, limit, interval, options) {
|
|
826
833
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultPnlHistory(vaultId, limit, interval, options);
|
|
827
834
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
828
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaultPnlHistory"]?.[localVarOperationServerIndex]?.url;
|
|
829
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
835
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultPnlHistory"]?.[localVarOperationServerIndex]?.url;
|
|
836
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
830
837
|
},
|
|
831
838
|
/**
|
|
832
839
|
*
|
|
@@ -838,8 +845,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
838
845
|
async getVaultProofOfCapital(vaultId, options) {
|
|
839
846
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultProofOfCapital(vaultId, options);
|
|
840
847
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
841
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaultProofOfCapital"]?.[localVarOperationServerIndex]?.url;
|
|
842
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
848
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultProofOfCapital"]?.[localVarOperationServerIndex]?.url;
|
|
849
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
843
850
|
},
|
|
844
851
|
/**
|
|
845
852
|
*
|
|
@@ -853,8 +860,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
853
860
|
async getVaultSharePriceHistory(vaultId, limit, interval, options) {
|
|
854
861
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultSharePriceHistory(vaultId, limit, interval, options);
|
|
855
862
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
856
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaultSharePriceHistory"]?.[localVarOperationServerIndex]?.url;
|
|
857
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
863
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultSharePriceHistory"]?.[localVarOperationServerIndex]?.url;
|
|
864
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
858
865
|
},
|
|
859
866
|
/**
|
|
860
867
|
*
|
|
@@ -866,8 +873,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
866
873
|
async getVaultStrategy(vaultId, options) {
|
|
867
874
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultStrategy(vaultId, options);
|
|
868
875
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
869
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaultStrategy"]?.[localVarOperationServerIndex]?.url;
|
|
870
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
876
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultStrategy"]?.[localVarOperationServerIndex]?.url;
|
|
877
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
871
878
|
},
|
|
872
879
|
/**
|
|
873
880
|
*
|
|
@@ -881,8 +888,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
881
888
|
async getVaultTvlHistory(vaultId, limit, interval, options) {
|
|
882
889
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultTvlHistory(vaultId, limit, interval, options);
|
|
883
890
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
884
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaultTvlHistory"]?.[localVarOperationServerIndex]?.url;
|
|
885
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
891
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultTvlHistory"]?.[localVarOperationServerIndex]?.url;
|
|
892
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
886
893
|
},
|
|
887
894
|
/**
|
|
888
895
|
*
|
|
@@ -896,9 +903,9 @@ export const VaultsApiFp = function (configuration) {
|
|
|
896
903
|
async getVaults(vaultId, receiptCoinSymbol, includeHidden, options) {
|
|
897
904
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getVaults(vaultId, receiptCoinSymbol, includeHidden, options);
|
|
898
905
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
899
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaults"]?.[localVarOperationServerIndex]
|
|
906
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaults"]?.[localVarOperationServerIndex]
|
|
900
907
|
?.url;
|
|
901
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
908
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
902
909
|
},
|
|
903
910
|
/**
|
|
904
911
|
*
|
|
@@ -909,8 +916,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
909
916
|
async getVaultsProtocolInfo(options) {
|
|
910
917
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultsProtocolInfo(options);
|
|
911
918
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
912
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaultsProtocolInfo"]?.[localVarOperationServerIndex]?.url;
|
|
913
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
919
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultsProtocolInfo"]?.[localVarOperationServerIndex]?.url;
|
|
920
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
914
921
|
},
|
|
915
922
|
/**
|
|
916
923
|
*
|
|
@@ -921,8 +928,8 @@ export const VaultsApiFp = function (configuration) {
|
|
|
921
928
|
async getVaultsStats(options) {
|
|
922
929
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultsStats(options);
|
|
923
930
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
924
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaultsStats"]?.[localVarOperationServerIndex]?.url;
|
|
925
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
931
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getVaultsStats"]?.[localVarOperationServerIndex]?.url;
|
|
932
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
926
933
|
},
|
|
927
934
|
/**
|
|
928
935
|
*
|
|
@@ -934,17 +941,18 @@ export const VaultsApiFp = function (configuration) {
|
|
|
934
941
|
async updateVaultStrategy(updateVaultStrategies, options) {
|
|
935
942
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateVaultStrategy(updateVaultStrategies, options);
|
|
936
943
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
937
|
-
const localVarOperationServerBasePath = operationServerMap["VaultsApi.updateVaultStrategy"]?.[localVarOperationServerIndex]?.url;
|
|
938
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
944
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.updateVaultStrategy"]?.[localVarOperationServerIndex]?.url;
|
|
945
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
939
946
|
}
|
|
940
947
|
};
|
|
941
948
|
};
|
|
949
|
+
exports.VaultsApiFp = VaultsApiFp;
|
|
942
950
|
/**
|
|
943
951
|
* VaultsApi - factory interface
|
|
944
952
|
* @export
|
|
945
953
|
*/
|
|
946
|
-
|
|
947
|
-
const localVarFp = VaultsApiFp(configuration);
|
|
954
|
+
const VaultsApiFactory = function (configuration, basePath, axios) {
|
|
955
|
+
const localVarFp = (0, exports.VaultsApiFp)(configuration);
|
|
948
956
|
return {
|
|
949
957
|
/**
|
|
950
958
|
*
|
|
@@ -1179,13 +1187,14 @@ export const VaultsApiFactory = function (configuration, basePath, axios) {
|
|
|
1179
1187
|
}
|
|
1180
1188
|
};
|
|
1181
1189
|
};
|
|
1190
|
+
exports.VaultsApiFactory = VaultsApiFactory;
|
|
1182
1191
|
/**
|
|
1183
1192
|
* VaultsApi - object-oriented interface
|
|
1184
1193
|
* @export
|
|
1185
1194
|
* @class VaultsApi
|
|
1186
1195
|
* @extends {BaseAPI}
|
|
1187
1196
|
*/
|
|
1188
|
-
|
|
1197
|
+
class VaultsApi extends base_1.BaseAPI {
|
|
1189
1198
|
/**
|
|
1190
1199
|
*
|
|
1191
1200
|
* @summary Get all tags
|
|
@@ -1194,7 +1203,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1194
1203
|
* @memberof VaultsApi
|
|
1195
1204
|
*/
|
|
1196
1205
|
getAllTags(options) {
|
|
1197
|
-
return VaultsApiFp(this.configuration)
|
|
1206
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1198
1207
|
.getAllTags(options)
|
|
1199
1208
|
.then(request => request(this.axios, this.basePath));
|
|
1200
1209
|
}
|
|
@@ -1207,7 +1216,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1207
1216
|
* @memberof VaultsApi
|
|
1208
1217
|
*/
|
|
1209
1218
|
getCoinsPrice(coinTypes, options) {
|
|
1210
|
-
return VaultsApiFp(this.configuration)
|
|
1219
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1211
1220
|
.getCoinsPrice(coinTypes, options)
|
|
1212
1221
|
.then(request => request(this.axios, this.basePath));
|
|
1213
1222
|
}
|
|
@@ -1221,7 +1230,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1221
1230
|
* @memberof VaultsApi
|
|
1222
1231
|
*/
|
|
1223
1232
|
getFees(startTimestampInMs, endTimestampInMs, options) {
|
|
1224
|
-
return VaultsApiFp(this.configuration)
|
|
1233
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1225
1234
|
.getFees(startTimestampInMs, endTimestampInMs, options)
|
|
1226
1235
|
.then(request => request(this.axios, this.basePath));
|
|
1227
1236
|
}
|
|
@@ -1235,7 +1244,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1235
1244
|
* @memberof VaultsApi
|
|
1236
1245
|
*/
|
|
1237
1246
|
getProtocolPnlHistory(limit, interval, options) {
|
|
1238
|
-
return VaultsApiFp(this.configuration)
|
|
1247
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1239
1248
|
.getProtocolPnlHistory(limit, interval, options)
|
|
1240
1249
|
.then(request => request(this.axios, this.basePath));
|
|
1241
1250
|
}
|
|
@@ -1249,7 +1258,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1249
1258
|
* @memberof VaultsApi
|
|
1250
1259
|
*/
|
|
1251
1260
|
getProtocolTvlHistory(limit, interval, options) {
|
|
1252
|
-
return VaultsApiFp(this.configuration)
|
|
1261
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1253
1262
|
.getProtocolTvlHistory(limit, interval, options)
|
|
1254
1263
|
.then(request => request(this.axios, this.basePath));
|
|
1255
1264
|
}
|
|
@@ -1265,7 +1274,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1265
1274
|
* @memberof VaultsApi
|
|
1266
1275
|
*/
|
|
1267
1276
|
getRawEvents(startTimeInMs, endTimeInMs, limit, page, options) {
|
|
1268
|
-
return VaultsApiFp(this.configuration)
|
|
1277
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1269
1278
|
.getRawEvents(startTimeInMs, endTimeInMs, limit, page, options)
|
|
1270
1279
|
.then(request => request(this.axios, this.basePath));
|
|
1271
1280
|
}
|
|
@@ -1280,7 +1289,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1280
1289
|
* @memberof VaultsApi
|
|
1281
1290
|
*/
|
|
1282
1291
|
getVaultApyHistory(vaultId, limit, interval, options) {
|
|
1283
|
-
return VaultsApiFp(this.configuration)
|
|
1292
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1284
1293
|
.getVaultApyHistory(vaultId, limit, interval, options)
|
|
1285
1294
|
.then(request => request(this.axios, this.basePath));
|
|
1286
1295
|
}
|
|
@@ -1295,7 +1304,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1295
1304
|
* @memberof VaultsApi
|
|
1296
1305
|
*/
|
|
1297
1306
|
getVaultApyHistoryV2(vaultId, limit, interval, options) {
|
|
1298
|
-
return VaultsApiFp(this.configuration)
|
|
1307
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1299
1308
|
.getVaultApyHistoryV2(vaultId, limit, interval, options)
|
|
1300
1309
|
.then(request => request(this.axios, this.basePath));
|
|
1301
1310
|
}
|
|
@@ -1308,7 +1317,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1308
1317
|
* @memberof VaultsApi
|
|
1309
1318
|
*/
|
|
1310
1319
|
getVaultExposure(vaultId, options) {
|
|
1311
|
-
return VaultsApiFp(this.configuration)
|
|
1320
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1312
1321
|
.getVaultExposure(vaultId, options)
|
|
1313
1322
|
.then(request => request(this.axios, this.basePath));
|
|
1314
1323
|
}
|
|
@@ -1323,7 +1332,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1323
1332
|
* @memberof VaultsApi
|
|
1324
1333
|
*/
|
|
1325
1334
|
getVaultPnlHistory(vaultId, limit, interval, options) {
|
|
1326
|
-
return VaultsApiFp(this.configuration)
|
|
1335
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1327
1336
|
.getVaultPnlHistory(vaultId, limit, interval, options)
|
|
1328
1337
|
.then(request => request(this.axios, this.basePath));
|
|
1329
1338
|
}
|
|
@@ -1336,7 +1345,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1336
1345
|
* @memberof VaultsApi
|
|
1337
1346
|
*/
|
|
1338
1347
|
getVaultProofOfCapital(vaultId, options) {
|
|
1339
|
-
return VaultsApiFp(this.configuration)
|
|
1348
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1340
1349
|
.getVaultProofOfCapital(vaultId, options)
|
|
1341
1350
|
.then(request => request(this.axios, this.basePath));
|
|
1342
1351
|
}
|
|
@@ -1351,7 +1360,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1351
1360
|
* @memberof VaultsApi
|
|
1352
1361
|
*/
|
|
1353
1362
|
getVaultSharePriceHistory(vaultId, limit, interval, options) {
|
|
1354
|
-
return VaultsApiFp(this.configuration)
|
|
1363
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1355
1364
|
.getVaultSharePriceHistory(vaultId, limit, interval, options)
|
|
1356
1365
|
.then(request => request(this.axios, this.basePath));
|
|
1357
1366
|
}
|
|
@@ -1364,7 +1373,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1364
1373
|
* @memberof VaultsApi
|
|
1365
1374
|
*/
|
|
1366
1375
|
getVaultStrategy(vaultId, options) {
|
|
1367
|
-
return VaultsApiFp(this.configuration)
|
|
1376
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1368
1377
|
.getVaultStrategy(vaultId, options)
|
|
1369
1378
|
.then(request => request(this.axios, this.basePath));
|
|
1370
1379
|
}
|
|
@@ -1379,7 +1388,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1379
1388
|
* @memberof VaultsApi
|
|
1380
1389
|
*/
|
|
1381
1390
|
getVaultTvlHistory(vaultId, limit, interval, options) {
|
|
1382
|
-
return VaultsApiFp(this.configuration)
|
|
1391
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1383
1392
|
.getVaultTvlHistory(vaultId, limit, interval, options)
|
|
1384
1393
|
.then(request => request(this.axios, this.basePath));
|
|
1385
1394
|
}
|
|
@@ -1394,7 +1403,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1394
1403
|
* @memberof VaultsApi
|
|
1395
1404
|
*/
|
|
1396
1405
|
getVaults(vaultId, receiptCoinSymbol, includeHidden, options) {
|
|
1397
|
-
return VaultsApiFp(this.configuration)
|
|
1406
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1398
1407
|
.getVaults(vaultId, receiptCoinSymbol, includeHidden, options)
|
|
1399
1408
|
.then(request => request(this.axios, this.basePath));
|
|
1400
1409
|
}
|
|
@@ -1406,7 +1415,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1406
1415
|
* @memberof VaultsApi
|
|
1407
1416
|
*/
|
|
1408
1417
|
getVaultsProtocolInfo(options) {
|
|
1409
|
-
return VaultsApiFp(this.configuration)
|
|
1418
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1410
1419
|
.getVaultsProtocolInfo(options)
|
|
1411
1420
|
.then(request => request(this.axios, this.basePath));
|
|
1412
1421
|
}
|
|
@@ -1418,7 +1427,7 @@ export class VaultsApi extends BaseAPI {
|
|
|
1418
1427
|
* @memberof VaultsApi
|
|
1419
1428
|
*/
|
|
1420
1429
|
getVaultsStats(options) {
|
|
1421
|
-
return VaultsApiFp(this.configuration)
|
|
1430
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1422
1431
|
.getVaultsStats(options)
|
|
1423
1432
|
.then(request => request(this.axios, this.basePath));
|
|
1424
1433
|
}
|
|
@@ -1431,8 +1440,9 @@ export class VaultsApi extends BaseAPI {
|
|
|
1431
1440
|
* @memberof VaultsApi
|
|
1432
1441
|
*/
|
|
1433
1442
|
updateVaultStrategy(updateVaultStrategies, options) {
|
|
1434
|
-
return VaultsApiFp(this.configuration)
|
|
1443
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1435
1444
|
.updateVaultStrategy(updateVaultStrategies, options)
|
|
1436
1445
|
.then(request => request(this.axios, this.basePath));
|
|
1437
1446
|
}
|
|
1438
1447
|
}
|
|
1448
|
+
exports.VaultsApi = VaultsApi;
|