@orq-ai/node 4.16.14 → 4.16.15
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/reasoningpart.js +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdeploymentversions.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/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +3 -3
- package/packages/orq-rc/src/funcs/mcpGatewaysList.ts +0 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +6 -0
- package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +6 -0
- package/packages/orq-rc/src/models/components/cachewritetokensdetails.ts +39 -0
- package/packages/orq-rc/src/models/components/filecontentpartschema.ts +1 -1
- package/packages/orq-rc/src/models/components/index.ts +2 -1
- package/packages/orq-rc/src/models/components/inputtokensdetails.ts +7 -0
- package/packages/orq-rc/src/models/components/litellmmodel.ts +4 -0
- package/packages/orq-rc/src/models/components/mcpgateway.ts +0 -6
- package/packages/orq-rc/src/models/components/mcptoolinput.ts +7 -7
- package/packages/orq-rc/src/models/components/modelconfigurationresponse.ts +3 -0
- package/packages/orq-rc/src/models/components/modelmetadata.ts +6 -0
- package/packages/orq-rc/src/models/components/openaipromptcacheoptions.ts +1 -0
- package/packages/orq-rc/src/models/components/pricing.ts +6 -0
- package/packages/orq-rc/src/models/components/pricingvariant.ts +6 -0
- package/packages/orq-rc/src/models/components/privatemodelconfiguration.ts +39 -0
- package/packages/orq-rc/src/models/components/publicresponseresource.ts +1 -1
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/redactresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/updatemcpgatewayrequest.ts +0 -7
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +6 -0
- package/packages/orq-rc/src/models/operations/createprompt.ts +1 -1
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +225 -20
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1 -1
- package/packages/orq-rc/src/models/operations/deployments.ts +1 -1
- package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -1
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -1
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -1
- 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/listagents.ts +6 -0
- package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -1
- package/packages/orq-rc/src/models/operations/mcpgatewaylist.ts +0 -7
- package/packages/orq-rc/src/models/operations/modelcreate.ts +3 -0
- package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +6 -0
- package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +6 -0
- package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +7 -0
- package/packages/orq-rc/src/models/operations/modelupdate.ts +7 -0
- package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +3 -0
- package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +3 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +6 -0
- package/packages/orq-rc/src/models/operations/retrieveresponse.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- 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 +6 -0
- package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdeploymentversions.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/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/models/components/mcpgatewaystatus.ts +0 -21
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import * as components from "../components/index.js";
|
|
8
7
|
|
|
9
8
|
export type McpGatewayListRequest = {
|
|
10
9
|
/**
|
|
@@ -23,10 +22,6 @@ export type McpGatewayListRequest = {
|
|
|
23
22
|
* Case-insensitive match against the gateway key and display name.
|
|
24
23
|
*/
|
|
25
24
|
search?: string | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Returns only gateways in this status.
|
|
28
|
-
*/
|
|
29
|
-
status?: components.McpGatewayStatus | undefined;
|
|
30
25
|
};
|
|
31
26
|
|
|
32
27
|
/** @internal */
|
|
@@ -35,7 +30,6 @@ export type McpGatewayListRequest$Outbound = {
|
|
|
35
30
|
starting_after?: string | undefined;
|
|
36
31
|
ending_before?: string | undefined;
|
|
37
32
|
search?: string | undefined;
|
|
38
|
-
status?: string | undefined;
|
|
39
33
|
};
|
|
40
34
|
|
|
41
35
|
/** @internal */
|
|
@@ -48,7 +42,6 @@ export const McpGatewayListRequest$outboundSchema: z.ZodType<
|
|
|
48
42
|
startingAfter: z.string().optional(),
|
|
49
43
|
endingBefore: z.string().optional(),
|
|
50
44
|
search: z.string().optional(),
|
|
51
|
-
status: components.McpGatewayStatus$outboundSchema.optional(),
|
|
52
45
|
}).transform((v) => {
|
|
53
46
|
return remap$(v, {
|
|
54
47
|
startingAfter: "starting_after",
|
|
@@ -19,6 +19,9 @@ export type ModelCreateRequestBody = {
|
|
|
19
19
|
metadata: components.ModelMetadata;
|
|
20
20
|
modelDeveloper: string;
|
|
21
21
|
modelFamily: string;
|
|
22
|
+
/**
|
|
23
|
+
* Immutable workspace-unique slug when configuration.model_id is supplied.
|
|
24
|
+
*/
|
|
22
25
|
modelId: string;
|
|
23
26
|
modelType: string;
|
|
24
27
|
outputCost: number;
|
|
@@ -18,6 +18,7 @@ export type ModelCreateAwsBedrockRequestBody = {
|
|
|
18
18
|
benchmarkModel?: string | undefined;
|
|
19
19
|
cacheReadCost?: number | undefined;
|
|
20
20
|
cacheWriteCost?: number | undefined;
|
|
21
|
+
configuration?: components.PrivateModelConfiguration | undefined;
|
|
21
22
|
description?: string | undefined;
|
|
22
23
|
displayName: string;
|
|
23
24
|
hasReasoning?: boolean | undefined;
|
|
@@ -26,6 +27,9 @@ export type ModelCreateAwsBedrockRequestBody = {
|
|
|
26
27
|
maxTokens?: number | undefined;
|
|
27
28
|
modelDeveloper: string;
|
|
28
29
|
modelFamily?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Immutable workspace-unique slug when configuration.model_id is supplied.
|
|
32
|
+
*/
|
|
29
33
|
modelId: string;
|
|
30
34
|
modelType?: string | undefined;
|
|
31
35
|
outputCost?: number | undefined;
|
|
@@ -88,6 +92,7 @@ export type ModelCreateAwsBedrockRequestBody$Outbound = {
|
|
|
88
92
|
benchmark_model?: string | undefined;
|
|
89
93
|
cache_read_cost?: number | undefined;
|
|
90
94
|
cache_write_cost?: number | undefined;
|
|
95
|
+
configuration?: components.PrivateModelConfiguration$Outbound | undefined;
|
|
91
96
|
description?: string | undefined;
|
|
92
97
|
display_name: string;
|
|
93
98
|
has_reasoning?: boolean | undefined;
|
|
@@ -124,6 +129,7 @@ export const ModelCreateAwsBedrockRequestBody$outboundSchema: z.ZodType<
|
|
|
124
129
|
benchmarkModel: z.string().optional(),
|
|
125
130
|
cacheReadCost: z.number().optional(),
|
|
126
131
|
cacheWriteCost: z.number().optional(),
|
|
132
|
+
configuration: components.PrivateModelConfiguration$outboundSchema.optional(),
|
|
127
133
|
description: z.string().optional(),
|
|
128
134
|
displayName: z.string(),
|
|
129
135
|
hasReasoning: z.boolean().optional(),
|
|
@@ -15,12 +15,16 @@ export type ModelCreateOpenAILikeRequestBody = {
|
|
|
15
15
|
benchmarkModel?: string | undefined;
|
|
16
16
|
cacheReadCost?: number | undefined;
|
|
17
17
|
cacheWriteCost?: number | undefined;
|
|
18
|
+
configuration?: components.PrivateModelConfiguration | undefined;
|
|
18
19
|
costPerImage?: number | undefined;
|
|
19
20
|
description?: string | undefined;
|
|
20
21
|
displayName: string;
|
|
21
22
|
hasReasoning?: boolean | undefined;
|
|
22
23
|
inputCost?: number | undefined;
|
|
23
24
|
maxTokens?: number | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Immutable workspace-unique slug when configuration.model_id is supplied.
|
|
27
|
+
*/
|
|
24
28
|
modelId: string;
|
|
25
29
|
modelType: string;
|
|
26
30
|
outputCost?: number | undefined;
|
|
@@ -77,6 +81,7 @@ export type ModelCreateOpenAILikeRequestBody$Outbound = {
|
|
|
77
81
|
benchmark_model?: string | undefined;
|
|
78
82
|
cache_read_cost?: number | undefined;
|
|
79
83
|
cache_write_cost?: number | undefined;
|
|
84
|
+
configuration?: components.PrivateModelConfiguration$Outbound | undefined;
|
|
80
85
|
cost_per_image?: number | undefined;
|
|
81
86
|
description?: string | undefined;
|
|
82
87
|
display_name: string;
|
|
@@ -105,6 +110,7 @@ export const ModelCreateOpenAILikeRequestBody$outboundSchema: z.ZodType<
|
|
|
105
110
|
benchmarkModel: z.string().optional(),
|
|
106
111
|
cacheReadCost: z.number().optional(),
|
|
107
112
|
cacheWriteCost: z.number().optional(),
|
|
113
|
+
configuration: components.PrivateModelConfiguration$outboundSchema.optional(),
|
|
108
114
|
costPerImage: z.number().optional(),
|
|
109
115
|
description: z.string().optional(),
|
|
110
116
|
displayName: z.string(),
|
|
@@ -13,6 +13,10 @@ export type ModelCreateVertexRequestBody = {
|
|
|
13
13
|
benchmarkModel?: string | undefined;
|
|
14
14
|
configuration: components.VertexConfiguration;
|
|
15
15
|
displayName: string;
|
|
16
|
+
/**
|
|
17
|
+
* Immutable private-model slug; defaults to display_name.
|
|
18
|
+
*/
|
|
19
|
+
modelId?: string | undefined;
|
|
16
20
|
};
|
|
17
21
|
|
|
18
22
|
/**
|
|
@@ -58,6 +62,7 @@ export type ModelCreateVertexRequestBody$Outbound = {
|
|
|
58
62
|
benchmark_model?: string | undefined;
|
|
59
63
|
configuration: components.VertexConfiguration$Outbound;
|
|
60
64
|
display_name: string;
|
|
65
|
+
model_id?: string | undefined;
|
|
61
66
|
};
|
|
62
67
|
|
|
63
68
|
/** @internal */
|
|
@@ -69,10 +74,12 @@ export const ModelCreateVertexRequestBody$outboundSchema: z.ZodType<
|
|
|
69
74
|
benchmarkModel: z.string().optional(),
|
|
70
75
|
configuration: components.VertexConfiguration$outboundSchema,
|
|
71
76
|
displayName: z.string(),
|
|
77
|
+
modelId: z.string().optional(),
|
|
72
78
|
}).transform((v) => {
|
|
73
79
|
return remap$(v, {
|
|
74
80
|
benchmarkModel: "benchmark_model",
|
|
75
81
|
displayName: "display_name",
|
|
82
|
+
modelId: "model_id",
|
|
76
83
|
});
|
|
77
84
|
});
|
|
78
85
|
|
|
@@ -15,6 +15,10 @@ export type ModelUpdateRequestBody = {
|
|
|
15
15
|
hasFunctions?: boolean | undefined;
|
|
16
16
|
inputCost?: number | undefined;
|
|
17
17
|
metadata?: components.ModelMetadata | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Immutable private-model slug.
|
|
20
|
+
*/
|
|
21
|
+
modelId?: string | undefined;
|
|
18
22
|
modelType?: string | undefined;
|
|
19
23
|
outputCost?: number | undefined;
|
|
20
24
|
parameters?: Array<components.UpdateModelParameter> | undefined;
|
|
@@ -73,6 +77,7 @@ export type ModelUpdateRequestBody$Outbound = {
|
|
|
73
77
|
has_functions?: boolean | undefined;
|
|
74
78
|
input_cost?: number | undefined;
|
|
75
79
|
metadata?: components.ModelMetadata$Outbound | undefined;
|
|
80
|
+
model_id?: string | undefined;
|
|
76
81
|
model_type?: string | undefined;
|
|
77
82
|
output_cost?: number | undefined;
|
|
78
83
|
parameters?: Array<components.UpdateModelParameter$Outbound> | undefined;
|
|
@@ -89,6 +94,7 @@ export const ModelUpdateRequestBody$outboundSchema: z.ZodType<
|
|
|
89
94
|
hasFunctions: z.boolean().optional(),
|
|
90
95
|
inputCost: z.number().optional(),
|
|
91
96
|
metadata: components.ModelMetadata$outboundSchema.optional(),
|
|
97
|
+
modelId: z.string().optional(),
|
|
92
98
|
modelType: z.string().optional(),
|
|
93
99
|
outputCost: z.number().optional(),
|
|
94
100
|
parameters: z.array(components.UpdateModelParameter$outboundSchema)
|
|
@@ -99,6 +105,7 @@ export const ModelUpdateRequestBody$outboundSchema: z.ZodType<
|
|
|
99
105
|
displayName: "display_name",
|
|
100
106
|
hasFunctions: "has_functions",
|
|
101
107
|
inputCost: "input_cost",
|
|
108
|
+
modelId: "model_id",
|
|
102
109
|
modelType: "model_type",
|
|
103
110
|
outputCost: "output_cost",
|
|
104
111
|
});
|
|
@@ -17,6 +17,7 @@ export type ModelUpdateAwsBedrockRequestBody = {
|
|
|
17
17
|
benchmarkModel?: string | undefined;
|
|
18
18
|
cacheReadCost?: number | undefined;
|
|
19
19
|
cacheWriteCost?: number | undefined;
|
|
20
|
+
configuration?: components.PrivateModelConfiguration | undefined;
|
|
20
21
|
description?: string | undefined;
|
|
21
22
|
displayName?: string | undefined;
|
|
22
23
|
hasReasoning?: boolean | undefined;
|
|
@@ -92,6 +93,7 @@ export type ModelUpdateAwsBedrockRequestBody$Outbound = {
|
|
|
92
93
|
benchmark_model?: string | undefined;
|
|
93
94
|
cache_read_cost?: number | undefined;
|
|
94
95
|
cache_write_cost?: number | undefined;
|
|
96
|
+
configuration?: components.PrivateModelConfiguration$Outbound | undefined;
|
|
95
97
|
description?: string | undefined;
|
|
96
98
|
display_name?: string | undefined;
|
|
97
99
|
has_reasoning?: boolean | undefined;
|
|
@@ -125,6 +127,7 @@ export const ModelUpdateAwsBedrockRequestBody$outboundSchema: z.ZodType<
|
|
|
125
127
|
benchmarkModel: z.string().optional(),
|
|
126
128
|
cacheReadCost: z.number().optional(),
|
|
127
129
|
cacheWriteCost: z.number().optional(),
|
|
130
|
+
configuration: components.PrivateModelConfiguration$outboundSchema.optional(),
|
|
128
131
|
description: z.string().optional(),
|
|
129
132
|
displayName: z.string().optional(),
|
|
130
133
|
hasReasoning: z.boolean().optional(),
|
|
@@ -14,6 +14,7 @@ export type ModelUpdateOpenAILikeRequestBody = {
|
|
|
14
14
|
benchmarkModel?: string | undefined;
|
|
15
15
|
cacheReadCost?: number | undefined;
|
|
16
16
|
cacheWriteCost?: number | undefined;
|
|
17
|
+
configuration?: components.PrivateModelConfiguration | undefined;
|
|
17
18
|
costPerImage?: number | undefined;
|
|
18
19
|
description?: string | undefined;
|
|
19
20
|
displayName: string;
|
|
@@ -83,6 +84,7 @@ export type ModelUpdateOpenAILikeRequestBody$Outbound = {
|
|
|
83
84
|
benchmark_model?: string | undefined;
|
|
84
85
|
cache_read_cost?: number | undefined;
|
|
85
86
|
cache_write_cost?: number | undefined;
|
|
87
|
+
configuration?: components.PrivateModelConfiguration$Outbound | undefined;
|
|
86
88
|
cost_per_image?: number | undefined;
|
|
87
89
|
description?: string | undefined;
|
|
88
90
|
display_name: string;
|
|
@@ -110,6 +112,7 @@ export const ModelUpdateOpenAILikeRequestBody$outboundSchema: z.ZodType<
|
|
|
110
112
|
benchmarkModel: z.string().optional(),
|
|
111
113
|
cacheReadCost: z.number().optional(),
|
|
112
114
|
cacheWriteCost: z.number().optional(),
|
|
115
|
+
configuration: components.PrivateModelConfiguration$outboundSchema.optional(),
|
|
113
116
|
costPerImage: z.number().optional(),
|
|
114
117
|
description: z.string().optional(),
|
|
115
118
|
displayName: z.string(),
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-10-
|
|
321
|
+
"2026-10-21T16:33:23.690Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-10-
|
|
367
|
+
"2026-10-21T16:33:23.690Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -257,7 +257,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
257
257
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
258
258
|
.optional(),
|
|
259
259
|
updated: z.string().datetime({ offset: true }).default(
|
|
260
|
-
"2026-10-
|
|
260
|
+
"2026-10-21T16:33:23.690Z",
|
|
261
261
|
).transform(v => new Date(v)),
|
|
262
262
|
filter_type: z.literal("name"),
|
|
263
263
|
filter_value: z.string(),
|
|
@@ -302,7 +302,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
302
302
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
303
303
|
.optional(),
|
|
304
304
|
updated: z.string().datetime({ offset: true }).default(
|
|
305
|
-
"2026-10-
|
|
305
|
+
"2026-10-21T16:33:23.690Z",
|
|
306
306
|
).transform(v => new Date(v)),
|
|
307
307
|
filter_type: z.literal("span_type"),
|
|
308
308
|
filter_values: z.array(z.string()),
|
|
@@ -146,6 +146,10 @@ export type RetrieveAgentRequestTools = {
|
|
|
146
146
|
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
147
147
|
*/
|
|
148
148
|
toolId?: string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* Set by the API on MCP tools resolved from a whole MCP server or gateway; they are resolved again on every save.
|
|
151
|
+
*/
|
|
152
|
+
wholeServer?: boolean | undefined;
|
|
149
153
|
conditions?: Array<RetrieveAgentRequestConditions> | undefined;
|
|
150
154
|
/**
|
|
151
155
|
* Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
|
|
@@ -1513,6 +1517,7 @@ export const RetrieveAgentRequestTools$inboundSchema: z.ZodType<
|
|
|
1513
1517
|
configuration: z.record(z.any()).optional(),
|
|
1514
1518
|
requires_approval: z.boolean().default(false),
|
|
1515
1519
|
tool_id: z.string().optional(),
|
|
1520
|
+
whole_server: z.boolean().optional(),
|
|
1516
1521
|
conditions: z.array(
|
|
1517
1522
|
z.lazy(() => RetrieveAgentRequestConditions$inboundSchema),
|
|
1518
1523
|
).optional(),
|
|
@@ -1523,6 +1528,7 @@ export const RetrieveAgentRequestTools$inboundSchema: z.ZodType<
|
|
|
1523
1528
|
"display_name": "displayName",
|
|
1524
1529
|
"requires_approval": "requiresApproval",
|
|
1525
1530
|
"tool_id": "toolId",
|
|
1531
|
+
"whole_server": "wholeServer",
|
|
1526
1532
|
});
|
|
1527
1533
|
});
|
|
1528
1534
|
|
|
@@ -68,7 +68,7 @@ export type RetrieveResponseResponseBody = {
|
|
|
68
68
|
maxToolCalls: number | null;
|
|
69
69
|
memory?: components.MemoryParam | undefined;
|
|
70
70
|
/**
|
|
71
|
-
* Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string
|
|
71
|
+
* Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`).
|
|
72
72
|
*/
|
|
73
73
|
metadata: { [k: string]: string };
|
|
74
74
|
model: string;
|
|
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
624
624
|
z.ZodTypeDef,
|
|
625
625
|
unknown
|
|
626
626
|
> = z.object({
|
|
627
|
-
_id: z.string().default("
|
|
627
|
+
_id: z.string().default("tool_01M5FMZ1TCY9W962PNZ4YYQA8K"),
|
|
628
628
|
path: z.string(),
|
|
629
629
|
key: z.string(),
|
|
630
630
|
display_name: z.string().optional(),
|
|
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
820
820
|
z.ZodTypeDef,
|
|
821
821
|
unknown
|
|
822
822
|
> = z.object({
|
|
823
|
-
_id: z.string().default("
|
|
823
|
+
_id: z.string().default("tool_01M5FMZ1TCGV7SFMAMANND0TB5"),
|
|
824
824
|
path: z.string(),
|
|
825
825
|
key: z.string(),
|
|
826
826
|
display_name: z.string().optional(),
|
|
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01M5FMZ1TB67W1J180S8ZVR79Q"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1022
1022
|
z.ZodTypeDef,
|
|
1023
1023
|
unknown
|
|
1024
1024
|
> = z.object({
|
|
1025
|
-
_id: z.string().default("
|
|
1025
|
+
_id: z.string().default("tool_01M5FMZ1TBFXTFC057VTRG3WP8"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -3904,7 +3904,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3904
3904
|
z.ZodTypeDef,
|
|
3905
3905
|
Tools
|
|
3906
3906
|
> = z.object({
|
|
3907
|
-
id: z.string().default("
|
|
3907
|
+
id: z.string().default("01M5FMZ1R17MN78HV96MAREWMT"),
|
|
3908
3908
|
name: z.string(),
|
|
3909
3909
|
description: z.string().optional(),
|
|
3910
3910
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3963,7 +3963,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3963
3963
|
z.ZodTypeDef,
|
|
3964
3964
|
AgentToolInputRunTools
|
|
3965
3965
|
> = z.object({
|
|
3966
|
-
id: z.string().default("
|
|
3966
|
+
id: z.string().default("01M5FMZ1RJQNEVQYGR0WG4MK10"),
|
|
3967
3967
|
name: z.string(),
|
|
3968
3968
|
description: z.string().optional(),
|
|
3969
3969
|
schema: z.lazy(() =>
|
|
@@ -1347,6 +1347,10 @@ export type UpdateAgentTools = {
|
|
|
1347
1347
|
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
1348
1348
|
*/
|
|
1349
1349
|
toolId?: string | undefined;
|
|
1350
|
+
/**
|
|
1351
|
+
* Set by the API on MCP tools resolved from a whole MCP server or gateway; they are resolved again on every save.
|
|
1352
|
+
*/
|
|
1353
|
+
wholeServer?: boolean | undefined;
|
|
1350
1354
|
conditions?: Array<UpdateAgentConditions> | undefined;
|
|
1351
1355
|
/**
|
|
1352
1356
|
* Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
|
|
@@ -4617,6 +4621,7 @@ export const UpdateAgentTools$inboundSchema: z.ZodType<
|
|
|
4617
4621
|
configuration: z.record(z.any()).optional(),
|
|
4618
4622
|
requires_approval: z.boolean().default(false),
|
|
4619
4623
|
tool_id: z.string().optional(),
|
|
4624
|
+
whole_server: z.boolean().optional(),
|
|
4620
4625
|
conditions: z.array(z.lazy(() => UpdateAgentConditions$inboundSchema))
|
|
4621
4626
|
.optional(),
|
|
4622
4627
|
timeout: z.number().optional(),
|
|
@@ -4626,6 +4631,7 @@ export const UpdateAgentTools$inboundSchema: z.ZodType<
|
|
|
4626
4631
|
"display_name": "displayName",
|
|
4627
4632
|
"requires_approval": "requiresApproval",
|
|
4628
4633
|
"tool_id": "toolId",
|
|
4634
|
+
"whole_server": "wholeServer",
|
|
4629
4635
|
});
|
|
4630
4636
|
});
|
|
4631
4637
|
|
|
@@ -1472,7 +1472,7 @@ export type UpdatePromptRole = ClosedEnum<typeof UpdatePromptRole>;
|
|
|
1472
1472
|
|
|
1473
1473
|
export type UpdatePrompt2File = {
|
|
1474
1474
|
/**
|
|
1475
|
-
* The file data as a data URI string in the format
|
|
1475
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
1476
1476
|
*/
|
|
1477
1477
|
fileData?: string | undefined;
|
|
1478
1478
|
/**
|
|
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1764
1764
|
z.ZodTypeDef,
|
|
1765
1765
|
unknown
|
|
1766
1766
|
> = z.object({
|
|
1767
|
-
_id: z.string().default("
|
|
1767
|
+
_id: z.string().default("tool_01M5FMZ1T6YNHVKGHK9FRTXNZH"),
|
|
1768
1768
|
path: z.string(),
|
|
1769
1769
|
key: z.string(),
|
|
1770
1770
|
display_name: z.string().optional(),
|
|
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1959
1959
|
z.ZodTypeDef,
|
|
1960
1960
|
unknown
|
|
1961
1961
|
> = z.object({
|
|
1962
|
-
_id: z.string().default("
|
|
1962
|
+
_id: z.string().default("tool_01M5FMZ1T55V37TAC605RTEXSB"),
|
|
1963
1963
|
path: z.string(),
|
|
1964
1964
|
key: z.string(),
|
|
1965
1965
|
display_name: z.string().optional(),
|
|
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2054
2054
|
z.ZodTypeDef,
|
|
2055
2055
|
unknown
|
|
2056
2056
|
> = z.object({
|
|
2057
|
-
_id: z.string().default("
|
|
2057
|
+
_id: z.string().default("tool_01M5FMZ1T43QR7Z1SE7VQXA0X8"),
|
|
2058
2058
|
path: z.string(),
|
|
2059
2059
|
key: z.string(),
|
|
2060
2060
|
display_name: z.string().optional(),
|
|
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2157
2157
|
z.ZodTypeDef,
|
|
2158
2158
|
unknown
|
|
2159
2159
|
> = z.object({
|
|
2160
|
-
_id: z.string().default("
|
|
2160
|
+
_id: z.string().default("tool_01M5FMZ1T4RKJKVB84ZWD248CW"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|
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.16.
|
|
61
|
+
sdkVersion: "4.16.15",
|
|
62
62
|
genVersion: "2.950.2",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.16.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.16.15 2.950.2 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -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_01m5ftjnek8qwsgrkcptbqpajk"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1575
1575
|
z.ZodTypeDef,
|
|
1576
1576
|
unknown
|
|
1577
1577
|
> = z.object({
|
|
1578
|
-
_id: z.string().default("
|
|
1578
|
+
_id: z.string().default("tool_01M5FTJNK8KVA3B29YR3TN6XXH"),
|
|
1579
1579
|
path: z.string(),
|
|
1580
1580
|
key: z.string(),
|
|
1581
1581
|
display_name: z.string().optional(),
|
|
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1761
1761
|
z.ZodTypeDef,
|
|
1762
1762
|
unknown
|
|
1763
1763
|
> = z.object({
|
|
1764
|
-
_id: z.string().default("
|
|
1764
|
+
_id: z.string().default("tool_01M5FTJNK79CC6G3Q0K9935ASA"),
|
|
1765
1765
|
path: z.string(),
|
|
1766
1766
|
key: z.string(),
|
|
1767
1767
|
display_name: z.string().optional(),
|
|
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1854
1854
|
z.ZodTypeDef,
|
|
1855
1855
|
unknown
|
|
1856
1856
|
> = z.object({
|
|
1857
|
-
_id: z.string().default("
|
|
1857
|
+
_id: z.string().default("tool_01M5FTJNK7AWHJJGT72KBTRBKJ"),
|
|
1858
1858
|
path: z.string(),
|
|
1859
1859
|
key: z.string(),
|
|
1860
1860
|
display_name: z.string().optional(),
|
|
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1955
1955
|
z.ZodTypeDef,
|
|
1956
1956
|
unknown
|
|
1957
1957
|
> = z.object({
|
|
1958
|
-
_id: z.string().default("
|
|
1958
|
+
_id: z.string().default("tool_01M5FTJNK6CN3B440S22ZTY0JV"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
display_name: z.string().optional(),
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M5FTJNK193QM6PVW6D9FBAEQ"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M5FTJNK0HE2D28WX4X3WJ8YB"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M5FTJNJZ2NY3WA7C38YRKRXA"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M5FTJNJZ2CHD6VJFV1KWX3DG"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
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-10-
|
|
143
|
+
"2026-10-21T18:11:27.274Z",
|
|
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-10-
|
|
188
|
+
"2026-10-21T18:11:27.274Z",
|
|
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-10-
|
|
144
|
+
"2026-10-21T18:11:27.274Z",
|
|
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-10-
|
|
189
|
+
"2026-10-21T18:11:27.274Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -2525,7 +2525,7 @@ export const ListDeploymentVersionsKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
2525
2525
|
z.ZodTypeDef,
|
|
2526
2526
|
unknown
|
|
2527
2527
|
> = z.object({
|
|
2528
|
-
id: z.string().default("
|
|
2528
|
+
id: z.string().default("01M5FTJND6Y99VFK70DTM6NJWE"),
|
|
2529
2529
|
knowledge_id: z.string(),
|
|
2530
2530
|
configuration: z.union([
|
|
2531
2531
|
z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-10-
|
|
321
|
+
"2026-10-21T18:11:27.274Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-10-
|
|
367
|
+
"2026-10-21T18:11:27.274Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -245,7 +245,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
|
|
|
245
245
|
PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
246
246
|
.default("orq"),
|
|
247
247
|
explanation: z.string().optional(),
|
|
248
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
248
|
+
reviewedAt: z.date().default(() => new Date("2026-10-21T18:11:35.719Z"))
|
|
249
249
|
.transform(v => v.toISOString()),
|
|
250
250
|
type: z.literal("string_array"),
|
|
251
251
|
values: z.array(z.string()),
|
|
@@ -299,7 +299,7 @@ export const Three$outboundSchema: z.ZodType<
|
|
|
299
299
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
300
300
|
.default("orq"),
|
|
301
301
|
explanation: z.string().optional(),
|
|
302
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
302
|
+
reviewedAt: z.date().default(() => new Date("2026-10-21T18:11:35.718Z"))
|
|
303
303
|
.transform(v => v.toISOString()),
|
|
304
304
|
type: z.literal("boolean"),
|
|
305
305
|
value: z.boolean(),
|
|
@@ -353,7 +353,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
|
|
|
353
353
|
"orq",
|
|
354
354
|
),
|
|
355
355
|
explanation: z.string().optional(),
|
|
356
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
356
|
+
reviewedAt: z.date().default(() => new Date("2026-10-21T18:11:35.718Z"))
|
|
357
357
|
.transform(v => v.toISOString()),
|
|
358
358
|
type: z.literal("number"),
|
|
359
359
|
value: z.number(),
|
|
@@ -405,7 +405,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
|
|
|
405
405
|
humanReviewId: z.string().optional(),
|
|
406
406
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
407
407
|
explanation: z.string().optional(),
|
|
408
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
408
|
+
reviewedAt: z.date().default(() => new Date("2026-10-21T18:11:35.718Z"))
|
|
409
409
|
.transform(v => v.toISOString()),
|
|
410
410
|
type: z.literal("string"),
|
|
411
411
|
value: z.string(),
|
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-10-
|
|
274
|
+
"2026-10-21T18:11:27.274Z",
|
|
275
275
|
).transform(v => new Date(v)),
|
|
276
276
|
filter_type: z.literal("name"),
|
|
277
277
|
filter_value: z.string(),
|
|
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
316
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
317
|
.optional(),
|
|
318
318
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-10-
|
|
319
|
+
"2026-10-21T18:11:27.274Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|