@nuxtseo/protocol 0.1.0

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 (44) hide show
  1. package/dist/analytics-codecs/analytics-row.d.ts +265 -0
  2. package/dist/analytics-codecs/analytics-row.js +175 -0
  3. package/dist/analytics-codecs/analytics-web-vitals.d.ts +57 -0
  4. package/dist/analytics-codecs/analytics-web-vitals.js +76 -0
  5. package/dist/analytics-codecs/capabilities.d.ts +35 -0
  6. package/dist/analytics-codecs/capabilities.js +76 -0
  7. package/dist/analytics-codecs/index.d.ts +3 -0
  8. package/dist/analytics-codecs/index.js +3 -0
  9. package/dist/cli-pairing.d.ts +67 -0
  10. package/dist/cli-pairing.js +52 -0
  11. package/dist/index.d.ts +1 -0
  12. package/dist/index.js +1 -0
  13. package/dist/v1/account.d.ts +715 -0
  14. package/dist/v1/account.js +123 -0
  15. package/dist/v1/actions.d.ts +2591 -0
  16. package/dist/v1/actions.js +460 -0
  17. package/dist/v1/analytics.d.ts +6145 -0
  18. package/dist/v1/analytics.js +296 -0
  19. package/dist/v1/audit.d.ts +4053 -0
  20. package/dist/v1/audit.js +609 -0
  21. package/dist/v1/backlinks.d.ts +1002 -0
  22. package/dist/v1/backlinks.js +239 -0
  23. package/dist/v1/content.d.ts +2745 -0
  24. package/dist/v1/content.js +326 -0
  25. package/dist/v1/core.d.ts +301 -0
  26. package/dist/v1/core.js +333 -0
  27. package/dist/v1/documents.d.ts +4 -0
  28. package/dist/v1/documents.js +216 -0
  29. package/dist/v1/gsc.d.ts +5172 -0
  30. package/dist/v1/gsc.js +583 -0
  31. package/dist/v1/index.d.ts +49 -0
  32. package/dist/v1/index.js +52 -0
  33. package/dist/v1/pages.d.ts +1404 -0
  34. package/dist/v1/pages.js +287 -0
  35. package/dist/v1/performance.d.ts +1379 -0
  36. package/dist/v1/performance.js +198 -0
  37. package/dist/v1/research.d.ts +1173 -0
  38. package/dist/v1/research.js +174 -0
  39. package/dist/v1/sitemaps.d.ts +1506 -0
  40. package/dist/v1/sitemaps.js +199 -0
  41. package/dist/v1/sites.d.ts +591 -0
  42. package/dist/v1/sites.js +101 -0
  43. package/generated/openapi.v1.json +1 -0
  44. package/package.json +131 -0
