@orq-ai/node 4.6.9 → 4.6.11
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/lib/config.js.map +1 -1
- 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.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- 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/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.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +11 -2
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +5 -0
- package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +5 -0
- package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +5 -0
- package/packages/orq-rc/src/models/errors/retrieveidentity.ts +56 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +30 -0
- package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +26 -0
- package/packages/orq-rc/src/models/operations/createcontact.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +148 -97
- package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/createimage.ts +6 -0
- package/packages/orq-rc/src/models/operations/createprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +16 -6
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +2 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +2 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +2 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +2 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +12 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +90 -64
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +2 -0
- package/packages/orq-rc/src/models/operations/getv2humanevals.ts +6 -6
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsid.ts +6 -6
- package/packages/orq-rc/src/models/operations/invokeagent.ts +24 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +14 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +2 -0
- package/packages/orq-rc/src/models/operations/parse.ts +7 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/packages/orq-rc/src/models/operations/postv2agentsa2a.ts +17 -14
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevals.ts +12 -12
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +16 -0
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrieveidentity.ts +58 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +12 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +25 -1
- package/packages/orq-rc/src/models/operations/streamagent.ts +24 -0
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +25 -1
- package/packages/orq-rc/src/models/operations/updateagent.ts +31 -0
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +92 -66
- package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +17 -7
- 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 +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/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/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 +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- 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-04-
|
|
2249
|
-
updated: z.string().default("2026-04-
|
|
2250
|
-
guardrail_config: z.
|
|
2251
|
-
z.
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2281
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2282
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
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-04-
|
|
2398
|
-
updated: z.string().default("2026-04-
|
|
2399
|
-
guardrail_config: z.
|
|
2400
|
-
z.
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2432
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2433
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
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-04-
|
|
3188
|
-
updated: z.string().default("2026-04-
|
|
3189
|
-
guardrail_config: z.
|
|
3190
|
-
z.
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3224
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
3225
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
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-04-
|
|
3367
|
-
updated: z.string().default("2026-04-
|
|
3368
|
-
guardrail_config: z.
|
|
3369
|
-
z.
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3405
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
3406
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
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-04-
|
|
3508
|
-
updated: z.string().default("2026-04-
|
|
3509
|
-
guardrail_config: z.
|
|
3510
|
-
z.
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3548
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
3549
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
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-04-
|
|
3645
|
-
updated: z.string().default("2026-04-
|
|
3646
|
-
guardrail_config: z.
|
|
3647
|
-
z.
|
|
3648
|
-
|
|
3649
|
-
|
|
3689
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
3690
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
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-04-
|
|
3956
|
-
updated: z.string().default("2026-04-
|
|
3957
|
-
guardrail_config: z.
|
|
3958
|
-
z.
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
4002
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
4003
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
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-04-
|
|
4100
|
-
updated: z.string().default("2026-04-
|
|
4101
|
-
guardrail_config: z.
|
|
4102
|
-
z.
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4148
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
4149
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
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-04-
|
|
142
|
+
"2026-04-02T10:46:54.630Z",
|
|
143
143
|
).transform(v => new Date(v)),
|
|
144
144
|
}).transform((v) => {
|
|
145
145
|
return remap$(v, {
|
|
@@ -328,6 +328,10 @@ export type CreateImageRequestBody = {
|
|
|
328
328
|
* The style of the generated images. This parameter is only supported for `openai/dall-e-3`. Must be one of `vivid` or `natural`.
|
|
329
329
|
*/
|
|
330
330
|
style?: Style | null | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* Optional metadata for the request. This metadata will be stored in the trace and can be used for filtering.
|
|
333
|
+
*/
|
|
334
|
+
metadata?: { [k: string]: string } | undefined;
|
|
331
335
|
/**
|
|
332
336
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
333
337
|
*/
|
|
@@ -873,6 +877,7 @@ export type CreateImageRequestBody$Outbound = {
|
|
|
873
877
|
response_format?: string | null | undefined;
|
|
874
878
|
size?: string | null | undefined;
|
|
875
879
|
style?: string | null | undefined;
|
|
880
|
+
metadata?: { [k: string]: string } | undefined;
|
|
876
881
|
name?: string | undefined;
|
|
877
882
|
fallbacks?: Array<CreateImageFallbacks$Outbound> | undefined;
|
|
878
883
|
retry?: CreateImageRetry$Outbound | undefined;
|
|
@@ -900,6 +905,7 @@ export const CreateImageRequestBody$outboundSchema: z.ZodType<
|
|
|
900
905
|
.optional(),
|
|
901
906
|
size: z.nullable(z.string()).optional(),
|
|
902
907
|
style: z.nullable(Style$outboundSchema).optional(),
|
|
908
|
+
metadata: z.record(z.string()).optional(),
|
|
903
909
|
name: z.string().optional(),
|
|
904
910
|
fallbacks: z.array(z.lazy(() => CreateImageFallbacks$outboundSchema))
|
|
905
911
|
.optional(),
|
|
@@ -193,6 +193,7 @@ export type RequestBodyMCPTool = {
|
|
|
193
193
|
status?: CreateToolRequestBodyToolsStatus | undefined;
|
|
194
194
|
type: "mcp";
|
|
195
195
|
mcp: RequestBodyMcp;
|
|
196
|
+
discoveryVariables?: { [k: string]: string } | undefined;
|
|
196
197
|
};
|
|
197
198
|
|
|
198
199
|
/**
|
|
@@ -720,6 +721,10 @@ export type ResponseBodyMcp = {
|
|
|
720
721
|
* The connection type used by the MCP server
|
|
721
722
|
*/
|
|
722
723
|
connectionType: ResponseBodyConnectionType;
|
|
724
|
+
/**
|
|
725
|
+
* Names of template variables detected in server_url and headers. Used by the FE to prompt for one-time values on sync/refresh.
|
|
726
|
+
*/
|
|
727
|
+
templateVariables?: Array<string> | null | undefined;
|
|
723
728
|
};
|
|
724
729
|
|
|
725
730
|
/**
|
|
@@ -1344,6 +1349,7 @@ export type RequestBodyMCPTool$Outbound = {
|
|
|
1344
1349
|
status: string;
|
|
1345
1350
|
type: "mcp";
|
|
1346
1351
|
mcp: RequestBodyMcp$Outbound;
|
|
1352
|
+
discovery_variables?: { [k: string]: string } | undefined;
|
|
1347
1353
|
};
|
|
1348
1354
|
|
|
1349
1355
|
/** @internal */
|
|
@@ -1359,9 +1365,11 @@ export const RequestBodyMCPTool$outboundSchema: z.ZodType<
|
|
|
1359
1365
|
status: CreateToolRequestBodyToolsStatus$outboundSchema.default("live"),
|
|
1360
1366
|
type: z.literal("mcp"),
|
|
1361
1367
|
mcp: z.lazy(() => RequestBodyMcp$outboundSchema),
|
|
1368
|
+
discoveryVariables: z.record(z.string()).optional(),
|
|
1362
1369
|
}).transform((v) => {
|
|
1363
1370
|
return remap$(v, {
|
|
1364
1371
|
displayName: "display_name",
|
|
1372
|
+
discoveryVariables: "discovery_variables",
|
|
1365
1373
|
});
|
|
1366
1374
|
});
|
|
1367
1375
|
|
|
@@ -1899,7 +1907,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1899
1907
|
z.ZodTypeDef,
|
|
1900
1908
|
unknown
|
|
1901
1909
|
> = z.object({
|
|
1902
|
-
_id: z.string().default("
|
|
1910
|
+
_id: z.string().default("tool_01KN6WVS3J22DRAGG24XDBKF5Z"),
|
|
1903
1911
|
path: z.string(),
|
|
1904
1912
|
key: z.string(),
|
|
1905
1913
|
display_name: z.string().optional(),
|
|
@@ -1998,7 +2006,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1998
2006
|
z.ZodTypeDef,
|
|
1999
2007
|
unknown
|
|
2000
2008
|
> = z.object({
|
|
2001
|
-
id: z.string().default("
|
|
2009
|
+
id: z.string().default("01KN6WVS3HJVH63KWWVEAQ5KWS"),
|
|
2002
2010
|
name: z.string(),
|
|
2003
2011
|
description: z.string().optional(),
|
|
2004
2012
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2029,10 +2037,12 @@ export const ResponseBodyMcp$inboundSchema: z.ZodType<
|
|
|
2029
2037
|
headers: z.record(z.lazy(() => ResponseBodyHeaders$inboundSchema)).optional(),
|
|
2030
2038
|
tools: z.array(z.lazy(() => ResponseBodyTools$inboundSchema)),
|
|
2031
2039
|
connection_type: ResponseBodyConnectionType$inboundSchema,
|
|
2040
|
+
template_variables: z.nullable(z.array(z.string())).optional(),
|
|
2032
2041
|
}).transform((v) => {
|
|
2033
2042
|
return remap$(v, {
|
|
2034
2043
|
"server_url": "serverUrl",
|
|
2035
2044
|
"connection_type": "connectionType",
|
|
2045
|
+
"template_variables": "templateVariables",
|
|
2036
2046
|
});
|
|
2037
2047
|
});
|
|
2038
2048
|
|
|
@@ -2052,7 +2062,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2052
2062
|
z.ZodTypeDef,
|
|
2053
2063
|
unknown
|
|
2054
2064
|
> = z.object({
|
|
2055
|
-
_id: z.string().default("
|
|
2065
|
+
_id: z.string().default("tool_01KN6WVS3G45WD3B5SC3W8AY20"),
|
|
2056
2066
|
path: z.string(),
|
|
2057
2067
|
key: z.string(),
|
|
2058
2068
|
display_name: z.string().optional(),
|
|
@@ -2240,7 +2250,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2240
2250
|
z.ZodTypeDef,
|
|
2241
2251
|
unknown
|
|
2242
2252
|
> = z.object({
|
|
2243
|
-
_id: z.string().default("
|
|
2253
|
+
_id: z.string().default("tool_01KN6WVS3EZWZG3QG97R24HJWF"),
|
|
2244
2254
|
path: z.string(),
|
|
2245
2255
|
key: z.string(),
|
|
2246
2256
|
display_name: z.string().optional(),
|
|
@@ -2335,7 +2345,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2335
2345
|
z.ZodTypeDef,
|
|
2336
2346
|
unknown
|
|
2337
2347
|
> = z.object({
|
|
2338
|
-
_id: z.string().default("
|
|
2348
|
+
_id: z.string().default("tool_01KN6WVS3DST2HBJF4G5Y2NFKT"),
|
|
2339
2349
|
path: z.string(),
|
|
2340
2350
|
key: z.string(),
|
|
2341
2351
|
display_name: z.string().optional(),
|
|
@@ -2438,7 +2448,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2438
2448
|
z.ZodTypeDef,
|
|
2439
2449
|
unknown
|
|
2440
2450
|
> = z.object({
|
|
2441
|
-
_id: z.string().default("
|
|
2451
|
+
_id: z.string().default("tool_01KN6WVS3BS9Z83X8W1M14DA36"),
|
|
2442
2452
|
path: z.string(),
|
|
2443
2453
|
key: z.string(),
|
|
2444
2454
|
display_name: z.string().optional(),
|