accessflow-mcp-server 2.1.0 → 2.1.1-beta.2

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