@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
|
@@ -81,7 +81,7 @@ export type UpdateAgentResponseFormatAgentsJsonSchema = {
|
|
|
81
81
|
/**
|
|
82
82
|
* 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.
|
|
83
83
|
*/
|
|
84
|
-
strict?: boolean | undefined;
|
|
84
|
+
strict?: boolean | null | undefined;
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
/**
|
|
@@ -163,6 +163,20 @@ export type UpdateAgentModelConfigurationType = ClosedEnum<
|
|
|
163
163
|
typeof UpdateAgentModelConfigurationType
|
|
164
164
|
>;
|
|
165
165
|
|
|
166
|
+
/**
|
|
167
|
+
* 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.
|
|
168
|
+
*/
|
|
169
|
+
export const ModelConfigurationThinkingLevel = {
|
|
170
|
+
Low: "low",
|
|
171
|
+
High: "high",
|
|
172
|
+
} as const;
|
|
173
|
+
/**
|
|
174
|
+
* 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.
|
|
175
|
+
*/
|
|
176
|
+
export type ModelConfigurationThinkingLevel = ClosedEnum<
|
|
177
|
+
typeof ModelConfigurationThinkingLevel
|
|
178
|
+
>;
|
|
179
|
+
|
|
166
180
|
export type ModelConfigurationThinking = {
|
|
167
181
|
/**
|
|
168
182
|
* Enables or disables the thinking mode capability
|
|
@@ -172,6 +186,10 @@ export type ModelConfigurationThinking = {
|
|
|
172
186
|
* 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`.
|
|
173
187
|
*/
|
|
174
188
|
budgetTokens: number;
|
|
189
|
+
/**
|
|
190
|
+
* 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.
|
|
191
|
+
*/
|
|
192
|
+
thinkingLevel?: ModelConfigurationThinkingLevel | undefined;
|
|
175
193
|
};
|
|
176
194
|
|
|
177
195
|
/**
|
|
@@ -434,7 +452,7 @@ export type UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema = {
|
|
|
434
452
|
/**
|
|
435
453
|
* 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.
|
|
436
454
|
*/
|
|
437
|
-
strict?: boolean | undefined;
|
|
455
|
+
strict?: boolean | null | undefined;
|
|
438
456
|
};
|
|
439
457
|
|
|
440
458
|
/**
|
|
@@ -519,6 +537,20 @@ export type UpdateAgentFallbackModelConfigurationType = ClosedEnum<
|
|
|
519
537
|
typeof UpdateAgentFallbackModelConfigurationType
|
|
520
538
|
>;
|
|
521
539
|
|
|
540
|
+
/**
|
|
541
|
+
* 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.
|
|
542
|
+
*/
|
|
543
|
+
export const UpdateAgentFallbackModelConfigurationThinkingLevel = {
|
|
544
|
+
Low: "low",
|
|
545
|
+
High: "high",
|
|
546
|
+
} as const;
|
|
547
|
+
/**
|
|
548
|
+
* 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.
|
|
549
|
+
*/
|
|
550
|
+
export type UpdateAgentFallbackModelConfigurationThinkingLevel = ClosedEnum<
|
|
551
|
+
typeof UpdateAgentFallbackModelConfigurationThinkingLevel
|
|
552
|
+
>;
|
|
553
|
+
|
|
522
554
|
export type UpdateAgentFallbackModelConfigurationThinking = {
|
|
523
555
|
/**
|
|
524
556
|
* Enables or disables the thinking mode capability
|
|
@@ -528,6 +560,12 @@ export type UpdateAgentFallbackModelConfigurationThinking = {
|
|
|
528
560
|
* 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`.
|
|
529
561
|
*/
|
|
530
562
|
budgetTokens: number;
|
|
563
|
+
/**
|
|
564
|
+
* 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.
|
|
565
|
+
*/
|
|
566
|
+
thinkingLevel?:
|
|
567
|
+
| UpdateAgentFallbackModelConfigurationThinkingLevel
|
|
568
|
+
| undefined;
|
|
531
569
|
};
|
|
532
570
|
|
|
533
571
|
/**
|
|
@@ -1228,6 +1266,7 @@ export type UpdateAgentTeamOfAgents = {
|
|
|
1228
1266
|
|
|
1229
1267
|
export type UpdateAgentRequestBody = {
|
|
1230
1268
|
key?: string | undefined;
|
|
1269
|
+
displayName?: string | undefined;
|
|
1231
1270
|
projectId?: string | undefined;
|
|
1232
1271
|
role?: string | undefined;
|
|
1233
1272
|
description?: string | undefined;
|
|
@@ -1335,12 +1374,12 @@ export type UpdateAgentTools = {
|
|
|
1335
1374
|
key?: string | undefined;
|
|
1336
1375
|
actionType: string;
|
|
1337
1376
|
displayName?: string | undefined;
|
|
1338
|
-
requiresApproval?: boolean | undefined;
|
|
1339
|
-
conditions?: Array<UpdateAgentConditions> | undefined;
|
|
1340
1377
|
/**
|
|
1341
|
-
* Optional
|
|
1378
|
+
* Optional tool description
|
|
1342
1379
|
*/
|
|
1343
|
-
|
|
1380
|
+
description?: string | undefined;
|
|
1381
|
+
requiresApproval?: boolean | undefined;
|
|
1382
|
+
conditions?: Array<UpdateAgentConditions> | undefined;
|
|
1344
1383
|
/**
|
|
1345
1384
|
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
1346
1385
|
*/
|
|
@@ -1498,7 +1537,7 @@ export type UpdateAgentResponseFormatAgentsResponseJsonSchema = {
|
|
|
1498
1537
|
/**
|
|
1499
1538
|
* 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.
|
|
1500
1539
|
*/
|
|
1501
|
-
strict?: boolean | undefined;
|
|
1540
|
+
strict?: boolean | null | undefined;
|
|
1502
1541
|
};
|
|
1503
1542
|
|
|
1504
1543
|
/**
|
|
@@ -1578,6 +1617,20 @@ export const UpdateAgentType = {
|
|
|
1578
1617
|
*/
|
|
1579
1618
|
export type UpdateAgentType = ClosedEnum<typeof UpdateAgentType>;
|
|
1580
1619
|
|
|
1620
|
+
/**
|
|
1621
|
+
* 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.
|
|
1622
|
+
*/
|
|
1623
|
+
export const UpdateAgentThinkingLevel = {
|
|
1624
|
+
Low: "low",
|
|
1625
|
+
High: "high",
|
|
1626
|
+
} as const;
|
|
1627
|
+
/**
|
|
1628
|
+
* 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.
|
|
1629
|
+
*/
|
|
1630
|
+
export type UpdateAgentThinkingLevel = ClosedEnum<
|
|
1631
|
+
typeof UpdateAgentThinkingLevel
|
|
1632
|
+
>;
|
|
1633
|
+
|
|
1581
1634
|
export type UpdateAgentThinking = {
|
|
1582
1635
|
/**
|
|
1583
1636
|
* Enables or disables the thinking mode capability
|
|
@@ -1587,6 +1640,10 @@ export type UpdateAgentThinking = {
|
|
|
1587
1640
|
* 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`.
|
|
1588
1641
|
*/
|
|
1589
1642
|
budgetTokens: number;
|
|
1643
|
+
/**
|
|
1644
|
+
* 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.
|
|
1645
|
+
*/
|
|
1646
|
+
thinkingLevel?: UpdateAgentThinkingLevel | undefined;
|
|
1590
1647
|
};
|
|
1591
1648
|
|
|
1592
1649
|
/**
|
|
@@ -1826,7 +1883,7 @@ export type UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema
|
|
|
1826
1883
|
/**
|
|
1827
1884
|
* 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.
|
|
1828
1885
|
*/
|
|
1829
|
-
strict?: boolean | undefined;
|
|
1886
|
+
strict?: boolean | null | undefined;
|
|
1830
1887
|
};
|
|
1831
1888
|
|
|
1832
1889
|
/**
|
|
@@ -1919,6 +1976,19 @@ export type UpdateAgentFallbackModelConfigurationAgentsType = ClosedEnum<
|
|
|
1919
1976
|
typeof UpdateAgentFallbackModelConfigurationAgentsType
|
|
1920
1977
|
>;
|
|
1921
1978
|
|
|
1979
|
+
/**
|
|
1980
|
+
* 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.
|
|
1981
|
+
*/
|
|
1982
|
+
export const UpdateAgentFallbackModelConfigurationAgentsThinkingLevel = {
|
|
1983
|
+
Low: "low",
|
|
1984
|
+
High: "high",
|
|
1985
|
+
} as const;
|
|
1986
|
+
/**
|
|
1987
|
+
* 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.
|
|
1988
|
+
*/
|
|
1989
|
+
export type UpdateAgentFallbackModelConfigurationAgentsThinkingLevel =
|
|
1990
|
+
ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsThinkingLevel>;
|
|
1991
|
+
|
|
1922
1992
|
export type UpdateAgentFallbackModelConfigurationAgentsThinking = {
|
|
1923
1993
|
/**
|
|
1924
1994
|
* Enables or disables the thinking mode capability
|
|
@@ -1928,6 +1998,12 @@ export type UpdateAgentFallbackModelConfigurationAgentsThinking = {
|
|
|
1928
1998
|
* 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`.
|
|
1929
1999
|
*/
|
|
1930
2000
|
budgetTokens: number;
|
|
2001
|
+
/**
|
|
2002
|
+
* 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.
|
|
2003
|
+
*/
|
|
2004
|
+
thinkingLevel?:
|
|
2005
|
+
| UpdateAgentFallbackModelConfigurationAgentsThinkingLevel
|
|
2006
|
+
| undefined;
|
|
1931
2007
|
};
|
|
1932
2008
|
|
|
1933
2009
|
/**
|
|
@@ -2163,6 +2239,7 @@ export type UpdateAgentAgentsKnowledgeBases = {
|
|
|
2163
2239
|
export type UpdateAgentResponseBody = {
|
|
2164
2240
|
id: string;
|
|
2165
2241
|
key: string;
|
|
2242
|
+
displayName: string;
|
|
2166
2243
|
workspaceId: string;
|
|
2167
2244
|
projectId: string;
|
|
2168
2245
|
createdById?: string | null | undefined;
|
|
@@ -2290,14 +2367,14 @@ export const UpdateAgentResponseFormatAgentsJsonSchema$inboundSchema: z.ZodType<
|
|
|
2290
2367
|
description: z.string().optional(),
|
|
2291
2368
|
name: z.string(),
|
|
2292
2369
|
schema: z.any().optional(),
|
|
2293
|
-
strict: z.boolean().optional(),
|
|
2370
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2294
2371
|
});
|
|
2295
2372
|
/** @internal */
|
|
2296
2373
|
export type UpdateAgentResponseFormatAgentsJsonSchema$Outbound = {
|
|
2297
2374
|
description?: string | undefined;
|
|
2298
2375
|
name: string;
|
|
2299
2376
|
schema?: any | undefined;
|
|
2300
|
-
strict?: boolean | undefined;
|
|
2377
|
+
strict?: boolean | null | undefined;
|
|
2301
2378
|
};
|
|
2302
2379
|
|
|
2303
2380
|
/** @internal */
|
|
@@ -2310,7 +2387,7 @@ export const UpdateAgentResponseFormatAgentsJsonSchema$outboundSchema:
|
|
|
2310
2387
|
description: z.string().optional(),
|
|
2311
2388
|
name: z.string(),
|
|
2312
2389
|
schema: z.any().optional(),
|
|
2313
|
-
strict: z.boolean().optional(),
|
|
2390
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2314
2391
|
});
|
|
2315
2392
|
|
|
2316
2393
|
export function updateAgentResponseFormatAgentsJsonSchemaToJSON(
|
|
@@ -2634,6 +2711,15 @@ export const UpdateAgentModelConfigurationType$outboundSchema: z.ZodNativeEnum<
|
|
|
2634
2711
|
typeof UpdateAgentModelConfigurationType
|
|
2635
2712
|
> = UpdateAgentModelConfigurationType$inboundSchema;
|
|
2636
2713
|
|
|
2714
|
+
/** @internal */
|
|
2715
|
+
export const ModelConfigurationThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
2716
|
+
typeof ModelConfigurationThinkingLevel
|
|
2717
|
+
> = z.nativeEnum(ModelConfigurationThinkingLevel);
|
|
2718
|
+
/** @internal */
|
|
2719
|
+
export const ModelConfigurationThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
2720
|
+
typeof ModelConfigurationThinkingLevel
|
|
2721
|
+
> = ModelConfigurationThinkingLevel$inboundSchema;
|
|
2722
|
+
|
|
2637
2723
|
/** @internal */
|
|
2638
2724
|
export const ModelConfigurationThinking$inboundSchema: z.ZodType<
|
|
2639
2725
|
ModelConfigurationThinking,
|
|
@@ -2642,15 +2728,18 @@ export const ModelConfigurationThinking$inboundSchema: z.ZodType<
|
|
|
2642
2728
|
> = z.object({
|
|
2643
2729
|
type: UpdateAgentModelConfigurationType$inboundSchema,
|
|
2644
2730
|
budget_tokens: z.number(),
|
|
2731
|
+
thinking_level: ModelConfigurationThinkingLevel$inboundSchema.optional(),
|
|
2645
2732
|
}).transform((v) => {
|
|
2646
2733
|
return remap$(v, {
|
|
2647
2734
|
"budget_tokens": "budgetTokens",
|
|
2735
|
+
"thinking_level": "thinkingLevel",
|
|
2648
2736
|
});
|
|
2649
2737
|
});
|
|
2650
2738
|
/** @internal */
|
|
2651
2739
|
export type ModelConfigurationThinking$Outbound = {
|
|
2652
2740
|
type: string;
|
|
2653
2741
|
budget_tokens: number;
|
|
2742
|
+
thinking_level?: string | undefined;
|
|
2654
2743
|
};
|
|
2655
2744
|
|
|
2656
2745
|
/** @internal */
|
|
@@ -2661,9 +2750,11 @@ export const ModelConfigurationThinking$outboundSchema: z.ZodType<
|
|
|
2661
2750
|
> = z.object({
|
|
2662
2751
|
type: UpdateAgentModelConfigurationType$outboundSchema,
|
|
2663
2752
|
budgetTokens: z.number(),
|
|
2753
|
+
thinkingLevel: ModelConfigurationThinkingLevel$outboundSchema.optional(),
|
|
2664
2754
|
}).transform((v) => {
|
|
2665
2755
|
return remap$(v, {
|
|
2666
2756
|
budgetTokens: "budget_tokens",
|
|
2757
|
+
thinkingLevel: "thinking_level",
|
|
2667
2758
|
});
|
|
2668
2759
|
});
|
|
2669
2760
|
|
|
@@ -3230,7 +3321,7 @@ export const UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema$inbound
|
|
|
3230
3321
|
description: z.string().optional(),
|
|
3231
3322
|
name: z.string(),
|
|
3232
3323
|
schema: z.any().optional(),
|
|
3233
|
-
strict: z.boolean().optional(),
|
|
3324
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
3234
3325
|
});
|
|
3235
3326
|
/** @internal */
|
|
3236
3327
|
export type UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound =
|
|
@@ -3238,7 +3329,7 @@ export type UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound
|
|
|
3238
3329
|
description?: string | undefined;
|
|
3239
3330
|
name: string;
|
|
3240
3331
|
schema?: any | undefined;
|
|
3241
|
-
strict?: boolean | undefined;
|
|
3332
|
+
strict?: boolean | null | undefined;
|
|
3242
3333
|
};
|
|
3243
3334
|
|
|
3244
3335
|
/** @internal */
|
|
@@ -3251,7 +3342,7 @@ export const UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema$outboun
|
|
|
3251
3342
|
description: z.string().optional(),
|
|
3252
3343
|
name: z.string(),
|
|
3253
3344
|
schema: z.any().optional(),
|
|
3254
|
-
strict: z.boolean().optional(),
|
|
3345
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
3255
3346
|
});
|
|
3256
3347
|
|
|
3257
3348
|
export function updateAgentResponseFormatAgentsRequestRequestBodyJsonSchemaToJSON(
|
|
@@ -3635,6 +3726,15 @@ export const UpdateAgentFallbackModelConfigurationType$outboundSchema:
|
|
|
3635
3726
|
z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationType> =
|
|
3636
3727
|
UpdateAgentFallbackModelConfigurationType$inboundSchema;
|
|
3637
3728
|
|
|
3729
|
+
/** @internal */
|
|
3730
|
+
export const UpdateAgentFallbackModelConfigurationThinkingLevel$inboundSchema:
|
|
3731
|
+
z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationThinkingLevel> = z
|
|
3732
|
+
.nativeEnum(UpdateAgentFallbackModelConfigurationThinkingLevel);
|
|
3733
|
+
/** @internal */
|
|
3734
|
+
export const UpdateAgentFallbackModelConfigurationThinkingLevel$outboundSchema:
|
|
3735
|
+
z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationThinkingLevel> =
|
|
3736
|
+
UpdateAgentFallbackModelConfigurationThinkingLevel$inboundSchema;
|
|
3737
|
+
|
|
3638
3738
|
/** @internal */
|
|
3639
3739
|
export const UpdateAgentFallbackModelConfigurationThinking$inboundSchema:
|
|
3640
3740
|
z.ZodType<
|
|
@@ -3644,15 +3744,20 @@ export const UpdateAgentFallbackModelConfigurationThinking$inboundSchema:
|
|
|
3644
3744
|
> = z.object({
|
|
3645
3745
|
type: UpdateAgentFallbackModelConfigurationType$inboundSchema,
|
|
3646
3746
|
budget_tokens: z.number(),
|
|
3747
|
+
thinking_level:
|
|
3748
|
+
UpdateAgentFallbackModelConfigurationThinkingLevel$inboundSchema
|
|
3749
|
+
.optional(),
|
|
3647
3750
|
}).transform((v) => {
|
|
3648
3751
|
return remap$(v, {
|
|
3649
3752
|
"budget_tokens": "budgetTokens",
|
|
3753
|
+
"thinking_level": "thinkingLevel",
|
|
3650
3754
|
});
|
|
3651
3755
|
});
|
|
3652
3756
|
/** @internal */
|
|
3653
3757
|
export type UpdateAgentFallbackModelConfigurationThinking$Outbound = {
|
|
3654
3758
|
type: string;
|
|
3655
3759
|
budget_tokens: number;
|
|
3760
|
+
thinking_level?: string | undefined;
|
|
3656
3761
|
};
|
|
3657
3762
|
|
|
3658
3763
|
/** @internal */
|
|
@@ -3664,9 +3769,13 @@ export const UpdateAgentFallbackModelConfigurationThinking$outboundSchema:
|
|
|
3664
3769
|
> = z.object({
|
|
3665
3770
|
type: UpdateAgentFallbackModelConfigurationType$outboundSchema,
|
|
3666
3771
|
budgetTokens: z.number(),
|
|
3772
|
+
thinkingLevel:
|
|
3773
|
+
UpdateAgentFallbackModelConfigurationThinkingLevel$outboundSchema
|
|
3774
|
+
.optional(),
|
|
3667
3775
|
}).transform((v) => {
|
|
3668
3776
|
return remap$(v, {
|
|
3669
3777
|
budgetTokens: "budget_tokens",
|
|
3778
|
+
thinkingLevel: "thinking_level",
|
|
3670
3779
|
});
|
|
3671
3780
|
});
|
|
3672
3781
|
|
|
@@ -5639,6 +5748,7 @@ export const UpdateAgentRequestBody$inboundSchema: z.ZodType<
|
|
|
5639
5748
|
unknown
|
|
5640
5749
|
> = z.object({
|
|
5641
5750
|
key: z.string().optional(),
|
|
5751
|
+
display_name: z.string().optional(),
|
|
5642
5752
|
project_id: z.string().optional(),
|
|
5643
5753
|
role: z.string().optional(),
|
|
5644
5754
|
description: z.string().optional(),
|
|
@@ -5665,6 +5775,7 @@ export const UpdateAgentRequestBody$inboundSchema: z.ZodType<
|
|
|
5665
5775
|
variables: z.record(z.any()).optional(),
|
|
5666
5776
|
}).transform((v) => {
|
|
5667
5777
|
return remap$(v, {
|
|
5778
|
+
"display_name": "displayName",
|
|
5668
5779
|
"project_id": "projectId",
|
|
5669
5780
|
"system_prompt": "systemPrompt",
|
|
5670
5781
|
"fallback_models": "fallbackModels",
|
|
@@ -5676,6 +5787,7 @@ export const UpdateAgentRequestBody$inboundSchema: z.ZodType<
|
|
|
5676
5787
|
/** @internal */
|
|
5677
5788
|
export type UpdateAgentRequestBody$Outbound = {
|
|
5678
5789
|
key?: string | undefined;
|
|
5790
|
+
display_name?: string | undefined;
|
|
5679
5791
|
project_id?: string | undefined;
|
|
5680
5792
|
role?: string | undefined;
|
|
5681
5793
|
description?: string | undefined;
|
|
@@ -5700,6 +5812,7 @@ export const UpdateAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
5700
5812
|
UpdateAgentRequestBody
|
|
5701
5813
|
> = z.object({
|
|
5702
5814
|
key: z.string().optional(),
|
|
5815
|
+
displayName: z.string().optional(),
|
|
5703
5816
|
projectId: z.string().optional(),
|
|
5704
5817
|
role: z.string().optional(),
|
|
5705
5818
|
description: z.string().optional(),
|
|
@@ -5726,6 +5839,7 @@ export const UpdateAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
5726
5839
|
variables: z.record(z.any()).optional(),
|
|
5727
5840
|
}).transform((v) => {
|
|
5728
5841
|
return remap$(v, {
|
|
5842
|
+
displayName: "display_name",
|
|
5729
5843
|
projectId: "project_id",
|
|
5730
5844
|
systemPrompt: "system_prompt",
|
|
5731
5845
|
fallbackModels: "fallback_models",
|
|
@@ -5878,10 +5992,10 @@ export const UpdateAgentTools$inboundSchema: z.ZodType<
|
|
|
5878
5992
|
key: z.string().optional(),
|
|
5879
5993
|
action_type: z.string(),
|
|
5880
5994
|
display_name: z.string().optional(),
|
|
5995
|
+
description: z.string().optional(),
|
|
5881
5996
|
requires_approval: z.boolean().default(false),
|
|
5882
5997
|
conditions: z.array(z.lazy(() => UpdateAgentConditions$inboundSchema))
|
|
5883
5998
|
.optional(),
|
|
5884
|
-
mcpServer: z.string().optional(),
|
|
5885
5999
|
timeout: z.number().default(120),
|
|
5886
6000
|
}).transform((v) => {
|
|
5887
6001
|
return remap$(v, {
|
|
@@ -5896,9 +6010,9 @@ export type UpdateAgentTools$Outbound = {
|
|
|
5896
6010
|
key?: string | undefined;
|
|
5897
6011
|
action_type: string;
|
|
5898
6012
|
display_name?: string | undefined;
|
|
6013
|
+
description?: string | undefined;
|
|
5899
6014
|
requires_approval: boolean;
|
|
5900
6015
|
conditions?: Array<UpdateAgentConditions$Outbound> | undefined;
|
|
5901
|
-
mcpServer?: string | undefined;
|
|
5902
6016
|
timeout: number;
|
|
5903
6017
|
};
|
|
5904
6018
|
|
|
@@ -5912,10 +6026,10 @@ export const UpdateAgentTools$outboundSchema: z.ZodType<
|
|
|
5912
6026
|
key: z.string().optional(),
|
|
5913
6027
|
actionType: z.string(),
|
|
5914
6028
|
displayName: z.string().optional(),
|
|
6029
|
+
description: z.string().optional(),
|
|
5915
6030
|
requiresApproval: z.boolean().default(false),
|
|
5916
6031
|
conditions: z.array(z.lazy(() => UpdateAgentConditions$outboundSchema))
|
|
5917
6032
|
.optional(),
|
|
5918
|
-
mcpServer: z.string().optional(),
|
|
5919
6033
|
timeout: z.number().default(120),
|
|
5920
6034
|
}).transform((v) => {
|
|
5921
6035
|
return remap$(v, {
|
|
@@ -6231,14 +6345,14 @@ export const UpdateAgentResponseFormatAgentsResponseJsonSchema$inboundSchema:
|
|
|
6231
6345
|
description: z.string().optional(),
|
|
6232
6346
|
name: z.string(),
|
|
6233
6347
|
schema: z.any().optional(),
|
|
6234
|
-
strict: z.boolean().optional(),
|
|
6348
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
6235
6349
|
});
|
|
6236
6350
|
/** @internal */
|
|
6237
6351
|
export type UpdateAgentResponseFormatAgentsResponseJsonSchema$Outbound = {
|
|
6238
6352
|
description?: string | undefined;
|
|
6239
6353
|
name: string;
|
|
6240
6354
|
schema?: any | undefined;
|
|
6241
|
-
strict?: boolean | undefined;
|
|
6355
|
+
strict?: boolean | null | undefined;
|
|
6242
6356
|
};
|
|
6243
6357
|
|
|
6244
6358
|
/** @internal */
|
|
@@ -6251,7 +6365,7 @@ export const UpdateAgentResponseFormatAgentsResponseJsonSchema$outboundSchema:
|
|
|
6251
6365
|
description: z.string().optional(),
|
|
6252
6366
|
name: z.string(),
|
|
6253
6367
|
schema: z.any().optional(),
|
|
6254
|
-
strict: z.boolean().optional(),
|
|
6368
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
6255
6369
|
});
|
|
6256
6370
|
|
|
6257
6371
|
export function updateAgentResponseFormatAgentsResponseJsonSchemaToJSON(
|
|
@@ -6602,6 +6716,15 @@ export const UpdateAgentType$outboundSchema: z.ZodNativeEnum<
|
|
|
6602
6716
|
typeof UpdateAgentType
|
|
6603
6717
|
> = UpdateAgentType$inboundSchema;
|
|
6604
6718
|
|
|
6719
|
+
/** @internal */
|
|
6720
|
+
export const UpdateAgentThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
6721
|
+
typeof UpdateAgentThinkingLevel
|
|
6722
|
+
> = z.nativeEnum(UpdateAgentThinkingLevel);
|
|
6723
|
+
/** @internal */
|
|
6724
|
+
export const UpdateAgentThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
6725
|
+
typeof UpdateAgentThinkingLevel
|
|
6726
|
+
> = UpdateAgentThinkingLevel$inboundSchema;
|
|
6727
|
+
|
|
6605
6728
|
/** @internal */
|
|
6606
6729
|
export const UpdateAgentThinking$inboundSchema: z.ZodType<
|
|
6607
6730
|
UpdateAgentThinking,
|
|
@@ -6610,15 +6733,18 @@ export const UpdateAgentThinking$inboundSchema: z.ZodType<
|
|
|
6610
6733
|
> = z.object({
|
|
6611
6734
|
type: UpdateAgentType$inboundSchema,
|
|
6612
6735
|
budget_tokens: z.number(),
|
|
6736
|
+
thinking_level: UpdateAgentThinkingLevel$inboundSchema.optional(),
|
|
6613
6737
|
}).transform((v) => {
|
|
6614
6738
|
return remap$(v, {
|
|
6615
6739
|
"budget_tokens": "budgetTokens",
|
|
6740
|
+
"thinking_level": "thinkingLevel",
|
|
6616
6741
|
});
|
|
6617
6742
|
});
|
|
6618
6743
|
/** @internal */
|
|
6619
6744
|
export type UpdateAgentThinking$Outbound = {
|
|
6620
6745
|
type: string;
|
|
6621
6746
|
budget_tokens: number;
|
|
6747
|
+
thinking_level?: string | undefined;
|
|
6622
6748
|
};
|
|
6623
6749
|
|
|
6624
6750
|
/** @internal */
|
|
@@ -6629,9 +6755,11 @@ export const UpdateAgentThinking$outboundSchema: z.ZodType<
|
|
|
6629
6755
|
> = z.object({
|
|
6630
6756
|
type: UpdateAgentType$outboundSchema,
|
|
6631
6757
|
budgetTokens: z.number(),
|
|
6758
|
+
thinkingLevel: UpdateAgentThinkingLevel$outboundSchema.optional(),
|
|
6632
6759
|
}).transform((v) => {
|
|
6633
6760
|
return remap$(v, {
|
|
6634
6761
|
budgetTokens: "budget_tokens",
|
|
6762
|
+
thinkingLevel: "thinking_level",
|
|
6635
6763
|
});
|
|
6636
6764
|
});
|
|
6637
6765
|
|
|
@@ -7129,7 +7257,7 @@ export const UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema
|
|
|
7129
7257
|
description: z.string().optional(),
|
|
7130
7258
|
name: z.string(),
|
|
7131
7259
|
schema: z.any().optional(),
|
|
7132
|
-
strict: z.boolean().optional(),
|
|
7260
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
7133
7261
|
});
|
|
7134
7262
|
/** @internal */
|
|
7135
7263
|
export type UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema$Outbound =
|
|
@@ -7137,7 +7265,7 @@ export type UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema$
|
|
|
7137
7265
|
description?: string | undefined;
|
|
7138
7266
|
name: string;
|
|
7139
7267
|
schema?: any | undefined;
|
|
7140
|
-
strict?: boolean | undefined;
|
|
7268
|
+
strict?: boolean | null | undefined;
|
|
7141
7269
|
};
|
|
7142
7270
|
|
|
7143
7271
|
/** @internal */
|
|
@@ -7150,7 +7278,7 @@ export const UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema
|
|
|
7150
7278
|
description: z.string().optional(),
|
|
7151
7279
|
name: z.string(),
|
|
7152
7280
|
schema: z.any().optional(),
|
|
7153
|
-
strict: z.boolean().optional(),
|
|
7281
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
7154
7282
|
});
|
|
7155
7283
|
|
|
7156
7284
|
export function updateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchemaToJSON(
|
|
@@ -7553,6 +7681,17 @@ export const UpdateAgentFallbackModelConfigurationAgentsType$outboundSchema:
|
|
|
7553
7681
|
z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsType> =
|
|
7554
7682
|
UpdateAgentFallbackModelConfigurationAgentsType$inboundSchema;
|
|
7555
7683
|
|
|
7684
|
+
/** @internal */
|
|
7685
|
+
export const UpdateAgentFallbackModelConfigurationAgentsThinkingLevel$inboundSchema:
|
|
7686
|
+
z.ZodNativeEnum<
|
|
7687
|
+
typeof UpdateAgentFallbackModelConfigurationAgentsThinkingLevel
|
|
7688
|
+
> = z.nativeEnum(UpdateAgentFallbackModelConfigurationAgentsThinkingLevel);
|
|
7689
|
+
/** @internal */
|
|
7690
|
+
export const UpdateAgentFallbackModelConfigurationAgentsThinkingLevel$outboundSchema:
|
|
7691
|
+
z.ZodNativeEnum<
|
|
7692
|
+
typeof UpdateAgentFallbackModelConfigurationAgentsThinkingLevel
|
|
7693
|
+
> = UpdateAgentFallbackModelConfigurationAgentsThinkingLevel$inboundSchema;
|
|
7694
|
+
|
|
7556
7695
|
/** @internal */
|
|
7557
7696
|
export const UpdateAgentFallbackModelConfigurationAgentsThinking$inboundSchema:
|
|
7558
7697
|
z.ZodType<
|
|
@@ -7562,15 +7701,20 @@ export const UpdateAgentFallbackModelConfigurationAgentsThinking$inboundSchema:
|
|
|
7562
7701
|
> = z.object({
|
|
7563
7702
|
type: UpdateAgentFallbackModelConfigurationAgentsType$inboundSchema,
|
|
7564
7703
|
budget_tokens: z.number(),
|
|
7704
|
+
thinking_level:
|
|
7705
|
+
UpdateAgentFallbackModelConfigurationAgentsThinkingLevel$inboundSchema
|
|
7706
|
+
.optional(),
|
|
7565
7707
|
}).transform((v) => {
|
|
7566
7708
|
return remap$(v, {
|
|
7567
7709
|
"budget_tokens": "budgetTokens",
|
|
7710
|
+
"thinking_level": "thinkingLevel",
|
|
7568
7711
|
});
|
|
7569
7712
|
});
|
|
7570
7713
|
/** @internal */
|
|
7571
7714
|
export type UpdateAgentFallbackModelConfigurationAgentsThinking$Outbound = {
|
|
7572
7715
|
type: string;
|
|
7573
7716
|
budget_tokens: number;
|
|
7717
|
+
thinking_level?: string | undefined;
|
|
7574
7718
|
};
|
|
7575
7719
|
|
|
7576
7720
|
/** @internal */
|
|
@@ -7582,9 +7726,13 @@ export const UpdateAgentFallbackModelConfigurationAgentsThinking$outboundSchema:
|
|
|
7582
7726
|
> = z.object({
|
|
7583
7727
|
type: UpdateAgentFallbackModelConfigurationAgentsType$outboundSchema,
|
|
7584
7728
|
budgetTokens: z.number(),
|
|
7729
|
+
thinkingLevel:
|
|
7730
|
+
UpdateAgentFallbackModelConfigurationAgentsThinkingLevel$outboundSchema
|
|
7731
|
+
.optional(),
|
|
7585
7732
|
}).transform((v) => {
|
|
7586
7733
|
return remap$(v, {
|
|
7587
7734
|
budgetTokens: "budget_tokens",
|
|
7735
|
+
thinkingLevel: "thinking_level",
|
|
7588
7736
|
});
|
|
7589
7737
|
});
|
|
7590
7738
|
|
|
@@ -8342,6 +8490,7 @@ export const UpdateAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
8342
8490
|
> = z.object({
|
|
8343
8491
|
_id: z.string(),
|
|
8344
8492
|
key: z.string(),
|
|
8493
|
+
display_name: z.string(),
|
|
8345
8494
|
workspace_id: z.string(),
|
|
8346
8495
|
project_id: z.string(),
|
|
8347
8496
|
created_by_id: z.nullable(z.string()).optional(),
|
|
@@ -8369,6 +8518,7 @@ export const UpdateAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
8369
8518
|
}).transform((v) => {
|
|
8370
8519
|
return remap$(v, {
|
|
8371
8520
|
"_id": "id",
|
|
8521
|
+
"display_name": "displayName",
|
|
8372
8522
|
"workspace_id": "workspaceId",
|
|
8373
8523
|
"project_id": "projectId",
|
|
8374
8524
|
"created_by_id": "createdById",
|
|
@@ -8384,6 +8534,7 @@ export const UpdateAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
8384
8534
|
export type UpdateAgentResponseBody$Outbound = {
|
|
8385
8535
|
_id: string;
|
|
8386
8536
|
key: string;
|
|
8537
|
+
display_name: string;
|
|
8387
8538
|
workspace_id: string;
|
|
8388
8539
|
project_id: string;
|
|
8389
8540
|
created_by_id?: string | null | undefined;
|
|
@@ -8414,6 +8565,7 @@ export const UpdateAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
8414
8565
|
> = z.object({
|
|
8415
8566
|
id: z.string(),
|
|
8416
8567
|
key: z.string(),
|
|
8568
|
+
displayName: z.string(),
|
|
8417
8569
|
workspaceId: z.string(),
|
|
8418
8570
|
projectId: z.string(),
|
|
8419
8571
|
createdById: z.nullable(z.string()).optional(),
|
|
@@ -8441,6 +8593,7 @@ export const UpdateAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
8441
8593
|
}).transform((v) => {
|
|
8442
8594
|
return remap$(v, {
|
|
8443
8595
|
id: "_id",
|
|
8596
|
+
displayName: "display_name",
|
|
8444
8597
|
workspaceId: "workspace_id",
|
|
8445
8598
|
projectId: "project_id",
|
|
8446
8599
|
createdById: "created_by_id",
|
|
@@ -436,7 +436,7 @@ export const UpdateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
436
436
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
437
437
|
.optional(),
|
|
438
438
|
updated: z.string().datetime({ offset: true }).default(
|
|
439
|
-
"2025-11-
|
|
439
|
+
"2025-11-19T04:09:03.217Z",
|
|
440
440
|
).transform(v => new Date(v)),
|
|
441
441
|
}).transform((v) => {
|
|
442
442
|
return remap$(v, {
|
|
@@ -473,7 +473,7 @@ export const UpdateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
473
473
|
isActive: z.boolean(),
|
|
474
474
|
consumption: z.lazy(() => UpdateBudgetConsumption$outboundSchema).optional(),
|
|
475
475
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
476
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
476
|
+
updated: z.date().default(() => new Date("2025-11-19T04:09:03.217Z"))
|
|
477
477
|
.transform(v => v.toISOString()),
|
|
478
478
|
}).transform((v) => {
|
|
479
479
|
return remap$(v, {
|
|
@@ -214,7 +214,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
214
214
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
215
215
|
.optional(),
|
|
216
216
|
updated: z.string().datetime({ offset: true }).default(
|
|
217
|
-
"2025-11-
|
|
217
|
+
"2025-11-19T04:09:02.872Z",
|
|
218
218
|
).transform(v => new Date(v)),
|
|
219
219
|
}).transform((v) => {
|
|
220
220
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
tags: z.array(z.string()).optional(),
|
|
252
252
|
metadata: z.record(z.any()).optional(),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-11-19T04:09:02.872Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|