@binance/crypto-loan 1.0.0 → 1.0.1
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 +0 -19
- package/dist/index.d.mts +95 -167
- package/dist/index.d.ts +95 -167
- package/dist/index.js +28 -54
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -51
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
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,10 +1,10 @@
|
|
|
1
1
|
import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
|
|
2
|
-
export { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL,
|
|
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
|
|
5
|
+
* Binance Crypto Loan REST API
|
|
6
6
|
*
|
|
7
|
-
* OpenAPI Specification for the Binance
|
|
7
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
8
8
|
*
|
|
9
9
|
* The version of the OpenAPI document: 1.0.0
|
|
10
10
|
*
|
|
@@ -34,9 +34,9 @@ interface BadRequest {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* Binance
|
|
37
|
+
* Binance Crypto Loan REST API
|
|
38
38
|
*
|
|
39
|
-
* OpenAPI Specification for the Binance
|
|
39
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
40
40
|
*
|
|
41
41
|
* The version of the OpenAPI document: 1.0.0
|
|
42
42
|
*
|
|
@@ -72,9 +72,9 @@ interface CheckCollateralRepayRateResponse {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
|
-
* Binance
|
|
75
|
+
* Binance Crypto Loan REST API
|
|
76
76
|
*
|
|
77
|
-
* OpenAPI Specification for the Binance
|
|
77
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
78
78
|
*
|
|
79
79
|
* The version of the OpenAPI document: 1.0.0
|
|
80
80
|
*
|
|
@@ -116,9 +116,9 @@ interface CheckCollateralRepayRateStableRateResponse {
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
|
-
* Binance
|
|
119
|
+
* Binance Crypto Loan REST API
|
|
120
120
|
*
|
|
121
|
-
* OpenAPI Specification for the Binance
|
|
121
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
122
122
|
*
|
|
123
123
|
* The version of the OpenAPI document: 1.0.0
|
|
124
124
|
*
|
|
@@ -166,9 +166,9 @@ interface CryptoLoanAdjustLtvResponse {
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
|
-
* Binance
|
|
169
|
+
* Binance Crypto Loan REST API
|
|
170
170
|
*
|
|
171
|
-
* OpenAPI Specification for the Binance
|
|
171
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
172
172
|
*
|
|
173
173
|
* The version of the OpenAPI document: 1.0.0
|
|
174
174
|
*
|
|
@@ -222,9 +222,9 @@ interface CryptoLoanBorrowResponse {
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
|
-
* Binance
|
|
225
|
+
* Binance Crypto Loan REST API
|
|
226
226
|
*
|
|
227
|
-
* OpenAPI Specification for the Binance
|
|
227
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
228
228
|
*
|
|
229
229
|
* The version of the OpenAPI document: 1.0.0
|
|
230
230
|
*
|
|
@@ -272,9 +272,9 @@ interface CryptoLoanCustomizeMarginCallResponseRowsInner {
|
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
|
-
* Binance
|
|
275
|
+
* Binance Crypto Loan REST API
|
|
276
276
|
*
|
|
277
|
-
* OpenAPI Specification for the Binance
|
|
277
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
278
278
|
*
|
|
279
279
|
* The version of the OpenAPI document: 1.0.0
|
|
280
280
|
*
|
|
@@ -305,9 +305,9 @@ interface CryptoLoanCustomizeMarginCallResponse {
|
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
|
-
* Binance
|
|
308
|
+
* Binance Crypto Loan REST API
|
|
309
309
|
*
|
|
310
|
-
* OpenAPI Specification for the Binance
|
|
310
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
311
311
|
*
|
|
312
312
|
* The version of the OpenAPI document: 1.0.0
|
|
313
313
|
*
|
|
@@ -367,9 +367,9 @@ interface CryptoLoanRepayResponse1 {
|
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
/**
|
|
370
|
-
* Binance
|
|
370
|
+
* Binance Crypto Loan REST API
|
|
371
371
|
*
|
|
372
|
-
* OpenAPI Specification for the Binance
|
|
372
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
373
373
|
*
|
|
374
374
|
* The version of the OpenAPI document: 1.0.0
|
|
375
375
|
*
|
|
@@ -405,9 +405,9 @@ interface CryptoLoanRepayResponse2 {
|
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
/**
|
|
408
|
-
* Binance
|
|
408
|
+
* Binance Crypto Loan REST API
|
|
409
409
|
*
|
|
410
|
-
* OpenAPI Specification for the Binance
|
|
410
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
411
411
|
*
|
|
412
412
|
* The version of the OpenAPI document: 1.0.0
|
|
413
413
|
*
|
|
@@ -424,9 +424,9 @@ interface CryptoLoanRepayResponse2 {
|
|
|
424
424
|
type CryptoLoanRepayResponse = CryptoLoanRepayResponse1 | CryptoLoanRepayResponse2;
|
|
425
425
|
|
|
426
426
|
/**
|
|
427
|
-
* Binance
|
|
427
|
+
* Binance Crypto Loan REST API
|
|
428
428
|
*
|
|
429
|
-
* OpenAPI Specification for the Binance
|
|
429
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
430
430
|
*
|
|
431
431
|
* The version of the OpenAPI document: 1.0.0
|
|
432
432
|
*
|
|
@@ -480,9 +480,9 @@ interface FlexibleLoanAdjustLtvResponse {
|
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
/**
|
|
483
|
-
* Binance
|
|
483
|
+
* Binance Crypto Loan REST API
|
|
484
484
|
*
|
|
485
|
-
* OpenAPI Specification for the Binance
|
|
485
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
486
486
|
*
|
|
487
487
|
* The version of the OpenAPI document: 1.0.0
|
|
488
488
|
*
|
|
@@ -530,9 +530,9 @@ interface FlexibleLoanBorrowResponse {
|
|
|
530
530
|
}
|
|
531
531
|
|
|
532
532
|
/**
|
|
533
|
-
* Binance
|
|
533
|
+
* Binance Crypto Loan REST API
|
|
534
534
|
*
|
|
535
|
-
* OpenAPI Specification for the Binance
|
|
535
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
536
536
|
*
|
|
537
537
|
* The version of the OpenAPI document: 1.0.0
|
|
538
538
|
*
|
|
@@ -592,9 +592,9 @@ interface FlexibleLoanCollateralRepaymentResponse {
|
|
|
592
592
|
}
|
|
593
593
|
|
|
594
594
|
/**
|
|
595
|
-
* Binance
|
|
595
|
+
* Binance Crypto Loan REST API
|
|
596
596
|
*
|
|
597
|
-
* OpenAPI Specification for the Binance
|
|
597
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
598
598
|
*
|
|
599
599
|
* The version of the OpenAPI document: 1.0.0
|
|
600
600
|
*
|
|
@@ -654,9 +654,9 @@ interface FlexibleLoanRepayResponse {
|
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
/**
|
|
657
|
-
* Binance
|
|
657
|
+
* Binance Crypto Loan REST API
|
|
658
658
|
*
|
|
659
|
-
* OpenAPI Specification for the Binance
|
|
659
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
660
660
|
*
|
|
661
661
|
* The version of the OpenAPI document: 1.0.0
|
|
662
662
|
*
|
|
@@ -710,9 +710,9 @@ interface GetCollateralAssetsDataResponseRowsInner {
|
|
|
710
710
|
}
|
|
711
711
|
|
|
712
712
|
/**
|
|
713
|
-
* Binance
|
|
713
|
+
* Binance Crypto Loan REST API
|
|
714
714
|
*
|
|
715
|
-
* OpenAPI Specification for the Binance
|
|
715
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
716
716
|
*
|
|
717
717
|
* The version of the OpenAPI document: 1.0.0
|
|
718
718
|
*
|
|
@@ -743,9 +743,9 @@ interface GetCollateralAssetsDataResponse {
|
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
/**
|
|
746
|
-
* Binance
|
|
746
|
+
* Binance Crypto Loan REST API
|
|
747
747
|
*
|
|
748
|
-
* OpenAPI Specification for the Binance
|
|
748
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
749
749
|
*
|
|
750
750
|
* The version of the OpenAPI document: 1.0.0
|
|
751
751
|
*
|
|
@@ -793,9 +793,9 @@ interface GetCryptoLoansIncomeHistoryResponseInner {
|
|
|
793
793
|
}
|
|
794
794
|
|
|
795
795
|
/**
|
|
796
|
-
* Binance
|
|
796
|
+
* Binance Crypto Loan REST API
|
|
797
797
|
*
|
|
798
|
-
* OpenAPI Specification for the Binance
|
|
798
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
799
799
|
*
|
|
800
800
|
* The version of the OpenAPI document: 1.0.0
|
|
801
801
|
*
|
|
@@ -814,9 +814,9 @@ interface GetCryptoLoansIncomeHistoryResponse extends Array<GetCryptoLoansIncome
|
|
|
814
814
|
}
|
|
815
815
|
|
|
816
816
|
/**
|
|
817
|
-
* Binance
|
|
817
|
+
* Binance Crypto Loan REST API
|
|
818
818
|
*
|
|
819
|
-
* OpenAPI Specification for the Binance
|
|
819
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
820
820
|
*
|
|
821
821
|
* The version of the OpenAPI document: 1.0.0
|
|
822
822
|
*
|
|
@@ -858,9 +858,9 @@ interface GetFlexibleLoanAssetsDataResponseRowsInner {
|
|
|
858
858
|
}
|
|
859
859
|
|
|
860
860
|
/**
|
|
861
|
-
* Binance
|
|
861
|
+
* Binance Crypto Loan REST API
|
|
862
862
|
*
|
|
863
|
-
* OpenAPI Specification for the Binance
|
|
863
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
864
864
|
*
|
|
865
865
|
* The version of the OpenAPI document: 1.0.0
|
|
866
866
|
*
|
|
@@ -891,9 +891,9 @@ interface GetFlexibleLoanAssetsDataResponse {
|
|
|
891
891
|
}
|
|
892
892
|
|
|
893
893
|
/**
|
|
894
|
-
* Binance
|
|
894
|
+
* Binance Crypto Loan REST API
|
|
895
895
|
*
|
|
896
|
-
* OpenAPI Specification for the Binance
|
|
896
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
897
897
|
*
|
|
898
898
|
* The version of the OpenAPI document: 1.0.0
|
|
899
899
|
*
|
|
@@ -947,9 +947,9 @@ interface GetFlexibleLoanBorrowHistoryResponseRowsInner {
|
|
|
947
947
|
}
|
|
948
948
|
|
|
949
949
|
/**
|
|
950
|
-
* Binance
|
|
950
|
+
* Binance Crypto Loan REST API
|
|
951
951
|
*
|
|
952
|
-
* OpenAPI Specification for the Binance
|
|
952
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
953
953
|
*
|
|
954
954
|
* The version of the OpenAPI document: 1.0.0
|
|
955
955
|
*
|
|
@@ -980,9 +980,9 @@ interface GetFlexibleLoanBorrowHistoryResponse {
|
|
|
980
980
|
}
|
|
981
981
|
|
|
982
982
|
/**
|
|
983
|
-
* Binance
|
|
983
|
+
* Binance Crypto Loan REST API
|
|
984
984
|
*
|
|
985
|
-
* OpenAPI Specification for the Binance
|
|
985
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
986
986
|
*
|
|
987
987
|
* The version of the OpenAPI document: 1.0.0
|
|
988
988
|
*
|
|
@@ -1030,9 +1030,9 @@ interface GetFlexibleLoanCollateralAssetsDataResponseRowsInner {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
1032
1032
|
/**
|
|
1033
|
-
* Binance
|
|
1033
|
+
* Binance Crypto Loan REST API
|
|
1034
1034
|
*
|
|
1035
|
-
* OpenAPI Specification for the Binance
|
|
1035
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1036
1036
|
*
|
|
1037
1037
|
* The version of the OpenAPI document: 1.0.0
|
|
1038
1038
|
*
|
|
@@ -1063,9 +1063,9 @@ interface GetFlexibleLoanCollateralAssetsDataResponse {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
|
|
1065
1065
|
/**
|
|
1066
|
-
* Binance
|
|
1066
|
+
* Binance Crypto Loan REST API
|
|
1067
1067
|
*
|
|
1068
|
-
* OpenAPI Specification for the Binance
|
|
1068
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1069
1069
|
*
|
|
1070
1070
|
* The version of the OpenAPI document: 1.0.0
|
|
1071
1071
|
*
|
|
@@ -1137,9 +1137,9 @@ interface GetFlexibleLoanLiquidationHistoryResponseRowsInner {
|
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
1139
|
/**
|
|
1140
|
-
* Binance
|
|
1140
|
+
* Binance Crypto Loan REST API
|
|
1141
1141
|
*
|
|
1142
|
-
* OpenAPI Specification for the Binance
|
|
1142
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1143
1143
|
*
|
|
1144
1144
|
* The version of the OpenAPI document: 1.0.0
|
|
1145
1145
|
*
|
|
@@ -1170,9 +1170,9 @@ interface GetFlexibleLoanLiquidationHistoryResponse {
|
|
|
1170
1170
|
}
|
|
1171
1171
|
|
|
1172
1172
|
/**
|
|
1173
|
-
* Binance
|
|
1173
|
+
* Binance Crypto Loan REST API
|
|
1174
1174
|
*
|
|
1175
|
-
* OpenAPI Specification for the Binance
|
|
1175
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1176
1176
|
*
|
|
1177
1177
|
* The version of the OpenAPI document: 1.0.0
|
|
1178
1178
|
*
|
|
@@ -1232,9 +1232,9 @@ interface GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner {
|
|
|
1232
1232
|
}
|
|
1233
1233
|
|
|
1234
1234
|
/**
|
|
1235
|
-
* Binance
|
|
1235
|
+
* Binance Crypto Loan REST API
|
|
1236
1236
|
*
|
|
1237
|
-
* OpenAPI Specification for the Binance
|
|
1237
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1238
1238
|
*
|
|
1239
1239
|
* The version of the OpenAPI document: 1.0.0
|
|
1240
1240
|
*
|
|
@@ -1265,9 +1265,9 @@ interface GetFlexibleLoanLtvAdjustmentHistoryResponse {
|
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
1267
1267
|
/**
|
|
1268
|
-
* Binance
|
|
1268
|
+
* Binance Crypto Loan REST API
|
|
1269
1269
|
*
|
|
1270
|
-
* OpenAPI Specification for the Binance
|
|
1270
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1271
1271
|
*
|
|
1272
1272
|
* The version of the OpenAPI document: 1.0.0
|
|
1273
1273
|
*
|
|
@@ -1315,9 +1315,9 @@ interface GetFlexibleLoanOngoingOrdersResponseRowsInner {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
1317
|
/**
|
|
1318
|
-
* Binance
|
|
1318
|
+
* Binance Crypto Loan REST API
|
|
1319
1319
|
*
|
|
1320
|
-
* OpenAPI Specification for the Binance
|
|
1320
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1321
1321
|
*
|
|
1322
1322
|
* The version of the OpenAPI document: 1.0.0
|
|
1323
1323
|
*
|
|
@@ -1348,9 +1348,9 @@ interface GetFlexibleLoanOngoingOrdersResponse {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
|
|
1350
1350
|
/**
|
|
1351
|
-
* Binance
|
|
1351
|
+
* Binance Crypto Loan REST API
|
|
1352
1352
|
*
|
|
1353
|
-
* OpenAPI Specification for the Binance
|
|
1353
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1354
1354
|
*
|
|
1355
1355
|
* The version of the OpenAPI document: 1.0.0
|
|
1356
1356
|
*
|
|
@@ -1404,9 +1404,9 @@ interface GetFlexibleLoanRepaymentHistoryResponseRowsInner {
|
|
|
1404
1404
|
}
|
|
1405
1405
|
|
|
1406
1406
|
/**
|
|
1407
|
-
* Binance
|
|
1407
|
+
* Binance Crypto Loan REST API
|
|
1408
1408
|
*
|
|
1409
|
-
* OpenAPI Specification for the Binance
|
|
1409
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1410
1410
|
*
|
|
1411
1411
|
* The version of the OpenAPI document: 1.0.0
|
|
1412
1412
|
*
|
|
@@ -1437,9 +1437,9 @@ interface GetFlexibleLoanRepaymentHistoryResponse {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
|
|
1439
1439
|
/**
|
|
1440
|
-
* Binance
|
|
1440
|
+
* Binance Crypto Loan REST API
|
|
1441
1441
|
*
|
|
1442
|
-
* OpenAPI Specification for the Binance
|
|
1442
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1443
1443
|
*
|
|
1444
1444
|
* The version of the OpenAPI document: 1.0.0
|
|
1445
1445
|
*
|
|
@@ -1511,9 +1511,9 @@ interface GetLoanBorrowHistoryResponseRowsInner {
|
|
|
1511
1511
|
}
|
|
1512
1512
|
|
|
1513
1513
|
/**
|
|
1514
|
-
* Binance
|
|
1514
|
+
* Binance Crypto Loan REST API
|
|
1515
1515
|
*
|
|
1516
|
-
* OpenAPI Specification for the Binance
|
|
1516
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1517
1517
|
*
|
|
1518
1518
|
* The version of the OpenAPI document: 1.0.0
|
|
1519
1519
|
*
|
|
@@ -1544,9 +1544,9 @@ interface GetLoanBorrowHistoryResponse {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
|
|
1546
1546
|
/**
|
|
1547
|
-
* Binance
|
|
1547
|
+
* Binance Crypto Loan REST API
|
|
1548
1548
|
*
|
|
1549
|
-
* OpenAPI Specification for the Binance
|
|
1549
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1550
1550
|
*
|
|
1551
1551
|
* The version of the OpenAPI document: 1.0.0
|
|
1552
1552
|
*
|
|
@@ -1612,9 +1612,9 @@ interface GetLoanLtvAdjustmentHistoryResponseRowsInner {
|
|
|
1612
1612
|
}
|
|
1613
1613
|
|
|
1614
1614
|
/**
|
|
1615
|
-
* Binance
|
|
1615
|
+
* Binance Crypto Loan REST API
|
|
1616
1616
|
*
|
|
1617
|
-
* OpenAPI Specification for the Binance
|
|
1617
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1618
1618
|
*
|
|
1619
1619
|
* The version of the OpenAPI document: 1.0.0
|
|
1620
1620
|
*
|
|
@@ -1645,9 +1645,9 @@ interface GetLoanLtvAdjustmentHistoryResponse {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
|
|
1647
1647
|
/**
|
|
1648
|
-
* Binance
|
|
1648
|
+
* Binance Crypto Loan REST API
|
|
1649
1649
|
*
|
|
1650
|
-
* OpenAPI Specification for the Binance
|
|
1650
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1651
1651
|
*
|
|
1652
1652
|
* The version of the OpenAPI document: 1.0.0
|
|
1653
1653
|
*
|
|
@@ -1713,9 +1713,9 @@ interface GetLoanOngoingOrdersResponseRowsInner {
|
|
|
1713
1713
|
}
|
|
1714
1714
|
|
|
1715
1715
|
/**
|
|
1716
|
-
* Binance
|
|
1716
|
+
* Binance Crypto Loan REST API
|
|
1717
1717
|
*
|
|
1718
|
-
* OpenAPI Specification for the Binance
|
|
1718
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1719
1719
|
*
|
|
1720
1720
|
* The version of the OpenAPI document: 1.0.0
|
|
1721
1721
|
*
|
|
@@ -1746,9 +1746,9 @@ interface GetLoanOngoingOrdersResponse {
|
|
|
1746
1746
|
}
|
|
1747
1747
|
|
|
1748
1748
|
/**
|
|
1749
|
-
* Binance
|
|
1749
|
+
* Binance Crypto Loan REST API
|
|
1750
1750
|
*
|
|
1751
|
-
* OpenAPI Specification for the Binance
|
|
1751
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1752
1752
|
*
|
|
1753
1753
|
* The version of the OpenAPI document: 1.0.0
|
|
1754
1754
|
*
|
|
@@ -1820,9 +1820,9 @@ interface GetLoanRepaymentHistoryResponseRowsInner {
|
|
|
1820
1820
|
}
|
|
1821
1821
|
|
|
1822
1822
|
/**
|
|
1823
|
-
* Binance
|
|
1823
|
+
* Binance Crypto Loan REST API
|
|
1824
1824
|
*
|
|
1825
|
-
* OpenAPI Specification for the Binance
|
|
1825
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1826
1826
|
*
|
|
1827
1827
|
* The version of the OpenAPI document: 1.0.0
|
|
1828
1828
|
*
|
|
@@ -1853,9 +1853,9 @@ interface GetLoanRepaymentHistoryResponse {
|
|
|
1853
1853
|
}
|
|
1854
1854
|
|
|
1855
1855
|
/**
|
|
1856
|
-
* Binance
|
|
1856
|
+
* Binance Crypto Loan REST API
|
|
1857
1857
|
*
|
|
1858
|
-
* OpenAPI Specification for the Binance
|
|
1858
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1859
1859
|
*
|
|
1860
1860
|
* The version of the OpenAPI document: 1.0.0
|
|
1861
1861
|
*
|
|
@@ -1957,9 +1957,9 @@ interface GetLoanableAssetsDataResponseRowsInner {
|
|
|
1957
1957
|
}
|
|
1958
1958
|
|
|
1959
1959
|
/**
|
|
1960
|
-
* Binance
|
|
1960
|
+
* Binance Crypto Loan REST API
|
|
1961
1961
|
*
|
|
1962
|
-
* OpenAPI Specification for the Binance
|
|
1962
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1963
1963
|
*
|
|
1964
1964
|
* The version of the OpenAPI document: 1.0.0
|
|
1965
1965
|
*
|
|
@@ -1990,9 +1990,9 @@ interface GetLoanableAssetsDataResponse {
|
|
|
1990
1990
|
}
|
|
1991
1991
|
|
|
1992
1992
|
/**
|
|
1993
|
-
* Binance
|
|
1993
|
+
* Binance Crypto Loan REST API
|
|
1994
1994
|
*
|
|
1995
|
-
* OpenAPI Specification for the Binance
|
|
1995
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1996
1996
|
*
|
|
1997
1997
|
* The version of the OpenAPI document: 1.0.0
|
|
1998
1998
|
*
|
|
@@ -2775,9 +2775,9 @@ declare class FlexibleRateApi implements FlexibleRateApiInterface {
|
|
|
2775
2775
|
}
|
|
2776
2776
|
|
|
2777
2777
|
/**
|
|
2778
|
-
* Binance
|
|
2778
|
+
* Binance Crypto Loan REST API
|
|
2779
2779
|
*
|
|
2780
|
-
* OpenAPI Specification for the Binance
|
|
2780
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
2781
2781
|
*
|
|
2782
2782
|
* The version of the OpenAPI document: 1.0.0
|
|
2783
2783
|
*
|
|
@@ -3566,9 +3566,9 @@ declare class StableRateApi implements StableRateApiInterface {
|
|
|
3566
3566
|
}
|
|
3567
3567
|
|
|
3568
3568
|
/**
|
|
3569
|
-
* Binance
|
|
3569
|
+
* Binance Crypto Loan REST API
|
|
3570
3570
|
*
|
|
3571
|
-
* OpenAPI Specification for the Binance
|
|
3571
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
3572
3572
|
*
|
|
3573
3573
|
* The version of the OpenAPI document: 1.0.0
|
|
3574
3574
|
*
|
|
@@ -3919,9 +3919,9 @@ declare class RestAPI {
|
|
|
3919
3919
|
}
|
|
3920
3920
|
|
|
3921
3921
|
/**
|
|
3922
|
-
* Binance
|
|
3922
|
+
* Binance Crypto Loan REST API
|
|
3923
3923
|
*
|
|
3924
|
-
* OpenAPI Specification for the Binance
|
|
3924
|
+
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
3925
3925
|
*
|
|
3926
3926
|
* The version of the OpenAPI document: 1.0.0
|
|
3927
3927
|
*
|
|
@@ -4006,79 +4006,7 @@ type index_StableRateApi = StableRateApi;
|
|
|
4006
4006
|
declare const index_StableRateApi: typeof StableRateApi;
|
|
4007
4007
|
type index_StableRateApiInterface = StableRateApiInterface;
|
|
4008
4008
|
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
|
-
};
|
|
4009
|
+
export { type index_BadRequest as BadRequest, 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
4010
|
}
|
|
4083
4011
|
|
|
4084
4012
|
interface ConfigurationCryptoLoan {
|
|
@@ -4089,4 +4017,4 @@ declare class CryptoLoan {
|
|
|
4089
4017
|
constructor(config: ConfigurationCryptoLoan);
|
|
4090
4018
|
}
|
|
4091
4019
|
|
|
4092
|
-
export { ConfigurationCryptoLoan, CryptoLoan, index as CryptoLoanRestAPI };
|
|
4020
|
+
export { type ConfigurationCryptoLoan, CryptoLoan, index as CryptoLoanRestAPI };
|