@orq-ai/node 4.8.8 → 4.8.9
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.js +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.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- 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/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- 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/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/updatetool.js +7 -7
- package/package.json +3 -3
- package/packages/orq-rc/src/funcs/projectsCreate.ts +162 -0
- package/packages/orq-rc/src/funcs/projectsDelete.ts +165 -0
- package/packages/orq-rc/src/funcs/projectsGet.ts +168 -0
- package/packages/orq-rc/src/funcs/projectsList.ts +170 -0
- package/packages/orq-rc/src/funcs/projectsUpdate.ts +171 -0
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/createprojectrequest.ts +34 -0
- package/packages/orq-rc/src/models/components/createprojectresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/deleteprojectresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/getprojectresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/index.ts +8 -0
- package/packages/orq-rc/src/models/components/listprojectsresponse.ts +41 -0
- package/packages/orq-rc/src/models/components/project.ts +64 -0
- package/packages/orq-rc/src/models/components/publicschedule.ts +0 -3
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/updateprojectrequest.ts +42 -0
- package/packages/orq-rc/src/models/components/updateprojectresponse.ts +32 -0
- package/packages/orq-rc/src/models/operations/createagentschedule.ts +0 -3
- package/packages/orq-rc/src/models/operations/createcontact.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +4 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/projectdelete.ts +36 -0
- package/packages/orq-rc/src/models/operations/projectget.ts +36 -0
- package/packages/orq-rc/src/models/operations/projectlist.ts +43 -0
- package/packages/orq-rc/src/models/operations/projectupdate.ts +41 -0
- package/packages/orq-rc/src/models/operations/retrieveagentschedule.ts +0 -3
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrieveidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateagentschedule.ts +0 -3
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/projects.ts +97 -0
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- 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 +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -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/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- 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/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/updatetool.ts +7 -7
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import { Project, Project$inboundSchema } from "./project.js";
|
|
11
|
+
|
|
12
|
+
export type ListProjectsResponse = {
|
|
13
|
+
object?: string | undefined;
|
|
14
|
+
data?: Array<Project> | undefined;
|
|
15
|
+
hasMore?: boolean | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const ListProjectsResponse$inboundSchema: z.ZodType<
|
|
20
|
+
ListProjectsResponse,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
object: z.string().optional(),
|
|
25
|
+
data: z.array(Project$inboundSchema).optional(),
|
|
26
|
+
has_more: z.boolean().optional(),
|
|
27
|
+
}).transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
"has_more": "hasMore",
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export function listProjectsResponseFromJSON(
|
|
34
|
+
jsonString: string,
|
|
35
|
+
): SafeParseResult<ListProjectsResponse, SDKValidationError> {
|
|
36
|
+
return safeParse(
|
|
37
|
+
jsonString,
|
|
38
|
+
(x) => ListProjectsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
39
|
+
`Failed to parse 'ListProjectsResponse' from JSON`,
|
|
40
|
+
);
|
|
41
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type Project = {
|
|
12
|
+
projectId?: string | undefined;
|
|
13
|
+
name?: string | undefined;
|
|
14
|
+
key?: string | undefined;
|
|
15
|
+
workspaceId?: string | undefined;
|
|
16
|
+
isArchived?: boolean | undefined;
|
|
17
|
+
isDefault?: boolean | undefined;
|
|
18
|
+
teams?: Array<string> | undefined;
|
|
19
|
+
createdAt?: Date | undefined;
|
|
20
|
+
updatedAt?: Date | undefined;
|
|
21
|
+
createdById?: string | undefined;
|
|
22
|
+
updatedById?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const Project$inboundSchema: z.ZodType<Project, z.ZodTypeDef, unknown> =
|
|
27
|
+
z.object({
|
|
28
|
+
project_id: z.string().optional(),
|
|
29
|
+
name: z.string().optional(),
|
|
30
|
+
key: z.string().optional(),
|
|
31
|
+
workspace_id: z.string().optional(),
|
|
32
|
+
is_archived: z.boolean().optional(),
|
|
33
|
+
is_default: z.boolean().optional(),
|
|
34
|
+
teams: z.array(z.string()).optional(),
|
|
35
|
+
created_at: z.string().datetime({ offset: true }).transform(v =>
|
|
36
|
+
new Date(v)
|
|
37
|
+
).optional(),
|
|
38
|
+
updated_at: z.string().datetime({ offset: true }).transform(v =>
|
|
39
|
+
new Date(v)
|
|
40
|
+
).optional(),
|
|
41
|
+
created_by_id: z.string().optional(),
|
|
42
|
+
updated_by_id: z.string().optional(),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return remap$(v, {
|
|
45
|
+
"project_id": "projectId",
|
|
46
|
+
"workspace_id": "workspaceId",
|
|
47
|
+
"is_archived": "isArchived",
|
|
48
|
+
"is_default": "isDefault",
|
|
49
|
+
"created_at": "createdAt",
|
|
50
|
+
"updated_at": "updatedAt",
|
|
51
|
+
"created_by_id": "createdById",
|
|
52
|
+
"updated_by_id": "updatedById",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function projectFromJSON(
|
|
57
|
+
jsonString: string,
|
|
58
|
+
): SafeParseResult<Project, SDKValidationError> {
|
|
59
|
+
return safeParse(
|
|
60
|
+
jsonString,
|
|
61
|
+
(x) => Project$inboundSchema.parse(JSON.parse(x)),
|
|
62
|
+
`Failed to parse 'Project' from JSON`,
|
|
63
|
+
);
|
|
64
|
+
}
|
|
@@ -67,7 +67,6 @@ export type PublicSchedule = {
|
|
|
67
67
|
*/
|
|
68
68
|
type: PublicScheduleType;
|
|
69
69
|
updated: Date;
|
|
70
|
-
workspaceId: string;
|
|
71
70
|
};
|
|
72
71
|
|
|
73
72
|
/** @internal */
|
|
@@ -96,7 +95,6 @@ export const PublicSchedule$inboundSchema: z.ZodType<
|
|
|
96
95
|
trigger_count: z.number().int(),
|
|
97
96
|
type: PublicScheduleType$inboundSchema,
|
|
98
97
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
99
|
-
workspace_id: z.string(),
|
|
100
98
|
}).transform((v) => {
|
|
101
99
|
return remap$(v, {
|
|
102
100
|
"_id": "id",
|
|
@@ -106,7 +104,6 @@ export const PublicSchedule$inboundSchema: z.ZodType<
|
|
|
106
104
|
"is_active": "isActive",
|
|
107
105
|
"last_triggered_at": "lastTriggeredAt",
|
|
108
106
|
"trigger_count": "triggerCount",
|
|
109
|
-
"workspace_id": "workspaceId",
|
|
110
107
|
});
|
|
111
108
|
});
|
|
112
109
|
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01kqvkdbt4ed7ppzf0332f0h0p"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -0,0 +1,42 @@
|
|
|
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 UpdateProjectRequest = {
|
|
9
|
+
projectId?: string | undefined;
|
|
10
|
+
name?: string | undefined;
|
|
11
|
+
teams?: Array<string> | undefined;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type UpdateProjectRequest$Outbound = {
|
|
16
|
+
project_id?: string | undefined;
|
|
17
|
+
name?: string | undefined;
|
|
18
|
+
teams?: Array<string> | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const UpdateProjectRequest$outboundSchema: z.ZodType<
|
|
23
|
+
UpdateProjectRequest$Outbound,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
UpdateProjectRequest
|
|
26
|
+
> = z.object({
|
|
27
|
+
projectId: z.string().optional(),
|
|
28
|
+
name: z.string().optional(),
|
|
29
|
+
teams: z.array(z.string()).optional(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
projectId: "project_id",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function updateProjectRequestToJSON(
|
|
37
|
+
updateProjectRequest: UpdateProjectRequest,
|
|
38
|
+
): string {
|
|
39
|
+
return JSON.stringify(
|
|
40
|
+
UpdateProjectRequest$outboundSchema.parse(updateProjectRequest),
|
|
41
|
+
);
|
|
42
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { Project, Project$inboundSchema } from "./project.js";
|
|
10
|
+
|
|
11
|
+
export type UpdateProjectResponse = {
|
|
12
|
+
project?: Project | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const UpdateProjectResponse$inboundSchema: z.ZodType<
|
|
17
|
+
UpdateProjectResponse,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
project: Project$inboundSchema.optional(),
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export function updateProjectResponseFromJSON(
|
|
25
|
+
jsonString: string,
|
|
26
|
+
): SafeParseResult<UpdateProjectResponse, SDKValidationError> {
|
|
27
|
+
return safeParse(
|
|
28
|
+
jsonString,
|
|
29
|
+
(x) => UpdateProjectResponse$inboundSchema.parse(JSON.parse(x)),
|
|
30
|
+
`Failed to parse 'UpdateProjectResponse' from JSON`,
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -108,7 +108,6 @@ export type CreateAgentScheduleResponseBody = {
|
|
|
108
108
|
*/
|
|
109
109
|
type: CreateAgentScheduleSchedulesType;
|
|
110
110
|
updated: Date;
|
|
111
|
-
workspaceId: string;
|
|
112
111
|
};
|
|
113
112
|
|
|
114
113
|
/** @internal */
|
|
@@ -205,7 +204,6 @@ export const CreateAgentScheduleResponseBody$inboundSchema: z.ZodType<
|
|
|
205
204
|
trigger_count: z.number().int(),
|
|
206
205
|
type: CreateAgentScheduleSchedulesType$inboundSchema,
|
|
207
206
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
208
|
-
workspace_id: z.string(),
|
|
209
207
|
}).transform((v) => {
|
|
210
208
|
return remap$(v, {
|
|
211
209
|
"_id": "id",
|
|
@@ -215,7 +213,6 @@ export const CreateAgentScheduleResponseBody$inboundSchema: z.ZodType<
|
|
|
215
213
|
"is_active": "isActive",
|
|
216
214
|
"last_triggered_at": "lastTriggeredAt",
|
|
217
215
|
"trigger_count": "triggerCount",
|
|
218
|
-
"workspace_id": "workspaceId",
|
|
219
216
|
});
|
|
220
217
|
});
|
|
221
218
|
|
|
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
134
134
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
135
135
|
.optional(),
|
|
136
136
|
updated: z.string().datetime({ offset: true }).default(
|
|
137
|
-
"2026-05-
|
|
137
|
+
"2026-05-05T08:17:15.795Z",
|
|
138
138
|
).transform(v => new Date(v)),
|
|
139
139
|
}).transform((v) => {
|
|
140
140
|
return remap$(v, {
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-05-
|
|
141
|
+
"2026-05-05T08:17:15.795Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2355
2355
|
),
|
|
2356
2356
|
reviewed_by_id: z.string(),
|
|
2357
2357
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2358
|
-
"2026-05-
|
|
2358
|
+
"2026-05-05T08:17:30.502Z",
|
|
2359
2359
|
).transform(v => new Date(v)),
|
|
2360
2360
|
type: z.literal("string_array"),
|
|
2361
2361
|
values: z.array(z.string()),
|
|
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2400
2400
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2401
2401
|
reviewed_by_id: z.string(),
|
|
2402
2402
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2403
|
-
"2026-05-
|
|
2403
|
+
"2026-05-05T08:17:30.501Z",
|
|
2404
2404
|
).transform(v => new Date(v)),
|
|
2405
2405
|
type: z.literal("number"),
|
|
2406
2406
|
value: z.number(),
|
|
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2446
2446
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2447
2447
|
reviewed_by_id: z.string(),
|
|
2448
2448
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2449
|
-
"2026-05-
|
|
2449
|
+
"2026-05-05T08:17:30.500Z",
|
|
2450
2450
|
).transform(v => new Date(v)),
|
|
2451
2451
|
type: z.literal("string"),
|
|
2452
2452
|
value: z.string(),
|
|
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2529
2529
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2530
2530
|
.optional(),
|
|
2531
2531
|
updated: z.string().datetime({ offset: true }).default(
|
|
2532
|
-
"2026-05-
|
|
2532
|
+
"2026-05-05T08:17:15.795Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
403
403
|
z.ZodTypeDef,
|
|
404
404
|
unknown
|
|
405
405
|
> = z.object({
|
|
406
|
-
_id: z.string().default("
|
|
406
|
+
_id: z.string().default("01KQVKDCM3KW2AMV6KFQ40XR37"),
|
|
407
407
|
display_name: z.string(),
|
|
408
408
|
description: z.string().optional(),
|
|
409
409
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2776,8 +2776,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2776
2776
|
> = z.object({
|
|
2777
2777
|
_id: z.string(),
|
|
2778
2778
|
description: z.string(),
|
|
2779
|
-
created: z.string().default("2026-05-
|
|
2780
|
-
updated: z.string().default("2026-05-
|
|
2779
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
2780
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
2781
2781
|
guardrail_config: z.nullable(
|
|
2782
2782
|
z.union([
|
|
2783
2783
|
z.lazy(() =>
|
|
@@ -2965,8 +2965,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2965
2965
|
.object({
|
|
2966
2966
|
_id: z.string(),
|
|
2967
2967
|
description: z.string(),
|
|
2968
|
-
created: z.string().default("2026-05-
|
|
2969
|
-
updated: z.string().default("2026-05-
|
|
2968
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
2969
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
2970
2970
|
guardrail_config: z.nullable(
|
|
2971
2971
|
z.union([
|
|
2972
2972
|
z.lazy(() =>
|
|
@@ -3792,8 +3792,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3792
3792
|
> = z.object({
|
|
3793
3793
|
_id: z.string(),
|
|
3794
3794
|
description: z.string(),
|
|
3795
|
-
created: z.string().default("2026-05-
|
|
3796
|
-
updated: z.string().default("2026-05-
|
|
3795
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
3796
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
3797
3797
|
guardrail_config: z.nullable(
|
|
3798
3798
|
z.union([
|
|
3799
3799
|
z.lazy(() =>
|
|
@@ -4011,8 +4011,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
4011
4011
|
> = z.object({
|
|
4012
4012
|
_id: z.string(),
|
|
4013
4013
|
description: z.string(),
|
|
4014
|
-
created: z.string().default("2026-05-
|
|
4015
|
-
updated: z.string().default("2026-05-
|
|
4014
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
4015
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
4016
4016
|
guardrail_config: z.nullable(
|
|
4017
4017
|
z.union([
|
|
4018
4018
|
z.lazy(() =>
|
|
@@ -4193,8 +4193,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
4193
4193
|
> = z.object({
|
|
4194
4194
|
_id: z.string(),
|
|
4195
4195
|
description: z.string(),
|
|
4196
|
-
created: z.string().default("2026-05-
|
|
4197
|
-
updated: z.string().default("2026-05-
|
|
4196
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
4197
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
4198
4198
|
guardrail_config: z.nullable(
|
|
4199
4199
|
z.union([
|
|
4200
4200
|
z.lazy(() =>
|
|
@@ -4370,8 +4370,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
4370
4370
|
> = z.object({
|
|
4371
4371
|
_id: z.string(),
|
|
4372
4372
|
description: z.string(),
|
|
4373
|
-
created: z.string().default("2026-05-
|
|
4374
|
-
updated: z.string().default("2026-05-
|
|
4373
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
4374
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
4375
4375
|
guardrail_config: z.nullable(
|
|
4376
4376
|
z.union([
|
|
4377
4377
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -4741,8 +4741,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
4741
4741
|
> = z.object({
|
|
4742
4742
|
_id: z.string(),
|
|
4743
4743
|
description: z.string(),
|
|
4744
|
-
created: z.string().default("2026-05-
|
|
4745
|
-
updated: z.string().default("2026-05-
|
|
4744
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
4745
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
4746
4746
|
guardrail_config: z.nullable(
|
|
4747
4747
|
z.union([
|
|
4748
4748
|
z.lazy(() =>
|
|
@@ -4957,8 +4957,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4957
4957
|
> = z.object({
|
|
4958
4958
|
_id: z.string(),
|
|
4959
4959
|
description: z.string(),
|
|
4960
|
-
created: z.string().default("2026-05-
|
|
4961
|
-
updated: z.string().default("2026-05-
|
|
4960
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
4961
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
4962
4962
|
guardrail_config: z.nullable(
|
|
4963
4963
|
z.union([
|
|
4964
4964
|
z.lazy(() =>
|
|
@@ -139,7 +139,7 @@ export const CreateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
139
139
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
140
140
|
.optional(),
|
|
141
141
|
updated: z.string().datetime({ offset: true }).default(
|
|
142
|
-
"2026-05-
|
|
142
|
+
"2026-05-05T08:17:15.795Z",
|
|
143
143
|
).transform(v => new Date(v)),
|
|
144
144
|
}).transform((v) => {
|
|
145
145
|
return remap$(v, {
|
|
@@ -1902,7 +1902,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1902
1902
|
z.ZodTypeDef,
|
|
1903
1903
|
unknown
|
|
1904
1904
|
> = z.object({
|
|
1905
|
-
_id: z.string().default("
|
|
1905
|
+
_id: z.string().default("tool_01KQVKDC95SD2EPG2SEM42AGCX"),
|
|
1906
1906
|
path: z.string(),
|
|
1907
1907
|
key: z.string(),
|
|
1908
1908
|
display_name: z.string().optional(),
|
|
@@ -1999,7 +1999,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1999
1999
|
z.ZodTypeDef,
|
|
2000
2000
|
unknown
|
|
2001
2001
|
> = z.object({
|
|
2002
|
-
id: z.string().default("
|
|
2002
|
+
id: z.string().default("01KQVKDC94926D4EA20P3BYWB9"),
|
|
2003
2003
|
name: z.string(),
|
|
2004
2004
|
description: z.string().optional(),
|
|
2005
2005
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2055,7 +2055,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2055
2055
|
z.ZodTypeDef,
|
|
2056
2056
|
unknown
|
|
2057
2057
|
> = z.object({
|
|
2058
|
-
_id: z.string().default("
|
|
2058
|
+
_id: z.string().default("tool_01KQVKDC938SHPJC0N5PJA5DX5"),
|
|
2059
2059
|
path: z.string(),
|
|
2060
2060
|
key: z.string(),
|
|
2061
2061
|
display_name: z.string().optional(),
|
|
@@ -2241,7 +2241,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2241
2241
|
z.ZodTypeDef,
|
|
2242
2242
|
unknown
|
|
2243
2243
|
> = z.object({
|
|
2244
|
-
_id: z.string().default("
|
|
2244
|
+
_id: z.string().default("tool_01KQVKDC8V0VYR6BV38X5C475Y"),
|
|
2245
2245
|
path: z.string(),
|
|
2246
2246
|
key: z.string(),
|
|
2247
2247
|
display_name: z.string().optional(),
|
|
@@ -2334,7 +2334,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2334
2334
|
z.ZodTypeDef,
|
|
2335
2335
|
unknown
|
|
2336
2336
|
> = z.object({
|
|
2337
|
-
_id: z.string().default("
|
|
2337
|
+
_id: z.string().default("tool_01KQVKDC8TYAGQY74Z1KCCPSXS"),
|
|
2338
2338
|
path: z.string(),
|
|
2339
2339
|
key: z.string(),
|
|
2340
2340
|
display_name: z.string().optional(),
|
|
@@ -2435,7 +2435,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2435
2435
|
z.ZodTypeDef,
|
|
2436
2436
|
unknown
|
|
2437
2437
|
> = z.object({
|
|
2438
|
-
_id: z.string().default("
|
|
2438
|
+
_id: z.string().default("tool_01KQVKDC8RKKN35NHYPHBWE374"),
|
|
2439
2439
|
path: z.string(),
|
|
2440
2440
|
key: z.string(),
|
|
2441
2441
|
display_name: z.string().optional(),
|
|
@@ -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_01KQVKDC8F3DHBTANXPK8VAJAV"),
|
|
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("01KQVKDC8EC4B6BPF9WYJ19RG0"),
|
|
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_01KQVKDC8DX85HHNCPM4J32N7C"),
|
|
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_01KQVKDC8BBVGS78S79YCM08P3"),
|
|
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_01KQVKDC89HNZAAMQ359ZZYD43"),
|
|
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_01KQVKDC882YD80EG2EPM6KFVB"),
|
|
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-05-
|
|
1044
|
-
updated: z.string().default("2026-05-
|
|
1043
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
1044
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
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-05-
|
|
1224
|
-
updated: z.string().default("2026-05-
|
|
1223
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
1224
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
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-05-
|
|
2054
|
-
updated: z.string().default("2026-05-
|
|
2053
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
2054
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
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-05-
|
|
2236
|
-
updated: z.string().default("2026-05-
|
|
2235
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
2236
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
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-05-
|
|
2414
|
-
updated: z.string().default("2026-05-
|
|
2413
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
2414
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
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-05-
|
|
2604
|
-
updated: z.string().default("2026-05-
|
|
2603
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
2604
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
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-05-
|
|
2970
|
-
updated: z.string().default("2026-05-
|
|
2969
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
2970
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
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-05-
|
|
3179
|
-
updated: z.string().default("2026-05-
|
|
3178
|
+
created: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
3179
|
+
updated: z.string().default("2026-05-05T08:17:17.883Z"),
|
|
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-05-
|
|
143
|
+
"2026-05-05T08:17:15.795Z",
|
|
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-05-
|
|
188
|
+
"2026-05-05T08:17:15.795Z",
|
|
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-05-
|
|
144
|
+
"2026-05-05T08:17:15.795Z",
|
|
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-05-
|
|
189
|
+
"2026-05-05T08:17:15.795Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -109,6 +109,10 @@ export * from "./postv2feedbackevaluationremove.js";
|
|
|
109
109
|
export * from "./postv2feedbackremove.js";
|
|
110
110
|
export * from "./postv2humanevalsets.js";
|
|
111
111
|
export * from "./postv2routerocr.js";
|
|
112
|
+
export * from "./projectdelete.js";
|
|
113
|
+
export * from "./projectget.js";
|
|
114
|
+
export * from "./projectlist.js";
|
|
115
|
+
export * from "./projectupdate.js";
|
|
112
116
|
export * from "./remoteconfigsgetconfig.js";
|
|
113
117
|
export * from "./retrieveagentrequest.js";
|
|
114
118
|
export * from "./retrieveagentschedule.js";
|