@orq-ai/node 4.0.0-rc.41 → 4.0.0-rc.42
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/bin/mcp-server.js +305 -281
- package/bin/mcp-server.js.map +47 -47
- package/docs/sdks/agents/README.md +2 -0
- package/docs/sdks/knowledge/README.md +0 -2
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createagent.d.ts +15 -8
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +16 -8
- package/models/operations/createagent.js.map +1 -1
- 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 +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createknowledge.d.ts +1 -3
- package/models/operations/createknowledge.d.ts.map +1 -1
- package/models/operations/createknowledge.js +0 -4
- package/models/operations/createknowledge.js.map +1 -1
- package/models/operations/createprompt.d.ts +2 -2
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +2 -2
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/duplicateagent.d.ts +6 -4
- package/models/operations/duplicateagent.d.ts.map +1 -1
- package/models/operations/duplicateagent.js +8 -4
- package/models/operations/duplicateagent.js.map +1 -1
- package/models/operations/duplicatetool.js +12 -12
- 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 +6 -4
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +8 -4
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.d.ts +6 -4
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +8 -4
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +4 -4
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +6 -6
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +4 -4
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +6 -6
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/syncmcptool.js +12 -12
- package/models/operations/updateagent.d.ts +12 -8
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +16 -8
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updateprompt.d.ts +2 -2
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +2 -2
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createagent.ts +31 -16
- 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 +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createknowledge.ts +1 -7
- package/src/models/operations/createprompt.ts +4 -4
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/duplicateagent.ts +14 -8
- package/src/models/operations/duplicatetool.ts +12 -12
- 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 +14 -8
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +14 -8
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +10 -10
- package/src/models/operations/streamrunagent.ts +10 -10
- package/src/models/operations/syncmcptool.ts +12 -12
- package/src/models/operations/updateagent.ts +28 -16
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- 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/updateprompt.ts +4 -4
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -2571,7 +2571,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
2571
2571
|
z.ZodTypeDef,
|
|
2572
2572
|
unknown
|
|
2573
2573
|
> = z.object({
|
|
2574
|
-
_id: z.string().default("
|
|
2574
|
+
_id: z.string().default("tool_01KAA6WRNEJFQFWYXDJAF4866X"),
|
|
2575
2575
|
path: z.string(),
|
|
2576
2576
|
key: z.string(),
|
|
2577
2577
|
display_name: z.string().optional(),
|
|
@@ -2625,7 +2625,7 @@ export const ResponseBody5$outboundSchema: z.ZodType<
|
|
|
2625
2625
|
z.ZodTypeDef,
|
|
2626
2626
|
ResponseBody5
|
|
2627
2627
|
> = z.object({
|
|
2628
|
-
id: z.string().default("
|
|
2628
|
+
id: z.string().default("tool_01KAA6WRNEJFQFWYXDJAF4866X"),
|
|
2629
2629
|
path: z.string(),
|
|
2630
2630
|
key: z.string(),
|
|
2631
2631
|
displayName: z.string().optional(),
|
|
@@ -2795,7 +2795,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2795
2795
|
z.ZodTypeDef,
|
|
2796
2796
|
unknown
|
|
2797
2797
|
> = z.object({
|
|
2798
|
-
id: z.string().default("
|
|
2798
|
+
id: z.string().default("01KAA6WRNDVP738TFWR6WJRASN"),
|
|
2799
2799
|
name: z.string(),
|
|
2800
2800
|
description: z.string().optional(),
|
|
2801
2801
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2814,7 +2814,7 @@ export const ResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
2814
2814
|
z.ZodTypeDef,
|
|
2815
2815
|
ResponseBodyTools
|
|
2816
2816
|
> = z.object({
|
|
2817
|
-
id: z.string().default("
|
|
2817
|
+
id: z.string().default("01KAA6WRNDVP738TFWR6WJRASN"),
|
|
2818
2818
|
name: z.string(),
|
|
2819
2819
|
description: z.string().optional(),
|
|
2820
2820
|
schema: z.lazy(() => CreateToolResponseBodySchema$outboundSchema),
|
|
@@ -2909,7 +2909,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
2909
2909
|
z.ZodTypeDef,
|
|
2910
2910
|
unknown
|
|
2911
2911
|
> = z.object({
|
|
2912
|
-
_id: z.string().default("
|
|
2912
|
+
_id: z.string().default("tool_01KAA6WRN9C1HTQAQR9Z99CTH1"),
|
|
2913
2913
|
path: z.string(),
|
|
2914
2914
|
key: z.string(),
|
|
2915
2915
|
display_name: z.string().optional(),
|
|
@@ -2962,7 +2962,7 @@ export const ResponseBody4$outboundSchema: z.ZodType<
|
|
|
2962
2962
|
z.ZodTypeDef,
|
|
2963
2963
|
ResponseBody4
|
|
2964
2964
|
> = z.object({
|
|
2965
|
-
id: z.string().default("
|
|
2965
|
+
id: z.string().default("tool_01KAA6WRN9C1HTQAQR9Z99CTH1"),
|
|
2966
2966
|
path: z.string(),
|
|
2967
2967
|
key: z.string(),
|
|
2968
2968
|
displayName: z.string().optional(),
|
|
@@ -3318,7 +3318,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
3318
3318
|
z.ZodTypeDef,
|
|
3319
3319
|
unknown
|
|
3320
3320
|
> = z.object({
|
|
3321
|
-
_id: z.string().default("
|
|
3321
|
+
_id: z.string().default("tool_01KAA6WRN2GMMA48ETQPN3NQ2A"),
|
|
3322
3322
|
path: z.string(),
|
|
3323
3323
|
key: z.string(),
|
|
3324
3324
|
display_name: z.string().optional(),
|
|
@@ -3369,7 +3369,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
3369
3369
|
z.ZodTypeDef,
|
|
3370
3370
|
ResponseBody3
|
|
3371
3371
|
> = z.object({
|
|
3372
|
-
id: z.string().default("
|
|
3372
|
+
id: z.string().default("tool_01KAA6WRN2GMMA48ETQPN3NQ2A"),
|
|
3373
3373
|
path: z.string(),
|
|
3374
3374
|
key: z.string(),
|
|
3375
3375
|
displayName: z.string().optional(),
|
|
@@ -3539,7 +3539,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
|
|
|
3539
3539
|
z.ZodTypeDef,
|
|
3540
3540
|
unknown
|
|
3541
3541
|
> = z.object({
|
|
3542
|
-
_id: z.string().default("
|
|
3542
|
+
_id: z.string().default("tool_01KAA6WRMTJ459G6E3MW2DAWZ2"),
|
|
3543
3543
|
path: z.string(),
|
|
3544
3544
|
key: z.string(),
|
|
3545
3545
|
display_name: z.string().optional(),
|
|
@@ -3591,7 +3591,7 @@ export const ResponseBody2$outboundSchema: z.ZodType<
|
|
|
3591
3591
|
z.ZodTypeDef,
|
|
3592
3592
|
ResponseBody2
|
|
3593
3593
|
> = z.object({
|
|
3594
|
-
id: z.string().default("
|
|
3594
|
+
id: z.string().default("tool_01KAA6WRMTJ459G6E3MW2DAWZ2"),
|
|
3595
3595
|
path: z.string(),
|
|
3596
3596
|
key: z.string(),
|
|
3597
3597
|
displayName: z.string().optional(),
|
|
@@ -3777,7 +3777,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
|
|
|
3777
3777
|
z.ZodTypeDef,
|
|
3778
3778
|
unknown
|
|
3779
3779
|
> = z.object({
|
|
3780
|
-
_id: z.string().default("
|
|
3780
|
+
_id: z.string().default("tool_01KAA6WRMKNWRATV7559A1EPT1"),
|
|
3781
3781
|
path: z.string(),
|
|
3782
3782
|
key: z.string(),
|
|
3783
3783
|
display_name: z.string().optional(),
|
|
@@ -3828,7 +3828,7 @@ export const ResponseBody1$outboundSchema: z.ZodType<
|
|
|
3828
3828
|
z.ZodTypeDef,
|
|
3829
3829
|
ResponseBody1
|
|
3830
3830
|
> = z.object({
|
|
3831
|
-
id: z.string().default("
|
|
3831
|
+
id: z.string().default("tool_01KAA6WRMKNWRATV7559A1EPT1"),
|
|
3832
3832
|
path: z.string(),
|
|
3833
3833
|
key: z.string(),
|
|
3834
3834
|
displayName: z.string().optional(),
|
|
@@ -233,7 +233,7 @@ export type DuplicateAgentResponseFormatJsonSchema = {
|
|
|
233
233
|
/**
|
|
234
234
|
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
|
|
235
235
|
*/
|
|
236
|
-
strict?: boolean | undefined;
|
|
236
|
+
strict?: boolean | null | undefined;
|
|
237
237
|
};
|
|
238
238
|
|
|
239
239
|
/**
|
|
@@ -562,7 +562,7 @@ export type DuplicateAgentResponseFormatAgentsResponseJsonSchema = {
|
|
|
562
562
|
/**
|
|
563
563
|
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
|
|
564
564
|
*/
|
|
565
|
-
strict?: boolean | undefined;
|
|
565
|
+
strict?: boolean | null | undefined;
|
|
566
566
|
};
|
|
567
567
|
|
|
568
568
|
/**
|
|
@@ -891,6 +891,7 @@ export type DuplicateAgentKnowledgeBases = {
|
|
|
891
891
|
export type DuplicateAgentResponseBody = {
|
|
892
892
|
id: string;
|
|
893
893
|
key: string;
|
|
894
|
+
displayName: string;
|
|
894
895
|
workspaceId: string;
|
|
895
896
|
projectId: string;
|
|
896
897
|
createdById?: string | null | undefined;
|
|
@@ -1391,14 +1392,14 @@ export const DuplicateAgentResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
1391
1392
|
description: z.string().optional(),
|
|
1392
1393
|
name: z.string(),
|
|
1393
1394
|
schema: z.any().optional(),
|
|
1394
|
-
strict: z.boolean().optional(),
|
|
1395
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
1395
1396
|
});
|
|
1396
1397
|
/** @internal */
|
|
1397
1398
|
export type DuplicateAgentResponseFormatJsonSchema$Outbound = {
|
|
1398
1399
|
description?: string | undefined;
|
|
1399
1400
|
name: string;
|
|
1400
1401
|
schema?: any | undefined;
|
|
1401
|
-
strict?: boolean | undefined;
|
|
1402
|
+
strict?: boolean | null | undefined;
|
|
1402
1403
|
};
|
|
1403
1404
|
|
|
1404
1405
|
/** @internal */
|
|
@@ -1410,7 +1411,7 @@ export const DuplicateAgentResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
1410
1411
|
description: z.string().optional(),
|
|
1411
1412
|
name: z.string(),
|
|
1412
1413
|
schema: z.any().optional(),
|
|
1413
|
-
strict: z.boolean().optional(),
|
|
1414
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
1414
1415
|
});
|
|
1415
1416
|
|
|
1416
1417
|
export function duplicateAgentResponseFormatJsonSchemaToJSON(
|
|
@@ -2239,14 +2240,14 @@ export const DuplicateAgentResponseFormatAgentsResponseJsonSchema$inboundSchema:
|
|
|
2239
2240
|
description: z.string().optional(),
|
|
2240
2241
|
name: z.string(),
|
|
2241
2242
|
schema: z.any().optional(),
|
|
2242
|
-
strict: z.boolean().optional(),
|
|
2243
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2243
2244
|
});
|
|
2244
2245
|
/** @internal */
|
|
2245
2246
|
export type DuplicateAgentResponseFormatAgentsResponseJsonSchema$Outbound = {
|
|
2246
2247
|
description?: string | undefined;
|
|
2247
2248
|
name: string;
|
|
2248
2249
|
schema?: any | undefined;
|
|
2249
|
-
strict?: boolean | undefined;
|
|
2250
|
+
strict?: boolean | null | undefined;
|
|
2250
2251
|
};
|
|
2251
2252
|
|
|
2252
2253
|
/** @internal */
|
|
@@ -2259,7 +2260,7 @@ export const DuplicateAgentResponseFormatAgentsResponseJsonSchema$outboundSchema
|
|
|
2259
2260
|
description: z.string().optional(),
|
|
2260
2261
|
name: z.string(),
|
|
2261
2262
|
schema: z.any().optional(),
|
|
2262
|
-
strict: z.boolean().optional(),
|
|
2263
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2263
2264
|
});
|
|
2264
2265
|
|
|
2265
2266
|
export function duplicateAgentResponseFormatAgentsResponseJsonSchemaToJSON(
|
|
@@ -3391,6 +3392,7 @@ export const DuplicateAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3391
3392
|
> = z.object({
|
|
3392
3393
|
_id: z.string(),
|
|
3393
3394
|
key: z.string(),
|
|
3395
|
+
display_name: z.string(),
|
|
3394
3396
|
workspace_id: z.string(),
|
|
3395
3397
|
project_id: z.string(),
|
|
3396
3398
|
created_by_id: z.nullable(z.string()).optional(),
|
|
@@ -3418,6 +3420,7 @@ export const DuplicateAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3418
3420
|
}).transform((v) => {
|
|
3419
3421
|
return remap$(v, {
|
|
3420
3422
|
"_id": "id",
|
|
3423
|
+
"display_name": "displayName",
|
|
3421
3424
|
"workspace_id": "workspaceId",
|
|
3422
3425
|
"project_id": "projectId",
|
|
3423
3426
|
"created_by_id": "createdById",
|
|
@@ -3433,6 +3436,7 @@ export const DuplicateAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3433
3436
|
export type DuplicateAgentResponseBody$Outbound = {
|
|
3434
3437
|
_id: string;
|
|
3435
3438
|
key: string;
|
|
3439
|
+
display_name: string;
|
|
3436
3440
|
workspace_id: string;
|
|
3437
3441
|
project_id: string;
|
|
3438
3442
|
created_by_id?: string | null | undefined;
|
|
@@ -3463,6 +3467,7 @@ export const DuplicateAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
3463
3467
|
> = z.object({
|
|
3464
3468
|
id: z.string(),
|
|
3465
3469
|
key: z.string(),
|
|
3470
|
+
displayName: z.string(),
|
|
3466
3471
|
workspaceId: z.string(),
|
|
3467
3472
|
projectId: z.string(),
|
|
3468
3473
|
createdById: z.nullable(z.string()).optional(),
|
|
@@ -3490,6 +3495,7 @@ export const DuplicateAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
3490
3495
|
}).transform((v) => {
|
|
3491
3496
|
return remap$(v, {
|
|
3492
3497
|
id: "_id",
|
|
3498
|
+
displayName: "display_name",
|
|
3493
3499
|
workspaceId: "workspace_id",
|
|
3494
3500
|
projectId: "project_id",
|
|
3495
3501
|
createdById: "created_by_id",
|
|
@@ -970,7 +970,7 @@ export const DuplicateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
970
970
|
z.ZodTypeDef,
|
|
971
971
|
unknown
|
|
972
972
|
> = z.object({
|
|
973
|
-
_id: z.string().default("
|
|
973
|
+
_id: z.string().default("tool_01KAA6WRPQKZM4B9Z0CXK36G7N"),
|
|
974
974
|
path: z.string(),
|
|
975
975
|
key: z.string(),
|
|
976
976
|
display_name: z.string().optional(),
|
|
@@ -1025,7 +1025,7 @@ export const DuplicateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
1025
1025
|
z.ZodTypeDef,
|
|
1026
1026
|
DuplicateToolResponseBody5
|
|
1027
1027
|
> = z.object({
|
|
1028
|
-
id: z.string().default("
|
|
1028
|
+
id: z.string().default("tool_01KAA6WRPQKZM4B9Z0CXK36G7N"),
|
|
1029
1029
|
path: z.string(),
|
|
1030
1030
|
key: z.string(),
|
|
1031
1031
|
displayName: z.string().optional(),
|
|
@@ -1205,7 +1205,7 @@ export const DuplicateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1205
1205
|
z.ZodTypeDef,
|
|
1206
1206
|
unknown
|
|
1207
1207
|
> = z.object({
|
|
1208
|
-
id: z.string().default("
|
|
1208
|
+
id: z.string().default("01KAA6WRPQSBJBRQNDY7S5NJXP"),
|
|
1209
1209
|
name: z.string(),
|
|
1210
1210
|
description: z.string().optional(),
|
|
1211
1211
|
schema: z.lazy(() => DuplicateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -1224,7 +1224,7 @@ export const DuplicateToolResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
1224
1224
|
z.ZodTypeDef,
|
|
1225
1225
|
DuplicateToolResponseBodyTools
|
|
1226
1226
|
> = z.object({
|
|
1227
|
-
id: z.string().default("
|
|
1227
|
+
id: z.string().default("01KAA6WRPQSBJBRQNDY7S5NJXP"),
|
|
1228
1228
|
name: z.string(),
|
|
1229
1229
|
description: z.string().optional(),
|
|
1230
1230
|
schema: z.lazy(() => DuplicateToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -1330,7 +1330,7 @@ export const DuplicateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1330
1330
|
z.ZodTypeDef,
|
|
1331
1331
|
unknown
|
|
1332
1332
|
> = z.object({
|
|
1333
|
-
_id: z.string().default("
|
|
1333
|
+
_id: z.string().default("tool_01KAA6WRPNCVV7Z0FV0KEEV937"),
|
|
1334
1334
|
path: z.string(),
|
|
1335
1335
|
key: z.string(),
|
|
1336
1336
|
display_name: z.string().optional(),
|
|
@@ -1383,7 +1383,7 @@ export const DuplicateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1383
1383
|
z.ZodTypeDef,
|
|
1384
1384
|
DuplicateToolResponseBody4
|
|
1385
1385
|
> = z.object({
|
|
1386
|
-
id: z.string().default("
|
|
1386
|
+
id: z.string().default("tool_01KAA6WRPNCVV7Z0FV0KEEV937"),
|
|
1387
1387
|
path: z.string(),
|
|
1388
1388
|
key: z.string(),
|
|
1389
1389
|
displayName: z.string().optional(),
|
|
@@ -1764,7 +1764,7 @@ export const DuplicateToolResponseBody3$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_01KAA6WRPKZ9CS1XCP72E9DCQR"),
|
|
1768
1768
|
path: z.string(),
|
|
1769
1769
|
key: z.string(),
|
|
1770
1770
|
display_name: z.string().optional(),
|
|
@@ -1817,7 +1817,7 @@ export const DuplicateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1817
1817
|
z.ZodTypeDef,
|
|
1818
1818
|
DuplicateToolResponseBody3
|
|
1819
1819
|
> = z.object({
|
|
1820
|
-
id: z.string().default("
|
|
1820
|
+
id: z.string().default("tool_01KAA6WRPKZ9CS1XCP72E9DCQR"),
|
|
1821
1821
|
path: z.string(),
|
|
1822
1822
|
key: z.string(),
|
|
1823
1823
|
displayName: z.string().optional(),
|
|
@@ -1999,7 +1999,7 @@ export const DuplicateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1999
1999
|
z.ZodTypeDef,
|
|
2000
2000
|
unknown
|
|
2001
2001
|
> = z.object({
|
|
2002
|
-
_id: z.string().default("
|
|
2002
|
+
_id: z.string().default("tool_01KAA6WRPJWN7JGC4NAS1MAAQX"),
|
|
2003
2003
|
path: z.string(),
|
|
2004
2004
|
key: z.string(),
|
|
2005
2005
|
display_name: z.string().optional(),
|
|
@@ -2051,7 +2051,7 @@ export const DuplicateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
2051
2051
|
z.ZodTypeDef,
|
|
2052
2052
|
DuplicateToolResponseBody2
|
|
2053
2053
|
> = z.object({
|
|
2054
|
-
id: z.string().default("
|
|
2054
|
+
id: z.string().default("tool_01KAA6WRPJWN7JGC4NAS1MAAQX"),
|
|
2055
2055
|
path: z.string(),
|
|
2056
2056
|
key: z.string(),
|
|
2057
2057
|
displayName: z.string().optional(),
|
|
@@ -2249,7 +2249,7 @@ export const DuplicateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2249
2249
|
z.ZodTypeDef,
|
|
2250
2250
|
unknown
|
|
2251
2251
|
> = z.object({
|
|
2252
|
-
_id: z.string().default("
|
|
2252
|
+
_id: z.string().default("tool_01KAA6WRPHHX2KZFGN5106EDND"),
|
|
2253
2253
|
path: z.string(),
|
|
2254
2254
|
key: z.string(),
|
|
2255
2255
|
display_name: z.string().optional(),
|
|
@@ -2300,7 +2300,7 @@ export const DuplicateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2300
2300
|
z.ZodTypeDef,
|
|
2301
2301
|
DuplicateToolResponseBody1
|
|
2302
2302
|
> = z.object({
|
|
2303
|
-
id: z.string().default("
|
|
2303
|
+
id: z.string().default("tool_01KAA6WRPHHX2KZFGN5106EDND"),
|
|
2304
2304
|
path: z.string(),
|
|
2305
2305
|
key: z.string(),
|
|
2306
2306
|
displayName: z.string().optional(),
|
|
@@ -119,7 +119,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
119
119
|
file_name: z.string(),
|
|
120
120
|
workspace_id: z.string(),
|
|
121
121
|
created: z.string().datetime({ offset: true }).default(
|
|
122
|
-
"2025-11-
|
|
122
|
+
"2025-11-18T00:47:24.260Z",
|
|
123
123
|
).transform(v => new Date(v)),
|
|
124
124
|
}).transform((v) => {
|
|
125
125
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
152
152
|
bytes: z.number(),
|
|
153
153
|
fileName: z.string(),
|
|
154
154
|
workspaceId: z.string(),
|
|
155
|
-
created: z.date().default(() => new Date("2025-11-
|
|
155
|
+
created: z.date().default(() => new Date("2025-11-18T00:47:24.260Z"))
|
|
156
156
|
.transform(v => v.toISOString()),
|
|
157
157
|
}).transform((v) => {
|
|
158
158
|
return remap$(v, {
|
|
@@ -157,7 +157,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
157
157
|
file_name: z.string(),
|
|
158
158
|
workspace_id: z.string(),
|
|
159
159
|
created: z.string().datetime({ offset: true }).default(
|
|
160
|
-
"2025-11-
|
|
160
|
+
"2025-11-18T00:47:24.260Z",
|
|
161
161
|
).transform(v => new Date(v)),
|
|
162
162
|
}).transform((v) => {
|
|
163
163
|
return remap$(v, {
|
|
@@ -190,7 +190,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
190
190
|
bytes: z.number(),
|
|
191
191
|
fileName: z.string(),
|
|
192
192
|
workspaceId: z.string(),
|
|
193
|
-
created: z.date().default(() => new Date("2025-11-
|
|
193
|
+
created: z.date().default(() => new Date("2025-11-18T00:47:24.260Z"))
|
|
194
194
|
.transform(v => v.toISOString()),
|
|
195
195
|
}).transform((v) => {
|
|
196
196
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileUploadResponseBody$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-11-
|
|
199
|
+
"2025-11-18T00:47:24.260Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -229,7 +229,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
229
229
|
bytes: z.number(),
|
|
230
230
|
fileName: z.string(),
|
|
231
231
|
workspaceId: z.string(),
|
|
232
|
-
created: z.date().default(() => new Date("2025-11-
|
|
232
|
+
created: z.date().default(() => new Date("2025-11-18T00:47:24.260Z"))
|
|
233
233
|
.transform(v => v.toISOString()),
|
|
234
234
|
}).transform((v) => {
|
|
235
235
|
return remap$(v, {
|
|
@@ -231,7 +231,7 @@ export type GetAgentResponseFormatJsonSchema = {
|
|
|
231
231
|
/**
|
|
232
232
|
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
|
|
233
233
|
*/
|
|
234
|
-
strict?: boolean | undefined;
|
|
234
|
+
strict?: boolean | null | undefined;
|
|
235
235
|
};
|
|
236
236
|
|
|
237
237
|
/**
|
|
@@ -549,7 +549,7 @@ export type GetAgentResponseFormatAgentsResponseJsonSchema = {
|
|
|
549
549
|
/**
|
|
550
550
|
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
|
|
551
551
|
*/
|
|
552
|
-
strict?: boolean | undefined;
|
|
552
|
+
strict?: boolean | null | undefined;
|
|
553
553
|
};
|
|
554
554
|
|
|
555
555
|
/**
|
|
@@ -872,6 +872,7 @@ export type GetAgentKnowledgeBases = {
|
|
|
872
872
|
export type GetAgentResponseBody = {
|
|
873
873
|
id: string;
|
|
874
874
|
key: string;
|
|
875
|
+
displayName: string;
|
|
875
876
|
workspaceId: string;
|
|
876
877
|
projectId: string;
|
|
877
878
|
createdById?: string | null | undefined;
|
|
@@ -1372,14 +1373,14 @@ export const GetAgentResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
1372
1373
|
description: z.string().optional(),
|
|
1373
1374
|
name: z.string(),
|
|
1374
1375
|
schema: z.any().optional(),
|
|
1375
|
-
strict: z.boolean().optional(),
|
|
1376
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
1376
1377
|
});
|
|
1377
1378
|
/** @internal */
|
|
1378
1379
|
export type GetAgentResponseFormatJsonSchema$Outbound = {
|
|
1379
1380
|
description?: string | undefined;
|
|
1380
1381
|
name: string;
|
|
1381
1382
|
schema?: any | undefined;
|
|
1382
|
-
strict?: boolean | undefined;
|
|
1383
|
+
strict?: boolean | null | undefined;
|
|
1383
1384
|
};
|
|
1384
1385
|
|
|
1385
1386
|
/** @internal */
|
|
@@ -1391,7 +1392,7 @@ export const GetAgentResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
1391
1392
|
description: z.string().optional(),
|
|
1392
1393
|
name: z.string(),
|
|
1393
1394
|
schema: z.any().optional(),
|
|
1394
|
-
strict: z.boolean().optional(),
|
|
1395
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
1395
1396
|
});
|
|
1396
1397
|
|
|
1397
1398
|
export function getAgentResponseFormatJsonSchemaToJSON(
|
|
@@ -2177,14 +2178,14 @@ export const GetAgentResponseFormatAgentsResponseJsonSchema$inboundSchema:
|
|
|
2177
2178
|
description: z.string().optional(),
|
|
2178
2179
|
name: z.string(),
|
|
2179
2180
|
schema: z.any().optional(),
|
|
2180
|
-
strict: z.boolean().optional(),
|
|
2181
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2181
2182
|
});
|
|
2182
2183
|
/** @internal */
|
|
2183
2184
|
export type GetAgentResponseFormatAgentsResponseJsonSchema$Outbound = {
|
|
2184
2185
|
description?: string | undefined;
|
|
2185
2186
|
name: string;
|
|
2186
2187
|
schema?: any | undefined;
|
|
2187
|
-
strict?: boolean | undefined;
|
|
2188
|
+
strict?: boolean | null | undefined;
|
|
2188
2189
|
};
|
|
2189
2190
|
|
|
2190
2191
|
/** @internal */
|
|
@@ -2197,7 +2198,7 @@ export const GetAgentResponseFormatAgentsResponseJsonSchema$outboundSchema:
|
|
|
2197
2198
|
description: z.string().optional(),
|
|
2198
2199
|
name: z.string(),
|
|
2199
2200
|
schema: z.any().optional(),
|
|
2200
|
-
strict: z.boolean().optional(),
|
|
2201
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2201
2202
|
});
|
|
2202
2203
|
|
|
2203
2204
|
export function getAgentResponseFormatAgentsResponseJsonSchemaToJSON(
|
|
@@ -3277,6 +3278,7 @@ export const GetAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3277
3278
|
> = z.object({
|
|
3278
3279
|
_id: z.string(),
|
|
3279
3280
|
key: z.string(),
|
|
3281
|
+
display_name: z.string(),
|
|
3280
3282
|
workspace_id: z.string(),
|
|
3281
3283
|
project_id: z.string(),
|
|
3282
3284
|
created_by_id: z.nullable(z.string()).optional(),
|
|
@@ -3301,6 +3303,7 @@ export const GetAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3301
3303
|
}).transform((v) => {
|
|
3302
3304
|
return remap$(v, {
|
|
3303
3305
|
"_id": "id",
|
|
3306
|
+
"display_name": "displayName",
|
|
3304
3307
|
"workspace_id": "workspaceId",
|
|
3305
3308
|
"project_id": "projectId",
|
|
3306
3309
|
"created_by_id": "createdById",
|
|
@@ -3316,6 +3319,7 @@ export const GetAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3316
3319
|
export type GetAgentResponseBody$Outbound = {
|
|
3317
3320
|
_id: string;
|
|
3318
3321
|
key: string;
|
|
3322
|
+
display_name: string;
|
|
3319
3323
|
workspace_id: string;
|
|
3320
3324
|
project_id: string;
|
|
3321
3325
|
created_by_id?: string | null | undefined;
|
|
@@ -3346,6 +3350,7 @@ export const GetAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
3346
3350
|
> = z.object({
|
|
3347
3351
|
id: z.string(),
|
|
3348
3352
|
key: z.string(),
|
|
3353
|
+
displayName: z.string(),
|
|
3349
3354
|
workspaceId: z.string(),
|
|
3350
3355
|
projectId: z.string(),
|
|
3351
3356
|
createdById: z.nullable(z.string()).optional(),
|
|
@@ -3370,6 +3375,7 @@ export const GetAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
3370
3375
|
}).transform((v) => {
|
|
3371
3376
|
return remap$(v, {
|
|
3372
3377
|
id: "_id",
|
|
3378
|
+
displayName: "display_name",
|
|
3373
3379
|
workspaceId: "workspace_id",
|
|
3374
3380
|
projectId: "project_id",
|
|
3375
3381
|
createdById: "created_by_id",
|
|
@@ -876,7 +876,7 @@ export function dataCodeToolFromJSON(
|
|
|
876
876
|
/** @internal */
|
|
877
877
|
export const Data5$inboundSchema: z.ZodType<Data5, z.ZodTypeDef, unknown> = z
|
|
878
878
|
.object({
|
|
879
|
-
_id: z.string().default("
|
|
879
|
+
_id: z.string().default("tool_01KAA6WRKEQT98JJP8GNGZE2XN"),
|
|
880
880
|
path: z.string(),
|
|
881
881
|
key: z.string(),
|
|
882
882
|
display_name: z.string().optional(),
|
|
@@ -928,7 +928,7 @@ export const Data5$outboundSchema: z.ZodType<
|
|
|
928
928
|
z.ZodTypeDef,
|
|
929
929
|
Data5
|
|
930
930
|
> = z.object({
|
|
931
|
-
id: z.string().default("
|
|
931
|
+
id: z.string().default("tool_01KAA6WRKEQT98JJP8GNGZE2XN"),
|
|
932
932
|
path: z.string(),
|
|
933
933
|
key: z.string(),
|
|
934
934
|
displayName: z.string().optional(),
|
|
@@ -1092,7 +1092,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
1092
1092
|
z.ZodTypeDef,
|
|
1093
1093
|
unknown
|
|
1094
1094
|
> = z.object({
|
|
1095
|
-
id: z.string().default("
|
|
1095
|
+
id: z.string().default("01KAA6WRK9S5BPPS4RDP3Y4R9N"),
|
|
1096
1096
|
name: z.string(),
|
|
1097
1097
|
description: z.string().optional(),
|
|
1098
1098
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -1111,7 +1111,7 @@ export const DataTools$outboundSchema: z.ZodType<
|
|
|
1111
1111
|
z.ZodTypeDef,
|
|
1112
1112
|
DataTools
|
|
1113
1113
|
> = z.object({
|
|
1114
|
-
id: z.string().default("
|
|
1114
|
+
id: z.string().default("01KAA6WRK9S5BPPS4RDP3Y4R9N"),
|
|
1115
1115
|
name: z.string(),
|
|
1116
1116
|
description: z.string().optional(),
|
|
1117
1117
|
schema: z.lazy(() => GetAllToolsDataSchema$outboundSchema),
|
|
@@ -1193,7 +1193,7 @@ export function dataMcpFromJSON(
|
|
|
1193
1193
|
/** @internal */
|
|
1194
1194
|
export const Data4$inboundSchema: z.ZodType<Data4, z.ZodTypeDef, unknown> = z
|
|
1195
1195
|
.object({
|
|
1196
|
-
_id: z.string().default("
|
|
1196
|
+
_id: z.string().default("tool_01KAA6WRK3ZDFMVWZDT72KX8TC"),
|
|
1197
1197
|
path: z.string(),
|
|
1198
1198
|
key: z.string(),
|
|
1199
1199
|
display_name: z.string().optional(),
|
|
@@ -1244,7 +1244,7 @@ export const Data4$outboundSchema: z.ZodType<
|
|
|
1244
1244
|
z.ZodTypeDef,
|
|
1245
1245
|
Data4
|
|
1246
1246
|
> = z.object({
|
|
1247
|
-
id: z.string().default("
|
|
1247
|
+
id: z.string().default("tool_01KAA6WRK3ZDFMVWZDT72KX8TC"),
|
|
1248
1248
|
path: z.string(),
|
|
1249
1249
|
key: z.string(),
|
|
1250
1250
|
displayName: z.string().optional(),
|
|
@@ -1584,7 +1584,7 @@ export function getAllToolsDataHttpFromJSON(
|
|
|
1584
1584
|
/** @internal */
|
|
1585
1585
|
export const Data3$inboundSchema: z.ZodType<Data3, z.ZodTypeDef, unknown> = z
|
|
1586
1586
|
.object({
|
|
1587
|
-
_id: z.string().default("
|
|
1587
|
+
_id: z.string().default("tool_01KAA6WRJRAM82T674C8EFA5HN"),
|
|
1588
1588
|
path: z.string(),
|
|
1589
1589
|
key: z.string(),
|
|
1590
1590
|
display_name: z.string().optional(),
|
|
@@ -1635,7 +1635,7 @@ export const Data3$outboundSchema: z.ZodType<
|
|
|
1635
1635
|
z.ZodTypeDef,
|
|
1636
1636
|
Data3
|
|
1637
1637
|
> = z.object({
|
|
1638
|
-
id: z.string().default("
|
|
1638
|
+
id: z.string().default("tool_01KAA6WRJRAM82T674C8EFA5HN"),
|
|
1639
1639
|
path: z.string(),
|
|
1640
1640
|
key: z.string(),
|
|
1641
1641
|
displayName: z.string().optional(),
|
|
@@ -1794,7 +1794,7 @@ export function dataJsonSchemaFromJSON(
|
|
|
1794
1794
|
/** @internal */
|
|
1795
1795
|
export const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown> = z
|
|
1796
1796
|
.object({
|
|
1797
|
-
_id: z.string().default("
|
|
1797
|
+
_id: z.string().default("tool_01KAA6WRHW1G04KKVZRCN0W3QN"),
|
|
1798
1798
|
path: z.string(),
|
|
1799
1799
|
key: z.string(),
|
|
1800
1800
|
display_name: z.string().optional(),
|
|
@@ -1846,7 +1846,7 @@ export const Data2$outboundSchema: z.ZodType<
|
|
|
1846
1846
|
z.ZodTypeDef,
|
|
1847
1847
|
Data2
|
|
1848
1848
|
> = z.object({
|
|
1849
|
-
id: z.string().default("
|
|
1849
|
+
id: z.string().default("tool_01KAA6WRHW1G04KKVZRCN0W3QN"),
|
|
1850
1850
|
path: z.string(),
|
|
1851
1851
|
key: z.string(),
|
|
1852
1852
|
displayName: z.string().optional(),
|
|
@@ -2024,7 +2024,7 @@ export function getAllToolsDataFunctionFromJSON(
|
|
|
2024
2024
|
/** @internal */
|
|
2025
2025
|
export const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown> = z
|
|
2026
2026
|
.object({
|
|
2027
|
-
_id: z.string().default("
|
|
2027
|
+
_id: z.string().default("tool_01KAA6WRHRRN0MHTDXTBJMRRWG"),
|
|
2028
2028
|
path: z.string(),
|
|
2029
2029
|
key: z.string(),
|
|
2030
2030
|
display_name: z.string().optional(),
|
|
@@ -2075,7 +2075,7 @@ export const Data1$outboundSchema: z.ZodType<
|
|
|
2075
2075
|
z.ZodTypeDef,
|
|
2076
2076
|
Data1
|
|
2077
2077
|
> = z.object({
|
|
2078
|
-
id: z.string().default("
|
|
2078
|
+
id: z.string().default("tool_01KAA6WRHRRN0MHTDXTBJMRRWG"),
|
|
2079
2079
|
path: z.string(),
|
|
2080
2080
|
key: z.string(),
|
|
2081
2081
|
displayName: z.string().optional(),
|
|
@@ -291,7 +291,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
291
291
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
292
292
|
.optional(),
|
|
293
293
|
updated: z.string().datetime({ offset: true }).default(
|
|
294
|
-
"2025-11-
|
|
294
|
+
"2025-11-18T00:47:21.633Z",
|
|
295
295
|
).transform(v => new Date(v)),
|
|
296
296
|
}).transform((v) => {
|
|
297
297
|
return remap$(v, {
|
|
@@ -328,7 +328,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
328
328
|
isActive: z.boolean(),
|
|
329
329
|
consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
|
|
330
330
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
331
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
331
|
+
updated: z.date().default(() => new Date("2025-11-18T00:47:21.633Z"))
|
|
332
332
|
.transform(v => v.toISOString()),
|
|
333
333
|
}).transform((v) => {
|
|
334
334
|
return remap$(v, {
|