lemma-sdk 0.2.35 → 0.2.37
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/README.md +126 -43
- package/dist/browser/lemma-client.js +456 -169
- package/dist/client.d.ts +1 -2
- package/dist/client.js +1 -3
- package/dist/index.d.ts +1 -1
- package/dist/namespaces/agents.js +1 -1
- package/dist/namespaces/conversations.d.ts +73 -0
- package/dist/namespaces/conversations.js +174 -0
- package/dist/namespaces/files.d.ts +24 -6
- package/dist/namespaces/files.js +25 -12
- package/dist/namespaces/integrations.d.ts +10 -2
- package/dist/namespaces/integrations.js +17 -2
- package/dist/namespaces/pod-surfaces.d.ts +1 -1
- package/dist/namespaces/pod-surfaces.js +6 -6
- package/dist/namespaces/tasks.d.ts +1 -5
- package/dist/namespaces/tasks.js +54 -12
- package/dist/openapi_client/index.d.ts +27 -34
- package/dist/openapi_client/index.js +9 -12
- package/dist/openapi_client/models/AdminConsentInfoResponse.d.ts +2 -2
- package/dist/openapi_client/models/AgentListResponse.d.ts +2 -4
- package/dist/openapi_client/models/AgentMessageResponse.d.ts +0 -3
- package/dist/openapi_client/models/{AvailableModels.d.ts → AgentModelName.d.ts} +4 -1
- package/dist/openapi_client/models/AgentModelName.js +18 -0
- package/dist/openapi_client/models/AgentResponse.d.ts +18 -13
- package/dist/openapi_client/models/AgentSurfaceListResponse.d.ts +6 -0
- package/dist/openapi_client/models/{AssistantSurfaceResponse.d.ts → AgentSurfaceResponse.d.ts} +6 -5
- package/dist/openapi_client/models/{AssistantSurfaceStatus.d.ts → AgentSurfaceStatus.d.ts} +1 -1
- package/dist/openapi_client/models/AgentSurfaceStatus.js +10 -0
- package/dist/openapi_client/models/{ToolSet.d.ts → AgentToolset.d.ts} +3 -5
- package/dist/openapi_client/models/AgentToolset.js +17 -0
- package/dist/openapi_client/models/ApplicationAccessConfig.d.ts +3 -5
- package/dist/openapi_client/models/ApplicationMode.d.ts +3 -3
- package/dist/openapi_client/models/ApplicationMode.js +3 -3
- package/dist/openapi_client/models/ConversationResponse.d.ts +9 -20
- package/dist/openapi_client/models/CreateAgentRequest.d.ts +11 -7
- package/dist/openapi_client/models/CreateConversationRequest.d.ts +4 -8
- package/dist/openapi_client/models/CreateFolderRequest.d.ts +2 -5
- package/dist/openapi_client/models/CreateFunctionRequest.d.ts +2 -2
- package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +1 -1
- package/dist/openapi_client/models/DatastoreFileUploadRequest.d.ts +2 -2
- package/dist/openapi_client/models/FeedbackCategory.d.ts +7 -0
- package/dist/openapi_client/models/FeedbackCategory.js +12 -0
- package/dist/openapi_client/models/FileNamespace.d.ts +4 -0
- package/dist/openapi_client/models/FileNamespace.js +9 -0
- package/dist/openapi_client/models/FileResponse.d.ts +2 -2
- package/dist/openapi_client/models/FlowRunEntity.d.ts +11 -1
- package/dist/openapi_client/models/FunctionResponse.d.ts +2 -2
- package/dist/openapi_client/models/HarnessKind.d.ts +7 -0
- package/dist/openapi_client/models/HarnessKind.js +12 -0
- package/dist/openapi_client/models/IntegrationHelperAgentRequest.d.ts +13 -0
- package/dist/openapi_client/models/IntegrationHelperAgentResponse.d.ts +25 -0
- package/dist/openapi_client/models/MessageListResponse.d.ts +6 -0
- package/dist/openapi_client/models/MessageResponse.d.ts +17 -0
- package/dist/openapi_client/models/OperationDetail.d.ts +3 -0
- package/dist/openapi_client/models/OperationDetailsBatchRequest.d.ts +9 -0
- package/dist/openapi_client/models/OperationDetailsBatchResponse.d.ts +18 -0
- package/dist/openapi_client/models/OperationDiscoverResponse.d.ts +26 -0
- package/dist/openapi_client/models/OperationSummary.d.ts +3 -0
- package/dist/openapi_client/models/OrganizationCreateRequest.d.ts +2 -0
- package/dist/openapi_client/models/OrganizationInvitationRequest.d.ts +1 -0
- package/dist/openapi_client/models/OrganizationInvitationResponse.d.ts +4 -0
- package/dist/openapi_client/models/OrganizationMessageResponse.d.ts +1 -0
- package/dist/openapi_client/models/OrganizationResponse.d.ts +2 -0
- package/dist/openapi_client/models/OrganizationSlugAvailabilityResponse.d.ts +7 -0
- package/dist/openapi_client/models/ReportFeedbackRequest.d.ts +30 -0
- package/dist/openapi_client/models/ReportFeedbackResponse.d.ts +25 -0
- package/dist/openapi_client/models/ResourceType.d.ts +0 -1
- package/dist/openapi_client/models/ResourceType.js +0 -1
- package/dist/openapi_client/models/SendMessageRequest.d.ts +5 -0
- package/dist/openapi_client/models/{ToolCallRequest.d.ts → ToolCallContent.d.ts} +1 -1
- package/dist/openapi_client/models/{ToolCallResponse.d.ts → ToolReturnContent.d.ts} +2 -1
- package/dist/openapi_client/models/UpdateAgentRequest.d.ts +11 -7
- package/dist/openapi_client/models/UpdateConversationRequest.d.ts +2 -5
- package/dist/openapi_client/models/UpdateFunctionRequest.d.ts +2 -2
- package/dist/openapi_client/models/WorkflowInstallListResponse.d.ts +4 -0
- package/dist/openapi_client/models/app__modules__agent__domain__value_objects__TableAccessEntry.d.ts +8 -0
- package/dist/openapi_client/models/{TableAccessEntry.d.ts → app__modules__function__api__schemas__function_schemas__TableAccessEntry.d.ts} +1 -1
- package/dist/openapi_client/models/update.d.ts +2 -2
- package/dist/openapi_client/services/AgentConversationsService.d.ts +97 -0
- package/dist/openapi_client/services/AgentConversationsService.js +217 -0
- package/dist/openapi_client/services/{AssistantSurfacesIngressService.d.ts → AgentSurfacesIngressService.d.ts} +2 -2
- package/dist/openapi_client/services/{AssistantSurfacesIngressService.js → AgentSurfacesIngressService.js} +2 -2
- package/dist/openapi_client/services/{AssistantSurfacesService.d.ts → AgentSurfacesService.d.ts} +11 -11
- package/dist/openapi_client/services/{AssistantSurfacesService.js → AgentSurfacesService.js} +10 -10
- package/dist/openapi_client/services/AgentToolsService.d.ts +24 -4
- package/dist/openapi_client/services/AgentToolsService.js +40 -4
- package/dist/openapi_client/services/AgentsService.d.ts +7 -7
- package/dist/openapi_client/services/AgentsService.js +8 -8
- package/dist/openapi_client/services/ApplicationsService.d.ts +10 -9
- package/dist/openapi_client/services/ApplicationsService.js +11 -10
- package/dist/openapi_client/services/FilesService.d.ts +17 -8
- package/dist/openapi_client/services/FilesService.js +25 -8
- package/dist/openapi_client/services/IntegrationsService.d.ts +3 -2
- package/dist/openapi_client/services/IntegrationsService.js +4 -2
- package/dist/openapi_client/services/OrganizationsService.d.ts +18 -0
- package/dist/openapi_client/services/OrganizationsService.js +40 -0
- package/dist/openapi_client/services/WorkflowsService.d.ts +10 -0
- package/dist/openapi_client/services/WorkflowsService.js +21 -0
- package/dist/react/useAgentRun.d.ts +28 -7
- package/dist/react/useAgentRun.js +120 -27
- package/dist/react/useAssistantController.d.ts +6 -2
- package/dist/react/useAssistantController.js +57 -14
- package/dist/react/useAssistantSession.d.ts +15 -3
- package/dist/react/useAssistantSession.js +19 -15
- package/dist/react/useConversationMessages.d.ts +6 -2
- package/dist/react/useConversationMessages.js +2 -1
- package/dist/react/useConversations.d.ts +6 -2
- package/dist/react/useConversations.js +7 -5
- package/dist/react/useCreateFolder.d.ts +4 -2
- package/dist/react/useCreateFolder.js +6 -3
- package/dist/react/useDeleteFile.d.ts +4 -1
- package/dist/react/useDeleteFile.js +3 -3
- package/dist/react/useFile.d.ts +4 -2
- package/dist/react/useFile.js +3 -3
- package/dist/react/useFilePreview.d.ts +4 -1
- package/dist/react/useFilePreview.js +5 -4
- package/dist/react/useFileTree.d.ts +4 -2
- package/dist/react/useFileTree.js +3 -2
- package/dist/react/useFiles.d.ts +4 -2
- package/dist/react/useFiles.js +5 -3
- package/dist/react/useUpdateFile.d.ts +4 -2
- package/dist/react/useUpdateFile.js +6 -3
- package/dist/react/useUploadFile.d.ts +4 -2
- package/dist/react/useUploadFile.js +6 -3
- package/dist/react/useWorkflowRun.js +1 -1
- package/dist/react/useWorkflowStart.js +1 -1
- package/dist/run-utils.d.ts +2 -1
- package/dist/types.d.ts +62 -6
- package/package.json +1 -1
- package/dist/namespaces/assistants.d.ts +0 -96
- package/dist/namespaces/assistants.js +0 -160
- package/dist/openapi_client/models/AddMessageRequest.d.ts +0 -6
- package/dist/openapi_client/models/AppDescriptorResponse.d.ts +0 -5
- package/dist/openapi_client/models/AssistantListResponse.d.ts +0 -6
- package/dist/openapi_client/models/AssistantResponse.d.ts +0 -23
- package/dist/openapi_client/models/AssistantSurfaceListResponse.d.ts +0 -6
- package/dist/openapi_client/models/AssistantSurfaceStatus.js +0 -10
- package/dist/openapi_client/models/AvailableModelInfo.d.ts +0 -8
- package/dist/openapi_client/models/AvailableModels.js +0 -15
- package/dist/openapi_client/models/AvailableModelsListResponse.d.ts +0 -7
- package/dist/openapi_client/models/ConversationMessageListResponse.d.ts +0 -6
- package/dist/openapi_client/models/ConversationMessageResponse.d.ts +0 -19
- package/dist/openapi_client/models/ConversationStatus.d.ts +0 -7
- package/dist/openapi_client/models/ConversationStatus.js +0 -12
- package/dist/openapi_client/models/ConversationType.d.ts +0 -8
- package/dist/openapi_client/models/ConversationType.js +0 -13
- package/dist/openapi_client/models/CreateAssistantRequest.d.ts +0 -18
- package/dist/openapi_client/models/CreateMessageRequest.d.ts +0 -6
- package/dist/openapi_client/models/CreateTaskRequest.d.ts +0 -10
- package/dist/openapi_client/models/FileVisibility.d.ts +0 -4
- package/dist/openapi_client/models/FileVisibility.js +0 -9
- package/dist/openapi_client/models/OperationListResponse.d.ts +0 -6
- package/dist/openapi_client/models/TaskListResponse.d.ts +0 -9
- package/dist/openapi_client/models/TaskMessageListResponse.d.ts +0 -9
- package/dist/openapi_client/models/TaskMessageResponse.d.ts +0 -15
- package/dist/openapi_client/models/TaskResponse.d.ts +0 -16
- package/dist/openapi_client/models/TaskResponse.js +0 -1
- package/dist/openapi_client/models/TaskStatus.d.ts +0 -12
- package/dist/openapi_client/models/TaskStatus.js +0 -17
- package/dist/openapi_client/models/ToolCallRequest.js +0 -1
- package/dist/openapi_client/models/ToolCallResponse.js +0 -1
- package/dist/openapi_client/models/ToolSet.js +0 -19
- package/dist/openapi_client/models/UpdateAssistantRequest.d.ts +0 -17
- package/dist/openapi_client/models/UpdateAssistantRequest.js +0 -1
- package/dist/openapi_client/services/AssistantsService.d.ts +0 -49
- package/dist/openapi_client/services/AssistantsService.js +0 -112
- package/dist/openapi_client/services/ConversationsService.d.ts +0 -88
- package/dist/openapi_client/services/ConversationsService.js +0 -202
- package/dist/openapi_client/services/TasksService.d.ts +0 -76
- package/dist/openapi_client/services/TasksService.js +0 -167
- /package/dist/openapi_client/models/{AddMessageRequest.js → AgentSurfaceListResponse.js} +0 -0
- /package/dist/openapi_client/models/{AppDescriptorResponse.js → AgentSurfaceResponse.js} +0 -0
- /package/dist/openapi_client/models/{AssistantListResponse.js → IntegrationHelperAgentRequest.js} +0 -0
- /package/dist/openapi_client/models/{AssistantResponse.js → IntegrationHelperAgentResponse.js} +0 -0
- /package/dist/openapi_client/models/{AssistantSurfaceListResponse.js → MessageListResponse.js} +0 -0
- /package/dist/openapi_client/models/{AssistantSurfaceResponse.js → MessageResponse.js} +0 -0
- /package/dist/openapi_client/models/{AvailableModelInfo.js → OperationDetailsBatchRequest.js} +0 -0
- /package/dist/openapi_client/models/{AvailableModelsListResponse.js → OperationDetailsBatchResponse.js} +0 -0
- /package/dist/openapi_client/models/{ConversationMessageListResponse.js → OperationDiscoverResponse.js} +0 -0
- /package/dist/openapi_client/models/{ConversationMessageResponse.js → OrganizationSlugAvailabilityResponse.js} +0 -0
- /package/dist/openapi_client/models/{CreateAssistantRequest.js → ReportFeedbackRequest.js} +0 -0
- /package/dist/openapi_client/models/{CreateMessageRequest.js → ReportFeedbackResponse.js} +0 -0
- /package/dist/openapi_client/models/{CreateTaskRequest.js → SendMessageRequest.js} +0 -0
- /package/dist/openapi_client/models/{OperationListResponse.js → ToolCallContent.js} +0 -0
- /package/dist/openapi_client/models/{TableAccessEntry.js → ToolReturnContent.js} +0 -0
- /package/dist/openapi_client/models/{TaskListResponse.js → WorkflowInstallListResponse.js} +0 -0
- /package/dist/openapi_client/models/{TaskMessageListResponse.js → app__modules__agent__domain__value_objects__TableAccessEntry.js} +0 -0
- /package/dist/openapi_client/models/{TaskMessageResponse.js → app__modules__function__api__schemas__function_schemas__TableAccessEntry.js} +0 -0
package/dist/namespaces/tasks.js
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
function toTask(conversation, inputData) {
|
|
2
|
+
return {
|
|
3
|
+
id: conversation.id,
|
|
4
|
+
agent_id: conversation.agent_id,
|
|
5
|
+
pod_id: conversation.pod_id,
|
|
6
|
+
user_id: conversation.user_id,
|
|
7
|
+
input_data: inputData ?? null,
|
|
8
|
+
output_data: null,
|
|
9
|
+
error: null,
|
|
10
|
+
status: conversation.status?.toUpperCase() ?? "WAITING",
|
|
11
|
+
created_at: conversation.created_at,
|
|
12
|
+
updated_at: conversation.updated_at,
|
|
13
|
+
conversation,
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function normalizeConversation(conversation) {
|
|
17
|
+
return {
|
|
18
|
+
...conversation,
|
|
19
|
+
model: conversation.model ?? conversation.model_name ?? null,
|
|
20
|
+
status: conversation.status ?? "waiting",
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function normalizeMessages(messages) {
|
|
24
|
+
return messages;
|
|
25
|
+
}
|
|
1
26
|
export class TasksNamespace {
|
|
2
27
|
http;
|
|
3
28
|
podId;
|
|
@@ -6,27 +31,41 @@ export class TasksNamespace {
|
|
|
6
31
|
this.podId = podId;
|
|
7
32
|
}
|
|
8
33
|
list(options = {}) {
|
|
9
|
-
return this.http.request("GET", `/pods/${this.podId()}/
|
|
34
|
+
return this.http.request("GET", `/pods/${this.podId()}/conversations`, {
|
|
10
35
|
params: {
|
|
11
36
|
agent_name: options.agent_name,
|
|
12
37
|
limit: options.limit ?? 100,
|
|
13
38
|
page_token: options.page_token,
|
|
14
39
|
},
|
|
40
|
+
}).then((response) => {
|
|
41
|
+
const conversations = (response.items ?? []).map(normalizeConversation);
|
|
42
|
+
return {
|
|
43
|
+
items: conversations.map((conversation) => toTask(conversation)),
|
|
44
|
+
limit: response.limit ?? options.limit ?? 100,
|
|
45
|
+
next_page_token: response.next_page_token ?? null,
|
|
46
|
+
total: response.total,
|
|
47
|
+
};
|
|
15
48
|
});
|
|
16
49
|
}
|
|
17
50
|
create(payload) {
|
|
18
|
-
return this.http.request("POST", `/pods/${this.podId()}/
|
|
19
|
-
body:
|
|
20
|
-
|
|
51
|
+
return this.http.request("POST", `/pods/${this.podId()}/conversations`, {
|
|
52
|
+
body: {
|
|
53
|
+
agent_name: payload.agent_name,
|
|
54
|
+
title: payload.title ?? payload.content ?? payload.agent_name,
|
|
55
|
+
},
|
|
56
|
+
}).then((conversation) => toTask(normalizeConversation(conversation), payload.input_data));
|
|
21
57
|
}
|
|
22
58
|
get(taskId) {
|
|
23
|
-
return this.http.request("GET", `/pods/${this.podId()}/
|
|
59
|
+
return this.http.request("GET", `/pods/${this.podId()}/conversations/${taskId}`)
|
|
60
|
+
.then((conversation) => toTask(normalizeConversation(conversation)));
|
|
24
61
|
}
|
|
25
62
|
stop(taskId) {
|
|
26
|
-
return this.http.request("
|
|
63
|
+
return this.http.request("POST", `/pods/${this.podId()}/conversations/${taskId}/stop`, {
|
|
64
|
+
body: {},
|
|
65
|
+
}).then((conversation) => toTask(normalizeConversation(conversation)));
|
|
27
66
|
}
|
|
28
67
|
stream(taskId, options = {}) {
|
|
29
|
-
return this.http.stream(`/pods/${this.podId()}/
|
|
68
|
+
return this.http.stream(`/pods/${this.podId()}/conversations/${taskId}/stream`, {
|
|
30
69
|
signal: options.signal,
|
|
31
70
|
headers: {
|
|
32
71
|
Accept: "text/event-stream",
|
|
@@ -34,16 +73,19 @@ export class TasksNamespace {
|
|
|
34
73
|
});
|
|
35
74
|
}
|
|
36
75
|
messages = {
|
|
37
|
-
list: (taskId, options = {}) => this.http.request("GET", `/pods/${this.podId()}/
|
|
76
|
+
list: (taskId, options = {}) => this.http.request("GET", `/pods/${this.podId()}/conversations/${taskId}/messages`, {
|
|
38
77
|
params: {
|
|
39
78
|
limit: options.limit ?? 100,
|
|
40
|
-
|
|
79
|
+
after_sequence: options.page_token,
|
|
41
80
|
},
|
|
42
|
-
})
|
|
81
|
+
}).then((response) => ({
|
|
82
|
+
...response,
|
|
83
|
+
items: normalizeMessages(response.items ?? []),
|
|
84
|
+
})),
|
|
43
85
|
add: (taskId, payload) => {
|
|
44
|
-
return this.http.request("POST", `/pods/${this.podId()}/
|
|
86
|
+
return this.http.request("POST", `/pods/${this.podId()}/conversations/${taskId}/messages`, {
|
|
45
87
|
body: payload,
|
|
46
|
-
});
|
|
88
|
+
}).then(() => this.get(taskId));
|
|
47
89
|
},
|
|
48
90
|
};
|
|
49
91
|
}
|
|
@@ -6,16 +6,21 @@ export type { AccountCredentialsResponseSchema } from './models/AccountCredentia
|
|
|
6
6
|
export type { AccountListResponseSchema } from './models/AccountListResponseSchema.js';
|
|
7
7
|
export type { AccountResponseSchema } from './models/AccountResponseSchema.js';
|
|
8
8
|
export type { AddColumnRequest } from './models/AddColumnRequest.js';
|
|
9
|
-
export type { AddMessageRequest } from './models/AddMessageRequest.js';
|
|
10
9
|
export type { AdminConsentInfoResponse } from './models/AdminConsentInfoResponse.js';
|
|
11
10
|
export type { AgentListResponse } from './models/AgentListResponse.js';
|
|
12
11
|
export type { AgentMessageResponse } from './models/AgentMessageResponse.js';
|
|
12
|
+
export { AgentModelName } from './models/AgentModelName.js';
|
|
13
13
|
export type { AgentNode } from './models/AgentNode.js';
|
|
14
14
|
export type { AgentNodeConfig } from './models/AgentNodeConfig.js';
|
|
15
15
|
export type { AgentNodeResponse } from './models/AgentNodeResponse.js';
|
|
16
16
|
export type { AgentResponse } from './models/AgentResponse.js';
|
|
17
|
+
export type { AgentSurfaceListResponse } from './models/AgentSurfaceListResponse.js';
|
|
18
|
+
export type { AgentSurfaceResponse } from './models/AgentSurfaceResponse.js';
|
|
19
|
+
export { AgentSurfaceStatus } from './models/AgentSurfaceStatus.js';
|
|
20
|
+
export { AgentToolset } from './models/AgentToolset.js';
|
|
17
21
|
export type { ApiKeyCredentialsResponseSchema } from './models/ApiKeyCredentialsResponseSchema.js';
|
|
18
|
-
export type {
|
|
22
|
+
export type { app__modules__agent__domain__value_objects__TableAccessEntry } from './models/app__modules__agent__domain__value_objects__TableAccessEntry.js';
|
|
23
|
+
export type { app__modules__function__api__schemas__function_schemas__TableAccessEntry } from './models/app__modules__function__api__schemas__function_schemas__TableAccessEntry.js';
|
|
19
24
|
export type { ApplicationAccessConfig } from './models/ApplicationAccessConfig.js';
|
|
20
25
|
export type { ApplicationDetailResponseSchema } from './models/ApplicationDetailResponseSchema.js';
|
|
21
26
|
export type { ApplicationListResponseSchema } from './models/ApplicationListResponseSchema.js';
|
|
@@ -23,14 +28,6 @@ export { ApplicationMode } from './models/ApplicationMode.js';
|
|
|
23
28
|
export type { ApplicationResponseSchema } from './models/ApplicationResponseSchema.js';
|
|
24
29
|
export type { AppTriggerListResponseSchema } from './models/AppTriggerListResponseSchema.js';
|
|
25
30
|
export type { AppTriggerResponseSchema } from './models/AppTriggerResponseSchema.js';
|
|
26
|
-
export type { AssistantListResponse } from './models/AssistantListResponse.js';
|
|
27
|
-
export type { AssistantResponse } from './models/AssistantResponse.js';
|
|
28
|
-
export type { AssistantSurfaceListResponse } from './models/AssistantSurfaceListResponse.js';
|
|
29
|
-
export type { AssistantSurfaceResponse } from './models/AssistantSurfaceResponse.js';
|
|
30
|
-
export { AssistantSurfaceStatus } from './models/AssistantSurfaceStatus.js';
|
|
31
|
-
export type { AvailableModelInfo } from './models/AvailableModelInfo.js';
|
|
32
|
-
export { AvailableModels } from './models/AvailableModels.js';
|
|
33
|
-
export type { AvailableModelsListResponse } from './models/AvailableModelsListResponse.js';
|
|
34
31
|
export { BillingInterval } from './models/BillingInterval.js';
|
|
35
32
|
export type { Body_upload_file_files__resource_type___resource_id__upload_post } from './models/Body_upload_file_files__resource_type___resource_id__upload_post.js';
|
|
36
33
|
export type { BulkCreateRecordsRequest } from './models/BulkCreateRecordsRequest.js';
|
|
@@ -41,24 +38,17 @@ export type { ColumnSchema } from './models/ColumnSchema.js';
|
|
|
41
38
|
export type { ConnectRequestInitiateSchema } from './models/ConnectRequestInitiateSchema.js';
|
|
42
39
|
export type { ConnectRequestResponseSchema } from './models/ConnectRequestResponseSchema.js';
|
|
43
40
|
export type { ConversationListResponse } from './models/ConversationListResponse.js';
|
|
44
|
-
export type { ConversationMessageListResponse } from './models/ConversationMessageListResponse.js';
|
|
45
|
-
export type { ConversationMessageResponse } from './models/ConversationMessageResponse.js';
|
|
46
41
|
export type { ConversationResponse } from './models/ConversationResponse.js';
|
|
47
|
-
export { ConversationStatus } from './models/ConversationStatus.js';
|
|
48
|
-
export { ConversationType } from './models/ConversationType.js';
|
|
49
42
|
export type { ConvertedArtifactResponse } from './models/ConvertedArtifactResponse.js';
|
|
50
43
|
export type { ConvertedFileResponse } from './models/ConvertedFileResponse.js';
|
|
51
44
|
export type { CreateAgentRequest } from './models/CreateAgentRequest.js';
|
|
52
|
-
export type { CreateAssistantRequest } from './models/CreateAssistantRequest.js';
|
|
53
45
|
export type { CreateConversationRequest } from './models/CreateConversationRequest.js';
|
|
54
46
|
export type { CreateDeskRequest } from './models/CreateDeskRequest.js';
|
|
55
47
|
export type { CreateFolderRequest } from './models/CreateFolderRequest.js';
|
|
56
48
|
export type { CreateFunctionRequest } from './models/CreateFunctionRequest.js';
|
|
57
|
-
export type { CreateMessageRequest } from './models/CreateMessageRequest.js';
|
|
58
49
|
export type { CreateRecordRequest } from './models/CreateRecordRequest.js';
|
|
59
50
|
export type { CreateSurfaceRequest } from './models/CreateSurfaceRequest.js';
|
|
60
51
|
export type { CreateTableRequest } from './models/CreateTableRequest.js';
|
|
61
|
-
export type { CreateTaskRequest } from './models/CreateTaskRequest.js';
|
|
62
52
|
export type { CreateTriggerRequest } from './models/CreateTriggerRequest.js';
|
|
63
53
|
export { CredentialTypes } from './models/CredentialTypes.js';
|
|
64
54
|
export { DatastoreDataType } from './models/DatastoreDataType.js';
|
|
@@ -92,15 +82,16 @@ export type { EventWorkflowStartInput } from './models/EventWorkflowStartInput.j
|
|
|
92
82
|
export type { EventWorkflowStartOutput } from './models/EventWorkflowStartOutput.js';
|
|
93
83
|
export type { ExecuteFunctionRequest } from './models/ExecuteFunctionRequest.js';
|
|
94
84
|
export type { ExpressionInputBinding } from './models/ExpressionInputBinding.js';
|
|
85
|
+
export { FeedbackCategory } from './models/FeedbackCategory.js';
|
|
95
86
|
export { FileInfo } from './models/FileInfo.js';
|
|
96
87
|
export type { FileListResponse } from './models/FileListResponse.js';
|
|
88
|
+
export { FileNamespace } from './models/FileNamespace.js';
|
|
97
89
|
export type { FileResponse } from './models/FileResponse.js';
|
|
98
90
|
export type { FileSearchRequest } from './models/FileSearchRequest.js';
|
|
99
91
|
export type { FileSearchResponse } from './models/FileSearchResponse.js';
|
|
100
92
|
export type { FileSearchResultSchema } from './models/FileSearchResultSchema.js';
|
|
101
93
|
export { FileSearchScopeMode } from './models/FileSearchScopeMode.js';
|
|
102
94
|
export type { FileUploadResponse } from './models/FileUploadResponse.js';
|
|
103
|
-
export { FileVisibility } from './models/FileVisibility.js';
|
|
104
95
|
export type { FlowInstallResponse } from './models/FlowInstallResponse.js';
|
|
105
96
|
export type { FlowResponse } from './models/FlowResponse.js';
|
|
106
97
|
export type { FlowRunEntity } from './models/FlowRunEntity.js';
|
|
@@ -123,22 +114,29 @@ export { FunctionType } from './models/FunctionType.js';
|
|
|
123
114
|
export type { GmailSurfaceConfig } from './models/GmailSurfaceConfig.js';
|
|
124
115
|
export type { GmailSurfaceConfigInput } from './models/GmailSurfaceConfigInput.js';
|
|
125
116
|
export type { GrantPermissionRequest } from './models/GrantPermissionRequest.js';
|
|
117
|
+
export { HarnessKind } from './models/HarnessKind.js';
|
|
126
118
|
export type { HTTPValidationError } from './models/HTTPValidationError.js';
|
|
127
119
|
export type { IconUploadRequest } from './models/IconUploadRequest.js';
|
|
128
120
|
export type { IconUploadResponse } from './models/IconUploadResponse.js';
|
|
121
|
+
export type { IntegrationHelperAgentRequest } from './models/IntegrationHelperAgentRequest.js';
|
|
122
|
+
export type { IntegrationHelperAgentResponse } from './models/IntegrationHelperAgentResponse.js';
|
|
129
123
|
export type { LiteralInputBinding } from './models/LiteralInputBinding.js';
|
|
130
124
|
export type { LoopNode } from './models/LoopNode.js';
|
|
131
125
|
export type { LoopNodeConfig } from './models/LoopNodeConfig.js';
|
|
132
126
|
export type { LoopNodeResponse } from './models/LoopNodeResponse.js';
|
|
133
127
|
export type { ManualWorkflowStartInput } from './models/ManualWorkflowStartInput.js';
|
|
134
128
|
export type { ManualWorkflowStartOutput } from './models/ManualWorkflowStartOutput.js';
|
|
129
|
+
export type { MessageListResponse } from './models/MessageListResponse.js';
|
|
130
|
+
export type { MessageResponse } from './models/MessageResponse.js';
|
|
135
131
|
export type { MessageResponseSchema } from './models/MessageResponseSchema.js';
|
|
136
132
|
export type { NotificationContent } from './models/NotificationContent.js';
|
|
137
133
|
export type { OauthCredentialsResponseSchema } from './models/OauthCredentialsResponseSchema.js';
|
|
138
134
|
export type { OperationDetail } from './models/OperationDetail.js';
|
|
135
|
+
export type { OperationDetailsBatchRequest } from './models/OperationDetailsBatchRequest.js';
|
|
136
|
+
export type { OperationDetailsBatchResponse } from './models/OperationDetailsBatchResponse.js';
|
|
137
|
+
export type { OperationDiscoverResponse } from './models/OperationDiscoverResponse.js';
|
|
139
138
|
export type { OperationExecutionRequest } from './models/OperationExecutionRequest.js';
|
|
140
139
|
export type { OperationExecutionResponse } from './models/OperationExecutionResponse.js';
|
|
141
|
-
export type { OperationListResponse } from './models/OperationListResponse.js';
|
|
142
140
|
export type { OperationSummary } from './models/OperationSummary.js';
|
|
143
141
|
export type { OrganizationCreateRequest } from './models/OrganizationCreateRequest.js';
|
|
144
142
|
export type { OrganizationInvitationListResponse } from './models/OrganizationInvitationListResponse.js';
|
|
@@ -151,6 +149,7 @@ export type { OrganizationMemberResponse } from './models/OrganizationMemberResp
|
|
|
151
149
|
export type { OrganizationMessageResponse } from './models/OrganizationMessageResponse.js';
|
|
152
150
|
export type { OrganizationResponse } from './models/OrganizationResponse.js';
|
|
153
151
|
export { OrganizationRole } from './models/OrganizationRole.js';
|
|
152
|
+
export type { OrganizationSlugAvailabilityResponse } from './models/OrganizationSlugAvailabilityResponse.js';
|
|
154
153
|
export type { OutlookSurfaceConfig } from './models/OutlookSurfaceConfig.js';
|
|
155
154
|
export type { OutlookSurfaceConfigInput } from './models/OutlookSurfaceConfigInput.js';
|
|
156
155
|
export type { PlanListResponse } from './models/PlanListResponse.js';
|
|
@@ -177,6 +176,8 @@ export type { PodUpdateRequest } from './models/PodUpdateRequest.js';
|
|
|
177
176
|
export type { RecentUsageResponse } from './models/RecentUsageResponse.js';
|
|
178
177
|
export type { RecordListResponse } from './models/RecordListResponse.js';
|
|
179
178
|
export type { RecordResponse } from './models/RecordResponse.js';
|
|
179
|
+
export type { ReportFeedbackRequest } from './models/ReportFeedbackRequest.js';
|
|
180
|
+
export type { ReportFeedbackResponse } from './models/ReportFeedbackResponse.js';
|
|
180
181
|
export type { ResourceFileListResponse } from './models/ResourceFileListResponse.js';
|
|
181
182
|
export type { ResourcePermissionListResponse } from './models/ResourcePermissionListResponse.js';
|
|
182
183
|
export type { ResourcePermissionResponse } from './models/ResourcePermissionResponse.js';
|
|
@@ -189,6 +190,7 @@ export type { ScheduledWorkflowStartOutput } from './models/ScheduledWorkflowSta
|
|
|
189
190
|
export { SearchMethod } from './models/SearchMethod.js';
|
|
190
191
|
export type { SearchResult } from './models/SearchResult.js';
|
|
191
192
|
export type { SeatInfoResponse } from './models/SeatInfoResponse.js';
|
|
193
|
+
export type { SendMessageRequest } from './models/SendMessageRequest.js';
|
|
192
194
|
export type { SetVisibilityRequest } from './models/SetVisibilityRequest.js';
|
|
193
195
|
export type { SlackCredentialsInput } from './models/SlackCredentialsInput.js';
|
|
194
196
|
export type { SlackSurfaceConfig } from './models/SlackSurfaceConfig.js';
|
|
@@ -211,15 +213,9 @@ export { SurfaceSetupMode } from './models/SurfaceSetupMode.js';
|
|
|
211
213
|
export { SurfaceSetupPhase } from './models/SurfaceSetupPhase.js';
|
|
212
214
|
export type { SurfaceSetupStep } from './models/SurfaceSetupStep.js';
|
|
213
215
|
export { SurfaceWebhookMode } from './models/SurfaceWebhookMode.js';
|
|
214
|
-
export type { TableAccessEntry } from './models/TableAccessEntry.js';
|
|
215
216
|
export { TableAccessMode } from './models/TableAccessMode.js';
|
|
216
217
|
export type { TableListResponse } from './models/TableListResponse.js';
|
|
217
218
|
export type { TableResponse } from './models/TableResponse.js';
|
|
218
|
-
export type { TaskListResponse } from './models/TaskListResponse.js';
|
|
219
|
-
export type { TaskMessageListResponse } from './models/TaskMessageListResponse.js';
|
|
220
|
-
export type { TaskMessageResponse } from './models/TaskMessageResponse.js';
|
|
221
|
-
export type { TaskResponse } from './models/TaskResponse.js';
|
|
222
|
-
export { TaskStatus } from './models/TaskStatus.js';
|
|
223
219
|
export type { TeamsCredentialsInput } from './models/TeamsCredentialsInput.js';
|
|
224
220
|
export type { TeamsSurfaceConfig } from './models/TeamsSurfaceConfig.js';
|
|
225
221
|
export type { TeamsSurfaceConfigInput } from './models/TeamsSurfaceConfigInput.js';
|
|
@@ -229,15 +225,13 @@ export type { TelegramSurfaceConfigInput } from './models/TelegramSurfaceConfigI
|
|
|
229
225
|
export type { TextContent } from './models/TextContent.js';
|
|
230
226
|
export type { ThinkingContent } from './models/ThinkingContent.js';
|
|
231
227
|
export type { ToggleSurfaceRequest } from './models/ToggleSurfaceRequest.js';
|
|
232
|
-
export type {
|
|
233
|
-
export type {
|
|
234
|
-
export { ToolSet } from './models/ToolSet.js';
|
|
228
|
+
export type { ToolCallContent } from './models/ToolCallContent.js';
|
|
229
|
+
export type { ToolReturnContent } from './models/ToolReturnContent.js';
|
|
235
230
|
export type { TriggerListResponse } from './models/TriggerListResponse.js';
|
|
236
231
|
export type { TriggerResponse } from './models/TriggerResponse.js';
|
|
237
232
|
export { TriggerType } from './models/TriggerType.js';
|
|
238
233
|
export type { update } from './models/update.js';
|
|
239
234
|
export type { UpdateAgentRequest } from './models/UpdateAgentRequest.js';
|
|
240
|
-
export type { UpdateAssistantRequest } from './models/UpdateAssistantRequest.js';
|
|
241
235
|
export type { UpdateConversationRequest } from './models/UpdateConversationRequest.js';
|
|
242
236
|
export type { UpdateDeskRequest } from './models/UpdateDeskRequest.js';
|
|
243
237
|
export type { UpdateFunctionRequest } from './models/UpdateFunctionRequest.js';
|
|
@@ -265,25 +259,25 @@ export type { WhatsAppSurfaceConfigInput } from './models/WhatsAppSurfaceConfigI
|
|
|
265
259
|
export type { WorkflowCreateRequest } from './models/WorkflowCreateRequest.js';
|
|
266
260
|
export type { WorkflowEdge } from './models/WorkflowEdge.js';
|
|
267
261
|
export type { WorkflowGraphUpdateRequest } from './models/WorkflowGraphUpdateRequest.js';
|
|
262
|
+
export type { WorkflowInstallListResponse } from './models/WorkflowInstallListResponse.js';
|
|
268
263
|
export { WorkflowInstallMode } from './models/WorkflowInstallMode.js';
|
|
269
264
|
export type { WorkflowInstallRequest } from './models/WorkflowInstallRequest.js';
|
|
270
265
|
export type { WorkflowListResponse } from './models/WorkflowListResponse.js';
|
|
271
266
|
export type { WorkflowRunListResponse } from './models/WorkflowRunListResponse.js';
|
|
272
267
|
export type { WorkflowTimeInstallConfig } from './models/WorkflowTimeInstallConfig.js';
|
|
273
268
|
export type { WorkflowUpdateRequest } from './models/WorkflowUpdateRequest.js';
|
|
269
|
+
export { AgentConversationsService } from './services/AgentConversationsService.js';
|
|
274
270
|
export { AgentFilesService } from './services/AgentFilesService.js';
|
|
275
271
|
export { AgentsService } from './services/AgentsService.js';
|
|
272
|
+
export { AgentSurfacesService } from './services/AgentSurfacesService.js';
|
|
273
|
+
export { AgentSurfacesIngressService } from './services/AgentSurfacesIngressService.js';
|
|
276
274
|
export { AgentToolsService } from './services/AgentToolsService.js';
|
|
277
275
|
export { ApplicationsService } from './services/ApplicationsService.js';
|
|
278
|
-
export { AssistantsService } from './services/AssistantsService.js';
|
|
279
|
-
export { AssistantSurfacesService } from './services/AssistantSurfacesService.js';
|
|
280
|
-
export { AssistantSurfacesIngressService } from './services/AssistantSurfacesIngressService.js';
|
|
281
276
|
export { AuthService } from './services/AuthService.js';
|
|
282
277
|
export { AuthorizationService } from './services/AuthorizationService.js';
|
|
283
278
|
export { BillingSubscriptionsService } from './services/BillingSubscriptionsService.js';
|
|
284
279
|
export { BillingUsageService } from './services/BillingUsageService.js';
|
|
285
280
|
export { BillingWebhooksService } from './services/BillingWebhooksService.js';
|
|
286
|
-
export { ConversationsService } from './services/ConversationsService.js';
|
|
287
281
|
export { DefaultService } from './services/DefaultService.js';
|
|
288
282
|
export { DesksService } from './services/DesksService.js';
|
|
289
283
|
export { FilesService } from './services/FilesService.js';
|
|
@@ -297,7 +291,6 @@ export { PodsService } from './services/PodsService.js';
|
|
|
297
291
|
export { QueryService } from './services/QueryService.js';
|
|
298
292
|
export { RecordsService } from './services/RecordsService.js';
|
|
299
293
|
export { TablesService } from './services/TablesService.js';
|
|
300
|
-
export { TasksService } from './services/TasksService.js';
|
|
301
294
|
export { TriggersService } from './services/TriggersService.js';
|
|
302
295
|
export { UsersService } from './services/UsersService.js';
|
|
303
296
|
export { WebhooksService } from './services/WebhooksService.js';
|
|
@@ -5,23 +5,24 @@
|
|
|
5
5
|
export { ApiError } from './core/ApiError.js';
|
|
6
6
|
export { CancelablePromise, CancelError } from './core/CancelablePromise.js';
|
|
7
7
|
export { OpenAPI } from './core/OpenAPI.js';
|
|
8
|
+
export { AgentModelName } from './models/AgentModelName.js';
|
|
9
|
+
export { AgentSurfaceStatus } from './models/AgentSurfaceStatus.js';
|
|
10
|
+
export { AgentToolset } from './models/AgentToolset.js';
|
|
8
11
|
export { ApplicationMode } from './models/ApplicationMode.js';
|
|
9
|
-
export { AssistantSurfaceStatus } from './models/AssistantSurfaceStatus.js';
|
|
10
|
-
export { AvailableModels } from './models/AvailableModels.js';
|
|
11
12
|
export { BillingInterval } from './models/BillingInterval.js';
|
|
12
|
-
export { ConversationStatus } from './models/ConversationStatus.js';
|
|
13
|
-
export { ConversationType } from './models/ConversationType.js';
|
|
14
13
|
export { CredentialTypes } from './models/CredentialTypes.js';
|
|
15
14
|
export { DatastoreDataType } from './models/DatastoreDataType.js';
|
|
16
15
|
export { DatastoreOperation } from './models/DatastoreOperation.js';
|
|
17
16
|
export { DeskStatus } from './models/DeskStatus.js';
|
|
17
|
+
export { FeedbackCategory } from './models/FeedbackCategory.js';
|
|
18
18
|
export { FileInfo } from './models/FileInfo.js';
|
|
19
|
+
export { FileNamespace } from './models/FileNamespace.js';
|
|
19
20
|
export { FileSearchScopeMode } from './models/FileSearchScopeMode.js';
|
|
20
|
-
export { FileVisibility } from './models/FileVisibility.js';
|
|
21
21
|
export { FlowRunStatus } from './models/FlowRunStatus.js';
|
|
22
22
|
export { FunctionRunStatus } from './models/FunctionRunStatus.js';
|
|
23
23
|
export { FunctionStatus } from './models/FunctionStatus.js';
|
|
24
24
|
export { FunctionType } from './models/FunctionType.js';
|
|
25
|
+
export { HarnessKind } from './models/HarnessKind.js';
|
|
25
26
|
export { OrganizationInvitationStatus } from './models/OrganizationInvitationStatus.js';
|
|
26
27
|
export { OrganizationRole } from './models/OrganizationRole.js';
|
|
27
28
|
export { PodAppMode } from './models/PodAppMode.js';
|
|
@@ -39,23 +40,20 @@ export { SurfaceSetupMode } from './models/SurfaceSetupMode.js';
|
|
|
39
40
|
export { SurfaceSetupPhase } from './models/SurfaceSetupPhase.js';
|
|
40
41
|
export { SurfaceWebhookMode } from './models/SurfaceWebhookMode.js';
|
|
41
42
|
export { TableAccessMode } from './models/TableAccessMode.js';
|
|
42
|
-
export { TaskStatus } from './models/TaskStatus.js';
|
|
43
|
-
export { ToolSet } from './models/ToolSet.js';
|
|
44
43
|
export { TriggerType } from './models/TriggerType.js';
|
|
45
44
|
export { WorkflowInstallMode } from './models/WorkflowInstallMode.js';
|
|
45
|
+
export { AgentConversationsService } from './services/AgentConversationsService.js';
|
|
46
46
|
export { AgentFilesService } from './services/AgentFilesService.js';
|
|
47
47
|
export { AgentsService } from './services/AgentsService.js';
|
|
48
|
+
export { AgentSurfacesService } from './services/AgentSurfacesService.js';
|
|
49
|
+
export { AgentSurfacesIngressService } from './services/AgentSurfacesIngressService.js';
|
|
48
50
|
export { AgentToolsService } from './services/AgentToolsService.js';
|
|
49
51
|
export { ApplicationsService } from './services/ApplicationsService.js';
|
|
50
|
-
export { AssistantsService } from './services/AssistantsService.js';
|
|
51
|
-
export { AssistantSurfacesService } from './services/AssistantSurfacesService.js';
|
|
52
|
-
export { AssistantSurfacesIngressService } from './services/AssistantSurfacesIngressService.js';
|
|
53
52
|
export { AuthService } from './services/AuthService.js';
|
|
54
53
|
export { AuthorizationService } from './services/AuthorizationService.js';
|
|
55
54
|
export { BillingSubscriptionsService } from './services/BillingSubscriptionsService.js';
|
|
56
55
|
export { BillingUsageService } from './services/BillingUsageService.js';
|
|
57
56
|
export { BillingWebhooksService } from './services/BillingWebhooksService.js';
|
|
58
|
-
export { ConversationsService } from './services/ConversationsService.js';
|
|
59
57
|
export { DefaultService } from './services/DefaultService.js';
|
|
60
58
|
export { DesksService } from './services/DesksService.js';
|
|
61
59
|
export { FilesService } from './services/FilesService.js';
|
|
@@ -69,7 +67,6 @@ export { PodsService } from './services/PodsService.js';
|
|
|
69
67
|
export { QueryService } from './services/QueryService.js';
|
|
70
68
|
export { RecordsService } from './services/RecordsService.js';
|
|
71
69
|
export { TablesService } from './services/TablesService.js';
|
|
72
|
-
export { TasksService } from './services/TasksService.js';
|
|
73
70
|
export { TriggersService } from './services/TriggersService.js';
|
|
74
71
|
export { UsersService } from './services/UsersService.js';
|
|
75
72
|
export { WebhooksService } from './services/WebhooksService.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AgentSurfaceStatus } from './AgentSurfaceStatus.js';
|
|
2
2
|
export type AdminConsentInfoResponse = {
|
|
3
3
|
consent_url?: (string | null);
|
|
4
|
-
status:
|
|
4
|
+
status: AgentSurfaceStatus;
|
|
5
5
|
surface_id: string;
|
|
6
6
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { AgentResponse } from './AgentResponse.js';
|
|
2
|
-
/**
|
|
3
|
-
* Response schema for list of agents.
|
|
4
|
-
*/
|
|
5
2
|
export type AgentListResponse = {
|
|
6
3
|
items: Array<AgentResponse>;
|
|
7
|
-
|
|
4
|
+
limit: number;
|
|
5
|
+
next_page_token?: (string | null);
|
|
8
6
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Models that can be selected for an agent run.
|
|
7
|
+
*/
|
|
8
|
+
export var AgentModelName;
|
|
9
|
+
(function (AgentModelName) {
|
|
10
|
+
AgentModelName["GEMINI_PRO"] = "GEMINI_PRO";
|
|
11
|
+
AgentModelName["GEMINI_FLASH"] = "GEMINI_FLASH";
|
|
12
|
+
AgentModelName["GEMINI_FLASH_LITE"] = "GEMINI_FLASH_LITE";
|
|
13
|
+
AgentModelName["KIMI_K2"] = "KIMI_K2";
|
|
14
|
+
AgentModelName["GPT_OSS"] = "GPT_OSS";
|
|
15
|
+
AgentModelName["DEEPSEEK_V32"] = "DEEPSEEK_V32";
|
|
16
|
+
AgentModelName["GLM_5"] = "GLM_5";
|
|
17
|
+
AgentModelName["QWEN3_6"] = "QWEN3_6";
|
|
18
|
+
})(AgentModelName || (AgentModelName = {}));
|
|
@@ -1,23 +1,28 @@
|
|
|
1
|
+
import type { AgentModelName } from './AgentModelName.js';
|
|
2
|
+
import type { AgentToolset } from './AgentToolset.js';
|
|
3
|
+
import type { app__modules__agent__domain__value_objects__TableAccessEntry } from './app__modules__agent__domain__value_objects__TableAccessEntry.js';
|
|
1
4
|
import type { ApplicationAccessConfig } from './ApplicationAccessConfig.js';
|
|
2
|
-
import type {
|
|
3
|
-
import type { ToolSet } from './ToolSet.js';
|
|
4
|
-
/**
|
|
5
|
-
* Response schema for agent.
|
|
6
|
-
*/
|
|
5
|
+
import type { HarnessKind } from './HarnessKind.js';
|
|
7
6
|
export type AgentResponse = {
|
|
8
|
-
accessible_applications
|
|
9
|
-
accessible_folders
|
|
10
|
-
accessible_tables
|
|
7
|
+
accessible_applications?: Array<ApplicationAccessConfig>;
|
|
8
|
+
accessible_folders?: Array<string>;
|
|
9
|
+
accessible_tables?: Array<app__modules__agent__domain__value_objects__TableAccessEntry>;
|
|
10
|
+
agent_names?: Array<string>;
|
|
11
11
|
created_at: string;
|
|
12
|
-
description
|
|
13
|
-
|
|
12
|
+
description?: (string | null);
|
|
13
|
+
function_names?: Array<string>;
|
|
14
|
+
harness_kind: HarnessKind;
|
|
15
|
+
icon_url?: (string | null);
|
|
14
16
|
id: string;
|
|
15
|
-
input_schema
|
|
17
|
+
input_schema?: (Record<string, any> | null);
|
|
16
18
|
instruction: string;
|
|
19
|
+
metadata?: (Record<string, any> | null);
|
|
20
|
+
model_name: AgentModelName;
|
|
17
21
|
name: string;
|
|
18
|
-
output_schema
|
|
22
|
+
output_schema?: (Record<string, any> | null);
|
|
19
23
|
pod_id: string;
|
|
20
|
-
|
|
24
|
+
toolsets?: Array<AgentToolset>;
|
|
21
25
|
updated_at: string;
|
|
22
26
|
user_id: string;
|
|
27
|
+
visibility?: string;
|
|
23
28
|
};
|
package/dist/openapi_client/models/{AssistantSurfaceResponse.d.ts → AgentSurfaceResponse.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AgentSurfaceStatus } from './AgentSurfaceStatus.js';
|
|
2
2
|
import type { GmailSurfaceConfig } from './GmailSurfaceConfig.js';
|
|
3
3
|
import type { OutlookSurfaceConfig } from './OutlookSurfaceConfig.js';
|
|
4
4
|
import type { SlackSurfaceConfig } from './SlackSurfaceConfig.js';
|
|
@@ -8,17 +8,18 @@ import type { SurfaceWebhookMode } from './SurfaceWebhookMode.js';
|
|
|
8
8
|
import type { TeamsSurfaceConfig } from './TeamsSurfaceConfig.js';
|
|
9
9
|
import type { TelegramSurfaceConfig } from './TelegramSurfaceConfig.js';
|
|
10
10
|
import type { WhatsAppSurfaceConfig } from './WhatsAppSurfaceConfig.js';
|
|
11
|
-
export type
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
export type AgentSurfaceResponse = {
|
|
12
|
+
agent_id?: (string | null);
|
|
13
|
+
agent_name?: (string | null);
|
|
14
14
|
config: (SlackSurfaceConfig | TeamsSurfaceConfig | WhatsAppSurfaceConfig | TelegramSurfaceConfig | GmailSurfaceConfig | OutlookSurfaceConfig);
|
|
15
15
|
credential_mode?: SurfaceCredentialMode;
|
|
16
16
|
id: string;
|
|
17
17
|
is_active: boolean;
|
|
18
18
|
pod_id: string;
|
|
19
19
|
routing_scope?: SurfaceRoutingScope;
|
|
20
|
-
status?:
|
|
20
|
+
status?: AgentSurfaceStatus;
|
|
21
21
|
surface_type: string;
|
|
22
|
+
uses_default_agent?: boolean;
|
|
22
23
|
webhook_mode?: SurfaceWebhookMode;
|
|
23
24
|
webhook_url?: (string | null);
|
|
24
25
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export var AgentSurfaceStatus;
|
|
6
|
+
(function (AgentSurfaceStatus) {
|
|
7
|
+
AgentSurfaceStatus["ACTIVE"] = "ACTIVE";
|
|
8
|
+
AgentSurfaceStatus["PENDING_ADMIN_CONSENT"] = "PENDING_ADMIN_CONSENT";
|
|
9
|
+
AgentSurfaceStatus["INACTIVE"] = "INACTIVE";
|
|
10
|
+
})(AgentSurfaceStatus || (AgentSurfaceStatus = {}));
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Known tool bundles an agent may request.
|
|
3
3
|
*/
|
|
4
|
-
export declare enum
|
|
4
|
+
export declare enum AgentToolset {
|
|
5
5
|
FILE_SYSTEM = "FILE_SYSTEM",
|
|
6
|
-
CODE_EXECUTOR = "CODE_EXECUTOR",
|
|
7
6
|
WORKSPACE_CLI = "WORKSPACE_CLI",
|
|
8
7
|
SKILLS = "SKILLS",
|
|
9
8
|
WEB_SEARCH = "WEB_SEARCH",
|
|
10
9
|
USER_INTERACTION = "USER_INTERACTION",
|
|
11
10
|
IMAGE_GENERATION = "IMAGE_GENERATION",
|
|
12
|
-
AUDIO_GENERATION = "AUDIO_GENERATION"
|
|
13
|
-
WAIT_UNTIL = "WAIT_UNTIL"
|
|
11
|
+
AUDIO_GENERATION = "AUDIO_GENERATION"
|
|
14
12
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Known tool bundles an agent may request.
|
|
7
|
+
*/
|
|
8
|
+
export var AgentToolset;
|
|
9
|
+
(function (AgentToolset) {
|
|
10
|
+
AgentToolset["FILE_SYSTEM"] = "FILE_SYSTEM";
|
|
11
|
+
AgentToolset["WORKSPACE_CLI"] = "WORKSPACE_CLI";
|
|
12
|
+
AgentToolset["SKILLS"] = "SKILLS";
|
|
13
|
+
AgentToolset["WEB_SEARCH"] = "WEB_SEARCH";
|
|
14
|
+
AgentToolset["USER_INTERACTION"] = "USER_INTERACTION";
|
|
15
|
+
AgentToolset["IMAGE_GENERATION"] = "IMAGE_GENERATION";
|
|
16
|
+
AgentToolset["AUDIO_GENERATION"] = "AUDIO_GENERATION";
|
|
17
|
+
})(AgentToolset || (AgentToolset = {}));
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { ApplicationMode } from './ApplicationMode.js';
|
|
2
2
|
/**
|
|
3
|
-
* Configuration for application access.
|
|
4
|
-
*
|
|
5
|
-
* Defines how an agent or function can access a specific application.
|
|
3
|
+
* Configuration for application access granted to a workload.
|
|
6
4
|
*/
|
|
7
5
|
export type ApplicationAccessConfig = {
|
|
8
6
|
/**
|
|
9
|
-
* Required for
|
|
7
|
+
* Required for AGENT_OWNED mode - specific account to use
|
|
10
8
|
*/
|
|
11
9
|
account_id?: (string | null);
|
|
12
10
|
/**
|
|
@@ -14,7 +12,7 @@ export type ApplicationAccessConfig = {
|
|
|
14
12
|
*/
|
|
15
13
|
app_name: string;
|
|
16
14
|
/**
|
|
17
|
-
*
|
|
15
|
+
* Application account ownership mode
|
|
18
16
|
*/
|
|
19
17
|
mode: ApplicationMode;
|
|
20
18
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Application account ownership mode for access configuration.
|
|
3
3
|
*/
|
|
4
4
|
export declare enum ApplicationMode {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
AGENT_OWNED = "AGENT_OWNED",
|
|
6
|
+
USER_OWNED = "USER_OWNED"
|
|
7
7
|
}
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Application account ownership mode for access configuration.
|
|
7
7
|
*/
|
|
8
8
|
export var ApplicationMode;
|
|
9
9
|
(function (ApplicationMode) {
|
|
10
|
-
ApplicationMode["
|
|
11
|
-
ApplicationMode["
|
|
10
|
+
ApplicationMode["AGENT_OWNED"] = "AGENT_OWNED";
|
|
11
|
+
ApplicationMode["USER_OWNED"] = "USER_OWNED";
|
|
12
12
|
})(ApplicationMode || (ApplicationMode = {}));
|