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