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