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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +768 -1176
  10. package/dist/services/apiSchemas.d.ts.map +1 -1
  11. package/dist/services/apiSchemas.js +20 -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,118 @@
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
+ }>;
13
59
  export declare const DismissedReasonSchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
60
  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
- }>>>;
61
+ type: z.ZodOptional<z.ZodEnum<{
62
+ falsePositive: "falsePositive";
63
+ duplicate: "duplicate";
64
+ notApplicable: "notApplicable";
65
+ willNotFix: "willNotFix";
66
+ }>>;
67
+ }, z.core.$strip>>>;
23
68
  export declare const LastStatusChangeLogSchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
69
  autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
70
  date: z.ZodOptional<z.ZodString>;
26
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>>>;
71
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
72
+ none: "none";
73
+ resolved: "resolved";
74
+ dismissed: "dismissed";
75
+ falsePositive: "falsePositive";
76
+ }>>>;
27
77
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
78
  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">>>;
79
+ }, z.core.$strip>>>;
80
+ export declare const AltTextSuggestionSchema: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
43
81
  export declare const FalsePositiveAiValidationSchema: z.ZodObject<{
44
82
  feedback: z.ZodDefault<z.ZodNullable<z.ZodObject<{
45
83
  helpful: z.ZodBoolean;
46
84
  userId: z.ZodString;
47
85
  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"]>;
86
+ }, z.core.$strip>>>;
87
+ type: z.ZodEnum<{
88
+ falsePositive: "falsePositive";
89
+ }>;
58
90
  isFalsePositive: z.ZodBoolean;
59
91
  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
- }>;
92
+ }, z.core.$strip>;
79
93
  export declare const RuleSchema: z.ZodObject<{
80
94
  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"]>;
95
+ criteria: z.ZodEnum<{
96
+ clickables: "clickables";
97
+ readability: "readability";
98
+ headings: "headings";
99
+ tables: "tables";
100
+ errors: "errors";
101
+ context: "context";
102
+ forms: "forms";
103
+ keyboard: "keyboard";
104
+ graphics: "graphics";
105
+ navigation: "navigation";
106
+ document: "document";
107
+ carousels: "carousels";
108
+ aria: "aria";
109
+ general: "general";
110
+ "interactive-content": "interactive-content";
111
+ landmarks: "landmarks";
112
+ lists: "lists";
113
+ metadata: "metadata";
114
+ tabs: "tabs";
115
+ }>;
82
116
  eligibleForAutoResolve: z.ZodReadonly<z.ZodDefault<z.ZodBoolean>>;
83
- engineRules: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
117
+ engineRules: z.ZodDefault<z.ZodArray<z.ZodString>>;
84
118
  id: z.ZodString;
85
119
  isAutoResolvable: z.ZodDefault<z.ZodBoolean>;
86
120
  isEligibleForFalsePositiveAiValidation: z.ZodDefault<z.ZodBoolean>;
@@ -89,94 +123,58 @@ export declare const RuleSchema: z.ZodObject<{
89
123
  issueTutorialLink: z.ZodNullable<z.ZodString>;
90
124
  issueWCAGLink: z.ZodNullable<z.ZodString>;
91
125
  name: z.ZodString;
92
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
126
+ severity: z.ZodEnum<{
127
+ extreme: "extreme";
128
+ high: "high";
129
+ medium: "medium";
130
+ low: "low";
131
+ }>;
93
132
  shortCode: z.ZodString;
94
133
  shortDescription: z.ZodString;
95
134
  suggestedFix: z.ZodArray<z.ZodObject<{
96
135
  suggestedFixHTML: z.ZodString;
97
136
  suggestedFixKey: z.ZodString;
98
- suggestedFixType: z.ZodEnum<["attribute", "srOnly", "tag", "removeAttribute"]>;
137
+ suggestedFixType: z.ZodEnum<{
138
+ attribute: "attribute";
139
+ srOnly: "srOnly";
140
+ tag: "tag";
141
+ removeAttribute: "removeAttribute";
142
+ }>;
99
143
  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
- }>;
144
+ }, z.core.$strip>>;
145
+ WCAGLevel: z.ZodEnum<{
146
+ A: "A";
147
+ AA: "AA";
148
+ AAA: "AAA";
149
+ }>;
150
+ }, z.core.$strip>;
159
151
  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">>>;
152
+ altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
153
+ positive: "positive";
154
+ negative: "negative";
155
+ }>>>;
156
+ altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
162
157
  assignedUser: z.ZodNullable<z.ZodString>;
163
158
  autoResolved: z.ZodOptional<z.ZodBoolean>;
164
159
  autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
160
  autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
166
161
  commentsCount: z.ZodNumber;
167
- device: z.ZodEnum<["desktop", "mobile", "cross"]>;
162
+ device: z.ZodEnum<{
163
+ desktop: "desktop";
164
+ mobile: "mobile";
165
+ cross: "cross";
166
+ }>;
168
167
  dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
169
168
  dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
170
169
  dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
171
170
  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
- }>>>;
171
+ type: z.ZodEnum<{
172
+ falsePositive: "falsePositive";
173
+ duplicate: "duplicate";
174
+ notApplicable: "notApplicable";
175
+ willNotFix: "willNotFix";
176
+ }>;
177
+ }, z.core.$strip>>>;
180
178
  displayName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
