@orq-ai/node 4.14.0 → 4.14.1
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/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/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/geteval.js +16 -16
- 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/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/updatetool.js +4 -4
- package/package.json +1 -1
- package/packages/orq-rc/src/funcs/{mcpServersTest.ts → fileSystemsCreate.ts} +13 -13
- package/packages/orq-rc/src/funcs/fileSystemsCreateFolder.ts +173 -0
- 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/fileSystemsUpdate.ts +171 -0
- package/packages/orq-rc/src/lib/config.ts +2 -2
- 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/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 -3
- 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/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/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/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/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/geteval.ts +16 -16
- 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 -0
- 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/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/updatetool.ts +4 -4
- 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/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/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/geteval.ts +16 -16
- 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/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/updatetool.ts +4 -4
- 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
|
@@ -0,0 +1,94 @@
|
|
|
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 { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import {
|
|
9
|
+
Sharing,
|
|
10
|
+
Sharing$Outbound,
|
|
11
|
+
Sharing$outboundSchema,
|
|
12
|
+
} from "./sharing.js";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Whether external MCP clients may reach this file system. Defaults to disabled.
|
|
16
|
+
*/
|
|
17
|
+
export const ExternalAccess = {
|
|
18
|
+
Disabled: "disabled",
|
|
19
|
+
ReadOnly: "read_only",
|
|
20
|
+
ReadWrite: "read_write",
|
|
21
|
+
} as const;
|
|
22
|
+
/**
|
|
23
|
+
* Whether external MCP clients may reach this file system. Defaults to disabled.
|
|
24
|
+
*/
|
|
25
|
+
export type ExternalAccess = ClosedEnum<typeof ExternalAccess>;
|
|
26
|
+
|
|
27
|
+
export type CreateFileSystemRequest = {
|
|
28
|
+
/**
|
|
29
|
+
* The unique key of the file system. The key is unique and immutable and cannot be repeated within the same workspace.
|
|
30
|
+
*/
|
|
31
|
+
key: string;
|
|
32
|
+
/**
|
|
33
|
+
* Entity storage path. With workspace-level API keys, the first element identifies the project. With project-level API keys, the path is relative to that project.
|
|
34
|
+
*/
|
|
35
|
+
path: string;
|
|
36
|
+
/**
|
|
37
|
+
* Human readable name shown in the UI. Defaults to the key.
|
|
38
|
+
*/
|
|
39
|
+
displayName?: string | undefined;
|
|
40
|
+
description?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Whether external MCP clients may reach this file system. Defaults to disabled.
|
|
43
|
+
*/
|
|
44
|
+
externalAccess?: ExternalAccess | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Sharing controls which projects in the workspace may use this entity and
|
|
47
|
+
*
|
|
48
|
+
* @remarks
|
|
49
|
+
* what they may do with it.
|
|
50
|
+
*/
|
|
51
|
+
sharing?: Sharing | undefined;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const ExternalAccess$outboundSchema: z.ZodNativeEnum<
|
|
56
|
+
typeof ExternalAccess
|
|
57
|
+
> = z.nativeEnum(ExternalAccess);
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export type CreateFileSystemRequest$Outbound = {
|
|
61
|
+
key: string;
|
|
62
|
+
path: string;
|
|
63
|
+
display_name?: string | undefined;
|
|
64
|
+
description?: string | undefined;
|
|
65
|
+
external_access?: string | undefined;
|
|
66
|
+
sharing?: Sharing$Outbound | undefined;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const CreateFileSystemRequest$outboundSchema: z.ZodType<
|
|
71
|
+
CreateFileSystemRequest$Outbound,
|
|
72
|
+
z.ZodTypeDef,
|
|
73
|
+
CreateFileSystemRequest
|
|
74
|
+
> = z.object({
|
|
75
|
+
key: z.string(),
|
|
76
|
+
path: z.string(),
|
|
77
|
+
displayName: z.string().optional(),
|
|
78
|
+
description: z.string().optional(),
|
|
79
|
+
externalAccess: ExternalAccess$outboundSchema.optional(),
|
|
80
|
+
sharing: Sharing$outboundSchema.optional(),
|
|
81
|
+
}).transform((v) => {
|
|
82
|
+
return remap$(v, {
|
|
83
|
+
displayName: "display_name",
|
|
84
|
+
externalAccess: "external_access",
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
export function createFileSystemRequestToJSON(
|
|
89
|
+
createFileSystemRequest: CreateFileSystemRequest,
|
|
90
|
+
): string {
|
|
91
|
+
return JSON.stringify(
|
|
92
|
+
CreateFileSystemRequest$outboundSchema.parse(createFileSystemRequest),
|
|
93
|
+
);
|
|
94
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export const DeleteFileSystemFileResponseType = {
|
|
12
|
+
File: "file",
|
|
13
|
+
Dir: "dir",
|
|
14
|
+
Symlink: "symlink",
|
|
15
|
+
Other: "other",
|
|
16
|
+
} as const;
|
|
17
|
+
export type DeleteFileSystemFileResponseType = ClosedEnum<
|
|
18
|
+
typeof DeleteFileSystemFileResponseType
|
|
19
|
+
>;
|
|
20
|
+
|
|
21
|
+
export type DeleteFileSystemFileResponse = {
|
|
22
|
+
path: string;
|
|
23
|
+
type: DeleteFileSystemFileResponseType;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const DeleteFileSystemFileResponseType$inboundSchema: z.ZodNativeEnum<
|
|
28
|
+
typeof DeleteFileSystemFileResponseType
|
|
29
|
+
> = z.nativeEnum(DeleteFileSystemFileResponseType);
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const DeleteFileSystemFileResponse$inboundSchema: z.ZodType<
|
|
33
|
+
DeleteFileSystemFileResponse,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
unknown
|
|
36
|
+
> = z.object({
|
|
37
|
+
path: z.string(),
|
|
38
|
+
type: DeleteFileSystemFileResponseType$inboundSchema,
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
export function deleteFileSystemFileResponseFromJSON(
|
|
42
|
+
jsonString: string,
|
|
43
|
+
): SafeParseResult<DeleteFileSystemFileResponse, SDKValidationError> {
|
|
44
|
+
return safeParse(
|
|
45
|
+
jsonString,
|
|
46
|
+
(x) => DeleteFileSystemFileResponse$inboundSchema.parse(JSON.parse(x)),
|
|
47
|
+
`Failed to parse 'DeleteFileSystemFileResponse' from JSON`,
|
|
48
|
+
);
|
|
49
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type DeleteFileSystemResponse = {};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const DeleteFileSystemResponse$inboundSchema: z.ZodType<
|
|
14
|
+
DeleteFileSystemResponse,
|
|
15
|
+
z.ZodTypeDef,
|
|
16
|
+
unknown
|
|
17
|
+
> = z.object({});
|
|
18
|
+
|
|
19
|
+
export function deleteFileSystemResponseFromJSON(
|
|
20
|
+
jsonString: string,
|
|
21
|
+
): SafeParseResult<DeleteFileSystemResponse, SDKValidationError> {
|
|
22
|
+
return safeParse(
|
|
23
|
+
jsonString,
|
|
24
|
+
(x) => DeleteFileSystemResponse$inboundSchema.parse(JSON.parse(x)),
|
|
25
|
+
`Failed to parse 'DeleteFileSystemResponse' from JSON`,
|
|
26
|
+
);
|
|
27
|
+
}
|
|
@@ -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-26T11:10:54.428Z"),
|
|
864
|
+
updated: z.string().default("2026-08-26T11:10:54.428Z"),
|
|
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-26T11:10:54.428Z"),
|
|
50
|
+
updated: z.string().default("2026-08-26T11:10:54.428Z"),
|
|
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-26T11:10:54.428Z"),
|
|
36
|
+
updated: z.string().default("2026-08-26T11:10:54.428Z"),
|
|
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-26T11:10:54.428Z"),
|
|
275
|
+
updated: z.string().default("2026-08-26T11:10:54.428Z"),
|
|
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-26T11:10:54.428Z"),
|
|
36
|
+
updated: z.string().default("2026-08-26T11:10:54.428Z"),
|
|
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-26T11:10:54.428Z"),
|
|
58
|
+
updated: z.string().default("2026-08-26T11:10:54.428Z"),
|
|
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-26T11:10:54.428Z"),
|
|
36
|
+
updated: z.string().default("2026-08-26T11:10:54.428Z"),
|
|
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";
|
|
@@ -245,6 +254,8 @@ export * from "./listbudgetsresponse.js";
|
|
|
245
254
|
export * from "./listcapabilitiesresponse.js";
|
|
246
255
|
export * from "./listdomainsresponse.js";
|
|
247
256
|
export * from "./listfilesresponse.js";
|
|
257
|
+
export * from "./listfilesystemfilesresponse.js";
|
|
258
|
+
export * from "./listfilesystemsresponse.js";
|
|
248
259
|
export * from "./listguardrailrulesresponse.js";
|
|
249
260
|
export * from "./listguardrailruleusedguardrailsresponse.js";
|
|
250
261
|
export * from "./listidentitiesresponse.js";
|
|
@@ -303,7 +314,6 @@ export * from "./mcpoauthconfig.js";
|
|
|
303
314
|
export * from "./mcpoauthconfigoutput.js";
|
|
304
315
|
export * from "./mcpserver.js";
|
|
305
316
|
export * from "./mcpsyncstate.js";
|
|
306
|
-
export * from "./mcptestresult.js";
|
|
307
317
|
export * from "./mcptool.js";
|
|
308
318
|
export * from "./mcptoolannotations.js";
|
|
309
319
|
export * from "./mcptoolexposure.js";
|
|
@@ -328,6 +338,8 @@ export * from "./modelref.js";
|
|
|
328
338
|
export * from "./modelsconfig.js";
|
|
329
339
|
export * from "./modelsharingconfig.js";
|
|
330
340
|
export * from "./monitorfilter.js";
|
|
341
|
+
export * from "./movefilesystemfilerequest.js";
|
|
342
|
+
export * from "./movefilesystemfileresponse.js";
|
|
331
343
|
export * from "./notifier.js";
|
|
332
344
|
export * from "./notifiertype.js";
|
|
333
345
|
export * from "./orqadvisortool.js";
|
|
@@ -488,6 +500,7 @@ export * from "./searchtracesresponse.js";
|
|
|
488
500
|
export * from "./searchtype.js";
|
|
489
501
|
export * from "./security.js";
|
|
490
502
|
export * from "./securityconfig.js";
|
|
503
|
+
export * from "./servertoolusedetails.js";
|
|
491
504
|
export * from "./serviceaccountowner.js";
|
|
492
505
|
export * from "./sharing.js";
|
|
493
506
|
export * from "./sharingallprojects.js";
|
|
@@ -499,6 +512,7 @@ export * from "./smartrouter.js";
|
|
|
499
512
|
export * from "./smartrouterprofile.js";
|
|
500
513
|
export * from "./spandetail.js";
|
|
501
514
|
export * from "./spansummary.js";
|
|
515
|
+
export * from "./statfilesystemfileresponse.js";
|
|
502
516
|
export * from "./streamoptions.js";
|
|
503
517
|
export * from "./structuredinput.js";
|
|
504
518
|
export * from "./structuredoutput.js";
|
|
@@ -507,8 +521,6 @@ export * from "./syncmcpserverrequest.js";
|
|
|
507
521
|
export * from "./syncmcpserverresponse.js";
|
|
508
522
|
export * from "./syncstatus.js";
|
|
509
523
|
export * from "./telemetry.js";
|
|
510
|
-
export * from "./testmcpserverrequest.js";
|
|
511
|
-
export * from "./testmcpserverresponse.js";
|
|
512
524
|
export * from "./testmcpservertoolrequest.js";
|
|
513
525
|
export * from "./testmcpservertoolresponse.js";
|
|
514
526
|
export * from "./textcontentpartschema.js";
|
|
@@ -551,6 +563,7 @@ export * from "./updatebudgetrequest.js";
|
|
|
551
563
|
export * from "./updatebudgetresponse.js";
|
|
552
564
|
export * from "./updatefilerequest.js";
|
|
553
565
|
export * from "./updatefileresponse.js";
|
|
566
|
+
export * from "./updatefilesystemrequest.js";
|
|
554
567
|
export * from "./updateguardrailrulerequest.js";
|
|
555
568
|
export * from "./updateguardrailruleresponse.js";
|
|
556
569
|
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) => {
|