import { PortfolioId } from './portfolio'; import { Currency, Exchange, OperationSource, OperationType } from './common-biz'; import { Security3 } from './securities'; import { ItemsPage2, PartialRecord } from './common'; import { Ticker } from './assets-history'; export declare enum OperationsTableField { date = "date", name = "ticker", id = "id" } export type OperationId = number; export interface Operation2 { id: OperationId | null; date: Date; type: OperationType; ticker: string; count: number; unitPrice: number; currency: Currency; portfolioId: PortfolioId; isOn: boolean; source: OperationSource; exchange: Exchange; } export interface ParsedOperation { operation: Operation2; isin: string; originTicker?: string; } export interface ParsedOperationsData { operations: ParsedOperation[]; securitiesDict: PartialRecord; } export type OperationsItemsPage = ItemsPage2;