@binance/derivatives-trading-portfolio-margin-pro 13.0.0 → 14.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
@@ -2442,6 +2442,75 @@ declare namespace index_d_exports {
2442
2442
  export { AccountApi, AccountApiInterface, BnbTransferRequest, BnbTransferResponse, ChangeAutoRepayFuturesStatusRequest, ChangeAutoRepayFuturesStatusResponse, DeleteMarginCallLevelRequest, DeleteMarginCallLevelResponse, FundAutoCollectionRequest, FundAutoCollectionResponse, FundCollectionByAssetRequest, FundCollectionByAssetResponse, GetAutoRepayFuturesStatusRequest, GetAutoRepayFuturesStatusResponse, GetDeltaModeStatusRequest, GetDeltaModeStatusResponse, GetMarginCallLevelRequest, GetMarginCallLevelResponse, GetPortfolioMarginAssetLeverageResponse, GetPortfolioMarginAssetLeverageResponseInner, GetPortfolioMarginProAccountBalanceRequest, GetPortfolioMarginProAccountBalanceResponse, GetPortfolioMarginProAccountBalanceResponseInner, GetPortfolioMarginProAccountInfoRequest, GetPortfolioMarginProAccountInfoResponse, GetPortfolioMarginProSpanAccountInfoRequest, GetPortfolioMarginProSpanAccountInfoResponse, GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner, GetTransferableEarnAssetBalanceForPortfolioMarginRequest, GetTransferableEarnAssetBalanceForPortfolioMarginResponse, MarketDataApi, MarketDataApiInterface, PortfolioMarginCollateralRateResponse, PortfolioMarginCollateralRateResponseInner, PortfolioMarginProBankruptcyLoanRepayRequest, PortfolioMarginProBankruptcyLoanRepayResponse, PortfolioMarginProTieredCollateralRateRequest, PortfolioMarginProTieredCollateralRateResponse, PortfolioMarginProTieredCollateralRateResponseInner, PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner, QueryPortfolioMarginAssetIndexPriceRequest, QueryPortfolioMarginAssetIndexPriceResponse, QueryPortfolioMarginAssetIndexPriceResponseInner, QueryPortfolioMarginProBankruptcyLoanAmountRequest, QueryPortfolioMarginProBankruptcyLoanAmountResponse, QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest, QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse, QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner, QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest, QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse, QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner, RepayFuturesNegativeBalanceRequest, RepayFuturesNegativeBalanceResponse, RestAPI, SetMarginCallLevelRequest, SetMarginCallLevelResponse, SwitchDeltaModeRequest, SwitchDeltaModeResponse, TransferLdusdtRwusdForPortfolioMarginRequest, TransferLdusdtRwusdForPortfolioMarginResponse };
2443
2443
  }
2444
2444
  //#endregion
2445
+ //#region src/websocket-streams/types/pm-pro-account-update.d.ts
2446
+ /**
2447
+ * Binance Derivatives Trading Portfolio Margin Pro WebSocket Market Streams
2448
+ *
2449
+ * OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin Pro WebSocket Market Streams
2450
+ *
2451
+ * The version of the OpenAPI document: 1.0.0
2452
+ *
2453
+ *
2454
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2455
+ * https://openapi-generator.tech
2456
+ * Do not edit the class manually.
2457
+ */
2458
+ /**
2459
+ *
2460
+ * @export
2461
+ * @interface PmProAccountUpdate
2462
+ */
2463
+ interface PmProAccountUpdate {
2464
+ /**
2465
+ *
2466
+ * @type {number | bigint}
2467
+ * @memberof PmProAccountUpdate
2468
+ */
2469
+ E?: number | bigint;
2470
+ /**
2471
+ *
2472
+ * @type {string}
2473
+ * @memberof PmProAccountUpdate
2474
+ */
2475
+ u?: string;
2476
+ /**
2477
+ *
2478
+ * @type {string}
2479
+ * @memberof PmProAccountUpdate
2480
+ */
2481
+ eq?: string;
2482
+ /**
2483
+ *
2484
+ * @type {string}
2485
+ * @memberof PmProAccountUpdate
2486
+ */
2487
+ ae?: string;
2488
+ /**
2489
+ *
2490
+ * @type {string}
2491
+ * @memberof PmProAccountUpdate
2492
+ */
2493
+ im?: string;
2494
+ /**
2495
+ *
2496
+ * @type {string}
2497
+ * @memberof PmProAccountUpdate
2498
+ */
2499
+ mm?: string;
2500
+ /**
2501
+ *
2502
+ * @type {string}
2503
+ * @memberof PmProAccountUpdate
2504
+ */
2505
+ avb?: string;
2506
+ /**
2507
+ *
2508
+ * @type {string}
2509
+ * @memberof PmProAccountUpdate
2510
+ */
2511
+ vmw?: string;
2512
+ }
2513
+ //#endregion
2445
2514
  //#region src/websocket-streams/types/risklevelchange.d.ts
