@binance/crypto-loan 7.0.0 → 8.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 +58 -42
- package/dist/index.d.ts +58 -42
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
|
|
14
14
|
// package.json
|
|
15
15
|
var name = "@binance/crypto-loan";
|
|
16
|
-
var version = "
|
|
16
|
+
var version = "8.0.0";
|
|
17
17
|
|
|
18
18
|
// src/rest-api/index.ts
|
|
19
19
|
var rest_api_exports = {};
|
|
@@ -1326,6 +1326,7 @@ var RestAPI = class {
|
|
|
1326
1326
|
*
|
|
1327
1327
|
* @summary Check Collateral Repay Rate (USER_DATA)
|
|
1328
1328
|
* @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
|
|
1329
|
+
*
|
|
1329
1330
|
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
|
|
1330
1331
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1331
1332
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
@@ -1342,6 +1343,7 @@ var RestAPI = class {
|
|
|
1342
1343
|
*
|
|
1343
1344
|
* @summary Flexible Loan Adjust LTV(TRADE)
|
|
1344
1345
|
* @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
1346
|
+
*
|
|
1345
1347
|
* @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
|
|
1346
1348
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1347
1349
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
|
|
@@ -1360,6 +1362,7 @@ var RestAPI = class {
|
|
|
1360
1362
|
*
|
|
1361
1363
|
* @summary Flexible Loan Borrow(TRADE)
|
|
1362
1364
|
* @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
|
|
1365
|
+
*
|
|
1363
1366
|
* @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
|
|
1364
1367
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1365
1368
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
|
|
@@ -1377,6 +1380,7 @@ var RestAPI = class {
|
|
|
1377
1380
|
*
|
|
1378
1381
|
* @summary Flexible Loan Repay(TRADE)
|
|
1379
1382
|
* @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
|
|
1383
|
+
*
|
|
1380
1384
|
* @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
|
|
1381
1385
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1382
1386
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
|
|
@@ -1391,6 +1395,7 @@ var RestAPI = class {
|
|
|
1391
1395
|
*
|
|
1392
1396
|
* @summary Get Flexible Loan Assets Data(USER_DATA)
|
|
1393
1397
|
* @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
|
|
1398
|
+
*
|
|
1394
1399
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
|
|
1395
1400
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1396
1401
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
|
|
@@ -1408,6 +1413,7 @@ var RestAPI = class {
|
|
|
1408
1413
|
*
|
|
1409
1414
|
* @summary Get Flexible Loan Borrow History(USER_DATA)
|
|
1410
1415
|
* @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
1416
|
+
*
|
|
1411
1417
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
|
|
1412
1418
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1413
1419
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
|
|
@@ -1422,6 +1428,7 @@ var RestAPI = class {
|
|
|
1422
1428
|
*
|
|
1423
1429
|
* @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
|
|
1424
1430
|
* @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
1431
|
+
*
|
|
1425
1432
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
|
|
1426
1433
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1427
1434
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
|
|
@@ -1435,6 +1442,7 @@ var RestAPI = class {
|
|
|
1435
1442
|
*
|
|
1436
1443
|
* @summary Get Flexible Loan Liquidation History (USER_DATA)
|
|
1437
1444
|
* @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
|
|
1445
|
+
*
|
|
1438
1446
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
|
|
1439
1447
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1440
1448
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
|
|
@@ -1452,6 +1460,7 @@ var RestAPI = class {
|
|
|
1452
1460
|
*
|
|
1453
1461
|
* @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
|
|
1454
1462
|
* @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
1463
|
+
*
|
|
1455
1464
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
|
|
1456
1465
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1457
1466
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
@@ -1466,6 +1475,7 @@ var RestAPI = class {
|
|
|
1466
1475
|
*
|
|
1467
1476
|
* @summary Get Flexible Loan Ongoing Orders(USER_DATA)
|
|
1468
1477
|
* @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
1478
|
+
*
|
|
1469
1479
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
|
|
1470
1480
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1471
1481
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
|
|
@@ -1483,6 +1493,7 @@ var RestAPI = class {
|
|
|
1483
1493
|
*
|
|
1484
1494
|
* @summary Get Flexible Loan Repayment History(USER_DATA)
|
|
1485
1495
|
* @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
1496
|
+
*
|
|
1486
1497
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
|
|
1487
1498
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1488
1499
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
|
|
@@ -1497,6 +1508,7 @@ var RestAPI = class {
|
|
|
1497
1508
|
*
|
|
1498
1509
|
* @summary Check Collateral Repay Rate(USER_DATA)
|
|
1499
1510
|
* @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
|
|
1511
|
+
*
|
|
1500
1512
|
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
|
|
1501
1513
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1502
1514
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
@@ -1514,6 +1526,7 @@ var RestAPI = class {
|
|
|
1514
1526
|
*
|
|
1515
1527
|
* @summary Get Crypto Loans Income History(USER_DATA)
|
|
1516
1528
|
* @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
|
|
1529
|
+
*
|
|
1517
1530
|
* @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
|
|
1518
1531
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1519
1532
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
|
|
@@ -1531,6 +1544,7 @@ var RestAPI = class {
|
|
|
1531
1544
|
*
|
|
1532
1545
|
* @summary Get Loan Borrow History(USER_DATA)
|
|
1533
1546
|
* @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
1547
|
+
*
|
|
1534
1548
|
* @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
|
|
1535
1549
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1536
1550
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
|
|
@@ -1548,6 +1562,7 @@ var RestAPI = class {
|
|
|
1548
1562
|
*
|
|
1549
1563
|
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
1550
1564
|
* @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
1565
|
+
*
|
|
1551
1566
|
* @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
|
|
1552
1567
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1553
1568
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
@@ -1565,6 +1580,7 @@ var RestAPI = class {
|
|
|
1565
1580
|
*
|
|
1566
1581
|
* @summary Get Loan Repayment History(USER_DATA)
|
|
1567
1582
|
* @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
1583
|
+
*
|
|
1568
1584
|
* @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
|
|
1569
1585
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1570
1586
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
|