@stack-spot/portal-network 0.218.3 → 0.220.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/agent-tools.d.ts +752 -164
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +203 -43
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/ai.d.ts +3 -2
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +1 -2
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatform.d.ts +137 -100
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +95 -53
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/api/genAiInference.d.ts +5 -1
- package/dist/api/genAiInference.d.ts.map +1 -1
- package/dist/api/genAiInference.js.map +1 -1
- package/dist/api/workspace-ai.d.ts +41 -0
- package/dist/api/workspace-ai.d.ts.map +1 -1
- package/dist/api/workspace-ai.js +34 -0
- package/dist/api/workspace-ai.js.map +1 -1
- package/dist/client/agent-tools.d.ts +130 -3
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +105 -2
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.d.ts +0 -1
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/cloud-platform.d.ts +102 -34
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +127 -37
- package/dist/client/cloud-platform.js.map +1 -1
- package/dist/client/types.d.ts +1 -0
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workspace-ai.d.ts +13 -3
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +15 -1
- package/dist/client/workspace-ai.js.map +1 -1
- package/package.json +1 -1
- package/src/api/agent-tools.ts +1259 -472
- package/src/api/ai.ts +3 -3
- package/src/api/cloudPlatform.ts +256 -165
- package/src/api/genAiInference.ts +5 -1
- package/src/api/workspace-ai.ts +83 -0
- package/src/client/agent-tools.ts +55 -2
- package/src/client/cloud-platform.ts +70 -20
- package/src/client/types.ts +1 -0
- package/src/client/workspace-ai.ts +18 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpError } from '@oazapfts/runtime'
|
|
2
2
|
import { getApiAddresses } from '../api-addresses'
|
|
3
|
-
import { addFavoriteV1AgentsAgentIdFavoritePost, AgentVisibilityLevelEnum, createAgentV1AgentsPost, createToolkitToolsV1ToolkitsToolkitIdToolsPost, createToolkitV1ToolkitsPost, defaults, deleteAgentV1AgentsAgentIdDelete, deleteFavoriteV1AgentsAgentIdFavoriteDelete, deleteToolkitToolsV1ToolkitsToolkitIdToolsDelete, deleteToolkitV1ToolkitsToolkitIdDelete, editToolkitToolV1ToolkitsToolkitIdToolsToolIdPut, forkAgentV1AgentsAgentIdForkPost, forkToolkitV1ToolkitsToolkitIdForkPost, getAgentV1AgentsAgentIdGet, getPublicToolKitsV1BuiltinToolkitGet, getToolkitToolV1ToolkitsToolkitIdToolsToolIdGet, getToolkitV1ToolkitsToolkitIdGet, listAgentsUsingToolsV1ToolkitsToolkitIdToolsAgentsPost, listAgentsV1AgentsGet, listAgentsV3AgentsGet, listMcpToolsV1McpToolsToolkitIdGet, listMultiAgentsV1AgentsMultiAgentsGet, listToolkitsV1ToolkitsGet, listToolkitsV2ToolkitsGet, publishAgentV1AgentsAgentIdPublishPost,
|
|
3
|
+
import { addFavoriteV1AgentsAgentIdFavoritePost, AgentVisibilityLevelEnum, createAgentV1AgentsPost, createAgentV2AgentsPost, createToolkitToolsV1ToolkitsToolkitIdToolsPost, createToolkitV1ToolkitsPost, createVersionV1AgentsAgentCoreIdVersionsPost, defaults, deleteAgentV1AgentsAgentIdDelete, deleteFavoriteV1AgentsAgentIdFavoriteDelete, deleteToolkitToolsV1ToolkitsToolkitIdToolsDelete, deleteToolkitV1ToolkitsToolkitIdDelete, deleteVersionV1AgentsAgentCoreIdVersionsVersionNumberDelete, editToolkitToolV1ToolkitsToolkitIdToolsToolIdPut, findByAgentCoreIdV2AgentsAgentCoreIdGet, forkAgentV1AgentsAgentIdForkPost, forkAgentVersionV1AgentsAgentCoreIdVersionsVersionNumberForkPost, forkToolkitV1ToolkitsToolkitIdForkPost, getAgentV1AgentsAgentIdGet, getPublicToolKitsV1BuiltinToolkitGet, getToolkitToolV1ToolkitsToolkitIdToolsToolIdGet, getToolkitV1ToolkitsToolkitIdGet, listAgentsUsingToolsV1ToolkitsToolkitIdToolsAgentsPost, listAgentsV1AgentsGet, listAgentsV3AgentsGet, listAgentsV4AgentsGet, listMcpToolsV1McpToolsToolkitIdGet, listMultiAgentsV1AgentsMultiAgentsGet, listToolkitsV1ToolkitsGet, listToolkitsV2ToolkitsGet, listVersionsOfAgentCoreV1AgentsAgentCoreIdVersionsGet, patchVersionRecommendedV1AgentsAgentCoreIdVersionsVersionNumberPatch, publishAgentV1AgentsAgentIdPublishPost, searchAgentsByIdsV1AgentsSearchPost, searchAgentsV2AgentsSearchPost, shareV1AgentsAgentIdSharePost, updateAgentV1AgentsAgentIdPatch, updateAgentV2AgentsAgentIdPatch, updateToolkitV1ToolkitsToolkitIdPatch, VisibilityLevelEnum } from '../api/agent-tools'
|
|
4
4
|
import { DefaultAPIError } from '../error/DefaultAPIError'
|
|
5
5
|
import { agentToolsDictionary } from '../error/dictionary/agent-tools'
|
|
6
6
|
import { StackspotAPIError } from '../error/StackspotAPIError'
|
|
@@ -13,6 +13,7 @@ import { workspaceAiClient } from './workspace-ai'
|
|
|
13
13
|
|
|
14
14
|
const AGENT_DEFAULT_SLUG = 'stk_flex'
|
|
15
15
|
const listAgentsV3AgentsWithoutAuthorization = removeAuthorizationParam(listAgentsV3AgentsGet)
|
|
16
|
+
const listAgentsV4 = removeAuthorizationParam(listAgentsV4AgentsGet)
|
|
16
17
|
const listToolkitsAuthorization = removeAuthorizationParam(listToolkitsV2ToolkitsGet)
|
|
17
18
|
|
|
18
19
|
class AgentToolsClient extends ReactQueryNetworkClient {
|
|
@@ -30,6 +31,7 @@ class AgentToolsClient extends ReactQueryNetworkClient {
|
|
|
30
31
|
tools = this.query(removeAuthorizationParam(getPublicToolKitsV1BuiltinToolkitGet))
|
|
31
32
|
|
|
32
33
|
/**
|
|
34
|
+
* @deprecated
|
|
33
35
|
* Create agent
|
|
34
36
|
*/
|
|
35
37
|
createAgent = this.mutation(removeAuthorizationParam(createAgentV1AgentsPost))
|
|
@@ -40,6 +42,7 @@ class AgentToolsClient extends ReactQueryNetworkClient {
|
|
|
40
42
|
deleteAgent = this.mutation(removeAuthorizationParam(deleteAgentV1AgentsAgentIdDelete))
|
|
41
43
|
|
|
42
44
|
/**
|
|
45
|
+
* @deprecated
|
|
43
46
|
* Updates an agent
|
|
44
47
|
*/
|
|
45
48
|
updateAgent = this.mutation(removeAuthorizationParam(updateAgentV1AgentsAgentIdPatch))
|
|
@@ -78,14 +81,16 @@ class AgentToolsClient extends ReactQueryNetworkClient {
|
|
|
78
81
|
availableAgentsForMultiAgentAddition = this.query(removeAuthorizationParam(listMultiAgentsV1AgentsMultiAgentsGet))
|
|
79
82
|
|
|
80
83
|
/**
|
|
84
|
+
* @deprecated
|
|
81
85
|
* Gets agent by id
|
|
82
86
|
*/
|
|
83
87
|
agent = this.query(removeAuthorizationParam(getAgentV1AgentsAgentIdGet))
|
|
84
88
|
|
|
85
89
|
/**
|
|
90
|
+
* @deprecated
|
|
86
91
|
* Gets agents by ids
|
|
87
92
|
*/
|
|
88
|
-
agentsByIds = this.query(removeAuthorizationParam(
|
|
93
|
+
agentsByIds = this.query(removeAuthorizationParam(searchAgentsByIdsV1AgentsSearchPost))
|
|
89
94
|
|
|
90
95
|
/**
|
|
91
96
|
* Gets the default agent slug
|
|
@@ -238,6 +243,54 @@ class AgentToolsClient extends ReactQueryNetworkClient {
|
|
|
238
243
|
* remove an agent from favorites
|
|
239
244
|
*/
|
|
240
245
|
removeFavorite = this.mutation(removeAuthorizationParam(deleteFavoriteV1AgentsAgentIdFavoriteDelete))
|
|
246
|
+
/**
|
|
247
|
+
* Creates an agent version
|
|
248
|
+
*/
|
|
249
|
+
createAgentVersion = this.mutation(removeAuthorizationParam(createVersionV1AgentsAgentCoreIdVersionsPost))
|
|
250
|
+
/**
|
|
251
|
+
* V2 of agent creation
|
|
252
|
+
*/
|
|
253
|
+
createAgentV2 = this.mutation(removeAuthorizationParam(createAgentV2AgentsPost))
|
|
254
|
+
/**
|
|
255
|
+
* V2 of agent update
|
|
256
|
+
*/
|
|
257
|
+
updateAgentV2 = this.mutation(removeAuthorizationParam(updateAgentV2AgentsAgentIdPatch))
|
|
258
|
+
/**
|
|
259
|
+
* Update agent recommended version
|
|
260
|
+
*/
|
|
261
|
+
updateRecommendedVersion = this.mutation(removeAuthorizationParam(patchVersionRecommendedV1AgentsAgentCoreIdVersionsVersionNumberPatch))
|
|
262
|
+
/**
|
|
263
|
+
* V2 of get agent by id
|
|
264
|
+
*/
|
|
265
|
+
agentV2 = this.query(removeAuthorizationParam(findByAgentCoreIdV2AgentsAgentCoreIdGet))
|
|
266
|
+
/**
|
|
267
|
+
* Deletes an agent version
|
|
268
|
+
*/
|
|
269
|
+
deleteVersion = this.mutation(removeAuthorizationParam(deleteVersionV1AgentsAgentCoreIdVersionsVersionNumberDelete))
|
|
270
|
+
/**
|
|
271
|
+
* Gets agent versions
|
|
272
|
+
*/
|
|
273
|
+
listAgentVersions = this.query(removeAuthorizationParam(listVersionsOfAgentCoreV1AgentsAgentCoreIdVersionsGet))
|
|
274
|
+
/**
|
|
275
|
+
* Get agents by list of ids using api v2
|
|
276
|
+
*/
|
|
277
|
+
agentsByIdsV2 = this.query(removeAuthorizationParam(searchAgentsV2AgentsSearchPost))
|
|
278
|
+
/**
|
|
279
|
+
* Deletes an agent version
|
|
280
|
+
*/
|
|
281
|
+
forkAgentVersion = this.mutation(removeAuthorizationParam(forkAgentVersionV1AgentsAgentCoreIdVersionsVersionNumberForkPost))
|
|
282
|
+
/**
|
|
283
|
+
* Get agents v4
|
|
284
|
+
*/
|
|
285
|
+
agentsV4 = this.infiniteQuery(listAgentsV4, {
|
|
286
|
+
pageParamName: 'filters.page',
|
|
287
|
+
accumulator: 'items',
|
|
288
|
+
getNextPageParam: ({ variables, lastPage, lastPageParam }) => {
|
|
289
|
+
const size = variables.filters.size ?? 1
|
|
290
|
+
const parsedLastPageParam = (lastPageParam as number) ?? variables.filters.page ?? 1
|
|
291
|
+
return lastPage.items && lastPage.items.length < size ? undefined : parsedLastPageParam + 1
|
|
292
|
+
},
|
|
293
|
+
})
|
|
241
294
|
}
|
|
242
295
|
|
|
243
296
|
export const agentToolsClient = new AgentToolsClient()
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { HttpError } from '@oazapfts/runtime'
|
|
2
2
|
import {
|
|
3
|
+
createBoundary,
|
|
4
|
+
createBoundarySso,
|
|
3
5
|
createCertificate,
|
|
4
6
|
createCidr,
|
|
5
7
|
createDnsRecord,
|
|
@@ -8,10 +10,10 @@ import {
|
|
|
8
10
|
createFoundation,
|
|
9
11
|
createNetwork,
|
|
10
12
|
createProject,
|
|
11
|
-
createRuntime,
|
|
12
|
-
createTenant,
|
|
13
13
|
createVpn,
|
|
14
14
|
defaults,
|
|
15
|
+
deleteBoundary,
|
|
16
|
+
deleteBoundarySso,
|
|
15
17
|
deleteCertificate,
|
|
16
18
|
deleteCidr,
|
|
17
19
|
deleteDnsRecord,
|
|
@@ -20,6 +22,8 @@ import {
|
|
|
20
22
|
deleteNetwork,
|
|
21
23
|
deleteProject,
|
|
22
24
|
deleteVpn,
|
|
25
|
+
getBoundary,
|
|
26
|
+
getBoundarySso,
|
|
23
27
|
getCertificate,
|
|
24
28
|
getFolder,
|
|
25
29
|
getFolderTags,
|
|
@@ -27,15 +31,21 @@ import {
|
|
|
27
31
|
getNetwork,
|
|
28
32
|
getProject,
|
|
29
33
|
getVpnConfiguration,
|
|
34
|
+
listBoundary,
|
|
35
|
+
listBoundarySso,
|
|
30
36
|
listCertificates,
|
|
31
37
|
listCidr,
|
|
32
38
|
listDnsRecord,
|
|
33
39
|
listDnsZone,
|
|
34
40
|
listFoundations,
|
|
35
41
|
listNetwork,
|
|
36
|
-
listRuntime,
|
|
37
|
-
listTenant,
|
|
38
42
|
listVpns,
|
|
43
|
+
putBoundaryDescription,
|
|
44
|
+
putBoundaryPolicyDocument,
|
|
45
|
+
putBoundarySsoDescription,
|
|
46
|
+
putBoundarySsoPolicyDocument,
|
|
47
|
+
putBoundarySsoTags,
|
|
48
|
+
putBoundaryTags,
|
|
39
49
|
putCertificateTags,
|
|
40
50
|
putCidrTags,
|
|
41
51
|
putDnsZoneTags,
|
|
@@ -148,22 +158,6 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
|
|
|
148
158
|
*/
|
|
149
159
|
getNetworkById = this.query(removeAuthorizationParam(getNetwork))
|
|
150
160
|
/**
|
|
151
|
-
* Get a list of tenants
|
|
152
|
-
*/
|
|
153
|
-
listTenants = this.query(removeAuthorizationParam(listTenant))
|
|
154
|
-
/**
|
|
155
|
-
* Create a tenant
|
|
156
|
-
*/
|
|
157
|
-
createTenant = this.mutation(removeAuthorizationParam(createTenant))
|
|
158
|
-
/**
|
|
159
|
-
* Get a list of runtimes
|
|
160
|
-
*/
|
|
161
|
-
listRuntimes = this.query(removeAuthorizationParam(listRuntime))
|
|
162
|
-
/**
|
|
163
|
-
* Create a runtime
|
|
164
|
-
*/
|
|
165
|
-
createRuntime = this.mutation(removeAuthorizationParam(createRuntime))
|
|
166
|
-
/**
|
|
167
161
|
* Get a list of tags in folder
|
|
168
162
|
*/
|
|
169
163
|
getFolderTags = this.query(removeAuthorizationParam(getFolderTags))
|
|
@@ -227,6 +221,62 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
|
|
|
227
221
|
* Delete a CIDR
|
|
228
222
|
*/
|
|
229
223
|
deleteCidr = this.mutation(removeAuthorizationParam(deleteCidr))
|
|
224
|
+
/**
|
|
225
|
+
* Get a list of foundation boundaries
|
|
226
|
+
*/
|
|
227
|
+
listBoundaries = this.query(removeAuthorizationParam(listBoundary))
|
|
228
|
+
/**
|
|
229
|
+
* Get a list of foundation sso boundaries
|
|
230
|
+
*/
|
|
231
|
+
listSSOBoundaries = this.query(removeAuthorizationParam(listBoundarySso))
|
|
232
|
+
/**
|
|
233
|
+
* Create a boundary
|
|
234
|
+
*/
|
|
235
|
+
createBoundary = this.mutation(removeAuthorizationParam(createBoundary))
|
|
236
|
+
/**
|
|
237
|
+
* Create a sso boundary
|
|
238
|
+
*/
|
|
239
|
+
createSSOBoundary = this.mutation(removeAuthorizationParam(createBoundarySso))
|
|
240
|
+
/**
|
|
241
|
+
* Get details of a boundary
|
|
242
|
+
*/
|
|
243
|
+
getBoundary = this.query(removeAuthorizationParam(getBoundary))
|
|
244
|
+
/**
|
|
245
|
+
* Get details of a sso boundary
|
|
246
|
+
*/
|
|
247
|
+
getSSOBoundary = this.query(removeAuthorizationParam(getBoundarySso))
|
|
248
|
+
/**
|
|
249
|
+
* Delete a boundary
|
|
250
|
+
*/
|
|
251
|
+
deleteBoundary = this.mutation(removeAuthorizationParam(deleteBoundary))
|
|
252
|
+
/**
|
|
253
|
+
* Delete a sso boundary
|
|
254
|
+
*/
|
|
255
|
+
deleteSSOBoundary = this.mutation(removeAuthorizationParam(deleteBoundarySso))
|
|
256
|
+
/**
|
|
257
|
+
* Edit boundary tags
|
|
258
|
+
*/
|
|
259
|
+
editBoundaryTags = this.mutation(removeAuthorizationParam(putBoundaryTags))
|
|
260
|
+
/**
|
|
261
|
+
* Edit sso boundary tags
|
|
262
|
+
*/
|
|
263
|
+
editSSOBoundaryTags = this.mutation(removeAuthorizationParam(putBoundarySsoTags))
|
|
264
|
+
/**
|
|
265
|
+
* Edit boundary policy document
|
|
266
|
+
*/
|
|
267
|
+
editBoundaryPolicyDocument = this.mutation(removeAuthorizationParam(putBoundaryPolicyDocument))
|
|
268
|
+
/**
|
|
269
|
+
* Edit sso boundary policy document
|
|
270
|
+
*/
|
|
271
|
+
editSSOBoundaryPolicyDocument = this.mutation(removeAuthorizationParam(putBoundarySsoPolicyDocument))
|
|
272
|
+
/**
|
|
273
|
+
* Edit boundary description
|
|
274
|
+
*/
|
|
275
|
+
editBoundaryDescription = this.mutation(removeAuthorizationParam(putBoundaryDescription))
|
|
276
|
+
/**
|
|
277
|
+
* Edit sso boundary description
|
|
278
|
+
*/
|
|
279
|
+
editSSOBoundaryDescription = this.mutation(removeAuthorizationParam(putBoundarySsoDescription))
|
|
230
280
|
}
|
|
231
281
|
|
|
232
282
|
export const cloudPlatformClient = new CloudPlatformClient()
|
package/src/client/types.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HttpError } from '@oazapfts/runtime'
|
|
2
2
|
import { getApiAddresses } from '../api-addresses'
|
|
3
|
-
import { AgentResponse } from '../api/agent'
|
|
4
3
|
import { CustomToolkitResponse } from '../api/agent-tools'
|
|
5
4
|
import { GetAiStackResponse, QuickCommandResponse } from '../api/ai'
|
|
6
5
|
import { KnowledgeSourceItemResponse } from '../api/dataIntegration'
|
|
7
6
|
import {
|
|
8
7
|
addContentV1WorkspacesWorkspaceIdContentTypePost,
|
|
8
|
+
addContentV2WorkspacesWorkspaceIdContentTypePost,
|
|
9
9
|
addFavoriteV1WorkspacesWorkspaceIdFavoritePost,
|
|
10
10
|
addPermissionV1ResourceTypeResourceTypeResourcesResourceIdentifierPatch,
|
|
11
11
|
addPermissionV1WorkspacesWorkspaceIdPermissionsPatch,
|
|
@@ -31,7 +31,7 @@ import { wksAiDictionary } from '../error/dictionary/workspace-ai'
|
|
|
31
31
|
import { StackspotAPIError } from '../error/StackspotAPIError'
|
|
32
32
|
import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient'
|
|
33
33
|
import { removeAuthorizationParam } from '../utils/remove-authorization-param'
|
|
34
|
-
import { FixedAddResourceToWorkspaceAi, FixedWorkspaceAiPermissions, ReplaceResult } from './types'
|
|
34
|
+
import { AgentResponseWithBuiltIn, FixedAddResourceToWorkspaceAi, FixedWorkspaceAiPermissions, ReplaceResult } from './types'
|
|
35
35
|
|
|
36
36
|
class WorkspaceAiClient extends ReactQueryNetworkClient {
|
|
37
37
|
constructor() {
|
|
@@ -49,6 +49,7 @@ class WorkspaceAiClient extends ReactQueryNetworkClient {
|
|
|
49
49
|
deleteWorkspaceAi = this.mutation(removeAuthorizationParam(deleteWorkspaceV1WorkspacesWorkspaceIdDelete))
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
+
* @deprecated
|
|
52
53
|
* Adds a resource to the Spot.
|
|
53
54
|
*/
|
|
54
55
|
addResourceTypeToWorkspaceAi = this.mutation({
|
|
@@ -62,6 +63,20 @@ class WorkspaceAiClient extends ReactQueryNetworkClient {
|
|
|
62
63
|
permission: this.createPermissionFunctionFor(addContentV1WorkspacesWorkspaceIdContentTypePost),
|
|
63
64
|
})
|
|
64
65
|
|
|
66
|
+
/**
|
|
67
|
+
* V2 for adding a resource to the Spot.
|
|
68
|
+
*/
|
|
69
|
+
addResourceTypeV2ToSpot = this.mutation({
|
|
70
|
+
name: 'addResourceTypeToWorkspaceAi',
|
|
71
|
+
request: (
|
|
72
|
+
signal,
|
|
73
|
+
variables: Omit<Parameters<typeof addContentV2WorkspacesWorkspaceIdContentTypePost>[0], 'authorization'>,
|
|
74
|
+
) =>
|
|
75
|
+
addContentV2WorkspacesWorkspaceIdContentTypePost({ ...variables, authorization: '' },
|
|
76
|
+
{ signal }) as unknown as Promise<FixedAddResourceToWorkspaceAi>,
|
|
77
|
+
permission: this.createPermissionFunctionFor(addContentV2WorkspacesWorkspaceIdContentTypePost),
|
|
78
|
+
})
|
|
79
|
+
|
|
65
80
|
/**
|
|
66
81
|
* Lists all the knowledge sources in a Spot.
|
|
67
82
|
*/
|
|
@@ -118,7 +133,7 @@ class WorkspaceAiClient extends ReactQueryNetworkClient {
|
|
|
118
133
|
'authorization' | 'contentType'>,
|
|
119
134
|
) =>
|
|
120
135
|
listAllByContentTypeV1WorkspacesWorkspaceIdContentTypeGet({ ...variables, contentType: 'agent', authorization: '' },
|
|
121
|
-
{ signal }) as unknown as Promise<
|
|
136
|
+
{ signal }) as unknown as Promise<AgentResponseWithBuiltIn[]>,
|
|
122
137
|
permission: this.createPermissionFunctionFor(listAllByContentTypeV1WorkspacesWorkspaceIdContentTypeGet),
|
|
123
138
|
})
|
|
124
139
|
|