gleap 16.1.2 → 16.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/browser/index.js +1 -1
- package/build/browser/index.js.map +1 -1
- package/build/cjs/index.js +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/esm/index.mjs +1 -1
- package/build/esm/index.mjs.map +1 -1
- package/index.d.ts +4 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -49,6 +49,10 @@ export namespace Gleap {
|
|
|
49
49
|
function hideAiChatbar(): void;
|
|
50
50
|
function askAI(question: string, showBackButton?: boolean): void;
|
|
51
51
|
function setAiChatbarQuickActions(quickActions: string[]): void;
|
|
52
|
+
function startAgent(
|
|
53
|
+
agentId: string,
|
|
54
|
+
options?: { context?: any; initialQuestion?: string; initialMessage?: string }
|
|
55
|
+
): void;
|
|
52
56
|
function isOpened(): boolean;
|
|
53
57
|
function setApiUrl(apiUrl: string): void;
|
|
54
58
|
function setWSApiUrl(wsApiUrl: string): void;
|
|
@@ -57,14 +61,6 @@ export namespace Gleap {
|
|
|
57
61
|
function closeModal(): void;
|
|
58
62
|
function setBannerUrl(bannerUrl: string): void;
|
|
59
63
|
function setModalUrl(modalUrl: string): void;
|
|
60
|
-
function startAgent(
|
|
61
|
-
agentId: string,
|
|
62
|
-
options?: { context?: any; primaryColor?: string; initialMessage?: string }
|
|
63
|
-
): void;
|
|
64
|
-
function setAIAgent(
|
|
65
|
-
agentId: string,
|
|
66
|
-
options?: { context?: any; primaryColor?: string }
|
|
67
|
-
): void;
|
|
68
64
|
function setMaxNetworkRequests(maxRequests: number): void;
|
|
69
65
|
function startNetworkLogger(): void;
|
|
70
66
|
function setNetworkLogsBlacklist(networkLogBlacklist: string[]): void;
|