@orq-ai/node 4.10.1 → 4.10.4
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/createfilerequest.d.ts +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createprompt.d.ts +1 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +1 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentinvoke.d.ts +1 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +1 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +1 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +1 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getoneprompt.d.ts +1 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -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/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listpromptversions.d.ts +1 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateprompt.d.ts +1 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +1 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +5 -5
- package/packages/orq-rc/src/funcs/filesDelete.ts +3 -0
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/apikey.ts +19 -19
- package/packages/orq-rc/src/models/components/createapikeyrequest.ts +4 -4
- package/packages/orq-rc/src/models/components/createapikeyresponse.ts +4 -4
- package/packages/orq-rc/src/models/components/createfilerequest.ts +15 -6
- package/packages/orq-rc/src/models/components/createfileresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/createidentityrequest.ts +27 -3
- package/packages/orq-rc/src/models/components/createidentityresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/createprojectrequest.ts +3 -3
- package/packages/orq-rc/src/models/components/createprojectresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/createskillrequest.ts +3 -3
- package/packages/orq-rc/src/models/components/createskillresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/file.ts +24 -12
- package/packages/orq-rc/src/models/components/getapikeyresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/getfileresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/getprojectresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/getskillresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/identity.ts +55 -10
- package/packages/orq-rc/src/models/components/identitymetrics.ts +20 -8
- package/packages/orq-rc/src/models/components/listapikeysresponse.ts +6 -6
- package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/listfilesresponse.ts +15 -6
- package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +18 -6
- package/packages/orq-rc/src/models/components/listprojectsresponse.ts +6 -6
- package/packages/orq-rc/src/models/components/listskillsresponse.ts +6 -6
- package/packages/orq-rc/src/models/components/project.ts +16 -16
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/singleproject.ts +7 -4
- package/packages/orq-rc/src/models/components/skill.ts +25 -25
- package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +1 -8
- package/packages/orq-rc/src/models/components/updateapikeyresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/updatefilerequest.ts +6 -7
- package/packages/orq-rc/src/models/components/updatefileresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/updateidentityrequest.ts +18 -3
- package/packages/orq-rc/src/models/components/updateidentityresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/updateprojectrequest.ts +0 -11
- package/packages/orq-rc/src/models/components/updateprojectresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/updateskillrequest.ts +0 -7
- package/packages/orq-rc/src/models/components/updateskillresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/userowner.ts +7 -4
- package/packages/orq-rc/src/models/operations/createdataset.ts +5 -5
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +6 -6
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createknowledge.ts +4 -4
- package/packages/orq-rc/src/models/operations/creatememorydocument.ts +4 -4
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +4 -4
- package/packages/orq-rc/src/models/operations/createprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deleteidentity.ts +3 -0
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +1 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +1 -0
- package/packages/orq-rc/src/models/operations/filecontent.ts +3 -0
- package/packages/orq-rc/src/models/operations/filedelete.ts +3 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +3 -0
- package/packages/orq-rc/src/models/operations/filelist.ts +15 -0
- package/packages/orq-rc/src/models/operations/fileupdate.ts +3 -0
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +4 -4
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +4 -4
- package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +4 -4
- 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/listdatasetdatapoints.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +5 -5
- package/packages/orq-rc/src/models/operations/listdatasources.ts +3 -3
- package/packages/orq-rc/src/models/operations/listidentities.ts +24 -0
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +4 -4
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +5 -5
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +3 -3
- package/packages/orq-rc/src/models/operations/retrieveidentity.ts +6 -0
- package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +5 -5
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +3 -3
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updateidentity.ts +3 -0
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatememorydocument.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +4 -4
- package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/files.ts +3 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/createfilerequest.ts +1 -1
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createprompt.ts +1 -0
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentinvoke.ts +1 -0
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/deploymentstream.ts +1 -0
- package/src/models/operations/getallprompts.ts +1 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listpromptversions.ts +1 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateprompt.ts +1 -0
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -9,7 +9,10 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
9
9
|
import { FileT, FileT$inboundSchema } from "./file.js";
|
|
10
10
|
|
|
11
11
|
export type UpdateFileResponse = {
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Updated file metadata.
|
|
14
|
+
*/
|
|
15
|
+
file: FileT;
|
|
13
16
|
};
|
|
14
17
|
|
|
15
18
|
/** @internal */
|
|
@@ -18,7 +21,7 @@ export const UpdateFileResponse$inboundSchema: z.ZodType<
|
|
|
18
21
|
z.ZodTypeDef,
|
|
19
22
|
unknown
|
|
20
23
|
> = z.object({
|
|
21
|
-
file: FileT$inboundSchema
|
|
24
|
+
file: FileT$inboundSchema,
|
|
22
25
|
});
|
|
23
26
|
|
|
24
27
|
export function updateFileResponseFromJSON(
|
|
@@ -5,14 +5,31 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Replacement custom JSON metadata.
|
|
10
|
+
*/
|
|
8
11
|
export type UpdateIdentityRequestMetadata = {};
|
|
9
12
|
|
|
10
13
|
export type UpdateIdentityRequest = {
|
|
11
|
-
|
|
14
|
+
/**
|
|
15
|
+
* New display name. Omit to keep the current display name.
|
|
16
|
+
*/
|
|
12
17
|
displayName?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* New email address. Omit to keep the current email.
|
|
20
|
+
*/
|
|
13
21
|
email?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* New avatar image URL. Omit to keep the current avatar URL.
|
|
24
|
+
*/
|
|
14
25
|
avatarUrl?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Replacement tag list. Leave empty to clear tags.
|
|
28
|
+
*/
|
|
15
29
|
tags?: Array<string> | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Replacement custom JSON metadata.
|
|
32
|
+
*/
|
|
16
33
|
metadata?: UpdateIdentityRequestMetadata | undefined;
|
|
17
34
|
};
|
|
18
35
|
|
|
@@ -38,7 +55,6 @@ export function updateIdentityRequestMetadataToJSON(
|
|
|
38
55
|
|
|
39
56
|
/** @internal */
|
|
40
57
|
export type UpdateIdentityRequest$Outbound = {
|
|
41
|
-
id?: string | undefined;
|
|
42
58
|
display_name?: string | undefined;
|
|
43
59
|
email?: string | undefined;
|
|
44
60
|
avatar_url?: string | undefined;
|
|
@@ -52,7 +68,6 @@ export const UpdateIdentityRequest$outboundSchema: z.ZodType<
|
|
|
52
68
|
z.ZodTypeDef,
|
|
53
69
|
UpdateIdentityRequest
|
|
54
70
|
> = z.object({
|
|
55
|
-
id: z.string().optional(),
|
|
56
71
|
displayName: z.string().optional(),
|
|
57
72
|
email: z.string().optional(),
|
|
58
73
|
avatarUrl: z.string().optional(),
|
|
@@ -9,7 +9,10 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
9
9
|
import { Identity, Identity$inboundSchema } from "./identity.js";
|
|
10
10
|
|
|
11
11
|
export type UpdateIdentityResponse = {
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Updated identity.
|
|
14
|
+
*/
|
|
15
|
+
identity: Identity;
|
|
13
16
|
};
|
|
14
17
|
|
|
15
18
|
/** @internal */
|
|
@@ -18,7 +21,7 @@ export const UpdateIdentityResponse$inboundSchema: z.ZodType<
|
|
|
18
21
|
z.ZodTypeDef,
|
|
19
22
|
unknown
|
|
20
23
|
> = z.object({
|
|
21
|
-
identity: Identity$inboundSchema
|
|
24
|
+
identity: Identity$inboundSchema,
|
|
22
25
|
});
|
|
23
26
|
|
|
24
27
|
export function updateIdentityResponseFromJSON(
|
|
@@ -3,13 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
6
|
|
|
8
7
|
export type UpdateProjectRequest = {
|
|
9
|
-
/**
|
|
10
|
-
* Project ID to update.
|
|
11
|
-
*/
|
|
12
|
-
projectId?: string | undefined;
|
|
13
8
|
/**
|
|
14
9
|
* New project name. Omit to keep the current name.
|
|
15
10
|
*/
|
|
@@ -29,7 +24,6 @@ export type UpdateProjectRequest = {
|
|
|
29
24
|
|
|
30
25
|
/** @internal */
|
|
31
26
|
export type UpdateProjectRequest$Outbound = {
|
|
32
|
-
project_id?: string | undefined;
|
|
33
27
|
name?: string | undefined;
|
|
34
28
|
teams?: Array<string> | undefined;
|
|
35
29
|
description?: string | undefined;
|
|
@@ -41,14 +35,9 @@ export const UpdateProjectRequest$outboundSchema: z.ZodType<
|
|
|
41
35
|
z.ZodTypeDef,
|
|
42
36
|
UpdateProjectRequest
|
|
43
37
|
> = z.object({
|
|
44
|
-
projectId: z.string().optional(),
|
|
45
38
|
name: z.string().optional(),
|
|
46
39
|
teams: z.array(z.string()).optional(),
|
|
47
40
|
description: z.string().optional(),
|
|
48
|
-
}).transform((v) => {
|
|
49
|
-
return remap$(v, {
|
|
50
|
-
projectId: "project_id",
|
|
51
|
-
});
|
|
52
41
|
});
|
|
53
42
|
|
|
54
43
|
export function updateProjectRequestToJSON(
|
|
@@ -12,7 +12,7 @@ export type UpdateProjectResponse = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Updated project.
|
|
14
14
|
*/
|
|
15
|
-
project
|
|
15
|
+
project: Project;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
/** @internal */
|
|
@@ -21,7 +21,7 @@ export const UpdateProjectResponse$inboundSchema: z.ZodType<
|
|
|
21
21
|
z.ZodTypeDef,
|
|
22
22
|
unknown
|
|
23
23
|
> = z.object({
|
|
24
|
-
project: Project$inboundSchema
|
|
24
|
+
project: Project$inboundSchema,
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
export function updateProjectResponseFromJSON(
|
|
@@ -6,10 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
|
|
8
8
|
export type UpdateSkillRequest = {
|
|
9
|
-
/**
|
|
10
|
-
* Skill ID to update.
|
|
11
|
-
*/
|
|
12
|
-
skillId?: string | undefined;
|
|
13
9
|
/**
|
|
14
10
|
* New workspace-unique display name. Omit to keep the current name.
|
|
15
11
|
*
|
|
@@ -43,7 +39,6 @@ export type UpdateSkillRequest = {
|
|
|
43
39
|
|
|
44
40
|
/** @internal */
|
|
45
41
|
export type UpdateSkillRequest$Outbound = {
|
|
46
|
-
skill_id?: string | undefined;
|
|
47
42
|
display_name?: string | undefined;
|
|
48
43
|
description?: string | undefined;
|
|
49
44
|
tags?: Array<string> | undefined;
|
|
@@ -58,7 +53,6 @@ export const UpdateSkillRequest$outboundSchema: z.ZodType<
|
|
|
58
53
|
z.ZodTypeDef,
|
|
59
54
|
UpdateSkillRequest
|
|
60
55
|
> = z.object({
|
|
61
|
-
skillId: z.string().optional(),
|
|
62
56
|
displayName: z.string().optional(),
|
|
63
57
|
description: z.string().optional(),
|
|
64
58
|
tags: z.array(z.string()).optional(),
|
|
@@ -67,7 +61,6 @@ export const UpdateSkillRequest$outboundSchema: z.ZodType<
|
|
|
67
61
|
projectId: z.string().optional(),
|
|
68
62
|
}).transform((v) => {
|
|
69
63
|
return remap$(v, {
|
|
70
|
-
skillId: "skill_id",
|
|
71
64
|
displayName: "display_name",
|
|
72
65
|
projectId: "project_id",
|
|
73
66
|
});
|
|
@@ -12,7 +12,7 @@ export type UpdateSkillResponse = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Updated skill.
|
|
14
14
|
*/
|
|
15
|
-
skill
|
|
15
|
+
skill: Skill;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
/** @internal */
|
|
@@ -21,7 +21,7 @@ export const UpdateSkillResponse$inboundSchema: z.ZodType<
|
|
|
21
21
|
z.ZodTypeDef,
|
|
22
22
|
unknown
|
|
23
23
|
> = z.object({
|
|
24
|
-
skill: Skill$inboundSchema
|
|
24
|
+
skill: Skill$inboundSchema,
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
export function updateSkillResponseFromJSON(
|
|
@@ -9,7 +9,10 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type UserOwner = {
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* User ID that owns the API key.
|
|
14
|
+
*/
|
|
15
|
+
userId: string;
|
|
13
16
|
};
|
|
14
17
|
|
|
15
18
|
/** @internal */
|
|
@@ -18,7 +21,7 @@ export const UserOwner$inboundSchema: z.ZodType<
|
|
|
18
21
|
z.ZodTypeDef,
|
|
19
22
|
unknown
|
|
20
23
|
> = z.object({
|
|
21
|
-
user_id: z.string()
|
|
24
|
+
user_id: z.string(),
|
|
22
25
|
}).transform((v) => {
|
|
23
26
|
return remap$(v, {
|
|
24
27
|
"user_id": "userId",
|
|
@@ -26,7 +29,7 @@ export const UserOwner$inboundSchema: z.ZodType<
|
|
|
26
29
|
});
|
|
27
30
|
/** @internal */
|
|
28
31
|
export type UserOwner$Outbound = {
|
|
29
|
-
user_id
|
|
32
|
+
user_id: string;
|
|
30
33
|
};
|
|
31
34
|
|
|
32
35
|
/** @internal */
|
|
@@ -35,7 +38,7 @@ export const UserOwner$outboundSchema: z.ZodType<
|
|
|
35
38
|
z.ZodTypeDef,
|
|
36
39
|
UserOwner
|
|
37
40
|
> = z.object({
|
|
38
|
-
userId: z.string()
|
|
41
|
+
userId: z.string(),
|
|
39
42
|
}).transform((v) => {
|
|
40
43
|
return remap$(v, {
|
|
41
44
|
userId: "user_id",
|
|
@@ -54,11 +54,11 @@ export type CreateDatasetResponseBody = {
|
|
|
54
54
|
/**
|
|
55
55
|
* The unique identifier of the user who created the dataset
|
|
56
56
|
*/
|
|
57
|
-
createdById?: string | undefined;
|
|
57
|
+
createdById?: string | null | undefined;
|
|
58
58
|
/**
|
|
59
59
|
* The unique identifier of the user who last updated the dataset
|
|
60
60
|
*/
|
|
61
|
-
updatedById?: string | undefined;
|
|
61
|
+
updatedById?: string | null | undefined;
|
|
62
62
|
/**
|
|
63
63
|
* The date and time the resource was created
|
|
64
64
|
*/
|
|
@@ -133,12 +133,12 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
133
133
|
project_id: z.string(),
|
|
134
134
|
workspace_id: z.string(),
|
|
135
135
|
metadata: z.lazy(() => CreateDatasetMetadata$inboundSchema),
|
|
136
|
-
created_by_id: z.string().optional(),
|
|
137
|
-
updated_by_id: z.string().optional(),
|
|
136
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
137
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-06-
|
|
141
|
+
"2026-06-05T06:12:26.568Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -926,11 +926,11 @@ export type CreateDatasetItemResponseBody = {
|
|
|
926
926
|
/**
|
|
927
927
|
* The unique identifier of the user who created the dataset
|
|
928
928
|
*/
|
|
929
|
-
createdById?: string | undefined;
|
|
929
|
+
createdById?: string | null | undefined;
|
|
930
930
|
/**
|
|
931
931
|
* The unique identifier of the user who last updated the dataset
|
|
932
932
|
*/
|
|
933
|
-
updatedById?: string | undefined;
|
|
933
|
+
updatedById?: string | null | undefined;
|
|
934
934
|
/**
|
|
935
935
|
* The date and time the resource was created
|
|
936
936
|
*/
|
|
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2355
2355
|
),
|
|
2356
2356
|
reviewed_by_id: z.string(),
|
|
2357
2357
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2358
|
-
"2026-06-
|
|
2358
|
+
"2026-06-05T06:12:43.227Z",
|
|
2359
2359
|
).transform(v => new Date(v)),
|
|
2360
2360
|
type: z.literal("string_array"),
|
|
2361
2361
|
values: z.array(z.string()),
|
|
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2400
2400
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2401
2401
|
reviewed_by_id: z.string(),
|
|
2402
2402
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2403
|
-
"2026-06-
|
|
2403
|
+
"2026-06-05T06:12:43.226Z",
|
|
2404
2404
|
).transform(v => new Date(v)),
|
|
2405
2405
|
type: z.literal("number"),
|
|
2406
2406
|
value: z.number(),
|
|
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2446
2446
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2447
2447
|
reviewed_by_id: z.string(),
|
|
2448
2448
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2449
|
-
"2026-06-
|
|
2449
|
+
"2026-06-05T06:12:43.225Z",
|
|
2450
2450
|
).transform(v => new Date(v)),
|
|
2451
2451
|
type: z.literal("string"),
|
|
2452
2452
|
value: z.string(),
|
|
@@ -2524,12 +2524,12 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2524
2524
|
).optional(),
|
|
2525
2525
|
dataset_id: z.string(),
|
|
2526
2526
|
snapshot_version: z.string().optional(),
|
|
2527
|
-
created_by_id: z.string().optional(),
|
|
2528
|
-
updated_by_id: z.string().optional(),
|
|
2527
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2528
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2529
2529
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2530
2530
|
.optional(),
|
|
2531
2531
|
updated: z.string().datetime({ offset: true }).default(
|
|
2532
|
-
"2026-06-
|
|
2532
|
+
"2026-06-05T06:12:26.568Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -101,7 +101,7 @@ export type CreateDatasourceRequestBody = {
|
|
|
101
101
|
/**
|
|
102
102
|
* The description of the knowledge base
|
|
103
103
|
*/
|
|
104
|
-
description?: string | undefined;
|
|
104
|
+
description?: string | null | undefined;
|
|
105
105
|
/**
|
|
106
106
|
* The unique identifier of the file used for datasource creation. If provided, the file is immediately queued for chunking.
|
|
107
107
|
*/
|
|
@@ -144,7 +144,7 @@ export type CreateDatasourceResponseBody = {
|
|
|
144
144
|
/**
|
|
145
145
|
* The description of the knowledge base
|
|
146
146
|
*/
|
|
147
|
-
description?: string | undefined;
|
|
147
|
+
description?: string | null | undefined;
|
|
148
148
|
status: CreateDatasourceStatus;
|
|
149
149
|
/**
|
|
150
150
|
* The unique identifier of the file used to create the datasource.
|
|
@@ -336,7 +336,7 @@ export function chunkingOptionsToJSON(
|
|
|
336
336
|
/** @internal */
|
|
337
337
|
export type CreateDatasourceRequestBody$Outbound = {
|
|
338
338
|
display_name?: string | undefined;
|
|
339
|
-
description?: string | undefined;
|
|
339
|
+
description?: string | null | undefined;
|
|
340
340
|
file_id?: string | undefined;
|
|
341
341
|
chunking_options?: ChunkingOptions$Outbound | undefined;
|
|
342
342
|
};
|
|
@@ -348,7 +348,7 @@ export const CreateDatasourceRequestBody$outboundSchema: z.ZodType<
|
|
|
348
348
|
CreateDatasourceRequestBody
|
|
349
349
|
> = z.object({
|
|
350
350
|
displayName: z.string().optional(),
|
|
351
|
-
description: z.string().optional(),
|
|
351
|
+
description: z.nullable(z.string()).optional(),
|
|
352
352
|
fileId: z.string().optional(),
|
|
353
353
|
chunkingOptions: z.lazy(() => ChunkingOptions$outboundSchema).optional(),
|
|
354
354
|
}).transform((v) => {
|
|
@@ -409,9 +409,9 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
409
409
|
z.ZodTypeDef,
|
|
410
410
|
unknown
|
|
411
411
|
> = z.object({
|
|
412
|
-
_id: z.string().default("
|
|
412
|
+
_id: z.string().default("01KTB6K60JRA6Z0WS8753R5G4Y"),
|
|
413
413
|
display_name: z.string(),
|
|
414
|
-
description: z.string().optional(),
|
|
414
|
+
description: z.nullable(z.string()).optional(),
|
|
415
415
|
status: CreateDatasourceStatus$inboundSchema,
|
|
416
416
|
file_id: z.nullable(z.string()).optional(),
|
|
417
417
|
created: z.string(),
|
|
@@ -2190,8 +2190,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2190
2190
|
> = z.object({
|
|
2191
2191
|
_id: z.string(),
|
|
2192
2192
|
description: z.string(),
|
|
2193
|
-
created: z.string().default("2026-06-
|
|
2194
|
-
updated: z.string().default("2026-06-
|
|
2193
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2194
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2195
2195
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2196
2196
|
guardrail_config: z.nullable(
|
|
2197
2197
|
z.union([
|
|
@@ -2381,8 +2381,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2381
2381
|
.object({
|
|
2382
2382
|
_id: z.string(),
|
|
2383
2383
|
description: z.string(),
|
|
2384
|
-
created: z.string().default("2026-06-
|
|
2385
|
-
updated: z.string().default("2026-06-
|
|
2384
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2385
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2386
2386
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2387
2387
|
guardrail_config: z.nullable(
|
|
2388
2388
|
z.union([
|
|
@@ -3207,8 +3207,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3207
3207
|
> = z.object({
|
|
3208
3208
|
_id: z.string(),
|
|
3209
3209
|
description: z.string(),
|
|
3210
|
-
created: z.string().default("2026-06-
|
|
3211
|
-
updated: z.string().default("2026-06-
|
|
3210
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3211
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3212
3212
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3213
3213
|
guardrail_config: z.nullable(
|
|
3214
3214
|
z.union([
|
|
@@ -3427,8 +3427,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3427
3427
|
> = z.object({
|
|
3428
3428
|
_id: z.string(),
|
|
3429
3429
|
description: z.string(),
|
|
3430
|
-
created: z.string().default("2026-06-
|
|
3431
|
-
updated: z.string().default("2026-06-
|
|
3430
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3431
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3432
3432
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3433
3433
|
guardrail_config: z.nullable(
|
|
3434
3434
|
z.union([
|
|
@@ -3609,8 +3609,8 @@ export const CreateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3609
3609
|
> = z.object({
|
|
3610
3610
|
_id: z.string(),
|
|
3611
3611
|
description: z.string(),
|
|
3612
|
-
created: z.string().default("2026-06-
|
|
3613
|
-
updated: z.string().default("2026-06-
|
|
3612
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3613
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3614
3614
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3615
3615
|
guardrail_config: z.nullable(
|
|
3616
3616
|
z.union([
|
|
@@ -3769,8 +3769,8 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
|
|
|
3769
3769
|
.object({
|
|
3770
3770
|
_id: z.string(),
|
|
3771
3771
|
description: z.string(),
|
|
3772
|
-
created: z.string().default("2026-06-
|
|
3773
|
-
updated: z.string().default("2026-06-
|
|
3772
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3773
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3774
3774
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3775
3775
|
guardrail_config: z.nullable(
|
|
3776
3776
|
z.union([
|
|
@@ -4140,8 +4140,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
4140
4140
|
> = z.object({
|
|
4141
4141
|
_id: z.string(),
|
|
4142
4142
|
description: z.string(),
|
|
4143
|
-
created: z.string().default("2026-06-
|
|
4144
|
-
updated: z.string().default("2026-06-
|
|
4143
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
4144
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
4145
4145
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
4146
4146
|
guardrail_config: z.nullable(
|
|
4147
4147
|
z.union([
|
|
@@ -4360,8 +4360,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4360
4360
|
> = z.object({
|
|
4361
4361
|
_id: z.string(),
|
|
4362
4362
|
description: z.string(),
|
|
4363
|
-
created: z.string().default("2026-06-
|
|
4364
|
-
updated: z.string().default("2026-06-
|
|
4363
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
4364
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
4365
4365
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
4366
4366
|
guardrail_config: z.nullable(
|
|
4367
4367
|
z.union([
|
|
@@ -226,7 +226,7 @@ export type ResponseBody2 = {
|
|
|
226
226
|
/**
|
|
227
227
|
* The description of the knowledge base.
|
|
228
228
|
*/
|
|
229
|
-
description?: string | undefined;
|
|
229
|
+
description?: string | null | undefined;
|
|
230
230
|
/**
|
|
231
231
|
* The unique key of the knowledge base.
|
|
232
232
|
*/
|
|
@@ -347,7 +347,7 @@ export type ResponseBody1 = {
|
|
|
347
347
|
/**
|
|
348
348
|
* The description of the knowledge base.
|
|
349
349
|
*/
|
|
350
|
-
description?: string | undefined;
|
|
350
|
+
description?: string | null | undefined;
|
|
351
351
|
/**
|
|
352
352
|
* The unique key of the knowledge base.
|
|
353
353
|
*/
|
|
@@ -771,7 +771,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
|
|
|
771
771
|
> = z.object({
|
|
772
772
|
_id: z.string(),
|
|
773
773
|
created: z.string(),
|
|
774
|
-
description: z.string().optional(),
|
|
774
|
+
description: z.nullable(z.string()).optional(),
|
|
775
775
|
key: z.string(),
|
|
776
776
|
domain_id: z.string(),
|
|
777
777
|
path: z.string().optional(),
|
|
@@ -906,7 +906,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
|
|
|
906
906
|
> = z.object({
|
|
907
907
|
_id: z.string(),
|
|
908
908
|
created: z.string(),
|
|
909
|
-
description: z.string().optional(),
|
|
909
|
+
description: z.nullable(z.string()).optional(),
|
|
910
910
|
key: z.string(),
|
|
911
911
|
domain_id: z.string(),
|
|
912
912
|
path: z.string().optional(),
|
|
@@ -44,8 +44,8 @@ export type CreateMemoryDocumentResponseBody = {
|
|
|
44
44
|
text: string;
|
|
45
45
|
created: string;
|
|
46
46
|
updated: string;
|
|
47
|
-
createdById?: string | undefined;
|
|
48
|
-
updatedById?: string | undefined;
|
|
47
|
+
createdById?: string | null | undefined;
|
|
48
|
+
updatedById?: string | null | undefined;
|
|
49
49
|
workspaceId: string;
|
|
50
50
|
/**
|
|
51
51
|
* Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory documents based on their specific needs (e.g., document type, source, topic, relevance score, or any custom taxonomy).
|
|
@@ -126,8 +126,8 @@ export const CreateMemoryDocumentResponseBody$inboundSchema: z.ZodType<
|
|
|
126
126
|
text: z.string(),
|
|
127
127
|
created: z.string(),
|
|
128
128
|
updated: z.string(),
|
|
129
|
-
created_by_id: z.string().optional(),
|
|
130
|
-
updated_by_id: z.string().optional(),
|
|
129
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
130
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
131
131
|
workspace_id: z.string(),
|
|
132
132
|
metadata: z.record(z.string()).optional(),
|
|
133
133
|
}).transform((v) => {
|
|
@@ -67,11 +67,11 @@ export type CreateMemoryStoreResponseBody = {
|
|
|
67
67
|
/**
|
|
68
68
|
* The user ID of the creator
|
|
69
69
|
*/
|
|
70
|
-
createdById?: string | undefined;
|
|
70
|
+
createdById?: string | null | undefined;
|
|
71
71
|
/**
|
|
72
72
|
* The user ID of the last updater
|
|
73
73
|
*/
|
|
74
|
-
updatedById?: string | undefined;
|
|
74
|
+
updatedById?: string | null | undefined;
|
|
75
75
|
/**
|
|
76
76
|
* The creation date of the memory store
|
|
77
77
|
*/
|
|
@@ -171,8 +171,8 @@ export const CreateMemoryStoreResponseBody$inboundSchema: z.ZodType<
|
|
|
171
171
|
_id: z.string(),
|
|
172
172
|
key: z.string(),
|
|
173
173
|
description: z.string(),
|
|
174
|
-
created_by_id: z.string().optional(),
|
|
175
|
-
updated_by_id: z.string().optional(),
|
|
174
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
175
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
176
176
|
created: z.string(),
|
|
177
177
|
updated: z.string(),
|
|
178
178
|
ttl: z.number().optional(),
|
|
@@ -1898,7 +1898,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1898
1898
|
z.ZodTypeDef,
|
|
1899
1899
|
unknown
|
|
1900
1900
|
> = z.object({
|
|
1901
|
-
_id: z.string().default("
|
|
1901
|
+
_id: z.string().default("tool_01KTB6K5VVP9Y0DJXTHV7MFPBZ"),
|
|
1902
1902
|
path: z.string(),
|
|
1903
1903
|
key: z.string(),
|
|
1904
1904
|
display_name: z.string().optional(),
|
|
@@ -1995,7 +1995,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1995
1995
|
z.ZodTypeDef,
|
|
1996
1996
|
unknown
|
|
1997
1997
|
> = z.object({
|
|
1998
|
-
id: z.string().default("
|
|
1998
|
+
id: z.string().default("01KTB6K5VT93J5GBW4P0P9C77R"),
|
|
1999
1999
|
name: z.string(),
|
|
2000
2000
|
description: z.string().optional(),
|
|
2001
2001
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2051,7 +2051,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2051
2051
|
z.ZodTypeDef,
|
|
2052
2052
|
unknown
|
|
2053
2053
|
> = z.object({
|
|
2054
|
-
_id: z.string().default("
|
|
2054
|
+
_id: z.string().default("tool_01KTB6K5VS8VGF7EXJ8PKBYJRB"),
|
|
2055
2055
|
path: z.string(),
|
|
2056
2056
|
key: z.string(),
|
|
2057
2057
|
display_name: z.string().optional(),
|
|
@@ -2237,7 +2237,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2237
2237
|
z.ZodTypeDef,
|
|
2238
2238
|
unknown
|
|
2239
2239
|
> = z.object({
|
|
2240
|
-
_id: z.string().default("
|
|
2240
|
+
_id: z.string().default("tool_01KTB6K5VP86NF0JYQE0W6HT4X"),
|
|
2241
2241
|
path: z.string(),
|
|
2242
2242
|
key: z.string(),
|
|
2243
2243
|
display_name: z.string().optional(),
|
|
@@ -2330,7 +2330,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2330
2330
|
z.ZodTypeDef,
|
|
2331
2331
|
unknown
|
|
2332
2332
|
> = z.object({
|
|
2333
|
-
_id: z.string().default("
|
|
2333
|
+
_id: z.string().default("tool_01KTB6K5VNVXMAZS8BD3BHGHD5"),
|
|
2334
2334
|
path: z.string(),
|
|
2335
2335
|
key: z.string(),
|
|
2336
2336
|
display_name: z.string().optional(),
|
|
@@ -2431,7 +2431,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2431
2431
|
z.ZodTypeDef,
|
|
2432
2432
|
unknown
|
|
2433
2433
|
> = z.object({
|
|
2434
|
-
_id: z.string().default("
|
|
2434
|
+
_id: z.string().default("tool_01KTB6K5VKY95570JJ0871NAPR"),
|
|
2435
2435
|
path: z.string(),
|
|
2436
2436
|
key: z.string(),
|
|
2437
2437
|
display_name: z.string().optional(),
|