@deepdesk/deepdesk-sdk 18.2.1-beta.0 → 18.2.1-beta.1
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 +7 -7
- package/dist/index.d.mts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.esm.js +6 -6
- package/dist/index.iife.js +18 -18
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4,6 +4,7 @@ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
|
4
4
|
import { Middleware, Tuple } from '@reduxjs/toolkit';
|
|
5
5
|
import * as redux from 'redux';
|
|
6
6
|
import { Unsubscribe } from 'redux';
|
|
7
|
+
import * as redux_thunk from 'redux-thunk';
|
|
7
8
|
|
|
8
9
|
declare const styles$s: {
|
|
9
10
|
readonly "content": string;
|
|
@@ -3553,7 +3554,22 @@ declare function waitForElementVisibilityChange(element: HTMLElement, callback:
|
|
|
3553
3554
|
isVisible: boolean;
|
|
3554
3555
|
}) => void, interval?: number): Cancelable;
|
|
3555
3556
|
|
|
3557
|
+
type LogEvent<T extends keyof SendEventArgumentMap, P extends T = T> = {
|
|
3558
|
+
name: T;
|
|
3559
|
+
data: SendEventArgumentMap[P]['data'];
|
|
3560
|
+
};
|
|
3561
|
+
declare function logEvent<T extends keyof SendEventArgumentMap>(event: LogEvent<T>): _reduxjs_toolkit.AsyncThunkAction<void, LogEvent<T, T>, {
|
|
3562
|
+
state?: unknown;
|
|
3563
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction>;
|
|
3564
|
+
extra?: unknown;
|
|
3565
|
+
rejectValue?: unknown;
|
|
3566
|
+
serializedErrorType?: unknown;
|
|
3567
|
+
pendingMeta?: unknown;
|
|
3568
|
+
fulfilledMeta?: unknown;
|
|
3569
|
+
rejectedMeta?: unknown;
|
|
3570
|
+
}>;
|
|
3571
|
+
|
|
3556
3572
|
type CSSModule = Record<string, string>;
|
|
3557
3573
|
declare function useStyles<TStyles extends CSSModule>(componentName: string, defaultStyles: TStyles): TStyles;
|
|
3558
3574
|
|
|
3559
|
-
export { type AgentInfo, Card, ContentEditableInput, type Conversation, 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, updateContentEditable, updateTextArea, useClickOutsideRoot, useStyles, waitForElementVisibilityChange };
|
|
3575
|
+
export { type AgentInfo, Card, ContentEditableInput, type Conversation, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
|
4
4
|
import { Middleware, Tuple } from '@reduxjs/toolkit';
|
|
5
5
|
import * as redux from 'redux';
|
|
6
6
|
import { Unsubscribe } from 'redux';
|
|
7
|
+
import * as redux_thunk from 'redux-thunk';
|
|
7
8
|
|
|
8
9
|
declare const styles$s: {
|
|
9
10
|
readonly "content": string;
|
|
@@ -3553,7 +3554,22 @@ declare function waitForElementVisibilityChange(element: HTMLElement, callback:
|
|
|
3553
3554
|
isVisible: boolean;
|
|
3554
3555
|
}) => void, interval?: number): Cancelable;
|
|
3555
3556
|
|
|
3557
|
+
type LogEvent<T extends keyof SendEventArgumentMap, P extends T = T> = {
|
|
3558
|
+
name: T;
|
|
3559
|
+
data: SendEventArgumentMap[P]['data'];
|
|
3560
|
+
};
|
|
3561
|
+
declare function logEvent<T extends keyof SendEventArgumentMap>(event: LogEvent<T>): _reduxjs_toolkit.AsyncThunkAction<void, LogEvent<T, T>, {
|
|
3562
|
+
state?: unknown;
|
|
3563
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction>;
|
|
3564
|
+
extra?: unknown;
|
|
3565
|
+
rejectValue?: unknown;
|
|
3566
|
+
serializedErrorType?: unknown;
|
|
3567
|
+
pendingMeta?: unknown;
|
|
3568
|
+
fulfilledMeta?: unknown;
|
|
3569
|
+
rejectedMeta?: unknown;
|
|
3570
|
+
}>;
|
|
3571
|
+
|
|
3556
3572
|
type CSSModule = Record<string, string>;
|
|
3557
3573
|
declare function useStyles<TStyles extends CSSModule>(componentName: string, defaultStyles: TStyles): TStyles;
|
|
3558
3574
|
|
|
3559
|
-
export { type AgentInfo, Card, ContentEditableInput, type Conversation, 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, updateContentEditable, updateTextArea, useClickOutsideRoot, useStyles, waitForElementVisibilityChange };
|
|
3575
|
+
export { type AgentInfo, Card, ContentEditableInput, type Conversation, 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 };
|