@deepdesk/deepdesk-sdk 15.1.1-beta.9 → 16.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.cjs.js +8 -8
- package/dist/index.d.mts +22 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.esm.js +6 -6
- package/dist/index.iife.js +39 -39
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -998,6 +998,16 @@ type SendEventV2ArgumentMap = {
|
|
|
998
998
|
isAgent: boolean;
|
|
999
999
|
answer: Server.KnowledgeResponse['answer'];
|
|
1000
1000
|
}>;
|
|
1001
|
+
'knowledge assist question answered': EventV2<{
|
|
1002
|
+
question: string;
|
|
1003
|
+
answer: string;
|
|
1004
|
+
sources: {
|
|
1005
|
+
url?: string;
|
|
1006
|
+
name: string;
|
|
1007
|
+
}[];
|
|
1008
|
+
isFollowUpQuestion: boolean;
|
|
1009
|
+
isAutoInitiated: boolean;
|
|
1010
|
+
}>;
|
|
1001
1011
|
'knowledge assist source viewed': EventV2<{
|
|
1002
1012
|
question: string;
|
|
1003
1013
|
sourceViewed: string;
|
|
@@ -1011,6 +1021,18 @@ type SendEventV2ArgumentMap = {
|
|
|
1011
1021
|
finalText: string;
|
|
1012
1022
|
assistant: string;
|
|
1013
1023
|
}>;
|
|
1024
|
+
'open search': EventV2<{
|
|
1025
|
+
via: 'ctrl+k' | 'autocomplete-overlay' | 'widget-shortcut';
|
|
1026
|
+
}>;
|
|
1027
|
+
'open knowledge assistant': EventV2<{
|
|
1028
|
+
via: 'ctrl+k' | 'widget-shortcut' | 'search-command';
|
|
1029
|
+
}>;
|
|
1030
|
+
'open my deepdesk': EventV2<{
|
|
1031
|
+
via: 'widget-shortcut';
|
|
1032
|
+
}>;
|
|
1033
|
+
'trigger on demand assistant': EventV2<{
|
|
1034
|
+
assistantCode: string;
|
|
1035
|
+
}>;
|
|
1014
1036
|
};
|
|
1015
1037
|
/**
|
|
1016
1038
|
* Request retry options
|
package/dist/index.d.ts
CHANGED
|
@@ -998,6 +998,16 @@ type SendEventV2ArgumentMap = {
|
|
|
998
998
|
isAgent: boolean;
|
|
999
999
|
answer: Server.KnowledgeResponse['answer'];
|
|
1000
1000
|
}>;
|
|
1001
|
+
'knowledge assist question answered': EventV2<{
|
|
1002
|
+
question: string;
|
|
1003
|
+
answer: string;
|
|
1004
|
+
sources: {
|
|
1005
|
+
url?: string;
|
|
1006
|
+
name: string;
|
|
1007
|
+
}[];
|
|
1008
|
+
isFollowUpQuestion: boolean;
|
|
1009
|
+
isAutoInitiated: boolean;
|
|
1010
|
+
}>;
|
|
1001
1011
|
'knowledge assist source viewed': EventV2<{
|
|
1002
1012
|
question: string;
|
|
1003
1013
|
sourceViewed: string;
|
|
@@ -1011,6 +1021,18 @@ type SendEventV2ArgumentMap = {
|
|
|
1011
1021
|
finalText: string;
|
|
1012
1022
|
assistant: string;
|
|
1013
1023
|
}>;
|
|
1024
|
+
'open search': EventV2<{
|
|
1025
|
+
via: 'ctrl+k' | 'autocomplete-overlay' | 'widget-shortcut';
|
|
1026
|
+
}>;
|
|
1027
|
+
'open knowledge assistant': EventV2<{
|
|
1028
|
+
via: 'ctrl+k' | 'widget-shortcut' | 'search-command';
|
|
1029
|
+
}>;
|
|
1030
|
+
'open my deepdesk': EventV2<{
|
|
1031
|
+
via: 'widget-shortcut';
|
|
1032
|
+
}>;
|
|
1033
|
+
'trigger on demand assistant': EventV2<{
|
|
1034
|
+
assistantCode: string;
|
|
1035
|
+
}>;
|
|
1014
1036
|
};
|
|
1015
1037
|
/**
|
|
1016
1038
|
* Request retry options
|