@northstake/northstakeapi 1.0.7 → 1.0.9
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 +25 -15
- package/api/apis.ts +17 -9
- package/api/northstake.ts +47 -23
- package/api/portfolioApi.ts +4 -4
- package/api/stakingPartnerManagedUsersApi.ts +0 -279
- package/api/stakingPartnerManagedUsersDepositAddressesApi.ts +167 -0
- package/api/stakingPartnerManagedUsersPortfolioApi.ts +167 -0
- package/api/stakingPartnerManagedUsersStatsApi.ts +167 -0
- package/api/stakingPartnerManagedUsersValidatorsApi.ts +167 -0
- package/api/statsApi.ts +0 -73
- package/api/{rfqMarketPlaceBuyersApi.ts → validatorMarketplaceBuyersApi.ts} +34 -21
- package/api/{rfqMarketPlaceSellersApi.ts → validatorMarketplaceSellersApi.ts} +69 -60
- package/api/{rfqMarketPlaceWebhooksApi.ts → validatorMarketplaceWebhooksApi.ts} +7 -7
- package/api/validatorsApi.ts +172 -0
- package/dist/api/apis.d.ts +17 -9
- package/dist/api/apis.js +17 -9
- package/dist/api/northstake.d.ts +16 -8
- package/dist/api/northstake.js +32 -16
- package/dist/api/portfolioApi.d.ts +2 -2
- package/dist/api/portfolioApi.js +1 -1
- package/dist/api/stakingPartnerManagedUsersApi.d.ts +0 -55
- package/dist/api/stakingPartnerManagedUsersApi.js +0 -264
- package/dist/api/stakingPartnerManagedUsersDepositAddressesApi.d.ts +53 -0
- package/dist/api/stakingPartnerManagedUsersDepositAddressesApi.js +146 -0
- package/dist/api/stakingPartnerManagedUsersPortfolioApi.d.ts +53 -0
- package/dist/api/stakingPartnerManagedUsersPortfolioApi.js +146 -0
- package/dist/api/stakingPartnerManagedUsersStatsApi.d.ts +53 -0
- package/dist/api/stakingPartnerManagedUsersStatsApi.js +146 -0
- package/dist/api/{stakingPartnerValidatorKeysApi.d.ts → stakingPartnerManagedUsersValidatorsApi.d.ts} +5 -31
- package/dist/api/stakingPartnerManagedUsersValidatorsApi.js +146 -0
- package/dist/api/statsApi.d.ts +0 -15
- package/dist/api/statsApi.js +0 -68
- package/dist/api/{rfqMarketPlaceBuyersApi.d.ts → validatorMarketplaceBuyersApi.d.ts} +12 -10
- package/dist/api/{rfqMarketPlaceBuyersApi.js → validatorMarketplaceBuyersApi.js} +36 -24
- package/dist/api/{rfqMarketPlaceSellersApi.d.ts → validatorMarketplaceSellersApi.d.ts} +28 -26
- package/dist/api/{rfqMarketPlaceSellersApi.js → validatorMarketplaceSellersApi.js} +64 -57
- package/dist/api/{rfqMarketPlaceWebhooksApi.d.ts → validatorMarketplaceWebhooksApi.d.ts} +2 -2
- package/dist/api/{rfqMarketPlaceWebhooksApi.js → validatorMarketplaceWebhooksApi.js} +11 -11
- package/dist/api/validatorsApi.d.ts +56 -0
- package/dist/api/validatorsApi.js +148 -0
- package/dist/model/{createRFQDocumentForSellerRequest.d.ts → createRFQDocumentRequest.d.ts} +1 -1
- package/dist/model/{createRFQDocumentForSellerRequest.js → createRFQDocumentRequest.js} +6 -6
- package/dist/model/{registerRewardRecipientSettlementRequestInner.d.ts → exitEstimateBase.d.ts} +3 -3
- package/dist/model/exitEstimateBase.js +33 -0
- package/dist/model/{exitEstimate.d.ts → exitEstimateSeller.d.ts} +2 -2
- package/dist/model/{exitEstimate.js → exitEstimateSeller.js} +10 -10
- package/dist/model/models.d.ts +17 -11
- package/dist/model/models.js +51 -33
- package/dist/model/{getRewardsStatistics200ResponseInner.d.ts → portfolioEntity.d.ts} +7 -6
- package/dist/model/portfolioEntity.js +38 -0
- package/dist/model/rFQDocumentBase.d.ts +6 -3
- package/dist/model/rFQDocumentBase.js +8 -8
- package/dist/model/rFQDocumentBuyer.d.ts +7 -4
- package/dist/model/rFQDocumentBuyer.js +8 -8
- package/dist/model/{rFQDocumentBaseValidatorsInner.d.ts → rFQDocumentBuyerAllOfValidators.d.ts} +3 -3
- package/dist/model/{rFQDocumentBaseValidatorsInner.js → rFQDocumentBuyerAllOfValidators.js} +9 -9
- package/dist/model/rFQDocumentBuyerStatusFilterEnum.d.ts +19 -0
- package/dist/model/rFQDocumentBuyerStatusFilterEnum.js +23 -0
- package/dist/model/rFQDocumentSeller.d.ts +8 -4
- package/dist/model/rFQDocumentSeller.js +18 -13
- package/dist/model/rFQDocumentSellerAllOfValidators.d.ts +28 -0
- package/dist/model/rFQDocumentSellerAllOfValidators.js +38 -0
- package/dist/model/rFQDocumentSellerStatusFilterEnum.d.ts +20 -0
- package/dist/model/rFQDocumentSellerStatusFilterEnum.js +24 -0
- package/dist/model/rFQDocumentStatusEnum.d.ts +17 -0
- package/dist/model/rFQDocumentStatusEnum.js +21 -0
- package/dist/model/{acceptBidForRFQDocumentRequest.d.ts → rejectQuoteForRFQDocumentRequest.d.ts} +1 -1
- package/dist/model/{acceptBidForRFQDocumentRequest.js → rejectQuoteForRFQDocumentRequest.js} +6 -6
- package/dist/model/settlementStepEscrowPayment.d.ts +1 -0
- package/dist/model/settlementStepEscrowPayment.js +5 -0
- package/dist/model/settlementStepEscrowReleased.d.ts +2 -0
- package/dist/model/settlementStepEscrowReleased.js +10 -0
- package/dist/model/{settlementStepRewardRecipientSettlementInner.d.ts → settlementStepWithdrawalRecipientSettlement.d.ts} +1 -2
- package/dist/model/{settlementStepRewardRecipientSettlementInner.js → settlementStepWithdrawalRecipientSettlement.js} +6 -11
- package/dist/model/settlementSteps.d.ts +2 -2
- package/dist/model/settlementSteps.js +3 -3
- package/dist/model/stakeStep.d.ts +1 -1
- package/dist/model/stepStatus.d.ts +1 -1
- package/dist/model/stepStatus.js +1 -1
- package/dist/model/submitQuoteForRFQDocumentRequest.d.ts +25 -0
- package/dist/model/submitQuoteForRFQDocumentRequest.js +28 -0
- package/dist/model/tokenEnum.d.ts +1 -3
- package/dist/model/tokenEnum.js +1 -3
- package/dist/model/unstakeStep.d.ts +1 -1
- package/dist/model/unstakeStepType.d.ts +1 -1
- package/dist/model/unstakeStepType.js +1 -1
- package/dist/model/validatorContractTypeEnum.d.ts +15 -0
- package/dist/model/validatorContractTypeEnum.js +19 -0
- package/dist/model/validatorInfo.d.ts +6 -1
- package/dist/model/validatorInfo.js +17 -2
- package/dist/model/{portfolioTableRow.d.ts → validatorInfoValidatorType.d.ts} +6 -10
- package/dist/model/validatorInfoValidatorType.js +33 -0
- package/dist/model/validatorInfoValidatorTypeContract.d.ts +29 -0
- package/dist/model/validatorInfoValidatorTypeContract.js +33 -0
- package/dist/model/validatorKeyHolderEnum.d.ts +15 -0
- package/dist/model/validatorKeyHolderEnum.js +19 -0
- package/dist/model/webhookPayloadRFQAvailable.d.ts +2 -2
- package/dist/model/webhookPayloadRFQAvailable.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleasedDetails.d.ts +1 -0
- package/dist/model/webhookPayloadRFQEscrowReleasedDetails.js +5 -0
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.d.ts +2 -2
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.js +1 -1
- package/dist/model/{webhookPayloadRFQValidatorWithdrawalChangeDetailsInner.d.ts → webhookPayloadRFQValidatorWithdrawalChangeDetails.d.ts} +1 -2
- package/dist/model/{webhookPayloadRFQValidatorWithdrawalChangeDetailsInner.js → webhookPayloadRFQValidatorWithdrawalChangeDetails.js} +6 -11
- package/dist/model/withdrawalStep.d.ts +1 -1
- package/dist/model/withdrawalStepType.d.ts +1 -1
- package/dist/model/withdrawalStepType.js +1 -1
- package/model/{createRFQDocumentForSellerRequest.ts → createRFQDocumentRequest.ts} +2 -2
- package/model/exitEstimateBase.ts +37 -0
- package/model/{exitEstimate.ts → exitEstimateSeller.ts} +7 -7
- package/model/models.ts +51 -33
- package/model/portfolioEntity.ts +46 -0
- package/model/rFQDocumentBase.ts +14 -11
- package/model/rFQDocumentBuyer.ts +15 -12
- package/model/{rFQDocumentBaseValidatorsInner.ts → rFQDocumentBuyerAllOfValidators.ts} +7 -7
- package/model/rFQDocumentBuyerStatusFilterEnum.ts +22 -0
- package/model/rFQDocumentSeller.ts +26 -17
- package/model/{registerRewardRecipientSettlementRequestInner.ts → rFQDocumentSellerAllOfValidators.ts} +15 -8
- package/model/rFQDocumentSellerStatusFilterEnum.ts +23 -0
- package/model/rFQDocumentStatusEnum.ts +20 -0
- package/model/{acceptBidForRFQDocumentRequest.ts → rejectQuoteForRFQDocumentRequest.ts} +2 -2
- package/model/settlementStepEscrowPayment.ts +6 -0
- package/model/settlementStepEscrowReleased.ts +12 -0
- package/model/{settlementStepRewardRecipientSettlementInner.ts → settlementStepWithdrawalRecipientSettlement.ts} +2 -8
- package/model/settlementSteps.ts +5 -5
- package/model/stakeStep.ts +1 -1
- package/model/stepStatus.ts +1 -1
- package/model/{rFQMarketPlaceMetadata.ts → submitQuoteForRFQDocumentRequest.ts} +5 -17
- package/model/tokenEnum.ts +1 -3
- package/model/unstakeStep.ts +1 -1
- package/model/unstakeStepType.ts +1 -1
- package/model/validatorContractTypeEnum.ts +18 -0
- package/model/validatorInfo.ts +23 -3
- package/model/validatorInfoValidatorType.ts +41 -0
- package/model/validatorInfoValidatorTypeContract.ts +40 -0
- package/model/validatorKeyHolderEnum.ts +18 -0
- package/model/webhookPayloadRFQAvailable.ts +3 -3
- package/model/webhookPayloadRFQEscrowReleasedDetails.ts +6 -0
- package/model/webhookPayloadRFQValidatorWithdrawalChange.ts +3 -3
- package/model/{webhookPayloadRFQValidatorWithdrawalChangeDetailsInner.ts → webhookPayloadRFQValidatorWithdrawalChangeDetails.ts} +2 -8
- package/model/withdrawalStep.ts +1 -1
- package/model/withdrawalStepType.ts +1 -1
- package/package.json +1 -1
- package/api/stakingPartnerValidatorKeysApi.ts +0 -292
- package/dist/api/stakingPartnerValidatorKeysApi.js +0 -265
- package/dist/model/getRewardsStatistics200ResponseInner.js +0 -48
- package/dist/model/getValidatorKeys200ResponseInner.d.ts +0 -40
- package/dist/model/getValidatorKeys200ResponseInner.js +0 -43
- package/dist/model/portfolioTableRow.js +0 -58
- package/dist/model/rFQMarketPlaceMetadata.d.ts +0 -32
- package/dist/model/rFQMarketPlaceMetadata.js +0 -33
- package/dist/model/registerRewardRecipientSettlementRequestInner.js +0 -33
- package/model/getRewardsStatistics200ResponseInner.ts +0 -55
- package/model/getValidatorKeys200ResponseInner.ts +0 -61
- package/model/portfolioTableRow.ts +0 -70
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ValidatorContractTypeEnum } from './validatorContractTypeEnum';
|
|
13
|
+
export declare class ValidatorInfoValidatorTypeContract {
|
|
14
|
+
'address'?: string;
|
|
15
|
+
'contractType'?: ValidatorContractTypeEnum;
|
|
16
|
+
static discriminator: string | undefined;
|
|
17
|
+
static attributeTypeMap: Array<{
|
|
18
|
+
name: string;
|
|
19
|
+
baseName: string;
|
|
20
|
+
type: string;
|
|
21
|
+
}>;
|
|
22
|
+
static getAttributeTypeMap(): {
|
|
23
|
+
name: string;
|
|
24
|
+
baseName: string;
|
|
25
|
+
type: string;
|
|
26
|
+
}[];
|
|
27
|
+
}
|
|
28
|
+
export declare namespace ValidatorInfoValidatorTypeContract {
|
|
29
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Northstake
|
|
4
|
+
* Northstake api.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.ValidatorInfoValidatorTypeContract = void 0;
|
|
15
|
+
class ValidatorInfoValidatorTypeContract {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return ValidatorInfoValidatorTypeContract.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.ValidatorInfoValidatorTypeContract = ValidatorInfoValidatorTypeContract;
|
|
21
|
+
ValidatorInfoValidatorTypeContract.discriminator = undefined;
|
|
22
|
+
ValidatorInfoValidatorTypeContract.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "address",
|
|
25
|
+
"baseName": "address",
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "contractType",
|
|
30
|
+
"baseName": "contract_type",
|
|
31
|
+
"type": "ValidatorContractTypeEnum"
|
|
32
|
+
}
|
|
33
|
+
];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare enum ValidatorKeyHolderEnum {
|
|
13
|
+
Northstake,
|
|
14
|
+
SelfManaged
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Northstake
|
|
4
|
+
* Northstake api.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.ValidatorKeyHolderEnum = void 0;
|
|
15
|
+
var ValidatorKeyHolderEnum;
|
|
16
|
+
(function (ValidatorKeyHolderEnum) {
|
|
17
|
+
ValidatorKeyHolderEnum[ValidatorKeyHolderEnum["Northstake"] = 'northstake'] = "Northstake";
|
|
18
|
+
ValidatorKeyHolderEnum[ValidatorKeyHolderEnum["SelfManaged"] = 'self_managed'] = "SelfManaged";
|
|
19
|
+
})(ValidatorKeyHolderEnum || (exports.ValidatorKeyHolderEnum = ValidatorKeyHolderEnum = {}));
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { RFQDocumentBuyer } from './rFQDocumentBuyer';
|
|
13
13
|
import { RFQWebhookEventType } from './rFQWebhookEventType';
|
|
14
14
|
export declare class WebhookPayloadRFQAvailable {
|
|
15
15
|
'documentId'?: string;
|
|
16
16
|
'event'?: RFQWebhookEventType;
|
|
17
|
-
'details'?:
|
|
17
|
+
'details'?: RFQDocumentBuyer;
|
|
18
18
|
static discriminator: string | undefined;
|
|
19
19
|
static attributeTypeMap: Array<{
|
|
20
20
|
name: string;
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { RFQWebhookEventType } from './rFQWebhookEventType';
|
|
13
|
-
import {
|
|
13
|
+
import { WebhookPayloadRFQValidatorWithdrawalChangeDetails } from './webhookPayloadRFQValidatorWithdrawalChangeDetails';
|
|
14
14
|
export declare class WebhookPayloadRFQValidatorWithdrawalChange {
|
|
15
15
|
'documentId'?: string;
|
|
16
16
|
'event'?: RFQWebhookEventType;
|
|
17
|
-
'details'?:
|
|
17
|
+
'details'?: WebhookPayloadRFQValidatorWithdrawalChangeDetails;
|
|
18
18
|
static discriminator: string | undefined;
|
|
19
19
|
static attributeTypeMap: Array<{
|
|
20
20
|
name: string;
|
|
@@ -33,6 +33,6 @@ WebhookPayloadRFQValidatorWithdrawalChange.attributeTypeMap = [
|
|
|
33
33
|
{
|
|
34
34
|
"name": "details",
|
|
35
35
|
"baseName": "details",
|
|
36
|
-
"type": "
|
|
36
|
+
"type": "WebhookPayloadRFQValidatorWithdrawalChangeDetails"
|
|
37
37
|
}
|
|
38
38
|
];
|
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class WebhookPayloadRFQValidatorWithdrawalChangeDetails {
|
|
13
13
|
'timestamp'?: Date;
|
|
14
14
|
'transactionHash'?: string;
|
|
15
|
-
'validatorIndex'?: number;
|
|
16
15
|
static discriminator: string | undefined;
|
|
17
16
|
static attributeTypeMap: Array<{
|
|
18
17
|
name: string;
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
class
|
|
14
|
+
exports.WebhookPayloadRFQValidatorWithdrawalChangeDetails = void 0;
|
|
15
|
+
class WebhookPayloadRFQValidatorWithdrawalChangeDetails {
|
|
16
16
|
static getAttributeTypeMap() {
|
|
17
|
-
return
|
|
17
|
+
return WebhookPayloadRFQValidatorWithdrawalChangeDetails.attributeTypeMap;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
exports.
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
exports.WebhookPayloadRFQValidatorWithdrawalChangeDetails = WebhookPayloadRFQValidatorWithdrawalChangeDetails;
|
|
21
|
+
WebhookPayloadRFQValidatorWithdrawalChangeDetails.discriminator = undefined;
|
|
22
|
+
WebhookPayloadRFQValidatorWithdrawalChangeDetails.attributeTypeMap = [
|
|
23
23
|
{
|
|
24
24
|
"name": "timestamp",
|
|
25
25
|
"baseName": "timestamp",
|
|
@@ -29,10 +29,5 @@ WebhookPayloadRFQValidatorWithdrawalChangeDetailsInner.attributeTypeMap = [
|
|
|
29
29
|
"name": "transactionHash",
|
|
30
30
|
"baseName": "transaction_hash",
|
|
31
31
|
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "validatorIndex",
|
|
35
|
-
"baseName": "validator_index",
|
|
36
|
-
"type": "number"
|
|
37
32
|
}
|
|
38
33
|
];
|
|
@@ -13,7 +13,7 @@ import { WithdrawalStepType } from './withdrawalStepType';
|
|
|
13
13
|
export declare class WithdrawalStep {
|
|
14
14
|
'type'?: WithdrawalStepType;
|
|
15
15
|
/**
|
|
16
|
-
* The timestamp when
|
|
16
|
+
* The timestamp when withdrawal was processed.
|
|
17
17
|
*/
|
|
18
18
|
'timestamp'?: Date;
|
|
19
19
|
static discriminator: string | undefined;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.WithdrawalStepType = void 0;
|
|
15
15
|
/**
|
|
16
|
-
* Specifies the
|
|
16
|
+
* Specifies the status of the withdrawal process.
|
|
17
17
|
*/
|
|
18
18
|
var WithdrawalStepType;
|
|
19
19
|
(function (WithdrawalStepType) {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { RequestFile } from './models';
|
|
14
14
|
|
|
15
|
-
export class
|
|
15
|
+
export class CreateRFQDocumentRequest {
|
|
16
16
|
'validatorIndices': Array<number>;
|
|
17
17
|
'paymentAddress': string;
|
|
18
18
|
|
|
@@ -31,7 +31,7 @@ export class CreateRFQDocumentForSellerRequest {
|
|
|
31
31
|
} ];
|
|
32
32
|
|
|
33
33
|
static getAttributeTypeMap() {
|
|
34
|
-
return
|
|
34
|
+
return CreateRFQDocumentRequest.attributeTypeMap;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class ExitEstimateBase {
|
|
16
|
+
'estimatedExitTime': Date;
|
|
17
|
+
'timestamp': Date;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
22
|
+
{
|
|
23
|
+
"name": "estimatedExitTime",
|
|
24
|
+
"baseName": "estimated_exit_time",
|
|
25
|
+
"type": "Date"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "timestamp",
|
|
29
|
+
"baseName": "timestamp",
|
|
30
|
+
"type": "Date"
|
|
31
|
+
} ];
|
|
32
|
+
|
|
33
|
+
static getAttributeTypeMap() {
|
|
34
|
+
return ExitEstimateBase.attributeTypeMap;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
|
|
13
13
|
import { RequestFile } from './models';
|
|
14
14
|
|
|
15
|
-
export class
|
|
15
|
+
export class ExitEstimateSeller {
|
|
16
16
|
'estimatedExitTime': Date;
|
|
17
|
-
'estimatedExitTransactionDeadline': Date;
|
|
18
17
|
'timestamp': Date;
|
|
18
|
+
'estimatedExitTransactionDeadline': Date;
|
|
19
19
|
|
|
20
20
|
static discriminator: string | undefined = undefined;
|
|
21
21
|
|
|
@@ -26,18 +26,18 @@ export class ExitEstimate {
|
|
|
26
26
|
"type": "Date"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
"name": "
|
|
30
|
-
"baseName": "
|
|
29
|
+
"name": "timestamp",
|
|
30
|
+
"baseName": "timestamp",
|
|
31
31
|
"type": "Date"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
"name": "
|
|
35
|
-
"baseName": "
|
|
34
|
+
"name": "estimatedExitTransactionDeadline",
|
|
35
|
+
"baseName": "estimated_exit_transaction_deadline",
|
|
36
36
|
"type": "Date"
|
|
37
37
|
} ];
|
|
38
38
|
|
|
39
39
|
static getAttributeTypeMap() {
|
|
40
|
-
return
|
|
40
|
+
return ExitEstimateSeller.attributeTypeMap;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
package/model/models.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import jwt from 'jsonwebtoken';
|
|
2
2
|
import localVarRequest from 'request';
|
|
3
3
|
|
|
4
|
-
export * from './acceptBidForRFQDocumentRequest';
|
|
5
4
|
export * from './accountEntity';
|
|
6
5
|
export * from './addLinkedWalletForManagedUserRequest';
|
|
7
6
|
export * from './addLinkedWalletRequest';
|
|
@@ -10,51 +9,58 @@ export * from './configSource';
|
|
|
10
9
|
export * from './createManagedUserRequest';
|
|
11
10
|
export * from './createNewOrderRequest';
|
|
12
11
|
export * from './createOrderForManagedUserRequest';
|
|
13
|
-
export * from './
|
|
12
|
+
export * from './createRFQDocumentRequest';
|
|
14
13
|
export * from './depositAccount';
|
|
15
14
|
export * from './errorResponse';
|
|
16
|
-
export * from './
|
|
15
|
+
export * from './exitEstimateBase';
|
|
16
|
+
export * from './exitEstimateSeller';
|
|
17
17
|
export * from './getAllManagedUsers200Response';
|
|
18
18
|
export * from './getDepositAddressesForManagedUser200Response';
|
|
19
|
-
export * from './getRewardsStatistics200ResponseInner';
|
|
20
19
|
export * from './getTransactionStatistics200ResponseInner';
|
|
21
|
-
export * from './getValidatorKeys200ResponseInner';
|
|
22
20
|
export * from './managedUser';
|
|
23
21
|
export * from './orderDocument';
|
|
24
22
|
export * from './orderDocumentSteps';
|
|
25
23
|
export * from './orderUpdatePayload';
|
|
26
|
-
export * from './
|
|
24
|
+
export * from './portfolioEntity';
|
|
27
25
|
export * from './provideEscrowHashForRFQDocumentRequest';
|
|
28
26
|
export * from './quote';
|
|
29
27
|
export * from './rFQBids';
|
|
30
28
|
export * from './rFQDocumentBase';
|
|
31
29
|
export * from './rFQDocumentBaseUniqueEscrowVault';
|
|
32
|
-
export * from './rFQDocumentBaseValidatorsInner';
|
|
33
30
|
export * from './rFQDocumentBuyer';
|
|
31
|
+
export * from './rFQDocumentBuyerAllOfValidators';
|
|
32
|
+
export * from './rFQDocumentBuyerStatusFilterEnum';
|
|
34
33
|
export * from './rFQDocumentSeller';
|
|
34
|
+
export * from './rFQDocumentSellerAllOfValidators';
|
|
35
|
+
export * from './rFQDocumentSellerStatusFilterEnum';
|
|
36
|
+
export * from './rFQDocumentStatusEnum';
|
|
35
37
|
export * from './rFQDocumentUpdate';
|
|
36
|
-
export * from './rFQMarketPlaceMetadata';
|
|
37
38
|
export * from './rFQUpdatePayload';
|
|
38
39
|
export * from './rFQWebhookEventType';
|
|
39
|
-
export * from './
|
|
40
|
+
export * from './rejectQuoteForRFQDocumentRequest';
|
|
40
41
|
export * from './rewardStat';
|
|
41
42
|
export * from './settlementStepAcceptedQuote';
|
|
42
43
|
export * from './settlementStepEscrowPayment';
|
|
43
44
|
export * from './settlementStepEscrowReleased';
|
|
44
|
-
export * from './
|
|
45
|
+
export * from './settlementStepWithdrawalRecipientSettlement';
|
|
45
46
|
export * from './settlementSteps';
|
|
46
47
|
export * from './stakeOrder';
|
|
47
48
|
export * from './stakeStep';
|
|
48
49
|
export * from './stakeStepElement';
|
|
49
50
|
export * from './stepStatus';
|
|
51
|
+
export * from './submitQuoteForRFQDocumentRequest';
|
|
50
52
|
export * from './tokenEnum';
|
|
51
53
|
export * from './transactionStat';
|
|
52
54
|
export * from './unstakeOrder';
|
|
53
55
|
export * from './unstakeStep';
|
|
54
56
|
export * from './unstakeStepElement';
|
|
55
57
|
export * from './unstakeStepType';
|
|
58
|
+
export * from './validatorContractTypeEnum';
|
|
56
59
|
export * from './validatorInfo';
|
|
60
|
+
export * from './validatorInfoValidatorType';
|
|
61
|
+
export * from './validatorInfoValidatorTypeContract';
|
|
57
62
|
export * from './validatorKey';
|
|
63
|
+
export * from './validatorKeyHolderEnum';
|
|
58
64
|
export * from './validatorKeyKeystore';
|
|
59
65
|
export * from './validatorKeyKeystoreCrypto';
|
|
60
66
|
export * from './validatorKeyKeystoreCryptoChecksum';
|
|
@@ -75,7 +81,7 @@ export * from './webhookPayloadRFQEscrowEventDetails';
|
|
|
75
81
|
export * from './webhookPayloadRFQEscrowReleased';
|
|
76
82
|
export * from './webhookPayloadRFQEscrowReleasedDetails';
|
|
77
83
|
export * from './webhookPayloadRFQValidatorWithdrawalChange';
|
|
78
|
-
export * from './
|
|
84
|
+
export * from './webhookPayloadRFQValidatorWithdrawalChangeDetails';
|
|
79
85
|
export * from './webhookRegistration';
|
|
80
86
|
export * from './webhookRegistrationDetails';
|
|
81
87
|
export * from './withdrawalOrder';
|
|
@@ -96,7 +102,6 @@ export interface RequestDetailedFile {
|
|
|
96
102
|
export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
|
|
97
103
|
|
|
98
104
|
|
|
99
|
-
import { AcceptBidForRFQDocumentRequest } from './acceptBidForRFQDocumentRequest';
|
|
100
105
|
import { AccountEntity } from './accountEntity';
|
|
101
106
|
import { AddLinkedWalletForManagedUserRequest } from './addLinkedWalletForManagedUserRequest';
|
|
102
107
|
import { AddLinkedWalletRequest } from './addLinkedWalletRequest';
|
|
@@ -105,51 +110,58 @@ import { ConfigSource } from './configSource';
|
|
|
105
110
|
import { CreateManagedUserRequest } from './createManagedUserRequest';
|
|
106
111
|
import { CreateNewOrderRequest } from './createNewOrderRequest';
|
|
107
112
|
import { CreateOrderForManagedUserRequest } from './createOrderForManagedUserRequest';
|
|
108
|
-
import {
|
|
113
|
+
import { CreateRFQDocumentRequest } from './createRFQDocumentRequest';
|
|
109
114
|
import { DepositAccount } from './depositAccount';
|
|
110
115
|
import { ErrorResponse } from './errorResponse';
|
|
111
|
-
import {
|
|
116
|
+
import { ExitEstimateBase } from './exitEstimateBase';
|
|
117
|
+
import { ExitEstimateSeller } from './exitEstimateSeller';
|
|
112
118
|
import { GetAllManagedUsers200Response } from './getAllManagedUsers200Response';
|
|
113
119
|
import { GetDepositAddressesForManagedUser200Response } from './getDepositAddressesForManagedUser200Response';
|
|
114
|
-
import { GetRewardsStatistics200ResponseInner } from './getRewardsStatistics200ResponseInner';
|
|
115
120
|
import { GetTransactionStatistics200ResponseInner } from './getTransactionStatistics200ResponseInner';
|
|
116
|
-
import { GetValidatorKeys200ResponseInner } from './getValidatorKeys200ResponseInner';
|
|
117
121
|
import { ManagedUser } from './managedUser';
|
|
118
122
|
import { OrderDocument } from './orderDocument';
|
|
119
123
|
import { OrderDocumentSteps } from './orderDocumentSteps';
|
|
120
124
|
import { OrderUpdatePayload } from './orderUpdatePayload';
|
|
121
|
-
import {
|
|
125
|
+
import { PortfolioEntity } from './portfolioEntity';
|
|
122
126
|
import { ProvideEscrowHashForRFQDocumentRequest } from './provideEscrowHashForRFQDocumentRequest';
|
|
123
127
|
import { Quote } from './quote';
|
|
124
128
|
import { RFQBids } from './rFQBids';
|
|
125
129
|
import { RFQDocumentBase } from './rFQDocumentBase';
|
|
126
130
|
import { RFQDocumentBaseUniqueEscrowVault } from './rFQDocumentBaseUniqueEscrowVault';
|
|
127
|
-
import { RFQDocumentBaseValidatorsInner } from './rFQDocumentBaseValidatorsInner';
|
|
128
131
|
import { RFQDocumentBuyer } from './rFQDocumentBuyer';
|
|
132
|
+
import { RFQDocumentBuyerAllOfValidators } from './rFQDocumentBuyerAllOfValidators';
|
|
133
|
+
import { RFQDocumentBuyerStatusFilterEnum } from './rFQDocumentBuyerStatusFilterEnum';
|
|
129
134
|
import { RFQDocumentSeller } from './rFQDocumentSeller';
|
|
135
|
+
import { RFQDocumentSellerAllOfValidators } from './rFQDocumentSellerAllOfValidators';
|
|
136
|
+
import { RFQDocumentSellerStatusFilterEnum } from './rFQDocumentSellerStatusFilterEnum';
|
|
137
|
+
import { RFQDocumentStatusEnum } from './rFQDocumentStatusEnum';
|
|
130
138
|
import { RFQDocumentUpdate } from './rFQDocumentUpdate';
|
|
131
|
-
import { RFQMarketPlaceMetadata } from './rFQMarketPlaceMetadata';
|
|
132
139
|
import { RFQUpdatePayload } from './rFQUpdatePayload';
|
|
133
140
|
import { RFQWebhookEventType } from './rFQWebhookEventType';
|
|
134
|
-
import {
|
|
141
|
+
import { RejectQuoteForRFQDocumentRequest } from './rejectQuoteForRFQDocumentRequest';
|
|
135
142
|
import { RewardStat } from './rewardStat';
|
|
136
143
|
import { SettlementStepAcceptedQuote } from './settlementStepAcceptedQuote';
|
|
137
144
|
import { SettlementStepEscrowPayment } from './settlementStepEscrowPayment';
|
|
138
145
|
import { SettlementStepEscrowReleased } from './settlementStepEscrowReleased';
|
|
139
|
-
import {
|
|
146
|
+
import { SettlementStepWithdrawalRecipientSettlement } from './settlementStepWithdrawalRecipientSettlement';
|
|
140
147
|
import { SettlementSteps } from './settlementSteps';
|
|
141
148
|
import { StakeOrder } from './stakeOrder';
|
|
142
149
|
import { StakeStep } from './stakeStep';
|
|
143
150
|
import { StakeStepElement } from './stakeStepElement';
|
|
144
151
|
import { StepStatus } from './stepStatus';
|
|
152
|
+
import { SubmitQuoteForRFQDocumentRequest } from './submitQuoteForRFQDocumentRequest';
|
|
145
153
|
import { TokenEnum } from './tokenEnum';
|
|
146
154
|
import { TransactionStat } from './transactionStat';
|
|
147
155
|
import { UnstakeOrder } from './unstakeOrder';
|
|
148
156
|
import { UnstakeStep } from './unstakeStep';
|
|
149
157
|
import { UnstakeStepElement } from './unstakeStepElement';
|
|
150
158
|
import { UnstakeStepType } from './unstakeStepType';
|
|
159
|
+
import { ValidatorContractTypeEnum } from './validatorContractTypeEnum';
|
|
151
160
|
import { ValidatorInfo } from './validatorInfo';
|
|
161
|
+
import { ValidatorInfoValidatorType } from './validatorInfoValidatorType';
|
|
162
|
+
import { ValidatorInfoValidatorTypeContract } from './validatorInfoValidatorTypeContract';
|
|
152
163
|
import { ValidatorKey } from './validatorKey';
|
|
164
|
+
import { ValidatorKeyHolderEnum } from './validatorKeyHolderEnum';
|
|
153
165
|
import { ValidatorKeyKeystore } from './validatorKeyKeystore';
|
|
154
166
|
import { ValidatorKeyKeystoreCrypto } from './validatorKeyKeystoreCrypto';
|
|
155
167
|
import { ValidatorKeyKeystoreCryptoChecksum } from './validatorKeyKeystoreCryptoChecksum';
|
|
@@ -170,7 +182,7 @@ import { WebhookPayloadRFQEscrowEventDetails } from './webhookPayloadRFQEscrowEv
|
|
|
170
182
|
import { WebhookPayloadRFQEscrowReleased } from './webhookPayloadRFQEscrowReleased';
|
|
171
183
|
import { WebhookPayloadRFQEscrowReleasedDetails } from './webhookPayloadRFQEscrowReleasedDetails';
|
|
172
184
|
import { WebhookPayloadRFQValidatorWithdrawalChange } from './webhookPayloadRFQValidatorWithdrawalChange';
|
|
173
|
-
import {
|
|
185
|
+
import { WebhookPayloadRFQValidatorWithdrawalChangeDetails } from './webhookPayloadRFQValidatorWithdrawalChangeDetails';
|
|
174
186
|
import { WebhookRegistration } from './webhookRegistration';
|
|
175
187
|
import { WebhookRegistrationDetails } from './webhookRegistrationDetails';
|
|
176
188
|
import { WithdrawalOrder } from './withdrawalOrder';
|
|
@@ -197,20 +209,24 @@ let enumsMap: {[index: string]: any} = {
|
|
|
197
209
|
"CreateOrderForManagedUserRequest.OrderTypeEnum": CreateOrderForManagedUserRequest.OrderTypeEnum,
|
|
198
210
|
"OrderDocument.TypeEnum": OrderDocument.TypeEnum,
|
|
199
211
|
"OrderDocument.StatusEnum": OrderDocument.StatusEnum,
|
|
212
|
+
"RFQDocumentBuyerStatusFilterEnum": RFQDocumentBuyerStatusFilterEnum,
|
|
213
|
+
"RFQDocumentSellerStatusFilterEnum": RFQDocumentSellerStatusFilterEnum,
|
|
214
|
+
"RFQDocumentStatusEnum": RFQDocumentStatusEnum,
|
|
200
215
|
"RFQWebhookEventType": RFQWebhookEventType,
|
|
201
216
|
"StakeOrder.OrderTypeEnum": StakeOrder.OrderTypeEnum,
|
|
202
217
|
"StepStatus": StepStatus,
|
|
203
218
|
"TokenEnum": TokenEnum,
|
|
204
219
|
"UnstakeOrder.OrderTypeEnum": UnstakeOrder.OrderTypeEnum,
|
|
205
220
|
"UnstakeStepType": UnstakeStepType,
|
|
221
|
+
"ValidatorContractTypeEnum": ValidatorContractTypeEnum,
|
|
206
222
|
"ValidatorInfo.TokenEnum": ValidatorInfo.TokenEnum,
|
|
207
223
|
"ValidatorInfo.StatusEnum": ValidatorInfo.StatusEnum,
|
|
224
|
+
"ValidatorKeyHolderEnum": ValidatorKeyHolderEnum,
|
|
208
225
|
"WithdrawalOrder.OrderTypeEnum": WithdrawalOrder.OrderTypeEnum,
|
|
209
226
|
"WithdrawalStepType": WithdrawalStepType,
|
|
210
227
|
}
|
|
211
228
|
|
|
212
229
|
let typeMap: {[index: string]: any} = {
|
|
213
|
-
"AcceptBidForRFQDocumentRequest": AcceptBidForRFQDocumentRequest,
|
|
214
230
|
"AccountEntity": AccountEntity,
|
|
215
231
|
"AddLinkedWalletForManagedUserRequest": AddLinkedWalletForManagedUserRequest,
|
|
216
232
|
"AddLinkedWalletRequest": AddLinkedWalletRequest,
|
|
@@ -218,46 +234,48 @@ let typeMap: {[index: string]: any} = {
|
|
|
218
234
|
"CreateManagedUserRequest": CreateManagedUserRequest,
|
|
219
235
|
"CreateNewOrderRequest": CreateNewOrderRequest,
|
|
220
236
|
"CreateOrderForManagedUserRequest": CreateOrderForManagedUserRequest,
|
|
221
|
-
"
|
|
237
|
+
"CreateRFQDocumentRequest": CreateRFQDocumentRequest,
|
|
222
238
|
"DepositAccount": DepositAccount,
|
|
223
239
|
"ErrorResponse": ErrorResponse,
|
|
224
|
-
"
|
|
240
|
+
"ExitEstimateBase": ExitEstimateBase,
|
|
241
|
+
"ExitEstimateSeller": ExitEstimateSeller,
|
|
225
242
|
"GetAllManagedUsers200Response": GetAllManagedUsers200Response,
|
|
226
243
|
"GetDepositAddressesForManagedUser200Response": GetDepositAddressesForManagedUser200Response,
|
|
227
|
-
"GetRewardsStatistics200ResponseInner": GetRewardsStatistics200ResponseInner,
|
|
228
244
|
"GetTransactionStatistics200ResponseInner": GetTransactionStatistics200ResponseInner,
|
|
229
|
-
"GetValidatorKeys200ResponseInner": GetValidatorKeys200ResponseInner,
|
|
230
245
|
"ManagedUser": ManagedUser,
|
|
231
246
|
"OrderDocument": OrderDocument,
|
|
232
247
|
"OrderDocumentSteps": OrderDocumentSteps,
|
|
233
248
|
"OrderUpdatePayload": OrderUpdatePayload,
|
|
234
|
-
"
|
|
249
|
+
"PortfolioEntity": PortfolioEntity,
|
|
235
250
|
"ProvideEscrowHashForRFQDocumentRequest": ProvideEscrowHashForRFQDocumentRequest,
|
|
236
251
|
"Quote": Quote,
|
|
237
252
|
"RFQBids": RFQBids,
|
|
238
253
|
"RFQDocumentBase": RFQDocumentBase,
|
|
239
254
|
"RFQDocumentBaseUniqueEscrowVault": RFQDocumentBaseUniqueEscrowVault,
|
|
240
|
-
"RFQDocumentBaseValidatorsInner": RFQDocumentBaseValidatorsInner,
|
|
241
255
|
"RFQDocumentBuyer": RFQDocumentBuyer,
|
|
256
|
+
"RFQDocumentBuyerAllOfValidators": RFQDocumentBuyerAllOfValidators,
|
|
242
257
|
"RFQDocumentSeller": RFQDocumentSeller,
|
|
258
|
+
"RFQDocumentSellerAllOfValidators": RFQDocumentSellerAllOfValidators,
|
|
243
259
|
"RFQDocumentUpdate": RFQDocumentUpdate,
|
|
244
|
-
"RFQMarketPlaceMetadata": RFQMarketPlaceMetadata,
|
|
245
260
|
"RFQUpdatePayload": RFQUpdatePayload,
|
|
246
|
-
"
|
|
261
|
+
"RejectQuoteForRFQDocumentRequest": RejectQuoteForRFQDocumentRequest,
|
|
247
262
|
"RewardStat": RewardStat,
|
|
248
263
|
"SettlementStepAcceptedQuote": SettlementStepAcceptedQuote,
|
|
249
264
|
"SettlementStepEscrowPayment": SettlementStepEscrowPayment,
|
|
250
265
|
"SettlementStepEscrowReleased": SettlementStepEscrowReleased,
|
|
251
|
-
"
|
|
266
|
+
"SettlementStepWithdrawalRecipientSettlement": SettlementStepWithdrawalRecipientSettlement,
|
|
252
267
|
"SettlementSteps": SettlementSteps,
|
|
253
268
|
"StakeOrder": StakeOrder,
|
|
254
269
|
"StakeStep": StakeStep,
|
|
255
270
|
"StakeStepElement": StakeStepElement,
|
|
271
|
+
"SubmitQuoteForRFQDocumentRequest": SubmitQuoteForRFQDocumentRequest,
|
|
256
272
|
"TransactionStat": TransactionStat,
|
|
257
273
|
"UnstakeOrder": UnstakeOrder,
|
|
258
274
|
"UnstakeStep": UnstakeStep,
|
|
259
275
|
"UnstakeStepElement": UnstakeStepElement,
|
|
260
276
|
"ValidatorInfo": ValidatorInfo,
|
|
277
|
+
"ValidatorInfoValidatorType": ValidatorInfoValidatorType,
|
|
278
|
+
"ValidatorInfoValidatorTypeContract": ValidatorInfoValidatorTypeContract,
|
|
261
279
|
"ValidatorKey": ValidatorKey,
|
|
262
280
|
"ValidatorKeyKeystore": ValidatorKeyKeystore,
|
|
263
281
|
"ValidatorKeyKeystoreCrypto": ValidatorKeyKeystoreCrypto,
|
|
@@ -279,7 +297,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
279
297
|
"WebhookPayloadRFQEscrowReleased": WebhookPayloadRFQEscrowReleased,
|
|
280
298
|
"WebhookPayloadRFQEscrowReleasedDetails": WebhookPayloadRFQEscrowReleasedDetails,
|
|
281
299
|
"WebhookPayloadRFQValidatorWithdrawalChange": WebhookPayloadRFQValidatorWithdrawalChange,
|
|
282
|
-
"
|
|
300
|
+
"WebhookPayloadRFQValidatorWithdrawalChangeDetails": WebhookPayloadRFQValidatorWithdrawalChangeDetails,
|
|
283
301
|
"WebhookRegistration": WebhookRegistration,
|
|
284
302
|
"WebhookRegistrationDetails": WebhookRegistrationDetails,
|
|
285
303
|
"WithdrawalOrder": WithdrawalOrder,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { TokenEnum } from './tokenEnum';
|
|
15
|
+
|
|
16
|
+
export class PortfolioEntity {
|
|
17
|
+
'asset': TokenEnum;
|
|
18
|
+
'totalAmount': string;
|
|
19
|
+
'stakedAmount': string;
|
|
20
|
+
|
|
21
|
+
static discriminator: string | undefined = undefined;
|
|
22
|
+
|
|
23
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
24
|
+
{
|
|
25
|
+
"name": "asset",
|
|
26
|
+
"baseName": "asset",
|
|
27
|
+
"type": "TokenEnum"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "totalAmount",
|
|
31
|
+
"baseName": "totalAmount",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "stakedAmount",
|
|
36
|
+
"baseName": "stakedAmount",
|
|
37
|
+
"type": "string"
|
|
38
|
+
} ];
|
|
39
|
+
|
|
40
|
+
static getAttributeTypeMap() {
|
|
41
|
+
return PortfolioEntity.attributeTypeMap;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export namespace PortfolioEntity {
|
|
46
|
+
}
|