181
179
  exported: z.ZodBoolean;
182
180
  id: z.ZodString;
@@ -184,397 +182,346 @@ export declare const BasicIssueSchema: z.ZodObject<{
184
182
  lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
185
183
  autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
186
184
  date: z.ZodString;
187
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>>>;
185
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
186
+ none: "none";
187
+ resolved: "resolved";
188
+ dismissed: "dismissed";
189
+ falsePositive: "falsePositive";
190
+ }>>>;
188
191
  userId: z.ZodNullable<z.ZodString>;
189
192
  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
- }>>>;
193
+ }, z.core.$strip>>>;
203
194
  name: z.ZodString;
204
195
  offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
205
196
  offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
206
197
  offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
207
198
  offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
208
199
  relatedFunnelId: z.ZodNullable<z.ZodString>;
209
- relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
200
+ relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
210
201
  $oid: z.ZodString;
211
- }, "strip", z.ZodTypeAny, {
212
- $oid: string;
213
- }, {
214
- $oid: string;
215
- }>]>;
202
+ }, z.core.$strip>]>;
216
203
  relatedWebpageId: z.ZodString;
217
- resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>;
204
+ resolution: z.ZodEnum<{
205
+ none: "none";
206
+ resolved: "resolved";
207
+ dismissed: "dismissed";
208
+ falsePositive: "falsePositive";
209
+ }>;
218
210
  selector: z.ZodNullable<z.ZodString>;
219
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
211
+ severity: z.ZodEnum<{
212
+ extreme: "extreme";
213
+ high: "high";
214
+ medium: "medium";
215
+ low: "low";
216
+ }>;
220
217
  siteOccurrences: z.ZodNumber;
221
218
  src: z.ZodNullable<z.ZodString>;
222
219
  templated: z.ZodBoolean;
223
- WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
220
+ WCAGLevel: z.ZodEnum<{
221
+ A: "A";
222
+ AA: "AA";
223
+ AAA: "AAA";
224
+ }>;
224
225
  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
- }>;
226
+ }, z.core.$strip>;
314
227
  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">>>;
228
+ altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
229
+ positive: "positive";
230
+ negative: "negative";
231
+ }>>>;
232
+ altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
317
233
  assignedUser: z.ZodNullable<z.ZodString>;
318
234
  autoResolved: z.ZodOptional<z.ZodBoolean>;
319
235
  autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
236
  autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
321
237
  commentsCount: z.ZodNumber;
322
- device: z.ZodEnum<["desktop", "mobile", "cross"]>;
238
+ device: z.ZodEnum<{
239
+ desktop: "desktop";
240
+ mobile: "mobile";
241
+ cross: "cross";
242
+ }>;
323
243
  dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
324
244
  dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
325
245
  dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
326
246
  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
- }>>>;
247
+ type: z.ZodEnum<{
248
+ falsePositive: "falsePositive";
249
+ duplicate: "duplicate";
250
+ notApplicable: "notApplicable";
251
+ willNotFix: "willNotFix";
252
+ }>;
253
+ }, z.core.$strip>>>;
335
254
  exported: z.ZodBoolean;
336
255
  id: z.ZodString;
337
256
  irrelevant: z.ZodBoolean;
338
257
  lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
339
258
  autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
340
259
  date: z.ZodString;
341
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>>>;
260
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
261
+ none: "none";
262
+ resolved: "resolved";
263
+ dismissed: "dismissed";
264
+ falsePositive: "falsePositive";
265
+ }>>>;
342
266
  userId: z.ZodNullable<z.ZodString>;
343
267
  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
- }>>>;
268
+ }, z.core.$strip>>>;
357
269
  name: z.ZodString;
358
270
  offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
359
271
  offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
360
272
  offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
361
273
  offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
362
274
  relatedFunnelId: z.ZodNullable<z.ZodString>;
363
- relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
275
+ relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
364
276
  $oid: z.ZodString;
365
- }, "strip", z.ZodTypeAny, {
366
- $oid: string;
367
- }, {
368
- $oid: string;
369
- }>]>;
277
+ }, z.core.$strip>]>;
370
278
  relatedWebpageId: z.ZodString;
371
- resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>;
279
+ resolution: z.ZodEnum<{
280
+ none: "none";
281
+ resolved: "resolved";
282
+ dismissed: "dismissed";
283
+ falsePositive: "falsePositive";
284
+ }>;
372
285
  selector: z.ZodNullable<z.ZodString>;
373
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
286
+ severity: z.ZodEnum<{
287
+ extreme: "extreme";
288
+ high: "high";
289
+ medium: "medium";
290
+ low: "low";
291
+ }>;
374
292
  siteOccurrences: z.ZodNumber;
375
293
  src: z.ZodNullable<z.ZodString>;
376
294
  templated: z.ZodBoolean;
377
- WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
295
+ WCAGLevel: z.ZodEnum<{
296
+ A: "A";
297
+ AA: "AA";
298
+ AAA: "AAA";
299
+ }>;
378
300
  webpath: z.ZodString;
