@stack-spot/portal-network 0.231.0 → 0.233.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/CHANGELOG.md +14 -0
- package/dist/api/account.d.ts +294 -677
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +274 -466
- package/dist/api/account.js.map +1 -1
- package/dist/api/agent-tools.d.ts +88 -17
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +70 -10
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/ai.d.ts +4 -2
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +8 -4
- package/dist/api/ai.js.map +1 -1
- package/dist/api/dataIntegration.d.ts +87 -9
- package/dist/api/dataIntegration.d.ts.map +1 -1
- package/dist/api/dataIntegration.js +87 -8
- package/dist/api/dataIntegration.js.map +1 -1
- package/dist/api/workspace-ai.d.ts +22 -0
- package/dist/api/workspace-ai.d.ts.map +1 -1
- package/dist/api/workspace-ai.js +19 -0
- package/dist/api/workspace-ai.js.map +1 -1
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +180 -180
- package/dist/client/account.js.map +1 -1
- package/dist/client/agent-tools.d.ts +20 -1
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +10 -1
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.d.ts +18 -0
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +10 -1
- package/dist/client/ai.js.map +1 -1
- package/dist/client/data-integration.d.ts +26 -0
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +19 -1
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/workspace-ai.d.ts +10 -0
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +7 -1
- package/dist/client/workspace-ai.js.map +1 -1
- package/package.json +1 -1
- package/src/api/account.ts +321 -1006
- package/src/api/agent-tools.ts +164 -22
- package/src/api/ai.ts +12 -6
- package/src/api/dataIntegration.ts +190 -15
- package/src/api/workspace-ai.ts +45 -0
- package/src/client/account.ts +353 -329
- package/src/client/agent-tools.ts +49 -1
- package/src/client/ai.ts +5 -0
- package/src/client/data-integration.ts +12 -1
- package/src/client/workspace-ai.ts +2 -0
|
@@ -1,6 +1,49 @@
|
|
|
1
1
|
import { HttpError } from '@oazapfts/runtime'
|
|
2
2
|
import { getApiAddresses } from '../api-addresses'
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
addFavoriteV1AgentsAgentIdFavoritePost,
|
|
6
|
+
AgentVisibilityLevelEnum,
|
|
7
|
+
createAgentV1AgentsPost,
|
|
8
|
+
createAgentV2AgentsPost,
|
|
9
|
+
createToolkitToolsV1ToolkitsToolkitIdToolsPost,
|
|
10
|
+
createToolkitV1ToolkitsPost,
|
|
11
|
+
createVersionV1AgentsAgentCoreIdVersionsPost,
|
|
12
|
+
defaults,
|
|
13
|
+
deleteAgentV1AgentsAgentIdDelete,
|
|
14
|
+
deleteFavoriteV1AgentsAgentIdFavoriteDelete,
|
|
15
|
+
deleteToolkitToolsV1ToolkitsToolkitIdToolsDelete,
|
|
16
|
+
deleteToolkitV1ToolkitsToolkitIdDelete,
|
|
17
|
+
deleteVersionV1AgentsAgentCoreIdVersionsVersionNumberDelete,
|
|
18
|
+
editToolkitToolV1ToolkitsToolkitIdToolsToolIdPut,
|
|
19
|
+
findByAgentCoreIdV2AgentsAgentCoreIdGet,
|
|
20
|
+
forkAgentV1AgentsAgentIdForkPost,
|
|
21
|
+
forkAgentVersionV1AgentsAgentCoreIdVersionsVersionNumberForkPost,
|
|
22
|
+
forkToolkitV1ToolkitsToolkitIdForkPost,
|
|
23
|
+
getAgentV1AgentsAgentIdGet,
|
|
24
|
+
getPublicToolKitsV1BuiltinToolkitGet,
|
|
25
|
+
getToolkitToolV1ToolkitsToolkitIdToolsToolIdGet,
|
|
26
|
+
getToolkitV1ToolkitsToolkitIdGet,
|
|
27
|
+
listAccountAgentsV1AgentsAccountGet,
|
|
28
|
+
listAgentsUsingToolsV1ToolkitsToolkitIdToolsAgentsPost,
|
|
29
|
+
listAgentsV1AgentsGet,
|
|
30
|
+
listAgentsV4AgentsGet,
|
|
31
|
+
listMcpToolsV1McpToolsToolkitIdGet,
|
|
32
|
+
listMultiAgentsV1AgentsMultiAgentsGet,
|
|
33
|
+
listToolkitsV1ToolkitsGet,
|
|
34
|
+
listToolkitsV2ToolkitsGet,
|
|
35
|
+
listVersionsOfAgentCoreV1AgentsAgentCoreIdVersionsGet,
|
|
36
|
+
patchVersionRecommendedV1AgentsAgentCoreIdVersionsVersionNumberPatch,
|
|
37
|
+
publishAgentV1AgentsAgentIdPublishPost,
|
|
38
|
+
searchAgentsByIdsV1AgentsSearchPost,
|
|
39
|
+
searchAgentsV2AgentsSearchPost,
|
|
40
|
+
shareV1AgentsAgentIdSharePost,
|
|
41
|
+
updateAgentV1AgentsAgentIdPatch,
|
|
42
|
+
updateAgentV2AgentsAgentIdPatch,
|
|
43
|
+
updateToolkitV1ToolkitsToolkitIdPatch,
|
|
44
|
+
VisibilityLevelEnum
|
|
45
|
+
} from '../api/agent-tools'
|
|
46
|
+
|
|
4
47
|
import { DefaultAPIError } from '../error/DefaultAPIError'
|
|
5
48
|
import { agentToolsDictionary } from '../error/dictionary/agent-tools'
|
|
6
49
|
import { StackspotAPIError } from '../error/StackspotAPIError'
|
|
@@ -242,6 +285,11 @@ class AgentToolsClient extends ReactQueryNetworkClient {
|
|
|
242
285
|
* remove an agent from favorites
|
|
243
286
|
*/
|
|
244
287
|
removeFavorite = this.mutation(removeAuthorizationParam(deleteFavoriteV1AgentsAgentIdFavoriteDelete))
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* List account agents
|
|
291
|
+
*/
|
|
292
|
+
listAccountAgents = this.query(removeAuthorizationParam(listAccountAgentsV1AgentsAccountGet))
|
|
245
293
|
/**
|
|
246
294
|
* Creates an agent version
|
|
247
295
|
*/
|
package/src/client/ai.ts
CHANGED
|
@@ -41,6 +41,7 @@ import {
|
|
|
41
41
|
getUploadFormV1FileUploadFormPost,
|
|
42
42
|
HttpValidationError,
|
|
43
43
|
listAiStacksV1AiStacksGet,
|
|
44
|
+
listAllAccountV1QuickCommandsAccountGet,
|
|
44
45
|
listAllV1QuickCommandsAllGet,
|
|
45
46
|
listAllV2QuickCommandsAllGet,
|
|
46
47
|
listAllV3QuickCommandsGet,
|
|
@@ -152,6 +153,10 @@ class AIClient extends ReactQueryNetworkClient {
|
|
|
152
153
|
* Lists the quick commands according to filters passed as parameter (QC with secrets will not be returned).
|
|
153
154
|
*/
|
|
154
155
|
quickCommands = this.query(removeAuthorizationParam(listAllV1QuickCommandsAllGet))
|
|
156
|
+
/**
|
|
157
|
+
* Lists the quick commands according to filters passed as parameter (QC with secrets will not be returned).
|
|
158
|
+
*/
|
|
159
|
+
listAccountQuickCommands = this.query(removeAuthorizationParam(listAllAccountV1QuickCommandsAccountGet))
|
|
155
160
|
/**
|
|
156
161
|
* Lists all the quick commands according to filters passed as parameter (including QC with secrets).
|
|
157
162
|
*/
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
defaults,
|
|
7
7
|
deleteFavoriteV1KnowledgeSourcesSlugFavoriteDelete,
|
|
8
8
|
deleteKoByIdV1KnowledgeSourcesKsSlugObjectsKoIdDelete,
|
|
9
|
+
deleteKsV1KnowledgeSourcesSlugDelete,
|
|
9
10
|
FileUploadType,
|
|
10
11
|
findKoByIdV1KnowledgeSourcesKsSlugObjectsKoIdGet,
|
|
11
12
|
findKsV1KnowledgeSourcesSlugGet,
|
|
@@ -14,6 +15,7 @@ import {
|
|
|
14
15
|
getIndexedFilesV1KnowledgeSourcesKsSlugFilesGet,
|
|
15
16
|
getUploadFormV1FileUploadFormPost,
|
|
16
17
|
getUploadFormV2V2FileUploadFormPost,
|
|
18
|
+
listAccountKsV1KnowledgeSourcesAccountGet,
|
|
17
19
|
listKosV1KnowledgeSourcesKsSlugObjectsGet,
|
|
18
20
|
listKosV2KnowledgeSourcesKsSlugObjectsGet,
|
|
19
21
|
listKsV1KnowledgeSourcesGet,
|
|
@@ -27,7 +29,7 @@ import {
|
|
|
27
29
|
shareKsV1KnowledgeSourcesSlugSharePost,
|
|
28
30
|
splitUploadedFilePreviewV1FileUploadFileUploadIdSplitPreviewSplitStrategyGet,
|
|
29
31
|
splitUploadedFileV1FileUploadFileUploadIdSplitPost,
|
|
30
|
-
updateKsV1KnowledgeSourcesSlugPatch
|
|
32
|
+
updateKsV1KnowledgeSourcesSlugPatch
|
|
31
33
|
} from '../api/dataIntegration'
|
|
32
34
|
import { DefaultAPIError } from '../error/DefaultAPIError'
|
|
33
35
|
import { baseDictionary } from '../error/dictionary/base'
|
|
@@ -169,6 +171,11 @@ class DataIntegrationClient extends ReactQueryNetworkClient {
|
|
|
169
171
|
*/
|
|
170
172
|
listKnowledgeSourcesDataByIds = this.query(removeAuthorizationParam(searchKsV1KnowledgeSourcesSearchPost))
|
|
171
173
|
|
|
174
|
+
/**
|
|
175
|
+
* List account Ks
|
|
176
|
+
*/
|
|
177
|
+
listAccountKsKnowledgeSources = this.query(removeAuthorizationParam(listAccountKsV1KnowledgeSourcesAccountGet))
|
|
178
|
+
|
|
172
179
|
/**
|
|
173
180
|
* Gets a knowledge source by its slug.
|
|
174
181
|
*/
|
|
@@ -182,6 +189,10 @@ class DataIntegrationClient extends ReactQueryNetworkClient {
|
|
|
182
189
|
* Update Knowledge Source
|
|
183
190
|
*/
|
|
184
191
|
updateKnowledgeSource = this.mutation(removeAuthorizationParam(updateKsV1KnowledgeSourcesSlugPatch))
|
|
192
|
+
/**
|
|
193
|
+
* Delete Knowledge Source
|
|
194
|
+
*/
|
|
195
|
+
deleteKnowledgeSource = this.mutation(removeAuthorizationParam(deleteKsV1KnowledgeSourcesSlugDelete))
|
|
185
196
|
/**
|
|
186
197
|
* Share Knowledge Source
|
|
187
198
|
*/
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
listGroupsAndMembersPermissionInWorkspaceV1WorkspacesWorkspaceIdPermissionsGet,
|
|
21
21
|
listMembersV1ResourceTypeResourceTypeResourcesResourceIdentifierMembersGet,
|
|
22
22
|
listWorkspacesV1WorkspacesGet,
|
|
23
|
+
listWorkspacesV2WorkspacesGet,
|
|
23
24
|
removeContentV1WorkspacesWorkspaceIdContentTypeContentIdDelete,
|
|
24
25
|
removePermissionV1ResourceTypeResourceTypeResourcesResourceIdentifierDelete,
|
|
25
26
|
removePermissionV1WorkspacesWorkspaceIdPermissionsDelete,
|
|
@@ -44,6 +45,7 @@ class WorkspaceAiClient extends ReactQueryNetworkClient {
|
|
|
44
45
|
|
|
45
46
|
createWorkspaceAi = this.mutation(removeAuthorizationParam(createWorkspaceV1WorkspacesPost))
|
|
46
47
|
workspacesAi = this.query(removeAuthorizationParam(listWorkspacesV1WorkspacesGet))
|
|
48
|
+
workspacesAiV2 = this.query(removeAuthorizationParam(listWorkspacesV2WorkspacesGet))
|
|
47
49
|
workspaceAi = this.query(removeAuthorizationParam(getWorkspaceByIdV1WorkspacesIdGet))
|
|
48
50
|
updateWorkspaceAi = this.mutation(removeAuthorizationParam(updateWorkspaceV1WorkspacesWorkspaceIdPatch))
|
|
49
51
|
deleteWorkspaceAi = this.mutation(removeAuthorizationParam(deleteWorkspaceV1WorkspacesWorkspaceIdDelete))
|