@binance/crypto-loan 1.0.1 → 2.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 +1 -34
- package/dist/index.d.ts +1 -34
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -2
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
|
*
|
|
@@ -3931,7 +3899,6 @@ declare class RestAPI {
|
|
|
3931
3899
|
* Do not edit the class manually.
|
|
3932
3900
|
*/
|
|
3933
3901
|
|
|
3934
|
-
type index_BadRequest = BadRequest;
|
|
3935
3902
|
type index_CheckCollateralRepayRateRequest = CheckCollateralRepayRateRequest;
|
|
3936
3903
|
type index_CheckCollateralRepayRateResponse = CheckCollateralRepayRateResponse;
|
|
3937
3904
|
type index_CheckCollateralRepayRateStableRateRequest = CheckCollateralRepayRateStableRateRequest;
|
|
@@ -4006,7 +3973,7 @@ type index_StableRateApi = StableRateApi;
|
|
|
4006
3973
|
declare const index_StableRateApi: typeof StableRateApi;
|
|
4007
3974
|
type index_StableRateApiInterface = StableRateApiInterface;
|
|
4008
3975
|
declare namespace index {
|
|
4009
|
-
export { type
|
|
3976
|
+
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_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 };
|
|
4010
3977
|
}
|
|
4011
3978
|
|
|
4012
3979
|
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
|
*
|
|
@@ -3931,7 +3899,6 @@ declare class RestAPI {
|
|
|
3931
3899
|
* Do not edit the class manually.
|
|
3932
3900
|
*/
|
|
3933
3901
|
|
|
3934
|
-
type index_BadRequest = BadRequest;
|
|
3935
3902
|
type index_CheckCollateralRepayRateRequest = CheckCollateralRepayRateRequest;
|
|
3936
3903
|
type index_CheckCollateralRepayRateResponse = CheckCollateralRepayRateResponse;
|
|
3937
3904
|
type index_CheckCollateralRepayRateStableRateRequest = CheckCollateralRepayRateStableRateRequest;
|
|
@@ -4006,7 +3973,7 @@ type index_StableRateApi = StableRateApi;
|
|
|
4006
3973
|
declare const index_StableRateApi: typeof StableRateApi;
|
|
4007
3974
|
type index_StableRateApiInterface = StableRateApiInterface;
|
|
4008
3975
|
declare namespace index {
|
|
4009
|
-
export { type
|
|
3976
|
+
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_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 };
|
|
4010
3977
|
}
|
|
4011
3978
|
|
|
4012
3979
|
interface ConfigurationCryptoLoan {
|