@deepdesk/deepdesk-sdk 19.5.1-beta.1 → 19.6.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 +9 -9
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.esm.js +9 -9
- package/dist/index.iife.js +30 -30
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2105,6 +2105,7 @@ interface KnowledgeAssistOptions {
|
|
|
2105
2105
|
description: string;
|
|
2106
2106
|
};
|
|
2107
2107
|
}
|
|
2108
|
+
type OpenAdminFeedbackHandler = (feedbackPath: string) => void | Promise<void>;
|
|
2108
2109
|
interface WidgetOptions {
|
|
2109
2110
|
customStyles?: WidgetCustomStyles;
|
|
2110
2111
|
showImages?: boolean;
|
|
@@ -2113,6 +2114,11 @@ interface WidgetOptions {
|
|
|
2113
2114
|
signInViaPopup?: boolean;
|
|
2114
2115
|
/** Custom SSO start URL passed to loginViaPopup when the user clicks Sign in. */
|
|
2115
2116
|
ssoUrl?: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* Optional override for opening Admin feedback from embedded widgets.
|
|
2119
|
+
* When omitted, SDK uses the default passwordless GET link flow (`selectAdminLink`).
|
|
2120
|
+
*/
|
|
2121
|
+
openAdminFeedback?: OpenAdminFeedbackHandler;
|
|
2116
2122
|
knowledgeAssist?: KnowledgeAssistOptions;
|
|
2117
2123
|
assistantOptions?: Omit<EvaluateInput, 'assistantCode'>;
|
|
2118
2124
|
}
|
|
@@ -3627,4 +3633,4 @@ declare function logEvent<T extends keyof SendEventArgumentMap>(event: LogEvent<
|
|
|
3627
3633
|
type CSSModule = Record<string, string>;
|
|
3628
3634
|
declare function useStyles<TStyles extends CSSModule>(componentName: string, defaultStyles: TStyles): TStyles;
|
|
3629
3635
|
|
|
3630
|
-
export { type AgentInfo, Card, ContentEditableInput, type Conversation, type ConversationAssistantResult, type ConversationMessage, DeepdeskAPI, DeepdeskSDK, type EvaluationAttachment, HTTPClient, InputMediator, type InputOverlayCustomStyles, InputType, KeyboardHint, Label, Locale, type Logger, type MountOptions, type PinnedMessage, type PlatformConfig, type RootState, Section, SectionList, type SelectionRange, Sources, Suggestion, type SuggestionEventMetrics, SuggestionList, type SuggestionMetrics, TextAreaInput, type TextSuggestion, ToggleButton, type UrlSuggestion, type VisitorInfo, type WidgetCustomStyles, type WidgetOptions, attachFile, authenticateWithKey, createFullRange, createOverlayContainer, createRangeFromOffsets, escapeHTML, formatTextMarkup, getRangeOffsets, getRangeText, insertCKEditor, isHTML, isSupportedInputElement, logEvent, updateContentEditable, updateTextArea, useClickOutsideRoot, useStyles, waitForElementVisibilityChange };
|
|
3636
|
+
export { type AgentInfo, Card, ContentEditableInput, type Conversation, type ConversationAssistantResult, type ConversationMessage, DeepdeskAPI, DeepdeskSDK, type EvaluationAttachment, HTTPClient, InputMediator, type InputOverlayCustomStyles, InputType, KeyboardHint, Label, Locale, type Logger, type MountOptions, type OpenAdminFeedbackHandler, type PinnedMessage, type PlatformConfig, type RootState, Section, SectionList, type SelectionRange, Sources, Suggestion, type SuggestionEventMetrics, SuggestionList, type SuggestionMetrics, TextAreaInput, type TextSuggestion, ToggleButton, type UrlSuggestion, type VisitorInfo, type WidgetCustomStyles, type WidgetOptions, attachFile, authenticateWithKey, createFullRange, createOverlayContainer, createRangeFromOffsets, escapeHTML, formatTextMarkup, getRangeOffsets, getRangeText, insertCKEditor, isHTML, isSupportedInputElement, logEvent, updateContentEditable, updateTextArea, useClickOutsideRoot, useStyles, waitForElementVisibilityChange };
|
package/dist/index.d.ts
CHANGED
|
@@ -2105,6 +2105,7 @@ interface KnowledgeAssistOptions {
|
|
|
2105
2105
|
description: string;
|
|
2106
2106
|
};
|
|
2107
2107
|
}
|
|
2108
|
+
type OpenAdminFeedbackHandler = (feedbackPath: string) => void | Promise<void>;
|
|
2108
2109
|
interface WidgetOptions {
|
|
2109
2110
|
customStyles?: WidgetCustomStyles;
|
|
2110
2111
|
showImages?: boolean;
|
|
@@ -2113,6 +2114,11 @@ interface WidgetOptions {
|
|
|
2113
2114
|
signInViaPopup?: boolean;
|
|
2114
2115
|
/** Custom SSO start URL passed to loginViaPopup when the user clicks Sign in. */
|
|
2115
2116
|
ssoUrl?: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* Optional override for opening Admin feedback from embedded widgets.
|
|
2119
|
+
* When omitted, SDK uses the default passwordless GET link flow (`selectAdminLink`).
|
|
2120
|
+
*/
|
|
2121
|
+
openAdminFeedback?: OpenAdminFeedbackHandler;
|
|
2116
2122
|
knowledgeAssist?: KnowledgeAssistOptions;
|
|
2117
2123
|
assistantOptions?: Omit<EvaluateInput, 'assistantCode'>;
|
|
2118
2124
|
}
|
|
@@ -3627,4 +3633,4 @@ declare function logEvent<T extends keyof SendEventArgumentMap>(event: LogEvent<
|
|
|
3627
3633
|
type CSSModule = Record<string, string>;
|
|
3628
3634
|
declare function useStyles<TStyles extends CSSModule>(componentName: string, defaultStyles: TStyles): TStyles;
|
|
3629
3635
|
|
|
3630
|
-
export { type AgentInfo, Card, ContentEditableInput, type Conversation, type ConversationAssistantResult, type ConversationMessage, DeepdeskAPI, DeepdeskSDK, type EvaluationAttachment, HTTPClient, InputMediator, type InputOverlayCustomStyles, InputType, KeyboardHint, Label, Locale, type Logger, type MountOptions, type PinnedMessage, type PlatformConfig, type RootState, Section, SectionList, type SelectionRange, Sources, Suggestion, type SuggestionEventMetrics, SuggestionList, type SuggestionMetrics, TextAreaInput, type TextSuggestion, ToggleButton, type UrlSuggestion, type VisitorInfo, type WidgetCustomStyles, type WidgetOptions, attachFile, authenticateWithKey, createFullRange, createOverlayContainer, createRangeFromOffsets, escapeHTML, formatTextMarkup, getRangeOffsets, getRangeText, insertCKEditor, isHTML, isSupportedInputElement, logEvent, updateContentEditable, updateTextArea, useClickOutsideRoot, useStyles, waitForElementVisibilityChange };
|
|
3636
|
+
export { type AgentInfo, Card, ContentEditableInput, type Conversation, type ConversationAssistantResult, type ConversationMessage, DeepdeskAPI, DeepdeskSDK, type EvaluationAttachment, HTTPClient, InputMediator, type InputOverlayCustomStyles, InputType, KeyboardHint, Label, Locale, type Logger, type MountOptions, type OpenAdminFeedbackHandler, type PinnedMessage, type PlatformConfig, type RootState, Section, SectionList, type SelectionRange, Sources, Suggestion, type SuggestionEventMetrics, SuggestionList, type SuggestionMetrics, TextAreaInput, type TextSuggestion, ToggleButton, type UrlSuggestion, type VisitorInfo, type WidgetCustomStyles, type WidgetOptions, attachFile, authenticateWithKey, createFullRange, createOverlayContainer, createRangeFromOffsets, escapeHTML, formatTextMarkup, getRangeOffsets, getRangeText, insertCKEditor, isHTML, isSupportedInputElement, logEvent, updateContentEditable, updateTextArea, useClickOutsideRoot, useStyles, waitForElementVisibilityChange };
|