accessflow-mcp-server 2.3.4 → 2.3.6

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.
Files changed (36) hide show
  1. package/README.md +107 -50
  2. package/dist/services/apiSchemas.d.ts +489 -1181
  3. package/dist/services/apiSchemas.d.ts.map +1 -1
  4. package/dist/services/apiSchemas.js +20 -9
  5. package/dist/services/apiSchemas.js.map +1 -1
  6. package/dist/services/apiService.d.ts +2 -1
  7. package/dist/services/apiService.d.ts.map +1 -1
  8. package/dist/services/apiService.js +24 -1
  9. package/dist/services/apiService.js.map +1 -1
  10. package/dist/tools/getIssueRemediation.d.ts +1 -5
  11. package/dist/tools/getIssueRemediation.d.ts.map +1 -1
  12. package/dist/tools/getIssueRemediation.js +1 -1
  13. package/dist/tools/getIssueRemediation.js.map +1 -1
  14. package/dist/tools/getMostUrgentIssues.js +8 -2
  15. package/dist/tools/getMostUrgentIssues.js.map +1 -1
  16. package/dist/tools/index.d.ts.map +1 -1
  17. package/dist/tools/index.js +5 -0
  18. package/dist/tools/index.js.map +1 -1
  19. package/dist/tools/resolveIssue.d.ts +1 -5
  20. package/dist/tools/resolveIssue.d.ts.map +1 -1
  21. package/dist/tools/resolveIssue.js +29 -5
  22. package/dist/tools/resolveIssue.js.map +1 -1
  23. package/dist/tools/submitFeedback.d.ts +7 -12
  24. package/dist/tools/submitFeedback.d.ts.map +1 -1
  25. package/dist/tools/submitFeedback.js +49 -37
  26. package/dist/tools/submitFeedback.js.map +1 -1
  27. package/dist/tools/toolRegistry.d.ts +11 -11
  28. package/dist/tools/toolRegistry.d.ts.map +1 -1
  29. package/dist/tools/toolRegistry.js +2 -0
  30. package/dist/tools/toolRegistry.js.map +1 -1
  31. package/dist/types/issues.d.ts +6 -0
  32. package/dist/types/issues.d.ts.map +1 -1
  33. package/dist/utils/remediation.d.ts.map +1 -1
  34. package/dist/utils/remediation.js +18 -4
  35. package/dist/utils/remediation.js.map +1 -1
  36. package/package.json +3 -2
@@ -3,180 +3,183 @@
3
3
  * These schemas match the server-side BasicIssueSchema and IssueSchema
4
4
  */
5
5
  import { z } from 'zod';
6
- export declare const Device: z.ZodEnum<["desktop", "mobile", "cross"]>;
7
- export declare const ResolutionType: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive", "manual"]>;
8
- export declare const SeveritySchema: z.ZodEnum<["extreme", "high", "medium", "low"]>;
9
- export declare const WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
10
- export declare const AltTextFeedbackSchema: z.ZodEnum<["positive", "negative"]>;
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"]>;
6
+ export declare const Device: z.ZodEnum<{
7
+ desktop: "desktop";
8
+ mobile: "mobile";
9
+ cross: "cross";
10
+ }>;
11
+ export declare const ResolutionType: z.ZodEnum<{
12
+ none: "none";
13
+ automatic: "automatic";
14
+ manual: "manual";
15
+ dismissed: "dismissed";
16
+ }>;
17
+ export declare const SeveritySchema: z.ZodEnum<{
18
+ extreme: "extreme";
19
+ high: "high";
20
+ medium: "medium";
21
+ low: "low";
22
+ }>;
23
+ export declare const WCAGLevel: z.ZodEnum<{
24
+ none: "none";
25
+ A: "A";
26
+ AA: "AA";
27
+ AAA: "AAA";
28
+ }>;
29
+ export declare const AltTextFeedbackSchema: z.ZodEnum<{
30
+ positive: "positive";
31
+ negative: "negative";
32
+ }>;
33
+ export declare const DismissedReason: z.ZodEnum<{
34
+ other: "other";
35
+ falsePositive: "falsePositive";
36
+ irrelevant: "irrelevant";
37
+ design: "design";
38
+ }>;
39
+ export declare const Criteria: z.ZodEnum<{
40
+ clickables: "clickables";
41
+ readability: "readability";
42
+ headings: "headings";
43
+ tables: "tables";
44
+ errors: "errors";
45
+ context: "context";
46
+ forms: "forms";
47
+ keyboard: "keyboard";
48
+ graphics: "graphics";
49
+ navigation: "navigation";
50
+ document: "document";
51
+ carousels: "carousels";
52
+ aria: "aria";
53
+ general: "general";
54
+ "interactive-content": "interactive-content";
55
+ landmarks: "landmarks";
56
+ lists: "lists";
57
+ metadata: "metadata";
58
+ tabs: "tabs";
59
+ }>;
13
60
  export declare const DismissedReasonSchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
61
  comment: z.ZodOptional<z.ZodString>;
