import * as _m0 from 'protobufjs/minimal'; import { SecurityTradingStatus, RealExchange, InstrumentType, InstrumentStatus, Quotation, MoneyValue, BrandData, Page, PageResponse } from './common'; export declare const protobufPackage = "tinkoff.public.invest.api.contract.v1"; export declare enum CouponType { COUPON_TYPE_UNSPECIFIED = 0, COUPON_TYPE_CONSTANT = 1, COUPON_TYPE_FLOATING = 2, COUPON_TYPE_DISCOUNT = 3, COUPON_TYPE_MORTGAGE = 4, COUPON_TYPE_FIX = 5, COUPON_TYPE_VARIABLE = 6, COUPON_TYPE_OTHER = 7, UNRECOGNIZED = -1 } export declare function couponTypeFromJSON(object: any): CouponType; export declare function couponTypeToJSON(object: CouponType): string; export declare enum OptionDirection { OPTION_DIRECTION_UNSPECIFIED = 0, OPTION_DIRECTION_PUT = 1, OPTION_DIRECTION_CALL = 2, UNRECOGNIZED = -1 } export declare function optionDirectionFromJSON(object: any): OptionDirection; export declare function optionDirectionToJSON(object: OptionDirection): string; export declare enum OptionPaymentType { OPTION_PAYMENT_TYPE_UNSPECIFIED = 0, OPTION_PAYMENT_TYPE_PREMIUM = 1, OPTION_PAYMENT_TYPE_MARGINAL = 2, UNRECOGNIZED = -1 } export declare function optionPaymentTypeFromJSON(object: any): OptionPaymentType; export declare function optionPaymentTypeToJSON(object: OptionPaymentType): string; export declare enum OptionStyle { OPTION_STYLE_UNSPECIFIED = 0, OPTION_STYLE_AMERICAN = 1, OPTION_STYLE_EUROPEAN = 2, UNRECOGNIZED = -1 } export declare function optionStyleFromJSON(object: any): OptionStyle; export declare function optionStyleToJSON(object: OptionStyle): string; export declare enum OptionSettlementType { OPTION_EXECUTION_TYPE_UNSPECIFIED = 0, OPTION_EXECUTION_TYPE_PHYSICAL_DELIVERY = 1, OPTION_EXECUTION_TYPE_CASH_SETTLEMENT = 2, UNRECOGNIZED = -1 } export declare function optionSettlementTypeFromJSON(object: any): OptionSettlementType; export declare function optionSettlementTypeToJSON(object: OptionSettlementType): string; export declare enum InstrumentIdType { INSTRUMENT_ID_UNSPECIFIED = 0, INSTRUMENT_ID_TYPE_FIGI = 1, INSTRUMENT_ID_TYPE_TICKER = 2, INSTRUMENT_ID_TYPE_UID = 3, INSTRUMENT_ID_TYPE_POSITION_UID = 4, INSTRUMENT_ID_TYPE_ID = 5, UNRECOGNIZED = -1 } export declare function instrumentIdTypeFromJSON(object: any): InstrumentIdType; export declare function instrumentIdTypeToJSON(object: InstrumentIdType): string; export declare enum ShareType { SHARE_TYPE_UNSPECIFIED = 0, SHARE_TYPE_COMMON = 1, SHARE_TYPE_PREFERRED = 2, SHARE_TYPE_ADR = 3, SHARE_TYPE_GDR = 4, SHARE_TYPE_MLP = 5, SHARE_TYPE_NY_REG_SHRS = 6, SHARE_TYPE_CLOSED_END_FUND = 7, SHARE_TYPE_REIT = 8, UNRECOGNIZED = -1 } export declare function shareTypeFromJSON(object: any): ShareType; export declare function shareTypeToJSON(object: ShareType): string; export declare enum AssetType { ASSET_TYPE_UNSPECIFIED = 0, ASSET_TYPE_CURRENCY = 1, ASSET_TYPE_COMMODITY = 2, ASSET_TYPE_INDEX = 3, ASSET_TYPE_SECURITY = 4, UNRECOGNIZED = -1 } export declare function assetTypeFromJSON(object: any): AssetType; export declare function assetTypeToJSON(object: AssetType): string; export declare enum StructuredProductType { SP_TYPE_UNSPECIFIED = 0, SP_TYPE_DELIVERABLE = 1, SP_TYPE_NON_DELIVERABLE = 2, UNRECOGNIZED = -1 } export declare function structuredProductTypeFromJSON(object: any): StructuredProductType; export declare function structuredProductTypeToJSON(object: StructuredProductType): string; export declare enum EditFavoritesActionType { EDIT_FAVORITES_ACTION_TYPE_UNSPECIFIED = 0, EDIT_FAVORITES_ACTION_TYPE_ADD = 1, EDIT_FAVORITES_ACTION_TYPE_DEL = 2, UNRECOGNIZED = -1 } export declare function editFavoritesActionTypeFromJSON(object: any): EditFavoritesActionType; export declare function editFavoritesActionTypeToJSON(object: EditFavoritesActionType): string; export declare enum Recommendation { RECOMMENDATION_UNSPECIFIED = 0, RECOMMENDATION_BUY = 1, RECOMMENDATION_HOLD = 2, RECOMMENDATION_SELL = 3, UNRECOGNIZED = -1 } export declare function recommendationFromJSON(object: any): Recommendation; export declare function recommendationToJSON(object: Recommendation): string; export declare enum RiskLevel { RISK_LEVEL_UNSPECIFIED = 0, RISK_LEVEL_LOW = 1, RISK_LEVEL_MODERATE = 2, RISK_LEVEL_HIGH = 3, UNRECOGNIZED = -1 } export declare function riskLevelFromJSON(object: any): RiskLevel; export declare function riskLevelToJSON(object: RiskLevel): string; export declare enum BondType { BOND_TYPE_UNSPECIFIED = 0, BOND_TYPE_REPLACED = 1, UNRECOGNIZED = -1 } export declare function bondTypeFromJSON(object: any): BondType; export declare function bondTypeToJSON(object: BondType): string; export declare enum InstrumentExchangeType { INSTRUMENT_EXCHANGE_UNSPECIFIED = 0, INSTRUMENT_EXCHANGE_DEALER = 1, UNRECOGNIZED = -1 } export declare function instrumentExchangeTypeFromJSON(object: any): InstrumentExchangeType; export declare function instrumentExchangeTypeToJSON(object: InstrumentExchangeType): string; export interface TradingSchedulesRequest { exchange?: string | undefined; from?: Date | undefined; to?: Date | undefined; } export interface TradingSchedulesResponse { exchanges: TradingSchedule[]; } export interface TradingSchedule { exchange: string; days: TradingDay[]; } export interface TradingDay { date: Date | undefined; isTradingDay: boolean; startTime: Date | undefined; endTime: Date | undefined; openingAuctionStartTime: Date | undefined; closingAuctionEndTime: Date | undefined; eveningOpeningAuctionStartTime: Date | undefined; eveningStartTime: Date | undefined; eveningEndTime: Date | undefined; clearingStartTime: Date | undefined; clearingEndTime: Date | undefined; premarketStartTime: Date | undefined; premarketEndTime: Date | undefined; closingAuctionStartTime: Date | undefined; openingAuctionEndTime: Date | undefined; intervals: TradingInterval[]; } export interface InstrumentRequest { idType: InstrumentIdType; classCode?: string | undefined; id: string; } export interface InstrumentsRequest { instrumentStatus?: InstrumentStatus | undefined; instrumentExchange?: InstrumentExchangeType | undefined; } export interface FilterOptionsRequest { basicAssetUid?: string | undefined; basicAssetPositionUid?: string | undefined; basicInstrumentId?: string | undefined; } export interface BondResponse { instrument: Bond | undefined; } export interface BondsResponse { instruments: Bond[]; } export interface GetBondCouponsRequest { figi: string; from?: Date | undefined; to?: Date | undefined; instrumentId: string; } export interface GetBondCouponsResponse { events: Coupon[]; } export interface GetBondEventsRequest { from?: Date | undefined; to?: Date | undefined; instrumentId: string; type: GetBondEventsRequest_EventType; } export declare enum GetBondEventsRequest_EventType { EVENT_TYPE_UNSPECIFIED = 0, EVENT_TYPE_CPN = 1, EVENT_TYPE_CALL = 2, EVENT_TYPE_MTY = 3, EVENT_TYPE_CONV = 4, UNRECOGNIZED = -1 } export declare function getBondEventsRequest_EventTypeFromJSON(object: any): GetBondEventsRequest_EventType; export declare function getBondEventsRequest_EventTypeToJSON(object: GetBondEventsRequest_EventType): string; export interface GetBondEventsResponse { events: GetBondEventsResponse_BondEvent[]; } export interface GetBondEventsResponse_BondEvent { instrumentId: string; eventNumber: number; eventDate: Date | undefined; eventType: GetBondEventsRequest_EventType; eventTotalVol: Quotation | undefined; fixDate: Date | undefined; rateDate: Date | undefined; defaultDate: Date | undefined; realPayDate: Date | undefined; payDate: Date | undefined; payOneBond: MoneyValue | undefined; moneyFlowVal: MoneyValue | undefined; execution: string; operationType: string; value: Quotation | undefined; note: string; convertToFinToolId: string; couponStartDate: Date | undefined; couponEndDate: Date | undefined; couponPeriod: number; couponInterestRate: Quotation | undefined; } export interface Coupon { figi: string; couponDate: Date | undefined; couponNumber: number; fixDate: Date | undefined; payOneBond: MoneyValue | undefined; couponType: CouponType; couponStartDate: Date | undefined; couponEndDate: Date | undefined; couponPeriod: number; } export interface CurrencyResponse { instrument: Currency | undefined; } export interface CurrenciesResponse { instruments: Currency[]; } export interface EtfResponse { instrument: Etf | undefined; } export interface EtfsResponse { instruments: Etf[]; } export interface FutureResponse { instrument: Future | undefined; } export interface FuturesResponse { instruments: Future[]; } export interface OptionResponse { instrument: Option | undefined; } export interface OptionsResponse { instruments: Option[]; } export interface Option { uid: string; positionUid: string; ticker: string; classCode: string; basicAssetPositionUid: string; tradingStatus: SecurityTradingStatus; realExchange: RealExchange; direction: OptionDirection; paymentType: OptionPaymentType; style: OptionStyle; settlementType: OptionSettlementType; name: string; currency: string; settlementCurrency: string; assetType: string; basicAsset: string; exchange: string; countryOfRisk: string; countryOfRiskName: string; sector: string; brand: BrandData | undefined; lot: number; basicAssetSize: Quotation | undefined; klong: Quotation | undefined; kshort: Quotation | undefined; dlong: Quotation | undefined; dshort: Quotation | undefined; dlongMin: Quotation | undefined; dshortMin: Quotation | undefined; minPriceIncrement: Quotation | undefined; strikePrice: MoneyValue | undefined; dlongClient: Quotation | undefined; dshortClient: Quotation | undefined; expirationDate: Date | undefined; firstTradeDate: Date | undefined; lastTradeDate: Date | undefined; first1minCandleDate: Date | undefined; first1dayCandleDate: Date | undefined; shortEnabledFlag: boolean; forIisFlag: boolean; otcFlag: boolean; buyAvailableFlag: boolean; sellAvailableFlag: boolean; forQualInvestorFlag: boolean; weekendFlag: boolean; blockedTcaFlag: boolean; apiTradeAvailableFlag: boolean; requiredTests: string[]; } export interface ShareResponse { instrument: Share | undefined; } export interface SharesResponse { instruments: Share[]; } export interface StructuredNoteResponse { instrument: StructuredNote | undefined; } export interface StructuredNotesResponse { instruments: StructuredNote[]; } export interface Bond { figi: string; ticker: string; classCode: string; isin: string; lot: number; currency: string; klong: Quotation | undefined; kshort: Quotation | undefined; dlong: Quotation | undefined; dshort: Quotation | undefined; dlongMin: Quotation | undefined; dshortMin: Quotation | undefined; shortEnabledFlag: boolean; name: string; exchange: string; couponQuantityPerYear: number; maturityDate: Date | undefined; nominal: MoneyValue | undefined; initialNominal: MoneyValue | undefined; stateRegDate: Date | undefined; placementDate: Date | undefined; placementPrice: MoneyValue | undefined; aciValue: MoneyValue | undefined; countryOfRisk: string; countryOfRiskName: string; sector: string; issueKind: string; issueSize: number; issueSizePlan: number; tradingStatus: SecurityTradingStatus; otcFlag: boolean; buyAvailableFlag: boolean; sellAvailableFlag: boolean; floatingCouponFlag: boolean; perpetualFlag: boolean; amortizationFlag: boolean; minPriceIncrement: Quotation | undefined; apiTradeAvailableFlag: boolean; uid: string; realExchange: RealExchange; positionUid: string; assetUid: string; requiredTests: string[]; forIisFlag: boolean; forQualInvestorFlag: boolean; weekendFlag: boolean; blockedTcaFlag: boolean; subordinatedFlag: boolean; liquidityFlag: boolean; first1minCandleDate: Date | undefined; first1dayCandleDate: Date | undefined; riskLevel: RiskLevel; brand: BrandData | undefined; bondType: BondType; callDate: Date | undefined; dlongClient: Quotation | undefined; dshortClient: Quotation | undefined; } export interface Currency { figi: string; ticker: string; classCode: string; isin: string; lot: number; currency: string; klong: Quotation | undefined; kshort: Quotation | undefined; dlong: Quotation | undefined; dshort: Quotation | undefined; dlongMin: Quotation | undefined; dshortMin: Quotation | undefined; shortEnabledFlag: boolean; name: string; exchange: string; nominal: MoneyValue | undefined; countryOfRisk: string; countryOfRiskName: string; tradingStatus: SecurityTradingStatus; otcFlag: boolean; buyAvailableFlag: boolean; sellAvailableFlag: boolean; isoCurrencyName: string; minPriceIncrement: Quotation | undefined; apiTradeAvailableFlag: boolean; uid: string; realExchange: RealExchange; positionUid: string; requiredTests: string[]; assetUid: string; forIisFlag: boolean; forQualInvestorFlag: boolean; weekendFlag: boolean; blockedTcaFlag: boolean; first1minCandleDate: Date | undefined; first1dayCandleDate: Date | undefined; brand: BrandData | undefined; dlongClient: Quotation | undefined; dshortClient: Quotation | undefined; } export interface Etf { figi: string; ticker: string; classCode: string; isin: string; lot: number; currency: string; klong: Quotation | undefined; kshort: Quotation | undefined; dlong: Quotation | undefined; dshort: Quotation | undefined; dlongMin: Quotation | undefined; dshortMin: Quotation | undefined; shortEnabledFlag: boolean; name: string; exchange: string; fixedCommission: Quotation | undefined; focusType: string; releasedDate: Date | undefined; numShares: Quotation | undefined; countryOfRisk: string; countryOfRiskName: string; sector: string; rebalancingFreq: string; tradingStatus: SecurityTradingStatus; otcFlag: boolean; buyAvailableFlag: boolean; sellAvailableFlag: boolean; minPriceIncrement: Quotation | undefined; apiTradeAvailableFlag: boolean; uid: string; realExchange: RealExchange; positionUid: string; assetUid: string; instrumentExchange: InstrumentExchangeType; requiredTests: string[]; forIisFlag: boolean; forQualInvestorFlag: boolean; weekendFlag: boolean; blockedTcaFlag: boolean; liquidityFlag: boolean; first1minCandleDate: Date | undefined; first1dayCandleDate: Date | undefined; brand: BrandData | undefined; dlongClient: Quotation | undefined; dshortClient: Quotation | undefined; } export interface Future { figi: string; ticker: string; classCode: string; lot: number; currency: string; klong: Quotation | undefined; kshort: Quotation | undefined; dlong: Quotation | undefined; dshort: Quotation | undefined; dlongMin: Quotation | undefined; dshortMin: Quotation | undefined; shortEnabledFlag: boolean; name: string; exchange: string; firstTradeDate: Date | undefined; lastTradeDate: Date | undefined; futuresType: string; assetType: string; basicAsset: string; basicAssetSize: Quotation | undefined; countryOfRisk: string; countryOfRiskName: string; sector: string; expirationDate: Date | undefined; tradingStatus: SecurityTradingStatus; otcFlag: boolean; buyAvailableFlag: boolean; sellAvailableFlag: boolean; minPriceIncrement: Quotation | undefined; apiTradeAvailableFlag: boolean; uid: string; realExchange: RealExchange; positionUid: string; basicAssetPositionUid: string; requiredTests: string[]; forIisFlag: boolean; forQualInvestorFlag: boolean; weekendFlag: boolean; blockedTcaFlag: boolean; first1minCandleDate: Date | undefined; first1dayCandleDate: Date | undefined; initialMarginOnBuy: MoneyValue | undefined; initialMarginOnSell: MoneyValue | undefined; minPriceIncrementAmount: Quotation | undefined; brand: BrandData | undefined; dlongClient: Quotation | undefined; dshortClient: Quotation | undefined; } export interface Share { figi: string; ticker: string; classCode: string; isin: string; lot: number; currency: string; klong: Quotation | undefined; kshort: Quotation | undefined; dlong: Quotation | undefined; dshort: Quotation | undefined; dlongMin: Quotation | undefined; dshortMin: Quotation | undefined; shortEnabledFlag: boolean; name: string; exchange: string; ipoDate: Date | undefined; issueSize: number; countryOfRisk: string; countryOfRiskName: string; sector: string; issueSizePlan: number; nominal: MoneyValue | undefined; tradingStatus: SecurityTradingStatus; otcFlag: boolean; buyAvailableFlag: boolean; sellAvailableFlag: boolean; divYieldFlag: boolean; shareType: ShareType; minPriceIncrement: Quotation | undefined; apiTradeAvailableFlag: boolean; uid: string; realExchange: RealExchange; positionUid: string; assetUid: string; instrumentExchange: InstrumentExchangeType; requiredTests: string[]; forIisFlag: boolean; forQualInvestorFlag: boolean; weekendFlag: boolean; blockedTcaFlag: boolean; liquidityFlag: boolean; first1minCandleDate: Date | undefined; first1dayCandleDate: Date | undefined; brand: BrandData | undefined; dlongClient: Quotation | undefined; dshortClient: Quotation | undefined; } export interface StructuredNote { uid: string; figi: string; ticker: string; classCode: string; isin: string; name: string; assetUid: string; positionUid: string; minPriceIncrement: Quotation | undefined; lot: number; nominal: MoneyValue | undefined; currency: string; maturityDate: Date | undefined; placementDate: Date | undefined; issueKind: string; issueSize: number; issueSizePlan: number; dlongClient: Quotation | undefined; dshortClient: Quotation | undefined; shortEnabledFlag: boolean; exchange: string; tradingStatus: SecurityTradingStatus; apiTradeAvailableFlag: boolean; buyAvailableFlag: boolean; sellAvailableFlag: boolean; limitOrderAvailableFlag: boolean; marketOrderAvailableFlag: boolean; bestpriceOrderAvailableFlag: boolean; weekendFlag: boolean; liquidityFlag: boolean; forIisFlag: boolean; forQualInvestorFlag: boolean; pawnshopListFlag: boolean; realExchange: RealExchange; first1minCandleDate: Date | undefined; first1dayCandleDate: Date | undefined; borrowName: string; type: string; logicPortfolio: StructuredNote_LogicPortfolio; assetType: AssetType; basicAssets: StructuredNote_BasicAsset[]; safetyBarrier: Quotation | undefined; couponPeriodBase: string; observationPrinciple: StructuredNote_ObservationPrinciple; observationFrequency: string; initialPriceFixingDate: Date | undefined; yield: StructuredNote_Yield[]; couponSavingFlag: boolean; sector: string; countryOfRisk: string; countryOfRiskName: string; logoName: string; requiredTests: string[]; } export declare enum StructuredNote_LogicPortfolio { LOGIC_PORTFOLIO_UNSPECIFIED = 0, LOGIC_PORTFOLIO_VOLATILITY = 1, LOGIC_PORTFOLIO_CORRELATION = 2, UNRECOGNIZED = -1 } export declare function structuredNote_LogicPortfolioFromJSON(object: any): StructuredNote_LogicPortfolio; export declare function structuredNote_LogicPortfolioToJSON(object: StructuredNote_LogicPortfolio): string; export declare enum StructuredNote_ObservationPrinciple { OBSERVATION_PRINCIPLE_UNSPECIFIED = 0, OBSERVATION_PRINCIPLE_WORST_BASIC_ASSET = 1, OBSERVATION_PRINCIPLE_BEST_BASIC_ASSET = 2, OBSERVATION_PRINCIPLE_AVERAGE_OF_BASIC_ASSETS = 3, OBSERVATION_PRINCIPLE_SINGLE_BASIC_ASSET_PERFORMANCE = 4, UNRECOGNIZED = -1 } export declare function structuredNote_ObservationPrincipleFromJSON(object: any): StructuredNote_ObservationPrinciple; export declare function structuredNote_ObservationPrincipleToJSON(object: StructuredNote_ObservationPrinciple): string; export declare enum StructuredNote_YieldType { YIELD_TYPE_UNSPECIFIED = 0, YIELD_TYPE_GUARANTED_COUPON = 1, YIELD_TYPE_CONDITIONAL_COUPON = 2, YIELD_TYPE_PARTICIPATION = 3, UNRECOGNIZED = -1 } export declare function structuredNote_YieldTypeFromJSON(object: any): StructuredNote_YieldType; export declare function structuredNote_YieldTypeToJSON(object: StructuredNote_YieldType): string; export interface StructuredNote_BasicAsset { uid: string; type: AssetType; initialPrice: Quotation | undefined; } export interface StructuredNote_Yield { type: StructuredNote_YieldType; value: Quotation | undefined; } export interface GetAccruedInterestsRequest { figi: string; from: Date | undefined; to: Date | undefined; instrumentId: string; } export interface GetAccruedInterestsResponse { accruedInterests: AccruedInterest[]; } export interface AccruedInterest { date: Date | undefined; value: Quotation | undefined; valuePercent: Quotation | undefined; nominal: Quotation | undefined; } export interface GetFuturesMarginRequest { figi: string; instrumentId: string; } export interface GetFuturesMarginResponse { initialMarginOnBuy: MoneyValue | undefined; initialMarginOnSell: MoneyValue | undefined; minPriceIncrement: Quotation | undefined; minPriceIncrementAmount: Quotation | undefined; } export interface InstrumentResponse { instrument: Instrument | undefined; } export interface Instrument { figi: string; ticker: string; classCode: string; isin: string; lot: number; currency: string; klong: Quotation | undefined; kshort: Quotation | undefined; dlong: Quotation | undefined; dshort: Quotation | undefined; dlongMin: Quotation | undefined; dshortMin: Quotation | undefined; shortEnabledFlag: boolean; name: string; exchange: string; countryOfRisk: string; countryOfRiskName: string; instrumentType: string; tradingStatus: SecurityTradingStatus; otcFlag: boolean; buyAvailableFlag: boolean; sellAvailableFlag: boolean; minPriceIncrement: Quotation | undefined; apiTradeAvailableFlag: boolean; uid: string; realExchange: RealExchange; positionUid: string; assetUid: string; requiredTests: string[]; forIisFlag: boolean; forQualInvestorFlag: boolean; weekendFlag: boolean; blockedTcaFlag: boolean; instrumentKind: InstrumentType; first1minCandleDate: Date | undefined; first1dayCandleDate: Date | undefined; brand: BrandData | undefined; dlongClient: Quotation | undefined; dshortClient: Quotation | undefined; } export interface GetDividendsRequest { figi: string; from?: Date | undefined; to?: Date | undefined; instrumentId: string; } export interface GetDividendsResponse { dividends: Dividend[]; } export interface Dividend { dividendNet: MoneyValue | undefined; paymentDate: Date | undefined; declaredDate: Date | undefined; lastBuyDate: Date | undefined; dividendType: string; recordDate: Date | undefined; regularity: string; closePrice: MoneyValue | undefined; yieldValue: Quotation | undefined; createdAt: Date | undefined; } export interface AssetRequest { id: string; } export interface AssetResponse { asset: AssetFull | undefined; } export interface AssetsRequest { instrumentType?: InstrumentType | undefined; instrumentStatus?: InstrumentStatus | undefined; } export interface AssetsResponse { assets: Asset[]; } export interface AssetFull { uid: string; type: AssetType; name: string; nameBrief: string; description: string; deletedAt: Date | undefined; requiredTests: string[]; currency: AssetCurrency | undefined; security: AssetSecurity | undefined; gosRegCode: string; cfi: string; codeNsd: string; status: string; brand: Brand | undefined; updatedAt: Date | undefined; brCode: string; brCodeName: string; instruments: AssetInstrument[]; } export interface Asset { uid: string; type: AssetType; name: string; instruments: AssetInstrument[]; } export interface AssetCurrency { baseCurrency: string; } export interface AssetSecurity { isin: string; type: string; instrumentKind: InstrumentType; share: AssetShare | undefined; bond: AssetBond | undefined; sp: AssetStructuredProduct | undefined; etf: AssetEtf | undefined; clearingCertificate: AssetClearingCertificate | undefined; } export interface AssetShare { type: ShareType; issueSize: Quotation | undefined; nominal: Quotation | undefined; nominalCurrency: string; primaryIndex: string; dividendRate: Quotation | undefined; preferredShareType: string; ipoDate: Date | undefined; registryDate: Date | undefined; divYieldFlag: boolean; issueKind: string; placementDate: Date | undefined; represIsin: string; issueSizePlan: Quotation | undefined; totalFloat: Quotation | undefined; } export interface AssetBond { currentNominal: Quotation | undefined; borrowName: string; issueSize: Quotation | undefined; nominal: Quotation | undefined; nominalCurrency: string; issueKind: string; interestKind: string; couponQuantityPerYear: number; indexedNominalFlag: boolean; subordinatedFlag: boolean; collateralFlag: boolean; taxFreeFlag: boolean; amortizationFlag: boolean; floatingCouponFlag: boolean; perpetualFlag: boolean; maturityDate: Date | undefined; returnCondition: string; stateRegDate: Date | undefined; placementDate: Date | undefined; placementPrice: Quotation | undefined; issueSizePlan: Quotation | undefined; } export interface AssetStructuredProduct { borrowName: string; nominal: Quotation | undefined; nominalCurrency: string; type: StructuredProductType; logicPortfolio: string; assetType: AssetType; basicAsset: string; safetyBarrier: Quotation | undefined; maturityDate: Date | undefined; issueSizePlan: Quotation | undefined; issueSize: Quotation | undefined; placementDate: Date | undefined; issueKind: string; } export interface AssetEtf { totalExpense: Quotation | undefined; hurdleRate: Quotation | undefined; performanceFee: Quotation | undefined; fixedCommission: Quotation | undefined; paymentType: string; watermarkFlag: boolean; buyPremium: Quotation | undefined; sellDiscount: Quotation | undefined; rebalancingFlag: boolean; rebalancingFreq: string; managementType: string; primaryIndex: string; focusType: string; leveragedFlag: boolean; numShare: Quotation | undefined; ucitsFlag: boolean; releasedDate: Date | undefined; description: string; primaryIndexDescription: string; primaryIndexCompany: string; indexRecoveryPeriod: Quotation | undefined; inavCode: string; divYieldFlag: boolean; expenseCommission: Quotation | undefined; primaryIndexTrackingError: Quotation | undefined; rebalancingPlan: string; taxRate: string; rebalancingDates: Date[]; issueKind: string; nominal: Quotation | undefined; nominalCurrency: string; } export interface AssetClearingCertificate { nominal: Quotation | undefined; nominalCurrency: string; } export interface Brand { uid: string; name: string; description: string; info: string; company: string; sector: string; countryOfRisk: string; countryOfRiskName: string; } export interface AssetInstrument { uid: string; figi: string; instrumentType: string; ticker: string; classCode: string; links: InstrumentLink[]; instrumentKind: InstrumentType; positionUid: string; } export interface InstrumentLink { type: string; instrumentUid: string; } export interface GetFavoritesRequest { groupId?: string | undefined; } export interface GetFavoritesResponse { favoriteInstruments: FavoriteInstrument[]; groupId?: string | undefined; } export interface FavoriteInstrument { figi: string; ticker: string; classCode: string; isin: string; instrumentType: string; name: string; uid: string; otcFlag: boolean; apiTradeAvailableFlag: boolean; instrumentKind: InstrumentType; } export interface EditFavoritesRequest { instruments: EditFavoritesRequestInstrument[]; actionType: EditFavoritesActionType; groupId?: string | undefined; } export interface EditFavoritesRequestInstrument { figi?: string | undefined; instrumentId: string; } export interface EditFavoritesResponse { favoriteInstruments: FavoriteInstrument[]; groupId?: string | undefined; } export interface CreateFavoriteGroupRequest { groupName: string; groupColor: string; note?: string | undefined; } export interface CreateFavoriteGroupResponse { groupId: string; groupName: string; } export interface DeleteFavoriteGroupRequest { groupId: string; } export interface DeleteFavoriteGroupResponse { } export interface GetFavoriteGroupsRequest { instrumentId: string[]; excludedGroupId: string[]; } export interface GetFavoriteGroupsResponse { groups: GetFavoriteGroupsResponse_FavoriteGroup[]; } export interface GetFavoriteGroupsResponse_FavoriteGroup { groupId: string; groupName: string; color: string; size: number; containsInstrument?: boolean | undefined; } export interface GetCountriesRequest { } export interface GetCountriesResponse { countries: CountryResponse[]; } export interface IndicativesRequest { } export interface IndicativesResponse { instruments: IndicativeResponse[]; } export interface IndicativeResponse { figi: string; ticker: string; classCode: string; currency: string; instrumentKind: InstrumentType; name: string; exchange: string; uid: string; buyAvailableFlag: boolean; sellAvailableFlag: boolean; } export interface CountryResponse { alfaTwo: string; alfaThree: string; name: string; nameBrief: string; } export interface FindInstrumentRequest { query: string; instrumentKind?: InstrumentType | undefined; apiTradeAvailableFlag?: boolean | undefined; } export interface FindInstrumentResponse { instruments: InstrumentShort[]; } export interface InstrumentShort { isin: string; figi: string; ticker: string; classCode: string; instrumentType: string; name: string; uid: string; positionUid: string; instrumentKind: InstrumentType; apiTradeAvailableFlag: boolean; forIisFlag: boolean; first1minCandleDate: Date | undefined; first1dayCandleDate: Date | undefined; forQualInvestorFlag: boolean; weekendFlag: boolean; blockedTcaFlag: boolean; lot: number; } export interface GetBrandsRequest { paging: Page | undefined; } export interface GetBrandRequest { id: string; } export interface GetBrandsResponse { brands: Brand[]; paging: PageResponse | undefined; } export interface GetAssetFundamentalsRequest { assets: string[]; } export interface GetAssetFundamentalsResponse { fundamentals: GetAssetFundamentalsResponse_StatisticResponse[]; } export interface GetAssetFundamentalsResponse_StatisticResponse { assetUid: string; currency: string; marketCapitalization: number; highPriceLast52Weeks: number; lowPriceLast52Weeks: number; averageDailyVolumeLast10Days: number; averageDailyVolumeLast4Weeks: number; beta: number; freeFloat: number; forwardAnnualDividendYield: number; sharesOutstanding: number; revenueTtm: number; ebitdaTtm: number; netIncomeTtm: number; epsTtm: number; dilutedEpsTtm: number; freeCashFlowTtm: number; fiveYearAnnualRevenueGrowthRate: number; threeYearAnnualRevenueGrowthRate: number; peRatioTtm: number; priceToSalesTtm: number; priceToBookTtm: number; priceToFreeCashFlowTtm: number; totalEnterpriseValueMrq: number; evToEbitdaMrq: number; netMarginMrq: number; netInterestMarginMrq: number; roe: number; roa: number; roic: number; totalDebtMrq: number; totalDebtToEquityMrq: number; totalDebtToEbitdaMrq: number; freeCashFlowToPrice: number; netDebtToEbitda: number; currentRatioMrq: number; fixedChargeCoverageRatioFy: number; dividendYieldDailyTtm: number; dividendRateTtm: number; dividendsPerShare: number; fiveYearsAverageDividendYield: number; fiveYearAnnualDividendGrowthRate: number; dividendPayoutRatioFy: number; buyBackTtm: number; oneYearAnnualRevenueGrowthRate: number; domicileIndicatorCode: string; adrToCommonShareRatio: number; numberOfEmployees: number; exDividendDate: Date | undefined; fiscalPeriodStartDate: Date | undefined; fiscalPeriodEndDate: Date | undefined; revenueChangeFiveYears: number; epsChangeFiveYears: number; ebitdaChangeFiveYears: number; totalDebtChangeFiveYears: number; evToSales: number; } export interface GetAssetReportsRequest { instrumentId: string; from?: Date | undefined; to?: Date | undefined; } export interface GetAssetReportsResponse { events: GetAssetReportsResponse_GetAssetReportsEvent[]; } export declare enum GetAssetReportsResponse_AssetReportPeriodType { PERIOD_TYPE_UNSPECIFIED = 0, PERIOD_TYPE_QUARTER = 1, PERIOD_TYPE_SEMIANNUAL = 2, PERIOD_TYPE_ANNUAL = 3, UNRECOGNIZED = -1 } export declare function getAssetReportsResponse_AssetReportPeriodTypeFromJSON(object: any): GetAssetReportsResponse_AssetReportPeriodType; export declare function getAssetReportsResponse_AssetReportPeriodTypeToJSON(object: GetAssetReportsResponse_AssetReportPeriodType): string; export interface GetAssetReportsResponse_GetAssetReportsEvent { instrumentId: string; reportDate: Date | undefined; periodYear: number; periodNum: number; periodType: GetAssetReportsResponse_AssetReportPeriodType; createdAt: Date | undefined; } export interface GetConsensusForecastsRequest { paging?: Page | undefined; } export interface GetConsensusForecastsResponse { items: GetConsensusForecastsResponse_ConsensusForecastsItem[]; page: PageResponse | undefined; } export interface GetConsensusForecastsResponse_ConsensusForecastsItem { uid: string; assetUid: string; createdAt: Date | undefined; bestTargetPrice: Quotation | undefined; bestTargetLow: Quotation | undefined; bestTargetHigh: Quotation | undefined; totalBuyRecommend: number; totalHoldRecommend: number; totalSellRecommend: number; currency: string; consensus: Recommendation; prognosisDate: Date | undefined; } export interface GetForecastRequest { instrumentId: string; } export interface GetForecastResponse { targets: GetForecastResponse_TargetItem[]; consensus: GetForecastResponse_ConsensusItem | undefined; } export interface GetForecastResponse_TargetItem { uid: string; ticker: string; company: string; recommendation: Recommendation; recommendationDate: Date | undefined; currency: string; currentPrice: Quotation | undefined; targetPrice: Quotation | undefined; priceChange: Quotation | undefined; priceChangeRel: Quotation | undefined; showName: string; } export interface GetForecastResponse_ConsensusItem { uid: string; ticker: string; recommendation: Recommendation; currency: string; currentPrice: Quotation | undefined; consensus: Quotation | undefined; minTarget: Quotation | undefined; maxTarget: Quotation | undefined; priceChange: Quotation | undefined; priceChangeRel: Quotation | undefined; } export interface RiskRatesRequest { instrumentId: string[]; } export interface RiskRatesResponse { instrumentRiskRates: RiskRatesResponse_RiskRateResult[]; } export interface RiskRatesResponse_RiskRateResult { instrumentUid: string; shortRiskRate?: RiskRatesResponse_RiskRate | undefined; longRiskRate?: RiskRatesResponse_RiskRate | undefined; shortRiskRates: RiskRatesResponse_RiskRate[]; longRiskRates: RiskRatesResponse_RiskRate[]; error?: string | undefined; } export interface RiskRatesResponse_RiskRate { riskLevelCode: string; value: Quotation | undefined; } export interface TradingInterval { type: string; interval: TradingInterval_TimeInterval | undefined; } export interface TradingInterval_TimeInterval { startTs: Date | undefined; endTs: Date | undefined; } export interface GetInsiderDealsRequest { instrumentId: string; limit: number; nextCursor?: string | undefined; } export interface GetInsiderDealsResponse { insiderDeals: GetInsiderDealsResponse_InsiderDeal[]; nextCursor?: string | undefined; } export declare enum GetInsiderDealsResponse_TradeDirection { TRADE_DIRECTION_UNSPECIFIED = 0, TRADE_DIRECTION_BUY = 1, TRADE_DIRECTION_SELL = 2, TRADE_DIRECTION_INCREASE = 3, TRADE_DIRECTION_DECREASE = 4, UNRECOGNIZED = -1 } export declare function getInsiderDealsResponse_TradeDirectionFromJSON(object: any): GetInsiderDealsResponse_TradeDirection; export declare function getInsiderDealsResponse_TradeDirectionToJSON(object: GetInsiderDealsResponse_TradeDirection): string; export interface GetInsiderDealsResponse_InsiderDeal { tradeId: number; direction: GetInsiderDealsResponse_TradeDirection; currency: string; date: Date | undefined; quantity: number; price: Quotation | undefined; instrumentUid: string; ticker: string; investorName: string; investorPosition: string; percentage: number; isOptionExecution: boolean; disclosureDate: Date | undefined; } export interface DfasRequest { } export interface DfaResponse { uid: string; ticker: string; name: string; positionUid: string; minPriceIncrement: Quotation | undefined; lot: number; nominal: MoneyValue | undefined; currency: string; maturityDate: Date | undefined; shortEnabledFlag: boolean; apiTradeAvailableFlag: boolean; buyAvailableFlag: boolean; sellAvailableFlag: boolean; limitOrderAvailableFlag: boolean; marketOrderAvailableFlag: boolean; bestpriceOrderAvailableFlag: boolean; forIisFlag: boolean; forQualInvestorFlag: boolean; type: string; basicAssets: DfaResponse_BasicAsset[]; forecastYield: DfaResponse_ForecastYield | undefined; yieldToMaturity: Quotation | undefined; couponValue: Quotation | undefined; couponPaymentFrequency: number; couponPaymentDate: Date | undefined; aciValue: Quotation | undefined; } export interface DfaResponse_BasicAsset { uid: string; } export interface DfaResponse_ForecastYield { minValue: Quotation | undefined; maxValue: Quotation | undefined; } export interface DfasResponse { instruments: DfaResponse[]; } export declare const TradingSchedulesRequest: { encode(message: TradingSchedulesRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TradingSchedulesRequest; fromJSON(object: any): TradingSchedulesRequest; toJSON(message: TradingSchedulesRequest): unknown; fromPartial(object: DeepPartial): TradingSchedulesRequest; }; export declare const TradingSchedulesResponse: { encode(message: TradingSchedulesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TradingSchedulesResponse; fromJSON(object: any): TradingSchedulesResponse; toJSON(message: TradingSchedulesResponse): unknown; fromPartial(object: DeepPartial): TradingSchedulesResponse; }; export declare const TradingSchedule: { encode(message: TradingSchedule, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TradingSchedule; fromJSON(object: any): TradingSchedule; toJSON(message: TradingSchedule): unknown; fromPartial(object: DeepPartial): TradingSchedule; }; export declare const TradingDay: { encode(message: TradingDay, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TradingDay; fromJSON(object: any): TradingDay; toJSON(message: TradingDay): unknown; fromPartial(object: DeepPartial): TradingDay; }; export declare const InstrumentRequest: { encode(message: InstrumentRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): InstrumentRequest; fromJSON(object: any): InstrumentRequest; toJSON(message: InstrumentRequest): unknown; fromPartial(object: DeepPartial): InstrumentRequest; }; export declare const InstrumentsRequest: { encode(message: InstrumentsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): InstrumentsRequest; fromJSON(object: any): InstrumentsRequest; toJSON(message: InstrumentsRequest): unknown; fromPartial(object: DeepPartial): InstrumentsRequest; }; export declare const FilterOptionsRequest: { encode(message: FilterOptionsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): FilterOptionsRequest; fromJSON(object: any): FilterOptionsRequest; toJSON(message: FilterOptionsRequest): unknown; fromPartial(object: DeepPartial): FilterOptionsRequest; }; export declare const BondResponse: { encode(message: BondResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BondResponse; fromJSON(object: any): BondResponse; toJSON(message: BondResponse): unknown; fromPartial(object: DeepPartial): BondResponse; }; export declare const BondsResponse: { encode(message: BondsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BondsResponse; fromJSON(object: any): BondsResponse; toJSON(message: BondsResponse): unknown; fromPartial(object: DeepPartial): BondsResponse; }; export declare const GetBondCouponsRequest: { encode(message: GetBondCouponsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetBondCouponsRequest; fromJSON(object: any): GetBondCouponsRequest; toJSON(message: GetBondCouponsRequest): unknown; fromPartial(object: DeepPartial): GetBondCouponsRequest; }; export declare const GetBondCouponsResponse: { encode(message: GetBondCouponsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetBondCouponsResponse; fromJSON(object: any): GetBondCouponsResponse; toJSON(message: GetBondCouponsResponse): unknown; fromPartial(object: DeepPartial): GetBondCouponsResponse; }; export declare const GetBondEventsRequest: { encode(message: GetBondEventsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetBondEventsRequest; fromJSON(object: any): GetBondEventsRequest; toJSON(message: GetBondEventsRequest): unknown; fromPartial(object: DeepPartial): GetBondEventsRequest; }; export declare const GetBondEventsResponse: { encode(message: GetBondEventsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetBondEventsResponse; fromJSON(object: any): GetBondEventsResponse; toJSON(message: GetBondEventsResponse): unknown; fromPartial(object: DeepPartial): GetBondEventsResponse; }; export declare const GetBondEventsResponse_BondEvent: { encode(message: GetBondEventsResponse_BondEvent, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetBondEventsResponse_BondEvent; fromJSON(object: any): GetBondEventsResponse_BondEvent; toJSON(message: GetBondEventsResponse_BondEvent): unknown; fromPartial(object: DeepPartial): GetBondEventsResponse_BondEvent; }; export declare const Coupon: { encode(message: Coupon, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Coupon; fromJSON(object: any): Coupon; toJSON(message: Coupon): unknown; fromPartial(object: DeepPartial): Coupon; }; export declare const CurrencyResponse: { encode(message: CurrencyResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CurrencyResponse; fromJSON(object: any): CurrencyResponse; toJSON(message: CurrencyResponse): unknown; fromPartial(object: DeepPartial): CurrencyResponse; }; export declare const CurrenciesResponse: { encode(message: CurrenciesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CurrenciesResponse; fromJSON(object: any): CurrenciesResponse; toJSON(message: CurrenciesResponse): unknown; fromPartial(object: DeepPartial): CurrenciesResponse; }; export declare const EtfResponse: { encode(message: EtfResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): EtfResponse; fromJSON(object: any): EtfResponse; toJSON(message: EtfResponse): unknown; fromPartial(object: DeepPartial): EtfResponse; }; export declare const EtfsResponse: { encode(message: EtfsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): EtfsResponse; fromJSON(object: any): EtfsResponse; toJSON(message: EtfsResponse): unknown; fromPartial(object: DeepPartial): EtfsResponse; }; export declare const FutureResponse: { encode(message: FutureResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): FutureResponse; fromJSON(object: any): FutureResponse; toJSON(message: FutureResponse): unknown; fromPartial(object: DeepPartial): FutureResponse; }; export declare const FuturesResponse: { encode(message: FuturesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): FuturesResponse; fromJSON(object: any): FuturesResponse; toJSON(message: FuturesResponse): unknown; fromPartial(object: DeepPartial): FuturesResponse; }; export declare const OptionResponse: { encode(message: OptionResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): OptionResponse; fromJSON(object: any): OptionResponse; toJSON(message: OptionResponse): unknown; fromPartial(object: DeepPartial): OptionResponse; }; export declare const OptionsResponse: { encode(message: OptionsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): OptionsResponse; fromJSON(object: any): OptionsResponse; toJSON(message: OptionsResponse): unknown; fromPartial(object: DeepPartial): OptionsResponse; }; export declare const Option: { encode(message: Option, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Option; fromJSON(object: any): Option; toJSON(message: Option): unknown; fromPartial(object: DeepPartial