@deepdesk/deepdesk-sdk 10.11.0 → 10.12.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.d.mts CHANGED
@@ -961,6 +961,11 @@ declare namespace Server {
961
961
  message: string;
962
962
  profile_code: string;
963
963
  }
964
+ interface Cue {
965
+ id: string;
966
+ text: string;
967
+ title: string;
968
+ }
964
969
  /**
965
970
  * Handling time event data
966
971
  */
@@ -1032,6 +1037,7 @@ declare namespace Server {
1032
1037
  summarizer: boolean;
1033
1038
  summarizer_prompt_instruction: string;
1034
1039
  summarizer_model: string;
1040
+ summarizer_assistant?: string;
1035
1041
  knowledge_assistant: string;
1036
1042
  ui_config: {
1037
1043
  widget: {
@@ -1264,6 +1270,9 @@ declare class DeepdeskAPI {
1264
1270
  verifyLoginToken(token: string): Promise<{
1265
1271
  isLoggedIn: boolean;
1266
1272
  }>;
1273
+ evaluateRule<Payload = unknown>(label: string, conversationId: string, payload: Payload, opts?: {
1274
+ raiseForFailingConditions?: boolean;
1275
+ }): Promise<CamelCaseKeys<Server.Cue[]>>;
1267
1276
  private handleDeepdeskVersionHeaders;
1268
1277
  }
1269
1278
 
package/dist/index.d.ts CHANGED
@@ -961,6 +961,11 @@ declare namespace Server {
961
961
  message: string;
962
962
  profile_code: string;
963
963
  }
964
+ interface Cue {
965
+ id: string;
966
+ text: string;
967
+ title: string;
968
+ }
964
969
  /**
965
970
  * Handling time event data
966
971
  */
@@ -1032,6 +1037,7 @@ declare namespace Server {
1032
1037
  summarizer: boolean;
1033
1038
  summarizer_prompt_instruction: string;
1034
1039
  summarizer_model: string;
1040
+ summarizer_assistant?: string;
1035
1041
  knowledge_assistant: string;
1036
1042
  ui_config: {
1037
1043
  widget: {
@@ -1264,6 +1270,9 @@ declare class DeepdeskAPI {
1264
1270
  verifyLoginToken(token: string): Promise<{
1265
1271
  isLoggedIn: boolean;
1266
1272
  }>;
1273
+ evaluateRule<Payload = unknown>(label: string, conversationId: string, payload: Payload, opts?: {
1274
+ raiseForFailingConditions?: boolean;
1275
+ }): Promise<CamelCaseKeys<Server.Cue[]>>;
1267
1276
  private handleDeepdeskVersionHeaders;
1268
1277
  }
1269
1278