@rivascva/dt-idl 1.1.24 → 1.1.25
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/dist/index.d.ts +32 -1
- package/package.json +1 -1
- package/services/dt-trade-service.yaml +29 -0
- package/ts/services/dt-trade-service.ts +32 -1
package/dist/index.d.ts
CHANGED
|
@@ -681,7 +681,8 @@ interface paths {
|
|
|
681
681
|
put?: never;
|
|
682
682
|
/** @description Add a new order */
|
|
683
683
|
post: operations["addOrder"];
|
|
684
|
-
|
|
684
|
+
/** @description Delete an existing order */
|
|
685
|
+
delete: operations["deleteOrder"];
|
|
685
686
|
options?: never;
|
|
686
687
|
head?: never;
|
|
687
688
|
patch?: never;
|
|
@@ -829,6 +830,13 @@ interface components {
|
|
|
829
830
|
OrderType: "BUY_MARKET" | "BUY_LIMIT" | "BUY_STOP" | "SELL_MARKET" | "SELL_LIMIT" | "SELL_STOP";
|
|
830
831
|
};
|
|
831
832
|
responses: {
|
|
833
|
+
/** @description No content */
|
|
834
|
+
NoContent: {
|
|
835
|
+
headers: {
|
|
836
|
+
[name: string]: unknown;
|
|
837
|
+
};
|
|
838
|
+
content?: never;
|
|
839
|
+
};
|
|
832
840
|
/** @description The resource was not found */
|
|
833
841
|
NotFound: {
|
|
834
842
|
headers: {
|
|
@@ -1021,6 +1029,29 @@ interface operations {
|
|
|
1021
1029
|
500: components["responses"]["InternalServerError"];
|
|
1022
1030
|
};
|
|
1023
1031
|
};
|
|
1032
|
+
deleteOrder: {
|
|
1033
|
+
parameters: {
|
|
1034
|
+
query?: never;
|
|
1035
|
+
header?: never;
|
|
1036
|
+
path?: never;
|
|
1037
|
+
cookie?: never;
|
|
1038
|
+
};
|
|
1039
|
+
/** @description The request body to delete an existing order */
|
|
1040
|
+
requestBody: {
|
|
1041
|
+
content: {
|
|
1042
|
+
"application/json": {
|
|
1043
|
+
/** @example 123456 */
|
|
1044
|
+
id: string;
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
responses: {
|
|
1049
|
+
204: components["responses"]["NoContent"];
|
|
1050
|
+
400: components["responses"]["BadRequest"];
|
|
1051
|
+
404: components["responses"]["NotFound"];
|
|
1052
|
+
500: components["responses"]["InternalServerError"];
|
|
1053
|
+
};
|
|
1054
|
+
};
|
|
1024
1055
|
}
|
|
1025
1056
|
|
|
1026
1057
|
declare const createMarketServiceClient: (options: ClientOptions) => openapi_fetch.Client<paths$1, `${string}/${string}`>;
|
package/package.json
CHANGED
|
@@ -166,6 +166,32 @@ paths:
|
|
|
166
166
|
$ref: '#/components/responses/NotFound'
|
|
167
167
|
500:
|
|
168
168
|
$ref: '#/components/responses/InternalServerError'
|
|
169
|
+
delete:
|
|
170
|
+
description: Delete an existing order
|
|
171
|
+
operationId: deleteOrder
|
|
172
|
+
tags:
|
|
173
|
+
- Orders
|
|
174
|
+
requestBody:
|
|
175
|
+
description: The request body to delete an existing order
|
|
176
|
+
required: true
|
|
177
|
+
content:
|
|
178
|
+
application/json:
|
|
179
|
+
schema:
|
|
180
|
+
properties:
|
|
181
|
+
id:
|
|
182
|
+
type: string
|
|
183
|
+
example: 123456
|
|
184
|
+
required:
|
|
185
|
+
- id
|
|
186
|
+
responses:
|
|
187
|
+
204:
|
|
188
|
+
$ref: '#/components/responses/NoContent'
|
|
189
|
+
400:
|
|
190
|
+
$ref: '#/components/responses/BadRequest'
|
|
191
|
+
404:
|
|
192
|
+
$ref: '#/components/responses/NotFound'
|
|
193
|
+
500:
|
|
194
|
+
$ref: '#/components/responses/InternalServerError'
|
|
169
195
|
|
|
170
196
|
components:
|
|
171
197
|
schemas:
|
|
@@ -382,6 +408,9 @@ components:
|
|
|
382
408
|
- SELL_STOP
|
|
383
409
|
|
|
384
410
|
responses:
|
|
411
|
+
NoContent:
|
|
412
|
+
description: No content
|
|
413
|
+
|
|
385
414
|
NotFound:
|
|
386
415
|
description: The resource was not found
|
|
387
416
|
content:
|
|
@@ -68,7 +68,8 @@ export interface paths {
|
|
|
68
68
|
put?: never;
|
|
69
69
|
/** @description Add a new order */
|
|
70
70
|
post: operations["addOrder"];
|
|
71
|
-
|
|
71
|
+
/** @description Delete an existing order */
|
|
72
|
+
delete: operations["deleteOrder"];
|
|
72
73
|
options?: never;
|
|
73
74
|
head?: never;
|
|
74
75
|
patch?: never;
|
|
@@ -217,6 +218,13 @@ export interface components {
|
|
|
217
218
|
OrderType: "BUY_MARKET" | "BUY_LIMIT" | "BUY_STOP" | "SELL_MARKET" | "SELL_LIMIT" | "SELL_STOP";
|
|
218
219
|
};
|
|
219
220
|
responses: {
|
|
221
|
+
/** @description No content */
|
|
222
|
+
NoContent: {
|
|
223
|
+
headers: {
|
|
224
|
+
[name: string]: unknown;
|
|
225
|
+
};
|
|
226
|
+
content?: never;
|
|
227
|
+
};
|
|
220
228
|
/** @description The resource was not found */
|
|
221
229
|
NotFound: {
|
|
222
230
|
headers: {
|
|
@@ -410,4 +418,27 @@ export interface operations {
|
|
|
410
418
|
500: components["responses"]["InternalServerError"];
|
|
411
419
|
};
|
|
412
420
|
};
|
|
421
|
+
deleteOrder: {
|
|
422
|
+
parameters: {
|
|
423
|
+
query?: never;
|
|
424
|
+
header?: never;
|
|
425
|
+
path?: never;
|
|
426
|
+
cookie?: never;
|
|
427
|
+
};
|
|
428
|
+
/** @description The request body to delete an existing order */
|
|
429
|
+
requestBody: {
|
|
430
|
+
content: {
|
|
431
|
+
"application/json": {
|
|
432
|
+
/** @example 123456 */
|
|
433
|
+
id: string;
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
responses: {
|
|
438
|
+
204: components["responses"]["NoContent"];
|
|
439
|
+
400: components["responses"]["BadRequest"];
|
|
440
|
+
404: components["responses"]["NotFound"];
|
|
441
|
+
500: components["responses"]["InternalServerError"];
|
|
442
|
+
};
|
|
443
|
+
};
|
|
413
444
|
}
|