379
- } & {
380
301
  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"]>;
302
+ criteria: z.ZodEnum<{
303
+ clickables: "clickables";
304
+ readability: "readability";
305
+ headings: "headings";
306
+ tables: "tables";
307
+ errors: "errors";
308
+ context: "context";
309
+ forms: "forms";
310
+ keyboard: "keyboard";
311
+ graphics: "graphics";
312
+ navigation: "navigation";
313
+ document: "document";
314
+ carousels: "carousels";
315
+ aria: "aria";
316
+ general: "general";
317
+ "interactive-content": "interactive-content";
318
+ landmarks: "landmarks";
319
+ lists: "lists";
320
+ metadata: "metadata";
321
+ tabs: "tabs";
322
+ }>;
382
323
  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;
324
+ }, z.core.$strip>;
325
+ export declare const AuditSource: z.ZodEnum<{
326
+ PLATFORM: "PLATFORM";
327
+ SDK: "SDK";
475
328
  }>;
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">>>;
329
+ export declare const SdkIssueContextSchema: z.ZodObject<{
330
+ componentName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
331
+ filePath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
332
+ lineNumber: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
333
+ snippet: z.ZodDefault<z.ZodNullable<z.ZodString>>;
334
+ }, z.core.$strip>;
335
+ export declare const McpAuditIssueSchema: z.ZodObject<{
336
+ altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
337
+ positive: "positive";
338
+ negative: "negative";
339
+ }>>>;
340
+ altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
479
341
  assignedUser: z.ZodNullable<z.ZodString>;
480
342
  autoResolved: z.ZodOptional<z.ZodBoolean>;
481
343
  autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
482
344
  autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
483
345
  commentsCount: z.ZodNumber;
484
- device: z.ZodEnum<["desktop", "mobile", "cross"]>;
346
+ device: z.ZodEnum<{
347
+ desktop: "desktop";
348
+ mobile: "mobile";
349
+ cross: "cross";
350
+ }>;
485
351
  dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
486
352
  dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
487
353
  dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
488
354
  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";
355
+ type: z.ZodEnum<{
356
+ falsePositive: "falsePositive";
357
+ duplicate: "duplicate";
358
+ notApplicable: "notApplicable";
359
+ willNotFix: "willNotFix";
360
+ }>;
361
+ }, z.core.$strip>>>;
362
+ exported: z.ZodBoolean;
363
+ id: z.ZodString;
364
+ irrelevant: z.ZodBoolean;
365
+ lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
366
+ autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
367
+ date: z.ZodString;
368
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
369
+ none: "none";
370
+ resolved: "resolved";
371
+ dismissed: "dismissed";
372
+ falsePositive: "falsePositive";
373
+ }>>>;
374
+ userId: z.ZodNullable<z.ZodString>;
375
+ userName: z.ZodString;
376
+ }, z.core.$strip>>>;
377
+ name: z.ZodString;
378
+ offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
379
+ offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
380
+ offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
381
+ offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
382
+ relatedFunnelId: z.ZodNullable<z.ZodString>;
383
+ relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
384
+ $oid: z.ZodString;
385
+ }, z.core.$strip>]>;
386
+ relatedWebpageId: z.ZodString;
387
+ resolution: z.ZodEnum<{
388
+ none: "none";
389
+ resolved: "resolved";
390
+ dismissed: "dismissed";
391
+ falsePositive: "falsePositive";
392
+ }>;
393
+ selector: z.ZodNullable<z.ZodString>;
394
+ severity: z.ZodEnum<{
395
+ extreme: "extreme";
396
+ high: "high";
397
+ medium: "medium";
398
+ low: "low";
399
+ }>;
400
+ siteOccurrences: z.ZodNumber;
401
+ src: z.ZodNullable<z.ZodString>;
402
+ templated: z.ZodBoolean;
403
+ WCAGLevel: z.ZodEnum<{
404
+ A: "A";
405
+ AA: "AA";
406
+ AAA: "AAA";
407
+ }>;
408
+ webpath: z.ZodString;
409
+ displayName: z.ZodString;
410
+ criteria: z.ZodEnum<{
411
+ clickables: "clickables";
412
+ readability: "readability";
413
+ headings: "headings";
414
+ tables: "tables";
415
+ errors: "errors";
416
+ context: "context";
417
+ forms: "forms";
418
+ keyboard: "keyboard";
419
+ graphics: "graphics";
420
+ navigation: "navigation";
421
+ document: "document";
422
+ carousels: "carousels";
423
+ aria: "aria";
424
+ general: "general";
425
+ "interactive-content": "interactive-content";
426
+ landmarks: "landmarks";
427
+ lists: "lists";
428
+ metadata: "metadata";
429
+ tabs: "tabs";
430
+ }>;
431
+ occurrences: z.ZodOptional<z.ZodNumber>;
432
+ sdkContext: z.ZodDefault<z.ZodNullable<z.ZodObject<{
433
+ componentName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
434
+ filePath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
435
+ lineNumber: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
436
+ snippet: z.ZodDefault<z.ZodNullable<z.ZodString>>;
437
+ }, z.core.$strip>>>;
438
+ }, z.core.$strip>;
439
+ export declare const IssueSchema: z.ZodObject<{
440
+ altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
441
+ positive: "positive";
442
+ negative: "negative";
496
443
  }>>>;
