@deepdesk/deepdesk-sdk 18.0.3-beta.0 → 18.1.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
@@ -896,6 +896,7 @@ type RuleEventMeta = {
896
896
  name: string;
897
897
  description: string;
898
898
  group: string;
899
+ evaluationId: string;
899
900
  };
900
901
  /**
901
902
  * Map the send event name to the data value in the payload
@@ -1127,7 +1128,10 @@ declare class DeepdeskAPI {
1127
1128
  text: string;
1128
1129
  }>;
1129
1130
  externalConversationId?: string;
1130
- }): Promise<CamelCaseKeys<Server.EvaluationOutput<TOutput>>>;
1131
+ }): Promise<CamelCaseKeys<{
1132
+ evaluation_id: string;
1133
+ output: Server.EvaluationOutput<TOutput>;
1134
+ }>>;
1131
1135
  createAssistantThread(init: {
1132
1136
  assistantCode: string;
1133
1137
  }): Promise<{
@@ -1316,6 +1320,7 @@ type LegacyCue = CamelCaseKeys<Server.LegacyCue> & {
1316
1320
  isLoading?: boolean;
1317
1321
  editable?: boolean;
1318
1322
  specialType?: 'summary';
1323
+ evaluationId: string;
1319
1324
  };
1320
1325
 
1321
1326
  type EvaluationOutput<T extends Server.ResponseFormat> = CamelCaseKeys<Server.EvaluationOutput<T>>;
@@ -1323,6 +1328,7 @@ type ArrayItemType<T> = T extends Array<infer I> ? I : never;
1323
1328
  type Cue = ArrayItemType<EvaluationOutput<'json-schema:cues'>> & {
1324
1329
  isLoading?: boolean;
1325
1330
  specialType?: 'summary';
1331
+ evaluationId: string;
1326
1332
  };
1327
1333
  type AssistantAnswerSource = {
1328
1334
  url?: string;
@@ -1334,6 +1340,7 @@ type AssistantInteraction = {
1334
1340
  answer: string;
1335
1341
  sources?: AssistantAnswerSource[];
1336
1342
  };
1343
+ evaluationId: string;
1337
1344
  };
1338
1345
  type State$2 = {
1339
1346
  cues: Cue[];
package/dist/index.d.ts CHANGED
@@ -896,6 +896,7 @@ type RuleEventMeta = {
896
896
  name: string;
897
897
  description: string;
898
898
  group: string;
899
+ evaluationId: string;
899
900
  };
900
901
  /**
901
902
  * Map the send event name to the data value in the payload
@@ -1127,7 +1128,10 @@ declare class DeepdeskAPI {
1127
1128
  text: string;
1128
1129
  }>;
1129
1130
  externalConversationId?: string;
1130
- }): Promise<CamelCaseKeys<Server.EvaluationOutput<TOutput>>>;
1131
+ }): Promise<CamelCaseKeys<{
1132
+ evaluation_id: string;
1133
+ output: Server.EvaluationOutput<TOutput>;
1134
+ }>>;
1131
1135
  createAssistantThread(init: {
1132
1136
  assistantCode: string;
1133
1137
  }): Promise<{
@@ -1316,6 +1320,7 @@ type LegacyCue = CamelCaseKeys<Server.LegacyCue> & {
1316
1320
  isLoading?: boolean;
1317
1321
  editable?: boolean;
1318
1322
  specialType?: 'summary';
1323
+ evaluationId: string;
1319
1324
  };
1320
1325
 
1321
1326
  type EvaluationOutput<T extends Server.ResponseFormat> = CamelCaseKeys<Server.EvaluationOutput<T>>;
@@ -1323,6 +1328,7 @@ type ArrayItemType<T> = T extends Array<infer I> ? I : never;
1323
1328
  type Cue = ArrayItemType<EvaluationOutput<'json-schema:cues'>> & {
1324
1329
  isLoading?: boolean;
1325
1330
  specialType?: 'summary';
1331
+ evaluationId: string;
1326
1332
  };
1327
1333
  type AssistantAnswerSource = {
1328
1334
  url?: string;
@@ -1334,6 +1340,7 @@ type AssistantInteraction = {
1334
1340
  answer: string;
1335
1341
  sources?: AssistantAnswerSource[];
1336
1342
  };
1343
+ evaluationId: string;
1337
1344
  };
1338
1345
  type State$2 = {
1339
1346
  cues: Cue[];