@orq-ai/node 4.14.0 → 4.14.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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/modelmetadata.d.ts +2 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +4 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/pricing.d.ts +4 -0
- package/models/components/pricing.d.ts.map +1 -1
- package/models/components/pricing.js +8 -0
- package/models/components/pricing.js.map +1 -1
- package/models/components/pricingvariant.d.ts +4 -0
- package/models/components/pricingvariant.d.ts.map +1 -1
- package/models/components/pricingvariant.js +8 -0
- package/models/components/pricingvariant.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createannotationqueue.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createprompt.d.ts +2 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +2 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/deploymentinvoke.d.ts +2 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +2 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +2 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +2 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +2 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +2 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +2 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +2 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +4 -4
- package/models/operations/geteval.js +16 -16
- package/models/operations/getoneprompt.d.ts +2 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +2 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +2 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +2 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listannotationqueues.js +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listpromptversions.d.ts +2 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +2 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveannotationqueue.js +1 -1
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateannotationqueue.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updateprompt.d.ts +2 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +2 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +3 -3
- package/packages/orq-rc/src/funcs/{mcpServersTest.ts → fileSystemsCreate.ts} +13 -13
- package/packages/orq-rc/src/funcs/{deploymentsStream.ts → fileSystemsCreateFolder.ts} +27 -34
- package/packages/orq-rc/src/funcs/fileSystemsDelete.ts +169 -0
- package/packages/orq-rc/src/funcs/fileSystemsDeleteFile.ts +183 -0
- package/packages/orq-rc/src/funcs/fileSystemsList.ts +172 -0
- package/packages/orq-rc/src/funcs/fileSystemsListFiles.ts +177 -0
- package/packages/orq-rc/src/funcs/fileSystemsMoveFile.ts +173 -0
- package/packages/orq-rc/src/funcs/fileSystemsRetrieve.ts +168 -0
- package/packages/orq-rc/src/funcs/fileSystemsStatFile.ts +175 -0
- package/packages/orq-rc/src/funcs/{deploymentsInvoke.ts → fileSystemsUpdate.ts} +24 -23
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/agentresponserequest.ts +22 -31
- package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +43 -55
- package/packages/orq-rc/src/models/components/agenttoolinputcrud.ts +8 -0
- package/packages/orq-rc/src/models/components/createfilesystemfolderrequest.ts +36 -0
- package/packages/orq-rc/src/models/components/createfilesystemfolderresponse.ts +31 -0
- package/packages/orq-rc/src/models/components/createfilesystemrequest.ts +94 -0
- package/packages/orq-rc/src/models/components/deletefilesystemfileresponse.ts +49 -0
- package/packages/orq-rc/src/models/components/deletefilesystemresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/evaluationcontext.ts +10 -15
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/packages/orq-rc/src/models/components/fileentry.ts +86 -0
- package/packages/orq-rc/src/models/components/filesystem.ts +116 -0
- package/packages/orq-rc/src/models/components/filesystemexternalaccess.ts +20 -0
- package/packages/orq-rc/src/models/components/filesystemtoolinput.ts +51 -0
- package/packages/orq-rc/src/models/components/index.ts +16 -4
- package/packages/orq-rc/src/models/components/knowledgebasesservicelistresponse.ts +9 -6
- package/packages/orq-rc/src/models/components/listfilesystemfilesresponse.ts +57 -0
- package/packages/orq-rc/src/models/components/listfilesystemsresponse.ts +51 -0
- package/packages/orq-rc/src/models/components/mcpaccess.ts +13 -0
- package/packages/orq-rc/src/models/components/movefilesystemfilerequest.ts +40 -0
- package/packages/orq-rc/src/models/components/movefilesystemfileresponse.ts +33 -0
- package/packages/orq-rc/src/models/components/orqsidekicktool.ts +22 -5
- package/packages/orq-rc/src/models/components/publicusage.ts +7 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/searchknowledgerequest.ts +469 -668
- package/packages/orq-rc/src/models/components/servertoolusedetails.ts +63 -0
- package/packages/orq-rc/src/models/components/statfilesystemfileresponse.ts +63 -0
- package/packages/orq-rc/src/models/components/updatefilesystemrequest.ts +83 -0
- package/packages/orq-rc/src/models/operations/createannotationqueue.ts +1 -1
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +248 -313
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +5 -5
- package/packages/orq-rc/src/models/operations/createfolder.ts +43 -0
- package/packages/orq-rc/src/models/operations/createprompt.ts +7 -7
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +139 -9
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/deletefile.ts +42 -0
- package/packages/orq-rc/src/models/operations/deletefilesystem.ts +36 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +1 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/geteval.ts +16 -16
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +9 -2
- package/packages/orq-rc/src/models/operations/listannotationqueues.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listfiles.ts +46 -0
- package/packages/orq-rc/src/models/operations/listfilesystems.ts +50 -0
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -0
- package/packages/orq-rc/src/models/operations/movefile.ts +40 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +5 -5
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievefilesystem.ts +36 -0
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +15 -9
- package/packages/orq-rc/src/models/operations/statfile.ts +37 -0
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +15 -9
- package/packages/orq-rc/src/models/operations/updateannotationqueue.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatefilesystem.ts +41 -0
- package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/deployments.ts +0 -38
- package/packages/orq-rc/src/sdk/filesystems.ts +190 -0
- package/packages/orq-rc/src/sdk/mcpservers.ts +0 -18
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/modelmetadata.ts +6 -0
- package/src/models/components/pricing.ts +12 -0
- package/src/models/components/pricingvariant.ts +12 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createannotationqueue.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createprompt.ts +2 -0
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/deploymentinvoke.ts +2 -0
- package/src/models/operations/deployments.ts +2 -0
- package/src/models/operations/deploymentstream.ts +2 -0
- package/src/models/operations/getallprompts.ts +2 -0
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/geteval.ts +16 -16
- package/src/models/operations/getoneprompt.ts +2 -0
- package/src/models/operations/getpromptversion.ts +2 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listannotationqueues.ts +1 -1
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listpromptversions.ts +2 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updateannotationqueue.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updateprompt.ts +2 -0
- package/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +0 -3446
- package/packages/orq-rc/src/models/components/mcptestresult.ts +0 -61
- package/packages/orq-rc/src/models/components/testmcpserverrequest.ts +0 -67
- package/packages/orq-rc/src/models/components/testmcpserverresponse.ts +0 -32
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -731
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -4562
|
@@ -860,8 +860,8 @@ export const EvaluatorResponseFunction$inboundSchema: z.ZodType<
|
|
|
860
860
|
> = z.object({
|
|
861
861
|
_id: z.string(),
|
|
862
862
|
description: z.string(),
|
|
863
|
-
created: z.string().default("2026-08-
|
|
864
|
-
updated: z.string().default("2026-08-
|
|
863
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
864
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
865
865
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
866
866
|
project_id: z.string().optional(),
|
|
867
867
|
guardrail_config: z.any().optional(),
|
|
@@ -46,8 +46,8 @@ export const EvaluatorResponseHttp$inboundSchema: z.ZodType<
|
|
|
46
46
|
> = z.object({
|
|
47
47
|
_id: z.string(),
|
|
48
48
|
description: z.string(),
|
|
49
|
-
created: z.string().default("2026-08-
|
|
50
|
-
updated: z.string().default("2026-08-
|
|
49
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
50
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
51
51
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
52
52
|
project_id: z.string().optional(),
|
|
53
53
|
guardrail_config: z.any().optional(),
|
|
@@ -32,8 +32,8 @@ export const EvaluatorResponseJsonSchema$inboundSchema: z.ZodType<
|
|
|
32
32
|
> = z.object({
|
|
33
33
|
_id: z.string(),
|
|
34
34
|
description: z.string(),
|
|
35
|
-
created: z.string().default("2026-08-
|
|
36
|
-
updated: z.string().default("2026-08-
|
|
35
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
36
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
37
37
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
38
38
|
project_id: z.string().optional(),
|
|
39
39
|
guardrail_config: z.any().optional(),
|
|
@@ -271,8 +271,8 @@ export const EvaluatorResponseLlm$inboundSchema: z.ZodType<
|
|
|
271
271
|
> = z.object({
|
|
272
272
|
_id: z.string(),
|
|
273
273
|
description: z.string(),
|
|
274
|
-
created: z.string().default("2026-08-
|
|
275
|
-
updated: z.string().default("2026-08-
|
|
274
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
275
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
276
276
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
277
277
|
project_id: z.string().optional(),
|
|
278
278
|
guardrail_config: z.any().optional(),
|
|
@@ -32,8 +32,8 @@ export const EvaluatorResponsePython$inboundSchema: z.ZodType<
|
|
|
32
32
|
> = z.object({
|
|
33
33
|
_id: z.string(),
|
|
34
34
|
description: z.string(),
|
|
35
|
-
created: z.string().default("2026-08-
|
|
36
|
-
updated: z.string().default("2026-08-
|
|
35
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
36
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
37
37
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
38
38
|
project_id: z.string().optional(),
|
|
39
39
|
guardrail_config: z.any().optional(),
|
|
@@ -54,8 +54,8 @@ export const EvaluatorResponseRagas$inboundSchema: z.ZodType<
|
|
|
54
54
|
> = z.object({
|
|
55
55
|
_id: z.string(),
|
|
56
56
|
description: z.string(),
|
|
57
|
-
created: z.string().default("2026-08-
|
|
58
|
-
updated: z.string().default("2026-08-
|
|
57
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
58
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
59
59
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
60
60
|
project_id: z.string().optional(),
|
|
61
61
|
guardrail_config: z.any().optional(),
|
|
@@ -32,8 +32,8 @@ export const EvaluatorResponseTypescript$inboundSchema: z.ZodType<
|
|
|
32
32
|
> = z.object({
|
|
33
33
|
_id: z.string(),
|
|
34
34
|
description: z.string(),
|
|
35
|
-
created: z.string().default("2026-08-
|
|
36
|
-
updated: z.string().default("2026-08-
|
|
35
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
36
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
37
37
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
38
38
|
project_id: z.string().optional(),
|
|
39
39
|
guardrail_config: z.any().optional(),
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Kind of entry
|
|
14
|
+
*/
|
|
15
|
+
export const FileEntryType = {
|
|
16
|
+
File: "file",
|
|
17
|
+
Dir: "dir",
|
|
18
|
+
Symlink: "symlink",
|
|
19
|
+
Other: "other",
|
|
20
|
+
} as const;
|
|
21
|
+
/**
|
|
22
|
+
* Kind of entry
|
|
23
|
+
*/
|
|
24
|
+
export type FileEntryType = ClosedEnum<typeof FileEntryType>;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* The file content messages below mirror the tools-pod JSON contract one for
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* one. `path` is always relative to the file system root; an absolute path or a
|
|
31
|
+
* `..` segment is refused rather than clamped.
|
|
32
|
+
*/
|
|
33
|
+
export type FileEntry = {
|
|
34
|
+
/**
|
|
35
|
+
* Path of the entry relative to the file system root
|
|
36
|
+
*/
|
|
37
|
+
path: string;
|
|
38
|
+
/**
|
|
39
|
+
* Final path component
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
* Kind of entry
|
|
44
|
+
*/
|
|
45
|
+
type: FileEntryType;
|
|
46
|
+
/**
|
|
47
|
+
* Size of the entry in bytes
|
|
48
|
+
*/
|
|
49
|
+
sizeBytes: string;
|
|
50
|
+
/**
|
|
51
|
+
* Last modification time of the entry
|
|
52
|
+
*/
|
|
53
|
+
modified: string;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const FileEntryType$inboundSchema: z.ZodNativeEnum<
|
|
58
|
+
typeof FileEntryType
|
|
59
|
+
> = z.nativeEnum(FileEntryType);
|
|
60
|
+
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const FileEntry$inboundSchema: z.ZodType<
|
|
63
|
+
FileEntry,
|
|
64
|
+
z.ZodTypeDef,
|
|
65
|
+
unknown
|
|
66
|
+
> = z.object({
|
|
67
|
+
path: z.string(),
|
|
68
|
+
name: z.string(),
|
|
69
|
+
type: FileEntryType$inboundSchema,
|
|
70
|
+
size_bytes: z.string(),
|
|
71
|
+
modified: z.string(),
|
|
72
|
+
}).transform((v) => {
|
|
73
|
+
return remap$(v, {
|
|
74
|
+
"size_bytes": "sizeBytes",
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
export function fileEntryFromJSON(
|
|
79
|
+
jsonString: string,
|
|
80
|
+
): SafeParseResult<FileEntry, SDKValidationError> {
|
|
81
|
+
return safeParse(
|
|
82
|
+
jsonString,
|
|
83
|
+
(x) => FileEntry$inboundSchema.parse(JSON.parse(x)),
|
|
84
|
+
`Failed to parse 'FileEntry' from JSON`,
|
|
85
|
+
);
|
|
86
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
FileSystemExternalAccess,
|
|
12
|
+
FileSystemExternalAccess$inboundSchema,
|
|
13
|
+
} from "./filesystemexternalaccess.js";
|
|
14
|
+
import { Sharing, Sharing$inboundSchema } from "./sharing.js";
|
|
15
|
+
|
|
16
|
+
export type FileSystem = {
|
|
17
|
+
/**
|
|
18
|
+
* The unique identifier of the file system
|
|
19
|
+
*/
|
|
20
|
+
id?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* The unique key of the file system. The key is unique and immutable and cannot be repeated within the same workspace.
|
|
23
|
+
*/
|
|
24
|
+
key: string;
|
|
25
|
+
/**
|
|
26
|
+
* Human readable name shown in the UI
|
|
27
|
+
*/
|
|
28
|
+
displayName: string;
|
|
29
|
+
/**
|
|
30
|
+
* The description of the file system. Be as precise as possible to help the AI understand what the file system is for.
|
|
31
|
+
*/
|
|
32
|
+
description: string;
|
|
33
|
+
/**
|
|
34
|
+
* Identifier of the project the file system belongs to
|
|
35
|
+
*/
|
|
36
|
+
projectId: string;
|
|
37
|
+
externalAccess: FileSystemExternalAccess;
|
|
38
|
+
/**
|
|
39
|
+
* The user ID of the creator
|
|
40
|
+
*/
|
|
41
|
+
createdById?: string | null | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* The user ID of the last updater
|
|
44
|
+
*/
|
|
45
|
+
updatedById?: string | null | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* The creation date of the file system
|
|
48
|
+
*/
|
|
49
|
+
created: string;
|
|
50
|
+
/**
|
|
51
|
+
* The last update date of the file system
|
|
52
|
+
*/
|
|
53
|
+
updated: string;
|
|
54
|
+
/**
|
|
55
|
+
* Sharing controls which projects in the workspace may use this entity and
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
* what they may do with it.
|
|
59
|
+
*/
|
|
60
|
+
sharing?: Sharing | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Apparent size of the file system in bytes at the last metering. Absent until first metered.
|
|
63
|
+
*/
|
|
64
|
+
usedBytes?: string | null | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Number of files and directories in the file system at the last metering. Absent until first metered.
|
|
67
|
+
*/
|
|
68
|
+
usedInodes?: string | null | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* When usage was last measured. Absent until first metered.
|
|
71
|
+
*/
|
|
72
|
+
lastMeteredAt?: string | null | undefined;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const FileSystem$inboundSchema: z.ZodType<
|
|
77
|
+
FileSystem,
|
|
78
|
+
z.ZodTypeDef,
|
|
79
|
+
unknown
|
|
80
|
+
> = z.object({
|
|
81
|
+
id: z.string().optional(),
|
|
82
|
+
key: z.string(),
|
|
83
|
+
display_name: z.string(),
|
|
84
|
+
description: z.string(),
|
|
85
|
+
project_id: z.string(),
|
|
86
|
+
external_access: FileSystemExternalAccess$inboundSchema,
|
|
87
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
88
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
89
|
+
created: z.string(),
|
|
90
|
+
updated: z.string(),
|
|
91
|
+
sharing: Sharing$inboundSchema.optional(),
|
|
92
|
+
used_bytes: z.nullable(z.string()).optional(),
|
|
93
|
+
used_inodes: z.nullable(z.string()).optional(),
|
|
94
|
+
last_metered_at: z.nullable(z.string()).optional(),
|
|
95
|
+
}).transform((v) => {
|
|
96
|
+
return remap$(v, {
|
|
97
|
+
"display_name": "displayName",
|
|
98
|
+
"project_id": "projectId",
|
|
99
|
+
"external_access": "externalAccess",
|
|
100
|
+
"created_by_id": "createdById",
|
|
101
|
+
"updated_by_id": "updatedById",
|
|
102
|
+
"used_bytes": "usedBytes",
|
|
103
|
+
"used_inodes": "usedInodes",
|
|
104
|
+
"last_metered_at": "lastMeteredAt",
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
export function fileSystemFromJSON(
|
|
109
|
+
jsonString: string,
|
|
110
|
+
): SafeParseResult<FileSystem, SDKValidationError> {
|
|
111
|
+
return safeParse(
|
|
112
|
+
jsonString,
|
|
113
|
+
(x) => FileSystem$inboundSchema.parse(JSON.parse(x)),
|
|
114
|
+
`Failed to parse 'FileSystem' from JSON`,
|
|
115
|
+
);
|
|
116
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const FileSystemExternalAccess = {
|
|
9
|
+
Disabled: "disabled",
|
|
10
|
+
ReadOnly: "read_only",
|
|
11
|
+
ReadWrite: "read_write",
|
|
12
|
+
} as const;
|
|
13
|
+
export type FileSystemExternalAccess = ClosedEnum<
|
|
14
|
+
typeof FileSystemExternalAccess
|
|
15
|
+
>;
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const FileSystemExternalAccess$inboundSchema: z.ZodNativeEnum<
|
|
19
|
+
typeof FileSystemExternalAccess
|
|
20
|
+
> = z.nativeEnum(FileSystemExternalAccess);
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Attaches a persistent file system to the agent, named by file_system_id or file_system_key in the configuration. The agent may only read it unless the configured access_mode is read_write.
|
|
10
|
+
*/
|
|
11
|
+
export type FileSystemToolInput = {
|
|
12
|
+
type: "file_system";
|
|
13
|
+
/**
|
|
14
|
+
* Whether this tool requires approval before execution
|
|
15
|
+
*/
|
|
16
|
+
requiresApproval?: boolean | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
19
|
+
*/
|
|
20
|
+
configuration?: { [k: string]: any } | undefined;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export type FileSystemToolInput$Outbound = {
|
|
25
|
+
type: "file_system";
|
|
26
|
+
requires_approval?: boolean | undefined;
|
|
27
|
+
configuration?: { [k: string]: any } | undefined;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const FileSystemToolInput$outboundSchema: z.ZodType<
|
|
32
|
+
FileSystemToolInput$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
FileSystemToolInput
|
|
35
|
+
> = z.object({
|
|
36
|
+
type: z.literal("file_system"),
|
|
37
|
+
requiresApproval: z.boolean().optional(),
|
|
38
|
+
configuration: z.record(z.any()).optional(),
|
|
39
|
+
}).transform((v) => {
|
|
40
|
+
return remap$(v, {
|
|
41
|
+
requiresApproval: "requires_approval",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
export function fileSystemToolInputToJSON(
|
|
46
|
+
fileSystemToolInput: FileSystemToolInput,
|
|
47
|
+
): string {
|
|
48
|
+
return JSON.stringify(
|
|
49
|
+
FileSystemToolInput$outboundSchema.parse(fileSystemToolInput),
|
|
50
|
+
);
|
|
51
|
+
}
|
|
@@ -91,6 +91,9 @@ export * from "./createdomainrequest.js";
|
|
|
91
91
|
export * from "./createdomainresponse.js";
|
|
92
92
|
export * from "./createfilerequest.js";
|
|
93
93
|
export * from "./createfileresponse.js";
|
|
94
|
+
export * from "./createfilesystemfolderrequest.js";
|
|
95
|
+
export * from "./createfilesystemfolderresponse.js";
|
|
96
|
+
export * from "./createfilesystemrequest.js";
|
|
94
97
|
export * from "./createguardrailrulerequest.js";
|
|
95
98
|
export * from "./createguardrailruleresponse.js";
|
|
96
99
|
export * from "./createidentityrequest.js";
|
|
@@ -128,6 +131,8 @@ export * from "./datasourcesserviceupdaterequest.js";
|
|
|
128
131
|
export * from "./deletealertresponse.js";
|
|
129
132
|
export * from "./deletebudgetresponse.js";
|
|
130
133
|
export * from "./deletefileresponse.js";
|
|
134
|
+
export * from "./deletefilesystemfileresponse.js";
|
|
135
|
+
export * from "./deletefilesystemresponse.js";
|
|
131
136
|
export * from "./deleteguardrailruleresponse.js";
|
|
132
137
|
export * from "./deleteidentityresponse.js";
|
|
133
138
|
export * from "./deletemanagementkeyresponse.js";
|
|
@@ -178,8 +183,12 @@ export * from "./fallbackconfig.js";
|
|
|
178
183
|
export * from "./fieldinfo.js";
|
|
179
184
|
export * from "./file.js";
|
|
180
185
|
export * from "./filecontentpartschema.js";
|
|
186
|
+
export * from "./fileentry.js";
|
|
181
187
|
export * from "./filepart.js";
|
|
182
188
|
export * from "./filepurpose.js";
|
|
189
|
+
export * from "./filesystem.js";
|
|
190
|
+
export * from "./filesystemexternalaccess.js";
|
|
191
|
+
export * from "./filesystemtoolinput.js";
|
|
183
192
|
export * from "./filter.js";
|
|
184
193
|
export * from "./findlogpatternsmeta.js";
|
|
185
194
|
export * from "./findlogpatternsrequest.js";
|
|
@@ -223,7 +232,6 @@ export * from "./imagecontentpartschema.js";
|
|
|
223
232
|
export * from "./incompletedetails.js";
|
|
224
233
|
export * from "./inputtokensdetails.js";
|
|
225
234
|
export * from "./internalretrievalconfig.js";
|
|
226
|
-
export * from "./invokedeploymentrequest.js";
|
|
227
235
|
export * from "./invokeevaluatorrequest.js";
|
|
228
236
|
export * from "./invokeevaluatorresponse.js";
|
|
229
237
|
export * from "./ipallowlist.js";
|
|
@@ -245,6 +253,8 @@ export * from "./listbudgetsresponse.js";
|
|
|
245
253
|
export * from "./listcapabilitiesresponse.js";
|
|
246
254
|
export * from "./listdomainsresponse.js";
|
|
247
255
|
export * from "./listfilesresponse.js";
|
|
256
|
+
export * from "./listfilesystemfilesresponse.js";
|
|
257
|
+
export * from "./listfilesystemsresponse.js";
|
|
248
258
|
export * from "./listguardrailrulesresponse.js";
|
|
249
259
|
export * from "./listguardrailruleusedguardrailsresponse.js";
|
|
250
260
|
export * from "./listidentitiesresponse.js";
|
|
@@ -303,7 +313,6 @@ export * from "./mcpoauthconfig.js";
|
|
|
303
313
|
export * from "./mcpoauthconfigoutput.js";
|
|
304
314
|
export * from "./mcpserver.js";
|
|
305
315
|
export * from "./mcpsyncstate.js";
|
|
306
|
-
export * from "./mcptestresult.js";
|
|
307
316
|
export * from "./mcptool.js";
|
|
308
317
|
export * from "./mcptoolannotations.js";
|
|
309
318
|
export * from "./mcptoolexposure.js";
|
|
@@ -328,6 +337,8 @@ export * from "./modelref.js";
|
|
|
328
337
|
export * from "./modelsconfig.js";
|
|
329
338
|
export * from "./modelsharingconfig.js";
|
|
330
339
|
export * from "./monitorfilter.js";
|
|
340
|
+
export * from "./movefilesystemfilerequest.js";
|
|
341
|
+
export * from "./movefilesystemfileresponse.js";
|
|
331
342
|
export * from "./notifier.js";
|
|
332
343
|
export * from "./notifiertype.js";
|
|
333
344
|
export * from "./orqadvisortool.js";
|
|
@@ -488,6 +499,7 @@ export * from "./searchtracesresponse.js";
|
|
|
488
499
|
export * from "./searchtype.js";
|
|
489
500
|
export * from "./security.js";
|
|
490
501
|
export * from "./securityconfig.js";
|
|
502
|
+
export * from "./servertoolusedetails.js";
|
|
491
503
|
export * from "./serviceaccountowner.js";
|
|
492
504
|
export * from "./sharing.js";
|
|
493
505
|
export * from "./sharingallprojects.js";
|
|
@@ -499,6 +511,7 @@ export * from "./smartrouter.js";
|
|
|
499
511
|
export * from "./smartrouterprofile.js";
|
|
500
512
|
export * from "./spandetail.js";
|
|
501
513
|
export * from "./spansummary.js";
|
|
514
|
+
export * from "./statfilesystemfileresponse.js";
|
|
502
515
|
export * from "./streamoptions.js";
|
|
503
516
|
export * from "./structuredinput.js";
|
|
504
517
|
export * from "./structuredoutput.js";
|
|
@@ -507,8 +520,6 @@ export * from "./syncmcpserverrequest.js";
|
|
|
507
520
|
export * from "./syncmcpserverresponse.js";
|
|
508
521
|
export * from "./syncstatus.js";
|
|
509
522
|
export * from "./telemetry.js";
|
|
510
|
-
export * from "./testmcpserverrequest.js";
|
|
511
|
-
export * from "./testmcpserverresponse.js";
|
|
512
523
|
export * from "./testmcpservertoolrequest.js";
|
|
513
524
|
export * from "./testmcpservertoolresponse.js";
|
|
514
525
|
export * from "./textcontentpartschema.js";
|
|
@@ -551,6 +562,7 @@ export * from "./updatebudgetrequest.js";
|
|
|
551
562
|
export * from "./updatebudgetresponse.js";
|
|
552
563
|
export * from "./updatefilerequest.js";
|
|
553
564
|
export * from "./updatefileresponse.js";
|
|
565
|
+
export * from "./updatefilesystemrequest.js";
|
|
554
566
|
export * from "./updateguardrailrulerequest.js";
|
|
555
567
|
export * from "./updateguardrailruleresponse.js";
|
|
556
568
|
export * from "./updateidentityrequest.js";
|
|
@@ -10,20 +10,23 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
import { Knowledge, Knowledge$inboundSchema } from "./knowledge.js";
|
|
12
12
|
|
|
13
|
-
export const
|
|
13
|
+
export const KnowledgeBasesServiceListResponseObject = {
|
|
14
14
|
List: "list",
|
|
15
15
|
} as const;
|
|
16
|
-
export type
|
|
16
|
+
export type KnowledgeBasesServiceListResponseObject = ClosedEnum<
|
|
17
|
+
typeof KnowledgeBasesServiceListResponseObject
|
|
18
|
+
>;
|
|
17
19
|
|
|
18
20
|
export type KnowledgeBasesServiceListResponse = {
|
|
19
|
-
object:
|
|
21
|
+
object: KnowledgeBasesServiceListResponseObject;
|
|
20
22
|
data: Array<Knowledge>;
|
|
21
23
|
hasMore: boolean;
|
|
22
24
|
};
|
|
23
25
|
|
|
24
26
|
/** @internal */
|
|
25
|
-
export const
|
|
26
|
-
.
|
|
27
|
+
export const KnowledgeBasesServiceListResponseObject$inboundSchema:
|
|
28
|
+
z.ZodNativeEnum<typeof KnowledgeBasesServiceListResponseObject> = z
|
|
29
|
+
.nativeEnum(KnowledgeBasesServiceListResponseObject);
|
|
27
30
|
|
|
28
31
|
/** @internal */
|
|
29
32
|
export const KnowledgeBasesServiceListResponse$inboundSchema: z.ZodType<
|
|
@@ -31,7 +34,7 @@ export const KnowledgeBasesServiceListResponse$inboundSchema: z.ZodType<
|
|
|
31
34
|
z.ZodTypeDef,
|
|
32
35
|
unknown
|
|
33
36
|
> = z.object({
|
|
34
|
-
object:
|
|
37
|
+
object: KnowledgeBasesServiceListResponseObject$inboundSchema,
|
|
35
38
|
data: z.array(Knowledge$inboundSchema),
|
|
36
39
|
has_more: z.boolean(),
|
|
37
40
|
}).transform((v) => {
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import { FileEntry, FileEntry$inboundSchema } from "./fileentry.js";
|
|
11
|
+
|
|
12
|
+
export type ListFileSystemFilesResponse = {
|
|
13
|
+
/**
|
|
14
|
+
* Folder that was listed, relative to the file system root
|
|
15
|
+
*/
|
|
16
|
+
path: string;
|
|
17
|
+
/**
|
|
18
|
+
* Number of folder levels that were walked
|
|
19
|
+
*/
|
|
20
|
+
depth: number;
|
|
21
|
+
entries: Array<FileEntry>;
|
|
22
|
+
/**
|
|
23
|
+
* Number of entries returned
|
|
24
|
+
*/
|
|
25
|
+
entryCount: number;
|
|
26
|
+
/**
|
|
27
|
+
* Whether the listing stopped at max_entries
|
|
28
|
+
*/
|
|
29
|
+
truncated: boolean;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const ListFileSystemFilesResponse$inboundSchema: z.ZodType<
|
|
34
|
+
ListFileSystemFilesResponse,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
unknown
|
|
37
|
+
> = z.object({
|
|
38
|
+
path: z.string(),
|
|
39
|
+
depth: z.number().int(),
|
|
40
|
+
entries: z.array(FileEntry$inboundSchema),
|
|
41
|
+
entry_count: z.number().int(),
|
|
42
|
+
truncated: z.boolean(),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return remap$(v, {
|
|
45
|
+
"entry_count": "entryCount",
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export function listFileSystemFilesResponseFromJSON(
|
|
50
|
+
jsonString: string,
|
|
51
|
+
): SafeParseResult<ListFileSystemFilesResponse, SDKValidationError> {
|
|
52
|
+
return safeParse(
|
|
53
|
+
jsonString,
|
|
54
|
+
(x) => ListFileSystemFilesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
55
|
+
`Failed to parse 'ListFileSystemFilesResponse' from JSON`,
|
|
56
|
+
);
|
|
57
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import { FileSystem, FileSystem$inboundSchema } from "./filesystem.js";
|
|
12
|
+
|
|
13
|
+
export const ObjectT = {
|
|
14
|
+
List: "list",
|
|
15
|
+
} as const;
|
|
16
|
+
export type ObjectT = ClosedEnum<typeof ObjectT>;
|
|
17
|
+
|
|
18
|
+
export type ListFileSystemsResponse = {
|
|
19
|
+
object: ObjectT;
|
|
20
|
+
data: Array<FileSystem>;
|
|
21
|
+
hasMore: boolean;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const ObjectT$inboundSchema: z.ZodNativeEnum<typeof ObjectT> = z
|
|
26
|
+
.nativeEnum(ObjectT);
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const ListFileSystemsResponse$inboundSchema: z.ZodType<
|
|
30
|
+
ListFileSystemsResponse,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
object: ObjectT$inboundSchema,
|
|
35
|
+
data: z.array(FileSystem$inboundSchema),
|
|
36
|
+
has_more: z.boolean(),
|
|
37
|
+
}).transform((v) => {
|
|
38
|
+
return remap$(v, {
|
|
39
|
+
"has_more": "hasMore",
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export function listFileSystemsResponseFromJSON(
|
|
44
|
+
jsonString: string,
|
|
45
|
+
): SafeParseResult<ListFileSystemsResponse, SDKValidationError> {
|
|
46
|
+
return safeParse(
|
|
47
|
+
jsonString,
|
|
48
|
+
(x) => ListFileSystemsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
49
|
+
`Failed to parse 'ListFileSystemsResponse' from JSON`,
|
|
50
|
+
);
|
|
51
|
+
}
|
|
@@ -49,6 +49,16 @@ export type McpAccess = {
|
|
|
49
49
|
* union of these toolsets. Empty means no toolset restriction.
|
|
50
50
|
*/
|
|
51
51
|
toolsetIds?: Array<string> | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Allow-list of file system ids (`fsys_<ULID>`) the key may reach over
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* the file system MCP endpoint. Ignored when deny_all is true. Empty
|
|
57
|
+
* (with deny_all=false) means no restriction. The access mode a key
|
|
58
|
+
* gets on a reachable file system is the file system's own
|
|
59
|
+
* external_access, never something the key carries.
|
|
60
|
+
*/
|
|
61
|
+
allowedFilesystemIds?: Array<string> | undefined;
|
|
52
62
|
};
|
|
53
63
|
|
|
54
64
|
/** @internal */
|
|
@@ -56,6 +66,7 @@ export type McpAccess$Outbound = {
|
|
|
56
66
|
deny_all?: boolean | undefined;
|
|
57
67
|
allowed_mcp_gateway_ids?: Array<string> | undefined;
|
|
58
68
|
toolset_ids?: Array<string> | undefined;
|
|
69
|
+
allowed_filesystem_ids?: Array<string> | undefined;
|
|
59
70
|
};
|
|
60
71
|
|
|
61
72
|
/** @internal */
|
|
@@ -67,11 +78,13 @@ export const McpAccess$outboundSchema: z.ZodType<
|
|
|
67
78
|
denyAll: z.boolean().optional(),
|
|
68
79
|
allowedMcpGatewayIds: z.array(z.string()).optional(),
|
|
69
80
|
toolsetIds: z.array(z.string()).optional(),
|
|
81
|
+
allowedFilesystemIds: z.array(z.string()).optional(),
|
|
70
82
|
}).transform((v) => {
|
|
71
83
|
return remap$(v, {
|
|
72
84
|
denyAll: "deny_all",
|
|
73
85
|
allowedMcpGatewayIds: "allowed_mcp_gateway_ids",
|
|
74
86
|
toolsetIds: "toolset_ids",
|
|
87
|
+
allowedFilesystemIds: "allowed_filesystem_ids",
|
|
75
88
|
});
|
|
76
89
|
});
|
|
77
90
|
|