@northstake/northstakeapi 1.0.21 → 1.0.23
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 +9 -0
- package/.openapi-generator/VERSION +1 -1
- package/api/apis.ts +3 -1
- package/api/managedUsersValidatorsApi.ts +116 -0
- package/api/validatorMarketplaceFacilitatorApi.ts +360 -0
- package/api/validatorsApi.ts +109 -0
- package/api.ts +12 -0
- package/dist/api/apis.d.ts +3 -1
- package/dist/api/apis.js +3 -1
- package/dist/api/managedUsersValidatorsApi.d.ts +27 -0
- package/dist/api/managedUsersValidatorsApi.js +87 -0
- package/dist/api/validatorMarketplaceFacilitatorApi.d.ts +80 -0
- package/dist/api/validatorMarketplaceFacilitatorApi.js +280 -0
- package/dist/api/validatorsApi.d.ts +25 -0
- package/dist/api/validatorsApi.js +81 -0
- package/dist/api.d.ts +10 -0
- package/dist/api.js +11 -0
- package/dist/model/getMarketplaceMetadata200Response.d.ts +36 -0
- package/dist/model/getMarketplaceMetadata200Response.js +38 -0
- package/dist/model/getWithdrawalsResponse.d.ts +38 -0
- package/dist/model/getWithdrawalsResponse.js +43 -0
- package/dist/model/listAllRFQsForFacilitator200Response.d.ts +38 -0
- package/dist/model/listAllRFQsForFacilitator200Response.js +43 -0
- package/dist/model/models.d.ts +8 -0
- package/dist/model/models.js +24 -0
- package/dist/model/rFQBidFacilitator.d.ts +27 -0
- package/dist/model/rFQBidFacilitator.js +38 -0
- package/dist/model/rFQDocumentBase.d.ts +1 -0
- package/dist/model/rFQDocumentBase.js +5 -0
- package/dist/model/rFQDocumentBuyer.d.ts +1 -0
- package/dist/model/rFQDocumentBuyer.js +5 -0
- package/dist/model/rFQDocumentFacilitator.d.ts +38 -0
- package/dist/model/rFQDocumentFacilitator.js +53 -0
- package/dist/model/rFQDocumentFacilitatorStatusFilter.d.ts +12 -0
- package/dist/model/rFQDocumentFacilitatorStatusFilter.js +13 -0
- package/dist/model/rFQDocumentFacilitatorValidatorsInner.d.ts +27 -0
- package/dist/model/rFQDocumentFacilitatorValidatorsInner.js +38 -0
- package/dist/model/rFQDocumentSeller.d.ts +2 -0
- package/dist/model/rFQDocumentSeller.js +10 -0
- package/dist/model/validatorWithdrawal.d.ts +38 -0
- package/dist/model/validatorWithdrawal.js +63 -0
- package/dist/model/webhookPayloadRFQWithdrawalClaimableDetails.d.ts +1 -0
- package/dist/model/webhookPayloadRFQWithdrawalClaimableDetails.js +5 -0
- package/model/getMarketplaceMetadata200Response.ts +52 -0
- package/model/getWithdrawalsResponse.ts +59 -0
- package/model/listAllRFQsForFacilitator200Response.ts +59 -0
- package/model/models.ts +41 -0
- package/model/rFQBidFacilitator.ts +43 -0
- package/model/rFQDocumentBase.ts +6 -0
- package/model/rFQDocumentBuyer.ts +6 -0
- package/model/rFQDocumentFacilitator.ts +74 -0
- package/model/rFQDocumentFacilitatorStatusFilter.ts +18 -0
- package/model/rFQDocumentFacilitatorValidatorsInner.ts +43 -0
- package/model/rFQDocumentSeller.ts +12 -0
- package/model/validatorWithdrawal.ts +80 -0
- package/model/webhookPayloadRFQWithdrawalClaimableDetails.ts +6 -0
- package/package.json +3 -3
|
@@ -22,6 +22,7 @@ export declare class RFQDocumentBuyer {
|
|
|
22
22
|
'estimated_all_validators_exited_at': Date;
|
|
23
23
|
'unique_escrow_vault'?: RFQDocumentBaseUniqueEscrowVault;
|
|
24
24
|
'settlement_steps'?: SettlementSteps;
|
|
25
|
+
'smart_contract'?: string;
|
|
25
26
|
'validators': Array<RFQDocumentBuyerAllOfValidators>;
|
|
26
27
|
'quote'?: Quote;
|
|
27
28
|
static discriminator: string | undefined;
|
|
@@ -55,6 +55,11 @@ RFQDocumentBuyer.attributeTypeMap = [
|
|
|
55
55
|
"baseName": "settlement_steps",
|
|
56
56
|
"type": "SettlementSteps"
|
|
57
57
|
},
|
|
58
|
+
{
|
|
59
|
+
"name": "smart_contract",
|
|
60
|
+
"baseName": "smart_contract",
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
58
63
|
{
|
|
59
64
|
"name": "validators",
|
|
60
65
|
"baseName": "validators",
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { Quote } from './quote';
|
|
13
|
+
import { RFQDocumentFacilitatorValidatorsInner } from './rFQDocumentFacilitatorValidatorsInner';
|
|
14
|
+
export declare class RFQDocumentFacilitator {
|
|
15
|
+
'id': string;
|
|
16
|
+
'status': RFQDocumentFacilitator;
|
|
17
|
+
'total_balance': number;
|
|
18
|
+
'payment_address': string;
|
|
19
|
+
'validators': Array<RFQDocumentFacilitatorValidatorsInner>;
|
|
20
|
+
'quotes'?: Array<Quote>;
|
|
21
|
+
static discriminator: string | undefined;
|
|
22
|
+
static attributeTypeMap: Array<{
|
|
23
|
+
name: string;
|
|
24
|
+
baseName: string;
|
|
25
|
+
type: string;
|
|
26
|
+
}>;
|
|
27
|
+
static getAttributeTypeMap(): {
|
|
28
|
+
name: string;
|
|
29
|
+
baseName: string;
|
|
30
|
+
type: string;
|
|
31
|
+
}[];
|
|
32
|
+
}
|
|
33
|
+
export declare namespace RFQDocumentFacilitator {
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
type statusEnum = 'active' | 'expired' | 'rejected' | 'finished' | 'failed';
|
|
38
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.RFQDocumentFacilitator = void 0;
|
|
15
|
+
class RFQDocumentFacilitator {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return RFQDocumentFacilitator.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.RFQDocumentFacilitator = RFQDocumentFacilitator;
|
|
21
|
+
RFQDocumentFacilitator.discriminator = undefined;
|
|
22
|
+
RFQDocumentFacilitator.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "id",
|
|
25
|
+
"baseName": "id",
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "status",
|
|
30
|
+
"baseName": "status",
|
|
31
|
+
"type": "RFQDocumentFacilitator.StatusEnum"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "total_balance",
|
|
35
|
+
"baseName": "total_balance",
|
|
36
|
+
"type": "number"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "payment_address",
|
|
40
|
+
"baseName": "payment_address",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "validators",
|
|
45
|
+
"baseName": "validators",
|
|
46
|
+
"type": "Array<RFQDocumentFacilitatorValidatorsInner>"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "quotes",
|
|
50
|
+
"baseName": "quotes",
|
|
51
|
+
"type": "Array<Quote>"
|
|
52
|
+
}
|
|
53
|
+
];
|
|
@@ -0,0 +1,12 @@
|
|
|
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 type RFQDocumentFacilitatorStatusFilter = 'active' | 'expired' | 'finished';
|
|
@@ -0,0 +1,13 @@
|
|
|
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 });
|
|
@@ -0,0 +1,27 @@
|
|
|
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 class RFQDocumentFacilitatorValidatorsInner {
|
|
13
|
+
'validator_index'?: number;
|
|
14
|
+
'balance'?: number;
|
|
15
|
+
'exit_estimate'?: Date;
|
|
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
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.RFQDocumentFacilitatorValidatorsInner = void 0;
|
|
15
|
+
class RFQDocumentFacilitatorValidatorsInner {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return RFQDocumentFacilitatorValidatorsInner.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.RFQDocumentFacilitatorValidatorsInner = RFQDocumentFacilitatorValidatorsInner;
|
|
21
|
+
RFQDocumentFacilitatorValidatorsInner.discriminator = undefined;
|
|
22
|
+
RFQDocumentFacilitatorValidatorsInner.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "validator_index",
|
|
25
|
+
"baseName": "validator_index",
|
|
26
|
+
"type": "number"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "balance",
|
|
30
|
+
"baseName": "balance",
|
|
31
|
+
"type": "number"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "exit_estimate",
|
|
35
|
+
"baseName": "exit_estimate",
|
|
36
|
+
"type": "Date"
|
|
37
|
+
}
|
|
38
|
+
];
|
|
@@ -22,9 +22,11 @@ export declare class RFQDocumentSeller {
|
|
|
22
22
|
'estimated_all_validators_exited_at': Date;
|
|
23
23
|
'unique_escrow_vault'?: RFQDocumentBaseUniqueEscrowVault;
|
|
24
24
|
'settlement_steps'?: SettlementSteps;
|
|
25
|
+
'smart_contract'?: string;
|
|
25
26
|
'validators': Array<RFQDocumentSellerAllOfValidators>;
|
|
26
27
|
'estimated_exit_transaction_deadline': Date;
|
|
27
28
|
'best_quote'?: Quote;
|
|
29
|
+
'quotes'?: Array<Quote>;
|
|
28
30
|
static discriminator: string | undefined;
|
|
29
31
|
static attributeTypeMap: Array<{
|
|
30
32
|
name: string;
|
|
@@ -55,6 +55,11 @@ RFQDocumentSeller.attributeTypeMap = [
|
|
|
55
55
|
"baseName": "settlement_steps",
|
|
56
56
|
"type": "SettlementSteps"
|
|
57
57
|
},
|
|
58
|
+
{
|
|
59
|
+
"name": "smart_contract",
|
|
60
|
+
"baseName": "smart_contract",
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
58
63
|
{
|
|
59
64
|
"name": "validators",
|
|
60
65
|
"baseName": "validators",
|
|
@@ -69,5 +74,10 @@ RFQDocumentSeller.attributeTypeMap = [
|
|
|
69
74
|
"name": "best_quote",
|
|
70
75
|
"baseName": "best_quote",
|
|
71
76
|
"type": "Quote"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "quotes",
|
|
80
|
+
"baseName": "quotes",
|
|
81
|
+
"type": "Array<Quote>"
|
|
72
82
|
}
|
|
73
83
|
];
|
|
@@ -0,0 +1,38 @@
|
|
|
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 class ValidatorWithdrawal {
|
|
13
|
+
'asset': ValidatorWithdrawal;
|
|
14
|
+
'validator_public_key': string;
|
|
15
|
+
'validator_index': number;
|
|
16
|
+
'epoch': number;
|
|
17
|
+
'slot': number;
|
|
18
|
+
'withdrawal_time': Date;
|
|
19
|
+
'withdrawal_index': number;
|
|
20
|
+
'withdrawal_address': string;
|
|
21
|
+
static discriminator: string | undefined;
|
|
22
|
+
static attributeTypeMap: Array<{
|
|
23
|
+
name: string;
|
|
24
|
+
baseName: string;
|
|
25
|
+
type: string;
|
|
26
|
+
}>;
|
|
27
|
+
static getAttributeTypeMap(): {
|
|
28
|
+
name: string;
|
|
29
|
+
baseName: string;
|
|
30
|
+
type: string;
|
|
31
|
+
}[];
|
|
32
|
+
}
|
|
33
|
+
export declare namespace ValidatorWithdrawal {
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
type assetEnum = 'ETH';
|
|
38
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.ValidatorWithdrawal = void 0;
|
|
15
|
+
class ValidatorWithdrawal {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return ValidatorWithdrawal.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.ValidatorWithdrawal = ValidatorWithdrawal;
|
|
21
|
+
ValidatorWithdrawal.discriminator = undefined;
|
|
22
|
+
ValidatorWithdrawal.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "asset",
|
|
25
|
+
"baseName": "asset",
|
|
26
|
+
"type": "ValidatorWithdrawal.AssetEnum"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "validator_public_key",
|
|
30
|
+
"baseName": "validator_public_key",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "validator_index",
|
|
35
|
+
"baseName": "validator_index",
|
|
36
|
+
"type": "number"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "epoch",
|
|
40
|
+
"baseName": "epoch",
|
|
41
|
+
"type": "number"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "slot",
|
|
45
|
+
"baseName": "slot",
|
|
46
|
+
"type": "number"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "withdrawal_time",
|
|
50
|
+
"baseName": "withdrawal_time",
|
|
51
|
+
"type": "Date"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "withdrawal_index",
|
|
55
|
+
"baseName": "withdrawal_index",
|
|
56
|
+
"type": "number"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "withdrawal_address",
|
|
60
|
+
"baseName": "withdrawal_address",
|
|
61
|
+
"type": "string"
|
|
62
|
+
}
|
|
63
|
+
];
|
|
@@ -20,6 +20,11 @@ class WebhookPayloadRFQWithdrawalClaimableDetails {
|
|
|
20
20
|
exports.WebhookPayloadRFQWithdrawalClaimableDetails = WebhookPayloadRFQWithdrawalClaimableDetails;
|
|
21
21
|
WebhookPayloadRFQWithdrawalClaimableDetails.discriminator = undefined;
|
|
22
22
|
WebhookPayloadRFQWithdrawalClaimableDetails.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "smart_contract",
|
|
25
|
+
"baseName": "smart_contract",
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
23
28
|
{
|
|
24
29
|
"name": "validator_index",
|
|
25
30
|
"baseName": "validator_index",
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
|
|
14
|
+
export class GetMarketplaceMetadata200Response {
|
|
15
|
+
/**
|
|
16
|
+
* Total number of RFQs in the marketplace
|
|
17
|
+
*/
|
|
18
|
+
'totalRFQs'?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Number of active RFQs
|
|
21
|
+
*/
|
|
22
|
+
'activeRFQs'?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Number of expired RFQs
|
|
25
|
+
*/
|
|
26
|
+
'expiredRFQs'?: number;
|
|
27
|
+
|
|
28
|
+
static discriminator: string | undefined = undefined;
|
|
29
|
+
|
|
30
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
31
|
+
{
|
|
32
|
+
"name": "totalRFQs",
|
|
33
|
+
"baseName": "totalRFQs",
|
|
34
|
+
"type": "number"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "activeRFQs",
|
|
38
|
+
"baseName": "activeRFQs",
|
|
39
|
+
"type": "number"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "expiredRFQs",
|
|
43
|
+
"baseName": "expiredRFQs",
|
|
44
|
+
"type": "number"
|
|
45
|
+
} ];
|
|
46
|
+
|
|
47
|
+
static getAttributeTypeMap() {
|
|
48
|
+
return GetMarketplaceMetadata200Response.attributeTypeMap;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { ValidatorWithdrawal } from './validatorWithdrawal';
|
|
14
|
+
|
|
15
|
+
export class GetWithdrawalsResponse {
|
|
16
|
+
'withdrawals': Array<ValidatorWithdrawal>;
|
|
17
|
+
/**
|
|
18
|
+
* Total number of pages
|
|
19
|
+
*/
|
|
20
|
+
'pages': number;
|
|
21
|
+
/**
|
|
22
|
+
* Total number of withdrawals
|
|
23
|
+
*/
|
|
24
|
+
'total': number;
|
|
25
|
+
/**
|
|
26
|
+
* Current page number
|
|
27
|
+
*/
|
|
28
|
+
'currentPage': number;
|
|
29
|
+
|
|
30
|
+
static discriminator: string | undefined = undefined;
|
|
31
|
+
|
|
32
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
33
|
+
{
|
|
34
|
+
"name": "withdrawals",
|
|
35
|
+
"baseName": "withdrawals",
|
|
36
|
+
"type": "Array<ValidatorWithdrawal>"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "pages",
|
|
40
|
+
"baseName": "pages",
|
|
41
|
+
"type": "number"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "total",
|
|
45
|
+
"baseName": "total",
|
|
46
|
+
"type": "number"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "currentPage",
|
|
50
|
+
"baseName": "currentPage",
|
|
51
|
+
"type": "number"
|
|
52
|
+
} ];
|
|
53
|
+
|
|
54
|
+
static getAttributeTypeMap() {
|
|
55
|
+
return GetWithdrawalsResponse.attributeTypeMap;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { RFQDocumentFacilitator } from './rFQDocumentFacilitator';
|
|
14
|
+
|
|
15
|
+
export class ListAllRFQsForFacilitator200Response {
|
|
16
|
+
'rfqs'?: Array<RFQDocumentFacilitator>;
|
|
17
|
+
/**
|
|
18
|
+
* Total number of RFQs
|
|
19
|
+
*/
|
|
20
|
+
'total'?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Total number of pages
|
|
23
|
+
*/
|
|
24
|
+
'pages'?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Current page number
|
|
27
|
+
*/
|
|
28
|
+
'currentPage'?: number;
|
|
29
|
+
|
|
30
|
+
static discriminator: string | undefined = undefined;
|
|
31
|
+
|
|
32
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
33
|
+
{
|
|
34
|
+
"name": "rfqs",
|
|
35
|
+
"baseName": "rfqs",
|
|
36
|
+
"type": "Array<RFQDocumentFacilitator>"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "total",
|
|
40
|
+
"baseName": "total",
|
|
41
|
+
"type": "number"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "pages",
|
|
45
|
+
"baseName": "pages",
|
|
46
|
+
"type": "number"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "currentPage",
|
|
50
|
+
"baseName": "currentPage",
|
|
51
|
+
"type": "number"
|
|
52
|
+
} ];
|
|
53
|
+
|
|
54
|
+
static getAttributeTypeMap() {
|
|
55
|
+
return ListAllRFQsForFacilitator200Response.attributeTypeMap;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
|