@deepdesk/deepdesk-sdk 19.1.1 → 19.1.2-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.d.mts CHANGED
@@ -406,10 +406,13 @@ declare enum FetchState {
406
406
  ERROR = "error"
407
407
  }
408
408
 
409
+ type CallToAction = Server.CallToAction;
409
410
  type LegacyCue = CamelCaseKeys<Server.LegacyCue> & {
410
411
  isLoading?: boolean;
411
412
  editable?: boolean;
412
413
  evaluationId: string;
414
+ message?: string;
415
+ callToActions?: CallToAction[];
413
416
  };
414
417
 
415
418
  type EvaluationOutput = CamelCaseKeys<Server.EvaluationOutput>;
@@ -674,6 +677,11 @@ declare namespace Server {
674
677
  event: string;
675
678
  value?: string;
676
679
  }
680
+ interface EvaluationCallToAction {
681
+ button_text: string;
682
+ event_name: string;
683
+ payload?: string;
684
+ }
677
685
  interface LegacyCue {
678
686
  text: string;
679
687
  title: string;
@@ -696,8 +704,10 @@ declare namespace Server {
696
704
  code: string;
697
705
  name: string;
698
706
  response: string;
707
+ message?: string;
699
708
  editable?: boolean;
700
- call_to_action?: CallToAction;
709
+ call_to_action?: CallToAction | EvaluationCallToAction;
710
+ call_to_actions?: EvaluationCallToAction[];
701
711
  sources?: {
702
712
  name: string;
703
713
  url: string;
package/dist/index.d.ts CHANGED
@@ -406,10 +406,13 @@ declare enum FetchState {
406
406
  ERROR = "error"
407
407
  }
408
408
 
409
+ type CallToAction = Server.CallToAction;
409
410
  type LegacyCue = CamelCaseKeys<Server.LegacyCue> & {
410
411
  isLoading?: boolean;
411
412
  editable?: boolean;
412
413
  evaluationId: string;
414
+ message?: string;
415
+ callToActions?: CallToAction[];
413
416
  };
414
417
 
415
418
  type EvaluationOutput = CamelCaseKeys<Server.EvaluationOutput>;
@@ -674,6 +677,11 @@ declare namespace Server {
674
677
  event: string;
675
678
  value?: string;
676
679
  }
680
+ interface EvaluationCallToAction {
681
+ button_text: string;
682
+ event_name: string;
683
+ payload?: string;
684
+ }
677
685
  interface LegacyCue {
678
686
  text: string;
679
687
  title: string;
@@ -696,8 +704,10 @@ declare namespace Server {
696
704
  code: string;
697
705
  name: string;
698
706
  response: string;
707
+ message?: string;
699
708
  editable?: boolean;
700
- call_to_action?: CallToAction;
709
+ call_to_action?: CallToAction | EvaluationCallToAction;
710
+ call_to_actions?: EvaluationCallToAction[];
701
711
  sources?: {
702
712
  name: string;
703
713
  url: string;