2446
2515
  /**
2447
2516
  * Binance Derivatives Trading Portfolio Margin Pro WebSocket Market Streams
@@ -2504,9 +2573,11 @@ interface Risklevelchange {
2504
2573
  * @type UserDataStreamEventsResponse
2505
2574
  * @export
2506
2575
  */
2507
- type UserDataStreamEventsResponse = {
2576
+ type UserDataStreamEventsResponse = ({
2577
+ e: 'PM_PRO_ACCOUNT_UPDATE';
2578
+ } & PmProAccountUpdate) | ({
2508
2579
  e: 'riskLevelChange';
2509
- } & Risklevelchange;
2580
+ } & Risklevelchange);
2510
2581
  //#endregion
2511
2582
  //#region src/websocket-streams/websocket-streams-connection.d.ts
2512
2583
  declare class WebsocketStreamsConnection {
@@ -2600,7 +2671,7 @@ declare class WebsocketStreams {
2600
2671
  }): Promise<WebsocketStreamsConnection>;
2601
2672
  }
2602
2673
  declare namespace index_d_exports$1 {
2603
- export { Risklevelchange, UserDataStreamEventsResponse, WebsocketStreams, WebsocketStreamsConnection };
2674
+ export { PmProAccountUpdate, Risklevelchange, UserDataStreamEventsResponse, WebsocketStreams, WebsocketStreamsConnection };
2604
2675
  }
2605
2676
  //#endregion
2606
2677
  //#region src/derivatives-trading-portfolio-margin-pro.d.ts
package/dist/index.d.ts CHANGED
@@ -2444,6 +2444,75 @@ declare namespace index_d_exports {
2444
2444
  export { AccountApi, AccountApiInterface, BnbTransferRequest, BnbTransferResponse, ChangeAutoRepayFuturesStatusRequest, ChangeAutoRepayFuturesStatusResponse, DeleteMarginCallLevelRequest, DeleteMarginCallLevelResponse, FundAutoCollectionRequest, FundAutoCollectionResponse, FundCollectionByAssetRequest, FundCollectionByAssetResponse, GetAutoRepayFuturesStatusRequest, GetAutoRepayFuturesStatusResponse, GetDeltaModeStatusRequest, GetDeltaModeStatusResponse, GetMarginCallLevelRequest, GetMarginCallLevelResponse, GetPortfolioMarginAssetLeverageResponse, GetPortfolioMarginAssetLeverageResponseInner, GetPortfolioMarginProAccountBalanceRequest, GetPortfolioMarginProAccountBalanceResponse, GetPortfolioMarginProAccountBalanceResponseInner, GetPortfolioMarginProAccountInfoRequest, GetPortfolioMarginProAccountInfoResponse, GetPortfolioMarginProSpanAccountInfoRequest, GetPortfolioMarginProSpanAccountInfoResponse, GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner, GetTransferableEarnAssetBalanceForPortfolioMarginRequest, GetTransferableEarnAssetBalanceForPortfolioMarginResponse, MarketDataApi, MarketDataApiInterface, PortfolioMarginCollateralRateResponse, PortfolioMarginCollateralRateResponseInner, PortfolioMarginProBankruptcyLoanRepayRequest, PortfolioMarginProBankruptcyLoanRepayResponse, PortfolioMarginProTieredCollateralRateRequest, PortfolioMarginProTieredCollateralRateResponse, PortfolioMarginProTieredCollateralRateResponseInner, PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner, QueryPortfolioMarginAssetIndexPriceRequest, QueryPortfolioMarginAssetIndexPriceResponse, QueryPortfolioMarginAssetIndexPriceResponseInner, QueryPortfolioMarginProBankruptcyLoanAmountRequest, QueryPortfolioMarginProBankruptcyLoanAmountResponse, QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest, QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse, QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner, QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest, QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse, QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner, RepayFuturesNegativeBalanceRequest, RepayFuturesNegativeBalanceResponse, RestAPI, SetMarginCallLevelRequest, SetMarginCallLevelResponse, SwitchDeltaModeRequest, SwitchDeltaModeResponse, TransferLdusdtRwusdForPortfolioMarginRequest, TransferLdusdtRwusdForPortfolioMarginResponse };
2445
2445
  }
