@getmodus/sdk 0.13.0 → 0.14.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.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { H as HttpClient, c as components, M as ModusConfig, P as Page, V as VariationView, S as Scope, a as ScopeConversationsResource, C as Conversation, b as ConversationKind, d as ConversationListItem, W as WorkflowType, e as Workflow, f as ContextItemsQuery, g as ContextItemsQueryResult, h as ContextItem, i as ContextItemLookupRow, j as CustomContextItemsResource, k as ModusClientBase, l as ModusOptions } from './_client-base-CGqIZtrm.cjs';
2
- export { A as Agent, m as AgentType, B as BatchDeleteCustomContextItemsInput, n as BatchDeleteCustomContextItemsResult, o as ContextItemAccessUpdate, p as ContextItemAncestor, q as ContextItemDeletion, r as ContextItemMove, s as ContextType, t as CreateCustomContextItemInput, u as CreatedCustomContextItem, v as CustomAttributeInput, w as CustomContextItemDeletion, x as CustomContextItemKind, y as CustomContextItemRelationInput, z as Message, O as OPERATIONS, D as OperationId, E as OperationSpec, F as ScopeStatus, G as ScopeVariation, I as Skill, J as SkillStatus, K as SkillVariation, L as SupervisionView, U as UpdateContextItemAccessInput, N as UpdateCustomContextItemInput, Q as conversationScopeId, R as conversationSkillId, T as operations, X as paths } from './_client-base-CGqIZtrm.cjs';
1
+ import { H as HttpClient, c as components, M as ModusConfig, P as Page, V as VariationView, S as Scope, a as ScopeRouteRequest, b as ScopeRouteResponse, T as ThreadUploadRequest, d as ThreadUploadSlot, e as ThreadUploadFileName, f as ThreadUploadResult, g as ThreadUploadContentUrl, C as Conversation, h as ScopeConversationsResource, i as SharedConversations, j as ConversationRecipients, k as ShareConversationRequest, l as ConversationKind, m as ConversationListItem, W as WorkflowType, n as Workflow, o as ContextItemsQuery, p as ContextItemsQueryResult, q as ContextItem, r as ContextItemLookupRow, s as CustomContextItemsResource, t as ModusClientBase, u as ModusOptions } from './_client-base-DQgSSU83.cjs';
2
+ export { A as Agent, v as AgentType, B as BatchDeleteCustomContextItemsInput, w as BatchDeleteCustomContextItemsResult, x as ContextItemAccessUpdate, y as ContextItemAncestor, z as ContextItemDeletion, D as ContextItemMove, E as ContextType, F as ConversationFileDownload, G as ConversationFiles, I as ConversationRenameRequest, J as ConversationRenameResponse, K as ConversationSearchResult, L as CreateCustomContextItemInput, N as CreatedCustomContextItem, O as CustomAttributeInput, Q as CustomContextItemDeletion, R as CustomContextItemKind, U as CustomContextItemRelationInput, X as Message, Y as OPERATIONS, Z as OperationId, _ as OperationSpec, $ as ScopeStatus, a0 as ScopeVariation, a1 as Skill, a2 as SkillStatus, a3 as SkillVariation, a4 as SupervisionView, a5 as UpdateContextItemAccessInput, a6 as UpdateCustomContextItemInput, a7 as conversationScopeId, a8 as conversationSkillId, a9 as operations, aa as paths } from './_client-base-DQgSSU83.cjs';
3
3
 
