@uptiqai/widgets-sdk 1.277.0 → 1.279.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.css +1 -1
- package/dist/index.d.ts +10 -2
- package/dist/index.js +23922 -23921
- package/dist/index.umd.cjs +218 -218
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -173,6 +173,8 @@ export declare type Conversation = {
|
|
|
173
173
|
agentId: string;
|
|
174
174
|
title?: string;
|
|
175
175
|
conversation?: (UserMessage_2 | AiMessage)[];
|
|
176
|
+
conversationModelName?: string;
|
|
177
|
+
effort?: QueryRunOptions['effort'];
|
|
176
178
|
isModelDeprecated?: boolean;
|
|
177
179
|
createdAt: Date;
|
|
178
180
|
updatedAt: Date;
|
|
@@ -283,7 +285,6 @@ declare type FullChatWidgetContainerProps = {
|
|
|
283
285
|
children: React.ReactNode;
|
|
284
286
|
defaultOpen?: boolean;
|
|
285
287
|
hideTrigger?: boolean;
|
|
286
|
-
isUpWrk?: boolean;
|
|
287
288
|
onClose?: () => void;
|
|
288
289
|
widgetRef?: React.Ref<FullScreenChatWidgetRef>;
|
|
289
290
|
};
|
|
@@ -305,7 +306,7 @@ export declare type FullScreenAnnotationChatWidgetRef = {
|
|
|
305
306
|
close: () => void;
|
|
306
307
|
};
|
|
307
308
|
|
|
308
|
-
export declare const FullScreenChatWidget: ({ defaultOpen, widgetRef, onClose, hideTrigger,
|
|
309
|
+
export declare const FullScreenChatWidget: ({ defaultOpen, widgetRef, onClose, hideTrigger, ...props }: FullScreenChatWidgetProps) => JSX_2.Element;
|
|
309
310
|
|
|
310
311
|
export declare type FullScreenChatWidgetProps = CommonWidgetProps & Omit<FullChatWidgetContainerProps, 'children'>;
|
|
311
312
|
|
|
@@ -397,6 +398,7 @@ export declare type QueryPayload = {
|
|
|
397
398
|
executionId?: string;
|
|
398
399
|
files?: File[];
|
|
399
400
|
payload?: Record<string, unknown>;
|
|
401
|
+
options?: QueryRunOptions;
|
|
400
402
|
documents?: {
|
|
401
403
|
signedUrl: string;
|
|
402
404
|
fileName?: string;
|
|
@@ -404,6 +406,12 @@ export declare type QueryPayload = {
|
|
|
404
406
|
}[];
|
|
405
407
|
};
|
|
406
408
|
|
|
409
|
+
/** What the run is pointed at, from the agent-executor's own execution-options catalog. */
|
|
410
|
+
export declare type QueryRunOptions = {
|
|
411
|
+
conversationModelName?: string;
|
|
412
|
+
effort?: 'minimal' | 'low' | 'medium' | 'high';
|
|
413
|
+
};
|
|
414
|
+
|
|
407
415
|
export declare type QueueUpdateEvent = {
|
|
408
416
|
executionId: string;
|
|
409
417
|
};
|