@orq-ai/node 3.12.8 → 3.12.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +112 -112
- package/bin/mcp-server.js.map +30 -30
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/server.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 +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/package.json +1 -1
- package/packages/orq-rc/FUNCTIONS.md +19 -9
- package/packages/orq-rc/README.md +179 -123
- package/packages/orq-rc/docs/sdks/knowledge/README.md +12 -0
- package/packages/orq-rc/docs/sdks/orq/README.md +0 -81
- package/packages/orq-rc/examples/contactsCreate.example.ts +42 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -3
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +139 -117
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/index.ts +0 -1
- package/packages/orq-rc/src/models/operations/listagents.ts +5 -5
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/runagent.ts +300 -12
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +29 -259
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +335 -12
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/sdk/sdk.ts +1 -15
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/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 +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- 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/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/examples/postV2AgentsInternal.example.ts +0 -30
- package/packages/orq-rc/src/funcs/postV2AgentsInternal.ts +0 -159
- package/packages/orq-rc/src/mcp-server/tools/postV2AgentsInternal.ts +0 -33
- package/packages/orq-rc/src/models/operations/postv2agentsinternal.ts +0 -103
|
@@ -158,6 +158,43 @@ export type StreamRunAgentMessage = {
|
|
|
158
158
|
metadata?: { [k: string]: any } | undefined;
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
+
export const StreamRunAgentConfigurationAgentsType = {
|
|
162
|
+
Query: "query",
|
|
163
|
+
} as const;
|
|
164
|
+
export type StreamRunAgentConfigurationAgentsType = ClosedEnum<
|
|
165
|
+
typeof StreamRunAgentConfigurationAgentsType
|
|
166
|
+
>;
|
|
167
|
+
|
|
168
|
+
export type StreamRunAgentConfiguration2 = {
|
|
169
|
+
type: StreamRunAgentConfigurationAgentsType;
|
|
170
|
+
query: string;
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
export const StreamRunAgentConfigurationType = {
|
|
174
|
+
LastUserMessage: "last_user_message",
|
|
175
|
+
} as const;
|
|
176
|
+
export type StreamRunAgentConfigurationType = ClosedEnum<
|
|
177
|
+
typeof StreamRunAgentConfigurationType
|
|
178
|
+
>;
|
|
179
|
+
|
|
180
|
+
export type StreamRunAgentConfiguration1 = {
|
|
181
|
+
type: StreamRunAgentConfigurationType;
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Defines the configuration settings which can either be for a user message or a text entry.
|
|
186
|
+
*/
|
|
187
|
+
export type StreamRunAgentConfiguration =
|
|
188
|
+
| StreamRunAgentConfiguration2
|
|
189
|
+
| StreamRunAgentConfiguration1;
|
|
190
|
+
|
|
191
|
+
export type StreamRunAgentKnowledgeBases = {
|
|
192
|
+
/**
|
|
193
|
+
* Defines the configuration settings which can either be for a user message or a text entry.
|
|
194
|
+
*/
|
|
195
|
+
configuration: StreamRunAgentConfiguration2 | StreamRunAgentConfiguration1;
|
|
196
|
+
};
|
|
197
|
+
|
|
161
198
|
export type StreamRunAgentTeamOfAgents = {
|
|
162
199
|
id: string;
|
|
163
200
|
/**
|
|
@@ -498,7 +535,7 @@ export type StreamRunAgentSettings = {
|
|
|
498
535
|
|
|
499
536
|
export type StreamRunAgentRequestBody = {
|
|
500
537
|
/**
|
|
501
|
-
* A unique identifier for the agent. This key must be unique within the same workspace and cannot be reused. When executing the agent, this key determines if the agent already exists. If the agent version differs, a new version is created at the end of the execution, except for the task. All agent parameters are evaluated to decide if a new version is needed.
|
|
538
|
+
* A unique identifier for the agent. This key must be unique within the same workspace and cannot be reused. When executing the agent, this key determines if the agent already exists. If the agent version differs, a new version is created at the end of the execution, except for the task. All agent parameters are evaluated to decide if a new version is needed.
|
|
502
539
|
*/
|
|
503
540
|
key: string;
|
|
504
541
|
/**
|
|
@@ -506,7 +543,7 @@ export type StreamRunAgentRequestBody = {
|
|
|
506
543
|
*/
|
|
507
544
|
taskId?: string | undefined;
|
|
508
545
|
/**
|
|
509
|
-
* The language model that powers the agent.
|
|
546
|
+
* The language model that powers the agent. The model must support tool calling capabilities.
|
|
510
547
|
*/
|
|
511
548
|
model: string;
|
|
512
549
|
/**
|
|
@@ -554,7 +591,7 @@ export type StreamRunAgentRequestBody = {
|
|
|
554
591
|
*/
|
|
555
592
|
systemPrompt?: string | undefined;
|
|
556
593
|
memoryStores?: Array<string> | undefined;
|
|
557
|
-
knowledgeBases?: Array<
|
|
594
|
+
knowledgeBases?: Array<StreamRunAgentKnowledgeBases> | undefined;
|
|
558
595
|
/**
|
|
559
596
|
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
560
597
|
*/
|
|
@@ -1441,6 +1478,288 @@ export function streamRunAgentMessageFromJSON(
|
|
|
1441
1478
|
);
|
|
1442
1479
|
}
|
|
1443
1480
|
|
|
1481
|
+
/** @internal */
|
|
1482
|
+
export const StreamRunAgentConfigurationAgentsType$inboundSchema:
|
|
1483
|
+
z.ZodNativeEnum<typeof StreamRunAgentConfigurationAgentsType> = z.nativeEnum(
|
|
1484
|
+
StreamRunAgentConfigurationAgentsType,
|
|
1485
|
+
);
|
|
1486
|
+
|
|
1487
|
+
/** @internal */
|
|
1488
|
+
export const StreamRunAgentConfigurationAgentsType$outboundSchema:
|
|
1489
|
+
z.ZodNativeEnum<typeof StreamRunAgentConfigurationAgentsType> =
|
|
1490
|
+
StreamRunAgentConfigurationAgentsType$inboundSchema;
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* @internal
|
|
1494
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1495
|
+
*/
|
|
1496
|
+
export namespace StreamRunAgentConfigurationAgentsType$ {
|
|
1497
|
+
/** @deprecated use `StreamRunAgentConfigurationAgentsType$inboundSchema` instead. */
|
|
1498
|
+
export const inboundSchema =
|
|
1499
|
+
StreamRunAgentConfigurationAgentsType$inboundSchema;
|
|
1500
|
+
/** @deprecated use `StreamRunAgentConfigurationAgentsType$outboundSchema` instead. */
|
|
1501
|
+
export const outboundSchema =
|
|
1502
|
+
StreamRunAgentConfigurationAgentsType$outboundSchema;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
/** @internal */
|
|
1506
|
+
export const StreamRunAgentConfiguration2$inboundSchema: z.ZodType<
|
|
1507
|
+
StreamRunAgentConfiguration2,
|
|
1508
|
+
z.ZodTypeDef,
|
|
1509
|
+
unknown
|
|
1510
|
+
> = z.object({
|
|
1511
|
+
type: StreamRunAgentConfigurationAgentsType$inboundSchema,
|
|
1512
|
+
query: z.string(),
|
|
1513
|
+
});
|
|
1514
|
+
|
|
1515
|
+
/** @internal */
|
|
1516
|
+
export type StreamRunAgentConfiguration2$Outbound = {
|
|
1517
|
+
type: string;
|
|
1518
|
+
query: string;
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1521
|
+
/** @internal */
|
|
1522
|
+
export const StreamRunAgentConfiguration2$outboundSchema: z.ZodType<
|
|
1523
|
+
StreamRunAgentConfiguration2$Outbound,
|
|
1524
|
+
z.ZodTypeDef,
|
|
1525
|
+
StreamRunAgentConfiguration2
|
|
1526
|
+
> = z.object({
|
|
1527
|
+
type: StreamRunAgentConfigurationAgentsType$outboundSchema,
|
|
1528
|
+
query: z.string(),
|
|
1529
|
+
});
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* @internal
|
|
1533
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1534
|
+
*/
|
|
1535
|
+
export namespace StreamRunAgentConfiguration2$ {
|
|
1536
|
+
/** @deprecated use `StreamRunAgentConfiguration2$inboundSchema` instead. */
|
|
1537
|
+
export const inboundSchema = StreamRunAgentConfiguration2$inboundSchema;
|
|
1538
|
+
/** @deprecated use `StreamRunAgentConfiguration2$outboundSchema` instead. */
|
|
1539
|
+
export const outboundSchema = StreamRunAgentConfiguration2$outboundSchema;
|
|
1540
|
+
/** @deprecated use `StreamRunAgentConfiguration2$Outbound` instead. */
|
|
1541
|
+
export type Outbound = StreamRunAgentConfiguration2$Outbound;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
export function streamRunAgentConfiguration2ToJSON(
|
|
1545
|
+
streamRunAgentConfiguration2: StreamRunAgentConfiguration2,
|
|
1546
|
+
): string {
|
|
1547
|
+
return JSON.stringify(
|
|
1548
|
+
StreamRunAgentConfiguration2$outboundSchema.parse(
|
|
1549
|
+
streamRunAgentConfiguration2,
|
|
1550
|
+
),
|
|
1551
|
+
);
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
export function streamRunAgentConfiguration2FromJSON(
|
|
1555
|
+
jsonString: string,
|
|
1556
|
+
): SafeParseResult<StreamRunAgentConfiguration2, SDKValidationError> {
|
|
1557
|
+
return safeParse(
|
|
1558
|
+
jsonString,
|
|
1559
|
+
(x) => StreamRunAgentConfiguration2$inboundSchema.parse(JSON.parse(x)),
|
|
1560
|
+
`Failed to parse 'StreamRunAgentConfiguration2' from JSON`,
|
|
1561
|
+
);
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
/** @internal */
|
|
1565
|
+
export const StreamRunAgentConfigurationType$inboundSchema: z.ZodNativeEnum<
|
|
1566
|
+
typeof StreamRunAgentConfigurationType
|
|
1567
|
+
> = z.nativeEnum(StreamRunAgentConfigurationType);
|
|
1568
|
+
|
|
1569
|
+
/** @internal */
|
|
1570
|
+
export const StreamRunAgentConfigurationType$outboundSchema: z.ZodNativeEnum<
|
|
1571
|
+
typeof StreamRunAgentConfigurationType
|
|
1572
|
+
> = StreamRunAgentConfigurationType$inboundSchema;
|
|
1573
|
+
|
|
1574
|
+
/**
|
|
1575
|
+
* @internal
|
|
1576
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1577
|
+
*/
|
|
1578
|
+
export namespace StreamRunAgentConfigurationType$ {
|
|
1579
|
+
/** @deprecated use `StreamRunAgentConfigurationType$inboundSchema` instead. */
|
|
1580
|
+
export const inboundSchema = StreamRunAgentConfigurationType$inboundSchema;
|
|
1581
|
+
/** @deprecated use `StreamRunAgentConfigurationType$outboundSchema` instead. */
|
|
1582
|
+
export const outboundSchema = StreamRunAgentConfigurationType$outboundSchema;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
/** @internal */
|
|
1586
|
+
export const StreamRunAgentConfiguration1$inboundSchema: z.ZodType<
|
|
1587
|
+
StreamRunAgentConfiguration1,
|
|
1588
|
+
z.ZodTypeDef,
|
|
1589
|
+
unknown
|
|
1590
|
+
> = z.object({
|
|
1591
|
+
type: StreamRunAgentConfigurationType$inboundSchema,
|
|
1592
|
+
});
|
|
1593
|
+
|
|
1594
|
+
/** @internal */
|
|
1595
|
+
export type StreamRunAgentConfiguration1$Outbound = {
|
|
1596
|
+
type: string;
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
/** @internal */
|
|
1600
|
+
export const StreamRunAgentConfiguration1$outboundSchema: z.ZodType<
|
|
1601
|
+
StreamRunAgentConfiguration1$Outbound,
|
|
1602
|
+
z.ZodTypeDef,
|
|
1603
|
+
StreamRunAgentConfiguration1
|
|
1604
|
+
> = z.object({
|
|
1605
|
+
type: StreamRunAgentConfigurationType$outboundSchema,
|
|
1606
|
+
});
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* @internal
|
|
1610
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1611
|
+
*/
|
|
1612
|
+
export namespace StreamRunAgentConfiguration1$ {
|
|
1613
|
+
/** @deprecated use `StreamRunAgentConfiguration1$inboundSchema` instead. */
|
|
1614
|
+
export const inboundSchema = StreamRunAgentConfiguration1$inboundSchema;
|
|
1615
|
+
/** @deprecated use `StreamRunAgentConfiguration1$outboundSchema` instead. */
|
|
1616
|
+
export const outboundSchema = StreamRunAgentConfiguration1$outboundSchema;
|
|
1617
|
+
/** @deprecated use `StreamRunAgentConfiguration1$Outbound` instead. */
|
|
1618
|
+
export type Outbound = StreamRunAgentConfiguration1$Outbound;
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
export function streamRunAgentConfiguration1ToJSON(
|
|
1622
|
+
streamRunAgentConfiguration1: StreamRunAgentConfiguration1,
|
|
1623
|
+
): string {
|
|
1624
|
+
return JSON.stringify(
|
|
1625
|
+
StreamRunAgentConfiguration1$outboundSchema.parse(
|
|
1626
|
+
streamRunAgentConfiguration1,
|
|
1627
|
+
),
|
|
1628
|
+
);
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
export function streamRunAgentConfiguration1FromJSON(
|
|
1632
|
+
jsonString: string,
|
|
1633
|
+
): SafeParseResult<StreamRunAgentConfiguration1, SDKValidationError> {
|
|
1634
|
+
return safeParse(
|
|
1635
|
+
jsonString,
|
|
1636
|
+
(x) => StreamRunAgentConfiguration1$inboundSchema.parse(JSON.parse(x)),
|
|
1637
|
+
`Failed to parse 'StreamRunAgentConfiguration1' from JSON`,
|
|
1638
|
+
);
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
/** @internal */
|
|
1642
|
+
export const StreamRunAgentConfiguration$inboundSchema: z.ZodType<
|
|
1643
|
+
StreamRunAgentConfiguration,
|
|
1644
|
+
z.ZodTypeDef,
|
|
1645
|
+
unknown
|
|
1646
|
+
> = z.union([
|
|
1647
|
+
z.lazy(() => StreamRunAgentConfiguration2$inboundSchema),
|
|
1648
|
+
z.lazy(() => StreamRunAgentConfiguration1$inboundSchema),
|
|
1649
|
+
]);
|
|
1650
|
+
|
|
1651
|
+
/** @internal */
|
|
1652
|
+
export type StreamRunAgentConfiguration$Outbound =
|
|
1653
|
+
| StreamRunAgentConfiguration2$Outbound
|
|
1654
|
+
| StreamRunAgentConfiguration1$Outbound;
|
|
1655
|
+
|
|
1656
|
+
/** @internal */
|
|
1657
|
+
export const StreamRunAgentConfiguration$outboundSchema: z.ZodType<
|
|
1658
|
+
StreamRunAgentConfiguration$Outbound,
|
|
1659
|
+
z.ZodTypeDef,
|
|
1660
|
+
StreamRunAgentConfiguration
|
|
1661
|
+
> = z.union([
|
|
1662
|
+
z.lazy(() => StreamRunAgentConfiguration2$outboundSchema),
|
|
1663
|
+
z.lazy(() => StreamRunAgentConfiguration1$outboundSchema),
|
|
1664
|
+
]);
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* @internal
|
|
1668
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1669
|
+
*/
|
|
1670
|
+
export namespace StreamRunAgentConfiguration$ {
|
|
1671
|
+
/** @deprecated use `StreamRunAgentConfiguration$inboundSchema` instead. */
|
|
1672
|
+
export const inboundSchema = StreamRunAgentConfiguration$inboundSchema;
|
|
1673
|
+
/** @deprecated use `StreamRunAgentConfiguration$outboundSchema` instead. */
|
|
1674
|
+
export const outboundSchema = StreamRunAgentConfiguration$outboundSchema;
|
|
1675
|
+
/** @deprecated use `StreamRunAgentConfiguration$Outbound` instead. */
|
|
1676
|
+
export type Outbound = StreamRunAgentConfiguration$Outbound;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
export function streamRunAgentConfigurationToJSON(
|
|
1680
|
+
streamRunAgentConfiguration: StreamRunAgentConfiguration,
|
|
1681
|
+
): string {
|
|
1682
|
+
return JSON.stringify(
|
|
1683
|
+
StreamRunAgentConfiguration$outboundSchema.parse(
|
|
1684
|
+
streamRunAgentConfiguration,
|
|
1685
|
+
),
|
|
1686
|
+
);
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
export function streamRunAgentConfigurationFromJSON(
|
|
1690
|
+
jsonString: string,
|
|
1691
|
+
): SafeParseResult<StreamRunAgentConfiguration, SDKValidationError> {
|
|
1692
|
+
return safeParse(
|
|
1693
|
+
jsonString,
|
|
1694
|
+
(x) => StreamRunAgentConfiguration$inboundSchema.parse(JSON.parse(x)),
|
|
1695
|
+
`Failed to parse 'StreamRunAgentConfiguration' from JSON`,
|
|
1696
|
+
);
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
/** @internal */
|
|
1700
|
+
export const StreamRunAgentKnowledgeBases$inboundSchema: z.ZodType<
|
|
1701
|
+
StreamRunAgentKnowledgeBases,
|
|
1702
|
+
z.ZodTypeDef,
|
|
1703
|
+
unknown
|
|
1704
|
+
> = z.object({
|
|
1705
|
+
configuration: z.union([
|
|
1706
|
+
z.lazy(() => StreamRunAgentConfiguration2$inboundSchema),
|
|
1707
|
+
z.lazy(() => StreamRunAgentConfiguration1$inboundSchema),
|
|
1708
|
+
]),
|
|
1709
|
+
});
|
|
1710
|
+
|
|
1711
|
+
/** @internal */
|
|
1712
|
+
export type StreamRunAgentKnowledgeBases$Outbound = {
|
|
1713
|
+
configuration:
|
|
1714
|
+
| StreamRunAgentConfiguration2$Outbound
|
|
1715
|
+
| StreamRunAgentConfiguration1$Outbound;
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
/** @internal */
|
|
1719
|
+
export const StreamRunAgentKnowledgeBases$outboundSchema: z.ZodType<
|
|
1720
|
+
StreamRunAgentKnowledgeBases$Outbound,
|
|
1721
|
+
z.ZodTypeDef,
|
|
1722
|
+
StreamRunAgentKnowledgeBases
|
|
1723
|
+
> = z.object({
|
|
1724
|
+
configuration: z.union([
|
|
1725
|
+
z.lazy(() => StreamRunAgentConfiguration2$outboundSchema),
|
|
1726
|
+
z.lazy(() => StreamRunAgentConfiguration1$outboundSchema),
|
|
1727
|
+
]),
|
|
1728
|
+
});
|
|
1729
|
+
|
|
1730
|
+
/**
|
|
1731
|
+
* @internal
|
|
1732
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1733
|
+
*/
|
|
1734
|
+
export namespace StreamRunAgentKnowledgeBases$ {
|
|
1735
|
+
/** @deprecated use `StreamRunAgentKnowledgeBases$inboundSchema` instead. */
|
|
1736
|
+
export const inboundSchema = StreamRunAgentKnowledgeBases$inboundSchema;
|
|
1737
|
+
/** @deprecated use `StreamRunAgentKnowledgeBases$outboundSchema` instead. */
|
|
1738
|
+
export const outboundSchema = StreamRunAgentKnowledgeBases$outboundSchema;
|
|
1739
|
+
/** @deprecated use `StreamRunAgentKnowledgeBases$Outbound` instead. */
|
|
1740
|
+
export type Outbound = StreamRunAgentKnowledgeBases$Outbound;
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
export function streamRunAgentKnowledgeBasesToJSON(
|
|
1744
|
+
streamRunAgentKnowledgeBases: StreamRunAgentKnowledgeBases,
|
|
1745
|
+
): string {
|
|
1746
|
+
return JSON.stringify(
|
|
1747
|
+
StreamRunAgentKnowledgeBases$outboundSchema.parse(
|
|
1748
|
+
streamRunAgentKnowledgeBases,
|
|
1749
|
+
),
|
|
1750
|
+
);
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
export function streamRunAgentKnowledgeBasesFromJSON(
|
|
1754
|
+
jsonString: string,
|
|
1755
|
+
): SafeParseResult<StreamRunAgentKnowledgeBases, SDKValidationError> {
|
|
1756
|
+
return safeParse(
|
|
1757
|
+
jsonString,
|
|
1758
|
+
(x) => StreamRunAgentKnowledgeBases$inboundSchema.parse(JSON.parse(x)),
|
|
1759
|
+
`Failed to parse 'StreamRunAgentKnowledgeBases' from JSON`,
|
|
1760
|
+
);
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1444
1763
|
/** @internal */
|
|
1445
1764
|
export const StreamRunAgentTeamOfAgents$inboundSchema: z.ZodType<
|
|
1446
1765
|
StreamRunAgentTeamOfAgents,
|
|
@@ -2000,7 +2319,7 @@ export function toolsHttpFromJSON(
|
|
|
2000
2319
|
/** @internal */
|
|
2001
2320
|
export const Tools11$inboundSchema: z.ZodType<Tools11, z.ZodTypeDef, unknown> =
|
|
2002
2321
|
z.object({
|
|
2003
|
-
_id: z.string().default("
|
|
2322
|
+
_id: z.string().default("01K5E8A6T4BF7JCDEVKBT31XV7"),
|
|
2004
2323
|
path: z.string(),
|
|
2005
2324
|
key: z.string(),
|
|
2006
2325
|
display_name: z.string(),
|
|
@@ -2040,7 +2359,7 @@ export const Tools11$outboundSchema: z.ZodType<
|
|
|
2040
2359
|
z.ZodTypeDef,
|
|
2041
2360
|
Tools11
|
|
2042
2361
|
> = z.object({
|
|
2043
|
-
id: z.string().default("
|
|
2362
|
+
id: z.string().default("01K5E8A6T4BF7JCDEVKBT31XV7"),
|
|
2044
2363
|
path: z.string(),
|
|
2045
2364
|
key: z.string(),
|
|
2046
2365
|
displayName: z.string(),
|
|
@@ -3079,8 +3398,8 @@ export const StreamRunAgentSettings$inboundSchema: z.ZodType<
|
|
|
3079
3398
|
),
|
|
3080
3399
|
tool_approval_required: StreamRunAgentToolApprovalRequired$inboundSchema
|
|
3081
3400
|
.default("none"),
|
|
3082
|
-
max_iterations: z.number().default(15),
|
|
3083
|
-
max_execution_time: z.number().default(120),
|
|
3401
|
+
max_iterations: z.number().int().default(15),
|
|
3402
|
+
max_execution_time: z.number().int().default(120),
|
|
3084
3403
|
}).transform((v) => {
|
|
3085
3404
|
return remap$(v, {
|
|
3086
3405
|
"tool_approval_required": "toolApprovalRequired",
|
|
@@ -3134,8 +3453,8 @@ export const StreamRunAgentSettings$outboundSchema: z.ZodType<
|
|
|
3134
3453
|
),
|
|
3135
3454
|
toolApprovalRequired: StreamRunAgentToolApprovalRequired$outboundSchema
|
|
3136
3455
|
.default("none"),
|
|
3137
|
-
maxIterations: z.number().default(15),
|
|
3138
|
-
maxExecutionTime: z.number().default(120),
|
|
3456
|
+
maxIterations: z.number().int().default(15),
|
|
3457
|
+
maxExecutionTime: z.number().int().default(120),
|
|
3139
3458
|
}).transform((v) => {
|
|
3140
3459
|
return remap$(v, {
|
|
3141
3460
|
toolApprovalRequired: "tool_approval_required",
|
|
@@ -3196,7 +3515,9 @@ export const StreamRunAgentRequestBody$inboundSchema: z.ZodType<
|
|
|
3196
3515
|
iconUrl: z.string().optional(),
|
|
3197
3516
|
system_prompt: z.string().optional(),
|
|
3198
3517
|
memory_stores: z.array(z.string()).optional(),
|
|
3199
|
-
knowledge_bases: z.array(
|
|
3518
|
+
knowledge_bases: z.array(
|
|
3519
|
+
z.lazy(() => StreamRunAgentKnowledgeBases$inboundSchema),
|
|
3520
|
+
).optional(),
|
|
3200
3521
|
team_of_agents: z.array(
|
|
3201
3522
|
z.lazy(() => StreamRunAgentTeamOfAgents$inboundSchema),
|
|
3202
3523
|
).optional(),
|
|
@@ -3231,7 +3552,7 @@ export type StreamRunAgentRequestBody$Outbound = {
|
|
|
3231
3552
|
iconUrl?: string | undefined;
|
|
3232
3553
|
system_prompt?: string | undefined;
|
|
3233
3554
|
memory_stores?: Array<string> | undefined;
|
|
3234
|
-
knowledge_bases?: Array<
|
|
3555
|
+
knowledge_bases?: Array<StreamRunAgentKnowledgeBases$Outbound> | undefined;
|
|
3235
3556
|
team_of_agents?: Array<StreamRunAgentTeamOfAgents$Outbound> | undefined;
|
|
3236
3557
|
settings: StreamRunAgentSettings$Outbound;
|
|
3237
3558
|
stream_timeout_seconds?: number | undefined;
|
|
@@ -3258,7 +3579,9 @@ export const StreamRunAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
3258
3579
|
iconUrl: z.string().optional(),
|
|
3259
3580
|
systemPrompt: z.string().optional(),
|
|
3260
3581
|
memoryStores: z.array(z.string()).optional(),
|
|
3261
|
-
knowledgeBases: z.array(
|
|
3582
|
+
knowledgeBases: z.array(
|
|
3583
|
+
z.lazy(() => StreamRunAgentKnowledgeBases$outboundSchema),
|
|
3584
|
+
).optional(),
|
|
3262
3585
|
teamOfAgents: z.array(z.lazy(() => StreamRunAgentTeamOfAgents$outboundSchema))
|
|
3263
3586
|
.optional(),
|
|
3264
3587
|
settings: z.lazy(() => StreamRunAgentSettings$outboundSchema),
|
|
@@ -538,7 +538,7 @@ export const UpdateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
538
538
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
539
539
|
.optional(),
|
|
540
540
|
updated: z.string().datetime({ offset: true }).default(
|
|
541
|
-
"2025-09-
|
|
541
|
+
"2025-09-18T11:10:42.158Z",
|
|
542
542
|
).transform(v => new Date(v)),
|
|
543
543
|
}).transform((v) => {
|
|
544
544
|
return remap$(v, {
|
|
@@ -573,7 +573,7 @@ export const UpdateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
573
573
|
isActive: z.boolean(),
|
|
574
574
|
consumption: z.lazy(() => UpdateBudgetConsumption$outboundSchema).optional(),
|
|
575
575
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
576
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
576
|
+
updated: z.date().default(() => new Date("2025-09-18T11:10:42.158Z"))
|
|
577
577
|
.transform(v => v.toISOString()),
|
|
578
578
|
}).transform((v) => {
|
|
579
579
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
245
245
|
.optional(),
|
|
246
246
|
updated: z.string().datetime({ offset: true }).default(
|
|
247
|
-
"2025-09-
|
|
247
|
+
"2025-09-18T11:10:42.158Z",
|
|
248
248
|
).transform(v => new Date(v)),
|
|
249
249
|
}).transform((v) => {
|
|
250
250
|
return remap$(v, {
|
|
@@ -282,7 +282,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
282
282
|
tags: z.array(z.string()).optional(),
|
|
283
283
|
metadata: z.record(z.any()).optional(),
|
|
284
284
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
285
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
285
|
+
updated: z.date().default(() => new Date("2025-09-18T11:10:42.158Z"))
|
|
286
286
|
.transform(v => v.toISOString()),
|
|
287
287
|
}).transform((v) => {
|
|
288
288
|
return remap$(v, {
|
|
@@ -6018,7 +6018,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
6018
6018
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6019
6019
|
.optional(),
|
|
6020
6020
|
updated: z.string().datetime({ offset: true }).default(
|
|
6021
|
-
"2025-09-
|
|
6021
|
+
"2025-09-18T11:10:42.158Z",
|
|
6022
6022
|
).transform(v => new Date(v)),
|
|
6023
6023
|
}).transform((v) => {
|
|
6024
6024
|
return remap$(v, {
|
|
@@ -6080,7 +6080,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
6080
6080
|
createdById: z.string().optional(),
|
|
6081
6081
|
updatedById: z.string().optional(),
|
|
6082
6082
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6083
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
6083
|
+
updated: z.date().default(() => new Date("2025-09-18T11:10:42.158Z"))
|
|
6084
6084
|
.transform(v => v.toISOString()),
|
|
6085
6085
|
}).transform((v) => {
|
|
6086
6086
|
return remap$(v, {
|
|
@@ -302,7 +302,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
302
302
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
303
303
|
.optional(),
|
|
304
304
|
updated: z.string().datetime({ offset: true }).default(
|
|
305
|
-
"2025-09-
|
|
305
|
+
"2025-09-18T11:10:42.158Z",
|
|
306
306
|
).transform(v => new Date(v)),
|
|
307
307
|
}).transform((v) => {
|
|
308
308
|
return remap$(v, {
|
|
@@ -347,7 +347,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
347
347
|
parentId: z.string().optional(),
|
|
348
348
|
version: z.string().optional(),
|
|
349
349
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
350
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
350
|
+
updated: z.date().default(() => new Date("2025-09-18T11:10:42.158Z"))
|
|
351
351
|
.transform(v => v.toISOString()),
|
|
352
352
|
}).transform((v) => {
|
|
353
353
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
z.ZodTypeDef,
|
|
245
245
|
unknown
|
|
246
246
|
> = z.object({
|
|
247
|
-
_id: z.string().default("
|
|
247
|
+
_id: z.string().default("01K5E8A6X4TEMWM0SWWJ7BG1M2"),
|
|
248
248
|
display_name: z.string(),
|
|
249
249
|
description: z.string().optional(),
|
|
250
250
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -288,7 +288,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
288
288
|
z.ZodTypeDef,
|
|
289
289
|
UpdateDatasourceResponseBody
|
|
290
290
|
> = z.object({
|
|
291
|
-
id: z.string().default("
|
|
291
|
+
id: z.string().default("01K5E8A6X4TEMWM0SWWJ7BG1M2"),
|
|
292
292
|
displayName: z.string(),
|
|
293
293
|
description: z.string().optional(),
|
|
294
294
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -3484,8 +3484,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
3484
3484
|
> = z.object({
|
|
3485
3485
|
_id: z.string(),
|
|
3486
3486
|
description: z.string(),
|
|
3487
|
-
created: z.string().default("2025-09-
|
|
3488
|
-
updated: z.string().default("2025-09-
|
|
3487
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
3488
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
3489
3489
|
guardrail_config: z.union([
|
|
3490
3490
|
z.lazy(() =>
|
|
3491
3491
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3528,8 +3528,8 @@ export const ResponseBodyTypescript$outboundSchema: z.ZodType<
|
|
|
3528
3528
|
> = z.object({
|
|
3529
3529
|
id: z.string(),
|
|
3530
3530
|
description: z.string(),
|
|
3531
|
-
created: z.string().default("2025-09-
|
|
3532
|
-
updated: z.string().default("2025-09-
|
|
3531
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
3532
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
3533
3533
|
guardrailConfig: z.union([
|
|
3534
3534
|
z.lazy(() =>
|
|
3535
3535
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3955,8 +3955,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
3955
3955
|
> = z.object({
|
|
3956
3956
|
_id: z.string(),
|
|
3957
3957
|
description: z.string(),
|
|
3958
|
-
created: z.string().default("2025-09-
|
|
3959
|
-
updated: z.string().default("2025-09-
|
|
3958
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
3959
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
3960
3960
|
guardrail_config: z.union([
|
|
3961
3961
|
z.lazy(() =>
|
|
3962
3962
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -4002,8 +4002,8 @@ export const ResponseBodyRagas$outboundSchema: z.ZodType<
|
|
|
4002
4002
|
> = z.object({
|
|
4003
4003
|
id: z.string(),
|
|
4004
4004
|
description: z.string(),
|
|
4005
|
-
created: z.string().default("2025-09-
|
|
4006
|
-
updated: z.string().default("2025-09-
|
|
4005
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
4006
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
4007
4007
|
guardrailConfig: z.union([
|
|
4008
4008
|
z.lazy(() =>
|
|
4009
4009
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -7510,8 +7510,8 @@ export const UpdateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7510
7510
|
> = z.object({
|
|
7511
7511
|
_id: z.string(),
|
|
7512
7512
|
description: z.string(),
|
|
7513
|
-
created: z.string().default("2025-09-
|
|
7514
|
-
updated: z.string().default("2025-09-
|
|
7513
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
7514
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
7515
7515
|
guardrail_config: z.union([
|
|
7516
7516
|
z.lazy(() =>
|
|
7517
7517
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7625,8 +7625,8 @@ export const UpdateEvalResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7625
7625
|
> = z.object({
|
|
7626
7626
|
id: z.string(),
|
|
7627
7627
|
description: z.string(),
|
|
7628
|
-
created: z.string().default("2025-09-
|
|
7629
|
-
updated: z.string().default("2025-09-
|
|
7628
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
7629
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
7630
7630
|
guardrailConfig: z.union([
|
|
7631
7631
|
z.lazy(() =>
|
|
7632
7632
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -8068,8 +8068,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
8068
8068
|
> = z.object({
|
|
8069
8069
|
_id: z.string(),
|
|
8070
8070
|
description: z.string(),
|
|
8071
|
-
created: z.string().default("2025-09-
|
|
8072
|
-
updated: z.string().default("2025-09-
|
|
8071
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
8072
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
8073
8073
|
guardrail_config: z.union([
|
|
8074
8074
|
z.lazy(() =>
|
|
8075
8075
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -8111,8 +8111,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
8111
8111
|
> = z.object({
|
|
8112
8112
|
id: z.string(),
|
|
8113
8113
|
description: z.string(),
|
|
8114
|
-
created: z.string().default("2025-09-
|
|
8115
|
-
updated: z.string().default("2025-09-
|
|
8114
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
8115
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
8116
8116
|
guardrailConfig: z.union([
|
|
8117
8117
|
z.lazy(() =>
|
|
8118
8118
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8533,8 +8533,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8533
8533
|
> = z.object({
|
|
8534
8534
|
_id: z.string(),
|
|
8535
8535
|
description: z.string(),
|
|
8536
|
-
created: z.string().default("2025-09-
|
|
8537
|
-
updated: z.string().default("2025-09-
|
|
8536
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
8537
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
8538
8538
|
guardrail_config: z.union([
|
|
8539
8539
|
z.lazy(() =>
|
|
8540
8540
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8582,8 +8582,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8582
8582
|
> = z.object({
|
|
8583
8583
|
id: z.string(),
|
|
8584
8584
|
description: z.string(),
|
|
8585
|
-
created: z.string().default("2025-09-
|
|
8586
|
-
updated: z.string().default("2025-09-
|
|
8585
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
8586
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
8587
8587
|
guardrailConfig: z.union([
|
|
8588
8588
|
z.lazy(() =>
|
|
8589
8589
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -8973,8 +8973,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
8973
8973
|
> = z.object({
|
|
8974
8974
|
_id: z.string(),
|
|
8975
8975
|
description: z.string(),
|
|
8976
|
-
created: z.string().default("2025-09-
|
|
8977
|
-
updated: z.string().default("2025-09-
|
|
8976
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
8977
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
8978
8978
|
guardrail_config: z.union([
|
|
8979
8979
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
8980
8980
|
z.lazy(() =>
|
|
@@ -9014,8 +9014,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
9014
9014
|
> = z.object({
|
|
9015
9015
|
id: z.string(),
|
|
9016
9016
|
description: z.string(),
|
|
9017
|
-
created: z.string().default("2025-09-
|
|
9018
|
-
updated: z.string().default("2025-09-
|
|
9017
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
9018
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
9019
9019
|
guardrailConfig: z.union([
|
|
9020
9020
|
z.lazy(() =>
|
|
9021
9021
|
UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9373,8 +9373,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9373
9373
|
> = z.object({
|
|
9374
9374
|
_id: z.string(),
|
|
9375
9375
|
description: z.string(),
|
|
9376
|
-
created: z.string().default("2025-09-
|
|
9377
|
-
updated: z.string().default("2025-09-
|
|
9376
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
9377
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
9378
9378
|
guardrail_config: z.union([
|
|
9379
9379
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9380
9380
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9414,8 +9414,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9414
9414
|
> = z.object({
|
|
9415
9415
|
id: z.string(),
|
|
9416
9416
|
description: z.string(),
|
|
9417
|
-
created: z.string().default("2025-09-
|
|
9418
|
-
updated: z.string().default("2025-09-
|
|
9417
|
+
created: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
9418
|
+
updated: z.string().default("2025-09-18T11:10:44.471Z"),
|
|
9419
9419
|
guardrailConfig: z.union([
|
|
9420
9420
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9421
9421
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|