4
4
  /**
5
5
  * Base class for all Modus SDK errors.
@@ -177,6 +177,13 @@ interface ApprovalRequiredEvent extends RunEventBase {
177
177
  label: string;
178
178
  }>;
179
179
  }
180
+ /** A complete replacement draft awaiting the caller's review and application. */
181
+ interface BrowserDraftEvent extends RunEventBase {
182
+ readonly type: 'browser_draft';
183
+ targetId: string;
184
+ expectedValue: string;
185
+ text: string;
186
+ }
180
187
  interface ErrorEvent extends RunEventBase {
181
188
  readonly type: 'error';
182
189
  message: string;
@@ -207,7 +214,7 @@ interface ActiveConversationRun {
207
214
  readonly createdAt: string;
208
215
  readonly updatedAt: string;
209
216
  }
210
- type RunEvent = TokenEvent | DoneEvent | ErrorEvent | CancelledEvent | StreamTimeoutEvent | AssistantContentResetEvent | ApprovalRequiredEvent;
217
+ type RunEvent = TokenEvent | DoneEvent | ErrorEvent | CancelledEvent | StreamTimeoutEvent | AssistantContentResetEvent | ApprovalRequiredEvent | BrowserDraftEvent;
211
218
 
212
219
  /**
213
220
  * Canonical model id accepted by Modus chat APIs.
@@ -366,6 +373,11 @@ type NewRunBody<T extends {
366
373
  type AgentRunCreateRequest = components['schemas']['AgentRunDto'];
367
374
  type SkillRunCreateRequest = NewRunBody<components['schemas']['SkillRunDto']>;
368
375
  type ModusRunCreateRequest = NewRunBody<components['schemas']['ModusRunDto']>;
376
+ type DashboardAssistantRunCreateRequest = NewRunBody<components['schemas']['DashboardAssistantRunDto']>;
377
+ type DashboardCopilotRunCreateRequest = NewRunBody<components['schemas']['DashboardCopilotRunDto']>;
378
+ type WorkflowCopilotRunCreateRequest = NewRunBody<components['schemas']['CopilotRunDto']>;
379
+ type BrowserDraftRunCreateRequest = NewRunBody<components['schemas']['BrowserDraftRunDto']>;
380
+ type ContextSuggestionRunCreateRequest = NewRunBody<components['schemas']['RunEnvelopeDto']>;
369
381
  type ResumeRunRequest = components['schemas']['ResumeRunDto'];
370
382
  type CreateAgentRunRequest = AgentRunCreateRequest;
371
383
  type CancelRunRequest = components['schemas']['CancelRunDto'];
@@ -524,6 +536,112 @@ declare class WorkflowRunsResource {
524
536
  createModus(body: ModusRunCreateRequest, options?: {
525
537
  idempotencyKey?: string;
526
538
  }): AgentRunStream;
539
+ /**
540
+ * Ask about the authorized dashboard.
541
+ *
542
+ * @example
543
+ * ```ts
544
+ * const run = client.workflows.runs.askDashboard('DASHBOARD_ID', { message: 'Explain the results.', view: { filters: {} } })
545
+ * for await (const event of run) console.log(event.type)
546
+ * ```
547
+ */
548
+ askDashboard(dashboardId: string, body: DashboardAssistantRunCreateRequest, options?: {
549
+ idempotencyKey?: string;
550
+ }): AgentRunStream;
551
+ /**
552
+ * Ask about a selected tile in the authorized dashboard.
553
+ *
554
+ * @example
555
+ * ```ts
556
+ * const run = client.workflows.runs.askDashboardElement('DASHBOARD_ID', 'ELEMENT_ID', { message: 'Explain this tile.', view: { filters: {} } })
557
+ * for await (const event of run) console.log(event.type)
558
+ * ```
559
+ */
560
+ askDashboardElement(dashboardId: string, elementId: string, body: DashboardAssistantRunCreateRequest, options?: {
561
+ idempotencyKey?: string;
562
+ }): AgentRunStream;
563
+ /**
564
+ * Edit the authorized dashboard working copy with the copilot.
565
+ *
566
+ * @example
567
+ * ```ts
568
+ * const run = client.workflows.runs.editDashboard('DASHBOARD_ID', { message: 'Group related tiles together.' })
569
+ * for await (const event of run) console.log(event.type)
570
+ * ```
571
+ */
572
+ editDashboard(dashboardId: string, body: DashboardCopilotRunCreateRequest, options?: {
573
+ idempotencyKey?: string;
574
+ }): AgentRunStream;
575
+ /**
576
+ * Edit a selected element in the authorized dashboard working copy.
577
+ *
578
+ * @example
579
+ * ```ts
580
+ * const run = client.workflows.runs.editDashboardElement('DASHBOARD_ID', 'ELEMENT_ID', { message: 'Clarify this tile’s title.' })
581
+ * for await (const event of run) console.log(event.type)
582
+ * ```
583
+ */
584
+ editDashboardElement(dashboardId: string, elementId: string, body: DashboardCopilotRunCreateRequest, options?: {
585
+ idempotencyKey?: string;
586
+ }): AgentRunStream;
587
+ /**
588
+ * Stream a proposal for replacement text using the selected published scopes.
589
+ * The proposal is returned in a typed `browser_draft` event.
590
+ *
591
+ * @example
592
+ * ```ts
593
+ * const draft = client.workflows.runs.createBrowserDraft({
594
+ * message: 'Rewrite this as a short reply.',
595
+ * subordinateSkillIds: [42],
596
+ * target: { id: 'reply', value: 'Thanks for sharing these notes.' },
597
+ * })
598
+ * for await (const event of draft) if (event.type === 'browser_draft') console.log(event.text)
599
+ * ```
600
+ */
601
+ createBrowserDraft(body: BrowserDraftRunCreateRequest, options?: {
602
+ idempotencyKey?: string;
603
+ }): AgentRunStream;
604
+ /**
605
+ * Start or continue an assistant discussion for a Context suggestion.
606
+ *
607
+ * @param suggestionId - ID of the suggestion to discuss.
608
+ * @param body - Message and optional session ID to reuse on the next turn.
609
+ * @param options.idempotencyKey - Client key for retrying a request safely.
610
+ * @returns A stream of run events, including any proposed change awaiting approval.
611
+ *
612
+ * @example
613
+ * ```ts
614
+ * const stream = client.workflows.runs.createSuggestion('SUGGESTION_ID', {
615
+ * message: 'Explain the pros and cons of this change.',
616
+ * sessionId: 'suggestion-discussion',
617
+ * })
618
+ * for await (const event of stream) console.log(event.type)
619
+ * ```
620
+ */
621
+ createSuggestion(suggestionId: string, body: ContextSuggestionRunCreateRequest, options?: {
622
+ idempotencyKey?: string;
623
+ }): AgentRunStream;
624
+ /**
625
+ * Answer a proposed change awaiting approval in a Context suggestion discussion.
626
+ *
627
+ * @param suggestionId - The suggestion discussed on the interrupted run.
628
+ * @param runId - ID of the interrupted run.
629
+ * @param body - Approval decision and the discussion session ID. An approval requires the exact `approvalTarget` from the pending event.
630
+ * @param options.idempotencyKey - Client key for retrying a request safely.
631
+ * @returns A stream of run events for the continuation.
632
+ *
633
+ * @example
634
+ * ```ts
635
+ * const stream = client.workflows.runs.resumeSuggestion('SUGGESTION_ID', 'RUN_ID', {
636
+ * decision: 'deny',
637
+ * sessionId: 'suggestion-discussion',
638
+ * })
639
+ * for await (const event of stream) console.log(event.type)
640
+ * ```
641
+ */
642
+ resumeSuggestion(suggestionId: string, runId: string, body: ResumeRunRequest, options?: {
643
+ idempotencyKey?: string;
644
+ }): AgentRunStream;
527
645
  /**
528
646
  * Resume a run paused at an approval or connect interrupt, and stream the continuation's events.
529
647
  *
@@ -656,11 +774,52 @@ declare class WorkflowRunsResource {
656
774
  stream(runId: string, options?: {
657
775
  lastEventId?: string;
658
776
  }): AgentRunStream;
777
+ /**
778
+ * Stream a workflow builder turn. The editor can inspect other accessible workflows
779
+ * and change the one identified by workflowId.
780
+ *
781
+ * @example
782
+ * ```ts
783
+ * for await (const event of client.workflows.runs.createCopilot(42, { message: 'Explain this draft.' })) {
784
+ * console.log(event.type)
785
+ * }
786
+ * ```
787
+ */
788
+ createCopilot(workflowId: number | string, body: WorkflowCopilotRunCreateRequest, options?: {
789
+ idempotencyKey?: string;
790
+ }): AgentRunStream;
659
791
  private createRun;
660
792
  private parseEvents;
661
793
  }
