@orq-ai/node 3.14.40 → 3.14.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 +696 -1501
- package/bin/mcp-server.js.map +55 -55
- package/examples/package-lock.json +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.js +1 -1
- package/models/operations/createagent.d.ts +80 -0
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +70 -7
- 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.d.ts +106 -106
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +242 -234
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/creatememorystore.d.ts +10 -391
- package/models/operations/creatememorystore.d.ts.map +1 -1
- package/models/operations/creatememorystore.js +5 -563
- package/models/operations/creatememorystore.js.map +1 -1
- package/models/operations/createprompt.d.ts +40 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +33 -7
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +10 -10
- package/models/operations/deploymentgetconfig.d.ts +20 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +22 -8
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +20 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +16 -3
- package/models/operations/deployments.js.map +1 -1
- 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 +40 -0
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +33 -3
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getallmemorystores.d.ts +5 -195
- package/models/operations/getallmemorystores.d.ts.map +1 -1
- package/models/operations/getallmemorystores.js +3 -273
- package/models/operations/getallmemorystores.js.map +1 -1
- package/models/operations/getallprompts.d.ts +20 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +16 -3
- package/models/operations/getallprompts.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/getoneprompt.d.ts +20 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +16 -3
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +20 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +16 -2
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listagents.d.ts +40 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +36 -3
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +40 -0
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +36 -3
- package/models/operations/listagenttasks.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.d.ts +5 -5
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +4 -4
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +20 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +16 -3
- package/models/operations/listpromptversions.js.map +1 -1
- 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/retrievememorystore.d.ts +5 -196
- package/models/operations/retrievememorystore.d.ts.map +1 -1
- package/models/operations/retrievememorystore.js +3 -273
- package/models/operations/retrievememorystore.js.map +1 -1
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.d.ts +40 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +36 -6
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +40 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +39 -6
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +80 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +73 -7
- 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/updatememorystore.d.ts +5 -195
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +3 -290
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +40 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +33 -7
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +10 -10
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/agents/README.md +2 -0
- package/packages/orq-rc/docs/sdks/knowledge/README.md +0 -2
- 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/createagent.ts +204 -62
- 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 +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +423 -524
- package/packages/orq-rc/src/models/operations/createknowledge.ts +1 -7
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +14 -1094
- package/packages/orq-rc/src/models/operations/createprompt.ts +64 -4
- package/packages/orq-rc/src/models/operations/createtool.ts +14 -10
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +30 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +30 -0
- package/packages/orq-rc/src/models/operations/duplicateagent.ts +93 -15
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +29 -11
- 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 +86 -15
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +7 -595
- package/packages/orq-rc/src/models/operations/getallprompts.ts +30 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +14 -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/getoneprompt.ts +30 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +30 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +89 -15
- 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 +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +9 -9
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +30 -0
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +7 -596
- package/packages/orq-rc/src/models/operations/retrievetool.ts +14 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +81 -8
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +86 -8
- package/packages/orq-rc/src/models/operations/syncmcptool.ts +14 -10
- package/packages/orq-rc/src/models/operations/updateagent.ts +176 -23
- 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 +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- 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/updatememorystore.ts +7 -527
- package/packages/orq-rc/src/models/operations/updateprompt.ts +64 -4
- package/packages/orq-rc/src/models/operations/updatetool.ts +25 -10
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createagent.ts +129 -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 +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +423 -524
- package/src/models/operations/creatememorystore.ts +14 -1108
- package/src/models/operations/createprompt.ts +60 -0
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/deploymentgetconfig.ts +30 -0
- package/src/models/operations/deployments.ts +30 -0
- 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 +62 -0
- package/src/models/operations/getallmemorystores.ts +7 -595
- package/src/models/operations/getallprompts.ts +30 -0
- 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/getoneprompt.ts +30 -0
- package/src/models/operations/getpromptversion.ts +30 -0
- package/src/models/operations/listagents.ts +67 -0
- package/src/models/operations/listagenttasks.ts +66 -0
- 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 +9 -9
- package/src/models/operations/listpromptversions.ts +30 -0
- 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/retrievememorystore.ts +7 -596
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +64 -0
- package/src/models/operations/streamrunagent.ts +66 -0
- package/src/models/operations/updateagent.ts +131 -0
- 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/updatememorystore.ts +7 -527
- package/src/models/operations/updateprompt.ts +60 -0
- package/src/models/operations/updatetool.ts +10 -10
|
@@ -71,12 +71,12 @@ export type GetAgentTools = {
|
|
|
71
71
|
key?: string | undefined;
|
|
72
72
|
actionType: string;
|
|
73
73
|
displayName?: string | undefined;
|
|
74
|
-
requiresApproval?: boolean | undefined;
|
|
75
|
-
conditions?: Array<GetAgentConditions> | undefined;
|
|
76
74
|
/**
|
|
77
|
-
* Optional
|
|
75
|
+
* Optional tool description
|
|
78
76
|
*/
|
|
79
|
-
|
|
77
|
+
description?: string | undefined;
|
|
78
|
+
requiresApproval?: boolean | undefined;
|
|
79
|
+
conditions?: Array<GetAgentConditions> | undefined;
|
|
80
80
|
/**
|
|
81
81
|
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
82
82
|
*/
|
|
@@ -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
|
/**
|
|
@@ -311,6 +311,18 @@ export const GetAgentType = {
|
|
|
311
311
|
*/
|
|
312
312
|
export type GetAgentType = ClosedEnum<typeof GetAgentType>;
|
|
313
313
|
|
|
314
|
+
/**
|
|
315
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
316
|
+
*/
|
|
317
|
+
export const GetAgentThinkingLevel = {
|
|
318
|
+
Low: "low",
|
|
319
|
+
High: "high",
|
|
320
|
+
} as const;
|
|
321
|
+
/**
|
|
322
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
323
|
+
*/
|
|
324
|
+
export type GetAgentThinkingLevel = ClosedEnum<typeof GetAgentThinkingLevel>;
|
|
325
|
+
|
|
314
326
|
export type GetAgentThinking = {
|
|
315
327
|
/**
|
|
316
328
|
* Enables or disables the thinking mode capability
|
|
@@ -320,6 +332,10 @@ export type GetAgentThinking = {
|
|
|
320
332
|
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
321
333
|
*/
|
|
322
334
|
budgetTokens: number;
|
|
335
|
+
/**
|
|
336
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
337
|
+
*/
|
|
338
|
+
thinkingLevel?: GetAgentThinkingLevel | undefined;
|
|
323
339
|
};
|
|
324
340
|
|
|
325
341
|
/**
|
|
@@ -549,7 +565,7 @@ export type GetAgentResponseFormatAgentsResponseJsonSchema = {
|
|
|
549
565
|
/**
|
|
550
566
|
* 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
567
|
*/
|
|
552
|
-
strict?: boolean | undefined;
|
|
568
|
+
strict?: boolean | null | undefined;
|
|
553
569
|
};
|
|
554
570
|
|
|
555
571
|
/**
|
|
@@ -630,6 +646,20 @@ export type GetAgentFallbackModelConfigurationType = ClosedEnum<
|
|
|
630
646
|
typeof GetAgentFallbackModelConfigurationType
|
|
631
647
|
>;
|
|
632
648
|
|
|
649
|
+
/**
|
|
650
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
651
|
+
*/
|
|
652
|
+
export const GetAgentFallbackModelConfigurationThinkingLevel = {
|
|
653
|
+
Low: "low",
|
|
654
|
+
High: "high",
|
|
655
|
+
} as const;
|
|
656
|
+
/**
|
|
657
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
658
|
+
*/
|
|
659
|
+
export type GetAgentFallbackModelConfigurationThinkingLevel = ClosedEnum<
|
|
660
|
+
typeof GetAgentFallbackModelConfigurationThinkingLevel
|
|
661
|
+
>;
|
|
662
|
+
|
|
633
663
|
export type GetAgentFallbackModelConfigurationThinking = {
|
|
634
664
|
/**
|
|
635
665
|
* Enables or disables the thinking mode capability
|
|
@@ -639,6 +669,10 @@ export type GetAgentFallbackModelConfigurationThinking = {
|
|
|
639
669
|
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
640
670
|
*/
|
|
641
671
|
budgetTokens: number;
|
|
672
|
+
/**
|
|
673
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
674
|
+
*/
|
|
675
|
+
thinkingLevel?: GetAgentFallbackModelConfigurationThinkingLevel | undefined;
|
|
642
676
|
};
|
|
643
677
|
|
|
644
678
|
/**
|
|
@@ -872,6 +906,7 @@ export type GetAgentKnowledgeBases = {
|
|
|
872
906
|
export type GetAgentResponseBody = {
|
|
873
907
|
id: string;
|
|
874
908
|
key: string;
|
|
909
|
+
displayName: string;
|
|
875
910
|
workspaceId: string;
|
|
876
911
|
projectId: string;
|
|
877
912
|
createdById?: string | null | undefined;
|
|
@@ -1036,10 +1071,10 @@ export const GetAgentTools$inboundSchema: z.ZodType<
|
|
|
1036
1071
|
key: z.string().optional(),
|
|
1037
1072
|
action_type: z.string(),
|
|
1038
1073
|
display_name: z.string().optional(),
|
|
1074
|
+
description: z.string().optional(),
|
|
1039
1075
|
requires_approval: z.boolean().default(false),
|
|
1040
1076
|
conditions: z.array(z.lazy(() => GetAgentConditions$inboundSchema))
|
|
1041
1077
|
.optional(),
|
|
1042
|
-
mcpServer: z.string().optional(),
|
|
1043
1078
|
timeout: z.number().default(120),
|
|
1044
1079
|
}).transform((v) => {
|
|
1045
1080
|
return remap$(v, {
|
|
@@ -1054,9 +1089,9 @@ export type GetAgentTools$Outbound = {
|
|
|
1054
1089
|
key?: string | undefined;
|
|
1055
1090
|
action_type: string;
|
|
1056
1091
|
display_name?: string | undefined;
|
|
1092
|
+
description?: string | undefined;
|
|
1057
1093
|
requires_approval: boolean;
|
|
1058
1094
|
conditions?: Array<GetAgentConditions$Outbound> | undefined;
|
|
1059
|
-
mcpServer?: string | undefined;
|
|
1060
1095
|
timeout: number;
|
|
1061
1096
|
};
|
|
1062
1097
|
|
|
@@ -1070,10 +1105,10 @@ export const GetAgentTools$outboundSchema: z.ZodType<
|
|
|
1070
1105
|
key: z.string().optional(),
|
|
1071
1106
|
actionType: z.string(),
|
|
1072
1107
|
displayName: z.string().optional(),
|
|
1108
|
+
description: z.string().optional(),
|
|
1073
1109
|
requiresApproval: z.boolean().default(false),
|
|
1074
1110
|
conditions: z.array(z.lazy(() => GetAgentConditions$outboundSchema))
|
|
1075
1111
|
.optional(),
|
|
1076
|
-
mcpServer: z.string().optional(),
|
|
1077
1112
|
timeout: z.number().default(120),
|
|
1078
1113
|
}).transform((v) => {
|
|
1079
1114
|
return remap$(v, {
|
|
@@ -1372,14 +1407,14 @@ export const GetAgentResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
1372
1407
|
description: z.string().optional(),
|
|
1373
1408
|
name: z.string(),
|
|
1374
1409
|
schema: z.any().optional(),
|
|
1375
|
-
strict: z.boolean().optional(),
|
|
1410
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
1376
1411
|
});
|
|
1377
1412
|
/** @internal */
|
|
1378
1413
|
export type GetAgentResponseFormatJsonSchema$Outbound = {
|
|
1379
1414
|
description?: string | undefined;
|
|
1380
1415
|
name: string;
|
|
1381
1416
|
schema?: any | undefined;
|
|
1382
|
-
strict?: boolean | undefined;
|
|
1417
|
+
strict?: boolean | null | undefined;
|
|
1383
1418
|
};
|
|
1384
1419
|
|
|
1385
1420
|
/** @internal */
|
|
@@ -1391,7 +1426,7 @@ export const GetAgentResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
1391
1426
|
description: z.string().optional(),
|
|
1392
1427
|
name: z.string(),
|
|
1393
1428
|
schema: z.any().optional(),
|
|
1394
|
-
strict: z.boolean().optional(),
|
|
1429
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
1395
1430
|
});
|
|
1396
1431
|
|
|
1397
1432
|
export function getAgentResponseFormatJsonSchemaToJSON(
|
|
@@ -1692,6 +1727,15 @@ export const GetAgentType$inboundSchema: z.ZodNativeEnum<typeof GetAgentType> =
|
|
|
1692
1727
|
export const GetAgentType$outboundSchema: z.ZodNativeEnum<typeof GetAgentType> =
|
|
1693
1728
|
GetAgentType$inboundSchema;
|
|
1694
1729
|
|
|
1730
|
+
/** @internal */
|
|
1731
|
+
export const GetAgentThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
1732
|
+
typeof GetAgentThinkingLevel
|
|
1733
|
+
> = z.nativeEnum(GetAgentThinkingLevel);
|
|
1734
|
+
/** @internal */
|
|
1735
|
+
export const GetAgentThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
1736
|
+
typeof GetAgentThinkingLevel
|
|
1737
|
+
> = GetAgentThinkingLevel$inboundSchema;
|
|
1738
|
+
|
|
1695
1739
|
/** @internal */
|
|
1696
1740
|
export const GetAgentThinking$inboundSchema: z.ZodType<
|
|
1697
1741
|
GetAgentThinking,
|
|
@@ -1700,15 +1744,18 @@ export const GetAgentThinking$inboundSchema: z.ZodType<
|
|
|
1700
1744
|
> = z.object({
|
|
1701
1745
|
type: GetAgentType$inboundSchema,
|
|
1702
1746
|
budget_tokens: z.number(),
|
|
1747
|
+
thinking_level: GetAgentThinkingLevel$inboundSchema.optional(),
|
|
1703
1748
|
}).transform((v) => {
|
|
1704
1749
|
return remap$(v, {
|
|
1705
1750
|
"budget_tokens": "budgetTokens",
|
|
1751
|
+
"thinking_level": "thinkingLevel",
|
|
1706
1752
|
});
|
|
1707
1753
|
});
|
|
1708
1754
|
/** @internal */
|
|
1709
1755
|
export type GetAgentThinking$Outbound = {
|
|
1710
1756
|
type: string;
|
|
1711
1757
|
budget_tokens: number;
|
|
1758
|
+
thinking_level?: string | undefined;
|
|
1712
1759
|
};
|
|
1713
1760
|
|
|
1714
1761
|
/** @internal */
|
|
@@ -1719,9 +1766,11 @@ export const GetAgentThinking$outboundSchema: z.ZodType<
|
|
|
1719
1766
|
> = z.object({
|
|
1720
1767
|
type: GetAgentType$outboundSchema,
|
|
1721
1768
|
budgetTokens: z.number(),
|
|
1769
|
+
thinkingLevel: GetAgentThinkingLevel$outboundSchema.optional(),
|
|
1722
1770
|
}).transform((v) => {
|
|
1723
1771
|
return remap$(v, {
|
|
1724
1772
|
budgetTokens: "budget_tokens",
|
|
1773
|
+
thinkingLevel: "thinking_level",
|
|
1725
1774
|
});
|
|
1726
1775
|
});
|
|
1727
1776
|
|
|
@@ -2177,14 +2226,14 @@ export const GetAgentResponseFormatAgentsResponseJsonSchema$inboundSchema:
|
|
|
2177
2226
|
description: z.string().optional(),
|
|
2178
2227
|
name: z.string(),
|
|
2179
2228
|
schema: z.any().optional(),
|
|
2180
|
-
strict: z.boolean().optional(),
|
|
2229
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2181
2230
|
});
|
|
2182
2231
|
/** @internal */
|
|
2183
2232
|
export type GetAgentResponseFormatAgentsResponseJsonSchema$Outbound = {
|
|
2184
2233
|
description?: string | undefined;
|
|
2185
2234
|
name: string;
|
|
2186
2235
|
schema?: any | undefined;
|
|
2187
|
-
strict?: boolean | undefined;
|
|
2236
|
+
strict?: boolean | null | undefined;
|
|
2188
2237
|
};
|
|
2189
2238
|
|
|
2190
2239
|
/** @internal */
|
|
@@ -2197,7 +2246,7 @@ export const GetAgentResponseFormatAgentsResponseJsonSchema$outboundSchema:
|
|
|
2197
2246
|
description: z.string().optional(),
|
|
2198
2247
|
name: z.string(),
|
|
2199
2248
|
schema: z.any().optional(),
|
|
2200
|
-
strict: z.boolean().optional(),
|
|
2249
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2201
2250
|
});
|
|
2202
2251
|
|
|
2203
2252
|
export function getAgentResponseFormatAgentsResponseJsonSchemaToJSON(
|
|
@@ -2565,21 +2614,35 @@ export const GetAgentFallbackModelConfigurationType$outboundSchema:
|
|
|
2565
2614
|
z.ZodNativeEnum<typeof GetAgentFallbackModelConfigurationType> =
|
|
2566
2615
|
GetAgentFallbackModelConfigurationType$inboundSchema;
|
|
2567
2616
|
|
|
2617
|
+
/** @internal */
|
|
2618
|
+
export const GetAgentFallbackModelConfigurationThinkingLevel$inboundSchema:
|
|
2619
|
+
z.ZodNativeEnum<typeof GetAgentFallbackModelConfigurationThinkingLevel> = z
|
|
2620
|
+
.nativeEnum(GetAgentFallbackModelConfigurationThinkingLevel);
|
|
2621
|
+
/** @internal */
|
|
2622
|
+
export const GetAgentFallbackModelConfigurationThinkingLevel$outboundSchema:
|
|
2623
|
+
z.ZodNativeEnum<typeof GetAgentFallbackModelConfigurationThinkingLevel> =
|
|
2624
|
+
GetAgentFallbackModelConfigurationThinkingLevel$inboundSchema;
|
|
2625
|
+
|
|
2568
2626
|
/** @internal */
|
|
2569
2627
|
export const GetAgentFallbackModelConfigurationThinking$inboundSchema:
|
|
2570
2628
|
z.ZodType<GetAgentFallbackModelConfigurationThinking, z.ZodTypeDef, unknown> =
|
|
2571
2629
|
z.object({
|
|
2572
2630
|
type: GetAgentFallbackModelConfigurationType$inboundSchema,
|
|
2573
2631
|
budget_tokens: z.number(),
|
|
2632
|
+
thinking_level:
|
|
2633
|
+
GetAgentFallbackModelConfigurationThinkingLevel$inboundSchema
|
|
2634
|
+
.optional(),
|
|
2574
2635
|
}).transform((v) => {
|
|
2575
2636
|
return remap$(v, {
|
|
2576
2637
|
"budget_tokens": "budgetTokens",
|
|
2638
|
+
"thinking_level": "thinkingLevel",
|
|
2577
2639
|
});
|
|
2578
2640
|
});
|
|
2579
2641
|
/** @internal */
|
|
2580
2642
|
export type GetAgentFallbackModelConfigurationThinking$Outbound = {
|
|
2581
2643
|
type: string;
|
|
2582
2644
|
budget_tokens: number;
|
|
2645
|
+
thinking_level?: string | undefined;
|
|
2583
2646
|
};
|
|
2584
2647
|
|
|
2585
2648
|
/** @internal */
|
|
@@ -2591,9 +2654,12 @@ export const GetAgentFallbackModelConfigurationThinking$outboundSchema:
|
|
|
2591
2654
|
> = z.object({
|
|
2592
2655
|
type: GetAgentFallbackModelConfigurationType$outboundSchema,
|
|
2593
2656
|
budgetTokens: z.number(),
|
|
2657
|
+
thinkingLevel:
|
|
2658
|
+
GetAgentFallbackModelConfigurationThinkingLevel$outboundSchema.optional(),
|
|
2594
2659
|
}).transform((v) => {
|
|
2595
2660
|
return remap$(v, {
|
|
2596
2661
|
budgetTokens: "budget_tokens",
|
|
2662
|
+
thinkingLevel: "thinking_level",
|
|
2597
2663
|
});
|
|
2598
2664
|
});
|
|
2599
2665
|
|
|
@@ -3277,6 +3343,7 @@ export const GetAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3277
3343
|
> = z.object({
|
|
3278
3344
|
_id: z.string(),
|
|
3279
3345
|
key: z.string(),
|
|
3346
|
+
display_name: z.string(),
|
|
3280
3347
|
workspace_id: z.string(),
|
|
3281
3348
|
project_id: z.string(),
|
|
3282
3349
|
created_by_id: z.nullable(z.string()).optional(),
|
|
@@ -3301,6 +3368,7 @@ export const GetAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3301
3368
|
}).transform((v) => {
|
|
3302
3369
|
return remap$(v, {
|
|
3303
3370
|
"_id": "id",
|
|
3371
|
+
"display_name": "displayName",
|
|
3304
3372
|
"workspace_id": "workspaceId",
|
|
3305
3373
|
"project_id": "projectId",
|
|
3306
3374
|
"created_by_id": "createdById",
|
|
@@ -3316,6 +3384,7 @@ export const GetAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3316
3384
|
export type GetAgentResponseBody$Outbound = {
|
|
3317
3385
|
_id: string;
|
|
3318
3386
|
key: string;
|
|
3387
|
+
display_name: string;
|
|
3319
3388
|
workspace_id: string;
|
|
3320
3389
|
project_id: string;
|
|
3321
3390
|
created_by_id?: string | null | undefined;
|
|
@@ -3346,6 +3415,7 @@ export const GetAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
3346
3415
|
> = z.object({
|
|
3347
3416
|
id: z.string(),
|
|
3348
3417
|
key: z.string(),
|
|
3418
|
+
displayName: z.string(),
|
|
3349
3419
|
workspaceId: z.string(),
|
|
3350
3420
|
projectId: z.string(),
|
|
3351
3421
|
createdById: z.nullable(z.string()).optional(),
|
|
@@ -3370,6 +3440,7 @@ export const GetAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
3370
3440
|
}).transform((v) => {
|
|
3371
3441
|
return remap$(v, {
|
|
3372
3442
|
id: "_id",
|
|
3443
|
+
displayName: "display_name",
|
|
3373
3444
|
workspaceId: "workspace_id",
|
|
3374
3445
|
projectId: "project_id",
|
|
3375
3446
|
createdById: "created_by_id",
|