15
- type: z.ZodOptional<z.ZodEnum<["duplicate", "falsePositive", "notApplicable", "willNotFix"]>>;
16
- }, "strip", z.ZodTypeAny, {
17
- comment?: string | undefined;
18
- type?: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix" | undefined;
19
- }, {
20
- comment?: string | undefined;
21
- type?: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix" | undefined;
22
- }>>>;
62
+ type: z.ZodOptional<z.ZodEnum<{
63
+ other: "other";
64
+ falsePositive: "falsePositive";
65
+ irrelevant: "irrelevant";
66
+ design: "design";
67
+ }>>;
68
+ }, z.core.$strip>>>;
23
69
  export declare const LastStatusChangeLogSchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
70
  autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
71
  date: z.ZodOptional<z.ZodString>;
26
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive", "manual"]>>>;
72
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
73
+ none: "none";
74
+ automatic: "automatic";
75
+ manual: "manual";
76
+ dismissed: "dismissed";
77
+ }>>>;
27
78
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
79
  userName: z.ZodOptional<z.ZodString>;
29
- }, "strip", z.ZodTypeAny, {
30
- status?: "none" | "resolved" | "dismissed" | "falsePositive" | "manual" | null | undefined;
31
- autoResolved?: boolean | null | undefined;
32
- date?: string | undefined;
33
- userId?: string | null | undefined;
34
- userName?: string | undefined;
35
- }, {
36
- status?: "none" | "resolved" | "dismissed" | "falsePositive" | "manual" | null | undefined;
37
- autoResolved?: boolean | null | undefined;
38
- date?: string | undefined;
39
- userId?: string | null | undefined;
40
- userName?: string | undefined;
41
- }>>>;
42
- export declare const AltTextSuggestionSchema: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
80
+ }, z.core.$strip>>>;
81
+ export declare const AltTextSuggestionSchema: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
43
82
  export declare const FalsePositiveAiValidationSchema: z.ZodObject<{
44
83
  feedback: z.ZodDefault<z.ZodNullable<z.ZodObject<{
45
84
  helpful: z.ZodBoolean;
46
85
  userId: z.ZodString;
47
86
  userText: z.ZodString;
48
- }, "strip", z.ZodTypeAny, {
49
- userId: string;
50
- helpful: boolean;
51
- userText: string;
52
- }, {
53
- userId: string;
54
- helpful: boolean;
55
- userText: string;
56
- }>>>;
57
- type: z.ZodEnum<["falsePositive"]>;
87
+ }, z.core.$strip>>>;
88
+ type: z.ZodEnum<{
89
+ falsePositive: "falsePositive";
90
+ }>;
58
91
  isFalsePositive: z.ZodBoolean;
59
92
  reasoning: z.ZodString;
60
- }, "strip", z.ZodTypeAny, {
61
- type: "falsePositive";
62
- feedback: {
63
- userId: string;
64
- helpful: boolean;
65
- userText: string;
66
- } | null;
67
- isFalsePositive: boolean;
68
- reasoning: string;
69
- }, {
70
- type: "falsePositive";
71
- isFalsePositive: boolean;
72
- reasoning: string;
73
- feedback?: {
74
- userId: string;
75
- helpful: boolean;
76
- userText: string;
77
- } | null | undefined;
78
- }>;
93
+ }, z.core.$strip>;
79
94
  export declare const RuleSchema: z.ZodObject<{
80
95
  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"]>;
96
+ confidence: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
97
+ low: "low";
98
+ }>>>;
99
+ criteria: z.ZodEnum<{
100
+ clickables: "clickables";
101
+ readability: "readability";
102
+ headings: "headings";
103
+ tables: "tables";
104
+ errors: "errors";
105
+ context: "context";
106
+ forms: "forms";
107
+ keyboard: "keyboard";
108
+ graphics: "graphics";
109
+ navigation: "navigation";
110
+ document: "document";
111
+ carousels: "carousels";
112
+ aria: "aria";
113
+ general: "general";
114
+ "interactive-content": "interactive-content";
115
+ landmarks: "landmarks";
116
+ lists: "lists";
117
+ metadata: "metadata";
118
+ tabs: "tabs";
119
+ }>;
82
120
  eligibleForAutoResolve: z.ZodReadonly<z.ZodDefault<z.ZodBoolean>>;
83
- engineRules: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
121
+ engineRules: z.ZodDefault<z.ZodArray<z.ZodString>>;
84
122
  id: z.ZodString;
85
123
  isAutoResolvable: z.ZodDefault<z.ZodBoolean>;
86
124
  isEligibleForFalsePositiveAiValidation: z.ZodDefault<z.ZodBoolean>;
87
125
  issueDescription: z.ZodString;
88
126
  issueResolution: z.ZodString;
89
127
  issueTutorialLink: z.ZodNullable<z.ZodString>;
90
- issueWCAGLink: z.ZodNullable<z.ZodString>;
128
+ issueWCAGLinks: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
91
129
  name: z.ZodString;
92
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
130
+ severity: z.ZodEnum<{
131
+ extreme: "extreme";
132
+ high: "high";
133
+ medium: "medium";
134
+ low: "low";
135
+ }>;
93
136
  shortCode: z.ZodString;
94
137
  shortDescription: z.ZodString;
