@deepdesk/deepdesk-sdk 19.4.2-beta.0 → 19.4.2-beta.2
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 +6 -6
- package/dist/index.d.mts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.esm.js +6 -6
- package/dist/index.iife.js +17 -17
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1430,6 +1430,7 @@ declare const reducers: redux.Reducer<{
|
|
|
1430
1430
|
deanonymize: boolean;
|
|
1431
1431
|
fallbackImage: string | false;
|
|
1432
1432
|
isEmbedded: boolean;
|
|
1433
|
+
signInViaPopup: boolean;
|
|
1433
1434
|
showImages: boolean;
|
|
1434
1435
|
showSearch: boolean;
|
|
1435
1436
|
showImageSearch: boolean;
|
|
@@ -1495,6 +1496,7 @@ declare const reducers: redux.Reducer<{
|
|
|
1495
1496
|
deanonymize: boolean;
|
|
1496
1497
|
fallbackImage: string | false;
|
|
1497
1498
|
isEmbedded: boolean;
|
|
1499
|
+
signInViaPopup: boolean;
|
|
1498
1500
|
showImages: boolean;
|
|
1499
1501
|
showSearch: boolean;
|
|
1500
1502
|
showImageSearch: boolean;
|
|
@@ -1561,6 +1563,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStor
|
|
|
1561
1563
|
deanonymize: boolean;
|
|
1562
1564
|
fallbackImage: string | false;
|
|
1563
1565
|
isEmbedded: boolean;
|
|
1566
|
+
signInViaPopup: boolean;
|
|
1564
1567
|
showImages: boolean;
|
|
1565
1568
|
showSearch: boolean;
|
|
1566
1569
|
showImageSearch: boolean;
|
|
@@ -1980,6 +1983,7 @@ type State = {
|
|
|
1980
1983
|
deanonymize: boolean;
|
|
1981
1984
|
fallbackImage: string | false;
|
|
1982
1985
|
isEmbedded: boolean;
|
|
1986
|
+
signInViaPopup: boolean;
|
|
1983
1987
|
showImages: boolean;
|
|
1984
1988
|
showSearch: boolean;
|
|
1985
1989
|
showImageSearch: boolean;
|
|
@@ -2094,6 +2098,10 @@ interface WidgetOptions {
|
|
|
2094
2098
|
customStyles?: WidgetCustomStyles;
|
|
2095
2099
|
showImages?: boolean;
|
|
2096
2100
|
isEmbedded?: boolean;
|
|
2101
|
+
/** Use SSO popup for Sign in instead of the passwordless overlay (embedded widgets only). */
|
|
2102
|
+
signInViaPopup?: boolean;
|
|
2103
|
+
/** Custom SSO start URL passed to loginViaPopup when the user clicks Sign in. */
|
|
2104
|
+
ssoUrl?: string;
|
|
2097
2105
|
knowledgeAssist?: KnowledgeAssistOptions;
|
|
2098
2106
|
assistantOptions?: Omit<EvaluateInput, 'assistantCode'>;
|
|
2099
2107
|
}
|
|
@@ -2181,6 +2189,7 @@ declare class DeepdeskSDK {
|
|
|
2181
2189
|
deanonymize: boolean;
|
|
2182
2190
|
fallbackImage: string | false;
|
|
2183
2191
|
isEmbedded: boolean;
|
|
2192
|
+
signInViaPopup: boolean;
|
|
2184
2193
|
showImages: boolean;
|
|
2185
2194
|
showSearch: boolean;
|
|
2186
2195
|
showImageSearch: boolean;
|
|
@@ -2229,6 +2238,7 @@ declare class DeepdeskSDK {
|
|
|
2229
2238
|
deanonymize: boolean;
|
|
2230
2239
|
fallbackImage: string | false;
|
|
2231
2240
|
isEmbedded: boolean;
|
|
2241
|
+
signInViaPopup: boolean;
|
|
2232
2242
|
showImages: boolean;
|
|
2233
2243
|
showSearch: boolean;
|
|
2234
2244
|
showImageSearch: boolean;
|
|
@@ -3606,4 +3616,4 @@ declare function logEvent<T extends keyof SendEventArgumentMap>(event: LogEvent<
|
|
|
3606
3616
|
type CSSModule = Record<string, string>;
|
|
3607
3617
|
declare function useStyles<TStyles extends CSSModule>(componentName: string, defaultStyles: TStyles): TStyles;
|
|
3608
3618
|
|
|
3609
|
-
export { type AgentInfo, Card, ContentEditableInput, type Conversation, type ConversationAssistantResult, type ConversationMessage, DeepdeskAPI, DeepdeskSDK, 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 };
|
|
3619
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -1430,6 +1430,7 @@ declare const reducers: redux.Reducer<{
|
|
|
1430
1430
|
deanonymize: boolean;
|
|
1431
1431
|
fallbackImage: string | false;
|
|
1432
1432
|
isEmbedded: boolean;
|
|
1433
|
+
signInViaPopup: boolean;
|
|
1433
1434
|
showImages: boolean;
|
|
1434
1435
|
showSearch: boolean;
|
|
1435
1436
|
showImageSearch: boolean;
|
|
@@ -1495,6 +1496,7 @@ declare const reducers: redux.Reducer<{
|
|
|
1495
1496
|
deanonymize: boolean;
|
|
1496
1497
|
fallbackImage: string | false;
|
|
1497
1498
|
isEmbedded: boolean;
|
|
1499
|
+
signInViaPopup: boolean;
|
|
1498
1500
|
showImages: boolean;
|
|
1499
1501
|
showSearch: boolean;
|
|
1500
1502
|
showImageSearch: boolean;
|
|
@@ -1561,6 +1563,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStor
|
|
|
1561
1563
|
deanonymize: boolean;
|
|
1562
1564
|
fallbackImage: string | false;
|
|
1563
1565
|
isEmbedded: boolean;
|
|
1566
|
+
signInViaPopup: boolean;
|
|
1564
1567
|
showImages: boolean;
|
|
1565
1568
|
showSearch: boolean;
|
|
1566
1569
|
showImageSearch: boolean;
|
|
@@ -1980,6 +1983,7 @@ type State = {
|
|
|
1980
1983
|
deanonymize: boolean;
|
|
1981
1984
|
fallbackImage: string | false;
|
|
1982
1985
|
isEmbedded: boolean;
|
|
1986
|
+
signInViaPopup: boolean;
|
|
1983
1987
|
showImages: boolean;
|
|
1984
1988
|
showSearch: boolean;
|
|
1985
1989
|
showImageSearch: boolean;
|
|
@@ -2094,6 +2098,10 @@ interface WidgetOptions {
|
|
|
2094
2098
|
customStyles?: WidgetCustomStyles;
|
|
2095
2099
|
showImages?: boolean;
|
|
2096
2100
|
isEmbedded?: boolean;
|
|
2101
|
+
/** Use SSO popup for Sign in instead of the passwordless overlay (embedded widgets only). */
|
|
2102
|
+
signInViaPopup?: boolean;
|
|
2103
|
+
/** Custom SSO start URL passed to loginViaPopup when the user clicks Sign in. */
|
|
2104
|
+
ssoUrl?: string;
|
|
2097
2105
|
knowledgeAssist?: KnowledgeAssistOptions;
|
|
2098
2106
|
assistantOptions?: Omit<EvaluateInput, 'assistantCode'>;
|
|
2099
2107
|
}
|
|
@@ -2181,6 +2189,7 @@ declare class DeepdeskSDK {
|
|
|
2181
2189
|
deanonymize: boolean;
|
|
2182
2190
|
fallbackImage: string | false;
|
|
2183
2191
|
isEmbedded: boolean;
|
|
2192
|
+
signInViaPopup: boolean;
|
|
2184
2193
|
showImages: boolean;
|
|
2185
2194
|
showSearch: boolean;
|
|
2186
2195
|
showImageSearch: boolean;
|
|
@@ -2229,6 +2238,7 @@ declare class DeepdeskSDK {
|
|
|
2229
2238
|
deanonymize: boolean;
|
|
2230
2239
|
fallbackImage: string | false;
|
|
2231
2240
|
isEmbedded: boolean;
|
|
2241
|
+
signInViaPopup: boolean;
|
|
2232
2242
|
showImages: boolean;
|
|
2233
2243
|
showSearch: boolean;
|
|
2234
2244
|
showImageSearch: boolean;
|
|
@@ -3606,4 +3616,4 @@ declare function logEvent<T extends keyof SendEventArgumentMap>(event: LogEvent<
|
|
|
3606
3616
|
type CSSModule = Record<string, string>;
|
|
3607
3617
|
declare function useStyles<TStyles extends CSSModule>(componentName: string, defaultStyles: TStyles): TStyles;
|
|
3608
3618
|
|
|
3609
|
-
export { type AgentInfo, Card, ContentEditableInput, type Conversation, type ConversationAssistantResult, type ConversationMessage, DeepdeskAPI, DeepdeskSDK, 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 };
|
|
3619
|
+
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 };
|