@uptiqai/widgets-sdk 1.55.0 → 1.56.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.ts CHANGED
@@ -31,6 +31,7 @@ declare type AttachedDocument = {
31
31
  summary?: string;
32
32
  mimeType?: string;
33
33
  source?: string;
34
+ state?: DocumentProcessingState;
34
35
  };
35
36
 
36
37
  export declare const ChatWidget: ({ onClose, embedded, ...props }: ChatWidgetProps) => JSX_2.Element;
@@ -113,6 +114,14 @@ declare type CreateWidgetInstanceParams = Omit<CommonWidgetProps, 'theme'> & {
113
114
  instanceId: string;
114
115
  };
115
116
 
117
+ declare enum DocumentProcessingState {
118
+ Pending = "Pending",
119
+ Uploaded = "Uploaded",
120
+ SummaryProcessing = "SummaryProcessing",
121
+ SummaryProcessed = "SummaryProcessed",
122
+ SummaryFailed = "SummaryFailed"
123
+ }
124
+
116
125
  declare interface DoneElement extends ConversationElement {
117
126
  type: ConversationElementType.DONE;
118
127
  plan?: Plan;