95
138
  suggestedFix: z.ZodArray<z.ZodObject<{
96
139
  suggestedFixHTML: z.ZodString;
97
140
  suggestedFixKey: z.ZodString;
98
- suggestedFixType: z.ZodEnum<["attribute", "srOnly", "tag", "removeAttribute"]>;
141
+ suggestedFixType: z.ZodEnum<{
142
+ attribute: "attribute";
143
+ srOnly: "srOnly";
144
+ tag: "tag";
145
+ removeAttribute: "removeAttribute";
146
+ }>;
99
147
  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">;
111
- WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
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
- }>;
148
+ }, z.core.$strip>>;
149
+ WCAGLevel: z.ZodEnum<{
150
+ none: "none";
151
+ A: "A";
152
+ AA: "AA";
153
+ AAA: "AAA";
154
+ }>;
155
+ }, z.core.$strip>;
159
156
  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">>>;
157
+ altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
158
+ positive: "positive";
159
+ negative: "negative";
160
+ }>>>;
161
+ altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
162
162
  assignedUser: z.ZodNullable<z.ZodString>;
163
163
  autoResolved: z.ZodOptional<z.ZodBoolean>;
164
164
  autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
165
  autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
166
166
  commentsCount: z.ZodNumber;
167
- device: z.ZodEnum<["desktop", "mobile", "cross"]>;
167
+ device: z.ZodEnum<{
168
+ desktop: "desktop";
169
+ mobile: "mobile";
170
+ cross: "cross";
171
+ }>;
168
172
  dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
169
173
  dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
170
174
  dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
171
175
  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
- }>>>;
176
+ type: z.ZodEnum<{
177
+ other: "other";
178
+ falsePositive: "falsePositive";
179
+ irrelevant: "irrelevant";
180
+ design: "design";
181
+ }>;
182
+ }, z.core.$strip>>>;
180
183
  displayName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
181
184
  exported: z.ZodBoolean;
182
185
  id: z.ZodString;
@@ -184,398 +187,235 @@ export declare const BasicIssueSchema: z.ZodObject<{
184
187
  lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
185
188
  autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
186
189
  date: z.ZodString;
187
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive", "manual"]>>>;
190
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
191
+ none: "none";
192
+ automatic: "automatic";
193
+ manual: "manual";
194
+ dismissed: "dismissed";
195
+ }>>>;
188
196
  userId: z.ZodNullable<z.ZodString>;
189
197
  userName: z.ZodString;
190
- }, "strip", z.ZodTypeAny, {
191
- date: string;
192
- userId: string | null;
193
- userName: string;
194
- status?: "none" | "resolved" | "dismissed" | "falsePositive" | "manual" | null | undefined;
195
- autoResolved?: boolean | null | undefined;
196
- }, {
197
- date: string;
198
- userId: string | null;
199
- userName: string;
200
- status?: "none" | "resolved" | "dismissed" | "falsePositive" | "manual" | null | undefined;
201
- autoResolved?: boolean | null | undefined;
202
- }>>>;
198
+ }, z.core.$strip>>>;
203
199
  name: z.ZodString;
204
200
  offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
205
201
  offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
206
202
  offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
207
203
  offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
208
204
  relatedFunnelId: z.ZodNullable<z.ZodString>;
209
- relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
205
+ relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
210
206
  $oid: z.ZodString;
211
- }, "strip", z.ZodTypeAny, {
212
- $oid: string;
213
- }, {
214
- $oid: string;
215
- }>]>;
207
+ }, z.core.$strip>]>;
216
208
  relatedWebpageId: z.ZodString;
217
- resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive", "manual"]>;
209
+ resolution: z.ZodEnum<{
210
+ none: "none";
211
+ automatic: "automatic";
212
+ manual: "manual";
213
+ dismissed: "dismissed";
214
+ }>;
218
215
  selector: z.ZodNullable<z.ZodString>;
219
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
216
+ severity: z.ZodEnum<{
217
+ extreme: "extreme";
218
+ high: "high";
219
+ medium: "medium";
220
+ low: "low";
221
+ }>;
220
222
  siteOccurrences: z.ZodNumber;
221
223
  src: z.ZodNullable<z.ZodString>;
222
224
  templated: z.ZodBoolean;
223
- WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
225
+ WCAGLevel: z.ZodEnum<{
226
+ none: "none";
227
+ A: "A";
228
+ AA: "AA";
229
+ AAA: "AAA";
230
+ }>;
224
231
  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" | "manual" | 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" | "manual";
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" | "manual";
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" | "manual" | 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
- }>;
232
+ }, z.core.$strip>;
314
233
  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">>>;
234
+ altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
235
+ positive: "positive";
236
+ negative: "negative";
237
+ }>>>;
238
+ altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
317
239
  assignedUser: z.ZodNullable<z.ZodString>;
318
240
  autoResolved: z.ZodOptional<z.ZodBoolean>;
319
241
  autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
242
  autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
321
243
  commentsCount: z.ZodNumber;
322
- device: z.ZodEnum<["desktop", "mobile", "cross"]>;
244
+ device: z.ZodEnum<{
245
+ desktop: "desktop";
246
+ mobile: "mobile";
247
+ cross: "cross";
248
+ }>;
323
249
  dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
324
250
  dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
325
251
  dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
326
252
  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
- }>>>;
253
+ type: z.ZodEnum<{
254
+ other: "other";
255
+ falsePositive: "falsePositive";
256
+ irrelevant: "irrelevant";
257
+ design: "design";
258
+ }>;
259
+ }, z.core.$strip>>>;
335
260
  exported: z.ZodBoolean;