662
794
 
795
+ type CompletionRequest = components['schemas']['CompletionRequestDto'];
796
+ type Completion = components['schemas']['CompletionResponse'];
797
+
798
+ /** Generated base for the consumption `completions` resource. */
799
+ declare class CompletionsResourceBase {
800
+ protected readonly http: HttpClient;
801
+ protected readonly config: ModusConfig;
802
+ /** @internal */
803
+ constructor(http: HttpClient, config: ModusConfig);
804
+ /**
805
+ * Generate a text completion.
806
+ *
807
+ * **Requires:** one of `workflows:invoke`, `connections:manage`
808
+ *
809
+ * @param request - Request body; see `CompletionRequest`.
810
+ */
811
+ create(request: CompletionRequest): Promise<Completion>;
812
+ }
813
+
814
+ /** Generate text completions. */
815
+ declare class CompletionsResource extends CompletionsResourceBase {
816
+ }
817
+
663
818
  type Connection = components['schemas']['ConnectionDto'];
819
+ type InvokeConnectionAction = components['schemas']['InvokeConnectionActionDto'];
820
+ type ConnectionActionResult = components['schemas']['HostedActionResponseDto'];
821
+ type CategorizeIntegrationActions = components['schemas']['CategorizePipedreamActionsDto'];
822
+ type IntegrationActionCategories = components['schemas']['CategorizePipedreamActionsResponse'];
664
823
 
