@binance/derivatives-trading-portfolio-margin-pro 3.0.0 → 4.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
@@ -1923,7 +1923,7 @@ declare class AccountApi implements AccountApiInterface {
1923
1923
  * @returns {Promise<RestApiResponse<TransferLdusdtForPortfolioMarginResponse>>}
1924
1924
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1925
1925
  * @memberof AccountApi
1926
- * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Transfer-LDUSDT-for-Portfolio-Margin Binance API Documentation}
1926
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Transfer-LDUSDT-Portfolio-Margin Binance API Documentation}
1927
1927
  */
1928
1928
  transferLdusdtForPortfolioMargin(requestParameters: TransferLdusdtForPortfolioMarginRequest): Promise<RestApiResponse<TransferLdusdtForPortfolioMarginResponse>>;
1929
1929
  }
@@ -2329,7 +2329,7 @@ declare class RestAPI {
2329
2329
  * @param {TransferLdusdtForPortfolioMarginRequest} requestParameters Request parameters.
2330
2330
  * @returns {Promise<RestApiResponse<TransferLdusdtForPortfolioMarginResponse>>}
2331
2331
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2332
- * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Transfer-LDUSDT-for-Portfolio-Margin Binance API Documentation}
2332
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Transfer-LDUSDT-Portfolio-Margin Binance API Documentation}
2333
2333
  */
2334
2334
  transferLdusdtForPortfolioMargin(requestParameters: TransferLdusdtForPortfolioMarginRequest): Promise<RestApiResponse<TransferLdusdtForPortfolioMarginResponse>>;
2335
2335
  /**
package/dist/index.d.ts CHANGED
@@ -1923,7 +1923,7 @@ declare class AccountApi implements AccountApiInterface {
1923
1923
  * @returns {Promise<RestApiResponse<TransferLdusdtForPortfolioMarginResponse>>}
1924
1924
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1925
1925
  * @memberof AccountApi
1926
- * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Transfer-LDUSDT-for-Portfolio-Margin Binance API Documentation}
1926
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Transfer-LDUSDT-Portfolio-Margin Binance API Documentation}
1927
1927
  */
1928
1928
  transferLdusdtForPortfolioMargin(requestParameters: TransferLdusdtForPortfolioMarginRequest): Promise<RestApiResponse<TransferLdusdtForPortfolioMarginResponse>>;
1929
1929
  }
@@ -2329,7 +2329,7 @@ declare class RestAPI {
2329
2329
  * @param {TransferLdusdtForPortfolioMarginRequest} requestParameters Request parameters.
2330
2330
  * @returns {Promise<RestApiResponse<TransferLdusdtForPortfolioMarginResponse>>}
2331
2331
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2332
- * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Transfer-LDUSDT-for-Portfolio-Margin Binance API Documentation}
2332
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Transfer-LDUSDT-Portfolio-Margin Binance API Documentation}
2333
2333
  */
2334
2334
  transferLdusdtForPortfolioMargin(requestParameters: TransferLdusdtForPortfolioMarginRequest): Promise<RestApiResponse<TransferLdusdtForPortfolioMarginResponse>>;
2335
2335
  /**
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ var import_common4 = require("@binance/common");
43
43
 
44
44
  // package.json
45
45
  var name = "@binance/derivatives-trading-portfolio-margin-pro";
46
- var version = "3.0.0";
46
+ var version = "4.0.0";
47
47
 
48
48
  // src/rest-api/index.ts
49
49
  var rest_api_exports = {};
@@ -597,7 +597,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
597
597
  let _timeUnit;
598
598
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
599
599
  return {
600
- endpoint: "/sapi/v1/portfolio/earn-asset-balance",
600
+ endpoint: "/sapi/v1/portfolio/earn-asset-transfer",
601
601
  method: "POST",
602
602
  params: localVarQueryParameter,
603
603
  timeUnit: _timeUnit
@@ -1058,7 +1058,7 @@ var AccountApi = class {
1058
1058
  * @returns {Promise<RestApiResponse<TransferLdusdtForPortfolioMarginResponse>>}
1059
1059
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1060
1060
  * @memberof AccountApi
1061
- * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Transfer-LDUSDT-for-Portfolio-Margin Binance API Documentation}
1061
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Transfer-LDUSDT-Portfolio-Margin Binance API Documentation}
1062
1062
  */
1063
1063
  async transferLdusdtForPortfolioMargin(requestParameters) {
1064
1064
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.transferLdusdtForPortfolioMargin(
@@ -1555,7 +1555,7 @@ var RestAPI = class {
1555
1555
  * @param {TransferLdusdtForPortfolioMarginRequest} requestParameters Request parameters.
1556
1556
  * @returns {Promise<RestApiResponse<TransferLdusdtForPortfolioMarginResponse>>}
1557
1557
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1558
- * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Transfer-LDUSDT-for-Portfolio-Margin Binance API Documentation}
1558
+ * @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Transfer-LDUSDT-Portfolio-Margin Binance API Documentation}
1559
1559
  */
1560
1560
  transferLdusdtForPortfolioMargin(requestParameters) {
1561
1561
  return this.accountApi.transferLdusdtForPortfolioMargin(requestParameters);