@dalmia/calibrate-mcp 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +140 -25
- package/bin/mcp-server.js.map +24 -20
- package/esm/funcs/agentTestsListForAgent.js +7 -1
- package/esm/funcs/agentTestsListForAgent.js.map +1 -1
- package/esm/funcs/agentTestsListRunsForAgent.js +9 -1
- package/esm/funcs/agentTestsListRunsForAgent.js.map +1 -1
- package/esm/funcs/agentsList.js +7 -1
- package/esm/funcs/agentsList.js.map +1 -1
- package/esm/funcs/annotationTasksList.js +7 -1
- package/esm/funcs/annotationTasksList.js.map +1 -1
- package/esm/funcs/evaluatorsList.js +3 -0
- package/esm/funcs/evaluatorsList.js.map +1 -1
- package/esm/funcs/testsList.js +7 -1
- package/esm/funcs/testsList.js.map +1 -1
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/getagenttestrunsagenttestsagentagentuuidrunsgetop.d.ts +32 -2
- package/esm/models/getagenttestrunsagenttestsagentagentuuidrunsgetop.d.ts.map +1 -1
- package/esm/models/getagenttestrunsagenttestsagentagentuuidrunsgetop.js +25 -2
- package/esm/models/getagenttestrunsagenttestsagentagentuuidrunsgetop.js.map +1 -1
- package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.d.ts +5 -2
- package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.d.ts.map +1 -1
- package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.js +5 -2
- package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.js.map +1 -1
- package/esm/models/listagentsagentsgetop.d.ts +5 -2
- package/esm/models/listagentsagentsgetop.d.ts.map +1 -1
- package/esm/models/listagentsagentsgetop.js +5 -2
- package/esm/models/listagentsagentsgetop.js.map +1 -1
- package/esm/models/listannotationtasksannotationtasksgetop.d.ts +5 -2
- package/esm/models/listannotationtasksannotationtasksgetop.d.ts.map +1 -1
- package/esm/models/listannotationtasksannotationtasksgetop.js +5 -2
- package/esm/models/listannotationtasksannotationtasksgetop.js.map +1 -1
- package/esm/models/listevaluatorsevaluatorsgetop.d.ts +5 -2
- package/esm/models/listevaluatorsevaluatorsgetop.d.ts.map +1 -1
- package/esm/models/listevaluatorsevaluatorsgetop.js +5 -2
- package/esm/models/listevaluatorsevaluatorsgetop.js.map +1 -1
- package/esm/models/listteststestsgetop.d.ts +5 -2
- package/esm/models/listteststestsgetop.d.ts.map +1 -1
- package/esm/models/listteststestsgetop.js +5 -2
- package/esm/models/listteststestsgetop.js.map +1 -1
- package/esm/models/paginatedresponseagentsummary.d.ts +10 -0
- package/esm/models/paginatedresponseagentsummary.d.ts.map +1 -0
- package/esm/models/paginatedresponseagentsummary.js +12 -0
- package/esm/models/paginatedresponseagentsummary.js.map +1 -0
- package/esm/models/paginatedresponseagenttestrunlistitem.d.ts +10 -0
- package/esm/models/paginatedresponseagenttestrunlistitem.d.ts.map +1 -0
- package/esm/models/paginatedresponseagenttestrunlistitem.js +12 -0
- package/esm/models/paginatedresponseagenttestrunlistitem.js.map +1 -0
- package/esm/models/paginatedresponseannotationtaskresponse.d.ts +10 -0
- package/esm/models/paginatedresponseannotationtaskresponse.d.ts.map +1 -0
- package/esm/models/paginatedresponseannotationtaskresponse.js +12 -0
- package/esm/models/paginatedresponseannotationtaskresponse.js.map +1 -0
- package/esm/models/paginatedresponseevaluatorresponse.d.ts +10 -0
- package/esm/models/paginatedresponseevaluatorresponse.d.ts.map +1 -0
- package/esm/models/paginatedresponseevaluatorresponse.js +12 -0
- package/esm/models/paginatedresponseevaluatorresponse.js.map +1 -0
- package/esm/models/paginatedresponsetestlistresponse.d.ts +10 -0
- package/esm/models/paginatedresponsetestlistresponse.d.ts.map +1 -0
- package/esm/models/paginatedresponsetestlistresponse.js +12 -0
- package/esm/models/paginatedresponsetestlistresponse.js.map +1 -0
- package/package.json +1 -1
- package/src/funcs/agentTestsListForAgent.ts +7 -1
- package/src/funcs/agentTestsListRunsForAgent.ts +9 -1
- package/src/funcs/agentsList.ts +7 -1
- package/src/funcs/annotationTasksList.ts +7 -1
- package/src/funcs/evaluatorsList.ts +3 -0
- package/src/funcs/testsList.ts +7 -1
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/getagenttestrunsagenttestsagentagentuuidrunsgetop.ts +59 -6
- package/src/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.ts +17 -5
- package/src/models/listagentsagentsgetop.ts +18 -3
- package/src/models/listannotationtasksannotationtasksgetop.ts +18 -6
- package/src/models/listevaluatorsevaluatorsgetop.ts +17 -7
- package/src/models/listteststestsgetop.ts +20 -6
- package/src/models/paginatedresponseagentsummary.ts +26 -0
- package/src/models/paginatedresponseagenttestrunlistitem.ts +31 -0
- package/src/models/paginatedresponseannotationtaskresponse.ts +31 -0
- package/src/models/paginatedresponseevaluatorresponse.ts +31 -0
- package/src/models/paginatedresponsetestlistresponse.ts +29 -0
- package/esm/models/agenttestrunsresponse.d.ts +0 -7
- package/esm/models/agenttestrunsresponse.d.ts.map +0 -1
- package/esm/models/agenttestrunsresponse.js +0 -9
- package/esm/models/agenttestrunsresponse.js.map +0 -1
- package/src/models/agenttestrunsresponse.ts +0 -18
|
@@ -3,29 +3,44 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
-
import { AgentSummary, AgentSummary$zodSchema } from "./agentsummary.js";
|
|
7
6
|
import {
|
|
8
7
|
HTTPValidationError,
|
|
9
8
|
HTTPValidationError$zodSchema,
|
|
10
9
|
} from "./httpvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
PaginatedResponseAgentSummary,
|
|
12
|
+
PaginatedResponseAgentSummary$zodSchema,
|
|
13
|
+
} from "./paginatedresponseagentsummary.js";
|
|
11
14
|
|
|
12
15
|
export type ListAgentsAgentsGetRequest = {
|
|
16
|
+
q?: string | null | undefined;
|
|
17
|
+
limit?: number | null | undefined;
|
|
18
|
+
offset?: number | undefined;
|
|
13
19
|
xAPIKey?: string | null | undefined;
|
|
14
20
|
};
|
|
15
21
|
|
|
16
22
|
export const ListAgentsAgentsGetRequest$zodSchema: z.ZodType<
|
|
17
23
|
ListAgentsAgentsGetRequest
|
|
18
24
|
> = z.object({
|
|
25
|
+
limit: z.int().describe(
|
|
26
|
+
"Maximum number of items to return. Omit for no limit (all items)",
|
|
27
|
+
).nullable().optional(),
|
|
28
|
+
offset: z.int().default(0).describe(
|
|
29
|
+
"Number of items to skip before returning results",
|
|
30
|
+
),
|
|
31
|
+
q: z.string().describe(
|
|
32
|
+
"Case-insensitive substring search on `name`. Blank is a no-op",
|
|
33
|
+
).nullable().optional(),
|
|
19
34
|
xAPIKey: z.string().nullable().optional(),
|
|
20
35
|
});
|
|
21
36
|
|
|
22
37
|
export type ListAgentsAgentsGetResponse =
|
|
23
|
-
|
|
|
38
|
+
| PaginatedResponseAgentSummary
|
|
24
39
|
| HTTPValidationError;
|
|
25
40
|
|
|
26
41
|
export const ListAgentsAgentsGetResponse$zodSchema: z.ZodType<
|
|
27
42
|
ListAgentsAgentsGetResponse
|
|
28
43
|
> = z.union([
|
|
29
|
-
|
|
44
|
+
PaginatedResponseAgentSummary$zodSchema,
|
|
30
45
|
HTTPValidationError$zodSchema,
|
|
31
46
|
]);
|
|
@@ -3,32 +3,44 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
-
import {
|
|
7
|
-
AnnotationTaskResponse,
|
|
8
|
-
AnnotationTaskResponse$zodSchema,
|
|
9
|
-
} from "./annotationtaskresponse.js";
|
|
10
6
|
import {
|
|
11
7
|
HTTPValidationError,
|
|
12
8
|
HTTPValidationError$zodSchema,
|
|
13
9
|
} from "./httpvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
PaginatedResponseAnnotationTaskResponse,
|
|
12
|
+
PaginatedResponseAnnotationTaskResponse$zodSchema,
|
|
13
|
+
} from "./paginatedresponseannotationtaskresponse.js";
|
|
14
14
|
|
|
15
15
|
export type ListAnnotationTasksAnnotationTasksGetRequest = {
|
|
16
|
+
q?: string | null | undefined;
|
|
17
|
+
limit?: number | null | undefined;
|
|
18
|
+
offset?: number | undefined;
|
|
16
19
|
xAPIKey?: string | null | undefined;
|
|
17
20
|
};
|
|
18
21
|
|
|
19
22
|
export const ListAnnotationTasksAnnotationTasksGetRequest$zodSchema: z.ZodType<
|
|
20
23
|
ListAnnotationTasksAnnotationTasksGetRequest
|
|
21
24
|
> = z.object({
|
|
25
|
+
limit: z.int().describe(
|
|
26
|
+
"Maximum number of items to return. Omit for no limit (all items)",
|
|
27
|
+
).nullable().optional(),
|
|
28
|
+
offset: z.int().default(0).describe(
|
|
29
|
+
"Number of items to skip before returning results",
|
|
30
|
+
),
|
|
31
|
+
q: z.string().describe(
|
|
32
|
+
"Case-insensitive substring search on `name`. Blank is a no-op",
|
|
33
|
+
).nullable().optional(),
|
|
22
34
|
xAPIKey: z.string().nullable().optional(),
|
|
23
35
|
});
|
|
24
36
|
|
|
25
37
|
export type ListAnnotationTasksAnnotationTasksGetResponse =
|
|
26
|
-
|
|
|
38
|
+
| PaginatedResponseAnnotationTaskResponse
|
|
27
39
|
| HTTPValidationError;
|
|
28
40
|
|
|
29
41
|
export const ListAnnotationTasksAnnotationTasksGetResponse$zodSchema: z.ZodType<
|
|
30
42
|
ListAnnotationTasksAnnotationTasksGetResponse
|
|
31
43
|
> = z.union([
|
|
32
|
-
|
|
44
|
+
PaginatedResponseAnnotationTaskResponse$zodSchema,
|
|
33
45
|
HTTPValidationError$zodSchema,
|
|
34
46
|
]);
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
HTTPValidationError$zodSchema,
|
|
10
10
|
} from "./httpvalidationerror.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
PaginatedResponseEvaluatorResponse,
|
|
13
|
+
PaginatedResponseEvaluatorResponse$zodSchema,
|
|
14
|
+
} from "./paginatedresponseevaluatorresponse.js";
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Filter by what the evaluator judges. Omit for all types
|
|
@@ -61,6 +61,9 @@ export type ListEvaluatorsEvaluatorsGetRequest = {
|
|
|
61
61
|
evaluator_type?: ListEvaluatorsEvaluatorsGetEvaluatorType | null | undefined;
|
|
62
62
|
data_type?: ListEvaluatorsEvaluatorsGetDataType | null | undefined;
|
|
63
63
|
include_defaults?: boolean | undefined;
|
|
64
|
+
q?: string | null | undefined;
|
|
65
|
+
limit?: number | null | undefined;
|
|
66
|
+
offset?: number | undefined;
|
|
64
67
|
xAPIKey?: string | null | undefined;
|
|
65
68
|
};
|
|
66
69
|
|
|
@@ -76,18 +79,25 @@ export const ListEvaluatorsEvaluatorsGetRequest$zodSchema: z.ZodType<
|
|
|
76
79
|
include_defaults: z.boolean().default(true).describe(
|
|
77
80
|
"When `true`, include the built-in default evaluators alongside the ones you created",
|
|
78
81
|
),
|
|
82
|
+
limit: z.int().describe(
|
|
83
|
+
"Maximum number of items to return. Omit for no limit (all items)",
|
|
84
|
+
).nullable().optional(),
|
|
85
|
+
offset: z.int().default(0).describe(
|
|
86
|
+
"Number of items to skip before returning results",
|
|
87
|
+
),
|
|
88
|
+
q: z.string().describe(
|
|
89
|
+
"Case-insensitive substring search on `name`. Blank is a no-op",
|
|
90
|
+
).nullable().optional(),
|
|
79
91
|
xAPIKey: z.string().nullable().optional(),
|
|
80
92
|
});
|
|
81
93
|
|
|
82
94
|
export type ListEvaluatorsEvaluatorsGetResponse =
|
|
83
|
-
|
|
|
95
|
+
| PaginatedResponseEvaluatorResponse
|
|
84
96
|
| HTTPValidationError;
|
|
85
97
|
|
|
86
98
|
export const ListEvaluatorsEvaluatorsGetResponse$zodSchema: z.ZodType<
|
|
87
99
|
ListEvaluatorsEvaluatorsGetResponse
|
|
88
100
|
> = z.union([
|
|
89
|
-
|
|
90
|
-
"Successful Response",
|
|
91
|
-
),
|
|
101
|
+
PaginatedResponseEvaluatorResponse$zodSchema,
|
|
92
102
|
HTTPValidationError$zodSchema,
|
|
93
103
|
]);
|
|
@@ -8,25 +8,39 @@ import {
|
|
|
8
8
|
HTTPValidationError$zodSchema,
|
|
9
9
|
} from "./httpvalidationerror.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
PaginatedResponseTestListResponse,
|
|
12
|
+
PaginatedResponseTestListResponse$zodSchema,
|
|
13
|
+
} from "./paginatedresponsetestlistresponse.js";
|
|
14
14
|
|
|
15
|
-
export type ListTestsTestsGetRequest = {
|
|
15
|
+
export type ListTestsTestsGetRequest = {
|
|
16
|
+
q?: string | null | undefined;
|
|
17
|
+
limit?: number | null | undefined;
|
|
18
|
+
offset?: number | undefined;
|
|
19
|
+
xAPIKey?: string | null | undefined;
|
|
20
|
+
};
|
|
16
21
|
|
|
17
22
|
export const ListTestsTestsGetRequest$zodSchema: z.ZodType<
|
|
18
23
|
ListTestsTestsGetRequest
|
|
19
24
|
> = z.object({
|
|
25
|
+
limit: z.int().describe(
|
|
26
|
+
"Maximum number of items to return. Omit for no limit (all items)",
|
|
27
|
+
).nullable().optional(),
|
|
28
|
+
offset: z.int().default(0).describe(
|
|
29
|
+
"Number of items to skip before returning results",
|
|
30
|
+
),
|
|
31
|
+
q: z.string().describe(
|
|
32
|
+
"Case-insensitive substring search on `name`. Blank is a no-op",
|
|
33
|
+
).nullable().optional(),
|
|
20
34
|
xAPIKey: z.string().nullable().optional(),
|
|
21
35
|
});
|
|
22
36
|
|
|
23
37
|
export type ListTestsTestsGetResponse =
|
|
24
|
-
|
|
|
38
|
+
| PaginatedResponseTestListResponse
|
|
25
39
|
| HTTPValidationError;
|
|
26
40
|
|
|
27
41
|
export const ListTestsTestsGetResponse$zodSchema: z.ZodType<
|
|
28
42
|
ListTestsTestsGetResponse
|
|
29
43
|
> = z.union([
|
|
30
|
-
|
|
44
|
+
PaginatedResponseTestListResponse$zodSchema,
|
|
31
45
|
HTTPValidationError$zodSchema,
|
|
32
46
|
]);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { AgentSummary, AgentSummary$zodSchema } from "./agentsummary.js";
|
|
7
|
+
|
|
8
|
+
export type PaginatedResponseAgentSummary = {
|
|
9
|
+
items: Array<AgentSummary>;
|
|
10
|
+
total: number;
|
|
11
|
+
limit?: number | null | undefined;
|
|
12
|
+
offset?: number | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const PaginatedResponseAgentSummary$zodSchema: z.ZodType<
|
|
16
|
+
PaginatedResponseAgentSummary
|
|
17
|
+
> = z.object({
|
|
18
|
+
items: z.array(AgentSummary$zodSchema).describe("The page of results"),
|
|
19
|
+
limit: z.int().nullable().optional().describe(
|
|
20
|
+
"The applied `limit` (null when unbounded)",
|
|
21
|
+
),
|
|
22
|
+
offset: z.int().default(0).describe("The applied `offset`"),
|
|
23
|
+
total: z.int().describe(
|
|
24
|
+
"Total number of items matching the query, before pagination",
|
|
25
|
+
),
|
|
26
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import {
|
|
7
|
+
AgentTestRunListItem,
|
|
8
|
+
AgentTestRunListItem$zodSchema,
|
|
9
|
+
} from "./agenttestrunlistitem.js";
|
|
10
|
+
|
|
11
|
+
export type PaginatedResponseAgentTestRunListItem = {
|
|
12
|
+
items: Array<AgentTestRunListItem>;
|
|
13
|
+
total: number;
|
|
14
|
+
limit?: number | null | undefined;
|
|
15
|
+
offset?: number | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export const PaginatedResponseAgentTestRunListItem$zodSchema: z.ZodType<
|
|
19
|
+
PaginatedResponseAgentTestRunListItem
|
|
20
|
+
> = z.object({
|
|
21
|
+
items: z.array(AgentTestRunListItem$zodSchema).describe(
|
|
22
|
+
"The page of results",
|
|
23
|
+
),
|
|
24
|
+
limit: z.int().nullable().optional().describe(
|
|
25
|
+
"The applied `limit` (null when unbounded)",
|
|
26
|
+
),
|
|
27
|
+
offset: z.int().default(0).describe("The applied `offset`"),
|
|
28
|
+
total: z.int().describe(
|
|
29
|
+
"Total number of items matching the query, before pagination",
|
|
30
|
+
),
|
|
31
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import {
|
|
7
|
+
AnnotationTaskResponse,
|
|
8
|
+
AnnotationTaskResponse$zodSchema,
|
|
9
|
+
} from "./annotationtaskresponse.js";
|
|
10
|
+
|
|
11
|
+
export type PaginatedResponseAnnotationTaskResponse = {
|
|
12
|
+
items: Array<AnnotationTaskResponse>;
|
|
13
|
+
total: number;
|
|
14
|
+
limit?: number | null | undefined;
|
|
15
|
+
offset?: number | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export const PaginatedResponseAnnotationTaskResponse$zodSchema: z.ZodType<
|
|
19
|
+
PaginatedResponseAnnotationTaskResponse
|
|
20
|
+
> = z.object({
|
|
21
|
+
items: z.array(AnnotationTaskResponse$zodSchema).describe(
|
|
22
|
+
"The page of results",
|
|
23
|
+
),
|
|
24
|
+
limit: z.int().nullable().optional().describe(
|
|
25
|
+
"The applied `limit` (null when unbounded)",
|
|
26
|
+
),
|
|
27
|
+
offset: z.int().default(0).describe("The applied `offset`"),
|
|
28
|
+
total: z.int().describe(
|
|
29
|
+
"Total number of items matching the query, before pagination",
|
|
30
|
+
),
|
|
31
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import {
|
|
7
|
+
RoutersEvaluatorsEvaluatorResponse,
|
|
8
|
+
RoutersEvaluatorsEvaluatorResponse$zodSchema,
|
|
9
|
+
} from "./routersevaluatorsevaluatorresponse.js";
|
|
10
|
+
|
|
11
|
+
export type PaginatedResponseEvaluatorResponse = {
|
|
12
|
+
items: Array<RoutersEvaluatorsEvaluatorResponse>;
|
|
13
|
+
total: number;
|
|
14
|
+
limit?: number | null | undefined;
|
|
15
|
+
offset?: number | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export const PaginatedResponseEvaluatorResponse$zodSchema: z.ZodType<
|
|
19
|
+
PaginatedResponseEvaluatorResponse
|
|
20
|
+
> = z.object({
|
|
21
|
+
items: z.array(RoutersEvaluatorsEvaluatorResponse$zodSchema).describe(
|
|
22
|
+
"The page of results",
|
|
23
|
+
),
|
|
24
|
+
limit: z.int().nullable().optional().describe(
|
|
25
|
+
"The applied `limit` (null when unbounded)",
|
|
26
|
+
),
|
|
27
|
+
offset: z.int().default(0).describe("The applied `offset`"),
|
|
28
|
+
total: z.int().describe(
|
|
29
|
+
"Total number of items matching the query, before pagination",
|
|
30
|
+
),
|
|
31
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import {
|
|
7
|
+
TestListResponse,
|
|
8
|
+
TestListResponse$zodSchema,
|
|
9
|
+
} from "./testlistresponse.js";
|
|
10
|
+
|
|
11
|
+
export type PaginatedResponseTestListResponse = {
|
|
12
|
+
items: Array<TestListResponse>;
|
|
13
|
+
total: number;
|
|
14
|
+
limit?: number | null | undefined;
|
|
15
|
+
offset?: number | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export const PaginatedResponseTestListResponse$zodSchema: z.ZodType<
|
|
19
|
+
PaginatedResponseTestListResponse
|
|
20
|
+
> = z.object({
|
|
21
|
+
items: z.array(TestListResponse$zodSchema).describe("The page of results"),
|
|
22
|
+
limit: z.int().nullable().optional().describe(
|
|
23
|
+
"The applied `limit` (null when unbounded)",
|
|
24
|
+
),
|
|
25
|
+
offset: z.int().default(0).describe("The applied `offset`"),
|
|
26
|
+
total: z.int().describe(
|
|
27
|
+
"Total number of items matching the query, before pagination",
|
|
28
|
+
),
|
|
29
|
+
});
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { AgentTestRunListItem } from "./agenttestrunlistitem.js";
|
|
3
|
-
export type AgentTestRunsResponse = {
|
|
4
|
-
runs: Array<AgentTestRunListItem>;
|
|
5
|
-
};
|
|
6
|
-
export declare const AgentTestRunsResponse$zodSchema: z.ZodType<AgentTestRunsResponse>;
|
|
7
|
-
//# sourceMappingURL=agenttestrunsresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agenttestrunsresponse.d.ts","sourceRoot":"","sources":["../../src/models/agenttestrunsresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,qBAAqB,GAAG;IAAE,IAAI,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAA;CAAE,CAAC;AAE1E,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAKzE,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod";
|
|
5
|
-
import { AgentTestRunListItem$zodSchema, } from "./agenttestrunlistitem.js";
|
|
6
|
-
export const AgentTestRunsResponse$zodSchema = z.object({
|
|
7
|
-
runs: z.array(AgentTestRunListItem$zodSchema).describe("Test runs for the agent, most recently created first"),
|
|
8
|
-
});
|
|
9
|
-
//# sourceMappingURL=agenttestrunsresponse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agenttestrunsresponse.js","sourceRoot":"","sources":["../../src/models/agenttestrunsresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AAInC,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC,QAAQ,CACpD,sDAAsD,CACvD;CACF,CAAC,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import {
|
|
7
|
-
AgentTestRunListItem,
|
|
8
|
-
AgentTestRunListItem$zodSchema,
|
|
9
|
-
} from "./agenttestrunlistitem.js";
|
|
10
|
-
|
|
11
|
-
export type AgentTestRunsResponse = { runs: Array<AgentTestRunListItem> };
|
|
12
|
-
|
|
13
|
-
export const AgentTestRunsResponse$zodSchema: z.ZodType<AgentTestRunsResponse> =
|
|
14
|
-
z.object({
|
|
15
|
-
runs: z.array(AgentTestRunListItem$zodSchema).describe(
|
|
16
|
-
"Test runs for the agent, most recently created first",
|
|
17
|
-
),
|
|
18
|
-
});
|