import { CorporateActionsType, OrderFilterType, OverExposedType, PositionType } from '../../constants/lookups'; import { Account, AccountWithExtraInfo, BranchInfo, CorporateActionWithExtraInfo, Notification, OrderWithExtraInfo, OverExposedAccount, PortfolioWithExtraInfo, PositionAccountWithExtraInfo, User } from '../../types'; export interface IBranchApi { getInfo(): Promise; getUsers(): Promise; getAccounts(): Promise; getAccount(accountId: number): Promise; getInventoryAccounts(): Promise; getPositionAccounts(symbol: string): Promise; getPortfolio(combined?: boolean, symbol?: string, positionType?: PositionType): Promise; getOrders(filterType?: OrderFilterType | OrderFilterType[], symbol?: string): Promise; getOverExposedAccounts(threshold: number, type: OverExposedType): Promise; getCorporateActions(symbols: string[], dateFrom: string, dateTo: string, types?: CorporateActionsType): Promise; getNotifications(): Promise; }