@deepdesk/deepdesk-sdk 11.2.1-beta.4 → 11.2.1-beta.6

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.d.mts CHANGED
@@ -711,7 +711,7 @@ interface KnowledgeAnswer {
711
711
  interface KnowledgeRequest {
712
712
  customerInstruction: string;
713
713
  question: string;
714
- doNotAnswer?: string;
714
+ doNotKnowAnswer?: string;
715
715
  }
716
716
  interface KnowledgeResponse {
717
717
  question: string;
@@ -976,7 +976,7 @@ declare namespace Server {
976
976
  interface Cue {
977
977
  text: string;
978
978
  title: string;
979
- rule: Rule;
979
+ rule: Pick<Rule, 'id' | 'name' | 'label' | 'description'>;
980
980
  }
981
981
  /**
982
982
  * Handling time event data
@@ -2132,7 +2132,7 @@ declare class DeepdeskSDK {
2132
2132
  private notifyPaste;
2133
2133
  private notifyCut;
2134
2134
  notifyExternalSuggestion(suggestion: StageSuggestion): void;
2135
- evaluateRule(label: string, params?: Record<string, any>): Promise<any>;
2135
+ evaluateRule(label: string, params?: Record<string, any>): Promise<Cue[]>;
2136
2136
  private handleInputChanged;
2137
2137
  private handleKeyDown;
2138
2138
  private handleAfterSendMessage;
package/dist/index.d.ts CHANGED
@@ -711,7 +711,7 @@ interface KnowledgeAnswer {
711
711
  interface KnowledgeRequest {
712
712
  customerInstruction: string;
713
713
  question: string;
714
- doNotAnswer?: string;
714
+ doNotKnowAnswer?: string;
715
715
  }
716
716
  interface KnowledgeResponse {
717
717
  question: string;
@@ -976,7 +976,7 @@ declare namespace Server {
976
976
  interface Cue {
977
977
  text: string;
978
978
  title: string;
979
- rule: Rule;
979
+ rule: Pick<Rule, 'id' | 'name' | 'label' | 'description'>;
980
980
  }
981
981
  /**
982
982
  * Handling time event data
@@ -2132,7 +2132,7 @@ declare class DeepdeskSDK {
2132
2132
  private notifyPaste;
2133
2133
  private notifyCut;
2134
2134
  notifyExternalSuggestion(suggestion: StageSuggestion): void;
2135
- evaluateRule(label: string, params?: Record<string, any>): Promise<any>;
2135
+ evaluateRule(label: string, params?: Record<string, any>): Promise<Cue[]>;
2136
2136
  private handleInputChanged;
2137
2137
  private handleKeyDown;
2138
2138
  private handleAfterSendMessage;