@orq-ai/node 4.0.0-rc.4 → 4.0.0-rc.7
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/bin/mcp-server.js +7487 -543
- package/bin/mcp-server.js.map +52 -52
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createagent.d.ts +4141 -865
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +3767 -768
- package/models/operations/createagent.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/creatememorystore.d.ts +42 -42
- package/models/operations/creatememorystore.d.ts.map +1 -1
- package/models/operations/creatememorystore.js +61 -63
- package/models/operations/creatememorystore.js.map +1 -1
- package/models/operations/createprompt.d.ts +263 -263
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +345 -345
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +10 -10
- package/models/operations/deploymentgetconfig.d.ts +19 -19
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +22 -22
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +4 -4
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +4 -4
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +1614 -11
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +1475 -9
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getallprompts.d.ts +4 -4
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +4 -4
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +4 -4
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +4 -4
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +4 -4
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +4 -4
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listagents.d.ts +1614 -11
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +1481 -9
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +1614 -11
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +1479 -9
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +4 -4
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +4 -4
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.d.ts +2176 -503
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +1534 -9
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +2128 -455
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +1630 -89
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +4129 -853
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +3837 -825
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updateprompt.d.ts +8 -8
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +8 -8
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +10 -10
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createagent.ts +7853 -1626
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/creatememorystore.ts +120 -103
- package/src/models/operations/createprompt.ts +742 -621
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/deploymentgetconfig.ts +60 -44
- package/src/models/operations/deployments.ts +25 -20
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +3274 -246
- package/src/models/operations/getallprompts.ts +30 -20
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +28 -20
- package/src/models/operations/getpromptversion.ts +30 -20
- package/src/models/operations/listagents.ts +3351 -270
- package/src/models/operations/listagenttasks.ts +3347 -180
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +30 -20
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +3799 -610
- package/src/models/operations/streamrunagent.ts +3945 -605
- package/src/models/operations/updateagent.ts +8331 -1757
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updateprompt.ts +58 -40
- package/src/models/operations/updatetool.ts +10 -10
|
@@ -547,7 +547,7 @@ export const UpdateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
547
547
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
548
548
|
.optional(),
|
|
549
549
|
updated: z.string().datetime({ offset: true }).default(
|
|
550
|
-
"2025-11-
|
|
550
|
+
"2025-11-04T13:27:51.444Z",
|
|
551
551
|
).transform(v => new Date(v)),
|
|
552
552
|
}).transform((v) => {
|
|
553
553
|
return remap$(v, {
|
|
@@ -585,7 +585,7 @@ export const UpdateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
585
585
|
isActive: z.boolean(),
|
|
586
586
|
consumption: z.lazy(() => UpdateBudgetConsumption$outboundSchema).optional(),
|
|
587
587
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
588
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
588
|
+
updated: z.date().default(() => new Date("2025-11-04T13:27:51.444Z"))
|
|
589
589
|
.transform(v => v.toISOString()),
|
|
590
590
|
}).transform((v) => {
|
|
591
591
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
245
245
|
.optional(),
|
|
246
246
|
updated: z.string().datetime({ offset: true }).default(
|
|
247
|
-
"2025-11-
|
|
247
|
+
"2025-11-04T13:27:51.119Z",
|
|
248
248
|
).transform(v => new Date(v)),
|
|
249
249
|
}).transform((v) => {
|
|
250
250
|
return remap$(v, {
|
|
@@ -282,7 +282,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
282
282
|
tags: z.array(z.string()).optional(),
|
|
283
283
|
metadata: z.record(z.any()).optional(),
|
|
284
284
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
285
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
285
|
+
updated: z.date().default(() => new Date("2025-11-04T13:27:51.119Z"))
|
|
286
286
|
.transform(v => v.toISOString()),
|
|
287
287
|
}).transform((v) => {
|
|
288
288
|
return remap$(v, {
|
|
@@ -6298,7 +6298,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
6298
6298
|
.default("orq"),
|
|
6299
6299
|
reviewed_by_id: z.string(),
|
|
6300
6300
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6301
|
-
"2025-11-
|
|
6301
|
+
"2025-11-04T13:28:03.054Z",
|
|
6302
6302
|
).transform(v => new Date(v)),
|
|
6303
6303
|
type: UpdateDatapointEvaluationsDatasetsResponseType$inboundSchema,
|
|
6304
6304
|
values: z.array(z.string()),
|
|
@@ -6336,7 +6336,7 @@ export const UpdateDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
6336
6336
|
source: UpdateDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
6337
6337
|
.default("orq"),
|
|
6338
6338
|
reviewedById: z.string(),
|
|
6339
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
6339
|
+
reviewedAt: z.date().default(() => new Date("2025-11-04T13:28:03.054Z"))
|
|
6340
6340
|
.transform(v => v.toISOString()),
|
|
6341
6341
|
type: UpdateDatapointEvaluationsDatasetsResponseType$outboundSchema,
|
|
6342
6342
|
values: z.array(z.string()),
|
|
@@ -6465,7 +6465,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
6465
6465
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
6466
6466
|
reviewed_by_id: z.string(),
|
|
6467
6467
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6468
|
-
"2025-11-
|
|
6468
|
+
"2025-11-04T13:28:03.054Z",
|
|
6469
6469
|
).transform(v => new Date(v)),
|
|
6470
6470
|
type: UpdateDatapointEvaluationsDatasetsType$inboundSchema,
|
|
6471
6471
|
value: z.number(),
|
|
@@ -6504,7 +6504,7 @@ export const UpdateDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
6504
6504
|
"orq",
|
|
6505
6505
|
),
|
|
6506
6506
|
reviewedById: z.string(),
|
|
6507
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
6507
|
+
reviewedAt: z.date().default(() => new Date("2025-11-04T13:28:03.054Z"))
|
|
6508
6508
|
.transform(v => v.toISOString()),
|
|
6509
6509
|
type: UpdateDatapointEvaluationsDatasetsType$outboundSchema,
|
|
6510
6510
|
value: z.number(),
|
|
@@ -6627,7 +6627,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
6627
6627
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
6628
6628
|
reviewed_by_id: z.string(),
|
|
6629
6629
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6630
|
-
"2025-11-
|
|
6630
|
+
"2025-11-04T13:28:03.053Z",
|
|
6631
6631
|
).transform(v => new Date(v)),
|
|
6632
6632
|
type: UpdateDatapointEvaluationsType$inboundSchema,
|
|
6633
6633
|
value: z.string(),
|
|
@@ -6663,7 +6663,7 @@ export const UpdateDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
6663
6663
|
humanReviewId: z.string(),
|
|
6664
6664
|
source: UpdateDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
6665
6665
|
reviewedById: z.string(),
|
|
6666
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
6666
|
+
reviewedAt: z.date().default(() => new Date("2025-11-04T13:28:03.053Z"))
|
|
6667
6667
|
.transform(v => v.toISOString()),
|
|
6668
6668
|
type: UpdateDatapointEvaluationsType$outboundSchema,
|
|
6669
6669
|
value: z.string(),
|
|
@@ -6807,7 +6807,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
6807
6807
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6808
6808
|
.optional(),
|
|
6809
6809
|
updated: z.string().datetime({ offset: true }).default(
|
|
6810
|
-
"2025-11-
|
|
6810
|
+
"2025-11-04T13:27:51.119Z",
|
|
6811
6811
|
).transform(v => new Date(v)),
|
|
6812
6812
|
}).transform((v) => {
|
|
6813
6813
|
return remap$(v, {
|
|
@@ -6886,7 +6886,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
6886
6886
|
createdById: z.string().optional(),
|
|
6887
6887
|
updatedById: z.string().optional(),
|
|
6888
6888
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6889
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
6889
|
+
updated: z.date().default(() => new Date("2025-11-04T13:27:51.119Z"))
|
|
6890
6890
|
.transform(v => v.toISOString()),
|
|
6891
6891
|
}).transform((v) => {
|
|
6892
6892
|
return remap$(v, {
|
|
@@ -301,7 +301,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
301
301
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
302
302
|
.optional(),
|
|
303
303
|
updated: z.string().datetime({ offset: true }).default(
|
|
304
|
-
"2025-11-
|
|
304
|
+
"2025-11-04T13:27:51.119Z",
|
|
305
305
|
).transform(v => new Date(v)),
|
|
306
306
|
}).transform((v) => {
|
|
307
307
|
return remap$(v, {
|
|
@@ -341,7 +341,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
341
341
|
createdById: z.string().optional(),
|
|
342
342
|
updatedById: z.string().optional(),
|
|
343
343
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
344
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
344
|
+
updated: z.date().default(() => new Date("2025-11-04T13:27:51.119Z"))
|
|
345
345
|
.transform(v => v.toISOString()),
|
|
346
346
|
}).transform((v) => {
|
|
347
347
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
z.ZodTypeDef,
|
|
245
245
|
unknown
|
|
246
246
|
> = z.object({
|
|
247
|
-
_id: z.string().default("
|
|
247
|
+
_id: z.string().default("01K97GV6JPTR9YM58CQ20JTSPR"),
|
|
248
248
|
display_name: z.string(),
|
|
249
249
|
description: z.string().optional(),
|
|
250
250
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -288,7 +288,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
288
288
|
z.ZodTypeDef,
|
|
289
289
|
UpdateDatasourceResponseBody
|
|
290
290
|
> = z.object({
|
|
291
|
-
id: z.string().default("
|
|
291
|
+
id: z.string().default("01K97GV6JPTR9YM58CQ20JTSPR"),
|
|
292
292
|
displayName: z.string(),
|
|
293
293
|
description: z.string().optional(),
|
|
294
294
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -3674,8 +3674,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
3674
3674
|
> = z.object({
|
|
3675
3675
|
_id: z.string(),
|
|
3676
3676
|
description: z.string(),
|
|
3677
|
-
created: z.string().default("2025-11-
|
|
3678
|
-
updated: z.string().default("2025-11-
|
|
3677
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
3678
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
3679
3679
|
guardrail_config: z.union([
|
|
3680
3680
|
z.lazy(() =>
|
|
3681
3681
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3718,8 +3718,8 @@ export const ResponseBodyTypescript$outboundSchema: z.ZodType<
|
|
|
3718
3718
|
> = z.object({
|
|
3719
3719
|
id: z.string(),
|
|
3720
3720
|
description: z.string(),
|
|
3721
|
-
created: z.string().default("2025-11-
|
|
3722
|
-
updated: z.string().default("2025-11-
|
|
3721
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
3722
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
3723
3723
|
guardrailConfig: z.union([
|
|
3724
3724
|
z.lazy(() =>
|
|
3725
3725
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -4145,8 +4145,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
4145
4145
|
> = z.object({
|
|
4146
4146
|
_id: z.string(),
|
|
4147
4147
|
description: z.string(),
|
|
4148
|
-
created: z.string().default("2025-11-
|
|
4149
|
-
updated: z.string().default("2025-11-
|
|
4148
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
4149
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
4150
4150
|
guardrail_config: z.union([
|
|
4151
4151
|
z.lazy(() =>
|
|
4152
4152
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -4192,8 +4192,8 @@ export const ResponseBodyRagas$outboundSchema: z.ZodType<
|
|
|
4192
4192
|
> = z.object({
|
|
4193
4193
|
id: z.string(),
|
|
4194
4194
|
description: z.string(),
|
|
4195
|
-
created: z.string().default("2025-11-
|
|
4196
|
-
updated: z.string().default("2025-11-
|
|
4195
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
4196
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
4197
4197
|
guardrailConfig: z.union([
|
|
4198
4198
|
z.lazy(() =>
|
|
4199
4199
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -7682,8 +7682,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7682
7682
|
> = z.object({
|
|
7683
7683
|
_id: z.string(),
|
|
7684
7684
|
description: z.string(),
|
|
7685
|
-
created: z.string().default("2025-11-
|
|
7686
|
-
updated: z.string().default("2025-11-
|
|
7685
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
7686
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
7687
7687
|
guardrail_config: z.union([
|
|
7688
7688
|
z.lazy(() =>
|
|
7689
7689
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7797,8 +7797,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7797
7797
|
> = z.object({
|
|
7798
7798
|
id: z.string(),
|
|
7799
7799
|
description: z.string(),
|
|
7800
|
-
created: z.string().default("2025-11-
|
|
7801
|
-
updated: z.string().default("2025-11-
|
|
7800
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
7801
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
7802
7802
|
guardrailConfig: z.union([
|
|
7803
7803
|
z.lazy(() =>
|
|
7804
7804
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -8238,8 +8238,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
8238
8238
|
> = z.object({
|
|
8239
8239
|
_id: z.string(),
|
|
8240
8240
|
description: z.string(),
|
|
8241
|
-
created: z.string().default("2025-11-
|
|
8242
|
-
updated: z.string().default("2025-11-
|
|
8241
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
8242
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
8243
8243
|
guardrail_config: z.union([
|
|
8244
8244
|
z.lazy(() =>
|
|
8245
8245
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -8281,8 +8281,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
8281
8281
|
> = z.object({
|
|
8282
8282
|
id: z.string(),
|
|
8283
8283
|
description: z.string(),
|
|
8284
|
-
created: z.string().default("2025-11-
|
|
8285
|
-
updated: z.string().default("2025-11-
|
|
8284
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
8285
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
8286
8286
|
guardrailConfig: z.union([
|
|
8287
8287
|
z.lazy(() =>
|
|
8288
8288
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8703,8 +8703,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8703
8703
|
> = z.object({
|
|
8704
8704
|
_id: z.string(),
|
|
8705
8705
|
description: z.string(),
|
|
8706
|
-
created: z.string().default("2025-11-
|
|
8707
|
-
updated: z.string().default("2025-11-
|
|
8706
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
8707
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
8708
8708
|
guardrail_config: z.union([
|
|
8709
8709
|
z.lazy(() =>
|
|
8710
8710
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8752,8 +8752,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8752
8752
|
> = z.object({
|
|
8753
8753
|
id: z.string(),
|
|
8754
8754
|
description: z.string(),
|
|
8755
|
-
created: z.string().default("2025-11-
|
|
8756
|
-
updated: z.string().default("2025-11-
|
|
8755
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
8756
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
8757
8757
|
guardrailConfig: z.union([
|
|
8758
8758
|
z.lazy(() =>
|
|
8759
8759
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -9143,8 +9143,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
9143
9143
|
> = z.object({
|
|
9144
9144
|
_id: z.string(),
|
|
9145
9145
|
description: z.string(),
|
|
9146
|
-
created: z.string().default("2025-11-
|
|
9147
|
-
updated: z.string().default("2025-11-
|
|
9146
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
9147
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
9148
9148
|
guardrail_config: z.union([
|
|
9149
9149
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
9150
9150
|
z.lazy(() =>
|
|
@@ -9184,8 +9184,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
9184
9184
|
> = z.object({
|
|
9185
9185
|
id: z.string(),
|
|
9186
9186
|
description: z.string(),
|
|
9187
|
-
created: z.string().default("2025-11-
|
|
9188
|
-
updated: z.string().default("2025-11-
|
|
9187
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
9188
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
9189
9189
|
guardrailConfig: z.union([
|
|
9190
9190
|
z.lazy(() =>
|
|
9191
9191
|
UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9543,8 +9543,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9543
9543
|
> = z.object({
|
|
9544
9544
|
_id: z.string(),
|
|
9545
9545
|
description: z.string(),
|
|
9546
|
-
created: z.string().default("2025-11-
|
|
9547
|
-
updated: z.string().default("2025-11-
|
|
9546
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
9547
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
9548
9548
|
guardrail_config: z.union([
|
|
9549
9549
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9550
9550
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9584,8 +9584,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9584
9584
|
> = z.object({
|
|
9585
9585
|
id: z.string(),
|
|
9586
9586
|
description: z.string(),
|
|
9587
|
-
created: z.string().default("2025-11-
|
|
9588
|
-
updated: z.string().default("2025-11-
|
|
9587
|
+
created: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
9588
|
+
updated: z.string().default("2025-11-04T13:27:53.661Z"),
|
|
9589
9589
|
guardrailConfig: z.union([
|
|
9590
9590
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9591
9591
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -392,7 +392,7 @@ export type UpdatePromptContent2 =
|
|
|
392
392
|
| UpdatePrompt23;
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
|
-
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
395
|
+
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
396
396
|
*/
|
|
397
397
|
export type UpdatePromptContent =
|
|
398
398
|
| string
|
|
@@ -424,9 +424,12 @@ export type UpdatePromptMessages = {
|
|
|
424
424
|
*/
|
|
425
425
|
role: UpdatePromptRole;
|
|
426
426
|
/**
|
|
427
|
-
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
427
|
+
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
428
428
|
*/
|
|
429
|
-
content:
|
|
429
|
+
content:
|
|
430
|
+
| string
|
|
431
|
+
| Array<UpdatePrompt21 | UpdatePrompt22 | UpdatePrompt23>
|
|
432
|
+
| null;
|
|
430
433
|
toolCalls?: Array<UpdatePromptToolCalls> | undefined;
|
|
431
434
|
toolCallId?: string | undefined;
|
|
432
435
|
};
|
|
@@ -1559,7 +1562,7 @@ export type UpdatePromptContentPromptsResponse2 =
|
|
|
1559
1562
|
| UpdatePrompt2PromptsResponse3;
|
|
1560
1563
|
|
|
1561
1564
|
/**
|
|
1562
|
-
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
1565
|
+
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
1563
1566
|
*/
|
|
1564
1567
|
export type UpdatePromptPromptsContent =
|
|
1565
1568
|
| string
|
|
@@ -1597,7 +1600,7 @@ export type UpdatePromptPromptsResponseMessages = {
|
|
|
1597
1600
|
*/
|
|
1598
1601
|
role: UpdatePromptPromptsRole;
|
|
1599
1602
|
/**
|
|
1600
|
-
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
1603
|
+
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
1601
1604
|
*/
|
|
1602
1605
|
content:
|
|
1603
1606
|
| string
|
|
@@ -1605,7 +1608,8 @@ export type UpdatePromptPromptsResponseMessages = {
|
|
|
1605
1608
|
| UpdatePrompt2PromptsResponse1
|
|
1606
1609
|
| UpdatePrompt2PromptsResponse2
|
|
1607
1610
|
| UpdatePrompt2PromptsResponse3
|
|
1608
|
-
|
|
1611
|
+
>
|
|
1612
|
+
| null;
|
|
1609
1613
|
toolCalls?: Array<UpdatePromptPromptsToolCalls> | undefined;
|
|
1610
1614
|
toolCallId?: string | undefined;
|
|
1611
1615
|
};
|
|
@@ -3083,14 +3087,16 @@ export const UpdatePromptMessages$inboundSchema: z.ZodType<
|
|
|
3083
3087
|
unknown
|
|
3084
3088
|
> = z.object({
|
|
3085
3089
|
role: UpdatePromptRole$inboundSchema,
|
|
3086
|
-
content: z.
|
|
3087
|
-
z.
|
|
3088
|
-
|
|
3089
|
-
z.
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3090
|
+
content: z.nullable(
|
|
3091
|
+
z.union([
|
|
3092
|
+
z.string(),
|
|
3093
|
+
z.array(z.union([
|
|
3094
|
+
z.lazy(() => UpdatePrompt21$inboundSchema),
|
|
3095
|
+
z.lazy(() => UpdatePrompt22$inboundSchema),
|
|
3096
|
+
z.lazy(() => UpdatePrompt23$inboundSchema),
|
|
3097
|
+
])),
|
|
3098
|
+
]),
|
|
3099
|
+
),
|
|
3094
3100
|
tool_calls: z.array(z.lazy(() => UpdatePromptToolCalls$inboundSchema))
|
|
3095
3101
|
.optional(),
|
|
3096
3102
|
tool_call_id: z.string().optional(),
|
|
@@ -3110,7 +3116,8 @@ export type UpdatePromptMessages$Outbound = {
|
|
|
3110
3116
|
| UpdatePrompt21$Outbound
|
|
3111
3117
|
| UpdatePrompt22$Outbound
|
|
3112
3118
|
| UpdatePrompt23$Outbound
|
|
3113
|
-
|
|
3119
|
+
>
|
|
3120
|
+
| null;
|
|
3114
3121
|
tool_calls?: Array<UpdatePromptToolCalls$Outbound> | undefined;
|
|
3115
3122
|
tool_call_id?: string | undefined;
|
|
3116
3123
|
};
|
|
@@ -3122,14 +3129,16 @@ export const UpdatePromptMessages$outboundSchema: z.ZodType<
|
|
|
3122
3129
|
UpdatePromptMessages
|
|
3123
3130
|
> = z.object({
|
|
3124
3131
|
role: UpdatePromptRole$outboundSchema,
|
|
3125
|
-
content: z.
|
|
3126
|
-
z.
|
|
3127
|
-
|
|
3128
|
-
z.
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3132
|
+
content: z.nullable(
|
|
3133
|
+
z.union([
|
|
3134
|
+
z.string(),
|
|
3135
|
+
z.array(z.union([
|
|
3136
|
+
z.lazy(() => UpdatePrompt21$outboundSchema),
|
|
3137
|
+
z.lazy(() => UpdatePrompt22$outboundSchema),
|
|
3138
|
+
z.lazy(() => UpdatePrompt23$outboundSchema),
|
|
3139
|
+
])),
|
|
3140
|
+
]),
|
|
3141
|
+
),
|
|
3133
3142
|
toolCalls: z.array(z.lazy(() => UpdatePromptToolCalls$outboundSchema))
|
|
3134
3143
|
.optional(),
|
|
3135
3144
|
toolCallId: z.string().optional(),
|
|
@@ -7768,14 +7777,18 @@ export const UpdatePromptPromptsResponseMessages$inboundSchema: z.ZodType<
|
|
|
7768
7777
|
unknown
|
|
7769
7778
|
> = z.object({
|
|
7770
7779
|
role: UpdatePromptPromptsRole$inboundSchema,
|
|
7771
|
-
content: z.
|
|
7772
|
-
z.
|
|
7773
|
-
|
|
7774
|
-
z.
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7780
|
+
content: z.nullable(
|
|
7781
|
+
z.union([
|
|
7782
|
+
z.string(),
|
|
7783
|
+
z.array(
|
|
7784
|
+
z.union([
|
|
7785
|
+
z.lazy(() => UpdatePrompt2PromptsResponse1$inboundSchema),
|
|
7786
|
+
z.lazy(() => UpdatePrompt2PromptsResponse2$inboundSchema),
|
|
7787
|
+
z.lazy(() => UpdatePrompt2PromptsResponse3$inboundSchema),
|
|
7788
|
+
]),
|
|
7789
|
+
),
|
|
7790
|
+
]),
|
|
7791
|
+
),
|
|
7779
7792
|
tool_calls: z.array(z.lazy(() => UpdatePromptPromptsToolCalls$inboundSchema))
|
|
7780
7793
|
.optional(),
|
|
7781
7794
|
tool_call_id: z.string().optional(),
|
|
@@ -7795,7 +7808,8 @@ export type UpdatePromptPromptsResponseMessages$Outbound = {
|
|
|
7795
7808
|
| UpdatePrompt2PromptsResponse1$Outbound
|
|
7796
7809
|
| UpdatePrompt2PromptsResponse2$Outbound
|
|
7797
7810
|
| UpdatePrompt2PromptsResponse3$Outbound
|
|
7798
|
-
|
|
7811
|
+
>
|
|
7812
|
+
| null;
|
|
7799
7813
|
tool_calls?: Array<UpdatePromptPromptsToolCalls$Outbound> | undefined;
|
|
7800
7814
|
tool_call_id?: string | undefined;
|
|
7801
7815
|
};
|
|
@@ -7807,14 +7821,18 @@ export const UpdatePromptPromptsResponseMessages$outboundSchema: z.ZodType<
|
|
|
7807
7821
|
UpdatePromptPromptsResponseMessages
|
|
7808
7822
|
> = z.object({
|
|
7809
7823
|
role: UpdatePromptPromptsRole$outboundSchema,
|
|
7810
|
-
content: z.
|
|
7811
|
-
z.
|
|
7812
|
-
|
|
7813
|
-
z.
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7824
|
+
content: z.nullable(
|
|
7825
|
+
z.union([
|
|
7826
|
+
z.string(),
|
|
7827
|
+
z.array(
|
|
7828
|
+
z.union([
|
|
7829
|
+
z.lazy(() => UpdatePrompt2PromptsResponse1$outboundSchema),
|
|
7830
|
+
z.lazy(() => UpdatePrompt2PromptsResponse2$outboundSchema),
|
|
7831
|
+
z.lazy(() => UpdatePrompt2PromptsResponse3$outboundSchema),
|
|
7832
|
+
]),
|
|
7833
|
+
),
|
|
7834
|
+
]),
|
|
7835
|
+
),
|
|
7818
7836
|
toolCalls: z.array(z.lazy(() => UpdatePromptPromptsToolCalls$outboundSchema))
|
|
7819
7837
|
.optional(),
|
|
7820
7838
|
toolCallId: z.string().optional(),
|
|
@@ -2758,7 +2758,7 @@ export const UpdateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
2758
2758
|
z.ZodTypeDef,
|
|
2759
2759
|
unknown
|
|
2760
2760
|
> = z.object({
|
|
2761
|
-
_id: z.string().default("
|
|
2761
|
+
_id: z.string().default("01K97GV6EW5YSZ80MA233JZ05C"),
|
|
2762
2762
|
path: z.string(),
|
|
2763
2763
|
key: z.string(),
|
|
2764
2764
|
display_name: z.string().optional(),
|
|
@@ -2813,7 +2813,7 @@ export const UpdateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
2813
2813
|
z.ZodTypeDef,
|
|
2814
2814
|
UpdateToolResponseBody5
|
|
2815
2815
|
> = z.object({
|
|
2816
|
-
id: z.string().default("
|
|
2816
|
+
id: z.string().default("01K97GV6EW5YSZ80MA233JZ05C"),
|
|
2817
2817
|
path: z.string(),
|
|
2818
2818
|
key: z.string(),
|
|
2819
2819
|
displayName: z.string().optional(),
|
|
@@ -3187,7 +3187,7 @@ export const UpdateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
3187
3187
|
z.ZodTypeDef,
|
|
3188
3188
|
unknown
|
|
3189
3189
|
> = z.object({
|
|
3190
|
-
_id: z.string().default("
|
|
3190
|
+
_id: z.string().default("01K97GV6ES2QD211YB49Q7HGR4"),
|
|
3191
3191
|
path: z.string(),
|
|
3192
3192
|
key: z.string(),
|
|
3193
3193
|
display_name: z.string().optional(),
|
|
@@ -3241,7 +3241,7 @@ export const UpdateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
3241
3241
|
z.ZodTypeDef,
|
|
3242
3242
|
UpdateToolResponseBody4
|
|
3243
3243
|
> = z.object({
|
|
3244
|
-
id: z.string().default("
|
|
3244
|
+
id: z.string().default("01K97GV6ES2QD211YB49Q7HGR4"),
|
|
3245
3245
|
path: z.string(),
|
|
3246
3246
|
key: z.string(),
|
|
3247
3247
|
displayName: z.string().optional(),
|
|
@@ -3659,7 +3659,7 @@ export const UpdateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
3659
3659
|
z.ZodTypeDef,
|
|
3660
3660
|
unknown
|
|
3661
3661
|
> = z.object({
|
|
3662
|
-
_id: z.string().default("
|
|
3662
|
+
_id: z.string().default("01K97GV6EQT81HA6YG08XB582M"),
|
|
3663
3663
|
path: z.string(),
|
|
3664
3664
|
key: z.string(),
|
|
3665
3665
|
display_name: z.string().optional(),
|
|
@@ -3713,7 +3713,7 @@ export const UpdateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
3713
3713
|
z.ZodTypeDef,
|
|
3714
3714
|
UpdateToolResponseBody3
|
|
3715
3715
|
> = z.object({
|
|
3716
|
-
id: z.string().default("
|
|
3716
|
+
id: z.string().default("01K97GV6EQT81HA6YG08XB582M"),
|
|
3717
3717
|
path: z.string(),
|
|
3718
3718
|
key: z.string(),
|
|
3719
3719
|
displayName: z.string().optional(),
|
|
@@ -3887,7 +3887,7 @@ export const UpdateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
3887
3887
|
z.ZodTypeDef,
|
|
3888
3888
|
unknown
|
|
3889
3889
|
> = z.object({
|
|
3890
|
-
_id: z.string().default("
|
|
3890
|
+
_id: z.string().default("01K97GV6ENWQG5G4S580XXM8HW"),
|
|
3891
3891
|
path: z.string(),
|
|
3892
3892
|
key: z.string(),
|
|
3893
3893
|
display_name: z.string().optional(),
|
|
@@ -3940,7 +3940,7 @@ export const UpdateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
3940
3940
|
z.ZodTypeDef,
|
|
3941
3941
|
UpdateToolResponseBody2
|
|
3942
3942
|
> = z.object({
|
|
3943
|
-
id: z.string().default("
|
|
3943
|
+
id: z.string().default("01K97GV6ENWQG5G4S580XXM8HW"),
|
|
3944
3944
|
path: z.string(),
|
|
3945
3945
|
key: z.string(),
|
|
3946
3946
|
displayName: z.string().optional(),
|
|
@@ -4112,7 +4112,7 @@ export const UpdateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
4112
4112
|
z.ZodTypeDef,
|
|
4113
4113
|
unknown
|
|
4114
4114
|
> = z.object({
|
|
4115
|
-
_id: z.string().default("
|
|
4115
|
+
_id: z.string().default("01K97GV6EK1F1CVMZDKEV0QBB9"),
|
|
4116
4116
|
path: z.string(),
|
|
4117
4117
|
key: z.string(),
|
|
4118
4118
|
display_name: z.string().optional(),
|
|
@@ -4164,7 +4164,7 @@ export const UpdateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
4164
4164
|
z.ZodTypeDef,
|
|
4165
4165
|
UpdateToolResponseBody1
|
|
4166
4166
|
> = z.object({
|
|
4167
|
-
id: z.string().default("
|
|
4167
|
+
id: z.string().default("01K97GV6EK1F1CVMZDKEV0QBB9"),
|
|
4168
4168
|
path: z.string(),
|
|
4169
4169
|
key: z.string(),
|
|
4170
4170
|
displayName: z.string().optional(),
|