@orq-ai/node 4.9.2 → 4.9.4
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/langchain/async-handler.d.mts.map +1 -1
- package/langchain/async-handler.mjs +8 -11
- package/langchain/async-handler.mjs.map +1 -1
- package/langchain/events.d.mts.map +1 -1
- package/langchain/events.mjs +12 -0
- package/langchain/events.mjs.map +1 -1
- package/langchain/handler.d.mts.map +1 -1
- package/langchain/handler.mjs +8 -11
- package/langchain/handler.mjs.map +1 -1
- package/langchain/span-builder.mjs +3 -3
- package/langchain/span-builder.mjs.map +1 -1
- package/langchain/utils.d.mts.map +1 -1
- package/langchain/utils.mjs +115 -0
- package/langchain/utils.mjs.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createrouterresponse.d.ts +6 -11
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +2 -8
- 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/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/modelref.ts +6 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +3 -3
- package/packages/orq-rc/src/models/operations/createcontact.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdataset.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +31 -31
- package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/createknowledge.ts +9 -9
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +3 -3
- package/packages/orq-rc/src/models/operations/createprompt.ts +3 -3
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +3 -24
- package/packages/orq-rc/src/models/operations/createtool.ts +36 -36
- package/packages/orq-rc/src/models/operations/getalltools.ts +21 -21
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +6 -6
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/listagents.ts +3 -3
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +6 -6
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +3 -3
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrieveidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +21 -21
- package/packages/orq-rc/src/models/operations/runagent.ts +4 -4
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +4 -4
- package/packages/orq-rc/src/models/operations/updateagent.ts +6 -6
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +12 -12
- package/packages/orq-rc/src/models/operations/updateprompt.ts +3 -3
- package/packages/orq-rc/src/models/operations/updatetool.ts +37 -37
- package/src/lib/config.ts +3 -3
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createrouterresponse.ts +3 -24
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -879,13 +879,13 @@ export type UpdatePromptRequestBody = {
|
|
|
879
879
|
prompt?: UpdatePromptPromptInput | undefined;
|
|
880
880
|
metadata?: UpdatePromptMetadata | undefined;
|
|
881
881
|
/**
|
|
882
|
-
* Entity storage path
|
|
882
|
+
* Entity storage path.
|
|
883
883
|
*
|
|
884
884
|
* @remarks
|
|
885
885
|
*
|
|
886
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
886
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
887
887
|
*
|
|
888
|
-
* With project-
|
|
888
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
889
889
|
*/
|
|
890
890
|
path?: string | undefined;
|
|
891
891
|
};
|
|
@@ -93,13 +93,13 @@ export type UpdateToolRequestBodyToolsRequest5VersionIncrement = ClosedEnum<
|
|
|
93
93
|
*/
|
|
94
94
|
export type UpdateCodeExecutionTool = {
|
|
95
95
|
/**
|
|
96
|
-
* Entity storage path
|
|
96
|
+
* Entity storage path.
|
|
97
97
|
*
|
|
98
98
|
* @remarks
|
|
99
99
|
*
|
|
100
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
100
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
101
101
|
*
|
|
102
|
-
* With project-
|
|
102
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
103
103
|
*/
|
|
104
104
|
path?: string | undefined;
|
|
105
105
|
/**
|
|
@@ -214,13 +214,13 @@ export type UpdateToolRequestBodyToolsRequestVersionIncrement = ClosedEnum<
|
|
|
214
214
|
*/
|
|
215
215
|
export type UpdateMCPTool = {
|
|
216
216
|
/**
|
|
217
|
-
* Entity storage path
|
|
217
|
+
* Entity storage path.
|
|
218
218
|
*
|
|
219
219
|
* @remarks
|
|
220
220
|
*
|
|
221
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
221
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
222
222
|
*
|
|
223
|
-
* With project-
|
|
223
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
224
224
|
*/
|
|
225
225
|
path?: string | undefined;
|
|
226
226
|
/**
|
|
@@ -373,13 +373,13 @@ export type UpdateToolRequestBodyToolsVersionIncrement = ClosedEnum<
|
|
|
373
373
|
*/
|
|
374
374
|
export type UpdateHTTPTool = {
|
|
375
375
|
/**
|
|
376
|
-
* Entity storage path
|
|
376
|
+
* Entity storage path.
|
|
377
377
|
*
|
|
378
378
|
* @remarks
|
|
379
379
|
*
|
|
380
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
380
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
381
381
|
*
|
|
382
|
-
* With project-
|
|
382
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
383
383
|
*/
|
|
384
384
|
path?: string | undefined;
|
|
385
385
|
/**
|
|
@@ -472,13 +472,13 @@ export type UpdateToolRequestBodyVersionIncrement = ClosedEnum<
|
|
|
472
472
|
*/
|
|
473
473
|
export type UpdateJSONSchemaTool = {
|
|
474
474
|
/**
|
|
475
|
-
* Entity storage path
|
|
475
|
+
* Entity storage path.
|
|
476
476
|
*
|
|
477
477
|
* @remarks
|
|
478
478
|
*
|
|
479
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
479
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
480
480
|
*
|
|
481
|
-
* With project-
|
|
481
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
482
482
|
*/
|
|
483
483
|
path?: string | undefined;
|
|
484
484
|
/**
|
|
@@ -584,13 +584,13 @@ export type RequestBodyVersionIncrement = ClosedEnum<
|
|
|
584
584
|
*/
|
|
585
585
|
export type UpdateFunctionTool = {
|
|
586
586
|
/**
|
|
587
|
-
* Entity storage path
|
|
587
|
+
* Entity storage path.
|
|
588
588
|
*
|
|
589
589
|
* @remarks
|
|
590
590
|
*
|
|
591
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
591
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
592
592
|
*
|
|
593
|
-
* With project-
|
|
593
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
594
594
|
*/
|
|
595
595
|
path?: string | undefined;
|
|
596
596
|
/**
|
|
@@ -712,13 +712,13 @@ export type UpdateToolResponseBodyCodeTool = {
|
|
|
712
712
|
export type UpdateToolResponseBodyCodeExecutionTool = {
|
|
713
713
|
id: string;
|
|
714
714
|
/**
|
|
715
|
-
* Entity storage path
|
|
715
|
+
* Entity storage path.
|
|
716
716
|
*
|
|
717
717
|
* @remarks
|
|
718
718
|
*
|
|
719
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
719
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
720
720
|
*
|
|
721
|
-
* With project-
|
|
721
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
722
722
|
*/
|
|
723
723
|
path: string;
|
|
724
724
|
/**
|
|
@@ -836,13 +836,13 @@ export type UpdateToolResponseBodyMcp = {
|
|
|
836
836
|
export type UpdateToolResponseBodyMCPTool = {
|
|
837
837
|
id: string;
|
|
838
838
|
/**
|
|
839
|
-
* Entity storage path
|
|
839
|
+
* Entity storage path.
|
|
840
840
|
*
|
|
841
841
|
* @remarks
|
|
842
842
|
*
|
|
843
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
843
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
844
844
|
*
|
|
845
|
-
* With project-
|
|
845
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
846
846
|
*/
|
|
847
847
|
path: string;
|
|
848
848
|
/**
|
|
@@ -995,13 +995,13 @@ export type UpdateToolResponseBodyHttp = {
|
|
|
995
995
|
export type UpdateToolResponseBodyHTTPTool = {
|
|
996
996
|
id: string;
|
|
997
997
|
/**
|
|
998
|
-
* Entity storage path
|
|
998
|
+
* Entity storage path.
|
|
999
999
|
*
|
|
1000
1000
|
* @remarks
|
|
1001
1001
|
*
|
|
1002
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
1002
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
1003
1003
|
*
|
|
1004
|
-
* With project-
|
|
1004
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
1005
1005
|
*/
|
|
1006
1006
|
path: string;
|
|
1007
1007
|
/**
|
|
@@ -1096,13 +1096,13 @@ export type UpdateToolResponseBodyJsonSchema = {
|
|
|
1096
1096
|
export type UpdateToolResponseBodyJSONSchemaTool = {
|
|
1097
1097
|
id: string;
|
|
1098
1098
|
/**
|
|
1099
|
-
* Entity storage path
|
|
1099
|
+
* Entity storage path.
|
|
1100
1100
|
*
|
|
1101
1101
|
* @remarks
|
|
1102
1102
|
*
|
|
1103
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
1103
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
1104
1104
|
*
|
|
1105
|
-
* With project-
|
|
1105
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
1106
1106
|
*/
|
|
1107
1107
|
path: string;
|
|
1108
1108
|
/**
|
|
@@ -1209,13 +1209,13 @@ export type UpdateToolResponseBodyFunction = {
|
|
|
1209
1209
|
export type UpdateToolResponseBodyFunctionTool = {
|
|
1210
1210
|
id: string;
|
|
1211
1211
|
/**
|
|
1212
|
-
* Entity storage path
|
|
1212
|
+
* Entity storage path.
|
|
1213
1213
|
*
|
|
1214
1214
|
* @remarks
|
|
1215
1215
|
*
|
|
1216
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
1216
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
1217
1217
|
*
|
|
1218
|
-
* With project-
|
|
1218
|
+
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
1219
1219
|
*/
|
|
1220
1220
|
path: string;
|
|
1221
1221
|
/**
|
|
@@ -1472,7 +1472,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1472
1472
|
z.ZodTypeDef,
|
|
1473
1473
|
RequestBodyTools
|
|
1474
1474
|
> = z.object({
|
|
1475
|
-
id: z.string().default("
|
|
1475
|
+
id: z.string().default("01KRMVC5R5Z1JMMJS4F50FS6PB"),
|
|
1476
1476
|
name: z.string(),
|
|
1477
1477
|
description: z.string().optional(),
|
|
1478
1478
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2193,7 +2193,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
z.ZodTypeDef,
|
|
2194
2194
|
unknown
|
|
2195
2195
|
> = z.object({
|
|
2196
|
-
_id: z.string().default("
|
|
2196
|
+
_id: z.string().default("tool_01KRMVC5QWF44VPM55FC566PTG"),
|
|
2197
2197
|
path: z.string(),
|
|
2198
2198
|
key: z.string(),
|
|
2199
2199
|
display_name: z.string().optional(),
|
|
@@ -2296,7 +2296,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2296
2296
|
z.ZodTypeDef,
|
|
2297
2297
|
unknown
|
|
2298
2298
|
> = z.object({
|
|
2299
|
-
id: z.string().default("
|
|
2299
|
+
id: z.string().default("01KRMVC5QVH0Q5HD1QB6DYH05H"),
|
|
2300
2300
|
name: z.string(),
|
|
2301
2301
|
description: z.string().optional(),
|
|
2302
2302
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2354,7 +2354,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2354
2354
|
z.ZodTypeDef,
|
|
2355
2355
|
unknown
|
|
2356
2356
|
> = z.object({
|
|
2357
|
-
_id: z.string().default("
|
|
2357
|
+
_id: z.string().default("tool_01KRMVC5QTASN8A8V71AR8PDGJ"),
|
|
2358
2358
|
path: z.string(),
|
|
2359
2359
|
key: z.string(),
|
|
2360
2360
|
display_name: z.string().optional(),
|
|
@@ -2543,7 +2543,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2543
2543
|
z.ZodTypeDef,
|
|
2544
2544
|
unknown
|
|
2545
2545
|
> = z.object({
|
|
2546
|
-
_id: z.string().default("
|
|
2546
|
+
_id: z.string().default("tool_01KRMVC5QQWZXDCAK4Q06MFEVC"),
|
|
2547
2547
|
path: z.string(),
|
|
2548
2548
|
key: z.string(),
|
|
2549
2549
|
display_name: z.string().optional(),
|
|
@@ -2638,7 +2638,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2638
2638
|
z.ZodTypeDef,
|
|
2639
2639
|
unknown
|
|
2640
2640
|
> = z.object({
|
|
2641
|
-
_id: z.string().default("
|
|
2641
|
+
_id: z.string().default("tool_01KRMVC5QNZQTFD6ND7GH55S5T"),
|
|
2642
2642
|
path: z.string(),
|
|
2643
2643
|
key: z.string(),
|
|
2644
2644
|
display_name: z.string().optional(),
|
|
@@ -2741,7 +2741,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2741
2741
|
z.ZodTypeDef,
|
|
2742
2742
|
unknown
|
|
2743
2743
|
> = z.object({
|
|
2744
|
-
_id: z.string().default("
|
|
2744
|
+
_id: z.string().default("tool_01KRMVC5QKSEWQCN80SV4QRCJ5"),
|
|
2745
2745
|
path: z.string(),
|
|
2746
2746
|
key: z.string(),
|
|
2747
2747
|
display_name: z.string().optional(),
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "4.9.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 4.9.
|
|
71
|
+
sdkVersion: "4.9.4",
|
|
72
|
+
genVersion: "2.884.4",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 4.9.4 2.884.4 2.0 @orq-ai/node",
|
|
74
74
|
} 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_01krnm0tv9nb8g8qmaxnsxxr77"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
134
134
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
135
135
|
.optional(),
|
|
136
136
|
updated: z.string().datetime({ offset: true }).default(
|
|
137
|
-
"2026-05-
|
|
137
|
+
"2026-05-15T10:48:08.824Z",
|
|
138
138
|
).transform(v => new Date(v)),
|
|
139
139
|
}).transform((v) => {
|
|
140
140
|
return remap$(v, {
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-05-
|
|
141
|
+
"2026-05-15T10:48:08.824Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2355
2355
|
),
|
|
2356
2356
|
reviewed_by_id: z.string(),
|
|
2357
2357
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2358
|
-
"2026-05-
|
|
2358
|
+
"2026-05-15T10:48:23.726Z",
|
|
2359
2359
|
).transform(v => new Date(v)),
|
|
2360
2360
|
type: z.literal("string_array"),
|
|
2361
2361
|
values: z.array(z.string()),
|
|
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2400
2400
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2401
2401
|
reviewed_by_id: z.string(),
|
|
2402
2402
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2403
|
-
"2026-05-
|
|
2403
|
+
"2026-05-15T10:48:23.721Z",
|
|
2404
2404
|
).transform(v => new Date(v)),
|
|
2405
2405
|
type: z.literal("number"),
|
|
2406
2406
|
value: z.number(),
|
|
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2446
2446
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2447
2447
|
reviewed_by_id: z.string(),
|
|
2448
2448
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2449
|
-
"2026-05-
|
|
2449
|
+
"2026-05-15T10:48:23.721Z",
|
|
2450
2450
|
).transform(v => new Date(v)),
|
|
2451
2451
|
type: z.literal("string"),
|
|
2452
2452
|
value: z.string(),
|
|
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2529
2529
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2530
2530
|
.optional(),
|
|
2531
2531
|
updated: z.string().datetime({ offset: true }).default(
|
|
2532
|
-
"2026-05-
|
|
2532
|
+
"2026-05-15T10:48:08.824Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
403
403
|
z.ZodTypeDef,
|
|
404
404
|
unknown
|
|
405
405
|
> = z.object({
|
|
406
|
-
_id: z.string().default("
|
|
406
|
+
_id: z.string().default("01KRNM0VPBZY0X6GGFQ02DS2EY"),
|
|
407
407
|
display_name: z.string(),
|
|
408
408
|
description: z.string().optional(),
|
|
409
409
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2776,8 +2776,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2776
2776
|
> = z.object({
|
|
2777
2777
|
_id: z.string(),
|
|
2778
2778
|
description: z.string(),
|
|
2779
|
-
created: z.string().default("2026-05-
|
|
2780
|
-
updated: z.string().default("2026-05-
|
|
2779
|
+
created: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
2780
|
+
updated: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
2781
2781
|
guardrail_config: z.nullable(
|
|
2782
2782
|
z.union([
|
|
2783
2783
|
z.lazy(() =>
|
|
@@ -2965,8 +2965,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2965
2965
|
.object({
|
|
2966
2966
|
_id: z.string(),
|
|
2967
2967
|
description: z.string(),
|
|
2968
|
-
created: z.string().default("2026-05-
|
|
2969
|
-
updated: z.string().default("2026-05-
|
|
2968
|
+
created: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
2969
|
+
updated: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
2970
2970
|
guardrail_config: z.nullable(
|
|
2971
2971
|
z.union([
|
|
2972
2972
|
z.lazy(() =>
|
|
@@ -3789,8 +3789,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3789
3789
|
> = z.object({
|
|
3790
3790
|
_id: z.string(),
|
|
3791
3791
|
description: z.string(),
|
|
3792
|
-
created: z.string().default("2026-05-
|
|
3793
|
-
updated: z.string().default("2026-05-
|
|
3792
|
+
created: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
3793
|
+
updated: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
3794
3794
|
guardrail_config: z.nullable(
|
|
3795
3795
|
z.union([
|
|
3796
3796
|
z.lazy(() =>
|
|
@@ -4008,8 +4008,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
4008
4008
|
> = z.object({
|
|
4009
4009
|
_id: z.string(),
|
|
4010
4010
|
description: z.string(),
|
|
4011
|
-
created: z.string().default("2026-05-
|
|
4012
|
-
updated: z.string().default("2026-05-
|
|
4011
|
+
created: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
4012
|
+
updated: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
4013
4013
|
guardrail_config: z.nullable(
|
|
4014
4014
|
z.union([
|
|
4015
4015
|
z.lazy(() =>
|
|
@@ -4190,8 +4190,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
4190
4190
|
> = z.object({
|
|
4191
4191
|
_id: z.string(),
|
|
4192
4192
|
description: z.string(),
|
|
4193
|
-
created: z.string().default("2026-05-
|
|
4194
|
-
updated: z.string().default("2026-05-
|
|
4193
|
+
created: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
4194
|
+
updated: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
4195
4195
|
guardrail_config: z.nullable(
|
|
4196
4196
|
z.union([
|
|
4197
4197
|
z.lazy(() =>
|
|
@@ -4367,8 +4367,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
4367
4367
|
> = z.object({
|
|
4368
4368
|
_id: z.string(),
|
|
4369
4369
|
description: z.string(),
|
|
4370
|
-
created: z.string().default("2026-05-
|
|
4371
|
-
updated: z.string().default("2026-05-
|
|
4370
|
+
created: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
4371
|
+
updated: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
4372
4372
|
guardrail_config: z.nullable(
|
|
4373
4373
|
z.union([
|
|
4374
4374
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -4738,8 +4738,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
4738
4738
|
> = z.object({
|
|
4739
4739
|
_id: z.string(),
|
|
4740
4740
|
description: z.string(),
|
|
4741
|
-
created: z.string().default("2026-05-
|
|
4742
|
-
updated: z.string().default("2026-05-
|
|
4741
|
+
created: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
4742
|
+
updated: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
4743
4743
|
guardrail_config: z.nullable(
|
|
4744
4744
|
z.union([
|
|
4745
4745
|
z.lazy(() =>
|
|
@@ -4954,8 +4954,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4954
4954
|
> = z.object({
|
|
4955
4955
|
_id: z.string(),
|
|
4956
4956
|
description: z.string(),
|
|
4957
|
-
created: z.string().default("2026-05-
|
|
4958
|
-
updated: z.string().default("2026-05-
|
|
4957
|
+
created: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
4958
|
+
updated: z.string().default("2026-05-15T10:48:10.929Z"),
|
|
4959
4959
|
guardrail_config: z.nullable(
|
|
4960
4960
|
z.union([
|
|
4961
4961
|
z.lazy(() =>
|
|
@@ -139,7 +139,7 @@ export const CreateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
139
139
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
140
140
|
.optional(),
|
|
141
141
|
updated: z.string().datetime({ offset: true }).default(
|
|
142
|
-
"2026-05-
|
|
142
|
+
"2026-05-15T10:48:08.824Z",
|
|
143
143
|
).transform(v => new Date(v)),
|
|
144
144
|
}).transform((v) => {
|
|
145
145
|
return remap$(v, {
|
|
@@ -318,11 +318,6 @@ export type OrqAiTool = {
|
|
|
318
318
|
type: CreateRouterResponseToolsType;
|
|
319
319
|
};
|
|
320
320
|
|
|
321
|
-
/**
|
|
322
|
-
* The parameters the function accepts, as a JSON Schema object.
|
|
323
|
-
*/
|
|
324
|
-
export type ToolsParameters = {};
|
|
325
|
-
|
|
326
321
|
/**
|
|
327
322
|
* A function tool the model can call.
|
|
328
323
|
*/
|
|
@@ -338,7 +333,7 @@ export type ToolsFunction = {
|
|
|
338
333
|
/**
|
|
339
334
|
* The parameters the function accepts, as a JSON Schema object.
|
|
340
335
|
*/
|
|
341
|
-
parameters?:
|
|
336
|
+
parameters?: { [k: string]: any } | undefined;
|
|
342
337
|
/**
|
|
343
338
|
* Whether to enforce strict parameter validation.
|
|
344
339
|
*/
|
|
@@ -1100,27 +1095,11 @@ export function orqAiToolToJSON(orqAiTool: OrqAiTool): string {
|
|
|
1100
1095
|
return JSON.stringify(OrqAiTool$outboundSchema.parse(orqAiTool));
|
|
1101
1096
|
}
|
|
1102
1097
|
|
|
1103
|
-
/** @internal */
|
|
1104
|
-
export type ToolsParameters$Outbound = {};
|
|
1105
|
-
|
|
1106
|
-
/** @internal */
|
|
1107
|
-
export const ToolsParameters$outboundSchema: z.ZodType<
|
|
1108
|
-
ToolsParameters$Outbound,
|
|
1109
|
-
z.ZodTypeDef,
|
|
1110
|
-
ToolsParameters
|
|
1111
|
-
> = z.object({});
|
|
1112
|
-
|
|
1113
|
-
export function toolsParametersToJSON(
|
|
1114
|
-
toolsParameters: ToolsParameters,
|
|
1115
|
-
): string {
|
|
1116
|
-
return JSON.stringify(ToolsParameters$outboundSchema.parse(toolsParameters));
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
1098
|
/** @internal */
|
|
1120
1099
|
export type ToolsFunction$Outbound = {
|
|
1121
1100
|
description?: string | undefined;
|
|
1122
1101
|
name: string;
|
|
1123
|
-
parameters?:
|
|
1102
|
+
parameters?: { [k: string]: any } | undefined;
|
|
1124
1103
|
strict?: boolean | undefined;
|
|
1125
1104
|
type: "function";
|
|
1126
1105
|
};
|
|
@@ -1133,7 +1112,7 @@ export const ToolsFunction$outboundSchema: z.ZodType<
|
|
|
1133
1112
|
> = z.object({
|
|
1134
1113
|
description: z.string().optional(),
|
|
1135
1114
|
name: z.string(),
|
|
1136
|
-
parameters: z.
|
|
1115
|
+
parameters: z.record(z.any()).optional(),
|
|
1137
1116
|
strict: z.boolean().optional(),
|
|
1138
1117
|
type: z.literal("function"),
|
|
1139
1118
|
});
|
|
@@ -1902,7 +1902,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1902
1902
|
z.ZodTypeDef,
|
|
1903
1903
|
unknown
|
|
1904
1904
|
> = z.object({
|
|
1905
|
-
_id: z.string().default("
|
|
1905
|
+
_id: z.string().default("tool_01KRNM0V965TP4G5VVKD3KZHE7"),
|
|
1906
1906
|
path: z.string(),
|
|
1907
1907
|
key: z.string(),
|
|
1908
1908
|
display_name: z.string().optional(),
|
|
@@ -1999,7 +1999,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1999
1999
|
z.ZodTypeDef,
|
|
2000
2000
|
unknown
|
|
2001
2001
|
> = z.object({
|
|
2002
|
-
id: z.string().default("
|
|
2002
|
+
id: z.string().default("01KRNM0V95HT07Y54E102AZ1G5"),
|
|
2003
2003
|
name: z.string(),
|
|
2004
2004
|
description: z.string().optional(),
|
|
2005
2005
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2055,7 +2055,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2055
2055
|
z.ZodTypeDef,
|
|
2056
2056
|
unknown
|
|
2057
2057
|
> = z.object({
|
|
2058
|
-
_id: z.string().default("
|
|
2058
|
+
_id: z.string().default("tool_01KRNM0V94J765TX7RETGJSDXG"),
|
|
2059
2059
|
path: z.string(),
|
|
2060
2060
|
key: z.string(),
|
|
2061
2061
|
display_name: z.string().optional(),
|
|
@@ -2241,7 +2241,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2241
2241
|
z.ZodTypeDef,
|
|
2242
2242
|
unknown
|
|
2243
2243
|
> = z.object({
|
|
2244
|
-
_id: z.string().default("
|
|
2244
|
+
_id: z.string().default("tool_01KRNM0V926SHEQJXMFJXKVEZ0"),
|
|
2245
2245
|
path: z.string(),
|
|
2246
2246
|
key: z.string(),
|
|
2247
2247
|
display_name: z.string().optional(),
|
|
@@ -2334,7 +2334,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2334
2334
|
z.ZodTypeDef,
|
|
2335
2335
|
unknown
|
|
2336
2336
|
> = z.object({
|
|
2337
|
-
_id: z.string().default("
|
|
2337
|
+
_id: z.string().default("tool_01KRNM0V91NW32PGS5YCR95ET4"),
|
|
2338
2338
|
path: z.string(),
|
|
2339
2339
|
key: z.string(),
|
|
2340
2340
|
display_name: z.string().optional(),
|
|
@@ -2435,7 +2435,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2435
2435
|
z.ZodTypeDef,
|
|
2436
2436
|
unknown
|
|
2437
2437
|
> = z.object({
|
|
2438
|
-
_id: z.string().default("
|
|
2438
|
+
_id: z.string().default("tool_01KRNM0V90R9WJ5FG4SBS785Y4"),
|
|
2439
2439
|
path: z.string(),
|
|
2440
2440
|
key: z.string(),
|
|
2441
2441
|
display_name: z.string().optional(),
|
|
@@ -767,7 +767,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
767
767
|
z.ZodTypeDef,
|
|
768
768
|
unknown
|
|
769
769
|
> = z.object({
|
|
770
|
-
_id: z.string().default("
|
|
770
|
+
_id: z.string().default("tool_01KRNM0V8HH55JMREP11RASMBW"),
|
|
771
771
|
path: z.string(),
|
|
772
772
|
key: z.string(),
|
|
773
773
|
display_name: z.string().optional(),
|
|
@@ -864,7 +864,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
864
864
|
z.ZodTypeDef,
|
|
865
865
|
unknown
|
|
866
866
|
> = z.object({
|
|
867
|
-
id: z.string().default("
|
|
867
|
+
id: z.string().default("01KRNM0V8G9ZX1VYB92KF3GPEH"),
|
|
868
868
|
name: z.string(),
|
|
869
869
|
description: z.string().optional(),
|
|
870
870
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KRNM0V8FC3TWM4FQ15G9DR1G"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1102,7 +1102,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1102
1102
|
z.ZodTypeDef,
|
|
1103
1103
|
unknown
|
|
1104
1104
|
> = z.object({
|
|
1105
|
-
_id: z.string().default("
|
|
1105
|
+
_id: z.string().default("tool_01KRNM0V8EQG4TJ36HPY37PMW7"),
|
|
1106
1106
|
path: z.string(),
|
|
1107
1107
|
key: z.string(),
|
|
1108
1108
|
display_name: z.string().optional(),
|
|
@@ -1195,7 +1195,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1195
1195
|
z.ZodTypeDef,
|
|
1196
1196
|
unknown
|
|
1197
1197
|
> = z.object({
|
|
1198
|
-
_id: z.string().default("
|
|
1198
|
+
_id: z.string().default("tool_01KRNM0V8CVY40XWPAPA1YK43P"),
|
|
1199
1199
|
path: z.string(),
|
|
1200
1200
|
key: z.string(),
|
|
1201
1201
|
display_name: z.string().optional(),
|
|
@@ -1297,7 +1297,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1297
1297
|
z.ZodTypeDef,
|
|
1298
1298
|
unknown
|
|
1299
1299
|
> = z.object({
|
|
1300
|
-
_id: z.string().default("
|
|
1300
|
+
_id: z.string().default("tool_01KRNM0V8BM6VRJ3EN86KFK6QV"),
|
|
1301
1301
|
path: z.string(),
|
|
1302
1302
|
key: z.string(),
|
|
1303
1303
|
display_name: z.string().optional(),
|