@@ -0,0 +1,2591 @@
1
+ import type { z } from 'zod';
2
+ export declare const actionSiteParamsSchema: z.ZodObject<{
3
+ siteId: z.ZodString;
4
+ }, z.core.$strict>;
5
+ export declare const actionParamsSchema: z.ZodObject<{
6
+ siteId: z.ZodString;
7
+ actionId: z.ZodString;
8
+ }, z.core.$strict>;
9
+ export declare const actionListQuerySchema: z.ZodObject<{
10
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
11
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
12
+ }, z.core.$strict>;
13
+ export declare const actionShowQuerySchema: z.ZodObject<{
14
+ groupId: z.ZodOptional<z.ZodString>;
15
+ cursor: z.ZodOptional<z.ZodString>;
16
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
17
+ }, z.core.$strict>;
18
+ export declare const actionResolveBodySchema: z.ZodObject<{
19
+ artifactVersion: z.ZodString;
20
+ }, z.core.$strict>;
21
+ export declare const actionSubjectSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
22
+ readonly kind: z.ZodString;
23
+ readonly label: z.ZodString;
24
+ readonly url: z.ZodOptional<z.ZodString>;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ readonly kind: z.ZodString;
27
+ readonly label: z.ZodString;
28
+ readonly url: z.ZodOptional<z.ZodString>;
29
+ }, z.core.$strip>>;
30
+ export declare const actionSourceSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
31
+ readonly label: z.ZodString;
32
+ readonly url: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ readonly label: z.ZodString;
35
+ readonly url: z.ZodString;
36
+ }, z.core.$strip>>;
37
+ export declare const actionEvidenceSummarySchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
38
+ readonly artifactVersion: z.ZodNullable<z.ZodString>;
39
+ readonly coverage: z.ZodEnum<{
40
+ complete: "complete";
41
+ "count-only": "count-only";
42
+ partial: "partial";
43
+ unavailable: "unavailable";
44
+ unknown: "unknown";
45
+ }>;
46
+ readonly primaryKnownTotal: z.ZodNullable<z.ZodNumber>;
47
+ readonly knownTotal: z.ZodNumber;
48
+ readonly reportedTotal: z.ZodNullable<z.ZodNumber>;
49
+ readonly groupCount: z.ZodNumber;
50
+ readonly observedAt: z.ZodNullable<z.ZodString>;
51
+ readonly asOf: z.ZodNullable<z.ZodString>;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ readonly artifactVersion: z.ZodNullable<z.ZodString>;
54
+ readonly coverage: z.ZodEnum<{
55
+ complete: "complete";
56
+ "count-only": "count-only";
57
+ partial: "partial";
58
+ unavailable: "unavailable";
59
+ unknown: "unknown";
60
+ }>;
61
+ readonly primaryKnownTotal: z.ZodNullable<z.ZodNumber>;
62
+ readonly knownTotal: z.ZodNumber;
63
+ readonly reportedTotal: z.ZodNullable<z.ZodNumber>;
64
+ readonly groupCount: z.ZodNumber;
65
+ readonly observedAt: z.ZodNullable<z.ZodString>;
66
+ readonly asOf: z.ZodNullable<z.ZodString>;
67
+ }, z.core.$strip>>;
68
+ export declare const actionListItemSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
69
+ readonly id: z.ZodString;
70
+ readonly status: z.ZodString;
71
+ readonly diagnosis: z.ZodString;
72
+ readonly subject: z.ZodNullable<z.ZodObject<{
73
+ readonly kind: z.ZodString;
74
+ readonly label: z.ZodString;
75
+ readonly url: z.ZodOptional<z.ZodString>;
76
+ }, z.core.$strip>>;
77
+ readonly source: z.ZodNullable<z.ZodObject<{
78
+ readonly label: z.ZodString;
79
+ readonly url: z.ZodString;
80
+ }, z.core.$strip>>;
81
+ readonly authoredBy: z.ZodEnum<{
82
+ agent: "agent";
83
+ detector: "detector";
84
+ }>;
85
+ readonly findingType: z.ZodString;
86
+ readonly workLocation: z.ZodEnum<{
87
+ code: "code";
88
+ infra: "infra";
89
+ "off-site": "off-site";
90
+ }>;
91
+ readonly effort: z.ZodEnum<{
92
+ L: "L";
93
+ M: "M";
94
+ S: "S";
95
+ }>;
96
+ readonly affectedPages: z.ZodNullable<z.ZodNumber>;
97
+ readonly evidence: z.ZodObject<{
98
+ readonly artifactVersion: z.ZodNullable<z.ZodString>;
99
+ readonly coverage: z.ZodEnum<{
100
+ complete: "complete";
101
+ "count-only": "count-only";
102
+ partial: "partial";
103
+ unavailable: "unavailable";
104
+ unknown: "unknown";
105
+ }>;
106
+ readonly primaryKnownTotal: z.ZodNullable<z.ZodNumber>;
107
+ readonly knownTotal: z.ZodNumber;
108
+ readonly reportedTotal: z.ZodNullable<z.ZodNumber>;
109
+ readonly groupCount: z.ZodNumber;
110
+ readonly observedAt: z.ZodNullable<z.ZodString>;
111
+ readonly asOf: z.ZodNullable<z.ZodString>;
112
+ }, z.core.$strip>;
113
+ readonly firstSeenAt: z.ZodNullable<z.ZodString>;
114
+ readonly relatedActionIds: z.ZodArray<z.ZodString>;
115
+ readonly resolution: z.ZodNullable<z.ZodObject<{
116
+ artifactVersion: z.ZodString;
117
+ evidenceScope: z.ZodEnum<{
118
+ complete: "complete";
119
+ "count-only": "count-only";
120
+ partial: "partial";
121
+ unknown: "unknown";
122
+ }>;
123
+ }, z.core.$strict>>;
124
+ }, z.core.$strip>, z.ZodObject<{
125
+ readonly id: z.ZodString;
126
+ readonly status: z.ZodString;
127
+ readonly diagnosis: z.ZodString;
128
+ readonly subject: z.ZodNullable<z.ZodObject<{
129
+ readonly kind: z.ZodString;
130
+ readonly label: z.ZodString;
131
+ readonly url: z.ZodOptional<z.ZodString>;
132
+ }, z.core.$strip>>;
133
+ readonly source: z.ZodNullable<z.ZodObject<{
134
+ readonly label: z.ZodString;
135
+ readonly url: z.ZodString;
136
+ }, z.core.$strip>>;
137
+ readonly authoredBy: z.ZodEnum<{
138
+ agent: "agent";
139
+ detector: "detector";
140
+ }>;
141
+ readonly findingType: z.ZodString;
142
+ readonly workLocation: z.ZodEnum<{
143
+ code: "code";
144
+ infra: "infra";
145
+ "off-site": "off-site";
146
+ }>;
147
+ readonly effort: z.ZodEnum<{
148
+ L: "L";
149
+ M: "M";
150
+ S: "S";
151
+ }>;
152
+ readonly affectedPages: z.ZodNullable<z.ZodNumber>;
153
+ readonly evidence: z.ZodObject<{
154
+ readonly artifactVersion: z.ZodNullable<z.ZodString>;
155
+ readonly coverage: z.ZodEnum<{
156
+ complete: "complete";
157
+ "count-only": "count-only";
158
+ partial: "partial";
159
+ unavailable: "unavailable";
160
+ unknown: "unknown";
161
+ }>;
162
+ readonly primaryKnownTotal: z.ZodNullable<z.ZodNumber>;
163
+ readonly knownTotal: z.ZodNumber;
164
+ readonly reportedTotal: z.ZodNullable<z.ZodNumber>;
165
+ readonly groupCount: z.ZodNumber;
166
+ readonly observedAt: z.ZodNullable<z.ZodString>;
167
+ readonly asOf: z.ZodNullable<z.ZodString>;
168
+ }, z.core.$strip>;
169
+ readonly firstSeenAt: z.ZodNullable<z.ZodString>;
170
+ readonly relatedActionIds: z.ZodArray<z.ZodString>;
171
+ readonly resolution: z.ZodNullable<z.ZodObject<{
172
+ artifactVersion: z.ZodString;
173
+ evidenceScope: z.ZodEnum<{
174
+ complete: "complete";
175
+ "count-only": "count-only";
176
+ partial: "partial";
177
+ unknown: "unknown";
178
+ }>;
179
+ }, z.core.$loose>>;
180
+ }, z.core.$strip>>;
181
+ export declare const actionListDataSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
182
+ readonly actions: z.ZodArray<z.ZodObject<{
183
+ readonly id: z.ZodString;
184
+ readonly status: z.ZodString;
185
+ readonly diagnosis: z.ZodString;
186
+ readonly subject: z.ZodNullable<z.ZodObject<{
187
+ readonly kind: z.ZodString;
188
+ readonly label: z.ZodString;
189
+ readonly url: z.ZodOptional<z.ZodString>;
190
+ }, z.core.$strip>>;
191
+ readonly source: z.ZodNullable<z.ZodObject<{
192
+ readonly label: z.ZodString;
193
+ readonly url: z.ZodString;
194
+ }, z.core.$strip>>;
195
+ readonly authoredBy: z.ZodEnum<{
196
+ agent: "agent";
197
+ detector: "detector";
198
+ }>;
199
+ readonly findingType: z.ZodString;
200
+ readonly workLocation: z.ZodEnum<{
201
+ code: "code";
202
+ infra: "infra";
203
+ "off-site": "off-site";
204
+ }>;
205
+ readonly effort: z.ZodEnum<{
206
+ L: "L";
207
+ M: "M";
208
+ S: "S";
209
+ }>;
210
+ readonly affectedPages: z.ZodNullable<z.ZodNumber>;
211
+ readonly evidence: z.ZodObject<{
212
+ readonly artifactVersion: z.ZodNullable<z.ZodString>;
213
+ readonly coverage: z.ZodEnum<{
214
+ complete: "complete";
215
+ "count-only": "count-only";
216
+ partial: "partial";
217
+ unavailable: "unavailable";
218
+ unknown: "unknown";
219
+ }>;
220
+ readonly primaryKnownTotal: z.ZodNullable<z.ZodNumber>;
221
+ readonly knownTotal: z.ZodNumber;
222
+ readonly reportedTotal: z.ZodNullable<z.ZodNumber>;
223
+ readonly groupCount: z.ZodNumber;
224
+ readonly observedAt: z.ZodNullable<z.ZodString>;
225
+ readonly asOf: z.ZodNullable<z.ZodString>;
226
+ }, z.core.$strip>;
227
+ readonly firstSeenAt: z.ZodNullable<z.ZodString>;
228
+ readonly relatedActionIds: z.ZodArray<z.ZodString>;
229
+ readonly resolution: z.ZodNullable<z.ZodObject<{
230
+ artifactVersion: z.ZodString;
231
+ evidenceScope: z.ZodEnum<{
232
+ complete: "complete";
233
+ "count-only": "count-only";
234
+ partial: "partial";
235
+ unknown: "unknown";
236
+ }>;
237
+ }, z.core.$strict>>;
238
+ }, z.core.$strip>>;
239
+ readonly page: z.ZodObject<{
240
+ total: z.ZodNumber;
241
+ limit: z.ZodNumber;
242
+ offset: z.ZodNumber;
243
+ hasMore: z.ZodBoolean;
244
+ }, z.core.$strict>;
245
+ readonly listedAsOf: z.ZodString;
246
+ }, z.core.$strip>, z.ZodObject<{
247
+ readonly actions: z.ZodArray<z.ZodObject<{
248
+ readonly id: z.ZodString;
249
+ readonly status: z.ZodString;
250
+ readonly diagnosis: z.ZodString;
251
+ readonly subject: z.ZodNullable<z.ZodObject<{
252
+ readonly kind: z.ZodString;
253
+ readonly label: z.ZodString;
254
+ readonly url: z.ZodOptional<z.ZodString>;
255
+ }, z.core.$strip>>;
256
+ readonly source: z.ZodNullable<z.ZodObject<{
257
+ readonly label: z.ZodString;
258
+ readonly url: z.ZodString;
259
+ }, z.core.$strip>>;
260
+ readonly authoredBy: z.ZodEnum<{
261
+ agent: "agent";
262
+ detector: "detector";
263
+ }>;
264
+ readonly findingType: z.ZodString;
265
+ readonly workLocation: z.ZodEnum<{
266
+ code: "code";
267
+ infra: "infra";
268
+ "off-site": "off-site";
269
+ }>;
270
+ readonly effort: z.ZodEnum<{
271
+ L: "L";
272
+ M: "M";
273
+ S: "S";
274
+ }>;
275
+ readonly affectedPages: z.ZodNullable<z.ZodNumber>;
276
+ readonly evidence: z.ZodObject<{
277
+ readonly artifactVersion: z.ZodNullable<z.ZodString>;
278
+ readonly coverage: z.ZodEnum<{
279
+ complete: "complete";
280
+ "count-only": "count-only";
281
+ partial: "partial";
282
+ unavailable: "unavailable";
283
+ unknown: "unknown";
284
+ }>;
285
+ readonly primaryKnownTotal: z.ZodNullable<z.ZodNumber>;
286
+ readonly knownTotal: z.ZodNumber;
287
+ readonly reportedTotal: z.ZodNullable<z.ZodNumber>;
288
+ readonly groupCount: z.ZodNumber;
289
+ readonly observedAt: z.ZodNullable<z.ZodString>;
290
+ readonly asOf: z.ZodNullable<z.ZodString>;
291
+ }, z.core.$strip>;
292
+ readonly firstSeenAt: z.ZodNullable<z.ZodString>;
293
+ readonly relatedActionIds: z.ZodArray<z.ZodString>;
294
+ readonly resolution: z.ZodNullable<z.ZodObject<{
295
+ artifactVersion: z.ZodString;
296
+ evidenceScope: z.ZodEnum<{
297
+ complete: "complete";
298
+ "count-only": "count-only";
299
+ partial: "partial";
300
+ unknown: "unknown";
301
+ }>;
302
+ }, z.core.$loose>>;
303
+ }, z.core.$strip>>;
304
+ readonly page: z.ZodObject<{
305
+ total: z.ZodNumber;
306
+ limit: z.ZodNumber;
307
+ offset: z.ZodNumber;
308
+ hasMore: z.ZodBoolean;
309
+ }, z.core.$loose>;
310
+ readonly listedAsOf: z.ZodString;
311
+ }, z.core.$strip>>;
312
+ export declare const actionListResponseSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
313
+ data: z.ZodObject<{
314
+ readonly actions: z.ZodArray<z.ZodObject<{
315
+ readonly id: z.ZodString;
316
+ readonly status: z.ZodString;
317
+ readonly diagnosis: z.ZodString;
318
+ readonly subject: z.ZodNullable<z.ZodObject<{
319
+ readonly kind: z.ZodString;
320
+ readonly label: z.ZodString;
321
+ readonly url: z.ZodOptional<z.ZodString>;
322
+ }, z.core.$strip>>;
323
+ readonly source: z.ZodNullable<z.ZodObject<{
324
+ readonly label: z.ZodString;
325
+ readonly url: z.ZodString;
326
+ }, z.core.$strip>>;
327
+ readonly authoredBy: z.ZodEnum<{
328
+ agent: "agent";
329
+ detector: "detector";
330
+ }>;
331
+ readonly findingType: z.ZodString;
332
+ readonly workLocation: z.ZodEnum<{
333
+ code: "code";
334
+ infra: "infra";
335
+ "off-site": "off-site";
336
+ }>;
337
+ readonly effort: z.ZodEnum<{
338
+ L: "L";
339
+ M: "M";
340
+ S: "S";
341
+ }>;
342
+ readonly affectedPages: z.ZodNullable<z.ZodNumber>;
343
+ readonly evidence: z.ZodObject<{
344
+ readonly artifactVersion: z.ZodNullable<z.ZodString>;
345
+ readonly coverage: z.ZodEnum<{
346
+ complete: "complete";
347
+ "count-only": "count-only";
348
+ partial: "partial";
349
+ unavailable: "unavailable";
350
+ unknown: "unknown";
351
+ }>;
352
+ readonly primaryKnownTotal: z.ZodNullable<z.ZodNumber>;
353
+ readonly knownTotal: z.ZodNumber;
354
+ readonly reportedTotal: z.ZodNullable<z.ZodNumber>;
355
+ readonly groupCount: z.ZodNumber;
356
+ readonly observedAt: z.ZodNullable<z.ZodString>;
357
+ readonly asOf: z.ZodNullable<z.ZodString>;
358
+ }, z.core.$strip>;
359
+ readonly firstSeenAt: z.ZodNullable<z.ZodString>;
360
+ readonly relatedActionIds: z.ZodArray<z.ZodString>;
361
+ readonly resolution: z.ZodNullable<z.ZodObject<{
362
+ artifactVersion: z.ZodString;
363
+ evidenceScope: z.ZodEnum<{
364
+ complete: "complete";
365
+ "count-only": "count-only";
366
+ partial: "partial";
367
+ unknown: "unknown";
368
+ }>;
369
+ }, z.core.$strict>>;
370
+ }, z.core.$strip>>;
371
+ readonly page: z.ZodObject<{
372
+ total: z.ZodNumber;
373
+ limit: z.ZodNumber;
374
+ offset: z.ZodNumber;
375
+ hasMore: z.ZodBoolean;
376
+ }, z.core.$strict>;
377
+ readonly listedAsOf: z.ZodString;
378
+ }, z.core.$strip>;
379
+ meta: z.ZodObject<{
380
+ requestId: z.ZodString;
381
+ version: z.ZodLiteral<"1.0">;
382
+ }, z.core.$strict>;
383
+ }, z.core.$strip>, z.ZodObject<{
384
+ data: z.ZodObject<{
385
+ readonly actions: z.ZodArray<z.ZodObject<{
386
+ readonly id: z.ZodString;
387
+ readonly status: z.ZodString;
388
+ readonly diagnosis: z.ZodString;
389
+ readonly subject: z.ZodNullable<z.ZodObject<{
390
+ readonly kind: z.ZodString;
391
+ readonly label: z.ZodString;
392
+ readonly url: z.ZodOptional<z.ZodString>;
393
+ }, z.core.$strip>>;
394
+ readonly source: z.ZodNullable<z.ZodObject<{
395
+ readonly label: z.ZodString;
396
+ readonly url: z.ZodString;
397
+ }, z.core.$strip>>;
398
+ readonly authoredBy: z.ZodEnum<{
399
+ agent: "agent";
400
+ detector: "detector";
401
+ }>;
402
+ readonly findingType: z.ZodString;
403
+ readonly workLocation: z.ZodEnum<{
404
+ code: "code";
405
+ infra: "infra";
406
+ "off-site": "off-site";
407
+ }>;
408
+ readonly effort: z.ZodEnum<{
409
+ L: "L";
410
+ M: "M";
411
+ S: "S";
412
+ }>;
413
+ readonly affectedPages: z.ZodNullable<z.ZodNumber>;
414
+ readonly evidence: z.ZodObject<{
415
+ readonly artifactVersion: z.ZodNullable<z.ZodString>;
416
+ readonly coverage: z.ZodEnum<{
417
+ complete: "complete";
418
+ "count-only": "count-only";
419
+ partial: "partial";
420
+ unavailable: "unavailable";
421
+ unknown: "unknown";
422
+ }>;
423
+ readonly primaryKnownTotal: z.ZodNullable<z.ZodNumber>;
424
+ readonly knownTotal: z.ZodNumber;
425
+ readonly reportedTotal: z.ZodNullable<z.ZodNumber>;
426
+ readonly groupCount: z.ZodNumber;
427
+ readonly observedAt: z.ZodNullable<z.ZodString>;
428
+ readonly asOf: z.ZodNullable<z.ZodString>;
429
+ }, z.core.$strip>;
430
+ readonly firstSeenAt: z.ZodNullable<z.ZodString>;
431
+ readonly relatedActionIds: z.ZodArray<z.ZodString>;
432
+ readonly resolution: z.ZodNullable<z.ZodObject<{
433
+ artifactVersion: z.ZodString;
434
+ evidenceScope: z.ZodEnum<{
435
+ complete: "complete";
436
+ "count-only": "count-only";
437
+ partial: "partial";
438
+ unknown: "unknown";
439
+ }>;
440
+ }, z.core.$loose>>;
441
+ }, z.core.$strip>>;
442
+ readonly page: z.ZodObject<{
443
+ total: z.ZodNumber;
444
+ limit: z.ZodNumber;
445
+ offset: z.ZodNumber;
446
+ hasMore: z.ZodBoolean;
447
+ }, z.core.$loose>;
448
+ readonly listedAsOf: z.ZodString;
449
+ }, z.core.$strip>;
450
+ meta: z.ZodObject<{
451
+ requestId: z.ZodString;
452
+ version: z.ZodLiteral<"1.0">;
453
+ }, z.core.$loose>;
454
+ }, z.core.$strip>>;
455
+ export declare const actionEvidenceCoverageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
456
+ _tag: z.ZodLiteral<"complete">;
457
+ knownTotal: z.ZodNumber;
458
+ }, z.core.$strict>, z.ZodObject<{
459
+ _tag: z.ZodLiteral<"partial">;
460
+ reportedTotal: z.ZodNumber;
461
+ knownTotal: z.ZodNumber;
462
+ limitation: z.ZodString;
463
+ }, z.core.$strict>, z.ZodObject<{
464
+ _tag: z.ZodLiteral<"count-only">;
465
+ reportedTotal: z.ZodNumber;
466
+ limitation: z.ZodString;
467
+ }, z.core.$strict>, z.ZodObject<{
468
+ _tag: z.ZodLiteral<"unknown">;
469
+ knownTotal: z.ZodNumber;
470
+ limitation: z.ZodString;
471
+ }, z.core.$strict>, z.ZodObject<{
472
+ _tag: z.ZodLiteral<"unavailable">;
473
+ limitation: z.ZodString;
474
+ }, z.core.$strict>], "_tag">;
475
+ export declare const actionEvidenceCoverageClientSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
476
+ _tag: z.ZodLiteral<"complete">;
477
+ knownTotal: z.ZodNumber;
478
+ }, z.core.$loose>, z.ZodObject<{
479
+ _tag: z.ZodLiteral<"partial">;
480
+ reportedTotal: z.ZodNumber;
481
+ knownTotal: z.ZodNumber;
482
+ limitation: z.ZodString;
483
+ }, z.core.$loose>, z.ZodObject<{
484
+ _tag: z.ZodLiteral<"count-only">;
485
+ reportedTotal: z.ZodNumber;
486
+ limitation: z.ZodString;
487
+ }, z.core.$loose>, z.ZodObject<{
488
+ _tag: z.ZodLiteral<"unknown">;
489
+ knownTotal: z.ZodNumber;
490
+ limitation: z.ZodString;
491
+ }, z.core.$loose>, z.ZodObject<{
492
+ _tag: z.ZodLiteral<"unavailable">;
493
+ limitation: z.ZodString;
494
+ }, z.core.$loose>], "_tag">;
495
+ export declare const actionEvidenceItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
496
+ _tag: z.ZodLiteral<"page-status">;
497
+ id: z.ZodString;
498
+ url: z.ZodString;
499
+ status: z.ZodNumber;
500
+ }, z.core.$strict>, z.ZodObject<{
501
+ _tag: z.ZodLiteral<"link-edge">;
502
+ id: z.ZodString;
503
+ sourceUrl: z.ZodString;
504
+ targetUrl: z.ZodString;
505
+ targetStatus: z.ZodNullable<z.ZodNumber>;
506
+ }, z.core.$strict>, z.ZodObject<{
507
+ _tag: z.ZodLiteral<"provider-page">;
508
+ id: z.ZodString;
509
+ url: z.ZodString;
510
+ reason: z.ZodString;
511
+ observedAt: z.ZodNullable<z.ZodString>;
512
+ }, z.core.$strict>, z.ZodObject<{
513
+ _tag: z.ZodLiteral<"page">;
514
+ id: z.ZodString;
515
+ url: z.ZodString;
516
+ detail: z.ZodNullable<z.ZodString>;
517
+ }, z.core.$strict>], "_tag">;
518
+ export declare const actionEvidenceItemClientSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
519
+ _tag: z.ZodLiteral<"page-status">;
520
+ id: z.ZodString;
521
+ url: z.ZodString;
522
+ status: z.ZodNumber;
523
+ }, z.core.$loose>, z.ZodObject<{
524
+ _tag: z.ZodLiteral<"link-edge">;
525
+ id: z.ZodString;
526
+ sourceUrl: z.ZodString;
527
+ targetUrl: z.ZodString;
528
+ targetStatus: z.ZodNullable<z.ZodNumber>;
529
+ }, z.core.$loose>, z.ZodObject<{
530
+ _tag: z.ZodLiteral<"provider-page">;
531
+ id: z.ZodString;
532
+ url: z.ZodString;
533
+ reason: z.ZodString;
534
+ observedAt: z.ZodNullable<z.ZodString>;
535
+ }, z.core.$loose>, z.ZodObject<{
536
+ _tag: z.ZodLiteral<"page">;
537
+ id: z.ZodString;
538
+ url: z.ZodString;
539
+ detail: z.ZodNullable<z.ZodString>;
540
+ }, z.core.$loose>], "_tag">;
541
+ export declare const actionVerifierSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
542
+ _tag: z.ZodLiteral<"target-healthy">;
543
+ url: z.ZodString;
544
+ }, z.core.$strict>, z.ZodObject<{
545
+ _tag: z.ZodLiteral<"finding-cleared">;
546
+ findingType: z.ZodString;
547
+ }, z.core.$strict>, z.ZodObject<{
548
+ _tag: z.ZodLiteral<"metric">;
549
+ metric: z.ZodString;
550
+ }, z.core.$strict>, z.ZodObject<{
551
+ _tag: z.ZodLiteral<"user-attested">;
552
+ }, z.core.$strict>], "_tag">;
553
+ export declare const actionVerifierClientSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
554
+ _tag: z.ZodLiteral<"target-healthy">;
555
+ url: z.ZodString;
556
+ }, z.core.$loose>, z.ZodObject<{
557
+ _tag: z.ZodLiteral<"finding-cleared">;
558
+ findingType: z.ZodString;
559
+ }, z.core.$loose>, z.ZodObject<{
560
+ _tag: z.ZodLiteral<"metric">;
561
+ metric: z.ZodString;
562
+ }, z.core.$loose>, z.ZodObject<{
563
+ _tag: z.ZodLiteral<"user-attested">;
564
+ }, z.core.$loose>], "_tag">;
565
+ export declare const actionEvidenceGroupSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
566
+ readonly id: z.ZodString;
567
+ readonly relation: z.ZodString;
568
+ readonly source: z.ZodObject<{
569
+ kind: z.ZodString;
570
+ generationId: z.ZodNullable<z.ZodString>;
571
+ observedAt: z.ZodNullable<z.ZodString>;
572
+ collectedAt: z.ZodString;
573
+ }, z.core.$strict>;
574
+ readonly coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
575
+ _tag: z.ZodLiteral<"complete">;
576
+ knownTotal: z.ZodNumber;
577
+ }, z.core.$strict>, z.ZodObject<{
578
+ _tag: z.ZodLiteral<"partial">;
579
+ reportedTotal: z.ZodNumber;
580
+ knownTotal: z.ZodNumber;
581
+ limitation: z.ZodString;
582
+ }, z.core.$strict>, z.ZodObject<{
583
+ _tag: z.ZodLiteral<"count-only">;
584
+ reportedTotal: z.ZodNumber;
585
+ limitation: z.ZodString;
586
+ }, z.core.$strict>, z.ZodObject<{
587
+ _tag: z.ZodLiteral<"unknown">;
588
+ knownTotal: z.ZodNumber;
589
+ limitation: z.ZodString;
590
+ }, z.core.$strict>, z.ZodObject<{
591
+ _tag: z.ZodLiteral<"unavailable">;
592
+ limitation: z.ZodString;
593
+ }, z.core.$strict>], "_tag">;
594
+ readonly items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
595
+ _tag: z.ZodLiteral<"page-status">;
596
+ id: z.ZodString;
597
+ url: z.ZodString;
598
+ status: z.ZodNumber;
599
+ }, z.core.$strict>, z.ZodObject<{
600
+ _tag: z.ZodLiteral<"link-edge">;
601
+ id: z.ZodString;
602
+ sourceUrl: z.ZodString;
603
+ targetUrl: z.ZodString;
604
+ targetStatus: z.ZodNullable<z.ZodNumber>;
605
+ }, z.core.$strict>, z.ZodObject<{
606
+ _tag: z.ZodLiteral<"provider-page">;
607
+ id: z.ZodString;
608
+ url: z.ZodString;
609
+ reason: z.ZodString;
610
+ observedAt: z.ZodNullable<z.ZodString>;
611
+ }, z.core.$strict>, z.ZodObject<{
612
+ _tag: z.ZodLiteral<"page">;
613
+ id: z.ZodString;
614
+ url: z.ZodString;
615
+ detail: z.ZodNullable<z.ZodString>;
616
+ }, z.core.$strict>], "_tag">>;
617
+ readonly nextCursor: z.ZodNullable<z.ZodString>;
618
+ }, z.core.$strip>, z.ZodObject<{
619
+ readonly id: z.ZodString;
620
+ readonly relation: z.ZodString;
621
+ readonly source: z.ZodObject<{
622
+ kind: z.ZodString;
623
+ generationId: z.ZodNullable<z.ZodString>;
624
+ observedAt: z.ZodNullable<z.ZodString>;
625
+ collectedAt: z.ZodString;
626
+ }, z.core.$loose>;
627
+ readonly coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
628
+ _tag: z.ZodLiteral<"complete">;
629
+ knownTotal: z.ZodNumber;
630
+ }, z.core.$loose>, z.ZodObject<{
631
+ _tag: z.ZodLiteral<"partial">;
632
+ reportedTotal: z.ZodNumber;
633
+ knownTotal: z.ZodNumber;
634
+ limitation: z.ZodString;
635
+ }, z.core.$loose>, z.ZodObject<{
636
+ _tag: z.ZodLiteral<"count-only">;
637
+ reportedTotal: z.ZodNumber;
638
+ limitation: z.ZodString;
639
+ }, z.core.$loose>, z.ZodObject<{
640
+ _tag: z.ZodLiteral<"unknown">;
641
+ knownTotal: z.ZodNumber;
642
+ limitation: z.ZodString;
643
+ }, z.core.$loose>, z.ZodObject<{
644
+ _tag: z.ZodLiteral<"unavailable">;
645
+ limitation: z.ZodString;
646
+ }, z.core.$loose>], "_tag">;
647
+ readonly items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
648
+ _tag: z.ZodLiteral<"page-status">;
649
+ id: z.ZodString;
650
+ url: z.ZodString;
651
+ status: z.ZodNumber;
652
+ }, z.core.$loose>, z.ZodObject<{
653
+ _tag: z.ZodLiteral<"link-edge">;
654
+ id: z.ZodString;
655
+ sourceUrl: z.ZodString;
656
+ targetUrl: z.ZodString;
657
+ targetStatus: z.ZodNullable<z.ZodNumber>;
658
+ }, z.core.$loose>, z.ZodObject<{
659
+ _tag: z.ZodLiteral<"provider-page">;
660
+ id: z.ZodString;
661
+ url: z.ZodString;
662
+ reason: z.ZodString;
663
+ observedAt: z.ZodNullable<z.ZodString>;
664
+ }, z.core.$loose>, z.ZodObject<{
665
+ _tag: z.ZodLiteral<"page">;
666
+ id: z.ZodString;
667
+ url: z.ZodString;
668
+ detail: z.ZodNullable<z.ZodString>;
669
+ }, z.core.$loose>], "_tag">>;
670
+ readonly nextCursor: z.ZodNullable<z.ZodString>;
671
+ }, z.core.$strip>>;
672
+ export declare const actionShowDataSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
673
+ readonly id: z.ZodString;
674
+ readonly status: z.ZodString;
675
+ readonly findingType: z.ZodString;
676
+ readonly artifactVersion: z.ZodString;
677
+ readonly assessmentId: z.ZodString;
678
+ readonly asOf: z.ZodString;
679
+ readonly diagnosis: z.ZodString;
680
+ readonly action: z.ZodString;
681
+ readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
682
+ _tag: z.ZodLiteral<"target-healthy">;
683
+ url: z.ZodString;
684
+ }, z.core.$strict>, z.ZodObject<{
685
+ _tag: z.ZodLiteral<"finding-cleared">;
686
+ findingType: z.ZodString;
687
+ }, z.core.$strict>, z.ZodObject<{
688
+ _tag: z.ZodLiteral<"metric">;
689
+ metric: z.ZodString;
690
+ }, z.core.$strict>, z.ZodObject<{
691
+ _tag: z.ZodLiteral<"user-attested">;
692
+ }, z.core.$strict>], "_tag">;
693
+ readonly materiality: z.ZodObject<{
694
+ affectedSubjects: z.ZodNumber;
695
+ internalReferrers: z.ZodNumber;
696
+ }, z.core.$strict>;
697
+ readonly evidenceGroups: z.ZodArray<z.ZodObject<{
698
+ readonly id: z.ZodString;
699
+ readonly relation: z.ZodString;
700
+ readonly source: z.ZodObject<{
701
+ kind: z.ZodString;
702
+ generationId: z.ZodNullable<z.ZodString>;
703
+ observedAt: z.ZodNullable<z.ZodString>;
704
+ collectedAt: z.ZodString;
705
+ }, z.core.$strict>;
706
+ readonly coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
707
+ _tag: z.ZodLiteral<"complete">;
708
+ knownTotal: z.ZodNumber;
709
+ }, z.core.$strict>, z.ZodObject<{
710
+ _tag: z.ZodLiteral<"partial">;
711
+ reportedTotal: z.ZodNumber;
712
+ knownTotal: z.ZodNumber;
713
+ limitation: z.ZodString;
714
+ }, z.core.$strict>, z.ZodObject<{
715
+ _tag: z.ZodLiteral<"count-only">;
716
+ reportedTotal: z.ZodNumber;
717
+ limitation: z.ZodString;
718
+ }, z.core.$strict>, z.ZodObject<{
719
+ _tag: z.ZodLiteral<"unknown">;
720
+ knownTotal: z.ZodNumber;
721
+ limitation: z.ZodString;
722
+ }, z.core.$strict>, z.ZodObject<{
723
+ _tag: z.ZodLiteral<"unavailable">;
724
+ limitation: z.ZodString;
725
+ }, z.core.$strict>], "_tag">;
726
+ readonly items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
727
+ _tag: z.ZodLiteral<"page-status">;
728
+ id: z.ZodString;
729
+ url: z.ZodString;
730
+ status: z.ZodNumber;
731
+ }, z.core.$strict>, z.ZodObject<{
732
+ _tag: z.ZodLiteral<"link-edge">;
733
+ id: z.ZodString;
734
+ sourceUrl: z.ZodString;
735
+ targetUrl: z.ZodString;
736
+ targetStatus: z.ZodNullable<z.ZodNumber>;
737
+ }, z.core.$strict>, z.ZodObject<{
738
+ _tag: z.ZodLiteral<"provider-page">;
739
+ id: z.ZodString;
740
+ url: z.ZodString;
741
+ reason: z.ZodString;
742
+ observedAt: z.ZodNullable<z.ZodString>;
743
+ }, z.core.$strict>, z.ZodObject<{
744
+ _tag: z.ZodLiteral<"page">;
745
+ id: z.ZodString;
746
+ url: z.ZodString;
747
+ detail: z.ZodNullable<z.ZodString>;
748
+ }, z.core.$strict>], "_tag">>;
749
+ readonly nextCursor: z.ZodNullable<z.ZodString>;
750
+ }, z.core.$strip>>;
751
+ }, z.core.$strip>, z.ZodObject<{
752
+ readonly id: z.ZodString;
753
+ readonly status: z.ZodString;
754
+ readonly findingType: z.ZodString;
755
+ readonly artifactVersion: z.ZodString;
756
+ readonly assessmentId: z.ZodString;
757
+ readonly asOf: z.ZodString;
758
+ readonly diagnosis: z.ZodString;
759
+ readonly action: z.ZodString;
760
+ readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
761
+ _tag: z.ZodLiteral<"target-healthy">;
762
+ url: z.ZodString;
763
+ }, z.core.$loose>, z.ZodObject<{
764
+ _tag: z.ZodLiteral<"finding-cleared">;
765
+ findingType: z.ZodString;
766
+ }, z.core.$loose>, z.ZodObject<{
767
+ _tag: z.ZodLiteral<"metric">;
768
+ metric: z.ZodString;
769
+ }, z.core.$loose>, z.ZodObject<{
770
+ _tag: z.ZodLiteral<"user-attested">;
771
+ }, z.core.$loose>], "_tag">;
772
+ readonly materiality: z.ZodObject<{
773
+ affectedSubjects: z.ZodNumber;
774
+ internalReferrers: z.ZodNumber;
775
+ }, z.core.$loose>;
776
+ readonly evidenceGroups: z.ZodArray<z.ZodObject<{
777
+ readonly id: z.ZodString;
778
+ readonly relation: z.ZodString;
779
+ readonly source: z.ZodObject<{
780
+ kind: z.ZodString;
781
+ generationId: z.ZodNullable<z.ZodString>;
782
+ observedAt: z.ZodNullable<z.ZodString>;
783
+ collectedAt: z.ZodString;
784
+ }, z.core.$loose>;
785
+ readonly coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
786
+ _tag: z.ZodLiteral<"complete">;
787
+ knownTotal: z.ZodNumber;
788
+ }, z.core.$loose>, z.ZodObject<{
789
+ _tag: z.ZodLiteral<"partial">;
790
+ reportedTotal: z.ZodNumber;
791
+ knownTotal: z.ZodNumber;
792
+ limitation: z.ZodString;
793
+ }, z.core.$loose>, z.ZodObject<{
794
+ _tag: z.ZodLiteral<"count-only">;
795
+ reportedTotal: z.ZodNumber;
796
+ limitation: z.ZodString;
797
+ }, z.core.$loose>, z.ZodObject<{
798
+ _tag: z.ZodLiteral<"unknown">;
799
+ knownTotal: z.ZodNumber;
800
+ limitation: z.ZodString;
801
+ }, z.core.$loose>, z.ZodObject<{
802
+ _tag: z.ZodLiteral<"unavailable">;
803
+ limitation: z.ZodString;
804
+ }, z.core.$loose>], "_tag">;
805
+ readonly items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
806
+ _tag: z.ZodLiteral<"page-status">;
807
+ id: z.ZodString;
808
+ url: z.ZodString;
809
+ status: z.ZodNumber;
810
+ }, z.core.$loose>, z.ZodObject<{
811
+ _tag: z.ZodLiteral<"link-edge">;
812
+ id: z.ZodString;
813
+ sourceUrl: z.ZodString;
814
+ targetUrl: z.ZodString;
815
+ targetStatus: z.ZodNullable<z.ZodNumber>;
816
+ }, z.core.$loose>, z.ZodObject<{
817
+ _tag: z.ZodLiteral<"provider-page">;
818
+ id: z.ZodString;
819
+ url: z.ZodString;
820
+ reason: z.ZodString;
821
+ observedAt: z.ZodNullable<z.ZodString>;
822
+ }, z.core.$loose>, z.ZodObject<{
823
+ _tag: z.ZodLiteral<"page">;
824
+ id: z.ZodString;
825
+ url: z.ZodString;
826
+ detail: z.ZodNullable<z.ZodString>;
827
+ }, z.core.$loose>], "_tag">>;
828
+ readonly nextCursor: z.ZodNullable<z.ZodString>;
829
+ }, z.core.$strip>>;
830
+ }, z.core.$strip>>;
831
+ export declare const actionShowResponseSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
832
+ data: z.ZodObject<{
833
+ readonly id: z.ZodString;
834
+ readonly status: z.ZodString;
835
+ readonly findingType: z.ZodString;
836
+ readonly artifactVersion: z.ZodString;
837
+ readonly assessmentId: z.ZodString;
838
+ readonly asOf: z.ZodString;
839
+ readonly diagnosis: z.ZodString;
840
+ readonly action: z.ZodString;
841
+ readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
842
+ _tag: z.ZodLiteral<"target-healthy">;
843
+ url: z.ZodString;
844
+ }, z.core.$strict>, z.ZodObject<{
845
+ _tag: z.ZodLiteral<"finding-cleared">;
846
+ findingType: z.ZodString;
847
+ }, z.core.$strict>, z.ZodObject<{
848
+ _tag: z.ZodLiteral<"metric">;
849
+ metric: z.ZodString;
850
+ }, z.core.$strict>, z.ZodObject<{
851
+ _tag: z.ZodLiteral<"user-attested">;
852
+ }, z.core.$strict>], "_tag">;
853
+ readonly materiality: z.ZodObject<{
854
+ affectedSubjects: z.ZodNumber;
855
+ internalReferrers: z.ZodNumber;
856
+ }, z.core.$strict>;
857
+ readonly evidenceGroups: z.ZodArray<z.ZodObject<{
858
+ readonly id: z.ZodString;
859
+ readonly relation: z.ZodString;
860
+ readonly source: z.ZodObject<{
861
+ kind: z.ZodString;
862
+ generationId: z.ZodNullable<z.ZodString>;
863
+ observedAt: z.ZodNullable<z.ZodString>;
864
+ collectedAt: z.ZodString;
865
+ }, z.core.$strict>;
866
+ readonly coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
867
+ _tag: z.ZodLiteral<"complete">;
868
+ knownTotal: z.ZodNumber;
869
+ }, z.core.$strict>, z.ZodObject<{
870
+ _tag: z.ZodLiteral<"partial">;
871
+ reportedTotal: z.ZodNumber;
872
+ knownTotal: z.ZodNumber;
873
+ limitation: z.ZodString;
874
+ }, z.core.$strict>, z.ZodObject<{
875
+ _tag: z.ZodLiteral<"count-only">;
876
+ reportedTotal: z.ZodNumber;
877
+ limitation: z.ZodString;
878
+ }, z.core.$strict>, z.ZodObject<{
879
+ _tag: z.ZodLiteral<"unknown">;
880
+ knownTotal: z.ZodNumber;
881
+ limitation: z.ZodString;
882
+ }, z.core.$strict>, z.ZodObject<{
883
+ _tag: z.ZodLiteral<"unavailable">;
884
+ limitation: z.ZodString;
885
+ }, z.core.$strict>], "_tag">;
886
+ readonly items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
887
+ _tag: z.ZodLiteral<"page-status">;
888
+ id: z.ZodString;
889
+ url: z.ZodString;
890
+ status: z.ZodNumber;
891
+ }, z.core.$strict>, z.ZodObject<{
892
+ _tag: z.ZodLiteral<"link-edge">;
893
+ id: z.ZodString;
894
+ sourceUrl: z.ZodString;
895
+ targetUrl: z.ZodString;
896
+ targetStatus: z.ZodNullable<z.ZodNumber>;
897
+ }, z.core.$strict>, z.ZodObject<{
898
+ _tag: z.ZodLiteral<"provider-page">;
899
+ id: z.ZodString;
900
+ url: z.ZodString;
901
+ reason: z.ZodString;
902
+ observedAt: z.ZodNullable<z.ZodString>;
903
+ }, z.core.$strict>, z.ZodObject<{
904
+ _tag: z.ZodLiteral<"page">;
905
+ id: z.ZodString;
906
+ url: z.ZodString;
907
+ detail: z.ZodNullable<z.ZodString>;
908
+ }, z.core.$strict>], "_tag">>;
909
+ readonly nextCursor: z.ZodNullable<z.ZodString>;
910
+ }, z.core.$strip>>;
911
+ }, z.core.$strip>;
912
+ meta: z.ZodObject<{
913
+ requestId: z.ZodString;
914
+ version: z.ZodLiteral<"1.0">;
915
+ }, z.core.$strict>;
916
+ }, z.core.$strip>, z.ZodObject<{
917
+ data: z.ZodObject<{
918
+ readonly id: z.ZodString;
919
+ readonly status: z.ZodString;
920
+ readonly findingType: z.ZodString;
921
+ readonly artifactVersion: z.ZodString;
922
+ readonly assessmentId: z.ZodString;
923
+ readonly asOf: z.ZodString;
924
+ readonly diagnosis: z.ZodString;
925
+ readonly action: z.ZodString;
926
+ readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
927
+ _tag: z.ZodLiteral<"target-healthy">;
928
+ url: z.ZodString;
929
+ }, z.core.$loose>, z.ZodObject<{
930
+ _tag: z.ZodLiteral<"finding-cleared">;
931
+ findingType: z.ZodString;
932
+ }, z.core.$loose>, z.ZodObject<{
933
+ _tag: z.ZodLiteral<"metric">;
934
+ metric: z.ZodString;
935
+ }, z.core.$loose>, z.ZodObject<{
936
+ _tag: z.ZodLiteral<"user-attested">;
937
+ }, z.core.$loose>], "_tag">;
938
+ readonly materiality: z.ZodObject<{
939
+ affectedSubjects: z.ZodNumber;
940
+ internalReferrers: z.ZodNumber;
941
+ }, z.core.$loose>;
942
+ readonly evidenceGroups: z.ZodArray<z.ZodObject<{
943
+ readonly id: z.ZodString;
944
+ readonly relation: z.ZodString;
945
+ readonly source: z.ZodObject<{
946
+ kind: z.ZodString;
947
+ generationId: z.ZodNullable<z.ZodString>;
948
+ observedAt: z.ZodNullable<z.ZodString>;
949
+ collectedAt: z.ZodString;
950
+ }, z.core.$loose>;
951
+ readonly coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
952
+ _tag: z.ZodLiteral<"complete">;
953
+ knownTotal: z.ZodNumber;
954
+ }, z.core.$loose>, z.ZodObject<{
955
+ _tag: z.ZodLiteral<"partial">;
956
+ reportedTotal: z.ZodNumber;
957
+ knownTotal: z.ZodNumber;
958
+ limitation: z.ZodString;
959
+ }, z.core.$loose>, z.ZodObject<{
960
+ _tag: z.ZodLiteral<"count-only">;
961
+ reportedTotal: z.ZodNumber;
962
+ limitation: z.ZodString;
963
+ }, z.core.$loose>, z.ZodObject<{
964
+ _tag: z.ZodLiteral<"unknown">;
965
+ knownTotal: z.ZodNumber;
966
+ limitation: z.ZodString;
967
+ }, z.core.$loose>, z.ZodObject<{
968
+ _tag: z.ZodLiteral<"unavailable">;
969
+ limitation: z.ZodString;
970
+ }, z.core.$loose>], "_tag">;
971
+ readonly items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
972
+ _tag: z.ZodLiteral<"page-status">;
973
+ id: z.ZodString;
974
+ url: z.ZodString;
975
+ status: z.ZodNumber;
976
+ }, z.core.$loose>, z.ZodObject<{
977
+ _tag: z.ZodLiteral<"link-edge">;
978
+ id: z.ZodString;
979
+ sourceUrl: z.ZodString;
980
+ targetUrl: z.ZodString;
981
+ targetStatus: z.ZodNullable<z.ZodNumber>;
982
+ }, z.core.$loose>, z.ZodObject<{
983
+ _tag: z.ZodLiteral<"provider-page">;
984
+ id: z.ZodString;
985
+ url: z.ZodString;
986
+ reason: z.ZodString;
987
+ observedAt: z.ZodNullable<z.ZodString>;
988
+ }, z.core.$loose>, z.ZodObject<{
989
+ _tag: z.ZodLiteral<"page">;
990
+ id: z.ZodString;
991
+ url: z.ZodString;
992
+ detail: z.ZodNullable<z.ZodString>;
993
+ }, z.core.$loose>], "_tag">>;
994
+ readonly nextCursor: z.ZodNullable<z.ZodString>;
995
+ }, z.core.$strip>>;
996
+ }, z.core.$strip>;
997
+ meta: z.ZodObject<{
998
+ requestId: z.ZodString;
999
+ version: z.ZodLiteral<"1.0">;
1000
+ }, z.core.$loose>;
1001
+ }, z.core.$strip>>;
1002
+ export declare const actionResolveDataSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1003
+ readonly actionId: z.ZodString;
1004
+ readonly status: z.ZodString;
1005
+ readonly verification: z.ZodEnum<{
1006
+ "metric-watch": "metric-watch";
1007
+ "next-assessment": "next-assessment";
1008
+ "recheck-queued": "recheck-queued";
1009
+ "scan-queued": "scan-queued";
1010
+ "user-resolved": "user-resolved";
1011
+ }>;
1012
+ }, z.core.$strip>, z.ZodObject<{
1013
+ readonly actionId: z.ZodString;
1014
+ readonly status: z.ZodString;
1015
+ readonly verification: z.ZodEnum<{
1016
+ "metric-watch": "metric-watch";
1017
+ "next-assessment": "next-assessment";
1018
+ "recheck-queued": "recheck-queued";
1019
+ "scan-queued": "scan-queued";
1020
+ "user-resolved": "user-resolved";
1021
+ }>;
1022
+ }, z.core.$strip>>;
1023
+ export declare const actionResolveResponseSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1024
+ data: z.ZodObject<{
1025
+ readonly actionId: z.ZodString;
1026
+ readonly status: z.ZodString;
1027
+ readonly verification: z.ZodEnum<{
1028
+ "metric-watch": "metric-watch";
1029
+ "next-assessment": "next-assessment";
1030
+ "recheck-queued": "recheck-queued";
1031
+ "scan-queued": "scan-queued";
1032
+ "user-resolved": "user-resolved";
1033
+ }>;
1034
+ }, z.core.$strip>;
1035
+ meta: z.ZodObject<{
1036
+ requestId: z.ZodString;
1037
+ version: z.ZodLiteral<"1.0">;
1038
+ }, z.core.$strict>;
1039
+ }, z.core.$strip>, z.ZodObject<{
1040
+ data: z.ZodObject<{
1041
+ readonly actionId: z.ZodString;
1042
+ readonly status: z.ZodString;
1043
+ readonly verification: z.ZodEnum<{
1044
+ "metric-watch": "metric-watch";
1045
+ "next-assessment": "next-assessment";
1046
+ "recheck-queued": "recheck-queued";
1047
+ "scan-queued": "scan-queued";
1048
+ "user-resolved": "user-resolved";
1049
+ }>;
1050
+ }, z.core.$strip>;
1051
+ meta: z.ZodObject<{
1052
+ requestId: z.ZodString;
1053
+ version: z.ZodLiteral<"1.0">;
1054
+ }, z.core.$loose>;
1055
+ }, z.core.$strip>>;
1056
+ export type ActionListQuery = z.input<typeof actionListQuerySchema>;
1057
+ export type ActionList = z.output<typeof actionListDataSchema.client>;
1058
+ export type ActionShowQuery = z.input<typeof actionShowQuerySchema>;
1059
+ export type ActionShow = z.output<typeof actionShowDataSchema.client>;
1060
+ export type ActionResolveBody = z.input<typeof actionResolveBodySchema>;
1061
+ export type ActionResolve = z.output<typeof actionResolveDataSchema.client>;
1062
+ export declare const actionListOperation: {
1063
+ readonly id: 'actions.list';
1064
+ readonly method: 'GET';
1065
+ readonly path: '/api/v1/sites/{siteId}/actions';
1066
+ readonly visibility: 'public';
1067
+ readonly semantics: {
1068
+ readonly kind: 'query';
1069
+ readonly sideEffects: 'none';
1070
+ readonly retry: 'idempotent';
1071
+ readonly readConsistency: 'primary';
1072
+ };
1073
+ readonly auth: {
1074
+ readonly credentials: readonly ['session', 'api_token'];
1075
+ readonly scopes: readonly ['actions:read'];
1076
+ readonly minimumRole: 'viewer';
1077
+ readonly ownership: 'site';
1078
+ };
1079
+ readonly request: {
1080
+ readonly params: z.ZodObject<{
1081
+ siteId: z.ZodString;
1082
+ }, z.core.$strict>;
1083
+ readonly query: z.ZodObject<{
1084
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1085
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1086
+ }, z.core.$strict>;
1087
+ readonly headers: null;
1088
+ readonly body: null;
1089
+ };
1090
+ readonly responses: {
1091
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1092
+ data: z.ZodObject<{
1093
+ readonly actions: z.ZodArray<z.ZodObject<{
1094
+ readonly id: z.ZodString;
1095
+ readonly status: z.ZodString;
1096
+ readonly diagnosis: z.ZodString;
1097
+ readonly subject: z.ZodNullable<z.ZodObject<{
1098
+ readonly kind: z.ZodString;
1099
+ readonly label: z.ZodString;
1100
+ readonly url: z.ZodOptional<z.ZodString>;
1101
+ }, z.core.$strip>>;
1102
+ readonly source: z.ZodNullable<z.ZodObject<{
1103
+ readonly label: z.ZodString;
1104
+ readonly url: z.ZodString;
1105
+ }, z.core.$strip>>;
1106
+ readonly authoredBy: z.ZodEnum<{
1107
+ agent: "agent";
1108
+ detector: "detector";
1109
+ }>;
1110
+ readonly findingType: z.ZodString;
1111
+ readonly workLocation: z.ZodEnum<{
1112
+ code: "code";
1113
+ infra: "infra";
1114
+ "off-site": "off-site";
1115
+ }>;
1116
+ readonly effort: z.ZodEnum<{
1117
+ L: "L";
1118
+ M: "M";
1119
+ S: "S";
1120
+ }>;
1121
+ readonly affectedPages: z.ZodNullable<z.ZodNumber>;
1122
+ readonly evidence: z.ZodObject<{
1123
+ readonly artifactVersion: z.ZodNullable<z.ZodString>;
1124
+ readonly coverage: z.ZodEnum<{
1125
+ complete: "complete";
1126
+ "count-only": "count-only";
1127
+ partial: "partial";
1128
+ unavailable: "unavailable";
1129
+ unknown: "unknown";
1130
+ }>;
1131
+ readonly primaryKnownTotal: z.ZodNullable<z.ZodNumber>;
1132
+ readonly knownTotal: z.ZodNumber;
1133
+ readonly reportedTotal: z.ZodNullable<z.ZodNumber>;
1134
+ readonly groupCount: z.ZodNumber;
1135
+ readonly observedAt: z.ZodNullable<z.ZodString>;
1136
+ readonly asOf: z.ZodNullable<z.ZodString>;
1137
+ }, z.core.$strip>;
1138
+ readonly firstSeenAt: z.ZodNullable<z.ZodString>;
1139
+ readonly relatedActionIds: z.ZodArray<z.ZodString>;
1140
+ readonly resolution: z.ZodNullable<z.ZodObject<{
1141
+ artifactVersion: z.ZodString;
1142
+ evidenceScope: z.ZodEnum<{
1143
+ complete: "complete";
1144
+ "count-only": "count-only";
1145
+ partial: "partial";
1146
+ unknown: "unknown";
1147
+ }>;
1148
+ }, z.core.$strict>>;
1149
+ }, z.core.$strip>>;
1150
+ readonly page: z.ZodObject<{
1151
+ total: z.ZodNumber;
1152
+ limit: z.ZodNumber;
1153
+ offset: z.ZodNumber;
1154
+ hasMore: z.ZodBoolean;
1155
+ }, z.core.$strict>;
1156
+ readonly listedAsOf: z.ZodString;
1157
+ }, z.core.$strip>;
1158
+ meta: z.ZodObject<{
1159
+ requestId: z.ZodString;
1160
+ version: z.ZodLiteral<"1.0">;
1161
+ }, z.core.$strict>;
1162
+ }, z.core.$strip>, z.ZodObject<{
1163
+ data: z.ZodObject<{
1164
+ readonly actions: z.ZodArray<z.ZodObject<{
1165
+ readonly id: z.ZodString;
1166
+ readonly status: z.ZodString;
1167
+ readonly diagnosis: z.ZodString;
1168
+ readonly subject: z.ZodNullable<z.ZodObject<{
1169
+ readonly kind: z.ZodString;
1170
+ readonly label: z.ZodString;
1171
+ readonly url: z.ZodOptional<z.ZodString>;
1172
+ }, z.core.$strip>>;
1173
+ readonly source: z.ZodNullable<z.ZodObject<{
1174
+ readonly label: z.ZodString;
1175
+ readonly url: z.ZodString;
1176
+ }, z.core.$strip>>;
1177
+ readonly authoredBy: z.ZodEnum<{
1178
+ agent: "agent";
1179
+ detector: "detector";
1180
+ }>;
1181
+ readonly findingType: z.ZodString;
1182
+ readonly workLocation: z.ZodEnum<{
1183
+ code: "code";
1184
+ infra: "infra";
1185
+ "off-site": "off-site";
1186
+ }>;
1187
+ readonly effort: z.ZodEnum<{
1188
+ L: "L";
1189
+ M: "M";
1190
+ S: "S";
1191
+ }>;
1192
+ readonly affectedPages: z.ZodNullable<z.ZodNumber>;
1193
+ readonly evidence: z.ZodObject<{
1194
+ readonly artifactVersion: z.ZodNullable<z.ZodString>;
1195
+ readonly coverage: z.ZodEnum<{
1196
+ complete: "complete";
1197
+ "count-only": "count-only";
1198
+ partial: "partial";
1199
+ unavailable: "unavailable";
1200
+ unknown: "unknown";
1201
+ }>;
1202
+ readonly primaryKnownTotal: z.ZodNullable<z.ZodNumber>;
1203
+ readonly knownTotal: z.ZodNumber;
1204
+ readonly reportedTotal: z.ZodNullable<z.ZodNumber>;
1205
+ readonly groupCount: z.ZodNumber;
1206
+ readonly observedAt: z.ZodNullable<z.ZodString>;
1207
+ readonly asOf: z.ZodNullable<z.ZodString>;
1208
+ }, z.core.$strip>;
1209
+ readonly firstSeenAt: z.ZodNullable<z.ZodString>;
1210
+ readonly relatedActionIds: z.ZodArray<z.ZodString>;
1211
+ readonly resolution: z.ZodNullable<z.ZodObject<{
1212
+ artifactVersion: z.ZodString;
1213
+ evidenceScope: z.ZodEnum<{
1214
+ complete: "complete";
1215
+ "count-only": "count-only";
1216
+ partial: "partial";
1217
+ unknown: "unknown";
1218
+ }>;
1219
+ }, z.core.$loose>>;
1220
+ }, z.core.$strip>>;
1221
+ readonly page: z.ZodObject<{
1222
+ total: z.ZodNumber;
1223
+ limit: z.ZodNumber;
1224
+ offset: z.ZodNumber;
1225
+ hasMore: z.ZodBoolean;
1226
+ }, z.core.$loose>;
1227
+ readonly listedAsOf: z.ZodString;
1228
+ }, z.core.$strip>;
1229
+ meta: z.ZodObject<{
1230
+ requestId: z.ZodString;
1231
+ version: z.ZodLiteral<"1.0">;
1232
+ }, z.core.$loose>;
1233
+ }, z.core.$strip>>;
1234
+ };
1235
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "entitlement_required", "not_found", "conflict", "stale_evidence", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
1236
+ readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1237
+ readonly error: z.ZodObject<{
1238
+ code: z.ZodEnum<{
1239
+ auth_expired: "auth_expired";
1240
+ conflict: "conflict";
1241
+ contract_violation: "contract_violation";
1242
+ entitlement_required: "entitlement_required";
1243
+ forbidden: "forbidden";
1244
+ internal_error: "internal_error";
1245
+ invalid_request: "invalid_request";
1246
+ not_found: "not_found";
1247
+ provider_unavailable: "provider_unavailable";
1248
+ quota_exhausted: "quota_exhausted";
1249
+ rate_limited: "rate_limited";
1250
+ site_ambiguous: "site_ambiguous";
1251
+ stale_evidence: "stale_evidence";
1252
+ unauthorized: "unauthorized";
1253
+ }>;
1254
+ message: z.ZodString;
1255
+ requestId: z.ZodString;
1256
+ retryable: z.ZodBoolean;
1257
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1258
+ }, z.core.$strict>;
1259
+ }, z.core.$strip>, z.ZodObject<{
1260
+ readonly error: z.ZodObject<{
1261
+ code: z.ZodEnum<{
1262
+ auth_expired: "auth_expired";
1263
+ conflict: "conflict";
1264
+ contract_violation: "contract_violation";
1265
+ entitlement_required: "entitlement_required";
1266
+ forbidden: "forbidden";
1267
+ internal_error: "internal_error";
1268
+ invalid_request: "invalid_request";
1269
+ not_found: "not_found";
1270
+ provider_unavailable: "provider_unavailable";
1271
+ quota_exhausted: "quota_exhausted";
1272
+ rate_limited: "rate_limited";
1273
+ site_ambiguous: "site_ambiguous";
1274
+ stale_evidence: "stale_evidence";
1275
+ unauthorized: "unauthorized";
1276
+ }>;
1277
+ message: z.ZodString;
1278
+ requestId: z.ZodString;
1279
+ retryable: z.ZodBoolean;
1280
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1281
+ }, z.core.$loose>;
1282
+ }, z.core.$strip>>;
1283
+ readonly resources: {
1284
+ readonly reads: readonly [{
1285
+ readonly type: 'site.actions';
1286
+ readonly idFrom: 'params.siteId';
1287
+ }];
1288
+ readonly changes: readonly [];
1289
+ };
1290
+ readonly policy: {
1291
+ readonly rate: {
1292
+ readonly name: 'public-v1-fixed-window';
1293
+ readonly limit: 50;
1294
+ readonly windowSeconds: 60;
1295
+ };
1296
+ readonly idempotency: {
1297
+ readonly _tag: 'none';
1298
+ };
1299
+ readonly entitlement: null;
1300
+ readonly meter: null;
1301
+ };
1302
+ readonly lifecycle: {
1303
+ readonly introduced: '1.0.0';
1304
+ };
1305
+ readonly docs: {
1306
+ readonly summary: 'List next actions';
1307
+ readonly description: 'Returns the ranked open work for one site with stable evidence and resolution handles. Advisory movement signals remain separate from actionable work.';
1308
+ readonly tags: readonly ["Actions"];
1309
+ readonly examples: readonly [{
1310
+ readonly request: {
1311
+ readonly params: {
1312
+ readonly siteId: 'site_01JXYZ';
1313
+ };
1314
+ readonly query: {
1315
+ readonly limit: 10;
1316
+ readonly offset: 0;
1317
+ };
1318
+ };
1319
+ readonly response: {
1320
+ readonly status: 200;
1321
+ readonly body: {
1322
+ readonly data: {
1323
+ readonly actions: readonly [];
1324
+ readonly page: {
1325
+ readonly total: 0;
1326
+ readonly limit: 0;
1327
+ readonly offset: 0;
1328
+ readonly hasMore: false;
1329
+ };
1330
+ readonly listedAsOf: '2026-08-10T01:30:00.000Z';
1331
+ };
1332
+ readonly meta: {
1333
+ readonly requestId: 'req_01JXYZ';
1334
+ readonly version: '1.0';
1335
+ };
1336
+ };
1337
+ };
1338
+ }];
1339
+ };
1340
+ };
1341
+ export declare const actionShowOperation: {
1342
+ readonly id: 'actions.show';
1343
+ readonly method: 'GET';
1344
+ readonly path: '/api/v1/sites/{siteId}/actions/{actionId}';
1345
+ readonly visibility: 'public';
1346
+ readonly semantics: {
1347
+ readonly kind: 'query';
1348
+ readonly sideEffects: 'none';
1349
+ readonly retry: 'idempotent';
1350
+ readonly readConsistency: 'primary';
1351
+ };
1352
+ readonly auth: {
1353
+ readonly credentials: readonly ['session', 'api_token'];
1354
+ readonly scopes: readonly ['actions:read'];
1355
+ readonly minimumRole: 'viewer';
1356
+ readonly ownership: 'site';
1357
+ };
1358
+ readonly request: {
1359
+ readonly params: z.ZodObject<{
1360
+ siteId: z.ZodString;
1361
+ actionId: z.ZodString;
1362
+ }, z.core.$strict>;
1363
+ readonly query: z.ZodObject<{
1364
+ groupId: z.ZodOptional<z.ZodString>;
1365
+ cursor: z.ZodOptional<z.ZodString>;
1366
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1367
+ }, z.core.$strict>;
1368
+ readonly headers: null;
1369
+ readonly body: null;
1370
+ };
1371
+ readonly responses: {
1372
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1373
+ data: z.ZodObject<{
1374
+ readonly id: z.ZodString;
1375
+ readonly status: z.ZodString;
1376
+ readonly findingType: z.ZodString;
1377
+ readonly artifactVersion: z.ZodString;
1378
+ readonly assessmentId: z.ZodString;
1379
+ readonly asOf: z.ZodString;
1380
+ readonly diagnosis: z.ZodString;
1381
+ readonly action: z.ZodString;
1382
+ readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
1383
+ _tag: z.ZodLiteral<"target-healthy">;
1384
+ url: z.ZodString;
1385
+ }, z.core.$strict>, z.ZodObject<{
1386
+ _tag: z.ZodLiteral<"finding-cleared">;
1387
+ findingType: z.ZodString;
1388
+ }, z.core.$strict>, z.ZodObject<{
1389
+ _tag: z.ZodLiteral<"metric">;
1390
+ metric: z.ZodString;
1391
+ }, z.core.$strict>, z.ZodObject<{
1392
+ _tag: z.ZodLiteral<"user-attested">;
1393
+ }, z.core.$strict>], "_tag">;
1394
+ readonly materiality: z.ZodObject<{
1395
+ affectedSubjects: z.ZodNumber;
1396
+ internalReferrers: z.ZodNumber;
1397
+ }, z.core.$strict>;
1398
+ readonly evidenceGroups: z.ZodArray<z.ZodObject<{
1399
+ readonly id: z.ZodString;
1400
+ readonly relation: z.ZodString;
1401
+ readonly source: z.ZodObject<{
1402
+ kind: z.ZodString;
1403
+ generationId: z.ZodNullable<z.ZodString>;
1404
+ observedAt: z.ZodNullable<z.ZodString>;
1405
+ collectedAt: z.ZodString;
1406
+ }, z.core.$strict>;
1407
+ readonly coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
1408
+ _tag: z.ZodLiteral<"complete">;
1409
+ knownTotal: z.ZodNumber;
1410
+ }, z.core.$strict>, z.ZodObject<{
1411
+ _tag: z.ZodLiteral<"partial">;
1412
+ reportedTotal: z.ZodNumber;
1413
+ knownTotal: z.ZodNumber;
1414
+ limitation: z.ZodString;
1415
+ }, z.core.$strict>, z.ZodObject<{
1416
+ _tag: z.ZodLiteral<"count-only">;
1417
+ reportedTotal: z.ZodNumber;
1418
+ limitation: z.ZodString;
1419
+ }, z.core.$strict>, z.ZodObject<{
1420
+ _tag: z.ZodLiteral<"unknown">;
1421
+ knownTotal: z.ZodNumber;
1422
+ limitation: z.ZodString;
1423
+ }, z.core.$strict>, z.ZodObject<{
1424
+ _tag: z.ZodLiteral<"unavailable">;
1425
+ limitation: z.ZodString;
1426
+ }, z.core.$strict>], "_tag">;
1427
+ readonly items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1428
+ _tag: z.ZodLiteral<"page-status">;
1429
+ id: z.ZodString;
1430
+ url: z.ZodString;
1431
+ status: z.ZodNumber;
1432
+ }, z.core.$strict>, z.ZodObject<{
1433
+ _tag: z.ZodLiteral<"link-edge">;
1434
+ id: z.ZodString;
1435
+ sourceUrl: z.ZodString;
1436
+ targetUrl: z.ZodString;
1437
+ targetStatus: z.ZodNullable<z.ZodNumber>;
1438
+ }, z.core.$strict>, z.ZodObject<{
1439
+ _tag: z.ZodLiteral<"provider-page">;
1440
+ id: z.ZodString;
1441
+ url: z.ZodString;
1442
+ reason: z.ZodString;
1443
+ observedAt: z.ZodNullable<z.ZodString>;
1444
+ }, z.core.$strict>, z.ZodObject<{
1445
+ _tag: z.ZodLiteral<"page">;
1446
+ id: z.ZodString;
1447
+ url: z.ZodString;
1448
+ detail: z.ZodNullable<z.ZodString>;
1449
+ }, z.core.$strict>], "_tag">>;
1450
+ readonly nextCursor: z.ZodNullable<z.ZodString>;
1451
+ }, z.core.$strip>>;
1452
+ }, z.core.$strip>;
1453
+ meta: z.ZodObject<{
1454
+ requestId: z.ZodString;
1455
+ version: z.ZodLiteral<"1.0">;
1456
+ }, z.core.$strict>;
1457
+ }, z.core.$strip>, z.ZodObject<{
1458
+ data: z.ZodObject<{
1459
+ readonly id: z.ZodString;
1460
+ readonly status: z.ZodString;
1461
+ readonly findingType: z.ZodString;
1462
+ readonly artifactVersion: z.ZodString;
1463
+ readonly assessmentId: z.ZodString;
1464
+ readonly asOf: z.ZodString;
1465
+ readonly diagnosis: z.ZodString;
1466
+ readonly action: z.ZodString;
1467
+ readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
1468
+ _tag: z.ZodLiteral<"target-healthy">;
1469
+ url: z.ZodString;
1470
+ }, z.core.$loose>, z.ZodObject<{
1471
+ _tag: z.ZodLiteral<"finding-cleared">;
1472
+ findingType: z.ZodString;
1473
+ }, z.core.$loose>, z.ZodObject<{
1474
+ _tag: z.ZodLiteral<"metric">;
1475
+ metric: z.ZodString;
1476
+ }, z.core.$loose>, z.ZodObject<{
1477
+ _tag: z.ZodLiteral<"user-attested">;
1478
+ }, z.core.$loose>], "_tag">;
1479
+ readonly materiality: z.ZodObject<{
1480
+ affectedSubjects: z.ZodNumber;
1481
+ internalReferrers: z.ZodNumber;
1482
+ }, z.core.$loose>;
1483
+ readonly evidenceGroups: z.ZodArray<z.ZodObject<{
1484
+ readonly id: z.ZodString;
1485
+ readonly relation: z.ZodString;
1486
+ readonly source: z.ZodObject<{
1487
+ kind: z.ZodString;
1488
+ generationId: z.ZodNullable<z.ZodString>;
1489
+ observedAt: z.ZodNullable<z.ZodString>;
1490
+ collectedAt: z.ZodString;
1491
+ }, z.core.$loose>;
1492
+ readonly coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
1493
+ _tag: z.ZodLiteral<"complete">;
1494
+ knownTotal: z.ZodNumber;
1495
+ }, z.core.$loose>, z.ZodObject<{
1496
+ _tag: z.ZodLiteral<"partial">;
1497
+ reportedTotal: z.ZodNumber;
1498
+ knownTotal: z.ZodNumber;
1499
+ limitation: z.ZodString;
1500
+ }, z.core.$loose>, z.ZodObject<{
1501
+ _tag: z.ZodLiteral<"count-only">;
1502
+ reportedTotal: z.ZodNumber;
1503
+ limitation: z.ZodString;
1504
+ }, z.core.$loose>, z.ZodObject<{
1505
+ _tag: z.ZodLiteral<"unknown">;
1506
+ knownTotal: z.ZodNumber;
1507
+ limitation: z.ZodString;
1508
+ }, z.core.$loose>, z.ZodObject<{
1509
+ _tag: z.ZodLiteral<"unavailable">;
1510
+ limitation: z.ZodString;
1511
+ }, z.core.$loose>], "_tag">;
1512
+ readonly items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1513
+ _tag: z.ZodLiteral<"page-status">;
1514
+ id: z.ZodString;
1515
+ url: z.ZodString;
1516
+ status: z.ZodNumber;
1517
+ }, z.core.$loose>, z.ZodObject<{
1518
+ _tag: z.ZodLiteral<"link-edge">;
1519
+ id: z.ZodString;
1520
+ sourceUrl: z.ZodString;
1521
+ targetUrl: z.ZodString;
1522
+ targetStatus: z.ZodNullable<z.ZodNumber>;
1523
+ }, z.core.$loose>, z.ZodObject<{
1524
+ _tag: z.ZodLiteral<"provider-page">;
1525
+ id: z.ZodString;
1526
+ url: z.ZodString;
1527
+ reason: z.ZodString;
1528
+ observedAt: z.ZodNullable<z.ZodString>;
1529
+ }, z.core.$loose>, z.ZodObject<{
1530
+ _tag: z.ZodLiteral<"page">;
1531
+ id: z.ZodString;
1532
+ url: z.ZodString;
1533
+ detail: z.ZodNullable<z.ZodString>;
1534
+ }, z.core.$loose>], "_tag">>;
1535
+ readonly nextCursor: z.ZodNullable<z.ZodString>;
1536
+ }, z.core.$strip>>;
1537
+ }, z.core.$strip>;
1538
+ meta: z.ZodObject<{
1539
+ requestId: z.ZodString;
1540
+ version: z.ZodLiteral<"1.0">;
1541
+ }, z.core.$loose>;
1542
+ }, z.core.$strip>>;
1543
+ };
1544
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "entitlement_required", "not_found", "conflict", "stale_evidence", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
1545
+ readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1546
+ readonly error: z.ZodObject<{
1547
+ code: z.ZodEnum<{
1548
+ auth_expired: "auth_expired";
1549
+ conflict: "conflict";
1550
+ contract_violation: "contract_violation";
1551
+ entitlement_required: "entitlement_required";
1552
+ forbidden: "forbidden";
1553
+ internal_error: "internal_error";
1554
+ invalid_request: "invalid_request";
1555
+ not_found: "not_found";
1556
+ provider_unavailable: "provider_unavailable";
1557
+ quota_exhausted: "quota_exhausted";
1558
+ rate_limited: "rate_limited";
1559
+ site_ambiguous: "site_ambiguous";
1560
+ stale_evidence: "stale_evidence";
1561
+ unauthorized: "unauthorized";
1562
+ }>;
1563
+ message: z.ZodString;
1564
+ requestId: z.ZodString;
1565
+ retryable: z.ZodBoolean;
1566
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1567
+ }, z.core.$strict>;
1568
+ }, z.core.$strip>, z.ZodObject<{
1569
+ readonly error: z.ZodObject<{
1570
+ code: z.ZodEnum<{
1571
+ auth_expired: "auth_expired";
1572
+ conflict: "conflict";
1573
+ contract_violation: "contract_violation";
1574
+ entitlement_required: "entitlement_required";
1575
+ forbidden: "forbidden";
1576
+ internal_error: "internal_error";
1577
+ invalid_request: "invalid_request";
1578
+ not_found: "not_found";
1579
+ provider_unavailable: "provider_unavailable";
1580
+ quota_exhausted: "quota_exhausted";
1581
+ rate_limited: "rate_limited";
1582
+ site_ambiguous: "site_ambiguous";
1583
+ stale_evidence: "stale_evidence";
1584
+ unauthorized: "unauthorized";
1585
+ }>;
1586
+ message: z.ZodString;
1587
+ requestId: z.ZodString;
1588
+ retryable: z.ZodBoolean;
1589
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1590
+ }, z.core.$loose>;
1591
+ }, z.core.$strip>>;
1592
+ readonly resources: {
1593
+ readonly reads: readonly [{
1594
+ readonly type: 'site.actions';
1595
+ readonly idFrom: 'params.siteId';
1596
+ }];
1597
+ readonly changes: readonly [];
1598
+ };
1599
+ readonly policy: {
1600
+ readonly rate: {
1601
+ readonly name: 'public-v1-fixed-window';
1602
+ readonly limit: 50;
1603
+ readonly windowSeconds: 60;
1604
+ };
1605
+ readonly idempotency: {
1606
+ readonly _tag: 'none';
1607
+ };
1608
+ readonly entitlement: null;
1609
+ readonly meter: null;
1610
+ };
1611
+ readonly lifecycle: {
1612
+ readonly introduced: '1.0.0';
1613
+ };
1614
+ readonly docs: {
1615
+ readonly summary: 'Inspect an action';
1616
+ readonly description: 'Reads the versioned evidence reviewed before resolving an action. Evidence group cursors are bound to the artifact version.';
1617
+ readonly tags: readonly ["Actions"];
1618
+ readonly examples: readonly [{
1619
+ readonly request: {
1620
+ readonly params: {
1621
+ readonly siteId: 'site_01JXYZ';
1622
+ readonly actionId: 'ticket_01JXYZ';
1623
+ };
1624
+ readonly query: {
1625
+ readonly limit: 50;
1626
+ };
1627
+ };
1628
+ readonly response: {
1629
+ readonly status: 200;
1630
+ readonly body: {
1631
+ readonly data: {
1632
+ readonly id: 'ticket_01JXYZ';
1633
+ readonly status: 'open';
1634
+ readonly findingType: 'broken-pages';
1635
+ readonly artifactVersion: 'te2:ticket_01JXYZ:scope';
1636
+ readonly assessmentId: 'assessment_01JXYZ';
1637
+ readonly asOf: '2026-08-10T01:30:00.000Z';
1638
+ readonly diagnosis: 'One page returns HTTP 404.';
1639
+ readonly action: 'Restore or redirect the page.';
1640
+ readonly verifier: {
1641
+ readonly _tag: 'finding-cleared';
1642
+ readonly findingType: 'broken-pages';
1643
+ };
1644
+ readonly materiality: {
1645
+ readonly affectedSubjects: 1;
1646
+ readonly internalReferrers: 2;
1647
+ };
1648
+ readonly evidenceGroups: readonly [];
1649
+ };
1650
+ readonly meta: {
1651
+ readonly requestId: 'req_01JXYZ';
1652
+ readonly version: '1.0';
1653
+ };
1654
+ };
1655
+ };
1656
+ }];
1657
+ };
1658
+ };
1659
+ export declare const actionResolveOperation: {
1660
+ readonly id: 'actions.resolve';
1661
+ readonly method: 'POST';
1662
+ readonly path: '/api/v1/sites/{siteId}/actions/{actionId}/resolve';
1663
+ readonly visibility: 'public';
1664
+ readonly semantics: {
1665
+ readonly kind: 'mutation';
1666
+ readonly sideEffects: 'state';
1667
+ readonly retry: 'never';
1668
+ readonly readConsistency: null;
1669
+ };
1670
+ readonly auth: {
1671
+ readonly credentials: readonly ["session", "api_token"];
1672
+ readonly scopes: readonly ["actions:write"];
1673
+ readonly minimumRole: 'member';
1674
+ readonly ownership: 'site';
1675
+ };
1676
+ readonly request: {
1677
+ readonly params: z.ZodObject<{
1678
+ siteId: z.ZodString;
1679
+ actionId: z.ZodString;
1680
+ }, z.core.$strict>;
1681
+ readonly query: null;
1682
+ readonly headers: null;
1683
+ readonly body: z.ZodObject<{
1684
+ artifactVersion: z.ZodString;
1685
+ }, z.core.$strict>;
1686
+ };
1687
+ readonly responses: {
1688
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1689
+ data: z.ZodObject<{
1690
+ readonly actionId: z.ZodString;
1691
+ readonly status: z.ZodString;
1692
+ readonly verification: z.ZodEnum<{
1693
+ "metric-watch": "metric-watch";
1694
+ "next-assessment": "next-assessment";
1695
+ "recheck-queued": "recheck-queued";
1696
+ "scan-queued": "scan-queued";
1697
+ "user-resolved": "user-resolved";
1698
+ }>;
1699
+ }, z.core.$strip>;
1700
+ meta: z.ZodObject<{
1701
+ requestId: z.ZodString;
1702
+ version: z.ZodLiteral<"1.0">;
1703
+ }, z.core.$strict>;
1704
+ }, z.core.$strip>, z.ZodObject<{
1705
+ data: z.ZodObject<{
1706
+ readonly actionId: z.ZodString;
1707
+ readonly status: z.ZodString;
1708
+ readonly verification: z.ZodEnum<{
1709
+ "metric-watch": "metric-watch";
1710
+ "next-assessment": "next-assessment";
1711
+ "recheck-queued": "recheck-queued";
1712
+ "scan-queued": "scan-queued";
1713
+ "user-resolved": "user-resolved";
1714
+ }>;
1715
+ }, z.core.$strip>;
1716
+ meta: z.ZodObject<{
1717
+ requestId: z.ZodString;
1718
+ version: z.ZodLiteral<"1.0">;
1719
+ }, z.core.$loose>;
1720
+ }, z.core.$strip>>;
1721
+ };
1722
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "entitlement_required", "not_found", "stale_evidence", "conflict", "rate_limited", "contract_violation", "internal_error"];
1723
+ readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1724
+ readonly error: z.ZodObject<{
1725
+ code: z.ZodEnum<{
1726
+ auth_expired: "auth_expired";
1727
+ conflict: "conflict";
1728
+ contract_violation: "contract_violation";
1729
+ entitlement_required: "entitlement_required";
1730
+ forbidden: "forbidden";
1731
+ internal_error: "internal_error";
1732
+ invalid_request: "invalid_request";
1733
+ not_found: "not_found";
1734
+ provider_unavailable: "provider_unavailable";
1735
+ quota_exhausted: "quota_exhausted";
1736
+ rate_limited: "rate_limited";
1737
+ site_ambiguous: "site_ambiguous";
1738
+ stale_evidence: "stale_evidence";
1739
+ unauthorized: "unauthorized";
1740
+ }>;
1741
+ message: z.ZodString;
1742
+ requestId: z.ZodString;
1743
+ retryable: z.ZodBoolean;
1744
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1745
+ }, z.core.$strict>;
1746
+ }, z.core.$strip>, z.ZodObject<{
1747
+ readonly error: z.ZodObject<{
1748
+ code: z.ZodEnum<{
1749
+ auth_expired: "auth_expired";
1750
+ conflict: "conflict";
1751
+ contract_violation: "contract_violation";
1752
+ entitlement_required: "entitlement_required";
1753
+ forbidden: "forbidden";
1754
+ internal_error: "internal_error";
1755
+ invalid_request: "invalid_request";
1756
+ not_found: "not_found";
1757
+ provider_unavailable: "provider_unavailable";
1758
+ quota_exhausted: "quota_exhausted";
1759
+ rate_limited: "rate_limited";
1760
+ site_ambiguous: "site_ambiguous";
1761
+ stale_evidence: "stale_evidence";
1762
+ unauthorized: "unauthorized";
1763
+ }>;
1764
+ message: z.ZodString;
1765
+ requestId: z.ZodString;
1766
+ retryable: z.ZodBoolean;
1767
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1768
+ }, z.core.$loose>;
1769
+ }, z.core.$strip>>;
1770
+ readonly resources: {
1771
+ readonly reads: readonly [{
1772
+ readonly type: 'site.actions';
1773
+ readonly idFrom: 'params.siteId';
1774
+ }];
1775
+ readonly changes: readonly [{
1776
+ readonly type: 'site.actions';
1777
+ readonly idFrom: 'params.siteId';
1778
+ }];
1779
+ };
1780
+ readonly policy: {
1781
+ readonly rate: {
1782
+ readonly name: 'public-v1-fixed-window';
1783
+ readonly limit: 50;
1784
+ readonly windowSeconds: 60;
1785
+ };
1786
+ readonly idempotency: {
1787
+ readonly _tag: 'none';
1788
+ };
1789
+ readonly entitlement: null;
1790
+ readonly meter: null;
1791
+ };
1792
+ readonly lifecycle: {
1793
+ readonly introduced: '1.0.0';
1794
+ };
1795
+ readonly docs: {
1796
+ readonly summary: 'Resolve an action';
1797
+ readonly description: 'Claims a reviewed action against its exact evidence artifact and starts the authoritative verification path. This mutation is deliberately non-retryable because it writes claim clocks and events.';
1798
+ readonly tags: readonly ["Actions"];
1799
+ readonly examples: readonly [{
1800
+ readonly request: {
1801
+ readonly params: {
1802
+ readonly siteId: 'site_01JXYZ';
1803
+ readonly actionId: 'ticket_01JXYZ';
1804
+ };
1805
+ readonly body: {
1806
+ readonly artifactVersion: 'te2:ticket_01JXYZ:scope';
1807
+ };
1808
+ };
1809
+ readonly response: {
1810
+ readonly status: 200;
1811
+ readonly body: {
1812
+ readonly data: {
1813
+ readonly actionId: 'ticket_01JXYZ';
1814
+ readonly status: 'open';
1815
+ readonly verification: 'recheck-queued';
1816
+ };
1817
+ readonly meta: {
1818
+ readonly requestId: 'req_01JXYZ';
1819
+ readonly version: '1.0';
1820
+ };
1821
+ };
1822
+ };
1823
+ }];
1824
+ };
1825
+ };
1826
+ export declare const actionsV1Registry: import("./core.js").PublicV1Registry<{
1827
+ readonly list: {
1828
+ readonly id: 'actions.list';
1829
+ readonly method: 'GET';
1830
+ readonly path: '/api/v1/sites/{siteId}/actions';
1831
+ readonly visibility: 'public';
1832
+ readonly semantics: {
1833
+ readonly kind: 'query';
1834
+ readonly sideEffects: 'none';
1835
+ readonly retry: 'idempotent';
1836
+ readonly readConsistency: 'primary';
1837
+ };
1838
+ readonly auth: {
1839
+ readonly credentials: readonly ['session', 'api_token'];
1840
+ readonly scopes: readonly ['actions:read'];
1841
+ readonly minimumRole: 'viewer';
1842
+ readonly ownership: 'site';
1843
+ };
1844
+ readonly request: {
1845
+ readonly params: z.ZodObject<{
1846
+ siteId: z.ZodString;
1847
+ }, z.core.$strict>;
1848
+ readonly query: z.ZodObject<{
1849
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1850
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1851
+ }, z.core.$strict>;
1852
+ readonly headers: null;
1853
+ readonly body: null;
1854
+ };
1855
+ readonly responses: {
1856
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1857
+ data: z.ZodObject<{
1858
+ readonly actions: z.ZodArray<z.ZodObject<{
1859
+ readonly id: z.ZodString;
1860
+ readonly status: z.ZodString;
1861
+ readonly diagnosis: z.ZodString;
1862
+ readonly subject: z.ZodNullable<z.ZodObject<{
1863
+ readonly kind: z.ZodString;
1864
+ readonly label: z.ZodString;
1865
+ readonly url: z.ZodOptional<z.ZodString>;
1866
+ }, z.core.$strip>>;
1867
+ readonly source: z.ZodNullable<z.ZodObject<{
1868
+ readonly label: z.ZodString;
1869
+ readonly url: z.ZodString;
1870
+ }, z.core.$strip>>;
1871
+ readonly authoredBy: z.ZodEnum<{
1872
+ agent: "agent";
1873
+ detector: "detector";
1874
+ }>;
1875
+ readonly findingType: z.ZodString;
1876
+ readonly workLocation: z.ZodEnum<{
1877
+ code: "code";
1878
+ infra: "infra";
1879
+ "off-site": "off-site";
1880
+ }>;
1881
+ readonly effort: z.ZodEnum<{
1882
+ L: "L";
1883
+ M: "M";
1884
+ S: "S";
1885
+ }>;
1886
+ readonly affectedPages: z.ZodNullable<z.ZodNumber>;
1887
+ readonly evidence: z.ZodObject<{
1888
+ readonly artifactVersion: z.ZodNullable<z.ZodString>;
1889
+ readonly coverage: z.ZodEnum<{
1890
+ complete: "complete";
1891
+ "count-only": "count-only";
1892
+ partial: "partial";
1893
+ unavailable: "unavailable";
1894
+ unknown: "unknown";
1895
+ }>;
1896
+ readonly primaryKnownTotal: z.ZodNullable<z.ZodNumber>;
1897
+ readonly knownTotal: z.ZodNumber;
1898
+ readonly reportedTotal: z.ZodNullable<z.ZodNumber>;
1899
+ readonly groupCount: z.ZodNumber;
1900
+ readonly observedAt: z.ZodNullable<z.ZodString>;
1901
+ readonly asOf: z.ZodNullable<z.ZodString>;
1902
+ }, z.core.$strip>;
1903
+ readonly firstSeenAt: z.ZodNullable<z.ZodString>;
1904
+ readonly relatedActionIds: z.ZodArray<z.ZodString>;
1905
+ readonly resolution: z.ZodNullable<z.ZodObject<{
1906
+ artifactVersion: z.ZodString;
1907
+ evidenceScope: z.ZodEnum<{
1908
+ complete: "complete";
1909
+ "count-only": "count-only";
1910
+ partial: "partial";
1911
+ unknown: "unknown";
1912
+ }>;
1913
+ }, z.core.$strict>>;
1914
+ }, z.core.$strip>>;
1915
+ readonly page: z.ZodObject<{
1916
+ total: z.ZodNumber;
1917
+ limit: z.ZodNumber;
1918
+ offset: z.ZodNumber;
1919
+ hasMore: z.ZodBoolean;
1920
+ }, z.core.$strict>;
1921
+ readonly listedAsOf: z.ZodString;
1922
+ }, z.core.$strip>;
1923
+ meta: z.ZodObject<{
1924
+ requestId: z.ZodString;
1925
+ version: z.ZodLiteral<"1.0">;
1926
+ }, z.core.$strict>;
1927
+ }, z.core.$strip>, z.ZodObject<{
1928
+ data: z.ZodObject<{
1929
+ readonly actions: z.ZodArray<z.ZodObject<{
1930
+ readonly id: z.ZodString;
1931
+ readonly status: z.ZodString;
1932
+ readonly diagnosis: z.ZodString;
1933
+ readonly subject: z.ZodNullable<z.ZodObject<{
1934
+ readonly kind: z.ZodString;
1935
+ readonly label: z.ZodString;
1936
+ readonly url: z.ZodOptional<z.ZodString>;
1937
+ }, z.core.$strip>>;
1938
+ readonly source: z.ZodNullable<z.ZodObject<{
1939
+ readonly label: z.ZodString;
1940
+ readonly url: z.ZodString;
1941
+ }, z.core.$strip>>;
1942
+ readonly authoredBy: z.ZodEnum<{
1943
+ agent: "agent";
1944
+ detector: "detector";
1945
+ }>;
1946
+ readonly findingType: z.ZodString;
1947
+ readonly workLocation: z.ZodEnum<{
1948
+ code: "code";
1949
+ infra: "infra";
1950
+ "off-site": "off-site";
1951
+ }>;
1952
+ readonly effort: z.ZodEnum<{
1953
+ L: "L";
1954
+ M: "M";
1955
+ S: "S";
1956
+ }>;
1957
+ readonly affectedPages: z.ZodNullable<z.ZodNumber>;
1958
+ readonly evidence: z.ZodObject<{
1959
+ readonly artifactVersion: z.ZodNullable<z.ZodString>;
1960
+ readonly coverage: z.ZodEnum<{
1961
+ complete: "complete";
1962
+ "count-only": "count-only";
1963
+ partial: "partial";
1964
+ unavailable: "unavailable";
1965
+ unknown: "unknown";
1966
+ }>;
1967
+ readonly primaryKnownTotal: z.ZodNullable<z.ZodNumber>;
1968
+ readonly knownTotal: z.ZodNumber;
1969
+ readonly reportedTotal: z.ZodNullable<z.ZodNumber>;
1970
+ readonly groupCount: z.ZodNumber;
1971
+ readonly observedAt: z.ZodNullable<z.ZodString>;
1972
+ readonly asOf: z.ZodNullable<z.ZodString>;
1973
+ }, z.core.$strip>;
1974
+ readonly firstSeenAt: z.ZodNullable<z.ZodString>;
1975
+ readonly relatedActionIds: z.ZodArray<z.ZodString>;
1976
+ readonly resolution: z.ZodNullable<z.ZodObject<{
1977
+ artifactVersion: z.ZodString;
1978
+ evidenceScope: z.ZodEnum<{
1979
+ complete: "complete";
1980
+ "count-only": "count-only";
1981
+ partial: "partial";
1982
+ unknown: "unknown";
1983
+ }>;
1984
+ }, z.core.$loose>>;
1985
+ }, z.core.$strip>>;
1986
+ readonly page: z.ZodObject<{
1987
+ total: z.ZodNumber;
1988
+ limit: z.ZodNumber;
1989
+ offset: z.ZodNumber;
1990
+ hasMore: z.ZodBoolean;
1991
+ }, z.core.$loose>;
1992
+ readonly listedAsOf: z.ZodString;
1993
+ }, z.core.$strip>;
1994
+ meta: z.ZodObject<{
1995
+ requestId: z.ZodString;
1996
+ version: z.ZodLiteral<"1.0">;
1997
+ }, z.core.$loose>;
1998
+ }, z.core.$strip>>;
1999
+ };
2000
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "entitlement_required", "not_found", "conflict", "stale_evidence", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2001
+ readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2002
+ readonly error: z.ZodObject<{
2003
+ code: z.ZodEnum<{
2004
+ auth_expired: "auth_expired";
2005
+ conflict: "conflict";
2006
+ contract_violation: "contract_violation";
2007
+ entitlement_required: "entitlement_required";
2008
+ forbidden: "forbidden";
2009
+ internal_error: "internal_error";
2010
+ invalid_request: "invalid_request";
2011
+ not_found: "not_found";
2012
+ provider_unavailable: "provider_unavailable";
2013
+ quota_exhausted: "quota_exhausted";
2014
+ rate_limited: "rate_limited";
2015
+ site_ambiguous: "site_ambiguous";
2016
+ stale_evidence: "stale_evidence";
2017
+ unauthorized: "unauthorized";
2018
+ }>;
2019
+ message: z.ZodString;
2020
+ requestId: z.ZodString;
2021
+ retryable: z.ZodBoolean;
2022
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2023
+ }, z.core.$strict>;
2024
+ }, z.core.$strip>, z.ZodObject<{
2025
+ readonly error: z.ZodObject<{
2026
+ code: z.ZodEnum<{
2027
+ auth_expired: "auth_expired";
2028
+ conflict: "conflict";
2029
+ contract_violation: "contract_violation";
2030
+ entitlement_required: "entitlement_required";
2031
+ forbidden: "forbidden";
2032
+ internal_error: "internal_error";
2033
+ invalid_request: "invalid_request";
2034
+ not_found: "not_found";
2035
+ provider_unavailable: "provider_unavailable";
2036
+ quota_exhausted: "quota_exhausted";
2037
+ rate_limited: "rate_limited";
2038
+ site_ambiguous: "site_ambiguous";
2039
+ stale_evidence: "stale_evidence";
2040
+ unauthorized: "unauthorized";
2041
+ }>;
2042
+ message: z.ZodString;
2043
+ requestId: z.ZodString;
2044
+ retryable: z.ZodBoolean;
2045
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2046
+ }, z.core.$loose>;
2047
+ }, z.core.$strip>>;
2048
+ readonly resources: {
2049
+ readonly reads: readonly [{
2050
+ readonly type: 'site.actions';
2051
+ readonly idFrom: 'params.siteId';
2052
+ }];
2053
+ readonly changes: readonly [];
2054
+ };
2055
+ readonly policy: {
2056
+ readonly rate: {
2057
+ readonly name: 'public-v1-fixed-window';
2058
+ readonly limit: 50;
2059
+ readonly windowSeconds: 60;
2060
+ };
2061
+ readonly idempotency: {
2062
+ readonly _tag: 'none';
2063
+ };
2064
+ readonly entitlement: null;
2065
+ readonly meter: null;
2066
+ };
2067
+ readonly lifecycle: {
2068
+ readonly introduced: '1.0.0';
2069
+ };
2070
+ readonly docs: {
2071
+ readonly summary: 'List next actions';
2072
+ readonly description: 'Returns the ranked open work for one site with stable evidence and resolution handles. Advisory movement signals remain separate from actionable work.';
2073
+ readonly tags: readonly ["Actions"];
2074
+ readonly examples: readonly [{
2075
+ readonly request: {
2076
+ readonly params: {
2077
+ readonly siteId: 'site_01JXYZ';
2078
+ };
2079
+ readonly query: {
2080
+ readonly limit: 10;
2081
+ readonly offset: 0;
2082
+ };
2083
+ };
2084
+ readonly response: {
2085
+ readonly status: 200;
2086
+ readonly body: {
2087
+ readonly data: {
2088
+ readonly actions: readonly [];
2089
+ readonly page: {
2090
+ readonly total: 0;
2091
+ readonly limit: 0;
2092
+ readonly offset: 0;
2093
+ readonly hasMore: false;
2094
+ };
2095
+ readonly listedAsOf: '2026-08-10T01:30:00.000Z';
2096
+ };
2097
+ readonly meta: {
2098
+ readonly requestId: 'req_01JXYZ';
2099
+ readonly version: '1.0';
2100
+ };
2101
+ };
2102
+ };
2103
+ }];
2104
+ };
2105
+ };
2106
+ readonly show: {
2107
+ readonly id: 'actions.show';
2108
+ readonly method: 'GET';
2109
+ readonly path: '/api/v1/sites/{siteId}/actions/{actionId}';
2110
+ readonly visibility: 'public';
2111
+ readonly semantics: {
2112
+ readonly kind: 'query';
2113
+ readonly sideEffects: 'none';
2114
+ readonly retry: 'idempotent';
2115
+ readonly readConsistency: 'primary';
2116
+ };
2117
+ readonly auth: {
2118
+ readonly credentials: readonly ['session', 'api_token'];
2119
+ readonly scopes: readonly ['actions:read'];
2120
+ readonly minimumRole: 'viewer';
2121
+ readonly ownership: 'site';
2122
+ };
2123
+ readonly request: {
2124
+ readonly params: z.ZodObject<{
2125
+ siteId: z.ZodString;
2126
+ actionId: z.ZodString;
2127
+ }, z.core.$strict>;
2128
+ readonly query: z.ZodObject<{
2129
+ groupId: z.ZodOptional<z.ZodString>;
2130
+ cursor: z.ZodOptional<z.ZodString>;
2131
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
2132
+ }, z.core.$strict>;
2133
+ readonly headers: null;
2134
+ readonly body: null;
2135
+ };
2136
+ readonly responses: {
2137
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2138
+ data: z.ZodObject<{
2139
+ readonly id: z.ZodString;
2140
+ readonly status: z.ZodString;
2141
+ readonly findingType: z.ZodString;
2142
+ readonly artifactVersion: z.ZodString;
2143
+ readonly assessmentId: z.ZodString;
2144
+ readonly asOf: z.ZodString;
2145
+ readonly diagnosis: z.ZodString;
2146
+ readonly action: z.ZodString;
2147
+ readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
2148
+ _tag: z.ZodLiteral<"target-healthy">;
2149
+ url: z.ZodString;
2150
+ }, z.core.$strict>, z.ZodObject<{
2151
+ _tag: z.ZodLiteral<"finding-cleared">;
2152
+ findingType: z.ZodString;
2153
+ }, z.core.$strict>, z.ZodObject<{
2154
+ _tag: z.ZodLiteral<"metric">;
2155
+ metric: z.ZodString;
2156
+ }, z.core.$strict>, z.ZodObject<{
2157
+ _tag: z.ZodLiteral<"user-attested">;
2158
+ }, z.core.$strict>], "_tag">;
2159
+ readonly materiality: z.ZodObject<{
2160
+ affectedSubjects: z.ZodNumber;
2161
+ internalReferrers: z.ZodNumber;
2162
+ }, z.core.$strict>;
2163
+ readonly evidenceGroups: z.ZodArray<z.ZodObject<{
2164
+ readonly id: z.ZodString;
2165
+ readonly relation: z.ZodString;
2166
+ readonly source: z.ZodObject<{
2167
+ kind: z.ZodString;
2168
+ generationId: z.ZodNullable<z.ZodString>;
2169
+ observedAt: z.ZodNullable<z.ZodString>;
2170
+ collectedAt: z.ZodString;
2171
+ }, z.core.$strict>;
2172
+ readonly coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
2173
+ _tag: z.ZodLiteral<"complete">;
2174
+ knownTotal: z.ZodNumber;
2175
+ }, z.core.$strict>, z.ZodObject<{
2176
+ _tag: z.ZodLiteral<"partial">;
2177
+ reportedTotal: z.ZodNumber;
2178
+ knownTotal: z.ZodNumber;
2179
+ limitation: z.ZodString;
2180
+ }, z.core.$strict>, z.ZodObject<{
2181
+ _tag: z.ZodLiteral<"count-only">;
2182
+ reportedTotal: z.ZodNumber;
2183
+ limitation: z.ZodString;
2184
+ }, z.core.$strict>, z.ZodObject<{
2185
+ _tag: z.ZodLiteral<"unknown">;
2186
+ knownTotal: z.ZodNumber;
2187
+ limitation: z.ZodString;
2188
+ }, z.core.$strict>, z.ZodObject<{
2189
+ _tag: z.ZodLiteral<"unavailable">;
2190
+ limitation: z.ZodString;
2191
+ }, z.core.$strict>], "_tag">;
2192
+ readonly items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2193
+ _tag: z.ZodLiteral<"page-status">;
2194
+ id: z.ZodString;
2195
+ url: z.ZodString;
2196
+ status: z.ZodNumber;
2197
+ }, z.core.$strict>, z.ZodObject<{
2198
+ _tag: z.ZodLiteral<"link-edge">;
2199
+ id: z.ZodString;
2200
+ sourceUrl: z.ZodString;
2201
+ targetUrl: z.ZodString;
2202
+ targetStatus: z.ZodNullable<z.ZodNumber>;
2203
+ }, z.core.$strict>, z.ZodObject<{
2204
+ _tag: z.ZodLiteral<"provider-page">;
2205
+ id: z.ZodString;
2206
+ url: z.ZodString;
2207
+ reason: z.ZodString;
2208
+ observedAt: z.ZodNullable<z.ZodString>;
2209
+ }, z.core.$strict>, z.ZodObject<{
2210
+ _tag: z.ZodLiteral<"page">;
2211
+ id: z.ZodString;
2212
+ url: z.ZodString;
2213
+ detail: z.ZodNullable<z.ZodString>;
2214
+ }, z.core.$strict>], "_tag">>;
2215
+ readonly nextCursor: z.ZodNullable<z.ZodString>;
2216
+ }, z.core.$strip>>;
2217
+ }, z.core.$strip>;
2218
+ meta: z.ZodObject<{
2219
+ requestId: z.ZodString;
2220
+ version: z.ZodLiteral<"1.0">;
2221
+ }, z.core.$strict>;
2222
+ }, z.core.$strip>, z.ZodObject<{
2223
+ data: z.ZodObject<{
2224
+ readonly id: z.ZodString;
2225
+ readonly status: z.ZodString;
2226
+ readonly findingType: z.ZodString;
2227
+ readonly artifactVersion: z.ZodString;
2228
+ readonly assessmentId: z.ZodString;
2229
+ readonly asOf: z.ZodString;
2230
+ readonly diagnosis: z.ZodString;
2231
+ readonly action: z.ZodString;
2232
+ readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
2233
+ _tag: z.ZodLiteral<"target-healthy">;
2234
+ url: z.ZodString;
2235
+ }, z.core.$loose>, z.ZodObject<{
2236
+ _tag: z.ZodLiteral<"finding-cleared">;
2237
+ findingType: z.ZodString;
2238
+ }, z.core.$loose>, z.ZodObject<{
2239
+ _tag: z.ZodLiteral<"metric">;
2240
+ metric: z.ZodString;
2241
+ }, z.core.$loose>, z.ZodObject<{
2242
+ _tag: z.ZodLiteral<"user-attested">;
2243
+ }, z.core.$loose>], "_tag">;
2244
+ readonly materiality: z.ZodObject<{
2245
+ affectedSubjects: z.ZodNumber;
2246
+ internalReferrers: z.ZodNumber;
2247
+ }, z.core.$loose>;
2248
+ readonly evidenceGroups: z.ZodArray<z.ZodObject<{
2249
+ readonly id: z.ZodString;
2250
+ readonly relation: z.ZodString;
2251
+ readonly source: z.ZodObject<{
2252
+ kind: z.ZodString;
2253
+ generationId: z.ZodNullable<z.ZodString>;
2254
+ observedAt: z.ZodNullable<z.ZodString>;
2255
+ collectedAt: z.ZodString;
2256
+ }, z.core.$loose>;
2257
+ readonly coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
2258
+ _tag: z.ZodLiteral<"complete">;
2259
+ knownTotal: z.ZodNumber;
2260
+ }, z.core.$loose>, z.ZodObject<{
2261
+ _tag: z.ZodLiteral<"partial">;
2262
+ reportedTotal: z.ZodNumber;
2263
+ knownTotal: z.ZodNumber;
2264
+ limitation: z.ZodString;
2265
+ }, z.core.$loose>, z.ZodObject<{
2266
+ _tag: z.ZodLiteral<"count-only">;
2267
+ reportedTotal: z.ZodNumber;
2268
+ limitation: z.ZodString;
2269
+ }, z.core.$loose>, z.ZodObject<{
2270
+ _tag: z.ZodLiteral<"unknown">;
2271
+ knownTotal: z.ZodNumber;
2272
+ limitation: z.ZodString;
2273
+ }, z.core.$loose>, z.ZodObject<{
2274
+ _tag: z.ZodLiteral<"unavailable">;
2275
+ limitation: z.ZodString;
2276
+ }, z.core.$loose>], "_tag">;
2277
+ readonly items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2278
+ _tag: z.ZodLiteral<"page-status">;
2279
+ id: z.ZodString;
2280
+ url: z.ZodString;
2281
+ status: z.ZodNumber;
2282
+ }, z.core.$loose>, z.ZodObject<{
2283
+ _tag: z.ZodLiteral<"link-edge">;
2284
+ id: z.ZodString;
2285
+ sourceUrl: z.ZodString;
2286
+ targetUrl: z.ZodString;
2287
+ targetStatus: z.ZodNullable<z.ZodNumber>;
2288
+ }, z.core.$loose>, z.ZodObject<{
2289
+ _tag: z.ZodLiteral<"provider-page">;
2290
+ id: z.ZodString;
2291
+ url: z.ZodString;
2292
+ reason: z.ZodString;
2293
+ observedAt: z.ZodNullable<z.ZodString>;
2294
+ }, z.core.$loose>, z.ZodObject<{
2295
+ _tag: z.ZodLiteral<"page">;
2296
+ id: z.ZodString;
2297
+ url: z.ZodString;
2298
+ detail: z.ZodNullable<z.ZodString>;
2299
+ }, z.core.$loose>], "_tag">>;
2300
+ readonly nextCursor: z.ZodNullable<z.ZodString>;
2301
+ }, z.core.$strip>>;
2302
+ }, z.core.$strip>;
2303
+ meta: z.ZodObject<{
2304
+ requestId: z.ZodString;
2305
+ version: z.ZodLiteral<"1.0">;
2306
+ }, z.core.$loose>;
2307
+ }, z.core.$strip>>;
2308
+ };
2309
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "entitlement_required", "not_found", "conflict", "stale_evidence", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2310
+ readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2311
+ readonly error: z.ZodObject<{
2312
+ code: z.ZodEnum<{
2313
+ auth_expired: "auth_expired";
2314
+ conflict: "conflict";
2315
+ contract_violation: "contract_violation";
2316
+ entitlement_required: "entitlement_required";
2317
+ forbidden: "forbidden";
2318
+ internal_error: "internal_error";
2319
+ invalid_request: "invalid_request";
2320
+ not_found: "not_found";
2321
+ provider_unavailable: "provider_unavailable";
2322
+ quota_exhausted: "quota_exhausted";
2323
+ rate_limited: "rate_limited";
2324
+ site_ambiguous: "site_ambiguous";
2325
+ stale_evidence: "stale_evidence";
2326
+ unauthorized: "unauthorized";
2327
+ }>;
2328
+ message: z.ZodString;
2329
+ requestId: z.ZodString;
2330
+ retryable: z.ZodBoolean;
2331
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2332
+ }, z.core.$strict>;
2333
+ }, z.core.$strip>, z.ZodObject<{
2334
+ readonly error: z.ZodObject<{
2335
+ code: z.ZodEnum<{
2336
+ auth_expired: "auth_expired";
2337
+ conflict: "conflict";
2338
+ contract_violation: "contract_violation";
2339
+ entitlement_required: "entitlement_required";
2340
+ forbidden: "forbidden";
2341
+ internal_error: "internal_error";
2342
+ invalid_request: "invalid_request";
2343
+ not_found: "not_found";
2344
+ provider_unavailable: "provider_unavailable";
2345
+ quota_exhausted: "quota_exhausted";
2346
+ rate_limited: "rate_limited";
2347
+ site_ambiguous: "site_ambiguous";
2348
+ stale_evidence: "stale_evidence";
2349
+ unauthorized: "unauthorized";
2350
+ }>;
2351
+ message: z.ZodString;
2352
+ requestId: z.ZodString;
2353
+ retryable: z.ZodBoolean;
2354
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2355
+ }, z.core.$loose>;
2356
+ }, z.core.$strip>>;
2357
+ readonly resources: {
2358
+ readonly reads: readonly [{
2359
+ readonly type: 'site.actions';
2360
+ readonly idFrom: 'params.siteId';
2361
+ }];
2362
+ readonly changes: readonly [];
2363
+ };
2364
+ readonly policy: {
2365
+ readonly rate: {
2366
+ readonly name: 'public-v1-fixed-window';
2367
+ readonly limit: 50;
2368
+ readonly windowSeconds: 60;
2369
+ };
2370
+ readonly idempotency: {
2371
+ readonly _tag: 'none';
2372
+ };
2373
+ readonly entitlement: null;
2374
+ readonly meter: null;
2375
+ };
2376
+ readonly lifecycle: {
2377
+ readonly introduced: '1.0.0';
2378
+ };
2379
+ readonly docs: {
2380
+ readonly summary: 'Inspect an action';
2381
+ readonly description: 'Reads the versioned evidence reviewed before resolving an action. Evidence group cursors are bound to the artifact version.';
2382
+ readonly tags: readonly ["Actions"];
2383
+ readonly examples: readonly [{
2384
+ readonly request: {
2385
+ readonly params: {
2386
+ readonly siteId: 'site_01JXYZ';
2387
+ readonly actionId: 'ticket_01JXYZ';
2388
+ };
2389
+ readonly query: {
2390
+ readonly limit: 50;
2391
+ };
2392
+ };
2393
+ readonly response: {
2394
+ readonly status: 200;
2395
+ readonly body: {
2396
+ readonly data: {
2397
+ readonly id: 'ticket_01JXYZ';
2398
+ readonly status: 'open';
2399
+ readonly findingType: 'broken-pages';
2400
+ readonly artifactVersion: 'te2:ticket_01JXYZ:scope';
2401
+ readonly assessmentId: 'assessment_01JXYZ';
2402
+ readonly asOf: '2026-08-10T01:30:00.000Z';
2403
+ readonly diagnosis: 'One page returns HTTP 404.';
2404
+ readonly action: 'Restore or redirect the page.';
2405
+ readonly verifier: {
2406
+ readonly _tag: 'finding-cleared';
2407
+ readonly findingType: 'broken-pages';
2408
+ };
2409
+ readonly materiality: {
2410
+ readonly affectedSubjects: 1;
2411
+ readonly internalReferrers: 2;
2412
+ };
2413
+ readonly evidenceGroups: readonly [];
2414
+ };
2415
+ readonly meta: {
2416
+ readonly requestId: 'req_01JXYZ';
2417
+ readonly version: '1.0';
2418
+ };
2419
+ };
2420
+ };
2421
+ }];
2422
+ };
2423
+ };
2424
+ readonly resolve: {
2425
+ readonly id: 'actions.resolve';
2426
+ readonly method: 'POST';
2427
+ readonly path: '/api/v1/sites/{siteId}/actions/{actionId}/resolve';
2428
+ readonly visibility: 'public';
2429
+ readonly semantics: {
2430
+ readonly kind: 'mutation';
2431
+ readonly sideEffects: 'state';
2432
+ readonly retry: 'never';
2433
+ readonly readConsistency: null;
2434
+ };
2435
+ readonly auth: {
2436
+ readonly credentials: readonly ["session", "api_token"];
2437
+ readonly scopes: readonly ["actions:write"];
2438
+ readonly minimumRole: 'member';
2439
+ readonly ownership: 'site';
2440
+ };
2441
+ readonly request: {
2442
+ readonly params: z.ZodObject<{
2443
+ siteId: z.ZodString;
2444
+ actionId: z.ZodString;
2445
+ }, z.core.$strict>;
2446
+ readonly query: null;
2447
+ readonly headers: null;
2448
+ readonly body: z.ZodObject<{
2449
+ artifactVersion: z.ZodString;
2450
+ }, z.core.$strict>;
2451
+ };
2452
+ readonly responses: {
2453
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2454
+ data: z.ZodObject<{
2455
+ readonly actionId: z.ZodString;
2456
+ readonly status: z.ZodString;
2457
+ readonly verification: z.ZodEnum<{
2458
+ "metric-watch": "metric-watch";
2459
+ "next-assessment": "next-assessment";
2460
+ "recheck-queued": "recheck-queued";
2461
+ "scan-queued": "scan-queued";
2462
+ "user-resolved": "user-resolved";
2463
+ }>;
2464
+ }, z.core.$strip>;
2465
+ meta: z.ZodObject<{
2466
+ requestId: z.ZodString;
2467
+ version: z.ZodLiteral<"1.0">;
2468
+ }, z.core.$strict>;
2469
+ }, z.core.$strip>, z.ZodObject<{
2470
+ data: z.ZodObject<{
2471
+ readonly actionId: z.ZodString;
2472
+ readonly status: z.ZodString;
2473
+ readonly verification: z.ZodEnum<{
2474
+ "metric-watch": "metric-watch";
2475
+ "next-assessment": "next-assessment";
2476
+ "recheck-queued": "recheck-queued";
2477
+ "scan-queued": "scan-queued";
2478
+ "user-resolved": "user-resolved";
2479
+ }>;
2480
+ }, z.core.$strip>;
2481
+ meta: z.ZodObject<{
2482
+ requestId: z.ZodString;
2483
+ version: z.ZodLiteral<"1.0">;
2484
+ }, z.core.$loose>;
2485
+ }, z.core.$strip>>;
2486
+ };
2487
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "entitlement_required", "not_found", "stale_evidence", "conflict", "rate_limited", "contract_violation", "internal_error"];
2488
+ readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2489
+ readonly error: z.ZodObject<{
2490
+ code: z.ZodEnum<{
2491
+ auth_expired: "auth_expired";
2492
+ conflict: "conflict";
2493
+ contract_violation: "contract_violation";
2494
+ entitlement_required: "entitlement_required";
2495
+ forbidden: "forbidden";
2496
+ internal_error: "internal_error";
2497
+ invalid_request: "invalid_request";
2498
+ not_found: "not_found";
2499
+ provider_unavailable: "provider_unavailable";
2500
+ quota_exhausted: "quota_exhausted";
2501
+ rate_limited: "rate_limited";
2502
+ site_ambiguous: "site_ambiguous";
2503
+ stale_evidence: "stale_evidence";
2504
+ unauthorized: "unauthorized";
2505
+ }>;
2506
+ message: z.ZodString;
2507
+ requestId: z.ZodString;
2508
+ retryable: z.ZodBoolean;
2509
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2510
+ }, z.core.$strict>;
2511
+ }, z.core.$strip>, z.ZodObject<{
2512
+ readonly error: z.ZodObject<{
2513
+ code: z.ZodEnum<{
2514
+ auth_expired: "auth_expired";
2515
+ conflict: "conflict";
2516
+ contract_violation: "contract_violation";
2517
+ entitlement_required: "entitlement_required";
2518
+ forbidden: "forbidden";
2519
+ internal_error: "internal_error";
2520
+ invalid_request: "invalid_request";
2521
+ not_found: "not_found";
2522
+ provider_unavailable: "provider_unavailable";
2523
+ quota_exhausted: "quota_exhausted";
2524
+ rate_limited: "rate_limited";
2525
+ site_ambiguous: "site_ambiguous";
2526
+ stale_evidence: "stale_evidence";
2527
+ unauthorized: "unauthorized";
2528
+ }>;
2529
+ message: z.ZodString;
2530
+ requestId: z.ZodString;
2531
+ retryable: z.ZodBoolean;
2532
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2533
+ }, z.core.$loose>;
2534
+ }, z.core.$strip>>;
2535
+ readonly resources: {
2536
+ readonly reads: readonly [{
2537
+ readonly type: 'site.actions';
2538
+ readonly idFrom: 'params.siteId';
2539
+ }];
2540
+ readonly changes: readonly [{
2541
+ readonly type: 'site.actions';
2542
+ readonly idFrom: 'params.siteId';
2543
+ }];
2544
+ };
2545
+ readonly policy: {
2546
+ readonly rate: {
2547
+ readonly name: 'public-v1-fixed-window';
2548
+ readonly limit: 50;
2549
+ readonly windowSeconds: 60;
2550
+ };
2551
+ readonly idempotency: {
2552
+ readonly _tag: 'none';
2553
+ };
2554
+ readonly entitlement: null;
2555
+ readonly meter: null;
2556
+ };
2557
+ readonly lifecycle: {
2558
+ readonly introduced: '1.0.0';
2559
+ };
2560
+ readonly docs: {
2561
+ readonly summary: 'Resolve an action';
2562
+ readonly description: 'Claims a reviewed action against its exact evidence artifact and starts the authoritative verification path. This mutation is deliberately non-retryable because it writes claim clocks and events.';
2563
+ readonly tags: readonly ["Actions"];
2564
+ readonly examples: readonly [{
2565
+ readonly request: {
2566
+ readonly params: {
2567
+ readonly siteId: 'site_01JXYZ';
2568
+ readonly actionId: 'ticket_01JXYZ';
2569
+ };
2570
+ readonly body: {
2571
+ readonly artifactVersion: 'te2:ticket_01JXYZ:scope';
2572
+ };
2573
+ };
2574
+ readonly response: {
2575
+ readonly status: 200;
2576
+ readonly body: {
2577
+ readonly data: {
2578
+ readonly actionId: 'ticket_01JXYZ';
2579
+ readonly status: 'open';
2580
+ readonly verification: 'recheck-queued';
2581
+ };
2582
+ readonly meta: {
2583
+ readonly requestId: 'req_01JXYZ';
2584
+ readonly version: '1.0';
2585
+ };
2586
+ };
2587
+ };
2588
+ }];
2589
+ };
2590
+ };
2591
+ }>;