@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
|
@@ -75,6 +75,87 @@ class ValidatorsApi {
|
|
|
75
75
|
addInterceptor(interceptor) {
|
|
76
76
|
this.interceptors.push(interceptor);
|
|
77
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* Retrieves a paginated list of validator withdrawals. The endpoint supports filtering by start and end date, page number, and limit. Additionally, it allows filtering by validator indices.
|
|
80
|
+
* @summary Get a list of validator withdrawals
|
|
81
|
+
* @param startDate Start date for filtering withdrawal statistics
|
|
82
|
+
* @param endDate End date for filtering withdrawal statistics
|
|
83
|
+
* @param page Withdrawal list page number
|
|
84
|
+
* @param limit Number of withdrawals to return per page
|
|
85
|
+
* @param validatorIndices Comma-separated list of validator indices to filter withdrawals (e.g., \"123,456,789\")
|
|
86
|
+
*/
|
|
87
|
+
async getValidatorWithdrawals(params, options = { headers: {} }) {
|
|
88
|
+
const localVarPath = this.basePath + '/validators/withdrawals';
|
|
89
|
+
let localVarQueryParameters = {};
|
|
90
|
+
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
91
|
+
const produces = ['application/json'];
|
|
92
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
93
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
97
|
+
}
|
|
98
|
+
let localVarFormParams = {};
|
|
99
|
+
if ((params === null || params === void 0 ? void 0 : params.startDate) !== undefined) {
|
|
100
|
+
localVarQueryParameters['start_date'] = models_1.ObjectSerializer.serialize(params === null || params === void 0 ? void 0 : params.startDate, "string");
|
|
101
|
+
}
|
|
102
|
+
if ((params === null || params === void 0 ? void 0 : params.endDate) !== undefined) {
|
|
103
|
+
localVarQueryParameters['end_date'] = models_1.ObjectSerializer.serialize(params === null || params === void 0 ? void 0 : params.endDate, "string");
|
|
104
|
+
}
|
|
105
|
+
if ((params === null || params === void 0 ? void 0 : params.page) !== undefined) {
|
|
106
|
+
localVarQueryParameters['page'] = models_1.ObjectSerializer.serialize(params === null || params === void 0 ? void 0 : params.page, "number");
|
|
107
|
+
}
|
|
108
|
+
if ((params === null || params === void 0 ? void 0 : params.limit) !== undefined) {
|
|
109
|
+
localVarQueryParameters['limit'] = models_1.ObjectSerializer.serialize(params === null || params === void 0 ? void 0 : params.limit, "number");
|
|
110
|
+
}
|
|
111
|
+
if ((params === null || params === void 0 ? void 0 : params.validatorIndices) !== undefined) {
|
|
112
|
+
localVarQueryParameters['validator_indices'] = models_1.ObjectSerializer.serialize(params === null || params === void 0 ? void 0 : params.validatorIndices, "string");
|
|
113
|
+
}
|
|
114
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
115
|
+
let localVarUseFormData = false;
|
|
116
|
+
let localVarRequestOptions = {
|
|
117
|
+
method: 'GET',
|
|
118
|
+
qs: localVarQueryParameters,
|
|
119
|
+
headers: localVarHeaderParams,
|
|
120
|
+
uri: localVarPath,
|
|
121
|
+
useQuerystring: this._useQuerystring,
|
|
122
|
+
json: true,
|
|
123
|
+
};
|
|
124
|
+
let authenticationPromise = Promise.resolve();
|
|
125
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
126
|
+
let interceptorPromise = authenticationPromise;
|
|
127
|
+
for (const interceptor of this.interceptors) {
|
|
128
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
129
|
+
}
|
|
130
|
+
return interceptorPromise.then(() => {
|
|
131
|
+
if (Object.keys(localVarFormParams).length) {
|
|
132
|
+
if (localVarUseFormData) {
|
|
133
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
return new Promise((resolve, reject) => {
|
|
140
|
+
(0, request_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
141
|
+
if (error) {
|
|
142
|
+
console.error('API call error:', error);
|
|
143
|
+
reject(error);
|
|
144
|
+
}
|
|
145
|
+
else {
|
|
146
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
147
|
+
body = models_1.ObjectSerializer.deserialize(body, "GetWithdrawalsResponse");
|
|
148
|
+
resolve({ body: body, status: response.statusCode });
|
|
149
|
+
}
|
|
150
|
+
else {
|
|
151
|
+
console.error('API response error:', response.statusCode);
|
|
152
|
+
resolve({ body: body, status: response.statusCode });
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
});
|
|
157
|
+
});
|
|
158
|
+
}
|
|
78
159
|
/**
|
|
79
160
|
*
|
|
80
161
|
* @summary Get a list of validators, optionally filtering by key_holder and contract_type
|
package/dist/api.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { OrdersApi } from './api/ordersApi';
|
|
|
12
12
|
import { PortfolioApi } from './api/portfolioApi';
|
|
13
13
|
import { TransactionsApi } from './api/transactionsApi';
|
|
14
14
|
import { ValidatorMarketplaceBuyersApi } from './api/validatorMarketplaceBuyersApi';
|
|
15
|
+
import { ValidatorMarketplaceFacilitatorApi } from './api/validatorMarketplaceFacilitatorApi';
|
|
15
16
|
import { ValidatorMarketplaceSellersApi } from './api/validatorMarketplaceSellersApi';
|
|
16
17
|
import { ValidatorMarketplaceWebhooksApi } from './api/validatorMarketplaceWebhooksApi';
|
|
17
18
|
import { ValidatorsApi } from './api/validatorsApi';
|
|
@@ -39,7 +40,10 @@ export * from './model/./ethereumValidatorKeyKeystoreCryptoKdfParams';
|
|
|
39
40
|
export * from './model/./exitEstimateBase';
|
|
40
41
|
export * from './model/./exitEstimateSeller';
|
|
41
42
|
export * from './model/./exitProposal';
|
|
43
|
+
export * from './model/./getMarketplaceMetadata200Response';
|
|
42
44
|
export * from './model/./getTransactionsResponse';
|
|
45
|
+
export * from './model/./getWithdrawalsResponse';
|
|
46
|
+
export * from './model/./listAllRFQsForFacilitator200Response';
|
|
43
47
|
export * from './model/./managedUser';
|
|
44
48
|
export * from './model/./managedUserDetails';
|
|
45
49
|
export * from './model/./order';
|
|
@@ -50,12 +54,16 @@ export * from './model/./orderUpdatePayload';
|
|
|
50
54
|
export * from './model/./portfolioEntity';
|
|
51
55
|
export * from './model/./provideEscrowHashForRFQDocumentRequest';
|
|
52
56
|
export * from './model/./quote';
|
|
57
|
+
export * from './model/./rFQBidFacilitator';
|
|
53
58
|
export * from './model/./rFQBids';
|
|
54
59
|
export * from './model/./rFQDocumentBase';
|
|
55
60
|
export * from './model/./rFQDocumentBaseUniqueEscrowVault';
|
|
56
61
|
export * from './model/./rFQDocumentBuyer';
|
|
57
62
|
export * from './model/./rFQDocumentBuyerAllOfValidators';
|
|
58
63
|
export * from './model/./rFQDocumentBuyerStatusFilter';
|
|
64
|
+
export * from './model/./rFQDocumentFacilitator';
|
|
65
|
+
export * from './model/./rFQDocumentFacilitatorStatusFilter';
|
|
66
|
+
export * from './model/./rFQDocumentFacilitatorValidatorsInner';
|
|
59
67
|
export * from './model/./rFQDocumentSeller';
|
|
60
68
|
export * from './model/./rFQDocumentSellerAllOfValidators';
|
|
61
69
|
export * from './model/./rFQDocumentSellerStatusFilter';
|
|
@@ -79,6 +87,7 @@ export * from './model/./unstakeStepType';
|
|
|
79
87
|
export * from './model/./validatorInfo';
|
|
80
88
|
export * from './model/./validatorKeyHolder';
|
|
81
89
|
export * from './model/./validatorType';
|
|
90
|
+
export * from './model/./validatorWithdrawal';
|
|
82
91
|
export * from './model/./wallet';
|
|
83
92
|
export * from './model/./webHookLookupAnswer';
|
|
84
93
|
export * from './model/./webhookPayload';
|
|
@@ -122,6 +131,7 @@ export declare class NorthstakeApi {
|
|
|
122
131
|
portfolio: PortfolioApi;
|
|
123
132
|
transactions: TransactionsApi;
|
|
124
133
|
validatorMarketplaceBuyers: ValidatorMarketplaceBuyersApi;
|
|
134
|
+
validatorMarketplaceFacilitator: ValidatorMarketplaceFacilitatorApi;
|
|
125
135
|
validatorMarketplaceSellers: ValidatorMarketplaceSellersApi;
|
|
126
136
|
validatorMarketplaceWebhooks: ValidatorMarketplaceWebhooksApi;
|
|
127
137
|
validators: ValidatorsApi;
|
package/dist/api.js
CHANGED
|
@@ -31,6 +31,7 @@ const ordersApi_1 = require("./api/ordersApi");
|
|
|
31
31
|
const portfolioApi_1 = require("./api/portfolioApi");
|
|
32
32
|
const transactionsApi_1 = require("./api/transactionsApi");
|
|
33
33
|
const validatorMarketplaceBuyersApi_1 = require("./api/validatorMarketplaceBuyersApi");
|
|
34
|
+
const validatorMarketplaceFacilitatorApi_1 = require("./api/validatorMarketplaceFacilitatorApi");
|
|
34
35
|
const validatorMarketplaceSellersApi_1 = require("./api/validatorMarketplaceSellersApi");
|
|
35
36
|
const validatorMarketplaceWebhooksApi_1 = require("./api/validatorMarketplaceWebhooksApi");
|
|
36
37
|
const validatorsApi_1 = require("./api/validatorsApi");
|
|
@@ -58,7 +59,10 @@ __exportStar(require("./model/./ethereumValidatorKeyKeystoreCryptoKdfParams"), e
|
|
|
58
59
|
__exportStar(require("./model/./exitEstimateBase"), exports);
|
|
59
60
|
__exportStar(require("./model/./exitEstimateSeller"), exports);
|
|
60
61
|
__exportStar(require("./model/./exitProposal"), exports);
|
|
62
|
+
__exportStar(require("./model/./getMarketplaceMetadata200Response"), exports);
|
|
61
63
|
__exportStar(require("./model/./getTransactionsResponse"), exports);
|
|
64
|
+
__exportStar(require("./model/./getWithdrawalsResponse"), exports);
|
|
65
|
+
__exportStar(require("./model/./listAllRFQsForFacilitator200Response"), exports);
|
|
62
66
|
__exportStar(require("./model/./managedUser"), exports);
|
|
63
67
|
__exportStar(require("./model/./managedUserDetails"), exports);
|
|
64
68
|
__exportStar(require("./model/./order"), exports);
|
|
@@ -69,12 +73,16 @@ __exportStar(require("./model/./orderUpdatePayload"), exports);
|
|
|
69
73
|
__exportStar(require("./model/./portfolioEntity"), exports);
|
|
70
74
|
__exportStar(require("./model/./provideEscrowHashForRFQDocumentRequest"), exports);
|
|
71
75
|
__exportStar(require("./model/./quote"), exports);
|
|
76
|
+
__exportStar(require("./model/./rFQBidFacilitator"), exports);
|
|
72
77
|
__exportStar(require("./model/./rFQBids"), exports);
|
|
73
78
|
__exportStar(require("./model/./rFQDocumentBase"), exports);
|
|
74
79
|
__exportStar(require("./model/./rFQDocumentBaseUniqueEscrowVault"), exports);
|
|
75
80
|
__exportStar(require("./model/./rFQDocumentBuyer"), exports);
|
|
76
81
|
__exportStar(require("./model/./rFQDocumentBuyerAllOfValidators"), exports);
|
|
77
82
|
__exportStar(require("./model/./rFQDocumentBuyerStatusFilter"), exports);
|
|
83
|
+
__exportStar(require("./model/./rFQDocumentFacilitator"), exports);
|
|
84
|
+
__exportStar(require("./model/./rFQDocumentFacilitatorStatusFilter"), exports);
|
|
85
|
+
__exportStar(require("./model/./rFQDocumentFacilitatorValidatorsInner"), exports);
|
|
78
86
|
__exportStar(require("./model/./rFQDocumentSeller"), exports);
|
|
79
87
|
__exportStar(require("./model/./rFQDocumentSellerAllOfValidators"), exports);
|
|
80
88
|
__exportStar(require("./model/./rFQDocumentSellerStatusFilter"), exports);
|
|
@@ -98,6 +106,7 @@ __exportStar(require("./model/./unstakeStepType"), exports);
|
|
|
98
106
|
__exportStar(require("./model/./validatorInfo"), exports);
|
|
99
107
|
__exportStar(require("./model/./validatorKeyHolder"), exports);
|
|
100
108
|
__exportStar(require("./model/./validatorType"), exports);
|
|
109
|
+
__exportStar(require("./model/./validatorWithdrawal"), exports);
|
|
101
110
|
__exportStar(require("./model/./wallet"), exports);
|
|
102
111
|
__exportStar(require("./model/./webHookLookupAnswer"), exports);
|
|
103
112
|
__exportStar(require("./model/./webhookPayload"), exports);
|
|
@@ -156,6 +165,8 @@ class NorthstakeApi {
|
|
|
156
165
|
this.transactions.setDefaultAuthentication(jwtAuth);
|
|
157
166
|
this.validatorMarketplaceBuyers = new validatorMarketplaceBuyersApi_1.ValidatorMarketplaceBuyersApi(basePath);
|
|
158
167
|
this.validatorMarketplaceBuyers.setDefaultAuthentication(jwtAuth);
|
|
168
|
+
this.validatorMarketplaceFacilitator = new validatorMarketplaceFacilitatorApi_1.ValidatorMarketplaceFacilitatorApi(basePath);
|
|
169
|
+
this.validatorMarketplaceFacilitator.setDefaultAuthentication(jwtAuth);
|
|
159
170
|
this.validatorMarketplaceSellers = new validatorMarketplaceSellersApi_1.ValidatorMarketplaceSellersApi(basePath);
|
|
160
171
|
this.validatorMarketplaceSellers.setDefaultAuthentication(jwtAuth);
|
|
161
172
|
this.validatorMarketplaceWebhooks = new validatorMarketplaceWebhooksApi_1.ValidatorMarketplaceWebhooksApi(basePath);
|
|
@@ -0,0 +1,36 @@
|
|
|
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 GetMarketplaceMetadata200Response {
|
|
13
|
+
/**
|
|
14
|
+
* Total number of RFQs in the marketplace
|
|
15
|
+
*/
|
|
16
|
+
'totalRFQs'?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Number of active RFQs
|
|
19
|
+
*/
|
|
20
|
+
'activeRFQs'?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Number of expired RFQs
|
|
23
|
+
*/
|
|
24
|
+
'expiredRFQs'?: number;
|
|
25
|
+
static discriminator: string | undefined;
|
|
26
|
+
static attributeTypeMap: Array<{
|
|
27
|
+
name: string;
|
|
28
|
+
baseName: string;
|
|
29
|
+
type: string;
|
|
30
|
+
}>;
|
|
31
|
+
static getAttributeTypeMap(): {
|
|
32
|
+
name: string;
|
|
33
|
+
baseName: string;
|
|
34
|
+
type: string;
|
|
35
|
+
}[];
|
|
36
|
+
}
|
|
@@ -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.GetMarketplaceMetadata200Response = void 0;
|
|
15
|
+
class GetMarketplaceMetadata200Response {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return GetMarketplaceMetadata200Response.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.GetMarketplaceMetadata200Response = GetMarketplaceMetadata200Response;
|
|
21
|
+
GetMarketplaceMetadata200Response.discriminator = undefined;
|
|
22
|
+
GetMarketplaceMetadata200Response.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "totalRFQs",
|
|
25
|
+
"baseName": "totalRFQs",
|
|
26
|
+
"type": "number"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "activeRFQs",
|
|
30
|
+
"baseName": "activeRFQs",
|
|
31
|
+
"type": "number"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "expiredRFQs",
|
|
35
|
+
"baseName": "expiredRFQs",
|
|
36
|
+
"type": "number"
|
|
37
|
+
}
|
|
38
|
+
];
|
|
@@ -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 { ValidatorWithdrawal } from './validatorWithdrawal';
|
|
13
|
+
export declare class GetWithdrawalsResponse {
|
|
14
|
+
'withdrawals': Array<ValidatorWithdrawal>;
|
|
15
|
+
/**
|
|
16
|
+
* Total number of pages
|
|
17
|
+
*/
|
|
18
|
+
'pages': number;
|
|
19
|
+
/**
|
|
20
|
+
* Total number of withdrawals
|
|
21
|
+
*/
|
|
22
|
+
'total': number;
|
|
23
|
+
/**
|
|
24
|
+
* Current page number
|
|
25
|
+
*/
|
|
26
|
+
'currentPage': number;
|
|
27
|
+
static discriminator: string | undefined;
|
|
28
|
+
static attributeTypeMap: Array<{
|
|
29
|
+
name: string;
|
|
30
|
+
baseName: string;
|
|
31
|
+
type: string;
|
|
32
|
+
}>;
|
|
33
|
+
static getAttributeTypeMap(): {
|
|
34
|
+
name: string;
|
|
35
|
+
baseName: string;
|
|
36
|
+
type: string;
|
|
37
|
+
}[];
|
|
38
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.GetWithdrawalsResponse = void 0;
|
|
15
|
+
class GetWithdrawalsResponse {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return GetWithdrawalsResponse.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.GetWithdrawalsResponse = GetWithdrawalsResponse;
|
|
21
|
+
GetWithdrawalsResponse.discriminator = undefined;
|
|
22
|
+
GetWithdrawalsResponse.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "withdrawals",
|
|
25
|
+
"baseName": "withdrawals",
|
|
26
|
+
"type": "Array<ValidatorWithdrawal>"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "pages",
|
|
30
|
+
"baseName": "pages",
|
|
31
|
+
"type": "number"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "total",
|
|
35
|
+
"baseName": "total",
|
|
36
|
+
"type": "number"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "currentPage",
|
|
40
|
+
"baseName": "currentPage",
|
|
41
|
+
"type": "number"
|
|
42
|
+
}
|
|
43
|
+
];
|
|
@@ -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 { RFQDocumentFacilitator } from './rFQDocumentFacilitator';
|
|
13
|
+
export declare class ListAllRFQsForFacilitator200Response {
|
|
14
|
+
'rfqs'?: Array<RFQDocumentFacilitator>;
|
|
15
|
+
/**
|
|
16
|
+
* Total number of RFQs
|
|
17
|
+
*/
|
|
18
|
+
'total'?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Total number of pages
|
|
21
|
+
*/
|
|
22
|
+
'pages'?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Current page number
|
|
25
|
+
*/
|
|
26
|
+
'currentPage'?: number;
|
|
27
|
+
static discriminator: string | undefined;
|
|
28
|
+
static attributeTypeMap: Array<{
|
|
29
|
+
name: string;
|
|
30
|
+
baseName: string;
|
|
31
|
+
type: string;
|
|
32
|
+
}>;
|
|
33
|
+
static getAttributeTypeMap(): {
|
|
34
|
+
name: string;
|
|
35
|
+
baseName: string;
|
|
36
|
+
type: string;
|
|
37
|
+
}[];
|
|
38
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.ListAllRFQsForFacilitator200Response = void 0;
|
|
15
|
+
class ListAllRFQsForFacilitator200Response {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return ListAllRFQsForFacilitator200Response.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.ListAllRFQsForFacilitator200Response = ListAllRFQsForFacilitator200Response;
|
|
21
|
+
ListAllRFQsForFacilitator200Response.discriminator = undefined;
|
|
22
|
+
ListAllRFQsForFacilitator200Response.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "rfqs",
|
|
25
|
+
"baseName": "rfqs",
|
|
26
|
+
"type": "Array<RFQDocumentFacilitator>"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "total",
|
|
30
|
+
"baseName": "total",
|
|
31
|
+
"type": "number"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "pages",
|
|
35
|
+
"baseName": "pages",
|
|
36
|
+
"type": "number"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "currentPage",
|
|
40
|
+
"baseName": "currentPage",
|
|
41
|
+
"type": "number"
|
|
42
|
+
}
|
|
43
|
+
];
|
package/dist/model/models.d.ts
CHANGED
|
@@ -23,7 +23,10 @@ export * from './ethereumValidatorKeyKeystoreCryptoKdfParams';
|
|
|
23
23
|
export * from './exitEstimateBase';
|
|
24
24
|
export * from './exitEstimateSeller';
|
|
25
25
|
export * from './exitProposal';
|
|
26
|
+
export * from './getMarketplaceMetadata200Response';
|
|
26
27
|
export * from './getTransactionsResponse';
|
|
28
|
+
export * from './getWithdrawalsResponse';
|
|
29
|
+
export * from './listAllRFQsForFacilitator200Response';
|
|
27
30
|
export * from './managedUser';
|
|
28
31
|
export * from './managedUserDetails';
|
|
29
32
|
export * from './order';
|
|
@@ -34,12 +37,16 @@ export * from './orderUpdatePayload';
|
|
|
34
37
|
export * from './portfolioEntity';
|
|
35
38
|
export * from './provideEscrowHashForRFQDocumentRequest';
|
|
36
39
|
export * from './quote';
|
|
40
|
+
export * from './rFQBidFacilitator';
|
|
37
41
|
export * from './rFQBids';
|
|
38
42
|
export * from './rFQDocumentBase';
|
|
39
43
|
export * from './rFQDocumentBaseUniqueEscrowVault';
|
|
40
44
|
export * from './rFQDocumentBuyer';
|
|
41
45
|
export * from './rFQDocumentBuyerAllOfValidators';
|
|
42
46
|
export * from './rFQDocumentBuyerStatusFilter';
|
|
47
|
+
export * from './rFQDocumentFacilitator';
|
|
48
|
+
export * from './rFQDocumentFacilitatorStatusFilter';
|
|
49
|
+
export * from './rFQDocumentFacilitatorValidatorsInner';
|
|
43
50
|
export * from './rFQDocumentSeller';
|
|
44
51
|
export * from './rFQDocumentSellerAllOfValidators';
|
|
45
52
|
export * from './rFQDocumentSellerStatusFilter';
|
|
@@ -63,6 +70,7 @@ export * from './unstakeStepType';
|
|
|
63
70
|
export * from './validatorInfo';
|
|
64
71
|
export * from './validatorKeyHolder';
|
|
65
72
|
export * from './validatorType';
|
|
73
|
+
export * from './validatorWithdrawal';
|
|
66
74
|
export * from './wallet';
|
|
67
75
|
export * from './webHookLookupAnswer';
|
|
68
76
|
export * from './webhookPayload';
|
package/dist/model/models.js
CHANGED
|
@@ -52,7 +52,10 @@ __exportStar(require("./ethereumValidatorKeyKeystoreCryptoKdfParams"), exports);
|
|
|
52
52
|
__exportStar(require("./exitEstimateBase"), exports);
|
|
53
53
|
__exportStar(require("./exitEstimateSeller"), exports);
|
|
54
54
|
__exportStar(require("./exitProposal"), exports);
|
|
55
|
+
__exportStar(require("./getMarketplaceMetadata200Response"), exports);
|
|
55
56
|
__exportStar(require("./getTransactionsResponse"), exports);
|
|
57
|
+
__exportStar(require("./getWithdrawalsResponse"), exports);
|
|
58
|
+
__exportStar(require("./listAllRFQsForFacilitator200Response"), exports);
|
|
56
59
|
__exportStar(require("./managedUser"), exports);
|
|
57
60
|
__exportStar(require("./managedUserDetails"), exports);
|
|
58
61
|
__exportStar(require("./order"), exports);
|
|
@@ -63,12 +66,16 @@ __exportStar(require("./orderUpdatePayload"), exports);
|
|
|
63
66
|
__exportStar(require("./portfolioEntity"), exports);
|
|
64
67
|
__exportStar(require("./provideEscrowHashForRFQDocumentRequest"), exports);
|
|
65
68
|
__exportStar(require("./quote"), exports);
|
|
69
|
+
__exportStar(require("./rFQBidFacilitator"), exports);
|
|
66
70
|
__exportStar(require("./rFQBids"), exports);
|
|
67
71
|
__exportStar(require("./rFQDocumentBase"), exports);
|
|
68
72
|
__exportStar(require("./rFQDocumentBaseUniqueEscrowVault"), exports);
|
|
69
73
|
__exportStar(require("./rFQDocumentBuyer"), exports);
|
|
70
74
|
__exportStar(require("./rFQDocumentBuyerAllOfValidators"), exports);
|
|
71
75
|
__exportStar(require("./rFQDocumentBuyerStatusFilter"), exports);
|
|
76
|
+
__exportStar(require("./rFQDocumentFacilitator"), exports);
|
|
77
|
+
__exportStar(require("./rFQDocumentFacilitatorStatusFilter"), exports);
|
|
78
|
+
__exportStar(require("./rFQDocumentFacilitatorValidatorsInner"), exports);
|
|
72
79
|
__exportStar(require("./rFQDocumentSeller"), exports);
|
|
73
80
|
__exportStar(require("./rFQDocumentSellerAllOfValidators"), exports);
|
|
74
81
|
__exportStar(require("./rFQDocumentSellerStatusFilter"), exports);
|
|
@@ -92,6 +99,7 @@ __exportStar(require("./unstakeStepType"), exports);
|
|
|
92
99
|
__exportStar(require("./validatorInfo"), exports);
|
|
93
100
|
__exportStar(require("./validatorKeyHolder"), exports);
|
|
94
101
|
__exportStar(require("./validatorType"), exports);
|
|
102
|
+
__exportStar(require("./validatorWithdrawal"), exports);
|
|
95
103
|
__exportStar(require("./wallet"), exports);
|
|
96
104
|
__exportStar(require("./webHookLookupAnswer"), exports);
|
|
97
105
|
__exportStar(require("./webhookPayload"), exports);
|
|
@@ -142,7 +150,10 @@ const ethereumValidatorKeyKeystoreCryptoKdfParams_1 = require("./ethereumValidat
|
|
|
142
150
|
const exitEstimateBase_1 = require("./exitEstimateBase");
|
|
143
151
|
const exitEstimateSeller_1 = require("./exitEstimateSeller");
|
|
144
152
|
const exitProposal_1 = require("./exitProposal");
|
|
153
|
+
const getMarketplaceMetadata200Response_1 = require("./getMarketplaceMetadata200Response");
|
|
145
154
|
const getTransactionsResponse_1 = require("./getTransactionsResponse");
|
|
155
|
+
const getWithdrawalsResponse_1 = require("./getWithdrawalsResponse");
|
|
156
|
+
const listAllRFQsForFacilitator200Response_1 = require("./listAllRFQsForFacilitator200Response");
|
|
146
157
|
const managedUser_1 = require("./managedUser");
|
|
147
158
|
const managedUserDetails_1 = require("./managedUserDetails");
|
|
148
159
|
const order_1 = require("./order");
|
|
@@ -152,11 +163,14 @@ const orderUpdatePayload_1 = require("./orderUpdatePayload");
|
|
|
152
163
|
const portfolioEntity_1 = require("./portfolioEntity");
|
|
153
164
|
const provideEscrowHashForRFQDocumentRequest_1 = require("./provideEscrowHashForRFQDocumentRequest");
|
|
154
165
|
const quote_1 = require("./quote");
|
|
166
|
+
const rFQBidFacilitator_1 = require("./rFQBidFacilitator");
|
|
155
167
|
const rFQBids_1 = require("./rFQBids");
|
|
156
168
|
const rFQDocumentBase_1 = require("./rFQDocumentBase");
|
|
157
169
|
const rFQDocumentBaseUniqueEscrowVault_1 = require("./rFQDocumentBaseUniqueEscrowVault");
|
|
158
170
|
const rFQDocumentBuyer_1 = require("./rFQDocumentBuyer");
|
|
159
171
|
const rFQDocumentBuyerAllOfValidators_1 = require("./rFQDocumentBuyerAllOfValidators");
|
|
172
|
+
const rFQDocumentFacilitator_1 = require("./rFQDocumentFacilitator");
|
|
173
|
+
const rFQDocumentFacilitatorValidatorsInner_1 = require("./rFQDocumentFacilitatorValidatorsInner");
|
|
160
174
|
const rFQDocumentSeller_1 = require("./rFQDocumentSeller");
|
|
161
175
|
const rFQDocumentSellerAllOfValidators_1 = require("./rFQDocumentSellerAllOfValidators");
|
|
162
176
|
const rFQDocumentUpdate_1 = require("./rFQDocumentUpdate");
|
|
@@ -172,6 +186,7 @@ const transactionsforUser_1 = require("./transactionsforUser");
|
|
|
172
186
|
const unstakeStep_1 = require("./unstakeStep");
|
|
173
187
|
const unstakeStepElement_1 = require("./unstakeStepElement");
|
|
174
188
|
const validatorInfo_1 = require("./validatorInfo");
|
|
189
|
+
const validatorWithdrawal_1 = require("./validatorWithdrawal");
|
|
175
190
|
const wallet_1 = require("./wallet");
|
|
176
191
|
const webHookLookupAnswer_1 = require("./webHookLookupAnswer");
|
|
177
192
|
const webhookPayload_1 = require("./webhookPayload");
|
|
@@ -212,8 +227,10 @@ let primitives = [
|
|
|
212
227
|
let enumsMap = {
|
|
213
228
|
"OrderDocument.type": orderDocument_1.OrderDocument,
|
|
214
229
|
"OrderDocument.status": orderDocument_1.OrderDocument,
|
|
230
|
+
"RFQDocumentFacilitator.status": rFQDocumentFacilitator_1.RFQDocumentFacilitator,
|
|
215
231
|
"ValidatorInfo.asset": validatorInfo_1.ValidatorInfo,
|
|
216
232
|
"ValidatorInfo.status": validatorInfo_1.ValidatorInfo,
|
|
233
|
+
"ValidatorWithdrawal.asset": validatorWithdrawal_1.ValidatorWithdrawal,
|
|
217
234
|
};
|
|
218
235
|
let typeMap = {
|
|
219
236
|
"AcceptedQuote": acceptedQuote_1.AcceptedQuote,
|
|
@@ -239,7 +256,10 @@ let typeMap = {
|
|
|
239
256
|
"ExitEstimateBase": exitEstimateBase_1.ExitEstimateBase,
|
|
240
257
|
"ExitEstimateSeller": exitEstimateSeller_1.ExitEstimateSeller,
|
|
241
258
|
"ExitProposal": exitProposal_1.ExitProposal,
|
|
259
|
+
"GetMarketplaceMetadata200Response": getMarketplaceMetadata200Response_1.GetMarketplaceMetadata200Response,
|
|
242
260
|
"GetTransactionsResponse": getTransactionsResponse_1.GetTransactionsResponse,
|
|
261
|
+
"GetWithdrawalsResponse": getWithdrawalsResponse_1.GetWithdrawalsResponse,
|
|
262
|
+
"ListAllRFQsForFacilitator200Response": listAllRFQsForFacilitator200Response_1.ListAllRFQsForFacilitator200Response,
|
|
243
263
|
"ManagedUser": managedUser_1.ManagedUser,
|
|
244
264
|
"ManagedUserDetails": managedUserDetails_1.ManagedUserDetails,
|
|
245
265
|
"Order": order_1.Order,
|
|
@@ -249,11 +269,14 @@ let typeMap = {
|
|
|
249
269
|
"PortfolioEntity": portfolioEntity_1.PortfolioEntity,
|
|
250
270
|
"ProvideEscrowHashForRFQDocumentRequest": provideEscrowHashForRFQDocumentRequest_1.ProvideEscrowHashForRFQDocumentRequest,
|
|
251
271
|
"Quote": quote_1.Quote,
|
|
272
|
+
"RFQBidFacilitator": rFQBidFacilitator_1.RFQBidFacilitator,
|
|
252
273
|
"RFQBids": rFQBids_1.RFQBids,
|
|
253
274
|
"RFQDocumentBase": rFQDocumentBase_1.RFQDocumentBase,
|
|
254
275
|
"RFQDocumentBaseUniqueEscrowVault": rFQDocumentBaseUniqueEscrowVault_1.RFQDocumentBaseUniqueEscrowVault,
|
|
255
276
|
"RFQDocumentBuyer": rFQDocumentBuyer_1.RFQDocumentBuyer,
|
|
256
277
|
"RFQDocumentBuyerAllOfValidators": rFQDocumentBuyerAllOfValidators_1.RFQDocumentBuyerAllOfValidators,
|
|
278
|
+
"RFQDocumentFacilitator": rFQDocumentFacilitator_1.RFQDocumentFacilitator,
|
|
279
|
+
"RFQDocumentFacilitatorValidatorsInner": rFQDocumentFacilitatorValidatorsInner_1.RFQDocumentFacilitatorValidatorsInner,
|
|
257
280
|
"RFQDocumentSeller": rFQDocumentSeller_1.RFQDocumentSeller,
|
|
258
281
|
"RFQDocumentSellerAllOfValidators": rFQDocumentSellerAllOfValidators_1.RFQDocumentSellerAllOfValidators,
|
|
259
282
|
"RFQDocumentUpdate": rFQDocumentUpdate_1.RFQDocumentUpdate,
|
|
@@ -269,6 +292,7 @@ let typeMap = {
|
|
|
269
292
|
"UnstakeStep": unstakeStep_1.UnstakeStep,
|
|
270
293
|
"UnstakeStepElement": unstakeStepElement_1.UnstakeStepElement,
|
|
271
294
|
"ValidatorInfo": validatorInfo_1.ValidatorInfo,
|
|
295
|
+
"ValidatorWithdrawal": validatorWithdrawal_1.ValidatorWithdrawal,
|
|
272
296
|
"Wallet": wallet_1.Wallet,
|
|
273
297
|
"WebHookLookupAnswer": webHookLookupAnswer_1.WebHookLookupAnswer,
|
|
274
298
|
"WebhookPayload": webhookPayload_1.WebhookPayload,
|
|
@@ -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 RFQBidFacilitator {
|
|
13
|
+
'quote_id': string;
|
|
14
|
+
'quote': number;
|
|
15
|
+
'timestamp': 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.RFQBidFacilitator = void 0;
|
|
15
|
+
class RFQBidFacilitator {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return RFQBidFacilitator.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.RFQBidFacilitator = RFQBidFacilitator;
|
|
21
|
+
RFQBidFacilitator.discriminator = undefined;
|
|
22
|
+
RFQBidFacilitator.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "quote_id",
|
|
25
|
+
"baseName": "quote_id",
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "quote",
|
|
30
|
+
"baseName": "quote",
|
|
31
|
+
"type": "number"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "timestamp",
|
|
35
|
+
"baseName": "timestamp",
|
|
36
|
+
"type": "Date"
|
|
37
|
+
}
|
|
38
|
+
];
|
|
@@ -20,6 +20,7 @@ export declare class RFQDocumentBase {
|
|
|
20
20
|
'estimated_all_validators_exited_at': Date;
|
|
21
21
|
'unique_escrow_vault'?: RFQDocumentBaseUniqueEscrowVault;
|
|
22
22
|
'settlement_steps'?: SettlementSteps;
|
|
23
|
+
'smart_contract'?: string;
|
|
23
24
|
static discriminator: string | undefined;
|
|
24
25
|
static attributeTypeMap: Array<{
|
|
25
26
|
name: string;
|