444
+ altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
445
+ assignedUser: z.ZodNullable<z.ZodString>;
446
+ autoResolved: z.ZodOptional<z.ZodBoolean>;
447
+ autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
448
+ autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
449
+ commentsCount: z.ZodNumber;
450
+ device: z.ZodEnum<{
451
+ desktop: "desktop";
452
+ mobile: "mobile";
453
+ cross: "cross";
454
+ }>;
455
+ dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
456
+ dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
457
+ dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
458
+ comment: z.ZodString;
459
+ type: z.ZodEnum<{
460
+ falsePositive: "falsePositive";
461
+ duplicate: "duplicate";
462
+ notApplicable: "notApplicable";
463
+ willNotFix: "willNotFix";
464
+ }>;
465
+ }, z.core.$strip>>>;
497
466
  displayName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
498
467
  exported: z.ZodBoolean;
499
468
  id: z.ZodString;
500
469
  lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
501
470
  autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
502
471
  date: z.ZodString;
503
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>>>;
472
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
473
+ none: "none";
474
+ resolved: "resolved";
475
+ dismissed: "dismissed";
476
+ falsePositive: "falsePositive";
477
+ }>>>;
504
478
  userId: z.ZodNullable<z.ZodString>;
505
479
  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
- }>>>;
480
+ }, z.core.$strip>>>;
519
481
  name: z.ZodString;
520
482
  offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
521
483
  offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
522
484
  offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
523
485
  offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
524
486
  relatedFunnelId: z.ZodNullable<z.ZodString>;
525
- relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
487
+ relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
526
488
  $oid: z.ZodString;
527
- }, "strip", z.ZodTypeAny, {
528
- $oid: string;
529
- }, {
530
- $oid: string;
531
- }>]>;
489
+ }, z.core.$strip>]>;
532
490
  relatedWebpageId: z.ZodString;
533
- resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>;
491
+ resolution: z.ZodEnum<{
492
+ none: "none";
493
+ resolved: "resolved";
494
+ dismissed: "dismissed";
495
+ falsePositive: "falsePositive";
496
+ }>;
534
497
  selector: z.ZodNullable<z.ZodString>;
535
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
498
+ severity: z.ZodEnum<{
499
+ extreme: "extreme";
500
+ high: "high";
501
+ medium: "medium";
502
+ low: "low";
503
+ }>;
536
504
  siteOccurrences: z.ZodNumber;
537
505
  src: z.ZodNullable<z.ZodString>;
538
506
  templated: z.ZodBoolean;
539
- WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
507
+ WCAGLevel: z.ZodEnum<{
508
+ A: "A";
509
+ AA: "AA";
510
+ AAA: "AAA";
511
+ }>;
540
512
  webpath: z.ZodString;
541
- } & {
542
513
  aiValidations: z.ZodDefault<z.ZodArray<z.ZodObject<{
543
514
  feedback: z.ZodDefault<z.ZodNullable<z.ZodObject<{
544
515
  helpful: z.ZodBoolean;
545
516
  userId: z.ZodString;
546
517
  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"]>;
518
+ }, z.core.$strip>>>;
519
+ type: z.ZodEnum<{
520
+ falsePositive: "falsePositive";
521
+ }>;
557
522
  isFalsePositive: z.ZodBoolean;
558
523
  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">>;
524
+ }, z.core.$strip>>>;
578
525
  confidence: z.ZodNumber;
579
526
  created: z.ZodString;
580
527
  HTML: z.ZodString;
@@ -588,273 +535,98 @@ export declare const IssueSchema: z.ZodObject<{
588
535
  id: z.ZodString;
589
536
  mainpage: z.ZodBoolean;
590
537
  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
- }>>;
538
+ }, z.core.$strip>>;
600
539
  webpages: z.ZodOptional<z.ZodArray<z.ZodObject<{
601
540
  id: z.ZodString;
602
541
  name: z.ZodString;
603
542
  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
- }>;
543
+ }, z.core.$strip>>>;
544
+ }, z.core.$strip>;
758
545
  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">>>;
546
+ altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
547
+ positive: "positive";
548
+ negative: "negative";
549
+ }>>>;
550
+ altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
761
551
  assignedUser: z.ZodNullable<z.ZodString>;
762
552
  autoResolved: z.ZodOptional<z.ZodBoolean>;
763
553
  autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
764
554
  autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
765
555
  commentsCount: z.ZodNumber;
766
- device: z.ZodEnum<["desktop", "mobile", "cross"]>;
556
+ device: z.ZodEnum<{
557
+ desktop: "desktop";
558
+ mobile: "mobile";
559
+ cross: "cross";
560
+ }>;
767
561
  dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
768
562
  dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
769
563
  dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
770
564
  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
- }>>>;
565
+ type: z.ZodEnum<{
566
+ falsePositive: "falsePositive";
567
+ duplicate: "duplicate";
568
+ notApplicable: "notApplicable";
569
+ willNotFix: "willNotFix";
570
+ }>;
571
+ }, z.core.$strip>>>;
779
572
  exported: z.ZodBoolean;