665
824
  /** One element of a context item's array field, from `listValues`. */
666
825
  type ContextValueRow = {
@@ -760,6 +919,65 @@ declare class ScopesResourceBase {
760
919
  get(scopeId: number | string, options?: {
761
920
  view?: VariationView;
762
921
  }): Promise<Scope>;
922
+ /**
923
+ * Pick the scope for a chat message.
924
+ *
925
+ * Picks which of the published scopes the caller may use fits a chat message, or the scopes to
926
+ * offer the caller when it cannot pick one.
927
+ *
928
+ * **Requires:** `scopes:read`
929
+ *
930
+ * @param request - Request body; see `ScopeRouteRequest`.
931
+ */
932
+ route(request: ScopeRouteRequest): Promise<ScopeRouteResponse>;
933
+ /**
934
+ * Create a conversation upload URL.
935
+ *
936
+ * Creates a short-lived URL for uploading a file to a conversation.
937
+ *
938
+ * **Requires:** `scopes:invoke`
939
+ *
940
+ * @param threadId - Conversation thread identifier.
941
+ * @param request - Request body; see `ThreadUploadRequest`.
942
+ */
943
+ createUploadUrl(threadId: number | string, request: ThreadUploadRequest): Promise<ThreadUploadSlot>;
944
+ /**
945
+ * Finalize a conversation upload.
946
+ *
947
+ * Finalizes an uploaded file so it can be used in a conversation.
948
+ *
949
+ * **Requires:** `scopes:invoke`
950
+ *
951
+ * @param threadId - Conversation thread identifier.
952
+ * @param uploadId - Upload identifier.
953
+ * @param request - Request body; see `ThreadUploadFileName`.
954
+ */
955
+ finalizeUpload(threadId: number | string, uploadId: number | string, request: ThreadUploadFileName): Promise<ThreadUploadResult>;
956
+ /**
957
+ * Get conversation upload content URL.
958
+ *
959
+ * Returns a short-lived URL for the parsed content of an uploaded file.
960
+ *
961
+ * **Requires:** `scopes:invoke`
962
+ *
963
+ * @param threadId - Conversation thread identifier.
964
+ * @param uploadId - Upload identifier.
965
+ * @param request - Request body; see `ThreadUploadFileName`.
966
+ */
967
+ getUploadContentUrl(threadId: number | string, uploadId: number | string, request: ThreadUploadFileName): Promise<ThreadUploadContentUrl>;
968
+ /**
969
+ * Get assistant conversation history.
970
+ *
971
+ * Returns the caller’s assistant conversation, with an optional earlier message window.
972
+ *
973
+ * **Requires:** `scopes:read`
974
+ *
975
+ * @param threadId - Assistant conversation thread id.
976
+ * @param options.beforeMessageIndex - Read messages before this index.
977
+ */
978
+ getAssistantHistory(threadId: number | string, options?: {
979
+ beforeMessageIndex?: number;
980
+ }): Promise<Conversation>;
763
981
  }
764
982
 
765
983
  /**
@@ -818,6 +1036,17 @@ declare class ScopesResource extends ScopesResourceBase {
818
1036
  getContext(scopeId: number | string, message: string, options?: {
819
1037
  limit?: number;
820
1038
  }): Promise<SkillContextComposition>;
1039
+ /** Start a builder turn for a scope the caller can manage. */
1040
+ build(scopeId: number | string, message: string, options?: WorkflowChatOptions): ChatSession;
1041
+ /** Resume a stopped scope builder using the approval target emitted by the run. */
1042
+ resumeBuild(scopeId: number | string, runId: string, input: {
1043
+ sessionId: string;
1044
+ decision: 'approve' | 'deny';
1045
+ approvalTarget: {
1046
+ toolName: string;
1047
+ args: Record<string, unknown>;
1048
+ };
1049
+ }): ChatSession;
821
1050
  /**
822
1051
  * Chat with a published scope. The reply streams live from the agent host:
823
1052
  * iterate `textStream()` for tokens, or `await` the result for the final
@@ -863,6 +1092,80 @@ declare class ModusConversationsResourceBase {
863
1092
  * @param threadId - Thread id from a conversation list or chat response.
864
1093
  */
865
1094
  get(threadId: string): Promise<Conversation>;
1095
+ /**
1096
+ * List shared conversations.
1097
+ *
1098
+ * Returns conversations shared with the authenticated user.
1099
+ *
1100
+ * **Requires:** `scopes:read`
1101
+ *
1102
+ * @param options.pageToken - Token from the previous page.
1103
+ * @param options.pageSize - Maximum results per page; defaults to 100.
1104
+ *
1105
+ * @example
1106
+ * ```ts
1107
+ * const shared = await client.modus.conversations.listShared()
1108
+ * ```
1109
+ */
1110
+ listShared(options?: {
1111
+ pageToken?: string;
1112
+ pageSize?: number;
1113
+ }): Promise<SharedConversations>;
1114
+ /**
1115
+ * List conversation recipients.
1116
+ *
1117
+ * Returns user IDs with access to a conversation owned by the caller.
1118
+ *
1119
+ * **Requires:** `scopes:read`
1120
+ *
1121
+ * @param threadId - Conversation thread ID.
1122
+ * @param options.pageToken - Token from the previous page.
1123
+ * @param options.pageSize - Maximum results per page; defaults to 100.
1124
+ *
1125
+ * @example
1126
+ * ```ts
1127
+ * const readers = await client.modus.conversations.listRecipients(threadId)
1128
+ * ```
1129
+ */
1130
+ listRecipients(threadId: string, options?: {
1131
+ pageToken?: string;
1132
+ pageSize?: number;
1133
+ }): Promise<ConversationRecipients>;
1134
+ /**
1135
+ * Share a conversation.
1136
+ *
1137
+ * Grants a member of the organization read access to the conversation and its files.
1138
+ *
1139
+ * **Requires:** `scopes:write`
1140
+ *
1141
+ * @param threadId - Conversation thread ID.
1142
+ * @param userId - Organization member user ID.
1143
+ * @param request - Request body; see `ShareConversationRequest`.
1144
+ * @returns Conversation access granted.
1145
+ *
1146
+ * @example
1147
+ * ```ts
1148
+ * await client.modus.conversations.share(threadId, userId, { title: 'Quarterly review' })
1149
+ * ```
1150
+ */
1151
+ share(threadId: string, userId: string, request: ShareConversationRequest): Promise<void>;
1152
+ /**
1153
+ * Revoke conversation access.
1154
+ *
1155
+ * Revokes a member’s access to a shared conversation.
1156
+ *
1157
+ * **Requires:** `scopes:write`
1158
+ *
1159
+ * @param threadId - Conversation thread ID.
1160
+ * @param userId - Organization member user ID.
1161
+ * @returns Conversation access revoked.
1162
+ *
1163
+ * @example
1164
+ * ```ts
1165
+ * await client.modus.conversations.revokeShare(threadId, userId)
1166
+ * ```
1167
+ */
1168
+ revokeShare(threadId: string, userId: string): Promise<void>;
866
1169
  }
