@muggleai/mcp-qa-gateway 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +185 -0
- package/dist/scripts/phase0-smoke.d.ts +7 -0
- package/dist/scripts/phase0-smoke.d.ts.map +1 -0
- package/dist/scripts/phase0-smoke.js +1712 -0
- package/dist/scripts/phase0-smoke.js.map +1 -0
- package/dist/scripts/types/phase0-smoke-types.d.ts +89 -0
- package/dist/scripts/types/phase0-smoke-types.d.ts.map +1 -0
- package/dist/scripts/types/phase0-smoke-types.js +3 -0
- package/dist/scripts/types/phase0-smoke-types.js.map +1 -0
- package/dist/src/__tests__/helpers/mock-setup.d.ts +28 -0
- package/dist/src/__tests__/helpers/mock-setup.d.ts.map +1 -0
- package/dist/src/__tests__/helpers/mock-setup.js +44 -0
- package/dist/src/__tests__/helpers/mock-setup.js.map +1 -0
- package/dist/src/__tests__/helpers/test-fixtures.d.ts +38 -0
- package/dist/src/__tests__/helpers/test-fixtures.d.ts.map +1 -0
- package/dist/src/__tests__/helpers/test-fixtures.js +62 -0
- package/dist/src/__tests__/helpers/test-fixtures.js.map +1 -0
- package/dist/src/__tests__/tools/artifact-tools.test.d.ts +9 -0
- package/dist/src/__tests__/tools/artifact-tools.test.d.ts.map +1 -0
- package/dist/src/__tests__/tools/artifact-tools.test.js +307 -0
- package/dist/src/__tests__/tools/artifact-tools.test.js.map +1 -0
- package/dist/src/__tests__/tools/prd-file-tools.test.d.ts +7 -0
- package/dist/src/__tests__/tools/prd-file-tools.test.d.ts.map +1 -0
- package/dist/src/__tests__/tools/prd-file-tools.test.js +278 -0
- package/dist/src/__tests__/tools/prd-file-tools.test.js.map +1 -0
- package/dist/src/__tests__/tools/project-tools.test.d.ts +7 -0
- package/dist/src/__tests__/tools/project-tools.test.d.ts.map +1 -0
- package/dist/src/__tests__/tools/project-tools.test.js +281 -0
- package/dist/src/__tests__/tools/project-tools.test.js.map +1 -0
- package/dist/src/__tests__/tools/recommendation-tools.test.d.ts +6 -0
- package/dist/src/__tests__/tools/recommendation-tools.test.d.ts.map +1 -0
- package/dist/src/__tests__/tools/recommendation-tools.test.js +193 -0
- package/dist/src/__tests__/tools/recommendation-tools.test.js.map +1 -0
- package/dist/src/__tests__/tools/report-tools.test.d.ts +7 -0
- package/dist/src/__tests__/tools/report-tools.test.d.ts.map +1 -0
- package/dist/src/__tests__/tools/report-tools.test.js +226 -0
- package/dist/src/__tests__/tools/report-tools.test.js.map +1 -0
- package/dist/src/__tests__/tools/secret-tools.test.d.ts +6 -0
- package/dist/src/__tests__/tools/secret-tools.test.d.ts.map +1 -0
- package/dist/src/__tests__/tools/secret-tools.test.js +243 -0
- package/dist/src/__tests__/tools/secret-tools.test.js.map +1 -0
- package/dist/src/__tests__/tools/test-case-prompt-tools.test.d.ts +6 -0
- package/dist/src/__tests__/tools/test-case-prompt-tools.test.d.ts.map +1 -0
- package/dist/src/__tests__/tools/test-case-prompt-tools.test.js +291 -0
- package/dist/src/__tests__/tools/test-case-prompt-tools.test.js.map +1 -0
- package/dist/src/__tests__/tools/tool-registry.test.d.ts +7 -0
- package/dist/src/__tests__/tools/tool-registry.test.d.ts.map +1 -0
- package/dist/src/__tests__/tools/tool-registry.test.js +205 -0
- package/dist/src/__tests__/tools/tool-registry.test.js.map +1 -0
- package/dist/src/__tests__/tools/use-case-tools.test.d.ts +7 -0
- package/dist/src/__tests__/tools/use-case-tools.test.d.ts.map +1 -0
- package/dist/src/__tests__/tools/use-case-tools.test.js +177 -0
- package/dist/src/__tests__/tools/use-case-tools.test.js.map +1 -0
- package/dist/src/__tests__/tools/workflow-tools.test.d.ts +15 -0
- package/dist/src/__tests__/tools/workflow-tools.test.d.ts.map +1 -0
- package/dist/src/__tests__/tools/workflow-tools.test.js +627 -0
- package/dist/src/__tests__/tools/workflow-tools.test.js.map +1 -0
- package/dist/src/config/index.d.ts +18 -0
- package/dist/src/config/index.d.ts.map +1 -0
- package/dist/src/config/index.js +76 -0
- package/dist/src/config/index.js.map +1 -0
- package/dist/src/index.d.ts +21 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +88 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/interfaces/caller-credentials.d.ts +10 -0
- package/dist/src/interfaces/caller-credentials.d.ts.map +1 -0
- package/dist/src/interfaces/caller-credentials.js +3 -0
- package/dist/src/interfaces/caller-credentials.js.map +1 -0
- package/dist/src/interfaces/gateway-config.d.ts +28 -0
- package/dist/src/interfaces/gateway-config.d.ts.map +1 -0
- package/dist/src/interfaces/gateway-config.js +3 -0
- package/dist/src/interfaces/gateway-config.js.map +1 -0
- package/dist/src/interfaces/index.d.ts +13 -0
- package/dist/src/interfaces/index.d.ts.map +1 -0
- package/dist/src/interfaces/index.js +7 -0
- package/dist/src/interfaces/index.js.map +1 -0
- package/dist/src/interfaces/mcp-tool-call-protocol.d.ts +61 -0
- package/dist/src/interfaces/mcp-tool-call-protocol.d.ts.map +1 -0
- package/dist/src/interfaces/mcp-tool-call-protocol.js +7 -0
- package/dist/src/interfaces/mcp-tool-call-protocol.js.map +1 -0
- package/dist/src/interfaces/pagination.d.ts +24 -0
- package/dist/src/interfaces/pagination.d.ts.map +1 -0
- package/dist/src/interfaces/pagination.js +6 -0
- package/dist/src/interfaces/pagination.js.map +1 -0
- package/dist/src/interfaces/tool-definition.d.ts +22 -0
- package/dist/src/interfaces/tool-definition.d.ts.map +1 -0
- package/dist/src/interfaces/tool-definition.js +6 -0
- package/dist/src/interfaces/tool-definition.js.map +1 -0
- package/dist/src/interfaces/tool-mapping.d.ts +20 -0
- package/dist/src/interfaces/tool-mapping.d.ts.map +1 -0
- package/dist/src/interfaces/tool-mapping.js +6 -0
- package/dist/src/interfaces/tool-mapping.js.map +1 -0
- package/dist/src/interfaces/upstream-call.d.ts +27 -0
- package/dist/src/interfaces/upstream-call.d.ts.map +1 -0
- package/dist/src/interfaces/upstream-call.js +3 -0
- package/dist/src/interfaces/upstream-call.js.map +1 -0
- package/dist/src/interfaces/upstream-response.d.ts +12 -0
- package/dist/src/interfaces/upstream-response.d.ts.map +1 -0
- package/dist/src/interfaces/upstream-response.js +3 -0
- package/dist/src/interfaces/upstream-response.js.map +1 -0
- package/dist/src/server/http-server.d.ts +13 -0
- package/dist/src/server/http-server.d.ts.map +1 -0
- package/dist/src/server/http-server.js +219 -0
- package/dist/src/server/http-server.js.map +1 -0
- package/dist/src/server/mcp-server.d.ts +11 -0
- package/dist/src/server/mcp-server.d.ts.map +1 -0
- package/dist/src/server/mcp-server.js +363 -0
- package/dist/src/server/mcp-server.js.map +1 -0
- package/dist/src/server/session-credentials.d.ts +8 -0
- package/dist/src/server/session-credentials.d.ts.map +1 -0
- package/dist/src/server/session-credentials.js +24 -0
- package/dist/src/server/session-credentials.js.map +1 -0
- package/dist/src/tools/constants.d.ts +6 -0
- package/dist/src/tools/constants.d.ts.map +1 -0
- package/dist/src/tools/constants.js +9 -0
- package/dist/src/tools/constants.js.map +1 -0
- package/dist/src/tools/index.d.ts +7 -0
- package/dist/src/tools/index.d.ts.map +1 -0
- package/dist/src/tools/index.js +23 -0
- package/dist/src/tools/index.js.map +1 -0
- package/dist/src/tools/schemas.d.ts +906 -0
- package/dist/src/tools/schemas.d.ts.map +1 -0
- package/dist/src/tools/schemas.js +386 -0
- package/dist/src/tools/schemas.js.map +1 -0
- package/dist/src/tools/tool-registry.d.ts +26 -0
- package/dist/src/tools/tool-registry.d.ts.map +1 -0
- package/dist/src/tools/tool-registry.js +1142 -0
- package/dist/src/tools/tool-registry.js.map +1 -0
- package/dist/src/types/index.d.ts +35 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/index.js +55 -0
- package/dist/src/types/index.js.map +1 -0
- package/dist/src/upstream/prompt-service-client.d.ts +62 -0
- package/dist/src/upstream/prompt-service-client.d.ts.map +1 -0
- package/dist/src/upstream/prompt-service-client.js +329 -0
- package/dist/src/upstream/prompt-service-client.js.map +1 -0
- package/dist/src/utils/logger.d.ts +17 -0
- package/dist/src/utils/logger.d.ts.map +1 -0
- package/dist/src/utils/logger.js +64 -0
- package/dist/src/utils/logger.js.map +1 -0
- package/dist/vitest.config.d.ts +3 -0
- package/dist/vitest.config.d.ts.map +1 -0
- package/dist/vitest.config.js +21 -0
- package/dist/vitest.config.js.map +1 -0
- package/package.json +66 -0
|
@@ -0,0 +1,906 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schemas for MCP tool inputs.
|
|
3
|
+
* These schemas define and validate the input parameters for each tool.
|
|
4
|
+
*/
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
/** Pagination input schema. */
|
|
7
|
+
export declare const PaginationInputSchema: z.ZodObject<{
|
|
8
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
page?: number | undefined;
|
|
12
|
+
pageSize?: number | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
page?: number | undefined;
|
|
15
|
+
pageSize?: number | undefined;
|
|
16
|
+
}>;
|
|
17
|
+
/** ID string schema. */
|
|
18
|
+
export declare const IdSchema: z.ZodString;
|
|
19
|
+
export declare const ProjectCreateInputSchema: z.ZodObject<{
|
|
20
|
+
projectName: z.ZodString;
|
|
21
|
+
description: z.ZodString;
|
|
22
|
+
url: z.ZodString;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
url: string;
|
|
25
|
+
description: string;
|
|
26
|
+
projectName: string;
|
|
27
|
+
}, {
|
|
28
|
+
url: string;
|
|
29
|
+
description: string;
|
|
30
|
+
projectName: string;
|
|
31
|
+
}>;
|
|
32
|
+
export declare const ProjectGetInputSchema: z.ZodObject<{
|
|
33
|
+
projectId: z.ZodString;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
projectId: string;
|
|
36
|
+
}, {
|
|
37
|
+
projectId: string;
|
|
38
|
+
}>;
|
|
39
|
+
export declare const ProjectDeleteInputSchema: z.ZodObject<{
|
|
40
|
+
projectId: z.ZodString;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
projectId: string;
|
|
43
|
+
}, {
|
|
44
|
+
projectId: string;
|
|
45
|
+
}>;
|
|
46
|
+
export declare const ProjectUpdateInputSchema: z.ZodObject<{
|
|
47
|
+
projectId: z.ZodString;
|
|
48
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
49
|
+
description: z.ZodOptional<z.ZodString>;
|
|
50
|
+
url: z.ZodOptional<z.ZodString>;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
projectId: string;
|
|
53
|
+
url?: string | undefined;
|
|
54
|
+
description?: string | undefined;
|
|
55
|
+
projectName?: string | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
projectId: string;
|
|
58
|
+
url?: string | undefined;
|
|
59
|
+
description?: string | undefined;
|
|
60
|
+
projectName?: string | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
export declare const ProjectListInputSchema: z.ZodObject<{
|
|
63
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
page?: number | undefined;
|
|
67
|
+
pageSize?: number | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
page?: number | undefined;
|
|
70
|
+
pageSize?: number | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
export declare const PrdFileUploadInputSchema: z.ZodObject<{
|
|
73
|
+
projectId: z.ZodString;
|
|
74
|
+
fileName: z.ZodString;
|
|
75
|
+
contentBase64: z.ZodString;
|
|
76
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
projectId: string;
|
|
79
|
+
fileName: string;
|
|
80
|
+
contentBase64: string;
|
|
81
|
+
contentType?: string | undefined;
|
|
82
|
+
}, {
|
|
83
|
+
projectId: string;
|
|
84
|
+
fileName: string;
|
|
85
|
+
contentBase64: string;
|
|
86
|
+
contentType?: string | undefined;
|
|
87
|
+
}>;
|
|
88
|
+
export declare const PrdFileListInputSchema: z.ZodObject<{
|
|
89
|
+
projectId: z.ZodString;
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
projectId: string;
|
|
92
|
+
}, {
|
|
93
|
+
projectId: string;
|
|
94
|
+
}>;
|
|
95
|
+
export declare const PrdFileDeleteInputSchema: z.ZodObject<{
|
|
96
|
+
projectId: z.ZodString;
|
|
97
|
+
prdFileId: z.ZodString;
|
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
|
99
|
+
projectId: string;
|
|
100
|
+
prdFileId: string;
|
|
101
|
+
}, {
|
|
102
|
+
projectId: string;
|
|
103
|
+
prdFileId: string;
|
|
104
|
+
}>;
|
|
105
|
+
export declare const PrdFileProcessStartInputSchema: z.ZodObject<{
|
|
106
|
+
projectId: z.ZodString;
|
|
107
|
+
name: z.ZodString;
|
|
108
|
+
description: z.ZodString;
|
|
109
|
+
prdFilePath: z.ZodString;
|
|
110
|
+
originalFileName: z.ZodString;
|
|
111
|
+
url: z.ZodString;
|
|
112
|
+
contentChecksum: z.ZodString;
|
|
113
|
+
fileSize: z.ZodNumber;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
url: string;
|
|
116
|
+
description: string;
|
|
117
|
+
name: string;
|
|
118
|
+
projectId: string;
|
|
119
|
+
prdFilePath: string;
|
|
120
|
+
originalFileName: string;
|
|
121
|
+
contentChecksum: string;
|
|
122
|
+
fileSize: number;
|
|
123
|
+
}, {
|
|
124
|
+
url: string;
|
|
125
|
+
description: string;
|
|
126
|
+
name: string;
|
|
127
|
+
projectId: string;
|
|
128
|
+
prdFilePath: string;
|
|
129
|
+
originalFileName: string;
|
|
130
|
+
contentChecksum: string;
|
|
131
|
+
fileSize: number;
|
|
132
|
+
}>;
|
|
133
|
+
export declare const PrdFileProcessLatestRunInputSchema: z.ZodObject<{
|
|
134
|
+
workflowRuntimeId: z.ZodString;
|
|
135
|
+
}, "strip", z.ZodTypeAny, {
|
|
136
|
+
workflowRuntimeId: string;
|
|
137
|
+
}, {
|
|
138
|
+
workflowRuntimeId: string;
|
|
139
|
+
}>;
|
|
140
|
+
export declare const SecretListInputSchema: z.ZodObject<{
|
|
141
|
+
projectId: z.ZodString;
|
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
|
+
projectId: string;
|
|
144
|
+
}, {
|
|
145
|
+
projectId: string;
|
|
146
|
+
}>;
|
|
147
|
+
export declare const SecretCreateInputSchema: z.ZodObject<{
|
|
148
|
+
projectId: z.ZodString;
|
|
149
|
+
name: z.ZodString;
|
|
150
|
+
value: z.ZodString;
|
|
151
|
+
description: z.ZodOptional<z.ZodString>;
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
|
+
name: string;
|
|
154
|
+
value: string;
|
|
155
|
+
projectId: string;
|
|
156
|
+
description?: string | undefined;
|
|
157
|
+
}, {
|
|
158
|
+
name: string;
|
|
159
|
+
value: string;
|
|
160
|
+
projectId: string;
|
|
161
|
+
description?: string | undefined;
|
|
162
|
+
}>;
|
|
163
|
+
export declare const SecretGetInputSchema: z.ZodObject<{
|
|
164
|
+
secretId: z.ZodString;
|
|
165
|
+
}, "strip", z.ZodTypeAny, {
|
|
166
|
+
secretId: string;
|
|
167
|
+
}, {
|
|
168
|
+
secretId: string;
|
|
169
|
+
}>;
|
|
170
|
+
export declare const SecretUpdateInputSchema: z.ZodObject<{
|
|
171
|
+
secretId: z.ZodString;
|
|
172
|
+
name: z.ZodOptional<z.ZodString>;
|
|
173
|
+
value: z.ZodOptional<z.ZodString>;
|
|
174
|
+
description: z.ZodOptional<z.ZodString>;
|
|
175
|
+
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
secretId: string;
|
|
177
|
+
description?: string | undefined;
|
|
178
|
+
name?: string | undefined;
|
|
179
|
+
value?: string | undefined;
|
|
180
|
+
}, {
|
|
181
|
+
secretId: string;
|
|
182
|
+
description?: string | undefined;
|
|
183
|
+
name?: string | undefined;
|
|
184
|
+
value?: string | undefined;
|
|
185
|
+
}>;
|
|
186
|
+
export declare const SecretDeleteInputSchema: z.ZodObject<{
|
|
187
|
+
secretId: z.ZodString;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
secretId: string;
|
|
190
|
+
}, {
|
|
191
|
+
secretId: string;
|
|
192
|
+
}>;
|
|
193
|
+
export declare const UseCaseDiscoveryMemoryGetInputSchema: z.ZodObject<{
|
|
194
|
+
projectId: z.ZodString;
|
|
195
|
+
}, "strip", z.ZodTypeAny, {
|
|
196
|
+
projectId: string;
|
|
197
|
+
}, {
|
|
198
|
+
projectId: string;
|
|
199
|
+
}>;
|
|
200
|
+
export declare const UseCaseCandidatesApproveInputSchema: z.ZodObject<{
|
|
201
|
+
projectId: z.ZodString;
|
|
202
|
+
approvedCandidateIds: z.ZodArray<z.ZodString, "many">;
|
|
203
|
+
}, "strip", z.ZodTypeAny, {
|
|
204
|
+
projectId: string;
|
|
205
|
+
approvedCandidateIds: string[];
|
|
206
|
+
}, {
|
|
207
|
+
projectId: string;
|
|
208
|
+
approvedCandidateIds: string[];
|
|
209
|
+
}>;
|
|
210
|
+
export declare const UseCaseListInputSchema: z.ZodObject<{
|
|
211
|
+
projectId: z.ZodString;
|
|
212
|
+
} & {
|
|
213
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
214
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
|
216
|
+
projectId: string;
|
|
217
|
+
page?: number | undefined;
|
|
218
|
+
pageSize?: number | undefined;
|
|
219
|
+
}, {
|
|
220
|
+
projectId: string;
|
|
221
|
+
page?: number | undefined;
|
|
222
|
+
pageSize?: number | undefined;
|
|
223
|
+
}>;
|
|
224
|
+
export declare const UseCaseGetInputSchema: z.ZodObject<{
|
|
225
|
+
useCaseId: z.ZodString;
|
|
226
|
+
}, "strip", z.ZodTypeAny, {
|
|
227
|
+
useCaseId: string;
|
|
228
|
+
}, {
|
|
229
|
+
useCaseId: string;
|
|
230
|
+
}>;
|
|
231
|
+
export declare const UseCasePromptPreviewInputSchema: z.ZodObject<{
|
|
232
|
+
projectId: z.ZodString;
|
|
233
|
+
instruction: z.ZodString;
|
|
234
|
+
}, "strip", z.ZodTypeAny, {
|
|
235
|
+
projectId: string;
|
|
236
|
+
instruction: string;
|
|
237
|
+
}, {
|
|
238
|
+
projectId: string;
|
|
239
|
+
instruction: string;
|
|
240
|
+
}>;
|
|
241
|
+
export declare const UseCaseCreateFromPromptsInputSchema: z.ZodObject<{
|
|
242
|
+
projectId: z.ZodString;
|
|
243
|
+
prompts: z.ZodArray<z.ZodObject<{
|
|
244
|
+
instruction: z.ZodString;
|
|
245
|
+
}, "strip", z.ZodTypeAny, {
|
|
246
|
+
instruction: string;
|
|
247
|
+
}, {
|
|
248
|
+
instruction: string;
|
|
249
|
+
}>, "many">;
|
|
250
|
+
}, "strip", z.ZodTypeAny, {
|
|
251
|
+
prompts: {
|
|
252
|
+
instruction: string;
|
|
253
|
+
}[];
|
|
254
|
+
projectId: string;
|
|
255
|
+
}, {
|
|
256
|
+
prompts: {
|
|
257
|
+
instruction: string;
|
|
258
|
+
}[];
|
|
259
|
+
projectId: string;
|
|
260
|
+
}>;
|
|
261
|
+
export declare const UseCaseUpdateFromPromptInputSchema: z.ZodObject<{
|
|
262
|
+
projectId: z.ZodString;
|
|
263
|
+
useCaseId: z.ZodString;
|
|
264
|
+
instruction: z.ZodString;
|
|
265
|
+
}, "strip", z.ZodTypeAny, {
|
|
266
|
+
projectId: string;
|
|
267
|
+
useCaseId: string;
|
|
268
|
+
instruction: string;
|
|
269
|
+
}, {
|
|
270
|
+
projectId: string;
|
|
271
|
+
useCaseId: string;
|
|
272
|
+
instruction: string;
|
|
273
|
+
}>;
|
|
274
|
+
/** Use case candidate returned by discovery memory. */
|
|
275
|
+
export declare const UseCaseCandidateSchema: z.ZodObject<{
|
|
276
|
+
id: z.ZodString;
|
|
277
|
+
status: z.ZodEnum<["draft", "candidate", "graduated", "dropped"]>;
|
|
278
|
+
useCase: z.ZodOptional<z.ZodObject<{
|
|
279
|
+
title: z.ZodOptional<z.ZodString>;
|
|
280
|
+
description: z.ZodOptional<z.ZodString>;
|
|
281
|
+
}, "strip", z.ZodTypeAny, {
|
|
282
|
+
description?: string | undefined;
|
|
283
|
+
title?: string | undefined;
|
|
284
|
+
}, {
|
|
285
|
+
description?: string | undefined;
|
|
286
|
+
title?: string | undefined;
|
|
287
|
+
}>>;
|
|
288
|
+
}, "strip", z.ZodTypeAny, {
|
|
289
|
+
status: "draft" | "candidate" | "graduated" | "dropped";
|
|
290
|
+
id: string;
|
|
291
|
+
useCase?: {
|
|
292
|
+
description?: string | undefined;
|
|
293
|
+
title?: string | undefined;
|
|
294
|
+
} | undefined;
|
|
295
|
+
}, {
|
|
296
|
+
status: "draft" | "candidate" | "graduated" | "dropped";
|
|
297
|
+
id: string;
|
|
298
|
+
useCase?: {
|
|
299
|
+
description?: string | undefined;
|
|
300
|
+
title?: string | undefined;
|
|
301
|
+
} | undefined;
|
|
302
|
+
}>;
|
|
303
|
+
/** Use case discovery memory (project + candidates). */
|
|
304
|
+
export declare const UseCaseDiscoveryMemorySchema: z.ZodObject<{
|
|
305
|
+
projectId: z.ZodString;
|
|
306
|
+
useCaseCandidates: z.ZodArray<z.ZodObject<{
|
|
307
|
+
id: z.ZodString;
|
|
308
|
+
status: z.ZodEnum<["draft", "candidate", "graduated", "dropped"]>;
|
|
309
|
+
useCase: z.ZodOptional<z.ZodObject<{
|
|
310
|
+
title: z.ZodOptional<z.ZodString>;
|
|
311
|
+
description: z.ZodOptional<z.ZodString>;
|
|
312
|
+
}, "strip", z.ZodTypeAny, {
|
|
313
|
+
description?: string | undefined;
|
|
314
|
+
title?: string | undefined;
|
|
315
|
+
}, {
|
|
316
|
+
description?: string | undefined;
|
|
317
|
+
title?: string | undefined;
|
|
318
|
+
}>>;
|
|
319
|
+
}, "strip", z.ZodTypeAny, {
|
|
320
|
+
status: "draft" | "candidate" | "graduated" | "dropped";
|
|
321
|
+
id: string;
|
|
322
|
+
useCase?: {
|
|
323
|
+
description?: string | undefined;
|
|
324
|
+
title?: string | undefined;
|
|
325
|
+
} | undefined;
|
|
326
|
+
}, {
|
|
327
|
+
status: "draft" | "candidate" | "graduated" | "dropped";
|
|
328
|
+
id: string;
|
|
329
|
+
useCase?: {
|
|
330
|
+
description?: string | undefined;
|
|
331
|
+
title?: string | undefined;
|
|
332
|
+
} | undefined;
|
|
333
|
+
}>, "many">;
|
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
|
335
|
+
projectId: string;
|
|
336
|
+
useCaseCandidates: {
|
|
337
|
+
status: "draft" | "candidate" | "graduated" | "dropped";
|
|
338
|
+
id: string;
|
|
339
|
+
useCase?: {
|
|
340
|
+
description?: string | undefined;
|
|
341
|
+
title?: string | undefined;
|
|
342
|
+
} | undefined;
|
|
343
|
+
}[];
|
|
344
|
+
}, {
|
|
345
|
+
projectId: string;
|
|
346
|
+
useCaseCandidates: {
|
|
347
|
+
status: "draft" | "candidate" | "graduated" | "dropped";
|
|
348
|
+
id: string;
|
|
349
|
+
useCase?: {
|
|
350
|
+
description?: string | undefined;
|
|
351
|
+
title?: string | undefined;
|
|
352
|
+
} | undefined;
|
|
353
|
+
}[];
|
|
354
|
+
}>;
|
|
355
|
+
/** GET use-case-discovery-memory API response: { memory, useCaseQuotaStatus }. */
|
|
356
|
+
export declare const UseCaseDiscoveryMemoryApiResponseSchema: z.ZodObject<{
|
|
357
|
+
memory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
358
|
+
projectId: z.ZodString;
|
|
359
|
+
useCaseCandidates: z.ZodArray<z.ZodObject<{
|
|
360
|
+
id: z.ZodString;
|
|
361
|
+
status: z.ZodEnum<["draft", "candidate", "graduated", "dropped"]>;
|
|
362
|
+
useCase: z.ZodOptional<z.ZodObject<{
|
|
363
|
+
title: z.ZodOptional<z.ZodString>;
|
|
364
|
+
description: z.ZodOptional<z.ZodString>;
|
|
365
|
+
}, "strip", z.ZodTypeAny, {
|
|
366
|
+
description?: string | undefined;
|
|
367
|
+
title?: string | undefined;
|
|
368
|
+
}, {
|
|
369
|
+
description?: string | undefined;
|
|
370
|
+
title?: string | undefined;
|
|
371
|
+
}>>;
|
|
372
|
+
}, "strip", z.ZodTypeAny, {
|
|
373
|
+
status: "draft" | "candidate" | "graduated" | "dropped";
|
|
374
|
+
id: string;
|
|
375
|
+
useCase?: {
|
|
376
|
+
description?: string | undefined;
|
|
377
|
+
title?: string | undefined;
|
|
378
|
+
} | undefined;
|
|
379
|
+
}, {
|
|
380
|
+
status: "draft" | "candidate" | "graduated" | "dropped";
|
|
381
|
+
id: string;
|
|
382
|
+
useCase?: {
|
|
383
|
+
description?: string | undefined;
|
|
384
|
+
title?: string | undefined;
|
|
385
|
+
} | undefined;
|
|
386
|
+
}>, "many">;
|
|
387
|
+
}, "strip", z.ZodTypeAny, {
|
|
388
|
+
projectId: string;
|
|
389
|
+
useCaseCandidates: {
|
|
390
|
+
status: "draft" | "candidate" | "graduated" | "dropped";
|
|
391
|
+
id: string;
|
|
392
|
+
useCase?: {
|
|
393
|
+
description?: string | undefined;
|
|
394
|
+
title?: string | undefined;
|
|
395
|
+
} | undefined;
|
|
396
|
+
}[];
|
|
397
|
+
}, {
|
|
398
|
+
projectId: string;
|
|
399
|
+
useCaseCandidates: {
|
|
400
|
+
status: "draft" | "candidate" | "graduated" | "dropped";
|
|
401
|
+
id: string;
|
|
402
|
+
useCase?: {
|
|
403
|
+
description?: string | undefined;
|
|
404
|
+
title?: string | undefined;
|
|
405
|
+
} | undefined;
|
|
406
|
+
}[];
|
|
407
|
+
}>>>;
|
|
408
|
+
useCaseQuotaStatus: z.ZodOptional<z.ZodUnknown>;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
memory?: {
|
|
411
|
+
projectId: string;
|
|
412
|
+
useCaseCandidates: {
|
|
413
|
+
status: "draft" | "candidate" | "graduated" | "dropped";
|
|
414
|
+
id: string;
|
|
415
|
+
useCase?: {
|
|
416
|
+
description?: string | undefined;
|
|
417
|
+
title?: string | undefined;
|
|
418
|
+
} | undefined;
|
|
419
|
+
}[];
|
|
420
|
+
} | null | undefined;
|
|
421
|
+
useCaseQuotaStatus?: unknown;
|
|
422
|
+
}, {
|
|
423
|
+
memory?: {
|
|
424
|
+
projectId: string;
|
|
425
|
+
useCaseCandidates: {
|
|
426
|
+
status: "draft" | "candidate" | "graduated" | "dropped";
|
|
427
|
+
id: string;
|
|
428
|
+
useCase?: {
|
|
429
|
+
description?: string | undefined;
|
|
430
|
+
title?: string | undefined;
|
|
431
|
+
} | undefined;
|
|
432
|
+
}[];
|
|
433
|
+
} | null | undefined;
|
|
434
|
+
useCaseQuotaStatus?: unknown;
|
|
435
|
+
}>;
|
|
436
|
+
/** Use case graduation (approve) response from prompt-service. */
|
|
437
|
+
export declare const UseCaseGraduationResponseSchema: z.ZodObject<{
|
|
438
|
+
approved: z.ZodArray<z.ZodObject<{
|
|
439
|
+
id: z.ZodString;
|
|
440
|
+
}, "strip", z.ZodTypeAny, {
|
|
441
|
+
id: string;
|
|
442
|
+
}, {
|
|
443
|
+
id: string;
|
|
444
|
+
}>, "many">;
|
|
445
|
+
inReview: z.ZodArray<z.ZodObject<{
|
|
446
|
+
id: z.ZodString;
|
|
447
|
+
}, "strip", z.ZodTypeAny, {
|
|
448
|
+
id: string;
|
|
449
|
+
}, {
|
|
450
|
+
id: string;
|
|
451
|
+
}>, "many">;
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
453
|
+
approved: {
|
|
454
|
+
id: string;
|
|
455
|
+
}[];
|
|
456
|
+
inReview: {
|
|
457
|
+
id: string;
|
|
458
|
+
}[];
|
|
459
|
+
}, {
|
|
460
|
+
approved: {
|
|
461
|
+
id: string;
|
|
462
|
+
}[];
|
|
463
|
+
inReview: {
|
|
464
|
+
id: string;
|
|
465
|
+
}[];
|
|
466
|
+
}>;
|
|
467
|
+
/** Project create response (tool/API). */
|
|
468
|
+
export declare const ProjectCreateResultSchema: z.ZodObject<{
|
|
469
|
+
id: z.ZodString;
|
|
470
|
+
}, "strip", z.ZodTypeAny, {
|
|
471
|
+
id: string;
|
|
472
|
+
}, {
|
|
473
|
+
id: string;
|
|
474
|
+
}>;
|
|
475
|
+
/** Project get response (tool/API). */
|
|
476
|
+
export declare const ProjectGetResultSchema: z.ZodObject<{
|
|
477
|
+
id: z.ZodString;
|
|
478
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
479
|
+
}, "strip", z.ZodTypeAny, {
|
|
480
|
+
id: string;
|
|
481
|
+
projectName?: string | undefined;
|
|
482
|
+
}, {
|
|
483
|
+
id: string;
|
|
484
|
+
projectName?: string | undefined;
|
|
485
|
+
}>;
|
|
486
|
+
/** Generic workflow start response (tool/API). */
|
|
487
|
+
export declare const WorkflowStartResultSchema: z.ZodObject<{
|
|
488
|
+
id: z.ZodString;
|
|
489
|
+
}, "strip", z.ZodTypeAny, {
|
|
490
|
+
id: string;
|
|
491
|
+
}, {
|
|
492
|
+
id: string;
|
|
493
|
+
}>;
|
|
494
|
+
/** Test case summary entry (list response item). */
|
|
495
|
+
export declare const TestCaseSummarySchema: z.ZodObject<{
|
|
496
|
+
id: z.ZodString;
|
|
497
|
+
useCaseId: z.ZodOptional<z.ZodString>;
|
|
498
|
+
}, "strip", z.ZodTypeAny, {
|
|
499
|
+
id: string;
|
|
500
|
+
useCaseId?: string | undefined;
|
|
501
|
+
}, {
|
|
502
|
+
id: string;
|
|
503
|
+
useCaseId?: string | undefined;
|
|
504
|
+
}>;
|
|
505
|
+
/** Test script summary entry (list response item). */
|
|
506
|
+
export declare const TestScriptSummarySchema: z.ZodObject<{
|
|
507
|
+
id: z.ZodString;
|
|
508
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
509
|
+
}, "strip", z.ZodTypeAny, {
|
|
510
|
+
id: string;
|
|
511
|
+
projectId?: string | undefined;
|
|
512
|
+
}, {
|
|
513
|
+
id: string;
|
|
514
|
+
projectId?: string | undefined;
|
|
515
|
+
}>;
|
|
516
|
+
/** Report preferences upsert response (tool/API). */
|
|
517
|
+
export declare const ReportPreferencesUpsertResultSchema: z.ZodObject<{
|
|
518
|
+
projectId: z.ZodString;
|
|
519
|
+
channels: z.ZodArray<z.ZodString, "many">;
|
|
520
|
+
}, "strip", z.ZodTypeAny, {
|
|
521
|
+
projectId: string;
|
|
522
|
+
channels: string[];
|
|
523
|
+
}, {
|
|
524
|
+
projectId: string;
|
|
525
|
+
channels: string[];
|
|
526
|
+
}>;
|
|
527
|
+
export declare const WorkflowStartWebsiteScanInputSchema: z.ZodObject<{
|
|
528
|
+
projectId: z.ZodString;
|
|
529
|
+
url: z.ZodString;
|
|
530
|
+
description: z.ZodString;
|
|
531
|
+
archiveUnapproved: z.ZodOptional<z.ZodBoolean>;
|
|
532
|
+
}, "strip", z.ZodTypeAny, {
|
|
533
|
+
url: string;
|
|
534
|
+
description: string;
|
|
535
|
+
projectId: string;
|
|
536
|
+
archiveUnapproved?: boolean | undefined;
|
|
537
|
+
}, {
|
|
538
|
+
url: string;
|
|
539
|
+
description: string;
|
|
540
|
+
projectId: string;
|
|
541
|
+
archiveUnapproved?: boolean | undefined;
|
|
542
|
+
}>;
|
|
543
|
+
export declare const WorkflowListRuntimesInputSchema: z.ZodObject<{
|
|
544
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
545
|
+
}, "strip", z.ZodTypeAny, {
|
|
546
|
+
projectId?: string | undefined;
|
|
547
|
+
}, {
|
|
548
|
+
projectId?: string | undefined;
|
|
549
|
+
}>;
|
|
550
|
+
export declare const WorkflowGetLatestRunInputSchema: z.ZodObject<{
|
|
551
|
+
workflowRuntimeId: z.ZodString;
|
|
552
|
+
}, "strip", z.ZodTypeAny, {
|
|
553
|
+
workflowRuntimeId: string;
|
|
554
|
+
}, {
|
|
555
|
+
workflowRuntimeId: string;
|
|
556
|
+
}>;
|
|
557
|
+
export declare const WorkflowStartTestCaseDetectionInputSchema: z.ZodObject<{
|
|
558
|
+
projectId: z.ZodString;
|
|
559
|
+
useCaseId: z.ZodString;
|
|
560
|
+
name: z.ZodString;
|
|
561
|
+
description: z.ZodString;
|
|
562
|
+
url: z.ZodString;
|
|
563
|
+
}, "strip", z.ZodTypeAny, {
|
|
564
|
+
url: string;
|
|
565
|
+
description: string;
|
|
566
|
+
name: string;
|
|
567
|
+
projectId: string;
|
|
568
|
+
useCaseId: string;
|
|
569
|
+
}, {
|
|
570
|
+
url: string;
|
|
571
|
+
description: string;
|
|
572
|
+
name: string;
|
|
573
|
+
projectId: string;
|
|
574
|
+
useCaseId: string;
|
|
575
|
+
}>;
|
|
576
|
+
export declare const WorkflowStartTestScriptGenerationInputSchema: z.ZodObject<{
|
|
577
|
+
projectId: z.ZodString;
|
|
578
|
+
useCaseId: z.ZodString;
|
|
579
|
+
testCaseId: z.ZodString;
|
|
580
|
+
name: z.ZodString;
|
|
581
|
+
url: z.ZodString;
|
|
582
|
+
goal: z.ZodString;
|
|
583
|
+
precondition: z.ZodString;
|
|
584
|
+
instructions: z.ZodString;
|
|
585
|
+
expectedResult: z.ZodString;
|
|
586
|
+
}, "strip", z.ZodTypeAny, {
|
|
587
|
+
url: string;
|
|
588
|
+
instructions: string;
|
|
589
|
+
name: string;
|
|
590
|
+
projectId: string;
|
|
591
|
+
useCaseId: string;
|
|
592
|
+
testCaseId: string;
|
|
593
|
+
goal: string;
|
|
594
|
+
precondition: string;
|
|
595
|
+
expectedResult: string;
|
|
596
|
+
}, {
|
|
597
|
+
url: string;
|
|
598
|
+
instructions: string;
|
|
599
|
+
name: string;
|
|
600
|
+
projectId: string;
|
|
601
|
+
useCaseId: string;
|
|
602
|
+
testCaseId: string;
|
|
603
|
+
goal: string;
|
|
604
|
+
precondition: string;
|
|
605
|
+
expectedResult: string;
|
|
606
|
+
}>;
|
|
607
|
+
export declare const WorkflowGetLatestScriptGenByTestCaseInputSchema: z.ZodObject<{
|
|
608
|
+
testCaseId: z.ZodString;
|
|
609
|
+
}, "strip", z.ZodTypeAny, {
|
|
610
|
+
testCaseId: string;
|
|
611
|
+
}, {
|
|
612
|
+
testCaseId: string;
|
|
613
|
+
}>;
|
|
614
|
+
export declare const WorkflowStartTestScriptReplayInputSchema: z.ZodObject<{
|
|
615
|
+
projectId: z.ZodString;
|
|
616
|
+
useCaseId: z.ZodString;
|
|
617
|
+
testCaseId: z.ZodString;
|
|
618
|
+
testScriptId: z.ZodString;
|
|
619
|
+
name: z.ZodString;
|
|
620
|
+
}, "strip", z.ZodTypeAny, {
|
|
621
|
+
name: string;
|
|
622
|
+
projectId: string;
|
|
623
|
+
useCaseId: string;
|
|
624
|
+
testCaseId: string;
|
|
625
|
+
testScriptId: string;
|
|
626
|
+
}, {
|
|
627
|
+
name: string;
|
|
628
|
+
projectId: string;
|
|
629
|
+
useCaseId: string;
|
|
630
|
+
testCaseId: string;
|
|
631
|
+
testScriptId: string;
|
|
632
|
+
}>;
|
|
633
|
+
export declare const WorkflowStartTestScriptReplayBulkInputSchema: z.ZodObject<{
|
|
634
|
+
projectId: z.ZodString;
|
|
635
|
+
name: z.ZodString;
|
|
636
|
+
intervalSec: z.ZodNumber;
|
|
637
|
+
useCaseId: z.ZodOptional<z.ZodString>;
|
|
638
|
+
namePrefix: z.ZodOptional<z.ZodString>;
|
|
639
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
640
|
+
testCaseIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
641
|
+
repeatPerTestCase: z.ZodOptional<z.ZodNumber>;
|
|
642
|
+
}, "strip", z.ZodTypeAny, {
|
|
643
|
+
name: string;
|
|
644
|
+
projectId: string;
|
|
645
|
+
intervalSec: number;
|
|
646
|
+
limit?: number | undefined;
|
|
647
|
+
useCaseId?: string | undefined;
|
|
648
|
+
namePrefix?: string | undefined;
|
|
649
|
+
testCaseIds?: string[] | undefined;
|
|
650
|
+
repeatPerTestCase?: number | undefined;
|
|
651
|
+
}, {
|
|
652
|
+
name: string;
|
|
653
|
+
projectId: string;
|
|
654
|
+
intervalSec: number;
|
|
655
|
+
limit?: number | undefined;
|
|
656
|
+
useCaseId?: string | undefined;
|
|
657
|
+
namePrefix?: string | undefined;
|
|
658
|
+
testCaseIds?: string[] | undefined;
|
|
659
|
+
repeatPerTestCase?: number | undefined;
|
|
660
|
+
}>;
|
|
661
|
+
export declare const WorkflowGetReplayBulkBatchSummaryInputSchema: z.ZodObject<{
|
|
662
|
+
runBatchId: z.ZodString;
|
|
663
|
+
}, "strip", z.ZodTypeAny, {
|
|
664
|
+
runBatchId: string;
|
|
665
|
+
}, {
|
|
666
|
+
runBatchId: string;
|
|
667
|
+
}>;
|
|
668
|
+
export declare const WorkflowCancelRunInputSchema: z.ZodObject<{
|
|
669
|
+
workflowRunId: z.ZodString;
|
|
670
|
+
}, "strip", z.ZodTypeAny, {
|
|
671
|
+
workflowRunId: string;
|
|
672
|
+
}, {
|
|
673
|
+
workflowRunId: string;
|
|
674
|
+
}>;
|
|
675
|
+
export declare const WorkflowCancelRuntimeInputSchema: z.ZodObject<{
|
|
676
|
+
workflowRuntimeId: z.ZodString;
|
|
677
|
+
}, "strip", z.ZodTypeAny, {
|
|
678
|
+
workflowRuntimeId: string;
|
|
679
|
+
}, {
|
|
680
|
+
workflowRuntimeId: string;
|
|
681
|
+
}>;
|
|
682
|
+
export declare const TestCaseListInputSchema: z.ZodObject<{
|
|
683
|
+
projectId: z.ZodString;
|
|
684
|
+
} & {
|
|
685
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
686
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
687
|
+
}, "strip", z.ZodTypeAny, {
|
|
688
|
+
projectId: string;
|
|
689
|
+
page?: number | undefined;
|
|
690
|
+
pageSize?: number | undefined;
|
|
691
|
+
}, {
|
|
692
|
+
projectId: string;
|
|
693
|
+
page?: number | undefined;
|
|
694
|
+
pageSize?: number | undefined;
|
|
695
|
+
}>;
|
|
696
|
+
export declare const TestCaseGetInputSchema: z.ZodObject<{
|
|
697
|
+
testCaseId: z.ZodString;
|
|
698
|
+
}, "strip", z.ZodTypeAny, {
|
|
699
|
+
testCaseId: string;
|
|
700
|
+
}, {
|
|
701
|
+
testCaseId: string;
|
|
702
|
+
}>;
|
|
703
|
+
export declare const TestCaseListByUseCaseInputSchema: z.ZodObject<{
|
|
704
|
+
useCaseId: z.ZodString;
|
|
705
|
+
}, "strip", z.ZodTypeAny, {
|
|
706
|
+
useCaseId: string;
|
|
707
|
+
}, {
|
|
708
|
+
useCaseId: string;
|
|
709
|
+
}>;
|
|
710
|
+
export declare const TestCaseGenerateFromPromptInputSchema: z.ZodObject<{
|
|
711
|
+
projectId: z.ZodString;
|
|
712
|
+
useCaseId: z.ZodString;
|
|
713
|
+
instruction: z.ZodString;
|
|
714
|
+
}, "strip", z.ZodTypeAny, {
|
|
715
|
+
projectId: string;
|
|
716
|
+
useCaseId: string;
|
|
717
|
+
instruction: string;
|
|
718
|
+
}, {
|
|
719
|
+
projectId: string;
|
|
720
|
+
useCaseId: string;
|
|
721
|
+
instruction: string;
|
|
722
|
+
}>;
|
|
723
|
+
export declare const TestCaseCreateInputSchema: z.ZodObject<{
|
|
724
|
+
projectId: z.ZodString;
|
|
725
|
+
useCaseId: z.ZodString;
|
|
726
|
+
title: z.ZodString;
|
|
727
|
+
description: z.ZodString;
|
|
728
|
+
goal: z.ZodString;
|
|
729
|
+
precondition: z.ZodOptional<z.ZodString>;
|
|
730
|
+
expectedResult: z.ZodString;
|
|
731
|
+
url: z.ZodString;
|
|
732
|
+
status: z.ZodOptional<z.ZodEnum<["DRAFT", "ACTIVE", "DEPRECATED", "ARCHIVED"]>>;
|
|
733
|
+
priority: z.ZodOptional<z.ZodEnum<["HIGH", "MEDIUM", "LOW"]>>;
|
|
734
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
735
|
+
category: z.ZodOptional<z.ZodString>;
|
|
736
|
+
automated: z.ZodOptional<z.ZodBoolean>;
|
|
737
|
+
}, "strip", z.ZodTypeAny, {
|
|
738
|
+
url: string;
|
|
739
|
+
description: string;
|
|
740
|
+
title: string;
|
|
741
|
+
projectId: string;
|
|
742
|
+
useCaseId: string;
|
|
743
|
+
goal: string;
|
|
744
|
+
expectedResult: string;
|
|
745
|
+
priority?: "HIGH" | "MEDIUM" | "LOW" | undefined;
|
|
746
|
+
status?: "DRAFT" | "ACTIVE" | "DEPRECATED" | "ARCHIVED" | undefined;
|
|
747
|
+
precondition?: string | undefined;
|
|
748
|
+
tags?: string[] | undefined;
|
|
749
|
+
category?: string | undefined;
|
|
750
|
+
automated?: boolean | undefined;
|
|
751
|
+
}, {
|
|
752
|
+
url: string;
|
|
753
|
+
description: string;
|
|
754
|
+
title: string;
|
|
755
|
+
projectId: string;
|
|
756
|
+
useCaseId: string;
|
|
757
|
+
goal: string;
|
|
758
|
+
expectedResult: string;
|
|
759
|
+
priority?: "HIGH" | "MEDIUM" | "LOW" | undefined;
|
|
760
|
+
status?: "DRAFT" | "ACTIVE" | "DEPRECATED" | "ARCHIVED" | undefined;
|
|
761
|
+
precondition?: string | undefined;
|
|
762
|
+
tags?: string[] | undefined;
|
|
763
|
+
category?: string | undefined;
|
|
764
|
+
automated?: boolean | undefined;
|
|
765
|
+
}>;
|
|
766
|
+
export declare const TestScriptListInputSchema: z.ZodObject<{
|
|
767
|
+
projectId: z.ZodString;
|
|
768
|
+
} & {
|
|
769
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
770
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
771
|
+
}, "strip", z.ZodTypeAny, {
|
|
772
|
+
projectId: string;
|
|
773
|
+
page?: number | undefined;
|
|
774
|
+
pageSize?: number | undefined;
|
|
775
|
+
}, {
|
|
776
|
+
projectId: string;
|
|
777
|
+
page?: number | undefined;
|
|
778
|
+
pageSize?: number | undefined;
|
|
779
|
+
}>;
|
|
780
|
+
export declare const TestScriptGetInputSchema: z.ZodObject<{
|
|
781
|
+
testScriptId: z.ZodString;
|
|
782
|
+
}, "strip", z.ZodTypeAny, {
|
|
783
|
+
testScriptId: string;
|
|
784
|
+
}, {
|
|
785
|
+
testScriptId: string;
|
|
786
|
+
}>;
|
|
787
|
+
export declare const TestScriptListPaginatedInputSchema: z.ZodObject<{
|
|
788
|
+
projectId: z.ZodString;
|
|
789
|
+
} & {
|
|
790
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
791
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
792
|
+
}, "strip", z.ZodTypeAny, {
|
|
793
|
+
projectId: string;
|
|
794
|
+
page?: number | undefined;
|
|
795
|
+
pageSize?: number | undefined;
|
|
796
|
+
}, {
|
|
797
|
+
projectId: string;
|
|
798
|
+
page?: number | undefined;
|
|
799
|
+
pageSize?: number | undefined;
|
|
800
|
+
}>;
|
|
801
|
+
export declare const ProjectTestResultsSummaryInputSchema: z.ZodObject<{
|
|
802
|
+
projectId: z.ZodString;
|
|
803
|
+
}, "strip", z.ZodTypeAny, {
|
|
804
|
+
projectId: string;
|
|
805
|
+
}, {
|
|
806
|
+
projectId: string;
|
|
807
|
+
}>;
|
|
808
|
+
export declare const ProjectTestScriptsSummaryInputSchema: z.ZodObject<{
|
|
809
|
+
projectId: z.ZodString;
|
|
810
|
+
}, "strip", z.ZodTypeAny, {
|
|
811
|
+
projectId: string;
|
|
812
|
+
}, {
|
|
813
|
+
projectId: string;
|
|
814
|
+
}>;
|
|
815
|
+
export declare const ProjectTestRunsSummaryInputSchema: z.ZodObject<{
|
|
816
|
+
projectId: z.ZodString;
|
|
817
|
+
}, "strip", z.ZodTypeAny, {
|
|
818
|
+
projectId: string;
|
|
819
|
+
}, {
|
|
820
|
+
projectId: string;
|
|
821
|
+
}>;
|
|
822
|
+
export declare const ReportStatsSummaryInputSchema: z.ZodObject<{
|
|
823
|
+
projectId: z.ZodString;
|
|
824
|
+
}, "strip", z.ZodTypeAny, {
|
|
825
|
+
projectId: string;
|
|
826
|
+
}, {
|
|
827
|
+
projectId: string;
|
|
828
|
+
}>;
|
|
829
|
+
export declare const ReportCostQueryInputSchema: z.ZodObject<{
|
|
830
|
+
projectId: z.ZodString;
|
|
831
|
+
startDateKey: z.ZodOptional<z.ZodString>;
|
|
832
|
+
endDateKey: z.ZodOptional<z.ZodString>;
|
|
833
|
+
filterType: z.ZodOptional<z.ZodString>;
|
|
834
|
+
filterIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
835
|
+
}, "strip", z.ZodTypeAny, {
|
|
836
|
+
projectId: string;
|
|
837
|
+
startDateKey?: string | undefined;
|
|
838
|
+
endDateKey?: string | undefined;
|
|
839
|
+
filterType?: string | undefined;
|
|
840
|
+
filterIds?: string[] | undefined;
|
|
841
|
+
}, {
|
|
842
|
+
projectId: string;
|
|
843
|
+
startDateKey?: string | undefined;
|
|
844
|
+
endDateKey?: string | undefined;
|
|
845
|
+
filterType?: string | undefined;
|
|
846
|
+
filterIds?: string[] | undefined;
|
|
847
|
+
}>;
|
|
848
|
+
export declare const ReportPreferencesUpsertInputSchema: z.ZodObject<{
|
|
849
|
+
projectId: z.ZodString;
|
|
850
|
+
channels: z.ZodArray<z.ZodEnum<["email", "sms", "webhook"]>, "many">;
|
|
851
|
+
emails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
852
|
+
phones: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
853
|
+
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
854
|
+
defaultExportFormat: z.ZodOptional<z.ZodString>;
|
|
855
|
+
}, "strip", z.ZodTypeAny, {
|
|
856
|
+
projectId: string;
|
|
857
|
+
channels: ("email" | "sms" | "webhook")[];
|
|
858
|
+
emails?: string[] | undefined;
|
|
859
|
+
phones?: string[] | undefined;
|
|
860
|
+
webhookUrl?: string | undefined;
|
|
861
|
+
defaultExportFormat?: string | undefined;
|
|
862
|
+
}, {
|
|
863
|
+
projectId: string;
|
|
864
|
+
channels: ("email" | "sms" | "webhook")[];
|
|
865
|
+
emails?: string[] | undefined;
|
|
866
|
+
phones?: string[] | undefined;
|
|
867
|
+
webhookUrl?: string | undefined;
|
|
868
|
+
defaultExportFormat?: string | undefined;
|
|
869
|
+
}>;
|
|
870
|
+
export declare const ReportFinalGenerateInputSchema: z.ZodObject<{
|
|
871
|
+
projectId: z.ZodString;
|
|
872
|
+
exportFormat: z.ZodEnum<["pdf", "html", "markdown"]>;
|
|
873
|
+
}, "strip", z.ZodTypeAny, {
|
|
874
|
+
projectId: string;
|
|
875
|
+
exportFormat: "pdf" | "html" | "markdown";
|
|
876
|
+
}, {
|
|
877
|
+
projectId: string;
|
|
878
|
+
exportFormat: "pdf" | "html" | "markdown";
|
|
879
|
+
}>;
|
|
880
|
+
export declare const RecommendScheduleInputSchema: z.ZodObject<{
|
|
881
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
882
|
+
testFrequency: z.ZodOptional<z.ZodEnum<["daily", "weekly", "onDemand"]>>;
|
|
883
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
884
|
+
}, "strip", z.ZodTypeAny, {
|
|
885
|
+
projectId?: string | undefined;
|
|
886
|
+
testFrequency?: "daily" | "weekly" | "onDemand" | undefined;
|
|
887
|
+
timezone?: string | undefined;
|
|
888
|
+
}, {
|
|
889
|
+
projectId?: string | undefined;
|
|
890
|
+
testFrequency?: "daily" | "weekly" | "onDemand" | undefined;
|
|
891
|
+
timezone?: string | undefined;
|
|
892
|
+
}>;
|
|
893
|
+
export declare const RecommendCicdSetupInputSchema: z.ZodObject<{
|
|
894
|
+
repositoryProvider: z.ZodOptional<z.ZodEnum<["github", "azureDevOps", "gitlab", "other"]>>;
|
|
895
|
+
cadence: z.ZodOptional<z.ZodEnum<["onPullRequest", "nightly", "onDemand"]>>;
|
|
896
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
897
|
+
}, "strip", z.ZodTypeAny, {
|
|
898
|
+
projectId?: string | undefined;
|
|
899
|
+
repositoryProvider?: "github" | "azureDevOps" | "gitlab" | "other" | undefined;
|
|
900
|
+
cadence?: "onDemand" | "onPullRequest" | "nightly" | undefined;
|
|
901
|
+
}, {
|
|
902
|
+
projectId?: string | undefined;
|
|
903
|
+
repositoryProvider?: "github" | "azureDevOps" | "gitlab" | "other" | undefined;
|
|
904
|
+
cadence?: "onDemand" | "onPullRequest" | "nightly" | undefined;
|
|
905
|
+
}>;
|
|
906
|
+
//# sourceMappingURL=schemas.d.ts.map
|