@northstake/northstakeapi 1.0.12 → 1.0.14
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 +39 -39
- package/api/accountApi.ts +38 -18
- package/api/apis.ts +17 -17
- package/api/depositAddressesApi.ts +72 -35
- package/api/linkedWalletsApi.ts +105 -51
- package/api/liquidityProviderApi.ts +37 -17
- package/api/{stakingPartnerManagedUsersApi.ts → managedUsersApi.ts} +156 -87
- package/api/{stakingPartnerManagedUsersDepositAddressesApi.ts → managedUsersDepositAddressesApi.ts} +44 -25
- package/api/{stakingPartnerManagedUsersLinkedWalletsApi.ts → managedUsersLinkedWalletsApi.ts} +120 -70
- package/api/{stakingPartnerManagedUsersOrdersApi.ts → managedUsersOrdersApi.ts} +155 -88
- package/api/{stakingPartnerManagedUsersPortfolioApi.ts → managedUsersPortfolioApi.ts} +44 -25
- package/api/{stakingPartnerManagedUsersStatsApi.ts → managedUsersTransactionsApi.ts} +83 -28
- package/api/{stakingPartnerManagedUsersValidatorsApi.ts → managedUsersValidatorsApi.ts} +43 -24
- package/api/ordersApi.ts +141 -69
- package/api/portfolioApi.ts +38 -18
- package/api/{statsApi.ts → transactionsApi.ts} +73 -33
- package/api/validatorMarketplaceBuyersApi.ts +146 -78
- package/api/validatorMarketplaceSellersApi.ts +229 -129
- package/api/validatorMarketplaceWebhooksApi.ts +106 -52
- package/api/validatorsApi.ts +44 -26
- package/api.ts +171 -89
- package/dist/api/accountApi.d.ts +7 -9
- package/dist/api/accountApi.js +3 -2
- package/dist/api/apis.d.ts +17 -17
- package/dist/api/apis.js +17 -17
- package/dist/api/depositAddressesApi.d.ts +11 -13
- package/dist/api/depositAddressesApi.js +9 -7
- package/dist/api/linkedWalletsApi.d.ts +13 -15
- package/dist/api/linkedWalletsApi.js +15 -11
- package/dist/api/liquidityProviderApi.d.ts +8 -10
- package/dist/api/liquidityProviderApi.js +3 -2
- package/dist/api/{stakingPartnerManagedUsersApi.d.ts → managedUsersApi.d.ts} +26 -28
- package/dist/api/{stakingPartnerManagedUsersApi.js → managedUsersApi.js} +49 -45
- package/dist/api/{stakingPartnerManagedUsersDepositAddressesApi.d.ts → managedUsersDepositAddressesApi.d.ts} +12 -14
- package/dist/api/{stakingPartnerManagedUsersDepositAddressesApi.js → managedUsersDepositAddressesApi.js} +16 -15
- package/dist/api/{stakingPartnerManagedUsersLinkedWalletsApi.d.ts → managedUsersLinkedWalletsApi.d.ts} +19 -21
- package/dist/api/{stakingPartnerManagedUsersLinkedWalletsApi.js → managedUsersLinkedWalletsApi.js} +38 -35
- package/dist/api/managedUsersOrdersApi.d.ts +94 -0
- package/dist/api/{stakingPartnerManagedUsersOrdersApi.js → managedUsersOrdersApi.js} +46 -42
- package/dist/api/{stakingPartnerManagedUsersPortfolioApi.d.ts → managedUsersPortfolioApi.d.ts} +11 -13
- package/dist/api/{stakingPartnerManagedUsersPortfolioApi.js → managedUsersPortfolioApi.js} +16 -15
- package/dist/api/managedUsersTransactionsApi.d.ts +68 -0
- package/dist/api/{stakingPartnerManagedUsersStatsApi.js → managedUsersTransactionsApi.js} +43 -18
- package/dist/api/{stakingPartnerManagedUsersValidatorsApi.d.ts → managedUsersValidatorsApi.d.ts} +10 -12
- package/dist/api/{stakingPartnerManagedUsersValidatorsApi.js → managedUsersValidatorsApi.js} +15 -14
- package/dist/api/ordersApi.d.ts +15 -17
- package/dist/api/ordersApi.js +23 -18
- package/dist/api/portfolioApi.d.ts +7 -9
- package/dist/api/portfolioApi.js +3 -2
- package/dist/api/{statsApi.d.ts → transactionsApi.d.ts} +26 -15
- package/dist/api/{statsApi.js → transactionsApi.js} +33 -20
- package/dist/api/validatorMarketplaceBuyersApi.d.ts +17 -19
- package/dist/api/validatorMarketplaceBuyersApi.js +27 -23
- package/dist/api/validatorMarketplaceSellersApi.d.ts +30 -33
- package/dist/api/validatorMarketplaceSellersApi.js +59 -53
- package/dist/api/validatorMarketplaceWebhooksApi.d.ts +15 -17
- package/dist/api/validatorMarketplaceWebhooksApi.js +17 -14
- package/dist/api/validatorsApi.d.ts +10 -12
- package/dist/api/validatorsApi.js +5 -4
- package/dist/api.d.ts +127 -89
- package/dist/api.js +150 -90
- package/dist/model/accountEntity.d.ts +5 -1
- package/dist/model/accountEntity.js +8 -5
- package/dist/model/{addLinkedWalletForManagedUserRequest.d.ts → addLinkedWalletForUserRequest.d.ts} +4 -4
- package/dist/model/{addLinkedWalletForManagedUserRequest.js → addLinkedWalletForUserRequest.js} +7 -7
- package/dist/model/addLinkedWalletRequest.d.ts +2 -2
- package/dist/model/addLinkedWalletRequest.js +1 -1
- package/dist/model/{getAllManagedUsers200Response.d.ts → allManagedUsersResponse.d.ts} +1 -1
- package/dist/model/{getAllManagedUsers200Response.js → allManagedUsersResponse.js} +6 -6
- package/dist/model/{tokenEnum.d.ts → asset.d.ts} +1 -11
- package/dist/model/{validatorKeyHolderEnum.d.ts → asset.js} +2 -4
- package/dist/model/createManagedUserRequest.d.ts +1 -1
- package/dist/model/createManagedUserRequest.js +1 -1
- package/dist/model/{validatorKeyKeystoreCryptoChecksum.d.ts → createRFQRequest.d.ts} +3 -3
- package/dist/model/{createRFQDocumentRequest.js → createRFQRequest.js} +8 -8
- package/dist/model/depositAccount.d.ts +5 -2
- package/dist/model/depositAccount.js +4 -1
- package/dist/model/{getDepositAddressesForManagedUser200Response.d.ts → depositAddressesForUserResponse.d.ts} +1 -1
- package/dist/model/{getDepositAddressesForManagedUser200Response.js → depositAddressesForUserResponse.js} +6 -6
- package/dist/model/errorResponse.d.ts +3 -0
- package/dist/model/errorResponse.js +3 -0
- package/dist/model/{validatorKey.d.ts → ethereumValidatorKey.d.ts} +6 -14
- package/dist/model/{validatorKey.js → ethereumValidatorKey.js} +10 -17
- package/dist/model/ethereumValidatorKeyKeystore.d.ts +31 -0
- package/dist/model/{validatorKeyKeystore.js → ethereumValidatorKeyKeystore.js} +7 -7
- package/dist/model/{baseOrder.d.ts → ethereumValidatorKeyKeystoreCrypto.d.ts} +7 -24
- package/dist/model/{validatorKeyKeystoreCrypto.js → ethereumValidatorKeyKeystoreCrypto.js} +9 -9
- package/dist/model/ethereumValidatorKeyKeystoreCryptoChecksum.d.ts +27 -0
- package/dist/model/{validatorKeyKeystoreCryptoCipher.js → ethereumValidatorKeyKeystoreCryptoChecksum.js} +8 -8
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipher.d.ts +28 -0
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipher.js +38 -0
- package/dist/model/{submitQuoteForRFQDocumentRequest.d.ts → ethereumValidatorKeyKeystoreCryptoCipherParams.d.ts} +2 -2
- package/dist/model/{validatorKeyKeystoreCryptoCipherParams.js → ethereumValidatorKeyKeystoreCryptoCipherParams.js} +6 -6
- package/dist/model/{getTransactionStatistics200ResponseInner.d.ts → ethereumValidatorKeyKeystoreCryptoKdf.d.ts} +5 -7
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdf.js +38 -0
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdfParams.d.ts +29 -0
- package/dist/model/{validatorKeyKeystoreCryptoKdfParams.js → ethereumValidatorKeyKeystoreCryptoKdfParams.js} +6 -6
- package/dist/model/exitEstimateBase.d.ts +1 -1
- package/dist/model/exitEstimateBase.js +1 -1
- package/dist/model/exitEstimateSeller.d.ts +2 -2
- package/dist/model/exitEstimateSeller.js +2 -2
- package/dist/model/getTransactionsResponse.d.ts +38 -0
- package/dist/model/getTransactionsResponse.js +43 -0
- package/dist/model/managedUser.d.ts +4 -1
- package/dist/model/managedUser.js +4 -1
- package/dist/model/models.d.ts +37 -37
- package/dist/model/models.js +106 -127
- package/dist/model/{unstakeOrder.d.ts → order.d.ts} +11 -16
- package/dist/model/{rewardStat.js → order.js} +18 -18
- package/dist/model/orderDocument.d.ts +18 -19
- package/dist/model/orderDocument.js +11 -21
- package/dist/model/{validatorContractTypeEnum.d.ts → orderType.d.ts} +4 -4
- package/dist/model/{rFQDocumentStatusEnum.d.ts → orderType.js} +2 -6
- package/dist/model/portfolioEntity.d.ts +5 -2
- package/dist/model/portfolioEntity.js +4 -1
- package/dist/model/provideEscrowHashForRFQDocumentRequest.d.ts +1 -1
- package/dist/model/provideEscrowHashForRFQDocumentRequest.js +1 -1
- package/dist/model/quote.d.ts +1 -1
- package/dist/model/quote.js +1 -1
- package/dist/model/rFQBids.d.ts +3 -3
- package/dist/model/rFQBids.js +3 -3
- package/dist/model/rFQDocumentBase.d.ts +7 -7
- package/dist/model/rFQDocumentBase.js +6 -6
- package/dist/model/rFQDocumentBaseUniqueEscrowVault.d.ts +1 -1
- package/dist/model/rFQDocumentBaseUniqueEscrowVault.js +1 -1
- package/dist/model/rFQDocumentBuyer.d.ts +7 -7
- package/dist/model/rFQDocumentBuyer.js +6 -6
- package/dist/model/rFQDocumentBuyerAllOfValidators.d.ts +2 -2
- package/dist/model/rFQDocumentBuyerAllOfValidators.js +2 -2
- package/dist/model/rFQDocumentBuyerStatusFilter.d.ts +12 -0
- package/dist/model/rFQDocumentBuyerStatusFilter.js +13 -0
- package/dist/model/rFQDocumentSeller.d.ts +9 -9
- package/dist/model/rFQDocumentSeller.js +8 -8
- package/dist/model/rFQDocumentSellerAllOfValidators.d.ts +2 -2
- package/dist/model/rFQDocumentSellerAllOfValidators.js +2 -2
- package/dist/model/{rFQDocumentBuyerStatusFilterEnum.d.ts → rFQDocumentSellerStatusFilter.d.ts} +1 -8
- package/dist/model/rFQDocumentSellerStatusFilter.js +13 -0
- package/dist/model/rFQDocumentStatus.d.ts +12 -0
- package/dist/model/rFQDocumentStatus.js +13 -0
- package/dist/model/rFQDocumentUpdate.d.ts +5 -5
- package/dist/model/rFQDocumentUpdate.js +5 -5
- package/dist/model/rFQUpdatePayload.d.ts +2 -2
- package/dist/model/rFQWebhookEventType.d.ts +4 -8
- package/dist/model/rFQWebhookEventType.js +0 -10
- package/dist/model/{validatorKeyKeystoreCryptoCipherParams.d.ts → registerWithdrawalRecipientSettlementRequest.d.ts} +2 -2
- package/dist/model/registerWithdrawalRecipientSettlementRequest.js +28 -0
- package/dist/model/settlementStepAcceptedQuote.d.ts +1 -1
- package/dist/model/settlementStepAcceptedQuote.js +1 -1
- package/dist/model/settlementStepEscrowPayment.d.ts +1 -1
- package/dist/model/settlementStepEscrowPayment.js +1 -1
- package/dist/model/settlementStepEscrowReleased.d.ts +2 -2
- package/dist/model/settlementStepEscrowReleased.js +2 -2
- package/dist/model/settlementStepWithdrawalRecipientSettlement.d.ts +1 -1
- package/dist/model/settlementStepWithdrawalRecipientSettlement.js +1 -1
- package/dist/model/settlementSteps.d.ts +4 -4
- package/dist/model/settlementSteps.js +4 -4
- package/dist/model/smartContract.d.ts +36 -0
- package/dist/model/{transactionStat.js → smartContract.js} +25 -22
- package/dist/model/stepStatus.d.ts +1 -5
- package/dist/model/stepStatus.js +0 -10
- package/dist/model/{rejectQuoteForRFQDocumentRequest.d.ts → submittedQuote.d.ts} +2 -2
- package/dist/model/{submitQuoteForRFQDocumentRequest.js → submittedQuote.js} +7 -7
- package/dist/model/{transactionStat.d.ts → transaction.d.ts} +16 -15
- package/dist/model/transaction.js +56 -0
- package/dist/model/transactionEventType.d.ts +15 -0
- package/dist/model/transactionEventType.js +13 -0
- package/dist/model/transactionsforUser.d.ts +38 -0
- package/dist/model/transactionsforUser.js +43 -0
- package/dist/model/unstakeStepType.d.ts +1 -16
- package/dist/model/unstakeStepType.js +0 -21
- package/dist/model/validatorContractType.d.ts +12 -0
- package/dist/model/validatorContractType.js +13 -0
- package/dist/model/validatorInfo.d.ts +20 -18
- package/dist/model/validatorInfo.js +10 -20
- package/dist/model/validatorInfoValidatorType.d.ts +2 -2
- package/dist/model/validatorInfoValidatorType.js +2 -2
- package/dist/model/validatorInfoValidatorTypeContract.d.ts +2 -2
- package/dist/model/validatorInfoValidatorTypeContract.js +2 -2
- package/dist/model/{configSource.d.ts → validatorKeyHolder.d.ts} +1 -4
- package/dist/model/validatorKeyHolder.js +13 -0
- package/dist/model/wallet.d.ts +3 -0
- package/dist/model/wallet.js +3 -0
- package/dist/model/webhookPayload.d.ts +3 -0
- package/dist/model/webhookPayload.js +3 -0
- package/dist/model/webhookPayloadData.d.ts +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/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 +2 -2
- package/dist/model/webhookPayloadRFQEscrowReleasedDetails.js +2 -2
- package/dist/model/webhookPayloadRFQTransferProposalReceived.d.ts +31 -0
- package/dist/model/webhookPayloadRFQTransferProposalReceived.js +38 -0
- package/dist/model/{webhookPayloadRFQValidatorWithdrawalChangeDetails.d.ts → webhookPayloadRFQTransferProposalReceivedDetails.d.ts} +2 -2
- package/dist/model/{webhookPayloadRFQValidatorWithdrawalChangeDetails.js → webhookPayloadRFQTransferProposalReceivedDetails.js} +7 -7
- package/dist/model/webhookPayloadRFQValidatorExited.d.ts +31 -0
- package/dist/model/webhookPayloadRFQValidatorExited.js +38 -0
- package/dist/model/{createRFQDocumentRequest.d.ts → webhookPayloadRFQValidatorExitedDetails.d.ts} +3 -3
- package/dist/model/webhookPayloadRFQValidatorExitedDetails.js +33 -0
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.d.ts +3 -3
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.js +2 -2
- package/dist/model/withdrawalStepType.d.ts +1 -8
- package/dist/model/withdrawalStepType.js +0 -13
- package/model/accountEntity.ts +15 -11
- package/model/{addLinkedWalletForManagedUserRequest.ts → addLinkedWalletForUserRequest.ts} +8 -8
- package/model/addLinkedWalletRequest.ts +6 -6
- package/model/{getAllManagedUsers200Response.ts → allManagedUsersResponse.ts} +7 -7
- package/model/asset.ts +27 -0
- package/model/createManagedUserRequest.ts +3 -3
- package/model/{createRFQDocumentRequest.ts → createRFQRequest.ts} +7 -7
- package/model/depositAccount.ts +8 -5
- package/model/{getDepositAddressesForManagedUser200Response.ts → depositAddressesForUserResponse.ts} +5 -5
- package/model/errorResponse.ts +5 -2
- package/model/{validatorKey.ts → ethereumValidatorKey.ts} +11 -29
- package/model/{validatorKeyKeystore.ts → ethereumValidatorKeyKeystore.ts} +11 -11
- package/model/ethereumValidatorKeyKeystoreCrypto.ts +46 -0
- package/model/{validatorKeyKeystoreCryptoChecksum.ts → ethereumValidatorKeyKeystoreCryptoChecksum.ts} +12 -6
- package/model/{validatorKeyKeystoreCryptoKdf.ts → ethereumValidatorKeyKeystoreCryptoCipher.ts} +14 -8
- package/model/{validatorKeyKeystoreCryptoCipherParams.ts → ethereumValidatorKeyKeystoreCryptoCipherParams.ts} +4 -4
- package/model/{validatorKeyKeystoreCryptoCipher.ts → ethereumValidatorKeyKeystoreCryptoKdf.ts} +9 -9
- package/model/{validatorKeyKeystoreCryptoKdfParams.ts → ethereumValidatorKeyKeystoreCryptoKdfParams.ts} +8 -8
- package/model/exitEstimateBase.ts +4 -4
- package/model/exitEstimateSeller.ts +6 -6
- package/model/getTransactionsResponse.ts +59 -0
- package/model/managedUser.ts +7 -4
- package/model/models.ts +278 -123
- package/model/{withdrawalOrder.ts → order.ts} +18 -27
- package/model/orderDocument.ts +41 -27
- package/model/orderDocumentSteps.ts +3 -3
- package/model/orderType.ts +21 -0
- package/model/orderUpdatePayload.ts +4 -4
- package/model/portfolioEntity.ts +9 -6
- package/model/provideEscrowHashForRFQDocumentRequest.ts +3 -3
- package/model/quote.ts +5 -5
- package/model/rFQBids.ts +8 -8
- package/model/rFQDocumentBase.ts +15 -15
- package/model/rFQDocumentBaseUniqueEscrowVault.ts +3 -3
- package/model/rFQDocumentBuyer.ts +17 -17
- package/model/rFQDocumentBuyerAllOfValidators.ts +6 -6
- package/model/{configSource.ts → rFQDocumentBuyerStatusFilter.ts} +8 -5
- package/model/rFQDocumentSeller.ts +20 -20
- package/model/rFQDocumentSellerAllOfValidators.ts +6 -6
- package/model/{validatorKeyHolderEnum.ts → rFQDocumentSellerStatusFilter.ts} +9 -5
- package/model/rFQDocumentStatus.ts +19 -0
- package/model/rFQDocumentUpdate.ts +11 -11
- package/model/rFQUpdatePayload.ts +6 -6
- package/model/rFQWebhookEventType.ts +13 -9
- package/model/{rejectQuoteForRFQDocumentRequest.ts → registerWithdrawalRecipientSettlementRequest.ts} +6 -6
- package/model/settlementStepAcceptedQuote.ts +5 -5
- package/model/settlementStepEscrowPayment.ts +5 -5
- package/model/settlementStepEscrowReleased.ts +7 -7
- package/model/settlementStepWithdrawalRecipientSettlement.ts +4 -4
- package/model/settlementSteps.ts +9 -9
- package/model/{getTransactionStatistics200ResponseInner.ts → smartContract.ts} +31 -25
- package/model/stakeStep.ts +3 -3
- package/model/stakeStepElement.ts +3 -3
- package/model/stepStatus.ts +5 -6
- package/model/{submitQuoteForRFQDocumentRequest.ts → submittedQuote.ts} +5 -5
- package/model/transaction.ts +80 -0
- package/model/transactionEventType.ts +23 -0
- package/model/transactionsforUser.ts +59 -0
- package/model/unstakeStep.ts +3 -3
- package/model/unstakeStepElement.ts +3 -3
- package/model/unstakeStepType.ts +16 -17
- package/model/validatorContractType.ts +17 -0
- package/model/validatorInfo.ts +34 -27
- package/model/validatorInfoValidatorType.ts +6 -6
- package/model/validatorInfoValidatorTypeContract.ts +6 -6
- package/model/validatorKeyHolder.ts +17 -0
- package/model/wallet.ts +7 -4
- package/model/webHookLookupAnswer.ts +5 -5
- package/model/webhookPayload.ts +7 -4
- package/model/webhookPayloadData.ts +8 -8
- package/model/webhookPayloadRFQAvailable.ts +5 -5
- package/model/webhookPayloadRFQBidAccepted.ts +5 -5
- package/model/webhookPayloadRFQBidAcceptedDetails.ts +5 -5
- package/model/webhookPayloadRFQBidReceived.ts +5 -5
- package/model/webhookPayloadRFQEscrowEvent.ts +5 -5
- package/model/webhookPayloadRFQEscrowEventDetails.ts +5 -5
- package/model/webhookPayloadRFQEscrowReleased.ts +5 -5
- package/model/webhookPayloadRFQEscrowReleasedDetails.ts +7 -7
- package/model/webhookPayloadRFQTransferProposalReceived.ts +47 -0
- package/model/{webhookPayloadRFQValidatorWithdrawalChangeDetails.ts → webhookPayloadRFQTransferProposalReceivedDetails.ts} +6 -6
- package/model/webhookPayloadRFQValidatorExited.ts +47 -0
- package/model/webhookPayloadRFQValidatorExitedDetails.ts +37 -0
- package/model/webhookPayloadRFQValidatorWithdrawalChange.ts +7 -7
- package/model/webhookRegistration.ts +4 -4
- package/model/webhookRegistrationDetails.ts +4 -4
- package/model/withdrawalStep.ts +3 -3
- package/model/withdrawalStepElement.ts +3 -3
- package/model/withdrawalStepType.ts +8 -9
- package/package.json +2 -2
- package/api/northstake.ts +0 -116
- package/dist/api/northstake.d.ts +0 -39
- package/dist/api/northstake.js +0 -82
- package/dist/api/stakingPartnerManagedUsersOrdersApi.d.ts +0 -96
- package/dist/api/stakingPartnerManagedUsersStatsApi.d.ts +0 -53
- package/dist/model/baseOrder.js +0 -51
- package/dist/model/configSource.js +0 -19
- package/dist/model/createNewOrderRequest.d.ts +0 -51
- package/dist/model/createNewOrderRequest.js +0 -56
- package/dist/model/createOrderForManagedUserRequest.d.ts +0 -51
- package/dist/model/createOrderForManagedUserRequest.js +0 -56
- package/dist/model/getTransactionStatistics200ResponseInner.js +0 -53
- package/dist/model/rFQDocumentBuyerStatusFilterEnum.js +0 -23
- package/dist/model/rFQDocumentSellerStatusFilterEnum.d.ts +0 -20
- package/dist/model/rFQDocumentSellerStatusFilterEnum.js +0 -24
- package/dist/model/rFQDocumentStatusEnum.js +0 -21
- package/dist/model/rejectQuoteForRFQDocumentRequest.js +0 -28
- package/dist/model/rewardStat.d.ts +0 -44
- package/dist/model/stakeOrder.d.ts +0 -47
- package/dist/model/stakeOrder.js +0 -51
- package/dist/model/tokenEnum.js +0 -29
- package/dist/model/unstakeOrder.js +0 -51
- package/dist/model/validatorContractTypeEnum.js +0 -19
- package/dist/model/validatorKeyHolderEnum.js +0 -19
- package/dist/model/validatorKeyKeystore.d.ts +0 -31
- package/dist/model/validatorKeyKeystoreCrypto.d.ts +0 -30
- package/dist/model/validatorKeyKeystoreCryptoChecksum.js +0 -33
- package/dist/model/validatorKeyKeystoreCryptoCipher.d.ts +0 -28
- package/dist/model/validatorKeyKeystoreCryptoKdf.d.ts +0 -27
- package/dist/model/validatorKeyKeystoreCryptoKdf.js +0 -33
- package/dist/model/validatorKeyKeystoreCryptoKdfParams.d.ts +0 -29
- package/dist/model/withdrawalOrder.d.ts +0 -51
- package/dist/model/withdrawalOrder.js +0 -56
- package/model/baseOrder.ts +0 -68
- package/model/createNewOrderRequest.ts +0 -80
- package/model/createOrderForManagedUserRequest.ts +0 -80
- package/model/rFQDocumentBuyerStatusFilterEnum.ts +0 -22
- package/model/rFQDocumentSellerStatusFilterEnum.ts +0 -23
- package/model/rFQDocumentStatusEnum.ts +0 -20
- package/model/rewardStat.ts +0 -70
- package/model/stakeOrder.ts +0 -68
- package/model/tokenEnum.ts +0 -28
- package/model/transactionStat.ts +0 -79
- package/model/unstakeOrder.ts +0 -68
- package/model/validatorContractTypeEnum.ts +0 -18
- package/model/validatorKeyKeystoreCrypto.ts +0 -46
package/model/models.ts
CHANGED
|
@@ -1,25 +1,33 @@
|
|
|
1
|
-
import jwt from 'jsonwebtoken';
|
|
2
1
|
import localVarRequest from 'request';
|
|
2
|
+
import * as jwt from 'jsonwebtoken';
|
|
3
|
+
|
|
3
4
|
|
|
4
5
|
export * from './accountEntity';
|
|
5
|
-
export * from './
|
|
6
|
+
export * from './addLinkedWalletForUserRequest';
|
|
6
7
|
export * from './addLinkedWalletRequest';
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './allManagedUsersResponse';
|
|
9
|
+
export * from './asset';
|
|
9
10
|
export * from './createManagedUserRequest';
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './createOrderForManagedUserRequest';
|
|
12
|
-
export * from './createRFQDocumentRequest';
|
|
11
|
+
export * from './createRFQRequest';
|
|
13
12
|
export * from './depositAccount';
|
|
13
|
+
export * from './depositAddressesForUserResponse';
|
|
14
14
|
export * from './errorResponse';
|
|
15
|
+
export * from './ethereumValidatorKey';
|
|
16
|
+
export * from './ethereumValidatorKeyKeystore';
|
|
17
|
+
export * from './ethereumValidatorKeyKeystoreCrypto';
|
|
18
|
+
export * from './ethereumValidatorKeyKeystoreCryptoChecksum';
|
|
19
|
+
export * from './ethereumValidatorKeyKeystoreCryptoCipher';
|
|
20
|
+
export * from './ethereumValidatorKeyKeystoreCryptoCipherParams';
|
|
21
|
+
export * from './ethereumValidatorKeyKeystoreCryptoKdf';
|
|
22
|
+
export * from './ethereumValidatorKeyKeystoreCryptoKdfParams';
|
|
15
23
|
export * from './exitEstimateBase';
|
|
16
24
|
export * from './exitEstimateSeller';
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './getDepositAddressesForManagedUser200Response';
|
|
19
|
-
export * from './getTransactionStatistics200ResponseInner';
|
|
25
|
+
export * from './getTransactionsResponse';
|
|
20
26
|
export * from './managedUser';
|
|
27
|
+
export * from './order';
|
|
21
28
|
export * from './orderDocument';
|
|
22
29
|
export * from './orderDocumentSteps';
|
|
30
|
+
export * from './orderType';
|
|
23
31
|
export * from './orderUpdatePayload';
|
|
24
32
|
export * from './portfolioEntity';
|
|
25
33
|
export * from './provideEscrowHashForRFQDocumentRequest';
|
|
@@ -29,45 +37,36 @@ export * from './rFQDocumentBase';
|
|
|
29
37
|
export * from './rFQDocumentBaseUniqueEscrowVault';
|
|
30
38
|
export * from './rFQDocumentBuyer';
|
|
31
39
|
export * from './rFQDocumentBuyerAllOfValidators';
|
|
32
|
-
export * from './
|
|
40
|
+
export * from './rFQDocumentBuyerStatusFilter';
|
|
33
41
|
export * from './rFQDocumentSeller';
|
|
34
42
|
export * from './rFQDocumentSellerAllOfValidators';
|
|
35
|
-
export * from './
|
|
36
|
-
export * from './
|
|
43
|
+
export * from './rFQDocumentSellerStatusFilter';
|
|
44
|
+
export * from './rFQDocumentStatus';
|
|
37
45
|
export * from './rFQDocumentUpdate';
|
|
38
46
|
export * from './rFQUpdatePayload';
|
|
39
47
|
export * from './rFQWebhookEventType';
|
|
40
|
-
export * from './
|
|
41
|
-
export * from './rewardStat';
|
|
48
|
+
export * from './registerWithdrawalRecipientSettlementRequest';
|
|
42
49
|
export * from './settlementStepAcceptedQuote';
|
|
43
50
|
export * from './settlementStepEscrowPayment';
|
|
44
51
|
export * from './settlementStepEscrowReleased';
|
|
45
52
|
export * from './settlementStepWithdrawalRecipientSettlement';
|
|
46
53
|
export * from './settlementSteps';
|
|
47
|
-
export * from './
|
|
54
|
+
export * from './smartContract';
|
|
48
55
|
export * from './stakeStep';
|
|
49
56
|
export * from './stakeStepElement';
|
|
50
57
|
export * from './stepStatus';
|
|
51
|
-
export * from './
|
|
52
|
-
export * from './
|
|
53
|
-
export * from './
|
|
54
|
-
export * from './
|
|
58
|
+
export * from './submittedQuote';
|
|
59
|
+
export * from './transaction';
|
|
60
|
+
export * from './transactionEventType';
|
|
61
|
+
export * from './transactionsforUser';
|
|
55
62
|
export * from './unstakeStep';
|
|
56
63
|
export * from './unstakeStepElement';
|
|
57
64
|
export * from './unstakeStepType';
|
|
58
|
-
export * from './
|
|
65
|
+
export * from './validatorContractType';
|
|
59
66
|
export * from './validatorInfo';
|
|
60
67
|
export * from './validatorInfoValidatorType';
|
|
61
68
|
export * from './validatorInfoValidatorTypeContract';
|
|
62
|
-
export * from './
|
|
63
|
-
export * from './validatorKeyHolderEnum';
|
|
64
|
-
export * from './validatorKeyKeystore';
|
|
65
|
-
export * from './validatorKeyKeystoreCrypto';
|
|
66
|
-
export * from './validatorKeyKeystoreCryptoChecksum';
|
|
67
|
-
export * from './validatorKeyKeystoreCryptoCipher';
|
|
68
|
-
export * from './validatorKeyKeystoreCryptoCipherParams';
|
|
69
|
-
export * from './validatorKeyKeystoreCryptoKdf';
|
|
70
|
-
export * from './validatorKeyKeystoreCryptoKdfParams';
|
|
69
|
+
export * from './validatorKeyHolder';
|
|
71
70
|
export * from './wallet';
|
|
72
71
|
export * from './webHookLookupAnswer';
|
|
73
72
|
export * from './webhookPayload';
|
|
@@ -80,11 +79,13 @@ export * from './webhookPayloadRFQEscrowEvent';
|
|
|
80
79
|
export * from './webhookPayloadRFQEscrowEventDetails';
|
|
81
80
|
export * from './webhookPayloadRFQEscrowReleased';
|
|
82
81
|
export * from './webhookPayloadRFQEscrowReleasedDetails';
|
|
82
|
+
export * from './webhookPayloadRFQTransferProposalReceived';
|
|
83
|
+
export * from './webhookPayloadRFQTransferProposalReceivedDetails';
|
|
84
|
+
export * from './webhookPayloadRFQValidatorExited';
|
|
85
|
+
export * from './webhookPayloadRFQValidatorExitedDetails';
|
|
83
86
|
export * from './webhookPayloadRFQValidatorWithdrawalChange';
|
|
84
|
-
export * from './webhookPayloadRFQValidatorWithdrawalChangeDetails';
|
|
85
87
|
export * from './webhookRegistration';
|
|
86
88
|
export * from './webhookRegistrationDetails';
|
|
87
|
-
export * from './withdrawalOrder';
|
|
88
89
|
export * from './withdrawalStep';
|
|
89
90
|
export * from './withdrawalStepElement';
|
|
90
91
|
export * from './withdrawalStepType';
|
|
@@ -103,93 +104,267 @@ export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
|
|
|
103
104
|
|
|
104
105
|
|
|
105
106
|
import { AccountEntity } from './accountEntity';
|
|
106
|
-
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
import { AddLinkedWalletForUserRequest } from './addLinkedWalletForUserRequest';
|
|
110
|
+
|
|
111
|
+
|
|
107
112
|
import { AddLinkedWalletRequest } from './addLinkedWalletRequest';
|
|
108
|
-
|
|
109
|
-
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
import { AllManagedUsersResponse } from './allManagedUsersResponse';
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
import { Asset } from './asset';
|
|
119
|
+
|
|
120
|
+
|
|
110
121
|
import { CreateManagedUserRequest } from './createManagedUserRequest';
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
import {
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
import { CreateRFQRequest } from './createRFQRequest';
|
|
125
|
+
|
|
126
|
+
|
|
114
127
|
import { DepositAccount } from './depositAccount';
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
import { DepositAddressesForUserResponse } from './depositAddressesForUserResponse';
|
|
131
|
+
|
|
132
|
+
|
|
115
133
|
import { ErrorResponse } from './errorResponse';
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
import { EthereumValidatorKey } from './ethereumValidatorKey';
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
import { EthereumValidatorKeyKeystore } from './ethereumValidatorKeyKeystore';
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
import { EthereumValidatorKeyKeystoreCrypto } from './ethereumValidatorKeyKeystoreCrypto';
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
import { EthereumValidatorKeyKeystoreCryptoChecksum } from './ethereumValidatorKeyKeystoreCryptoChecksum';
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
import { EthereumValidatorKeyKeystoreCryptoCipher } from './ethereumValidatorKeyKeystoreCryptoCipher';
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
import { EthereumValidatorKeyKeystoreCryptoCipherParams } from './ethereumValidatorKeyKeystoreCryptoCipherParams';
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
import { EthereumValidatorKeyKeystoreCryptoKdf } from './ethereumValidatorKeyKeystoreCryptoKdf';
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
import { EthereumValidatorKeyKeystoreCryptoKdfParams } from './ethereumValidatorKeyKeystoreCryptoKdfParams';
|
|
158
|
+
|
|
159
|
+
|
|
116
160
|
import { ExitEstimateBase } from './exitEstimateBase';
|
|
161
|
+
|
|
162
|
+
|
|
117
163
|
import { ExitEstimateSeller } from './exitEstimateSeller';
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
import {
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
import { GetTransactionsResponse } from './getTransactionsResponse';
|
|
167
|
+
|
|
168
|
+
|
|
121
169
|
import { ManagedUser } from './managedUser';
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
import { Order } from './order';
|
|
173
|
+
|
|
174
|
+
|
|
122
175
|
import { OrderDocument } from './orderDocument';
|
|
176
|
+
|
|
177
|
+
|
|
123
178
|
import { OrderDocumentSteps } from './orderDocumentSteps';
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
import { OrderType } from './orderType';
|
|
182
|
+
|
|
183
|
+
|
|
124
184
|
import { OrderUpdatePayload } from './orderUpdatePayload';
|
|
185
|
+
|
|
186
|
+
|
|
125
187
|
import { PortfolioEntity } from './portfolioEntity';
|
|
188
|
+
|
|
189
|
+
|
|
126
190
|
import { ProvideEscrowHashForRFQDocumentRequest } from './provideEscrowHashForRFQDocumentRequest';
|
|
191
|
+
|
|
192
|
+
|
|
127
193
|
import { Quote } from './quote';
|
|
194
|
+
|
|
195
|
+
|
|
128
196
|
import { RFQBids } from './rFQBids';
|
|
197
|
+
|
|
198
|
+
|
|
129
199
|
import { RFQDocumentBase } from './rFQDocumentBase';
|
|
200
|
+
|
|
201
|
+
|
|
130
202
|
import { RFQDocumentBaseUniqueEscrowVault } from './rFQDocumentBaseUniqueEscrowVault';
|
|
203
|
+
|
|
204
|
+
|
|
131
205
|
import { RFQDocumentBuyer } from './rFQDocumentBuyer';
|
|
206
|
+
|
|
207
|
+
|
|
132
208
|
import { RFQDocumentBuyerAllOfValidators } from './rFQDocumentBuyerAllOfValidators';
|
|
133
|
-
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
import { RFQDocumentBuyerStatusFilter } from './rFQDocumentBuyerStatusFilter';
|
|
212
|
+
|
|
213
|
+
|
|
134
214
|
import { RFQDocumentSeller } from './rFQDocumentSeller';
|
|
215
|
+
|
|
216
|
+
|
|
135
217
|
import { RFQDocumentSellerAllOfValidators } from './rFQDocumentSellerAllOfValidators';
|
|
136
|
-
|
|
137
|
-
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
import { RFQDocumentSellerStatusFilter } from './rFQDocumentSellerStatusFilter';
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
import { RFQDocumentStatus } from './rFQDocumentStatus';
|
|
224
|
+
|
|
225
|
+
|
|
138
226
|
import { RFQDocumentUpdate } from './rFQDocumentUpdate';
|
|
227
|
+
|
|
228
|
+
|
|
139
229
|
import { RFQUpdatePayload } from './rFQUpdatePayload';
|
|
230
|
+
|
|
231
|
+
|
|
140
232
|
import { RFQWebhookEventType } from './rFQWebhookEventType';
|
|
141
|
-
|
|
142
|
-
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
import { RegisterWithdrawalRecipientSettlementRequest } from './registerWithdrawalRecipientSettlementRequest';
|
|
236
|
+
|
|
237
|
+
|
|
143
238
|
import { SettlementStepAcceptedQuote } from './settlementStepAcceptedQuote';
|
|
239
|
+
|
|
240
|
+
|
|
144
241
|
import { SettlementStepEscrowPayment } from './settlementStepEscrowPayment';
|
|
242
|
+
|
|
243
|
+
|
|
145
244
|
import { SettlementStepEscrowReleased } from './settlementStepEscrowReleased';
|
|
245
|
+
|
|
246
|
+
|
|
146
247
|
import { SettlementStepWithdrawalRecipientSettlement } from './settlementStepWithdrawalRecipientSettlement';
|
|
248
|
+
|
|
249
|
+
|
|
147
250
|
import { SettlementSteps } from './settlementSteps';
|
|
148
|
-
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
import { SmartContract } from './smartContract';
|
|
254
|
+
|
|
255
|
+
|
|
149
256
|
import { StakeStep } from './stakeStep';
|
|
257
|
+
|
|
258
|
+
|
|
150
259
|
import { StakeStepElement } from './stakeStepElement';
|
|
260
|
+
|
|
261
|
+
|
|
151
262
|
import { StepStatus } from './stepStatus';
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
import {
|
|
155
|
-
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
import { SubmittedQuote } from './submittedQuote';
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
import { Transaction } from './transaction';
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
import { TransactionEventType } from './transactionEventType';
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
import { TransactionsforUser } from './transactionsforUser';
|
|
275
|
+
|
|
276
|
+
|
|
156
277
|
import { UnstakeStep } from './unstakeStep';
|
|
278
|
+
|
|
279
|
+
|
|
157
280
|
import { UnstakeStepElement } from './unstakeStepElement';
|
|
281
|
+
|
|
282
|
+
|
|
158
283
|
import { UnstakeStepType } from './unstakeStepType';
|
|
159
|
-
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
import { ValidatorContractType } from './validatorContractType';
|
|
287
|
+
|
|
288
|
+
|
|
160
289
|
import { ValidatorInfo } from './validatorInfo';
|
|
290
|
+
|
|
291
|
+
|
|
161
292
|
import { ValidatorInfoValidatorType } from './validatorInfoValidatorType';
|
|
293
|
+
|
|
294
|
+
|
|
162
295
|
import { ValidatorInfoValidatorTypeContract } from './validatorInfoValidatorTypeContract';
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
import {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
import { ValidatorKeyKeystoreCryptoCipher } from './validatorKeyKeystoreCryptoCipher';
|
|
169
|
-
import { ValidatorKeyKeystoreCryptoCipherParams } from './validatorKeyKeystoreCryptoCipherParams';
|
|
170
|
-
import { ValidatorKeyKeystoreCryptoKdf } from './validatorKeyKeystoreCryptoKdf';
|
|
171
|
-
import { ValidatorKeyKeystoreCryptoKdfParams } from './validatorKeyKeystoreCryptoKdfParams';
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
import { ValidatorKeyHolder } from './validatorKeyHolder';
|
|
299
|
+
|
|
300
|
+
|
|
172
301
|
import { Wallet } from './wallet';
|
|
302
|
+
|
|
303
|
+
|
|
173
304
|
import { WebHookLookupAnswer } from './webHookLookupAnswer';
|
|
305
|
+
|
|
306
|
+
|
|
174
307
|
import { WebhookPayload } from './webhookPayload';
|
|
308
|
+
|
|
309
|
+
|
|
175
310
|
import { WebhookPayloadData } from './webhookPayloadData';
|
|
311
|
+
|
|
312
|
+
|
|
176
313
|
import { WebhookPayloadRFQAvailable } from './webhookPayloadRFQAvailable';
|
|
314
|
+
|
|
315
|
+
|
|
177
316
|
import { WebhookPayloadRFQBidAccepted } from './webhookPayloadRFQBidAccepted';
|
|
317
|
+
|
|
318
|
+
|
|
178
319
|
import { WebhookPayloadRFQBidAcceptedDetails } from './webhookPayloadRFQBidAcceptedDetails';
|
|
320
|
+
|
|
321
|
+
|
|
179
322
|
import { WebhookPayloadRFQBidReceived } from './webhookPayloadRFQBidReceived';
|
|
323
|
+
|
|
324
|
+
|
|
180
325
|
import { WebhookPayloadRFQEscrowEvent } from './webhookPayloadRFQEscrowEvent';
|
|
326
|
+
|
|
327
|
+
|
|
181
328
|
import { WebhookPayloadRFQEscrowEventDetails } from './webhookPayloadRFQEscrowEventDetails';
|
|
329
|
+
|
|
330
|
+
|
|
182
331
|
import { WebhookPayloadRFQEscrowReleased } from './webhookPayloadRFQEscrowReleased';
|
|
332
|
+
|
|
333
|
+
|
|
183
334
|
import { WebhookPayloadRFQEscrowReleasedDetails } from './webhookPayloadRFQEscrowReleasedDetails';
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
import { WebhookPayloadRFQTransferProposalReceived } from './webhookPayloadRFQTransferProposalReceived';
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
import { WebhookPayloadRFQTransferProposalReceivedDetails } from './webhookPayloadRFQTransferProposalReceivedDetails';
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
import { WebhookPayloadRFQValidatorExited } from './webhookPayloadRFQValidatorExited';
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
import { WebhookPayloadRFQValidatorExitedDetails } from './webhookPayloadRFQValidatorExitedDetails';
|
|
347
|
+
|
|
348
|
+
|
|
184
349
|
import { WebhookPayloadRFQValidatorWithdrawalChange } from './webhookPayloadRFQValidatorWithdrawalChange';
|
|
185
|
-
|
|
350
|
+
|
|
351
|
+
|
|
186
352
|
import { WebhookRegistration } from './webhookRegistration';
|
|
353
|
+
|
|
354
|
+
|
|
187
355
|
import { WebhookRegistrationDetails } from './webhookRegistrationDetails';
|
|
188
|
-
|
|
356
|
+
|
|
357
|
+
|
|
189
358
|
import { WithdrawalStep } from './withdrawalStep';
|
|
359
|
+
|
|
360
|
+
|
|
190
361
|
import { WithdrawalStepElement } from './withdrawalStepElement';
|
|
362
|
+
|
|
363
|
+
|
|
191
364
|
import { WithdrawalStepType } from './withdrawalStepType';
|
|
192
365
|
|
|
366
|
+
|
|
367
|
+
|
|
193
368
|
/* tslint:disable:no-unused-variable */
|
|
194
369
|
let primitives = [
|
|
195
370
|
"string",
|
|
@@ -201,48 +376,35 @@ let primitives = [
|
|
|
201
376
|
"number",
|
|
202
377
|
"any"
|
|
203
378
|
];
|
|
204
|
-
|
|
205
379
|
let enumsMap: {[index: string]: any} = {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
"OrderDocument.StatusEnum": OrderDocument.StatusEnum,
|
|
212
|
-
"RFQDocumentBuyerStatusFilterEnum": RFQDocumentBuyerStatusFilterEnum,
|
|
213
|
-
"RFQDocumentSellerStatusFilterEnum": RFQDocumentSellerStatusFilterEnum,
|
|
214
|
-
"RFQDocumentStatusEnum": RFQDocumentStatusEnum,
|
|
215
|
-
"RFQWebhookEventType": RFQWebhookEventType,
|
|
216
|
-
"StakeOrder.OrderTypeEnum": StakeOrder.OrderTypeEnum,
|
|
217
|
-
"StepStatus": StepStatus,
|
|
218
|
-
"TokenEnum": TokenEnum,
|
|
219
|
-
"UnstakeOrder.OrderTypeEnum": UnstakeOrder.OrderTypeEnum,
|
|
220
|
-
"UnstakeStepType": UnstakeStepType,
|
|
221
|
-
"ValidatorContractTypeEnum": ValidatorContractTypeEnum,
|
|
222
|
-
"ValidatorInfo.TokenEnum": ValidatorInfo.TokenEnum,
|
|
223
|
-
"ValidatorInfo.StatusEnum": ValidatorInfo.StatusEnum,
|
|
224
|
-
"ValidatorKeyHolderEnum": ValidatorKeyHolderEnum,
|
|
225
|
-
"WithdrawalOrder.OrderTypeEnum": WithdrawalOrder.OrderTypeEnum,
|
|
226
|
-
"WithdrawalStepType": WithdrawalStepType,
|
|
227
|
-
}
|
|
228
|
-
|
|
380
|
+
"OrderDocument.type": OrderDocument,
|
|
381
|
+
"OrderDocument.status": OrderDocument,
|
|
382
|
+
"ValidatorInfo.token": ValidatorInfo,
|
|
383
|
+
"ValidatorInfo.status": ValidatorInfo,
|
|
384
|
+
};
|
|
229
385
|
let typeMap: {[index: string]: any} = {
|
|
230
386
|
"AccountEntity": AccountEntity,
|
|
231
|
-
"
|
|
387
|
+
"AddLinkedWalletForUserRequest": AddLinkedWalletForUserRequest,
|
|
232
388
|
"AddLinkedWalletRequest": AddLinkedWalletRequest,
|
|
233
|
-
"
|
|
389
|
+
"AllManagedUsersResponse": AllManagedUsersResponse,
|
|
234
390
|
"CreateManagedUserRequest": CreateManagedUserRequest,
|
|
235
|
-
"
|
|
236
|
-
"CreateOrderForManagedUserRequest": CreateOrderForManagedUserRequest,
|
|
237
|
-
"CreateRFQDocumentRequest": CreateRFQDocumentRequest,
|
|
391
|
+
"CreateRFQRequest": CreateRFQRequest,
|
|
238
392
|
"DepositAccount": DepositAccount,
|
|
393
|
+
"DepositAddressesForUserResponse": DepositAddressesForUserResponse,
|
|
239
394
|
"ErrorResponse": ErrorResponse,
|
|
395
|
+
"EthereumValidatorKey": EthereumValidatorKey,
|
|
396
|
+
"EthereumValidatorKeyKeystore": EthereumValidatorKeyKeystore,
|
|
397
|
+
"EthereumValidatorKeyKeystoreCrypto": EthereumValidatorKeyKeystoreCrypto,
|
|
398
|
+
"EthereumValidatorKeyKeystoreCryptoChecksum": EthereumValidatorKeyKeystoreCryptoChecksum,
|
|
399
|
+
"EthereumValidatorKeyKeystoreCryptoCipher": EthereumValidatorKeyKeystoreCryptoCipher,
|
|
400
|
+
"EthereumValidatorKeyKeystoreCryptoCipherParams": EthereumValidatorKeyKeystoreCryptoCipherParams,
|
|
401
|
+
"EthereumValidatorKeyKeystoreCryptoKdf": EthereumValidatorKeyKeystoreCryptoKdf,
|
|
402
|
+
"EthereumValidatorKeyKeystoreCryptoKdfParams": EthereumValidatorKeyKeystoreCryptoKdfParams,
|
|
240
403
|
"ExitEstimateBase": ExitEstimateBase,
|
|
241
404
|
"ExitEstimateSeller": ExitEstimateSeller,
|
|
242
|
-
"
|
|
243
|
-
"GetDepositAddressesForManagedUser200Response": GetDepositAddressesForManagedUser200Response,
|
|
244
|
-
"GetTransactionStatistics200ResponseInner": GetTransactionStatistics200ResponseInner,
|
|
405
|
+
"GetTransactionsResponse": GetTransactionsResponse,
|
|
245
406
|
"ManagedUser": ManagedUser,
|
|
407
|
+
"Order": Order,
|
|
246
408
|
"OrderDocument": OrderDocument,
|
|
247
409
|
"OrderDocumentSteps": OrderDocumentSteps,
|
|
248
410
|
"OrderUpdatePayload": OrderUpdatePayload,
|
|
@@ -258,32 +420,23 @@ let typeMap: {[index: string]: any} = {
|
|
|
258
420
|
"RFQDocumentSellerAllOfValidators": RFQDocumentSellerAllOfValidators,
|
|
259
421
|
"RFQDocumentUpdate": RFQDocumentUpdate,
|
|
260
422
|
"RFQUpdatePayload": RFQUpdatePayload,
|
|
261
|
-
"
|
|
262
|
-
"RewardStat": RewardStat,
|
|
423
|
+
"RegisterWithdrawalRecipientSettlementRequest": RegisterWithdrawalRecipientSettlementRequest,
|
|
263
424
|
"SettlementStepAcceptedQuote": SettlementStepAcceptedQuote,
|
|
264
425
|
"SettlementStepEscrowPayment": SettlementStepEscrowPayment,
|
|
265
426
|
"SettlementStepEscrowReleased": SettlementStepEscrowReleased,
|
|
266
427
|
"SettlementStepWithdrawalRecipientSettlement": SettlementStepWithdrawalRecipientSettlement,
|
|
267
428
|
"SettlementSteps": SettlementSteps,
|
|
268
|
-
"
|
|
429
|
+
"SmartContract": SmartContract,
|
|
269
430
|
"StakeStep": StakeStep,
|
|
270
431
|
"StakeStepElement": StakeStepElement,
|
|
271
|
-
"
|
|
272
|
-
"
|
|
273
|
-
"
|
|
432
|
+
"SubmittedQuote": SubmittedQuote,
|
|
433
|
+
"Transaction": Transaction,
|
|
434
|
+
"TransactionsforUser": TransactionsforUser,
|
|
274
435
|
"UnstakeStep": UnstakeStep,
|
|
275
436
|
"UnstakeStepElement": UnstakeStepElement,
|
|
276
437
|
"ValidatorInfo": ValidatorInfo,
|
|
277
438
|
"ValidatorInfoValidatorType": ValidatorInfoValidatorType,
|
|
278
439
|
"ValidatorInfoValidatorTypeContract": ValidatorInfoValidatorTypeContract,
|
|
279
|
-
"ValidatorKey": ValidatorKey,
|
|
280
|
-
"ValidatorKeyKeystore": ValidatorKeyKeystore,
|
|
281
|
-
"ValidatorKeyKeystoreCrypto": ValidatorKeyKeystoreCrypto,
|
|
282
|
-
"ValidatorKeyKeystoreCryptoChecksum": ValidatorKeyKeystoreCryptoChecksum,
|
|
283
|
-
"ValidatorKeyKeystoreCryptoCipher": ValidatorKeyKeystoreCryptoCipher,
|
|
284
|
-
"ValidatorKeyKeystoreCryptoCipherParams": ValidatorKeyKeystoreCryptoCipherParams,
|
|
285
|
-
"ValidatorKeyKeystoreCryptoKdf": ValidatorKeyKeystoreCryptoKdf,
|
|
286
|
-
"ValidatorKeyKeystoreCryptoKdfParams": ValidatorKeyKeystoreCryptoKdfParams,
|
|
287
440
|
"Wallet": Wallet,
|
|
288
441
|
"WebHookLookupAnswer": WebHookLookupAnswer,
|
|
289
442
|
"WebhookPayload": WebhookPayload,
|
|
@@ -296,11 +449,13 @@ let typeMap: {[index: string]: any} = {
|
|
|
296
449
|
"WebhookPayloadRFQEscrowEventDetails": WebhookPayloadRFQEscrowEventDetails,
|
|
297
450
|
"WebhookPayloadRFQEscrowReleased": WebhookPayloadRFQEscrowReleased,
|
|
298
451
|
"WebhookPayloadRFQEscrowReleasedDetails": WebhookPayloadRFQEscrowReleasedDetails,
|
|
452
|
+
"WebhookPayloadRFQTransferProposalReceived": WebhookPayloadRFQTransferProposalReceived,
|
|
453
|
+
"WebhookPayloadRFQTransferProposalReceivedDetails": WebhookPayloadRFQTransferProposalReceivedDetails,
|
|
454
|
+
"WebhookPayloadRFQValidatorExited": WebhookPayloadRFQValidatorExited,
|
|
455
|
+
"WebhookPayloadRFQValidatorExitedDetails": WebhookPayloadRFQValidatorExitedDetails,
|
|
299
456
|
"WebhookPayloadRFQValidatorWithdrawalChange": WebhookPayloadRFQValidatorWithdrawalChange,
|
|
300
|
-
"WebhookPayloadRFQValidatorWithdrawalChangeDetails": WebhookPayloadRFQValidatorWithdrawalChangeDetails,
|
|
301
457
|
"WebhookRegistration": WebhookRegistration,
|
|
302
458
|
"WebhookRegistrationDetails": WebhookRegistrationDetails,
|
|
303
|
-
"WithdrawalOrder": WithdrawalOrder,
|
|
304
459
|
"WithdrawalStep": WithdrawalStep,
|
|
305
460
|
"WithdrawalStepElement": WithdrawalStepElement,
|
|
306
461
|
}
|
|
@@ -479,17 +634,6 @@ export class OAuth implements Authentication {
|
|
|
479
634
|
}
|
|
480
635
|
}
|
|
481
636
|
|
|
482
|
-
export class VoidAuth implements Authentication {
|
|
483
|
-
public username: string = '';
|
|
484
|
-
public password: string = '';
|
|
485
|
-
|
|
486
|
-
applyToRequest(_: localVarRequest.Options): void {
|
|
487
|
-
// Do nothing
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
export type Interceptor = (requestOptions: localVarRequest.Options) => (Promise<void> | void);
|
|
492
|
-
|
|
493
637
|
export class JWTAuth implements Authentication {
|
|
494
638
|
private apiKey: string;
|
|
495
639
|
private privateKey: string;
|
|
@@ -520,4 +664,15 @@ export class JWTAuth implements Authentication {
|
|
|
520
664
|
};
|
|
521
665
|
return jwt.sign(payload, this.privateKey, { algorithm: 'RS256' });
|
|
522
666
|
}
|
|
523
|
-
}
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
export class VoidAuth implements Authentication {
|
|
670
|
+
public username: string = '';
|
|
671
|
+
public password: string = '';
|
|
672
|
+
|
|
673
|
+
applyToRequest(_: localVarRequest.Options): void {
|
|
674
|
+
// Do nothing
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export type Interceptor = (requestOptions: localVarRequest.Options) => (Promise<void> | void);
|
|
@@ -10,29 +10,24 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import {
|
|
13
|
+
import { EthereumValidatorKey } from './ethereumValidatorKey';
|
|
14
|
+
import { OrderType } from './orderType';
|
|
14
15
|
|
|
15
|
-
export class
|
|
16
|
+
export class Order {
|
|
17
|
+
'orderType': OrderType;
|
|
16
18
|
/**
|
|
17
|
-
*
|
|
19
|
+
* Asset ID of the order, e.g., ETH, SOL.
|
|
18
20
|
*/
|
|
19
|
-
|
|
21
|
+
'asset': string;
|
|
20
22
|
/**
|
|
21
|
-
*
|
|
23
|
+
* Order amount, specified in smallest unit of the asset.
|
|
22
24
|
*/
|
|
23
|
-
|
|
25
|
+
'amount'?: number;
|
|
26
|
+
'validatorKey'?: EthereumValidatorKey | null;
|
|
24
27
|
/**
|
|
25
|
-
*
|
|
28
|
+
* Target wallet address for withdrawal orders, required for withdrawal type.
|
|
26
29
|
*/
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* managed user id
|
|
30
|
-
*/
|
|
31
|
-
'userId'?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Target wallet address for withdrawal orders. Required for withdrawal type orders.
|
|
34
|
-
*/
|
|
35
|
-
'targetWallet'?: string;
|
|
30
|
+
'targetWallet'?: string | null;
|
|
36
31
|
|
|
37
32
|
static discriminator: string | undefined = undefined;
|
|
38
33
|
|
|
@@ -40,7 +35,7 @@ export class WithdrawalOrder {
|
|
|
40
35
|
{
|
|
41
36
|
"name": "orderType",
|
|
42
37
|
"baseName": "orderType",
|
|
43
|
-
"type": "
|
|
38
|
+
"type": "OrderType"
|
|
44
39
|
},
|
|
45
40
|
{
|
|
46
41
|
"name": "asset",
|
|
@@ -53,9 +48,9 @@ export class WithdrawalOrder {
|
|
|
53
48
|
"type": "number"
|
|
54
49
|
},
|
|
55
50
|
{
|
|
56
|
-
"name": "
|
|
57
|
-
"baseName": "
|
|
58
|
-
"type": "
|
|
51
|
+
"name": "validatorKey",
|
|
52
|
+
"baseName": "validatorKey",
|
|
53
|
+
"type": "EthereumValidatorKey"
|
|
59
54
|
},
|
|
60
55
|
{
|
|
61
56
|
"name": "targetWallet",
|
|
@@ -64,14 +59,10 @@ export class WithdrawalOrder {
|
|
|
64
59
|
} ];
|
|
65
60
|
|
|
66
61
|
static getAttributeTypeMap() {
|
|
67
|
-
return
|
|
62
|
+
return Order.attributeTypeMap;
|
|
68
63
|
}
|
|
69
64
|
}
|
|
70
65
|
|
|
71
|
-
export namespace
|
|
72
|
-
export enum OrderTypeEnum {
|
|
73
|
-
Stake = <any> 'stake',
|
|
74
|
-
Unstake = <any> 'unstake',
|
|
75
|
-
Withdraw = <any> 'withdraw'
|
|
76
|
-
}
|
|
66
|
+
export namespace Order {
|
|
77
67
|
}
|
|
68
|
+
|