867
1170
 
868
1171
  /** List and retrieve Modus / scope conversations. */
@@ -1330,12 +1633,39 @@ declare class ConnectionsResourceBase {
1330
1633
  type?: string;
1331
1634
  }): Promise<Page<Connection>>;
1332
1635
  protected listPage(pageSize: number, pageToken: string | undefined, type?: string): Promise<Page<Connection>>;
1636
+ /**
1637
+ * Invoke an integration action.
1638
+ *
1639
+ * **Requires:** one of `workflows:invoke`, `connections:manage`
1640
+ *
1641
+ * @param request - Request body; see `InvokeConnectionAction`.
1642
+ */
1643
+ invokeAction(connectionId: number | string, operation: number | string, request: InvokeConnectionAction): Promise<ConnectionActionResult>;
1644
+ /**
1645
+ * Categorize integration app actions.
1646
+ *
1647
+ * **Requires:** one of `workflows:invoke`, `connections:manage`
1648
+ *
1649
+ * @param request - Request body; see `CategorizeIntegrationActions`.
1650
+ */
1651
+ categorizeActions(request: CategorizeIntegrationActions): Promise<IntegrationActionCategories>;
1333
1652
  }
1334
1653
 
1335
1654
  /**
1336
1655
  * Read access to integration connections.
1337
1656
  */
