@northstake/northstakeapi 1.0.22 → 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/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 +1 -0
- package/dist/model/rFQDocumentSeller.js +5 -0
- package/dist/model/validatorWithdrawal.d.ts +38 -0
- package/dist/model/validatorWithdrawal.js +63 -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/rFQDocumentFacilitator.ts +74 -0
- package/model/rFQDocumentFacilitatorStatusFilter.ts +18 -0
- package/model/rFQDocumentFacilitatorValidatorsInner.ts +43 -0
- package/model/rFQDocumentSeller.ts +6 -0
- package/model/validatorWithdrawal.ts +80 -0
- package/package.json +3 -3
|
@@ -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
|
+
];
|
|
@@ -26,6 +26,7 @@ export declare class RFQDocumentSeller {
|
|
|
26
26
|
'validators': Array<RFQDocumentSellerAllOfValidators>;
|
|
27
27
|
'estimated_exit_transaction_deadline': Date;
|
|
28
28
|
'best_quote'?: Quote;
|
|
29
|
+
'quotes'?: Array<Quote>;
|
|
29
30
|
static discriminator: string | undefined;
|
|
30
31
|
static attributeTypeMap: Array<{
|
|
31
32
|
name: string;
|
|
@@ -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
|
+
];
|
|
@@ -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
|
+
|
package/model/models.ts
CHANGED
|
@@ -26,7 +26,10 @@ export * from './ethereumValidatorKeyKeystoreCryptoKdfParams';
|
|
|
26
26
|
export * from './exitEstimateBase';
|
|
27
27
|
export * from './exitEstimateSeller';
|
|
28
28
|
export * from './exitProposal';
|
|
29
|
+
export * from './getMarketplaceMetadata200Response';
|
|
29
30
|
export * from './getTransactionsResponse';
|
|
31
|
+
export * from './getWithdrawalsResponse';
|
|
32
|
+
export * from './listAllRFQsForFacilitator200Response';
|
|
30
33
|
export * from './managedUser';
|
|
31
34
|
export * from './managedUserDetails';
|
|
32
35
|
export * from './order';
|
|
@@ -37,12 +40,16 @@ export * from './orderUpdatePayload';
|
|
|
37
40
|
export * from './portfolioEntity';
|
|
38
41
|
export * from './provideEscrowHashForRFQDocumentRequest';
|
|
39
42
|
export * from './quote';
|
|
43
|
+
export * from './rFQBidFacilitator';
|
|
40
44
|
export * from './rFQBids';
|
|
41
45
|
export * from './rFQDocumentBase';
|
|
42
46
|
export * from './rFQDocumentBaseUniqueEscrowVault';
|
|
43
47
|
export * from './rFQDocumentBuyer';
|
|
44
48
|
export * from './rFQDocumentBuyerAllOfValidators';
|
|
45
49
|
export * from './rFQDocumentBuyerStatusFilter';
|
|
50
|
+
export * from './rFQDocumentFacilitator';
|
|
51
|
+
export * from './rFQDocumentFacilitatorStatusFilter';
|
|
52
|
+
export * from './rFQDocumentFacilitatorValidatorsInner';
|
|
46
53
|
export * from './rFQDocumentSeller';
|
|
47
54
|
export * from './rFQDocumentSellerAllOfValidators';
|
|
48
55
|
export * from './rFQDocumentSellerStatusFilter';
|
|
@@ -66,6 +73,7 @@ export * from './unstakeStepType';
|
|
|
66
73
|
export * from './validatorInfo';
|
|
67
74
|
export * from './validatorKeyHolder';
|
|
68
75
|
export * from './validatorType';
|
|
76
|
+
export * from './validatorWithdrawal';
|
|
69
77
|
export * from './wallet';
|
|
70
78
|
export * from './webHookLookupAnswer';
|
|
71
79
|
export * from './webhookPayload';
|
|
@@ -179,9 +187,18 @@ import { ExitEstimateSeller } from './exitEstimateSeller';
|
|
|
179
187
|
import { ExitProposal } from './exitProposal';
|
|
180
188
|
|
|
181
189
|
|
|
190
|
+
import { GetMarketplaceMetadata200Response } from './getMarketplaceMetadata200Response';
|
|
191
|
+
|
|
192
|
+
|
|
182
193
|
import { GetTransactionsResponse } from './getTransactionsResponse';
|
|
183
194
|
|
|
184
195
|
|
|
196
|
+
import { GetWithdrawalsResponse } from './getWithdrawalsResponse';
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
import { ListAllRFQsForFacilitator200Response } from './listAllRFQsForFacilitator200Response';
|
|
200
|
+
|
|
201
|
+
|
|
185
202
|
import { ManagedUser } from './managedUser';
|
|
186
203
|
|
|
187
204
|
|
|
@@ -212,6 +229,9 @@ import { ProvideEscrowHashForRFQDocumentRequest } from './provideEscrowHashForRF
|
|
|
212
229
|
import { Quote } from './quote';
|
|
213
230
|
|
|
214
231
|
|
|
232
|
+
import { RFQBidFacilitator } from './rFQBidFacilitator';
|
|
233
|
+
|
|
234
|
+
|
|
215
235
|
import { RFQBids } from './rFQBids';
|
|
216
236
|
|
|
217
237
|
|
|
@@ -230,6 +250,15 @@ import { RFQDocumentBuyerAllOfValidators } from './rFQDocumentBuyerAllOfValidato
|
|
|
230
250
|
import { RFQDocumentBuyerStatusFilter } from './rFQDocumentBuyerStatusFilter';
|
|
231
251
|
|
|
232
252
|
|
|
253
|
+
import { RFQDocumentFacilitator } from './rFQDocumentFacilitator';
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
import { RFQDocumentFacilitatorStatusFilter } from './rFQDocumentFacilitatorStatusFilter';
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
import { RFQDocumentFacilitatorValidatorsInner } from './rFQDocumentFacilitatorValidatorsInner';
|
|
260
|
+
|
|
261
|
+
|
|
233
262
|
import { RFQDocumentSeller } from './rFQDocumentSeller';
|
|
234
263
|
|
|
235
264
|
|
|
@@ -299,6 +328,9 @@ import { ValidatorKeyHolder } from './validatorKeyHolder';
|
|
|
299
328
|
import { ValidatorType } from './validatorType';
|
|
300
329
|
|
|
301
330
|
|
|
331
|
+
import { ValidatorWithdrawal } from './validatorWithdrawal';
|
|
332
|
+
|
|
333
|
+
|
|
302
334
|
import { Wallet } from './wallet';
|
|
303
335
|
|
|
304
336
|
|
|
@@ -395,8 +427,10 @@ let primitives = [
|
|
|
395
427
|
let enumsMap: {[index: string]: any} = {
|
|
396
428
|
"OrderDocument.type": OrderDocument,
|
|
397
429
|
"OrderDocument.status": OrderDocument,
|
|
430
|
+
"RFQDocumentFacilitator.status": RFQDocumentFacilitator,
|
|
398
431
|
"ValidatorInfo.asset": ValidatorInfo,
|
|
399
432
|
"ValidatorInfo.status": ValidatorInfo,
|
|
433
|
+
"ValidatorWithdrawal.asset": ValidatorWithdrawal,
|
|
400
434
|
};
|
|
401
435
|
let typeMap: {[index: string]: any} = {
|
|
402
436
|
"AcceptedQuote": AcceptedQuote,
|
|
@@ -422,7 +456,10 @@ let typeMap: {[index: string]: any} = {
|
|
|
422
456
|
"ExitEstimateBase": ExitEstimateBase,
|
|
423
457
|
"ExitEstimateSeller": ExitEstimateSeller,
|
|
424
458
|
"ExitProposal": ExitProposal,
|
|
459
|
+
"GetMarketplaceMetadata200Response": GetMarketplaceMetadata200Response,
|
|
425
460
|
"GetTransactionsResponse": GetTransactionsResponse,
|
|
461
|
+
"GetWithdrawalsResponse": GetWithdrawalsResponse,
|
|
462
|
+
"ListAllRFQsForFacilitator200Response": ListAllRFQsForFacilitator200Response,
|
|
426
463
|
"ManagedUser": ManagedUser,
|
|
427
464
|
"ManagedUserDetails": ManagedUserDetails,
|
|
428
465
|
"Order": Order,
|
|
@@ -432,11 +469,14 @@ let typeMap: {[index: string]: any} = {
|
|
|
432
469
|
"PortfolioEntity": PortfolioEntity,
|
|
433
470
|
"ProvideEscrowHashForRFQDocumentRequest": ProvideEscrowHashForRFQDocumentRequest,
|
|
434
471
|
"Quote": Quote,
|
|
472
|
+
"RFQBidFacilitator": RFQBidFacilitator,
|
|
435
473
|
"RFQBids": RFQBids,
|
|
436
474
|
"RFQDocumentBase": RFQDocumentBase,
|
|
437
475
|
"RFQDocumentBaseUniqueEscrowVault": RFQDocumentBaseUniqueEscrowVault,
|
|
438
476
|
"RFQDocumentBuyer": RFQDocumentBuyer,
|
|
439
477
|
"RFQDocumentBuyerAllOfValidators": RFQDocumentBuyerAllOfValidators,
|
|
478
|
+
"RFQDocumentFacilitator": RFQDocumentFacilitator,
|
|
479
|
+
"RFQDocumentFacilitatorValidatorsInner": RFQDocumentFacilitatorValidatorsInner,
|
|
440
480
|
"RFQDocumentSeller": RFQDocumentSeller,
|
|
441
481
|
"RFQDocumentSellerAllOfValidators": RFQDocumentSellerAllOfValidators,
|
|
442
482
|
"RFQDocumentUpdate": RFQDocumentUpdate,
|
|
@@ -452,6 +492,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
452
492
|
"UnstakeStep": UnstakeStep,
|
|
453
493
|
"UnstakeStepElement": UnstakeStepElement,
|
|
454
494
|
"ValidatorInfo": ValidatorInfo,
|
|
495
|
+
"ValidatorWithdrawal": ValidatorWithdrawal,
|
|
455
496
|
"Wallet": Wallet,
|
|
456
497
|
"WebHookLookupAnswer": WebHookLookupAnswer,
|
|
457
498
|
"WebhookPayload": WebhookPayload,
|
|
@@ -0,0 +1,43 @@
|
|
|
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 RFQBidFacilitator {
|
|
15
|
+
'quote_id': string;
|
|
16
|
+
'quote': number;
|
|
17
|
+
'timestamp': Date;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
22
|
+
{
|
|
23
|
+
"name": "quote_id",
|
|
24
|
+
"baseName": "quote_id",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "quote",
|
|
29
|
+
"baseName": "quote",
|
|
30
|
+
"type": "number"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "timestamp",
|
|
34
|
+
"baseName": "timestamp",
|
|
35
|
+
"type": "Date"
|
|
36
|
+
} ];
|
|
37
|
+
|
|
38
|
+
static getAttributeTypeMap() {
|
|
39
|
+
return RFQBidFacilitator.attributeTypeMap;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|