@orq-ai/node 4.0.0-rc.51 → 4.0.0-rc.53
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 +3 -4
- package/bin/mcp-server.js +6167 -1952
- package/bin/mcp-server.js.map +55 -56
- package/docs/sdks/agents/README.md +120 -82
- package/examples/package-lock.json +1 -1
- package/funcs/agentsInvoke.d.ts +1 -1
- package/funcs/agentsInvoke.d.ts.map +1 -1
- package/funcs/agentsInvoke.js +1 -1
- package/funcs/agentsInvoke.js.map +1 -1
- package/funcs/agentsListTasks.d.ts +1 -1
- package/funcs/agentsListTasks.d.ts.map +1 -1
- package/funcs/agentsListTasks.js +1 -1
- package/funcs/agentsListTasks.js.map +1 -1
- package/funcs/agentsRetrieveTask.d.ts +1 -1
- package/funcs/agentsRetrieveTask.d.ts.map +1 -1
- package/funcs/agentsRetrieveTask.js +1 -1
- package/funcs/agentsRetrieveTask.js.map +1 -1
- package/funcs/agentsRun.d.ts +1 -1
- package/funcs/agentsRun.d.ts.map +1 -1
- package/funcs/agentsRun.js +1 -1
- package/funcs/agentsRun.js.map +1 -1
- package/funcs/agentsStream.js +2 -0
- package/funcs/agentsStream.js.map +1 -1
- package/funcs/agentsStreamRun.js +2 -0
- package/funcs/agentsStreamRun.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +2 -2
- package/mcp-server/server.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagent.d.ts +17 -7
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +12 -4
- 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 +70 -70
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +162 -169
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.d.ts +25 -25
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +41 -41
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +6 -6
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +9 -9
- package/models/operations/deploymentinvoke.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/getagent.d.ts +5 -0
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +4 -0
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getagenttask.d.ts +682 -108
- package/models/operations/getagenttask.d.ts.map +1 -1
- package/models/operations/getagenttask.js +635 -155
- package/models/operations/getagenttask.js.map +1 -1
- package/models/operations/getalltools.d.ts +34 -34
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +74 -79
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/invokeagent.d.ts +143 -123
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +143 -146
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +5 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +4 -0
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +680 -118
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +612 -144
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listchunks.d.ts +6 -6
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +9 -9
- package/models/operations/listchunks.js.map +1 -1
- 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 +6 -6
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +12 -11
- package/models/operations/listdatasources.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/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +112 -98
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +120 -121
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +2725 -167
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +2948 -17
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +3274 -722
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +2948 -24
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +28 -15
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +25 -15
- 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/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/agents.d.ts +10 -10
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +9 -9
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsInvoke.ts +4 -4
- package/src/funcs/agentsListTasks.ts +4 -4
- package/src/funcs/agentsRetrieveTask.ts +8 -8
- package/src/funcs/agentsRun.ts +4 -4
- package/src/funcs/agentsStream.ts +1 -0
- package/src/funcs/agentsStreamRun.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -2
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/createagent.ts +31 -13
- 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 +368 -294
- package/src/models/operations/createtool.ts +76 -76
- package/src/models/operations/deploymentinvoke.ts +17 -24
- 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 +9 -0
- package/src/models/operations/getagenttask.ts +1873 -428
- package/src/models/operations/getalltools.ts +277 -231
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/invokeagent.ts +319 -299
- package/src/models/operations/listagents.ts +9 -0
- package/src/models/operations/listagenttasks.ts +2029 -540
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listchunks.ts +14 -14
- 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 +15 -22
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +264 -220
- package/src/models/operations/streamagent.ts +7635 -414
- package/src/models/operations/streamrunagent.ts +10745 -3582
- package/src/models/operations/updateagent.ts +56 -31
- 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/updatetool.ts +14 -14
- package/src/sdk/agents.ts +20 -20
- package/models/errors/getagenttask.d.ts +0 -29
- package/models/errors/getagenttask.d.ts.map +0 -1
- package/models/errors/getagenttask.js +0 -74
- package/models/errors/getagenttask.js.map +0 -1
- package/src/models/errors/getagenttask.ts +0 -67
|
@@ -612,23 +612,23 @@ export type StreamRunAgentFallbackModelConfiguration2 = {
|
|
|
612
612
|
*/
|
|
613
613
|
export type StreamRunAgentFallbackModelConfiguration = StreamRunAgentFallbackModelConfiguration2 | string;
|
|
614
614
|
/**
|
|
615
|
-
*
|
|
615
|
+
* Message containing tool execution results
|
|
616
616
|
*/
|
|
617
617
|
export declare const StreamRunAgentRoleToolMessage: {
|
|
618
618
|
readonly Tool: "tool";
|
|
619
619
|
};
|
|
620
620
|
/**
|
|
621
|
-
*
|
|
621
|
+
* Message containing tool execution results
|
|
622
622
|
*/
|
|
623
623
|
export type StreamRunAgentRoleToolMessage = ClosedEnum<typeof StreamRunAgentRoleToolMessage>;
|
|
624
624
|
/**
|
|
625
|
-
*
|
|
625
|
+
* Message from the end user
|
|
626
626
|
*/
|
|
627
627
|
export declare const StreamRunAgentRoleUserMessage: {
|
|
628
628
|
readonly User: "user";
|
|
629
629
|
};
|
|
630
630
|
/**
|
|
631
|
-
*
|
|
631
|
+
* Message from the end user
|
|
632
632
|
*/
|
|
633
633
|
export type StreamRunAgentRoleUserMessage = ClosedEnum<typeof StreamRunAgentRoleUserMessage>;
|
|
634
634
|
/**
|
|
@@ -717,7 +717,7 @@ export type StreamRunAgentPublicMessagePart = StreamRunAgentPublicMessagePartTex
|
|
|
717
717
|
/**
|
|
718
718
|
* The A2A format message containing the task for the agent to perform.
|
|
719
719
|
*/
|
|
720
|
-
export type
|
|
720
|
+
export type StreamRunAgentA2AMessage = {
|
|
721
721
|
/**
|
|
722
722
|
* Optional A2A message ID in ULID format
|
|
723
723
|
*/
|
|
@@ -1397,7 +1397,7 @@ export type StreamRunAgentRequestBody = {
|
|
|
1397
1397
|
/**
|
|
1398
1398
|
* The A2A format message containing the task for the agent to perform.
|
|
1399
1399
|
*/
|
|
1400
|
-
message:
|
|
1400
|
+
message: StreamRunAgentA2AMessage;
|
|
1401
1401
|
/**
|
|
1402
1402
|
* Optional variables for template replacement in system prompt, instructions, and messages
|
|
1403
1403
|
*/
|
|
@@ -1458,1176 +1458,3728 @@ export type StreamRunAgentRequestBody = {
|
|
|
1458
1458
|
*/
|
|
1459
1459
|
streamTimeoutSeconds?: number | undefined;
|
|
1460
1460
|
};
|
|
1461
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Type: {
|
|
1462
|
+
readonly AgentsError: "agents.error";
|
|
1463
|
+
};
|
|
1464
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Type>;
|
|
1465
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data = {
|
|
1466
|
+
error: string;
|
|
1467
|
+
code: string;
|
|
1468
|
+
};
|
|
1469
|
+
export type Seventeen = {
|
|
1470
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Type;
|
|
1471
|
+
/**
|
|
1472
|
+
* ISO timestamp of the event
|
|
1473
|
+
*/
|
|
1474
|
+
timestamp: string;
|
|
1475
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data;
|
|
1476
|
+
};
|
|
1477
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Type: {
|
|
1478
|
+
readonly AgentsTimeout: "agents.timeout";
|
|
1479
|
+
};
|
|
1480
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Type>;
|
|
1481
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data = {
|
|
1482
|
+
message: string;
|
|
1483
|
+
};
|
|
1484
|
+
export type Sixteen = {
|
|
1485
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Type;
|
|
1486
|
+
/**
|
|
1487
|
+
* ISO timestamp of the event
|
|
1488
|
+
*/
|
|
1489
|
+
timestamp: string;
|
|
1490
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data;
|
|
1491
|
+
};
|
|
1492
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Type: {
|
|
1493
|
+
readonly EventWorkflowEventsToolExecutionFailed: "event.workflow_events.tool_execution_failed";
|
|
1494
|
+
};
|
|
1495
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Type>;
|
|
1496
|
+
export type ErrorT = {
|
|
1497
|
+
message: string;
|
|
1498
|
+
stack?: string | undefined;
|
|
1499
|
+
};
|
|
1461
1500
|
/**
|
|
1462
|
-
*
|
|
1501
|
+
* Orquesta product
|
|
1463
1502
|
*/
|
|
1464
|
-
export
|
|
1503
|
+
export declare const StreamRunAgentDataProduct: {
|
|
1504
|
+
readonly Remoteconfigs: "remoteconfigs";
|
|
1505
|
+
readonly Deployments: "deployments";
|
|
1506
|
+
readonly Experiments: "experiments";
|
|
1507
|
+
readonly Playgrounds: "playgrounds";
|
|
1508
|
+
readonly Spreadsheets: "spreadsheets";
|
|
1509
|
+
readonly SpreadsheetRun: "spreadsheet_run";
|
|
1510
|
+
readonly LlmEvaluator: "llm_evaluator";
|
|
1511
|
+
readonly Knowledge: "knowledge";
|
|
1512
|
+
readonly Router: "router";
|
|
1513
|
+
readonly Workflows: "workflows";
|
|
1514
|
+
readonly ExternalEvents: "external_events";
|
|
1515
|
+
readonly Agents: "agents";
|
|
1516
|
+
readonly MemoryStores: "memory-stores";
|
|
1517
|
+
readonly Generic: "generic";
|
|
1518
|
+
readonly Evaluators: "evaluators";
|
|
1519
|
+
readonly Otel: "otel";
|
|
1520
|
+
};
|
|
1521
|
+
/**
|
|
1522
|
+
* Orquesta product
|
|
1523
|
+
*/
|
|
1524
|
+
export type StreamRunAgentDataProduct = ClosedEnum<typeof StreamRunAgentDataProduct>;
|
|
1525
|
+
export type StreamRunAgentDataAgentsMemory = {
|
|
1526
|
+
entityId: string;
|
|
1527
|
+
};
|
|
1528
|
+
export type StreamRunAgentDataToolExecutionContext = {
|
|
1529
|
+
actionId: string;
|
|
1530
|
+
agentToolCallId: string;
|
|
1531
|
+
workspaceId: string;
|
|
1532
|
+
agentManifestId: string;
|
|
1533
|
+
agentExecutionId: string;
|
|
1465
1534
|
/**
|
|
1466
|
-
*
|
|
1535
|
+
* Orquesta product
|
|
1467
1536
|
*/
|
|
1468
|
-
|
|
1537
|
+
product: StreamRunAgentDataProduct;
|
|
1538
|
+
memory?: StreamRunAgentDataAgentsMemory | undefined;
|
|
1539
|
+
parentId?: string | undefined;
|
|
1540
|
+
};
|
|
1541
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data = {
|
|
1542
|
+
error: ErrorT;
|
|
1543
|
+
actionType: string;
|
|
1544
|
+
toolExecutionContext: StreamRunAgentDataToolExecutionContext;
|
|
1545
|
+
};
|
|
1546
|
+
export type Fifteen = {
|
|
1547
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Type;
|
|
1548
|
+
/**
|
|
1549
|
+
* ISO timestamp of the event
|
|
1550
|
+
*/
|
|
1551
|
+
timestamp: string;
|
|
1552
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data;
|
|
1553
|
+
};
|
|
1554
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Type: {
|
|
1555
|
+
readonly EventWorkflowEventsToolExecutionFinished: "event.workflow_events.tool_execution_finished";
|
|
1556
|
+
};
|
|
1557
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Type>;
|
|
1558
|
+
/**
|
|
1559
|
+
* Orquesta product
|
|
1560
|
+
*/
|
|
1561
|
+
export declare const DataProduct: {
|
|
1562
|
+
readonly Remoteconfigs: "remoteconfigs";
|
|
1563
|
+
readonly Deployments: "deployments";
|
|
1564
|
+
readonly Experiments: "experiments";
|
|
1565
|
+
readonly Playgrounds: "playgrounds";
|
|
1566
|
+
readonly Spreadsheets: "spreadsheets";
|
|
1567
|
+
readonly SpreadsheetRun: "spreadsheet_run";
|
|
1568
|
+
readonly LlmEvaluator: "llm_evaluator";
|
|
1569
|
+
readonly Knowledge: "knowledge";
|
|
1570
|
+
readonly Router: "router";
|
|
1571
|
+
readonly Workflows: "workflows";
|
|
1572
|
+
readonly ExternalEvents: "external_events";
|
|
1573
|
+
readonly Agents: "agents";
|
|
1574
|
+
readonly MemoryStores: "memory-stores";
|
|
1575
|
+
readonly Generic: "generic";
|
|
1576
|
+
readonly Evaluators: "evaluators";
|
|
1577
|
+
readonly Otel: "otel";
|
|
1578
|
+
};
|
|
1579
|
+
/**
|
|
1580
|
+
* Orquesta product
|
|
1581
|
+
*/
|
|
1582
|
+
export type DataProduct = ClosedEnum<typeof DataProduct>;
|
|
1583
|
+
export type StreamRunAgentDataMemory = {
|
|
1584
|
+
entityId: string;
|
|
1585
|
+
};
|
|
1586
|
+
export type DataToolExecutionContext = {
|
|
1587
|
+
actionId: string;
|
|
1588
|
+
agentToolCallId: string;
|
|
1589
|
+
workspaceId: string;
|
|
1590
|
+
agentManifestId: string;
|
|
1591
|
+
agentExecutionId: string;
|
|
1592
|
+
/**
|
|
1593
|
+
* Orquesta product
|
|
1594
|
+
*/
|
|
1595
|
+
product: DataProduct;
|
|
1596
|
+
memory?: StreamRunAgentDataMemory | undefined;
|
|
1597
|
+
parentId?: string | undefined;
|
|
1598
|
+
};
|
|
1599
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data = {
|
|
1600
|
+
result?: any | undefined;
|
|
1601
|
+
actionType: string;
|
|
1602
|
+
toolExecutionContext: DataToolExecutionContext;
|
|
1603
|
+
};
|
|
1604
|
+
export type Fourteen = {
|
|
1605
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Type;
|
|
1606
|
+
/**
|
|
1607
|
+
* ISO timestamp of the event
|
|
1608
|
+
*/
|
|
1609
|
+
timestamp: string;
|
|
1610
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data;
|
|
1611
|
+
};
|
|
1612
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type: {
|
|
1613
|
+
readonly EventWorkflowEventsToolExecutionStarted: "event.workflow_events.tool_execution_started";
|
|
1614
|
+
};
|
|
1615
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type>;
|
|
1616
|
+
/**
|
|
1617
|
+
* Orquesta product
|
|
1618
|
+
*/
|
|
1619
|
+
export declare const Product: {
|
|
1620
|
+
readonly Remoteconfigs: "remoteconfigs";
|
|
1621
|
+
readonly Deployments: "deployments";
|
|
1622
|
+
readonly Experiments: "experiments";
|
|
1623
|
+
readonly Playgrounds: "playgrounds";
|
|
1624
|
+
readonly Spreadsheets: "spreadsheets";
|
|
1625
|
+
readonly SpreadsheetRun: "spreadsheet_run";
|
|
1626
|
+
readonly LlmEvaluator: "llm_evaluator";
|
|
1627
|
+
readonly Knowledge: "knowledge";
|
|
1628
|
+
readonly Router: "router";
|
|
1629
|
+
readonly Workflows: "workflows";
|
|
1630
|
+
readonly ExternalEvents: "external_events";
|
|
1631
|
+
readonly Agents: "agents";
|
|
1632
|
+
readonly MemoryStores: "memory-stores";
|
|
1633
|
+
readonly Generic: "generic";
|
|
1634
|
+
readonly Evaluators: "evaluators";
|
|
1635
|
+
readonly Otel: "otel";
|
|
1636
|
+
};
|
|
1637
|
+
/**
|
|
1638
|
+
* Orquesta product
|
|
1639
|
+
*/
|
|
1640
|
+
export type Product = ClosedEnum<typeof Product>;
|
|
1641
|
+
export type DataMemory = {
|
|
1642
|
+
entityId: string;
|
|
1643
|
+
};
|
|
1644
|
+
export type ToolExecutionContext = {
|
|
1645
|
+
actionId: string;
|
|
1646
|
+
agentToolCallId: string;
|
|
1647
|
+
workspaceId: string;
|
|
1648
|
+
agentManifestId: string;
|
|
1649
|
+
agentExecutionId: string;
|
|
1650
|
+
/**
|
|
1651
|
+
* Orquesta product
|
|
1652
|
+
*/
|
|
1653
|
+
product: Product;
|
|
1654
|
+
memory?: DataMemory | undefined;
|
|
1655
|
+
parentId?: string | undefined;
|
|
1656
|
+
};
|
|
1657
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data = {
|
|
1658
|
+
toolId: string;
|
|
1659
|
+
toolKey?: string | undefined;
|
|
1660
|
+
toolDisplayName?: string | undefined;
|
|
1661
|
+
actionType: string;
|
|
1662
|
+
toolArguments: {
|
|
1663
|
+
[k: string]: any;
|
|
1664
|
+
};
|
|
1665
|
+
toolExecutionContext: ToolExecutionContext;
|
|
1666
|
+
};
|
|
1667
|
+
export type Thirteen = {
|
|
1668
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type;
|
|
1669
|
+
/**
|
|
1670
|
+
* ISO timestamp of the event
|
|
1671
|
+
*/
|
|
1672
|
+
timestamp: string;
|
|
1673
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data;
|
|
1674
|
+
};
|
|
1675
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Type: {
|
|
1676
|
+
readonly EventAgentsMessageCreated: "event.agents.message-created";
|
|
1677
|
+
};
|
|
1678
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Type>;
|
|
1679
|
+
export declare const StreamRunAgentDataAgentsRole: {
|
|
1680
|
+
readonly User: "user";
|
|
1681
|
+
readonly Tool: "tool";
|
|
1682
|
+
};
|
|
1683
|
+
export type StreamRunAgentDataAgentsRole = ClosedEnum<typeof StreamRunAgentDataAgentsRole>;
|
|
1684
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage5Kind: {
|
|
1685
|
+
readonly ToolResult: "tool_result";
|
|
1686
|
+
};
|
|
1687
|
+
export type StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage5Kind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage5Kind>;
|
|
1688
|
+
/**
|
|
1689
|
+
* The result of a tool execution. Contains the tool call ID for correlation and the result data from the tool invocation.
|
|
1690
|
+
*/
|
|
1691
|
+
export type StreamRunAgentPartsAgentsResponseToolResultPart = {
|
|
1692
|
+
kind: StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage5Kind;
|
|
1693
|
+
toolCallId: string;
|
|
1694
|
+
result?: any | undefined;
|
|
1695
|
+
metadata?: {
|
|
1696
|
+
[k: string]: any;
|
|
1697
|
+
} | undefined;
|
|
1698
|
+
};
|
|
1699
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage4Kind: {
|
|
1700
|
+
readonly ToolCall: "tool_call";
|
|
1701
|
+
};
|
|
1702
|
+
export type StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage4Kind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage4Kind>;
|
|
1703
|
+
/**
|
|
1704
|
+
* A tool invocation request from an agent. Contains the tool name, unique call ID, and arguments for the tool execution.
|
|
1705
|
+
*/
|
|
1706
|
+
export type StreamRunAgentPartsAgentsResponseToolCallPart = {
|
|
1707
|
+
kind: StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage4Kind;
|
|
1708
|
+
toolName: string;
|
|
1709
|
+
toolCallId: string;
|
|
1710
|
+
arguments: {
|
|
1711
|
+
[k: string]: any;
|
|
1712
|
+
};
|
|
1713
|
+
metadata?: {
|
|
1714
|
+
[k: string]: any;
|
|
1715
|
+
} | undefined;
|
|
1716
|
+
};
|
|
1717
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessageKind: {
|
|
1718
|
+
readonly File: "file";
|
|
1719
|
+
};
|
|
1720
|
+
export type StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessageKind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessageKind>;
|
|
1721
|
+
/**
|
|
1722
|
+
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
1723
|
+
*/
|
|
1724
|
+
export type StreamRunAgentFileAgentsResponse200FileInURIFormat = {
|
|
1725
|
+
/**
|
|
1726
|
+
* URL for the File content
|
|
1727
|
+
*/
|
|
1728
|
+
uri: string;
|
|
1729
|
+
/**
|
|
1730
|
+
* Optional mimeType for the file
|
|
1731
|
+
*/
|
|
1732
|
+
mimeType?: string | undefined;
|
|
1733
|
+
/**
|
|
1734
|
+
* Optional name for the file
|
|
1735
|
+
*/
|
|
1736
|
+
name?: string | undefined;
|
|
1737
|
+
};
|
|
1738
|
+
/**
|
|
1739
|
+
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
1740
|
+
*/
|
|
1741
|
+
export type StreamRunAgentFileAgentsResponse200BinaryFormat = {
|
|
1742
|
+
/**
|
|
1743
|
+
* base64 encoded content of the file
|
|
1744
|
+
*/
|
|
1745
|
+
bytes: string;
|
|
1746
|
+
/**
|
|
1747
|
+
* Optional mimeType for the file
|
|
1748
|
+
*/
|
|
1749
|
+
mimeType?: string | undefined;
|
|
1750
|
+
/**
|
|
1751
|
+
* Optional name for the file
|
|
1752
|
+
*/
|
|
1753
|
+
name?: string | undefined;
|
|
1754
|
+
};
|
|
1755
|
+
export type StreamRunAgentPartsAgentsResponseFile = StreamRunAgentFileAgentsResponse200BinaryFormat | StreamRunAgentFileAgentsResponse200FileInURIFormat;
|
|
1756
|
+
/**
|
|
1757
|
+
* A file content part that can contain either base64-encoded bytes or a URI reference. Used for images, documents, and other binary content in agent communications.
|
|
1758
|
+
*/
|
|
1759
|
+
export type StreamRunAgentPartsAgentsResponseFilePart = {
|
|
1760
|
+
kind: StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessageKind;
|
|
1761
|
+
file: StreamRunAgentFileAgentsResponse200BinaryFormat | StreamRunAgentFileAgentsResponse200FileInURIFormat;
|
|
1762
|
+
metadata?: {
|
|
1763
|
+
[k: string]: any;
|
|
1764
|
+
} | undefined;
|
|
1765
|
+
};
|
|
1766
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataKind: {
|
|
1767
|
+
readonly Data: "data";
|
|
1768
|
+
};
|
|
1769
|
+
export type StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataKind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataKind>;
|
|
1770
|
+
/**
|
|
1771
|
+
* A structured data part containing JSON-serializable key-value pairs. Used for passing structured information between agents and tools.
|
|
1772
|
+
*/
|
|
1773
|
+
export type StreamRunAgentPartsAgentsResponseDataPart = {
|
|
1774
|
+
kind: StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataKind;
|
|
1775
|
+
data: {
|
|
1776
|
+
[k: string]: any;
|
|
1777
|
+
};
|
|
1778
|
+
metadata?: {
|
|
1779
|
+
[k: string]: any;
|
|
1780
|
+
} | undefined;
|
|
1781
|
+
};
|
|
1782
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12Kind: {
|
|
1783
|
+
readonly Text: "text";
|
|
1784
|
+
};
|
|
1785
|
+
export type StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12Kind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12Kind>;
|
|
1786
|
+
/**
|
|
1787
|
+
* A text content part containing plain text or markdown. Used for agent messages, user input, and text-based responses.
|
|
1788
|
+
*/
|
|
1789
|
+
export type StreamRunAgentPartsAgentsResponseTextPart = {
|
|
1790
|
+
kind: StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12Kind;
|
|
1791
|
+
text: string;
|
|
1792
|
+
};
|
|
1793
|
+
export type StreamRunAgentDataAgentsParts = StreamRunAgentPartsAgentsResponseToolCallPart | StreamRunAgentPartsAgentsResponseTextPart | StreamRunAgentPartsAgentsResponseDataPart | StreamRunAgentPartsAgentsResponseFilePart | StreamRunAgentPartsAgentsResponseToolResultPart;
|
|
1794
|
+
export type DataMessage = {
|
|
1795
|
+
messageId?: string | undefined;
|
|
1796
|
+
role: StreamRunAgentDataAgentsRole;
|
|
1797
|
+
parts: Array<StreamRunAgentPartsAgentsResponseToolCallPart | StreamRunAgentPartsAgentsResponseTextPart | StreamRunAgentPartsAgentsResponseDataPart | StreamRunAgentPartsAgentsResponseFilePart | StreamRunAgentPartsAgentsResponseToolResultPart>;
|
|
1798
|
+
metadata?: {
|
|
1799
|
+
[k: string]: any;
|
|
1800
|
+
} | undefined;
|
|
1801
|
+
};
|
|
1802
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data = {
|
|
1803
|
+
workflowRunId: string;
|
|
1804
|
+
spanId: string;
|
|
1805
|
+
parentId: string;
|
|
1806
|
+
message: Array<DataMessage>;
|
|
1807
|
+
};
|
|
1808
|
+
export type Twelve = {
|
|
1809
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Type;
|
|
1810
|
+
/**
|
|
1811
|
+
* ISO timestamp of the event
|
|
1812
|
+
*/
|
|
1813
|
+
timestamp: string;
|
|
1814
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data;
|
|
1815
|
+
};
|
|
1816
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Type: {
|
|
1817
|
+
readonly EventAgentsHandedOff: "event.agents.handed_off";
|
|
1818
|
+
};
|
|
1819
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Type>;
|
|
1820
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data = {
|
|
1821
|
+
agentId: string;
|
|
1822
|
+
input: string;
|
|
1823
|
+
};
|
|
1824
|
+
export type Eleven = {
|
|
1825
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Type;
|
|
1826
|
+
/**
|
|
1827
|
+
* ISO timestamp of the event
|
|
1828
|
+
*/
|
|
1829
|
+
timestamp: string;
|
|
1830
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data;
|
|
1831
|
+
};
|
|
1832
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Type: {
|
|
1833
|
+
readonly EventAgentsExecutionNamed: "event.agents.execution_named";
|
|
1834
|
+
};
|
|
1835
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Type>;
|
|
1836
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data = {
|
|
1837
|
+
name: string;
|
|
1838
|
+
agentManifestId: string;
|
|
1839
|
+
};
|
|
1840
|
+
export type Ten = {
|
|
1841
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Type;
|
|
1842
|
+
/**
|
|
1843
|
+
* ISO timestamp of the event
|
|
1844
|
+
*/
|
|
1845
|
+
timestamp: string;
|
|
1846
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data;
|
|
1847
|
+
};
|
|
1848
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type: {
|
|
1849
|
+
readonly EventAgentsExecutionReviewed: "event.agents.execution_reviewed";
|
|
1850
|
+
};
|
|
1851
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type>;
|
|
1852
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data = {};
|
|
1853
|
+
export type Nine = {
|
|
1854
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type;
|
|
1855
|
+
/**
|
|
1856
|
+
* ISO timestamp of the event
|
|
1857
|
+
*/
|
|
1858
|
+
timestamp: string;
|
|
1859
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data;
|
|
1860
|
+
};
|
|
1861
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Type: {
|
|
1862
|
+
readonly EventAgentsExecutionReviewRequired: "event.agents.execution_review_required";
|
|
1863
|
+
};
|
|
1864
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Type>;
|
|
1865
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data = {};
|
|
1866
|
+
export type Eight = {
|
|
1867
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Type;
|
|
1868
|
+
/**
|
|
1869
|
+
* ISO timestamp of the event
|
|
1870
|
+
*/
|
|
1871
|
+
timestamp: string;
|
|
1872
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data;
|
|
1873
|
+
};
|
|
1874
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type: {
|
|
1875
|
+
readonly EventAgentsActionReviewed: "event.agents.action_reviewed";
|
|
1876
|
+
};
|
|
1877
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type>;
|
|
1878
|
+
export declare const StreamRunAgentDataReview: {
|
|
1879
|
+
readonly Approved: "approved";
|
|
1880
|
+
readonly Rejected: "rejected";
|
|
1881
|
+
};
|
|
1882
|
+
export type StreamRunAgentDataReview = ClosedEnum<typeof StreamRunAgentDataReview>;
|
|
1883
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData = {
|
|
1884
|
+
agentId: string;
|
|
1885
|
+
actionId: string;
|
|
1886
|
+
agentToolCallId: string;
|
|
1887
|
+
review: StreamRunAgentDataReview;
|
|
1888
|
+
mockOutput?: {
|
|
1889
|
+
[k: string]: any;
|
|
1890
|
+
} | undefined;
|
|
1891
|
+
reviewSource?: string | undefined;
|
|
1892
|
+
reviewedById?: string | undefined;
|
|
1893
|
+
};
|
|
1894
|
+
export type Seven = {
|
|
1895
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type;
|
|
1896
|
+
/**
|
|
1897
|
+
* ISO timestamp of the event
|
|
1898
|
+
*/
|
|
1899
|
+
timestamp: string;
|
|
1900
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData;
|
|
1901
|
+
};
|
|
1902
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyType: {
|
|
1903
|
+
readonly EventAgentsActionReviewRequested: "event.agents.action_review_requested";
|
|
1904
|
+
};
|
|
1905
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyType = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyType>;
|
|
1906
|
+
export type DataConditions = {
|
|
1907
|
+
/**
|
|
1908
|
+
* The argument of the tool call to evaluate
|
|
1909
|
+
*/
|
|
1910
|
+
condition: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* The operator to use
|
|
1913
|
+
*/
|
|
1914
|
+
operator: string;
|
|
1915
|
+
/**
|
|
1916
|
+
* The value to compare against
|
|
1917
|
+
*/
|
|
1918
|
+
value: string;
|
|
1919
|
+
};
|
|
1920
|
+
export type StreamRunAgentDataTool = {
|
|
1921
|
+
/**
|
|
1922
|
+
* The id of the resource
|
|
1923
|
+
*/
|
|
1924
|
+
id: string;
|
|
1925
|
+
/**
|
|
1926
|
+
* Optional tool key for custom tools
|
|
1927
|
+
*/
|
|
1928
|
+
key?: string | undefined;
|
|
1929
|
+
actionType: string;
|
|
1930
|
+
displayName?: string | undefined;
|
|
1931
|
+
/**
|
|
1932
|
+
* Optional tool description
|
|
1933
|
+
*/
|
|
1934
|
+
description?: string | undefined;
|
|
1935
|
+
requiresApproval?: boolean | undefined;
|
|
1936
|
+
/**
|
|
1937
|
+
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
1938
|
+
*/
|
|
1939
|
+
toolId?: string | undefined;
|
|
1940
|
+
conditions?: Array<DataConditions> | undefined;
|
|
1941
|
+
/**
|
|
1942
|
+
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
1943
|
+
*/
|
|
1944
|
+
timeout?: number | undefined;
|
|
1945
|
+
};
|
|
1946
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamData = {
|
|
1947
|
+
agentId: string;
|
|
1948
|
+
actionId: string;
|
|
1949
|
+
requiresApproval: boolean;
|
|
1950
|
+
tool: StreamRunAgentDataTool;
|
|
1951
|
+
input: {
|
|
1952
|
+
[k: string]: any;
|
|
1953
|
+
};
|
|
1954
|
+
agentToolCallId: string;
|
|
1955
|
+
};
|
|
1956
|
+
export type StreamRunAgentData6 = {
|
|
1957
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyType;
|
|
1958
|
+
/**
|
|
1959
|
+
* ISO timestamp of the event
|
|
1960
|
+
*/
|
|
1961
|
+
timestamp: string;
|
|
1962
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamData;
|
|
1963
|
+
};
|
|
1964
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamType: {
|
|
1965
|
+
readonly EventAgentsErrored: "event.agents.errored";
|
|
1966
|
+
};
|
|
1967
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamType = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamType>;
|
|
1968
|
+
export type StreamRunAgentDataAgentsResponse200Data = {
|
|
1969
|
+
error: string;
|
|
1970
|
+
code: number;
|
|
1971
|
+
};
|
|
1972
|
+
export type StreamRunAgentData5 = {
|
|
1973
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamType;
|
|
1974
|
+
/**
|
|
1975
|
+
* ISO timestamp of the event
|
|
1976
|
+
*/
|
|
1977
|
+
timestamp: string;
|
|
1978
|
+
data: StreamRunAgentDataAgentsResponse200Data;
|
|
1979
|
+
};
|
|
1980
|
+
export declare const StreamRunAgentDataAgentsResponse200Type: {
|
|
1981
|
+
readonly EventAgentsInactive: "event.agents.inactive";
|
|
1982
|
+
};
|
|
1983
|
+
export type StreamRunAgentDataAgentsResponse200Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200Type>;
|
|
1984
|
+
/**
|
|
1985
|
+
* The reason why the agent execution became inactive
|
|
1986
|
+
*/
|
|
1987
|
+
export declare const FinishReason: {
|
|
1988
|
+
readonly Stop: "stop";
|
|
1989
|
+
readonly Length: "length";
|
|
1990
|
+
readonly ToolCalls: "tool_calls";
|
|
1991
|
+
readonly ContentFilter: "content_filter";
|
|
1992
|
+
readonly FunctionCall: "function_call";
|
|
1993
|
+
readonly MaxIterations: "max_iterations";
|
|
1994
|
+
readonly MaxTime: "max_time";
|
|
1995
|
+
};
|
|
1996
|
+
/**
|
|
1997
|
+
* The reason why the agent execution became inactive
|
|
1998
|
+
*/
|
|
1999
|
+
export type FinishReason = ClosedEnum<typeof FinishReason>;
|
|
2000
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody4Type: {
|
|
2001
|
+
readonly Function: "function";
|
|
2002
|
+
};
|
|
2003
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody4Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody4Type>;
|
|
2004
|
+
export type StreamRunAgentDataFunction = {
|
|
2005
|
+
name?: string | undefined;
|
|
2006
|
+
arguments?: string | undefined;
|
|
2007
|
+
};
|
|
2008
|
+
export type PendingToolCalls = {
|
|
2009
|
+
id: string;
|
|
2010
|
+
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody4Type;
|
|
2011
|
+
function: StreamRunAgentDataFunction;
|
|
2012
|
+
};
|
|
2013
|
+
export type StreamRunAgentDataAgentsResponseData = {
|
|
2014
|
+
lastMessage: string;
|
|
2015
|
+
/**
|
|
2016
|
+
* The reason why the agent execution became inactive
|
|
2017
|
+
*/
|
|
2018
|
+
finishReason: FinishReason;
|
|
2019
|
+
/**
|
|
2020
|
+
* Tool calls that are pending user response (for function_call finish reason)
|
|
2021
|
+
*/
|
|
2022
|
+
pendingToolCalls?: Array<PendingToolCalls> | undefined;
|
|
2023
|
+
};
|
|
2024
|
+
export type Data4 = {
|
|
2025
|
+
type: StreamRunAgentDataAgentsResponse200Type;
|
|
2026
|
+
/**
|
|
2027
|
+
* ISO timestamp of the event
|
|
2028
|
+
*/
|
|
2029
|
+
timestamp: string;
|
|
2030
|
+
data: StreamRunAgentDataAgentsResponseData;
|
|
2031
|
+
};
|
|
2032
|
+
export declare const StreamRunAgentDataAgentsResponseType: {
|
|
2033
|
+
readonly EventAgentsThought: "event.agents.thought";
|
|
2034
|
+
};
|
|
2035
|
+
export type StreamRunAgentDataAgentsResponseType = ClosedEnum<typeof StreamRunAgentDataAgentsResponseType>;
|
|
2036
|
+
export declare const StreamRunAgentDataRole: {
|
|
2037
|
+
readonly User: "user";
|
|
2038
|
+
readonly Agent: "agent";
|
|
2039
|
+
readonly Tool: "tool";
|
|
2040
|
+
readonly System: "system";
|
|
2041
|
+
};
|
|
2042
|
+
export type StreamRunAgentDataRole = ClosedEnum<typeof StreamRunAgentDataRole>;
|
|
2043
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataMessageDifferenceKind: {
|
|
2044
|
+
readonly ToolResult: "tool_result";
|
|
2045
|
+
};
|
|
2046
|
+
export type StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataMessageDifferenceKind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataMessageDifferenceKind>;
|
|
2047
|
+
/**
|
|
2048
|
+
* The result of a tool execution. Contains the tool call ID for correlation and the result data from the tool invocation.
|
|
2049
|
+
*/
|
|
2050
|
+
export type StreamRunAgentPartsAgentsToolResultPart = {
|
|
2051
|
+
kind: StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataMessageDifferenceKind;
|
|
2052
|
+
toolCallId: string;
|
|
2053
|
+
result?: any | undefined;
|
|
2054
|
+
metadata?: {
|
|
2055
|
+
[k: string]: any;
|
|
2056
|
+
} | undefined;
|
|
2057
|
+
};
|
|
2058
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataKind: {
|
|
2059
|
+
readonly ToolCall: "tool_call";
|
|
2060
|
+
};
|
|
2061
|
+
export type StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataKind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataKind>;
|
|
2062
|
+
/**
|
|
2063
|
+
* A tool invocation request from an agent. Contains the tool name, unique call ID, and arguments for the tool execution.
|
|
2064
|
+
*/
|
|
2065
|
+
export type StreamRunAgentPartsAgentsToolCallPart = {
|
|
2066
|
+
kind: StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataKind;
|
|
2067
|
+
toolName: string;
|
|
2068
|
+
toolCallId: string;
|
|
2069
|
+
arguments: {
|
|
2070
|
+
[k: string]: any;
|
|
2071
|
+
};
|
|
2072
|
+
metadata?: {
|
|
2073
|
+
[k: string]: any;
|
|
2074
|
+
} | undefined;
|
|
2075
|
+
};
|
|
2076
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3Kind: {
|
|
2077
|
+
readonly File: "file";
|
|
2078
|
+
};
|
|
2079
|
+
export type StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3Kind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3Kind>;
|
|
2080
|
+
/**
|
|
2081
|
+
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
2082
|
+
*/
|
|
2083
|
+
export type StreamRunAgentFileAgentsResponseFileInURIFormat = {
|
|
2084
|
+
/**
|
|
2085
|
+
* URL for the File content
|
|
2086
|
+
*/
|
|
2087
|
+
uri: string;
|
|
2088
|
+
/**
|
|
2089
|
+
* Optional mimeType for the file
|
|
2090
|
+
*/
|
|
2091
|
+
mimeType?: string | undefined;
|
|
2092
|
+
/**
|
|
2093
|
+
* Optional name for the file
|
|
2094
|
+
*/
|
|
2095
|
+
name?: string | undefined;
|
|
2096
|
+
};
|
|
2097
|
+
/**
|
|
2098
|
+
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
2099
|
+
*/
|
|
2100
|
+
export type StreamRunAgentFileAgentsResponseBinaryFormat = {
|
|
2101
|
+
/**
|
|
2102
|
+
* base64 encoded content of the file
|
|
2103
|
+
*/
|
|
2104
|
+
bytes: string;
|
|
2105
|
+
/**
|
|
2106
|
+
* Optional mimeType for the file
|
|
2107
|
+
*/
|
|
2108
|
+
mimeType?: string | undefined;
|
|
2109
|
+
/**
|
|
2110
|
+
* Optional name for the file
|
|
2111
|
+
*/
|
|
2112
|
+
name?: string | undefined;
|
|
2113
|
+
};
|
|
2114
|
+
export type StreamRunAgentPartsAgentsFile = StreamRunAgentFileAgentsResponseBinaryFormat | StreamRunAgentFileAgentsResponseFileInURIFormat;
|
|
2115
|
+
/**
|
|
2116
|
+
* A file content part that can contain either base64-encoded bytes or a URI reference. Used for images, documents, and other binary content in agent communications.
|
|
2117
|
+
*/
|
|
2118
|
+
export type StreamRunAgentPartsAgentsFilePart = {
|
|
2119
|
+
kind: StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3Kind;
|
|
2120
|
+
file: StreamRunAgentFileAgentsResponseBinaryFormat | StreamRunAgentFileAgentsResponseFileInURIFormat;
|
|
2121
|
+
metadata?: {
|
|
2122
|
+
[k: string]: any;
|
|
2123
|
+
} | undefined;
|
|
2124
|
+
};
|
|
2125
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyDataKind: {
|
|
2126
|
+
readonly Data: "data";
|
|
2127
|
+
};
|
|
2128
|
+
export type StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyDataKind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyDataKind>;
|
|
2129
|
+
/**
|
|
2130
|
+
* A structured data part containing JSON-serializable key-value pairs. Used for passing structured information between agents and tools.
|
|
2131
|
+
*/
|
|
2132
|
+
export type StreamRunAgentPartsAgentsDataPart = {
|
|
2133
|
+
kind: StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyDataKind;
|
|
2134
|
+
data: {
|
|
2135
|
+
[k: string]: any;
|
|
2136
|
+
};
|
|
2137
|
+
metadata?: {
|
|
2138
|
+
[k: string]: any;
|
|
2139
|
+
} | undefined;
|
|
2140
|
+
};
|
|
2141
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyKind: {
|
|
2142
|
+
readonly Text: "text";
|
|
2143
|
+
};
|
|
2144
|
+
export type StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyKind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyKind>;
|
|
2145
|
+
/**
|
|
2146
|
+
* A text content part containing plain text or markdown. Used for agent messages, user input, and text-based responses.
|
|
2147
|
+
*/
|
|
2148
|
+
export type StreamRunAgentPartsAgentsTextPart = {
|
|
2149
|
+
kind: StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyKind;
|
|
2150
|
+
text: string;
|
|
2151
|
+
};
|
|
2152
|
+
export type StreamRunAgentDataParts = StreamRunAgentPartsAgentsToolCallPart | StreamRunAgentPartsAgentsTextPart | StreamRunAgentPartsAgentsDataPart | StreamRunAgentPartsAgentsFilePart | StreamRunAgentPartsAgentsToolResultPart;
|
|
2153
|
+
export type MessageDifference = {
|
|
2154
|
+
messageId: string;
|
|
2155
|
+
role: StreamRunAgentDataRole;
|
|
2156
|
+
parts: Array<StreamRunAgentPartsAgentsToolCallPart | StreamRunAgentPartsAgentsTextPart | StreamRunAgentPartsAgentsDataPart | StreamRunAgentPartsAgentsFilePart | StreamRunAgentPartsAgentsToolResultPart>;
|
|
2157
|
+
metadata?: {
|
|
2158
|
+
[k: string]: any;
|
|
2159
|
+
} | undefined;
|
|
2160
|
+
agentId: string;
|
|
2161
|
+
agentExecutionId: string;
|
|
2162
|
+
workspaceId: string;
|
|
2163
|
+
};
|
|
2164
|
+
/**
|
|
2165
|
+
* The reason the model stopped generating tokens.
|
|
2166
|
+
*/
|
|
2167
|
+
export declare const StreamRunAgentDataFinishReason: {
|
|
2168
|
+
readonly Stop: "stop";
|
|
2169
|
+
readonly Length: "length";
|
|
2170
|
+
readonly ToolCalls: "tool_calls";
|
|
2171
|
+
readonly ContentFilter: "content_filter";
|
|
2172
|
+
readonly FunctionCall: "function_call";
|
|
2173
|
+
};
|
|
2174
|
+
/**
|
|
2175
|
+
* The reason the model stopped generating tokens.
|
|
2176
|
+
*/
|
|
2177
|
+
export type StreamRunAgentDataFinishReason = ClosedEnum<typeof StreamRunAgentDataFinishReason>;
|
|
2178
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody3Type: {
|
|
2179
|
+
readonly Function: "function";
|
|
2180
|
+
};
|
|
2181
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody3Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody3Type>;
|
|
2182
|
+
export type StreamRunAgentDataAgentsFunction = {
|
|
2183
|
+
/**
|
|
2184
|
+
* The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
2185
|
+
*/
|
|
2186
|
+
name?: string | undefined;
|
|
2187
|
+
/**
|
|
2188
|
+
* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
|
|
2189
|
+
*/
|
|
2190
|
+
arguments?: string | undefined;
|
|
2191
|
+
};
|
|
2192
|
+
export type DataToolCalls = {
|
|
2193
|
+
id?: string | undefined;
|
|
2194
|
+
type?: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody3Type | undefined;
|
|
2195
|
+
function?: StreamRunAgentDataAgentsFunction | undefined;
|
|
2196
|
+
};
|
|
2197
|
+
export declare const StreamRunAgentDataAgentsResponseRole: {
|
|
2198
|
+
readonly Assistant: "assistant";
|
|
2199
|
+
};
|
|
2200
|
+
export type StreamRunAgentDataAgentsResponseRole = ClosedEnum<typeof StreamRunAgentDataAgentsResponseRole>;
|
|
2201
|
+
/**
|
|
2202
|
+
* If the audio output modality is requested, this object contains data about the audio response from the model.
|
|
2203
|
+
*/
|
|
2204
|
+
export type DataAudio = {
|
|
2205
|
+
id: string;
|
|
2206
|
+
expiresAt: number;
|
|
2207
|
+
data: string;
|
|
2208
|
+
transcript: string;
|
|
2209
|
+
};
|
|
2210
|
+
/**
|
|
2211
|
+
* A chat completion message generated by the model.
|
|
2212
|
+
*/
|
|
2213
|
+
export type StreamRunAgentDataMessage = {
|
|
2214
|
+
content?: string | null | undefined;
|
|
2215
|
+
refusal?: string | null | undefined;
|
|
2216
|
+
toolCalls?: Array<DataToolCalls> | undefined;
|
|
2217
|
+
role?: StreamRunAgentDataAgentsResponseRole | undefined;
|
|
2218
|
+
/**
|
|
2219
|
+
* Internal thought process of the model
|
|
2220
|
+
*/
|
|
2221
|
+
reasoning?: string | null | undefined;
|
|
2222
|
+
/**
|
|
2223
|
+
* The signature holds a cryptographic token which verifies that the thinking block was generated by the model, and is verified when thinking is part of a multiturn conversation. This value should not be modified and should always be sent to the API when the reasoning is redacted. Currently only supported by `Anthropic`.
|
|
2224
|
+
*/
|
|
2225
|
+
reasoningSignature?: string | null | undefined;
|
|
2226
|
+
/**
|
|
2227
|
+
* Occasionally the model's internal reasoning will be flagged by the safety systems of the provider. When this occurs, the provider will encrypt the reasoning. These redacted reasoning is decrypted when passed back to the API, allowing the model to continue its response without losing context.
|
|
2228
|
+
*/
|
|
2229
|
+
redactedReasoning?: string | undefined;
|
|
2230
|
+
/**
|
|
2231
|
+
* If the audio output modality is requested, this object contains data about the audio response from the model.
|
|
2232
|
+
*/
|
|
2233
|
+
audio?: DataAudio | null | undefined;
|
|
2234
|
+
};
|
|
2235
|
+
export type TopLogprobs = {
|
|
2236
|
+
/**
|
|
2237
|
+
* The token.
|
|
2238
|
+
*/
|
|
2239
|
+
token: string;
|
|
2240
|
+
/**
|
|
2241
|
+
* The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value -9999.0 is used to signify that the token is very unlikely.
|
|
2242
|
+
*/
|
|
2243
|
+
logprob: number;
|
|
2244
|
+
/**
|
|
2245
|
+
* A list of integers representing the UTF-8 bytes representation of the token.
|
|
2246
|
+
*/
|
|
2247
|
+
bytes: Array<number> | null;
|
|
2248
|
+
};
|
|
2249
|
+
export type DataContent = {
|
|
2250
|
+
/**
|
|
2251
|
+
* The token.
|
|
2252
|
+
*/
|
|
2253
|
+
token: string;
|
|
2254
|
+
/**
|
|
2255
|
+
* The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value -9999.0 is used to signify that the token is very unlikely.
|
|
2256
|
+
*/
|
|
2257
|
+
logprob: number;
|
|
2258
|
+
/**
|
|
2259
|
+
* A list of integers representing the UTF-8 bytes representation of the token.
|
|
2260
|
+
*/
|
|
2261
|
+
bytes: Array<number> | null;
|
|
2262
|
+
/**
|
|
2263
|
+
* List of the most likely tokens and their log probability, at this token position.
|
|
2264
|
+
*/
|
|
2265
|
+
topLogprobs: Array<TopLogprobs>;
|
|
2266
|
+
};
|
|
2267
|
+
export type DataTopLogprobs = {
|
|
2268
|
+
/**
|
|
2269
|
+
* The token.
|
|
2270
|
+
*/
|
|
2271
|
+
token: string;
|
|
2272
|
+
/**
|
|
2273
|
+
* The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value -9999.0 is used to signify that the token is very unlikely.
|
|
2274
|
+
*/
|
|
2275
|
+
logprob: number;
|
|
2276
|
+
/**
|
|
2277
|
+
* A list of integers representing the UTF-8 bytes representation of the token.
|
|
2278
|
+
*/
|
|
2279
|
+
bytes: Array<number> | null;
|
|
2280
|
+
};
|
|
2281
|
+
export type Refusal = {
|
|
2282
|
+
/**
|
|
2283
|
+
* The token.
|
|
2284
|
+
*/
|
|
2285
|
+
token: string;
|
|
2286
|
+
/**
|
|
2287
|
+
* The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value -9999.0 is used to signify that the token is very unlikely.
|
|
2288
|
+
*/
|
|
2289
|
+
logprob: number;
|
|
2290
|
+
/**
|
|
2291
|
+
* A list of integers representing the UTF-8 bytes representation of the token.
|
|
2292
|
+
*/
|
|
2293
|
+
bytes: Array<number> | null;
|
|
2294
|
+
/**
|
|
2295
|
+
* List of the most likely tokens and their log probability, at this token position.
|
|
2296
|
+
*/
|
|
2297
|
+
topLogprobs: Array<DataTopLogprobs>;
|
|
2298
|
+
};
|
|
2299
|
+
/**
|
|
2300
|
+
* Log probability information for the choice.
|
|
2301
|
+
*/
|
|
2302
|
+
export type Logprobs = {
|
|
2303
|
+
/**
|
|
2304
|
+
* A list of message content tokens with log probability information.
|
|
2305
|
+
*/
|
|
2306
|
+
content: Array<DataContent> | null;
|
|
2307
|
+
/**
|
|
2308
|
+
* A list of message refusal tokens with log probability information.
|
|
2309
|
+
*/
|
|
2310
|
+
refusal: Array<Refusal> | null;
|
|
2311
|
+
};
|
|
2312
|
+
export type Choice = {
|
|
2313
|
+
/**
|
|
2314
|
+
* The reason the model stopped generating tokens.
|
|
2315
|
+
*/
|
|
2316
|
+
finishReason: StreamRunAgentDataFinishReason | null;
|
|
2317
|
+
/**
|
|
2318
|
+
* The index of the choice in the list of choices.
|
|
2319
|
+
*/
|
|
2320
|
+
index?: number | undefined;
|
|
2321
|
+
/**
|
|
2322
|
+
* A chat completion message generated by the model.
|
|
2323
|
+
*/
|
|
2324
|
+
message: StreamRunAgentDataMessage;
|
|
2325
|
+
/**
|
|
2326
|
+
* Log probability information for the choice.
|
|
2327
|
+
*/
|
|
2328
|
+
logprobs?: Logprobs | null | undefined;
|
|
2329
|
+
};
|
|
2330
|
+
export type StreamRunAgentDataAgentsData = {
|
|
2331
|
+
agentId: string;
|
|
2332
|
+
messageDifference: {
|
|
2333
|
+
[k: string]: MessageDifference;
|
|
2334
|
+
};
|
|
2335
|
+
choice?: Choice | undefined;
|
|
2336
|
+
choiceIndex?: number | undefined;
|
|
2337
|
+
iteration: number;
|
|
2338
|
+
accumulatedExecutionTime: number;
|
|
2339
|
+
};
|
|
2340
|
+
export type Data3 = {
|
|
2341
|
+
type: StreamRunAgentDataAgentsResponseType;
|
|
2342
|
+
/**
|
|
2343
|
+
* ISO timestamp of the event
|
|
2344
|
+
*/
|
|
2345
|
+
timestamp: string;
|
|
2346
|
+
data: StreamRunAgentDataAgentsData;
|
|
2347
|
+
};
|
|
2348
|
+
export declare const StreamRunAgentDataAgentsType: {
|
|
2349
|
+
readonly EventAgentsStarted: "event.agents.started";
|
|
2350
|
+
};
|
|
2351
|
+
export type StreamRunAgentDataAgentsType = ClosedEnum<typeof StreamRunAgentDataAgentsType>;
|
|
2352
|
+
/**
|
|
2353
|
+
* Extended A2A message role
|
|
2354
|
+
*/
|
|
2355
|
+
export declare const DataRole: {
|
|
2356
|
+
readonly User: "user";
|
|
2357
|
+
readonly Agent: "agent";
|
|
2358
|
+
readonly Tool: "tool";
|
|
2359
|
+
readonly System: "system";
|
|
2360
|
+
};
|
|
2361
|
+
/**
|
|
2362
|
+
* Extended A2A message role
|
|
2363
|
+
*/
|
|
2364
|
+
export type DataRole = ClosedEnum<typeof DataRole>;
|
|
2365
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamKind: {
|
|
2366
|
+
readonly ToolResult: "tool_result";
|
|
2367
|
+
};
|
|
2368
|
+
export type StreamRunAgentPartsAgentsResponse200TextEventStreamKind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamKind>;
|
|
2369
|
+
/**
|
|
2370
|
+
* The result of a tool execution. Contains the tool call ID for correlation and the result data from the tool invocation.
|
|
2371
|
+
*/
|
|
2372
|
+
export type StreamRunAgentPartsToolResultPart = {
|
|
2373
|
+
kind: StreamRunAgentPartsAgentsResponse200TextEventStreamKind;
|
|
2374
|
+
toolCallId: string;
|
|
2375
|
+
result?: any | undefined;
|
|
2376
|
+
metadata?: {
|
|
2377
|
+
[k: string]: any;
|
|
2378
|
+
} | undefined;
|
|
2379
|
+
};
|
|
2380
|
+
export declare const StreamRunAgentPartsAgentsResponse200Kind: {
|
|
2381
|
+
readonly ToolCall: "tool_call";
|
|
2382
|
+
};
|
|
2383
|
+
export type StreamRunAgentPartsAgentsResponse200Kind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponse200Kind>;
|
|
2384
|
+
/**
|
|
2385
|
+
* A tool invocation request from an agent. Contains the tool name, unique call ID, and arguments for the tool execution.
|
|
2386
|
+
*/
|
|
2387
|
+
export type StreamRunAgentPartsToolCallPart = {
|
|
2388
|
+
kind: StreamRunAgentPartsAgentsResponse200Kind;
|
|
2389
|
+
toolName: string;
|
|
2390
|
+
toolCallId: string;
|
|
2391
|
+
arguments: {
|
|
2392
|
+
[k: string]: any;
|
|
2393
|
+
};
|
|
2394
|
+
metadata?: {
|
|
2395
|
+
[k: string]: any;
|
|
2396
|
+
} | undefined;
|
|
2397
|
+
};
|
|
2398
|
+
export declare const StreamRunAgentPartsAgentsResponseKind: {
|
|
2399
|
+
readonly File: "file";
|
|
2400
|
+
};
|
|
2401
|
+
export type StreamRunAgentPartsAgentsResponseKind = ClosedEnum<typeof StreamRunAgentPartsAgentsResponseKind>;
|
|
2402
|
+
/**
|
|
2403
|
+
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
2404
|
+
*/
|
|
2405
|
+
export type StreamRunAgentFileAgentsFileInURIFormat = {
|
|
2406
|
+
/**
|
|
2407
|
+
* URL for the File content
|
|
2408
|
+
*/
|
|
2409
|
+
uri: string;
|
|
2410
|
+
/**
|
|
2411
|
+
* Optional mimeType for the file
|
|
2412
|
+
*/
|
|
2413
|
+
mimeType?: string | undefined;
|
|
2414
|
+
/**
|
|
2415
|
+
* Optional name for the file
|
|
2416
|
+
*/
|
|
2417
|
+
name?: string | undefined;
|
|
2418
|
+
};
|
|
2419
|
+
/**
|
|
2420
|
+
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
2421
|
+
*/
|
|
2422
|
+
export type StreamRunAgentFileAgentsBinaryFormat = {
|
|
2423
|
+
/**
|
|
2424
|
+
* base64 encoded content of the file
|
|
2425
|
+
*/
|
|
2426
|
+
bytes: string;
|
|
2427
|
+
/**
|
|
2428
|
+
* Optional mimeType for the file
|
|
2429
|
+
*/
|
|
2430
|
+
mimeType?: string | undefined;
|
|
2431
|
+
/**
|
|
2432
|
+
* Optional name for the file
|
|
2433
|
+
*/
|
|
2434
|
+
name?: string | undefined;
|
|
2435
|
+
};
|
|
2436
|
+
export type StreamRunAgentPartsFile = StreamRunAgentFileAgentsBinaryFormat | StreamRunAgentFileAgentsFileInURIFormat;
|
|
2437
|
+
/**
|
|
2438
|
+
* A file content part that can contain either base64-encoded bytes or a URI reference. Used for images, documents, and other binary content in agent communications.
|
|
2439
|
+
*/
|
|
2440
|
+
export type StreamRunAgentPartsFilePart = {
|
|
2441
|
+
kind: StreamRunAgentPartsAgentsResponseKind;
|
|
2442
|
+
file: StreamRunAgentFileAgentsBinaryFormat | StreamRunAgentFileAgentsFileInURIFormat;
|
|
2443
|
+
metadata?: {
|
|
2444
|
+
[k: string]: any;
|
|
2445
|
+
} | undefined;
|
|
2446
|
+
};
|
|
2447
|
+
export declare const StreamRunAgentPartsAgentsKind: {
|
|
2448
|
+
readonly Data: "data";
|
|
2449
|
+
};
|
|
2450
|
+
export type StreamRunAgentPartsAgentsKind = ClosedEnum<typeof StreamRunAgentPartsAgentsKind>;
|
|
2451
|
+
/**
|
|
2452
|
+
* A structured data part containing JSON-serializable key-value pairs. Used for passing structured information between agents and tools.
|
|
2453
|
+
*/
|
|
2454
|
+
export type StreamRunAgentPartsDataPart = {
|
|
2455
|
+
kind: StreamRunAgentPartsAgentsKind;
|
|
2456
|
+
data: {
|
|
2457
|
+
[k: string]: any;
|
|
2458
|
+
};
|
|
2459
|
+
metadata?: {
|
|
2460
|
+
[k: string]: any;
|
|
2461
|
+
} | undefined;
|
|
2462
|
+
};
|
|
2463
|
+
export declare const StreamRunAgentPartsKind: {
|
|
2464
|
+
readonly Text: "text";
|
|
2465
|
+
};
|
|
2466
|
+
export type StreamRunAgentPartsKind = ClosedEnum<typeof StreamRunAgentPartsKind>;
|
|
2467
|
+
/**
|
|
2468
|
+
* A text content part containing plain text or markdown. Used for agent messages, user input, and text-based responses.
|
|
2469
|
+
*/
|
|
2470
|
+
export type StreamRunAgentPartsTextPart = {
|
|
2471
|
+
kind: StreamRunAgentPartsKind;
|
|
2472
|
+
text: string;
|
|
2473
|
+
};
|
|
2474
|
+
export type DataParts = StreamRunAgentPartsToolCallPart | StreamRunAgentPartsTextPart | StreamRunAgentPartsDataPart | StreamRunAgentPartsFilePart | StreamRunAgentPartsToolResultPart;
|
|
2475
|
+
export type InputMessage = {
|
|
2476
|
+
messageId?: string | undefined;
|
|
2477
|
+
/**
|
|
2478
|
+
* Extended A2A message role
|
|
2479
|
+
*/
|
|
2480
|
+
role: DataRole;
|
|
2481
|
+
parts: Array<StreamRunAgentPartsToolCallPart | StreamRunAgentPartsTextPart | StreamRunAgentPartsDataPart | StreamRunAgentPartsFilePart | StreamRunAgentPartsToolResultPart>;
|
|
2482
|
+
metadata?: {
|
|
2483
|
+
[k: string]: any;
|
|
2484
|
+
} | undefined;
|
|
2485
|
+
};
|
|
2486
|
+
/**
|
|
2487
|
+
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
2488
|
+
*/
|
|
2489
|
+
export declare const DataToolApprovalRequired: {
|
|
2490
|
+
readonly All: "all";
|
|
2491
|
+
readonly RespectTool: "respect_tool";
|
|
2492
|
+
readonly None: "none";
|
|
2493
|
+
};
|
|
2494
|
+
/**
|
|
2495
|
+
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
2496
|
+
*/
|
|
2497
|
+
export type DataToolApprovalRequired = ClosedEnum<typeof DataToolApprovalRequired>;
|
|
2498
|
+
export type StreamRunAgentDataConditions = {
|
|
2499
|
+
/**
|
|
2500
|
+
* The argument of the tool call to evaluate
|
|
2501
|
+
*/
|
|
2502
|
+
condition: string;
|
|
2503
|
+
/**
|
|
2504
|
+
* The operator to use
|
|
2505
|
+
*/
|
|
2506
|
+
operator: string;
|
|
2507
|
+
/**
|
|
2508
|
+
* The value to compare against
|
|
2509
|
+
*/
|
|
2510
|
+
value: string;
|
|
2511
|
+
};
|
|
2512
|
+
export type StreamRunAgentDataTools = {
|
|
2513
|
+
/**
|
|
2514
|
+
* The id of the resource
|
|
2515
|
+
*/
|
|
2516
|
+
id: string;
|
|
2517
|
+
/**
|
|
2518
|
+
* Optional tool key for custom tools
|
|
2519
|
+
*/
|
|
2520
|
+
key?: string | undefined;
|
|
2521
|
+
actionType: string;
|
|
2522
|
+
displayName?: string | undefined;
|
|
2523
|
+
/**
|
|
2524
|
+
* Optional tool description
|
|
2525
|
+
*/
|
|
2526
|
+
description?: string | undefined;
|
|
2527
|
+
requiresApproval?: boolean | undefined;
|
|
2528
|
+
/**
|
|
2529
|
+
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
2530
|
+
*/
|
|
2531
|
+
toolId?: string | undefined;
|
|
2532
|
+
conditions?: Array<StreamRunAgentDataConditions> | undefined;
|
|
2533
|
+
/**
|
|
2534
|
+
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
2535
|
+
*/
|
|
2536
|
+
timeout?: number | undefined;
|
|
2537
|
+
};
|
|
2538
|
+
/**
|
|
2539
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
2540
|
+
*/
|
|
2541
|
+
export declare const DataExecuteOn: {
|
|
2542
|
+
readonly Input: "input";
|
|
2543
|
+
readonly Output: "output";
|
|
2544
|
+
};
|
|
2545
|
+
/**
|
|
2546
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
2547
|
+
*/
|
|
2548
|
+
export type DataExecuteOn = ClosedEnum<typeof DataExecuteOn>;
|
|
2549
|
+
export type DataEvaluators = {
|
|
2550
|
+
/**
|
|
2551
|
+
* Unique key or identifier of the evaluator
|
|
2552
|
+
*/
|
|
2553
|
+
id: string;
|
|
2554
|
+
/**
|
|
2555
|
+
* The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
|
|
2556
|
+
*/
|
|
2557
|
+
sampleRate?: number | undefined;
|
|
2558
|
+
/**
|
|
2559
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
2560
|
+
*/
|
|
2561
|
+
executeOn: DataExecuteOn;
|
|
2562
|
+
};
|
|
2563
|
+
/**
|
|
2564
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
2565
|
+
*/
|
|
2566
|
+
export declare const StreamRunAgentDataExecuteOn: {
|
|
2567
|
+
readonly Input: "input";
|
|
2568
|
+
readonly Output: "output";
|
|
2569
|
+
};
|
|
2570
|
+
/**
|
|
2571
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
2572
|
+
*/
|
|
2573
|
+
export type StreamRunAgentDataExecuteOn = ClosedEnum<typeof StreamRunAgentDataExecuteOn>;
|
|
2574
|
+
export type DataGuardrails = {
|
|
2575
|
+
/**
|
|
2576
|
+
* Unique key or identifier of the evaluator
|
|
2577
|
+
*/
|
|
2578
|
+
id: string;
|
|
2579
|
+
/**
|
|
2580
|
+
* The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
|
|
2581
|
+
*/
|
|
2582
|
+
sampleRate?: number | undefined;
|
|
2583
|
+
/**
|
|
2584
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
2585
|
+
*/
|
|
2586
|
+
executeOn: StreamRunAgentDataExecuteOn;
|
|
2587
|
+
};
|
|
2588
|
+
export type DataSettings = {
|
|
2589
|
+
/**
|
|
2590
|
+
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
2591
|
+
*/
|
|
2592
|
+
maxIterations?: number | undefined;
|
|
2593
|
+
/**
|
|
2594
|
+
* Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
|
|
2595
|
+
*/
|
|
2596
|
+
maxExecutionTime?: number | undefined;
|
|
2597
|
+
/**
|
|
2598
|
+
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
2599
|
+
*/
|
|
2600
|
+
toolApprovalRequired?: DataToolApprovalRequired | undefined;
|
|
2601
|
+
tools?: Array<StreamRunAgentDataTools> | undefined;
|
|
2602
|
+
/**
|
|
2603
|
+
* Configuration for an evaluator applied to the agent
|
|
2604
|
+
*/
|
|
2605
|
+
evaluators?: Array<DataEvaluators> | undefined;
|
|
2606
|
+
/**
|
|
2607
|
+
* Configuration for a guardrail applied to the agent
|
|
2608
|
+
*/
|
|
2609
|
+
guardrails?: Array<DataGuardrails> | undefined;
|
|
2610
|
+
};
|
|
2611
|
+
export type StreamRunAgentDataData = {
|
|
2612
|
+
integrationId?: string | undefined;
|
|
2613
|
+
inputMessage: InputMessage;
|
|
2614
|
+
modelId: string;
|
|
2615
|
+
instructions: string;
|
|
2616
|
+
systemPrompt: string;
|
|
2617
|
+
settings?: DataSettings | undefined;
|
|
2618
|
+
agentManifestId: string;
|
|
2619
|
+
agentKey: string;
|
|
2620
|
+
variables?: {
|
|
2621
|
+
[k: string]: any;
|
|
2622
|
+
} | undefined;
|
|
2623
|
+
toolExecutionId?: string | undefined;
|
|
2624
|
+
isContinuation?: boolean | undefined;
|
|
2625
|
+
stream?: boolean | undefined;
|
|
2626
|
+
};
|
|
2627
|
+
export type Data2 = {
|
|
2628
|
+
type: StreamRunAgentDataAgentsType;
|
|
2629
|
+
/**
|
|
2630
|
+
* ISO timestamp of the event
|
|
2631
|
+
*/
|
|
2632
|
+
timestamp: string;
|
|
2633
|
+
data: StreamRunAgentDataData;
|
|
2634
|
+
};
|
|
2635
|
+
export declare const StreamRunAgentDataType: {
|
|
2636
|
+
readonly AgentsExecutionStarted: "agents.execution_started";
|
|
2637
|
+
};
|
|
2638
|
+
export type StreamRunAgentDataType = ClosedEnum<typeof StreamRunAgentDataType>;
|
|
2639
|
+
export type DataData = {
|
|
2640
|
+
/**
|
|
2641
|
+
* Agent execution task ID (ULID)
|
|
2642
|
+
*/
|
|
2643
|
+
agentTaskId: string;
|
|
2644
|
+
/**
|
|
2645
|
+
* Workspace ID
|
|
2646
|
+
*/
|
|
2647
|
+
workspaceId: string;
|
|
2648
|
+
/**
|
|
2649
|
+
* Trace ID for the workflow run
|
|
2650
|
+
*/
|
|
2651
|
+
traceId: string;
|
|
2652
|
+
};
|
|
2653
|
+
export type Data1 = {
|
|
2654
|
+
type: StreamRunAgentDataType;
|
|
2655
|
+
/**
|
|
2656
|
+
* ISO timestamp of the event
|
|
2657
|
+
*/
|
|
2658
|
+
timestamp: string;
|
|
2659
|
+
data: DataData;
|
|
2660
|
+
};
|
|
2661
|
+
export type StreamRunAgentData = Data1 | Data2 | Data3 | Data4 | StreamRunAgentData5 | StreamRunAgentData6 | Seven | Eight | Nine | Ten | Eleven | Twelve | Thirteen | Fourteen | Fifteen | Sixteen | Seventeen;
|
|
2662
|
+
/**
|
|
2663
|
+
* SSE stream of agent events
|
|
2664
|
+
*/
|
|
2665
|
+
export type StreamRunAgentResponseBody = {
|
|
2666
|
+
data: Data1 | Data2 | Data3 | Data4 | StreamRunAgentData5 | StreamRunAgentData6 | Seven | Eight | Nine | Ten | Eleven | Twelve | Thirteen | Fourteen | Fifteen | Sixteen | Seventeen;
|
|
2667
|
+
};
|
|
2668
|
+
/** @internal */
|
|
2669
|
+
export declare const StreamRunAgentModelConfigurationVoice$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationVoice>;
|
|
2670
|
+
/** @internal */
|
|
2671
|
+
export declare const StreamRunAgentModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationVoice>;
|
|
2672
|
+
/** @internal */
|
|
2673
|
+
export declare const StreamRunAgentModelConfigurationFormat$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationFormat>;
|
|
2674
|
+
/** @internal */
|
|
2675
|
+
export declare const StreamRunAgentModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationFormat>;
|
|
2676
|
+
/** @internal */
|
|
2677
|
+
export declare const StreamRunAgentModelConfigurationAudio$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationAudio, z.ZodTypeDef, unknown>;
|
|
2678
|
+
/** @internal */
|
|
2679
|
+
export type StreamRunAgentModelConfigurationAudio$Outbound = {
|
|
2680
|
+
voice: string;
|
|
2681
|
+
format: string;
|
|
2682
|
+
};
|
|
2683
|
+
/** @internal */
|
|
2684
|
+
export declare const StreamRunAgentModelConfigurationAudio$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationAudio$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationAudio>;
|
|
2685
|
+
export declare function streamRunAgentModelConfigurationAudioToJSON(streamRunAgentModelConfigurationAudio: StreamRunAgentModelConfigurationAudio): string;
|
|
2686
|
+
export declare function streamRunAgentModelConfigurationAudioFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationAudio, SDKValidationError>;
|
|
2687
|
+
/** @internal */
|
|
2688
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestType>;
|
|
2689
|
+
/** @internal */
|
|
2690
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestType>;
|
|
2691
|
+
/** @internal */
|
|
2692
|
+
export declare const StreamRunAgentResponseFormatAgentsJsonSchema$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsJsonSchema, z.ZodTypeDef, unknown>;
|
|
2693
|
+
/** @internal */
|
|
2694
|
+
export type StreamRunAgentResponseFormatAgentsJsonSchema$Outbound = {
|
|
2695
|
+
description?: string | undefined;
|
|
2696
|
+
name: string;
|
|
2697
|
+
schema?: any | undefined;
|
|
2698
|
+
strict?: boolean | null | undefined;
|
|
2699
|
+
};
|
|
2700
|
+
/** @internal */
|
|
2701
|
+
export declare const StreamRunAgentResponseFormatAgentsJsonSchema$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsJsonSchema$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsJsonSchema>;
|
|
2702
|
+
export declare function streamRunAgentResponseFormatAgentsJsonSchemaToJSON(streamRunAgentResponseFormatAgentsJsonSchema: StreamRunAgentResponseFormatAgentsJsonSchema): string;
|
|
2703
|
+
export declare function streamRunAgentResponseFormatAgentsJsonSchemaFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsJsonSchema, SDKValidationError>;
|
|
2704
|
+
/** @internal */
|
|
2705
|
+
export declare const StreamRunAgentResponseFormatJSONSchema$inboundSchema: z.ZodType<StreamRunAgentResponseFormatJSONSchema, z.ZodTypeDef, unknown>;
|
|
2706
|
+
/** @internal */
|
|
2707
|
+
export type StreamRunAgentResponseFormatJSONSchema$Outbound = {
|
|
2708
|
+
type: string;
|
|
2709
|
+
json_schema: StreamRunAgentResponseFormatAgentsJsonSchema$Outbound;
|
|
2710
|
+
};
|
|
2711
|
+
/** @internal */
|
|
2712
|
+
export declare const StreamRunAgentResponseFormatJSONSchema$outboundSchema: z.ZodType<StreamRunAgentResponseFormatJSONSchema$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatJSONSchema>;
|
|
2713
|
+
export declare function streamRunAgentResponseFormatJSONSchemaToJSON(streamRunAgentResponseFormatJSONSchema: StreamRunAgentResponseFormatJSONSchema): string;
|
|
2714
|
+
export declare function streamRunAgentResponseFormatJSONSchemaFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatJSONSchema, SDKValidationError>;
|
|
2715
|
+
/** @internal */
|
|
2716
|
+
export declare const StreamRunAgentResponseFormatAgentsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsType>;
|
|
2717
|
+
/** @internal */
|
|
2718
|
+
export declare const StreamRunAgentResponseFormatAgentsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsType>;
|
|
2719
|
+
/** @internal */
|
|
2720
|
+
export declare const StreamRunAgentResponseFormatJSONObject$inboundSchema: z.ZodType<StreamRunAgentResponseFormatJSONObject, z.ZodTypeDef, unknown>;
|
|
2721
|
+
/** @internal */
|
|
2722
|
+
export type StreamRunAgentResponseFormatJSONObject$Outbound = {
|
|
2723
|
+
type: string;
|
|
2724
|
+
};
|
|
2725
|
+
/** @internal */
|
|
2726
|
+
export declare const StreamRunAgentResponseFormatJSONObject$outboundSchema: z.ZodType<StreamRunAgentResponseFormatJSONObject$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatJSONObject>;
|
|
2727
|
+
export declare function streamRunAgentResponseFormatJSONObjectToJSON(streamRunAgentResponseFormatJSONObject: StreamRunAgentResponseFormatJSONObject): string;
|
|
2728
|
+
export declare function streamRunAgentResponseFormatJSONObjectFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatJSONObject, SDKValidationError>;
|
|
2729
|
+
/** @internal */
|
|
2730
|
+
export declare const StreamRunAgentResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatType>;
|
|
2731
|
+
/** @internal */
|
|
2732
|
+
export declare const StreamRunAgentResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatType>;
|
|
2733
|
+
/** @internal */
|
|
2734
|
+
export declare const StreamRunAgentResponseFormatText$inboundSchema: z.ZodType<StreamRunAgentResponseFormatText, z.ZodTypeDef, unknown>;
|
|
2735
|
+
/** @internal */
|
|
2736
|
+
export type StreamRunAgentResponseFormatText$Outbound = {
|
|
2737
|
+
type: string;
|
|
2738
|
+
};
|
|
2739
|
+
/** @internal */
|
|
2740
|
+
export declare const StreamRunAgentResponseFormatText$outboundSchema: z.ZodType<StreamRunAgentResponseFormatText$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatText>;
|
|
2741
|
+
export declare function streamRunAgentResponseFormatTextToJSON(streamRunAgentResponseFormatText: StreamRunAgentResponseFormatText): string;
|
|
2742
|
+
export declare function streamRunAgentResponseFormatTextFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatText, SDKValidationError>;
|
|
2743
|
+
/** @internal */
|
|
2744
|
+
export declare const StreamRunAgentModelConfigurationResponseFormat$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationResponseFormat, z.ZodTypeDef, unknown>;
|
|
2745
|
+
/** @internal */
|
|
2746
|
+
export type StreamRunAgentModelConfigurationResponseFormat$Outbound = StreamRunAgentResponseFormatJSONSchema$Outbound | StreamRunAgentResponseFormatText$Outbound | StreamRunAgentResponseFormatJSONObject$Outbound;
|
|
2747
|
+
/** @internal */
|
|
2748
|
+
export declare const StreamRunAgentModelConfigurationResponseFormat$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationResponseFormat$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationResponseFormat>;
|
|
2749
|
+
export declare function streamRunAgentModelConfigurationResponseFormatToJSON(streamRunAgentModelConfigurationResponseFormat: StreamRunAgentModelConfigurationResponseFormat): string;
|
|
2750
|
+
export declare function streamRunAgentModelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationResponseFormat, SDKValidationError>;
|
|
2751
|
+
/** @internal */
|
|
2752
|
+
export declare const StreamRunAgentModelConfigurationStop$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationStop, z.ZodTypeDef, unknown>;
|
|
2753
|
+
/** @internal */
|
|
2754
|
+
export type StreamRunAgentModelConfigurationStop$Outbound = string | Array<string>;
|
|
2755
|
+
/** @internal */
|
|
2756
|
+
export declare const StreamRunAgentModelConfigurationStop$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationStop$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationStop>;
|
|
2757
|
+
export declare function streamRunAgentModelConfigurationStopToJSON(streamRunAgentModelConfigurationStop: StreamRunAgentModelConfigurationStop): string;
|
|
2758
|
+
export declare function streamRunAgentModelConfigurationStopFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationStop, SDKValidationError>;
|
|
2759
|
+
/** @internal */
|
|
2760
|
+
export declare const StreamRunAgentModelConfigurationStreamOptions$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationStreamOptions, z.ZodTypeDef, unknown>;
|
|
2761
|
+
/** @internal */
|
|
2762
|
+
export type StreamRunAgentModelConfigurationStreamOptions$Outbound = {
|
|
2763
|
+
include_usage?: boolean | undefined;
|
|
2764
|
+
};
|
|
2765
|
+
/** @internal */
|
|
2766
|
+
export declare const StreamRunAgentModelConfigurationStreamOptions$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationStreamOptions>;
|
|
2767
|
+
export declare function streamRunAgentModelConfigurationStreamOptionsToJSON(streamRunAgentModelConfigurationStreamOptions: StreamRunAgentModelConfigurationStreamOptions): string;
|
|
2768
|
+
export declare function streamRunAgentModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationStreamOptions, SDKValidationError>;
|
|
2769
|
+
/** @internal */
|
|
2770
|
+
export declare const StreamRunAgentModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationType>;
|
|
2771
|
+
/** @internal */
|
|
2772
|
+
export declare const StreamRunAgentModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationType>;
|
|
2773
|
+
/** @internal */
|
|
2774
|
+
export declare const StreamRunAgentModelConfigurationThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationThinkingLevel>;
|
|
2775
|
+
/** @internal */
|
|
2776
|
+
export declare const StreamRunAgentModelConfigurationThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationThinkingLevel>;
|
|
2777
|
+
/** @internal */
|
|
2778
|
+
export declare const StreamRunAgentModelConfigurationThinking$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationThinking, z.ZodTypeDef, unknown>;
|
|
2779
|
+
/** @internal */
|
|
2780
|
+
export type StreamRunAgentModelConfigurationThinking$Outbound = {
|
|
2781
|
+
type: string;
|
|
2782
|
+
budget_tokens: number;
|
|
2783
|
+
thinking_level?: string | undefined;
|
|
2784
|
+
};
|
|
2785
|
+
/** @internal */
|
|
2786
|
+
export declare const StreamRunAgentModelConfigurationThinking$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationThinking$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationThinking>;
|
|
2787
|
+
export declare function streamRunAgentModelConfigurationThinkingToJSON(streamRunAgentModelConfigurationThinking: StreamRunAgentModelConfigurationThinking): string;
|
|
2788
|
+
export declare function streamRunAgentModelConfigurationThinkingFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationThinking, SDKValidationError>;
|
|
2789
|
+
/** @internal */
|
|
2790
|
+
export declare const StreamRunAgentToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceType>;
|
|
2791
|
+
/** @internal */
|
|
2792
|
+
export declare const StreamRunAgentToolChoiceType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceType>;
|
|
2793
|
+
/** @internal */
|
|
2794
|
+
export declare const StreamRunAgentToolChoiceFunction$inboundSchema: z.ZodType<StreamRunAgentToolChoiceFunction, z.ZodTypeDef, unknown>;
|
|
2795
|
+
/** @internal */
|
|
2796
|
+
export type StreamRunAgentToolChoiceFunction$Outbound = {
|
|
2797
|
+
name?: string | undefined;
|
|
2798
|
+
};
|
|
2799
|
+
/** @internal */
|
|
2800
|
+
export declare const StreamRunAgentToolChoiceFunction$outboundSchema: z.ZodType<StreamRunAgentToolChoiceFunction$Outbound, z.ZodTypeDef, StreamRunAgentToolChoiceFunction>;
|
|
2801
|
+
export declare function streamRunAgentToolChoiceFunctionToJSON(streamRunAgentToolChoiceFunction: StreamRunAgentToolChoiceFunction): string;
|
|
2802
|
+
export declare function streamRunAgentToolChoiceFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentToolChoiceFunction, SDKValidationError>;
|
|
2803
|
+
/** @internal */
|
|
2804
|
+
export declare const StreamRunAgentToolChoice2$inboundSchema: z.ZodType<StreamRunAgentToolChoice2, z.ZodTypeDef, unknown>;
|
|
2805
|
+
/** @internal */
|
|
2806
|
+
export type StreamRunAgentToolChoice2$Outbound = {
|
|
2807
|
+
type?: string | undefined;
|
|
2808
|
+
function: StreamRunAgentToolChoiceFunction$Outbound;
|
|
2809
|
+
};
|
|
2810
|
+
/** @internal */
|
|
2811
|
+
export declare const StreamRunAgentToolChoice2$outboundSchema: z.ZodType<StreamRunAgentToolChoice2$Outbound, z.ZodTypeDef, StreamRunAgentToolChoice2>;
|
|
2812
|
+
export declare function streamRunAgentToolChoice2ToJSON(streamRunAgentToolChoice2: StreamRunAgentToolChoice2): string;
|
|
2813
|
+
export declare function streamRunAgentToolChoice2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentToolChoice2, SDKValidationError>;
|
|
2814
|
+
/** @internal */
|
|
2815
|
+
export declare const StreamRunAgentToolChoice1$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoice1>;
|
|
2816
|
+
/** @internal */
|
|
2817
|
+
export declare const StreamRunAgentToolChoice1$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoice1>;
|
|
2818
|
+
/** @internal */
|
|
2819
|
+
export declare const StreamRunAgentModelConfigurationToolChoice$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationToolChoice, z.ZodTypeDef, unknown>;
|
|
2820
|
+
/** @internal */
|
|
2821
|
+
export type StreamRunAgentModelConfigurationToolChoice$Outbound = StreamRunAgentToolChoice2$Outbound | string;
|
|
2822
|
+
/** @internal */
|
|
2823
|
+
export declare const StreamRunAgentModelConfigurationToolChoice$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationToolChoice$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationToolChoice>;
|
|
2824
|
+
export declare function streamRunAgentModelConfigurationToolChoiceToJSON(streamRunAgentModelConfigurationToolChoice: StreamRunAgentModelConfigurationToolChoice): string;
|
|
2825
|
+
export declare function streamRunAgentModelConfigurationToolChoiceFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationToolChoice, SDKValidationError>;
|
|
2826
|
+
/** @internal */
|
|
2827
|
+
export declare const StreamRunAgentModelConfigurationModalities$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationModalities>;
|
|
2828
|
+
/** @internal */
|
|
2829
|
+
export declare const StreamRunAgentModelConfigurationModalities$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationModalities>;
|
|
2830
|
+
/** @internal */
|
|
2831
|
+
export declare const StreamRunAgentModelConfigurationParameters$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationParameters, z.ZodTypeDef, unknown>;
|
|
2832
|
+
/** @internal */
|
|
2833
|
+
export type StreamRunAgentModelConfigurationParameters$Outbound = {
|
|
2834
|
+
audio?: StreamRunAgentModelConfigurationAudio$Outbound | null | undefined;
|
|
2835
|
+
frequency_penalty?: number | null | undefined;
|
|
2836
|
+
max_tokens?: number | null | undefined;
|
|
2837
|
+
max_completion_tokens?: number | null | undefined;
|
|
2838
|
+
logprobs?: boolean | null | undefined;
|
|
2839
|
+
top_logprobs?: number | null | undefined;
|
|
2840
|
+
n?: number | null | undefined;
|
|
2841
|
+
presence_penalty?: number | null | undefined;
|
|
2842
|
+
response_format?: StreamRunAgentResponseFormatJSONSchema$Outbound | StreamRunAgentResponseFormatText$Outbound | StreamRunAgentResponseFormatJSONObject$Outbound | undefined;
|
|
2843
|
+
reasoning_effort?: string | undefined;
|
|
2844
|
+
verbosity?: string | undefined;
|
|
2845
|
+
seed?: number | null | undefined;
|
|
2846
|
+
stop?: string | Array<string> | null | undefined;
|
|
2847
|
+
stream_options?: StreamRunAgentModelConfigurationStreamOptions$Outbound | null | undefined;
|
|
2848
|
+
thinking?: StreamRunAgentModelConfigurationThinking$Outbound | undefined;
|
|
2849
|
+
temperature?: number | null | undefined;
|
|
2850
|
+
top_p?: number | null | undefined;
|
|
2851
|
+
top_k?: number | null | undefined;
|
|
2852
|
+
tool_choice?: StreamRunAgentToolChoice2$Outbound | string | undefined;
|
|
2853
|
+
parallel_tool_calls?: boolean | undefined;
|
|
2854
|
+
modalities?: Array<string> | null | undefined;
|
|
2855
|
+
};
|
|
2856
|
+
/** @internal */
|
|
2857
|
+
export declare const StreamRunAgentModelConfigurationParameters$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationParameters$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationParameters>;
|
|
2858
|
+
export declare function streamRunAgentModelConfigurationParametersToJSON(streamRunAgentModelConfigurationParameters: StreamRunAgentModelConfigurationParameters): string;
|
|
2859
|
+
export declare function streamRunAgentModelConfigurationParametersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationParameters, SDKValidationError>;
|
|
2860
|
+
/** @internal */
|
|
2861
|
+
export declare const StreamRunAgentModelConfigurationRetry$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationRetry, z.ZodTypeDef, unknown>;
|
|
2862
|
+
/** @internal */
|
|
2863
|
+
export type StreamRunAgentModelConfigurationRetry$Outbound = {
|
|
2864
|
+
count: number;
|
|
2865
|
+
on_codes?: Array<number> | undefined;
|
|
2866
|
+
};
|
|
2867
|
+
/** @internal */
|
|
2868
|
+
export declare const StreamRunAgentModelConfigurationRetry$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationRetry$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationRetry>;
|
|
2869
|
+
export declare function streamRunAgentModelConfigurationRetryToJSON(streamRunAgentModelConfigurationRetry: StreamRunAgentModelConfigurationRetry): string;
|
|
2870
|
+
export declare function streamRunAgentModelConfigurationRetryFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationRetry, SDKValidationError>;
|
|
2871
|
+
/** @internal */
|
|
2872
|
+
export declare const StreamRunAgentModelConfiguration2$inboundSchema: z.ZodType<StreamRunAgentModelConfiguration2, z.ZodTypeDef, unknown>;
|
|
2873
|
+
/** @internal */
|
|
2874
|
+
export type StreamRunAgentModelConfiguration2$Outbound = {
|
|
2875
|
+
id: string;
|
|
2876
|
+
parameters?: StreamRunAgentModelConfigurationParameters$Outbound | undefined;
|
|
2877
|
+
retry?: StreamRunAgentModelConfigurationRetry$Outbound | undefined;
|
|
2878
|
+
};
|
|
2879
|
+
/** @internal */
|
|
2880
|
+
export declare const StreamRunAgentModelConfiguration2$outboundSchema: z.ZodType<StreamRunAgentModelConfiguration2$Outbound, z.ZodTypeDef, StreamRunAgentModelConfiguration2>;
|
|
2881
|
+
export declare function streamRunAgentModelConfiguration2ToJSON(streamRunAgentModelConfiguration2: StreamRunAgentModelConfiguration2): string;
|
|
2882
|
+
export declare function streamRunAgentModelConfiguration2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfiguration2, SDKValidationError>;
|
|
2883
|
+
/** @internal */
|
|
2884
|
+
export declare const StreamRunAgentModelConfiguration$inboundSchema: z.ZodType<StreamRunAgentModelConfiguration, z.ZodTypeDef, unknown>;
|
|
2885
|
+
/** @internal */
|
|
2886
|
+
export type StreamRunAgentModelConfiguration$Outbound = StreamRunAgentModelConfiguration2$Outbound | string;
|
|
2887
|
+
/** @internal */
|
|
2888
|
+
export declare const StreamRunAgentModelConfiguration$outboundSchema: z.ZodType<StreamRunAgentModelConfiguration$Outbound, z.ZodTypeDef, StreamRunAgentModelConfiguration>;
|
|
2889
|
+
export declare function streamRunAgentModelConfigurationToJSON(streamRunAgentModelConfiguration: StreamRunAgentModelConfiguration): string;
|
|
2890
|
+
export declare function streamRunAgentModelConfigurationFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfiguration, SDKValidationError>;
|
|
2891
|
+
/** @internal */
|
|
2892
|
+
export declare const StreamRunAgentFallbackModelConfigurationVoice$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationVoice>;
|
|
2893
|
+
/** @internal */
|
|
2894
|
+
export declare const StreamRunAgentFallbackModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationVoice>;
|
|
2895
|
+
/** @internal */
|
|
2896
|
+
export declare const StreamRunAgentFallbackModelConfigurationFormat$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationFormat>;
|
|
2897
|
+
/** @internal */
|
|
2898
|
+
export declare const StreamRunAgentFallbackModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationFormat>;
|
|
2899
|
+
/** @internal */
|
|
2900
|
+
export declare const StreamRunAgentFallbackModelConfigurationAudio$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationAudio, z.ZodTypeDef, unknown>;
|
|
2901
|
+
/** @internal */
|
|
2902
|
+
export type StreamRunAgentFallbackModelConfigurationAudio$Outbound = {
|
|
2903
|
+
voice: string;
|
|
2904
|
+
format: string;
|
|
2905
|
+
};
|
|
2906
|
+
/** @internal */
|
|
2907
|
+
export declare const StreamRunAgentFallbackModelConfigurationAudio$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationAudio$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationAudio>;
|
|
2908
|
+
export declare function streamRunAgentFallbackModelConfigurationAudioToJSON(streamRunAgentFallbackModelConfigurationAudio: StreamRunAgentFallbackModelConfigurationAudio): string;
|
|
2909
|
+
export declare function streamRunAgentFallbackModelConfigurationAudioFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationAudio, SDKValidationError>;
|
|
2910
|
+
/** @internal */
|
|
2911
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsFallbackModelConfigurationType>;
|
|
2912
|
+
/** @internal */
|
|
2913
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsFallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsFallbackModelConfigurationType>;
|
|
2914
|
+
/** @internal */
|
|
2915
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema, z.ZodTypeDef, unknown>;
|
|
2916
|
+
/** @internal */
|
|
2917
|
+
export type StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound = {
|
|
2918
|
+
description?: string | undefined;
|
|
2919
|
+
name: string;
|
|
2920
|
+
schema?: any | undefined;
|
|
2921
|
+
strict?: boolean | null | undefined;
|
|
2922
|
+
};
|
|
2923
|
+
/** @internal */
|
|
2924
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema>;
|
|
2925
|
+
export declare function streamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchemaToJSON(streamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema: StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema): string;
|
|
2926
|
+
export declare function streamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchemaFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema, SDKValidationError>;
|
|
2927
|
+
/** @internal */
|
|
2928
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestJSONSchema$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsRequestJSONSchema, z.ZodTypeDef, unknown>;
|
|
2929
|
+
/** @internal */
|
|
2930
|
+
export type StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound = {
|
|
2931
|
+
type: string;
|
|
2932
|
+
json_schema: StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound;
|
|
2933
|
+
};
|
|
2934
|
+
/** @internal */
|
|
2935
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestJSONSchema$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsRequestJSONSchema>;
|
|
2936
|
+
export declare function streamRunAgentResponseFormatAgentsRequestJSONSchemaToJSON(streamRunAgentResponseFormatAgentsRequestJSONSchema: StreamRunAgentResponseFormatAgentsRequestJSONSchema): string;
|
|
2937
|
+
export declare function streamRunAgentResponseFormatAgentsRequestJSONSchemaFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsRequestJSONSchema, SDKValidationError>;
|
|
2938
|
+
/** @internal */
|
|
2939
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsType>;
|
|
2940
|
+
/** @internal */
|
|
2941
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsType>;
|
|
2942
|
+
/** @internal */
|
|
2943
|
+
export declare const StreamRunAgentResponseFormatAgentsJSONObject$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsJSONObject, z.ZodTypeDef, unknown>;
|
|
2944
|
+
/** @internal */
|
|
2945
|
+
export type StreamRunAgentResponseFormatAgentsJSONObject$Outbound = {
|
|
2946
|
+
type: string;
|
|
2947
|
+
};
|
|
2948
|
+
/** @internal */
|
|
2949
|
+
export declare const StreamRunAgentResponseFormatAgentsJSONObject$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsJSONObject$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsJSONObject>;
|
|
2950
|
+
export declare function streamRunAgentResponseFormatAgentsJSONObjectToJSON(streamRunAgentResponseFormatAgentsJSONObject: StreamRunAgentResponseFormatAgentsJSONObject): string;
|
|
2951
|
+
export declare function streamRunAgentResponseFormatAgentsJSONObjectFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsJSONObject, SDKValidationError>;
|
|
2952
|
+
/** @internal */
|
|
2953
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyType>;
|
|
2954
|
+
/** @internal */
|
|
2955
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyType>;
|
|
2956
|
+
/** @internal */
|
|
2957
|
+
export declare const StreamRunAgentResponseFormatAgentsText$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsText, z.ZodTypeDef, unknown>;
|
|
2958
|
+
/** @internal */
|
|
2959
|
+
export type StreamRunAgentResponseFormatAgentsText$Outbound = {
|
|
2960
|
+
type: string;
|
|
2961
|
+
};
|
|
2962
|
+
/** @internal */
|
|
2963
|
+
export declare const StreamRunAgentResponseFormatAgentsText$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsText$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsText>;
|
|
2964
|
+
export declare function streamRunAgentResponseFormatAgentsTextToJSON(streamRunAgentResponseFormatAgentsText: StreamRunAgentResponseFormatAgentsText): string;
|
|
2965
|
+
export declare function streamRunAgentResponseFormatAgentsTextFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsText, SDKValidationError>;
|
|
2966
|
+
/** @internal */
|
|
2967
|
+
export declare const StreamRunAgentFallbackModelConfigurationResponseFormat$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationResponseFormat, z.ZodTypeDef, unknown>;
|
|
2968
|
+
/** @internal */
|
|
2969
|
+
export type StreamRunAgentFallbackModelConfigurationResponseFormat$Outbound = StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound | StreamRunAgentResponseFormatAgentsText$Outbound | StreamRunAgentResponseFormatAgentsJSONObject$Outbound;
|
|
2970
|
+
/** @internal */
|
|
2971
|
+
export declare const StreamRunAgentFallbackModelConfigurationResponseFormat$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationResponseFormat$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationResponseFormat>;
|
|
2972
|
+
export declare function streamRunAgentFallbackModelConfigurationResponseFormatToJSON(streamRunAgentFallbackModelConfigurationResponseFormat: StreamRunAgentFallbackModelConfigurationResponseFormat): string;
|
|
2973
|
+
export declare function streamRunAgentFallbackModelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationResponseFormat, SDKValidationError>;
|
|
2974
|
+
/** @internal */
|
|
2975
|
+
export declare const StreamRunAgentFallbackModelConfigurationStop$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationStop, z.ZodTypeDef, unknown>;
|
|
2976
|
+
/** @internal */
|
|
2977
|
+
export type StreamRunAgentFallbackModelConfigurationStop$Outbound = string | Array<string>;
|
|
2978
|
+
/** @internal */
|
|
2979
|
+
export declare const StreamRunAgentFallbackModelConfigurationStop$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationStop$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationStop>;
|
|
2980
|
+
export declare function streamRunAgentFallbackModelConfigurationStopToJSON(streamRunAgentFallbackModelConfigurationStop: StreamRunAgentFallbackModelConfigurationStop): string;
|
|
2981
|
+
export declare function streamRunAgentFallbackModelConfigurationStopFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationStop, SDKValidationError>;
|
|
2982
|
+
/** @internal */
|
|
2983
|
+
export declare const StreamRunAgentFallbackModelConfigurationStreamOptions$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationStreamOptions, z.ZodTypeDef, unknown>;
|
|
2984
|
+
/** @internal */
|
|
2985
|
+
export type StreamRunAgentFallbackModelConfigurationStreamOptions$Outbound = {
|
|
2986
|
+
include_usage?: boolean | undefined;
|
|
2987
|
+
};
|
|
2988
|
+
/** @internal */
|
|
2989
|
+
export declare const StreamRunAgentFallbackModelConfigurationStreamOptions$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationStreamOptions>;
|
|
2990
|
+
export declare function streamRunAgentFallbackModelConfigurationStreamOptionsToJSON(streamRunAgentFallbackModelConfigurationStreamOptions: StreamRunAgentFallbackModelConfigurationStreamOptions): string;
|
|
2991
|
+
export declare function streamRunAgentFallbackModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationStreamOptions, SDKValidationError>;
|
|
2992
|
+
/** @internal */
|
|
2993
|
+
export declare const StreamRunAgentFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationType>;
|
|
2994
|
+
/** @internal */
|
|
2995
|
+
export declare const StreamRunAgentFallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationType>;
|
|
2996
|
+
/** @internal */
|
|
2997
|
+
export declare const StreamRunAgentFallbackModelConfigurationThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationThinkingLevel>;
|
|
2998
|
+
/** @internal */
|
|
2999
|
+
export declare const StreamRunAgentFallbackModelConfigurationThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationThinkingLevel>;
|
|
3000
|
+
/** @internal */
|
|
3001
|
+
export declare const StreamRunAgentFallbackModelConfigurationThinking$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationThinking, z.ZodTypeDef, unknown>;
|
|
3002
|
+
/** @internal */
|
|
3003
|
+
export type StreamRunAgentFallbackModelConfigurationThinking$Outbound = {
|
|
3004
|
+
type: string;
|
|
3005
|
+
budget_tokens: number;
|
|
3006
|
+
thinking_level?: string | undefined;
|
|
3007
|
+
};
|
|
3008
|
+
/** @internal */
|
|
3009
|
+
export declare const StreamRunAgentFallbackModelConfigurationThinking$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationThinking$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationThinking>;
|
|
3010
|
+
export declare function streamRunAgentFallbackModelConfigurationThinkingToJSON(streamRunAgentFallbackModelConfigurationThinking: StreamRunAgentFallbackModelConfigurationThinking): string;
|
|
3011
|
+
export declare function streamRunAgentFallbackModelConfigurationThinkingFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationThinking, SDKValidationError>;
|
|
3012
|
+
/** @internal */
|
|
3013
|
+
export declare const StreamRunAgentToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceAgentsType>;
|
|
3014
|
+
/** @internal */
|
|
3015
|
+
export declare const StreamRunAgentToolChoiceAgentsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceAgentsType>;
|
|
3016
|
+
/** @internal */
|
|
3017
|
+
export declare const StreamRunAgentToolChoiceAgentsFunction$inboundSchema: z.ZodType<StreamRunAgentToolChoiceAgentsFunction, z.ZodTypeDef, unknown>;
|
|
3018
|
+
/** @internal */
|
|
3019
|
+
export type StreamRunAgentToolChoiceAgentsFunction$Outbound = {
|
|
3020
|
+
name?: string | undefined;
|
|
3021
|
+
};
|
|
3022
|
+
/** @internal */
|
|
3023
|
+
export declare const StreamRunAgentToolChoiceAgentsFunction$outboundSchema: z.ZodType<StreamRunAgentToolChoiceAgentsFunction$Outbound, z.ZodTypeDef, StreamRunAgentToolChoiceAgentsFunction>;
|
|
3024
|
+
export declare function streamRunAgentToolChoiceAgentsFunctionToJSON(streamRunAgentToolChoiceAgentsFunction: StreamRunAgentToolChoiceAgentsFunction): string;
|
|
3025
|
+
export declare function streamRunAgentToolChoiceAgentsFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentToolChoiceAgentsFunction, SDKValidationError>;
|
|
3026
|
+
/** @internal */
|
|
3027
|
+
export declare const StreamRunAgentToolChoiceAgents2$inboundSchema: z.ZodType<StreamRunAgentToolChoiceAgents2, z.ZodTypeDef, unknown>;
|
|
3028
|
+
/** @internal */
|
|
3029
|
+
export type StreamRunAgentToolChoiceAgents2$Outbound = {
|
|
3030
|
+
type?: string | undefined;
|
|
3031
|
+
function: StreamRunAgentToolChoiceAgentsFunction$Outbound;
|
|
3032
|
+
};
|
|
3033
|
+
/** @internal */
|
|
3034
|
+
export declare const StreamRunAgentToolChoiceAgents2$outboundSchema: z.ZodType<StreamRunAgentToolChoiceAgents2$Outbound, z.ZodTypeDef, StreamRunAgentToolChoiceAgents2>;
|
|
3035
|
+
export declare function streamRunAgentToolChoiceAgents2ToJSON(streamRunAgentToolChoiceAgents2: StreamRunAgentToolChoiceAgents2): string;
|
|
3036
|
+
export declare function streamRunAgentToolChoiceAgents2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentToolChoiceAgents2, SDKValidationError>;
|
|
3037
|
+
/** @internal */
|
|
3038
|
+
export declare const StreamRunAgentToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceAgents1>;
|
|
3039
|
+
/** @internal */
|
|
3040
|
+
export declare const StreamRunAgentToolChoiceAgents1$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceAgents1>;
|
|
3041
|
+
/** @internal */
|
|
3042
|
+
export declare const StreamRunAgentFallbackModelConfigurationToolChoice$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationToolChoice, z.ZodTypeDef, unknown>;
|
|
3043
|
+
/** @internal */
|
|
3044
|
+
export type StreamRunAgentFallbackModelConfigurationToolChoice$Outbound = StreamRunAgentToolChoiceAgents2$Outbound | string;
|
|
3045
|
+
/** @internal */
|
|
3046
|
+
export declare const StreamRunAgentFallbackModelConfigurationToolChoice$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationToolChoice$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationToolChoice>;
|
|
3047
|
+
export declare function streamRunAgentFallbackModelConfigurationToolChoiceToJSON(streamRunAgentFallbackModelConfigurationToolChoice: StreamRunAgentFallbackModelConfigurationToolChoice): string;
|
|
3048
|
+
export declare function streamRunAgentFallbackModelConfigurationToolChoiceFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationToolChoice, SDKValidationError>;
|
|
3049
|
+
/** @internal */
|
|
3050
|
+
export declare const StreamRunAgentFallbackModelConfigurationModalities$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationModalities>;
|
|
3051
|
+
/** @internal */
|
|
3052
|
+
export declare const StreamRunAgentFallbackModelConfigurationModalities$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationModalities>;
|
|
3053
|
+
/** @internal */
|
|
3054
|
+
export declare const StreamRunAgentFallbackModelConfigurationParameters$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationParameters, z.ZodTypeDef, unknown>;
|
|
3055
|
+
/** @internal */
|
|
3056
|
+
export type StreamRunAgentFallbackModelConfigurationParameters$Outbound = {
|
|
3057
|
+
audio?: StreamRunAgentFallbackModelConfigurationAudio$Outbound | null | undefined;
|
|
3058
|
+
frequency_penalty?: number | null | undefined;
|
|
3059
|
+
max_tokens?: number | null | undefined;
|
|
3060
|
+
max_completion_tokens?: number | null | undefined;
|
|
3061
|
+
logprobs?: boolean | null | undefined;
|
|
3062
|
+
top_logprobs?: number | null | undefined;
|
|
3063
|
+
n?: number | null | undefined;
|
|
3064
|
+
presence_penalty?: number | null | undefined;
|
|
3065
|
+
response_format?: StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound | StreamRunAgentResponseFormatAgentsText$Outbound | StreamRunAgentResponseFormatAgentsJSONObject$Outbound | undefined;
|
|
3066
|
+
reasoning_effort?: string | undefined;
|
|
3067
|
+
verbosity?: string | undefined;
|
|
3068
|
+
seed?: number | null | undefined;
|
|
3069
|
+
stop?: string | Array<string> | null | undefined;
|
|
3070
|
+
stream_options?: StreamRunAgentFallbackModelConfigurationStreamOptions$Outbound | null | undefined;
|
|
3071
|
+
thinking?: StreamRunAgentFallbackModelConfigurationThinking$Outbound | undefined;
|
|
3072
|
+
temperature?: number | null | undefined;
|
|
3073
|
+
top_p?: number | null | undefined;
|
|
3074
|
+
top_k?: number | null | undefined;
|
|
3075
|
+
tool_choice?: StreamRunAgentToolChoiceAgents2$Outbound | string | undefined;
|
|
3076
|
+
parallel_tool_calls?: boolean | undefined;
|
|
3077
|
+
modalities?: Array<string> | null | undefined;
|
|
3078
|
+
};
|
|
3079
|
+
/** @internal */
|
|
3080
|
+
export declare const StreamRunAgentFallbackModelConfigurationParameters$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationParameters$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationParameters>;
|
|
3081
|
+
export declare function streamRunAgentFallbackModelConfigurationParametersToJSON(streamRunAgentFallbackModelConfigurationParameters: StreamRunAgentFallbackModelConfigurationParameters): string;
|
|
3082
|
+
export declare function streamRunAgentFallbackModelConfigurationParametersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationParameters, SDKValidationError>;
|
|
3083
|
+
/** @internal */
|
|
3084
|
+
export declare const StreamRunAgentFallbackModelConfiguration2$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
|
|
3085
|
+
/** @internal */
|
|
3086
|
+
export type StreamRunAgentFallbackModelConfiguration2$Outbound = {
|
|
3087
|
+
id: string;
|
|
3088
|
+
parameters?: StreamRunAgentFallbackModelConfigurationParameters$Outbound | undefined;
|
|
3089
|
+
};
|
|
3090
|
+
/** @internal */
|
|
3091
|
+
export declare const StreamRunAgentFallbackModelConfiguration2$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfiguration2$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfiguration2>;
|
|
3092
|
+
export declare function streamRunAgentFallbackModelConfiguration2ToJSON(streamRunAgentFallbackModelConfiguration2: StreamRunAgentFallbackModelConfiguration2): string;
|
|
3093
|
+
export declare function streamRunAgentFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfiguration2, SDKValidationError>;
|
|
3094
|
+
/** @internal */
|
|
3095
|
+
export declare const StreamRunAgentFallbackModelConfiguration$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfiguration, z.ZodTypeDef, unknown>;
|
|
3096
|
+
/** @internal */
|
|
3097
|
+
export type StreamRunAgentFallbackModelConfiguration$Outbound = StreamRunAgentFallbackModelConfiguration2$Outbound | string;
|
|
3098
|
+
/** @internal */
|
|
3099
|
+
export declare const StreamRunAgentFallbackModelConfiguration$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfiguration$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfiguration>;
|
|
3100
|
+
export declare function streamRunAgentFallbackModelConfigurationToJSON(streamRunAgentFallbackModelConfiguration: StreamRunAgentFallbackModelConfiguration): string;
|
|
3101
|
+
export declare function streamRunAgentFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfiguration, SDKValidationError>;
|
|
3102
|
+
/** @internal */
|
|
3103
|
+
export declare const StreamRunAgentRoleToolMessage$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentRoleToolMessage>;
|
|
3104
|
+
/** @internal */
|
|
3105
|
+
export declare const StreamRunAgentRoleToolMessage$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentRoleToolMessage>;
|
|
3106
|
+
/** @internal */
|
|
3107
|
+
export declare const StreamRunAgentRoleUserMessage$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentRoleUserMessage>;
|
|
3108
|
+
/** @internal */
|
|
3109
|
+
export declare const StreamRunAgentRoleUserMessage$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentRoleUserMessage>;
|
|
3110
|
+
/** @internal */
|
|
3111
|
+
export declare const StreamRunAgentRole$inboundSchema: z.ZodType<StreamRunAgentRole, z.ZodTypeDef, unknown>;
|
|
3112
|
+
/** @internal */
|
|
3113
|
+
export type StreamRunAgentRole$Outbound = string | string;
|
|
3114
|
+
/** @internal */
|
|
3115
|
+
export declare const StreamRunAgentRole$outboundSchema: z.ZodType<StreamRunAgentRole$Outbound, z.ZodTypeDef, StreamRunAgentRole>;
|
|
3116
|
+
export declare function streamRunAgentRoleToJSON(streamRunAgentRole: StreamRunAgentRole): string;
|
|
3117
|
+
export declare function streamRunAgentRoleFromJSON(jsonString: string): SafeParseResult<StreamRunAgentRole, SDKValidationError>;
|
|
3118
|
+
/** @internal */
|
|
3119
|
+
export declare const StreamRunAgentPublicMessagePartAgentsRequestKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPublicMessagePartAgentsRequestKind>;
|
|
3120
|
+
/** @internal */
|
|
3121
|
+
export declare const StreamRunAgentPublicMessagePartAgentsRequestKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPublicMessagePartAgentsRequestKind>;
|
|
3122
|
+
/** @internal */
|
|
3123
|
+
export declare const StreamRunAgentPublicMessagePartToolResultPart$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartToolResultPart, z.ZodTypeDef, unknown>;
|
|
3124
|
+
/** @internal */
|
|
3125
|
+
export type StreamRunAgentPublicMessagePartToolResultPart$Outbound = {
|
|
3126
|
+
kind: string;
|
|
3127
|
+
tool_call_id: string;
|
|
3128
|
+
result?: any | undefined;
|
|
3129
|
+
metadata?: {
|
|
3130
|
+
[k: string]: any;
|
|
3131
|
+
} | undefined;
|
|
3132
|
+
};
|
|
3133
|
+
/** @internal */
|
|
3134
|
+
export declare const StreamRunAgentPublicMessagePartToolResultPart$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartToolResultPart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartToolResultPart>;
|
|
3135
|
+
export declare function streamRunAgentPublicMessagePartToolResultPartToJSON(streamRunAgentPublicMessagePartToolResultPart: StreamRunAgentPublicMessagePartToolResultPart): string;
|
|
3136
|
+
export declare function streamRunAgentPublicMessagePartToolResultPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePartToolResultPart, SDKValidationError>;
|
|
3137
|
+
/** @internal */
|
|
3138
|
+
export declare const StreamRunAgentPublicMessagePartAgentsKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPublicMessagePartAgentsKind>;
|
|
3139
|
+
/** @internal */
|
|
3140
|
+
export declare const StreamRunAgentPublicMessagePartAgentsKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPublicMessagePartAgentsKind>;
|
|
3141
|
+
/** @internal */
|
|
3142
|
+
export declare const StreamRunAgentFileFileInURIFormat$inboundSchema: z.ZodType<StreamRunAgentFileFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
3143
|
+
/** @internal */
|
|
3144
|
+
export type StreamRunAgentFileFileInURIFormat$Outbound = {
|
|
3145
|
+
uri: string;
|
|
3146
|
+
mimeType?: string | undefined;
|
|
3147
|
+
name?: string | undefined;
|
|
3148
|
+
};
|
|
3149
|
+
/** @internal */
|
|
3150
|
+
export declare const StreamRunAgentFileFileInURIFormat$outboundSchema: z.ZodType<StreamRunAgentFileFileInURIFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileFileInURIFormat>;
|
|
3151
|
+
export declare function streamRunAgentFileFileInURIFormatToJSON(streamRunAgentFileFileInURIFormat: StreamRunAgentFileFileInURIFormat): string;
|
|
3152
|
+
export declare function streamRunAgentFileFileInURIFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFileFileInURIFormat, SDKValidationError>;
|
|
3153
|
+
/** @internal */
|
|
3154
|
+
export declare const StreamRunAgentFileBinaryFormat$inboundSchema: z.ZodType<StreamRunAgentFileBinaryFormat, z.ZodTypeDef, unknown>;
|
|
3155
|
+
/** @internal */
|
|
3156
|
+
export type StreamRunAgentFileBinaryFormat$Outbound = {
|
|
3157
|
+
bytes: string;
|
|
3158
|
+
mimeType?: string | undefined;
|
|
3159
|
+
name?: string | undefined;
|
|
3160
|
+
};
|
|
3161
|
+
/** @internal */
|
|
3162
|
+
export declare const StreamRunAgentFileBinaryFormat$outboundSchema: z.ZodType<StreamRunAgentFileBinaryFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileBinaryFormat>;
|
|
3163
|
+
export declare function streamRunAgentFileBinaryFormatToJSON(streamRunAgentFileBinaryFormat: StreamRunAgentFileBinaryFormat): string;
|
|
3164
|
+
export declare function streamRunAgentFileBinaryFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFileBinaryFormat, SDKValidationError>;
|
|
3165
|
+
/** @internal */
|
|
3166
|
+
export declare const StreamRunAgentPublicMessagePartFile$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFile, z.ZodTypeDef, unknown>;
|
|
3167
|
+
/** @internal */
|
|
3168
|
+
export type StreamRunAgentPublicMessagePartFile$Outbound = StreamRunAgentFileBinaryFormat$Outbound | StreamRunAgentFileFileInURIFormat$Outbound;
|
|
3169
|
+
/** @internal */
|
|
3170
|
+
export declare const StreamRunAgentPublicMessagePartFile$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFile$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartFile>;
|
|
3171
|
+
export declare function streamRunAgentPublicMessagePartFileToJSON(streamRunAgentPublicMessagePartFile: StreamRunAgentPublicMessagePartFile): string;
|
|
3172
|
+
export declare function streamRunAgentPublicMessagePartFileFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePartFile, SDKValidationError>;
|
|
3173
|
+
/** @internal */
|
|
3174
|
+
export declare const StreamRunAgentPublicMessagePartFilePart$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFilePart, z.ZodTypeDef, unknown>;
|
|
3175
|
+
/** @internal */
|
|
3176
|
+
export type StreamRunAgentPublicMessagePartFilePart$Outbound = {
|
|
3177
|
+
kind: string;
|
|
3178
|
+
file: StreamRunAgentFileBinaryFormat$Outbound | StreamRunAgentFileFileInURIFormat$Outbound;
|
|
3179
|
+
metadata?: {
|
|
3180
|
+
[k: string]: any;
|
|
3181
|
+
} | undefined;
|
|
3182
|
+
};
|
|
3183
|
+
/** @internal */
|
|
3184
|
+
export declare const StreamRunAgentPublicMessagePartFilePart$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFilePart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartFilePart>;
|
|
3185
|
+
export declare function streamRunAgentPublicMessagePartFilePartToJSON(streamRunAgentPublicMessagePartFilePart: StreamRunAgentPublicMessagePartFilePart): string;
|
|
3186
|
+
export declare function streamRunAgentPublicMessagePartFilePartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePartFilePart, SDKValidationError>;
|
|
3187
|
+
/** @internal */
|
|
3188
|
+
export declare const StreamRunAgentPublicMessagePartKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPublicMessagePartKind>;
|
|
3189
|
+
/** @internal */
|
|
3190
|
+
export declare const StreamRunAgentPublicMessagePartKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPublicMessagePartKind>;
|
|
3191
|
+
/** @internal */
|
|
3192
|
+
export declare const StreamRunAgentPublicMessagePartTextPart$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartTextPart, z.ZodTypeDef, unknown>;
|
|
3193
|
+
/** @internal */
|
|
3194
|
+
export type StreamRunAgentPublicMessagePartTextPart$Outbound = {
|
|
3195
|
+
kind: string;
|
|
3196
|
+
text: string;
|
|
3197
|
+
};
|
|
3198
|
+
/** @internal */
|
|
3199
|
+
export declare const StreamRunAgentPublicMessagePartTextPart$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartTextPart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartTextPart>;
|
|
3200
|
+
export declare function streamRunAgentPublicMessagePartTextPartToJSON(streamRunAgentPublicMessagePartTextPart: StreamRunAgentPublicMessagePartTextPart): string;
|
|
3201
|
+
export declare function streamRunAgentPublicMessagePartTextPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePartTextPart, SDKValidationError>;
|
|
3202
|
+
/** @internal */
|
|
3203
|
+
export declare const StreamRunAgentPublicMessagePart$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePart, z.ZodTypeDef, unknown>;
|
|
3204
|
+
/** @internal */
|
|
3205
|
+
export type StreamRunAgentPublicMessagePart$Outbound = StreamRunAgentPublicMessagePartTextPart$Outbound | StreamRunAgentPublicMessagePartFilePart$Outbound | StreamRunAgentPublicMessagePartToolResultPart$Outbound;
|
|
3206
|
+
/** @internal */
|
|
3207
|
+
export declare const StreamRunAgentPublicMessagePart$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePart>;
|
|
3208
|
+
export declare function streamRunAgentPublicMessagePartToJSON(streamRunAgentPublicMessagePart: StreamRunAgentPublicMessagePart): string;
|
|
3209
|
+
export declare function streamRunAgentPublicMessagePartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePart, SDKValidationError>;
|
|
3210
|
+
/** @internal */
|
|
3211
|
+
export declare const StreamRunAgentA2AMessage$inboundSchema: z.ZodType<StreamRunAgentA2AMessage, z.ZodTypeDef, unknown>;
|
|
3212
|
+
/** @internal */
|
|
3213
|
+
export type StreamRunAgentA2AMessage$Outbound = {
|
|
3214
|
+
messageId?: string | undefined;
|
|
3215
|
+
role: string | string;
|
|
3216
|
+
parts: Array<StreamRunAgentPublicMessagePartTextPart$Outbound | StreamRunAgentPublicMessagePartFilePart$Outbound | StreamRunAgentPublicMessagePartToolResultPart$Outbound>;
|
|
3217
|
+
};
|
|
3218
|
+
/** @internal */
|
|
3219
|
+
export declare const StreamRunAgentA2AMessage$outboundSchema: z.ZodType<StreamRunAgentA2AMessage$Outbound, z.ZodTypeDef, StreamRunAgentA2AMessage>;
|
|
3220
|
+
export declare function streamRunAgentA2AMessageToJSON(streamRunAgentA2AMessage: StreamRunAgentA2AMessage): string;
|
|
3221
|
+
export declare function streamRunAgentA2AMessageFromJSON(jsonString: string): SafeParseResult<StreamRunAgentA2AMessage, SDKValidationError>;
|
|
3222
|
+
/** @internal */
|
|
3223
|
+
export declare const StreamRunAgentContact$inboundSchema: z.ZodType<StreamRunAgentContact, z.ZodTypeDef, unknown>;
|
|
3224
|
+
/** @internal */
|
|
3225
|
+
export type StreamRunAgentContact$Outbound = {
|
|
3226
|
+
id: string;
|
|
3227
|
+
display_name?: string | undefined;
|
|
3228
|
+
email?: string | undefined;
|
|
3229
|
+
metadata?: Array<{
|
|
3230
|
+
[k: string]: any;
|
|
3231
|
+
}> | undefined;
|
|
3232
|
+
logo_url?: string | undefined;
|
|
3233
|
+
tags?: Array<string> | undefined;
|
|
3234
|
+
};
|
|
3235
|
+
/** @internal */
|
|
3236
|
+
export declare const StreamRunAgentContact$outboundSchema: z.ZodType<StreamRunAgentContact$Outbound, z.ZodTypeDef, StreamRunAgentContact>;
|
|
3237
|
+
export declare function streamRunAgentContactToJSON(streamRunAgentContact: StreamRunAgentContact): string;
|
|
3238
|
+
export declare function streamRunAgentContactFromJSON(jsonString: string): SafeParseResult<StreamRunAgentContact, SDKValidationError>;
|
|
3239
|
+
/** @internal */
|
|
3240
|
+
export declare const StreamRunAgentThread$inboundSchema: z.ZodType<StreamRunAgentThread, z.ZodTypeDef, unknown>;
|
|
3241
|
+
/** @internal */
|
|
3242
|
+
export type StreamRunAgentThread$Outbound = {
|
|
3243
|
+
id: string;
|
|
3244
|
+
tags?: Array<string> | undefined;
|
|
3245
|
+
};
|
|
3246
|
+
/** @internal */
|
|
3247
|
+
export declare const StreamRunAgentThread$outboundSchema: z.ZodType<StreamRunAgentThread$Outbound, z.ZodTypeDef, StreamRunAgentThread>;
|
|
3248
|
+
export declare function streamRunAgentThreadToJSON(streamRunAgentThread: StreamRunAgentThread): string;
|
|
3249
|
+
export declare function streamRunAgentThreadFromJSON(jsonString: string): SafeParseResult<StreamRunAgentThread, SDKValidationError>;
|
|
3250
|
+
/** @internal */
|
|
3251
|
+
export declare const StreamRunAgentMemory$inboundSchema: z.ZodType<StreamRunAgentMemory, z.ZodTypeDef, unknown>;
|
|
3252
|
+
/** @internal */
|
|
3253
|
+
export type StreamRunAgentMemory$Outbound = {
|
|
3254
|
+
entity_id: string;
|
|
3255
|
+
};
|
|
3256
|
+
/** @internal */
|
|
3257
|
+
export declare const StreamRunAgentMemory$outboundSchema: z.ZodType<StreamRunAgentMemory$Outbound, z.ZodTypeDef, StreamRunAgentMemory>;
|
|
3258
|
+
export declare function streamRunAgentMemoryToJSON(streamRunAgentMemory: StreamRunAgentMemory): string;
|
|
3259
|
+
export declare function streamRunAgentMemoryFromJSON(jsonString: string): SafeParseResult<StreamRunAgentMemory, SDKValidationError>;
|
|
3260
|
+
/** @internal */
|
|
3261
|
+
export declare const StreamRunAgentKnowledgeBases$inboundSchema: z.ZodType<StreamRunAgentKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
3262
|
+
/** @internal */
|
|
3263
|
+
export type StreamRunAgentKnowledgeBases$Outbound = {
|
|
3264
|
+
knowledge_id: string;
|
|
3265
|
+
};
|
|
3266
|
+
/** @internal */
|
|
3267
|
+
export declare const StreamRunAgentKnowledgeBases$outboundSchema: z.ZodType<StreamRunAgentKnowledgeBases$Outbound, z.ZodTypeDef, StreamRunAgentKnowledgeBases>;
|
|
3268
|
+
export declare function streamRunAgentKnowledgeBasesToJSON(streamRunAgentKnowledgeBases: StreamRunAgentKnowledgeBases): string;
|
|
3269
|
+
export declare function streamRunAgentKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<StreamRunAgentKnowledgeBases, SDKValidationError>;
|
|
3270
|
+
/** @internal */
|
|
3271
|
+
export declare const StreamRunAgentTeamOfAgents$inboundSchema: z.ZodType<StreamRunAgentTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
3272
|
+
/** @internal */
|
|
3273
|
+
export type StreamRunAgentTeamOfAgents$Outbound = {
|
|
3274
|
+
key: string;
|
|
3275
|
+
role?: string | undefined;
|
|
3276
|
+
};
|
|
3277
|
+
/** @internal */
|
|
3278
|
+
export declare const StreamRunAgentTeamOfAgents$outboundSchema: z.ZodType<StreamRunAgentTeamOfAgents$Outbound, z.ZodTypeDef, StreamRunAgentTeamOfAgents>;
|
|
3279
|
+
export declare function streamRunAgentTeamOfAgentsToJSON(streamRunAgentTeamOfAgents: StreamRunAgentTeamOfAgents): string;
|
|
3280
|
+
export declare function streamRunAgentTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentTeamOfAgents, SDKValidationError>;
|
|
3281
|
+
/** @internal */
|
|
3282
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15Type>;
|
|
3283
|
+
/** @internal */
|
|
3284
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15Type>;
|
|
3285
|
+
/** @internal */
|
|
3286
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsHeaders$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunAgentsHeaders, z.ZodTypeDef, unknown>;
|
|
3287
|
+
/** @internal */
|
|
3288
|
+
export type StreamRunAgentAgentToolInputRunAgentsHeaders$Outbound = {
|
|
3289
|
+
value: string;
|
|
3290
|
+
encrypted: boolean;
|
|
3291
|
+
};
|
|
3292
|
+
/** @internal */
|
|
3293
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsHeaders$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunAgentsHeaders$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunAgentsHeaders>;
|
|
3294
|
+
export declare function streamRunAgentAgentToolInputRunAgentsHeadersToJSON(streamRunAgentAgentToolInputRunAgentsHeaders: StreamRunAgentAgentToolInputRunAgentsHeaders): string;
|
|
3295
|
+
export declare function streamRunAgentAgentToolInputRunAgentsHeadersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunAgentsHeaders, SDKValidationError>;
|
|
3296
|
+
/** @internal */
|
|
3297
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15McpType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15McpType>;
|
|
3298
|
+
/** @internal */
|
|
3299
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15McpType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15McpType>;
|
|
3300
|
+
/** @internal */
|
|
3301
|
+
export declare const AgentToolInputRunSchema$inboundSchema: z.ZodType<AgentToolInputRunSchema, z.ZodTypeDef, unknown>;
|
|
3302
|
+
/** @internal */
|
|
3303
|
+
export type AgentToolInputRunSchema$Outbound = {
|
|
3304
|
+
type: string;
|
|
3305
|
+
properties?: {
|
|
3306
|
+
[k: string]: any;
|
|
3307
|
+
} | undefined;
|
|
3308
|
+
required?: Array<string> | undefined;
|
|
3309
|
+
};
|
|
3310
|
+
/** @internal */
|
|
3311
|
+
export declare const AgentToolInputRunSchema$outboundSchema: z.ZodType<AgentToolInputRunSchema$Outbound, z.ZodTypeDef, AgentToolInputRunSchema>;
|
|
3312
|
+
export declare function agentToolInputRunSchemaToJSON(agentToolInputRunSchema: AgentToolInputRunSchema): string;
|
|
3313
|
+
export declare function agentToolInputRunSchemaFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunSchema, SDKValidationError>;
|
|
3314
|
+
/** @internal */
|
|
3315
|
+
export declare const AgentToolInputRunTools$inboundSchema: z.ZodType<AgentToolInputRunTools, z.ZodTypeDef, unknown>;
|
|
3316
|
+
/** @internal */
|
|
3317
|
+
export type AgentToolInputRunTools$Outbound = {
|
|
3318
|
+
id: string;
|
|
3319
|
+
name: string;
|
|
3320
|
+
description?: string | undefined;
|
|
3321
|
+
schema: AgentToolInputRunSchema$Outbound;
|
|
3322
|
+
};
|
|
3323
|
+
/** @internal */
|
|
3324
|
+
export declare const AgentToolInputRunTools$outboundSchema: z.ZodType<AgentToolInputRunTools$Outbound, z.ZodTypeDef, AgentToolInputRunTools>;
|
|
3325
|
+
export declare function agentToolInputRunToolsToJSON(agentToolInputRunTools: AgentToolInputRunTools): string;
|
|
3326
|
+
export declare function agentToolInputRunToolsFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunTools, SDKValidationError>;
|
|
3327
|
+
/** @internal */
|
|
3328
|
+
export declare const AgentToolInputRunConnectionType$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunConnectionType>;
|
|
3329
|
+
/** @internal */
|
|
3330
|
+
export declare const AgentToolInputRunConnectionType$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunConnectionType>;
|
|
3331
|
+
/** @internal */
|
|
3332
|
+
export declare const AgentToolInputRunMcp$inboundSchema: z.ZodType<AgentToolInputRunMcp, z.ZodTypeDef, unknown>;
|
|
3333
|
+
/** @internal */
|
|
3334
|
+
export type AgentToolInputRunMcp$Outbound = {
|
|
3335
|
+
server_url: string;
|
|
3336
|
+
headers?: {
|
|
3337
|
+
[k: string]: StreamRunAgentAgentToolInputRunAgentsHeaders$Outbound;
|
|
3338
|
+
} | undefined;
|
|
3339
|
+
tools: Array<AgentToolInputRunTools$Outbound>;
|
|
3340
|
+
connection_type: string;
|
|
3341
|
+
};
|
|
3342
|
+
/** @internal */
|
|
3343
|
+
export declare const AgentToolInputRunMcp$outboundSchema: z.ZodType<AgentToolInputRunMcp$Outbound, z.ZodTypeDef, AgentToolInputRunMcp>;
|
|
3344
|
+
export declare function agentToolInputRunMcpToJSON(agentToolInputRunMcp: AgentToolInputRunMcp): string;
|
|
3345
|
+
export declare function agentToolInputRunMcpFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunMcp, SDKValidationError>;
|
|
3346
|
+
/** @internal */
|
|
3347
|
+
export declare const AgentToolInputRunMCPToolRun$inboundSchema: z.ZodType<AgentToolInputRunMCPToolRun, z.ZodTypeDef, unknown>;
|
|
3348
|
+
/** @internal */
|
|
3349
|
+
export type AgentToolInputRunMCPToolRun$Outbound = {
|
|
3350
|
+
type: string;
|
|
3351
|
+
key: string;
|
|
3352
|
+
_id?: string | undefined;
|
|
3353
|
+
display_name?: string | undefined;
|
|
3354
|
+
description: string;
|
|
3355
|
+
mcp: AgentToolInputRunMcp$Outbound;
|
|
3356
|
+
requires_approval: boolean;
|
|
3357
|
+
};
|
|
3358
|
+
/** @internal */
|
|
3359
|
+
export declare const AgentToolInputRunMCPToolRun$outboundSchema: z.ZodType<AgentToolInputRunMCPToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunMCPToolRun>;
|
|
3360
|
+
export declare function agentToolInputRunMCPToolRunToJSON(agentToolInputRunMCPToolRun: AgentToolInputRunMCPToolRun): string;
|
|
3361
|
+
export declare function agentToolInputRunMCPToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunMCPToolRun, SDKValidationError>;
|
|
3362
|
+
/** @internal */
|
|
3363
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type>;
|
|
3364
|
+
/** @internal */
|
|
3365
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type>;
|
|
3366
|
+
/** @internal */
|
|
3367
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14FunctionType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14FunctionType>;
|
|
3368
|
+
/** @internal */
|
|
3369
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14FunctionType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14FunctionType>;
|
|
3370
|
+
/** @internal */
|
|
3371
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsParameters$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunAgentsParameters, z.ZodTypeDef, unknown>;
|
|
3372
|
+
/** @internal */
|
|
3373
|
+
export type StreamRunAgentAgentToolInputRunAgentsParameters$Outbound = {
|
|
3374
|
+
type: string;
|
|
3375
|
+
properties: {
|
|
3376
|
+
[k: string]: any;
|
|
3377
|
+
};
|
|
3378
|
+
required: Array<string>;
|
|
3379
|
+
[additionalProperties: string]: unknown;
|
|
3380
|
+
};
|
|
3381
|
+
/** @internal */
|
|
3382
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsParameters$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunAgentsParameters$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunAgentsParameters>;
|
|
3383
|
+
export declare function streamRunAgentAgentToolInputRunAgentsParametersToJSON(streamRunAgentAgentToolInputRunAgentsParameters: StreamRunAgentAgentToolInputRunAgentsParameters): string;
|
|
3384
|
+
export declare function streamRunAgentAgentToolInputRunAgentsParametersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunAgentsParameters, SDKValidationError>;
|
|
3385
|
+
/** @internal */
|
|
3386
|
+
export declare const StreamRunAgentAgentToolInputRunFunction$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunFunction, z.ZodTypeDef, unknown>;
|
|
3387
|
+
/** @internal */
|
|
3388
|
+
export type StreamRunAgentAgentToolInputRunFunction$Outbound = {
|
|
3389
|
+
name: string;
|
|
3390
|
+
description?: string | undefined;
|
|
3391
|
+
strict?: boolean | undefined;
|
|
3392
|
+
parameters?: StreamRunAgentAgentToolInputRunAgentsParameters$Outbound | undefined;
|
|
3393
|
+
};
|
|
3394
|
+
/** @internal */
|
|
3395
|
+
export declare const StreamRunAgentAgentToolInputRunFunction$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunFunction$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunFunction>;
|
|
3396
|
+
export declare function streamRunAgentAgentToolInputRunFunctionToJSON(streamRunAgentAgentToolInputRunFunction: StreamRunAgentAgentToolInputRunFunction): string;
|
|
3397
|
+
export declare function streamRunAgentAgentToolInputRunFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunFunction, SDKValidationError>;
|
|
3398
|
+
/** @internal */
|
|
3399
|
+
export declare const AgentToolInputRunFunctionToolRun$inboundSchema: z.ZodType<AgentToolInputRunFunctionToolRun, z.ZodTypeDef, unknown>;
|
|
3400
|
+
/** @internal */
|
|
3401
|
+
export type AgentToolInputRunFunctionToolRun$Outbound = {
|
|
3402
|
+
type: string;
|
|
3403
|
+
key: string;
|
|
3404
|
+
_id?: string | undefined;
|
|
3405
|
+
display_name?: string | undefined;
|
|
3406
|
+
description?: string | undefined;
|
|
3407
|
+
function: StreamRunAgentAgentToolInputRunFunction$Outbound;
|
|
3408
|
+
requires_approval: boolean;
|
|
3409
|
+
};
|
|
3410
|
+
/** @internal */
|
|
3411
|
+
export declare const AgentToolInputRunFunctionToolRun$outboundSchema: z.ZodType<AgentToolInputRunFunctionToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunFunctionToolRun>;
|
|
3412
|
+
export declare function agentToolInputRunFunctionToolRunToJSON(agentToolInputRunFunctionToolRun: AgentToolInputRunFunctionToolRun): string;
|
|
3413
|
+
export declare function agentToolInputRunFunctionToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunFunctionToolRun, SDKValidationError>;
|
|
3414
|
+
/** @internal */
|
|
3415
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type>;
|
|
3416
|
+
/** @internal */
|
|
3417
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type>;
|
|
3418
|
+
/** @internal */
|
|
3419
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13CodeToolType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13CodeToolType>;
|
|
3420
|
+
/** @internal */
|
|
3421
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13CodeToolType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13CodeToolType>;
|
|
3422
|
+
/** @internal */
|
|
3423
|
+
export declare const StreamRunAgentAgentToolInputRunParameters$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunParameters, z.ZodTypeDef, unknown>;
|
|
3424
|
+
/** @internal */
|
|
3425
|
+
export type StreamRunAgentAgentToolInputRunParameters$Outbound = {
|
|
3426
|
+
type: string;
|
|
3427
|
+
properties: {
|
|
3428
|
+
[k: string]: any;
|
|
3429
|
+
};
|
|
3430
|
+
required: Array<string>;
|
|
3431
|
+
[additionalProperties: string]: unknown;
|
|
1469
3432
|
};
|
|
1470
3433
|
/** @internal */
|
|
1471
|
-
export declare const
|
|
3434
|
+
export declare const StreamRunAgentAgentToolInputRunParameters$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunParameters$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunParameters>;
|
|
3435
|
+
export declare function streamRunAgentAgentToolInputRunParametersToJSON(streamRunAgentAgentToolInputRunParameters: StreamRunAgentAgentToolInputRunParameters): string;
|
|
3436
|
+
export declare function streamRunAgentAgentToolInputRunParametersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunParameters, SDKValidationError>;
|
|
1472
3437
|
/** @internal */
|
|
1473
|
-
export declare const
|
|
3438
|
+
export declare const AgentToolInputRunLanguage$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunLanguage>;
|
|
1474
3439
|
/** @internal */
|
|
1475
|
-
export declare const
|
|
3440
|
+
export declare const AgentToolInputRunLanguage$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunLanguage>;
|
|
1476
3441
|
/** @internal */
|
|
1477
|
-
export declare const
|
|
3442
|
+
export declare const AgentToolInputRunCodeTool$inboundSchema: z.ZodType<AgentToolInputRunCodeTool, z.ZodTypeDef, unknown>;
|
|
1478
3443
|
/** @internal */
|
|
1479
|
-
export
|
|
3444
|
+
export type AgentToolInputRunCodeTool$Outbound = {
|
|
3445
|
+
parameters?: StreamRunAgentAgentToolInputRunParameters$Outbound | undefined;
|
|
3446
|
+
language: string;
|
|
3447
|
+
code: string;
|
|
3448
|
+
};
|
|
1480
3449
|
/** @internal */
|
|
1481
|
-
export
|
|
1482
|
-
|
|
1483
|
-
|
|
3450
|
+
export declare const AgentToolInputRunCodeTool$outboundSchema: z.ZodType<AgentToolInputRunCodeTool$Outbound, z.ZodTypeDef, AgentToolInputRunCodeTool>;
|
|
3451
|
+
export declare function agentToolInputRunCodeToolToJSON(agentToolInputRunCodeTool: AgentToolInputRunCodeTool): string;
|
|
3452
|
+
export declare function agentToolInputRunCodeToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunCodeTool, SDKValidationError>;
|
|
3453
|
+
/** @internal */
|
|
3454
|
+
export declare const AgentToolInputRunCodeToolRun$inboundSchema: z.ZodType<AgentToolInputRunCodeToolRun, z.ZodTypeDef, unknown>;
|
|
3455
|
+
/** @internal */
|
|
3456
|
+
export type AgentToolInputRunCodeToolRun$Outbound = {
|
|
3457
|
+
type: string;
|
|
3458
|
+
key: string;
|
|
3459
|
+
_id?: string | undefined;
|
|
3460
|
+
display_name?: string | undefined;
|
|
3461
|
+
description: string;
|
|
3462
|
+
code_tool: AgentToolInputRunCodeTool$Outbound;
|
|
3463
|
+
requires_approval: boolean;
|
|
1484
3464
|
};
|
|
1485
3465
|
/** @internal */
|
|
1486
|
-
export declare const
|
|
1487
|
-
export declare function
|
|
1488
|
-
export declare function
|
|
3466
|
+
export declare const AgentToolInputRunCodeToolRun$outboundSchema: z.ZodType<AgentToolInputRunCodeToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunCodeToolRun>;
|
|
3467
|
+
export declare function agentToolInputRunCodeToolRunToJSON(agentToolInputRunCodeToolRun: AgentToolInputRunCodeToolRun): string;
|
|
3468
|
+
export declare function agentToolInputRunCodeToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunCodeToolRun, SDKValidationError>;
|
|
1489
3469
|
/** @internal */
|
|
1490
|
-
export declare const
|
|
3470
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type>;
|
|
1491
3471
|
/** @internal */
|
|
1492
|
-
export declare const
|
|
3472
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type>;
|
|
1493
3473
|
/** @internal */
|
|
1494
|
-
export declare const
|
|
3474
|
+
export declare const AgentToolInputRunMethod$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunMethod>;
|
|
1495
3475
|
/** @internal */
|
|
1496
|
-
export
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
3476
|
+
export declare const AgentToolInputRunMethod$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunMethod>;
|
|
3477
|
+
/** @internal */
|
|
3478
|
+
export declare const StreamRunAgentHeaders2$inboundSchema: z.ZodType<StreamRunAgentHeaders2, z.ZodTypeDef, unknown>;
|
|
3479
|
+
/** @internal */
|
|
3480
|
+
export type StreamRunAgentHeaders2$Outbound = {
|
|
3481
|
+
value: string;
|
|
3482
|
+
encrypted: boolean;
|
|
1501
3483
|
};
|
|
1502
3484
|
/** @internal */
|
|
1503
|
-
export declare const
|
|
1504
|
-
export declare function
|
|
1505
|
-
export declare function
|
|
3485
|
+
export declare const StreamRunAgentHeaders2$outboundSchema: z.ZodType<StreamRunAgentHeaders2$Outbound, z.ZodTypeDef, StreamRunAgentHeaders2>;
|
|
3486
|
+
export declare function streamRunAgentHeaders2ToJSON(streamRunAgentHeaders2: StreamRunAgentHeaders2): string;
|
|
3487
|
+
export declare function streamRunAgentHeaders2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentHeaders2, SDKValidationError>;
|
|
1506
3488
|
/** @internal */
|
|
1507
|
-
export declare const
|
|
3489
|
+
export declare const StreamRunAgentAgentToolInputRunHeaders$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunHeaders, z.ZodTypeDef, unknown>;
|
|
1508
3490
|
/** @internal */
|
|
1509
|
-
export type
|
|
3491
|
+
export type StreamRunAgentAgentToolInputRunHeaders$Outbound = StreamRunAgentHeaders2$Outbound | string;
|
|
3492
|
+
/** @internal */
|
|
3493
|
+
export declare const StreamRunAgentAgentToolInputRunHeaders$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunHeaders$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunHeaders>;
|
|
3494
|
+
export declare function streamRunAgentAgentToolInputRunHeadersToJSON(streamRunAgentAgentToolInputRunHeaders: StreamRunAgentAgentToolInputRunHeaders): string;
|
|
3495
|
+
export declare function streamRunAgentAgentToolInputRunHeadersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunHeaders, SDKValidationError>;
|
|
3496
|
+
/** @internal */
|
|
3497
|
+
export declare const AgentToolInputRunBlueprint$inboundSchema: z.ZodType<AgentToolInputRunBlueprint, z.ZodTypeDef, unknown>;
|
|
3498
|
+
/** @internal */
|
|
3499
|
+
export type AgentToolInputRunBlueprint$Outbound = {
|
|
3500
|
+
url: string;
|
|
3501
|
+
method: string;
|
|
3502
|
+
headers?: {
|
|
3503
|
+
[k: string]: StreamRunAgentHeaders2$Outbound | string;
|
|
3504
|
+
} | undefined;
|
|
3505
|
+
body?: {
|
|
3506
|
+
[k: string]: any;
|
|
3507
|
+
} | undefined;
|
|
3508
|
+
};
|
|
3509
|
+
/** @internal */
|
|
3510
|
+
export declare const AgentToolInputRunBlueprint$outboundSchema: z.ZodType<AgentToolInputRunBlueprint$Outbound, z.ZodTypeDef, AgentToolInputRunBlueprint>;
|
|
3511
|
+
export declare function agentToolInputRunBlueprintToJSON(agentToolInputRunBlueprint: AgentToolInputRunBlueprint): string;
|
|
3512
|
+
export declare function agentToolInputRunBlueprintFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunBlueprint, SDKValidationError>;
|
|
3513
|
+
/** @internal */
|
|
3514
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType>;
|
|
3515
|
+
/** @internal */
|
|
3516
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType>;
|
|
3517
|
+
/** @internal */
|
|
3518
|
+
export declare const AgentToolInputRunDefaultValue$inboundSchema: z.ZodType<AgentToolInputRunDefaultValue, z.ZodTypeDef, unknown>;
|
|
3519
|
+
/** @internal */
|
|
3520
|
+
export type AgentToolInputRunDefaultValue$Outbound = string | number | boolean;
|
|
3521
|
+
/** @internal */
|
|
3522
|
+
export declare const AgentToolInputRunDefaultValue$outboundSchema: z.ZodType<AgentToolInputRunDefaultValue$Outbound, z.ZodTypeDef, AgentToolInputRunDefaultValue>;
|
|
3523
|
+
export declare function agentToolInputRunDefaultValueToJSON(agentToolInputRunDefaultValue: AgentToolInputRunDefaultValue): string;
|
|
3524
|
+
export declare function agentToolInputRunDefaultValueFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunDefaultValue, SDKValidationError>;
|
|
3525
|
+
/** @internal */
|
|
3526
|
+
export declare const AgentToolInputRunArguments$inboundSchema: z.ZodType<AgentToolInputRunArguments, z.ZodTypeDef, unknown>;
|
|
3527
|
+
/** @internal */
|
|
3528
|
+
export type AgentToolInputRunArguments$Outbound = {
|
|
1510
3529
|
type: string;
|
|
1511
|
-
|
|
3530
|
+
description: string;
|
|
3531
|
+
send_to_model: boolean;
|
|
3532
|
+
default_value?: string | number | boolean | undefined;
|
|
1512
3533
|
};
|
|
1513
3534
|
/** @internal */
|
|
1514
|
-
export declare const
|
|
1515
|
-
export declare function
|
|
1516
|
-
export declare function
|
|
3535
|
+
export declare const AgentToolInputRunArguments$outboundSchema: z.ZodType<AgentToolInputRunArguments$Outbound, z.ZodTypeDef, AgentToolInputRunArguments>;
|
|
3536
|
+
export declare function agentToolInputRunArgumentsToJSON(agentToolInputRunArguments: AgentToolInputRunArguments): string;
|
|
3537
|
+
export declare function agentToolInputRunArgumentsFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunArguments, SDKValidationError>;
|
|
1517
3538
|
/** @internal */
|
|
1518
|
-
export declare const
|
|
3539
|
+
export declare const AgentToolInputRunHttp$inboundSchema: z.ZodType<AgentToolInputRunHttp, z.ZodTypeDef, unknown>;
|
|
1519
3540
|
/** @internal */
|
|
1520
|
-
export
|
|
3541
|
+
export type AgentToolInputRunHttp$Outbound = {
|
|
3542
|
+
blueprint: AgentToolInputRunBlueprint$Outbound;
|
|
3543
|
+
arguments?: {
|
|
3544
|
+
[k: string]: AgentToolInputRunArguments$Outbound;
|
|
3545
|
+
} | undefined;
|
|
3546
|
+
};
|
|
1521
3547
|
/** @internal */
|
|
1522
|
-
export declare const
|
|
3548
|
+
export declare const AgentToolInputRunHttp$outboundSchema: z.ZodType<AgentToolInputRunHttp$Outbound, z.ZodTypeDef, AgentToolInputRunHttp>;
|
|
3549
|
+
export declare function agentToolInputRunHttpToJSON(agentToolInputRunHttp: AgentToolInputRunHttp): string;
|
|
3550
|
+
export declare function agentToolInputRunHttpFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunHttp, SDKValidationError>;
|
|
1523
3551
|
/** @internal */
|
|
1524
|
-
export
|
|
3552
|
+
export declare const AgentToolInputRunHTTPToolRun$inboundSchema: z.ZodType<AgentToolInputRunHTTPToolRun, z.ZodTypeDef, unknown>;
|
|
3553
|
+
/** @internal */
|
|
3554
|
+
export type AgentToolInputRunHTTPToolRun$Outbound = {
|
|
1525
3555
|
type: string;
|
|
3556
|
+
key: string;
|
|
3557
|
+
_id?: string | undefined;
|
|
3558
|
+
display_name?: string | undefined;
|
|
3559
|
+
description: string;
|
|
3560
|
+
http: AgentToolInputRunHttp$Outbound;
|
|
3561
|
+
requires_approval: boolean;
|
|
1526
3562
|
};
|
|
1527
3563
|
/** @internal */
|
|
1528
|
-
export declare const
|
|
1529
|
-
export declare function
|
|
1530
|
-
export declare function
|
|
3564
|
+
export declare const AgentToolInputRunHTTPToolRun$outboundSchema: z.ZodType<AgentToolInputRunHTTPToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunHTTPToolRun>;
|
|
3565
|
+
export declare function agentToolInputRunHTTPToolRunToJSON(agentToolInputRunHTTPToolRun: AgentToolInputRunHTTPToolRun): string;
|
|
3566
|
+
export declare function agentToolInputRunHTTPToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunHTTPToolRun, SDKValidationError>;
|
|
1531
3567
|
/** @internal */
|
|
1532
|
-
export declare const
|
|
3568
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type>;
|
|
1533
3569
|
/** @internal */
|
|
1534
|
-
export declare const
|
|
3570
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type>;
|
|
1535
3571
|
/** @internal */
|
|
1536
|
-
export declare const
|
|
3572
|
+
export declare const StreamRunAgentAgentToolInputRunCurrentDateTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCurrentDateTool, z.ZodTypeDef, unknown>;
|
|
1537
3573
|
/** @internal */
|
|
1538
|
-
export type
|
|
3574
|
+
export type StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound = {
|
|
1539
3575
|
type: string;
|
|
3576
|
+
requires_approval?: boolean | undefined;
|
|
1540
3577
|
};
|
|
1541
3578
|
/** @internal */
|
|
1542
|
-
export declare const
|
|
1543
|
-
export declare function
|
|
1544
|
-
export declare function
|
|
3579
|
+
export declare const StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunCurrentDateTool>;
|
|
3580
|
+
export declare function streamRunAgentAgentToolInputRunCurrentDateToolToJSON(streamRunAgentAgentToolInputRunCurrentDateTool: StreamRunAgentAgentToolInputRunCurrentDateTool): string;
|
|
3581
|
+
export declare function streamRunAgentAgentToolInputRunCurrentDateToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunCurrentDateTool, SDKValidationError>;
|
|
1545
3582
|
/** @internal */
|
|
1546
|
-
export declare const
|
|
3583
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type>;
|
|
1547
3584
|
/** @internal */
|
|
1548
|
-
export
|
|
3585
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type>;
|
|
1549
3586
|
/** @internal */
|
|
1550
|
-
export declare const
|
|
1551
|
-
export declare function streamRunAgentModelConfigurationResponseFormatToJSON(streamRunAgentModelConfigurationResponseFormat: StreamRunAgentModelConfigurationResponseFormat): string;
|
|
1552
|
-
export declare function streamRunAgentModelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationResponseFormat, SDKValidationError>;
|
|
3587
|
+
export declare const StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
|
|
1553
3588
|
/** @internal */
|
|
1554
|
-
export
|
|
3589
|
+
export type StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound = {
|
|
3590
|
+
type: string;
|
|
3591
|
+
requires_approval?: boolean | undefined;
|
|
3592
|
+
};
|
|
1555
3593
|
/** @internal */
|
|
1556
|
-
export
|
|
3594
|
+
export declare const StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool>;
|
|
3595
|
+
export declare function streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolToJSON(streamRunAgentAgentToolInputRunQueryKnowledgeBaseTool: StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool): string;
|
|
3596
|
+
export declare function streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool, SDKValidationError>;
|
|
3597
|
+
/** @internal */
|
|
3598
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type>;
|
|
3599
|
+
/** @internal */
|
|
3600
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type>;
|
|
3601
|
+
/** @internal */
|
|
3602
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
|
|
3603
|
+
/** @internal */
|
|
3604
|
+
export type StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound = {
|
|
3605
|
+
type: string;
|
|
3606
|
+
requires_approval?: boolean | undefined;
|
|
3607
|
+
};
|
|
3608
|
+
/** @internal */
|
|
3609
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool>;
|
|
3610
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolToJSON(streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool: StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool): string;
|
|
3611
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool, SDKValidationError>;
|
|
3612
|
+
/** @internal */
|
|
3613
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type>;
|
|
3614
|
+
/** @internal */
|
|
3615
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type>;
|
|
3616
|
+
/** @internal */
|
|
3617
|
+
export declare const StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
|
|
3618
|
+
/** @internal */
|
|
3619
|
+
export type StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound = {
|
|
3620
|
+
type: string;
|
|
3621
|
+
requires_approval?: boolean | undefined;
|
|
3622
|
+
};
|
|
3623
|
+
/** @internal */
|
|
3624
|
+
export declare const StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool>;
|
|
3625
|
+
export declare function streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolToJSON(streamRunAgentAgentToolInputRunDeleteMemoryDocumentTool: StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool): string;
|
|
3626
|
+
export declare function streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool, SDKValidationError>;
|
|
3627
|
+
/** @internal */
|
|
3628
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type>;
|
|
3629
|
+
/** @internal */
|
|
3630
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type>;
|
|
3631
|
+
/** @internal */
|
|
3632
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
|
|
3633
|
+
/** @internal */
|
|
3634
|
+
export type StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound = {
|
|
3635
|
+
type: string;
|
|
3636
|
+
requires_approval?: boolean | undefined;
|
|
3637
|
+
};
|
|
3638
|
+
/** @internal */
|
|
3639
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool>;
|
|
3640
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolToJSON(streamRunAgentAgentToolInputRunRetrieveMemoryStoresTool: StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool): string;
|
|
3641
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool, SDKValidationError>;
|
|
3642
|
+
/** @internal */
|
|
3643
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType>;
|
|
3644
|
+
/** @internal */
|
|
3645
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType>;
|
|
3646
|
+
/** @internal */
|
|
3647
|
+
export declare const StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
3648
|
+
/** @internal */
|
|
3649
|
+
export type StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound = {
|
|
3650
|
+
type: string;
|
|
3651
|
+
requires_approval?: boolean | undefined;
|
|
3652
|
+
};
|
|
3653
|
+
/** @internal */
|
|
3654
|
+
export declare const StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunWriteMemoryStoreTool>;
|
|
3655
|
+
export declare function streamRunAgentAgentToolInputRunWriteMemoryStoreToolToJSON(streamRunAgentAgentToolInputRunWriteMemoryStoreTool: StreamRunAgentAgentToolInputRunWriteMemoryStoreTool): string;
|
|
3656
|
+
export declare function streamRunAgentAgentToolInputRunWriteMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool, SDKValidationError>;
|
|
3657
|
+
/** @internal */
|
|
3658
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType>;
|
|
3659
|
+
/** @internal */
|
|
3660
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType>;
|
|
3661
|
+
/** @internal */
|
|
3662
|
+
export declare const StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
3663
|
+
/** @internal */
|
|
3664
|
+
export type StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound = {
|
|
3665
|
+
type: string;
|
|
3666
|
+
requires_approval?: boolean | undefined;
|
|
3667
|
+
};
|
|
1557
3668
|
/** @internal */
|
|
1558
|
-
export declare const
|
|
1559
|
-
export declare function
|
|
1560
|
-
export declare function
|
|
3669
|
+
export declare const StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunQueryMemoryStoreTool>;
|
|
3670
|
+
export declare function streamRunAgentAgentToolInputRunQueryMemoryStoreToolToJSON(streamRunAgentAgentToolInputRunQueryMemoryStoreTool: StreamRunAgentAgentToolInputRunQueryMemoryStoreTool): string;
|
|
3671
|
+
export declare function streamRunAgentAgentToolInputRunQueryMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool, SDKValidationError>;
|
|
1561
3672
|
/** @internal */
|
|
1562
|
-
export declare const
|
|
3673
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType>;
|
|
1563
3674
|
/** @internal */
|
|
1564
|
-
export
|
|
1565
|
-
include_usage?: boolean | undefined;
|
|
1566
|
-
};
|
|
3675
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType>;
|
|
1567
3676
|
/** @internal */
|
|
1568
|
-
export declare const
|
|
1569
|
-
export declare function streamRunAgentModelConfigurationStreamOptionsToJSON(streamRunAgentModelConfigurationStreamOptions: StreamRunAgentModelConfigurationStreamOptions): string;
|
|
1570
|
-
export declare function streamRunAgentModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationStreamOptions, SDKValidationError>;
|
|
3677
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveAgentsTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveAgentsTool, z.ZodTypeDef, unknown>;
|
|
1571
3678
|
/** @internal */
|
|
1572
|
-
export
|
|
3679
|
+
export type StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound = {
|
|
3680
|
+
type: string;
|
|
3681
|
+
requires_approval?: boolean | undefined;
|
|
3682
|
+
};
|
|
1573
3683
|
/** @internal */
|
|
1574
|
-
export declare const
|
|
3684
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveAgentsTool>;
|
|
3685
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveAgentsToolToJSON(streamRunAgentAgentToolInputRunRetrieveAgentsTool: StreamRunAgentAgentToolInputRunRetrieveAgentsTool): string;
|
|
3686
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveAgentsToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunRetrieveAgentsTool, SDKValidationError>;
|
|
1575
3687
|
/** @internal */
|
|
1576
|
-
export declare const
|
|
3688
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestType>;
|
|
1577
3689
|
/** @internal */
|
|
1578
|
-
export declare const
|
|
3690
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestType>;
|
|
1579
3691
|
/** @internal */
|
|
1580
|
-
export declare const
|
|
3692
|
+
export declare const StreamRunAgentAgentToolInputRunCallSubAgentTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCallSubAgentTool, z.ZodTypeDef, unknown>;
|
|
1581
3693
|
/** @internal */
|
|
1582
|
-
export type
|
|
3694
|
+
export type StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound = {
|
|
1583
3695
|
type: string;
|
|
1584
|
-
|
|
1585
|
-
thinking_level?: string | undefined;
|
|
3696
|
+
requires_approval?: boolean | undefined;
|
|
1586
3697
|
};
|
|
1587
3698
|
/** @internal */
|
|
1588
|
-
export declare const
|
|
1589
|
-
export declare function
|
|
1590
|
-
export declare function
|
|
3699
|
+
export declare const StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunCallSubAgentTool>;
|
|
3700
|
+
export declare function streamRunAgentAgentToolInputRunCallSubAgentToolToJSON(streamRunAgentAgentToolInputRunCallSubAgentTool: StreamRunAgentAgentToolInputRunCallSubAgentTool): string;
|
|
3701
|
+
export declare function streamRunAgentAgentToolInputRunCallSubAgentToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunCallSubAgentTool, SDKValidationError>;
|
|
1591
3702
|
/** @internal */
|
|
1592
|
-
export declare const
|
|
3703
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsType>;
|
|
1593
3704
|
/** @internal */
|
|
1594
|
-
export declare const
|
|
3705
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsType>;
|
|
1595
3706
|
/** @internal */
|
|
1596
|
-
export declare const
|
|
3707
|
+
export declare const StreamRunAgentAgentToolInputRunWebScraperTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWebScraperTool, z.ZodTypeDef, unknown>;
|
|
1597
3708
|
/** @internal */
|
|
1598
|
-
export type
|
|
1599
|
-
|
|
3709
|
+
export type StreamRunAgentAgentToolInputRunWebScraperTool$Outbound = {
|
|
3710
|
+
type: string;
|
|
3711
|
+
requires_approval?: boolean | undefined;
|
|
1600
3712
|
};
|
|
1601
3713
|
/** @internal */
|
|
1602
|
-
export declare const
|
|
1603
|
-
export declare function
|
|
1604
|
-
export declare function
|
|
3714
|
+
export declare const StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWebScraperTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunWebScraperTool>;
|
|
3715
|
+
export declare function streamRunAgentAgentToolInputRunWebScraperToolToJSON(streamRunAgentAgentToolInputRunWebScraperTool: StreamRunAgentAgentToolInputRunWebScraperTool): string;
|
|
3716
|
+
export declare function streamRunAgentAgentToolInputRunWebScraperToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunWebScraperTool, SDKValidationError>;
|
|
1605
3717
|
/** @internal */
|
|
1606
|
-
export declare const
|
|
3718
|
+
export declare const StreamRunAgentAgentToolInputRunType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunType>;
|
|
1607
3719
|
/** @internal */
|
|
1608
|
-
export
|
|
1609
|
-
|
|
1610
|
-
|
|
3720
|
+
export declare const StreamRunAgentAgentToolInputRunType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunType>;
|
|
3721
|
+
/** @internal */
|
|
3722
|
+
export declare const StreamRunAgentAgentToolInputRunGoogleSearchTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunGoogleSearchTool, z.ZodTypeDef, unknown>;
|
|
3723
|
+
/** @internal */
|
|
3724
|
+
export type StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound = {
|
|
3725
|
+
type: string;
|
|
3726
|
+
requires_approval?: boolean | undefined;
|
|
1611
3727
|
};
|
|
1612
3728
|
/** @internal */
|
|
1613
|
-
export declare const
|
|
1614
|
-
export declare function
|
|
1615
|
-
export declare function
|
|
3729
|
+
export declare const StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunGoogleSearchTool>;
|
|
3730
|
+
export declare function streamRunAgentAgentToolInputRunGoogleSearchToolToJSON(streamRunAgentAgentToolInputRunGoogleSearchTool: StreamRunAgentAgentToolInputRunGoogleSearchTool): string;
|
|
3731
|
+
export declare function streamRunAgentAgentToolInputRunGoogleSearchToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunGoogleSearchTool, SDKValidationError>;
|
|
1616
3732
|
/** @internal */
|
|
1617
|
-
export declare const
|
|
3733
|
+
export declare const StreamRunAgentAgentToolInputRun$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRun, z.ZodTypeDef, unknown>;
|
|
1618
3734
|
/** @internal */
|
|
1619
|
-
export
|
|
3735
|
+
export type StreamRunAgentAgentToolInputRun$Outbound = AgentToolInputRunHTTPToolRun$Outbound | AgentToolInputRunCodeToolRun$Outbound | AgentToolInputRunMCPToolRun$Outbound | AgentToolInputRunFunctionToolRun$Outbound | StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound | StreamRunAgentAgentToolInputRunWebScraperTool$Outbound | StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound | StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound | StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound | StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound | StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound | StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound;
|
|
1620
3736
|
/** @internal */
|
|
1621
|
-
export declare const
|
|
3737
|
+
export declare const StreamRunAgentAgentToolInputRun$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRun$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRun>;
|
|
3738
|
+
export declare function streamRunAgentAgentToolInputRunToJSON(streamRunAgentAgentToolInputRun: StreamRunAgentAgentToolInputRun): string;
|
|
3739
|
+
export declare function streamRunAgentAgentToolInputRunFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRun, SDKValidationError>;
|
|
1622
3740
|
/** @internal */
|
|
1623
|
-
export
|
|
3741
|
+
export declare const StreamRunAgentToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolApprovalRequired>;
|
|
1624
3742
|
/** @internal */
|
|
1625
|
-
export declare const
|
|
1626
|
-
export declare function streamRunAgentModelConfigurationToolChoiceToJSON(streamRunAgentModelConfigurationToolChoice: StreamRunAgentModelConfigurationToolChoice): string;
|
|
1627
|
-
export declare function streamRunAgentModelConfigurationToolChoiceFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationToolChoice, SDKValidationError>;
|
|
3743
|
+
export declare const StreamRunAgentToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolApprovalRequired>;
|
|
1628
3744
|
/** @internal */
|
|
1629
|
-
export declare const
|
|
3745
|
+
export declare const StreamRunAgentExecuteOn$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentExecuteOn>;
|
|
1630
3746
|
/** @internal */
|
|
1631
|
-
export declare const
|
|
3747
|
+
export declare const StreamRunAgentExecuteOn$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentExecuteOn>;
|
|
1632
3748
|
/** @internal */
|
|
1633
|
-
export declare const
|
|
3749
|
+
export declare const StreamRunAgentEvaluators$inboundSchema: z.ZodType<StreamRunAgentEvaluators, z.ZodTypeDef, unknown>;
|
|
1634
3750
|
/** @internal */
|
|
1635
|
-
export type
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
max_completion_tokens?: number | null | undefined;
|
|
1640
|
-
logprobs?: boolean | null | undefined;
|
|
1641
|
-
top_logprobs?: number | null | undefined;
|
|
1642
|
-
n?: number | null | undefined;
|
|
1643
|
-
presence_penalty?: number | null | undefined;
|
|
1644
|
-
response_format?: StreamRunAgentResponseFormatJSONSchema$Outbound | StreamRunAgentResponseFormatText$Outbound | StreamRunAgentResponseFormatJSONObject$Outbound | undefined;
|
|
1645
|
-
reasoning_effort?: string | undefined;
|
|
1646
|
-
verbosity?: string | undefined;
|
|
1647
|
-
seed?: number | null | undefined;
|
|
1648
|
-
stop?: string | Array<string> | null | undefined;
|
|
1649
|
-
stream_options?: StreamRunAgentModelConfigurationStreamOptions$Outbound | null | undefined;
|
|
1650
|
-
thinking?: StreamRunAgentModelConfigurationThinking$Outbound | undefined;
|
|
1651
|
-
temperature?: number | null | undefined;
|
|
1652
|
-
top_p?: number | null | undefined;
|
|
1653
|
-
top_k?: number | null | undefined;
|
|
1654
|
-
tool_choice?: StreamRunAgentToolChoice2$Outbound | string | undefined;
|
|
1655
|
-
parallel_tool_calls?: boolean | undefined;
|
|
1656
|
-
modalities?: Array<string> | null | undefined;
|
|
3751
|
+
export type StreamRunAgentEvaluators$Outbound = {
|
|
3752
|
+
id: string;
|
|
3753
|
+
sample_rate: number;
|
|
3754
|
+
execute_on: string;
|
|
1657
3755
|
};
|
|
1658
3756
|
/** @internal */
|
|
1659
|
-
export declare const
|
|
1660
|
-
export declare function
|
|
1661
|
-
export declare function
|
|
3757
|
+
export declare const StreamRunAgentEvaluators$outboundSchema: z.ZodType<StreamRunAgentEvaluators$Outbound, z.ZodTypeDef, StreamRunAgentEvaluators>;
|
|
3758
|
+
export declare function streamRunAgentEvaluatorsToJSON(streamRunAgentEvaluators: StreamRunAgentEvaluators): string;
|
|
3759
|
+
export declare function streamRunAgentEvaluatorsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentEvaluators, SDKValidationError>;
|
|
1662
3760
|
/** @internal */
|
|
1663
|
-
export declare const
|
|
3761
|
+
export declare const StreamRunAgentAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentsExecuteOn>;
|
|
1664
3762
|
/** @internal */
|
|
1665
|
-
export
|
|
1666
|
-
|
|
1667
|
-
|
|
3763
|
+
export declare const StreamRunAgentAgentsExecuteOn$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentsExecuteOn>;
|
|
3764
|
+
/** @internal */
|
|
3765
|
+
export declare const StreamRunAgentGuardrails$inboundSchema: z.ZodType<StreamRunAgentGuardrails, z.ZodTypeDef, unknown>;
|
|
3766
|
+
/** @internal */
|
|
3767
|
+
export type StreamRunAgentGuardrails$Outbound = {
|
|
3768
|
+
id: string;
|
|
3769
|
+
sample_rate: number;
|
|
3770
|
+
execute_on: string;
|
|
1668
3771
|
};
|
|
1669
3772
|
/** @internal */
|
|
1670
|
-
export declare const
|
|
1671
|
-
export declare function
|
|
1672
|
-
export declare function
|
|
3773
|
+
export declare const StreamRunAgentGuardrails$outboundSchema: z.ZodType<StreamRunAgentGuardrails$Outbound, z.ZodTypeDef, StreamRunAgentGuardrails>;
|
|
3774
|
+
export declare function streamRunAgentGuardrailsToJSON(streamRunAgentGuardrails: StreamRunAgentGuardrails): string;
|
|
3775
|
+
export declare function streamRunAgentGuardrailsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentGuardrails, SDKValidationError>;
|
|
1673
3776
|
/** @internal */
|
|
1674
|
-
export declare const
|
|
3777
|
+
export declare const StreamRunAgentSettings$inboundSchema: z.ZodType<StreamRunAgentSettings, z.ZodTypeDef, unknown>;
|
|
1675
3778
|
/** @internal */
|
|
1676
|
-
export type
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
3779
|
+
export type StreamRunAgentSettings$Outbound = {
|
|
3780
|
+
tools?: Array<AgentToolInputRunHTTPToolRun$Outbound | AgentToolInputRunCodeToolRun$Outbound | AgentToolInputRunMCPToolRun$Outbound | AgentToolInputRunFunctionToolRun$Outbound | StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound | StreamRunAgentAgentToolInputRunWebScraperTool$Outbound | StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound | StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound | StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound | StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound | StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound | StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound> | undefined;
|
|
3781
|
+
tool_approval_required: string;
|
|
3782
|
+
max_iterations: number;
|
|
3783
|
+
max_execution_time: number;
|
|
3784
|
+
evaluators?: Array<StreamRunAgentEvaluators$Outbound> | undefined;
|
|
3785
|
+
guardrails?: Array<StreamRunAgentGuardrails$Outbound> | undefined;
|
|
1680
3786
|
};
|
|
1681
3787
|
/** @internal */
|
|
1682
|
-
export declare const
|
|
1683
|
-
export declare function
|
|
1684
|
-
export declare function
|
|
3788
|
+
export declare const StreamRunAgentSettings$outboundSchema: z.ZodType<StreamRunAgentSettings$Outbound, z.ZodTypeDef, StreamRunAgentSettings>;
|
|
3789
|
+
export declare function streamRunAgentSettingsToJSON(streamRunAgentSettings: StreamRunAgentSettings): string;
|
|
3790
|
+
export declare function streamRunAgentSettingsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentSettings, SDKValidationError>;
|
|
1685
3791
|
/** @internal */
|
|
1686
|
-
export declare const
|
|
3792
|
+
export declare const StreamRunAgentRequestBody$inboundSchema: z.ZodType<StreamRunAgentRequestBody, z.ZodTypeDef, unknown>;
|
|
1687
3793
|
/** @internal */
|
|
1688
|
-
export type
|
|
3794
|
+
export type StreamRunAgentRequestBody$Outbound = {
|
|
3795
|
+
key: string;
|
|
3796
|
+
task_id?: string | undefined;
|
|
3797
|
+
model: StreamRunAgentModelConfiguration2$Outbound | string;
|
|
3798
|
+
fallback_models?: Array<StreamRunAgentFallbackModelConfiguration2$Outbound | string> | undefined;
|
|
3799
|
+
role: string;
|
|
3800
|
+
instructions: string;
|
|
3801
|
+
message: StreamRunAgentA2AMessage$Outbound;
|
|
3802
|
+
variables?: {
|
|
3803
|
+
[k: string]: any;
|
|
3804
|
+
} | undefined;
|
|
3805
|
+
contact?: StreamRunAgentContact$Outbound | undefined;
|
|
3806
|
+
thread?: StreamRunAgentThread$Outbound | undefined;
|
|
3807
|
+
memory?: StreamRunAgentMemory$Outbound | undefined;
|
|
3808
|
+
path: string;
|
|
3809
|
+
description?: string | undefined;
|
|
3810
|
+
system_prompt?: string | undefined;
|
|
3811
|
+
memory_stores?: Array<string> | undefined;
|
|
3812
|
+
knowledge_bases?: Array<StreamRunAgentKnowledgeBases$Outbound> | undefined;
|
|
3813
|
+
team_of_agents?: Array<StreamRunAgentTeamOfAgents$Outbound> | undefined;
|
|
3814
|
+
settings: StreamRunAgentSettings$Outbound;
|
|
3815
|
+
metadata?: {
|
|
3816
|
+
[k: string]: any;
|
|
3817
|
+
} | undefined;
|
|
3818
|
+
stream_timeout_seconds?: number | undefined;
|
|
3819
|
+
};
|
|
1689
3820
|
/** @internal */
|
|
1690
|
-
export declare const
|
|
1691
|
-
export declare function
|
|
1692
|
-
export declare function
|
|
3821
|
+
export declare const StreamRunAgentRequestBody$outboundSchema: z.ZodType<StreamRunAgentRequestBody$Outbound, z.ZodTypeDef, StreamRunAgentRequestBody>;
|
|
3822
|
+
export declare function streamRunAgentRequestBodyToJSON(streamRunAgentRequestBody: StreamRunAgentRequestBody): string;
|
|
3823
|
+
export declare function streamRunAgentRequestBodyFromJSON(jsonString: string): SafeParseResult<StreamRunAgentRequestBody, SDKValidationError>;
|
|
1693
3824
|
/** @internal */
|
|
1694
|
-
export declare const
|
|
3825
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Type>;
|
|
1695
3826
|
/** @internal */
|
|
1696
|
-
export declare const
|
|
3827
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Type>;
|
|
1697
3828
|
/** @internal */
|
|
1698
|
-
export declare const
|
|
3829
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data, z.ZodTypeDef, unknown>;
|
|
1699
3830
|
/** @internal */
|
|
1700
|
-
export
|
|
3831
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data$Outbound = {
|
|
3832
|
+
error: string;
|
|
3833
|
+
code: string;
|
|
3834
|
+
};
|
|
1701
3835
|
/** @internal */
|
|
1702
|
-
export declare const
|
|
3836
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data>;
|
|
3837
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody17DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data): string;
|
|
3838
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody17DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data, SDKValidationError>;
|
|
1703
3839
|
/** @internal */
|
|
1704
|
-
export
|
|
1705
|
-
|
|
1706
|
-
|
|
3840
|
+
export declare const Seventeen$inboundSchema: z.ZodType<Seventeen, z.ZodTypeDef, unknown>;
|
|
3841
|
+
/** @internal */
|
|
3842
|
+
export type Seventeen$Outbound = {
|
|
3843
|
+
type: string;
|
|
3844
|
+
timestamp: string;
|
|
3845
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data$Outbound;
|
|
1707
3846
|
};
|
|
1708
3847
|
/** @internal */
|
|
1709
|
-
export declare const
|
|
1710
|
-
export declare function
|
|
1711
|
-
export declare function
|
|
3848
|
+
export declare const Seventeen$outboundSchema: z.ZodType<Seventeen$Outbound, z.ZodTypeDef, Seventeen>;
|
|
3849
|
+
export declare function seventeenToJSON(seventeen: Seventeen): string;
|
|
3850
|
+
export declare function seventeenFromJSON(jsonString: string): SafeParseResult<Seventeen, SDKValidationError>;
|
|
1712
3851
|
/** @internal */
|
|
1713
|
-
export declare const
|
|
3852
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Type>;
|
|
1714
3853
|
/** @internal */
|
|
1715
|
-
export declare const
|
|
3854
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Type>;
|
|
1716
3855
|
/** @internal */
|
|
1717
|
-
export declare const
|
|
3856
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data, z.ZodTypeDef, unknown>;
|
|
1718
3857
|
/** @internal */
|
|
1719
|
-
export type
|
|
1720
|
-
|
|
1721
|
-
name: string;
|
|
1722
|
-
schema?: any | undefined;
|
|
1723
|
-
strict?: boolean | null | undefined;
|
|
3858
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data$Outbound = {
|
|
3859
|
+
message: string;
|
|
1724
3860
|
};
|
|
1725
3861
|
/** @internal */
|
|
1726
|
-
export declare const
|
|
1727
|
-
export declare function
|
|
1728
|
-
export declare function
|
|
3862
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data>;
|
|
3863
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody16DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data): string;
|
|
3864
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody16DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data, SDKValidationError>;
|
|
1729
3865
|
/** @internal */
|
|
1730
|
-
export declare const
|
|
3866
|
+
export declare const Sixteen$inboundSchema: z.ZodType<Sixteen, z.ZodTypeDef, unknown>;
|
|
1731
3867
|
/** @internal */
|
|
1732
|
-
export type
|
|
3868
|
+
export type Sixteen$Outbound = {
|
|
1733
3869
|
type: string;
|
|
1734
|
-
|
|
3870
|
+
timestamp: string;
|
|
3871
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data$Outbound;
|
|
1735
3872
|
};
|
|
1736
3873
|
/** @internal */
|
|
1737
|
-
export declare const
|
|
1738
|
-
export declare function
|
|
1739
|
-
export declare function
|
|
3874
|
+
export declare const Sixteen$outboundSchema: z.ZodType<Sixteen$Outbound, z.ZodTypeDef, Sixteen>;
|
|
3875
|
+
export declare function sixteenToJSON(sixteen: Sixteen): string;
|
|
3876
|
+
export declare function sixteenFromJSON(jsonString: string): SafeParseResult<Sixteen, SDKValidationError>;
|
|
1740
3877
|
/** @internal */
|
|
1741
|
-
export declare const
|
|
3878
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Type>;
|
|
1742
3879
|
/** @internal */
|
|
1743
|
-
export declare const
|
|
3880
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Type>;
|
|
1744
3881
|
/** @internal */
|
|
1745
|
-
export declare const
|
|
3882
|
+
export declare const ErrorT$inboundSchema: z.ZodType<ErrorT, z.ZodTypeDef, unknown>;
|
|
1746
3883
|
/** @internal */
|
|
1747
|
-
export type
|
|
1748
|
-
|
|
3884
|
+
export type ErrorT$Outbound = {
|
|
3885
|
+
message: string;
|
|
3886
|
+
stack?: string | undefined;
|
|
1749
3887
|
};
|
|
1750
3888
|
/** @internal */
|
|
1751
|
-
export declare const
|
|
1752
|
-
export declare function
|
|
1753
|
-
export declare function
|
|
3889
|
+
export declare const ErrorT$outboundSchema: z.ZodType<ErrorT$Outbound, z.ZodTypeDef, ErrorT>;
|
|
3890
|
+
export declare function errorToJSON(errorT: ErrorT): string;
|
|
3891
|
+
export declare function errorFromJSON(jsonString: string): SafeParseResult<ErrorT, SDKValidationError>;
|
|
1754
3892
|
/** @internal */
|
|
1755
|
-
export declare const
|
|
3893
|
+
export declare const StreamRunAgentDataProduct$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataProduct>;
|
|
1756
3894
|
/** @internal */
|
|
1757
|
-
export declare const
|
|
3895
|
+
export declare const StreamRunAgentDataProduct$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataProduct>;
|
|
1758
3896
|
/** @internal */
|
|
1759
|
-
export declare const
|
|
3897
|
+
export declare const StreamRunAgentDataAgentsMemory$inboundSchema: z.ZodType<StreamRunAgentDataAgentsMemory, z.ZodTypeDef, unknown>;
|
|
1760
3898
|
/** @internal */
|
|
1761
|
-
export type
|
|
1762
|
-
|
|
3899
|
+
export type StreamRunAgentDataAgentsMemory$Outbound = {
|
|
3900
|
+
entity_id: string;
|
|
1763
3901
|
};
|
|
1764
3902
|
/** @internal */
|
|
1765
|
-
export declare const
|
|
1766
|
-
export declare function
|
|
1767
|
-
export declare function
|
|
1768
|
-
/** @internal */
|
|
1769
|
-
export declare const StreamRunAgentFallbackModelConfigurationResponseFormat$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationResponseFormat, z.ZodTypeDef, unknown>;
|
|
3903
|
+
export declare const StreamRunAgentDataAgentsMemory$outboundSchema: z.ZodType<StreamRunAgentDataAgentsMemory$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsMemory>;
|
|
3904
|
+
export declare function streamRunAgentDataAgentsMemoryToJSON(streamRunAgentDataAgentsMemory: StreamRunAgentDataAgentsMemory): string;
|
|
3905
|
+
export declare function streamRunAgentDataAgentsMemoryFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsMemory, SDKValidationError>;
|
|
1770
3906
|
/** @internal */
|
|
1771
|
-
export
|
|
3907
|
+
export declare const StreamRunAgentDataToolExecutionContext$inboundSchema: z.ZodType<StreamRunAgentDataToolExecutionContext, z.ZodTypeDef, unknown>;
|
|
1772
3908
|
/** @internal */
|
|
1773
|
-
export
|
|
1774
|
-
|
|
1775
|
-
|
|
3909
|
+
export type StreamRunAgentDataToolExecutionContext$Outbound = {
|
|
3910
|
+
action_id: string;
|
|
3911
|
+
agent_tool_call_id: string;
|
|
3912
|
+
workspace_id: string;
|
|
3913
|
+
agent_manifest_id: string;
|
|
3914
|
+
agent_execution_id: string;
|
|
3915
|
+
product: string;
|
|
3916
|
+
memory?: StreamRunAgentDataAgentsMemory$Outbound | undefined;
|
|
3917
|
+
parent_id?: string | undefined;
|
|
3918
|
+
};
|
|
1776
3919
|
/** @internal */
|
|
1777
|
-
export declare const
|
|
3920
|
+
export declare const StreamRunAgentDataToolExecutionContext$outboundSchema: z.ZodType<StreamRunAgentDataToolExecutionContext$Outbound, z.ZodTypeDef, StreamRunAgentDataToolExecutionContext>;
|
|
3921
|
+
export declare function streamRunAgentDataToolExecutionContextToJSON(streamRunAgentDataToolExecutionContext: StreamRunAgentDataToolExecutionContext): string;
|
|
3922
|
+
export declare function streamRunAgentDataToolExecutionContextFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataToolExecutionContext, SDKValidationError>;
|
|
1778
3923
|
/** @internal */
|
|
1779
|
-
export
|
|
3924
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data, z.ZodTypeDef, unknown>;
|
|
1780
3925
|
/** @internal */
|
|
1781
|
-
export
|
|
1782
|
-
|
|
1783
|
-
|
|
3926
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data$Outbound = {
|
|
3927
|
+
error: ErrorT$Outbound;
|
|
3928
|
+
action_type: string;
|
|
3929
|
+
tool_execution_context: StreamRunAgentDataToolExecutionContext$Outbound;
|
|
3930
|
+
};
|
|
1784
3931
|
/** @internal */
|
|
1785
|
-
export declare const
|
|
3932
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data>;
|
|
3933
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody15DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data): string;
|
|
3934
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody15DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data, SDKValidationError>;
|
|
1786
3935
|
/** @internal */
|
|
1787
|
-
export
|
|
1788
|
-
|
|
3936
|
+
export declare const Fifteen$inboundSchema: z.ZodType<Fifteen, z.ZodTypeDef, unknown>;
|
|
3937
|
+
/** @internal */
|
|
3938
|
+
export type Fifteen$Outbound = {
|
|
3939
|
+
type: string;
|
|
3940
|
+
timestamp: string;
|
|
3941
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data$Outbound;
|
|
1789
3942
|
};
|
|
1790
3943
|
/** @internal */
|
|
1791
|
-
export declare const
|
|
1792
|
-
export declare function
|
|
1793
|
-
export declare function
|
|
3944
|
+
export declare const Fifteen$outboundSchema: z.ZodType<Fifteen$Outbound, z.ZodTypeDef, Fifteen>;
|
|
3945
|
+
export declare function fifteenToJSON(fifteen: Fifteen): string;
|
|
3946
|
+
export declare function fifteenFromJSON(jsonString: string): SafeParseResult<Fifteen, SDKValidationError>;
|
|
1794
3947
|
/** @internal */
|
|
1795
|
-
export declare const
|
|
3948
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Type>;
|
|
1796
3949
|
/** @internal */
|
|
1797
|
-
export declare const
|
|
3950
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Type>;
|
|
1798
3951
|
/** @internal */
|
|
1799
|
-
export declare const
|
|
3952
|
+
export declare const DataProduct$inboundSchema: z.ZodNativeEnum<typeof DataProduct>;
|
|
1800
3953
|
/** @internal */
|
|
1801
|
-
export declare const
|
|
3954
|
+
export declare const DataProduct$outboundSchema: z.ZodNativeEnum<typeof DataProduct>;
|
|
1802
3955
|
/** @internal */
|
|
1803
|
-
export declare const
|
|
3956
|
+
export declare const StreamRunAgentDataMemory$inboundSchema: z.ZodType<StreamRunAgentDataMemory, z.ZodTypeDef, unknown>;
|
|
1804
3957
|
/** @internal */
|
|
1805
|
-
export type
|
|
1806
|
-
|
|
1807
|
-
budget_tokens: number;
|
|
1808
|
-
thinking_level?: string | undefined;
|
|
3958
|
+
export type StreamRunAgentDataMemory$Outbound = {
|
|
3959
|
+
entity_id: string;
|
|
1809
3960
|
};
|
|
1810
3961
|
/** @internal */
|
|
1811
|
-
export declare const
|
|
1812
|
-
export declare function
|
|
1813
|
-
export declare function
|
|
3962
|
+
export declare const StreamRunAgentDataMemory$outboundSchema: z.ZodType<StreamRunAgentDataMemory$Outbound, z.ZodTypeDef, StreamRunAgentDataMemory>;
|
|
3963
|
+
export declare function streamRunAgentDataMemoryToJSON(streamRunAgentDataMemory: StreamRunAgentDataMemory): string;
|
|
3964
|
+
export declare function streamRunAgentDataMemoryFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataMemory, SDKValidationError>;
|
|
1814
3965
|
/** @internal */
|
|
1815
|
-
export declare const
|
|
3966
|
+
export declare const DataToolExecutionContext$inboundSchema: z.ZodType<DataToolExecutionContext, z.ZodTypeDef, unknown>;
|
|
1816
3967
|
/** @internal */
|
|
1817
|
-
export
|
|
3968
|
+
export type DataToolExecutionContext$Outbound = {
|
|
3969
|
+
action_id: string;
|
|
3970
|
+
agent_tool_call_id: string;
|
|
3971
|
+
workspace_id: string;
|
|
3972
|
+
agent_manifest_id: string;
|
|
3973
|
+
agent_execution_id: string;
|
|
3974
|
+
product: string;
|
|
3975
|
+
memory?: StreamRunAgentDataMemory$Outbound | undefined;
|
|
3976
|
+
parent_id?: string | undefined;
|
|
3977
|
+
};
|
|
1818
3978
|
/** @internal */
|
|
1819
|
-
export declare const
|
|
3979
|
+
export declare const DataToolExecutionContext$outboundSchema: z.ZodType<DataToolExecutionContext$Outbound, z.ZodTypeDef, DataToolExecutionContext>;
|
|
3980
|
+
export declare function dataToolExecutionContextToJSON(dataToolExecutionContext: DataToolExecutionContext): string;
|
|
3981
|
+
export declare function dataToolExecutionContextFromJSON(jsonString: string): SafeParseResult<DataToolExecutionContext, SDKValidationError>;
|
|
1820
3982
|
/** @internal */
|
|
1821
|
-
export
|
|
1822
|
-
|
|
3983
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data, z.ZodTypeDef, unknown>;
|
|
3984
|
+
/** @internal */
|
|
3985
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data$Outbound = {
|
|
3986
|
+
result?: any | undefined;
|
|
3987
|
+
action_type: string;
|
|
3988
|
+
tool_execution_context: DataToolExecutionContext$Outbound;
|
|
1823
3989
|
};
|
|
1824
3990
|
/** @internal */
|
|
1825
|
-
export declare const
|
|
1826
|
-
export declare function
|
|
1827
|
-
export declare function
|
|
3991
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data>;
|
|
3992
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody14DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data): string;
|
|
3993
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody14DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data, SDKValidationError>;
|
|
1828
3994
|
/** @internal */
|
|
1829
|
-
export declare const
|
|
3995
|
+
export declare const Fourteen$inboundSchema: z.ZodType<Fourteen, z.ZodTypeDef, unknown>;
|
|
1830
3996
|
/** @internal */
|
|
1831
|
-
export type
|
|
1832
|
-
type
|
|
1833
|
-
|
|
3997
|
+
export type Fourteen$Outbound = {
|
|
3998
|
+
type: string;
|
|
3999
|
+
timestamp: string;
|
|
4000
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data$Outbound;
|
|
1834
4001
|
};
|
|
1835
4002
|
/** @internal */
|
|
1836
|
-
export declare const
|
|
1837
|
-
export declare function
|
|
1838
|
-
export declare function
|
|
4003
|
+
export declare const Fourteen$outboundSchema: z.ZodType<Fourteen$Outbound, z.ZodTypeDef, Fourteen>;
|
|
4004
|
+
export declare function fourteenToJSON(fourteen: Fourteen): string;
|
|
4005
|
+
export declare function fourteenFromJSON(jsonString: string): SafeParseResult<Fourteen, SDKValidationError>;
|
|
1839
4006
|
/** @internal */
|
|
1840
|
-
export declare const
|
|
4007
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type>;
|
|
1841
4008
|
/** @internal */
|
|
1842
|
-
export declare const
|
|
4009
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type>;
|
|
1843
4010
|
/** @internal */
|
|
1844
|
-
export declare const
|
|
4011
|
+
export declare const Product$inboundSchema: z.ZodNativeEnum<typeof Product>;
|
|
1845
4012
|
/** @internal */
|
|
1846
|
-
export
|
|
4013
|
+
export declare const Product$outboundSchema: z.ZodNativeEnum<typeof Product>;
|
|
1847
4014
|
/** @internal */
|
|
1848
|
-
export declare const
|
|
1849
|
-
export declare function streamRunAgentFallbackModelConfigurationToolChoiceToJSON(streamRunAgentFallbackModelConfigurationToolChoice: StreamRunAgentFallbackModelConfigurationToolChoice): string;
|
|
1850
|
-
export declare function streamRunAgentFallbackModelConfigurationToolChoiceFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationToolChoice, SDKValidationError>;
|
|
4015
|
+
export declare const DataMemory$inboundSchema: z.ZodType<DataMemory, z.ZodTypeDef, unknown>;
|
|
1851
4016
|
/** @internal */
|
|
1852
|
-
export
|
|
4017
|
+
export type DataMemory$Outbound = {
|
|
4018
|
+
entity_id: string;
|
|
4019
|
+
};
|
|
1853
4020
|
/** @internal */
|
|
1854
|
-
export declare const
|
|
4021
|
+
export declare const DataMemory$outboundSchema: z.ZodType<DataMemory$Outbound, z.ZodTypeDef, DataMemory>;
|
|
4022
|
+
export declare function dataMemoryToJSON(dataMemory: DataMemory): string;
|
|
4023
|
+
export declare function dataMemoryFromJSON(jsonString: string): SafeParseResult<DataMemory, SDKValidationError>;
|
|
1855
4024
|
/** @internal */
|
|
1856
|
-
export declare const
|
|
4025
|
+
export declare const ToolExecutionContext$inboundSchema: z.ZodType<ToolExecutionContext, z.ZodTypeDef, unknown>;
|
|
1857
4026
|
/** @internal */
|
|
1858
|
-
export type
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
response_format?: StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound | StreamRunAgentResponseFormatAgentsText$Outbound | StreamRunAgentResponseFormatAgentsJSONObject$Outbound | undefined;
|
|
1868
|
-
reasoning_effort?: string | undefined;
|
|
1869
|
-
verbosity?: string | undefined;
|
|
1870
|
-
seed?: number | null | undefined;
|
|
1871
|
-
stop?: string | Array<string> | null | undefined;
|
|
1872
|
-
stream_options?: StreamRunAgentFallbackModelConfigurationStreamOptions$Outbound | null | undefined;
|
|
1873
|
-
thinking?: StreamRunAgentFallbackModelConfigurationThinking$Outbound | undefined;
|
|
1874
|
-
temperature?: number | null | undefined;
|
|
1875
|
-
top_p?: number | null | undefined;
|
|
1876
|
-
top_k?: number | null | undefined;
|
|
1877
|
-
tool_choice?: StreamRunAgentToolChoiceAgents2$Outbound | string | undefined;
|
|
1878
|
-
parallel_tool_calls?: boolean | undefined;
|
|
1879
|
-
modalities?: Array<string> | null | undefined;
|
|
4027
|
+
export type ToolExecutionContext$Outbound = {
|
|
4028
|
+
action_id: string;
|
|
4029
|
+
agent_tool_call_id: string;
|
|
4030
|
+
workspace_id: string;
|
|
4031
|
+
agent_manifest_id: string;
|
|
4032
|
+
agent_execution_id: string;
|
|
4033
|
+
product: string;
|
|
4034
|
+
memory?: DataMemory$Outbound | undefined;
|
|
4035
|
+
parent_id?: string | undefined;
|
|
1880
4036
|
};
|
|
1881
4037
|
/** @internal */
|
|
1882
|
-
export declare const
|
|
1883
|
-
export declare function
|
|
1884
|
-
export declare function
|
|
4038
|
+
export declare const ToolExecutionContext$outboundSchema: z.ZodType<ToolExecutionContext$Outbound, z.ZodTypeDef, ToolExecutionContext>;
|
|
4039
|
+
export declare function toolExecutionContextToJSON(toolExecutionContext: ToolExecutionContext): string;
|
|
4040
|
+
export declare function toolExecutionContextFromJSON(jsonString: string): SafeParseResult<ToolExecutionContext, SDKValidationError>;
|
|
1885
4041
|
/** @internal */
|
|
1886
|
-
export declare const
|
|
4042
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data, z.ZodTypeDef, unknown>;
|
|
1887
4043
|
/** @internal */
|
|
1888
|
-
export type
|
|
1889
|
-
|
|
1890
|
-
|
|
4044
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data$Outbound = {
|
|
4045
|
+
tool_id: string;
|
|
4046
|
+
tool_key?: string | undefined;
|
|
4047
|
+
tool_display_name?: string | undefined;
|
|
4048
|
+
action_type: string;
|
|
4049
|
+
tool_arguments: {
|
|
4050
|
+
[k: string]: any;
|
|
4051
|
+
};
|
|
4052
|
+
tool_execution_context: ToolExecutionContext$Outbound;
|
|
1891
4053
|
};
|
|
1892
4054
|
/** @internal */
|
|
1893
|
-
export declare const
|
|
1894
|
-
export declare function
|
|
1895
|
-
export declare function
|
|
4055
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data>;
|
|
4056
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody13DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data): string;
|
|
4057
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody13DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data, SDKValidationError>;
|
|
1896
4058
|
/** @internal */
|
|
1897
|
-
export declare const
|
|
4059
|
+
export declare const Thirteen$inboundSchema: z.ZodType<Thirteen, z.ZodTypeDef, unknown>;
|
|
1898
4060
|
/** @internal */
|
|
1899
|
-
export type
|
|
4061
|
+
export type Thirteen$Outbound = {
|
|
4062
|
+
type: string;
|
|
4063
|
+
timestamp: string;
|
|
4064
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data$Outbound;
|
|
4065
|
+
};
|
|
1900
4066
|
/** @internal */
|
|
1901
|
-
export declare const
|
|
1902
|
-
export declare function
|
|
1903
|
-
export declare function
|
|
4067
|
+
export declare const Thirteen$outboundSchema: z.ZodType<Thirteen$Outbound, z.ZodTypeDef, Thirteen>;
|
|
4068
|
+
export declare function thirteenToJSON(thirteen: Thirteen): string;
|
|
4069
|
+
export declare function thirteenFromJSON(jsonString: string): SafeParseResult<Thirteen, SDKValidationError>;
|
|
1904
4070
|
/** @internal */
|
|
1905
|
-
export declare const
|
|
4071
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Type>;
|
|
1906
4072
|
/** @internal */
|
|
1907
|
-
export declare const
|
|
4073
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Type>;
|
|
1908
4074
|
/** @internal */
|
|
1909
|
-
export declare const
|
|
4075
|
+
export declare const StreamRunAgentDataAgentsRole$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsRole>;
|
|
1910
4076
|
/** @internal */
|
|
1911
|
-
export declare const
|
|
4077
|
+
export declare const StreamRunAgentDataAgentsRole$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsRole>;
|
|
1912
4078
|
/** @internal */
|
|
1913
|
-
export declare const
|
|
4079
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage5Kind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage5Kind>;
|
|
1914
4080
|
/** @internal */
|
|
1915
|
-
export
|
|
4081
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage5Kind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage5Kind>;
|
|
1916
4082
|
/** @internal */
|
|
1917
|
-
export declare const
|
|
1918
|
-
export declare function streamRunAgentRoleToJSON(streamRunAgentRole: StreamRunAgentRole): string;
|
|
1919
|
-
export declare function streamRunAgentRoleFromJSON(jsonString: string): SafeParseResult<StreamRunAgentRole, SDKValidationError>;
|
|
4083
|
+
export declare const StreamRunAgentPartsAgentsResponseToolResultPart$inboundSchema: z.ZodType<StreamRunAgentPartsAgentsResponseToolResultPart, z.ZodTypeDef, unknown>;
|
|
1920
4084
|
/** @internal */
|
|
1921
|
-
export
|
|
4085
|
+
export type StreamRunAgentPartsAgentsResponseToolResultPart$Outbound = {
|
|
4086
|
+
kind: string;
|
|
4087
|
+
tool_call_id: string;
|
|
4088
|
+
result?: any | undefined;
|
|
4089
|
+
metadata?: {
|
|
4090
|
+
[k: string]: any;
|
|
4091
|
+
} | undefined;
|
|
4092
|
+
};
|
|
1922
4093
|
/** @internal */
|
|
1923
|
-
export declare const
|
|
4094
|
+
export declare const StreamRunAgentPartsAgentsResponseToolResultPart$outboundSchema: z.ZodType<StreamRunAgentPartsAgentsResponseToolResultPart$Outbound, z.ZodTypeDef, StreamRunAgentPartsAgentsResponseToolResultPart>;
|
|
4095
|
+
export declare function streamRunAgentPartsAgentsResponseToolResultPartToJSON(streamRunAgentPartsAgentsResponseToolResultPart: StreamRunAgentPartsAgentsResponseToolResultPart): string;
|
|
4096
|
+
export declare function streamRunAgentPartsAgentsResponseToolResultPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsAgentsResponseToolResultPart, SDKValidationError>;
|
|
1924
4097
|
/** @internal */
|
|
1925
|
-
export declare const
|
|
4098
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage4Kind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage4Kind>;
|
|
1926
4099
|
/** @internal */
|
|
1927
|
-
export
|
|
4100
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage4Kind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessage4Kind>;
|
|
4101
|
+
/** @internal */
|
|
4102
|
+
export declare const StreamRunAgentPartsAgentsResponseToolCallPart$inboundSchema: z.ZodType<StreamRunAgentPartsAgentsResponseToolCallPart, z.ZodTypeDef, unknown>;
|
|
4103
|
+
/** @internal */
|
|
4104
|
+
export type StreamRunAgentPartsAgentsResponseToolCallPart$Outbound = {
|
|
1928
4105
|
kind: string;
|
|
4106
|
+
tool_name: string;
|
|
1929
4107
|
tool_call_id: string;
|
|
1930
|
-
|
|
4108
|
+
arguments: {
|
|
4109
|
+
[k: string]: any;
|
|
4110
|
+
};
|
|
1931
4111
|
metadata?: {
|
|
1932
4112
|
[k: string]: any;
|
|
1933
4113
|
} | undefined;
|
|
1934
4114
|
};
|
|
1935
4115
|
/** @internal */
|
|
1936
|
-
export declare const
|
|
1937
|
-
export declare function
|
|
1938
|
-
export declare function
|
|
4116
|
+
export declare const StreamRunAgentPartsAgentsResponseToolCallPart$outboundSchema: z.ZodType<StreamRunAgentPartsAgentsResponseToolCallPart$Outbound, z.ZodTypeDef, StreamRunAgentPartsAgentsResponseToolCallPart>;
|
|
4117
|
+
export declare function streamRunAgentPartsAgentsResponseToolCallPartToJSON(streamRunAgentPartsAgentsResponseToolCallPart: StreamRunAgentPartsAgentsResponseToolCallPart): string;
|
|
4118
|
+
export declare function streamRunAgentPartsAgentsResponseToolCallPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsAgentsResponseToolCallPart, SDKValidationError>;
|
|
1939
4119
|
/** @internal */
|
|
1940
|
-
export declare const
|
|
4120
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessageKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessageKind>;
|
|
1941
4121
|
/** @internal */
|
|
1942
|
-
export declare const
|
|
4122
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessageKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataMessageKind>;
|
|
1943
4123
|
/** @internal */
|
|
1944
|
-
export declare const
|
|
4124
|
+
export declare const StreamRunAgentFileAgentsResponse200FileInURIFormat$inboundSchema: z.ZodType<StreamRunAgentFileAgentsResponse200FileInURIFormat, z.ZodTypeDef, unknown>;
|
|
1945
4125
|
/** @internal */
|
|
1946
|
-
export type
|
|
4126
|
+
export type StreamRunAgentFileAgentsResponse200FileInURIFormat$Outbound = {
|
|
1947
4127
|
uri: string;
|
|
1948
4128
|
mimeType?: string | undefined;
|
|
1949
4129
|
name?: string | undefined;
|
|
1950
4130
|
};
|
|
1951
4131
|
/** @internal */
|
|
1952
|
-
export declare const
|
|
1953
|
-
export declare function
|
|
1954
|
-
export declare function
|
|
4132
|
+
export declare const StreamRunAgentFileAgentsResponse200FileInURIFormat$outboundSchema: z.ZodType<StreamRunAgentFileAgentsResponse200FileInURIFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileAgentsResponse200FileInURIFormat>;
|
|
4133
|
+
export declare function streamRunAgentFileAgentsResponse200FileInURIFormatToJSON(streamRunAgentFileAgentsResponse200FileInURIFormat: StreamRunAgentFileAgentsResponse200FileInURIFormat): string;
|
|
4134
|
+
export declare function streamRunAgentFileAgentsResponse200FileInURIFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFileAgentsResponse200FileInURIFormat, SDKValidationError>;
|
|
1955
4135
|
/** @internal */
|
|
1956
|
-
export declare const
|
|
4136
|
+
export declare const StreamRunAgentFileAgentsResponse200BinaryFormat$inboundSchema: z.ZodType<StreamRunAgentFileAgentsResponse200BinaryFormat, z.ZodTypeDef, unknown>;
|
|
1957
4137
|
/** @internal */
|
|
1958
|
-
export type
|
|
4138
|
+
export type StreamRunAgentFileAgentsResponse200BinaryFormat$Outbound = {
|
|
1959
4139
|
bytes: string;
|
|
1960
4140
|
mimeType?: string | undefined;
|
|
1961
4141
|
name?: string | undefined;
|
|
1962
4142
|
};
|
|
1963
4143
|
/** @internal */
|
|
1964
|
-
export declare const
|
|
1965
|
-
export declare function
|
|
1966
|
-
export declare function
|
|
4144
|
+
export declare const StreamRunAgentFileAgentsResponse200BinaryFormat$outboundSchema: z.ZodType<StreamRunAgentFileAgentsResponse200BinaryFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileAgentsResponse200BinaryFormat>;
|
|
4145
|
+
export declare function streamRunAgentFileAgentsResponse200BinaryFormatToJSON(streamRunAgentFileAgentsResponse200BinaryFormat: StreamRunAgentFileAgentsResponse200BinaryFormat): string;
|
|
4146
|
+
export declare function streamRunAgentFileAgentsResponse200BinaryFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFileAgentsResponse200BinaryFormat, SDKValidationError>;
|
|
1967
4147
|
/** @internal */
|
|
1968
|
-
export declare const
|
|
4148
|
+
export declare const StreamRunAgentPartsAgentsResponseFile$inboundSchema: z.ZodType<StreamRunAgentPartsAgentsResponseFile, z.ZodTypeDef, unknown>;
|
|
1969
4149
|
/** @internal */
|
|
1970
|
-
export type
|
|
4150
|
+
export type StreamRunAgentPartsAgentsResponseFile$Outbound = StreamRunAgentFileAgentsResponse200BinaryFormat$Outbound | StreamRunAgentFileAgentsResponse200FileInURIFormat$Outbound;
|
|
1971
4151
|
/** @internal */
|
|
1972
|
-
export declare const
|
|
1973
|
-
export declare function
|
|
1974
|
-
export declare function
|
|
4152
|
+
export declare const StreamRunAgentPartsAgentsResponseFile$outboundSchema: z.ZodType<StreamRunAgentPartsAgentsResponseFile$Outbound, z.ZodTypeDef, StreamRunAgentPartsAgentsResponseFile>;
|
|
4153
|
+
export declare function streamRunAgentPartsAgentsResponseFileToJSON(streamRunAgentPartsAgentsResponseFile: StreamRunAgentPartsAgentsResponseFile): string;
|
|
4154
|
+
export declare function streamRunAgentPartsAgentsResponseFileFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsAgentsResponseFile, SDKValidationError>;
|
|
1975
4155
|
/** @internal */
|
|
1976
|
-
export declare const
|
|
4156
|
+
export declare const StreamRunAgentPartsAgentsResponseFilePart$inboundSchema: z.ZodType<StreamRunAgentPartsAgentsResponseFilePart, z.ZodTypeDef, unknown>;
|
|
1977
4157
|
/** @internal */
|
|
1978
|
-
export type
|
|
4158
|
+
export type StreamRunAgentPartsAgentsResponseFilePart$Outbound = {
|
|
1979
4159
|
kind: string;
|
|
1980
|
-
file:
|
|
4160
|
+
file: StreamRunAgentFileAgentsResponse200BinaryFormat$Outbound | StreamRunAgentFileAgentsResponse200FileInURIFormat$Outbound;
|
|
1981
4161
|
metadata?: {
|
|
1982
4162
|
[k: string]: any;
|
|
1983
4163
|
} | undefined;
|
|
1984
4164
|
};
|
|
1985
4165
|
/** @internal */
|
|
1986
|
-
export declare const
|
|
1987
|
-
export declare function
|
|
1988
|
-
export declare function
|
|
4166
|
+
export declare const StreamRunAgentPartsAgentsResponseFilePart$outboundSchema: z.ZodType<StreamRunAgentPartsAgentsResponseFilePart$Outbound, z.ZodTypeDef, StreamRunAgentPartsAgentsResponseFilePart>;
|
|
4167
|
+
export declare function streamRunAgentPartsAgentsResponseFilePartToJSON(streamRunAgentPartsAgentsResponseFilePart: StreamRunAgentPartsAgentsResponseFilePart): string;
|
|
4168
|
+
export declare function streamRunAgentPartsAgentsResponseFilePartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsAgentsResponseFilePart, SDKValidationError>;
|
|
1989
4169
|
/** @internal */
|
|
1990
|
-
export declare const
|
|
4170
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataKind>;
|
|
1991
4171
|
/** @internal */
|
|
1992
|
-
export declare const
|
|
4172
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12DataKind>;
|
|
1993
4173
|
/** @internal */
|
|
1994
|
-
export declare const
|
|
4174
|
+
export declare const StreamRunAgentPartsAgentsResponseDataPart$inboundSchema: z.ZodType<StreamRunAgentPartsAgentsResponseDataPart, z.ZodTypeDef, unknown>;
|
|
1995
4175
|
/** @internal */
|
|
1996
|
-
export type
|
|
4176
|
+
export type StreamRunAgentPartsAgentsResponseDataPart$Outbound = {
|
|
4177
|
+
kind: string;
|
|
4178
|
+
data: {
|
|
4179
|
+
[k: string]: any;
|
|
4180
|
+
};
|
|
4181
|
+
metadata?: {
|
|
4182
|
+
[k: string]: any;
|
|
4183
|
+
} | undefined;
|
|
4184
|
+
};
|
|
4185
|
+
/** @internal */
|
|
4186
|
+
export declare const StreamRunAgentPartsAgentsResponseDataPart$outboundSchema: z.ZodType<StreamRunAgentPartsAgentsResponseDataPart$Outbound, z.ZodTypeDef, StreamRunAgentPartsAgentsResponseDataPart>;
|
|
4187
|
+
export declare function streamRunAgentPartsAgentsResponseDataPartToJSON(streamRunAgentPartsAgentsResponseDataPart: StreamRunAgentPartsAgentsResponseDataPart): string;
|
|
4188
|
+
export declare function streamRunAgentPartsAgentsResponseDataPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsAgentsResponseDataPart, SDKValidationError>;
|
|
4189
|
+
/** @internal */
|
|
4190
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12Kind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12Kind>;
|
|
4191
|
+
/** @internal */
|
|
4192
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12Kind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData12Kind>;
|
|
4193
|
+
/** @internal */
|
|
4194
|
+
export declare const StreamRunAgentPartsAgentsResponseTextPart$inboundSchema: z.ZodType<StreamRunAgentPartsAgentsResponseTextPart, z.ZodTypeDef, unknown>;
|
|
4195
|
+
/** @internal */
|
|
4196
|
+
export type StreamRunAgentPartsAgentsResponseTextPart$Outbound = {
|
|
1997
4197
|
kind: string;
|
|
1998
4198
|
text: string;
|
|
1999
4199
|
};
|
|
2000
4200
|
/** @internal */
|
|
2001
|
-
export declare const
|
|
2002
|
-
export declare function
|
|
2003
|
-
export declare function
|
|
4201
|
+
export declare const StreamRunAgentPartsAgentsResponseTextPart$outboundSchema: z.ZodType<StreamRunAgentPartsAgentsResponseTextPart$Outbound, z.ZodTypeDef, StreamRunAgentPartsAgentsResponseTextPart>;
|
|
4202
|
+
export declare function streamRunAgentPartsAgentsResponseTextPartToJSON(streamRunAgentPartsAgentsResponseTextPart: StreamRunAgentPartsAgentsResponseTextPart): string;
|
|
4203
|
+
export declare function streamRunAgentPartsAgentsResponseTextPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsAgentsResponseTextPart, SDKValidationError>;
|
|
2004
4204
|
/** @internal */
|
|
2005
|
-
export declare const
|
|
4205
|
+
export declare const StreamRunAgentDataAgentsParts$inboundSchema: z.ZodType<StreamRunAgentDataAgentsParts, z.ZodTypeDef, unknown>;
|
|
2006
4206
|
/** @internal */
|
|
2007
|
-
export type
|
|
4207
|
+
export type StreamRunAgentDataAgentsParts$Outbound = StreamRunAgentPartsAgentsResponseToolCallPart$Outbound | StreamRunAgentPartsAgentsResponseTextPart$Outbound | StreamRunAgentPartsAgentsResponseDataPart$Outbound | StreamRunAgentPartsAgentsResponseFilePart$Outbound | StreamRunAgentPartsAgentsResponseToolResultPart$Outbound;
|
|
2008
4208
|
/** @internal */
|
|
2009
|
-
export declare const
|
|
2010
|
-
export declare function
|
|
2011
|
-
export declare function
|
|
4209
|
+
export declare const StreamRunAgentDataAgentsParts$outboundSchema: z.ZodType<StreamRunAgentDataAgentsParts$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsParts>;
|
|
4210
|
+
export declare function streamRunAgentDataAgentsPartsToJSON(streamRunAgentDataAgentsParts: StreamRunAgentDataAgentsParts): string;
|
|
4211
|
+
export declare function streamRunAgentDataAgentsPartsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsParts, SDKValidationError>;
|
|
2012
4212
|
/** @internal */
|
|
2013
|
-
export declare const
|
|
4213
|
+
export declare const DataMessage$inboundSchema: z.ZodType<DataMessage, z.ZodTypeDef, unknown>;
|
|
2014
4214
|
/** @internal */
|
|
2015
|
-
export type
|
|
4215
|
+
export type DataMessage$Outbound = {
|
|
2016
4216
|
messageId?: string | undefined;
|
|
2017
|
-
role: string
|
|
2018
|
-
parts: Array<
|
|
4217
|
+
role: string;
|
|
4218
|
+
parts: Array<StreamRunAgentPartsAgentsResponseToolCallPart$Outbound | StreamRunAgentPartsAgentsResponseTextPart$Outbound | StreamRunAgentPartsAgentsResponseDataPart$Outbound | StreamRunAgentPartsAgentsResponseFilePart$Outbound | StreamRunAgentPartsAgentsResponseToolResultPart$Outbound>;
|
|
4219
|
+
metadata?: {
|
|
4220
|
+
[k: string]: any;
|
|
4221
|
+
} | undefined;
|
|
2019
4222
|
};
|
|
2020
4223
|
/** @internal */
|
|
2021
|
-
export declare const
|
|
2022
|
-
export declare function
|
|
2023
|
-
export declare function
|
|
4224
|
+
export declare const DataMessage$outboundSchema: z.ZodType<DataMessage$Outbound, z.ZodTypeDef, DataMessage>;
|
|
4225
|
+
export declare function dataMessageToJSON(dataMessage: DataMessage): string;
|
|
4226
|
+
export declare function dataMessageFromJSON(jsonString: string): SafeParseResult<DataMessage, SDKValidationError>;
|
|
2024
4227
|
/** @internal */
|
|
2025
|
-
export declare const
|
|
4228
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data, z.ZodTypeDef, unknown>;
|
|
2026
4229
|
/** @internal */
|
|
2027
|
-
export type
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
[k: string]: any;
|
|
2033
|
-
}> | undefined;
|
|
2034
|
-
logo_url?: string | undefined;
|
|
2035
|
-
tags?: Array<string> | undefined;
|
|
4230
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data$Outbound = {
|
|
4231
|
+
workflowRunId: string;
|
|
4232
|
+
spanId: string;
|
|
4233
|
+
parentId: string;
|
|
4234
|
+
message: Array<DataMessage$Outbound>;
|
|
2036
4235
|
};
|
|
2037
4236
|
/** @internal */
|
|
2038
|
-
export declare const
|
|
2039
|
-
export declare function
|
|
2040
|
-
export declare function
|
|
4237
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data>;
|
|
4238
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody12DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data): string;
|
|
4239
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody12DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data, SDKValidationError>;
|
|
2041
4240
|
/** @internal */
|
|
2042
|
-
export declare const
|
|
4241
|
+
export declare const Twelve$inboundSchema: z.ZodType<Twelve, z.ZodTypeDef, unknown>;
|
|
2043
4242
|
/** @internal */
|
|
2044
|
-
export type
|
|
2045
|
-
|
|
2046
|
-
|
|
4243
|
+
export type Twelve$Outbound = {
|
|
4244
|
+
type: string;
|
|
4245
|
+
timestamp: string;
|
|
4246
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data$Outbound;
|
|
2047
4247
|
};
|
|
2048
4248
|
/** @internal */
|
|
2049
|
-
export declare const
|
|
2050
|
-
export declare function
|
|
2051
|
-
export declare function
|
|
4249
|
+
export declare const Twelve$outboundSchema: z.ZodType<Twelve$Outbound, z.ZodTypeDef, Twelve>;
|
|
4250
|
+
export declare function twelveToJSON(twelve: Twelve): string;
|
|
4251
|
+
export declare function twelveFromJSON(jsonString: string): SafeParseResult<Twelve, SDKValidationError>;
|
|
2052
4252
|
/** @internal */
|
|
2053
|
-
export declare const
|
|
4253
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Type>;
|
|
2054
4254
|
/** @internal */
|
|
2055
|
-
export
|
|
2056
|
-
|
|
4255
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Type>;
|
|
4256
|
+
/** @internal */
|
|
4257
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data, z.ZodTypeDef, unknown>;
|
|
4258
|
+
/** @internal */
|
|
4259
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data$Outbound = {
|
|
4260
|
+
agent_id: string;
|
|
4261
|
+
input: string;
|
|
2057
4262
|
};
|
|
2058
4263
|
/** @internal */
|
|
2059
|
-
export declare const
|
|
2060
|
-
export declare function
|
|
2061
|
-
export declare function
|
|
4264
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data>;
|
|
4265
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody11DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data): string;
|
|
4266
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody11DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data, SDKValidationError>;
|
|
2062
4267
|
/** @internal */
|
|
2063
|
-
export declare const
|
|
4268
|
+
export declare const Eleven$inboundSchema: z.ZodType<Eleven, z.ZodTypeDef, unknown>;
|
|
2064
4269
|
/** @internal */
|
|
2065
|
-
export type
|
|
2066
|
-
|
|
4270
|
+
export type Eleven$Outbound = {
|
|
4271
|
+
type: string;
|
|
4272
|
+
timestamp: string;
|
|
4273
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data$Outbound;
|
|
4274
|
+
};
|
|
4275
|
+
/** @internal */
|
|
4276
|
+
export declare const Eleven$outboundSchema: z.ZodType<Eleven$Outbound, z.ZodTypeDef, Eleven>;
|
|
4277
|
+
export declare function elevenToJSON(eleven: Eleven): string;
|
|
4278
|
+
export declare function elevenFromJSON(jsonString: string): SafeParseResult<Eleven, SDKValidationError>;
|
|
4279
|
+
/** @internal */
|
|
4280
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Type>;
|
|
4281
|
+
/** @internal */
|
|
4282
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Type>;
|
|
4283
|
+
/** @internal */
|
|
4284
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data, z.ZodTypeDef, unknown>;
|
|
4285
|
+
/** @internal */
|
|
4286
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data$Outbound = {
|
|
4287
|
+
name: string;
|
|
4288
|
+
agent_manifest_id: string;
|
|
4289
|
+
};
|
|
4290
|
+
/** @internal */
|
|
4291
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data>;
|
|
4292
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody10DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data): string;
|
|
4293
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody10DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data, SDKValidationError>;
|
|
4294
|
+
/** @internal */
|
|
4295
|
+
export declare const Ten$inboundSchema: z.ZodType<Ten, z.ZodTypeDef, unknown>;
|
|
4296
|
+
/** @internal */
|
|
4297
|
+
export type Ten$Outbound = {
|
|
4298
|
+
type: string;
|
|
4299
|
+
timestamp: string;
|
|
4300
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data$Outbound;
|
|
4301
|
+
};
|
|
4302
|
+
/** @internal */
|
|
4303
|
+
export declare const Ten$outboundSchema: z.ZodType<Ten$Outbound, z.ZodTypeDef, Ten>;
|
|
4304
|
+
export declare function tenToJSON(ten: Ten): string;
|
|
4305
|
+
export declare function tenFromJSON(jsonString: string): SafeParseResult<Ten, SDKValidationError>;
|
|
4306
|
+
/** @internal */
|
|
4307
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type>;
|
|
4308
|
+
/** @internal */
|
|
4309
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type>;
|
|
4310
|
+
/** @internal */
|
|
4311
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data, z.ZodTypeDef, unknown>;
|
|
4312
|
+
/** @internal */
|
|
4313
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data$Outbound = {};
|
|
4314
|
+
/** @internal */
|
|
4315
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data>;
|
|
4316
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody9DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data): string;
|
|
4317
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody9DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data, SDKValidationError>;
|
|
4318
|
+
/** @internal */
|
|
4319
|
+
export declare const Nine$inboundSchema: z.ZodType<Nine, z.ZodTypeDef, unknown>;
|
|
4320
|
+
/** @internal */
|
|
4321
|
+
export type Nine$Outbound = {
|
|
4322
|
+
type: string;
|
|
4323
|
+
timestamp: string;
|
|
4324
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data$Outbound;
|
|
4325
|
+
};
|
|
4326
|
+
/** @internal */
|
|
4327
|
+
export declare const Nine$outboundSchema: z.ZodType<Nine$Outbound, z.ZodTypeDef, Nine>;
|
|
4328
|
+
export declare function nineToJSON(nine: Nine): string;
|
|
4329
|
+
export declare function nineFromJSON(jsonString: string): SafeParseResult<Nine, SDKValidationError>;
|
|
4330
|
+
/** @internal */
|
|
4331
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Type>;
|
|
4332
|
+
/** @internal */
|
|
4333
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Type>;
|
|
4334
|
+
/** @internal */
|
|
4335
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data, z.ZodTypeDef, unknown>;
|
|
4336
|
+
/** @internal */
|
|
4337
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data$Outbound = {};
|
|
4338
|
+
/** @internal */
|
|
4339
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data>;
|
|
4340
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody8DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data): string;
|
|
4341
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody8DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data, SDKValidationError>;
|
|
4342
|
+
/** @internal */
|
|
4343
|
+
export declare const Eight$inboundSchema: z.ZodType<Eight, z.ZodTypeDef, unknown>;
|
|
4344
|
+
/** @internal */
|
|
4345
|
+
export type Eight$Outbound = {
|
|
4346
|
+
type: string;
|
|
4347
|
+
timestamp: string;
|
|
4348
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data$Outbound;
|
|
4349
|
+
};
|
|
4350
|
+
/** @internal */
|
|
4351
|
+
export declare const Eight$outboundSchema: z.ZodType<Eight$Outbound, z.ZodTypeDef, Eight>;
|
|
4352
|
+
export declare function eightToJSON(eight: Eight): string;
|
|
4353
|
+
export declare function eightFromJSON(jsonString: string): SafeParseResult<Eight, SDKValidationError>;
|
|
4354
|
+
/** @internal */
|
|
4355
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type>;
|
|
4356
|
+
/** @internal */
|
|
4357
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type>;
|
|
4358
|
+
/** @internal */
|
|
4359
|
+
export declare const StreamRunAgentDataReview$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataReview>;
|
|
4360
|
+
/** @internal */
|
|
4361
|
+
export declare const StreamRunAgentDataReview$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataReview>;
|
|
4362
|
+
/** @internal */
|
|
4363
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData, z.ZodTypeDef, unknown>;
|
|
4364
|
+
/** @internal */
|
|
4365
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData$Outbound = {
|
|
4366
|
+
agent_id: string;
|
|
4367
|
+
action_id: string;
|
|
4368
|
+
agent_tool_call_id: string;
|
|
4369
|
+
review: string;
|
|
4370
|
+
mock_output?: {
|
|
4371
|
+
[k: string]: any;
|
|
4372
|
+
} | undefined;
|
|
4373
|
+
review_source?: string | undefined;
|
|
4374
|
+
reviewed_by_id?: string | undefined;
|
|
2067
4375
|
};
|
|
2068
4376
|
/** @internal */
|
|
2069
|
-
export declare const
|
|
2070
|
-
export declare function
|
|
2071
|
-
export declare function
|
|
4377
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData>;
|
|
4378
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBodyDataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData): string;
|
|
4379
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBodyDataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData, SDKValidationError>;
|
|
2072
4380
|
/** @internal */
|
|
2073
|
-
export declare const
|
|
4381
|
+
export declare const Seven$inboundSchema: z.ZodType<Seven, z.ZodTypeDef, unknown>;
|
|
2074
4382
|
/** @internal */
|
|
2075
|
-
export type
|
|
2076
|
-
|
|
2077
|
-
|
|
4383
|
+
export type Seven$Outbound = {
|
|
4384
|
+
type: string;
|
|
4385
|
+
timestamp: string;
|
|
4386
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData$Outbound;
|
|
2078
4387
|
};
|
|
2079
4388
|
/** @internal */
|
|
2080
|
-
export declare const
|
|
2081
|
-
export declare function
|
|
2082
|
-
export declare function
|
|
4389
|
+
export declare const Seven$outboundSchema: z.ZodType<Seven$Outbound, z.ZodTypeDef, Seven>;
|
|
4390
|
+
export declare function sevenToJSON(seven: Seven): string;
|
|
4391
|
+
export declare function sevenFromJSON(jsonString: string): SafeParseResult<Seven, SDKValidationError>;
|
|
2083
4392
|
/** @internal */
|
|
2084
|
-
export declare const
|
|
4393
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyType>;
|
|
2085
4394
|
/** @internal */
|
|
2086
|
-
export declare const
|
|
4395
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyType>;
|
|
2087
4396
|
/** @internal */
|
|
2088
|
-
export declare const
|
|
4397
|
+
export declare const DataConditions$inboundSchema: z.ZodType<DataConditions, z.ZodTypeDef, unknown>;
|
|
2089
4398
|
/** @internal */
|
|
2090
|
-
export type
|
|
4399
|
+
export type DataConditions$Outbound = {
|
|
4400
|
+
condition: string;
|
|
4401
|
+
operator: string;
|
|
2091
4402
|
value: string;
|
|
2092
|
-
encrypted: boolean;
|
|
2093
4403
|
};
|
|
2094
4404
|
/** @internal */
|
|
2095
|
-
export declare const
|
|
2096
|
-
export declare function
|
|
2097
|
-
export declare function
|
|
4405
|
+
export declare const DataConditions$outboundSchema: z.ZodType<DataConditions$Outbound, z.ZodTypeDef, DataConditions>;
|
|
4406
|
+
export declare function dataConditionsToJSON(dataConditions: DataConditions): string;
|
|
4407
|
+
export declare function dataConditionsFromJSON(jsonString: string): SafeParseResult<DataConditions, SDKValidationError>;
|
|
2098
4408
|
/** @internal */
|
|
2099
|
-
export declare const
|
|
4409
|
+
export declare const StreamRunAgentDataTool$inboundSchema: z.ZodType<StreamRunAgentDataTool, z.ZodTypeDef, unknown>;
|
|
2100
4410
|
/** @internal */
|
|
2101
|
-
export
|
|
4411
|
+
export type StreamRunAgentDataTool$Outbound = {
|
|
4412
|
+
id: string;
|
|
4413
|
+
key?: string | undefined;
|
|
4414
|
+
action_type: string;
|
|
4415
|
+
display_name?: string | undefined;
|
|
4416
|
+
description?: string | undefined;
|
|
4417
|
+
requires_approval: boolean;
|
|
4418
|
+
tool_id?: string | undefined;
|
|
4419
|
+
conditions?: Array<DataConditions$Outbound> | undefined;
|
|
4420
|
+
timeout: number;
|
|
4421
|
+
};
|
|
2102
4422
|
/** @internal */
|
|
2103
|
-
export declare const
|
|
4423
|
+
export declare const StreamRunAgentDataTool$outboundSchema: z.ZodType<StreamRunAgentDataTool$Outbound, z.ZodTypeDef, StreamRunAgentDataTool>;
|
|
4424
|
+
export declare function streamRunAgentDataToolToJSON(streamRunAgentDataTool: StreamRunAgentDataTool): string;
|
|
4425
|
+
export declare function streamRunAgentDataToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataTool, SDKValidationError>;
|
|
2104
4426
|
/** @internal */
|
|
2105
|
-
export
|
|
2106
|
-
|
|
2107
|
-
|
|
4427
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamData$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamData, z.ZodTypeDef, unknown>;
|
|
4428
|
+
/** @internal */
|
|
4429
|
+
export type StreamRunAgentDataAgentsResponse200TextEventStreamData$Outbound = {
|
|
4430
|
+
agent_id: string;
|
|
4431
|
+
action_id: string;
|
|
4432
|
+
requires_approval: boolean;
|
|
4433
|
+
tool: StreamRunAgentDataTool$Outbound;
|
|
4434
|
+
input: {
|
|
2108
4435
|
[k: string]: any;
|
|
2109
|
-
}
|
|
2110
|
-
|
|
4436
|
+
};
|
|
4437
|
+
agent_tool_call_id: string;
|
|
2111
4438
|
};
|
|
2112
4439
|
/** @internal */
|
|
2113
|
-
export declare const
|
|
2114
|
-
export declare function
|
|
2115
|
-
export declare function
|
|
4440
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamData$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamData$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200TextEventStreamData>;
|
|
4441
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamDataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamData: StreamRunAgentDataAgentsResponse200TextEventStreamData): string;
|
|
4442
|
+
export declare function streamRunAgentDataAgentsResponse200TextEventStreamDataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamData, SDKValidationError>;
|
|
2116
4443
|
/** @internal */
|
|
2117
|
-
export declare const
|
|
4444
|
+
export declare const StreamRunAgentData6$inboundSchema: z.ZodType<StreamRunAgentData6, z.ZodTypeDef, unknown>;
|
|
2118
4445
|
/** @internal */
|
|
2119
|
-
export type
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
schema: AgentToolInputRunSchema$Outbound;
|
|
4446
|
+
export type StreamRunAgentData6$Outbound = {
|
|
4447
|
+
type: string;
|
|
4448
|
+
timestamp: string;
|
|
4449
|
+
data: StreamRunAgentDataAgentsResponse200TextEventStreamData$Outbound;
|
|
2124
4450
|
};
|
|
2125
4451
|
/** @internal */
|
|
2126
|
-
export declare const
|
|
2127
|
-
export declare function
|
|
2128
|
-
export declare function
|
|
4452
|
+
export declare const StreamRunAgentData6$outboundSchema: z.ZodType<StreamRunAgentData6$Outbound, z.ZodTypeDef, StreamRunAgentData6>;
|
|
4453
|
+
export declare function streamRunAgentData6ToJSON(streamRunAgentData6: StreamRunAgentData6): string;
|
|
4454
|
+
export declare function streamRunAgentData6FromJSON(jsonString: string): SafeParseResult<StreamRunAgentData6, SDKValidationError>;
|
|
2129
4455
|
/** @internal */
|
|
2130
|
-
export declare const
|
|
4456
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamType>;
|
|
2131
4457
|
/** @internal */
|
|
2132
|
-
export declare const
|
|
4458
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamType>;
|
|
2133
4459
|
/** @internal */
|
|
2134
|
-
export declare const
|
|
4460
|
+
export declare const StreamRunAgentDataAgentsResponse200Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200Data, z.ZodTypeDef, unknown>;
|
|
2135
4461
|
/** @internal */
|
|
2136
|
-
export type
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
[k: string]: StreamRunAgentAgentToolInputRunAgentsHeaders$Outbound;
|
|
2140
|
-
} | undefined;
|
|
2141
|
-
tools: Array<AgentToolInputRunTools$Outbound>;
|
|
2142
|
-
connection_type: string;
|
|
4462
|
+
export type StreamRunAgentDataAgentsResponse200Data$Outbound = {
|
|
4463
|
+
error: string;
|
|
4464
|
+
code: number;
|
|
2143
4465
|
};
|
|
2144
4466
|
/** @internal */
|
|
2145
|
-
export declare const
|
|
2146
|
-
export declare function
|
|
2147
|
-
export declare function
|
|
4467
|
+
export declare const StreamRunAgentDataAgentsResponse200Data$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200Data$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponse200Data>;
|
|
4468
|
+
export declare function streamRunAgentDataAgentsResponse200DataToJSON(streamRunAgentDataAgentsResponse200Data: StreamRunAgentDataAgentsResponse200Data): string;
|
|
4469
|
+
export declare function streamRunAgentDataAgentsResponse200DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200Data, SDKValidationError>;
|
|
2148
4470
|
/** @internal */
|
|
2149
|
-
export declare const
|
|
4471
|
+
export declare const StreamRunAgentData5$inboundSchema: z.ZodType<StreamRunAgentData5, z.ZodTypeDef, unknown>;
|
|
2150
4472
|
/** @internal */
|
|
2151
|
-
export type
|
|
4473
|
+
export type StreamRunAgentData5$Outbound = {
|
|
2152
4474
|
type: string;
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
display_name?: string | undefined;
|
|
2156
|
-
description: string;
|
|
2157
|
-
mcp: AgentToolInputRunMcp$Outbound;
|
|
2158
|
-
requires_approval: boolean;
|
|
4475
|
+
timestamp: string;
|
|
4476
|
+
data: StreamRunAgentDataAgentsResponse200Data$Outbound;
|
|
2159
4477
|
};
|
|
2160
4478
|
/** @internal */
|
|
2161
|
-
export declare const
|
|
2162
|
-
export declare function
|
|
2163
|
-
export declare function
|
|
4479
|
+
export declare const StreamRunAgentData5$outboundSchema: z.ZodType<StreamRunAgentData5$Outbound, z.ZodTypeDef, StreamRunAgentData5>;
|
|
4480
|
+
export declare function streamRunAgentData5ToJSON(streamRunAgentData5: StreamRunAgentData5): string;
|
|
4481
|
+
export declare function streamRunAgentData5FromJSON(jsonString: string): SafeParseResult<StreamRunAgentData5, SDKValidationError>;
|
|
2164
4482
|
/** @internal */
|
|
2165
|
-
export declare const
|
|
4483
|
+
export declare const StreamRunAgentDataAgentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200Type>;
|
|
2166
4484
|
/** @internal */
|
|
2167
|
-
export declare const
|
|
4485
|
+
export declare const StreamRunAgentDataAgentsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200Type>;
|
|
2168
4486
|
/** @internal */
|
|
2169
|
-
export declare const
|
|
4487
|
+
export declare const FinishReason$inboundSchema: z.ZodNativeEnum<typeof FinishReason>;
|
|
2170
4488
|
/** @internal */
|
|
2171
|
-
export declare const
|
|
4489
|
+
export declare const FinishReason$outboundSchema: z.ZodNativeEnum<typeof FinishReason>;
|
|
2172
4490
|
/** @internal */
|
|
2173
|
-
export declare const
|
|
4491
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody4Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody4Type>;
|
|
2174
4492
|
/** @internal */
|
|
2175
|
-
export
|
|
4493
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody4Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody4Type>;
|
|
4494
|
+
/** @internal */
|
|
4495
|
+
export declare const StreamRunAgentDataFunction$inboundSchema: z.ZodType<StreamRunAgentDataFunction, z.ZodTypeDef, unknown>;
|
|
4496
|
+
/** @internal */
|
|
4497
|
+
export type StreamRunAgentDataFunction$Outbound = {
|
|
4498
|
+
name?: string | undefined;
|
|
4499
|
+
arguments?: string | undefined;
|
|
4500
|
+
};
|
|
4501
|
+
/** @internal */
|
|
4502
|
+
export declare const StreamRunAgentDataFunction$outboundSchema: z.ZodType<StreamRunAgentDataFunction$Outbound, z.ZodTypeDef, StreamRunAgentDataFunction>;
|
|
4503
|
+
export declare function streamRunAgentDataFunctionToJSON(streamRunAgentDataFunction: StreamRunAgentDataFunction): string;
|
|
4504
|
+
export declare function streamRunAgentDataFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataFunction, SDKValidationError>;
|
|
4505
|
+
/** @internal */
|
|
4506
|
+
export declare const PendingToolCalls$inboundSchema: z.ZodType<PendingToolCalls, z.ZodTypeDef, unknown>;
|
|
4507
|
+
/** @internal */
|
|
4508
|
+
export type PendingToolCalls$Outbound = {
|
|
4509
|
+
id: string;
|
|
2176
4510
|
type: string;
|
|
2177
|
-
|
|
2178
|
-
[k: string]: any;
|
|
2179
|
-
};
|
|
2180
|
-
required: Array<string>;
|
|
2181
|
-
[additionalProperties: string]: unknown;
|
|
4511
|
+
function: StreamRunAgentDataFunction$Outbound;
|
|
2182
4512
|
};
|
|
2183
4513
|
/** @internal */
|
|
2184
|
-
export declare const
|
|
2185
|
-
export declare function
|
|
2186
|
-
export declare function
|
|
4514
|
+
export declare const PendingToolCalls$outboundSchema: z.ZodType<PendingToolCalls$Outbound, z.ZodTypeDef, PendingToolCalls>;
|
|
4515
|
+
export declare function pendingToolCallsToJSON(pendingToolCalls: PendingToolCalls): string;
|
|
4516
|
+
export declare function pendingToolCallsFromJSON(jsonString: string): SafeParseResult<PendingToolCalls, SDKValidationError>;
|
|
2187
4517
|
/** @internal */
|
|
2188
|
-
export declare const
|
|
4518
|
+
export declare const StreamRunAgentDataAgentsResponseData$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponseData, z.ZodTypeDef, unknown>;
|
|
2189
4519
|
/** @internal */
|
|
2190
|
-
export type
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
parameters?: StreamRunAgentAgentToolInputRunAgentsParameters$Outbound | undefined;
|
|
4520
|
+
export type StreamRunAgentDataAgentsResponseData$Outbound = {
|
|
4521
|
+
last_message: string;
|
|
4522
|
+
finish_reason: string;
|
|
4523
|
+
pending_tool_calls?: Array<PendingToolCalls$Outbound> | undefined;
|
|
2195
4524
|
};
|
|
2196
4525
|
/** @internal */
|
|
2197
|
-
export declare const
|
|
2198
|
-
export declare function
|
|
2199
|
-
export declare function
|
|
4526
|
+
export declare const StreamRunAgentDataAgentsResponseData$outboundSchema: z.ZodType<StreamRunAgentDataAgentsResponseData$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsResponseData>;
|
|
4527
|
+
export declare function streamRunAgentDataAgentsResponseDataToJSON(streamRunAgentDataAgentsResponseData: StreamRunAgentDataAgentsResponseData): string;
|
|
4528
|
+
export declare function streamRunAgentDataAgentsResponseDataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponseData, SDKValidationError>;
|
|
2200
4529
|
/** @internal */
|
|
2201
|
-
export declare const
|
|
4530
|
+
export declare const Data4$inboundSchema: z.ZodType<Data4, z.ZodTypeDef, unknown>;
|
|
2202
4531
|
/** @internal */
|
|
2203
|
-
export type
|
|
4532
|
+
export type Data4$Outbound = {
|
|
2204
4533
|
type: string;
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
display_name?: string | undefined;
|
|
2208
|
-
description?: string | undefined;
|
|
2209
|
-
function: StreamRunAgentAgentToolInputRunFunction$Outbound;
|
|
2210
|
-
requires_approval: boolean;
|
|
4534
|
+
timestamp: string;
|
|
4535
|
+
data: StreamRunAgentDataAgentsResponseData$Outbound;
|
|
2211
4536
|
};
|
|
2212
4537
|
/** @internal */
|
|
2213
|
-
export declare const
|
|
2214
|
-
export declare function
|
|
2215
|
-
export declare function
|
|
4538
|
+
export declare const Data4$outboundSchema: z.ZodType<Data4$Outbound, z.ZodTypeDef, Data4>;
|
|
4539
|
+
export declare function data4ToJSON(data4: Data4): string;
|
|
4540
|
+
export declare function data4FromJSON(jsonString: string): SafeParseResult<Data4, SDKValidationError>;
|
|
2216
4541
|
/** @internal */
|
|
2217
|
-
export declare const
|
|
4542
|
+
export declare const StreamRunAgentDataAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponseType>;
|
|
2218
4543
|
/** @internal */
|
|
2219
|
-
export declare const
|
|
4544
|
+
export declare const StreamRunAgentDataAgentsResponseType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponseType>;
|
|
2220
4545
|
/** @internal */
|
|
2221
|
-
export declare const
|
|
4546
|
+
export declare const StreamRunAgentDataRole$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataRole>;
|
|
2222
4547
|
/** @internal */
|
|
2223
|
-
export declare const
|
|
4548
|
+
export declare const StreamRunAgentDataRole$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataRole>;
|
|
2224
4549
|
/** @internal */
|
|
2225
|
-
export declare const
|
|
4550
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataMessageDifferenceKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataMessageDifferenceKind>;
|
|
2226
4551
|
/** @internal */
|
|
2227
|
-
export
|
|
2228
|
-
|
|
2229
|
-
|
|
4552
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataMessageDifferenceKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataMessageDifferenceKind>;
|
|
4553
|
+
/** @internal */
|
|
4554
|
+
export declare const StreamRunAgentPartsAgentsToolResultPart$inboundSchema: z.ZodType<StreamRunAgentPartsAgentsToolResultPart, z.ZodTypeDef, unknown>;
|
|
4555
|
+
/** @internal */
|
|
4556
|
+
export type StreamRunAgentPartsAgentsToolResultPart$Outbound = {
|
|
4557
|
+
kind: string;
|
|
4558
|
+
tool_call_id: string;
|
|
4559
|
+
result?: any | undefined;
|
|
4560
|
+
metadata?: {
|
|
4561
|
+
[k: string]: any;
|
|
4562
|
+
} | undefined;
|
|
4563
|
+
};
|
|
4564
|
+
/** @internal */
|
|
4565
|
+
export declare const StreamRunAgentPartsAgentsToolResultPart$outboundSchema: z.ZodType<StreamRunAgentPartsAgentsToolResultPart$Outbound, z.ZodTypeDef, StreamRunAgentPartsAgentsToolResultPart>;
|
|
4566
|
+
export declare function streamRunAgentPartsAgentsToolResultPartToJSON(streamRunAgentPartsAgentsToolResultPart: StreamRunAgentPartsAgentsToolResultPart): string;
|
|
4567
|
+
export declare function streamRunAgentPartsAgentsToolResultPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsAgentsToolResultPart, SDKValidationError>;
|
|
4568
|
+
/** @internal */
|
|
4569
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataKind>;
|
|
4570
|
+
/** @internal */
|
|
4571
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3DataKind>;
|
|
4572
|
+
/** @internal */
|
|
4573
|
+
export declare const StreamRunAgentPartsAgentsToolCallPart$inboundSchema: z.ZodType<StreamRunAgentPartsAgentsToolCallPart, z.ZodTypeDef, unknown>;
|
|
4574
|
+
/** @internal */
|
|
4575
|
+
export type StreamRunAgentPartsAgentsToolCallPart$Outbound = {
|
|
4576
|
+
kind: string;
|
|
4577
|
+
tool_name: string;
|
|
4578
|
+
tool_call_id: string;
|
|
4579
|
+
arguments: {
|
|
2230
4580
|
[k: string]: any;
|
|
2231
4581
|
};
|
|
2232
|
-
|
|
2233
|
-
|
|
4582
|
+
metadata?: {
|
|
4583
|
+
[k: string]: any;
|
|
4584
|
+
} | undefined;
|
|
2234
4585
|
};
|
|
2235
4586
|
/** @internal */
|
|
2236
|
-
export declare const
|
|
2237
|
-
export declare function
|
|
2238
|
-
export declare function
|
|
4587
|
+
export declare const StreamRunAgentPartsAgentsToolCallPart$outboundSchema: z.ZodType<StreamRunAgentPartsAgentsToolCallPart$Outbound, z.ZodTypeDef, StreamRunAgentPartsAgentsToolCallPart>;
|
|
4588
|
+
export declare function streamRunAgentPartsAgentsToolCallPartToJSON(streamRunAgentPartsAgentsToolCallPart: StreamRunAgentPartsAgentsToolCallPart): string;
|
|
4589
|
+
export declare function streamRunAgentPartsAgentsToolCallPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsAgentsToolCallPart, SDKValidationError>;
|
|
2239
4590
|
/** @internal */
|
|
2240
|
-
export declare const
|
|
4591
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3Kind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3Kind>;
|
|
2241
4592
|
/** @internal */
|
|
2242
|
-
export declare const
|
|
4593
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3Kind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyData3Kind>;
|
|
2243
4594
|
/** @internal */
|
|
2244
|
-
export declare const
|
|
4595
|
+
export declare const StreamRunAgentFileAgentsResponseFileInURIFormat$inboundSchema: z.ZodType<StreamRunAgentFileAgentsResponseFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
2245
4596
|
/** @internal */
|
|
2246
|
-
export type
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
4597
|
+
export type StreamRunAgentFileAgentsResponseFileInURIFormat$Outbound = {
|
|
4598
|
+
uri: string;
|
|
4599
|
+
mimeType?: string | undefined;
|
|
4600
|
+
name?: string | undefined;
|
|
2250
4601
|
};
|
|
2251
4602
|
/** @internal */
|
|
2252
|
-
export declare const
|
|
2253
|
-
export declare function
|
|
2254
|
-
export declare function
|
|
4603
|
+
export declare const StreamRunAgentFileAgentsResponseFileInURIFormat$outboundSchema: z.ZodType<StreamRunAgentFileAgentsResponseFileInURIFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileAgentsResponseFileInURIFormat>;
|
|
4604
|
+
export declare function streamRunAgentFileAgentsResponseFileInURIFormatToJSON(streamRunAgentFileAgentsResponseFileInURIFormat: StreamRunAgentFileAgentsResponseFileInURIFormat): string;
|
|
4605
|
+
export declare function streamRunAgentFileAgentsResponseFileInURIFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFileAgentsResponseFileInURIFormat, SDKValidationError>;
|
|
2255
4606
|
/** @internal */
|
|
2256
|
-
export declare const
|
|
4607
|
+
export declare const StreamRunAgentFileAgentsResponseBinaryFormat$inboundSchema: z.ZodType<StreamRunAgentFileAgentsResponseBinaryFormat, z.ZodTypeDef, unknown>;
|
|
2257
4608
|
/** @internal */
|
|
2258
|
-
export type
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
display_name?: string | undefined;
|
|
2263
|
-
description: string;
|
|
2264
|
-
code_tool: AgentToolInputRunCodeTool$Outbound;
|
|
2265
|
-
requires_approval: boolean;
|
|
4609
|
+
export type StreamRunAgentFileAgentsResponseBinaryFormat$Outbound = {
|
|
4610
|
+
bytes: string;
|
|
4611
|
+
mimeType?: string | undefined;
|
|
4612
|
+
name?: string | undefined;
|
|
2266
4613
|
};
|
|
2267
4614
|
/** @internal */
|
|
2268
|
-
export declare const
|
|
2269
|
-
export declare function
|
|
2270
|
-
export declare function
|
|
4615
|
+
export declare const StreamRunAgentFileAgentsResponseBinaryFormat$outboundSchema: z.ZodType<StreamRunAgentFileAgentsResponseBinaryFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileAgentsResponseBinaryFormat>;
|
|
4616
|
+
export declare function streamRunAgentFileAgentsResponseBinaryFormatToJSON(streamRunAgentFileAgentsResponseBinaryFormat: StreamRunAgentFileAgentsResponseBinaryFormat): string;
|
|
4617
|
+
export declare function streamRunAgentFileAgentsResponseBinaryFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFileAgentsResponseBinaryFormat, SDKValidationError>;
|
|
2271
4618
|
/** @internal */
|
|
2272
|
-
export declare const
|
|
4619
|
+
export declare const StreamRunAgentPartsAgentsFile$inboundSchema: z.ZodType<StreamRunAgentPartsAgentsFile, z.ZodTypeDef, unknown>;
|
|
2273
4620
|
/** @internal */
|
|
2274
|
-
export
|
|
4621
|
+
export type StreamRunAgentPartsAgentsFile$Outbound = StreamRunAgentFileAgentsResponseBinaryFormat$Outbound | StreamRunAgentFileAgentsResponseFileInURIFormat$Outbound;
|
|
2275
4622
|
/** @internal */
|
|
2276
|
-
export declare const
|
|
4623
|
+
export declare const StreamRunAgentPartsAgentsFile$outboundSchema: z.ZodType<StreamRunAgentPartsAgentsFile$Outbound, z.ZodTypeDef, StreamRunAgentPartsAgentsFile>;
|
|
4624
|
+
export declare function streamRunAgentPartsAgentsFileToJSON(streamRunAgentPartsAgentsFile: StreamRunAgentPartsAgentsFile): string;
|
|
4625
|
+
export declare function streamRunAgentPartsAgentsFileFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsAgentsFile, SDKValidationError>;
|
|
2277
4626
|
/** @internal */
|
|
2278
|
-
export declare const
|
|
4627
|
+
export declare const StreamRunAgentPartsAgentsFilePart$inboundSchema: z.ZodType<StreamRunAgentPartsAgentsFilePart, z.ZodTypeDef, unknown>;
|
|
2279
4628
|
/** @internal */
|
|
2280
|
-
export
|
|
4629
|
+
export type StreamRunAgentPartsAgentsFilePart$Outbound = {
|
|
4630
|
+
kind: string;
|
|
4631
|
+
file: StreamRunAgentFileAgentsResponseBinaryFormat$Outbound | StreamRunAgentFileAgentsResponseFileInURIFormat$Outbound;
|
|
4632
|
+
metadata?: {
|
|
4633
|
+
[k: string]: any;
|
|
4634
|
+
} | undefined;
|
|
4635
|
+
};
|
|
2281
4636
|
/** @internal */
|
|
2282
|
-
export
|
|
2283
|
-
|
|
2284
|
-
|
|
4637
|
+
export declare const StreamRunAgentPartsAgentsFilePart$outboundSchema: z.ZodType<StreamRunAgentPartsAgentsFilePart$Outbound, z.ZodTypeDef, StreamRunAgentPartsAgentsFilePart>;
|
|
4638
|
+
export declare function streamRunAgentPartsAgentsFilePartToJSON(streamRunAgentPartsAgentsFilePart: StreamRunAgentPartsAgentsFilePart): string;
|
|
4639
|
+
export declare function streamRunAgentPartsAgentsFilePartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsAgentsFilePart, SDKValidationError>;
|
|
4640
|
+
/** @internal */
|
|
4641
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyDataKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyDataKind>;
|
|
4642
|
+
/** @internal */
|
|
4643
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyDataKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyDataKind>;
|
|
4644
|
+
/** @internal */
|
|
4645
|
+
export declare const StreamRunAgentPartsAgentsDataPart$inboundSchema: z.ZodType<StreamRunAgentPartsAgentsDataPart, z.ZodTypeDef, unknown>;
|
|
4646
|
+
/** @internal */
|
|
4647
|
+
export type StreamRunAgentPartsAgentsDataPart$Outbound = {
|
|
4648
|
+
kind: string;
|
|
4649
|
+
data: {
|
|
4650
|
+
[k: string]: any;
|
|
4651
|
+
};
|
|
4652
|
+
metadata?: {
|
|
4653
|
+
[k: string]: any;
|
|
4654
|
+
} | undefined;
|
|
2285
4655
|
};
|
|
2286
4656
|
/** @internal */
|
|
2287
|
-
export declare const
|
|
2288
|
-
export declare function
|
|
2289
|
-
export declare function
|
|
4657
|
+
export declare const StreamRunAgentPartsAgentsDataPart$outboundSchema: z.ZodType<StreamRunAgentPartsAgentsDataPart$Outbound, z.ZodTypeDef, StreamRunAgentPartsAgentsDataPart>;
|
|
4658
|
+
export declare function streamRunAgentPartsAgentsDataPartToJSON(streamRunAgentPartsAgentsDataPart: StreamRunAgentPartsAgentsDataPart): string;
|
|
4659
|
+
export declare function streamRunAgentPartsAgentsDataPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsAgentsDataPart, SDKValidationError>;
|
|
2290
4660
|
/** @internal */
|
|
2291
|
-
export declare const
|
|
4661
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyKind>;
|
|
2292
4662
|
/** @internal */
|
|
2293
|
-
export
|
|
4663
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamResponseBodyKind>;
|
|
2294
4664
|
/** @internal */
|
|
2295
|
-
export declare const
|
|
2296
|
-
export declare function streamRunAgentAgentToolInputRunHeadersToJSON(streamRunAgentAgentToolInputRunHeaders: StreamRunAgentAgentToolInputRunHeaders): string;
|
|
2297
|
-
export declare function streamRunAgentAgentToolInputRunHeadersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunHeaders, SDKValidationError>;
|
|
4665
|
+
export declare const StreamRunAgentPartsAgentsTextPart$inboundSchema: z.ZodType<StreamRunAgentPartsAgentsTextPart, z.ZodTypeDef, unknown>;
|
|
2298
4666
|
/** @internal */
|
|
2299
|
-
export
|
|
4667
|
+
export type StreamRunAgentPartsAgentsTextPart$Outbound = {
|
|
4668
|
+
kind: string;
|
|
4669
|
+
text: string;
|
|
4670
|
+
};
|
|
2300
4671
|
/** @internal */
|
|
2301
|
-
export
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
4672
|
+
export declare const StreamRunAgentPartsAgentsTextPart$outboundSchema: z.ZodType<StreamRunAgentPartsAgentsTextPart$Outbound, z.ZodTypeDef, StreamRunAgentPartsAgentsTextPart>;
|
|
4673
|
+
export declare function streamRunAgentPartsAgentsTextPartToJSON(streamRunAgentPartsAgentsTextPart: StreamRunAgentPartsAgentsTextPart): string;
|
|
4674
|
+
export declare function streamRunAgentPartsAgentsTextPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsAgentsTextPart, SDKValidationError>;
|
|
4675
|
+
/** @internal */
|
|
4676
|
+
export declare const StreamRunAgentDataParts$inboundSchema: z.ZodType<StreamRunAgentDataParts, z.ZodTypeDef, unknown>;
|
|
4677
|
+
/** @internal */
|
|
4678
|
+
export type StreamRunAgentDataParts$Outbound = StreamRunAgentPartsAgentsToolCallPart$Outbound | StreamRunAgentPartsAgentsTextPart$Outbound | StreamRunAgentPartsAgentsDataPart$Outbound | StreamRunAgentPartsAgentsFilePart$Outbound | StreamRunAgentPartsAgentsToolResultPart$Outbound;
|
|
4679
|
+
/** @internal */
|
|
4680
|
+
export declare const StreamRunAgentDataParts$outboundSchema: z.ZodType<StreamRunAgentDataParts$Outbound, z.ZodTypeDef, StreamRunAgentDataParts>;
|
|
4681
|
+
export declare function streamRunAgentDataPartsToJSON(streamRunAgentDataParts: StreamRunAgentDataParts): string;
|
|
4682
|
+
export declare function streamRunAgentDataPartsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataParts, SDKValidationError>;
|
|
4683
|
+
/** @internal */
|
|
4684
|
+
export declare const MessageDifference$inboundSchema: z.ZodType<MessageDifference, z.ZodTypeDef, unknown>;
|
|
4685
|
+
/** @internal */
|
|
4686
|
+
export type MessageDifference$Outbound = {
|
|
4687
|
+
messageId: string;
|
|
4688
|
+
role: string;
|
|
4689
|
+
parts: Array<StreamRunAgentPartsAgentsToolCallPart$Outbound | StreamRunAgentPartsAgentsTextPart$Outbound | StreamRunAgentPartsAgentsDataPart$Outbound | StreamRunAgentPartsAgentsFilePart$Outbound | StreamRunAgentPartsAgentsToolResultPart$Outbound>;
|
|
4690
|
+
metadata?: {
|
|
2308
4691
|
[k: string]: any;
|
|
2309
4692
|
} | undefined;
|
|
4693
|
+
agent_id: string;
|
|
4694
|
+
agent_execution_id: string;
|
|
4695
|
+
workspace_id: string;
|
|
2310
4696
|
};
|
|
2311
4697
|
/** @internal */
|
|
2312
|
-
export declare const
|
|
2313
|
-
export declare function
|
|
2314
|
-
export declare function
|
|
4698
|
+
export declare const MessageDifference$outboundSchema: z.ZodType<MessageDifference$Outbound, z.ZodTypeDef, MessageDifference>;
|
|
4699
|
+
export declare function messageDifferenceToJSON(messageDifference: MessageDifference): string;
|
|
4700
|
+
export declare function messageDifferenceFromJSON(jsonString: string): SafeParseResult<MessageDifference, SDKValidationError>;
|
|
2315
4701
|
/** @internal */
|
|
2316
|
-
export declare const
|
|
4702
|
+
export declare const StreamRunAgentDataFinishReason$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataFinishReason>;
|
|
2317
4703
|
/** @internal */
|
|
2318
|
-
export declare const
|
|
4704
|
+
export declare const StreamRunAgentDataFinishReason$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataFinishReason>;
|
|
2319
4705
|
/** @internal */
|
|
2320
|
-
export declare const
|
|
4706
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody3Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody3Type>;
|
|
2321
4707
|
/** @internal */
|
|
2322
|
-
export
|
|
4708
|
+
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody3Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody3Type>;
|
|
2323
4709
|
/** @internal */
|
|
2324
|
-
export declare const
|
|
2325
|
-
export declare function agentToolInputRunDefaultValueToJSON(agentToolInputRunDefaultValue: AgentToolInputRunDefaultValue): string;
|
|
2326
|
-
export declare function agentToolInputRunDefaultValueFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunDefaultValue, SDKValidationError>;
|
|
4710
|
+
export declare const StreamRunAgentDataAgentsFunction$inboundSchema: z.ZodType<StreamRunAgentDataAgentsFunction, z.ZodTypeDef, unknown>;
|
|
2327
4711
|
/** @internal */
|
|
2328
|
-
export
|
|
4712
|
+
export type StreamRunAgentDataAgentsFunction$Outbound = {
|
|
4713
|
+
name?: string | undefined;
|
|
4714
|
+
arguments?: string | undefined;
|
|
4715
|
+
};
|
|
2329
4716
|
/** @internal */
|
|
2330
|
-
export
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
4717
|
+
export declare const StreamRunAgentDataAgentsFunction$outboundSchema: z.ZodType<StreamRunAgentDataAgentsFunction$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsFunction>;
|
|
4718
|
+
export declare function streamRunAgentDataAgentsFunctionToJSON(streamRunAgentDataAgentsFunction: StreamRunAgentDataAgentsFunction): string;
|
|
4719
|
+
export declare function streamRunAgentDataAgentsFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsFunction, SDKValidationError>;
|
|
4720
|
+
/** @internal */
|
|
4721
|
+
export declare const DataToolCalls$inboundSchema: z.ZodType<DataToolCalls, z.ZodTypeDef, unknown>;
|
|
4722
|
+
/** @internal */
|
|
4723
|
+
export type DataToolCalls$Outbound = {
|
|
4724
|
+
id?: string | undefined;
|
|
4725
|
+
type?: string | undefined;
|
|
4726
|
+
function?: StreamRunAgentDataAgentsFunction$Outbound | undefined;
|
|
2335
4727
|
};
|
|
2336
4728
|
/** @internal */
|
|
2337
|
-
export declare const
|
|
2338
|
-
export declare function
|
|
2339
|
-
export declare function
|
|
4729
|
+
export declare const DataToolCalls$outboundSchema: z.ZodType<DataToolCalls$Outbound, z.ZodTypeDef, DataToolCalls>;
|
|
4730
|
+
export declare function dataToolCallsToJSON(dataToolCalls: DataToolCalls): string;
|
|
4731
|
+
export declare function dataToolCallsFromJSON(jsonString: string): SafeParseResult<DataToolCalls, SDKValidationError>;
|
|
2340
4732
|
/** @internal */
|
|
2341
|
-
export declare const
|
|
4733
|
+
export declare const StreamRunAgentDataAgentsResponseRole$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponseRole>;
|
|
2342
4734
|
/** @internal */
|
|
2343
|
-
export
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
4735
|
+
export declare const StreamRunAgentDataAgentsResponseRole$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponseRole>;
|
|
4736
|
+
/** @internal */
|
|
4737
|
+
export declare const DataAudio$inboundSchema: z.ZodType<DataAudio, z.ZodTypeDef, unknown>;
|
|
4738
|
+
/** @internal */
|
|
4739
|
+
export type DataAudio$Outbound = {
|
|
4740
|
+
id: string;
|
|
4741
|
+
expires_at: number;
|
|
4742
|
+
data: string;
|
|
4743
|
+
transcript: string;
|
|
2348
4744
|
};
|
|
2349
4745
|
/** @internal */
|
|
2350
|
-
export declare const
|
|
2351
|
-
export declare function
|
|
2352
|
-
export declare function
|
|
4746
|
+
export declare const DataAudio$outboundSchema: z.ZodType<DataAudio$Outbound, z.ZodTypeDef, DataAudio>;
|
|
4747
|
+
export declare function dataAudioToJSON(dataAudio: DataAudio): string;
|
|
4748
|
+
export declare function dataAudioFromJSON(jsonString: string): SafeParseResult<DataAudio, SDKValidationError>;
|
|
2353
4749
|
/** @internal */
|
|
2354
|
-
export declare const
|
|
4750
|
+
export declare const StreamRunAgentDataMessage$inboundSchema: z.ZodType<StreamRunAgentDataMessage, z.ZodTypeDef, unknown>;
|
|
2355
4751
|
/** @internal */
|
|
2356
|
-
export type
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
4752
|
+
export type StreamRunAgentDataMessage$Outbound = {
|
|
4753
|
+
content?: string | null | undefined;
|
|
4754
|
+
refusal?: string | null | undefined;
|
|
4755
|
+
tool_calls?: Array<DataToolCalls$Outbound> | undefined;
|
|
4756
|
+
role?: string | undefined;
|
|
4757
|
+
reasoning?: string | null | undefined;
|
|
4758
|
+
reasoning_signature?: string | null | undefined;
|
|
4759
|
+
redacted_reasoning?: string | undefined;
|
|
4760
|
+
audio?: DataAudio$Outbound | null | undefined;
|
|
2364
4761
|
};
|
|
2365
4762
|
/** @internal */
|
|
2366
|
-
export declare const
|
|
2367
|
-
export declare function
|
|
2368
|
-
export declare function
|
|
4763
|
+
export declare const StreamRunAgentDataMessage$outboundSchema: z.ZodType<StreamRunAgentDataMessage$Outbound, z.ZodTypeDef, StreamRunAgentDataMessage>;
|
|
4764
|
+
export declare function streamRunAgentDataMessageToJSON(streamRunAgentDataMessage: StreamRunAgentDataMessage): string;
|
|
4765
|
+
export declare function streamRunAgentDataMessageFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataMessage, SDKValidationError>;
|
|
2369
4766
|
/** @internal */
|
|
2370
|
-
export declare const
|
|
4767
|
+
export declare const TopLogprobs$inboundSchema: z.ZodType<TopLogprobs, z.ZodTypeDef, unknown>;
|
|
2371
4768
|
/** @internal */
|
|
2372
|
-
export
|
|
4769
|
+
export type TopLogprobs$Outbound = {
|
|
4770
|
+
token: string;
|
|
4771
|
+
logprob: number;
|
|
4772
|
+
bytes: Array<number> | null;
|
|
4773
|
+
};
|
|
2373
4774
|
/** @internal */
|
|
2374
|
-
export declare const
|
|
4775
|
+
export declare const TopLogprobs$outboundSchema: z.ZodType<TopLogprobs$Outbound, z.ZodTypeDef, TopLogprobs>;
|
|
4776
|
+
export declare function topLogprobsToJSON(topLogprobs: TopLogprobs): string;
|
|
4777
|
+
export declare function topLogprobsFromJSON(jsonString: string): SafeParseResult<TopLogprobs, SDKValidationError>;
|
|
2375
4778
|
/** @internal */
|
|
2376
|
-
export
|
|
2377
|
-
|
|
2378
|
-
|
|
4779
|
+
export declare const DataContent$inboundSchema: z.ZodType<DataContent, z.ZodTypeDef, unknown>;
|
|
4780
|
+
/** @internal */
|
|
4781
|
+
export type DataContent$Outbound = {
|
|
4782
|
+
token: string;
|
|
4783
|
+
logprob: number;
|
|
4784
|
+
bytes: Array<number> | null;
|
|
4785
|
+
top_logprobs: Array<TopLogprobs$Outbound>;
|
|
2379
4786
|
};
|
|
2380
4787
|
/** @internal */
|
|
2381
|
-
export declare const
|
|
2382
|
-
export declare function
|
|
2383
|
-
export declare function
|
|
4788
|
+
export declare const DataContent$outboundSchema: z.ZodType<DataContent$Outbound, z.ZodTypeDef, DataContent>;
|
|
4789
|
+
export declare function dataContentToJSON(dataContent: DataContent): string;
|
|
4790
|
+
export declare function dataContentFromJSON(jsonString: string): SafeParseResult<DataContent, SDKValidationError>;
|
|
2384
4791
|
/** @internal */
|
|
2385
|
-
export declare const
|
|
4792
|
+
export declare const DataTopLogprobs$inboundSchema: z.ZodType<DataTopLogprobs, z.ZodTypeDef, unknown>;
|
|
2386
4793
|
/** @internal */
|
|
2387
|
-
export
|
|
4794
|
+
export type DataTopLogprobs$Outbound = {
|
|
4795
|
+
token: string;
|
|
4796
|
+
logprob: number;
|
|
4797
|
+
bytes: Array<number> | null;
|
|
4798
|
+
};
|
|
2388
4799
|
/** @internal */
|
|
2389
|
-
export declare const
|
|
4800
|
+
export declare const DataTopLogprobs$outboundSchema: z.ZodType<DataTopLogprobs$Outbound, z.ZodTypeDef, DataTopLogprobs>;
|
|
4801
|
+
export declare function dataTopLogprobsToJSON(dataTopLogprobs: DataTopLogprobs): string;
|
|
4802
|
+
export declare function dataTopLogprobsFromJSON(jsonString: string): SafeParseResult<DataTopLogprobs, SDKValidationError>;
|
|
2390
4803
|
/** @internal */
|
|
2391
|
-
export
|
|
2392
|
-
|
|
2393
|
-
|
|
4804
|
+
export declare const Refusal$inboundSchema: z.ZodType<Refusal, z.ZodTypeDef, unknown>;
|
|
4805
|
+
/** @internal */
|
|
4806
|
+
export type Refusal$Outbound = {
|
|
4807
|
+
token: string;
|
|
4808
|
+
logprob: number;
|
|
4809
|
+
bytes: Array<number> | null;
|
|
4810
|
+
top_logprobs: Array<DataTopLogprobs$Outbound>;
|
|
2394
4811
|
};
|
|
2395
4812
|
/** @internal */
|
|
2396
|
-
export declare const
|
|
2397
|
-
export declare function
|
|
2398
|
-
export declare function
|
|
4813
|
+
export declare const Refusal$outboundSchema: z.ZodType<Refusal$Outbound, z.ZodTypeDef, Refusal>;
|
|
4814
|
+
export declare function refusalToJSON(refusal: Refusal): string;
|
|
4815
|
+
export declare function refusalFromJSON(jsonString: string): SafeParseResult<Refusal, SDKValidationError>;
|
|
2399
4816
|
/** @internal */
|
|
2400
|
-
export declare const
|
|
4817
|
+
export declare const Logprobs$inboundSchema: z.ZodType<Logprobs, z.ZodTypeDef, unknown>;
|
|
2401
4818
|
/** @internal */
|
|
2402
|
-
export
|
|
4819
|
+
export type Logprobs$Outbound = {
|
|
4820
|
+
content: Array<DataContent$Outbound> | null;
|
|
4821
|
+
refusal: Array<Refusal$Outbound> | null;
|
|
4822
|
+
};
|
|
2403
4823
|
/** @internal */
|
|
2404
|
-
export declare const
|
|
4824
|
+
export declare const Logprobs$outboundSchema: z.ZodType<Logprobs$Outbound, z.ZodTypeDef, Logprobs>;
|
|
4825
|
+
export declare function logprobsToJSON(logprobs: Logprobs): string;
|
|
4826
|
+
export declare function logprobsFromJSON(jsonString: string): SafeParseResult<Logprobs, SDKValidationError>;
|
|
2405
4827
|
/** @internal */
|
|
2406
|
-
export
|
|
2407
|
-
|
|
2408
|
-
|
|
4828
|
+
export declare const Choice$inboundSchema: z.ZodType<Choice, z.ZodTypeDef, unknown>;
|
|
4829
|
+
/** @internal */
|
|
4830
|
+
export type Choice$Outbound = {
|
|
4831
|
+
finish_reason: string | null;
|
|
4832
|
+
index: number;
|
|
4833
|
+
message: StreamRunAgentDataMessage$Outbound;
|
|
4834
|
+
logprobs?: Logprobs$Outbound | null | undefined;
|
|
2409
4835
|
};
|
|
2410
4836
|
/** @internal */
|
|
2411
|
-
export declare const
|
|
2412
|
-
export declare function
|
|
2413
|
-
export declare function
|
|
4837
|
+
export declare const Choice$outboundSchema: z.ZodType<Choice$Outbound, z.ZodTypeDef, Choice>;
|
|
4838
|
+
export declare function choiceToJSON(choice: Choice): string;
|
|
4839
|
+
export declare function choiceFromJSON(jsonString: string): SafeParseResult<Choice, SDKValidationError>;
|
|
2414
4840
|
/** @internal */
|
|
2415
|
-
export declare const
|
|
4841
|
+
export declare const StreamRunAgentDataAgentsData$inboundSchema: z.ZodType<StreamRunAgentDataAgentsData, z.ZodTypeDef, unknown>;
|
|
2416
4842
|
/** @internal */
|
|
2417
|
-
export
|
|
4843
|
+
export type StreamRunAgentDataAgentsData$Outbound = {
|
|
4844
|
+
agent_id: string;
|
|
4845
|
+
message_difference: {
|
|
4846
|
+
[k: string]: MessageDifference$Outbound;
|
|
4847
|
+
};
|
|
4848
|
+
choice?: Choice$Outbound | undefined;
|
|
4849
|
+
choiceIndex?: number | undefined;
|
|
4850
|
+
iteration: number;
|
|
4851
|
+
accumulated_execution_time: number;
|
|
4852
|
+
};
|
|
2418
4853
|
/** @internal */
|
|
2419
|
-
export declare const
|
|
4854
|
+
export declare const StreamRunAgentDataAgentsData$outboundSchema: z.ZodType<StreamRunAgentDataAgentsData$Outbound, z.ZodTypeDef, StreamRunAgentDataAgentsData>;
|
|
4855
|
+
export declare function streamRunAgentDataAgentsDataToJSON(streamRunAgentDataAgentsData: StreamRunAgentDataAgentsData): string;
|
|
4856
|
+
export declare function streamRunAgentDataAgentsDataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsData, SDKValidationError>;
|
|
2420
4857
|
/** @internal */
|
|
2421
|
-
export
|
|
4858
|
+
export declare const Data3$inboundSchema: z.ZodType<Data3, z.ZodTypeDef, unknown>;
|
|
4859
|
+
/** @internal */
|
|
4860
|
+
export type Data3$Outbound = {
|
|
2422
4861
|
type: string;
|
|
2423
|
-
|
|
4862
|
+
timestamp: string;
|
|
4863
|
+
data: StreamRunAgentDataAgentsData$Outbound;
|
|
2424
4864
|
};
|
|
2425
4865
|
/** @internal */
|
|
2426
|
-
export declare const
|
|
2427
|
-
export declare function
|
|
2428
|
-
export declare function
|
|
4866
|
+
export declare const Data3$outboundSchema: z.ZodType<Data3$Outbound, z.ZodTypeDef, Data3>;
|
|
4867
|
+
export declare function data3ToJSON(data3: Data3): string;
|
|
4868
|
+
export declare function data3FromJSON(jsonString: string): SafeParseResult<Data3, SDKValidationError>;
|
|
2429
4869
|
/** @internal */
|
|
2430
|
-
export declare const
|
|
4870
|
+
export declare const StreamRunAgentDataAgentsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsType>;
|
|
2431
4871
|
/** @internal */
|
|
2432
|
-
export declare const
|
|
4872
|
+
export declare const StreamRunAgentDataAgentsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsType>;
|
|
2433
4873
|
/** @internal */
|
|
2434
|
-
export declare const
|
|
4874
|
+
export declare const DataRole$inboundSchema: z.ZodNativeEnum<typeof DataRole>;
|
|
2435
4875
|
/** @internal */
|
|
2436
|
-
export
|
|
2437
|
-
|
|
2438
|
-
|
|
4876
|
+
export declare const DataRole$outboundSchema: z.ZodNativeEnum<typeof DataRole>;
|
|
4877
|
+
/** @internal */
|
|
4878
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamKind>;
|
|
4879
|
+
/** @internal */
|
|
4880
|
+
export declare const StreamRunAgentPartsAgentsResponse200TextEventStreamKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200TextEventStreamKind>;
|
|
4881
|
+
/** @internal */
|
|
4882
|
+
export declare const StreamRunAgentPartsToolResultPart$inboundSchema: z.ZodType<StreamRunAgentPartsToolResultPart, z.ZodTypeDef, unknown>;
|
|
4883
|
+
/** @internal */
|
|
4884
|
+
export type StreamRunAgentPartsToolResultPart$Outbound = {
|
|
4885
|
+
kind: string;
|
|
4886
|
+
tool_call_id: string;
|
|
4887
|
+
result?: any | undefined;
|
|
4888
|
+
metadata?: {
|
|
4889
|
+
[k: string]: any;
|
|
4890
|
+
} | undefined;
|
|
2439
4891
|
};
|
|
2440
4892
|
/** @internal */
|
|
2441
|
-
export declare const
|
|
2442
|
-
export declare function
|
|
2443
|
-
export declare function
|
|
4893
|
+
export declare const StreamRunAgentPartsToolResultPart$outboundSchema: z.ZodType<StreamRunAgentPartsToolResultPart$Outbound, z.ZodTypeDef, StreamRunAgentPartsToolResultPart>;
|
|
4894
|
+
export declare function streamRunAgentPartsToolResultPartToJSON(streamRunAgentPartsToolResultPart: StreamRunAgentPartsToolResultPart): string;
|
|
4895
|
+
export declare function streamRunAgentPartsToolResultPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsToolResultPart, SDKValidationError>;
|
|
2444
4896
|
/** @internal */
|
|
2445
|
-
export declare const
|
|
4897
|
+
export declare const StreamRunAgentPartsAgentsResponse200Kind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200Kind>;
|
|
2446
4898
|
/** @internal */
|
|
2447
|
-
export declare const
|
|
4899
|
+
export declare const StreamRunAgentPartsAgentsResponse200Kind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponse200Kind>;
|
|
2448
4900
|
/** @internal */
|
|
2449
|
-
export declare const
|
|
4901
|
+
export declare const StreamRunAgentPartsToolCallPart$inboundSchema: z.ZodType<StreamRunAgentPartsToolCallPart, z.ZodTypeDef, unknown>;
|
|
2450
4902
|
/** @internal */
|
|
2451
|
-
export type
|
|
2452
|
-
|
|
2453
|
-
|
|
4903
|
+
export type StreamRunAgentPartsToolCallPart$Outbound = {
|
|
4904
|
+
kind: string;
|
|
4905
|
+
tool_name: string;
|
|
4906
|
+
tool_call_id: string;
|
|
4907
|
+
arguments: {
|
|
4908
|
+
[k: string]: any;
|
|
4909
|
+
};
|
|
4910
|
+
metadata?: {
|
|
4911
|
+
[k: string]: any;
|
|
4912
|
+
} | undefined;
|
|
2454
4913
|
};
|
|
2455
4914
|
/** @internal */
|
|
2456
|
-
export declare const
|
|
2457
|
-
export declare function
|
|
2458
|
-
export declare function
|
|
4915
|
+
export declare const StreamRunAgentPartsToolCallPart$outboundSchema: z.ZodType<StreamRunAgentPartsToolCallPart$Outbound, z.ZodTypeDef, StreamRunAgentPartsToolCallPart>;
|
|
4916
|
+
export declare function streamRunAgentPartsToolCallPartToJSON(streamRunAgentPartsToolCallPart: StreamRunAgentPartsToolCallPart): string;
|
|
4917
|
+
export declare function streamRunAgentPartsToolCallPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsToolCallPart, SDKValidationError>;
|
|
2459
4918
|
/** @internal */
|
|
2460
|
-
export declare const
|
|
4919
|
+
export declare const StreamRunAgentPartsAgentsResponseKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponseKind>;
|
|
2461
4920
|
/** @internal */
|
|
2462
|
-
export declare const
|
|
4921
|
+
export declare const StreamRunAgentPartsAgentsResponseKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsResponseKind>;
|
|
2463
4922
|
/** @internal */
|
|
2464
|
-
export declare const
|
|
4923
|
+
export declare const StreamRunAgentFileAgentsFileInURIFormat$inboundSchema: z.ZodType<StreamRunAgentFileAgentsFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
2465
4924
|
/** @internal */
|
|
2466
|
-
export type
|
|
2467
|
-
|
|
2468
|
-
|
|
4925
|
+
export type StreamRunAgentFileAgentsFileInURIFormat$Outbound = {
|
|
4926
|
+
uri: string;
|
|
4927
|
+
mimeType?: string | undefined;
|
|
4928
|
+
name?: string | undefined;
|
|
2469
4929
|
};
|
|
2470
4930
|
/** @internal */
|
|
2471
|
-
export declare const
|
|
2472
|
-
export declare function
|
|
2473
|
-
export declare function
|
|
4931
|
+
export declare const StreamRunAgentFileAgentsFileInURIFormat$outboundSchema: z.ZodType<StreamRunAgentFileAgentsFileInURIFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileAgentsFileInURIFormat>;
|
|
4932
|
+
export declare function streamRunAgentFileAgentsFileInURIFormatToJSON(streamRunAgentFileAgentsFileInURIFormat: StreamRunAgentFileAgentsFileInURIFormat): string;
|
|
4933
|
+
export declare function streamRunAgentFileAgentsFileInURIFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFileAgentsFileInURIFormat, SDKValidationError>;
|
|
2474
4934
|
/** @internal */
|
|
2475
|
-
export declare const
|
|
4935
|
+
export declare const StreamRunAgentFileAgentsBinaryFormat$inboundSchema: z.ZodType<StreamRunAgentFileAgentsBinaryFormat, z.ZodTypeDef, unknown>;
|
|
2476
4936
|
/** @internal */
|
|
2477
|
-
export
|
|
4937
|
+
export type StreamRunAgentFileAgentsBinaryFormat$Outbound = {
|
|
4938
|
+
bytes: string;
|
|
4939
|
+
mimeType?: string | undefined;
|
|
4940
|
+
name?: string | undefined;
|
|
4941
|
+
};
|
|
2478
4942
|
/** @internal */
|
|
2479
|
-
export declare const
|
|
4943
|
+
export declare const StreamRunAgentFileAgentsBinaryFormat$outboundSchema: z.ZodType<StreamRunAgentFileAgentsBinaryFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileAgentsBinaryFormat>;
|
|
4944
|
+
export declare function streamRunAgentFileAgentsBinaryFormatToJSON(streamRunAgentFileAgentsBinaryFormat: StreamRunAgentFileAgentsBinaryFormat): string;
|
|
4945
|
+
export declare function streamRunAgentFileAgentsBinaryFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFileAgentsBinaryFormat, SDKValidationError>;
|
|
2480
4946
|
/** @internal */
|
|
2481
|
-
export
|
|
2482
|
-
|
|
2483
|
-
|
|
4947
|
+
export declare const StreamRunAgentPartsFile$inboundSchema: z.ZodType<StreamRunAgentPartsFile, z.ZodTypeDef, unknown>;
|
|
4948
|
+
/** @internal */
|
|
4949
|
+
export type StreamRunAgentPartsFile$Outbound = StreamRunAgentFileAgentsBinaryFormat$Outbound | StreamRunAgentFileAgentsFileInURIFormat$Outbound;
|
|
4950
|
+
/** @internal */
|
|
4951
|
+
export declare const StreamRunAgentPartsFile$outboundSchema: z.ZodType<StreamRunAgentPartsFile$Outbound, z.ZodTypeDef, StreamRunAgentPartsFile>;
|
|
4952
|
+
export declare function streamRunAgentPartsFileToJSON(streamRunAgentPartsFile: StreamRunAgentPartsFile): string;
|
|
4953
|
+
export declare function streamRunAgentPartsFileFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsFile, SDKValidationError>;
|
|
4954
|
+
/** @internal */
|
|
4955
|
+
export declare const StreamRunAgentPartsFilePart$inboundSchema: z.ZodType<StreamRunAgentPartsFilePart, z.ZodTypeDef, unknown>;
|
|
4956
|
+
/** @internal */
|
|
4957
|
+
export type StreamRunAgentPartsFilePart$Outbound = {
|
|
4958
|
+
kind: string;
|
|
4959
|
+
file: StreamRunAgentFileAgentsBinaryFormat$Outbound | StreamRunAgentFileAgentsFileInURIFormat$Outbound;
|
|
4960
|
+
metadata?: {
|
|
4961
|
+
[k: string]: any;
|
|
4962
|
+
} | undefined;
|
|
2484
4963
|
};
|
|
2485
4964
|
/** @internal */
|
|
2486
|
-
export declare const
|
|
2487
|
-
export declare function
|
|
2488
|
-
export declare function
|
|
4965
|
+
export declare const StreamRunAgentPartsFilePart$outboundSchema: z.ZodType<StreamRunAgentPartsFilePart$Outbound, z.ZodTypeDef, StreamRunAgentPartsFilePart>;
|
|
4966
|
+
export declare function streamRunAgentPartsFilePartToJSON(streamRunAgentPartsFilePart: StreamRunAgentPartsFilePart): string;
|
|
4967
|
+
export declare function streamRunAgentPartsFilePartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsFilePart, SDKValidationError>;
|
|
2489
4968
|
/** @internal */
|
|
2490
|
-
export declare const
|
|
4969
|
+
export declare const StreamRunAgentPartsAgentsKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsKind>;
|
|
2491
4970
|
/** @internal */
|
|
2492
|
-
export declare const
|
|
4971
|
+
export declare const StreamRunAgentPartsAgentsKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsAgentsKind>;
|
|
2493
4972
|
/** @internal */
|
|
2494
|
-
export declare const
|
|
4973
|
+
export declare const StreamRunAgentPartsDataPart$inboundSchema: z.ZodType<StreamRunAgentPartsDataPart, z.ZodTypeDef, unknown>;
|
|
2495
4974
|
/** @internal */
|
|
2496
|
-
export type
|
|
2497
|
-
|
|
2498
|
-
|
|
4975
|
+
export type StreamRunAgentPartsDataPart$Outbound = {
|
|
4976
|
+
kind: string;
|
|
4977
|
+
data: {
|
|
4978
|
+
[k: string]: any;
|
|
4979
|
+
};
|
|
4980
|
+
metadata?: {
|
|
4981
|
+
[k: string]: any;
|
|
4982
|
+
} | undefined;
|
|
2499
4983
|
};
|
|
2500
4984
|
/** @internal */
|
|
2501
|
-
export declare const
|
|
2502
|
-
export declare function
|
|
2503
|
-
export declare function
|
|
4985
|
+
export declare const StreamRunAgentPartsDataPart$outboundSchema: z.ZodType<StreamRunAgentPartsDataPart$Outbound, z.ZodTypeDef, StreamRunAgentPartsDataPart>;
|
|
4986
|
+
export declare function streamRunAgentPartsDataPartToJSON(streamRunAgentPartsDataPart: StreamRunAgentPartsDataPart): string;
|
|
4987
|
+
export declare function streamRunAgentPartsDataPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsDataPart, SDKValidationError>;
|
|
2504
4988
|
/** @internal */
|
|
2505
|
-
export declare const
|
|
4989
|
+
export declare const StreamRunAgentPartsKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsKind>;
|
|
2506
4990
|
/** @internal */
|
|
2507
|
-
export declare const
|
|
4991
|
+
export declare const StreamRunAgentPartsKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPartsKind>;
|
|
2508
4992
|
/** @internal */
|
|
2509
|
-
export declare const
|
|
4993
|
+
export declare const StreamRunAgentPartsTextPart$inboundSchema: z.ZodType<StreamRunAgentPartsTextPart, z.ZodTypeDef, unknown>;
|
|
2510
4994
|
/** @internal */
|
|
2511
|
-
export type
|
|
2512
|
-
|
|
2513
|
-
|
|
4995
|
+
export type StreamRunAgentPartsTextPart$Outbound = {
|
|
4996
|
+
kind: string;
|
|
4997
|
+
text: string;
|
|
2514
4998
|
};
|
|
2515
4999
|
/** @internal */
|
|
2516
|
-
export declare const
|
|
2517
|
-
export declare function
|
|
2518
|
-
export declare function
|
|
5000
|
+
export declare const StreamRunAgentPartsTextPart$outboundSchema: z.ZodType<StreamRunAgentPartsTextPart$Outbound, z.ZodTypeDef, StreamRunAgentPartsTextPart>;
|
|
5001
|
+
export declare function streamRunAgentPartsTextPartToJSON(streamRunAgentPartsTextPart: StreamRunAgentPartsTextPart): string;
|
|
5002
|
+
export declare function streamRunAgentPartsTextPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPartsTextPart, SDKValidationError>;
|
|
2519
5003
|
/** @internal */
|
|
2520
|
-
export declare const
|
|
5004
|
+
export declare const DataParts$inboundSchema: z.ZodType<DataParts, z.ZodTypeDef, unknown>;
|
|
2521
5005
|
/** @internal */
|
|
2522
|
-
export
|
|
5006
|
+
export type DataParts$Outbound = StreamRunAgentPartsToolCallPart$Outbound | StreamRunAgentPartsTextPart$Outbound | StreamRunAgentPartsDataPart$Outbound | StreamRunAgentPartsFilePart$Outbound | StreamRunAgentPartsToolResultPart$Outbound;
|
|
2523
5007
|
/** @internal */
|
|
2524
|
-
export declare const
|
|
5008
|
+
export declare const DataParts$outboundSchema: z.ZodType<DataParts$Outbound, z.ZodTypeDef, DataParts>;
|
|
5009
|
+
export declare function dataPartsToJSON(dataParts: DataParts): string;
|
|
5010
|
+
export declare function dataPartsFromJSON(jsonString: string): SafeParseResult<DataParts, SDKValidationError>;
|
|
2525
5011
|
/** @internal */
|
|
2526
|
-
export
|
|
2527
|
-
|
|
2528
|
-
|
|
5012
|
+
export declare const InputMessage$inboundSchema: z.ZodType<InputMessage, z.ZodTypeDef, unknown>;
|
|
5013
|
+
/** @internal */
|
|
5014
|
+
export type InputMessage$Outbound = {
|
|
5015
|
+
messageId?: string | undefined;
|
|
5016
|
+
role: string;
|
|
5017
|
+
parts: Array<StreamRunAgentPartsToolCallPart$Outbound | StreamRunAgentPartsTextPart$Outbound | StreamRunAgentPartsDataPart$Outbound | StreamRunAgentPartsFilePart$Outbound | StreamRunAgentPartsToolResultPart$Outbound>;
|
|
5018
|
+
metadata?: {
|
|
5019
|
+
[k: string]: any;
|
|
5020
|
+
} | undefined;
|
|
2529
5021
|
};
|
|
2530
5022
|
/** @internal */
|
|
2531
|
-
export declare const
|
|
2532
|
-
export declare function
|
|
2533
|
-
export declare function
|
|
5023
|
+
export declare const InputMessage$outboundSchema: z.ZodType<InputMessage$Outbound, z.ZodTypeDef, InputMessage>;
|
|
5024
|
+
export declare function inputMessageToJSON(inputMessage: InputMessage): string;
|
|
5025
|
+
export declare function inputMessageFromJSON(jsonString: string): SafeParseResult<InputMessage, SDKValidationError>;
|
|
2534
5026
|
/** @internal */
|
|
2535
|
-
export declare const
|
|
5027
|
+
export declare const DataToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof DataToolApprovalRequired>;
|
|
2536
5028
|
/** @internal */
|
|
2537
|
-
export
|
|
5029
|
+
export declare const DataToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof DataToolApprovalRequired>;
|
|
2538
5030
|
/** @internal */
|
|
2539
|
-
export declare const
|
|
2540
|
-
export declare function streamRunAgentAgentToolInputRunToJSON(streamRunAgentAgentToolInputRun: StreamRunAgentAgentToolInputRun): string;
|
|
2541
|
-
export declare function streamRunAgentAgentToolInputRunFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRun, SDKValidationError>;
|
|
5031
|
+
export declare const StreamRunAgentDataConditions$inboundSchema: z.ZodType<StreamRunAgentDataConditions, z.ZodTypeDef, unknown>;
|
|
2542
5032
|
/** @internal */
|
|
2543
|
-
export
|
|
5033
|
+
export type StreamRunAgentDataConditions$Outbound = {
|
|
5034
|
+
condition: string;
|
|
5035
|
+
operator: string;
|
|
5036
|
+
value: string;
|
|
5037
|
+
};
|
|
2544
5038
|
/** @internal */
|
|
2545
|
-
export declare const
|
|
5039
|
+
export declare const StreamRunAgentDataConditions$outboundSchema: z.ZodType<StreamRunAgentDataConditions$Outbound, z.ZodTypeDef, StreamRunAgentDataConditions>;
|
|
5040
|
+
export declare function streamRunAgentDataConditionsToJSON(streamRunAgentDataConditions: StreamRunAgentDataConditions): string;
|
|
5041
|
+
export declare function streamRunAgentDataConditionsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataConditions, SDKValidationError>;
|
|
2546
5042
|
/** @internal */
|
|
2547
|
-
export declare const
|
|
5043
|
+
export declare const StreamRunAgentDataTools$inboundSchema: z.ZodType<StreamRunAgentDataTools, z.ZodTypeDef, unknown>;
|
|
2548
5044
|
/** @internal */
|
|
2549
|
-
export
|
|
5045
|
+
export type StreamRunAgentDataTools$Outbound = {
|
|
5046
|
+
id: string;
|
|
5047
|
+
key?: string | undefined;
|
|
5048
|
+
action_type: string;
|
|
5049
|
+
display_name?: string | undefined;
|
|
5050
|
+
description?: string | undefined;
|
|
5051
|
+
requires_approval: boolean;
|
|
5052
|
+
tool_id?: string | undefined;
|
|
5053
|
+
conditions?: Array<StreamRunAgentDataConditions$Outbound> | undefined;
|
|
5054
|
+
timeout: number;
|
|
5055
|
+
};
|
|
2550
5056
|
/** @internal */
|
|
2551
|
-
export declare const
|
|
5057
|
+
export declare const StreamRunAgentDataTools$outboundSchema: z.ZodType<StreamRunAgentDataTools$Outbound, z.ZodTypeDef, StreamRunAgentDataTools>;
|
|
5058
|
+
export declare function streamRunAgentDataToolsToJSON(streamRunAgentDataTools: StreamRunAgentDataTools): string;
|
|
5059
|
+
export declare function streamRunAgentDataToolsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataTools, SDKValidationError>;
|
|
2552
5060
|
/** @internal */
|
|
2553
|
-
export
|
|
5061
|
+
export declare const DataExecuteOn$inboundSchema: z.ZodNativeEnum<typeof DataExecuteOn>;
|
|
5062
|
+
/** @internal */
|
|
5063
|
+
export declare const DataExecuteOn$outboundSchema: z.ZodNativeEnum<typeof DataExecuteOn>;
|
|
5064
|
+
/** @internal */
|
|
5065
|
+
export declare const DataEvaluators$inboundSchema: z.ZodType<DataEvaluators, z.ZodTypeDef, unknown>;
|
|
5066
|
+
/** @internal */
|
|
5067
|
+
export type DataEvaluators$Outbound = {
|
|
2554
5068
|
id: string;
|
|
2555
5069
|
sample_rate: number;
|
|
2556
5070
|
execute_on: string;
|
|
2557
5071
|
};
|
|
2558
5072
|
/** @internal */
|
|
2559
|
-
export declare const
|
|
2560
|
-
export declare function
|
|
2561
|
-
export declare function
|
|
5073
|
+
export declare const DataEvaluators$outboundSchema: z.ZodType<DataEvaluators$Outbound, z.ZodTypeDef, DataEvaluators>;
|
|
5074
|
+
export declare function dataEvaluatorsToJSON(dataEvaluators: DataEvaluators): string;
|
|
5075
|
+
export declare function dataEvaluatorsFromJSON(jsonString: string): SafeParseResult<DataEvaluators, SDKValidationError>;
|
|
2562
5076
|
/** @internal */
|
|
2563
|
-
export declare const
|
|
5077
|
+
export declare const StreamRunAgentDataExecuteOn$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataExecuteOn>;
|
|
2564
5078
|
/** @internal */
|
|
2565
|
-
export declare const
|
|
5079
|
+
export declare const StreamRunAgentDataExecuteOn$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataExecuteOn>;
|
|
2566
5080
|
/** @internal */
|
|
2567
|
-
export declare const
|
|
5081
|
+
export declare const DataGuardrails$inboundSchema: z.ZodType<DataGuardrails, z.ZodTypeDef, unknown>;
|
|
2568
5082
|
/** @internal */
|
|
2569
|
-
export type
|
|
5083
|
+
export type DataGuardrails$Outbound = {
|
|
2570
5084
|
id: string;
|
|
2571
5085
|
sample_rate: number;
|
|
2572
5086
|
execute_on: string;
|
|
2573
5087
|
};
|
|
2574
5088
|
/** @internal */
|
|
2575
|
-
export declare const
|
|
2576
|
-
export declare function
|
|
2577
|
-
export declare function
|
|
5089
|
+
export declare const DataGuardrails$outboundSchema: z.ZodType<DataGuardrails$Outbound, z.ZodTypeDef, DataGuardrails>;
|
|
5090
|
+
export declare function dataGuardrailsToJSON(dataGuardrails: DataGuardrails): string;
|
|
5091
|
+
export declare function dataGuardrailsFromJSON(jsonString: string): SafeParseResult<DataGuardrails, SDKValidationError>;
|
|
2578
5092
|
/** @internal */
|
|
2579
|
-
export declare const
|
|
5093
|
+
export declare const DataSettings$inboundSchema: z.ZodType<DataSettings, z.ZodTypeDef, unknown>;
|
|
2580
5094
|
/** @internal */
|
|
2581
|
-
export type
|
|
2582
|
-
tools?: Array<AgentToolInputRunHTTPToolRun$Outbound | AgentToolInputRunCodeToolRun$Outbound | AgentToolInputRunMCPToolRun$Outbound | AgentToolInputRunFunctionToolRun$Outbound | StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound | StreamRunAgentAgentToolInputRunWebScraperTool$Outbound | StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound | StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound | StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound | StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound | StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound | StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound> | undefined;
|
|
2583
|
-
tool_approval_required: string;
|
|
5095
|
+
export type DataSettings$Outbound = {
|
|
2584
5096
|
max_iterations: number;
|
|
2585
5097
|
max_execution_time: number;
|
|
2586
|
-
|
|
2587
|
-
|
|
5098
|
+
tool_approval_required: string;
|
|
5099
|
+
tools?: Array<StreamRunAgentDataTools$Outbound> | undefined;
|
|
5100
|
+
evaluators?: Array<DataEvaluators$Outbound> | undefined;
|
|
5101
|
+
guardrails?: Array<DataGuardrails$Outbound> | undefined;
|
|
2588
5102
|
};
|
|
2589
5103
|
/** @internal */
|
|
2590
|
-
export declare const
|
|
2591
|
-
export declare function
|
|
2592
|
-
export declare function
|
|
5104
|
+
export declare const DataSettings$outboundSchema: z.ZodType<DataSettings$Outbound, z.ZodTypeDef, DataSettings>;
|
|
5105
|
+
export declare function dataSettingsToJSON(dataSettings: DataSettings): string;
|
|
5106
|
+
export declare function dataSettingsFromJSON(jsonString: string): SafeParseResult<DataSettings, SDKValidationError>;
|
|
2593
5107
|
/** @internal */
|
|
2594
|
-
export declare const
|
|
5108
|
+
export declare const StreamRunAgentDataData$inboundSchema: z.ZodType<StreamRunAgentDataData, z.ZodTypeDef, unknown>;
|
|
2595
5109
|
/** @internal */
|
|
2596
|
-
export type
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
fallback_models?: Array<StreamRunAgentFallbackModelConfiguration2$Outbound | string> | undefined;
|
|
2601
|
-
role: string;
|
|
5110
|
+
export type StreamRunAgentDataData$Outbound = {
|
|
5111
|
+
integration_id?: string | undefined;
|
|
5112
|
+
inputMessage: InputMessage$Outbound;
|
|
5113
|
+
modelId: string;
|
|
2602
5114
|
instructions: string;
|
|
2603
|
-
|
|
5115
|
+
system_prompt: string;
|
|
5116
|
+
settings?: DataSettings$Outbound | undefined;
|
|
5117
|
+
agent_manifest_id: string;
|
|
5118
|
+
agent_key: string;
|
|
2604
5119
|
variables?: {
|
|
2605
5120
|
[k: string]: any;
|
|
2606
5121
|
} | undefined;
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
path: string;
|
|
2611
|
-
description?: string | undefined;
|
|
2612
|
-
system_prompt?: string | undefined;
|
|
2613
|
-
memory_stores?: Array<string> | undefined;
|
|
2614
|
-
knowledge_bases?: Array<StreamRunAgentKnowledgeBases$Outbound> | undefined;
|
|
2615
|
-
team_of_agents?: Array<StreamRunAgentTeamOfAgents$Outbound> | undefined;
|
|
2616
|
-
settings: StreamRunAgentSettings$Outbound;
|
|
2617
|
-
metadata?: {
|
|
2618
|
-
[k: string]: any;
|
|
2619
|
-
} | undefined;
|
|
2620
|
-
stream_timeout_seconds?: number | undefined;
|
|
5122
|
+
tool_execution_id?: string | undefined;
|
|
5123
|
+
is_continuation?: boolean | undefined;
|
|
5124
|
+
stream?: boolean | undefined;
|
|
2621
5125
|
};
|
|
2622
5126
|
/** @internal */
|
|
2623
|
-
export declare const
|
|
2624
|
-
export declare function
|
|
2625
|
-
export declare function
|
|
5127
|
+
export declare const StreamRunAgentDataData$outboundSchema: z.ZodType<StreamRunAgentDataData$Outbound, z.ZodTypeDef, StreamRunAgentDataData>;
|
|
5128
|
+
export declare function streamRunAgentDataDataToJSON(streamRunAgentDataData: StreamRunAgentDataData): string;
|
|
5129
|
+
export declare function streamRunAgentDataDataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataData, SDKValidationError>;
|
|
5130
|
+
/** @internal */
|
|
5131
|
+
export declare const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown>;
|
|
5132
|
+
/** @internal */
|
|
5133
|
+
export type Data2$Outbound = {
|
|
5134
|
+
type: string;
|
|
5135
|
+
timestamp: string;
|
|
5136
|
+
data: StreamRunAgentDataData$Outbound;
|
|
5137
|
+
};
|
|
5138
|
+
/** @internal */
|
|
5139
|
+
export declare const Data2$outboundSchema: z.ZodType<Data2$Outbound, z.ZodTypeDef, Data2>;
|
|
5140
|
+
export declare function data2ToJSON(data2: Data2): string;
|
|
5141
|
+
export declare function data2FromJSON(jsonString: string): SafeParseResult<Data2, SDKValidationError>;
|
|
5142
|
+
/** @internal */
|
|
5143
|
+
export declare const StreamRunAgentDataType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataType>;
|
|
5144
|
+
/** @internal */
|
|
5145
|
+
export declare const StreamRunAgentDataType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataType>;
|
|
5146
|
+
/** @internal */
|
|
5147
|
+
export declare const DataData$inboundSchema: z.ZodType<DataData, z.ZodTypeDef, unknown>;
|
|
5148
|
+
/** @internal */
|
|
5149
|
+
export type DataData$Outbound = {
|
|
5150
|
+
agent_task_id: string;
|
|
5151
|
+
workspace_id: string;
|
|
5152
|
+
trace_id: string;
|
|
5153
|
+
};
|
|
5154
|
+
/** @internal */
|
|
5155
|
+
export declare const DataData$outboundSchema: z.ZodType<DataData$Outbound, z.ZodTypeDef, DataData>;
|
|
5156
|
+
export declare function dataDataToJSON(dataData: DataData): string;
|
|
5157
|
+
export declare function dataDataFromJSON(jsonString: string): SafeParseResult<DataData, SDKValidationError>;
|
|
5158
|
+
/** @internal */
|
|
5159
|
+
export declare const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown>;
|
|
5160
|
+
/** @internal */
|
|
5161
|
+
export type Data1$Outbound = {
|
|
5162
|
+
type: string;
|
|
5163
|
+
timestamp: string;
|
|
5164
|
+
data: DataData$Outbound;
|
|
5165
|
+
};
|
|
5166
|
+
/** @internal */
|
|
5167
|
+
export declare const Data1$outboundSchema: z.ZodType<Data1$Outbound, z.ZodTypeDef, Data1>;
|
|
5168
|
+
export declare function data1ToJSON(data1: Data1): string;
|
|
5169
|
+
export declare function data1FromJSON(jsonString: string): SafeParseResult<Data1, SDKValidationError>;
|
|
5170
|
+
/** @internal */
|
|
5171
|
+
export declare const StreamRunAgentData$inboundSchema: z.ZodType<StreamRunAgentData, z.ZodTypeDef, unknown>;
|
|
5172
|
+
/** @internal */
|
|
5173
|
+
export type StreamRunAgentData$Outbound = Data1$Outbound | Data2$Outbound | Data3$Outbound | Data4$Outbound | StreamRunAgentData5$Outbound | StreamRunAgentData6$Outbound | Seven$Outbound | Eight$Outbound | Nine$Outbound | Ten$Outbound | Eleven$Outbound | Twelve$Outbound | Thirteen$Outbound | Fourteen$Outbound | Fifteen$Outbound | Sixteen$Outbound | Seventeen$Outbound;
|
|
5174
|
+
/** @internal */
|
|
5175
|
+
export declare const StreamRunAgentData$outboundSchema: z.ZodType<StreamRunAgentData$Outbound, z.ZodTypeDef, StreamRunAgentData>;
|
|
5176
|
+
export declare function streamRunAgentDataToJSON(streamRunAgentData: StreamRunAgentData): string;
|
|
5177
|
+
export declare function streamRunAgentDataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentData, SDKValidationError>;
|
|
2626
5178
|
/** @internal */
|
|
2627
5179
|
export declare const StreamRunAgentResponseBody$inboundSchema: z.ZodType<StreamRunAgentResponseBody, z.ZodTypeDef, unknown>;
|
|
2628
5180
|
/** @internal */
|
|
2629
5181
|
export type StreamRunAgentResponseBody$Outbound = {
|
|
2630
|
-
data:
|
|
5182
|
+
data: Data1$Outbound | Data2$Outbound | Data3$Outbound | Data4$Outbound | StreamRunAgentData5$Outbound | StreamRunAgentData6$Outbound | Seven$Outbound | Eight$Outbound | Nine$Outbound | Ten$Outbound | Eleven$Outbound | Twelve$Outbound | Thirteen$Outbound | Fourteen$Outbound | Fifteen$Outbound | Sixteen$Outbound | Seventeen$Outbound;
|
|
2631
5183
|
};
|
|
2632
5184
|
/** @internal */
|
|
2633
5185
|
export declare const StreamRunAgentResponseBody$outboundSchema: z.ZodType<StreamRunAgentResponseBody$Outbound, z.ZodTypeDef, StreamRunAgentResponseBody>;
|