@orq-ai/node 4.12.0-rc.2 → 4.12.0-rc.5
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 +45 -41
- package/funcs/agentsResponsesCreate.d.ts +2 -0
- package/funcs/agentsResponsesCreate.d.ts.map +1 -1
- package/funcs/agentsResponsesCreate.js +2 -0
- package/funcs/agentsResponsesCreate.js.map +1 -1
- package/funcs/agentsResponsesGet.d.ts +2 -0
- package/funcs/agentsResponsesGet.d.ts.map +1 -1
- package/funcs/agentsResponsesGet.js +2 -0
- package/funcs/agentsResponsesGet.js.map +1 -1
- package/funcs/modelsImportLitellm.d.ts +17 -0
- package/funcs/modelsImportLitellm.d.ts.map +1 -0
- package/funcs/modelsImportLitellm.js +118 -0
- package/funcs/modelsImportLitellm.js.map +1 -0
- package/funcs/modelsListLitellm.d.ts +18 -0
- package/funcs/modelsListLitellm.d.ts.map +1 -0
- package/funcs/modelsListLitellm.js +105 -0
- package/funcs/modelsListLitellm.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/agentstartedstreamingevent.d.ts +4 -0
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +2 -0
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/filepurpose.d.ts +1 -0
- package/models/components/filepurpose.d.ts.map +1 -1
- package/models/components/filepurpose.js +1 -0
- package/models/components/filepurpose.js.map +1 -1
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/litellmmodel.d.ts +18 -0
- package/models/components/litellmmodel.d.ts.map +1 -0
- package/models/components/litellmmodel.js +60 -0
- package/models/components/litellmmodel.js.map +1 -0
- package/models/components/litellmmodelinfo.d.ts +44 -0
- package/models/components/litellmmodelinfo.d.ts.map +1 -0
- package/models/components/litellmmodelinfo.js +83 -0
- package/models/components/litellmmodelinfo.js.map +1 -0
- package/models/components/litellmparams.d.ts +18 -0
- package/models/components/litellmparams.d.ts.map +1 -0
- package/models/components/litellmparams.js +59 -0
- package/models/components/litellmparams.js.map +1 -0
- package/models/components/modeldocument.d.ts +39 -0
- package/models/components/modeldocument.d.ts.map +1 -0
- package/models/components/modeldocument.js +99 -0
- package/models/components/modeldocument.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +66 -24
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +46 -21
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createprompt.d.ts +1 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +1 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +71 -0
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +39 -2
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentinvoke.d.ts +1 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +1 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +1 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +1 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getoneprompt.d.ts +1 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/invokeeval.d.ts +1 -1
- package/models/operations/invokeeval.d.ts.map +1 -1
- package/models/operations/invokeeval.js +1 -1
- package/models/operations/invokeeval.js.map +1 -1
- package/models/operations/listagents.d.ts +4 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +2 -0
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listpromptversions.d.ts +1 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +4 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +2 -0
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +52 -20
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +34 -16
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +52 -20
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +34 -16
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +66 -24
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +46 -21
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateprompt.d.ts +1 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +1 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +3 -3
- package/sdk/feedback.d.ts +1 -4
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +1 -4
- package/sdk/feedback.js.map +1 -1
- package/sdk/models.d.ts +17 -0
- package/sdk/models.d.ts.map +1 -1
- package/sdk/models.js +20 -0
- package/sdk/models.js.map +1 -1
- package/sdk/orqresponses.d.ts +4 -0
- package/sdk/orqresponses.d.ts.map +1 -1
- package/sdk/orqresponses.js +4 -0
- package/sdk/orqresponses.js.map +1 -1
- package/src/funcs/agentsResponsesCreate.ts +2 -0
- package/src/funcs/agentsResponsesGet.ts +2 -0
- package/src/funcs/modelsImportLitellm.ts +166 -0
- package/src/funcs/modelsListLitellm.ts +144 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/agentstartedstreamingevent.ts +6 -0
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/filepurpose.ts +1 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/litellmmodel.ts +50 -0
- package/src/models/components/litellmmodelinfo.ts +97 -0
- package/src/models/components/litellmparams.ts +43 -0
- package/src/models/components/modeldocument.ts +112 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +123 -40
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createprompt.ts +1 -0
- package/src/models/operations/createrouterresponse.ts +108 -0
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentinvoke.ts +1 -0
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/deploymentstream.ts +1 -0
- package/src/models/operations/getallprompts.ts +1 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/invokeeval.ts +2 -2
- package/src/models/operations/listagents.ts +6 -0
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listpromptversions.ts +1 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +6 -0
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +93 -33
- package/src/models/operations/streamrunagent.ts +99 -33
- package/src/models/operations/updateagent.ts +125 -40
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateprompt.ts +1 -0
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +1 -4
- package/src/sdk/models.ts +35 -0
- package/src/sdk/orqresponses.ts +4 -0
|
@@ -538,6 +538,43 @@ export type ToolsMCPTool = {
|
|
|
538
538
|
type: "mcp";
|
|
539
539
|
};
|
|
540
540
|
|
|
541
|
+
export type Files = {
|
|
542
|
+
/**
|
|
543
|
+
* The workspace file ID.
|
|
544
|
+
*/
|
|
545
|
+
fileId: string;
|
|
546
|
+
/**
|
|
547
|
+
* The file name exposed under /workspace.
|
|
548
|
+
*/
|
|
549
|
+
name: string;
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Network mode. Defaults to disabled.
|
|
554
|
+
*/
|
|
555
|
+
export const ToolsMode = {
|
|
556
|
+
Disabled: "disabled",
|
|
557
|
+
Allowlist: "allowlist",
|
|
558
|
+
} as const;
|
|
559
|
+
/**
|
|
560
|
+
* Network mode. Defaults to disabled.
|
|
561
|
+
*/
|
|
562
|
+
export type ToolsMode = ClosedEnum<typeof ToolsMode>;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Network access intent for orq:code_interpreter. Stored and validated today; runtime enforcement by the sandbox egress layer is rolling out and until then sandbox executions retain default public internet egress.
|
|
566
|
+
*/
|
|
567
|
+
export type Network = {
|
|
568
|
+
/**
|
|
569
|
+
* Allowed network hostnames or IPv4 addresses when mode is allowlist. Maximum 50 entries.
|
|
570
|
+
*/
|
|
571
|
+
allowlist?: Array<string> | undefined;
|
|
572
|
+
/**
|
|
573
|
+
* Network mode. Defaults to disabled.
|
|
574
|
+
*/
|
|
575
|
+
mode?: ToolsMode | undefined;
|
|
576
|
+
};
|
|
577
|
+
|
|
541
578
|
/**
|
|
542
579
|
* The orq.ai tool type.
|
|
543
580
|
*/
|
|
@@ -545,6 +582,7 @@ export const CreateRouterResponseToolsResponsesType = {
|
|
|
545
582
|
OrqCurrentDate: "orq:current_date",
|
|
546
583
|
OrqGoogleSearch: "orq:google_search",
|
|
547
584
|
OrqWebScraper: "orq:web_scraper",
|
|
585
|
+
OrqCodeInterpreter: "orq:code_interpreter",
|
|
548
586
|
OrqMcp: "orq:mcp",
|
|
549
587
|
OrqHttp: "orq:http",
|
|
550
588
|
OrqFunction: "orq:function",
|
|
@@ -560,6 +598,14 @@ export type CreateRouterResponseToolsResponsesType = ClosedEnum<
|
|
|
560
598
|
* An orq.ai platform tool reference. For MCP tools, prefer type 'mcp' with 'key' instead of 'orq:mcp' with 'tool_id'.
|
|
561
599
|
*/
|
|
562
600
|
export type OrqAiTool = {
|
|
601
|
+
/**
|
|
602
|
+
* Files to stage in /workspace for orq:code_interpreter. Maximum 10 files.
|
|
603
|
+
*/
|
|
604
|
+
files?: Array<Files> | undefined;
|
|
605
|
+
/**
|
|
606
|
+
* Network access intent for orq:code_interpreter. Stored and validated today; runtime enforcement by the sandbox egress layer is rolling out and until then sandbox executions retain default public internet egress.
|
|
607
|
+
*/
|
|
608
|
+
network?: Network | undefined;
|
|
563
609
|
/**
|
|
564
610
|
* The tool ID (for orq:mcp, orq:http, orq:function).
|
|
565
611
|
*/
|
|
@@ -657,6 +703,7 @@ export type CreateRouterResponseTools =
|
|
|
657
703
|
| (OrqAiTool & { type: "orq:current_date" })
|
|
658
704
|
| (OrqAiTool & { type: "orq:google_search" })
|
|
659
705
|
| (OrqAiTool & { type: "orq:web_scraper" })
|
|
706
|
+
| (OrqAiTool & { type: "orq:code_interpreter" })
|
|
660
707
|
| (OrqAiTool & { type: "orq:mcp" })
|
|
661
708
|
| (OrqAiTool & { type: "orq:http" })
|
|
662
709
|
| (OrqAiTool & { type: "orq:function" })
|
|
@@ -768,6 +815,7 @@ export type CreateRouterResponseRequestBody = {
|
|
|
768
815
|
| (OrqAiTool & { type: "orq:current_date" })
|
|
769
816
|
| (OrqAiTool & { type: "orq:google_search" })
|
|
770
817
|
| (OrqAiTool & { type: "orq:web_scraper" })
|
|
818
|
+
| (OrqAiTool & { type: "orq:code_interpreter" })
|
|
771
819
|
| (OrqAiTool & { type: "orq:mcp" })
|
|
772
820
|
| (OrqAiTool & { type: "orq:http" })
|
|
773
821
|
| (OrqAiTool & { type: "orq:function" })
|
|
@@ -1516,6 +1564,54 @@ export function toolsMCPToolToJSON(toolsMCPTool: ToolsMCPTool): string {
|
|
|
1516
1564
|
return JSON.stringify(ToolsMCPTool$outboundSchema.parse(toolsMCPTool));
|
|
1517
1565
|
}
|
|
1518
1566
|
|
|
1567
|
+
/** @internal */
|
|
1568
|
+
export type Files$Outbound = {
|
|
1569
|
+
file_id: string;
|
|
1570
|
+
name: string;
|
|
1571
|
+
};
|
|
1572
|
+
|
|
1573
|
+
/** @internal */
|
|
1574
|
+
export const Files$outboundSchema: z.ZodType<
|
|
1575
|
+
Files$Outbound,
|
|
1576
|
+
z.ZodTypeDef,
|
|
1577
|
+
Files
|
|
1578
|
+
> = z.object({
|
|
1579
|
+
fileId: z.string(),
|
|
1580
|
+
name: z.string(),
|
|
1581
|
+
}).transform((v) => {
|
|
1582
|
+
return remap$(v, {
|
|
1583
|
+
fileId: "file_id",
|
|
1584
|
+
});
|
|
1585
|
+
});
|
|
1586
|
+
|
|
1587
|
+
export function filesToJSON(files: Files): string {
|
|
1588
|
+
return JSON.stringify(Files$outboundSchema.parse(files));
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
/** @internal */
|
|
1592
|
+
export const ToolsMode$outboundSchema: z.ZodNativeEnum<typeof ToolsMode> = z
|
|
1593
|
+
.nativeEnum(ToolsMode);
|
|
1594
|
+
|
|
1595
|
+
/** @internal */
|
|
1596
|
+
export type Network$Outbound = {
|
|
1597
|
+
allowlist?: Array<string> | undefined;
|
|
1598
|
+
mode: string;
|
|
1599
|
+
};
|
|
1600
|
+
|
|
1601
|
+
/** @internal */
|
|
1602
|
+
export const Network$outboundSchema: z.ZodType<
|
|
1603
|
+
Network$Outbound,
|
|
1604
|
+
z.ZodTypeDef,
|
|
1605
|
+
Network
|
|
1606
|
+
> = z.object({
|
|
1607
|
+
allowlist: z.array(z.string()).optional(),
|
|
1608
|
+
mode: ToolsMode$outboundSchema.default("disabled"),
|
|
1609
|
+
});
|
|
1610
|
+
|
|
1611
|
+
export function networkToJSON(network: Network): string {
|
|
1612
|
+
return JSON.stringify(Network$outboundSchema.parse(network));
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1519
1615
|
/** @internal */
|
|
1520
1616
|
export const CreateRouterResponseToolsResponsesType$outboundSchema:
|
|
1521
1617
|
z.ZodNativeEnum<typeof CreateRouterResponseToolsResponsesType> = z.nativeEnum(
|
|
@@ -1524,6 +1620,8 @@ export const CreateRouterResponseToolsResponsesType$outboundSchema:
|
|
|
1524
1620
|
|
|
1525
1621
|
/** @internal */
|
|
1526
1622
|
export type OrqAiTool$Outbound = {
|
|
1623
|
+
files?: Array<Files$Outbound> | undefined;
|
|
1624
|
+
network?: Network$Outbound | undefined;
|
|
1527
1625
|
tool_id?: string | undefined;
|
|
1528
1626
|
type: string;
|
|
1529
1627
|
};
|
|
@@ -1534,6 +1632,8 @@ export const OrqAiTool$outboundSchema: z.ZodType<
|
|
|
1534
1632
|
z.ZodTypeDef,
|
|
1535
1633
|
OrqAiTool
|
|
1536
1634
|
> = z.object({
|
|
1635
|
+
files: z.array(z.lazy(() => Files$outboundSchema)).optional(),
|
|
1636
|
+
network: z.lazy(() => Network$outboundSchema).optional(),
|
|
1537
1637
|
toolId: z.string().optional(),
|
|
1538
1638
|
type: CreateRouterResponseToolsResponsesType$outboundSchema,
|
|
1539
1639
|
}).transform((v) => {
|
|
@@ -1616,6 +1716,7 @@ export type CreateRouterResponseTools$Outbound =
|
|
|
1616
1716
|
| (OrqAiTool$Outbound & { type: "orq:current_date" })
|
|
1617
1717
|
| (OrqAiTool$Outbound & { type: "orq:google_search" })
|
|
1618
1718
|
| (OrqAiTool$Outbound & { type: "orq:web_scraper" })
|
|
1719
|
+
| (OrqAiTool$Outbound & { type: "orq:code_interpreter" })
|
|
1619
1720
|
| (OrqAiTool$Outbound & { type: "orq:mcp" })
|
|
1620
1721
|
| (OrqAiTool$Outbound & { type: "orq:http" })
|
|
1621
1722
|
| (OrqAiTool$Outbound & { type: "orq:function" })
|
|
@@ -1637,6 +1738,9 @@ export const CreateRouterResponseTools$outboundSchema: z.ZodType<
|
|
|
1637
1738
|
z.lazy(() => OrqAiTool$outboundSchema).and(
|
|
1638
1739
|
z.object({ type: z.literal("orq:web_scraper") }),
|
|
1639
1740
|
),
|
|
1741
|
+
z.lazy(() => OrqAiTool$outboundSchema).and(
|
|
1742
|
+
z.object({ type: z.literal("orq:code_interpreter") }),
|
|
1743
|
+
),
|
|
1640
1744
|
z.lazy(() => OrqAiTool$outboundSchema).and(
|
|
1641
1745
|
z.object({ type: z.literal("orq:mcp") }),
|
|
1642
1746
|
),
|
|
@@ -1698,6 +1802,7 @@ export type CreateRouterResponseRequestBody$Outbound = {
|
|
|
1698
1802
|
| (OrqAiTool$Outbound & { type: "orq:current_date" })
|
|
1699
1803
|
| (OrqAiTool$Outbound & { type: "orq:google_search" })
|
|
1700
1804
|
| (OrqAiTool$Outbound & { type: "orq:web_scraper" })
|
|
1805
|
+
| (OrqAiTool$Outbound & { type: "orq:code_interpreter" })
|
|
1701
1806
|
| (OrqAiTool$Outbound & { type: "orq:mcp" })
|
|
1702
1807
|
| (OrqAiTool$Outbound & { type: "orq:http" })
|
|
1703
1808
|
| (OrqAiTool$Outbound & { type: "orq:function" })
|
|
@@ -1767,6 +1872,9 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
|
|
|
1767
1872
|
z.lazy(() =>
|
|
1768
1873
|
OrqAiTool$outboundSchema
|
|
1769
1874
|
).and(z.object({ type: z.literal("orq:web_scraper") })),
|
|
1875
|
+
z.lazy(() =>
|
|
1876
|
+
OrqAiTool$outboundSchema
|
|
1877
|
+
).and(z.object({ type: z.literal("orq:code_interpreter") })),
|
|
1770
1878
|
z.lazy(() =>
|
|
1771
1879
|
OrqAiTool$outboundSchema
|
|
1772
1880
|
).and(z.object({ type: z.literal("orq:mcp") })),
|
|
@@ -1896,7 +1896,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1896
1896
|
z.ZodTypeDef,
|
|
1897
1897
|
unknown
|
|
1898
1898
|
> = z.object({
|
|
1899
|
-
_id: z.string().default("
|
|
1899
|
+
_id: z.string().default("tool_01KWYNGDBXY061W64X4EXZBT0J"),
|
|
1900
1900
|
path: z.string(),
|
|
1901
1901
|
key: z.string(),
|
|
1902
1902
|
display_name: z.string().optional(),
|
|
@@ -1993,7 +1993,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1993
1993
|
z.ZodTypeDef,
|
|
1994
1994
|
unknown
|
|
1995
1995
|
> = z.object({
|
|
1996
|
-
id: z.string().default("
|
|
1996
|
+
id: z.string().default("01KWYNGDBWH01BS2T13DZPYENG"),
|
|
1997
1997
|
name: z.string(),
|
|
1998
1998
|
description: z.string().optional(),
|
|
1999
1999
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2049,7 +2049,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2049
2049
|
z.ZodTypeDef,
|
|
2050
2050
|
unknown
|
|
2051
2051
|
> = z.object({
|
|
2052
|
-
_id: z.string().default("
|
|
2052
|
+
_id: z.string().default("tool_01KWYNGDBVFTVS6Y23EMN5ME7P"),
|
|
2053
2053
|
path: z.string(),
|
|
2054
2054
|
key: z.string(),
|
|
2055
2055
|
display_name: z.string().optional(),
|
|
@@ -2235,7 +2235,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2235
2235
|
z.ZodTypeDef,
|
|
2236
2236
|
unknown
|
|
2237
2237
|
> = z.object({
|
|
2238
|
-
_id: z.string().default("
|
|
2238
|
+
_id: z.string().default("tool_01KWYNGDBSFCYN7S9GJ4H3HQHD"),
|
|
2239
2239
|
path: z.string(),
|
|
2240
2240
|
key: z.string(),
|
|
2241
2241
|
display_name: z.string().optional(),
|
|
@@ -2328,7 +2328,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2328
2328
|
z.ZodTypeDef,
|
|
2329
2329
|
unknown
|
|
2330
2330
|
> = z.object({
|
|
2331
|
-
_id: z.string().default("
|
|
2331
|
+
_id: z.string().default("tool_01KWYNGDBQ8J78Z9J6CBDZ6037"),
|
|
2332
2332
|
path: z.string(),
|
|
2333
2333
|
key: z.string(),
|
|
2334
2334
|
display_name: z.string().optional(),
|
|
@@ -2429,7 +2429,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2429
2429
|
z.ZodTypeDef,
|
|
2430
2430
|
unknown
|
|
2431
2431
|
> = z.object({
|
|
2432
|
-
_id: z.string().default("
|
|
2432
|
+
_id: z.string().default("tool_01KWYNGDBNNHNHK9FY0GFCK7JB"),
|
|
2433
2433
|
path: z.string(),
|
|
2434
2434
|
key: z.string(),
|
|
2435
2435
|
display_name: z.string().optional(),
|
|
@@ -766,7 +766,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
766
766
|
z.ZodTypeDef,
|
|
767
767
|
unknown
|
|
768
768
|
> = z.object({
|
|
769
|
-
_id: z.string().default("
|
|
769
|
+
_id: z.string().default("tool_01KWYNGDB9ZK465APHZVP51RV4"),
|
|
770
770
|
path: z.string(),
|
|
771
771
|
key: z.string(),
|
|
772
772
|
display_name: z.string().optional(),
|
|
@@ -863,7 +863,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
863
863
|
z.ZodTypeDef,
|
|
864
864
|
unknown
|
|
865
865
|
> = z.object({
|
|
866
|
-
id: z.string().default("
|
|
866
|
+
id: z.string().default("01KWYNGDB837CCVHXWKW7KS8R1"),
|
|
867
867
|
name: z.string(),
|
|
868
868
|
description: z.string().optional(),
|
|
869
869
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -916,7 +916,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01KWYNGDB7KH8A53Q69JT1M0X7"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1100,7 +1100,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1100
1100
|
z.ZodTypeDef,
|
|
1101
1101
|
unknown
|
|
1102
1102
|
> = z.object({
|
|
1103
|
-
_id: z.string().default("
|
|
1103
|
+
_id: z.string().default("tool_01KWYNGDB2KSYWJZ3QBPGV8RZA"),
|
|
1104
1104
|
path: z.string(),
|
|
1105
1105
|
key: z.string(),
|
|
1106
1106
|
display_name: z.string().optional(),
|
|
@@ -1193,7 +1193,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1193
1193
|
z.ZodTypeDef,
|
|
1194
1194
|
unknown
|
|
1195
1195
|
> = z.object({
|
|
1196
|
-
_id: z.string().default("
|
|
1196
|
+
_id: z.string().default("tool_01KWYNGDB0AW05DMHZDYZYY1J7"),
|
|
1197
1197
|
path: z.string(),
|
|
1198
1198
|
key: z.string(),
|
|
1199
1199
|
display_name: z.string().optional(),
|
|
@@ -1291,7 +1291,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1291
1291
|
z.ZodTypeDef,
|
|
1292
1292
|
unknown
|
|
1293
1293
|
> = z.object({
|
|
1294
|
-
_id: z.string().default("
|
|
1294
|
+
_id: z.string().default("tool_01KWYNGDAZ4H9B8VAJ4TWK2F90"),
|
|
1295
1295
|
path: z.string(),
|
|
1296
1296
|
key: z.string(),
|
|
1297
1297
|
display_name: z.string().optional(),
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-07-
|
|
143
|
+
"2026-07-07T16:09:53.587Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-07-
|
|
188
|
+
"2026-07-07T16:09:53.587Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-07-
|
|
144
|
+
"2026-07-07T16:09:53.587Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-07-
|
|
189
|
+
"2026-07-07T16:09:53.587Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -213,7 +213,7 @@ export type ResponseBodyJury = {
|
|
|
213
213
|
};
|
|
214
214
|
|
|
215
215
|
export type InvokeEvalResponseBodyEvalsValue = {
|
|
216
|
-
workflowRunId?: string | undefined;
|
|
216
|
+
workflowRunId?: string | null | undefined;
|
|
217
217
|
traceId?: string | undefined;
|
|
218
218
|
spanId?: string | undefined;
|
|
219
219
|
value: number | boolean | string | null;
|
|
@@ -857,7 +857,7 @@ export const InvokeEvalResponseBodyEvalsValue$inboundSchema: z.ZodType<
|
|
|
857
857
|
z.ZodTypeDef,
|
|
858
858
|
unknown
|
|
859
859
|
> = z.object({
|
|
860
|
-
workflow_run_id: z.string().optional(),
|
|
860
|
+
workflow_run_id: z.nullable(z.string()).optional(),
|
|
861
861
|
trace_id: z.string().optional(),
|
|
862
862
|
span_id: z.string().optional(),
|
|
863
863
|
value: z.nullable(z.union([z.number(), z.boolean(), z.string()])),
|
|
@@ -241,6 +241,10 @@ export type ListAgentsSettings = {
|
|
|
241
241
|
* 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.
|
|
242
242
|
*/
|
|
243
243
|
toolApprovalRequired: ListAgentsToolApprovalRequired;
|
|
244
|
+
/**
|
|
245
|
+
* When enabled, this agent is exposed as a selectable target in AI Chat for users to consume.
|
|
246
|
+
*/
|
|
247
|
+
chatExposed?: boolean | undefined;
|
|
244
248
|
tools?: Array<ListAgentsTools> | undefined;
|
|
245
249
|
/**
|
|
246
250
|
* Configuration for an evaluator applied to the agent
|
|
@@ -1574,6 +1578,7 @@ export const ListAgentsSettings$inboundSchema: z.ZodType<
|
|
|
1574
1578
|
tool_approval_required: ListAgentsToolApprovalRequired$inboundSchema.default(
|
|
1575
1579
|
"respect_tool",
|
|
1576
1580
|
),
|
|
1581
|
+
chat_exposed: z.boolean().optional(),
|
|
1577
1582
|
tools: z.array(z.lazy(() => ListAgentsTools$inboundSchema)).optional(),
|
|
1578
1583
|
evaluators: z.array(z.lazy(() => ListAgentsEvaluators$inboundSchema))
|
|
1579
1584
|
.optional(),
|
|
@@ -1585,6 +1590,7 @@ export const ListAgentsSettings$inboundSchema: z.ZodType<
|
|
|
1585
1590
|
"max_execution_time": "maxExecutionTime",
|
|
1586
1591
|
"max_cost": "maxCost",
|
|
1587
1592
|
"tool_approval_required": "toolApprovalRequired",
|
|
1593
|
+
"chat_exposed": "chatExposed",
|
|
1588
1594
|
});
|
|
1589
1595
|
});
|
|
1590
1596
|
|
|
@@ -1522,7 +1522,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1522
1522
|
explanation: z.string().optional(),
|
|
1523
1523
|
reviewed_by_id: z.string(),
|
|
1524
1524
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1525
|
-
"2026-07-
|
|
1525
|
+
"2026-07-07T16:10:19.098Z",
|
|
1526
1526
|
).transform(v => new Date(v)),
|
|
1527
1527
|
type: z.literal("string_array"),
|
|
1528
1528
|
values: z.array(z.string()),
|
|
@@ -1626,7 +1626,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1626
1626
|
explanation: z.string().optional(),
|
|
1627
1627
|
reviewed_by_id: z.string(),
|
|
1628
1628
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1629
|
-
"2026-07-
|
|
1629
|
+
"2026-07-07T16:10:19.097Z",
|
|
1630
1630
|
).transform(v => new Date(v)),
|
|
1631
1631
|
type: z.literal("number"),
|
|
1632
1632
|
value: z.number(),
|
|
@@ -1726,7 +1726,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1726
1726
|
explanation: z.string().optional(),
|
|
1727
1727
|
reviewed_by_id: z.string(),
|
|
1728
1728
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1729
|
-
"2026-07-
|
|
1729
|
+
"2026-07-07T16:10:19.096Z",
|
|
1730
1730
|
).transform(v => new Date(v)),
|
|
1731
1731
|
type: z.literal("string"),
|
|
1732
1732
|
value: z.string(),
|
|
@@ -1807,7 +1807,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
1807
1807
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1808
1808
|
.optional(),
|
|
1809
1809
|
updated: z.string().datetime({ offset: true }).default(
|
|
1810
|
-
"2026-07-
|
|
1810
|
+
"2026-07-07T16:09:53.587Z",
|
|
1811
1811
|
).transform(v => new Date(v)),
|
|
1812
1812
|
}).transform((v) => {
|
|
1813
1813
|
return remap$(v, {
|
|
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
169
169
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
170
170
|
.optional(),
|
|
171
171
|
updated: z.string().datetime({ offset: true }).default(
|
|
172
|
-
"2026-07-
|
|
172
|
+
"2026-07-07T16:09:53.587Z",
|
|
173
173
|
).transform(v => new Date(v)),
|
|
174
174
|
}).transform((v) => {
|
|
175
175
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
182
182
|
z.ZodTypeDef,
|
|
183
183
|
unknown
|
|
184
184
|
> = z.object({
|
|
185
|
-
_id: z.string().default("
|
|
185
|
+
_id: z.string().default("01KWYNGDGDTP78BXAXQSVMFRZ9"),
|
|
186
186
|
display_name: z.string(),
|
|
187
187
|
description: z.nullable(z.string()).optional(),
|
|
188
188
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-07-
|
|
321
|
+
"2026-07-07T16:09:53.587Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-07-
|
|
367
|
+
"2026-07-07T16:09:53.587Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -193,7 +193,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
193
193
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
194
194
|
.default("orq"),
|
|
195
195
|
explanation: z.string().optional(),
|
|
196
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
196
|
+
reviewedAt: z.date().default(() => new Date("2026-07-07T16:10:19.291Z"))
|
|
197
197
|
.transform(v => v.toISOString()),
|
|
198
198
|
type: z.literal("string_array"),
|
|
199
199
|
values: z.array(z.string()),
|
|
@@ -247,7 +247,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
|
|
|
247
247
|
"orq",
|
|
248
248
|
),
|
|
249
249
|
explanation: z.string().optional(),
|
|
250
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
250
|
+
reviewedAt: z.date().default(() => new Date("2026-07-07T16:10:19.290Z"))
|
|
251
251
|
.transform(v => v.toISOString()),
|
|
252
252
|
type: z.literal("number"),
|
|
253
253
|
value: z.number(),
|
|
@@ -305,7 +305,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
|
|
|
305
305
|
humanReviewId: z.string().optional(),
|
|
306
306
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
307
307
|
explanation: z.string().optional(),
|
|
308
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
308
|
+
reviewedAt: z.date().default(() => new Date("2026-07-07T16:10:19.289Z"))
|
|
309
309
|
.transform(v => v.toISOString()),
|
|
310
310
|
type: z.literal("string"),
|
|
311
311
|
value: z.string(),
|
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-07-
|
|
274
|
+
"2026-07-07T16:09:53.587Z",
|
|
275
275
|
).transform(v => new Date(v)),
|
|
276
276
|
filter_type: z.literal("name"),
|
|
277
277
|
filter_value: z.string(),
|
|
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
316
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
317
|
.optional(),
|
|
318
318
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-07-
|
|
319
|
+
"2026-07-07T16:09:53.587Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -223,6 +223,10 @@ export type RetrieveAgentRequestSettings = {
|
|
|
223
223
|
* 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.
|
|
224
224
|
*/
|
|
225
225
|
toolApprovalRequired: RetrieveAgentRequestToolApprovalRequired;
|
|
226
|
+
/**
|
|
227
|
+
* When enabled, this agent is exposed as a selectable target in AI Chat for users to consume.
|
|
228
|
+
*/
|
|
229
|
+
chatExposed?: boolean | undefined;
|
|
226
230
|
tools?: Array<RetrieveAgentRequestTools> | undefined;
|
|
227
231
|
/**
|
|
228
232
|
* Configuration for an evaluator applied to the agent
|
|
@@ -1559,6 +1563,7 @@ export const RetrieveAgentRequestSettings$inboundSchema: z.ZodType<
|
|
|
1559
1563
|
max_cost: z.number().default(0),
|
|
1560
1564
|
tool_approval_required: RetrieveAgentRequestToolApprovalRequired$inboundSchema
|
|
1561
1565
|
.default("respect_tool"),
|
|
1566
|
+
chat_exposed: z.boolean().optional(),
|
|
1562
1567
|
tools: z.array(z.lazy(() => RetrieveAgentRequestTools$inboundSchema))
|
|
1563
1568
|
.optional(),
|
|
1564
1569
|
evaluators: z.array(
|
|
@@ -1573,6 +1578,7 @@ export const RetrieveAgentRequestSettings$inboundSchema: z.ZodType<
|
|
|
1573
1578
|
"max_execution_time": "maxExecutionTime",
|
|
1574
1579
|
"max_cost": "maxCost",
|
|
1575
1580
|
"tool_approval_required": "toolApprovalRequired",
|
|
1581
|
+
"chat_exposed": "chatExposed",
|
|
1576
1582
|
});
|
|
1577
1583
|
});
|
|
1578
1584
|
|
|
@@ -1456,7 +1456,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1456
1456
|
explanation: z.string().optional(),
|
|
1457
1457
|
reviewed_by_id: z.string(),
|
|
1458
1458
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1459
|
-
"2026-07-
|
|
1459
|
+
"2026-07-07T16:10:19.108Z",
|
|
1460
1460
|
).transform(v => new Date(v)),
|
|
1461
1461
|
type: z.literal("string_array"),
|
|
1462
1462
|
values: z.array(z.string()),
|
|
@@ -1554,7 +1554,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1554
1554
|
explanation: z.string().optional(),
|
|
1555
1555
|
reviewed_by_id: z.string(),
|
|
1556
1556
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1557
|
-
"2026-07-
|
|
1557
|
+
"2026-07-07T16:10:19.107Z",
|
|
1558
1558
|
).transform(v => new Date(v)),
|
|
1559
1559
|
type: z.literal("number"),
|
|
1560
1560
|
value: z.number(),
|
|
@@ -1642,7 +1642,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1642
1642
|
explanation: z.string().optional(),
|
|
1643
1643
|
reviewed_by_id: z.string(),
|
|
1644
1644
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1645
|
-
"2026-07-
|
|
1645
|
+
"2026-07-07T16:10:19.106Z",
|
|
1646
1646
|
).transform(v => new Date(v)),
|
|
1647
1647
|
type: z.literal("string"),
|
|
1648
1648
|
value: z.string(),
|
|
@@ -1721,7 +1721,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1721
1721
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1722
1722
|
.optional(),
|
|
1723
1723
|
updated: z.string().datetime({ offset: true }).default(
|
|
1724
|
-
"2026-07-
|
|
1724
|
+
"2026-07-07T16:09:53.587Z",
|
|
1725
1725
|
).transform(v => new Date(v)),
|
|
1726
1726
|
}).transform((v) => {
|
|
1727
1727
|
return remap$(v, {
|
|
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
126
126
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
127
127
|
.optional(),
|
|
128
128
|
updated: z.string().datetime({ offset: true }).default(
|
|
129
|
-
"2026-07-
|
|
129
|
+
"2026-07-07T16:09:53.587Z",
|
|
130
130
|
).transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -118,7 +118,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
118
118
|
z.ZodTypeDef,
|
|
119
119
|
unknown
|
|
120
120
|
> = z.object({
|
|
121
|
-
_id: z.string().default("
|
|
121
|
+
_id: z.string().default("01KWYNGDGG4C3K08VT9W76VTB2"),
|
|
122
122
|
display_name: z.string(),
|
|
123
123
|
description: z.nullable(z.string()).optional(),
|
|
124
124
|
status: RetrieveDatasourceStatus$inboundSchema,
|