336
261
  id: z.ZodString;
337
262
  irrelevant: z.ZodBoolean;
338
263
  lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
339
264
  autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
340
265
  date: z.ZodString;
341
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive", "manual"]>>>;
266
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
267
+ none: "none";
268
+ automatic: "automatic";
269
+ manual: "manual";
270
+ dismissed: "dismissed";
271
+ }>>>;
342
272
  userId: z.ZodNullable<z.ZodString>;
343
273
  userName: z.ZodString;
344
- }, "strip", z.ZodTypeAny, {
345
- date: string;
346
- userId: string | null;
347
- userName: string;
348
- status?: "none" | "resolved" | "dismissed" | "falsePositive" | "manual" | null | undefined;
349
- autoResolved?: boolean | null | undefined;
350
- }, {
351
- date: string;
352
- userId: string | null;
353
- userName: string;
354
- status?: "none" | "resolved" | "dismissed" | "falsePositive" | "manual" | null | undefined;
355
- autoResolved?: boolean | null | undefined;
356
- }>>>;
274
+ }, z.core.$strip>>>;
357
275
  name: z.ZodString;
358
276
  offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
359
277
  offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
360
278
  offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
361
279
  offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
362
280
  relatedFunnelId: z.ZodNullable<z.ZodString>;
363
- relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
281
+ relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
364
282
  $oid: z.ZodString;
365
- }, "strip", z.ZodTypeAny, {
366
- $oid: string;
367
- }, {
368
- $oid: string;
369
- }>]>;
283
+ }, z.core.$strip>]>;
370
284
  relatedWebpageId: z.ZodString;
371
- resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive", "manual"]>;
285
+ resolution: z.ZodEnum<{
286
+ none: "none";
287
+ automatic: "automatic";
288
+ manual: "manual";
289
+ dismissed: "dismissed";
290
+ }>;
372
291
  selector: z.ZodNullable<z.ZodString>;
373
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
292
+ severity: z.ZodEnum<{
293
+ extreme: "extreme";
294
+ high: "high";
295
+ medium: "medium";
296
+ low: "low";
297
+ }>;
374
298
  siteOccurrences: z.ZodNumber;
375
299
  src: z.ZodNullable<z.ZodString>;
376
300
  templated: z.ZodBoolean;
377
- WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
301
+ WCAGLevel: z.ZodEnum<{
302
+ none: "none";
303
+ A: "A";
304
+ AA: "AA";
305
+ AAA: "AAA";
306
+ }>;
378
307
  webpath: z.ZodString;
379
- } & {
380
308
  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"]>;
309
+ criteria: z.ZodEnum<{
310
+ clickables: "clickables";
311
+ readability: "readability";
312
+ headings: "headings";
313
+ tables: "tables";
314
+ errors: "errors";
315
+ context: "context";
316
+ forms: "forms";
317
+ keyboard: "keyboard";
318
+ graphics: "graphics";
319
+ navigation: "navigation";
320
+ document: "document";
321
+ carousels: "carousels";
322
+ aria: "aria";
323
+ general: "general";
324
+ "interactive-content": "interactive-content";
325
+ landmarks: "landmarks";
326
+ lists: "lists";
327
+ metadata: "metadata";
328
+ tabs: "tabs";
329
+ }>;
382
330
  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" | "manual" | 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" | "manual";
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" | "manual";
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" | "manual" | 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
- }>;
331
+ }, z.core.$strip>;
476
332
  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">>>;
333
+ altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
334
+ positive: "positive";
335
+ negative: "negative";
336
+ }>>>;
337
+ altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
479
338
  assignedUser: z.ZodNullable<z.ZodString>;
480
339
  autoResolved: z.ZodOptional<z.ZodBoolean>;
481
340
  autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
482
341
  autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
483
342
  commentsCount: z.ZodNumber;
484
- device: z.ZodEnum<["desktop", "mobile", "cross"]>;
343
+ device: z.ZodEnum<{
344
+ desktop: "desktop";
345
+ mobile: "mobile";
346
+ cross: "cross";
347
+ }>;
485
348
  dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
486
349
  dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
487
350
  dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
488
351
  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
- }>>>;
352
+ type: z.ZodEnum<{
353
+ other: "other";
354
+ falsePositive: "falsePositive";
355
+ irrelevant: "irrelevant";
356
+ design: "design";
357
+ }>;
358
+ }, z.core.$strip>>>;
497
359
  displayName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
498
360
  exported: z.ZodBoolean;
499
361
  id: z.ZodString;
500
362
  lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
501
363
  autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
502
364
  date: z.ZodString;
503
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive", "manual"]>>>;
365
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
366
+ none: "none";
367
+ automatic: "automatic";
368
+ manual: "manual";
369
+ dismissed: "dismissed";
370
+ }>>>;
504
371
  userId: z.ZodNullable<z.ZodString>;
505
372
  userName: z.ZodString;
