@orq-ai/node 4.7.3 → 4.7.6
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/README.md +1 -1
- package/funcs/filesCreate.js +3 -2
- package/funcs/filesCreate.js.map +1 -1
- package/funcs/filesGetContent.d.ts +1 -1
- package/funcs/filesGetContent.js +3 -3
- package/funcs/filesGetContent.js.map +1 -1
- package/funcs/routerAudioTranscriptionsCreate.js +3 -2
- package/funcs/routerAudioTranscriptionsCreate.js.map +1 -1
- package/funcs/routerAudioTranslationsCreate.js +3 -2
- package/funcs/routerAudioTranslationsCreate.js.map +1 -1
- 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/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +7 -0
- package/lib/encodings.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/filecontent.d.ts +3 -3
- package/models/operations/filecontent.d.ts.map +1 -1
- package/models/operations/filecontent.js +2 -2
- package/models/operations/filecontent.js.map +1 -1
- 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/agentsCreate.ts +2 -2
- package/packages/orq-rc/src/funcs/filesCreate.ts +4 -3
- package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +161 -0
- package/packages/orq-rc/src/funcs/guardrailRulesDelete.ts +170 -0
- package/packages/orq-rc/src/funcs/guardrailRulesGet.ts +168 -0
- package/packages/orq-rc/src/funcs/guardrailRulesList.ts +170 -0
- package/packages/orq-rc/src/funcs/guardrailRulesUpdate.ts +170 -0
- package/packages/orq-rc/src/funcs/policiesCreate.ts +160 -0
- package/packages/orq-rc/src/funcs/policiesDelete.ts +166 -0
- package/packages/orq-rc/src/funcs/policiesGet.ts +165 -0
- package/packages/orq-rc/src/funcs/policiesList.ts +168 -0
- package/packages/orq-rc/src/funcs/policiesUpdate.ts +166 -0
- package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +4 -3
- package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +4 -3
- package/packages/orq-rc/src/funcs/routingRulesCreate.ts +161 -0
- package/packages/orq-rc/src/funcs/routingRulesDelete.ts +166 -0
- package/packages/orq-rc/src/funcs/routingRulesGet.ts +165 -0
- package/packages/orq-rc/src/funcs/routingRulesList.ts +168 -0
- package/packages/orq-rc/src/funcs/routingRulesUpdate.ts +166 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/encodings.ts +9 -0
- package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +9 -6
- package/packages/orq-rc/src/models/components/budgetlimit.ts +83 -0
- package/packages/orq-rc/src/models/components/evaluatorref.ts +89 -0
- package/packages/orq-rc/src/models/components/expression.ts +51 -0
- package/packages/orq-rc/src/models/components/guardrailref.ts +75 -0
- package/packages/orq-rc/src/models/components/guardrailruledocument.ts +66 -0
- package/packages/orq-rc/src/models/components/index.ts +13 -0
- package/packages/orq-rc/src/models/components/limits.ts +70 -0
- package/packages/orq-rc/src/models/components/modelref.ts +64 -0
- package/packages/orq-rc/src/models/components/modelsconfig.ts +73 -0
- package/packages/orq-rc/src/models/components/policydocument.ts +76 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/requestlimit.ts +69 -0
- package/packages/orq-rc/src/models/components/retryconfig.ts +60 -0
- package/packages/orq-rc/src/models/components/routingruledocument.ts +67 -0
- package/packages/orq-rc/src/models/components/tokenlimit.ts +69 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -3
- 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 +958 -132
- package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -21
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -21
- package/packages/orq-rc/src/models/operations/getevals.ts +447 -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/guardrailrulecreate.ts +124 -0
- package/packages/orq-rc/src/models/operations/guardrailruledelete.ts +39 -0
- package/packages/orq-rc/src/models/operations/guardrailruleget.ts +102 -0
- package/packages/orq-rc/src/models/operations/guardrailrulelist.ts +94 -0
- package/packages/orq-rc/src/models/operations/guardrailruleupdate.ts +153 -0
- package/packages/orq-rc/src/models/operations/index.ts +15 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +0 -3
- 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/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/packages/orq-rc/src/models/operations/policycreate.ts +138 -0
- package/packages/orq-rc/src/models/operations/policydelete.ts +39 -0
- package/packages/orq-rc/src/models/operations/policyget.ts +110 -0
- package/packages/orq-rc/src/models/operations/policylist.ts +94 -0
- package/packages/orq-rc/src/models/operations/policyupdate.ts +167 -0
- package/packages/orq-rc/src/models/operations/postv2agentsa2a.ts +0 -3
- 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 -3
- 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 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -21
- package/packages/orq-rc/src/models/operations/routingrulecreate.ts +124 -0
- package/packages/orq-rc/src/models/operations/routingruledelete.ts +39 -0
- package/packages/orq-rc/src/models/operations/routingruleget.ts +102 -0
- package/packages/orq-rc/src/models/operations/routingrulelist.ts +94 -0
- package/packages/orq-rc/src/models/operations/routingruleupdate.ts +154 -0
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateagent.ts +0 -3
- 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 +646 -16
- package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -22
- package/packages/orq-rc/src/sdk/guardrailrules.ts +99 -0
- package/packages/orq-rc/src/sdk/policies.ts +99 -0
- package/packages/orq-rc/src/sdk/routingrules.ts +99 -0
- package/packages/orq-rc/src/sdk/sdk.ts +18 -0
- package/sdk/files.d.ts +7 -7
- package/sdk/files.d.ts.map +1 -1
- package/sdk/files.js +9 -9
- package/sdk/files.js.map +1 -1
- package/src/funcs/filesCreate.ts +4 -3
- package/src/funcs/filesGetContent.ts +3 -3
- package/src/funcs/routerAudioTranscriptionsCreate.ts +4 -3
- package/src/funcs/routerAudioTranslationsCreate.ts +4 -3
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +9 -0
- 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/filecontent.ts +5 -5
- 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
- package/src/sdk/files.ts +17 -17
|
@@ -42,10 +42,10 @@ const z = __importStar(require("zod/v3"));
|
|
|
42
42
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
43
|
/** @internal */
|
|
44
44
|
exports.FileContentRequest$outboundSchema = z.object({
|
|
45
|
-
|
|
45
|
+
fileIdOrPath: z.string(),
|
|
46
46
|
}).transform((v) => {
|
|
47
47
|
return (0, primitives_js_1.remap)(v, {
|
|
48
|
-
|
|
48
|
+
fileIdOrPath: "file_id_or_path",
|
|
49
49
|
});
|
|
50
50
|
});
|
|
51
51
|
function fileContentRequestToJSON(fileContentRequest) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filecontent.js","sourceRoot":"","sources":["../../src/models/operations/filecontent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BH,4DAMC;AAlCD,0CAA4B;AAC5B,2DAA0D;AAc1D,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,
|
|
1
|
+
{"version":3,"file":"filecontent.js","sourceRoot":"","sources":["../../src/models/operations/filecontent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BH,4DAMC;AAlCD,0CAA4B;AAC5B,2DAA0D;AAc1D,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,iBAAiB;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -196,7 +196,7 @@ function dataCodeToolFromJSON(jsonString) {
|
|
|
196
196
|
}
|
|
197
197
|
/** @internal */
|
|
198
198
|
exports.DataCodeExecutionTool$inboundSchema = z.object({
|
|
199
|
-
_id: z.string().default("
|
|
199
|
+
_id: z.string().default("tool_01KP5JTBBVZ8RH4EVS47KG5QXB"),
|
|
200
200
|
path: z.string(),
|
|
201
201
|
key: z.string(),
|
|
202
202
|
display_name: z.string().optional(),
|
|
@@ -249,7 +249,7 @@ function getAllToolsDataSchemaFromJSON(jsonString) {
|
|
|
249
249
|
}
|
|
250
250
|
/** @internal */
|
|
251
251
|
exports.DataTools$inboundSchema = z.object({
|
|
252
|
-
id: z.string().default("
|
|
252
|
+
id: z.string().default("01KP5JTBBTPJT3WXH5F0TCXSAS"),
|
|
253
253
|
name: z.string(),
|
|
254
254
|
description: z.string().optional(),
|
|
255
255
|
schema: z.lazy(() => exports.GetAllToolsDataSchema$inboundSchema),
|
|
@@ -278,7 +278,7 @@ function dataMcpFromJSON(jsonString) {
|
|
|
278
278
|
}
|
|
279
279
|
/** @internal */
|
|
280
280
|
exports.DataMCPTool$inboundSchema = z.object({
|
|
281
|
-
_id: z.string().default("
|
|
281
|
+
_id: z.string().default("tool_01KP5JTBBSAYTYDYQRHAPBJF4A"),
|
|
282
282
|
path: z.string(),
|
|
283
283
|
key: z.string(),
|
|
284
284
|
display_name: z.string().optional(),
|
|
@@ -366,7 +366,7 @@ function getAllToolsDataHttpFromJSON(jsonString) {
|
|
|
366
366
|
}
|
|
367
367
|
/** @internal */
|
|
368
368
|
exports.DataHTTPTool$inboundSchema = z.object({
|
|
369
|
-
_id: z.string().default("
|
|
369
|
+
_id: z.string().default("tool_01KP5JTBBG7EE3E19ZP4HCRBWG"),
|
|
370
370
|
path: z.string(),
|
|
371
371
|
key: z.string(),
|
|
372
372
|
display_name: z.string().optional(),
|
|
@@ -418,7 +418,7 @@ function dataJsonSchemaFromJSON(jsonString) {
|
|
|
418
418
|
}
|
|
419
419
|
/** @internal */
|
|
420
420
|
exports.DataJSONSchemaTool$inboundSchema = z.object({
|
|
421
|
-
_id: z.string().default("
|
|
421
|
+
_id: z.string().default("tool_01KP5JTBBE78M9GF34Y6R1E7C6"),
|
|
422
422
|
path: z.string(),
|
|
423
423
|
key: z.string(),
|
|
424
424
|
display_name: z.string().optional(),
|
|
@@ -474,7 +474,7 @@ function getAllToolsDataFunctionFromJSON(jsonString) {
|
|
|
474
474
|
}
|
|
475
475
|
/** @internal */
|
|
476
476
|
exports.DataFunctionTool$inboundSchema = z.object({
|
|
477
|
-
_id: z.string().default("
|
|
477
|
+
_id: z.string().default("tool_01KP5JTBBD3B2CKHBWS6EGDJNZ"),
|
|
478
478
|
path: z.string(),
|
|
479
479
|
key: z.string(),
|
|
480
480
|
display_name: z.string().optional(),
|
|
@@ -293,8 +293,8 @@ exports.GetEvalsDataEvalsResponse200Type$inboundSchema = z.nativeEnum(exports.Ge
|
|
|
293
293
|
exports.DataTypescript$inboundSchema = z.object({
|
|
294
294
|
_id: z.string(),
|
|
295
295
|
description: z.string(),
|
|
296
|
-
created: z.string().default("2026-04-
|
|
297
|
-
updated: z.string().default("2026-04-
|
|
296
|
+
created: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
297
|
+
updated: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
298
298
|
guardrail_config: z.nullable(z.union([
|
|
299
299
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
300
300
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
@@ -359,8 +359,8 @@ exports.DataRagasMetric$inboundSchema = z.nativeEnum(exports.DataRagasMetric);
|
|
|
359
359
|
exports.DataRagas$inboundSchema = z.object({
|
|
360
360
|
_id: z.string(),
|
|
361
361
|
description: z.string(),
|
|
362
|
-
created: z.string().default("2026-04-
|
|
363
|
-
updated: z.string().default("2026-04-
|
|
362
|
+
created: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
363
|
+
updated: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
364
364
|
guardrail_config: z.nullable(z.union([
|
|
365
365
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
366
366
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -698,8 +698,8 @@ function dataFunctionParamsFromJSON(jsonString) {
|
|
|
698
698
|
exports.DataFunction$inboundSchema = z.object({
|
|
699
699
|
_id: z.string(),
|
|
700
700
|
description: z.string(),
|
|
701
|
-
created: z.string().default("2026-04-
|
|
702
|
-
updated: z.string().default("2026-04-
|
|
701
|
+
created: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
702
|
+
updated: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
703
703
|
guardrail_config: z.nullable(z.union([
|
|
704
704
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
705
705
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
@@ -795,8 +795,8 @@ exports.GetEvalsDataType$inboundSchema = z.nativeEnum(exports.GetEvalsDataType);
|
|
|
795
795
|
exports.DataPython$inboundSchema = z.object({
|
|
796
796
|
_id: z.string(),
|
|
797
797
|
description: z.string(),
|
|
798
|
-
created: z.string().default("2026-04-
|
|
799
|
-
updated: z.string().default("2026-04-
|
|
798
|
+
created: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
799
|
+
updated: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
800
800
|
guardrail_config: z.nullable(z.union([
|
|
801
801
|
z.lazy(() => exports.GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
802
802
|
z.lazy(() => exports.GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
@@ -864,8 +864,8 @@ exports.DataMethod$inboundSchema = z
|
|
|
864
864
|
exports.DataHTTP$inboundSchema = z.object({
|
|
865
865
|
_id: z.string(),
|
|
866
866
|
description: z.string(),
|
|
867
|
-
created: z.string().default("2026-04-
|
|
868
|
-
updated: z.string().default("2026-04-
|
|
867
|
+
created: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
868
|
+
updated: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
869
869
|
guardrail_config: z.nullable(z.union([
|
|
870
870
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
871
871
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
@@ -934,8 +934,8 @@ exports.GetEvalsDataEvalsResponse200ApplicationJSONType$inboundSchema = z
|
|
|
934
934
|
exports.DataJSON$inboundSchema = z.object({
|
|
935
935
|
_id: z.string(),
|
|
936
936
|
description: z.string(),
|
|
937
|
-
created: z.string().default("2026-04-
|
|
938
|
-
updated: z.string().default("2026-04-
|
|
937
|
+
created: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
938
|
+
updated: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
939
939
|
guardrail_config: z.nullable(z.union([
|
|
940
940
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
941
941
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
@@ -1075,8 +1075,8 @@ function getEvalsLLMJuryFromJSON(jsonString) {
|
|
|
1075
1075
|
exports.GetEvalsLlm2$inboundSchema = z.object({
|
|
1076
1076
|
_id: z.string(),
|
|
1077
1077
|
description: z.string(),
|
|
1078
|
-
created: z.string().default("2026-04-
|
|
1079
|
-
updated: z.string().default("2026-04-
|
|
1078
|
+
created: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
1079
|
+
updated: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
1080
1080
|
guardrail_config: z.nullable(z.union([
|
|
1081
1081
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyData1Boolean$inboundSchema),
|
|
1082
1082
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyData1Number$inboundSchema),
|
|
@@ -1143,8 +1143,8 @@ exports.GetEvalsLLMType$inboundSchema = z.nativeEnum(exports.GetEvalsLLMType);
|
|
|
1143
1143
|
exports.GetEvalsLlm1$inboundSchema = z.object({
|
|
1144
1144
|
_id: z.string(),
|
|
1145
1145
|
description: z.string(),
|
|
1146
|
-
created: z.string().default("2026-04-
|
|
1147
|
-
updated: z.string().default("2026-04-
|
|
1146
|
+
created: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
1147
|
+
updated: z.string().default("2026-04-14T08:47:52.166Z"),
|
|
1148
1148
|
guardrail_config: z.nullable(z.union([
|
|
1149
1149
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema),
|
|
1150
1150
|
z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema),
|
|
@@ -76,7 +76,7 @@ function getV2HumanEvalsRequestToJSON(getV2HumanEvalsRequest) {
|
|
|
76
76
|
exports.ResponseBody6$inboundSchema = z.object({
|
|
77
77
|
type: z.literal("text"),
|
|
78
78
|
id: z.string(),
|
|
79
|
-
key: z.string().default("
|
|
79
|
+
key: z.string().default("orq_01kp5jtbrv"),
|
|
80
80
|
display_name: z.string(),
|
|
81
81
|
description: z.string(),
|
|
82
82
|
domain_id: z.string().optional(),
|
|
@@ -115,7 +115,7 @@ exports.ResponseBody5$inboundSchema = z.object({
|
|
|
115
115
|
type: z.literal("single_select"),
|
|
116
116
|
options: z.array(z.lazy(() => exports.ResponseBodyOptions$inboundSchema)),
|
|
117
117
|
id: z.string(),
|
|
118
|
-
key: z.string().default("
|
|
118
|
+
key: z.string().default("orq_01kp5jtbrt"),
|
|
119
119
|
display_name: z.string(),
|
|
120
120
|
description: z.string(),
|
|
121
121
|
domain_id: z.string().optional(),
|
|
@@ -154,7 +154,7 @@ exports.ResponseBody4$inboundSchema = z.object({
|
|
|
154
154
|
type: z.literal("multi_select"),
|
|
155
155
|
options: z.array(z.lazy(() => exports.GetV2HumanEvalsResponseBodyOptions$inboundSchema)),
|
|
156
156
|
id: z.string(),
|
|
157
|
-
key: z.string().default("
|
|
157
|
+
key: z.string().default("orq_01kp5jtbrs"),
|
|
158
158
|
display_name: z.string(),
|
|
159
159
|
description: z.string(),
|
|
160
160
|
domain_id: z.string().optional(),
|
|
@@ -188,7 +188,7 @@ exports.ResponseBody3$inboundSchema = z.object({
|
|
|
188
188
|
type: z.literal("range"),
|
|
189
189
|
config: z.lazy(() => exports.ResponseBodyConfig$inboundSchema),
|
|
190
190
|
id: z.string(),
|
|
191
|
-
key: z.string().default("
|
|
191
|
+
key: z.string().default("orq_01kp5jtbrq"),
|
|
192
192
|
display_name: z.string(),
|
|
193
193
|
description: z.string(),
|
|
194
194
|
domain_id: z.string().optional(),
|
|
@@ -213,7 +213,7 @@ function responseBody3FromJSON(jsonString) {
|
|
|
213
213
|
exports.ResponseBody2$inboundSchema = z.object({
|
|
214
214
|
type: z.literal("correction"),
|
|
215
215
|
id: z.string(),
|
|
216
|
-
key: z.string().default("
|
|
216
|
+
key: z.string().default("orq_01kp5jtbrp"),
|
|
217
217
|
display_name: z.string(),
|
|
218
218
|
description: z.string(),
|
|
219
219
|
domain_id: z.string().optional(),
|
|
@@ -238,7 +238,7 @@ function responseBody2FromJSON(jsonString) {
|
|
|
238
238
|
exports.ResponseBody1$inboundSchema = z.object({
|
|
239
239
|
type: z.literal("boolean"),
|
|
240
240
|
id: z.string(),
|
|
241
|
-
key: z.string().default("
|
|
241
|
+
key: z.string().default("orq_01kp5jtbrn"),
|
|
242
242
|
display_name: z.string(),
|
|
243
243
|
description: z.string(),
|
|
244
244
|
domain_id: z.string().optional(),
|
|
@@ -67,7 +67,7 @@ exports.GetV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
67
67
|
updated_by_id: z.string().optional(),
|
|
68
68
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
69
69
|
.optional(),
|
|
70
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
70
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-14T08:47:49.740Z").transform(v => new Date(v)),
|
|
71
71
|
filter_type: z.literal("name"),
|
|
72
72
|
filter_value: z.string(),
|
|
73
73
|
}).transform((v) => {
|
|
@@ -98,7 +98,7 @@ exports.GetV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
98
98
|
updated_by_id: z.string().optional(),
|
|
99
99
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
100
100
|
.optional(),
|
|
101
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
101
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-14T08:47:49.740Z").transform(v => new Date(v)),
|
|
102
102
|
filter_type: z.literal("span_type"),
|
|
103
103
|
filter_values: z.array(z.string()),
|
|
104
104
|
}).transform((v) => {
|
|
@@ -63,7 +63,7 @@ exports.GetV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
63
63
|
updated_by_id: z.string().optional(),
|
|
64
64
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
65
65
|
.optional(),
|
|
66
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
66
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-14T08:47:49.740Z").transform(v => new Date(v)),
|
|
67
67
|
filter_type: z.literal("name"),
|
|
68
68
|
filter_value: z.string(),
|
|
69
69
|
}).transform((v) => {
|
|
@@ -94,7 +94,7 @@ exports.GetV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
94
94
|
updated_by_id: z.string().optional(),
|
|
95
95
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
96
96
|
.optional(),
|
|
97
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
97
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-14T08:47:49.740Z").transform(v => new Date(v)),
|
|
98
98
|
filter_type: z.literal("span_type"),
|
|
99
99
|
filter_values: z.array(z.string()),
|
|
100
100
|
}).transform((v) => {
|
|
@@ -72,7 +72,7 @@ function getV2HumanEvalsIdRequestToJSON(getV2HumanEvalsIdRequest) {
|
|
|
72
72
|
exports.GetV2HumanEvalsIdResponseBody6$inboundSchema = z.object({
|
|
73
73
|
type: z.literal("text"),
|
|
74
74
|
id: z.string(),
|
|
75
|
-
key: z.string().default("
|
|
75
|
+
key: z.string().default("orq_01kp5jtbs1"),
|
|
76
76
|
display_name: z.string(),
|
|
77
77
|
description: z.string(),
|
|
78
78
|
domain_id: z.string().optional(),
|
|
@@ -112,7 +112,7 @@ exports.GetV2HumanEvalsIdResponseBody5$inboundSchema = z.object({
|
|
|
112
112
|
type: z.literal("single_select"),
|
|
113
113
|
options: z.array(z.lazy(() => exports.GetV2HumanEvalsIdResponseBodyResponseOptions$inboundSchema)),
|
|
114
114
|
id: z.string(),
|
|
115
|
-
key: z.string().default("
|
|
115
|
+
key: z.string().default("orq_01kp5jtbs0"),
|
|
116
116
|
display_name: z.string(),
|
|
117
117
|
description: z.string(),
|
|
118
118
|
domain_id: z.string().optional(),
|
|
@@ -151,7 +151,7 @@ exports.GetV2HumanEvalsIdResponseBody4$inboundSchema = z.object({
|
|
|
151
151
|
type: z.literal("multi_select"),
|
|
152
152
|
options: z.array(z.lazy(() => exports.GetV2HumanEvalsIdResponseBodyOptions$inboundSchema)),
|
|
153
153
|
id: z.string(),
|
|
154
|
-
key: z.string().default("
|
|
154
|
+
key: z.string().default("orq_01kp5jtbrz"),
|
|
155
155
|
display_name: z.string(),
|
|
156
156
|
description: z.string(),
|
|
157
157
|
domain_id: z.string().optional(),
|
|
@@ -185,7 +185,7 @@ exports.GetV2HumanEvalsIdResponseBody3$inboundSchema = z.object({
|
|
|
185
185
|
type: z.literal("range"),
|
|
186
186
|
config: z.lazy(() => exports.GetV2HumanEvalsIdResponseBodyConfig$inboundSchema),
|
|
187
187
|
id: z.string(),
|
|
188
|
-
key: z.string().default("
|
|
188
|
+
key: z.string().default("orq_01kp5jtbry"),
|
|
189
189
|
display_name: z.string(),
|
|
190
190
|
description: z.string(),
|
|
191
191
|
domain_id: z.string().optional(),
|
|
@@ -210,7 +210,7 @@ function getV2HumanEvalsIdResponseBody3FromJSON(jsonString) {
|
|
|
210
210
|
exports.GetV2HumanEvalsIdResponseBody2$inboundSchema = z.object({
|
|
211
211
|
type: z.literal("correction"),
|
|
212
212
|
id: z.string(),
|
|
213
|
-
key: z.string().default("
|
|
213
|
+
key: z.string().default("orq_01kp5jtbrx"),
|
|
214
214
|
display_name: z.string(),
|
|
215
215
|
description: z.string(),
|
|
216
216
|
domain_id: z.string().optional(),
|
|
@@ -235,7 +235,7 @@ function getV2HumanEvalsIdResponseBody2FromJSON(jsonString) {
|
|
|
235
235
|
exports.GetV2HumanEvalsIdResponseBody1$inboundSchema = z.object({
|
|
236
236
|
type: z.literal("boolean"),
|
|
237
237
|
id: z.string(),
|
|
238
|
-
key: z.string().default("
|
|
238
|
+
key: z.string().default("orq_01kp5jtbrw"),
|
|
239
239
|
display_name: z.string(),
|
|
240
240
|
description: z.string(),
|
|
241
241
|
domain_id: z.string().optional(),
|
|
@@ -420,7 +420,7 @@ exports.ListDatasetDatapointsEvaluations3$inboundSchema = z.object({
|
|
|
420
420
|
human_review_id: z.string(),
|
|
421
421
|
source: exports.ListDatasetDatapointsEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
422
422
|
reviewed_by_id: z.string(),
|
|
423
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-
|
|
423
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-14T08:48:07.262Z").transform(v => new Date(v)),
|
|
424
424
|
type: z.literal("string_array"),
|
|
425
425
|
values: z.array(z.string()),
|
|
426
426
|
}).transform((v) => {
|
|
@@ -445,7 +445,7 @@ exports.ListDatasetDatapointsEvaluations2$inboundSchema = z.object({
|
|
|
445
445
|
human_review_id: z.string(),
|
|
446
446
|
source: exports.ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
447
447
|
reviewed_by_id: z.string(),
|
|
448
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-
|
|
448
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-14T08:48:07.262Z").transform(v => new Date(v)),
|
|
449
449
|
type: z.literal("number"),
|
|
450
450
|
value: z.number(),
|
|
451
451
|
}).transform((v) => {
|
|
@@ -471,7 +471,7 @@ exports.ListDatasetDatapointsEvaluations1$inboundSchema = z.object({
|
|
|
471
471
|
source: exports.ListDatasetDatapointsEvaluationsDatasetsResponseSource$inboundSchema
|
|
472
472
|
.default("orq"),
|
|
473
473
|
reviewed_by_id: z.string(),
|
|
474
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-
|
|
474
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-14T08:48:07.261Z").transform(v => new Date(v)),
|
|
475
475
|
type: z.literal("string"),
|
|
476
476
|
value: z.string(),
|
|
477
477
|
}).transform((v) => {
|
|
@@ -518,7 +518,7 @@ exports.ListDatasetDatapointsData$inboundSchema = z.object({
|
|
|
518
518
|
updated_by_id: z.string().optional(),
|
|
519
519
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
520
520
|
.optional(),
|
|
521
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
521
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-14T08:47:49.740Z").transform(v => new Date(v)),
|
|
522
522
|
}).transform((v) => {
|
|
523
523
|
return (0, primitives_js_1.remap)(v, {
|
|
524
524
|
"_id": "id",
|
|
@@ -87,7 +87,7 @@ exports.ListDatasetsData$inboundSchema = z.object({
|
|
|
87
87
|
updated_by_id: z.string().optional(),
|
|
88
88
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
89
89
|
.optional(),
|
|
90
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
90
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-14T08:47:49.740Z").transform(v => new Date(v)),
|
|
91
91
|
}).transform((v) => {
|
|
92
92
|
return (0, primitives_js_1.remap)(v, {
|
|
93
93
|
"_id": "id",
|
|
@@ -83,7 +83,7 @@ exports.ListDatasourcesObject$inboundSchema = z.nativeEnum(exports.ListDatasourc
|
|
|
83
83
|
exports.ListDatasourcesStatus$inboundSchema = z.nativeEnum(exports.ListDatasourcesStatus);
|
|
84
84
|
/** @internal */
|
|
85
85
|
exports.ListDatasourcesData$inboundSchema = z.object({
|
|
86
|
-
_id: z.string().default("
|
|
86
|
+
_id: z.string().default("01KP5JTBGTXCJ1NM7EDBK0HPWA"),
|
|
87
87
|
display_name: z.string(),
|
|
88
88
|
description: z.string().optional(),
|
|
89
89
|
status: exports.ListDatasourcesStatus$inboundSchema,
|
|
@@ -104,7 +104,7 @@ exports.ListIdentitiesData$inboundSchema = z.object({
|
|
|
104
104
|
metadata: z.record(z.any()).optional(),
|
|
105
105
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
106
106
|
.optional(),
|
|
107
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
107
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-14T08:47:49.740Z").transform(v => new Date(v)),
|
|
108
108
|
metrics: z.lazy(() => exports.ListIdentitiesMetrics$inboundSchema),
|
|
109
109
|
}).transform((v) => {
|
|
110
110
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -122,7 +122,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
122
122
|
updated_by_id: z.string().optional(),
|
|
123
123
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
124
124
|
.optional(),
|
|
125
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
125
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-14T08:47:49.740Z").transform(v => new Date(v)),
|
|
126
126
|
filter_type: z.literal("name"),
|
|
127
127
|
filter_value: z.string(),
|
|
128
128
|
}).transform((v) => {
|
|
@@ -153,7 +153,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
153
153
|
updated_by_id: z.string().optional(),
|
|
154
154
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
155
155
|
.optional(),
|
|
156
|
-
updated: z.string().datetime({ offset: true }).default("2026-04-
|
|
156
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-14T08:47:49.740Z").transform(v => new Date(v)),
|
|
157
157
|
filter_type: z.literal("span_type"),
|
|
158
158
|
filter_values: z.array(z.string()),
|
|
159
159
|
}).transform((v) => {
|
|
@@ -85,7 +85,7 @@ exports.PatchV2HumanEvalsIdResponseBodySentiment = {
|
|
|
85
85
|
exports.Six$outboundSchema = z
|
|
86
86
|
.object({
|
|
87
87
|
type: z.literal("text"),
|
|
88
|
-
key: z.string().default("
|
|
88
|
+
key: z.string().default("orq_01kp5jtbte"),
|
|
89
89
|
displayName: z.string(),
|
|
90
90
|
description: z.string(),
|
|
91
91
|
createdById: z.string().optional(),
|
|
@@ -119,7 +119,7 @@ function patchV2HumanEvalsIdRequestBodyOptionsInputToJSON(patchV2HumanEvalsIdReq
|
|
|
119
119
|
exports.RequestBody5$outboundSchema = z.object({
|
|
120
120
|
type: z.literal("single_select"),
|
|
121
121
|
options: z.array(z.lazy(() => exports.PatchV2HumanEvalsIdRequestBodyOptionsInput$outboundSchema)),
|
|
122
|
-
key: z.string().default("
|
|
122
|
+
key: z.string().default("orq_01kp5jtbtd"),
|
|
123
123
|
displayName: z.string(),
|
|
124
124
|
description: z.string(),
|
|
125
125
|
createdById: z.string().optional(),
|
|
@@ -153,7 +153,7 @@ function patchV2HumanEvalsIdRequestBodyOptionsToJSON(patchV2HumanEvalsIdRequestB
|
|
|
153
153
|
exports.PatchV2HumanEvalsIdRequestBody4$outboundSchema = z.object({
|
|
154
154
|
type: z.literal("multi_select"),
|
|
155
155
|
options: z.array(z.lazy(() => exports.PatchV2HumanEvalsIdRequestBodyOptions$outboundSchema)),
|
|
156
|
-
key: z.string().default("
|
|
156
|
+
key: z.string().default("orq_01kp5jtbtc"),
|
|
157
157
|
displayName: z.string(),
|
|
158
158
|
description: z.string(),
|
|
159
159
|
createdById: z.string().optional(),
|
|
@@ -182,7 +182,7 @@ function requestBodyConfigToJSON(requestBodyConfig) {
|
|
|
182
182
|
exports.PatchV2HumanEvalsIdRequestBody3$outboundSchema = z.object({
|
|
183
183
|
type: z.literal("range"),
|
|
184
184
|
config: z.lazy(() => exports.RequestBodyConfig$outboundSchema),
|
|
185
|
-
key: z.string().default("
|
|
185
|
+
key: z.string().default("orq_01kp5jtbtb"),
|
|
186
186
|
displayName: z.string(),
|
|
187
187
|
description: z.string(),
|
|
188
188
|
createdById: z.string().optional(),
|
|
@@ -202,7 +202,7 @@ function patchV2HumanEvalsIdRequestBody3ToJSON(patchV2HumanEvalsIdRequestBody3)
|
|
|
202
202
|
/** @internal */
|
|
203
203
|
exports.PatchV2HumanEvalsIdRequestBody2$outboundSchema = z.object({
|
|
204
204
|
type: z.literal("correction"),
|
|
205
|
-
key: z.string().default("
|
|
205
|
+
key: z.string().default("orq_01kp5jtbta"),
|
|
206
206
|
displayName: z.string(),
|
|
207
207
|
description: z.string(),
|
|
208
208
|
createdById: z.string().optional(),
|
|
@@ -222,7 +222,7 @@ function patchV2HumanEvalsIdRequestBody2ToJSON(patchV2HumanEvalsIdRequestBody2)
|
|
|
222
222
|
/** @internal */
|
|
223
223
|
exports.PatchV2HumanEvalsIdRequestBody1$outboundSchema = z.object({
|
|
224
224
|
type: z.literal("boolean"),
|
|
225
|
-
key: z.string().default("
|
|
225
|
+
key: z.string().default("orq_01kp5jtbt8"),
|
|
226
226
|
displayName: z.string(),
|
|
227
227
|
description: z.string(),
|
|
228
228
|
createdById: z.string().optional(),
|
|
@@ -274,7 +274,7 @@ function patchV2HumanEvalsIdRequestToJSON(patchV2HumanEvalsIdRequest) {
|
|
|
274
274
|
exports.PatchV2HumanEvalsIdResponseBody6$inboundSchema = z.object({
|
|
275
275
|
type: z.literal("text"),
|
|
276
276
|
id: z.string(),
|
|
277
|
-
key: z.string().default("
|
|
277
|
+
key: z.string().default("orq_01kp5jtbt7"),
|
|
278
278
|
display_name: z.string(),
|
|
279
279
|
description: z.string(),
|
|
280
280
|
domain_id: z.string().optional(),
|
|
@@ -314,7 +314,7 @@ exports.PatchV2HumanEvalsIdResponseBody5$inboundSchema = z.object({
|
|
|
314
314
|
type: z.literal("single_select"),
|
|
315
315
|
options: z.array(z.lazy(() => exports.PatchV2HumanEvalsIdResponseBodyResponseOptions$inboundSchema)),
|
|
316
316
|
id: z.string(),
|
|
317
|
-
key: z.string().default("
|
|
317
|
+
key: z.string().default("orq_01kp5jtbt5"),
|
|
318
318
|
display_name: z.string(),
|
|
319
319
|
description: z.string(),
|
|
320
320
|
domain_id: z.string().optional(),
|
|
@@ -354,7 +354,7 @@ exports.PatchV2HumanEvalsIdResponseBody4$inboundSchema = z.object({
|
|
|
354
354
|
type: z.literal("multi_select"),
|
|
355
355
|
options: z.array(z.lazy(() => exports.PatchV2HumanEvalsIdResponseBodyOptions$inboundSchema)),
|
|
356
356
|
id: z.string(),
|
|
357
|
-
key: z.string().default("
|
|
357
|
+
key: z.string().default("orq_01kp5jtbt3"),
|
|
358
358
|
display_name: z.string(),
|
|
359
359
|
description: z.string(),
|
|
360
360
|
domain_id: z.string().optional(),
|
|
@@ -388,7 +388,7 @@ exports.PatchV2HumanEvalsIdResponseBody3$inboundSchema = z.object({
|
|
|
388
388
|
type: z.literal("range"),
|
|
389
389
|
config: z.lazy(() => exports.PatchV2HumanEvalsIdResponseBodyConfig$inboundSchema),
|
|
390
390
|
id: z.string(),
|
|
391
|
-
key: z.string().default("
|
|
391
|
+
key: z.string().default("orq_01kp5jtbt1"),
|
|
392
392
|
display_name: z.string(),
|
|
393
393
|
description: z.string(),
|
|
394
394
|
domain_id: z.string().optional(),
|
|
@@ -413,7 +413,7 @@ function patchV2HumanEvalsIdResponseBody3FromJSON(jsonString) {
|
|
|
413
413
|
exports.PatchV2HumanEvalsIdResponseBody2$inboundSchema = z.object({
|
|
414
414
|
type: z.literal("correction"),
|
|
415
415
|
id: z.string(),
|
|
416
|
-
key: z.string().default("
|
|
416
|
+
key: z.string().default("orq_01kp5jtbsz"),
|
|
417
417
|
display_name: z.string(),
|
|
418
418
|
description: z.string(),
|
|
419
419
|
domain_id: z.string().optional(),
|
|
@@ -438,7 +438,7 @@ function patchV2HumanEvalsIdResponseBody2FromJSON(jsonString) {
|
|
|
438
438
|
exports.PatchV2HumanEvalsIdResponseBody1$inboundSchema = z.object({
|
|
439
439
|
type: z.literal("boolean"),
|
|
440
440
|
id: z.string(),
|
|
441
|
-
key: z.string().default("
|
|
441
|
+
key: z.string().default("orq_01kp5jtbsy"),
|
|
442
442
|
display_name: z.string(),
|
|
443
443
|
description: z.string(),
|
|
444
444
|
domain_id: z.string().optional(),
|
|
@@ -86,7 +86,7 @@ exports.RequestBody3$outboundSchema = z.object({
|
|
|
86
86
|
humanReviewId: z.string(),
|
|
87
87
|
source: exports.PostV2FeedbackEvaluationRequestBodyRequestSource$outboundSchema
|
|
88
88
|
.default("orq"),
|
|
89
|
-
reviewedAt: z.date().default(() => new Date("2026-04-
|
|
89
|
+
reviewedAt: z.date().default(() => new Date("2026-04-14T08:48:07.431Z"))
|
|
90
90
|
.transform(v => v.toISOString()),
|
|
91
91
|
type: z.literal("string_array"),
|
|
92
92
|
values: z.array(z.string()),
|
|
@@ -113,7 +113,7 @@ exports.RequestBody2$outboundSchema = z.object({
|
|
|
113
113
|
evaluationType: exports.RequestBodyEvaluationType$outboundSchema,
|
|
114
114
|
humanReviewId: z.string(),
|
|
115
115
|
source: exports.PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default("orq"),
|
|
116
|
-
reviewedAt: z.date().default(() => new Date("2026-04-
|
|
116
|
+
reviewedAt: z.date().default(() => new Date("2026-04-14T08:48:07.430Z"))
|
|
117
117
|
.transform(v => v.toISOString()),
|
|
118
118
|
type: z.literal("number"),
|
|
119
119
|
value: z.number(),
|
|
@@ -139,7 +139,7 @@ exports.RequestBody1$outboundSchema = z.object({
|
|
|
139
139
|
evaluationType: exports.EvaluationType$outboundSchema,
|
|
140
140
|
humanReviewId: z.string(),
|
|
141
141
|
source: exports.RequestBodySource$outboundSchema.default("orq"),
|
|
142
|
-
reviewedAt: z.date().default(() => new Date("2026-04-
|
|
142
|
+
reviewedAt: z.date().default(() => new Date("2026-04-14T08:48:07.430Z"))
|
|
143
143
|
.transform(v => v.toISOString()),
|
|
144
144
|
type: z.literal("string"),
|
|
145
145
|
value: z.string(),
|
|
@@ -83,7 +83,7 @@ exports.PostV2HumanEvalsResponseBodySentiment = {
|
|
|
83
83
|
/** @internal */
|
|
84
84
|
exports.RequestBody6$outboundSchema = z.object({
|
|
85
85
|
type: z.literal("text"),
|
|
86
|
-
key: z.string().default("
|
|
86
|
+
key: z.string().default("orq_01kp5jtbsx"),
|
|
87
87
|
displayName: z.string(),
|
|
88
88
|
description: z.string(),
|
|
89
89
|
projectId: z.string().optional(),
|
|
@@ -112,7 +112,7 @@ function requestBodyOptionsToJSON(requestBodyOptions) {
|
|
|
112
112
|
exports.Five$outboundSchema = z.object({
|
|
113
113
|
type: z.literal("single_select"),
|
|
114
114
|
options: z.array(z.lazy(() => exports.RequestBodyOptions$outboundSchema)),
|
|
115
|
-
key: z.string().default("
|
|
115
|
+
key: z.string().default("orq_01kp5jtbsw"),
|
|
116
116
|
displayName: z.string(),
|
|
117
117
|
description: z.string(),
|
|
118
118
|
projectId: z.string().optional(),
|
|
@@ -142,7 +142,7 @@ function optionsToJSON(options) {
|
|
|
142
142
|
exports.RequestBody4$outboundSchema = z.object({
|
|
143
143
|
type: z.literal("multi_select"),
|
|
144
144
|
options: z.array(z.lazy(() => exports.Options$outboundSchema)),
|
|
145
|
-
key: z.string().default("
|
|
145
|
+
key: z.string().default("orq_01kp5jtbst"),
|
|
146
146
|
displayName: z.string(),
|
|
147
147
|
description: z.string(),
|
|
148
148
|
projectId: z.string().optional(),
|
|
@@ -167,7 +167,7 @@ function configToJSON(config) {
|
|
|
167
167
|
exports.PostV2HumanEvalsRequestBody3$outboundSchema = z.object({
|
|
168
168
|
type: z.literal("range"),
|
|
169
169
|
config: z.lazy(() => exports.Config$outboundSchema),
|
|
170
|
-
key: z.string().default("
|
|
170
|
+
key: z.string().default("orq_01kp5jtbsr"),
|
|
171
171
|
displayName: z.string(),
|
|
172
172
|
description: z.string(),
|
|
173
173
|
projectId: z.string().optional(),
|
|
@@ -183,7 +183,7 @@ function postV2HumanEvalsRequestBody3ToJSON(postV2HumanEvalsRequestBody3) {
|
|
|
183
183
|
/** @internal */
|
|
184
184
|
exports.PostV2HumanEvalsRequestBody2$outboundSchema = z.object({
|
|
185
185
|
type: z.literal("correction"),
|
|
186
|
-
key: z.string().default("
|
|
186
|
+
key: z.string().default("orq_01kp5jtbsq"),
|
|
187
187
|
displayName: z.string(),
|
|
188
188
|
description: z.string(),
|
|
189
189
|
projectId: z.string().optional(),
|
|
@@ -199,7 +199,7 @@ function postV2HumanEvalsRequestBody2ToJSON(postV2HumanEvalsRequestBody2) {
|
|
|
199
199
|
/** @internal */
|
|
200
200
|
exports.PostV2HumanEvalsRequestBody1$outboundSchema = z.object({
|
|
201
201
|
type: z.literal("boolean"),
|
|
202
|
-
key: z.string().default("
|
|
202
|
+
key: z.string().default("orq_01kp5jtbsp"),
|
|
203
203
|
displayName: z.string(),
|
|
204
204
|
description: z.string(),
|
|
205
205
|
projectId: z.string().optional(),
|
|
@@ -228,7 +228,7 @@ function postV2HumanEvalsRequestBodyToJSON(postV2HumanEvalsRequestBody) {
|
|
|
228
228
|
exports.PostV2HumanEvalsResponseBody6$inboundSchema = z.object({
|
|
229
229
|
type: z.literal("text"),
|
|
230
230
|
id: z.string(),
|
|
231
|
-
key: z.string().default("
|
|
231
|
+
key: z.string().default("orq_01kp5jtbsm"),
|
|
232
232
|
display_name: z.string(),
|
|
233
233
|
description: z.string(),
|
|
234
234
|
domain_id: z.string().optional(),
|
|
@@ -268,7 +268,7 @@ exports.PostV2HumanEvalsResponseBody5$inboundSchema = z.object({
|
|
|
268
268
|
type: z.literal("single_select"),
|
|
269
269
|
options: z.array(z.lazy(() => exports.PostV2HumanEvalsResponseBodyResponseOptions$inboundSchema)),
|
|
270
270
|
id: z.string(),
|
|
271
|
-
key: z.string().default("
|
|
271
|
+
key: z.string().default("orq_01kp5jtbsk"),
|
|
272
272
|
display_name: z.string(),
|
|
273
273
|
description: z.string(),
|
|
274
274
|
domain_id: z.string().optional(),
|
|
@@ -307,7 +307,7 @@ exports.PostV2HumanEvalsResponseBody4$inboundSchema = z.object({
|
|
|
307
307
|
type: z.literal("multi_select"),
|
|
308
308
|
options: z.array(z.lazy(() => exports.PostV2HumanEvalsResponseBodyOptions$inboundSchema)),
|
|
309
309
|
id: z.string(),
|
|
310
|
-
key: z.string().default("
|
|
310
|
+
key: z.string().default("orq_01kp5jtbsg"),
|
|
311
311
|
display_name: z.string(),
|
|
312
312
|
description: z.string(),
|
|
313
313
|
domain_id: z.string().optional(),
|
|
@@ -341,7 +341,7 @@ exports.PostV2HumanEvalsResponseBody3$inboundSchema = z.object({
|
|
|
341
341
|
type: z.literal("range"),
|
|
342
342
|
config: z.lazy(() => exports.PostV2HumanEvalsResponseBodyConfig$inboundSchema),
|
|
343
343
|
id: z.string(),
|
|
344
|
-
key: z.string().default("
|
|
344
|
+
key: z.string().default("orq_01kp5jtbse"),
|
|
345
345
|
display_name: z.string(),
|
|
346
346
|
description: z.string(),
|
|
347
347
|
domain_id: z.string().optional(),
|
|
@@ -366,7 +366,7 @@ function postV2HumanEvalsResponseBody3FromJSON(jsonString) {
|
|
|
366
366
|
exports.PostV2HumanEvalsResponseBody2$inboundSchema = z.object({
|
|
367
367
|
type: z.literal("correction"),
|
|
368
368
|
id: z.string(),
|
|
369
|
-
key: z.string().default("
|
|
369
|
+
key: z.string().default("orq_01kp5jtbsb"),
|
|
370
370
|
display_name: z.string(),
|
|
371
371
|
description: z.string(),
|
|
372
372
|
domain_id: z.string().optional(),
|
|
@@ -391,7 +391,7 @@ function postV2HumanEvalsResponseBody2FromJSON(jsonString) {
|
|
|
391
391
|
exports.PostV2HumanEvalsResponseBody1$inboundSchema = z.object({
|
|
392
392
|
type: z.literal("boolean"),
|
|
393
393
|
id: z.string(),
|
|
394
|
-
key: z.string().default("
|
|
394
|
+
key: z.string().default("orq_01kp5jtbs9"),
|
|
395
395
|
display_name: z.string(),
|
|
396
396
|
description: z.string(),
|
|
397
397
|
domain_id: z.string().optional(),
|