UNPKG

@openfin/bloomberg

Version:

Connect apps running in OpenFin with the Bloomberg Terminal.

13 lines (12 loc) 1.41 kB
import type OpenFin from '@openfin/core'; import { DispatchChannelClientMessage } from '../adapter/adapter.types'; import { BloombergPanel } from '../bloomberg/bloomberg.types'; import { TerminalConnectApiTypes as TC } from './terminal-connect.types'; export declare const connect: (channelClient: OpenFin.ChannelClient) => (apiKey: string) => Promise<void>; export declare const disconnect: (dispatchAdapterMessage: DispatchChannelClientMessage) => () => Promise<void>; export declare const executeApiRequest: (dispatchAdapterMessage: DispatchChannelClientMessage) => <T = unknown>(query: string, service?: string) => Promise<T>; export declare const getGroups: (dispatchAdapterMessage: DispatchChannelClientMessage) => () => Promise<TC.Group[]>; export declare const runFunction: (dispatchAdapterMessage: DispatchChannelClientMessage) => (mnemonic: string, target: BloombergPanel | string, security1?: string, security2?: string, tail?: string) => Promise<void>; export declare const setGroupValue: (dispatchAdapterMessage: DispatchChannelClientMessage) => (groupId: number, newValue: string) => Promise<void>; export declare const subscribeGroupEvents: (dispatchAdapterMessage: DispatchChannelClientMessage) => (groupIdFilter?: number[]) => Promise<string>; export declare const unsubscribeGroupEvents: (dispatchAdapterMessage: DispatchChannelClientMessage) => (subscriptionId: string) => Promise<void>;