@deepdesk/deepdesk-sdk 18.2.1-beta.11 → 18.2.1-beta.13
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 +0 -12
- package/dist/index.d.ts +0 -12
- package/dist/index.esm.js +8 -8
- package/dist/index.iife.js +39 -39
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1123,10 +1123,6 @@ declare class DeepdeskAPI {
|
|
|
1123
1123
|
* Search
|
|
1124
1124
|
*/
|
|
1125
1125
|
search(params: SearchOptions): Promise<CamelCaseKeys<Server.SearchResultsData>>;
|
|
1126
|
-
knowledgeAssist(request: CamelCaseKeys<Server.KnowledgeRequest>, chatHistory: Server.KnowledgeResponse[], assistantCode: string, meta?: {
|
|
1127
|
-
agentId?: string;
|
|
1128
|
-
conversationId?: string;
|
|
1129
|
-
}): Promise<CamelCaseKeys<Server.KnowledgeResponse['answer']>>;
|
|
1130
1126
|
requestLoginByEmail(email: string): Promise<{
|
|
1131
1127
|
code: string;
|
|
1132
1128
|
message: string;
|
|
@@ -1955,10 +1951,6 @@ interface SDKEventMap {
|
|
|
1955
1951
|
selectionAfter: SelectionRange;
|
|
1956
1952
|
};
|
|
1957
1953
|
cues: LegacyCue[];
|
|
1958
|
-
replace: {
|
|
1959
|
-
text: string;
|
|
1960
|
-
replace: SelectionRange;
|
|
1961
|
-
};
|
|
1962
1954
|
'select-image': {
|
|
1963
1955
|
suggestion: TextSuggestion;
|
|
1964
1956
|
};
|
|
@@ -3002,9 +2994,6 @@ declare class DeepdeskSDK {
|
|
|
3002
2994
|
* text: msg.content
|
|
3003
2995
|
* }));
|
|
3004
2996
|
* });
|
|
3005
|
-
*
|
|
3006
|
-
* // Now you can use features that require setConversationQuery to be set
|
|
3007
|
-
* const summary = await sdk.getSummary();
|
|
3008
2997
|
* ```
|
|
3009
2998
|
*/
|
|
3010
2999
|
setConversationQuery(fetchFn: () => Promise<Array<{
|
|
@@ -3272,7 +3261,6 @@ declare class DeepdeskSDK {
|
|
|
3272
3261
|
* @param options.customStyles - Custom styling for the widget
|
|
3273
3262
|
* @param options.initialQuestion - Initial question to display
|
|
3274
3263
|
* @param options.emptyState - Custom empty state configuration
|
|
3275
|
-
* @param options.isLegacyKnowledgeAssist - Whether to use legacy knowledge assistant (default: false)
|
|
3276
3264
|
* @param options.title - Custom title for the widget
|
|
3277
3265
|
* @returns Object with unmount function to clean up the widget
|
|
3278
3266
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -1123,10 +1123,6 @@ declare class DeepdeskAPI {
|
|
|
1123
1123
|
* Search
|
|
1124
1124
|
*/
|
|
1125
1125
|
search(params: SearchOptions): Promise<CamelCaseKeys<Server.SearchResultsData>>;
|
|
1126
|
-
knowledgeAssist(request: CamelCaseKeys<Server.KnowledgeRequest>, chatHistory: Server.KnowledgeResponse[], assistantCode: string, meta?: {
|
|
1127
|
-
agentId?: string;
|
|
1128
|
-
conversationId?: string;
|
|
1129
|
-
}): Promise<CamelCaseKeys<Server.KnowledgeResponse['answer']>>;
|
|
1130
1126
|
requestLoginByEmail(email: string): Promise<{
|
|
1131
1127
|
code: string;
|
|
1132
1128
|
message: string;
|
|
@@ -1955,10 +1951,6 @@ interface SDKEventMap {
|
|
|
1955
1951
|
selectionAfter: SelectionRange;
|
|
1956
1952
|
};
|
|
1957
1953
|
cues: LegacyCue[];
|
|
1958
|
-
replace: {
|
|
1959
|
-
text: string;
|
|
1960
|
-
replace: SelectionRange;
|
|
1961
|
-
};
|
|
1962
1954
|
'select-image': {
|
|
1963
1955
|
suggestion: TextSuggestion;
|
|
1964
1956
|
};
|
|
@@ -3002,9 +2994,6 @@ declare class DeepdeskSDK {
|
|
|
3002
2994
|
* text: msg.content
|
|
3003
2995
|
* }));
|
|
3004
2996
|
* });
|
|
3005
|
-
*
|
|
3006
|
-
* // Now you can use features that require setConversationQuery to be set
|
|
3007
|
-
* const summary = await sdk.getSummary();
|
|
3008
2997
|
* ```
|
|
3009
2998
|
*/
|
|
3010
2999
|
setConversationQuery(fetchFn: () => Promise<Array<{
|
|
@@ -3272,7 +3261,6 @@ declare class DeepdeskSDK {
|
|
|
3272
3261
|
* @param options.customStyles - Custom styling for the widget
|
|
3273
3262
|
* @param options.initialQuestion - Initial question to display
|
|
3274
3263
|
* @param options.emptyState - Custom empty state configuration
|
|
3275
|
-
* @param options.isLegacyKnowledgeAssist - Whether to use legacy knowledge assistant (default: false)
|
|
3276
3264
|
* @param options.title - Custom title for the widget
|
|
3277
3265
|
* @returns Object with unmount function to clean up the widget
|
|
3278
3266
|
*
|