@drxsuperapp/sdk 1.1.387 → 1.1.389
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 +18 -0
- package/apis/PoolWalletManagementApi.ts +259 -0
- package/apis/SwapApi.ts +415 -0
- package/apis/index.ts +2 -0
- package/deploy.log +78 -9
- package/dist/apis/PoolWalletManagementApi.d.ts +74 -0
- package/dist/apis/PoolWalletManagementApi.js +175 -0
- package/dist/apis/SwapApi.d.ts +113 -0
- package/dist/apis/SwapApi.js +288 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/ApiPoolWalletActivePurposeGet200Response.d.ts +51 -0
- package/dist/models/ApiPoolWalletActivePurposeGet200Response.js +54 -0
- package/dist/models/ApiPoolWalletActivePurposeGet200ResponseResponseObject.d.ts +62 -0
- package/dist/models/ApiPoolWalletActivePurposeGet200ResponseResponseObject.js +61 -0
- package/dist/models/ApiPoolWalletGet200Response.d.ts +51 -0
- package/dist/models/ApiPoolWalletGet200Response.js +54 -0
- package/dist/models/ApiPoolWalletGetFilterParameter.d.ts +40 -0
- package/dist/models/ApiPoolWalletGetFilterParameter.js +45 -0
- package/dist/models/ApiPoolWalletIdPutRequest.d.ts +38 -0
- package/dist/models/ApiPoolWalletIdPutRequest.js +43 -0
- package/dist/models/ApiWeb3AdminSwapIdActionPutRequest.d.ts +46 -0
- package/dist/models/ApiWeb3AdminSwapIdActionPutRequest.js +52 -0
- package/dist/models/ApiWeb3SwapGet200Response.d.ts +51 -0
- package/dist/models/ApiWeb3SwapGet200Response.js +54 -0
- package/dist/models/ApiWeb3SwapGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiWeb3SwapGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiWeb3SwapGet200ResponseResponseObjectItemsInner.d.ts +87 -0
- package/dist/models/ApiWeb3SwapGet200ResponseResponseObjectItemsInner.js +83 -0
- package/dist/models/ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUser.d.ts +50 -0
- package/dist/models/ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUser.js +55 -0
- package/dist/models/ApiWeb3SwapGetFilterParameter.d.ts +46 -0
- package/dist/models/ApiWeb3SwapGetFilterParameter.js +47 -0
- package/dist/models/ApiWeb3SwapLimitsGet200Response.d.ts +51 -0
- package/dist/models/ApiWeb3SwapLimitsGet200Response.js +54 -0
- package/dist/models/ApiWeb3SwapLimitsGet200ResponseResponseObject.d.ts +62 -0
- package/dist/models/ApiWeb3SwapLimitsGet200ResponseResponseObject.js +63 -0
- package/dist/models/ApiWeb3SwapPost200Response.d.ts +51 -0
- package/dist/models/ApiWeb3SwapPost200Response.js +54 -0
- package/dist/models/ApiWeb3SwapPost200ResponseResponseObject.d.ts +135 -0
- package/dist/models/ApiWeb3SwapPost200ResponseResponseObject.js +113 -0
- package/dist/models/ApiWeb3SwapPostRequest.d.ts +32 -0
- package/dist/models/ApiWeb3SwapPostRequest.js +43 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/models/ApiPoolWalletActivePurposeGet200Response.ts +100 -0
- package/models/ApiPoolWalletActivePurposeGet200ResponseResponseObject.ts +110 -0
- package/models/ApiPoolWalletGet200Response.ts +100 -0
- package/models/ApiPoolWalletGetFilterParameter.ts +88 -0
- package/models/ApiPoolWalletIdPutRequest.ts +73 -0
- package/models/ApiWeb3AdminSwapIdActionPutRequest.ts +85 -0
- package/models/ApiWeb3SwapGet200Response.ts +100 -0
- package/models/ApiWeb3SwapGet200ResponseResponseObject.ts +110 -0
- package/models/ApiWeb3SwapGet200ResponseResponseObjectItemsInner.ts +152 -0
- package/models/ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUser.ts +93 -0
- package/models/ApiWeb3SwapGetFilterParameter.ts +96 -0
- package/models/ApiWeb3SwapLimitsGet200Response.ts +100 -0
- package/models/ApiWeb3SwapLimitsGet200ResponseResponseObject.ts +111 -0
- package/models/ApiWeb3SwapPost200Response.ts +100 -0
- package/models/ApiWeb3SwapPost200ResponseResponseObject.ts +223 -0
- package/models/ApiWeb3SwapPostRequest.ts +66 -0
- package/models/index.ts +16 -0
- package/package.json +1 -1
package/apis/SwapApi.ts
ADDED
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
ApiWeb3AdminSwapIdActionPutRequest,
|
|
19
|
+
ApiWeb3SwapGet200Response,
|
|
20
|
+
ApiWeb3SwapGetFilterParameter,
|
|
21
|
+
ApiWeb3SwapLimitsGet200Response,
|
|
22
|
+
ApiWeb3SwapPost200Response,
|
|
23
|
+
ApiWeb3SwapPostRequest,
|
|
24
|
+
} from '../models/index';
|
|
25
|
+
import {
|
|
26
|
+
ApiWeb3AdminSwapIdActionPutRequestFromJSON,
|
|
27
|
+
ApiWeb3AdminSwapIdActionPutRequestToJSON,
|
|
28
|
+
ApiWeb3SwapGet200ResponseFromJSON,
|
|
29
|
+
ApiWeb3SwapGet200ResponseToJSON,
|
|
30
|
+
ApiWeb3SwapGetFilterParameterFromJSON,
|
|
31
|
+
ApiWeb3SwapGetFilterParameterToJSON,
|
|
32
|
+
ApiWeb3SwapLimitsGet200ResponseFromJSON,
|
|
33
|
+
ApiWeb3SwapLimitsGet200ResponseToJSON,
|
|
34
|
+
ApiWeb3SwapPost200ResponseFromJSON,
|
|
35
|
+
ApiWeb3SwapPost200ResponseToJSON,
|
|
36
|
+
ApiWeb3SwapPostRequestFromJSON,
|
|
37
|
+
ApiWeb3SwapPostRequestToJSON,
|
|
38
|
+
} from '../models/index';
|
|
39
|
+
|
|
40
|
+
export interface ApiWeb3AdminSwapGetRequest {
|
|
41
|
+
page?: number;
|
|
42
|
+
pageSize?: number;
|
|
43
|
+
sort?: string;
|
|
44
|
+
filter?: ApiWeb3SwapGetFilterParameter;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface ApiWeb3AdminSwapIdActionPutOperationRequest {
|
|
48
|
+
id: string;
|
|
49
|
+
apiWeb3AdminSwapIdActionPutRequest?: ApiWeb3AdminSwapIdActionPutRequest;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface ApiWeb3AdminSwapIdGetRequest {
|
|
53
|
+
id: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface ApiWeb3SwapGetRequest {
|
|
57
|
+
page?: number;
|
|
58
|
+
pageSize?: number;
|
|
59
|
+
sort?: string;
|
|
60
|
+
filter?: ApiWeb3SwapGetFilterParameter;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface ApiWeb3SwapIdGetRequest {
|
|
64
|
+
id: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface ApiWeb3SwapPostOperationRequest {
|
|
68
|
+
apiWeb3SwapPostRequest?: ApiWeb3SwapPostRequest;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
export class SwapApi extends runtime.BaseAPI {
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Retrieve a paginated list of all swap requests
|
|
78
|
+
* Admin Get All Swap Requests
|
|
79
|
+
*/
|
|
80
|
+
async apiWeb3AdminSwapGetRaw(requestParameters: ApiWeb3AdminSwapGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiWeb3SwapGet200Response>> {
|
|
81
|
+
const queryParameters: any = {};
|
|
82
|
+
|
|
83
|
+
if (requestParameters['page'] != null) {
|
|
84
|
+
queryParameters['page'] = requestParameters['page'];
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
if (requestParameters['pageSize'] != null) {
|
|
88
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
if (requestParameters['sort'] != null) {
|
|
92
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
if (requestParameters['filter'] != null) {
|
|
96
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
100
|
+
|
|
101
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
102
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
106
|
+
const token = this.configuration.accessToken;
|
|
107
|
+
const tokenString = await token("BearerAuth", []);
|
|
108
|
+
|
|
109
|
+
if (tokenString) {
|
|
110
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
const response = await this.request({
|
|
114
|
+
path: `/api/web3/admin/swap`,
|
|
115
|
+
method: 'GET',
|
|
116
|
+
headers: headerParameters,
|
|
117
|
+
query: queryParameters,
|
|
118
|
+
}, initOverrides);
|
|
119
|
+
|
|
120
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiWeb3SwapGet200ResponseFromJSON(jsonValue));
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Retrieve a paginated list of all swap requests
|
|
125
|
+
* Admin Get All Swap Requests
|
|
126
|
+
*/
|
|
127
|
+
async apiWeb3AdminSwapGet(requestParameters: ApiWeb3AdminSwapGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiWeb3SwapGet200Response> {
|
|
128
|
+
const response = await this.apiWeb3AdminSwapGetRaw(requestParameters, initOverrides);
|
|
129
|
+
return await response.value();
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Approve or reject a swap request
|
|
134
|
+
* Admin Action on Swap Request
|
|
135
|
+
*/
|
|
136
|
+
async apiWeb3AdminSwapIdActionPutRaw(requestParameters: ApiWeb3AdminSwapIdActionPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiWeb3SwapPost200Response>> {
|
|
137
|
+
if (requestParameters['id'] == null) {
|
|
138
|
+
throw new runtime.RequiredError(
|
|
139
|
+
'id',
|
|
140
|
+
'Required parameter "id" was null or undefined when calling apiWeb3AdminSwapIdActionPut().'
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
const queryParameters: any = {};
|
|
145
|
+
|
|
146
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
147
|
+
|
|
148
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
149
|
+
|
|
150
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
151
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
155
|
+
const token = this.configuration.accessToken;
|
|
156
|
+
const tokenString = await token("BearerAuth", []);
|
|
157
|
+
|
|
158
|
+
if (tokenString) {
|
|
159
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
const response = await this.request({
|
|
163
|
+
path: `/api/web3/admin/swap/{id}/action`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
164
|
+
method: 'PUT',
|
|
165
|
+
headers: headerParameters,
|
|
166
|
+
query: queryParameters,
|
|
167
|
+
body: ApiWeb3AdminSwapIdActionPutRequestToJSON(requestParameters['apiWeb3AdminSwapIdActionPutRequest']),
|
|
168
|
+
}, initOverrides);
|
|
169
|
+
|
|
170
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiWeb3SwapPost200ResponseFromJSON(jsonValue));
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Approve or reject a swap request
|
|
175
|
+
* Admin Action on Swap Request
|
|
176
|
+
*/
|
|
177
|
+
async apiWeb3AdminSwapIdActionPut(requestParameters: ApiWeb3AdminSwapIdActionPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiWeb3SwapPost200Response> {
|
|
178
|
+
const response = await this.apiWeb3AdminSwapIdActionPutRaw(requestParameters, initOverrides);
|
|
179
|
+
return await response.value();
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Retrieve detailed information about a specific swap request
|
|
184
|
+
* Admin Get Swap Request Detail
|
|
185
|
+
*/
|
|
186
|
+
async apiWeb3AdminSwapIdGetRaw(requestParameters: ApiWeb3AdminSwapIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiWeb3SwapPost200Response>> {
|
|
187
|
+
if (requestParameters['id'] == null) {
|
|
188
|
+
throw new runtime.RequiredError(
|
|
189
|
+
'id',
|
|
190
|
+
'Required parameter "id" was null or undefined when calling apiWeb3AdminSwapIdGet().'
|
|
191
|
+
);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
const queryParameters: any = {};
|
|
195
|
+
|
|
196
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
197
|
+
|
|
198
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
199
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
203
|
+
const token = this.configuration.accessToken;
|
|
204
|
+
const tokenString = await token("BearerAuth", []);
|
|
205
|
+
|
|
206
|
+
if (tokenString) {
|
|
207
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
const response = await this.request({
|
|
211
|
+
path: `/api/web3/admin/swap/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
212
|
+
method: 'GET',
|
|
213
|
+
headers: headerParameters,
|
|
214
|
+
query: queryParameters,
|
|
215
|
+
}, initOverrides);
|
|
216
|
+
|
|
217
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiWeb3SwapPost200ResponseFromJSON(jsonValue));
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Retrieve detailed information about a specific swap request
|
|
222
|
+
* Admin Get Swap Request Detail
|
|
223
|
+
*/
|
|
224
|
+
async apiWeb3AdminSwapIdGet(requestParameters: ApiWeb3AdminSwapIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiWeb3SwapPost200Response> {
|
|
225
|
+
const response = await this.apiWeb3AdminSwapIdGetRaw(requestParameters, initOverrides);
|
|
226
|
+
return await response.value();
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Retrieve a paginated list of user swap requests
|
|
231
|
+
* User Get Swap Requests
|
|
232
|
+
*/
|
|
233
|
+
async apiWeb3SwapGetRaw(requestParameters: ApiWeb3SwapGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiWeb3SwapGet200Response>> {
|
|
234
|
+
const queryParameters: any = {};
|
|
235
|
+
|
|
236
|
+
if (requestParameters['page'] != null) {
|
|
237
|
+
queryParameters['page'] = requestParameters['page'];
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
if (requestParameters['pageSize'] != null) {
|
|
241
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
if (requestParameters['sort'] != null) {
|
|
245
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
if (requestParameters['filter'] != null) {
|
|
249
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
253
|
+
|
|
254
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
255
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
259
|
+
const token = this.configuration.accessToken;
|
|
260
|
+
const tokenString = await token("BearerAuth", []);
|
|
261
|
+
|
|
262
|
+
if (tokenString) {
|
|
263
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
const response = await this.request({
|
|
267
|
+
path: `/api/web3/swap`,
|
|
268
|
+
method: 'GET',
|
|
269
|
+
headers: headerParameters,
|
|
270
|
+
query: queryParameters,
|
|
271
|
+
}, initOverrides);
|
|
272
|
+
|
|
273
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiWeb3SwapGet200ResponseFromJSON(jsonValue));
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Retrieve a paginated list of user swap requests
|
|
278
|
+
* User Get Swap Requests
|
|
279
|
+
*/
|
|
280
|
+
async apiWeb3SwapGet(requestParameters: ApiWeb3SwapGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiWeb3SwapGet200Response> {
|
|
281
|
+
const response = await this.apiWeb3SwapGetRaw(requestParameters, initOverrides);
|
|
282
|
+
return await response.value();
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Retrieve detailed information about a specific swap request
|
|
287
|
+
* User Get Swap Request Detail
|
|
288
|
+
*/
|
|
289
|
+
async apiWeb3SwapIdGetRaw(requestParameters: ApiWeb3SwapIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiWeb3SwapPost200Response>> {
|
|
290
|
+
if (requestParameters['id'] == null) {
|
|
291
|
+
throw new runtime.RequiredError(
|
|
292
|
+
'id',
|
|
293
|
+
'Required parameter "id" was null or undefined when calling apiWeb3SwapIdGet().'
|
|
294
|
+
);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
const queryParameters: any = {};
|
|
298
|
+
|
|
299
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
300
|
+
|
|
301
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
302
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
306
|
+
const token = this.configuration.accessToken;
|
|
307
|
+
const tokenString = await token("BearerAuth", []);
|
|
308
|
+
|
|
309
|
+
if (tokenString) {
|
|
310
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
const response = await this.request({
|
|
314
|
+
path: `/api/web3/swap/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
315
|
+
method: 'GET',
|
|
316
|
+
headers: headerParameters,
|
|
317
|
+
query: queryParameters,
|
|
318
|
+
}, initOverrides);
|
|
319
|
+
|
|
320
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiWeb3SwapPost200ResponseFromJSON(jsonValue));
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Retrieve detailed information about a specific swap request
|
|
325
|
+
* User Get Swap Request Detail
|
|
326
|
+
*/
|
|
327
|
+
async apiWeb3SwapIdGet(requestParameters: ApiWeb3SwapIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiWeb3SwapPost200Response> {
|
|
328
|
+
const response = await this.apiWeb3SwapIdGetRaw(requestParameters, initOverrides);
|
|
329
|
+
return await response.value();
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Get swap configuration and user daily limits
|
|
334
|
+
* User Get Swap Limits
|
|
335
|
+
*/
|
|
336
|
+
async apiWeb3SwapLimitsGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiWeb3SwapLimitsGet200Response>> {
|
|
337
|
+
const queryParameters: any = {};
|
|
338
|
+
|
|
339
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
340
|
+
|
|
341
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
342
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
346
|
+
const token = this.configuration.accessToken;
|
|
347
|
+
const tokenString = await token("BearerAuth", []);
|
|
348
|
+
|
|
349
|
+
if (tokenString) {
|
|
350
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
const response = await this.request({
|
|
354
|
+
path: `/api/web3/swap/limits`,
|
|
355
|
+
method: 'GET',
|
|
356
|
+
headers: headerParameters,
|
|
357
|
+
query: queryParameters,
|
|
358
|
+
}, initOverrides);
|
|
359
|
+
|
|
360
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiWeb3SwapLimitsGet200ResponseFromJSON(jsonValue));
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Get swap configuration and user daily limits
|
|
365
|
+
* User Get Swap Limits
|
|
366
|
+
*/
|
|
367
|
+
async apiWeb3SwapLimitsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiWeb3SwapLimitsGet200Response> {
|
|
368
|
+
const response = await this.apiWeb3SwapLimitsGetRaw(initOverrides);
|
|
369
|
+
return await response.value();
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Create a new swap request to convert points to DRX tokens
|
|
374
|
+
* User Create Swap Request
|
|
375
|
+
*/
|
|
376
|
+
async apiWeb3SwapPostRaw(requestParameters: ApiWeb3SwapPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiWeb3SwapPost200Response>> {
|
|
377
|
+
const queryParameters: any = {};
|
|
378
|
+
|
|
379
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
380
|
+
|
|
381
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
382
|
+
|
|
383
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
384
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
388
|
+
const token = this.configuration.accessToken;
|
|
389
|
+
const tokenString = await token("BearerAuth", []);
|
|
390
|
+
|
|
391
|
+
if (tokenString) {
|
|
392
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
const response = await this.request({
|
|
396
|
+
path: `/api/web3/swap`,
|
|
397
|
+
method: 'POST',
|
|
398
|
+
headers: headerParameters,
|
|
399
|
+
query: queryParameters,
|
|
400
|
+
body: ApiWeb3SwapPostRequestToJSON(requestParameters['apiWeb3SwapPostRequest']),
|
|
401
|
+
}, initOverrides);
|
|
402
|
+
|
|
403
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiWeb3SwapPost200ResponseFromJSON(jsonValue));
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Create a new swap request to convert points to DRX tokens
|
|
408
|
+
* User Create Swap Request
|
|
409
|
+
*/
|
|
410
|
+
async apiWeb3SwapPost(requestParameters: ApiWeb3SwapPostOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiWeb3SwapPost200Response> {
|
|
411
|
+
const response = await this.apiWeb3SwapPostRaw(requestParameters, initOverrides);
|
|
412
|
+
return await response.value();
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
}
|
package/apis/index.ts
CHANGED
|
@@ -11,9 +11,11 @@ export * from './MMASportsApi';
|
|
|
11
11
|
export * from './NewsManagementApi';
|
|
12
12
|
export * from './NotificationManagementApi';
|
|
13
13
|
export * from './PadelSportsApi';
|
|
14
|
+
export * from './PoolWalletManagementApi';
|
|
14
15
|
export * from './PublicRewardApi';
|
|
15
16
|
export * from './RedemptionApi';
|
|
16
17
|
export * from './RewardManagementApi';
|
|
18
|
+
export * from './SwapApi';
|
|
17
19
|
export * from './TennisSportsApi';
|
|
18
20
|
export * from './TournamentManagementApi';
|
|
19
21
|
export * from './UserAffiliateApi';
|
package/deploy.log
CHANGED
|
@@ -280,6 +280,22 @@
|
|
|
280
280
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_redemption__id__get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_redemption__id__get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_redemption__id__get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
281
281
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_redemption__id__get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_redemption__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_redemption__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
282
282
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_redemption__id__action_put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_redemption__id__action_put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_redemption__id__action_put_request=NewModel,ModelA=NewModelA in CLI).
|
|
283
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_swap_limits_get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_swap_limits_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_swap_limits_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
284
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_swap_limits_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_swap_limits_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_swap_limits_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
285
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_swap_get_filter_parameter. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_swap_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_swap_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
|
|
286
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_swap_get_200_response_responseObject_items_inner_user. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_swap_get_200_response_responseObject_items_inner_user=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_swap_get_200_response_responseObject_items_inner_user=NewModel,ModelA=NewModelA in CLI).
|
|
287
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_swap_get_200_response_responseObject_items_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_swap_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_swap_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI).
|
|
288
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_swap_get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_swap_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_swap_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
289
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_swap_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_swap_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_swap_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
290
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_swap_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_swap_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_swap_post_request=NewModel,ModelA=NewModelA in CLI).
|
|
291
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_swap_post_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_swap_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_swap_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
292
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_swap_post_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_swap_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_swap_post_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
293
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_admin_swap__id__action_put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_web3_admin_swap__id__action_put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_admin_swap__id__action_put_request=NewModel,ModelA=NewModelA in CLI).
|
|
294
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_pool_wallet_active__purpose__get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_pool_wallet_active__purpose__get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_pool_wallet_active__purpose__get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
295
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_pool_wallet_active__purpose__get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_pool_wallet_active__purpose__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_pool_wallet_active__purpose__get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
296
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_pool_wallet_get_filter_parameter. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_pool_wallet_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_pool_wallet_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
|
|
297
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_pool_wallet_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_pool_wallet_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_pool_wallet_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
298
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_pool_wallet__id__put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_pool_wallet__id__put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_pool_wallet__id__put_request=NewModel,ModelA=NewModelA in CLI).
|
|
283
299
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_file_upload_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_file_upload_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_file_upload_post_request=NewModel,ModelA=NewModelA in CLI).
|
|
284
300
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_file_upload_post_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_file_upload_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_file_upload_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
285
301
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_file_upload_post_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_file_upload_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_file_upload_post_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
@@ -443,6 +459,11 @@
|
|
|
443
459
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.ts
|
|
444
460
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.ts
|
|
445
461
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelSeedGet200Response.ts
|
|
462
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPoolWalletActivePurposeGet200Response.ts
|
|
463
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPoolWalletActivePurposeGet200ResponseResponseObject.ts
|
|
464
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPoolWalletGet200Response.ts
|
|
465
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPoolWalletGetFilterParameter.ts
|
|
466
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPoolWalletIdPutRequest.ts
|
|
446
467
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTennisEventTypesGet200Response.ts
|
|
447
468
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTennisEventTypesGet200ResponseResponseObjectInner.ts
|
|
448
469
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTennisMatchesGet200Response.ts
|
|
@@ -545,6 +566,7 @@
|
|
|
545
566
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletStatusGet200ResponseResponseObject.ts
|
|
546
567
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletUnbindPost200Response.ts
|
|
547
568
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletUnbindPost200ResponseResponseObject.ts
|
|
569
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3AdminSwapIdActionPutRequest.ts
|
|
548
570
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3PrepareRedeemPost200Response.ts
|
|
549
571
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3PrepareRedeemPost200ResponseResponseObject.ts
|
|
550
572
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3PrepareRedeemPost200ResponseResponseObjectRewardItem.ts
|
|
@@ -574,6 +596,16 @@
|
|
|
574
596
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3RewardPut200Response.ts
|
|
575
597
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3RewardPutRequest.ts
|
|
576
598
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3RewardPutRequestRedeemableItemsInner.ts
|
|
599
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3SwapGet200Response.ts
|
|
600
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3SwapGet200ResponseResponseObject.ts
|
|
601
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3SwapGet200ResponseResponseObjectItemsInner.ts
|
|
602
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUser.ts
|
|
603
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3SwapGetFilterParameter.ts
|
|
604
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3SwapLimitsGet200Response.ts
|
|
605
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3SwapLimitsGet200ResponseResponseObject.ts
|
|
606
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3SwapPost200Response.ts
|
|
607
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3SwapPost200ResponseResponseObject.ts
|
|
608
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3SwapPostRequest.ts
|
|
577
609
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200Response.ts
|
|
578
610
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts
|
|
579
611
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts
|
|
@@ -690,8 +722,19 @@
|
|
|
690
722
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/web3/redemption/{id}. Renamed to auto-generated operationId: apiWeb3RedemptionIdGet
|
|
691
723
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/web3/admin/redemption/{id}. Renamed to auto-generated operationId: apiWeb3AdminRedemptionIdGet
|
|
692
724
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/web3/redemption/{id}/action. Renamed to auto-generated operationId: apiWeb3RedemptionIdActionPut
|
|
725
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/web3/swap/limits. Renamed to auto-generated operationId: apiWeb3SwapLimitsGet
|
|
726
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/web3/swap. Renamed to auto-generated operationId: apiWeb3SwapGet
|
|
727
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/web3/swap. Renamed to auto-generated operationId: apiWeb3SwapPost
|
|
728
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/web3/swap/{id}. Renamed to auto-generated operationId: apiWeb3SwapIdGet
|
|
729
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/web3/admin/swap. Renamed to auto-generated operationId: apiWeb3AdminSwapGet
|
|
730
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/web3/admin/swap/{id}. Renamed to auto-generated operationId: apiWeb3AdminSwapIdGet
|
|
731
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/web3/admin/swap/{id}/action. Renamed to auto-generated operationId: apiWeb3AdminSwapIdActionPut
|
|
693
732
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/public/web3/reward/{id}. Renamed to auto-generated operationId: apiPublicWeb3RewardIdGet
|
|
694
733
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/public/web3/reward. Renamed to auto-generated operationId: apiPublicWeb3RewardGet
|
|
734
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/pool-wallet/active/{purpose}. Renamed to auto-generated operationId: apiPoolWalletActivePurposeGet
|
|
735
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/pool-wallet. Renamed to auto-generated operationId: apiPoolWalletGet
|
|
736
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/pool-wallet/{id}. Renamed to auto-generated operationId: apiPoolWalletIdPut
|
|
737
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/pool-wallet/{id}. Renamed to auto-generated operationId: apiPoolWalletIdDelete
|
|
695
738
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/file/upload. Renamed to auto-generated operationId: apiFileUploadPost
|
|
696
739
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/file/upload/{filename}. Renamed to auto-generated operationId: apiFileUploadFilenameDelete
|
|
697
740
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/feature. Renamed to auto-generated operationId: apiFeatureGet
|
|
@@ -722,12 +765,16 @@
|
|
|
722
765
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
723
766
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/PadelSportsApi.ts
|
|
724
767
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
768
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/PoolWalletManagementApi.ts
|
|
769
|
+
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
725
770
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/PublicRewardApi.ts
|
|
726
771
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
727
772
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/RedemptionApi.ts
|
|
728
773
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
729
774
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/RewardManagementApi.ts
|
|
730
775
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
776
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/SwapApi.ts
|
|
777
|
+
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
731
778
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/TennisSportsApi.ts
|
|
732
779
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
733
780
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/TournamentManagementApi.ts
|
|
@@ -757,21 +804,43 @@
|
|
|
757
804
|
# https://opencollective.com/openapi_generator/donate #
|
|
758
805
|
################################################################################
|
|
759
806
|
✅ SDK generated
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
807
|
+
[master 66d258e] VPS: Generated API SDK
|
|
808
|
+
21 files changed, 2417 insertions(+)
|
|
809
|
+
create mode 100644 apis/PoolWalletManagementApi.ts
|
|
810
|
+
create mode 100644 apis/SwapApi.ts
|
|
811
|
+
create mode 100644 models/ApiPoolWalletActivePurposeGet200Response.ts
|
|
812
|
+
create mode 100644 models/ApiPoolWalletActivePurposeGet200ResponseResponseObject.ts
|
|
813
|
+
create mode 100644 models/ApiPoolWalletGet200Response.ts
|
|
814
|
+
create mode 100644 models/ApiPoolWalletGetFilterParameter.ts
|
|
815
|
+
create mode 100644 models/ApiPoolWalletIdPutRequest.ts
|
|
816
|
+
create mode 100644 models/ApiWeb3AdminSwapIdActionPutRequest.ts
|
|
817
|
+
create mode 100644 models/ApiWeb3SwapGet200Response.ts
|
|
818
|
+
create mode 100644 models/ApiWeb3SwapGet200ResponseResponseObject.ts
|
|
819
|
+
create mode 100644 models/ApiWeb3SwapGet200ResponseResponseObjectItemsInner.ts
|
|
820
|
+
create mode 100644 models/ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUser.ts
|
|
821
|
+
create mode 100644 models/ApiWeb3SwapGetFilterParameter.ts
|
|
822
|
+
create mode 100644 models/ApiWeb3SwapLimitsGet200Response.ts
|
|
823
|
+
create mode 100644 models/ApiWeb3SwapLimitsGet200ResponseResponseObject.ts
|
|
824
|
+
create mode 100644 models/ApiWeb3SwapPost200Response.ts
|
|
825
|
+
create mode 100644 models/ApiWeb3SwapPost200ResponseResponseObject.ts
|
|
826
|
+
create mode 100644 models/ApiWeb3SwapPostRequest.ts
|
|
827
|
+
To https://gitlab.com/drx-super/drx-sdk.git
|
|
828
|
+
bbc2476..66d258e master -> master
|
|
765
829
|
✅ Changes committed and pushed
|
|
766
|
-
v1.1.
|
|
830
|
+
v1.1.389
|
|
831
|
+
npm notice
|
|
832
|
+
npm notice New major version of npm available! 10.9.2 -> 11.5.2
|
|
833
|
+
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.5.2
|
|
834
|
+
npm notice To update run: npm install -g npm@11.5.2
|
|
835
|
+
npm notice
|
|
767
836
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
768
|
-
|
|
837
|
+
66d258e..59a8854 master -> master
|
|
769
838
|
✅ Version bumped
|
|
770
839
|
|
|
771
|
-
> @drxsuperapp/sdk@1.1.
|
|
840
|
+
> @drxsuperapp/sdk@1.1.389 prepublishOnly
|
|
772
841
|
> npm run build
|
|
773
842
|
|
|
774
843
|
|
|
775
|
-
> @drxsuperapp/sdk@1.1.
|
|
844
|
+
> @drxsuperapp/sdk@1.1.389 build
|
|
776
845
|
> tsc
|
|
777
846
|
|