import { BadRequestError, ConfigurationRestAPI, ConfigurationWebsocketAPI, ConfigurationWebsocketStreams, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, RestApiResponse, SPOT_REST_API_DEMO_URL, SPOT_REST_API_PROD_URL, SPOT_REST_API_TESTNET_URL, SPOT_WS_API_DEMO_URL, SPOT_WS_API_PROD_URL, SPOT_WS_API_TESTNET_URL, SPOT_WS_STREAMS_DEMO_URL, SPOT_WS_STREAMS_PROD_URL, SPOT_WS_STREAMS_TESTNET_URL, ServerError, TimeUnit, TimeUnit as TimeUnit$1, TooManyRequestsError, UnauthorizedError, WebsocketAPIBase, WebsocketApiResponse, WebsocketSendMsgOptions, WebsocketStream, WebsocketStreamsBase } from "@binance/common";

//#region src/rest-api/types/account-commission-response-discount.d.ts

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseDiscount
 */
interface AccountCommissionResponseDiscount {
  /**
   *
   * @type {boolean}
   * @memberof AccountCommissionResponseDiscount
   */
  enabledForAccount?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof AccountCommissionResponseDiscount
   */
  enabledForSymbol?: boolean;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseDiscount
   */
  discountAsset?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseDiscount
   */
  discount?: string;
}
//#endregion
//#region src/rest-api/types/account-commission-response-special-commission.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseSpecialCommission
 */
interface AccountCommissionResponseSpecialCommission {
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseSpecialCommission
   */
  maker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseSpecialCommission
   */
  taker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseSpecialCommission
   */
  buyer?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseSpecialCommission
   */
  seller?: string;
}
//#endregion
//#region src/rest-api/types/account-commission-response-standard-commission.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseStandardCommission
 */
interface AccountCommissionResponseStandardCommission {
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseStandardCommission
   */
  maker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseStandardCommission
   */
  taker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseStandardCommission
   */
  buyer?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseStandardCommission
   */
  seller?: string;
}
//#endregion
//#region src/rest-api/types/account-commission-response-tax-commission.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseTaxCommission
 */
interface AccountCommissionResponseTaxCommission {
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseTaxCommission
   */
  maker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseTaxCommission
   */
  taker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseTaxCommission
   */
  buyer?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseTaxCommission
   */
  seller?: string;
}
//#endregion
//#region src/rest-api/types/account-commission-response.d.ts

/**
 *
 * @export
 * @interface AccountCommissionResponse
 */
interface AccountCommissionResponse$1 {
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponse
   */
  symbol?: string;
  /**
   *
   * @type {AccountCommissionResponseStandardCommission}
   * @memberof AccountCommissionResponse
   */
  standardCommission?: AccountCommissionResponseStandardCommission;
  /**
   *
   * @type {AccountCommissionResponseSpecialCommission}
   * @memberof AccountCommissionResponse
   */
  specialCommission?: AccountCommissionResponseSpecialCommission;
  /**
   *
   * @type {AccountCommissionResponseTaxCommission}
   * @memberof AccountCommissionResponse
   */
  taxCommission?: AccountCommissionResponseTaxCommission;
  /**
   *
   * @type {AccountCommissionResponseDiscount}
   * @memberof AccountCommissionResponse
   */
  discount?: AccountCommissionResponseDiscount;
}
//#endregion
//#region src/rest-api/types/agg-trades-response-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AggTradesResponseInner
 */
interface AggTradesResponseInner {
  /**
   *
   * @type {number | bigint}
   * @memberof AggTradesResponseInner
   */
  a?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AggTradesResponseInner
   */
  p?: string;
  /**
   *
   * @type {string}
   * @memberof AggTradesResponseInner
   */
  q?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AggTradesResponseInner
   */
  f?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AggTradesResponseInner
   */
  l?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AggTradesResponseInner
   */
  T?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof AggTradesResponseInner
   */
  m?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof AggTradesResponseInner
   */
  M?: boolean;
}
//#endregion
//#region src/rest-api/types/agg-trades-response.d.ts
/**
 *
 * @export
 * @interface AggTradesResponse
 */
interface AggTradesResponse extends Array<AggTradesResponseInner> {}
//#endregion
//#region src/rest-api/types/all-order-list-response-inner-orders-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AllOrderListResponseInnerOrdersInner
 */
interface AllOrderListResponseInnerOrdersInner {
  /**
   *
   * @type {string}
   * @memberof AllOrderListResponseInnerOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrderListResponseInnerOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AllOrderListResponseInnerOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/all-order-list-response-inner.d.ts
/**
 *
 * @export
 * @interface AllOrderListResponseInner
 */
interface AllOrderListResponseInner {
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrderListResponseInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AllOrderListResponseInner
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrderListResponseInner
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrderListResponseInner
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrderListResponseInner
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrderListResponseInner
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AllOrderListResponseInner
   */
  symbol?: string;
  /**
   *
   * @type {Array<AllOrderListResponseInnerOrdersInner>}
   * @memberof AllOrderListResponseInner
   */
  orders?: Array<AllOrderListResponseInnerOrdersInner>;
}
//#endregion
//#region src/rest-api/types/all-order-list-response.d.ts
/**
 *
 * @export
 * @interface AllOrderListResponse
 */
interface AllOrderListResponse extends Array<AllOrderListResponseInner> {}
//#endregion
//#region src/rest-api/types/all-orders-response-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AllOrdersResponseInner
 */
interface AllOrdersResponseInner {
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrdersResponseInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrdersResponseInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  stopPrice?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  icebergQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrdersResponseInner
   */
  time?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrdersResponseInner
   */
  updateTime?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof AllOrdersResponseInner
   */
  isWorking?: boolean;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrdersResponseInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/all-orders-response.d.ts
/**
 *
 * @export
 * @interface AllOrdersResponse
 */
interface AllOrdersResponse$1 extends Array<AllOrdersResponseInner> {}
//#endregion
//#region src/rest-api/types/max-asset-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxAssetFilter
 */
interface MaxAssetFilter$2 {
  /**
   *
   * @type {string}
   * @memberof MaxAssetFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof MaxAssetFilter
   */
  qtyExponent?: number;
  /**
   *
   * @type {string}
   * @memberof MaxAssetFilter
   */
  limit?: string;
  /**
   *
   * @type {string}
   * @memberof MaxAssetFilter
   */
  asset?: string;
}
//#endregion
//#region src/rest-api/types/asset-filters.d.ts
/**
 * @type AssetFilters
 * @export
 */
type AssetFilters$2 = {
  filterType: 'MAX_ASSET';
} & MaxAssetFilter$2;
//#endregion
//#region src/rest-api/types/avg-price-response.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AvgPriceResponse
 */
interface AvgPriceResponse$2 {
  /**
   *
   * @type {number | bigint}
   * @memberof AvgPriceResponse
   */
  mins?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AvgPriceResponse
   */
  price?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AvgPriceResponse
   */
  closeTime?: number | bigint;
}
//#endregion
//#region src/rest-api/types/delete-open-orders-response-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DeleteOpenOrdersResponseInner
 */
interface DeleteOpenOrdersResponseInner {
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  origClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof DeleteOpenOrdersResponseInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof DeleteOpenOrdersResponseInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof DeleteOpenOrdersResponseInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOpenOrdersResponseInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/delete-open-orders-response.d.ts
/**
 *
 * @export
 * @interface DeleteOpenOrdersResponse
 */
interface DeleteOpenOrdersResponse extends Array<DeleteOpenOrdersResponseInner> {}
//#endregion
//#region src/rest-api/types/delete-order-list-response-order-reports-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DeleteOrderListResponseOrderReportsInner
 */
interface DeleteOrderListResponseOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  origClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  stopPrice?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrderReportsInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/delete-order-list-response-orders-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DeleteOrderListResponseOrdersInner
 */
interface DeleteOrderListResponseOrdersInner {
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof DeleteOrderListResponseOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponseOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/delete-order-list-response.d.ts
/**
 *
 * @export
 * @interface DeleteOrderListResponse
 */
interface DeleteOrderListResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof DeleteOrderListResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponse
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponse
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponse
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponse
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof DeleteOrderListResponse
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderListResponse
   */
  symbol?: string;
  /**
   *
   * @type {Array<DeleteOrderListResponseOrdersInner>}
   * @memberof DeleteOrderListResponse
   */
  orders?: Array<DeleteOrderListResponseOrdersInner>;
  /**
   *
   * @type {Array<DeleteOrderListResponseOrderReportsInner>}
   * @memberof DeleteOrderListResponse
   */
  orderReports?: Array<DeleteOrderListResponseOrderReportsInner>;
}
//#endregion
//#region src/rest-api/types/delete-order-response.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DeleteOrderResponse
 */
interface DeleteOrderResponse {
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  origClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof DeleteOrderResponse
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof DeleteOrderResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof DeleteOrderResponse
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof DeleteOrderResponse
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/depth-response.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DepthResponse
 */
interface DepthResponse$1 {
  /**
   *
   * @type {number | bigint}
   * @memberof DepthResponse
   */
  lastUpdateId?: number | bigint;
  /**
   *
   * @type {Array<Array<string>>}
   * @memberof DepthResponse
   */
  bids?: Array<Array<string>>;
  /**
   *
   * @type {Array<Array<string>>}
   * @memberof DepthResponse
   */
  asks?: Array<Array<string>>;
}
//#endregion
//#region src/rest-api/types/exchange-max-num-algo-orders-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeMaxNumAlgoOrdersFilter
 */
interface ExchangeMaxNumAlgoOrdersFilter$2 {
  /**
   *
   * @type {string}
   * @memberof ExchangeMaxNumAlgoOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeMaxNumAlgoOrdersFilter
   */
  maxNumAlgoOrders?: number | bigint;
}
//#endregion
//#region src/rest-api/types/exchange-max-num-iceberg-orders-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeMaxNumIcebergOrdersFilter
 */
interface ExchangeMaxNumIcebergOrdersFilter$2 {
  /**
   *
   * @type {string}
   * @memberof ExchangeMaxNumIcebergOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeMaxNumIcebergOrdersFilter
   */
  maxNumIcebergOrders?: number | bigint;
}
//#endregion
//#region src/rest-api/types/exchange-max-num-order-lists-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeMaxNumOrderListsFilter
 */
interface ExchangeMaxNumOrderListsFilter$2 {
  /**
   *
   * @type {string}
   * @memberof ExchangeMaxNumOrderListsFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeMaxNumOrderListsFilter
   */
  maxNumOrderLists?: number | bigint;
}
//#endregion
//#region src/rest-api/types/exchange-max-num-orders-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeMaxNumOrdersFilter
 */
interface ExchangeMaxNumOrdersFilter$2 {
  /**
   *
   * @type {string}
   * @memberof ExchangeMaxNumOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeMaxNumOrdersFilter
   */
  maxNumOrders?: number | bigint;
}
//#endregion
//#region src/rest-api/types/exchange-filters.d.ts
/**
 * @type ExchangeFilters
 * @export
 */
type ExchangeFilters$2 = ({
  filterType: 'EXCHANGE_MAX_NUM_ALGO_ORDERS';
} & ExchangeMaxNumAlgoOrdersFilter$2) | ({
  filterType: 'EXCHANGE_MAX_NUM_ICEBERG_ORDERS';
} & ExchangeMaxNumIcebergOrdersFilter$2) | ({
  filterType: 'EXCHANGE_MAX_NUM_ORDERS';
} & ExchangeMaxNumOrdersFilter$2) | ({
  filterType: 'EXCHANGE_MAX_NUM_ORDER_LISTS';
} & ExchangeMaxNumOrderListsFilter$2);
//#endregion
//#region src/rest-api/types/iceberg-parts-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface IcebergPartsFilter
 */
interface IcebergPartsFilter$2 {
  /**
   *
   * @type {string}
   * @memberof IcebergPartsFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof IcebergPartsFilter
   */
  limit?: number | bigint;
}
//#endregion
//#region src/rest-api/types/lot-size-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface LotSizeFilter
 */
interface LotSizeFilter$2 {
  /**
   *
   * @type {string}
   * @memberof LotSizeFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof LotSizeFilter
   */
  qtyExponent?: number;
  /**
   *
   * @type {string}
   * @memberof LotSizeFilter
   */
  minQty?: string;
  /**
   *
   * @type {string}
   * @memberof LotSizeFilter
   */
  maxQty?: string;
  /**
   *
   * @type {string}
   * @memberof LotSizeFilter
   */
  stepSize?: string;
}
//#endregion
//#region src/rest-api/types/market-lot-size-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MarketLotSizeFilter
 */
interface MarketLotSizeFilter$2 {
  /**
   *
   * @type {string}
   * @memberof MarketLotSizeFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof MarketLotSizeFilter
   */
  qtyExponent?: number;
  /**
   *
   * @type {string}
   * @memberof MarketLotSizeFilter
   */
  minQty?: string;
  /**
   *
   * @type {string}
   * @memberof MarketLotSizeFilter
   */
  maxQty?: string;
  /**
   *
   * @type {string}
   * @memberof MarketLotSizeFilter
   */
  stepSize?: string;
}
//#endregion
//#region src/rest-api/types/max-num-algo-orders-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumAlgoOrdersFilter
 */
interface MaxNumAlgoOrdersFilter$2 {
  /**
   *
   * @type {string}
   * @memberof MaxNumAlgoOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumAlgoOrdersFilter
   */
  maxNumAlgoOrders?: number | bigint;
}
//#endregion
//#region src/rest-api/types/max-num-iceberg-orders-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumIcebergOrdersFilter
 */
interface MaxNumIcebergOrdersFilter$2 {
  /**
   *
   * @type {string}
   * @memberof MaxNumIcebergOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumIcebergOrdersFilter
   */
  maxNumIcebergOrders?: number | bigint;
}
//#endregion
//#region src/rest-api/types/max-num-order-amends-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumOrderAmendsFilter
 */
interface MaxNumOrderAmendsFilter$2 {
  /**
   *
   * @type {string}
   * @memberof MaxNumOrderAmendsFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumOrderAmendsFilter
   */
  maxNumOrderAmends?: number | bigint;
}
//#endregion
//#region src/rest-api/types/max-num-order-lists-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumOrderListsFilter
 */
interface MaxNumOrderListsFilter$2 {
  /**
   *
   * @type {string}
   * @memberof MaxNumOrderListsFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumOrderListsFilter
   */
  maxNumOrderLists?: number | bigint;
}
//#endregion
//#region src/rest-api/types/max-num-orders-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumOrdersFilter
 */
interface MaxNumOrdersFilter$2 {
  /**
   *
   * @type {string}
   * @memberof MaxNumOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumOrdersFilter
   */
  maxNumOrders?: number | bigint;
}
//#endregion
//#region src/rest-api/types/max-position-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxPositionFilter
 */
interface MaxPositionFilter$2 {
  /**
   *
   * @type {string}
   * @memberof MaxPositionFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof MaxPositionFilter
   */
  qtyExponent?: number;
  /**
   *
   * @type {string}
   * @memberof MaxPositionFilter
   */
  maxPosition?: string;
}
//#endregion
//#region src/rest-api/types/min-notional-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MinNotionalFilter
 */
interface MinNotionalFilter$2 {
  /**
   *
   * @type {string}
   * @memberof MinNotionalFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof MinNotionalFilter
   */
  priceExponent?: number;
  /**
   *
   * @type {string}
   * @memberof MinNotionalFilter
   */
  minNotional?: string;
  /**
   *
   * @type {boolean}
   * @memberof MinNotionalFilter
   */
  applyToMarket?: boolean;
  /**
   *
   * @type {number}
   * @memberof MinNotionalFilter
   */
  avgPriceMins?: number;
}
//#endregion
//#region src/rest-api/types/notional-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface NotionalFilter
 */
interface NotionalFilter$2 {
  /**
   *
   * @type {string}
   * @memberof NotionalFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof NotionalFilter
   */
  priceExponent?: number;
  /**
   *
   * @type {string}
   * @memberof NotionalFilter
   */
  minNotional?: string;
  /**
   *
   * @type {boolean}
   * @memberof NotionalFilter
   */
  applyMinToMarket?: boolean;
  /**
   *
   * @type {string}
   * @memberof NotionalFilter
   */
  maxNotional?: string;
  /**
   *
   * @type {boolean}
   * @memberof NotionalFilter
   */
  applyMaxToMarket?: boolean;
  /**
   *
   * @type {number}
   * @memberof NotionalFilter
   */
  avgPriceMins?: number;
}
//#endregion
//#region src/rest-api/types/percent-price-by-side-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface PercentPriceBySideFilter
 */
interface PercentPriceBySideFilter$2 {
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof PercentPriceBySideFilter
   */
  multiplierExponent?: number;
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  bidMultiplierUp?: string;
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  bidMultiplierDown?: string;
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  askMultiplierUp?: string;
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  askMultiplierDown?: string;
  /**
   *
   * @type {number}
   * @memberof PercentPriceBySideFilter
   */
  avgPriceMins?: number;
}
//#endregion
//#region src/rest-api/types/percent-price-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface PercentPriceFilter
 */
interface PercentPriceFilter$2 {
  /**
   *
   * @type {string}
   * @memberof PercentPriceFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof PercentPriceFilter
   */
  multiplierExponent?: number;
  /**
   *
   * @type {string}
   * @memberof PercentPriceFilter
   */
  multiplierUp?: string;
  /**
   *
   * @type {string}
   * @memberof PercentPriceFilter
   */
  multiplierDown?: string;
  /**
   *
   * @type {number}
   * @memberof PercentPriceFilter
   */
  avgPriceMins?: number;
}
//#endregion
//#region src/rest-api/types/price-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface PriceFilter
 */
interface PriceFilter$2 {
  /**
   *
   * @type {string}
   * @memberof PriceFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof PriceFilter
   */
  priceExponent?: number;
  /**
   *
   * @type {string}
   * @memberof PriceFilter
   */
  minPrice?: string;
  /**
   *
   * @type {string}
   * @memberof PriceFilter
   */
  maxPrice?: string;
  /**
   *
   * @type {string}
   * @memberof PriceFilter
   */
  tickSize?: string;
}
//#endregion
//#region src/rest-api/types/tplus-sell-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TPlusSellFilter
 */
interface TPlusSellFilter$2 {
  /**
   *
   * @type {string}
   * @memberof TPlusSellFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TPlusSellFilter
   */
  endTime?: number | bigint;
}
//#endregion
//#region src/rest-api/types/trailing-delta-filter.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TrailingDeltaFilter
 */
interface TrailingDeltaFilter$2 {
  /**
   *
   * @type {string}
   * @memberof TrailingDeltaFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TrailingDeltaFilter
   */
  minTrailingAboveDelta?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TrailingDeltaFilter
   */
  maxTrailingAboveDelta?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TrailingDeltaFilter
   */
  minTrailingBelowDelta?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TrailingDeltaFilter
   */
  maxTrailingBelowDelta?: number | bigint;
}
//#endregion
//#region src/rest-api/types/symbol-filters.d.ts
/**
 * @type SymbolFilters
 * @export
 */
type SymbolFilters$2 = ({
  filterType: 'ICEBERG_PARTS';
} & IcebergPartsFilter$2) | ({
  filterType: 'LOT_SIZE';
} & LotSizeFilter$2) | ({
  filterType: 'MARKET_LOT_SIZE';
} & MarketLotSizeFilter$2) | ({
  filterType: 'MAX_NUM_ALGO_ORDERS';
} & MaxNumAlgoOrdersFilter$2) | ({
  filterType: 'MAX_NUM_ICEBERG_ORDERS';
} & MaxNumIcebergOrdersFilter$2) | ({
  filterType: 'MAX_NUM_ORDERS';
} & MaxNumOrdersFilter$2) | ({
  filterType: 'MAX_NUM_ORDER_AMENDS';
} & MaxNumOrderAmendsFilter$2) | ({
  filterType: 'MAX_NUM_ORDER_LISTS';
} & MaxNumOrderListsFilter$2) | ({
  filterType: 'MAX_POSITION';
} & MaxPositionFilter$2) | ({
  filterType: 'MIN_NOTIONAL';
} & MinNotionalFilter$2) | ({
  filterType: 'NOTIONAL';
} & NotionalFilter$2) | ({
  filterType: 'PERCENT_PRICE';
} & PercentPriceFilter$2) | ({
  filterType: 'PERCENT_PRICE_BY_SIDE';
} & PercentPriceBySideFilter$2) | ({
  filterType: 'PRICE_FILTER';
} & PriceFilter$2) | ({
  filterType: 'TRAILING_DELTA';
} & TrailingDeltaFilter$2) | ({
  filterType: 'T_PLUS_SELL';
} & TPlusSellFilter$2);
//#endregion
//#region src/rest-api/types/exchange-info-response-symbols-inner.d.ts
/**
 *
 * @export
 * @interface ExchangeInfoResponseSymbolsInner
 */
interface ExchangeInfoResponseSymbolsInner {
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  baseAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  baseAssetPrecision?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  quoteAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  quotePrecision?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  quoteAssetPrecision?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  baseCommissionPrecision?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  quoteCommissionPrecision?: number | bigint;
  /**
   *
   * @type {Array<string>}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  orderTypes?: Array<string>;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  icebergAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  ocoAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  otoAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  opoAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  quoteOrderQtyMarketAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  allowTrailingStop?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  cancelReplaceAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  amendAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  pegInstructionsAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  isSpotTradingAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  isMarginTradingAllowed?: boolean;
  /**
   *
   * @type {Array<SymbolFilters>}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  filters?: Array<SymbolFilters$2>;
  /**
   *
   * @type {Array<string>}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  permissions?: Array<string>;
  /**
   *
   * @type {Array<Array<string>>}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  permissionSets?: Array<Array<string>>;
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  defaultSelfTradePreventionMode?: string;
  /**
   *
   * @type {Array<string>}
   * @memberof ExchangeInfoResponseSymbolsInner
   */
  allowedSelfTradePreventionModes?: Array<string>;
}
//#endregion
//#region src/rest-api/types/rate-limits.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface RateLimits
 */
interface RateLimits$2 {
  /**
   *
   * @type {string}
   * @memberof RateLimits
   */
  rateLimitType?: string;
  /**
   *
   * @type {string}
   * @memberof RateLimits
   */
  interval?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof RateLimits
   */
  intervalNum?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RateLimits
   */
  limit?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RateLimits
   */
  count?: number | bigint;
}
//#endregion
//#region src/rest-api/types/exchange-info-response.d.ts
/**
 *
 * @export
 * @interface ExchangeInfoResponse
 */
interface ExchangeInfoResponse$1 {
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponse
   */
  timezone?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponse
   */
  serverTime?: number | bigint;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof ExchangeInfoResponse
   */
  rateLimits?: Array<RateLimits$2>;
  /**
   *
   * @type {Array<ExchangeFilters>}
   * @memberof ExchangeInfoResponse
   */
  exchangeFilters?: Array<ExchangeFilters$2>;
  /**
   *
   * @type {Array<ExchangeInfoResponseSymbolsInner>}
   * @memberof ExchangeInfoResponse
   */
  symbols?: Array<ExchangeInfoResponseSymbolsInner>;
}
//#endregion
//#region src/rest-api/types/execution-rules-response-symbol-rules-inner-rules-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExecutionRulesResponseSymbolRulesInnerRulesInner
 */
interface ExecutionRulesResponseSymbolRulesInnerRulesInner {
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponseSymbolRulesInnerRulesInner
   */
  ruleType?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponseSymbolRulesInnerRulesInner
   */
  bidLimitMultUp?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponseSymbolRulesInnerRulesInner
   */
  bidLimitMultDown?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponseSymbolRulesInnerRulesInner
   */
  askLimitMultUp?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponseSymbolRulesInnerRulesInner
   */
  askLimitMultDown?: string;
}
//#endregion
//#region src/rest-api/types/execution-rules-response-symbol-rules-inner.d.ts
/**
 *
 * @export
 * @interface ExecutionRulesResponseSymbolRulesInner
 */
interface ExecutionRulesResponseSymbolRulesInner {
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponseSymbolRulesInner
   */
  symbol?: string;
  /**
   *
   * @type {Array<ExecutionRulesResponseSymbolRulesInnerRulesInner>}
   * @memberof ExecutionRulesResponseSymbolRulesInner
   */
  rules?: Array<ExecutionRulesResponseSymbolRulesInnerRulesInner>;
}
//#endregion
//#region src/rest-api/types/execution-rules-response.d.ts
/**
 *
 * @export
 * @interface ExecutionRulesResponse
 */
interface ExecutionRulesResponse$1 {
  /**
   *
   * @type {Array<ExecutionRulesResponseSymbolRulesInner>}
   * @memberof ExecutionRulesResponse
   */
  symbolRules?: Array<ExecutionRulesResponseSymbolRulesInner>;
}
//#endregion
//#region src/rest-api/types/get-account-response-balances-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetAccountResponseBalancesInner
 */
interface GetAccountResponseBalancesInner {
  /**
   *
   * @type {string}
   * @memberof GetAccountResponseBalancesInner
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof GetAccountResponseBalancesInner
   */
  free?: string;
  /**
   *
   * @type {string}
   * @memberof GetAccountResponseBalancesInner
   */
  locked?: string;
}
//#endregion
//#region src/rest-api/types/get-account-response-commission-rates.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetAccountResponseCommissionRates
 */
interface GetAccountResponseCommissionRates {
  /**
   *
   * @type {string}
   * @memberof GetAccountResponseCommissionRates
   */
  maker?: string;
  /**
   *
   * @type {string}
   * @memberof GetAccountResponseCommissionRates
   */
  taker?: string;
  /**
   *
   * @type {string}
   * @memberof GetAccountResponseCommissionRates
   */
  buyer?: string;
  /**
   *
   * @type {string}
   * @memberof GetAccountResponseCommissionRates
   */
  seller?: string;
}
//#endregion
//#region src/rest-api/types/get-account-response.d.ts
/**
 *
 * @export
 * @interface GetAccountResponse
 */
interface GetAccountResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof GetAccountResponse
   */
  makerCommission?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof GetAccountResponse
   */
  takerCommission?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof GetAccountResponse
   */
  buyerCommission?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof GetAccountResponse
   */
  sellerCommission?: number | bigint;
  /**
   *
   * @type {GetAccountResponseCommissionRates}
   * @memberof GetAccountResponse
   */
  commissionRates?: GetAccountResponseCommissionRates;
  /**
   *
   * @type {boolean}
   * @memberof GetAccountResponse
   */
  canTrade?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof GetAccountResponse
   */
  canWithdraw?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof GetAccountResponse
   */
  canDeposit?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof GetAccountResponse
   */
  brokered?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof GetAccountResponse
   */
  requireSelfTradePrevention?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof GetAccountResponse
   */
  preventSor?: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof GetAccountResponse
   */
  updateTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetAccountResponse
   */
  accountType?: string;
  /**
   *
   * @type {Array<GetAccountResponseBalancesInner>}
   * @memberof GetAccountResponse
   */
  balances?: Array<GetAccountResponseBalancesInner>;
  /**
   *
   * @type {Array<string>}
   * @memberof GetAccountResponse
   */
  permissions?: Array<string>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetAccountResponse
   */
  uid?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-open-orders-response.d.ts
/**
 *
 * @export
 * @interface GetOpenOrdersResponse
 */
interface GetOpenOrdersResponse extends Array<AllOrdersResponseInner> {}
//#endregion
//#region src/rest-api/types/get-order-list-response-orders-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetOrderListResponseOrdersInner
 */
interface GetOrderListResponseOrdersInner {
  /**
   *
   * @type {string}
   * @memberof GetOrderListResponseOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOrderListResponseOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetOrderListResponseOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/get-order-list-response.d.ts
/**
 *
 * @export
 * @interface GetOrderListResponse
 */
interface GetOrderListResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof GetOrderListResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetOrderListResponse
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderListResponse
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderListResponse
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderListResponse
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOrderListResponse
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetOrderListResponse
   */
  symbol?: string;
  /**
   *
   * @type {Array<GetOrderListResponseOrdersInner>}
   * @memberof GetOrderListResponse
   */
  orders?: Array<GetOrderListResponseOrdersInner>;
}
//#endregion
//#region src/rest-api/types/get-order-response.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetOrderResponse
 */
interface GetOrderResponse {
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOrderResponse
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOrderResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  clientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  stopPrice?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  icebergQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOrderResponse
   */
  time?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOrderResponse
   */
  updateTime?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof GetOrderResponse
   */
  isWorking?: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOrderResponse
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof GetOrderResponse
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/historical-trades-response-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface HistoricalTradesResponseInner
 */
interface HistoricalTradesResponseInner {
  /**
   *
   * @type {number | bigint}
   * @memberof HistoricalTradesResponseInner
   */
  id?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof HistoricalTradesResponseInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof HistoricalTradesResponseInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof HistoricalTradesResponseInner
   */
  quoteQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof HistoricalTradesResponseInner
   */
  time?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof HistoricalTradesResponseInner
   */
  isBuyerMaker?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof HistoricalTradesResponseInner
   */
  isBestMatch?: boolean;
}
//#endregion
//#region src/rest-api/types/get-trades-response.d.ts
/**
 *
 * @export
 * @interface GetTradesResponse
 */
interface GetTradesResponse extends Array<HistoricalTradesResponseInner> {}
//#endregion
//#region src/rest-api/types/historical-block-trades-response-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface HistoricalBlockTradesResponseInner
 */
interface HistoricalBlockTradesResponseInner {
  /**
   *
   * @type {number | bigint}
   * @memberof HistoricalBlockTradesResponseInner
   */
  id?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof HistoricalBlockTradesResponseInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof HistoricalBlockTradesResponseInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof HistoricalBlockTradesResponseInner
   */
  quoteQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof HistoricalBlockTradesResponseInner
   */
  time?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof HistoricalBlockTradesResponseInner
   */
  isBuyerMaker?: boolean;
}
//#endregion
//#region src/rest-api/types/historical-block-trades-response.d.ts
/**
 *
 * @export
 * @interface HistoricalBlockTradesResponse
 */
interface HistoricalBlockTradesResponse extends Array<HistoricalBlockTradesResponseInner> {}
//#endregion
//#region src/rest-api/types/historical-trades-response.d.ts
/**
 *
 * @export
 * @interface HistoricalTradesResponse
 */
interface HistoricalTradesResponse extends Array<HistoricalTradesResponseInner> {}
//#endregion
//#region src/rest-api/types/klines-item-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 * @type KlinesItemInner
 * @export
 */
type KlinesItemInner$1 = number | string;
//#endregion
//#region src/rest-api/types/klines-item.d.ts
/**
 *
 * @export
 * @interface KlinesItem
 */
interface KlinesItem$1 extends Array<KlinesItemInner$1> {}
//#endregion
//#region src/rest-api/types/klines-response.d.ts
/**
 *
 * @export
 * @interface KlinesResponse
 */
interface KlinesResponse$1 extends Array<KlinesItem$1> {}
//#endregion
//#region src/rest-api/types/my-allocations-response-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MyAllocationsResponseInner
 */
interface MyAllocationsResponseInner {
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyAllocationsResponseInner
   */
  allocationId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseInner
   */
  allocationType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyAllocationsResponseInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MyAllocationsResponseInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseInner
   */
  quoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseInner
   */
  commission?: string;
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseInner
   */
  commissionAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyAllocationsResponseInner
   */
  time?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof MyAllocationsResponseInner
   */
  isBuyer?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof MyAllocationsResponseInner
   */
  isMaker?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof MyAllocationsResponseInner
   */
  isAllocator?: boolean;
}
//#endregion
//#region src/rest-api/types/my-allocations-response.d.ts
/**
 *
 * @export
 * @interface MyAllocationsResponse
 */
interface MyAllocationsResponse$1 extends Array<MyAllocationsResponseInner> {}
//#endregion
//#region src/rest-api/types/my-filters-response.d.ts
/**
 *
 * @export
 * @interface MyFiltersResponse
 */
interface MyFiltersResponse$1 {
  /**
   *
   * @type {Array<ExchangeFilters>}
   * @memberof MyFiltersResponse
   */
  exchangeFilters?: Array<ExchangeFilters$2>;
  /**
   *
   * @type {Array<SymbolFilters>}
   * @memberof MyFiltersResponse
   */
  symbolFilters?: Array<SymbolFilters$2>;
  /**
   *
   * @type {Array<AssetFilters>}
   * @memberof MyFiltersResponse
   */
  assetFilters?: Array<AssetFilters$2>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof MyFiltersResponse
   */
  rateLimits?: Array<RateLimits$2>;
}
//#endregion
//#region src/rest-api/types/my-prevented-matches-response-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MyPreventedMatchesResponseInner
 */
interface MyPreventedMatchesResponseInner {
  /**
   *
   * @type {string}
   * @memberof MyPreventedMatchesResponseInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyPreventedMatchesResponseInner
   */
  preventedMatchId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MyPreventedMatchesResponseInner
   */
  takerOrderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof MyPreventedMatchesResponseInner
   */
  makerSymbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyPreventedMatchesResponseInner
   */
  makerOrderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MyPreventedMatchesResponseInner
   */
  tradeGroupId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof MyPreventedMatchesResponseInner
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {string}
   * @memberof MyPreventedMatchesResponseInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof MyPreventedMatchesResponseInner
   */
  makerPreventedQuantity?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyPreventedMatchesResponseInner
   */
  transactTime?: number | bigint;
}
//#endregion
//#region src/rest-api/types/my-prevented-matches-response.d.ts
/**
 *
 * @export
 * @interface MyPreventedMatchesResponse
 */
interface MyPreventedMatchesResponse$1 extends Array<MyPreventedMatchesResponseInner> {}
//#endregion
//#region src/rest-api/types/my-trades-response-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MyTradesResponseInner
 */
interface MyTradesResponseInner {
  /**
   *
   * @type {string}
   * @memberof MyTradesResponseInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyTradesResponseInner
   */
  id?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MyTradesResponseInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MyTradesResponseInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof MyTradesResponseInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof MyTradesResponseInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof MyTradesResponseInner
   */
  quoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof MyTradesResponseInner
   */
  commission?: string;
  /**
   *
   * @type {string}
   * @memberof MyTradesResponseInner
   */
  commissionAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyTradesResponseInner
   */
  time?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof MyTradesResponseInner
   */
  isBuyer?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof MyTradesResponseInner
   */
  isMaker?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof MyTradesResponseInner
   */
  isBestMatch?: boolean;
}
//#endregion
//#region src/rest-api/types/my-trades-response.d.ts
/**
 *
 * @export
 * @interface MyTradesResponse
 */
interface MyTradesResponse$1 extends Array<MyTradesResponseInner> {}
//#endregion
//#region src/rest-api/types/new-order-response-fills-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface NewOrderResponseFillsInner
 */
interface NewOrderResponseFillsInner {
  /**
   *
   * @type {string}
   * @memberof NewOrderResponseFillsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponseFillsInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponseFillsInner
   */
  commission?: string;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponseFillsInner
   */
  commissionAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof NewOrderResponseFillsInner
   */
  tradeId?: number | bigint;
}
//#endregion
//#region src/rest-api/types/new-order-response.d.ts
/**
 *
 * @export
 * @interface NewOrderResponse
 */
interface NewOrderResponse {
  /**
   *
   * @type {string}
   * @memberof NewOrderResponse
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof NewOrderResponse
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof NewOrderResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponse
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof NewOrderResponse
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponse
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponse
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponse
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponse
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponse
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponse
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponse
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponse
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponse
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof NewOrderResponse
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof NewOrderResponse
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {Array<NewOrderResponseFillsInner>}
   * @memberof NewOrderResponse
   */
  fills?: Array<NewOrderResponseFillsInner>;
}
//#endregion
//#region src/rest-api/types/open-order-list-response-inner-orders-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OpenOrderListResponseInnerOrdersInner
 */
interface OpenOrderListResponseInnerOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OpenOrderListResponseInnerOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrderListResponseInnerOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrderListResponseInnerOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/open-order-list-response-inner.d.ts
/**
 *
 * @export
 * @interface OpenOrderListResponseInner
 */
interface OpenOrderListResponseInner {
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrderListResponseInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrderListResponseInner
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrderListResponseInner
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrderListResponseInner
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrderListResponseInner
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrderListResponseInner
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrderListResponseInner
   */
  symbol?: string;
  /**
   *
   * @type {Array<OpenOrderListResponseInnerOrdersInner>}
   * @memberof OpenOrderListResponseInner
   */
  orders?: Array<OpenOrderListResponseInnerOrdersInner>;
}
//#endregion
//#region src/rest-api/types/open-order-list-response.d.ts
/**
 *
 * @export
 * @interface OpenOrderListResponse
 */
interface OpenOrderListResponse extends Array<OpenOrderListResponseInner> {}
//#endregion
//#region src/rest-api/types/order-amend-keep-priority-response-amended-order.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseAmendedOrder
 */
interface OrderAmendKeepPriorityResponseAmendedOrder {
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  origClientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  clientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  preventedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  quoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  cumulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseAmendedOrder
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/order-amend-keep-priority-response-list-status-orders-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseListStatusOrdersInner
 */
interface OrderAmendKeepPriorityResponseListStatusOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseListStatusOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponseListStatusOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseListStatusOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/order-amend-keep-priority-response-list-status.d.ts
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseListStatus
 */
interface OrderAmendKeepPriorityResponseListStatus {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponseListStatus
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseListStatus
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseListStatus
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseListStatus
   */
  listClientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseListStatus
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderAmendKeepPriorityResponseListStatusOrdersInner>}
   * @memberof OrderAmendKeepPriorityResponseListStatus
   */
  orders?: Array<OrderAmendKeepPriorityResponseListStatusOrdersInner>;
}
//#endregion
//#region src/rest-api/types/order-amend-keep-priority-response.d.ts
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponse
 */
interface OrderAmendKeepPriorityResponse$1 {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponse
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponse
   */
  executionId?: number | bigint;
  /**
   *
   * @type {OrderAmendKeepPriorityResponseAmendedOrder}
   * @memberof OrderAmendKeepPriorityResponse
   */
  amendedOrder?: OrderAmendKeepPriorityResponseAmendedOrder;
  /**
   *
   * @type {OrderAmendKeepPriorityResponseListStatus}
   * @memberof OrderAmendKeepPriorityResponse
   */
  listStatus?: OrderAmendKeepPriorityResponseListStatus;
}
//#endregion
//#region src/rest-api/types/order-amendments-response-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderAmendmentsResponseInner
 */
interface OrderAmendmentsResponseInner {
  /**
   *
   * @type {string}
   * @memberof OrderAmendmentsResponseInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendmentsResponseInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendmentsResponseInner
   */
  executionId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderAmendmentsResponseInner
   */
  origClientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendmentsResponseInner
   */
  newClientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendmentsResponseInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendmentsResponseInner
   */
  newQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendmentsResponseInner
   */
  time?: number | bigint;
}
//#endregion
//#region src/rest-api/types/order-amendments-response.d.ts
/**
 *
 * @export
 * @interface OrderAmendmentsResponse
 */
interface OrderAmendmentsResponse$1 extends Array<OrderAmendmentsResponseInner> {}
//#endregion
//#region src/rest-api/types/order-cancel-replace-response-cancel-response.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderCancelReplaceResponseCancelResponse
 */
interface OrderCancelReplaceResponseCancelResponse {
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  origClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseCancelResponse
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/order-cancel-replace-response-data-cancel-response.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderCancelReplaceResponseDataCancelResponse
 */
interface OrderCancelReplaceResponseDataCancelResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  code?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  msg?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  origClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataCancelResponse
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/order-cancel-replace-response-data-new-order-response.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderCancelReplaceResponseDataNewOrderResponse
 */
interface OrderCancelReplaceResponseDataNewOrderResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseDataNewOrderResponse
   */
  code?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataNewOrderResponse
   */
  msg?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataNewOrderResponse
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseDataNewOrderResponse
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseDataNewOrderResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseDataNewOrderResponse
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseDataNewOrderResponse
   */
  transactTime?: number | bigint;
}
//#endregion
//#region src/rest-api/types/order-cancel-replace-response-data.d.ts
/**
 *
 * @export
 * @interface OrderCancelReplaceResponseData
 */
interface OrderCancelReplaceResponseData {
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseData
   */
  cancelResult?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseData
   */
  newOrderResult?: string;
  /**
   *
   * @type {OrderCancelReplaceResponseDataCancelResponse}
   * @memberof OrderCancelReplaceResponseData
   */
  cancelResponse?: OrderCancelReplaceResponseDataCancelResponse;
  /**
   *
   * @type {OrderCancelReplaceResponseDataNewOrderResponse}
   * @memberof OrderCancelReplaceResponseData
   */
  newOrderResponse?: OrderCancelReplaceResponseDataNewOrderResponse;
}
//#endregion
//#region src/rest-api/types/order-cancel-replace-response-new-order-response.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderCancelReplaceResponseNewOrderResponse
 */
interface OrderCancelReplaceResponseNewOrderResponse {
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {Array<string>}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  fills?: Array<string>;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseNewOrderResponse
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/order-cancel-replace-response.d.ts
/**
 *
 * @export
 * @interface OrderCancelReplaceResponse
 */
interface OrderCancelReplaceResponse$1 {
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponse
   */
  cancelResult?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponse
   */
  newOrderResult?: string;
  /**
   *
   * @type {OrderCancelReplaceResponseCancelResponse}
   * @memberof OrderCancelReplaceResponse
   */
  cancelResponse?: OrderCancelReplaceResponseCancelResponse;
  /**
   *
   * @type {OrderCancelReplaceResponseNewOrderResponse}
   * @memberof OrderCancelReplaceResponse
   */
  newOrderResponse?: OrderCancelReplaceResponseNewOrderResponse;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponse
   */
  code?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponse
   */
  msg?: string;
  /**
   *
   * @type {OrderCancelReplaceResponseData}
   * @memberof OrderCancelReplaceResponse
   */
  data?: OrderCancelReplaceResponseData;
}
//#endregion
//#region src/rest-api/types/order-list-oco-response-order-reports-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOcoResponseOrderReportsInner
 */
interface OrderListOcoResponseOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  stopPrice?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  icebergQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrderReportsInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/order-list-oco-response-orders-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOcoResponseOrdersInner
 */
interface OrderListOcoResponseOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOcoResponseOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponseOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/order-list-oco-response.d.ts
/**
 *
 * @export
 * @interface OrderListOcoResponse
 */
interface OrderListOcoResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOcoResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponse
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponse
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponse
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponse
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOcoResponse
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOcoResponse
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListOcoResponseOrdersInner>}
   * @memberof OrderListOcoResponse
   */
  orders?: Array<OrderListOcoResponseOrdersInner>;
  /**
   *
   * @type {Array<OrderListOcoResponseOrderReportsInner>}
   * @memberof OrderListOcoResponse
   */
  orderReports?: Array<OrderListOcoResponseOrderReportsInner>;
}
//#endregion
//#region src/rest-api/types/order-list-opo-response-order-reports-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOpoResponseOrderReportsInner
 */
interface OrderListOpoResponseOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrderReportsInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/order-list-opo-response-orders-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOpoResponseOrdersInner
 */
interface OrderListOpoResponseOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpoResponseOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponseOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/order-list-opo-response.d.ts
/**
 *
 * @export
 * @interface OrderListOpoResponse
 */
interface OrderListOpoResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpoResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponse
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponse
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponse
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponse
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpoResponse
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOpoResponse
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListOpoResponseOrdersInner>}
   * @memberof OrderListOpoResponse
   */
  orders?: Array<OrderListOpoResponseOrdersInner>;
  /**
   *
   * @type {Array<OrderListOpoResponseOrderReportsInner>}
   * @memberof OrderListOpoResponse
   */
  orderReports?: Array<OrderListOpoResponseOrderReportsInner>;
}
//#endregion
//#region src/rest-api/types/order-list-opoco-response-order-reports-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOpocoResponseOrderReportsInner
 */
interface OrderListOpocoResponseOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrderReportsInner
   */
  stopPrice?: string;
}
//#endregion
//#region src/rest-api/types/order-list-opoco-response-orders-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOpocoResponseOrdersInner
 */
interface OrderListOpocoResponseOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpocoResponseOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponseOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/order-list-opoco-response.d.ts
/**
 *
 * @export
 * @interface OrderListOpocoResponse
 */
interface OrderListOpocoResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpocoResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponse
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponse
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponse
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponse
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOpocoResponse
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOpocoResponse
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListOpocoResponseOrdersInner>}
   * @memberof OrderListOpocoResponse
   */
  orders?: Array<OrderListOpocoResponseOrdersInner>;
  /**
   *
   * @type {Array<OrderListOpocoResponseOrderReportsInner>}
   * @memberof OrderListOpocoResponse
   */
  orderReports?: Array<OrderListOpocoResponseOrderReportsInner>;
}
//#endregion
//#region src/rest-api/types/order-list-oto-response-order-reports-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOtoResponseOrderReportsInner
 */
interface OrderListOtoResponseOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrderReportsInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/order-list-oto-response-orders-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOtoResponseOrdersInner
 */
interface OrderListOtoResponseOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtoResponseOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponseOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/order-list-oto-response.d.ts
/**
 *
 * @export
 * @interface OrderListOtoResponse
 */
interface OrderListOtoResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtoResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponse
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponse
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponse
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponse
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtoResponse
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOtoResponse
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListOtoResponseOrdersInner>}
   * @memberof OrderListOtoResponse
   */
  orders?: Array<OrderListOtoResponseOrdersInner>;
  /**
   *
   * @type {Array<OrderListOtoResponseOrderReportsInner>}
   * @memberof OrderListOtoResponse
   */
  orderReports?: Array<OrderListOtoResponseOrderReportsInner>;
}
//#endregion
//#region src/rest-api/types/order-list-otoco-response-order-reports-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOtocoResponseOrderReportsInner
 */
interface OrderListOtocoResponseOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrderReportsInner
   */
  stopPrice?: string;
}
//#endregion
//#region src/rest-api/types/order-list-otoco-response-orders-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOtocoResponseOrdersInner
 */
interface OrderListOtocoResponseOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtocoResponseOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponseOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/order-list-otoco-response.d.ts
/**
 *
 * @export
 * @interface OrderListOtocoResponse
 */
interface OrderListOtocoResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtocoResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponse
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponse
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponse
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponse
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListOtocoResponse
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListOtocoResponse
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListOtocoResponseOrdersInner>}
   * @memberof OrderListOtocoResponse
   */
  orders?: Array<OrderListOtocoResponseOrdersInner>;
  /**
   *
   * @type {Array<OrderListOtocoResponseOrderReportsInner>}
   * @memberof OrderListOtocoResponse
   */
  orderReports?: Array<OrderListOtocoResponseOrderReportsInner>;
}
//#endregion
//#region src/rest-api/types/order-oco-response-order-reports-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderOcoResponseOrderReportsInner
 */
interface OrderOcoResponseOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  stopPrice?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrderReportsInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/rest-api/types/order-oco-response-orders-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderOcoResponseOrdersInner
 */
interface OrderOcoResponseOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderOcoResponseOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponseOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/rest-api/types/order-oco-response.d.ts
/**
 *
 * @export
 * @interface OrderOcoResponse
 */
interface OrderOcoResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderOcoResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponse
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponse
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponse
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponse
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderOcoResponse
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderOcoResponse
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderOcoResponseOrdersInner>}
   * @memberof OrderOcoResponse
   */
  orders?: Array<OrderOcoResponseOrdersInner>;
  /**
   *
   * @type {Array<OrderOcoResponseOrderReportsInner>}
   * @memberof OrderOcoResponse
   */
  orderReports?: Array<OrderOcoResponseOrderReportsInner>;
}
//#endregion
//#region src/rest-api/types/order-test-response-discount.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderTestResponseDiscount
 */
interface OrderTestResponseDiscount {
  /**
   *
   * @type {boolean}
   * @memberof OrderTestResponseDiscount
   */
  enabledForAccount?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof OrderTestResponseDiscount
   */
  enabledForSymbol?: boolean;
  /**
   *
   * @type {string}
   * @memberof OrderTestResponseDiscount
   */
  discountAsset?: string;
  /**
   *
   * @type {string}
   * @memberof OrderTestResponseDiscount
   */
  discount?: string;
}
//#endregion
//#region src/rest-api/types/order-test-response-special-commission-for-order.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderTestResponseSpecialCommissionForOrder
 */
interface OrderTestResponseSpecialCommissionForOrder {
  /**
   *
   * @type {string}
   * @memberof OrderTestResponseSpecialCommissionForOrder
   */
  maker?: string;
  /**
   *
   * @type {string}
   * @memberof OrderTestResponseSpecialCommissionForOrder
   */
  taker?: string;
}
//#endregion
//#region src/rest-api/types/order-test-response-standard-commission-for-order.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderTestResponseStandardCommissionForOrder
 */
interface OrderTestResponseStandardCommissionForOrder {
  /**
   *
   * @type {string}
   * @memberof OrderTestResponseStandardCommissionForOrder
   */
  maker?: string;
  /**
   *
   * @type {string}
   * @memberof OrderTestResponseStandardCommissionForOrder
   */
  taker?: string;
}
//#endregion
//#region src/rest-api/types/order-test-response.d.ts
/**
 *
 * @export
 * @interface OrderTestResponse
 */
interface OrderTestResponse$1 {
  /**
   *
   * @type {OrderTestResponseStandardCommissionForOrder}
   * @memberof OrderTestResponse
   */
  standardCommissionForOrder?: OrderTestResponseStandardCommissionForOrder;
  /**
   *
   * @type {OrderTestResponseSpecialCommissionForOrder}
   * @memberof OrderTestResponse
   */
  specialCommissionForOrder?: OrderTestResponseSpecialCommissionForOrder;
  /**
   *
   * @type {OrderTestResponseStandardCommissionForOrder}
   * @memberof OrderTestResponse
   */
  taxCommissionForOrder?: OrderTestResponseStandardCommissionForOrder;
  /**
   *
   * @type {OrderTestResponseDiscount}
   * @memberof OrderTestResponse
   */
  discount?: OrderTestResponseDiscount;
}
//#endregion
//#region src/rest-api/types/rate-limit-order-response-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface RateLimitOrderResponseInner
 */
interface RateLimitOrderResponseInner {
  /**
   *
   * @type {string}
   * @memberof RateLimitOrderResponseInner
   */
  rateLimitType?: string;
  /**
   *
   * @type {string}
   * @memberof RateLimitOrderResponseInner
   */
  interval?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof RateLimitOrderResponseInner
   */
  intervalNum?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RateLimitOrderResponseInner
   */
  limit?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RateLimitOrderResponseInner
   */
  count?: number | bigint;
}
//#endregion
//#region src/rest-api/types/rate-limit-order-response.d.ts
/**
 *
 * @export
 * @interface RateLimitOrderResponse
 */
interface RateLimitOrderResponse extends Array<RateLimitOrderResponseInner> {}
//#endregion
//#region src/rest-api/types/reference-price-calculation-response.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ReferencePriceCalculationResponse
 */
interface ReferencePriceCalculationResponse$1 {
  /**
   *
   * @type {string}
   * @memberof ReferencePriceCalculationResponse
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof ReferencePriceCalculationResponse
   */
  calculationType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ReferencePriceCalculationResponse
   */
  bucketCount?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ReferencePriceCalculationResponse
   */
  bucketWidthMs?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ReferencePriceCalculationResponse
   */
  externalCalculationId?: number | bigint;
}
//#endregion
//#region src/rest-api/types/reference-price-response.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ReferencePriceResponse
 */
interface ReferencePriceResponse$2 {
  /**
   *
   * @type {string}
   * @memberof ReferencePriceResponse
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof ReferencePriceResponse
   */
  referencePrice?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ReferencePriceResponse
   */
  timestamp?: number | bigint;
}
//#endregion
//#region src/rest-api/types/sor-order-response-fills-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SorOrderResponseFillsInner
 */
interface SorOrderResponseFillsInner {
  /**
   *
   * @type {string}
   * @memberof SorOrderResponseFillsInner
   */
  matchType?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponseFillsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponseFillsInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponseFillsInner
   */
  commission?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponseFillsInner
   */
  commissionAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderResponseFillsInner
   */
  tradeId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderResponseFillsInner
   */
  allocId?: number | bigint;
}
//#endregion
//#region src/rest-api/types/sor-order-response.d.ts
/**
 *
 * @export
 * @interface SorOrderResponse
 */
interface SorOrderResponse {
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderResponse
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderResponse
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderResponse
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {Array<SorOrderResponseFillsInner>}
   * @memberof SorOrderResponse
   */
  fills?: Array<SorOrderResponseFillsInner>;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  workingFloor?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderResponse
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {boolean}
   * @memberof SorOrderResponse
   */
  usedSor?: boolean;
}
//#endregion
//#region src/rest-api/types/sor-order-test-response.d.ts
/**
 *
 * @export
 * @interface SorOrderTestResponse
 */
interface SorOrderTestResponse$1 {
  /**
   *
   * @type {OrderTestResponseStandardCommissionForOrder}
   * @memberof SorOrderTestResponse
   */
  standardCommissionForOrder?: OrderTestResponseStandardCommissionForOrder;
  /**
   *
   * @type {OrderTestResponseStandardCommissionForOrder}
   * @memberof SorOrderTestResponse
   */
  taxCommissionForOrder?: OrderTestResponseStandardCommissionForOrder;
  /**
   *
   * @type {OrderTestResponseDiscount}
   * @memberof SorOrderTestResponse
   */
  discount?: OrderTestResponseDiscount;
}
//#endregion
//#region src/rest-api/types/ticker24hr-response1.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface Ticker24hrResponse1
 */
interface Ticker24hrResponse1$1 {
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  priceChange?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  priceChangePercent?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  weightedAvgPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  prevClosePrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  lastPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  lastQty?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  bidPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  bidQty?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  askPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  askQty?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  openPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  highPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  lowPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  volume?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  quoteVolume?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse1
   */
  openTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse1
   */
  closeTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse1
   */
  firstId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse1
   */
  lastId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse1
   */
  count?: number | bigint;
}
//#endregion
//#region src/rest-api/types/ticker24hr-response2-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface Ticker24hrResponse2Inner
 */
interface Ticker24hrResponse2Inner {
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  priceChange?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  priceChangePercent?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  weightedAvgPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  prevClosePrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  lastPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  lastQty?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  bidPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  bidQty?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  askPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  askQty?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  openPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  highPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  lowPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  volume?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2Inner
   */
  quoteVolume?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse2Inner
   */
  openTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse2Inner
   */
  closeTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse2Inner
   */
  firstId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse2Inner
   */
  lastId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse2Inner
   */
  count?: number | bigint;
}
//#endregion
//#region src/rest-api/types/ticker24hr-response2.d.ts
/**
 *
 * @export
 * @interface Ticker24hrResponse2
 */
interface Ticker24hrResponse2$1 extends Array<Ticker24hrResponse2Inner> {}
//#endregion
//#region src/rest-api/types/ticker24hr-response.d.ts
/**
 * @type Ticker24hrResponse
 * @export
 */
type Ticker24hrResponse$1 = Ticker24hrResponse1$1 | Ticker24hrResponse2$1;
//#endregion
//#region src/rest-api/types/ticker-book-ticker-response1.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerBookTickerResponse1
 */
interface TickerBookTickerResponse1 {
  /**
   *
   * @type {string}
   * @memberof TickerBookTickerResponse1
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookTickerResponse1
   */
  bidPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookTickerResponse1
   */
  bidQty?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookTickerResponse1
   */
  askPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookTickerResponse1
   */
  askQty?: string;
}
//#endregion
//#region src/rest-api/types/ticker-book-ticker-response2-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerBookTickerResponse2Inner
 */
interface TickerBookTickerResponse2Inner {
  /**
   *
   * @type {string}
   * @memberof TickerBookTickerResponse2Inner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookTickerResponse2Inner
   */
  bidPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookTickerResponse2Inner
   */
  bidQty?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookTickerResponse2Inner
   */
  askPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookTickerResponse2Inner
   */
  askQty?: string;
}
//#endregion
//#region src/rest-api/types/ticker-book-ticker-response2.d.ts
/**
 *
 * @export
 * @interface TickerBookTickerResponse2
 */
interface TickerBookTickerResponse2 extends Array<TickerBookTickerResponse2Inner> {}
//#endregion
//#region src/rest-api/types/ticker-book-ticker-response.d.ts
/**
 * @type TickerBookTickerResponse
 * @export
 */
type TickerBookTickerResponse = TickerBookTickerResponse1 | TickerBookTickerResponse2;
//#endregion
//#region src/rest-api/types/ticker-price-response1.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerPriceResponse1
 */
interface TickerPriceResponse1$1 {
  /**
   *
   * @type {string}
   * @memberof TickerPriceResponse1
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerPriceResponse1
   */
  price?: string;
}
//#endregion
//#region src/rest-api/types/ticker-price-response2-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerPriceResponse2Inner
 */
interface TickerPriceResponse2Inner {
  /**
   *
   * @type {string}
   * @memberof TickerPriceResponse2Inner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerPriceResponse2Inner
   */
  price?: string;
}
//#endregion
//#region src/rest-api/types/ticker-price-response2.d.ts
/**
 *
 * @export
 * @interface TickerPriceResponse2
 */
interface TickerPriceResponse2$1 extends Array<TickerPriceResponse2Inner> {}
//#endregion
//#region src/rest-api/types/ticker-price-response.d.ts
/**
 * @type TickerPriceResponse
 * @export
 */
type TickerPriceResponse$1 = TickerPriceResponse1$1 | TickerPriceResponse2$1;
//#endregion
//#region src/rest-api/types/ticker-response1.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerResponse1
 */
interface TickerResponse1$1 {
  /**
   *
   * @type {string}
   * @memberof TickerResponse1
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1
   */
  priceChange?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1
   */
  priceChangePercent?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1
   */
  weightedAvgPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1
   */
  openPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1
   */
  highPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1
   */
  lowPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1
   */
  lastPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1
   */
  volume?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1
   */
  quoteVolume?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse1
   */
  openTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse1
   */
  closeTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse1
   */
  firstId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse1
   */
  lastId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse1
   */
  count?: number | bigint;
}
//#endregion
//#region src/rest-api/types/ticker-response2-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerResponse2Inner
 */
interface TickerResponse2Inner {
  /**
   *
   * @type {string}
   * @memberof TickerResponse2Inner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2Inner
   */
  priceChange?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2Inner
   */
  priceChangePercent?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2Inner
   */
  weightedAvgPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2Inner
   */
  openPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2Inner
   */
  highPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2Inner
   */
  lowPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2Inner
   */
  lastPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2Inner
   */
  volume?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2Inner
   */
  quoteVolume?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse2Inner
   */
  openTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse2Inner
   */
  closeTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse2Inner
   */
  firstId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse2Inner
   */
  lastId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse2Inner
   */
  count?: number | bigint;
}
//#endregion
//#region src/rest-api/types/ticker-response2.d.ts
/**
 *
 * @export
 * @interface TickerResponse2
 */
interface TickerResponse2$1 extends Array<TickerResponse2Inner> {}
//#endregion
//#region src/rest-api/types/ticker-response.d.ts
/**
 * @type TickerResponse
 * @export
 */
type TickerResponse$2 = TickerResponse1$1 | TickerResponse2$1;
//#endregion
//#region src/rest-api/types/ticker-trading-day-response1.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerTradingDayResponse1
 */
interface TickerTradingDayResponse1 {
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse1
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse1
   */
  priceChange?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse1
   */
  priceChangePercent?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse1
   */
  weightedAvgPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse1
   */
  openPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse1
   */
  highPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse1
   */
  lowPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse1
   */
  lastPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse1
   */
  volume?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse1
   */
  quoteVolume?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponse1
   */
  openTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponse1
   */
  closeTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponse1
   */
  firstId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponse1
   */
  lastId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponse1
   */
  count?: number | bigint;
}
//#endregion
//#region src/rest-api/types/ticker-trading-day-response2-inner.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerTradingDayResponse2Inner
 */
interface TickerTradingDayResponse2Inner {
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse2Inner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse2Inner
   */
  priceChange?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse2Inner
   */
  priceChangePercent?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse2Inner
   */
  weightedAvgPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse2Inner
   */
  openPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse2Inner
   */
  highPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse2Inner
   */
  lowPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse2Inner
   */
  lastPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse2Inner
   */
  volume?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse2Inner
   */
  quoteVolume?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponse2Inner
   */
  openTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponse2Inner
   */
  closeTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponse2Inner
   */
  firstId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponse2Inner
   */
  lastId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponse2Inner
   */
  count?: number | bigint;
}
//#endregion
//#region src/rest-api/types/ticker-trading-day-response2.d.ts
/**
 *
 * @export
 * @interface TickerTradingDayResponse2
 */
interface TickerTradingDayResponse2 extends Array<TickerTradingDayResponse2Inner> {}
//#endregion
//#region src/rest-api/types/ticker-trading-day-response.d.ts
/**
 * @type TickerTradingDayResponse
 * @export
 */
type TickerTradingDayResponse$1 = TickerTradingDayResponse1 | TickerTradingDayResponse2;
//#endregion
//#region src/rest-api/types/time-response.d.ts
/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TimeResponse
 */
interface TimeResponse$1 {
  /**
   *
   * @type {number | bigint}
   * @memberof TimeResponse
   */
  serverTime?: number | bigint;
}
//#endregion
//#region src/rest-api/types/ui-klines-item.d.ts
/**
 *
 * @export
 * @interface UiKlinesItem
 */
interface UiKlinesItem$1 extends Array<KlinesItemInner$1> {}
//#endregion
//#region src/rest-api/types/ui-klines-response.d.ts
/**
 *
 * @export
 * @interface UiKlinesResponse
 */
interface UiKlinesResponse$1 extends Array<UiKlinesItem$1> {}
//#endregion
//#region src/rest-api/modules/account-api.d.ts
/**
 * AccountApi - interface
 * @interface AccountApi
 */
interface AccountApiInterface$1 {
  /**
   * Get current account commission rates.
   * Weight: 20
   *
   * @summary Query Commission Rates
   * @param {AccountCommissionRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  accountCommission(requestParameters: AccountCommissionRequest$1): Promise<RestApiResponse<AccountCommissionResponse$1>>;
  /**
   * Retrieves all order lists based on provided optional parameters.
   *
   * Note that the time between `startTime` and `endTime` can't be longer than 24 hours.
   * Weight: 20
   *
   * @summary Query all Order lists
   * @param {AllOrderListRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  allOrderList(requestParameters?: AllOrderListRequest): Promise<RestApiResponse<AllOrderListResponse>>;
  /**
   * Get all account orders; active, canceled, or filled.
   * Weight: 20
   *
   * @summary All orders
   * @param {AllOrdersRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  allOrders(requestParameters: AllOrdersRequest$1): Promise<RestApiResponse<AllOrdersResponse$1>>;
  /**
   * Get current account information.
   * Weight: 20
   *
   * @summary Account information
   * @param {GetAccountRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  getAccount(requestParameters?: GetAccountRequest): Promise<RestApiResponse<GetAccountResponse>>;
  /**
   * Get all open orders on a symbol. **Careful** when accessing this with no symbol.
   * Weight: 6 for a single symbol; **80** when the symbol parameter is omitted
   *
   * @summary Current open orders
   * @param {GetOpenOrdersRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  getOpenOrders(requestParameters?: GetOpenOrdersRequest): Promise<RestApiResponse<GetOpenOrdersResponse>>;
  /**
   * Check an order's status.
   * Weight: 4
   *
   * @summary Query order
   * @param {GetOrderRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  getOrder(requestParameters: GetOrderRequest): Promise<RestApiResponse<GetOrderResponse>>;
  /**
   * Retrieves a specific order list based on provided optional parameters.
   * Weight: 4
   *
   * @summary Query Order list
   * @param {GetOrderListRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  getOrderList(requestParameters?: GetOrderListRequest): Promise<RestApiResponse<GetOrderListResponse>>;
  /**
   * Retrieves allocations resulting from SOR order placement.
   * Weight: 20
   *
   * @summary Query Allocations
   * @param {MyAllocationsRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  myAllocations(requestParameters: MyAllocationsRequest$1): Promise<RestApiResponse<MyAllocationsResponse$1>>;
  /**
   * Retrieves the list of [filters](filters.md) relevant to an account on a given symbol. This is the only endpoint that shows if an account has `MAX_ASSET` filters applied to it.
   * Weight: 40
   *
   * @summary Query relevant filters
   * @param {MyFiltersRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  myFilters(requestParameters: MyFiltersRequest$1): Promise<RestApiResponse<MyFiltersResponse$1>>;
  /**
   * Displays the list of orders that were expired due to STP.
   *
   * These are the combinations supported:
   *
   * `symbol` + `preventedMatchId`
   * `symbol` + `orderId`
   * `symbol` + `orderId` + `fromPreventedMatchId` (`limit` will default to 500)
   * `symbol` + `orderId` + `fromPreventedMatchId` + `limit`
   * Weight: Case                            | Weight
   * ----                            | -----
   * If `symbol` is invalid          | 2
   * Querying by `preventedMatchId`  | 2
   * Querying by `orderId`           | 20
   *
   * @summary Query Prevented Matches
   * @param {MyPreventedMatchesRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  myPreventedMatches(requestParameters: MyPreventedMatchesRequest$1): Promise<RestApiResponse<MyPreventedMatchesResponse$1>>;
  /**
   * Get trades for a specific account and symbol.
   * Weight: Condition| Weight|
   * ---| ---
   * |Without orderId|20|
   * |With orderId|5|
   *
   * @summary Account trade list
   * @param {MyTradesRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  myTrades(requestParameters: MyTradesRequest$1): Promise<RestApiResponse<MyTradesResponse$1>>;
  /**
   *
   * Weight: 6
   *
   * @summary Query Open Order lists
   * @param {OpenOrderListRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  openOrderList(requestParameters?: OpenOrderListRequest): Promise<RestApiResponse<OpenOrderListResponse>>;
  /**
   * Queries all amendments of a single order.
   * Weight: 4
   *
   * @summary Query Order Amendments
   * @param {OrderAmendmentsRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  orderAmendments(requestParameters: OrderAmendmentsRequest$1): Promise<RestApiResponse<OrderAmendmentsResponse$1>>;
  /**
   * Displays the user's unfilled order count for all intervals.
   * Weight: 40
   *
   * @summary Query Unfilled Order Count
   * @param {RateLimitOrderRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApiInterface
   */
  rateLimitOrder(requestParameters?: RateLimitOrderRequest): Promise<RestApiResponse<RateLimitOrderResponse>>;
}
/**
 * Request parameters for accountCommission operation in AccountApi.
 * @interface AccountCommissionRequest
 */
interface AccountCommissionRequest$1 {
  /**
   *
   * @type {string}
   * @memberof AccountApiAccountCommission
   */
  readonly symbol: string;
}
/**
 * Request parameters for allOrderList operation in AccountApi.
 * @interface AllOrderListRequest
 */
interface AllOrderListRequest {
  /**
   * ID to get aggregate trades from INCLUSIVE.
   * @type {number | bigint}
   * @memberof AccountApiAllOrderList
   */
  readonly fromId?: number | bigint;
  /**
   * Timestamp in ms to get aggregate trades from INCLUSIVE.
   * @type {number | bigint}
   * @memberof AccountApiAllOrderList
   */
  readonly startTime?: number | bigint;
  /**
   * Timestamp in ms to get aggregate trades until INCLUSIVE.
   * @type {number | bigint}
   * @memberof AccountApiAllOrderList
   */
  readonly endTime?: number | bigint;
  /**
   * Default: 500; Maximum: 1000.
   * @type {number}
   * @memberof AccountApiAllOrderList
   */
  readonly limit?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiAllOrderList
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for allOrders operation in AccountApi.
 * @interface AllOrdersRequest
 */
interface AllOrdersRequest$1 {
  /**
   *
   * @type {string}
   * @memberof AccountApiAllOrders
   */
  readonly symbol: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiAllOrders
   */
  readonly orderId?: number | bigint;
  /**
   * Timestamp in ms to get aggregate trades from INCLUSIVE.
   * @type {number | bigint}
   * @memberof AccountApiAllOrders
   */
  readonly startTime?: number | bigint;
  /**
   * Timestamp in ms to get aggregate trades until INCLUSIVE.
   * @type {number | bigint}
   * @memberof AccountApiAllOrders
   */
  readonly endTime?: number | bigint;
  /**
   * Default: 500; Maximum: 1000.
   * @type {number}
   * @memberof AccountApiAllOrders
   */
  readonly limit?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiAllOrders
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for getAccount operation in AccountApi.
 * @interface GetAccountRequest
 */
interface GetAccountRequest {
  /**
   * When set to `true`, emits only the non-zero balances of an account. <br>Default value: `false`
   * @type {boolean}
   * @memberof AccountApiGetAccount
   */
  readonly omitZeroBalances?: boolean;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiGetAccount
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for getOpenOrders operation in AccountApi.
 * @interface GetOpenOrdersRequest
 */
interface GetOpenOrdersRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof AccountApiGetOpenOrders
   */
  readonly symbol?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiGetOpenOrders
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for getOrder operation in AccountApi.
 * @interface GetOrderRequest
 */
interface GetOrderRequest {
  /**
   *
   * @type {string}
   * @memberof AccountApiGetOrder
   */
  readonly symbol: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiGetOrder
   */
  readonly orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AccountApiGetOrder
   */
  readonly origClientOrderId?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiGetOrder
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for getOrderList operation in AccountApi.
 * @interface GetOrderListRequest
 */
interface GetOrderListRequest {
  /**
   * Either `orderListId` or `listClientOrderId` must be provided
   * @type {number | bigint}
   * @memberof AccountApiGetOrderList
   */
  readonly orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AccountApiGetOrderList
   */
  readonly origClientOrderId?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiGetOrderList
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for myAllocations operation in AccountApi.
 * @interface MyAllocationsRequest
 */
interface MyAllocationsRequest$1 {
  /**
   *
   * @type {string}
   * @memberof AccountApiMyAllocations
   */
  readonly symbol: string;
  /**
   * Timestamp in ms to get aggregate trades from INCLUSIVE.
   * @type {number | bigint}
   * @memberof AccountApiMyAllocations
   */
  readonly startTime?: number | bigint;
  /**
   * Timestamp in ms to get aggregate trades until INCLUSIVE.
   * @type {number | bigint}
   * @memberof AccountApiMyAllocations
   */
  readonly endTime?: number | bigint;
  /**
   *
   * @type {number}
   * @memberof AccountApiMyAllocations
   */
  readonly fromAllocationId?: number;
  /**
   * Default: 500; Maximum: 1000.
   * @type {number}
   * @memberof AccountApiMyAllocations
   */
  readonly limit?: number;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiMyAllocations
   */
  readonly orderId?: number | bigint;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiMyAllocations
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for myFilters operation in AccountApi.
 * @interface MyFiltersRequest
 */
interface MyFiltersRequest$1 {
  /**
   *
   * @type {string}
   * @memberof AccountApiMyFilters
   */
  readonly symbol: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiMyFilters
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for myPreventedMatches operation in AccountApi.
 * @interface MyPreventedMatchesRequest
 */
interface MyPreventedMatchesRequest$1 {
  /**
   *
   * @type {string}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly symbol: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly preventedMatchId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly fromPreventedMatchId?: number | bigint;
  /**
   * Default: 500; Maximum: 1000.
   * @type {number}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly limit?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for myTrades operation in AccountApi.
 * @interface MyTradesRequest
 */
interface MyTradesRequest$1 {
  /**
   *
   * @type {string}
   * @memberof AccountApiMyTrades
   */
  readonly symbol: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiMyTrades
   */
  readonly orderId?: number | bigint;
  /**
   * Timestamp in ms to get aggregate trades from INCLUSIVE.
   * @type {number | bigint}
   * @memberof AccountApiMyTrades
   */
  readonly startTime?: number | bigint;
  /**
   * Timestamp in ms to get aggregate trades until INCLUSIVE.
   * @type {number | bigint}
   * @memberof AccountApiMyTrades
   */
  readonly endTime?: number | bigint;
  /**
   * ID to get aggregate trades from INCLUSIVE.
   * @type {number | bigint}
   * @memberof AccountApiMyTrades
   */
  readonly fromId?: number | bigint;
  /**
   * Default: 500; Maximum: 1000.
   * @type {number}
   * @memberof AccountApiMyTrades
   */
  readonly limit?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiMyTrades
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for openOrderList operation in AccountApi.
 * @interface OpenOrderListRequest
 */
interface OpenOrderListRequest {
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiOpenOrderList
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderAmendments operation in AccountApi.
 * @interface OrderAmendmentsRequest
 */
interface OrderAmendmentsRequest$1 {
  /**
   *
   * @type {string}
   * @memberof AccountApiOrderAmendments
   */
  readonly symbol: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiOrderAmendments
   */
  readonly orderId: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiOrderAmendments
   */
  readonly fromExecutionId?: number | bigint;
  /**
   * Default: 500; Maximum: 1000
   * @type {number | bigint}
   * @memberof AccountApiOrderAmendments
   */
  readonly limit?: number | bigint;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiOrderAmendments
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for rateLimitOrder operation in AccountApi.
 * @interface RateLimitOrderRequest
 */
interface RateLimitOrderRequest {
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiRateLimitOrder
   */
  readonly recvWindow?: number;
}
/**
 * AccountApi - object-oriented interface
 * @class AccountApi
 */
declare class AccountApi$1 implements AccountApiInterface$1 {
  private readonly configuration;
  private localVarAxiosParamCreator;
  constructor(configuration: ConfigurationRestAPI);
  /**
   * Get current account commission rates.
   * Weight: 20
   *
   * @summary Query Commission Rates
   * @param {AccountCommissionRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<AccountCommissionResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-commission-rates-user_data Binance API Documentation}
   */
  accountCommission(requestParameters: AccountCommissionRequest$1): Promise<RestApiResponse<AccountCommissionResponse$1>>;
  /**
   * Retrieves all order lists based on provided optional parameters.
   *
   * Note that the time between `startTime` and `endTime` can't be longer than 24 hours.
   * Weight: 20
   *
   * @summary Query all Order lists
   * @param {AllOrderListRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<AllOrderListResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-all-order-lists-user_data Binance API Documentation}
   */
  allOrderList(requestParameters?: AllOrderListRequest): Promise<RestApiResponse<AllOrderListResponse>>;
  /**
   * Get all account orders; active, canceled, or filled.
   * Weight: 20
   *
   * @summary All orders
   * @param {AllOrdersRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<AllOrdersResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#all-orders-user_data Binance API Documentation}
   */
  allOrders(requestParameters: AllOrdersRequest$1): Promise<RestApiResponse<AllOrdersResponse$1>>;
  /**
   * Get current account information.
   * Weight: 20
   *
   * @summary Account information
   * @param {GetAccountRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetAccountResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#account-information-user_data Binance API Documentation}
   */
  getAccount(requestParameters?: GetAccountRequest): Promise<RestApiResponse<GetAccountResponse>>;
  /**
   * Get all open orders on a symbol. **Careful** when accessing this with no symbol.
   * Weight: 6 for a single symbol; **80** when the symbol parameter is omitted
   *
   * @summary Current open orders
   * @param {GetOpenOrdersRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetOpenOrdersResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#current-open-orders-user_data Binance API Documentation}
   */
  getOpenOrders(requestParameters?: GetOpenOrdersRequest): Promise<RestApiResponse<GetOpenOrdersResponse>>;
  /**
   * Check an order's status.
   * Weight: 4
   *
   * @summary Query order
   * @param {GetOrderRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetOrderResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-order-user_data Binance API Documentation}
   */
  getOrder(requestParameters: GetOrderRequest): Promise<RestApiResponse<GetOrderResponse>>;
  /**
   * Retrieves a specific order list based on provided optional parameters.
   * Weight: 4
   *
   * @summary Query Order list
   * @param {GetOrderListRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetOrderListResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-order-list-user_data Binance API Documentation}
   */
  getOrderList(requestParameters?: GetOrderListRequest): Promise<RestApiResponse<GetOrderListResponse>>;
  /**
   * Retrieves allocations resulting from SOR order placement.
   * Weight: 20
   *
   * @summary Query Allocations
   * @param {MyAllocationsRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<MyAllocationsResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-allocations-user_data Binance API Documentation}
   */
  myAllocations(requestParameters: MyAllocationsRequest$1): Promise<RestApiResponse<MyAllocationsResponse$1>>;
  /**
   * Retrieves the list of [filters](filters.md) relevant to an account on a given symbol. This is the only endpoint that shows if an account has `MAX_ASSET` filters applied to it.
   * Weight: 40
   *
   * @summary Query relevant filters
   * @param {MyFiltersRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<MyFiltersResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-relevant-filters-user_data Binance API Documentation}
   */
  myFilters(requestParameters: MyFiltersRequest$1): Promise<RestApiResponse<MyFiltersResponse$1>>;
  /**
   * Displays the list of orders that were expired due to STP.
   *
   * These are the combinations supported:
   *
   * `symbol` + `preventedMatchId`
   * `symbol` + `orderId`
   * `symbol` + `orderId` + `fromPreventedMatchId` (`limit` will default to 500)
   * `symbol` + `orderId` + `fromPreventedMatchId` + `limit`
   * Weight: Case                            | Weight
   * ----                            | -----
   * If `symbol` is invalid          | 2
   * Querying by `preventedMatchId`  | 2
   * Querying by `orderId`           | 20
   *
   * @summary Query Prevented Matches
   * @param {MyPreventedMatchesRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<MyPreventedMatchesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-prevented-matches-user_data Binance API Documentation}
   */
  myPreventedMatches(requestParameters: MyPreventedMatchesRequest$1): Promise<RestApiResponse<MyPreventedMatchesResponse$1>>;
  /**
   * Get trades for a specific account and symbol.
   * Weight: Condition| Weight|
   * ---| ---
   * |Without orderId|20|
   * |With orderId|5|
   *
   * @summary Account trade list
   * @param {MyTradesRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<MyTradesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#account-trade-list-user_data Binance API Documentation}
   */
  myTrades(requestParameters: MyTradesRequest$1): Promise<RestApiResponse<MyTradesResponse$1>>;
  /**
   *
   * Weight: 6
   *
   * @summary Query Open Order lists
   * @param {OpenOrderListRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<OpenOrderListResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-open-order-lists-user_data Binance API Documentation}
   */
  openOrderList(requestParameters?: OpenOrderListRequest): Promise<RestApiResponse<OpenOrderListResponse>>;
  /**
   * Queries all amendments of a single order.
   * Weight: 4
   *
   * @summary Query Order Amendments
   * @param {OrderAmendmentsRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<OrderAmendmentsResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-order-amendments-user_data Binance API Documentation}
   */
  orderAmendments(requestParameters: OrderAmendmentsRequest$1): Promise<RestApiResponse<OrderAmendmentsResponse$1>>;
  /**
   * Displays the user's unfilled order count for all intervals.
   * Weight: 40
   *
   * @summary Query Unfilled Order Count
   * @param {RateLimitOrderRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<RateLimitOrderResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-unfilled-order-count-user_data Binance API Documentation}
   */
  rateLimitOrder(requestParameters?: RateLimitOrderRequest): Promise<RestApiResponse<RateLimitOrderResponse>>;
}
//#endregion
//#region src/rest-api/modules/general-api.d.ts
/**
 * GeneralApi - interface
 * @interface GeneralApi
 */
interface GeneralApiInterface$1 {
  /**
   * Current exchange trading rules and symbol information
   * Weight: 20
   *
   * @summary Exchange information
   * @param {ExchangeInfoRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof GeneralApiInterface
   */
  exchangeInfo(requestParameters?: ExchangeInfoRequest$1): Promise<RestApiResponse<ExchangeInfoResponse$1>>;
  /**
   *
   * Weight: Parameter | Weight|
   * ---        | ---
   * `symbol`  | 2
   * `symbols` | 2 for each `symbol`, capped at a max of 40|
   * `symbolStatus` |40|
   * None            |40|
   *
   * @summary Query Execution Rules
   * @param {ExecutionRulesRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof GeneralApiInterface
   */
  executionRules(requestParameters?: ExecutionRulesRequest$1): Promise<RestApiResponse<ExecutionRulesResponse$1>>;
  /**
   * Test connectivity to the Rest API.
   * Weight: 1
   *
   * @summary Test connectivity
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof GeneralApiInterface
   */
  ping(): Promise<RestApiResponse<void>>;
  /**
   * Test connectivity to the Rest API and get the current server time.
   * Weight: 1
   *
   * @summary Check server time
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof GeneralApiInterface
   */
  time(): Promise<RestApiResponse<TimeResponse$1>>;
}
/**
 * Request parameters for exchangeInfo operation in GeneralApi.
 * @interface ExchangeInfoRequest
 */
interface ExchangeInfoRequest$1 {
  /**
   * Symbol to query
   * @type {string}
   * @memberof GeneralApiExchangeInfo
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof GeneralApiExchangeInfo
   */
  readonly symbols?: Array<string>;
  /**
   * List of permissions to query
   * @type {Array<string>}
   * @memberof GeneralApiExchangeInfo
   */
  readonly permissions?: Array<string>;
  /**
   * Controls whether the content of the `permissionSets` field is populated or not. Defaults to `true`
   * @type {boolean}
   * @memberof GeneralApiExchangeInfo
   */
  readonly showPermissionSets?: boolean;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof GeneralApiExchangeInfo
   */
  readonly symbolStatus?: ExchangeInfoSymbolStatusEnum$1;
}
/**
 * Request parameters for executionRules operation in GeneralApi.
 * @interface ExecutionRulesRequest
 */
interface ExecutionRulesRequest$1 {
  /**
   * Symbol to query
   * @type {string}
   * @memberof GeneralApiExecutionRules
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof GeneralApiExecutionRules
   */
  readonly symbols?: Array<string>;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof GeneralApiExecutionRules
   */
  readonly symbolStatus?: ExecutionRulesSymbolStatusEnum$1;
}
/**
 * GeneralApi - object-oriented interface
 * @class GeneralApi
 */
declare class GeneralApi$1 implements GeneralApiInterface$1 {
  private readonly configuration;
  private localVarAxiosParamCreator;
  constructor(configuration: ConfigurationRestAPI);
  /**
   * Current exchange trading rules and symbol information
   * Weight: 20
   *
   * @summary Exchange information
   * @param {ExchangeInfoRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<ExchangeInfoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof GeneralApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#exchange-information Binance API Documentation}
   */
  exchangeInfo(requestParameters?: ExchangeInfoRequest$1): Promise<RestApiResponse<ExchangeInfoResponse$1>>;
  /**
   *
   * Weight: Parameter | Weight|
   * ---        | ---
   * `symbol`  | 2
   * `symbols` | 2 for each `symbol`, capped at a max of 40|
   * `symbolStatus` |40|
   * None            |40|
   *
   * @summary Query Execution Rules
   * @param {ExecutionRulesRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<ExecutionRulesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof GeneralApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#query-execution-rules Binance API Documentation}
   */
  executionRules(requestParameters?: ExecutionRulesRequest$1): Promise<RestApiResponse<ExecutionRulesResponse$1>>;
  /**
   * Test connectivity to the Rest API.
   * Weight: 1
   *
   * @summary Test connectivity
   * @returns {Promise<RestApiResponse<void>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof GeneralApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#test-connectivity Binance API Documentation}
   */
  ping(): Promise<RestApiResponse<void>>;
  /**
   * Test connectivity to the Rest API and get the current server time.
   * Weight: 1
   *
   * @summary Check server time
   * @returns {Promise<RestApiResponse<TimeResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof GeneralApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#check-server-time Binance API Documentation}
   */
  time(): Promise<RestApiResponse<TimeResponse$1>>;
}
declare enum ExchangeInfoSymbolStatusEnum$1 {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum ExecutionRulesSymbolStatusEnum$1 {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
//#endregion
//#region src/rest-api/modules/market-api.d.ts
/**
 * MarketApi - interface
 * @interface MarketApi
 */
interface MarketApiInterface$1 {
  /**
   * Get compressed, aggregate trades. Trades that fill at the time, from the same taker order, with the same price will have the quantity aggregated.
   * Weight: 4
   *
   * @summary Compressed/Aggregate trades list
   * @param {AggTradesRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  aggTrades(requestParameters: AggTradesRequest): Promise<RestApiResponse<AggTradesResponse>>;
  /**
   * Current average price for a symbol.
   * Weight: 2
   *
   * @summary Current average price
   * @param {AvgPriceRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  avgPrice(requestParameters: AvgPriceRequest$2): Promise<RestApiResponse<AvgPriceResponse$2>>;
  /**
   *
   * Weight: Adjusted based on the limit:
   *
   * |Limit|Request Weight
   * ------|-------
   * 1-100|  5
   * 101-500| 25
   * 501-1000| 50
   * 1001-5000| 250
   *
   * @summary Order book
   * @param {DepthRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  depth(requestParameters: DepthRequest$1): Promise<RestApiResponse<DepthResponse$1>>;
  /**
   * Get recent trades.
   * Weight: 25
   *
   * @summary Recent trades list
   * @param {GetTradesRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  getTrades(requestParameters: GetTradesRequest): Promise<RestApiResponse<GetTradesResponse>>;
  /**
   * Get block trades.
   * Weight: 25
   *
   * @summary Historical Block Trades
   * @param {HistoricalBlockTradesRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  historicalBlockTrades(requestParameters: HistoricalBlockTradesRequest): Promise<RestApiResponse<HistoricalBlockTradesResponse>>;
  /**
   * Get older trades.
   * Weight: 25
   *
   * @summary Old trade lookup
   * @param {HistoricalTradesRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  historicalTrades(requestParameters: HistoricalTradesRequest): Promise<RestApiResponse<HistoricalTradesResponse>>;
  /**
   * Kline/candlestick bars for a symbol.
   * Klines are uniquely identified by their open time.
   * Weight: 2
   *
   * @summary Kline/Candlestick data
   * @param {KlinesRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  klines(requestParameters: KlinesRequest$1): Promise<RestApiResponse<KlinesResponse$1>>;
  /**
   *
   * Weight: 2
   *
   * @summary Query Reference Price
   * @param {ReferencePriceRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  referencePrice(requestParameters: ReferencePriceRequest$2): Promise<RestApiResponse<ReferencePriceResponse$2>>;
  /**
   * Describes how reference price is calculated for a given symbol.
   * Weight: 2
   *
   * @summary Query Reference Price Calculation
   * @param {ReferencePriceCalculationRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  referencePriceCalculation(requestParameters: ReferencePriceCalculationRequest$1): Promise<RestApiResponse<ReferencePriceCalculationResponse$1>>;
  /**
   *
   * Weight: 4 for each requested <tt>symbol</tt> regardless of <tt>windowSize</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
   *
   * @summary Rolling window price change statistics
   * @param {TickerRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  ticker(requestParameters?: TickerRequest$2): Promise<RestApiResponse<TickerResponse$2>>;
  /**
   * 24 hour rolling window price change statistics. **Careful** when accessing this with no symbol.
   * Weight: <table>
   * <thead>
   * <tr>
   * <th>Parameter</th>
   * <th>Symbols Provided</th>
   * <th>Weight</th>
   * </tr>
   * </thead>
   * <tbody>
   * <tr>
   * <td rowspan="2">symbol</td>
   * <td>1</td>
   * <td>2</td>
   * </tr>
   * <tr>
   * <td>symbol parameter is omitted</td>
   * <td>80</td>
   * </tr>
   * <tr>
   * <td rowspan="4">symbols</td>
   * <td>1-20</td>
   * <td>2</td>
   * </tr>
   * <tr>
   * <td>21-100</td>
   * <td>40</td>
   * </tr>
   * <tr>
   * <td>101 or more</td>
   * <td>80</td>
   * </tr>
   * <tr>
   * <td>symbols parameter is omitted</td>
   * <td>80</td>
   * </tr>
   * </tbody>
   * </table>
   *
   * @summary 24hr ticker price change statistics
   * @param {Ticker24hrRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  ticker24hr(requestParameters?: Ticker24hrRequest$1): Promise<RestApiResponse<Ticker24hrResponse$1>>;
  /**
   * Best price/qty on the order book for a symbol or symbols.
   * Weight: <table>
   * <thead>
   * <tr>
   * <th>Parameter</th>
   * <th>Symbols Provided</th>
   * <th>Weight</th>
   * </tr>
   * </thead>
   * <tbody>
   * <tr>
   * <td rowspan="2">symbol</td>
   * <td>1</td>
   * <td>2</td>
   * </tr>
   * <tr>
   * <td>symbol parameter is omitted</td>
   * <td>4</td>
   * </tr>
   * <tr>
   * <td>symbols</td>
   * <td>Any</td>
   * <td>4</td>
   * </tr>
   * </tbody>
   * </table>
   *
   * @summary Symbol order book ticker
   * @param {TickerBookTickerRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  tickerBookTicker(requestParameters?: TickerBookTickerRequest): Promise<RestApiResponse<TickerBookTickerResponse>>;
  /**
   * Latest price for a symbol or symbols.
   * Weight: <table>
   * <thead>
   * <tr>
   * <th>Parameter</th>
   * <th>Symbols Provided</th>
   * <th>Weight</th>
   * </tr>
   * </thead>
   * <tbody>
   * <tr>
   * <td rowspan="2">symbol</td>
   * <td>1</td>
   * <td>2</td>
   * </tr>
   * <tr>
   * <td>symbol parameter is omitted</td>
   * <td>4</td>
   * </tr>
   * <tr>
   * <td>symbols</td>
   * <td>Any</td>
   * <td>4</td>
   * </tr>
   * </tbody>
   * </table>
   *
   * @summary Symbol price ticker
   * @param {TickerPriceRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  tickerPrice(requestParameters?: TickerPriceRequest$1): Promise<RestApiResponse<TickerPriceResponse$1>>;
  /**
   * Price change statistics for a trading day.
   * Weight: 4 for each requested <tt>symbol</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
   *
   * @summary Trading Day Ticker
   * @param {TickerTradingDayRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  tickerTradingDay(requestParameters?: TickerTradingDayRequest$1): Promise<RestApiResponse<TickerTradingDayResponse$1>>;
  /**
   * The request is similar to klines having the same parameters and response.
   *
   * `uiKlines` return modified kline data, optimized for presentation of candlestick charts.
   * Weight: 2
   *
   * @summary UIKlines
   * @param {UiKlinesRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApiInterface
   */
  uiKlines(requestParameters: UiKlinesRequest$1): Promise<RestApiResponse<UiKlinesResponse$1>>;
}
/**
 * Request parameters for aggTrades operation in MarketApi.
 * @interface AggTradesRequest
 */
interface AggTradesRequest {
  /**
   *
   * @type {string}
   * @memberof MarketApiAggTrades
   */
  readonly symbol: string;
  /**
   * ID to get aggregate trades from INCLUSIVE.
   * @type {number | bigint}
   * @memberof MarketApiAggTrades
   */
  readonly fromId?: number | bigint;
  /**
   * Timestamp in ms to get aggregate trades from INCLUSIVE.
   * @type {number | bigint}
   * @memberof MarketApiAggTrades
   */
  readonly startTime?: number | bigint;
  /**
   * Timestamp in ms to get aggregate trades until INCLUSIVE.
   * @type {number | bigint}
   * @memberof MarketApiAggTrades
   */
  readonly endTime?: number | bigint;
  /**
   * Default: 500; Maximum: 1000.
   * @type {number}
   * @memberof MarketApiAggTrades
   */
  readonly limit?: number;
}
/**
 * Request parameters for avgPrice operation in MarketApi.
 * @interface AvgPriceRequest
 */
interface AvgPriceRequest$2 {
  /**
   *
   * @type {string}
   * @memberof MarketApiAvgPrice
   */
  readonly symbol: string;
}
/**
 * Request parameters for depth operation in MarketApi.
 * @interface DepthRequest
 */
interface DepthRequest$1 {
  /**
   *
   * @type {string}
   * @memberof MarketApiDepth
   */
  readonly symbol: string;
  /**
   * Default: 500; Maximum: 1000.
   * @type {number}
   * @memberof MarketApiDepth
   */
  readonly limit?: number;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiDepth
   */
  readonly symbolStatus?: DepthSymbolStatusEnum$1;
}
/**
 * Request parameters for getTrades operation in MarketApi.
 * @interface GetTradesRequest
 */
interface GetTradesRequest {
  /**
   *
   * @type {string}
   * @memberof MarketApiGetTrades
   */
  readonly symbol: string;
  /**
   * Default: 500; Maximum: 1000.
   * @type {number}
   * @memberof MarketApiGetTrades
   */
  readonly limit?: number;
}
/**
 * Request parameters for historicalBlockTrades operation in MarketApi.
 * @interface HistoricalBlockTradesRequest
 */
interface HistoricalBlockTradesRequest {
  /**
   *
   * @type {string}
   * @memberof MarketApiHistoricalBlockTrades
   */
  readonly symbol: string;
  /**
   * Block trade ID to fetch from
   * @type {number | bigint}
   * @memberof MarketApiHistoricalBlockTrades
   */
  readonly fromId: number | bigint;
  /**
   * Default: 500; Maximum: 1000
   * @type {number | bigint}
   * @memberof MarketApiHistoricalBlockTrades
   */
  readonly limit?: number | bigint;
}
/**
 * Request parameters for historicalTrades operation in MarketApi.
 * @interface HistoricalTradesRequest
 */
interface HistoricalTradesRequest {
  /**
   *
   * @type {string}
   * @memberof MarketApiHistoricalTrades
   */
  readonly symbol: string;
  /**
   * Default: 500; Maximum: 1000.
   * @type {number}
   * @memberof MarketApiHistoricalTrades
   */
  readonly limit?: number;
  /**
   * ID to get aggregate trades from INCLUSIVE.
   * @type {number | bigint}
   * @memberof MarketApiHistoricalTrades
   */
  readonly fromId?: number | bigint;
}
/**
 * Request parameters for klines operation in MarketApi.
 * @interface KlinesRequest
 */
interface KlinesRequest$1 {
  /**
   *
   * @type {string}
   * @memberof MarketApiKlines
   */
  readonly symbol: string;
  /**
   *
   * @type {'1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
   * @memberof MarketApiKlines
   */
  readonly interval: KlinesIntervalEnum$1;
  /**
   * Timestamp in ms to get aggregate trades from INCLUSIVE.
   * @type {number | bigint}
   * @memberof MarketApiKlines
   */
  readonly startTime?: number | bigint;
  /**
   * Timestamp in ms to get aggregate trades until INCLUSIVE.
   * @type {number | bigint}
   * @memberof MarketApiKlines
   */
  readonly endTime?: number | bigint;
  /**
   * Default: 0 (UTC)
   * @type {string}
   * @memberof MarketApiKlines
   */
  readonly timeZone?: string;
  /**
   * Default: 500; Maximum: 1000.
   * @type {number}
   * @memberof MarketApiKlines
   */
  readonly limit?: number;
}
/**
 * Request parameters for referencePrice operation in MarketApi.
 * @interface ReferencePriceRequest
 */
interface ReferencePriceRequest$2 {
  /**
   *
   * @type {string}
   * @memberof MarketApiReferencePrice
   */
  readonly symbol: string;
}
/**
 * Request parameters for referencePriceCalculation operation in MarketApi.
 * @interface ReferencePriceCalculationRequest
 */
interface ReferencePriceCalculationRequest$1 {
  /**
   *
   * @type {string}
   * @memberof MarketApiReferencePriceCalculation
   */
  readonly symbol: string;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiReferencePriceCalculation
   */
  readonly symbolStatus?: ReferencePriceCalculationSymbolStatusEnum$1;
}
/**
 * Request parameters for ticker operation in MarketApi.
 * @interface TickerRequest
 */
interface TickerRequest$2 {
  /**
   * Symbol to query
   * @type {string}
   * @memberof MarketApiTicker
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof MarketApiTicker
   */
  readonly symbols?: Array<string>;
  /**
   *
   * @type {'1m' | '2m' | '3m' | '4m' | '5m' | '6m' | '7m' | '8m' | '9m' | '10m' | '11m' | '12m' | '13m' | '14m' | '15m' | '16m' | '17m' | '18m' | '19m' | '20m' | '21m' | '22m' | '23m' | '24m' | '25m' | '26m' | '27m' | '28m' | '29m' | '30m' | '31m' | '32m' | '33m' | '34m' | '35m' | '36m' | '37m' | '38m' | '39m' | '40m' | '41m' | '42m' | '43m' | '44m' | '45m' | '46m' | '47m' | '48m' | '49m' | '50m' | '51m' | '52m' | '53m' | '54m' | '55m' | '56m' | '57m' | '58m' | '59m' | '1h' | '2h' | '3h' | '4h' | '5h' | '6h' | '7h' | '8h' | '9h' | '10h' | '11h' | '12h' | '13h' | '14h' | '15h' | '16h' | '17h' | '18h' | '19h' | '20h' | '21h' | '22h' | '23h' | '1d' | '2d' | '3d' | '4d' | '5d' | '6d'}
   * @memberof MarketApiTicker
   */
  readonly windowSize?: TickerWindowSizeEnum$1;
  /**
   *
   * @type {'FULL' | 'MINI'}
   * @memberof MarketApiTicker
   */
  readonly type?: TickerTypeEnum$1;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiTicker
   */
  readonly symbolStatus?: TickerSymbolStatusEnum$1;
}
/**
 * Request parameters for ticker24hr operation in MarketApi.
 * @interface Ticker24hrRequest
 */
interface Ticker24hrRequest$1 {
  /**
   * Symbol to query
   * @type {string}
   * @memberof MarketApiTicker24hr
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof MarketApiTicker24hr
   */
  readonly symbols?: Array<string>;
  /**
   *
   * @type {'FULL' | 'MINI'}
   * @memberof MarketApiTicker24hr
   */
  readonly type?: Ticker24hrTypeEnum$1;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiTicker24hr
   */
  readonly symbolStatus?: Ticker24hrSymbolStatusEnum$1;
}
/**
 * Request parameters for tickerBookTicker operation in MarketApi.
 * @interface TickerBookTickerRequest
 */
interface TickerBookTickerRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof MarketApiTickerBookTicker
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof MarketApiTickerBookTicker
   */
  readonly symbols?: Array<string>;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiTickerBookTicker
   */
  readonly symbolStatus?: TickerBookTickerSymbolStatusEnum;
}
/**
 * Request parameters for tickerPrice operation in MarketApi.
 * @interface TickerPriceRequest
 */
interface TickerPriceRequest$1 {
  /**
   * Symbol to query
   * @type {string}
   * @memberof MarketApiTickerPrice
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof MarketApiTickerPrice
   */
  readonly symbols?: Array<string>;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiTickerPrice
   */
  readonly symbolStatus?: TickerPriceSymbolStatusEnum$1;
}
/**
 * Request parameters for tickerTradingDay operation in MarketApi.
 * @interface TickerTradingDayRequest
 */
interface TickerTradingDayRequest$1 {
  /**
   * Symbol to query
   * @type {string}
   * @memberof MarketApiTickerTradingDay
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof MarketApiTickerTradingDay
   */
  readonly symbols?: Array<string>;
  /**
   * Default: 0 (UTC)
   * @type {string}
   * @memberof MarketApiTickerTradingDay
   */
  readonly timeZone?: string;
  /**
   *
   * @type {'FULL' | 'MINI'}
   * @memberof MarketApiTickerTradingDay
   */
  readonly type?: TickerTradingDayTypeEnum$1;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiTickerTradingDay
   */
  readonly symbolStatus?: TickerTradingDaySymbolStatusEnum$1;
}
/**
 * Request parameters for uiKlines operation in MarketApi.
 * @interface UiKlinesRequest
 */
interface UiKlinesRequest$1 {
  /**
   *
   * @type {string}
   * @memberof MarketApiUiKlines
   */
  readonly symbol: string;
  /**
   *
   * @type {'1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
   * @memberof MarketApiUiKlines
   */
  readonly interval: UiKlinesIntervalEnum$1;
  /**
   * Timestamp in ms to get aggregate trades from INCLUSIVE.
   * @type {number | bigint}
   * @memberof MarketApiUiKlines
   */
  readonly startTime?: number | bigint;
  /**
   * Timestamp in ms to get aggregate trades until INCLUSIVE.
   * @type {number | bigint}
   * @memberof MarketApiUiKlines
   */
  readonly endTime?: number | bigint;
  /**
   * Default: 0 (UTC)
   * @type {string}
   * @memberof MarketApiUiKlines
   */
  readonly timeZone?: string;
  /**
   * Default: 500; Maximum: 1000.
   * @type {number}
   * @memberof MarketApiUiKlines
   */
  readonly limit?: number;
}
/**
 * MarketApi - object-oriented interface
 * @class MarketApi
 */
declare class MarketApi$1 implements MarketApiInterface$1 {
  private readonly configuration;
  private localVarAxiosParamCreator;
  constructor(configuration: ConfigurationRestAPI);
  /**
   * Get compressed, aggregate trades. Trades that fill at the time, from the same taker order, with the same price will have the quantity aggregated.
   * Weight: 4
   *
   * @summary Compressed/Aggregate trades list
   * @param {AggTradesRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<AggTradesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#compressedaggregate-trades-list Binance API Documentation}
   */
  aggTrades(requestParameters: AggTradesRequest): Promise<RestApiResponse<AggTradesResponse>>;
  /**
   * Current average price for a symbol.
   * Weight: 2
   *
   * @summary Current average price
   * @param {AvgPriceRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<AvgPriceResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#current-average-price Binance API Documentation}
   */
  avgPrice(requestParameters: AvgPriceRequest$2): Promise<RestApiResponse<AvgPriceResponse$2>>;
  /**
   *
   * Weight: Adjusted based on the limit:
   *
   * |Limit|Request Weight
   * ------|-------
   * 1-100|  5
   * 101-500| 25
   * 501-1000| 50
   * 1001-5000| 250
   *
   * @summary Order book
   * @param {DepthRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<DepthResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#order-book Binance API Documentation}
   */
  depth(requestParameters: DepthRequest$1): Promise<RestApiResponse<DepthResponse$1>>;
  /**
   * Get recent trades.
   * Weight: 25
   *
   * @summary Recent trades list
   * @param {GetTradesRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetTradesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#recent-trades-list Binance API Documentation}
   */
  getTrades(requestParameters: GetTradesRequest): Promise<RestApiResponse<GetTradesResponse>>;
  /**
   * Get block trades.
   * Weight: 25
   *
   * @summary Historical Block Trades
   * @param {HistoricalBlockTradesRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<HistoricalBlockTradesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#historical-block-trades Binance API Documentation}
   */
  historicalBlockTrades(requestParameters: HistoricalBlockTradesRequest): Promise<RestApiResponse<HistoricalBlockTradesResponse>>;
  /**
   * Get older trades.
   * Weight: 25
   *
   * @summary Old trade lookup
   * @param {HistoricalTradesRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<HistoricalTradesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#old-trade-lookup Binance API Documentation}
   */
  historicalTrades(requestParameters: HistoricalTradesRequest): Promise<RestApiResponse<HistoricalTradesResponse>>;
  /**
   * Kline/candlestick bars for a symbol.
   * Klines are uniquely identified by their open time.
   * Weight: 2
   *
   * @summary Kline/Candlestick data
   * @param {KlinesRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<KlinesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#klinecandlestick-data Binance API Documentation}
   */
  klines(requestParameters: KlinesRequest$1): Promise<RestApiResponse<KlinesResponse$1>>;
  /**
   *
   * Weight: 2
   *
   * @summary Query Reference Price
   * @param {ReferencePriceRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<ReferencePriceResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#query-reference-price Binance API Documentation}
   */
  referencePrice(requestParameters: ReferencePriceRequest$2): Promise<RestApiResponse<ReferencePriceResponse$2>>;
  /**
   * Describes how reference price is calculated for a given symbol.
   * Weight: 2
   *
   * @summary Query Reference Price Calculation
   * @param {ReferencePriceCalculationRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<ReferencePriceCalculationResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#query-reference-price-calculation Binance API Documentation}
   */
  referencePriceCalculation(requestParameters: ReferencePriceCalculationRequest$1): Promise<RestApiResponse<ReferencePriceCalculationResponse$1>>;
  /**
   *
   * Weight: 4 for each requested <tt>symbol</tt> regardless of <tt>windowSize</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
   *
   * @summary Rolling window price change statistics
   * @param {TickerRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<TickerResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#rolling-window-price-change-statistics Binance API Documentation}
   */
  ticker(requestParameters?: TickerRequest$2): Promise<RestApiResponse<TickerResponse$2>>;
  /**
   * 24 hour rolling window price change statistics. **Careful** when accessing this with no symbol.
   * Weight: <table>
   * <thead>
   * <tr>
   * <th>Parameter</th>
   * <th>Symbols Provided</th>
   * <th>Weight</th>
   * </tr>
   * </thead>
   * <tbody>
   * <tr>
   * <td rowspan="2">symbol</td>
   * <td>1</td>
   * <td>2</td>
   * </tr>
   * <tr>
   * <td>symbol parameter is omitted</td>
   * <td>80</td>
   * </tr>
   * <tr>
   * <td rowspan="4">symbols</td>
   * <td>1-20</td>
   * <td>2</td>
   * </tr>
   * <tr>
   * <td>21-100</td>
   * <td>40</td>
   * </tr>
   * <tr>
   * <td>101 or more</td>
   * <td>80</td>
   * </tr>
   * <tr>
   * <td>symbols parameter is omitted</td>
   * <td>80</td>
   * </tr>
   * </tbody>
   * </table>
   *
   * @summary 24hr ticker price change statistics
   * @param {Ticker24hrRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<Ticker24hrResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#24hr-ticker-price-change-statistics Binance API Documentation}
   */
  ticker24hr(requestParameters?: Ticker24hrRequest$1): Promise<RestApiResponse<Ticker24hrResponse$1>>;
  /**
   * Best price/qty on the order book for a symbol or symbols.
   * Weight: <table>
   * <thead>
   * <tr>
   * <th>Parameter</th>
   * <th>Symbols Provided</th>
   * <th>Weight</th>
   * </tr>
   * </thead>
   * <tbody>
   * <tr>
   * <td rowspan="2">symbol</td>
   * <td>1</td>
   * <td>2</td>
   * </tr>
   * <tr>
   * <td>symbol parameter is omitted</td>
   * <td>4</td>
   * </tr>
   * <tr>
   * <td>symbols</td>
   * <td>Any</td>
   * <td>4</td>
   * </tr>
   * </tbody>
   * </table>
   *
   * @summary Symbol order book ticker
   * @param {TickerBookTickerRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<TickerBookTickerResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#symbol-order-book-ticker Binance API Documentation}
   */
  tickerBookTicker(requestParameters?: TickerBookTickerRequest): Promise<RestApiResponse<TickerBookTickerResponse>>;
  /**
   * Latest price for a symbol or symbols.
   * Weight: <table>
   * <thead>
   * <tr>
   * <th>Parameter</th>
   * <th>Symbols Provided</th>
   * <th>Weight</th>
   * </tr>
   * </thead>
   * <tbody>
   * <tr>
   * <td rowspan="2">symbol</td>
   * <td>1</td>
   * <td>2</td>
   * </tr>
   * <tr>
   * <td>symbol parameter is omitted</td>
   * <td>4</td>
   * </tr>
   * <tr>
   * <td>symbols</td>
   * <td>Any</td>
   * <td>4</td>
   * </tr>
   * </tbody>
   * </table>
   *
   * @summary Symbol price ticker
   * @param {TickerPriceRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<TickerPriceResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#symbol-price-ticker Binance API Documentation}
   */
  tickerPrice(requestParameters?: TickerPriceRequest$1): Promise<RestApiResponse<TickerPriceResponse$1>>;
  /**
   * Price change statistics for a trading day.
   * Weight: 4 for each requested <tt>symbol</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
   *
   * @summary Trading Day Ticker
   * @param {TickerTradingDayRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<TickerTradingDayResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#trading-day-ticker Binance API Documentation}
   */
  tickerTradingDay(requestParameters?: TickerTradingDayRequest$1): Promise<RestApiResponse<TickerTradingDayResponse$1>>;
  /**
   * The request is similar to klines having the same parameters and response.
   *
   * `uiKlines` return modified kline data, optimized for presentation of candlestick charts.
   * Weight: 2
   *
   * @summary UIKlines
   * @param {UiKlinesRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<UiKlinesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#uiklines Binance API Documentation}
   */
  uiKlines(requestParameters: UiKlinesRequest$1): Promise<RestApiResponse<UiKlinesResponse$1>>;
}
declare enum DepthSymbolStatusEnum$1 {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum KlinesIntervalEnum$1 {
  INTERVAL_1s = "1s",
  INTERVAL_1m = "1m",
  INTERVAL_3m = "3m",
  INTERVAL_5m = "5m",
  INTERVAL_15m = "15m",
  INTERVAL_30m = "30m",
  INTERVAL_1h = "1h",
  INTERVAL_2h = "2h",
  INTERVAL_4h = "4h",
  INTERVAL_6h = "6h",
  INTERVAL_8h = "8h",
  INTERVAL_12h = "12h",
  INTERVAL_1d = "1d",
  INTERVAL_3d = "3d",
  INTERVAL_1w = "1w",
  INTERVAL_1M = "1M",
}
declare enum ReferencePriceCalculationSymbolStatusEnum$1 {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum TickerWindowSizeEnum$1 {
  WINDOW_SIZE_1m = "1m",
  WINDOW_SIZE_2m = "2m",
  WINDOW_SIZE_3m = "3m",
  WINDOW_SIZE_4m = "4m",
  WINDOW_SIZE_5m = "5m",
  WINDOW_SIZE_6m = "6m",
  WINDOW_SIZE_7m = "7m",
  WINDOW_SIZE_8m = "8m",
  WINDOW_SIZE_9m = "9m",
  WINDOW_SIZE_10m = "10m",
  WINDOW_SIZE_11m = "11m",
  WINDOW_SIZE_12m = "12m",
  WINDOW_SIZE_13m = "13m",
  WINDOW_SIZE_14m = "14m",
  WINDOW_SIZE_15m = "15m",
  WINDOW_SIZE_16m = "16m",
  WINDOW_SIZE_17m = "17m",
  WINDOW_SIZE_18m = "18m",
  WINDOW_SIZE_19m = "19m",
  WINDOW_SIZE_20m = "20m",
  WINDOW_SIZE_21m = "21m",
  WINDOW_SIZE_22m = "22m",
  WINDOW_SIZE_23m = "23m",
  WINDOW_SIZE_24m = "24m",
  WINDOW_SIZE_25m = "25m",
  WINDOW_SIZE_26m = "26m",
  WINDOW_SIZE_27m = "27m",
  WINDOW_SIZE_28m = "28m",
  WINDOW_SIZE_29m = "29m",
  WINDOW_SIZE_30m = "30m",
  WINDOW_SIZE_31m = "31m",
  WINDOW_SIZE_32m = "32m",
  WINDOW_SIZE_33m = "33m",
  WINDOW_SIZE_34m = "34m",
  WINDOW_SIZE_35m = "35m",
  WINDOW_SIZE_36m = "36m",
  WINDOW_SIZE_37m = "37m",
  WINDOW_SIZE_38m = "38m",
  WINDOW_SIZE_39m = "39m",
  WINDOW_SIZE_40m = "40m",
  WINDOW_SIZE_41m = "41m",
  WINDOW_SIZE_42m = "42m",
  WINDOW_SIZE_43m = "43m",
  WINDOW_SIZE_44m = "44m",
  WINDOW_SIZE_45m = "45m",
  WINDOW_SIZE_46m = "46m",
  WINDOW_SIZE_47m = "47m",
  WINDOW_SIZE_48m = "48m",
  WINDOW_SIZE_49m = "49m",
  WINDOW_SIZE_50m = "50m",
  WINDOW_SIZE_51m = "51m",
  WINDOW_SIZE_52m = "52m",
  WINDOW_SIZE_53m = "53m",
  WINDOW_SIZE_54m = "54m",
  WINDOW_SIZE_55m = "55m",
  WINDOW_SIZE_56m = "56m",
  WINDOW_SIZE_57m = "57m",
  WINDOW_SIZE_58m = "58m",
  WINDOW_SIZE_59m = "59m",
  WINDOW_SIZE_1h = "1h",
  WINDOW_SIZE_2h = "2h",
  WINDOW_SIZE_3h = "3h",
  WINDOW_SIZE_4h = "4h",
  WINDOW_SIZE_5h = "5h",
  WINDOW_SIZE_6h = "6h",
  WINDOW_SIZE_7h = "7h",
  WINDOW_SIZE_8h = "8h",
  WINDOW_SIZE_9h = "9h",
  WINDOW_SIZE_10h = "10h",
  WINDOW_SIZE_11h = "11h",
  WINDOW_SIZE_12h = "12h",
  WINDOW_SIZE_13h = "13h",
  WINDOW_SIZE_14h = "14h",
  WINDOW_SIZE_15h = "15h",
  WINDOW_SIZE_16h = "16h",
  WINDOW_SIZE_17h = "17h",
  WINDOW_SIZE_18h = "18h",
  WINDOW_SIZE_19h = "19h",
  WINDOW_SIZE_20h = "20h",
  WINDOW_SIZE_21h = "21h",
  WINDOW_SIZE_22h = "22h",
  WINDOW_SIZE_23h = "23h",
  WINDOW_SIZE_1d = "1d",
  WINDOW_SIZE_2d = "2d",
  WINDOW_SIZE_3d = "3d",
  WINDOW_SIZE_4d = "4d",
  WINDOW_SIZE_5d = "5d",
  WINDOW_SIZE_6d = "6d",
}
declare enum TickerTypeEnum$1 {
  FULL = "FULL",
  MINI = "MINI",
}
declare enum TickerSymbolStatusEnum$1 {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum Ticker24hrTypeEnum$1 {
  FULL = "FULL",
  MINI = "MINI",
}
declare enum Ticker24hrSymbolStatusEnum$1 {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum TickerBookTickerSymbolStatusEnum {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum TickerPriceSymbolStatusEnum$1 {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum TickerTradingDayTypeEnum$1 {
  FULL = "FULL",
  MINI = "MINI",
}
declare enum TickerTradingDaySymbolStatusEnum$1 {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum UiKlinesIntervalEnum$1 {
  INTERVAL_1s = "1s",
  INTERVAL_1m = "1m",
  INTERVAL_3m = "3m",
  INTERVAL_5m = "5m",
  INTERVAL_15m = "15m",
  INTERVAL_30m = "30m",
  INTERVAL_1h = "1h",
  INTERVAL_2h = "2h",
  INTERVAL_4h = "4h",
  INTERVAL_6h = "6h",
  INTERVAL_8h = "8h",
  INTERVAL_12h = "12h",
  INTERVAL_1d = "1d",
  INTERVAL_3d = "3d",
  INTERVAL_1w = "1w",
  INTERVAL_1M = "1M",
}
//#endregion
//#region src/rest-api/modules/trade-api.d.ts
/**
 * TradeApi - interface
 * @interface TradeApi
 */
interface TradeApiInterface$1 {
  /**
   * Cancels all active orders on a symbol.
   * This includes orders that are part of an order list.
   * Weight: 1
   *
   * @summary Cancel All Open Orders on a Symbol
   * @param {DeleteOpenOrdersRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  deleteOpenOrders(requestParameters: DeleteOpenOrdersRequest): Promise<RestApiResponse<DeleteOpenOrdersResponse>>;
  /**
   * Cancel an active order.
   * Weight: 1
   *
   * @summary Cancel order
   * @param {DeleteOrderRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  deleteOrder(requestParameters: DeleteOrderRequest): Promise<RestApiResponse<DeleteOrderResponse>>;
  /**
   * Cancel an entire Order list
   * Weight: 1
   *
   * @summary Cancel Order list
   * @param {DeleteOrderListRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  deleteOrderList(requestParameters: DeleteOrderListRequest): Promise<RestApiResponse<DeleteOrderListResponse>>;
  /**
   * Send in a new order.
   *
   * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * @summary New order
   * @param {NewOrderRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  newOrder(requestParameters: NewOrderRequest): Promise<RestApiResponse<NewOrderResponse>>;
  /**
   * Reduce the quantity of an existing open order.
   *
   * This adds 0 orders to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   *
   * Read [Order Amend Keep Priority FAQ](faqs/order_amend_keep_priority.md) to learn more.
   * Weight: 4
   *
   * @summary Order Amend Keep Priority
   * @param {OrderAmendKeepPriorityRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  orderAmendKeepPriority(requestParameters: OrderAmendKeepPriorityRequest$1): Promise<RestApiResponse<OrderAmendKeepPriorityResponse$1>>;
  /**
   * * Cancels an existing order and places a new order on the same symbol.
   * Filters and Order Count are evaluated before the processing of the cancellation and order placement occurs.
   * A new order that was not attempted (i.e. when `newOrderResult: NOT_ATTEMPTED`), will still increase the unfilled order count by 1.
   * You can only cancel an individual order from an orderList using this endpoint, but the result is the same as canceling the entire orderList.
   * Weight: 1
   *
   * @summary Cancel an Existing Order and Send a New Order
   * @param {OrderCancelReplaceRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  orderCancelReplace(requestParameters: OrderCancelReplaceRequest$1): Promise<RestApiResponse<OrderCancelReplaceResponse$1>>;
  /**
   * Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
   *
   * An OCO has 2 orders called the **above order** and **below order**.
   * One of the orders must be a `LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMIT` order and the other must be `STOP_LOSS` or `STOP_LOSS_LIMIT` order.
   * Price restrictions
   * If the OCO is on the `SELL` side:
   * `LIMIT_MAKER/TAKE_PROFIT_LIMIT` `price` > Last Traded Price >  `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
   * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
   * If the OCO is on the `BUY` side:
   * `LIMIT_MAKER/TAKE_PROFIT_LIMIT price` < Last Traded Price < `stopPrice`
   * `TAKE_PROFIT stopPrice` < Last Traded Price < `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
   * OCOs add **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary New Order list - OCO
   * @param {OrderListOcoRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  orderListOco(requestParameters: OrderListOcoRequest): Promise<RestApiResponse<OrderListOcoResponse>>;
  /**
   * Place an [OPO](./faqs/opo.md).
   *
   * OPOs add 2 orders to the EXCHANGE_MAX_NUM_ORDERS filter and MAX_NUM_ORDERS filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary New Order List - OPO
   * @param {OrderListOpoRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  orderListOpo(requestParameters: OrderListOpoRequest): Promise<RestApiResponse<OrderListOpoResponse>>;
  /**
   * Place an [OPOCO](./faqs/opo.md).
   * Weight: 1
   *
   * Unfilled Order Count: 3
   *
   * @summary New Order List - OPOCO
   * @param {OrderListOpocoRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  orderListOpoco(requestParameters: OrderListOpocoRequest): Promise<RestApiResponse<OrderListOpocoResponse>>;
  /**
   * Place an OTO.
   *
   * An OTO (One-Triggers-the-Other) is an order list comprised of 2 orders.
   * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
   * The second order is called the **pending order**. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets **fully filled**.
   * If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired.
   * When the order list is placed, if the working order gets **immediately fully filled**, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status.
   * OTOs add **2 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary New Order list - OTO
   * @param {OrderListOtoRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  orderListOto(requestParameters: OrderListOtoRequest): Promise<RestApiResponse<OrderListOtoResponse>>;
  /**
   * Place an OTOCO.
   *
   * An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders.
   * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
   * The behavior of the working order is the same as the [OTO](#new-order-list---oto-trade).
   * OTOCO has 2 pending orders (pending above and pending below), forming an OCO pair. The pending orders are only placed on the order book when the working order gets **fully filled**.
   * The rules of the pending above and pending below follow the same rules as the [Order list OCO](#new-order-list---oco-trade).
   * OTOCOs add **3 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 3
   *
   * @summary New Order list - OTOCO
   * @param {OrderListOtocoRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  orderListOtoco(requestParameters: OrderListOtocoRequest): Promise<RestApiResponse<OrderListOtocoResponse>>;
  /**
   * Send in a new OCO.
   *
   * Price Restrictions:
   * `SELL`: Limit Price > Last Price > Stop Price
   * `BUY`: Limit Price < Last Price < Stop Price
   * Quantity Restrictions:
   * Both legs must have the same quantity.
   * `ICEBERG` quantities however do not have to be the same
   * `OCO` adds **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary New OCO - Deprecated
   * @param {OrderOcoRequest} requestParameters Request parameters.
   *
   * @deprecated
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  orderOco(requestParameters: OrderOcoRequest): Promise<RestApiResponse<OrderOcoResponse>>;
  /**
   * Test new order creation and signature/recvWindow long.
   * Creates and validates a new order but does not send it into the matching engine.
   * Weight: |Condition| Request Weight|
   * |------------           | ------------ |
   * |Without `computeCommissionRates`| 1|
   * |With `computeCommissionRates`|20|
   *
   * @summary Test new order
   * @param {OrderTestRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  orderTest(requestParameters: OrderTestRequest$1): Promise<RestApiResponse<OrderTestResponse$1>>;
  /**
   * Places an order using smart order routing (SOR).
   *
   * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   *
   * Read [SOR FAQ](faqs/sor_faq.md) to learn more.
   * Weight: 1
   *
   * Unfilled Order Count: 1
   *
   * @summary New order using SOR
   * @param {SorOrderRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  sorOrder(requestParameters: SorOrderRequest): Promise<RestApiResponse<SorOrderResponse>>;
  /**
   * Test new order creation and signature/recvWindow using smart order routing (SOR).
   * Creates and validates a new order but does not send it into the matching engine.
   * Weight: | Condition | Request Weight |
   * | --------- | -------------- |
   * | Without `computeCommissionRates`  |  1 |
   * | With `computeCommissionRates`     | 20 |
   *
   * @summary Test new order using SOR
   * @param {SorOrderTestRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApiInterface
   */
  sorOrderTest(requestParameters: SorOrderTestRequest$1): Promise<RestApiResponse<SorOrderTestResponse$1>>;
}
/**
 * Request parameters for deleteOpenOrders operation in TradeApi.
 * @interface DeleteOpenOrdersRequest
 */
interface DeleteOpenOrdersRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiDeleteOpenOrders
   */
  readonly symbol: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiDeleteOpenOrders
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for deleteOrder operation in TradeApi.
 * @interface DeleteOrderRequest
 */
interface DeleteOrderRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiDeleteOrder
   */
  readonly symbol: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradeApiDeleteOrder
   */
  readonly orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof TradeApiDeleteOrder
   */
  readonly origClientOrderId?: string;
  /**
   * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
   * @type {string}
   * @memberof TradeApiDeleteOrder
   */
  readonly newClientOrderId?: string;
  /**
   *
   * @type {'ONLY_NEW' | 'NEW' | 'ONLY_PARTIALLY_FILLED' | 'PARTIALLY_FILLED'}
   * @memberof TradeApiDeleteOrder
   */
  readonly cancelRestrictions?: DeleteOrderCancelRestrictionsEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiDeleteOrder
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for deleteOrderList operation in TradeApi.
 * @interface DeleteOrderListRequest
 */
interface DeleteOrderListRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiDeleteOrderList
   */
  readonly symbol: string;
  /**
   * Either `orderListId` or `listClientOrderId` must be provided
   * @type {number | bigint}
   * @memberof TradeApiDeleteOrderList
   */
  readonly orderListId?: number | bigint;
  /**
   * A unique Id for the entire orderList
   * @type {string}
   * @memberof TradeApiDeleteOrderList
   */
  readonly listClientOrderId?: string;
  /**
   * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
   * @type {string}
   * @memberof TradeApiDeleteOrderList
   */
  readonly newClientOrderId?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiDeleteOrderList
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for newOrder operation in TradeApi.
 * @interface NewOrderRequest
 */
interface NewOrderRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiNewOrder
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiNewOrder
   */
  readonly side: NewOrderSideEnum;
  /**
   *
   * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiNewOrder
   */
  readonly type: NewOrderTypeEnum;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiNewOrder
   */
  readonly timeInForce?: NewOrderTimeInForceEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiNewOrder
   */
  readonly quantity?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiNewOrder
   */
  readonly quoteOrderQty?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiNewOrder
   */
  readonly price?: number;
  /**
   * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
   * @type {string}
   * @memberof TradeApiNewOrder
   */
  readonly newClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradeApiNewOrder
   */
  readonly strategyId?: number | bigint;
  /**
   * The value cannot be less than `1000000`.
   * @type {number}
   * @memberof TradeApiNewOrder
   */
  readonly strategyType?: number;
  /**
   * Used with `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, and `TAKE_PROFIT_LIMIT` orders.
   * @type {number}
   * @memberof TradeApiNewOrder
   */
  readonly stopPrice?: number;
  /**
   * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
   * @type {number | bigint}
   * @memberof TradeApiNewOrder
   */
  readonly trailingDelta?: number | bigint;
  /**
   * Used with `LIMIT`, `STOP_LOSS_LIMIT`, and `TAKE_PROFIT_LIMIT` to create an iceberg order.
   * @type {number}
   * @memberof TradeApiNewOrder
   */
  readonly icebergQty?: number;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiNewOrder
   */
  readonly newOrderRespType?: NewOrderNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiNewOrder
   */
  readonly selfTradePreventionMode?: NewOrderSelfTradePreventionModeEnum;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiNewOrder
   */
  readonly pegPriceType?: NewOrderPegPriceTypeEnum;
  /**
   * Priceleveltopegthepriceto(max:100).<br>See[PeggedOrdersInfo](#pegged-orders-info)
   * @type {number}
   * @memberof TradeApiNewOrder
   */
  readonly pegOffsetValue?: number;
  /**
   *
   * @type {'PRICE_LEVEL' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiNewOrder
   */
  readonly pegOffsetType?: NewOrderPegOffsetTypeEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiNewOrder
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderAmendKeepPriority operation in TradeApi.
 * @interface OrderAmendKeepPriorityRequest
 */
interface OrderAmendKeepPriorityRequest$1 {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly symbol: string;
  /**
   * `newQty` must be greater than 0 and less than the order's quantity.
   * @type {number}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly newQty: number;
  /**
   *
   * @type {number | bigint}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly origClientOrderId?: string;
  /**
   * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
   * @type {string}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly newClientOrderId?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderCancelReplace operation in TradeApi.
 * @interface OrderCancelReplaceRequest
 */
interface OrderCancelReplaceRequest$1 {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly side: OrderCancelReplaceSideEnum$1;
  /**
   *
   * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly type: OrderCancelReplaceTypeEnum$1;
  /**
   *
   * @type {'STOP_ON_FAILURE' | 'ALLOW_FAILURE'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly cancelReplaceMode: OrderCancelReplaceCancelReplaceModeEnum$1;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly timeInForce?: OrderCancelReplaceTimeInForceEnum$1;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly quantity?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly quoteOrderQty?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly price?: number;
  /**
   * Used to uniquely identify this cancel. Automatically generated by default.
   * @type {string}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly cancelNewClientOrderId?: string;
  /**
   * Either `cancelOrderId` or `cancelOrigClientOrderId` must be sent. <br></br> If both `cancelOrderId` and `cancelOrigClientOrderId` parameters are provided, the `cancelOrderId` is searched first, then the `cancelOrigClientOrderId` from that result is checked against that order. <br></br> If both conditions are not met the request will be rejected.
   * @type {string}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly cancelOrigClientOrderId?: string;
  /**
   * Either `cancelOrderId` or `cancelOrigClientOrderId` must be sent. <br></br>If both `cancelOrderId` and `cancelOrigClientOrderId` parameters are provided, the `cancelOrderId` is searched first, then the `cancelOrigClientOrderId` from that result is checked against that order. <br></br>If both conditions are not met the request will be rejected.
   * @type {number | bigint}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly cancelOrderId?: number | bigint;
  /**
   * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
   * @type {string}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly newClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly strategyId?: number | bigint;
  /**
   * The value cannot be less than `1000000`.
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly strategyType?: number;
  /**
   * Used with `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, and `TAKE_PROFIT_LIMIT` orders.
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly stopPrice?: number;
  /**
   * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
   * @type {number | bigint}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly trailingDelta?: number | bigint;
  /**
   * Used with `LIMIT`, `STOP_LOSS_LIMIT`, and `TAKE_PROFIT_LIMIT` to create an iceberg order.
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly icebergQty?: number;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly newOrderRespType?: OrderCancelReplaceNewOrderRespTypeEnum$1;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly selfTradePreventionMode?: OrderCancelReplaceSelfTradePreventionModeEnum$1;
  /**
   *
   * @type {'ONLY_NEW' | 'NEW' | 'ONLY_PARTIALLY_FILLED' | 'PARTIALLY_FILLED'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly cancelRestrictions?: OrderCancelReplaceCancelRestrictionsEnum$1;
  /**
   *
   * @type {'DO_NOTHING' | 'CANCEL_ONLY'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly orderRateLimitExceededMode?: OrderCancelReplaceOrderRateLimitExceededModeEnum$1;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly pegPriceType?: OrderCancelReplacePegPriceTypeEnum$1;
  /**
   * Priceleveltopegthepriceto(max:100).<br>See[PeggedOrdersInfo](#pegged-orders-info)
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly pegOffsetValue?: number;
  /**
   *
   * @type {'PRICE_LEVEL' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly pegOffsetType?: OrderCancelReplacePegOffsetTypeEnum$1;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListOco operation in TradeApi.
 * @interface OrderListOcoRequest
 */
interface OrderListOcoRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListOco
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListOco
   */
  readonly side: OrderListOcoSideEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOco
   */
  readonly quantity: number;
  /**
   *
   * @type {'STOP_LOSS_LIMIT' | 'STOP_LOSS' | 'LIMIT_MAKER' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
   * @memberof TradeApiOrderListOco
   */
  readonly aboveType: OrderListOcoAboveTypeEnum;
  /**
   *
   * @type {'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
   * @memberof TradeApiOrderListOco
   */
  readonly belowType: OrderListOcoBelowTypeEnum;
  /**
   * A unique Id for the entire orderList
   * @type {string}
   * @memberof TradeApiOrderListOco
   */
  readonly listClientOrderId?: string;
  /**
   * Arbitrary unique ID among open orders for the above order. Automatically generated if not sent
   * @type {string}
   * @memberof TradeApiOrderListOco
   */
  readonly aboveClientOrderId?: string;
  /**
   * Note that this can only be used if `aboveTimeInForce` is `GTC`.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOco
   */
  readonly aboveIcebergQty?: number | bigint;
  /**
   * Can be used if `aboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
   * @type {number}
   * @memberof TradeApiOrderListOco
   */
  readonly abovePrice?: number;
  /**
   * Can be used if `aboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT`. <br>Either `aboveStopPrice` or `aboveTrailingDelta` or both, must be specified.
   * @type {number}
   * @memberof TradeApiOrderListOco
   */
  readonly aboveStopPrice?: number;
  /**
   * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
   * @type {number | bigint}
   * @memberof TradeApiOrderListOco
   */
  readonly aboveTrailingDelta?: number | bigint;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListOco
   */
  readonly aboveTimeInForce?: OrderListOcoAboveTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the above order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOco
   */
  readonly aboveStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the above order strategy. <br>Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListOco
   */
  readonly aboveStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListOco
   */
  readonly abovePegPriceType?: OrderListOcoAbovePegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListOco
   */
  readonly abovePegOffsetType?: OrderListOcoAbovePegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOco
   */
  readonly abovePegOffsetValue?: number;
  /**
   * Arbitrary unique ID among open orders for the below order. Automatically generated if not sent
   * @type {string}
   * @memberof TradeApiOrderListOco
   */
  readonly belowClientOrderId?: string;
  /**
   * Note that this can only be used if `belowTimeInForce` is `GTC`.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOco
   */
  readonly belowIcebergQty?: number | bigint;
  /**
   * Can be used if `belowType` is `STOP_LOSS_LIMIT`, `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
   * @type {number}
   * @memberof TradeApiOrderListOco
   */
  readonly belowPrice?: number;
  /**
   * Can be used if `belowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT` or `TAKE_PROFIT_LIMIT` <br>Either `belowStopPrice` or `belowTrailingDelta` or both, must be specified.
   * @type {number}
   * @memberof TradeApiOrderListOco
   */
  readonly belowStopPrice?: number;
  /**
   * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
   * @type {number | bigint}
   * @memberof TradeApiOrderListOco
   */
  readonly belowTrailingDelta?: number | bigint;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListOco
   */
  readonly belowTimeInForce?: OrderListOcoBelowTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the below order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOco
   */
  readonly belowStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the below order strategy. <br>Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListOco
   */
  readonly belowStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListOco
   */
  readonly belowPegPriceType?: OrderListOcoBelowPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListOco
   */
  readonly belowPegOffsetType?: OrderListOcoBelowPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOco
   */
  readonly belowPegOffsetValue?: number;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderListOco
   */
  readonly newOrderRespType?: OrderListOcoNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderListOco
   */
  readonly selfTradePreventionMode?: OrderListOcoSelfTradePreventionModeEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderListOco
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListOpo operation in TradeApi.
 * @interface OrderListOpoRequest
 */
interface OrderListOpoRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListOpo
   */
  readonly symbol: string;
  /**
   *
   * @type {'LIMIT' | 'LIMIT_MAKER'}
   * @memberof TradeApiOrderListOpo
   */
  readonly workingType: OrderListOpoWorkingTypeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListOpo
   */
  readonly workingSide: OrderListOpoWorkingSideEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOpo
   */
  readonly workingPrice: number;
  /**
   * Sets the quantity for the working order.
   * @type {number}
   * @memberof TradeApiOrderListOpo
   */
  readonly workingQuantity: number;
  /**
   *
   * @type {'LIMIT' | 'MARKET' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER'}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingType: OrderListOpoPendingTypeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingSide: OrderListOpoPendingSideEnum;
  /**
   * A unique Id for the entire orderList
   * @type {string}
   * @memberof TradeApiOrderListOpo
   */
  readonly listClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderListOpo
   */
  readonly newOrderRespType?: OrderListOpoNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderListOpo
   */
  readonly selfTradePreventionMode?: OrderListOpoSelfTradePreventionModeEnum;
  /**
   * Arbitrary unique ID among open orders for the working order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListOpo
   */
  readonly workingClientOrderId?: string;
  /**
   * This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListOpo
   */
  readonly workingIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListOpo
   */
  readonly workingTimeInForce?: OrderListOpoWorkingTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the working order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOpo
   */
  readonly workingStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListOpo
   */
  readonly workingStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListOpo
   */
  readonly workingPegPriceType?: OrderListOpoWorkingPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListOpo
   */
  readonly workingPegOffsetType?: OrderListOpoWorkingPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOpo
   */
  readonly workingPegOffsetValue?: number;
  /**
   * Arbitrary unique ID among open orders for the pending order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingClientOrderId?: string;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingPrice?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingStopPrice?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingTrailingDelta?: number;
  /**
   * This can only be used if `pendingTimeInForce` is `GTC` or if `pendingType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingTimeInForce?: OrderListOpoPendingTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the pending order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the pending order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingPegPriceType?: OrderListOpoPendingPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingPegOffsetType?: OrderListOpoPendingPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOpo
   */
  readonly pendingPegOffsetValue?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderListOpo
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListOpoco operation in TradeApi.
 * @interface OrderListOpocoRequest
 */
interface OrderListOpocoRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListOpoco
   */
  readonly symbol: string;
  /**
   *
   * @type {'LIMIT' | 'LIMIT_MAKER'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly workingType: OrderListOpocoWorkingTypeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly workingSide: OrderListOpocoWorkingSideEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly workingPrice: number;
  /**
   * Sets the quantity for the working order.
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly workingQuantity: number;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingSide: OrderListOpocoPendingSideEnum;
  /**
   *
   * @type {'STOP_LOSS_LIMIT' | 'STOP_LOSS' | 'LIMIT_MAKER' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingAboveType: OrderListOpocoPendingAboveTypeEnum;
  /**
   * A unique Id for the entire orderList
   * @type {string}
   * @memberof TradeApiOrderListOpoco
   */
  readonly listClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly newOrderRespType?: OrderListOpocoNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly selfTradePreventionMode?: OrderListOpocoSelfTradePreventionModeEnum;
  /**
   * Arbitrary unique ID among open orders for the working order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListOpoco
   */
  readonly workingClientOrderId?: string;
  /**
   * This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly workingIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly workingTimeInForce?: OrderListOpocoWorkingTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the working order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOpoco
   */
  readonly workingStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly workingStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly workingPegPriceType?: OrderListOpocoWorkingPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly workingPegOffsetType?: OrderListOpocoWorkingPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly workingPegOffsetValue?: number;
  /**
   * Arbitrary unique ID among open orders for the pending above order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingAboveClientOrderId?: string;
  /**
   * Can be used if `pendingAboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingAbovePrice?: number;
  /**
   * Can be used if `pendingAboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT`
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingAboveStopPrice?: number;
  /**
   * See [Trailing Stop FAQ](./faqs/trailing-stop-faq.md)
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingAboveTrailingDelta?: number;
  /**
   * This can only be used if `pendingAboveTimeInForce` is `GTC` or if `pendingAboveType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingAboveIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingAboveTimeInForce?: OrderListOpocoPendingAboveTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the pending above order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingAboveStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the pending above order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingAboveStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingAbovePegPriceType?: OrderListOpocoPendingAbovePegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingAbovePegOffsetType?: OrderListOpocoPendingAbovePegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingAbovePegOffsetValue?: number;
  /**
   *
   * @type {'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingBelowType?: OrderListOpocoPendingBelowTypeEnum;
  /**
   * Arbitrary unique ID among open orders for the pending below order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingBelowClientOrderId?: string;
  /**
   * Can be used if `pendingBelowType` is `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` to specify limit price
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingBelowPrice?: number;
  /**
   * Can be used if `pendingBelowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT, TAKE_PROFIT or TAKE_PROFIT_LIMIT`. Either `pendingBelowStopPrice` or `pendingBelowTrailingDelta` or both, must be specified.
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingBelowStopPrice?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingBelowTrailingDelta?: number;
  /**
   * This can only be used if `pendingBelowTimeInForce` is `GTC`, or if `pendingBelowType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingBelowIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingBelowTimeInForce?: OrderListOpocoPendingBelowTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the pending below order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingBelowStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the pending below order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingBelowStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingBelowPegPriceType?: OrderListOpocoPendingBelowPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingBelowPegOffsetType?: OrderListOpocoPendingBelowPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly pendingBelowPegOffsetValue?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderListOpoco
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListOto operation in TradeApi.
 * @interface OrderListOtoRequest
 */
interface OrderListOtoRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListOto
   */
  readonly symbol: string;
  /**
   *
   * @type {'LIMIT' | 'LIMIT_MAKER'}
   * @memberof TradeApiOrderListOto
   */
  readonly workingType: OrderListOtoWorkingTypeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListOto
   */
  readonly workingSide: OrderListOtoWorkingSideEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly workingPrice: number;
  /**
   * Sets the quantity for the working order.
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly workingQuantity: number;
  /**
   *
   * @type {'LIMIT' | 'MARKET' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER'}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingType: OrderListOtoPendingTypeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingSide: OrderListOtoPendingSideEnum;
  /**
   * Sets the quantity for the pending order.
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingQuantity: number;
  /**
   * A unique Id for the entire orderList
   * @type {string}
   * @memberof TradeApiOrderListOto
   */
  readonly listClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderListOto
   */
  readonly newOrderRespType?: OrderListOtoNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderListOto
   */
  readonly selfTradePreventionMode?: OrderListOtoSelfTradePreventionModeEnum;
  /**
   * Arbitrary unique ID among open orders for the working order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListOto
   */
  readonly workingClientOrderId?: string;
  /**
   * This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly workingIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListOto
   */
  readonly workingTimeInForce?: OrderListOtoWorkingTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the working order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOto
   */
  readonly workingStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly workingStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListOto
   */
  readonly workingPegPriceType?: OrderListOtoWorkingPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListOto
   */
  readonly workingPegOffsetType?: OrderListOtoWorkingPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly workingPegOffsetValue?: number;
  /**
   * Arbitrary unique ID among open orders for the pending order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingClientOrderId?: string;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingPrice?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingStopPrice?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingTrailingDelta?: number;
  /**
   * This can only be used if `pendingTimeInForce` is `GTC` or if `pendingType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingTimeInForce?: OrderListOtoPendingTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the pending order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the pending order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingPegPriceType?: OrderListOtoPendingPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingPegOffsetType?: OrderListOtoPendingPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly pendingPegOffsetValue?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderListOto
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListOtoco operation in TradeApi.
 * @interface OrderListOtocoRequest
 */
interface OrderListOtocoRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListOtoco
   */
  readonly symbol: string;
  /**
   *
   * @type {'LIMIT' | 'LIMIT_MAKER'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly workingType: OrderListOtocoWorkingTypeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly workingSide: OrderListOtocoWorkingSideEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly workingPrice: number;
  /**
   * Sets the quantity for the working order.
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly workingQuantity: number;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingSide: OrderListOtocoPendingSideEnum;
  /**
   * Sets the quantity for the pending order.
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingQuantity: number;
  /**
   *
   * @type {'STOP_LOSS_LIMIT' | 'STOP_LOSS' | 'LIMIT_MAKER' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingAboveType: OrderListOtocoPendingAboveTypeEnum;
  /**
   * A unique Id for the entire orderList
   * @type {string}
   * @memberof TradeApiOrderListOtoco
   */
  readonly listClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly newOrderRespType?: OrderListOtocoNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly selfTradePreventionMode?: OrderListOtocoSelfTradePreventionModeEnum;
  /**
   * Arbitrary unique ID among open orders for the working order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListOtoco
   */
  readonly workingClientOrderId?: string;
  /**
   * This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly workingIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly workingTimeInForce?: OrderListOtocoWorkingTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the working order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOtoco
   */
  readonly workingStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly workingStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly workingPegPriceType?: OrderListOtocoWorkingPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly workingPegOffsetType?: OrderListOtocoWorkingPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly workingPegOffsetValue?: number;
  /**
   * Arbitrary unique ID among open orders for the pending above order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingAboveClientOrderId?: string;
  /**
   * Can be used if `pendingAboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingAbovePrice?: number;
  /**
   * Can be used if `pendingAboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT`
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingAboveStopPrice?: number;
  /**
   * See [Trailing Stop FAQ](./faqs/trailing-stop-faq.md)
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingAboveTrailingDelta?: number;
  /**
   * This can only be used if `pendingAboveTimeInForce` is `GTC` or if `pendingAboveType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingAboveIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingAboveTimeInForce?: OrderListOtocoPendingAboveTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the pending above order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingAboveStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the pending above order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingAboveStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingAbovePegPriceType?: OrderListOtocoPendingAbovePegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingAbovePegOffsetType?: OrderListOtocoPendingAbovePegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingAbovePegOffsetValue?: number;
  /**
   *
   * @type {'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingBelowType?: OrderListOtocoPendingBelowTypeEnum;
  /**
   * Arbitrary unique ID among open orders for the pending below order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingBelowClientOrderId?: string;
  /**
   * Can be used if `pendingBelowType` is `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` to specify limit price
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingBelowPrice?: number;
  /**
   * Can be used if `pendingBelowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT, TAKE_PROFIT or TAKE_PROFIT_LIMIT`. Either `pendingBelowStopPrice` or `pendingBelowTrailingDelta` or both, must be specified.
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingBelowStopPrice?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingBelowTrailingDelta?: number;
  /**
   * This can only be used if `pendingBelowTimeInForce` is `GTC`, or if `pendingBelowType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingBelowIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingBelowTimeInForce?: OrderListOtocoPendingBelowTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the pending below order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingBelowStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the pending below order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingBelowStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingBelowPegPriceType?: OrderListOtocoPendingBelowPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingBelowPegOffsetType?: OrderListOtocoPendingBelowPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly pendingBelowPegOffsetValue?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderListOtoco
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderOco operation in TradeApi.
 * @interface OrderOcoRequest
 */
interface OrderOcoRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderOco
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderOco
   */
  readonly side: OrderOcoSideEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderOco
   */
  readonly quantity: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderOco
   */
  readonly price: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderOco
   */
  readonly stopPrice: number;
  /**
   * A unique Id for the entire orderList
   * @type {string}
   * @memberof TradeApiOrderOco
   */
  readonly listClientOrderId?: string;
  /**
   * A unique Id for the limit order
   * @type {string}
   * @memberof TradeApiOrderOco
   */
  readonly limitClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradeApiOrderOco
   */
  readonly limitStrategyId?: number | bigint;
  /**
   * The value cannot be less than `1000000`.
   * @type {number}
   * @memberof TradeApiOrderOco
   */
  readonly limitStrategyType?: number;
  /**
   * Used to make the `LIMIT_MAKER` leg an iceberg order.
   * @type {number}
   * @memberof TradeApiOrderOco
   */
  readonly limitIcebergQty?: number;
  /**
   * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
   * @type {number | bigint}
   * @memberof TradeApiOrderOco
   */
  readonly trailingDelta?: number | bigint;
  /**
   * A unique Id for the stop loss/stop loss limit leg
   * @type {string}
   * @memberof TradeApiOrderOco
   */
  readonly stopClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradeApiOrderOco
   */
  readonly stopStrategyId?: number | bigint;
  /**
   * The value cannot be less than `1000000`.
   * @type {number}
   * @memberof TradeApiOrderOco
   */
  readonly stopStrategyType?: number;
  /**
   * If provided, `stopLimitTimeInForce` is required.
   * @type {number}
   * @memberof TradeApiOrderOco
   */
  readonly stopLimitPrice?: number;
  /**
   * Used with `STOP_LOSS_LIMIT` leg to make an iceberg order.
   * @type {number}
   * @memberof TradeApiOrderOco
   */
  readonly stopIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderOco
   */
  readonly stopLimitTimeInForce?: OrderOcoStopLimitTimeInForceEnum;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderOco
   */
  readonly newOrderRespType?: OrderOcoNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderOco
   */
  readonly selfTradePreventionMode?: OrderOcoSelfTradePreventionModeEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderOco
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderTest operation in TradeApi.
 * @interface OrderTestRequest
 */
interface OrderTestRequest$1 {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderTest
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderTest
   */
  readonly side: OrderTestSideEnum$1;
  /**
   *
   * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderTest
   */
  readonly type: OrderTestTypeEnum$1;
  /**
   * Default: `false` <br> See [Commissions FAQ](faqs/commission_faq.md#test-order-diferences) to learn more.
   * @type {boolean}
   * @memberof TradeApiOrderTest
   */
  readonly computeCommissionRates?: boolean;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderTest
   */
  readonly timeInForce?: OrderTestTimeInForceEnum$1;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly quantity?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly quoteOrderQty?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly price?: number;
  /**
   * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
   * @type {string}
   * @memberof TradeApiOrderTest
   */
  readonly newClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradeApiOrderTest
   */
  readonly strategyId?: number | bigint;
  /**
   * The value cannot be less than `1000000`.
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly strategyType?: number;
  /**
   * Used with `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, and `TAKE_PROFIT_LIMIT` orders.
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly stopPrice?: number;
  /**
   * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
   * @type {number | bigint}
   * @memberof TradeApiOrderTest
   */
  readonly trailingDelta?: number | bigint;
  /**
   * Used with `LIMIT`, `STOP_LOSS_LIMIT`, and `TAKE_PROFIT_LIMIT` to create an iceberg order.
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly icebergQty?: number;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderTest
   */
  readonly newOrderRespType?: OrderTestNewOrderRespTypeEnum$1;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderTest
   */
  readonly selfTradePreventionMode?: OrderTestSelfTradePreventionModeEnum$1;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderTest
   */
  readonly pegPriceType?: OrderTestPegPriceTypeEnum$1;
  /**
   * Priceleveltopegthepriceto(max:100).<br>See[PeggedOrdersInfo](#pegged-orders-info)
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly pegOffsetValue?: number;
  /**
   *
   * @type {'PRICE_LEVEL' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderTest
   */
  readonly pegOffsetType?: OrderTestPegOffsetTypeEnum$1;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for sorOrder operation in TradeApi.
 * @interface SorOrderRequest
 */
interface SorOrderRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiSorOrder
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiSorOrder
   */
  readonly side: SorOrderSideEnum;
  /**
   *
   * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiSorOrder
   */
  readonly type: SorOrderTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiSorOrder
   */
  readonly quantity: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiSorOrder
   */
  readonly timeInForce?: SorOrderTimeInForceEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiSorOrder
   */
  readonly price?: number;
  /**
   * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
   * @type {string}
   * @memberof TradeApiSorOrder
   */
  readonly newClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradeApiSorOrder
   */
  readonly strategyId?: number | bigint;
  /**
   * The value cannot be less than `1000000`.
   * @type {number}
   * @memberof TradeApiSorOrder
   */
  readonly strategyType?: number;
  /**
   * Used with `LIMIT`, `STOP_LOSS_LIMIT`, and `TAKE_PROFIT_LIMIT` to create an iceberg order.
   * @type {number}
   * @memberof TradeApiSorOrder
   */
  readonly icebergQty?: number;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiSorOrder
   */
  readonly newOrderRespType?: SorOrderNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiSorOrder
   */
  readonly selfTradePreventionMode?: SorOrderSelfTradePreventionModeEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiSorOrder
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for sorOrderTest operation in TradeApi.
 * @interface SorOrderTestRequest
 */
interface SorOrderTestRequest$1 {
  /**
   *
   * @type {string}
   * @memberof TradeApiSorOrderTest
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiSorOrderTest
   */
  readonly side: SorOrderTestSideEnum$1;
  /**
   *
   * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiSorOrderTest
   */
  readonly type: SorOrderTestTypeEnum$1;
  /**
   *
   * @type {number}
   * @memberof TradeApiSorOrderTest
   */
  readonly quantity: number;
  /**
   * Default: `false` <br> See [Commissions FAQ](faqs/commission_faq.md#test-order-diferences) to learn more.
   * @type {boolean}
   * @memberof TradeApiSorOrderTest
   */
  readonly computeCommissionRates?: boolean;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiSorOrderTest
   */
  readonly timeInForce?: SorOrderTestTimeInForceEnum$1;
  /**
   *
   * @type {number}
   * @memberof TradeApiSorOrderTest
   */
  readonly price?: number;
  /**
   * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
   * @type {string}
   * @memberof TradeApiSorOrderTest
   */
  readonly newClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradeApiSorOrderTest
   */
  readonly strategyId?: number | bigint;
  /**
   * The value cannot be less than `1000000`.
   * @type {number}
   * @memberof TradeApiSorOrderTest
   */
  readonly strategyType?: number;
  /**
   * Used with `LIMIT`, `STOP_LOSS_LIMIT`, and `TAKE_PROFIT_LIMIT` to create an iceberg order.
   * @type {number}
   * @memberof TradeApiSorOrderTest
   */
  readonly icebergQty?: number;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiSorOrderTest
   */
  readonly newOrderRespType?: SorOrderTestNewOrderRespTypeEnum$1;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiSorOrderTest
   */
  readonly selfTradePreventionMode?: SorOrderTestSelfTradePreventionModeEnum$1;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiSorOrderTest
   */
  readonly recvWindow?: number;
}
/**
 * TradeApi - object-oriented interface
 * @class TradeApi
 */
declare class TradeApi$1 implements TradeApiInterface$1 {
  private readonly configuration;
  private localVarAxiosParamCreator;
  constructor(configuration: ConfigurationRestAPI);
  /**
   * Cancels all active orders on a symbol.
   * This includes orders that are part of an order list.
   * Weight: 1
   *
   * @summary Cancel All Open Orders on a Symbol
   * @param {DeleteOpenOrdersRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<DeleteOpenOrdersResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-all-open-orders-on-a-symbol-trade Binance API Documentation}
   */
  deleteOpenOrders(requestParameters: DeleteOpenOrdersRequest): Promise<RestApiResponse<DeleteOpenOrdersResponse>>;
  /**
   * Cancel an active order.
   * Weight: 1
   *
   * @summary Cancel order
   * @param {DeleteOrderRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<DeleteOrderResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-order-trade Binance API Documentation}
   */
  deleteOrder(requestParameters: DeleteOrderRequest): Promise<RestApiResponse<DeleteOrderResponse>>;
  /**
   * Cancel an entire Order list
   * Weight: 1
   *
   * @summary Cancel Order list
   * @param {DeleteOrderListRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<DeleteOrderListResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-order-list-trade Binance API Documentation}
   */
  deleteOrderList(requestParameters: DeleteOrderListRequest): Promise<RestApiResponse<DeleteOrderListResponse>>;
  /**
   * Send in a new order.
   *
   * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * @summary New order
   * @param {NewOrderRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<NewOrderResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-trade Binance API Documentation}
   */
  newOrder(requestParameters: NewOrderRequest): Promise<RestApiResponse<NewOrderResponse>>;
  /**
   * Reduce the quantity of an existing open order.
   *
   * This adds 0 orders to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   *
   * Read [Order Amend Keep Priority FAQ](faqs/order_amend_keep_priority.md) to learn more.
   * Weight: 4
   *
   * @summary Order Amend Keep Priority
   * @param {OrderAmendKeepPriorityRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<OrderAmendKeepPriorityResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#order-amend-keep-priority-trade Binance API Documentation}
   */
  orderAmendKeepPriority(requestParameters: OrderAmendKeepPriorityRequest$1): Promise<RestApiResponse<OrderAmendKeepPriorityResponse$1>>;
  /**
   * * Cancels an existing order and places a new order on the same symbol.
   * Filters and Order Count are evaluated before the processing of the cancellation and order placement occurs.
   * A new order that was not attempted (i.e. when `newOrderResult: NOT_ATTEMPTED`), will still increase the unfilled order count by 1.
   * You can only cancel an individual order from an orderList using this endpoint, but the result is the same as canceling the entire orderList.
   * Weight: 1
   *
   * @summary Cancel an Existing Order and Send a New Order
   * @param {OrderCancelReplaceRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<OrderCancelReplaceResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-an-existing-order-and-send-a-new-order-trade Binance API Documentation}
   */
  orderCancelReplace(requestParameters: OrderCancelReplaceRequest$1): Promise<RestApiResponse<OrderCancelReplaceResponse$1>>;
  /**
   * Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
   *
   * An OCO has 2 orders called the **above order** and **below order**.
   * One of the orders must be a `LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMIT` order and the other must be `STOP_LOSS` or `STOP_LOSS_LIMIT` order.
   * Price restrictions
   * If the OCO is on the `SELL` side:
   * `LIMIT_MAKER/TAKE_PROFIT_LIMIT` `price` > Last Traded Price >  `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
   * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
   * If the OCO is on the `BUY` side:
   * `LIMIT_MAKER/TAKE_PROFIT_LIMIT price` < Last Traded Price < `stopPrice`
   * `TAKE_PROFIT stopPrice` < Last Traded Price < `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
   * OCOs add **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary New Order list - OCO
   * @param {OrderListOcoRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<OrderListOcoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---oco-trade Binance API Documentation}
   */
  orderListOco(requestParameters: OrderListOcoRequest): Promise<RestApiResponse<OrderListOcoResponse>>;
  /**
   * Place an [OPO](./faqs/opo.md).
   *
   * OPOs add 2 orders to the EXCHANGE_MAX_NUM_ORDERS filter and MAX_NUM_ORDERS filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary New Order List - OPO
   * @param {OrderListOpoRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<OrderListOpoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---opo-trade Binance API Documentation}
   */
  orderListOpo(requestParameters: OrderListOpoRequest): Promise<RestApiResponse<OrderListOpoResponse>>;
  /**
   * Place an [OPOCO](./faqs/opo.md).
   * Weight: 1
   *
   * Unfilled Order Count: 3
   *
   * @summary New Order List - OPOCO
   * @param {OrderListOpocoRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<OrderListOpocoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---opoco-trade Binance API Documentation}
   */
  orderListOpoco(requestParameters: OrderListOpocoRequest): Promise<RestApiResponse<OrderListOpocoResponse>>;
  /**
   * Place an OTO.
   *
   * An OTO (One-Triggers-the-Other) is an order list comprised of 2 orders.
   * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
   * The second order is called the **pending order**. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets **fully filled**.
   * If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired.
   * When the order list is placed, if the working order gets **immediately fully filled**, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status.
   * OTOs add **2 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary New Order list - OTO
   * @param {OrderListOtoRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<OrderListOtoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---oto-trade Binance API Documentation}
   */
  orderListOto(requestParameters: OrderListOtoRequest): Promise<RestApiResponse<OrderListOtoResponse>>;
  /**
   * Place an OTOCO.
   *
   * An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders.
   * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
   * The behavior of the working order is the same as the [OTO](#new-order-list---oto-trade).
   * OTOCO has 2 pending orders (pending above and pending below), forming an OCO pair. The pending orders are only placed on the order book when the working order gets **fully filled**.
   * The rules of the pending above and pending below follow the same rules as the [Order list OCO](#new-order-list---oco-trade).
   * OTOCOs add **3 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 3
   *
   * @summary New Order list - OTOCO
   * @param {OrderListOtocoRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<OrderListOtocoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---otoco-trade Binance API Documentation}
   */
  orderListOtoco(requestParameters: OrderListOtocoRequest): Promise<RestApiResponse<OrderListOtocoResponse>>;
  /**
   * Send in a new OCO.
   *
   * Price Restrictions:
   * `SELL`: Limit Price > Last Price > Stop Price
   * `BUY`: Limit Price < Last Price < Stop Price
   * Quantity Restrictions:
   * Both legs must have the same quantity.
   * `ICEBERG` quantities however do not have to be the same
   * `OCO` adds **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary New OCO - Deprecated
   * @param {OrderOcoRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<OrderOcoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-oco---deprecated-trade Binance API Documentation}
   */
  orderOco(requestParameters: OrderOcoRequest): Promise<RestApiResponse<OrderOcoResponse>>;
  /**
   * Test new order creation and signature/recvWindow long.
   * Creates and validates a new order but does not send it into the matching engine.
   * Weight: |Condition| Request Weight|
   * |------------           | ------------ |
   * |Without `computeCommissionRates`| 1|
   * |With `computeCommissionRates`|20|
   *
   * @summary Test new order
   * @param {OrderTestRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<OrderTestResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#test-new-order-trade Binance API Documentation}
   */
  orderTest(requestParameters: OrderTestRequest$1): Promise<RestApiResponse<OrderTestResponse$1>>;
  /**
   * Places an order using smart order routing (SOR).
   *
   * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   *
   * Read [SOR FAQ](faqs/sor_faq.md) to learn more.
   * Weight: 1
   *
   * Unfilled Order Count: 1
   *
   * @summary New order using SOR
   * @param {SorOrderRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<SorOrderResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-using-sor-trade Binance API Documentation}
   */
  sorOrder(requestParameters: SorOrderRequest): Promise<RestApiResponse<SorOrderResponse>>;
  /**
   * Test new order creation and signature/recvWindow using smart order routing (SOR).
   * Creates and validates a new order but does not send it into the matching engine.
   * Weight: | Condition | Request Weight |
   * | --------- | -------------- |
   * | Without `computeCommissionRates`  |  1 |
   * | With `computeCommissionRates`     | 20 |
   *
   * @summary Test new order using SOR
   * @param {SorOrderTestRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<SorOrderTestResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#test-new-order-using-sor-trade Binance API Documentation}
   */
  sorOrderTest(requestParameters: SorOrderTestRequest$1): Promise<RestApiResponse<SorOrderTestResponse$1>>;
}
declare enum DeleteOrderCancelRestrictionsEnum {
  ONLY_NEW = "ONLY_NEW",
  NEW = "NEW",
  ONLY_PARTIALLY_FILLED = "ONLY_PARTIALLY_FILLED",
  PARTIALLY_FILLED = "PARTIALLY_FILLED",
}
declare enum NewOrderSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum NewOrderTypeEnum {
  MARKET = "MARKET",
  LIMIT = "LIMIT",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum NewOrderTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum NewOrderNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum NewOrderSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum NewOrderPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum NewOrderPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderCancelReplaceSideEnum$1 {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderCancelReplaceTypeEnum$1 {
  MARKET = "MARKET",
  LIMIT = "LIMIT",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderCancelReplaceCancelReplaceModeEnum$1 {
  STOP_ON_FAILURE = "STOP_ON_FAILURE",
  ALLOW_FAILURE = "ALLOW_FAILURE",
}
declare enum OrderCancelReplaceTimeInForceEnum$1 {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderCancelReplaceNewOrderRespTypeEnum$1 {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderCancelReplaceSelfTradePreventionModeEnum$1 {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderCancelReplaceCancelRestrictionsEnum$1 {
  ONLY_NEW = "ONLY_NEW",
  NEW = "NEW",
  ONLY_PARTIALLY_FILLED = "ONLY_PARTIALLY_FILLED",
  PARTIALLY_FILLED = "PARTIALLY_FILLED",
}
declare enum OrderCancelReplaceOrderRateLimitExceededModeEnum$1 {
  DO_NOTHING = "DO_NOTHING",
  CANCEL_ONLY = "CANCEL_ONLY",
}
declare enum OrderCancelReplacePegPriceTypeEnum$1 {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderCancelReplacePegOffsetTypeEnum$1 {
  PRICE_LEVEL = "PRICE_LEVEL",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListOcoSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListOcoAboveTypeEnum {
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  STOP_LOSS = "STOP_LOSS",
  LIMIT_MAKER = "LIMIT_MAKER",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
}
declare enum OrderListOcoBelowTypeEnum {
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
}
declare enum OrderListOcoAboveTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListOcoAbovePegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListOcoAbovePegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListOcoBelowTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListOcoBelowPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListOcoBelowPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListOcoNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderListOcoSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListOpoWorkingTypeEnum {
  LIMIT = "LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
}
declare enum OrderListOpoWorkingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListOpoPendingTypeEnum {
  LIMIT = "LIMIT",
  MARKET = "MARKET",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
}
declare enum OrderListOpoPendingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListOpoNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderListOpoSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListOpoWorkingTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListOpoWorkingPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListOpoWorkingPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListOpoPendingTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListOpoPendingPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListOpoPendingPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListOpocoWorkingTypeEnum {
  LIMIT = "LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
}
declare enum OrderListOpocoWorkingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListOpocoPendingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListOpocoPendingAboveTypeEnum {
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  STOP_LOSS = "STOP_LOSS",
  LIMIT_MAKER = "LIMIT_MAKER",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
}
declare enum OrderListOpocoNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderListOpocoSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListOpocoWorkingTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListOpocoWorkingPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListOpocoWorkingPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListOpocoPendingAboveTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListOpocoPendingAbovePegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListOpocoPendingAbovePegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListOpocoPendingBelowTypeEnum {
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
}
declare enum OrderListOpocoPendingBelowTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListOpocoPendingBelowPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListOpocoPendingBelowPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListOtoWorkingTypeEnum {
  LIMIT = "LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
}
declare enum OrderListOtoWorkingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListOtoPendingTypeEnum {
  LIMIT = "LIMIT",
  MARKET = "MARKET",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
}
declare enum OrderListOtoPendingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListOtoNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderListOtoSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListOtoWorkingTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListOtoWorkingPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListOtoWorkingPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListOtoPendingTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListOtoPendingPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListOtoPendingPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListOtocoWorkingTypeEnum {
  LIMIT = "LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
}
declare enum OrderListOtocoWorkingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListOtocoPendingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListOtocoPendingAboveTypeEnum {
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  STOP_LOSS = "STOP_LOSS",
  LIMIT_MAKER = "LIMIT_MAKER",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
}
declare enum OrderListOtocoNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderListOtocoSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListOtocoWorkingTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListOtocoWorkingPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListOtocoWorkingPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListOtocoPendingAboveTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListOtocoPendingAbovePegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListOtocoPendingAbovePegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListOtocoPendingBelowTypeEnum {
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
}
declare enum OrderListOtocoPendingBelowTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListOtocoPendingBelowPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListOtocoPendingBelowPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderOcoSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderOcoStopLimitTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderOcoNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderOcoSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderTestSideEnum$1 {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderTestTypeEnum$1 {
  MARKET = "MARKET",
  LIMIT = "LIMIT",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderTestTimeInForceEnum$1 {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderTestNewOrderRespTypeEnum$1 {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderTestSelfTradePreventionModeEnum$1 {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderTestPegPriceTypeEnum$1 {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderTestPegOffsetTypeEnum$1 {
  PRICE_LEVEL = "PRICE_LEVEL",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum SorOrderSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum SorOrderTypeEnum {
  MARKET = "MARKET",
  LIMIT = "LIMIT",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum SorOrderTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum SorOrderNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum SorOrderSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum SorOrderTestSideEnum$1 {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum SorOrderTestTypeEnum$1 {
  MARKET = "MARKET",
  LIMIT = "LIMIT",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum SorOrderTestTimeInForceEnum$1 {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum SorOrderTestNewOrderRespTypeEnum$1 {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum SorOrderTestSelfTradePreventionModeEnum$1 {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
//#endregion
//#region src/rest-api/rest-api.d.ts
declare class RestAPI {
  private configuration;
  private accountApi;
  private generalApi;
  private marketApi;
  private tradeApi;
  constructor(configuration: ConfigurationRestAPI);
  /**
   * Generic function to send a request.
   * @param endpoint - The API endpoint to call.
   * @param method - HTTP method to use (GET, POST, DELETE, etc.).
   * @param queryParams - Query parameters for the request.
   * @param bodyParams - Body parameters for the request.
   * @param timeUnit - The time unit for the request.
   * @returns A promise resolving to the response data object.
   */
  sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', queryParams?: Record<string, unknown>, bodyParams?: Record<string, unknown>, timeUnit?: TimeUnit$1): Promise<RestApiResponse<T>>;
  /**
   * Generic function to send a signed request.
   * @param endpoint - The API endpoint to call.
   * @param method - HTTP method to use (GET, POST, DELETE, etc.).
   * @param queryParams - Query parameters for the request.
   * @param bodyParams - Body parameters for the request.
   * @param timeUnit - The time unit for the request.
   * @returns A promise resolving to the response data object.
   */
  sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', queryParams?: Record<string, unknown>, bodyParams?: Record<string, unknown>, timeUnit?: TimeUnit$1): Promise<RestApiResponse<T>>;
  /**
   * Get current account commission rates.
   * Weight: 20
   *
   * @summary Query Commission Rates
   * @param {AccountCommissionRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<AccountCommissionResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-commission-rates-user_data Binance API Documentation}
   */
  accountCommission(requestParameters: AccountCommissionRequest$1): Promise<RestApiResponse<AccountCommissionResponse$1>>;
  /**
   * Retrieves all order lists based on provided optional parameters.
   *
   * Note that the time between `startTime` and `endTime` can't be longer than 24 hours.
   * Weight: 20
   *
   * @summary Query all Order lists
   * @param {AllOrderListRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<AllOrderListResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-all-order-lists-user_data Binance API Documentation}
   */
  allOrderList(requestParameters?: AllOrderListRequest): Promise<RestApiResponse<AllOrderListResponse>>;
  /**
   * Get all account orders; active, canceled, or filled.
   * Weight: 20
   *
   * @summary All orders
   * @param {AllOrdersRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<AllOrdersResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#all-orders-user_data Binance API Documentation}
   */
  allOrders(requestParameters: AllOrdersRequest$1): Promise<RestApiResponse<AllOrdersResponse$1>>;
  /**
   * Get current account information.
   * Weight: 20
   *
   * @summary Account information
   * @param {GetAccountRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetAccountResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#account-information-user_data Binance API Documentation}
   */
  getAccount(requestParameters?: GetAccountRequest): Promise<RestApiResponse<GetAccountResponse>>;
  /**
   * Get all open orders on a symbol. **Careful** when accessing this with no symbol.
   * Weight: 6 for a single symbol; **80** when the symbol parameter is omitted
   *
   * @summary Current open orders
   * @param {GetOpenOrdersRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetOpenOrdersResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#current-open-orders-user_data Binance API Documentation}
   */
  getOpenOrders(requestParameters?: GetOpenOrdersRequest): Promise<RestApiResponse<GetOpenOrdersResponse>>;
  /**
   * Check an order's status.
   * Weight: 4
   *
   * @summary Query order
   * @param {GetOrderRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetOrderResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-order-user_data Binance API Documentation}
   */
  getOrder(requestParameters: GetOrderRequest): Promise<RestApiResponse<GetOrderResponse>>;
  /**
   * Retrieves a specific order list based on provided optional parameters.
   * Weight: 4
   *
   * @summary Query Order list
   * @param {GetOrderListRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetOrderListResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-order-list-user_data Binance API Documentation}
   */
  getOrderList(requestParameters?: GetOrderListRequest): Promise<RestApiResponse<GetOrderListResponse>>;
  /**
   * Retrieves allocations resulting from SOR order placement.
   * Weight: 20
   *
   * @summary Query Allocations
   * @param {MyAllocationsRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<MyAllocationsResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-allocations-user_data Binance API Documentation}
   */
  myAllocations(requestParameters: MyAllocationsRequest$1): Promise<RestApiResponse<MyAllocationsResponse$1>>;
  /**
   * Retrieves the list of [filters](filters.md) relevant to an account on a given symbol. This is the only endpoint that shows if an account has `MAX_ASSET` filters applied to it.
   * Weight: 40
   *
   * @summary Query relevant filters
   * @param {MyFiltersRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<MyFiltersResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-relevant-filters-user_data Binance API Documentation}
   */
  myFilters(requestParameters: MyFiltersRequest$1): Promise<RestApiResponse<MyFiltersResponse$1>>;
  /**
   * Displays the list of orders that were expired due to STP.
   *
   * These are the combinations supported:
   *
   * `symbol` + `preventedMatchId`
   * `symbol` + `orderId`
   * `symbol` + `orderId` + `fromPreventedMatchId` (`limit` will default to 500)
   * `symbol` + `orderId` + `fromPreventedMatchId` + `limit`
   * Weight: Case                            | Weight
   * ----                            | -----
   * If `symbol` is invalid          | 2
   * Querying by `preventedMatchId`  | 2
   * Querying by `orderId`           | 20
   *
   * @summary Query Prevented Matches
   * @param {MyPreventedMatchesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<MyPreventedMatchesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-prevented-matches-user_data Binance API Documentation}
   */
  myPreventedMatches(requestParameters: MyPreventedMatchesRequest$1): Promise<RestApiResponse<MyPreventedMatchesResponse$1>>;
  /**
   * Get trades for a specific account and symbol.
   * Weight: Condition| Weight|
   * ---| ---
   * |Without orderId|20|
   * |With orderId|5|
   *
   * @summary Account trade list
   * @param {MyTradesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<MyTradesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#account-trade-list-user_data Binance API Documentation}
   */
  myTrades(requestParameters: MyTradesRequest$1): Promise<RestApiResponse<MyTradesResponse$1>>;
  /**
   *
   * Weight: 6
   *
   * @summary Query Open Order lists
   * @param {OpenOrderListRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<OpenOrderListResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-open-order-lists-user_data Binance API Documentation}
   */
  openOrderList(requestParameters?: OpenOrderListRequest): Promise<RestApiResponse<OpenOrderListResponse>>;
  /**
   * Queries all amendments of a single order.
   * Weight: 4
   *
   * @summary Query Order Amendments
   * @param {OrderAmendmentsRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<OrderAmendmentsResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-order-amendments-user_data Binance API Documentation}
   */
  orderAmendments(requestParameters: OrderAmendmentsRequest$1): Promise<RestApiResponse<OrderAmendmentsResponse$1>>;
  /**
   * Displays the user's unfilled order count for all intervals.
   * Weight: 40
   *
   * @summary Query Unfilled Order Count
   * @param {RateLimitOrderRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<RateLimitOrderResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-unfilled-order-count-user_data Binance API Documentation}
   */
  rateLimitOrder(requestParameters?: RateLimitOrderRequest): Promise<RestApiResponse<RateLimitOrderResponse>>;
  /**
   * Current exchange trading rules and symbol information
   * Weight: 20
   *
   * @summary Exchange information
   * @param {ExchangeInfoRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<ExchangeInfoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#exchange-information Binance API Documentation}
   */
  exchangeInfo(requestParameters?: ExchangeInfoRequest$1): Promise<RestApiResponse<ExchangeInfoResponse$1>>;
  /**
   *
   * Weight: Parameter | Weight|
   * ---        | ---
   * `symbol`  | 2
   * `symbols` | 2 for each `symbol`, capped at a max of 40|
   * `symbolStatus` |40|
   * None            |40|
   *
   * @summary Query Execution Rules
   * @param {ExecutionRulesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<ExecutionRulesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#query-execution-rules Binance API Documentation}
   */
  executionRules(requestParameters?: ExecutionRulesRequest$1): Promise<RestApiResponse<ExecutionRulesResponse$1>>;
  /**
   * Test connectivity to the Rest API.
   * Weight: 1
   *
   * @summary Test connectivity
   *
   * @returns {Promise<RestApiResponse<void>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#test-connectivity Binance API Documentation}
   */
  ping(): Promise<RestApiResponse<void>>;
  /**
   * Test connectivity to the Rest API and get the current server time.
   * Weight: 1
   *
   * @summary Check server time
   *
   * @returns {Promise<RestApiResponse<TimeResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#check-server-time Binance API Documentation}
   */
  time(): Promise<RestApiResponse<TimeResponse$1>>;
  /**
   * Get compressed, aggregate trades. Trades that fill at the time, from the same taker order, with the same price will have the quantity aggregated.
   * Weight: 4
   *
   * @summary Compressed/Aggregate trades list
   * @param {AggTradesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<AggTradesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#compressedaggregate-trades-list Binance API Documentation}
   */
  aggTrades(requestParameters: AggTradesRequest): Promise<RestApiResponse<AggTradesResponse>>;
  /**
   * Current average price for a symbol.
   * Weight: 2
   *
   * @summary Current average price
   * @param {AvgPriceRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<AvgPriceResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#current-average-price Binance API Documentation}
   */
  avgPrice(requestParameters: AvgPriceRequest$2): Promise<RestApiResponse<AvgPriceResponse$2>>;
  /**
   *
   * Weight: Adjusted based on the limit:
   *
   * |Limit|Request Weight
   * ------|-------
   * 1-100|  5
   * 101-500| 25
   * 501-1000| 50
   * 1001-5000| 250
   *
   * @summary Order book
   * @param {DepthRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<DepthResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#order-book Binance API Documentation}
   */
  depth(requestParameters: DepthRequest$1): Promise<RestApiResponse<DepthResponse$1>>;
  /**
   * Get recent trades.
   * Weight: 25
   *
   * @summary Recent trades list
   * @param {GetTradesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetTradesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#recent-trades-list Binance API Documentation}
   */
  getTrades(requestParameters: GetTradesRequest): Promise<RestApiResponse<GetTradesResponse>>;
  /**
   * Get block trades.
   * Weight: 25
   *
   * @summary Historical Block Trades
   * @param {HistoricalBlockTradesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<HistoricalBlockTradesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#historical-block-trades Binance API Documentation}
   */
  historicalBlockTrades(requestParameters: HistoricalBlockTradesRequest): Promise<RestApiResponse<HistoricalBlockTradesResponse>>;
  /**
   * Get older trades.
   * Weight: 25
   *
   * @summary Old trade lookup
   * @param {HistoricalTradesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<HistoricalTradesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#old-trade-lookup Binance API Documentation}
   */
  historicalTrades(requestParameters: HistoricalTradesRequest): Promise<RestApiResponse<HistoricalTradesResponse>>;
  /**
   * Kline/candlestick bars for a symbol.
   * Klines are uniquely identified by their open time.
   * Weight: 2
   *
   * @summary Kline/Candlestick data
   * @param {KlinesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<KlinesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#klinecandlestick-data Binance API Documentation}
   */
  klines(requestParameters: KlinesRequest$1): Promise<RestApiResponse<KlinesResponse$1>>;
  /**
   *
   * Weight: 2
   *
   * @summary Query Reference Price
   * @param {ReferencePriceRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<ReferencePriceResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#query-reference-price Binance API Documentation}
   */
  referencePrice(requestParameters: ReferencePriceRequest$2): Promise<RestApiResponse<ReferencePriceResponse$2>>;
  /**
   * Describes how reference price is calculated for a given symbol.
   * Weight: 2
   *
   * @summary Query Reference Price Calculation
   * @param {ReferencePriceCalculationRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<ReferencePriceCalculationResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#query-reference-price-calculation Binance API Documentation}
   */
  referencePriceCalculation(requestParameters: ReferencePriceCalculationRequest$1): Promise<RestApiResponse<ReferencePriceCalculationResponse$1>>;
  /**
   *
   * Weight: 4 for each requested <tt>symbol</tt> regardless of <tt>windowSize</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
   *
   * @summary Rolling window price change statistics
   * @param {TickerRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<TickerResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#rolling-window-price-change-statistics Binance API Documentation}
   */
  ticker(requestParameters?: TickerRequest$2): Promise<RestApiResponse<TickerResponse$2>>;
  /**
   * 24 hour rolling window price change statistics. **Careful** when accessing this with no symbol.
   * Weight: <table>
   * <thead>
   * <tr>
   * <th>Parameter</th>
   * <th>Symbols Provided</th>
   * <th>Weight</th>
   * </tr>
   * </thead>
   * <tbody>
   * <tr>
   * <td rowspan="2">symbol</td>
   * <td>1</td>
   * <td>2</td>
   * </tr>
   * <tr>
   * <td>symbol parameter is omitted</td>
   * <td>80</td>
   * </tr>
   * <tr>
   * <td rowspan="4">symbols</td>
   * <td>1-20</td>
   * <td>2</td>
   * </tr>
   * <tr>
   * <td>21-100</td>
   * <td>40</td>
   * </tr>
   * <tr>
   * <td>101 or more</td>
   * <td>80</td>
   * </tr>
   * <tr>
   * <td>symbols parameter is omitted</td>
   * <td>80</td>
   * </tr>
   * </tbody>
   * </table>
   *
   * @summary 24hr ticker price change statistics
   * @param {Ticker24hrRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<Ticker24hrResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#24hr-ticker-price-change-statistics Binance API Documentation}
   */
  ticker24hr(requestParameters?: Ticker24hrRequest$1): Promise<RestApiResponse<Ticker24hrResponse$1>>;
  /**
   * Best price/qty on the order book for a symbol or symbols.
   * Weight: <table>
   * <thead>
   * <tr>
   * <th>Parameter</th>
   * <th>Symbols Provided</th>
   * <th>Weight</th>
   * </tr>
   * </thead>
   * <tbody>
   * <tr>
   * <td rowspan="2">symbol</td>
   * <td>1</td>
   * <td>2</td>
   * </tr>
   * <tr>
   * <td>symbol parameter is omitted</td>
   * <td>4</td>
   * </tr>
   * <tr>
   * <td>symbols</td>
   * <td>Any</td>
   * <td>4</td>
   * </tr>
   * </tbody>
   * </table>
   *
   * @summary Symbol order book ticker
   * @param {TickerBookTickerRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<TickerBookTickerResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#symbol-order-book-ticker Binance API Documentation}
   */
  tickerBookTicker(requestParameters?: TickerBookTickerRequest): Promise<RestApiResponse<TickerBookTickerResponse>>;
  /**
   * Latest price for a symbol or symbols.
   * Weight: <table>
   * <thead>
   * <tr>
   * <th>Parameter</th>
   * <th>Symbols Provided</th>
   * <th>Weight</th>
   * </tr>
   * </thead>
   * <tbody>
   * <tr>
   * <td rowspan="2">symbol</td>
   * <td>1</td>
   * <td>2</td>
   * </tr>
   * <tr>
   * <td>symbol parameter is omitted</td>
   * <td>4</td>
   * </tr>
   * <tr>
   * <td>symbols</td>
   * <td>Any</td>
   * <td>4</td>
   * </tr>
   * </tbody>
   * </table>
   *
   * @summary Symbol price ticker
   * @param {TickerPriceRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<TickerPriceResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#symbol-price-ticker Binance API Documentation}
   */
  tickerPrice(requestParameters?: TickerPriceRequest$1): Promise<RestApiResponse<TickerPriceResponse$1>>;
  /**
   * Price change statistics for a trading day.
   * Weight: 4 for each requested <tt>symbol</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
   *
   * @summary Trading Day Ticker
   * @param {TickerTradingDayRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<TickerTradingDayResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#trading-day-ticker Binance API Documentation}
   */
  tickerTradingDay(requestParameters?: TickerTradingDayRequest$1): Promise<RestApiResponse<TickerTradingDayResponse$1>>;
  /**
   * The request is similar to klines having the same parameters and response.
   *
   * `uiKlines` return modified kline data, optimized for presentation of candlestick charts.
   * Weight: 2
   *
   * @summary UIKlines
   * @param {UiKlinesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<UiKlinesResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#uiklines Binance API Documentation}
   */
  uiKlines(requestParameters: UiKlinesRequest$1): Promise<RestApiResponse<UiKlinesResponse$1>>;
  /**
   * Cancels all active orders on a symbol.
   * This includes orders that are part of an order list.
   * Weight: 1
   *
   * @summary Cancel All Open Orders on a Symbol
   * @param {DeleteOpenOrdersRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<DeleteOpenOrdersResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-all-open-orders-on-a-symbol-trade Binance API Documentation}
   */
  deleteOpenOrders(requestParameters: DeleteOpenOrdersRequest): Promise<RestApiResponse<DeleteOpenOrdersResponse>>;
  /**
   * Cancel an active order.
   * Weight: 1
   *
   * @summary Cancel order
   * @param {DeleteOrderRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<DeleteOrderResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-order-trade Binance API Documentation}
   */
  deleteOrder(requestParameters: DeleteOrderRequest): Promise<RestApiResponse<DeleteOrderResponse>>;
  /**
   * Cancel an entire Order list
   * Weight: 1
   *
   * @summary Cancel Order list
   * @param {DeleteOrderListRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<DeleteOrderListResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-order-list-trade Binance API Documentation}
   */
  deleteOrderList(requestParameters: DeleteOrderListRequest): Promise<RestApiResponse<DeleteOrderListResponse>>;
  /**
   * Send in a new order.
   *
   * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * @summary New order
   * @param {NewOrderRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<NewOrderResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-trade Binance API Documentation}
   */
  newOrder(requestParameters: NewOrderRequest): Promise<RestApiResponse<NewOrderResponse>>;
  /**
   * Reduce the quantity of an existing open order.
   *
   * This adds 0 orders to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   *
   * Read [Order Amend Keep Priority FAQ](faqs/order_amend_keep_priority.md) to learn more.
   * Weight: 4
   *
   * @summary Order Amend Keep Priority
   * @param {OrderAmendKeepPriorityRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<OrderAmendKeepPriorityResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#order-amend-keep-priority-trade Binance API Documentation}
   */
  orderAmendKeepPriority(requestParameters: OrderAmendKeepPriorityRequest$1): Promise<RestApiResponse<OrderAmendKeepPriorityResponse$1>>;
  /**
   * * Cancels an existing order and places a new order on the same symbol.
   * Filters and Order Count are evaluated before the processing of the cancellation and order placement occurs.
   * A new order that was not attempted (i.e. when `newOrderResult: NOT_ATTEMPTED`), will still increase the unfilled order count by 1.
   * You can only cancel an individual order from an orderList using this endpoint, but the result is the same as canceling the entire orderList.
   * Weight: 1
   *
   * @summary Cancel an Existing Order and Send a New Order
   * @param {OrderCancelReplaceRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<OrderCancelReplaceResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-an-existing-order-and-send-a-new-order-trade Binance API Documentation}
   */
  orderCancelReplace(requestParameters: OrderCancelReplaceRequest$1): Promise<RestApiResponse<OrderCancelReplaceResponse$1>>;
  /**
   * Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
   *
   * An OCO has 2 orders called the **above order** and **below order**.
   * One of the orders must be a `LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMIT` order and the other must be `STOP_LOSS` or `STOP_LOSS_LIMIT` order.
   * Price restrictions
   * If the OCO is on the `SELL` side:
   * `LIMIT_MAKER/TAKE_PROFIT_LIMIT` `price` > Last Traded Price >  `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
   * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
   * If the OCO is on the `BUY` side:
   * `LIMIT_MAKER/TAKE_PROFIT_LIMIT price` < Last Traded Price < `stopPrice`
   * `TAKE_PROFIT stopPrice` < Last Traded Price < `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
   * OCOs add **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary New Order list - OCO
   * @param {OrderListOcoRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<OrderListOcoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---oco-trade Binance API Documentation}
   */
  orderListOco(requestParameters: OrderListOcoRequest): Promise<RestApiResponse<OrderListOcoResponse>>;
  /**
   * Place an [OPO](./faqs/opo.md).
   *
   * OPOs add 2 orders to the EXCHANGE_MAX_NUM_ORDERS filter and MAX_NUM_ORDERS filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary New Order List - OPO
   * @param {OrderListOpoRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<OrderListOpoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---opo-trade Binance API Documentation}
   */
  orderListOpo(requestParameters: OrderListOpoRequest): Promise<RestApiResponse<OrderListOpoResponse>>;
  /**
   * Place an [OPOCO](./faqs/opo.md).
   * Weight: 1
   *
   * Unfilled Order Count: 3
   *
   * @summary New Order List - OPOCO
   * @param {OrderListOpocoRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<OrderListOpocoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---opoco-trade Binance API Documentation}
   */
  orderListOpoco(requestParameters: OrderListOpocoRequest): Promise<RestApiResponse<OrderListOpocoResponse>>;
  /**
   * Place an OTO.
   *
   * An OTO (One-Triggers-the-Other) is an order list comprised of 2 orders.
   * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
   * The second order is called the **pending order**. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets **fully filled**.
   * If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired.
   * When the order list is placed, if the working order gets **immediately fully filled**, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status.
   * OTOs add **2 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary New Order list - OTO
   * @param {OrderListOtoRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<OrderListOtoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---oto-trade Binance API Documentation}
   */
  orderListOto(requestParameters: OrderListOtoRequest): Promise<RestApiResponse<OrderListOtoResponse>>;
  /**
   * Place an OTOCO.
   *
   * An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders.
   * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
   * The behavior of the working order is the same as the [OTO](#new-order-list---oto-trade).
   * OTOCO has 2 pending orders (pending above and pending below), forming an OCO pair. The pending orders are only placed on the order book when the working order gets **fully filled**.
   * The rules of the pending above and pending below follow the same rules as the [Order list OCO](#new-order-list---oco-trade).
   * OTOCOs add **3 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 3
   *
   * @summary New Order list - OTOCO
   * @param {OrderListOtocoRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<OrderListOtocoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---otoco-trade Binance API Documentation}
   */
  orderListOtoco(requestParameters: OrderListOtocoRequest): Promise<RestApiResponse<OrderListOtocoResponse>>;
  /**
   * Send in a new OCO.
   *
   * Price Restrictions:
   * `SELL`: Limit Price > Last Price > Stop Price
   * `BUY`: Limit Price < Last Price < Stop Price
   * Quantity Restrictions:
   * Both legs must have the same quantity.
   * `ICEBERG` quantities however do not have to be the same
   * `OCO` adds **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary New OCO - Deprecated
   * @param {OrderOcoRequest} requestParameters Request parameters.
   * @deprecated
   * @returns {Promise<RestApiResponse<OrderOcoResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-oco---deprecated-trade Binance API Documentation}
   */
  orderOco(requestParameters: OrderOcoRequest): Promise<RestApiResponse<OrderOcoResponse>>;
  /**
   * Test new order creation and signature/recvWindow long.
   * Creates and validates a new order but does not send it into the matching engine.
   * Weight: |Condition| Request Weight|
   * |------------           | ------------ |
   * |Without `computeCommissionRates`| 1|
   * |With `computeCommissionRates`|20|
   *
   * @summary Test new order
   * @param {OrderTestRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<OrderTestResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#test-new-order-trade Binance API Documentation}
   */
  orderTest(requestParameters: OrderTestRequest$1): Promise<RestApiResponse<OrderTestResponse$1>>;
  /**
   * Places an order using smart order routing (SOR).
   *
   * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   *
   * Read [SOR FAQ](faqs/sor_faq.md) to learn more.
   * Weight: 1
   *
   * Unfilled Order Count: 1
   *
   * @summary New order using SOR
   * @param {SorOrderRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<SorOrderResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-using-sor-trade Binance API Documentation}
   */
  sorOrder(requestParameters: SorOrderRequest): Promise<RestApiResponse<SorOrderResponse>>;
  /**
   * Test new order creation and signature/recvWindow using smart order routing (SOR).
   * Creates and validates a new order but does not send it into the matching engine.
   * Weight: | Condition | Request Weight |
   * | --------- | -------------- |
   * | Without `computeCommissionRates`  |  1 |
   * | With `computeCommissionRates`     | 20 |
   *
   * @summary Test new order using SOR
   * @param {SorOrderTestRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<SorOrderTestResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#test-new-order-using-sor-trade Binance API Documentation}
   */
  sorOrderTest(requestParameters: SorOrderTestRequest$1): Promise<RestApiResponse<SorOrderTestResponse$1>>;
}
declare namespace index_d_exports {
  export { AccountApi$1 as AccountApi, AccountApiInterface$1 as AccountApiInterface, AccountCommissionRequest$1 as AccountCommissionRequest, AccountCommissionResponse$1 as AccountCommissionResponse, AccountCommissionResponseDiscount, AccountCommissionResponseSpecialCommission, AccountCommissionResponseStandardCommission, AccountCommissionResponseTaxCommission, AggTradesRequest, AggTradesResponse, AggTradesResponseInner, AllOrderListRequest, AllOrderListResponse, AllOrderListResponseInner, AllOrderListResponseInnerOrdersInner, AllOrdersRequest$1 as AllOrdersRequest, AllOrdersResponse$1 as AllOrdersResponse, AllOrdersResponseInner, AssetFilters$2 as AssetFilters, AvgPriceRequest$2 as AvgPriceRequest, AvgPriceResponse$2 as AvgPriceResponse, DeleteOpenOrdersRequest, DeleteOpenOrdersResponse, DeleteOpenOrdersResponseInner, DeleteOrderCancelRestrictionsEnum, DeleteOrderListRequest, DeleteOrderListResponse, DeleteOrderListResponseOrderReportsInner, DeleteOrderListResponseOrdersInner, DeleteOrderRequest, DeleteOrderResponse, DepthRequest$1 as DepthRequest, DepthResponse$1 as DepthResponse, DepthSymbolStatusEnum$1 as DepthSymbolStatusEnum, ExchangeFilters$2 as ExchangeFilters, ExchangeInfoRequest$1 as ExchangeInfoRequest, ExchangeInfoResponse$1 as ExchangeInfoResponse, ExchangeInfoResponseSymbolsInner, ExchangeInfoSymbolStatusEnum$1 as ExchangeInfoSymbolStatusEnum, ExchangeMaxNumAlgoOrdersFilter$2 as ExchangeMaxNumAlgoOrdersFilter, ExchangeMaxNumIcebergOrdersFilter$2 as ExchangeMaxNumIcebergOrdersFilter, ExchangeMaxNumOrderListsFilter$2 as ExchangeMaxNumOrderListsFilter, ExchangeMaxNumOrdersFilter$2 as ExchangeMaxNumOrdersFilter, ExecutionRulesRequest$1 as ExecutionRulesRequest, ExecutionRulesResponse$1 as ExecutionRulesResponse, ExecutionRulesResponseSymbolRulesInner, ExecutionRulesResponseSymbolRulesInnerRulesInner, ExecutionRulesSymbolStatusEnum$1 as ExecutionRulesSymbolStatusEnum, GeneralApi$1 as GeneralApi, GeneralApiInterface$1 as GeneralApiInterface, GetAccountRequest, GetAccountResponse, GetAccountResponseBalancesInner, GetAccountResponseCommissionRates, GetOpenOrdersRequest, GetOpenOrdersResponse, GetOrderListRequest, GetOrderListResponse, GetOrderListResponseOrdersInner, GetOrderRequest, GetOrderResponse, GetTradesRequest, GetTradesResponse, HistoricalBlockTradesRequest, HistoricalBlockTradesResponse, HistoricalBlockTradesResponseInner, HistoricalTradesRequest, HistoricalTradesResponse, HistoricalTradesResponseInner, IcebergPartsFilter$2 as IcebergPartsFilter, KlinesIntervalEnum$1 as KlinesIntervalEnum, KlinesItem$1 as KlinesItem, KlinesItemInner$1 as KlinesItemInner, KlinesRequest$1 as KlinesRequest, KlinesResponse$1 as KlinesResponse, LotSizeFilter$2 as LotSizeFilter, MarketApi$1 as MarketApi, MarketApiInterface$1 as MarketApiInterface, MarketLotSizeFilter$2 as MarketLotSizeFilter, MaxAssetFilter$2 as MaxAssetFilter, MaxNumAlgoOrdersFilter$2 as MaxNumAlgoOrdersFilter, MaxNumIcebergOrdersFilter$2 as MaxNumIcebergOrdersFilter, MaxNumOrderAmendsFilter$2 as MaxNumOrderAmendsFilter, MaxNumOrderListsFilter$2 as MaxNumOrderListsFilter, MaxNumOrdersFilter$2 as MaxNumOrdersFilter, MaxPositionFilter$2 as MaxPositionFilter, MinNotionalFilter$2 as MinNotionalFilter, MyAllocationsRequest$1 as MyAllocationsRequest, MyAllocationsResponse$1 as MyAllocationsResponse, MyAllocationsResponseInner, MyFiltersRequest$1 as MyFiltersRequest, MyFiltersResponse$1 as MyFiltersResponse, MyPreventedMatchesRequest$1 as MyPreventedMatchesRequest, MyPreventedMatchesResponse$1 as MyPreventedMatchesResponse, MyPreventedMatchesResponseInner, MyTradesRequest$1 as MyTradesRequest, MyTradesResponse$1 as MyTradesResponse, MyTradesResponseInner, NewOrderNewOrderRespTypeEnum, NewOrderPegOffsetTypeEnum, NewOrderPegPriceTypeEnum, NewOrderRequest, NewOrderResponse, NewOrderResponseFillsInner, NewOrderSelfTradePreventionModeEnum, NewOrderSideEnum, NewOrderTimeInForceEnum, NewOrderTypeEnum, NotionalFilter$2 as NotionalFilter, OpenOrderListRequest, OpenOrderListResponse, OpenOrderListResponseInner, OpenOrderListResponseInnerOrdersInner, OrderAmendKeepPriorityRequest$1 as OrderAmendKeepPriorityRequest, OrderAmendKeepPriorityResponse$1 as OrderAmendKeepPriorityResponse, OrderAmendKeepPriorityResponseAmendedOrder, OrderAmendKeepPriorityResponseListStatus, OrderAmendKeepPriorityResponseListStatusOrdersInner, OrderAmendmentsRequest$1 as OrderAmendmentsRequest, OrderAmendmentsResponse$1 as OrderAmendmentsResponse, OrderAmendmentsResponseInner, OrderCancelReplaceCancelReplaceModeEnum$1 as OrderCancelReplaceCancelReplaceModeEnum, OrderCancelReplaceCancelRestrictionsEnum$1 as OrderCancelReplaceCancelRestrictionsEnum, OrderCancelReplaceNewOrderRespTypeEnum$1 as OrderCancelReplaceNewOrderRespTypeEnum, OrderCancelReplaceOrderRateLimitExceededModeEnum$1 as OrderCancelReplaceOrderRateLimitExceededModeEnum, OrderCancelReplacePegOffsetTypeEnum$1 as OrderCancelReplacePegOffsetTypeEnum, OrderCancelReplacePegPriceTypeEnum$1 as OrderCancelReplacePegPriceTypeEnum, OrderCancelReplaceRequest$1 as OrderCancelReplaceRequest, OrderCancelReplaceResponse$1 as OrderCancelReplaceResponse, OrderCancelReplaceResponseCancelResponse, OrderCancelReplaceResponseData, OrderCancelReplaceResponseDataCancelResponse, OrderCancelReplaceResponseDataNewOrderResponse, OrderCancelReplaceResponseNewOrderResponse, OrderCancelReplaceSelfTradePreventionModeEnum$1 as OrderCancelReplaceSelfTradePreventionModeEnum, OrderCancelReplaceSideEnum$1 as OrderCancelReplaceSideEnum, OrderCancelReplaceTimeInForceEnum$1 as OrderCancelReplaceTimeInForceEnum, OrderCancelReplaceTypeEnum$1 as OrderCancelReplaceTypeEnum, OrderListOcoAbovePegOffsetTypeEnum, OrderListOcoAbovePegPriceTypeEnum, OrderListOcoAboveTimeInForceEnum, OrderListOcoAboveTypeEnum, OrderListOcoBelowPegOffsetTypeEnum, OrderListOcoBelowPegPriceTypeEnum, OrderListOcoBelowTimeInForceEnum, OrderListOcoBelowTypeEnum, OrderListOcoNewOrderRespTypeEnum, OrderListOcoRequest, OrderListOcoResponse, OrderListOcoResponseOrderReportsInner, OrderListOcoResponseOrdersInner, OrderListOcoSelfTradePreventionModeEnum, OrderListOcoSideEnum, OrderListOpoNewOrderRespTypeEnum, OrderListOpoPendingPegOffsetTypeEnum, OrderListOpoPendingPegPriceTypeEnum, OrderListOpoPendingSideEnum, OrderListOpoPendingTimeInForceEnum, OrderListOpoPendingTypeEnum, OrderListOpoRequest, OrderListOpoResponse, OrderListOpoResponseOrderReportsInner, OrderListOpoResponseOrdersInner, OrderListOpoSelfTradePreventionModeEnum, OrderListOpoWorkingPegOffsetTypeEnum, OrderListOpoWorkingPegPriceTypeEnum, OrderListOpoWorkingSideEnum, OrderListOpoWorkingTimeInForceEnum, OrderListOpoWorkingTypeEnum, OrderListOpocoNewOrderRespTypeEnum, OrderListOpocoPendingAbovePegOffsetTypeEnum, OrderListOpocoPendingAbovePegPriceTypeEnum, OrderListOpocoPendingAboveTimeInForceEnum, OrderListOpocoPendingAboveTypeEnum, OrderListOpocoPendingBelowPegOffsetTypeEnum, OrderListOpocoPendingBelowPegPriceTypeEnum, OrderListOpocoPendingBelowTimeInForceEnum, OrderListOpocoPendingBelowTypeEnum, OrderListOpocoPendingSideEnum, OrderListOpocoRequest, OrderListOpocoResponse, OrderListOpocoResponseOrderReportsInner, OrderListOpocoResponseOrdersInner, OrderListOpocoSelfTradePreventionModeEnum, OrderListOpocoWorkingPegOffsetTypeEnum, OrderListOpocoWorkingPegPriceTypeEnum, OrderListOpocoWorkingSideEnum, OrderListOpocoWorkingTimeInForceEnum, OrderListOpocoWorkingTypeEnum, OrderListOtoNewOrderRespTypeEnum, OrderListOtoPendingPegOffsetTypeEnum, OrderListOtoPendingPegPriceTypeEnum, OrderListOtoPendingSideEnum, OrderListOtoPendingTimeInForceEnum, OrderListOtoPendingTypeEnum, OrderListOtoRequest, OrderListOtoResponse, OrderListOtoResponseOrderReportsInner, OrderListOtoResponseOrdersInner, OrderListOtoSelfTradePreventionModeEnum, OrderListOtoWorkingPegOffsetTypeEnum, OrderListOtoWorkingPegPriceTypeEnum, OrderListOtoWorkingSideEnum, OrderListOtoWorkingTimeInForceEnum, OrderListOtoWorkingTypeEnum, OrderListOtocoNewOrderRespTypeEnum, OrderListOtocoPendingAbovePegOffsetTypeEnum, OrderListOtocoPendingAbovePegPriceTypeEnum, OrderListOtocoPendingAboveTimeInForceEnum, OrderListOtocoPendingAboveTypeEnum, OrderListOtocoPendingBelowPegOffsetTypeEnum, OrderListOtocoPendingBelowPegPriceTypeEnum, OrderListOtocoPendingBelowTimeInForceEnum, OrderListOtocoPendingBelowTypeEnum, OrderListOtocoPendingSideEnum, OrderListOtocoRequest, OrderListOtocoResponse, OrderListOtocoResponseOrderReportsInner, OrderListOtocoResponseOrdersInner, OrderListOtocoSelfTradePreventionModeEnum, OrderListOtocoWorkingPegOffsetTypeEnum, OrderListOtocoWorkingPegPriceTypeEnum, OrderListOtocoWorkingSideEnum, OrderListOtocoWorkingTimeInForceEnum, OrderListOtocoWorkingTypeEnum, OrderOcoNewOrderRespTypeEnum, OrderOcoRequest, OrderOcoResponse, OrderOcoResponseOrderReportsInner, OrderOcoResponseOrdersInner, OrderOcoSelfTradePreventionModeEnum, OrderOcoSideEnum, OrderOcoStopLimitTimeInForceEnum, OrderTestNewOrderRespTypeEnum$1 as OrderTestNewOrderRespTypeEnum, OrderTestPegOffsetTypeEnum$1 as OrderTestPegOffsetTypeEnum, OrderTestPegPriceTypeEnum$1 as OrderTestPegPriceTypeEnum, OrderTestRequest$1 as OrderTestRequest, OrderTestResponse$1 as OrderTestResponse, OrderTestResponseDiscount, OrderTestResponseSpecialCommissionForOrder, OrderTestResponseStandardCommissionForOrder, OrderTestSelfTradePreventionModeEnum$1 as OrderTestSelfTradePreventionModeEnum, OrderTestSideEnum$1 as OrderTestSideEnum, OrderTestTimeInForceEnum$1 as OrderTestTimeInForceEnum, OrderTestTypeEnum$1 as OrderTestTypeEnum, PercentPriceBySideFilter$2 as PercentPriceBySideFilter, PercentPriceFilter$2 as PercentPriceFilter, PriceFilter$2 as PriceFilter, RateLimitOrderRequest, RateLimitOrderResponse, RateLimitOrderResponseInner, RateLimits$2 as RateLimits, ReferencePriceCalculationRequest$1 as ReferencePriceCalculationRequest, ReferencePriceCalculationResponse$1 as ReferencePriceCalculationResponse, ReferencePriceCalculationSymbolStatusEnum$1 as ReferencePriceCalculationSymbolStatusEnum, ReferencePriceRequest$2 as ReferencePriceRequest, ReferencePriceResponse$2 as ReferencePriceResponse, RestAPI, SorOrderNewOrderRespTypeEnum, SorOrderRequest, SorOrderResponse, SorOrderResponseFillsInner, SorOrderSelfTradePreventionModeEnum, SorOrderSideEnum, SorOrderTestNewOrderRespTypeEnum$1 as SorOrderTestNewOrderRespTypeEnum, SorOrderTestRequest$1 as SorOrderTestRequest, SorOrderTestResponse$1 as SorOrderTestResponse, SorOrderTestSelfTradePreventionModeEnum$1 as SorOrderTestSelfTradePreventionModeEnum, SorOrderTestSideEnum$1 as SorOrderTestSideEnum, SorOrderTestTimeInForceEnum$1 as SorOrderTestTimeInForceEnum, SorOrderTestTypeEnum$1 as SorOrderTestTypeEnum, SorOrderTimeInForceEnum, SorOrderTypeEnum, SymbolFilters$2 as SymbolFilters, TPlusSellFilter$2 as TPlusSellFilter, Ticker24hrRequest$1 as Ticker24hrRequest, Ticker24hrResponse$1 as Ticker24hrResponse, Ticker24hrResponse1$1 as Ticker24hrResponse1, Ticker24hrResponse2$1 as Ticker24hrResponse2, Ticker24hrResponse2Inner, Ticker24hrSymbolStatusEnum$1 as Ticker24hrSymbolStatusEnum, Ticker24hrTypeEnum$1 as Ticker24hrTypeEnum, TickerBookTickerRequest, TickerBookTickerResponse, TickerBookTickerResponse1, TickerBookTickerResponse2, TickerBookTickerResponse2Inner, TickerBookTickerSymbolStatusEnum, TickerPriceRequest$1 as TickerPriceRequest, TickerPriceResponse$1 as TickerPriceResponse, TickerPriceResponse1$1 as TickerPriceResponse1, TickerPriceResponse2$1 as TickerPriceResponse2, TickerPriceResponse2Inner, TickerPriceSymbolStatusEnum$1 as TickerPriceSymbolStatusEnum, TickerRequest$2 as TickerRequest, TickerResponse$2 as TickerResponse, TickerResponse1$1 as TickerResponse1, TickerResponse2$1 as TickerResponse2, TickerResponse2Inner, TickerSymbolStatusEnum$1 as TickerSymbolStatusEnum, TickerTradingDayRequest$1 as TickerTradingDayRequest, TickerTradingDayResponse$1 as TickerTradingDayResponse, TickerTradingDayResponse1, TickerTradingDayResponse2, TickerTradingDayResponse2Inner, TickerTradingDaySymbolStatusEnum$1 as TickerTradingDaySymbolStatusEnum, TickerTradingDayTypeEnum$1 as TickerTradingDayTypeEnum, TickerTypeEnum$1 as TickerTypeEnum, TickerWindowSizeEnum$1 as TickerWindowSizeEnum, TimeResponse$1 as TimeResponse, TradeApi$1 as TradeApi, TradeApiInterface$1 as TradeApiInterface, TrailingDeltaFilter$2 as TrailingDeltaFilter, UiKlinesIntervalEnum$1 as UiKlinesIntervalEnum, UiKlinesItem$1 as UiKlinesItem, UiKlinesRequest$1 as UiKlinesRequest, UiKlinesResponse$1 as UiKlinesResponse };
}
//#endregion
//#region src/websocket-api/types/account-commission-response-result-discount.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseResultDiscount
 */
interface AccountCommissionResponseResultDiscount {
  /**
   *
   * @type {boolean}
   * @memberof AccountCommissionResponseResultDiscount
   */
  enabledForAccount?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof AccountCommissionResponseResultDiscount
   */
  enabledForSymbol?: boolean;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultDiscount
   */
  discountAsset?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultDiscount
   */
  discount?: string;
}
//#endregion
//#region src/websocket-api/types/account-commission-response-result-special-commission.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseResultSpecialCommission
 */
interface AccountCommissionResponseResultSpecialCommission {
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultSpecialCommission
   */
  maker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultSpecialCommission
   */
  taker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultSpecialCommission
   */
  buyer?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultSpecialCommission
   */
  seller?: string;
}
//#endregion
//#region src/websocket-api/types/account-commission-response-result-standard-commission.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseResultStandardCommission
 */
interface AccountCommissionResponseResultStandardCommission {
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultStandardCommission
   */
  maker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultStandardCommission
   */
  taker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultStandardCommission
   */
  buyer?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultStandardCommission
   */
  seller?: string;
}
//#endregion
//#region src/websocket-api/types/account-commission-response-result-tax-commission.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseResultTaxCommission
 */
interface AccountCommissionResponseResultTaxCommission {
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultTaxCommission
   */
  maker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultTaxCommission
   */
  taker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultTaxCommission
   */
  buyer?: string;
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResultTaxCommission
   */
  seller?: string;
}
//#endregion
//#region src/websocket-api/types/account-commission-response-result.d.ts
/**
 *
 * @export
 * @interface AccountCommissionResponseResult
 */
interface AccountCommissionResponseResult {
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {AccountCommissionResponseResultStandardCommission}
   * @memberof AccountCommissionResponseResult
   */
  standardCommission?: AccountCommissionResponseResultStandardCommission;
  /**
   *
   * @type {AccountCommissionResponseResultSpecialCommission}
   * @memberof AccountCommissionResponseResult
   */
  specialCommission?: AccountCommissionResponseResultSpecialCommission;
  /**
   *
   * @type {AccountCommissionResponseResultTaxCommission}
   * @memberof AccountCommissionResponseResult
   */
  taxCommission?: AccountCommissionResponseResultTaxCommission;
  /**
   *
   * @type {AccountCommissionResponseResultDiscount}
   * @memberof AccountCommissionResponseResult
   */
  discount?: AccountCommissionResponseResultDiscount;
}
//#endregion
//#region src/websocket-api/types/rate-limits.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface RateLimits
 */
interface RateLimits$1 {
  /**
   *
   * @type {string}
   * @memberof RateLimits
   */
  rateLimitType?: string;
  /**
   *
   * @type {string}
   * @memberof RateLimits
   */
  interval?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof RateLimits
   */
  intervalNum?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RateLimits
   */
  limit?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RateLimits
   */
  count?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/account-commission-response.d.ts
/**
 *
 * @export
 * @interface AccountCommissionResponse
 */
interface AccountCommissionResponse {
  /**
   *
   * @type {string}
   * @memberof AccountCommissionResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountCommissionResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {AccountCommissionResponseResult}
   * @memberof AccountCommissionResponse
   */
  result?: AccountCommissionResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof AccountCommissionResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/account-rate-limits-orders-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountRateLimitsOrdersResponseResultInner
 */
interface AccountRateLimitsOrdersResponseResultInner {
  /**
   *
   * @type {string}
   * @memberof AccountRateLimitsOrdersResponseResultInner
   */
  rateLimitType?: string;
  /**
   *
   * @type {string}
   * @memberof AccountRateLimitsOrdersResponseResultInner
   */
  interval?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountRateLimitsOrdersResponseResultInner
   */
  intervalNum?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountRateLimitsOrdersResponseResultInner
   */
  limit?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountRateLimitsOrdersResponseResultInner
   */
  count?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/account-rate-limits-orders-response.d.ts
/**
 *
 * @export
 * @interface AccountRateLimitsOrdersResponse
 */
interface AccountRateLimitsOrdersResponse {
  /**
   *
   * @type {string}
   * @memberof AccountRateLimitsOrdersResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountRateLimitsOrdersResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<AccountRateLimitsOrdersResponseResultInner>}
   * @memberof AccountRateLimitsOrdersResponse
   */
  result?: Array<AccountRateLimitsOrdersResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof AccountRateLimitsOrdersResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/account-status-response-result-balances-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountStatusResponseResultBalancesInner
 */
interface AccountStatusResponseResultBalancesInner {
  /**
   *
   * @type {string}
   * @memberof AccountStatusResponseResultBalancesInner
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof AccountStatusResponseResultBalancesInner
   */
  free?: string;
  /**
   *
   * @type {string}
   * @memberof AccountStatusResponseResultBalancesInner
   */
  locked?: string;
}
//#endregion
//#region src/websocket-api/types/account-status-response-result-commission-rates.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountStatusResponseResultCommissionRates
 */
interface AccountStatusResponseResultCommissionRates {
  /**
   *
   * @type {string}
   * @memberof AccountStatusResponseResultCommissionRates
   */
  maker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountStatusResponseResultCommissionRates
   */
  taker?: string;
  /**
   *
   * @type {string}
   * @memberof AccountStatusResponseResultCommissionRates
   */
  buyer?: string;
  /**
   *
   * @type {string}
   * @memberof AccountStatusResponseResultCommissionRates
   */
  seller?: string;
}
//#endregion
//#region src/websocket-api/types/account-status-response-result.d.ts
/**
 *
 * @export
 * @interface AccountStatusResponseResult
 */
interface AccountStatusResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof AccountStatusResponseResult
   */
  makerCommission?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountStatusResponseResult
   */
  takerCommission?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountStatusResponseResult
   */
  buyerCommission?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountStatusResponseResult
   */
  sellerCommission?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof AccountStatusResponseResult
   */
  canTrade?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof AccountStatusResponseResult
   */
  canWithdraw?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof AccountStatusResponseResult
   */
  canDeposit?: boolean;
  /**
   *
   * @type {AccountStatusResponseResultCommissionRates}
   * @memberof AccountStatusResponseResult
   */
  commissionRates?: AccountStatusResponseResultCommissionRates;
  /**
   *
   * @type {boolean}
   * @memberof AccountStatusResponseResult
   */
  brokered?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof AccountStatusResponseResult
   */
  requireSelfTradePrevention?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof AccountStatusResponseResult
   */
  preventSor?: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountStatusResponseResult
   */
  updateTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AccountStatusResponseResult
   */
  accountType?: string;
  /**
   *
   * @type {Array<AccountStatusResponseResultBalancesInner>}
   * @memberof AccountStatusResponseResult
   */
  balances?: Array<AccountStatusResponseResultBalancesInner>;
  /**
   *
   * @type {Array<string>}
   * @memberof AccountStatusResponseResult
   */
  permissions?: Array<string>;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountStatusResponseResult
   */
  uid?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/account-status-response.d.ts
/**
 *
 * @export
 * @interface AccountStatusResponse
 */
interface AccountStatusResponse {
  /**
   *
   * @type {string}
   * @memberof AccountStatusResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountStatusResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {AccountStatusResponseResult}
   * @memberof AccountStatusResponse
   */
  result?: AccountStatusResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof AccountStatusResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-list-cancel-response-result-orders-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListCancelResponseResultOrdersInner
 */
interface OrderListCancelResponseResultOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListCancelResponseResultOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/websocket-api/types/all-order-lists-response-result-inner.d.ts
/**
 *
 * @export
 * @interface AllOrderListsResponseResultInner
 */
interface AllOrderListsResponseResultInner {
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrderListsResponseResultInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AllOrderListsResponseResultInner
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrderListsResponseResultInner
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrderListsResponseResultInner
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrderListsResponseResultInner
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrderListsResponseResultInner
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AllOrderListsResponseResultInner
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListCancelResponseResultOrdersInner>}
   * @memberof AllOrderListsResponseResultInner
   */
  orders?: Array<OrderListCancelResponseResultOrdersInner>;
}
//#endregion
//#region src/websocket-api/types/all-order-lists-response.d.ts
/**
 *
 * @export
 * @interface AllOrderListsResponse
 */
interface AllOrderListsResponse {
  /**
   *
   * @type {string}
   * @memberof AllOrderListsResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrderListsResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<AllOrderListsResponseResultInner>}
   * @memberof AllOrderListsResponse
   */
  result?: Array<AllOrderListsResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof AllOrderListsResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/all-orders-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AllOrdersResponseResultInner
 */
interface AllOrdersResponseResultInner {
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrdersResponseResultInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrdersResponseResultInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  stopPrice?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  icebergQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrdersResponseResultInner
   */
  time?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrdersResponseResultInner
   */
  updateTime?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof AllOrdersResponseResultInner
   */
  isWorking?: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrdersResponseResultInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrdersResponseResultInner
   */
  preventedMatchId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponseResultInner
   */
  preventedQuantity?: string;
}
//#endregion
//#region src/websocket-api/types/all-orders-response.d.ts
/**
 *
 * @export
 * @interface AllOrdersResponse
 */
interface AllOrdersResponse {
  /**
   *
   * @type {string}
   * @memberof AllOrdersResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllOrdersResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<AllOrdersResponseResultInner>}
   * @memberof AllOrdersResponse
   */
  result?: Array<AllOrdersResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof AllOrdersResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/max-asset-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxAssetFilter
 */
interface MaxAssetFilter$1 {
  /**
   *
   * @type {string}
   * @memberof MaxAssetFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof MaxAssetFilter
   */
  qtyExponent?: number;
  /**
   *
   * @type {string}
   * @memberof MaxAssetFilter
   */
  limit?: string;
  /**
   *
   * @type {string}
   * @memberof MaxAssetFilter
   */
  asset?: string;
}
//#endregion
//#region src/websocket-api/types/asset-filters.d.ts
/**
 * @type AssetFilters
 * @export
 */
type AssetFilters$1 = {
  filterType: 'MAX_ASSET';
} & MaxAssetFilter$1;
//#endregion
//#region src/websocket-api/types/avg-price-response-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AvgPriceResponseResult
 */
interface AvgPriceResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof AvgPriceResponseResult
   */
  mins?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AvgPriceResponseResult
   */
  price?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AvgPriceResponseResult
   */
  closeTime?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/avg-price-response.d.ts
/**
 *
 * @export
 * @interface AvgPriceResponse
 */
interface AvgPriceResponse$1 {
  /**
   *
   * @type {string}
   * @memberof AvgPriceResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AvgPriceResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {AvgPriceResponseResult}
   * @memberof AvgPriceResponse
   */
  result?: AvgPriceResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof AvgPriceResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/balance-update.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface BalanceUpdate
 */
interface BalanceUpdate {
  /**
   *
   * @type {number | bigint}
   * @memberof BalanceUpdate
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof BalanceUpdate
   */
  a?: string;
  /**
   *
   * @type {string}
   * @memberof BalanceUpdate
   */
  d?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof BalanceUpdate
   */
  T?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/block-trades-historical-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface BlockTradesHistoricalResponseResultInner
 */
interface BlockTradesHistoricalResponseResultInner {
  /**
   *
   * @type {number | bigint}
   * @memberof BlockTradesHistoricalResponseResultInner
   */
  id?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof BlockTradesHistoricalResponseResultInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof BlockTradesHistoricalResponseResultInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof BlockTradesHistoricalResponseResultInner
   */
  quoteQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof BlockTradesHistoricalResponseResultInner
   */
  time?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof BlockTradesHistoricalResponseResultInner
   */
  isBuyerMaker?: boolean;
}
//#endregion
//#region src/websocket-api/types/block-trades-historical-response.d.ts
/**
 *
 * @export
 * @interface BlockTradesHistoricalResponse
 */
interface BlockTradesHistoricalResponse {
  /**
   *
   * @type {string}
   * @memberof BlockTradesHistoricalResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof BlockTradesHistoricalResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<BlockTradesHistoricalResponseResultInner>}
   * @memberof BlockTradesHistoricalResponse
   */
  result?: Array<BlockTradesHistoricalResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof BlockTradesHistoricalResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/depth-response-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DepthResponseResult
 */
interface DepthResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof DepthResponseResult
   */
  lastUpdateId?: number | bigint;
  /**
   *
   * @type {Array<Array<string>>}
   * @memberof DepthResponseResult
   */
  bids?: Array<Array<string>>;
  /**
   *
   * @type {Array<Array<string>>}
   * @memberof DepthResponseResult
   */
  asks?: Array<Array<string>>;
}
//#endregion
//#region src/websocket-api/types/depth-response.d.ts
/**
 *
 * @export
 * @interface DepthResponse
 */
interface DepthResponse {
  /**
   *
   * @type {string}
   * @memberof DepthResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof DepthResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {DepthResponseResult}
   * @memberof DepthResponse
   */
  result?: DepthResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof DepthResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/event-stream-terminated.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface EventStreamTerminated
 */
interface EventStreamTerminated {
  /**
   *
   * @type {number | bigint}
   * @memberof EventStreamTerminated
   */
  E?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/exchange-max-num-algo-orders-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeMaxNumAlgoOrdersFilter
 */
interface ExchangeMaxNumAlgoOrdersFilter$1 {
  /**
   *
   * @type {string}
   * @memberof ExchangeMaxNumAlgoOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeMaxNumAlgoOrdersFilter
   */
  maxNumAlgoOrders?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/exchange-max-num-iceberg-orders-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeMaxNumIcebergOrdersFilter
 */
interface ExchangeMaxNumIcebergOrdersFilter$1 {
  /**
   *
   * @type {string}
   * @memberof ExchangeMaxNumIcebergOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeMaxNumIcebergOrdersFilter
   */
  maxNumIcebergOrders?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/exchange-max-num-order-lists-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeMaxNumOrderListsFilter
 */
interface ExchangeMaxNumOrderListsFilter$1 {
  /**
   *
   * @type {string}
   * @memberof ExchangeMaxNumOrderListsFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeMaxNumOrderListsFilter
   */
  maxNumOrderLists?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/exchange-max-num-orders-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeMaxNumOrdersFilter
 */
interface ExchangeMaxNumOrdersFilter$1 {
  /**
   *
   * @type {string}
   * @memberof ExchangeMaxNumOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeMaxNumOrdersFilter
   */
  maxNumOrders?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/exchange-filters.d.ts
/**
 * @type ExchangeFilters
 * @export
 */
type ExchangeFilters$1 = ({
  filterType: 'EXCHANGE_MAX_NUM_ALGO_ORDERS';
} & ExchangeMaxNumAlgoOrdersFilter$1) | ({
  filterType: 'EXCHANGE_MAX_NUM_ICEBERG_ORDERS';
} & ExchangeMaxNumIcebergOrdersFilter$1) | ({
  filterType: 'EXCHANGE_MAX_NUM_ORDERS';
} & ExchangeMaxNumOrdersFilter$1) | ({
  filterType: 'EXCHANGE_MAX_NUM_ORDER_LISTS';
} & ExchangeMaxNumOrderListsFilter$1);
//#endregion
//#region src/websocket-api/types/exchange-info-response-result-sors-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeInfoResponseResultSorsInner
 */
interface ExchangeInfoResponseResultSorsInner {
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponseResultSorsInner
   */
  baseAsset?: string;
  /**
   *
   * @type {Array<string>}
   * @memberof ExchangeInfoResponseResultSorsInner
   */
  symbols?: Array<string>;
}
//#endregion
//#region src/websocket-api/types/iceberg-parts-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface IcebergPartsFilter
 */
interface IcebergPartsFilter$1 {
  /**
   *
   * @type {string}
   * @memberof IcebergPartsFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof IcebergPartsFilter
   */
  limit?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/lot-size-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface LotSizeFilter
 */
interface LotSizeFilter$1 {
  /**
   *
   * @type {string}
   * @memberof LotSizeFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof LotSizeFilter
   */
  qtyExponent?: number;
  /**
   *
   * @type {string}
   * @memberof LotSizeFilter
   */
  minQty?: string;
  /**
   *
   * @type {string}
   * @memberof LotSizeFilter
   */
  maxQty?: string;
  /**
   *
   * @type {string}
   * @memberof LotSizeFilter
   */
  stepSize?: string;
}
//#endregion
//#region src/websocket-api/types/market-lot-size-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MarketLotSizeFilter
 */
interface MarketLotSizeFilter$1 {
  /**
   *
   * @type {string}
   * @memberof MarketLotSizeFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof MarketLotSizeFilter
   */
  qtyExponent?: number;
  /**
   *
   * @type {string}
   * @memberof MarketLotSizeFilter
   */
  minQty?: string;
  /**
   *
   * @type {string}
   * @memberof MarketLotSizeFilter
   */
  maxQty?: string;
  /**
   *
   * @type {string}
   * @memberof MarketLotSizeFilter
   */
  stepSize?: string;
}
//#endregion
//#region src/websocket-api/types/max-num-algo-orders-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumAlgoOrdersFilter
 */
interface MaxNumAlgoOrdersFilter$1 {
  /**
   *
   * @type {string}
   * @memberof MaxNumAlgoOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumAlgoOrdersFilter
   */
  maxNumAlgoOrders?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/max-num-iceberg-orders-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumIcebergOrdersFilter
 */
interface MaxNumIcebergOrdersFilter$1 {
  /**
   *
   * @type {string}
   * @memberof MaxNumIcebergOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumIcebergOrdersFilter
   */
  maxNumIcebergOrders?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/max-num-order-amends-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumOrderAmendsFilter
 */
interface MaxNumOrderAmendsFilter$1 {
  /**
   *
   * @type {string}
   * @memberof MaxNumOrderAmendsFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumOrderAmendsFilter
   */
  maxNumOrderAmends?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/max-num-order-lists-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumOrderListsFilter
 */
interface MaxNumOrderListsFilter$1 {
  /**
   *
   * @type {string}
   * @memberof MaxNumOrderListsFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumOrderListsFilter
   */
  maxNumOrderLists?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/max-num-orders-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumOrdersFilter
 */
interface MaxNumOrdersFilter$1 {
  /**
   *
   * @type {string}
   * @memberof MaxNumOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumOrdersFilter
   */
  maxNumOrders?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/max-position-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxPositionFilter
 */
interface MaxPositionFilter$1 {
  /**
   *
   * @type {string}
   * @memberof MaxPositionFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof MaxPositionFilter
   */
  qtyExponent?: number;
  /**
   *
   * @type {string}
   * @memberof MaxPositionFilter
   */
  maxPosition?: string;
}
//#endregion
//#region src/websocket-api/types/min-notional-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MinNotionalFilter
 */
interface MinNotionalFilter$1 {
  /**
   *
   * @type {string}
   * @memberof MinNotionalFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof MinNotionalFilter
   */
  priceExponent?: number;
  /**
   *
   * @type {string}
   * @memberof MinNotionalFilter
   */
  minNotional?: string;
  /**
   *
   * @type {boolean}
   * @memberof MinNotionalFilter
   */
  applyToMarket?: boolean;
  /**
   *
   * @type {number}
   * @memberof MinNotionalFilter
   */
  avgPriceMins?: number;
}
//#endregion
//#region src/websocket-api/types/notional-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface NotionalFilter
 */
interface NotionalFilter$1 {
  /**
   *
   * @type {string}
   * @memberof NotionalFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof NotionalFilter
   */
  priceExponent?: number;
  /**
   *
   * @type {string}
   * @memberof NotionalFilter
   */
  minNotional?: string;
  /**
   *
   * @type {boolean}
   * @memberof NotionalFilter
   */
  applyMinToMarket?: boolean;
  /**
   *
   * @type {string}
   * @memberof NotionalFilter
   */
  maxNotional?: string;
  /**
   *
   * @type {boolean}
   * @memberof NotionalFilter
   */
  applyMaxToMarket?: boolean;
  /**
   *
   * @type {number}
   * @memberof NotionalFilter
   */
  avgPriceMins?: number;
}
//#endregion
//#region src/websocket-api/types/percent-price-by-side-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface PercentPriceBySideFilter
 */
interface PercentPriceBySideFilter$1 {
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof PercentPriceBySideFilter
   */
  multiplierExponent?: number;
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  bidMultiplierUp?: string;
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  bidMultiplierDown?: string;
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  askMultiplierUp?: string;
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  askMultiplierDown?: string;
  /**
   *
   * @type {number}
   * @memberof PercentPriceBySideFilter
   */
  avgPriceMins?: number;
}
//#endregion
//#region src/websocket-api/types/percent-price-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface PercentPriceFilter
 */
interface PercentPriceFilter$1 {
  /**
   *
   * @type {string}
   * @memberof PercentPriceFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof PercentPriceFilter
   */
  multiplierExponent?: number;
  /**
   *
   * @type {string}
   * @memberof PercentPriceFilter
   */
  multiplierUp?: string;
  /**
   *
   * @type {string}
   * @memberof PercentPriceFilter
   */
  multiplierDown?: string;
  /**
   *
   * @type {number}
   * @memberof PercentPriceFilter
   */
  avgPriceMins?: number;
}
//#endregion
//#region src/websocket-api/types/price-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface PriceFilter
 */
interface PriceFilter$1 {
  /**
   *
   * @type {string}
   * @memberof PriceFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof PriceFilter
   */
  priceExponent?: number;
  /**
   *
   * @type {string}
   * @memberof PriceFilter
   */
  minPrice?: string;
  /**
   *
   * @type {string}
   * @memberof PriceFilter
   */
  maxPrice?: string;
  /**
   *
   * @type {string}
   * @memberof PriceFilter
   */
  tickSize?: string;
}
//#endregion
//#region src/websocket-api/types/tplus-sell-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TPlusSellFilter
 */
interface TPlusSellFilter$1 {
  /**
   *
   * @type {string}
   * @memberof TPlusSellFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TPlusSellFilter
   */
  endTime?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/trailing-delta-filter.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TrailingDeltaFilter
 */
interface TrailingDeltaFilter$1 {
  /**
   *
   * @type {string}
   * @memberof TrailingDeltaFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TrailingDeltaFilter
   */
  minTrailingAboveDelta?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TrailingDeltaFilter
   */
  maxTrailingAboveDelta?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TrailingDeltaFilter
   */
  minTrailingBelowDelta?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TrailingDeltaFilter
   */
  maxTrailingBelowDelta?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/symbol-filters.d.ts
/**
 * @type SymbolFilters
 * @export
 */
type SymbolFilters$1 = ({
  filterType: 'ICEBERG_PARTS';
} & IcebergPartsFilter$1) | ({
  filterType: 'LOT_SIZE';
} & LotSizeFilter$1) | ({
  filterType: 'MARKET_LOT_SIZE';
} & MarketLotSizeFilter$1) | ({
  filterType: 'MAX_NUM_ALGO_ORDERS';
} & MaxNumAlgoOrdersFilter$1) | ({
  filterType: 'MAX_NUM_ICEBERG_ORDERS';
} & MaxNumIcebergOrdersFilter$1) | ({
  filterType: 'MAX_NUM_ORDERS';
} & MaxNumOrdersFilter$1) | ({
  filterType: 'MAX_NUM_ORDER_AMENDS';
} & MaxNumOrderAmendsFilter$1) | ({
  filterType: 'MAX_NUM_ORDER_LISTS';
} & MaxNumOrderListsFilter$1) | ({
  filterType: 'MAX_POSITION';
} & MaxPositionFilter$1) | ({
  filterType: 'MIN_NOTIONAL';
} & MinNotionalFilter$1) | ({
  filterType: 'NOTIONAL';
} & NotionalFilter$1) | ({
  filterType: 'PERCENT_PRICE';
} & PercentPriceFilter$1) | ({
  filterType: 'PERCENT_PRICE_BY_SIDE';
} & PercentPriceBySideFilter$1) | ({
  filterType: 'PRICE_FILTER';
} & PriceFilter$1) | ({
  filterType: 'TRAILING_DELTA';
} & TrailingDeltaFilter$1) | ({
  filterType: 'T_PLUS_SELL';
} & TPlusSellFilter$1);
//#endregion
//#region src/websocket-api/types/exchange-info-response-result-symbols-inner.d.ts
/**
 *
 * @export
 * @interface ExchangeInfoResponseResultSymbolsInner
 */
interface ExchangeInfoResponseResultSymbolsInner {
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  baseAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  baseAssetPrecision?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  quoteAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  quotePrecision?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  quoteAssetPrecision?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  baseCommissionPrecision?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  quoteCommissionPrecision?: number | bigint;
  /**
   *
   * @type {Array<string>}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  orderTypes?: Array<string>;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  icebergAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  ocoAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  otoAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  opoAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  quoteOrderQtyMarketAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  allowTrailingStop?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  cancelReplaceAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  amendAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  pegInstructionsAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  isSpotTradingAllowed?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  isMarginTradingAllowed?: boolean;
  /**
   *
   * @type {Array<SymbolFilters>}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  filters?: Array<SymbolFilters$1>;
  /**
   *
   * @type {Array<string>}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  permissions?: Array<string>;
  /**
   *
   * @type {Array<Array<string>>}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  permissionSets?: Array<Array<string>>;
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  defaultSelfTradePreventionMode?: string;
  /**
   *
   * @type {Array<string>}
   * @memberof ExchangeInfoResponseResultSymbolsInner
   */
  allowedSelfTradePreventionModes?: Array<string>;
}
//#endregion
//#region src/websocket-api/types/exchange-info-response-result.d.ts
/**
 *
 * @export
 * @interface ExchangeInfoResponseResult
 */
interface ExchangeInfoResponseResult {
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponseResult
   */
  timezone?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponseResult
   */
  serverTime?: number | bigint;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof ExchangeInfoResponseResult
   */
  rateLimits?: Array<RateLimits$1>;
  /**
   *
   * @type {Array<ExchangeFilters>}
   * @memberof ExchangeInfoResponseResult
   */
  exchangeFilters?: Array<ExchangeFilters$1>;
  /**
   *
   * @type {Array<ExchangeInfoResponseResultSymbolsInner>}
   * @memberof ExchangeInfoResponseResult
   */
  symbols?: Array<ExchangeInfoResponseResultSymbolsInner>;
  /**
   *
   * @type {Array<ExchangeInfoResponseResultSorsInner>}
   * @memberof ExchangeInfoResponseResult
   */
  sors?: Array<ExchangeInfoResponseResultSorsInner>;
}
//#endregion
//#region src/websocket-api/types/exchange-info-response.d.ts
/**
 *
 * @export
 * @interface ExchangeInfoResponse
 */
interface ExchangeInfoResponse {
  /**
   *
   * @type {string}
   * @memberof ExchangeInfoResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeInfoResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {ExchangeInfoResponseResult}
   * @memberof ExchangeInfoResponse
   */
  result?: ExchangeInfoResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof ExchangeInfoResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/execution-report.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExecutionReport
 */
interface ExecutionReport {
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  s?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  c?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  S?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  o?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  f?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  q?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  p?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  P?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  F?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  g?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  C?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  x?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  X?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  r?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  i?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  l?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  z?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  L?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  n?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  N?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  T?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  t?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  v?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  I?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof ExecutionReport
   */
  w?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExecutionReport
   */
  m?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof ExecutionReport
   */
  M?: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  O?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  Z?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  Y?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  Q?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  W?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  V?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  d?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  D?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  j?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  J?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  A?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  B?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  u?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  U?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  Cs?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  pl?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  pL?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  pY?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  b?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  a?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  k?: string;
  /**
   *
   * @type {boolean}
   * @memberof ExecutionReport
   */
  uS?: boolean;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  gP?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  gOT?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionReport
   */
  gOV?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  gp?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionReport
   */
  eR?: string;
}
//#endregion
//#region src/websocket-api/types/execution-rules-response-result-symbol-rules-inner-rules-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExecutionRulesResponseResultSymbolRulesInnerRulesInner
 */
interface ExecutionRulesResponseResultSymbolRulesInnerRulesInner {
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponseResultSymbolRulesInnerRulesInner
   */
  ruleType?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponseResultSymbolRulesInnerRulesInner
   */
  bidLimitMultUp?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponseResultSymbolRulesInnerRulesInner
   */
  bidLimitMultDown?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponseResultSymbolRulesInnerRulesInner
   */
  askLimitMultUp?: string;
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponseResultSymbolRulesInnerRulesInner
   */
  askLimitMultDown?: string;
}
//#endregion
//#region src/websocket-api/types/execution-rules-response-result-symbol-rules-inner.d.ts
/**
 *
 * @export
 * @interface ExecutionRulesResponseResultSymbolRulesInner
 */
interface ExecutionRulesResponseResultSymbolRulesInner {
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponseResultSymbolRulesInner
   */
  symbol?: string;
  /**
   *
   * @type {Array<ExecutionRulesResponseResultSymbolRulesInnerRulesInner>}
   * @memberof ExecutionRulesResponseResultSymbolRulesInner
   */
  rules?: Array<ExecutionRulesResponseResultSymbolRulesInnerRulesInner>;
}
//#endregion
//#region src/websocket-api/types/execution-rules-response-result.d.ts
/**
 *
 * @export
 * @interface ExecutionRulesResponseResult
 */
interface ExecutionRulesResponseResult {
  /**
   *
   * @type {Array<ExecutionRulesResponseResultSymbolRulesInner>}
   * @memberof ExecutionRulesResponseResult
   */
  symbolRules?: Array<ExecutionRulesResponseResultSymbolRulesInner>;
}
//#endregion
//#region src/websocket-api/types/execution-rules-response.d.ts
/**
 *
 * @export
 * @interface ExecutionRulesResponse
 */
interface ExecutionRulesResponse {
  /**
   *
   * @type {string}
   * @memberof ExecutionRulesResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExecutionRulesResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {ExecutionRulesResponseResult}
   * @memberof ExecutionRulesResponse
   */
  result?: ExecutionRulesResponseResult;
}
//#endregion
//#region src/websocket-api/types/external-lock-update.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExternalLockUpdate
 */
interface ExternalLockUpdate {
  /**
   *
   * @type {number | bigint}
   * @memberof ExternalLockUpdate
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ExternalLockUpdate
   */
  a?: string;
  /**
   *
   * @type {string}
   * @memberof ExternalLockUpdate
   */
  d?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExternalLockUpdate
   */
  T?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/klines-item-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 * @type KlinesItemInner
 * @export
 */
type KlinesItemInner = number | string;
//#endregion
//#region src/websocket-api/types/klines-item.d.ts
/**
 *
 * @export
 * @interface KlinesItem
 */
interface KlinesItem extends Array<KlinesItemInner> {}
//#endregion
//#region src/websocket-api/types/klines-response.d.ts
/**
 *
 * @export
 * @interface KlinesResponse
 */
interface KlinesResponse {
  /**
   *
   * @type {string}
   * @memberof KlinesResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof KlinesResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<KlinesItem>}
   * @memberof KlinesResponse
   */
  result?: Array<KlinesItem>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof KlinesResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/list-status-oinner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ListStatusOInner
 */
interface ListStatusOInner {
  /**
   *
   * @type {string}
   * @memberof ListStatusOInner
   */
  s?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ListStatusOInner
   */
  i?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ListStatusOInner
   */
  c?: string;
}
//#endregion
//#region src/websocket-api/types/list-status.d.ts
/**
 *
 * @export
 * @interface ListStatus
 */
interface ListStatus {
  /**
   *
   * @type {number | bigint}
   * @memberof ListStatus
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ListStatus
   */
  s?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ListStatus
   */
  g?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ListStatus
   */
  c?: string;
  /**
   *
   * @type {string}
   * @memberof ListStatus
   */
  l?: string;
  /**
   *
   * @type {string}
   * @memberof ListStatus
   */
  L?: string;
  /**
   *
   * @type {string}
   * @memberof ListStatus
   */
  r?: string;
  /**
   *
   * @type {string}
   * @memberof ListStatus
   */
  C?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ListStatus
   */
  T?: number | bigint;
  /**
   *
   * @type {Array<ListStatusOInner>}
   * @memberof ListStatus
   */
  O?: Array<ListStatusOInner>;
}
//#endregion
//#region src/websocket-api/types/my-allocations-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MyAllocationsResponseResultInner
 */
interface MyAllocationsResponseResultInner {
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseResultInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyAllocationsResponseResultInner
   */
  allocationId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseResultInner
   */
  allocationType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyAllocationsResponseResultInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MyAllocationsResponseResultInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseResultInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseResultInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseResultInner
   */
  quoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseResultInner
   */
  commission?: string;
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponseResultInner
   */
  commissionAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyAllocationsResponseResultInner
   */
  time?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof MyAllocationsResponseResultInner
   */
  isBuyer?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof MyAllocationsResponseResultInner
   */
  isMaker?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof MyAllocationsResponseResultInner
   */
  isAllocator?: boolean;
}
//#endregion
//#region src/websocket-api/types/my-allocations-response.d.ts
/**
 *
 * @export
 * @interface MyAllocationsResponse
 */
interface MyAllocationsResponse {
  /**
   *
   * @type {string}
   * @memberof MyAllocationsResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyAllocationsResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<MyAllocationsResponseResultInner>}
   * @memberof MyAllocationsResponse
   */
  result?: Array<MyAllocationsResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof MyAllocationsResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/my-filters-response-result.d.ts
/**
 *
 * @export
 * @interface MyFiltersResponseResult
 */
interface MyFiltersResponseResult {
  /**
   *
   * @type {Array<ExchangeFilters>}
   * @memberof MyFiltersResponseResult
   */
  exchangeFilters?: Array<ExchangeFilters$1>;
  /**
   *
   * @type {Array<SymbolFilters>}
   * @memberof MyFiltersResponseResult
   */
  symbolFilters?: Array<SymbolFilters$1>;
  /**
   *
   * @type {Array<AssetFilters>}
   * @memberof MyFiltersResponseResult
   */
  assetFilters?: Array<AssetFilters$1>;
}
//#endregion
//#region src/websocket-api/types/my-filters-response.d.ts
/**
 *
 * @export
 * @interface MyFiltersResponse
 */
interface MyFiltersResponse {
  /**
   *
   * @type {string}
   * @memberof MyFiltersResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyFiltersResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {MyFiltersResponseResult}
   * @memberof MyFiltersResponse
   */
  result?: MyFiltersResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof MyFiltersResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/my-prevented-matches-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MyPreventedMatchesResponseResultInner
 */
interface MyPreventedMatchesResponseResultInner {
  /**
   *
   * @type {string}
   * @memberof MyPreventedMatchesResponseResultInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyPreventedMatchesResponseResultInner
   */
  preventedMatchId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MyPreventedMatchesResponseResultInner
   */
  takerOrderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof MyPreventedMatchesResponseResultInner
   */
  makerSymbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyPreventedMatchesResponseResultInner
   */
  makerOrderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MyPreventedMatchesResponseResultInner
   */
  tradeGroupId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof MyPreventedMatchesResponseResultInner
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {string}
   * @memberof MyPreventedMatchesResponseResultInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof MyPreventedMatchesResponseResultInner
   */
  makerPreventedQuantity?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyPreventedMatchesResponseResultInner
   */
  transactTime?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/my-prevented-matches-response.d.ts
/**
 *
 * @export
 * @interface MyPreventedMatchesResponse
 */
interface MyPreventedMatchesResponse {
  /**
   *
   * @type {string}
   * @memberof MyPreventedMatchesResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyPreventedMatchesResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<MyPreventedMatchesResponseResultInner>}
   * @memberof MyPreventedMatchesResponse
   */
  result?: Array<MyPreventedMatchesResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof MyPreventedMatchesResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/my-trades-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MyTradesResponseResultInner
 */
interface MyTradesResponseResultInner {
  /**
   *
   * @type {string}
   * @memberof MyTradesResponseResultInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyTradesResponseResultInner
   */
  id?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MyTradesResponseResultInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MyTradesResponseResultInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof MyTradesResponseResultInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof MyTradesResponseResultInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof MyTradesResponseResultInner
   */
  quoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof MyTradesResponseResultInner
   */
  commission?: string;
  /**
   *
   * @type {string}
   * @memberof MyTradesResponseResultInner
   */
  commissionAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyTradesResponseResultInner
   */
  time?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof MyTradesResponseResultInner
   */
  isBuyer?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof MyTradesResponseResultInner
   */
  isMaker?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof MyTradesResponseResultInner
   */
  isBestMatch?: boolean;
}
//#endregion
//#region src/websocket-api/types/my-trades-response.d.ts
/**
 *
 * @export
 * @interface MyTradesResponse
 */
interface MyTradesResponse {
  /**
   *
   * @type {string}
   * @memberof MyTradesResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MyTradesResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<MyTradesResponseResultInner>}
   * @memberof MyTradesResponse
   */
  result?: Array<MyTradesResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof MyTradesResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/open-order-lists-status-response-result-inner-orders-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OpenOrderListsStatusResponseResultInnerOrdersInner
 */
interface OpenOrderListsStatusResponseResultInnerOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OpenOrderListsStatusResponseResultInnerOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrderListsStatusResponseResultInnerOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrderListsStatusResponseResultInnerOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/websocket-api/types/open-order-lists-status-response-result-inner.d.ts
/**
 *
 * @export
 * @interface OpenOrderListsStatusResponseResultInner
 */
interface OpenOrderListsStatusResponseResultInner {
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrderListsStatusResponseResultInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrderListsStatusResponseResultInner
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrderListsStatusResponseResultInner
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrderListsStatusResponseResultInner
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrderListsStatusResponseResultInner
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrderListsStatusResponseResultInner
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrderListsStatusResponseResultInner
   */
  symbol?: string;
  /**
   *
   * @type {Array<OpenOrderListsStatusResponseResultInnerOrdersInner>}
   * @memberof OpenOrderListsStatusResponseResultInner
   */
  orders?: Array<OpenOrderListsStatusResponseResultInnerOrdersInner>;
}
//#endregion
//#region src/websocket-api/types/open-order-lists-status-response.d.ts
/**
 *
 * @export
 * @interface OpenOrderListsStatusResponse
 */
interface OpenOrderListsStatusResponse {
  /**
   *
   * @type {string}
   * @memberof OpenOrderListsStatusResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrderListsStatusResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<OpenOrderListsStatusResponseResultInner>}
   * @memberof OpenOrderListsStatusResponse
   */
  result?: Array<OpenOrderListsStatusResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OpenOrderListsStatusResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/open-orders-cancel-all-response-result-inner-order-reports-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OpenOrdersCancelAllResponseResultInnerOrderReportsInner
 */
interface OpenOrdersCancelAllResponseResultInnerOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  origClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  stopPrice?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/websocket-api/types/open-orders-cancel-all-response-result-inner-orders-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OpenOrdersCancelAllResponseResultInnerOrdersInner
 */
interface OpenOrdersCancelAllResponseResultInnerOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInnerOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/websocket-api/types/open-orders-cancel-all-response-result-inner.d.ts
/**
 *
 * @export
 * @interface OpenOrdersCancelAllResponseResultInner
 */
interface OpenOrdersCancelAllResponseResultInner {
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  origClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  stopPrice?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  trailingDelta?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  trailingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  icebergQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  strategyId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  strategyType?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {Array<OpenOrdersCancelAllResponseResultInnerOrdersInner>}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  orders?: Array<OpenOrdersCancelAllResponseResultInnerOrdersInner>;
  /**
   *
   * @type {Array<OpenOrdersCancelAllResponseResultInnerOrderReportsInner>}
   * @memberof OpenOrdersCancelAllResponseResultInner
   */
  orderReports?: Array<OpenOrdersCancelAllResponseResultInnerOrderReportsInner>;
}
//#endregion
//#region src/websocket-api/types/open-orders-cancel-all-response.d.ts
/**
 *
 * @export
 * @interface OpenOrdersCancelAllResponse
 */
interface OpenOrdersCancelAllResponse {
  /**
   *
   * @type {string}
   * @memberof OpenOrdersCancelAllResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersCancelAllResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<OpenOrdersCancelAllResponseResultInner>}
   * @memberof OpenOrdersCancelAllResponse
   */
  result?: Array<OpenOrdersCancelAllResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OpenOrdersCancelAllResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/open-orders-status-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OpenOrdersStatusResponseResultInner
 */
interface OpenOrdersStatusResponseResultInner {
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  stopPrice?: string;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  icebergQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  time?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  updateTime?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  isWorking?: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponseResultInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/websocket-api/types/open-orders-status-response.d.ts
/**
 *
 * @export
 * @interface OpenOrdersStatusResponse
 */
interface OpenOrdersStatusResponse {
  /**
   *
   * @type {string}
   * @memberof OpenOrdersStatusResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OpenOrdersStatusResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<OpenOrdersStatusResponseResultInner>}
   * @memberof OpenOrdersStatusResponse
   */
  result?: Array<OpenOrdersStatusResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OpenOrdersStatusResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-amend-keep-priority-response-result-amended-order.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseResultAmendedOrder
 */
interface OrderAmendKeepPriorityResponseResultAmendedOrder {
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  origClientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  clientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  preventedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  quoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  cumulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/websocket-api/types/order-amend-keep-priority-response-result-list-status-orders-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseResultListStatusOrdersInner
 */
interface OrderAmendKeepPriorityResponseResultListStatusOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultListStatusOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponseResultListStatusOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultListStatusOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/websocket-api/types/order-amend-keep-priority-response-result-list-status.d.ts
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseResultListStatus
 */
interface OrderAmendKeepPriorityResponseResultListStatus {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponseResultListStatus
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultListStatus
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultListStatus
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultListStatus
   */
  listClientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponseResultListStatus
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderAmendKeepPriorityResponseResultListStatusOrdersInner>}
   * @memberof OrderAmendKeepPriorityResponseResultListStatus
   */
  orders?: Array<OrderAmendKeepPriorityResponseResultListStatusOrdersInner>;
}
//#endregion
//#region src/websocket-api/types/order-amend-keep-priority-response-result.d.ts
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseResult
 */
interface OrderAmendKeepPriorityResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponseResult
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponseResult
   */
  executionId?: number | bigint;
  /**
   *
   * @type {OrderAmendKeepPriorityResponseResultAmendedOrder}
   * @memberof OrderAmendKeepPriorityResponseResult
   */
  amendedOrder?: OrderAmendKeepPriorityResponseResultAmendedOrder;
  /**
   *
   * @type {OrderAmendKeepPriorityResponseResultListStatus}
   * @memberof OrderAmendKeepPriorityResponseResult
   */
  listStatus?: OrderAmendKeepPriorityResponseResultListStatus;
}
//#endregion
//#region src/websocket-api/types/order-amend-keep-priority-response.d.ts
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponse
 */
interface OrderAmendKeepPriorityResponse {
  /**
   *
   * @type {string}
   * @memberof OrderAmendKeepPriorityResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendKeepPriorityResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderAmendKeepPriorityResponseResult}
   * @memberof OrderAmendKeepPriorityResponse
   */
  result?: OrderAmendKeepPriorityResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderAmendKeepPriorityResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-amendments-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderAmendmentsResponseResultInner
 */
interface OrderAmendmentsResponseResultInner {
  /**
   *
   * @type {string}
   * @memberof OrderAmendmentsResponseResultInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendmentsResponseResultInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendmentsResponseResultInner
   */
  executionId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderAmendmentsResponseResultInner
   */
  origClientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendmentsResponseResultInner
   */
  newClientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendmentsResponseResultInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderAmendmentsResponseResultInner
   */
  newQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendmentsResponseResultInner
   */
  time?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/order-amendments-response.d.ts
/**
 *
 * @export
 * @interface OrderAmendmentsResponse
 */
interface OrderAmendmentsResponse {
  /**
   *
   * @type {string}
   * @memberof OrderAmendmentsResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderAmendmentsResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<OrderAmendmentsResponseResultInner>}
   * @memberof OrderAmendmentsResponse
   */
  result?: Array<OrderAmendmentsResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderAmendmentsResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-cancel-replace-response-result-cancel-response.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderCancelReplaceResponseResultCancelResponse
 */
interface OrderCancelReplaceResponseResultCancelResponse {
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  origClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultCancelResponse
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/websocket-api/types/order-cancel-replace-response-result-new-order-response.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderCancelReplaceResponseResultNewOrderResponse
 */
interface OrderCancelReplaceResponseResultNewOrderResponse {
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResultNewOrderResponse
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/websocket-api/types/order-cancel-replace-response-result.d.ts
/**
 *
 * @export
 * @interface OrderCancelReplaceResponseResult
 */
interface OrderCancelReplaceResponseResult {
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResult
   */
  cancelResult?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponseResult
   */
  newOrderResult?: string;
  /**
   *
   * @type {OrderCancelReplaceResponseResultCancelResponse}
   * @memberof OrderCancelReplaceResponseResult
   */
  cancelResponse?: OrderCancelReplaceResponseResultCancelResponse;
  /**
   *
   * @type {OrderCancelReplaceResponseResultNewOrderResponse}
   * @memberof OrderCancelReplaceResponseResult
   */
  newOrderResponse?: OrderCancelReplaceResponseResultNewOrderResponse;
}
//#endregion
//#region src/websocket-api/types/order-cancel-replace-response.d.ts
/**
 *
 * @export
 * @interface OrderCancelReplaceResponse
 */
interface OrderCancelReplaceResponse {
  /**
   *
   * @type {string}
   * @memberof OrderCancelReplaceResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelReplaceResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderCancelReplaceResponseResult}
   * @memberof OrderCancelReplaceResponse
   */
  result?: OrderCancelReplaceResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderCancelReplaceResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-cancel-response-result.d.ts
/**
 *
 * @export
 * @interface OrderCancelResponseResult
 */
interface OrderCancelResponseResult {
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  origClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelResponseResult
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelResponseResult
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelResponseResult
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  stopPrice?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelResponseResult
   */
  trailingDelta?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  icebergQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelResponseResult
   */
  strategyId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelResponseResult
   */
  strategyType?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponseResult
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelResponseResult
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {Array<OpenOrdersCancelAllResponseResultInnerOrdersInner>}
   * @memberof OrderCancelResponseResult
   */
  orders?: Array<OpenOrdersCancelAllResponseResultInnerOrdersInner>;
  /**
   *
   * @type {Array<OpenOrdersCancelAllResponseResultInnerOrderReportsInner>}
   * @memberof OrderCancelResponseResult
   */
  orderReports?: Array<OpenOrdersCancelAllResponseResultInnerOrderReportsInner>;
}
//#endregion
//#region src/websocket-api/types/order-cancel-response.d.ts
/**
 *
 * @export
 * @interface OrderCancelResponse
 */
interface OrderCancelResponse {
  /**
   *
   * @type {string}
   * @memberof OrderCancelResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderCancelResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderCancelResponseResult}
   * @memberof OrderCancelResponse
   */
  result?: OrderCancelResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderCancelResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-list-cancel-response-result-order-reports-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListCancelResponseResultOrderReportsInner
 */
interface OrderListCancelResponseResultOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  stopPrice?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResultOrderReportsInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/websocket-api/types/order-list-cancel-response-result.d.ts
/**
 *
 * @export
 * @interface OrderListCancelResponseResult
 */
interface OrderListCancelResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListCancelResponseResult
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResult
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResult
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResult
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResult
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListCancelResponseResult
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListCancelResponseResultOrdersInner>}
   * @memberof OrderListCancelResponseResult
   */
  orders?: Array<OrderListCancelResponseResultOrdersInner>;
  /**
   *
   * @type {Array<OrderListCancelResponseResultOrderReportsInner>}
   * @memberof OrderListCancelResponseResult
   */
  orderReports?: Array<OrderListCancelResponseResultOrderReportsInner>;
}
//#endregion
//#region src/websocket-api/types/order-list-cancel-response.d.ts
/**
 *
 * @export
 * @interface OrderListCancelResponse
 */
interface OrderListCancelResponse {
  /**
   *
   * @type {string}
   * @memberof OrderListCancelResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListCancelResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderListCancelResponseResult}
   * @memberof OrderListCancelResponse
   */
  result?: OrderListCancelResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderListCancelResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-list-place-oco-response-result-order-reports-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOcoResponseResultOrderReportsInner
 */
interface OrderListPlaceOcoResponseResultOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  stopPrice?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/websocket-api/types/order-list-place-oco-response-result-orders-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOcoResponseResultOrdersInner
 */
interface OrderListPlaceOcoResponseResultOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOcoResponseResultOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResultOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/websocket-api/types/order-list-place-oco-response-result.d.ts
/**
 *
 * @export
 * @interface OrderListPlaceOcoResponseResult
 */
interface OrderListPlaceOcoResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOcoResponseResult
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResult
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResult
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResult
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResult
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOcoResponseResult
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListPlaceOcoResponseResultOrdersInner>}
   * @memberof OrderListPlaceOcoResponseResult
   */
  orders?: Array<OrderListPlaceOcoResponseResultOrdersInner>;
  /**
   *
   * @type {Array<OrderListPlaceOcoResponseResultOrderReportsInner>}
   * @memberof OrderListPlaceOcoResponseResult
   */
  orderReports?: Array<OrderListPlaceOcoResponseResultOrderReportsInner>;
}
//#endregion
//#region src/websocket-api/types/order-list-place-oco-response.d.ts
/**
 *
 * @export
 * @interface OrderListPlaceOcoResponse
 */
interface OrderListPlaceOcoResponse {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOcoResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOcoResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderListPlaceOcoResponseResult}
   * @memberof OrderListPlaceOcoResponse
   */
  result?: OrderListPlaceOcoResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderListPlaceOcoResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-list-place-opo-response-result-order-reports-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOpoResponseResultOrderReportsInner
 */
interface OrderListPlaceOpoResponseResultOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrderReportsInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/websocket-api/types/order-list-place-opo-response-result-orders-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOpoResponseResultOrdersInner
 */
interface OrderListPlaceOpoResponseResultOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpoResponseResultOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResultOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/websocket-api/types/order-list-place-opo-response-result.d.ts
/**
 *
 * @export
 * @interface OrderListPlaceOpoResponseResult
 */
interface OrderListPlaceOpoResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpoResponseResult
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResult
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResult
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResult
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResult
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpoResponseResult
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListPlaceOpoResponseResultOrdersInner>}
   * @memberof OrderListPlaceOpoResponseResult
   */
  orders?: Array<OrderListPlaceOpoResponseResultOrdersInner>;
  /**
   *
   * @type {Array<OrderListPlaceOpoResponseResultOrderReportsInner>}
   * @memberof OrderListPlaceOpoResponseResult
   */
  orderReports?: Array<OrderListPlaceOpoResponseResultOrderReportsInner>;
}
//#endregion
//#region src/websocket-api/types/order-list-place-opo-response.d.ts
/**
 *
 * @export
 * @interface OrderListPlaceOpoResponse
 */
interface OrderListPlaceOpoResponse {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpoResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpoResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderListPlaceOpoResponseResult}
   * @memberof OrderListPlaceOpoResponse
   */
  result?: OrderListPlaceOpoResponseResult;
}
//#endregion
//#region src/websocket-api/types/order-list-place-opoco-response-result-order-reports-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOpocoResponseResultOrderReportsInner
 */
interface OrderListPlaceOpocoResponseResultOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrderReportsInner
   */
  stopPrice?: string;
}
//#endregion
//#region src/websocket-api/types/order-list-place-opoco-response-result-orders-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOpocoResponseResultOrdersInner
 */
interface OrderListPlaceOpocoResponseResultOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpocoResponseResultOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResultOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/websocket-api/types/order-list-place-opoco-response-result.d.ts
/**
 *
 * @export
 * @interface OrderListPlaceOpocoResponseResult
 */
interface OrderListPlaceOpocoResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpocoResponseResult
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResult
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResult
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResult
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResult
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpocoResponseResult
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListPlaceOpocoResponseResultOrdersInner>}
   * @memberof OrderListPlaceOpocoResponseResult
   */
  orders?: Array<OrderListPlaceOpocoResponseResultOrdersInner>;
  /**
   *
   * @type {Array<OrderListPlaceOpocoResponseResultOrderReportsInner>}
   * @memberof OrderListPlaceOpocoResponseResult
   */
  orderReports?: Array<OrderListPlaceOpocoResponseResultOrderReportsInner>;
}
//#endregion
//#region src/websocket-api/types/order-list-place-opoco-response.d.ts
/**
 *
 * @export
 * @interface OrderListPlaceOpocoResponse
 */
interface OrderListPlaceOpocoResponse {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOpocoResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOpocoResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderListPlaceOpocoResponseResult}
   * @memberof OrderListPlaceOpocoResponse
   */
  result?: OrderListPlaceOpocoResponseResult;
}
//#endregion
//#region src/websocket-api/types/order-list-place-oto-response-result-order-reports-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOtoResponseResultOrderReportsInner
 */
interface OrderListPlaceOtoResponseResultOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/websocket-api/types/order-list-place-oto-response-result-orders-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOtoResponseResultOrdersInner
 */
interface OrderListPlaceOtoResponseResultOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtoResponseResultOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResultOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/websocket-api/types/order-list-place-oto-response-result.d.ts
/**
 *
 * @export
 * @interface OrderListPlaceOtoResponseResult
 */
interface OrderListPlaceOtoResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtoResponseResult
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResult
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResult
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResult
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResult
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtoResponseResult
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListPlaceOtoResponseResultOrdersInner>}
   * @memberof OrderListPlaceOtoResponseResult
   */
  orders?: Array<OrderListPlaceOtoResponseResultOrdersInner>;
  /**
   *
   * @type {Array<OrderListPlaceOtoResponseResultOrderReportsInner>}
   * @memberof OrderListPlaceOtoResponseResult
   */
  orderReports?: Array<OrderListPlaceOtoResponseResultOrderReportsInner>;
}
//#endregion
//#region src/websocket-api/types/order-list-place-oto-response.d.ts
/**
 *
 * @export
 * @interface OrderListPlaceOtoResponse
 */
interface OrderListPlaceOtoResponse {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtoResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtoResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderListPlaceOtoResponseResult}
   * @memberof OrderListPlaceOtoResponse
   */
  result?: OrderListPlaceOtoResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderListPlaceOtoResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-list-place-otoco-response-result-order-reports-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOtocoResponseResultOrderReportsInner
 */
interface OrderListPlaceOtocoResponseResultOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
   */
  stopPrice?: string;
}
//#endregion
//#region src/websocket-api/types/order-list-place-otoco-response-result-orders-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOtocoResponseResultOrdersInner
 */
interface OrderListPlaceOtocoResponseResultOrdersInner {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrdersInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtocoResponseResultOrdersInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResultOrdersInner
   */
  clientOrderId?: string;
}
//#endregion
//#region src/websocket-api/types/order-list-place-otoco-response-result.d.ts
/**
 *
 * @export
 * @interface OrderListPlaceOtocoResponseResult
 */
interface OrderListPlaceOtocoResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtocoResponseResult
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResult
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResult
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResult
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResult
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtocoResponseResult
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListPlaceOtocoResponseResultOrdersInner>}
   * @memberof OrderListPlaceOtocoResponseResult
   */
  orders?: Array<OrderListPlaceOtocoResponseResultOrdersInner>;
  /**
   *
   * @type {Array<OrderListPlaceOtocoResponseResultOrderReportsInner>}
   * @memberof OrderListPlaceOtocoResponseResult
   */
  orderReports?: Array<OrderListPlaceOtocoResponseResultOrderReportsInner>;
}
//#endregion
//#region src/websocket-api/types/order-list-place-otoco-response.d.ts
/**
 *
 * @export
 * @interface OrderListPlaceOtocoResponse
 */
interface OrderListPlaceOtocoResponse {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceOtocoResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceOtocoResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderListPlaceOtocoResponseResult}
   * @memberof OrderListPlaceOtocoResponse
   */
  result?: OrderListPlaceOtocoResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderListPlaceOtocoResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-list-place-response-result-order-reports-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceResponseResultOrderReportsInner
 */
interface OrderListPlaceResponseResultOrderReportsInner {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  stopPrice?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResultOrderReportsInner
   */
  selfTradePreventionMode?: string;
}
//#endregion
//#region src/websocket-api/types/order-list-place-response-result.d.ts
/**
 *
 * @export
 * @interface OrderListPlaceResponseResult
 */
interface OrderListPlaceResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceResponseResult
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResult
   */
  contingencyType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResult
   */
  listStatusType?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResult
   */
  listOrderStatus?: string;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResult
   */
  listClientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceResponseResult
   */
  transactionTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {Array<OrderListCancelResponseResultOrdersInner>}
   * @memberof OrderListPlaceResponseResult
   */
  orders?: Array<OrderListCancelResponseResultOrdersInner>;
  /**
   *
   * @type {Array<OrderListPlaceResponseResultOrderReportsInner>}
   * @memberof OrderListPlaceResponseResult
   */
  orderReports?: Array<OrderListPlaceResponseResultOrderReportsInner>;
}
//#endregion
//#region src/websocket-api/types/order-list-place-response.d.ts
/**
 *
 * @export
 * @interface OrderListPlaceResponse
 */
interface OrderListPlaceResponse {
  /**
   *
   * @type {string}
   * @memberof OrderListPlaceResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListPlaceResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderListPlaceResponseResult}
   * @memberof OrderListPlaceResponse
   */
  result?: OrderListPlaceResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderListPlaceResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-list-status-response.d.ts
/**
 *
 * @export
 * @interface OrderListStatusResponse
 */
interface OrderListStatusResponse {
  /**
   *
   * @type {string}
   * @memberof OrderListStatusResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderListStatusResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {AllOrderListsResponseResultInner}
   * @memberof OrderListStatusResponse
   */
  result?: AllOrderListsResponseResultInner;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderListStatusResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-place-response-result-fills-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderPlaceResponseResultFillsInner
 */
interface OrderPlaceResponseResultFillsInner {
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResultFillsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResultFillsInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResultFillsInner
   */
  commission?: string;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResultFillsInner
   */
  commissionAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderPlaceResponseResultFillsInner
   */
  tradeId?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/order-place-response-result.d.ts
/**
 *
 * @export
 * @interface OrderPlaceResponseResult
 */
interface OrderPlaceResponseResult {
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderPlaceResponseResult
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderPlaceResponseResult
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResult
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderPlaceResponseResult
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResult
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResult
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResult
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResult
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResult
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResult
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResult
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResult
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResult
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderPlaceResponseResult
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponseResult
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {Array<OrderPlaceResponseResultFillsInner>}
   * @memberof OrderPlaceResponseResult
   */
  fills?: Array<OrderPlaceResponseResultFillsInner>;
}
//#endregion
//#region src/websocket-api/types/order-place-response.d.ts
/**
 *
 * @export
 * @interface OrderPlaceResponse
 */
interface OrderPlaceResponse {
  /**
   *
   * @type {string}
   * @memberof OrderPlaceResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderPlaceResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderPlaceResponseResult}
   * @memberof OrderPlaceResponse
   */
  result?: OrderPlaceResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderPlaceResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-status-response-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderStatusResponseResult
 */
interface OrderStatusResponseResult {
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderStatusResponseResult
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderStatusResponseResult
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  clientOrderId?: string;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  side?: string;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  stopPrice?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderStatusResponseResult
   */
  trailingDelta?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderStatusResponseResult
   */
  trailingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  icebergQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderStatusResponseResult
   */
  time?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderStatusResponseResult
   */
  updateTime?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof OrderStatusResponseResult
   */
  isWorking?: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderStatusResponseResult
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderStatusResponseResult
   */
  strategyId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderStatusResponseResult
   */
  strategyType?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderStatusResponseResult
   */
  preventedMatchId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponseResult
   */
  preventedQuantity?: string;
}
//#endregion
//#region src/websocket-api/types/order-status-response.d.ts
/**
 *
 * @export
 * @interface OrderStatusResponse
 */
interface OrderStatusResponse {
  /**
   *
   * @type {string}
   * @memberof OrderStatusResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderStatusResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderStatusResponseResult}
   * @memberof OrderStatusResponse
   */
  result?: OrderStatusResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderStatusResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/order-test-response-result-discount.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderTestResponseResultDiscount
 */
interface OrderTestResponseResultDiscount {
  /**
   *
   * @type {boolean}
   * @memberof OrderTestResponseResultDiscount
   */
  enabledForAccount?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof OrderTestResponseResultDiscount
   */
  enabledForSymbol?: boolean;
  /**
   *
   * @type {string}
   * @memberof OrderTestResponseResultDiscount
   */
  discountAsset?: string;
  /**
   *
   * @type {string}
   * @memberof OrderTestResponseResultDiscount
   */
  discount?: string;
}
//#endregion
//#region src/websocket-api/types/order-test-response-result-special-commission-for-order.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderTestResponseResultSpecialCommissionForOrder
 */
interface OrderTestResponseResultSpecialCommissionForOrder {
  /**
   *
   * @type {string}
   * @memberof OrderTestResponseResultSpecialCommissionForOrder
   */
  maker?: string;
  /**
   *
   * @type {string}
   * @memberof OrderTestResponseResultSpecialCommissionForOrder
   */
  taker?: string;
}
//#endregion
//#region src/websocket-api/types/order-test-response-result-standard-commission-for-order.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderTestResponseResultStandardCommissionForOrder
 */
interface OrderTestResponseResultStandardCommissionForOrder {
  /**
   *
   * @type {string}
   * @memberof OrderTestResponseResultStandardCommissionForOrder
   */
  maker?: string;
  /**
   *
   * @type {string}
   * @memberof OrderTestResponseResultStandardCommissionForOrder
   */
  taker?: string;
}
//#endregion
//#region src/websocket-api/types/order-test-response-result.d.ts
/**
 *
 * @export
 * @interface OrderTestResponseResult
 */
interface OrderTestResponseResult {
  /**
   *
   * @type {OrderTestResponseResultStandardCommissionForOrder}
   * @memberof OrderTestResponseResult
   */
  standardCommissionForOrder?: OrderTestResponseResultStandardCommissionForOrder;
  /**
   *
   * @type {OrderTestResponseResultSpecialCommissionForOrder}
   * @memberof OrderTestResponseResult
   */
  specialCommissionForOrder?: OrderTestResponseResultSpecialCommissionForOrder;
  /**
   *
   * @type {OrderTestResponseResultStandardCommissionForOrder}
   * @memberof OrderTestResponseResult
   */
  taxCommissionForOrder?: OrderTestResponseResultStandardCommissionForOrder;
  /**
   *
   * @type {OrderTestResponseResultDiscount}
   * @memberof OrderTestResponseResult
   */
  discount?: OrderTestResponseResultDiscount;
}
//#endregion
//#region src/websocket-api/types/order-test-response.d.ts
/**
 *
 * @export
 * @interface OrderTestResponse
 */
interface OrderTestResponse {
  /**
   *
   * @type {string}
   * @memberof OrderTestResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OrderTestResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {OrderTestResponseResult}
   * @memberof OrderTestResponse
   */
  result?: OrderTestResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof OrderTestResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/outbound-account-position-binner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OutboundAccountPositionBInner
 */
interface OutboundAccountPositionBInner {
  /**
   *
   * @type {string}
   * @memberof OutboundAccountPositionBInner
   */
  a?: string;
  /**
   *
   * @type {string}
   * @memberof OutboundAccountPositionBInner
   */
  f?: string;
  /**
   *
   * @type {string}
   * @memberof OutboundAccountPositionBInner
   */
  l?: string;
}
//#endregion
//#region src/websocket-api/types/outbound-account-position.d.ts
/**
 *
 * @export
 * @interface OutboundAccountPosition
 */
interface OutboundAccountPosition {
  /**
   *
   * @type {number | bigint}
   * @memberof OutboundAccountPosition
   */
  E?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OutboundAccountPosition
   */
  u?: number | bigint;
  /**
   *
   * @type {Array<OutboundAccountPositionBInner>}
   * @memberof OutboundAccountPosition
   */
  B?: Array<OutboundAccountPositionBInner>;
}
//#endregion
//#region src/websocket-api/types/ping-response.d.ts
/**
 *
 * @export
 * @interface PingResponse
 */
interface PingResponse {
  /**
   *
   * @type {string}
   * @memberof PingResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof PingResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {object}
   * @memberof PingResponse
   */
  result?: object;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof PingResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/reference-price-calculation-response-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ReferencePriceCalculationResponseResult
 */
interface ReferencePriceCalculationResponseResult {
  /**
   *
   * @type {string}
   * @memberof ReferencePriceCalculationResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof ReferencePriceCalculationResponseResult
   */
  calculationType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ReferencePriceCalculationResponseResult
   */
  bucketCount?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ReferencePriceCalculationResponseResult
   */
  bucketWidthMs?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ReferencePriceCalculationResponseResult
   */
  externalCalculationId?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/reference-price-calculation-response.d.ts
/**
 *
 * @export
 * @interface ReferencePriceCalculationResponse
 */
interface ReferencePriceCalculationResponse {
  /**
   *
   * @type {string}
   * @memberof ReferencePriceCalculationResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ReferencePriceCalculationResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {ReferencePriceCalculationResponseResult}
   * @memberof ReferencePriceCalculationResponse
   */
  result?: ReferencePriceCalculationResponseResult;
}
//#endregion
//#region src/websocket-api/types/reference-price-response-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ReferencePriceResponseResult
 */
interface ReferencePriceResponseResult {
  /**
   *
   * @type {string}
   * @memberof ReferencePriceResponseResult
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof ReferencePriceResponseResult
   */
  referencePrice?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ReferencePriceResponseResult
   */
  timestamp?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof ReferencePriceResponseResult
   */
  code?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof ReferencePriceResponseResult
   */
  msg?: string;
}
//#endregion
//#region src/websocket-api/types/reference-price-response.d.ts
/**
 *
 * @export
 * @interface ReferencePriceResponse
 */
interface ReferencePriceResponse$1 {
  /**
   *
   * @type {string}
   * @memberof ReferencePriceResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ReferencePriceResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {ReferencePriceResponseResult}
   * @memberof ReferencePriceResponse
   */
  result?: ReferencePriceResponseResult;
}
//#endregion
//#region src/websocket-api/types/session-logon-response-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SessionLogonResponseResult
 */
interface SessionLogonResponseResult {
  /**
   *
   * @type {string}
   * @memberof SessionLogonResponseResult
   */
  apiKey?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionLogonResponseResult
   */
  authorizedSince?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionLogonResponseResult
   */
  connectedSince?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof SessionLogonResponseResult
   */
  returnRateLimits?: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionLogonResponseResult
   */
  serverTime?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof SessionLogonResponseResult
   */
  userDataStream?: boolean;
}
//#endregion
//#region src/websocket-api/types/session-logon-response.d.ts
/**
 *
 * @export
 * @interface SessionLogonResponse
 */
interface SessionLogonResponse {
  /**
   *
   * @type {string}
   * @memberof SessionLogonResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionLogonResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {SessionLogonResponseResult}
   * @memberof SessionLogonResponse
   */
  result?: SessionLogonResponseResult;
}
//#endregion
//#region src/websocket-api/types/session-logout-response-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SessionLogoutResponseResult
 */
interface SessionLogoutResponseResult {
  /**
   *
   * @type {string}
   * @memberof SessionLogoutResponseResult
   */
  apiKey?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionLogoutResponseResult
   */
  authorizedSince?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionLogoutResponseResult
   */
  connectedSince?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof SessionLogoutResponseResult
   */
  returnRateLimits?: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionLogoutResponseResult
   */
  serverTime?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof SessionLogoutResponseResult
   */
  userDataStream?: boolean;
}
//#endregion
//#region src/websocket-api/types/session-logout-response.d.ts
/**
 *
 * @export
 * @interface SessionLogoutResponse
 */
interface SessionLogoutResponse {
  /**
   *
   * @type {string}
   * @memberof SessionLogoutResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionLogoutResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {SessionLogoutResponseResult}
   * @memberof SessionLogoutResponse
   */
  result?: SessionLogoutResponseResult;
}
//#endregion
//#region src/websocket-api/types/session-status-response-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SessionStatusResponseResult
 */
interface SessionStatusResponseResult {
  /**
   *
   * @type {string}
   * @memberof SessionStatusResponseResult
   */
  apiKey?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionStatusResponseResult
   */
  authorizedSince?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionStatusResponseResult
   */
  connectedSince?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof SessionStatusResponseResult
   */
  returnRateLimits?: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionStatusResponseResult
   */
  serverTime?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof SessionStatusResponseResult
   */
  userDataStream?: boolean;
}
//#endregion
//#region src/websocket-api/types/session-status-response.d.ts
/**
 *
 * @export
 * @interface SessionStatusResponse
 */
interface SessionStatusResponse {
  /**
   *
   * @type {string}
   * @memberof SessionStatusResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionStatusResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {SessionStatusResponseResult}
   * @memberof SessionStatusResponse
   */
  result?: SessionStatusResponseResult;
}
//#endregion
//#region src/websocket-api/types/session-subscriptions-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SessionSubscriptionsResponseResultInner
 */
interface SessionSubscriptionsResponseResultInner {
  /**
   *
   * @type {number | bigint}
   * @memberof SessionSubscriptionsResponseResultInner
   */
  subscriptionId?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/session-subscriptions-response.d.ts
/**
 *
 * @export
 * @interface SessionSubscriptionsResponse
 */
interface SessionSubscriptionsResponse {
  /**
   *
   * @type {string}
   * @memberof SessionSubscriptionsResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SessionSubscriptionsResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<SessionSubscriptionsResponseResultInner>}
   * @memberof SessionSubscriptionsResponse
   */
  result?: Array<SessionSubscriptionsResponseResultInner>;
}
//#endregion
//#region src/websocket-api/types/sor-order-place-response-result-inner-fills-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SorOrderPlaceResponseResultInnerFillsInner
 */
interface SorOrderPlaceResponseResultInnerFillsInner {
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInnerFillsInner
   */
  matchType?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInnerFillsInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInnerFillsInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInnerFillsInner
   */
  commission?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInnerFillsInner
   */
  commissionAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderPlaceResponseResultInnerFillsInner
   */
  tradeId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderPlaceResponseResultInnerFillsInner
   */
  allocId?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/sor-order-place-response-result-inner.d.ts
/**
 *
 * @export
 * @interface SorOrderPlaceResponseResultInner
 */
interface SorOrderPlaceResponseResultInner {
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  symbol?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderPlaceResponseResultInner
   */
  orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderPlaceResponseResultInner
   */
  orderListId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  clientOrderId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderPlaceResponseResultInner
   */
  transactTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  origQty?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  executedQty?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  origQuoteOrderQty?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  cummulativeQuoteQty?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  status?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  timeInForce?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  side?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderPlaceResponseResultInner
   */
  workingTime?: number | bigint;
  /**
   *
   * @type {Array<SorOrderPlaceResponseResultInnerFillsInner>}
   * @memberof SorOrderPlaceResponseResultInner
   */
  fills?: Array<SorOrderPlaceResponseResultInnerFillsInner>;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  workingFloor?: string;
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponseResultInner
   */
  selfTradePreventionMode?: string;
  /**
   *
   * @type {boolean}
   * @memberof SorOrderPlaceResponseResultInner
   */
  usedSor?: boolean;
}
//#endregion
//#region src/websocket-api/types/sor-order-place-response.d.ts
/**
 *
 * @export
 * @interface SorOrderPlaceResponse
 */
interface SorOrderPlaceResponse {
  /**
   *
   * @type {string}
   * @memberof SorOrderPlaceResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderPlaceResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<SorOrderPlaceResponseResultInner>}
   * @memberof SorOrderPlaceResponse
   */
  result?: Array<SorOrderPlaceResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof SorOrderPlaceResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/sor-order-test-response-result.d.ts
/**
 *
 * @export
 * @interface SorOrderTestResponseResult
 */
interface SorOrderTestResponseResult {
  /**
   *
   * @type {OrderTestResponseResultStandardCommissionForOrder}
   * @memberof SorOrderTestResponseResult
   */
  standardCommissionForOrder?: OrderTestResponseResultStandardCommissionForOrder;
  /**
   *
   * @type {OrderTestResponseResultStandardCommissionForOrder}
   * @memberof SorOrderTestResponseResult
   */
  taxCommissionForOrder?: OrderTestResponseResultStandardCommissionForOrder;
  /**
   *
   * @type {OrderTestResponseResultDiscount}
   * @memberof SorOrderTestResponseResult
   */
  discount?: OrderTestResponseResultDiscount;
}
//#endregion
//#region src/websocket-api/types/sor-order-test-response.d.ts
/**
 *
 * @export
 * @interface SorOrderTestResponse
 */
interface SorOrderTestResponse {
  /**
   *
   * @type {string}
   * @memberof SorOrderTestResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SorOrderTestResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {SorOrderTestResponseResult}
   * @memberof SorOrderTestResponse
   */
  result?: SorOrderTestResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof SorOrderTestResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/ticker24hr-response1-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface Ticker24hrResponse1Result
 */
interface Ticker24hrResponse1Result {
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  priceChange?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  priceChangePercent?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  weightedAvgPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  prevClosePrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  lastPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  lastQty?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  bidPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  bidQty?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  askPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  askQty?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  openPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  highPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  lowPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  volume?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1Result
   */
  quoteVolume?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse1Result
   */
  openTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse1Result
   */
  closeTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse1Result
   */
  firstId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse1Result
   */
  lastId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse1Result
   */
  count?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/ticker24hr-response1.d.ts
/**
 *
 * @export
 * @interface Ticker24hrResponse1
 */
interface Ticker24hrResponse1 {
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse1
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse1
   */
  status?: number | bigint;
  /**
   *
   * @type {Ticker24hrResponse1Result}
   * @memberof Ticker24hrResponse1
   */
  result?: Ticker24hrResponse1Result;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof Ticker24hrResponse1
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/ticker24hr-response2-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface Ticker24hrResponse2ResultInner
 */
interface Ticker24hrResponse2ResultInner {
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  priceChange?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  priceChangePercent?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  weightedAvgPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  prevClosePrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  lastPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  lastQty?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  bidPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  bidQty?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  askPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  askQty?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  openPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  highPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  lowPrice?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  volume?: string;
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2ResultInner
   */
  quoteVolume?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse2ResultInner
   */
  openTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse2ResultInner
   */
  closeTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse2ResultInner
   */
  firstId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse2ResultInner
   */
  lastId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse2ResultInner
   */
  count?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/ticker24hr-response2.d.ts
/**
 *
 * @export
 * @interface Ticker24hrResponse2
 */
interface Ticker24hrResponse2 {
  /**
   *
   * @type {string}
   * @memberof Ticker24hrResponse2
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof Ticker24hrResponse2
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<Ticker24hrResponse2ResultInner>}
   * @memberof Ticker24hrResponse2
   */
  result?: Array<Ticker24hrResponse2ResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof Ticker24hrResponse2
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/ticker24hr-response.d.ts
/**
 * @type Ticker24hrResponse
 * @export
 */
type Ticker24hrResponse = Ticker24hrResponse1 | Ticker24hrResponse2;
//#endregion
//#region src/websocket-api/types/ticker-book-response1-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerBookResponse1Result
 */
interface TickerBookResponse1Result {
  /**
   *
   * @type {string}
   * @memberof TickerBookResponse1Result
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookResponse1Result
   */
  bidPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookResponse1Result
   */
  bidQty?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookResponse1Result
   */
  askPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookResponse1Result
   */
  askQty?: string;
}
//#endregion
//#region src/websocket-api/types/ticker-book-response1.d.ts
/**
 *
 * @export
 * @interface TickerBookResponse1
 */
interface TickerBookResponse1 {
  /**
   *
   * @type {string}
   * @memberof TickerBookResponse1
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerBookResponse1
   */
  status?: number | bigint;
  /**
   *
   * @type {TickerBookResponse1Result}
   * @memberof TickerBookResponse1
   */
  result?: TickerBookResponse1Result;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof TickerBookResponse1
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/ticker-book-response2-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerBookResponse2ResultInner
 */
interface TickerBookResponse2ResultInner {
  /**
   *
   * @type {string}
   * @memberof TickerBookResponse2ResultInner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookResponse2ResultInner
   */
  bidPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookResponse2ResultInner
   */
  bidQty?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookResponse2ResultInner
   */
  askPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerBookResponse2ResultInner
   */
  askQty?: string;
}
//#endregion
//#region src/websocket-api/types/ticker-book-response2.d.ts
/**
 *
 * @export
 * @interface TickerBookResponse2
 */
interface TickerBookResponse2 {
  /**
   *
   * @type {string}
   * @memberof TickerBookResponse2
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerBookResponse2
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<TickerBookResponse2ResultInner>}
   * @memberof TickerBookResponse2
   */
  result?: Array<TickerBookResponse2ResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof TickerBookResponse2
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/ticker-book-response.d.ts
/**
 * @type TickerBookResponse
 * @export
 */
type TickerBookResponse = TickerBookResponse1 | TickerBookResponse2;
//#endregion
//#region src/websocket-api/types/ticker-price-response1-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerPriceResponse1Result
 */
interface TickerPriceResponse1Result {
  /**
   *
   * @type {string}
   * @memberof TickerPriceResponse1Result
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerPriceResponse1Result
   */
  price?: string;
}
//#endregion
//#region src/websocket-api/types/ticker-price-response1.d.ts
/**
 *
 * @export
 * @interface TickerPriceResponse1
 */
interface TickerPriceResponse1 {
  /**
   *
   * @type {string}
   * @memberof TickerPriceResponse1
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerPriceResponse1
   */
  status?: number | bigint;
  /**
   *
   * @type {TickerPriceResponse1Result}
   * @memberof TickerPriceResponse1
   */
  result?: TickerPriceResponse1Result;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof TickerPriceResponse1
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/ticker-price-response2-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerPriceResponse2ResultInner
 */
interface TickerPriceResponse2ResultInner {
  /**
   *
   * @type {string}
   * @memberof TickerPriceResponse2ResultInner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerPriceResponse2ResultInner
   */
  price?: string;
}
//#endregion
//#region src/websocket-api/types/ticker-price-response2.d.ts
/**
 *
 * @export
 * @interface TickerPriceResponse2
 */
interface TickerPriceResponse2 {
  /**
   *
   * @type {string}
   * @memberof TickerPriceResponse2
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerPriceResponse2
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<TickerPriceResponse2ResultInner>}
   * @memberof TickerPriceResponse2
   */
  result?: Array<TickerPriceResponse2ResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof TickerPriceResponse2
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/ticker-price-response.d.ts
/**
 * @type TickerPriceResponse
 * @export
 */
type TickerPriceResponse = TickerPriceResponse1 | TickerPriceResponse2;
//#endregion
//#region src/websocket-api/types/ticker-response1-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerResponse1Result
 */
interface TickerResponse1Result {
  /**
   *
   * @type {string}
   * @memberof TickerResponse1Result
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1Result
   */
  priceChange?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1Result
   */
  priceChangePercent?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1Result
   */
  weightedAvgPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1Result
   */
  openPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1Result
   */
  highPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1Result
   */
  lowPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1Result
   */
  lastPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1Result
   */
  volume?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse1Result
   */
  quoteVolume?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse1Result
   */
  openTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse1Result
   */
  closeTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse1Result
   */
  firstId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse1Result
   */
  lastId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse1Result
   */
  count?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/ticker-response1.d.ts
/**
 *
 * @export
 * @interface TickerResponse1
 */
interface TickerResponse1 {
  /**
   *
   * @type {string}
   * @memberof TickerResponse1
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse1
   */
  status?: number | bigint;
  /**
   *
   * @type {TickerResponse1Result}
   * @memberof TickerResponse1
   */
  result?: TickerResponse1Result;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof TickerResponse1
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/ticker-response2-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerResponse2ResultInner
 */
interface TickerResponse2ResultInner {
  /**
   *
   * @type {string}
   * @memberof TickerResponse2ResultInner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2ResultInner
   */
  priceChange?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2ResultInner
   */
  priceChangePercent?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2ResultInner
   */
  weightedAvgPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2ResultInner
   */
  openPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2ResultInner
   */
  highPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2ResultInner
   */
  lowPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2ResultInner
   */
  lastPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2ResultInner
   */
  volume?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse2ResultInner
   */
  quoteVolume?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse2ResultInner
   */
  openTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse2ResultInner
   */
  closeTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse2ResultInner
   */
  firstId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse2ResultInner
   */
  lastId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse2ResultInner
   */
  count?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/ticker-response2.d.ts
/**
 *
 * @export
 * @interface TickerResponse2
 */
interface TickerResponse2 {
  /**
   *
   * @type {string}
   * @memberof TickerResponse2
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse2
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<TickerResponse2ResultInner>}
   * @memberof TickerResponse2
   */
  result?: Array<TickerResponse2ResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof TickerResponse2
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/ticker-response.d.ts
/**
 * @type TickerResponse
 * @export
 */
type TickerResponse$1 = TickerResponse1 | TickerResponse2;
//#endregion
//#region src/websocket-api/types/ticker-trading-day-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerTradingDayResponseResultInner
 */
interface TickerTradingDayResponseResultInner {
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponseResultInner
   */
  symbol?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponseResultInner
   */
  priceChange?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponseResultInner
   */
  priceChangePercent?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponseResultInner
   */
  weightedAvgPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponseResultInner
   */
  openPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponseResultInner
   */
  highPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponseResultInner
   */
  lowPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponseResultInner
   */
  lastPrice?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponseResultInner
   */
  volume?: string;
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponseResultInner
   */
  quoteVolume?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponseResultInner
   */
  openTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponseResultInner
   */
  closeTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponseResultInner
   */
  firstId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponseResultInner
   */
  lastId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponseResultInner
   */
  count?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/ticker-trading-day-response.d.ts
/**
 *
 * @export
 * @interface TickerTradingDayResponse
 */
interface TickerTradingDayResponse {
  /**
   *
   * @type {string}
   * @memberof TickerTradingDayResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerTradingDayResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<TickerTradingDayResponseResultInner>}
   * @memberof TickerTradingDayResponse
   */
  result?: Array<TickerTradingDayResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof TickerTradingDayResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/time-response-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TimeResponseResult
 */
interface TimeResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof TimeResponseResult
   */
  serverTime?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/time-response.d.ts
/**
 *
 * @export
 * @interface TimeResponse
 */
interface TimeResponse {
  /**
   *
   * @type {string}
   * @memberof TimeResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TimeResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {TimeResponseResult}
   * @memberof TimeResponse
   */
  result?: TimeResponseResult;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof TimeResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/trades-aggregate-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TradesAggregateResponseResultInner
 */
interface TradesAggregateResponseResultInner {
  /**
   *
   * @type {number | bigint}
   * @memberof TradesAggregateResponseResultInner
   */
  a?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof TradesAggregateResponseResultInner
   */
  p?: string;
  /**
   *
   * @type {string}
   * @memberof TradesAggregateResponseResultInner
   */
  q?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradesAggregateResponseResultInner
   */
  f?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TradesAggregateResponseResultInner
   */
  l?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TradesAggregateResponseResultInner
   */
  T?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof TradesAggregateResponseResultInner
   */
  m?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof TradesAggregateResponseResultInner
   */
  M?: boolean;
}
//#endregion
//#region src/websocket-api/types/trades-aggregate-response.d.ts
/**
 *
 * @export
 * @interface TradesAggregateResponse
 */
interface TradesAggregateResponse {
  /**
   *
   * @type {string}
   * @memberof TradesAggregateResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradesAggregateResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<TradesAggregateResponseResultInner>}
   * @memberof TradesAggregateResponse
   */
  result?: Array<TradesAggregateResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof TradesAggregateResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/trades-historical-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TradesHistoricalResponseResultInner
 */
interface TradesHistoricalResponseResultInner {
  /**
   *
   * @type {number | bigint}
   * @memberof TradesHistoricalResponseResultInner
   */
  id?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof TradesHistoricalResponseResultInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof TradesHistoricalResponseResultInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof TradesHistoricalResponseResultInner
   */
  quoteQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradesHistoricalResponseResultInner
   */
  time?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof TradesHistoricalResponseResultInner
   */
  isBuyerMaker?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof TradesHistoricalResponseResultInner
   */
  isBestMatch?: boolean;
}
//#endregion
//#region src/websocket-api/types/trades-historical-response.d.ts
/**
 *
 * @export
 * @interface TradesHistoricalResponse
 */
interface TradesHistoricalResponse {
  /**
   *
   * @type {string}
   * @memberof TradesHistoricalResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradesHistoricalResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<TradesHistoricalResponseResultInner>}
   * @memberof TradesHistoricalResponse
   */
  result?: Array<TradesHistoricalResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof TradesHistoricalResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/trades-recent-response-result-inner.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TradesRecentResponseResultInner
 */
interface TradesRecentResponseResultInner {
  /**
   *
   * @type {number | bigint}
   * @memberof TradesRecentResponseResultInner
   */
  id?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof TradesRecentResponseResultInner
   */
  price?: string;
  /**
   *
   * @type {string}
   * @memberof TradesRecentResponseResultInner
   */
  qty?: string;
  /**
   *
   * @type {string}
   * @memberof TradesRecentResponseResultInner
   */
  quoteQty?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradesRecentResponseResultInner
   */
  time?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof TradesRecentResponseResultInner
   */
  isBuyerMaker?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof TradesRecentResponseResultInner
   */
  isBestMatch?: boolean;
}
//#endregion
//#region src/websocket-api/types/trades-recent-response.d.ts
/**
 *
 * @export
 * @interface TradesRecentResponse
 */
interface TradesRecentResponse {
  /**
   *
   * @type {string}
   * @memberof TradesRecentResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradesRecentResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<TradesRecentResponseResultInner>}
   * @memberof TradesRecentResponse
   */
  result?: Array<TradesRecentResponseResultInner>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof TradesRecentResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/ui-klines-item.d.ts
/**
 *
 * @export
 * @interface UiKlinesItem
 */
interface UiKlinesItem extends Array<KlinesItemInner> {}
//#endregion
//#region src/websocket-api/types/ui-klines-response.d.ts
/**
 *
 * @export
 * @interface UiKlinesResponse
 */
interface UiKlinesResponse {
  /**
   *
   * @type {string}
   * @memberof UiKlinesResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof UiKlinesResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {Array<UiKlinesItem>}
   * @memberof UiKlinesResponse
   */
  result?: Array<UiKlinesItem>;
  /**
   *
   * @type {Array<RateLimits>}
   * @memberof UiKlinesResponse
   */
  rateLimits?: Array<RateLimits$1>;
}
//#endregion
//#region src/websocket-api/types/user-data-stream-events-response.d.ts
/**
 * @type UserDataStreamEventsResponse
 * @export
 */
type UserDataStreamEventsResponse = ({
  e: 'balanceUpdate';
} & BalanceUpdate) | ({
  e: 'eventStreamTerminated';
} & EventStreamTerminated) | ({
  e: 'executionReport';
} & ExecutionReport) | ({
  e: 'externalLockUpdate';
} & ExternalLockUpdate) | ({
  e: 'listStatus';
} & ListStatus) | ({
  e: 'outboundAccountPosition';
} & OutboundAccountPosition);
//#endregion
//#region src/websocket-api/types/user-data-stream-subscribe-response-result.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface UserDataStreamSubscribeResponseResult
 */
interface UserDataStreamSubscribeResponseResult {
  /**
   *
   * @type {number | bigint}
   * @memberof UserDataStreamSubscribeResponseResult
   */
  subscriptionId?: number | bigint;
}
//#endregion
//#region src/websocket-api/types/user-data-stream-subscribe-response.d.ts
/**
 *
 * @export
 * @interface UserDataStreamSubscribeResponse
 */
interface UserDataStreamSubscribeResponse {
  /**
   *
   * @type {string}
   * @memberof UserDataStreamSubscribeResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof UserDataStreamSubscribeResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {UserDataStreamSubscribeResponseResult}
   * @memberof UserDataStreamSubscribeResponse
   */
  result?: UserDataStreamSubscribeResponseResult;
}
//#endregion
//#region src/websocket-api/types/user-data-stream-subscribe-signature-response.d.ts
/**
 *
 * @export
 * @interface UserDataStreamSubscribeSignatureResponse
 */
interface UserDataStreamSubscribeSignatureResponse {
  /**
   *
   * @type {string}
   * @memberof UserDataStreamSubscribeSignatureResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof UserDataStreamSubscribeSignatureResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {UserDataStreamSubscribeResponseResult}
   * @memberof UserDataStreamSubscribeSignatureResponse
   */
  result?: UserDataStreamSubscribeResponseResult;
}
//#endregion
//#region src/websocket-api/types/user-data-stream-unsubscribe-response.d.ts
/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface UserDataStreamUnsubscribeResponse
 */
interface UserDataStreamUnsubscribeResponse {
  /**
   *
   * @type {string}
   * @memberof UserDataStreamUnsubscribeResponse
   */
  id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof UserDataStreamUnsubscribeResponse
   */
  status?: number | bigint;
  /**
   *
   * @type {object}
   * @memberof UserDataStreamUnsubscribeResponse
   */
  result?: object;
}
//#endregion
//#region src/websocket-api/modules/account-api.d.ts
/**
 * AccountApi - interface
 *
 * @interface AccountApi
 */
interface AccountApiInterface {
  /**
   * Get current account commission rates.
   * Weight: 20
   *
   * @summary WebSocket Account Commission Rates
   * @param {AccountCommissionRequest} requestParameters Request parameters.
   *
   * @returns {Promise<AccountCommissionResponse>}
   * @memberof AccountApiInterface
   */
  accountCommission(requestParameters: AccountCommissionRequest): Promise<WebsocketApiResponse<AccountCommissionResponse>>;
  /**
   * Query your current unfilled order count for all intervals.
   * Weight: 40
   *
   * @summary WebSocket Unfilled Order Count
   * @param {AccountRateLimitsOrdersRequest} requestParameters Request parameters.
   *
   * @returns {Promise<AccountRateLimitsOrdersResponse>}
   * @memberof AccountApiInterface
   */
  accountRateLimitsOrders(requestParameters?: AccountRateLimitsOrdersRequest): Promise<WebsocketApiResponse<AccountRateLimitsOrdersResponse>>;
  /**
   * Query information about your account.
   * Weight: 20
   *
   * @summary WebSocket Account information
   * @param {AccountStatusRequest} requestParameters Request parameters.
   *
   * @returns {Promise<AccountStatusResponse>}
   * @memberof AccountApiInterface
   */
  accountStatus(requestParameters?: AccountStatusRequest): Promise<WebsocketApiResponse<AccountStatusResponse>>;
  /**
   * Query information about all your order lists, filtered by time range.
   * Weight: 20
   *
   * @summary WebSocket Account order list history
   * @param {AllOrderListsRequest} requestParameters Request parameters.
   *
   * @returns {Promise<AllOrderListsResponse>}
   * @memberof AccountApiInterface
   */
  allOrderLists(requestParameters?: AllOrderListsRequest): Promise<WebsocketApiResponse<AllOrderListsResponse>>;
  /**
   * Query information about all your orders – active, canceled, filled – filtered by time range.
   * Weight: 20
   *
   * @summary WebSocket Account order history
   * @param {AllOrdersRequest} requestParameters Request parameters.
   *
   * @returns {Promise<AllOrdersResponse>}
   * @memberof AccountApiInterface
   */
  allOrders(requestParameters: AllOrdersRequest): Promise<WebsocketApiResponse<AllOrdersResponse>>;
  /**
   * Retrieves allocations resulting from SOR order placement.
   * Weight: 20
   *
   * @summary WebSocket Account allocations
   * @param {MyAllocationsRequest} requestParameters Request parameters.
   *
   * @returns {Promise<MyAllocationsResponse>}
   * @memberof AccountApiInterface
   */
  myAllocations(requestParameters: MyAllocationsRequest): Promise<WebsocketApiResponse<MyAllocationsResponse>>;
  /**
   * Retrieves the list of [filters](filters.md) relevant to an account on a given symbol. This is the only method that shows if an account has `MAX_ASSET` filters applied to it.
   * Weight: 40
   *
   * @summary WebSocket Query Relevant Filters
   * @param {MyFiltersRequest} requestParameters Request parameters.
   *
   * @returns {Promise<MyFiltersResponse>}
   * @memberof AccountApiInterface
   */
  myFilters(requestParameters: MyFiltersRequest): Promise<WebsocketApiResponse<MyFiltersResponse>>;
  /**
   * Displays the list of orders that were expired due to STP.
   *
   * These are the combinations supported:
   *
   * `symbol` + `preventedMatchId`
   * `symbol` + `orderId`
   * `symbol` + `orderId` + `fromPreventedMatchId` (`limit` will default to 500)
   * `symbol` + `orderId` + `fromPreventedMatchId` + `limit`
   * Weight: Case                            | Weight
   * ----                            | -----
   * If `symbol` is invalid          | 2
   * Querying by `preventedMatchId`  | 2
   * Querying by `orderId`           | 20
   *
   * @summary WebSocket Account prevented matches
   * @param {MyPreventedMatchesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<MyPreventedMatchesResponse>}
   * @memberof AccountApiInterface
   */
  myPreventedMatches(requestParameters: MyPreventedMatchesRequest): Promise<WebsocketApiResponse<MyPreventedMatchesResponse>>;
  /**
   * Query information about all your trades, filtered by time range.
   * Weight: Condition| Weight|
   * ---| ---
   * |Without orderId|20|
   * |With orderId|5|
   *
   * @summary WebSocket Account trade history
   * @param {MyTradesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<MyTradesResponse>}
   * @memberof AccountApiInterface
   */
  myTrades(requestParameters: MyTradesRequest): Promise<WebsocketApiResponse<MyTradesResponse>>;
  /**
   * Query execution status of all open order lists.
   *
   * If you need to continuously monitor order status updates, please consider using WebSocket Streams:
   *
   * `userDataStream.start` request
   * `executionReport` user data stream event
   * Weight: 6
   *
   * @summary WebSocket Current open Order lists
   * @param {OpenOrderListsStatusRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OpenOrderListsStatusResponse>}
   * @memberof AccountApiInterface
   */
  openOrderListsStatus(requestParameters?: OpenOrderListsStatusRequest): Promise<WebsocketApiResponse<OpenOrderListsStatusResponse>>;
  /**
   * Query execution status of all open orders.
   *
   * If you need to continuously monitor order status updates, please consider using WebSocket Streams:
   *
   * `userDataStream.start` request
   * `executionReport` user data stream event
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Parameter | Weight |
   * | --------- | ------ |
   * | `symbol`  |      6 |
   * | none      |     80 |
   *
   * @summary WebSocket Current open orders
   * @param {OpenOrdersStatusRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OpenOrdersStatusResponse>}
   * @memberof AccountApiInterface
   */
  openOrdersStatus(requestParameters?: OpenOrdersStatusRequest): Promise<WebsocketApiResponse<OpenOrdersStatusResponse>>;
  /**
   * Queries all amendments of a single order.
   * Weight: 4
   *
   * @summary WebSocket Query Order Amendments
   * @param {OrderAmendmentsRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderAmendmentsResponse>}
   * @memberof AccountApiInterface
   */
  orderAmendments(requestParameters: OrderAmendmentsRequest): Promise<WebsocketApiResponse<OrderAmendmentsResponse>>;
  /**
   * Check execution status of an Order list.
   *
   * For execution status of individual orders, use `order.status`.
   * Weight: 4
   *
   * @summary WebSocket Query Order list
   * @param {OrderListStatusRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderListStatusResponse>}
   * @memberof AccountApiInterface
   */
  orderListStatus(requestParameters?: OrderListStatusRequest): Promise<WebsocketApiResponse<OrderListStatusResponse>>;
  /**
   * Check execution status of an order.
   * Weight: 4
   *
   * @summary WebSocket Query order
   * @param {OrderStatusRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderStatusResponse>}
   * @memberof AccountApiInterface
   */
  orderStatus(requestParameters: OrderStatusRequest): Promise<WebsocketApiResponse<OrderStatusResponse>>;
}
/**
 * Request parameters for accountCommission operation in AccountApi.
 * @interface AccountCommissionRequest
 */
interface AccountCommissionRequest {
  /**
   *
   * @type {string}
   * @memberof AccountApiAccountCommission
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiAccountCommission
   */
  readonly id?: string;
}
/**
 * Request parameters for accountRateLimitsOrders operation in AccountApi.
 * @interface AccountRateLimitsOrdersRequest
 */
interface AccountRateLimitsOrdersRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiAccountRateLimitsOrders
   */
  readonly id?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiAccountRateLimitsOrders
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for accountStatus operation in AccountApi.
 * @interface AccountStatusRequest
 */
interface AccountStatusRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiAccountStatus
   */
  readonly id?: string;
  /**
   * When set to `true`, emits only the non-zero balances of an account. <br>Default value: false
   * @type {boolean}
   * @memberof AccountApiAccountStatus
   */
  readonly omitZeroBalances?: boolean;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiAccountStatus
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for allOrderLists operation in AccountApi.
 * @interface AllOrderListsRequest
 */
interface AllOrderListsRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiAllOrderLists
   */
  readonly id?: string;
  /**
   * Trade ID to begin at
   * @type {number}
   * @memberof AccountApiAllOrderLists
   */
  readonly fromId?: number;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiAllOrderLists
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiAllOrderLists
   */
  readonly endTime?: number | bigint;
  /**
   * Default: 100; Maximum: 5000
   * @type {number}
   * @memberof AccountApiAllOrderLists
   */
  readonly limit?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiAllOrderLists
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for allOrders operation in AccountApi.
 * @interface AllOrdersRequest
 */
interface AllOrdersRequest {
  /**
   *
   * @type {string}
   * @memberof AccountApiAllOrders
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiAllOrders
   */
  readonly id?: string;
  /**
   * `orderId`or`origClientOrderId`mustbesent
   * @type {number | bigint}
   * @memberof AccountApiAllOrders
   */
  readonly orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiAllOrders
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiAllOrders
   */
  readonly endTime?: number | bigint;
  /**
   * Default: 100; Maximum: 5000
   * @type {number}
   * @memberof AccountApiAllOrders
   */
  readonly limit?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiAllOrders
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for myAllocations operation in AccountApi.
 * @interface MyAllocationsRequest
 */
interface MyAllocationsRequest {
  /**
   *
   * @type {string}
   * @memberof AccountApiMyAllocations
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiMyAllocations
   */
  readonly id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiMyAllocations
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiMyAllocations
   */
  readonly endTime?: number | bigint;
  /**
   *
   * @type {number}
   * @memberof AccountApiMyAllocations
   */
  readonly fromAllocationId?: number;
  /**
   * Default: 100; Maximum: 5000
   * @type {number}
   * @memberof AccountApiMyAllocations
   */
  readonly limit?: number;
  /**
   * `orderId`or`origClientOrderId`mustbesent
   * @type {number | bigint}
   * @memberof AccountApiMyAllocations
   */
  readonly orderId?: number | bigint;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiMyAllocations
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for myFilters operation in AccountApi.
 * @interface MyFiltersRequest
 */
interface MyFiltersRequest {
  /**
   *
   * @type {string}
   * @memberof AccountApiMyFilters
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiMyFilters
   */
  readonly id?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiMyFilters
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for myPreventedMatches operation in AccountApi.
 * @interface MyPreventedMatchesRequest
 */
interface MyPreventedMatchesRequest {
  /**
   *
   * @type {string}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly preventedMatchId?: number | bigint;
  /**
   * `orderId`or`origClientOrderId`mustbesent
   * @type {number | bigint}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly fromPreventedMatchId?: number | bigint;
  /**
   * Default: 100; Maximum: 5000
   * @type {number}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly limit?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiMyPreventedMatches
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for myTrades operation in AccountApi.
 * @interface MyTradesRequest
 */
interface MyTradesRequest {
  /**
   *
   * @type {string}
   * @memberof AccountApiMyTrades
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiMyTrades
   */
  readonly id?: string;
  /**
   * `orderId`or`origClientOrderId`mustbesent
   * @type {number | bigint}
   * @memberof AccountApiMyTrades
   */
  readonly orderId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiMyTrades
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiMyTrades
   */
  readonly endTime?: number | bigint;
  /**
   * Trade ID to begin at
   * @type {number}
   * @memberof AccountApiMyTrades
   */
  readonly fromId?: number;
  /**
   * Default: 100; Maximum: 5000
   * @type {number}
   * @memberof AccountApiMyTrades
   */
  readonly limit?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiMyTrades
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for openOrderListsStatus operation in AccountApi.
 * @interface OpenOrderListsStatusRequest
 */
interface OpenOrderListsStatusRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiOpenOrderListsStatus
   */
  readonly id?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiOpenOrderListsStatus
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for openOrdersStatus operation in AccountApi.
 * @interface OpenOrdersStatusRequest
 */
interface OpenOrdersStatusRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiOpenOrdersStatus
   */
  readonly id?: string;
  /**
   * Describe a single symbol
   * @type {string}
   * @memberof AccountApiOpenOrdersStatus
   */
  readonly symbol?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiOpenOrdersStatus
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderAmendments operation in AccountApi.
 * @interface OrderAmendmentsRequest
 */
interface OrderAmendmentsRequest {
  /**
   *
   * @type {string}
   * @memberof AccountApiOrderAmendments
   */
  readonly symbol: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiOrderAmendments
   */
  readonly orderId: number | bigint;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiOrderAmendments
   */
  readonly id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AccountApiOrderAmendments
   */
  readonly fromExecutionId?: number | bigint;
  /**
   * Default: 500; Maximum: 1000
   * @type {number | bigint}
   * @memberof AccountApiOrderAmendments
   */
  readonly limit?: number | bigint;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiOrderAmendments
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListStatus operation in AccountApi.
 * @interface OrderListStatusRequest
 */
interface OrderListStatusRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiOrderListStatus
   */
  readonly id?: string;
  /**
   * `orderId`or`origClientOrderId`mustbesent
   * @type {string}
   * @memberof AccountApiOrderListStatus
   */
  readonly origClientOrderId?: string;
  /**
   * Cancel order list by orderListId
   * @type {number}
   * @memberof AccountApiOrderListStatus
   */
  readonly orderListId?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiOrderListStatus
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderStatus operation in AccountApi.
 * @interface OrderStatusRequest
 */
interface OrderStatusRequest {
  /**
   *
   * @type {string}
   * @memberof AccountApiOrderStatus
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AccountApiOrderStatus
   */
  readonly id?: string;
  /**
   * `orderId`or`origClientOrderId`mustbesent
   * @type {number | bigint}
   * @memberof AccountApiOrderStatus
   */
  readonly orderId?: number | bigint;
  /**
   * `orderId`or`origClientOrderId`mustbesent
   * @type {string}
   * @memberof AccountApiOrderStatus
   */
  readonly origClientOrderId?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AccountApiOrderStatus
   */
  readonly recvWindow?: number;
}
/**
 * AccountApi - object-oriented interface
 * @class AccountApi
 * @extends {WebsocketAPIBase}
 */
declare class AccountApi implements AccountApiInterface {
  private readonly websocketBase;
  constructor(websocketBase: WebsocketAPIBase);
  /**
   * Get current account commission rates.
   * Weight: 20
   *
   * @summary WebSocket Account Commission Rates
   * @param {AccountCommissionRequest} requestParameters Request parameters.
   * @returns {Promise<AccountCommissionResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-commission-rates-user_data Binance API Documentation}
   */
  accountCommission(requestParameters: AccountCommissionRequest): Promise<WebsocketApiResponse<AccountCommissionResponse>>;
  /**
   * Query your current unfilled order count for all intervals.
   * Weight: 40
   *
   * @summary WebSocket Unfilled Order Count
   * @param {AccountRateLimitsOrdersRequest} requestParameters Request parameters.
   * @returns {Promise<AccountRateLimitsOrdersResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#unfilled-order-count-user_data Binance API Documentation}
   */
  accountRateLimitsOrders(requestParameters?: AccountRateLimitsOrdersRequest): Promise<WebsocketApiResponse<AccountRateLimitsOrdersResponse>>;
  /**
   * Query information about your account.
   * Weight: 20
   *
   * @summary WebSocket Account information
   * @param {AccountStatusRequest} requestParameters Request parameters.
   * @returns {Promise<AccountStatusResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-information-user_data Binance API Documentation}
   */
  accountStatus(requestParameters?: AccountStatusRequest): Promise<WebsocketApiResponse<AccountStatusResponse>>;
  /**
   * Query information about all your order lists, filtered by time range.
   * Weight: 20
   *
   * @summary WebSocket Account order list history
   * @param {AllOrderListsRequest} requestParameters Request parameters.
   * @returns {Promise<AllOrderListsResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-order-list-history-user_data Binance API Documentation}
   */
  allOrderLists(requestParameters?: AllOrderListsRequest): Promise<WebsocketApiResponse<AllOrderListsResponse>>;
  /**
   * Query information about all your orders – active, canceled, filled – filtered by time range.
   * Weight: 20
   *
   * @summary WebSocket Account order history
   * @param {AllOrdersRequest} requestParameters Request parameters.
   * @returns {Promise<AllOrdersResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-order-history-user_data Binance API Documentation}
   */
  allOrders(requestParameters: AllOrdersRequest): Promise<WebsocketApiResponse<AllOrdersResponse>>;
  /**
   * Retrieves allocations resulting from SOR order placement.
   * Weight: 20
   *
   * @summary WebSocket Account allocations
   * @param {MyAllocationsRequest} requestParameters Request parameters.
   * @returns {Promise<MyAllocationsResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-allocations-user_data Binance API Documentation}
   */
  myAllocations(requestParameters: MyAllocationsRequest): Promise<WebsocketApiResponse<MyAllocationsResponse>>;
  /**
   * Retrieves the list of [filters](filters.md) relevant to an account on a given symbol. This is the only method that shows if an account has `MAX_ASSET` filters applied to it.
   * Weight: 40
   *
   * @summary WebSocket Query Relevant Filters
   * @param {MyFiltersRequest} requestParameters Request parameters.
   * @returns {Promise<MyFiltersResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-relevant-filters-user_data Binance API Documentation}
   */
  myFilters(requestParameters: MyFiltersRequest): Promise<WebsocketApiResponse<MyFiltersResponse>>;
  /**
   * Displays the list of orders that were expired due to STP.
   *
   * These are the combinations supported:
   *
   * `symbol` + `preventedMatchId`
   * `symbol` + `orderId`
   * `symbol` + `orderId` + `fromPreventedMatchId` (`limit` will default to 500)
   * `symbol` + `orderId` + `fromPreventedMatchId` + `limit`
   * Weight: Case                            | Weight
   * ----                            | -----
   * If `symbol` is invalid          | 2
   * Querying by `preventedMatchId`  | 2
   * Querying by `orderId`           | 20
   *
   * @summary WebSocket Account prevented matches
   * @param {MyPreventedMatchesRequest} requestParameters Request parameters.
   * @returns {Promise<MyPreventedMatchesResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-prevented-matches-user_data Binance API Documentation}
   */
  myPreventedMatches(requestParameters: MyPreventedMatchesRequest): Promise<WebsocketApiResponse<MyPreventedMatchesResponse>>;
  /**
   * Query information about all your trades, filtered by time range.
   * Weight: Condition| Weight|
   * ---| ---
   * |Without orderId|20|
   * |With orderId|5|
   *
   * @summary WebSocket Account trade history
   * @param {MyTradesRequest} requestParameters Request parameters.
   * @returns {Promise<MyTradesResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-trade-history-user_data Binance API Documentation}
   */
  myTrades(requestParameters: MyTradesRequest): Promise<WebsocketApiResponse<MyTradesResponse>>;
  /**
   * Query execution status of all open order lists.
   *
   * If you need to continuously monitor order status updates, please consider using WebSocket Streams:
   *
   * `userDataStream.start` request
   * `executionReport` user data stream event
   * Weight: 6
   *
   * @summary WebSocket Current open Order lists
   * @param {OpenOrderListsStatusRequest} requestParameters Request parameters.
   * @returns {Promise<OpenOrderListsStatusResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#current-open-order-lists-user_data Binance API Documentation}
   */
  openOrderListsStatus(requestParameters?: OpenOrderListsStatusRequest): Promise<WebsocketApiResponse<OpenOrderListsStatusResponse>>;
  /**
   * Query execution status of all open orders.
   *
   * If you need to continuously monitor order status updates, please consider using WebSocket Streams:
   *
   * `userDataStream.start` request
   * `executionReport` user data stream event
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Parameter | Weight |
   * | --------- | ------ |
   * | `symbol`  |      6 |
   * | none      |     80 |
   *
   * @summary WebSocket Current open orders
   * @param {OpenOrdersStatusRequest} requestParameters Request parameters.
   * @returns {Promise<OpenOrdersStatusResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#current-open-orders-user_data Binance API Documentation}
   */
  openOrdersStatus(requestParameters?: OpenOrdersStatusRequest): Promise<WebsocketApiResponse<OpenOrdersStatusResponse>>;
  /**
   * Queries all amendments of a single order.
   * Weight: 4
   *
   * @summary WebSocket Query Order Amendments
   * @param {OrderAmendmentsRequest} requestParameters Request parameters.
   * @returns {Promise<OrderAmendmentsResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-order-amendments-user_data Binance API Documentation}
   */
  orderAmendments(requestParameters: OrderAmendmentsRequest): Promise<WebsocketApiResponse<OrderAmendmentsResponse>>;
  /**
   * Check execution status of an Order list.
   *
   * For execution status of individual orders, use `order.status`.
   * Weight: 4
   *
   * @summary WebSocket Query Order list
   * @param {OrderListStatusRequest} requestParameters Request parameters.
   * @returns {Promise<OrderListStatusResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-order-list-user_data Binance API Documentation}
   */
  orderListStatus(requestParameters?: OrderListStatusRequest): Promise<WebsocketApiResponse<OrderListStatusResponse>>;
  /**
   * Check execution status of an order.
   * Weight: 4
   *
   * @summary WebSocket Query order
   * @param {OrderStatusRequest} requestParameters Request parameters.
   * @returns {Promise<OrderStatusResponse>}
   * @memberof AccountApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-order-user_data Binance API Documentation}
   */
  orderStatus(requestParameters: OrderStatusRequest): Promise<WebsocketApiResponse<OrderStatusResponse>>;
}
//#endregion
//#region src/websocket-api/modules/auth-api.d.ts
/**
 * AuthApi - interface
 *
 * @interface AuthApi
 */
interface AuthApiInterface {
  /**
   * Authenticate WebSocket connection using the provided API key.
   *
   * After calling `session.logon`, you can omit `apiKey` and `signature` parameters for future requests that require them.
   *
   * Note that only one API key can be authenticated.
   * Calling `session.logon` multiple times changes the current authenticated API key.
   * Weight: 2
   *
   * @summary WebSocket Log in with API key
   * @param {SessionLogonRequest} requestParameters Request parameters.
   *
   * @returns {Promise<SessionLogonResponse>}
   * @memberof AuthApiInterface
   */
  sessionLogon(requestParameters?: SessionLogonRequest): Promise<WebsocketApiResponse<SessionLogonResponse>[]>;
  /**
   * Forget the API key previously authenticated.
   * If the connection is not authenticated, this request does nothing.
   *
   * Note that the WebSocket connection stays open after `session.logout` request.
   * You can continue using the connection,
   * but now you will have to explicitly provide the `apiKey` and `signature` parameters where needed.
   * Weight: 2
   *
   * @summary WebSocket Log out of the session
   * @param {SessionLogoutRequest} requestParameters Request parameters.
   *
   * @returns {Promise<SessionLogoutResponse>}
   * @memberof AuthApiInterface
   */
  sessionLogout(requestParameters?: SessionLogoutRequest): Promise<WebsocketApiResponse<SessionLogoutResponse>[]>;
  /**
   * Query the status of the WebSocket connection,
   * inspecting which API key (if any) is used to authorize requests.
   * Weight: 2
   *
   * @summary WebSocket Query session status
   * @param {SessionStatusRequest} requestParameters Request parameters.
   *
   * @returns {Promise<SessionStatusResponse>}
   * @memberof AuthApiInterface
   */
  sessionStatus(requestParameters?: SessionStatusRequest): Promise<WebsocketApiResponse<SessionStatusResponse>>;
}
/**
 * Request parameters for sessionLogon operation in AuthApi.
 * @interface SessionLogonRequest
 */
interface SessionLogonRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AuthApiSessionLogon
   */
  readonly id?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof AuthApiSessionLogon
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for sessionLogout operation in AuthApi.
 * @interface SessionLogoutRequest
 */
interface SessionLogoutRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AuthApiSessionLogout
   */
  readonly id?: string;
}
/**
 * Request parameters for sessionStatus operation in AuthApi.
 * @interface SessionStatusRequest
 */
interface SessionStatusRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof AuthApiSessionStatus
   */
  readonly id?: string;
}
/**
 * AuthApi - object-oriented interface
 * @class AuthApi
 * @extends {WebsocketAPIBase}
 */
declare class AuthApi implements AuthApiInterface {
  private readonly websocketBase;
  constructor(websocketBase: WebsocketAPIBase);
  /**
   * Authenticate WebSocket connection using the provided API key.
   *
   * After calling `session.logon`, you can omit `apiKey` and `signature` parameters for future requests that require them.
   *
   * Note that only one API key can be authenticated.
   * Calling `session.logon` multiple times changes the current authenticated API key.
   * Weight: 2
   *
   * @summary WebSocket Log in with API key
   * @param {SessionLogonRequest} requestParameters Request parameters.
   * @returns {Promise<SessionLogonResponse>}
   * @memberof AuthApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/authentication-requests#log-in-with-api-key-signed Binance API Documentation}
   */
  sessionLogon(requestParameters?: SessionLogonRequest): Promise<WebsocketApiResponse<SessionLogonResponse>[]>;
  /**
   * Forget the API key previously authenticated.
   * If the connection is not authenticated, this request does nothing.
   *
   * Note that the WebSocket connection stays open after `session.logout` request.
   * You can continue using the connection,
   * but now you will have to explicitly provide the `apiKey` and `signature` parameters where needed.
   * Weight: 2
   *
   * @summary WebSocket Log out of the session
   * @param {SessionLogoutRequest} requestParameters Request parameters.
   * @returns {Promise<SessionLogoutResponse>}
   * @memberof AuthApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/authentication-requests#log-out-of-the-session Binance API Documentation}
   */
  sessionLogout(requestParameters?: SessionLogoutRequest): Promise<WebsocketApiResponse<SessionLogoutResponse>[]>;
  /**
   * Query the status of the WebSocket connection,
   * inspecting which API key (if any) is used to authorize requests.
   * Weight: 2
   *
   * @summary WebSocket Query session status
   * @param {SessionStatusRequest} requestParameters Request parameters.
   * @returns {Promise<SessionStatusResponse>}
   * @memberof AuthApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/authentication-requests#query-session-status Binance API Documentation}
   */
  sessionStatus(requestParameters?: SessionStatusRequest): Promise<WebsocketApiResponse<SessionStatusResponse>>;
}
//#endregion
//#region src/websocket-api/modules/general-api.d.ts
/**
 * GeneralApi - interface
 *
 * @interface GeneralApi
 */
interface GeneralApiInterface {
  /**
   * Query current exchange trading rules, rate limits, and symbol information.
   * Weight: 20
   *
   * @summary WebSocket Exchange information
   * @param {ExchangeInfoRequest} requestParameters Request parameters.
   *
   * @returns {Promise<ExchangeInfoResponse>}
   * @memberof GeneralApiInterface
   */
  exchangeInfo(requestParameters?: ExchangeInfoRequest): Promise<WebsocketApiResponse<ExchangeInfoResponse>>;
  /**
   *
   * Weight: Parameter | Weight|
   * ---        | ---
   * `symbol`  | 2
   * `symbols` | 2 for each `symbol`, capped at a max of 40|
   * `symbolStatus` |40|
   * None            |40|
   *
   * @summary WebSocket Query Execution Rules
   * @param {ExecutionRulesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<ExecutionRulesResponse>}
   * @memberof GeneralApiInterface
   */
  executionRules(requestParameters?: ExecutionRulesRequest): Promise<WebsocketApiResponse<ExecutionRulesResponse>>;
  /**
   * Test connectivity to the WebSocket API.
   * Weight: 1
   *
   * @summary WebSocket Test connectivity
   * @param {PingRequest} requestParameters Request parameters.
   *
   * @returns {Promise<PingResponse>}
   * @memberof GeneralApiInterface
   */
  ping(requestParameters?: PingRequest): Promise<WebsocketApiResponse<PingResponse>>;
  /**
   * Test connectivity to the WebSocket API and get the current server time.
   * Weight: 1
   *
   * @summary WebSocket Check server time
   * @param {TimeRequest} requestParameters Request parameters.
   *
   * @returns {Promise<TimeResponse>}
   * @memberof GeneralApiInterface
   */
  time(requestParameters?: TimeRequest): Promise<WebsocketApiResponse<TimeResponse>>;
}
/**
 * Request parameters for exchangeInfo operation in GeneralApi.
 * @interface ExchangeInfoRequest
 */
interface ExchangeInfoRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof GeneralApiExchangeInfo
   */
  readonly id?: string;
  /**
   * Describe a single symbol
   * @type {string}
   * @memberof GeneralApiExchangeInfo
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof GeneralApiExchangeInfo
   */
  readonly symbols?: Array<string>;
  /**
   *
   * @type {Array<string>}
   * @memberof GeneralApiExchangeInfo
   */
  readonly permissions?: Array<string>;
  /**
   *
   * @type {boolean}
   * @memberof GeneralApiExchangeInfo
   */
  readonly showPermissionSets?: boolean;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof GeneralApiExchangeInfo
   */
  readonly symbolStatus?: ExchangeInfoSymbolStatusEnum;
}
/**
 * Request parameters for executionRules operation in GeneralApi.
 * @interface ExecutionRulesRequest
 */
interface ExecutionRulesRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof GeneralApiExecutionRules
   */
  readonly id?: string;
  /**
   * Describe a single symbol
   * @type {string}
   * @memberof GeneralApiExecutionRules
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof GeneralApiExecutionRules
   */
  readonly symbols?: Array<string>;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof GeneralApiExecutionRules
   */
  readonly symbolStatus?: ExecutionRulesSymbolStatusEnum;
}
/**
 * Request parameters for ping operation in GeneralApi.
 * @interface PingRequest
 */
interface PingRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof GeneralApiPing
   */
  readonly id?: string;
}
/**
 * Request parameters for time operation in GeneralApi.
 * @interface TimeRequest
 */
interface TimeRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof GeneralApiTime
   */
  readonly id?: string;
}
/**
 * GeneralApi - object-oriented interface
 * @class GeneralApi
 * @extends {WebsocketAPIBase}
 */
declare class GeneralApi implements GeneralApiInterface {
  private readonly websocketBase;
  constructor(websocketBase: WebsocketAPIBase);
  /**
   * Query current exchange trading rules, rate limits, and symbol information.
   * Weight: 20
   *
   * @summary WebSocket Exchange information
   * @param {ExchangeInfoRequest} requestParameters Request parameters.
   * @returns {Promise<ExchangeInfoResponse>}
   * @memberof GeneralApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#exchange-information Binance API Documentation}
   */
  exchangeInfo(requestParameters?: ExchangeInfoRequest): Promise<WebsocketApiResponse<ExchangeInfoResponse>>;
  /**
   *
   * Weight: Parameter | Weight|
   * ---        | ---
   * `symbol`  | 2
   * `symbols` | 2 for each `symbol`, capped at a max of 40|
   * `symbolStatus` |40|
   * None            |40|
   *
   * @summary WebSocket Query Execution Rules
   * @param {ExecutionRulesRequest} requestParameters Request parameters.
   * @returns {Promise<ExecutionRulesResponse>}
   * @memberof GeneralApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#query-execution-rules Binance API Documentation}
   */
  executionRules(requestParameters?: ExecutionRulesRequest): Promise<WebsocketApiResponse<ExecutionRulesResponse>>;
  /**
   * Test connectivity to the WebSocket API.
   * Weight: 1
   *
   * @summary WebSocket Test connectivity
   * @param {PingRequest} requestParameters Request parameters.
   * @returns {Promise<PingResponse>}
   * @memberof GeneralApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#test-connectivity Binance API Documentation}
   */
  ping(requestParameters?: PingRequest): Promise<WebsocketApiResponse<PingResponse>>;
  /**
   * Test connectivity to the WebSocket API and get the current server time.
   * Weight: 1
   *
   * @summary WebSocket Check server time
   * @param {TimeRequest} requestParameters Request parameters.
   * @returns {Promise<TimeResponse>}
   * @memberof GeneralApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#check-server-time Binance API Documentation}
   */
  time(requestParameters?: TimeRequest): Promise<WebsocketApiResponse<TimeResponse>>;
}
declare enum ExchangeInfoSymbolStatusEnum {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum ExecutionRulesSymbolStatusEnum {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
//#endregion
//#region src/websocket-api/modules/market-api.d.ts
/**
 * MarketApi - interface
 *
 * @interface MarketApi
 */
interface MarketApiInterface {
  /**
   * Get current average price for a symbol.
   * Weight: 2
   *
   * @summary WebSocket Current average price
   * @param {AvgPriceRequest} requestParameters Request parameters.
   *
   * @returns {Promise<AvgPriceResponse>}
   * @memberof MarketApiInterface
   */
  avgPrice(requestParameters: AvgPriceRequest$1): Promise<WebsocketApiResponse<AvgPriceResponse$1>>;
  /**
   * Get block trades.
   * Weight: 25
   *
   * @summary WebSocket Historical Block Trades
   * @param {BlockTradesHistoricalRequest} requestParameters Request parameters.
   *
   * @returns {Promise<BlockTradesHistoricalResponse>}
   * @memberof MarketApiInterface
   */
  blockTradesHistorical(requestParameters: BlockTradesHistoricalRequest): Promise<WebsocketApiResponse<BlockTradesHistoricalResponse>>;
  /**
   * Get current order book.
   *
   * Note that this request returns limited market depth.
   *
   * If you need to continuously monitor order book updates, please consider using WebSocket Streams:
   *
   * `<symbol>@depth<levels>`
   * `<symbol>@depth`
   *
   * You can use `depth` request together with `<symbol>@depth` streams to [maintain a local order book](web-socket-streams.md#how-to-manage-a-local-order-book-correctly).
   * Weight: Adjusted based on the limit:
   *
   * |  Limit    | Weight |
   * |:---------:|:------:|
   * |     1–100 |      5 |
   * |   101–500 |      25|
   * |  501–1000 |     50 |
   * | 1001–5000 |     250 |
   *
   * @summary WebSocket Order book
   * @param {DepthRequest} requestParameters Request parameters.
   *
   * @returns {Promise<DepthResponse>}
   * @memberof MarketApiInterface
   */
  depth(requestParameters: DepthRequest): Promise<WebsocketApiResponse<DepthResponse>>;
  /**
   * Get klines (candlestick bars).
   *
   * Klines are uniquely identified by their open & close time.
   *
   * If you need access to real-time kline updates, please consider using WebSocket Streams:
   *
   * `<symbol>@kline_<interval>`
   *
   * If you need historical kline data,
   * please consider using [data.binance.vision](https://github.com/binance/binance-public-data/#klines).
   * Weight: 2
   *
   * @summary WebSocket Klines
   * @param {KlinesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<KlinesResponse>}
   * @memberof MarketApiInterface
   */
  klines(requestParameters: KlinesRequest): Promise<WebsocketApiResponse<KlinesResponse>>;
  /**
   *
   * Weight: 2
   *
   * @summary WebSocket Query Reference Price
   * @param {ReferencePriceRequest} requestParameters Request parameters.
   *
   * @returns {Promise<ReferencePriceResponse>}
   * @memberof MarketApiInterface
   */
  referencePrice(requestParameters: ReferencePriceRequest$1): Promise<WebsocketApiResponse<ReferencePriceResponse$1>>;
  /**
   * Describes how reference price is calculated for a given symbol.
   * Weight: 2
   *
   * @summary WebSocket Query Reference Price Calculation
   * @param {ReferencePriceCalculationRequest} requestParameters Request parameters.
   *
   * @returns {Promise<ReferencePriceCalculationResponse>}
   * @memberof MarketApiInterface
   */
  referencePriceCalculation(requestParameters: ReferencePriceCalculationRequest): Promise<WebsocketApiResponse<ReferencePriceCalculationResponse>>;
  /**
   * Get rolling window price change statistics with a custom window.
   *
   * This request is similar to `ticker.24hr`,
   * but statistics are computed on demand using the arbitrary window you specify.
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Symbols | Weight |
   * |:-------:|:------:|
   * |    1–50 | 4 per symbol |
   * |  51–100 |    200 |
   *
   * @summary WebSocket Rolling window price change statistics
   * @param {TickerRequest} requestParameters Request parameters.
   *
   * @returns {Promise<TickerResponse>}
   * @memberof MarketApiInterface
   */
  ticker(requestParameters?: TickerRequest$1): Promise<WebsocketApiResponse<TickerResponse$1>>;
  /**
   * Get 24-hour rolling window price change statistics.
   *
   * If you need to continuously monitor trading statistics, please consider using WebSocket Streams:
   *
   * `<symbol>@ticker` or `!ticker@arr`
   * `<symbol>@miniTicker` or `!miniTicker@arr`
   *
   * If you need different window sizes,
   * use the `ticker` request.
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Symbols     | Weight |
   * |:-----------:|:------:|
   * |        1–20 |      2 |
   * |      21–100 |     40 |
   * | 101 or more |     80 |
   * | all symbols |     80 |
   *
   * @summary WebSocket 24hr ticker price change statistics
   * @param {Ticker24hrRequest} requestParameters Request parameters.
   *
   * @returns {Promise<Ticker24hrResponse>}
   * @memberof MarketApiInterface
   */
  ticker24hr(requestParameters?: Ticker24hrRequest): Promise<WebsocketApiResponse<Ticker24hrResponse>>;
  /**
   * Get the current best price and quantity on the order book.
   *
   * If you need access to real-time order book ticker updates, please consider using WebSocket Streams:
   *
   * `<symbol>@bookTicker`
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Parameter | Weight |
   * | --------- |:------:|
   * | `symbol`  |      2 |
   * | `symbols` |      4 |
   * | none      |      4 |
   *
   * @summary WebSocket Symbol order book ticker
   * @param {TickerBookRequest} requestParameters Request parameters.
   *
   * @returns {Promise<TickerBookResponse>}
   * @memberof MarketApiInterface
   */
  tickerBook(requestParameters?: TickerBookRequest): Promise<WebsocketApiResponse<TickerBookResponse>>;
  /**
   * Get the latest market price for a symbol.
   *
   * If you need access to real-time price updates, please consider using WebSocket Streams:
   *
   * `<symbol>@aggTrade`
   * `<symbol>@trade`
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Parameter | Weight |
   * | --------- |:------:|
   * | `symbol`  |      2 |
   * | `symbols` |      4 |
   * | none      |      4 |
   *
   * @summary WebSocket Symbol price ticker
   * @param {TickerPriceRequest} requestParameters Request parameters.
   *
   * @returns {Promise<TickerPriceResponse>}
   * @memberof MarketApiInterface
   */
  tickerPrice(requestParameters?: TickerPriceRequest): Promise<WebsocketApiResponse<TickerPriceResponse>>;
  /**
   * Price change statistics for a trading day.
   * Weight: 4 for each requested <tt>symbol</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
   *
   * @summary WebSocket Trading Day Ticker
   * @param {TickerTradingDayRequest} requestParameters Request parameters.
   *
   * @returns {Promise<TickerTradingDayResponse>}
   * @memberof MarketApiInterface
   */
  tickerTradingDay(requestParameters?: TickerTradingDayRequest): Promise<WebsocketApiResponse<TickerTradingDayResponse>>;
  /**
   * Get aggregate trades.
   *
   * An *aggregate trade* (aggtrade) represents one or more individual trades.
   * Trades that fill at the same time, from the same taker order, with the same price –
   * those trades are collected into an aggregate trade with total quantity of the individual trades.
   *
   * If you need access to real-time trading activity, please consider using WebSocket Streams:
   *
   * `<symbol>@aggTrade`
   *
   * If you need historical aggregate trade data,
   * please consider using [data.binance.vision](https://github.com/binance/binance-public-data/#aggtrades).
   * Weight: 4
   *
   * @summary WebSocket Aggregate trades
   * @param {TradesAggregateRequest} requestParameters Request parameters.
   *
   * @returns {Promise<TradesAggregateResponse>}
   * @memberof MarketApiInterface
   */
  tradesAggregate(requestParameters: TradesAggregateRequest): Promise<WebsocketApiResponse<TradesAggregateResponse>>;
  /**
   * Get historical trades.
   * Weight: 25
   *
   * @summary WebSocket Historical trades
   * @param {TradesHistoricalRequest} requestParameters Request parameters.
   *
   * @returns {Promise<TradesHistoricalResponse>}
   * @memberof MarketApiInterface
   */
  tradesHistorical(requestParameters: TradesHistoricalRequest): Promise<WebsocketApiResponse<TradesHistoricalResponse>>;
  /**
   * Get recent trades.
   *
   * If you need access to real-time trading activity, please consider using WebSocket Streams:
   *
   * `<symbol>@trade`
   * Weight: 25
   *
   * @summary WebSocket Recent trades
   * @param {TradesRecentRequest} requestParameters Request parameters.
   *
   * @returns {Promise<TradesRecentResponse>}
   * @memberof MarketApiInterface
   */
  tradesRecent(requestParameters: TradesRecentRequest): Promise<WebsocketApiResponse<TradesRecentResponse>>;
  /**
   * Get klines (candlestick bars) optimized for presentation.
   *
   * This request is similar to `klines`, having the same parameters and response.
   * `uiKlines` return modified kline data, optimized for presentation of candlestick charts.
   * Weight: 2
   *
   * @summary WebSocket UI Klines
   * @param {UiKlinesRequest} requestParameters Request parameters.
   *
   * @returns {Promise<UiKlinesResponse>}
   * @memberof MarketApiInterface
   */
  uiKlines(requestParameters: UiKlinesRequest): Promise<WebsocketApiResponse<UiKlinesResponse>>;
}
/**
 * Request parameters for avgPrice operation in MarketApi.
 * @interface AvgPriceRequest
 */
interface AvgPriceRequest$1 {
  /**
   *
   * @type {string}
   * @memberof MarketApiAvgPrice
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiAvgPrice
   */
  readonly id?: string;
}
/**
 * Request parameters for blockTradesHistorical operation in MarketApi.
 * @interface BlockTradesHistoricalRequest
 */
interface BlockTradesHistoricalRequest {
  /**
   *
   * @type {string}
   * @memberof MarketApiBlockTradesHistorical
   */
  readonly symbol: string;
  /**
   * Block trade ID to fetch from
   * @type {number | bigint}
   * @memberof MarketApiBlockTradesHistorical
   */
  readonly fromId: number | bigint;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiBlockTradesHistorical
   */
  readonly id?: string;
  /**
   * Default: 500; Maximum: 1000
   * @type {number | bigint}
   * @memberof MarketApiBlockTradesHistorical
   */
  readonly limit?: number | bigint;
}
/**
 * Request parameters for depth operation in MarketApi.
 * @interface DepthRequest
 */
interface DepthRequest {
  /**
   *
   * @type {string}
   * @memberof MarketApiDepth
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiDepth
   */
  readonly id?: string;
  /**
   * Default: 100; Maximum: 5000
   * @type {number}
   * @memberof MarketApiDepth
   */
  readonly limit?: number;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiDepth
   */
  readonly symbolStatus?: DepthSymbolStatusEnum;
}
/**
 * Request parameters for klines operation in MarketApi.
 * @interface KlinesRequest
 */
interface KlinesRequest {
  /**
   *
   * @type {string}
   * @memberof MarketApiKlines
   */
  readonly symbol: string;
  /**
   *
   * @type {'1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
   * @memberof MarketApiKlines
   */
  readonly interval: KlinesIntervalEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiKlines
   */
  readonly id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MarketApiKlines
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MarketApiKlines
   */
  readonly endTime?: number | bigint;
  /**
   * Default: 0 (UTC)
   * @type {string}
   * @memberof MarketApiKlines
   */
  readonly timeZone?: string;
  /**
   * Default: 100; Maximum: 5000
   * @type {number}
   * @memberof MarketApiKlines
   */
  readonly limit?: number;
}
/**
 * Request parameters for referencePrice operation in MarketApi.
 * @interface ReferencePriceRequest
 */
interface ReferencePriceRequest$1 {
  /**
   *
   * @type {string}
   * @memberof MarketApiReferencePrice
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiReferencePrice
   */
  readonly id?: string;
}
/**
 * Request parameters for referencePriceCalculation operation in MarketApi.
 * @interface ReferencePriceCalculationRequest
 */
interface ReferencePriceCalculationRequest {
  /**
   *
   * @type {string}
   * @memberof MarketApiReferencePriceCalculation
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiReferencePriceCalculation
   */
  readonly id?: string;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiReferencePriceCalculation
   */
  readonly symbolStatus?: ReferencePriceCalculationSymbolStatusEnum;
}
/**
 * Request parameters for ticker operation in MarketApi.
 * @interface TickerRequest
 */
interface TickerRequest$1 {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiTicker
   */
  readonly id?: string;
  /**
   * Describe a single symbol
   * @type {string}
   * @memberof MarketApiTicker
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof MarketApiTicker
   */
  readonly symbols?: Array<string>;
  /**
   *
   * @type {'FULL' | 'MINI'}
   * @memberof MarketApiTicker
   */
  readonly type?: TickerTypeEnum;
  /**
   *
   * @type {'1m' | '2m' | '3m' | '4m' | '5m' | '6m' | '7m' | '8m' | '9m' | '10m' | '11m' | '12m' | '13m' | '14m' | '15m' | '16m' | '17m' | '18m' | '19m' | '20m' | '21m' | '22m' | '23m' | '24m' | '25m' | '26m' | '27m' | '28m' | '29m' | '30m' | '31m' | '32m' | '33m' | '34m' | '35m' | '36m' | '37m' | '38m' | '39m' | '40m' | '41m' | '42m' | '43m' | '44m' | '45m' | '46m' | '47m' | '48m' | '49m' | '50m' | '51m' | '52m' | '53m' | '54m' | '55m' | '56m' | '57m' | '58m' | '59m' | '1h' | '2h' | '3h' | '4h' | '5h' | '6h' | '7h' | '8h' | '9h' | '10h' | '11h' | '12h' | '13h' | '14h' | '15h' | '16h' | '17h' | '18h' | '19h' | '20h' | '21h' | '22h' | '23h' | '1d' | '2d' | '3d' | '4d' | '5d' | '6d'}
   * @memberof MarketApiTicker
   */
  readonly windowSize?: TickerWindowSizeEnum;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiTicker
   */
  readonly symbolStatus?: TickerSymbolStatusEnum;
}
/**
 * Request parameters for ticker24hr operation in MarketApi.
 * @interface Ticker24hrRequest
 */
interface Ticker24hrRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiTicker24hr
   */
  readonly id?: string;
  /**
   * Describe a single symbol
   * @type {string}
   * @memberof MarketApiTicker24hr
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof MarketApiTicker24hr
   */
  readonly symbols?: Array<string>;
  /**
   *
   * @type {'FULL' | 'MINI'}
   * @memberof MarketApiTicker24hr
   */
  readonly type?: Ticker24hrTypeEnum;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiTicker24hr
   */
  readonly symbolStatus?: Ticker24hrSymbolStatusEnum;
}
/**
 * Request parameters for tickerBook operation in MarketApi.
 * @interface TickerBookRequest
 */
interface TickerBookRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiTickerBook
   */
  readonly id?: string;
  /**
   * Describe a single symbol
   * @type {string}
   * @memberof MarketApiTickerBook
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof MarketApiTickerBook
   */
  readonly symbols?: Array<string>;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiTickerBook
   */
  readonly symbolStatus?: TickerBookSymbolStatusEnum;
}
/**
 * Request parameters for tickerPrice operation in MarketApi.
 * @interface TickerPriceRequest
 */
interface TickerPriceRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiTickerPrice
   */
  readonly id?: string;
  /**
   * Describe a single symbol
   * @type {string}
   * @memberof MarketApiTickerPrice
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof MarketApiTickerPrice
   */
  readonly symbols?: Array<string>;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiTickerPrice
   */
  readonly symbolStatus?: TickerPriceSymbolStatusEnum;
}
/**
 * Request parameters for tickerTradingDay operation in MarketApi.
 * @interface TickerTradingDayRequest
 */
interface TickerTradingDayRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiTickerTradingDay
   */
  readonly id?: string;
  /**
   * Describe a single symbol
   * @type {string}
   * @memberof MarketApiTickerTradingDay
   */
  readonly symbol?: string;
  /**
   * List of symbols to query
   * @type {Array<string>}
   * @memberof MarketApiTickerTradingDay
   */
  readonly symbols?: Array<string>;
  /**
   * Default: 0 (UTC)
   * @type {string}
   * @memberof MarketApiTickerTradingDay
   */
  readonly timeZone?: string;
  /**
   *
   * @type {'FULL' | 'MINI'}
   * @memberof MarketApiTickerTradingDay
   */
  readonly type?: TickerTradingDayTypeEnum;
  /**
   *
   * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
   * @memberof MarketApiTickerTradingDay
   */
  readonly symbolStatus?: TickerTradingDaySymbolStatusEnum;
}
/**
 * Request parameters for tradesAggregate operation in MarketApi.
 * @interface TradesAggregateRequest
 */
interface TradesAggregateRequest {
  /**
   *
   * @type {string}
   * @memberof MarketApiTradesAggregate
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiTradesAggregate
   */
  readonly id?: string;
  /**
   * Aggregate trade ID to begin at
   * @type {number | bigint}
   * @memberof MarketApiTradesAggregate
   */
  readonly fromId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MarketApiTradesAggregate
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MarketApiTradesAggregate
   */
  readonly endTime?: number | bigint;
  /**
   * Default: 500; Maximum: 1000
   * @type {number | bigint}
   * @memberof MarketApiTradesAggregate
   */
  readonly limit?: number | bigint;
}
/**
 * Request parameters for tradesHistorical operation in MarketApi.
 * @interface TradesHistoricalRequest
 */
interface TradesHistoricalRequest {
  /**
   *
   * @type {string}
   * @memberof MarketApiTradesHistorical
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiTradesHistorical
   */
  readonly id?: string;
  /**
   * Trade ID to begin at
   * @type {number}
   * @memberof MarketApiTradesHistorical
   */
  readonly fromId?: number;
  /**
   * Default: 100; Maximum: 5000
   * @type {number}
   * @memberof MarketApiTradesHistorical
   */
  readonly limit?: number;
}
/**
 * Request parameters for tradesRecent operation in MarketApi.
 * @interface TradesRecentRequest
 */
interface TradesRecentRequest {
  /**
   *
   * @type {string}
   * @memberof MarketApiTradesRecent
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiTradesRecent
   */
  readonly id?: string;
  /**
   * Default: 100; Maximum: 5000
   * @type {number}
   * @memberof MarketApiTradesRecent
   */
  readonly limit?: number;
}
/**
 * Request parameters for uiKlines operation in MarketApi.
 * @interface UiKlinesRequest
 */
interface UiKlinesRequest {
  /**
   *
   * @type {string}
   * @memberof MarketApiUiKlines
   */
  readonly symbol: string;
  /**
   *
   * @type {'1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
   * @memberof MarketApiUiKlines
   */
  readonly interval: UiKlinesIntervalEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof MarketApiUiKlines
   */
  readonly id?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MarketApiUiKlines
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof MarketApiUiKlines
   */
  readonly endTime?: number | bigint;
  /**
   * Default: 0 (UTC)
   * @type {string}
   * @memberof MarketApiUiKlines
   */
  readonly timeZone?: string;
  /**
   * Default: 100; Maximum: 5000
   * @type {number}
   * @memberof MarketApiUiKlines
   */
  readonly limit?: number;
}
/**
 * MarketApi - object-oriented interface
 * @class MarketApi
 * @extends {WebsocketAPIBase}
 */
declare class MarketApi implements MarketApiInterface {
  private readonly websocketBase;
  constructor(websocketBase: WebsocketAPIBase);
  /**
   * Get current average price for a symbol.
   * Weight: 2
   *
   * @summary WebSocket Current average price
   * @param {AvgPriceRequest} requestParameters Request parameters.
   * @returns {Promise<AvgPriceResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#current-average-price Binance API Documentation}
   */
  avgPrice(requestParameters: AvgPriceRequest$1): Promise<WebsocketApiResponse<AvgPriceResponse$1>>;
  /**
   * Get block trades.
   * Weight: 25
   *
   * @summary WebSocket Historical Block Trades
   * @param {BlockTradesHistoricalRequest} requestParameters Request parameters.
   * @returns {Promise<BlockTradesHistoricalResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#historical-block-trades Binance API Documentation}
   */
  blockTradesHistorical(requestParameters: BlockTradesHistoricalRequest): Promise<WebsocketApiResponse<BlockTradesHistoricalResponse>>;
  /**
   * Get current order book.
   *
   * Note that this request returns limited market depth.
   *
   * If you need to continuously monitor order book updates, please consider using WebSocket Streams:
   *
   * `<symbol>@depth<levels>`
   * `<symbol>@depth`
   *
   * You can use `depth` request together with `<symbol>@depth` streams to [maintain a local order book](web-socket-streams.md#how-to-manage-a-local-order-book-correctly).
   * Weight: Adjusted based on the limit:
   *
   * |  Limit    | Weight |
   * |:---------:|:------:|
   * |     1–100 |      5 |
   * |   101–500 |      25|
   * |  501–1000 |     50 |
   * | 1001–5000 |     250 |
   *
   * @summary WebSocket Order book
   * @param {DepthRequest} requestParameters Request parameters.
   * @returns {Promise<DepthResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#order-book Binance API Documentation}
   */
  depth(requestParameters: DepthRequest): Promise<WebsocketApiResponse<DepthResponse>>;
  /**
   * Get klines (candlestick bars).
   *
   * Klines are uniquely identified by their open & close time.
   *
   * If you need access to real-time kline updates, please consider using WebSocket Streams:
   *
   * `<symbol>@kline_<interval>`
   *
   * If you need historical kline data,
   * please consider using [data.binance.vision](https://github.com/binance/binance-public-data/#klines).
   * Weight: 2
   *
   * @summary WebSocket Klines
   * @param {KlinesRequest} requestParameters Request parameters.
   * @returns {Promise<KlinesResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#klines Binance API Documentation}
   */
  klines(requestParameters: KlinesRequest): Promise<WebsocketApiResponse<KlinesResponse>>;
  /**
   *
   * Weight: 2
   *
   * @summary WebSocket Query Reference Price
   * @param {ReferencePriceRequest} requestParameters Request parameters.
   * @returns {Promise<ReferencePriceResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#query-reference-price Binance API Documentation}
   */
  referencePrice(requestParameters: ReferencePriceRequest$1): Promise<WebsocketApiResponse<ReferencePriceResponse$1>>;
  /**
   * Describes how reference price is calculated for a given symbol.
   * Weight: 2
   *
   * @summary WebSocket Query Reference Price Calculation
   * @param {ReferencePriceCalculationRequest} requestParameters Request parameters.
   * @returns {Promise<ReferencePriceCalculationResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#query-reference-price-calculation Binance API Documentation}
   */
  referencePriceCalculation(requestParameters: ReferencePriceCalculationRequest): Promise<WebsocketApiResponse<ReferencePriceCalculationResponse>>;
  /**
   * Get rolling window price change statistics with a custom window.
   *
   * This request is similar to `ticker.24hr`,
   * but statistics are computed on demand using the arbitrary window you specify.
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Symbols | Weight |
   * |:-------:|:------:|
   * |    1–50 | 4 per symbol |
   * |  51–100 |    200 |
   *
   * @summary WebSocket Rolling window price change statistics
   * @param {TickerRequest} requestParameters Request parameters.
   * @returns {Promise<TickerResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#rolling-window-price-change-statistics Binance API Documentation}
   */
  ticker(requestParameters?: TickerRequest$1): Promise<WebsocketApiResponse<TickerResponse$1>>;
  /**
   * Get 24-hour rolling window price change statistics.
   *
   * If you need to continuously monitor trading statistics, please consider using WebSocket Streams:
   *
   * `<symbol>@ticker` or `!ticker@arr`
   * `<symbol>@miniTicker` or `!miniTicker@arr`
   *
   * If you need different window sizes,
   * use the `ticker` request.
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Symbols     | Weight |
   * |:-----------:|:------:|
   * |        1–20 |      2 |
   * |      21–100 |     40 |
   * | 101 or more |     80 |
   * | all symbols |     80 |
   *
   * @summary WebSocket 24hr ticker price change statistics
   * @param {Ticker24hrRequest} requestParameters Request parameters.
   * @returns {Promise<Ticker24hrResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#24hr-ticker-price-change-statistics Binance API Documentation}
   */
  ticker24hr(requestParameters?: Ticker24hrRequest): Promise<WebsocketApiResponse<Ticker24hrResponse>>;
  /**
   * Get the current best price and quantity on the order book.
   *
   * If you need access to real-time order book ticker updates, please consider using WebSocket Streams:
   *
   * `<symbol>@bookTicker`
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Parameter | Weight |
   * | --------- |:------:|
   * | `symbol`  |      2 |
   * | `symbols` |      4 |
   * | none      |      4 |
   *
   * @summary WebSocket Symbol order book ticker
   * @param {TickerBookRequest} requestParameters Request parameters.
   * @returns {Promise<TickerBookResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#symbol-order-book-ticker Binance API Documentation}
   */
  tickerBook(requestParameters?: TickerBookRequest): Promise<WebsocketApiResponse<TickerBookResponse>>;
  /**
   * Get the latest market price for a symbol.
   *
   * If you need access to real-time price updates, please consider using WebSocket Streams:
   *
   * `<symbol>@aggTrade`
   * `<symbol>@trade`
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Parameter | Weight |
   * | --------- |:------:|
   * | `symbol`  |      2 |
   * | `symbols` |      4 |
   * | none      |      4 |
   *
   * @summary WebSocket Symbol price ticker
   * @param {TickerPriceRequest} requestParameters Request parameters.
   * @returns {Promise<TickerPriceResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#symbol-price-ticker Binance API Documentation}
   */
  tickerPrice(requestParameters?: TickerPriceRequest): Promise<WebsocketApiResponse<TickerPriceResponse>>;
  /**
   * Price change statistics for a trading day.
   * Weight: 4 for each requested <tt>symbol</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
   *
   * @summary WebSocket Trading Day Ticker
   * @param {TickerTradingDayRequest} requestParameters Request parameters.
   * @returns {Promise<TickerTradingDayResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#trading-day-ticker Binance API Documentation}
   */
  tickerTradingDay(requestParameters?: TickerTradingDayRequest): Promise<WebsocketApiResponse<TickerTradingDayResponse>>;
  /**
   * Get aggregate trades.
   *
   * An *aggregate trade* (aggtrade) represents one or more individual trades.
   * Trades that fill at the same time, from the same taker order, with the same price –
   * those trades are collected into an aggregate trade with total quantity of the individual trades.
   *
   * If you need access to real-time trading activity, please consider using WebSocket Streams:
   *
   * `<symbol>@aggTrade`
   *
   * If you need historical aggregate trade data,
   * please consider using [data.binance.vision](https://github.com/binance/binance-public-data/#aggtrades).
   * Weight: 4
   *
   * @summary WebSocket Aggregate trades
   * @param {TradesAggregateRequest} requestParameters Request parameters.
   * @returns {Promise<TradesAggregateResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#aggregate-trades Binance API Documentation}
   */
  tradesAggregate(requestParameters: TradesAggregateRequest): Promise<WebsocketApiResponse<TradesAggregateResponse>>;
  /**
   * Get historical trades.
   * Weight: 25
   *
   * @summary WebSocket Historical trades
   * @param {TradesHistoricalRequest} requestParameters Request parameters.
   * @returns {Promise<TradesHistoricalResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#historical-trades Binance API Documentation}
   */
  tradesHistorical(requestParameters: TradesHistoricalRequest): Promise<WebsocketApiResponse<TradesHistoricalResponse>>;
  /**
   * Get recent trades.
   *
   * If you need access to real-time trading activity, please consider using WebSocket Streams:
   *
   * `<symbol>@trade`
   * Weight: 25
   *
   * @summary WebSocket Recent trades
   * @param {TradesRecentRequest} requestParameters Request parameters.
   * @returns {Promise<TradesRecentResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#recent-trades Binance API Documentation}
   */
  tradesRecent(requestParameters: TradesRecentRequest): Promise<WebsocketApiResponse<TradesRecentResponse>>;
  /**
   * Get klines (candlestick bars) optimized for presentation.
   *
   * This request is similar to `klines`, having the same parameters and response.
   * `uiKlines` return modified kline data, optimized for presentation of candlestick charts.
   * Weight: 2
   *
   * @summary WebSocket UI Klines
   * @param {UiKlinesRequest} requestParameters Request parameters.
   * @returns {Promise<UiKlinesResponse>}
   * @memberof MarketApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#ui-klines Binance API Documentation}
   */
  uiKlines(requestParameters: UiKlinesRequest): Promise<WebsocketApiResponse<UiKlinesResponse>>;
}
declare enum DepthSymbolStatusEnum {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum KlinesIntervalEnum {
  INTERVAL_1s = "1s",
  INTERVAL_1m = "1m",
  INTERVAL_3m = "3m",
  INTERVAL_5m = "5m",
  INTERVAL_15m = "15m",
  INTERVAL_30m = "30m",
  INTERVAL_1h = "1h",
  INTERVAL_2h = "2h",
  INTERVAL_4h = "4h",
  INTERVAL_6h = "6h",
  INTERVAL_8h = "8h",
  INTERVAL_12h = "12h",
  INTERVAL_1d = "1d",
  INTERVAL_3d = "3d",
  INTERVAL_1w = "1w",
  INTERVAL_1M = "1M",
}
declare enum ReferencePriceCalculationSymbolStatusEnum {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum TickerTypeEnum {
  FULL = "FULL",
  MINI = "MINI",
}
declare enum TickerWindowSizeEnum {
  WINDOW_SIZE_1m = "1m",
  WINDOW_SIZE_2m = "2m",
  WINDOW_SIZE_3m = "3m",
  WINDOW_SIZE_4m = "4m",
  WINDOW_SIZE_5m = "5m",
  WINDOW_SIZE_6m = "6m",
  WINDOW_SIZE_7m = "7m",
  WINDOW_SIZE_8m = "8m",
  WINDOW_SIZE_9m = "9m",
  WINDOW_SIZE_10m = "10m",
  WINDOW_SIZE_11m = "11m",
  WINDOW_SIZE_12m = "12m",
  WINDOW_SIZE_13m = "13m",
  WINDOW_SIZE_14m = "14m",
  WINDOW_SIZE_15m = "15m",
  WINDOW_SIZE_16m = "16m",
  WINDOW_SIZE_17m = "17m",
  WINDOW_SIZE_18m = "18m",
  WINDOW_SIZE_19m = "19m",
  WINDOW_SIZE_20m = "20m",
  WINDOW_SIZE_21m = "21m",
  WINDOW_SIZE_22m = "22m",
  WINDOW_SIZE_23m = "23m",
  WINDOW_SIZE_24m = "24m",
  WINDOW_SIZE_25m = "25m",
  WINDOW_SIZE_26m = "26m",
  WINDOW_SIZE_27m = "27m",
  WINDOW_SIZE_28m = "28m",
  WINDOW_SIZE_29m = "29m",
  WINDOW_SIZE_30m = "30m",
  WINDOW_SIZE_31m = "31m",
  WINDOW_SIZE_32m = "32m",
  WINDOW_SIZE_33m = "33m",
  WINDOW_SIZE_34m = "34m",
  WINDOW_SIZE_35m = "35m",
  WINDOW_SIZE_36m = "36m",
  WINDOW_SIZE_37m = "37m",
  WINDOW_SIZE_38m = "38m",
  WINDOW_SIZE_39m = "39m",
  WINDOW_SIZE_40m = "40m",
  WINDOW_SIZE_41m = "41m",
  WINDOW_SIZE_42m = "42m",
  WINDOW_SIZE_43m = "43m",
  WINDOW_SIZE_44m = "44m",
  WINDOW_SIZE_45m = "45m",
  WINDOW_SIZE_46m = "46m",
  WINDOW_SIZE_47m = "47m",
  WINDOW_SIZE_48m = "48m",
  WINDOW_SIZE_49m = "49m",
  WINDOW_SIZE_50m = "50m",
  WINDOW_SIZE_51m = "51m",
  WINDOW_SIZE_52m = "52m",
  WINDOW_SIZE_53m = "53m",
  WINDOW_SIZE_54m = "54m",
  WINDOW_SIZE_55m = "55m",
  WINDOW_SIZE_56m = "56m",
  WINDOW_SIZE_57m = "57m",
  WINDOW_SIZE_58m = "58m",
  WINDOW_SIZE_59m = "59m",
  WINDOW_SIZE_1h = "1h",
  WINDOW_SIZE_2h = "2h",
  WINDOW_SIZE_3h = "3h",
  WINDOW_SIZE_4h = "4h",
  WINDOW_SIZE_5h = "5h",
  WINDOW_SIZE_6h = "6h",
  WINDOW_SIZE_7h = "7h",
  WINDOW_SIZE_8h = "8h",
  WINDOW_SIZE_9h = "9h",
  WINDOW_SIZE_10h = "10h",
  WINDOW_SIZE_11h = "11h",
  WINDOW_SIZE_12h = "12h",
  WINDOW_SIZE_13h = "13h",
  WINDOW_SIZE_14h = "14h",
  WINDOW_SIZE_15h = "15h",
  WINDOW_SIZE_16h = "16h",
  WINDOW_SIZE_17h = "17h",
  WINDOW_SIZE_18h = "18h",
  WINDOW_SIZE_19h = "19h",
  WINDOW_SIZE_20h = "20h",
  WINDOW_SIZE_21h = "21h",
  WINDOW_SIZE_22h = "22h",
  WINDOW_SIZE_23h = "23h",
  WINDOW_SIZE_1d = "1d",
  WINDOW_SIZE_2d = "2d",
  WINDOW_SIZE_3d = "3d",
  WINDOW_SIZE_4d = "4d",
  WINDOW_SIZE_5d = "5d",
  WINDOW_SIZE_6d = "6d",
}
declare enum TickerSymbolStatusEnum {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum Ticker24hrTypeEnum {
  FULL = "FULL",
  MINI = "MINI",
}
declare enum Ticker24hrSymbolStatusEnum {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum TickerBookSymbolStatusEnum {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum TickerPriceSymbolStatusEnum {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum TickerTradingDayTypeEnum {
  FULL = "FULL",
  MINI = "MINI",
}
declare enum TickerTradingDaySymbolStatusEnum {
  TRADING = "TRADING",
  END_OF_DAY = "END_OF_DAY",
  HALT = "HALT",
  BREAK = "BREAK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum UiKlinesIntervalEnum {
  INTERVAL_1s = "1s",
  INTERVAL_1m = "1m",
  INTERVAL_3m = "3m",
  INTERVAL_5m = "5m",
  INTERVAL_15m = "15m",
  INTERVAL_30m = "30m",
  INTERVAL_1h = "1h",
  INTERVAL_2h = "2h",
  INTERVAL_4h = "4h",
  INTERVAL_6h = "6h",
  INTERVAL_8h = "8h",
  INTERVAL_12h = "12h",
  INTERVAL_1d = "1d",
  INTERVAL_3d = "3d",
  INTERVAL_1w = "1w",
  INTERVAL_1M = "1M",
}
//#endregion
//#region src/websocket-api/modules/trade-api.d.ts
/**
 * TradeApi - interface
 *
 * @interface TradeApi
 */
interface TradeApiInterface {
  /**
   * Cancel all open orders on a symbol.
   * This includes orders that are part of an order list.
   * Weight: 1
   *
   * @summary WebSocket Cancel open orders
   * @param {OpenOrdersCancelAllRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OpenOrdersCancelAllResponse>}
   * @memberof TradeApiInterface
   */
  openOrdersCancelAll(requestParameters: OpenOrdersCancelAllRequest): Promise<WebsocketApiResponse<OpenOrdersCancelAllResponse>>;
  /**
   * Reduce the quantity of an existing open order.
   *
   * This adds 0 orders to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   *
   * Read [Order Amend Keep Priority FAQ](faqs/order_amend_keep_priority.md) to learn more.
   * Weight: 4
   *
   * @summary WebSocket Order Amend Keep Priority
   * @param {OrderAmendKeepPriorityRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderAmendKeepPriorityResponse>}
   * @memberof TradeApiInterface
   */
  orderAmendKeepPriority(requestParameters: OrderAmendKeepPriorityRequest): Promise<WebsocketApiResponse<OrderAmendKeepPriorityResponse>>;
  /**
   * Cancel an active order.
   * Weight: 1
   *
   * @summary WebSocket Cancel order
   * @param {OrderCancelRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderCancelResponse>}
   * @memberof TradeApiInterface
   */
  orderCancel(requestParameters: OrderCancelRequest): Promise<WebsocketApiResponse<OrderCancelResponse>>;
  /**
   * * Cancel an existing order and immediately place a new order instead of the canceled one.
   * A new order that was not attempted (i.e. when `newOrderResult: NOT_ATTEMPTED`), will still increase the unfilled order count by 1.
   * You can only cancel an individual order from an orderList using this method, but the result is the same as canceling the entire orderList.
   * Weight: 1
   *
   * @summary WebSocket Cancel and replace order
   * @param {OrderCancelReplaceRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderCancelReplaceResponse>}
   * @memberof TradeApiInterface
   */
  orderCancelReplace(requestParameters: OrderCancelReplaceRequest): Promise<WebsocketApiResponse<OrderCancelReplaceResponse>>;
  /**
   * Cancel an active order list.
   * Weight: 1
   *
   * @summary WebSocket Cancel Order list
   * @param {OrderListCancelRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderListCancelResponse>}
   * @memberof TradeApiInterface
   */
  orderListCancel(requestParameters: OrderListCancelRequest): Promise<WebsocketApiResponse<OrderListCancelResponse>>;
  /**
   * Send in a new one-cancels-the-other (OCO) pair:
   * `LIMIT_MAKER` + `STOP_LOSS`/`STOP_LOSS_LIMIT` orders (called *legs*),
   * where activation of one order immediately cancels the other.
   *
   * This adds 1 order to `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter
   * Weight: 1
   *
   * Unfilled Order Count: 1
   *
   * @summary WebSocket Place new OCO - Deprecated
   * @param {OrderListPlaceRequest} requestParameters Request parameters.
   * @deprecated
   * @returns {Promise<OrderListPlaceResponse>}
   * @memberof TradeApiInterface
   */
  orderListPlace(requestParameters: OrderListPlaceRequest): Promise<WebsocketApiResponse<OrderListPlaceResponse>>;
  /**
   * Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
   *
   * An OCO has 2 orders called the **above order** and **below order**.
   * One of the orders must be a `LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMIT` order and the other must be `STOP_LOSS` or `STOP_LOSS_LIMIT` order.
   * Price restrictions:
   * If the OCO is on the `SELL` side:
   * `LIMIT_MAKER/TAKE_PROFIT_LIMIT` `price` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
   * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
   * If the OCO is on the `BUY` side:
   * `LIMIT_MAKER` `price` < Last Traded Price < `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
   * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
   * OCOs add **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary WebSocket Place new Order list - OCO
   * @param {OrderListPlaceOcoRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderListPlaceOcoResponse>}
   * @memberof TradeApiInterface
   */
  orderListPlaceOco(requestParameters: OrderListPlaceOcoRequest): Promise<WebsocketApiResponse<OrderListPlaceOcoResponse>>;
  /**
   * Place an [OPO](./faqs/opo.md).
   *
   * OPOs add 2 orders to the EXCHANGE_MAX_NUM_ORDERS filter and MAX_NUM_ORDERS filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary WebSocket OPO
   * @param {OrderListPlaceOpoRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderListPlaceOpoResponse>}
   * @memberof TradeApiInterface
   */
  orderListPlaceOpo(requestParameters: OrderListPlaceOpoRequest): Promise<WebsocketApiResponse<OrderListPlaceOpoResponse>>;
  /**
   * Place an [OPOCO](./faqs/opo.md).
   * Weight: 1
   *
   * Unfilled Order Count: 3
   *
   * @summary WebSocket OPOCO
   * @param {OrderListPlaceOpocoRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderListPlaceOpocoResponse>}
   * @memberof TradeApiInterface
   */
  orderListPlaceOpoco(requestParameters: OrderListPlaceOpocoRequest): Promise<WebsocketApiResponse<OrderListPlaceOpocoResponse>>;
  /**
   * Places an OTO.
   *
   * An OTO (One-Triggers-the-Other) is an order list comprised of 2 orders.
   * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
   * The second order is called the **pending order**. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets **fully filled**.
   * If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired.
   * When the order list is placed, if the working order gets **immediately fully filled**, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status.
   * OTOs add **2 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary WebSocket Place new Order list - OTO
   * @param {OrderListPlaceOtoRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderListPlaceOtoResponse>}
   * @memberof TradeApiInterface
   */
  orderListPlaceOto(requestParameters: OrderListPlaceOtoRequest): Promise<WebsocketApiResponse<OrderListPlaceOtoResponse>>;
  /**
   * Place an OTOCO.
   *
   * An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders.
   * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
   * The behavior of the working order is the same as the [OTO](#place-new-order-list---oto-trade).
   * OTOCO has 2 pending orders (pending above and pending below), forming an OCO pair. The pending orders are only placed on the order book when the working order gets **fully filled**.
   * The rules of the pending above and pending below follow the same rules as the [Order list OCO](#new-order-list---oco-trade).
   * OTOCOs add **3 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 3
   *
   * @summary WebSocket Place new Order list - OTOCO
   * @param {OrderListPlaceOtocoRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderListPlaceOtocoResponse>}
   * @memberof TradeApiInterface
   */
  orderListPlaceOtoco(requestParameters: OrderListPlaceOtocoRequest): Promise<WebsocketApiResponse<OrderListPlaceOtocoResponse>>;
  /**
   * Send in a new order.
   *
   * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * @summary WebSocket Place new order
   * @param {OrderPlaceRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderPlaceResponse>}
   * @memberof TradeApiInterface
   */
  orderPlace(requestParameters: OrderPlaceRequest): Promise<WebsocketApiResponse<OrderPlaceResponse>>;
  /**
   * Test order placement.
   *
   * Validates new order parameters and verifies your signature
   * but does not send the order into the matching engine.
   * Weight: |Condition| Request Weight|
   * |------------           | ------------ |
   * |Without `computeCommissionRates`| 1|
   * |With `computeCommissionRates`|20|
   *
   * @summary WebSocket Test new order
   * @param {OrderTestRequest} requestParameters Request parameters.
   *
   * @returns {Promise<OrderTestResponse>}
   * @memberof TradeApiInterface
   */
  orderTest(requestParameters: OrderTestRequest): Promise<WebsocketApiResponse<OrderTestResponse>>;
  /**
   * Places an order using smart order routing (SOR).
   *
   * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   *
   * Read [SOR FAQ](faqs/sor_faq.md) to learn more.
   * Weight: 1
   *
   * Unfilled Order Count: 1
   *
   * @summary WebSocket Place new order using SOR
   * @param {SorOrderPlaceRequest} requestParameters Request parameters.
   *
   * @returns {Promise<SorOrderPlaceResponse>}
   * @memberof TradeApiInterface
   */
  sorOrderPlace(requestParameters: SorOrderPlaceRequest): Promise<WebsocketApiResponse<SorOrderPlaceResponse>>;
  /**
   * Test new order creation and signature/recvWindow using smart order routing (SOR).
   * Creates and validates a new order but does not send it into the matching engine.
   * Weight: |Condition                       | Request Weight|
   * |------------                    | ------------ |
   * |Without `computeCommissionRates`| 1            |
   * |With `computeCommissionRates`   |20            |
   *
   * @summary WebSocket Test new order using SOR
   * @param {SorOrderTestRequest} requestParameters Request parameters.
   *
   * @returns {Promise<SorOrderTestResponse>}
   * @memberof TradeApiInterface
   */
  sorOrderTest(requestParameters: SorOrderTestRequest): Promise<WebsocketApiResponse<SorOrderTestResponse>>;
}
/**
 * Request parameters for openOrdersCancelAll operation in TradeApi.
 * @interface OpenOrdersCancelAllRequest
 */
interface OpenOrdersCancelAllRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOpenOrdersCancelAll
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOpenOrdersCancelAll
   */
  readonly id?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOpenOrdersCancelAll
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderAmendKeepPriority operation in TradeApi.
 * @interface OrderAmendKeepPriorityRequest
 */
interface OrderAmendKeepPriorityRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly symbol: string;
  /**
   * `newQty` must be greater than 0 and less than the order's quantity.
   * @type {number}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly newQty: number;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly id?: string;
  /**
   * `orderId`or`origClientOrderId`mustbesent
   * @type {number | bigint}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly orderId?: number | bigint;
  /**
   * `orderId`or`origClientOrderId`mustbesent
   * @type {string}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly origClientOrderId?: string;
  /**
   * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
   * @type {string}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly newClientOrderId?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderAmendKeepPriority
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderCancel operation in TradeApi.
 * @interface OrderCancelRequest
 */
interface OrderCancelRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderCancel
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOrderCancel
   */
  readonly id?: string;
  /**
   * `orderId`or`origClientOrderId`mustbesent
   * @type {number | bigint}
   * @memberof TradeApiOrderCancel
   */
  readonly orderId?: number | bigint;
  /**
   * `orderId`or`origClientOrderId`mustbesent
   * @type {string}
   * @memberof TradeApiOrderCancel
   */
  readonly origClientOrderId?: string;
  /**
   * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
   * @type {string}
   * @memberof TradeApiOrderCancel
   */
  readonly newClientOrderId?: string;
  /**
   *
   * @type {'ONLY_NEW' | 'NEW' | 'ONLY_PARTIALLY_FILLED' | 'PARTIALLY_FILLED'}
   * @memberof TradeApiOrderCancel
   */
  readonly cancelRestrictions?: OrderCancelCancelRestrictionsEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderCancel
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderCancelReplace operation in TradeApi.
 * @interface OrderCancelReplaceRequest
 */
interface OrderCancelReplaceRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly symbol: string;
  /**
   *
   * @type {'STOP_ON_FAILURE' | 'ALLOW_FAILURE'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly cancelReplaceMode: OrderCancelReplaceCancelReplaceModeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly side: OrderCancelReplaceSideEnum;
  /**
   *
   * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly type: OrderCancelReplaceTypeEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly id?: string;
  /**
   * Cancel order by orderId
   * @type {number | bigint}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly cancelOrderId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly cancelOrigClientOrderId?: string;
  /**
   * New ID for the canceled order. Automatically generated if not sent
   * @type {string}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly cancelNewClientOrderId?: string;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly timeInForce?: OrderCancelReplaceTimeInForceEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly price?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly quantity?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly quoteOrderQty?: number;
  /**
   * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
   * @type {string}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly newClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly newOrderRespType?: OrderCancelReplaceNewOrderRespTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly stopPrice?: number;
  /**
   * See Trailing Stop order FAQ
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly trailingDelta?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly icebergQty?: number;
  /**
   * Arbitrary numeric value identifying the order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly strategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the order strategy.
   * Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly strategyType?: number;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly selfTradePreventionMode?: OrderCancelReplaceSelfTradePreventionModeEnum;
  /**
   *
   * @type {'ONLY_NEW' | 'NEW' | 'ONLY_PARTIALLY_FILLED' | 'PARTIALLY_FILLED'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly cancelRestrictions?: OrderCancelReplaceCancelRestrictionsEnum;
  /**
   *
   * @type {'DO_NOTHING' | 'CANCEL_ONLY'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly orderRateLimitExceededMode?: OrderCancelReplaceOrderRateLimitExceededModeEnum;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly pegPriceType?: OrderCancelReplacePegPriceTypeEnum;
  /**
   * Price level to peg the price to (max: 100)
   * See Pegged Orders
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly pegOffsetValue?: number;
  /**
   *
   * @type {'PRICE_LEVEL' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly pegOffsetType?: OrderCancelReplacePegOffsetTypeEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderCancelReplace
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListCancel operation in TradeApi.
 * @interface OrderListCancelRequest
 */
interface OrderListCancelRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListCancel
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOrderListCancel
   */
  readonly id?: string;
  /**
   * Cancel order list by orderListId
   * @type {number}
   * @memberof TradeApiOrderListCancel
   */
  readonly orderListId?: number;
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListCancel
   */
  readonly listClientOrderId?: string;
  /**
   * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
   * @type {string}
   * @memberof TradeApiOrderListCancel
   */
  readonly newClientOrderId?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderListCancel
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListPlace operation in TradeApi.
 * @interface OrderListPlaceRequest
 */
interface OrderListPlaceRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlace
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListPlace
   */
  readonly side: OrderListPlaceSideEnum;
  /**
   * Price for the limit order
   * @type {number}
   * @memberof TradeApiOrderListPlace
   */
  readonly price: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlace
   */
  readonly quantity: number;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOrderListPlace
   */
  readonly id?: string;
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlace
   */
  readonly listClientOrderId?: string;
  /**
   * Arbitrary unique ID among open orders for the limit order. Automatically generated if not sent
   * @type {string}
   * @memberof TradeApiOrderListPlace
   */
  readonly limitClientOrderId?: string;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlace
   */
  readonly limitIcebergQty?: number;
  /**
   * Arbitrary numeric value identifying the limit order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlace
   */
  readonly limitStrategyId?: number | bigint;
  /**
   * <p>Arbitrary numeric value identifying the limit order strategy.</p><p>Values smaller than `1000000` are reserved and cannot be used.</p>
   * @type {number}
   * @memberof TradeApiOrderListPlace
   */
  readonly limitStrategyType?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlace
   */
  readonly stopPrice?: number;
  /**
   * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md)
   * @type {number}
   * @memberof TradeApiOrderListPlace
   */
  readonly trailingDelta?: number;
  /**
   * Arbitrary unique ID among open orders for the stop order. Automatically generated if not sent
   * @type {string}
   * @memberof TradeApiOrderListPlace
   */
  readonly stopClientOrderId?: string;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlace
   */
  readonly stopLimitPrice?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlace
   */
  readonly stopLimitTimeInForce?: OrderListPlaceStopLimitTimeInForceEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlace
   */
  readonly stopIcebergQty?: number;
  /**
   * Arbitrary numeric value identifying the stop order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlace
   */
  readonly stopStrategyId?: number | bigint;
  /**
   * <p>Arbitrary numeric value identifying the stop order strategy.</p><p>Values smaller than `1000000` are reserved and cannot be used.</p>
   * @type {number}
   * @memberof TradeApiOrderListPlace
   */
  readonly stopStrategyType?: number;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderListPlace
   */
  readonly newOrderRespType?: OrderListPlaceNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderListPlace
   */
  readonly selfTradePreventionMode?: OrderListPlaceSelfTradePreventionModeEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderListPlace
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListPlaceOco operation in TradeApi.
 * @interface OrderListPlaceOcoRequest
 */
interface OrderListPlaceOcoRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly side: OrderListPlaceOcoSideEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly quantity: number;
  /**
   *
   * @type {'STOP_LOSS_LIMIT' | 'STOP_LOSS' | 'LIMIT_MAKER' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly aboveType: OrderListPlaceOcoAboveTypeEnum;
  /**
   *
   * @type {'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly belowType: OrderListPlaceOcoBelowTypeEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly id?: string;
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly listClientOrderId?: string;
  /**
   * Arbitrary unique ID among open orders for the above order. Automatically generated if not sent
   * @type {string}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly aboveClientOrderId?: string;
  /**
   * Note that this can only be used if `aboveTimeInForce` is `GTC`.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly aboveIcebergQty?: number | bigint;
  /**
   * Can be used if `aboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly abovePrice?: number;
  /**
   * Can be used if `aboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT`. <br>Either `aboveStopPrice` or `aboveTrailingDelta` or both, must be specified.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly aboveStopPrice?: number;
  /**
   * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly aboveTrailingDelta?: number | bigint;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly aboveTimeInForce?: OrderListPlaceOcoAboveTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the above order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly aboveStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the above order strategy. <br>Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly aboveStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly abovePegPriceType?: OrderListPlaceOcoAbovePegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly abovePegOffsetType?: OrderListPlaceOcoAbovePegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly abovePegOffsetValue?: number;
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly belowClientOrderId?: string;
  /**
   * Note that this can only be used if `belowTimeInForce` is `GTC`.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly belowIcebergQty?: number | bigint;
  /**
   * Can be used if `belowType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly belowPrice?: number;
  /**
   * Can be used if `belowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT` or `TAKE_PROFIT_LIMIT`. <br>Either `belowStopPrice` or `belowTrailingDelta` or both, must be specified.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly belowStopPrice?: number;
  /**
   * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly belowTrailingDelta?: number | bigint;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly belowTimeInForce?: OrderListPlaceOcoBelowTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the below order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly belowStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the below order strategy. <br>Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly belowStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly belowPegPriceType?: OrderListPlaceOcoBelowPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly belowPegOffsetType?: OrderListPlaceOcoBelowPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly belowPegOffsetValue?: number;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly newOrderRespType?: OrderListPlaceOcoNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly selfTradePreventionMode?: OrderListPlaceOcoSelfTradePreventionModeEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOco
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListPlaceOpo operation in TradeApi.
 * @interface OrderListPlaceOpoRequest
 */
interface OrderListPlaceOpoRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly symbol: string;
  /**
   *
   * @type {'LIMIT' | 'LIMIT_MAKER'}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly workingType: OrderListPlaceOpoWorkingTypeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly workingSide: OrderListPlaceOpoWorkingSideEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly workingPrice: number;
  /**
   * Sets the quantity for the working order.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly workingQuantity: number;
  /**
   *
   * @type {'LIMIT' | 'MARKET' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER'}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingType: OrderListPlaceOpoPendingTypeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingSide: OrderListPlaceOpoPendingSideEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly id?: string;
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly listClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly newOrderRespType?: OrderListPlaceOpoNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly selfTradePreventionMode?: OrderListPlaceOpoSelfTradePreventionModeEnum;
  /**
   * Arbitrary unique ID among open orders for the working order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly workingClientOrderId?: string;
  /**
   * This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly workingIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly workingTimeInForce?: OrderListPlaceOpoWorkingTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the working order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly workingStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly workingStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly workingPegPriceType?: OrderListPlaceOpoWorkingPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly workingPegOffsetType?: OrderListPlaceOpoWorkingPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly workingPegOffsetValue?: number;
  /**
   * Arbitrary unique ID among open orders for the pending order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingClientOrderId?: string;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingPrice?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingStopPrice?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingTrailingDelta?: number;
  /**
   * This can only be used if `pendingTimeInForce` is `GTC` or if `pendingType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingTimeInForce?: OrderListPlaceOpoPendingTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the pending order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the pending order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingPegPriceType?: OrderListPlaceOpoPendingPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingPegOffsetType?: OrderListPlaceOpoPendingPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly pendingPegOffsetValue?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpo
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListPlaceOpoco operation in TradeApi.
 * @interface OrderListPlaceOpocoRequest
 */
interface OrderListPlaceOpocoRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly symbol: string;
  /**
   *
   * @type {'LIMIT' | 'LIMIT_MAKER'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly workingType: OrderListPlaceOpocoWorkingTypeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly workingSide: OrderListPlaceOpocoWorkingSideEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly workingPrice: number;
  /**
   * Sets the quantity for the working order.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly workingQuantity: number;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingSide: OrderListPlaceOpocoPendingSideEnum;
  /**
   *
   * @type {'STOP_LOSS_LIMIT' | 'STOP_LOSS' | 'LIMIT_MAKER' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingAboveType: OrderListPlaceOpocoPendingAboveTypeEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly id?: string;
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly listClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly newOrderRespType?: OrderListPlaceOpocoNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly selfTradePreventionMode?: OrderListPlaceOpocoSelfTradePreventionModeEnum;
  /**
   * Arbitrary unique ID among open orders for the working order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly workingClientOrderId?: string;
  /**
   * This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly workingIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly workingTimeInForce?: OrderListPlaceOpocoWorkingTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the working order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly workingStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly workingStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly workingPegPriceType?: OrderListPlaceOpocoWorkingPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly workingPegOffsetType?: OrderListPlaceOpocoWorkingPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly workingPegOffsetValue?: number;
  /**
   * Arbitrary unique ID among open orders for the pending above order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingAboveClientOrderId?: string;
  /**
   * Can be used if `pendingAboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingAbovePrice?: number;
  /**
   * Can be used if `pendingAboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT`
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingAboveStopPrice?: number;
  /**
   * See [Trailing Stop FAQ](./faqs/trailing-stop-faq.md)
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingAboveTrailingDelta?: number;
  /**
   * This can only be used if `pendingAboveTimeInForce` is `GTC` or if `pendingAboveType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingAboveIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingAboveTimeInForce?: OrderListPlaceOpocoPendingAboveTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the pending above order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingAboveStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the pending above order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingAboveStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingAbovePegPriceType?: OrderListPlaceOpocoPendingAbovePegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingAbovePegOffsetType?: OrderListPlaceOpocoPendingAbovePegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingAbovePegOffsetValue?: number;
  /**
   *
   * @type {'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingBelowType?: OrderListPlaceOpocoPendingBelowTypeEnum;
  /**
   * Arbitrary unique ID among open orders for the pending below order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingBelowClientOrderId?: string;
  /**
   * Can be used if `pendingBelowType` is `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` to specify limit price
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingBelowPrice?: number;
  /**
   * Can be used if `pendingBelowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT, TAKE_PROFIT or TAKE_PROFIT_LIMIT`. Either `pendingBelowStopPrice` or `pendingBelowTrailingDelta` or both, must be specified.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingBelowStopPrice?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingBelowTrailingDelta?: number;
  /**
   * This can only be used if `pendingBelowTimeInForce` is `GTC`, or if `pendingBelowType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingBelowIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingBelowTimeInForce?: OrderListPlaceOpocoPendingBelowTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the pending below order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingBelowStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the pending below order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingBelowStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingBelowPegPriceType?: OrderListPlaceOpocoPendingBelowPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingBelowPegOffsetType?: OrderListPlaceOpocoPendingBelowPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly pendingBelowPegOffsetValue?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOpoco
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListPlaceOto operation in TradeApi.
 * @interface OrderListPlaceOtoRequest
 */
interface OrderListPlaceOtoRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly symbol: string;
  /**
   *
   * @type {'LIMIT' | 'LIMIT_MAKER'}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly workingType: OrderListPlaceOtoWorkingTypeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly workingSide: OrderListPlaceOtoWorkingSideEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly workingPrice: number;
  /**
   * Sets the quantity for the working order.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly workingQuantity: number;
  /**
   *
   * @type {'LIMIT' | 'MARKET' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER'}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingType: OrderListPlaceOtoPendingTypeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingSide: OrderListPlaceOtoPendingSideEnum;
  /**
   * Sets the quantity for the pending order.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingQuantity: number;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly id?: string;
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly listClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly newOrderRespType?: OrderListPlaceOtoNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly selfTradePreventionMode?: OrderListPlaceOtoSelfTradePreventionModeEnum;
  /**
   * Arbitrary unique ID among open orders for the working order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly workingClientOrderId?: string;
  /**
   * This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly workingIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly workingTimeInForce?: OrderListPlaceOtoWorkingTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the working order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly workingStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly workingStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly workingPegPriceType?: OrderListPlaceOtoWorkingPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly workingPegOffsetType?: OrderListPlaceOtoWorkingPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly workingPegOffsetValue?: number;
  /**
   * Arbitrary unique ID among open orders for the pending order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingClientOrderId?: string;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingPrice?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingStopPrice?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingTrailingDelta?: number;
  /**
   * This can only be used if `pendingTimeInForce` is `GTC` or if `pendingType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingTimeInForce?: OrderListPlaceOtoPendingTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the pending order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the pending order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingStrategyType?: number;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingPegOffsetType?: OrderListPlaceOtoPendingPegOffsetTypeEnum;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingPegPriceType?: OrderListPlaceOtoPendingPegPriceTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly pendingPegOffsetValue?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOto
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderListPlaceOtoco operation in TradeApi.
 * @interface OrderListPlaceOtocoRequest
 */
interface OrderListPlaceOtocoRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly symbol: string;
  /**
   *
   * @type {'LIMIT' | 'LIMIT_MAKER'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly workingType: OrderListPlaceOtocoWorkingTypeEnum;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly workingSide: OrderListPlaceOtocoWorkingSideEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly workingPrice: number;
  /**
   * Sets the quantity for the working order.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly workingQuantity: number;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingSide: OrderListPlaceOtocoPendingSideEnum;
  /**
   * Sets the quantity for the pending order.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingQuantity: number;
  /**
   *
   * @type {'STOP_LOSS_LIMIT' | 'STOP_LOSS' | 'LIMIT_MAKER' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingAboveType: OrderListPlaceOtocoPendingAboveTypeEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly id?: string;
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly listClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly newOrderRespType?: OrderListPlaceOtocoNewOrderRespTypeEnum;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly selfTradePreventionMode?: OrderListPlaceOtocoSelfTradePreventionModeEnum;
  /**
   * Arbitrary unique ID among open orders for the working order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly workingClientOrderId?: string;
  /**
   * This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly workingIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly workingTimeInForce?: OrderListPlaceOtocoWorkingTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the working order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly workingStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly workingStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly workingPegPriceType?: OrderListPlaceOtocoWorkingPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly workingPegOffsetType?: OrderListPlaceOtocoWorkingPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly workingPegOffsetValue?: number;
  /**
   * Arbitrary unique ID among open orders for the pending above order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingAboveClientOrderId?: string;
  /**
   * Can be used if `pendingAboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingAbovePrice?: number;
  /**
   * Can be used if `pendingAboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT`
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingAboveStopPrice?: number;
  /**
   * See [Trailing Stop FAQ](./faqs/trailing-stop-faq.md)
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingAboveTrailingDelta?: number;
  /**
   * This can only be used if `pendingAboveTimeInForce` is `GTC` or if `pendingAboveType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingAboveIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingAboveTimeInForce?: OrderListPlaceOtocoPendingAboveTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the pending above order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingAboveStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the pending above order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingAboveStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingAbovePegPriceType?: OrderListPlaceOtocoPendingAbovePegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingAbovePegOffsetType?: OrderListPlaceOtocoPendingAbovePegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingAbovePegOffsetValue?: number;
  /**
   *
   * @type {'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingBelowType?: OrderListPlaceOtocoPendingBelowTypeEnum;
  /**
   * Arbitrary unique ID among open orders for the pending below order. Automatically generated if not sent.
   * @type {string}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingBelowClientOrderId?: string;
  /**
   * Can be used if `pendingBelowType` is `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` to specify limit price
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingBelowPrice?: number;
  /**
   * Can be used if `pendingBelowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT, TAKE_PROFIT or TAKE_PROFIT_LIMIT`. Either `pendingBelowStopPrice` or `pendingBelowTrailingDelta` or both, must be specified.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingBelowStopPrice?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingBelowTrailingDelta?: number;
  /**
   * This can only be used if `pendingBelowTimeInForce` is `GTC`, or if `pendingBelowType` is `LIMIT_MAKER`.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingBelowIcebergQty?: number;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingBelowTimeInForce?: OrderListPlaceOtocoPendingBelowTimeInForceEnum;
  /**
   * Arbitrary numeric value identifying the pending below order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingBelowStrategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the pending below order strategy. Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingBelowStrategyType?: number;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingBelowPegPriceType?: OrderListPlaceOtocoPendingBelowPegPriceTypeEnum;
  /**
   *
   * @type {'PRICE_LEVEL'}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingBelowPegOffsetType?: OrderListPlaceOtocoPendingBelowPegOffsetTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly pendingBelowPegOffsetValue?: number;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderListPlaceOtoco
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderPlace operation in TradeApi.
 * @interface OrderPlaceRequest
 */
interface OrderPlaceRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderPlace
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderPlace
   */
  readonly side: OrderPlaceSideEnum;
  /**
   *
   * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderPlace
   */
  readonly type: OrderPlaceTypeEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOrderPlace
   */
  readonly id?: string;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderPlace
   */
  readonly timeInForce?: OrderPlaceTimeInForceEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderPlace
   */
  readonly price?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderPlace
   */
  readonly quantity?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderPlace
   */
  readonly quoteOrderQty?: number;
  /**
   * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
   * @type {string}
   * @memberof TradeApiOrderPlace
   */
  readonly newClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderPlace
   */
  readonly newOrderRespType?: OrderPlaceNewOrderRespTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderPlace
   */
  readonly stopPrice?: number;
  /**
   * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md)
   * @type {number}
   * @memberof TradeApiOrderPlace
   */
  readonly trailingDelta?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderPlace
   */
  readonly icebergQty?: number;
  /**
   * Arbitrary numeric value identifying the order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderPlace
   */
  readonly strategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the order strategy.
   * Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderPlace
   */
  readonly strategyType?: number;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderPlace
   */
  readonly selfTradePreventionMode?: OrderPlaceSelfTradePreventionModeEnum;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderPlace
   */
  readonly pegPriceType?: OrderPlacePegPriceTypeEnum;
  /**
   * Price level to peg the price to (max: 100)
   * See Pegged Orders
   * @type {number}
   * @memberof TradeApiOrderPlace
   */
  readonly pegOffsetValue?: number;
  /**
   *
   * @type {'PRICE_LEVEL' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderPlace
   */
  readonly pegOffsetType?: OrderPlacePegOffsetTypeEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderPlace
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for orderTest operation in TradeApi.
 * @interface OrderTestRequest
 */
interface OrderTestRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiOrderTest
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiOrderTest
   */
  readonly side: OrderTestSideEnum;
  /**
   *
   * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderTest
   */
  readonly type: OrderTestTypeEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiOrderTest
   */
  readonly id?: string;
  /**
   * Default: `false` <br> See [Commissions FAQ](faqs/commission_faq.md#test-order-diferences) to learn more.
   * @type {boolean}
   * @memberof TradeApiOrderTest
   */
  readonly computeCommissionRates?: boolean;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderTest
   */
  readonly timeInForce?: OrderTestTimeInForceEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly price?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly quantity?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly quoteOrderQty?: number;
  /**
   * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
   * @type {string}
   * @memberof TradeApiOrderTest
   */
  readonly newClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiOrderTest
   */
  readonly newOrderRespType?: OrderTestNewOrderRespTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly stopPrice?: number;
  /**
   * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md)
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly trailingDelta?: number;
  /**
   *
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly icebergQty?: number;
  /**
   * Arbitrary numeric value identifying the order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiOrderTest
   */
  readonly strategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the order strategy.
   * Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly strategyType?: number;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderTest
   */
  readonly selfTradePreventionMode?: OrderTestSelfTradePreventionModeEnum;
  /**
   *
   * @type {'PRIMARY_PEG' | 'MARKET_PEG' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderTest
   */
  readonly pegPriceType?: OrderTestPegPriceTypeEnum;
  /**
   * Price level to peg the price to (max: 100)
   * See Pegged Orders
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly pegOffsetValue?: number;
  /**
   *
   * @type {'PRICE_LEVEL' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiOrderTest
   */
  readonly pegOffsetType?: OrderTestPegOffsetTypeEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiOrderTest
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for sorOrderPlace operation in TradeApi.
 * @interface SorOrderPlaceRequest
 */
interface SorOrderPlaceRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiSorOrderPlace
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiSorOrderPlace
   */
  readonly side: SorOrderPlaceSideEnum;
  /**
   *
   * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiSorOrderPlace
   */
  readonly type: SorOrderPlaceTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiSorOrderPlace
   */
  readonly quantity: number;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiSorOrderPlace
   */
  readonly id?: string;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiSorOrderPlace
   */
  readonly timeInForce?: SorOrderPlaceTimeInForceEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiSorOrderPlace
   */
  readonly price?: number;
  /**
   * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
   * @type {string}
   * @memberof TradeApiSorOrderPlace
   */
  readonly newClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiSorOrderPlace
   */
  readonly newOrderRespType?: SorOrderPlaceNewOrderRespTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiSorOrderPlace
   */
  readonly icebergQty?: number;
  /**
   * Arbitrary numeric value identifying the order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiSorOrderPlace
   */
  readonly strategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the order strategy.
   * Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiSorOrderPlace
   */
  readonly strategyType?: number;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiSorOrderPlace
   */
  readonly selfTradePreventionMode?: SorOrderPlaceSelfTradePreventionModeEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiSorOrderPlace
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for sorOrderTest operation in TradeApi.
 * @interface SorOrderTestRequest
 */
interface SorOrderTestRequest {
  /**
   *
   * @type {string}
   * @memberof TradeApiSorOrderTest
   */
  readonly symbol: string;
  /**
   *
   * @type {'BUY' | 'SELL'}
   * @memberof TradeApiSorOrderTest
   */
  readonly side: SorOrderTestSideEnum;
  /**
   *
   * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiSorOrderTest
   */
  readonly type: SorOrderTestTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiSorOrderTest
   */
  readonly quantity: number;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof TradeApiSorOrderTest
   */
  readonly id?: string;
  /**
   * Default: `false` <br> See [Commissions FAQ](faqs/commission_faq.md#test-order-diferences) to learn more.
   * @type {boolean}
   * @memberof TradeApiSorOrderTest
   */
  readonly computeCommissionRates?: boolean;
  /**
   *
   * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiSorOrderTest
   */
  readonly timeInForce?: SorOrderTestTimeInForceEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiSorOrderTest
   */
  readonly price?: number;
  /**
   * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
   * @type {string}
   * @memberof TradeApiSorOrderTest
   */
  readonly newClientOrderId?: string;
  /**
   *
   * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
   * @memberof TradeApiSorOrderTest
   */
  readonly newOrderRespType?: SorOrderTestNewOrderRespTypeEnum;
  /**
   *
   * @type {number}
   * @memberof TradeApiSorOrderTest
   */
  readonly icebergQty?: number;
  /**
   * Arbitrary numeric value identifying the order within an order strategy.
   * @type {number | bigint}
   * @memberof TradeApiSorOrderTest
   */
  readonly strategyId?: number | bigint;
  /**
   * Arbitrary numeric value identifying the order strategy.
   * Values smaller than 1000000 are reserved and cannot be used.
   * @type {number}
   * @memberof TradeApiSorOrderTest
   */
  readonly strategyType?: number;
  /**
   *
   * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'TRANSFER' | 'NON_REPRESENTABLE'}
   * @memberof TradeApiSorOrderTest
   */
  readonly selfTradePreventionMode?: SorOrderTestSelfTradePreventionModeEnum;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof TradeApiSorOrderTest
   */
  readonly recvWindow?: number;
}
/**
 * TradeApi - object-oriented interface
 * @class TradeApi
 * @extends {WebsocketAPIBase}
 */
declare class TradeApi implements TradeApiInterface {
  private readonly websocketBase;
  constructor(websocketBase: WebsocketAPIBase);
  /**
   * Cancel all open orders on a symbol.
   * This includes orders that are part of an order list.
   * Weight: 1
   *
   * @summary WebSocket Cancel open orders
   * @param {OpenOrdersCancelAllRequest} requestParameters Request parameters.
   * @returns {Promise<OpenOrdersCancelAllResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-open-orders-trade Binance API Documentation}
   */
  openOrdersCancelAll(requestParameters: OpenOrdersCancelAllRequest): Promise<WebsocketApiResponse<OpenOrdersCancelAllResponse>>;
  /**
   * Reduce the quantity of an existing open order.
   *
   * This adds 0 orders to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   *
   * Read [Order Amend Keep Priority FAQ](faqs/order_amend_keep_priority.md) to learn more.
   * Weight: 4
   *
   * @summary WebSocket Order Amend Keep Priority
   * @param {OrderAmendKeepPriorityRequest} requestParameters Request parameters.
   * @returns {Promise<OrderAmendKeepPriorityResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#order-amend-keep-priority-trade Binance API Documentation}
   */
  orderAmendKeepPriority(requestParameters: OrderAmendKeepPriorityRequest): Promise<WebsocketApiResponse<OrderAmendKeepPriorityResponse>>;
  /**
   * Cancel an active order.
   * Weight: 1
   *
   * @summary WebSocket Cancel order
   * @param {OrderCancelRequest} requestParameters Request parameters.
   * @returns {Promise<OrderCancelResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-order-trade Binance API Documentation}
   */
  orderCancel(requestParameters: OrderCancelRequest): Promise<WebsocketApiResponse<OrderCancelResponse>>;
  /**
   * * Cancel an existing order and immediately place a new order instead of the canceled one.
   * A new order that was not attempted (i.e. when `newOrderResult: NOT_ATTEMPTED`), will still increase the unfilled order count by 1.
   * You can only cancel an individual order from an orderList using this method, but the result is the same as canceling the entire orderList.
   * Weight: 1
   *
   * @summary WebSocket Cancel and replace order
   * @param {OrderCancelReplaceRequest} requestParameters Request parameters.
   * @returns {Promise<OrderCancelReplaceResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-and-replace-order-trade Binance API Documentation}
   */
  orderCancelReplace(requestParameters: OrderCancelReplaceRequest): Promise<WebsocketApiResponse<OrderCancelReplaceResponse>>;
  /**
   * Cancel an active order list.
   * Weight: 1
   *
   * @summary WebSocket Cancel Order list
   * @param {OrderListCancelRequest} requestParameters Request parameters.
   * @returns {Promise<OrderListCancelResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-order-list-trade Binance API Documentation}
   */
  orderListCancel(requestParameters: OrderListCancelRequest): Promise<WebsocketApiResponse<OrderListCancelResponse>>;
  /**
   * Send in a new one-cancels-the-other (OCO) pair:
   * `LIMIT_MAKER` + `STOP_LOSS`/`STOP_LOSS_LIMIT` orders (called *legs*),
   * where activation of one order immediately cancels the other.
   *
   * This adds 1 order to `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter
   * Weight: 1
   *
   * Unfilled Order Count: 1
   *
   * @summary WebSocket Place new OCO - Deprecated
   * @param {OrderListPlaceRequest} requestParameters Request parameters.
   * @returns {Promise<OrderListPlaceResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-oco---deprecated-trade Binance API Documentation}
   */
  orderListPlace(requestParameters: OrderListPlaceRequest): Promise<WebsocketApiResponse<OrderListPlaceResponse>>;
  /**
   * Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
   *
   * An OCO has 2 orders called the **above order** and **below order**.
   * One of the orders must be a `LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMIT` order and the other must be `STOP_LOSS` or `STOP_LOSS_LIMIT` order.
   * Price restrictions:
   * If the OCO is on the `SELL` side:
   * `LIMIT_MAKER/TAKE_PROFIT_LIMIT` `price` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
   * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
   * If the OCO is on the `BUY` side:
   * `LIMIT_MAKER` `price` < Last Traded Price < `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
   * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
   * OCOs add **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary WebSocket Place new Order list - OCO
   * @param {OrderListPlaceOcoRequest} requestParameters Request parameters.
   * @returns {Promise<OrderListPlaceOcoResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-list---oco-trade Binance API Documentation}
   */
  orderListPlaceOco(requestParameters: OrderListPlaceOcoRequest): Promise<WebsocketApiResponse<OrderListPlaceOcoResponse>>;
  /**
   * Place an [OPO](./faqs/opo.md).
   *
   * OPOs add 2 orders to the EXCHANGE_MAX_NUM_ORDERS filter and MAX_NUM_ORDERS filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary WebSocket OPO
   * @param {OrderListPlaceOpoRequest} requestParameters Request parameters.
   * @returns {Promise<OrderListPlaceOpoResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#opo-trade Binance API Documentation}
   */
  orderListPlaceOpo(requestParameters: OrderListPlaceOpoRequest): Promise<WebsocketApiResponse<OrderListPlaceOpoResponse>>;
  /**
   * Place an [OPOCO](./faqs/opo.md).
   * Weight: 1
   *
   * Unfilled Order Count: 3
   *
   * @summary WebSocket OPOCO
   * @param {OrderListPlaceOpocoRequest} requestParameters Request parameters.
   * @returns {Promise<OrderListPlaceOpocoResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#opoco-trade Binance API Documentation}
   */
  orderListPlaceOpoco(requestParameters: OrderListPlaceOpocoRequest): Promise<WebsocketApiResponse<OrderListPlaceOpocoResponse>>;
  /**
   * Places an OTO.
   *
   * An OTO (One-Triggers-the-Other) is an order list comprised of 2 orders.
   * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
   * The second order is called the **pending order**. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets **fully filled**.
   * If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired.
   * When the order list is placed, if the working order gets **immediately fully filled**, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status.
   * OTOs add **2 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary WebSocket Place new Order list - OTO
   * @param {OrderListPlaceOtoRequest} requestParameters Request parameters.
   * @returns {Promise<OrderListPlaceOtoResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-list---oto-trade Binance API Documentation}
   */
  orderListPlaceOto(requestParameters: OrderListPlaceOtoRequest): Promise<WebsocketApiResponse<OrderListPlaceOtoResponse>>;
  /**
   * Place an OTOCO.
   *
   * An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders.
   * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
   * The behavior of the working order is the same as the [OTO](#place-new-order-list---oto-trade).
   * OTOCO has 2 pending orders (pending above and pending below), forming an OCO pair. The pending orders are only placed on the order book when the working order gets **fully filled**.
   * The rules of the pending above and pending below follow the same rules as the [Order list OCO](#new-order-list---oco-trade).
   * OTOCOs add **3 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 3
   *
   * @summary WebSocket Place new Order list - OTOCO
   * @param {OrderListPlaceOtocoRequest} requestParameters Request parameters.
   * @returns {Promise<OrderListPlaceOtocoResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-list---otoco-trade Binance API Documentation}
   */
  orderListPlaceOtoco(requestParameters: OrderListPlaceOtocoRequest): Promise<WebsocketApiResponse<OrderListPlaceOtocoResponse>>;
  /**
   * Send in a new order.
   *
   * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * @summary WebSocket Place new order
   * @param {OrderPlaceRequest} requestParameters Request parameters.
   * @returns {Promise<OrderPlaceResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-trade Binance API Documentation}
   */
  orderPlace(requestParameters: OrderPlaceRequest): Promise<WebsocketApiResponse<OrderPlaceResponse>>;
  /**
   * Test order placement.
   *
   * Validates new order parameters and verifies your signature
   * but does not send the order into the matching engine.
   * Weight: |Condition| Request Weight|
   * |------------           | ------------ |
   * |Without `computeCommissionRates`| 1|
   * |With `computeCommissionRates`|20|
   *
   * @summary WebSocket Test new order
   * @param {OrderTestRequest} requestParameters Request parameters.
   * @returns {Promise<OrderTestResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#test-new-order-trade Binance API Documentation}
   */
  orderTest(requestParameters: OrderTestRequest): Promise<WebsocketApiResponse<OrderTestResponse>>;
  /**
   * Places an order using smart order routing (SOR).
   *
   * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   *
   * Read [SOR FAQ](faqs/sor_faq.md) to learn more.
   * Weight: 1
   *
   * Unfilled Order Count: 1
   *
   * @summary WebSocket Place new order using SOR
   * @param {SorOrderPlaceRequest} requestParameters Request parameters.
   * @returns {Promise<SorOrderPlaceResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-using-sor-trade Binance API Documentation}
   */
  sorOrderPlace(requestParameters: SorOrderPlaceRequest): Promise<WebsocketApiResponse<SorOrderPlaceResponse>>;
  /**
   * Test new order creation and signature/recvWindow using smart order routing (SOR).
   * Creates and validates a new order but does not send it into the matching engine.
   * Weight: |Condition                       | Request Weight|
   * |------------                    | ------------ |
   * |Without `computeCommissionRates`| 1            |
   * |With `computeCommissionRates`   |20            |
   *
   * @summary WebSocket Test new order using SOR
   * @param {SorOrderTestRequest} requestParameters Request parameters.
   * @returns {Promise<SorOrderTestResponse>}
   * @memberof TradeApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#test-new-order-using-sor-trade Binance API Documentation}
   */
  sorOrderTest(requestParameters: SorOrderTestRequest): Promise<WebsocketApiResponse<SorOrderTestResponse>>;
}
declare enum OrderCancelCancelRestrictionsEnum {
  ONLY_NEW = "ONLY_NEW",
  NEW = "NEW",
  ONLY_PARTIALLY_FILLED = "ONLY_PARTIALLY_FILLED",
  PARTIALLY_FILLED = "PARTIALLY_FILLED",
}
declare enum OrderCancelReplaceCancelReplaceModeEnum {
  STOP_ON_FAILURE = "STOP_ON_FAILURE",
  ALLOW_FAILURE = "ALLOW_FAILURE",
}
declare enum OrderCancelReplaceSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderCancelReplaceTypeEnum {
  MARKET = "MARKET",
  LIMIT = "LIMIT",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderCancelReplaceTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderCancelReplaceNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderCancelReplaceSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderCancelReplaceCancelRestrictionsEnum {
  ONLY_NEW = "ONLY_NEW",
  NEW = "NEW",
  ONLY_PARTIALLY_FILLED = "ONLY_PARTIALLY_FILLED",
  PARTIALLY_FILLED = "PARTIALLY_FILLED",
}
declare enum OrderCancelReplaceOrderRateLimitExceededModeEnum {
  DO_NOTHING = "DO_NOTHING",
  CANCEL_ONLY = "CANCEL_ONLY",
}
declare enum OrderCancelReplacePegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderCancelReplacePegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListPlaceSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListPlaceStopLimitTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderListPlaceSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListPlaceOcoSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListPlaceOcoAboveTypeEnum {
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  STOP_LOSS = "STOP_LOSS",
  LIMIT_MAKER = "LIMIT_MAKER",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
}
declare enum OrderListPlaceOcoBelowTypeEnum {
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
}
declare enum OrderListPlaceOcoAboveTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceOcoAbovePegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListPlaceOcoAbovePegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListPlaceOcoBelowTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceOcoBelowPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListPlaceOcoBelowPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListPlaceOcoNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderListPlaceOcoSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListPlaceOpoWorkingTypeEnum {
  LIMIT = "LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
}
declare enum OrderListPlaceOpoWorkingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListPlaceOpoPendingTypeEnum {
  LIMIT = "LIMIT",
  MARKET = "MARKET",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
}
declare enum OrderListPlaceOpoPendingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListPlaceOpoNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderListPlaceOpoSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListPlaceOpoWorkingTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceOpoWorkingPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListPlaceOpoWorkingPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListPlaceOpoPendingTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceOpoPendingPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListPlaceOpoPendingPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListPlaceOpocoWorkingTypeEnum {
  LIMIT = "LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
}
declare enum OrderListPlaceOpocoWorkingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListPlaceOpocoPendingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListPlaceOpocoPendingAboveTypeEnum {
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  STOP_LOSS = "STOP_LOSS",
  LIMIT_MAKER = "LIMIT_MAKER",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
}
declare enum OrderListPlaceOpocoNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderListPlaceOpocoSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListPlaceOpocoWorkingTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceOpocoWorkingPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListPlaceOpocoWorkingPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListPlaceOpocoPendingAboveTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceOpocoPendingAbovePegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListPlaceOpocoPendingAbovePegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListPlaceOpocoPendingBelowTypeEnum {
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
}
declare enum OrderListPlaceOpocoPendingBelowTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceOpocoPendingBelowPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListPlaceOpocoPendingBelowPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListPlaceOtoWorkingTypeEnum {
  LIMIT = "LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
}
declare enum OrderListPlaceOtoWorkingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListPlaceOtoPendingTypeEnum {
  LIMIT = "LIMIT",
  MARKET = "MARKET",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
}
declare enum OrderListPlaceOtoPendingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListPlaceOtoNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderListPlaceOtoSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListPlaceOtoWorkingTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceOtoWorkingPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListPlaceOtoWorkingPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListPlaceOtoPendingTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceOtoPendingPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListPlaceOtoPendingPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListPlaceOtocoWorkingTypeEnum {
  LIMIT = "LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
}
declare enum OrderListPlaceOtocoWorkingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListPlaceOtocoPendingSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderListPlaceOtocoPendingAboveTypeEnum {
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  STOP_LOSS = "STOP_LOSS",
  LIMIT_MAKER = "LIMIT_MAKER",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
}
declare enum OrderListPlaceOtocoNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderListPlaceOtocoSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderListPlaceOtocoWorkingTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceOtocoWorkingPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListPlaceOtocoWorkingPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListPlaceOtocoPendingAboveTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceOtocoPendingAbovePegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListPlaceOtocoPendingAbovePegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderListPlaceOtocoPendingBelowTypeEnum {
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
}
declare enum OrderListPlaceOtocoPendingBelowTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
}
declare enum OrderListPlaceOtocoPendingBelowPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
}
declare enum OrderListPlaceOtocoPendingBelowPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
}
declare enum OrderPlaceSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderPlaceTypeEnum {
  MARKET = "MARKET",
  LIMIT = "LIMIT",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderPlaceTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderPlaceNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderPlaceSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderPlacePegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderPlacePegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderTestSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum OrderTestTypeEnum {
  MARKET = "MARKET",
  LIMIT = "LIMIT",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderTestTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderTestNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum OrderTestSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderTestPegPriceTypeEnum {
  PRIMARY_PEG = "PRIMARY_PEG",
  MARKET_PEG = "MARKET_PEG",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum OrderTestPegOffsetTypeEnum {
  PRICE_LEVEL = "PRICE_LEVEL",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum SorOrderPlaceSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum SorOrderPlaceTypeEnum {
  MARKET = "MARKET",
  LIMIT = "LIMIT",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum SorOrderPlaceTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum SorOrderPlaceNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum SorOrderPlaceSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum SorOrderTestSideEnum {
  BUY = "BUY",
  SELL = "SELL",
}
declare enum SorOrderTestTypeEnum {
  MARKET = "MARKET",
  LIMIT = "LIMIT",
  STOP_LOSS = "STOP_LOSS",
  STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
  TAKE_PROFIT = "TAKE_PROFIT",
  TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
  LIMIT_MAKER = "LIMIT_MAKER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum SorOrderTestTimeInForceEnum {
  GTC = "GTC",
  IOC = "IOC",
  FOK = "FOK",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
declare enum SorOrderTestNewOrderRespTypeEnum {
  ACK = "ACK",
  RESULT = "RESULT",
  FULL = "FULL",
  MARKET = "MARKET",
  LIMIT = "LIMIT",
}
declare enum SorOrderTestSelfTradePreventionModeEnum {
  NONE = "NONE",
  EXPIRE_TAKER = "EXPIRE_TAKER",
  EXPIRE_MAKER = "EXPIRE_MAKER",
  EXPIRE_BOTH = "EXPIRE_BOTH",
  DECREMENT = "DECREMENT",
  TRANSFER = "TRANSFER",
  NON_REPRESENTABLE = "NON_REPRESENTABLE",
}
//#endregion
//#region src/websocket-api/modules/user-data-stream-api.d.ts
/**
 * UserDataStreamApi - interface
 *
 * @interface UserDataStreamApi
 */
interface UserDataStreamApiInterface {
  /**
   *
   * Weight: 2
   *
   **Data Source**:
   * Memory
   *
   * @summary WebSocket Listing all subscriptions
   * @param {SessionSubscriptionsRequest} requestParameters Request parameters.
   *
   * @returns {Promise<SessionSubscriptionsResponse>}
   * @memberof UserDataStreamApiInterface
   */
  sessionSubscriptions(requestParameters?: SessionSubscriptionsRequest): Promise<WebsocketApiResponse<SessionSubscriptionsResponse>>;
  /**
   * Subscribe to the User Data Stream in the current WebSocket connection.
   * Weight: 2
   *
   * @summary WebSocket Subscribe to User Data Stream
   * @param {UserDataStreamSubscribeRequest} requestParameters Request parameters.
   *
   * @returns {Promise<UserDataStreamSubscribeResponse>}
   * @memberof UserDataStreamApiInterface
   */
  userDataStreamSubscribe(requestParameters?: UserDataStreamSubscribeRequest): Promise<WebsocketApiResponse<UserDataStreamSubscribeResponse>>;
  /**
   *
   * Weight: 2
   *
   * @summary WebSocket Subscribe to User Data Stream through signature subscription
   * @param {UserDataStreamSubscribeSignatureRequest} requestParameters Request parameters.
   *
   * @returns {Promise<UserDataStreamSubscribeSignatureResponse>}
   * @memberof UserDataStreamApiInterface
   */
  userDataStreamSubscribeSignature(requestParameters?: UserDataStreamSubscribeSignatureRequest): Promise<WebsocketApiResponse<UserDataStreamSubscribeSignatureResponse>>;
  /**
   * Stop listening to the User Data Stream in the current WebSocket connection.
   *
   * Note that `session.logout` will only close the subscription created with `userDataStream.subscribe` but not subscriptions opened with `userDataStream.subscribe.signature`.
   * Weight: 2
   *
   * @summary WebSocket Unsubscribe from User Data Stream
   * @param {UserDataStreamUnsubscribeRequest} requestParameters Request parameters.
   *
   * @returns {Promise<UserDataStreamUnsubscribeResponse>}
   * @memberof UserDataStreamApiInterface
   */
  userDataStreamUnsubscribe(requestParameters?: UserDataStreamUnsubscribeRequest): Promise<WebsocketApiResponse<UserDataStreamUnsubscribeResponse>>;
}
/**
 * Request parameters for sessionSubscriptions operation in UserDataStreamApi.
 * @interface SessionSubscriptionsRequest
 */
interface SessionSubscriptionsRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof UserDataStreamApiSessionSubscriptions
   */
  readonly id?: string;
}
/**
 * Request parameters for userDataStreamSubscribe operation in UserDataStreamApi.
 * @interface UserDataStreamSubscribeRequest
 */
interface UserDataStreamSubscribeRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof UserDataStreamApiUserDataStreamSubscribe
   */
  readonly id?: string;
}
/**
 * Request parameters for userDataStreamSubscribeSignature operation in UserDataStreamApi.
 * @interface UserDataStreamSubscribeSignatureRequest
 */
interface UserDataStreamSubscribeSignatureRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof UserDataStreamApiUserDataStreamSubscribeSignature
   */
  readonly id?: string;
  /**
   * The value cannot be greater than `60000`. <br> Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
   * @type {number}
   * @memberof UserDataStreamApiUserDataStreamSubscribeSignature
   */
  readonly recvWindow?: number;
}
/**
 * Request parameters for userDataStreamUnsubscribe operation in UserDataStreamApi.
 * @interface UserDataStreamUnsubscribeRequest
 */
interface UserDataStreamUnsubscribeRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof UserDataStreamApiUserDataStreamUnsubscribe
   */
  readonly id?: string;
  /**
   * When called with no parameter, this will close all subscriptions. <br>When called with the `subscriptionId` parameter, this will attempt to close the subscription with that subscription id, if it exists.
   * @type {number}
   * @memberof UserDataStreamApiUserDataStreamUnsubscribe
   */
  readonly subscriptionId?: number;
}
/**
 * UserDataStreamApi - object-oriented interface
 * @class UserDataStreamApi
 * @extends {WebsocketAPIBase}
 */
declare class UserDataStreamApi implements UserDataStreamApiInterface {
  private readonly websocketBase;
  constructor(websocketBase: WebsocketAPIBase);
  /**
   *
   * Weight: 2
   *
   **Data Source**:
   * Memory
   *
   * @summary WebSocket Listing all subscriptions
   * @param {SessionSubscriptionsRequest} requestParameters Request parameters.
   * @returns {Promise<SessionSubscriptionsResponse>}
   * @memberof UserDataStreamApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#listing-all-subscriptions Binance API Documentation}
   */
  sessionSubscriptions(requestParameters?: SessionSubscriptionsRequest): Promise<WebsocketApiResponse<SessionSubscriptionsResponse>>;
  /**
   * Subscribe to the User Data Stream in the current WebSocket connection.
   * Weight: 2
   *
   * @summary WebSocket Subscribe to User Data Stream
   * @param {UserDataStreamSubscribeRequest} requestParameters Request parameters.
   * @returns {Promise<UserDataStreamSubscribeResponse>}
   * @memberof UserDataStreamApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#subscribe-to-user-data-stream-user_stream Binance API Documentation}
   */
  userDataStreamSubscribe(requestParameters?: UserDataStreamSubscribeRequest): Promise<WebsocketApiResponse<UserDataStreamSubscribeResponse>>;
  /**
   *
   * Weight: 2
   *
   * @summary WebSocket Subscribe to User Data Stream through signature subscription
   * @param {UserDataStreamSubscribeSignatureRequest} requestParameters Request parameters.
   * @returns {Promise<UserDataStreamSubscribeSignatureResponse>}
   * @memberof UserDataStreamApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#subscribe-to-user-data-stream-through-signature-subscription-user_stream Binance API Documentation}
   */
  userDataStreamSubscribeSignature(requestParameters?: UserDataStreamSubscribeSignatureRequest): Promise<WebsocketApiResponse<UserDataStreamSubscribeSignatureResponse>>;
  /**
   * Stop listening to the User Data Stream in the current WebSocket connection.
   *
   * Note that `session.logout` will only close the subscription created with `userDataStream.subscribe` but not subscriptions opened with `userDataStream.subscribe.signature`.
   * Weight: 2
   *
   * @summary WebSocket Unsubscribe from User Data Stream
   * @param {UserDataStreamUnsubscribeRequest} requestParameters Request parameters.
   * @returns {Promise<UserDataStreamUnsubscribeResponse>}
   * @memberof UserDataStreamApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#unsubscribe-from-user-data-stream Binance API Documentation}
   */
  userDataStreamUnsubscribe(requestParameters?: UserDataStreamUnsubscribeRequest): Promise<WebsocketApiResponse<UserDataStreamUnsubscribeResponse>>;
}
//#endregion
//#region src/websocket-api/websocket-api-connection.d.ts
declare class WebsocketAPIConnection {
  private websocketBase;
  private accountApi;
  private authApi;
  private generalApi;
  private marketApi;
  private tradeApi;
  private userDataStreamApi;
  constructor(websocketBase: WebsocketAPIBase);
  on(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
  off(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
  /**
   * Disconnects from the WebSocket server.
   * If there is no active connection, a warning is logged.
   * Otherwise, all connections in the connection pool are closed gracefully,
   * and a message is logged indicating that the connection has been disconnected.
   * @returns A Promise that resolves when all connections have been closed.
   * @throws Error if the WebSocket client is not set.
   */
  disconnect(): Promise<void>;
  /**
   * Checks if the WebSocket connection is currently open.
   * @returns `true` if the connection is open, `false` otherwise.
   */
  isConnected(): boolean;
  /**
   * Sends a ping message to all connected Websocket servers in the pool.
   * If no connections are ready, a warning is logged.
   * For each active connection, the ping message is sent, and debug logs provide details.
   * @throws Error if a Websocket client is not set for a connection.
   */
  pingServer(): void;
  /**
   * Sends an unsigned message to the WebSocket server
   * @param method The API method to call
   * @param payload Message parameters and options
   * @returns Promise that resolves with the server response
   * @throws Error if not connected
   */
  sendMessage(method: string, payload?: WebsocketSendMsgOptions): Promise<WebsocketApiResponse<unknown>>;
  /**
   * Sends a signed message to the WebSocket server with authentication
   * @param method The API method to call
   * @param payload Message parameters and options
   * @returns Promise that resolves with the server response
   * @throws Error if not connected
   */
  sendSignedMessage(method: string, payload?: WebsocketSendMsgOptions): Promise<WebsocketApiResponse<unknown>>;
  /**
   * Get current account commission rates.
   * Weight: 20
   *
   * @summary WebSocket Account Commission Rates
   * @param {AccountCommissionRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<AccountCommissionResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-commission-rates-user_data Binance API Documentation}
   */
  accountCommission(requestParameters: AccountCommissionRequest): Promise<WebsocketApiResponse<AccountCommissionResponse>>;
  /**
   * Query your current unfilled order count for all intervals.
   * Weight: 40
   *
   * @summary WebSocket Unfilled Order Count
   * @param {AccountRateLimitsOrdersRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<AccountRateLimitsOrdersResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#unfilled-order-count-user_data Binance API Documentation}
   */
  accountRateLimitsOrders(requestParameters?: AccountRateLimitsOrdersRequest): Promise<WebsocketApiResponse<AccountRateLimitsOrdersResponse>>;
  /**
   * Query information about your account.
   * Weight: 20
   *
   * @summary WebSocket Account information
   * @param {AccountStatusRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<AccountStatusResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-information-user_data Binance API Documentation}
   */
  accountStatus(requestParameters?: AccountStatusRequest): Promise<WebsocketApiResponse<AccountStatusResponse>>;
  /**
   * Query information about all your order lists, filtered by time range.
   * Weight: 20
   *
   * @summary WebSocket Account order list history
   * @param {AllOrderListsRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<AllOrderListsResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-order-list-history-user_data Binance API Documentation}
   */
  allOrderLists(requestParameters?: AllOrderListsRequest): Promise<WebsocketApiResponse<AllOrderListsResponse>>;
  /**
   * Query information about all your orders – active, canceled, filled – filtered by time range.
   * Weight: 20
   *
   * @summary WebSocket Account order history
   * @param {AllOrdersRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<AllOrdersResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-order-history-user_data Binance API Documentation}
   */
  allOrders(requestParameters: AllOrdersRequest): Promise<WebsocketApiResponse<AllOrdersResponse>>;
  /**
   * Retrieves allocations resulting from SOR order placement.
   * Weight: 20
   *
   * @summary WebSocket Account allocations
   * @param {MyAllocationsRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<MyAllocationsResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-allocations-user_data Binance API Documentation}
   */
  myAllocations(requestParameters: MyAllocationsRequest): Promise<WebsocketApiResponse<MyAllocationsResponse>>;
  /**
   * Retrieves the list of [filters](filters.md) relevant to an account on a given symbol. This is the only method that shows if an account has `MAX_ASSET` filters applied to it.
   * Weight: 40
   *
   * @summary WebSocket Query Relevant Filters
   * @param {MyFiltersRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<MyFiltersResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-relevant-filters-user_data Binance API Documentation}
   */
  myFilters(requestParameters: MyFiltersRequest): Promise<WebsocketApiResponse<MyFiltersResponse>>;
  /**
   * Displays the list of orders that were expired due to STP.
   *
   * These are the combinations supported:
   *
   * `symbol` + `preventedMatchId`
   * `symbol` + `orderId`
   * `symbol` + `orderId` + `fromPreventedMatchId` (`limit` will default to 500)
   * `symbol` + `orderId` + `fromPreventedMatchId` + `limit`
   * Weight: Case                            | Weight
   * ----                            | -----
   * If `symbol` is invalid          | 2
   * Querying by `preventedMatchId`  | 2
   * Querying by `orderId`           | 20
   *
   * @summary WebSocket Account prevented matches
   * @param {MyPreventedMatchesRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<MyPreventedMatchesResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-prevented-matches-user_data Binance API Documentation}
   */
  myPreventedMatches(requestParameters: MyPreventedMatchesRequest): Promise<WebsocketApiResponse<MyPreventedMatchesResponse>>;
  /**
   * Query information about all your trades, filtered by time range.
   * Weight: Condition| Weight|
   * ---| ---
   * |Without orderId|20|
   * |With orderId|5|
   *
   * @summary WebSocket Account trade history
   * @param {MyTradesRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<MyTradesResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-trade-history-user_data Binance API Documentation}
   */
  myTrades(requestParameters: MyTradesRequest): Promise<WebsocketApiResponse<MyTradesResponse>>;
  /**
   * Query execution status of all open order lists.
   *
   * If you need to continuously monitor order status updates, please consider using WebSocket Streams:
   *
   * `userDataStream.start` request
   * `executionReport` user data stream event
   * Weight: 6
   *
   * @summary WebSocket Current open Order lists
   * @param {OpenOrderListsStatusRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OpenOrderListsStatusResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#current-open-order-lists-user_data Binance API Documentation}
   */
  openOrderListsStatus(requestParameters?: OpenOrderListsStatusRequest): Promise<WebsocketApiResponse<OpenOrderListsStatusResponse>>;
  /**
   * Query execution status of all open orders.
   *
   * If you need to continuously monitor order status updates, please consider using WebSocket Streams:
   *
   * `userDataStream.start` request
   * `executionReport` user data stream event
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Parameter | Weight |
   * | --------- | ------ |
   * | `symbol`  |      6 |
   * | none      |     80 |
   *
   * @summary WebSocket Current open orders
   * @param {OpenOrdersStatusRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OpenOrdersStatusResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#current-open-orders-user_data Binance API Documentation}
   */
  openOrdersStatus(requestParameters?: OpenOrdersStatusRequest): Promise<WebsocketApiResponse<OpenOrdersStatusResponse>>;
  /**
   * Queries all amendments of a single order.
   * Weight: 4
   *
   * @summary WebSocket Query Order Amendments
   * @param {OrderAmendmentsRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderAmendmentsResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-order-amendments-user_data Binance API Documentation}
   */
  orderAmendments(requestParameters: OrderAmendmentsRequest): Promise<WebsocketApiResponse<OrderAmendmentsResponse>>;
  /**
   * Check execution status of an Order list.
   *
   * For execution status of individual orders, use `order.status`.
   * Weight: 4
   *
   * @summary WebSocket Query Order list
   * @param {OrderListStatusRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderListStatusResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-order-list-user_data Binance API Documentation}
   */
  orderListStatus(requestParameters?: OrderListStatusRequest): Promise<WebsocketApiResponse<OrderListStatusResponse>>;
  /**
   * Check execution status of an order.
   * Weight: 4
   *
   * @summary WebSocket Query order
   * @param {OrderStatusRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderStatusResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-order-user_data Binance API Documentation}
   */
  orderStatus(requestParameters: OrderStatusRequest): Promise<WebsocketApiResponse<OrderStatusResponse>>;
  /**
   * Authenticate WebSocket connection using the provided API key.
   *
   * After calling `session.logon`, you can omit `apiKey` and `signature` parameters for future requests that require them.
   *
   * Note that only one API key can be authenticated.
   * Calling `session.logon` multiple times changes the current authenticated API key.
   * Weight: 2
   *
   * @summary WebSocket Log in with API key
   * @param {SessionLogonRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<SessionLogonResponse>[]>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/authentication-requests#log-in-with-api-key-signed Binance API Documentation}
   */
  sessionLogon(requestParameters?: SessionLogonRequest): Promise<WebsocketApiResponse<SessionLogonResponse>[]>;
  /**
   * Forget the API key previously authenticated.
   * If the connection is not authenticated, this request does nothing.
   *
   * Note that the WebSocket connection stays open after `session.logout` request.
   * You can continue using the connection,
   * but now you will have to explicitly provide the `apiKey` and `signature` parameters where needed.
   * Weight: 2
   *
   * @summary WebSocket Log out of the session
   * @param {SessionLogoutRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<SessionLogoutResponse>[]>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/authentication-requests#log-out-of-the-session Binance API Documentation}
   */
  sessionLogout(requestParameters?: SessionLogoutRequest): Promise<WebsocketApiResponse<SessionLogoutResponse>[]>;
  /**
   * Query the status of the WebSocket connection,
   * inspecting which API key (if any) is used to authorize requests.
   * Weight: 2
   *
   * @summary WebSocket Query session status
   * @param {SessionStatusRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<SessionStatusResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/authentication-requests#query-session-status Binance API Documentation}
   */
  sessionStatus(requestParameters?: SessionStatusRequest): Promise<WebsocketApiResponse<SessionStatusResponse>>;
  /**
   * Query current exchange trading rules, rate limits, and symbol information.
   * Weight: 20
   *
   * @summary WebSocket Exchange information
   * @param {ExchangeInfoRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<ExchangeInfoResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#exchange-information Binance API Documentation}
   */
  exchangeInfo(requestParameters?: ExchangeInfoRequest): Promise<WebsocketApiResponse<ExchangeInfoResponse>>;
  /**
   *
   * Weight: Parameter | Weight|
   * ---        | ---
   * `symbol`  | 2
   * `symbols` | 2 for each `symbol`, capped at a max of 40|
   * `symbolStatus` |40|
   * None            |40|
   *
   * @summary WebSocket Query Execution Rules
   * @param {ExecutionRulesRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<ExecutionRulesResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#query-execution-rules Binance API Documentation}
   */
  executionRules(requestParameters?: ExecutionRulesRequest): Promise<WebsocketApiResponse<ExecutionRulesResponse>>;
  /**
   * Test connectivity to the WebSocket API.
   * Weight: 1
   *
   * @summary WebSocket Test connectivity
   * @param {PingRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<PingResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#test-connectivity Binance API Documentation}
   */
  ping(requestParameters?: PingRequest): Promise<WebsocketApiResponse<PingResponse>>;
  /**
   * Test connectivity to the WebSocket API and get the current server time.
   * Weight: 1
   *
   * @summary WebSocket Check server time
   * @param {TimeRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<TimeResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#check-server-time Binance API Documentation}
   */
  time(requestParameters?: TimeRequest): Promise<WebsocketApiResponse<TimeResponse>>;
  /**
   * Get current average price for a symbol.
   * Weight: 2
   *
   * @summary WebSocket Current average price
   * @param {AvgPriceRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<AvgPriceResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#current-average-price Binance API Documentation}
   */
  avgPrice(requestParameters: AvgPriceRequest$1): Promise<WebsocketApiResponse<AvgPriceResponse$1>>;
  /**
   * Get block trades.
   * Weight: 25
   *
   * @summary WebSocket Historical Block Trades
   * @param {BlockTradesHistoricalRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<BlockTradesHistoricalResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#historical-block-trades Binance API Documentation}
   */
  blockTradesHistorical(requestParameters: BlockTradesHistoricalRequest): Promise<WebsocketApiResponse<BlockTradesHistoricalResponse>>;
  /**
   * Get current order book.
   *
   * Note that this request returns limited market depth.
   *
   * If you need to continuously monitor order book updates, please consider using WebSocket Streams:
   *
   * `<symbol>@depth<levels>`
   * `<symbol>@depth`
   *
   * You can use `depth` request together with `<symbol>@depth` streams to [maintain a local order book](web-socket-streams.md#how-to-manage-a-local-order-book-correctly).
   * Weight: Adjusted based on the limit:
   *
   * |  Limit    | Weight |
   * |:---------:|:------:|
   * |     1–100 |      5 |
   * |   101–500 |      25|
   * |  501–1000 |     50 |
   * | 1001–5000 |     250 |
   *
   * @summary WebSocket Order book
   * @param {DepthRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<DepthResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#order-book Binance API Documentation}
   */
  depth(requestParameters: DepthRequest): Promise<WebsocketApiResponse<DepthResponse>>;
  /**
   * Get klines (candlestick bars).
   *
   * Klines are uniquely identified by their open & close time.
   *
   * If you need access to real-time kline updates, please consider using WebSocket Streams:
   *
   * `<symbol>@kline_<interval>`
   *
   * If you need historical kline data,
   * please consider using [data.binance.vision](https://github.com/binance/binance-public-data/#klines).
   * Weight: 2
   *
   * @summary WebSocket Klines
   * @param {KlinesRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<KlinesResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#klines Binance API Documentation}
   */
  klines(requestParameters: KlinesRequest): Promise<WebsocketApiResponse<KlinesResponse>>;
  /**
   *
   * Weight: 2
   *
   * @summary WebSocket Query Reference Price
   * @param {ReferencePriceRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<ReferencePriceResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#query-reference-price Binance API Documentation}
   */
  referencePrice(requestParameters: ReferencePriceRequest$1): Promise<WebsocketApiResponse<ReferencePriceResponse$1>>;
  /**
   * Describes how reference price is calculated for a given symbol.
   * Weight: 2
   *
   * @summary WebSocket Query Reference Price Calculation
   * @param {ReferencePriceCalculationRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<ReferencePriceCalculationResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#query-reference-price-calculation Binance API Documentation}
   */
  referencePriceCalculation(requestParameters: ReferencePriceCalculationRequest): Promise<WebsocketApiResponse<ReferencePriceCalculationResponse>>;
  /**
   * Get rolling window price change statistics with a custom window.
   *
   * This request is similar to `ticker.24hr`,
   * but statistics are computed on demand using the arbitrary window you specify.
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Symbols | Weight |
   * |:-------:|:------:|
   * |    1–50 | 4 per symbol |
   * |  51–100 |    200 |
   *
   * @summary WebSocket Rolling window price change statistics
   * @param {TickerRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<TickerResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#rolling-window-price-change-statistics Binance API Documentation}
   */
  ticker(requestParameters?: TickerRequest$1): Promise<WebsocketApiResponse<TickerResponse$1>>;
  /**
   * Get 24-hour rolling window price change statistics.
   *
   * If you need to continuously monitor trading statistics, please consider using WebSocket Streams:
   *
   * `<symbol>@ticker` or `!ticker@arr`
   * `<symbol>@miniTicker` or `!miniTicker@arr`
   *
   * If you need different window sizes,
   * use the `ticker` request.
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Symbols     | Weight |
   * |:-----------:|:------:|
   * |        1–20 |      2 |
   * |      21–100 |     40 |
   * | 101 or more |     80 |
   * | all symbols |     80 |
   *
   * @summary WebSocket 24hr ticker price change statistics
   * @param {Ticker24hrRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<Ticker24hrResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#24hr-ticker-price-change-statistics Binance API Documentation}
   */
  ticker24hr(requestParameters?: Ticker24hrRequest): Promise<WebsocketApiResponse<Ticker24hrResponse>>;
  /**
   * Get the current best price and quantity on the order book.
   *
   * If you need access to real-time order book ticker updates, please consider using WebSocket Streams:
   *
   * `<symbol>@bookTicker`
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Parameter | Weight |
   * | --------- |:------:|
   * | `symbol`  |      2 |
   * | `symbols` |      4 |
   * | none      |      4 |
   *
   * @summary WebSocket Symbol order book ticker
   * @param {TickerBookRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<TickerBookResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#symbol-order-book-ticker Binance API Documentation}
   */
  tickerBook(requestParameters?: TickerBookRequest): Promise<WebsocketApiResponse<TickerBookResponse>>;
  /**
   * Get the latest market price for a symbol.
   *
   * If you need access to real-time price updates, please consider using WebSocket Streams:
   *
   * `<symbol>@aggTrade`
   * `<symbol>@trade`
   * Weight: Adjusted based on the number of requested symbols:
   *
   * | Parameter | Weight |
   * | --------- |:------:|
   * | `symbol`  |      2 |
   * | `symbols` |      4 |
   * | none      |      4 |
   *
   * @summary WebSocket Symbol price ticker
   * @param {TickerPriceRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<TickerPriceResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#symbol-price-ticker Binance API Documentation}
   */
  tickerPrice(requestParameters?: TickerPriceRequest): Promise<WebsocketApiResponse<TickerPriceResponse>>;
  /**
   * Price change statistics for a trading day.
   * Weight: 4 for each requested <tt>symbol</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
   *
   * @summary WebSocket Trading Day Ticker
   * @param {TickerTradingDayRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<TickerTradingDayResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#trading-day-ticker Binance API Documentation}
   */
  tickerTradingDay(requestParameters?: TickerTradingDayRequest): Promise<WebsocketApiResponse<TickerTradingDayResponse>>;
  /**
   * Get aggregate trades.
   *
   * An *aggregate trade* (aggtrade) represents one or more individual trades.
   * Trades that fill at the same time, from the same taker order, with the same price –
   * those trades are collected into an aggregate trade with total quantity of the individual trades.
   *
   * If you need access to real-time trading activity, please consider using WebSocket Streams:
   *
   * `<symbol>@aggTrade`
   *
   * If you need historical aggregate trade data,
   * please consider using [data.binance.vision](https://github.com/binance/binance-public-data/#aggtrades).
   * Weight: 4
   *
   * @summary WebSocket Aggregate trades
   * @param {TradesAggregateRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<TradesAggregateResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#aggregate-trades Binance API Documentation}
   */
  tradesAggregate(requestParameters: TradesAggregateRequest): Promise<WebsocketApiResponse<TradesAggregateResponse>>;
  /**
   * Get historical trades.
   * Weight: 25
   *
   * @summary WebSocket Historical trades
   * @param {TradesHistoricalRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<TradesHistoricalResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#historical-trades Binance API Documentation}
   */
  tradesHistorical(requestParameters: TradesHistoricalRequest): Promise<WebsocketApiResponse<TradesHistoricalResponse>>;
  /**
   * Get recent trades.
   *
   * If you need access to real-time trading activity, please consider using WebSocket Streams:
   *
   * `<symbol>@trade`
   * Weight: 25
   *
   * @summary WebSocket Recent trades
   * @param {TradesRecentRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<TradesRecentResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#recent-trades Binance API Documentation}
   */
  tradesRecent(requestParameters: TradesRecentRequest): Promise<WebsocketApiResponse<TradesRecentResponse>>;
  /**
   * Get klines (candlestick bars) optimized for presentation.
   *
   * This request is similar to `klines`, having the same parameters and response.
   * `uiKlines` return modified kline data, optimized for presentation of candlestick charts.
   * Weight: 2
   *
   * @summary WebSocket UI Klines
   * @param {UiKlinesRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<UiKlinesResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#ui-klines Binance API Documentation}
   */
  uiKlines(requestParameters: UiKlinesRequest): Promise<WebsocketApiResponse<UiKlinesResponse>>;
  /**
   * Cancel all open orders on a symbol.
   * This includes orders that are part of an order list.
   * Weight: 1
   *
   * @summary WebSocket Cancel open orders
   * @param {OpenOrdersCancelAllRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OpenOrdersCancelAllResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-open-orders-trade Binance API Documentation}
   */
  openOrdersCancelAll(requestParameters: OpenOrdersCancelAllRequest): Promise<WebsocketApiResponse<OpenOrdersCancelAllResponse>>;
  /**
   * Reduce the quantity of an existing open order.
   *
   * This adds 0 orders to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   *
   * Read [Order Amend Keep Priority FAQ](faqs/order_amend_keep_priority.md) to learn more.
   * Weight: 4
   *
   * @summary WebSocket Order Amend Keep Priority
   * @param {OrderAmendKeepPriorityRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderAmendKeepPriorityResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#order-amend-keep-priority-trade Binance API Documentation}
   */
  orderAmendKeepPriority(requestParameters: OrderAmendKeepPriorityRequest): Promise<WebsocketApiResponse<OrderAmendKeepPriorityResponse>>;
  /**
   * Cancel an active order.
   * Weight: 1
   *
   * @summary WebSocket Cancel order
   * @param {OrderCancelRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderCancelResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-order-trade Binance API Documentation}
   */
  orderCancel(requestParameters: OrderCancelRequest): Promise<WebsocketApiResponse<OrderCancelResponse>>;
  /**
   * * Cancel an existing order and immediately place a new order instead of the canceled one.
   * A new order that was not attempted (i.e. when `newOrderResult: NOT_ATTEMPTED`), will still increase the unfilled order count by 1.
   * You can only cancel an individual order from an orderList using this method, but the result is the same as canceling the entire orderList.
   * Weight: 1
   *
   * @summary WebSocket Cancel and replace order
   * @param {OrderCancelReplaceRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderCancelReplaceResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-and-replace-order-trade Binance API Documentation}
   */
  orderCancelReplace(requestParameters: OrderCancelReplaceRequest): Promise<WebsocketApiResponse<OrderCancelReplaceResponse>>;
  /**
   * Cancel an active order list.
   * Weight: 1
   *
   * @summary WebSocket Cancel Order list
   * @param {OrderListCancelRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderListCancelResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-order-list-trade Binance API Documentation}
   */
  orderListCancel(requestParameters: OrderListCancelRequest): Promise<WebsocketApiResponse<OrderListCancelResponse>>;
  /**
   * Send in a new one-cancels-the-other (OCO) pair:
   * `LIMIT_MAKER` + `STOP_LOSS`/`STOP_LOSS_LIMIT` orders (called *legs*),
   * where activation of one order immediately cancels the other.
   *
   * This adds 1 order to `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter
   * Weight: 1
   *
   * Unfilled Order Count: 1
   *
   * @summary WebSocket Place new OCO - Deprecated
   * @param {OrderListPlaceRequest} requestParameters Request parameters.
   * @deprecated
   * @returns Promise<WebsocketApiResponse<OrderListPlaceResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-oco---deprecated-trade Binance API Documentation}
   */
  orderListPlace(requestParameters: OrderListPlaceRequest): Promise<WebsocketApiResponse<OrderListPlaceResponse>>;
  /**
   * Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
   *
   * An OCO has 2 orders called the **above order** and **below order**.
   * One of the orders must be a `LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMIT` order and the other must be `STOP_LOSS` or `STOP_LOSS_LIMIT` order.
   * Price restrictions:
   * If the OCO is on the `SELL` side:
   * `LIMIT_MAKER/TAKE_PROFIT_LIMIT` `price` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
   * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
   * If the OCO is on the `BUY` side:
   * `LIMIT_MAKER` `price` < Last Traded Price < `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
   * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
   * OCOs add **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary WebSocket Place new Order list - OCO
   * @param {OrderListPlaceOcoRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderListPlaceOcoResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-list---oco-trade Binance API Documentation}
   */
  orderListPlaceOco(requestParameters: OrderListPlaceOcoRequest): Promise<WebsocketApiResponse<OrderListPlaceOcoResponse>>;
  /**
   * Place an [OPO](./faqs/opo.md).
   *
   * OPOs add 2 orders to the EXCHANGE_MAX_NUM_ORDERS filter and MAX_NUM_ORDERS filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary WebSocket OPO
   * @param {OrderListPlaceOpoRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderListPlaceOpoResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#opo-trade Binance API Documentation}
   */
  orderListPlaceOpo(requestParameters: OrderListPlaceOpoRequest): Promise<WebsocketApiResponse<OrderListPlaceOpoResponse>>;
  /**
   * Place an [OPOCO](./faqs/opo.md).
   * Weight: 1
   *
   * Unfilled Order Count: 3
   *
   * @summary WebSocket OPOCO
   * @param {OrderListPlaceOpocoRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderListPlaceOpocoResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#opoco-trade Binance API Documentation}
   */
  orderListPlaceOpoco(requestParameters: OrderListPlaceOpocoRequest): Promise<WebsocketApiResponse<OrderListPlaceOpocoResponse>>;
  /**
   * Places an OTO.
   *
   * An OTO (One-Triggers-the-Other) is an order list comprised of 2 orders.
   * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
   * The second order is called the **pending order**. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets **fully filled**.
   * If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired.
   * When the order list is placed, if the working order gets **immediately fully filled**, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status.
   * OTOs add **2 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 2
   *
   * @summary WebSocket Place new Order list - OTO
   * @param {OrderListPlaceOtoRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderListPlaceOtoResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-list---oto-trade Binance API Documentation}
   */
  orderListPlaceOto(requestParameters: OrderListPlaceOtoRequest): Promise<WebsocketApiResponse<OrderListPlaceOtoResponse>>;
  /**
   * Place an OTOCO.
   *
   * An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders.
   * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
   * The behavior of the working order is the same as the [OTO](#place-new-order-list---oto-trade).
   * OTOCO has 2 pending orders (pending above and pending below), forming an OCO pair. The pending orders are only placed on the order book when the working order gets **fully filled**.
   * The rules of the pending above and pending below follow the same rules as the [Order list OCO](#new-order-list---oco-trade).
   * OTOCOs add **3 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * Unfilled Order Count: 3
   *
   * @summary WebSocket Place new Order list - OTOCO
   * @param {OrderListPlaceOtocoRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderListPlaceOtocoResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-list---otoco-trade Binance API Documentation}
   */
  orderListPlaceOtoco(requestParameters: OrderListPlaceOtocoRequest): Promise<WebsocketApiResponse<OrderListPlaceOtocoResponse>>;
  /**
   * Send in a new order.
   *
   * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   * Weight: 1
   *
   * @summary WebSocket Place new order
   * @param {OrderPlaceRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderPlaceResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-trade Binance API Documentation}
   */
  orderPlace(requestParameters: OrderPlaceRequest): Promise<WebsocketApiResponse<OrderPlaceResponse>>;
  /**
   * Test order placement.
   *
   * Validates new order parameters and verifies your signature
   * but does not send the order into the matching engine.
   * Weight: |Condition| Request Weight|
   * |------------           | ------------ |
   * |Without `computeCommissionRates`| 1|
   * |With `computeCommissionRates`|20|
   *
   * @summary WebSocket Test new order
   * @param {OrderTestRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<OrderTestResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#test-new-order-trade Binance API Documentation}
   */
  orderTest(requestParameters: OrderTestRequest): Promise<WebsocketApiResponse<OrderTestResponse>>;
  /**
   * Places an order using smart order routing (SOR).
   *
   * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
   *
   * Read [SOR FAQ](faqs/sor_faq.md) to learn more.
   * Weight: 1
   *
   * Unfilled Order Count: 1
   *
   * @summary WebSocket Place new order using SOR
   * @param {SorOrderPlaceRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<SorOrderPlaceResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-using-sor-trade Binance API Documentation}
   */
  sorOrderPlace(requestParameters: SorOrderPlaceRequest): Promise<WebsocketApiResponse<SorOrderPlaceResponse>>;
  /**
   * Test new order creation and signature/recvWindow using smart order routing (SOR).
   * Creates and validates a new order but does not send it into the matching engine.
   * Weight: |Condition                       | Request Weight|
   * |------------                    | ------------ |
   * |Without `computeCommissionRates`| 1            |
   * |With `computeCommissionRates`   |20            |
   *
   * @summary WebSocket Test new order using SOR
   * @param {SorOrderTestRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<SorOrderTestResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#test-new-order-using-sor-trade Binance API Documentation}
   */
  sorOrderTest(requestParameters: SorOrderTestRequest): Promise<WebsocketApiResponse<SorOrderTestResponse>>;
  /**
   *
   * Weight: 2
   *
   **Data Source**:
   * Memory
   *
   * @summary WebSocket Listing all subscriptions
   * @param {SessionSubscriptionsRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<SessionSubscriptionsResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#listing-all-subscriptions Binance API Documentation}
   */
  sessionSubscriptions(requestParameters?: SessionSubscriptionsRequest): Promise<WebsocketApiResponse<SessionSubscriptionsResponse>>;
  /**
   * Subscribe to the User Data Stream in the current WebSocket connection.
   * Weight: 2
   *
   * @summary WebSocket Subscribe to User Data Stream
   * @param {UserDataStreamSubscribeRequest} requestParameters Request parameters.
   * @param {string} [id] Optional custom stream identifier.
   *
   * @returns Promise<{response: WebsocketApiResponse<UserDataStreamSubscribeResponse>, stream: WebsocketStream<object>}>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#subscribe-to-user-data-stream-user_stream Binance API Documentation}
   */
  userDataStreamSubscribe(requestParameters?: UserDataStreamSubscribeRequest, id?: string): Promise<{
    response: WebsocketApiResponse<UserDataStreamSubscribeResponse>;
    stream: WebsocketStream<UserDataStreamEventsResponse>;
  }>;
  /**
   *
   * Weight: 2
   *
   * @summary WebSocket Subscribe to User Data Stream through signature subscription
   * @param {UserDataStreamSubscribeSignatureRequest} requestParameters Request parameters.
   * @param {string} [id] Optional custom stream identifier.
   *
   * @returns Promise<{response: WebsocketApiResponse<UserDataStreamSubscribeSignatureResponse>, stream: WebsocketStream<object>}>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#subscribe-to-user-data-stream-through-signature-subscription-user_stream Binance API Documentation}
   */
  userDataStreamSubscribeSignature(requestParameters?: UserDataStreamSubscribeSignatureRequest, id?: string): Promise<{
    response: WebsocketApiResponse<UserDataStreamSubscribeSignatureResponse>;
    stream: WebsocketStream<UserDataStreamEventsResponse>;
  }>;
  /**
   * Stop listening to the User Data Stream in the current WebSocket connection.
   *
   * Note that `session.logout` will only close the subscription created with `userDataStream.subscribe` but not subscriptions opened with `userDataStream.subscribe.signature`.
   * Weight: 2
   *
   * @summary WebSocket Unsubscribe from User Data Stream
   * @param {UserDataStreamUnsubscribeRequest} requestParameters Request parameters.
   *
   * @returns Promise<WebsocketApiResponse<UserDataStreamUnsubscribeResponse>>
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#unsubscribe-from-user-data-stream Binance API Documentation}
   */
  userDataStreamUnsubscribe(requestParameters?: UserDataStreamUnsubscribeRequest): Promise<WebsocketApiResponse<UserDataStreamUnsubscribeResponse>>;
}
//#endregion
//#region src/websocket-api/websocket-api.d.ts
declare class WebsocketAPI {
  private configuration;
  constructor(configuration: ConfigurationWebsocketAPI);
  /**
   * Connects to the Binance WebSocket API and returns a `WebsocketAPIConnection` instance.
   *
   * @param {object} [options] - Optional connection options.
   * @param {string} [options.mode='single'] - The connection mode, either 'single' or 'pool'. Overrides the `mode` property in the configuration.
   * @param {number} [options.poolSize=1] - The number of connections to use in pool mode. Overrides the `poolSize` property in the configuration.
   * @returns {Promise<WebsocketAPIConnection>} - A promise that resolves to a `WebsocketAPIConnection` instance.
   */
  connect({
    mode,
    poolSize
  }?: {
    mode?: 'single' | 'pool';
    poolSize?: number;
  }): Promise<WebsocketAPIConnection>;
}
declare namespace index_d_exports$1 {
  export { AccountApi, AccountApiInterface, AccountCommissionRequest, AccountCommissionResponse, AccountCommissionResponseResult, AccountCommissionResponseResultDiscount, AccountCommissionResponseResultSpecialCommission, AccountCommissionResponseResultStandardCommission, AccountCommissionResponseResultTaxCommission, AccountRateLimitsOrdersRequest, AccountRateLimitsOrdersResponse, AccountRateLimitsOrdersResponseResultInner, AccountStatusRequest, AccountStatusResponse, AccountStatusResponseResult, AccountStatusResponseResultBalancesInner, AccountStatusResponseResultCommissionRates, AllOrderListsRequest, AllOrderListsResponse, AllOrderListsResponseResultInner, AllOrdersRequest, AllOrdersResponse, AllOrdersResponseResultInner, AssetFilters$1 as AssetFilters, AuthApi, AuthApiInterface, AvgPriceRequest$1 as AvgPriceRequest, AvgPriceResponse$1 as AvgPriceResponse, AvgPriceResponseResult, BalanceUpdate, BlockTradesHistoricalRequest, BlockTradesHistoricalResponse, BlockTradesHistoricalResponseResultInner, DepthRequest, DepthResponse, DepthResponseResult, DepthSymbolStatusEnum, EventStreamTerminated, ExchangeFilters$1 as ExchangeFilters, ExchangeInfoRequest, ExchangeInfoResponse, ExchangeInfoResponseResult, ExchangeInfoResponseResultSorsInner, ExchangeInfoResponseResultSymbolsInner, ExchangeInfoSymbolStatusEnum, ExchangeMaxNumAlgoOrdersFilter$1 as ExchangeMaxNumAlgoOrdersFilter, ExchangeMaxNumIcebergOrdersFilter$1 as ExchangeMaxNumIcebergOrdersFilter, ExchangeMaxNumOrderListsFilter$1 as ExchangeMaxNumOrderListsFilter, ExchangeMaxNumOrdersFilter$1 as ExchangeMaxNumOrdersFilter, ExecutionReport, ExecutionRulesRequest, ExecutionRulesResponse, ExecutionRulesResponseResult, ExecutionRulesResponseResultSymbolRulesInner, ExecutionRulesResponseResultSymbolRulesInnerRulesInner, ExecutionRulesSymbolStatusEnum, ExternalLockUpdate, GeneralApi, GeneralApiInterface, IcebergPartsFilter$1 as IcebergPartsFilter, KlinesIntervalEnum, KlinesItem, KlinesItemInner, KlinesRequest, KlinesResponse, ListStatus, ListStatusOInner, LotSizeFilter$1 as LotSizeFilter, MarketApi, MarketApiInterface, MarketLotSizeFilter$1 as MarketLotSizeFilter, MaxAssetFilter$1 as MaxAssetFilter, MaxNumAlgoOrdersFilter$1 as MaxNumAlgoOrdersFilter, MaxNumIcebergOrdersFilter$1 as MaxNumIcebergOrdersFilter, MaxNumOrderAmendsFilter$1 as MaxNumOrderAmendsFilter, MaxNumOrderListsFilter$1 as MaxNumOrderListsFilter, MaxNumOrdersFilter$1 as MaxNumOrdersFilter, MaxPositionFilter$1 as MaxPositionFilter, MinNotionalFilter$1 as MinNotionalFilter, MyAllocationsRequest, MyAllocationsResponse, MyAllocationsResponseResultInner, MyFiltersRequest, MyFiltersResponse, MyFiltersResponseResult, MyPreventedMatchesRequest, MyPreventedMatchesResponse, MyPreventedMatchesResponseResultInner, MyTradesRequest, MyTradesResponse, MyTradesResponseResultInner, NotionalFilter$1 as NotionalFilter, OpenOrderListsStatusRequest, OpenOrderListsStatusResponse, OpenOrderListsStatusResponseResultInner, OpenOrderListsStatusResponseResultInnerOrdersInner, OpenOrdersCancelAllRequest, OpenOrdersCancelAllResponse, OpenOrdersCancelAllResponseResultInner, OpenOrdersCancelAllResponseResultInnerOrderReportsInner, OpenOrdersCancelAllResponseResultInnerOrdersInner, OpenOrdersStatusRequest, OpenOrdersStatusResponse, OpenOrdersStatusResponseResultInner, OrderAmendKeepPriorityRequest, OrderAmendKeepPriorityResponse, OrderAmendKeepPriorityResponseResult, OrderAmendKeepPriorityResponseResultAmendedOrder, OrderAmendKeepPriorityResponseResultListStatus, OrderAmendKeepPriorityResponseResultListStatusOrdersInner, OrderAmendmentsRequest, OrderAmendmentsResponse, OrderAmendmentsResponseResultInner, OrderCancelCancelRestrictionsEnum, OrderCancelReplaceCancelReplaceModeEnum, OrderCancelReplaceCancelRestrictionsEnum, OrderCancelReplaceNewOrderRespTypeEnum, OrderCancelReplaceOrderRateLimitExceededModeEnum, OrderCancelReplacePegOffsetTypeEnum, OrderCancelReplacePegPriceTypeEnum, OrderCancelReplaceRequest, OrderCancelReplaceResponse, OrderCancelReplaceResponseResult, OrderCancelReplaceResponseResultCancelResponse, OrderCancelReplaceResponseResultNewOrderResponse, OrderCancelReplaceSelfTradePreventionModeEnum, OrderCancelReplaceSideEnum, OrderCancelReplaceTimeInForceEnum, OrderCancelReplaceTypeEnum, OrderCancelRequest, OrderCancelResponse, OrderCancelResponseResult, OrderListCancelRequest, OrderListCancelResponse, OrderListCancelResponseResult, OrderListCancelResponseResultOrderReportsInner, OrderListCancelResponseResultOrdersInner, OrderListPlaceNewOrderRespTypeEnum, OrderListPlaceOcoAbovePegOffsetTypeEnum, OrderListPlaceOcoAbovePegPriceTypeEnum, OrderListPlaceOcoAboveTimeInForceEnum, OrderListPlaceOcoAboveTypeEnum, OrderListPlaceOcoBelowPegOffsetTypeEnum, OrderListPlaceOcoBelowPegPriceTypeEnum, OrderListPlaceOcoBelowTimeInForceEnum, OrderListPlaceOcoBelowTypeEnum, OrderListPlaceOcoNewOrderRespTypeEnum, OrderListPlaceOcoRequest, OrderListPlaceOcoResponse, OrderListPlaceOcoResponseResult, OrderListPlaceOcoResponseResultOrderReportsInner, OrderListPlaceOcoResponseResultOrdersInner, OrderListPlaceOcoSelfTradePreventionModeEnum, OrderListPlaceOcoSideEnum, OrderListPlaceOpoNewOrderRespTypeEnum, OrderListPlaceOpoPendingPegOffsetTypeEnum, OrderListPlaceOpoPendingPegPriceTypeEnum, OrderListPlaceOpoPendingSideEnum, OrderListPlaceOpoPendingTimeInForceEnum, OrderListPlaceOpoPendingTypeEnum, OrderListPlaceOpoRequest, OrderListPlaceOpoResponse, OrderListPlaceOpoResponseResult, OrderListPlaceOpoResponseResultOrderReportsInner, OrderListPlaceOpoResponseResultOrdersInner, OrderListPlaceOpoSelfTradePreventionModeEnum, OrderListPlaceOpoWorkingPegOffsetTypeEnum, OrderListPlaceOpoWorkingPegPriceTypeEnum, OrderListPlaceOpoWorkingSideEnum, OrderListPlaceOpoWorkingTimeInForceEnum, OrderListPlaceOpoWorkingTypeEnum, OrderListPlaceOpocoNewOrderRespTypeEnum, OrderListPlaceOpocoPendingAbovePegOffsetTypeEnum, OrderListPlaceOpocoPendingAbovePegPriceTypeEnum, OrderListPlaceOpocoPendingAboveTimeInForceEnum, OrderListPlaceOpocoPendingAboveTypeEnum, OrderListPlaceOpocoPendingBelowPegOffsetTypeEnum, OrderListPlaceOpocoPendingBelowPegPriceTypeEnum, OrderListPlaceOpocoPendingBelowTimeInForceEnum, OrderListPlaceOpocoPendingBelowTypeEnum, OrderListPlaceOpocoPendingSideEnum, OrderListPlaceOpocoRequest, OrderListPlaceOpocoResponse, OrderListPlaceOpocoResponseResult, OrderListPlaceOpocoResponseResultOrderReportsInner, OrderListPlaceOpocoResponseResultOrdersInner, OrderListPlaceOpocoSelfTradePreventionModeEnum, OrderListPlaceOpocoWorkingPegOffsetTypeEnum, OrderListPlaceOpocoWorkingPegPriceTypeEnum, OrderListPlaceOpocoWorkingSideEnum, OrderListPlaceOpocoWorkingTimeInForceEnum, OrderListPlaceOpocoWorkingTypeEnum, OrderListPlaceOtoNewOrderRespTypeEnum, OrderListPlaceOtoPendingPegOffsetTypeEnum, OrderListPlaceOtoPendingPegPriceTypeEnum, OrderListPlaceOtoPendingSideEnum, OrderListPlaceOtoPendingTimeInForceEnum, OrderListPlaceOtoPendingTypeEnum, OrderListPlaceOtoRequest, OrderListPlaceOtoResponse, OrderListPlaceOtoResponseResult, OrderListPlaceOtoResponseResultOrderReportsInner, OrderListPlaceOtoResponseResultOrdersInner, OrderListPlaceOtoSelfTradePreventionModeEnum, OrderListPlaceOtoWorkingPegOffsetTypeEnum, OrderListPlaceOtoWorkingPegPriceTypeEnum, OrderListPlaceOtoWorkingSideEnum, OrderListPlaceOtoWorkingTimeInForceEnum, OrderListPlaceOtoWorkingTypeEnum, OrderListPlaceOtocoNewOrderRespTypeEnum, OrderListPlaceOtocoPendingAbovePegOffsetTypeEnum, OrderListPlaceOtocoPendingAbovePegPriceTypeEnum, OrderListPlaceOtocoPendingAboveTimeInForceEnum, OrderListPlaceOtocoPendingAboveTypeEnum, OrderListPlaceOtocoPendingBelowPegOffsetTypeEnum, OrderListPlaceOtocoPendingBelowPegPriceTypeEnum, OrderListPlaceOtocoPendingBelowTimeInForceEnum, OrderListPlaceOtocoPendingBelowTypeEnum, OrderListPlaceOtocoPendingSideEnum, OrderListPlaceOtocoRequest, OrderListPlaceOtocoResponse, OrderListPlaceOtocoResponseResult, OrderListPlaceOtocoResponseResultOrderReportsInner, OrderListPlaceOtocoResponseResultOrdersInner, OrderListPlaceOtocoSelfTradePreventionModeEnum, OrderListPlaceOtocoWorkingPegOffsetTypeEnum, OrderListPlaceOtocoWorkingPegPriceTypeEnum, OrderListPlaceOtocoWorkingSideEnum, OrderListPlaceOtocoWorkingTimeInForceEnum, OrderListPlaceOtocoWorkingTypeEnum, OrderListPlaceRequest, OrderListPlaceResponse, OrderListPlaceResponseResult, OrderListPlaceResponseResultOrderReportsInner, OrderListPlaceSelfTradePreventionModeEnum, OrderListPlaceSideEnum, OrderListPlaceStopLimitTimeInForceEnum, OrderListStatusRequest, OrderListStatusResponse, OrderPlaceNewOrderRespTypeEnum, OrderPlacePegOffsetTypeEnum, OrderPlacePegPriceTypeEnum, OrderPlaceRequest, OrderPlaceResponse, OrderPlaceResponseResult, OrderPlaceResponseResultFillsInner, OrderPlaceSelfTradePreventionModeEnum, OrderPlaceSideEnum, OrderPlaceTimeInForceEnum, OrderPlaceTypeEnum, OrderStatusRequest, OrderStatusResponse, OrderStatusResponseResult, OrderTestNewOrderRespTypeEnum, OrderTestPegOffsetTypeEnum, OrderTestPegPriceTypeEnum, OrderTestRequest, OrderTestResponse, OrderTestResponseResult, OrderTestResponseResultDiscount, OrderTestResponseResultSpecialCommissionForOrder, OrderTestResponseResultStandardCommissionForOrder, OrderTestSelfTradePreventionModeEnum, OrderTestSideEnum, OrderTestTimeInForceEnum, OrderTestTypeEnum, OutboundAccountPosition, OutboundAccountPositionBInner, PercentPriceBySideFilter$1 as PercentPriceBySideFilter, PercentPriceFilter$1 as PercentPriceFilter, PingRequest, PingResponse, PriceFilter$1 as PriceFilter, RateLimits$1 as RateLimits, ReferencePriceCalculationRequest, ReferencePriceCalculationResponse, ReferencePriceCalculationResponseResult, ReferencePriceCalculationSymbolStatusEnum, ReferencePriceRequest$1 as ReferencePriceRequest, ReferencePriceResponse$1 as ReferencePriceResponse, ReferencePriceResponseResult, SessionLogonRequest, SessionLogonResponse, SessionLogonResponseResult, SessionLogoutRequest, SessionLogoutResponse, SessionLogoutResponseResult, SessionStatusRequest, SessionStatusResponse, SessionStatusResponseResult, SessionSubscriptionsRequest, SessionSubscriptionsResponse, SessionSubscriptionsResponseResultInner, SorOrderPlaceNewOrderRespTypeEnum, SorOrderPlaceRequest, SorOrderPlaceResponse, SorOrderPlaceResponseResultInner, SorOrderPlaceResponseResultInnerFillsInner, SorOrderPlaceSelfTradePreventionModeEnum, SorOrderPlaceSideEnum, SorOrderPlaceTimeInForceEnum, SorOrderPlaceTypeEnum, SorOrderTestNewOrderRespTypeEnum, SorOrderTestRequest, SorOrderTestResponse, SorOrderTestResponseResult, SorOrderTestSelfTradePreventionModeEnum, SorOrderTestSideEnum, SorOrderTestTimeInForceEnum, SorOrderTestTypeEnum, SymbolFilters$1 as SymbolFilters, TPlusSellFilter$1 as TPlusSellFilter, Ticker24hrRequest, Ticker24hrResponse, Ticker24hrResponse1, Ticker24hrResponse1Result, Ticker24hrResponse2, Ticker24hrResponse2ResultInner, Ticker24hrSymbolStatusEnum, Ticker24hrTypeEnum, TickerBookRequest, TickerBookResponse, TickerBookResponse1, TickerBookResponse1Result, TickerBookResponse2, TickerBookResponse2ResultInner, TickerBookSymbolStatusEnum, TickerPriceRequest, TickerPriceResponse, TickerPriceResponse1, TickerPriceResponse1Result, TickerPriceResponse2, TickerPriceResponse2ResultInner, TickerPriceSymbolStatusEnum, TickerRequest$1 as TickerRequest, TickerResponse$1 as TickerResponse, TickerResponse1, TickerResponse1Result, TickerResponse2, TickerResponse2ResultInner, TickerSymbolStatusEnum, TickerTradingDayRequest, TickerTradingDayResponse, TickerTradingDayResponseResultInner, TickerTradingDaySymbolStatusEnum, TickerTradingDayTypeEnum, TickerTypeEnum, TickerWindowSizeEnum, TimeRequest, TimeResponse, TimeResponseResult, TradeApi, TradeApiInterface, TradesAggregateRequest, TradesAggregateResponse, TradesAggregateResponseResultInner, TradesHistoricalRequest, TradesHistoricalResponse, TradesHistoricalResponseResultInner, TradesRecentRequest, TradesRecentResponse, TradesRecentResponseResultInner, TrailingDeltaFilter$1 as TrailingDeltaFilter, UiKlinesIntervalEnum, UiKlinesItem, UiKlinesRequest, UiKlinesResponse, UserDataStreamApi, UserDataStreamApiInterface, UserDataStreamEventsResponse, UserDataStreamSubscribeRequest, UserDataStreamSubscribeResponse, UserDataStreamSubscribeResponseResult, UserDataStreamSubscribeSignatureRequest, UserDataStreamSubscribeSignatureResponse, UserDataStreamUnsubscribeRequest, UserDataStreamUnsubscribeResponse, WebsocketAPI, WebsocketAPIConnection };
}
//#endregion
//#region src/websocket-streams/types/agg-trade-response.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AggTradeResponse
 */
interface AggTradeResponse {
  /**
   *
   * @type {string}
   * @memberof AggTradeResponse
   */
  e?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AggTradeResponse
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AggTradeResponse
   */
  s?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AggTradeResponse
   */
  a?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AggTradeResponse
   */
  p?: string;
  /**
   *
   * @type {string}
   * @memberof AggTradeResponse
   */
  q?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AggTradeResponse
   */
  f?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AggTradeResponse
   */
  l?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AggTradeResponse
   */
  T?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof AggTradeResponse
   */
  m?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof AggTradeResponse
   */
  M?: boolean;
}
//#endregion
//#region src/websocket-streams/types/all-market-rolling-window-ticker-response-inner.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AllMarketRollingWindowTickerResponseInner
 */
interface AllMarketRollingWindowTickerResponseInner {
  /**
   *
   * @type {string}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  e?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  s?: string;
  /**
   *
   * @type {string}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  p?: string;
  /**
   *
   * @type {string}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  P?: string;
  /**
   *
   * @type {string}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  o?: string;
  /**
   *
   * @type {string}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  h?: string;
  /**
   *
   * @type {string}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  l?: string;
  /**
   *
   * @type {string}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  c?: string;
  /**
   *
   * @type {string}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  w?: string;
  /**
   *
   * @type {string}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  v?: string;
  /**
   *
   * @type {string}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  q?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  O?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  C?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  F?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  L?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof AllMarketRollingWindowTickerResponseInner
   */
  n?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/all-market-rolling-window-ticker-response.d.ts
/**
 *
 * @export
 * @interface AllMarketRollingWindowTickerResponse
 */
interface AllMarketRollingWindowTickerResponse extends Array<AllMarketRollingWindowTickerResponseInner> {}
//#endregion
//#region src/websocket-streams/types/all-mini-ticker-response-inner.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AllMiniTickerResponseInner
 */
interface AllMiniTickerResponseInner {
  /**
   *
   * @type {string}
   * @memberof AllMiniTickerResponseInner
   */
  e?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AllMiniTickerResponseInner
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AllMiniTickerResponseInner
   */
  s?: string;
  /**
   *
   * @type {string}
   * @memberof AllMiniTickerResponseInner
   */
  c?: string;
  /**
   *
   * @type {string}
   * @memberof AllMiniTickerResponseInner
   */
  o?: string;
  /**
   *
   * @type {string}
   * @memberof AllMiniTickerResponseInner
   */
  h?: string;
  /**
   *
   * @type {string}
   * @memberof AllMiniTickerResponseInner
   */
  l?: string;
  /**
   *
   * @type {string}
   * @memberof AllMiniTickerResponseInner
   */
  v?: string;
  /**
   *
   * @type {string}
   * @memberof AllMiniTickerResponseInner
   */
  q?: string;
}
//#endregion
//#region src/websocket-streams/types/all-mini-ticker-response.d.ts
/**
 *
 * @export
 * @interface AllMiniTickerResponse
 */
interface AllMiniTickerResponse extends Array<AllMiniTickerResponseInner> {}
//#endregion
//#region src/websocket-streams/types/max-asset-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxAssetFilter
 */
interface MaxAssetFilter {
  /**
   *
   * @type {string}
   * @memberof MaxAssetFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof MaxAssetFilter
   */
  qtyExponent?: number;
  /**
   *
   * @type {string}
   * @memberof MaxAssetFilter
   */
  limit?: string;
  /**
   *
   * @type {string}
   * @memberof MaxAssetFilter
   */
  asset?: string;
}
//#endregion
//#region src/websocket-streams/types/asset-filters.d.ts
/**
 * @type AssetFilters
 * @export
 */
type AssetFilters = {
  filterType: 'MAX_ASSET';
} & MaxAssetFilter;
//#endregion
//#region src/websocket-streams/types/avg-price-response.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AvgPriceResponse
 */
interface AvgPriceResponse {
  /**
   *
   * @type {string}
   * @memberof AvgPriceResponse
   */
  e?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AvgPriceResponse
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof AvgPriceResponse
   */
  s?: string;
  /**
   *
   * @type {string}
   * @memberof AvgPriceResponse
   */
  i?: string;
  /**
   *
   * @type {string}
   * @memberof AvgPriceResponse
   */
  w?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof AvgPriceResponse
   */
  T?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/block-trade-response.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface BlockTradeResponse
 */
interface BlockTradeResponse {
  /**
   *
   * @type {string}
   * @memberof BlockTradeResponse
   */
  e?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof BlockTradeResponse
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof BlockTradeResponse
   */
  s?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof BlockTradeResponse
   */
  t?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof BlockTradeResponse
   */
  p?: string;
  /**
   *
   * @type {string}
   * @memberof BlockTradeResponse
   */
  q?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof BlockTradeResponse
   */
  T?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof BlockTradeResponse
   */
  m?: boolean;
}
//#endregion
//#region src/websocket-streams/types/book-ticker-response.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface BookTickerResponse
 */
interface BookTickerResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof BookTickerResponse
   */
  u?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof BookTickerResponse
   */
  s?: string;
  /**
   *
   * @type {string}
   * @memberof BookTickerResponse
   */
  b?: string;
  /**
   *
   * @type {string}
   * @memberof BookTickerResponse
   */
  B?: string;
  /**
   *
   * @type {string}
   * @memberof BookTickerResponse
   */
  a?: string;
  /**
   *
   * @type {string}
   * @memberof BookTickerResponse
   */
  A?: string;
}
//#endregion
//#region src/websocket-streams/types/diff-book-depth-response.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DiffBookDepthResponse
 */
interface DiffBookDepthResponse {
  /**
   *
   * @type {string}
   * @memberof DiffBookDepthResponse
   */
  e?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof DiffBookDepthResponse
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof DiffBookDepthResponse
   */
  s?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof DiffBookDepthResponse
   */
  U?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof DiffBookDepthResponse
   */
  u?: number | bigint;
  /**
   *
   * @type {Array<Array<string>>}
   * @memberof DiffBookDepthResponse
   */
  b?: Array<Array<string>>;
  /**
   *
   * @type {Array<Array<string>>}
   * @memberof DiffBookDepthResponse
   */
  a?: Array<Array<string>>;
}
//#endregion
//#region src/websocket-streams/types/exchange-max-num-algo-orders-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeMaxNumAlgoOrdersFilter
 */
interface ExchangeMaxNumAlgoOrdersFilter {
  /**
   *
   * @type {string}
   * @memberof ExchangeMaxNumAlgoOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeMaxNumAlgoOrdersFilter
   */
  maxNumAlgoOrders?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/exchange-max-num-iceberg-orders-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeMaxNumIcebergOrdersFilter
 */
interface ExchangeMaxNumIcebergOrdersFilter {
  /**
   *
   * @type {string}
   * @memberof ExchangeMaxNumIcebergOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeMaxNumIcebergOrdersFilter
   */
  maxNumIcebergOrders?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/exchange-max-num-order-lists-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeMaxNumOrderListsFilter
 */
interface ExchangeMaxNumOrderListsFilter {
  /**
   *
   * @type {string}
   * @memberof ExchangeMaxNumOrderListsFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeMaxNumOrderListsFilter
   */
  maxNumOrderLists?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/exchange-max-num-orders-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeMaxNumOrdersFilter
 */
interface ExchangeMaxNumOrdersFilter {
  /**
   *
   * @type {string}
   * @memberof ExchangeMaxNumOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ExchangeMaxNumOrdersFilter
   */
  maxNumOrders?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/exchange-filters.d.ts
/**
 * @type ExchangeFilters
 * @export
 */
type ExchangeFilters = ({
  filterType: 'EXCHANGE_MAX_NUM_ALGO_ORDERS';
} & ExchangeMaxNumAlgoOrdersFilter) | ({
  filterType: 'EXCHANGE_MAX_NUM_ICEBERG_ORDERS';
} & ExchangeMaxNumIcebergOrdersFilter) | ({
  filterType: 'EXCHANGE_MAX_NUM_ORDERS';
} & ExchangeMaxNumOrdersFilter) | ({
  filterType: 'EXCHANGE_MAX_NUM_ORDER_LISTS';
} & ExchangeMaxNumOrderListsFilter);
//#endregion
//#region src/websocket-streams/types/iceberg-parts-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface IcebergPartsFilter
 */
interface IcebergPartsFilter {
  /**
   *
   * @type {string}
   * @memberof IcebergPartsFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof IcebergPartsFilter
   */
  limit?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/kline-response-k.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface KlineResponseK
 */
interface KlineResponseK {
  /**
   *
   * @type {number | bigint}
   * @memberof KlineResponseK
   */
  t?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof KlineResponseK
   */
  T?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof KlineResponseK
   */
  s?: string;
  /**
   *
   * @type {string}
   * @memberof KlineResponseK
   */
  i?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof KlineResponseK
   */
  f?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof KlineResponseK
   */
  L?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof KlineResponseK
   */
  o?: string;
  /**
   *
   * @type {string}
   * @memberof KlineResponseK
   */
  c?: string;
  /**
   *
   * @type {string}
   * @memberof KlineResponseK
   */
  h?: string;
  /**
   *
   * @type {string}
   * @memberof KlineResponseK
   */
  l?: string;
  /**
   *
   * @type {string}
   * @memberof KlineResponseK
   */
  v?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof KlineResponseK
   */
  n?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof KlineResponseK
   */
  x?: boolean;
  /**
   *
   * @type {string}
   * @memberof KlineResponseK
   */
  q?: string;
  /**
   *
   * @type {string}
   * @memberof KlineResponseK
   */
  V?: string;
  /**
   *
   * @type {string}
   * @memberof KlineResponseK
   */
  Q?: string;
  /**
   *
   * @type {string}
   * @memberof KlineResponseK
   */
  B?: string;
}
//#endregion
//#region src/websocket-streams/types/kline-offset-response.d.ts
/**
 *
 * @export
 * @interface KlineOffsetResponse
 */
interface KlineOffsetResponse {
  /**
   *
   * @type {string}
   * @memberof KlineOffsetResponse
   */
  e?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof KlineOffsetResponse
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof KlineOffsetResponse
   */
  s?: string;
  /**
   *
   * @type {KlineResponseK}
   * @memberof KlineOffsetResponse
   */
  k?: KlineResponseK;
}
//#endregion
//#region src/websocket-streams/types/kline-response.d.ts
/**
 *
 * @export
 * @interface KlineResponse
 */
interface KlineResponse {
  /**
   *
   * @type {string}
   * @memberof KlineResponse
   */
  e?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof KlineResponse
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof KlineResponse
   */
  s?: string;
  /**
   *
   * @type {KlineResponseK}
   * @memberof KlineResponse
   */
  k?: KlineResponseK;
}
//#endregion
//#region src/websocket-streams/types/lot-size-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface LotSizeFilter
 */
interface LotSizeFilter {
  /**
   *
   * @type {string}
   * @memberof LotSizeFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof LotSizeFilter
   */
  qtyExponent?: number;
  /**
   *
   * @type {string}
   * @memberof LotSizeFilter
   */
  minQty?: string;
  /**
   *
   * @type {string}
   * @memberof LotSizeFilter
   */
  maxQty?: string;
  /**
   *
   * @type {string}
   * @memberof LotSizeFilter
   */
  stepSize?: string;
}
//#endregion
//#region src/websocket-streams/types/market-lot-size-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MarketLotSizeFilter
 */
interface MarketLotSizeFilter {
  /**
   *
   * @type {string}
   * @memberof MarketLotSizeFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof MarketLotSizeFilter
   */
  qtyExponent?: number;
  /**
   *
   * @type {string}
   * @memberof MarketLotSizeFilter
   */
  minQty?: string;
  /**
   *
   * @type {string}
   * @memberof MarketLotSizeFilter
   */
  maxQty?: string;
  /**
   *
   * @type {string}
   * @memberof MarketLotSizeFilter
   */
  stepSize?: string;
}
//#endregion
//#region src/websocket-streams/types/max-num-algo-orders-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumAlgoOrdersFilter
 */
interface MaxNumAlgoOrdersFilter {
  /**
   *
   * @type {string}
   * @memberof MaxNumAlgoOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumAlgoOrdersFilter
   */
  maxNumAlgoOrders?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/max-num-iceberg-orders-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumIcebergOrdersFilter
 */
interface MaxNumIcebergOrdersFilter {
  /**
   *
   * @type {string}
   * @memberof MaxNumIcebergOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumIcebergOrdersFilter
   */
  maxNumIcebergOrders?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/max-num-order-amends-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumOrderAmendsFilter
 */
interface MaxNumOrderAmendsFilter {
  /**
   *
   * @type {string}
   * @memberof MaxNumOrderAmendsFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumOrderAmendsFilter
   */
  maxNumOrderAmends?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/max-num-order-lists-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumOrderListsFilter
 */
interface MaxNumOrderListsFilter {
  /**
   *
   * @type {string}
   * @memberof MaxNumOrderListsFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumOrderListsFilter
   */
  maxNumOrderLists?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/max-num-orders-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxNumOrdersFilter
 */
interface MaxNumOrdersFilter {
  /**
   *
   * @type {string}
   * @memberof MaxNumOrdersFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MaxNumOrdersFilter
   */
  maxNumOrders?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/max-position-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MaxPositionFilter
 */
interface MaxPositionFilter {
  /**
   *
   * @type {string}
   * @memberof MaxPositionFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof MaxPositionFilter
   */
  qtyExponent?: number;
  /**
   *
   * @type {string}
   * @memberof MaxPositionFilter
   */
  maxPosition?: string;
}
//#endregion
//#region src/websocket-streams/types/min-notional-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MinNotionalFilter
 */
interface MinNotionalFilter {
  /**
   *
   * @type {string}
   * @memberof MinNotionalFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof MinNotionalFilter
   */
  priceExponent?: number;
  /**
   *
   * @type {string}
   * @memberof MinNotionalFilter
   */
  minNotional?: string;
  /**
   *
   * @type {boolean}
   * @memberof MinNotionalFilter
   */
  applyToMarket?: boolean;
  /**
   *
   * @type {number}
   * @memberof MinNotionalFilter
   */
  avgPriceMins?: number;
}
//#endregion
//#region src/websocket-streams/types/mini-ticker-response.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MiniTickerResponse
 */
interface MiniTickerResponse {
  /**
   *
   * @type {string}
   * @memberof MiniTickerResponse
   */
  e?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof MiniTickerResponse
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof MiniTickerResponse
   */
  s?: string;
  /**
   *
   * @type {string}
   * @memberof MiniTickerResponse
   */
  c?: string;
  /**
   *
   * @type {string}
   * @memberof MiniTickerResponse
   */
  o?: string;
  /**
   *
   * @type {string}
   * @memberof MiniTickerResponse
   */
  h?: string;
  /**
   *
   * @type {string}
   * @memberof MiniTickerResponse
   */
  l?: string;
  /**
   *
   * @type {string}
   * @memberof MiniTickerResponse
   */
  v?: string;
  /**
   *
   * @type {string}
   * @memberof MiniTickerResponse
   */
  q?: string;
}
//#endregion
//#region src/websocket-streams/types/notional-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface NotionalFilter
 */
interface NotionalFilter {
  /**
   *
   * @type {string}
   * @memberof NotionalFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof NotionalFilter
   */
  priceExponent?: number;
  /**
   *
   * @type {string}
   * @memberof NotionalFilter
   */
  minNotional?: string;
  /**
   *
   * @type {boolean}
   * @memberof NotionalFilter
   */
  applyMinToMarket?: boolean;
  /**
   *
   * @type {string}
   * @memberof NotionalFilter
   */
  maxNotional?: string;
  /**
   *
   * @type {boolean}
   * @memberof NotionalFilter
   */
  applyMaxToMarket?: boolean;
  /**
   *
   * @type {number}
   * @memberof NotionalFilter
   */
  avgPriceMins?: number;
}
//#endregion
//#region src/websocket-streams/types/partial-book-depth-response.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface PartialBookDepthResponse
 */
interface PartialBookDepthResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof PartialBookDepthResponse
   */
  lastUpdateId?: number | bigint;
  /**
   *
   * @type {Array<Array<string>>}
   * @memberof PartialBookDepthResponse
   */
  bids?: Array<Array<string>>;
  /**
   *
   * @type {Array<Array<string>>}
   * @memberof PartialBookDepthResponse
   */
  asks?: Array<Array<string>>;
}
//#endregion
//#region src/websocket-streams/types/percent-price-by-side-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface PercentPriceBySideFilter
 */
interface PercentPriceBySideFilter {
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof PercentPriceBySideFilter
   */
  multiplierExponent?: number;
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  bidMultiplierUp?: string;
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  bidMultiplierDown?: string;
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  askMultiplierUp?: string;
  /**
   *
   * @type {string}
   * @memberof PercentPriceBySideFilter
   */
  askMultiplierDown?: string;
  /**
   *
   * @type {number}
   * @memberof PercentPriceBySideFilter
   */
  avgPriceMins?: number;
}
//#endregion
//#region src/websocket-streams/types/percent-price-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface PercentPriceFilter
 */
interface PercentPriceFilter {
  /**
   *
   * @type {string}
   * @memberof PercentPriceFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof PercentPriceFilter
   */
  multiplierExponent?: number;
  /**
   *
   * @type {string}
   * @memberof PercentPriceFilter
   */
  multiplierUp?: string;
  /**
   *
   * @type {string}
   * @memberof PercentPriceFilter
   */
  multiplierDown?: string;
  /**
   *
   * @type {number}
   * @memberof PercentPriceFilter
   */
  avgPriceMins?: number;
}
//#endregion
//#region src/websocket-streams/types/price-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface PriceFilter
 */
interface PriceFilter {
  /**
   *
   * @type {string}
   * @memberof PriceFilter
   */
  filterType?: string;
  /**
   *
   * @type {number}
   * @memberof PriceFilter
   */
  priceExponent?: number;
  /**
   *
   * @type {string}
   * @memberof PriceFilter
   */
  minPrice?: string;
  /**
   *
   * @type {string}
   * @memberof PriceFilter
   */
  maxPrice?: string;
  /**
   *
   * @type {string}
   * @memberof PriceFilter
   */
  tickSize?: string;
}
//#endregion
//#region src/websocket-streams/types/rate-limits.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface RateLimits
 */
interface RateLimits {
  /**
   *
   * @type {string}
   * @memberof RateLimits
   */
  rateLimitType?: string;
  /**
   *
   * @type {string}
   * @memberof RateLimits
   */
  interval?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof RateLimits
   */
  intervalNum?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RateLimits
   */
  limit?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RateLimits
   */
  count?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/reference-price-response.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ReferencePriceResponse
 */
interface ReferencePriceResponse {
  /**
   *
   * @type {string}
   * @memberof ReferencePriceResponse
   */
  e?: string;
  /**
   *
   * @type {string}
   * @memberof ReferencePriceResponse
   */
  s?: string;
  /**
   *
   * @type {string}
   * @memberof ReferencePriceResponse
   */
  r?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof ReferencePriceResponse
   */
  t?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/rolling-window-ticker-response.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface RollingWindowTickerResponse
 */
interface RollingWindowTickerResponse {
  /**
   *
   * @type {string}
   * @memberof RollingWindowTickerResponse
   */
  e?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof RollingWindowTickerResponse
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof RollingWindowTickerResponse
   */
  s?: string;
  /**
   *
   * @type {string}
   * @memberof RollingWindowTickerResponse
   */
  p?: string;
  /**
   *
   * @type {string}
   * @memberof RollingWindowTickerResponse
   */
  P?: string;
  /**
   *
   * @type {string}
   * @memberof RollingWindowTickerResponse
   */
  o?: string;
  /**
   *
   * @type {string}
   * @memberof RollingWindowTickerResponse
   */
  h?: string;
  /**
   *
   * @type {string}
   * @memberof RollingWindowTickerResponse
   */
  l?: string;
  /**
   *
   * @type {string}
   * @memberof RollingWindowTickerResponse
   */
  c?: string;
  /**
   *
   * @type {string}
   * @memberof RollingWindowTickerResponse
   */
  w?: string;
  /**
   *
   * @type {string}
   * @memberof RollingWindowTickerResponse
   */
  v?: string;
  /**
   *
   * @type {string}
   * @memberof RollingWindowTickerResponse
   */
  q?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof RollingWindowTickerResponse
   */
  O?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RollingWindowTickerResponse
   */
  C?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RollingWindowTickerResponse
   */
  F?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RollingWindowTickerResponse
   */
  L?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RollingWindowTickerResponse
   */
  n?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/tplus-sell-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TPlusSellFilter
 */
interface TPlusSellFilter {
  /**
   *
   * @type {string}
   * @memberof TPlusSellFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TPlusSellFilter
   */
  endTime?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/trailing-delta-filter.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TrailingDeltaFilter
 */
interface TrailingDeltaFilter {
  /**
   *
   * @type {string}
   * @memberof TrailingDeltaFilter
   */
  filterType?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TrailingDeltaFilter
   */
  minTrailingAboveDelta?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TrailingDeltaFilter
   */
  maxTrailingAboveDelta?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TrailingDeltaFilter
   */
  minTrailingBelowDelta?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TrailingDeltaFilter
   */
  maxTrailingBelowDelta?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/symbol-filters.d.ts
/**
 * @type SymbolFilters
 * @export
 */
type SymbolFilters = ({
  filterType: 'ICEBERG_PARTS';
} & IcebergPartsFilter) | ({
  filterType: 'LOT_SIZE';
} & LotSizeFilter) | ({
  filterType: 'MARKET_LOT_SIZE';
} & MarketLotSizeFilter) | ({
  filterType: 'MAX_NUM_ALGO_ORDERS';
} & MaxNumAlgoOrdersFilter) | ({
  filterType: 'MAX_NUM_ICEBERG_ORDERS';
} & MaxNumIcebergOrdersFilter) | ({
  filterType: 'MAX_NUM_ORDERS';
} & MaxNumOrdersFilter) | ({
  filterType: 'MAX_NUM_ORDER_AMENDS';
} & MaxNumOrderAmendsFilter) | ({
  filterType: 'MAX_NUM_ORDER_LISTS';
} & MaxNumOrderListsFilter) | ({
  filterType: 'MAX_POSITION';
} & MaxPositionFilter) | ({
  filterType: 'MIN_NOTIONAL';
} & MinNotionalFilter) | ({
  filterType: 'NOTIONAL';
} & NotionalFilter) | ({
  filterType: 'PERCENT_PRICE';
} & PercentPriceFilter) | ({
  filterType: 'PERCENT_PRICE_BY_SIDE';
} & PercentPriceBySideFilter) | ({
  filterType: 'PRICE_FILTER';
} & PriceFilter) | ({
  filterType: 'TRAILING_DELTA';
} & TrailingDeltaFilter) | ({
  filterType: 'T_PLUS_SELL';
} & TPlusSellFilter);
//#endregion
//#region src/websocket-streams/types/ticker-response.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerResponse
 */
interface TickerResponse {
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  e?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  s?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  p?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  P?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  w?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  x?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  c?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  Q?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  b?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  B?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  a?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  A?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  o?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  h?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  l?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  v?: string;
  /**
   *
   * @type {string}
   * @memberof TickerResponse
   */
  q?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse
   */
  O?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse
   */
  C?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse
   */
  F?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse
   */
  L?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof TickerResponse
   */
  n?: number | bigint;
}
//#endregion
//#region src/websocket-streams/types/trade-response.d.ts
/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TradeResponse
 */
interface TradeResponse {
  /**
   *
   * @type {string}
   * @memberof TradeResponse
   */
  e?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradeResponse
   */
  E?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof TradeResponse
   */
  s?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradeResponse
   */
  t?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof TradeResponse
   */
  p?: string;
  /**
   *
   * @type {string}
   * @memberof TradeResponse
   */
  q?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof TradeResponse
   */
  T?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof TradeResponse
   */
  m?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof TradeResponse
   */
  M?: boolean;
}
//#endregion
//#region src/websocket-streams/modules/web-socket-streams-api.d.ts
/**
 * WebSocketStreamsApi - interface
 * @interface WebSocketStreamsApi
 */
interface WebSocketStreamsApiInterface {
  /**
   * The Aggregate Trade Streams push trade information that is aggregated for a single taker order.
   *
   * @summary WebSocket Aggregate Trade Streams
   * @param {AggTradeRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<AggTradeResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  aggTrade(requestParameters: AggTradeRequest): WebsocketStream<AggTradeResponse>;
  /**
   * Rolling window ticker statistics for all market symbols, computed over multiple windows.
   * Note that only tickers that have changed will be present in the array.
   *
   * @summary WebSocket All Market Rolling Window Statistics Streams
   * @param {AllMarketRollingWindowTickerRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<AllMarketRollingWindowTickerResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  allMarketRollingWindowTicker(requestParameters: AllMarketRollingWindowTickerRequest): WebsocketStream<AllMarketRollingWindowTickerResponse>;
  /**
   * 24hr rolling window mini-ticker statistics for all symbols that changed in an array. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs. Note that only tickers that have changed will be present in the array.
   *
   * @summary WebSocket All Market Mini Tickers Stream
   * @param {AllMiniTickerRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<AllMiniTickerResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  allMiniTicker(requestParameters?: AllMiniTickerRequest): WebsocketStream<AllMiniTickerResponse>;
  /**
   * Average price streams push changes in the average price over a fixed time interval.
   *
   * @summary WebSocket Average Price
   * @param {AvgPriceRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<AvgPriceResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  avgPrice(requestParameters: AvgPriceRequest): WebsocketStream<AvgPriceResponse>;
  /**
   *
   *
   * @summary WebSocket Block Trade Streams
   * @param {BlockTradeRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<BlockTradeResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  blockTrade(requestParameters: BlockTradeRequest): WebsocketStream<BlockTradeResponse>;
  /**
   * Pushes any update to the best bid or ask's price or quantity in real-time for a specified symbol.
   * Multiple `<symbol>@bookTicker` streams can be subscribed to over one connection.
   *
   * @summary WebSocket Individual Symbol Book Ticker Streams
   * @param {BookTickerRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<BookTickerResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  bookTicker(requestParameters: BookTickerRequest): WebsocketStream<BookTickerResponse>;
  /**
   * Order book price and quantity depth updates used to locally manage an order book.
   *
   * @summary WebSocket Diff. Depth Stream
   * @param {DiffBookDepthRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<DiffBookDepthResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  diffBookDepth(requestParameters: DiffBookDepthRequest): WebsocketStream<DiffBookDepthResponse>;
  /**
   * The Kline/Candlestick Stream push updates to the current klines/candlestick every second in `UTC+0` timezone
   *
   * <a id="kline-intervals"></a>
   *
   * @summary WebSocket Kline/Candlestick Streams for UTC
   * @param {KlineRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<KlineResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  kline(requestParameters: KlineRequest): WebsocketStream<KlineResponse>;
  /**
   * The Kline/Candlestick Stream push updates to the current klines/candlestick every second in `UTC+8` timezone
   *
   * @summary WebSocket Kline/Candlestick Streams with timezone offset
   * @param {KlineOffsetRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<KlineOffsetResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  klineOffset(requestParameters: KlineOffsetRequest): WebsocketStream<KlineOffsetResponse>;
  /**
   * 24hr rolling window mini-ticker statistics. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs.
   *
   * @summary WebSocket Individual Symbol Mini Ticker Stream
   * @param {MiniTickerRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<MiniTickerResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  miniTicker(requestParameters: MiniTickerRequest): WebsocketStream<MiniTickerResponse>;
  /**
   * Top **\<levels\>** bids and asks, pushed every second. Valid **\<levels\>** are 5, 10, or 20.
   *
   * @summary WebSocket Partial Book Depth Streams
   * @param {PartialBookDepthRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<PartialBookDepthResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  partialBookDepth(requestParameters: PartialBookDepthRequest): WebsocketStream<PartialBookDepthResponse>;
  /**
   *
   *
   * @summary WebSocket Reference Price Streams
   * @param {ReferencePriceRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<ReferencePriceResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  referencePrice(requestParameters: ReferencePriceRequest): WebsocketStream<ReferencePriceResponse>;
  /**
   * Rolling window ticker statistics for a single symbol, computed over multiple windows.
   *
   * @summary WebSocket Individual Symbol Rolling Window Statistics Streams
   * @param {RollingWindowTickerRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<RollingWindowTickerResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  rollingWindowTicker(requestParameters: RollingWindowTickerRequest): WebsocketStream<RollingWindowTickerResponse>;
  /**
   * 24hr rolling window ticker statistics for a single symbol. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs.
   *
   * @summary WebSocket Individual Symbol Ticker Streams
   * @param {TickerRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<TickerResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  ticker(requestParameters: TickerRequest): WebsocketStream<TickerResponse>;
  /**
   * The Trade Streams push raw trade information; each trade has a unique buyer and seller.
   *
   * @summary WebSocket Trade Streams
   * @param {TradeRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<TradeResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApiInterface
   */
  trade(requestParameters: TradeRequest): WebsocketStream<TradeResponse>;
}
/**
 * Request parameters for aggTrade operation in WebSocketStreamsApi.
 * @interface AggTradeRequest
 */
interface AggTradeRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiAggTrade
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiAggTrade
   */
  readonly id?: string;
}
/**
 * Request parameters for allMarketRollingWindowTicker operation in WebSocketStreamsApi.
 * @interface AllMarketRollingWindowTickerRequest
 */
interface AllMarketRollingWindowTickerRequest {
  /**
   *
   * @type {'1h' | '4h' | '1d'}
   * @memberof WebSocketStreamsApiAllMarketRollingWindowTicker
   */
  readonly windowSize: AllMarketRollingWindowTickerWindowSizeEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiAllMarketRollingWindowTicker
   */
  readonly id?: string;
}
/**
 * Request parameters for allMiniTicker operation in WebSocketStreamsApi.
 * @interface AllMiniTickerRequest
 */
interface AllMiniTickerRequest {
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiAllMiniTicker
   */
  readonly id?: string;
}
/**
 * Request parameters for avgPrice operation in WebSocketStreamsApi.
 * @interface AvgPriceRequest
 */
interface AvgPriceRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiAvgPrice
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiAvgPrice
   */
  readonly id?: string;
}
/**
 * Request parameters for blockTrade operation in WebSocketStreamsApi.
 * @interface BlockTradeRequest
 */
interface BlockTradeRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiBlockTrade
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiBlockTrade
   */
  readonly id?: string;
}
/**
 * Request parameters for bookTicker operation in WebSocketStreamsApi.
 * @interface BookTickerRequest
 */
interface BookTickerRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiBookTicker
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiBookTicker
   */
  readonly id?: string;
}
/**
 * Request parameters for diffBookDepth operation in WebSocketStreamsApi.
 * @interface DiffBookDepthRequest
 */
interface DiffBookDepthRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiDiffBookDepth
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiDiffBookDepth
   */
  readonly id?: string;
  /**
   * 1000ms or 100ms
   * @type {string}
   * @memberof WebSocketStreamsApiDiffBookDepth
   */
  readonly updateSpeed?: string;
}
/**
 * Request parameters for kline operation in WebSocketStreamsApi.
 * @interface KlineRequest
 */
interface KlineRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiKline
   */
  readonly symbol: string;
  /**
   *
   * @type {'1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
   * @memberof WebSocketStreamsApiKline
   */
  readonly interval: KlineIntervalEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiKline
   */
  readonly id?: string;
}
/**
 * Request parameters for klineOffset operation in WebSocketStreamsApi.
 * @interface KlineOffsetRequest
 */
interface KlineOffsetRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiKlineOffset
   */
  readonly symbol: string;
  /**
   *
   * @type {'1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
   * @memberof WebSocketStreamsApiKlineOffset
   */
  readonly interval: KlineOffsetIntervalEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiKlineOffset
   */
  readonly id?: string;
}
/**
 * Request parameters for miniTicker operation in WebSocketStreamsApi.
 * @interface MiniTickerRequest
 */
interface MiniTickerRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiMiniTicker
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiMiniTicker
   */
  readonly id?: string;
}
/**
 * Request parameters for partialBookDepth operation in WebSocketStreamsApi.
 * @interface PartialBookDepthRequest
 */
interface PartialBookDepthRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiPartialBookDepth
   */
  readonly symbol: string;
  /**
   *
   * @type {'5' | '10' | '20'}
   * @memberof WebSocketStreamsApiPartialBookDepth
   */
  readonly levels: PartialBookDepthLevelsEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiPartialBookDepth
   */
  readonly id?: string;
  /**
   * 1000ms or 100ms
   * @type {string}
   * @memberof WebSocketStreamsApiPartialBookDepth
   */
  readonly updateSpeed?: string;
}
/**
 * Request parameters for referencePrice operation in WebSocketStreamsApi.
 * @interface ReferencePriceRequest
 */
interface ReferencePriceRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiReferencePrice
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiReferencePrice
   */
  readonly id?: string;
}
/**
 * Request parameters for rollingWindowTicker operation in WebSocketStreamsApi.
 * @interface RollingWindowTickerRequest
 */
interface RollingWindowTickerRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiRollingWindowTicker
   */
  readonly symbol: string;
  /**
   *
   * @type {'1h' | '4h' | '1d'}
   * @memberof WebSocketStreamsApiRollingWindowTicker
   */
  readonly windowSize: RollingWindowTickerWindowSizeEnum;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiRollingWindowTicker
   */
  readonly id?: string;
}
/**
 * Request parameters for ticker operation in WebSocketStreamsApi.
 * @interface TickerRequest
 */
interface TickerRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiTicker
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiTicker
   */
  readonly id?: string;
}
/**
 * Request parameters for trade operation in WebSocketStreamsApi.
 * @interface TradeRequest
 */
interface TradeRequest {
  /**
   * Symbol to query
   * @type {string}
   * @memberof WebSocketStreamsApiTrade
   */
  readonly symbol: string;
  /**
   * Unique WebSocket request ID.
   * @type {string}
   * @memberof WebSocketStreamsApiTrade
   */
  readonly id?: string;
}
/**
 * WebSocketStreamsApi - interface
 * @class WebSocketStreamsApi
 * @extends {WebsocketStreamsBase}
 */
declare class WebSocketStreamsApi implements WebSocketStreamsApiInterface {
  private readonly websocketBase;
  private localVarParamCreator;
  constructor(websocketBase: WebsocketStreamsBase);
  /**
   * The Aggregate Trade Streams push trade information that is aggregated for a single taker order.
   *
   * @summary WebSocket Aggregate Trade Streams
   * @param {AggTradeRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<AggTradeResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#aggregate-trade-streams Binance API Documentation}
   */
  aggTrade(requestParameters: AggTradeRequest): WebsocketStream<AggTradeResponse>;
  /**
   * Rolling window ticker statistics for all market symbols, computed over multiple windows.
   * Note that only tickers that have changed will be present in the array.
   *
   * @summary WebSocket All Market Rolling Window Statistics Streams
   * @param {AllMarketRollingWindowTickerRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<AllMarketRollingWindowTickerResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-rolling-window-statistics-streams Binance API Documentation}
   */
  allMarketRollingWindowTicker(requestParameters: AllMarketRollingWindowTickerRequest): WebsocketStream<AllMarketRollingWindowTickerResponse>;
  /**
   * 24hr rolling window mini-ticker statistics for all symbols that changed in an array. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs. Note that only tickers that have changed will be present in the array.
   *
   * @summary WebSocket All Market Mini Tickers Stream
   * @param {AllMiniTickerRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<AllMiniTickerResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-mini-tickers-stream Binance API Documentation}
   */
  allMiniTicker(requestParameters?: AllMiniTickerRequest): WebsocketStream<AllMiniTickerResponse>;
  /**
   * Average price streams push changes in the average price over a fixed time interval.
   *
   * @summary WebSocket Average Price
   * @param {AvgPriceRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<AvgPriceResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#average-price Binance API Documentation}
   */
  avgPrice(requestParameters: AvgPriceRequest): WebsocketStream<AvgPriceResponse>;
  /**
   *
   *
   * @summary WebSocket Block Trade Streams
   * @param {BlockTradeRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<BlockTradeResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#block-trade-streams Binance API Documentation}
   */
  blockTrade(requestParameters: BlockTradeRequest): WebsocketStream<BlockTradeResponse>;
  /**
   * Pushes any update to the best bid or ask's price or quantity in real-time for a specified symbol.
   * Multiple `<symbol>@bookTicker` streams can be subscribed to over one connection.
   *
   * @summary WebSocket Individual Symbol Book Ticker Streams
   * @param {BookTickerRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<BookTickerResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-book-ticker-streams Binance API Documentation}
   */
  bookTicker(requestParameters: BookTickerRequest): WebsocketStream<BookTickerResponse>;
  /**
   * Order book price and quantity depth updates used to locally manage an order book.
   *
   * @summary WebSocket Diff. Depth Stream
   * @param {DiffBookDepthRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<DiffBookDepthResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#diff-depth-stream Binance API Documentation}
   */
  diffBookDepth(requestParameters: DiffBookDepthRequest): WebsocketStream<DiffBookDepthResponse>;
  /**
   * The Kline/Candlestick Stream push updates to the current klines/candlestick every second in `UTC+0` timezone
   *
   * <a id="kline-intervals"></a>
   *
   * @summary WebSocket Kline/Candlestick Streams for UTC
   * @param {KlineRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<KlineResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#klinecandlestick-streams-for-utc Binance API Documentation}
   */
  kline(requestParameters: KlineRequest): WebsocketStream<KlineResponse>;
  /**
   * The Kline/Candlestick Stream push updates to the current klines/candlestick every second in `UTC+8` timezone
   *
   * @summary WebSocket Kline/Candlestick Streams with timezone offset
   * @param {KlineOffsetRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<KlineOffsetResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#klinecandlestick-streams-with-timezone-offset Binance API Documentation}
   */
  klineOffset(requestParameters: KlineOffsetRequest): WebsocketStream<KlineOffsetResponse>;
  /**
   * 24hr rolling window mini-ticker statistics. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs.
   *
   * @summary WebSocket Individual Symbol Mini Ticker Stream
   * @param {MiniTickerRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<MiniTickerResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream Binance API Documentation}
   */
  miniTicker(requestParameters: MiniTickerRequest): WebsocketStream<MiniTickerResponse>;
  /**
   * Top **\<levels\>** bids and asks, pushed every second. Valid **\<levels\>** are 5, 10, or 20.
   *
   * @summary WebSocket Partial Book Depth Streams
   * @param {PartialBookDepthRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<PartialBookDepthResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams Binance API Documentation}
   */
  partialBookDepth(requestParameters: PartialBookDepthRequest): WebsocketStream<PartialBookDepthResponse>;
  /**
   *
   *
   * @summary WebSocket Reference Price Streams
   * @param {ReferencePriceRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<ReferencePriceResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#reference-price-streams Binance API Documentation}
   */
  referencePrice(requestParameters: ReferencePriceRequest): WebsocketStream<ReferencePriceResponse>;
  /**
   * Rolling window ticker statistics for a single symbol, computed over multiple windows.
   *
   * @summary WebSocket Individual Symbol Rolling Window Statistics Streams
   * @param {RollingWindowTickerRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<RollingWindowTickerResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-rolling-window-statistics-streams Binance API Documentation}
   */
  rollingWindowTicker(requestParameters: RollingWindowTickerRequest): WebsocketStream<RollingWindowTickerResponse>;
  /**
   * 24hr rolling window ticker statistics for a single symbol. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs.
   *
   * @summary WebSocket Individual Symbol Ticker Streams
   * @param {TickerRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<TickerResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-ticker-streams Binance API Documentation}
   */
  ticker(requestParameters: TickerRequest): WebsocketStream<TickerResponse>;
  /**
   * The Trade Streams push raw trade information; each trade has a unique buyer and seller.
   *
   * @summary WebSocket Trade Streams
   * @param {TradeRequest} requestParameters Request parameters.
   * @returns {WebsocketStream<TradeResponse>}
   * @throws {RequiredError}
   * @memberof WebSocketStreamsApi
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#trade-streams Binance API Documentation}
   */
  trade(requestParameters: TradeRequest): WebsocketStream<TradeResponse>;
}
declare enum AllMarketRollingWindowTickerWindowSizeEnum {
  WINDOW_SIZE_1h = "1h",
  WINDOW_SIZE_4h = "4h",
  WINDOW_SIZE_1d = "1d",
}
declare enum KlineIntervalEnum {
  INTERVAL_1s = "1s",
  INTERVAL_1m = "1m",
  INTERVAL_3m = "3m",
  INTERVAL_5m = "5m",
  INTERVAL_15m = "15m",
  INTERVAL_30m = "30m",
  INTERVAL_1h = "1h",
  INTERVAL_2h = "2h",
  INTERVAL_4h = "4h",
  INTERVAL_6h = "6h",
  INTERVAL_8h = "8h",
  INTERVAL_12h = "12h",
  INTERVAL_1d = "1d",
  INTERVAL_3d = "3d",
  INTERVAL_1w = "1w",
  INTERVAL_1M = "1M",
}
declare enum KlineOffsetIntervalEnum {
  INTERVAL_1s = "1s",
  INTERVAL_1m = "1m",
  INTERVAL_3m = "3m",
  INTERVAL_5m = "5m",
  INTERVAL_15m = "15m",
  INTERVAL_30m = "30m",
  INTERVAL_1h = "1h",
  INTERVAL_2h = "2h",
  INTERVAL_4h = "4h",
  INTERVAL_6h = "6h",
  INTERVAL_8h = "8h",
  INTERVAL_12h = "12h",
  INTERVAL_1d = "1d",
  INTERVAL_3d = "3d",
  INTERVAL_1w = "1w",
  INTERVAL_1M = "1M",
}
declare enum PartialBookDepthLevelsEnum {
  LEVELS_5 = "5",
  LEVELS_10 = "10",
  LEVELS_20 = "20",
}
declare enum RollingWindowTickerWindowSizeEnum {
  WINDOW_SIZE_1h = "1h",
  WINDOW_SIZE_4h = "4h",
  WINDOW_SIZE_1d = "1d",
}
//#endregion
//#region src/websocket-streams/websocket-streams-connection.d.ts
declare class WebsocketStreamsConnection {
  private websocketBase;
  private webSocketStreamsApi;
  constructor(websocketBase: WebsocketStreamsBase);
  /**
   * Adds an event listener for the specified WebSocket event.
   * @param event - The WebSocket event to listen for, such as 'open', 'message', 'error', 'close', 'ping', or 'pong'.
   * @param listener - The callback function to be executed when the event is triggered. The function can accept any number of arguments.
   */
  on(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
  /**
   * Removes an event listener for the specified WebSocket event.
   * @param event - The WebSocket event to stop listening for, such as 'open', 'message', 'error', 'close', 'ping', or 'pong'.
   * @param listener - The callback function that was previously added as the event listener.
   */
  off(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
  /**
   * Disconnects from the WebSocket server.
   * If there is no active connection, a warning is logged.
   * Otherwise, all connections in the connection pool are closed gracefully,
   * and a message is logged indicating that the connection has been disconnected.
   * @returns A Promise that resolves when all connections have been closed.
   * @throws Error if the WebSocket client is not set.
   */
  disconnect(): Promise<void>;
  /**
   * Checks if the WebSocket connection is currently open.
   * @returns `true` if the connection is open, `false` otherwise.
   */
  isConnected(): boolean;
  /**
   * Sends a ping message to all connected Websocket servers in the pool.
   * If no connections are ready, a warning is logged.
   * For each active connection, the ping message is sent, and debug logs provide details.
   * @throws Error if a Websocket client is not set for a connection.
   */
  pingServer(): void;
  /**
   * Subscribes to one or multiple WebSocket streams
   * Handles both single and pool modes
   * @param stream Single stream name or array of stream names to subscribe to
   * @param id Optional subscription ID
   * @returns void
   */
  subscribe(stream: string | string[], id?: string): void;
  /**
   * Unsubscribes from one or multiple WebSocket streams
   * Handles both single and pool modes
   * @param stream Single stream name or array of stream names to unsubscribe from
   * @param id Optional unsubscription ID
   * @returns void
   */
  unsubscribe(stream: string | string[], id?: string): void;
  /**
   * Checks if the WebSocket connection is subscribed to the specified stream.
   * @param stream The name of the WebSocket stream to check.
   * @returns `true` if the connection is subscribed to the stream, `false` otherwise.
   */
  isSubscribed(stream: string): boolean;
  /**
   * The Aggregate Trade Streams push trade information that is aggregated for a single taker order.
   *
   * @summary WebSocket Aggregate Trade Streams
   * @param {AggTradeRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<AggTradeResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#aggregate-trade-streams Binance API Documentation}
   */
  aggTrade(requestParameters: AggTradeRequest): WebsocketStream<AggTradeResponse>;
  /**
   * Rolling window ticker statistics for all market symbols, computed over multiple windows.
   * Note that only tickers that have changed will be present in the array.
   *
   * @summary WebSocket All Market Rolling Window Statistics Streams
   * @param {AllMarketRollingWindowTickerRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<AllMarketRollingWindowTickerResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-rolling-window-statistics-streams Binance API Documentation}
   */
  allMarketRollingWindowTicker(requestParameters: AllMarketRollingWindowTickerRequest): WebsocketStream<AllMarketRollingWindowTickerResponse>;
  /**
   * 24hr rolling window mini-ticker statistics for all symbols that changed in an array. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs. Note that only tickers that have changed will be present in the array.
   *
   * @summary WebSocket All Market Mini Tickers Stream
   * @param {AllMiniTickerRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<AllMiniTickerResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-mini-tickers-stream Binance API Documentation}
   */
  allMiniTicker(requestParameters?: AllMiniTickerRequest): WebsocketStream<AllMiniTickerResponse>;
  /**
   * Average price streams push changes in the average price over a fixed time interval.
   *
   * @summary WebSocket Average Price
   * @param {AvgPriceRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<AvgPriceResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#average-price Binance API Documentation}
   */
  avgPrice(requestParameters: AvgPriceRequest): WebsocketStream<AvgPriceResponse>;
  /**
   *
   *
   * @summary WebSocket Block Trade Streams
   * @param {BlockTradeRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<BlockTradeResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#block-trade-streams Binance API Documentation}
   */
  blockTrade(requestParameters: BlockTradeRequest): WebsocketStream<BlockTradeResponse>;
  /**
   * Pushes any update to the best bid or ask's price or quantity in real-time for a specified symbol.
   * Multiple `<symbol>@bookTicker` streams can be subscribed to over one connection.
   *
   * @summary WebSocket Individual Symbol Book Ticker Streams
   * @param {BookTickerRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<BookTickerResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-book-ticker-streams Binance API Documentation}
   */
  bookTicker(requestParameters: BookTickerRequest): WebsocketStream<BookTickerResponse>;
  /**
   * Order book price and quantity depth updates used to locally manage an order book.
   *
   * @summary WebSocket Diff. Depth Stream
   * @param {DiffBookDepthRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<DiffBookDepthResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#diff-depth-stream Binance API Documentation}
   */
  diffBookDepth(requestParameters: DiffBookDepthRequest): WebsocketStream<DiffBookDepthResponse>;
  /**
   * The Kline/Candlestick Stream push updates to the current klines/candlestick every second in `UTC+0` timezone
   *
   * <a id="kline-intervals"></a>
   *
   * @summary WebSocket Kline/Candlestick Streams for UTC
   * @param {KlineRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<KlineResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#klinecandlestick-streams-for-utc Binance API Documentation}
   */
  kline(requestParameters: KlineRequest): WebsocketStream<KlineResponse>;
  /**
   * The Kline/Candlestick Stream push updates to the current klines/candlestick every second in `UTC+8` timezone
   *
   * @summary WebSocket Kline/Candlestick Streams with timezone offset
   * @param {KlineOffsetRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<KlineOffsetResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#klinecandlestick-streams-with-timezone-offset Binance API Documentation}
   */
  klineOffset(requestParameters: KlineOffsetRequest): WebsocketStream<KlineOffsetResponse>;
  /**
   * 24hr rolling window mini-ticker statistics. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs.
   *
   * @summary WebSocket Individual Symbol Mini Ticker Stream
   * @param {MiniTickerRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<MiniTickerResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream Binance API Documentation}
   */
  miniTicker(requestParameters: MiniTickerRequest): WebsocketStream<MiniTickerResponse>;
  /**
   * Top **\<levels\>** bids and asks, pushed every second. Valid **\<levels\>** are 5, 10, or 20.
   *
   * @summary WebSocket Partial Book Depth Streams
   * @param {PartialBookDepthRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<PartialBookDepthResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams Binance API Documentation}
   */
  partialBookDepth(requestParameters: PartialBookDepthRequest): WebsocketStream<PartialBookDepthResponse>;
  /**
   *
   *
   * @summary WebSocket Reference Price Streams
   * @param {ReferencePriceRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<ReferencePriceResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#reference-price-streams Binance API Documentation}
   */
  referencePrice(requestParameters: ReferencePriceRequest): WebsocketStream<ReferencePriceResponse>;
  /**
   * Rolling window ticker statistics for a single symbol, computed over multiple windows.
   *
   * @summary WebSocket Individual Symbol Rolling Window Statistics Streams
   * @param {RollingWindowTickerRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<RollingWindowTickerResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-rolling-window-statistics-streams Binance API Documentation}
   */
  rollingWindowTicker(requestParameters: RollingWindowTickerRequest): WebsocketStream<RollingWindowTickerResponse>;
  /**
   * 24hr rolling window ticker statistics for a single symbol. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs.
   *
   * @summary WebSocket Individual Symbol Ticker Streams
   * @param {TickerRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<TickerResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-ticker-streams Binance API Documentation}
   */
  ticker(requestParameters: TickerRequest): WebsocketStream<TickerResponse>;
  /**
   * The Trade Streams push raw trade information; each trade has a unique buyer and seller.
   *
   * @summary WebSocket Trade Streams
   * @param {TradeRequest} requestParameters Request parameters.
   *
   * @returns {WebsocketStream<TradeResponse>}
   * @throws {RequiredError}
   * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#trade-streams Binance API Documentation}
   */
  trade(requestParameters: TradeRequest): WebsocketStream<TradeResponse>;
}
//#endregion
//#region src/websocket-streams/websocket-streams.d.ts
declare class WebsocketStreams {
  private configuration;
  constructor(configuration: ConfigurationWebsocketStreams);
  /**
   * Connects to the Binance WebSocket streams and returns a `WebsocketStreamsConnection` instance.
   *
   * @param {object} [options] - Optional connection options.
   * @param {string|string[]} [options.stream] - The stream(s) to connect to.
   * @param {'single'|'pool'} [options.mode] - The connection mode, either 'single' or 'pool'. Overwrite the `mode` option in the configuration.
   * @param {number} [options.poolSize] - The number of connections to use in pool mode. Overwrite the `poolSize` option in the configuration.
   * @returns {Promise<WebsocketStreamsConnection>} - A promise that resolves to a `WebsocketStreamsConnection` instance.
   */
  connect({
    stream,
    mode,
    poolSize
  }?: {
    stream?: string | string[];
    mode?: 'single' | 'pool';
    poolSize?: number;
  }): Promise<WebsocketStreamsConnection>;
}
declare namespace index_d_exports$2 {
  export { AggTradeRequest, AggTradeResponse, AllMarketRollingWindowTickerRequest, AllMarketRollingWindowTickerResponse, AllMarketRollingWindowTickerResponseInner, AllMarketRollingWindowTickerWindowSizeEnum, AllMiniTickerRequest, AllMiniTickerResponse, AllMiniTickerResponseInner, AssetFilters, AvgPriceRequest, AvgPriceResponse, BlockTradeRequest, BlockTradeResponse, BookTickerRequest, BookTickerResponse, DiffBookDepthRequest, DiffBookDepthResponse, ExchangeFilters, ExchangeMaxNumAlgoOrdersFilter, ExchangeMaxNumIcebergOrdersFilter, ExchangeMaxNumOrderListsFilter, ExchangeMaxNumOrdersFilter, IcebergPartsFilter, KlineIntervalEnum, KlineOffsetIntervalEnum, KlineOffsetRequest, KlineOffsetResponse, KlineRequest, KlineResponse, KlineResponseK, LotSizeFilter, MarketLotSizeFilter, MaxAssetFilter, MaxNumAlgoOrdersFilter, MaxNumIcebergOrdersFilter, MaxNumOrderAmendsFilter, MaxNumOrderListsFilter, MaxNumOrdersFilter, MaxPositionFilter, MinNotionalFilter, MiniTickerRequest, MiniTickerResponse, NotionalFilter, PartialBookDepthLevelsEnum, PartialBookDepthRequest, PartialBookDepthResponse, PercentPriceBySideFilter, PercentPriceFilter, PriceFilter, RateLimits, ReferencePriceRequest, ReferencePriceResponse, RollingWindowTickerRequest, RollingWindowTickerResponse, RollingWindowTickerWindowSizeEnum, SymbolFilters, TPlusSellFilter, TickerRequest, TickerResponse, TradeRequest, TradeResponse, TrailingDeltaFilter, WebSocketStreamsApi, WebSocketStreamsApiInterface, WebsocketStreams, WebsocketStreamsConnection };
}
//#endregion
//#region src/spot.d.ts
interface ConfigurationSpot {
  configurationRestAPI?: ConfigurationRestAPI;
  configurationWebsocketAPI?: ConfigurationWebsocketAPI;
  configurationWebsocketStreams?: ConfigurationWebsocketStreams;
}
declare class Spot {
  restAPI: RestAPI;
  websocketAPI: WebsocketAPI;
  websocketStreams: WebsocketStreams;
  constructor(config: ConfigurationSpot);
}
//#endregion
export { BadRequestError, type ConfigurationSpot, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, SPOT_REST_API_DEMO_URL, SPOT_REST_API_PROD_URL, SPOT_REST_API_TESTNET_URL, SPOT_WS_API_DEMO_URL, SPOT_WS_API_PROD_URL, SPOT_WS_API_TESTNET_URL, SPOT_WS_STREAMS_DEMO_URL, SPOT_WS_STREAMS_PROD_URL, SPOT_WS_STREAMS_TESTNET_URL, ServerError, Spot, index_d_exports as SpotRestAPI, index_d_exports$1 as SpotWebsocketAPI, index_d_exports$2 as SpotWebsocketStreams, TimeUnit, TooManyRequestsError, UnauthorizedError };
//# sourceMappingURL=index.d.mts.map