import type { GetSecondaryCancelTxIdResponse } from '../models/GetSecondaryCancelTxIdResponse'; import type { LimitOrderDto } from '../models/LimitOrderDto'; import type { LimitOrderResponseDto } from '../models/LimitOrderResponseDto'; import type { MarketOrderDto } from '../models/MarketOrderDto'; import type { MarketOrderResponseDto } from '../models/MarketOrderResponseDto'; import type { ResponseSecondaryOrderBookDto } from '../models/ResponseSecondaryOrderBookDto'; import type { SecondaryCancelOrderDto } from '../models/SecondaryCancelOrderDto'; import type { SecondaryCancelOrderResponseDto } from '../models/SecondaryCancelOrderResponseDto'; import type { SecondaryLatestMatchedOrderListDto } from '../models/SecondaryLatestMatchedOrderListDto'; import type { SecondaryOrderHistoryDto } from '../models/SecondaryOrderHistoryDto'; import type { SecondaryOrderHistoryLimitListDto } from '../models/SecondaryOrderHistoryLimitListDto'; import type { SecondaryTradingViewResponseListDto } from '../models/SecondaryTradingViewResponseListDto'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class SecondaryService { /** * get order-history by orderId, need to confirm the dbschema * @param orderId * @returns SecondaryOrderHistoryDto * @throws ApiError */ static tsSecondaryControllerGetOrderHistoryByOrderId(orderId: string): CancelablePromise; /** * get order-history, TODO: need to confirm the dbschema * @param accountId * @param startTime * @param endTime * @param limit * @param orderStatus * @param side * @param baseTokenId * @returns SecondaryOrderHistoryLimitListDto * @throws ApiError */ static tsSecondaryControllerGetOrderSecondaryHistory(accountId: string, startTime?: string, endTime?: string, limit?: number, orderStatus?: Array>, side?: any, baseTokenId?: any): CancelablePromise; /** * get secondary_latest_matched_orders latest at most 100 records * @param bondTokenId * @param from * @returns SecondaryLatestMatchedOrderListDto * @throws ApiError */ static tsSecondaryControllerGetSecondaryLatestMatchedOrders(bondTokenId: string, from: string): CancelablePromise; /** * place limit order * @param requestBody * @returns LimitOrderResponseDto * @throws ApiError */ static tsSecondaryControllerPlaceLimitOrder(requestBody: LimitOrderDto): CancelablePromise; /** * place market order * @param requestBody * @returns MarketOrderResponseDto * @throws ApiError */ static tsSecondaryControllerPlaceMarketOrder(requestBody: MarketOrderDto): CancelablePromise; /** * cancel secondary order * @param requestBody * @returns SecondaryCancelOrderResponseDto * @throws ApiError */ static tsSecondaryControllerCancelOrder(requestBody: SecondaryCancelOrderDto): CancelablePromise; /** * get txId by orderNum * @param orderNum * @returns GetSecondaryCancelTxIdResponse * @throws ApiError */ static tsSecondaryControllerGetTxIdByOrderNum(orderNum: string): CancelablePromise; /** * get secondary selected trading data * @param from * @param bondTokenId * @param to * @param resolution * @returns SecondaryTradingViewResponseListDto * @throws ApiError */ static tsSecondaryControllerGetSecondarySelectedTradingData(from: string, bondTokenId: string, to: string, resolution: string): CancelablePromise; /** * get secondary order book data * @param bondTokenId * @param limit * @returns ResponseSecondaryOrderBookDto * @throws ApiError */ static tsSecondaryControllerGetSecondaryOrderBookWithCurrentMatchedPrice(bondTokenId: string, limit: number): CancelablePromise; }