@orq-ai/node 4.9.0-rc.9 → 4.10.0-rc.0
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/FUNCTIONS.md +2 -2
- package/README.md +60 -52
- package/funcs/projectsCreate.d.ts +17 -0
- package/funcs/projectsCreate.d.ts.map +1 -0
- package/funcs/{routerResponsesCreate.js → projectsCreate.js} +11 -18
- package/funcs/projectsCreate.js.map +1 -0
- package/funcs/projectsDelete.d.ts +15 -0
- package/funcs/projectsDelete.d.ts.map +1 -0
- package/funcs/projectsDelete.js +118 -0
- package/funcs/projectsDelete.js.map +1 -0
- package/funcs/projectsGet.d.ts +18 -0
- package/funcs/projectsGet.d.ts.map +1 -0
- package/funcs/projectsGet.js +121 -0
- package/funcs/projectsGet.js.map +1 -0
- package/funcs/{routerResponsesCreate.d.ts → projectsList.d.ts} +5 -10
- package/funcs/projectsList.d.ts.map +1 -0
- package/funcs/projectsList.js +121 -0
- package/funcs/projectsList.js.map +1 -0
- package/funcs/projectsUpdate.d.ts +18 -0
- package/funcs/projectsUpdate.d.ts.map +1 -0
- package/funcs/projectsUpdate.js +124 -0
- package/funcs/projectsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/langchain/async-handler.d.mts.map +1 -1
- package/langchain/async-handler.mjs +10 -2
- package/langchain/async-handler.mjs.map +1 -1
- package/langchain/handler.d.mts.map +1 -1
- package/langchain/handler.mjs +10 -2
- package/langchain/handler.mjs.map +1 -1
- package/langchain/utils.d.mts.map +1 -1
- package/langchain/utils.mjs +17 -0
- package/langchain/utils.mjs.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/createprojectrequest.d.ts +14 -0
- package/models/components/createprojectrequest.d.ts.map +1 -0
- package/models/components/createprojectrequest.js +50 -0
- package/models/components/createprojectrequest.js.map +1 -0
- package/models/components/createprojectresponse.d.ts +11 -0
- package/models/components/createprojectresponse.d.ts.map +1 -0
- package/models/components/createprojectresponse.js +51 -0
- package/models/components/createprojectresponse.js.map +1 -0
- package/models/components/createskillrequest.d.ts +0 -2
- package/models/components/createskillrequest.d.ts.map +1 -1
- package/models/components/createskillrequest.js +0 -1
- package/models/components/createskillrequest.js.map +1 -1
- package/models/components/deleteprojectresponse.d.ts +8 -0
- package/models/components/deleteprojectresponse.d.ts.map +1 -0
- package/models/components/deleteprojectresponse.js +48 -0
- package/models/components/deleteprojectresponse.js.map +1 -0
- package/models/components/getprojectresponse.d.ts +11 -0
- package/models/components/getprojectresponse.d.ts.map +1 -0
- package/models/components/getprojectresponse.js +51 -0
- package/models/components/getprojectresponse.js.map +1 -0
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/listprojectsresponse.d.ts +13 -0
- package/models/components/listprojectsresponse.d.ts.map +1 -0
- package/models/components/listprojectsresponse.js +58 -0
- package/models/components/listprojectsresponse.js.map +1 -0
- package/models/components/project.d.ts +20 -0
- package/models/components/project.d.ts.map +1 -0
- package/models/components/project.js +72 -0
- package/models/components/project.js.map +1 -0
- package/models/components/publicschedule.d.ts +0 -1
- package/models/components/publicschedule.d.ts.map +1 -1
- package/models/components/publicschedule.js +0 -2
- package/models/components/publicschedule.js.map +1 -1
- package/models/components/publicusage.d.ts +12 -0
- package/models/components/publicusage.d.ts.map +1 -1
- package/models/components/publicusage.js +6 -0
- package/models/components/publicusage.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/skill.d.ts +0 -1
- package/models/components/skill.d.ts.map +1 -1
- package/models/components/skill.js +0 -1
- package/models/components/skill.js.map +1 -1
- package/models/components/thinkingconfigenabledschema.d.ts +1 -0
- package/models/components/thinkingconfigenabledschema.d.ts.map +1 -1
- package/models/components/thinkingconfigenabledschema.js +1 -0
- package/models/components/thinkingconfigenabledschema.js.map +1 -1
- package/models/components/updateprojectrequest.d.ts +16 -0
- package/models/components/updateprojectrequest.d.ts.map +1 -0
- package/models/components/updateprojectrequest.js +56 -0
- package/models/components/updateprojectrequest.js.map +1 -0
- package/models/components/updateprojectresponse.d.ts +11 -0
- package/models/components/updateprojectresponse.d.ts.map +1 -0
- package/models/components/updateprojectresponse.js +51 -0
- package/models/components/updateprojectresponse.js.map +1 -0
- package/models/components/updateskillrequest.d.ts +2 -2
- package/models/components/updateskillrequest.d.ts.map +1 -1
- package/models/components/updateskillrequest.js +2 -1
- package/models/components/updateskillrequest.js.map +1 -1
- package/models/operations/createagentschedule.d.ts +0 -1
- package/models/operations/createagentschedule.d.ts.map +1 -1
- package/models/operations/createagentschedule.js +0 -2
- package/models/operations/createagentschedule.js.map +1 -1
- package/models/operations/createcontact.js +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/createeval.d.ts +5 -5
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +24 -23
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createidentity.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 +27 -27
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +26 -29
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentgetconfig.d.ts +10 -9
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +18 -15
- package/models/operations/deploymentgetconfig.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/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/getevals.js +16 -16
- 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/index.d.ts +4 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeeval.d.ts +2 -1
- package/models/operations/invokeeval.d.ts.map +1 -1
- package/models/operations/invokeeval.js +3 -1
- package/models/operations/invokeeval.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/listidentities.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/projectdelete.d.ts +12 -0
- package/models/operations/projectdelete.d.ts.map +1 -0
- package/models/operations/projectdelete.js +54 -0
- package/models/operations/projectdelete.js.map +1 -0
- package/models/operations/projectget.d.ts +12 -0
- package/models/operations/projectget.d.ts.map +1 -0
- package/models/operations/projectget.js +54 -0
- package/models/operations/projectget.js.map +1 -0
- package/models/operations/projectlist.d.ts +16 -0
- package/models/operations/projectlist.d.ts.map +1 -0
- package/models/operations/projectlist.js +57 -0
- package/models/operations/projectlist.js.map +1 -0
- package/models/operations/projectupdate.d.ts +15 -0
- package/models/operations/projectupdate.d.ts.map +1 -0
- package/models/operations/projectupdate.js +57 -0
- package/models/operations/projectupdate.js.map +1 -0
- package/models/operations/retrieveagentschedule.d.ts +0 -1
- package/models/operations/retrieveagentschedule.d.ts.map +1 -1
- package/models/operations/retrieveagentschedule.js +0 -2
- package/models/operations/retrieveagentschedule.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/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +4 -25
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +5 -7
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updateagentschedule.d.ts +0 -1
- package/models/operations/updateagentschedule.d.ts.map +1 -1
- package/models/operations/updateagentschedule.js +0 -2
- package/models/operations/updateagentschedule.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/updateeval.js +16 -16
- package/models/operations/updateidentity.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/agents.d.ts +2 -2
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +2 -2
- package/sdk/agents.js.map +1 -1
- package/sdk/orqresponses.d.ts +13 -5
- package/sdk/orqresponses.d.ts.map +1 -1
- package/sdk/orqresponses.js +16 -6
- package/sdk/orqresponses.js.map +1 -1
- package/sdk/projects.d.ts +38 -0
- package/sdk/projects.d.ts.map +1 -0
- package/sdk/projects.js +59 -0
- package/sdk/projects.js.map +1 -0
- package/sdk/router.d.ts +0 -3
- package/sdk/router.d.ts.map +1 -1
- package/sdk/router.js +0 -4
- package/sdk/router.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/{routerResponsesCreate.ts → projectsCreate.ts} +16 -23
- package/src/funcs/projectsDelete.ts +165 -0
- package/src/funcs/projectsGet.ts +168 -0
- package/src/funcs/projectsList.ts +170 -0
- package/src/funcs/projectsUpdate.ts +171 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/createprojectrequest.ts +34 -0
- package/src/models/components/createprojectresponse.ts +32 -0
- package/src/models/components/createskillrequest.ts +0 -3
- package/src/models/components/deleteprojectresponse.ts +27 -0
- package/src/models/components/getprojectresponse.ts +32 -0
- package/src/models/components/index.ts +8 -0
- package/src/models/components/listprojectsresponse.ts +41 -0
- package/src/models/components/project.ts +64 -0
- package/src/models/components/publicschedule.ts +0 -3
- package/src/models/components/publicusage.ts +18 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/skill.ts +0 -2
- package/src/models/components/thinkingconfigenabledschema.ts +1 -0
- package/src/models/components/updateprojectrequest.ts +42 -0
- package/src/models/components/updateprojectresponse.ts +32 -0
- package/src/models/components/updateskillrequest.ts +4 -3
- package/src/models/operations/createagentschedule.ts +0 -3
- package/src/models/operations/createcontact.ts +1 -1
- 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/createeval.ts +29 -32
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createprompt.ts +1 -0
- package/src/models/operations/createrouterresponse.ts +46 -64
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +34 -48
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/getallprompts.ts +1 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- 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/index.ts +4 -1
- package/src/models/operations/invokeeval.ts +5 -2
- 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/listidentities.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/projectdelete.ts +36 -0
- package/src/models/operations/projectget.ts +36 -0
- package/src/models/operations/projectlist.ts +43 -0
- package/src/models/operations/projectupdate.ts +41 -0
- package/src/models/operations/retrieveagentschedule.ts +0 -3
- 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/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updateagent.ts +9 -31
- package/src/models/operations/updateagentschedule.ts +0 -3
- 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/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updateprompt.ts +1 -0
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/agents.ts +4 -4
- package/src/sdk/orqresponses.ts +28 -7
- package/src/sdk/projects.ts +97 -0
- package/src/sdk/router.ts +0 -6
- package/src/sdk/sdk.ts +6 -0
- package/funcs/routerResponsesCreate.d.ts.map +0 -1
- package/funcs/routerResponsesCreate.js.map +0 -1
- package/models/operations/createresponse.d.ts +0 -1990
- package/models/operations/createresponse.d.ts.map +0 -1
- package/models/operations/createresponse.js +0 -1422
- package/models/operations/createresponse.js.map +0 -1
- package/sdk/orqagentsresponses.d.ts +0 -24
- package/sdk/orqagentsresponses.d.ts.map +0 -1
- package/sdk/orqagentsresponses.js +0 -34
- package/sdk/orqagentsresponses.js.map +0 -1
- package/src/models/operations/createresponse.ts +0 -3864
- package/src/sdk/orqagentsresponses.ts +0 -53
|
@@ -1181,7 +1181,7 @@ export type DeploymentGetConfig2File = {
|
|
|
1181
1181
|
filename?: string | undefined;
|
|
1182
1182
|
};
|
|
1183
1183
|
|
|
1184
|
-
export type
|
|
1184
|
+
export type Two3 = {
|
|
1185
1185
|
/**
|
|
1186
1186
|
* The type of the content part. Always `file`.
|
|
1187
1187
|
*/
|
|
@@ -1215,24 +1215,22 @@ export type DeploymentGetConfig22 = {
|
|
|
1215
1215
|
/**
|
|
1216
1216
|
* Text content part of a prompt message
|
|
1217
1217
|
*/
|
|
1218
|
-
export type
|
|
1218
|
+
export type Two1 = {
|
|
1219
1219
|
type: "text";
|
|
1220
1220
|
text: string;
|
|
1221
1221
|
};
|
|
1222
1222
|
|
|
1223
1223
|
export type DeploymentGetConfigContentDeploymentsResponse2 =
|
|
1224
|
-
|
|
|
1224
|
+
| Two1
|
|
1225
1225
|
| DeploymentGetConfig22
|
|
1226
|
-
|
|
|
1226
|
+
| Two3;
|
|
1227
1227
|
|
|
1228
1228
|
/**
|
|
1229
1229
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
1230
1230
|
*/
|
|
1231
1231
|
export type DeploymentGetConfigContent =
|
|
1232
1232
|
| string
|
|
1233
|
-
| Array<
|
|
1234
|
-
DeploymentGetConfig21 | DeploymentGetConfig22 | DeploymentGetConfig23
|
|
1235
|
-
>;
|
|
1233
|
+
| Array<Two1 | DeploymentGetConfig22 | Two3>;
|
|
1236
1234
|
|
|
1237
1235
|
export const DeploymentGetConfigDeploymentsResponseType = {
|
|
1238
1236
|
Function: "function",
|
|
@@ -1264,12 +1262,7 @@ export type DeploymentGetConfigDeploymentsMessages = {
|
|
|
1264
1262
|
/**
|
|
1265
1263
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
1266
1264
|
*/
|
|
1267
|
-
content:
|
|
1268
|
-
| string
|
|
1269
|
-
| Array<
|
|
1270
|
-
DeploymentGetConfig21 | DeploymentGetConfig22 | DeploymentGetConfig23
|
|
1271
|
-
>
|
|
1272
|
-
| null;
|
|
1265
|
+
content: string | Array<Two1 | DeploymentGetConfig22 | Two3> | null;
|
|
1273
1266
|
toolCalls?: Array<DeploymentGetConfigToolCalls> | undefined;
|
|
1274
1267
|
toolCallId?: string | null | undefined;
|
|
1275
1268
|
};
|
|
@@ -1439,6 +1432,7 @@ export type DeploymentGetConfigVerbosity = ClosedEnum<
|
|
|
1439
1432
|
*/
|
|
1440
1433
|
export const ThinkingLevel = {
|
|
1441
1434
|
Low: "low",
|
|
1435
|
+
Medium: "medium",
|
|
1442
1436
|
High: "high",
|
|
1443
1437
|
} as const;
|
|
1444
1438
|
/**
|
|
@@ -4001,22 +3995,19 @@ export function deploymentGetConfig2FileFromJSON(
|
|
|
4001
3995
|
}
|
|
4002
3996
|
|
|
4003
3997
|
/** @internal */
|
|
4004
|
-
export const
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
type: z.literal("file"),
|
|
4010
|
-
file: z.lazy(() => DeploymentGetConfig2File$inboundSchema),
|
|
4011
|
-
});
|
|
3998
|
+
export const Two3$inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown> = z
|
|
3999
|
+
.object({
|
|
4000
|
+
type: z.literal("file"),
|
|
4001
|
+
file: z.lazy(() => DeploymentGetConfig2File$inboundSchema),
|
|
4002
|
+
});
|
|
4012
4003
|
|
|
4013
|
-
export function
|
|
4004
|
+
export function two3FromJSON(
|
|
4014
4005
|
jsonString: string,
|
|
4015
|
-
): SafeParseResult<
|
|
4006
|
+
): SafeParseResult<Two3, SDKValidationError> {
|
|
4016
4007
|
return safeParse(
|
|
4017
4008
|
jsonString,
|
|
4018
|
-
(x) =>
|
|
4019
|
-
`Failed to parse '
|
|
4009
|
+
(x) => Two3$inboundSchema.parse(JSON.parse(x)),
|
|
4010
|
+
`Failed to parse 'Two3' from JSON`,
|
|
4020
4011
|
);
|
|
4021
4012
|
}
|
|
4022
4013
|
|
|
@@ -4066,22 +4057,19 @@ export function deploymentGetConfig22FromJSON(
|
|
|
4066
4057
|
}
|
|
4067
4058
|
|
|
4068
4059
|
/** @internal */
|
|
4069
|
-
export const
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
type: z.literal("text"),
|
|
4075
|
-
text: z.string(),
|
|
4076
|
-
});
|
|
4060
|
+
export const Two1$inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown> = z
|
|
4061
|
+
.object({
|
|
4062
|
+
type: z.literal("text"),
|
|
4063
|
+
text: z.string(),
|
|
4064
|
+
});
|
|
4077
4065
|
|
|
4078
|
-
export function
|
|
4066
|
+
export function two1FromJSON(
|
|
4079
4067
|
jsonString: string,
|
|
4080
|
-
): SafeParseResult<
|
|
4068
|
+
): SafeParseResult<Two1, SDKValidationError> {
|
|
4081
4069
|
return safeParse(
|
|
4082
4070
|
jsonString,
|
|
4083
|
-
(x) =>
|
|
4084
|
-
`Failed to parse '
|
|
4071
|
+
(x) => Two1$inboundSchema.parse(JSON.parse(x)),
|
|
4072
|
+
`Failed to parse 'Two1' from JSON`,
|
|
4085
4073
|
);
|
|
4086
4074
|
}
|
|
4087
4075
|
|
|
@@ -4092,9 +4080,9 @@ export const DeploymentGetConfigContentDeploymentsResponse2$inboundSchema:
|
|
|
4092
4080
|
z.ZodTypeDef,
|
|
4093
4081
|
unknown
|
|
4094
4082
|
> = z.union([
|
|
4095
|
-
z.lazy(() =>
|
|
4083
|
+
z.lazy(() => Two1$inboundSchema),
|
|
4096
4084
|
z.lazy(() => DeploymentGetConfig22$inboundSchema),
|
|
4097
|
-
z.lazy(() =>
|
|
4085
|
+
z.lazy(() => Two3$inboundSchema),
|
|
4098
4086
|
]);
|
|
4099
4087
|
|
|
4100
4088
|
export function deploymentGetConfigContentDeploymentsResponse2FromJSON(
|
|
@@ -4121,9 +4109,9 @@ export const DeploymentGetConfigContent$inboundSchema: z.ZodType<
|
|
|
4121
4109
|
> = z.union([
|
|
4122
4110
|
z.string(),
|
|
4123
4111
|
z.array(z.union([
|
|
4124
|
-
z.lazy(() =>
|
|
4112
|
+
z.lazy(() => Two1$inboundSchema),
|
|
4125
4113
|
z.lazy(() => DeploymentGetConfig22$inboundSchema),
|
|
4126
|
-
z.lazy(() =>
|
|
4114
|
+
z.lazy(() => Two3$inboundSchema),
|
|
4127
4115
|
])),
|
|
4128
4116
|
]);
|
|
4129
4117
|
|
|
@@ -4195,13 +4183,11 @@ export const DeploymentGetConfigDeploymentsMessages$inboundSchema: z.ZodType<
|
|
|
4195
4183
|
content: z.nullable(
|
|
4196
4184
|
z.union([
|
|
4197
4185
|
z.string(),
|
|
4198
|
-
z.array(
|
|
4199
|
-
z.
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
]),
|
|
4204
|
-
),
|
|
4186
|
+
z.array(z.union([
|
|
4187
|
+
z.lazy(() => Two1$inboundSchema),
|
|
4188
|
+
z.lazy(() => DeploymentGetConfig22$inboundSchema),
|
|
4189
|
+
z.lazy(() => Two3$inboundSchema),
|
|
4190
|
+
])),
|
|
4205
4191
|
]),
|
|
4206
4192
|
),
|
|
4207
4193
|
tool_calls: z.array(z.lazy(() => DeploymentGetConfigToolCalls$inboundSchema))
|
|
@@ -767,7 +767,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
767
767
|
z.ZodTypeDef,
|
|
768
768
|
unknown
|
|
769
769
|
> = z.object({
|
|
770
|
-
_id: z.string().default("
|
|
770
|
+
_id: z.string().default("tool_01KRG5HGNY3DEQ96ACV0ZWC80R"),
|
|
771
771
|
path: z.string(),
|
|
772
772
|
key: z.string(),
|
|
773
773
|
display_name: z.string().optional(),
|
|
@@ -864,7 +864,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
864
864
|
z.ZodTypeDef,
|
|
865
865
|
unknown
|
|
866
866
|
> = z.object({
|
|
867
|
-
id: z.string().default("
|
|
867
|
+
id: z.string().default("01KRG5HGNXWWFCWD1SG7GMJBWX"),
|
|
868
868
|
name: z.string(),
|
|
869
869
|
description: z.string().optional(),
|
|
870
870
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KRG5HGNWQD9CHJ30RDSXTWA6"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1102,7 +1102,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1102
1102
|
z.ZodTypeDef,
|
|
1103
1103
|
unknown
|
|
1104
1104
|
> = z.object({
|
|
1105
|
-
_id: z.string().default("
|
|
1105
|
+
_id: z.string().default("tool_01KRG5HGNV20S48MRNZP5DP1FX"),
|
|
1106
1106
|
path: z.string(),
|
|
1107
1107
|
key: z.string(),
|
|
1108
1108
|
display_name: z.string().optional(),
|
|
@@ -1195,7 +1195,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1195
1195
|
z.ZodTypeDef,
|
|
1196
1196
|
unknown
|
|
1197
1197
|
> = z.object({
|
|
1198
|
-
_id: z.string().default("
|
|
1198
|
+
_id: z.string().default("tool_01KRG5HGNTSM1G347AJV7FM0JM"),
|
|
1199
1199
|
path: z.string(),
|
|
1200
1200
|
key: z.string(),
|
|
1201
1201
|
display_name: z.string().optional(),
|
|
@@ -1297,7 +1297,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1297
1297
|
z.ZodTypeDef,
|
|
1298
1298
|
unknown
|
|
1299
1299
|
> = z.object({
|
|
1300
|
-
_id: z.string().default("
|
|
1300
|
+
_id: z.string().default("tool_01KRG5HGNRPZVN8173KVEKDRA0"),
|
|
1301
1301
|
path: z.string(),
|
|
1302
1302
|
key: z.string(),
|
|
1303
1303
|
display_name: z.string().optional(),
|
|
@@ -1040,8 +1040,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1040
1040
|
> = z.object({
|
|
1041
1041
|
_id: z.string(),
|
|
1042
1042
|
description: z.string(),
|
|
1043
|
-
created: z.string().default("2026-
|
|
1044
|
-
updated: z.string().default("2026-
|
|
1043
|
+
created: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
1044
|
+
updated: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
1045
1045
|
guardrail_config: z.nullable(
|
|
1046
1046
|
z.union([
|
|
1047
1047
|
z.lazy(() =>
|
|
@@ -1220,8 +1220,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
1220
1220
|
> = z.object({
|
|
1221
1221
|
_id: z.string(),
|
|
1222
1222
|
description: z.string(),
|
|
1223
|
-
created: z.string().default("2026-
|
|
1224
|
-
updated: z.string().default("2026-
|
|
1223
|
+
created: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
1224
|
+
updated: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
1225
1225
|
guardrail_config: z.nullable(
|
|
1226
1226
|
z.union([
|
|
1227
1227
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -2050,8 +2050,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
2050
2050
|
> = z.object({
|
|
2051
2051
|
_id: z.string(),
|
|
2052
2052
|
description: z.string(),
|
|
2053
|
-
created: z.string().default("2026-
|
|
2054
|
-
updated: z.string().default("2026-
|
|
2053
|
+
created: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
2054
|
+
updated: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
2055
2055
|
guardrail_config: z.nullable(
|
|
2056
2056
|
z.union([
|
|
2057
2057
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -2232,8 +2232,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
2232
2232
|
> = z.object({
|
|
2233
2233
|
_id: z.string(),
|
|
2234
2234
|
description: z.string(),
|
|
2235
|
-
created: z.string().default("2026-
|
|
2236
|
-
updated: z.string().default("2026-
|
|
2235
|
+
created: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
2236
|
+
updated: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
2237
2237
|
guardrail_config: z.nullable(
|
|
2238
2238
|
z.union([
|
|
2239
2239
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
@@ -2410,8 +2410,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
2410
2410
|
> = z.object({
|
|
2411
2411
|
_id: z.string(),
|
|
2412
2412
|
description: z.string(),
|
|
2413
|
-
created: z.string().default("2026-
|
|
2414
|
-
updated: z.string().default("2026-
|
|
2413
|
+
created: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
2414
|
+
updated: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
2415
2415
|
guardrail_config: z.nullable(
|
|
2416
2416
|
z.union([
|
|
2417
2417
|
z.lazy(() =>
|
|
@@ -2600,8 +2600,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
2600
2600
|
> = z.object({
|
|
2601
2601
|
_id: z.string(),
|
|
2602
2602
|
description: z.string(),
|
|
2603
|
-
created: z.string().default("2026-
|
|
2604
|
-
updated: z.string().default("2026-
|
|
2603
|
+
created: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
2604
|
+
updated: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
2605
2605
|
guardrail_config: z.nullable(
|
|
2606
2606
|
z.union([
|
|
2607
2607
|
z.lazy(() =>
|
|
@@ -2966,8 +2966,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
|
|
|
2966
2966
|
> = z.object({
|
|
2967
2967
|
_id: z.string(),
|
|
2968
2968
|
description: z.string(),
|
|
2969
|
-
created: z.string().default("2026-
|
|
2970
|
-
updated: z.string().default("2026-
|
|
2969
|
+
created: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
2970
|
+
updated: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
2971
2971
|
guardrail_config: z.nullable(
|
|
2972
2972
|
z.union([
|
|
2973
2973
|
z.lazy(() =>
|
|
@@ -3175,8 +3175,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
|
|
|
3175
3175
|
> = z.object({
|
|
3176
3176
|
_id: z.string(),
|
|
3177
3177
|
description: z.string(),
|
|
3178
|
-
created: z.string().default("2026-
|
|
3179
|
-
updated: z.string().default("2026-
|
|
3178
|
+
created: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
3179
|
+
updated: z.string().default("2026-05-13T07:58:55.725Z"),
|
|
3180
3180
|
guardrail_config: z.nullable(
|
|
3181
3181
|
z.union([
|
|
3182
3182
|
z.lazy(() =>
|
|
@@ -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-
|
|
143
|
+
"2026-05-13T07:58:53.577Z",
|
|
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-
|
|
188
|
+
"2026-05-13T07:58:53.577Z",
|
|
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-
|
|
144
|
+
"2026-05-13T07:58:53.577Z",
|
|
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-
|
|
189
|
+
"2026-05-13T07:58:53.577Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -27,7 +27,6 @@ export * from "./creatememorystore.js";
|
|
|
27
27
|
export * from "./createmoderation.js";
|
|
28
28
|
export * from "./createprompt.js";
|
|
29
29
|
export * from "./creatererank.js";
|
|
30
|
-
export * from "./createresponse.js";
|
|
31
30
|
export * from "./createrouterresponse.js";
|
|
32
31
|
export * from "./createspeech.js";
|
|
33
32
|
export * from "./createtool.js";
|
|
@@ -109,6 +108,10 @@ export * from "./postv2feedbackevaluationremove.js";
|
|
|
109
108
|
export * from "./postv2feedbackremove.js";
|
|
110
109
|
export * from "./postv2humanevalsets.js";
|
|
111
110
|
export * from "./postv2routerocr.js";
|
|
111
|
+
export * from "./projectdelete.js";
|
|
112
|
+
export * from "./projectget.js";
|
|
113
|
+
export * from "./projectlist.js";
|
|
114
|
+
export * from "./projectupdate.js";
|
|
112
115
|
export * from "./remoteconfigsgetconfig.js";
|
|
113
116
|
export * from "./retrieveagentrequest.js";
|
|
114
117
|
export * from "./retrieveagentschedule.js";
|
|
@@ -213,7 +213,8 @@ export type ResponseBodyJury = {
|
|
|
213
213
|
};
|
|
214
214
|
|
|
215
215
|
export type InvokeEvalResponseBodyEvalsResponseValue = {
|
|
216
|
-
workflowRunId
|
|
216
|
+
workflowRunId?: string | undefined;
|
|
217
|
+
traceId?: string | undefined;
|
|
217
218
|
value: number | boolean | string | null;
|
|
218
219
|
explanation?: string | null | undefined;
|
|
219
220
|
originalValue?: number | boolean | string | null | undefined;
|
|
@@ -853,7 +854,8 @@ export const InvokeEvalResponseBodyEvalsResponseValue$inboundSchema: z.ZodType<
|
|
|
853
854
|
z.ZodTypeDef,
|
|
854
855
|
unknown
|
|
855
856
|
> = z.object({
|
|
856
|
-
workflow_run_id: z.string(),
|
|
857
|
+
workflow_run_id: z.string().optional(),
|
|
858
|
+
trace_id: z.string().optional(),
|
|
857
859
|
value: z.nullable(z.union([z.number(), z.boolean(), z.string()])),
|
|
858
860
|
explanation: z.nullable(z.string()).optional(),
|
|
859
861
|
original_value: z.nullable(z.union([z.number(), z.boolean(), z.string()]))
|
|
@@ -863,6 +865,7 @@ export const InvokeEvalResponseBodyEvalsResponseValue$inboundSchema: z.ZodType<
|
|
|
863
865
|
}).transform((v) => {
|
|
864
866
|
return remap$(v, {
|
|
865
867
|
"workflow_run_id": "workflowRunId",
|
|
868
|
+
"trace_id": "traceId",
|
|
866
869
|
"original_value": "originalValue",
|
|
867
870
|
"original_explanation": "originalExplanation",
|
|
868
871
|
});
|
|
@@ -1270,7 +1270,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1270
1270
|
),
|
|
1271
1271
|
reviewed_by_id: z.string(),
|
|
1272
1272
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1273
|
-
"2026-
|
|
1273
|
+
"2026-05-13T07:59:08.646Z",
|
|
1274
1274
|
).transform(v => new Date(v)),
|
|
1275
1275
|
type: z.literal("string_array"),
|
|
1276
1276
|
values: z.array(z.string()),
|
|
@@ -1320,7 +1320,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1320
1320
|
source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
1321
1321
|
reviewed_by_id: z.string(),
|
|
1322
1322
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1323
|
-
"2026-
|
|
1323
|
+
"2026-05-13T07:59:08.646Z",
|
|
1324
1324
|
).transform(v => new Date(v)),
|
|
1325
1325
|
type: z.literal("number"),
|
|
1326
1326
|
value: z.number(),
|
|
@@ -1369,7 +1369,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1369
1369
|
.default("orq"),
|
|
1370
1370
|
reviewed_by_id: z.string(),
|
|
1371
1371
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1372
|
-
"2026-
|
|
1372
|
+
"2026-05-13T07:59:08.646Z",
|
|
1373
1373
|
).transform(v => new Date(v)),
|
|
1374
1374
|
type: z.literal("string"),
|
|
1375
1375
|
value: z.string(),
|
|
@@ -1448,7 +1448,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
1448
1448
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1449
1449
|
.optional(),
|
|
1450
1450
|
updated: z.string().datetime({ offset: true }).default(
|
|
1451
|
-
"2026-
|
|
1451
|
+
"2026-05-13T07:58:53.577Z",
|
|
1452
1452
|
).transform(v => new Date(v)),
|
|
1453
1453
|
}).transform((v) => {
|
|
1454
1454
|
return remap$(v, {
|
|
@@ -156,7 +156,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
156
156
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
157
157
|
.optional(),
|
|
158
158
|
updated: z.string().datetime({ offset: true }).default(
|
|
159
|
-
"2026-
|
|
159
|
+
"2026-05-13T07:58:53.577Z",
|
|
160
160
|
).transform(v => new Date(v)),
|
|
161
161
|
}).transform((v) => {
|
|
162
162
|
return remap$(v, {
|
|
@@ -176,7 +176,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
176
176
|
z.ZodTypeDef,
|
|
177
177
|
unknown
|
|
178
178
|
> = z.object({
|
|
179
|
-
_id: z.string().default("
|
|
179
|
+
_id: z.string().default("01KRG5HGSRN4TMG7F7C2TQM2C2"),
|
|
180
180
|
display_name: z.string(),
|
|
181
181
|
description: z.string().optional(),
|
|
182
182
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -227,7 +227,7 @@ export const ListIdentitiesData$inboundSchema: z.ZodType<
|
|
|
227
227
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
228
228
|
.optional(),
|
|
229
229
|
updated: z.string().datetime({ offset: true }).default(
|
|
230
|
-
"2026-
|
|
230
|
+
"2026-05-13T07:58:53.577Z",
|
|
231
231
|
).transform(v => new Date(v)),
|
|
232
232
|
metrics: z.lazy(() => ListIdentitiesMetrics$inboundSchema),
|
|
233
233
|
}).transform((v) => {
|
|
@@ -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-
|
|
321
|
+
"2026-05-13T07:58:53.577Z",
|
|
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-
|
|
367
|
+
"2026-05-13T07:58:53.577Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -173,7 +173,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
173
173
|
humanReviewId: z.string(),
|
|
174
174
|
source: PostV2FeedbackEvaluationRequestBodyRequestSource$outboundSchema
|
|
175
175
|
.default("orq"),
|
|
176
|
-
reviewedAt: z.date().default(() => new Date("2026-
|
|
176
|
+
reviewedAt: z.date().default(() => new Date("2026-05-13T07:59:08.750Z"))
|
|
177
177
|
.transform(v => v.toISOString()),
|
|
178
178
|
type: z.literal("string_array"),
|
|
179
179
|
values: z.array(z.string()),
|
|
@@ -225,7 +225,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
|
|
|
225
225
|
source: PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default(
|
|
226
226
|
"orq",
|
|
227
227
|
),
|
|
228
|
-
reviewedAt: z.date().default(() => new Date("2026-
|
|
228
|
+
reviewedAt: z.date().default(() => new Date("2026-05-13T07:59:08.750Z"))
|
|
229
229
|
.transform(v => v.toISOString()),
|
|
230
230
|
type: z.literal("number"),
|
|
231
231
|
value: z.number(),
|
|
@@ -275,7 +275,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
|
|
|
275
275
|
evaluationType: EvaluationType$outboundSchema,
|
|
276
276
|
humanReviewId: z.string(),
|
|
277
277
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
278
|
-
reviewedAt: z.date().default(() => new Date("2026-
|
|
278
|
+
reviewedAt: z.date().default(() => new Date("2026-05-13T07:59:08.750Z"))
|
|
279
279
|
.transform(v => v.toISOString()),
|
|
280
280
|
type: z.literal("string"),
|
|
281
281
|
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-
|
|
274
|
+
"2026-05-13T07:58:53.577Z",
|
|
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-
|
|
319
|
+
"2026-05-13T07:58:53.577Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type ProjectDeleteRequest = {
|
|
9
|
+
projectId: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type ProjectDeleteRequest$Outbound = {
|
|
14
|
+
project_id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const ProjectDeleteRequest$outboundSchema: z.ZodType<
|
|
19
|
+
ProjectDeleteRequest$Outbound,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
ProjectDeleteRequest
|
|
22
|
+
> = z.object({
|
|
23
|
+
projectId: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
projectId: "project_id",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function projectDeleteRequestToJSON(
|
|
31
|
+
projectDeleteRequest: ProjectDeleteRequest,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
ProjectDeleteRequest$outboundSchema.parse(projectDeleteRequest),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type ProjectGetRequest = {
|
|
9
|
+
projectId: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type ProjectGetRequest$Outbound = {
|
|
14
|
+
project_id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const ProjectGetRequest$outboundSchema: z.ZodType<
|
|
19
|
+
ProjectGetRequest$Outbound,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
ProjectGetRequest
|
|
22
|
+
> = z.object({
|
|
23
|
+
projectId: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
projectId: "project_id",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function projectGetRequestToJSON(
|
|
31
|
+
projectGetRequest: ProjectGetRequest,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
ProjectGetRequest$outboundSchema.parse(projectGetRequest),
|
|
35
|
+
);
|
|
36
|
+
}
|