780
573
  id: z.ZodString;
781
574
  lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
782
575
  autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
783
576
  date: z.ZodString;
784
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>>>;
577
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
578
+ none: "none";
579
+ resolved: "resolved";
580
+ dismissed: "dismissed";
581
+ falsePositive: "falsePositive";
582
+ }>>>;
785
583
  userId: z.ZodNullable<z.ZodString>;
786
584
  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
- }>>>;
585
+ }, z.core.$strip>>>;
800
586
  name: z.ZodString;
801
587
  offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
802
588
  offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
803
589
  offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
804
590
  offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
805
591
  relatedFunnelId: z.ZodNullable<z.ZodString>;
806
- relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
592
+ relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
807
593
  $oid: z.ZodString;
808
- }, "strip", z.ZodTypeAny, {
809
- $oid: string;
810
- }, {
811
- $oid: string;
812
- }>]>;
594
+ }, z.core.$strip>]>;
813
595
  relatedWebpageId: z.ZodString;
814
- resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>;
596
+ resolution: z.ZodEnum<{
597
+ none: "none";
598
+ resolved: "resolved";
599
+ dismissed: "dismissed";
600
+ falsePositive: "falsePositive";
601
+ }>;
815
602
  selector: z.ZodNullable<z.ZodString>;
816
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
603
+ severity: z.ZodEnum<{
604
+ extreme: "extreme";
605
+ high: "high";
606
+ medium: "medium";
607
+ low: "low";
608
+ }>;
817
609
  siteOccurrences: z.ZodNumber;
818
610
  src: z.ZodNullable<z.ZodString>;
819
611
  templated: z.ZodBoolean;
820
- WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
612
+ WCAGLevel: z.ZodEnum<{
613
+ A: "A";
614
+ AA: "AA";
615
+ AAA: "AAA";
616
+ }>;
821
617
  webpath: z.ZodString;
822
618
  aiValidations: z.ZodDefault<z.ZodArray<z.ZodObject<{
823
619
  feedback: z.ZodDefault<z.ZodNullable<z.ZodObject<{
824
620
  helpful: z.ZodBoolean;
825
621
  userId: z.ZodString;
826
622
  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"]>;
623
+ }, z.core.$strip>>>;
624
+ type: z.ZodEnum<{
625
+ falsePositive: "falsePositive";
626
+ }>;
837
627
  isFalsePositive: z.ZodBoolean;
838
628
  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">>;
629
+ }, z.core.$strip>>>;
858
630
  confidence: z.ZodNumber;
859
631
  created: z.ZodString;
860
632
  HTML: z.ZodString;
@@ -868,36 +640,59 @@ export declare const McpDetailIssueSchema: z.ZodObject<{
868
640
  id: z.ZodString;
869
641
  mainpage: z.ZodBoolean;
870
642
  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
- }>>;
643
+ }, z.core.$strip>>;
880
644
  webpages: z.ZodOptional<z.ZodArray<z.ZodObject<{
881
645
  id: z.ZodString;
882
646
  name: z.ZodString;
883
647
  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
- } & {
648
+ }, z.core.$strip>>>;
894
649
  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"]>;
