@orq-ai/node 3.13.5 → 3.13.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +96 -93
- package/bin/mcp-server.js +1618 -1100
- package/bin/mcp-server.js.map +50 -46
- package/docs/sdks/agents/README.md +95 -20
- package/examples/package-lock.json +1 -1
- package/funcs/agentsListTasks.d.ts +18 -0
- package/funcs/agentsListTasks.d.ts.map +1 -0
- package/funcs/agentsListTasks.js +130 -0
- package/funcs/agentsListTasks.js.map +1 -0
- package/funcs/agentsRetrieve.d.ts +1 -1
- package/funcs/agentsRetrieve.js +3 -3
- package/funcs/agentsRetrieve.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +4 -2
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsListTasks.d.ts +8 -0
- package/mcp-server/tools/agentsListTasks.d.ts.map +1 -0
- package/mcp-server/tools/agentsListTasks.js +64 -0
- package/mcp-server/tools/agentsListTasks.js.map +1 -0
- package/mcp-server/tools/agentsRetrieve.js +1 -1
- package/mcp-server/tools/agentsRetrieve.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/listagenttasks.d.ts +41 -0
- package/models/errors/listagenttasks.d.ts.map +1 -0
- package/models/errors/listagenttasks.js +85 -0
- package/models/errors/listagenttasks.js.map +1 -0
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +14 -14
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +7 -7
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +16 -8
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listagents.d.ts +4 -4
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +6 -6
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +523 -0
- package/models/operations/listagenttasks.d.ts.map +1 -0
- package/models/operations/listagenttasks.js +609 -0
- package/models/operations/listagenttasks.js.map +1 -0
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listchunks.d.ts +13 -13
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +16 -16
- package/models/operations/listchunks.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.d.ts +13 -13
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +18 -19
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +6 -6
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +701 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createtool.ts +10 -10
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +2 -2
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/listagents.ts +2 -2
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +785 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +6 -6
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +767 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +6 -6
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +763 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +6 -22
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatetool.ts +10 -10
- package/sdk/agents.d.ts +11 -4
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +15 -5
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsListTasks.ts +183 -0
- package/src/funcs/agentsRetrieve.ts +3 -3
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +4 -2
- package/src/mcp-server/tools/agentsListTasks.ts +37 -0
- package/src/mcp-server/tools/agentsRetrieve.ts +1 -1
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/listagenttasks.ts +80 -0
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +14 -14
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +23 -15
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listagents.ts +10 -10
- package/src/models/operations/listagenttasks.ts +1099 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listchunks.ts +21 -21
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +29 -22
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/agents.ts +25 -7
|
@@ -196,7 +196,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-10-
|
|
199
|
+
"2025-10-06T18:03:05.762Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
230
230
|
bytes: z.number(),
|
|
231
231
|
fileName: z.string(),
|
|
232
232
|
workspaceId: z.string(),
|
|
233
|
-
created: z.date().default(() => new Date("2025-10-
|
|
233
|
+
created: z.date().default(() => new Date("2025-10-06T18:03:05.762Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|
|
@@ -250,7 +250,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
250
250
|
file_name: z.string(),
|
|
251
251
|
workspace_id: z.string(),
|
|
252
252
|
created: z.string().datetime({ offset: true }).default(
|
|
253
|
-
"2025-10-
|
|
253
|
+
"2025-10-06T18:03:05.762Z",
|
|
254
254
|
).transform(v => new Date(v)),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -284,7 +284,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
284
284
|
bytes: z.number(),
|
|
285
285
|
fileName: z.string(),
|
|
286
286
|
workspaceId: z.string(),
|
|
287
|
-
created: z.date().default(() => new Date("2025-10-
|
|
287
|
+
created: z.date().default(() => new Date("2025-10-06T18:03:05.762Z"))
|
|
288
288
|
.transform(v => v.toISOString()),
|
|
289
289
|
}).transform((v) => {
|
|
290
290
|
return remap$(v, {
|
|
@@ -11,9 +11,9 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type GetAgentRequest = {
|
|
13
13
|
/**
|
|
14
|
-
* The
|
|
14
|
+
* The unique key of the agent to retrieve
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
agentKey: string;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -103,11 +103,11 @@ export type GetAgentModel = {
|
|
|
103
103
|
/**
|
|
104
104
|
* Optional integration ID for custom model configurations
|
|
105
105
|
*/
|
|
106
|
-
integrationId?: string | undefined;
|
|
106
|
+
integrationId?: string | null | undefined;
|
|
107
107
|
/**
|
|
108
108
|
* Optional array of fallback model IDs that will be used automatically in order if the primary model fails
|
|
109
109
|
*/
|
|
110
|
-
fallbackModels?: Array<string> | undefined;
|
|
110
|
+
fallbackModels?: Array<string> | null | undefined;
|
|
111
111
|
/**
|
|
112
112
|
* Maximum number of tokens for model responses
|
|
113
113
|
*/
|
|
@@ -248,12 +248,16 @@ export const GetAgentRequest$inboundSchema: z.ZodType<
|
|
|
248
248
|
z.ZodTypeDef,
|
|
249
249
|
unknown
|
|
250
250
|
> = z.object({
|
|
251
|
-
|
|
251
|
+
agent_key: z.string(),
|
|
252
|
+
}).transform((v) => {
|
|
253
|
+
return remap$(v, {
|
|
254
|
+
"agent_key": "agentKey",
|
|
255
|
+
});
|
|
252
256
|
});
|
|
253
257
|
|
|
254
258
|
/** @internal */
|
|
255
259
|
export type GetAgentRequest$Outbound = {
|
|
256
|
-
|
|
260
|
+
agent_key: string;
|
|
257
261
|
};
|
|
258
262
|
|
|
259
263
|
/** @internal */
|
|
@@ -262,7 +266,11 @@ export const GetAgentRequest$outboundSchema: z.ZodType<
|
|
|
262
266
|
z.ZodTypeDef,
|
|
263
267
|
GetAgentRequest
|
|
264
268
|
> = z.object({
|
|
265
|
-
|
|
269
|
+
agentKey: z.string(),
|
|
270
|
+
}).transform((v) => {
|
|
271
|
+
return remap$(v, {
|
|
272
|
+
agentKey: "agent_key",
|
|
273
|
+
});
|
|
266
274
|
});
|
|
267
275
|
|
|
268
276
|
/**
|
|
@@ -558,8 +566,8 @@ export const GetAgentModel$inboundSchema: z.ZodType<
|
|
|
558
566
|
unknown
|
|
559
567
|
> = z.object({
|
|
560
568
|
id: z.string(),
|
|
561
|
-
integration_id: z.string().optional(),
|
|
562
|
-
fallback_models: z.array(z.string()).optional(),
|
|
569
|
+
integration_id: z.nullable(z.string()).optional(),
|
|
570
|
+
fallback_models: z.nullable(z.array(z.string())).optional(),
|
|
563
571
|
max_tokens: z.number().int().optional(),
|
|
564
572
|
temperature: z.number().optional(),
|
|
565
573
|
}).transform((v) => {
|
|
@@ -573,8 +581,8 @@ export const GetAgentModel$inboundSchema: z.ZodType<
|
|
|
573
581
|
/** @internal */
|
|
574
582
|
export type GetAgentModel$Outbound = {
|
|
575
583
|
id: string;
|
|
576
|
-
integration_id?: string | undefined;
|
|
577
|
-
fallback_models?: Array<string> | undefined;
|
|
584
|
+
integration_id?: string | null | undefined;
|
|
585
|
+
fallback_models?: Array<string> | null | undefined;
|
|
578
586
|
max_tokens?: number | undefined;
|
|
579
587
|
temperature?: number | undefined;
|
|
580
588
|
};
|
|
@@ -586,8 +594,8 @@ export const GetAgentModel$outboundSchema: z.ZodType<
|
|
|
586
594
|
GetAgentModel
|
|
587
595
|
> = z.object({
|
|
588
596
|
id: z.string(),
|
|
589
|
-
integrationId: z.string().optional(),
|
|
590
|
-
fallbackModels: z.array(z.string()).optional(),
|
|
597
|
+
integrationId: z.nullable(z.string()).optional(),
|
|
598
|
+
fallbackModels: z.nullable(z.array(z.string())).optional(),
|
|
591
599
|
maxTokens: z.number().int().optional(),
|
|
592
600
|
temperature: z.number().optional(),
|
|
593
601
|
}).transform((v) => {
|
|
@@ -995,7 +1003,7 @@ export const GetAgentKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
995
1003
|
z.ZodTypeDef,
|
|
996
1004
|
unknown
|
|
997
1005
|
> = z.object({
|
|
998
|
-
id: z.string().default("
|
|
1006
|
+
id: z.string().default("01K6XB25PEBNJCJE8PKJ4Y6S2M"),
|
|
999
1007
|
knowledge_id: z.string(),
|
|
1000
1008
|
configuration: z.union([
|
|
1001
1009
|
z.lazy(() =>
|
|
@@ -1026,7 +1034,7 @@ export const GetAgentKnowledgeBases$outboundSchema: z.ZodType<
|
|
|
1026
1034
|
z.ZodTypeDef,
|
|
1027
1035
|
GetAgentKnowledgeBases
|
|
1028
1036
|
> = z.object({
|
|
1029
|
-
id: z.string().default("
|
|
1037
|
+
id: z.string().default("01K6XB25PEBNJCJE8PKJ4Y6S2M"),
|
|
1030
1038
|
knowledgeId: z.string(),
|
|
1031
1039
|
configuration: z.union([
|
|
1032
1040
|
z.lazy(() =>
|
|
@@ -763,7 +763,7 @@ export function dataCodeToolFromJSON(
|
|
|
763
763
|
/** @internal */
|
|
764
764
|
export const Data5$inboundSchema: z.ZodType<Data5, z.ZodTypeDef, unknown> = z
|
|
765
765
|
.object({
|
|
766
|
-
_id: z.string().default("
|
|
766
|
+
_id: z.string().default("01K6XB25XG1MS5RR6Z8WDQHFW8"),
|
|
767
767
|
path: z.string(),
|
|
768
768
|
key: z.string(),
|
|
769
769
|
display_name: z.string(),
|
|
@@ -816,7 +816,7 @@ export const Data5$outboundSchema: z.ZodType<
|
|
|
816
816
|
z.ZodTypeDef,
|
|
817
817
|
Data5
|
|
818
818
|
> = z.object({
|
|
819
|
-
id: z.string().default("
|
|
819
|
+
id: z.string().default("01K6XB25XG1MS5RR6Z8WDQHFW8"),
|
|
820
820
|
path: z.string(),
|
|
821
821
|
key: z.string(),
|
|
822
822
|
displayName: z.string(),
|
|
@@ -1159,7 +1159,7 @@ export function dataMcpFromJSON(
|
|
|
1159
1159
|
/** @internal */
|
|
1160
1160
|
export const Data4$inboundSchema: z.ZodType<Data4, z.ZodTypeDef, unknown> = z
|
|
1161
1161
|
.object({
|
|
1162
|
-
_id: z.string().default("
|
|
1162
|
+
_id: z.string().default("01K6XB25XG6AR4HGNPQT7KW6NA"),
|
|
1163
1163
|
path: z.string(),
|
|
1164
1164
|
key: z.string(),
|
|
1165
1165
|
display_name: z.string(),
|
|
@@ -1211,7 +1211,7 @@ export const Data4$outboundSchema: z.ZodType<
|
|
|
1211
1211
|
z.ZodTypeDef,
|
|
1212
1212
|
Data4
|
|
1213
1213
|
> = z.object({
|
|
1214
|
-
id: z.string().default("
|
|
1214
|
+
id: z.string().default("01K6XB25XG6AR4HGNPQT7KW6NA"),
|
|
1215
1215
|
path: z.string(),
|
|
1216
1216
|
key: z.string(),
|
|
1217
1217
|
displayName: z.string(),
|
|
@@ -1594,7 +1594,7 @@ export function getAllToolsDataHttpFromJSON(
|
|
|
1594
1594
|
/** @internal */
|
|
1595
1595
|
export const Data3$inboundSchema: z.ZodType<Data3, z.ZodTypeDef, unknown> = z
|
|
1596
1596
|
.object({
|
|
1597
|
-
_id: z.string().default("
|
|
1597
|
+
_id: z.string().default("01K6XB25XFKRFD6WD2TXM9XGFC"),
|
|
1598
1598
|
path: z.string(),
|
|
1599
1599
|
key: z.string(),
|
|
1600
1600
|
display_name: z.string(),
|
|
@@ -1646,7 +1646,7 @@ export const Data3$outboundSchema: z.ZodType<
|
|
|
1646
1646
|
z.ZodTypeDef,
|
|
1647
1647
|
Data3
|
|
1648
1648
|
> = z.object({
|
|
1649
|
-
id: z.string().default("
|
|
1649
|
+
id: z.string().default("01K6XB25XFKRFD6WD2TXM9XGFC"),
|
|
1650
1650
|
path: z.string(),
|
|
1651
1651
|
key: z.string(),
|
|
1652
1652
|
displayName: z.string(),
|
|
@@ -1804,7 +1804,7 @@ export function dataJsonSchemaFromJSON(
|
|
|
1804
1804
|
/** @internal */
|
|
1805
1805
|
export const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown> = z
|
|
1806
1806
|
.object({
|
|
1807
|
-
_id: z.string().default("
|
|
1807
|
+
_id: z.string().default("01K6XB25XF0SZF4QCW2TTVKBV2"),
|
|
1808
1808
|
path: z.string(),
|
|
1809
1809
|
key: z.string(),
|
|
1810
1810
|
display_name: z.string(),
|
|
@@ -1857,7 +1857,7 @@ export const Data2$outboundSchema: z.ZodType<
|
|
|
1857
1857
|
z.ZodTypeDef,
|
|
1858
1858
|
Data2
|
|
1859
1859
|
> = z.object({
|
|
1860
|
-
id: z.string().default("
|
|
1860
|
+
id: z.string().default("01K6XB25XF0SZF4QCW2TTVKBV2"),
|
|
1861
1861
|
path: z.string(),
|
|
1862
1862
|
key: z.string(),
|
|
1863
1863
|
displayName: z.string(),
|
|
@@ -2018,7 +2018,7 @@ export function getAllToolsDataFunctionFromJSON(
|
|
|
2018
2018
|
/** @internal */
|
|
2019
2019
|
export const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown> = z
|
|
2020
2020
|
.object({
|
|
2021
|
-
_id: z.string().default("
|
|
2021
|
+
_id: z.string().default("01K6XB25XFZMXMMTWA55ZQDQMV"),
|
|
2022
2022
|
path: z.string(),
|
|
2023
2023
|
key: z.string(),
|
|
2024
2024
|
display_name: z.string(),
|
|
@@ -2070,7 +2070,7 @@ export const Data1$outboundSchema: z.ZodType<
|
|
|
2070
2070
|
z.ZodTypeDef,
|
|
2071
2071
|
Data1
|
|
2072
2072
|
> = z.object({
|
|
2073
|
-
id: z.string().default("
|
|
2073
|
+
id: z.string().default("01K6XB25XFZMXMMTWA55ZQDQMV"),
|
|
2074
2074
|
path: z.string(),
|
|
2075
2075
|
key: z.string(),
|
|
2076
2076
|
displayName: z.string(),
|
|
@@ -351,7 +351,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
351
351
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
352
352
|
.optional(),
|
|
353
353
|
updated: z.string().datetime({ offset: true }).default(
|
|
354
|
-
"2025-10-
|
|
354
|
+
"2025-10-06T18:03:02.644Z",
|
|
355
355
|
).transform(v => new Date(v)),
|
|
356
356
|
}).transform((v) => {
|
|
357
357
|
return remap$(v, {
|
|
@@ -386,7 +386,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
386
386
|
isActive: z.boolean(),
|
|
387
387
|
consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
|
|
388
388
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
389
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
389
|
+
updated: z.date().default(() => new Date("2025-10-06T18:03:02.644Z"))
|
|
390
390
|
.transform(v => v.toISOString()),
|
|
391
391
|
}).transform((v) => {
|
|
392
392
|
return remap$(v, {
|
|
@@ -1556,8 +1556,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1556
1556
|
> = z.object({
|
|
1557
1557
|
_id: z.string(),
|
|
1558
1558
|
description: z.string(),
|
|
1559
|
-
created: z.string().default("2025-10-
|
|
1560
|
-
updated: z.string().default("2025-10-
|
|
1559
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
1560
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
1561
1561
|
guardrail_config: z.union([
|
|
1562
1562
|
z.lazy(() =>
|
|
1563
1563
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -1600,8 +1600,8 @@ export const DataTypescript$outboundSchema: z.ZodType<
|
|
|
1600
1600
|
> = z.object({
|
|
1601
1601
|
id: z.string(),
|
|
1602
1602
|
description: z.string(),
|
|
1603
|
-
created: z.string().default("2025-10-
|
|
1604
|
-
updated: z.string().default("2025-10-
|
|
1603
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
1604
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
1605
1605
|
guardrailConfig: z.union([
|
|
1606
1606
|
z.lazy(() =>
|
|
1607
1607
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -2002,8 +2002,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
2002
2002
|
> = z.object({
|
|
2003
2003
|
_id: z.string(),
|
|
2004
2004
|
description: z.string(),
|
|
2005
|
-
created: z.string().default("2025-10-
|
|
2006
|
-
updated: z.string().default("2025-10-
|
|
2005
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
2006
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
2007
2007
|
guardrail_config: z.union([
|
|
2008
2008
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
2009
2009
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
@@ -2044,8 +2044,8 @@ export const DataRagas$outboundSchema: z.ZodType<
|
|
|
2044
2044
|
> = z.object({
|
|
2045
2045
|
id: z.string(),
|
|
2046
2046
|
description: z.string(),
|
|
2047
|
-
created: z.string().default("2025-10-
|
|
2048
|
-
updated: z.string().default("2025-10-
|
|
2047
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
2048
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
2049
2049
|
guardrailConfig: z.union([
|
|
2050
2050
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
2051
2051
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
@@ -5512,8 +5512,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
5512
5512
|
> = z.object({
|
|
5513
5513
|
_id: z.string(),
|
|
5514
5514
|
description: z.string(),
|
|
5515
|
-
created: z.string().default("2025-10-
|
|
5516
|
-
updated: z.string().default("2025-10-
|
|
5515
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
5516
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
5517
5517
|
guardrail_config: z.union([
|
|
5518
5518
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
5519
5519
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -5623,8 +5623,8 @@ export const DataFunction$outboundSchema: z.ZodType<
|
|
|
5623
5623
|
> = z.object({
|
|
5624
5624
|
id: z.string(),
|
|
5625
5625
|
description: z.string(),
|
|
5626
|
-
created: z.string().default("2025-10-
|
|
5627
|
-
updated: z.string().default("2025-10-
|
|
5626
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
5627
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
5628
5628
|
guardrailConfig: z.union([
|
|
5629
5629
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
5630
5630
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -6006,8 +6006,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
6006
6006
|
> = z.object({
|
|
6007
6007
|
_id: z.string(),
|
|
6008
6008
|
description: z.string(),
|
|
6009
|
-
created: z.string().default("2025-10-
|
|
6010
|
-
updated: z.string().default("2025-10-
|
|
6009
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
6010
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
6011
6011
|
guardrail_config: z.union([
|
|
6012
6012
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
6013
6013
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -6045,8 +6045,8 @@ export const DataPython$outboundSchema: z.ZodType<
|
|
|
6045
6045
|
> = z.object({
|
|
6046
6046
|
id: z.string(),
|
|
6047
6047
|
description: z.string(),
|
|
6048
|
-
created: z.string().default("2025-10-
|
|
6049
|
-
updated: z.string().default("2025-10-
|
|
6048
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
6049
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
6050
6050
|
guardrailConfig: z.union([
|
|
6051
6051
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
6052
6052
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
|
|
@@ -6392,8 +6392,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
6392
6392
|
> = z.object({
|
|
6393
6393
|
_id: z.string(),
|
|
6394
6394
|
description: z.string(),
|
|
6395
|
-
created: z.string().default("2025-10-
|
|
6396
|
-
updated: z.string().default("2025-10-
|
|
6395
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
6396
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
6397
6397
|
guardrail_config: z.union([
|
|
6398
6398
|
z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
6399
6399
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
@@ -6437,8 +6437,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
|
|
|
6437
6437
|
> = z.object({
|
|
6438
6438
|
id: z.string(),
|
|
6439
6439
|
description: z.string(),
|
|
6440
|
-
created: z.string().default("2025-10-
|
|
6441
|
-
updated: z.string().default("2025-10-
|
|
6440
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
6441
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
6442
6442
|
guardrailConfig: z.union([
|
|
6443
6443
|
z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
6444
6444
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
|
|
@@ -6803,8 +6803,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
6803
6803
|
> = z.object({
|
|
6804
6804
|
_id: z.string(),
|
|
6805
6805
|
description: z.string(),
|
|
6806
|
-
created: z.string().default("2025-10-
|
|
6807
|
-
updated: z.string().default("2025-10-
|
|
6806
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
6807
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
6808
6808
|
guardrail_config: z.union([
|
|
6809
6809
|
z.lazy(() =>
|
|
6810
6810
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema
|
|
@@ -6846,8 +6846,8 @@ export const DataJSON$outboundSchema: z.ZodType<
|
|
|
6846
6846
|
> = z.object({
|
|
6847
6847
|
id: z.string(),
|
|
6848
6848
|
description: z.string(),
|
|
6849
|
-
created: z.string().default("2025-10-
|
|
6850
|
-
updated: z.string().default("2025-10-
|
|
6849
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
6850
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
6851
6851
|
guardrailConfig: z.union([
|
|
6852
6852
|
z.lazy(() =>
|
|
6853
6853
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema
|
|
@@ -7229,8 +7229,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
|
|
|
7229
7229
|
z.object({
|
|
7230
7230
|
_id: z.string(),
|
|
7231
7231
|
description: z.string(),
|
|
7232
|
-
created: z.string().default("2025-10-
|
|
7233
|
-
updated: z.string().default("2025-10-
|
|
7232
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
7233
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
7234
7234
|
guardrail_config: z.union([
|
|
7235
7235
|
z.lazy(() =>
|
|
7236
7236
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7274,8 +7274,8 @@ export const DataLLM$outboundSchema: z.ZodType<
|
|
|
7274
7274
|
> = z.object({
|
|
7275
7275
|
id: z.string(),
|
|
7276
7276
|
description: z.string(),
|
|
7277
|
-
created: z.string().default("2025-10-
|
|
7278
|
-
updated: z.string().default("2025-10-
|
|
7277
|
+
created: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
7278
|
+
updated: z.string().default("2025-10-06T18:03:05.056Z"),
|
|
7279
7279
|
guardrailConfig: z.union([
|
|
7280
7280
|
z.lazy(() =>
|
|
7281
7281
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -93,6 +93,7 @@ export * from "./getpromptversion.js";
|
|
|
93
93
|
export * from "./invokeeval.js";
|
|
94
94
|
export * from "./listactions.js";
|
|
95
95
|
export * from "./listagents.js";
|
|
96
|
+
export * from "./listagenttasks.js";
|
|
96
97
|
export * from "./listbudgets.js";
|
|
97
98
|
export * from "./listchunks.js";
|
|
98
99
|
export * from "./listcontacts.js";
|
|
@@ -116,11 +116,11 @@ export type ListAgentsModel = {
|
|
|
116
116
|
/**
|
|
117
117
|
* Optional integration ID for custom model configurations
|
|
118
118
|
*/
|
|
119
|
-
integrationId?: string | undefined;
|
|
119
|
+
integrationId?: string | null | undefined;
|
|
120
120
|
/**
|
|
121
121
|
* Optional array of fallback model IDs that will be used automatically in order if the primary model fails
|
|
122
122
|
*/
|
|
123
|
-
fallbackModels?: Array<string> | undefined;
|
|
123
|
+
fallbackModels?: Array<string> | null | undefined;
|
|
124
124
|
/**
|
|
125
125
|
* Maximum number of tokens for model responses
|
|
126
126
|
*/
|
|
@@ -624,8 +624,8 @@ export const ListAgentsModel$inboundSchema: z.ZodType<
|
|
|
624
624
|
unknown
|
|
625
625
|
> = z.object({
|
|
626
626
|
id: z.string(),
|
|
627
|
-
integration_id: z.string().optional(),
|
|
628
|
-
fallback_models: z.array(z.string()).optional(),
|
|
627
|
+
integration_id: z.nullable(z.string()).optional(),
|
|
628
|
+
fallback_models: z.nullable(z.array(z.string())).optional(),
|
|
629
629
|
max_tokens: z.number().int().optional(),
|
|
630
630
|
temperature: z.number().optional(),
|
|
631
631
|
}).transform((v) => {
|
|
@@ -639,8 +639,8 @@ export const ListAgentsModel$inboundSchema: z.ZodType<
|
|
|
639
639
|
/** @internal */
|
|
640
640
|
export type ListAgentsModel$Outbound = {
|
|
641
641
|
id: string;
|
|
642
|
-
integration_id?: string | undefined;
|
|
643
|
-
fallback_models?: Array<string> | undefined;
|
|
642
|
+
integration_id?: string | null | undefined;
|
|
643
|
+
fallback_models?: Array<string> | null | undefined;
|
|
644
644
|
max_tokens?: number | undefined;
|
|
645
645
|
temperature?: number | undefined;
|
|
646
646
|
};
|
|
@@ -652,8 +652,8 @@ export const ListAgentsModel$outboundSchema: z.ZodType<
|
|
|
652
652
|
ListAgentsModel
|
|
653
653
|
> = z.object({
|
|
654
654
|
id: z.string(),
|
|
655
|
-
integrationId: z.string().optional(),
|
|
656
|
-
fallbackModels: z.array(z.string()).optional(),
|
|
655
|
+
integrationId: z.nullable(z.string()).optional(),
|
|
656
|
+
fallbackModels: z.nullable(z.array(z.string())).optional(),
|
|
657
657
|
maxTokens: z.number().int().optional(),
|
|
658
658
|
temperature: z.number().optional(),
|
|
659
659
|
}).transform((v) => {
|
|
@@ -1070,7 +1070,7 @@ export const ListAgentsKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
1070
1070
|
z.ZodTypeDef,
|
|
1071
1071
|
unknown
|
|
1072
1072
|
> = z.object({
|
|
1073
|
-
id: z.string().default("
|
|
1073
|
+
id: z.string().default("01K6XB25PFQFFF8GKXDDSA9SAM"),
|
|
1074
1074
|
knowledge_id: z.string(),
|
|
1075
1075
|
configuration: z.union([
|
|
1076
1076
|
z.lazy(() =>
|
|
@@ -1101,7 +1101,7 @@ export const ListAgentsKnowledgeBases$outboundSchema: z.ZodType<
|
|
|
1101
1101
|
z.ZodTypeDef,
|
|
1102
1102
|
ListAgentsKnowledgeBases
|
|
1103
1103
|
> = z.object({
|
|
1104
|
-
id: z.string().default("
|
|
1104
|
+
id: z.string().default("01K6XB25PFQFFF8GKXDDSA9SAM"),
|
|
1105
1105
|
knowledgeId: z.string(),
|
|
1106
1106
|
configuration: z.union([
|
|
1107
1107
|
z.lazy(() =>
|