@orq-ai/node 4.0.0-rc.5 → 4.0.0-rc.8
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 +7488 -544
- 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 +3 -3
- package/lib/config.js +3 -3
- 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 +3 -3
- 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
|
@@ -444,7 +444,7 @@ export type GetAllPromptsContent2 =
|
|
|
444
444
|
| GetAllPrompts23;
|
|
445
445
|
|
|
446
446
|
/**
|
|
447
|
-
* 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.
|
|
447
|
+
* 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.
|
|
448
448
|
*/
|
|
449
449
|
export type GetAllPromptsContent =
|
|
450
450
|
| string
|
|
@@ -478,9 +478,12 @@ export type GetAllPromptsMessages = {
|
|
|
478
478
|
*/
|
|
479
479
|
role: GetAllPromptsRole;
|
|
480
480
|
/**
|
|
481
|
-
* 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.
|
|
481
|
+
* 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.
|
|
482
482
|
*/
|
|
483
|
-
content:
|
|
483
|
+
content:
|
|
484
|
+
| string
|
|
485
|
+
| Array<GetAllPrompts21 | GetAllPrompts22 | GetAllPrompts23>
|
|
486
|
+
| null;
|
|
484
487
|
toolCalls?: Array<GetAllPromptsToolCalls> | undefined;
|
|
485
488
|
toolCallId?: string | undefined;
|
|
486
489
|
};
|
|
@@ -2116,14 +2119,16 @@ export const GetAllPromptsMessages$inboundSchema: z.ZodType<
|
|
|
2116
2119
|
unknown
|
|
2117
2120
|
> = z.object({
|
|
2118
2121
|
role: GetAllPromptsRole$inboundSchema,
|
|
2119
|
-
content: z.
|
|
2120
|
-
z.
|
|
2121
|
-
|
|
2122
|
-
z.
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2122
|
+
content: z.nullable(
|
|
2123
|
+
z.union([
|
|
2124
|
+
z.string(),
|
|
2125
|
+
z.array(z.union([
|
|
2126
|
+
z.lazy(() => GetAllPrompts21$inboundSchema),
|
|
2127
|
+
z.lazy(() => GetAllPrompts22$inboundSchema),
|
|
2128
|
+
z.lazy(() => GetAllPrompts23$inboundSchema),
|
|
2129
|
+
])),
|
|
2130
|
+
]),
|
|
2131
|
+
),
|
|
2127
2132
|
tool_calls: z.array(z.lazy(() => GetAllPromptsToolCalls$inboundSchema))
|
|
2128
2133
|
.optional(),
|
|
2129
2134
|
tool_call_id: z.string().optional(),
|
|
@@ -2143,7 +2148,8 @@ export type GetAllPromptsMessages$Outbound = {
|
|
|
2143
2148
|
| GetAllPrompts21$Outbound
|
|
2144
2149
|
| GetAllPrompts22$Outbound
|
|
2145
2150
|
| GetAllPrompts23$Outbound
|
|
2146
|
-
|
|
2151
|
+
>
|
|
2152
|
+
| null;
|
|
2147
2153
|
tool_calls?: Array<GetAllPromptsToolCalls$Outbound> | undefined;
|
|
2148
2154
|
tool_call_id?: string | undefined;
|
|
2149
2155
|
};
|
|
@@ -2155,14 +2161,18 @@ export const GetAllPromptsMessages$outboundSchema: z.ZodType<
|
|
|
2155
2161
|
GetAllPromptsMessages
|
|
2156
2162
|
> = z.object({
|
|
2157
2163
|
role: GetAllPromptsRole$outboundSchema,
|
|
2158
|
-
content: z.
|
|
2159
|
-
z.
|
|
2160
|
-
|
|
2161
|
-
z.
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2164
|
+
content: z.nullable(
|
|
2165
|
+
z.union([
|
|
2166
|
+
z.string(),
|
|
2167
|
+
z.array(
|
|
2168
|
+
z.union([
|
|
2169
|
+
z.lazy(() => GetAllPrompts21$outboundSchema),
|
|
2170
|
+
z.lazy(() => GetAllPrompts22$outboundSchema),
|
|
2171
|
+
z.lazy(() => GetAllPrompts23$outboundSchema),
|
|
2172
|
+
]),
|
|
2173
|
+
),
|
|
2174
|
+
]),
|
|
2175
|
+
),
|
|
2166
2176
|
toolCalls: z.array(z.lazy(() => GetAllPromptsToolCalls$outboundSchema))
|
|
2167
2177
|
.optional(),
|
|
2168
2178
|
toolCallId: z.string().optional(),
|
|
@@ -793,7 +793,7 @@ export function dataCodeToolFromJSON(
|
|
|
793
793
|
/** @internal */
|
|
794
794
|
export const Data5$inboundSchema: z.ZodType<Data5, z.ZodTypeDef, unknown> = z
|
|
795
795
|
.object({
|
|
796
|
-
_id: z.string().default("
|
|
796
|
+
_id: z.string().default("01K997KM8H67EDEBP47Q9AFMXA"),
|
|
797
797
|
path: z.string(),
|
|
798
798
|
key: z.string(),
|
|
799
799
|
display_name: z.string().optional(),
|
|
@@ -846,7 +846,7 @@ export const Data5$outboundSchema: z.ZodType<
|
|
|
846
846
|
z.ZodTypeDef,
|
|
847
847
|
Data5
|
|
848
848
|
> = z.object({
|
|
849
|
-
id: z.string().default("
|
|
849
|
+
id: z.string().default("01K997KM8H67EDEBP47Q9AFMXA"),
|
|
850
850
|
path: z.string(),
|
|
851
851
|
key: z.string(),
|
|
852
852
|
displayName: z.string().optional(),
|
|
@@ -1189,7 +1189,7 @@ export function dataMcpFromJSON(
|
|
|
1189
1189
|
/** @internal */
|
|
1190
1190
|
export const Data4$inboundSchema: z.ZodType<Data4, z.ZodTypeDef, unknown> = z
|
|
1191
1191
|
.object({
|
|
1192
|
-
_id: z.string().default("
|
|
1192
|
+
_id: z.string().default("01K997KM8F0KNPDAS5A2H99QFD"),
|
|
1193
1193
|
path: z.string(),
|
|
1194
1194
|
key: z.string(),
|
|
1195
1195
|
display_name: z.string().optional(),
|
|
@@ -1241,7 +1241,7 @@ export const Data4$outboundSchema: z.ZodType<
|
|
|
1241
1241
|
z.ZodTypeDef,
|
|
1242
1242
|
Data4
|
|
1243
1243
|
> = z.object({
|
|
1244
|
-
id: z.string().default("
|
|
1244
|
+
id: z.string().default("01K997KM8F0KNPDAS5A2H99QFD"),
|
|
1245
1245
|
path: z.string(),
|
|
1246
1246
|
key: z.string(),
|
|
1247
1247
|
displayName: z.string().optional(),
|
|
@@ -1624,7 +1624,7 @@ export function getAllToolsDataHttpFromJSON(
|
|
|
1624
1624
|
/** @internal */
|
|
1625
1625
|
export const Data3$inboundSchema: z.ZodType<Data3, z.ZodTypeDef, unknown> = z
|
|
1626
1626
|
.object({
|
|
1627
|
-
_id: z.string().default("
|
|
1627
|
+
_id: z.string().default("01K997KM8DA1GN30B02X9M13KJ"),
|
|
1628
1628
|
path: z.string(),
|
|
1629
1629
|
key: z.string(),
|
|
1630
1630
|
display_name: z.string().optional(),
|
|
@@ -1676,7 +1676,7 @@ export const Data3$outboundSchema: z.ZodType<
|
|
|
1676
1676
|
z.ZodTypeDef,
|
|
1677
1677
|
Data3
|
|
1678
1678
|
> = z.object({
|
|
1679
|
-
id: z.string().default("
|
|
1679
|
+
id: z.string().default("01K997KM8DA1GN30B02X9M13KJ"),
|
|
1680
1680
|
path: z.string(),
|
|
1681
1681
|
key: z.string(),
|
|
1682
1682
|
displayName: z.string().optional(),
|
|
@@ -1834,7 +1834,7 @@ export function dataJsonSchemaFromJSON(
|
|
|
1834
1834
|
/** @internal */
|
|
1835
1835
|
export const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown> = z
|
|
1836
1836
|
.object({
|
|
1837
|
-
_id: z.string().default("
|
|
1837
|
+
_id: z.string().default("01K997KM8CFZTCZJ18E7KTFK0Y"),
|
|
1838
1838
|
path: z.string(),
|
|
1839
1839
|
key: z.string(),
|
|
1840
1840
|
display_name: z.string().optional(),
|
|
@@ -1887,7 +1887,7 @@ export const Data2$outboundSchema: z.ZodType<
|
|
|
1887
1887
|
z.ZodTypeDef,
|
|
1888
1888
|
Data2
|
|
1889
1889
|
> = z.object({
|
|
1890
|
-
id: z.string().default("
|
|
1890
|
+
id: z.string().default("01K997KM8CFZTCZJ18E7KTFK0Y"),
|
|
1891
1891
|
path: z.string(),
|
|
1892
1892
|
key: z.string(),
|
|
1893
1893
|
displayName: z.string().optional(),
|
|
@@ -2048,7 +2048,7 @@ export function getAllToolsDataFunctionFromJSON(
|
|
|
2048
2048
|
/** @internal */
|
|
2049
2049
|
export const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown> = z
|
|
2050
2050
|
.object({
|
|
2051
|
-
_id: z.string().default("
|
|
2051
|
+
_id: z.string().default("01K997KM8B5ZSD1YKC9VMZA6PC"),
|
|
2052
2052
|
path: z.string(),
|
|
2053
2053
|
key: z.string(),
|
|
2054
2054
|
display_name: z.string().optional(),
|
|
@@ -2100,7 +2100,7 @@ export const Data1$outboundSchema: z.ZodType<
|
|
|
2100
2100
|
z.ZodTypeDef,
|
|
2101
2101
|
Data1
|
|
2102
2102
|
> = z.object({
|
|
2103
|
-
id: z.string().default("
|
|
2103
|
+
id: z.string().default("01K997KM8B5ZSD1YKC9VMZA6PC"),
|
|
2104
2104
|
path: z.string(),
|
|
2105
2105
|
key: z.string(),
|
|
2106
2106
|
displayName: z.string().optional(),
|
|
@@ -360,7 +360,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
360
360
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
361
361
|
.optional(),
|
|
362
362
|
updated: z.string().datetime({ offset: true }).default(
|
|
363
|
-
"2025-11-
|
|
363
|
+
"2025-11-05T05:24:55.569Z",
|
|
364
364
|
).transform(v => new Date(v)),
|
|
365
365
|
}).transform((v) => {
|
|
366
366
|
return remap$(v, {
|
|
@@ -398,7 +398,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
398
398
|
isActive: z.boolean(),
|
|
399
399
|
consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
|
|
400
400
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
401
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
401
|
+
updated: z.date().default(() => new Date("2025-11-05T05:24:55.569Z"))
|
|
402
402
|
.transform(v => v.toISOString()),
|
|
403
403
|
}).transform((v) => {
|
|
404
404
|
return remap$(v, {
|
|
@@ -1554,8 +1554,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1554
1554
|
> = z.object({
|
|
1555
1555
|
_id: z.string(),
|
|
1556
1556
|
description: z.string(),
|
|
1557
|
-
created: z.string().default("2025-11-
|
|
1558
|
-
updated: z.string().default("2025-11-
|
|
1557
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
1558
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
1559
1559
|
guardrail_config: z.union([
|
|
1560
1560
|
z.lazy(() =>
|
|
1561
1561
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -1597,8 +1597,8 @@ export const DataTypescript$outboundSchema: z.ZodType<
|
|
|
1597
1597
|
> = z.object({
|
|
1598
1598
|
id: z.string(),
|
|
1599
1599
|
description: z.string(),
|
|
1600
|
-
created: z.string().default("2025-11-
|
|
1601
|
-
updated: z.string().default("2025-11-
|
|
1600
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
1601
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
1602
1602
|
guardrailConfig: z.union([
|
|
1603
1603
|
z.lazy(() =>
|
|
1604
1604
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -1996,8 +1996,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
1996
1996
|
> = z.object({
|
|
1997
1997
|
_id: z.string(),
|
|
1998
1998
|
description: z.string(),
|
|
1999
|
-
created: z.string().default("2025-11-
|
|
2000
|
-
updated: z.string().default("2025-11-
|
|
1999
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
2000
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
2001
2001
|
guardrail_config: z.union([
|
|
2002
2002
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
2003
2003
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
@@ -2038,8 +2038,8 @@ export const DataRagas$outboundSchema: z.ZodType<
|
|
|
2038
2038
|
> = z.object({
|
|
2039
2039
|
id: z.string(),
|
|
2040
2040
|
description: z.string(),
|
|
2041
|
-
created: z.string().default("2025-11-
|
|
2042
|
-
updated: z.string().default("2025-11-
|
|
2041
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
2042
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
2043
2043
|
guardrailConfig: z.union([
|
|
2044
2044
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
2045
2045
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
@@ -5506,8 +5506,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
5506
5506
|
> = z.object({
|
|
5507
5507
|
_id: z.string(),
|
|
5508
5508
|
description: z.string(),
|
|
5509
|
-
created: z.string().default("2025-11-
|
|
5510
|
-
updated: z.string().default("2025-11-
|
|
5509
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
5510
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
5511
5511
|
guardrail_config: z.union([
|
|
5512
5512
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
5513
5513
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -5617,8 +5617,8 @@ export const DataFunction$outboundSchema: z.ZodType<
|
|
|
5617
5617
|
> = z.object({
|
|
5618
5618
|
id: z.string(),
|
|
5619
5619
|
description: z.string(),
|
|
5620
|
-
created: z.string().default("2025-11-
|
|
5621
|
-
updated: z.string().default("2025-11-
|
|
5620
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
5621
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
5622
5622
|
guardrailConfig: z.union([
|
|
5623
5623
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
5624
5624
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -6000,8 +6000,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
6000
6000
|
> = z.object({
|
|
6001
6001
|
_id: z.string(),
|
|
6002
6002
|
description: z.string(),
|
|
6003
|
-
created: z.string().default("2025-11-
|
|
6004
|
-
updated: z.string().default("2025-11-
|
|
6003
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
6004
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
6005
6005
|
guardrail_config: z.union([
|
|
6006
6006
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
6007
6007
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -6039,8 +6039,8 @@ export const DataPython$outboundSchema: z.ZodType<
|
|
|
6039
6039
|
> = z.object({
|
|
6040
6040
|
id: z.string(),
|
|
6041
6041
|
description: z.string(),
|
|
6042
|
-
created: z.string().default("2025-11-
|
|
6043
|
-
updated: z.string().default("2025-11-
|
|
6042
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
6043
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
6044
6044
|
guardrailConfig: z.union([
|
|
6045
6045
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
6046
6046
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
|
|
@@ -6386,8 +6386,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
6386
6386
|
> = z.object({
|
|
6387
6387
|
_id: z.string(),
|
|
6388
6388
|
description: z.string(),
|
|
6389
|
-
created: z.string().default("2025-11-
|
|
6390
|
-
updated: z.string().default("2025-11-
|
|
6389
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
6390
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
6391
6391
|
guardrail_config: z.union([
|
|
6392
6392
|
z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
6393
6393
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
@@ -6431,8 +6431,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
|
|
|
6431
6431
|
> = z.object({
|
|
6432
6432
|
id: z.string(),
|
|
6433
6433
|
description: z.string(),
|
|
6434
|
-
created: z.string().default("2025-11-
|
|
6435
|
-
updated: z.string().default("2025-11-
|
|
6434
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
6435
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
6436
6436
|
guardrailConfig: z.union([
|
|
6437
6437
|
z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
6438
6438
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
|
|
@@ -6795,8 +6795,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
6795
6795
|
> = z.object({
|
|
6796
6796
|
_id: z.string(),
|
|
6797
6797
|
description: z.string(),
|
|
6798
|
-
created: z.string().default("2025-11-
|
|
6799
|
-
updated: z.string().default("2025-11-
|
|
6798
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
6799
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
6800
6800
|
guardrail_config: z.union([
|
|
6801
6801
|
z.lazy(() =>
|
|
6802
6802
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema
|
|
@@ -6838,8 +6838,8 @@ export const DataJSON$outboundSchema: z.ZodType<
|
|
|
6838
6838
|
> = z.object({
|
|
6839
6839
|
id: z.string(),
|
|
6840
6840
|
description: z.string(),
|
|
6841
|
-
created: z.string().default("2025-11-
|
|
6842
|
-
updated: z.string().default("2025-11-
|
|
6841
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
6842
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
6843
6843
|
guardrailConfig: z.union([
|
|
6844
6844
|
z.lazy(() =>
|
|
6845
6845
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema
|
|
@@ -7227,8 +7227,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
|
|
|
7227
7227
|
z.object({
|
|
7228
7228
|
_id: z.string(),
|
|
7229
7229
|
description: z.string(),
|
|
7230
|
-
created: z.string().default("2025-11-
|
|
7231
|
-
updated: z.string().default("2025-11-
|
|
7230
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
7231
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
7232
7232
|
guardrail_config: z.union([
|
|
7233
7233
|
z.lazy(() =>
|
|
7234
7234
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7273,8 +7273,8 @@ export const DataLLM$outboundSchema: z.ZodType<
|
|
|
7273
7273
|
> = z.object({
|
|
7274
7274
|
id: z.string(),
|
|
7275
7275
|
description: z.string(),
|
|
7276
|
-
created: z.string().default("2025-11-
|
|
7277
|
-
updated: z.string().default("2025-11-
|
|
7276
|
+
created: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
7277
|
+
updated: z.string().default("2025-11-05T05:24:57.737Z"),
|
|
7278
7278
|
guardrailConfig: z.union([
|
|
7279
7279
|
z.lazy(() =>
|
|
7280
7280
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -431,7 +431,7 @@ export type GetOnePromptContent2 =
|
|
|
431
431
|
| GetOnePrompt23;
|
|
432
432
|
|
|
433
433
|
/**
|
|
434
|
-
* 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.
|
|
434
|
+
* 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.
|
|
435
435
|
*/
|
|
436
436
|
export type GetOnePromptContent =
|
|
437
437
|
| string
|
|
@@ -465,9 +465,12 @@ export type GetOnePromptMessages = {
|
|
|
465
465
|
*/
|
|
466
466
|
role: GetOnePromptRole;
|
|
467
467
|
/**
|
|
468
|
-
* 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.
|
|
468
|
+
* 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.
|
|
469
469
|
*/
|
|
470
|
-
content:
|
|
470
|
+
content:
|
|
471
|
+
| string
|
|
472
|
+
| Array<GetOnePrompt21 | GetOnePrompt22 | GetOnePrompt23>
|
|
473
|
+
| null;
|
|
471
474
|
toolCalls?: Array<GetOnePromptToolCalls> | undefined;
|
|
472
475
|
toolCallId?: string | undefined;
|
|
473
476
|
};
|
|
@@ -2042,14 +2045,16 @@ export const GetOnePromptMessages$inboundSchema: z.ZodType<
|
|
|
2042
2045
|
unknown
|
|
2043
2046
|
> = z.object({
|
|
2044
2047
|
role: GetOnePromptRole$inboundSchema,
|
|
2045
|
-
content: z.
|
|
2046
|
-
z.
|
|
2047
|
-
|
|
2048
|
-
z.
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2048
|
+
content: z.nullable(
|
|
2049
|
+
z.union([
|
|
2050
|
+
z.string(),
|
|
2051
|
+
z.array(z.union([
|
|
2052
|
+
z.lazy(() => GetOnePrompt21$inboundSchema),
|
|
2053
|
+
z.lazy(() => GetOnePrompt22$inboundSchema),
|
|
2054
|
+
z.lazy(() => GetOnePrompt23$inboundSchema),
|
|
2055
|
+
])),
|
|
2056
|
+
]),
|
|
2057
|
+
),
|
|
2053
2058
|
tool_calls: z.array(z.lazy(() => GetOnePromptToolCalls$inboundSchema))
|
|
2054
2059
|
.optional(),
|
|
2055
2060
|
tool_call_id: z.string().optional(),
|
|
@@ -2069,7 +2074,8 @@ export type GetOnePromptMessages$Outbound = {
|
|
|
2069
2074
|
| GetOnePrompt21$Outbound
|
|
2070
2075
|
| GetOnePrompt22$Outbound
|
|
2071
2076
|
| GetOnePrompt23$Outbound
|
|
2072
|
-
|
|
2077
|
+
>
|
|
2078
|
+
| null;
|
|
2073
2079
|
tool_calls?: Array<GetOnePromptToolCalls$Outbound> | undefined;
|
|
2074
2080
|
tool_call_id?: string | undefined;
|
|
2075
2081
|
};
|
|
@@ -2081,14 +2087,16 @@ export const GetOnePromptMessages$outboundSchema: z.ZodType<
|
|
|
2081
2087
|
GetOnePromptMessages
|
|
2082
2088
|
> = z.object({
|
|
2083
2089
|
role: GetOnePromptRole$outboundSchema,
|
|
2084
|
-
content: z.
|
|
2085
|
-
z.
|
|
2086
|
-
|
|
2087
|
-
z.
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2090
|
+
content: z.nullable(
|
|
2091
|
+
z.union([
|
|
2092
|
+
z.string(),
|
|
2093
|
+
z.array(z.union([
|
|
2094
|
+
z.lazy(() => GetOnePrompt21$outboundSchema),
|
|
2095
|
+
z.lazy(() => GetOnePrompt22$outboundSchema),
|
|
2096
|
+
z.lazy(() => GetOnePrompt23$outboundSchema),
|
|
2097
|
+
])),
|
|
2098
|
+
]),
|
|
2099
|
+
),
|
|
2092
2100
|
toolCalls: z.array(z.lazy(() => GetOnePromptToolCalls$outboundSchema))
|
|
2093
2101
|
.optional(),
|
|
2094
2102
|
toolCallId: z.string().optional(),
|
|
@@ -436,7 +436,7 @@ export type GetPromptVersionContent2 =
|
|
|
436
436
|
| GetPromptVersion23;
|
|
437
437
|
|
|
438
438
|
/**
|
|
439
|
-
* 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.
|
|
439
|
+
* 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.
|
|
440
440
|
*/
|
|
441
441
|
export type GetPromptVersionContent =
|
|
442
442
|
| string
|
|
@@ -468,11 +468,12 @@ export type GetPromptVersionMessages = {
|
|
|
468
468
|
*/
|
|
469
469
|
role: GetPromptVersionRole;
|
|
470
470
|
/**
|
|
471
|
-
* 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.
|
|
471
|
+
* 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.
|
|
472
472
|
*/
|
|
473
473
|
content:
|
|
474
474
|
| string
|
|
475
|
-
| Array<GetPromptVersion21 | GetPromptVersion22 | GetPromptVersion23
|
|
475
|
+
| Array<GetPromptVersion21 | GetPromptVersion22 | GetPromptVersion23>
|
|
476
|
+
| null;
|
|
476
477
|
toolCalls?: Array<GetPromptVersionToolCalls> | undefined;
|
|
477
478
|
toolCallId?: string | undefined;
|
|
478
479
|
};
|
|
@@ -2064,14 +2065,18 @@ export const GetPromptVersionMessages$inboundSchema: z.ZodType<
|
|
|
2064
2065
|
unknown
|
|
2065
2066
|
> = z.object({
|
|
2066
2067
|
role: GetPromptVersionRole$inboundSchema,
|
|
2067
|
-
content: z.
|
|
2068
|
-
z.
|
|
2069
|
-
|
|
2070
|
-
z.
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2068
|
+
content: z.nullable(
|
|
2069
|
+
z.union([
|
|
2070
|
+
z.string(),
|
|
2071
|
+
z.array(
|
|
2072
|
+
z.union([
|
|
2073
|
+
z.lazy(() => GetPromptVersion21$inboundSchema),
|
|
2074
|
+
z.lazy(() => GetPromptVersion22$inboundSchema),
|
|
2075
|
+
z.lazy(() => GetPromptVersion23$inboundSchema),
|
|
2076
|
+
]),
|
|
2077
|
+
),
|
|
2078
|
+
]),
|
|
2079
|
+
),
|
|
2075
2080
|
tool_calls: z.array(z.lazy(() => GetPromptVersionToolCalls$inboundSchema))
|
|
2076
2081
|
.optional(),
|
|
2077
2082
|
tool_call_id: z.string().optional(),
|
|
@@ -2091,7 +2096,8 @@ export type GetPromptVersionMessages$Outbound = {
|
|
|
2091
2096
|
| GetPromptVersion21$Outbound
|
|
2092
2097
|
| GetPromptVersion22$Outbound
|
|
2093
2098
|
| GetPromptVersion23$Outbound
|
|
2094
|
-
|
|
2099
|
+
>
|
|
2100
|
+
| null;
|
|
2095
2101
|
tool_calls?: Array<GetPromptVersionToolCalls$Outbound> | undefined;
|
|
2096
2102
|
tool_call_id?: string | undefined;
|
|
2097
2103
|
};
|
|
@@ -2103,14 +2109,18 @@ export const GetPromptVersionMessages$outboundSchema: z.ZodType<
|
|
|
2103
2109
|
GetPromptVersionMessages
|
|
2104
2110
|
> = z.object({
|
|
2105
2111
|
role: GetPromptVersionRole$outboundSchema,
|
|
2106
|
-
content: z.
|
|
2107
|
-
z.
|
|
2108
|
-
|
|
2109
|
-
z.
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2112
|
+
content: z.nullable(
|
|
2113
|
+
z.union([
|
|
2114
|
+
z.string(),
|
|
2115
|
+
z.array(
|
|
2116
|
+
z.union([
|
|
2117
|
+
z.lazy(() => GetPromptVersion21$outboundSchema),
|
|
2118
|
+
z.lazy(() => GetPromptVersion22$outboundSchema),
|
|
2119
|
+
z.lazy(() => GetPromptVersion23$outboundSchema),
|
|
2120
|
+
]),
|
|
2121
|
+
),
|
|
2122
|
+
]),
|
|
2123
|
+
),
|
|
2114
2124
|
toolCalls: z.array(z.lazy(() => GetPromptVersionToolCalls$outboundSchema))
|
|
2115
2125
|
.optional(),
|
|
2116
2126
|
toolCallId: z.string().optional(),
|