@contenify/chatbot 3.0.0 → 4.0.0
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/dist/index.d.mts +1 -42
- package/dist/index.d.ts +1 -42
- package/dist/index.js +1683 -1225
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1667 -1209
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +114 -21
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,46 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
-
interface ChatbotPreferences {
|
|
4
|
-
name: string;
|
|
5
|
-
logoUrl?: string;
|
|
6
|
-
primaryColor: string;
|
|
7
|
-
secondaryColor: string;
|
|
8
|
-
theme: 'light' | 'dark' | 'system';
|
|
9
|
-
}
|
|
10
|
-
interface LocalizationPreferences {
|
|
11
|
-
country: string;
|
|
12
|
-
state: string;
|
|
13
|
-
cities: string[];
|
|
14
|
-
language: string;
|
|
15
|
-
locale: string;
|
|
16
|
-
timezone: string;
|
|
17
|
-
}
|
|
18
|
-
interface AppearancePreferences {
|
|
19
|
-
showSidebar: boolean;
|
|
20
|
-
showHeader: boolean;
|
|
21
|
-
activeThemePreset: string | null;
|
|
22
|
-
showNewsPanel: boolean;
|
|
23
|
-
}
|
|
24
|
-
interface ContentPreferences {
|
|
25
|
-
tone: 'formal' | 'casual' | 'engaging' | 'professional';
|
|
26
|
-
style: 'news' | 'blog' | 'editorial' | 'summary';
|
|
27
|
-
wordCount: 'short' | 'medium' | 'long';
|
|
28
|
-
includeQuotes: boolean;
|
|
29
|
-
includeFAQ: boolean;
|
|
30
|
-
targetAudience: string;
|
|
31
|
-
}
|
|
32
|
-
interface Preferences {
|
|
33
|
-
chatbot: ChatbotPreferences;
|
|
34
|
-
localization: LocalizationPreferences;
|
|
35
|
-
appearance: AppearancePreferences;
|
|
36
|
-
content: ContentPreferences;
|
|
37
|
-
_id?: string;
|
|
38
|
-
user?: string;
|
|
39
|
-
isActive?: boolean;
|
|
40
|
-
createdAt?: string;
|
|
41
|
-
updatedAt?: string;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
3
|
interface ContentOption {
|
|
45
4
|
id: string;
|
|
46
5
|
name: string;
|
|
@@ -85,4 +44,4 @@ interface ContenifyChatBotProps {
|
|
|
85
44
|
}
|
|
86
45
|
declare function ContenifyChatBot({ apiUrl, apiKey, domain, onPost }: ContenifyChatBotProps): react_jsx_runtime.JSX.Element;
|
|
87
46
|
|
|
88
|
-
export { type AnalyzeInputResponse,
|
|
47
|
+
export { type AnalyzeInputResponse, ContenifyChatBot, type ContenifyChatBotProps, type ContentOption, type CreateContentPayload, type RecreateSettings, ContenifyChatBot as default, setConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,46 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
-
interface ChatbotPreferences {
|
|
4
|
-
name: string;
|
|
5
|
-
logoUrl?: string;
|
|
6
|
-
primaryColor: string;
|
|
7
|
-
secondaryColor: string;
|
|
8
|
-
theme: 'light' | 'dark' | 'system';
|
|
9
|
-
}
|
|
10
|
-
interface LocalizationPreferences {
|
|
11
|
-
country: string;
|
|
12
|
-
state: string;
|
|
13
|
-
cities: string[];
|
|
14
|
-
language: string;
|
|
15
|
-
locale: string;
|
|
16
|
-
timezone: string;
|
|
17
|
-
}
|
|
18
|
-
interface AppearancePreferences {
|
|
19
|
-
showSidebar: boolean;
|
|
20
|
-
showHeader: boolean;
|
|
21
|
-
activeThemePreset: string | null;
|
|
22
|
-
showNewsPanel: boolean;
|
|
23
|
-
}
|
|
24
|
-
interface ContentPreferences {
|
|
25
|
-
tone: 'formal' | 'casual' | 'engaging' | 'professional';
|
|
26
|
-
style: 'news' | 'blog' | 'editorial' | 'summary';
|
|
27
|
-
wordCount: 'short' | 'medium' | 'long';
|
|
28
|
-
includeQuotes: boolean;
|
|
29
|
-
includeFAQ: boolean;
|
|
30
|
-
targetAudience: string;
|
|
31
|
-
}
|
|
32
|
-
interface Preferences {
|
|
33
|
-
chatbot: ChatbotPreferences;
|
|
34
|
-
localization: LocalizationPreferences;
|
|
35
|
-
appearance: AppearancePreferences;
|
|
36
|
-
content: ContentPreferences;
|
|
37
|
-
_id?: string;
|
|
38
|
-
user?: string;
|
|
39
|
-
isActive?: boolean;
|
|
40
|
-
createdAt?: string;
|
|
41
|
-
updatedAt?: string;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
3
|
interface ContentOption {
|
|
45
4
|
id: string;
|
|
46
5
|
name: string;
|
|
@@ -85,4 +44,4 @@ interface ContenifyChatBotProps {
|
|
|
85
44
|
}
|
|
86
45
|
declare function ContenifyChatBot({ apiUrl, apiKey, domain, onPost }: ContenifyChatBotProps): react_jsx_runtime.JSX.Element;
|
|
87
46
|
|
|
88
|
-
export { type AnalyzeInputResponse,
|
|
47
|
+
export { type AnalyzeInputResponse, ContenifyChatBot, type ContenifyChatBotProps, type ContentOption, type CreateContentPayload, type RecreateSettings, ContenifyChatBot as default, setConfig };
|