506
- }, "strip", z.ZodTypeAny, {
507
- date: string;
508
- userId: string | null;
509
- userName: string;
510
- status?: "none" | "resolved" | "dismissed" | "falsePositive" | "manual" | null | undefined;
511
- autoResolved?: boolean | null | undefined;
512
- }, {
513
- date: string;
514
- userId: string | null;
515
- userName: string;
516
- status?: "none" | "resolved" | "dismissed" | "falsePositive" | "manual" | null | undefined;
517
- autoResolved?: boolean | null | undefined;
518
- }>>>;
373
+ }, z.core.$strip>>>;
519
374
  name: z.ZodString;
520
375
  offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
521
376
  offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
522
377
  offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
523
378
  offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
524
379
  relatedFunnelId: z.ZodNullable<z.ZodString>;
525
- relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
380
+ relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
526
381
  $oid: z.ZodString;
527
- }, "strip", z.ZodTypeAny, {
528
- $oid: string;
529
- }, {
530
- $oid: string;
531
- }>]>;
382
+ }, z.core.$strip>]>;
532
383
  relatedWebpageId: z.ZodString;
533
- resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive", "manual"]>;
384
+ resolution: z.ZodEnum<{
385
+ none: "none";
386
+ automatic: "automatic";
387
+ manual: "manual";
388
+ dismissed: "dismissed";
389
+ }>;
534
390
  selector: z.ZodNullable<z.ZodString>;
535
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
391
+ severity: z.ZodEnum<{
392
+ extreme: "extreme";
393
+ high: "high";
394
+ medium: "medium";
395
+ low: "low";
396
+ }>;
536
397
  siteOccurrences: z.ZodNumber;
537
398
  src: z.ZodNullable<z.ZodString>;
538
399
  templated: z.ZodBoolean;
539
- WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
400
+ WCAGLevel: z.ZodEnum<{
401
+ none: "none";
402
+ A: "A";
403
+ AA: "AA";
404
+ AAA: "AAA";
405
+ }>;
540
406
  webpath: z.ZodString;
541
- } & {
542
407
  aiValidations: z.ZodDefault<z.ZodArray<z.ZodObject<{
543
408
  feedback: z.ZodDefault<z.ZodNullable<z.ZodObject<{
544
409
  helpful: z.ZodBoolean;
545
410
  userId: z.ZodString;
546
411
  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"]>;
412
+ }, z.core.$strip>>>;
413
+ type: z.ZodEnum<{
414
+ falsePositive: "falsePositive";
415
+ }>;
557
416
  isFalsePositive: z.ZodBoolean;
558
417
  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">>;
578
- confidence: z.ZodNumber;
418
+ }, z.core.$strip>>>;
579
419
  created: z.ZodString;
580
420
  HTML: z.ZodString;
581
421
  irrelevant: z.ZodBoolean;
@@ -588,274 +428,99 @@ export declare const IssueSchema: z.ZodObject<{
588
428
  id: z.ZodString;
589
429
  mainpage: z.ZodBoolean;
590
430
  webpath: z.ZodString;
591
- }, "strip", z.ZodTypeAny, {
592
- id: string;
593
- webpath: string;
594
- mainpage: boolean;
595
- }, {
596
- id: string;
597
- webpath: string;
598
- mainpage: boolean;
599
- }>>;
431
+ }, z.core.$strip>>;
600
432
  webpages: z.ZodOptional<z.ZodArray<z.ZodObject<{
601
433
  id: z.ZodString;
602
434
  name: z.ZodString;
603
435
  webpath: z.ZodString;
604
- }, "strip", z.ZodTypeAny, {
605
- id: string;
606
- name: string;
607
- webpath: string;
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" | "manual" | 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 | {
644
- $oid: string;
645
- };
646
- relatedWebpageId: string;
647
- resolution: "none" | "resolved" | "dismissed" | "falsePositive" | "manual";
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" | "manual";
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" | "manual" | 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
- }>;
436
+ }, z.core.$strip>>>;
437
+ }, z.core.$strip>;
758
438
  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">>>;
439
+ altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
440
+ positive: "positive";
441
+ negative: "negative";
442
+ }>>>;
443
+ altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
761
444
  assignedUser: z.ZodNullable<z.ZodString>;
762
445
  autoResolved: z.ZodOptional<z.ZodBoolean>;
763
446
  autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
764
447
  autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
765
448
  commentsCount: z.ZodNumber;
766
- device: z.ZodEnum<["desktop", "mobile", "cross"]>;
449
+ device: z.ZodEnum<{
450
+ desktop: "desktop";
451
+ mobile: "mobile";
452
+ cross: "cross";
453
+ }>;
767
454
  dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
768
455
  dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
769
456
  dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
770
457
  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
- }>>>;
458
+ type: z.ZodEnum<{
459
+ other: "other";
460
+ falsePositive: "falsePositive";
461
+ irrelevant: "irrelevant";
462
+ design: "design";
463
+ }>;
464
+ }, z.core.$strip>>>;
779
465
  exported: z.ZodBoolean;
780
466
  id: z.ZodString;
781
467
  lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
782
468
  autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
783
469
  date: z.ZodString;
784
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive", "manual"]>>>;
470
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
471
+ none: "none";
472
+ automatic: "automatic";
473
+ manual: "manual";
474
+ dismissed: "dismissed";
475
+ }>>>;
785
476
  userId: z.ZodNullable<z.ZodString>;
786
477
  userName: z.ZodString;
