@orq-ai/node 4.13.0-rc.21 → 4.13.0-rc.22
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/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/publicresponseresource.d.ts +1 -0
- package/models/components/publicresponseresource.d.ts.map +1 -1
- package/models/components/publicresponseresource.js +1 -0
- package/models/components/publicresponseresource.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createrouterresponse.d.ts +27 -4
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +22 -6
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveresponse.d.ts +1 -0
- package/models/operations/retrieveresponse.d.ts.map +1 -1
- package/models/operations/retrieveresponse.js +1 -0
- package/models/operations/retrieveresponse.js.map +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 +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +6 -6
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/lib/config.ts +2 -2
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/publicresponseresource.ts +1 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createrouterresponse.ts +37 -6
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveresponse.ts +1 -0
- 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 +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
|
@@ -862,7 +862,7 @@ exports.UpdateDatapointEvaluations4$inboundSchema = z.object({
|
|
|
862
862
|
parent_annotation_id: z.string().optional(),
|
|
863
863
|
explanation: z.string().optional(),
|
|
864
864
|
reviewed_by_id: z.string(),
|
|
865
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-07-
|
|
865
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-07-31T04:28:01.082Z").transform(v => new Date(v)),
|
|
866
866
|
type: z.literal("string_array"),
|
|
867
867
|
values: z.array(z.string()),
|
|
868
868
|
}).transform((v) => {
|
|
@@ -913,7 +913,7 @@ exports.UpdateDatapointEvaluations3$inboundSchema = z.object({
|
|
|
913
913
|
parent_annotation_id: z.string().optional(),
|
|
914
914
|
explanation: z.string().optional(),
|
|
915
915
|
reviewed_by_id: z.string(),
|
|
916
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-07-
|
|
916
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-07-31T04:28:01.081Z").transform(v => new Date(v)),
|
|
917
917
|
type: z.literal("boolean"),
|
|
918
918
|
value: z.boolean(),
|
|
919
919
|
}).transform((v) => {
|
|
@@ -964,7 +964,7 @@ exports.UpdateDatapointEvaluations2$inboundSchema = z.object({
|
|
|
964
964
|
parent_annotation_id: z.string().optional(),
|
|
965
965
|
explanation: z.string().optional(),
|
|
966
966
|
reviewed_by_id: z.string(),
|
|
967
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-07-
|
|
967
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-07-31T04:28:01.080Z").transform(v => new Date(v)),
|
|
968
968
|
type: z.literal("number"),
|
|
969
969
|
value: z.number(),
|
|
970
970
|
}).transform((v) => {
|
|
@@ -1014,7 +1014,7 @@ exports.UpdateDatapointEvaluations1$inboundSchema = z.object({
|
|
|
1014
1014
|
parent_annotation_id: z.string().optional(),
|
|
1015
1015
|
explanation: z.string().optional(),
|
|
1016
1016
|
reviewed_by_id: z.string(),
|
|
1017
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-07-
|
|
1017
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-07-31T04:28:01.080Z").transform(v => new Date(v)),
|
|
1018
1018
|
type: z.literal("string"),
|
|
1019
1019
|
value: z.string(),
|
|
1020
1020
|
}).transform((v) => {
|
|
@@ -1065,7 +1065,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
|
|
|
1065
1065
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1066
1066
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1067
1067
|
.optional(),
|
|
1068
|
-
updated: z.string().datetime({ offset: true }).default("2026-07-
|
|
1068
|
+
updated: z.string().datetime({ offset: true }).default("2026-07-31T04:27:46.478Z").transform(v => new Date(v)),
|
|
1069
1069
|
}).transform((v) => {
|
|
1070
1070
|
return (0, primitives_js_1.remap)(v, {
|
|
1071
1071
|
"_id": "id",
|
|
@@ -95,7 +95,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
|
|
|
95
95
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
96
96
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
97
97
|
.optional(),
|
|
98
|
-
updated: z.string().datetime({ offset: true }).default("2026-07-
|
|
98
|
+
updated: z.string().datetime({ offset: true }).default("2026-07-31T04:27:46.478Z").transform(v => new Date(v)),
|
|
99
99
|
}).transform((v) => {
|
|
100
100
|
return (0, primitives_js_1.remap)(v, {
|
|
101
101
|
"_id": "id",
|
|
@@ -102,7 +102,7 @@ function updateDatasourceMetadataFromJSON(jsonString) {
|
|
|
102
102
|
}
|
|
103
103
|
/** @internal */
|
|
104
104
|
exports.UpdateDatasourceResponseBody$inboundSchema = z.object({
|
|
105
|
-
_id: z.string().default("
|
|
105
|
+
_id: z.string().default("01KYV6VQ2R4S9JT04BHB5KDZB7"),
|
|
106
106
|
display_name: z.string(),
|
|
107
107
|
description: z.nullable(z.string()).optional(),
|
|
108
108
|
status: exports.UpdateDatasourceStatus$inboundSchema,
|
|
@@ -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("01KYV6VPZ8VM1GXHAFTMAF2DYH"),
|
|
375
375
|
name: z.string(),
|
|
376
376
|
description: z.string().optional(),
|
|
377
377
|
schema: z.lazy(() => exports.UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -667,7 +667,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
667
667
|
}
|
|
668
668
|
/** @internal */
|
|
669
669
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
670
|
-
_id: z.string().default("
|
|
670
|
+
_id: z.string().default("tool_01KYV6VPZ268GRTPHYJ8B0HEVW"),
|
|
671
671
|
path: z.string(),
|
|
672
672
|
key: z.string(),
|
|
673
673
|
display_name: z.string().optional(),
|
|
@@ -720,7 +720,7 @@ function updateToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
720
720
|
}
|
|
721
721
|
/** @internal */
|
|
722
722
|
exports.UpdateToolResponseBodyTools$inboundSchema = z.object({
|
|
723
|
-
id: z.string().default("
|
|
723
|
+
id: z.string().default("01KYV6VPZ1CFE4YQ2MQYTNHR91"),
|
|
724
724
|
name: z.string(),
|
|
725
725
|
description: z.string().optional(),
|
|
726
726
|
schema: z.lazy(() => exports.UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -750,7 +750,7 @@ function updateToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
750
750
|
}
|
|
751
751
|
/** @internal */
|
|
752
752
|
exports.UpdateToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
753
|
-
_id: z.string().default("
|
|
753
|
+
_id: z.string().default("tool_01KYV6VPZ00XM43D08M91QBFNY"),
|
|
754
754
|
path: z.string(),
|
|
755
755
|
key: z.string(),
|
|
756
756
|
display_name: z.string().optional(),
|
|
@@ -838,7 +838,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
838
838
|
}
|
|
839
839
|
/** @internal */
|
|
840
840
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
841
|
-
_id: z.string().default("
|
|
841
|
+
_id: z.string().default("tool_01KYV6VPYYRG8P8RHM24P69R96"),
|
|
842
842
|
path: z.string(),
|
|
843
843
|
key: z.string(),
|
|
844
844
|
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_01KYV6VPYXVF15W71R8BWN96MG"),
|
|
892
892
|
path: z.string(),
|
|
893
893
|
key: z.string(),
|
|
894
894
|
display_name: z.string().optional(),
|
|
@@ -942,7 +942,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
942
942
|
}
|
|
943
943
|
/** @internal */
|
|
944
944
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
945
|
-
_id: z.string().default("
|
|
945
|
+
_id: z.string().default("tool_01KYV6VPYWCVNA020XE3HAS0Z3"),
|
|
946
946
|
path: z.string(),
|
|
947
947
|
key: z.string(),
|
|
948
948
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "4.13.0-rc.
|
|
3
|
+
"version": "4.13.0-rc.22",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
|
-
".": {
|
|
7
|
-
"require": "./index.js",
|
|
8
|
-
"types": "./index.d.ts",
|
|
9
|
-
"import": "./index.js"
|
|
10
|
-
},
|
|
11
6
|
"./*": "./*",
|
|
12
7
|
"./langchain": {
|
|
13
8
|
"import": "./langchain/index.mjs",
|
|
14
9
|
"require": "./langchain/index.js",
|
|
15
10
|
"types": "./langchain/index.d.mts"
|
|
11
|
+
},
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./index.js",
|
|
14
|
+
"require": "./index.js",
|
|
15
|
+
"types": "./index.d.ts"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"main": "./index.js",
|
package/sdk/feedback.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ export declare class Feedback extends ClientSDK {
|
|
|
5
5
|
createEvaluation(request?: operations.PostV2FeedbackEvaluationRequestBody | undefined, options?: RequestOptions): Promise<void>;
|
|
6
6
|
remove(request?: operations.PostV2FeedbackRemoveRequestBody | undefined, options?: RequestOptions): Promise<operations.PostV2FeedbackRemoveResponseBody>;
|
|
7
7
|
/**
|
|
8
|
-
* Create a new
|
|
8
|
+
* Create a new skill
|
|
9
9
|
*
|
|
10
10
|
* @remarks
|
|
11
|
-
*
|
|
11
|
+
* Creates a reusable skill in the workspace. Skills store instructions, metadata, and an optional project location so teams can standardize repeatable AI workflows.
|
|
12
12
|
*/
|
|
13
13
|
create(request?: operations.PostV2FeedbackRequestBody | undefined, options?: RequestOptions): Promise<operations.PostV2FeedbackResponseBody>;
|
|
14
14
|
}
|
package/sdk/feedback.js
CHANGED
|
@@ -21,10 +21,10 @@ class Feedback extends sdks_js_1.ClientSDK {
|
|
|
21
21
|
return (0, fp_js_1.unwrapAsync)((0, feedbackRemove_js_1.feedbackRemove)(this, request, options));
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Create a new
|
|
24
|
+
* Create a new skill
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
|
-
*
|
|
27
|
+
* Creates a reusable skill in the workspace. Skills store instructions, metadata, and an optional project location so teams can standardize repeatable AI workflows.
|
|
28
28
|
*/
|
|
29
29
|
async create(request, options) {
|
|
30
30
|
return (0, fp_js_1.unwrapAsync)((0, feedbackCreate_js_1.feedbackCreate)(this, request, options));
|
package/src/lib/config.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.13.0-rc.
|
|
61
|
+
sdkVersion: "4.13.0-rc.22",
|
|
62
62
|
genVersion: "2.924.0",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.13.0-rc.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.13.0-rc.22 2.924.0 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -856,8 +856,8 @@ export const EvaluatorResponseFunction$inboundSchema: z.ZodType<
|
|
|
856
856
|
> = z.object({
|
|
857
857
|
_id: z.string(),
|
|
858
858
|
description: z.string(),
|
|
859
|
-
created: z.string().default("2026-07-
|
|
860
|
-
updated: z.string().default("2026-07-
|
|
859
|
+
created: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
860
|
+
updated: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
861
861
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
862
862
|
guardrail_config: z.any().optional(),
|
|
863
863
|
type: z.literal("function_eval"),
|
|
@@ -42,8 +42,8 @@ export const EvaluatorResponseHttp$inboundSchema: z.ZodType<
|
|
|
42
42
|
> = z.object({
|
|
43
43
|
_id: z.string(),
|
|
44
44
|
description: z.string(),
|
|
45
|
-
created: z.string().default("2026-07-
|
|
46
|
-
updated: z.string().default("2026-07-
|
|
45
|
+
created: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
46
|
+
updated: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
47
47
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
48
48
|
guardrail_config: z.any().optional(),
|
|
49
49
|
type: z.literal("http_eval"),
|
|
@@ -28,8 +28,8 @@ export const EvaluatorResponseJsonSchema$inboundSchema: z.ZodType<
|
|
|
28
28
|
> = z.object({
|
|
29
29
|
_id: z.string(),
|
|
30
30
|
description: z.string(),
|
|
31
|
-
created: z.string().default("2026-07-
|
|
32
|
-
updated: z.string().default("2026-07-
|
|
31
|
+
created: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
32
|
+
updated: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
33
33
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
34
34
|
guardrail_config: z.any().optional(),
|
|
35
35
|
type: z.literal("json_schema"),
|
|
@@ -267,8 +267,8 @@ export const EvaluatorResponseLlm$inboundSchema: z.ZodType<
|
|
|
267
267
|
> = z.object({
|
|
268
268
|
_id: z.string(),
|
|
269
269
|
description: z.string(),
|
|
270
|
-
created: z.string().default("2026-07-
|
|
271
|
-
updated: z.string().default("2026-07-
|
|
270
|
+
created: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
271
|
+
updated: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
272
272
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
273
273
|
guardrail_config: z.any().optional(),
|
|
274
274
|
type: z.literal("llm_eval"),
|
|
@@ -28,8 +28,8 @@ export const EvaluatorResponsePython$inboundSchema: z.ZodType<
|
|
|
28
28
|
> = z.object({
|
|
29
29
|
_id: z.string(),
|
|
30
30
|
description: z.string(),
|
|
31
|
-
created: z.string().default("2026-07-
|
|
32
|
-
updated: z.string().default("2026-07-
|
|
31
|
+
created: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
32
|
+
updated: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
33
33
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
34
34
|
guardrail_config: z.any().optional(),
|
|
35
35
|
code: z.string(),
|
|
@@ -50,8 +50,8 @@ export const EvaluatorResponseRagas$inboundSchema: z.ZodType<
|
|
|
50
50
|
> = z.object({
|
|
51
51
|
_id: z.string(),
|
|
52
52
|
description: z.string(),
|
|
53
|
-
created: z.string().default("2026-07-
|
|
54
|
-
updated: z.string().default("2026-07-
|
|
53
|
+
created: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
54
|
+
updated: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
55
55
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
56
56
|
guardrail_config: z.any().optional(),
|
|
57
57
|
type: z.literal("ragas"),
|
|
@@ -28,8 +28,8 @@ export const EvaluatorResponseTypescript$inboundSchema: z.ZodType<
|
|
|
28
28
|
> = z.object({
|
|
29
29
|
_id: z.string(),
|
|
30
30
|
description: z.string(),
|
|
31
|
-
created: z.string().default("2026-07-
|
|
32
|
-
updated: z.string().default("2026-07-
|
|
31
|
+
created: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
32
|
+
updated: z.string().default("2026-07-31T04:27:48.510Z"),
|
|
33
33
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
34
34
|
guardrail_config: z.any().optional(),
|
|
35
35
|
code: z.string(),
|
|
@@ -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_01kyv6vpm5hma755792m0c4vkj"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -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-07-
|
|
141
|
+
"2026-07-31T04:27:46.478Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2732,7 +2732,7 @@ export const Evaluations4$inboundSchema: z.ZodType<
|
|
|
2732
2732
|
explanation: z.string().optional(),
|
|
2733
2733
|
reviewed_by_id: z.string(),
|
|
2734
2734
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2735
|
-
"2026-07-
|
|
2735
|
+
"2026-07-31T04:28:01.056Z",
|
|
2736
2736
|
).transform(v => new Date(v)),
|
|
2737
2737
|
type: z.literal("string_array"),
|
|
2738
2738
|
values: z.array(z.string()),
|
|
@@ -2822,7 +2822,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2822
2822
|
explanation: z.string().optional(),
|
|
2823
2823
|
reviewed_by_id: z.string(),
|
|
2824
2824
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2825
|
-
"2026-07-
|
|
2825
|
+
"2026-07-31T04:28:01.056Z",
|
|
2826
2826
|
).transform(v => new Date(v)),
|
|
2827
2827
|
type: z.literal("boolean"),
|
|
2828
2828
|
value: z.boolean(),
|
|
@@ -2907,7 +2907,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2907
2907
|
explanation: z.string().optional(),
|
|
2908
2908
|
reviewed_by_id: z.string(),
|
|
2909
2909
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2910
|
-
"2026-07-
|
|
2910
|
+
"2026-07-31T04:28:01.055Z",
|
|
2911
2911
|
).transform(v => new Date(v)),
|
|
2912
2912
|
type: z.literal("number"),
|
|
2913
2913
|
value: z.number(),
|
|
@@ -2993,7 +2993,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2993
2993
|
explanation: z.string().optional(),
|
|
2994
2994
|
reviewed_by_id: z.string(),
|
|
2995
2995
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2996
|
-
"2026-07-
|
|
2996
|
+
"2026-07-31T04:28:01.054Z",
|
|
2997
2997
|
).transform(v => new Date(v)),
|
|
2998
2998
|
type: z.literal("string"),
|
|
2999
2999
|
value: z.string(),
|
|
@@ -3080,7 +3080,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
3080
3080
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3081
3081
|
.optional(),
|
|
3082
3082
|
updated: z.string().datetime({ offset: true }).default(
|
|
3083
|
-
"2026-07-
|
|
3083
|
+
"2026-07-31T04:27:46.478Z",
|
|
3084
3084
|
).transform(v => new Date(v)),
|
|
3085
3085
|
}).transform((v) => {
|
|
3086
3086
|
return remap$(v, {
|
|
@@ -487,7 +487,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
487
487
|
z.ZodTypeDef,
|
|
488
488
|
unknown
|
|
489
489
|
> = z.object({
|
|
490
|
-
_id: z.string().default("
|
|
490
|
+
_id: z.string().default("01KYV6VQ2NJ3YKBSHJ17AT0MGH"),
|
|
491
491
|
display_name: z.string(),
|
|
492
492
|
description: z.nullable(z.string()).optional(),
|
|
493
493
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -443,6 +443,22 @@ export type CreateRouterResponseInput =
|
|
|
443
443
|
| string
|
|
444
444
|
| Array<CreateRouterResponseInput2>;
|
|
445
445
|
|
|
446
|
+
/**
|
|
447
|
+
* Processing mode for the request. Fast uses premium low-latency processing; priority remains a backward-compatible alias.
|
|
448
|
+
*/
|
|
449
|
+
export const ServiceTier = {
|
|
450
|
+
Auto: "auto",
|
|
451
|
+
Default: "default",
|
|
452
|
+
Flex: "flex",
|
|
453
|
+
Fast: "fast",
|
|
454
|
+
Scale: "scale",
|
|
455
|
+
Priority: "priority",
|
|
456
|
+
} as const;
|
|
457
|
+
/**
|
|
458
|
+
* Processing mode for the request. Fast uses premium low-latency processing; priority remains a backward-compatible alias.
|
|
459
|
+
*/
|
|
460
|
+
export type ServiceTier = ClosedEnum<typeof ServiceTier>;
|
|
461
|
+
|
|
446
462
|
/**
|
|
447
463
|
* Template engine for variable substitution in instructions. Defaults to the agent manifest's engine when invoking an agent, otherwise text.
|
|
448
464
|
*/
|
|
@@ -834,6 +850,10 @@ export type CreateRouterResponseRequestBody = {
|
|
|
834
850
|
* Safety identifier for content filtering.
|
|
835
851
|
*/
|
|
836
852
|
safetyIdentifier?: string | undefined;
|
|
853
|
+
/**
|
|
854
|
+
* Processing mode for the request. Fast uses premium low-latency processing; priority remains a backward-compatible alias.
|
|
855
|
+
*/
|
|
856
|
+
serviceTier?: ServiceTier | undefined;
|
|
837
857
|
/**
|
|
838
858
|
* Whether to persist the response (default: true). When false, the response cannot be retrieved later and previous_response_id will not work for follow-up requests.
|
|
839
859
|
*/
|
|
@@ -900,13 +920,16 @@ export type CreateRouterResponseResponsesResponseBody = {
|
|
|
900
920
|
data?: components.ResponseStreamEvent | undefined;
|
|
901
921
|
};
|
|
902
922
|
|
|
903
|
-
export const
|
|
923
|
+
export const CreateRouterResponseServiceTier = {
|
|
904
924
|
Auto: "auto",
|
|
905
925
|
Default: "default",
|
|
906
926
|
Flex: "flex",
|
|
927
|
+
Fast: "fast",
|
|
907
928
|
Priority: "priority",
|
|
908
929
|
} as const;
|
|
909
|
-
export type
|
|
930
|
+
export type CreateRouterResponseServiceTier = ClosedEnum<
|
|
931
|
+
typeof CreateRouterResponseServiceTier
|
|
932
|
+
>;
|
|
910
933
|
|
|
911
934
|
export const CreateRouterResponseStatus = {
|
|
912
935
|
Queued: "queued",
|
|
@@ -966,7 +989,7 @@ export type CreateRouterResponseResponseBody = {
|
|
|
966
989
|
promptCacheRetention: string | null;
|
|
967
990
|
reasoning: components.Reasoning | null;
|
|
968
991
|
safetyIdentifier: string | null;
|
|
969
|
-
serviceTier:
|
|
992
|
+
serviceTier: CreateRouterResponseServiceTier;
|
|
970
993
|
status: CreateRouterResponseStatus;
|
|
971
994
|
store: boolean;
|
|
972
995
|
temperature: number;
|
|
@@ -1390,6 +1413,10 @@ export function createRouterResponseInputToJSON(
|
|
|
1390
1413
|
);
|
|
1391
1414
|
}
|
|
1392
1415
|
|
|
1416
|
+
/** @internal */
|
|
1417
|
+
export const ServiceTier$outboundSchema: z.ZodNativeEnum<typeof ServiceTier> = z
|
|
1418
|
+
.nativeEnum(ServiceTier);
|
|
1419
|
+
|
|
1393
1420
|
/** @internal */
|
|
1394
1421
|
export const TemplateEngine$outboundSchema: z.ZodNativeEnum<
|
|
1395
1422
|
typeof TemplateEngine
|
|
@@ -1835,6 +1862,7 @@ export type CreateRouterResponseRequestBody$Outbound = {
|
|
|
1835
1862
|
reasoning?: components.ReasoningParam$Outbound | undefined;
|
|
1836
1863
|
retry?: components.ResponseRetryConfig$Outbound | undefined;
|
|
1837
1864
|
safety_identifier?: string | undefined;
|
|
1865
|
+
service_tier?: string | undefined;
|
|
1838
1866
|
store?: boolean | undefined;
|
|
1839
1867
|
stream?: boolean | undefined;
|
|
1840
1868
|
stream_options?: components.StreamOptions$Outbound | undefined;
|
|
@@ -1895,6 +1923,7 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
|
|
|
1895
1923
|
reasoning: components.ReasoningParam$outboundSchema.optional(),
|
|
1896
1924
|
retry: components.ResponseRetryConfig$outboundSchema.optional(),
|
|
1897
1925
|
safetyIdentifier: z.string().optional(),
|
|
1926
|
+
serviceTier: ServiceTier$outboundSchema.optional(),
|
|
1898
1927
|
store: z.boolean().optional(),
|
|
1899
1928
|
stream: z.boolean().optional(),
|
|
1900
1929
|
streamOptions: components.StreamOptions$outboundSchema.optional(),
|
|
@@ -1947,6 +1976,7 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
|
|
|
1947
1976
|
previousResponseId: "previous_response_id",
|
|
1948
1977
|
promptCacheKey: "prompt_cache_key",
|
|
1949
1978
|
safetyIdentifier: "safety_identifier",
|
|
1979
|
+
serviceTier: "service_tier",
|
|
1950
1980
|
streamOptions: "stream_options",
|
|
1951
1981
|
templateEngine: "template_engine",
|
|
1952
1982
|
toolChoice: "tool_choice",
|
|
@@ -2000,8 +2030,9 @@ export function createRouterResponseResponsesResponseBodyFromJSON(
|
|
|
2000
2030
|
}
|
|
2001
2031
|
|
|
2002
2032
|
/** @internal */
|
|
2003
|
-
export const
|
|
2004
|
-
|
|
2033
|
+
export const CreateRouterResponseServiceTier$inboundSchema: z.ZodNativeEnum<
|
|
2034
|
+
typeof CreateRouterResponseServiceTier
|
|
2035
|
+
> = z.nativeEnum(CreateRouterResponseServiceTier);
|
|
2005
2036
|
|
|
2006
2037
|
/** @internal */
|
|
2007
2038
|
export const CreateRouterResponseStatus$inboundSchema: z.ZodNativeEnum<
|
|
@@ -2042,7 +2073,7 @@ export const CreateRouterResponseResponseBody$inboundSchema: z.ZodType<
|
|
|
2042
2073
|
prompt_cache_retention: z.nullable(z.string()),
|
|
2043
2074
|
reasoning: z.nullable(components.Reasoning$inboundSchema),
|
|
2044
2075
|
safety_identifier: z.nullable(z.string()),
|
|
2045
|
-
service_tier:
|
|
2076
|
+
service_tier: CreateRouterResponseServiceTier$inboundSchema,
|
|
2046
2077
|
status: CreateRouterResponseStatus$inboundSchema,
|
|
2047
2078
|
store: z.boolean(),
|
|
2048
2079
|
temperature: z.number(),
|
|
@@ -1892,7 +1892,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1892
1892
|
z.ZodTypeDef,
|
|
1893
1893
|
unknown
|
|
1894
1894
|
> = z.object({
|
|
1895
|
-
_id: z.string().default("
|
|
1895
|
+
_id: z.string().default("tool_01KYV6VPYN8ZJ78JYP0QQT8F3Z"),
|
|
1896
1896
|
path: z.string(),
|
|
1897
1897
|
key: z.string(),
|
|
1898
1898
|
display_name: z.string().optional(),
|
|
@@ -1989,7 +1989,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1989
1989
|
z.ZodTypeDef,
|
|
1990
1990
|
unknown
|
|
1991
1991
|
> = z.object({
|
|
1992
|
-
id: z.string().default("
|
|
1992
|
+
id: z.string().default("01KYV6VPYE8VT9FGBHH3MPX7FH"),
|
|
1993
1993
|
name: z.string(),
|
|
1994
1994
|
description: z.string().optional(),
|
|
1995
1995
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2045,7 +2045,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2045
2045
|
z.ZodTypeDef,
|
|
2046
2046
|
unknown
|
|
2047
2047
|
> = z.object({
|
|
2048
|
-
_id: z.string().default("
|
|
2048
|
+
_id: z.string().default("tool_01KYV6VPYDH3JYZFKW7HEGN3X4"),
|
|
2049
2049
|
path: z.string(),
|
|
2050
2050
|
key: z.string(),
|
|
2051
2051
|
display_name: z.string().optional(),
|
|
@@ -2232,7 +2232,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2232
2232
|
z.ZodTypeDef,
|
|
2233
2233
|
unknown
|
|
2234
2234
|
> = z.object({
|
|
2235
|
-
_id: z.string().default("
|
|
2235
|
+
_id: z.string().default("tool_01KYV6VPYBXBQX86874J1XRARY"),
|
|
2236
2236
|
path: z.string(),
|
|
2237
2237
|
key: z.string(),
|
|
2238
2238
|
display_name: z.string().optional(),
|
|
@@ -2325,7 +2325,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2325
2325
|
z.ZodTypeDef,
|
|
2326
2326
|
unknown
|
|
2327
2327
|
> = z.object({
|
|
2328
|
-
_id: z.string().default("
|
|
2328
|
+
_id: z.string().default("tool_01KYV6VPYABK4A2XCQYK3ZXEZQ"),
|
|
2329
2329
|
path: z.string(),
|
|
2330
2330
|
key: z.string(),
|
|
2331
2331
|
display_name: z.string().optional(),
|
|
@@ -2426,7 +2426,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2426
2426
|
z.ZodTypeDef,
|
|
2427
2427
|
unknown
|
|
2428
2428
|
> = z.object({
|
|
2429
|
-
_id: z.string().default("
|
|
2429
|
+
_id: z.string().default("tool_01KYV6VPY8KANBNJMYR1CY4C63"),
|
|
2430
2430
|
path: z.string(),
|
|
2431
2431
|
key: z.string(),
|
|
2432
2432
|
display_name: z.string().optional(),
|
|
@@ -770,7 +770,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
770
770
|
z.ZodTypeDef,
|
|
771
771
|
unknown
|
|
772
772
|
> = z.object({
|
|
773
|
-
_id: z.string().default("
|
|
773
|
+
_id: z.string().default("tool_01KYV6VPXZZ8NVQEEDK0H6M3ZB"),
|
|
774
774
|
path: z.string(),
|
|
775
775
|
key: z.string(),
|
|
776
776
|
display_name: z.string().optional(),
|
|
@@ -867,7 +867,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
867
867
|
z.ZodTypeDef,
|
|
868
868
|
unknown
|
|
869
869
|
> = z.object({
|
|
870
|
-
id: z.string().default("
|
|
870
|
+
id: z.string().default("01KYV6VPXYT7NZVDDD6HVQC43M"),
|
|
871
871
|
name: z.string(),
|
|
872
872
|
description: z.string().optional(),
|
|
873
873
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -920,7 +920,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
920
920
|
z.ZodTypeDef,
|
|
921
921
|
unknown
|
|
922
922
|
> = z.object({
|
|
923
|
-
_id: z.string().default("
|
|
923
|
+
_id: z.string().default("tool_01KYV6VPXXDHHSX0W9JZM4TX0N"),
|
|
924
924
|
path: z.string(),
|
|
925
925
|
key: z.string(),
|
|
926
926
|
display_name: z.string().optional(),
|
|
@@ -1105,7 +1105,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1105
1105
|
z.ZodTypeDef,
|
|
1106
1106
|
unknown
|
|
1107
1107
|
> = z.object({
|
|
1108
|
-
_id: z.string().default("
|
|
1108
|
+
_id: z.string().default("tool_01KYV6VPXVPN9WRSRW6ZYK372G"),
|
|
1109
1109
|
path: z.string(),
|
|
1110
1110
|
key: z.string(),
|
|
1111
1111
|
display_name: z.string().optional(),
|
|
@@ -1198,7 +1198,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1198
1198
|
z.ZodTypeDef,
|
|
1199
1199
|
unknown
|
|
1200
1200
|
> = z.object({
|
|
1201
|
-
_id: z.string().default("
|
|
1201
|
+
_id: z.string().default("tool_01KYV6VPXSC5HEE5ZEZMQF33K6"),
|
|
1202
1202
|
path: z.string(),
|
|
1203
1203
|
key: z.string(),
|
|
1204
1204
|
display_name: z.string().optional(),
|
|
@@ -1296,7 +1296,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1296
1296
|
z.ZodTypeDef,
|
|
1297
1297
|
unknown
|
|
1298
1298
|
> = z.object({
|
|
1299
|
-
_id: z.string().default("
|
|
1299
|
+
_id: z.string().default("tool_01KYV6VPXQXCSA198Y61M0MMMB"),
|
|
1300
1300
|
path: z.string(),
|
|
1301
1301
|
key: z.string(),
|
|
1302
1302
|
display_name: z.string().optional(),
|
|
@@ -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-07-
|
|
143
|
+
"2026-07-31T04:27:46.478Z",
|
|
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-07-
|
|
188
|
+
"2026-07-31T04:27:46.478Z",
|
|
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-07-
|
|
144
|
+
"2026-07-31T04:27:46.478Z",
|
|
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-07-
|
|
189
|
+
"2026-07-31T04:27:46.478Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|