@binance/crypto-loan 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
@@ -140,25 +140,6 @@ The REST API provides detailed error types to help you handle issues effectively
140
140
 
141
141
  See the [Error Handling example](./docs/rest-api/error-handling.md) for detailed usage.
142
142
 
143
- #### Testnet
144
-
145
- For testing purposes, `/sapi/v1/loan/*` and `/sapi/v2/loan/*` endpoints can be used in the [Testnet](https://testnet.binance.vision/). Update the `basePath` in your configuration:
146
-
147
- ```typescript
148
- import {
149
- CryptoLoan,
150
- CryptoLoanRestAPI,
151
- CRYPTO_LOAN_REST_API_TESTNET_URL,
152
- } from '@binance/crypto-loan';
153
-
154
- const configurationRestAPI = {
155
- apiKey: 'your-api-key',
156
- apiSecret: 'your-api-secret',
157
- basePath: CRYPTO_LOAN_REST_API_TESTNET_URL,
158
- };
159
- const client = new CryptoLoan({ configurationRestAPI });
160
- ```
161
-
162
143
  If `basePath` is not provided, it defaults to `https://api.binance.com`.
163
144
 
164
145
  ## Testing
package/dist/index.d.mts CHANGED
@@ -1,42 +1,10 @@
1
1
  import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
2
- export { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, CRYPTO_LOAN_REST_API_TESTNET_URL, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
2
+ export { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
3
3
 
4
4
  /**
5
- * Binance Public Crypto Loan REST API
5
+ * Binance Crypto Loan REST API
6
6
  *
7
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
8
- *
9
- * The version of the OpenAPI document: 1.0.0
10
- *
11
- *
12
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
- * https://openapi-generator.tech
14
- * Do not edit the class manually.
15
- */
16
- /**
17
- *
18
- * @export
19
- * @interface BadRequest
20
- */
21
- interface BadRequest {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof BadRequest
26
- */
27
- code: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof BadRequest
32
- */
33
- message: string;
34
- }
35
-
36
- /**
37
- * Binance Public Crypto Loan REST API
38
- *
39
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
7
+ * OpenAPI Specification for the Binance Crypto Loan REST API
40
8
  *
41
9
  * The version of the OpenAPI document: 1.0.0
42
10
  *
@@ -72,9 +40,9 @@ interface CheckCollateralRepayRateResponse {
72
40
  }
73
41
 
74
42
  /**
75
- * Binance Public Crypto Loan REST API
43
+ * Binance Crypto Loan REST API
76
44
  *
77
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
45
+ * OpenAPI Specification for the Binance Crypto Loan REST API
78
46
  *
79
47
  * The version of the OpenAPI document: 1.0.0
80
48
  *
@@ -116,9 +84,9 @@ interface CheckCollateralRepayRateStableRateResponse {
116
84
  }
117
85
 
118
86
  /**
119
- * Binance Public Crypto Loan REST API
87
+ * Binance Crypto Loan REST API
120
88
  *
121
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
89
+ * OpenAPI Specification for the Binance Crypto Loan REST API
122
90
  *
123
91
  * The version of the OpenAPI document: 1.0.0
124
92
  *
@@ -166,9 +134,9 @@ interface CryptoLoanAdjustLtvResponse {
166
134
  }
167
135
 
168
136
  /**
169
- * Binance Public Crypto Loan REST API
137
+ * Binance Crypto Loan REST API
170
138
  *
171
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
139
+ * OpenAPI Specification for the Binance Crypto Loan REST API
172
140
  *
173
141
  * The version of the OpenAPI document: 1.0.0
174
142
  *
@@ -222,9 +190,9 @@ interface CryptoLoanBorrowResponse {
222
190
  }
223
191
 
224
192
  /**
225
- * Binance Public Crypto Loan REST API
193
+ * Binance Crypto Loan REST API
226
194
  *
227
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
195
+ * OpenAPI Specification for the Binance Crypto Loan REST API
228
196
  *
229
197
  * The version of the OpenAPI document: 1.0.0
230
198
  *
@@ -272,9 +240,9 @@ interface CryptoLoanCustomizeMarginCallResponseRowsInner {
272
240
  }
273
241
 
274
242
  /**
275
- * Binance Public Crypto Loan REST API
243
+ * Binance Crypto Loan REST API
276
244
  *
277
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
245
+ * OpenAPI Specification for the Binance Crypto Loan REST API
278
246
  *
279
247
  * The version of the OpenAPI document: 1.0.0
280
248
  *
@@ -305,9 +273,9 @@ interface CryptoLoanCustomizeMarginCallResponse {
305
273
  }
306
274
 
307
275
  /**
308
- * Binance Public Crypto Loan REST API
276
+ * Binance Crypto Loan REST API
309
277
  *
310
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
278
+ * OpenAPI Specification for the Binance Crypto Loan REST API
311
279
  *
312
280
  * The version of the OpenAPI document: 1.0.0
313
281
  *
@@ -367,9 +335,9 @@ interface CryptoLoanRepayResponse1 {
367
335
  }
368
336
 
369
337
  /**
370
- * Binance Public Crypto Loan REST API
338
+ * Binance Crypto Loan REST API
371
339
  *
372
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
340
+ * OpenAPI Specification for the Binance Crypto Loan REST API
373
341
  *
374
342
  * The version of the OpenAPI document: 1.0.0
375
343
  *
@@ -405,9 +373,9 @@ interface CryptoLoanRepayResponse2 {
405
373
  }
406
374
 
407
375
  /**
408
- * Binance Public Crypto Loan REST API
376
+ * Binance Crypto Loan REST API
409
377
  *
410
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
378
+ * OpenAPI Specification for the Binance Crypto Loan REST API
411
379
  *
412
380
  * The version of the OpenAPI document: 1.0.0
413
381
  *
@@ -424,9 +392,9 @@ interface CryptoLoanRepayResponse2 {
424
392
  type CryptoLoanRepayResponse = CryptoLoanRepayResponse1 | CryptoLoanRepayResponse2;
425
393
 
426
394
  /**
427
- * Binance Public Crypto Loan REST API
395
+ * Binance Crypto Loan REST API
428
396
  *
429
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
397
+ * OpenAPI Specification for the Binance Crypto Loan REST API
430
398
  *
431
399
  * The version of the OpenAPI document: 1.0.0
432
400
  *
@@ -480,9 +448,9 @@ interface FlexibleLoanAdjustLtvResponse {
480
448
  }
481
449
 
482
450
  /**
483
- * Binance Public Crypto Loan REST API
451
+ * Binance Crypto Loan REST API
484
452
  *
485
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
453
+ * OpenAPI Specification for the Binance Crypto Loan REST API
486
454
  *
487
455
  * The version of the OpenAPI document: 1.0.0
488
456
  *
@@ -530,9 +498,9 @@ interface FlexibleLoanBorrowResponse {
530
498
  }
531
499
 
532
500
  /**
533
- * Binance Public Crypto Loan REST API
501
+ * Binance Crypto Loan REST API
534
502
  *
535
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
503
+ * OpenAPI Specification for the Binance Crypto Loan REST API
536
504
  *
537
505
  * The version of the OpenAPI document: 1.0.0
538
506
  *
@@ -592,9 +560,9 @@ interface FlexibleLoanCollateralRepaymentResponse {
592
560
  }
593
561
 
594
562
  /**
595
- * Binance Public Crypto Loan REST API
563
+ * Binance Crypto Loan REST API
596
564
  *
597
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
565
+ * OpenAPI Specification for the Binance Crypto Loan REST API
598
566
  *
599
567
  * The version of the OpenAPI document: 1.0.0
600
568
  *
@@ -654,9 +622,9 @@ interface FlexibleLoanRepayResponse {
654
622
  }
655
623
 
656
624
  /**
657
- * Binance Public Crypto Loan REST API
625
+ * Binance Crypto Loan REST API
658
626
  *
659
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
627
+ * OpenAPI Specification for the Binance Crypto Loan REST API
660
628
  *
661
629
  * The version of the OpenAPI document: 1.0.0
662
630
  *
@@ -710,9 +678,9 @@ interface GetCollateralAssetsDataResponseRowsInner {
710
678
  }
711
679
 
712
680
  /**
713
- * Binance Public Crypto Loan REST API
681
+ * Binance Crypto Loan REST API
714
682
  *
715
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
683
+ * OpenAPI Specification for the Binance Crypto Loan REST API
716
684
  *
717
685
  * The version of the OpenAPI document: 1.0.0
718
686
  *
@@ -743,9 +711,9 @@ interface GetCollateralAssetsDataResponse {
743
711
  }
744
712
 
745
713
  /**
746
- * Binance Public Crypto Loan REST API
714
+ * Binance Crypto Loan REST API
747
715
  *
748
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
716
+ * OpenAPI Specification for the Binance Crypto Loan REST API
749
717
  *
750
718
  * The version of the OpenAPI document: 1.0.0
751
719
  *
@@ -793,9 +761,9 @@ interface GetCryptoLoansIncomeHistoryResponseInner {
793
761
  }
794
762
 
795
763
  /**
796
- * Binance Public Crypto Loan REST API
764
+ * Binance Crypto Loan REST API
797
765
  *
798
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
766
+ * OpenAPI Specification for the Binance Crypto Loan REST API
799
767
  *
800
768
  * The version of the OpenAPI document: 1.0.0
801
769
  *
@@ -814,9 +782,9 @@ interface GetCryptoLoansIncomeHistoryResponse extends Array<GetCryptoLoansIncome
814
782
  }
815
783
 
816
784
  /**
817
- * Binance Public Crypto Loan REST API
785
+ * Binance Crypto Loan REST API
818
786
  *
819
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
787
+ * OpenAPI Specification for the Binance Crypto Loan REST API
820
788
  *
821
789
  * The version of the OpenAPI document: 1.0.0
822
790
  *
@@ -858,9 +826,9 @@ interface GetFlexibleLoanAssetsDataResponseRowsInner {
858
826
  }
859
827
 
860
828
  /**
861
- * Binance Public Crypto Loan REST API
829
+ * Binance Crypto Loan REST API
862
830
  *
863
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
831
+ * OpenAPI Specification for the Binance Crypto Loan REST API
864
832
  *
865
833
  * The version of the OpenAPI document: 1.0.0
866
834
  *
@@ -891,9 +859,9 @@ interface GetFlexibleLoanAssetsDataResponse {
891
859
  }
892
860
 
893
861
  /**
894
- * Binance Public Crypto Loan REST API
862
+ * Binance Crypto Loan REST API
895
863
  *
896
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
864
+ * OpenAPI Specification for the Binance Crypto Loan REST API
897
865
  *
898
866
  * The version of the OpenAPI document: 1.0.0
899
867
  *
@@ -947,9 +915,9 @@ interface GetFlexibleLoanBorrowHistoryResponseRowsInner {
947
915
  }
948
916
 
949
917
  /**
950
- * Binance Public Crypto Loan REST API
918
+ * Binance Crypto Loan REST API
951
919
  *
952
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
920
+ * OpenAPI Specification for the Binance Crypto Loan REST API
953
921
  *
954
922
  * The version of the OpenAPI document: 1.0.0
955
923
  *
@@ -980,9 +948,9 @@ interface GetFlexibleLoanBorrowHistoryResponse {
980
948
  }
981
949
 
982
950
  /**
983
- * Binance Public Crypto Loan REST API
951
+ * Binance Crypto Loan REST API
984
952
  *
985
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
953
+ * OpenAPI Specification for the Binance Crypto Loan REST API
986
954
  *
987
955
  * The version of the OpenAPI document: 1.0.0
988
956
  *
@@ -1030,9 +998,9 @@ interface GetFlexibleLoanCollateralAssetsDataResponseRowsInner {
1030
998
  }
1031
999
 
1032
1000
  /**
1033
- * Binance Public Crypto Loan REST API
1001
+ * Binance Crypto Loan REST API
1034
1002
  *
1035
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1003
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1036
1004
  *
1037
1005
  * The version of the OpenAPI document: 1.0.0
1038
1006
  *
@@ -1063,9 +1031,9 @@ interface GetFlexibleLoanCollateralAssetsDataResponse {
1063
1031
  }
1064
1032
 
1065
1033
  /**
1066
- * Binance Public Crypto Loan REST API
1034
+ * Binance Crypto Loan REST API
1067
1035
  *
1068
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1036
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1069
1037
  *
1070
1038
  * The version of the OpenAPI document: 1.0.0
1071
1039
  *
@@ -1137,9 +1105,9 @@ interface GetFlexibleLoanLiquidationHistoryResponseRowsInner {
1137
1105
  }
1138
1106
 
1139
1107
  /**
1140
- * Binance Public Crypto Loan REST API
1108
+ * Binance Crypto Loan REST API
1141
1109
  *
1142
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1110
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1143
1111
  *
1144
1112
  * The version of the OpenAPI document: 1.0.0
1145
1113
  *
@@ -1170,9 +1138,9 @@ interface GetFlexibleLoanLiquidationHistoryResponse {
1170
1138
  }
1171
1139
 
1172
1140
  /**
1173
- * Binance Public Crypto Loan REST API
1141
+ * Binance Crypto Loan REST API
1174
1142
  *
1175
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1143
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1176
1144
  *
1177
1145
  * The version of the OpenAPI document: 1.0.0
1178
1146
  *
@@ -1232,9 +1200,9 @@ interface GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner {
1232
1200
  }
1233
1201
 
1234
1202
  /**
1235
- * Binance Public Crypto Loan REST API
1203
+ * Binance Crypto Loan REST API
1236
1204
  *
1237
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1205
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1238
1206
  *
1239
1207
  * The version of the OpenAPI document: 1.0.0
1240
1208
  *
@@ -1265,9 +1233,9 @@ interface GetFlexibleLoanLtvAdjustmentHistoryResponse {
1265
1233
  }
1266
1234
 
1267
1235
  /**
1268
- * Binance Public Crypto Loan REST API
1236
+ * Binance Crypto Loan REST API
1269
1237
  *
1270
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1238
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1271
1239
  *
1272
1240
  * The version of the OpenAPI document: 1.0.0
1273
1241
  *
@@ -1315,9 +1283,9 @@ interface GetFlexibleLoanOngoingOrdersResponseRowsInner {
1315
1283
  }
1316
1284
 
1317
1285
  /**
1318
- * Binance Public Crypto Loan REST API
1286
+ * Binance Crypto Loan REST API
1319
1287
  *
1320
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1288
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1321
1289
  *
1322
1290
  * The version of the OpenAPI document: 1.0.0
1323
1291
  *
@@ -1348,9 +1316,9 @@ interface GetFlexibleLoanOngoingOrdersResponse {
1348
1316
  }
1349
1317
 
1350
1318
  /**
1351
- * Binance Public Crypto Loan REST API
1319
+ * Binance Crypto Loan REST API
1352
1320
  *
1353
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1321
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1354
1322
  *
1355
1323
  * The version of the OpenAPI document: 1.0.0
1356
1324
  *
@@ -1404,9 +1372,9 @@ interface GetFlexibleLoanRepaymentHistoryResponseRowsInner {
1404
1372
  }
1405
1373
 
1406
1374
  /**
1407
- * Binance Public Crypto Loan REST API
1375
+ * Binance Crypto Loan REST API
1408
1376
  *
1409
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1377
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1410
1378
  *
1411
1379
  * The version of the OpenAPI document: 1.0.0
1412
1380
  *
@@ -1437,9 +1405,9 @@ interface GetFlexibleLoanRepaymentHistoryResponse {
1437
1405
  }
1438
1406
 
1439
1407
  /**
1440
- * Binance Public Crypto Loan REST API
1408
+ * Binance Crypto Loan REST API
1441
1409
  *
1442
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1410
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1443
1411
  *
1444
1412
  * The version of the OpenAPI document: 1.0.0
1445
1413
  *
@@ -1511,9 +1479,9 @@ interface GetLoanBorrowHistoryResponseRowsInner {
1511
1479
  }
1512
1480
 
1513
1481
  /**
1514
- * Binance Public Crypto Loan REST API
1482
+ * Binance Crypto Loan REST API
1515
1483
  *
1516
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1484
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1517
1485
  *
1518
1486
  * The version of the OpenAPI document: 1.0.0
1519
1487
  *
@@ -1544,9 +1512,9 @@ interface GetLoanBorrowHistoryResponse {
1544
1512
  }
1545
1513
 
1546
1514
  /**
1547
- * Binance Public Crypto Loan REST API
1515
+ * Binance Crypto Loan REST API
1548
1516
  *
1549
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1517
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1550
1518
  *
1551
1519
  * The version of the OpenAPI document: 1.0.0
1552
1520
  *
@@ -1612,9 +1580,9 @@ interface GetLoanLtvAdjustmentHistoryResponseRowsInner {
1612
1580
  }
1613
1581
 
1614
1582
  /**
1615
- * Binance Public Crypto Loan REST API
1583
+ * Binance Crypto Loan REST API
1616
1584
  *
1617
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1585
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1618
1586
  *
1619
1587
  * The version of the OpenAPI document: 1.0.0
1620
1588
  *
@@ -1645,9 +1613,9 @@ interface GetLoanLtvAdjustmentHistoryResponse {
1645
1613
  }
1646
1614
 
1647
1615
  /**
1648
- * Binance Public Crypto Loan REST API
1616
+ * Binance Crypto Loan REST API
1649
1617
  *
1650
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1618
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1651
1619
  *
1652
1620
  * The version of the OpenAPI document: 1.0.0
1653
1621
  *
@@ -1713,9 +1681,9 @@ interface GetLoanOngoingOrdersResponseRowsInner {
1713
1681
  }
1714
1682
 
1715
1683
  /**
1716
- * Binance Public Crypto Loan REST API
1684
+ * Binance Crypto Loan REST API
1717
1685
  *
1718
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1686
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1719
1687
  *
1720
1688
  * The version of the OpenAPI document: 1.0.0
1721
1689
  *
@@ -1746,9 +1714,9 @@ interface GetLoanOngoingOrdersResponse {
1746
1714
  }
1747
1715
 
1748
1716
  /**
1749
- * Binance Public Crypto Loan REST API
1717
+ * Binance Crypto Loan REST API
1750
1718
  *
1751
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1719
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1752
1720
  *
1753
1721
  * The version of the OpenAPI document: 1.0.0
1754
1722
  *
@@ -1820,9 +1788,9 @@ interface GetLoanRepaymentHistoryResponseRowsInner {
1820
1788
  }
1821
1789
 
1822
1790
  /**
1823
- * Binance Public Crypto Loan REST API
1791
+ * Binance Crypto Loan REST API
1824
1792
  *
1825
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1793
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1826
1794
  *
1827
1795
  * The version of the OpenAPI document: 1.0.0
1828
1796
  *
@@ -1853,9 +1821,9 @@ interface GetLoanRepaymentHistoryResponse {
1853
1821
  }
1854
1822
 
1855
1823
  /**
1856
- * Binance Public Crypto Loan REST API
1824
+ * Binance Crypto Loan REST API
1857
1825
  *
1858
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1826
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1859
1827
  *
1860
1828
  * The version of the OpenAPI document: 1.0.0
1861
1829
  *
@@ -1957,9 +1925,9 @@ interface GetLoanableAssetsDataResponseRowsInner {
1957
1925
  }
1958
1926
 
1959
1927
  /**
1960
- * Binance Public Crypto Loan REST API
1928
+ * Binance Crypto Loan REST API
1961
1929
  *
1962
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1930
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1963
1931
  *
1964
1932
  * The version of the OpenAPI document: 1.0.0
1965
1933
  *
@@ -1990,9 +1958,9 @@ interface GetLoanableAssetsDataResponse {
1990
1958
  }
1991
1959
 
1992
1960
  /**
1993
- * Binance Public Crypto Loan REST API
1961
+ * Binance Crypto Loan REST API
1994
1962
  *
1995
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
1963
+ * OpenAPI Specification for the Binance Crypto Loan REST API
1996
1964
  *
1997
1965
  * The version of the OpenAPI document: 1.0.0
1998
1966
  *
@@ -2775,9 +2743,9 @@ declare class FlexibleRateApi implements FlexibleRateApiInterface {
2775
2743
  }
2776
2744
 
2777
2745
  /**
2778
- * Binance Public Crypto Loan REST API
2746
+ * Binance Crypto Loan REST API
2779
2747
  *
2780
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
2748
+ * OpenAPI Specification for the Binance Crypto Loan REST API
2781
2749
  *
2782
2750
  * The version of the OpenAPI document: 1.0.0
2783
2751
  *
@@ -3566,9 +3534,9 @@ declare class StableRateApi implements StableRateApiInterface {
3566
3534
  }
3567
3535
 
3568
3536
  /**
3569
- * Binance Public Crypto Loan REST API
3537
+ * Binance Crypto Loan REST API
3570
3538
  *
3571
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
3539
+ * OpenAPI Specification for the Binance Crypto Loan REST API
3572
3540
  *
3573
3541
  * The version of the OpenAPI document: 1.0.0
3574
3542
  *
@@ -3919,9 +3887,9 @@ declare class RestAPI {
3919
3887
  }
3920
3888
 
3921
3889
  /**
3922
- * Binance Public Crypto Loan REST API
3890
+ * Binance Crypto Loan REST API
3923
3891
  *
3924
- * OpenAPI Specification for the Binance Public Crypto Loan REST API
3892
+ * OpenAPI Specification for the Binance Crypto Loan REST API
3925
3893
  *
3926
3894
  * The version of the OpenAPI document: 1.0.0
3927
3895
  *
@@ -3931,7 +3899,6 @@ declare class RestAPI {
3931
3899
  * Do not edit the class manually.
3932
3900
  */
3933
3901
 
3934
- type index_BadRequest = BadRequest;
3935
3902
  type index_CheckCollateralRepayRateRequest = CheckCollateralRepayRateRequest;
3936
3903
  type index_CheckCollateralRepayRateResponse = CheckCollateralRepayRateResponse;
3937
3904
  type index_CheckCollateralRepayRateStableRateRequest = CheckCollateralRepayRateStableRateRequest;
@@ -4006,79 +3973,7 @@ type index_StableRateApi = StableRateApi;
4006
3973
  declare const index_StableRateApi: typeof StableRateApi;
4007
3974
  type index_StableRateApiInterface = StableRateApiInterface;
4008
3975
  declare namespace index {
4009
- export {
4010
- index_BadRequest as BadRequest,
4011
- index_CheckCollateralRepayRateRequest as CheckCollateralRepayRateRequest,
4012
- index_CheckCollateralRepayRateResponse as CheckCollateralRepayRateResponse,
4013
- index_CheckCollateralRepayRateStableRateRequest as CheckCollateralRepayRateStableRateRequest,
4014
- index_CheckCollateralRepayRateStableRateResponse as CheckCollateralRepayRateStableRateResponse,
4015
- index_CryptoLoanAdjustLtvRequest as CryptoLoanAdjustLtvRequest,
4016
- index_CryptoLoanAdjustLtvResponse as CryptoLoanAdjustLtvResponse,
4017
- index_CryptoLoanBorrowRequest as CryptoLoanBorrowRequest,
4018
- index_CryptoLoanBorrowResponse as CryptoLoanBorrowResponse,
4019
- index_CryptoLoanCustomizeMarginCallRequest as CryptoLoanCustomizeMarginCallRequest,
4020
- index_CryptoLoanCustomizeMarginCallResponse as CryptoLoanCustomizeMarginCallResponse,
4021
- index_CryptoLoanCustomizeMarginCallResponseRowsInner as CryptoLoanCustomizeMarginCallResponseRowsInner,
4022
- index_CryptoLoanRepayRequest as CryptoLoanRepayRequest,
4023
- index_CryptoLoanRepayResponse as CryptoLoanRepayResponse,
4024
- index_CryptoLoanRepayResponse1 as CryptoLoanRepayResponse1,
4025
- index_CryptoLoanRepayResponse2 as CryptoLoanRepayResponse2,
4026
- index_FlexibleLoanAdjustLtvRequest as FlexibleLoanAdjustLtvRequest,
4027
- index_FlexibleLoanAdjustLtvResponse as FlexibleLoanAdjustLtvResponse,
4028
- index_FlexibleLoanBorrowRequest as FlexibleLoanBorrowRequest,
4029
- index_FlexibleLoanBorrowResponse as FlexibleLoanBorrowResponse,
4030
- index_FlexibleLoanCollateralRepaymentRequest as FlexibleLoanCollateralRepaymentRequest,
4031
- index_FlexibleLoanCollateralRepaymentResponse as FlexibleLoanCollateralRepaymentResponse,
4032
- index_FlexibleLoanRepayRequest as FlexibleLoanRepayRequest,
4033
- index_FlexibleLoanRepayResponse as FlexibleLoanRepayResponse,
4034
- index_FlexibleRateApi as FlexibleRateApi,
4035
- index_FlexibleRateApiInterface as FlexibleRateApiInterface,
4036
- index_GetCollateralAssetsDataRequest as GetCollateralAssetsDataRequest,
4037
- index_GetCollateralAssetsDataResponse as GetCollateralAssetsDataResponse,
4038
- index_GetCollateralAssetsDataResponseRowsInner as GetCollateralAssetsDataResponseRowsInner,
4039
- index_GetCryptoLoansIncomeHistoryRequest as GetCryptoLoansIncomeHistoryRequest,
4040
- index_GetCryptoLoansIncomeHistoryResponse as GetCryptoLoansIncomeHistoryResponse,
4041
- index_GetCryptoLoansIncomeHistoryResponseInner as GetCryptoLoansIncomeHistoryResponseInner,
4042
- index_GetFlexibleLoanAssetsDataRequest as GetFlexibleLoanAssetsDataRequest,
4043
- index_GetFlexibleLoanAssetsDataResponse as GetFlexibleLoanAssetsDataResponse,
4044
- index_GetFlexibleLoanAssetsDataResponseRowsInner as GetFlexibleLoanAssetsDataResponseRowsInner,
4045
- index_GetFlexibleLoanBorrowHistoryRequest as GetFlexibleLoanBorrowHistoryRequest,
4046
- index_GetFlexibleLoanBorrowHistoryResponse as GetFlexibleLoanBorrowHistoryResponse,
4047
- index_GetFlexibleLoanBorrowHistoryResponseRowsInner as GetFlexibleLoanBorrowHistoryResponseRowsInner,
4048
- index_GetFlexibleLoanCollateralAssetsDataRequest as GetFlexibleLoanCollateralAssetsDataRequest,
4049
- index_GetFlexibleLoanCollateralAssetsDataResponse as GetFlexibleLoanCollateralAssetsDataResponse,
4050
- index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner as GetFlexibleLoanCollateralAssetsDataResponseRowsInner,
4051
- index_GetFlexibleLoanLiquidationHistoryRequest as GetFlexibleLoanLiquidationHistoryRequest,
4052
- index_GetFlexibleLoanLiquidationHistoryResponse as GetFlexibleLoanLiquidationHistoryResponse,
4053
- index_GetFlexibleLoanLiquidationHistoryResponseRowsInner as GetFlexibleLoanLiquidationHistoryResponseRowsInner,
4054
- index_GetFlexibleLoanLtvAdjustmentHistoryRequest as GetFlexibleLoanLtvAdjustmentHistoryRequest,
4055
- index_GetFlexibleLoanLtvAdjustmentHistoryResponse as GetFlexibleLoanLtvAdjustmentHistoryResponse,
4056
- index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner as GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner,
4057
- index_GetFlexibleLoanOngoingOrdersRequest as GetFlexibleLoanOngoingOrdersRequest,
4058
- index_GetFlexibleLoanOngoingOrdersResponse as GetFlexibleLoanOngoingOrdersResponse,
4059
- index_GetFlexibleLoanOngoingOrdersResponseRowsInner as GetFlexibleLoanOngoingOrdersResponseRowsInner,
4060
- index_GetFlexibleLoanRepaymentHistoryRequest as GetFlexibleLoanRepaymentHistoryRequest,
4061
- index_GetFlexibleLoanRepaymentHistoryResponse as GetFlexibleLoanRepaymentHistoryResponse,
4062
- index_GetFlexibleLoanRepaymentHistoryResponseRowsInner as GetFlexibleLoanRepaymentHistoryResponseRowsInner,
4063
- index_GetLoanBorrowHistoryRequest as GetLoanBorrowHistoryRequest,
4064
- index_GetLoanBorrowHistoryResponse as GetLoanBorrowHistoryResponse,
4065
- index_GetLoanBorrowHistoryResponseRowsInner as GetLoanBorrowHistoryResponseRowsInner,
4066
- index_GetLoanLtvAdjustmentHistoryRequest as GetLoanLtvAdjustmentHistoryRequest,
4067
- index_GetLoanLtvAdjustmentHistoryResponse as GetLoanLtvAdjustmentHistoryResponse,
4068
- index_GetLoanLtvAdjustmentHistoryResponseRowsInner as GetLoanLtvAdjustmentHistoryResponseRowsInner,
4069
- index_GetLoanOngoingOrdersRequest as GetLoanOngoingOrdersRequest,
4070
- index_GetLoanOngoingOrdersResponse as GetLoanOngoingOrdersResponse,
4071
- index_GetLoanOngoingOrdersResponseRowsInner as GetLoanOngoingOrdersResponseRowsInner,
4072
- index_GetLoanRepaymentHistoryRequest as GetLoanRepaymentHistoryRequest,
4073
- index_GetLoanRepaymentHistoryResponse as GetLoanRepaymentHistoryResponse,
4074
- index_GetLoanRepaymentHistoryResponseRowsInner as GetLoanRepaymentHistoryResponseRowsInner,
4075
- index_GetLoanableAssetsDataRequest as GetLoanableAssetsDataRequest,
4076
- index_GetLoanableAssetsDataResponse as GetLoanableAssetsDataResponse,
4077
- index_GetLoanableAssetsDataResponseRowsInner as GetLoanableAssetsDataResponseRowsInner,
4078
- index_RestAPI as RestAPI,
4079
- index_StableRateApi as StableRateApi,
4080
- index_StableRateApiInterface as StableRateApiInterface,
4081
- };
3976
+ export { type index_CheckCollateralRepayRateRequest as CheckCollateralRepayRateRequest, type index_CheckCollateralRepayRateResponse as CheckCollateralRepayRateResponse, type index_CheckCollateralRepayRateStableRateRequest as CheckCollateralRepayRateStableRateRequest, type index_CheckCollateralRepayRateStableRateResponse as CheckCollateralRepayRateStableRateResponse, type index_CryptoLoanAdjustLtvRequest as CryptoLoanAdjustLtvRequest, type index_CryptoLoanAdjustLtvResponse as CryptoLoanAdjustLtvResponse, type index_CryptoLoanBorrowRequest as CryptoLoanBorrowRequest, type index_CryptoLoanBorrowResponse as CryptoLoanBorrowResponse, type index_CryptoLoanCustomizeMarginCallRequest as CryptoLoanCustomizeMarginCallRequest, type index_CryptoLoanCustomizeMarginCallResponse as CryptoLoanCustomizeMarginCallResponse, type index_CryptoLoanCustomizeMarginCallResponseRowsInner as CryptoLoanCustomizeMarginCallResponseRowsInner, type index_CryptoLoanRepayRequest as CryptoLoanRepayRequest, type index_CryptoLoanRepayResponse as CryptoLoanRepayResponse, type index_CryptoLoanRepayResponse1 as CryptoLoanRepayResponse1, type index_CryptoLoanRepayResponse2 as CryptoLoanRepayResponse2, type index_FlexibleLoanAdjustLtvRequest as FlexibleLoanAdjustLtvRequest, type index_FlexibleLoanAdjustLtvResponse as FlexibleLoanAdjustLtvResponse, type index_FlexibleLoanBorrowRequest as FlexibleLoanBorrowRequest, type index_FlexibleLoanBorrowResponse as FlexibleLoanBorrowResponse, type index_FlexibleLoanCollateralRepaymentRequest as FlexibleLoanCollateralRepaymentRequest, type index_FlexibleLoanCollateralRepaymentResponse as FlexibleLoanCollateralRepaymentResponse, type index_FlexibleLoanRepayRequest as FlexibleLoanRepayRequest, type index_FlexibleLoanRepayResponse as FlexibleLoanRepayResponse, index_FlexibleRateApi as FlexibleRateApi, type index_FlexibleRateApiInterface as FlexibleRateApiInterface, type index_GetCollateralAssetsDataRequest as GetCollateralAssetsDataRequest, type index_GetCollateralAssetsDataResponse as GetCollateralAssetsDataResponse, type index_GetCollateralAssetsDataResponseRowsInner as GetCollateralAssetsDataResponseRowsInner, type index_GetCryptoLoansIncomeHistoryRequest as GetCryptoLoansIncomeHistoryRequest, type index_GetCryptoLoansIncomeHistoryResponse as GetCryptoLoansIncomeHistoryResponse, type index_GetCryptoLoansIncomeHistoryResponseInner as GetCryptoLoansIncomeHistoryResponseInner, type index_GetFlexibleLoanAssetsDataRequest as GetFlexibleLoanAssetsDataRequest, type index_GetFlexibleLoanAssetsDataResponse as GetFlexibleLoanAssetsDataResponse, type index_GetFlexibleLoanAssetsDataResponseRowsInner as GetFlexibleLoanAssetsDataResponseRowsInner, type index_GetFlexibleLoanBorrowHistoryRequest as GetFlexibleLoanBorrowHistoryRequest, type index_GetFlexibleLoanBorrowHistoryResponse as GetFlexibleLoanBorrowHistoryResponse, type index_GetFlexibleLoanBorrowHistoryResponseRowsInner as GetFlexibleLoanBorrowHistoryResponseRowsInner, type index_GetFlexibleLoanCollateralAssetsDataRequest as GetFlexibleLoanCollateralAssetsDataRequest, type index_GetFlexibleLoanCollateralAssetsDataResponse as GetFlexibleLoanCollateralAssetsDataResponse, type index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner as GetFlexibleLoanCollateralAssetsDataResponseRowsInner, type index_GetFlexibleLoanLiquidationHistoryRequest as GetFlexibleLoanLiquidationHistoryRequest, type index_GetFlexibleLoanLiquidationHistoryResponse as GetFlexibleLoanLiquidationHistoryResponse, type index_GetFlexibleLoanLiquidationHistoryResponseRowsInner as GetFlexibleLoanLiquidationHistoryResponseRowsInner, type index_GetFlexibleLoanLtvAdjustmentHistoryRequest as GetFlexibleLoanLtvAdjustmentHistoryRequest, type index_GetFlexibleLoanLtvAdjustmentHistoryResponse as GetFlexibleLoanLtvAdjustmentHistoryResponse, type index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner as GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetFlexibleLoanOngoingOrdersRequest as GetFlexibleLoanOngoingOrdersRequest, type index_GetFlexibleLoanOngoingOrdersResponse as GetFlexibleLoanOngoingOrdersResponse, type index_GetFlexibleLoanOngoingOrdersResponseRowsInner as GetFlexibleLoanOngoingOrdersResponseRowsInner, type index_GetFlexibleLoanRepaymentHistoryRequest as GetFlexibleLoanRepaymentHistoryRequest, type index_GetFlexibleLoanRepaymentHistoryResponse as GetFlexibleLoanRepaymentHistoryResponse, type index_GetFlexibleLoanRepaymentHistoryResponseRowsInner as GetFlexibleLoanRepaymentHistoryResponseRowsInner, type index_GetLoanBorrowHistoryRequest as GetLoanBorrowHistoryRequest, type index_GetLoanBorrowHistoryResponse as GetLoanBorrowHistoryResponse, type index_GetLoanBorrowHistoryResponseRowsInner as GetLoanBorrowHistoryResponseRowsInner, type index_GetLoanLtvAdjustmentHistoryRequest as GetLoanLtvAdjustmentHistoryRequest, type index_GetLoanLtvAdjustmentHistoryResponse as GetLoanLtvAdjustmentHistoryResponse, type index_GetLoanLtvAdjustmentHistoryResponseRowsInner as GetLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetLoanOngoingOrdersRequest as GetLoanOngoingOrdersRequest, type index_GetLoanOngoingOrdersResponse as GetLoanOngoingOrdersResponse, type index_GetLoanOngoingOrdersResponseRowsInner as GetLoanOngoingOrdersResponseRowsInner, type index_GetLoanRepaymentHistoryRequest as GetLoanRepaymentHistoryRequest, type index_GetLoanRepaymentHistoryResponse as GetLoanRepaymentHistoryResponse, type index_GetLoanRepaymentHistoryResponseRowsInner as GetLoanRepaymentHistoryResponseRowsInner, type index_GetLoanableAssetsDataRequest as GetLoanableAssetsDataRequest, type index_GetLoanableAssetsDataResponse as GetLoanableAssetsDataResponse, type index_GetLoanableAssetsDataResponseRowsInner as GetLoanableAssetsDataResponseRowsInner, index_RestAPI as RestAPI, index_StableRateApi as StableRateApi, type index_StableRateApiInterface as StableRateApiInterface };
4082
3977
  }
4083
3978
 
4084
3979
  interface ConfigurationCryptoLoan {
@@ -4089,4 +3984,4 @@ declare class CryptoLoan {
4089
3984
  constructor(config: ConfigurationCryptoLoan);
4090
3985
  }
4091
3986
 
4092
- export { ConfigurationCryptoLoan, CryptoLoan, index as CryptoLoanRestAPI };
3987
+ export { type ConfigurationCryptoLoan, CryptoLoan, index as CryptoLoanRestAPI };