UNPKG

@activfinancial/one-api

Version:

A JavaScript API (with TypeScript definitions) to access the ACTIV OnePlatform.

1,282 lines (1,241 loc) 232 kB
declare module '@activfinancial/one-api/src/framework/asioErrorCode' { /** @hidden */ export interface IAsioErrorCode { readonly isError: boolean; readonly message: string; readonly category: string; readonly value: string; } /** @hidden Type guard to check for IAsioErrorCode. */ export function isAsioErrorCode(object: any): object is IAsioErrorCode; } declare module '@activfinancial/one-api/src/framework/asioError' { import { IAsioErrorCode } from '@activfinancial/one-api/src/framework/asioErrorCode'; /** @hidden Constructs an Error with a friendly message derived from an AsioErrorCode. */ export default class extends Error implements IAsioErrorCode { readonly isError: boolean; readonly category: string; readonly value: string; /** * @hidden * @param errorCode AsioErrorCode from wasm. */ constructor(errorCode: IAsioErrorCode); /** Pretty print. */ toString(): string; /** Convert to JSON. */ toJSON(): { message: string; isError: boolean; category: string; value: string; }; } } declare module '@activfinancial/one-api/src/framework/systemInfo' { /** * Interface for embind-ed ISystem::SystemInfo from wasmed ActivFramework. */ export default interface ISystemInfo { /** ActivMiddleware system name. */ readonly name: string; /** Version of the system. */ readonly version: string; /** Hostname the system is running on. */ readonly hostname: string; /** Operating system the system is running on. */ readonly os: string; /** List of processor names. */ readonly processorInfoList: Iterable<string>; /** Number of physical processor packages. */ readonly numberOfProcessorPackages: number; /** Number of processor cores. */ readonly numberOfProcessorCores: number; /** Number of processor threads. */ readonly numberOfProcessorThreads: number; /** Physical memory in the machine (in bytes). */ readonly physicalMemory: number; /** Approximate free physical memory. */ readonly freeMemory: number; /** ActivMiddleware version. */ readonly middlewareVersion: string; /** ActivMiddleware build date. */ readonly middlewareDate: string; } } declare module '@activfinancial/one-api/src/framework/statusCode' { /** StatusCode enumeration. */ export enum StatusCode { unknown = 255, success = 0, failure = 1, exit = 2, shuttingDown = 3, unhandledException = 4, unrecognized = 5, notFound = 6, timeout = 7, unchanged = 8, pending = 9, accessDenied = 10, bufferOverflow = 11, bufferUnderrun = 12, notSupported = 13, notInitialized = 14, missingArgs = 15, notOpen = 16, alreadyOpen = 17, disabled = 18, invalidEndpoint = 19, invalidComponent = 20, invalidVersion = 21, invalidLength = 22, invalidParameter = 23, invalidName = 24, invalidFormat = 25, invalidIndex = 26, invalidKey = 27, invalidFieldType = 28, invalidField = 29, invalidRecord = 30, invalidTable = 31, invalidProtocol = 32, undefinedField = 33, noPrimaryKey = 34, mismatch = 35, outOfRange = 36, stale = 37, deleted = 38, empty = 39, full = 40, heapEmpty = 41, wrongState = 42, notConnected = 43, alreadyConnected = 44, alreadyDefined = 45, notCreated = 46, alreadyExists = 47, inUse = 48, endOfData = 49, alreadyListening = 50, notShareable = 51, connectionRefused = 52, interrupted = 53, ignored = 54, tooManyRequests = 55, invalidEndpointComponent = 56, hostDeviceNotFound = 57, invalidUser = 58, invalidPassword = 59, invalidUrl = 60, notADirectory = 61, busy = 62, expired = 63, hostUnreachable = 64, networkUnreachable = 65, notLicensed = 66, addressNotAvailable = 67, noSuchDevice = 68, quotaExceeded = 69, invalidServiceId = 70, pathNotFound = 71, invalidHandle = 72, invalidAddress = 73, insufficientResources = 74, invalidRequest = 75, noProxyConfigured = 76, missingFields = 77, invalidUserType = 78, undefinedLength = 79, functionNotAvailable = 80, continue = 81, invalidSignature = 82, tableNotAvailable = 83, sourceNotFound = 84, sourceNotPermissioned = 85, relationshipNotFound = 86, relationshipNotPermissioned = 87, navigationNotFound = 88, navigationNotPermissioned = 89, targetNotFound = 90, targetNotPermissioned = 91, permissionLevelNotAvailable = 92, subscriptionNotAvailable = 93, invalidHost = 94, rejected = 95, noHeartbeat = 96 } } declare module '@activfinancial/one-api/src/framework/statusCodeError' { import { StatusCode } from '@activfinancial/one-api/src/framework/statusCode'; /** Constructs an Error with a friendly message derived from a StatusCode. */ export class StatusCodeError extends Error { statusCode: StatusCode; /** * @param statusCode The StatusCode associated with the error. */ constructor(statusCode: StatusCode); toJSON(): { message: string; statusCode: StatusCode; }; } } declare module '@activfinancial/one-api/src/wasm/wasmModule' { export type WasmModule = any; export type WasmModuleOptions = any; /** Global wasm module. */ export let wasmModule: WasmModule; /** * Initialize wasm. * * @param moduleLoader emscripten's .js module loader. * @param wasmBufferGz gzipped wasm binary. * @param wasmOptions optional overrides to the default emscripten initialization options. */ export function loadWasmModule(moduleLoader: any, wasmBufferGz: Uint8Array, wasmOptions: WasmModuleOptions): Promise<void>; } declare module '@activfinancial/one-api/src/wasm/heap' { /** Emscripten pointer type (currently 32-bit heap space). */ export type Pointer = number; /** Type to represent objects that require deleting. */ export interface ISmartPointer { /** @hidden */ delete(): void; /** @hidden */ isDeleted(): boolean; } /** Type guard to determine if a type is a SmpartPOinter. */ export function isSmartPointer(value: any): value is ISmartPointer; export function getUInt8Value(pointer: Pointer): number; export function getInt8Value(pointer: Pointer): number; export function getUInt16Value(pointer: Pointer): number; export function getInt16Value(pointer: Pointer): number; export function getUInt32Value(pointer: Pointer): number; export function getInt32Value(pointer: Pointer): number; export function getDouble64Value(pointer: Pointer): number; /** Get a 53-bit signed integer from emscripten heap. */ export function getInt53Value(pData: Pointer): number; /** Get a 53-bit unsigned integer from emscripten heap. */ export function getUInt53Value(pData: Pointer): number; } declare module '@activfinancial/one-api/src/framework/fieldTypes/fieldType' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; /** Enumeration of available ACTIV FieldTypes. */ export enum FieldType { /** TypeScript type: Date */ date = 0, /** TypeScript type: HighResDate */ time = 1, /** TypeScript type: HighResDate */ dateTime = 2, /** TypeScript type: number */ sInt = 3, /** TypeScript type: number */ uInt = 4, /** TypeScript type: Rational */ rational = 5, /** TypeScript type: TRational */ tRational = 6, /** TypeScript type: string */ textString = 7, /** TypeScript type: string */ textArray = 8, /** TypeScript type: string */ binaryString = 9, /** TypeScript type: Uint8Array */ binaryArray = 10, /** TypeScript type: Uint8Array */ blob = 11, /** TypeScript type: Uint8Array */ crcBlob = 12, /** TypeScript type: boolean */ boolean = 13, /** Not supported in JS */ fieldMap = 14, /** TypeScript type: Array<FieldValue> */ fieldTypeList = 15, /** TypesScript type: number */ double = 16, unknown = 255 } /** Helper for raw IFieldType pointers to determine if the value is defined. */ export function isFieldTypeDefined(pIFieldType: Pointer): boolean; /** Custom field types require a JSON serializer. */ export interface IFieldType { /** Convert to an object that JSON.stringify() can handle. */ toJSON(): any; } } declare module '@activfinancial/one-api/src/framework/fieldTypes/rational' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; import { IFieldType } from '@activfinancial/one-api/src/framework/fieldTypes/fieldType'; /** The possible denominator types. */ export enum DenominatorType { whole = 0, dp1 = 1, dp2 = 2, dp3 = 3, dp4 = 4, dp5 = 5, dp6 = 6, dp7 = 7, dp8 = 8, dp9 = 9, x1e1 = 10, x1e2 = 11, x1e3 = 12, x1e4 = 13, x1e5 = 14, x1e6 = 15, x1e7 = 16, x1e8 = 17, x1e9 = 18, half = 19, quarter = 20, th8 = 21, th16 = 22, nd32 = 23, th64 = 24, th128 = 25, th256 = 26, th512 = 27, cabinet = 28, undefined = 29, numberOfTypes = 30 } /** * A number type allowing for higher precision when used to represent a rational number * with a specified denominator. */ export class Rational implements IFieldType { readonly numerator: number; readonly denominatorType: DenominatorType; readonly doubleValue: number; /** * Represents a number that can be expressed in the form numerator / denominator. Supports a fixed set of denominator values. * * @param numerator The numerator of the rational number. * @param denominatorType The type of the denominator of the rational number. * @param doubleValue The closest JavaScript number (if not supplied an approximation is calculated). */ constructor(numerator: number, denominatorType: DenominatorType, doubleValue?: number); /** Returns the doubleValue. */ valueOf(): number; toJSON(): { numerator: number; denominatorType: DenominatorType; doubleValue: number; }; static fromJSON(json: any): Rational; toString(): string; } /** Make a Rational from a Rational wasm pointer. */ export function makeRationalField(pIFieldType: Pointer): Rational; /** Make a Rational from a Rational wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeRationalField(pIFieldType: Pointer): Rational | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/tRational' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; import { Rational, DenominatorType } from '@activfinancial/one-api/src/framework/fieldTypes/rational'; /** Trending direction. */ export enum Trend { unchanged = 0, up = 1, down = 2, undefined = 3 } /** Trending types. */ export enum TrendType { /** The trend direction since the previous disseminated value for the field that was different than the current value. */ tick = 0, /** The trend direction since the previous day's value for the field. */ onDay = 1, /** The trend direction since the previous disseminated value for the field. */ onPrevious = 2 } /** * A number type allowing for higher precision when used to represent a rational number * with a specified denominator and additional fields indicating the change direction across different periods. */ export class TRational extends Rational { readonly trends: { [key in keyof typeof TrendType]: Trend; }; /** * Represents a number that can be expressed in the form numerator / denominator, * with additional fields indicating the change direction across different periods. * Supports a fixed set of denominator values. * * @param numerator the numerator of the rational number. * @param denominatorType the denominator type of the rational number. * @param doubleValue the closest JavaScript number. If not supplied an approximation is calculated. * @param tick trend direction since the previous disseminated value for the field that was different than the current value. * @param trendOnDay trend direction since the previous day's value for the field. * @param trendOnPrevious trend direction since the previous disseminated value for the field. */ constructor(numerator: number, denominatorType: DenominatorType, doubleValue: number, tick: Trend, trendOnDay: Trend, trendOnPrevious: Trend); /** Format a string showing the value and trending information. */ toString(): string; toJSON(): { trends: { readonly [x: number]: Trend; readonly tick: Trend; readonly onDay: Trend; readonly onPrevious: Trend; }; numerator: number; denominatorType: DenominatorType; doubleValue: number; }; static fromJSON(json: any): TRational; /** Format a string showing trending information. */ trendingToString(): string; /** Utility to convert trend into a friendly single-character representation. */ static trendToString(trend: Trend): string; } /** Make a TRational from a TRational wasm pointer. */ export function makeTRationalField(pIFieldType: Pointer): TRational; /** Make a TRational from a TRational wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeTRationalField(pIFieldType: Pointer): TRational | null; } declare module '@activfinancial/one-api/src/misc/highResDate' { /** * Date class that adds micro and nanoseconds. */ export class HighResDate extends Date { getMicroseconds(): number | undefined; getNanoseconds(): number | undefined; toJSON(): any; protected dateToString(): string; protected timeToString(): string; protected setLocalTime(resolution: number, secondsInDay: number, subSecond: number): void; protected setUtcTime(resolution: number, secondsInDay: number, subSecond: number): void; private formatSubSecond; protected microseconds?: number; protected nanoseconds?: number; } } declare module '@activfinancial/one-api/src/framework/fieldTypes/date' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; import { IFieldType } from '@activfinancial/one-api/src/framework/fieldTypes/fieldType'; import { HighResDate } from '@activfinancial/one-api/src/misc/highResDate'; /** * Date class providing toString() to match DateTime's format. */ export class Date extends HighResDate implements IFieldType { toString(): string; toLocaleString(): string; /** Make a Date from JSON from Date.toJSON(). */ static fromJSON(json: any): Date; /** The maximum possible date */ static readonly MAX: Date; /** The minimum possible date */ static readonly MIN: Date; } /** Make a Date from a Date wasm pointer. */ export function makeDateField(pIFieldType: Pointer): Date; /** Make a Date from a Date wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeDateField(pIFieldType: Pointer): Date | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/time' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; import { IFieldType } from '@activfinancial/one-api/src/framework/fieldTypes/fieldType'; import { HighResDate } from '@activfinancial/one-api/src/misc/highResDate'; /** * Date class that adds micro and nanoseconds. */ export class Time extends HighResDate implements IFieldType { toString(): string; toLocaleString(): string; static makeLocalTime(resolution: number, secondsInDay: number, subSecond: number): Time; static makeUtcTime(resolution: number, secondsInDay: number, subSecond: number): Time; /** Make a Time from JSON from Time.toJSON(). */ static fromJSON(json: any): Time; } /** Make a Time from a Time wasm pointer. */ export function makeLocalTimeField(pIFieldType: Pointer): Time; /** Make a Time from a Time wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeLocalTimeField(pIFieldType: Pointer): Time | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/dateTime' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; import { IFieldType } from '@activfinancial/one-api/src/framework/fieldTypes/fieldType'; import { HighResDate } from '@activfinancial/one-api/src/misc/highResDate'; /** * DateTime class that adds micro and nanoseconds. */ export class DateTime extends HighResDate implements IFieldType { toString(): string; toLocaleString(): string; static makeLocalDateTime(year: number, month: number, day: number, resolution: number, secondsInDay: number, subSecond: number): DateTime; static makeUtcDateTime(year: number, month: number, day: number, resolution: number, secondsInDay: number, subSecond: number): DateTime; /** Make a DateTime from JSON from DateTime.toJSON(). */ static fromJSON(json: any): DateTime; /** The maximum possible date time */ static readonly MAX: DateTime; /** The minimum possible date time */ static readonly MIN: DateTime; } /** Make a local DateTime from a DateTime wasm pointer. */ export function makeLocalDateTimeField(pIFieldType: Pointer): DateTime; /** Make a UTC DateTime from a DateTime wasm pointer. */ export function makeUtcDateTimeField(pIFieldType: Pointer): DateTime; /** Make a local DateTime from a DateTime wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeLocalDateTimeField(pIFieldType: Pointer): Date | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/sInt' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; /** Make a number from a SInt wasm pointer. */ export function makeSIntField(pIFieldType: Pointer): number; /** Make a number from a SInt wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeSIntField(pIFieldType: Pointer): number | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/uInt' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; /** Make a number from a UInt wasm pointer. */ export function makeUIntField(pIFieldType: Pointer): number; /** Make a number from a UInt wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeUIntField(pIFieldType: Pointer): number | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/textString' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; /** Make a string from a TextString wasm pointer. */ export function makeTextStringField(pIFieldType: Pointer): string; /** Make a string from a TextString wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeTextStringField(pIFieldType: Pointer): string | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/textArray' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; /** Make a string from a TextArray wasm pointer. */ export function makeTextArrayField(pIFieldType: Pointer): string; /** Make a string from a TextArray wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeTextArrayField(pIFieldType: Pointer): string | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/binaryString' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; /** Make a Uint8Array from a BinaryString wasm pointer. */ export function makeBinaryStringField(pIFieldType: Pointer): Uint8Array; /** Make a Uint8Array from a BinaryString wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeBinaryStringField(pIFieldType: Pointer): Uint8Array | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/binaryArray' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; /** Make a Uint8Array from a BinaryArray wasm pointer. */ export function makeBinaryArrayField(pIFieldType: Pointer): Uint8Array; /** Make a Uint8Array from a BinaryArray wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeBinaryArrayField(pIFieldType: Pointer): Uint8Array | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/blob' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; /** Make a Uint8Array from a Blob wasm pointer. */ export function makeBlobField(pIFieldType: Pointer): Uint8Array; /** Make a Uint8Array from a Blob wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeBlobField(pIFieldType: Pointer): Uint8Array | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/crcBlob' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; /** Make a Uint8Array from a CrcBlob wasm pointer. */ export function makeCrcBlobField(pIFieldType: Pointer): Uint8Array; /** Make a Uint8Array from a CrcBlob wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeCrcBlobField(pIFieldType: Pointer): Uint8Array | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/boolean' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; /** Make a boolean from a Boolean wasm pointer. */ export function makeBooleanField(pIFieldType: Pointer): boolean; /** Make a boolean from a Boolean wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeBooleanField(pIFieldType: Pointer): boolean | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/double' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; /** Make a number from a double wasm pointer. */ export function makeDoubleField(pIFieldType: Pointer): number; /** Make a number from a Double wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeDoubleField(pIFieldType: Pointer): number | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/fieldTypeList' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; import { FieldValue } from '@activfinancial/one-api/src/framework/fieldTypes/index'; /** Make a Array<FieldValue> from a FieldTypeList wasm pointer. */ export function makeFieldTypeListField(pIFieldType: Pointer): Array<FieldValue>; /** Make a Array<FieldValue> from a FieldTypeList wasm pointer; safe version that checks for undefined fields and returns null. */ export function makeSafeFieldTypeListField(pIFieldType: Pointer): Array<FieldValue> | null; } declare module '@activfinancial/one-api/src/framework/fieldTypes/index' { import { Pointer } from '@activfinancial/one-api/src/wasm/heap'; import { Rational, DenominatorType, makeSafeRationalField } from '@activfinancial/one-api/src/framework/fieldTypes/rational'; import { TRational, Trend, TrendType, makeSafeTRationalField } from '@activfinancial/one-api/src/framework/fieldTypes/tRational'; import { FieldType, IFieldType } from '@activfinancial/one-api/src/framework/fieldTypes/fieldType'; import { Date, makeDateField } from '@activfinancial/one-api/src/framework/fieldTypes/date'; import { Time } from '@activfinancial/one-api/src/framework/fieldTypes/time'; import { DateTime, makeUtcDateTimeField, makeSafeLocalDateTimeField } from '@activfinancial/one-api/src/framework/fieldTypes/dateTime'; import { makeSafeSIntField } from '@activfinancial/one-api/src/framework/fieldTypes/sInt'; import { makeSafeUIntField } from '@activfinancial/one-api/src/framework/fieldTypes/uInt'; import { makeSafeTextStringField } from '@activfinancial/one-api/src/framework/fieldTypes/textString'; import { makeSafeTextArrayField } from '@activfinancial/one-api/src/framework/fieldTypes/textArray'; import { makeSafeBinaryStringField } from '@activfinancial/one-api/src/framework/fieldTypes/binaryString'; import { makeSafeBinaryArrayField } from '@activfinancial/one-api/src/framework/fieldTypes/binaryArray'; import { makeSafeBlobField } from '@activfinancial/one-api/src/framework/fieldTypes/blob'; import { makeSafeCrcBlobField } from '@activfinancial/one-api/src/framework/fieldTypes/crcBlob'; import { makeSafeBooleanField } from '@activfinancial/one-api/src/framework/fieldTypes/boolean'; import { makeSafeDoubleField } from '@activfinancial/one-api/src/framework/fieldTypes/double'; import { makeSafeFieldTypeListField } from '@activfinancial/one-api/src/framework/fieldTypes/fieldTypeList'; export { Date, DateTime, DenominatorType, FieldType, IFieldType, makeDateField, Rational, Time, TRational, Trend, TrendType, makeSafeSIntField, makeSafeUIntField, makeSafeTextStringField, makeSafeTextArrayField, makeSafeBinaryStringField, makeSafeBinaryArrayField, makeSafeBlobField, makeSafeCrcBlobField, makeSafeBooleanField, makeSafeRationalField, makeSafeTRationalField, makeSafeLocalDateTimeField, makeUtcDateTimeField, makeSafeDoubleField, makeSafeFieldTypeListField, }; /** All supported field types. */ export type FieldValue = boolean | number | string | Uint8Array | Date | DateTime | Time | Rational | TRational | Array<FieldValue>; /** * Get FieldType value from a raw IFieldType pointer. */ export function getFieldType(pIFieldType: Pointer): FieldType; /** * Convert a raw IFieldType pointer from wasm to a concrete JS object. */ export function makeFieldTypeObject(pIFieldType: Pointer, fieldType: FieldType): FieldValue; } declare module '@activfinancial/one-api/src/framework/ioService' { /** Wasm IoService interface. */ export interface IIoService { run(shouldSimulateInfiniteLoop: boolean): void; } /** Get singleton IoService instance. */ export function getIoService(): IIoService; } declare module '@activfinancial/one-api/src/framework/index' { export { default as AsioError } from '@activfinancial/one-api/src/framework/asioError'; export * from '@activfinancial/one-api/src/framework/asioErrorCode'; export { default as ISystemInfo } from '@activfinancial/one-api/src/framework/systemInfo'; export { StatusCode } from '@activfinancial/one-api/src/framework/statusCode'; export { StatusCodeError } from '@activfinancial/one-api/src/framework/statusCodeError'; export * from '@activfinancial/one-api/src/framework/fieldTypes/index'; export * from '@activfinancial/one-api/src/framework/ioService'; } declare module '@activfinancial/one-api/src/oneapi/constants/conflationInterval' { /** * ACTIV Conflation intervals. */ export enum ConflationInterval { /** Use the minimum supported conflation interval. */ min = 4294967295 } } declare module '@activfinancial/one-api/src/oneapi/constants/conflationType' { /** * ACTIV Conflation types. */ export enum ConflationType { none = 0, quote = 1, total = 2 } } declare module '@activfinancial/one-api/src/oneapi/constants/dataSourceId' { /** * ACTIV data source ids. */ export enum DataSourceId { /** Undefined */ undefined = 65535, /** The platform data source is used for service status messages, global statistics and core platform services. */ platform = 0, /** The activ data source is used for all real-time ACTIV market data. */ activ = 1, /** The local data source, generated internally in APId providing platform state information and usage statistics. */ local = 2, /** The activ delayed data source is used for all delayed ACTIV market data. */ activDelayed = 3, /** The activ low latency data source is used for low latency real-time ACTIV market data. */ activLowLatency = 4, /** The activ feed handler data source is used for real-time ACTIV market data sourced from the ACTIV feed handlers. */ activFeedHandler = 5, /** Reserved data source id */ activReserved6 = 6, /** Reserved data source id */ activReserved7 = 7, /** Reserved data source id */ activReserved8 = 8, /** Reserved data source id */ activReserved9 = 9, /** Reserved data source id */ activReserved10 = 10, /** The trep data source is used for all real-time TREP content. */ trep = 100 } } declare module '@activfinancial/one-api/src/oneapi/constants/dictionaryId' { /** * ACTIV dictionary ids. */ export enum DictionaryId { /** Undefined */ undefined = 65535, /** The platform dictionary is used for field ids defined in {@link oneapi/constants/platformFieldId.PlatformFieldId | PlatformFieldId} */ platform = 0, /** The activ dictionary is used for field ids defined in {@link oneapi/marketdata/fieldId.FieldId | FieldId} */ activ = 1, /** The trep dictionary is used for native TREP FieldIds. */ trep = 100 } } declare module '@activfinancial/one-api/src/oneapi/constants/platformFieldId' { /** * ACTIV platform field ids. */ export enum PlatformFieldId { FID_HOST = 0, FID_USER_ID = 1, FID_PASSWORD = 2, FID_SHOULD_POLL = 3, FID_ENABLE_TOPIC_LOCATION_CACHE = 4, FID_SNAPSHOT_KERNEL_BYPASS_MODE = 5, FID_SNAPSHOT_TIMEOUT_PERIOD = 6, FID_SUBSCRIPTION_SHM_SIZE = 7, FID_MISC_THREAD_AFFINITY = 8, FID_NETWORK_THREAD_AFFINITY = 9, FID_ENABLE_CTRL_HANDLER = 10, FID_FIELD_INCLUDE_FILTER = 11, FID_EVENT_TYPE_INCLUDE_FILTER = 12, FID_DOMAIN_NAME = 13, FID_DATA_SOURCE = 14, FID_SIDE_NUMBER = 15, FID_SERVICE_NAME = 16, FID_SERVICE_UUID = 17, FID_SERVICE_STATUS = 18, FID_MAINTENANCE_PERIOD = 19, FID_MULTICAST_ADDRESS = 20, FID_MULTICAST_PORT = 21, FID_START_DATE_TIME = 22, FID_BYTES = 23, FID_MESSAGES = 24, FID_DROPS = 25, FID_INTERVAL_PEAK_BYTES = 26, FID_PEAK_BYTES = 27, FID_PEAK_BYTES_DATE_TIME = 28, FID_SUBSCRIPTION_SHM_PROCESS_LIMIT = 29, FID_SUBSCRIPTION_FAIL_ON_DUPLICATE = 30, FID_SNAPSHOT_POOL_MAX_SIZE = 31, FID_TOPIC_TYPE = 32, FID_SERVICE_GROUP_ID = 33, FID_SERVICE_GROUP_NAME = 34, FID_SERVICE_GROUP_COUNT = 35, FID_FAILOVER_MODE = 36, FID_IS_ON_DEMAND_ENABLED = 37, FID_DATA_SOURCE_LIST = 38, FID_PERMISSION_ID_LIST = 40, FID_SESSION_THREAD_AFFINITY = 41, FID_SYMBOLOGY = 42, FID_VERSION = 43, FID_SNAPSHOT_RX_KERNEL_BYPASS_MODE = 44, FID_SNAPSHOT_TX_KERNEL_BYPASS_MODE = 45, FID_SERVICE_ID = 121, FID_SYMBOLOGY_LIST = 129, FID_LOGIN_PROTOCOL_VERSION = 200, FID_PROTOCOL_VERSION = 201, FID_GATEWAY_UUID = 204, FID_SESSION_UUID = 205, FID_HOSTNAME = 208, FID_GATEWAY_ID = 210, FID_API_VERSION = 211, FID_BUILD_CONFIGURATION = 212, FID_BUILD_DATE_TIME = 213, FID_DOMAIN_CONTROLLER_HOSTNAME = 225, FID_STATUS_CODE = 228, FID_SUBSCRIPTION_PACKETS = 231, FID_SUBSCRIPTION_BYTES = 232, FID_SUBSCRIPTION_MESSAGES = 233, FID_SUBSCRIPTION_PACKETS_MISSED = 234, FID_SUBSCRIPTION_DISCONTINUITIES = 235, FID_SUBSCRIPTION_UPDATES = 236, FID_SUBSCRIPTION_REFRESHES = 237, FID_SUBSCRIPTION_MESSAGES_PROCESSED = 238, FID_SUBSCRIPTION_MESSAGES_COPIED = 239, FID_SUBSCRIPTION_MESSAGES_DROPPED = 240, FID_SUBSCRIPTION_COUNT = 241, FID_SUBSCRIPTION_ADDED = 242, FID_SUBSCRIPTION_REMOVED = 243, FID_SUBSCRIPTION_TOPICS = 244, FID_SUBSCRIPTION_TOPICS_ADDED = 245, FID_SUBSCRIPTION_TOPICS_REMOVED = 246, FID_SUBSCRIPTION_REQUESTS_IN_FLIGHT = 247, FID_SUBSCRIPTION_REFRESH_REQUESTS_IN_FLIGHT = 248, FID_SUBSCRIPTION_PENDING = 249, FID_SUBSCRIPTION_REQUESTS_TX = 250, FID_SUBSCRIPTION_RESPONSES = 251, FID_SUBSCRIPTION_REFRESH_REQUESTS_TX = 252, FID_SUBSCRIPTION_INPUTS = 253, FID_SUBSCRIPTION_INPUTS_ADDED = 254, FID_SUBSCRIPTION_INPUTS_REMOVED = 255, FID_SUBSCRIPTION_TOPICS_OK = 256, FID_SUBSCRIPTION_TOPICS_STALE = 257, FID_SUBSCRIPTION_TOPICS_STALE_GAP = 258, FID_SUBSCRIPTION_TOPICS_EXPECT_REFRESH = 259, FID_SUBSCRIPTION_TOPICS_REFRESH_QUEUE = 260, FID_SUBSCRIPTION_TOPICS_SYNC = 261, FID_SUBSCRIPTION_TOPICS_NEED_REFRESH = 262, FID_SUBSCRIPTION_TOPICS_STANDBY = 263, FID_GATEWAY_REMOTE_IP = 264, FID_GATEWAY_LOCAL_IP = 265, FID_SUBSCRIPTION_DROPS = 266, FID_TCP_THROTTLE_EVENTS = 267, FID_TCP_MAX_INFLIGHT_TOKENS = 268, FID_SUBSCRIPTION_STATE_PENDING = 270, FID_SUBSCRIPTION_STATE_SYNCING = 271, FID_SUBSCRIPTION_STATE_OK = 272, FID_SUBSCRIPTION_STATE_GAP = 273, FID_PERMISSION_ID_USAGE_LIST = 274, FID_PERMISSION_ID = 275, FID_UPDATE_COUNT = 276, FID_REFRESH_COUNT = 277, FID_SNAPSHOT_COUNT = 278, FID_FLVS_CONSTRUCTED = 280, FID_SNAPSHOT_REQUESTS = 282, FID_SNAPSHOT_RESPONSES = 283, FID_SNAPSHOT_MULTI_PART_RESPONSES = 284, FID_SNAPSHOT_FAILURES = 285, FID_SNAPSHOT_IN_USE_PEAK = 286, FID_SNAPSHOT_IN_FLIGHT_PEAK = 287, FID_SNAPSHOT_REQUEST_QUEUE_PEAK = 289, FID_SNAPSHOT_COMPLETE_QUEUE_PEAK = 290, FID_SNAPSHOT_BYTES = 291, FID_SNAPSHOT_PARAMETER_REQUESTS = 292, FID_SNAPSHOT_PARAMETER_COUNT = 293, FID_SUBSCRIPTION_REQUESTS = 294, FID_SUBSCRIPTION_REQUEST_QUEUE_PEAK = 296, FID_SUBSCRIPTION_DELETE_QUEUE_PEAK = 297, FID_SUBSCRIPTION_PARAMETER_REQUESTS = 300, FID_SUBSCRIPTION_PARAMETER_COUNT = 301, FID_SUBSCRIPTION_PARAMETERS_DELETE_QUEUE_PEAK = 302, FID_SOCKET_PING = 303, FID_API_PING = 304, FID_SESSION_INI_FILE_NAME = 328, FID_ENABLE_SERVICE_DISCOVERY = 329, FID_UPDATE_TRANSPORT_TYPE = 331, FID_SESSION_PARAMETERS = 332, FID_REASON = 333, FID_API_DATE_TIME = 334, FID_EVENT_NAME = 336, FID_EVENT_DESCRIPTION = 337, FID_CLIENT_COUNT = 338, FID_SHM_INTERVAL_PEAK_BYTES = 339, FID_SHM_PEAK_BYTES = 340, FID_SHM_PEAK_BYTES_DATE_TIME = 341, FID_PACKETS = 342, FID_INTERVAL_PEAK_QUEUED_PACKETS = 343, FID_ERROR_COUNT = 344, FID_SUBSCRIPTION_ERROR_COUNT = 345, FID_SUBSCRIPTION_FAILURE_COUNT = 346, FID_SUBSCRIPTION_RETRY_COUNT = 347, FID_PROXY_SERVICE_CREATE_ROUTE_REQUESTS = 349, FID_PROXY_SERVICE_FAILED_REQUESTS = 350, FID_PROXY_SERVICE_MESSAGES = 351, FID_PROXY_SERVICE_BYTES = 352, FID_PROXY_SERVICE_IGNORED_MESSAGES = 353, FID_PROXY_SERVICE_FAILED_MESSAGES = 354, FID_IS_ENABLED = 357, FID_INTERFACE_ADDRESS = 358, FID_LAST_RX_DATE_TIME = 359, FID_KERNEL_BYPASS_MODE = 360, FID_SERVICE_PRIORITY = 361, FID_TOPIC_QUERY_COUNT = 366, FID_TOPIC_QUERY_ADDED = 367, FID_TOPIC_QUERY_REMOVED = 368, FID_TOPIC_QUERY_REQUEST_QUEUE_PEAK = 369, FID_TOPIC_QUERY_REQUEST_QUEUE_SIZE = 370, FID_TOPIC_QUERY_W4CONNECT_QUEUE_SIZE = 371, FID_TOPIC_QUERY_DELETE_QUEUE_SIZE = 372, FID_TOPIC_QUERY_BYTES = 373, FID_TOPIC_QUERY_MESSAGES = 374, FID_TX_BYTES = 375, FID_TX_PACKETS = 376, FID_RX_BYTES = 377, FID_RX_PACKETS = 378, FID_RX_DROPPED = 379, FID_RX_ERRORS = 380, FID_RX_FIFO_ERRORS = 381, FID_RX_FRAME_ERRORS = 382, FID_DRIVER = 383, FID_DRIVER_VERSION = 384, FID_FIRMWARE_VERSION = 385, FID_MTU = 386, FID_INTERFACE_NAME = 387, FID_TOPIC_QUERY_SYNC = 388, FID_DISCONTINUITIES = 389, FID_THREAD_NUMBER = 390, FID_PEAK_QUEUED_PACKETS = 391, FID_PEAK_QUEUED_PACKETS_DATE_TIME = 392, FID_LAST_UPDATE_DATE_TIME = 393, FID_DATA_SOURCE_NAME = 394, FID_DATA_SOURCE_INFO_LIST = 396, FID_SYMBOLOGY_NAME = 397, FID_SYMBOLOGY_STATE = 398, FID_SYMBOLOGY_INFO_LIST = 399, FID_FIXED_SIDE_NUMBER = 400, FID_STATS_INTERVAL = 401, FID_LOGIN_DATE_TIME = 402, FID_SYMBOL = 403, FID_SOURCE_SYMBOLOGY = 404, FID_TARGET_SYMBOLOGY = 405, FID_SIDE_COUNT = 406, FID_ACTIVE_SIDE = 407, FID_IS_REDUNDANT = 408, FID_LAST_FAILOVER_DATE_TIME = 409, FID_SUBSCRIPTION_REFRESHES_SENT = 410, FID_SUBSCRIPTION_UPDATES_SENT = 411, FID_SUBSCRIPTION_TOPIC_STATUS_UPDATES_SENT = 412, FID_SUBSCRIPTION_UPDATES_FILTERED = 413, FID_CONFLATION_TYPE = 414, FID_CONFLATION_INTERVAL = 415, FID_SUBSCRIPTION_UPDATES_CONFLATED = 416, FID_FIELD_ID = 419, FID_FIELD_NAME = 420, FID_FIELD_TYPE = 421, FID_FIELD_LIST = 422, FID_IS_COMPLETE = 423, FID_DICTIONARY = 424, FID_DICTIONARY_LIST = 425, FID_SERVICE_ATTRIBUTES = 426, FID_DICTIONARY_NAME = 427, FID_BULK_SUBSCRIPTION_COUNT = 428, FID_STATE_STRING = 429, FID_DOMAIN_CONFIG_NAME = 500, FID_DOMAIN_CONFIG_INTERFACE_A = 501, FID_DOMAIN_CONFIG_INTERFACE_B = 502, FID_DOMAIN_CONFIG_SERVICE_STATUS_1_A = 503, FID_DOMAIN_CONFIG_SERVICE_STATUS_1_B = 504, FID_DOMAIN_CONFIG_SERVICE_STATUS_2_A = 505, FID_DOMAIN_CONFIG_SERVICE_STATUS_2_B = 506, FID_DOMAIN_CONFIG_TOPIC_MAP_A = 507, FID_DOMAIN_CONFIG_TOPIC_MAP_B = 508, FID_DOMAIN_CONFIG_IS_REPLAY = 509, FID_DOMAIN_CONFIG_NETWORK_INDEX = 510, FID_DOMAIN_CONFIG_DOMAIN_STATUS_A = 511, FID_DOMAIN_CONFIG_DOMAIN_STATUS_B = 512, FID_DOMAIN_CONFIG_TOPIC_LOCATION_MAP_A = 513, FID_DOMAIN_CONFIG_TOPIC_LOCATION_MAP_B = 514, FID_ENABLE_LOCAL_DIRECTORY_SERVICE = 515, FID_SUBSCRIPTION_TOPICS_EXPECT_PRIORITY_REFRESH = 516, FID_SUBSCRIPTION_TOPICS_PRIORITY_REFRESH_QUEUE = 517, FID_QUERY_SUBSCRIPTION_COUNT = 518, FID_SHOULD_MEMLOCK = 519, FID_SIDE_1_STATE = 520, FID_SIDE_2_STATE = 521, FID_SIDE_1_TOPIC_COUNT = 522, FID_SIDE_2_TOPIC_COUNT = 523, FID_LATENCY_MAX = 524, FID_LATENCY_MIN = 525, FID_LATENCY_AVERAGE = 526, FID_LATENCY_NEGATIVE = 527, FID_LATENCY_PERCENTILE_50 = 528, FID_LATENCY_PERCENTILE_95 = 529, FID_LATENCY_PERCENTILE_99 = 530, FID_LATENCY_PERCENTILE_999 = 531, FID_LATENCY_PERCENTILE_9999 = 532, FID_LATENCY_PERCENTILE_99999 = 533, FID_LATENCY_PERCENTILE_OVERSIZED = 534, FID_LATENCY_PERCENTILE_BUCKET_PEAK = 535, FID_CONFLATABLE_DATA_SOURCE_LIST = 536, FID_CONFLATION_INTERVAL_LIST = 537, FID_EVENT_TYPE_EXCLUDE_FILTER = 538, FID_CONFLATED_COUNT = 539 } } declare module '@activfinancial/one-api/src/oneapi/constants/queryState' { /** * ACTIV Query states. * * The query state identifies the current state of a query. */ export enum QueryState { /** The query is pending, results for currently available topics will be delivered */ pending = 0, /** Initial search has been completed, the query will still be watching for changes */ complete = 1, /** Query error, the query will be automatically retried */ error = 2, /** The query has failed and will not recover */ failure = 3 } } declare module '@activfinancial/one-api/src/oneapi/constants/subscriptionState' { /** * ACTIV Subscription states. * * The subscription state identifies the current state of a subscription. */ export enum SubscriptionState { /** * The Subscription is pending. * * Never exposed in the JS Api. * @hidden */ pending = 0, /** All available topics are subscribed and refreshes have been received. Only seen for query subscriptions. */ complete = 1, /** Subscription error, the Subscription will be automatically retried */ error = 2, /** The Subscription has failed and will not recover */ failure = 3 } } declare module '@activfinancial/one-api/src/oneapi/constants/symbologyId' { /** * ACTIV symbology ids. */ export enum SymbologyId { /** Undefined. */ undefined = 65535, /** The native Symbology can be used instead of a data source specific Symbology when no translation is required. */ native = 65534, /** * The platform Symbology is the native symbology used for the {@link oneapi/constants/dataSourceId.DataSourceId#platform | platform} and * {@link oneapi/constants/dataSourceId.DataSourceId#local | local} data sources */ platform = 0, /** * The activ Symbology is the native symbology used for the {@link oneapi/constants/dataSourceId.DataSourceId#activ | activ} and * {@link oneapi/constants/dataSourceId.DataSourceId#activDelayed | activDelayed} data sources. */ activ = 1, /** The trep Symbology is the native symbology used for the {@link oneapi/constants/dataSourceId.DataSourceId#trep | trep} data source. */ trep = 100 } } declare module '@activfinancial/one-api/src/oneapi/constants/topicSubscriptionState' { /** * ACTIV Topic subscription states. * * The topic subscription state identifies the current state of a topic with topic type * {@link oneapi/constants/topicType.TopicType#map | TopicType.map} */ export enum TopicSubscriptionState { /** The initial state for a subscription during setup, this state will not normally be seen by clients. */ pending = 0, /** A synchronization state is used for topics that are of type map */ synchronizing = 1, /** The topic is subscribed and valid, no gaps have been detected since the last refresh message */ ok = 2, /** A gap or failover has been detected for a topic, whilst any subsequent * update message may be used there may have been missing updates * and any locally stored last value cache should be considered invalid. * This state will remain unchanged until a refresh message is received. */ gap = 3 } } declare module '@activfinancial/one-api/src/oneapi/constants/topicType' { /** * ACTIV Topic types. The topic type identifies the semantics of how messages should be processed for the topic. */ export enum TopicType { /** Unknown */ unknown = 255, /** A flat topic. * * Flat topics are simply presented as a list of field types. * A single refresh message will contain a complete set of fields for a topic. An update * message will contain a set of fields that update the values seen in previous update * or refresh messages. */ flat = 0, /** * A map topic. * * Map topics represent a single topic that contains multiple objects identified by the * map key within a topic refresh or update. The map key is defined with the * mapKey and mapKeyLength fields of the {@link oneapi/subscribe.SubscriptionMessage | SubscriptionMessage}. * * An example of this usage is a market data order book. The topic encompasses the whole * order book such as MSFT.Q-MBO (Microsoft, Nasdaq, Market By Order). The map * key is then used to uniquely identify each order with the book. For some feeds the * map key may be a simple integer value, for others a binary blob. In either case it * is a unique identifier, within the realm of the topic, suitable for use when storing * orders. * * When subscribing to a map topic, the refresh or initial image occurs over multiple * messages (order books may contain 10's of thousands of orders). During this extended * refresh the subscription will enter the * {@link oneapi/constants/topicSubscriptionState.TopicSubscriptionState#synchronizing | TopicSubscriptionState.synchronizing} state. * Once the subscription state enters {@link oneapi/constants/topicSubscriptionState.TopicSubscriptionState#ok | TopicSubscriptionState.ok}, * the client will have a consistent and coherent view of the topic. * * Every {@link oneapi/subscribe.SubscriptionMessage | SubscriptionMessage} with isRefresh = false contains a map key, an update type and a field list. The * updateType field defines the action that should be taken for the * update. * * It is imperative that updates are processed whilst in * {@link oneapi/constants/topicSubscriptionState.TopicSubscriptionState#synchronizing | TopicSubscriptionState.synchronizing} and * {@link oneapi/constants/topicSubscriptionState.TopicSubscriptionState#ok | TopicSubscriptionState.ok} states to ensure a valid * and coherent view of the map topic is maintained. Whilst synchronizing, update and * remove directives may be received for unknown map entries. These should be ignored. */ map = 1 } } declare module '@activfinancial/one-api/src/oneapi/constants/updateType' { /** * ACTIV Update types. The update type defines the action that should be taken for the update. */ export enum UpdateType { /** None */ none = 0, /** * Add a new element to the map. The field list in the * {@link oneapi/subscribe.SubscriptionMessage | SubscriptionMessage} is the * initial set of fields in the new element. */ mapAdd = 1, /** * Update an existing element in the map. The field list in the * {@link oneapi/subscribe.SubscriptionMessage | SubscriptionMessage} * contains updates to the field list in the element. */ mapUpdate = 2, /** * Delete an element from the map. A field list may still be present when deleting an * element from a map, providing information about the event that caused the delete. */ mapRemove = 3, /** * Update fields common to the entire map. The MapKey will not be defined. */ mapCommon = 4 } } declare module '@activfinancial/one-api/src/oneapi/constants/index' { export * from '@activfinancial/one-api/src/oneapi/constants/conflationInterval'; export * from '@activfinancial/one-api/src/oneapi/constants/conflationType'; export * from '@activfinancial/one-api/src/oneapi/constants/dataSourceId'; export * from '@activfinancial/one-api/src/oneapi/constants/dictionaryId'; export * from '@activfinancial/one-api/src/oneapi/constants/platformFieldId'; export * from '@activfinancial/one-api/src/oneapi/constants/queryState'; export * from '@activfinancial/one-api/src/oneapi/constants/subscriptionState'; export * from '@activfinancial/one-api/src/oneapi/constants/symbologyId'; export * from '@activfinancial/one-api/src/oneapi/constants/topicSubscriptionState'; export * from '@activfinancial/one-api/src/oneapi/constants/topicType'; export * from '@activfinancial/one-api/src/oneapi/constants/updateType'; } declare module '@activfinancial/one-api/src/oneapi/marketdata/eventType' { /** * ACTIV event types. */ export enum EventType { contributionBase = 232, none = 0, trade = 1, tick = 2, bboQuote = 3, tradeCorrection = 4, tradeCancel = 5, tradeNonRegular = 6, bboDepth = 7, refresh = 8, order = 9, quote = 10, ipo = 11, ipoCancel = 12, delist = 13, delistCancel = 14, dividend = 15, dividendCancel = 16, dividendCorrection = 17, split = 18, splitCancel = 19, splitCorrection = 20, symbolChange = 21, symbolChangeCancel = 22, optionSymbolChange = 23, optionSplit = 24, closingQuote = 25, closingBboQuote = 26, close = 27, reset = 28, compositeBboQuote = 29, news = 30, timeSeriesCorrection = 31, timeSeriesDelete = 32, priceAdjustment = 33, priceAdjustmentCancel = 34, open = 35, newsDelete = 36, purge = 37, alert = 38, refreshCycle = 39, forceProcessRefresh = 40, optionRefresh = 41, statusChange = 42, auction = 43, priceIndication = 44, cacheFlush = 45, multipleDelete = 46, lrpPrice = 47, impliedBboQuote = 48, timeSeriesAdjustment = 49, priorDayTrade = 50, priorDayTradeCorrection = 51, priorDayTradeCancel = 52, latency = 53, conflated = 54, monitorAlert = 55, priceBandChange = 56, aliasPostRetargetTargetUpdate = 57, settlement = 58, orderAdd = 59, orderModify = 60, orderExecute = 61, orderCancel = 62, orderReplace = 63, requestForQuote = 64, requestForSize = 65, requestForCross = 66 } } declare module '@activfinancial/one-api/src/oneapi/marketdata/exchange' { /** * ACTIV exchanges. */ export enum Exchange { abuDhabi = "adx", aequitasNeoL = "aql", aequitasNeoN = "aqn", aktietorget = "xsat", algerian = "alg", alpha = "ats", alphaIntraSpread = "ais", amman = "amm", aquis = "aqx", asx = "asx", asxTrade24 = "SF", athens = "AT", bahamas = "bisx", bahrain = "bah", banjaLuka = "ban", barbados = "bds", barclays = "bar", batsBxe = "bte", batsByx = "BY", batsByxDirect = "eby", batsBzx = "BT", batsBzxDirect = "EB", batsCxe = "chix", batsEdga = "DA", batsEdgaDirect = "eda", batsEdgx = "DX", batsEdgxDirect = "edx", batsOne = "usb", beirut = "bei", belgrade = "bel", berlin = "BE", bermuda = "bsx", berne = "BN", bloomberg = "bbg", bmf = "bmf", boa = "baml", boerseFrankfurtZertifikate = "SC", bolsaBoliviana = "bbv", bombay = "BB", borsaItaliana = "bit", bostonOptions = "BO", botswana = "bot", bovespa = "BS", brazilVirtualBook = "BR-VB", brokerTecUs = "btus", brvm = "brvm", buc