@orq-ai/node 4.17.0-rc.43 → 4.17.0-rc.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/filecontentpartschema.d.ts +1 -1
- package/models/components/publicresponseresource.d.ts +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/redactresponse.d.ts +1 -1
- package/models/operations/createprompt.d.ts +1 -1
- package/models/operations/createrouterresponse.d.ts +3 -3
- package/models/operations/createtool.js +4 -4
- package/models/operations/deploymentgetconfig.d.ts +1 -1
- package/models/operations/deployments.d.ts +1 -1
- package/models/operations/getallprompts.d.ts +1 -1
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getoneprompt.d.ts +1 -1
- package/models/operations/getpromptversion.d.ts +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdeploymentversions.d.ts +1 -1
- package/models/operations/listdeploymentversions.js +1 -1
- package/models/operations/listpromptversions.d.ts +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveresponse.d.ts +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateprompt.d.ts +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +7 -7
- package/src/lib/config.ts +3 -3
- package/src/models/components/filecontentpartschema.ts +1 -1
- package/src/models/components/publicresponseresource.ts +1 -1
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/redactresponse.ts +1 -1
- package/src/models/operations/createprompt.ts +1 -1
- package/src/models/operations/createrouterresponse.ts +3 -3
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/deploymentgetconfig.ts +1 -1
- package/src/models/operations/deployments.ts +1 -1
- package/src/models/operations/getallprompts.ts +1 -1
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getoneprompt.ts +1 -1
- package/src/models/operations/getpromptversion.ts +1 -1
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdeploymentversions.ts +2 -2
- package/src/models/operations/listpromptversions.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveresponse.ts +1 -1
- 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/updateprompt.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "2.0";
|
|
34
|
-
readonly sdkVersion: "4.17.0-rc.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 4.17.0-rc.
|
|
34
|
+
readonly sdkVersion: "4.17.0-rc.45";
|
|
35
|
+
readonly genVersion: "2.950.2";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 4.17.0-rc.45 2.950.2 2.0 @orq-ai/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "2.0",
|
|
31
|
-
sdkVersion: "4.17.0-rc.
|
|
32
|
-
genVersion: "2.
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 4.17.0-rc.
|
|
31
|
+
sdkVersion: "4.17.0-rc.45",
|
|
32
|
+
genVersion: "2.950.2",
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 4.17.0-rc.45 2.950.2 2.0 @orq-ai/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -6,7 +6,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
6
6
|
*/
|
|
7
7
|
export type FileContentPartSchema = {
|
|
8
8
|
/**
|
|
9
|
-
* The file data as a data URI string in the format
|
|
9
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
10
10
|
*/
|
|
11
11
|
fileData?: string | undefined;
|
|
12
12
|
/**
|
|
@@ -51,7 +51,7 @@ export type PublicResponseResource = {
|
|
|
51
51
|
maxToolCalls: number | null;
|
|
52
52
|
memory?: MemoryParam | undefined;
|
|
53
53
|
/**
|
|
54
|
-
* Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string
|
|
54
|
+
* Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`).
|
|
55
55
|
*/
|
|
56
56
|
metadata: {
|
|
57
57
|
[k: string]: string;
|
|
@@ -43,7 +43,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.ReasoningPart$inboundSchema = z.object({
|
|
46
|
-
_id: z.string().default("
|
|
46
|
+
_id: z.string().default("reasoning_01m5cdvh873321emb6nbhp74cn"),
|
|
47
47
|
metadata: z.record(z.any()).optional(),
|
|
48
48
|
kind: z.literal("reasoning"),
|
|
49
49
|
reasoning: z.string(),
|
|
@@ -4,7 +4,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
export type RedactResponse = {
|
|
5
5
|
redactedText?: string | undefined;
|
|
6
6
|
/**
|
|
7
|
-
* Maps each placeholder (e.g.
|
|
7
|
+
* Maps each placeholder (e.g. `<PERSON_1>`) to the original value it replaced.
|
|
8
8
|
*/
|
|
9
9
|
mappings?: {
|
|
10
10
|
[k: string]: string;
|
|
@@ -1228,7 +1228,7 @@ export declare const CreatePromptRole: {
|
|
|
1228
1228
|
export type CreatePromptRole = ClosedEnum<typeof CreatePromptRole>;
|
|
1229
1229
|
export type CreatePrompt2File = {
|
|
1230
1230
|
/**
|
|
1231
|
-
* The file data as a data URI string in the format
|
|
1231
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
1232
1232
|
*/
|
|
1233
1233
|
fileData?: string | undefined;
|
|
1234
1234
|
/**
|
|
@@ -884,13 +884,13 @@ export type CreateRouterResponseRequestBody = {
|
|
|
884
884
|
maxToolCalls?: number | undefined;
|
|
885
885
|
memory?: components.MemoryParam | undefined;
|
|
886
886
|
/**
|
|
887
|
-
* Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string
|
|
887
|
+
* Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`). Non-string values are rejected with a 400.
|
|
888
888
|
*/
|
|
889
889
|
metadata?: {
|
|
890
890
|
[k: string]: string;
|
|
891
891
|
} | undefined;
|
|
892
892
|
/**
|
|
893
|
-
* The model to use in provider/model format (e.g. openai/gpt-4o). Use agent/<key
|
|
893
|
+
* The model to use in provider/model format (e.g. openai/gpt-4o). Use `agent/<key>` to invoke a pre-configured agent from the orq.ai platform.
|
|
894
894
|
*/
|
|
895
895
|
model?: string | undefined;
|
|
896
896
|
/**
|
|
@@ -1077,7 +1077,7 @@ export type CreateRouterResponseResponseBody = {
|
|
|
1077
1077
|
maxToolCalls: number | null;
|
|
1078
1078
|
memory?: components.MemoryParam | undefined;
|
|
1079
1079
|
/**
|
|
1080
|
-
* Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string
|
|
1080
|
+
* Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`).
|
|
1081
1081
|
*/
|
|
1082
1082
|
metadata: {
|
|
1083
1083
|
[k: string]: string;
|
|
@@ -472,7 +472,7 @@ function responseBodyCodeToolFromJSON(jsonString) {
|
|
|
472
472
|
}
|
|
473
473
|
/** @internal */
|
|
474
474
|
exports.ResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
475
|
-
_id: z.string().default("
|
|
475
|
+
_id: z.string().default("tool_01M5CDVHD19FNRDX0TF4QZK3ZY"),
|
|
476
476
|
path: z.string(),
|
|
477
477
|
key: z.string(),
|
|
478
478
|
display_name: z.string().optional(),
|
|
@@ -562,7 +562,7 @@ function responseBodyHttpFromJSON(jsonString) {
|
|
|
562
562
|
}
|
|
563
563
|
/** @internal */
|
|
564
564
|
exports.ResponseBodyHTTPTool$inboundSchema = z.object({
|
|
565
|
-
_id: z.string().default("
|
|
565
|
+
_id: z.string().default("tool_01M5CDVHD0ZZWMH0XPH5MPVS7W"),
|
|
566
566
|
path: z.string(),
|
|
567
567
|
key: z.string(),
|
|
568
568
|
display_name: z.string().optional(),
|
|
@@ -612,7 +612,7 @@ function responseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
612
612
|
}
|
|
613
613
|
/** @internal */
|
|
614
614
|
exports.ResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
615
|
-
_id: z.string().default("
|
|
615
|
+
_id: z.string().default("tool_01M5CDVHD008W4QR7SPZJEXW7J"),
|
|
616
616
|
path: z.string(),
|
|
617
617
|
key: z.string(),
|
|
618
618
|
display_name: z.string().optional(),
|
|
@@ -665,7 +665,7 @@ function responseBodyFunctionFromJSON(jsonString) {
|
|
|
665
665
|
}
|
|
666
666
|
/** @internal */
|
|
667
667
|
exports.ResponseBodyFunctionTool$inboundSchema = z.object({
|
|
668
|
-
_id: z.string().default("
|
|
668
|
+
_id: z.string().default("tool_01M5CDVHCXW0XNWX0QY9NE9BCF"),
|
|
669
669
|
path: z.string(),
|
|
670
670
|
key: z.string(),
|
|
671
671
|
display_name: z.string().optional(),
|
|
@@ -935,7 +935,7 @@ export declare const DeploymentGetConfigRole: {
|
|
|
935
935
|
export type DeploymentGetConfigRole = ClosedEnum<typeof DeploymentGetConfigRole>;
|
|
936
936
|
export type DeploymentGetConfig2File = {
|
|
937
937
|
/**
|
|
938
|
-
* The file data as a data URI string in the format
|
|
938
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
939
939
|
*/
|
|
940
940
|
fileData?: string | undefined;
|
|
941
941
|
/**
|
|
@@ -456,7 +456,7 @@ export declare const DeploymentsRole: {
|
|
|
456
456
|
export type DeploymentsRole = ClosedEnum<typeof DeploymentsRole>;
|
|
457
457
|
export type Deployments2File = {
|
|
458
458
|
/**
|
|
459
|
-
* The file data as a data URI string in the format
|
|
459
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
460
460
|
*/
|
|
461
461
|
fileData?: string | undefined;
|
|
462
462
|
/**
|
|
@@ -404,7 +404,7 @@ export declare const GetAllPromptsRole: {
|
|
|
404
404
|
export type GetAllPromptsRole = ClosedEnum<typeof GetAllPromptsRole>;
|
|
405
405
|
export type GetAllPrompts2File = {
|
|
406
406
|
/**
|
|
407
|
-
* The file data as a data URI string in the format
|
|
407
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
408
408
|
*/
|
|
409
409
|
fileData?: string | undefined;
|
|
410
410
|
/**
|
|
@@ -172,7 +172,7 @@ function dataCodeToolFromJSON(jsonString) {
|
|
|
172
172
|
}
|
|
173
173
|
/** @internal */
|
|
174
174
|
exports.DataCodeExecutionTool$inboundSchema = z.object({
|
|
175
|
-
_id: z.string().default("
|
|
175
|
+
_id: z.string().default("tool_01M5CDVHCRRD9ZHHMRSZT8WC76"),
|
|
176
176
|
path: z.string(),
|
|
177
177
|
key: z.string(),
|
|
178
178
|
display_name: z.string().optional(),
|
|
@@ -261,7 +261,7 @@ function dataHttpFromJSON(jsonString) {
|
|
|
261
261
|
}
|
|
262
262
|
/** @internal */
|
|
263
263
|
exports.DataHTTPTool$inboundSchema = z.object({
|
|
264
|
-
_id: z.string().default("
|
|
264
|
+
_id: z.string().default("tool_01M5CDVHCQQ1F6FX15FDC866YP"),
|
|
265
265
|
path: z.string(),
|
|
266
266
|
key: z.string(),
|
|
267
267
|
display_name: z.string().optional(),
|
|
@@ -311,7 +311,7 @@ function dataJsonSchemaFromJSON(jsonString) {
|
|
|
311
311
|
}
|
|
312
312
|
/** @internal */
|
|
313
313
|
exports.DataJSONSchemaTool$inboundSchema = z.object({
|
|
314
|
-
_id: z.string().default("
|
|
314
|
+
_id: z.string().default("tool_01M5CDVHCPC0S8PXGA4WH9CA4S"),
|
|
315
315
|
path: z.string(),
|
|
316
316
|
key: z.string(),
|
|
317
317
|
display_name: z.string().optional(),
|
|
@@ -366,7 +366,7 @@ function dataFunctionFromJSON(jsonString) {
|
|
|
366
366
|
}
|
|
367
367
|
/** @internal */
|
|
368
368
|
exports.DataFunctionTool$inboundSchema = z.object({
|
|
369
|
-
_id: z.string().default("
|
|
369
|
+
_id: z.string().default("tool_01M5CDVHCPTWN3YTYXPM18F5K4"),
|
|
370
370
|
path: z.string(),
|
|
371
371
|
key: z.string(),
|
|
372
372
|
display_name: z.string().optional(),
|
|
@@ -392,7 +392,7 @@ export declare const GetOnePromptRole: {
|
|
|
392
392
|
export type GetOnePromptRole = ClosedEnum<typeof GetOnePromptRole>;
|
|
393
393
|
export type GetOnePrompt2File = {
|
|
394
394
|
/**
|
|
395
|
-
* The file data as a data URI string in the format
|
|
395
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
396
396
|
*/
|
|
397
397
|
fileData?: string | undefined;
|
|
398
398
|
/**
|
|
@@ -392,7 +392,7 @@ export declare const GetPromptVersionRole: {
|
|
|
392
392
|
export type GetPromptVersionRole = ClosedEnum<typeof GetPromptVersionRole>;
|
|
393
393
|
export type GetPromptVersion2File = {
|
|
394
394
|
/**
|
|
395
|
-
* The file data as a data URI string in the format
|
|
395
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
396
396
|
*/
|
|
397
397
|
fileData?: string | undefined;
|
|
398
398
|
/**
|
|
@@ -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-10-
|
|
70
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T10:31:23.422Z").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-10-
|
|
101
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T10:31:23.422Z").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-10-
|
|
66
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T10:31:23.422Z").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-10-
|
|
97
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T10:31:23.422Z").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) => {
|
|
@@ -407,7 +407,7 @@ export declare const ListDeploymentVersionsRole: {
|
|
|
407
407
|
export type ListDeploymentVersionsRole = ClosedEnum<typeof ListDeploymentVersionsRole>;
|
|
408
408
|
export type ListDeploymentVersions2File = {
|
|
409
409
|
/**
|
|
410
|
-
* The file data as a data URI string in the format
|
|
410
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
411
411
|
*/
|
|
412
412
|
fileData?: string | undefined;
|
|
413
413
|
/**
|
|
@@ -1011,7 +1011,7 @@ function knowledgeBaseConfigurationFromJSON(jsonString) {
|
|
|
1011
1011
|
}
|
|
1012
1012
|
/** @internal */
|
|
1013
1013
|
exports.ListDeploymentVersionsKnowledgeBases$inboundSchema = z.object({
|
|
1014
|
-
id: z.string().default("
|
|
1014
|
+
id: z.string().default("01M5CDVH6WGQ7CQZ526M2NKZFJ"),
|
|
1015
1015
|
knowledge_id: z.string(),
|
|
1016
1016
|
configuration: z.union([
|
|
1017
1017
|
z.lazy(() => exports.KnowledgeBaseLastUserMessage$inboundSchema),
|
|
@@ -401,7 +401,7 @@ export declare const ListPromptVersionsRole: {
|
|
|
401
401
|
export type ListPromptVersionsRole = ClosedEnum<typeof ListPromptVersionsRole>;
|
|
402
402
|
export type ListPromptVersions2File = {
|
|
403
403
|
/**
|
|
404
|
-
* The file data as a data URI string in the format
|
|
404
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
405
405
|
*/
|
|
406
406
|
fileData?: string | undefined;
|
|
407
407
|
/**
|
|
@@ -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-10-
|
|
125
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T10:31:23.422Z").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-10-
|
|
156
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T10:31:23.422Z").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) => {
|
|
@@ -106,7 +106,7 @@ exports.PostV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
106
106
|
updated_by_id: z.string().optional(),
|
|
107
107
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
108
108
|
.optional(),
|
|
109
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
109
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T10:31:23.422Z").transform(v => new Date(v)),
|
|
110
110
|
filter_type: z.literal("name"),
|
|
111
111
|
filter_value: z.string(),
|
|
112
112
|
}).transform((v) => {
|
|
@@ -137,7 +137,7 @@ exports.PostV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
137
137
|
updated_by_id: z.string().optional(),
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
140
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T10:31:23.422Z").transform(v => new Date(v)),
|
|
141
141
|
filter_type: z.literal("span_type"),
|
|
142
142
|
filter_values: z.array(z.string()),
|
|
143
143
|
}).transform((v) => {
|
|
@@ -53,7 +53,7 @@ export type RetrieveResponseResponseBody = {
|
|
|
53
53
|
maxToolCalls: number | null;
|
|
54
54
|
memory?: components.MemoryParam | undefined;
|
|
55
55
|
/**
|
|
56
|
-
* Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string
|
|
56
|
+
* Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`).
|
|
57
57
|
*/
|
|
58
58
|
metadata: {
|
|
59
59
|
[k: string]: string;
|
|
@@ -164,7 +164,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
164
164
|
}
|
|
165
165
|
/** @internal */
|
|
166
166
|
exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
167
|
-
_id: z.string().default("
|
|
167
|
+
_id: z.string().default("tool_01M5CDVHDH120BD87ZEFBBRWEB"),
|
|
168
168
|
path: z.string(),
|
|
169
169
|
key: z.string(),
|
|
170
170
|
display_name: z.string().optional(),
|
|
@@ -253,7 +253,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
253
253
|
}
|
|
254
254
|
/** @internal */
|
|
255
255
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
256
|
-
_id: z.string().default("
|
|
256
|
+
_id: z.string().default("tool_01M5CDVHDGETAB18WMV251RK17"),
|
|
257
257
|
path: z.string(),
|
|
258
258
|
key: z.string(),
|
|
259
259
|
display_name: z.string().optional(),
|
|
@@ -303,7 +303,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
303
303
|
}
|
|
304
304
|
/** @internal */
|
|
305
305
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
306
|
-
_id: z.string().default("
|
|
306
|
+
_id: z.string().default("tool_01M5CDVHDFQZKVQHFRKJQE10WN"),
|
|
307
307
|
path: z.string(),
|
|
308
308
|
key: z.string(),
|
|
309
309
|
display_name: z.string().optional(),
|
|
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
357
357
|
}
|
|
358
358
|
/** @internal */
|
|
359
359
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
360
|
-
_id: z.string().default("
|
|
360
|
+
_id: z.string().default("tool_01M5CDVHDEGAG6NNH34RR2YF0S"),
|
|
361
361
|
path: z.string(),
|
|
362
362
|
key: z.string(),
|
|
363
363
|
display_name: z.string().optional(),
|
|
@@ -1102,7 +1102,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
|
|
|
1102
1102
|
}
|
|
1103
1103
|
/** @internal */
|
|
1104
1104
|
exports.Tools$outboundSchema = z.object({
|
|
1105
|
-
id: z.string().default("
|
|
1105
|
+
id: z.string().default("01M5CDVHA5KW62N7SGFWS60VWP"),
|
|
1106
1106
|
name: z.string(),
|
|
1107
1107
|
description: z.string().optional(),
|
|
1108
1108
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -1068,7 +1068,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
|
|
|
1068
1068
|
}
|
|
1069
1069
|
/** @internal */
|
|
1070
1070
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
1071
|
-
id: z.string().default("
|
|
1071
|
+
id: z.string().default("01M5CDVHAXC6FHVMC0RJ90C447"),
|
|
1072
1072
|
name: z.string(),
|
|
1073
1073
|
description: z.string().optional(),
|
|
1074
1074
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -1241,7 +1241,7 @@ export declare const UpdatePromptRole: {
|
|
|
1241
1241
|
export type UpdatePromptRole = ClosedEnum<typeof UpdatePromptRole>;
|
|
1242
1242
|
export type UpdatePrompt2File = {
|
|
1243
1243
|
/**
|
|
1244
|
-
* The file data as a data URI string in the format
|
|
1244
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
1245
1245
|
*/
|
|
1246
1246
|
fileData?: string | undefined;
|
|
1247
1247
|
/**
|
|
@@ -536,7 +536,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
536
536
|
}
|
|
537
537
|
/** @internal */
|
|
538
538
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
539
|
-
_id: z.string().default("
|
|
539
|
+
_id: z.string().default("tool_01M5CDVHD76BCVVHZ4ZQQ4RNBH"),
|
|
540
540
|
path: z.string(),
|
|
541
541
|
key: z.string(),
|
|
542
542
|
display_name: z.string().optional(),
|
|
@@ -625,7 +625,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
625
625
|
}
|
|
626
626
|
/** @internal */
|
|
627
627
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
628
|
-
_id: z.string().default("
|
|
628
|
+
_id: z.string().default("tool_01M5CDVHD6S6KZS3ZDTEJW1M7Z"),
|
|
629
629
|
path: z.string(),
|
|
630
630
|
key: z.string(),
|
|
631
631
|
display_name: z.string().optional(),
|
|
@@ -675,7 +675,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
675
675
|
}
|
|
676
676
|
/** @internal */
|
|
677
677
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
678
|
-
_id: z.string().default("
|
|
678
|
+
_id: z.string().default("tool_01M5CDVHD5YVWXH0S1006WKK22"),
|
|
679
679
|
path: z.string(),
|
|
680
680
|
key: z.string(),
|
|
681
681
|
display_name: z.string().optional(),
|
|
@@ -729,7 +729,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
729
729
|
}
|
|
730
730
|
/** @internal */
|
|
731
731
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
732
|
-
_id: z.string().default("
|
|
732
|
+
_id: z.string().default("tool_01M5CDVHD58Y596R1RGG00WJ18"),
|
|
733
733
|
path: z.string(),
|
|
734
734
|
key: z.string(),
|
|
735
735
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "4.17.0-rc.
|
|
3
|
+
"version": "4.17.0-rc.45",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
|
-
"./langchain": {
|
|
7
|
-
"import": "./langchain/index.mjs",
|
|
8
|
-
"require": "./langchain/index.js",
|
|
9
|
-
"types": "./langchain/index.d.mts"
|
|
10
|
-
},
|
|
11
6
|
".": {
|
|
12
7
|
"import": "./index.js",
|
|
13
8
|
"require": "./index.js",
|
|
14
9
|
"types": "./index.d.ts"
|
|
15
10
|
},
|
|
16
|
-
"./*": "./*"
|
|
11
|
+
"./*": "./*",
|
|
12
|
+
"./langchain": {
|
|
13
|
+
"import": "./langchain/index.mjs",
|
|
14
|
+
"require": "./langchain/index.js",
|
|
15
|
+
"types": "./langchain/index.d.mts"
|
|
16
|
+
}
|
|
17
17
|
},
|
|
18
18
|
"main": "./index.js",
|
|
19
19
|
"sideEffects": false,
|
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.17.0-rc.
|
|
62
|
-
genVersion: "2.
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.17.0-rc.
|
|
61
|
+
sdkVersion: "4.17.0-rc.45",
|
|
62
|
+
genVersion: "2.950.2",
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.17.0-rc.45 2.950.2 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -13,7 +13,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
13
13
|
*/
|
|
14
14
|
export type FileContentPartSchema = {
|
|
15
15
|
/**
|
|
16
|
-
* The file data as a data URI string in the format
|
|
16
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
17
17
|
*/
|
|
18
18
|
fileData?: string | undefined;
|
|
19
19
|
/**
|
|
@@ -75,7 +75,7 @@ export type PublicResponseResource = {
|
|
|
75
75
|
maxToolCalls: number | null;
|
|
76
76
|
memory?: MemoryParam | undefined;
|
|
77
77
|
/**
|
|
78
|
-
* Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string
|
|
78
|
+
* Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`).
|
|
79
79
|
*/
|
|
80
80
|
metadata: { [k: string]: string };
|
|
81
81
|
model: 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_01m5cdvh873321emb6nbhp74cn"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
export type RedactResponse = {
|
|
12
12
|
redactedText?: string | undefined;
|
|
13
13
|
/**
|
|
14
|
-
* Maps each placeholder (e.g.
|
|
14
|
+
* Maps each placeholder (e.g. `<PERSON_1>`) to the original value it replaced.
|
|
15
15
|
*/
|
|
16
16
|
mappings?: { [k: string]: string } | undefined;
|
|
17
17
|
};
|
|
@@ -1450,7 +1450,7 @@ export type CreatePromptRole = ClosedEnum<typeof CreatePromptRole>;
|
|
|
1450
1450
|
|
|
1451
1451
|
export type CreatePrompt2File = {
|
|
1452
1452
|
/**
|
|
1453
|
-
* The file data as a data URI string in the format
|
|
1453
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
1454
1454
|
*/
|
|
1455
1455
|
fileData?: string | undefined;
|
|
1456
1456
|
/**
|
|
@@ -947,11 +947,11 @@ export type CreateRouterResponseRequestBody = {
|
|
|
947
947
|
maxToolCalls?: number | undefined;
|
|
948
948
|
memory?: components.MemoryParam | undefined;
|
|
949
949
|
/**
|
|
950
|
-
* Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string
|
|
950
|
+
* Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`). Non-string values are rejected with a 400.
|
|
951
951
|
*/
|
|
952
952
|
metadata?: { [k: string]: string } | undefined;
|
|
953
953
|
/**
|
|
954
|
-
* The model to use in provider/model format (e.g. openai/gpt-4o). Use agent/<key
|
|
954
|
+
* The model to use in provider/model format (e.g. openai/gpt-4o). Use `agent/<key>` to invoke a pre-configured agent from the orq.ai platform.
|
|
955
955
|
*/
|
|
956
956
|
model?: string | undefined;
|
|
957
957
|
/**
|
|
@@ -1132,7 +1132,7 @@ export type CreateRouterResponseResponseBody = {
|
|
|
1132
1132
|
maxToolCalls: number | null;
|
|
1133
1133
|
memory?: components.MemoryParam | undefined;
|
|
1134
1134
|
/**
|
|
1135
|
-
* Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string
|
|
1135
|
+
* Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`).
|
|
1136
1136
|
*/
|
|
1137
1137
|
metadata: { [k: string]: string };
|
|
1138
1138
|
model: 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_01M5CDVHD19FNRDX0TF4QZK3ZY"),
|
|
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_01M5CDVHD0ZZWMH0XPH5MPVS7W"),
|
|
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_01M5CDVHD008W4QR7SPZJEXW7J"),
|
|
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_01M5CDVHCXW0XNWX0QY9NE9BCF"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
display_name: z.string().optional(),
|
|
@@ -1220,7 +1220,7 @@ export type DeploymentGetConfigRole = ClosedEnum<
|
|
|
1220
1220
|
|
|
1221
1221
|
export type DeploymentGetConfig2File = {
|
|
1222
1222
|
/**
|
|
1223
|
-
* The file data as a data URI string in the format
|
|
1223
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
1224
1224
|
*/
|
|
1225
1225
|
fileData?: string | undefined;
|
|
1226
1226
|
/**
|
|
@@ -528,7 +528,7 @@ export type DeploymentsRole = ClosedEnum<typeof DeploymentsRole>;
|
|
|
528
528
|
|
|
529
529
|
export type Deployments2File = {
|
|
530
530
|
/**
|
|
531
|
-
* The file data as a data URI string in the format
|
|
531
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
532
532
|
*/
|
|
533
533
|
fileData?: string | undefined;
|
|
534
534
|
/**
|
|
@@ -479,7 +479,7 @@ export type GetAllPromptsRole = ClosedEnum<typeof GetAllPromptsRole>;
|
|
|
479
479
|
|
|
480
480
|
export type GetAllPrompts2File = {
|
|
481
481
|
/**
|
|
482
|
-
* The file data as a data URI string in the format
|
|
482
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
483
483
|
*/
|
|
484
484
|
fileData?: string | undefined;
|
|
485
485
|
/**
|
|
@@ -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_01M5CDVHCRRD9ZHHMRSZT8WC76"),
|
|
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_01M5CDVHCQQ1F6FX15FDC866YP"),
|
|
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_01M5CDVHCPC0S8PXGA4WH9CA4S"),
|
|
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_01M5CDVHCPTWN3YTYXPM18F5K4"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|
|
@@ -463,7 +463,7 @@ export type GetOnePromptRole = ClosedEnum<typeof GetOnePromptRole>;
|
|
|
463
463
|
|
|
464
464
|
export type GetOnePrompt2File = {
|
|
465
465
|
/**
|
|
466
|
-
* The file data as a data URI string in the format
|
|
466
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
467
467
|
*/
|
|
468
468
|
fileData?: string | undefined;
|
|
469
469
|
/**
|
|
@@ -471,7 +471,7 @@ export type GetPromptVersionRole = ClosedEnum<typeof GetPromptVersionRole>;
|
|
|
471
471
|
|
|
472
472
|
export type GetPromptVersion2File = {
|
|
473
473
|
/**
|
|
474
|
-
* The file data as a data URI string in the format
|
|
474
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
475
475
|
*/
|
|
476
476
|
fileData?: string | undefined;
|
|
477
477
|
/**
|
|
@@ -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-20T10:31:23.422Z",
|
|
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-20T10:31:23.422Z",
|
|
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-20T10:31:23.422Z",
|
|
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-20T10:31:23.422Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -489,7 +489,7 @@ export type ListDeploymentVersionsRole = ClosedEnum<
|
|
|
489
489
|
|
|
490
490
|
export type ListDeploymentVersions2File = {
|
|
491
491
|
/**
|
|
492
|
-
* The file data as a data URI string in the format
|
|
492
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
493
493
|
*/
|
|
494
494
|
fileData?: string | undefined;
|
|
495
495
|
/**
|
|
@@ -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("01M5CDVH6WGQ7CQZ526M2NKZFJ"),
|
|
2529
2529
|
knowledge_id: z.string(),
|
|
2530
2530
|
configuration: z.union([
|
|
2531
2531
|
z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
|
|
@@ -485,7 +485,7 @@ export type ListPromptVersionsRole = ClosedEnum<typeof ListPromptVersionsRole>;
|
|
|
485
485
|
|
|
486
486
|
export type ListPromptVersions2File = {
|
|
487
487
|
/**
|
|
488
|
-
* The file data as a data URI string in the format
|
|
488
|
+
* The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
|
|
489
489
|
*/
|
|
490
490
|
fileData?: string | undefined;
|
|
491
491
|
/**
|
|
@@ -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-20T10:31:23.422Z",
|
|
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-20T10:31:23.422Z",
|
|
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-20T10:31:23.422Z",
|
|
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-20T10:31:23.422Z",
|
|
306
306
|
).transform(v => new Date(v)),
|
|
307
307
|
filter_type: z.literal("span_type"),
|
|
308
308
|
filter_values: z.array(z.string()),
|
|
@@ -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_01M5CDVHDH120BD87ZEFBBRWEB"),
|
|
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_01M5CDVHDGETAB18WMV251RK17"),
|
|
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_01M5CDVHDFQZKVQHFRKJQE10WN"),
|
|
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_01M5CDVHDEGAG6NNH34RR2YF0S"),
|
|
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("01M5CDVHA5KW62N7SGFWS60VWP"),
|
|
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("01M5CDVHAXC6FHVMC0RJ90C447"),
|
|
3967
3967
|
name: z.string(),
|
|
3968
3968
|
description: z.string().optional(),
|
|
3969
3969
|
schema: z.lazy(() =>
|
|
@@ -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_01M5CDVHD76BCVVHZ4ZQQ4RNBH"),
|
|
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_01M5CDVHD6S6KZS3ZDTEJW1M7Z"),
|
|
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_01M5CDVHD5YVWXH0S1006WKK22"),
|
|
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_01M5CDVHD58Y596R1RGG00WJ18"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|