@budibase/types 3.37.0 → 3.37.2
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Optional } from "../../../shared";
|
|
2
|
-
import { Agent, AgentKnowledgeSourceFilterConfig, AgentKnowledgeSourceSyncRunStatus, ChatApp, ChatConversation, ChatConversationRequest, CreateChatConversationRequest, KnowledgeBaseFile } from "../../../documents";
|
|
2
|
+
import { Agent, AgentKnowledgeSourceFilterConfig, AgentKnowledgeSourceConnection, AgentKnowledgeSourceSyncRunStatus, ChatApp, ChatConversation, ChatConversationRequest, CreateChatConversationRequest, KnowledgeBaseFile } from "../../../documents";
|
|
3
3
|
export type ChatAgentRequest = ChatConversationRequest;
|
|
4
4
|
export type FetchAgentHistoryResponse = ChatConversation[];
|
|
5
5
|
export type { CreateChatConversationRequest };
|
|
@@ -36,6 +36,10 @@ export interface FetchAgentKnowledgeResponse {
|
|
|
36
36
|
hasSharePointConnection: boolean;
|
|
37
37
|
sharePointSources: SharePointKnowledgeSourceSnapshot[];
|
|
38
38
|
}
|
|
39
|
+
export type AgentKnowledgeSourceConnectionSummary = Pick<AgentKnowledgeSourceConnection, "_id" | "_rev" | "createdAt" | "updatedAt" | "sourceType" | "connectionKey" | "account">;
|
|
40
|
+
export interface FetchAgentKnowledgeSourceConnectionsResponse {
|
|
41
|
+
connections: AgentKnowledgeSourceConnectionSummary[];
|
|
42
|
+
}
|
|
39
43
|
export interface KnowledgeSourceEntry {
|
|
40
44
|
id: string;
|
|
41
45
|
name: string;
|
|
@@ -22,6 +22,7 @@ export interface PublishStatusResponse {
|
|
|
22
22
|
workspaceApps: Record<string, PublishStatusResource>;
|
|
23
23
|
automations: Record<string, PublishStatusResource>;
|
|
24
24
|
tables: Record<string, PublishStatusResource>;
|
|
25
|
+
agents: Record<string, PublishStatusResource>;
|
|
25
26
|
}
|
|
26
27
|
export interface DeploymentProgressResponse {
|
|
27
28
|
_id: string;
|
|
@@ -2,6 +2,7 @@ import { AgentKnowledgeSourceType, Document } from "../../";
|
|
|
2
2
|
export interface AgentKnowledgeSourceConnection extends Document {
|
|
3
3
|
sourceType: AgentKnowledgeSourceType;
|
|
4
4
|
connectionKey: string;
|
|
5
|
+
account: string;
|
|
5
6
|
tenantId: string;
|
|
6
7
|
tokenEndpoint: string;
|
|
7
8
|
accessToken: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/types",
|
|
3
|
-
"version": "3.37.
|
|
3
|
+
"version": "3.37.2",
|
|
4
4
|
"description": "Budibase types",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"scim-patch": "^0.8.1"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "16651aba054e221a0d92fab3574df679ece11843"
|
|
32
32
|
}
|