1 | import TelemetryEvent from "./TelemetryEvent";
|
2 | export interface InProgressEvents {
|
3 | [key: string]: TelemetryEvent;
|
4 | }
|
5 | export interface EventCount {
|
6 | [eventName: string]: number;
|
7 | }
|
8 | export interface EventCountByCorrelationId {
|
9 | [correlationId: string]: EventCount;
|
10 | }
|
11 | export interface CompletedEvents {
|
12 | [correlationId: string]: Array<TelemetryEvent>;
|
13 | }
|
14 | export declare type TelemetryEmitter = (events: Array<object>) => void;
|
15 | export interface TelemetryPlatform {
|
16 | sdk?: string;
|
17 | sdkVersion?: string;
|
18 | applicationName: string;
|
19 | applicationVersion: string;
|
20 | networkInformation?: NetworkInformation;
|
21 | }
|
22 | export interface TelemetryConfig {
|
23 | platform: TelemetryPlatform;
|
24 | onlySendFailureTelemetry?: boolean;
|
25 | clientId: string;
|
26 | }
|
27 | export interface NetworkInformation {
|
28 | connectionSpeed: string;
|
29 | }
|