787
- }, "strip", z.ZodTypeAny, {
788
- date: string;
789
- userId: string | null;
790
- userName: string;
791
- status?: "none" | "resolved" | "dismissed" | "falsePositive" | "manual" | null | undefined;
792
- autoResolved?: boolean | null | undefined;
793
- }, {
794
- date: string;
795
- userId: string | null;
796
- userName: string;
797
- status?: "none" | "resolved" | "dismissed" | "falsePositive" | "manual" | null | undefined;
798
- autoResolved?: boolean | null | undefined;
799
- }>>>;
478
+ }, z.core.$strip>>>;
800
479
  name: z.ZodString;
801
480
  offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
802
481
  offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
803
482
  offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
804
483
  offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
805
484
  relatedFunnelId: z.ZodNullable<z.ZodString>;
806
- relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
485
+ relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
807
486
  $oid: z.ZodString;
808
- }, "strip", z.ZodTypeAny, {
809
- $oid: string;
810
- }, {
811
- $oid: string;
812
- }>]>;
487
+ }, z.core.$strip>]>;
813
488
  relatedWebpageId: z.ZodString;
814
- resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive", "manual"]>;
489
+ resolution: z.ZodEnum<{
490
+ none: "none";
491
+ automatic: "automatic";
492
+ manual: "manual";
493
+ dismissed: "dismissed";
494
+ }>;
815
495
  selector: z.ZodNullable<z.ZodString>;
816
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
496
+ severity: z.ZodEnum<{
497
+ extreme: "extreme";
498
+ high: "high";
499
+ medium: "medium";
500
+ low: "low";
501
+ }>;
817
502
  siteOccurrences: z.ZodNumber;
818
503
  src: z.ZodNullable<z.ZodString>;
819
504
  templated: z.ZodBoolean;
820
- WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
505
+ WCAGLevel: z.ZodEnum<{
506
+ none: "none";
507
+ A: "A";
508
+ AA: "AA";
509
+ AAA: "AAA";
510
+ }>;
821
511
  webpath: z.ZodString;
822
512
  aiValidations: z.ZodDefault<z.ZodArray<z.ZodObject<{
823
513
  feedback: z.ZodDefault<z.ZodNullable<z.ZodObject<{
824
514
  helpful: z.ZodBoolean;
825
515
  userId: z.ZodString;
826
516
  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"]>;
517
+ }, z.core.$strip>>>;
518
+ type: z.ZodEnum<{
519
+ falsePositive: "falsePositive";
520
+ }>;
837
521
  isFalsePositive: z.ZodBoolean;
838
522
  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">>;
858
- confidence: z.ZodNumber;
523
+ }, z.core.$strip>>>;
859
524
  created: z.ZodString;
860
525
  HTML: z.ZodString;
861
526
  irrelevant: z.ZodBoolean;
@@ -868,580 +533,220 @@ export declare const McpDetailIssueSchema: z.ZodObject<{
868
533
  id: z.ZodString;
869
534
  mainpage: z.ZodBoolean;
870
535
  webpath: z.ZodString;
871
- }, "strip", z.ZodTypeAny, {
872
- id: string;
873
- webpath: string;
874
- mainpage: boolean;
875
- }, {
876
- id: string;
877
- webpath: string;
878
- mainpage: boolean;
879
- }>>;
536
+ }, z.core.$strip>>;
880
537
  webpages: z.ZodOptional<z.ZodArray<z.ZodObject<{
881
538
  id: z.ZodString;
882
539
  name: z.ZodString;
883
540
  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
- } & {
541
+ }, z.core.$strip>>>;
894
542
  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"]>;
543
+ criteria: z.ZodEnum<{
544
+ clickables: "clickables";
545
+ readability: "readability";
546
+ headings: "headings";
547
+ tables: "tables";
548
+ errors: "errors";
549
+ context: "context";
550
+ forms: "forms";
551
+ keyboard: "keyboard";
552
+ graphics: "graphics";
553
+ navigation: "navigation";
554
+ document: "document";
555
+ carousels: "carousels";
556
+ aria: "aria";
557
+ general: "general";
558
+ "interactive-content": "interactive-content";
559
+ landmarks: "landmarks";
560
+ lists: "lists";
561
+ metadata: "metadata";
562
+ tabs: "tabs";
563
+ }>;
896
564
  rule: z.ZodObject<{
897
565
  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"]>;
566
+ confidence: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
567
+ low: "low";
568
+ }>>>;
569
+ criteria: z.ZodEnum<{
570
+ clickables: "clickables";
571
+ readability: "readability";
572
+ headings: "headings";
573
+ tables: "tables";
574
+ errors: "errors";
575
+ context: "context";
576
+ forms: "forms";
577
+ keyboard: "keyboard";
578
+ graphics: "graphics";
579
+ navigation: "navigation";
580
+ document: "document";
581
+ carousels: "carousels";
582
+ aria: "aria";
583
+ general: "general";
584
+ "interactive-content": "interactive-content";
585
+ landmarks: "landmarks";
586
+ lists: "lists";
587
+ metadata: "metadata";
588
+ tabs: "tabs";
589
+ }>;
899
590
  eligibleForAutoResolve: z.ZodReadonly<z.ZodDefault<z.ZodBoolean>>;
