@binance/crypto-loan 9.0.14 → 10.0.0

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