@northstake/northstakeapi 1.0.15 → 1.0.17
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 +1 -3
- package/.openapi-generator/VERSION +1 -1
- package/api/accountApi.ts +3 -3
- package/api/depositAddressesApi.ts +4 -4
- package/api/linkedWalletsApi.ts +12 -19
- package/api/managedUsersApi.ts +6 -6
- package/api/managedUsersDepositAddressesApi.ts +3 -3
- package/api/managedUsersLinkedWalletsApi.ts +14 -21
- package/api/managedUsersOrdersApi.ts +6 -6
- package/api/managedUsersPortfolioApi.ts +3 -3
- package/api/managedUsersTransactionsApi.ts +3 -3
- package/api/managedUsersValidatorsApi.ts +3 -3
- package/api/ordersApi.ts +6 -6
- package/api/portfolioApi.ts +3 -3
- package/api/transactionsApi.ts +3 -3
- package/api/validatorMarketplaceBuyersApi.ts +6 -6
- package/api/validatorMarketplaceSellersApi.ts +8 -8
- package/api/validatorMarketplaceWebhooksApi.ts +5 -5
- package/api/validatorsApi.ts +6 -6
- package/api.ts +1 -3
- package/dist/api/accountApi.d.ts +1 -1
- package/dist/api/accountApi.js +3 -4
- package/dist/api/depositAddressesApi.d.ts +1 -1
- package/dist/api/depositAddressesApi.js +4 -5
- package/dist/api/linkedWalletsApi.d.ts +3 -5
- package/dist/api/linkedWalletsApi.js +12 -19
- package/dist/api/managedUsersApi.d.ts +1 -1
- package/dist/api/managedUsersApi.js +6 -7
- package/dist/api/managedUsersDepositAddressesApi.d.ts +1 -1
- package/dist/api/managedUsersDepositAddressesApi.js +3 -4
- package/dist/api/managedUsersLinkedWalletsApi.d.ts +3 -5
- package/dist/api/managedUsersLinkedWalletsApi.js +14 -21
- package/dist/api/managedUsersOrdersApi.d.ts +1 -1
- package/dist/api/managedUsersOrdersApi.js +6 -7
- package/dist/api/managedUsersPortfolioApi.d.ts +1 -1
- package/dist/api/managedUsersPortfolioApi.js +3 -4
- package/dist/api/managedUsersTransactionsApi.d.ts +1 -1
- package/dist/api/managedUsersTransactionsApi.js +3 -4
- package/dist/api/managedUsersValidatorsApi.d.ts +1 -1
- package/dist/api/managedUsersValidatorsApi.js +3 -4
- package/dist/api/ordersApi.d.ts +1 -1
- package/dist/api/ordersApi.js +6 -7
- package/dist/api/portfolioApi.d.ts +1 -1
- package/dist/api/portfolioApi.js +3 -4
- package/dist/api/transactionsApi.d.ts +1 -1
- package/dist/api/transactionsApi.js +3 -4
- package/dist/api/validatorMarketplaceBuyersApi.d.ts +1 -1
- package/dist/api/validatorMarketplaceBuyersApi.js +6 -7
- package/dist/api/validatorMarketplaceSellersApi.d.ts +1 -1
- package/dist/api/validatorMarketplaceSellersApi.js +8 -9
- package/dist/api/validatorMarketplaceWebhooksApi.d.ts +1 -1
- package/dist/api/validatorMarketplaceWebhooksApi.js +5 -6
- package/dist/api/validatorsApi.d.ts +3 -3
- package/dist/api/validatorsApi.js +4 -5
- package/dist/api.d.ts +1 -3
- package/dist/api.js +1 -3
- package/dist/model/acceptedQuote.d.ts +1 -1
- package/dist/model/acceptedQuote.js +1 -1
- package/dist/model/accountEntity.d.ts +1 -1
- package/dist/model/accountEntity.js +1 -1
- package/dist/model/addLinkedWalletForUserRequest.d.ts +1 -1
- package/dist/model/addLinkedWalletForUserRequest.js +1 -1
- package/dist/model/addLinkedWalletRequest.d.ts +1 -1
- package/dist/model/addLinkedWalletRequest.js +1 -1
- package/dist/model/allManagedUsersResponse.d.ts +1 -1
- package/dist/model/allManagedUsersResponse.js +1 -1
- package/dist/model/asset.d.ts +1 -1
- package/dist/model/asset.js +1 -1
- package/dist/model/createManagedUserRequest.d.ts +1 -1
- package/dist/model/createManagedUserRequest.js +1 -1
- package/dist/model/createRFQRequest.d.ts +2 -2
- package/dist/model/createRFQRequest.js +3 -3
- package/dist/model/depositAddress.d.ts +1 -1
- package/dist/model/depositAddress.js +1 -1
- package/dist/model/depositAddressesForUserResponse.d.ts +1 -1
- package/dist/model/depositAddressesForUserResponse.js +1 -1
- package/dist/model/errorResponse.d.ts +1 -1
- package/dist/model/errorResponse.js +1 -1
- 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/getTransactionsResponse.d.ts +1 -1
- package/dist/model/getTransactionsResponse.js +1 -1
- package/dist/model/managedUser.d.ts +1 -1
- package/dist/model/managedUser.js +1 -1
- package/dist/model/managedUserDetails.d.ts +1 -1
- package/dist/model/managedUserDetails.js +1 -1
- package/dist/model/models.d.ts +1 -3
- package/dist/model/models.js +1 -7
- package/dist/model/order.d.ts +3 -3
- package/dist/model/order.js +3 -3
- package/dist/model/orderDocument.d.ts +1 -1
- package/dist/model/orderDocument.js +1 -1
- package/dist/model/orderDocumentSteps.d.ts +1 -1
- package/dist/model/orderDocumentSteps.js +1 -1
- package/dist/model/orderType.d.ts +1 -1
- package/dist/model/orderType.js +1 -1
- package/dist/model/orderUpdatePayload.d.ts +1 -1
- package/dist/model/orderUpdatePayload.js +1 -1
- package/dist/model/portfolioEntity.d.ts +1 -1
- package/dist/model/portfolioEntity.js +1 -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 +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/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/registerWithdrawalRecipientSettlementRequest.d.ts +1 -1
- package/dist/model/registerWithdrawalRecipientSettlementRequest.js +1 -1
- package/dist/model/settlementSteps.d.ts +1 -1
- package/dist/model/settlementSteps.js +1 -1
- package/dist/model/smartContract.d.ts +1 -1
- package/dist/model/smartContract.js +1 -1
- package/dist/model/stakeStep.d.ts +1 -1
- package/dist/model/stakeStep.js +1 -1
- package/dist/model/stakeStepElement.d.ts +1 -1
- package/dist/model/stakeStepElement.js +1 -1
- package/dist/model/stepStatus.d.ts +1 -1
- package/dist/model/stepStatus.js +1 -1
- package/dist/model/submittedQuote.d.ts +1 -1
- package/dist/model/submittedQuote.js +1 -1
- package/dist/model/transaction.d.ts +1 -1
- package/dist/model/transaction.js +1 -1
- package/dist/model/transactionEventType.d.ts +1 -1
- package/dist/model/transactionEventType.js +1 -1
- package/dist/model/transactionsforUser.d.ts +1 -1
- package/dist/model/transactionsforUser.js +1 -1
- package/dist/model/unstakeStep.d.ts +1 -1
- package/dist/model/unstakeStep.js +1 -1
- package/dist/model/unstakeStepElement.d.ts +1 -1
- package/dist/model/unstakeStepElement.js +1 -1
- package/dist/model/unstakeStepType.d.ts +1 -1
- package/dist/model/unstakeStepType.js +1 -1
- package/dist/model/validatorInfo.d.ts +8 -14
- package/dist/model/validatorInfo.js +17 -22
- package/dist/model/validatorKeyHolder.d.ts +1 -1
- package/dist/model/validatorKeyHolder.js +1 -1
- package/dist/model/{validatorContractType.d.ts → validatorType.d.ts} +2 -2
- package/dist/model/{validatorContractType.js → validatorType.js} +1 -1
- package/dist/model/wallet.d.ts +5 -4
- package/dist/model/wallet.js +6 -1
- package/dist/model/webHookLookupAnswer.d.ts +1 -1
- package/dist/model/webHookLookupAnswer.js +1 -1
- package/dist/model/webhookPayload.d.ts +1 -1
- package/dist/model/webhookPayload.js +1 -1
- package/dist/model/webhookPayloadData.d.ts +1 -1
- package/dist/model/webhookPayloadData.js +1 -1
- 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 +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/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/withdrawalRecipientSettlement.d.ts +1 -1
- package/dist/model/withdrawalRecipientSettlement.js +1 -1
- package/dist/model/withdrawalStep.d.ts +1 -1
- package/dist/model/withdrawalStep.js +1 -1
- package/dist/model/withdrawalStepElement.d.ts +1 -1
- package/dist/model/withdrawalStepElement.js +1 -1
- package/dist/model/withdrawalStepType.d.ts +1 -1
- package/dist/model/withdrawalStepType.js +1 -1
- package/model/acceptedQuote.ts +1 -1
- package/model/accountEntity.ts +1 -1
- package/model/addLinkedWalletForUserRequest.ts +1 -1
- package/model/addLinkedWalletRequest.ts +1 -1
- package/model/allManagedUsersResponse.ts +1 -1
- package/model/asset.ts +1 -1
- package/model/createManagedUserRequest.ts +1 -1
- package/model/createRFQRequest.ts +4 -4
- package/model/depositAddress.ts +1 -1
- package/model/depositAddressesForUserResponse.ts +1 -1
- package/model/errorResponse.ts +1 -1
- 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/getTransactionsResponse.ts +1 -1
- package/model/managedUser.ts +1 -1
- package/model/managedUserDetails.ts +1 -1
- package/model/models.ts +3 -13
- package/model/order.ts +5 -5
- package/model/orderDocument.ts +1 -1
- package/model/orderDocumentSteps.ts +1 -1
- package/model/orderType.ts +1 -1
- package/model/orderUpdatePayload.ts +1 -1
- package/model/portfolioEntity.ts +1 -1
- package/model/provideEscrowHashForRFQDocumentRequest.ts +1 -1
- package/model/quote.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/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/registerWithdrawalRecipientSettlementRequest.ts +1 -1
- package/model/settlementSteps.ts +1 -1
- package/model/smartContract.ts +1 -1
- package/model/stakeStep.ts +1 -1
- package/model/stakeStepElement.ts +1 -1
- package/model/stepStatus.ts +1 -1
- package/model/submittedQuote.ts +1 -1
- package/model/transaction.ts +1 -1
- package/model/transactionEventType.ts +1 -1
- package/model/transactionsforUser.ts +1 -1
- package/model/unstakeStep.ts +1 -1
- package/model/unstakeStepElement.ts +1 -1
- package/model/unstakeStepType.ts +1 -1
- package/model/validatorInfo.ts +25 -36
- package/model/validatorKeyHolder.ts +1 -1
- package/model/{validatorContractType.ts → validatorType.ts} +2 -2
- package/model/wallet.ts +10 -4
- package/model/webHookLookupAnswer.ts +1 -1
- package/model/webhookPayload.ts +1 -1
- package/model/webhookPayloadData.ts +1 -1
- 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/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/webhookRegistration.ts +1 -1
- package/model/webhookRegistrationDetails.ts +1 -1
- package/model/withdrawalRecipientSettlement.ts +1 -1
- package/model/withdrawalStep.ts +1 -1
- package/model/withdrawalStepElement.ts +1 -1
- package/model/withdrawalStepType.ts +1 -1
- package/package.json +2 -2
- package/dist/model/validatorInfoValidatorType.d.ts +0 -30
- package/dist/model/validatorInfoValidatorType.js +0 -33
- package/dist/model/validatorInfoValidatorTypeContract.d.ts +0 -29
- package/dist/model/validatorInfoValidatorTypeContract.js +0 -33
- package/model/validatorInfoValidatorType.ts +0 -41
- package/model/validatorInfoValidatorTypeContract.ts +0 -40
package/model/managedUser.ts
CHANGED
package/model/models.ts
CHANGED
|
@@ -62,11 +62,9 @@ export * from './transactionsforUser';
|
|
|
62
62
|
export * from './unstakeStep';
|
|
63
63
|
export * from './unstakeStepElement';
|
|
64
64
|
export * from './unstakeStepType';
|
|
65
|
-
export * from './validatorContractType';
|
|
66
65
|
export * from './validatorInfo';
|
|
67
|
-
export * from './validatorInfoValidatorType';
|
|
68
|
-
export * from './validatorInfoValidatorTypeContract';
|
|
69
66
|
export * from './validatorKeyHolder';
|
|
67
|
+
export * from './validatorType';
|
|
70
68
|
export * from './wallet';
|
|
71
69
|
export * from './webHookLookupAnswer';
|
|
72
70
|
export * from './webhookPayload';
|
|
@@ -284,19 +282,13 @@ import { UnstakeStepElement } from './unstakeStepElement';
|
|
|
284
282
|
import { UnstakeStepType } from './unstakeStepType';
|
|
285
283
|
|
|
286
284
|
|
|
287
|
-
import { ValidatorContractType } from './validatorContractType';
|
|
288
|
-
|
|
289
|
-
|
|
290
285
|
import { ValidatorInfo } from './validatorInfo';
|
|
291
286
|
|
|
292
287
|
|
|
293
|
-
import {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
import { ValidatorInfoValidatorTypeContract } from './validatorInfoValidatorTypeContract';
|
|
288
|
+
import { ValidatorKeyHolder } from './validatorKeyHolder';
|
|
297
289
|
|
|
298
290
|
|
|
299
|
-
import {
|
|
291
|
+
import { ValidatorType } from './validatorType';
|
|
300
292
|
|
|
301
293
|
|
|
302
294
|
import { Wallet } from './wallet';
|
|
@@ -439,8 +431,6 @@ let typeMap: {[index: string]: any} = {
|
|
|
439
431
|
"UnstakeStep": UnstakeStep,
|
|
440
432
|
"UnstakeStepElement": UnstakeStepElement,
|
|
441
433
|
"ValidatorInfo": ValidatorInfo,
|
|
442
|
-
"ValidatorInfoValidatorType": ValidatorInfoValidatorType,
|
|
443
|
-
"ValidatorInfoValidatorTypeContract": ValidatorInfoValidatorTypeContract,
|
|
444
434
|
"Wallet": Wallet,
|
|
445
435
|
"WebHookLookupAnswer": WebHookLookupAnswer,
|
|
446
436
|
"WebhookPayload": WebhookPayload,
|
package/model/order.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -25,9 +25,9 @@ export class Order {
|
|
|
25
25
|
'amount'?: number;
|
|
26
26
|
'validatorKey'?: EthereumValidatorKey;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Id of the linked wallet that should be the target of a withdrawal order
|
|
29
29
|
*/
|
|
30
|
-
'
|
|
30
|
+
'targetWalletId'?: string;
|
|
31
31
|
|
|
32
32
|
static discriminator: string | undefined = undefined;
|
|
33
33
|
|
|
@@ -53,8 +53,8 @@ export class Order {
|
|
|
53
53
|
"type": "EthereumValidatorKey"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
"name": "
|
|
57
|
-
"baseName": "
|
|
56
|
+
"name": "targetWalletId",
|
|
57
|
+
"baseName": "targetWalletId",
|
|
58
58
|
"type": "string"
|
|
59
59
|
} ];
|
|
60
60
|
|
package/model/orderDocument.ts
CHANGED
package/model/orderType.ts
CHANGED
package/model/portfolioEntity.ts
CHANGED
package/model/quote.ts
CHANGED
package/model/rFQBids.ts
CHANGED
package/model/rFQDocumentBase.ts
CHANGED
package/model/settlementSteps.ts
CHANGED
package/model/smartContract.ts
CHANGED
package/model/stakeStep.ts
CHANGED
package/model/stepStatus.ts
CHANGED
package/model/submittedQuote.ts
CHANGED
package/model/transaction.ts
CHANGED
package/model/unstakeStep.ts
CHANGED
package/model/unstakeStepType.ts
CHANGED
package/model/validatorInfo.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { ExitEstimateSeller } from './exitEstimateSeller';
|
|
14
|
-
import {
|
|
14
|
+
import { ValidatorKeyHolder } from './validatorKeyHolder';
|
|
15
|
+
import { ValidatorType } from './validatorType';
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
18
|
* Information about a blockchain validator including status and balance.
|
|
@@ -22,23 +23,16 @@ export class ValidatorInfo {
|
|
|
22
23
|
* Validator asset
|
|
23
24
|
*/
|
|
24
25
|
'asset'?: ValidatorInfo;
|
|
26
|
+
'validator_public_key'?: string;
|
|
25
27
|
'validator_index'?: number;
|
|
26
|
-
/**
|
|
27
|
-
* Validator owner id
|
|
28
|
-
*/
|
|
29
|
-
'owner_id'?: string;
|
|
30
28
|
/**
|
|
31
29
|
* Status of the validator on the network
|
|
32
30
|
*/
|
|
33
31
|
'status'?: ValidatorInfo;
|
|
34
|
-
/**
|
|
35
|
-
* Associated Northstake staking order
|
|
36
|
-
*/
|
|
37
|
-
'associated_order_id'?: string;
|
|
38
|
-
'start_date'?: number;
|
|
39
|
-
'end_date'?: number;
|
|
40
32
|
'exit_estimate'?: ExitEstimateSeller;
|
|
41
|
-
'
|
|
33
|
+
'key_holder'?: ValidatorKeyHolder;
|
|
34
|
+
'validator_type'?: ValidatorType;
|
|
35
|
+
'contract_address'?: string;
|
|
42
36
|
|
|
43
37
|
static discriminator: string | undefined = undefined;
|
|
44
38
|
|
|
@@ -53,45 +47,40 @@ export class ValidatorInfo {
|
|
|
53
47
|
"baseName": "asset",
|
|
54
48
|
"type": "ValidatorInfo.AssetEnum"
|
|
55
49
|
},
|
|
50
|
+
{
|
|
51
|
+
"name": "validator_public_key",
|
|
52
|
+
"baseName": "validator_public_key",
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
56
55
|
{
|
|
57
56
|
"name": "validator_index",
|
|
58
57
|
"baseName": "validator_index",
|
|
59
58
|
"type": "number"
|
|
60
59
|
},
|
|
61
|
-
{
|
|
62
|
-
"name": "owner_id",
|
|
63
|
-
"baseName": "owner_id",
|
|
64
|
-
"type": "string"
|
|
65
|
-
},
|
|
66
60
|
{
|
|
67
61
|
"name": "status",
|
|
68
62
|
"baseName": "status",
|
|
69
63
|
"type": "ValidatorInfo.StatusEnum"
|
|
70
64
|
},
|
|
71
|
-
{
|
|
72
|
-
"name": "associated_order_id",
|
|
73
|
-
"baseName": "associated_order_id",
|
|
74
|
-
"type": "string"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"name": "start_date",
|
|
78
|
-
"baseName": "start_date",
|
|
79
|
-
"type": "number"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "end_date",
|
|
83
|
-
"baseName": "end_date",
|
|
84
|
-
"type": "number"
|
|
85
|
-
},
|
|
86
65
|
{
|
|
87
66
|
"name": "exit_estimate",
|
|
88
67
|
"baseName": "exit_estimate",
|
|
89
68
|
"type": "ExitEstimateSeller"
|
|
90
69
|
},
|
|
70
|
+
{
|
|
71
|
+
"name": "key_holder",
|
|
72
|
+
"baseName": "key_holder",
|
|
73
|
+
"type": "ValidatorKeyHolder"
|
|
74
|
+
},
|
|
91
75
|
{
|
|
92
76
|
"name": "validator_type",
|
|
93
77
|
"baseName": "validator_type",
|
|
94
|
-
"type": "
|
|
78
|
+
"type": "ValidatorType"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "contract_address",
|
|
82
|
+
"baseName": "contract_address",
|
|
83
|
+
"type": "string"
|
|
95
84
|
} ];
|
|
96
85
|
|
|
97
86
|
static getAttributeTypeMap() {
|
|
@@ -109,9 +98,9 @@ export type assetEnum =
|
|
|
109
98
|
* Status of the validator on the network
|
|
110
99
|
*/
|
|
111
100
|
export type statusEnum =
|
|
101
|
+
'activating' |
|
|
112
102
|
'active' |
|
|
113
|
-
'exited' |
|
|
114
103
|
'exiting' |
|
|
115
|
-
'
|
|
104
|
+
'exited';
|
|
116
105
|
}
|
|
117
106
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
export type
|
|
14
|
+
export type ValidatorType =
|
|
15
15
|
'default_validator' |
|
|
16
16
|
'tokenized_validator';
|
|
17
17
|
|
package/model/wallet.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -16,13 +16,19 @@ import { Asset } from './asset';
|
|
|
16
16
|
* Details about a linked wallet including asset, address, and name.
|
|
17
17
|
*/
|
|
18
18
|
export class Wallet {
|
|
19
|
-
'
|
|
20
|
-
'
|
|
21
|
-
'
|
|
19
|
+
'id': string;
|
|
20
|
+
'asset': Asset;
|
|
21
|
+
'walletAddress': string;
|
|
22
|
+
'walletName': string;
|
|
22
23
|
|
|
23
24
|
static discriminator: string | undefined = undefined;
|
|
24
25
|
|
|
25
26
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
27
|
+
{
|
|
28
|
+
"name": "id",
|
|
29
|
+
"baseName": "id",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
26
32
|
{
|
|
27
33
|
"name": "asset",
|
|
28
34
|
"baseName": "asset",
|
package/model/webhookPayload.ts
CHANGED