@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
|
@@ -44,11 +44,11 @@ export type RetrieveDatasetResponseBody = {
|
|
|
44
44
|
/**
|
|
45
45
|
* The unique identifier of the user who created the dataset
|
|
46
46
|
*/
|
|
47
|
-
createdById?: string | undefined;
|
|
47
|
+
createdById?: string | null | undefined;
|
|
48
48
|
/**
|
|
49
49
|
* The unique identifier of the user who last updated the dataset
|
|
50
50
|
*/
|
|
51
|
-
updatedById?: string | undefined;
|
|
51
|
+
updatedById?: string | null | undefined;
|
|
52
52
|
/**
|
|
53
53
|
* The date and time the resource was created
|
|
54
54
|
*/
|
|
@@ -121,12 +121,12 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
121
121
|
project_id: z.string(),
|
|
122
122
|
workspace_id: z.string(),
|
|
123
123
|
metadata: z.lazy(() => RetrieveDatasetMetadata$inboundSchema),
|
|
124
|
-
created_by_id: z.string().optional(),
|
|
125
|
-
updated_by_id: z.string().optional(),
|
|
124
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
125
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
126
126
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
127
127
|
.optional(),
|
|
128
128
|
updated: z.string().datetime({ offset: true }).default(
|
|
129
|
-
"2026-06-
|
|
129
|
+
"2026-06-05T06:12:26.568Z",
|
|
130
130
|
).transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -46,7 +46,7 @@ export type RetrieveDatasourceResponseBody = {
|
|
|
46
46
|
/**
|
|
47
47
|
* The description of the knowledge base
|
|
48
48
|
*/
|
|
49
|
-
description?: string | undefined;
|
|
49
|
+
description?: string | null | undefined;
|
|
50
50
|
status: RetrieveDatasourceStatus;
|
|
51
51
|
/**
|
|
52
52
|
* The unique identifier of the file used to create the datasource.
|
|
@@ -118,9 +118,9 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
118
118
|
z.ZodTypeDef,
|
|
119
119
|
unknown
|
|
120
120
|
> = z.object({
|
|
121
|
-
_id: z.string().default("
|
|
121
|
+
_id: z.string().default("01KTB6K60HAJESYMW89KC8RYJJ"),
|
|
122
122
|
display_name: z.string(),
|
|
123
|
-
description: z.string().optional(),
|
|
123
|
+
description: z.nullable(z.string()).optional(),
|
|
124
124
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
125
125
|
file_id: z.nullable(z.string()).optional(),
|
|
126
126
|
created: z.string(),
|
|
@@ -6,7 +6,13 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
|
|
8
8
|
export type RetrieveIdentityRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* Identity ID to retrieve.
|
|
11
|
+
*/
|
|
9
12
|
id: string;
|
|
13
|
+
/**
|
|
14
|
+
* Include aggregate usage metrics on the returned identity.
|
|
15
|
+
*/
|
|
10
16
|
includeMetrics?: boolean | undefined;
|
|
11
17
|
};
|
|
12
18
|
|
|
@@ -36,8 +36,8 @@ export type RetrieveMemoryDocumentResponseBody = {
|
|
|
36
36
|
text: string;
|
|
37
37
|
created: string;
|
|
38
38
|
updated: string;
|
|
39
|
-
createdById?: string | undefined;
|
|
40
|
-
updatedById?: string | undefined;
|
|
39
|
+
createdById?: string | null | undefined;
|
|
40
|
+
updatedById?: string | null | undefined;
|
|
41
41
|
workspaceId: string;
|
|
42
42
|
/**
|
|
43
43
|
* 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).
|
|
@@ -91,8 +91,8 @@ export const RetrieveMemoryDocumentResponseBody$inboundSchema: z.ZodType<
|
|
|
91
91
|
text: z.string(),
|
|
92
92
|
created: z.string(),
|
|
93
93
|
updated: z.string(),
|
|
94
|
-
created_by_id: z.string().optional(),
|
|
95
|
-
updated_by_id: z.string().optional(),
|
|
94
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
95
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
96
96
|
workspace_id: z.string(),
|
|
97
97
|
metadata: z.record(z.string()).optional(),
|
|
98
98
|
}).transform((v) => {
|
|
@@ -41,11 +41,11 @@ export type RetrieveMemoryStoreResponseBody = {
|
|
|
41
41
|
/**
|
|
42
42
|
* The user ID of the creator
|
|
43
43
|
*/
|
|
44
|
-
createdById?: string | undefined;
|
|
44
|
+
createdById?: string | null | undefined;
|
|
45
45
|
/**
|
|
46
46
|
* The user ID of the last updater
|
|
47
47
|
*/
|
|
48
|
-
updatedById?: string | undefined;
|
|
48
|
+
updatedById?: string | null | undefined;
|
|
49
49
|
/**
|
|
50
50
|
* The creation date of the memory store
|
|
51
51
|
*/
|
|
@@ -116,8 +116,8 @@ export const RetrieveMemoryStoreResponseBody$inboundSchema: z.ZodType<
|
|
|
116
116
|
_id: z.string(),
|
|
117
117
|
key: z.string(),
|
|
118
118
|
description: z.string(),
|
|
119
|
-
created_by_id: z.string().optional(),
|
|
120
|
-
updated_by_id: z.string().optional(),
|
|
119
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
120
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
121
121
|
created: z.string(),
|
|
122
122
|
updated: z.string(),
|
|
123
123
|
ttl: z.number().optional(),
|
|
@@ -753,7 +753,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
753
753
|
z.ZodTypeDef,
|
|
754
754
|
unknown
|
|
755
755
|
> = z.object({
|
|
756
|
-
_id: z.string().default("
|
|
756
|
+
_id: z.string().default("tool_01KTB6K5XDP8EHT1PEA2MEXJ2C"),
|
|
757
757
|
path: z.string(),
|
|
758
758
|
key: z.string(),
|
|
759
759
|
display_name: z.string().optional(),
|
|
@@ -859,7 +859,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
859
859
|
z.ZodTypeDef,
|
|
860
860
|
unknown
|
|
861
861
|
> = z.object({
|
|
862
|
-
id: z.string().default("
|
|
862
|
+
id: z.string().default("01KTB6K5XCEH44JJJYGWVXXQWM"),
|
|
863
863
|
name: z.string(),
|
|
864
864
|
description: z.string().optional(),
|
|
865
865
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KTB6K5XB0J89ZSZ21E03Y6TC"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1108,7 +1108,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1108
1108
|
z.ZodTypeDef,
|
|
1109
1109
|
unknown
|
|
1110
1110
|
> = z.object({
|
|
1111
|
-
_id: z.string().default("
|
|
1111
|
+
_id: z.string().default("tool_01KTB6K5X8C9ZSZ5CARXWQSK0P"),
|
|
1112
1112
|
path: z.string(),
|
|
1113
1113
|
key: z.string(),
|
|
1114
1114
|
display_name: z.string().optional(),
|
|
@@ -1204,7 +1204,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1204
1204
|
z.ZodTypeDef,
|
|
1205
1205
|
unknown
|
|
1206
1206
|
> = z.object({
|
|
1207
|
-
_id: z.string().default("
|
|
1207
|
+
_id: z.string().default("tool_01KTB6K5X7DRNSPYPXXZ9NJPMQ"),
|
|
1208
1208
|
path: z.string(),
|
|
1209
1209
|
key: z.string(),
|
|
1210
1210
|
display_name: z.string().optional(),
|
|
@@ -1310,7 +1310,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1310
1310
|
z.ZodTypeDef,
|
|
1311
1311
|
unknown
|
|
1312
1312
|
> = z.object({
|
|
1313
|
-
_id: z.string().default("
|
|
1313
|
+
_id: z.string().default("tool_01KTB6K5X5FXQWEAV3D6VK6VBF"),
|
|
1314
1314
|
path: z.string(),
|
|
1315
1315
|
key: z.string(),
|
|
1316
1316
|
display_name: z.string().optional(),
|
|
@@ -3626,7 +3626,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3626
3626
|
z.ZodTypeDef,
|
|
3627
3627
|
Tools
|
|
3628
3628
|
> = z.object({
|
|
3629
|
-
id: z.string().default("
|
|
3629
|
+
id: z.string().default("01KTB6K5NG8NPZHS9C06MWF4FF"),
|
|
3630
3630
|
name: z.string(),
|
|
3631
3631
|
description: z.string().optional(),
|
|
3632
3632
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3675,7 +3675,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3675
3675
|
z.ZodTypeDef,
|
|
3676
3676
|
AgentToolInputRunTools
|
|
3677
3677
|
> = z.object({
|
|
3678
|
-
id: z.string().default("
|
|
3678
|
+
id: z.string().default("01KTB6K5PYYRZWTYZ0GFAS6EDH"),
|
|
3679
3679
|
name: z.string(),
|
|
3680
3680
|
description: z.string().optional(),
|
|
3681
3681
|
schema: z.lazy(() =>
|
|
@@ -943,11 +943,11 @@ export type UpdateDatapointResponseBody = {
|
|
|
943
943
|
/**
|
|
944
944
|
* The unique identifier of the user who created the dataset
|
|
945
945
|
*/
|
|
946
|
-
createdById?: string | undefined;
|
|
946
|
+
createdById?: string | null | undefined;
|
|
947
947
|
/**
|
|
948
948
|
* The unique identifier of the user who last updated the dataset
|
|
949
949
|
*/
|
|
950
|
-
updatedById?: string | undefined;
|
|
950
|
+
updatedById?: string | null | undefined;
|
|
951
951
|
/**
|
|
952
952
|
* The date and time the resource was created
|
|
953
953
|
*/
|
|
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2358
2358
|
.default("orq"),
|
|
2359
2359
|
reviewed_by_id: z.string(),
|
|
2360
2360
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2361
|
-
"2026-06-
|
|
2361
|
+
"2026-06-05T06:12:43.253Z",
|
|
2362
2362
|
).transform(v => new Date(v)),
|
|
2363
2363
|
type: z.literal("string_array"),
|
|
2364
2364
|
values: z.array(z.string()),
|
|
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2404
2404
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
2405
2405
|
reviewed_by_id: z.string(),
|
|
2406
2406
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2407
|
-
"2026-06-
|
|
2407
|
+
"2026-06-05T06:12:43.253Z",
|
|
2408
2408
|
).transform(v => new Date(v)),
|
|
2409
2409
|
type: z.literal("number"),
|
|
2410
2410
|
value: z.number(),
|
|
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2449
2449
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2450
2450
|
reviewed_by_id: z.string(),
|
|
2451
2451
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2452
|
-
"2026-06-
|
|
2452
|
+
"2026-06-05T06:12:43.252Z",
|
|
2453
2453
|
).transform(v => new Date(v)),
|
|
2454
2454
|
type: z.literal("string"),
|
|
2455
2455
|
value: z.string(),
|
|
@@ -2525,12 +2525,12 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2525
2525
|
).optional(),
|
|
2526
2526
|
dataset_id: z.string(),
|
|
2527
2527
|
snapshot_version: z.string().optional(),
|
|
2528
|
-
created_by_id: z.string().optional(),
|
|
2529
|
-
updated_by_id: z.string().optional(),
|
|
2528
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2529
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2530
2530
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2531
2531
|
.optional(),
|
|
2532
2532
|
updated: z.string().datetime({ offset: true }).default(
|
|
2533
|
-
"2026-06-
|
|
2533
|
+
"2026-06-05T06:12:26.568Z",
|
|
2534
2534
|
).transform(v => new Date(v)),
|
|
2535
2535
|
}).transform((v) => {
|
|
2536
2536
|
return remap$(v, {
|
|
@@ -66,11 +66,11 @@ export type UpdateDatasetResponseBody = {
|
|
|
66
66
|
/**
|
|
67
67
|
* The unique identifier of the user who created the dataset
|
|
68
68
|
*/
|
|
69
|
-
createdById?: string | undefined;
|
|
69
|
+
createdById?: string | null | undefined;
|
|
70
70
|
/**
|
|
71
71
|
* The unique identifier of the user who last updated the dataset
|
|
72
72
|
*/
|
|
73
|
-
updatedById?: string | undefined;
|
|
73
|
+
updatedById?: string | null | undefined;
|
|
74
74
|
/**
|
|
75
75
|
* The date and time the resource was created
|
|
76
76
|
*/
|
|
@@ -177,12 +177,12 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
177
177
|
project_id: z.string(),
|
|
178
178
|
workspace_id: z.string(),
|
|
179
179
|
metadata: z.lazy(() => UpdateDatasetMetadata$inboundSchema),
|
|
180
|
-
created_by_id: z.string().optional(),
|
|
181
|
-
updated_by_id: z.string().optional(),
|
|
180
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
181
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-06-
|
|
185
|
+
"2026-06-05T06:12:26.568Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -49,7 +49,7 @@ export type UpdateDatasourceResponseBody = {
|
|
|
49
49
|
/**
|
|
50
50
|
* The description of the knowledge base
|
|
51
51
|
*/
|
|
52
|
-
description?: string | undefined;
|
|
52
|
+
description?: string | null | undefined;
|
|
53
53
|
status: UpdateDatasourceStatus;
|
|
54
54
|
/**
|
|
55
55
|
* The unique identifier of the file used to create the datasource.
|
|
@@ -152,9 +152,9 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
152
152
|
z.ZodTypeDef,
|
|
153
153
|
unknown
|
|
154
154
|
> = z.object({
|
|
155
|
-
_id: z.string().default("
|
|
155
|
+
_id: z.string().default("01KTB6K60N4R7W3MKW1TH8MXAA"),
|
|
156
156
|
display_name: z.string(),
|
|
157
|
-
description: z.string().optional(),
|
|
157
|
+
description: z.nullable(z.string()).optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
159
159
|
file_id: z.nullable(z.string()).optional(),
|
|
160
160
|
created: z.string(),
|
|
@@ -1550,8 +1550,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
1550
1550
|
> = z.object({
|
|
1551
1551
|
_id: z.string(),
|
|
1552
1552
|
description: z.string(),
|
|
1553
|
-
created: z.string().default("2026-06-
|
|
1554
|
-
updated: z.string().default("2026-06-
|
|
1553
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
1554
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
1555
1555
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1556
1556
|
guardrail_config: z.nullable(
|
|
1557
1557
|
z.union([
|
|
@@ -1746,8 +1746,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
1746
1746
|
> = z.object({
|
|
1747
1747
|
_id: z.string(),
|
|
1748
1748
|
description: z.string(),
|
|
1749
|
-
created: z.string().default("2026-06-
|
|
1750
|
-
updated: z.string().default("2026-06-
|
|
1749
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
1750
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
1751
1751
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1752
1752
|
guardrail_config: z.nullable(
|
|
1753
1753
|
z.union([
|
|
@@ -2605,8 +2605,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2605
2605
|
> = z.object({
|
|
2606
2606
|
_id: z.string(),
|
|
2607
2607
|
description: z.string(),
|
|
2608
|
-
created: z.string().default("2026-06-
|
|
2609
|
-
updated: z.string().default("2026-06-
|
|
2608
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2609
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2610
2610
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2611
2611
|
guardrail_config: z.nullable(
|
|
2612
2612
|
z.union([
|
|
@@ -2824,8 +2824,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2824
2824
|
> = z.object({
|
|
2825
2825
|
_id: z.string(),
|
|
2826
2826
|
description: z.string(),
|
|
2827
|
-
created: z.string().default("2026-06-
|
|
2828
|
-
updated: z.string().default("2026-06-
|
|
2827
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2828
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2829
2829
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2830
2830
|
guardrail_config: z.nullable(
|
|
2831
2831
|
z.union([
|
|
@@ -2993,8 +2993,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2993
2993
|
> = z.object({
|
|
2994
2994
|
_id: z.string(),
|
|
2995
2995
|
description: z.string(),
|
|
2996
|
-
created: z.string().default("2026-06-
|
|
2997
|
-
updated: z.string().default("2026-06-
|
|
2996
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2997
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2998
2998
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2999
2999
|
guardrail_config: z.nullable(
|
|
3000
3000
|
z.union([
|
|
@@ -3147,8 +3147,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3147
3147
|
> = z.object({
|
|
3148
3148
|
_id: z.string(),
|
|
3149
3149
|
description: z.string(),
|
|
3150
|
-
created: z.string().default("2026-06-
|
|
3151
|
-
updated: z.string().default("2026-06-
|
|
3150
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3151
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3152
3152
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3153
3153
|
guardrail_config: z.nullable(
|
|
3154
3154
|
z.union([
|
|
@@ -3510,8 +3510,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3510
3510
|
> = z.object({
|
|
3511
3511
|
_id: z.string(),
|
|
3512
3512
|
description: z.string(),
|
|
3513
|
-
created: z.string().default("2026-06-
|
|
3514
|
-
updated: z.string().default("2026-06-
|
|
3513
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3514
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3515
3515
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3516
3516
|
guardrail_config: z.nullable(
|
|
3517
3517
|
z.union([
|
|
@@ -3723,8 +3723,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3723
3723
|
> = z.object({
|
|
3724
3724
|
_id: z.string(),
|
|
3725
3725
|
description: z.string(),
|
|
3726
|
-
created: z.string().default("2026-06-
|
|
3727
|
-
updated: z.string().default("2026-06-
|
|
3726
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3727
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3728
3728
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3729
3729
|
guardrail_config: z.nullable(
|
|
3730
3730
|
z.union([
|
|
@@ -7,6 +7,9 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import * as components from "../components/index.js";
|
|
8
8
|
|
|
9
9
|
export type UpdateIdentityRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* Identity ID to update.
|
|
12
|
+
*/
|
|
10
13
|
id: string;
|
|
11
14
|
updateIdentityRequest: components.UpdateIdentityRequest;
|
|
12
15
|
};
|
|
@@ -313,7 +313,7 @@ export type UpdateKnowledgeResponseBody2 = {
|
|
|
313
313
|
/**
|
|
314
314
|
* The description of the knowledge base.
|
|
315
315
|
*/
|
|
316
|
-
description?: string | undefined;
|
|
316
|
+
description?: string | null | undefined;
|
|
317
317
|
/**
|
|
318
318
|
* The unique key of the knowledge base.
|
|
319
319
|
*/
|
|
@@ -439,7 +439,7 @@ export type UpdateKnowledgeResponseBody1 = {
|
|
|
439
439
|
/**
|
|
440
440
|
* The description of the knowledge base.
|
|
441
441
|
*/
|
|
442
|
-
description?: string | undefined;
|
|
442
|
+
description?: string | null | undefined;
|
|
443
443
|
/**
|
|
444
444
|
* The unique key of the knowledge base.
|
|
445
445
|
*/
|
|
@@ -1022,7 +1022,7 @@ export const UpdateKnowledgeResponseBody2$inboundSchema: z.ZodType<
|
|
|
1022
1022
|
> = z.object({
|
|
1023
1023
|
_id: z.string(),
|
|
1024
1024
|
created: z.string(),
|
|
1025
|
-
description: z.string().optional(),
|
|
1025
|
+
description: z.nullable(z.string()).optional(),
|
|
1026
1026
|
key: z.string(),
|
|
1027
1027
|
domain_id: z.string(),
|
|
1028
1028
|
path: z.string().optional(),
|
|
@@ -1178,7 +1178,7 @@ export const UpdateKnowledgeResponseBody1$inboundSchema: z.ZodType<
|
|
|
1178
1178
|
> = z.object({
|
|
1179
1179
|
_id: z.string(),
|
|
1180
1180
|
created: z.string(),
|
|
1181
|
-
description: z.string().optional(),
|
|
1181
|
+
description: z.nullable(z.string()).optional(),
|
|
1182
1182
|
key: z.string(),
|
|
1183
1183
|
domain_id: z.string(),
|
|
1184
1184
|
path: z.string().optional(),
|
|
@@ -48,8 +48,8 @@ export type UpdateMemoryDocumentResponseBody = {
|
|
|
48
48
|
text: string;
|
|
49
49
|
created: string;
|
|
50
50
|
updated: string;
|
|
51
|
-
createdById?: string | undefined;
|
|
52
|
-
updatedById?: string | undefined;
|
|
51
|
+
createdById?: string | null | undefined;
|
|
52
|
+
updatedById?: string | null | undefined;
|
|
53
53
|
workspaceId: string;
|
|
54
54
|
/**
|
|
55
55
|
* 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).
|
|
@@ -133,8 +133,8 @@ export const UpdateMemoryDocumentResponseBody$inboundSchema: z.ZodType<
|
|
|
133
133
|
text: z.string(),
|
|
134
134
|
created: z.string(),
|
|
135
135
|
updated: z.string(),
|
|
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
|
workspace_id: z.string(),
|
|
139
139
|
metadata: z.record(z.string()).optional(),
|
|
140
140
|
}).transform((v) => {
|
|
@@ -54,11 +54,11 @@ export type UpdateMemoryStoreResponseBody = {
|
|
|
54
54
|
/**
|
|
55
55
|
* The user ID of the creator
|
|
56
56
|
*/
|
|
57
|
-
createdById?: string | undefined;
|
|
57
|
+
createdById?: string | null | undefined;
|
|
58
58
|
/**
|
|
59
59
|
* The user ID of the last updater
|
|
60
60
|
*/
|
|
61
|
-
updatedById?: string | undefined;
|
|
61
|
+
updatedById?: string | null | undefined;
|
|
62
62
|
/**
|
|
63
63
|
* The creation date of the memory store
|
|
64
64
|
*/
|
|
@@ -160,8 +160,8 @@ export const UpdateMemoryStoreResponseBody$inboundSchema: z.ZodType<
|
|
|
160
160
|
_id: z.string(),
|
|
161
161
|
key: z.string(),
|
|
162
162
|
description: z.string(),
|
|
163
|
-
created_by_id: z.string().optional(),
|
|
164
|
-
updated_by_id: z.string().optional(),
|
|
163
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
164
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
165
165
|
created: z.string(),
|
|
166
166
|
updated: z.string(),
|
|
167
167
|
ttl: z.number().optional(),
|
|
@@ -1472,7 +1472,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1472
1472
|
z.ZodTypeDef,
|
|
1473
1473
|
RequestBodyTools
|
|
1474
1474
|
> = z.object({
|
|
1475
|
-
id: z.string().default("
|
|
1475
|
+
id: z.string().default("01KTB6K5WQD68A2C8J5DCER5JX"),
|
|
1476
1476
|
name: z.string(),
|
|
1477
1477
|
description: z.string().optional(),
|
|
1478
1478
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2193,7 +2193,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
z.ZodTypeDef,
|
|
2194
2194
|
unknown
|
|
2195
2195
|
> = z.object({
|
|
2196
|
-
_id: z.string().default("
|
|
2196
|
+
_id: z.string().default("tool_01KTB6K5WC3Q99A2633CMH2CA4"),
|
|
2197
2197
|
path: z.string(),
|
|
2198
2198
|
key: z.string(),
|
|
2199
2199
|
display_name: z.string().optional(),
|
|
@@ -2296,7 +2296,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2296
2296
|
z.ZodTypeDef,
|
|
2297
2297
|
unknown
|
|
2298
2298
|
> = z.object({
|
|
2299
|
-
id: z.string().default("
|
|
2299
|
+
id: z.string().default("01KTB6K5WB2CMBWCSAVRD6PRWA"),
|
|
2300
2300
|
name: z.string(),
|
|
2301
2301
|
description: z.string().optional(),
|
|
2302
2302
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2354,7 +2354,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2354
2354
|
z.ZodTypeDef,
|
|
2355
2355
|
unknown
|
|
2356
2356
|
> = z.object({
|
|
2357
|
-
_id: z.string().default("
|
|
2357
|
+
_id: z.string().default("tool_01KTB6K5W97K4FEVBJHNCGKPPT"),
|
|
2358
2358
|
path: z.string(),
|
|
2359
2359
|
key: z.string(),
|
|
2360
2360
|
display_name: z.string().optional(),
|
|
@@ -2543,7 +2543,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2543
2543
|
z.ZodTypeDef,
|
|
2544
2544
|
unknown
|
|
2545
2545
|
> = z.object({
|
|
2546
|
-
_id: z.string().default("
|
|
2546
|
+
_id: z.string().default("tool_01KTB6K5W73Q0JZFPEBGVTCSCN"),
|
|
2547
2547
|
path: z.string(),
|
|
2548
2548
|
key: z.string(),
|
|
2549
2549
|
display_name: z.string().optional(),
|
|
@@ -2638,7 +2638,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2638
2638
|
z.ZodTypeDef,
|
|
2639
2639
|
unknown
|
|
2640
2640
|
> = z.object({
|
|
2641
|
-
_id: z.string().default("
|
|
2641
|
+
_id: z.string().default("tool_01KTB6K5W5PXA26S32K325Z0C6"),
|
|
2642
2642
|
path: z.string(),
|
|
2643
2643
|
key: z.string(),
|
|
2644
2644
|
display_name: z.string().optional(),
|
|
@@ -2741,7 +2741,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2741
2741
|
z.ZodTypeDef,
|
|
2742
2742
|
unknown
|
|
2743
2743
|
> = z.object({
|
|
2744
|
-
_id: z.string().default("
|
|
2744
|
+
_id: z.string().default("tool_01KTB6K5W4F1R4G1BKXMCE0CM7"),
|
|
2745
2745
|
path: z.string(),
|
|
2746
2746
|
key: z.string(),
|
|
2747
2747
|
display_name: z.string().optional(),
|
package/src/lib/config.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.10.
|
|
61
|
+
sdkVersion: "4.10.4",
|
|
62
62
|
genVersion: "2.893.0",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.10.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.10.4 2.893.0 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -21,7 +21,7 @@ export type CreateFileRequest = {
|
|
|
21
21
|
*/
|
|
22
22
|
contentType?: string | undefined;
|
|
23
23
|
/**
|
|
24
|
-
* Project the file is created in. Optional
|
|
24
|
+
* Project the file is created in. Optional: project-scoped API keys default to the key's bound project; workspace-scoped callers default to the workspace's default project.
|
|
25
25
|
*/
|
|
26
26
|
projectId?: string | undefined;
|
|
27
27
|
};
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01ktbkjne6q0rdsny13vb89ecf"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
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-05T09:59:24.919Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -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-05T09:59:38.304Z",
|
|
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-05T09:59:38.304Z",
|
|
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-05T09:59:38.303Z",
|
|
2450
2450
|
).transform(v => new Date(v)),
|
|
2451
2451
|
type: z.literal("string"),
|
|
2452
2452
|
value: z.string(),
|
|
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
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-05T09:59:24.919Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -409,7 +409,7 @@ 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("01KTBKJNZ2SDH128PEWY7F4RT7"),
|
|
413
413
|
display_name: z.string(),
|
|
414
414
|
description: z.nullable(z.string()).optional(),
|
|
415
415
|
status: CreateDatasourceStatus$inboundSchema,
|