accessflow-mcp-server 2.0.2 → 2.0.3
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/dist/services/apiSchemas.d.ts +1299 -111
- package/dist/services/apiSchemas.d.ts.map +1 -1
- package/dist/services/apiSchemas.js +132 -30
- package/dist/services/apiSchemas.js.map +1 -1
- package/dist/services/apiService.js +2 -2
- package/dist/services/apiService.js.map +1 -1
- package/dist/tools/getIssueRemediation.d.ts.map +1 -1
- package/dist/tools/getIssueRemediation.js +3 -10
- package/dist/tools/getIssueRemediation.js.map +1 -1
- package/dist/tools/getMostUrgentIssues.d.ts.map +1 -1
- package/dist/tools/getMostUrgentIssues.js +1 -14
- package/dist/tools/getMostUrgentIssues.js.map +1 -1
- package/dist/types/issues.d.ts +1 -1
- package/dist/types/issues.d.ts.map +1 -1
- package/dist/types/remediation.d.ts +2 -20
- package/dist/types/remediation.d.ts.map +1 -1
- package/dist/types/remediation.js +1 -1
- package/dist/utils/remediation.d.ts +2 -10
- package/dist/utils/remediation.d.ts.map +1 -1
- package/dist/utils/remediation.js +2 -22
- package/dist/utils/remediation.js.map +1 -1
- package/package.json +1 -1
- package/dist/data/rules.json +0 -4591
- package/dist/services/rulesService.d.ts +0 -10
- package/dist/services/rulesService.d.ts.map +0 -1
- package/dist/services/rulesService.js +0 -70
- package/dist/services/rulesService.js.map +0 -1
|
@@ -6,9 +6,10 @@ import { z } from 'zod';
|
|
|
6
6
|
export declare const Device: z.ZodEnum<["desktop", "mobile", "cross"]>;
|
|
7
7
|
export declare const ResolutionType: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>;
|
|
8
8
|
export declare const SeveritySchema: z.ZodEnum<["extreme", "high", "medium", "low"]>;
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
10
10
|
export declare const AltTextFeedbackSchema: z.ZodEnum<["positive", "negative"]>;
|
|
11
11
|
export declare const DismissedReason: z.ZodEnum<["duplicate", "falsePositive", "notApplicable", "willNotFix"]>;
|
|
12
|
+
export declare const Criteria: z.ZodEnum<["clickables", "readability", "headings", "tables", "errors", "context", "forms", "keyboard", "graphics", "navigation", "document", "carousels", "aria", "general", "interactive-content", "landmarks", "lists", "metadata", "tabs"]>;
|
|
12
13
|
export declare const DismissedReasonSchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
14
|
comment: z.ZodOptional<z.ZodString>;
|
|
14
15
|
type: z.ZodOptional<z.ZodEnum<["duplicate", "falsePositive", "notApplicable", "willNotFix"]>>;
|
|
@@ -75,172 +76,1357 @@ export declare const FalsePositiveAiValidationSchema: z.ZodObject<{
|
|
|
75
76
|
userText: string;
|
|
76
77
|
} | null | undefined;
|
|
77
78
|
}>;
|
|
78
|
-
export declare const
|
|
79
|
-
|
|
79
|
+
export declare const RuleSchema: z.ZodObject<{
|
|
80
|
+
addSROnlyCSS: z.ZodBoolean;
|
|
81
|
+
criteria: z.ZodEnum<["clickables", "readability", "headings", "tables", "errors", "context", "forms", "keyboard", "graphics", "navigation", "document", "carousels", "aria", "general", "interactive-content", "landmarks", "lists", "metadata", "tabs"]>;
|
|
82
|
+
eligibleForAutoResolve: z.ZodReadonly<z.ZodDefault<z.ZodBoolean>>;
|
|
83
|
+
engineRules: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
84
|
+
id: z.ZodString;
|
|
85
|
+
isAutoResolvable: z.ZodDefault<z.ZodBoolean>;
|
|
86
|
+
isEligibleForFalsePositiveAiValidation: z.ZodDefault<z.ZodBoolean>;
|
|
87
|
+
issueDescription: z.ZodString;
|
|
88
|
+
issueResolution: z.ZodString;
|
|
89
|
+
issueTutorialLink: z.ZodNullable<z.ZodString>;
|
|
90
|
+
issueWCAGLink: z.ZodNullable<z.ZodString>;
|
|
91
|
+
name: z.ZodString;
|
|
80
92
|
severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
|
|
93
|
+
shortCode: z.ZodString;
|
|
94
|
+
shortDescription: z.ZodString;
|
|
95
|
+
suggestedFix: z.ZodArray<z.ZodObject<{
|
|
96
|
+
suggestedFixHTML: z.ZodString;
|
|
97
|
+
suggestedFixKey: z.ZodString;
|
|
98
|
+
suggestedFixType: z.ZodEnum<["attribute", "srOnly", "tag", "removeAttribute"]>;
|
|
99
|
+
suggestedFixValue: z.ZodString;
|
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
|
101
|
+
suggestedFixHTML: string;
|
|
102
|
+
suggestedFixKey: string;
|
|
103
|
+
suggestedFixType: "attribute" | "srOnly" | "tag" | "removeAttribute";
|
|
104
|
+
suggestedFixValue: string;
|
|
105
|
+
}, {
|
|
106
|
+
suggestedFixHTML: string;
|
|
107
|
+
suggestedFixKey: string;
|
|
108
|
+
suggestedFixType: "attribute" | "srOnly" | "tag" | "removeAttribute";
|
|
109
|
+
suggestedFixValue: string;
|
|
110
|
+
}>, "many">;
|
|
81
111
|
WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
addSROnlyCSS: boolean;
|
|
114
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
115
|
+
eligibleForAutoResolve: boolean;
|
|
116
|
+
engineRules: string[];
|
|
117
|
+
id: string;
|
|
118
|
+
isAutoResolvable: boolean;
|
|
119
|
+
isEligibleForFalsePositiveAiValidation: boolean;
|
|
120
|
+
issueDescription: string;
|
|
121
|
+
issueResolution: string;
|
|
122
|
+
issueTutorialLink: string | null;
|
|
123
|
+
issueWCAGLink: string | null;
|
|
124
|
+
name: string;
|
|
125
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
126
|
+
shortCode: string;
|
|
127
|
+
shortDescription: string;
|
|
128
|
+
suggestedFix: {
|
|
129
|
+
suggestedFixHTML: string;
|
|
130
|
+
suggestedFixKey: string;
|
|
131
|
+
suggestedFixType: "attribute" | "srOnly" | "tag" | "removeAttribute";
|
|
132
|
+
suggestedFixValue: string;
|
|
133
|
+
}[];
|
|
134
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
135
|
+
}, {
|
|
136
|
+
addSROnlyCSS: boolean;
|
|
137
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
138
|
+
id: string;
|
|
139
|
+
issueDescription: string;
|
|
140
|
+
issueResolution: string;
|
|
141
|
+
issueTutorialLink: string | null;
|
|
142
|
+
issueWCAGLink: string | null;
|
|
143
|
+
name: string;
|
|
144
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
145
|
+
shortCode: string;
|
|
146
|
+
shortDescription: string;
|
|
147
|
+
suggestedFix: {
|
|
148
|
+
suggestedFixHTML: string;
|
|
149
|
+
suggestedFixKey: string;
|
|
150
|
+
suggestedFixType: "attribute" | "srOnly" | "tag" | "removeAttribute";
|
|
151
|
+
suggestedFixValue: string;
|
|
152
|
+
}[];
|
|
153
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
154
|
+
eligibleForAutoResolve?: boolean | undefined;
|
|
155
|
+
engineRules?: string[] | undefined;
|
|
156
|
+
isAutoResolvable?: boolean | undefined;
|
|
157
|
+
isEligibleForFalsePositiveAiValidation?: boolean | undefined;
|
|
158
|
+
}>;
|
|
159
|
+
export declare const BasicIssueSchema: z.ZodObject<{
|
|
160
|
+
altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<["positive", "negative"]>>>;
|
|
161
|
+
altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
162
|
+
assignedUser: z.ZodNullable<z.ZodString>;
|
|
163
|
+
autoResolved: z.ZodOptional<z.ZodBoolean>;
|
|
164
|
+
autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
|
+
autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
166
|
+
commentsCount: z.ZodNumber;
|
|
167
|
+
device: z.ZodEnum<["desktop", "mobile", "cross"]>;
|
|
168
|
+
dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
169
|
+
dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
170
|
+
dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
171
|
+
comment: z.ZodString;
|
|
172
|
+
type: z.ZodEnum<["duplicate", "falsePositive", "notApplicable", "willNotFix"]>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
comment: string;
|
|
175
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
176
|
+
}, {
|
|
177
|
+
comment: string;
|
|
178
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
179
|
+
}>>>;
|
|
180
|
+
displayName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
181
|
+
exported: z.ZodBoolean;
|
|
182
|
+
id: z.ZodString;
|
|
183
|
+
irrelevant: z.ZodBoolean;
|
|
184
|
+
lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
185
|
+
autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
186
|
+
date: z.ZodString;
|
|
187
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>>>;
|
|
188
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
189
|
+
userName: z.ZodString;
|
|
190
|
+
}, "strip", z.ZodTypeAny, {
|
|
191
|
+
date: string;
|
|
192
|
+
userId: string | null;
|
|
193
|
+
userName: string;
|
|
194
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
195
|
+
autoResolved?: boolean | null | undefined;
|
|
196
|
+
}, {
|
|
197
|
+
date: string;
|
|
198
|
+
userId: string | null;
|
|
199
|
+
userName: string;
|
|
200
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
201
|
+
autoResolved?: boolean | null | undefined;
|
|
202
|
+
}>>>;
|
|
203
|
+
name: z.ZodString;
|
|
204
|
+
offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
205
|
+
offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
206
|
+
offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
207
|
+
offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
208
|
+
relatedFunnelId: z.ZodNullable<z.ZodString>;
|
|
209
|
+
relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
85
210
|
$oid: z.ZodString;
|
|
86
211
|
}, "strip", z.ZodTypeAny, {
|
|
87
212
|
$oid: string;
|
|
88
213
|
}, {
|
|
89
214
|
$oid: string;
|
|
90
|
-
}>]
|
|
91
|
-
|
|
92
|
-
|
|
215
|
+
}>]>;
|
|
216
|
+
relatedWebpageId: z.ZodString;
|
|
217
|
+
resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>;
|
|
218
|
+
selector: z.ZodNullable<z.ZodString>;
|
|
93
219
|
severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
|
|
94
|
-
WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
95
220
|
siteOccurrences: z.ZodNumber;
|
|
96
|
-
|
|
97
|
-
|
|
221
|
+
src: z.ZodNullable<z.ZodString>;
|
|
222
|
+
templated: z.ZodBoolean;
|
|
223
|
+
WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
224
|
+
webpath: z.ZodString;
|
|
225
|
+
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
id: string;
|
|
227
|
+
name: string;
|
|
228
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
229
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
230
|
+
altTextFeedback: "positive" | "negative" | null;
|
|
231
|
+
assignedUser: string | null;
|
|
232
|
+
commentsCount: number;
|
|
233
|
+
device: "desktop" | "mobile" | "cross";
|
|
234
|
+
dismissedBy: string | null;
|
|
235
|
+
dismissedDate: string | null;
|
|
236
|
+
dismissedReason: {
|
|
237
|
+
comment: string;
|
|
238
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
239
|
+
} | null;
|
|
240
|
+
displayName: string | null;
|
|
241
|
+
exported: boolean;
|
|
242
|
+
irrelevant: boolean;
|
|
243
|
+
lastStatusChangeLog: {
|
|
244
|
+
date: string;
|
|
245
|
+
userId: string | null;
|
|
246
|
+
userName: string;
|
|
247
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
248
|
+
autoResolved?: boolean | null | undefined;
|
|
249
|
+
} | null;
|
|
250
|
+
offsetX: number | null;
|
|
251
|
+
offsetXMobile: number | null;
|
|
252
|
+
offsetY: number | null;
|
|
253
|
+
offsetYMobile: number | null;
|
|
254
|
+
relatedFunnelId: string | null;
|
|
255
|
+
relatedRuleId: string | {
|
|
256
|
+
$oid: string;
|
|
257
|
+
};
|
|
258
|
+
relatedWebpageId: string;
|
|
259
|
+
resolution: "none" | "resolved" | "dismissed" | "falsePositive";
|
|
260
|
+
selector: string | null;
|
|
261
|
+
siteOccurrences: number;
|
|
262
|
+
src: string | null;
|
|
263
|
+
templated: boolean;
|
|
264
|
+
webpath: string;
|
|
265
|
+
autoResolved?: boolean | undefined;
|
|
266
|
+
altTextSuggestions?: string[] | null | undefined;
|
|
267
|
+
autoResolvedBy?: string | null | undefined;
|
|
268
|
+
autoResolvedDate?: string | null | undefined;
|
|
269
|
+
}, {
|
|
270
|
+
id: string;
|
|
271
|
+
name: string;
|
|
272
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
273
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
274
|
+
assignedUser: string | null;
|
|
275
|
+
commentsCount: number;
|
|
276
|
+
device: "desktop" | "mobile" | "cross";
|
|
277
|
+
exported: boolean;
|
|
278
|
+
irrelevant: boolean;
|
|
279
|
+
relatedFunnelId: string | null;
|
|
280
|
+
relatedRuleId: string | {
|
|
281
|
+
$oid: string;
|
|
282
|
+
};
|
|
283
|
+
relatedWebpageId: string;
|
|
284
|
+
resolution: "none" | "resolved" | "dismissed" | "falsePositive";
|
|
285
|
+
selector: string | null;
|
|
286
|
+
siteOccurrences: number;
|
|
287
|
+
src: string | null;
|
|
288
|
+
templated: boolean;
|
|
289
|
+
webpath: string;
|
|
290
|
+
autoResolved?: boolean | undefined;
|
|
291
|
+
altTextFeedback?: "positive" | "negative" | null | undefined;
|
|
292
|
+
altTextSuggestions?: string[] | null | undefined;
|
|
293
|
+
autoResolvedBy?: string | null | undefined;
|
|
294
|
+
autoResolvedDate?: string | null | undefined;
|
|
295
|
+
dismissedBy?: string | null | undefined;
|
|
296
|
+
dismissedDate?: string | null | undefined;
|
|
297
|
+
dismissedReason?: {
|
|
298
|
+
comment: string;
|
|
299
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
300
|
+
} | null | undefined;
|
|
301
|
+
displayName?: string | null | undefined;
|
|
302
|
+
lastStatusChangeLog?: {
|
|
303
|
+
date: string;
|
|
304
|
+
userId: string | null;
|
|
305
|
+
userName: string;
|
|
306
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
307
|
+
autoResolved?: boolean | null | undefined;
|
|
308
|
+
} | null | undefined;
|
|
309
|
+
offsetX?: number | null | undefined;
|
|
310
|
+
offsetXMobile?: number | null | undefined;
|
|
311
|
+
offsetY?: number | null | undefined;
|
|
312
|
+
offsetYMobile?: number | null | undefined;
|
|
313
|
+
}>;
|
|
314
|
+
export declare const McpBasicIssueSchema: z.ZodObject<{
|
|
315
|
+
altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<["positive", "negative"]>>>;
|
|
316
|
+
altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
317
|
+
assignedUser: z.ZodNullable<z.ZodString>;
|
|
318
|
+
autoResolved: z.ZodOptional<z.ZodBoolean>;
|
|
319
|
+
autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
320
|
+
autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
321
|
+
commentsCount: z.ZodNumber;
|
|
322
|
+
device: z.ZodEnum<["desktop", "mobile", "cross"]>;
|
|
323
|
+
dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
324
|
+
dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
325
|
+
dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
326
|
+
comment: z.ZodString;
|
|
327
|
+
type: z.ZodEnum<["duplicate", "falsePositive", "notApplicable", "willNotFix"]>;
|
|
328
|
+
}, "strip", z.ZodTypeAny, {
|
|
329
|
+
comment: string;
|
|
330
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
331
|
+
}, {
|
|
332
|
+
comment: string;
|
|
333
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
334
|
+
}>>>;
|
|
335
|
+
exported: z.ZodBoolean;
|
|
336
|
+
id: z.ZodString;
|
|
337
|
+
irrelevant: z.ZodBoolean;
|
|
338
|
+
lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
339
|
+
autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
340
|
+
date: z.ZodString;
|
|
341
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>>>;
|
|
342
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
343
|
+
userName: z.ZodString;
|
|
344
|
+
}, "strip", z.ZodTypeAny, {
|
|
345
|
+
date: string;
|
|
346
|
+
userId: string | null;
|
|
347
|
+
userName: string;
|
|
348
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
349
|
+
autoResolved?: boolean | null | undefined;
|
|
350
|
+
}, {
|
|
351
|
+
date: string;
|
|
352
|
+
userId: string | null;
|
|
353
|
+
userName: string;
|
|
354
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
355
|
+
autoResolved?: boolean | null | undefined;
|
|
356
|
+
}>>>;
|
|
357
|
+
name: z.ZodString;
|
|
358
|
+
offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
359
|
+
offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
360
|
+
offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
361
|
+
offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
362
|
+
relatedFunnelId: z.ZodNullable<z.ZodString>;
|
|
363
|
+
relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
98
364
|
$oid: z.ZodString;
|
|
99
365
|
}, "strip", z.ZodTypeAny, {
|
|
100
366
|
$oid: string;
|
|
101
367
|
}, {
|
|
102
368
|
$oid: string;
|
|
103
|
-
}>]
|
|
104
|
-
|
|
105
|
-
|
|
369
|
+
}>]>;
|
|
370
|
+
relatedWebpageId: z.ZodString;
|
|
371
|
+
resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>;
|
|
372
|
+
selector: z.ZodNullable<z.ZodString>;
|
|
106
373
|
severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
|
|
107
|
-
WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
108
374
|
siteOccurrences: z.ZodNumber;
|
|
109
|
-
|
|
110
|
-
|
|
375
|
+
src: z.ZodNullable<z.ZodString>;
|
|
376
|
+
templated: z.ZodBoolean;
|
|
377
|
+
WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
378
|
+
webpath: z.ZodString;
|
|
379
|
+
} & {
|
|
380
|
+
displayName: z.ZodString;
|
|
381
|
+
criteria: z.ZodEnum<["clickables", "readability", "headings", "tables", "errors", "context", "forms", "keyboard", "graphics", "navigation", "document", "carousels", "aria", "general", "interactive-content", "landmarks", "lists", "metadata", "tabs"]>;
|
|
382
|
+
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
383
|
+
}, "strip", z.ZodTypeAny, {
|
|
384
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
385
|
+
id: string;
|
|
386
|
+
name: string;
|
|
387
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
388
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
389
|
+
altTextFeedback: "positive" | "negative" | null;
|
|
390
|
+
assignedUser: string | null;
|
|
391
|
+
commentsCount: number;
|
|
392
|
+
device: "desktop" | "mobile" | "cross";
|
|
393
|
+
dismissedBy: string | null;
|
|
394
|
+
dismissedDate: string | null;
|
|
395
|
+
dismissedReason: {
|
|
396
|
+
comment: string;
|
|
397
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
398
|
+
} | null;
|
|
399
|
+
displayName: string;
|
|
400
|
+
exported: boolean;
|
|
401
|
+
irrelevant: boolean;
|
|
402
|
+
lastStatusChangeLog: {
|
|
403
|
+
date: string;
|
|
404
|
+
userId: string | null;
|
|
405
|
+
userName: string;
|
|
406
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
407
|
+
autoResolved?: boolean | null | undefined;
|
|
408
|
+
} | null;
|
|
409
|
+
offsetX: number | null;
|
|
410
|
+
offsetXMobile: number | null;
|
|
411
|
+
offsetY: number | null;
|
|
412
|
+
offsetYMobile: number | null;
|
|
413
|
+
relatedFunnelId: string | null;
|
|
414
|
+
relatedRuleId: string | {
|
|
415
|
+
$oid: string;
|
|
416
|
+
};
|
|
417
|
+
relatedWebpageId: string;
|
|
418
|
+
resolution: "none" | "resolved" | "dismissed" | "falsePositive";
|
|
419
|
+
selector: string | null;
|
|
420
|
+
siteOccurrences: number;
|
|
421
|
+
src: string | null;
|
|
422
|
+
templated: boolean;
|
|
423
|
+
webpath: string;
|
|
424
|
+
autoResolved?: boolean | undefined;
|
|
425
|
+
altTextSuggestions?: string[] | null | undefined;
|
|
426
|
+
autoResolvedBy?: string | null | undefined;
|
|
427
|
+
autoResolvedDate?: string | null | undefined;
|
|
428
|
+
occurrences?: number | undefined;
|
|
429
|
+
}, {
|
|
430
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
431
|
+
id: string;
|
|
432
|
+
name: string;
|
|
433
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
434
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
435
|
+
assignedUser: string | null;
|
|
436
|
+
commentsCount: number;
|
|
437
|
+
device: "desktop" | "mobile" | "cross";
|
|
438
|
+
displayName: string;
|
|
439
|
+
exported: boolean;
|
|
440
|
+
irrelevant: boolean;
|
|
441
|
+
relatedFunnelId: string | null;
|
|
442
|
+
relatedRuleId: string | {
|
|
443
|
+
$oid: string;
|
|
444
|
+
};
|
|
445
|
+
relatedWebpageId: string;
|
|
446
|
+
resolution: "none" | "resolved" | "dismissed" | "falsePositive";
|
|
447
|
+
selector: string | null;
|
|
448
|
+
siteOccurrences: number;
|
|
449
|
+
src: string | null;
|
|
450
|
+
templated: boolean;
|
|
451
|
+
webpath: string;
|
|
452
|
+
autoResolved?: boolean | undefined;
|
|
453
|
+
altTextFeedback?: "positive" | "negative" | null | undefined;
|
|
454
|
+
altTextSuggestions?: string[] | null | undefined;
|
|
455
|
+
autoResolvedBy?: string | null | undefined;
|
|
456
|
+
autoResolvedDate?: string | null | undefined;
|
|
457
|
+
dismissedBy?: string | null | undefined;
|
|
458
|
+
dismissedDate?: string | null | undefined;
|
|
459
|
+
dismissedReason?: {
|
|
460
|
+
comment: string;
|
|
461
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
462
|
+
} | null | undefined;
|
|
463
|
+
lastStatusChangeLog?: {
|
|
464
|
+
date: string;
|
|
465
|
+
userId: string | null;
|
|
466
|
+
userName: string;
|
|
467
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
468
|
+
autoResolved?: boolean | null | undefined;
|
|
469
|
+
} | null | undefined;
|
|
470
|
+
offsetX?: number | null | undefined;
|
|
471
|
+
offsetXMobile?: number | null | undefined;
|
|
472
|
+
offsetY?: number | null | undefined;
|
|
473
|
+
offsetYMobile?: number | null | undefined;
|
|
474
|
+
occurrences?: number | undefined;
|
|
475
|
+
}>;
|
|
476
|
+
export declare const IssueSchema: z.ZodObject<{
|
|
477
|
+
altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<["positive", "negative"]>>>;
|
|
478
|
+
altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
479
|
+
assignedUser: z.ZodNullable<z.ZodString>;
|
|
480
|
+
autoResolved: z.ZodOptional<z.ZodBoolean>;
|
|
481
|
+
autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
482
|
+
autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
483
|
+
commentsCount: z.ZodNumber;
|
|
484
|
+
device: z.ZodEnum<["desktop", "mobile", "cross"]>;
|
|
485
|
+
dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
486
|
+
dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
487
|
+
dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
488
|
+
comment: z.ZodString;
|
|
489
|
+
type: z.ZodEnum<["duplicate", "falsePositive", "notApplicable", "willNotFix"]>;
|
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
|
491
|
+
comment: string;
|
|
492
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
493
|
+
}, {
|
|
494
|
+
comment: string;
|
|
495
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
496
|
+
}>>>;
|
|
497
|
+
displayName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
498
|
+
exported: z.ZodBoolean;
|
|
499
|
+
id: z.ZodString;
|
|
500
|
+
lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
501
|
+
autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
502
|
+
date: z.ZodString;
|
|
503
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>>>;
|
|
504
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
505
|
+
userName: z.ZodString;
|
|
506
|
+
}, "strip", z.ZodTypeAny, {
|
|
507
|
+
date: string;
|
|
508
|
+
userId: string | null;
|
|
509
|
+
userName: string;
|
|
510
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
511
|
+
autoResolved?: boolean | null | undefined;
|
|
512
|
+
}, {
|
|
513
|
+
date: string;
|
|
514
|
+
userId: string | null;
|
|
515
|
+
userName: string;
|
|
516
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
517
|
+
autoResolved?: boolean | null | undefined;
|
|
518
|
+
}>>>;
|
|
519
|
+
name: z.ZodString;
|
|
520
|
+
offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
521
|
+
offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
522
|
+
offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
523
|
+
offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
524
|
+
relatedFunnelId: z.ZodNullable<z.ZodString>;
|
|
525
|
+
relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
111
526
|
$oid: z.ZodString;
|
|
112
527
|
}, "strip", z.ZodTypeAny, {
|
|
113
528
|
$oid: string;
|
|
114
529
|
}, {
|
|
115
530
|
$oid: string;
|
|
116
|
-
}>]
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
531
|
+
}>]>;
|
|
532
|
+
relatedWebpageId: z.ZodString;
|
|
533
|
+
resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>;
|
|
534
|
+
selector: z.ZodNullable<z.ZodString>;
|
|
120
535
|
severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
|
|
121
|
-
WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
122
536
|
siteOccurrences: z.ZodNumber;
|
|
123
|
-
|
|
537
|
+
src: z.ZodNullable<z.ZodString>;
|
|
538
|
+
templated: z.ZodBoolean;
|
|
539
|
+
WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
540
|
+
webpath: z.ZodString;
|
|
541
|
+
} & {
|
|
542
|
+
aiValidations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
543
|
+
feedback: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
544
|
+
helpful: z.ZodBoolean;
|
|
545
|
+
userId: z.ZodString;
|
|
546
|
+
userText: z.ZodString;
|
|
547
|
+
}, "strip", z.ZodTypeAny, {
|
|
548
|
+
userId: string;
|
|
549
|
+
helpful: boolean;
|
|
550
|
+
userText: string;
|
|
551
|
+
}, {
|
|
552
|
+
userId: string;
|
|
553
|
+
helpful: boolean;
|
|
554
|
+
userText: string;
|
|
555
|
+
}>>>;
|
|
556
|
+
type: z.ZodEnum<["falsePositive"]>;
|
|
557
|
+
isFalsePositive: z.ZodBoolean;
|
|
558
|
+
reasoning: z.ZodString;
|
|
559
|
+
}, "strip", z.ZodTypeAny, {
|
|
560
|
+
type: "falsePositive";
|
|
561
|
+
feedback: {
|
|
562
|
+
userId: string;
|
|
563
|
+
helpful: boolean;
|
|
564
|
+
userText: string;
|
|
565
|
+
} | null;
|
|
566
|
+
isFalsePositive: boolean;
|
|
567
|
+
reasoning: string;
|
|
568
|
+
}, {
|
|
569
|
+
type: "falsePositive";
|
|
570
|
+
isFalsePositive: boolean;
|
|
571
|
+
reasoning: string;
|
|
572
|
+
feedback?: {
|
|
573
|
+
userId: string;
|
|
574
|
+
helpful: boolean;
|
|
575
|
+
userText: string;
|
|
576
|
+
} | null | undefined;
|
|
577
|
+
}>, "many">>;
|
|
124
578
|
confidence: z.ZodNumber;
|
|
579
|
+
created: z.ZodString;
|
|
580
|
+
HTML: z.ZodString;
|
|
581
|
+
irrelevant: z.ZodBoolean;
|
|
582
|
+
issueScreenshotUrl: z.ZodNullable<z.ZodString>;
|
|
125
583
|
modified: z.ZodString;
|
|
126
584
|
occurrences: z.ZodNumber;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
585
|
+
suggestionLabel: z.ZodString;
|
|
586
|
+
suggestionType: z.ZodString;
|
|
587
|
+
webpage: z.ZodNullable<z.ZodObject<{
|
|
588
|
+
id: z.ZodString;
|
|
589
|
+
mainpage: z.ZodBoolean;
|
|
590
|
+
webpath: z.ZodString;
|
|
131
591
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
|
|
592
|
+
id: string;
|
|
593
|
+
webpath: string;
|
|
594
|
+
mainpage: boolean;
|
|
595
|
+
}, {
|
|
596
|
+
id: string;
|
|
597
|
+
webpath: string;
|
|
598
|
+
mainpage: boolean;
|
|
599
|
+
}>>;
|
|
600
|
+
webpages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
601
|
+
id: z.ZodString;
|
|
602
|
+
name: z.ZodString;
|
|
603
|
+
webpath: z.ZodString;
|
|
604
|
+
}, "strip", z.ZodTypeAny, {
|
|
605
|
+
id: string;
|
|
606
|
+
name: string;
|
|
607
|
+
webpath: string;
|
|
133
608
|
}, {
|
|
609
|
+
id: string;
|
|
610
|
+
name: string;
|
|
611
|
+
webpath: string;
|
|
612
|
+
}>, "many">>;
|
|
613
|
+
}, "strip", z.ZodTypeAny, {
|
|
614
|
+
id: string;
|
|
615
|
+
name: string;
|
|
616
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
617
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
618
|
+
altTextFeedback: "positive" | "negative" | null;
|
|
619
|
+
assignedUser: string | null;
|
|
620
|
+
commentsCount: number;
|
|
621
|
+
device: "desktop" | "mobile" | "cross";
|
|
622
|
+
dismissedBy: string | null;
|
|
623
|
+
dismissedDate: string | null;
|
|
624
|
+
dismissedReason: {
|
|
625
|
+
comment: string;
|
|
626
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
627
|
+
} | null;
|
|
628
|
+
displayName: string | null;
|
|
629
|
+
exported: boolean;
|
|
630
|
+
irrelevant: boolean;
|
|
631
|
+
lastStatusChangeLog: {
|
|
632
|
+
date: string;
|
|
633
|
+
userId: string | null;
|
|
634
|
+
userName: string;
|
|
635
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
636
|
+
autoResolved?: boolean | null | undefined;
|
|
637
|
+
} | null;
|
|
638
|
+
offsetX: number | null;
|
|
639
|
+
offsetXMobile: number | null;
|
|
640
|
+
offsetY: number | null;
|
|
641
|
+
offsetYMobile: number | null;
|
|
642
|
+
relatedFunnelId: string | null;
|
|
643
|
+
relatedRuleId: string | {
|
|
134
644
|
$oid: string;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
645
|
+
};
|
|
646
|
+
relatedWebpageId: string;
|
|
647
|
+
resolution: "none" | "resolved" | "dismissed" | "falsePositive";
|
|
648
|
+
selector: string | null;
|
|
649
|
+
siteOccurrences: number;
|
|
650
|
+
src: string | null;
|
|
651
|
+
templated: boolean;
|
|
652
|
+
webpath: string;
|
|
653
|
+
occurrences: number;
|
|
654
|
+
aiValidations: {
|
|
655
|
+
type: "falsePositive";
|
|
656
|
+
feedback: {
|
|
657
|
+
userId: string;
|
|
658
|
+
helpful: boolean;
|
|
659
|
+
userText: string;
|
|
660
|
+
} | null;
|
|
661
|
+
isFalsePositive: boolean;
|
|
662
|
+
reasoning: string;
|
|
663
|
+
}[];
|
|
664
|
+
confidence: number;
|
|
665
|
+
created: string;
|
|
666
|
+
HTML: string;
|
|
667
|
+
issueScreenshotUrl: string | null;
|
|
668
|
+
modified: string;
|
|
669
|
+
suggestionLabel: string;
|
|
670
|
+
suggestionType: string;
|
|
671
|
+
webpage: {
|
|
672
|
+
id: string;
|
|
673
|
+
webpath: string;
|
|
674
|
+
mainpage: boolean;
|
|
675
|
+
} | null;
|
|
676
|
+
autoResolved?: boolean | undefined;
|
|
677
|
+
altTextSuggestions?: string[] | null | undefined;
|
|
678
|
+
autoResolvedBy?: string | null | undefined;
|
|
679
|
+
autoResolvedDate?: string | null | undefined;
|
|
680
|
+
webpages?: {
|
|
681
|
+
id: string;
|
|
682
|
+
name: string;
|
|
683
|
+
webpath: string;
|
|
684
|
+
}[] | undefined;
|
|
685
|
+
}, {
|
|
686
|
+
id: string;
|
|
687
|
+
name: string;
|
|
688
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
689
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
690
|
+
assignedUser: string | null;
|
|
691
|
+
commentsCount: number;
|
|
692
|
+
device: "desktop" | "mobile" | "cross";
|
|
693
|
+
exported: boolean;
|
|
694
|
+
irrelevant: boolean;
|
|
695
|
+
relatedFunnelId: string | null;
|
|
696
|
+
relatedRuleId: string | {
|
|
697
|
+
$oid: string;
|
|
698
|
+
};
|
|
699
|
+
relatedWebpageId: string;
|
|
700
|
+
resolution: "none" | "resolved" | "dismissed" | "falsePositive";
|
|
701
|
+
selector: string | null;
|
|
702
|
+
siteOccurrences: number;
|
|
703
|
+
src: string | null;
|
|
704
|
+
templated: boolean;
|
|
705
|
+
webpath: string;
|
|
706
|
+
occurrences: number;
|
|
707
|
+
confidence: number;
|
|
708
|
+
created: string;
|
|
709
|
+
HTML: string;
|
|
710
|
+
issueScreenshotUrl: string | null;
|
|
711
|
+
modified: string;
|
|
712
|
+
suggestionLabel: string;
|
|
713
|
+
suggestionType: string;
|
|
714
|
+
webpage: {
|
|
715
|
+
id: string;
|
|
716
|
+
webpath: string;
|
|
717
|
+
mainpage: boolean;
|
|
718
|
+
} | null;
|
|
719
|
+
autoResolved?: boolean | undefined;
|
|
720
|
+
altTextFeedback?: "positive" | "negative" | null | undefined;
|
|
721
|
+
altTextSuggestions?: string[] | null | undefined;
|
|
722
|
+
autoResolvedBy?: string | null | undefined;
|
|
723
|
+
autoResolvedDate?: string | null | undefined;
|
|
724
|
+
dismissedBy?: string | null | undefined;
|
|
725
|
+
dismissedDate?: string | null | undefined;
|
|
726
|
+
dismissedReason?: {
|
|
727
|
+
comment: string;
|
|
728
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
729
|
+
} | null | undefined;
|
|
730
|
+
displayName?: string | null | undefined;
|
|
731
|
+
lastStatusChangeLog?: {
|
|
732
|
+
date: string;
|
|
733
|
+
userId: string | null;
|
|
734
|
+
userName: string;
|
|
735
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
736
|
+
autoResolved?: boolean | null | undefined;
|
|
737
|
+
} | null | undefined;
|
|
738
|
+
offsetX?: number | null | undefined;
|
|
739
|
+
offsetXMobile?: number | null | undefined;
|
|
740
|
+
offsetY?: number | null | undefined;
|
|
741
|
+
offsetYMobile?: number | null | undefined;
|
|
742
|
+
aiValidations?: {
|
|
743
|
+
type: "falsePositive";
|
|
744
|
+
isFalsePositive: boolean;
|
|
745
|
+
reasoning: string;
|
|
746
|
+
feedback?: {
|
|
747
|
+
userId: string;
|
|
748
|
+
helpful: boolean;
|
|
749
|
+
userText: string;
|
|
750
|
+
} | null | undefined;
|
|
751
|
+
}[] | undefined;
|
|
752
|
+
webpages?: {
|
|
753
|
+
id: string;
|
|
754
|
+
name: string;
|
|
755
|
+
webpath: string;
|
|
756
|
+
}[] | undefined;
|
|
757
|
+
}>;
|
|
758
|
+
export declare const McpDetailIssueSchema: z.ZodObject<{
|
|
759
|
+
altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<["positive", "negative"]>>>;
|
|
760
|
+
altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
761
|
+
assignedUser: z.ZodNullable<z.ZodString>;
|
|
762
|
+
autoResolved: z.ZodOptional<z.ZodBoolean>;
|
|
763
|
+
autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
764
|
+
autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
765
|
+
commentsCount: z.ZodNumber;
|
|
766
|
+
device: z.ZodEnum<["desktop", "mobile", "cross"]>;
|
|
767
|
+
dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
768
|
+
dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
769
|
+
dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
770
|
+
comment: z.ZodString;
|
|
771
|
+
type: z.ZodEnum<["duplicate", "falsePositive", "notApplicable", "willNotFix"]>;
|
|
772
|
+
}, "strip", z.ZodTypeAny, {
|
|
773
|
+
comment: string;
|
|
774
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
775
|
+
}, {
|
|
776
|
+
comment: string;
|
|
777
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
778
|
+
}>>>;
|
|
779
|
+
exported: z.ZodBoolean;
|
|
780
|
+
id: z.ZodString;
|
|
781
|
+
lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
782
|
+
autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
783
|
+
date: z.ZodString;
|
|
784
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>>>;
|
|
785
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
786
|
+
userName: z.ZodString;
|
|
787
|
+
}, "strip", z.ZodTypeAny, {
|
|
788
|
+
date: string;
|
|
789
|
+
userId: string | null;
|
|
790
|
+
userName: string;
|
|
791
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
792
|
+
autoResolved?: boolean | null | undefined;
|
|
793
|
+
}, {
|
|
794
|
+
date: string;
|
|
795
|
+
userId: string | null;
|
|
796
|
+
userName: string;
|
|
797
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
798
|
+
autoResolved?: boolean | null | undefined;
|
|
799
|
+
}>>>;
|
|
800
|
+
name: z.ZodString;
|
|
801
|
+
offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
802
|
+
offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
803
|
+
offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
804
|
+
offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
805
|
+
relatedFunnelId: z.ZodNullable<z.ZodString>;
|
|
806
|
+
relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
148
807
|
$oid: z.ZodString;
|
|
149
808
|
}, "strip", z.ZodTypeAny, {
|
|
150
809
|
$oid: string;
|
|
151
810
|
}, {
|
|
152
811
|
$oid: string;
|
|
153
|
-
}>]
|
|
154
|
-
|
|
155
|
-
|
|
812
|
+
}>]>;
|
|
813
|
+
relatedWebpageId: z.ZodString;
|
|
814
|
+
resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>;
|
|
815
|
+
selector: z.ZodNullable<z.ZodString>;
|
|
156
816
|
severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
|
|
157
|
-
WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
158
817
|
siteOccurrences: z.ZodNumber;
|
|
159
|
-
|
|
818
|
+
src: z.ZodNullable<z.ZodString>;
|
|
819
|
+
templated: z.ZodBoolean;
|
|
820
|
+
WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
821
|
+
webpath: z.ZodString;
|
|
822
|
+
aiValidations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
823
|
+
feedback: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
824
|
+
helpful: z.ZodBoolean;
|
|
825
|
+
userId: z.ZodString;
|
|
826
|
+
userText: z.ZodString;
|
|
827
|
+
}, "strip", z.ZodTypeAny, {
|
|
828
|
+
userId: string;
|
|
829
|
+
helpful: boolean;
|
|
830
|
+
userText: string;
|
|
831
|
+
}, {
|
|
832
|
+
userId: string;
|
|
833
|
+
helpful: boolean;
|
|
834
|
+
userText: string;
|
|
835
|
+
}>>>;
|
|
836
|
+
type: z.ZodEnum<["falsePositive"]>;
|
|
837
|
+
isFalsePositive: z.ZodBoolean;
|
|
838
|
+
reasoning: z.ZodString;
|
|
839
|
+
}, "strip", z.ZodTypeAny, {
|
|
840
|
+
type: "falsePositive";
|
|
841
|
+
feedback: {
|
|
842
|
+
userId: string;
|
|
843
|
+
helpful: boolean;
|
|
844
|
+
userText: string;
|
|
845
|
+
} | null;
|
|
846
|
+
isFalsePositive: boolean;
|
|
847
|
+
reasoning: string;
|
|
848
|
+
}, {
|
|
849
|
+
type: "falsePositive";
|
|
850
|
+
isFalsePositive: boolean;
|
|
851
|
+
reasoning: string;
|
|
852
|
+
feedback?: {
|
|
853
|
+
userId: string;
|
|
854
|
+
helpful: boolean;
|
|
855
|
+
userText: string;
|
|
856
|
+
} | null | undefined;
|
|
857
|
+
}>, "many">>;
|
|
160
858
|
confidence: z.ZodNumber;
|
|
859
|
+
created: z.ZodString;
|
|
860
|
+
HTML: z.ZodString;
|
|
861
|
+
irrelevant: z.ZodBoolean;
|
|
862
|
+
issueScreenshotUrl: z.ZodNullable<z.ZodString>;
|
|
161
863
|
modified: z.ZodString;
|
|
162
864
|
occurrences: z.ZodNumber;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
865
|
+
suggestionLabel: z.ZodString;
|
|
866
|
+
suggestionType: z.ZodString;
|
|
867
|
+
webpage: z.ZodNullable<z.ZodObject<{
|
|
868
|
+
id: z.ZodString;
|
|
869
|
+
mainpage: z.ZodBoolean;
|
|
870
|
+
webpath: z.ZodString;
|
|
167
871
|
}, "strip", z.ZodTypeAny, {
|
|
168
|
-
|
|
872
|
+
id: string;
|
|
873
|
+
webpath: string;
|
|
874
|
+
mainpage: boolean;
|
|
875
|
+
}, {
|
|
876
|
+
id: string;
|
|
877
|
+
webpath: string;
|
|
878
|
+
mainpage: boolean;
|
|
879
|
+
}>>;
|
|
880
|
+
webpages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
881
|
+
id: z.ZodString;
|
|
882
|
+
name: z.ZodString;
|
|
883
|
+
webpath: z.ZodString;
|
|
884
|
+
}, "strip", z.ZodTypeAny, {
|
|
885
|
+
id: string;
|
|
886
|
+
name: string;
|
|
887
|
+
webpath: string;
|
|
888
|
+
}, {
|
|
889
|
+
id: string;
|
|
890
|
+
name: string;
|
|
891
|
+
webpath: string;
|
|
892
|
+
}>, "many">>;
|
|
893
|
+
} & {
|
|
894
|
+
displayName: z.ZodString;
|
|
895
|
+
criteria: z.ZodEnum<["clickables", "readability", "headings", "tables", "errors", "context", "forms", "keyboard", "graphics", "navigation", "document", "carousels", "aria", "general", "interactive-content", "landmarks", "lists", "metadata", "tabs"]>;
|
|
896
|
+
rule: z.ZodObject<{
|
|
897
|
+
addSROnlyCSS: z.ZodBoolean;
|
|
898
|
+
criteria: z.ZodEnum<["clickables", "readability", "headings", "tables", "errors", "context", "forms", "keyboard", "graphics", "navigation", "document", "carousels", "aria", "general", "interactive-content", "landmarks", "lists", "metadata", "tabs"]>;
|
|
899
|
+
eligibleForAutoResolve: z.ZodReadonly<z.ZodDefault<z.ZodBoolean>>;
|
|
900
|
+
engineRules: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
901
|
+
id: z.ZodString;
|
|
902
|
+
isAutoResolvable: z.ZodDefault<z.ZodBoolean>;
|
|
903
|
+
isEligibleForFalsePositiveAiValidation: z.ZodDefault<z.ZodBoolean>;
|
|
904
|
+
issueDescription: z.ZodString;
|
|
905
|
+
issueResolution: z.ZodString;
|
|
906
|
+
issueTutorialLink: z.ZodNullable<z.ZodString>;
|
|
907
|
+
issueWCAGLink: z.ZodNullable<z.ZodString>;
|
|
908
|
+
name: z.ZodString;
|
|
909
|
+
severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
|
|
910
|
+
shortCode: z.ZodString;
|
|
911
|
+
shortDescription: z.ZodString;
|
|
912
|
+
suggestedFix: z.ZodArray<z.ZodObject<{
|
|
913
|
+
suggestedFixHTML: z.ZodString;
|
|
914
|
+
suggestedFixKey: z.ZodString;
|
|
915
|
+
suggestedFixType: z.ZodEnum<["attribute", "srOnly", "tag", "removeAttribute"]>;
|
|
916
|
+
suggestedFixValue: z.ZodString;
|
|
917
|
+
}, "strip", z.ZodTypeAny, {
|
|
918
|
+
suggestedFixHTML: string;
|
|
919
|
+
suggestedFixKey: string;
|
|
920
|
+
suggestedFixType: "attribute" | "srOnly" | "tag" | "removeAttribute";
|
|
921
|
+
suggestedFixValue: string;
|
|
922
|
+
}, {
|
|
923
|
+
suggestedFixHTML: string;
|
|
924
|
+
suggestedFixKey: string;
|
|
925
|
+
suggestedFixType: "attribute" | "srOnly" | "tag" | "removeAttribute";
|
|
926
|
+
suggestedFixValue: string;
|
|
927
|
+
}>, "many">;
|
|
928
|
+
WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
929
|
+
}, "strip", z.ZodTypeAny, {
|
|
930
|
+
addSROnlyCSS: boolean;
|
|
931
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
932
|
+
eligibleForAutoResolve: boolean;
|
|
933
|
+
engineRules: string[];
|
|
934
|
+
id: string;
|
|
935
|
+
isAutoResolvable: boolean;
|
|
936
|
+
isEligibleForFalsePositiveAiValidation: boolean;
|
|
937
|
+
issueDescription: string;
|
|
938
|
+
issueResolution: string;
|
|
939
|
+
issueTutorialLink: string | null;
|
|
940
|
+
issueWCAGLink: string | null;
|
|
941
|
+
name: string;
|
|
942
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
943
|
+
shortCode: string;
|
|
944
|
+
shortDescription: string;
|
|
945
|
+
suggestedFix: {
|
|
946
|
+
suggestedFixHTML: string;
|
|
947
|
+
suggestedFixKey: string;
|
|
948
|
+
suggestedFixType: "attribute" | "srOnly" | "tag" | "removeAttribute";
|
|
949
|
+
suggestedFixValue: string;
|
|
950
|
+
}[];
|
|
951
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
169
952
|
}, {
|
|
953
|
+
addSROnlyCSS: boolean;
|
|
954
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
955
|
+
id: string;
|
|
956
|
+
issueDescription: string;
|
|
957
|
+
issueResolution: string;
|
|
958
|
+
issueTutorialLink: string | null;
|
|
959
|
+
issueWCAGLink: string | null;
|
|
960
|
+
name: string;
|
|
961
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
962
|
+
shortCode: string;
|
|
963
|
+
shortDescription: string;
|
|
964
|
+
suggestedFix: {
|
|
965
|
+
suggestedFixHTML: string;
|
|
966
|
+
suggestedFixKey: string;
|
|
967
|
+
suggestedFixType: "attribute" | "srOnly" | "tag" | "removeAttribute";
|
|
968
|
+
suggestedFixValue: string;
|
|
969
|
+
}[];
|
|
970
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
971
|
+
eligibleForAutoResolve?: boolean | undefined;
|
|
972
|
+
engineRules?: string[] | undefined;
|
|
973
|
+
isAutoResolvable?: boolean | undefined;
|
|
974
|
+
isEligibleForFalsePositiveAiValidation?: boolean | undefined;
|
|
975
|
+
}>;
|
|
976
|
+
}, "strip", z.ZodTypeAny, {
|
|
977
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
978
|
+
id: string;
|
|
979
|
+
name: string;
|
|
980
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
981
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
982
|
+
altTextFeedback: "positive" | "negative" | null;
|
|
983
|
+
assignedUser: string | null;
|
|
984
|
+
commentsCount: number;
|
|
985
|
+
device: "desktop" | "mobile" | "cross";
|
|
986
|
+
dismissedBy: string | null;
|
|
987
|
+
dismissedDate: string | null;
|
|
988
|
+
dismissedReason: {
|
|
989
|
+
comment: string;
|
|
990
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
991
|
+
} | null;
|
|
992
|
+
displayName: string;
|
|
993
|
+
exported: boolean;
|
|
994
|
+
irrelevant: boolean;
|
|
995
|
+
lastStatusChangeLog: {
|
|
996
|
+
date: string;
|
|
997
|
+
userId: string | null;
|
|
998
|
+
userName: string;
|
|
999
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
1000
|
+
autoResolved?: boolean | null | undefined;
|
|
1001
|
+
} | null;
|
|
1002
|
+
offsetX: number | null;
|
|
1003
|
+
offsetXMobile: number | null;
|
|
1004
|
+
offsetY: number | null;
|
|
1005
|
+
offsetYMobile: number | null;
|
|
1006
|
+
relatedFunnelId: string | null;
|
|
1007
|
+
relatedRuleId: string | {
|
|
1008
|
+
$oid: string;
|
|
1009
|
+
};
|
|
1010
|
+
relatedWebpageId: string;
|
|
1011
|
+
resolution: "none" | "resolved" | "dismissed" | "falsePositive";
|
|
1012
|
+
selector: string | null;
|
|
1013
|
+
siteOccurrences: number;
|
|
1014
|
+
src: string | null;
|
|
1015
|
+
templated: boolean;
|
|
1016
|
+
webpath: string;
|
|
1017
|
+
occurrences: number;
|
|
1018
|
+
aiValidations: {
|
|
1019
|
+
type: "falsePositive";
|
|
1020
|
+
feedback: {
|
|
1021
|
+
userId: string;
|
|
1022
|
+
helpful: boolean;
|
|
1023
|
+
userText: string;
|
|
1024
|
+
} | null;
|
|
1025
|
+
isFalsePositive: boolean;
|
|
1026
|
+
reasoning: string;
|
|
1027
|
+
}[];
|
|
1028
|
+
confidence: number;
|
|
1029
|
+
created: string;
|
|
1030
|
+
HTML: string;
|
|
1031
|
+
issueScreenshotUrl: string | null;
|
|
1032
|
+
modified: string;
|
|
1033
|
+
suggestionLabel: string;
|
|
1034
|
+
suggestionType: string;
|
|
1035
|
+
webpage: {
|
|
1036
|
+
id: string;
|
|
1037
|
+
webpath: string;
|
|
1038
|
+
mainpage: boolean;
|
|
1039
|
+
} | null;
|
|
1040
|
+
rule: {
|
|
1041
|
+
addSROnlyCSS: boolean;
|
|
1042
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
1043
|
+
eligibleForAutoResolve: boolean;
|
|
1044
|
+
engineRules: string[];
|
|
1045
|
+
id: string;
|
|
1046
|
+
isAutoResolvable: boolean;
|
|
1047
|
+
isEligibleForFalsePositiveAiValidation: boolean;
|
|
1048
|
+
issueDescription: string;
|
|
1049
|
+
issueResolution: string;
|
|
1050
|
+
issueTutorialLink: string | null;
|
|
1051
|
+
issueWCAGLink: string | null;
|
|
1052
|
+
name: string;
|
|
1053
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
1054
|
+
shortCode: string;
|
|
1055
|
+
shortDescription: string;
|
|
1056
|
+
suggestedFix: {
|
|
1057
|
+
suggestedFixHTML: string;
|
|
1058
|
+
suggestedFixKey: string;
|
|
1059
|
+
suggestedFixType: "attribute" | "srOnly" | "tag" | "removeAttribute";
|
|
1060
|
+
suggestedFixValue: string;
|
|
1061
|
+
}[];
|
|
1062
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
1063
|
+
};
|
|
1064
|
+
autoResolved?: boolean | undefined;
|
|
1065
|
+
altTextSuggestions?: string[] | null | undefined;
|
|
1066
|
+
autoResolvedBy?: string | null | undefined;
|
|
1067
|
+
autoResolvedDate?: string | null | undefined;
|
|
1068
|
+
webpages?: {
|
|
1069
|
+
id: string;
|
|
1070
|
+
name: string;
|
|
1071
|
+
webpath: string;
|
|
1072
|
+
}[] | undefined;
|
|
1073
|
+
}, {
|
|
1074
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
1075
|
+
id: string;
|
|
1076
|
+
name: string;
|
|
1077
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
1078
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
1079
|
+
assignedUser: string | null;
|
|
1080
|
+
commentsCount: number;
|
|
1081
|
+
device: "desktop" | "mobile" | "cross";
|
|
1082
|
+
displayName: string;
|
|
1083
|
+
exported: boolean;
|
|
1084
|
+
irrelevant: boolean;
|
|
1085
|
+
relatedFunnelId: string | null;
|
|
1086
|
+
relatedRuleId: string | {
|
|
170
1087
|
$oid: string;
|
|
171
|
-
}
|
|
172
|
-
|
|
1088
|
+
};
|
|
1089
|
+
relatedWebpageId: string;
|
|
1090
|
+
resolution: "none" | "resolved" | "dismissed" | "falsePositive";
|
|
1091
|
+
selector: string | null;
|
|
1092
|
+
siteOccurrences: number;
|
|
1093
|
+
src: string | null;
|
|
1094
|
+
templated: boolean;
|
|
1095
|
+
webpath: string;
|
|
1096
|
+
occurrences: number;
|
|
1097
|
+
confidence: number;
|
|
1098
|
+
created: string;
|
|
1099
|
+
HTML: string;
|
|
1100
|
+
issueScreenshotUrl: string | null;
|
|
1101
|
+
modified: string;
|
|
1102
|
+
suggestionLabel: string;
|
|
1103
|
+
suggestionType: string;
|
|
1104
|
+
webpage: {
|
|
1105
|
+
id: string;
|
|
1106
|
+
webpath: string;
|
|
1107
|
+
mainpage: boolean;
|
|
1108
|
+
} | null;
|
|
1109
|
+
rule: {
|
|
1110
|
+
addSROnlyCSS: boolean;
|
|
1111
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
1112
|
+
id: string;
|
|
1113
|
+
issueDescription: string;
|
|
1114
|
+
issueResolution: string;
|
|
1115
|
+
issueTutorialLink: string | null;
|
|
1116
|
+
issueWCAGLink: string | null;
|
|
1117
|
+
name: string;
|
|
1118
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
1119
|
+
shortCode: string;
|
|
1120
|
+
shortDescription: string;
|
|
1121
|
+
suggestedFix: {
|
|
1122
|
+
suggestedFixHTML: string;
|
|
1123
|
+
suggestedFixKey: string;
|
|
1124
|
+
suggestedFixType: "attribute" | "srOnly" | "tag" | "removeAttribute";
|
|
1125
|
+
suggestedFixValue: string;
|
|
1126
|
+
}[];
|
|
1127
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
1128
|
+
eligibleForAutoResolve?: boolean | undefined;
|
|
1129
|
+
engineRules?: string[] | undefined;
|
|
1130
|
+
isAutoResolvable?: boolean | undefined;
|
|
1131
|
+
isEligibleForFalsePositiveAiValidation?: boolean | undefined;
|
|
1132
|
+
};
|
|
1133
|
+
autoResolved?: boolean | undefined;
|
|
1134
|
+
altTextFeedback?: "positive" | "negative" | null | undefined;
|
|
1135
|
+
altTextSuggestions?: string[] | null | undefined;
|
|
1136
|
+
autoResolvedBy?: string | null | undefined;
|
|
1137
|
+
autoResolvedDate?: string | null | undefined;
|
|
1138
|
+
dismissedBy?: string | null | undefined;
|
|
1139
|
+
dismissedDate?: string | null | undefined;
|
|
1140
|
+
dismissedReason?: {
|
|
1141
|
+
comment: string;
|
|
1142
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
1143
|
+
} | null | undefined;
|
|
1144
|
+
lastStatusChangeLog?: {
|
|
1145
|
+
date: string;
|
|
1146
|
+
userId: string | null;
|
|
1147
|
+
userName: string;
|
|
1148
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
1149
|
+
autoResolved?: boolean | null | undefined;
|
|
1150
|
+
} | null | undefined;
|
|
1151
|
+
offsetX?: number | null | undefined;
|
|
1152
|
+
offsetXMobile?: number | null | undefined;
|
|
1153
|
+
offsetY?: number | null | undefined;
|
|
1154
|
+
offsetYMobile?: number | null | undefined;
|
|
1155
|
+
aiValidations?: {
|
|
1156
|
+
type: "falsePositive";
|
|
1157
|
+
isFalsePositive: boolean;
|
|
1158
|
+
reasoning: string;
|
|
1159
|
+
feedback?: {
|
|
1160
|
+
userId: string;
|
|
1161
|
+
helpful: boolean;
|
|
1162
|
+
userText: string;
|
|
1163
|
+
} | null | undefined;
|
|
1164
|
+
}[] | undefined;
|
|
1165
|
+
webpages?: {
|
|
1166
|
+
id: string;
|
|
1167
|
+
name: string;
|
|
1168
|
+
webpath: string;
|
|
1169
|
+
}[] | undefined;
|
|
1170
|
+
}>;
|
|
173
1171
|
export declare const UrgentIssuesResponseSchema: z.ZodObject<{
|
|
174
1172
|
issues: z.ZodArray<z.ZodObject<{
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
1173
|
+
altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<["positive", "negative"]>>>;
|
|
1174
|
+
altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1175
|
+
assignedUser: z.ZodNullable<z.ZodString>;
|
|
1176
|
+
autoResolved: z.ZodOptional<z.ZodBoolean>;
|
|
1177
|
+
autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1178
|
+
autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1179
|
+
commentsCount: z.ZodNumber;
|
|
1180
|
+
device: z.ZodEnum<["desktop", "mobile", "cross"]>;
|
|
1181
|
+
dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1182
|
+
dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1183
|
+
dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1184
|
+
comment: z.ZodString;
|
|
1185
|
+
type: z.ZodEnum<["duplicate", "falsePositive", "notApplicable", "willNotFix"]>;
|
|
182
1186
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
|
|
1187
|
+
comment: string;
|
|
1188
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
184
1189
|
}, {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
1190
|
+
comment: string;
|
|
1191
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
1192
|
+
}>>>;
|
|
1193
|
+
exported: z.ZodBoolean;
|
|
1194
|
+
id: z.ZodString;
|
|
1195
|
+
irrelevant: z.ZodBoolean;
|
|
1196
|
+
lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1197
|
+
autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1198
|
+
date: z.ZodString;
|
|
1199
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>>>;
|
|
1200
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
1201
|
+
userName: z.ZodString;
|
|
195
1202
|
}, "strip", z.ZodTypeAny, {
|
|
196
|
-
|
|
1203
|
+
date: string;
|
|
1204
|
+
userId: string | null;
|
|
1205
|
+
userName: string;
|
|
1206
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
1207
|
+
autoResolved?: boolean | null | undefined;
|
|
197
1208
|
}, {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
1209
|
+
date: string;
|
|
1210
|
+
userId: string | null;
|
|
1211
|
+
userName: string;
|
|
1212
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
1213
|
+
autoResolved?: boolean | null | undefined;
|
|
1214
|
+
}>>>;
|
|
1215
|
+
name: z.ZodString;
|
|
1216
|
+
offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1217
|
+
offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1218
|
+
offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1219
|
+
offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1220
|
+
relatedFunnelId: z.ZodNullable<z.ZodString>;
|
|
1221
|
+
relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
207
1222
|
$oid: z.ZodString;
|
|
208
1223
|
}, "strip", z.ZodTypeAny, {
|
|
209
1224
|
$oid: string;
|
|
210
1225
|
}, {
|
|
211
1226
|
$oid: string;
|
|
212
|
-
}>]
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
displayName: z.ZodString;
|
|
1227
|
+
}>]>;
|
|
1228
|
+
relatedWebpageId: z.ZodString;
|
|
1229
|
+
resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>;
|
|
1230
|
+
selector: z.ZodNullable<z.ZodString>;
|
|
217
1231
|
severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
|
|
218
|
-
WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
219
1232
|
siteOccurrences: z.ZodNumber;
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
1233
|
+
src: z.ZodNullable<z.ZodString>;
|
|
1234
|
+
templated: z.ZodBoolean;
|
|
1235
|
+
WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
|
|
1236
|
+
webpath: z.ZodString;
|
|
1237
|
+
} & {
|
|
1238
|
+
displayName: z.ZodString;
|
|
1239
|
+
criteria: z.ZodEnum<["clickables", "readability", "headings", "tables", "errors", "context", "forms", "keyboard", "graphics", "navigation", "document", "carousels", "aria", "general", "interactive-content", "landmarks", "lists", "metadata", "tabs"]>;
|
|
1240
|
+
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
1241
|
+
}, "strip", z.ZodTypeAny, {
|
|
1242
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
1243
|
+
id: string;
|
|
1244
|
+
name: string;
|
|
1245
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
1246
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
1247
|
+
altTextFeedback: "positive" | "negative" | null;
|
|
1248
|
+
assignedUser: string | null;
|
|
1249
|
+
commentsCount: number;
|
|
1250
|
+
device: "desktop" | "mobile" | "cross";
|
|
1251
|
+
dismissedBy: string | null;
|
|
1252
|
+
dismissedDate: string | null;
|
|
1253
|
+
dismissedReason: {
|
|
1254
|
+
comment: string;
|
|
1255
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
1256
|
+
} | null;
|
|
1257
|
+
displayName: string;
|
|
1258
|
+
exported: boolean;
|
|
1259
|
+
irrelevant: boolean;
|
|
1260
|
+
lastStatusChangeLog: {
|
|
1261
|
+
date: string;
|
|
1262
|
+
userId: string | null;
|
|
1263
|
+
userName: string;
|
|
1264
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
1265
|
+
autoResolved?: boolean | null | undefined;
|
|
1266
|
+
} | null;
|
|
1267
|
+
offsetX: number | null;
|
|
1268
|
+
offsetXMobile: number | null;
|
|
1269
|
+
offsetY: number | null;
|
|
1270
|
+
offsetYMobile: number | null;
|
|
1271
|
+
relatedFunnelId: string | null;
|
|
1272
|
+
relatedRuleId: string | {
|
|
224
1273
|
$oid: string;
|
|
225
|
-
}
|
|
1274
|
+
};
|
|
1275
|
+
relatedWebpageId: string;
|
|
1276
|
+
resolution: "none" | "resolved" | "dismissed" | "falsePositive";
|
|
1277
|
+
selector: string | null;
|
|
1278
|
+
siteOccurrences: number;
|
|
1279
|
+
src: string | null;
|
|
1280
|
+
templated: boolean;
|
|
1281
|
+
webpath: string;
|
|
1282
|
+
autoResolved?: boolean | undefined;
|
|
1283
|
+
altTextSuggestions?: string[] | null | undefined;
|
|
1284
|
+
autoResolvedBy?: string | null | undefined;
|
|
1285
|
+
autoResolvedDate?: string | null | undefined;
|
|
1286
|
+
occurrences?: number | undefined;
|
|
1287
|
+
}, {
|
|
1288
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
1289
|
+
id: string;
|
|
1290
|
+
name: string;
|
|
1291
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
1292
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
1293
|
+
assignedUser: string | null;
|
|
1294
|
+
commentsCount: number;
|
|
1295
|
+
device: "desktop" | "mobile" | "cross";
|
|
1296
|
+
displayName: string;
|
|
1297
|
+
exported: boolean;
|
|
1298
|
+
irrelevant: boolean;
|
|
1299
|
+
relatedFunnelId: string | null;
|
|
1300
|
+
relatedRuleId: string | {
|
|
226
1301
|
$oid: string;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
1302
|
+
};
|
|
1303
|
+
relatedWebpageId: string;
|
|
1304
|
+
resolution: "none" | "resolved" | "dismissed" | "falsePositive";
|
|
1305
|
+
selector: string | null;
|
|
1306
|
+
siteOccurrences: number;
|
|
1307
|
+
src: string | null;
|
|
1308
|
+
templated: boolean;
|
|
1309
|
+
webpath: string;
|
|
1310
|
+
autoResolved?: boolean | undefined;
|
|
1311
|
+
altTextFeedback?: "positive" | "negative" | null | undefined;
|
|
1312
|
+
altTextSuggestions?: string[] | null | undefined;
|
|
1313
|
+
autoResolvedBy?: string | null | undefined;
|
|
1314
|
+
autoResolvedDate?: string | null | undefined;
|
|
1315
|
+
dismissedBy?: string | null | undefined;
|
|
1316
|
+
dismissedDate?: string | null | undefined;
|
|
1317
|
+
dismissedReason?: {
|
|
1318
|
+
comment: string;
|
|
1319
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
1320
|
+
} | null | undefined;
|
|
1321
|
+
lastStatusChangeLog?: {
|
|
1322
|
+
date: string;
|
|
1323
|
+
userId: string | null;
|
|
1324
|
+
userName: string;
|
|
1325
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
1326
|
+
autoResolved?: boolean | null | undefined;
|
|
1327
|
+
} | null | undefined;
|
|
1328
|
+
offsetX?: number | null | undefined;
|
|
1329
|
+
offsetXMobile?: number | null | undefined;
|
|
1330
|
+
offsetY?: number | null | undefined;
|
|
1331
|
+
offsetYMobile?: number | null | undefined;
|
|
1332
|
+
occurrences?: number | undefined;
|
|
1333
|
+
}>, "many">;
|
|
1334
|
+
}, "strip", z.ZodTypeAny, {
|
|
1335
|
+
issues: {
|
|
1336
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
1337
|
+
id: string;
|
|
1338
|
+
name: string;
|
|
1339
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
1340
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
1341
|
+
altTextFeedback: "positive" | "negative" | null;
|
|
1342
|
+
assignedUser: string | null;
|
|
1343
|
+
commentsCount: number;
|
|
1344
|
+
device: "desktop" | "mobile" | "cross";
|
|
1345
|
+
dismissedBy: string | null;
|
|
1346
|
+
dismissedDate: string | null;
|
|
1347
|
+
dismissedReason: {
|
|
1348
|
+
comment: string;
|
|
1349
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
1350
|
+
} | null;
|
|
1351
|
+
displayName: string;
|
|
1352
|
+
exported: boolean;
|
|
1353
|
+
irrelevant: boolean;
|
|
1354
|
+
lastStatusChangeLog: {
|
|
1355
|
+
date: string;
|
|
1356
|
+
userId: string | null;
|
|
1357
|
+
userName: string;
|
|
1358
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
1359
|
+
autoResolved?: boolean | null | undefined;
|
|
1360
|
+
} | null;
|
|
1361
|
+
offsetX: number | null;
|
|
1362
|
+
offsetXMobile: number | null;
|
|
1363
|
+
offsetY: number | null;
|
|
1364
|
+
offsetYMobile: number | null;
|
|
1365
|
+
relatedFunnelId: string | null;
|
|
1366
|
+
relatedRuleId: string | {
|
|
239
1367
|
$oid: string;
|
|
240
|
-
}
|
|
1368
|
+
};
|
|
1369
|
+
relatedWebpageId: string;
|
|
1370
|
+
resolution: "none" | "resolved" | "dismissed" | "falsePositive";
|
|
1371
|
+
selector: string | null;
|
|
1372
|
+
siteOccurrences: number;
|
|
1373
|
+
src: string | null;
|
|
1374
|
+
templated: boolean;
|
|
1375
|
+
webpath: string;
|
|
1376
|
+
autoResolved?: boolean | undefined;
|
|
1377
|
+
altTextSuggestions?: string[] | null | undefined;
|
|
1378
|
+
autoResolvedBy?: string | null | undefined;
|
|
1379
|
+
autoResolvedDate?: string | null | undefined;
|
|
1380
|
+
occurrences?: number | undefined;
|
|
1381
|
+
}[];
|
|
1382
|
+
}, {
|
|
1383
|
+
issues: {
|
|
1384
|
+
criteria: "clickables" | "readability" | "headings" | "tables" | "errors" | "context" | "forms" | "keyboard" | "graphics" | "navigation" | "document" | "carousels" | "aria" | "general" | "interactive-content" | "landmarks" | "lists" | "metadata" | "tabs";
|
|
1385
|
+
id: string;
|
|
1386
|
+
name: string;
|
|
1387
|
+
severity: "extreme" | "high" | "medium" | "low";
|
|
1388
|
+
WCAGLevel: "A" | "AA" | "AAA";
|
|
1389
|
+
assignedUser: string | null;
|
|
1390
|
+
commentsCount: number;
|
|
1391
|
+
device: "desktop" | "mobile" | "cross";
|
|
1392
|
+
displayName: string;
|
|
1393
|
+
exported: boolean;
|
|
1394
|
+
irrelevant: boolean;
|
|
1395
|
+
relatedFunnelId: string | null;
|
|
1396
|
+
relatedRuleId: string | {
|
|
241
1397
|
$oid: string;
|
|
242
|
-
}
|
|
243
|
-
|
|
1398
|
+
};
|
|
1399
|
+
relatedWebpageId: string;
|
|
1400
|
+
resolution: "none" | "resolved" | "dismissed" | "falsePositive";
|
|
1401
|
+
selector: string | null;
|
|
1402
|
+
siteOccurrences: number;
|
|
1403
|
+
src: string | null;
|
|
1404
|
+
templated: boolean;
|
|
1405
|
+
webpath: string;
|
|
1406
|
+
autoResolved?: boolean | undefined;
|
|
1407
|
+
altTextFeedback?: "positive" | "negative" | null | undefined;
|
|
1408
|
+
altTextSuggestions?: string[] | null | undefined;
|
|
1409
|
+
autoResolvedBy?: string | null | undefined;
|
|
1410
|
+
autoResolvedDate?: string | null | undefined;
|
|
1411
|
+
dismissedBy?: string | null | undefined;
|
|
1412
|
+
dismissedDate?: string | null | undefined;
|
|
1413
|
+
dismissedReason?: {
|
|
1414
|
+
comment: string;
|
|
1415
|
+
type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
|
|
1416
|
+
} | null | undefined;
|
|
1417
|
+
lastStatusChangeLog?: {
|
|
1418
|
+
date: string;
|
|
1419
|
+
userId: string | null;
|
|
1420
|
+
userName: string;
|
|
1421
|
+
status?: "none" | "resolved" | "dismissed" | "falsePositive" | null | undefined;
|
|
1422
|
+
autoResolved?: boolean | null | undefined;
|
|
1423
|
+
} | null | undefined;
|
|
1424
|
+
offsetX?: number | null | undefined;
|
|
1425
|
+
offsetXMobile?: number | null | undefined;
|
|
1426
|
+
offsetY?: number | null | undefined;
|
|
1427
|
+
offsetYMobile?: number | null | undefined;
|
|
1428
|
+
occurrences?: number | undefined;
|
|
1429
|
+
}[];
|
|
244
1430
|
}>;
|
|
245
1431
|
export declare const ResolveIssueRequestSchema: z.ZodObject<{
|
|
246
1432
|
displayName: z.ZodString;
|
|
@@ -257,8 +1443,10 @@ export declare const ResolveIssueResponseSchema: z.ZodObject<{
|
|
|
257
1443
|
success: true;
|
|
258
1444
|
}>;
|
|
259
1445
|
export type Severity = z.infer<typeof SeveritySchema>;
|
|
260
|
-
export type
|
|
261
|
-
export type
|
|
1446
|
+
export type WCAGLevelType = z.infer<typeof WCAGLevel>;
|
|
1447
|
+
export type CriteriaType = z.infer<typeof Criteria>;
|
|
1448
|
+
export type ApiRule = z.infer<typeof RuleSchema>;
|
|
1449
|
+
export type ApiIssue = z.infer<typeof McpBasicIssueSchema>;
|
|
262
1450
|
export type ApiUrgentIssuesResponse = z.infer<typeof UrgentIssuesResponseSchema>;
|
|
263
|
-
export type ApiIssueRemediation = z.infer<typeof
|
|
1451
|
+
export type ApiIssueRemediation = z.infer<typeof McpDetailIssueSchema>;
|
|
264
1452
|
//# sourceMappingURL=apiSchemas.d.ts.map
|