@orq-ai/node 4.7.0-rc.33 → 4.7.0-rc.35
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/reasoningpart.js +1 -1
- package/models/operations/createcontact.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.d.ts +18 -18
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +42 -42
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createprompt.d.ts +1 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +1 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentinvoke.d.ts +1 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +1 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +1 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +1 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.d.ts +8 -8
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +32 -32
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +1 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevals.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2humanevalsid.js +6 -6
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/listpromptversions.d.ts +1 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/patchv2humanevalsid.js +12 -12
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevals.js +12 -12
- 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/retrieveidentity.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.d.ts +8 -8
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +32 -32
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updateprompt.d.ts +1 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +1 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createcontact.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 +148 -97
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createprompt.ts +1 -0
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentinvoke.ts +1 -0
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/deploymentstream.ts +1 -0
- package/src/models/operations/getallprompts.ts +1 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +90 -64
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- package/src/models/operations/getv2humanevals.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2humanevalsid.ts +6 -6
- 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/listidentities.ts +1 -1
- package/src/models/operations/listpromptversions.ts +1 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevals.ts +12 -12
- 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/retrieveidentity.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 +92 -66
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updateprompt.ts +1 -0
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -59,6 +59,7 @@ export type Python = {
|
|
|
59
59
|
guardrailConfig?:
|
|
60
60
|
| CreateEvalGuardrailConfigBoolean
|
|
61
61
|
| CreateEvalGuardrailConfigNumber
|
|
62
|
+
| null
|
|
62
63
|
| undefined;
|
|
63
64
|
outputType?: CreateEvalRequestBodyOutputType | undefined;
|
|
64
65
|
code: string;
|
|
@@ -136,7 +137,11 @@ export const RequestBodyMethod = {
|
|
|
136
137
|
export type RequestBodyMethod = ClosedEnum<typeof RequestBodyMethod>;
|
|
137
138
|
|
|
138
139
|
export type RequestBodyHTTP = {
|
|
139
|
-
guardrailConfig?:
|
|
140
|
+
guardrailConfig?:
|
|
141
|
+
| GuardrailConfigBoolean
|
|
142
|
+
| GuardrailConfigNumber
|
|
143
|
+
| null
|
|
144
|
+
| undefined;
|
|
140
145
|
/**
|
|
141
146
|
* The type of output expected from the evaluator
|
|
142
147
|
*/
|
|
@@ -200,7 +205,7 @@ export type CreateEvalRequestBodyEvalsType = ClosedEnum<
|
|
|
200
205
|
>;
|
|
201
206
|
|
|
202
207
|
export type Json = {
|
|
203
|
-
guardrailConfig?: Boolean | NumberT | undefined;
|
|
208
|
+
guardrailConfig?: Boolean | NumberT | null | undefined;
|
|
204
209
|
outputType?: OutputType | undefined;
|
|
205
210
|
type: CreateEvalRequestBodyEvalsType;
|
|
206
211
|
schema: string;
|
|
@@ -314,6 +319,7 @@ export type Llm2 = {
|
|
|
314
319
|
guardrailConfig?:
|
|
315
320
|
| CreateEvalGuardrailConfigEvalsBoolean
|
|
316
321
|
| CreateEvalGuardrailConfigEvalsNumber
|
|
322
|
+
| null
|
|
317
323
|
| undefined;
|
|
318
324
|
/**
|
|
319
325
|
* The type of output expected from the evaluator
|
|
@@ -394,6 +400,7 @@ export type Llm1 = {
|
|
|
394
400
|
guardrailConfig?:
|
|
395
401
|
| CreateEvalGuardrailConfigEvalsRequestBoolean
|
|
396
402
|
| CreateEvalGuardrailConfigEvalsRequestNumber
|
|
403
|
+
| null
|
|
397
404
|
| undefined;
|
|
398
405
|
/**
|
|
399
406
|
* The type of output expected from the evaluator
|
|
@@ -477,6 +484,7 @@ export type Typescript = {
|
|
|
477
484
|
guardrailConfig?:
|
|
478
485
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean
|
|
479
486
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number
|
|
487
|
+
| null
|
|
480
488
|
| undefined;
|
|
481
489
|
code: string;
|
|
482
490
|
type: CreateEvalResponseBodyEvalsResponse200ApplicationJSONType;
|
|
@@ -550,6 +558,7 @@ export type Ragas = {
|
|
|
550
558
|
guardrailConfig?:
|
|
551
559
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean
|
|
552
560
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number
|
|
561
|
+
| null
|
|
553
562
|
| undefined;
|
|
554
563
|
type: CreateEvalResponseBodyEvalsResponse200Type;
|
|
555
564
|
ragasMetric: RagasMetric;
|
|
@@ -782,6 +791,7 @@ export type CreateEvalResponseBodyFunction = {
|
|
|
782
791
|
guardrailConfig?:
|
|
783
792
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean
|
|
784
793
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber
|
|
794
|
+
| null
|
|
785
795
|
| undefined;
|
|
786
796
|
type: CreateEvalResponseBodyEvalsResponseType;
|
|
787
797
|
functionParams:
|
|
@@ -868,6 +878,7 @@ export type ResponseBodyPython = {
|
|
|
868
878
|
guardrailConfig?:
|
|
869
879
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean
|
|
870
880
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber
|
|
881
|
+
| null
|
|
871
882
|
| undefined;
|
|
872
883
|
code: string;
|
|
873
884
|
type: CreateEvalResponseBodyEvalsType;
|
|
@@ -926,6 +937,7 @@ export type ResponseBodyHTTP = {
|
|
|
926
937
|
guardrailConfig?:
|
|
927
938
|
| CreateEvalGuardrailConfigEvalsResponse200Boolean
|
|
928
939
|
| CreateEvalGuardrailConfigEvalsResponse200Number
|
|
940
|
+
| null
|
|
929
941
|
| undefined;
|
|
930
942
|
type: CreateEvalResponseBodyType;
|
|
931
943
|
url: string;
|
|
@@ -980,6 +992,7 @@ export type ResponseBodyJSON = {
|
|
|
980
992
|
guardrailConfig?:
|
|
981
993
|
| CreateEvalGuardrailConfigEvalsResponseBoolean
|
|
982
994
|
| CreateEvalGuardrailConfigEvalsResponseNumber
|
|
995
|
+
| null
|
|
983
996
|
| undefined;
|
|
984
997
|
type: CreateEvalResponseBodyEvalsResponse200ApplicationJson2Type;
|
|
985
998
|
schema: string;
|
|
@@ -1079,6 +1092,7 @@ export type CreateEvalLlm2 = {
|
|
|
1079
1092
|
guardrailConfig?:
|
|
1080
1093
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean
|
|
1081
1094
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMNumber
|
|
1095
|
+
| null
|
|
1082
1096
|
| undefined;
|
|
1083
1097
|
type: CreateEvalLLMEvalsResponseType;
|
|
1084
1098
|
repetitions?: number | undefined;
|
|
@@ -1137,6 +1151,7 @@ export type CreateEvalLlm1 = {
|
|
|
1137
1151
|
guardrailConfig?:
|
|
1138
1152
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean
|
|
1139
1153
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Number
|
|
1154
|
+
| null
|
|
1140
1155
|
| undefined;
|
|
1141
1156
|
type: CreateEvalLLMEvalsType;
|
|
1142
1157
|
repetitions?: number | undefined;
|
|
@@ -1276,6 +1291,7 @@ export type Python$Outbound = {
|
|
|
1276
1291
|
guardrail_config?:
|
|
1277
1292
|
| CreateEvalGuardrailConfigBoolean$Outbound
|
|
1278
1293
|
| CreateEvalGuardrailConfigNumber$Outbound
|
|
1294
|
+
| null
|
|
1279
1295
|
| undefined;
|
|
1280
1296
|
output_type?: string | undefined;
|
|
1281
1297
|
code: string;
|
|
@@ -1291,10 +1307,12 @@ export const Python$outboundSchema: z.ZodType<
|
|
|
1291
1307
|
z.ZodTypeDef,
|
|
1292
1308
|
Python
|
|
1293
1309
|
> = z.object({
|
|
1294
|
-
guardrailConfig: z.
|
|
1295
|
-
z.
|
|
1296
|
-
|
|
1297
|
-
|
|
1310
|
+
guardrailConfig: z.nullable(
|
|
1311
|
+
z.union([
|
|
1312
|
+
z.lazy(() => CreateEvalGuardrailConfigBoolean$outboundSchema),
|
|
1313
|
+
z.lazy(() => CreateEvalGuardrailConfigNumber$outboundSchema),
|
|
1314
|
+
]),
|
|
1315
|
+
).optional(),
|
|
1298
1316
|
outputType: CreateEvalRequestBodyOutputType$outboundSchema.optional(),
|
|
1299
1317
|
code: z.string(),
|
|
1300
1318
|
type: CreateEvalRequestBodyType$outboundSchema,
|
|
@@ -1427,6 +1445,7 @@ export type RequestBodyHTTP$Outbound = {
|
|
|
1427
1445
|
guardrail_config?:
|
|
1428
1446
|
| GuardrailConfigBoolean$Outbound
|
|
1429
1447
|
| GuardrailConfigNumber$Outbound
|
|
1448
|
+
| null
|
|
1430
1449
|
| undefined;
|
|
1431
1450
|
output_type?: string | undefined;
|
|
1432
1451
|
type: string;
|
|
@@ -1445,10 +1464,12 @@ export const RequestBodyHTTP$outboundSchema: z.ZodType<
|
|
|
1445
1464
|
z.ZodTypeDef,
|
|
1446
1465
|
RequestBodyHTTP
|
|
1447
1466
|
> = z.object({
|
|
1448
|
-
guardrailConfig: z.
|
|
1449
|
-
z.
|
|
1450
|
-
|
|
1451
|
-
|
|
1467
|
+
guardrailConfig: z.nullable(
|
|
1468
|
+
z.union([
|
|
1469
|
+
z.lazy(() => GuardrailConfigBoolean$outboundSchema),
|
|
1470
|
+
z.lazy(() => GuardrailConfigNumber$outboundSchema),
|
|
1471
|
+
]),
|
|
1472
|
+
).optional(),
|
|
1452
1473
|
outputType: RequestBodyOutputType$outboundSchema.optional(),
|
|
1453
1474
|
type: CreateEvalRequestBodyEvalsRequestType$outboundSchema,
|
|
1454
1475
|
url: z.string(),
|
|
@@ -1563,7 +1584,7 @@ export const CreateEvalRequestBodyEvalsType$outboundSchema: z.ZodNativeEnum<
|
|
|
1563
1584
|
|
|
1564
1585
|
/** @internal */
|
|
1565
1586
|
export type Json$Outbound = {
|
|
1566
|
-
guardrail_config?: Boolean$Outbound | NumberT$Outbound | undefined;
|
|
1587
|
+
guardrail_config?: Boolean$Outbound | NumberT$Outbound | null | undefined;
|
|
1567
1588
|
output_type?: string | undefined;
|
|
1568
1589
|
type: string;
|
|
1569
1590
|
schema: string;
|
|
@@ -1575,10 +1596,12 @@ export type Json$Outbound = {
|
|
|
1575
1596
|
/** @internal */
|
|
1576
1597
|
export const Json$outboundSchema: z.ZodType<Json$Outbound, z.ZodTypeDef, Json> =
|
|
1577
1598
|
z.object({
|
|
1578
|
-
guardrailConfig: z.
|
|
1579
|
-
z.
|
|
1580
|
-
|
|
1581
|
-
|
|
1599
|
+
guardrailConfig: z.nullable(
|
|
1600
|
+
z.union([
|
|
1601
|
+
z.lazy(() => Boolean$outboundSchema),
|
|
1602
|
+
z.lazy(() => NumberT$outboundSchema),
|
|
1603
|
+
]),
|
|
1604
|
+
).optional(),
|
|
1582
1605
|
outputType: OutputType$outboundSchema.optional(),
|
|
1583
1606
|
type: CreateEvalRequestBodyEvalsType$outboundSchema,
|
|
1584
1607
|
schema: z.string(),
|
|
@@ -1885,6 +1908,7 @@ export type Llm2$Outbound = {
|
|
|
1885
1908
|
guardrail_config?:
|
|
1886
1909
|
| CreateEvalGuardrailConfigEvalsBoolean$Outbound
|
|
1887
1910
|
| CreateEvalGuardrailConfigEvalsNumber$Outbound
|
|
1911
|
+
| null
|
|
1888
1912
|
| undefined;
|
|
1889
1913
|
output_type?: string | undefined;
|
|
1890
1914
|
type: string;
|
|
@@ -1900,10 +1924,12 @@ export type Llm2$Outbound = {
|
|
|
1900
1924
|
/** @internal */
|
|
1901
1925
|
export const Llm2$outboundSchema: z.ZodType<Llm2$Outbound, z.ZodTypeDef, Llm2> =
|
|
1902
1926
|
z.object({
|
|
1903
|
-
guardrailConfig: z.
|
|
1904
|
-
z.
|
|
1905
|
-
|
|
1906
|
-
|
|
1927
|
+
guardrailConfig: z.nullable(
|
|
1928
|
+
z.union([
|
|
1929
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$outboundSchema),
|
|
1930
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsNumber$outboundSchema),
|
|
1931
|
+
]),
|
|
1932
|
+
).optional(),
|
|
1907
1933
|
outputType: LLMOutputType$outboundSchema.optional(),
|
|
1908
1934
|
type: LLMType$outboundSchema,
|
|
1909
1935
|
repetitions: z.number().int().optional(),
|
|
@@ -2043,6 +2069,7 @@ export type Llm1$Outbound = {
|
|
|
2043
2069
|
guardrail_config?:
|
|
2044
2070
|
| CreateEvalGuardrailConfigEvalsRequestBoolean$Outbound
|
|
2045
2071
|
| CreateEvalGuardrailConfigEvalsRequestNumber$Outbound
|
|
2072
|
+
| null
|
|
2046
2073
|
| undefined;
|
|
2047
2074
|
output_type?: string | undefined;
|
|
2048
2075
|
type: string;
|
|
@@ -2058,10 +2085,16 @@ export type Llm1$Outbound = {
|
|
|
2058
2085
|
/** @internal */
|
|
2059
2086
|
export const Llm1$outboundSchema: z.ZodType<Llm1$Outbound, z.ZodTypeDef, Llm1> =
|
|
2060
2087
|
z.object({
|
|
2061
|
-
guardrailConfig: z.
|
|
2062
|
-
z.
|
|
2063
|
-
|
|
2064
|
-
|
|
2088
|
+
guardrailConfig: z.nullable(
|
|
2089
|
+
z.union([
|
|
2090
|
+
z.lazy(() =>
|
|
2091
|
+
CreateEvalGuardrailConfigEvalsRequestBoolean$outboundSchema
|
|
2092
|
+
),
|
|
2093
|
+
z.lazy(() =>
|
|
2094
|
+
CreateEvalGuardrailConfigEvalsRequestNumber$outboundSchema
|
|
2095
|
+
),
|
|
2096
|
+
]),
|
|
2097
|
+
).optional(),
|
|
2065
2098
|
outputType: CreateEvalLLMOutputType$outboundSchema.optional(),
|
|
2066
2099
|
type: CreateEvalLLMType$outboundSchema,
|
|
2067
2100
|
repetitions: z.number().int().optional(),
|
|
@@ -2245,16 +2278,18 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2245
2278
|
> = z.object({
|
|
2246
2279
|
_id: z.string(),
|
|
2247
2280
|
description: z.string(),
|
|
2248
|
-
created: z.string().default("2026-03-
|
|
2249
|
-
updated: z.string().default("2026-03-
|
|
2250
|
-
guardrail_config: z.
|
|
2251
|
-
z.
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2281
|
+
created: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
2282
|
+
updated: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
2283
|
+
guardrail_config: z.nullable(
|
|
2284
|
+
z.union([
|
|
2285
|
+
z.lazy(() =>
|
|
2286
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema
|
|
2287
|
+
),
|
|
2288
|
+
z.lazy(() =>
|
|
2289
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
2290
|
+
),
|
|
2291
|
+
]),
|
|
2292
|
+
).optional(),
|
|
2258
2293
|
code: z.string(),
|
|
2259
2294
|
type: CreateEvalResponseBodyEvalsResponse200ApplicationJSONType$inboundSchema,
|
|
2260
2295
|
key: z.string(),
|
|
@@ -2394,16 +2429,18 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2394
2429
|
.object({
|
|
2395
2430
|
_id: z.string(),
|
|
2396
2431
|
description: z.string(),
|
|
2397
|
-
created: z.string().default("2026-03-
|
|
2398
|
-
updated: z.string().default("2026-03-
|
|
2399
|
-
guardrail_config: z.
|
|
2400
|
-
z.
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2432
|
+
created: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
2433
|
+
updated: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
2434
|
+
guardrail_config: z.nullable(
|
|
2435
|
+
z.union([
|
|
2436
|
+
z.lazy(() =>
|
|
2437
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema
|
|
2438
|
+
),
|
|
2439
|
+
z.lazy(() =>
|
|
2440
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
2441
|
+
),
|
|
2442
|
+
]),
|
|
2443
|
+
).optional(),
|
|
2407
2444
|
type: CreateEvalResponseBodyEvalsResponse200Type$inboundSchema,
|
|
2408
2445
|
ragas_metric: RagasMetric$inboundSchema,
|
|
2409
2446
|
key: z.string(),
|
|
@@ -3184,16 +3221,18 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3184
3221
|
> = z.object({
|
|
3185
3222
|
_id: z.string(),
|
|
3186
3223
|
description: z.string(),
|
|
3187
|
-
created: z.string().default("2026-03-
|
|
3188
|
-
updated: z.string().default("2026-03-
|
|
3189
|
-
guardrail_config: z.
|
|
3190
|
-
z.
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3224
|
+
created: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
3225
|
+
updated: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
3226
|
+
guardrail_config: z.nullable(
|
|
3227
|
+
z.union([
|
|
3228
|
+
z.lazy(() =>
|
|
3229
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
3230
|
+
),
|
|
3231
|
+
z.lazy(() =>
|
|
3232
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
3233
|
+
),
|
|
3234
|
+
]),
|
|
3235
|
+
).optional(),
|
|
3197
3236
|
type: CreateEvalResponseBodyEvalsResponseType$inboundSchema,
|
|
3198
3237
|
function_params: z.union([
|
|
3199
3238
|
z.lazy(() => FunctionParams1$inboundSchema),
|
|
@@ -3363,16 +3402,18 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3363
3402
|
> = z.object({
|
|
3364
3403
|
_id: z.string(),
|
|
3365
3404
|
description: z.string(),
|
|
3366
|
-
created: z.string().default("2026-03-
|
|
3367
|
-
updated: z.string().default("2026-03-
|
|
3368
|
-
guardrail_config: z.
|
|
3369
|
-
z.
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3405
|
+
created: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
3406
|
+
updated: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
3407
|
+
guardrail_config: z.nullable(
|
|
3408
|
+
z.union([
|
|
3409
|
+
z.lazy(() =>
|
|
3410
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
3411
|
+
),
|
|
3412
|
+
z.lazy(() =>
|
|
3413
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
3414
|
+
),
|
|
3415
|
+
]),
|
|
3416
|
+
).optional(),
|
|
3376
3417
|
code: z.string(),
|
|
3377
3418
|
type: CreateEvalResponseBodyEvalsType$inboundSchema,
|
|
3378
3419
|
key: z.string(),
|
|
@@ -3504,14 +3545,18 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3504
3545
|
> = z.object({
|
|
3505
3546
|
_id: z.string(),
|
|
3506
3547
|
description: z.string(),
|
|
3507
|
-
created: z.string().default("2026-03-
|
|
3508
|
-
updated: z.string().default("2026-03-
|
|
3509
|
-
guardrail_config: z.
|
|
3510
|
-
z.
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3548
|
+
created: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
3549
|
+
updated: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
3550
|
+
guardrail_config: z.nullable(
|
|
3551
|
+
z.union([
|
|
3552
|
+
z.lazy(() =>
|
|
3553
|
+
CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
3554
|
+
),
|
|
3555
|
+
z.lazy(() =>
|
|
3556
|
+
CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema
|
|
3557
|
+
),
|
|
3558
|
+
]),
|
|
3559
|
+
).optional(),
|
|
3515
3560
|
type: CreateEvalResponseBodyType$inboundSchema,
|
|
3516
3561
|
url: z.string(),
|
|
3517
3562
|
method: ResponseBodyMethod$inboundSchema,
|
|
@@ -3641,12 +3686,14 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3641
3686
|
> = z.object({
|
|
3642
3687
|
_id: z.string(),
|
|
3643
3688
|
description: z.string(),
|
|
3644
|
-
created: z.string().default("2026-03-
|
|
3645
|
-
updated: z.string().default("2026-03-
|
|
3646
|
-
guardrail_config: z.
|
|
3647
|
-
z.
|
|
3648
|
-
|
|
3649
|
-
|
|
3689
|
+
created: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
3690
|
+
updated: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
3691
|
+
guardrail_config: z.nullable(
|
|
3692
|
+
z.union([
|
|
3693
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3694
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
3695
|
+
]),
|
|
3696
|
+
).optional(),
|
|
3650
3697
|
type:
|
|
3651
3698
|
CreateEvalResponseBodyEvalsResponse200ApplicationJson2Type$inboundSchema,
|
|
3652
3699
|
schema: z.string(),
|
|
@@ -3952,16 +3999,18 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3952
3999
|
> = z.object({
|
|
3953
4000
|
_id: z.string(),
|
|
3954
4001
|
description: z.string(),
|
|
3955
|
-
created: z.string().default("2026-03-
|
|
3956
|
-
updated: z.string().default("2026-03-
|
|
3957
|
-
guardrail_config: z.
|
|
3958
|
-
z.
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
4002
|
+
created: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
4003
|
+
updated: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
4004
|
+
guardrail_config: z.nullable(
|
|
4005
|
+
z.union([
|
|
4006
|
+
z.lazy(() =>
|
|
4007
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema
|
|
4008
|
+
),
|
|
4009
|
+
z.lazy(() =>
|
|
4010
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMNumber$inboundSchema
|
|
4011
|
+
),
|
|
4012
|
+
]),
|
|
4013
|
+
).optional(),
|
|
3965
4014
|
type: CreateEvalLLMEvalsResponseType$inboundSchema,
|
|
3966
4015
|
repetitions: z.number().int().optional(),
|
|
3967
4016
|
prompt: z.string(),
|
|
@@ -4096,16 +4145,18 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4096
4145
|
> = z.object({
|
|
4097
4146
|
_id: z.string(),
|
|
4098
4147
|
description: z.string(),
|
|
4099
|
-
created: z.string().default("2026-03-
|
|
4100
|
-
updated: z.string().default("2026-03-
|
|
4101
|
-
guardrail_config: z.
|
|
4102
|
-
z.
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4148
|
+
created: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
4149
|
+
updated: z.string().default("2026-03-31T12:16:16.244Z"),
|
|
4150
|
+
guardrail_config: z.nullable(
|
|
4151
|
+
z.union([
|
|
4152
|
+
z.lazy(() =>
|
|
4153
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$inboundSchema
|
|
4154
|
+
),
|
|
4155
|
+
z.lazy(() =>
|
|
4156
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Number$inboundSchema
|
|
4157
|
+
),
|
|
4158
|
+
]),
|
|
4159
|
+
).optional(),
|
|
4109
4160
|
type: CreateEvalLLMEvalsType$inboundSchema,
|
|
4110
4161
|
repetitions: z.number().int().optional(),
|
|
4111
4162
|
prompt: z.string(),
|
|
@@ -139,7 +139,7 @@ export const CreateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
139
139
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
140
140
|
.optional(),
|
|
141
141
|
updated: z.string().datetime({ offset: true }).default(
|
|
142
|
-
"2026-03-
|
|
142
|
+
"2026-03-31T12:16:13.726Z",
|
|
143
143
|
).transform(v => new Date(v)),
|
|
144
144
|
}).transform((v) => {
|
|
145
145
|
return remap$(v, {
|
|
@@ -1899,7 +1899,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1899
1899
|
z.ZodTypeDef,
|
|
1900
1900
|
unknown
|
|
1901
1901
|
> = z.object({
|
|
1902
|
-
_id: z.string().default("
|
|
1902
|
+
_id: z.string().default("tool_01KN1X5WPB20E7NQ3VGVPPNTYY"),
|
|
1903
1903
|
path: z.string(),
|
|
1904
1904
|
key: z.string(),
|
|
1905
1905
|
display_name: z.string().optional(),
|
|
@@ -1998,7 +1998,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1998
1998
|
z.ZodTypeDef,
|
|
1999
1999
|
unknown
|
|
2000
2000
|
> = z.object({
|
|
2001
|
-
id: z.string().default("
|
|
2001
|
+
id: z.string().default("01KN1X5WPABQM6JB3JJDPNMJXH"),
|
|
2002
2002
|
name: z.string(),
|
|
2003
2003
|
description: z.string().optional(),
|
|
2004
2004
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2052,7 +2052,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2052
2052
|
z.ZodTypeDef,
|
|
2053
2053
|
unknown
|
|
2054
2054
|
> = z.object({
|
|
2055
|
-
_id: z.string().default("
|
|
2055
|
+
_id: z.string().default("tool_01KN1X5WP96YKCWVBCW174YJXK"),
|
|
2056
2056
|
path: z.string(),
|
|
2057
2057
|
key: z.string(),
|
|
2058
2058
|
display_name: z.string().optional(),
|
|
@@ -2240,7 +2240,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2240
2240
|
z.ZodTypeDef,
|
|
2241
2241
|
unknown
|
|
2242
2242
|
> = z.object({
|
|
2243
|
-
_id: z.string().default("
|
|
2243
|
+
_id: z.string().default("tool_01KN1X5WP7ZEMPGKGWWEXASF84"),
|
|
2244
2244
|
path: z.string(),
|
|
2245
2245
|
key: z.string(),
|
|
2246
2246
|
display_name: z.string().optional(),
|
|
@@ -2335,7 +2335,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2335
2335
|
z.ZodTypeDef,
|
|
2336
2336
|
unknown
|
|
2337
2337
|
> = z.object({
|
|
2338
|
-
_id: z.string().default("
|
|
2338
|
+
_id: z.string().default("tool_01KN1X5WP5GGPEH6E5BHP42P2D"),
|
|
2339
2339
|
path: z.string(),
|
|
2340
2340
|
key: z.string(),
|
|
2341
2341
|
display_name: z.string().optional(),
|
|
@@ -2438,7 +2438,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2438
2438
|
z.ZodTypeDef,
|
|
2439
2439
|
unknown
|
|
2440
2440
|
> = z.object({
|
|
2441
|
-
_id: z.string().default("
|
|
2441
|
+
_id: z.string().default("tool_01KN1X5WP4RRYD1F7M2QT2NG02"),
|
|
2442
2442
|
path: z.string(),
|
|
2443
2443
|
key: z.string(),
|
|
2444
2444
|
display_name: z.string().optional(),
|
|
@@ -768,7 +768,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
768
768
|
z.ZodTypeDef,
|
|
769
769
|
unknown
|
|
770
770
|
> = z.object({
|
|
771
|
-
_id: z.string().default("
|
|
771
|
+
_id: z.string().default("tool_01KN1X5WNHGZD7XES782MJS7WB"),
|
|
772
772
|
path: z.string(),
|
|
773
773
|
key: z.string(),
|
|
774
774
|
display_name: z.string().optional(),
|
|
@@ -867,7 +867,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
867
867
|
z.ZodTypeDef,
|
|
868
868
|
unknown
|
|
869
869
|
> = z.object({
|
|
870
|
-
id: z.string().default("
|
|
870
|
+
id: z.string().default("01KN1X5WNGQ35975EGAF7JR546"),
|
|
871
871
|
name: z.string(),
|
|
872
872
|
description: z.string().optional(),
|
|
873
873
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -918,7 +918,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
918
918
|
z.ZodTypeDef,
|
|
919
919
|
unknown
|
|
920
920
|
> = z.object({
|
|
921
|
-
_id: z.string().default("
|
|
921
|
+
_id: z.string().default("tool_01KN1X5WNFF9F8N3YQR9ACAGDJ"),
|
|
922
922
|
path: z.string(),
|
|
923
923
|
key: z.string(),
|
|
924
924
|
display_name: z.string().optional(),
|
|
@@ -1105,7 +1105,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1105
1105
|
z.ZodTypeDef,
|
|
1106
1106
|
unknown
|
|
1107
1107
|
> = z.object({
|
|
1108
|
-
_id: z.string().default("
|
|
1108
|
+
_id: z.string().default("tool_01KN1X5WNCC4Y684QME32TKFVQ"),
|
|
1109
1109
|
path: z.string(),
|
|
1110
1110
|
key: z.string(),
|
|
1111
1111
|
display_name: z.string().optional(),
|
|
@@ -1200,7 +1200,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1200
1200
|
z.ZodTypeDef,
|
|
1201
1201
|
unknown
|
|
1202
1202
|
> = z.object({
|
|
1203
|
-
_id: z.string().default("
|
|
1203
|
+
_id: z.string().default("tool_01KN1X5WNBJ6TAMC37H6QZBYKD"),
|
|
1204
1204
|
path: z.string(),
|
|
1205
1205
|
key: z.string(),
|
|
1206
1206
|
display_name: z.string().optional(),
|
|
@@ -1304,7 +1304,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1304
1304
|
z.ZodTypeDef,
|
|
1305
1305
|
unknown
|
|
1306
1306
|
> = z.object({
|
|
1307
|
-
_id: z.string().default("
|
|
1307
|
+
_id: z.string().default("tool_01KN1X5WN9BK5HQS4PR6FRSE7D"),
|
|
1308
1308
|
path: z.string(),
|
|
1309
1309
|
key: z.string(),
|
|
1310
1310
|
display_name: z.string().optional(),
|