@deepdesk/deepdesk-sdk 11.5.4 → 11.5.5-beta.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 +7 -7
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.esm.js +7 -7
- package/dist/index.iife.js +13 -13
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1587,6 +1587,9 @@ type State$1 = {
|
|
|
1587
1587
|
cues: Cue[];
|
|
1588
1588
|
fetchState: FetchState;
|
|
1589
1589
|
};
|
|
1590
|
+
type EvaluateRuleOptions = {
|
|
1591
|
+
shouldEmit: boolean;
|
|
1592
|
+
};
|
|
1590
1593
|
|
|
1591
1594
|
type SuggestionState = {
|
|
1592
1595
|
suggestions: TextSuggestion[];
|
|
@@ -2208,7 +2211,7 @@ declare class DeepdeskSDK {
|
|
|
2208
2211
|
private notifyPaste;
|
|
2209
2212
|
private notifyCut;
|
|
2210
2213
|
notifyExternalSuggestion(suggestion: StageSuggestion): void;
|
|
2211
|
-
evaluateRule(label: string, params?: Record<string, any
|
|
2214
|
+
evaluateRule(label: string, params?: Record<string, any>, options?: EvaluateRuleOptions): Promise<Cue[]>;
|
|
2212
2215
|
private handleInputChanged;
|
|
2213
2216
|
private handleKeyDown;
|
|
2214
2217
|
private handleAfterSendMessage;
|
package/dist/index.d.ts
CHANGED
|
@@ -1587,6 +1587,9 @@ type State$1 = {
|
|
|
1587
1587
|
cues: Cue[];
|
|
1588
1588
|
fetchState: FetchState;
|
|
1589
1589
|
};
|
|
1590
|
+
type EvaluateRuleOptions = {
|
|
1591
|
+
shouldEmit: boolean;
|
|
1592
|
+
};
|
|
1590
1593
|
|
|
1591
1594
|
type SuggestionState = {
|
|
1592
1595
|
suggestions: TextSuggestion[];
|
|
@@ -2208,7 +2211,7 @@ declare class DeepdeskSDK {
|
|
|
2208
2211
|
private notifyPaste;
|
|
2209
2212
|
private notifyCut;
|
|
2210
2213
|
notifyExternalSuggestion(suggestion: StageSuggestion): void;
|
|
2211
|
-
evaluateRule(label: string, params?: Record<string, any
|
|
2214
|
+
evaluateRule(label: string, params?: Record<string, any>, options?: EvaluateRuleOptions): Promise<Cue[]>;
|
|
2212
2215
|
private handleInputChanged;
|
|
2213
2216
|
private handleKeyDown;
|
|
2214
2217
|
private handleAfterSendMessage;
|