accessflow-mcp-server 2.3.5 → 2.3.7-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +107 -50
- package/dist/schemas/apiSchemas.d.ts +1107 -0
- package/dist/schemas/apiSchemas.d.ts.map +1 -0
- package/dist/schemas/apiSchemas.js +231 -0
- package/dist/schemas/apiSchemas.js.map +1 -0
- package/dist/services/apiSchemas.d.ts +384 -25
- package/dist/services/apiSchemas.d.ts.map +1 -1
- package/dist/services/apiSchemas.js +24 -7
- package/dist/services/apiSchemas.js.map +1 -1
- package/dist/services/apiService.d.ts +3 -3
- package/dist/services/apiService.d.ts.map +1 -1
- package/dist/services/apiService.js +15 -5
- package/dist/services/apiService.js.map +1 -1
- package/dist/tools/getIssueRemediation.d.ts +5 -0
- package/dist/tools/getIssueRemediation.d.ts.map +1 -1
- package/dist/tools/getIssueRemediation.js +29 -21
- package/dist/tools/getIssueRemediation.js.map +1 -1
- package/dist/tools/getMostUrgentIssues.d.ts +11 -1
- package/dist/tools/getMostUrgentIssues.d.ts.map +1 -1
- package/dist/tools/getMostUrgentIssues.js +40 -19
- package/dist/tools/getMostUrgentIssues.js.map +1 -1
- package/dist/tools/submitFeedback.js +1 -1
- package/dist/tools/submitFeedback.js.map +1 -1
- package/dist/tools/toolRegistry.d.ts +14 -1
- package/dist/tools/toolRegistry.d.ts.map +1 -1
- package/dist/types/issues.d.ts +4 -1
- package/dist/types/issues.d.ts.map +1 -1
- package/dist/types/remediation.d.ts +1 -1
- package/dist/types/remediation.d.ts.map +1 -1
- package/dist/utils/remediation.d.ts +3 -3
- package/dist/utils/remediation.d.ts.map +1 -1
- package/dist/utils/remediation.js +5 -9
- package/dist/utils/remediation.js.map +1 -1
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ export declare const SeveritySchema: z.ZodEnum<{
|
|
|
21
21
|
low: "low";
|
|
22
22
|
}>;
|
|
23
23
|
export declare const WCAGLevel: z.ZodEnum<{
|
|
24
|
+
none: "none";
|
|
24
25
|
A: "A";
|
|
25
26
|
AA: "AA";
|
|
26
27
|
AAA: "AAA";
|
|
@@ -30,10 +31,10 @@ export declare const AltTextFeedbackSchema: z.ZodEnum<{
|
|
|
30
31
|
negative: "negative";
|
|
31
32
|
}>;
|
|
32
33
|
export declare const DismissedReason: z.ZodEnum<{
|
|
33
|
-
|
|
34
|
+
other: "other";
|
|
34
35
|
falsePositive: "falsePositive";
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
irrelevant: "irrelevant";
|
|
37
|
+
design: "design";
|
|
37
38
|
}>;
|
|
38
39
|
export declare const Criteria: z.ZodEnum<{
|
|
39
40
|
clickables: "clickables";
|
|
@@ -55,14 +56,18 @@ export declare const Criteria: z.ZodEnum<{
|
|
|
55
56
|
lists: "lists";
|
|
56
57
|
metadata: "metadata";
|
|
57
58
|
tabs: "tabs";
|
|
59
|
+
breadcrumbs: "breadcrumbs";
|
|
60
|
+
dialogs: "dialogs";
|
|
61
|
+
"text-content": "text-content";
|
|
62
|
+
"moving-content": "moving-content";
|
|
58
63
|
}>;
|
|
59
64
|
export declare const DismissedReasonSchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
60
65
|
comment: z.ZodOptional<z.ZodString>;
|
|
61
66
|
type: z.ZodOptional<z.ZodEnum<{
|
|
62
|
-
|
|
67
|
+
other: "other";
|
|
63
68
|
falsePositive: "falsePositive";
|
|
64
|
-
|
|
65
|
-
|
|
69
|
+
irrelevant: "irrelevant";
|
|
70
|
+
design: "design";
|
|
66
71
|
}>>;
|
|
67
72
|
}, z.core.$strip>>>;
|
|
68
73
|
export declare const LastStatusChangeLogSchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -92,6 +97,9 @@ export declare const FalsePositiveAiValidationSchema: z.ZodObject<{
|
|
|
92
97
|
}, z.core.$strip>;
|
|
93
98
|
export declare const RuleSchema: z.ZodObject<{
|
|
94
99
|
addSROnlyCSS: z.ZodBoolean;
|
|
100
|
+
confidence: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
101
|
+
low: "low";
|
|
102
|
+
}>>>;
|
|
95
103
|
criteria: z.ZodEnum<{
|
|
96
104
|
clickables: "clickables";
|
|
97
105
|
readability: "readability";
|
|
@@ -112,6 +120,10 @@ export declare const RuleSchema: z.ZodObject<{
|
|
|
112
120
|
lists: "lists";
|
|
113
121
|
metadata: "metadata";
|
|
114
122
|
tabs: "tabs";
|
|
123
|
+
breadcrumbs: "breadcrumbs";
|
|
124
|
+
dialogs: "dialogs";
|
|
125
|
+
"text-content": "text-content";
|
|
126
|
+
"moving-content": "moving-content";
|
|
115
127
|
}>;
|
|
116
128
|
eligibleForAutoResolve: z.ZodReadonly<z.ZodDefault<z.ZodBoolean>>;
|
|
117
129
|
engineRules: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -121,7 +133,8 @@ export declare const RuleSchema: z.ZodObject<{
|
|
|
121
133
|
issueDescription: z.ZodString;
|
|
122
134
|
issueResolution: z.ZodString;
|
|
123
135
|
issueTutorialLink: z.ZodNullable<z.ZodString>;
|
|
124
|
-
issueWCAGLink: z.
|
|
136
|
+
issueWCAGLink: z.ZodOptional<z.ZodString>;
|
|
137
|
+
issueWCAGLinks: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
125
138
|
name: z.ZodString;
|
|
126
139
|
severity: z.ZodEnum<{
|
|
127
140
|
extreme: "extreme";
|
|
@@ -143,6 +156,7 @@ export declare const RuleSchema: z.ZodObject<{
|
|
|
143
156
|
suggestedFixValue: z.ZodString;
|
|
144
157
|
}, z.core.$strip>>;
|
|
145
158
|
WCAGLevel: z.ZodEnum<{
|
|
159
|
+
none: "none";
|
|
146
160
|
A: "A";
|
|
147
161
|
AA: "AA";
|
|
148
162
|
AAA: "AAA";
|
|
@@ -169,10 +183,10 @@ export declare const BasicIssueSchema: z.ZodObject<{
|
|
|
169
183
|
dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
170
184
|
comment: z.ZodString;
|
|
171
185
|
type: z.ZodEnum<{
|
|
172
|
-
|
|
186
|
+
other: "other";
|
|
173
187
|
falsePositive: "falsePositive";
|
|
174
|
-
|
|
175
|
-
|
|
188
|
+
irrelevant: "irrelevant";
|
|
189
|
+
design: "design";
|
|
176
190
|
}>;
|
|
177
191
|
}, z.core.$strip>>>;
|
|
178
192
|
displayName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -218,6 +232,7 @@ export declare const BasicIssueSchema: z.ZodObject<{
|
|
|
218
232
|
src: z.ZodNullable<z.ZodString>;
|
|
219
233
|
templated: z.ZodBoolean;
|
|
220
234
|
WCAGLevel: z.ZodEnum<{
|
|
235
|
+
none: "none";
|
|
221
236
|
A: "A";
|
|
222
237
|
AA: "AA";
|
|
223
238
|
AAA: "AAA";
|
|
@@ -245,10 +260,120 @@ export declare const McpBasicIssueSchema: z.ZodObject<{
|
|
|
245
260
|
dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
246
261
|
comment: z.ZodString;
|
|
247
262
|
type: z.ZodEnum<{
|
|
248
|
-
|
|
263
|
+
other: "other";
|
|
264
|
+
falsePositive: "falsePositive";
|
|
265
|
+
irrelevant: "irrelevant";
|
|
266
|
+
design: "design";
|
|
267
|
+
}>;
|
|
268
|
+
}, z.core.$strip>>>;
|
|
269
|
+
exported: z.ZodBoolean;
|
|
270
|
+
id: z.ZodString;
|
|
271
|
+
irrelevant: z.ZodBoolean;
|
|
272
|
+
lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
273
|
+
autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
274
|
+
date: z.ZodString;
|
|
275
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
276
|
+
none: "none";
|
|
277
|
+
automatic: "automatic";
|
|
278
|
+
manual: "manual";
|
|
279
|
+
dismissed: "dismissed";
|
|
280
|
+
}>>>;
|
|
281
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
282
|
+
userName: z.ZodString;
|
|
283
|
+
}, z.core.$strip>>>;
|
|
284
|
+
name: z.ZodString;
|
|
285
|
+
offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
286
|
+
offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
287
|
+
offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
288
|
+
offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
289
|
+
relatedFunnelId: z.ZodNullable<z.ZodString>;
|
|
290
|
+
relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
291
|
+
$oid: z.ZodString;
|
|
292
|
+
}, z.core.$strip>]>;
|
|
293
|
+
relatedWebpageId: z.ZodString;
|
|
294
|
+
resolution: z.ZodEnum<{
|
|
295
|
+
none: "none";
|
|
296
|
+
automatic: "automatic";
|
|
297
|
+
manual: "manual";
|
|
298
|
+
dismissed: "dismissed";
|
|
299
|
+
}>;
|
|
300
|
+
selector: z.ZodNullable<z.ZodString>;
|
|
301
|
+
severity: z.ZodEnum<{
|
|
302
|
+
extreme: "extreme";
|
|
303
|
+
high: "high";
|
|
304
|
+
medium: "medium";
|
|
305
|
+
low: "low";
|
|
306
|
+
}>;
|
|
307
|
+
siteOccurrences: z.ZodNumber;
|
|
308
|
+
src: z.ZodNullable<z.ZodString>;
|
|
309
|
+
templated: z.ZodBoolean;
|
|
310
|
+
WCAGLevel: z.ZodEnum<{
|
|
311
|
+
none: "none";
|
|
312
|
+
A: "A";
|
|
313
|
+
AA: "AA";
|
|
314
|
+
AAA: "AAA";
|
|
315
|
+
}>;
|
|
316
|
+
webpath: z.ZodString;
|
|
317
|
+
displayName: z.ZodString;
|
|
318
|
+
criteria: z.ZodEnum<{
|
|
319
|
+
clickables: "clickables";
|
|
320
|
+
readability: "readability";
|
|
321
|
+
headings: "headings";
|
|
322
|
+
tables: "tables";
|
|
323
|
+
errors: "errors";
|
|
324
|
+
context: "context";
|
|
325
|
+
forms: "forms";
|
|
326
|
+
keyboard: "keyboard";
|
|
327
|
+
graphics: "graphics";
|
|
328
|
+
navigation: "navigation";
|
|
329
|
+
document: "document";
|
|
330
|
+
carousels: "carousels";
|
|
331
|
+
aria: "aria";
|
|
332
|
+
general: "general";
|
|
333
|
+
"interactive-content": "interactive-content";
|
|
334
|
+
landmarks: "landmarks";
|
|
335
|
+
lists: "lists";
|
|
336
|
+
metadata: "metadata";
|
|
337
|
+
tabs: "tabs";
|
|
338
|
+
breadcrumbs: "breadcrumbs";
|
|
339
|
+
dialogs: "dialogs";
|
|
340
|
+
"text-content": "text-content";
|
|
341
|
+
"moving-content": "moving-content";
|
|
342
|
+
}>;
|
|
343
|
+
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
344
|
+
}, z.core.$strip>;
|
|
345
|
+
export declare const AuditSource: z.ZodEnum<{
|
|
346
|
+
PLATFORM: "PLATFORM";
|
|
347
|
+
SDK: "SDK";
|
|
348
|
+
}>;
|
|
349
|
+
export declare const SdkIssueContextSchema: z.ZodObject<{
|
|
350
|
+
snippet: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
351
|
+
}, z.core.$strip>;
|
|
352
|
+
export declare const McpAuditIssueSchema: z.ZodObject<{
|
|
353
|
+
altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
354
|
+
positive: "positive";
|
|
355
|
+
negative: "negative";
|
|
356
|
+
}>>>;
|
|
357
|
+
altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
358
|
+
assignedUser: z.ZodNullable<z.ZodString>;
|
|
359
|
+
autoResolved: z.ZodOptional<z.ZodBoolean>;
|
|
360
|
+
autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
361
|
+
autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
362
|
+
commentsCount: z.ZodNumber;
|
|
363
|
+
device: z.ZodEnum<{
|
|
364
|
+
desktop: "desktop";
|
|
365
|
+
mobile: "mobile";
|
|
366
|
+
cross: "cross";
|
|
367
|
+
}>;
|
|
368
|
+
dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
369
|
+
dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
370
|
+
dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
371
|
+
comment: z.ZodString;
|
|
372
|
+
type: z.ZodEnum<{
|
|
373
|
+
other: "other";
|
|
249
374
|
falsePositive: "falsePositive";
|
|
250
|
-
|
|
251
|
-
|
|
375
|
+
irrelevant: "irrelevant";
|
|
376
|
+
design: "design";
|
|
252
377
|
}>;
|
|
253
378
|
}, z.core.$strip>>>;
|
|
254
379
|
exported: z.ZodBoolean;
|
|
@@ -293,6 +418,7 @@ export declare const McpBasicIssueSchema: z.ZodObject<{
|
|
|
293
418
|
src: z.ZodNullable<z.ZodString>;
|
|
294
419
|
templated: z.ZodBoolean;
|
|
295
420
|
WCAGLevel: z.ZodEnum<{
|
|
421
|
+
none: "none";
|
|
296
422
|
A: "A";
|
|
297
423
|
AA: "AA";
|
|
298
424
|
AAA: "AAA";
|
|
@@ -319,8 +445,15 @@ export declare const McpBasicIssueSchema: z.ZodObject<{
|
|
|
319
445
|
lists: "lists";
|
|
320
446
|
metadata: "metadata";
|
|
321
447
|
tabs: "tabs";
|
|
448
|
+
breadcrumbs: "breadcrumbs";
|
|
449
|
+
dialogs: "dialogs";
|
|
450
|
+
"text-content": "text-content";
|
|
451
|
+
"moving-content": "moving-content";
|
|
322
452
|
}>;
|
|
323
453
|
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
454
|
+
sdkContext: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
455
|
+
snippet: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
456
|
+
}, z.core.$strip>>>;
|
|
324
457
|
}, z.core.$strip>;
|
|
325
458
|
export declare const IssueSchema: z.ZodObject<{
|
|
326
459
|
altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
@@ -343,10 +476,10 @@ export declare const IssueSchema: z.ZodObject<{
|
|
|
343
476
|
dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
344
477
|
comment: z.ZodString;
|
|
345
478
|
type: z.ZodEnum<{
|
|
346
|
-
|
|
479
|
+
other: "other";
|
|
347
480
|
falsePositive: "falsePositive";
|
|
348
|
-
|
|
349
|
-
|
|
481
|
+
irrelevant: "irrelevant";
|
|
482
|
+
design: "design";
|
|
350
483
|
}>;
|
|
351
484
|
}, z.core.$strip>>>;
|
|
352
485
|
displayName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -391,6 +524,7 @@ export declare const IssueSchema: z.ZodObject<{
|
|
|
391
524
|
src: z.ZodNullable<z.ZodString>;
|
|
392
525
|
templated: z.ZodBoolean;
|
|
393
526
|
WCAGLevel: z.ZodEnum<{
|
|
527
|
+
none: "none";
|
|
394
528
|
A: "A";
|
|
395
529
|
AA: "AA";
|
|
396
530
|
AAA: "AAA";
|
|
@@ -408,7 +542,6 @@ export declare const IssueSchema: z.ZodObject<{
|
|
|
408
542
|
isFalsePositive: z.ZodBoolean;
|
|
409
543
|
reasoning: z.ZodString;
|
|
410
544
|
}, z.core.$strip>>>;
|
|
411
|
-
confidence: z.ZodNumber;
|
|
412
545
|
created: z.ZodString;
|
|
413
546
|
HTML: z.ZodString;
|
|
414
547
|
irrelevant: z.ZodBoolean;
|
|
@@ -449,10 +582,10 @@ export declare const McpDetailIssueSchema: z.ZodObject<{
|
|
|
449
582
|
dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
450
583
|
comment: z.ZodString;
|
|
451
584
|
type: z.ZodEnum<{
|
|
452
|
-
|
|
585
|
+
other: "other";
|
|
453
586
|
falsePositive: "falsePositive";
|
|
454
|
-
|
|
455
|
-
|
|
587
|
+
irrelevant: "irrelevant";
|
|
588
|
+
design: "design";
|
|
456
589
|
}>;
|
|
457
590
|
}, z.core.$strip>>>;
|
|
458
591
|
exported: z.ZodBoolean;
|
|
@@ -496,6 +629,7 @@ export declare const McpDetailIssueSchema: z.ZodObject<{
|
|
|
496
629
|
src: z.ZodNullable<z.ZodString>;
|
|
497
630
|
templated: z.ZodBoolean;
|
|
498
631
|
WCAGLevel: z.ZodEnum<{
|
|
632
|
+
none: "none";
|
|
499
633
|
A: "A";
|
|
500
634
|
AA: "AA";
|
|
501
635
|
AAA: "AAA";
|
|
@@ -513,7 +647,6 @@ export declare const McpDetailIssueSchema: z.ZodObject<{
|
|
|
513
647
|
isFalsePositive: z.ZodBoolean;
|
|
514
648
|
reasoning: z.ZodString;
|
|
515
649
|
}, z.core.$strip>>>;
|
|
516
|
-
confidence: z.ZodNumber;
|
|
517
650
|
created: z.ZodString;
|
|
518
651
|
HTML: z.ZodString;
|
|
519
652
|
irrelevant: z.ZodBoolean;
|
|
@@ -553,9 +686,16 @@ export declare const McpDetailIssueSchema: z.ZodObject<{
|
|
|
553
686
|
lists: "lists";
|
|
554
687
|
metadata: "metadata";
|
|
555
688
|
tabs: "tabs";
|
|
689
|
+
breadcrumbs: "breadcrumbs";
|
|
690
|
+
dialogs: "dialogs";
|
|
691
|
+
"text-content": "text-content";
|
|
692
|
+
"moving-content": "moving-content";
|
|
556
693
|
}>;
|
|
557
694
|
rule: z.ZodObject<{
|
|
558
695
|
addSROnlyCSS: z.ZodBoolean;
|
|
696
|
+
confidence: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
697
|
+
low: "low";
|
|
698
|
+
}>>>;
|
|
559
699
|
criteria: z.ZodEnum<{
|
|
560
700
|
clickables: "clickables";
|
|
561
701
|
readability: "readability";
|
|
@@ -576,6 +716,10 @@ export declare const McpDetailIssueSchema: z.ZodObject<{
|
|
|
576
716
|
lists: "lists";
|
|
577
717
|
metadata: "metadata";
|
|
578
718
|
tabs: "tabs";
|
|
719
|
+
breadcrumbs: "breadcrumbs";
|
|
720
|
+
dialogs: "dialogs";
|
|
721
|
+
"text-content": "text-content";
|
|
722
|
+
"moving-content": "moving-content";
|
|
579
723
|
}>;
|
|
580
724
|
eligibleForAutoResolve: z.ZodReadonly<z.ZodDefault<z.ZodBoolean>>;
|
|
581
725
|
engineRules: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -585,7 +729,8 @@ export declare const McpDetailIssueSchema: z.ZodObject<{
|
|
|
585
729
|
issueDescription: z.ZodString;
|
|
586
730
|
issueResolution: z.ZodString;
|
|
587
731
|
issueTutorialLink: z.ZodNullable<z.ZodString>;
|
|
588
|
-
issueWCAGLink: z.
|
|
732
|
+
issueWCAGLink: z.ZodOptional<z.ZodString>;
|
|
733
|
+
issueWCAGLinks: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
589
734
|
name: z.ZodString;
|
|
590
735
|
severity: z.ZodEnum<{
|
|
591
736
|
extreme: "extreme";
|
|
@@ -607,12 +752,214 @@ export declare const McpDetailIssueSchema: z.ZodObject<{
|
|
|
607
752
|
suggestedFixValue: z.ZodString;
|
|
608
753
|
}, z.core.$strip>>;
|
|
609
754
|
WCAGLevel: z.ZodEnum<{
|
|
755
|
+
none: "none";
|
|
610
756
|
A: "A";
|
|
611
757
|
AA: "AA";
|
|
612
758
|
AAA: "AAA";
|
|
613
759
|
}>;
|
|
614
760
|
}, z.core.$strip>;
|
|
615
761
|
}, z.core.$strip>;
|
|
762
|
+
export declare const McpAuditDetailIssueSchema: z.ZodObject<{
|
|
763
|
+
altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
764
|
+
positive: "positive";
|
|
765
|
+
negative: "negative";
|
|
766
|
+
}>>>;
|
|
767
|
+
altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
768
|
+
assignedUser: z.ZodNullable<z.ZodString>;
|
|
769
|
+
autoResolved: z.ZodOptional<z.ZodBoolean>;
|
|
770
|
+
autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
771
|
+
autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
772
|
+
commentsCount: z.ZodNumber;
|
|
773
|
+
device: z.ZodEnum<{
|
|
774
|
+
desktop: "desktop";
|
|
775
|
+
mobile: "mobile";
|
|
776
|
+
cross: "cross";
|
|
777
|
+
}>;
|
|
778
|
+
dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
779
|
+
dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
780
|
+
dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
781
|
+
comment: z.ZodString;
|
|
782
|
+
type: z.ZodEnum<{
|
|
783
|
+
other: "other";
|
|
784
|
+
falsePositive: "falsePositive";
|
|
785
|
+
irrelevant: "irrelevant";
|
|
786
|
+
design: "design";
|
|
787
|
+
}>;
|
|
788
|
+
}, z.core.$strip>>>;
|
|
789
|
+
exported: z.ZodBoolean;
|
|
790
|
+
id: z.ZodString;
|
|
791
|
+
lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
792
|
+
autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
793
|
+
date: z.ZodString;
|
|
794
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
795
|
+
none: "none";
|
|
796
|
+
automatic: "automatic";
|
|
797
|
+
manual: "manual";
|
|
798
|
+
dismissed: "dismissed";
|
|
799
|
+
}>>>;
|
|
800
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
801
|
+
userName: z.ZodString;
|
|
802
|
+
}, z.core.$strip>>>;
|
|
803
|
+
name: z.ZodString;
|
|
804
|
+
offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
805
|
+
offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
806
|
+
offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
807
|
+
offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
808
|
+
relatedFunnelId: z.ZodNullable<z.ZodString>;
|
|
809
|
+
relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
810
|
+
$oid: z.ZodString;
|
|
811
|
+
}, z.core.$strip>]>;
|
|
812
|
+
relatedWebpageId: z.ZodString;
|
|
813
|
+
resolution: z.ZodEnum<{
|
|
814
|
+
none: "none";
|
|
815
|
+
automatic: "automatic";
|
|
816
|
+
manual: "manual";
|
|
817
|
+
dismissed: "dismissed";
|
|
818
|
+
}>;
|
|
819
|
+
selector: z.ZodNullable<z.ZodString>;
|
|
820
|
+
severity: z.ZodEnum<{
|
|
821
|
+
extreme: "extreme";
|
|
822
|
+
high: "high";
|
|
823
|
+
medium: "medium";
|
|
824
|
+
low: "low";
|
|
825
|
+
}>;
|
|
826
|
+
siteOccurrences: z.ZodNumber;
|
|
827
|
+
src: z.ZodNullable<z.ZodString>;
|
|
828
|
+
templated: z.ZodBoolean;
|
|
829
|
+
WCAGLevel: z.ZodEnum<{
|
|
830
|
+
none: "none";
|
|
831
|
+
A: "A";
|
|
832
|
+
AA: "AA";
|
|
833
|
+
AAA: "AAA";
|
|
834
|
+
}>;
|
|
835
|
+
webpath: z.ZodString;
|
|
836
|
+
aiValidations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
837
|
+
feedback: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
838
|
+
helpful: z.ZodBoolean;
|
|
839
|
+
userId: z.ZodString;
|
|
840
|
+
userText: z.ZodString;
|
|
841
|
+
}, z.core.$strip>>>;
|
|
842
|
+
type: z.ZodEnum<{
|
|
843
|
+
falsePositive: "falsePositive";
|
|
844
|
+
}>;
|
|
845
|
+
isFalsePositive: z.ZodBoolean;
|
|
846
|
+
reasoning: z.ZodString;
|
|
847
|
+
}, z.core.$strip>>>;
|
|
848
|
+
created: z.ZodString;
|
|
849
|
+
HTML: z.ZodString;
|
|
850
|
+
irrelevant: z.ZodBoolean;
|
|
851
|
+
issueScreenshotUrl: z.ZodNullable<z.ZodString>;
|
|
852
|
+
modified: z.ZodString;
|
|
853
|
+
occurrences: z.ZodNumber;
|
|
854
|
+
suggestionLabel: z.ZodString;
|
|
855
|
+
suggestionType: z.ZodString;
|
|
856
|
+
webpage: z.ZodNullable<z.ZodObject<{
|
|
857
|
+
id: z.ZodString;
|
|
858
|
+
mainpage: z.ZodBoolean;
|
|
859
|
+
webpath: z.ZodString;
|
|
860
|
+
}, z.core.$strip>>;
|
|
861
|
+
webpages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
862
|
+
id: z.ZodString;
|
|
863
|
+
name: z.ZodString;
|
|
864
|
+
webpath: z.ZodString;
|
|
865
|
+
}, z.core.$strip>>>;
|
|
866
|
+
displayName: z.ZodString;
|
|
867
|
+
criteria: z.ZodEnum<{
|
|
868
|
+
clickables: "clickables";
|
|
869
|
+
readability: "readability";
|
|
870
|
+
headings: "headings";
|
|
871
|
+
tables: "tables";
|
|
872
|
+
errors: "errors";
|
|
873
|
+
context: "context";
|
|
874
|
+
forms: "forms";
|
|
875
|
+
keyboard: "keyboard";
|
|
876
|
+
graphics: "graphics";
|
|
877
|
+
navigation: "navigation";
|
|
878
|
+
document: "document";
|
|
879
|
+
carousels: "carousels";
|
|
880
|
+
aria: "aria";
|
|
881
|
+
general: "general";
|
|
882
|
+
"interactive-content": "interactive-content";
|
|
883
|
+
landmarks: "landmarks";
|
|
884
|
+
lists: "lists";
|
|
885
|
+
metadata: "metadata";
|
|
886
|
+
tabs: "tabs";
|
|
887
|
+
breadcrumbs: "breadcrumbs";
|
|
888
|
+
dialogs: "dialogs";
|
|
889
|
+
"text-content": "text-content";
|
|
890
|
+
"moving-content": "moving-content";
|
|
891
|
+
}>;
|
|
892
|
+
rule: z.ZodObject<{
|
|
893
|
+
addSROnlyCSS: z.ZodBoolean;
|
|
894
|
+
confidence: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
895
|
+
low: "low";
|
|
896
|
+
}>>>;
|
|
897
|
+
criteria: z.ZodEnum<{
|
|
898
|
+
clickables: "clickables";
|
|
899
|
+
readability: "readability";
|
|
900
|
+
headings: "headings";
|
|
901
|
+
tables: "tables";
|
|
902
|
+
errors: "errors";
|
|
903
|
+
context: "context";
|
|
904
|
+
forms: "forms";
|
|
905
|
+
keyboard: "keyboard";
|
|
906
|
+
graphics: "graphics";
|
|
907
|
+
navigation: "navigation";
|
|
908
|
+
document: "document";
|
|
909
|
+
carousels: "carousels";
|
|
910
|
+
aria: "aria";
|
|
911
|
+
general: "general";
|
|
912
|
+
"interactive-content": "interactive-content";
|
|
913
|
+
landmarks: "landmarks";
|
|
914
|
+
lists: "lists";
|
|
915
|
+
metadata: "metadata";
|
|
916
|
+
tabs: "tabs";
|
|
917
|
+
breadcrumbs: "breadcrumbs";
|
|
918
|
+
dialogs: "dialogs";
|
|
919
|
+
"text-content": "text-content";
|
|
920
|
+
"moving-content": "moving-content";
|
|
921
|
+
}>;
|
|
922
|
+
eligibleForAutoResolve: z.ZodReadonly<z.ZodDefault<z.ZodBoolean>>;
|
|
923
|
+
engineRules: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
924
|
+
id: z.ZodString;
|
|
925
|
+
isAutoResolvable: z.ZodDefault<z.ZodBoolean>;
|
|
926
|
+
isEligibleForFalsePositiveAiValidation: z.ZodDefault<z.ZodBoolean>;
|
|
927
|
+
issueDescription: z.ZodString;
|
|
928
|
+
issueResolution: z.ZodString;
|
|
929
|
+
issueTutorialLink: z.ZodNullable<z.ZodString>;
|
|
930
|
+
issueWCAGLink: z.ZodOptional<z.ZodString>;
|
|
931
|
+
issueWCAGLinks: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
932
|
+
name: z.ZodString;
|
|
933
|
+
severity: z.ZodEnum<{
|
|
934
|
+
extreme: "extreme";
|
|
935
|
+
high: "high";
|
|
936
|
+
medium: "medium";
|
|
937
|
+
low: "low";
|
|
938
|
+
}>;
|
|
939
|
+
shortCode: z.ZodString;
|
|
940
|
+
shortDescription: z.ZodString;
|
|
941
|
+
suggestedFix: z.ZodArray<z.ZodObject<{
|
|
942
|
+
suggestedFixHTML: z.ZodString;
|
|
943
|
+
suggestedFixKey: z.ZodString;
|
|
944
|
+
suggestedFixType: z.ZodEnum<{
|
|
945
|
+
attribute: "attribute";
|
|
946
|
+
srOnly: "srOnly";
|
|
947
|
+
tag: "tag";
|
|
948
|
+
removeAttribute: "removeAttribute";
|
|
949
|
+
}>;
|
|
950
|
+
suggestedFixValue: z.ZodString;
|
|
951
|
+
}, z.core.$strip>>;
|
|
952
|
+
WCAGLevel: z.ZodEnum<{
|
|
953
|
+
none: "none";
|
|
954
|
+
A: "A";
|
|
955
|
+
AA: "AA";
|
|
956
|
+
AAA: "AAA";
|
|
957
|
+
}>;
|
|
958
|
+
}, z.core.$strip>;
|
|
959
|
+
sdkContext: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
960
|
+
snippet: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
961
|
+
}, z.core.$strip>>>;
|
|
962
|
+
}, z.core.$strip>;
|
|
616
963
|
export declare const UrgentIssuesResponseSchema: z.ZodObject<{
|
|
617
964
|
issues: z.ZodArray<z.ZodObject<{
|
|
618
965
|
altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
@@ -635,10 +982,10 @@ export declare const UrgentIssuesResponseSchema: z.ZodObject<{
|
|
|
635
982
|
dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
636
983
|
comment: z.ZodString;
|
|
637
984
|
type: z.ZodEnum<{
|
|
638
|
-
|
|
985
|
+
other: "other";
|
|
639
986
|
falsePositive: "falsePositive";
|
|
640
|
-
|
|
641
|
-
|
|
987
|
+
irrelevant: "irrelevant";
|
|
988
|
+
design: "design";
|
|
642
989
|
}>;
|
|
643
990
|
}, z.core.$strip>>>;
|
|
644
991
|
exported: z.ZodBoolean;
|
|
@@ -683,6 +1030,7 @@ export declare const UrgentIssuesResponseSchema: z.ZodObject<{
|
|
|
683
1030
|
src: z.ZodNullable<z.ZodString>;
|
|
684
1031
|
templated: z.ZodBoolean;
|
|
685
1032
|
WCAGLevel: z.ZodEnum<{
|
|
1033
|
+
none: "none";
|
|
686
1034
|
A: "A";
|
|
687
1035
|
AA: "AA";
|
|
688
1036
|
AAA: "AAA";
|
|
@@ -709,8 +1057,15 @@ export declare const UrgentIssuesResponseSchema: z.ZodObject<{
|
|
|
709
1057
|
lists: "lists";
|
|
710
1058
|
metadata: "metadata";
|
|
711
1059
|
tabs: "tabs";
|
|
1060
|
+
breadcrumbs: "breadcrumbs";
|
|
1061
|
+
dialogs: "dialogs";
|
|
1062
|
+
"text-content": "text-content";
|
|
1063
|
+
"moving-content": "moving-content";
|
|
712
1064
|
}>;
|
|
713
1065
|
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
1066
|
+
sdkContext: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1067
|
+
snippet: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1068
|
+
}, z.core.$strip>>>;
|
|
714
1069
|
}, z.core.$strip>>;
|
|
715
1070
|
}, z.core.$strip>;
|
|
716
1071
|
export declare const ResolveIssueRequestSchema: z.ZodObject<{
|
|
@@ -740,8 +1095,12 @@ export type WCAGLevelType = z.infer<typeof WCAGLevel>;
|
|
|
740
1095
|
export type CriteriaType = z.infer<typeof Criteria>;
|
|
741
1096
|
export type ApiRule = z.infer<typeof RuleSchema>;
|
|
742
1097
|
export type ApiIssue = z.infer<typeof McpBasicIssueSchema>;
|
|
1098
|
+
export type ApiAuditIssue = z.infer<typeof McpAuditIssueSchema>;
|
|
1099
|
+
export type ApiSdkIssueContext = z.infer<typeof SdkIssueContextSchema>;
|
|
1100
|
+
export type AuditSourceType = z.infer<typeof AuditSource>;
|
|
743
1101
|
export type ApiUrgentIssuesResponse = z.infer<typeof UrgentIssuesResponseSchema>;
|
|
744
1102
|
export type ApiIssueRemediation = z.infer<typeof McpDetailIssueSchema>;
|
|
1103
|
+
export type ApiAuditIssueRemediation = z.infer<typeof McpAuditDetailIssueSchema>;
|
|
745
1104
|
export type FeedbackRatingType = z.infer<typeof FeedbackRating>;
|
|
746
1105
|
export type SubmitFeedbackRequest = z.infer<typeof SubmitFeedbackRequestSchema>;
|
|
747
1106
|
export type SubmitFeedbackResponse = z.infer<typeof SubmitFeedbackResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiSchemas.d.ts","sourceRoot":"","sources":["../../src/services/apiSchemas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,MAAM;;;;EAAyC,CAAC;AAC7D,eAAO,MAAM,cAAc;;;;;EAKzB,CAAC;AACH,eAAO,MAAM,cAAc;;;;;EAA+C,CAAC;AAC3E,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"apiSchemas.d.ts","sourceRoot":"","sources":["../../src/services/apiSchemas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,MAAM;;;;EAAyC,CAAC;AAC7D,eAAO,MAAM,cAAc;;;;;EAKzB,CAAC;AACH,eAAO,MAAM,cAAc;;;;;EAA+C,CAAC;AAC3E,eAAO,MAAM,SAAS;;;;;EAAqC,CAAC;AAC5D,eAAO,MAAM,qBAAqB;;;EAAmC,CAAC;AACtE,eAAO,MAAM,eAAe;;;;;EAK1B,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;EAwBnB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;mBAMrB,CAAC;AAEd,eAAO,MAAM,yBAAyB;;;;;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