@orq-ai/node 4.6.8 → 4.6.9
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 +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/security.d.ts +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +19 -8
- package/lib/security.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 +2 -11
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/security.ts +14 -2
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/errors/retrieveidentity.ts +0 -56
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -30
- package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +0 -26
- 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 +16 -16
- package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/createimage.ts +0 -6
- package/packages/orq-rc/src/models/operations/createimageedit.ts +1 -1
- package/packages/orq-rc/src/models/operations/createimagevariation.ts +1 -1
- package/packages/orq-rc/src/models/operations/createresponse.ts +180 -40
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- 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 +0 -24
- package/packages/orq-rc/src/models/operations/listagents.ts +0 -14
- 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/parse.ts +0 -7
- 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 +14 -17
- 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 +0 -16
- 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 +1 -58
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -25
- package/packages/orq-rc/src/models/operations/streamagent.ts +0 -24
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -25
- package/packages/orq-rc/src/models/operations/updateagent.ts +0 -31
- 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 +16 -16
- package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +14 -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
|
@@ -416,8 +416,8 @@ exports.UpdateEvalResponseBodyEvalsResponse200ApplicationJson7Type$inboundSchema
|
|
|
416
416
|
exports.ResponseBodyTypescript$inboundSchema = z.object({
|
|
417
417
|
_id: z.string(),
|
|
418
418
|
description: z.string(),
|
|
419
|
-
created: z.string().default("2026-
|
|
420
|
-
updated: z.string().default("2026-
|
|
419
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
420
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
421
421
|
guardrail_config: z.union([
|
|
422
422
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
423
423
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
@@ -484,8 +484,8 @@ exports.ResponseBodyRagasMetric$inboundSchema = z.nativeEnum(exports.ResponseBod
|
|
|
484
484
|
exports.ResponseBodyRagas$inboundSchema = z.object({
|
|
485
485
|
_id: z.string(),
|
|
486
486
|
description: z.string(),
|
|
487
|
-
created: z.string().default("2026-
|
|
488
|
-
updated: z.string().default("2026-
|
|
487
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
488
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
489
489
|
guardrail_config: z.union([
|
|
490
490
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
491
491
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
@@ -825,8 +825,8 @@ function responseBodyFunctionParamsFromJSON(jsonString) {
|
|
|
825
825
|
exports.ResponseBodyFunction$inboundSchema = z.object({
|
|
826
826
|
_id: z.string(),
|
|
827
827
|
description: z.string(),
|
|
828
|
-
created: z.string().default("2026-
|
|
829
|
-
updated: z.string().default("2026-
|
|
828
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
829
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
830
830
|
guardrail_config: z.union([
|
|
831
831
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
832
832
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
@@ -924,8 +924,8 @@ exports.UpdateEvalResponseBodyEvalsResponseType$inboundSchema = z
|
|
|
924
924
|
exports.UpdateEvalResponseBodyPython$inboundSchema = z.object({
|
|
925
925
|
_id: z.string(),
|
|
926
926
|
description: z.string(),
|
|
927
|
-
created: z.string().default("2026-
|
|
928
|
-
updated: z.string().default("2026-
|
|
927
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
928
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
929
929
|
guardrail_config: z.union([
|
|
930
930
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
931
931
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -989,8 +989,8 @@ exports.UpdateEvalResponseBodyMethod$inboundSchema = z.nativeEnum(exports.Update
|
|
|
989
989
|
exports.UpdateEvalResponseBodyHTTP$inboundSchema = z.object({
|
|
990
990
|
_id: z.string(),
|
|
991
991
|
description: z.string(),
|
|
992
|
-
created: z.string().default("2026-
|
|
993
|
-
updated: z.string().default("2026-
|
|
992
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
993
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
994
994
|
guardrail_config: z.union([
|
|
995
995
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
996
996
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsNumber$inboundSchema),
|
|
@@ -1055,8 +1055,8 @@ exports.UpdateEvalResponseBodyType$inboundSchema = z.nativeEnum(exports.UpdateEv
|
|
|
1055
1055
|
exports.UpdateEvalResponseBodyJSON$inboundSchema = z.object({
|
|
1056
1056
|
_id: z.string(),
|
|
1057
1057
|
description: z.string(),
|
|
1058
|
-
created: z.string().default("2026-
|
|
1059
|
-
updated: z.string().default("2026-
|
|
1058
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
1059
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
1060
1060
|
guardrail_config: z.union([
|
|
1061
1061
|
z.lazy(() => exports.UpdateEvalGuardrailConfigBoolean$inboundSchema),
|
|
1062
1062
|
z.lazy(() => exports.UpdateEvalGuardrailConfigNumber$inboundSchema),
|
|
@@ -1196,8 +1196,8 @@ function updateEvalLLMJuryFromJSON(jsonString) {
|
|
|
1196
1196
|
exports.UpdateEvalLlm2$inboundSchema = z.object({
|
|
1197
1197
|
_id: z.string(),
|
|
1198
1198
|
description: z.string(),
|
|
1199
|
-
created: z.string().default("2026-
|
|
1200
|
-
updated: z.string().default("2026-
|
|
1199
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
1200
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
1201
1201
|
guardrail_config: z.union([
|
|
1202
1202
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema),
|
|
1203
1203
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMNumber$inboundSchema),
|
|
@@ -1264,8 +1264,8 @@ exports.UpdateEvalLLMType$inboundSchema = z.nativeEnum(exports.UpdateEvalLLMType
|
|
|
1264
1264
|
exports.UpdateEvalLlm1$inboundSchema = z.object({
|
|
1265
1265
|
_id: z.string(),
|
|
1266
1266
|
description: z.string(),
|
|
1267
|
-
created: z.string().default("2026-
|
|
1268
|
-
updated: z.string().default("2026-
|
|
1267
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
1268
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
1269
1269
|
guardrail_config: z.union([
|
|
1270
1270
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$inboundSchema),
|
|
1271
1271
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Number$inboundSchema),
|
|
@@ -83,7 +83,7 @@ exports.UpdateIdentityResponseBody$inboundSchema = z.object({
|
|
|
83
83
|
metadata: z.record(z.any()).optional(),
|
|
84
84
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
85
85
|
.optional(),
|
|
86
|
-
updated: z.string().datetime({ offset: true }).default("2026-
|
|
86
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-01T06:57:21.910Z").transform(v => new Date(v)),
|
|
87
87
|
}).transform((v) => {
|
|
88
88
|
return (0, primitives_js_1.remap)(v, {
|
|
89
89
|
"_id": "id",
|
|
@@ -371,7 +371,7 @@ function updateToolRequestBodyToolsSchemaToJSON(updateToolRequestBodyToolsSchema
|
|
|
371
371
|
}
|
|
372
372
|
/** @internal */
|
|
373
373
|
exports.RequestBodyTools$outboundSchema = z.object({
|
|
374
|
-
id: z.string().default("
|
|
374
|
+
id: z.string().default("01KN3XARR2RWE0Q42PTKMQVGY0"),
|
|
375
375
|
name: z.string(),
|
|
376
376
|
description: z.string().optional(),
|
|
377
377
|
schema: z.lazy(() => exports.UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -664,7 +664,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
664
664
|
}
|
|
665
665
|
/** @internal */
|
|
666
666
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
667
|
-
_id: z.string().default("
|
|
667
|
+
_id: z.string().default("tool_01KN3XARQWVNGQP868Q4V5CBDZ"),
|
|
668
668
|
path: z.string(),
|
|
669
669
|
key: z.string(),
|
|
670
670
|
display_name: z.string().optional(),
|
|
@@ -719,7 +719,7 @@ function updateToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
719
719
|
}
|
|
720
720
|
/** @internal */
|
|
721
721
|
exports.UpdateToolResponseBodyTools$inboundSchema = z.object({
|
|
722
|
-
id: z.string().default("
|
|
722
|
+
id: z.string().default("01KN3XARQV3G0RZJHMDRT449G7"),
|
|
723
723
|
name: z.string(),
|
|
724
724
|
description: z.string().optional(),
|
|
725
725
|
schema: z.lazy(() => exports.UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -747,7 +747,7 @@ function updateToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
747
747
|
}
|
|
748
748
|
/** @internal */
|
|
749
749
|
exports.UpdateToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
750
|
-
_id: z.string().default("
|
|
750
|
+
_id: z.string().default("tool_01KN3XARQTVG7RKXTY2YJH3HXE"),
|
|
751
751
|
path: z.string(),
|
|
752
752
|
key: z.string(),
|
|
753
753
|
display_name: z.string().optional(),
|
|
@@ -836,7 +836,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
836
836
|
}
|
|
837
837
|
/** @internal */
|
|
838
838
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
839
|
-
_id: z.string().default("
|
|
839
|
+
_id: z.string().default("tool_01KN3XARQRMJE4VEPB8SKW4TSG"),
|
|
840
840
|
path: z.string(),
|
|
841
841
|
key: z.string(),
|
|
842
842
|
display_name: z.string().optional(),
|
|
@@ -888,7 +888,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
888
888
|
}
|
|
889
889
|
/** @internal */
|
|
890
890
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
891
|
-
_id: z.string().default("
|
|
891
|
+
_id: z.string().default("tool_01KN3XARQPJWFZCZMB3RBT507D"),
|
|
892
892
|
path: z.string(),
|
|
893
893
|
key: z.string(),
|
|
894
894
|
display_name: z.string().optional(),
|
|
@@ -944,7 +944,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
944
944
|
}
|
|
945
945
|
/** @internal */
|
|
946
946
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
947
|
-
_id: z.string().default("
|
|
947
|
+
_id: z.string().default("tool_01KN3XARQNC26B6TTPN9AAWN6H"),
|
|
948
948
|
path: z.string(),
|
|
949
949
|
key: z.string(),
|
|
950
950
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { OrqCore } from "../core.js";
|
|
6
|
-
import {
|
|
6
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
8
|
import { compactMap } from "../lib/primitives.js";
|
|
9
9
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -39,7 +39,6 @@ export function identitiesRetrieve(
|
|
|
39
39
|
Result<
|
|
40
40
|
operations.RetrieveIdentityResponseBody,
|
|
41
41
|
| errors.RetrieveIdentityResponseBody
|
|
42
|
-
| errors.RetrieveIdentityIdentitiesResponseBody
|
|
43
42
|
| OrqError
|
|
44
43
|
| ResponseValidationError
|
|
45
44
|
| ConnectionError
|
|
@@ -66,7 +65,6 @@ async function $do(
|
|
|
66
65
|
Result<
|
|
67
66
|
operations.RetrieveIdentityResponseBody,
|
|
68
67
|
| errors.RetrieveIdentityResponseBody
|
|
69
|
-
| errors.RetrieveIdentityIdentitiesResponseBody
|
|
70
68
|
| OrqError
|
|
71
69
|
| ResponseValidationError
|
|
72
70
|
| ConnectionError
|
|
@@ -98,10 +96,6 @@ async function $do(
|
|
|
98
96
|
};
|
|
99
97
|
const path = pathToFunc("/v2/identities/{id}")(pathParams);
|
|
100
98
|
|
|
101
|
-
const query = encodeFormQuery({
|
|
102
|
-
"include_metrics": payload.include_metrics,
|
|
103
|
-
});
|
|
104
|
-
|
|
105
99
|
const headers = new Headers(compactMap({
|
|
106
100
|
Accept: "application/json",
|
|
107
101
|
}));
|
|
@@ -131,7 +125,6 @@ async function $do(
|
|
|
131
125
|
baseURL: options?.serverURL,
|
|
132
126
|
path: path,
|
|
133
127
|
headers: headers,
|
|
134
|
-
query: query,
|
|
135
128
|
body: body,
|
|
136
129
|
userAgent: client._options.userAgent,
|
|
137
130
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
|
|
@@ -143,7 +136,7 @@ async function $do(
|
|
|
143
136
|
|
|
144
137
|
const doResult = await client._do(req, {
|
|
145
138
|
context,
|
|
146
|
-
errorCodes: ["404", "4XX", "
|
|
139
|
+
errorCodes: ["404", "4XX", "5XX"],
|
|
147
140
|
retryConfig: context.retryConfig,
|
|
148
141
|
retryCodes: context.retryCodes,
|
|
149
142
|
});
|
|
@@ -159,7 +152,6 @@ async function $do(
|
|
|
159
152
|
const [result] = await M.match<
|
|
160
153
|
operations.RetrieveIdentityResponseBody,
|
|
161
154
|
| errors.RetrieveIdentityResponseBody
|
|
162
|
-
| errors.RetrieveIdentityIdentitiesResponseBody
|
|
163
155
|
| OrqError
|
|
164
156
|
| ResponseValidationError
|
|
165
157
|
| ConnectionError
|
|
@@ -171,7 +163,6 @@ async function $do(
|
|
|
171
163
|
>(
|
|
172
164
|
M.json(200, operations.RetrieveIdentityResponseBody$inboundSchema),
|
|
173
165
|
M.jsonErr(404, errors.RetrieveIdentityResponseBody$inboundSchema),
|
|
174
|
-
M.jsonErr(500, errors.RetrieveIdentityIdentitiesResponseBody$inboundSchema),
|
|
175
166
|
M.fail("4XX"),
|
|
176
167
|
M.fail("5XX"),
|
|
177
168
|
)(response, req, { extraFields: responseFields });
|
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "4.7.0-rc.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 4.7.0-rc.
|
|
71
|
+
sdkVersion: "4.7.0-rc.37",
|
|
72
|
+
genVersion: "2.879.1",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 4.7.0-rc.37 2.879.1 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
|
@@ -240,8 +240,9 @@ function applyBearer(
|
|
|
240
240
|
|
|
241
241
|
export function resolveGlobalSecurity(
|
|
242
242
|
security: Partial<components.Security> | null | undefined,
|
|
243
|
+
allowedFields?: number[],
|
|
243
244
|
): SecurityState | null {
|
|
244
|
-
|
|
245
|
+
let inputs: SecurityInput[][] = [
|
|
245
246
|
[
|
|
246
247
|
{
|
|
247
248
|
fieldName: "Authorization",
|
|
@@ -249,7 +250,18 @@ export function resolveGlobalSecurity(
|
|
|
249
250
|
value: security?.apiKey ?? env().ORQ_API_KEY,
|
|
250
251
|
},
|
|
251
252
|
],
|
|
252
|
-
|
|
253
|
+
];
|
|
254
|
+
|
|
255
|
+
if (allowedFields) {
|
|
256
|
+
inputs = allowedFields.map((i) => {
|
|
257
|
+
if (i < 0 || i >= inputs.length) {
|
|
258
|
+
throw new RangeError(`invalid allowedFields index ${i}`);
|
|
259
|
+
}
|
|
260
|
+
return inputs[i]!;
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
return resolveSecurity(...inputs);
|
|
253
265
|
}
|
|
254
266
|
|
|
255
267
|
export async function extractSecurity<
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01kn3xar7m3e5sq5meprkm7ec6"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -5,43 +5,6 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { OrqError } from "./orqerror.js";
|
|
7
7
|
|
|
8
|
-
/**
|
|
9
|
-
* Failed to fetch metrics
|
|
10
|
-
*/
|
|
11
|
-
export type RetrieveIdentityIdentitiesResponseBodyData = {
|
|
12
|
-
/**
|
|
13
|
-
* Error message
|
|
14
|
-
*/
|
|
15
|
-
error: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Failed to fetch metrics
|
|
20
|
-
*/
|
|
21
|
-
export class RetrieveIdentityIdentitiesResponseBody extends OrqError {
|
|
22
|
-
/**
|
|
23
|
-
* Error message
|
|
24
|
-
*/
|
|
25
|
-
error: string;
|
|
26
|
-
|
|
27
|
-
/** The original data that was passed to this error instance. */
|
|
28
|
-
data$: RetrieveIdentityIdentitiesResponseBodyData;
|
|
29
|
-
|
|
30
|
-
constructor(
|
|
31
|
-
err: RetrieveIdentityIdentitiesResponseBodyData,
|
|
32
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
33
|
-
) {
|
|
34
|
-
const message = "message" in err && typeof err.message === "string"
|
|
35
|
-
? err.message
|
|
36
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
37
|
-
super(message, httpMeta);
|
|
38
|
-
this.data$ = err;
|
|
39
|
-
this.error = err.error;
|
|
40
|
-
|
|
41
|
-
this.name = "RetrieveIdentityIdentitiesResponseBody";
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
8
|
/**
|
|
46
9
|
* Identity not found
|
|
47
10
|
*/
|
|
@@ -79,25 +42,6 @@ export class RetrieveIdentityResponseBody extends OrqError {
|
|
|
79
42
|
}
|
|
80
43
|
}
|
|
81
44
|
|
|
82
|
-
/** @internal */
|
|
83
|
-
export const RetrieveIdentityIdentitiesResponseBody$inboundSchema: z.ZodType<
|
|
84
|
-
RetrieveIdentityIdentitiesResponseBody,
|
|
85
|
-
z.ZodTypeDef,
|
|
86
|
-
unknown
|
|
87
|
-
> = z.object({
|
|
88
|
-
error: z.string(),
|
|
89
|
-
request$: z.instanceof(Request),
|
|
90
|
-
response$: z.instanceof(Response),
|
|
91
|
-
body$: z.string(),
|
|
92
|
-
})
|
|
93
|
-
.transform((v) => {
|
|
94
|
-
return new RetrieveIdentityIdentitiesResponseBody(v, {
|
|
95
|
-
request: v.request$,
|
|
96
|
-
response: v.response$,
|
|
97
|
-
body: v.body$,
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
|
|
101
45
|
/** @internal */
|
|
102
46
|
export const RetrieveIdentityResponseBody$inboundSchema: z.ZodType<
|
|
103
47
|
RetrieveIdentityResponseBody,
|
|
@@ -1398,13 +1398,6 @@ export const Source = {
|
|
|
1398
1398
|
} as const;
|
|
1399
1399
|
export type Source = ClosedEnum<typeof Source>;
|
|
1400
1400
|
|
|
1401
|
-
export const Engine = {
|
|
1402
|
-
Text: "text",
|
|
1403
|
-
Jinja: "jinja",
|
|
1404
|
-
Mustache: "mustache",
|
|
1405
|
-
} as const;
|
|
1406
|
-
export type Engine = ClosedEnum<typeof Engine>;
|
|
1407
|
-
|
|
1408
1401
|
export type CreateAgentRequestRequestBody = {
|
|
1409
1402
|
/**
|
|
1410
1403
|
* Unique identifier for the agent within the workspace
|
|
@@ -1464,7 +1457,6 @@ export type CreateAgentRequestRequestBody = {
|
|
|
1464
1457
|
teamOfAgents?: Array<TeamOfAgents> | undefined;
|
|
1465
1458
|
variables?: { [k: string]: any } | undefined;
|
|
1466
1459
|
source?: Source | undefined;
|
|
1467
|
-
engine?: Engine | undefined;
|
|
1468
1460
|
};
|
|
1469
1461
|
|
|
1470
1462
|
/**
|
|
@@ -1514,15 +1506,6 @@ export type CreateAgentRequestSource = ClosedEnum<
|
|
|
1514
1506
|
typeof CreateAgentRequestSource
|
|
1515
1507
|
>;
|
|
1516
1508
|
|
|
1517
|
-
export const CreateAgentRequestEngine = {
|
|
1518
|
-
Text: "text",
|
|
1519
|
-
Jinja: "jinja",
|
|
1520
|
-
Mustache: "mustache",
|
|
1521
|
-
} as const;
|
|
1522
|
-
export type CreateAgentRequestEngine = ClosedEnum<
|
|
1523
|
-
typeof CreateAgentRequestEngine
|
|
1524
|
-
>;
|
|
1525
|
-
|
|
1526
1509
|
/**
|
|
1527
1510
|
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
1528
1511
|
*/
|
|
@@ -2601,7 +2584,6 @@ export type CreateAgentRequestResponseBody = {
|
|
|
2601
2584
|
*/
|
|
2602
2585
|
knowledgeBases?: Array<CreateAgentRequestKnowledgeBases> | undefined;
|
|
2603
2586
|
source?: CreateAgentRequestSource | undefined;
|
|
2604
|
-
engine: CreateAgentRequestEngine;
|
|
2605
2587
|
/**
|
|
2606
2588
|
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
2607
2589
|
*/
|
|
@@ -4732,10 +4714,6 @@ export function teamOfAgentsToJSON(teamOfAgents: TeamOfAgents): string {
|
|
|
4732
4714
|
export const Source$outboundSchema: z.ZodNativeEnum<typeof Source> = z
|
|
4733
4715
|
.nativeEnum(Source);
|
|
4734
4716
|
|
|
4735
|
-
/** @internal */
|
|
4736
|
-
export const Engine$outboundSchema: z.ZodNativeEnum<typeof Engine> = z
|
|
4737
|
-
.nativeEnum(Engine);
|
|
4738
|
-
|
|
4739
4717
|
/** @internal */
|
|
4740
4718
|
export type CreateAgentRequestRequestBody$Outbound = {
|
|
4741
4719
|
key: string;
|
|
@@ -4755,7 +4733,6 @@ export type CreateAgentRequestRequestBody$Outbound = {
|
|
|
4755
4733
|
team_of_agents?: Array<TeamOfAgents$Outbound> | undefined;
|
|
4756
4734
|
variables?: { [k: string]: any } | undefined;
|
|
4757
4735
|
source?: string | undefined;
|
|
4758
|
-
engine: string;
|
|
4759
4736
|
};
|
|
4760
4737
|
|
|
4761
4738
|
/** @internal */
|
|
@@ -4788,7 +4765,6 @@ export const CreateAgentRequestRequestBody$outboundSchema: z.ZodType<
|
|
|
4788
4765
|
teamOfAgents: z.array(z.lazy(() => TeamOfAgents$outboundSchema)).optional(),
|
|
4789
4766
|
variables: z.record(z.any()).optional(),
|
|
4790
4767
|
source: Source$outboundSchema.optional(),
|
|
4791
|
-
engine: Engine$outboundSchema.default("text"),
|
|
4792
4768
|
}).transform((v) => {
|
|
4793
4769
|
return remap$(v, {
|
|
4794
4770
|
displayName: "display_name",
|
|
@@ -4886,11 +4862,6 @@ export const CreateAgentRequestSource$inboundSchema: z.ZodNativeEnum<
|
|
|
4886
4862
|
typeof CreateAgentRequestSource
|
|
4887
4863
|
> = z.nativeEnum(CreateAgentRequestSource);
|
|
4888
4864
|
|
|
4889
|
-
/** @internal */
|
|
4890
|
-
export const CreateAgentRequestEngine$inboundSchema: z.ZodNativeEnum<
|
|
4891
|
-
typeof CreateAgentRequestEngine
|
|
4892
|
-
> = z.nativeEnum(CreateAgentRequestEngine);
|
|
4893
|
-
|
|
4894
4865
|
/** @internal */
|
|
4895
4866
|
export const CreateAgentRequestType$inboundSchema: z.ZodNativeEnum<
|
|
4896
4867
|
typeof CreateAgentRequestType
|
|
@@ -6424,7 +6395,6 @@ export const CreateAgentRequestResponseBody$inboundSchema: z.ZodType<
|
|
|
6424
6395
|
z.lazy(() => CreateAgentRequestKnowledgeBases$inboundSchema),
|
|
6425
6396
|
).optional(),
|
|
6426
6397
|
source: CreateAgentRequestSource$inboundSchema.optional(),
|
|
6427
|
-
engine: CreateAgentRequestEngine$inboundSchema.default("text"),
|
|
6428
6398
|
type: CreateAgentRequestType$inboundSchema.default("internal"),
|
|
6429
6399
|
role: z.string(),
|
|
6430
6400
|
description: z.string(),
|
|
@@ -156,21 +156,6 @@ export type Memory = {
|
|
|
156
156
|
entityId: string;
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
/**
|
|
160
|
-
* Override template engine for this invocation. If not provided, uses the agent default.
|
|
161
|
-
*/
|
|
162
|
-
export const CreateAgentResponseRequestEngine = {
|
|
163
|
-
Text: "text",
|
|
164
|
-
Jinja: "jinja",
|
|
165
|
-
Mustache: "mustache",
|
|
166
|
-
} as const;
|
|
167
|
-
/**
|
|
168
|
-
* Override template engine for this invocation. If not provided, uses the agent default.
|
|
169
|
-
*/
|
|
170
|
-
export type CreateAgentResponseRequestEngine = ClosedEnum<
|
|
171
|
-
typeof CreateAgentResponseRequestEngine
|
|
172
|
-
>;
|
|
173
|
-
|
|
174
159
|
/**
|
|
175
160
|
* Configuration options for the agent invocation
|
|
176
161
|
*/
|
|
@@ -226,10 +211,6 @@ export type CreateAgentResponseRequestRequestBody = {
|
|
|
226
211
|
* Optional metadata for the agent invocation as key-value pairs that will be included in traces
|
|
227
212
|
*/
|
|
228
213
|
metadata?: { [k: string]: any } | undefined;
|
|
229
|
-
/**
|
|
230
|
-
* Override template engine for this invocation. If not provided, uses the agent default.
|
|
231
|
-
*/
|
|
232
|
-
engine?: CreateAgentResponseRequestEngine | undefined;
|
|
233
214
|
/**
|
|
234
215
|
* Configuration options for the agent invocation
|
|
235
216
|
*/
|
|
@@ -478,11 +459,6 @@ export function memoryToJSON(memory: Memory): string {
|
|
|
478
459
|
return JSON.stringify(Memory$outboundSchema.parse(memory));
|
|
479
460
|
}
|
|
480
461
|
|
|
481
|
-
/** @internal */
|
|
482
|
-
export const CreateAgentResponseRequestEngine$outboundSchema: z.ZodNativeEnum<
|
|
483
|
-
typeof CreateAgentResponseRequestEngine
|
|
484
|
-
> = z.nativeEnum(CreateAgentResponseRequestEngine);
|
|
485
|
-
|
|
486
462
|
/** @internal */
|
|
487
463
|
export type Configuration$Outbound = {
|
|
488
464
|
blocking: boolean;
|
|
@@ -533,7 +509,6 @@ export type CreateAgentResponseRequestRequestBody$Outbound = {
|
|
|
533
509
|
thread?: CreateAgentResponseRequestThread$Outbound | undefined;
|
|
534
510
|
memory?: Memory$Outbound | undefined;
|
|
535
511
|
metadata?: { [k: string]: any } | undefined;
|
|
536
|
-
engine?: string | undefined;
|
|
537
512
|
configuration?: Configuration$Outbound | undefined;
|
|
538
513
|
background: boolean;
|
|
539
514
|
stream: boolean;
|
|
@@ -555,7 +530,6 @@ export const CreateAgentResponseRequestRequestBody$outboundSchema: z.ZodType<
|
|
|
555
530
|
.optional(),
|
|
556
531
|
memory: z.lazy(() => Memory$outboundSchema).optional(),
|
|
557
532
|
metadata: z.record(z.any()).optional(),
|
|
558
|
-
engine: CreateAgentResponseRequestEngine$outboundSchema.optional(),
|
|
559
533
|
configuration: z.lazy(() => Configuration$outboundSchema).optional(),
|
|
560
534
|
background: z.boolean().default(false),
|
|
561
535
|
stream: z.boolean().default(false),
|
|
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
134
134
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
135
135
|
.optional(),
|
|
136
136
|
updated: z.string().datetime({ offset: true }).default(
|
|
137
|
-
"2026-
|
|
137
|
+
"2026-04-01T06:57:21.910Z",
|
|
138
138
|
).transform(v => new Date(v)),
|
|
139
139
|
}).transform((v) => {
|
|
140
140
|
return remap$(v, {
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-
|
|
141
|
+
"2026-04-01T06:57:21.910Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2355
2355
|
),
|
|
2356
2356
|
reviewed_by_id: z.string(),
|
|
2357
2357
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2358
|
-
"2026-
|
|
2358
|
+
"2026-04-01T06:57:40.300Z",
|
|
2359
2359
|
).transform(v => new Date(v)),
|
|
2360
2360
|
type: z.literal("string_array"),
|
|
2361
2361
|
values: z.array(z.string()),
|
|
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2400
2400
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2401
2401
|
reviewed_by_id: z.string(),
|
|
2402
2402
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2403
|
-
"2026-
|
|
2403
|
+
"2026-04-01T06:57:40.299Z",
|
|
2404
2404
|
).transform(v => new Date(v)),
|
|
2405
2405
|
type: z.literal("number"),
|
|
2406
2406
|
value: z.number(),
|
|
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2446
2446
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2447
2447
|
reviewed_by_id: z.string(),
|
|
2448
2448
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2449
|
-
"2026-
|
|
2449
|
+
"2026-04-01T06:57:40.299Z",
|
|
2450
2450
|
).transform(v => new Date(v)),
|
|
2451
2451
|
type: z.literal("string"),
|
|
2452
2452
|
value: z.string(),
|
|
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2529
2529
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2530
2530
|
.optional(),
|
|
2531
2531
|
updated: z.string().datetime({ offset: true }).default(
|
|
2532
|
-
"2026-
|
|
2532
|
+
"2026-04-01T06:57:21.910Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
403
403
|
z.ZodTypeDef,
|
|
404
404
|
unknown
|
|
405
405
|
> = z.object({
|
|
406
|
-
_id: z.string().default("
|
|
406
|
+
_id: z.string().default("01KN3XARW1XTDGZRK9F7JFAYJE"),
|
|
407
407
|
display_name: z.string(),
|
|
408
408
|
description: z.string().optional(),
|
|
409
409
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2245,8 +2245,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2245
2245
|
> = z.object({
|
|
2246
2246
|
_id: z.string(),
|
|
2247
2247
|
description: z.string(),
|
|
2248
|
-
created: z.string().default("2026-
|
|
2249
|
-
updated: z.string().default("2026-
|
|
2248
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
2249
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
2250
2250
|
guardrail_config: z.union([
|
|
2251
2251
|
z.lazy(() =>
|
|
2252
2252
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema
|
|
@@ -2394,8 +2394,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2394
2394
|
.object({
|
|
2395
2395
|
_id: z.string(),
|
|
2396
2396
|
description: z.string(),
|
|
2397
|
-
created: z.string().default("2026-
|
|
2398
|
-
updated: z.string().default("2026-
|
|
2397
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
2398
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
2399
2399
|
guardrail_config: z.union([
|
|
2400
2400
|
z.lazy(() =>
|
|
2401
2401
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema
|
|
@@ -3184,8 +3184,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3184
3184
|
> = z.object({
|
|
3185
3185
|
_id: z.string(),
|
|
3186
3186
|
description: z.string(),
|
|
3187
|
-
created: z.string().default("2026-
|
|
3188
|
-
updated: z.string().default("2026-
|
|
3187
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
3188
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
3189
3189
|
guardrail_config: z.union([
|
|
3190
3190
|
z.lazy(() =>
|
|
3191
3191
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -3363,8 +3363,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3363
3363
|
> = z.object({
|
|
3364
3364
|
_id: z.string(),
|
|
3365
3365
|
description: z.string(),
|
|
3366
|
-
created: z.string().default("2026-
|
|
3367
|
-
updated: z.string().default("2026-
|
|
3366
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
3367
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
3368
3368
|
guardrail_config: z.union([
|
|
3369
3369
|
z.lazy(() =>
|
|
3370
3370
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -3504,8 +3504,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3504
3504
|
> = z.object({
|
|
3505
3505
|
_id: z.string(),
|
|
3506
3506
|
description: z.string(),
|
|
3507
|
-
created: z.string().default("2026-
|
|
3508
|
-
updated: z.string().default("2026-
|
|
3507
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
3508
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
3509
3509
|
guardrail_config: z.union([
|
|
3510
3510
|
z.lazy(() =>
|
|
3511
3511
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
@@ -3641,8 +3641,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3641
3641
|
> = z.object({
|
|
3642
3642
|
_id: z.string(),
|
|
3643
3643
|
description: z.string(),
|
|
3644
|
-
created: z.string().default("2026-
|
|
3645
|
-
updated: z.string().default("2026-
|
|
3644
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
3645
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
3646
3646
|
guardrail_config: z.union([
|
|
3647
3647
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3648
3648
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -3952,8 +3952,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3952
3952
|
> = z.object({
|
|
3953
3953
|
_id: z.string(),
|
|
3954
3954
|
description: z.string(),
|
|
3955
|
-
created: z.string().default("2026-
|
|
3956
|
-
updated: z.string().default("2026-
|
|
3955
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
3956
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
3957
3957
|
guardrail_config: z.union([
|
|
3958
3958
|
z.lazy(() =>
|
|
3959
3959
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema
|
|
@@ -4096,8 +4096,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4096
4096
|
> = z.object({
|
|
4097
4097
|
_id: z.string(),
|
|
4098
4098
|
description: z.string(),
|
|
4099
|
-
created: z.string().default("2026-
|
|
4100
|
-
updated: z.string().default("2026-
|
|
4099
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
4100
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
4101
4101
|
guardrail_config: z.union([
|
|
4102
4102
|
z.lazy(() =>
|
|
4103
4103
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$inboundSchema
|