@binance/crypto-loan 9.0.15 → 10.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/dist/index.d.ts CHANGED
@@ -5,9 +5,9 @@ import { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, ConfigurationRestAPI, C
5
5
  //#endregion
6
6
  //#region src/rest-api/types/check-collateral-repay-rate-response.d.ts
7
7
  /**
8
- * Binance Crypto Loan REST API
8
+ * Crypto Loan REST API
9
9
  *
10
- * OpenAPI Specification for the Binance Crypto Loan REST API
10
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
11
11
  *
12
12
  * The version of the OpenAPI document: 1.0.0
13
13
  *
@@ -42,56 +42,11 @@ interface CheckCollateralRepayRateResponse {
42
42
  rate?: string;
43
43
  }
44
44
  //#endregion
45
- //#region src/rest-api/types/check-collateral-repay-rate-stable-rate-response.d.ts
46
- /**
47
- * Binance Crypto Loan REST API
48
- *
49
- * OpenAPI Specification for the Binance Crypto Loan REST API
50
- *
51
- * The version of the OpenAPI document: 1.0.0
52
- *
53
- *
54
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
55
- * https://openapi-generator.tech
56
- * Do not edit the class manually.
57
- */
58
- /**
59
- *
60
- * @export
61
- * @interface CheckCollateralRepayRateStableRateResponse
62
- */
63
- interface CheckCollateralRepayRateStableRateResponse {
64
- /**
65
- *
66
- * @type {string}
67
- * @memberof CheckCollateralRepayRateStableRateResponse
68
- */
69
- loanlCoin?: string;
70
- /**
71
- *
72
- * @type {string}
73
- * @memberof CheckCollateralRepayRateStableRateResponse
74
- */
75
- collateralCoin?: string;
76
- /**
77
- *
78
- * @type {string}
79
- * @memberof CheckCollateralRepayRateStableRateResponse
80
- */
81
- repayAmount?: string;
82
- /**
83
- *
84
- * @type {string}
85
- * @memberof CheckCollateralRepayRateStableRateResponse
86
- */
87
- rate?: string;
88
- }
89
- //#endregion
90
45
  //#region src/rest-api/types/flexible-loan-adjust-ltv-response.d.ts
91
46
  /**
92
- * Binance Crypto Loan REST API
47
+ * Crypto Loan REST API
93
48
  *
94
- * OpenAPI Specification for the Binance Crypto Loan REST API
49
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
95
50
  *
96
51
  * The version of the OpenAPI document: 1.0.0
97
52
  *
@@ -137,7 +92,7 @@ interface FlexibleLoanAdjustLtvResponse {
137
92
  */
138
93
  currentLTV?: string;
139
94
  /**
140
- *
95
+ * Succeeds, Failed, Processing
141
96
  * @type {string}
142
97
  * @memberof FlexibleLoanAdjustLtvResponse
143
98
  */
@@ -146,9 +101,9 @@ interface FlexibleLoanAdjustLtvResponse {
146
101
  //#endregion
147
102
  //#region src/rest-api/types/flexible-loan-borrow-response.d.ts
148
103
  /**
149
- * Binance Crypto Loan REST API
104
+ * Crypto Loan REST API
150
105
  *
151
- * OpenAPI Specification for the Binance Crypto Loan REST API
106
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
152
107
  *
153
108
  * The version of the OpenAPI document: 1.0.0
154
109
  *
@@ -197,9 +152,9 @@ interface FlexibleLoanBorrowResponse {
197
152
  //#endregion
198
153
  //#region src/rest-api/types/flexible-loan-repay-response.d.ts
199
154
  /**
200
- * Binance Crypto Loan REST API
155
+ * Crypto Loan REST API
201
156
  *
202
- * OpenAPI Specification for the Binance Crypto Loan REST API
157
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
203
158
  *
204
159
  * The version of the OpenAPI document: 1.0.0
205
160
  *
@@ -251,7 +206,7 @@ interface FlexibleLoanRepayResponse {
251
206
  */
252
207
  currentLTV?: string;
253
208
  /**
254
- *
209
+ * REPAID, REPAYING, FAILED
255
210
  * @type {string}
256
211
  * @memberof FlexibleLoanRepayResponse
257
212
  */
@@ -260,9 +215,9 @@ interface FlexibleLoanRepayResponse {
260
215
  //#endregion
261
216
  //#region src/rest-api/types/get-crypto-loans-income-history-response-inner.d.ts
262
217
  /**
263
- * Binance Crypto Loan REST API
218
+ * Crypto Loan REST API
264
219
  *
265
- * OpenAPI Specification for the Binance Crypto Loan REST API
220
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
266
221
  *
267
222
  * The version of the OpenAPI document: 1.0.0
268
223
  *
@@ -319,9 +274,9 @@ interface GetCryptoLoansIncomeHistoryResponse extends Array<GetCryptoLoansIncome
319
274
  //#endregion
320
275
  //#region src/rest-api/types/get-flexible-loan-assets-data-response-rows-inner.d.ts
321
276
  /**
322
- * Binance Crypto Loan REST API
277
+ * Crypto Loan REST API
323
278
  *
324
- * OpenAPI Specification for the Binance Crypto Loan REST API
279
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
325
280
  *
326
281
  * The version of the OpenAPI document: 1.0.0
327
282
  *
@@ -385,9 +340,9 @@ interface GetFlexibleLoanAssetsDataResponse {
385
340
  //#endregion
386
341
  //#region src/rest-api/types/get-flexible-loan-borrow-history-response-rows-inner.d.ts
387
342
  /**
388
- * Binance Crypto Loan REST API
343
+ * Crypto Loan REST API
389
344
  *
390
- * OpenAPI Specification for the Binance Crypto Loan REST API
345
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
391
346
  *
392
347
  * The version of the OpenAPI document: 1.0.0
393
348
  *
@@ -463,9 +418,9 @@ interface GetFlexibleLoanBorrowHistoryResponse {
463
418
  //#endregion
464
419
  //#region src/rest-api/types/get-flexible-loan-collateral-assets-data-response-rows-inner.d.ts
465
420
  /**
466
- * Binance Crypto Loan REST API
421
+ * Crypto Loan REST API
467
422
  *
468
- * OpenAPI Specification for the Binance Crypto Loan REST API
423
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
469
424
  *
470
425
  * The version of the OpenAPI document: 1.0.0
471
426
  *
@@ -535,9 +490,9 @@ interface GetFlexibleLoanCollateralAssetsDataResponse {
535
490
  //#endregion
536
491
  //#region src/rest-api/types/get-flexible-loan-interest-rate-history-response-rows-inner.d.ts
537
492
  /**
538
- * Binance Crypto Loan REST API
493
+ * Crypto Loan REST API
539
494
  *
540
- * OpenAPI Specification for the Binance Crypto Loan REST API
495
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
541
496
  *
542
497
  * The version of the OpenAPI document: 1.0.0
543
498
  *
@@ -595,9 +550,9 @@ interface GetFlexibleLoanInterestRateHistoryResponse {
595
550
  //#endregion
596
551
  //#region src/rest-api/types/get-flexible-loan-liquidation-history-response-rows-inner.d.ts
597
552
  /**
598
- * Binance Crypto Loan REST API
553
+ * Crypto Loan REST API
599
554
  *
600
- * OpenAPI Specification for the Binance Crypto Loan REST API
555
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
601
556
  *
602
557
  * The version of the OpenAPI document: 1.0.0
603
558
  *
@@ -691,9 +646,9 @@ interface GetFlexibleLoanLiquidationHistoryResponse {
691
646
  //#endregion
692
647
  //#region src/rest-api/types/get-flexible-loan-ltv-adjustment-history-response-rows-inner.d.ts
693
648
  /**
694
- * Binance Crypto Loan REST API
649
+ * Crypto Loan REST API
695
650
  *
696
- * OpenAPI Specification for the Binance Crypto Loan REST API
651
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
697
652
  *
698
653
  * The version of the OpenAPI document: 1.0.0
699
654
  *
@@ -775,9 +730,9 @@ interface GetFlexibleLoanLtvAdjustmentHistoryResponse {
775
730
  //#endregion
776
731
  //#region src/rest-api/types/get-flexible-loan-ongoing-orders-response-rows-inner.d.ts
777
732
  /**
778
- * Binance Crypto Loan REST API
733
+ * Crypto Loan REST API
779
734
  *
780
- * OpenAPI Specification for the Binance Crypto Loan REST API
735
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
781
736
  *
782
737
  * The version of the OpenAPI document: 1.0.0
783
738
  *
@@ -847,9 +802,9 @@ interface GetFlexibleLoanOngoingOrdersResponse {
847
802
  //#endregion
848
803
  //#region src/rest-api/types/get-flexible-loan-repayment-history-response-rows-inner.d.ts
849
804
  /**
850
- * Binance Crypto Loan REST API
805
+ * Crypto Loan REST API
851
806
  *
852
- * OpenAPI Specification for the Binance Crypto Loan REST API
807
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
853
808
  *
854
809
  * The version of the OpenAPI document: 1.0.0
855
810
  *
@@ -925,9 +880,9 @@ interface GetFlexibleLoanRepaymentHistoryResponse {
925
880
  //#endregion
926
881
  //#region src/rest-api/types/get-loan-borrow-history-response-rows-inner.d.ts
927
882
  /**
928
- * Binance Crypto Loan REST API
883
+ * Crypto Loan REST API
929
884
  *
930
- * OpenAPI Specification for the Binance Crypto Loan REST API
885
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
931
886
  *
932
887
  * The version of the OpenAPI document: 1.0.0
933
888
  *
@@ -991,7 +946,7 @@ interface GetLoanBorrowHistoryResponseRowsInner {
991
946
  */
992
947
  borrowTime?: number | bigint;
993
948
  /**
994
- *
949
+ * Accruing_Interest, Overdue, Liquidating, Repaying, Repaid, Liquidated, Pending, Failed
995
950
  * @type {string}
996
951
  * @memberof GetLoanBorrowHistoryResponseRowsInner
997
952
  */
@@ -1021,9 +976,9 @@ interface GetLoanBorrowHistoryResponse {
1021
976
  //#endregion
1022
977
  //#region src/rest-api/types/get-loan-ltv-adjustment-history-response-rows-inner.d.ts
1023
978
  /**
1024
- * Binance Crypto Loan REST API
979
+ * Crypto Loan REST API
1025
980
  *
1026
- * OpenAPI Specification for the Binance Crypto Loan REST API
981
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
1027
982
  *
1028
983
  * The version of the OpenAPI document: 1.0.0
1029
984
  *
@@ -1111,9 +1066,9 @@ interface GetLoanLtvAdjustmentHistoryResponse {
1111
1066
  //#endregion
1112
1067
  //#region src/rest-api/types/get-loan-repayment-history-response-rows-inner.d.ts
1113
1068
  /**
1114
- * Binance Crypto Loan REST API
1069
+ * Crypto Loan REST API
1115
1070
  *
1116
- * OpenAPI Specification for the Binance Crypto Loan REST API
1071
+ * Access Binance Crypto Loans to query assets, subscribe to loans, and manage loan positions.
1117
1072
  *
1118
1073
  * The version of the OpenAPI document: 1.0.0
1119
1074
  *
@@ -1212,10 +1167,13 @@ interface GetLoanRepaymentHistoryResponse {
1212
1167
  */
1213
1168
  interface FlexibleRateApiInterface {
1214
1169
  /**
1170
+ * Get the latest rate of collateral coin/loan coin when using collateral repay.
1171
+ *
1172
+ * Weight(IP): 6000
1215
1173
  *
1216
- * Weight: 6000
1174
+ * Security Type: USER_DATA
1217
1175
  *
1218
- * @summary Check Collateral Repay Rate (USER_DATA)
1176
+ * @summary Check Collateral Flexible Repay Rate (USER_DATA)
1219
1177
  * @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
1220
1178
  *
1221
1179
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -1225,11 +1183,14 @@ interface FlexibleRateApiInterface {
1225
1183
  /**
1226
1184
  * Flexible Loan Adjust LTV
1227
1185
  *
1228
- * API Key needs Spot & Margin Trading permission for this endpoint
1186
+ * Weight(UID): 6000
1187
+ *
1188
+ * Security Type: TRADE
1229
1189
  *
1230
- * Weight: 6000
1190
+ * Notes:
1191
+ * - API key needs Spot & Margin Trading permission for this endpoint.
1231
1192
  *
1232
- * @summary Flexible Loan Adjust LTV(TRADE)
1193
+ * @summary Flexible Loan Adjust LTV (TRADE)
1233
1194
  * @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
1234
1195
  *
1235
1196
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -1239,13 +1200,15 @@ interface FlexibleRateApiInterface {
1239
1200
  /**
1240
1201
  * Borrow Flexible Loan
1241
1202
  *
1203
+ * Weight(IP): 6000
1242
1204
  *
1243
- * This API endpoint is available for both the master account and the sub-account.
1244
- * You can customize LTV by entering loanAmount and collateralAmount.
1205
+ * Security Type: TRADE
1245
1206
  *
1246
- * Weight: 6000
1207
+ * Notes:
1208
+ * - This endpoint is available for both master and sub-accounts.
1209
+ * - You can customize LTV by entering `loanAmount` and `collateralAmount`.
1247
1210
  *
1248
- * @summary Flexible Loan Borrow(TRADE)
1211
+ * @summary Flexible Loan Borrow (TRADE)
1249
1212
  * @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
1250
1213
  *
1251
1214
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -1255,12 +1218,14 @@ interface FlexibleRateApiInterface {
1255
1218
  /**
1256
1219
  * Flexible Loan Repay
1257
1220
  *
1221
+ * Weight(IP): 6000
1258
1222
  *
1259
- * repayAmount is mandatory even fullRepayment = FALSE
1223
+ * Security Type: TRADE
1260
1224
  *
1261
- * Weight: 6000
1225
+ * Notes:
1226
+ * - `repayAmount` is mandatory even when `fullRepayment = FALSE`.
1262
1227
  *
1263
- * @summary Flexible Loan Repay(TRADE)
1228
+ * @summary Flexible Loan Repay (TRADE)
1264
1229
  * @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
1265
1230
  *
1266
1231
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -1270,9 +1235,11 @@ interface FlexibleRateApiInterface {
1270
1235
  /**
1271
1236
  * Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
1272
1237
  *
1273
- * Weight: 400
1238
+ * Weight(IP): 400
1274
1239
  *
1275
- * @summary Get Flexible Loan Assets Data(USER_DATA)
1240
+ * Security Type: USER_DATA
1241
+ *
1242
+ * @summary Get Flexible Loan Assets Data (USER_DATA)
1276
1243
  * @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
1277
1244
  *
1278
1245
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -1280,14 +1247,17 @@ interface FlexibleRateApiInterface {
1280
1247
  */
1281
1248
  getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
1282
1249
  /**
1283
- * Get Flexible Loan Borrow History
1250
+ * Get Flexible Loan Borrow History. It can be used to check history before 2024-02-27 08:00.
1251
+ *
1252
+ * Weight(IP): 400
1284
1253
  *
1285
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
1286
- * The max interval between startTime and endTime is 180 days.
1254
+ * Security Type: USER_DATA
1287
1255
  *
1288
- * Weight: 400
1256
+ * Notes:
1257
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
1258
+ * - The max interval between `startTime` and `endTime` is 180 days.
1289
1259
  *
1290
- * @summary Get Flexible Loan Borrow History(USER_DATA)
1260
+ * @summary Get Flexible Loan Borrow History (USER_DATA)
1291
1261
  * @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
1292
1262
  *
1293
1263
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -1295,11 +1265,14 @@ interface FlexibleRateApiInterface {
1295
1265
  */
1296
1266
  getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
1297
1267
  /**
1298
- * Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
1268
+ * Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in
1269
+ * USD value.
1299
1270
  *
1300
- * Weight: 400
1271
+ * Weight(IP): 400
1301
1272
  *
1302
- * @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
1273
+ * Security Type: USER_DATA
1274
+ *
1275
+ * @summary Get Flexible Loan Collateral Assets Data (USER_DATA)
1303
1276
  * @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
1304
1277
  *
1305
1278
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -1309,11 +1282,14 @@ interface FlexibleRateApiInterface {
1309
1282
  /**
1310
1283
  * Check Flexible Loan interest rate history
1311
1284
  *
1312
- * If startTime and endTime are not sent, the recent 90-day data will be returned
1313
- * The max interval between startTime and endTime is 90 days.
1314
- * Time based on UTC+0.
1285
+ * Weight(IP): 400
1286
+ *
1287
+ * Security Type: USER_DATA
1315
1288
  *
1316
- * Weight: 400
1289
+ * Notes:
1290
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
1291
+ * - The max interval between `startTime` and `endTime` is 90 days.
1292
+ * - Time is based on UTC+0.
1317
1293
  *
1318
1294
  * @summary Get Flexible Loan Interest Rate History (USER_DATA)
1319
1295
  * @param {GetFlexibleLoanInterestRateHistoryRequest} requestParameters Request parameters.
@@ -1323,8 +1299,11 @@ interface FlexibleRateApiInterface {
1323
1299
  */
1324
1300
  getFlexibleLoanInterestRateHistory(requestParameters: GetFlexibleLoanInterestRateHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanInterestRateHistoryResponse>>;
1325
1301
  /**
1302
+ * Get Flexible Loan Liquidation History
1326
1303
  *
1327
- * Weight: 400
1304
+ * Weight(IP): 400
1305
+ *
1306
+ * Security Type: USER_DATA
1328
1307
  *
1329
1308
  * @summary Get Flexible Loan Liquidation History (USER_DATA)
1330
1309
  * @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
@@ -1334,14 +1313,17 @@ interface FlexibleRateApiInterface {
1334
1313
  */
1335
1314
  getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
1336
1315
  /**
1337
- * Get Flexible Loan LTV Adjustment History
1316
+ * Get Flexible Loan LTV Adjustment History. It can be used to check history before 2024-02-27 08:00.
1317
+ *
1318
+ * Weight(UID): 400
1338
1319
  *
1339
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
1340
- * The max interval between startTime and endTime is 180 days.
1320
+ * Security Type: USER_DATA
1341
1321
  *
1342
- * Weight: 400
1322
+ * Notes:
1323
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
1324
+ * - The max interval between `startTime` and `endTime` is 180 days.
1343
1325
  *
1344
- * @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
1326
+ * @summary Get Flexible Loan LTV Adjustment History (USER_DATA)
1345
1327
  * @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
1346
1328
  *
1347
1329
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -1351,9 +1333,11 @@ interface FlexibleRateApiInterface {
1351
1333
  /**
1352
1334
  * Get Flexible Loan Ongoing Orders
1353
1335
  *
1354
- * Weight: 300
1336
+ * Weight(IP): 300
1355
1337
  *
1356
- * @summary Get Flexible Loan Ongoing Orders(USER_DATA)
1338
+ * Security Type: USER_DATA
1339
+ *
1340
+ * @summary Get Flexible Loan Ongoing Orders (USER_DATA)
1357
1341
  * @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
1358
1342
  *
1359
1343
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -1361,14 +1345,17 @@ interface FlexibleRateApiInterface {
1361
1345
  */
1362
1346
  getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
1363
1347
  /**
1364
- * Get Flexible Loan Repayment History
1348
+ * Get Flexible Loan Repayment History. It can be used to check history before 2024-02-27 08:00.
1349
+ *
1350
+ * Weight(IP): 400
1365
1351
  *
1366
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
1367
- * The max interval between startTime and endTime is 180 days.
1352
+ * Security Type: USER_DATA
1368
1353
  *
1369
- * Weight: 400
1354
+ * Notes:
1355
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
1356
+ * - The max interval between `startTime` and `endTime` is 180 days.
1370
1357
  *
1371
- * @summary Get Flexible Loan Repayment History(USER_DATA)
1358
+ * @summary Get Flexible Loan Repayment History (USER_DATA)
1372
1359
  * @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
1373
1360
  *
1374
1361
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -1394,7 +1381,7 @@ interface CheckCollateralRepayRateRequest {
1394
1381
  */
1395
1382
  readonly collateralCoin: string;
1396
1383
  /**
1397
- *
1384
+ * Request validity window in milliseconds
1398
1385
  * @type {number | bigint}
1399
1386
  * @memberof FlexibleRateApiCheckCollateralRepayRate
1400
1387
  */
@@ -1424,13 +1411,13 @@ interface FlexibleLoanAdjustLtvRequest {
1424
1411
  */
1425
1412
  readonly adjustmentAmount: number;
1426
1413
  /**
1427
- * "ADDITIONAL", "REDUCED"
1428
- * @type {string}
1414
+ *
1415
+ * @type {'ADDITIONAL' | 'REDUCED'}
1429
1416
  * @memberof FlexibleRateApiFlexibleLoanAdjustLtv
1430
1417
  */
1431
- readonly direction: string;
1418
+ readonly direction: FlexibleLoanAdjustLtvDirectionEnum;
1432
1419
  /**
1433
- *
1420
+ * Request validity window in milliseconds
1434
1421
  * @type {number | bigint}
1435
1422
  * @memberof FlexibleRateApiFlexibleLoanAdjustLtv
1436
1423
  */
@@ -1466,7 +1453,7 @@ interface FlexibleLoanBorrowRequest {
1466
1453
  */
1467
1454
  readonly collateralAmount?: number;
1468
1455
  /**
1469
- *
1456
+ * Request validity window in milliseconds
1470
1457
  * @type {number | bigint}
1471
1458
  * @memberof FlexibleRateApiFlexibleLoanBorrow
1472
1459
  */
@@ -1490,31 +1477,32 @@ interface FlexibleLoanRepayRequest {
1490
1477
  */
1491
1478
  readonly collateralCoin: string;
1492
1479
  /**
1493
- * repay amount of loanCoin
1480
+ *
1494
1481
  * @type {number}
1495
1482
  * @memberof FlexibleRateApiFlexibleLoanRepay
1496
1483
  */
1497
1484
  readonly repayAmount: number;
1498
1485
  /**
1499
- * Default: TRUE. TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order, and lower LTV.
1486
+ * TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order and lower
1487
+ * LTV.
1500
1488
  * @type {boolean}
1501
1489
  * @memberof FlexibleRateApiFlexibleLoanRepay
1502
1490
  */
1503
1491
  readonly collateralReturn?: boolean;
1504
1492
  /**
1505
- * Default: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount
1493
+ * TRUE: Full repayment; FALSE: Partial repayment based on loan amount
1506
1494
  * @type {boolean}
1507
1495
  * @memberof FlexibleRateApiFlexibleLoanRepay
1508
1496
  */
1509
1497
  readonly fullRepayment?: boolean;
1510
1498
  /**
1511
- * Default: 1. 1: Repayment with loan asset; 2: Repayment with collateral
1512
- * @type {number | bigint}
1499
+ * 1: Repayment with loan asset; 2: Repayment with collateral
1500
+ * @type {1 | 2 | bigint}
1513
1501
  * @memberof FlexibleRateApiFlexibleLoanRepay
1514
1502
  */
1515
- readonly repaymentType?: number | bigint;
1503
+ readonly repaymentType?: FlexibleLoanRepayRepaymentTypeEnum;
1516
1504
  /**
1517
- *
1505
+ * Request validity window in milliseconds
1518
1506
  * @type {number | bigint}
1519
1507
  * @memberof FlexibleRateApiFlexibleLoanRepay
1520
1508
  */
@@ -1532,7 +1520,7 @@ interface GetFlexibleLoanAssetsDataRequest {
1532
1520
  */
1533
1521
  readonly loanCoin?: string;
1534
1522
  /**
1535
- *
1523
+ * Request validity window in milliseconds
1536
1524
  * @type {number | bigint}
1537
1525
  * @memberof FlexibleRateApiGetFlexibleLoanAssetsData
1538
1526
  */
@@ -1568,19 +1556,19 @@ interface GetFlexibleLoanBorrowHistoryRequest {
1568
1556
  */
1569
1557
  readonly endTime?: number | bigint;
1570
1558
  /**
1571
- * Current querying page. Start from 1; default: 1; max: 1000
1559
+ * Current querying page
1572
1560
  * @type {number | bigint}
1573
1561
  * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1574
1562
  */
1575
1563
  readonly current?: number | bigint;
1576
1564
  /**
1577
- * Default: 10; max: 100
1565
+ * Number of records to return
1578
1566
  * @type {number | bigint}
1579
1567
  * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1580
1568
  */
1581
1569
  readonly limit?: number | bigint;
1582
1570
  /**
1583
- *
1571
+ * Request validity window in milliseconds
1584
1572
  * @type {number | bigint}
1585
1573
  * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1586
1574
  */
@@ -1598,7 +1586,7 @@ interface GetFlexibleLoanCollateralAssetsDataRequest {
1598
1586
  */
1599
1587
  readonly collateralCoin?: string;
1600
1588
  /**
1601
- *
1589
+ * Request validity window in milliseconds
1602
1590
  * @type {number | bigint}
1603
1591
  * @memberof FlexibleRateApiGetFlexibleLoanCollateralAssetsData
1604
1592
  */
@@ -1616,7 +1604,7 @@ interface GetFlexibleLoanInterestRateHistoryRequest {
1616
1604
  */
1617
1605
  readonly coin: string;
1618
1606
  /**
1619
- *
1607
+ * Request validity window in milliseconds
1620
1608
  * @type {number | bigint}
1621
1609
  * @memberof FlexibleRateApiGetFlexibleLoanInterestRateHistory
1622
1610
  */
@@ -1634,13 +1622,13 @@ interface GetFlexibleLoanInterestRateHistoryRequest {
1634
1622
  */
1635
1623
  readonly endTime?: number | bigint;
1636
1624
  /**
1637
- * Current querying page. Start from 1; default: 1; max: 1000
1625
+ * Current querying page
1638
1626
  * @type {number | bigint}
1639
1627
  * @memberof FlexibleRateApiGetFlexibleLoanInterestRateHistory
1640
1628
  */
1641
1629
  readonly current?: number | bigint;
1642
1630
  /**
1643
- * Default: 10; max: 100
1631
+ * Number of records to return
1644
1632
  * @type {number | bigint}
1645
1633
  * @memberof FlexibleRateApiGetFlexibleLoanInterestRateHistory
1646
1634
  */
@@ -1676,19 +1664,19 @@ interface GetFlexibleLoanLiquidationHistoryRequest {
1676
1664
  */
1677
1665
  readonly endTime?: number | bigint;
1678
1666
  /**
1679
- * Current querying page. Start from 1; default: 1; max: 1000
1667
+ * Current querying page
1680
1668
  * @type {number | bigint}
1681
1669
  * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1682
1670
  */
1683
1671
  readonly current?: number | bigint;
1684
1672
  /**
1685
- * Default: 10; max: 100
1673
+ * Number of records to return
1686
1674
  * @type {number | bigint}
1687
1675
  * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1688
1676
  */
1689
1677
  readonly limit?: number | bigint;
1690
1678
  /**
1691
- *
1679
+ * Request validity window in milliseconds
1692
1680
  * @type {number | bigint}
1693
1681
  * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1694
1682
  */
@@ -1724,19 +1712,19 @@ interface GetFlexibleLoanLtvAdjustmentHistoryRequest {
1724
1712
  */
1725
1713
  readonly endTime?: number | bigint;
1726
1714
  /**
1727
- * Current querying page. Start from 1; default: 1; max: 1000
1715
+ * Current querying page
1728
1716
  * @type {number | bigint}
1729
1717
  * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1730
1718
  */
1731
1719
  readonly current?: number | bigint;
1732
1720
  /**
1733
- * Default: 10; max: 100
1721
+ * Number of records to return
1734
1722
  * @type {number | bigint}
1735
1723
  * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1736
1724
  */
1737
1725
  readonly limit?: number | bigint;
1738
1726
  /**
1739
- *
1727
+ * Request validity window in milliseconds
1740
1728
  * @type {number | bigint}
1741
1729
  * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1742
1730
  */
@@ -1760,19 +1748,19 @@ interface GetFlexibleLoanOngoingOrdersRequest {
1760
1748
  */
1761
1749
  readonly collateralCoin?: string;
1762
1750
  /**
1763
- * Current querying page. Start from 1; default: 1; max: 1000
1751
+ * Current querying page
1764
1752
  * @type {number | bigint}
1765
1753
  * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1766
1754
  */
1767
1755
  readonly current?: number | bigint;
1768
1756
  /**
1769
- * Default: 10; max: 100
1757
+ * Number of records to return
1770
1758
  * @type {number | bigint}
1771
1759
  * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1772
1760
  */
1773
1761
  readonly limit?: number | bigint;
1774
1762
  /**
1775
- *
1763
+ * Request validity window in milliseconds
1776
1764
  * @type {number | bigint}
1777
1765
  * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1778
1766
  */
@@ -1808,19 +1796,19 @@ interface GetFlexibleLoanRepaymentHistoryRequest {
1808
1796
  */
1809
1797
  readonly endTime?: number | bigint;
1810
1798
  /**
1811
- * Current querying page. Start from 1; default: 1; max: 1000
1799
+ * Current querying page
1812
1800
  * @type {number | bigint}
1813
1801
  * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1814
1802
  */
1815
1803
  readonly current?: number | bigint;
1816
1804
  /**
1817
- * Default: 10; max: 100
1805
+ * Number of records to return
1818
1806
  * @type {number | bigint}
1819
1807
  * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1820
1808
  */
1821
1809
  readonly limit?: number | bigint;
1822
1810
  /**
1823
- *
1811
+ * Request validity window in milliseconds
1824
1812
  * @type {number | bigint}
1825
1813
  * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1826
1814
  */
@@ -1835,182 +1823,222 @@ declare class FlexibleRateApi implements FlexibleRateApiInterface {
1835
1823
  private localVarAxiosParamCreator;
1836
1824
  constructor(configuration: ConfigurationRestAPI);
1837
1825
  /**
1826
+ * Get the latest rate of collateral coin/loan coin when using collateral repay.
1838
1827
  *
1839
- * Weight: 6000
1828
+ * Weight(IP): 6000
1840
1829
  *
1841
- * @summary Check Collateral Repay Rate (USER_DATA)
1830
+ * Security Type: USER_DATA
1831
+ *
1832
+ * @summary Check Collateral Flexible Repay Rate (USER_DATA)
1842
1833
  * @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
1843
1834
  * @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
1844
1835
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1845
1836
  * @memberof FlexibleRateApi
1846
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
1837
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#check-collateral-repay-rate Binance API Documentation}
1847
1838
  */
1848
1839
  checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
1849
1840
  /**
1850
1841
  * Flexible Loan Adjust LTV
1851
1842
  *
1852
- * API Key needs Spot & Margin Trading permission for this endpoint
1843
+ * Weight(UID): 6000
1844
+ *
1845
+ * Security Type: TRADE
1853
1846
  *
1854
- * Weight: 6000
1847
+ * Notes:
1848
+ * - API key needs Spot & Margin Trading permission for this endpoint.
1855
1849
  *
1856
- * @summary Flexible Loan Adjust LTV(TRADE)
1850
+ * @summary Flexible Loan Adjust LTV (TRADE)
1857
1851
  * @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
1858
1852
  * @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
1859
1853
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1860
1854
  * @memberof FlexibleRateApi
1861
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
1855
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#flexible-loan-adjust-ltv Binance API Documentation}
1862
1856
  */
1863
1857
  flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
1864
1858
  /**
1865
1859
  * Borrow Flexible Loan
1866
1860
  *
1861
+ * Weight(IP): 6000
1867
1862
  *
1868
- * This API endpoint is available for both the master account and the sub-account.
1869
- * You can customize LTV by entering loanAmount and collateralAmount.
1863
+ * Security Type: TRADE
1870
1864
  *
1871
- * Weight: 6000
1865
+ * Notes:
1866
+ * - This endpoint is available for both master and sub-accounts.
1867
+ * - You can customize LTV by entering `loanAmount` and `collateralAmount`.
1872
1868
  *
1873
- * @summary Flexible Loan Borrow(TRADE)
1869
+ * @summary Flexible Loan Borrow (TRADE)
1874
1870
  * @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
1875
1871
  * @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
1876
1872
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1877
1873
  * @memberof FlexibleRateApi
1878
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
1874
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#flexible-loan-borrow Binance API Documentation}
1879
1875
  */
1880
1876
  flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
1881
1877
  /**
1882
1878
  * Flexible Loan Repay
1883
1879
  *
1880
+ * Weight(IP): 6000
1884
1881
  *
1885
- * repayAmount is mandatory even fullRepayment = FALSE
1882
+ * Security Type: TRADE
1886
1883
  *
1887
- * Weight: 6000
1884
+ * Notes:
1885
+ * - `repayAmount` is mandatory even when `fullRepayment = FALSE`.
1888
1886
  *
1889
- * @summary Flexible Loan Repay(TRADE)
1887
+ * @summary Flexible Loan Repay (TRADE)
1890
1888
  * @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
1891
1889
  * @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
1892
1890
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1893
1891
  * @memberof FlexibleRateApi
1894
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
1892
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#flexible-loan-repay Binance API Documentation}
1895
1893
  */
1896
1894
  flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
1897
1895
  /**
1898
1896
  * Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
1899
1897
  *
1900
- * Weight: 400
1898
+ * Weight(IP): 400
1899
+ *
1900
+ * Security Type: USER_DATA
1901
1901
  *
1902
- * @summary Get Flexible Loan Assets Data(USER_DATA)
1902
+ * @summary Get Flexible Loan Assets Data (USER_DATA)
1903
1903
  * @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
1904
1904
  * @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
1905
1905
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1906
1906
  * @memberof FlexibleRateApi
1907
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
1907
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-assets-data Binance API Documentation}
1908
1908
  */
1909
1909
  getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
1910
1910
  /**
1911
- * Get Flexible Loan Borrow History
1911
+ * Get Flexible Loan Borrow History. It can be used to check history before 2024-02-27 08:00.
1912
1912
  *
1913
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
1914
- * The max interval between startTime and endTime is 180 days.
1913
+ * Weight(IP): 400
1915
1914
  *
1916
- * Weight: 400
1915
+ * Security Type: USER_DATA
1917
1916
  *
1918
- * @summary Get Flexible Loan Borrow History(USER_DATA)
1917
+ * Notes:
1918
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
1919
+ * - The max interval between `startTime` and `endTime` is 180 days.
1920
+ *
1921
+ * @summary Get Flexible Loan Borrow History (USER_DATA)
1919
1922
  * @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
1920
1923
  * @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
1921
1924
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1922
1925
  * @memberof FlexibleRateApi
1923
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
1926
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-borrow-history Binance API Documentation}
1924
1927
  */
1925
1928
  getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
1926
1929
  /**
1927
- * Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
1930
+ * Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in
1931
+ * USD value.
1932
+ *
1933
+ * Weight(IP): 400
1928
1934
  *
1929
- * Weight: 400
1935
+ * Security Type: USER_DATA
1930
1936
  *
1931
- * @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
1937
+ * @summary Get Flexible Loan Collateral Assets Data (USER_DATA)
1932
1938
  * @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
1933
1939
  * @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
1934
1940
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1935
1941
  * @memberof FlexibleRateApi
1936
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
1942
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-collateral-assets-data Binance API Documentation}
1937
1943
  */
1938
1944
  getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
1939
1945
  /**
1940
1946
  * Check Flexible Loan interest rate history
1941
1947
  *
1942
- * If startTime and endTime are not sent, the recent 90-day data will be returned
1943
- * The max interval between startTime and endTime is 90 days.
1944
- * Time based on UTC+0.
1948
+ * Weight(IP): 400
1945
1949
  *
1946
- * Weight: 400
1950
+ * Security Type: USER_DATA
1951
+ *
1952
+ * Notes:
1953
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
1954
+ * - The max interval between `startTime` and `endTime` is 90 days.
1955
+ * - Time is based on UTC+0.
1947
1956
  *
1948
1957
  * @summary Get Flexible Loan Interest Rate History (USER_DATA)
1949
1958
  * @param {GetFlexibleLoanInterestRateHistoryRequest} requestParameters Request parameters.
1950
1959
  * @returns {Promise<RestApiResponse<GetFlexibleLoanInterestRateHistoryResponse>>}
1951
1960
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1952
1961
  * @memberof FlexibleRateApi
1953
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Interest-Rate-History Binance API Documentation}
1962
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-interest-rate-history Binance API Documentation}
1954
1963
  */
1955
1964
  getFlexibleLoanInterestRateHistory(requestParameters: GetFlexibleLoanInterestRateHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanInterestRateHistoryResponse>>;
1956
1965
  /**
1966
+ * Get Flexible Loan Liquidation History
1967
+ *
1968
+ * Weight(IP): 400
1957
1969
  *
1958
- * Weight: 400
1970
+ * Security Type: USER_DATA
1959
1971
  *
1960
1972
  * @summary Get Flexible Loan Liquidation History (USER_DATA)
1961
1973
  * @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
1962
1974
  * @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
1963
1975
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1964
1976
  * @memberof FlexibleRateApi
1965
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
1977
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-liquidation-history Binance API Documentation}
1966
1978
  */
1967
1979
  getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
1968
1980
  /**
1969
- * Get Flexible Loan LTV Adjustment History
1981
+ * Get Flexible Loan LTV Adjustment History. It can be used to check history before 2024-02-27 08:00.
1970
1982
  *
1971
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
1972
- * The max interval between startTime and endTime is 180 days.
1983
+ * Weight(UID): 400
1973
1984
  *
1974
- * Weight: 400
1985
+ * Security Type: USER_DATA
1975
1986
  *
1976
- * @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
1987
+ * Notes:
1988
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
1989
+ * - The max interval between `startTime` and `endTime` is 180 days.
1990
+ *
1991
+ * @summary Get Flexible Loan LTV Adjustment History (USER_DATA)
1977
1992
  * @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
1978
1993
  * @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
1979
1994
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1980
1995
  * @memberof FlexibleRateApi
1981
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
1996
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-ltv-adjustment-history Binance API Documentation}
1982
1997
  */
1983
1998
  getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
1984
1999
  /**
1985
2000
  * Get Flexible Loan Ongoing Orders
1986
2001
  *
1987
- * Weight: 300
2002
+ * Weight(IP): 300
2003
+ *
2004
+ * Security Type: USER_DATA
1988
2005
  *
1989
- * @summary Get Flexible Loan Ongoing Orders(USER_DATA)
2006
+ * @summary Get Flexible Loan Ongoing Orders (USER_DATA)
1990
2007
  * @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
1991
2008
  * @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
1992
2009
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1993
2010
  * @memberof FlexibleRateApi
1994
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
2011
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-ongoing-orders Binance API Documentation}
1995
2012
  */
1996
2013
  getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
1997
2014
  /**
1998
- * Get Flexible Loan Repayment History
2015
+ * Get Flexible Loan Repayment History. It can be used to check history before 2024-02-27 08:00.
1999
2016
  *
2000
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2001
- * The max interval between startTime and endTime is 180 days.
2017
+ * Weight(IP): 400
2002
2018
  *
2003
- * Weight: 400
2019
+ * Security Type: USER_DATA
2004
2020
  *
2005
- * @summary Get Flexible Loan Repayment History(USER_DATA)
2021
+ * Notes:
2022
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2023
+ * - The max interval between `startTime` and `endTime` is 180 days.
2024
+ *
2025
+ * @summary Get Flexible Loan Repayment History (USER_DATA)
2006
2026
  * @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
2007
2027
  * @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
2008
2028
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2009
2029
  * @memberof FlexibleRateApi
2010
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
2030
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-repayment-history Binance API Documentation}
2011
2031
  */
2012
2032
  getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
2013
2033
  }
2034
+ declare enum FlexibleLoanAdjustLtvDirectionEnum {
2035
+ ADDITIONAL = "ADDITIONAL",
2036
+ REDUCED = "REDUCED",
2037
+ }
2038
+ declare enum FlexibleLoanRepayRepaymentTypeEnum {
2039
+ REPAYMENT_TYPE_1 = 1,
2040
+ REPAYMENT_TYPE_2 = 2,
2041
+ }
2014
2042
  //#endregion
2015
2043
  //#region src/rest-api/modules/stable-rate-api.d.ts
2016
2044
  /**
@@ -2018,27 +2046,18 @@ declare class FlexibleRateApi implements FlexibleRateApiInterface {
2018
2046
  * @interface StableRateApi
2019
2047
  */
2020
2048
  interface StableRateApiInterface {
2021
- /**
2022
- * Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
2023
- *
2024
- * Weight: 6000
2025
- *
2026
- * @summary Check Collateral Repay Rate(USER_DATA)
2027
- * @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
2028
- *
2029
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2030
- * @memberof StableRateApiInterface
2031
- */
2032
- checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
2033
2049
  /**
2034
2050
  * Get Crypto Loans Income History
2035
2051
  *
2036
- * If startTime and endTime are not sent, the recent 7-day data will be returned.
2037
- * The max interval between startTime and endTime is 30 days.
2052
+ * Weight(UID): 6000
2053
+ *
2054
+ * Security Type: USER_DATA
2038
2055
  *
2039
- * Weight: 6000
2056
+ * Notes:
2057
+ * - If `startTime` and `endTime` are both omitted, the most recent 7 days of data are returned.
2058
+ * - The maximum interval between `startTime` and `endTime` is 30 days.
2040
2059
  *
2041
- * @summary Get Crypto Loans Income History(USER_DATA)
2060
+ * @summary Get Crypto Loans Income History (USER_DATA)
2042
2061
  * @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
2043
2062
  *
2044
2063
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -2048,12 +2067,15 @@ interface StableRateApiInterface {
2048
2067
  /**
2049
2068
  * Get Loan Borrow History
2050
2069
  *
2051
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2052
- * The max interval between startTime and endTime is 180 days.
2070
+ * Weight(IP): 400
2071
+ *
2072
+ * Security Type: USER_DATA
2053
2073
  *
2054
- * Weight: 400
2074
+ * Notes:
2075
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2076
+ * - The max interval between `startTime` and `endTime` is 180 days.
2055
2077
  *
2056
- * @summary Get Loan Borrow History(USER_DATA)
2078
+ * @summary Get Loan Borrow History (USER_DATA)
2057
2079
  * @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
2058
2080
  *
2059
2081
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -2063,12 +2085,15 @@ interface StableRateApiInterface {
2063
2085
  /**
2064
2086
  * Get Loan LTV Adjustment History
2065
2087
  *
2066
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2067
- * The max interval between startTime and endTime is 180 days.
2088
+ * Weight(IP): 400
2068
2089
  *
2069
- * Weight: 400
2090
+ * Security Type: USER_DATA
2070
2091
  *
2071
- * @summary Get Loan LTV Adjustment History(USER_DATA)
2092
+ * Notes:
2093
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2094
+ * - The max interval between `startTime` and `endTime` is 180 days.
2095
+ *
2096
+ * @summary Get Loan LTV Adjustment History (USER_DATA)
2072
2097
  * @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
2073
2098
  *
2074
2099
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -2078,12 +2103,15 @@ interface StableRateApiInterface {
2078
2103
  /**
2079
2104
  * Get Loan Repayment History
2080
2105
  *
2081
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2082
- * The max interval between startTime and endTime is 180 days.
2106
+ * Weight(IP): 400
2107
+ *
2108
+ * Security Type: USER_DATA
2083
2109
  *
2084
- * Weight: 400
2110
+ * Notes:
2111
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2112
+ * - The max interval between `startTime` and `endTime` is 180 days.
2085
2113
  *
2086
- * @summary Get Loan Repayment History(USER_DATA)
2114
+ * @summary Get Loan Repayment History (USER_DATA)
2087
2115
  * @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
2088
2116
  *
2089
2117
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
@@ -2091,36 +2119,6 @@ interface StableRateApiInterface {
2091
2119
  */
2092
2120
  getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
2093
2121
  }
2094
- /**
2095
- * Request parameters for checkCollateralRepayRateStableRate operation in StableRateApi.
2096
- * @interface CheckCollateralRepayRateStableRateRequest
2097
- */
2098
- interface CheckCollateralRepayRateStableRateRequest {
2099
- /**
2100
- *
2101
- * @type {string}
2102
- * @memberof StableRateApiCheckCollateralRepayRateStableRate
2103
- */
2104
- readonly loanCoin: string;
2105
- /**
2106
- *
2107
- * @type {string}
2108
- * @memberof StableRateApiCheckCollateralRepayRateStableRate
2109
- */
2110
- readonly collateralCoin: string;
2111
- /**
2112
- * repay amount of loanCoin
2113
- * @type {number}
2114
- * @memberof StableRateApiCheckCollateralRepayRateStableRate
2115
- */
2116
- readonly repayAmount: number;
2117
- /**
2118
- *
2119
- * @type {number | bigint}
2120
- * @memberof StableRateApiCheckCollateralRepayRateStableRate
2121
- */
2122
- readonly recvWindow?: number | bigint;
2123
- }
2124
2122
  /**
2125
2123
  * Request parameters for getCryptoLoansIncomeHistory operation in StableRateApi.
2126
2124
  * @interface GetCryptoLoansIncomeHistoryRequest
@@ -2133,11 +2131,11 @@ interface GetCryptoLoansIncomeHistoryRequest {
2133
2131
  */
2134
2132
  readonly asset?: string;
2135
2133
  /**
2136
- * All types will be returned by default. Enum:`borrowIn` ,`collateralSpent`, `repayAmount`, `collateralReturn`(Collateral return after repayment), `addCollateral`, `removeCollateral`, `collateralReturnAfterLiquidation`
2137
- * @type {string}
2134
+ * All types will be returned by default.
2135
+ * @type {'borrowIn' | 'collateralSpent' | 'repayAmount' | 'collateralReturn' | 'addCollateral' | 'removeCollateral' | 'collateralReturnAfterLiquidation'}
2138
2136
  * @memberof StableRateApiGetCryptoLoansIncomeHistory
2139
2137
  */
2140
- readonly type?: string;
2138
+ readonly type?: GetCryptoLoansIncomeHistoryTypeEnum;
2141
2139
  /**
2142
2140
  *
2143
2141
  * @type {number | bigint}
@@ -2151,13 +2149,13 @@ interface GetCryptoLoansIncomeHistoryRequest {
2151
2149
  */
2152
2150
  readonly endTime?: number | bigint;
2153
2151
  /**
2154
- * Default: 10; max: 100
2152
+ * Number of records to return
2155
2153
  * @type {number | bigint}
2156
2154
  * @memberof StableRateApiGetCryptoLoansIncomeHistory
2157
2155
  */
2158
2156
  readonly limit?: number | bigint;
2159
2157
  /**
2160
- *
2158
+ * Request validity window in milliseconds
2161
2159
  * @type {number | bigint}
2162
2160
  * @memberof StableRateApiGetCryptoLoansIncomeHistory
2163
2161
  */
@@ -2199,19 +2197,19 @@ interface GetLoanBorrowHistoryRequest {
2199
2197
  */
2200
2198
  readonly endTime?: number | bigint;
2201
2199
  /**
2202
- * Current querying page. Start from 1; default: 1; max: 1000
2200
+ * Current querying page
2203
2201
  * @type {number | bigint}
2204
2202
  * @memberof StableRateApiGetLoanBorrowHistory
2205
2203
  */
2206
2204
  readonly current?: number | bigint;
2207
2205
  /**
2208
- * Default: 10; max: 100
2206
+ * Number of records to return
2209
2207
  * @type {number | bigint}
2210
2208
  * @memberof StableRateApiGetLoanBorrowHistory
2211
2209
  */
2212
2210
  readonly limit?: number | bigint;
2213
2211
  /**
2214
- *
2212
+ * Request validity window in milliseconds
2215
2213
  * @type {number | bigint}
2216
2214
  * @memberof StableRateApiGetLoanBorrowHistory
2217
2215
  */
@@ -2253,19 +2251,19 @@ interface GetLoanLtvAdjustmentHistoryRequest {
2253
2251
  */
2254
2252
  readonly endTime?: number | bigint;
2255
2253
  /**
2256
- * Current querying page. Start from 1; default: 1; max: 1000
2254
+ * Current querying page
2257
2255
  * @type {number | bigint}
2258
2256
  * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2259
2257
  */
2260
2258
  readonly current?: number | bigint;
2261
2259
  /**
2262
- * Default: 10; max: 100
2260
+ * Number of records to return
2263
2261
  * @type {number | bigint}
2264
2262
  * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2265
2263
  */
2266
2264
  readonly limit?: number | bigint;
2267
2265
  /**
2268
- *
2266
+ * Request validity window in milliseconds
2269
2267
  * @type {number | bigint}
2270
2268
  * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2271
2269
  */
@@ -2307,19 +2305,19 @@ interface GetLoanRepaymentHistoryRequest {
2307
2305
  */
2308
2306
  readonly endTime?: number | bigint;
2309
2307
  /**
2310
- * Current querying page. Start from 1; default: 1; max: 1000
2308
+ * Current querying page
2311
2309
  * @type {number | bigint}
2312
2310
  * @memberof StableRateApiGetLoanRepaymentHistory
2313
2311
  */
2314
2312
  readonly current?: number | bigint;
2315
2313
  /**
2316
- * Default: 10; max: 100
2314
+ * Number of records to return
2317
2315
  * @type {number | bigint}
2318
2316
  * @memberof StableRateApiGetLoanRepaymentHistory
2319
2317
  */
2320
2318
  readonly limit?: number | bigint;
2321
2319
  /**
2322
- *
2320
+ * Request validity window in milliseconds
2323
2321
  * @type {number | bigint}
2324
2322
  * @memberof StableRateApiGetLoanRepaymentHistory
2325
2323
  */
@@ -2333,84 +2331,92 @@ declare class StableRateApi implements StableRateApiInterface {
2333
2331
  private readonly configuration;
2334
2332
  private localVarAxiosParamCreator;
2335
2333
  constructor(configuration: ConfigurationRestAPI);
2336
- /**
2337
- * Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
2338
- *
2339
- * Weight: 6000
2340
- *
2341
- * @summary Check Collateral Repay Rate(USER_DATA)
2342
- * @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
2343
- * @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
2344
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2345
- * @memberof StableRateApi
2346
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
2347
- */
2348
- checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
2349
2334
  /**
2350
2335
  * Get Crypto Loans Income History
2351
2336
  *
2352
- * If startTime and endTime are not sent, the recent 7-day data will be returned.
2353
- * The max interval between startTime and endTime is 30 days.
2337
+ * Weight(UID): 6000
2338
+ *
2339
+ * Security Type: USER_DATA
2354
2340
  *
2355
- * Weight: 6000
2341
+ * Notes:
2342
+ * - If `startTime` and `endTime` are both omitted, the most recent 7 days of data are returned.
2343
+ * - The maximum interval between `startTime` and `endTime` is 30 days.
2356
2344
  *
2357
- * @summary Get Crypto Loans Income History(USER_DATA)
2345
+ * @summary Get Crypto Loans Income History (USER_DATA)
2358
2346
  * @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
2359
2347
  * @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
2360
2348
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2361
2349
  * @memberof StableRateApi
2362
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
2350
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/stable-rate#get-crypto-loans-income-history Binance API Documentation}
2363
2351
  */
2364
2352
  getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
2365
2353
  /**
2366
2354
  * Get Loan Borrow History
2367
2355
  *
2368
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2369
- * The max interval between startTime and endTime is 180 days.
2356
+ * Weight(IP): 400
2370
2357
  *
2371
- * Weight: 400
2358
+ * Security Type: USER_DATA
2372
2359
  *
2373
- * @summary Get Loan Borrow History(USER_DATA)
2360
+ * Notes:
2361
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2362
+ * - The max interval between `startTime` and `endTime` is 180 days.
2363
+ *
2364
+ * @summary Get Loan Borrow History (USER_DATA)
2374
2365
  * @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
2375
2366
  * @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
2376
2367
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2377
2368
  * @memberof StableRateApi
2378
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
2369
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/stable-rate#get-loan-borrow-history Binance API Documentation}
2379
2370
  */
2380
2371
  getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
2381
2372
  /**
2382
2373
  * Get Loan LTV Adjustment History
2383
2374
  *
2384
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2385
- * The max interval between startTime and endTime is 180 days.
2375
+ * Weight(IP): 400
2376
+ *
2377
+ * Security Type: USER_DATA
2386
2378
  *
2387
- * Weight: 400
2379
+ * Notes:
2380
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2381
+ * - The max interval between `startTime` and `endTime` is 180 days.
2388
2382
  *
2389
- * @summary Get Loan LTV Adjustment History(USER_DATA)
2383
+ * @summary Get Loan LTV Adjustment History (USER_DATA)
2390
2384
  * @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
2391
2385
  * @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
2392
2386
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2393
2387
  * @memberof StableRateApi
2394
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
2388
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/stable-rate#get-loan-ltv-adjustment-history Binance API Documentation}
2395
2389
  */
2396
2390
  getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
2397
2391
  /**
2398
2392
  * Get Loan Repayment History
2399
2393
  *
2400
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2401
- * The max interval between startTime and endTime is 180 days.
2394
+ * Weight(IP): 400
2402
2395
  *
2403
- * Weight: 400
2396
+ * Security Type: USER_DATA
2404
2397
  *
2405
- * @summary Get Loan Repayment History(USER_DATA)
2398
+ * Notes:
2399
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2400
+ * - The max interval between `startTime` and `endTime` is 180 days.
2401
+ *
2402
+ * @summary Get Loan Repayment History (USER_DATA)
2406
2403
  * @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
2407
2404
  * @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
2408
2405
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2409
2406
  * @memberof StableRateApi
2410
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
2407
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/stable-rate#get-loan-repayment-history Binance API Documentation}
2411
2408
  */
2412
2409
  getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
2413
2410
  }
2411
+ declare enum GetCryptoLoansIncomeHistoryTypeEnum {
2412
+ borrowIn = "borrowIn",
2413
+ collateralSpent = "collateralSpent",
2414
+ repayAmount = "repayAmount",
2415
+ collateralReturn = "collateralReturn",
2416
+ addCollateral = "addCollateral",
2417
+ removeCollateral = "removeCollateral",
2418
+ collateralReturnAfterLiquidation = "collateralReturnAfterLiquidation",
2419
+ }
2414
2420
  //#endregion
2415
2421
  //#region src/rest-api/rest-api.d.ts
2416
2422
  declare class RestAPI {
@@ -2439,261 +2445,292 @@ declare class RestAPI {
2439
2445
  */
2440
2446
  sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', queryParams?: Record<string, unknown>, bodyParams?: Record<string, unknown>): Promise<RestApiResponse<T>>;
2441
2447
  /**
2448
+ * Get the latest rate of collateral coin/loan coin when using collateral repay.
2442
2449
  *
2443
- * Weight: 6000
2450
+ * Weight(IP): 6000
2444
2451
  *
2445
- * @summary Check Collateral Repay Rate (USER_DATA)
2452
+ * Security Type: USER_DATA
2453
+ *
2454
+ * @summary Check Collateral Flexible Repay Rate (USER_DATA)
2446
2455
  * @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
2447
2456
  *
2448
2457
  * @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
2449
2458
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2450
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
2459
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#check-collateral-repay-rate Binance API Documentation}
2451
2460
  */
2452
2461
  checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
2453
2462
  /**
2454
2463
  * Flexible Loan Adjust LTV
2455
2464
  *
2456
- * API Key needs Spot & Margin Trading permission for this endpoint
2465
+ * Weight(UID): 6000
2466
+ *
2467
+ * Security Type: TRADE
2457
2468
  *
2458
- * Weight: 6000
2469
+ * Notes:
2470
+ * - API key needs Spot & Margin Trading permission for this endpoint.
2459
2471
  *
2460
- * @summary Flexible Loan Adjust LTV(TRADE)
2472
+ * @summary Flexible Loan Adjust LTV (TRADE)
2461
2473
  * @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
2462
2474
  *
2463
2475
  * @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
2464
2476
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2465
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
2477
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#flexible-loan-adjust-ltv Binance API Documentation}
2466
2478
  */
2467
2479
  flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
2468
2480
  /**
2469
2481
  * Borrow Flexible Loan
2470
2482
  *
2483
+ * Weight(IP): 6000
2471
2484
  *
2472
- * This API endpoint is available for both the master account and the sub-account.
2473
- * You can customize LTV by entering loanAmount and collateralAmount.
2485
+ * Security Type: TRADE
2474
2486
  *
2475
- * Weight: 6000
2487
+ * Notes:
2488
+ * - This endpoint is available for both master and sub-accounts.
2489
+ * - You can customize LTV by entering `loanAmount` and `collateralAmount`.
2476
2490
  *
2477
- * @summary Flexible Loan Borrow(TRADE)
2491
+ * @summary Flexible Loan Borrow (TRADE)
2478
2492
  * @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
2479
2493
  *
2480
2494
  * @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
2481
2495
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2482
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
2496
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#flexible-loan-borrow Binance API Documentation}
2483
2497
  */
2484
2498
  flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
2485
2499
  /**
2486
2500
  * Flexible Loan Repay
2487
2501
  *
2502
+ * Weight(IP): 6000
2488
2503
  *
2489
- * repayAmount is mandatory even fullRepayment = FALSE
2504
+ * Security Type: TRADE
2490
2505
  *
2491
- * Weight: 6000
2506
+ * Notes:
2507
+ * - `repayAmount` is mandatory even when `fullRepayment = FALSE`.
2492
2508
  *
2493
- * @summary Flexible Loan Repay(TRADE)
2509
+ * @summary Flexible Loan Repay (TRADE)
2494
2510
  * @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
2495
2511
  *
2496
2512
  * @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
2497
2513
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2498
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
2514
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#flexible-loan-repay Binance API Documentation}
2499
2515
  */
2500
2516
  flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
2501
2517
  /**
2502
2518
  * Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
2503
2519
  *
2504
- * Weight: 400
2520
+ * Weight(IP): 400
2505
2521
  *
2506
- * @summary Get Flexible Loan Assets Data(USER_DATA)
2522
+ * Security Type: USER_DATA
2523
+ *
2524
+ * @summary Get Flexible Loan Assets Data (USER_DATA)
2507
2525
  * @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
2508
2526
  *
2509
2527
  * @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
2510
2528
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2511
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
2529
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-assets-data Binance API Documentation}
2512
2530
  */
2513
2531
  getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
2514
2532
  /**
2515
- * Get Flexible Loan Borrow History
2533
+ * Get Flexible Loan Borrow History. It can be used to check history before 2024-02-27 08:00.
2534
+ *
2535
+ * Weight(IP): 400
2516
2536
  *
2517
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2518
- * The max interval between startTime and endTime is 180 days.
2537
+ * Security Type: USER_DATA
2519
2538
  *
2520
- * Weight: 400
2539
+ * Notes:
2540
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2541
+ * - The max interval between `startTime` and `endTime` is 180 days.
2521
2542
  *
2522
- * @summary Get Flexible Loan Borrow History(USER_DATA)
2543
+ * @summary Get Flexible Loan Borrow History (USER_DATA)
2523
2544
  * @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
2524
2545
  *
2525
2546
  * @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
2526
2547
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2527
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
2548
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-borrow-history Binance API Documentation}
2528
2549
  */
2529
2550
  getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
2530
2551
  /**
2531
- * Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
2552
+ * Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in
2553
+ * USD value.
2554
+ *
2555
+ * Weight(IP): 400
2532
2556
  *
2533
- * Weight: 400
2557
+ * Security Type: USER_DATA
2534
2558
  *
2535
- * @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
2559
+ * @summary Get Flexible Loan Collateral Assets Data (USER_DATA)
2536
2560
  * @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
2537
2561
  *
2538
2562
  * @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
2539
2563
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2540
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
2564
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-collateral-assets-data Binance API Documentation}
2541
2565
  */
2542
2566
  getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
2543
2567
  /**
2544
2568
  * Check Flexible Loan interest rate history
2545
2569
  *
2546
- * If startTime and endTime are not sent, the recent 90-day data will be returned
2547
- * The max interval between startTime and endTime is 90 days.
2548
- * Time based on UTC+0.
2570
+ * Weight(IP): 400
2549
2571
  *
2550
- * Weight: 400
2572
+ * Security Type: USER_DATA
2573
+ *
2574
+ * Notes:
2575
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2576
+ * - The max interval between `startTime` and `endTime` is 90 days.
2577
+ * - Time is based on UTC+0.
2551
2578
  *
2552
2579
  * @summary Get Flexible Loan Interest Rate History (USER_DATA)
2553
2580
  * @param {GetFlexibleLoanInterestRateHistoryRequest} requestParameters Request parameters.
2554
2581
  *
2555
2582
  * @returns {Promise<RestApiResponse<GetFlexibleLoanInterestRateHistoryResponse>>}
2556
2583
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2557
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Interest-Rate-History Binance API Documentation}
2584
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-interest-rate-history Binance API Documentation}
2558
2585
  */
2559
2586
  getFlexibleLoanInterestRateHistory(requestParameters: GetFlexibleLoanInterestRateHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanInterestRateHistoryResponse>>;
2560
2587
  /**
2588
+ * Get Flexible Loan Liquidation History
2589
+ *
2590
+ * Weight(IP): 400
2561
2591
  *
2562
- * Weight: 400
2592
+ * Security Type: USER_DATA
2563
2593
  *
2564
2594
  * @summary Get Flexible Loan Liquidation History (USER_DATA)
2565
2595
  * @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
2566
2596
  *
2567
2597
  * @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
2568
2598
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2569
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
2599
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-liquidation-history Binance API Documentation}
2570
2600
  */
2571
2601
  getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
2572
2602
  /**
2573
- * Get Flexible Loan LTV Adjustment History
2603
+ * Get Flexible Loan LTV Adjustment History. It can be used to check history before 2024-02-27 08:00.
2574
2604
  *
2575
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2576
- * The max interval between startTime and endTime is 180 days.
2605
+ * Weight(UID): 400
2577
2606
  *
2578
- * Weight: 400
2607
+ * Security Type: USER_DATA
2579
2608
  *
2580
- * @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
2609
+ * Notes:
2610
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2611
+ * - The max interval between `startTime` and `endTime` is 180 days.
2612
+ *
2613
+ * @summary Get Flexible Loan LTV Adjustment History (USER_DATA)
2581
2614
  * @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
2582
2615
  *
2583
2616
  * @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
2584
2617
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2585
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
2618
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-ltv-adjustment-history Binance API Documentation}
2586
2619
  */
2587
2620
  getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
2588
2621
  /**
2589
2622
  * Get Flexible Loan Ongoing Orders
2590
2623
  *
2591
- * Weight: 300
2624
+ * Weight(IP): 300
2625
+ *
2626
+ * Security Type: USER_DATA
2592
2627
  *
2593
- * @summary Get Flexible Loan Ongoing Orders(USER_DATA)
2628
+ * @summary Get Flexible Loan Ongoing Orders (USER_DATA)
2594
2629
  * @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
2595
2630
  *
2596
2631
  * @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
2597
2632
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2598
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
2633
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-ongoing-orders Binance API Documentation}
2599
2634
  */
2600
2635
  getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
2601
2636
  /**
2602
- * Get Flexible Loan Repayment History
2637
+ * Get Flexible Loan Repayment History. It can be used to check history before 2024-02-27 08:00.
2603
2638
  *
2604
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2605
- * The max interval between startTime and endTime is 180 days.
2639
+ * Weight(IP): 400
2606
2640
  *
2607
- * Weight: 400
2641
+ * Security Type: USER_DATA
2608
2642
  *
2609
- * @summary Get Flexible Loan Repayment History(USER_DATA)
2643
+ * Notes:
2644
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2645
+ * - The max interval between `startTime` and `endTime` is 180 days.
2646
+ *
2647
+ * @summary Get Flexible Loan Repayment History (USER_DATA)
2610
2648
  * @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
2611
2649
  *
2612
2650
  * @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
2613
2651
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2614
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
2652
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/flexible-rate#get-flexible-loan-repayment-history Binance API Documentation}
2615
2653
  */
2616
2654
  getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
2617
- /**
2618
- * Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
2619
- *
2620
- * Weight: 6000
2621
- *
2622
- * @summary Check Collateral Repay Rate(USER_DATA)
2623
- * @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
2624
- *
2625
- * @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
2626
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2627
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
2628
- */
2629
- checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
2630
2655
  /**
2631
2656
  * Get Crypto Loans Income History
2632
2657
  *
2633
- * If startTime and endTime are not sent, the recent 7-day data will be returned.
2634
- * The max interval between startTime and endTime is 30 days.
2658
+ * Weight(UID): 6000
2635
2659
  *
2636
- * Weight: 6000
2660
+ * Security Type: USER_DATA
2637
2661
  *
2638
- * @summary Get Crypto Loans Income History(USER_DATA)
2662
+ * Notes:
2663
+ * - If `startTime` and `endTime` are both omitted, the most recent 7 days of data are returned.
2664
+ * - The maximum interval between `startTime` and `endTime` is 30 days.
2665
+ *
2666
+ * @summary Get Crypto Loans Income History (USER_DATA)
2639
2667
  * @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
2640
2668
  *
2641
2669
  * @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
2642
2670
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2643
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
2671
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/stable-rate#get-crypto-loans-income-history Binance API Documentation}
2644
2672
  */
2645
2673
  getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
2646
2674
  /**
2647
2675
  * Get Loan Borrow History
2648
2676
  *
2649
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2650
- * The max interval between startTime and endTime is 180 days.
2677
+ * Weight(IP): 400
2678
+ *
2679
+ * Security Type: USER_DATA
2651
2680
  *
2652
- * Weight: 400
2681
+ * Notes:
2682
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2683
+ * - The max interval between `startTime` and `endTime` is 180 days.
2653
2684
  *
2654
- * @summary Get Loan Borrow History(USER_DATA)
2685
+ * @summary Get Loan Borrow History (USER_DATA)
2655
2686
  * @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
2656
2687
  *
2657
2688
  * @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
2658
2689
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2659
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
2690
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/stable-rate#get-loan-borrow-history Binance API Documentation}
2660
2691
  */
2661
2692
  getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
2662
2693
  /**
2663
2694
  * Get Loan LTV Adjustment History
2664
2695
  *
2665
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2666
- * The max interval between startTime and endTime is 180 days.
2696
+ * Weight(IP): 400
2667
2697
  *
2668
- * Weight: 400
2698
+ * Security Type: USER_DATA
2669
2699
  *
2670
- * @summary Get Loan LTV Adjustment History(USER_DATA)
2700
+ * Notes:
2701
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2702
+ * - The max interval between `startTime` and `endTime` is 180 days.
2703
+ *
2704
+ * @summary Get Loan LTV Adjustment History (USER_DATA)
2671
2705
  * @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
2672
2706
  *
2673
2707
  * @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
2674
2708
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2675
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
2709
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/stable-rate#get-loan-ltv-adjustment-history Binance API Documentation}
2676
2710
  */
2677
2711
  getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
2678
2712
  /**
2679
2713
  * Get Loan Repayment History
2680
2714
  *
2681
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2682
- * The max interval between startTime and endTime is 180 days.
2715
+ * Weight(IP): 400
2716
+ *
2717
+ * Security Type: USER_DATA
2683
2718
  *
2684
- * Weight: 400
2719
+ * Notes:
2720
+ * - If `startTime` and `endTime` are not sent, the recent 90-day data is returned.
2721
+ * - The max interval between `startTime` and `endTime` is 180 days.
2685
2722
  *
2686
- * @summary Get Loan Repayment History(USER_DATA)
2723
+ * @summary Get Loan Repayment History (USER_DATA)
2687
2724
  * @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
2688
2725
  *
2689
2726
  * @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
2690
2727
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2691
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
2728
+ * @see {@link https://developers.binance.com/en/docs/catalog/investment-and-services-crypto-loan/api/rest-api/stable-rate#get-loan-repayment-history Binance API Documentation}
2692
2729
  */
2693
2730
  getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
2694
2731
  }
2695
2732
  declare namespace index_d_exports {
2696
- export { CheckCollateralRepayRateRequest, CheckCollateralRepayRateResponse, CheckCollateralRepayRateStableRateRequest, CheckCollateralRepayRateStableRateResponse, FlexibleLoanAdjustLtvRequest, FlexibleLoanAdjustLtvResponse, FlexibleLoanBorrowRequest, FlexibleLoanBorrowResponse, FlexibleLoanRepayRequest, FlexibleLoanRepayResponse, FlexibleRateApi, FlexibleRateApiInterface, GetCryptoLoansIncomeHistoryRequest, GetCryptoLoansIncomeHistoryResponse, GetCryptoLoansIncomeHistoryResponseInner, GetFlexibleLoanAssetsDataRequest, GetFlexibleLoanAssetsDataResponse, GetFlexibleLoanAssetsDataResponseRowsInner, GetFlexibleLoanBorrowHistoryRequest, GetFlexibleLoanBorrowHistoryResponse, GetFlexibleLoanBorrowHistoryResponseRowsInner, GetFlexibleLoanCollateralAssetsDataRequest, GetFlexibleLoanCollateralAssetsDataResponse, GetFlexibleLoanCollateralAssetsDataResponseRowsInner, GetFlexibleLoanInterestRateHistoryRequest, GetFlexibleLoanInterestRateHistoryResponse, GetFlexibleLoanInterestRateHistoryResponseRowsInner, GetFlexibleLoanLiquidationHistoryRequest, GetFlexibleLoanLiquidationHistoryResponse, GetFlexibleLoanLiquidationHistoryResponseRowsInner, GetFlexibleLoanLtvAdjustmentHistoryRequest, GetFlexibleLoanLtvAdjustmentHistoryResponse, GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner, GetFlexibleLoanOngoingOrdersRequest, GetFlexibleLoanOngoingOrdersResponse, GetFlexibleLoanOngoingOrdersResponseRowsInner, GetFlexibleLoanRepaymentHistoryRequest, GetFlexibleLoanRepaymentHistoryResponse, GetFlexibleLoanRepaymentHistoryResponseRowsInner, GetLoanBorrowHistoryRequest, GetLoanBorrowHistoryResponse, GetLoanBorrowHistoryResponseRowsInner, GetLoanLtvAdjustmentHistoryRequest, GetLoanLtvAdjustmentHistoryResponse, GetLoanLtvAdjustmentHistoryResponseRowsInner, GetLoanRepaymentHistoryRequest, GetLoanRepaymentHistoryResponse, GetLoanRepaymentHistoryResponseRowsInner, RestAPI, StableRateApi, StableRateApiInterface };
2733
+ export { CheckCollateralRepayRateRequest, CheckCollateralRepayRateResponse, FlexibleLoanAdjustLtvDirectionEnum, FlexibleLoanAdjustLtvRequest, FlexibleLoanAdjustLtvResponse, FlexibleLoanBorrowRequest, FlexibleLoanBorrowResponse, FlexibleLoanRepayRepaymentTypeEnum, FlexibleLoanRepayRequest, FlexibleLoanRepayResponse, FlexibleRateApi, FlexibleRateApiInterface, GetCryptoLoansIncomeHistoryRequest, GetCryptoLoansIncomeHistoryResponse, GetCryptoLoansIncomeHistoryResponseInner, GetCryptoLoansIncomeHistoryTypeEnum, GetFlexibleLoanAssetsDataRequest, GetFlexibleLoanAssetsDataResponse, GetFlexibleLoanAssetsDataResponseRowsInner, GetFlexibleLoanBorrowHistoryRequest, GetFlexibleLoanBorrowHistoryResponse, GetFlexibleLoanBorrowHistoryResponseRowsInner, GetFlexibleLoanCollateralAssetsDataRequest, GetFlexibleLoanCollateralAssetsDataResponse, GetFlexibleLoanCollateralAssetsDataResponseRowsInner, GetFlexibleLoanInterestRateHistoryRequest, GetFlexibleLoanInterestRateHistoryResponse, GetFlexibleLoanInterestRateHistoryResponseRowsInner, GetFlexibleLoanLiquidationHistoryRequest, GetFlexibleLoanLiquidationHistoryResponse, GetFlexibleLoanLiquidationHistoryResponseRowsInner, GetFlexibleLoanLtvAdjustmentHistoryRequest, GetFlexibleLoanLtvAdjustmentHistoryResponse, GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner, GetFlexibleLoanOngoingOrdersRequest, GetFlexibleLoanOngoingOrdersResponse, GetFlexibleLoanOngoingOrdersResponseRowsInner, GetFlexibleLoanRepaymentHistoryRequest, GetFlexibleLoanRepaymentHistoryResponse, GetFlexibleLoanRepaymentHistoryResponseRowsInner, GetLoanBorrowHistoryRequest, GetLoanBorrowHistoryResponse, GetLoanBorrowHistoryResponseRowsInner, GetLoanLtvAdjustmentHistoryRequest, GetLoanLtvAdjustmentHistoryResponse, GetLoanLtvAdjustmentHistoryResponseRowsInner, GetLoanRepaymentHistoryRequest, GetLoanRepaymentHistoryResponse, GetLoanRepaymentHistoryResponseRowsInner, RestAPI, StableRateApi, StableRateApiInterface };
2697
2734
  }
2698
2735
  //#endregion
2699
2736
  //#region src/crypto-loan.d.ts