650
+ criteria: z.ZodEnum<{
651
+ clickables: "clickables";
652
+ readability: "readability";
653
+ headings: "headings";
654
+ tables: "tables";
655
+ errors: "errors";
656
+ context: "context";
657
+ forms: "forms";
658
+ keyboard: "keyboard";
659
+ graphics: "graphics";
660
+ navigation: "navigation";
661
+ document: "document";
662
+ carousels: "carousels";
663
+ aria: "aria";
664
+ general: "general";
665
+ "interactive-content": "interactive-content";
666
+ landmarks: "landmarks";
667
+ lists: "lists";
668
+ metadata: "metadata";
669
+ tabs: "tabs";
670
+ }>;
896
671
  rule: z.ZodObject<{
897
672
  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"]>;
673
+ criteria: z.ZodEnum<{
674
+ clickables: "clickables";
675
+ readability: "readability";
676
+ headings: "headings";
677
+ tables: "tables";
678
+ errors: "errors";
679
+ context: "context";
680
+ forms: "forms";
681
+ keyboard: "keyboard";
682
+ graphics: "graphics";
683
+ navigation: "navigation";
684
+ document: "document";
685
+ carousels: "carousels";
686
+ aria: "aria";
687
+ general: "general";
688
+ "interactive-content": "interactive-content";
689
+ landmarks: "landmarks";
690
+ lists: "lists";
691
+ metadata: "metadata";
692
+ tabs: "tabs";
693
+ }>;
899
694
  eligibleForAutoResolve: z.ZodReadonly<z.ZodDefault<z.ZodBoolean>>;
900
- engineRules: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
695
+ engineRules: z.ZodDefault<z.ZodArray<z.ZodString>>;
901
696
  id: z.ZodString;
902
697
  isAutoResolvable: z.ZodDefault<z.ZodBoolean>;
903
698
  isEligibleForFalsePositiveAiValidation: z.ZodDefault<z.ZodBoolean>;
@@ -906,547 +701,344 @@ export declare const McpDetailIssueSchema: z.ZodObject<{
906
701
  issueTutorialLink: z.ZodNullable<z.ZodString>;
907
702
  issueWCAGLink: z.ZodNullable<z.ZodString>;
908
703
  name: z.ZodString;
909
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
704
+ severity: z.ZodEnum<{
705
+ extreme: "extreme";
706
+ high: "high";
707
+ medium: "medium";
708
+ low: "low";
709
+ }>;
910
710
  shortCode: z.ZodString;
911
711
  shortDescription: z.ZodString;
912
712
  suggestedFix: z.ZodArray<z.ZodObject<{
913
713
  suggestedFixHTML: z.ZodString;
914
714
  suggestedFixKey: z.ZodString;
915
- suggestedFixType: z.ZodEnum<["attribute", "srOnly", "tag", "removeAttribute"]>;
715
+ suggestedFixType: z.ZodEnum<{
716
+ attribute: "attribute";
717
+ srOnly: "srOnly";
718
+ tag: "tag";
719
+ removeAttribute: "removeAttribute";
720
+ }>;
916
721
  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;
722
+ }, z.core.$strip>>;
723
+ WCAGLevel: z.ZodEnum<{
724
+ A: "A";
725
+ AA: "AA";
726
+ AAA: "AAA";
727
+ }>;
728
+ }, z.core.$strip>;
729
+ }, z.core.$strip>;
730
+ export declare const McpAuditDetailIssueSchema: z.ZodObject<{
731
+ altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
732
+ positive: "positive";
733
+ negative: "negative";
734
+ }>>>;
735
+ altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
736
+ assignedUser: z.ZodNullable<z.ZodString>;
737
+ autoResolved: z.ZodOptional<z.ZodBoolean>;
738
+ autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
739
+ autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
740
+ commentsCount: z.ZodNumber;
741
+ device: z.ZodEnum<{
742
+ desktop: "desktop";
743
+ mobile: "mobile";
744
+ cross: "cross";
975
745
  }>;
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
- }>;
746
+ dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
747
+ dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
748
+ dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
749
+ comment: z.ZodString;
750
+ type: z.ZodEnum<{
751
+ falsePositive: "falsePositive";
752
+ duplicate: "duplicate";
753
+ notApplicable: "notApplicable";
754
+ willNotFix: "willNotFix";
755
+ }>;
756
+ }, z.core.$strip>>>;
757
+ exported: z.ZodBoolean;
758
+ id: z.ZodString;
759
+ lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
760
+ autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
761
+ date: z.ZodString;
762
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
763
+ none: "none";
764
+ resolved: "resolved";
765
+ dismissed: "dismissed";
766
+ falsePositive: "falsePositive";
767
+ }>>>;
768
+ userId: z.ZodNullable<z.ZodString>;
769
+ userName: z.ZodString;
770
+ }, z.core.$strip>>>;
771
+ name: z.ZodString;
772
+ offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
773
+ offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
774
+ offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
775
+ offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
776
+ relatedFunnelId: z.ZodNullable<z.ZodString>;
777
+ relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
778
+ $oid: z.ZodString;
779
+ }, z.core.$strip>]>;
780
+ relatedWebpageId: z.ZodString;
781
+ resolution: z.ZodEnum<{
782
+ none: "none";
783
+ resolved: "resolved";
784
+ dismissed: "dismissed";
785
+ falsePositive: "falsePositive";
786
+ }>;
787
+ selector: z.ZodNullable<z.ZodString>;
788
+ severity: z.ZodEnum<{
789
+ extreme: "extreme";
790
+ high: "high";
791
+ medium: "medium";
792
+ low: "low";
793
+ }>;
794
+ siteOccurrences: z.ZodNumber;
795
+ src: z.ZodNullable<z.ZodString>;
796
+ templated: z.ZodBoolean;
797
+ WCAGLevel: z.ZodEnum<{
798
+ A: "A";
799
+ AA: "AA";
800
+ AAA: "AAA";
801
+ }>;
802
+ webpath: z.ZodString;
803
+ aiValidations: z.ZodDefault<z.ZodArray<z.ZodObject<{
804
+ feedback: z.ZodDefault<z.ZodNullable<z.ZodObject<{
805
+ helpful: z.ZodBoolean;
806
+ userId: z.ZodString;
807
+ userText: z.ZodString;
808
+ }, z.core.$strip>>>;
809
+ type: z.ZodEnum<{
810
+ falsePositive: "falsePositive";
811
+ }>;
812
+ isFalsePositive: z.ZodBoolean;
813
+ reasoning: z.ZodString;
814
+ }, z.core.$strip>>>;
815
+ confidence: z.ZodNumber;
816
+ created: z.ZodString;
817
+ HTML: z.ZodString;
818
+ irrelevant: z.ZodBoolean;
819
+ issueScreenshotUrl: z.ZodNullable<z.ZodString>;
820
+ modified: z.ZodString;
821
+ occurrences: z.ZodNumber;
822
+ suggestionLabel: z.ZodString;
823
+ suggestionType: z.ZodString;
824
+ webpage: z.ZodNullable<z.ZodObject<{
825
+ id: z.ZodString;
826
+ mainpage: z.ZodBoolean;
827
+ webpath: z.ZodString;
828
+ }, z.core.$strip>>;
829
+ webpages: z.ZodOptional<z.ZodArray<z.ZodObject<{
830
+ id: z.ZodString;
831
+ name: z.ZodString;
832
+ webpath: z.ZodString;
833
+ }, z.core.$strip>>>;
834
+ displayName: z.ZodString;
835
+ criteria: z.ZodEnum<{
836
+ clickables: "clickables";
837
+ readability: "readability";
838
+ headings: "headings";
839
+ tables: "tables";
840
+ errors: "errors";
841
+ context: "context";
842
+ forms: "forms";
843
+ keyboard: "keyboard";
844
+ graphics: "graphics";
845
+ navigation: "navigation";
846
+ document: "document";
847
+ carousels: "carousels";
848
+ aria: "aria";
849
+ general: "general";
850
+ "interactive-content": "interactive-content";
851
+ landmarks: "landmarks";
852
+ lists: "lists";
853
+ metadata: "metadata";
854
+ tabs: "tabs";
855
+ }>;
856
+ rule: z.ZodObject<{
857
+ addSROnlyCSS: z.ZodBoolean;
858
+ criteria: z.ZodEnum<{
859
+ clickables: "clickables";
860
+ readability: "readability";
861
+ headings: "headings";
862
+ tables: "tables";
863
+ errors: "errors";
864
+ context: "context";
865
+ forms: "forms";
866
+ keyboard: "keyboard";
867
+ graphics: "graphics";
868
+ navigation: "navigation";
869
+ document: "document";
870
+ carousels: "carousels";
871
+ aria: "aria";
872
+ general: "general";
873
+ "interactive-content": "interactive-content";
874
+ landmarks: "landmarks";
875
+ lists: "lists";
876
+ metadata: "metadata";
877
+ tabs: "tabs";
878
+ }>;
879
+ eligibleForAutoResolve: z.ZodReadonly<z.ZodDefault<z.ZodBoolean>>;
880
+ engineRules: z.ZodDefault<z.ZodArray<z.ZodString>>;
881
+ id: z.ZodString;
882
+ isAutoResolvable: z.ZodDefault<z.ZodBoolean>;
883
+ isEligibleForFalsePositiveAiValidation: z.ZodDefault<z.ZodBoolean>;
884
+ issueDescription: z.ZodString;
885
+ issueResolution: z.ZodString;
886
+ issueTutorialLink: z.ZodNullable<z.ZodString>;
887
+ issueWCAGLink: z.ZodNullable<z.ZodString>;
888
+ name: z.ZodString;
889
+ severity: z.ZodEnum<{
890
+ extreme: "extreme";
891
+ high: "high";
892
+ medium: "medium";
893
+ low: "low";
894
+ }>;
895
+ shortCode: z.ZodString;
896
+ shortDescription: z.ZodString;
897
+ suggestedFix: z.ZodArray<z.ZodObject<{
898
+ suggestedFixHTML: z.ZodString;
899
+ suggestedFixKey: z.ZodString;
900
+ suggestedFixType: z.ZodEnum<{
901
+ attribute: "attribute";
902
+ srOnly: "srOnly";
903
+ tag: "tag";
904
+ removeAttribute: "removeAttribute";
905
+ }>;
906
+ suggestedFixValue: z.ZodString;
907
+ }, z.core.$strip>>;
908
+ WCAGLevel: z.ZodEnum<{
909
+ A: "A";
910
+ AA: "AA";
911
+ AAA: "AAA";
912
+ }>;
913
+ }, z.core.$strip>;
914
+ sdkContext: z.ZodDefault<z.ZodNullable<z.ZodObject<{
915
+ componentName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
916
+ filePath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
917
+ lineNumber: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
918
+ snippet: z.ZodDefault<z.ZodNullable<z.ZodString>>;
919
+ }, z.core.$strip>>>;
920
+ }, z.core.$strip>;
1171
921
  export declare const UrgentIssuesResponseSchema: z.ZodObject<{
1172
922
  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">>>;
923
+ altTextFeedback: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
924
+ positive: "positive";
925
+ negative: "negative";
926
+ }>>>;
927
+ altTextSuggestions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1175
928
  assignedUser: z.ZodNullable<z.ZodString>;
