@deepdesk/deepdesk-sdk 18.2.1-beta.11 → 18.2.1-beta.12
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 +5 -5
- package/dist/index.d.mts +0 -8
- package/dist/index.d.ts +0 -8
- package/dist/index.esm.js +6 -6
- package/dist/index.iife.js +41 -41
- 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;
|
|
@@ -3002,9 +2998,6 @@ declare class DeepdeskSDK {
|
|
|
3002
2998
|
* text: msg.content
|
|
3003
2999
|
* }));
|
|
3004
3000
|
* });
|
|
3005
|
-
*
|
|
3006
|
-
* // Now you can use features that require setConversationQuery to be set
|
|
3007
|
-
* const summary = await sdk.getSummary();
|
|
3008
3001
|
* ```
|
|
3009
3002
|
*/
|
|
3010
3003
|
setConversationQuery(fetchFn: () => Promise<Array<{
|
|
@@ -3272,7 +3265,6 @@ declare class DeepdeskSDK {
|
|
|
3272
3265
|
* @param options.customStyles - Custom styling for the widget
|
|
3273
3266
|
* @param options.initialQuestion - Initial question to display
|
|
3274
3267
|
* @param options.emptyState - Custom empty state configuration
|
|
3275
|
-
* @param options.isLegacyKnowledgeAssist - Whether to use legacy knowledge assistant (default: false)
|
|
3276
3268
|
* @param options.title - Custom title for the widget
|
|
3277
3269
|
* @returns Object with unmount function to clean up the widget
|
|
3278
3270
|
*
|
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;
|
|
@@ -3002,9 +2998,6 @@ declare class DeepdeskSDK {
|
|
|
3002
2998
|
* text: msg.content
|
|
3003
2999
|
* }));
|
|
3004
3000
|
* });
|
|
3005
|
-
*
|
|
3006
|
-
* // Now you can use features that require setConversationQuery to be set
|
|
3007
|
-
* const summary = await sdk.getSummary();
|
|
3008
3001
|
* ```
|
|
3009
3002
|
*/
|
|
3010
3003
|
setConversationQuery(fetchFn: () => Promise<Array<{
|
|
@@ -3272,7 +3265,6 @@ declare class DeepdeskSDK {
|
|
|
3272
3265
|
* @param options.customStyles - Custom styling for the widget
|
|
3273
3266
|
* @param options.initialQuestion - Initial question to display
|
|
3274
3267
|
* @param options.emptyState - Custom empty state configuration
|
|
3275
|
-
* @param options.isLegacyKnowledgeAssist - Whether to use legacy knowledge assistant (default: false)
|
|
3276
3268
|
* @param options.title - Custom title for the widget
|
|
3277
3269
|
* @returns Object with unmount function to clean up the widget
|
|
3278
3270
|
*
|