@inploi/plugin-chatbot 3.2.1 → 3.2.3
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/cdn/index.js +7 -7
- package/dist/chatbot.d.ts +25 -0
- package/dist/chatbot.dom.d.ts +5 -0
- package/dist/chatbot.js +5928 -0
- package/dist/index.js +5 -0
- package/dist/job-application-content.js +2223 -0
- package/dist/mockServiceWorker.js +287 -0
- package/package.json +33 -28
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChatbotDomManager } from './chatbot.dom';
|
|
2
|
+
export declare const chatbotPlugin: ({ _internal_domManager: dom, theme, }: {
|
|
3
|
+
geolocationApiKey?: string | undefined;
|
|
4
|
+
theme: {
|
|
5
|
+
/** Rotation for the hue. Between 0 and 360. */
|
|
6
|
+
hue: number;
|
|
7
|
+
/** Chroma multiplier. Values between 0 and 1.5 work best. */
|
|
8
|
+
chroma?: number;
|
|
9
|
+
};
|
|
10
|
+
_internal_domManager?: {
|
|
11
|
+
getOrCreateChatbotElement: () => HTMLDivElement;
|
|
12
|
+
addStyle: (css: string, id: string) => void;
|
|
13
|
+
} | undefined;
|
|
14
|
+
}) => ({ apiClient, logger, analytics }: {
|
|
15
|
+
apiClient: import("@inploi/sdk").ApiClient;
|
|
16
|
+
logger: import("@inploi/sdk").Logger;
|
|
17
|
+
analytics: import("@inploi/sdk").AnalyticsService;
|
|
18
|
+
}) => {
|
|
19
|
+
/** Optionally eagerly renders the interface ahead of application requests. */
|
|
20
|
+
prepare: () => Promise<void>;
|
|
21
|
+
startApplication: ({ jobId }: {
|
|
22
|
+
jobId: string;
|
|
23
|
+
}) => Promise<void>;
|
|
24
|
+
closeApplication: () => Promise<void>;
|
|
25
|
+
};
|