@northstake/northstakeapi 1.0.37 → 1.0.39
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/.openapi-generator/FILES +66 -19
- package/.openapi-generator/VERSION +1 -1
- package/api/accountApi.ts +1 -1
- package/api/accountApiKeysApi.ts +1 -1
- package/api/apis.ts +11 -11
- package/api/{validatorMarketplaceSellersApi.ts → lidoReadApi.ts} +105 -91
- package/api/{smartContractsApi.ts → lidoRewardsApi.ts} +185 -56
- package/api/lidoStakingVaultsApi.ts +536 -0
- package/api/lidoWriteApi.ts +2473 -0
- package/api/linkedWalletsApi.ts +93 -1
- package/api/{validatorMarketplaceBuyersApi.ts → organizationApi.ts} +140 -62
- package/api/validatorsApi.ts +27 -110
- package/api.ts +81 -34
- package/dist/api/accountApi.d.ts +1 -1
- package/dist/api/accountApi.js +1 -1
- package/dist/api/accountApiKeysApi.d.ts +1 -1
- package/dist/api/accountApiKeysApi.js +1 -1
- package/dist/api/apis.d.ts +11 -11
- package/dist/api/apis.js +11 -11
- package/dist/api/lidoReadApi.d.ts +138 -0
- package/dist/api/{validatorMarketplaceSellersApi.js → lidoReadApi.js} +82 -82
- package/dist/api/lidoRewardsApi.d.ts +135 -0
- package/dist/api/{smartContractsApi.js → lidoRewardsApi.js} +141 -46
- package/dist/api/lidoStakingVaultsApi.d.ts +108 -0
- package/dist/api/{validatorMarketplaceFacilitatorApi.js → lidoStakingVaultsApi.js} +174 -40
- package/dist/api/lidoWriteApi.d.ts +404 -0
- package/dist/api/lidoWriteApi.js +1931 -0
- package/dist/api/linkedWalletsApi.d.ts +16 -1
- package/dist/api/linkedWalletsApi.js +73 -1
- package/dist/api/organizationApi.d.ts +107 -0
- package/dist/api/{validatorMarketplaceBuyersApi.js → organizationApi.js} +115 -57
- package/dist/api/validatorsApi.d.ts +11 -26
- package/dist/api/validatorsApi.js +25 -87
- package/dist/api.d.ts +71 -24
- package/dist/api.js +76 -29
- package/dist/model/acceptedQuote.d.ts +1 -1
- package/dist/model/acceptedQuote.js +1 -1
- package/dist/model/accountEntity.d.ts +11 -3
- package/dist/model/accountEntity.js +6 -6
- package/dist/model/addLinkedWalletRequest.d.ts +1 -1
- package/dist/model/addLinkedWalletRequest.js +1 -1
- package/dist/model/apiKey.d.ts +4 -4
- package/dist/model/apiKey.js +7 -7
- package/dist/model/approveStETH.d.ts +32 -0
- package/dist/model/approveStETH.js +33 -0
- package/dist/model/approveWstETH.d.ts +36 -0
- package/dist/model/approveWstETH.js +38 -0
- package/dist/model/asset.d.ts +1 -1
- package/dist/model/asset.js +1 -1
- package/dist/model/burnShares.d.ts +32 -0
- package/dist/model/burnShares.js +33 -0
- package/dist/model/burnStETH.d.ts +32 -0
- package/dist/model/burnStETH.js +33 -0
- package/dist/model/burnWstETH.d.ts +32 -0
- package/dist/model/burnWstETH.js +33 -0
- package/dist/model/collectERC20FromVault.d.ts +40 -0
- package/dist/model/collectERC20FromVault.js +43 -0
- package/dist/model/consolidateValidators.d.ts +36 -0
- package/dist/model/consolidateValidators.js +38 -0
- package/dist/model/consolidateValidatorsErrorResponse.d.ts +32 -0
- package/dist/model/consolidateValidatorsErrorResponse.js +33 -0
- package/dist/model/consolidateValidatorsResponse.d.ts +29 -0
- package/dist/model/consolidateValidatorsResponse.js +28 -0
- package/dist/model/createLidoStakingContractsRequest.d.ts +35 -0
- package/dist/model/createLidoStakingContractsRequest.js +36 -0
- package/dist/model/createVaultRequest.d.ts +39 -0
- package/dist/model/createVaultRequest.js +41 -0
- package/dist/model/dailyRewardSummaryStats.d.ts +55 -0
- package/dist/model/dailyRewardSummaryStats.js +61 -0
- package/dist/model/errorResponse.d.ts +1 -1
- package/dist/model/errorResponse.js +1 -1
- package/dist/model/errorWithTransactionResponse.d.ts +30 -0
- package/dist/model/errorWithTransactionResponse.js +36 -0
- package/dist/model/escrowPayment.d.ts +1 -1
- package/dist/model/escrowPayment.js +1 -1
- package/dist/model/escrowReleased.d.ts +1 -1
- package/dist/model/escrowReleased.js +1 -1
- package/dist/model/ethereumValidatorKey.d.ts +1 -1
- package/dist/model/ethereumValidatorKey.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystore.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystore.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCrypto.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCrypto.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoChecksum.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoChecksum.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipher.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipher.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipherParams.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipherParams.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdf.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdf.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdfParams.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdfParams.js +1 -1
- package/dist/model/exitEstimateBase.d.ts +1 -1
- package/dist/model/exitEstimateBase.js +1 -1
- package/dist/model/exitEstimateSeller.d.ts +1 -1
- package/dist/model/exitEstimateSeller.js +1 -1
- package/dist/model/exitProposal.d.ts +1 -1
- package/dist/model/exitProposal.js +1 -1
- package/dist/model/fundVault.d.ts +32 -0
- package/dist/model/fundVault.js +33 -0
- package/dist/model/generateApiKeyRequest.d.ts +1 -1
- package/dist/model/generateApiKeyRequest.js +1 -1
- package/dist/model/getLazyOracleReportCallData200Response.d.ts +28 -0
- package/dist/model/getLazyOracleReportCallData200Response.js +38 -0
- package/dist/model/getLazyOracleReportCallData200ResponseDestructuredCalldata.d.ts +31 -0
- package/dist/model/getLazyOracleReportCallData200ResponseDestructuredCalldata.js +58 -0
- package/dist/model/getLazyOracleReportData200Response.d.ts +27 -0
- package/dist/model/getLazyOracleReportData200Response.js +33 -0
- package/dist/model/getLazyOracleReportData200ResponseReportData.d.ts +27 -0
- package/dist/model/getLazyOracleReportData200ResponseReportData.js +38 -0
- package/dist/model/{getSmartContractTransactions200Response.d.ts → getLidoTransactions200Response.d.ts} +2 -2
- package/dist/model/{getSmartContractTransactions200Response.js → getLidoTransactions200Response.js} +7 -7
- package/dist/model/getQuarantineInfo200Response.d.ts +29 -0
- package/dist/model/getQuarantineInfo200Response.js +48 -0
- package/dist/model/{getMarketplaceMetadata200Response.d.ts → getStETHPerWstETHRate200Response.d.ts} +4 -12
- package/dist/model/getStETHPerWstETHRate200Response.js +28 -0
- package/dist/model/getWithdrawalsResponse.d.ts +1 -1
- package/dist/model/getWithdrawalsResponse.js +1 -1
- package/dist/model/grantRole.d.ts +36 -0
- package/dist/model/grantRole.js +38 -0
- package/dist/model/internalTransaction.d.ts +1 -1
- package/dist/model/internalTransaction.js +1 -1
- package/dist/model/inviteMemberRequest.d.ts +41 -0
- package/dist/model/inviteMemberRequest.js +36 -0
- package/dist/model/lidoContracts.d.ts +39 -0
- package/dist/model/lidoContracts.js +46 -0
- package/dist/model/{minedBlock.d.ts → lidoContractsDashboard.d.ts} +3 -10
- package/dist/model/lidoContractsDashboard.js +28 -0
- package/dist/model/{smartContract.d.ts → lidoContractsStakingVault.d.ts} +5 -13
- package/dist/model/lidoContractsStakingVault.js +28 -0
- package/dist/model/lidoStakingContracts.d.ts +33 -0
- package/dist/model/lidoStakingContracts.js +36 -0
- package/dist/model/lidoStakingContractsWithData.d.ts +39 -0
- package/dist/model/lidoStakingContractsWithData.js +46 -0
- package/dist/model/lidoStakingContractsWithDataVaultData.d.ts +112 -0
- package/dist/model/lidoStakingContractsWithDataVaultData.js +133 -0
- package/dist/model/mintShares.d.ts +36 -0
- package/dist/model/mintShares.js +38 -0
- package/dist/model/mintStETH.d.ts +36 -0
- package/dist/model/mintStETH.js +38 -0
- package/dist/model/mintWstETH.d.ts +36 -0
- package/dist/model/mintWstETH.js +38 -0
- package/dist/model/models.d.ts +61 -14
- package/dist/model/models.js +185 -42
- package/dist/model/organizationMember.d.ts +53 -0
- package/dist/model/organizationMember.js +51 -0
- package/dist/model/organizationNameResponse.d.ts +31 -0
- package/dist/model/organizationNameResponse.js +31 -0
- package/dist/model/partialTransaction.d.ts +31 -0
- package/dist/model/partialTransaction.js +46 -0
- package/dist/model/presignedExitKey.d.ts +1 -1
- package/dist/model/presignedExitKey.js +1 -1
- package/dist/model/presignedExitKeyMessage.d.ts +1 -1
- package/dist/model/presignedExitKeyMessage.js +1 -1
- package/dist/model/quote.d.ts +1 -1
- package/dist/model/quote.js +1 -1
- package/dist/model/rFQBidFacilitator.d.ts +1 -1
- package/dist/model/rFQBidFacilitator.js +1 -1
- package/dist/model/rFQBids.d.ts +1 -1
- package/dist/model/rFQBids.js +1 -1
- package/dist/model/rFQDocumentBase.d.ts +1 -1
- package/dist/model/rFQDocumentBase.js +1 -1
- package/dist/model/rFQDocumentBaseUniqueEscrowVault.d.ts +1 -1
- package/dist/model/rFQDocumentBaseUniqueEscrowVault.js +1 -1
- package/dist/model/rFQDocumentBuyer.d.ts +1 -1
- package/dist/model/rFQDocumentBuyer.js +1 -1
- package/dist/model/rFQDocumentBuyerAllOfValidators.d.ts +1 -1
- package/dist/model/rFQDocumentBuyerAllOfValidators.js +1 -1
- package/dist/model/rFQDocumentBuyerStatusFilter.d.ts +1 -1
- package/dist/model/rFQDocumentBuyerStatusFilter.js +1 -1
- package/dist/model/rFQDocumentFacilitator.d.ts +1 -1
- package/dist/model/rFQDocumentFacilitator.js +1 -1
- package/dist/model/rFQDocumentFacilitatorStatusFilter.d.ts +1 -1
- package/dist/model/rFQDocumentFacilitatorStatusFilter.js +1 -1
- package/dist/model/rFQDocumentFacilitatorValidatorsInner.d.ts +1 -1
- package/dist/model/rFQDocumentFacilitatorValidatorsInner.js +1 -1
- package/dist/model/rFQDocumentSeller.d.ts +1 -1
- package/dist/model/rFQDocumentSeller.js +1 -1
- package/dist/model/rFQDocumentSellerAllOfValidators.d.ts +1 -1
- package/dist/model/rFQDocumentSellerAllOfValidators.js +1 -1
- package/dist/model/rFQDocumentSellerStatusFilter.d.ts +1 -1
- package/dist/model/rFQDocumentSellerStatusFilter.js +1 -1
- package/dist/model/rFQDocumentStatus.d.ts +1 -1
- package/dist/model/rFQDocumentStatus.js +1 -1
- package/dist/model/rFQDocumentUpdate.d.ts +1 -1
- package/dist/model/rFQDocumentUpdate.js +1 -1
- package/dist/model/rFQUpdatePayload.d.ts +1 -1
- package/dist/model/rFQUpdatePayload.js +1 -1
- package/dist/model/rFQWebhookEventType.d.ts +1 -1
- package/dist/model/rFQWebhookEventType.js +1 -1
- package/dist/model/rebalanceVaultWithEther.d.ts +32 -0
- package/dist/model/rebalanceVaultWithEther.js +33 -0
- package/dist/model/rebalanceVaultWithShares.d.ts +32 -0
- package/dist/model/rebalanceVaultWithShares.js +33 -0
- package/dist/model/recoverERC20.d.ts +40 -0
- package/dist/model/recoverERC20.js +43 -0
- package/dist/model/{webhookPayloadData.d.ts → renameVaultRequest.d.ts} +5 -13
- package/dist/model/renameVaultRequest.js +31 -0
- package/dist/model/revokeRole.d.ts +36 -0
- package/dist/model/revokeRole.js +38 -0
- package/dist/model/settlementSteps.d.ts +1 -1
- package/dist/model/settlementSteps.js +1 -1
- package/dist/model/stakeEthRequest.d.ts +31 -0
- package/dist/model/stakeEthRequest.js +31 -0
- package/dist/model/stakeEthResponse.d.ts +32 -0
- package/dist/model/stakeEthResponse.js +43 -0
- package/dist/model/stakeEthResponseDestructuredCallDataInner.d.ts +40 -0
- package/dist/model/stakeEthResponseDestructuredCallDataInner.js +43 -0
- package/dist/model/stakingRequest.d.ts +34 -0
- package/dist/model/stakingRequest.js +38 -0
- package/dist/model/stakingRequestStatus.d.ts +15 -0
- package/dist/model/stakingRequestStatus.js +13 -0
- package/dist/model/transaction.d.ts +14 -2
- package/dist/model/transaction.js +16 -1
- package/dist/model/triggerValidatorWithdrawals.d.ts +40 -0
- package/dist/model/triggerValidatorWithdrawals.js +43 -0
- package/dist/model/unwrapWstETH.d.ts +32 -0
- package/dist/model/unwrapWstETH.js +33 -0
- package/dist/model/{listAllRFQsForFacilitator200Response.d.ts → updateLinkedWalletNameRequest.d.ts} +4 -14
- package/dist/model/updateLinkedWalletNameRequest.js +28 -0
- package/dist/model/updateMemberRoleRequest.d.ts +37 -0
- package/dist/model/updateMemberRoleRequest.js +31 -0
- package/dist/model/updateOrganizationNameRequest.d.ts +31 -0
- package/dist/model/updateOrganizationNameRequest.js +31 -0
- package/dist/model/validateConsolidationRequestsResponse.d.ts +33 -0
- package/dist/model/validateConsolidationRequestsResponse.js +33 -0
- package/dist/model/validateConsolidationRequestsResponseConsolidationDetailsInner.d.ts +48 -0
- package/dist/model/validateConsolidationRequestsResponseConsolidationDetailsInner.js +53 -0
- package/dist/model/validatorDailyReward.d.ts +63 -0
- package/dist/model/validatorDailyReward.js +71 -0
- package/dist/model/validatorInfo.d.ts +14 -11
- package/dist/model/validatorInfo.js +16 -21
- package/dist/model/validatorKeyHolder.d.ts +1 -1
- package/dist/model/validatorKeyHolder.js +1 -1
- package/dist/model/validatorProvider.d.ts +15 -0
- package/dist/model/validatorProvider.js +13 -0
- package/dist/model/validatorRewardRaw.d.ts +73 -0
- package/dist/model/validatorRewardRaw.js +76 -0
- package/dist/model/validatorRewardsDaily.d.ts +50 -0
- package/dist/model/validatorRewardsDaily.js +48 -0
- package/dist/model/{getSmartContractMinedBlocks200Response.d.ts → validatorRewardsDailyResponse.d.ts} +4 -13
- package/dist/model/validatorRewardsDailyResponse.js +43 -0
- package/dist/model/validatorRewardsRaw.d.ts +44 -0
- package/dist/model/validatorRewardsRaw.js +46 -0
- package/dist/model/validatorType.d.ts +1 -1
- package/dist/model/validatorType.js +1 -1
- package/dist/model/validatorWithdrawal.d.ts +7 -7
- package/dist/model/validatorWithdrawal.js +13 -13
- package/dist/model/vaultCreationStartResponse.d.ts +26 -0
- package/dist/model/vaultCreationStartResponse.js +28 -0
- package/dist/model/wallet.d.ts +1 -1
- package/dist/model/wallet.js +1 -1
- package/dist/model/webHookLookupAnswer.d.ts +1 -1
- package/dist/model/webHookLookupAnswer.js +1 -1
- package/dist/model/webhookPayload.d.ts +3 -3
- package/dist/model/webhookPayload.js +2 -2
- package/dist/model/webhookPayloadRFQAvailable.d.ts +1 -1
- package/dist/model/webhookPayloadRFQAvailable.js +1 -1
- package/dist/model/webhookPayloadRFQBidAccepted.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidAccepted.js +1 -1
- package/dist/model/webhookPayloadRFQBidAcceptedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidAcceptedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQBidReceived.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidReceived.js +1 -1
- package/dist/model/webhookPayloadRFQBidReceivedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidReceivedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowEvent.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowEvent.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowEventDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowEventDetails.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleased.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleased.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleasedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleasedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceived.d.ts +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceived.js +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceivedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceivedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorExited.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorExited.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorExitedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorExitedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChangeDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChangeDetails.js +1 -1
- package/dist/model/webhookPayloadRFQWithdrawalClaimable.d.ts +1 -1
- package/dist/model/webhookPayloadRFQWithdrawalClaimable.js +1 -1
- package/dist/model/webhookPayloadRFQWithdrawalClaimableDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQWithdrawalClaimableDetails.js +1 -1
- package/dist/model/webhookRegistration.d.ts +1 -1
- package/dist/model/webhookRegistration.js +1 -1
- package/dist/model/webhookRegistrationDetails.d.ts +1 -1
- package/dist/model/webhookRegistrationDetails.js +1 -1
- package/dist/model/withdrawFromVault.d.ts +36 -0
- package/dist/model/withdrawFromVault.js +38 -0
- package/dist/model/withdrawalClaimable.d.ts +1 -1
- package/dist/model/withdrawalClaimable.js +1 -1
- package/dist/model/withdrawalRecipientSettlement.d.ts +1 -1
- package/dist/model/withdrawalRecipientSettlement.js +1 -1
- package/dist/model/wrapStETH.d.ts +32 -0
- package/dist/model/wrapStETH.js +33 -0
- package/model/acceptedQuote.ts +1 -1
- package/model/accountEntity.ts +24 -8
- package/model/addLinkedWalletRequest.ts +1 -1
- package/model/apiKey.ts +10 -10
- package/model/approveStETH.ts +43 -0
- package/model/approveWstETH.ts +52 -0
- package/model/asset.ts +1 -1
- package/model/burnShares.ts +43 -0
- package/model/burnStETH.ts +43 -0
- package/model/burnWstETH.ts +43 -0
- package/model/collectERC20FromVault.ts +61 -0
- package/model/consolidateValidators.ts +52 -0
- package/model/consolidateValidatorsErrorResponse.ts +43 -0
- package/model/consolidateValidatorsResponse.ts +35 -0
- package/model/createLidoStakingContractsRequest.ts +46 -0
- package/model/createVaultRequest.ts +55 -0
- package/model/dailyRewardSummaryStats.ts +91 -0
- package/model/errorResponse.ts +1 -1
- package/model/errorWithTransactionResponse.ts +41 -0
- package/model/escrowPayment.ts +1 -1
- package/model/escrowReleased.ts +1 -1
- package/model/ethereumValidatorKey.ts +1 -1
- package/model/ethereumValidatorKeyKeystore.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCrypto.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoChecksum.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoCipher.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoCipherParams.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoKdf.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoKdfParams.ts +1 -1
- package/model/exitEstimateBase.ts +1 -1
- package/model/exitEstimateSeller.ts +1 -1
- package/model/exitProposal.ts +1 -1
- package/model/fundVault.ts +43 -0
- package/model/generateApiKeyRequest.ts +1 -1
- package/model/getLazyOracleReportCallData200Response.ts +44 -0
- package/model/getLazyOracleReportCallData200ResponseDestructuredCalldata.ts +67 -0
- package/model/getLazyOracleReportData200Response.ts +38 -0
- package/model/getLazyOracleReportData200ResponseReportData.ts +43 -0
- package/model/{getSmartContractTransactions200Response.ts → getLidoTransactions200Response.ts} +3 -3
- package/model/getQuarantineInfo200Response.ts +55 -0
- package/model/getStETHPerWstETHRate200Response.ts +34 -0
- package/model/getWithdrawalsResponse.ts +1 -1
- package/model/grantRole.ts +52 -0
- package/model/internalTransaction.ts +1 -1
- package/model/inviteMemberRequest.ts +54 -0
- package/model/lidoContracts.ts +60 -0
- package/model/{smartContractDetailedWhitelistedDepositorsInner.ts → lidoContractsDashboard.ts} +6 -15
- package/model/lidoContractsStakingVault.ts +34 -0
- package/model/lidoStakingContracts.ts +44 -0
- package/model/lidoStakingContractsWithData.ts +60 -0
- package/model/lidoStakingContractsWithDataVaultData.ts +223 -0
- package/model/mintShares.ts +52 -0
- package/model/mintStETH.ts +52 -0
- package/model/mintWstETH.ts +52 -0
- package/model/models.ts +285 -46
- package/model/organizationMember.ts +81 -0
- package/model/organizationNameResponse.ts +37 -0
- package/model/partialTransaction.ts +52 -0
- package/model/presignedExitKey.ts +1 -1
- package/model/presignedExitKeyMessage.ts +1 -1
- package/model/quote.ts +1 -1
- package/model/rFQBidFacilitator.ts +1 -1
- package/model/rFQBids.ts +1 -1
- package/model/rFQDocumentBase.ts +1 -1
- package/model/rFQDocumentBaseUniqueEscrowVault.ts +1 -1
- package/model/rFQDocumentBuyer.ts +1 -1
- package/model/rFQDocumentBuyerAllOfValidators.ts +1 -1
- package/model/rFQDocumentBuyerStatusFilter.ts +1 -1
- package/model/rFQDocumentFacilitator.ts +1 -1
- package/model/rFQDocumentFacilitatorStatusFilter.ts +1 -1
- package/model/rFQDocumentFacilitatorValidatorsInner.ts +1 -1
- package/model/rFQDocumentSeller.ts +1 -1
- package/model/rFQDocumentSellerAllOfValidators.ts +1 -1
- package/model/rFQDocumentSellerStatusFilter.ts +1 -1
- package/model/rFQDocumentStatus.ts +1 -1
- package/model/rFQDocumentUpdate.ts +1 -1
- package/model/rFQUpdatePayload.ts +1 -1
- package/model/rFQWebhookEventType.ts +1 -1
- package/model/rebalanceVaultWithEther.ts +43 -0
- package/model/rebalanceVaultWithShares.ts +43 -0
- package/model/recoverERC20.ts +61 -0
- package/model/renameVaultRequest.ts +37 -0
- package/model/revokeRole.ts +52 -0
- package/model/settlementSteps.ts +1 -1
- package/model/stakeEthRequest.ts +37 -0
- package/model/stakeEthResponse.ts +53 -0
- package/model/stakeEthResponseDestructuredCallDataInner.ts +61 -0
- package/model/stakingRequest.ts +50 -0
- package/model/stakingRequestStatus.ts +24 -0
- package/model/transaction.ts +29 -2
- package/model/triggerValidatorWithdrawals.ts +61 -0
- package/model/unwrapWstETH.ts +43 -0
- package/model/updateLinkedWalletNameRequest.ts +34 -0
- package/model/updateMemberRoleRequest.ts +45 -0
- package/model/updateOrganizationNameRequest.ts +37 -0
- package/model/validateConsolidationRequestsResponse.ts +44 -0
- package/model/validateConsolidationRequestsResponseConsolidationDetailsInner.ts +79 -0
- package/model/validatorDailyReward.ts +109 -0
- package/model/validatorInfo.ts +29 -31
- package/model/validatorKeyHolder.ts +1 -1
- package/model/validatorProvider.ts +22 -0
- package/model/validatorRewardRaw.ts +127 -0
- package/model/validatorRewardsDaily.ts +79 -0
- package/model/{getSmartContractMinedBlocks200Response.ts → validatorRewardsDailyResponse.ts} +8 -17
- package/model/{listAllRFQsForFacilitator200Response.ts → validatorRewardsRaw.ts} +18 -12
- package/model/validatorType.ts +1 -1
- package/model/validatorWithdrawal.ts +19 -19
- package/model/vaultCreationStartResponse.ts +32 -0
- package/model/wallet.ts +1 -1
- package/model/webHookLookupAnswer.ts +1 -1
- package/model/webhookPayload.ts +4 -4
- package/model/webhookPayloadRFQAvailable.ts +1 -1
- package/model/webhookPayloadRFQBidAccepted.ts +1 -1
- package/model/webhookPayloadRFQBidAcceptedDetails.ts +1 -1
- package/model/webhookPayloadRFQBidReceived.ts +1 -1
- package/model/webhookPayloadRFQBidReceivedDetails.ts +1 -1
- package/model/webhookPayloadRFQEscrowEvent.ts +1 -1
- package/model/webhookPayloadRFQEscrowEventDetails.ts +1 -1
- package/model/webhookPayloadRFQEscrowReleased.ts +1 -1
- package/model/webhookPayloadRFQEscrowReleasedDetails.ts +1 -1
- package/model/webhookPayloadRFQTransferProposalReceived.ts +1 -1
- package/model/webhookPayloadRFQTransferProposalReceivedDetails.ts +1 -1
- package/model/webhookPayloadRFQValidatorExited.ts +1 -1
- package/model/webhookPayloadRFQValidatorExitedDetails.ts +1 -1
- package/model/webhookPayloadRFQValidatorWithdrawalChange.ts +1 -1
- package/model/webhookPayloadRFQValidatorWithdrawalChangeDetails.ts +1 -1
- package/model/webhookPayloadRFQWithdrawalClaimable.ts +1 -1
- package/model/webhookPayloadRFQWithdrawalClaimableDetails.ts +1 -1
- package/model/webhookRegistration.ts +1 -1
- package/model/webhookRegistrationDetails.ts +1 -1
- package/model/withdrawFromVault.ts +52 -0
- package/model/withdrawalClaimable.ts +1 -1
- package/model/withdrawalRecipientSettlement.ts +1 -1
- package/model/wrapStETH.ts +43 -0
- package/package.json +3 -3
- package/api/validatorMarketplaceFacilitatorApi.ts +0 -360
- package/api/validatorMarketplaceWebhooksApi.ts +0 -351
- package/dist/api/smartContractsApi.d.ts +0 -100
- package/dist/api/validatorMarketplaceBuyersApi.d.ts +0 -95
- package/dist/api/validatorMarketplaceFacilitatorApi.d.ts +0 -80
- package/dist/api/validatorMarketplaceSellersApi.d.ts +0 -122
- package/dist/api/validatorMarketplaceWebhooksApi.d.ts +0 -77
- package/dist/api/validatorMarketplaceWebhooksApi.js +0 -272
- package/dist/model/createRFQRequest.d.ts +0 -26
- package/dist/model/createRFQRequest.js +0 -33
- package/dist/model/getMarketplaceMetadata200Response.js +0 -38
- package/dist/model/getSmartContractMinedBlocks200Response.js +0 -43
- package/dist/model/listAllRFQsForFacilitator200Response.js +0 -43
- package/dist/model/minedBlock.js +0 -48
- package/dist/model/provideEscrowHashForRFQDocumentRequest.d.ts +0 -25
- package/dist/model/provideEscrowHashForRFQDocumentRequest.js +0 -28
- package/dist/model/registerWithdrawalRecipientSettlementRequest.d.ts +0 -25
- package/dist/model/registerWithdrawalRecipientSettlementRequest.js +0 -28
- package/dist/model/smartContract.js +0 -56
- package/dist/model/smartContractDetailed.d.ts +0 -47
- package/dist/model/smartContractDetailed.js +0 -71
- package/dist/model/smartContractDetailedStats.d.ts +0 -72
- package/dist/model/smartContractDetailedStats.js +0 -83
- package/dist/model/smartContractDetailedWhitelistedDepositorsInner.d.ts +0 -27
- package/dist/model/smartContractDetailedWhitelistedDepositorsInner.js +0 -38
- package/dist/model/submittedQuote.d.ts +0 -26
- package/dist/model/submittedQuote.js +0 -33
- package/dist/model/webhookPayloadData.js +0 -41
- package/model/createRFQRequest.ts +0 -37
- package/model/getMarketplaceMetadata200Response.ts +0 -52
- package/model/minedBlock.ts +0 -61
- package/model/provideEscrowHashForRFQDocumentRequest.ts +0 -31
- package/model/registerWithdrawalRecipientSettlementRequest.ts +0 -31
- package/model/smartContract.ts +0 -67
- package/model/smartContractDetailed.ts +0 -93
- package/model/smartContractDetailedStats.ts +0 -133
- package/model/submittedQuote.ts +0 -37
- package/model/webhookPayloadData.ts +0 -56
package/.openapi-generator/FILES
CHANGED
|
@@ -4,21 +4,33 @@ api.ts
|
|
|
4
4
|
api/accountApi.ts
|
|
5
5
|
api/accountApiKeysApi.ts
|
|
6
6
|
api/apis.ts
|
|
7
|
+
api/lidoReadApi.ts
|
|
8
|
+
api/lidoRewardsApi.ts
|
|
9
|
+
api/lidoStakingVaultsApi.ts
|
|
10
|
+
api/lidoWriteApi.ts
|
|
7
11
|
api/linkedWalletsApi.ts
|
|
8
|
-
api/
|
|
9
|
-
api/validatorMarketplaceBuyersApi.ts
|
|
10
|
-
api/validatorMarketplaceFacilitatorApi.ts
|
|
11
|
-
api/validatorMarketplaceSellersApi.ts
|
|
12
|
-
api/validatorMarketplaceWebhooksApi.ts
|
|
12
|
+
api/organizationApi.ts
|
|
13
13
|
api/validatorsApi.ts
|
|
14
14
|
git_push.sh
|
|
15
15
|
model/acceptedQuote.ts
|
|
16
16
|
model/accountEntity.ts
|
|
17
17
|
model/addLinkedWalletRequest.ts
|
|
18
18
|
model/apiKey.ts
|
|
19
|
+
model/approveStETH.ts
|
|
20
|
+
model/approveWstETH.ts
|
|
19
21
|
model/asset.ts
|
|
20
|
-
model/
|
|
22
|
+
model/burnShares.ts
|
|
23
|
+
model/burnStETH.ts
|
|
24
|
+
model/burnWstETH.ts
|
|
25
|
+
model/collectERC20FromVault.ts
|
|
26
|
+
model/consolidateValidators.ts
|
|
27
|
+
model/consolidateValidatorsErrorResponse.ts
|
|
28
|
+
model/consolidateValidatorsResponse.ts
|
|
29
|
+
model/createLidoStakingContractsRequest.ts
|
|
30
|
+
model/createVaultRequest.ts
|
|
31
|
+
model/dailyRewardSummaryStats.ts
|
|
21
32
|
model/errorResponse.ts
|
|
33
|
+
model/errorWithTransactionResponse.ts
|
|
22
34
|
model/escrowPayment.ts
|
|
23
35
|
model/escrowReleased.ts
|
|
24
36
|
model/ethereumValidatorKey.ts
|
|
@@ -32,18 +44,34 @@ model/ethereumValidatorKeyKeystoreCryptoKdfParams.ts
|
|
|
32
44
|
model/exitEstimateBase.ts
|
|
33
45
|
model/exitEstimateSeller.ts
|
|
34
46
|
model/exitProposal.ts
|
|
47
|
+
model/fundVault.ts
|
|
35
48
|
model/generateApiKeyRequest.ts
|
|
36
|
-
model/
|
|
37
|
-
model/
|
|
38
|
-
model/
|
|
49
|
+
model/getLazyOracleReportCallData200Response.ts
|
|
50
|
+
model/getLazyOracleReportCallData200ResponseDestructuredCalldata.ts
|
|
51
|
+
model/getLazyOracleReportData200Response.ts
|
|
52
|
+
model/getLazyOracleReportData200ResponseReportData.ts
|
|
53
|
+
model/getLidoTransactions200Response.ts
|
|
54
|
+
model/getQuarantineInfo200Response.ts
|
|
55
|
+
model/getStETHPerWstETHRate200Response.ts
|
|
39
56
|
model/getWithdrawalsResponse.ts
|
|
57
|
+
model/grantRole.ts
|
|
40
58
|
model/internalTransaction.ts
|
|
41
|
-
model/
|
|
42
|
-
model/
|
|
59
|
+
model/inviteMemberRequest.ts
|
|
60
|
+
model/lidoContracts.ts
|
|
61
|
+
model/lidoContractsDashboard.ts
|
|
62
|
+
model/lidoContractsStakingVault.ts
|
|
63
|
+
model/lidoStakingContracts.ts
|
|
64
|
+
model/lidoStakingContractsWithData.ts
|
|
65
|
+
model/lidoStakingContractsWithDataVaultData.ts
|
|
66
|
+
model/mintShares.ts
|
|
67
|
+
model/mintStETH.ts
|
|
68
|
+
model/mintWstETH.ts
|
|
43
69
|
model/models.ts
|
|
70
|
+
model/organizationMember.ts
|
|
71
|
+
model/organizationNameResponse.ts
|
|
72
|
+
model/partialTransaction.ts
|
|
44
73
|
model/presignedExitKey.ts
|
|
45
74
|
model/presignedExitKeyMessage.ts
|
|
46
|
-
model/provideEscrowHashForRFQDocumentRequest.ts
|
|
47
75
|
model/quote.ts
|
|
48
76
|
model/rFQBidFacilitator.ts
|
|
49
77
|
model/rFQBids.ts
|
|
@@ -62,22 +90,39 @@ model/rFQDocumentStatus.ts
|
|
|
62
90
|
model/rFQDocumentUpdate.ts
|
|
63
91
|
model/rFQUpdatePayload.ts
|
|
64
92
|
model/rFQWebhookEventType.ts
|
|
65
|
-
model/
|
|
93
|
+
model/rebalanceVaultWithEther.ts
|
|
94
|
+
model/rebalanceVaultWithShares.ts
|
|
95
|
+
model/recoverERC20.ts
|
|
96
|
+
model/renameVaultRequest.ts
|
|
97
|
+
model/revokeRole.ts
|
|
66
98
|
model/settlementSteps.ts
|
|
67
|
-
model/
|
|
68
|
-
model/
|
|
69
|
-
model/
|
|
70
|
-
model/
|
|
71
|
-
model/
|
|
99
|
+
model/stakeEthRequest.ts
|
|
100
|
+
model/stakeEthResponse.ts
|
|
101
|
+
model/stakeEthResponseDestructuredCallDataInner.ts
|
|
102
|
+
model/stakingRequest.ts
|
|
103
|
+
model/stakingRequestStatus.ts
|
|
72
104
|
model/transaction.ts
|
|
105
|
+
model/triggerValidatorWithdrawals.ts
|
|
106
|
+
model/unwrapWstETH.ts
|
|
107
|
+
model/updateLinkedWalletNameRequest.ts
|
|
108
|
+
model/updateMemberRoleRequest.ts
|
|
109
|
+
model/updateOrganizationNameRequest.ts
|
|
110
|
+
model/validateConsolidationRequestsResponse.ts
|
|
111
|
+
model/validateConsolidationRequestsResponseConsolidationDetailsInner.ts
|
|
112
|
+
model/validatorDailyReward.ts
|
|
73
113
|
model/validatorInfo.ts
|
|
74
114
|
model/validatorKeyHolder.ts
|
|
115
|
+
model/validatorProvider.ts
|
|
116
|
+
model/validatorRewardRaw.ts
|
|
117
|
+
model/validatorRewardsDaily.ts
|
|
118
|
+
model/validatorRewardsDailyResponse.ts
|
|
119
|
+
model/validatorRewardsRaw.ts
|
|
75
120
|
model/validatorType.ts
|
|
76
121
|
model/validatorWithdrawal.ts
|
|
122
|
+
model/vaultCreationStartResponse.ts
|
|
77
123
|
model/wallet.ts
|
|
78
124
|
model/webHookLookupAnswer.ts
|
|
79
125
|
model/webhookPayload.ts
|
|
80
|
-
model/webhookPayloadData.ts
|
|
81
126
|
model/webhookPayloadRFQAvailable.ts
|
|
82
127
|
model/webhookPayloadRFQBidAccepted.ts
|
|
83
128
|
model/webhookPayloadRFQBidAcceptedDetails.ts
|
|
@@ -97,5 +142,7 @@ model/webhookPayloadRFQWithdrawalClaimable.ts
|
|
|
97
142
|
model/webhookPayloadRFQWithdrawalClaimableDetails.ts
|
|
98
143
|
model/webhookRegistration.ts
|
|
99
144
|
model/webhookRegistrationDetails.ts
|
|
145
|
+
model/withdrawFromVault.ts
|
|
100
146
|
model/withdrawalClaimable.ts
|
|
101
147
|
model/withdrawalRecipientSettlement.ts
|
|
148
|
+
model/wrapStETH.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.21.0-SNAPSHOT
|
package/api/accountApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
package/api/accountApiKeysApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
package/api/apis.ts
CHANGED
|
@@ -2,18 +2,18 @@ export * from './accountApi';
|
|
|
2
2
|
import { AccountApi } from './accountApi';
|
|
3
3
|
export * from './accountApiKeysApi';
|
|
4
4
|
import { AccountApiKeysApi } from './accountApiKeysApi';
|
|
5
|
+
export * from './lidoReadApi';
|
|
6
|
+
import { LidoReadApi } from './lidoReadApi';
|
|
7
|
+
export * from './lidoRewardsApi';
|
|
8
|
+
import { LidoRewardsApi } from './lidoRewardsApi';
|
|
9
|
+
export * from './lidoStakingVaultsApi';
|
|
10
|
+
import { LidoStakingVaultsApi } from './lidoStakingVaultsApi';
|
|
11
|
+
export * from './lidoWriteApi';
|
|
12
|
+
import { LidoWriteApi } from './lidoWriteApi';
|
|
5
13
|
export * from './linkedWalletsApi';
|
|
6
14
|
import { LinkedWalletsApi } from './linkedWalletsApi';
|
|
7
|
-
export * from './
|
|
8
|
-
import {
|
|
9
|
-
export * from './validatorMarketplaceBuyersApi';
|
|
10
|
-
import { ValidatorMarketplaceBuyersApi } from './validatorMarketplaceBuyersApi';
|
|
11
|
-
export * from './validatorMarketplaceFacilitatorApi';
|
|
12
|
-
import { ValidatorMarketplaceFacilitatorApi } from './validatorMarketplaceFacilitatorApi';
|
|
13
|
-
export * from './validatorMarketplaceSellersApi';
|
|
14
|
-
import { ValidatorMarketplaceSellersApi } from './validatorMarketplaceSellersApi';
|
|
15
|
-
export * from './validatorMarketplaceWebhooksApi';
|
|
16
|
-
import { ValidatorMarketplaceWebhooksApi } from './validatorMarketplaceWebhooksApi';
|
|
15
|
+
export * from './organizationApi';
|
|
16
|
+
import { OrganizationApi } from './organizationApi';
|
|
17
17
|
export * from './validatorsApi';
|
|
18
18
|
import { ValidatorsApi } from './validatorsApi';
|
|
19
19
|
import * as http from 'http';
|
|
@@ -27,4 +27,4 @@ export class HttpError extends Error {
|
|
|
27
27
|
|
|
28
28
|
export { RequestFile } from '../model/models';
|
|
29
29
|
|
|
30
|
-
export const APIS = [AccountApi, AccountApiKeysApi,
|
|
30
|
+
export const APIS = [AccountApi, AccountApiKeysApi, LidoReadApi, LidoRewardsApi, LidoStakingVaultsApi, LidoWriteApi, LinkedWalletsApi, OrganizationApi, ValidatorsApi];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -15,11 +15,11 @@ import localVarRequest from 'request';
|
|
|
15
15
|
import http from 'http';
|
|
16
16
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
|
-
import { CreateRFQRequest } from '../model/createRFQRequest';
|
|
19
18
|
import { ErrorResponse } from '../model/errorResponse';
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
19
|
+
import { GetLazyOracleReportData200Response } from '../model/getLazyOracleReportData200Response';
|
|
20
|
+
import { GetLidoTransactions200Response } from '../model/getLidoTransactions200Response';
|
|
21
|
+
import { GetQuarantineInfo200Response } from '../model/getQuarantineInfo200Response';
|
|
22
|
+
import { GetStETHPerWstETHRate200Response } from '../model/getStETHPerWstETHRate200Response';
|
|
23
23
|
|
|
24
24
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
25
25
|
import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../model/models';
|
|
@@ -32,13 +32,27 @@ let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
|
32
32
|
// This file is autogenerated - Please do not edit
|
|
33
33
|
// ===============================================
|
|
34
34
|
|
|
35
|
-
export enum
|
|
35
|
+
export enum LidoReadApiApiKeys {
|
|
36
36
|
ApiKeyAuth,
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
|
|
40
|
+
// If vendorExtensions.x-packageParams is true, use a single object to pass parameters
|
|
41
|
+
export interface LidoReadApiParams {
|
|
42
|
+
contractsId?: string;
|
|
43
|
+
startDate?: Date;
|
|
44
|
+
endDate?: Date;
|
|
45
|
+
page?: number;
|
|
46
|
+
limit?: number;
|
|
47
|
+
}
|
|
48
|
+
// If vendorExtensions.x-packageParams is true, use a single object to pass parameters
|
|
49
|
+
export interface LidoReadApiParams {
|
|
50
|
+
contractsId?: string;
|
|
51
|
+
startDate?: Date;
|
|
52
|
+
endDate?: Date;
|
|
53
|
+
}
|
|
40
54
|
|
|
41
|
-
export class
|
|
55
|
+
export class LidoReadApi {
|
|
42
56
|
protected _basePath = defaultBasePath;
|
|
43
57
|
protected _defaultHeaders : any = {};
|
|
44
58
|
protected _useQuerystring : boolean = false;
|
|
@@ -88,8 +102,8 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
88
102
|
this.authentications.default = auth;
|
|
89
103
|
}
|
|
90
104
|
|
|
91
|
-
public setApiKey(key:
|
|
92
|
-
(this.authentications as any)[
|
|
105
|
+
public setApiKey(key: LidoReadApiApiKeys, value: string) {
|
|
106
|
+
(this.authentications as any)[LidoReadApiApiKeys[key]].apiKey = value;
|
|
93
107
|
}
|
|
94
108
|
|
|
95
109
|
set accessToken(accessToken: string | (() => string)) {
|
|
@@ -102,20 +116,18 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
102
116
|
|
|
103
117
|
/**
|
|
104
118
|
*
|
|
105
|
-
* @summary
|
|
106
|
-
* @param
|
|
107
|
-
* @param quoteId
|
|
119
|
+
* @summary Get all dashboard role members for a specific Lido staking contract set
|
|
120
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
108
121
|
*/
|
|
109
122
|
|
|
110
123
|
|
|
111
124
|
|
|
112
125
|
|
|
113
126
|
|
|
114
|
-
public async
|
|
127
|
+
public async getAllDashboardRoleMembers (contractsId: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ body: { [key: string]: Array<string>; }, status: number }> {
|
|
115
128
|
|
|
116
|
-
const localVarPath = this.basePath + '/
|
|
117
|
-
.replace('{' + '
|
|
118
|
-
.replace('{' + 'quoteId' + '}', encodeURIComponent(String(quoteId)));
|
|
129
|
+
const localVarPath = this.basePath + '/lidov3/{contractsId}/all-dashboard-role-members'
|
|
130
|
+
.replace('{' + 'contractsId' + '}', encodeURIComponent(String(contractsId)));
|
|
119
131
|
|
|
120
132
|
let localVarQueryParameters: any = {};
|
|
121
133
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -128,13 +140,9 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
128
140
|
let localVarFormParams: any = {};
|
|
129
141
|
|
|
130
142
|
|
|
131
|
-
// Verify required parameter '
|
|
132
|
-
if (
|
|
133
|
-
throw new Error('Required parameter "
|
|
134
|
-
}
|
|
135
|
-
// Verify required parameter 'quoteId' is not null or undefined
|
|
136
|
-
if (quoteId === null || quoteId === undefined) {
|
|
137
|
-
throw new Error('Required parameter "quoteId" was null or undefined when calling acceptQuote.');
|
|
143
|
+
// Verify required parameter 'contractsId' is not null or undefined
|
|
144
|
+
if (contractsId === null || contractsId === undefined) {
|
|
145
|
+
throw new Error('Required parameter "contractsId" was null or undefined when calling getAllDashboardRoleMembers.');
|
|
138
146
|
}
|
|
139
147
|
|
|
140
148
|
|
|
@@ -150,7 +158,7 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
150
158
|
|
|
151
159
|
|
|
152
160
|
let localVarRequestOptions: localVarRequest.Options = {
|
|
153
|
-
method: '
|
|
161
|
+
method: 'GET',
|
|
154
162
|
qs: localVarQueryParameters,
|
|
155
163
|
headers: localVarHeaderParams,
|
|
156
164
|
uri: localVarPath,
|
|
@@ -174,13 +182,14 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
174
182
|
localVarRequestOptions.form = localVarFormParams;
|
|
175
183
|
}
|
|
176
184
|
}
|
|
177
|
-
return new Promise<{ body:
|
|
185
|
+
return new Promise<{ body: { [key: string]: Array<string>; }, status: number }>((resolve, reject) => {
|
|
178
186
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
179
187
|
if (error) {
|
|
180
188
|
console.error('API call error:', error);
|
|
181
189
|
reject(error);
|
|
182
190
|
} else {
|
|
183
191
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
192
|
+
body = ObjectSerializer.deserialize(body, "{ [key: string]: Array<string>; }");
|
|
184
193
|
resolve({ body: body, status: response.statusCode });
|
|
185
194
|
} else {
|
|
186
195
|
console.error('API response error:', response.statusCode);
|
|
@@ -193,17 +202,18 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
193
202
|
}
|
|
194
203
|
/**
|
|
195
204
|
*
|
|
196
|
-
* @summary
|
|
197
|
-
* @param
|
|
205
|
+
* @summary Get the vault report data from the lazy oracle for a specific Lido staking contract set
|
|
206
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
198
207
|
*/
|
|
199
208
|
|
|
200
209
|
|
|
201
210
|
|
|
202
211
|
|
|
203
212
|
|
|
204
|
-
public async
|
|
213
|
+
public async getLazyOracleReportData (contractsId: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ body: GetLazyOracleReportData200Response, status: number }> {
|
|
205
214
|
|
|
206
|
-
const localVarPath = this.basePath + '/
|
|
215
|
+
const localVarPath = this.basePath + '/lidov3/{contractsId}/vault-report-data'
|
|
216
|
+
.replace('{' + 'contractsId' + '}', encodeURIComponent(String(contractsId)));
|
|
207
217
|
|
|
208
218
|
let localVarQueryParameters: any = {};
|
|
209
219
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -216,9 +226,9 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
216
226
|
let localVarFormParams: any = {};
|
|
217
227
|
|
|
218
228
|
|
|
219
|
-
// Verify required parameter '
|
|
220
|
-
if (
|
|
221
|
-
throw new Error('Required parameter "
|
|
229
|
+
// Verify required parameter 'contractsId' is not null or undefined
|
|
230
|
+
if (contractsId === null || contractsId === undefined) {
|
|
231
|
+
throw new Error('Required parameter "contractsId" was null or undefined when calling getLazyOracleReportData.');
|
|
222
232
|
}
|
|
223
233
|
|
|
224
234
|
|
|
@@ -234,13 +244,12 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
234
244
|
|
|
235
245
|
|
|
236
246
|
let localVarRequestOptions: localVarRequest.Options = {
|
|
237
|
-
method: '
|
|
247
|
+
method: 'GET',
|
|
238
248
|
qs: localVarQueryParameters,
|
|
239
249
|
headers: localVarHeaderParams,
|
|
240
250
|
uri: localVarPath,
|
|
241
251
|
useQuerystring: this._useQuerystring,
|
|
242
252
|
json: true,
|
|
243
|
-
body: ObjectSerializer.serialize(createRFQRequest, "CreateRFQRequest")
|
|
244
253
|
};
|
|
245
254
|
|
|
246
255
|
let authenticationPromise = Promise.resolve();
|
|
@@ -259,14 +268,14 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
259
268
|
localVarRequestOptions.form = localVarFormParams;
|
|
260
269
|
}
|
|
261
270
|
}
|
|
262
|
-
return new Promise<{ body:
|
|
271
|
+
return new Promise<{ body: GetLazyOracleReportData200Response, status: number }>((resolve, reject) => {
|
|
263
272
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
264
273
|
if (error) {
|
|
265
274
|
console.error('API call error:', error);
|
|
266
275
|
reject(error);
|
|
267
276
|
} else {
|
|
268
277
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
269
|
-
body = ObjectSerializer.deserialize(body, "
|
|
278
|
+
body = ObjectSerializer.deserialize(body, "GetLazyOracleReportData200Response");
|
|
270
279
|
resolve({ body: body, status: response.statusCode });
|
|
271
280
|
} else {
|
|
272
281
|
console.error('API response error:', response.statusCode);
|
|
@@ -278,19 +287,22 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
278
287
|
} )
|
|
279
288
|
}
|
|
280
289
|
/**
|
|
281
|
-
*
|
|
282
|
-
* @summary
|
|
283
|
-
* @param
|
|
290
|
+
* Retrieves transactions for all staking vaults. Optionally filter by a specific contractsId.
|
|
291
|
+
* @summary Get transactions related to Lido staking contract sets
|
|
292
|
+
* @param contractsId Optional filter by the unique identifier of a specific Lido staking contracts set. If not provided, returns transactions for all staking vaults.
|
|
293
|
+
* @param startDate Start date for filtering transactions
|
|
294
|
+
* @param endDate End date for filtering transactions
|
|
295
|
+
* @param page Page number for pagination
|
|
296
|
+
* @param limit Number of transactions per page
|
|
284
297
|
*/
|
|
285
298
|
|
|
286
299
|
|
|
287
300
|
|
|
288
301
|
|
|
289
302
|
|
|
290
|
-
|
|
303
|
+
public async getLidoTransactions(params?: LidoReadApiParams, options: { headers: { [name: string]: string } } = { headers: {} }): Promise<{ body: GetLidoTransactions200Response, status: number }> {
|
|
291
304
|
|
|
292
|
-
const localVarPath = this.basePath + '/
|
|
293
|
-
.replace('{' + 'rfqId' + '}', encodeURIComponent(String(rfqId)));
|
|
305
|
+
const localVarPath = this.basePath + '/lidov3/transactions';
|
|
294
306
|
|
|
295
307
|
let localVarQueryParameters: any = {};
|
|
296
308
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -303,13 +315,24 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
303
315
|
let localVarFormParams: any = {};
|
|
304
316
|
|
|
305
317
|
|
|
306
|
-
// Verify required parameter 'rfqId' is not null or undefined
|
|
307
|
-
if (rfqId === null || rfqId === undefined) {
|
|
308
|
-
throw new Error('Required parameter "rfqId" was null or undefined when calling getRFQ.');
|
|
309
|
-
}
|
|
310
318
|
|
|
311
319
|
|
|
312
320
|
|
|
321
|
+
if (params?.contractsId !== undefined) {
|
|
322
|
+
localVarQueryParameters['contractsId'] = ObjectSerializer.serialize(params?.contractsId, "string");
|
|
323
|
+
}
|
|
324
|
+
if (params?.startDate !== undefined) {
|
|
325
|
+
localVarQueryParameters['start_date'] = ObjectSerializer.serialize(params?.startDate, "Date");
|
|
326
|
+
}
|
|
327
|
+
if (params?.endDate !== undefined) {
|
|
328
|
+
localVarQueryParameters['end_date'] = ObjectSerializer.serialize(params?.endDate, "Date");
|
|
329
|
+
}
|
|
330
|
+
if (params?.page !== undefined) {
|
|
331
|
+
localVarQueryParameters['page'] = ObjectSerializer.serialize(params?.page, "number");
|
|
332
|
+
}
|
|
333
|
+
if (params?.limit !== undefined) {
|
|
334
|
+
localVarQueryParameters['limit'] = ObjectSerializer.serialize(params?.limit, "number");
|
|
335
|
+
}
|
|
313
336
|
|
|
314
337
|
|
|
315
338
|
|
|
@@ -345,14 +368,14 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
345
368
|
localVarRequestOptions.form = localVarFormParams;
|
|
346
369
|
}
|
|
347
370
|
}
|
|
348
|
-
return new Promise<{ body:
|
|
371
|
+
return new Promise<{ body: GetLidoTransactions200Response, status: number }>((resolve, reject) => {
|
|
349
372
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
350
373
|
if (error) {
|
|
351
374
|
console.error('API call error:', error);
|
|
352
375
|
reject(error);
|
|
353
376
|
} else {
|
|
354
377
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
355
|
-
body = ObjectSerializer.deserialize(body, "
|
|
378
|
+
body = ObjectSerializer.deserialize(body, "GetLidoTransactions200Response");
|
|
356
379
|
resolve({ body: body, status: response.statusCode });
|
|
357
380
|
} else {
|
|
358
381
|
console.error('API response error:', response.statusCode);
|
|
@@ -365,17 +388,18 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
365
388
|
}
|
|
366
389
|
/**
|
|
367
390
|
*
|
|
368
|
-
* @summary
|
|
369
|
-
* @param
|
|
391
|
+
* @summary Get the vault report data from the lazy oracle for a specific Lido staking contract set
|
|
392
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
370
393
|
*/
|
|
371
394
|
|
|
372
395
|
|
|
373
396
|
|
|
374
397
|
|
|
375
398
|
|
|
376
|
-
public async
|
|
399
|
+
public async getQuarantineInfo (contractsId: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ body: GetQuarantineInfo200Response, status: number }> {
|
|
377
400
|
|
|
378
|
-
const localVarPath = this.basePath + '/
|
|
401
|
+
const localVarPath = this.basePath + '/lidov3/{contractsId}/quarantine-info'
|
|
402
|
+
.replace('{' + 'contractsId' + '}', encodeURIComponent(String(contractsId)));
|
|
379
403
|
|
|
380
404
|
let localVarQueryParameters: any = {};
|
|
381
405
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -388,12 +412,13 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
388
412
|
let localVarFormParams: any = {};
|
|
389
413
|
|
|
390
414
|
|
|
415
|
+
// Verify required parameter 'contractsId' is not null or undefined
|
|
416
|
+
if (contractsId === null || contractsId === undefined) {
|
|
417
|
+
throw new Error('Required parameter "contractsId" was null or undefined when calling getQuarantineInfo.');
|
|
418
|
+
}
|
|
391
419
|
|
|
392
420
|
|
|
393
421
|
|
|
394
|
-
if (status !== undefined) {
|
|
395
|
-
localVarQueryParameters['status'] = ObjectSerializer.serialize(status, "RFQDocumentSellerStatusFilter");
|
|
396
|
-
}
|
|
397
422
|
|
|
398
423
|
|
|
399
424
|
|
|
@@ -429,14 +454,14 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
429
454
|
localVarRequestOptions.form = localVarFormParams;
|
|
430
455
|
}
|
|
431
456
|
}
|
|
432
|
-
return new Promise<{ body:
|
|
457
|
+
return new Promise<{ body: GetQuarantineInfo200Response, status: number }>((resolve, reject) => {
|
|
433
458
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
434
459
|
if (error) {
|
|
435
460
|
console.error('API call error:', error);
|
|
436
461
|
reject(error);
|
|
437
462
|
} else {
|
|
438
463
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
439
|
-
body = ObjectSerializer.deserialize(body, "
|
|
464
|
+
body = ObjectSerializer.deserialize(body, "GetQuarantineInfo200Response");
|
|
440
465
|
resolve({ body: body, status: response.statusCode });
|
|
441
466
|
} else {
|
|
442
467
|
console.error('API response error:', response.statusCode);
|
|
@@ -449,19 +474,16 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
449
474
|
}
|
|
450
475
|
/**
|
|
451
476
|
*
|
|
452
|
-
* @summary
|
|
453
|
-
* @param rfqId
|
|
454
|
-
* @param registerWithdrawalRecipientSettlementRequest
|
|
477
|
+
* @summary Get the current stETH per wstETH exchange rate
|
|
455
478
|
*/
|
|
456
479
|
|
|
457
480
|
|
|
458
481
|
|
|
459
482
|
|
|
460
483
|
|
|
461
|
-
public async
|
|
484
|
+
public async getStETHPerWstETHRate (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ body: GetStETHPerWstETHRate200Response, status: number }> {
|
|
462
485
|
|
|
463
|
-
const localVarPath = this.basePath + '/
|
|
464
|
-
.replace('{' + 'rfqId' + '}', encodeURIComponent(String(rfqId)));
|
|
486
|
+
const localVarPath = this.basePath + '/lidov3/steth-per-wsteth-rate';
|
|
465
487
|
|
|
466
488
|
let localVarQueryParameters: any = {};
|
|
467
489
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -474,14 +496,6 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
474
496
|
let localVarFormParams: any = {};
|
|
475
497
|
|
|
476
498
|
|
|
477
|
-
// Verify required parameter 'rfqId' is not null or undefined
|
|
478
|
-
if (rfqId === null || rfqId === undefined) {
|
|
479
|
-
throw new Error('Required parameter "rfqId" was null or undefined when calling registerWithdrawalRecipientSettlement.');
|
|
480
|
-
}
|
|
481
|
-
// Verify required parameter 'registerWithdrawalRecipientSettlementRequest' is not null or undefined
|
|
482
|
-
if (registerWithdrawalRecipientSettlementRequest === null || registerWithdrawalRecipientSettlementRequest === undefined) {
|
|
483
|
-
throw new Error('Required parameter "registerWithdrawalRecipientSettlementRequest" was null or undefined when calling registerWithdrawalRecipientSettlement.');
|
|
484
|
-
}
|
|
485
499
|
|
|
486
500
|
|
|
487
501
|
|
|
@@ -496,13 +510,12 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
496
510
|
|
|
497
511
|
|
|
498
512
|
let localVarRequestOptions: localVarRequest.Options = {
|
|
499
|
-
method: '
|
|
513
|
+
method: 'GET',
|
|
500
514
|
qs: localVarQueryParameters,
|
|
501
515
|
headers: localVarHeaderParams,
|
|
502
516
|
uri: localVarPath,
|
|
503
517
|
useQuerystring: this._useQuerystring,
|
|
504
518
|
json: true,
|
|
505
|
-
body: ObjectSerializer.serialize(registerWithdrawalRecipientSettlementRequest, "RegisterWithdrawalRecipientSettlementRequest")
|
|
506
519
|
};
|
|
507
520
|
|
|
508
521
|
let authenticationPromise = Promise.resolve();
|
|
@@ -521,13 +534,14 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
521
534
|
localVarRequestOptions.form = localVarFormParams;
|
|
522
535
|
}
|
|
523
536
|
}
|
|
524
|
-
return new Promise<{ body:
|
|
537
|
+
return new Promise<{ body: GetStETHPerWstETHRate200Response, status: number }>((resolve, reject) => {
|
|
525
538
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
526
539
|
if (error) {
|
|
527
540
|
console.error('API call error:', error);
|
|
528
541
|
reject(error);
|
|
529
542
|
} else {
|
|
530
543
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
544
|
+
body = ObjectSerializer.deserialize(body, "GetStETHPerWstETHRate200Response");
|
|
531
545
|
resolve({ body: body, status: response.statusCode });
|
|
532
546
|
} else {
|
|
533
547
|
console.error('API response error:', response.statusCode);
|
|
@@ -539,21 +553,20 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
539
553
|
} )
|
|
540
554
|
}
|
|
541
555
|
/**
|
|
542
|
-
*
|
|
543
|
-
* @summary
|
|
544
|
-
* @param
|
|
545
|
-
* @param
|
|
556
|
+
* Creates an internal order document for CSV export of transactions. The backend janitor will process this order and send the CSV via email.
|
|
557
|
+
* @summary Request CSV export for transactions
|
|
558
|
+
* @param contractsId Optional filter by the unique identifier of a specific Lido staking contracts set. If not provided, exports transactions for all staking vaults.
|
|
559
|
+
* @param startDate Start date for filtering transactions
|
|
560
|
+
* @param endDate End date for filtering transactions
|
|
546
561
|
*/
|
|
547
562
|
|
|
548
563
|
|
|
549
564
|
|
|
550
565
|
|
|
551
566
|
|
|
552
|
-
|
|
567
|
+
public async requestTransactionsCsvExport(params?: LidoReadApiParams, options: { headers: { [name: string]: string } } = { headers: {} }): Promise<{ body: any, status: number }> {
|
|
553
568
|
|
|
554
|
-
const localVarPath = this.basePath + '/
|
|
555
|
-
.replace('{' + 'rfqId' + '}', encodeURIComponent(String(rfqId)))
|
|
556
|
-
.replace('{' + 'quoteId' + '}', encodeURIComponent(String(quoteId)));
|
|
569
|
+
const localVarPath = this.basePath + '/lidov3/transactions/csv-export';
|
|
557
570
|
|
|
558
571
|
let localVarQueryParameters: any = {};
|
|
559
572
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -566,17 +579,18 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
566
579
|
let localVarFormParams: any = {};
|
|
567
580
|
|
|
568
581
|
|
|
569
|
-
// Verify required parameter 'rfqId' is not null or undefined
|
|
570
|
-
if (rfqId === null || rfqId === undefined) {
|
|
571
|
-
throw new Error('Required parameter "rfqId" was null or undefined when calling rejectQuote.');
|
|
572
|
-
}
|
|
573
|
-
// Verify required parameter 'quoteId' is not null or undefined
|
|
574
|
-
if (quoteId === null || quoteId === undefined) {
|
|
575
|
-
throw new Error('Required parameter "quoteId" was null or undefined when calling rejectQuote.');
|
|
576
|
-
}
|
|
577
582
|
|
|
578
583
|
|
|
579
584
|
|
|
585
|
+
if (params?.contractsId !== undefined) {
|
|
586
|
+
localVarQueryParameters['contractsId'] = ObjectSerializer.serialize(params?.contractsId, "string");
|
|
587
|
+
}
|
|
588
|
+
if (params?.startDate !== undefined) {
|
|
589
|
+
localVarQueryParameters['start_date'] = ObjectSerializer.serialize(params?.startDate, "Date");
|
|
590
|
+
}
|
|
591
|
+
if (params?.endDate !== undefined) {
|
|
592
|
+
localVarQueryParameters['end_date'] = ObjectSerializer.serialize(params?.endDate, "Date");
|
|
593
|
+
}
|
|
580
594
|
|
|
581
595
|
|
|
582
596
|
|
|
@@ -588,7 +602,7 @@ export class ValidatorMarketplaceSellersApi {
|
|
|
588
602
|
|
|
589
603
|
|
|
590
604
|
let localVarRequestOptions: localVarRequest.Options = {
|
|
591
|
-
method: '
|
|
605
|
+
method: 'POST',
|
|
592
606
|
qs: localVarQueryParameters,
|
|
593
607
|
headers: localVarHeaderParams,
|
|
594
608
|
uri: localVarPath,
|