"kind": "Content", "text": "any" }, { "kind": "Content", "text": ", I = " }, { "kind": "Content", "text": "E" }, { "kind": "Content", "text": "> = " }, { "kind": "Content", "text": "{\n readonly [key in keyof E extends string ? keyof E : never]: key extends string ? key : keyof E;\n} & I" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK.Enums/EnumHelperFuncs.d.ts", "releaseTag": "Public", "name": "EnumMap", "typeParameters": [ { "typeParameterName": "E", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "typeParameterName": "I", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "typeTokenRange": { "startIndex": 5, "endIndex": 6 } }, { "kind": "TypeAlias", "canonicalReference": "@microsoft/applicationinsights-core-js!EnumValue:type", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export declare type EnumValue = " }, { "kind": "Content", "text": "{\n readonly [key in keyof E]: E[key];\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK.Enums/EnumHelperFuncs.d.ts", "releaseTag": "Public", "name": "EnumValue", "typeParameters": [ { "typeParameterName": "E", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "typeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "kind": "Variable", "canonicalReference": "@microsoft/applicationinsights-core-js!EventHelper:var", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "EventHelper: " }, { "kind": "Reference", "text": "IEventHelper", "canonicalReference": "@microsoft/applicationinsights-core-js!IEventHelper:interface" } ], "fileUrlPath": "types/JavaScriptSDK/CoreUtils.d.ts", "isReadonly": true, "releaseTag": "Public", "name": "EventHelper", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!eventOff:function(1)", "docComment": "/**\n * Removes an event handler for the specified event\n *\n * @param Object - to remove the event from\n *\n * @param eventName - The name of the event, with optional namespaces or just the namespaces, such as \"click\", \"click.mynamespace\" or \".mynamespace\"\n *\n * @param handlerRef - The callback function that needs to be removed from the given event, when using a namespace (with or without a qualifying event) this may be null to remove all previously attached event handlers otherwise this will only remove events with this specific handler.\n *\n * @param evtNamespace - [Optional] Additional namespace(s) to append to the event listeners so they can be uniquely identified and removed based on this namespace, if the eventName also includes a namespace the namespace(s) are merged into a single namespace\n *\n * @param useCapture - [Optional] Defaults to false\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function eventOff(target: " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": ", eventName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", handlerRef: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ", evtNamespace?: " }, { "kind": "Content", "text": "string | string[] | null" }, { "kind": "Content", "text": ", useCapture?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EventHelpers.d.ts", "returnTypeTokenRange": { "startIndex": 11, "endIndex": 12 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "target", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "eventName", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "handlerRef", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false }, { "parameterName": "evtNamespace", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "isOptional": true }, { "parameterName": "useCapture", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 10 }, "isOptional": true } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "eventOff" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!eventOn:function(1)", "docComment": "/**\n * Binds the specified function to an event, so that the function gets called whenever the event fires on the object\n *\n * @param obj - Object to add the event too.\n *\n * @param eventName - String that specifies any of the standard DHTML Events without \"on\" prefix, if may also include an optional (dot \".\" prefixed) namespaces \"click\" \"click.mynamespace\" in addition to specific namespaces.\n *\n * @param handlerRef - Pointer that specifies the function to call when event fires\n *\n * @param evtNamespace - [Optional] Additional namespace(s) to append to the event listeners so they can be uniquely identified and removed based on this namespace, if the eventName also includes a namespace the namespace(s) are merged into a single namespace\n *\n * @param useCapture - [Optional] Defaults to false\n *\n * @returns True if the function was bound successfully to the event, otherwise false\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function eventOn(target: " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": ", eventName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", handlerRef: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ", evtNamespace?: " }, { "kind": "Content", "text": "string | string[] | null" }, { "kind": "Content", "text": ", useCapture?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EventHelpers.d.ts", "returnTypeTokenRange": { "startIndex": 11, "endIndex": 12 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "target", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "eventName", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "handlerRef", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false }, { "parameterName": "evtNamespace", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "isOptional": true }, { "parameterName": "useCapture", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 10 }, "isOptional": true } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "eventOn" }, { "kind": "TypeAlias", "canonicalReference": "@microsoft/applicationinsights-core-js!EventsDiscardedReason:type", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export type EventsDiscardedReason = " }, { "kind": "Content", "text": "number | " }, { "kind": "Reference", "text": "eEventsDiscardedReason", "canonicalReference": "@microsoft/applicationinsights-core-js!eEventsDiscardedReason:enum" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK.Enums/EventsDiscardedReason.d.ts", "releaseTag": "Public", "name": "EventsDiscardedReason", "typeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "Variable", "canonicalReference": "@microsoft/applicationinsights-core-js!EventsDiscardedReason:var", "docComment": "/**\n * The EventsDiscardedReason enumeration contains a set of values that specify the reason for discarding an event.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "EventsDiscardedReason: " }, { "kind": "Content", "text": "import(\"../JavaScriptSDK.Enums/EnumHelperFuncs\")." }, { "kind": "Reference", "text": "EnumValue", "canonicalReference": "@microsoft/applicationinsights-core-js!EnumValue:type" }, { "kind": "Content", "text": "" } ], "fileUrlPath": "types/JavaScriptSDK.Enums/EventsDiscardedReason.d.ts", "isReadonly": true, "releaseTag": "Public", "name": "EventsDiscardedReason", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!findMetaTag:function(1)", "docComment": "/**\n * Helper function to fetch the named meta-tag from the page.\n *\n * @param name - \n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function findMetaTag(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EnvUtils.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "findMetaTag" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!findNamedServerTiming:function(1)", "docComment": "/**\n * Helper function to fetch the named server timing value from the page response (first navigation event).\n *\n * @param name - \n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function findNamedServerTiming(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EnvUtils.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "findNamedServerTiming" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!findW3cTraceParent:function(1)", "docComment": "/**\n * Helper function to fetch the passed traceparent from the page, looking for it as a meta-tag or a Server-Timing header.\n *\n * @returns \n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function findW3cTraceParent(): " }, { "kind": "Reference", "text": "ITraceParent", "canonicalReference": "@microsoft/applicationinsights-core-js!ITraceParent:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/W3cTraceParent.d.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "findW3cTraceParent" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!formatTraceParent:function(1)", "docComment": "/**\n * Format the ITraceParent value as a string using the supported and know version formats. So even if the passed traceParent is a later version the string value returned from this function will convert it to only the known version formats. This currently only supports version \"00\" and invalid \"ff\"\n *\n * @param value - The parsed traceParent value\n *\n * @returns \n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function formatTraceParent(value: " }, { "kind": "Reference", "text": "ITraceParent", "canonicalReference": "@microsoft/applicationinsights-core-js!ITraceParent:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/W3cTraceParent.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "value", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "formatTraceParent" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!generateW3CId:function(1)", "docComment": "/**\n * generate W3C trace id\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function generateW3CId(): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/CoreUtils.d.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "generateW3CId" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!getConsole:function(1)", "docComment": "/**\n * Returns the global console object\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function getConsole(): " }, { "kind": "Reference", "text": "Console", "canonicalReference": "!Console:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EnvUtils.d.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getConsole" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!getCookie:function(1)", "docComment": "/**\n * @deprecated\n *\n * - Use the core.getCookieMgr().get() helper method to access userId and sessionId cookie\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function getCookie(logger: " }, { "kind": "Reference", "text": "IDiagnosticLogger", "canonicalReference": "@microsoft/applicationinsights-core-js!IDiagnosticLogger:interface" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/CoreUtils.d.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "logger", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "name":