import { Rtbs } from '.'; import { AgreementCode, QuoteType, UserStatus, UserType } from '../constants/lookups'; import { Account, AccountWithExtraInfo } from './Account.type'; export interface User { userId: number; username: string; email: string; status: UserStatus; language: string; currencyCode: string; homeMarket: string; branchName: string; associatedName: string; associatedPhone: string; quoteType: QuoteType; userType: UserType; lastloginOn: string; loggedInOn: string; professional: boolean; optionTrading: boolean; inetTrading: boolean; locked: boolean; allowTrailingStop: boolean; allowSalesCredit: boolean; allowSubRoutes: boolean; allowNotHeld: boolean; allowAlgos: boolean; allowGtc: boolean; allowMoo: boolean; allowMoc: boolean; allowLoc: boolean; allowLoo: boolean; allowOco: boolean; allowGtd: boolean; allowFok: boolean; allowIoc: boolean; allowTso: boolean; allowFee1: boolean; allowFee2: boolean; allowFee3: boolean; allowGtm: boolean; allowSpreads: boolean; allowBuywrites: boolean; allowIronCondor: boolean; allowOptionRolling: boolean; allowCrypto: boolean; allowFundCustody: boolean; allowMarket: boolean; allowLimit: boolean; allowStop: boolean; allowAon: boolean; shariaSafetyEnabled: boolean; domestic: boolean; droidEnabled: boolean; allAgreementsSigned: boolean; allowFractionals: boolean; allowMutualFunds: boolean; allowTipranks: boolean; branch: number; accountList: Account[]; } export interface UserWithExtraInfo extends User, Rtbs { accounts: AccountWithExtraInfo[]; } export declare type AgreementEntry = { field: string; value: string; }; export interface Agreement { code: AgreementCode; version: number; signed: boolean; } export declare type Settings = { [key: string]: string; };