@orq-ai/node 4.11.0-rc.53 → 4.11.0-rc.54
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/createskillrequest.d.ts +6 -6
- package/models/components/createskillrequest.d.ts.map +1 -1
- package/models/components/createskillrequest.js +6 -7
- package/models/components/createskillrequest.js.map +1 -1
- package/models/components/evaluatorresponsefunction.d.ts +270 -0
- package/models/components/evaluatorresponsefunction.d.ts.map +1 -0
- package/models/components/evaluatorresponsefunction.js +491 -0
- package/models/components/evaluatorresponsefunction.js.map +1 -0
- package/models/components/evaluatorresponsehttp.d.ts +76 -0
- package/models/components/evaluatorresponsehttp.d.ts.map +1 -0
- package/models/components/evaluatorresponsehttp.js +146 -0
- package/models/components/evaluatorresponsehttp.js.map +1 -0
- package/models/components/evaluatorresponsejsonschema.d.ts +62 -0
- package/models/components/evaluatorresponsejsonschema.d.ts.map +1 -0
- package/models/components/evaluatorresponsejsonschema.js +135 -0
- package/models/components/evaluatorresponsejsonschema.js.map +1 -0
- package/models/components/evaluatorresponsellm.d.ts +140 -0
- package/models/components/evaluatorresponsellm.d.ts.map +1 -0
- package/models/components/evaluatorresponsellm.js +250 -0
- package/models/components/evaluatorresponsellm.js.map +1 -0
- package/models/components/evaluatorresponsepython.d.ts +62 -0
- package/models/components/evaluatorresponsepython.d.ts.map +1 -0
- package/models/components/evaluatorresponsepython.js +136 -0
- package/models/components/evaluatorresponsepython.js.map +1 -0
- package/models/components/evaluatorresponseragas.d.ts +80 -0
- package/models/components/evaluatorresponseragas.d.ts.map +1 -0
- package/models/components/evaluatorresponseragas.js +155 -0
- package/models/components/evaluatorresponseragas.js.map +1 -0
- package/models/components/evaluatorresponsetypescript.d.ts +62 -0
- package/models/components/evaluatorresponsetypescript.d.ts.map +1 -0
- package/models/components/evaluatorresponsetypescript.js +136 -0
- package/models/components/evaluatorresponsetypescript.js.map +1 -0
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +36 -36
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +33 -34
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/modelsconfig.d.ts +5 -5
- package/models/components/modelsconfig.d.ts.map +1 -1
- package/models/components/modelsconfig.js +6 -6
- package/models/components/modelsconfig.js.map +1 -1
- package/models/components/piiredactionpluginauto.d.ts +127 -0
- package/models/components/piiredactionpluginauto.d.ts.map +1 -0
- package/models/components/piiredactionpluginauto.js +157 -0
- package/models/components/piiredactionpluginauto.js.map +1 -0
- package/models/components/piiredactionpluginen.d.ts +31 -17
- package/models/components/piiredactionpluginen.d.ts.map +1 -1
- package/models/components/piiredactionpluginen.js +29 -20
- package/models/components/piiredactionpluginen.js.map +1 -1
- package/models/components/piiredactionpluginnl.d.ts +16 -2
- package/models/components/piiredactionpluginnl.d.ts.map +1 -1
- package/models/components/piiredactionpluginnl.js +13 -3
- package/models/components/piiredactionpluginnl.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/textcontentpartschema.d.ts +10 -10
- package/models/components/textcontentpartschema.d.ts.map +1 -1
- package/models/components/textcontentpartschema.js +11 -11
- package/models/components/textcontentpartschema.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +12 -12
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +8 -0
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +4 -4
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +2 -0
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createcompletion.d.ts +4 -4
- package/models/operations/createcompletion.d.ts.map +1 -1
- package/models/operations/createcompletion.js +2 -0
- package/models/operations/createcompletion.js.map +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 +22 -852
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +30 -1341
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createimage.d.ts +4 -4
- package/models/operations/createimage.d.ts.map +1 -1
- package/models/operations/createimage.js +2 -0
- package/models/operations/createimage.js.map +1 -1
- package/models/operations/createprompt.d.ts +14 -14
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +14 -10
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/creatererank.d.ts +4 -4
- package/models/operations/creatererank.d.ts.map +1 -1
- package/models/operations/creatererank.js +2 -0
- package/models/operations/creatererank.js.map +1 -1
- package/models/operations/createtool.d.ts +8 -8
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +16 -16
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +8 -8
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +10 -10
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/getallprompts.d.ts +2 -2
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +2 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.d.ts +20 -20
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +28 -26
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.d.ts +3 -833
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +16 -1314
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +2 -2
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +2 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +2 -2
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +2 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/invokeeval.d.ts +7 -7
- package/models/operations/invokeeval.d.ts.map +1 -1
- package/models/operations/invokeeval.js +11 -11
- package/models/operations/invokeeval.js.map +1 -1
- package/models/operations/listagents.d.ts +4 -4
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +4 -0
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listpromptversions.d.ts +2 -2
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +2 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +4 -4
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +4 -0
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +8 -8
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +5 -1
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +8 -8
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +5 -1
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +12 -12
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +8 -0
- package/models/operations/updateagent.js.map +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 +2 -832
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +9 -1304
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateprompt.d.ts +6 -6
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +4 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +3 -3
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/lib/config.ts +2 -2
- package/src/models/components/createskillrequest.ts +27 -20
- package/src/models/components/evaluatorresponsefunction.ts +1107 -0
- package/src/models/components/evaluatorresponsehttp.ts +247 -0
- package/src/models/components/evaluatorresponsejsonschema.ts +214 -0
- package/src/models/components/evaluatorresponsellm.ts +442 -0
- package/src/models/components/evaluatorresponsepython.ts +234 -0
- package/src/models/components/evaluatorresponseragas.ts +257 -0
- package/src/models/components/evaluatorresponsetypescript.ts +247 -0
- package/src/models/components/index.ts +8 -0
- package/src/models/components/invokedeploymentrequest.ts +119 -95
- package/src/models/components/modelsconfig.ts +11 -10
- package/src/models/components/piiredactionpluginauto.ts +186 -0
- package/src/models/components/piiredactionpluginen.ts +59 -29
- package/src/models/components/piiredactionpluginnl.ts +26 -4
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/textcontentpartschema.ts +23 -19
- package/src/models/operations/createagentrequest.ts +42 -10
- package/src/models/operations/createchatcompletion.ts +12 -3
- package/src/models/operations/createcompletion.ts +12 -3
- 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 +673 -3909
- package/src/models/operations/createimage.ts +12 -3
- package/src/models/operations/createprompt.ts +39 -27
- package/src/models/operations/creatererank.ts +12 -3
- package/src/models/operations/createtool.ts +22 -24
- package/src/models/operations/deploymentgetconfig.ts +16 -18
- package/src/models/operations/getallprompts.ts +9 -2
- package/src/models/operations/getalltools.ts +47 -53
- package/src/models/operations/getevals.ts +29 -3214
- package/src/models/operations/getoneprompt.ts +9 -2
- package/src/models/operations/getpromptversion.ts +9 -2
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/invokeeval.ts +18 -18
- package/src/models/operations/listagents.ts +18 -4
- 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/listpromptversions.ts +9 -2
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +18 -4
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +25 -7
- package/src/models/operations/streamrunagent.ts +25 -7
- package/src/models/operations/updateagent.ts +42 -10
- 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 +306 -3524
- package/src/models/operations/updateprompt.ts +21 -5
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
|
@@ -826,7 +826,8 @@ export type GetOnePromptGuardrails = {
|
|
|
826
826
|
|
|
827
827
|
export type GetOnePromptPlugins =
|
|
828
828
|
| components.PIIRedactionPluginEn
|
|
829
|
-
| components.PIIRedactionPluginNl
|
|
829
|
+
| components.PIIRedactionPluginNl
|
|
830
|
+
| components.PIIRedactionPluginAuto;
|
|
830
831
|
|
|
831
832
|
export type GetOnePromptFallbacks = {
|
|
832
833
|
/**
|
|
@@ -1412,7 +1413,11 @@ export type GetOnePromptPromptField = {
|
|
|
1412
1413
|
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
1413
1414
|
*/
|
|
1414
1415
|
plugins?:
|
|
1415
|
-
| Array<
|
|
1416
|
+
| Array<
|
|
1417
|
+
| components.PIIRedactionPluginEn
|
|
1418
|
+
| components.PIIRedactionPluginNl
|
|
1419
|
+
| components.PIIRedactionPluginAuto
|
|
1420
|
+
>
|
|
1416
1421
|
| undefined;
|
|
1417
1422
|
/**
|
|
1418
1423
|
* Array of fallback models to use if primary model fails
|
|
@@ -2477,6 +2482,7 @@ export const GetOnePromptPlugins$inboundSchema: z.ZodType<
|
|
|
2477
2482
|
> = z.union([
|
|
2478
2483
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2479
2484
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2485
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2480
2486
|
]);
|
|
2481
2487
|
|
|
2482
2488
|
export function getOnePromptPluginsFromJSON(
|
|
@@ -3208,6 +3214,7 @@ export const GetOnePromptPromptField$inboundSchema: z.ZodType<
|
|
|
3208
3214
|
z.union([
|
|
3209
3215
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
3210
3216
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
3217
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
3211
3218
|
]),
|
|
3212
3219
|
).optional(),
|
|
3213
3220
|
fallbacks: z.array(z.lazy(() => GetOnePromptFallbacks$inboundSchema))
|
|
@@ -838,7 +838,8 @@ export type GetPromptVersionGuardrails = {
|
|
|
838
838
|
|
|
839
839
|
export type GetPromptVersionPlugins =
|
|
840
840
|
| components.PIIRedactionPluginEn
|
|
841
|
-
| components.PIIRedactionPluginNl
|
|
841
|
+
| components.PIIRedactionPluginNl
|
|
842
|
+
| components.PIIRedactionPluginAuto;
|
|
842
843
|
|
|
843
844
|
export type GetPromptVersionFallbacks = {
|
|
844
845
|
/**
|
|
@@ -1425,7 +1426,11 @@ export type GetPromptVersionPromptField = {
|
|
|
1425
1426
|
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
1426
1427
|
*/
|
|
1427
1428
|
plugins?:
|
|
1428
|
-
| Array<
|
|
1429
|
+
| Array<
|
|
1430
|
+
| components.PIIRedactionPluginEn
|
|
1431
|
+
| components.PIIRedactionPluginNl
|
|
1432
|
+
| components.PIIRedactionPluginAuto
|
|
1433
|
+
>
|
|
1429
1434
|
| undefined;
|
|
1430
1435
|
/**
|
|
1431
1436
|
* Array of fallback models to use if primary model fails
|
|
@@ -2506,6 +2511,7 @@ export const GetPromptVersionPlugins$inboundSchema: z.ZodType<
|
|
|
2506
2511
|
> = z.union([
|
|
2507
2512
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2508
2513
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2514
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2509
2515
|
]);
|
|
2510
2516
|
|
|
2511
2517
|
export function getPromptVersionPluginsFromJSON(
|
|
@@ -3264,6 +3270,7 @@ export const GetPromptVersionPromptField$inboundSchema: z.ZodType<
|
|
|
3264
3270
|
z.union([
|
|
3265
3271
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
3266
3272
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
3273
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
3267
3274
|
]),
|
|
3268
3275
|
).optional(),
|
|
3269
3276
|
fallbacks: z.array(z.lazy(() => GetPromptVersionFallbacks$inboundSchema))
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-06-
|
|
143
|
+
"2026-06-29T09:12:35.937Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-06-
|
|
188
|
+
"2026-06-29T09:12:35.937Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-06-
|
|
144
|
+
"2026-06-29T09:12:35.937Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-06-
|
|
189
|
+
"2026-06-29T09:12:35.937Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -171,7 +171,7 @@ export type InvokeEvalResponseBodyEvalsResponseValue = {
|
|
|
171
171
|
value: number | boolean;
|
|
172
172
|
};
|
|
173
173
|
|
|
174
|
-
export type
|
|
174
|
+
export type ResponseBodyHTTP = {
|
|
175
175
|
type: "http_eval";
|
|
176
176
|
value?: InvokeEvalResponseBodyEvalsResponseValue | null | undefined;
|
|
177
177
|
};
|
|
@@ -223,7 +223,7 @@ export type InvokeEvalResponseBodyEvalsValue = {
|
|
|
223
223
|
jury?: ResponseBodyJury | undefined;
|
|
224
224
|
};
|
|
225
225
|
|
|
226
|
-
export type
|
|
226
|
+
export type ResponseBodyLLM = {
|
|
227
227
|
type: "llm_evaluator";
|
|
228
228
|
value: InvokeEvalResponseBodyEvalsValue | null;
|
|
229
229
|
};
|
|
@@ -327,8 +327,8 @@ export type InvokeEvalResponseBody =
|
|
|
327
327
|
| StringArray
|
|
328
328
|
| RougeN
|
|
329
329
|
| BERTScore
|
|
330
|
-
|
|
|
331
|
-
|
|
|
330
|
+
| ResponseBodyLLM
|
|
331
|
+
| ResponseBodyHTTP
|
|
332
332
|
| Structured;
|
|
333
333
|
|
|
334
334
|
/** @internal */
|
|
@@ -697,8 +697,8 @@ export function invokeEvalResponseBodyEvalsResponseValueFromJSON(
|
|
|
697
697
|
}
|
|
698
698
|
|
|
699
699
|
/** @internal */
|
|
700
|
-
export const
|
|
701
|
-
|
|
700
|
+
export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
701
|
+
ResponseBodyHTTP,
|
|
702
702
|
z.ZodTypeDef,
|
|
703
703
|
unknown
|
|
704
704
|
> = z.object({
|
|
@@ -708,13 +708,13 @@ export const InvokeEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
708
708
|
).optional(),
|
|
709
709
|
});
|
|
710
710
|
|
|
711
|
-
export function
|
|
711
|
+
export function responseBodyHTTPFromJSON(
|
|
712
712
|
jsonString: string,
|
|
713
|
-
): SafeParseResult<
|
|
713
|
+
): SafeParseResult<ResponseBodyHTTP, SDKValidationError> {
|
|
714
714
|
return safeParse(
|
|
715
715
|
jsonString,
|
|
716
|
-
(x) =>
|
|
717
|
-
`Failed to parse '
|
|
716
|
+
(x) => ResponseBodyHTTP$inboundSchema.parse(JSON.parse(x)),
|
|
717
|
+
`Failed to parse 'ResponseBodyHTTP' from JSON`,
|
|
718
718
|
);
|
|
719
719
|
}
|
|
720
720
|
|
|
@@ -887,8 +887,8 @@ export function invokeEvalResponseBodyEvalsValueFromJSON(
|
|
|
887
887
|
}
|
|
888
888
|
|
|
889
889
|
/** @internal */
|
|
890
|
-
export const
|
|
891
|
-
|
|
890
|
+
export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
891
|
+
ResponseBodyLLM,
|
|
892
892
|
z.ZodTypeDef,
|
|
893
893
|
unknown
|
|
894
894
|
> = z.object({
|
|
@@ -898,13 +898,13 @@ export const InvokeEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
898
898
|
),
|
|
899
899
|
});
|
|
900
900
|
|
|
901
|
-
export function
|
|
901
|
+
export function responseBodyLLMFromJSON(
|
|
902
902
|
jsonString: string,
|
|
903
|
-
): SafeParseResult<
|
|
903
|
+
): SafeParseResult<ResponseBodyLLM, SDKValidationError> {
|
|
904
904
|
return safeParse(
|
|
905
905
|
jsonString,
|
|
906
|
-
(x) =>
|
|
907
|
-
`Failed to parse '
|
|
906
|
+
(x) => ResponseBodyLLM$inboundSchema.parse(JSON.parse(x)),
|
|
907
|
+
`Failed to parse 'ResponseBodyLLM' from JSON`,
|
|
908
908
|
);
|
|
909
909
|
}
|
|
910
910
|
|
|
@@ -1247,8 +1247,8 @@ export const InvokeEvalResponseBody$inboundSchema: z.ZodType<
|
|
|
1247
1247
|
z.lazy(() => StringArray$inboundSchema),
|
|
1248
1248
|
z.lazy(() => RougeN$inboundSchema),
|
|
1249
1249
|
z.lazy(() => BERTScore$inboundSchema),
|
|
1250
|
-
z.lazy(() =>
|
|
1251
|
-
z.lazy(() =>
|
|
1250
|
+
z.lazy(() => ResponseBodyLLM$inboundSchema),
|
|
1251
|
+
z.lazy(() => ResponseBodyHTTP$inboundSchema),
|
|
1252
1252
|
z.lazy(() => Structured$inboundSchema),
|
|
1253
1253
|
]);
|
|
1254
1254
|
|
|
@@ -436,7 +436,8 @@ export type ListAgentsAgentsGuardrails = {
|
|
|
436
436
|
|
|
437
437
|
export type ListAgentsPlugins =
|
|
438
438
|
| components.PIIRedactionPluginEn
|
|
439
|
-
| components.PIIRedactionPluginNl
|
|
439
|
+
| components.PIIRedactionPluginNl
|
|
440
|
+
| components.PIIRedactionPluginAuto;
|
|
440
441
|
|
|
441
442
|
export type ListAgentsFallbacks = {
|
|
442
443
|
/**
|
|
@@ -657,7 +658,11 @@ export type ListAgentsParameters = {
|
|
|
657
658
|
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
658
659
|
*/
|
|
659
660
|
plugins?:
|
|
660
|
-
| Array<
|
|
661
|
+
| Array<
|
|
662
|
+
| components.PIIRedactionPluginEn
|
|
663
|
+
| components.PIIRedactionPluginNl
|
|
664
|
+
| components.PIIRedactionPluginAuto
|
|
665
|
+
>
|
|
661
666
|
| undefined;
|
|
662
667
|
/**
|
|
663
668
|
* Array of fallback models to use if primary model fails
|
|
@@ -893,7 +898,8 @@ export type ListAgentsFallbackModelConfigurationGuardrails = {
|
|
|
893
898
|
|
|
894
899
|
export type ListAgentsFallbackModelConfigurationPlugins =
|
|
895
900
|
| components.PIIRedactionPluginEn
|
|
896
|
-
| components.PIIRedactionPluginNl
|
|
901
|
+
| components.PIIRedactionPluginNl
|
|
902
|
+
| components.PIIRedactionPluginAuto;
|
|
897
903
|
|
|
898
904
|
export type ListAgentsFallbackModelConfigurationFallbacks = {
|
|
899
905
|
/**
|
|
@@ -1129,7 +1135,11 @@ export type ListAgentsFallbackModelConfigurationParameters = {
|
|
|
1129
1135
|
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
1130
1136
|
*/
|
|
1131
1137
|
plugins?:
|
|
1132
|
-
| Array<
|
|
1138
|
+
| Array<
|
|
1139
|
+
| components.PIIRedactionPluginEn
|
|
1140
|
+
| components.PIIRedactionPluginNl
|
|
1141
|
+
| components.PIIRedactionPluginAuto
|
|
1142
|
+
>
|
|
1133
1143
|
| undefined;
|
|
1134
1144
|
/**
|
|
1135
1145
|
* Array of fallback models to use if primary model fails
|
|
@@ -1872,6 +1882,7 @@ export const ListAgentsPlugins$inboundSchema: z.ZodType<
|
|
|
1872
1882
|
> = z.union([
|
|
1873
1883
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
1874
1884
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
1885
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
1875
1886
|
]);
|
|
1876
1887
|
|
|
1877
1888
|
export function listAgentsPluginsFromJSON(
|
|
@@ -2084,6 +2095,7 @@ export const ListAgentsParameters$inboundSchema: z.ZodType<
|
|
|
2084
2095
|
z.union([
|
|
2085
2096
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2086
2097
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2098
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2087
2099
|
]),
|
|
2088
2100
|
).optional(),
|
|
2089
2101
|
fallbacks: z.array(z.lazy(() => ListAgentsFallbacks$inboundSchema))
|
|
@@ -2488,6 +2500,7 @@ export const ListAgentsFallbackModelConfigurationPlugins$inboundSchema:
|
|
|
2488
2500
|
> = z.union([
|
|
2489
2501
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2490
2502
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2503
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2491
2504
|
]);
|
|
2492
2505
|
|
|
2493
2506
|
export function listAgentsFallbackModelConfigurationPluginsFromJSON(
|
|
@@ -2752,6 +2765,7 @@ export const ListAgentsFallbackModelConfigurationParameters$inboundSchema:
|
|
|
2752
2765
|
z.union([
|
|
2753
2766
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2754
2767
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2768
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2755
2769
|
]),
|
|
2756
2770
|
).optional(),
|
|
2757
2771
|
fallbacks: z.array(
|
|
@@ -1522,7 +1522,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1522
1522
|
explanation: z.string().optional(),
|
|
1523
1523
|
reviewed_by_id: z.string(),
|
|
1524
1524
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1525
|
-
"2026-06-
|
|
1525
|
+
"2026-06-29T09:12:57.318Z",
|
|
1526
1526
|
).transform(v => new Date(v)),
|
|
1527
1527
|
type: z.literal("string_array"),
|
|
1528
1528
|
values: z.array(z.string()),
|
|
@@ -1626,7 +1626,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1626
1626
|
explanation: z.string().optional(),
|
|
1627
1627
|
reviewed_by_id: z.string(),
|
|
1628
1628
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1629
|
-
"2026-06-
|
|
1629
|
+
"2026-06-29T09:12:57.317Z",
|
|
1630
1630
|
).transform(v => new Date(v)),
|
|
1631
1631
|
type: z.literal("number"),
|
|
1632
1632
|
value: z.number(),
|
|
@@ -1726,7 +1726,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1726
1726
|
explanation: z.string().optional(),
|
|
1727
1727
|
reviewed_by_id: z.string(),
|
|
1728
1728
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1729
|
-
"2026-06-
|
|
1729
|
+
"2026-06-29T09:12:57.316Z",
|
|
1730
1730
|
).transform(v => new Date(v)),
|
|
1731
1731
|
type: z.literal("string"),
|
|
1732
1732
|
value: z.string(),
|
|
@@ -1807,7 +1807,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
1807
1807
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1808
1808
|
.optional(),
|
|
1809
1809
|
updated: z.string().datetime({ offset: true }).default(
|
|
1810
|
-
"2026-06-
|
|
1810
|
+
"2026-06-29T09:12:35.937Z",
|
|
1811
1811
|
).transform(v => new Date(v)),
|
|
1812
1812
|
}).transform((v) => {
|
|
1813
1813
|
return remap$(v, {
|
|
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
169
169
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
170
170
|
.optional(),
|
|
171
171
|
updated: z.string().datetime({ offset: true }).default(
|
|
172
|
-
"2026-06-
|
|
172
|
+
"2026-06-29T09:12:35.937Z",
|
|
173
173
|
).transform(v => new Date(v)),
|
|
174
174
|
}).transform((v) => {
|
|
175
175
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
182
182
|
z.ZodTypeDef,
|
|
183
183
|
unknown
|
|
184
184
|
> = z.object({
|
|
185
|
-
_id: z.string().default("
|
|
185
|
+
_id: z.string().default("01KW9AEEMX8A1G72MDNY62HG8E"),
|
|
186
186
|
display_name: z.string(),
|
|
187
187
|
description: z.nullable(z.string()).optional(),
|
|
188
188
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -854,7 +854,8 @@ export type ListPromptVersionsGuardrails = {
|
|
|
854
854
|
|
|
855
855
|
export type ListPromptVersionsPlugins =
|
|
856
856
|
| components.PIIRedactionPluginEn
|
|
857
|
-
| components.PIIRedactionPluginNl
|
|
857
|
+
| components.PIIRedactionPluginNl
|
|
858
|
+
| components.PIIRedactionPluginAuto;
|
|
858
859
|
|
|
859
860
|
export type ListPromptVersionsFallbacks = {
|
|
860
861
|
/**
|
|
@@ -1440,7 +1441,11 @@ export type ListPromptVersionsPromptField = {
|
|
|
1440
1441
|
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
1441
1442
|
*/
|
|
1442
1443
|
plugins?:
|
|
1443
|
-
| Array<
|
|
1444
|
+
| Array<
|
|
1445
|
+
| components.PIIRedactionPluginEn
|
|
1446
|
+
| components.PIIRedactionPluginNl
|
|
1447
|
+
| components.PIIRedactionPluginAuto
|
|
1448
|
+
>
|
|
1444
1449
|
| undefined;
|
|
1445
1450
|
/**
|
|
1446
1451
|
* Array of fallback models to use if primary model fails
|
|
@@ -2539,6 +2544,7 @@ export const ListPromptVersionsPlugins$inboundSchema: z.ZodType<
|
|
|
2539
2544
|
> = z.union([
|
|
2540
2545
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2541
2546
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2547
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2542
2548
|
]);
|
|
2543
2549
|
|
|
2544
2550
|
export function listPromptVersionsPluginsFromJSON(
|
|
@@ -3314,6 +3320,7 @@ export const ListPromptVersionsPromptField$inboundSchema: z.ZodType<
|
|
|
3314
3320
|
z.union([
|
|
3315
3321
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
3316
3322
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
3323
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
3317
3324
|
]),
|
|
3318
3325
|
).optional(),
|
|
3319
3326
|
fallbacks: z.array(z.lazy(() => ListPromptVersionsFallbacks$inboundSchema))
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-06-
|
|
321
|
+
"2026-06-29T09:12:35.937Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-06-
|
|
367
|
+
"2026-06-29T09:12:35.937Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -193,7 +193,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
193
193
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
194
194
|
.default("orq"),
|
|
195
195
|
explanation: z.string().optional(),
|
|
196
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
196
|
+
reviewedAt: z.date().default(() => new Date("2026-06-29T09:12:57.481Z"))
|
|
197
197
|
.transform(v => v.toISOString()),
|
|
198
198
|
type: z.literal("string_array"),
|
|
199
199
|
values: z.array(z.string()),
|
|
@@ -247,7 +247,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
|
|
|
247
247
|
"orq",
|
|
248
248
|
),
|
|
249
249
|
explanation: z.string().optional(),
|
|
250
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
250
|
+
reviewedAt: z.date().default(() => new Date("2026-06-29T09:12:57.481Z"))
|
|
251
251
|
.transform(v => v.toISOString()),
|
|
252
252
|
type: z.literal("number"),
|
|
253
253
|
value: z.number(),
|
|
@@ -305,7 +305,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
|
|
|
305
305
|
humanReviewId: z.string().optional(),
|
|
306
306
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
307
307
|
explanation: z.string().optional(),
|
|
308
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
308
|
+
reviewedAt: z.date().default(() => new Date("2026-06-29T09:12:57.480Z"))
|
|
309
309
|
.transform(v => v.toISOString()),
|
|
310
310
|
type: z.literal("string"),
|
|
311
311
|
value: z.string(),
|
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-06-
|
|
274
|
+
"2026-06-29T09:12:35.937Z",
|
|
275
275
|
).transform(v => new Date(v)),
|
|
276
276
|
filter_type: z.literal("name"),
|
|
277
277
|
filter_value: z.string(),
|
|
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
316
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
317
|
.optional(),
|
|
318
318
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-06-
|
|
319
|
+
"2026-06-29T09:12:35.937Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -424,7 +424,8 @@ export type RetrieveAgentRequestAgentsGuardrails = {
|
|
|
424
424
|
|
|
425
425
|
export type RetrieveAgentRequestPlugins =
|
|
426
426
|
| components.PIIRedactionPluginEn
|
|
427
|
-
| components.PIIRedactionPluginNl
|
|
427
|
+
| components.PIIRedactionPluginNl
|
|
428
|
+
| components.PIIRedactionPluginAuto;
|
|
428
429
|
|
|
429
430
|
export type RetrieveAgentRequestFallbacks = {
|
|
430
431
|
/**
|
|
@@ -653,7 +654,11 @@ export type RetrieveAgentRequestParameters = {
|
|
|
653
654
|
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
654
655
|
*/
|
|
655
656
|
plugins?:
|
|
656
|
-
| Array<
|
|
657
|
+
| Array<
|
|
658
|
+
| components.PIIRedactionPluginEn
|
|
659
|
+
| components.PIIRedactionPluginNl
|
|
660
|
+
| components.PIIRedactionPluginAuto
|
|
661
|
+
>
|
|
657
662
|
| undefined;
|
|
658
663
|
/**
|
|
659
664
|
* Array of fallback models to use if primary model fails
|
|
@@ -892,7 +897,8 @@ export type RetrieveAgentRequestFallbackModelConfigurationGuardrails = {
|
|
|
892
897
|
|
|
893
898
|
export type RetrieveAgentRequestFallbackModelConfigurationPlugins =
|
|
894
899
|
| components.PIIRedactionPluginEn
|
|
895
|
-
| components.PIIRedactionPluginNl
|
|
900
|
+
| components.PIIRedactionPluginNl
|
|
901
|
+
| components.PIIRedactionPluginAuto;
|
|
896
902
|
|
|
897
903
|
export type RetrieveAgentRequestFallbackModelConfigurationFallbacks = {
|
|
898
904
|
/**
|
|
@@ -1127,7 +1133,11 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
|
|
|
1127
1133
|
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
1128
1134
|
*/
|
|
1129
1135
|
plugins?:
|
|
1130
|
-
| Array<
|
|
1136
|
+
| Array<
|
|
1137
|
+
| components.PIIRedactionPluginEn
|
|
1138
|
+
| components.PIIRedactionPluginNl
|
|
1139
|
+
| components.PIIRedactionPluginAuto
|
|
1140
|
+
>
|
|
1131
1141
|
| undefined;
|
|
1132
1142
|
/**
|
|
1133
1143
|
* Array of fallback models to use if primary model fails
|
|
@@ -1881,6 +1891,7 @@ export const RetrieveAgentRequestPlugins$inboundSchema: z.ZodType<
|
|
|
1881
1891
|
> = z.union([
|
|
1882
1892
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
1883
1893
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
1894
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
1884
1895
|
]);
|
|
1885
1896
|
|
|
1886
1897
|
export function retrieveAgentRequestPluginsFromJSON(
|
|
@@ -2102,6 +2113,7 @@ export const RetrieveAgentRequestParameters$inboundSchema: z.ZodType<
|
|
|
2102
2113
|
z.union([
|
|
2103
2114
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2104
2115
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2116
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2105
2117
|
]),
|
|
2106
2118
|
).optional(),
|
|
2107
2119
|
fallbacks: z.array(z.lazy(() => RetrieveAgentRequestFallbacks$inboundSchema))
|
|
@@ -2534,6 +2546,7 @@ export const RetrieveAgentRequestFallbackModelConfigurationPlugins$inboundSchema
|
|
|
2534
2546
|
> = z.union([
|
|
2535
2547
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2536
2548
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2549
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2537
2550
|
]);
|
|
2538
2551
|
|
|
2539
2552
|
export function retrieveAgentRequestFallbackModelConfigurationPluginsFromJSON(
|
|
@@ -2815,6 +2828,7 @@ export const RetrieveAgentRequestFallbackModelConfigurationParameters$inboundSch
|
|
|
2815
2828
|
z.union([
|
|
2816
2829
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2817
2830
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2831
|
+
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2818
2832
|
]),
|
|
2819
2833
|
).optional(),
|
|
2820
2834
|
fallbacks: z.array(
|
|
@@ -1456,7 +1456,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1456
1456
|
explanation: z.string().optional(),
|
|
1457
1457
|
reviewed_by_id: z.string(),
|
|
1458
1458
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1459
|
-
"2026-06-
|
|
1459
|
+
"2026-06-29T09:12:57.328Z",
|
|
1460
1460
|
).transform(v => new Date(v)),
|
|
1461
1461
|
type: z.literal("string_array"),
|
|
1462
1462
|
values: z.array(z.string()),
|
|
@@ -1554,7 +1554,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1554
1554
|
explanation: z.string().optional(),
|
|
1555
1555
|
reviewed_by_id: z.string(),
|
|
1556
1556
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1557
|
-
"2026-06-
|
|
1557
|
+
"2026-06-29T09:12:57.327Z",
|
|
1558
1558
|
).transform(v => new Date(v)),
|
|
1559
1559
|
type: z.literal("number"),
|
|
1560
1560
|
value: z.number(),
|
|
@@ -1642,7 +1642,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1642
1642
|
explanation: z.string().optional(),
|
|
1643
1643
|
reviewed_by_id: z.string(),
|
|
1644
1644
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1645
|
-
"2026-06-
|
|
1645
|
+
"2026-06-29T09:12:57.326Z",
|
|
1646
1646
|
).transform(v => new Date(v)),
|
|
1647
1647
|
type: z.literal("string"),
|
|
1648
1648
|
value: z.string(),
|
|
@@ -1721,7 +1721,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1721
1721
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1722
1722
|
.optional(),
|
|
1723
1723
|
updated: z.string().datetime({ offset: true }).default(
|
|
1724
|
-
"2026-06-
|
|
1724
|
+
"2026-06-29T09:12:35.937Z",
|
|
1725
1725
|
).transform(v => new Date(v)),
|
|
1726
1726
|
}).transform((v) => {
|
|
1727
1727
|
return remap$(v, {
|
|
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
126
126
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
127
127
|
.optional(),
|
|
128
128
|
updated: z.string().datetime({ offset: true }).default(
|
|
129
|
-
"2026-06-
|
|
129
|
+
"2026-06-29T09:12:35.937Z",
|
|
130
130
|
).transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -118,7 +118,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
118
118
|
z.ZodTypeDef,
|
|
119
119
|
unknown
|
|
120
120
|
> = z.object({
|
|
121
|
-
_id: z.string().default("
|
|
121
|
+
_id: z.string().default("01KW9AEEMZF6DW3VJKAQ49GCPN"),
|
|
122
122
|
display_name: z.string(),
|
|
123
123
|
description: z.nullable(z.string()).optional(),
|
|
124
124
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -753,7 +753,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
753
753
|
z.ZodTypeDef,
|
|
754
754
|
unknown
|
|
755
755
|
> = z.object({
|
|
756
|
-
_id: z.string().default("
|
|
756
|
+
_id: z.string().default("tool_01KW9AEEHSKWCT10EBBQ4ANEEK"),
|
|
757
757
|
path: z.string(),
|
|
758
758
|
key: z.string(),
|
|
759
759
|
display_name: z.string().optional(),
|
|
@@ -859,7 +859,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
859
859
|
z.ZodTypeDef,
|
|
860
860
|
unknown
|
|
861
861
|
> = z.object({
|
|
862
|
-
id: z.string().default("
|
|
862
|
+
id: z.string().default("01KW9AEEHRBN8PHW4VM3DVD0BM"),
|
|
863
863
|
name: z.string(),
|
|
864
864
|
description: z.string().optional(),
|
|
865
865
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KW9AEEHP3CWZ0QEFWMWQW0PD"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1108,7 +1108,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1108
1108
|
z.ZodTypeDef,
|
|
1109
1109
|
unknown
|
|
1110
1110
|
> = z.object({
|
|
1111
|
-
_id: z.string().default("
|
|
1111
|
+
_id: z.string().default("tool_01KW9AEEHKFZMB83BCXFG0FPNA"),
|
|
1112
1112
|
path: z.string(),
|
|
1113
1113
|
key: z.string(),
|
|
1114
1114
|
display_name: z.string().optional(),
|
|
@@ -1204,7 +1204,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1204
1204
|
z.ZodTypeDef,
|
|
1205
1205
|
unknown
|
|
1206
1206
|
> = z.object({
|
|
1207
|
-
_id: z.string().default("
|
|
1207
|
+
_id: z.string().default("tool_01KW9AEEHJHN57JZK8ZV08Y3T2"),
|
|
1208
1208
|
path: z.string(),
|
|
1209
1209
|
key: z.string(),
|
|
1210
1210
|
display_name: z.string().optional(),
|
|
@@ -1310,7 +1310,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1310
1310
|
z.ZodTypeDef,
|
|
1311
1311
|
unknown
|
|
1312
1312
|
> = z.object({
|
|
1313
|
-
_id: z.string().default("
|
|
1313
|
+
_id: z.string().default("tool_01KW9AEEHG40F4RPGEHY5KSKF8"),
|
|
1314
1314
|
path: z.string(),
|
|
1315
1315
|
key: z.string(),
|
|
1316
1316
|
display_name: z.string().optional(),
|