@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
|
@@ -140,6 +140,18 @@ export const CreateAgentModelType = {
|
|
|
140
140
|
*/
|
|
141
141
|
export type CreateAgentModelType = ClosedEnum<typeof CreateAgentModelType>;
|
|
142
142
|
|
|
143
|
+
/**
|
|
144
|
+
* 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.
|
|
145
|
+
*/
|
|
146
|
+
export const ThinkingLevel = {
|
|
147
|
+
Low: "low",
|
|
148
|
+
High: "high",
|
|
149
|
+
} as const;
|
|
150
|
+
/**
|
|
151
|
+
* 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.
|
|
152
|
+
*/
|
|
153
|
+
export type ThinkingLevel = ClosedEnum<typeof ThinkingLevel>;
|
|
154
|
+
|
|
143
155
|
export type Thinking = {
|
|
144
156
|
/**
|
|
145
157
|
* Enables or disables the thinking mode capability
|
|
@@ -149,6 +161,10 @@ export type Thinking = {
|
|
|
149
161
|
* 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`.
|
|
150
162
|
*/
|
|
151
163
|
budgetTokens: number;
|
|
164
|
+
/**
|
|
165
|
+
* 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.
|
|
166
|
+
*/
|
|
167
|
+
thinkingLevel?: ThinkingLevel | undefined;
|
|
152
168
|
};
|
|
153
169
|
|
|
154
170
|
/**
|
|
@@ -462,6 +478,20 @@ export const FallbackModelsType = {
|
|
|
462
478
|
*/
|
|
463
479
|
export type FallbackModelsType = ClosedEnum<typeof FallbackModelsType>;
|
|
464
480
|
|
|
481
|
+
/**
|
|
482
|
+
* 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.
|
|
483
|
+
*/
|
|
484
|
+
export const FallbackModelsThinkingLevel = {
|
|
485
|
+
Low: "low",
|
|
486
|
+
High: "high",
|
|
487
|
+
} as const;
|
|
488
|
+
/**
|
|
489
|
+
* 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.
|
|
490
|
+
*/
|
|
491
|
+
export type FallbackModelsThinkingLevel = ClosedEnum<
|
|
492
|
+
typeof FallbackModelsThinkingLevel
|
|
493
|
+
>;
|
|
494
|
+
|
|
465
495
|
export type FallbackModelsThinking = {
|
|
466
496
|
/**
|
|
467
497
|
* Enables or disables the thinking mode capability
|
|
@@ -471,6 +501,10 @@ export type FallbackModelsThinking = {
|
|
|
471
501
|
* 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`.
|
|
472
502
|
*/
|
|
473
503
|
budgetTokens: number;
|
|
504
|
+
/**
|
|
505
|
+
* 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.
|
|
506
|
+
*/
|
|
507
|
+
thinkingLevel?: FallbackModelsThinkingLevel | undefined;
|
|
474
508
|
};
|
|
475
509
|
|
|
476
510
|
/**
|
|
@@ -1320,6 +1354,20 @@ export const CreateAgentType = {
|
|
|
1320
1354
|
*/
|
|
1321
1355
|
export type CreateAgentType = ClosedEnum<typeof CreateAgentType>;
|
|
1322
1356
|
|
|
1357
|
+
/**
|
|
1358
|
+
* 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.
|
|
1359
|
+
*/
|
|
1360
|
+
export const CreateAgentThinkingLevel = {
|
|
1361
|
+
Low: "low",
|
|
1362
|
+
High: "high",
|
|
1363
|
+
} as const;
|
|
1364
|
+
/**
|
|
1365
|
+
* 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.
|
|
1366
|
+
*/
|
|
1367
|
+
export type CreateAgentThinkingLevel = ClosedEnum<
|
|
1368
|
+
typeof CreateAgentThinkingLevel
|
|
1369
|
+
>;
|
|
1370
|
+
|
|
1323
1371
|
export type CreateAgentThinking = {
|
|
1324
1372
|
/**
|
|
1325
1373
|
* Enables or disables the thinking mode capability
|
|
@@ -1329,6 +1377,10 @@ export type CreateAgentThinking = {
|
|
|
1329
1377
|
* 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`.
|
|
1330
1378
|
*/
|
|
1331
1379
|
budgetTokens: number;
|
|
1380
|
+
/**
|
|
1381
|
+
* 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.
|
|
1382
|
+
*/
|
|
1383
|
+
thinkingLevel?: CreateAgentThinkingLevel | undefined;
|
|
1332
1384
|
};
|
|
1333
1385
|
|
|
1334
1386
|
/**
|
|
@@ -1641,6 +1693,20 @@ export type CreateAgentFallbackModelsType = ClosedEnum<
|
|
|
1641
1693
|
typeof CreateAgentFallbackModelsType
|
|
1642
1694
|
>;
|
|
1643
1695
|
|
|
1696
|
+
/**
|
|
1697
|
+
* 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.
|
|
1698
|
+
*/
|
|
1699
|
+
export const CreateAgentFallbackModelsThinkingLevel = {
|
|
1700
|
+
Low: "low",
|
|
1701
|
+
High: "high",
|
|
1702
|
+
} as const;
|
|
1703
|
+
/**
|
|
1704
|
+
* 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.
|
|
1705
|
+
*/
|
|
1706
|
+
export type CreateAgentFallbackModelsThinkingLevel = ClosedEnum<
|
|
1707
|
+
typeof CreateAgentFallbackModelsThinkingLevel
|
|
1708
|
+
>;
|
|
1709
|
+
|
|
1644
1710
|
export type CreateAgentFallbackModelsThinking = {
|
|
1645
1711
|
/**
|
|
1646
1712
|
* Enables or disables the thinking mode capability
|
|
@@ -1650,6 +1716,10 @@ export type CreateAgentFallbackModelsThinking = {
|
|
|
1650
1716
|
* 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`.
|
|
1651
1717
|
*/
|
|
1652
1718
|
budgetTokens: number;
|
|
1719
|
+
/**
|
|
1720
|
+
* 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.
|
|
1721
|
+
*/
|
|
1722
|
+
thinkingLevel?: CreateAgentFallbackModelsThinkingLevel | undefined;
|
|
1653
1723
|
};
|
|
1654
1724
|
|
|
1655
1725
|
/**
|
|
@@ -2291,6 +2361,15 @@ export const CreateAgentModelType$outboundSchema: z.ZodNativeEnum<
|
|
|
2291
2361
|
typeof CreateAgentModelType
|
|
2292
2362
|
> = CreateAgentModelType$inboundSchema;
|
|
2293
2363
|
|
|
2364
|
+
/** @internal */
|
|
2365
|
+
export const ThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
2366
|
+
typeof ThinkingLevel
|
|
2367
|
+
> = z.nativeEnum(ThinkingLevel);
|
|
2368
|
+
/** @internal */
|
|
2369
|
+
export const ThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
2370
|
+
typeof ThinkingLevel
|
|
2371
|
+
> = ThinkingLevel$inboundSchema;
|
|
2372
|
+
|
|
2294
2373
|
/** @internal */
|
|
2295
2374
|
export const Thinking$inboundSchema: z.ZodType<
|
|
2296
2375
|
Thinking,
|
|
@@ -2299,15 +2378,18 @@ export const Thinking$inboundSchema: z.ZodType<
|
|
|
2299
2378
|
> = z.object({
|
|
2300
2379
|
type: CreateAgentModelType$inboundSchema,
|
|
2301
2380
|
budget_tokens: z.number(),
|
|
2381
|
+
thinking_level: ThinkingLevel$inboundSchema.optional(),
|
|
2302
2382
|
}).transform((v) => {
|
|
2303
2383
|
return remap$(v, {
|
|
2304
2384
|
"budget_tokens": "budgetTokens",
|
|
2385
|
+
"thinking_level": "thinkingLevel",
|
|
2305
2386
|
});
|
|
2306
2387
|
});
|
|
2307
2388
|
/** @internal */
|
|
2308
2389
|
export type Thinking$Outbound = {
|
|
2309
2390
|
type: string;
|
|
2310
2391
|
budget_tokens: number;
|
|
2392
|
+
thinking_level?: string | undefined;
|
|
2311
2393
|
};
|
|
2312
2394
|
|
|
2313
2395
|
/** @internal */
|
|
@@ -2318,9 +2400,11 @@ export const Thinking$outboundSchema: z.ZodType<
|
|
|
2318
2400
|
> = z.object({
|
|
2319
2401
|
type: CreateAgentModelType$outboundSchema,
|
|
2320
2402
|
budgetTokens: z.number(),
|
|
2403
|
+
thinkingLevel: ThinkingLevel$outboundSchema.optional(),
|
|
2321
2404
|
}).transform((v) => {
|
|
2322
2405
|
return remap$(v, {
|
|
2323
2406
|
budgetTokens: "budget_tokens",
|
|
2407
|
+
thinkingLevel: "thinking_level",
|
|
2324
2408
|
});
|
|
2325
2409
|
});
|
|
2326
2410
|
|
|
@@ -3142,6 +3226,15 @@ export const FallbackModelsType$outboundSchema: z.ZodNativeEnum<
|
|
|
3142
3226
|
typeof FallbackModelsType
|
|
3143
3227
|
> = FallbackModelsType$inboundSchema;
|
|
3144
3228
|
|
|
3229
|
+
/** @internal */
|
|
3230
|
+
export const FallbackModelsThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
3231
|
+
typeof FallbackModelsThinkingLevel
|
|
3232
|
+
> = z.nativeEnum(FallbackModelsThinkingLevel);
|
|
3233
|
+
/** @internal */
|
|
3234
|
+
export const FallbackModelsThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
3235
|
+
typeof FallbackModelsThinkingLevel
|
|
3236
|
+
> = FallbackModelsThinkingLevel$inboundSchema;
|
|
3237
|
+
|
|
3145
3238
|
/** @internal */
|
|
3146
3239
|
export const FallbackModelsThinking$inboundSchema: z.ZodType<
|
|
3147
3240
|
FallbackModelsThinking,
|
|
@@ -3150,15 +3243,18 @@ export const FallbackModelsThinking$inboundSchema: z.ZodType<
|
|
|
3150
3243
|
> = z.object({
|
|
3151
3244
|
type: FallbackModelsType$inboundSchema,
|
|
3152
3245
|
budget_tokens: z.number(),
|
|
3246
|
+
thinking_level: FallbackModelsThinkingLevel$inboundSchema.optional(),
|
|
3153
3247
|
}).transform((v) => {
|
|
3154
3248
|
return remap$(v, {
|
|
3155
3249
|
"budget_tokens": "budgetTokens",
|
|
3250
|
+
"thinking_level": "thinkingLevel",
|
|
3156
3251
|
});
|
|
3157
3252
|
});
|
|
3158
3253
|
/** @internal */
|
|
3159
3254
|
export type FallbackModelsThinking$Outbound = {
|
|
3160
3255
|
type: string;
|
|
3161
3256
|
budget_tokens: number;
|
|
3257
|
+
thinking_level?: string | undefined;
|
|
3162
3258
|
};
|
|
3163
3259
|
|
|
3164
3260
|
/** @internal */
|
|
@@ -3169,9 +3265,11 @@ export const FallbackModelsThinking$outboundSchema: z.ZodType<
|
|
|
3169
3265
|
> = z.object({
|
|
3170
3266
|
type: FallbackModelsType$outboundSchema,
|
|
3171
3267
|
budgetTokens: z.number(),
|
|
3268
|
+
thinkingLevel: FallbackModelsThinkingLevel$outboundSchema.optional(),
|
|
3172
3269
|
}).transform((v) => {
|
|
3173
3270
|
return remap$(v, {
|
|
3174
3271
|
budgetTokens: "budget_tokens",
|
|
3272
|
+
thinkingLevel: "thinking_level",
|
|
3175
3273
|
});
|
|
3176
3274
|
});
|
|
3177
3275
|
|
|
@@ -5498,6 +5596,15 @@ export const CreateAgentType$outboundSchema: z.ZodNativeEnum<
|
|
|
5498
5596
|
typeof CreateAgentType
|
|
5499
5597
|
> = CreateAgentType$inboundSchema;
|
|
5500
5598
|
|
|
5599
|
+
/** @internal */
|
|
5600
|
+
export const CreateAgentThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
5601
|
+
typeof CreateAgentThinkingLevel
|
|
5602
|
+
> = z.nativeEnum(CreateAgentThinkingLevel);
|
|
5603
|
+
/** @internal */
|
|
5604
|
+
export const CreateAgentThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
5605
|
+
typeof CreateAgentThinkingLevel
|
|
5606
|
+
> = CreateAgentThinkingLevel$inboundSchema;
|
|
5607
|
+
|
|
5501
5608
|
/** @internal */
|
|
5502
5609
|
export const CreateAgentThinking$inboundSchema: z.ZodType<
|
|
5503
5610
|
CreateAgentThinking,
|
|
@@ -5506,15 +5613,18 @@ export const CreateAgentThinking$inboundSchema: z.ZodType<
|
|
|
5506
5613
|
> = z.object({
|
|
5507
5614
|
type: CreateAgentType$inboundSchema,
|
|
5508
5615
|
budget_tokens: z.number(),
|
|
5616
|
+
thinking_level: CreateAgentThinkingLevel$inboundSchema.optional(),
|
|
5509
5617
|
}).transform((v) => {
|
|
5510
5618
|
return remap$(v, {
|
|
5511
5619
|
"budget_tokens": "budgetTokens",
|
|
5620
|
+
"thinking_level": "thinkingLevel",
|
|
5512
5621
|
});
|
|
5513
5622
|
});
|
|
5514
5623
|
/** @internal */
|
|
5515
5624
|
export type CreateAgentThinking$Outbound = {
|
|
5516
5625
|
type: string;
|
|
5517
5626
|
budget_tokens: number;
|
|
5627
|
+
thinking_level?: string | undefined;
|
|
5518
5628
|
};
|
|
5519
5629
|
|
|
5520
5630
|
/** @internal */
|
|
@@ -5525,9 +5635,11 @@ export const CreateAgentThinking$outboundSchema: z.ZodType<
|
|
|
5525
5635
|
> = z.object({
|
|
5526
5636
|
type: CreateAgentType$outboundSchema,
|
|
5527
5637
|
budgetTokens: z.number(),
|
|
5638
|
+
thinkingLevel: CreateAgentThinkingLevel$outboundSchema.optional(),
|
|
5528
5639
|
}).transform((v) => {
|
|
5529
5640
|
return remap$(v, {
|
|
5530
5641
|
budgetTokens: "budget_tokens",
|
|
5642
|
+
thinkingLevel: "thinking_level",
|
|
5531
5643
|
});
|
|
5532
5644
|
});
|
|
5533
5645
|
|
|
@@ -6378,6 +6490,16 @@ export const CreateAgentFallbackModelsType$outboundSchema: z.ZodNativeEnum<
|
|
|
6378
6490
|
typeof CreateAgentFallbackModelsType
|
|
6379
6491
|
> = CreateAgentFallbackModelsType$inboundSchema;
|
|
6380
6492
|
|
|
6493
|
+
/** @internal */
|
|
6494
|
+
export const CreateAgentFallbackModelsThinkingLevel$inboundSchema:
|
|
6495
|
+
z.ZodNativeEnum<typeof CreateAgentFallbackModelsThinkingLevel> = z.nativeEnum(
|
|
6496
|
+
CreateAgentFallbackModelsThinkingLevel,
|
|
6497
|
+
);
|
|
6498
|
+
/** @internal */
|
|
6499
|
+
export const CreateAgentFallbackModelsThinkingLevel$outboundSchema:
|
|
6500
|
+
z.ZodNativeEnum<typeof CreateAgentFallbackModelsThinkingLevel> =
|
|
6501
|
+
CreateAgentFallbackModelsThinkingLevel$inboundSchema;
|
|
6502
|
+
|
|
6381
6503
|
/** @internal */
|
|
6382
6504
|
export const CreateAgentFallbackModelsThinking$inboundSchema: z.ZodType<
|
|
6383
6505
|
CreateAgentFallbackModelsThinking,
|
|
@@ -6386,15 +6508,19 @@ export const CreateAgentFallbackModelsThinking$inboundSchema: z.ZodType<
|
|
|
6386
6508
|
> = z.object({
|
|
6387
6509
|
type: CreateAgentFallbackModelsType$inboundSchema,
|
|
6388
6510
|
budget_tokens: z.number(),
|
|
6511
|
+
thinking_level: CreateAgentFallbackModelsThinkingLevel$inboundSchema
|
|
6512
|
+
.optional(),
|
|
6389
6513
|
}).transform((v) => {
|
|
6390
6514
|
return remap$(v, {
|
|
6391
6515
|
"budget_tokens": "budgetTokens",
|
|
6516
|
+
"thinking_level": "thinkingLevel",
|
|
6392
6517
|
});
|
|
6393
6518
|
});
|
|
6394
6519
|
/** @internal */
|
|
6395
6520
|
export type CreateAgentFallbackModelsThinking$Outbound = {
|
|
6396
6521
|
type: string;
|
|
6397
6522
|
budget_tokens: number;
|
|
6523
|
+
thinking_level?: string | undefined;
|
|
6398
6524
|
};
|
|
6399
6525
|
|
|
6400
6526
|
/** @internal */
|
|
@@ -6405,9 +6531,12 @@ export const CreateAgentFallbackModelsThinking$outboundSchema: z.ZodType<
|
|
|
6405
6531
|
> = z.object({
|
|
6406
6532
|
type: CreateAgentFallbackModelsType$outboundSchema,
|
|
6407
6533
|
budgetTokens: z.number(),
|
|
6534
|
+
thinkingLevel: CreateAgentFallbackModelsThinkingLevel$outboundSchema
|
|
6535
|
+
.optional(),
|
|
6408
6536
|
}).transform((v) => {
|
|
6409
6537
|
return remap$(v, {
|
|
6410
6538
|
budgetTokens: "budget_tokens",
|
|
6539
|
+
thinkingLevel: "thinking_level",
|
|
6411
6540
|
});
|
|
6412
6541
|
});
|
|
6413
6542
|
|
|
@@ -516,7 +516,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
516
516
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
517
517
|
.optional(),
|
|
518
518
|
updated: z.string().datetime({ offset: true }).default(
|
|
519
|
-
"2025-11-
|
|
519
|
+
"2025-11-19T08:04:49.651Z",
|
|
520
520
|
).transform(v => new Date(v)),
|
|
521
521
|
}).transform((v) => {
|
|
522
522
|
return remap$(v, {
|
|
@@ -553,7 +553,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
553
553
|
isActive: z.boolean(),
|
|
554
554
|
consumption: z.lazy(() => Consumption$outboundSchema).optional(),
|
|
555
555
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
556
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
556
|
+
updated: z.date().default(() => new Date("2025-11-19T08:04:49.651Z"))
|
|
557
557
|
.transform(v => v.toISOString()),
|
|
558
558
|
}).transform((v) => {
|
|
559
559
|
return remap$(v, {
|
|
@@ -167,7 +167,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
167
167
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
168
168
|
.optional(),
|
|
169
169
|
updated: z.string().datetime({ offset: true }).default(
|
|
170
|
-
"2025-11-
|
|
170
|
+
"2025-11-19T08:04:49.318Z",
|
|
171
171
|
).transform(v => new Date(v)),
|
|
172
172
|
}).transform((v) => {
|
|
173
173
|
return remap$(v, {
|
|
@@ -207,7 +207,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
207
207
|
tags: z.array(z.string()).optional(),
|
|
208
208
|
metadata: z.record(z.any()).optional(),
|
|
209
209
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
210
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
210
|
+
updated: z.date().default(() => new Date("2025-11-19T08:04:49.318Z"))
|
|
211
211
|
.transform(v => v.toISOString()),
|
|
212
212
|
}).transform((v) => {
|
|
213
213
|
return remap$(v, {
|
|
@@ -187,7 +187,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
187
187
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
188
188
|
.optional(),
|
|
189
189
|
updated: z.string().datetime({ offset: true }).default(
|
|
190
|
-
"2025-11-
|
|
190
|
+
"2025-11-19T08:04:49.318Z",
|
|
191
191
|
).transform(v => new Date(v)),
|
|
192
192
|
}).transform((v) => {
|
|
193
193
|
return remap$(v, {
|
|
@@ -226,7 +226,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
226
226
|
createdById: z.string().optional(),
|
|
227
227
|
updatedById: z.string().optional(),
|
|
228
228
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
229
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
229
|
+
updated: z.date().default(() => new Date("2025-11-19T08:04:49.318Z"))
|
|
230
230
|
.transform(v => v.toISOString()),
|
|
231
231
|
}).transform((v) => {
|
|
232
232
|
return remap$(v, {
|
|
@@ -4929,7 +4929,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
4929
4929
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
4930
4930
|
reviewed_by_id: z.string(),
|
|
4931
4931
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
4932
|
-
"2025-11-
|
|
4932
|
+
"2025-11-19T08:05:01.316Z",
|
|
4933
4933
|
).transform(v => new Date(v)),
|
|
4934
4934
|
type: CreateDatasetItemEvaluationsDatasetsType$inboundSchema,
|
|
4935
4935
|
values: z.array(z.string()),
|
|
@@ -4964,7 +4964,7 @@ export const Evaluations3$outboundSchema: z.ZodType<
|
|
|
4964
4964
|
humanReviewId: z.string(),
|
|
4965
4965
|
source: CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
|
|
4966
4966
|
reviewedById: z.string(),
|
|
4967
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
4967
|
+
reviewedAt: z.date().default(() => new Date("2025-11-19T08:05:01.316Z"))
|
|
4968
4968
|
.transform(v => v.toISOString()),
|
|
4969
4969
|
type: CreateDatasetItemEvaluationsDatasetsType$outboundSchema,
|
|
4970
4970
|
values: z.array(z.string()),
|
|
@@ -5029,7 +5029,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
5029
5029
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
5030
5030
|
reviewed_by_id: z.string(),
|
|
5031
5031
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5032
|
-
"2025-11-
|
|
5032
|
+
"2025-11-19T08:05:01.315Z",
|
|
5033
5033
|
).transform(v => new Date(v)),
|
|
5034
5034
|
type: CreateDatasetItemEvaluationsType$inboundSchema,
|
|
5035
5035
|
value: z.number(),
|
|
@@ -5064,7 +5064,7 @@ export const Evaluations2$outboundSchema: z.ZodType<
|
|
|
5064
5064
|
humanReviewId: z.string(),
|
|
5065
5065
|
source: EvaluationsSource$outboundSchema.default("orq"),
|
|
5066
5066
|
reviewedById: z.string(),
|
|
5067
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5067
|
+
reviewedAt: z.date().default(() => new Date("2025-11-19T08:05:01.315Z"))
|
|
5068
5068
|
.transform(v => v.toISOString()),
|
|
5069
5069
|
type: CreateDatasetItemEvaluationsType$outboundSchema,
|
|
5070
5070
|
value: z.number(),
|
|
@@ -5127,7 +5127,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
5127
5127
|
source: Source$inboundSchema.default("orq"),
|
|
5128
5128
|
reviewed_by_id: z.string(),
|
|
5129
5129
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5130
|
-
"2025-11-
|
|
5130
|
+
"2025-11-19T08:05:01.315Z",
|
|
5131
5131
|
).transform(v => new Date(v)),
|
|
5132
5132
|
type: EvaluationsType$inboundSchema,
|
|
5133
5133
|
value: z.string(),
|
|
@@ -5162,7 +5162,7 @@ export const Evaluations1$outboundSchema: z.ZodType<
|
|
|
5162
5162
|
humanReviewId: z.string(),
|
|
5163
5163
|
source: Source$outboundSchema.default("orq"),
|
|
5164
5164
|
reviewedById: z.string(),
|
|
5165
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5165
|
+
reviewedAt: z.date().default(() => new Date("2025-11-19T08:05:01.315Z"))
|
|
5166
5166
|
.transform(v => v.toISOString()),
|
|
5167
5167
|
type: EvaluationsType$outboundSchema,
|
|
5168
5168
|
value: z.string(),
|
|
@@ -5267,7 +5267,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
5267
5267
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5268
5268
|
.optional(),
|
|
5269
5269
|
updated: z.string().datetime({ offset: true }).default(
|
|
5270
|
-
"2025-11-
|
|
5270
|
+
"2025-11-19T08:04:49.318Z",
|
|
5271
5271
|
).transform(v => new Date(v)),
|
|
5272
5272
|
}).transform((v) => {
|
|
5273
5273
|
return remap$(v, {
|
|
@@ -5345,7 +5345,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
|
|
|
5345
5345
|
createdById: z.string().optional(),
|
|
5346
5346
|
updatedById: z.string().optional(),
|
|
5347
5347
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5348
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
5348
|
+
updated: z.date().default(() => new Date("2025-11-19T08:04:49.318Z"))
|
|
5349
5349
|
.transform(v => v.toISOString()),
|
|
5350
5350
|
}).transform((v) => {
|
|
5351
5351
|
return remap$(v, {
|
|
@@ -608,7 +608,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
608
608
|
z.ZodTypeDef,
|
|
609
609
|
unknown
|
|
610
610
|
> = z.object({
|
|
611
|
-
_id: z.string().default("
|
|
611
|
+
_id: z.string().default("01KADJAG4GQ42CZYFYQYM78KGH"),
|
|
612
612
|
display_name: z.string(),
|
|
613
613
|
description: z.string().optional(),
|
|
614
614
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -651,7 +651,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
651
651
|
z.ZodTypeDef,
|
|
652
652
|
CreateDatasourceResponseBody
|
|
653
653
|
> = z.object({
|
|
654
|
-
id: z.string().default("
|
|
654
|
+
id: z.string().default("01KADJAG4GQ42CZYFYQYM78KGH"),
|
|
655
655
|
displayName: z.string(),
|
|
656
656
|
description: z.string().optional(),
|
|
657
657
|
status: CreateDatasourceStatus$outboundSchema,
|