900
- engineRules: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
591
+ engineRules: z.ZodDefault<z.ZodArray<z.ZodString>>;
901
592
  id: z.ZodString;
902
593
  isAutoResolvable: z.ZodDefault<z.ZodBoolean>;
903
594
  isEligibleForFalsePositiveAiValidation: z.ZodDefault<z.ZodBoolean>;
904
595
  issueDescription: z.ZodString;
905
596
  issueResolution: z.ZodString;
906
597
  issueTutorialLink: z.ZodNullable<z.ZodString>;
907
- issueWCAGLink: z.ZodNullable<z.ZodString>;
598
+ issueWCAGLinks: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
908
599
  name: z.ZodString;
909
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
600
+ severity: z.ZodEnum<{
601
+ extreme: "extreme";
602
+ high: "high";
603
+ medium: "medium";
604
+ low: "low";
605
+ }>;
910
606
  shortCode: z.ZodString;
911
607
  shortDescription: z.ZodString;
912
608
  suggestedFix: z.ZodArray<z.ZodObject<{
913
609
  suggestedFixHTML: z.ZodString;
914
610
  suggestedFixKey: z.ZodString;
915
- suggestedFixType: z.ZodEnum<["attribute", "srOnly", "tag", "removeAttribute"]>;
611
+ suggestedFixType: z.ZodEnum<{
612
+ attribute: "attribute";
613
+ srOnly: "srOnly";
614
+ tag: "tag";
615
+ removeAttribute: "removeAttribute";
616
+ }>;
916
617
  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";
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" | "manual" | 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" | "manual";
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 | {
1087
- $oid: string;
1088
- };
1089
- relatedWebpageId: string;
1090
- resolution: "none" | "resolved" | "dismissed" | "falsePositive" | "manual";
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" | "manual" | 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
- }>;
618
+ }, z.core.$strip>>;
619
+ WCAGLevel: z.ZodEnum<{
620
+ none: "none";
621
+ A: "A";
622
+ AA: "AA";
623
+ AAA: "AAA";
624
+ }>;
625
+ }, z.core.$strip>;
626
+ }, z.core.$strip>;
1171
627
  export declare const UrgentIssuesResponseSchema: z.ZodObject<{
1172
628
  issues: z.ZodArray<z.ZodObject<{
1173
- altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<["positive", "negative"]>>>;
1174
- altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
629
+ altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
630
+ positive: "positive";
631
+ negative: "negative";
632
+ }>>>;
633
+ altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1175
634
  assignedUser: z.ZodNullable<z.ZodString>;
1176
635
  autoResolved: z.ZodOptional<z.ZodBoolean>;
1177
636
  autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1178
637
  autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1179
638
  commentsCount: z.ZodNumber;
1180
- device: z.ZodEnum<["desktop", "mobile", "cross"]>;
639
+ device: z.ZodEnum<{
640
+ desktop: "desktop";
641
+ mobile: "mobile";
642
+ cross: "cross";
643
+ }>;
1181
644
  dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1182
645
  dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1183
646
  dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1184
647
  comment: z.ZodString;
1185
- type: z.ZodEnum<["duplicate", "falsePositive", "notApplicable", "willNotFix"]>;
1186
- }, "strip", z.ZodTypeAny, {
1187
- comment: string;
1188
- type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
1189
- }, {
1190
- comment: string;
1191
- type: "falsePositive" | "duplicate" | "notApplicable" | "willNotFix";
1192
- }>>>;
648
+ type: z.ZodEnum<{
649
+ other: "other";
650
+ falsePositive: "falsePositive";
651
+ irrelevant: "irrelevant";
652
+ design: "design";
653
+ }>;
654
+ }, z.core.$strip>>>;
1193
655
  exported: z.ZodBoolean;
1194
656
  id: z.ZodString;
1195
657
  irrelevant: z.ZodBoolean;
1196
658
  lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1197
659
  autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1198
660
  date: z.ZodString;
1199
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive", "manual"]>>>;
661
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
662
+ none: "none";
663
+ automatic: "automatic";
664
+ manual: "manual";
665
+ dismissed: "dismissed";
666
+ }>>>;
1200
667
  userId: z.ZodNullable<z.ZodString>;
1201
668
  userName: z.ZodString;
1202
- }, "strip", z.ZodTypeAny, {
1203
- date: string;
1204
- userId: string | null;
1205
- userName: string;
1206
- status?: "none" | "resolved" | "dismissed" | "falsePositive" | "manual" | null | undefined;
1207
- autoResolved?: boolean | null | undefined;
1208
- }, {
1209
- date: string;
1210
- userId: string | null;
1211
- userName: string;
1212
- status?: "none" | "resolved" | "dismissed" | "falsePositive" | "manual" | null | undefined;
1213
- autoResolved?: boolean | null | undefined;
1214
- }>>>;
669
+ }, z.core.$strip>>>;
1215
670
  name: z.ZodString;
1216
671
  offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1217
672
  offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1218
673
  offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1219
674
  offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1220
675
  relatedFunnelId: z.ZodNullable<z.ZodString>;
1221
- relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
676
+ relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1222
677
  $oid: z.ZodString;
1223
- }, "strip", z.ZodTypeAny, {
1224
- $oid: string;
1225
- }, {
1226
- $oid: string;
1227
- }>]>;
678
+ }, z.core.$strip>]>;
1228
679
  relatedWebpageId: z.ZodString;
