@orq-ai/node 4.10.2 → 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/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- 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/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/updatetool.js +7 -7
- package/package.json +1 -1
- 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/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- 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/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/updatetool.ts +7 -7
|
@@ -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(),
|
|
@@ -6,8 +6,23 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
|
|
8
8
|
export type FileListRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* Page size. Unset uses the server default.
|
|
11
|
+
*/
|
|
9
12
|
limit?: number | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Cursor for forward pagination. Set to the `file_id` of the last item
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* from the previous page.
|
|
18
|
+
*/
|
|
10
19
|
startingAfter?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Cursor for backward pagination. Set to the `file_id` of the first item
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* from the previous page.
|
|
25
|
+
*/
|
|
11
26
|
endingBefore?: string | undefined;
|
|
12
27
|
projectId?: string | undefined;
|
|
13
28
|
};
|
|
@@ -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 FileUpdateRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* File ID to update.
|
|
12
|
+
*/
|
|
10
13
|
fileId: string;
|
|
11
14
|
updateFileRequest: components.UpdateFileRequest;
|
|
12
15
|
};
|
|
@@ -57,8 +57,8 @@ export type GetAllMemoryDocumentsData = {
|
|
|
57
57
|
text: string;
|
|
58
58
|
created: string;
|
|
59
59
|
updated: string;
|
|
60
|
-
createdById?: string | undefined;
|
|
61
|
-
updatedById?: string | undefined;
|
|
60
|
+
createdById?: string | null | undefined;
|
|
61
|
+
updatedById?: string | null | undefined;
|
|
62
62
|
workspaceId: string;
|
|
63
63
|
/**
|
|
64
64
|
* 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).
|
|
@@ -137,8 +137,8 @@ export const GetAllMemoryDocumentsData$inboundSchema: z.ZodType<
|
|
|
137
137
|
text: z.string(),
|
|
138
138
|
created: z.string(),
|
|
139
139
|
updated: z.string(),
|
|
140
|
-
created_by_id: z.string().optional(),
|
|
141
|
-
updated_by_id: z.string().optional(),
|
|
140
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
141
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
142
142
|
workspace_id: z.string(),
|
|
143
143
|
metadata: z.record(z.string()).optional(),
|
|
144
144
|
}).transform((v) => {
|
|
@@ -54,11 +54,11 @@ export type GetAllMemoryStoresData = {
|
|
|
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
|
*/
|
|
@@ -147,8 +147,8 @@ export const GetAllMemoryStoresData$inboundSchema: z.ZodType<
|
|
|
147
147
|
_id: z.string(),
|
|
148
148
|
key: z.string(),
|
|
149
149
|
description: z.string(),
|
|
150
|
-
created_by_id: z.string().optional(),
|
|
151
|
-
updated_by_id: z.string().optional(),
|
|
150
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
151
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
152
152
|
created: z.string(),
|
|
153
153
|
updated: z.string(),
|
|
154
154
|
ttl: z.number().optional(),
|
|
@@ -767,7 +767,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
767
767
|
z.ZodTypeDef,
|
|
768
768
|
unknown
|
|
769
769
|
> = z.object({
|
|
770
|
-
_id: z.string().default("
|
|
770
|
+
_id: z.string().default("tool_01KTB6K5V63ZJ25Y0R3HN3T3ZP"),
|
|
771
771
|
path: z.string(),
|
|
772
772
|
key: z.string(),
|
|
773
773
|
display_name: z.string().optional(),
|
|
@@ -864,7 +864,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
864
864
|
z.ZodTypeDef,
|
|
865
865
|
unknown
|
|
866
866
|
> = z.object({
|
|
867
|
-
id: z.string().default("
|
|
867
|
+
id: z.string().default("01KTB6K5V5F5ZC4XW2WTTHM7RE"),
|
|
868
868
|
name: z.string(),
|
|
869
869
|
description: z.string().optional(),
|
|
870
870
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ export const DataMCPTool$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_01KTB6K5V40M1K9JSZRXF9CHJE"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1102,7 +1102,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1102
1102
|
z.ZodTypeDef,
|
|
1103
1103
|
unknown
|
|
1104
1104
|
> = z.object({
|
|
1105
|
-
_id: z.string().default("
|
|
1105
|
+
_id: z.string().default("tool_01KTB6K5V1SJRN8HFQCS54ZSZE"),
|
|
1106
1106
|
path: z.string(),
|
|
1107
1107
|
key: z.string(),
|
|
1108
1108
|
display_name: z.string().optional(),
|
|
@@ -1195,7 +1195,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1195
1195
|
z.ZodTypeDef,
|
|
1196
1196
|
unknown
|
|
1197
1197
|
> = z.object({
|
|
1198
|
-
_id: z.string().default("
|
|
1198
|
+
_id: z.string().default("tool_01KTB6K5TZCTHCV7MS87616NGG"),
|
|
1199
1199
|
path: z.string(),
|
|
1200
1200
|
key: z.string(),
|
|
1201
1201
|
display_name: z.string().optional(),
|
|
@@ -1297,7 +1297,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1297
1297
|
z.ZodTypeDef,
|
|
1298
1298
|
unknown
|
|
1299
1299
|
> = z.object({
|
|
1300
|
-
_id: z.string().default("
|
|
1300
|
+
_id: z.string().default("tool_01KTB6K5TXWSC8YYB2GEKN0Z9V"),
|
|
1301
1301
|
path: z.string(),
|
|
1302
1302
|
key: z.string(),
|
|
1303
1303
|
display_name: z.string().optional(),
|
|
@@ -1067,8 +1067,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1067
1067
|
> = z.object({
|
|
1068
1068
|
_id: z.string(),
|
|
1069
1069
|
description: z.string(),
|
|
1070
|
-
created: z.string().default("2026-06-
|
|
1071
|
-
updated: z.string().default("2026-06-
|
|
1070
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
1071
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
1072
1072
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1073
1073
|
guardrail_config: z.nullable(
|
|
1074
1074
|
z.union([
|
|
@@ -1249,8 +1249,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
1249
1249
|
> = z.object({
|
|
1250
1250
|
_id: z.string(),
|
|
1251
1251
|
description: z.string(),
|
|
1252
|
-
created: z.string().default("2026-06-
|
|
1253
|
-
updated: z.string().default("2026-06-
|
|
1252
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
1253
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
1254
1254
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1255
1255
|
guardrail_config: z.nullable(
|
|
1256
1256
|
z.union([
|
|
@@ -2081,8 +2081,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
2081
2081
|
> = z.object({
|
|
2082
2082
|
_id: z.string(),
|
|
2083
2083
|
description: z.string(),
|
|
2084
|
-
created: z.string().default("2026-06-
|
|
2085
|
-
updated: z.string().default("2026-06-
|
|
2084
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2085
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2086
2086
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2087
2087
|
guardrail_config: z.nullable(
|
|
2088
2088
|
z.union([
|
|
@@ -2265,8 +2265,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
2265
2265
|
> = z.object({
|
|
2266
2266
|
_id: z.string(),
|
|
2267
2267
|
description: z.string(),
|
|
2268
|
-
created: z.string().default("2026-06-
|
|
2269
|
-
updated: z.string().default("2026-06-
|
|
2268
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2269
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2270
2270
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2271
2271
|
guardrail_config: z.nullable(
|
|
2272
2272
|
z.union([
|
|
@@ -2445,8 +2445,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
2445
2445
|
> = z.object({
|
|
2446
2446
|
_id: z.string(),
|
|
2447
2447
|
description: z.string(),
|
|
2448
|
-
created: z.string().default("2026-06-
|
|
2449
|
-
updated: z.string().default("2026-06-
|
|
2448
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2449
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2450
2450
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2451
2451
|
guardrail_config: z.nullable(
|
|
2452
2452
|
z.union([
|
|
@@ -2637,8 +2637,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
2637
2637
|
> = z.object({
|
|
2638
2638
|
_id: z.string(),
|
|
2639
2639
|
description: z.string(),
|
|
2640
|
-
created: z.string().default("2026-06-
|
|
2641
|
-
updated: z.string().default("2026-06-
|
|
2640
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2641
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
2642
2642
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2643
2643
|
guardrail_config: z.nullable(
|
|
2644
2644
|
z.union([
|
|
@@ -3005,8 +3005,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
|
|
|
3005
3005
|
> = z.object({
|
|
3006
3006
|
_id: z.string(),
|
|
3007
3007
|
description: z.string(),
|
|
3008
|
-
created: z.string().default("2026-06-
|
|
3009
|
-
updated: z.string().default("2026-06-
|
|
3008
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3009
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3010
3010
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3011
3011
|
guardrail_config: z.nullable(
|
|
3012
3012
|
z.union([
|
|
@@ -3218,8 +3218,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
|
|
|
3218
3218
|
> = z.object({
|
|
3219
3219
|
_id: z.string(),
|
|
3220
3220
|
description: z.string(),
|
|
3221
|
-
created: z.string().default("2026-06-
|
|
3222
|
-
updated: z.string().default("2026-06-
|
|
3221
|
+
created: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3222
|
+
updated: z.string().default("2026-06-05T06:12:28.028Z"),
|
|
3223
3223
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3224
3224
|
guardrail_config: z.nullable(
|
|
3225
3225
|
z.union([
|
|
@@ -102,7 +102,7 @@ export type GetOneKnowledgeResponseBody2 = {
|
|
|
102
102
|
/**
|
|
103
103
|
* The description of the knowledge base.
|
|
104
104
|
*/
|
|
105
|
-
description?: string | undefined;
|
|
105
|
+
description?: string | null | undefined;
|
|
106
106
|
/**
|
|
107
107
|
* The unique key of the knowledge base.
|
|
108
108
|
*/
|
|
@@ -228,7 +228,7 @@ export type GetOneKnowledgeResponseBody1 = {
|
|
|
228
228
|
/**
|
|
229
229
|
* The description of the knowledge base.
|
|
230
230
|
*/
|
|
231
|
-
description?: string | undefined;
|
|
231
|
+
description?: string | null | undefined;
|
|
232
232
|
/**
|
|
233
233
|
* The unique key of the knowledge base.
|
|
234
234
|
*/
|
|
@@ -443,7 +443,7 @@ export const GetOneKnowledgeResponseBody2$inboundSchema: z.ZodType<
|
|
|
443
443
|
> = z.object({
|
|
444
444
|
_id: z.string(),
|
|
445
445
|
created: z.string(),
|
|
446
|
-
description: z.string().optional(),
|
|
446
|
+
description: z.nullable(z.string()).optional(),
|
|
447
447
|
key: z.string(),
|
|
448
448
|
domain_id: z.string(),
|
|
449
449
|
path: z.string().optional(),
|
|
@@ -599,7 +599,7 @@ export const GetOneKnowledgeResponseBody1$inboundSchema: z.ZodType<
|
|
|
599
599
|
> = z.object({
|
|
600
600
|
_id: z.string(),
|
|
601
601
|
created: z.string(),
|
|
602
|
-
description: z.string().optional(),
|
|
602
|
+
description: z.nullable(z.string()).optional(),
|
|
603
603
|
key: z.string(),
|
|
604
604
|
domain_id: z.string(),
|
|
605
605
|
path: z.string().optional(),
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-06-
|
|
143
|
+
"2026-06-05T06:12:26.568Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-06-
|
|
188
|
+
"2026-06-05T06:12:26.568Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-06-
|
|
144
|
+
"2026-06-05T06:12:26.568Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-06-
|
|
189
|
+
"2026-06-05T06:12:26.568Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|