@binance/crypto-loan 8.0.1 → 8.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,9 @@
1
- import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
2
- export { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
1
+ import { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, ConfigurationRestAPI, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, RestApiResponse, ServerError, TooManyRequestsError, UnauthorizedError } from "@binance/common";
3
2
 
3
+ //#region rolldown:runtime
4
+
5
+ //#endregion
6
+ //#region src/rest-api/types/check-collateral-repay-rate-response.d.ts
4
7
  /**
5
8
  * Binance Crypto Loan REST API
6
9
  *
@@ -19,26 +22,27 @@ export { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, ConnectorClientError, F
19
22
  * @interface CheckCollateralRepayRateResponse
20
23
  */
21
24
  interface CheckCollateralRepayRateResponse {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof CheckCollateralRepayRateResponse
26
- */
27
- loanCoin?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof CheckCollateralRepayRateResponse
32
- */
33
- collateralCoin?: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof CheckCollateralRepayRateResponse
38
- */
39
- rate?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CheckCollateralRepayRateResponse
29
+ */
30
+ loanCoin?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof CheckCollateralRepayRateResponse
35
+ */
36
+ collateralCoin?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof CheckCollateralRepayRateResponse
41
+ */
42
+ rate?: string;
40
43
  }
41
-
44
+ //#endregion
45
+ //#region src/rest-api/types/check-collateral-repay-rate-stable-rate-response.d.ts
42
46
  /**
43
47
  * Binance Crypto Loan REST API
44
48
  *
@@ -57,32 +61,33 @@ interface CheckCollateralRepayRateResponse {
57
61
  * @interface CheckCollateralRepayRateStableRateResponse
58
62
  */
59
63
  interface CheckCollateralRepayRateStableRateResponse {
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof CheckCollateralRepayRateStableRateResponse
64
- */
65
- loanlCoin?: string;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof CheckCollateralRepayRateStableRateResponse
70
- */
71
- collateralCoin?: string;
72
- /**
73
- *
74
- * @type {string}
75
- * @memberof CheckCollateralRepayRateStableRateResponse
76
- */
77
- repayAmount?: string;
78
- /**
79
- *
80
- * @type {string}
81
- * @memberof CheckCollateralRepayRateStableRateResponse
82
- */
83
- rate?: string;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof CheckCollateralRepayRateStableRateResponse
68
+ */
69
+ loanlCoin?: string;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof CheckCollateralRepayRateStableRateResponse
74
+ */
75
+ collateralCoin?: string;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof CheckCollateralRepayRateStableRateResponse
80
+ */
81
+ repayAmount?: string;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof CheckCollateralRepayRateStableRateResponse
86
+ */
87
+ rate?: string;
84
88
  }
85
-
89
+ //#endregion
90
+ //#region src/rest-api/types/flexible-loan-adjust-ltv-response.d.ts
86
91
  /**
87
92
  * Binance Crypto Loan REST API
88
93
  *
@@ -101,44 +106,45 @@ interface CheckCollateralRepayRateStableRateResponse {
101
106
  * @interface FlexibleLoanAdjustLtvResponse
102
107
  */
103
108
  interface FlexibleLoanAdjustLtvResponse {
104
- /**
105
- *
106
- * @type {string}
107
- * @memberof FlexibleLoanAdjustLtvResponse
108
- */
109
- loanCoin?: string;
110
- /**
111
- *
112
- * @type {string}
113
- * @memberof FlexibleLoanAdjustLtvResponse
114
- */
115
- collateralCoin?: string;
116
- /**
117
- *
118
- * @type {string}
119
- * @memberof FlexibleLoanAdjustLtvResponse
120
- */
121
- direction?: string;
122
- /**
123
- *
124
- * @type {string}
125
- * @memberof FlexibleLoanAdjustLtvResponse
126
- */
127
- adjustmentAmount?: string;
128
- /**
129
- *
130
- * @type {string}
131
- * @memberof FlexibleLoanAdjustLtvResponse
132
- */
133
- currentLTV?: string;
134
- /**
135
- *
136
- * @type {string}
137
- * @memberof FlexibleLoanAdjustLtvResponse
138
- */
139
- status?: string;
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof FlexibleLoanAdjustLtvResponse
113
+ */
114
+ loanCoin?: string;
115
+ /**
116
+ *
117
+ * @type {string}
118
+ * @memberof FlexibleLoanAdjustLtvResponse
119
+ */
120
+ collateralCoin?: string;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof FlexibleLoanAdjustLtvResponse
125
+ */
126
+ direction?: string;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof FlexibleLoanAdjustLtvResponse
131
+ */
132
+ adjustmentAmount?: string;
133
+ /**
134
+ *
135
+ * @type {string}
136
+ * @memberof FlexibleLoanAdjustLtvResponse
137
+ */
138
+ currentLTV?: string;
139
+ /**
140
+ *
141
+ * @type {string}
142
+ * @memberof FlexibleLoanAdjustLtvResponse
143
+ */
144
+ status?: string;
140
145
  }
141
-
146
+ //#endregion
147
+ //#region src/rest-api/types/flexible-loan-borrow-response.d.ts
142
148
  /**
143
149
  * Binance Crypto Loan REST API
144
150
  *
@@ -157,38 +163,39 @@ interface FlexibleLoanAdjustLtvResponse {
157
163
  * @interface FlexibleLoanBorrowResponse
158
164
  */
159
165
  interface FlexibleLoanBorrowResponse {
160
- /**
161
- *
162
- * @type {string}
163
- * @memberof FlexibleLoanBorrowResponse
164
- */
165
- loanCoin?: string;
166
- /**
167
- *
168
- * @type {string}
169
- * @memberof FlexibleLoanBorrowResponse
170
- */
171
- loanAmount?: string;
172
- /**
173
- *
174
- * @type {string}
175
- * @memberof FlexibleLoanBorrowResponse
176
- */
177
- collateralCoin?: string;
178
- /**
179
- *
180
- * @type {string}
181
- * @memberof FlexibleLoanBorrowResponse
182
- */
183
- collateralAmount?: string;
184
- /**
185
- *
186
- * @type {string}
187
- * @memberof FlexibleLoanBorrowResponse
188
- */
189
- status?: string;
166
+ /**
167
+ *
168
+ * @type {string}
169
+ * @memberof FlexibleLoanBorrowResponse
170
+ */
171
+ loanCoin?: string;
172
+ /**
173
+ *
174
+ * @type {string}
175
+ * @memberof FlexibleLoanBorrowResponse
176
+ */
177
+ loanAmount?: string;
178
+ /**
179
+ *
180
+ * @type {string}
181
+ * @memberof FlexibleLoanBorrowResponse
182
+ */
183
+ collateralCoin?: string;
184
+ /**
185
+ *
186
+ * @type {string}
187
+ * @memberof FlexibleLoanBorrowResponse
188
+ */
189
+ collateralAmount?: string;
190
+ /**
191
+ *
192
+ * @type {string}
193
+ * @memberof FlexibleLoanBorrowResponse
194
+ */
195
+ status?: string;
190
196
  }
191
-
197
+ //#endregion
198
+ //#region src/rest-api/types/flexible-loan-repay-response.d.ts
192
199
  /**
193
200
  * Binance Crypto Loan REST API
194
201
  *
@@ -207,50 +214,51 @@ interface FlexibleLoanBorrowResponse {
207
214
  * @interface FlexibleLoanRepayResponse
208
215
  */
209
216
  interface FlexibleLoanRepayResponse {
210
- /**
211
- *
212
- * @type {string}
213
- * @memberof FlexibleLoanRepayResponse
214
- */
215
- loanCoin?: string;
216
- /**
217
- *
218
- * @type {string}
219
- * @memberof FlexibleLoanRepayResponse
220
- */
221
- collateralCoin?: string;
222
- /**
223
- *
224
- * @type {string}
225
- * @memberof FlexibleLoanRepayResponse
226
- */
227
- remainingDebt?: string;
228
- /**
229
- *
230
- * @type {string}
231
- * @memberof FlexibleLoanRepayResponse
232
- */
233
- remainingCollateral?: string;
234
- /**
235
- *
236
- * @type {boolean}
237
- * @memberof FlexibleLoanRepayResponse
238
- */
239
- fullRepayment?: boolean;
240
- /**
241
- *
242
- * @type {string}
243
- * @memberof FlexibleLoanRepayResponse
244
- */
245
- currentLTV?: string;
246
- /**
247
- *
248
- * @type {string}
249
- * @memberof FlexibleLoanRepayResponse
250
- */
251
- repayStatus?: string;
217
+ /**
218
+ *
219
+ * @type {string}
220
+ * @memberof FlexibleLoanRepayResponse
221
+ */
222
+ loanCoin?: string;
223
+ /**
224
+ *
225
+ * @type {string}
226
+ * @memberof FlexibleLoanRepayResponse
227
+ */
228
+ collateralCoin?: string;
229
+ /**
230
+ *
231
+ * @type {string}
232
+ * @memberof FlexibleLoanRepayResponse
233
+ */
234
+ remainingDebt?: string;
235
+ /**
236
+ *
237
+ * @type {string}
238
+ * @memberof FlexibleLoanRepayResponse
239
+ */
240
+ remainingCollateral?: string;
241
+ /**
242
+ *
243
+ * @type {boolean}
244
+ * @memberof FlexibleLoanRepayResponse
245
+ */
246
+ fullRepayment?: boolean;
247
+ /**
248
+ *
249
+ * @type {string}
250
+ * @memberof FlexibleLoanRepayResponse
251
+ */
252
+ currentLTV?: string;
253
+ /**
254
+ *
255
+ * @type {string}
256
+ * @memberof FlexibleLoanRepayResponse
257
+ */
258
+ repayStatus?: string;
252
259
  }
253
-
260
+ //#endregion
261
+ //#region src/rest-api/types/get-crypto-loans-income-history-response-inner.d.ts
254
262
  /**
255
263
  * Binance Crypto Loan REST API
256
264
  *
@@ -269,59 +277,47 @@ interface FlexibleLoanRepayResponse {
269
277
  * @interface GetCryptoLoansIncomeHistoryResponseInner
270
278
  */
271
279
  interface GetCryptoLoansIncomeHistoryResponseInner {
272
- /**
273
- *
274
- * @type {string}
275
- * @memberof GetCryptoLoansIncomeHistoryResponseInner
276
- */
277
- asset?: string;
278
- /**
279
- *
280
- * @type {string}
281
- * @memberof GetCryptoLoansIncomeHistoryResponseInner
282
- */
283
- type?: string;
284
- /**
285
- *
286
- * @type {string}
287
- * @memberof GetCryptoLoansIncomeHistoryResponseInner
288
- */
289
- amount?: string;
290
- /**
291
- *
292
- * @type {number | bigint}
293
- * @memberof GetCryptoLoansIncomeHistoryResponseInner
294
- */
295
- timestamp?: number | bigint;
296
- /**
297
- *
298
- * @type {string}
299
- * @memberof GetCryptoLoansIncomeHistoryResponseInner
300
- */
301
- tranId?: string;
280
+ /**
281
+ *
282
+ * @type {string}
283
+ * @memberof GetCryptoLoansIncomeHistoryResponseInner
284
+ */
285
+ asset?: string;
286
+ /**
287
+ *
288
+ * @type {string}
289
+ * @memberof GetCryptoLoansIncomeHistoryResponseInner
290
+ */
291
+ type?: string;
292
+ /**
293
+ *
294
+ * @type {string}
295
+ * @memberof GetCryptoLoansIncomeHistoryResponseInner
296
+ */
297
+ amount?: string;
298
+ /**
299
+ *
300
+ * @type {number | bigint}
301
+ * @memberof GetCryptoLoansIncomeHistoryResponseInner
302
+ */
303
+ timestamp?: number | bigint;
304
+ /**
305
+ *
306
+ * @type {string}
307
+ * @memberof GetCryptoLoansIncomeHistoryResponseInner
308
+ */
309
+ tranId?: string;
302
310
  }
303
-
304
- /**
305
- * Binance Crypto Loan REST API
306
- *
307
- * OpenAPI Specification for the Binance Crypto Loan REST API
308
- *
309
- * The version of the OpenAPI document: 1.0.0
310
- *
311
- *
312
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
313
- * https://openapi-generator.tech
314
- * Do not edit the class manually.
315
- */
316
-
311
+ //#endregion
312
+ //#region src/rest-api/types/get-crypto-loans-income-history-response.d.ts
317
313
  /**
318
314
  *
319
315
  * @export
320
316
  * @interface GetCryptoLoansIncomeHistoryResponse
321
317
  */
322
- interface GetCryptoLoansIncomeHistoryResponse extends Array<GetCryptoLoansIncomeHistoryResponseInner> {
323
- }
324
-
318
+ interface GetCryptoLoansIncomeHistoryResponse extends Array<GetCryptoLoansIncomeHistoryResponseInner> {}
319
+ //#endregion
320
+ //#region src/rest-api/types/get-flexible-loan-assets-data-response-rows-inner.d.ts
325
321
  /**
326
322
  * Binance Crypto Loan REST API
327
323
  *
@@ -340,65 +336,54 @@ interface GetCryptoLoansIncomeHistoryResponse extends Array<GetCryptoLoansIncome
340
336
  * @interface GetFlexibleLoanAssetsDataResponseRowsInner
341
337
  */
342
338
  interface GetFlexibleLoanAssetsDataResponseRowsInner {
343
- /**
344
- *
345
- * @type {string}
346
- * @memberof GetFlexibleLoanAssetsDataResponseRowsInner
347
- */
348
- loanCoin?: string;
349
- /**
350
- *
351
- * @type {string}
352
- * @memberof GetFlexibleLoanAssetsDataResponseRowsInner
353
- */
354
- flexibleInterestRate?: string;
355
- /**
356
- *
357
- * @type {string}
358
- * @memberof GetFlexibleLoanAssetsDataResponseRowsInner
359
- */
360
- flexibleMinLimit?: string;
361
- /**
362
- *
363
- * @type {string}
364
- * @memberof GetFlexibleLoanAssetsDataResponseRowsInner
365
- */
366
- flexibleMaxLimit?: string;
339
+ /**
340
+ *
341
+ * @type {string}
342
+ * @memberof GetFlexibleLoanAssetsDataResponseRowsInner
343
+ */
344
+ loanCoin?: string;
345
+ /**
346
+ *
347
+ * @type {string}
348
+ * @memberof GetFlexibleLoanAssetsDataResponseRowsInner
349
+ */
350
+ flexibleInterestRate?: string;
351
+ /**
352
+ *
353
+ * @type {string}
354
+ * @memberof GetFlexibleLoanAssetsDataResponseRowsInner
355
+ */
356
+ flexibleMinLimit?: string;
357
+ /**
358
+ *
359
+ * @type {string}
360
+ * @memberof GetFlexibleLoanAssetsDataResponseRowsInner
361
+ */
362
+ flexibleMaxLimit?: string;
367
363
  }
368
-
369
- /**
370
- * Binance Crypto Loan REST API
371
- *
372
- * OpenAPI Specification for the Binance Crypto Loan REST API
373
- *
374
- * The version of the OpenAPI document: 1.0.0
375
- *
376
- *
377
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
378
- * https://openapi-generator.tech
379
- * Do not edit the class manually.
380
- */
381
-
364
+ //#endregion
365
+ //#region src/rest-api/types/get-flexible-loan-assets-data-response.d.ts
382
366
  /**
383
367
  *
384
368
  * @export
385
369
  * @interface GetFlexibleLoanAssetsDataResponse
386
370
  */
387
371
  interface GetFlexibleLoanAssetsDataResponse {
388
- /**
389
- *
390
- * @type {Array<GetFlexibleLoanAssetsDataResponseRowsInner>}
391
- * @memberof GetFlexibleLoanAssetsDataResponse
392
- */
393
- rows?: Array<GetFlexibleLoanAssetsDataResponseRowsInner>;
394
- /**
395
- *
396
- * @type {number | bigint}
397
- * @memberof GetFlexibleLoanAssetsDataResponse
398
- */
399
- total?: number | bigint;
372
+ /**
373
+ *
374
+ * @type {Array<GetFlexibleLoanAssetsDataResponseRowsInner>}
375
+ * @memberof GetFlexibleLoanAssetsDataResponse
376
+ */
377
+ rows?: Array<GetFlexibleLoanAssetsDataResponseRowsInner>;
378
+ /**
379
+ *
380
+ * @type {number | bigint}
381
+ * @memberof GetFlexibleLoanAssetsDataResponse
382
+ */
383
+ total?: number | bigint;
400
384
  }
401
-
385
+ //#endregion
386
+ //#region src/rest-api/types/get-flexible-loan-borrow-history-response-rows-inner.d.ts
402
387
  /**
403
388
  * Binance Crypto Loan REST API
404
389
  *
@@ -417,77 +402,66 @@ interface GetFlexibleLoanAssetsDataResponse {
417
402
  * @interface GetFlexibleLoanBorrowHistoryResponseRowsInner
418
403
  */
419
404
  interface GetFlexibleLoanBorrowHistoryResponseRowsInner {
420
- /**
421
- *
422
- * @type {string}
423
- * @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
424
- */
425
- loanCoin?: string;
426
- /**
427
- *
428
- * @type {string}
429
- * @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
430
- */
431
- initialLoanAmount?: string;
432
- /**
433
- *
434
- * @type {string}
435
- * @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
436
- */
437
- collateralCoin?: string;
438
- /**
439
- *
440
- * @type {string}
441
- * @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
442
- */
443
- initialCollateralAmount?: string;
444
- /**
445
- *
446
- * @type {number | bigint}
447
- * @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
448
- */
449
- borrowTime?: number | bigint;
450
- /**
451
- *
452
- * @type {string}
453
- * @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
454
- */
455
- status?: string;
405
+ /**
406
+ *
407
+ * @type {string}
408
+ * @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
409
+ */
410
+ loanCoin?: string;
411
+ /**
412
+ *
413
+ * @type {string}
414
+ * @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
415
+ */
416
+ initialLoanAmount?: string;
417
+ /**
418
+ *
419
+ * @type {string}
420
+ * @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
421
+ */
422
+ collateralCoin?: string;
423
+ /**
424
+ *
425
+ * @type {string}
426
+ * @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
427
+ */
428
+ initialCollateralAmount?: string;
429
+ /**
430
+ *
431
+ * @type {number | bigint}
432
+ * @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
433
+ */
434
+ borrowTime?: number | bigint;
435
+ /**
436
+ *
437
+ * @type {string}
438
+ * @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
439
+ */
440
+ status?: string;
456
441
  }
457
-
458
- /**
459
- * Binance Crypto Loan REST API
460
- *
461
- * OpenAPI Specification for the Binance Crypto Loan REST API
462
- *
463
- * The version of the OpenAPI document: 1.0.0
464
- *
465
- *
466
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
467
- * https://openapi-generator.tech
468
- * Do not edit the class manually.
469
- */
470
-
442
+ //#endregion
443
+ //#region src/rest-api/types/get-flexible-loan-borrow-history-response.d.ts
471
444
  /**
472
445
  *
473
446
  * @export
474
447
  * @interface GetFlexibleLoanBorrowHistoryResponse
475
448
  */
476
449
  interface GetFlexibleLoanBorrowHistoryResponse {
477
- /**
478
- *
479
- * @type {Array<GetFlexibleLoanBorrowHistoryResponseRowsInner>}
480
- * @memberof GetFlexibleLoanBorrowHistoryResponse
481
- */
482
- rows?: Array<GetFlexibleLoanBorrowHistoryResponseRowsInner>;
483
- /**
484
- *
485
- * @type {number | bigint}
486
- * @memberof GetFlexibleLoanBorrowHistoryResponse
487
- */
488
- total?: number | bigint;
450
+ /**
451
+ *
452
+ * @type {Array<GetFlexibleLoanBorrowHistoryResponseRowsInner>}
453
+ * @memberof GetFlexibleLoanBorrowHistoryResponse
454
+ */
455
+ rows?: Array<GetFlexibleLoanBorrowHistoryResponseRowsInner>;
456
+ /**
457
+ *
458
+ * @type {number | bigint}
459
+ * @memberof GetFlexibleLoanBorrowHistoryResponse
460
+ */
461
+ total?: number | bigint;
489
462
  }
490
-
463
+ //#endregion
464
+ //#region src/rest-api/types/get-flexible-loan-collateral-assets-data-response-rows-inner.d.ts
491
465
  /**
492
466
  * Binance Crypto Loan REST API
493
467
  *
@@ -506,71 +480,60 @@ interface GetFlexibleLoanBorrowHistoryResponse {
506
480
  * @interface GetFlexibleLoanCollateralAssetsDataResponseRowsInner
507
481
  */
508
482
  interface GetFlexibleLoanCollateralAssetsDataResponseRowsInner {
509
- /**
510
- *
511
- * @type {string}
512
- * @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
513
- */
514
- collateralCoin?: string;
515
- /**
516
- *
517
- * @type {string}
518
- * @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
519
- */
520
- initialLTV?: string;
521
- /**
522
- *
523
- * @type {string}
524
- * @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
525
- */
526
- marginCallLTV?: string;
527
- /**
528
- *
529
- * @type {string}
530
- * @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
531
- */
532
- liquidationLTV?: string;
533
- /**
534
- *
535
- * @type {string}
536
- * @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
537
- */
538
- maxLimit?: string;
483
+ /**
484
+ *
485
+ * @type {string}
486
+ * @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
487
+ */
488
+ collateralCoin?: string;
489
+ /**
490
+ *
491
+ * @type {string}
492
+ * @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
493
+ */
494
+ initialLTV?: string;
495
+ /**
496
+ *
497
+ * @type {string}
498
+ * @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
499
+ */
500
+ marginCallLTV?: string;
501
+ /**
502
+ *
503
+ * @type {string}
504
+ * @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
505
+ */
506
+ liquidationLTV?: string;
507
+ /**
508
+ *
509
+ * @type {string}
510
+ * @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
511
+ */
512
+ maxLimit?: string;
539
513
  }
540
-
541
- /**
542
- * Binance Crypto Loan REST API
543
- *
544
- * OpenAPI Specification for the Binance Crypto Loan REST API
545
- *
546
- * The version of the OpenAPI document: 1.0.0
547
- *
548
- *
549
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
550
- * https://openapi-generator.tech
551
- * Do not edit the class manually.
552
- */
553
-
514
+ //#endregion
515
+ //#region src/rest-api/types/get-flexible-loan-collateral-assets-data-response.d.ts
554
516
  /**
555
517
  *
556
518
  * @export
557
519
  * @interface GetFlexibleLoanCollateralAssetsDataResponse
558
520
  */
559
521
  interface GetFlexibleLoanCollateralAssetsDataResponse {
560
- /**
561
- *
562
- * @type {Array<GetFlexibleLoanCollateralAssetsDataResponseRowsInner>}
563
- * @memberof GetFlexibleLoanCollateralAssetsDataResponse
564
- */
565
- rows?: Array<GetFlexibleLoanCollateralAssetsDataResponseRowsInner>;
566
- /**
567
- *
568
- * @type {number | bigint}
569
- * @memberof GetFlexibleLoanCollateralAssetsDataResponse
570
- */
571
- total?: number | bigint;
522
+ /**
523
+ *
524
+ * @type {Array<GetFlexibleLoanCollateralAssetsDataResponseRowsInner>}
525
+ * @memberof GetFlexibleLoanCollateralAssetsDataResponse
526
+ */
527
+ rows?: Array<GetFlexibleLoanCollateralAssetsDataResponseRowsInner>;
528
+ /**
529
+ *
530
+ * @type {number | bigint}
531
+ * @memberof GetFlexibleLoanCollateralAssetsDataResponse
532
+ */
533
+ total?: number | bigint;
572
534
  }
573
-
535
+ //#endregion
536
+ //#region src/rest-api/types/get-flexible-loan-liquidation-history-response-rows-inner.d.ts
574
537
  /**
575
538
  * Binance Crypto Loan REST API
576
539
  *
@@ -589,95 +552,84 @@ interface GetFlexibleLoanCollateralAssetsDataResponse {
589
552
  * @interface GetFlexibleLoanLiquidationHistoryResponseRowsInner
590
553
  */
591
554
  interface GetFlexibleLoanLiquidationHistoryResponseRowsInner {
592
- /**
593
- *
594
- * @type {string}
595
- * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
596
- */
597
- loanCoin?: string;
598
- /**
599
- *
600
- * @type {string}
601
- * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
602
- */
603
- liquidationDebt?: string;
604
- /**
605
- *
606
- * @type {string}
607
- * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
608
- */
609
- collateralCoin?: string;
610
- /**
611
- *
612
- * @type {string}
613
- * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
614
- */
615
- liquidationCollateralAmount?: string;
616
- /**
617
- *
618
- * @type {string}
619
- * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
620
- */
621
- returnCollateralAmount?: string;
622
- /**
623
- *
624
- * @type {string}
625
- * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
626
- */
627
- liquidationFee?: string;
628
- /**
629
- *
630
- * @type {string}
631
- * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
632
- */
633
- liquidationStartingPrice?: string;
634
- /**
635
- *
636
- * @type {number | bigint}
637
- * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
638
- */
639
- liquidationStartingTime?: number | bigint;
640
- /**
641
- *
642
- * @type {string}
643
- * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
644
- */
645
- status?: string;
555
+ /**
556
+ *
557
+ * @type {string}
558
+ * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
559
+ */
560
+ loanCoin?: string;
561
+ /**
562
+ *
563
+ * @type {string}
564
+ * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
565
+ */
566
+ liquidationDebt?: string;
567
+ /**
568
+ *
569
+ * @type {string}
570
+ * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
571
+ */
572
+ collateralCoin?: string;
573
+ /**
574
+ *
575
+ * @type {string}
576
+ * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
577
+ */
578
+ liquidationCollateralAmount?: string;
579
+ /**
580
+ *
581
+ * @type {string}
582
+ * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
583
+ */
584
+ returnCollateralAmount?: string;
585
+ /**
586
+ *
587
+ * @type {string}
588
+ * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
589
+ */
590
+ liquidationFee?: string;
591
+ /**
592
+ *
593
+ * @type {string}
594
+ * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
595
+ */
596
+ liquidationStartingPrice?: string;
597
+ /**
598
+ *
599
+ * @type {number | bigint}
600
+ * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
601
+ */
602
+ liquidationStartingTime?: number | bigint;
603
+ /**
604
+ *
605
+ * @type {string}
606
+ * @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
607
+ */
608
+ status?: string;
646
609
  }
647
-
648
- /**
649
- * Binance Crypto Loan REST API
650
- *
651
- * OpenAPI Specification for the Binance Crypto Loan REST API
652
- *
653
- * The version of the OpenAPI document: 1.0.0
654
- *
655
- *
656
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
657
- * https://openapi-generator.tech
658
- * Do not edit the class manually.
659
- */
660
-
610
+ //#endregion
611
+ //#region src/rest-api/types/get-flexible-loan-liquidation-history-response.d.ts
661
612
  /**
662
613
  *
663
614
  * @export
664
615
  * @interface GetFlexibleLoanLiquidationHistoryResponse
665
616
  */
666
617
  interface GetFlexibleLoanLiquidationHistoryResponse {
667
- /**
668
- *
669
- * @type {Array<GetFlexibleLoanLiquidationHistoryResponseRowsInner>}
670
- * @memberof GetFlexibleLoanLiquidationHistoryResponse
671
- */
672
- rows?: Array<GetFlexibleLoanLiquidationHistoryResponseRowsInner>;
673
- /**
674
- *
675
- * @type {number | bigint}
676
- * @memberof GetFlexibleLoanLiquidationHistoryResponse
677
- */
678
- total?: number | bigint;
618
+ /**
619
+ *
620
+ * @type {Array<GetFlexibleLoanLiquidationHistoryResponseRowsInner>}
621
+ * @memberof GetFlexibleLoanLiquidationHistoryResponse
622
+ */
623
+ rows?: Array<GetFlexibleLoanLiquidationHistoryResponseRowsInner>;
624
+ /**
625
+ *
626
+ * @type {number | bigint}
627
+ * @memberof GetFlexibleLoanLiquidationHistoryResponse
628
+ */
629
+ total?: number | bigint;
679
630
  }
680
-
631
+ //#endregion
632
+ //#region src/rest-api/types/get-flexible-loan-ltv-adjustment-history-response-rows-inner.d.ts
681
633
  /**
682
634
  * Binance Crypto Loan REST API
683
635
  *
@@ -696,83 +648,72 @@ interface GetFlexibleLoanLiquidationHistoryResponse {
696
648
  * @interface GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
697
649
  */
698
650
  interface GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner {
699
- /**
700
- *
701
- * @type {string}
702
- * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
703
- */
704
- loanCoin?: string;
705
- /**
706
- *
707
- * @type {string}
708
- * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
709
- */
710
- collateralCoin?: string;
711
- /**
712
- *
713
- * @type {string}
714
- * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
715
- */
716
- direction?: string;
717
- /**
718
- *
719
- * @type {string}
720
- * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
721
- */
722
- collateralAmount?: string;
723
- /**
724
- *
725
- * @type {string}
726
- * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
727
- */
728
- preLTV?: string;
729
- /**
730
- *
731
- * @type {string}
732
- * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
733
- */
734
- afterLTV?: string;
735
- /**
736
- *
737
- * @type {number | bigint}
738
- * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
739
- */
740
- adjustTime?: number | bigint;
651
+ /**
652
+ *
653
+ * @type {string}
654
+ * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
655
+ */
656
+ loanCoin?: string;
657
+ /**
658
+ *
659
+ * @type {string}
660
+ * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
661
+ */
662
+ collateralCoin?: string;
663
+ /**
664
+ *
665
+ * @type {string}
666
+ * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
667
+ */
668
+ direction?: string;
669
+ /**
670
+ *
671
+ * @type {string}
672
+ * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
673
+ */
674
+ collateralAmount?: string;
675
+ /**
676
+ *
677
+ * @type {string}
678
+ * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
679
+ */
680
+ preLTV?: string;
681
+ /**
682
+ *
683
+ * @type {string}
684
+ * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
685
+ */
686
+ afterLTV?: string;
687
+ /**
688
+ *
689
+ * @type {number | bigint}
690
+ * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
691
+ */
692
+ adjustTime?: number | bigint;
741
693
  }
742
-
743
- /**
744
- * Binance Crypto Loan REST API
745
- *
746
- * OpenAPI Specification for the Binance Crypto Loan REST API
747
- *
748
- * The version of the OpenAPI document: 1.0.0
749
- *
750
- *
751
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
752
- * https://openapi-generator.tech
753
- * Do not edit the class manually.
754
- */
755
-
694
+ //#endregion
695
+ //#region src/rest-api/types/get-flexible-loan-ltv-adjustment-history-response.d.ts
756
696
  /**
757
697
  *
758
698
  * @export
759
699
  * @interface GetFlexibleLoanLtvAdjustmentHistoryResponse
760
700
  */
761
701
  interface GetFlexibleLoanLtvAdjustmentHistoryResponse {
762
- /**
763
- *
764
- * @type {Array<GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner>}
765
- * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponse
766
- */
767
- rows?: Array<GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner>;
768
- /**
769
- *
770
- * @type {number | bigint}
771
- * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponse
772
- */
773
- total?: number | bigint;
702
+ /**
703
+ *
704
+ * @type {Array<GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner>}
705
+ * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponse
706
+ */
707
+ rows?: Array<GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner>;
708
+ /**
709
+ *
710
+ * @type {number | bigint}
711
+ * @memberof GetFlexibleLoanLtvAdjustmentHistoryResponse
712
+ */
713
+ total?: number | bigint;
774
714
  }
775
-
715
+ //#endregion
716
+ //#region src/rest-api/types/get-flexible-loan-ongoing-orders-response-rows-inner.d.ts
776
717
  /**
777
718
  * Binance Crypto Loan REST API
778
719
  *
@@ -791,71 +732,60 @@ interface GetFlexibleLoanLtvAdjustmentHistoryResponse {
791
732
  * @interface GetFlexibleLoanOngoingOrdersResponseRowsInner
792
733
  */
793
734
  interface GetFlexibleLoanOngoingOrdersResponseRowsInner {
794
- /**
795
- *
796
- * @type {string}
797
- * @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
798
- */
799
- loanCoin?: string;
800
- /**
801
- *
802
- * @type {string}
803
- * @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
804
- */
805
- totalDebt?: string;
806
- /**
807
- *
808
- * @type {string}
809
- * @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
810
- */
811
- collateralCoin?: string;
812
- /**
813
- *
814
- * @type {string}
815
- * @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
816
- */
817
- collateralAmount?: string;
818
- /**
819
- *
820
- * @type {string}
821
- * @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
822
- */
823
- currentLTV?: string;
735
+ /**
736
+ *
737
+ * @type {string}
738
+ * @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
739
+ */
740
+ loanCoin?: string;
741
+ /**
742
+ *
743
+ * @type {string}
744
+ * @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
745
+ */
746
+ totalDebt?: string;
747
+ /**
748
+ *
749
+ * @type {string}
750
+ * @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
751
+ */
752
+ collateralCoin?: string;
753
+ /**
754
+ *
755
+ * @type {string}
756
+ * @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
757
+ */
758
+ collateralAmount?: string;
759
+ /**
760
+ *
761
+ * @type {string}
762
+ * @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
763
+ */
764
+ currentLTV?: string;
824
765
  }
825
-
826
- /**
827
- * Binance Crypto Loan REST API
828
- *
829
- * OpenAPI Specification for the Binance Crypto Loan REST API
830
- *
831
- * The version of the OpenAPI document: 1.0.0
832
- *
833
- *
834
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
835
- * https://openapi-generator.tech
836
- * Do not edit the class manually.
837
- */
838
-
766
+ //#endregion
767
+ //#region src/rest-api/types/get-flexible-loan-ongoing-orders-response.d.ts
839
768
  /**
840
769
  *
841
770
  * @export
842
771
  * @interface GetFlexibleLoanOngoingOrdersResponse
843
772
  */
844
773
  interface GetFlexibleLoanOngoingOrdersResponse {
845
- /**
846
- *
847
- * @type {Array<GetFlexibleLoanOngoingOrdersResponseRowsInner>}
848
- * @memberof GetFlexibleLoanOngoingOrdersResponse
849
- */
850
- rows?: Array<GetFlexibleLoanOngoingOrdersResponseRowsInner>;
851
- /**
852
- *
853
- * @type {number | bigint}
854
- * @memberof GetFlexibleLoanOngoingOrdersResponse
855
- */
856
- total?: number | bigint;
774
+ /**
775
+ *
776
+ * @type {Array<GetFlexibleLoanOngoingOrdersResponseRowsInner>}
777
+ * @memberof GetFlexibleLoanOngoingOrdersResponse
778
+ */
779
+ rows?: Array<GetFlexibleLoanOngoingOrdersResponseRowsInner>;
780
+ /**
781
+ *
782
+ * @type {number | bigint}
783
+ * @memberof GetFlexibleLoanOngoingOrdersResponse
784
+ */
785
+ total?: number | bigint;
857
786
  }
858
-
787
+ //#endregion
788
+ //#region src/rest-api/types/get-flexible-loan-repayment-history-response-rows-inner.d.ts
859
789
  /**
860
790
  * Binance Crypto Loan REST API
861
791
  *
@@ -874,77 +804,66 @@ interface GetFlexibleLoanOngoingOrdersResponse {
874
804
  * @interface GetFlexibleLoanRepaymentHistoryResponseRowsInner
875
805
  */
876
806
  interface GetFlexibleLoanRepaymentHistoryResponseRowsInner {
877
- /**
878
- *
879
- * @type {string}
880
- * @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
881
- */
882
- loanCoin?: string;
883
- /**
884
- *
885
- * @type {string}
886
- * @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
887
- */
888
- repayAmount?: string;
889
- /**
890
- *
891
- * @type {string}
892
- * @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
893
- */
894
- collateralCoin?: string;
895
- /**
896
- *
897
- * @type {string}
898
- * @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
899
- */
900
- collateralReturn?: string;
901
- /**
902
- *
903
- * @type {string}
904
- * @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
905
- */
906
- repayStatus?: string;
907
- /**
908
- *
909
- * @type {number | bigint}
910
- * @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
911
- */
912
- repayTime?: number | bigint;
807
+ /**
808
+ *
809
+ * @type {string}
810
+ * @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
811
+ */
812
+ loanCoin?: string;
813
+ /**
814
+ *
815
+ * @type {string}
816
+ * @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
817
+ */
818
+ repayAmount?: string;
819
+ /**
820
+ *
821
+ * @type {string}
822
+ * @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
823
+ */
824
+ collateralCoin?: string;
825
+ /**
826
+ *
827
+ * @type {string}
828
+ * @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
829
+ */
830
+ collateralReturn?: string;
831
+ /**
832
+ *
833
+ * @type {string}
834
+ * @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
835
+ */
836
+ repayStatus?: string;
837
+ /**
838
+ *
839
+ * @type {number | bigint}
840
+ * @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
841
+ */
842
+ repayTime?: number | bigint;
913
843
  }
914
-
915
- /**
916
- * Binance Crypto Loan REST API
917
- *
918
- * OpenAPI Specification for the Binance Crypto Loan REST API
919
- *
920
- * The version of the OpenAPI document: 1.0.0
921
- *
922
- *
923
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
924
- * https://openapi-generator.tech
925
- * Do not edit the class manually.
926
- */
927
-
844
+ //#endregion
845
+ //#region src/rest-api/types/get-flexible-loan-repayment-history-response.d.ts
928
846
  /**
929
847
  *
930
848
  * @export
931
849
  * @interface GetFlexibleLoanRepaymentHistoryResponse
932
850
  */
933
851
  interface GetFlexibleLoanRepaymentHistoryResponse {
934
- /**
935
- *
936
- * @type {Array<GetFlexibleLoanRepaymentHistoryResponseRowsInner>}
937
- * @memberof GetFlexibleLoanRepaymentHistoryResponse
938
- */
939
- rows?: Array<GetFlexibleLoanRepaymentHistoryResponseRowsInner>;
940
- /**
941
- *
942
- * @type {number | bigint}
943
- * @memberof GetFlexibleLoanRepaymentHistoryResponse
944
- */
945
- total?: number | bigint;
852
+ /**
853
+ *
854
+ * @type {Array<GetFlexibleLoanRepaymentHistoryResponseRowsInner>}
855
+ * @memberof GetFlexibleLoanRepaymentHistoryResponse
856
+ */
857
+ rows?: Array<GetFlexibleLoanRepaymentHistoryResponseRowsInner>;
858
+ /**
859
+ *
860
+ * @type {number | bigint}
861
+ * @memberof GetFlexibleLoanRepaymentHistoryResponse
862
+ */
863
+ total?: number | bigint;
946
864
  }
947
-
865
+ //#endregion
866
+ //#region src/rest-api/types/get-loan-borrow-history-response-rows-inner.d.ts
948
867
  /**
949
868
  * Binance Crypto Loan REST API
950
869
  *
@@ -963,95 +882,84 @@ interface GetFlexibleLoanRepaymentHistoryResponse {
963
882
  * @interface GetLoanBorrowHistoryResponseRowsInner
964
883
  */
965
884
  interface GetLoanBorrowHistoryResponseRowsInner {
966
- /**
967
- *
968
- * @type {number | bigint}
969
- * @memberof GetLoanBorrowHistoryResponseRowsInner
970
- */
971
- orderId?: number | bigint;
972
- /**
973
- *
974
- * @type {string}
975
- * @memberof GetLoanBorrowHistoryResponseRowsInner
976
- */
977
- loanCoin?: string;
978
- /**
979
- *
980
- * @type {string}
981
- * @memberof GetLoanBorrowHistoryResponseRowsInner
982
- */
983
- initialLoanAmount?: string;
984
- /**
985
- *
986
- * @type {string}
987
- * @memberof GetLoanBorrowHistoryResponseRowsInner
988
- */
989
- hourlyInterestRate?: string;
990
- /**
991
- *
992
- * @type {string}
993
- * @memberof GetLoanBorrowHistoryResponseRowsInner
994
- */
995
- loanTerm?: string;
996
- /**
997
- *
998
- * @type {string}
999
- * @memberof GetLoanBorrowHistoryResponseRowsInner
1000
- */
1001
- collateralCoin?: string;
1002
- /**
1003
- *
1004
- * @type {string}
1005
- * @memberof GetLoanBorrowHistoryResponseRowsInner
1006
- */
1007
- initialCollateralAmount?: string;
1008
- /**
1009
- *
1010
- * @type {number | bigint}
1011
- * @memberof GetLoanBorrowHistoryResponseRowsInner
1012
- */
1013
- borrowTime?: number | bigint;
1014
- /**
1015
- *
1016
- * @type {string}
1017
- * @memberof GetLoanBorrowHistoryResponseRowsInner
1018
- */
1019
- status?: string;
885
+ /**
886
+ *
887
+ * @type {number | bigint}
888
+ * @memberof GetLoanBorrowHistoryResponseRowsInner
889
+ */
890
+ orderId?: number | bigint;
891
+ /**
892
+ *
893
+ * @type {string}
894
+ * @memberof GetLoanBorrowHistoryResponseRowsInner
895
+ */
896
+ loanCoin?: string;
897
+ /**
898
+ *
899
+ * @type {string}
900
+ * @memberof GetLoanBorrowHistoryResponseRowsInner
901
+ */
902
+ initialLoanAmount?: string;
903
+ /**
904
+ *
905
+ * @type {string}
906
+ * @memberof GetLoanBorrowHistoryResponseRowsInner
907
+ */
908
+ hourlyInterestRate?: string;
909
+ /**
910
+ *
911
+ * @type {string}
912
+ * @memberof GetLoanBorrowHistoryResponseRowsInner
913
+ */
914
+ loanTerm?: string;
915
+ /**
916
+ *
917
+ * @type {string}
918
+ * @memberof GetLoanBorrowHistoryResponseRowsInner
919
+ */
920
+ collateralCoin?: string;
921
+ /**
922
+ *
923
+ * @type {string}
924
+ * @memberof GetLoanBorrowHistoryResponseRowsInner
925
+ */
926
+ initialCollateralAmount?: string;
927
+ /**
928
+ *
929
+ * @type {number | bigint}
930
+ * @memberof GetLoanBorrowHistoryResponseRowsInner
931
+ */
932
+ borrowTime?: number | bigint;
933
+ /**
934
+ *
935
+ * @type {string}
936
+ * @memberof GetLoanBorrowHistoryResponseRowsInner
937
+ */
938
+ status?: string;
1020
939
  }
1021
-
1022
- /**
1023
- * Binance Crypto Loan REST API
1024
- *
1025
- * OpenAPI Specification for the Binance Crypto Loan REST API
1026
- *
1027
- * The version of the OpenAPI document: 1.0.0
1028
- *
1029
- *
1030
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1031
- * https://openapi-generator.tech
1032
- * Do not edit the class manually.
1033
- */
1034
-
940
+ //#endregion
941
+ //#region src/rest-api/types/get-loan-borrow-history-response.d.ts
1035
942
  /**
1036
943
  *
1037
944
  * @export
1038
945
  * @interface GetLoanBorrowHistoryResponse
1039
946
  */
1040
947
  interface GetLoanBorrowHistoryResponse {
1041
- /**
1042
- *
1043
- * @type {Array<GetLoanBorrowHistoryResponseRowsInner>}
1044
- * @memberof GetLoanBorrowHistoryResponse
1045
- */
1046
- rows?: Array<GetLoanBorrowHistoryResponseRowsInner>;
1047
- /**
1048
- *
1049
- * @type {number | bigint}
1050
- * @memberof GetLoanBorrowHistoryResponse
1051
- */
1052
- total?: number | bigint;
948
+ /**
949
+ *
950
+ * @type {Array<GetLoanBorrowHistoryResponseRowsInner>}
951
+ * @memberof GetLoanBorrowHistoryResponse
952
+ */
953
+ rows?: Array<GetLoanBorrowHistoryResponseRowsInner>;
954
+ /**
955
+ *
956
+ * @type {number | bigint}
957
+ * @memberof GetLoanBorrowHistoryResponse
958
+ */
959
+ total?: number | bigint;
1053
960
  }
1054
-
961
+ //#endregion
962
+ //#region src/rest-api/types/get-loan-ltv-adjustment-history-response-rows-inner.d.ts
1055
963
  /**
1056
964
  * Binance Crypto Loan REST API
1057
965
  *
@@ -1070,89 +978,78 @@ interface GetLoanBorrowHistoryResponse {
1070
978
  * @interface GetLoanLtvAdjustmentHistoryResponseRowsInner
1071
979
  */
1072
980
  interface GetLoanLtvAdjustmentHistoryResponseRowsInner {
1073
- /**
1074
- *
1075
- * @type {string}
1076
- * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1077
- */
1078
- loanCoin?: string;
1079
- /**
1080
- *
1081
- * @type {string}
1082
- * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1083
- */
1084
- collateralCoin?: string;
1085
- /**
1086
- *
1087
- * @type {string}
1088
- * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1089
- */
1090
- direction?: string;
1091
- /**
1092
- *
1093
- * @type {string}
1094
- * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1095
- */
1096
- amount?: string;
1097
- /**
1098
- *
1099
- * @type {string}
1100
- * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1101
- */
1102
- preLTV?: string;
1103
- /**
1104
- *
1105
- * @type {string}
1106
- * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1107
- */
1108
- afterLTV?: string;
1109
- /**
1110
- *
1111
- * @type {number | bigint}
1112
- * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1113
- */
1114
- adjustTime?: number | bigint;
1115
- /**
1116
- *
1117
- * @type {number | bigint}
1118
- * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1119
- */
1120
- orderId?: number | bigint;
981
+ /**
982
+ *
983
+ * @type {string}
984
+ * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
985
+ */
986
+ loanCoin?: string;
987
+ /**
988
+ *
989
+ * @type {string}
990
+ * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
991
+ */
992
+ collateralCoin?: string;
993
+ /**
994
+ *
995
+ * @type {string}
996
+ * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
997
+ */
998
+ direction?: string;
999
+ /**
1000
+ *
1001
+ * @type {string}
1002
+ * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1003
+ */
1004
+ amount?: string;
1005
+ /**
1006
+ *
1007
+ * @type {string}
1008
+ * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1009
+ */
1010
+ preLTV?: string;
1011
+ /**
1012
+ *
1013
+ * @type {string}
1014
+ * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1015
+ */
1016
+ afterLTV?: string;
1017
+ /**
1018
+ *
1019
+ * @type {number | bigint}
1020
+ * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1021
+ */
1022
+ adjustTime?: number | bigint;
1023
+ /**
1024
+ *
1025
+ * @type {number | bigint}
1026
+ * @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
1027
+ */
1028
+ orderId?: number | bigint;
1121
1029
  }
1122
-
1123
- /**
1124
- * Binance Crypto Loan REST API
1125
- *
1126
- * OpenAPI Specification for the Binance Crypto Loan REST API
1127
- *
1128
- * The version of the OpenAPI document: 1.0.0
1129
- *
1130
- *
1131
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1132
- * https://openapi-generator.tech
1133
- * Do not edit the class manually.
1134
- */
1135
-
1030
+ //#endregion
1031
+ //#region src/rest-api/types/get-loan-ltv-adjustment-history-response.d.ts
1136
1032
  /**
1137
1033
  *
1138
1034
  * @export
1139
1035
  * @interface GetLoanLtvAdjustmentHistoryResponse
1140
1036
  */
1141
1037
  interface GetLoanLtvAdjustmentHistoryResponse {
1142
- /**
1143
- *
1144
- * @type {Array<GetLoanLtvAdjustmentHistoryResponseRowsInner>}
1145
- * @memberof GetLoanLtvAdjustmentHistoryResponse
1146
- */
1147
- rows?: Array<GetLoanLtvAdjustmentHistoryResponseRowsInner>;
1148
- /**
1149
- *
1150
- * @type {number | bigint}
1151
- * @memberof GetLoanLtvAdjustmentHistoryResponse
1152
- */
1153
- total?: number | bigint;
1038
+ /**
1039
+ *
1040
+ * @type {Array<GetLoanLtvAdjustmentHistoryResponseRowsInner>}
1041
+ * @memberof GetLoanLtvAdjustmentHistoryResponse
1042
+ */
1043
+ rows?: Array<GetLoanLtvAdjustmentHistoryResponseRowsInner>;
1044
+ /**
1045
+ *
1046
+ * @type {number | bigint}
1047
+ * @memberof GetLoanLtvAdjustmentHistoryResponse
1048
+ */
1049
+ total?: number | bigint;
1154
1050
  }
1155
-
1051
+ //#endregion
1052
+ //#region src/rest-api/types/get-loan-repayment-history-response-rows-inner.d.ts
1156
1053
  /**
1157
1054
  * Binance Crypto Loan REST API
1158
1055
  *
@@ -1171,1599 +1068,1488 @@ interface GetLoanLtvAdjustmentHistoryResponse {
1171
1068
  * @interface GetLoanRepaymentHistoryResponseRowsInner
1172
1069
  */
1173
1070
  interface GetLoanRepaymentHistoryResponseRowsInner {
1174
- /**
1175
- *
1176
- * @type {string}
1177
- * @memberof GetLoanRepaymentHistoryResponseRowsInner
1178
- */
1179
- loanCoin?: string;
1180
- /**
1181
- *
1182
- * @type {string}
1183
- * @memberof GetLoanRepaymentHistoryResponseRowsInner
1184
- */
1185
- repayAmount?: string;
1186
- /**
1187
- *
1188
- * @type {string}
1189
- * @memberof GetLoanRepaymentHistoryResponseRowsInner
1190
- */
1191
- collateralCoin?: string;
1192
- /**
1193
- *
1194
- * @type {string}
1195
- * @memberof GetLoanRepaymentHistoryResponseRowsInner
1196
- */
1197
- collateralUsed?: string;
1198
- /**
1199
- *
1200
- * @type {string}
1201
- * @memberof GetLoanRepaymentHistoryResponseRowsInner
1202
- */
1203
- collateralReturn?: string;
1204
- /**
1205
- *
1206
- * @type {string}
1207
- * @memberof GetLoanRepaymentHistoryResponseRowsInner
1208
- */
1209
- repayType?: string;
1210
- /**
1211
- *
1212
- * @type {string}
1213
- * @memberof GetLoanRepaymentHistoryResponseRowsInner
1214
- */
1215
- repayStatus?: string;
1216
- /**
1217
- *
1218
- * @type {number | bigint}
1219
- * @memberof GetLoanRepaymentHistoryResponseRowsInner
1220
- */
1221
- repayTime?: number | bigint;
1222
- /**
1223
- *
1224
- * @type {number | bigint}
1225
- * @memberof GetLoanRepaymentHistoryResponseRowsInner
1226
- */
1227
- orderId?: number | bigint;
1071
+ /**
1072
+ *
1073
+ * @type {string}
1074
+ * @memberof GetLoanRepaymentHistoryResponseRowsInner
1075
+ */
1076
+ loanCoin?: string;
1077
+ /**
1078
+ *
1079
+ * @type {string}
1080
+ * @memberof GetLoanRepaymentHistoryResponseRowsInner
1081
+ */
1082
+ repayAmount?: string;
1083
+ /**
1084
+ *
1085
+ * @type {string}
1086
+ * @memberof GetLoanRepaymentHistoryResponseRowsInner
1087
+ */
1088
+ collateralCoin?: string;
1089
+ /**
1090
+ *
1091
+ * @type {string}
1092
+ * @memberof GetLoanRepaymentHistoryResponseRowsInner
1093
+ */
1094
+ collateralUsed?: string;
1095
+ /**
1096
+ *
1097
+ * @type {string}
1098
+ * @memberof GetLoanRepaymentHistoryResponseRowsInner
1099
+ */
1100
+ collateralReturn?: string;
1101
+ /**
1102
+ *
1103
+ * @type {string}
1104
+ * @memberof GetLoanRepaymentHistoryResponseRowsInner
1105
+ */
1106
+ repayType?: string;
1107
+ /**
1108
+ *
1109
+ * @type {string}
1110
+ * @memberof GetLoanRepaymentHistoryResponseRowsInner
1111
+ */
1112
+ repayStatus?: string;
1113
+ /**
1114
+ *
1115
+ * @type {number | bigint}
1116
+ * @memberof GetLoanRepaymentHistoryResponseRowsInner
1117
+ */
1118
+ repayTime?: number | bigint;
1119
+ /**
1120
+ *
1121
+ * @type {number | bigint}
1122
+ * @memberof GetLoanRepaymentHistoryResponseRowsInner
1123
+ */
1124
+ orderId?: number | bigint;
1228
1125
  }
1229
-
1230
- /**
1231
- * Binance Crypto Loan REST API
1232
- *
1233
- * OpenAPI Specification for the Binance Crypto Loan REST API
1234
- *
1235
- * The version of the OpenAPI document: 1.0.0
1236
- *
1237
- *
1238
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1239
- * https://openapi-generator.tech
1240
- * Do not edit the class manually.
1241
- */
1242
-
1126
+ //#endregion
1127
+ //#region src/rest-api/types/get-loan-repayment-history-response.d.ts
1243
1128
  /**
1244
1129
  *
1245
1130
  * @export
1246
1131
  * @interface GetLoanRepaymentHistoryResponse
1247
1132
  */
1248
1133
  interface GetLoanRepaymentHistoryResponse {
1249
- /**
1250
- *
1251
- * @type {Array<GetLoanRepaymentHistoryResponseRowsInner>}
1252
- * @memberof GetLoanRepaymentHistoryResponse
1253
- */
1254
- rows?: Array<GetLoanRepaymentHistoryResponseRowsInner>;
1255
- /**
1256
- *
1257
- * @type {number | bigint}
1258
- * @memberof GetLoanRepaymentHistoryResponse
1259
- */
1260
- total?: number | bigint;
1134
+ /**
1135
+ *
1136
+ * @type {Array<GetLoanRepaymentHistoryResponseRowsInner>}
1137
+ * @memberof GetLoanRepaymentHistoryResponse
1138
+ */
1139
+ rows?: Array<GetLoanRepaymentHistoryResponseRowsInner>;
1140
+ /**
1141
+ *
1142
+ * @type {number | bigint}
1143
+ * @memberof GetLoanRepaymentHistoryResponse
1144
+ */
1145
+ total?: number | bigint;
1261
1146
  }
1262
-
1263
- /**
1264
- * Binance Crypto Loan REST API
1265
- *
1266
- * OpenAPI Specification for the Binance Crypto Loan REST API
1267
- *
1268
- * The version of the OpenAPI document: 1.0.0
1269
- *
1270
- *
1271
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1272
- * https://openapi-generator.tech
1273
- * Do not edit the class manually.
1274
- */
1275
-
1147
+ //#endregion
1148
+ //#region src/rest-api/modules/flexible-rate-api.d.ts
1276
1149
  /**
1277
1150
  * FlexibleRateApi - interface
1278
1151
  * @interface FlexibleRateApi
1279
1152
  */
1280
1153
  interface FlexibleRateApiInterface {
1281
- /**
1282
- *
1283
- * Weight: 6000
1284
- *
1285
- * @summary Check Collateral Repay Rate (USER_DATA)
1286
- * @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
1287
- *
1288
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1289
- * @memberof FlexibleRateApiInterface
1290
- */
1291
- checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
1292
- /**
1293
- * Flexible Loan Adjust LTV
1294
- *
1295
- * API Key needs Spot & Margin Trading permission for this endpoint
1296
- *
1297
- * Weight: 6000
1298
- *
1299
- * @summary Flexible Loan Adjust LTV(TRADE)
1300
- * @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
1301
- *
1302
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1303
- * @memberof FlexibleRateApiInterface
1304
- */
1305
- flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
1306
- /**
1307
- * Borrow Flexible Loan
1308
- *
1309
- *
1310
- * Only available for master account
1311
- * You can customize LTV by entering loanAmount and collateralAmount.
1312
- *
1313
- * Weight: 6000
1314
- *
1315
- * @summary Flexible Loan Borrow(TRADE)
1316
- * @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
1317
- *
1318
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1319
- * @memberof FlexibleRateApiInterface
1320
- */
1321
- flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
1322
- /**
1323
- * Flexible Loan Repay
1324
- *
1325
- *
1326
- * repayAmount is mandatory even fullRepayment = FALSE
1327
- *
1328
- * Weight: 6000
1329
- *
1330
- * @summary Flexible Loan Repay(TRADE)
1331
- * @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
1332
- *
1333
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1334
- * @memberof FlexibleRateApiInterface
1335
- */
1336
- flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
1337
- /**
1338
- * Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
1339
- *
1340
- * Weight: 400
1341
- *
1342
- * @summary Get Flexible Loan Assets Data(USER_DATA)
1343
- * @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
1344
- *
1345
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1346
- * @memberof FlexibleRateApiInterface
1347
- */
1348
- getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
1349
- /**
1350
- * Get Flexible Loan Borrow History
1351
- *
1352
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
1353
- * The max interval between startTime and endTime is 180 days.
1354
- *
1355
- * Weight: 400
1356
- *
1357
- * @summary Get Flexible Loan Borrow History(USER_DATA)
1358
- * @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
1359
- *
1360
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1361
- * @memberof FlexibleRateApiInterface
1362
- */
1363
- getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
1364
- /**
1365
- * Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
1366
- *
1367
- * Weight: 400
1368
- *
1369
- * @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
1370
- * @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
1371
- *
1372
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1373
- * @memberof FlexibleRateApiInterface
1374
- */
1375
- getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
1376
- /**
1377
- *
1378
- * Weight: 400
1379
- *
1380
- * @summary Get Flexible Loan Liquidation History (USER_DATA)
1381
- * @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
1382
- *
1383
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1384
- * @memberof FlexibleRateApiInterface
1385
- */
1386
- getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
1387
- /**
1388
- * Get Flexible Loan LTV Adjustment History
1389
- *
1390
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
1391
- * The max interval between startTime and endTime is 180 days.
1392
- *
1393
- * Weight: 400
1394
- *
1395
- * @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
1396
- * @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
1397
- *
1398
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1399
- * @memberof FlexibleRateApiInterface
1400
- */
1401
- getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
1402
- /**
1403
- * Get Flexible Loan Ongoing Orders
1404
- *
1405
- * Weight: 300
1406
- *
1407
- * @summary Get Flexible Loan Ongoing Orders(USER_DATA)
1408
- * @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
1409
- *
1410
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1411
- * @memberof FlexibleRateApiInterface
1412
- */
1413
- getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
1414
- /**
1415
- * Get Flexible Loan Repayment History
1416
- *
1417
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
1418
- * The max interval between startTime and endTime is 180 days.
1419
- *
1420
- * Weight: 400
1421
- *
1422
- * @summary Get Flexible Loan Repayment History(USER_DATA)
1423
- * @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
1424
- *
1425
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1426
- * @memberof FlexibleRateApiInterface
1427
- */
1428
- getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
1154
+ /**
1155
+ *
1156
+ * Weight: 6000
1157
+ *
1158
+ * @summary Check Collateral Repay Rate (USER_DATA)
1159
+ * @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
1160
+ *
1161
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1162
+ * @memberof FlexibleRateApiInterface
1163
+ */
1164
+ checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
1165
+ /**
1166
+ * Flexible Loan Adjust LTV
1167
+ *
1168
+ * API Key needs Spot & Margin Trading permission for this endpoint
1169
+ *
1170
+ * Weight: 6000
1171
+ *
1172
+ * @summary Flexible Loan Adjust LTV(TRADE)
1173
+ * @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
1174
+ *
1175
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1176
+ * @memberof FlexibleRateApiInterface
1177
+ */
1178
+ flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
1179
+ /**
1180
+ * Borrow Flexible Loan
1181
+ *
1182
+ *
1183
+ * Only available for master account
1184
+ * You can customize LTV by entering loanAmount and collateralAmount.
1185
+ *
1186
+ * Weight: 6000
1187
+ *
1188
+ * @summary Flexible Loan Borrow(TRADE)
1189
+ * @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
1190
+ *
1191
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1192
+ * @memberof FlexibleRateApiInterface
1193
+ */
1194
+ flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
1195
+ /**
1196
+ * Flexible Loan Repay
1197
+ *
1198
+ *
1199
+ * repayAmount is mandatory even fullRepayment = FALSE
1200
+ *
1201
+ * Weight: 6000
1202
+ *
1203
+ * @summary Flexible Loan Repay(TRADE)
1204
+ * @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
1205
+ *
1206
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1207
+ * @memberof FlexibleRateApiInterface
1208
+ */
1209
+ flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
1210
+ /**
1211
+ * Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
1212
+ *
1213
+ * Weight: 400
1214
+ *
1215
+ * @summary Get Flexible Loan Assets Data(USER_DATA)
1216
+ * @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
1217
+ *
1218
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1219
+ * @memberof FlexibleRateApiInterface
1220
+ */
1221
+ getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
1222
+ /**
1223
+ * Get Flexible Loan Borrow History
1224
+ *
1225
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
1226
+ * The max interval between startTime and endTime is 180 days.
1227
+ *
1228
+ * Weight: 400
1229
+ *
1230
+ * @summary Get Flexible Loan Borrow History(USER_DATA)
1231
+ * @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
1232
+ *
1233
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1234
+ * @memberof FlexibleRateApiInterface
1235
+ */
1236
+ getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
1237
+ /**
1238
+ * Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
1239
+ *
1240
+ * Weight: 400
1241
+ *
1242
+ * @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
1243
+ * @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
1244
+ *
1245
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1246
+ * @memberof FlexibleRateApiInterface
1247
+ */
1248
+ getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
1249
+ /**
1250
+ *
1251
+ * Weight: 400
1252
+ *
1253
+ * @summary Get Flexible Loan Liquidation History (USER_DATA)
1254
+ * @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
1255
+ *
1256
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1257
+ * @memberof FlexibleRateApiInterface
1258
+ */
1259
+ getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
1260
+ /**
1261
+ * Get Flexible Loan LTV Adjustment History
1262
+ *
1263
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
1264
+ * The max interval between startTime and endTime is 180 days.
1265
+ *
1266
+ * Weight: 400
1267
+ *
1268
+ * @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
1269
+ * @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
1270
+ *
1271
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1272
+ * @memberof FlexibleRateApiInterface
1273
+ */
1274
+ getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
1275
+ /**
1276
+ * Get Flexible Loan Ongoing Orders
1277
+ *
1278
+ * Weight: 300
1279
+ *
1280
+ * @summary Get Flexible Loan Ongoing Orders(USER_DATA)
1281
+ * @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
1282
+ *
1283
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1284
+ * @memberof FlexibleRateApiInterface
1285
+ */
1286
+ getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
1287
+ /**
1288
+ * Get Flexible Loan Repayment History
1289
+ *
1290
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
1291
+ * The max interval between startTime and endTime is 180 days.
1292
+ *
1293
+ * Weight: 400
1294
+ *
1295
+ * @summary Get Flexible Loan Repayment History(USER_DATA)
1296
+ * @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
1297
+ *
1298
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1299
+ * @memberof FlexibleRateApiInterface
1300
+ */
1301
+ getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
1429
1302
  }
1430
1303
  /**
1431
1304
  * Request parameters for checkCollateralRepayRate operation in FlexibleRateApi.
1432
1305
  * @interface CheckCollateralRepayRateRequest
1433
1306
  */
1434
1307
  interface CheckCollateralRepayRateRequest {
1435
- /**
1436
- *
1437
- * @type {string}
1438
- * @memberof FlexibleRateApiCheckCollateralRepayRate
1439
- */
1440
- readonly loanCoin: string;
1441
- /**
1442
- *
1443
- * @type {string}
1444
- * @memberof FlexibleRateApiCheckCollateralRepayRate
1445
- */
1446
- readonly collateralCoin: string;
1447
- /**
1448
- *
1449
- * @type {number | bigint}
1450
- * @memberof FlexibleRateApiCheckCollateralRepayRate
1451
- */
1452
- readonly recvWindow?: number | bigint;
1308
+ /**
1309
+ *
1310
+ * @type {string}
1311
+ * @memberof FlexibleRateApiCheckCollateralRepayRate
1312
+ */
1313
+ readonly loanCoin: string;
1314
+ /**
1315
+ *
1316
+ * @type {string}
1317
+ * @memberof FlexibleRateApiCheckCollateralRepayRate
1318
+ */
1319
+ readonly collateralCoin: string;
1320
+ /**
1321
+ *
1322
+ * @type {number | bigint}
1323
+ * @memberof FlexibleRateApiCheckCollateralRepayRate
1324
+ */
1325
+ readonly recvWindow?: number | bigint;
1453
1326
  }
1454
1327
  /**
1455
1328
  * Request parameters for flexibleLoanAdjustLtv operation in FlexibleRateApi.
1456
1329
  * @interface FlexibleLoanAdjustLtvRequest
1457
1330
  */
1458
1331
  interface FlexibleLoanAdjustLtvRequest {
1459
- /**
1460
- *
1461
- * @type {string}
1462
- * @memberof FlexibleRateApiFlexibleLoanAdjustLtv
1463
- */
1464
- readonly loanCoin: string;
1465
- /**
1466
- *
1467
- * @type {string}
1468
- * @memberof FlexibleRateApiFlexibleLoanAdjustLtv
1469
- */
1470
- readonly collateralCoin: string;
1471
- /**
1472
- *
1473
- * @type {number}
1474
- * @memberof FlexibleRateApiFlexibleLoanAdjustLtv
1475
- */
1476
- readonly adjustmentAmount: number;
1477
- /**
1478
- * "ADDITIONAL", "REDUCED"
1479
- * @type {string}
1480
- * @memberof FlexibleRateApiFlexibleLoanAdjustLtv
1481
- */
1482
- readonly direction: string;
1483
- /**
1484
- *
1485
- * @type {number | bigint}
1486
- * @memberof FlexibleRateApiFlexibleLoanAdjustLtv
1487
- */
1488
- readonly recvWindow?: number | bigint;
1332
+ /**
1333
+ *
1334
+ * @type {string}
1335
+ * @memberof FlexibleRateApiFlexibleLoanAdjustLtv
1336
+ */
1337
+ readonly loanCoin: string;
1338
+ /**
1339
+ *
1340
+ * @type {string}
1341
+ * @memberof FlexibleRateApiFlexibleLoanAdjustLtv
1342
+ */
1343
+ readonly collateralCoin: string;
1344
+ /**
1345
+ *
1346
+ * @type {number}
1347
+ * @memberof FlexibleRateApiFlexibleLoanAdjustLtv
1348
+ */
1349
+ readonly adjustmentAmount: number;
1350
+ /**
1351
+ * "ADDITIONAL", "REDUCED"
1352
+ * @type {string}
1353
+ * @memberof FlexibleRateApiFlexibleLoanAdjustLtv
1354
+ */
1355
+ readonly direction: string;
1356
+ /**
1357
+ *
1358
+ * @type {number | bigint}
1359
+ * @memberof FlexibleRateApiFlexibleLoanAdjustLtv
1360
+ */
1361
+ readonly recvWindow?: number | bigint;
1489
1362
  }
1490
1363
  /**
1491
1364
  * Request parameters for flexibleLoanBorrow operation in FlexibleRateApi.
1492
1365
  * @interface FlexibleLoanBorrowRequest
1493
1366
  */
1494
1367
  interface FlexibleLoanBorrowRequest {
1495
- /**
1496
- *
1497
- * @type {string}
1498
- * @memberof FlexibleRateApiFlexibleLoanBorrow
1499
- */
1500
- readonly loanCoin: string;
1501
- /**
1502
- *
1503
- * @type {string}
1504
- * @memberof FlexibleRateApiFlexibleLoanBorrow
1505
- */
1506
- readonly collateralCoin: string;
1507
- /**
1508
- * Mandatory when collateralAmount is empty
1509
- * @type {number}
1510
- * @memberof FlexibleRateApiFlexibleLoanBorrow
1511
- */
1512
- readonly loanAmount?: number;
1513
- /**
1514
- * Mandatory when loanAmount is empty
1515
- * @type {number}
1516
- * @memberof FlexibleRateApiFlexibleLoanBorrow
1517
- */
1518
- readonly collateralAmount?: number;
1519
- /**
1520
- *
1521
- * @type {number | bigint}
1522
- * @memberof FlexibleRateApiFlexibleLoanBorrow
1523
- */
1524
- readonly recvWindow?: number | bigint;
1368
+ /**
1369
+ *
1370
+ * @type {string}
1371
+ * @memberof FlexibleRateApiFlexibleLoanBorrow
1372
+ */
1373
+ readonly loanCoin: string;
1374
+ /**
1375
+ *
1376
+ * @type {string}
1377
+ * @memberof FlexibleRateApiFlexibleLoanBorrow
1378
+ */
1379
+ readonly collateralCoin: string;
1380
+ /**
1381
+ * Mandatory when collateralAmount is empty
1382
+ * @type {number}
1383
+ * @memberof FlexibleRateApiFlexibleLoanBorrow
1384
+ */
1385
+ readonly loanAmount?: number;
1386
+ /**
1387
+ * Mandatory when loanAmount is empty
1388
+ * @type {number}
1389
+ * @memberof FlexibleRateApiFlexibleLoanBorrow
1390
+ */
1391
+ readonly collateralAmount?: number;
1392
+ /**
1393
+ *
1394
+ * @type {number | bigint}
1395
+ * @memberof FlexibleRateApiFlexibleLoanBorrow
1396
+ */
1397
+ readonly recvWindow?: number | bigint;
1525
1398
  }
1526
1399
  /**
1527
1400
  * Request parameters for flexibleLoanRepay operation in FlexibleRateApi.
1528
1401
  * @interface FlexibleLoanRepayRequest
1529
1402
  */
1530
1403
  interface FlexibleLoanRepayRequest {
1531
- /**
1532
- *
1533
- * @type {string}
1534
- * @memberof FlexibleRateApiFlexibleLoanRepay
1535
- */
1536
- readonly loanCoin: string;
1537
- /**
1538
- *
1539
- * @type {string}
1540
- * @memberof FlexibleRateApiFlexibleLoanRepay
1541
- */
1542
- readonly collateralCoin: string;
1543
- /**
1544
- * repay amount of loanCoin
1545
- * @type {number}
1546
- * @memberof FlexibleRateApiFlexibleLoanRepay
1547
- */
1548
- readonly repayAmount: number;
1549
- /**
1550
- * Default: TRUE. TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order, and lower LTV.
1551
- * @type {boolean}
1552
- * @memberof FlexibleRateApiFlexibleLoanRepay
1553
- */
1554
- readonly collateralReturn?: boolean;
1555
- /**
1556
- * Default: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount
1557
- * @type {boolean}
1558
- * @memberof FlexibleRateApiFlexibleLoanRepay
1559
- */
1560
- readonly fullRepayment?: boolean;
1561
- /**
1562
- * Default: 1. 1: Repayment with loan asset; 2: Repayment with collateral
1563
- * @type {number | bigint}
1564
- * @memberof FlexibleRateApiFlexibleLoanRepay
1565
- */
1566
- readonly repaymentType?: number | bigint;
1567
- /**
1568
- *
1569
- * @type {number | bigint}
1570
- * @memberof FlexibleRateApiFlexibleLoanRepay
1571
- */
1572
- readonly recvWindow?: number | bigint;
1404
+ /**
1405
+ *
1406
+ * @type {string}
1407
+ * @memberof FlexibleRateApiFlexibleLoanRepay
1408
+ */
1409
+ readonly loanCoin: string;
1410
+ /**
1411
+ *
1412
+ * @type {string}
1413
+ * @memberof FlexibleRateApiFlexibleLoanRepay
1414
+ */
1415
+ readonly collateralCoin: string;
1416
+ /**
1417
+ * repay amount of loanCoin
1418
+ * @type {number}
1419
+ * @memberof FlexibleRateApiFlexibleLoanRepay
1420
+ */
1421
+ readonly repayAmount: number;
1422
+ /**
1423
+ * Default: TRUE. TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order, and lower LTV.
1424
+ * @type {boolean}
1425
+ * @memberof FlexibleRateApiFlexibleLoanRepay
1426
+ */
1427
+ readonly collateralReturn?: boolean;
1428
+ /**
1429
+ * Default: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount
1430
+ * @type {boolean}
1431
+ * @memberof FlexibleRateApiFlexibleLoanRepay
1432
+ */
1433
+ readonly fullRepayment?: boolean;
1434
+ /**
1435
+ * Default: 1. 1: Repayment with loan asset; 2: Repayment with collateral
1436
+ * @type {number | bigint}
1437
+ * @memberof FlexibleRateApiFlexibleLoanRepay
1438
+ */
1439
+ readonly repaymentType?: number | bigint;
1440
+ /**
1441
+ *
1442
+ * @type {number | bigint}
1443
+ * @memberof FlexibleRateApiFlexibleLoanRepay
1444
+ */
1445
+ readonly recvWindow?: number | bigint;
1573
1446
  }
1574
1447
  /**
1575
1448
  * Request parameters for getFlexibleLoanAssetsData operation in FlexibleRateApi.
1576
1449
  * @interface GetFlexibleLoanAssetsDataRequest
1577
1450
  */
1578
1451
  interface GetFlexibleLoanAssetsDataRequest {
1579
- /**
1580
- *
1581
- * @type {string}
1582
- * @memberof FlexibleRateApiGetFlexibleLoanAssetsData
1583
- */
1584
- readonly loanCoin?: string;
1585
- /**
1586
- *
1587
- * @type {number | bigint}
1588
- * @memberof FlexibleRateApiGetFlexibleLoanAssetsData
1589
- */
1590
- readonly recvWindow?: number | bigint;
1452
+ /**
1453
+ *
1454
+ * @type {string}
1455
+ * @memberof FlexibleRateApiGetFlexibleLoanAssetsData
1456
+ */
1457
+ readonly loanCoin?: string;
1458
+ /**
1459
+ *
1460
+ * @type {number | bigint}
1461
+ * @memberof FlexibleRateApiGetFlexibleLoanAssetsData
1462
+ */
1463
+ readonly recvWindow?: number | bigint;
1591
1464
  }
1592
1465
  /**
1593
1466
  * Request parameters for getFlexibleLoanBorrowHistory operation in FlexibleRateApi.
1594
1467
  * @interface GetFlexibleLoanBorrowHistoryRequest
1595
1468
  */
1596
1469
  interface GetFlexibleLoanBorrowHistoryRequest {
1597
- /**
1598
- *
1599
- * @type {string}
1600
- * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1601
- */
1602
- readonly loanCoin?: string;
1603
- /**
1604
- *
1605
- * @type {string}
1606
- * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1607
- */
1608
- readonly collateralCoin?: string;
1609
- /**
1610
- *
1611
- * @type {number | bigint}
1612
- * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1613
- */
1614
- readonly startTime?: number | bigint;
1615
- /**
1616
- *
1617
- * @type {number | bigint}
1618
- * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1619
- */
1620
- readonly endTime?: number | bigint;
1621
- /**
1622
- * Current querying page. Start from 1; default: 1; max: 1000
1623
- * @type {number | bigint}
1624
- * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1625
- */
1626
- readonly current?: number | bigint;
1627
- /**
1628
- * Default: 10; max: 100
1629
- * @type {number | bigint}
1630
- * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1631
- */
1632
- readonly limit?: number | bigint;
1633
- /**
1634
- *
1635
- * @type {number | bigint}
1636
- * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1637
- */
1638
- readonly recvWindow?: number | bigint;
1470
+ /**
1471
+ *
1472
+ * @type {string}
1473
+ * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1474
+ */
1475
+ readonly loanCoin?: string;
1476
+ /**
1477
+ *
1478
+ * @type {string}
1479
+ * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1480
+ */
1481
+ readonly collateralCoin?: string;
1482
+ /**
1483
+ *
1484
+ * @type {number | bigint}
1485
+ * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1486
+ */
1487
+ readonly startTime?: number | bigint;
1488
+ /**
1489
+ *
1490
+ * @type {number | bigint}
1491
+ * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1492
+ */
1493
+ readonly endTime?: number | bigint;
1494
+ /**
1495
+ * Current querying page. Start from 1; default: 1; max: 1000
1496
+ * @type {number | bigint}
1497
+ * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1498
+ */
1499
+ readonly current?: number | bigint;
1500
+ /**
1501
+ * Default: 10; max: 100
1502
+ * @type {number | bigint}
1503
+ * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1504
+ */
1505
+ readonly limit?: number | bigint;
1506
+ /**
1507
+ *
1508
+ * @type {number | bigint}
1509
+ * @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
1510
+ */
1511
+ readonly recvWindow?: number | bigint;
1639
1512
  }
1640
1513
  /**
1641
1514
  * Request parameters for getFlexibleLoanCollateralAssetsData operation in FlexibleRateApi.
1642
1515
  * @interface GetFlexibleLoanCollateralAssetsDataRequest
1643
1516
  */
1644
1517
  interface GetFlexibleLoanCollateralAssetsDataRequest {
1645
- /**
1646
- *
1647
- * @type {string}
1648
- * @memberof FlexibleRateApiGetFlexibleLoanCollateralAssetsData
1649
- */
1650
- readonly collateralCoin?: string;
1651
- /**
1652
- *
1653
- * @type {number | bigint}
1654
- * @memberof FlexibleRateApiGetFlexibleLoanCollateralAssetsData
1655
- */
1656
- readonly recvWindow?: number | bigint;
1518
+ /**
1519
+ *
1520
+ * @type {string}
1521
+ * @memberof FlexibleRateApiGetFlexibleLoanCollateralAssetsData
1522
+ */
1523
+ readonly collateralCoin?: string;
1524
+ /**
1525
+ *
1526
+ * @type {number | bigint}
1527
+ * @memberof FlexibleRateApiGetFlexibleLoanCollateralAssetsData
1528
+ */
1529
+ readonly recvWindow?: number | bigint;
1657
1530
  }
1658
1531
  /**
1659
1532
  * Request parameters for getFlexibleLoanLiquidationHistory operation in FlexibleRateApi.
1660
1533
  * @interface GetFlexibleLoanLiquidationHistoryRequest
1661
1534
  */
1662
1535
  interface GetFlexibleLoanLiquidationHistoryRequest {
1663
- /**
1664
- *
1665
- * @type {string}
1666
- * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1667
- */
1668
- readonly loanCoin?: string;
1669
- /**
1670
- *
1671
- * @type {string}
1672
- * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1673
- */
1674
- readonly collateralCoin?: string;
1675
- /**
1676
- *
1677
- * @type {number | bigint}
1678
- * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1679
- */
1680
- readonly startTime?: number | bigint;
1681
- /**
1682
- *
1683
- * @type {number | bigint}
1684
- * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1685
- */
1686
- readonly endTime?: number | bigint;
1687
- /**
1688
- * Current querying page. Start from 1; default: 1; max: 1000
1689
- * @type {number | bigint}
1690
- * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1691
- */
1692
- readonly current?: number | bigint;
1693
- /**
1694
- * Default: 10; max: 100
1695
- * @type {number | bigint}
1696
- * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1697
- */
1698
- readonly limit?: number | bigint;
1699
- /**
1700
- *
1701
- * @type {number | bigint}
1702
- * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1703
- */
1704
- readonly recvWindow?: number | bigint;
1536
+ /**
1537
+ *
1538
+ * @type {string}
1539
+ * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1540
+ */
1541
+ readonly loanCoin?: string;
1542
+ /**
1543
+ *
1544
+ * @type {string}
1545
+ * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1546
+ */
1547
+ readonly collateralCoin?: string;
1548
+ /**
1549
+ *
1550
+ * @type {number | bigint}
1551
+ * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1552
+ */
1553
+ readonly startTime?: number | bigint;
1554
+ /**
1555
+ *
1556
+ * @type {number | bigint}
1557
+ * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1558
+ */
1559
+ readonly endTime?: number | bigint;
1560
+ /**
1561
+ * Current querying page. Start from 1; default: 1; max: 1000
1562
+ * @type {number | bigint}
1563
+ * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1564
+ */
1565
+ readonly current?: number | bigint;
1566
+ /**
1567
+ * Default: 10; max: 100
1568
+ * @type {number | bigint}
1569
+ * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1570
+ */
1571
+ readonly limit?: number | bigint;
1572
+ /**
1573
+ *
1574
+ * @type {number | bigint}
1575
+ * @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
1576
+ */
1577
+ readonly recvWindow?: number | bigint;
1705
1578
  }
1706
1579
  /**
1707
1580
  * Request parameters for getFlexibleLoanLtvAdjustmentHistory operation in FlexibleRateApi.
1708
1581
  * @interface GetFlexibleLoanLtvAdjustmentHistoryRequest
1709
1582
  */
1710
1583
  interface GetFlexibleLoanLtvAdjustmentHistoryRequest {
1711
- /**
1712
- *
1713
- * @type {string}
1714
- * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1715
- */
1716
- readonly loanCoin?: string;
1717
- /**
1718
- *
1719
- * @type {string}
1720
- * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1721
- */
1722
- readonly collateralCoin?: string;
1723
- /**
1724
- *
1725
- * @type {number | bigint}
1726
- * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1727
- */
1728
- readonly startTime?: number | bigint;
1729
- /**
1730
- *
1731
- * @type {number | bigint}
1732
- * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1733
- */
1734
- readonly endTime?: number | bigint;
1735
- /**
1736
- * Current querying page. Start from 1; default: 1; max: 1000
1737
- * @type {number | bigint}
1738
- * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1739
- */
1740
- readonly current?: number | bigint;
1741
- /**
1742
- * Default: 10; max: 100
1743
- * @type {number | bigint}
1744
- * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1745
- */
1746
- readonly limit?: number | bigint;
1747
- /**
1748
- *
1749
- * @type {number | bigint}
1750
- * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1751
- */
1752
- readonly recvWindow?: number | bigint;
1584
+ /**
1585
+ *
1586
+ * @type {string}
1587
+ * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1588
+ */
1589
+ readonly loanCoin?: string;
1590
+ /**
1591
+ *
1592
+ * @type {string}
1593
+ * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1594
+ */
1595
+ readonly collateralCoin?: string;
1596
+ /**
1597
+ *
1598
+ * @type {number | bigint}
1599
+ * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1600
+ */
1601
+ readonly startTime?: number | bigint;
1602
+ /**
1603
+ *
1604
+ * @type {number | bigint}
1605
+ * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1606
+ */
1607
+ readonly endTime?: number | bigint;
1608
+ /**
1609
+ * Current querying page. Start from 1; default: 1; max: 1000
1610
+ * @type {number | bigint}
1611
+ * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1612
+ */
1613
+ readonly current?: number | bigint;
1614
+ /**
1615
+ * Default: 10; max: 100
1616
+ * @type {number | bigint}
1617
+ * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1618
+ */
1619
+ readonly limit?: number | bigint;
1620
+ /**
1621
+ *
1622
+ * @type {number | bigint}
1623
+ * @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
1624
+ */
1625
+ readonly recvWindow?: number | bigint;
1753
1626
  }
1754
1627
  /**
1755
1628
  * Request parameters for getFlexibleLoanOngoingOrders operation in FlexibleRateApi.
1756
1629
  * @interface GetFlexibleLoanOngoingOrdersRequest
1757
1630
  */
1758
1631
  interface GetFlexibleLoanOngoingOrdersRequest {
1759
- /**
1760
- *
1761
- * @type {string}
1762
- * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1763
- */
1764
- readonly loanCoin?: string;
1765
- /**
1766
- *
1767
- * @type {string}
1768
- * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1769
- */
1770
- readonly collateralCoin?: string;
1771
- /**
1772
- * Current querying page. Start from 1; default: 1; max: 1000
1773
- * @type {number | bigint}
1774
- * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1775
- */
1776
- readonly current?: number | bigint;
1777
- /**
1778
- * Default: 10; max: 100
1779
- * @type {number | bigint}
1780
- * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1781
- */
1782
- readonly limit?: number | bigint;
1783
- /**
1784
- *
1785
- * @type {number | bigint}
1786
- * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1787
- */
1788
- readonly recvWindow?: number | bigint;
1632
+ /**
1633
+ *
1634
+ * @type {string}
1635
+ * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1636
+ */
1637
+ readonly loanCoin?: string;
1638
+ /**
1639
+ *
1640
+ * @type {string}
1641
+ * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1642
+ */
1643
+ readonly collateralCoin?: string;
1644
+ /**
1645
+ * Current querying page. Start from 1; default: 1; max: 1000
1646
+ * @type {number | bigint}
1647
+ * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1648
+ */
1649
+ readonly current?: number | bigint;
1650
+ /**
1651
+ * Default: 10; max: 100
1652
+ * @type {number | bigint}
1653
+ * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1654
+ */
1655
+ readonly limit?: number | bigint;
1656
+ /**
1657
+ *
1658
+ * @type {number | bigint}
1659
+ * @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
1660
+ */
1661
+ readonly recvWindow?: number | bigint;
1789
1662
  }
1790
1663
  /**
1791
1664
  * Request parameters for getFlexibleLoanRepaymentHistory operation in FlexibleRateApi.
1792
1665
  * @interface GetFlexibleLoanRepaymentHistoryRequest
1793
1666
  */
1794
1667
  interface GetFlexibleLoanRepaymentHistoryRequest {
1795
- /**
1796
- *
1797
- * @type {string}
1798
- * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1799
- */
1800
- readonly loanCoin?: string;
1801
- /**
1802
- *
1803
- * @type {string}
1804
- * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1805
- */
1806
- readonly collateralCoin?: string;
1807
- /**
1808
- *
1809
- * @type {number | bigint}
1810
- * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1811
- */
1812
- readonly startTime?: number | bigint;
1813
- /**
1814
- *
1815
- * @type {number | bigint}
1816
- * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1817
- */
1818
- readonly endTime?: number | bigint;
1819
- /**
1820
- * Current querying page. Start from 1; default: 1; max: 1000
1821
- * @type {number | bigint}
1822
- * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1823
- */
1824
- readonly current?: number | bigint;
1825
- /**
1826
- * Default: 10; max: 100
1827
- * @type {number | bigint}
1828
- * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1829
- */
1830
- readonly limit?: number | bigint;
1831
- /**
1832
- *
1833
- * @type {number | bigint}
1834
- * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1835
- */
1836
- readonly recvWindow?: number | bigint;
1668
+ /**
1669
+ *
1670
+ * @type {string}
1671
+ * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1672
+ */
1673
+ readonly loanCoin?: string;
1674
+ /**
1675
+ *
1676
+ * @type {string}
1677
+ * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1678
+ */
1679
+ readonly collateralCoin?: string;
1680
+ /**
1681
+ *
1682
+ * @type {number | bigint}
1683
+ * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1684
+ */
1685
+ readonly startTime?: number | bigint;
1686
+ /**
1687
+ *
1688
+ * @type {number | bigint}
1689
+ * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1690
+ */
1691
+ readonly endTime?: number | bigint;
1692
+ /**
1693
+ * Current querying page. Start from 1; default: 1; max: 1000
1694
+ * @type {number | bigint}
1695
+ * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1696
+ */
1697
+ readonly current?: number | bigint;
1698
+ /**
1699
+ * Default: 10; max: 100
1700
+ * @type {number | bigint}
1701
+ * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1702
+ */
1703
+ readonly limit?: number | bigint;
1704
+ /**
1705
+ *
1706
+ * @type {number | bigint}
1707
+ * @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
1708
+ */
1709
+ readonly recvWindow?: number | bigint;
1837
1710
  }
1838
1711
  /**
1839
1712
  * FlexibleRateApi - object-oriented interface
1840
1713
  * @class FlexibleRateApi
1841
1714
  */
1842
1715
  declare class FlexibleRateApi implements FlexibleRateApiInterface {
1843
- private readonly configuration;
1844
- private localVarAxiosParamCreator;
1845
- constructor(configuration: ConfigurationRestAPI);
1846
- /**
1847
- *
1848
- * Weight: 6000
1849
- *
1850
- * @summary Check Collateral Repay Rate (USER_DATA)
1851
- * @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
1852
- * @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
1853
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1854
- * @memberof FlexibleRateApi
1855
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
1856
- */
1857
- checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
1858
- /**
1859
- * Flexible Loan Adjust LTV
1860
- *
1861
- * API Key needs Spot & Margin Trading permission for this endpoint
1862
- *
1863
- * Weight: 6000
1864
- *
1865
- * @summary Flexible Loan Adjust LTV(TRADE)
1866
- * @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
1867
- * @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
1868
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1869
- * @memberof FlexibleRateApi
1870
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
1871
- */
1872
- flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
1873
- /**
1874
- * Borrow Flexible Loan
1875
- *
1876
- *
1877
- * Only available for master account
1878
- * You can customize LTV by entering loanAmount and collateralAmount.
1879
- *
1880
- * Weight: 6000
1881
- *
1882
- * @summary Flexible Loan Borrow(TRADE)
1883
- * @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
1884
- * @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
1885
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1886
- * @memberof FlexibleRateApi
1887
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
1888
- */
1889
- flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
1890
- /**
1891
- * Flexible Loan Repay
1892
- *
1893
- *
1894
- * repayAmount is mandatory even fullRepayment = FALSE
1895
- *
1896
- * Weight: 6000
1897
- *
1898
- * @summary Flexible Loan Repay(TRADE)
1899
- * @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
1900
- * @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
1901
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1902
- * @memberof FlexibleRateApi
1903
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
1904
- */
1905
- flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
1906
- /**
1907
- * Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
1908
- *
1909
- * Weight: 400
1910
- *
1911
- * @summary Get Flexible Loan Assets Data(USER_DATA)
1912
- * @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
1913
- * @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
1914
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1915
- * @memberof FlexibleRateApi
1916
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
1917
- */
1918
- getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
1919
- /**
1920
- * Get Flexible Loan Borrow History
1921
- *
1922
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
1923
- * The max interval between startTime and endTime is 180 days.
1924
- *
1925
- * Weight: 400
1926
- *
1927
- * @summary Get Flexible Loan Borrow History(USER_DATA)
1928
- * @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
1929
- * @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
1930
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1931
- * @memberof FlexibleRateApi
1932
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
1933
- */
1934
- getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
1935
- /**
1936
- * Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
1937
- *
1938
- * Weight: 400
1939
- *
1940
- * @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
1941
- * @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
1942
- * @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
1943
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1944
- * @memberof FlexibleRateApi
1945
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
1946
- */
1947
- getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
1948
- /**
1949
- *
1950
- * Weight: 400
1951
- *
1952
- * @summary Get Flexible Loan Liquidation History (USER_DATA)
1953
- * @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
1954
- * @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
1955
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1956
- * @memberof FlexibleRateApi
1957
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
1958
- */
1959
- getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
1960
- /**
1961
- * Get Flexible Loan LTV Adjustment History
1962
- *
1963
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
1964
- * The max interval between startTime and endTime is 180 days.
1965
- *
1966
- * Weight: 400
1967
- *
1968
- * @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
1969
- * @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
1970
- * @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
1971
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1972
- * @memberof FlexibleRateApi
1973
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
1974
- */
1975
- getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
1976
- /**
1977
- * Get Flexible Loan Ongoing Orders
1978
- *
1979
- * Weight: 300
1980
- *
1981
- * @summary Get Flexible Loan Ongoing Orders(USER_DATA)
1982
- * @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
1983
- * @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
1984
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1985
- * @memberof FlexibleRateApi
1986
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
1987
- */
1988
- getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
1989
- /**
1990
- * Get Flexible Loan Repayment History
1991
- *
1992
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
1993
- * The max interval between startTime and endTime is 180 days.
1994
- *
1995
- * Weight: 400
1996
- *
1997
- * @summary Get Flexible Loan Repayment History(USER_DATA)
1998
- * @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
1999
- * @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
2000
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2001
- * @memberof FlexibleRateApi
2002
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
2003
- */
2004
- getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
1716
+ private readonly configuration;
1717
+ private localVarAxiosParamCreator;
1718
+ constructor(configuration: ConfigurationRestAPI);
1719
+ /**
1720
+ *
1721
+ * Weight: 6000
1722
+ *
1723
+ * @summary Check Collateral Repay Rate (USER_DATA)
1724
+ * @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
1725
+ * @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
1726
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1727
+ * @memberof FlexibleRateApi
1728
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
1729
+ */
1730
+ checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
1731
+ /**
1732
+ * Flexible Loan Adjust LTV
1733
+ *
1734
+ * API Key needs Spot & Margin Trading permission for this endpoint
1735
+ *
1736
+ * Weight: 6000
1737
+ *
1738
+ * @summary Flexible Loan Adjust LTV(TRADE)
1739
+ * @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
1740
+ * @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
1741
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1742
+ * @memberof FlexibleRateApi
1743
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
1744
+ */
1745
+ flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
1746
+ /**
1747
+ * Borrow Flexible Loan
1748
+ *
1749
+ *
1750
+ * Only available for master account
1751
+ * You can customize LTV by entering loanAmount and collateralAmount.
1752
+ *
1753
+ * Weight: 6000
1754
+ *
1755
+ * @summary Flexible Loan Borrow(TRADE)
1756
+ * @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
1757
+ * @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
1758
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1759
+ * @memberof FlexibleRateApi
1760
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
1761
+ */
1762
+ flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
1763
+ /**
1764
+ * Flexible Loan Repay
1765
+ *
1766
+ *
1767
+ * repayAmount is mandatory even fullRepayment = FALSE
1768
+ *
1769
+ * Weight: 6000
1770
+ *
1771
+ * @summary Flexible Loan Repay(TRADE)
1772
+ * @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
1773
+ * @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
1774
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1775
+ * @memberof FlexibleRateApi
1776
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
1777
+ */
1778
+ flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
1779
+ /**
1780
+ * Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
1781
+ *
1782
+ * Weight: 400
1783
+ *
1784
+ * @summary Get Flexible Loan Assets Data(USER_DATA)
1785
+ * @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
1786
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
1787
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1788
+ * @memberof FlexibleRateApi
1789
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
1790
+ */
1791
+ getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
1792
+ /**
1793
+ * Get Flexible Loan Borrow History
1794
+ *
1795
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
1796
+ * The max interval between startTime and endTime is 180 days.
1797
+ *
1798
+ * Weight: 400
1799
+ *
1800
+ * @summary Get Flexible Loan Borrow History(USER_DATA)
1801
+ * @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
1802
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
1803
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1804
+ * @memberof FlexibleRateApi
1805
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
1806
+ */
1807
+ getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
1808
+ /**
1809
+ * Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
1810
+ *
1811
+ * Weight: 400
1812
+ *
1813
+ * @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
1814
+ * @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
1815
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
1816
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1817
+ * @memberof FlexibleRateApi
1818
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
1819
+ */
1820
+ getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
1821
+ /**
1822
+ *
1823
+ * Weight: 400
1824
+ *
1825
+ * @summary Get Flexible Loan Liquidation History (USER_DATA)
1826
+ * @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
1827
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
1828
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1829
+ * @memberof FlexibleRateApi
1830
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
1831
+ */
1832
+ getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
1833
+ /**
1834
+ * Get Flexible Loan LTV Adjustment History
1835
+ *
1836
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
1837
+ * The max interval between startTime and endTime is 180 days.
1838
+ *
1839
+ * Weight: 400
1840
+ *
1841
+ * @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
1842
+ * @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
1843
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
1844
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1845
+ * @memberof FlexibleRateApi
1846
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
1847
+ */
1848
+ getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
1849
+ /**
1850
+ * Get Flexible Loan Ongoing Orders
1851
+ *
1852
+ * Weight: 300
1853
+ *
1854
+ * @summary Get Flexible Loan Ongoing Orders(USER_DATA)
1855
+ * @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
1856
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
1857
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1858
+ * @memberof FlexibleRateApi
1859
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
1860
+ */
1861
+ getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
1862
+ /**
1863
+ * Get Flexible Loan Repayment History
1864
+ *
1865
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
1866
+ * The max interval between startTime and endTime is 180 days.
1867
+ *
1868
+ * Weight: 400
1869
+ *
1870
+ * @summary Get Flexible Loan Repayment History(USER_DATA)
1871
+ * @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
1872
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
1873
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1874
+ * @memberof FlexibleRateApi
1875
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
1876
+ */
1877
+ getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
2005
1878
  }
2006
-
2007
- /**
2008
- * Binance Crypto Loan REST API
2009
- *
2010
- * OpenAPI Specification for the Binance Crypto Loan REST API
2011
- *
2012
- * The version of the OpenAPI document: 1.0.0
2013
- *
2014
- *
2015
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2016
- * https://openapi-generator.tech
2017
- * Do not edit the class manually.
2018
- */
2019
-
1879
+ //#endregion
1880
+ //#region src/rest-api/modules/stable-rate-api.d.ts
2020
1881
  /**
2021
1882
  * StableRateApi - interface
2022
1883
  * @interface StableRateApi
2023
1884
  */
2024
1885
  interface StableRateApiInterface {
2025
- /**
2026
- * Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
2027
- *
2028
- * Weight: 6000
2029
- *
2030
- * @summary Check Collateral Repay Rate(USER_DATA)
2031
- * @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
2032
- *
2033
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2034
- * @memberof StableRateApiInterface
2035
- */
2036
- checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
2037
- /**
2038
- * Get Crypto Loans Income History
2039
- *
2040
- * If startTime and endTime are not sent, the recent 7-day data will be returned.
2041
- * The max interval between startTime and endTime is 30 days.
2042
- *
2043
- * Weight: 6000
2044
- *
2045
- * @summary Get Crypto Loans Income History(USER_DATA)
2046
- * @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
2047
- *
2048
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2049
- * @memberof StableRateApiInterface
2050
- */
2051
- getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
2052
- /**
2053
- * Get Loan Borrow History
2054
- *
2055
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2056
- * The max interval between startTime and endTime is 180 days.
2057
- *
2058
- * Weight: 400
2059
- *
2060
- * @summary Get Loan Borrow History(USER_DATA)
2061
- * @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
2062
- *
2063
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2064
- * @memberof StableRateApiInterface
2065
- */
2066
- getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
2067
- /**
2068
- * Get Loan LTV Adjustment History
2069
- *
2070
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2071
- * The max interval between startTime and endTime is 180 days.
2072
- *
2073
- * Weight: 400
2074
- *
2075
- * @summary Get Loan LTV Adjustment History(USER_DATA)
2076
- * @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
2077
- *
2078
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2079
- * @memberof StableRateApiInterface
2080
- */
2081
- getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
2082
- /**
2083
- * Get Loan Repayment History
2084
- *
2085
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2086
- * The max interval between startTime and endTime is 180 days.
2087
- *
2088
- * Weight: 400
2089
- *
2090
- * @summary Get Loan Repayment History(USER_DATA)
2091
- * @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
2092
- *
2093
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2094
- * @memberof StableRateApiInterface
2095
- */
2096
- getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
1886
+ /**
1887
+ * Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
1888
+ *
1889
+ * Weight: 6000
1890
+ *
1891
+ * @summary Check Collateral Repay Rate(USER_DATA)
1892
+ * @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
1893
+ *
1894
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1895
+ * @memberof StableRateApiInterface
1896
+ */
1897
+ checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
1898
+ /**
1899
+ * Get Crypto Loans Income History
1900
+ *
1901
+ * If startTime and endTime are not sent, the recent 7-day data will be returned.
1902
+ * The max interval between startTime and endTime is 30 days.
1903
+ *
1904
+ * Weight: 6000
1905
+ *
1906
+ * @summary Get Crypto Loans Income History(USER_DATA)
1907
+ * @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
1908
+ *
1909
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1910
+ * @memberof StableRateApiInterface
1911
+ */
1912
+ getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
1913
+ /**
1914
+ * Get Loan Borrow History
1915
+ *
1916
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
1917
+ * The max interval between startTime and endTime is 180 days.
1918
+ *
1919
+ * Weight: 400
1920
+ *
1921
+ * @summary Get Loan Borrow History(USER_DATA)
1922
+ * @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
1923
+ *
1924
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1925
+ * @memberof StableRateApiInterface
1926
+ */
1927
+ getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
1928
+ /**
1929
+ * Get Loan LTV Adjustment History
1930
+ *
1931
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
1932
+ * The max interval between startTime and endTime is 180 days.
1933
+ *
1934
+ * Weight: 400
1935
+ *
1936
+ * @summary Get Loan LTV Adjustment History(USER_DATA)
1937
+ * @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
1938
+ *
1939
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1940
+ * @memberof StableRateApiInterface
1941
+ */
1942
+ getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
1943
+ /**
1944
+ * Get Loan Repayment History
1945
+ *
1946
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
1947
+ * The max interval between startTime and endTime is 180 days.
1948
+ *
1949
+ * Weight: 400
1950
+ *
1951
+ * @summary Get Loan Repayment History(USER_DATA)
1952
+ * @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
1953
+ *
1954
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1955
+ * @memberof StableRateApiInterface
1956
+ */
1957
+ getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
2097
1958
  }
2098
1959
  /**
2099
1960
  * Request parameters for checkCollateralRepayRateStableRate operation in StableRateApi.
2100
1961
  * @interface CheckCollateralRepayRateStableRateRequest
2101
1962
  */
2102
1963
  interface CheckCollateralRepayRateStableRateRequest {
2103
- /**
2104
- *
2105
- * @type {string}
2106
- * @memberof StableRateApiCheckCollateralRepayRateStableRate
2107
- */
2108
- readonly loanCoin: string;
2109
- /**
2110
- *
2111
- * @type {string}
2112
- * @memberof StableRateApiCheckCollateralRepayRateStableRate
2113
- */
2114
- readonly collateralCoin: string;
2115
- /**
2116
- * repay amount of loanCoin
2117
- * @type {number}
2118
- * @memberof StableRateApiCheckCollateralRepayRateStableRate
2119
- */
2120
- readonly repayAmount: number;
2121
- /**
2122
- *
2123
- * @type {number | bigint}
2124
- * @memberof StableRateApiCheckCollateralRepayRateStableRate
2125
- */
2126
- readonly recvWindow?: number | bigint;
1964
+ /**
1965
+ *
1966
+ * @type {string}
1967
+ * @memberof StableRateApiCheckCollateralRepayRateStableRate
1968
+ */
1969
+ readonly loanCoin: string;
1970
+ /**
1971
+ *
1972
+ * @type {string}
1973
+ * @memberof StableRateApiCheckCollateralRepayRateStableRate
1974
+ */
1975
+ readonly collateralCoin: string;
1976
+ /**
1977
+ * repay amount of loanCoin
1978
+ * @type {number}
1979
+ * @memberof StableRateApiCheckCollateralRepayRateStableRate
1980
+ */
1981
+ readonly repayAmount: number;
1982
+ /**
1983
+ *
1984
+ * @type {number | bigint}
1985
+ * @memberof StableRateApiCheckCollateralRepayRateStableRate
1986
+ */
1987
+ readonly recvWindow?: number | bigint;
2127
1988
  }
2128
1989
  /**
2129
1990
  * Request parameters for getCryptoLoansIncomeHistory operation in StableRateApi.
2130
1991
  * @interface GetCryptoLoansIncomeHistoryRequest
2131
1992
  */
2132
1993
  interface GetCryptoLoansIncomeHistoryRequest {
2133
- /**
2134
- *
2135
- * @type {string}
2136
- * @memberof StableRateApiGetCryptoLoansIncomeHistory
2137
- */
2138
- readonly asset?: string;
2139
- /**
2140
- * All types will be returned by default. Enum:`borrowIn` ,`collateralSpent`, `repayAmount`, `collateralReturn`(Collateral return after repayment), `addCollateral`, `removeCollateral`, `collateralReturnAfterLiquidation`
2141
- * @type {string}
2142
- * @memberof StableRateApiGetCryptoLoansIncomeHistory
2143
- */
2144
- readonly type?: string;
2145
- /**
2146
- *
2147
- * @type {number | bigint}
2148
- * @memberof StableRateApiGetCryptoLoansIncomeHistory
2149
- */
2150
- readonly startTime?: number | bigint;
2151
- /**
2152
- *
2153
- * @type {number | bigint}
2154
- * @memberof StableRateApiGetCryptoLoansIncomeHistory
2155
- */
2156
- readonly endTime?: number | bigint;
2157
- /**
2158
- * Default: 10; max: 100
2159
- * @type {number | bigint}
2160
- * @memberof StableRateApiGetCryptoLoansIncomeHistory
2161
- */
2162
- readonly limit?: number | bigint;
2163
- /**
2164
- *
2165
- * @type {number | bigint}
2166
- * @memberof StableRateApiGetCryptoLoansIncomeHistory
2167
- */
2168
- readonly recvWindow?: number | bigint;
1994
+ /**
1995
+ *
1996
+ * @type {string}
1997
+ * @memberof StableRateApiGetCryptoLoansIncomeHistory
1998
+ */
1999
+ readonly asset?: string;
2000
+ /**
2001
+ * All types will be returned by default. Enum:`borrowIn` ,`collateralSpent`, `repayAmount`, `collateralReturn`(Collateral return after repayment), `addCollateral`, `removeCollateral`, `collateralReturnAfterLiquidation`
2002
+ * @type {string}
2003
+ * @memberof StableRateApiGetCryptoLoansIncomeHistory
2004
+ */
2005
+ readonly type?: string;
2006
+ /**
2007
+ *
2008
+ * @type {number | bigint}
2009
+ * @memberof StableRateApiGetCryptoLoansIncomeHistory
2010
+ */
2011
+ readonly startTime?: number | bigint;
2012
+ /**
2013
+ *
2014
+ * @type {number | bigint}
2015
+ * @memberof StableRateApiGetCryptoLoansIncomeHistory
2016
+ */
2017
+ readonly endTime?: number | bigint;
2018
+ /**
2019
+ * Default: 10; max: 100
2020
+ * @type {number | bigint}
2021
+ * @memberof StableRateApiGetCryptoLoansIncomeHistory
2022
+ */
2023
+ readonly limit?: number | bigint;
2024
+ /**
2025
+ *
2026
+ * @type {number | bigint}
2027
+ * @memberof StableRateApiGetCryptoLoansIncomeHistory
2028
+ */
2029
+ readonly recvWindow?: number | bigint;
2169
2030
  }
2170
2031
  /**
2171
2032
  * Request parameters for getLoanBorrowHistory operation in StableRateApi.
2172
2033
  * @interface GetLoanBorrowHistoryRequest
2173
2034
  */
2174
2035
  interface GetLoanBorrowHistoryRequest {
2175
- /**
2176
- * orderId in `POST /sapi/v1/loan/borrow`
2177
- * @type {number | bigint}
2178
- * @memberof StableRateApiGetLoanBorrowHistory
2179
- */
2180
- readonly orderId?: number | bigint;
2181
- /**
2182
- *
2183
- * @type {string}
2184
- * @memberof StableRateApiGetLoanBorrowHistory
2185
- */
2186
- readonly loanCoin?: string;
2187
- /**
2188
- *
2189
- * @type {string}
2190
- * @memberof StableRateApiGetLoanBorrowHistory
2191
- */
2192
- readonly collateralCoin?: string;
2193
- /**
2194
- *
2195
- * @type {number | bigint}
2196
- * @memberof StableRateApiGetLoanBorrowHistory
2197
- */
2198
- readonly startTime?: number | bigint;
2199
- /**
2200
- *
2201
- * @type {number | bigint}
2202
- * @memberof StableRateApiGetLoanBorrowHistory
2203
- */
2204
- readonly endTime?: number | bigint;
2205
- /**
2206
- * Current querying page. Start from 1; default: 1; max: 1000
2207
- * @type {number | bigint}
2208
- * @memberof StableRateApiGetLoanBorrowHistory
2209
- */
2210
- readonly current?: number | bigint;
2211
- /**
2212
- * Default: 10; max: 100
2213
- * @type {number | bigint}
2214
- * @memberof StableRateApiGetLoanBorrowHistory
2215
- */
2216
- readonly limit?: number | bigint;
2217
- /**
2218
- *
2219
- * @type {number | bigint}
2220
- * @memberof StableRateApiGetLoanBorrowHistory
2221
- */
2222
- readonly recvWindow?: number | bigint;
2036
+ /**
2037
+ * orderId in `POST /sapi/v1/loan/borrow`
2038
+ * @type {number | bigint}
2039
+ * @memberof StableRateApiGetLoanBorrowHistory
2040
+ */
2041
+ readonly orderId?: number | bigint;
2042
+ /**
2043
+ *
2044
+ * @type {string}
2045
+ * @memberof StableRateApiGetLoanBorrowHistory
2046
+ */
2047
+ readonly loanCoin?: string;
2048
+ /**
2049
+ *
2050
+ * @type {string}
2051
+ * @memberof StableRateApiGetLoanBorrowHistory
2052
+ */
2053
+ readonly collateralCoin?: string;
2054
+ /**
2055
+ *
2056
+ * @type {number | bigint}
2057
+ * @memberof StableRateApiGetLoanBorrowHistory
2058
+ */
2059
+ readonly startTime?: number | bigint;
2060
+ /**
2061
+ *
2062
+ * @type {number | bigint}
2063
+ * @memberof StableRateApiGetLoanBorrowHistory
2064
+ */
2065
+ readonly endTime?: number | bigint;
2066
+ /**
2067
+ * Current querying page. Start from 1; default: 1; max: 1000
2068
+ * @type {number | bigint}
2069
+ * @memberof StableRateApiGetLoanBorrowHistory
2070
+ */
2071
+ readonly current?: number | bigint;
2072
+ /**
2073
+ * Default: 10; max: 100
2074
+ * @type {number | bigint}
2075
+ * @memberof StableRateApiGetLoanBorrowHistory
2076
+ */
2077
+ readonly limit?: number | bigint;
2078
+ /**
2079
+ *
2080
+ * @type {number | bigint}
2081
+ * @memberof StableRateApiGetLoanBorrowHistory
2082
+ */
2083
+ readonly recvWindow?: number | bigint;
2223
2084
  }
2224
2085
  /**
2225
2086
  * Request parameters for getLoanLtvAdjustmentHistory operation in StableRateApi.
2226
2087
  * @interface GetLoanLtvAdjustmentHistoryRequest
2227
2088
  */
2228
2089
  interface GetLoanLtvAdjustmentHistoryRequest {
2229
- /**
2230
- * orderId in `POST /sapi/v1/loan/borrow`
2231
- * @type {number | bigint}
2232
- * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2233
- */
2234
- readonly orderId?: number | bigint;
2235
- /**
2236
- *
2237
- * @type {string}
2238
- * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2239
- */
2240
- readonly loanCoin?: string;
2241
- /**
2242
- *
2243
- * @type {string}
2244
- * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2245
- */
2246
- readonly collateralCoin?: string;
2247
- /**
2248
- *
2249
- * @type {number | bigint}
2250
- * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2251
- */
2252
- readonly startTime?: number | bigint;
2253
- /**
2254
- *
2255
- * @type {number | bigint}
2256
- * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2257
- */
2258
- readonly endTime?: number | bigint;
2259
- /**
2260
- * Current querying page. Start from 1; default: 1; max: 1000
2261
- * @type {number | bigint}
2262
- * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2263
- */
2264
- readonly current?: number | bigint;
2265
- /**
2266
- * Default: 10; max: 100
2267
- * @type {number | bigint}
2268
- * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2269
- */
2270
- readonly limit?: number | bigint;
2271
- /**
2272
- *
2273
- * @type {number | bigint}
2274
- * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2275
- */
2276
- readonly recvWindow?: number | bigint;
2090
+ /**
2091
+ * orderId in `POST /sapi/v1/loan/borrow`
2092
+ * @type {number | bigint}
2093
+ * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2094
+ */
2095
+ readonly orderId?: number | bigint;
2096
+ /**
2097
+ *
2098
+ * @type {string}
2099
+ * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2100
+ */
2101
+ readonly loanCoin?: string;
2102
+ /**
2103
+ *
2104
+ * @type {string}
2105
+ * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2106
+ */
2107
+ readonly collateralCoin?: string;
2108
+ /**
2109
+ *
2110
+ * @type {number | bigint}
2111
+ * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2112
+ */
2113
+ readonly startTime?: number | bigint;
2114
+ /**
2115
+ *
2116
+ * @type {number | bigint}
2117
+ * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2118
+ */
2119
+ readonly endTime?: number | bigint;
2120
+ /**
2121
+ * Current querying page. Start from 1; default: 1; max: 1000
2122
+ * @type {number | bigint}
2123
+ * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2124
+ */
2125
+ readonly current?: number | bigint;
2126
+ /**
2127
+ * Default: 10; max: 100
2128
+ * @type {number | bigint}
2129
+ * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2130
+ */
2131
+ readonly limit?: number | bigint;
2132
+ /**
2133
+ *
2134
+ * @type {number | bigint}
2135
+ * @memberof StableRateApiGetLoanLtvAdjustmentHistory
2136
+ */
2137
+ readonly recvWindow?: number | bigint;
2277
2138
  }
2278
2139
  /**
2279
2140
  * Request parameters for getLoanRepaymentHistory operation in StableRateApi.
2280
2141
  * @interface GetLoanRepaymentHistoryRequest
2281
2142
  */
2282
2143
  interface GetLoanRepaymentHistoryRequest {
2283
- /**
2284
- * orderId in `POST /sapi/v1/loan/borrow`
2285
- * @type {number | bigint}
2286
- * @memberof StableRateApiGetLoanRepaymentHistory
2287
- */
2288
- readonly orderId?: number | bigint;
2289
- /**
2290
- *
2291
- * @type {string}
2292
- * @memberof StableRateApiGetLoanRepaymentHistory
2293
- */
2294
- readonly loanCoin?: string;
2295
- /**
2296
- *
2297
- * @type {string}
2298
- * @memberof StableRateApiGetLoanRepaymentHistory
2299
- */
2300
- readonly collateralCoin?: string;
2301
- /**
2302
- *
2303
- * @type {number | bigint}
2304
- * @memberof StableRateApiGetLoanRepaymentHistory
2305
- */
2306
- readonly startTime?: number | bigint;
2307
- /**
2308
- *
2309
- * @type {number | bigint}
2310
- * @memberof StableRateApiGetLoanRepaymentHistory
2311
- */
2312
- readonly endTime?: number | bigint;
2313
- /**
2314
- * Current querying page. Start from 1; default: 1; max: 1000
2315
- * @type {number | bigint}
2316
- * @memberof StableRateApiGetLoanRepaymentHistory
2317
- */
2318
- readonly current?: number | bigint;
2319
- /**
2320
- * Default: 10; max: 100
2321
- * @type {number | bigint}
2322
- * @memberof StableRateApiGetLoanRepaymentHistory
2323
- */
2324
- readonly limit?: number | bigint;
2325
- /**
2326
- *
2327
- * @type {number | bigint}
2328
- * @memberof StableRateApiGetLoanRepaymentHistory
2329
- */
2330
- readonly recvWindow?: number | bigint;
2144
+ /**
2145
+ * orderId in `POST /sapi/v1/loan/borrow`
2146
+ * @type {number | bigint}
2147
+ * @memberof StableRateApiGetLoanRepaymentHistory
2148
+ */
2149
+ readonly orderId?: number | bigint;
2150
+ /**
2151
+ *
2152
+ * @type {string}
2153
+ * @memberof StableRateApiGetLoanRepaymentHistory
2154
+ */
2155
+ readonly loanCoin?: string;
2156
+ /**
2157
+ *
2158
+ * @type {string}
2159
+ * @memberof StableRateApiGetLoanRepaymentHistory
2160
+ */
2161
+ readonly collateralCoin?: string;
2162
+ /**
2163
+ *
2164
+ * @type {number | bigint}
2165
+ * @memberof StableRateApiGetLoanRepaymentHistory
2166
+ */
2167
+ readonly startTime?: number | bigint;
2168
+ /**
2169
+ *
2170
+ * @type {number | bigint}
2171
+ * @memberof StableRateApiGetLoanRepaymentHistory
2172
+ */
2173
+ readonly endTime?: number | bigint;
2174
+ /**
2175
+ * Current querying page. Start from 1; default: 1; max: 1000
2176
+ * @type {number | bigint}
2177
+ * @memberof StableRateApiGetLoanRepaymentHistory
2178
+ */
2179
+ readonly current?: number | bigint;
2180
+ /**
2181
+ * Default: 10; max: 100
2182
+ * @type {number | bigint}
2183
+ * @memberof StableRateApiGetLoanRepaymentHistory
2184
+ */
2185
+ readonly limit?: number | bigint;
2186
+ /**
2187
+ *
2188
+ * @type {number | bigint}
2189
+ * @memberof StableRateApiGetLoanRepaymentHistory
2190
+ */
2191
+ readonly recvWindow?: number | bigint;
2331
2192
  }
2332
2193
  /**
2333
2194
  * StableRateApi - object-oriented interface
2334
2195
  * @class StableRateApi
2335
2196
  */
2336
2197
  declare class StableRateApi implements StableRateApiInterface {
2337
- private readonly configuration;
2338
- private localVarAxiosParamCreator;
2339
- constructor(configuration: ConfigurationRestAPI);
2340
- /**
2341
- * Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
2342
- *
2343
- * Weight: 6000
2344
- *
2345
- * @summary Check Collateral Repay Rate(USER_DATA)
2346
- * @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
2347
- * @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
2348
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2349
- * @memberof StableRateApi
2350
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
2351
- */
2352
- checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
2353
- /**
2354
- * Get Crypto Loans Income History
2355
- *
2356
- * If startTime and endTime are not sent, the recent 7-day data will be returned.
2357
- * The max interval between startTime and endTime is 30 days.
2358
- *
2359
- * Weight: 6000
2360
- *
2361
- * @summary Get Crypto Loans Income History(USER_DATA)
2362
- * @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
2363
- * @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
2364
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2365
- * @memberof StableRateApi
2366
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
2367
- */
2368
- getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
2369
- /**
2370
- * Get Loan Borrow History
2371
- *
2372
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2373
- * The max interval between startTime and endTime is 180 days.
2374
- *
2375
- * Weight: 400
2376
- *
2377
- * @summary Get Loan Borrow History(USER_DATA)
2378
- * @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
2379
- * @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
2380
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2381
- * @memberof StableRateApi
2382
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
2383
- */
2384
- getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
2385
- /**
2386
- * Get Loan LTV Adjustment History
2387
- *
2388
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2389
- * The max interval between startTime and endTime is 180 days.
2390
- *
2391
- * Weight: 400
2392
- *
2393
- * @summary Get Loan LTV Adjustment History(USER_DATA)
2394
- * @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
2395
- * @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
2396
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2397
- * @memberof StableRateApi
2398
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
2399
- */
2400
- getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
2401
- /**
2402
- * Get Loan Repayment History
2403
- *
2404
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2405
- * The max interval between startTime and endTime is 180 days.
2406
- *
2407
- * Weight: 400
2408
- *
2409
- * @summary Get Loan Repayment History(USER_DATA)
2410
- * @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
2411
- * @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
2412
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2413
- * @memberof StableRateApi
2414
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
2415
- */
2416
- getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
2198
+ private readonly configuration;
2199
+ private localVarAxiosParamCreator;
2200
+ constructor(configuration: ConfigurationRestAPI);
2201
+ /**
2202
+ * Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
2203
+ *
2204
+ * Weight: 6000
2205
+ *
2206
+ * @summary Check Collateral Repay Rate(USER_DATA)
2207
+ * @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
2208
+ * @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
2209
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2210
+ * @memberof StableRateApi
2211
+ * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
2212
+ */
2213
+ checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
2214
+ /**
2215
+ * Get Crypto Loans Income History
2216
+ *
2217
+ * If startTime and endTime are not sent, the recent 7-day data will be returned.
2218
+ * The max interval between startTime and endTime is 30 days.
2219
+ *
2220
+ * Weight: 6000
2221
+ *
2222
+ * @summary Get Crypto Loans Income History(USER_DATA)
2223
+ * @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
2224
+ * @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
2225
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2226
+ * @memberof StableRateApi
2227
+ * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
2228
+ */
2229
+ getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
2230
+ /**
2231
+ * Get Loan Borrow History
2232
+ *
2233
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
2234
+ * The max interval between startTime and endTime is 180 days.
2235
+ *
2236
+ * Weight: 400
2237
+ *
2238
+ * @summary Get Loan Borrow History(USER_DATA)
2239
+ * @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
2240
+ * @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
2241
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2242
+ * @memberof StableRateApi
2243
+ * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
2244
+ */
2245
+ getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
2246
+ /**
2247
+ * Get Loan LTV Adjustment History
2248
+ *
2249
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
2250
+ * The max interval between startTime and endTime is 180 days.
2251
+ *
2252
+ * Weight: 400
2253
+ *
2254
+ * @summary Get Loan LTV Adjustment History(USER_DATA)
2255
+ * @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
2256
+ * @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
2257
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2258
+ * @memberof StableRateApi
2259
+ * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
2260
+ */
2261
+ getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
2262
+ /**
2263
+ * Get Loan Repayment History
2264
+ *
2265
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
2266
+ * The max interval between startTime and endTime is 180 days.
2267
+ *
2268
+ * Weight: 400
2269
+ *
2270
+ * @summary Get Loan Repayment History(USER_DATA)
2271
+ * @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
2272
+ * @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
2273
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2274
+ * @memberof StableRateApi
2275
+ * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
2276
+ */
2277
+ getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
2417
2278
  }
2418
-
2419
- /**
2420
- * Binance Crypto Loan REST API
2421
- *
2422
- * OpenAPI Specification for the Binance Crypto Loan REST API
2423
- *
2424
- * The version of the OpenAPI document: 1.0.0
2425
- *
2426
- *
2427
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2428
- * https://openapi-generator.tech
2429
- * Do not edit the class manually.
2430
- */
2431
-
2279
+ //#endregion
2280
+ //#region src/rest-api/rest-api.d.ts
2432
2281
  declare class RestAPI {
2433
- private configuration;
2434
- private flexibleRateApi;
2435
- private stableRateApi;
2436
- constructor(configuration: ConfigurationRestAPI);
2437
- /**
2438
- * Generic function to send a request.
2439
- * @param endpoint - The API endpoint to call.
2440
- * @param method - HTTP method to use (GET, POST, DELETE, etc.).
2441
- * @param params - Query parameters for the request.
2442
- *
2443
- * @returns A promise resolving to the response data object.
2444
- */
2445
- sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
2446
- /**
2447
- * Generic function to send a signed request.
2448
- * @param endpoint - The API endpoint to call.
2449
- * @param method - HTTP method to use (GET, POST, DELETE, etc.).
2450
- * @param params - Query parameters for the request.
2451
- *
2452
- * @returns A promise resolving to the response data object.
2453
- */
2454
- sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
2455
- /**
2456
- *
2457
- * Weight: 6000
2458
- *
2459
- * @summary Check Collateral Repay Rate (USER_DATA)
2460
- * @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
2461
- *
2462
- * @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
2463
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2464
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
2465
- */
2466
- checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
2467
- /**
2468
- * Flexible Loan Adjust LTV
2469
- *
2470
- * API Key needs Spot & Margin Trading permission for this endpoint
2471
- *
2472
- * Weight: 6000
2473
- *
2474
- * @summary Flexible Loan Adjust LTV(TRADE)
2475
- * @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
2476
- *
2477
- * @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
2478
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2479
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
2480
- */
2481
- flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
2482
- /**
2483
- * Borrow Flexible Loan
2484
- *
2485
- *
2486
- * Only available for master account
2487
- * You can customize LTV by entering loanAmount and collateralAmount.
2488
- *
2489
- * Weight: 6000
2490
- *
2491
- * @summary Flexible Loan Borrow(TRADE)
2492
- * @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
2493
- *
2494
- * @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
2495
- * @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-Borrow Binance API Documentation}
2497
- */
2498
- flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
2499
- /**
2500
- * Flexible Loan Repay
2501
- *
2502
- *
2503
- * repayAmount is mandatory even fullRepayment = FALSE
2504
- *
2505
- * Weight: 6000
2506
- *
2507
- * @summary Flexible Loan Repay(TRADE)
2508
- * @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
2509
- *
2510
- * @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
2511
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2512
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
2513
- */
2514
- flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
2515
- /**
2516
- * Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
2517
- *
2518
- * Weight: 400
2519
- *
2520
- * @summary Get Flexible Loan Assets Data(USER_DATA)
2521
- * @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
2522
- *
2523
- * @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
2524
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2525
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
2526
- */
2527
- getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
2528
- /**
2529
- * Get Flexible Loan Borrow History
2530
- *
2531
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2532
- * The max interval between startTime and endTime is 180 days.
2533
- *
2534
- * Weight: 400
2535
- *
2536
- * @summary Get Flexible Loan Borrow History(USER_DATA)
2537
- * @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
2538
- *
2539
- * @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
2540
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2541
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
2542
- */
2543
- getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
2544
- /**
2545
- * Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
2546
- *
2547
- * Weight: 400
2548
- *
2549
- * @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
2550
- * @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
2551
- *
2552
- * @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
2553
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2554
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
2555
- */
2556
- getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
2557
- /**
2558
- *
2559
- * Weight: 400
2560
- *
2561
- * @summary Get Flexible Loan Liquidation History (USER_DATA)
2562
- * @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
2563
- *
2564
- * @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
2565
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2566
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
2567
- */
2568
- getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
2569
- /**
2570
- * Get Flexible Loan LTV Adjustment History
2571
- *
2572
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2573
- * The max interval between startTime and endTime is 180 days.
2574
- *
2575
- * Weight: 400
2576
- *
2577
- * @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
2578
- * @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
2579
- *
2580
- * @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
2581
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2582
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
2583
- */
2584
- getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
2585
- /**
2586
- * Get Flexible Loan Ongoing Orders
2587
- *
2588
- * Weight: 300
2589
- *
2590
- * @summary Get Flexible Loan Ongoing Orders(USER_DATA)
2591
- * @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
2592
- *
2593
- * @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
2594
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2595
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
2596
- */
2597
- getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
2598
- /**
2599
- * Get Flexible Loan Repayment History
2600
- *
2601
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2602
- * The max interval between startTime and endTime is 180 days.
2603
- *
2604
- * Weight: 400
2605
- *
2606
- * @summary Get Flexible Loan Repayment History(USER_DATA)
2607
- * @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
2608
- *
2609
- * @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
2610
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2611
- * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
2612
- */
2613
- getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
2614
- /**
2615
- * Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
2616
- *
2617
- * Weight: 6000
2618
- *
2619
- * @summary Check Collateral Repay Rate(USER_DATA)
2620
- * @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
2621
- *
2622
- * @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
2623
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2624
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
2625
- */
2626
- checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
2627
- /**
2628
- * Get Crypto Loans Income History
2629
- *
2630
- * If startTime and endTime are not sent, the recent 7-day data will be returned.
2631
- * The max interval between startTime and endTime is 30 days.
2632
- *
2633
- * Weight: 6000
2634
- *
2635
- * @summary Get Crypto Loans Income History(USER_DATA)
2636
- * @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
2637
- *
2638
- * @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
2639
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2640
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
2641
- */
2642
- getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
2643
- /**
2644
- * Get Loan Borrow History
2645
- *
2646
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2647
- * The max interval between startTime and endTime is 180 days.
2648
- *
2649
- * Weight: 400
2650
- *
2651
- * @summary Get Loan Borrow History(USER_DATA)
2652
- * @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
2653
- *
2654
- * @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
2655
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2656
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
2657
- */
2658
- getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
2659
- /**
2660
- * Get Loan LTV Adjustment History
2661
- *
2662
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2663
- * The max interval between startTime and endTime is 180 days.
2664
- *
2665
- * Weight: 400
2666
- *
2667
- * @summary Get Loan LTV Adjustment History(USER_DATA)
2668
- * @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
2669
- *
2670
- * @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
2671
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2672
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
2673
- */
2674
- getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
2675
- /**
2676
- * Get Loan Repayment History
2677
- *
2678
- * If startTime and endTime are not sent, the recent 90-day data will be returned.
2679
- * The max interval between startTime and endTime is 180 days.
2680
- *
2681
- * Weight: 400
2682
- *
2683
- * @summary Get Loan Repayment History(USER_DATA)
2684
- * @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
2685
- *
2686
- * @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
2687
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2688
- * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
2689
- */
2690
- getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
2282
+ private configuration;
2283
+ private flexibleRateApi;
2284
+ private stableRateApi;
2285
+ constructor(configuration: ConfigurationRestAPI);
2286
+ /**
2287
+ * Generic function to send a request.
2288
+ * @param endpoint - The API endpoint to call.
2289
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
2290
+ * @param params - Query parameters for the request.
2291
+ *
2292
+ * @returns A promise resolving to the response data object.
2293
+ */
2294
+ sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
2295
+ /**
2296
+ * Generic function to send a signed request.
2297
+ * @param endpoint - The API endpoint to call.
2298
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
2299
+ * @param params - Query parameters for the request.
2300
+ *
2301
+ * @returns A promise resolving to the response data object.
2302
+ */
2303
+ sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
2304
+ /**
2305
+ *
2306
+ * Weight: 6000
2307
+ *
2308
+ * @summary Check Collateral Repay Rate (USER_DATA)
2309
+ * @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
2310
+ *
2311
+ * @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
2312
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2313
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
2314
+ */
2315
+ checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
2316
+ /**
2317
+ * Flexible Loan Adjust LTV
2318
+ *
2319
+ * API Key needs Spot & Margin Trading permission for this endpoint
2320
+ *
2321
+ * Weight: 6000
2322
+ *
2323
+ * @summary Flexible Loan Adjust LTV(TRADE)
2324
+ * @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
2325
+ *
2326
+ * @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
2327
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2328
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
2329
+ */
2330
+ flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
2331
+ /**
2332
+ * Borrow Flexible Loan
2333
+ *
2334
+ *
2335
+ * Only available for master account
2336
+ * You can customize LTV by entering loanAmount and collateralAmount.
2337
+ *
2338
+ * Weight: 6000
2339
+ *
2340
+ * @summary Flexible Loan Borrow(TRADE)
2341
+ * @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
2342
+ *
2343
+ * @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
2344
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2345
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
2346
+ */
2347
+ flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
2348
+ /**
2349
+ * Flexible Loan Repay
2350
+ *
2351
+ *
2352
+ * repayAmount is mandatory even fullRepayment = FALSE
2353
+ *
2354
+ * Weight: 6000
2355
+ *
2356
+ * @summary Flexible Loan Repay(TRADE)
2357
+ * @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
2358
+ *
2359
+ * @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
2360
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2361
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
2362
+ */
2363
+ flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
2364
+ /**
2365
+ * Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
2366
+ *
2367
+ * Weight: 400
2368
+ *
2369
+ * @summary Get Flexible Loan Assets Data(USER_DATA)
2370
+ * @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
2371
+ *
2372
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
2373
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2374
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
2375
+ */
2376
+ getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
2377
+ /**
2378
+ * Get Flexible Loan Borrow History
2379
+ *
2380
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
2381
+ * The max interval between startTime and endTime is 180 days.
2382
+ *
2383
+ * Weight: 400
2384
+ *
2385
+ * @summary Get Flexible Loan Borrow History(USER_DATA)
2386
+ * @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
2387
+ *
2388
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
2389
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2390
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
2391
+ */
2392
+ getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
2393
+ /**
2394
+ * Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
2395
+ *
2396
+ * Weight: 400
2397
+ *
2398
+ * @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
2399
+ * @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
2400
+ *
2401
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
2402
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2403
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
2404
+ */
2405
+ getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
2406
+ /**
2407
+ *
2408
+ * Weight: 400
2409
+ *
2410
+ * @summary Get Flexible Loan Liquidation History (USER_DATA)
2411
+ * @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
2412
+ *
2413
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
2414
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2415
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
2416
+ */
2417
+ getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
2418
+ /**
2419
+ * Get Flexible Loan LTV Adjustment History
2420
+ *
2421
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
2422
+ * The max interval between startTime and endTime is 180 days.
2423
+ *
2424
+ * Weight: 400
2425
+ *
2426
+ * @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
2427
+ * @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
2428
+ *
2429
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
2430
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2431
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
2432
+ */
2433
+ getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
2434
+ /**
2435
+ * Get Flexible Loan Ongoing Orders
2436
+ *
2437
+ * Weight: 300
2438
+ *
2439
+ * @summary Get Flexible Loan Ongoing Orders(USER_DATA)
2440
+ * @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
2441
+ *
2442
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
2443
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2444
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
2445
+ */
2446
+ getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
2447
+ /**
2448
+ * Get Flexible Loan Repayment History
2449
+ *
2450
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
2451
+ * The max interval between startTime and endTime is 180 days.
2452
+ *
2453
+ * Weight: 400
2454
+ *
2455
+ * @summary Get Flexible Loan Repayment History(USER_DATA)
2456
+ * @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
2457
+ *
2458
+ * @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
2459
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2460
+ * @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
2461
+ */
2462
+ getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
2463
+ /**
2464
+ * Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
2465
+ *
2466
+ * Weight: 6000
2467
+ *
2468
+ * @summary Check Collateral Repay Rate(USER_DATA)
2469
+ * @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
2470
+ *
2471
+ * @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
2472
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2473
+ * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
2474
+ */
2475
+ checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
2476
+ /**
2477
+ * Get Crypto Loans Income History
2478
+ *
2479
+ * If startTime and endTime are not sent, the recent 7-day data will be returned.
2480
+ * The max interval between startTime and endTime is 30 days.
2481
+ *
2482
+ * Weight: 6000
2483
+ *
2484
+ * @summary Get Crypto Loans Income History(USER_DATA)
2485
+ * @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
2486
+ *
2487
+ * @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
2488
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2489
+ * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
2490
+ */
2491
+ getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
2492
+ /**
2493
+ * Get Loan Borrow History
2494
+ *
2495
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
2496
+ * The max interval between startTime and endTime is 180 days.
2497
+ *
2498
+ * Weight: 400
2499
+ *
2500
+ * @summary Get Loan Borrow History(USER_DATA)
2501
+ * @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
2502
+ *
2503
+ * @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
2504
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2505
+ * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
2506
+ */
2507
+ getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
2508
+ /**
2509
+ * Get Loan LTV Adjustment History
2510
+ *
2511
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
2512
+ * The max interval between startTime and endTime is 180 days.
2513
+ *
2514
+ * Weight: 400
2515
+ *
2516
+ * @summary Get Loan LTV Adjustment History(USER_DATA)
2517
+ * @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
2518
+ *
2519
+ * @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
2520
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2521
+ * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
2522
+ */
2523
+ getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
2524
+ /**
2525
+ * Get Loan Repayment History
2526
+ *
2527
+ * If startTime and endTime are not sent, the recent 90-day data will be returned.
2528
+ * The max interval between startTime and endTime is 180 days.
2529
+ *
2530
+ * Weight: 400
2531
+ *
2532
+ * @summary Get Loan Repayment History(USER_DATA)
2533
+ * @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
2534
+ *
2535
+ * @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
2536
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2537
+ * @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
2538
+ */
2539
+ getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
2691
2540
  }
2692
-
2693
- /**
2694
- * Binance Crypto Loan REST API
2695
- *
2696
- * OpenAPI Specification for the Binance Crypto Loan REST API
2697
- *
2698
- * The version of the OpenAPI document: 1.0.0
2699
- *
2700
- *
2701
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2702
- * https://openapi-generator.tech
2703
- * Do not edit the class manually.
2704
- */
2705
-
2706
- type index_CheckCollateralRepayRateRequest = CheckCollateralRepayRateRequest;
2707
- type index_CheckCollateralRepayRateResponse = CheckCollateralRepayRateResponse;
2708
- type index_CheckCollateralRepayRateStableRateRequest = CheckCollateralRepayRateStableRateRequest;
2709
- type index_CheckCollateralRepayRateStableRateResponse = CheckCollateralRepayRateStableRateResponse;
2710
- type index_FlexibleLoanAdjustLtvRequest = FlexibleLoanAdjustLtvRequest;
2711
- type index_FlexibleLoanAdjustLtvResponse = FlexibleLoanAdjustLtvResponse;
2712
- type index_FlexibleLoanBorrowRequest = FlexibleLoanBorrowRequest;
2713
- type index_FlexibleLoanBorrowResponse = FlexibleLoanBorrowResponse;
2714
- type index_FlexibleLoanRepayRequest = FlexibleLoanRepayRequest;
2715
- type index_FlexibleLoanRepayResponse = FlexibleLoanRepayResponse;
2716
- type index_FlexibleRateApi = FlexibleRateApi;
2717
- declare const index_FlexibleRateApi: typeof FlexibleRateApi;
2718
- type index_FlexibleRateApiInterface = FlexibleRateApiInterface;
2719
- type index_GetCryptoLoansIncomeHistoryRequest = GetCryptoLoansIncomeHistoryRequest;
2720
- type index_GetCryptoLoansIncomeHistoryResponse = GetCryptoLoansIncomeHistoryResponse;
2721
- type index_GetCryptoLoansIncomeHistoryResponseInner = GetCryptoLoansIncomeHistoryResponseInner;
2722
- type index_GetFlexibleLoanAssetsDataRequest = GetFlexibleLoanAssetsDataRequest;
2723
- type index_GetFlexibleLoanAssetsDataResponse = GetFlexibleLoanAssetsDataResponse;
2724
- type index_GetFlexibleLoanAssetsDataResponseRowsInner = GetFlexibleLoanAssetsDataResponseRowsInner;
2725
- type index_GetFlexibleLoanBorrowHistoryRequest = GetFlexibleLoanBorrowHistoryRequest;
2726
- type index_GetFlexibleLoanBorrowHistoryResponse = GetFlexibleLoanBorrowHistoryResponse;
2727
- type index_GetFlexibleLoanBorrowHistoryResponseRowsInner = GetFlexibleLoanBorrowHistoryResponseRowsInner;
2728
- type index_GetFlexibleLoanCollateralAssetsDataRequest = GetFlexibleLoanCollateralAssetsDataRequest;
2729
- type index_GetFlexibleLoanCollateralAssetsDataResponse = GetFlexibleLoanCollateralAssetsDataResponse;
2730
- type index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner = GetFlexibleLoanCollateralAssetsDataResponseRowsInner;
2731
- type index_GetFlexibleLoanLiquidationHistoryRequest = GetFlexibleLoanLiquidationHistoryRequest;
2732
- type index_GetFlexibleLoanLiquidationHistoryResponse = GetFlexibleLoanLiquidationHistoryResponse;
2733
- type index_GetFlexibleLoanLiquidationHistoryResponseRowsInner = GetFlexibleLoanLiquidationHistoryResponseRowsInner;
2734
- type index_GetFlexibleLoanLtvAdjustmentHistoryRequest = GetFlexibleLoanLtvAdjustmentHistoryRequest;
2735
- type index_GetFlexibleLoanLtvAdjustmentHistoryResponse = GetFlexibleLoanLtvAdjustmentHistoryResponse;
2736
- type index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner = GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner;
2737
- type index_GetFlexibleLoanOngoingOrdersRequest = GetFlexibleLoanOngoingOrdersRequest;
2738
- type index_GetFlexibleLoanOngoingOrdersResponse = GetFlexibleLoanOngoingOrdersResponse;
2739
- type index_GetFlexibleLoanOngoingOrdersResponseRowsInner = GetFlexibleLoanOngoingOrdersResponseRowsInner;
2740
- type index_GetFlexibleLoanRepaymentHistoryRequest = GetFlexibleLoanRepaymentHistoryRequest;
2741
- type index_GetFlexibleLoanRepaymentHistoryResponse = GetFlexibleLoanRepaymentHistoryResponse;
2742
- type index_GetFlexibleLoanRepaymentHistoryResponseRowsInner = GetFlexibleLoanRepaymentHistoryResponseRowsInner;
2743
- type index_GetLoanBorrowHistoryRequest = GetLoanBorrowHistoryRequest;
2744
- type index_GetLoanBorrowHistoryResponse = GetLoanBorrowHistoryResponse;
2745
- type index_GetLoanBorrowHistoryResponseRowsInner = GetLoanBorrowHistoryResponseRowsInner;
2746
- type index_GetLoanLtvAdjustmentHistoryRequest = GetLoanLtvAdjustmentHistoryRequest;
2747
- type index_GetLoanLtvAdjustmentHistoryResponse = GetLoanLtvAdjustmentHistoryResponse;
2748
- type index_GetLoanLtvAdjustmentHistoryResponseRowsInner = GetLoanLtvAdjustmentHistoryResponseRowsInner;
2749
- type index_GetLoanRepaymentHistoryRequest = GetLoanRepaymentHistoryRequest;
2750
- type index_GetLoanRepaymentHistoryResponse = GetLoanRepaymentHistoryResponse;
2751
- type index_GetLoanRepaymentHistoryResponseRowsInner = GetLoanRepaymentHistoryResponseRowsInner;
2752
- type index_RestAPI = RestAPI;
2753
- declare const index_RestAPI: typeof RestAPI;
2754
- type index_StableRateApi = StableRateApi;
2755
- declare const index_StableRateApi: typeof StableRateApi;
2756
- type index_StableRateApiInterface = StableRateApiInterface;
2757
- declare namespace index {
2758
- export { type index_CheckCollateralRepayRateRequest as CheckCollateralRepayRateRequest, type index_CheckCollateralRepayRateResponse as CheckCollateralRepayRateResponse, type index_CheckCollateralRepayRateStableRateRequest as CheckCollateralRepayRateStableRateRequest, type index_CheckCollateralRepayRateStableRateResponse as CheckCollateralRepayRateStableRateResponse, type index_FlexibleLoanAdjustLtvRequest as FlexibleLoanAdjustLtvRequest, type index_FlexibleLoanAdjustLtvResponse as FlexibleLoanAdjustLtvResponse, type index_FlexibleLoanBorrowRequest as FlexibleLoanBorrowRequest, type index_FlexibleLoanBorrowResponse as FlexibleLoanBorrowResponse, type index_FlexibleLoanRepayRequest as FlexibleLoanRepayRequest, type index_FlexibleLoanRepayResponse as FlexibleLoanRepayResponse, index_FlexibleRateApi as FlexibleRateApi, type index_FlexibleRateApiInterface as FlexibleRateApiInterface, type index_GetCryptoLoansIncomeHistoryRequest as GetCryptoLoansIncomeHistoryRequest, type index_GetCryptoLoansIncomeHistoryResponse as GetCryptoLoansIncomeHistoryResponse, type index_GetCryptoLoansIncomeHistoryResponseInner as GetCryptoLoansIncomeHistoryResponseInner, type index_GetFlexibleLoanAssetsDataRequest as GetFlexibleLoanAssetsDataRequest, type index_GetFlexibleLoanAssetsDataResponse as GetFlexibleLoanAssetsDataResponse, type index_GetFlexibleLoanAssetsDataResponseRowsInner as GetFlexibleLoanAssetsDataResponseRowsInner, type index_GetFlexibleLoanBorrowHistoryRequest as GetFlexibleLoanBorrowHistoryRequest, type index_GetFlexibleLoanBorrowHistoryResponse as GetFlexibleLoanBorrowHistoryResponse, type index_GetFlexibleLoanBorrowHistoryResponseRowsInner as GetFlexibleLoanBorrowHistoryResponseRowsInner, type index_GetFlexibleLoanCollateralAssetsDataRequest as GetFlexibleLoanCollateralAssetsDataRequest, type index_GetFlexibleLoanCollateralAssetsDataResponse as GetFlexibleLoanCollateralAssetsDataResponse, type index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner as GetFlexibleLoanCollateralAssetsDataResponseRowsInner, type index_GetFlexibleLoanLiquidationHistoryRequest as GetFlexibleLoanLiquidationHistoryRequest, type index_GetFlexibleLoanLiquidationHistoryResponse as GetFlexibleLoanLiquidationHistoryResponse, type index_GetFlexibleLoanLiquidationHistoryResponseRowsInner as GetFlexibleLoanLiquidationHistoryResponseRowsInner, type index_GetFlexibleLoanLtvAdjustmentHistoryRequest as GetFlexibleLoanLtvAdjustmentHistoryRequest, type index_GetFlexibleLoanLtvAdjustmentHistoryResponse as GetFlexibleLoanLtvAdjustmentHistoryResponse, type index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner as GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetFlexibleLoanOngoingOrdersRequest as GetFlexibleLoanOngoingOrdersRequest, type index_GetFlexibleLoanOngoingOrdersResponse as GetFlexibleLoanOngoingOrdersResponse, type index_GetFlexibleLoanOngoingOrdersResponseRowsInner as GetFlexibleLoanOngoingOrdersResponseRowsInner, type index_GetFlexibleLoanRepaymentHistoryRequest as GetFlexibleLoanRepaymentHistoryRequest, type index_GetFlexibleLoanRepaymentHistoryResponse as GetFlexibleLoanRepaymentHistoryResponse, type index_GetFlexibleLoanRepaymentHistoryResponseRowsInner as GetFlexibleLoanRepaymentHistoryResponseRowsInner, type index_GetLoanBorrowHistoryRequest as GetLoanBorrowHistoryRequest, type index_GetLoanBorrowHistoryResponse as GetLoanBorrowHistoryResponse, type index_GetLoanBorrowHistoryResponseRowsInner as GetLoanBorrowHistoryResponseRowsInner, type index_GetLoanLtvAdjustmentHistoryRequest as GetLoanLtvAdjustmentHistoryRequest, type index_GetLoanLtvAdjustmentHistoryResponse as GetLoanLtvAdjustmentHistoryResponse, type index_GetLoanLtvAdjustmentHistoryResponseRowsInner as GetLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetLoanRepaymentHistoryRequest as GetLoanRepaymentHistoryRequest, type index_GetLoanRepaymentHistoryResponse as GetLoanRepaymentHistoryResponse, type index_GetLoanRepaymentHistoryResponseRowsInner as GetLoanRepaymentHistoryResponseRowsInner, index_RestAPI as RestAPI, index_StableRateApi as StableRateApi, type index_StableRateApiInterface as StableRateApiInterface };
2541
+ declare namespace index_d_exports {
2542
+ 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, GetFlexibleLoanLiquidationHistoryRequest, GetFlexibleLoanLiquidationHistoryResponse, GetFlexibleLoanLiquidationHistoryResponseRowsInner, GetFlexibleLoanLtvAdjustmentHistoryRequest, GetFlexibleLoanLtvAdjustmentHistoryResponse, GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner, GetFlexibleLoanOngoingOrdersRequest, GetFlexibleLoanOngoingOrdersResponse, GetFlexibleLoanOngoingOrdersResponseRowsInner, GetFlexibleLoanRepaymentHistoryRequest, GetFlexibleLoanRepaymentHistoryResponse, GetFlexibleLoanRepaymentHistoryResponseRowsInner, GetLoanBorrowHistoryRequest, GetLoanBorrowHistoryResponse, GetLoanBorrowHistoryResponseRowsInner, GetLoanLtvAdjustmentHistoryRequest, GetLoanLtvAdjustmentHistoryResponse, GetLoanLtvAdjustmentHistoryResponseRowsInner, GetLoanRepaymentHistoryRequest, GetLoanRepaymentHistoryResponse, GetLoanRepaymentHistoryResponseRowsInner, RestAPI, StableRateApi, StableRateApiInterface };
2759
2543
  }
2760
-
2544
+ //#endregion
2545
+ //#region src/crypto-loan.d.ts
2761
2546
  interface ConfigurationCryptoLoan {
2762
- configurationRestAPI?: ConfigurationRestAPI;
2547
+ configurationRestAPI?: ConfigurationRestAPI;
2763
2548
  }
2764
2549
  declare class CryptoLoan {
2765
- restAPI: RestAPI;
2766
- constructor(config: ConfigurationCryptoLoan);
2550
+ restAPI: RestAPI;
2551
+ constructor(config: ConfigurationCryptoLoan);
2767
2552
  }
2768
-
2769
- export { type ConfigurationCryptoLoan, CryptoLoan, index as CryptoLoanRestAPI };
2553
+ //#endregion
2554
+ export { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, ConfigurationCryptoLoan, ConnectorClientError, CryptoLoan, index_d_exports as CryptoLoanRestAPI, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError };
2555
+ //# sourceMappingURL=index.d.ts.map