1176
929
  autoResolved: z.ZodOptional<z.ZodBoolean>;
1177
930
  autoResolvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1178
931
  autoResolvedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1179
932
  commentsCount: z.ZodNumber;
1180
- device: z.ZodEnum<["desktop", "mobile", "cross"]>;
933
+ device: z.ZodEnum<{
934
+ desktop: "desktop";
935
+ mobile: "mobile";
936
+ cross: "cross";
937
+ }>;
1181
938
  dismissedBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1182
939
  dismissedDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1183
940
  dismissedReason: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1184
941
  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
- }>>>;
942
+ type: z.ZodEnum<{
943
+ falsePositive: "falsePositive";
944
+ duplicate: "duplicate";
945
+ notApplicable: "notApplicable";
946
+ willNotFix: "willNotFix";
947
+ }>;
948
+ }, z.core.$strip>>>;
1193
949
  exported: z.ZodBoolean;
1194
950
  id: z.ZodString;
1195
951
  irrelevant: z.ZodBoolean;
1196
952
  lastStatusChangeLog: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1197
953
  autoResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1198
954
  date: z.ZodString;
1199
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>>>;
955
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
956
+ none: "none";
957
+ resolved: "resolved";
958
+ dismissed: "dismissed";
959
+ falsePositive: "falsePositive";
960
+ }>>>;
1200
961
  userId: z.ZodNullable<z.ZodString>;