1229
- resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive", "manual"]>;
680
+ resolution: z.ZodEnum<{
681
+ none: "none";
682
+ automatic: "automatic";
683
+ manual: "manual";
684
+ dismissed: "dismissed";
685
+ }>;
1230
686
  selector: z.ZodNullable<z.ZodString>;
1231
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
687
+ severity: z.ZodEnum<{
688
+ extreme: "extreme";
689
+ high: "high";
690
+ medium: "medium";
691
+ low: "low";
692
+ }>;
1232
693
  siteOccurrences: z.ZodNumber;
1233
694
  src: z.ZodNullable<z.ZodString>;
1234
695
  templated: z.ZodBoolean;
1235
- WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
696
+ WCAGLevel: z.ZodEnum<{
697
+ none: "none";
698
+ A: "A";
699
+ AA: "AA";
700
+ AAA: "AAA";
701
+ }>;
1236
702
  webpath: z.ZodString;
1237
- } & {
1238
703
  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"]>;
704
+ criteria: z.ZodEnum<{
705
+ clickables: "clickables";
706
+ readability: "readability";
707
+ headings: "headings";
708
+ tables: "tables";
709
+ errors: "errors";
710
+ context: "context";
711
+ forms: "forms";
712
+ keyboard: "keyboard";
713
+ graphics: "graphics";
714
+ navigation: "navigation";
715
+ document: "document";
716
+ carousels: "carousels";
717
+ aria: "aria";
718
+ general: "general";
719
+ "interactive-content": "interactive-content";
720
+ landmarks: "landmarks";
721
+ lists: "lists";
722
+ metadata: "metadata";
723
+ tabs: "tabs";
724
+ }>;
1240
725
  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" | "manual" | 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 | {
1273
- $oid: string;
1274
- };
1275
- relatedWebpageId: string;
1276
- resolution: "none" | "resolved" | "dismissed" | "falsePositive" | "manual";
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 | {
1301
- $oid: string;
1302
- };
1303
- relatedWebpageId: string;
1304
- resolution: "none" | "resolved" | "dismissed" | "falsePositive" | "manual";
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" | "manual" | 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" | "manual" | 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 | {
1367
- $oid: string;
1368
- };
1369
- relatedWebpageId: string;
1370
- resolution: "none" | "resolved" | "dismissed" | "falsePositive" | "manual";
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 | {
1397
- $oid: string;
1398
- };
1399
- relatedWebpageId: string;
1400
- resolution: "none" | "resolved" | "dismissed" | "falsePositive" | "manual";
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" | "manual" | 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
- }[];
1430
- }>;
726
+ }, z.core.$strip>>;
727
+ }, z.core.$strip>;
1431
728
  export declare const ResolveIssueRequestSchema: z.ZodObject<{
1432
729
  displayName: z.ZodString;
1433
- }, "strip", z.ZodTypeAny, {
1434
- displayName: string;
1435
- }, {
1436
- displayName: string;
1437
- }>;
730
+ }, z.core.$strip>;
1438
731
  export declare const ResolveIssueResponseSchema: z.ZodObject<{
1439
732
  success: z.ZodLiteral<true>;
1440
- }, "strip", z.ZodTypeAny, {
1441
- success: true;
1442
- }, {
1443
- success: true;
733
+ }, z.core.$strip>;
734
+ export declare const FeedbackRating: z.ZodEnum<{
735
+ very_helpful: "very_helpful";
736
+ partially_helpful: "partially_helpful";
737
+ not_helpful: "not_helpful";
1444
738
  }>;
739
+ export declare const SubmitFeedbackRequestSchema: z.ZodObject<{
740
+ feedbackRating: z.ZodOptional<z.ZodEnum<{
741
+ very_helpful: "very_helpful";
742
+ partially_helpful: "partially_helpful";
743
+ not_helpful: "not_helpful";
744
+ }>>;
745
+ suggestion: z.ZodOptional<z.ZodString>;
746
+ }, z.core.$strip>;
747
+ export declare const SubmitFeedbackResponseSchema: z.ZodObject<{
748
+ success: z.ZodLiteral<true>;
749
+ }, z.core.$strip>;
1445
750
  export type Severity = z.infer<typeof SeveritySchema>;
1446
751
  export type WCAGLevelType = z.infer<typeof WCAGLevel>;
1447
752
  export type CriteriaType = z.infer<typeof Criteria>;
@@ -1449,4 +754,7 @@ export type ApiRule = z.infer<typeof RuleSchema>;
1449
754
  export type ApiIssue = z.infer<typeof McpBasicIssueSchema>;
1450
755
  export type ApiUrgentIssuesResponse = z.infer<typeof UrgentIssuesResponseSchema>;
1451
756
  export type ApiIssueRemediation = z.infer<typeof McpDetailIssueSchema>;
757
+ export type FeedbackRatingType = z.infer<typeof FeedbackRating>;
758
+ export type SubmitFeedbackRequest = z.infer<typeof SubmitFeedbackRequestSchema>;
759
+ export type SubmitFeedbackResponse = z.infer<typeof SubmitFeedbackResponseSchema>;
1452
760
  //# sourceMappingURL=apiSchemas.d.ts.map