@budibase/frontend-core 3.37.1 → 3.37.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/frontend-core",
|
|
3
|
-
"version": "3.37.
|
|
3
|
+
"version": "3.37.3",
|
|
4
4
|
"description": "Budibase frontend core libraries used in builder and client",
|
|
5
5
|
"author": "Budibase",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"vitest": "^3.2.4"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "ca7841a3a42b1a1328df0cbb96a51650c0c1e8a7"
|
|
27
27
|
}
|
package/src/api/agents.ts
CHANGED
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
DuplicateAgentResponse,
|
|
9
9
|
FetchAgentKnowledgeResponse,
|
|
10
10
|
FetchAgentKnowledgeSourceEntriesResponse,
|
|
11
|
+
FetchAgentKnowledgeSourceConnectionsResponse,
|
|
11
12
|
FetchAgentKnowledgeSourceOptionsResponse,
|
|
12
13
|
FetchAgentsResponse,
|
|
13
14
|
ProvisionAgentSlackChannelRequest,
|
|
@@ -72,6 +73,7 @@ export interface AgentEndpoints {
|
|
|
72
73
|
fetchAgentKnowledgeSourceOptions: (
|
|
73
74
|
agentId: string
|
|
74
75
|
) => Promise<FetchAgentKnowledgeSourceOptionsResponse>
|
|
76
|
+
fetchAgentKnowledgeSourceConnections: () => Promise<FetchAgentKnowledgeSourceConnectionsResponse>
|
|
75
77
|
fetchAgentKnowledgeSourceAllEntries: (
|
|
76
78
|
agentId: string,
|
|
77
79
|
siteId: string
|
|
@@ -224,6 +226,12 @@ export const buildAgentEndpoints = (API: BaseAPIClient): AgentEndpoints => ({
|
|
|
224
226
|
})
|
|
225
227
|
},
|
|
226
228
|
|
|
229
|
+
fetchAgentKnowledgeSourceConnections: async () => {
|
|
230
|
+
return await API.get<FetchAgentKnowledgeSourceConnectionsResponse>({
|
|
231
|
+
url: "/api/agent/knowledge-sources/connections",
|
|
232
|
+
})
|
|
233
|
+
},
|
|
234
|
+
|
|
227
235
|
fetchAgentKnowledgeSourceAllEntries: async (
|
|
228
236
|
agentId: string,
|
|
229
237
|
siteId: string
|