2446
2446
  //#endregion
2447
+ //#region src/websocket-streams/types/pm-pro-account-update.d.ts
2448
+ /**
2449
+ * Binance Derivatives Trading Portfolio Margin Pro WebSocket Market Streams
2450
+ *
2451
+ * OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin Pro WebSocket Market Streams
2452
+ *
2453
+ * The version of the OpenAPI document: 1.0.0
2454
+ *
2455
+ *
2456
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2457
+ * https://openapi-generator.tech
2458
+ * Do not edit the class manually.
2459
+ */
2460
+ /**
2461
+ *
2462
+ * @export
2463
+ * @interface PmProAccountUpdate
2464
+ */
2465
+ interface PmProAccountUpdate {
2466
+ /**
2467
+ *
2468
+ * @type {number | bigint}
2469
+ * @memberof PmProAccountUpdate
2470
+ */
2471
+ E?: number | bigint;
2472
+ /**
2473
+ *
2474
+ * @type {string}
2475
+ * @memberof PmProAccountUpdate
2476
+ */
2477
+ u?: string;
2478
+ /**
2479
+ *
2480
+ * @type {string}
2481
+ * @memberof PmProAccountUpdate
2482
+ */
2483
+ eq?: string;
2484
+ /**
2485
+ *
2486
+ * @type {string}
2487
+ * @memberof PmProAccountUpdate
2488
+ */
2489
+ ae?: string;
2490
+ /**
2491
+ *
2492
+ * @type {string}
2493
+ * @memberof PmProAccountUpdate
2494
+ */
2495
+ im?: string;
2496
+ /**
2497
+ *
2498
+ * @type {string}
2499
+ * @memberof PmProAccountUpdate
2500
+ */
2501
+ mm?: string;
2502
+ /**
2503
+ *
2504
+ * @type {string}
2505
+ * @memberof PmProAccountUpdate
2506
+ */
2507
+ avb?: string;
2508
+ /**
2509
+ *
2510
+ * @type {string}
2511
+ * @memberof PmProAccountUpdate
2512
+ */
2513
+ vmw?: string;
2514
+ }
2515
+ //#endregion
2447
2516
  //#region src/websocket-streams/types/risklevelchange.d.ts
2448
2517
  /**
2449
2518
  * Binance Derivatives Trading Portfolio Margin Pro WebSocket Market Streams
@@ -2506,9 +2575,11 @@ interface Risklevelchange {
2506
2575
  * @type UserDataStreamEventsResponse
2507
2576
  * @export
2508
2577
  */
2509
- type UserDataStreamEventsResponse = {
2578
+ type UserDataStreamEventsResponse = ({
2579
+ e: 'PM_PRO_ACCOUNT_UPDATE';
2580
+ } & PmProAccountUpdate) | ({
2510
2581
  e: 'riskLevelChange';
2511
- } & Risklevelchange;
2582
+ } & Risklevelchange);
2512
2583
  //#endregion
2513
2584
  //#region src/websocket-streams/websocket-streams-connection.d.ts
2514
2585
  declare class WebsocketStreamsConnection {
@@ -2602,7 +2673,7 @@ declare class WebsocketStreams {
2602
2673
  }): Promise<WebsocketStreamsConnection>;
2603
2674
  }
2604
2675
  declare namespace index_d_exports$1 {
2605
- export { Risklevelchange, UserDataStreamEventsResponse, WebsocketStreams, WebsocketStreamsConnection };
2676
+ export { PmProAccountUpdate, Risklevelchange, UserDataStreamEventsResponse, WebsocketStreams, WebsocketStreamsConnection };
2606
2677
  }
2607
2678
  //#endregion
2608
2679
  //#region src/derivatives-trading-portfolio-margin-pro.d.ts
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ let __binance_common = require("@binance/common");
14
14
 
15
15
  //#region package.json
16
16
  var name = "@binance/derivatives-trading-portfolio-margin-pro";
17
- var version = "13.0.0";
17
+ var version = "14.0.0";
18
18
 
19
19
  //#endregion
20
20
  //#region src/rest-api/modules/account-api.ts