@muggleai/mcp 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +160 -0
- package/bin/muggle-mcp.js +2 -0
- package/dist/chunk-6DQWAMGJ.js +7626 -0
- package/dist/chunk-6DQWAMGJ.js.map +1 -0
- package/dist/cli/doctor.d.ts +8 -0
- package/dist/cli/doctor.d.ts.map +1 -0
- package/dist/cli/index.d.ts +9 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/login.d.ts +26 -0
- package/dist/cli/login.d.ts.map +1 -0
- package/dist/cli/main.d.ts +6 -0
- package/dist/cli/main.d.ts.map +1 -0
- package/dist/cli/serve.d.ts +20 -0
- package/dist/cli/serve.d.ts.map +1 -0
- package/dist/cli/setup.d.ts +16 -0
- package/dist/cli/setup.d.ts.map +1 -0
- package/dist/cli.js +305 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +36 -0
- package/dist/index.js.map +1 -0
- package/dist/local-qa/contracts/auth-schemas.d.ts +35 -0
- package/dist/local-qa/contracts/auth-schemas.d.ts.map +1 -0
- package/dist/local-qa/contracts/index.d.ts +7 -0
- package/dist/local-qa/contracts/index.d.ts.map +1 -0
- package/dist/local-qa/contracts/project-schemas.d.ts +1141 -0
- package/dist/local-qa/contracts/project-schemas.d.ts.map +1 -0
- package/dist/local-qa/contracts/session-schemas.d.ts +27 -0
- package/dist/local-qa/contracts/session-schemas.d.ts.map +1 -0
- package/dist/local-qa/index.d.ts +27 -0
- package/dist/local-qa/index.d.ts.map +1 -0
- package/dist/local-qa/services/auth-service.d.ts +79 -0
- package/dist/local-qa/services/auth-service.d.ts.map +1 -0
- package/dist/local-qa/services/execution-service.d.ts +55 -0
- package/dist/local-qa/services/execution-service.d.ts.map +1 -0
- package/dist/local-qa/services/index.d.ts +8 -0
- package/dist/local-qa/services/index.d.ts.map +1 -0
- package/dist/local-qa/services/project-storage-service.d.ts +262 -0
- package/dist/local-qa/services/project-storage-service.d.ts.map +1 -0
- package/dist/local-qa/services/storage-service.d.ts +166 -0
- package/dist/local-qa/services/storage-service.d.ts.map +1 -0
- package/dist/local-qa/tools/index.d.ts +5 -0
- package/dist/local-qa/tools/index.d.ts.map +1 -0
- package/dist/local-qa/tools/tool-registry.d.ts +18 -0
- package/dist/local-qa/tools/tool-registry.d.ts.map +1 -0
- package/dist/local-qa/types/auth-types.d.ts +97 -0
- package/dist/local-qa/types/auth-types.d.ts.map +1 -0
- package/dist/local-qa/types/config-types.d.ts +28 -0
- package/dist/local-qa/types/config-types.d.ts.map +1 -0
- package/dist/local-qa/types/enums.d.ts +141 -0
- package/dist/local-qa/types/enums.d.ts.map +1 -0
- package/dist/local-qa/types/index.d.ts +10 -0
- package/dist/local-qa/types/index.d.ts.map +1 -0
- package/dist/local-qa/types/project-types.d.ts +339 -0
- package/dist/local-qa/types/project-types.d.ts.map +1 -0
- package/dist/local-qa/types/storage-params.d.ts +544 -0
- package/dist/local-qa/types/storage-params.d.ts.map +1 -0
- package/dist/local-qa/types/tool-types.d.ts +38 -0
- package/dist/local-qa/types/tool-types.d.ts.map +1 -0
- package/dist/qa/contracts/index.d.ts +716 -0
- package/dist/qa/contracts/index.d.ts.map +1 -0
- package/dist/qa/index.d.ts +15 -0
- package/dist/qa/index.d.ts.map +1 -0
- package/dist/qa/tools/index.d.ts +5 -0
- package/dist/qa/tools/index.d.ts.map +1 -0
- package/dist/qa/tools/tool-registry.d.ts +22 -0
- package/dist/qa/tools/tool-registry.d.ts.map +1 -0
- package/dist/qa/types.d.ts +101 -0
- package/dist/qa/types.d.ts.map +1 -0
- package/dist/qa/upstream-client.d.ts +60 -0
- package/dist/qa/upstream-client.d.ts.map +1 -0
- package/dist/server/index.d.ts +6 -0
- package/dist/server/index.d.ts.map +1 -0
- package/dist/server/mcp-server.d.ts +34 -0
- package/dist/server/mcp-server.d.ts.map +1 -0
- package/dist/server/stdio-server.d.ts +11 -0
- package/dist/server/stdio-server.d.ts.map +1 -0
- package/dist/shared/auth.d.ts +75 -0
- package/dist/shared/auth.d.ts.map +1 -0
- package/dist/shared/config.d.ts +41 -0
- package/dist/shared/config.d.ts.map +1 -0
- package/dist/shared/credentials.d.ts +48 -0
- package/dist/shared/credentials.d.ts.map +1 -0
- package/dist/shared/index.d.ts +10 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/logger.d.ts +21 -0
- package/dist/shared/logger.d.ts.map +1 -0
- package/dist/shared/open-browser.d.ts +27 -0
- package/dist/shared/open-browser.d.ts.map +1 -0
- package/dist/shared/types.d.ts +178 -0
- package/dist/shared/types.d.ts.map +1 -0
- package/package.json +75 -0
- package/scripts/postinstall.mjs +153 -0
|
@@ -0,0 +1,716 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schemas/contracts for QA Gateway tools.
|
|
3
|
+
*/
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
/** Pagination input schema. */
|
|
6
|
+
export declare const PaginationInputSchema: z.ZodObject<{
|
|
7
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
page?: number | undefined;
|
|
11
|
+
pageSize?: number | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
page?: number | undefined;
|
|
14
|
+
pageSize?: number | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
/** ID string schema. */
|
|
17
|
+
export declare const IdSchema: z.ZodString;
|
|
18
|
+
/** Optional workflow parameters. */
|
|
19
|
+
export declare const WorkflowParamsSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20
|
+
export declare const ProjectCreateInputSchema: z.ZodObject<{
|
|
21
|
+
projectName: z.ZodString;
|
|
22
|
+
description: z.ZodString;
|
|
23
|
+
url: z.ZodString;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
description: string;
|
|
26
|
+
url: string;
|
|
27
|
+
projectName: string;
|
|
28
|
+
}, {
|
|
29
|
+
description: string;
|
|
30
|
+
url: string;
|
|
31
|
+
projectName: string;
|
|
32
|
+
}>;
|
|
33
|
+
export declare const ProjectGetInputSchema: z.ZodObject<{
|
|
34
|
+
projectId: z.ZodString;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
projectId: string;
|
|
37
|
+
}, {
|
|
38
|
+
projectId: string;
|
|
39
|
+
}>;
|
|
40
|
+
export declare const ProjectDeleteInputSchema: z.ZodObject<{
|
|
41
|
+
projectId: z.ZodString;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
projectId: string;
|
|
44
|
+
}, {
|
|
45
|
+
projectId: string;
|
|
46
|
+
}>;
|
|
47
|
+
export declare const ProjectUpdateInputSchema: z.ZodObject<{
|
|
48
|
+
projectId: z.ZodString;
|
|
49
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
50
|
+
description: z.ZodOptional<z.ZodString>;
|
|
51
|
+
url: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
projectId: string;
|
|
54
|
+
description?: string | undefined;
|
|
55
|
+
url?: string | undefined;
|
|
56
|
+
projectName?: string | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
projectId: string;
|
|
59
|
+
description?: string | undefined;
|
|
60
|
+
url?: string | undefined;
|
|
61
|
+
projectName?: string | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
export declare const ProjectListInputSchema: z.ZodObject<{
|
|
64
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
65
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
|
67
|
+
page?: number | undefined;
|
|
68
|
+
pageSize?: number | undefined;
|
|
69
|
+
}, {
|
|
70
|
+
page?: number | undefined;
|
|
71
|
+
pageSize?: number | undefined;
|
|
72
|
+
}>;
|
|
73
|
+
export declare const PrdFileUploadInputSchema: z.ZodObject<{
|
|
74
|
+
projectId: z.ZodString;
|
|
75
|
+
fileName: z.ZodString;
|
|
76
|
+
contentBase64: z.ZodString;
|
|
77
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
projectId: string;
|
|
80
|
+
fileName: string;
|
|
81
|
+
contentBase64: string;
|
|
82
|
+
contentType?: string | undefined;
|
|
83
|
+
}, {
|
|
84
|
+
projectId: string;
|
|
85
|
+
fileName: string;
|
|
86
|
+
contentBase64: string;
|
|
87
|
+
contentType?: string | undefined;
|
|
88
|
+
}>;
|
|
89
|
+
export declare const PrdFileListInputSchema: z.ZodObject<{
|
|
90
|
+
projectId: z.ZodString;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
projectId: string;
|
|
93
|
+
}, {
|
|
94
|
+
projectId: string;
|
|
95
|
+
}>;
|
|
96
|
+
export declare const PrdFileDeleteInputSchema: z.ZodObject<{
|
|
97
|
+
projectId: z.ZodString;
|
|
98
|
+
prdFileId: z.ZodString;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
projectId: string;
|
|
101
|
+
prdFileId: string;
|
|
102
|
+
}, {
|
|
103
|
+
projectId: string;
|
|
104
|
+
prdFileId: string;
|
|
105
|
+
}>;
|
|
106
|
+
export declare const PrdFileProcessStartInputSchema: z.ZodObject<{
|
|
107
|
+
projectId: z.ZodString;
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
description: z.ZodString;
|
|
110
|
+
prdFilePath: z.ZodString;
|
|
111
|
+
originalFileName: z.ZodString;
|
|
112
|
+
url: z.ZodString;
|
|
113
|
+
contentChecksum: z.ZodString;
|
|
114
|
+
fileSize: z.ZodNumber;
|
|
115
|
+
}, "strip", z.ZodTypeAny, {
|
|
116
|
+
description: string;
|
|
117
|
+
url: string;
|
|
118
|
+
name: string;
|
|
119
|
+
projectId: string;
|
|
120
|
+
prdFilePath: string;
|
|
121
|
+
originalFileName: string;
|
|
122
|
+
contentChecksum: string;
|
|
123
|
+
fileSize: number;
|
|
124
|
+
}, {
|
|
125
|
+
description: string;
|
|
126
|
+
url: string;
|
|
127
|
+
name: string;
|
|
128
|
+
projectId: string;
|
|
129
|
+
prdFilePath: string;
|
|
130
|
+
originalFileName: string;
|
|
131
|
+
contentChecksum: string;
|
|
132
|
+
fileSize: number;
|
|
133
|
+
}>;
|
|
134
|
+
export declare const PrdFileProcessLatestRunInputSchema: z.ZodObject<{
|
|
135
|
+
workflowRuntimeId: z.ZodString;
|
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
workflowRuntimeId: string;
|
|
138
|
+
}, {
|
|
139
|
+
workflowRuntimeId: string;
|
|
140
|
+
}>;
|
|
141
|
+
export declare const SecretListInputSchema: z.ZodObject<{
|
|
142
|
+
projectId: z.ZodString;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
projectId: string;
|
|
145
|
+
}, {
|
|
146
|
+
projectId: string;
|
|
147
|
+
}>;
|
|
148
|
+
export declare const SecretCreateInputSchema: z.ZodObject<{
|
|
149
|
+
projectId: z.ZodString;
|
|
150
|
+
name: z.ZodString;
|
|
151
|
+
value: z.ZodString;
|
|
152
|
+
description: z.ZodString;
|
|
153
|
+
source: z.ZodOptional<z.ZodEnum<["user", "agent"]>>;
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
value: string;
|
|
156
|
+
description: string;
|
|
157
|
+
name: string;
|
|
158
|
+
projectId: string;
|
|
159
|
+
source?: "user" | "agent" | undefined;
|
|
160
|
+
}, {
|
|
161
|
+
value: string;
|
|
162
|
+
description: string;
|
|
163
|
+
name: string;
|
|
164
|
+
projectId: string;
|
|
165
|
+
source?: "user" | "agent" | undefined;
|
|
166
|
+
}>;
|
|
167
|
+
export declare const SecretGetInputSchema: z.ZodObject<{
|
|
168
|
+
secretId: z.ZodString;
|
|
169
|
+
}, "strip", z.ZodTypeAny, {
|
|
170
|
+
secretId: string;
|
|
171
|
+
}, {
|
|
172
|
+
secretId: string;
|
|
173
|
+
}>;
|
|
174
|
+
export declare const SecretUpdateInputSchema: z.ZodObject<{
|
|
175
|
+
secretId: z.ZodString;
|
|
176
|
+
name: z.ZodOptional<z.ZodString>;
|
|
177
|
+
value: z.ZodOptional<z.ZodString>;
|
|
178
|
+
description: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, "strip", z.ZodTypeAny, {
|
|
180
|
+
secretId: string;
|
|
181
|
+
value?: string | undefined;
|
|
182
|
+
description?: string | undefined;
|
|
183
|
+
name?: string | undefined;
|
|
184
|
+
}, {
|
|
185
|
+
secretId: string;
|
|
186
|
+
value?: string | undefined;
|
|
187
|
+
description?: string | undefined;
|
|
188
|
+
name?: string | undefined;
|
|
189
|
+
}>;
|
|
190
|
+
export declare const SecretDeleteInputSchema: z.ZodObject<{
|
|
191
|
+
secretId: z.ZodString;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
secretId: string;
|
|
194
|
+
}, {
|
|
195
|
+
secretId: string;
|
|
196
|
+
}>;
|
|
197
|
+
export declare const UseCaseDiscoveryMemoryGetInputSchema: z.ZodObject<{
|
|
198
|
+
projectId: z.ZodString;
|
|
199
|
+
}, "strip", z.ZodTypeAny, {
|
|
200
|
+
projectId: string;
|
|
201
|
+
}, {
|
|
202
|
+
projectId: string;
|
|
203
|
+
}>;
|
|
204
|
+
export declare const UseCaseCandidatesApproveInputSchema: z.ZodObject<{
|
|
205
|
+
projectId: z.ZodString;
|
|
206
|
+
approvedCandidateIds: z.ZodArray<z.ZodString, "many">;
|
|
207
|
+
}, "strip", z.ZodTypeAny, {
|
|
208
|
+
projectId: string;
|
|
209
|
+
approvedCandidateIds: string[];
|
|
210
|
+
}, {
|
|
211
|
+
projectId: string;
|
|
212
|
+
approvedCandidateIds: string[];
|
|
213
|
+
}>;
|
|
214
|
+
export declare const UseCaseListInputSchema: z.ZodObject<{
|
|
215
|
+
projectId: z.ZodString;
|
|
216
|
+
} & {
|
|
217
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
218
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
219
|
+
}, "strip", z.ZodTypeAny, {
|
|
220
|
+
projectId: string;
|
|
221
|
+
page?: number | undefined;
|
|
222
|
+
pageSize?: number | undefined;
|
|
223
|
+
}, {
|
|
224
|
+
projectId: string;
|
|
225
|
+
page?: number | undefined;
|
|
226
|
+
pageSize?: number | undefined;
|
|
227
|
+
}>;
|
|
228
|
+
export declare const UseCaseGetInputSchema: z.ZodObject<{
|
|
229
|
+
useCaseId: z.ZodString;
|
|
230
|
+
}, "strip", z.ZodTypeAny, {
|
|
231
|
+
useCaseId: string;
|
|
232
|
+
}, {
|
|
233
|
+
useCaseId: string;
|
|
234
|
+
}>;
|
|
235
|
+
export declare const UseCasePromptPreviewInputSchema: z.ZodObject<{
|
|
236
|
+
projectId: z.ZodString;
|
|
237
|
+
instruction: z.ZodString;
|
|
238
|
+
}, "strip", z.ZodTypeAny, {
|
|
239
|
+
projectId: string;
|
|
240
|
+
instruction: string;
|
|
241
|
+
}, {
|
|
242
|
+
projectId: string;
|
|
243
|
+
instruction: string;
|
|
244
|
+
}>;
|
|
245
|
+
export declare const UseCaseCreateFromPromptsInputSchema: z.ZodObject<{
|
|
246
|
+
projectId: z.ZodString;
|
|
247
|
+
prompts: z.ZodArray<z.ZodObject<{
|
|
248
|
+
instruction: z.ZodString;
|
|
249
|
+
}, "strip", z.ZodTypeAny, {
|
|
250
|
+
instruction: string;
|
|
251
|
+
}, {
|
|
252
|
+
instruction: string;
|
|
253
|
+
}>, "many">;
|
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
|
255
|
+
prompts: {
|
|
256
|
+
instruction: string;
|
|
257
|
+
}[];
|
|
258
|
+
projectId: string;
|
|
259
|
+
}, {
|
|
260
|
+
prompts: {
|
|
261
|
+
instruction: string;
|
|
262
|
+
}[];
|
|
263
|
+
projectId: string;
|
|
264
|
+
}>;
|
|
265
|
+
export declare const UseCaseUpdateFromPromptInputSchema: z.ZodObject<{
|
|
266
|
+
projectId: z.ZodString;
|
|
267
|
+
useCaseId: z.ZodString;
|
|
268
|
+
instruction: z.ZodString;
|
|
269
|
+
}, "strip", z.ZodTypeAny, {
|
|
270
|
+
projectId: string;
|
|
271
|
+
useCaseId: string;
|
|
272
|
+
instruction: string;
|
|
273
|
+
}, {
|
|
274
|
+
projectId: string;
|
|
275
|
+
useCaseId: string;
|
|
276
|
+
instruction: string;
|
|
277
|
+
}>;
|
|
278
|
+
export declare const TestCaseListInputSchema: z.ZodObject<{
|
|
279
|
+
projectId: z.ZodString;
|
|
280
|
+
} & {
|
|
281
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
282
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
283
|
+
}, "strip", z.ZodTypeAny, {
|
|
284
|
+
projectId: string;
|
|
285
|
+
page?: number | undefined;
|
|
286
|
+
pageSize?: number | undefined;
|
|
287
|
+
}, {
|
|
288
|
+
projectId: string;
|
|
289
|
+
page?: number | undefined;
|
|
290
|
+
pageSize?: number | undefined;
|
|
291
|
+
}>;
|
|
292
|
+
export declare const TestCaseGetInputSchema: z.ZodObject<{
|
|
293
|
+
testCaseId: z.ZodString;
|
|
294
|
+
}, "strip", z.ZodTypeAny, {
|
|
295
|
+
testCaseId: string;
|
|
296
|
+
}, {
|
|
297
|
+
testCaseId: string;
|
|
298
|
+
}>;
|
|
299
|
+
export declare const TestCaseListByUseCaseInputSchema: z.ZodObject<{
|
|
300
|
+
useCaseId: z.ZodString;
|
|
301
|
+
}, "strip", z.ZodTypeAny, {
|
|
302
|
+
useCaseId: string;
|
|
303
|
+
}, {
|
|
304
|
+
useCaseId: string;
|
|
305
|
+
}>;
|
|
306
|
+
export declare const TestCaseGenerateFromPromptInputSchema: z.ZodObject<{
|
|
307
|
+
projectId: z.ZodString;
|
|
308
|
+
useCaseId: z.ZodString;
|
|
309
|
+
instruction: z.ZodString;
|
|
310
|
+
}, "strip", z.ZodTypeAny, {
|
|
311
|
+
projectId: string;
|
|
312
|
+
useCaseId: string;
|
|
313
|
+
instruction: string;
|
|
314
|
+
}, {
|
|
315
|
+
projectId: string;
|
|
316
|
+
useCaseId: string;
|
|
317
|
+
instruction: string;
|
|
318
|
+
}>;
|
|
319
|
+
export declare const TestCaseCreateInputSchema: z.ZodObject<{
|
|
320
|
+
projectId: z.ZodString;
|
|
321
|
+
useCaseId: z.ZodString;
|
|
322
|
+
title: z.ZodString;
|
|
323
|
+
description: z.ZodString;
|
|
324
|
+
goal: z.ZodString;
|
|
325
|
+
precondition: z.ZodOptional<z.ZodString>;
|
|
326
|
+
expectedResult: z.ZodString;
|
|
327
|
+
url: z.ZodString;
|
|
328
|
+
status: z.ZodOptional<z.ZodEnum<["DRAFT", "ACTIVE", "DEPRECATED", "ARCHIVED"]>>;
|
|
329
|
+
priority: z.ZodOptional<z.ZodEnum<["HIGH", "MEDIUM", "LOW"]>>;
|
|
330
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
331
|
+
category: z.ZodOptional<z.ZodString>;
|
|
332
|
+
automated: z.ZodOptional<z.ZodBoolean>;
|
|
333
|
+
}, "strip", z.ZodTypeAny, {
|
|
334
|
+
description: string;
|
|
335
|
+
url: string;
|
|
336
|
+
title: string;
|
|
337
|
+
projectId: string;
|
|
338
|
+
useCaseId: string;
|
|
339
|
+
goal: string;
|
|
340
|
+
expectedResult: string;
|
|
341
|
+
status?: "DRAFT" | "ACTIVE" | "DEPRECATED" | "ARCHIVED" | undefined;
|
|
342
|
+
priority?: "HIGH" | "MEDIUM" | "LOW" | undefined;
|
|
343
|
+
precondition?: string | undefined;
|
|
344
|
+
tags?: string[] | undefined;
|
|
345
|
+
category?: string | undefined;
|
|
346
|
+
automated?: boolean | undefined;
|
|
347
|
+
}, {
|
|
348
|
+
description: string;
|
|
349
|
+
url: string;
|
|
350
|
+
title: string;
|
|
351
|
+
projectId: string;
|
|
352
|
+
useCaseId: string;
|
|
353
|
+
goal: string;
|
|
354
|
+
expectedResult: string;
|
|
355
|
+
status?: "DRAFT" | "ACTIVE" | "DEPRECATED" | "ARCHIVED" | undefined;
|
|
356
|
+
priority?: "HIGH" | "MEDIUM" | "LOW" | undefined;
|
|
357
|
+
precondition?: string | undefined;
|
|
358
|
+
tags?: string[] | undefined;
|
|
359
|
+
category?: string | undefined;
|
|
360
|
+
automated?: boolean | undefined;
|
|
361
|
+
}>;
|
|
362
|
+
export declare const TestScriptListInputSchema: z.ZodObject<{
|
|
363
|
+
projectId: z.ZodString;
|
|
364
|
+
} & {
|
|
365
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
366
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
367
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
|
+
projectId: string;
|
|
369
|
+
page?: number | undefined;
|
|
370
|
+
pageSize?: number | undefined;
|
|
371
|
+
}, {
|
|
372
|
+
projectId: string;
|
|
373
|
+
page?: number | undefined;
|
|
374
|
+
pageSize?: number | undefined;
|
|
375
|
+
}>;
|
|
376
|
+
export declare const TestScriptGetInputSchema: z.ZodObject<{
|
|
377
|
+
testScriptId: z.ZodString;
|
|
378
|
+
}, "strip", z.ZodTypeAny, {
|
|
379
|
+
testScriptId: string;
|
|
380
|
+
}, {
|
|
381
|
+
testScriptId: string;
|
|
382
|
+
}>;
|
|
383
|
+
export declare const TestScriptListPaginatedInputSchema: z.ZodObject<{
|
|
384
|
+
projectId: z.ZodString;
|
|
385
|
+
} & {
|
|
386
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
387
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
388
|
+
}, "strip", z.ZodTypeAny, {
|
|
389
|
+
projectId: string;
|
|
390
|
+
page?: number | undefined;
|
|
391
|
+
pageSize?: number | undefined;
|
|
392
|
+
}, {
|
|
393
|
+
projectId: string;
|
|
394
|
+
page?: number | undefined;
|
|
395
|
+
pageSize?: number | undefined;
|
|
396
|
+
}>;
|
|
397
|
+
export declare const WorkflowStartWebsiteScanInputSchema: z.ZodObject<{
|
|
398
|
+
projectId: z.ZodString;
|
|
399
|
+
url: z.ZodString;
|
|
400
|
+
description: z.ZodString;
|
|
401
|
+
archiveUnapproved: z.ZodOptional<z.ZodBoolean>;
|
|
402
|
+
workflowParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
403
|
+
}, "strip", z.ZodTypeAny, {
|
|
404
|
+
description: string;
|
|
405
|
+
url: string;
|
|
406
|
+
projectId: string;
|
|
407
|
+
archiveUnapproved?: boolean | undefined;
|
|
408
|
+
workflowParams?: Record<string, unknown> | undefined;
|
|
409
|
+
}, {
|
|
410
|
+
description: string;
|
|
411
|
+
url: string;
|
|
412
|
+
projectId: string;
|
|
413
|
+
archiveUnapproved?: boolean | undefined;
|
|
414
|
+
workflowParams?: Record<string, unknown> | undefined;
|
|
415
|
+
}>;
|
|
416
|
+
export declare const WorkflowListRuntimesInputSchema: z.ZodObject<{
|
|
417
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
418
|
+
}, "strip", z.ZodTypeAny, {
|
|
419
|
+
projectId?: string | undefined;
|
|
420
|
+
}, {
|
|
421
|
+
projectId?: string | undefined;
|
|
422
|
+
}>;
|
|
423
|
+
export declare const WorkflowGetLatestRunInputSchema: z.ZodObject<{
|
|
424
|
+
workflowRuntimeId: z.ZodString;
|
|
425
|
+
}, "strip", z.ZodTypeAny, {
|
|
426
|
+
workflowRuntimeId: string;
|
|
427
|
+
}, {
|
|
428
|
+
workflowRuntimeId: string;
|
|
429
|
+
}>;
|
|
430
|
+
export declare const WorkflowStartTestCaseDetectionInputSchema: z.ZodObject<{
|
|
431
|
+
projectId: z.ZodString;
|
|
432
|
+
useCaseId: z.ZodString;
|
|
433
|
+
name: z.ZodString;
|
|
434
|
+
description: z.ZodString;
|
|
435
|
+
url: z.ZodString;
|
|
436
|
+
workflowParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
437
|
+
}, "strip", z.ZodTypeAny, {
|
|
438
|
+
description: string;
|
|
439
|
+
url: string;
|
|
440
|
+
name: string;
|
|
441
|
+
projectId: string;
|
|
442
|
+
useCaseId: string;
|
|
443
|
+
workflowParams?: Record<string, unknown> | undefined;
|
|
444
|
+
}, {
|
|
445
|
+
description: string;
|
|
446
|
+
url: string;
|
|
447
|
+
name: string;
|
|
448
|
+
projectId: string;
|
|
449
|
+
useCaseId: string;
|
|
450
|
+
workflowParams?: Record<string, unknown> | undefined;
|
|
451
|
+
}>;
|
|
452
|
+
export declare const WorkflowStartTestScriptGenerationInputSchema: z.ZodObject<{
|
|
453
|
+
projectId: z.ZodString;
|
|
454
|
+
useCaseId: z.ZodString;
|
|
455
|
+
testCaseId: z.ZodString;
|
|
456
|
+
name: z.ZodString;
|
|
457
|
+
url: z.ZodString;
|
|
458
|
+
goal: z.ZodString;
|
|
459
|
+
precondition: z.ZodString;
|
|
460
|
+
instructions: z.ZodString;
|
|
461
|
+
expectedResult: z.ZodString;
|
|
462
|
+
workflowParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
463
|
+
}, "strip", z.ZodTypeAny, {
|
|
464
|
+
url: string;
|
|
465
|
+
name: string;
|
|
466
|
+
instructions: string;
|
|
467
|
+
projectId: string;
|
|
468
|
+
useCaseId: string;
|
|
469
|
+
testCaseId: string;
|
|
470
|
+
goal: string;
|
|
471
|
+
precondition: string;
|
|
472
|
+
expectedResult: string;
|
|
473
|
+
workflowParams?: Record<string, unknown> | undefined;
|
|
474
|
+
}, {
|
|
475
|
+
url: string;
|
|
476
|
+
name: string;
|
|
477
|
+
instructions: string;
|
|
478
|
+
projectId: string;
|
|
479
|
+
useCaseId: string;
|
|
480
|
+
testCaseId: string;
|
|
481
|
+
goal: string;
|
|
482
|
+
precondition: string;
|
|
483
|
+
expectedResult: string;
|
|
484
|
+
workflowParams?: Record<string, unknown> | undefined;
|
|
485
|
+
}>;
|
|
486
|
+
export declare const WorkflowGetLatestScriptGenByTestCaseInputSchema: z.ZodObject<{
|
|
487
|
+
testCaseId: z.ZodString;
|
|
488
|
+
}, "strip", z.ZodTypeAny, {
|
|
489
|
+
testCaseId: string;
|
|
490
|
+
}, {
|
|
491
|
+
testCaseId: string;
|
|
492
|
+
}>;
|
|
493
|
+
export declare const WorkflowStartTestScriptReplayInputSchema: z.ZodObject<{
|
|
494
|
+
projectId: z.ZodString;
|
|
495
|
+
useCaseId: z.ZodString;
|
|
496
|
+
testCaseId: z.ZodString;
|
|
497
|
+
testScriptId: z.ZodString;
|
|
498
|
+
name: z.ZodString;
|
|
499
|
+
workflowParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
500
|
+
}, "strip", z.ZodTypeAny, {
|
|
501
|
+
name: string;
|
|
502
|
+
projectId: string;
|
|
503
|
+
useCaseId: string;
|
|
504
|
+
testCaseId: string;
|
|
505
|
+
testScriptId: string;
|
|
506
|
+
workflowParams?: Record<string, unknown> | undefined;
|
|
507
|
+
}, {
|
|
508
|
+
name: string;
|
|
509
|
+
projectId: string;
|
|
510
|
+
useCaseId: string;
|
|
511
|
+
testCaseId: string;
|
|
512
|
+
testScriptId: string;
|
|
513
|
+
workflowParams?: Record<string, unknown> | undefined;
|
|
514
|
+
}>;
|
|
515
|
+
export declare const WorkflowStartTestScriptReplayBulkInputSchema: z.ZodObject<{
|
|
516
|
+
projectId: z.ZodString;
|
|
517
|
+
name: z.ZodString;
|
|
518
|
+
intervalSec: z.ZodNumber;
|
|
519
|
+
useCaseId: z.ZodOptional<z.ZodString>;
|
|
520
|
+
namePrefix: z.ZodOptional<z.ZodString>;
|
|
521
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
522
|
+
testCaseIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
523
|
+
repeatPerTestCase: z.ZodOptional<z.ZodNumber>;
|
|
524
|
+
workflowParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
525
|
+
}, "strip", z.ZodTypeAny, {
|
|
526
|
+
name: string;
|
|
527
|
+
projectId: string;
|
|
528
|
+
intervalSec: number;
|
|
529
|
+
useCaseId?: string | undefined;
|
|
530
|
+
workflowParams?: Record<string, unknown> | undefined;
|
|
531
|
+
namePrefix?: string | undefined;
|
|
532
|
+
limit?: number | undefined;
|
|
533
|
+
testCaseIds?: string[] | undefined;
|
|
534
|
+
repeatPerTestCase?: number | undefined;
|
|
535
|
+
}, {
|
|
536
|
+
name: string;
|
|
537
|
+
projectId: string;
|
|
538
|
+
intervalSec: number;
|
|
539
|
+
useCaseId?: string | undefined;
|
|
540
|
+
workflowParams?: Record<string, unknown> | undefined;
|
|
541
|
+
namePrefix?: string | undefined;
|
|
542
|
+
limit?: number | undefined;
|
|
543
|
+
testCaseIds?: string[] | undefined;
|
|
544
|
+
repeatPerTestCase?: number | undefined;
|
|
545
|
+
}>;
|
|
546
|
+
export declare const WorkflowGetReplayBulkBatchSummaryInputSchema: z.ZodObject<{
|
|
547
|
+
runBatchId: z.ZodString;
|
|
548
|
+
}, "strip", z.ZodTypeAny, {
|
|
549
|
+
runBatchId: string;
|
|
550
|
+
}, {
|
|
551
|
+
runBatchId: string;
|
|
552
|
+
}>;
|
|
553
|
+
export declare const WorkflowCancelRunInputSchema: z.ZodObject<{
|
|
554
|
+
workflowRunId: z.ZodString;
|
|
555
|
+
}, "strip", z.ZodTypeAny, {
|
|
556
|
+
workflowRunId: string;
|
|
557
|
+
}, {
|
|
558
|
+
workflowRunId: string;
|
|
559
|
+
}>;
|
|
560
|
+
export declare const WorkflowCancelRuntimeInputSchema: z.ZodObject<{
|
|
561
|
+
workflowRuntimeId: z.ZodString;
|
|
562
|
+
}, "strip", z.ZodTypeAny, {
|
|
563
|
+
workflowRuntimeId: string;
|
|
564
|
+
}, {
|
|
565
|
+
workflowRuntimeId: string;
|
|
566
|
+
}>;
|
|
567
|
+
export declare const ProjectTestResultsSummaryInputSchema: z.ZodObject<{
|
|
568
|
+
projectId: z.ZodString;
|
|
569
|
+
}, "strip", z.ZodTypeAny, {
|
|
570
|
+
projectId: string;
|
|
571
|
+
}, {
|
|
572
|
+
projectId: string;
|
|
573
|
+
}>;
|
|
574
|
+
export declare const ProjectTestScriptsSummaryInputSchema: z.ZodObject<{
|
|
575
|
+
projectId: z.ZodString;
|
|
576
|
+
}, "strip", z.ZodTypeAny, {
|
|
577
|
+
projectId: string;
|
|
578
|
+
}, {
|
|
579
|
+
projectId: string;
|
|
580
|
+
}>;
|
|
581
|
+
export declare const ProjectTestRunsSummaryInputSchema: z.ZodObject<{
|
|
582
|
+
projectId: z.ZodString;
|
|
583
|
+
}, "strip", z.ZodTypeAny, {
|
|
584
|
+
projectId: string;
|
|
585
|
+
}, {
|
|
586
|
+
projectId: string;
|
|
587
|
+
}>;
|
|
588
|
+
export declare const ReportStatsSummaryInputSchema: z.ZodObject<{
|
|
589
|
+
projectId: z.ZodString;
|
|
590
|
+
}, "strip", z.ZodTypeAny, {
|
|
591
|
+
projectId: string;
|
|
592
|
+
}, {
|
|
593
|
+
projectId: string;
|
|
594
|
+
}>;
|
|
595
|
+
export declare const ReportCostQueryInputSchema: z.ZodObject<{
|
|
596
|
+
projectId: z.ZodString;
|
|
597
|
+
startDateKey: z.ZodOptional<z.ZodString>;
|
|
598
|
+
endDateKey: z.ZodOptional<z.ZodString>;
|
|
599
|
+
filterType: z.ZodOptional<z.ZodString>;
|
|
600
|
+
filterIds: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
601
|
+
}, "strip", z.ZodTypeAny, {
|
|
602
|
+
projectId: string;
|
|
603
|
+
startDateKey?: string | undefined;
|
|
604
|
+
endDateKey?: string | undefined;
|
|
605
|
+
filterType?: string | undefined;
|
|
606
|
+
filterIds?: unknown[] | undefined;
|
|
607
|
+
}, {
|
|
608
|
+
projectId: string;
|
|
609
|
+
startDateKey?: string | undefined;
|
|
610
|
+
endDateKey?: string | undefined;
|
|
611
|
+
filterType?: string | undefined;
|
|
612
|
+
filterIds?: unknown[] | undefined;
|
|
613
|
+
}>;
|
|
614
|
+
export declare const ReportPreferencesUpsertInputSchema: z.ZodObject<{
|
|
615
|
+
projectId: z.ZodString;
|
|
616
|
+
channels: z.ZodArray<z.ZodUnknown, "many">;
|
|
617
|
+
emails: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
618
|
+
phones: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
619
|
+
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
620
|
+
defaultExportFormat: z.ZodOptional<z.ZodString>;
|
|
621
|
+
}, "strip", z.ZodTypeAny, {
|
|
622
|
+
projectId: string;
|
|
623
|
+
channels: unknown[];
|
|
624
|
+
emails?: unknown[] | undefined;
|
|
625
|
+
phones?: unknown[] | undefined;
|
|
626
|
+
webhookUrl?: string | undefined;
|
|
627
|
+
defaultExportFormat?: string | undefined;
|
|
628
|
+
}, {
|
|
629
|
+
projectId: string;
|
|
630
|
+
channels: unknown[];
|
|
631
|
+
emails?: unknown[] | undefined;
|
|
632
|
+
phones?: unknown[] | undefined;
|
|
633
|
+
webhookUrl?: string | undefined;
|
|
634
|
+
defaultExportFormat?: string | undefined;
|
|
635
|
+
}>;
|
|
636
|
+
export declare const ReportFinalGenerateInputSchema: z.ZodObject<{
|
|
637
|
+
projectId: z.ZodString;
|
|
638
|
+
exportFormat: z.ZodEnum<["pdf", "html", "markdown"]>;
|
|
639
|
+
}, "strip", z.ZodTypeAny, {
|
|
640
|
+
projectId: string;
|
|
641
|
+
exportFormat: "pdf" | "html" | "markdown";
|
|
642
|
+
}, {
|
|
643
|
+
projectId: string;
|
|
644
|
+
exportFormat: "pdf" | "html" | "markdown";
|
|
645
|
+
}>;
|
|
646
|
+
export declare const WalletTopUpInputSchema: z.ZodObject<{
|
|
647
|
+
packageId: z.ZodString;
|
|
648
|
+
checkoutSuccessCallback: z.ZodString;
|
|
649
|
+
checkoutCancelCallback: z.ZodString;
|
|
650
|
+
}, "strip", z.ZodTypeAny, {
|
|
651
|
+
packageId: string;
|
|
652
|
+
checkoutSuccessCallback: string;
|
|
653
|
+
checkoutCancelCallback: string;
|
|
654
|
+
}, {
|
|
655
|
+
packageId: string;
|
|
656
|
+
checkoutSuccessCallback: string;
|
|
657
|
+
checkoutCancelCallback: string;
|
|
658
|
+
}>;
|
|
659
|
+
export declare const WalletPaymentMethodCreateSetupSessionInputSchema: z.ZodObject<{
|
|
660
|
+
checkoutSuccessCallback: z.ZodString;
|
|
661
|
+
checkoutCancelCallback: z.ZodString;
|
|
662
|
+
}, "strip", z.ZodTypeAny, {
|
|
663
|
+
checkoutSuccessCallback: string;
|
|
664
|
+
checkoutCancelCallback: string;
|
|
665
|
+
}, {
|
|
666
|
+
checkoutSuccessCallback: string;
|
|
667
|
+
checkoutCancelCallback: string;
|
|
668
|
+
}>;
|
|
669
|
+
export declare const WalletAutoTopUpSetPaymentMethodInputSchema: z.ZodObject<{
|
|
670
|
+
paymentMethodId: z.ZodString;
|
|
671
|
+
}, "strip", z.ZodTypeAny, {
|
|
672
|
+
paymentMethodId: string;
|
|
673
|
+
}, {
|
|
674
|
+
paymentMethodId: string;
|
|
675
|
+
}>;
|
|
676
|
+
export declare const WalletPaymentMethodListInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
677
|
+
export declare const WalletAutoTopUpUpdateInputSchema: z.ZodObject<{
|
|
678
|
+
enabled: z.ZodBoolean;
|
|
679
|
+
topUpTriggerTokenThreshold: z.ZodNumber;
|
|
680
|
+
packageId: z.ZodString;
|
|
681
|
+
}, "strip", z.ZodTypeAny, {
|
|
682
|
+
packageId: string;
|
|
683
|
+
enabled: boolean;
|
|
684
|
+
topUpTriggerTokenThreshold: number;
|
|
685
|
+
}, {
|
|
686
|
+
packageId: string;
|
|
687
|
+
enabled: boolean;
|
|
688
|
+
topUpTriggerTokenThreshold: number;
|
|
689
|
+
}>;
|
|
690
|
+
export declare const RecommendScheduleInputSchema: z.ZodObject<{
|
|
691
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
692
|
+
testFrequency: z.ZodOptional<z.ZodEnum<["daily", "weekly", "onDemand"]>>;
|
|
693
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
694
|
+
}, "strip", z.ZodTypeAny, {
|
|
695
|
+
projectId?: string | undefined;
|
|
696
|
+
testFrequency?: "daily" | "weekly" | "onDemand" | undefined;
|
|
697
|
+
timezone?: string | undefined;
|
|
698
|
+
}, {
|
|
699
|
+
projectId?: string | undefined;
|
|
700
|
+
testFrequency?: "daily" | "weekly" | "onDemand" | undefined;
|
|
701
|
+
timezone?: string | undefined;
|
|
702
|
+
}>;
|
|
703
|
+
export declare const RecommendCicdSetupInputSchema: z.ZodObject<{
|
|
704
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
705
|
+
repositoryProvider: z.ZodOptional<z.ZodEnum<["github", "azureDevOps", "gitlab", "other"]>>;
|
|
706
|
+
cadence: z.ZodOptional<z.ZodEnum<["onPullRequest", "nightly", "onDemand"]>>;
|
|
707
|
+
}, "strip", z.ZodTypeAny, {
|
|
708
|
+
projectId?: string | undefined;
|
|
709
|
+
repositoryProvider?: "github" | "azureDevOps" | "gitlab" | "other" | undefined;
|
|
710
|
+
cadence?: "onDemand" | "onPullRequest" | "nightly" | undefined;
|
|
711
|
+
}, {
|
|
712
|
+
projectId?: string | undefined;
|
|
713
|
+
repositoryProvider?: "github" | "azureDevOps" | "gitlab" | "other" | undefined;
|
|
714
|
+
cadence?: "onDemand" | "onPullRequest" | "nightly" | undefined;
|
|
715
|
+
}>;
|
|
716
|
+
//# sourceMappingURL=index.d.ts.map
|