@binance/convert 1.0.0 → 2.0.0

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/README.md CHANGED
@@ -139,21 +139,6 @@ The REST API provides detailed error types to help you handle issues effectively
139
139
 
140
140
  See the [Error Handling example](./docs/rest-api/error-handling.md) for detailed usage.
141
141
 
142
- #### Testnet
143
-
144
- For testing purposes, `/sapi/v1/convert/*` endpoints can be used in the [Testnet](https://testnet.binance.vision/). Update the `basePath` in your configuration:
145
-
146
- ```typescript
147
- import { Convert, ConvertRestAPI, CONVERT_REST_API_TESTNET_URL } from '@binance/convert';
148
-
149
- const configurationRestAPI = {
150
- apiKey: 'your-api-key',
151
- apiSecret: 'your-api-secret',
152
- basePath: CONVERT_REST_API_TESTNET_URL,
153
- };
154
- const client = new Convert({ configurationRestAPI });
155
- ```
156
-
157
142
  If `basePath` is not provided, it defaults to `https://api.binance.com`.
158
143
 
159
144
  ## Testing
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
2
- export { BadRequestError, CONVERT_REST_API_PROD_URL, CONVERT_REST_API_TESTNET_URL, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
2
+ export { BadRequestError, CONVERT_REST_API_PROD_URL, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
3
3
 
4
4
  /**
5
- * Binance Public Convert REST API
5
+ * Binance Convert REST API
6
6
  *
7
- * OpenAPI Specification for the Binance Public Convert REST API
7
+ * OpenAPI Specification for the Binance Convert REST API
8
8
  *
9
9
  * The version of the OpenAPI document: 1.0.0
10
10
  *
@@ -40,41 +40,9 @@ interface AcceptQuoteResponse {
40
40
  }
41
41
 
42
42
  /**
43
- * Binance Public Convert REST API
43
+ * Binance Convert REST API
44
44
  *
45
- * OpenAPI Specification for the Binance Public Convert REST API
46
- *
47
- * The version of the OpenAPI document: 1.0.0
48
- *
49
- *
50
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
51
- * https://openapi-generator.tech
52
- * Do not edit the class manually.
53
- */
54
- /**
55
- *
56
- * @export
57
- * @interface BadRequest
58
- */
59
- interface BadRequest {
60
- /**
61
- *
62
- * @type {number}
63
- * @memberof BadRequest
64
- */
65
- code: number;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof BadRequest
70
- */
71
- message: string;
72
- }
73
-
74
- /**
75
- * Binance Public Convert REST API
76
- *
77
- * OpenAPI Specification for the Binance Public Convert REST API
45
+ * OpenAPI Specification for the Binance Convert REST API
78
46
  *
79
47
  * The version of the OpenAPI document: 1.0.0
80
48
  *
@@ -104,9 +72,9 @@ interface CancelLimitOrderResponse {
104
72
  }
105
73
 
106
74
  /**
107
- * Binance Public Convert REST API
75
+ * Binance Convert REST API
108
76
  *
109
- * OpenAPI Specification for the Binance Public Convert REST API
77
+ * OpenAPI Specification for the Binance Convert REST API
110
78
  *
111
79
  * The version of the OpenAPI document: 1.0.0
112
80
  *
@@ -184,9 +152,9 @@ interface GetConvertTradeHistoryResponseListInner {
184
152
  }
185
153
 
186
154
  /**
187
- * Binance Public Convert REST API
155
+ * Binance Convert REST API
188
156
  *
189
- * OpenAPI Specification for the Binance Public Convert REST API
157
+ * OpenAPI Specification for the Binance Convert REST API
190
158
  *
191
159
  * The version of the OpenAPI document: 1.0.0
192
160
  *
@@ -235,9 +203,9 @@ interface GetConvertTradeHistoryResponse {
235
203
  }
236
204
 
237
205
  /**
238
- * Binance Public Convert REST API
206
+ * Binance Convert REST API
239
207
  *
240
- * OpenAPI Specification for the Binance Public Convert REST API
208
+ * OpenAPI Specification for the Binance Convert REST API
241
209
  *
242
210
  * The version of the OpenAPI document: 1.0.0
243
211
  *
@@ -291,9 +259,9 @@ interface ListAllConvertPairsResponseInner {
291
259
  }
292
260
 
293
261
  /**
294
- * Binance Public Convert REST API
262
+ * Binance Convert REST API
295
263
  *
296
- * OpenAPI Specification for the Binance Public Convert REST API
264
+ * OpenAPI Specification for the Binance Convert REST API
297
265
  *
298
266
  * The version of the OpenAPI document: 1.0.0
299
267
  *
@@ -312,9 +280,9 @@ interface ListAllConvertPairsResponse extends Array<ListAllConvertPairsResponseI
312
280
  }
313
281
 
314
282
  /**
315
- * Binance Public Convert REST API
283
+ * Binance Convert REST API
316
284
  *
317
- * OpenAPI Specification for the Binance Public Convert REST API
285
+ * OpenAPI Specification for the Binance Convert REST API
318
286
  *
319
287
  * The version of the OpenAPI document: 1.0.0
320
288
  *
@@ -386,9 +354,9 @@ interface OrderStatusResponse {
386
354
  }
387
355
 
388
356
  /**
389
- * Binance Public Convert REST API
357
+ * Binance Convert REST API
390
358
  *
391
- * OpenAPI Specification for the Binance Public Convert REST API
359
+ * OpenAPI Specification for the Binance Convert REST API
392
360
  *
393
361
  * The version of the OpenAPI document: 1.0.0
394
362
  *
@@ -442,9 +410,9 @@ interface PlaceLimitOrderResponse {
442
410
  }
443
411
 
444
412
  /**
445
- * Binance Public Convert REST API
413
+ * Binance Convert REST API
446
414
  *
447
- * OpenAPI Specification for the Binance Public Convert REST API
415
+ * OpenAPI Specification for the Binance Convert REST API
448
416
  *
449
417
  * The version of the OpenAPI document: 1.0.0
450
418
  *
@@ -528,9 +496,9 @@ interface QueryLimitOpenOrdersResponseListInner {
528
496
  }
529
497
 
530
498
  /**
531
- * Binance Public Convert REST API
499
+ * Binance Convert REST API
532
500
  *
533
- * OpenAPI Specification for the Binance Public Convert REST API
501
+ * OpenAPI Specification for the Binance Convert REST API
534
502
  *
535
503
  * The version of the OpenAPI document: 1.0.0
536
504
  *
@@ -555,9 +523,9 @@ interface QueryLimitOpenOrdersResponse {
555
523
  }
556
524
 
557
525
  /**
558
- * Binance Public Convert REST API
526
+ * Binance Convert REST API
559
527
  *
560
- * OpenAPI Specification for the Binance Public Convert REST API
528
+ * OpenAPI Specification for the Binance Convert REST API
561
529
  *
562
530
  * The version of the OpenAPI document: 1.0.0
563
531
  *
@@ -587,9 +555,9 @@ interface QueryOrderQuantityPrecisionPerAssetResponseInner {
587
555
  }
588
556
 
589
557
  /**
590
- * Binance Public Convert REST API
558
+ * Binance Convert REST API
591
559
  *
592
- * OpenAPI Specification for the Binance Public Convert REST API
560
+ * OpenAPI Specification for the Binance Convert REST API
593
561
  *
594
562
  * The version of the OpenAPI document: 1.0.0
595
563
  *
@@ -608,9 +576,9 @@ interface QueryOrderQuantityPrecisionPerAssetResponse extends Array<QueryOrderQu
608
576
  }
609
577
 
610
578
  /**
611
- * Binance Public Convert REST API
579
+ * Binance Convert REST API
612
580
  *
613
- * OpenAPI Specification for the Binance Public Convert REST API
581
+ * OpenAPI Specification for the Binance Convert REST API
614
582
  *
615
583
  * The version of the OpenAPI document: 1.0.0
616
584
  *
@@ -664,9 +632,9 @@ interface SendQuoteRequestResponse {
664
632
  }
665
633
 
666
634
  /**
667
- * Binance Public Convert REST API
635
+ * Binance Convert REST API
668
636
  *
669
- * OpenAPI Specification for the Binance Public Convert REST API
637
+ * OpenAPI Specification for the Binance Convert REST API
670
638
  *
671
639
  * The version of the OpenAPI document: 1.0.0
672
640
  *
@@ -779,9 +747,9 @@ declare class MarketDataApi implements MarketDataApiInterface {
779
747
  }
780
748
 
781
749
  /**
782
- * Binance Public Convert REST API
750
+ * Binance Convert REST API
783
751
  *
784
- * OpenAPI Specification for the Binance Public Convert REST API
752
+ * OpenAPI Specification for the Binance Convert REST API
785
753
  *
786
754
  * The version of the OpenAPI document: 1.0.0
787
755
  *
@@ -1205,9 +1173,9 @@ declare class TradeApi implements TradeApiInterface {
1205
1173
  }
1206
1174
 
1207
1175
  /**
1208
- * Binance Public Convert REST API
1176
+ * Binance Convert REST API
1209
1177
  *
1210
- * OpenAPI Specification for the Binance Public Convert REST API
1178
+ * OpenAPI Specification for the Binance Convert REST API
1211
1179
  *
1212
1180
  * The version of the OpenAPI document: 1.0.0
1213
1181
  *
@@ -1363,9 +1331,9 @@ declare class RestAPI {
1363
1331
  }
1364
1332
 
1365
1333
  /**
1366
- * Binance Public Convert REST API
1334
+ * Binance Convert REST API
1367
1335
  *
1368
- * OpenAPI Specification for the Binance Public Convert REST API
1336
+ * OpenAPI Specification for the Binance Convert REST API
1369
1337
  *
1370
1338
  * The version of the OpenAPI document: 1.0.0
1371
1339
  *
@@ -1377,7 +1345,6 @@ declare class RestAPI {
1377
1345
 
1378
1346
  type index_AcceptQuoteRequest = AcceptQuoteRequest;
1379
1347
  type index_AcceptQuoteResponse = AcceptQuoteResponse;
1380
- type index_BadRequest = BadRequest;
1381
1348
  type index_CancelLimitOrderRequest = CancelLimitOrderRequest;
1382
1349
  type index_CancelLimitOrderResponse = CancelLimitOrderResponse;
1383
1350
  type index_GetConvertTradeHistoryRequest = GetConvertTradeHistoryRequest;
@@ -1407,36 +1374,7 @@ type index_TradeApi = TradeApi;
1407
1374
  declare const index_TradeApi: typeof TradeApi;
1408
1375
  type index_TradeApiInterface = TradeApiInterface;
1409
1376
  declare namespace index {
1410
- export {
1411
- index_AcceptQuoteRequest as AcceptQuoteRequest,
1412
- index_AcceptQuoteResponse as AcceptQuoteResponse,
1413
- index_BadRequest as BadRequest,
1414
- index_CancelLimitOrderRequest as CancelLimitOrderRequest,
1415
- index_CancelLimitOrderResponse as CancelLimitOrderResponse,
1416
- index_GetConvertTradeHistoryRequest as GetConvertTradeHistoryRequest,
1417
- index_GetConvertTradeHistoryResponse as GetConvertTradeHistoryResponse,
1418
- index_GetConvertTradeHistoryResponseListInner as GetConvertTradeHistoryResponseListInner,
1419
- index_ListAllConvertPairsRequest as ListAllConvertPairsRequest,
1420
- index_ListAllConvertPairsResponse as ListAllConvertPairsResponse,
1421
- index_ListAllConvertPairsResponseInner as ListAllConvertPairsResponseInner,
1422
- index_MarketDataApi as MarketDataApi,
1423
- index_MarketDataApiInterface as MarketDataApiInterface,
1424
- index_OrderStatusRequest as OrderStatusRequest,
1425
- index_OrderStatusResponse as OrderStatusResponse,
1426
- index_PlaceLimitOrderRequest as PlaceLimitOrderRequest,
1427
- index_PlaceLimitOrderResponse as PlaceLimitOrderResponse,
1428
- index_QueryLimitOpenOrdersRequest as QueryLimitOpenOrdersRequest,
1429
- index_QueryLimitOpenOrdersResponse as QueryLimitOpenOrdersResponse,
1430
- index_QueryLimitOpenOrdersResponseListInner as QueryLimitOpenOrdersResponseListInner,
1431
- index_QueryOrderQuantityPrecisionPerAssetRequest as QueryOrderQuantityPrecisionPerAssetRequest,
1432
- index_QueryOrderQuantityPrecisionPerAssetResponse as QueryOrderQuantityPrecisionPerAssetResponse,
1433
- index_QueryOrderQuantityPrecisionPerAssetResponseInner as QueryOrderQuantityPrecisionPerAssetResponseInner,
1434
- index_RestAPI as RestAPI,
1435
- index_SendQuoteRequestRequest as SendQuoteRequestRequest,
1436
- index_SendQuoteRequestResponse as SendQuoteRequestResponse,
1437
- index_TradeApi as TradeApi,
1438
- index_TradeApiInterface as TradeApiInterface,
1439
- };
1377
+ export { type index_AcceptQuoteRequest as AcceptQuoteRequest, type index_AcceptQuoteResponse as AcceptQuoteResponse, type index_CancelLimitOrderRequest as CancelLimitOrderRequest, type index_CancelLimitOrderResponse as CancelLimitOrderResponse, type index_GetConvertTradeHistoryRequest as GetConvertTradeHistoryRequest, type index_GetConvertTradeHistoryResponse as GetConvertTradeHistoryResponse, type index_GetConvertTradeHistoryResponseListInner as GetConvertTradeHistoryResponseListInner, type index_ListAllConvertPairsRequest as ListAllConvertPairsRequest, type index_ListAllConvertPairsResponse as ListAllConvertPairsResponse, type index_ListAllConvertPairsResponseInner as ListAllConvertPairsResponseInner, index_MarketDataApi as MarketDataApi, type index_MarketDataApiInterface as MarketDataApiInterface, type index_OrderStatusRequest as OrderStatusRequest, type index_OrderStatusResponse as OrderStatusResponse, type index_PlaceLimitOrderRequest as PlaceLimitOrderRequest, type index_PlaceLimitOrderResponse as PlaceLimitOrderResponse, type index_QueryLimitOpenOrdersRequest as QueryLimitOpenOrdersRequest, type index_QueryLimitOpenOrdersResponse as QueryLimitOpenOrdersResponse, type index_QueryLimitOpenOrdersResponseListInner as QueryLimitOpenOrdersResponseListInner, type index_QueryOrderQuantityPrecisionPerAssetRequest as QueryOrderQuantityPrecisionPerAssetRequest, type index_QueryOrderQuantityPrecisionPerAssetResponse as QueryOrderQuantityPrecisionPerAssetResponse, type index_QueryOrderQuantityPrecisionPerAssetResponseInner as QueryOrderQuantityPrecisionPerAssetResponseInner, index_RestAPI as RestAPI, type index_SendQuoteRequestRequest as SendQuoteRequestRequest, type index_SendQuoteRequestResponse as SendQuoteRequestResponse, index_TradeApi as TradeApi, type index_TradeApiInterface as TradeApiInterface };
1440
1378
  }
1441
1379
 
1442
1380
  interface ConfigurationConvert {
@@ -1447,4 +1385,4 @@ declare class Convert {
1447
1385
  constructor(config: ConfigurationConvert);
1448
1386
  }
1449
1387
 
1450
- export { ConfigurationConvert, Convert, index as ConvertRestAPI };
1388
+ export { type ConfigurationConvert, Convert, index as ConvertRestAPI };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
2
- export { BadRequestError, CONVERT_REST_API_PROD_URL, CONVERT_REST_API_TESTNET_URL, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
2
+ export { BadRequestError, CONVERT_REST_API_PROD_URL, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
3
3
 
4
4
  /**
5
- * Binance Public Convert REST API
5
+ * Binance Convert REST API
6
6
  *
7
- * OpenAPI Specification for the Binance Public Convert REST API
7
+ * OpenAPI Specification for the Binance Convert REST API
8
8
  *
9
9
  * The version of the OpenAPI document: 1.0.0
10
10
  *
@@ -40,41 +40,9 @@ interface AcceptQuoteResponse {
40
40
  }
41
41
 
42
42
  /**
43
- * Binance Public Convert REST API
43
+ * Binance Convert REST API
44
44
  *
45
- * OpenAPI Specification for the Binance Public Convert REST API
46
- *
47
- * The version of the OpenAPI document: 1.0.0
48
- *
49
- *
50
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
51
- * https://openapi-generator.tech
52
- * Do not edit the class manually.
53
- */
54
- /**
55
- *
56
- * @export
57
- * @interface BadRequest
58
- */
59
- interface BadRequest {
60
- /**
61
- *
62
- * @type {number}
63
- * @memberof BadRequest
64
- */
65
- code: number;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof BadRequest
70
- */
71
- message: string;
72
- }
73
-
74
- /**
75
- * Binance Public Convert REST API
76
- *
77
- * OpenAPI Specification for the Binance Public Convert REST API
45
+ * OpenAPI Specification for the Binance Convert REST API
78
46
  *
79
47
  * The version of the OpenAPI document: 1.0.0
80
48
  *
@@ -104,9 +72,9 @@ interface CancelLimitOrderResponse {
104
72
  }
105
73
 
106
74
  /**
107
- * Binance Public Convert REST API
75
+ * Binance Convert REST API
108
76
  *
109
- * OpenAPI Specification for the Binance Public Convert REST API
77
+ * OpenAPI Specification for the Binance Convert REST API
110
78
  *
111
79
  * The version of the OpenAPI document: 1.0.0
112
80
  *
@@ -184,9 +152,9 @@ interface GetConvertTradeHistoryResponseListInner {
184
152
  }
185
153
 
186
154
  /**
187
- * Binance Public Convert REST API
155
+ * Binance Convert REST API
188
156
  *
189
- * OpenAPI Specification for the Binance Public Convert REST API
157
+ * OpenAPI Specification for the Binance Convert REST API
190
158
  *
191
159
  * The version of the OpenAPI document: 1.0.0
192
160
  *
@@ -235,9 +203,9 @@ interface GetConvertTradeHistoryResponse {
235
203
  }
236
204
 
237
205
  /**
238
- * Binance Public Convert REST API
206
+ * Binance Convert REST API
239
207
  *
240
- * OpenAPI Specification for the Binance Public Convert REST API
208
+ * OpenAPI Specification for the Binance Convert REST API
241
209
  *
242
210
  * The version of the OpenAPI document: 1.0.0
243
211
  *
@@ -291,9 +259,9 @@ interface ListAllConvertPairsResponseInner {
291
259
  }
292
260
 
293
261
  /**
294
- * Binance Public Convert REST API
262
+ * Binance Convert REST API
295
263
  *
296
- * OpenAPI Specification for the Binance Public Convert REST API
264
+ * OpenAPI Specification for the Binance Convert REST API
297
265
  *
298
266
  * The version of the OpenAPI document: 1.0.0
299
267
  *
@@ -312,9 +280,9 @@ interface ListAllConvertPairsResponse extends Array<ListAllConvertPairsResponseI
312
280
  }
313
281
 
314
282
  /**
315
- * Binance Public Convert REST API
283
+ * Binance Convert REST API
316
284
  *
317
- * OpenAPI Specification for the Binance Public Convert REST API
285
+ * OpenAPI Specification for the Binance Convert REST API
318
286
  *
319
287
  * The version of the OpenAPI document: 1.0.0
320
288
  *
@@ -386,9 +354,9 @@ interface OrderStatusResponse {
386
354
  }
387
355
 
388
356
  /**
389
- * Binance Public Convert REST API
357
+ * Binance Convert REST API
390
358
  *
391
- * OpenAPI Specification for the Binance Public Convert REST API
359
+ * OpenAPI Specification for the Binance Convert REST API
392
360
  *
393
361
  * The version of the OpenAPI document: 1.0.0
394
362
  *
@@ -442,9 +410,9 @@ interface PlaceLimitOrderResponse {
442
410
  }
443
411
 
444
412
  /**
445
- * Binance Public Convert REST API
413
+ * Binance Convert REST API
446
414
  *
447
- * OpenAPI Specification for the Binance Public Convert REST API
415
+ * OpenAPI Specification for the Binance Convert REST API
448
416
  *
449
417
  * The version of the OpenAPI document: 1.0.0
450
418
  *
@@ -528,9 +496,9 @@ interface QueryLimitOpenOrdersResponseListInner {
528
496
  }
529
497
 
530
498
  /**
531
- * Binance Public Convert REST API
499
+ * Binance Convert REST API
532
500
  *
533
- * OpenAPI Specification for the Binance Public Convert REST API
501
+ * OpenAPI Specification for the Binance Convert REST API
534
502
  *
535
503
  * The version of the OpenAPI document: 1.0.0
536
504
  *
@@ -555,9 +523,9 @@ interface QueryLimitOpenOrdersResponse {
555
523
  }
556
524
 
557
525
  /**
558
- * Binance Public Convert REST API
526
+ * Binance Convert REST API
559
527
  *
560
- * OpenAPI Specification for the Binance Public Convert REST API
528
+ * OpenAPI Specification for the Binance Convert REST API
561
529
  *
562
530
  * The version of the OpenAPI document: 1.0.0
563
531
  *
@@ -587,9 +555,9 @@ interface QueryOrderQuantityPrecisionPerAssetResponseInner {
587
555
  }
588
556
 
589
557
  /**
590
- * Binance Public Convert REST API
558
+ * Binance Convert REST API
591
559
  *
592
- * OpenAPI Specification for the Binance Public Convert REST API
560
+ * OpenAPI Specification for the Binance Convert REST API
593
561
  *
594
562
  * The version of the OpenAPI document: 1.0.0
595
563
  *
@@ -608,9 +576,9 @@ interface QueryOrderQuantityPrecisionPerAssetResponse extends Array<QueryOrderQu
608
576
  }
609
577
 
610
578
  /**
611
- * Binance Public Convert REST API
579
+ * Binance Convert REST API
612
580
  *
613
- * OpenAPI Specification for the Binance Public Convert REST API
581
+ * OpenAPI Specification for the Binance Convert REST API
614
582
  *
615
583
  * The version of the OpenAPI document: 1.0.0
616
584
  *
@@ -664,9 +632,9 @@ interface SendQuoteRequestResponse {
664
632
  }
665
633
 
666
634
  /**
667
- * Binance Public Convert REST API
635
+ * Binance Convert REST API
668
636
  *
669
- * OpenAPI Specification for the Binance Public Convert REST API
637
+ * OpenAPI Specification for the Binance Convert REST API
670
638
  *
671
639
  * The version of the OpenAPI document: 1.0.0
672
640
  *
@@ -779,9 +747,9 @@ declare class MarketDataApi implements MarketDataApiInterface {
779
747
  }
780
748
 
781
749
  /**
782
- * Binance Public Convert REST API
750
+ * Binance Convert REST API
783
751
  *
784
- * OpenAPI Specification for the Binance Public Convert REST API
752
+ * OpenAPI Specification for the Binance Convert REST API
785
753
  *
786
754
  * The version of the OpenAPI document: 1.0.0
787
755
  *
@@ -1205,9 +1173,9 @@ declare class TradeApi implements TradeApiInterface {
1205
1173
  }
1206
1174
 
1207
1175
  /**
1208
- * Binance Public Convert REST API
1176
+ * Binance Convert REST API
1209
1177
  *
1210
- * OpenAPI Specification for the Binance Public Convert REST API
1178
+ * OpenAPI Specification for the Binance Convert REST API
1211
1179
  *
1212
1180
  * The version of the OpenAPI document: 1.0.0
1213
1181
  *
@@ -1363,9 +1331,9 @@ declare class RestAPI {
1363
1331
  }
1364
1332
 
1365
1333
  /**
1366
- * Binance Public Convert REST API
1334
+ * Binance Convert REST API
1367
1335
  *
1368
- * OpenAPI Specification for the Binance Public Convert REST API
1336
+ * OpenAPI Specification for the Binance Convert REST API
1369
1337
  *
1370
1338
  * The version of the OpenAPI document: 1.0.0
1371
1339
  *
@@ -1377,7 +1345,6 @@ declare class RestAPI {
1377
1345
 
1378
1346
  type index_AcceptQuoteRequest = AcceptQuoteRequest;
1379
1347
  type index_AcceptQuoteResponse = AcceptQuoteResponse;
1380
- type index_BadRequest = BadRequest;
1381
1348
  type index_CancelLimitOrderRequest = CancelLimitOrderRequest;
1382
1349
  type index_CancelLimitOrderResponse = CancelLimitOrderResponse;
1383
1350
  type index_GetConvertTradeHistoryRequest = GetConvertTradeHistoryRequest;
@@ -1407,36 +1374,7 @@ type index_TradeApi = TradeApi;
1407
1374
  declare const index_TradeApi: typeof TradeApi;
1408
1375
  type index_TradeApiInterface = TradeApiInterface;
1409
1376
  declare namespace index {
1410
- export {
1411
- index_AcceptQuoteRequest as AcceptQuoteRequest,
1412
- index_AcceptQuoteResponse as AcceptQuoteResponse,
1413
- index_BadRequest as BadRequest,
1414
- index_CancelLimitOrderRequest as CancelLimitOrderRequest,
1415
- index_CancelLimitOrderResponse as CancelLimitOrderResponse,
1416
- index_GetConvertTradeHistoryRequest as GetConvertTradeHistoryRequest,
1417
- index_GetConvertTradeHistoryResponse as GetConvertTradeHistoryResponse,
1418
- index_GetConvertTradeHistoryResponseListInner as GetConvertTradeHistoryResponseListInner,
1419
- index_ListAllConvertPairsRequest as ListAllConvertPairsRequest,
1420
- index_ListAllConvertPairsResponse as ListAllConvertPairsResponse,
1421
- index_ListAllConvertPairsResponseInner as ListAllConvertPairsResponseInner,
1422
- index_MarketDataApi as MarketDataApi,
1423
- index_MarketDataApiInterface as MarketDataApiInterface,
1424
- index_OrderStatusRequest as OrderStatusRequest,
1425
- index_OrderStatusResponse as OrderStatusResponse,
1426
- index_PlaceLimitOrderRequest as PlaceLimitOrderRequest,
1427
- index_PlaceLimitOrderResponse as PlaceLimitOrderResponse,
1428
- index_QueryLimitOpenOrdersRequest as QueryLimitOpenOrdersRequest,
1429
- index_QueryLimitOpenOrdersResponse as QueryLimitOpenOrdersResponse,
1430
- index_QueryLimitOpenOrdersResponseListInner as QueryLimitOpenOrdersResponseListInner,
1431
- index_QueryOrderQuantityPrecisionPerAssetRequest as QueryOrderQuantityPrecisionPerAssetRequest,
1432
- index_QueryOrderQuantityPrecisionPerAssetResponse as QueryOrderQuantityPrecisionPerAssetResponse,
1433
- index_QueryOrderQuantityPrecisionPerAssetResponseInner as QueryOrderQuantityPrecisionPerAssetResponseInner,
1434
- index_RestAPI as RestAPI,
1435
- index_SendQuoteRequestRequest as SendQuoteRequestRequest,
1436
- index_SendQuoteRequestResponse as SendQuoteRequestResponse,
1437
- index_TradeApi as TradeApi,
1438
- index_TradeApiInterface as TradeApiInterface,
1439
- };
1377
+ export { type index_AcceptQuoteRequest as AcceptQuoteRequest, type index_AcceptQuoteResponse as AcceptQuoteResponse, type index_CancelLimitOrderRequest as CancelLimitOrderRequest, type index_CancelLimitOrderResponse as CancelLimitOrderResponse, type index_GetConvertTradeHistoryRequest as GetConvertTradeHistoryRequest, type index_GetConvertTradeHistoryResponse as GetConvertTradeHistoryResponse, type index_GetConvertTradeHistoryResponseListInner as GetConvertTradeHistoryResponseListInner, type index_ListAllConvertPairsRequest as ListAllConvertPairsRequest, type index_ListAllConvertPairsResponse as ListAllConvertPairsResponse, type index_ListAllConvertPairsResponseInner as ListAllConvertPairsResponseInner, index_MarketDataApi as MarketDataApi, type index_MarketDataApiInterface as MarketDataApiInterface, type index_OrderStatusRequest as OrderStatusRequest, type index_OrderStatusResponse as OrderStatusResponse, type index_PlaceLimitOrderRequest as PlaceLimitOrderRequest, type index_PlaceLimitOrderResponse as PlaceLimitOrderResponse, type index_QueryLimitOpenOrdersRequest as QueryLimitOpenOrdersRequest, type index_QueryLimitOpenOrdersResponse as QueryLimitOpenOrdersResponse, type index_QueryLimitOpenOrdersResponseListInner as QueryLimitOpenOrdersResponseListInner, type index_QueryOrderQuantityPrecisionPerAssetRequest as QueryOrderQuantityPrecisionPerAssetRequest, type index_QueryOrderQuantityPrecisionPerAssetResponse as QueryOrderQuantityPrecisionPerAssetResponse, type index_QueryOrderQuantityPrecisionPerAssetResponseInner as QueryOrderQuantityPrecisionPerAssetResponseInner, index_RestAPI as RestAPI, type index_SendQuoteRequestRequest as SendQuoteRequestRequest, type index_SendQuoteRequestResponse as SendQuoteRequestResponse, index_TradeApi as TradeApi, type index_TradeApiInterface as TradeApiInterface };
1440
1378
  }
1441
1379
 
1442
1380
  interface ConfigurationConvert {
@@ -1447,4 +1385,4 @@ declare class Convert {
1447
1385
  constructor(config: ConfigurationConvert);
1448
1386
  }
1449
1387
 
1450
- export { ConfigurationConvert, Convert, index as ConvertRestAPI };
1388
+ export { type ConfigurationConvert, Convert, index as ConvertRestAPI };