1201
962
  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
- }>>>;
963
+ }, z.core.$strip>>>;
1215
964
  name: z.ZodString;
1216
965
  offsetX: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1217
966
  offsetXMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1218
967
  offsetY: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1219
968
  offsetYMobile: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1220
969
  relatedFunnelId: z.ZodNullable<z.ZodString>;
1221
- relatedRuleId: z.ZodUnion<[z.ZodString, z.ZodObject<{
970
+ relatedRuleId: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1222
971
  $oid: z.ZodString;
1223
- }, "strip", z.ZodTypeAny, {
1224
- $oid: string;
1225
- }, {
1226
- $oid: string;
1227
- }>]>;
972
+ }, z.core.$strip>]>;
1228
973
  relatedWebpageId: z.ZodString;
1229
- resolution: z.ZodEnum<["none", "resolved", "dismissed", "falsePositive"]>;
974
+ resolution: z.ZodEnum<{
975
+ none: "none";
976
+ resolved: "resolved";
977
+ dismissed: "dismissed";
978
+ falsePositive: "falsePositive";
979
+ }>;
1230
980
  selector: z.ZodNullable<z.ZodString>;
1231
- severity: z.ZodEnum<["extreme", "high", "medium", "low"]>;
981
+ severity: z.ZodEnum<{
982
+ extreme: "extreme";
983
+ high: "high";
984
+ medium: "medium";
985
+ low: "low";
986
+ }>;
1232
987
  siteOccurrences: z.ZodNumber;
1233
988
  src: z.ZodNullable<z.ZodString>;
1234
989
  templated: z.ZodBoolean;
1235
- WCAGLevel: z.ZodEnum<["A", "AA", "AAA"]>;
990
+ WCAGLevel: z.ZodEnum<{
991
+ A: "A";
992
+ AA: "AA";
993
+ AAA: "AAA";
994
+ }>;
1236
995
  webpath: z.ZodString;
1237
- } & {
1238
996
  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"]>;
997
+ criteria: z.ZodEnum<{
998
+ clickables: "clickables";
999
+ readability: "readability";
1000
+ headings: "headings";
1001
+ tables: "tables";
1002
+ errors: "errors";
1003
+ context: "context";
1004
+ forms: "forms";
1005
+ keyboard: "keyboard";
1006
+ graphics: "graphics";
1007
+ navigation: "navigation";
1008
+ document: "document";
1009
+ carousels: "carousels";
1010
+ aria: "aria";
1011
+ general: "general";
1012
+ "interactive-content": "interactive-content";
1013
+ landmarks: "landmarks";
1014
+ lists: "lists";
1015
+ metadata: "metadata";
1016
+ tabs: "tabs";
1017
+ }>;
1240
1018
  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
- }>;
1019
+ sdkContext: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1020
+ componentName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1021
+ filePath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1022
+ lineNumber: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1023
+ snippet: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1024
+ }, z.core.$strip>>>;
1025
+ }, z.core.$strip>>;
1026
+ }, z.core.$strip>;
1431
1027
  export declare const ResolveIssueRequestSchema: z.ZodObject<{
1432
1028
  displayName: z.ZodString;
1433
- }, "strip", z.ZodTypeAny, {
1434
- displayName: string;
1435
- }, {
1436
- displayName: string;
1437
- }>;
1029
+ }, z.core.$strip>;
1438
1030
  export declare const ResolveIssueResponseSchema: z.ZodObject<{
1439
1031
  success: z.ZodLiteral<true>;
1440
- }, "strip", z.ZodTypeAny, {
1441
- success: true;
1442
- }, {
1443
- success: true;
1444
- }>;
1032
+ }, z.core.$strip>;
1445
1033
  export type Severity = z.infer<typeof SeveritySchema>;
1446
1034
  export type WCAGLevelType = z.infer<typeof WCAGLevel>;
1447
1035
  export type CriteriaType = z.infer<typeof Criteria>;
1448
1036
  export type ApiRule = z.infer<typeof RuleSchema>;
1449
1037
  export type ApiIssue = z.infer<typeof McpBasicIssueSchema>;
1038
+ export type ApiAuditIssue = z.infer<typeof McpAuditIssueSchema>;
1039
+ export type ApiSdkIssueContext = z.infer<typeof SdkIssueContextSchema>;
1040
+ export type AuditSourceType = z.infer<typeof AuditSource>;
1450
1041
  export type ApiUrgentIssuesResponse = z.infer<typeof UrgentIssuesResponseSchema>;
1451
1042
  export type ApiIssueRemediation = z.infer<typeof McpDetailIssueSchema>;
1043
+ export type ApiAuditIssueRemediation = z.infer<typeof McpAuditDetailIssueSchema>;
1452
1044
  //# sourceMappingURL=apiSchemas.d.ts.map