@orq-ai/node 4.1.0-rc.45 → 4.1.0-rc.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -24
- package/bin/mcp-server.js +3439 -531
- package/bin/mcp-server.js.map +65 -58
- package/examples/package-lock.json +1 -1
- package/funcs/routerChatCompletions.d.ts +23 -0
- package/funcs/routerChatCompletions.d.ts.map +1 -0
- package/funcs/routerChatCompletions.js +121 -0
- package/funcs/routerChatCompletions.js.map +1 -0
- package/funcs/routerImagesGenerate.d.ts +17 -0
- package/funcs/routerImagesGenerate.d.ts.map +1 -0
- package/funcs/routerImagesGenerate.js +114 -0
- package/funcs/routerImagesGenerate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/event-streams.js +1 -1
- package/lib/event-streams.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +5 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/routerChatCompletions.d.ts +8 -0
- package/mcp-server/tools/routerChatCompletions.d.ts.map +1 -0
- package/mcp-server/tools/routerChatCompletions.js +64 -0
- package/mcp-server/tools/routerChatCompletions.js.map +1 -0
- package/mcp-server/tools/routerImagesGenerate.d.ts +8 -0
- package/mcp-server/tools/routerImagesGenerate.d.ts.map +1 -0
- package/mcp-server/tools/routerImagesGenerate.js +64 -0
- package/mcp-server/tools/routerImagesGenerate.js.map +1 -0
- package/models/components/conversationresponse.js +2 -2
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/partdoneevent.js +2 -2
- package/models/components/publiccontact.d.ts +52 -0
- package/models/components/publiccontact.d.ts.map +1 -0
- package/models/components/publiccontact.js +79 -0
- package/models/components/publiccontact.js.map +1 -0
- package/models/components/reasoningpart.js +2 -2
- package/models/operations/createagentrequest.d.ts +280 -36
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +308 -51
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +3 -1
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createchatcompletion.d.ts +3152 -0
- package/models/operations/createchatcompletion.d.ts.map +1 -0
- package/models/operations/createchatcompletion.js +3398 -0
- package/models/operations/createchatcompletion.js.map +1 -0
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createimage.d.ts +433 -0
- package/models/operations/createimage.d.ts.map +1 -0
- package/models/operations/createimage.js +455 -0
- package/models/operations/createimage.js.map +1 -0
- package/models/operations/creatememory.d.ts +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +3 -1
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/generateconversationname.js +2 -2
- package/models/operations/getallprompts.d.ts +8 -8
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +11 -12
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeeval.d.ts +5 -5
- package/models/operations/invokeeval.d.ts.map +1 -1
- package/models/operations/invokeeval.js +7 -7
- package/models/operations/invokeeval.js.map +1 -1
- package/models/operations/listagents.d.ts +122 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +129 -3
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +122 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +128 -3
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +122 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +132 -7
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +122 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +131 -7
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +244 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +255 -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/updateconversation.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/updatememory.d.ts +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/router.d.ts +23 -0
- package/sdk/router.d.ts.map +1 -0
- package/sdk/router.js +34 -0
- package/sdk/router.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/routerChatCompletions.ts +172 -0
- package/src/funcs/routerImagesGenerate.ts +160 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/event-streams.ts +1 -1
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/routerChatCompletions.ts +37 -0
- package/src/mcp-server/tools/routerImagesGenerate.ts +37 -0
- package/src/models/components/conversationresponse.ts +2 -2
- package/src/models/components/index.ts +1 -0
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/publiccontact.ts +99 -0
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/operations/createagentrequest.ts +760 -113
- package/src/models/operations/createagentresponserequest.ts +2 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createchatcompletion.ts +8911 -0
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createimage.ts +966 -0
- package/src/models/operations/creatememory.ts +1 -1
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deploymentstream.ts +2 -1
- 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/generateconversationname.ts +2 -2
- package/src/models/operations/getallprompts.ts +45 -38
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/invokeeval.ts +11 -10
- package/src/models/operations/listagents.ts +313 -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 +2 -2
- package/src/models/operations/retrieveagentrequest.ts +337 -0
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +315 -2
- package/src/models/operations/streamrunagent.ts +342 -2
- package/src/models/operations/updateagent.ts +659 -0
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.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/updatememory.ts +1 -1
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/router.ts +52 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -177,6 +177,35 @@ export declare const ModelConfigurationModalities: {
|
|
|
177
177
|
readonly Audio: "audio";
|
|
178
178
|
};
|
|
179
179
|
export type ModelConfigurationModalities = ClosedEnum<typeof ModelConfigurationModalities>;
|
|
180
|
+
/**
|
|
181
|
+
* The key of the guardrail.
|
|
182
|
+
*/
|
|
183
|
+
export declare const UpdateAgentId1: {
|
|
184
|
+
readonly OrqPiiDetection: "orq_pii_detection";
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* The key of the guardrail.
|
|
188
|
+
*/
|
|
189
|
+
export type UpdateAgentId1 = ClosedEnum<typeof UpdateAgentId1>;
|
|
190
|
+
export type ModelConfigurationId = UpdateAgentId1 | string;
|
|
191
|
+
/**
|
|
192
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
193
|
+
*/
|
|
194
|
+
export declare const ModelConfigurationExecuteOn: {
|
|
195
|
+
readonly Input: "input";
|
|
196
|
+
readonly Output: "output";
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
200
|
+
*/
|
|
201
|
+
export type ModelConfigurationExecuteOn = ClosedEnum<typeof ModelConfigurationExecuteOn>;
|
|
202
|
+
export type ModelConfigurationGuardrails = {
|
|
203
|
+
id: UpdateAgentId1 | string;
|
|
204
|
+
/**
|
|
205
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
206
|
+
*/
|
|
207
|
+
executeOn: ModelConfigurationExecuteOn;
|
|
208
|
+
};
|
|
180
209
|
/**
|
|
181
210
|
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
182
211
|
*/
|
|
@@ -275,6 +304,10 @@ export type ModelConfigurationParameters = {
|
|
|
275
304
|
* Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
|
|
276
305
|
*/
|
|
277
306
|
modalities?: Array<ModelConfigurationModalities> | null | undefined;
|
|
307
|
+
/**
|
|
308
|
+
* A list of guardrails to apply to the request.
|
|
309
|
+
*/
|
|
310
|
+
guardrails?: Array<ModelConfigurationGuardrails> | undefined;
|
|
278
311
|
};
|
|
279
312
|
/**
|
|
280
313
|
* Retry configuration for model requests. Retries are triggered for specific HTTP status codes (e.g., 500, 429, 502, 503, 504). Supports configurable retry count (1-5) and custom status codes.
|
|
@@ -486,6 +519,35 @@ export declare const UpdateAgentFallbackModelConfigurationModalities: {
|
|
|
486
519
|
readonly Audio: "audio";
|
|
487
520
|
};
|
|
488
521
|
export type UpdateAgentFallbackModelConfigurationModalities = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationModalities>;
|
|
522
|
+
/**
|
|
523
|
+
* The key of the guardrail.
|
|
524
|
+
*/
|
|
525
|
+
export declare const UpdateAgentIdAgents1: {
|
|
526
|
+
readonly OrqPiiDetection: "orq_pii_detection";
|
|
527
|
+
};
|
|
528
|
+
/**
|
|
529
|
+
* The key of the guardrail.
|
|
530
|
+
*/
|
|
531
|
+
export type UpdateAgentIdAgents1 = ClosedEnum<typeof UpdateAgentIdAgents1>;
|
|
532
|
+
export type UpdateAgentFallbackModelConfigurationId = UpdateAgentIdAgents1 | string;
|
|
533
|
+
/**
|
|
534
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
535
|
+
*/
|
|
536
|
+
export declare const UpdateAgentFallbackModelConfigurationExecuteOn: {
|
|
537
|
+
readonly Input: "input";
|
|
538
|
+
readonly Output: "output";
|
|
539
|
+
};
|
|
540
|
+
/**
|
|
541
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
542
|
+
*/
|
|
543
|
+
export type UpdateAgentFallbackModelConfigurationExecuteOn = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationExecuteOn>;
|
|
544
|
+
export type UpdateAgentFallbackModelConfigurationGuardrails = {
|
|
545
|
+
id: UpdateAgentIdAgents1 | string;
|
|
546
|
+
/**
|
|
547
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
548
|
+
*/
|
|
549
|
+
executeOn: UpdateAgentFallbackModelConfigurationExecuteOn;
|
|
550
|
+
};
|
|
489
551
|
/**
|
|
490
552
|
* Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
|
|
491
553
|
*/
|
|
@@ -584,6 +646,10 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
|
|
|
584
646
|
* Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
|
|
585
647
|
*/
|
|
586
648
|
modalities?: Array<UpdateAgentFallbackModelConfigurationModalities> | null | undefined;
|
|
649
|
+
/**
|
|
650
|
+
* A list of guardrails to apply to the request.
|
|
651
|
+
*/
|
|
652
|
+
guardrails?: Array<UpdateAgentFallbackModelConfigurationGuardrails> | undefined;
|
|
587
653
|
};
|
|
588
654
|
/**
|
|
589
655
|
* Fallback model configuration with optional parameters.
|
|
@@ -1363,6 +1429,35 @@ export declare const UpdateAgentModalities: {
|
|
|
1363
1429
|
readonly Audio: "audio";
|
|
1364
1430
|
};
|
|
1365
1431
|
export type UpdateAgentModalities = ClosedEnum<typeof UpdateAgentModalities>;
|
|
1432
|
+
/**
|
|
1433
|
+
* The key of the guardrail.
|
|
1434
|
+
*/
|
|
1435
|
+
export declare const UpdateAgentIdAgentsResponse1: {
|
|
1436
|
+
readonly OrqPiiDetection: "orq_pii_detection";
|
|
1437
|
+
};
|
|
1438
|
+
/**
|
|
1439
|
+
* The key of the guardrail.
|
|
1440
|
+
*/
|
|
1441
|
+
export type UpdateAgentIdAgentsResponse1 = ClosedEnum<typeof UpdateAgentIdAgentsResponse1>;
|
|
1442
|
+
export type UpdateAgentId = UpdateAgentIdAgentsResponse1 | string;
|
|
1443
|
+
/**
|
|
1444
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
1445
|
+
*/
|
|
1446
|
+
export declare const UpdateAgentAgentsResponse200ApplicationJSONExecuteOn: {
|
|
1447
|
+
readonly Input: "input";
|
|
1448
|
+
readonly Output: "output";
|
|
1449
|
+
};
|
|
1450
|
+
/**
|
|
1451
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
1452
|
+
*/
|
|
1453
|
+
export type UpdateAgentAgentsResponse200ApplicationJSONExecuteOn = ClosedEnum<typeof UpdateAgentAgentsResponse200ApplicationJSONExecuteOn>;
|
|
1454
|
+
export type UpdateAgentAgentsResponseGuardrails = {
|
|
1455
|
+
id: UpdateAgentIdAgentsResponse1 | string;
|
|
1456
|
+
/**
|
|
1457
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
1458
|
+
*/
|
|
1459
|
+
executeOn: UpdateAgentAgentsResponse200ApplicationJSONExecuteOn;
|
|
1460
|
+
};
|
|
1366
1461
|
/**
|
|
1367
1462
|
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
1368
1463
|
*/
|
|
@@ -1461,6 +1556,10 @@ export type UpdateAgentParameters = {
|
|
|
1461
1556
|
* Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
|
|
1462
1557
|
*/
|
|
1463
1558
|
modalities?: Array<UpdateAgentModalities> | null | undefined;
|
|
1559
|
+
/**
|
|
1560
|
+
* A list of guardrails to apply to the request.
|
|
1561
|
+
*/
|
|
1562
|
+
guardrails?: Array<UpdateAgentAgentsResponseGuardrails> | undefined;
|
|
1464
1563
|
};
|
|
1465
1564
|
/**
|
|
1466
1565
|
* Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
|
|
@@ -1649,6 +1748,35 @@ export declare const UpdateAgentFallbackModelConfigurationAgentsModalities: {
|
|
|
1649
1748
|
readonly Audio: "audio";
|
|
1650
1749
|
};
|
|
1651
1750
|
export type UpdateAgentFallbackModelConfigurationAgentsModalities = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsModalities>;
|
|
1751
|
+
/**
|
|
1752
|
+
* The key of the guardrail.
|
|
1753
|
+
*/
|
|
1754
|
+
export declare const UpdateAgentIdAgentsResponse2001: {
|
|
1755
|
+
readonly OrqPiiDetection: "orq_pii_detection";
|
|
1756
|
+
};
|
|
1757
|
+
/**
|
|
1758
|
+
* The key of the guardrail.
|
|
1759
|
+
*/
|
|
1760
|
+
export type UpdateAgentIdAgentsResponse2001 = ClosedEnum<typeof UpdateAgentIdAgentsResponse2001>;
|
|
1761
|
+
export type UpdateAgentFallbackModelConfigurationAgentsId = UpdateAgentIdAgentsResponse2001 | string;
|
|
1762
|
+
/**
|
|
1763
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
1764
|
+
*/
|
|
1765
|
+
export declare const UpdateAgentFallbackModelConfigurationAgentsExecuteOn: {
|
|
1766
|
+
readonly Input: "input";
|
|
1767
|
+
readonly Output: "output";
|
|
1768
|
+
};
|
|
1769
|
+
/**
|
|
1770
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
1771
|
+
*/
|
|
1772
|
+
export type UpdateAgentFallbackModelConfigurationAgentsExecuteOn = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsExecuteOn>;
|
|
1773
|
+
export type UpdateAgentFallbackModelConfigurationAgentsGuardrails = {
|
|
1774
|
+
id: UpdateAgentIdAgentsResponse2001 | string;
|
|
1775
|
+
/**
|
|
1776
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
1777
|
+
*/
|
|
1778
|
+
executeOn: UpdateAgentFallbackModelConfigurationAgentsExecuteOn;
|
|
1779
|
+
};
|
|
1652
1780
|
/**
|
|
1653
1781
|
* Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
|
|
1654
1782
|
*/
|
|
@@ -1747,6 +1875,10 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
|
|
|
1747
1875
|
* Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
|
|
1748
1876
|
*/
|
|
1749
1877
|
modalities?: Array<UpdateAgentFallbackModelConfigurationAgentsModalities> | null | undefined;
|
|
1878
|
+
/**
|
|
1879
|
+
* A list of guardrails to apply to the request.
|
|
1880
|
+
*/
|
|
1881
|
+
guardrails?: Array<UpdateAgentFallbackModelConfigurationAgentsGuardrails> | undefined;
|
|
1750
1882
|
};
|
|
1751
1883
|
/**
|
|
1752
1884
|
* Fallback model configuration with optional parameters.
|
|
@@ -2006,6 +2138,33 @@ export declare const ModelConfigurationModalities$inboundSchema: z.ZodNativeEnum
|
|
|
2006
2138
|
/** @internal */
|
|
2007
2139
|
export declare const ModelConfigurationModalities$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationModalities>;
|
|
2008
2140
|
/** @internal */
|
|
2141
|
+
export declare const UpdateAgentId1$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentId1>;
|
|
2142
|
+
/** @internal */
|
|
2143
|
+
export declare const UpdateAgentId1$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentId1>;
|
|
2144
|
+
/** @internal */
|
|
2145
|
+
export declare const ModelConfigurationId$inboundSchema: z.ZodType<ModelConfigurationId, z.ZodTypeDef, unknown>;
|
|
2146
|
+
/** @internal */
|
|
2147
|
+
export type ModelConfigurationId$Outbound = string | string;
|
|
2148
|
+
/** @internal */
|
|
2149
|
+
export declare const ModelConfigurationId$outboundSchema: z.ZodType<ModelConfigurationId$Outbound, z.ZodTypeDef, ModelConfigurationId>;
|
|
2150
|
+
export declare function modelConfigurationIdToJSON(modelConfigurationId: ModelConfigurationId): string;
|
|
2151
|
+
export declare function modelConfigurationIdFromJSON(jsonString: string): SafeParseResult<ModelConfigurationId, SDKValidationError>;
|
|
2152
|
+
/** @internal */
|
|
2153
|
+
export declare const ModelConfigurationExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ModelConfigurationExecuteOn>;
|
|
2154
|
+
/** @internal */
|
|
2155
|
+
export declare const ModelConfigurationExecuteOn$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationExecuteOn>;
|
|
2156
|
+
/** @internal */
|
|
2157
|
+
export declare const ModelConfigurationGuardrails$inboundSchema: z.ZodType<ModelConfigurationGuardrails, z.ZodTypeDef, unknown>;
|
|
2158
|
+
/** @internal */
|
|
2159
|
+
export type ModelConfigurationGuardrails$Outbound = {
|
|
2160
|
+
id: string | string;
|
|
2161
|
+
execute_on: string;
|
|
2162
|
+
};
|
|
2163
|
+
/** @internal */
|
|
2164
|
+
export declare const ModelConfigurationGuardrails$outboundSchema: z.ZodType<ModelConfigurationGuardrails$Outbound, z.ZodTypeDef, ModelConfigurationGuardrails>;
|
|
2165
|
+
export declare function modelConfigurationGuardrailsToJSON(modelConfigurationGuardrails: ModelConfigurationGuardrails): string;
|
|
2166
|
+
export declare function modelConfigurationGuardrailsFromJSON(jsonString: string): SafeParseResult<ModelConfigurationGuardrails, SDKValidationError>;
|
|
2167
|
+
/** @internal */
|
|
2009
2168
|
export declare const ModelConfigurationParameters$inboundSchema: z.ZodType<ModelConfigurationParameters, z.ZodTypeDef, unknown>;
|
|
2010
2169
|
/** @internal */
|
|
2011
2170
|
export type ModelConfigurationParameters$Outbound = {
|
|
@@ -2030,6 +2189,7 @@ export type ModelConfigurationParameters$Outbound = {
|
|
|
2030
2189
|
tool_choice?: UpdateAgentToolChoice2$Outbound | string | undefined;
|
|
2031
2190
|
parallel_tool_calls?: boolean | undefined;
|
|
2032
2191
|
modalities?: Array<string> | null | undefined;
|
|
2192
|
+
guardrails?: Array<ModelConfigurationGuardrails$Outbound> | undefined;
|
|
2033
2193
|
};
|
|
2034
2194
|
/** @internal */
|
|
2035
2195
|
export declare const ModelConfigurationParameters$outboundSchema: z.ZodType<ModelConfigurationParameters$Outbound, z.ZodTypeDef, ModelConfigurationParameters>;
|
|
@@ -2209,6 +2369,33 @@ export declare const UpdateAgentFallbackModelConfigurationModalities$inboundSche
|
|
|
2209
2369
|
/** @internal */
|
|
2210
2370
|
export declare const UpdateAgentFallbackModelConfigurationModalities$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationModalities>;
|
|
2211
2371
|
/** @internal */
|
|
2372
|
+
export declare const UpdateAgentIdAgents1$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgents1>;
|
|
2373
|
+
/** @internal */
|
|
2374
|
+
export declare const UpdateAgentIdAgents1$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgents1>;
|
|
2375
|
+
/** @internal */
|
|
2376
|
+
export declare const UpdateAgentFallbackModelConfigurationId$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationId, z.ZodTypeDef, unknown>;
|
|
2377
|
+
/** @internal */
|
|
2378
|
+
export type UpdateAgentFallbackModelConfigurationId$Outbound = string | string;
|
|
2379
|
+
/** @internal */
|
|
2380
|
+
export declare const UpdateAgentFallbackModelConfigurationId$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationId$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationId>;
|
|
2381
|
+
export declare function updateAgentFallbackModelConfigurationIdToJSON(updateAgentFallbackModelConfigurationId: UpdateAgentFallbackModelConfigurationId): string;
|
|
2382
|
+
export declare function updateAgentFallbackModelConfigurationIdFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationId, SDKValidationError>;
|
|
2383
|
+
/** @internal */
|
|
2384
|
+
export declare const UpdateAgentFallbackModelConfigurationExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationExecuteOn>;
|
|
2385
|
+
/** @internal */
|
|
2386
|
+
export declare const UpdateAgentFallbackModelConfigurationExecuteOn$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationExecuteOn>;
|
|
2387
|
+
/** @internal */
|
|
2388
|
+
export declare const UpdateAgentFallbackModelConfigurationGuardrails$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationGuardrails, z.ZodTypeDef, unknown>;
|
|
2389
|
+
/** @internal */
|
|
2390
|
+
export type UpdateAgentFallbackModelConfigurationGuardrails$Outbound = {
|
|
2391
|
+
id: string | string;
|
|
2392
|
+
execute_on: string;
|
|
2393
|
+
};
|
|
2394
|
+
/** @internal */
|
|
2395
|
+
export declare const UpdateAgentFallbackModelConfigurationGuardrails$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationGuardrails$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationGuardrails>;
|
|
2396
|
+
export declare function updateAgentFallbackModelConfigurationGuardrailsToJSON(updateAgentFallbackModelConfigurationGuardrails: UpdateAgentFallbackModelConfigurationGuardrails): string;
|
|
2397
|
+
export declare function updateAgentFallbackModelConfigurationGuardrailsFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationGuardrails, SDKValidationError>;
|
|
2398
|
+
/** @internal */
|
|
2212
2399
|
export declare const UpdateAgentFallbackModelConfigurationParameters$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationParameters, z.ZodTypeDef, unknown>;
|
|
2213
2400
|
/** @internal */
|
|
2214
2401
|
export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
|
|
@@ -2233,6 +2420,7 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
2233
2420
|
tool_choice?: UpdateAgentToolChoiceAgents2$Outbound | string | undefined;
|
|
2234
2421
|
parallel_tool_calls?: boolean | undefined;
|
|
2235
2422
|
modalities?: Array<string> | null | undefined;
|
|
2423
|
+
guardrails?: Array<UpdateAgentFallbackModelConfigurationGuardrails$Outbound> | undefined;
|
|
2236
2424
|
};
|
|
2237
2425
|
/** @internal */
|
|
2238
2426
|
export declare const UpdateAgentFallbackModelConfigurationParameters$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationParameters$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationParameters>;
|
|
@@ -2836,6 +3024,33 @@ export declare const UpdateAgentModalities$inboundSchema: z.ZodNativeEnum<typeof
|
|
|
2836
3024
|
/** @internal */
|
|
2837
3025
|
export declare const UpdateAgentModalities$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentModalities>;
|
|
2838
3026
|
/** @internal */
|
|
3027
|
+
export declare const UpdateAgentIdAgentsResponse1$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgentsResponse1>;
|
|
3028
|
+
/** @internal */
|
|
3029
|
+
export declare const UpdateAgentIdAgentsResponse1$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgentsResponse1>;
|
|
3030
|
+
/** @internal */
|
|
3031
|
+
export declare const UpdateAgentId$inboundSchema: z.ZodType<UpdateAgentId, z.ZodTypeDef, unknown>;
|
|
3032
|
+
/** @internal */
|
|
3033
|
+
export type UpdateAgentId$Outbound = string | string;
|
|
3034
|
+
/** @internal */
|
|
3035
|
+
export declare const UpdateAgentId$outboundSchema: z.ZodType<UpdateAgentId$Outbound, z.ZodTypeDef, UpdateAgentId>;
|
|
3036
|
+
export declare function updateAgentIdToJSON(updateAgentId: UpdateAgentId): string;
|
|
3037
|
+
export declare function updateAgentIdFromJSON(jsonString: string): SafeParseResult<UpdateAgentId, SDKValidationError>;
|
|
3038
|
+
/** @internal */
|
|
3039
|
+
export declare const UpdateAgentAgentsResponse200ApplicationJSONExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentsResponse200ApplicationJSONExecuteOn>;
|
|
3040
|
+
/** @internal */
|
|
3041
|
+
export declare const UpdateAgentAgentsResponse200ApplicationJSONExecuteOn$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentsResponse200ApplicationJSONExecuteOn>;
|
|
3042
|
+
/** @internal */
|
|
3043
|
+
export declare const UpdateAgentAgentsResponseGuardrails$inboundSchema: z.ZodType<UpdateAgentAgentsResponseGuardrails, z.ZodTypeDef, unknown>;
|
|
3044
|
+
/** @internal */
|
|
3045
|
+
export type UpdateAgentAgentsResponseGuardrails$Outbound = {
|
|
3046
|
+
id: string | string;
|
|
3047
|
+
execute_on: string;
|
|
3048
|
+
};
|
|
3049
|
+
/** @internal */
|
|
3050
|
+
export declare const UpdateAgentAgentsResponseGuardrails$outboundSchema: z.ZodType<UpdateAgentAgentsResponseGuardrails$Outbound, z.ZodTypeDef, UpdateAgentAgentsResponseGuardrails>;
|
|
3051
|
+
export declare function updateAgentAgentsResponseGuardrailsToJSON(updateAgentAgentsResponseGuardrails: UpdateAgentAgentsResponseGuardrails): string;
|
|
3052
|
+
export declare function updateAgentAgentsResponseGuardrailsFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsResponseGuardrails, SDKValidationError>;
|
|
3053
|
+
/** @internal */
|
|
2839
3054
|
export declare const UpdateAgentParameters$inboundSchema: z.ZodType<UpdateAgentParameters, z.ZodTypeDef, unknown>;
|
|
2840
3055
|
/** @internal */
|
|
2841
3056
|
export type UpdateAgentParameters$Outbound = {
|
|
@@ -2860,6 +3075,7 @@ export type UpdateAgentParameters$Outbound = {
|
|
|
2860
3075
|
tool_choice?: UpdateAgentToolChoiceAgentsResponse2$Outbound | string | undefined;
|
|
2861
3076
|
parallel_tool_calls?: boolean | undefined;
|
|
2862
3077
|
modalities?: Array<string> | null | undefined;
|
|
3078
|
+
guardrails?: Array<UpdateAgentAgentsResponseGuardrails$Outbound> | undefined;
|
|
2863
3079
|
};
|
|
2864
3080
|
/** @internal */
|
|
2865
3081
|
export declare const UpdateAgentParameters$outboundSchema: z.ZodType<UpdateAgentParameters$Outbound, z.ZodTypeDef, UpdateAgentParameters>;
|
|
@@ -3019,6 +3235,33 @@ export declare const UpdateAgentFallbackModelConfigurationAgentsModalities$inbou
|
|
|
3019
3235
|
/** @internal */
|
|
3020
3236
|
export declare const UpdateAgentFallbackModelConfigurationAgentsModalities$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsModalities>;
|
|
3021
3237
|
/** @internal */
|
|
3238
|
+
export declare const UpdateAgentIdAgentsResponse2001$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgentsResponse2001>;
|
|
3239
|
+
/** @internal */
|
|
3240
|
+
export declare const UpdateAgentIdAgentsResponse2001$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgentsResponse2001>;
|
|
3241
|
+
/** @internal */
|
|
3242
|
+
export declare const UpdateAgentFallbackModelConfigurationAgentsId$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsId, z.ZodTypeDef, unknown>;
|
|
3243
|
+
/** @internal */
|
|
3244
|
+
export type UpdateAgentFallbackModelConfigurationAgentsId$Outbound = string | string;
|
|
3245
|
+
/** @internal */
|
|
3246
|
+
export declare const UpdateAgentFallbackModelConfigurationAgentsId$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsId$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationAgentsId>;
|
|
3247
|
+
export declare function updateAgentFallbackModelConfigurationAgentsIdToJSON(updateAgentFallbackModelConfigurationAgentsId: UpdateAgentFallbackModelConfigurationAgentsId): string;
|
|
3248
|
+
export declare function updateAgentFallbackModelConfigurationAgentsIdFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsId, SDKValidationError>;
|
|
3249
|
+
/** @internal */
|
|
3250
|
+
export declare const UpdateAgentFallbackModelConfigurationAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsExecuteOn>;
|
|
3251
|
+
/** @internal */
|
|
3252
|
+
export declare const UpdateAgentFallbackModelConfigurationAgentsExecuteOn$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsExecuteOn>;
|
|
3253
|
+
/** @internal */
|
|
3254
|
+
export declare const UpdateAgentFallbackModelConfigurationAgentsGuardrails$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsGuardrails, z.ZodTypeDef, unknown>;
|
|
3255
|
+
/** @internal */
|
|
3256
|
+
export type UpdateAgentFallbackModelConfigurationAgentsGuardrails$Outbound = {
|
|
3257
|
+
id: string | string;
|
|
3258
|
+
execute_on: string;
|
|
3259
|
+
};
|
|
3260
|
+
/** @internal */
|
|
3261
|
+
export declare const UpdateAgentFallbackModelConfigurationAgentsGuardrails$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsGuardrails$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationAgentsGuardrails>;
|
|
3262
|
+
export declare function updateAgentFallbackModelConfigurationAgentsGuardrailsToJSON(updateAgentFallbackModelConfigurationAgentsGuardrails: UpdateAgentFallbackModelConfigurationAgentsGuardrails): string;
|
|
3263
|
+
export declare function updateAgentFallbackModelConfigurationAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsGuardrails, SDKValidationError>;
|
|
3264
|
+
/** @internal */
|
|
3022
3265
|
export declare const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsParameters, z.ZodTypeDef, unknown>;
|
|
3023
3266
|
/** @internal */
|
|
3024
3267
|
export type UpdateAgentFallbackModelConfigurationAgentsParameters$Outbound = {
|
|
@@ -3043,6 +3286,7 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters$Outbound = {
|
|
|
3043
3286
|
tool_choice?: UpdateAgentToolChoiceAgentsResponse2002$Outbound | string | undefined;
|
|
3044
3287
|
parallel_tool_calls?: boolean | undefined;
|
|
3045
3288
|
modalities?: Array<string> | null | undefined;
|
|
3289
|
+
guardrails?: Array<UpdateAgentFallbackModelConfigurationAgentsGuardrails$Outbound> | undefined;
|
|
3046
3290
|
};
|
|
3047
3291
|
/** @internal */
|
|
3048
3292
|
export declare const UpdateAgentFallbackModelConfigurationAgentsParameters$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsParameters$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationAgentsParameters>;
|