@deepdesk/deepdesk-sdk 10.1.5 → 10.1.7
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 +66 -1
- package/dist/index.d.ts +66 -1
- package/dist/index.esm.js +5 -5
- package/dist/index.iife.js +11 -11
- package/package.json +1 -1
- package/styles/index.js +1 -1
- package/styles.css +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -453,6 +453,67 @@ interface StoreConfig {
|
|
|
453
453
|
middleware?: Middleware[];
|
|
454
454
|
preloadedState?: any;
|
|
455
455
|
}
|
|
456
|
+
declare const reducers: redux.Reducer<redux.CombinedState<{
|
|
457
|
+
activeSuggestion: State$e;
|
|
458
|
+
answer: State$c;
|
|
459
|
+
auth: State$d;
|
|
460
|
+
autoflows: State$6;
|
|
461
|
+
conversation: State$b;
|
|
462
|
+
contentTypes: State$a;
|
|
463
|
+
customMessages: State$9;
|
|
464
|
+
exchangeToken: State$8;
|
|
465
|
+
entities: State$7;
|
|
466
|
+
handlingTime: State$f;
|
|
467
|
+
info: {
|
|
468
|
+
agentInfo?: AgentInfo | undefined;
|
|
469
|
+
agentSettings: unknown;
|
|
470
|
+
visitorInfo?: VisitorInfo | undefined;
|
|
471
|
+
fetchState: FetchState;
|
|
472
|
+
};
|
|
473
|
+
input: State$5;
|
|
474
|
+
overlayInput: State$5;
|
|
475
|
+
settings: {
|
|
476
|
+
locale: Locale;
|
|
477
|
+
deanonymize: boolean;
|
|
478
|
+
fallbackImage: string | false;
|
|
479
|
+
isEmbedded: boolean;
|
|
480
|
+
showAutoflows: number | boolean;
|
|
481
|
+
showCustomMessages: number | boolean;
|
|
482
|
+
showImages: boolean;
|
|
483
|
+
showPersonalCollectionLink: boolean;
|
|
484
|
+
showSearch: boolean;
|
|
485
|
+
showImageSearch: boolean;
|
|
486
|
+
showStyleSuggestions: number | boolean;
|
|
487
|
+
showMidSentenceSuggestions: boolean;
|
|
488
|
+
showSuggestionsBeforePattern: string | false;
|
|
489
|
+
showSuggestionsAfterPattern: string | false;
|
|
490
|
+
showTabCompletion: boolean;
|
|
491
|
+
showTextSuggestions: boolean;
|
|
492
|
+
showEntitiesCommand: boolean;
|
|
493
|
+
showSummaryCommand: boolean;
|
|
494
|
+
showKnowledgeSearch: boolean;
|
|
495
|
+
textSuggestionsCount: number;
|
|
496
|
+
recommendTextSuggestions: boolean;
|
|
497
|
+
searchTriggerKey: string;
|
|
498
|
+
visible: boolean;
|
|
499
|
+
insertLink: boolean;
|
|
500
|
+
inlineSuggestions: boolean;
|
|
501
|
+
adminUrl?: string | undefined;
|
|
502
|
+
productName: string;
|
|
503
|
+
};
|
|
504
|
+
profile: State$4;
|
|
505
|
+
search: State$3;
|
|
506
|
+
summary: State$2;
|
|
507
|
+
styleSuggestions: State$1;
|
|
508
|
+
ui: {
|
|
509
|
+
showTabHint: boolean;
|
|
510
|
+
inputHasFocus: boolean;
|
|
511
|
+
overlayCollapsed: boolean;
|
|
512
|
+
openOverlayWhenTyping: boolean;
|
|
513
|
+
overlayCollapsedUserOverwrite: boolean;
|
|
514
|
+
};
|
|
515
|
+
textSuggestions: TextSuggestionState;
|
|
516
|
+
}>, redux.AnyAction>;
|
|
456
517
|
declare function createStore(config: StoreConfig): _reduxjs_toolkit_dist_configureStore.ToolkitStore<redux.EmptyObject & {
|
|
457
518
|
activeSuggestion: State$e;
|
|
458
519
|
answer: State$c;
|
|
@@ -578,6 +639,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit_dist_configu
|
|
|
578
639
|
deepdeskAPI: DeepdeskAPI;
|
|
579
640
|
deepdeskBrokerAPI: DeepdeskBrokerAPI | undefined;
|
|
580
641
|
}>[]>;
|
|
642
|
+
type RootState = ReturnType<typeof reducers>;
|
|
581
643
|
type Store = ReturnType<typeof createStore>;
|
|
582
644
|
|
|
583
645
|
interface State$d {
|
|
@@ -1219,6 +1281,8 @@ declare const styles$c: {
|
|
|
1219
1281
|
readonly "selectWrapper": string;
|
|
1220
1282
|
readonly "image": string;
|
|
1221
1283
|
readonly "imageSrc": string;
|
|
1284
|
+
readonly "imageSrcHidden": string;
|
|
1285
|
+
readonly "imageSrcStatus": string;
|
|
1222
1286
|
readonly "imageTitle": string;
|
|
1223
1287
|
readonly "actions": string;
|
|
1224
1288
|
readonly "actionsWrapper": string;
|
|
@@ -1601,6 +1665,7 @@ interface TextSuggestionState {
|
|
|
1601
1665
|
interface MessagePayload {
|
|
1602
1666
|
name: string;
|
|
1603
1667
|
type: string;
|
|
1668
|
+
channel: string;
|
|
1604
1669
|
payload: unknown;
|
|
1605
1670
|
}
|
|
1606
1671
|
interface Channel {
|
|
@@ -2096,4 +2161,4 @@ declare function waitForElementVisibilityChange(element: HTMLElement, callback:
|
|
|
2096
2161
|
type CSSModule = Record<string, string>;
|
|
2097
2162
|
declare function useStyles<TStyles extends CSSModule>(componentName: string, defaultStyles: TStyles): TStyles;
|
|
2098
2163
|
|
|
2099
|
-
export { AgentInfo, Card, Chip, ContentEditableInput, Conversation, ConversationMessage, DeepdeskAPI, DeepdeskSDK, InputMediator, InputOverlayCustomStyles, InputType, KeyboardHint, Label, Locale, Logger, MountOptions, PinnedMessage, PlatformConfig, Section, SectionList, SelectionRange, Sources, Suggestion, SuggestionEventMetrics, SuggestionList, SuggestionMetrics, TextAreaInput, TextSuggestion, ToggleButton, UrlSuggestion, VisitorInfo, WidgetCustomStyles, WidgetOptions, attachFile, authenticateWithKey, createOverlayContainer, createRangeFromOffsets, escapeHTML, fetchPlatformConfig, formatTextMarkup, getRangeOffsets, getRangeText, isSupportedInputElement, updateContentEditable, updateTextArea, useStyles, waitForElementVisibilityChange };
|
|
2164
|
+
export { AgentInfo, Card, Chip, ContentEditableInput, Conversation, ConversationMessage, DeepdeskAPI, DeepdeskSDK, HTTPClient, InputMediator, InputOverlayCustomStyles, InputType, KeyboardHint, Label, Locale, Logger, MountOptions, PinnedMessage, PlatformConfig, RootState, Section, SectionList, SelectionRange, Sources, Suggestion, SuggestionEventMetrics, SuggestionList, SuggestionMetrics, TextAreaInput, TextSuggestion, ToggleButton, UrlSuggestion, VisitorInfo, WidgetCustomStyles, WidgetOptions, attachFile, authenticateWithKey, createOverlayContainer, createRangeFromOffsets, escapeHTML, fetchPlatformConfig, formatTextMarkup, getRangeOffsets, getRangeText, isSupportedInputElement, updateContentEditable, updateTextArea, useStyles, waitForElementVisibilityChange };
|
package/dist/index.d.ts
CHANGED
|
@@ -453,6 +453,67 @@ interface StoreConfig {
|
|
|
453
453
|
middleware?: Middleware[];
|
|
454
454
|
preloadedState?: any;
|
|
455
455
|
}
|
|
456
|
+
declare const reducers: redux.Reducer<redux.CombinedState<{
|
|
457
|
+
activeSuggestion: State$e;
|
|
458
|
+
answer: State$c;
|
|
459
|
+
auth: State$d;
|
|
460
|
+
autoflows: State$6;
|
|
461
|
+
conversation: State$b;
|
|
462
|
+
contentTypes: State$a;
|
|
463
|
+
customMessages: State$9;
|
|
464
|
+
exchangeToken: State$8;
|
|
465
|
+
entities: State$7;
|
|
466
|
+
handlingTime: State$f;
|
|
467
|
+
info: {
|
|
468
|
+
agentInfo?: AgentInfo | undefined;
|
|
469
|
+
agentSettings: unknown;
|
|
470
|
+
visitorInfo?: VisitorInfo | undefined;
|
|
471
|
+
fetchState: FetchState;
|
|
472
|
+
};
|
|
473
|
+
input: State$5;
|
|
474
|
+
overlayInput: State$5;
|
|
475
|
+
settings: {
|
|
476
|
+
locale: Locale;
|
|
477
|
+
deanonymize: boolean;
|
|
478
|
+
fallbackImage: string | false;
|
|
479
|
+
isEmbedded: boolean;
|
|
480
|
+
showAutoflows: number | boolean;
|
|
481
|
+
showCustomMessages: number | boolean;
|
|
482
|
+
showImages: boolean;
|
|
483
|
+
showPersonalCollectionLink: boolean;
|
|
484
|
+
showSearch: boolean;
|
|
485
|
+
showImageSearch: boolean;
|
|
486
|
+
showStyleSuggestions: number | boolean;
|
|
487
|
+
showMidSentenceSuggestions: boolean;
|
|
488
|
+
showSuggestionsBeforePattern: string | false;
|
|
489
|
+
showSuggestionsAfterPattern: string | false;
|
|
490
|
+
showTabCompletion: boolean;
|
|
491
|
+
showTextSuggestions: boolean;
|
|
492
|
+
showEntitiesCommand: boolean;
|
|
493
|
+
showSummaryCommand: boolean;
|
|
494
|
+
showKnowledgeSearch: boolean;
|
|
495
|
+
textSuggestionsCount: number;
|
|
496
|
+
recommendTextSuggestions: boolean;
|
|
497
|
+
searchTriggerKey: string;
|
|
498
|
+
visible: boolean;
|
|
499
|
+
insertLink: boolean;
|
|
500
|
+
inlineSuggestions: boolean;
|
|
501
|
+
adminUrl?: string | undefined;
|
|
502
|
+
productName: string;
|
|
503
|
+
};
|
|
504
|
+
profile: State$4;
|
|
505
|
+
search: State$3;
|
|
506
|
+
summary: State$2;
|
|
507
|
+
styleSuggestions: State$1;
|
|
508
|
+
ui: {
|
|
509
|
+
showTabHint: boolean;
|
|
510
|
+
inputHasFocus: boolean;
|
|
511
|
+
overlayCollapsed: boolean;
|
|
512
|
+
openOverlayWhenTyping: boolean;
|
|
513
|
+
overlayCollapsedUserOverwrite: boolean;
|
|
514
|
+
};
|
|
515
|
+
textSuggestions: TextSuggestionState;
|
|
516
|
+
}>, redux.AnyAction>;
|
|
456
517
|
declare function createStore(config: StoreConfig): _reduxjs_toolkit_dist_configureStore.ToolkitStore<redux.EmptyObject & {
|
|
457
518
|
activeSuggestion: State$e;
|
|
458
519
|
answer: State$c;
|
|
@@ -578,6 +639,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit_dist_configu
|
|
|
578
639
|
deepdeskAPI: DeepdeskAPI;
|
|
579
640
|
deepdeskBrokerAPI: DeepdeskBrokerAPI | undefined;
|
|
580
641
|
}>[]>;
|
|
642
|
+
type RootState = ReturnType<typeof reducers>;
|
|
581
643
|
type Store = ReturnType<typeof createStore>;
|
|
582
644
|
|
|
583
645
|
interface State$d {
|
|
@@ -1219,6 +1281,8 @@ declare const styles$c: {
|
|
|
1219
1281
|
readonly "selectWrapper": string;
|
|
1220
1282
|
readonly "image": string;
|
|
1221
1283
|
readonly "imageSrc": string;
|
|
1284
|
+
readonly "imageSrcHidden": string;
|
|
1285
|
+
readonly "imageSrcStatus": string;
|
|
1222
1286
|
readonly "imageTitle": string;
|
|
1223
1287
|
readonly "actions": string;
|
|
1224
1288
|
readonly "actionsWrapper": string;
|
|
@@ -1601,6 +1665,7 @@ interface TextSuggestionState {
|
|
|
1601
1665
|
interface MessagePayload {
|
|
1602
1666
|
name: string;
|
|
1603
1667
|
type: string;
|
|
1668
|
+
channel: string;
|
|
1604
1669
|
payload: unknown;
|
|
1605
1670
|
}
|
|
1606
1671
|
interface Channel {
|
|
@@ -2096,4 +2161,4 @@ declare function waitForElementVisibilityChange(element: HTMLElement, callback:
|
|
|
2096
2161
|
type CSSModule = Record<string, string>;
|
|
2097
2162
|
declare function useStyles<TStyles extends CSSModule>(componentName: string, defaultStyles: TStyles): TStyles;
|
|
2098
2163
|
|
|
2099
|
-
export { AgentInfo, Card, Chip, ContentEditableInput, Conversation, ConversationMessage, DeepdeskAPI, DeepdeskSDK, InputMediator, InputOverlayCustomStyles, InputType, KeyboardHint, Label, Locale, Logger, MountOptions, PinnedMessage, PlatformConfig, Section, SectionList, SelectionRange, Sources, Suggestion, SuggestionEventMetrics, SuggestionList, SuggestionMetrics, TextAreaInput, TextSuggestion, ToggleButton, UrlSuggestion, VisitorInfo, WidgetCustomStyles, WidgetOptions, attachFile, authenticateWithKey, createOverlayContainer, createRangeFromOffsets, escapeHTML, fetchPlatformConfig, formatTextMarkup, getRangeOffsets, getRangeText, isSupportedInputElement, updateContentEditable, updateTextArea, useStyles, waitForElementVisibilityChange };
|
|
2164
|
+
export { AgentInfo, Card, Chip, ContentEditableInput, Conversation, ConversationMessage, DeepdeskAPI, DeepdeskSDK, HTTPClient, InputMediator, InputOverlayCustomStyles, InputType, KeyboardHint, Label, Locale, Logger, MountOptions, PinnedMessage, PlatformConfig, RootState, Section, SectionList, SelectionRange, Sources, Suggestion, SuggestionEventMetrics, SuggestionList, SuggestionMetrics, TextAreaInput, TextSuggestion, ToggleButton, UrlSuggestion, VisitorInfo, WidgetCustomStyles, WidgetOptions, attachFile, authenticateWithKey, createOverlayContainer, createRangeFromOffsets, escapeHTML, fetchPlatformConfig, formatTextMarkup, getRangeOffsets, getRangeText, isSupportedInputElement, updateContentEditable, updateTextArea, useStyles, waitForElementVisibilityChange };
|