@uptiqai/widgets-sdk 1.334.0 → 1.336.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 +1 -12
- package/dist/index.js +37898 -38101
- package/dist/index.umd.cjs +252 -252
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ declare type AgentMessage_2 = ConversationElement & {
|
|
|
10
10
|
type: ConversationElementType.AGENT_MESSAGE;
|
|
11
11
|
content: string;
|
|
12
12
|
isGenerativeUi?: boolean;
|
|
13
|
-
subtype: 'thinking_started' | 'thinking_completed' | 'guardrail_started' | 'guardrail_ended' | 'strategy_updated' | 'thinking_failed' | 'intermediate' | 'final' | 'question' | 'workflow_task' | 'final_stream' | 'attach_files' | 'output_files' | 'ask_permission' | 'ask_permission_result' | '
|
|
13
|
+
subtype: 'thinking_started' | 'thinking_completed' | 'guardrail_started' | 'guardrail_ended' | 'strategy_updated' | 'thinking_failed' | 'intermediate' | 'final' | 'question' | 'workflow_task' | 'final_stream' | 'attach_files' | 'output_files' | 'ask_permission' | 'ask_permission_result' | 'compaction_started' | 'compaction_ended' | 'compaction_failed' | 'compaction_usage';
|
|
14
14
|
isStreaming?: boolean;
|
|
15
15
|
relatedStepId?: string;
|
|
16
16
|
expectedResponseType?: 'text' | 'boolean' | 'selection' | 'json';
|
|
@@ -27,7 +27,6 @@ declare type AgentMessage_2 = ConversationElement & {
|
|
|
27
27
|
requestingAgentId?: string;
|
|
28
28
|
requestingAgentName?: string;
|
|
29
29
|
permissionRequest?: PermissionRequest;
|
|
30
|
-
credentialRequest?: CredentialsRequest;
|
|
31
30
|
/** Display info of the model that generated this message (incl. a fallback used on outage). */
|
|
32
31
|
modelInfo?: ModelDisplayInfo;
|
|
33
32
|
/** Role the model played for this message: planning the work vs executing/answering. */
|
|
@@ -242,14 +241,6 @@ declare type CreateWidgetInstanceParams = Omit<CommonWidgetProps, 'theme'> & {
|
|
|
242
241
|
instanceId: string;
|
|
243
242
|
};
|
|
244
243
|
|
|
245
|
-
declare type CredentialsRequest = {
|
|
246
|
-
id: string;
|
|
247
|
-
title: string;
|
|
248
|
-
description: string;
|
|
249
|
-
toolCallId?: string;
|
|
250
|
-
serviceId?: IntegrationServiceId;
|
|
251
|
-
};
|
|
252
|
-
|
|
253
244
|
declare enum DocumentProcessingState {
|
|
254
245
|
Pending = "Pending",
|
|
255
246
|
Uploaded = "Uploaded",
|
|
@@ -349,8 +340,6 @@ declare type HeadlessEventHandler<T extends HeadlessEventType> = T extends 'agen
|
|
|
349
340
|
|
|
350
341
|
export declare type HeadlessEventType = 'agent-interrupt' | 'queue-update' | 'conversation-summary';
|
|
351
342
|
|
|
352
|
-
declare type IntegrationServiceId = 'twilio-whatsapp' | 'resend' | 'stripe' | 'redtail';
|
|
353
|
-
|
|
354
343
|
export declare type IntermediateAgentMessage = Omit<SdkAgentMessage, 'intermediateMessages'>;
|
|
355
344
|
|
|
356
345
|
export declare type ListConversationsParams = {
|