@types/ineum
TypeScript icon, indicating that this package has built-in type declarations

216.0.4 • Public • Published

Installation

npm install --save @types/ineum

Summary

This package contains type definitions for ineum (https://docs.instana.io/products/website_monitoring/api/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ineum.

// Website Monitoring API from Instana (status: 2022-01-11)

declare function ineum(command: "key" | "page" | "reportingUrl" | "traceId", value: string): void;

declare function ineum(command: "user", userId?: string, userName?: string, userEmail?: string): void;

declare function ineum(command: "meta", key: string, value: string | number | boolean): void;

declare function ineum(command: "ignorePings" | "wrapEventHandlers" | "wrapTimers", value: boolean): void;

declare function ineum(
    command: "trackSessions",
    sessionInactivityTimeout?: number,
    sessionTerminationTimeout?: number,
): void;

declare function ineum(command: "terminateSession"): void;

declare function ineum(command: "getPageLoadId"): string | undefined;

declare function ineum(
    command:
        | "beaconBatchingTime"
        | "maxMaitForPageLoadMetricsMillis"
        | "maxWaitForResourceTimingsMillis"
        | "xhrTransmissionTimeout",
    durationMillis: number,
): void;

declare function ineum(
    command: "reportError",
    error: Error | string,
    opts?: {
        componentStack?: string | undefined;
        meta?: {
            [key: string]: string | number | boolean;
        } | undefined;
    },
): void;
declare function ineum(
    command: "reportEvent",
    eventName: string,
    opts?: {
        duration?: number | undefined;
        timestamp?: number | undefined;
        backendTraceId?: string | undefined;
        error?: Error | undefined;
        componentStack?: string | undefined;
        meta?: {
            [key: string]: string | number | boolean;
        } | undefined;
        customMetric?: number | undefined;
    },
): void;

declare function ineum(
    command:
        | "allowedOrigins"
        | "captureHeaders"
        | "ignoreErrorMessages"
        | "ignoreUrls"
        | "ignoreUserTimings"
        | "secrets"
        | "urlsToCheckForGraphQlInsights",
    values: RegExp[],
): void;

/**
 * Use command: 'key' instead.
 *
 * @deprecated
 */
// tslint:disable-next-line unified-signatures
declare function ineum(command: "apiKey", value: string): void;

/**
 * Use command: 'allowedOrigins' instead (from release 185).
 *
 * @deprecated
 */
// tslint:disable-next-line unified-signatures
declare function ineum(command: "whitelistedOrigins", values: RegExp[]): void;

Additional Details

  • Last updated: Thu, 28 Nov 2024 19:02:24 GMT
  • Dependencies: none

Credits

These definitions were written by Enzo Volkmann, Benjamin Blackmore, and David Taylor.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/ineum

Weekly Downloads

8,779

Version

216.0.4

License

MIT

Unpacked Size

7.62 kB

Total Files

5

Last publish

Collaborators

  • types