1338
1657
  declare class ConnectionsResource extends ConnectionsResourceBase {
1658
+ /**
1659
+ * Read from a connection using an operation declared by its platform.
1660
+ *
1661
+ * @param connectionId - Connection ID.
1662
+ * @param operation - Platform read operation.
1663
+ * @param input - Operation-specific input.
1664
+ * @returns The operation-specific response.
1665
+ * @example
1666
+ * await client.connections.read('connection-id', 'query', { sql: 'SELECT 1' })
1667
+ */
1668
+ read(connectionId: string, operation: string, input?: Record<string, unknown>): Promise<Record<string, unknown>>;
1339
1669
  /**
1340
1670
  * Find the first connection whose name matches (case-insensitive).
1341
1671
  *
@@ -1431,9 +1761,10 @@ declare class Modus extends ModusClientBase {
1431
1761
  readonly workflows: WorkflowsResource;
1432
1762
  readonly context: ContextResource;
1433
1763
  readonly connections: ConnectionsResource;
1764
+ readonly completions: CompletionsResource;
1434
1765
  readonly suggestions: SuggestionsResource;
1435
1766
  readonly ingestedData: IngestedDataResource;
1436
1767
  constructor(options?: ModusOptions);
1437
1768
  }
1438
1769
 
1439
- export { APIConnectionError, type ActiveConversationRun, type ActiveConversationRunStatus, type AgentRun, type AgentRunCreateRequest, type AgentRunListItem, type AgentRunStream, AgentWorkflowActionsResource, type ApprovalRequiredEvent, type ApprovalScope, type AssistantContentResetEvent, AuthenticationError, BadRequestError, type CancelRunRequest, type CancelledEvent, type ChatModel, type ChatOptions, type ChatResult, ChatSession, type ComposeSkillContextRequest, ConflictError, type Connection, ConnectionsResource, type ContentProjection, ContextItem, ContextItemLookupRow, ContextItemsQuery, ContextItemsQueryResult, ContextItemsResource, ContextResource, type ContextValueRow, Conversation, ConversationKind, ConversationListItem, type CreateAgentRunRequest, CustomContextItemsResource, type DoneEvent, type EditQueuedRunRequest, type ErrorEvent, type FollowUpRunRequest, type HttpIngestedDataRequest, type IngestedDataRequest, IngestedDataResource, type IngestedDataResponse, type IngestedDataResponseFormat, type IngestedDataUploadResult, InternalServerError, type InterruptRunRequest, type JsonObjectInput, Modus, ModusConfig, type ModusContextComposition, type ModusContextRequest, ModusConversationsResource, ModusError, ModusOptions, ModusResource, type ModusRunCreateRequest, NotFoundError, Page, PermissionDeniedError, RateLimitError, type RecordSuggestionEventRequest, type ResumeRunRequest, type RunAdmission, RunCancelledError, type RunEvent, type RunEventBase, type RunEventsPollResponse, type RunStatus, type RunTimeframe, Scope, ScopeConversationsResource, ScopesResource, type SkillContextComposition, type SkillRunCreateRequest, type SqlIngestedDataRequest, StreamTimeoutError, type StreamTimeoutEvent, type SuggestionEventSource, type SuggestionEventType, type SuggestionQuestion, SuggestionsResource, type TokenEvent, UnprocessableError, type UploadIngestedDataOptions, ValidationError, VariationView, Workflow, type WorkflowActionRequest, type WorkflowChatOptions, WorkflowRunsResource, WorkflowType, WorkflowsResource, components };
1770
+ export { APIConnectionError, type ActiveConversationRun, type ActiveConversationRunStatus, type AgentRun, type AgentRunCreateRequest, type AgentRunListItem, type AgentRunStream, AgentWorkflowActionsResource, type ApprovalRequiredEvent, type ApprovalScope, type AssistantContentResetEvent, AuthenticationError, BadRequestError, type BrowserDraftEvent, type BrowserDraftRunCreateRequest, type CancelRunRequest, type CancelledEvent, type CategorizeIntegrationActions, type ChatModel, type ChatOptions, type ChatResult, ChatSession, type Completion, type CompletionRequest, CompletionsResource, type ComposeSkillContextRequest, ConflictError, type Connection, type ConnectionActionResult, ConnectionsResource, type ContentProjection, ContextItem, ContextItemLookupRow, ContextItemsQuery, ContextItemsQueryResult, ContextItemsResource, ContextResource, type ContextSuggestionRunCreateRequest, type ContextValueRow, Conversation, ConversationKind, ConversationListItem, ConversationRecipients, type CreateAgentRunRequest, CustomContextItemsResource, type DashboardAssistantRunCreateRequest, type DashboardCopilotRunCreateRequest, type DoneEvent, type EditQueuedRunRequest, type ErrorEvent, type FollowUpRunRequest, type HttpIngestedDataRequest, type IngestedDataRequest, IngestedDataResource, type IngestedDataResponse, type IngestedDataResponseFormat, type IngestedDataUploadResult, type IntegrationActionCategories, InternalServerError, type InterruptRunRequest, type InvokeConnectionAction, type JsonObjectInput, Modus, ModusConfig, type ModusContextComposition, type ModusContextRequest, ModusConversationsResource, ModusError, ModusOptions, ModusResource, type ModusRunCreateRequest, NotFoundError, Page, PermissionDeniedError, RateLimitError, type RecordSuggestionEventRequest, type ResumeRunRequest, type RunAdmission, RunCancelledError, type RunEvent, type RunEventBase, type RunEventsPollResponse, type RunStatus, type RunTimeframe, Scope, ScopeConversationsResource, ScopeRouteRequest, ScopeRouteResponse, ScopesResource, ShareConversationRequest, SharedConversations, type SkillContextComposition, type SkillRunCreateRequest, type SqlIngestedDataRequest, StreamTimeoutError, type StreamTimeoutEvent, type SuggestionEventSource, type SuggestionEventType, type SuggestionQuestion, SuggestionsResource, ThreadUploadContentUrl, ThreadUploadFileName, ThreadUploadRequest, ThreadUploadResult, ThreadUploadSlot, type TokenEvent, UnprocessableError, type UploadIngestedDataOptions, ValidationError, VariationView, Workflow, type WorkflowActionRequest, type WorkflowChatOptions, type WorkflowCopilotRunCreateRequest, WorkflowRunsResource, WorkflowType, WorkflowsResource, components };