@binance/crypto-loan 1.0.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,38 +1,6 @@
1
1
  import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
2
2
  export { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
3
3
 
4
- /**
5
- * Binance Crypto Loan REST API
6
- *
7
- * OpenAPI Specification for the Binance Crypto Loan REST API
8
- *
9
- * The version of the OpenAPI document: 1.0.0
10
- *
11
- *
12
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
- * https://openapi-generator.tech
14
- * Do not edit the class manually.
15
- */
16
- /**
17
- *
18
- * @export
19
- * @interface BadRequest
20
- */
21
- interface BadRequest {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof BadRequest
26
- */
27
- code: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof BadRequest
32
- */
33
- message: string;
34
- }
35
-
36
4
  /**
37
5
  * Binance Crypto Loan REST API
38
6
  *
@@ -319,110 +287,53 @@ interface CryptoLoanCustomizeMarginCallResponse {
319
287
  /**
320
288
  *
321
289
  * @export
322
- * @interface CryptoLoanRepayResponse1
290
+ * @interface CryptoLoanRepayResponse
323
291
  */
324
- interface CryptoLoanRepayResponse1 {
292
+ interface CryptoLoanRepayResponse {
325
293
  /**
326
294
  *
327
295
  * @type {string}
328
- * @memberof CryptoLoanRepayResponse1
296
+ * @memberof CryptoLoanRepayResponse
329
297
  */
330
298
  loanCoin?: string;
331
299
  /**
332
300
  *
333
301
  * @type {string}
334
- * @memberof CryptoLoanRepayResponse1
302
+ * @memberof CryptoLoanRepayResponse
335
303
  */
336
304
  remainingPrincipal?: string;
337
305
  /**
338
306
  *
339
307
  * @type {string}
340
- * @memberof CryptoLoanRepayResponse1
308
+ * @memberof CryptoLoanRepayResponse
341
309
  */
342
310
  remainingInterest?: string;
343
311
  /**
344
312
  *
345
313
  * @type {string}
346
- * @memberof CryptoLoanRepayResponse1
314
+ * @memberof CryptoLoanRepayResponse
347
315
  */
348
316
  collateralCoin?: string;
349
317
  /**
350
318
  *
351
319
  * @type {string}
352
- * @memberof CryptoLoanRepayResponse1
320
+ * @memberof CryptoLoanRepayResponse
353
321
  */
354
322
  remainingCollateral?: string;
355
323
  /**
356
324
  *
357
325
  * @type {string}
358
- * @memberof CryptoLoanRepayResponse1
326
+ * @memberof CryptoLoanRepayResponse
359
327
  */
360
328
  currentLTV?: string;
361
329
  /**
362
330
  *
363
331
  * @type {string}
364
- * @memberof CryptoLoanRepayResponse1
365
- */
366
- repayStatus?: string;
367
- }
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
- /**
382
- *
383
- * @export
384
- * @interface CryptoLoanRepayResponse2
385
- */
386
- interface CryptoLoanRepayResponse2 {
387
- /**
388
- *
389
- * @type {string}
390
- * @memberof CryptoLoanRepayResponse2
391
- */
392
- loanCoin?: string;
393
- /**
394
- *
395
- * @type {string}
396
- * @memberof CryptoLoanRepayResponse2
397
- */
398
- collateralCoin?: string;
399
- /**
400
- *
401
- * @type {string}
402
- * @memberof CryptoLoanRepayResponse2
332
+ * @memberof CryptoLoanRepayResponse
403
333
  */
404
334
  repayStatus?: string;
405
335
  }
406
336
 
407
- /**
408
- * Binance Crypto Loan REST API
409
- *
410
- * OpenAPI Specification for the Binance Crypto Loan REST API
411
- *
412
- * The version of the OpenAPI document: 1.0.0
413
- *
414
- *
415
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
416
- * https://openapi-generator.tech
417
- * Do not edit the class manually.
418
- */
419
-
420
- /**
421
- * @type CryptoLoanRepayResponse
422
- * @export
423
- */
424
- type CryptoLoanRepayResponse = CryptoLoanRepayResponse1 | CryptoLoanRepayResponse2;
425
-
426
337
  /**
427
338
  * Binance Crypto Loan REST API
428
339
  *
@@ -3931,7 +3842,6 @@ declare class RestAPI {
3931
3842
  * Do not edit the class manually.
3932
3843
  */
3933
3844
 
3934
- type index_BadRequest = BadRequest;
3935
3845
  type index_CheckCollateralRepayRateRequest = CheckCollateralRepayRateRequest;
3936
3846
  type index_CheckCollateralRepayRateResponse = CheckCollateralRepayRateResponse;
3937
3847
  type index_CheckCollateralRepayRateStableRateRequest = CheckCollateralRepayRateStableRateRequest;
@@ -3945,8 +3855,6 @@ type index_CryptoLoanCustomizeMarginCallResponse = CryptoLoanCustomizeMarginCall
3945
3855
  type index_CryptoLoanCustomizeMarginCallResponseRowsInner = CryptoLoanCustomizeMarginCallResponseRowsInner;
3946
3856
  type index_CryptoLoanRepayRequest = CryptoLoanRepayRequest;
3947
3857
  type index_CryptoLoanRepayResponse = CryptoLoanRepayResponse;
3948
- type index_CryptoLoanRepayResponse1 = CryptoLoanRepayResponse1;
3949
- type index_CryptoLoanRepayResponse2 = CryptoLoanRepayResponse2;
3950
3858
  type index_FlexibleLoanAdjustLtvRequest = FlexibleLoanAdjustLtvRequest;
3951
3859
  type index_FlexibleLoanAdjustLtvResponse = FlexibleLoanAdjustLtvResponse;
3952
3860
  type index_FlexibleLoanBorrowRequest = FlexibleLoanBorrowRequest;
@@ -4006,7 +3914,7 @@ type index_StableRateApi = StableRateApi;
4006
3914
  declare const index_StableRateApi: typeof StableRateApi;
4007
3915
  type index_StableRateApiInterface = StableRateApiInterface;
4008
3916
  declare namespace index {
4009
- export { type index_BadRequest as BadRequest, type index_CheckCollateralRepayRateRequest as CheckCollateralRepayRateRequest, type index_CheckCollateralRepayRateResponse as CheckCollateralRepayRateResponse, type index_CheckCollateralRepayRateStableRateRequest as CheckCollateralRepayRateStableRateRequest, type index_CheckCollateralRepayRateStableRateResponse as CheckCollateralRepayRateStableRateResponse, type index_CryptoLoanAdjustLtvRequest as CryptoLoanAdjustLtvRequest, type index_CryptoLoanAdjustLtvResponse as CryptoLoanAdjustLtvResponse, type index_CryptoLoanBorrowRequest as CryptoLoanBorrowRequest, type index_CryptoLoanBorrowResponse as CryptoLoanBorrowResponse, type index_CryptoLoanCustomizeMarginCallRequest as CryptoLoanCustomizeMarginCallRequest, type index_CryptoLoanCustomizeMarginCallResponse as CryptoLoanCustomizeMarginCallResponse, type index_CryptoLoanCustomizeMarginCallResponseRowsInner as CryptoLoanCustomizeMarginCallResponseRowsInner, type index_CryptoLoanRepayRequest as CryptoLoanRepayRequest, type index_CryptoLoanRepayResponse as CryptoLoanRepayResponse, type index_CryptoLoanRepayResponse1 as CryptoLoanRepayResponse1, type index_CryptoLoanRepayResponse2 as CryptoLoanRepayResponse2, type index_FlexibleLoanAdjustLtvRequest as FlexibleLoanAdjustLtvRequest, type index_FlexibleLoanAdjustLtvResponse as FlexibleLoanAdjustLtvResponse, type index_FlexibleLoanBorrowRequest as FlexibleLoanBorrowRequest, type index_FlexibleLoanBorrowResponse as FlexibleLoanBorrowResponse, type index_FlexibleLoanCollateralRepaymentRequest as FlexibleLoanCollateralRepaymentRequest, type index_FlexibleLoanCollateralRepaymentResponse as FlexibleLoanCollateralRepaymentResponse, type index_FlexibleLoanRepayRequest as FlexibleLoanRepayRequest, type index_FlexibleLoanRepayResponse as FlexibleLoanRepayResponse, index_FlexibleRateApi as FlexibleRateApi, type index_FlexibleRateApiInterface as FlexibleRateApiInterface, type index_GetCollateralAssetsDataRequest as GetCollateralAssetsDataRequest, type index_GetCollateralAssetsDataResponse as GetCollateralAssetsDataResponse, type index_GetCollateralAssetsDataResponseRowsInner as GetCollateralAssetsDataResponseRowsInner, type index_GetCryptoLoansIncomeHistoryRequest as GetCryptoLoansIncomeHistoryRequest, type index_GetCryptoLoansIncomeHistoryResponse as GetCryptoLoansIncomeHistoryResponse, type index_GetCryptoLoansIncomeHistoryResponseInner as GetCryptoLoansIncomeHistoryResponseInner, type index_GetFlexibleLoanAssetsDataRequest as GetFlexibleLoanAssetsDataRequest, type index_GetFlexibleLoanAssetsDataResponse as GetFlexibleLoanAssetsDataResponse, type index_GetFlexibleLoanAssetsDataResponseRowsInner as GetFlexibleLoanAssetsDataResponseRowsInner, type index_GetFlexibleLoanBorrowHistoryRequest as GetFlexibleLoanBorrowHistoryRequest, type index_GetFlexibleLoanBorrowHistoryResponse as GetFlexibleLoanBorrowHistoryResponse, type index_GetFlexibleLoanBorrowHistoryResponseRowsInner as GetFlexibleLoanBorrowHistoryResponseRowsInner, type index_GetFlexibleLoanCollateralAssetsDataRequest as GetFlexibleLoanCollateralAssetsDataRequest, type index_GetFlexibleLoanCollateralAssetsDataResponse as GetFlexibleLoanCollateralAssetsDataResponse, type index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner as GetFlexibleLoanCollateralAssetsDataResponseRowsInner, type index_GetFlexibleLoanLiquidationHistoryRequest as GetFlexibleLoanLiquidationHistoryRequest, type index_GetFlexibleLoanLiquidationHistoryResponse as GetFlexibleLoanLiquidationHistoryResponse, type index_GetFlexibleLoanLiquidationHistoryResponseRowsInner as GetFlexibleLoanLiquidationHistoryResponseRowsInner, type index_GetFlexibleLoanLtvAdjustmentHistoryRequest as GetFlexibleLoanLtvAdjustmentHistoryRequest, type index_GetFlexibleLoanLtvAdjustmentHistoryResponse as GetFlexibleLoanLtvAdjustmentHistoryResponse, type index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner as GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetFlexibleLoanOngoingOrdersRequest as GetFlexibleLoanOngoingOrdersRequest, type index_GetFlexibleLoanOngoingOrdersResponse as GetFlexibleLoanOngoingOrdersResponse, type index_GetFlexibleLoanOngoingOrdersResponseRowsInner as GetFlexibleLoanOngoingOrdersResponseRowsInner, type index_GetFlexibleLoanRepaymentHistoryRequest as GetFlexibleLoanRepaymentHistoryRequest, type index_GetFlexibleLoanRepaymentHistoryResponse as GetFlexibleLoanRepaymentHistoryResponse, type index_GetFlexibleLoanRepaymentHistoryResponseRowsInner as GetFlexibleLoanRepaymentHistoryResponseRowsInner, type index_GetLoanBorrowHistoryRequest as GetLoanBorrowHistoryRequest, type index_GetLoanBorrowHistoryResponse as GetLoanBorrowHistoryResponse, type index_GetLoanBorrowHistoryResponseRowsInner as GetLoanBorrowHistoryResponseRowsInner, type index_GetLoanLtvAdjustmentHistoryRequest as GetLoanLtvAdjustmentHistoryRequest, type index_GetLoanLtvAdjustmentHistoryResponse as GetLoanLtvAdjustmentHistoryResponse, type index_GetLoanLtvAdjustmentHistoryResponseRowsInner as GetLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetLoanOngoingOrdersRequest as GetLoanOngoingOrdersRequest, type index_GetLoanOngoingOrdersResponse as GetLoanOngoingOrdersResponse, type index_GetLoanOngoingOrdersResponseRowsInner as GetLoanOngoingOrdersResponseRowsInner, type index_GetLoanRepaymentHistoryRequest as GetLoanRepaymentHistoryRequest, type index_GetLoanRepaymentHistoryResponse as GetLoanRepaymentHistoryResponse, type index_GetLoanRepaymentHistoryResponseRowsInner as GetLoanRepaymentHistoryResponseRowsInner, type index_GetLoanableAssetsDataRequest as GetLoanableAssetsDataRequest, type index_GetLoanableAssetsDataResponse as GetLoanableAssetsDataResponse, type index_GetLoanableAssetsDataResponseRowsInner as GetLoanableAssetsDataResponseRowsInner, index_RestAPI as RestAPI, index_StableRateApi as StableRateApi, type index_StableRateApiInterface as StableRateApiInterface };
3917
+ export { type index_CheckCollateralRepayRateRequest as CheckCollateralRepayRateRequest, type index_CheckCollateralRepayRateResponse as CheckCollateralRepayRateResponse, type index_CheckCollateralRepayRateStableRateRequest as CheckCollateralRepayRateStableRateRequest, type index_CheckCollateralRepayRateStableRateResponse as CheckCollateralRepayRateStableRateResponse, type index_CryptoLoanAdjustLtvRequest as CryptoLoanAdjustLtvRequest, type index_CryptoLoanAdjustLtvResponse as CryptoLoanAdjustLtvResponse, type index_CryptoLoanBorrowRequest as CryptoLoanBorrowRequest, type index_CryptoLoanBorrowResponse as CryptoLoanBorrowResponse, type index_CryptoLoanCustomizeMarginCallRequest as CryptoLoanCustomizeMarginCallRequest, type index_CryptoLoanCustomizeMarginCallResponse as CryptoLoanCustomizeMarginCallResponse, type index_CryptoLoanCustomizeMarginCallResponseRowsInner as CryptoLoanCustomizeMarginCallResponseRowsInner, type index_CryptoLoanRepayRequest as CryptoLoanRepayRequest, type index_CryptoLoanRepayResponse as CryptoLoanRepayResponse, type index_FlexibleLoanAdjustLtvRequest as FlexibleLoanAdjustLtvRequest, type index_FlexibleLoanAdjustLtvResponse as FlexibleLoanAdjustLtvResponse, type index_FlexibleLoanBorrowRequest as FlexibleLoanBorrowRequest, type index_FlexibleLoanBorrowResponse as FlexibleLoanBorrowResponse, type index_FlexibleLoanCollateralRepaymentRequest as FlexibleLoanCollateralRepaymentRequest, type index_FlexibleLoanCollateralRepaymentResponse as FlexibleLoanCollateralRepaymentResponse, type index_FlexibleLoanRepayRequest as FlexibleLoanRepayRequest, type index_FlexibleLoanRepayResponse as FlexibleLoanRepayResponse, index_FlexibleRateApi as FlexibleRateApi, type index_FlexibleRateApiInterface as FlexibleRateApiInterface, type index_GetCollateralAssetsDataRequest as GetCollateralAssetsDataRequest, type index_GetCollateralAssetsDataResponse as GetCollateralAssetsDataResponse, type index_GetCollateralAssetsDataResponseRowsInner as GetCollateralAssetsDataResponseRowsInner, type index_GetCryptoLoansIncomeHistoryRequest as GetCryptoLoansIncomeHistoryRequest, type index_GetCryptoLoansIncomeHistoryResponse as GetCryptoLoansIncomeHistoryResponse, type index_GetCryptoLoansIncomeHistoryResponseInner as GetCryptoLoansIncomeHistoryResponseInner, type index_GetFlexibleLoanAssetsDataRequest as GetFlexibleLoanAssetsDataRequest, type index_GetFlexibleLoanAssetsDataResponse as GetFlexibleLoanAssetsDataResponse, type index_GetFlexibleLoanAssetsDataResponseRowsInner as GetFlexibleLoanAssetsDataResponseRowsInner, type index_GetFlexibleLoanBorrowHistoryRequest as GetFlexibleLoanBorrowHistoryRequest, type index_GetFlexibleLoanBorrowHistoryResponse as GetFlexibleLoanBorrowHistoryResponse, type index_GetFlexibleLoanBorrowHistoryResponseRowsInner as GetFlexibleLoanBorrowHistoryResponseRowsInner, type index_GetFlexibleLoanCollateralAssetsDataRequest as GetFlexibleLoanCollateralAssetsDataRequest, type index_GetFlexibleLoanCollateralAssetsDataResponse as GetFlexibleLoanCollateralAssetsDataResponse, type index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner as GetFlexibleLoanCollateralAssetsDataResponseRowsInner, type index_GetFlexibleLoanLiquidationHistoryRequest as GetFlexibleLoanLiquidationHistoryRequest, type index_GetFlexibleLoanLiquidationHistoryResponse as GetFlexibleLoanLiquidationHistoryResponse, type index_GetFlexibleLoanLiquidationHistoryResponseRowsInner as GetFlexibleLoanLiquidationHistoryResponseRowsInner, type index_GetFlexibleLoanLtvAdjustmentHistoryRequest as GetFlexibleLoanLtvAdjustmentHistoryRequest, type index_GetFlexibleLoanLtvAdjustmentHistoryResponse as GetFlexibleLoanLtvAdjustmentHistoryResponse, type index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner as GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetFlexibleLoanOngoingOrdersRequest as GetFlexibleLoanOngoingOrdersRequest, type index_GetFlexibleLoanOngoingOrdersResponse as GetFlexibleLoanOngoingOrdersResponse, type index_GetFlexibleLoanOngoingOrdersResponseRowsInner as GetFlexibleLoanOngoingOrdersResponseRowsInner, type index_GetFlexibleLoanRepaymentHistoryRequest as GetFlexibleLoanRepaymentHistoryRequest, type index_GetFlexibleLoanRepaymentHistoryResponse as GetFlexibleLoanRepaymentHistoryResponse, type index_GetFlexibleLoanRepaymentHistoryResponseRowsInner as GetFlexibleLoanRepaymentHistoryResponseRowsInner, type index_GetLoanBorrowHistoryRequest as GetLoanBorrowHistoryRequest, type index_GetLoanBorrowHistoryResponse as GetLoanBorrowHistoryResponse, type index_GetLoanBorrowHistoryResponseRowsInner as GetLoanBorrowHistoryResponseRowsInner, type index_GetLoanLtvAdjustmentHistoryRequest as GetLoanLtvAdjustmentHistoryRequest, type index_GetLoanLtvAdjustmentHistoryResponse as GetLoanLtvAdjustmentHistoryResponse, type index_GetLoanLtvAdjustmentHistoryResponseRowsInner as GetLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetLoanOngoingOrdersRequest as GetLoanOngoingOrdersRequest, type index_GetLoanOngoingOrdersResponse as GetLoanOngoingOrdersResponse, type index_GetLoanOngoingOrdersResponseRowsInner as GetLoanOngoingOrdersResponseRowsInner, type index_GetLoanRepaymentHistoryRequest as GetLoanRepaymentHistoryRequest, type index_GetLoanRepaymentHistoryResponse as GetLoanRepaymentHistoryResponse, type index_GetLoanRepaymentHistoryResponseRowsInner as GetLoanRepaymentHistoryResponseRowsInner, type index_GetLoanableAssetsDataRequest as GetLoanableAssetsDataRequest, type index_GetLoanableAssetsDataResponse as GetLoanableAssetsDataResponse, type index_GetLoanableAssetsDataResponseRowsInner as GetLoanableAssetsDataResponseRowsInner, index_RestAPI as RestAPI, index_StableRateApi as StableRateApi, type index_StableRateApiInterface as StableRateApiInterface };
4010
3918
  }
4011
3919
 
4012
3920
  interface ConfigurationCryptoLoan {
package/dist/index.d.ts CHANGED
@@ -1,38 +1,6 @@
1
1
  import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
2
2
  export { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
3
3
 
4
- /**
5
- * Binance Crypto Loan REST API
6
- *
7
- * OpenAPI Specification for the Binance Crypto Loan REST API
8
- *
9
- * The version of the OpenAPI document: 1.0.0
10
- *
11
- *
12
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
- * https://openapi-generator.tech
14
- * Do not edit the class manually.
15
- */
16
- /**
17
- *
18
- * @export
19
- * @interface BadRequest
20
- */
21
- interface BadRequest {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof BadRequest
26
- */
27
- code: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof BadRequest
32
- */
33
- message: string;
34
- }
35
-
36
4
  /**
37
5
  * Binance Crypto Loan REST API
38
6
  *
@@ -319,110 +287,53 @@ interface CryptoLoanCustomizeMarginCallResponse {
319
287
  /**
320
288
  *
321
289
  * @export
322
- * @interface CryptoLoanRepayResponse1
290
+ * @interface CryptoLoanRepayResponse
323
291
  */
324
- interface CryptoLoanRepayResponse1 {
292
+ interface CryptoLoanRepayResponse {
325
293
  /**
326
294
  *
327
295
  * @type {string}
328
- * @memberof CryptoLoanRepayResponse1
296
+ * @memberof CryptoLoanRepayResponse
329
297
  */
330
298
  loanCoin?: string;
331
299
  /**
332
300
  *
333
301
  * @type {string}
334
- * @memberof CryptoLoanRepayResponse1
302
+ * @memberof CryptoLoanRepayResponse
335
303
  */
336
304
  remainingPrincipal?: string;
337
305
  /**
338
306
  *
339
307
  * @type {string}
340
- * @memberof CryptoLoanRepayResponse1
308
+ * @memberof CryptoLoanRepayResponse
341
309
  */
342
310
  remainingInterest?: string;
343
311
  /**
344
312
  *
345
313
  * @type {string}
346
- * @memberof CryptoLoanRepayResponse1
314
+ * @memberof CryptoLoanRepayResponse
347
315
  */
348
316
  collateralCoin?: string;
349
317
  /**
350
318
  *
351
319
  * @type {string}
352
- * @memberof CryptoLoanRepayResponse1
320
+ * @memberof CryptoLoanRepayResponse
353
321
  */
354
322
  remainingCollateral?: string;
355
323
  /**
356
324
  *
357
325
  * @type {string}
358
- * @memberof CryptoLoanRepayResponse1
326
+ * @memberof CryptoLoanRepayResponse
359
327
  */
360
328
  currentLTV?: string;
361
329
  /**
362
330
  *
363
331
  * @type {string}
364
- * @memberof CryptoLoanRepayResponse1
365
- */
366
- repayStatus?: string;
367
- }
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
- /**
382
- *
383
- * @export
384
- * @interface CryptoLoanRepayResponse2
385
- */
386
- interface CryptoLoanRepayResponse2 {
387
- /**
388
- *
389
- * @type {string}
390
- * @memberof CryptoLoanRepayResponse2
391
- */
392
- loanCoin?: string;
393
- /**
394
- *
395
- * @type {string}
396
- * @memberof CryptoLoanRepayResponse2
397
- */
398
- collateralCoin?: string;
399
- /**
400
- *
401
- * @type {string}
402
- * @memberof CryptoLoanRepayResponse2
332
+ * @memberof CryptoLoanRepayResponse
403
333
  */
404
334
  repayStatus?: string;
405
335
  }
406
336
 
407
- /**
408
- * Binance Crypto Loan REST API
409
- *
410
- * OpenAPI Specification for the Binance Crypto Loan REST API
411
- *
412
- * The version of the OpenAPI document: 1.0.0
413
- *
414
- *
415
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
416
- * https://openapi-generator.tech
417
- * Do not edit the class manually.
418
- */
419
-
420
- /**
421
- * @type CryptoLoanRepayResponse
422
- * @export
423
- */
424
- type CryptoLoanRepayResponse = CryptoLoanRepayResponse1 | CryptoLoanRepayResponse2;
425
-
426
337
  /**
427
338
  * Binance Crypto Loan REST API
428
339
  *
@@ -3931,7 +3842,6 @@ declare class RestAPI {
3931
3842
  * Do not edit the class manually.
3932
3843
  */
3933
3844
 
3934
- type index_BadRequest = BadRequest;
3935
3845
  type index_CheckCollateralRepayRateRequest = CheckCollateralRepayRateRequest;
3936
3846
  type index_CheckCollateralRepayRateResponse = CheckCollateralRepayRateResponse;
3937
3847
  type index_CheckCollateralRepayRateStableRateRequest = CheckCollateralRepayRateStableRateRequest;
@@ -3945,8 +3855,6 @@ type index_CryptoLoanCustomizeMarginCallResponse = CryptoLoanCustomizeMarginCall
3945
3855
  type index_CryptoLoanCustomizeMarginCallResponseRowsInner = CryptoLoanCustomizeMarginCallResponseRowsInner;
3946
3856
  type index_CryptoLoanRepayRequest = CryptoLoanRepayRequest;
3947
3857
  type index_CryptoLoanRepayResponse = CryptoLoanRepayResponse;
3948
- type index_CryptoLoanRepayResponse1 = CryptoLoanRepayResponse1;
3949
- type index_CryptoLoanRepayResponse2 = CryptoLoanRepayResponse2;
3950
3858
  type index_FlexibleLoanAdjustLtvRequest = FlexibleLoanAdjustLtvRequest;
3951
3859
  type index_FlexibleLoanAdjustLtvResponse = FlexibleLoanAdjustLtvResponse;
3952
3860
  type index_FlexibleLoanBorrowRequest = FlexibleLoanBorrowRequest;
@@ -4006,7 +3914,7 @@ type index_StableRateApi = StableRateApi;
4006
3914
  declare const index_StableRateApi: typeof StableRateApi;
4007
3915
  type index_StableRateApiInterface = StableRateApiInterface;
4008
3916
  declare namespace index {
4009
- export { type index_BadRequest as BadRequest, type index_CheckCollateralRepayRateRequest as CheckCollateralRepayRateRequest, type index_CheckCollateralRepayRateResponse as CheckCollateralRepayRateResponse, type index_CheckCollateralRepayRateStableRateRequest as CheckCollateralRepayRateStableRateRequest, type index_CheckCollateralRepayRateStableRateResponse as CheckCollateralRepayRateStableRateResponse, type index_CryptoLoanAdjustLtvRequest as CryptoLoanAdjustLtvRequest, type index_CryptoLoanAdjustLtvResponse as CryptoLoanAdjustLtvResponse, type index_CryptoLoanBorrowRequest as CryptoLoanBorrowRequest, type index_CryptoLoanBorrowResponse as CryptoLoanBorrowResponse, type index_CryptoLoanCustomizeMarginCallRequest as CryptoLoanCustomizeMarginCallRequest, type index_CryptoLoanCustomizeMarginCallResponse as CryptoLoanCustomizeMarginCallResponse, type index_CryptoLoanCustomizeMarginCallResponseRowsInner as CryptoLoanCustomizeMarginCallResponseRowsInner, type index_CryptoLoanRepayRequest as CryptoLoanRepayRequest, type index_CryptoLoanRepayResponse as CryptoLoanRepayResponse, type index_CryptoLoanRepayResponse1 as CryptoLoanRepayResponse1, type index_CryptoLoanRepayResponse2 as CryptoLoanRepayResponse2, type index_FlexibleLoanAdjustLtvRequest as FlexibleLoanAdjustLtvRequest, type index_FlexibleLoanAdjustLtvResponse as FlexibleLoanAdjustLtvResponse, type index_FlexibleLoanBorrowRequest as FlexibleLoanBorrowRequest, type index_FlexibleLoanBorrowResponse as FlexibleLoanBorrowResponse, type index_FlexibleLoanCollateralRepaymentRequest as FlexibleLoanCollateralRepaymentRequest, type index_FlexibleLoanCollateralRepaymentResponse as FlexibleLoanCollateralRepaymentResponse, type index_FlexibleLoanRepayRequest as FlexibleLoanRepayRequest, type index_FlexibleLoanRepayResponse as FlexibleLoanRepayResponse, index_FlexibleRateApi as FlexibleRateApi, type index_FlexibleRateApiInterface as FlexibleRateApiInterface, type index_GetCollateralAssetsDataRequest as GetCollateralAssetsDataRequest, type index_GetCollateralAssetsDataResponse as GetCollateralAssetsDataResponse, type index_GetCollateralAssetsDataResponseRowsInner as GetCollateralAssetsDataResponseRowsInner, type index_GetCryptoLoansIncomeHistoryRequest as GetCryptoLoansIncomeHistoryRequest, type index_GetCryptoLoansIncomeHistoryResponse as GetCryptoLoansIncomeHistoryResponse, type index_GetCryptoLoansIncomeHistoryResponseInner as GetCryptoLoansIncomeHistoryResponseInner, type index_GetFlexibleLoanAssetsDataRequest as GetFlexibleLoanAssetsDataRequest, type index_GetFlexibleLoanAssetsDataResponse as GetFlexibleLoanAssetsDataResponse, type index_GetFlexibleLoanAssetsDataResponseRowsInner as GetFlexibleLoanAssetsDataResponseRowsInner, type index_GetFlexibleLoanBorrowHistoryRequest as GetFlexibleLoanBorrowHistoryRequest, type index_GetFlexibleLoanBorrowHistoryResponse as GetFlexibleLoanBorrowHistoryResponse, type index_GetFlexibleLoanBorrowHistoryResponseRowsInner as GetFlexibleLoanBorrowHistoryResponseRowsInner, type index_GetFlexibleLoanCollateralAssetsDataRequest as GetFlexibleLoanCollateralAssetsDataRequest, type index_GetFlexibleLoanCollateralAssetsDataResponse as GetFlexibleLoanCollateralAssetsDataResponse, type index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner as GetFlexibleLoanCollateralAssetsDataResponseRowsInner, type index_GetFlexibleLoanLiquidationHistoryRequest as GetFlexibleLoanLiquidationHistoryRequest, type index_GetFlexibleLoanLiquidationHistoryResponse as GetFlexibleLoanLiquidationHistoryResponse, type index_GetFlexibleLoanLiquidationHistoryResponseRowsInner as GetFlexibleLoanLiquidationHistoryResponseRowsInner, type index_GetFlexibleLoanLtvAdjustmentHistoryRequest as GetFlexibleLoanLtvAdjustmentHistoryRequest, type index_GetFlexibleLoanLtvAdjustmentHistoryResponse as GetFlexibleLoanLtvAdjustmentHistoryResponse, type index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner as GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetFlexibleLoanOngoingOrdersRequest as GetFlexibleLoanOngoingOrdersRequest, type index_GetFlexibleLoanOngoingOrdersResponse as GetFlexibleLoanOngoingOrdersResponse, type index_GetFlexibleLoanOngoingOrdersResponseRowsInner as GetFlexibleLoanOngoingOrdersResponseRowsInner, type index_GetFlexibleLoanRepaymentHistoryRequest as GetFlexibleLoanRepaymentHistoryRequest, type index_GetFlexibleLoanRepaymentHistoryResponse as GetFlexibleLoanRepaymentHistoryResponse, type index_GetFlexibleLoanRepaymentHistoryResponseRowsInner as GetFlexibleLoanRepaymentHistoryResponseRowsInner, type index_GetLoanBorrowHistoryRequest as GetLoanBorrowHistoryRequest, type index_GetLoanBorrowHistoryResponse as GetLoanBorrowHistoryResponse, type index_GetLoanBorrowHistoryResponseRowsInner as GetLoanBorrowHistoryResponseRowsInner, type index_GetLoanLtvAdjustmentHistoryRequest as GetLoanLtvAdjustmentHistoryRequest, type index_GetLoanLtvAdjustmentHistoryResponse as GetLoanLtvAdjustmentHistoryResponse, type index_GetLoanLtvAdjustmentHistoryResponseRowsInner as GetLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetLoanOngoingOrdersRequest as GetLoanOngoingOrdersRequest, type index_GetLoanOngoingOrdersResponse as GetLoanOngoingOrdersResponse, type index_GetLoanOngoingOrdersResponseRowsInner as GetLoanOngoingOrdersResponseRowsInner, type index_GetLoanRepaymentHistoryRequest as GetLoanRepaymentHistoryRequest, type index_GetLoanRepaymentHistoryResponse as GetLoanRepaymentHistoryResponse, type index_GetLoanRepaymentHistoryResponseRowsInner as GetLoanRepaymentHistoryResponseRowsInner, type index_GetLoanableAssetsDataRequest as GetLoanableAssetsDataRequest, type index_GetLoanableAssetsDataResponse as GetLoanableAssetsDataResponse, type index_GetLoanableAssetsDataResponseRowsInner as GetLoanableAssetsDataResponseRowsInner, index_RestAPI as RestAPI, index_StableRateApi as StableRateApi, type index_StableRateApiInterface as StableRateApiInterface };
3917
+ export { type index_CheckCollateralRepayRateRequest as CheckCollateralRepayRateRequest, type index_CheckCollateralRepayRateResponse as CheckCollateralRepayRateResponse, type index_CheckCollateralRepayRateStableRateRequest as CheckCollateralRepayRateStableRateRequest, type index_CheckCollateralRepayRateStableRateResponse as CheckCollateralRepayRateStableRateResponse, type index_CryptoLoanAdjustLtvRequest as CryptoLoanAdjustLtvRequest, type index_CryptoLoanAdjustLtvResponse as CryptoLoanAdjustLtvResponse, type index_CryptoLoanBorrowRequest as CryptoLoanBorrowRequest, type index_CryptoLoanBorrowResponse as CryptoLoanBorrowResponse, type index_CryptoLoanCustomizeMarginCallRequest as CryptoLoanCustomizeMarginCallRequest, type index_CryptoLoanCustomizeMarginCallResponse as CryptoLoanCustomizeMarginCallResponse, type index_CryptoLoanCustomizeMarginCallResponseRowsInner as CryptoLoanCustomizeMarginCallResponseRowsInner, type index_CryptoLoanRepayRequest as CryptoLoanRepayRequest, type index_CryptoLoanRepayResponse as CryptoLoanRepayResponse, type index_FlexibleLoanAdjustLtvRequest as FlexibleLoanAdjustLtvRequest, type index_FlexibleLoanAdjustLtvResponse as FlexibleLoanAdjustLtvResponse, type index_FlexibleLoanBorrowRequest as FlexibleLoanBorrowRequest, type index_FlexibleLoanBorrowResponse as FlexibleLoanBorrowResponse, type index_FlexibleLoanCollateralRepaymentRequest as FlexibleLoanCollateralRepaymentRequest, type index_FlexibleLoanCollateralRepaymentResponse as FlexibleLoanCollateralRepaymentResponse, type index_FlexibleLoanRepayRequest as FlexibleLoanRepayRequest, type index_FlexibleLoanRepayResponse as FlexibleLoanRepayResponse, index_FlexibleRateApi as FlexibleRateApi, type index_FlexibleRateApiInterface as FlexibleRateApiInterface, type index_GetCollateralAssetsDataRequest as GetCollateralAssetsDataRequest, type index_GetCollateralAssetsDataResponse as GetCollateralAssetsDataResponse, type index_GetCollateralAssetsDataResponseRowsInner as GetCollateralAssetsDataResponseRowsInner, type index_GetCryptoLoansIncomeHistoryRequest as GetCryptoLoansIncomeHistoryRequest, type index_GetCryptoLoansIncomeHistoryResponse as GetCryptoLoansIncomeHistoryResponse, type index_GetCryptoLoansIncomeHistoryResponseInner as GetCryptoLoansIncomeHistoryResponseInner, type index_GetFlexibleLoanAssetsDataRequest as GetFlexibleLoanAssetsDataRequest, type index_GetFlexibleLoanAssetsDataResponse as GetFlexibleLoanAssetsDataResponse, type index_GetFlexibleLoanAssetsDataResponseRowsInner as GetFlexibleLoanAssetsDataResponseRowsInner, type index_GetFlexibleLoanBorrowHistoryRequest as GetFlexibleLoanBorrowHistoryRequest, type index_GetFlexibleLoanBorrowHistoryResponse as GetFlexibleLoanBorrowHistoryResponse, type index_GetFlexibleLoanBorrowHistoryResponseRowsInner as GetFlexibleLoanBorrowHistoryResponseRowsInner, type index_GetFlexibleLoanCollateralAssetsDataRequest as GetFlexibleLoanCollateralAssetsDataRequest, type index_GetFlexibleLoanCollateralAssetsDataResponse as GetFlexibleLoanCollateralAssetsDataResponse, type index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner as GetFlexibleLoanCollateralAssetsDataResponseRowsInner, type index_GetFlexibleLoanLiquidationHistoryRequest as GetFlexibleLoanLiquidationHistoryRequest, type index_GetFlexibleLoanLiquidationHistoryResponse as GetFlexibleLoanLiquidationHistoryResponse, type index_GetFlexibleLoanLiquidationHistoryResponseRowsInner as GetFlexibleLoanLiquidationHistoryResponseRowsInner, type index_GetFlexibleLoanLtvAdjustmentHistoryRequest as GetFlexibleLoanLtvAdjustmentHistoryRequest, type index_GetFlexibleLoanLtvAdjustmentHistoryResponse as GetFlexibleLoanLtvAdjustmentHistoryResponse, type index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner as GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetFlexibleLoanOngoingOrdersRequest as GetFlexibleLoanOngoingOrdersRequest, type index_GetFlexibleLoanOngoingOrdersResponse as GetFlexibleLoanOngoingOrdersResponse, type index_GetFlexibleLoanOngoingOrdersResponseRowsInner as GetFlexibleLoanOngoingOrdersResponseRowsInner, type index_GetFlexibleLoanRepaymentHistoryRequest as GetFlexibleLoanRepaymentHistoryRequest, type index_GetFlexibleLoanRepaymentHistoryResponse as GetFlexibleLoanRepaymentHistoryResponse, type index_GetFlexibleLoanRepaymentHistoryResponseRowsInner as GetFlexibleLoanRepaymentHistoryResponseRowsInner, type index_GetLoanBorrowHistoryRequest as GetLoanBorrowHistoryRequest, type index_GetLoanBorrowHistoryResponse as GetLoanBorrowHistoryResponse, type index_GetLoanBorrowHistoryResponseRowsInner as GetLoanBorrowHistoryResponseRowsInner, type index_GetLoanLtvAdjustmentHistoryRequest as GetLoanLtvAdjustmentHistoryRequest, type index_GetLoanLtvAdjustmentHistoryResponse as GetLoanLtvAdjustmentHistoryResponse, type index_GetLoanLtvAdjustmentHistoryResponseRowsInner as GetLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetLoanOngoingOrdersRequest as GetLoanOngoingOrdersRequest, type index_GetLoanOngoingOrdersResponse as GetLoanOngoingOrdersResponse, type index_GetLoanOngoingOrdersResponseRowsInner as GetLoanOngoingOrdersResponseRowsInner, type index_GetLoanRepaymentHistoryRequest as GetLoanRepaymentHistoryRequest, type index_GetLoanRepaymentHistoryResponse as GetLoanRepaymentHistoryResponse, type index_GetLoanRepaymentHistoryResponseRowsInner as GetLoanRepaymentHistoryResponseRowsInner, type index_GetLoanableAssetsDataRequest as GetLoanableAssetsDataRequest, type index_GetLoanableAssetsDataResponse as GetLoanableAssetsDataResponse, type index_GetLoanableAssetsDataResponseRowsInner as GetLoanableAssetsDataResponseRowsInner, index_RestAPI as RestAPI, index_StableRateApi as StableRateApi, type index_StableRateApiInterface as StableRateApiInterface };
4010
3918
  }
4011
3919
 
4012
3920
  interface ConfigurationCryptoLoan {
package/dist/index.js CHANGED
@@ -42,7 +42,7 @@ var import_common4 = require("@binance/common");
42
42
 
43
43
  // package.json
44
44
  var name = "@binance/crypto-loan";
45
- var version = "1.0.1";
45
+ var version = "3.0.0";
46
46
 
47
47
  // src/rest-api/index.ts
48
48
  var rest_api_exports = {};