@inf-monkeys-tech/monkeys 1.1.71 → 1.1.72

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 (64) hide show
  1. package/lib/contracts/declarative-control-http.d.ts +54 -0
  2. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  3. package/lib/contracts/declarative-control-http.js +9 -0
  4. package/lib/contracts/declarative-control-http.js.map +1 -1
  5. package/lib/contracts/declarative-document-import.d.ts +51 -0
  6. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  7. package/lib/contracts/declarative-document-import.js +6 -0
  8. package/lib/contracts/declarative-document-import.js.map +1 -1
  9. package/lib/contracts/declarative-page-delivery.d.ts +145 -0
  10. package/lib/contracts/declarative-page-delivery.d.ts.map +1 -0
  11. package/lib/contracts/declarative-page-delivery.js +164 -0
  12. package/lib/contracts/declarative-page-delivery.js.map +1 -0
  13. package/lib/contracts/declarative-publication-health.d.ts +1061 -0
  14. package/lib/contracts/declarative-publication-health.d.ts.map +1 -0
  15. package/lib/contracts/declarative-publication-health.js +148 -0
  16. package/lib/contracts/declarative-publication-health.js.map +1 -0
  17. package/lib/contracts/declarative-publication-job.d.ts +51 -0
  18. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  19. package/lib/contracts/declarative-publication-verification.d.ts +6 -0
  20. package/lib/contracts/declarative-publication-verification.d.ts.map +1 -1
  21. package/lib/contracts/declarative-publication-verification.js +5 -0
  22. package/lib/contracts/declarative-publication-verification.js.map +1 -1
  23. package/lib/contracts/index.d.ts +2 -0
  24. package/lib/contracts/index.d.ts.map +1 -1
  25. package/lib/contracts/index.js +2 -0
  26. package/lib/contracts/index.js.map +1 -1
  27. package/lib/esm/{chunk-75IO3EKE.mjs → chunk-DOQFYTAY.mjs} +16 -2
  28. package/lib/esm/chunk-DOQFYTAY.mjs.map +1 -0
  29. package/lib/esm/{chunk-DWQNEXK3.mjs → chunk-EMRIN6FD.mjs} +2 -2
  30. package/lib/esm/{chunk-JEAEX7QG.mjs → chunk-GAAD4RFK.mjs} +324 -3
  31. package/lib/esm/chunk-GAAD4RFK.mjs.map +1 -0
  32. package/lib/esm/{chunk-TKVCHO6V.mjs → chunk-HFNPLMKA.mjs} +2013 -1739
  33. package/lib/esm/chunk-HFNPLMKA.mjs.map +1 -0
  34. package/lib/esm/contracts/index.mjs +34 -2
  35. package/lib/esm/index.mjs +42 -4
  36. package/lib/esm/index.mjs.map +1 -1
  37. package/lib/esm/runtime/index.mjs +9 -3
  38. package/lib/esm/schemas/index.mjs +2 -2
  39. package/lib/json-schema/declarative-page-overlay.schema.json +184 -0
  40. package/lib/json-schema/declarative-page-package.schema.json +73 -0
  41. package/lib/json-schema/declarative-page-rendering.schema.json +239 -0
  42. package/lib/json-schema/declarative-publication-last-known-good-result.schema.json +675 -0
  43. package/lib/json-schema/declarative-publication-last-known-good.schema.json +651 -0
  44. package/lib/json-schema/declarative-publication-record-result.schema.json +1138 -0
  45. package/lib/json-schema/declarative-publication-recovery-result.schema.json +1775 -0
  46. package/lib/json-schema/declarative-publication-verification.schema.json +11 -0
  47. package/lib/json-schema/index.json +7 -0
  48. package/lib/runtime/declarative-page-delivery.d.ts +41 -0
  49. package/lib/runtime/declarative-page-delivery.d.ts.map +1 -0
  50. package/lib/runtime/declarative-page-delivery.js +270 -0
  51. package/lib/runtime/declarative-page-delivery.js.map +1 -0
  52. package/lib/runtime/index.d.ts +1 -0
  53. package/lib/runtime/index.d.ts.map +1 -1
  54. package/lib/runtime/index.js +1 -0
  55. package/lib/runtime/index.js.map +1 -1
  56. package/lib/schemas/index.d.ts +227 -0
  57. package/lib/schemas/index.d.ts.map +1 -1
  58. package/lib/schemas/index.js +9 -0
  59. package/lib/schemas/index.js.map +1 -1
  60. package/package.json +2 -2
  61. package/lib/esm/chunk-75IO3EKE.mjs.map +0 -1
  62. package/lib/esm/chunk-JEAEX7QG.mjs.map +0 -1
  63. package/lib/esm/chunk-TKVCHO6V.mjs.map +0 -1
  64. /package/lib/esm/{chunk-DWQNEXK3.mjs.map → chunk-EMRIN6FD.mjs.map} +0 -0
@@ -0,0 +1,1061 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Recovery policy state for one Release slot. The Server is the only writer;
4
+ * clients read it to explain why a recovery did or did not run.
5
+ */
6
+ export declare const DeclarativePublicationHealthStateSchema: z.ZodObject<{
7
+ failedReleaseRevision: z.ZodOptional<z.ZodNumber>;
8
+ consecutiveFailures: z.ZodNumber;
9
+ lastFailureAt: z.ZodOptional<z.ZodString>;
10
+ circuit: z.ZodEnum<{
11
+ closed: "closed";
12
+ open: "open";
13
+ }>;
14
+ lastRecoveryAt: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strict>;
16
+ export type DeclarativePublicationHealthState = z.infer<typeof DeclarativePublicationHealthStateSchema>;
17
+ /** The last Release of one slot that passed publication verification. */
18
+ export declare const DeclarativePublicationLastKnownGoodSchema: z.ZodObject<{
19
+ contract: z.ZodLiteral<"DeclarativePublicationLastKnownGood">;
20
+ schemaVersion: z.ZodLiteral<1>;
21
+ resourceKind: z.ZodEnum<{
22
+ navigation: "navigation";
23
+ page: "page";
24
+ workbench: "workbench";
25
+ }>;
26
+ resourceId: z.ZodString;
27
+ releaseSlotId: z.ZodString;
28
+ releaseRevisionRef: z.ZodObject<{
29
+ revision: z.ZodNumber;
30
+ schemaVersion: z.ZodNumber;
31
+ contentHash: z.ZodString;
32
+ kind: z.ZodString;
33
+ id: z.ZodString;
34
+ ownerRepo: z.ZodString;
35
+ visibility: z.ZodEnum<{
36
+ tenant: "tenant";
37
+ public: "public";
38
+ global: "global";
39
+ }>;
40
+ tenantScope: z.ZodOptional<z.ZodObject<{
41
+ tenantRef: z.ZodObject<{
42
+ kind: z.ZodString;
43
+ id: z.ZodString;
44
+ ownerRepo: z.ZodString;
45
+ }, z.core.$strict>;
46
+ dataSpaceRef: z.ZodObject<{
47
+ kind: z.ZodString;
48
+ id: z.ZodString;
49
+ ownerRepo: z.ZodString;
50
+ }, z.core.$strict>;
51
+ teamRef: z.ZodOptional<z.ZodObject<{
52
+ kind: z.ZodString;
53
+ id: z.ZodString;
54
+ ownerRepo: z.ZodString;
55
+ }, z.core.$strict>>;
56
+ }, z.core.$strict>>;
57
+ }, z.core.$strict>;
58
+ definitionRevisionRef: z.ZodObject<{
59
+ revision: z.ZodNumber;
60
+ schemaVersion: z.ZodNumber;
61
+ contentHash: z.ZodString;
62
+ kind: z.ZodString;
63
+ id: z.ZodString;
64
+ ownerRepo: z.ZodString;
65
+ visibility: z.ZodEnum<{
66
+ tenant: "tenant";
67
+ public: "public";
68
+ global: "global";
69
+ }>;
70
+ tenantScope: z.ZodOptional<z.ZodObject<{
71
+ tenantRef: z.ZodObject<{
72
+ kind: z.ZodString;
73
+ id: z.ZodString;
74
+ ownerRepo: z.ZodString;
75
+ }, z.core.$strict>;
76
+ dataSpaceRef: z.ZodObject<{
77
+ kind: z.ZodString;
78
+ id: z.ZodString;
79
+ ownerRepo: z.ZodString;
80
+ }, z.core.$strict>;
81
+ teamRef: z.ZodOptional<z.ZodObject<{
82
+ kind: z.ZodString;
83
+ id: z.ZodString;
84
+ ownerRepo: z.ZodString;
85
+ }, z.core.$strict>>;
86
+ }, z.core.$strict>>;
87
+ }, z.core.$strict>;
88
+ environmentRef: z.ZodObject<{
89
+ kind: z.ZodString;
90
+ id: z.ZodString;
91
+ ownerRepo: z.ZodString;
92
+ visibility: z.ZodEnum<{
93
+ tenant: "tenant";
94
+ public: "public";
95
+ global: "global";
96
+ }>;
97
+ tenantScope: z.ZodOptional<z.ZodObject<{
98
+ tenantRef: z.ZodObject<{
99
+ kind: z.ZodString;
100
+ id: z.ZodString;
101
+ ownerRepo: z.ZodString;
102
+ }, z.core.$strict>;
103
+ dataSpaceRef: z.ZodObject<{
104
+ kind: z.ZodString;
105
+ id: z.ZodString;
106
+ ownerRepo: z.ZodString;
107
+ }, z.core.$strict>;
108
+ teamRef: z.ZodOptional<z.ZodObject<{
109
+ kind: z.ZodString;
110
+ id: z.ZodString;
111
+ ownerRepo: z.ZodString;
112
+ }, z.core.$strict>>;
113
+ }, z.core.$strict>>;
114
+ }, z.core.$strict>;
115
+ environmentRevisionRef: z.ZodObject<{
116
+ revision: z.ZodNumber;
117
+ schemaVersion: z.ZodNumber;
118
+ contentHash: z.ZodString;
119
+ kind: z.ZodString;
120
+ id: z.ZodString;
121
+ ownerRepo: z.ZodString;
122
+ visibility: z.ZodEnum<{
123
+ tenant: "tenant";
124
+ public: "public";
125
+ global: "global";
126
+ }>;
127
+ tenantScope: z.ZodOptional<z.ZodObject<{
128
+ tenantRef: z.ZodObject<{
129
+ kind: z.ZodString;
130
+ id: z.ZodString;
131
+ ownerRepo: z.ZodString;
132
+ }, z.core.$strict>;
133
+ dataSpaceRef: z.ZodObject<{
134
+ kind: z.ZodString;
135
+ id: z.ZodString;
136
+ ownerRepo: z.ZodString;
137
+ }, z.core.$strict>;
138
+ teamRef: z.ZodOptional<z.ZodObject<{
139
+ kind: z.ZodString;
140
+ id: z.ZodString;
141
+ ownerRepo: z.ZodString;
142
+ }, z.core.$strict>>;
143
+ }, z.core.$strict>>;
144
+ }, z.core.$strict>;
145
+ surface: z.ZodEnum<{
146
+ studio: "studio";
147
+ kernel: "kernel";
148
+ }>;
149
+ bundleContentHash: z.ZodString;
150
+ verifiedAt: z.ZodString;
151
+ health: z.ZodObject<{
152
+ failedReleaseRevision: z.ZodOptional<z.ZodNumber>;
153
+ consecutiveFailures: z.ZodNumber;
154
+ lastFailureAt: z.ZodOptional<z.ZodString>;
155
+ circuit: z.ZodEnum<{
156
+ closed: "closed";
157
+ open: "open";
158
+ }>;
159
+ lastRecoveryAt: z.ZodOptional<z.ZodString>;
160
+ }, z.core.$strict>;
161
+ contentHash: z.ZodString;
162
+ }, z.core.$strict>;
163
+ export type DeclarativePublicationLastKnownGood = z.infer<typeof DeclarativePublicationLastKnownGoodSchema>;
164
+ export declare const DeclarativePublicationLastKnownGoodQuerySchema: z.ZodObject<{
165
+ resourceKind: z.ZodEnum<{
166
+ navigation: "navigation";
167
+ page: "page";
168
+ workbench: "workbench";
169
+ }>;
170
+ releaseSlotId: z.ZodString;
171
+ }, z.core.$strict>;
172
+ export type DeclarativePublicationLastKnownGoodQuery = z.infer<typeof DeclarativePublicationLastKnownGoodQuerySchema>;
173
+ export declare const DeclarativePublicationLastKnownGoodResultSchema: z.ZodObject<{
174
+ status: z.ZodEnum<{
175
+ unavailable: "unavailable";
176
+ recorded: "recorded";
177
+ }>;
178
+ lastKnownGood: z.ZodNullable<z.ZodObject<{
179
+ contract: z.ZodLiteral<"DeclarativePublicationLastKnownGood">;
180
+ schemaVersion: z.ZodLiteral<1>;
181
+ resourceKind: z.ZodEnum<{
182
+ navigation: "navigation";
183
+ page: "page";
184
+ workbench: "workbench";
185
+ }>;
186
+ resourceId: z.ZodString;
187
+ releaseSlotId: z.ZodString;
188
+ releaseRevisionRef: z.ZodObject<{
189
+ revision: z.ZodNumber;
190
+ schemaVersion: z.ZodNumber;
191
+ contentHash: z.ZodString;
192
+ kind: z.ZodString;
193
+ id: z.ZodString;
194
+ ownerRepo: z.ZodString;
195
+ visibility: z.ZodEnum<{
196
+ tenant: "tenant";
197
+ public: "public";
198
+ global: "global";
199
+ }>;
200
+ tenantScope: z.ZodOptional<z.ZodObject<{
201
+ tenantRef: z.ZodObject<{
202
+ kind: z.ZodString;
203
+ id: z.ZodString;
204
+ ownerRepo: z.ZodString;
205
+ }, z.core.$strict>;
206
+ dataSpaceRef: z.ZodObject<{
207
+ kind: z.ZodString;
208
+ id: z.ZodString;
209
+ ownerRepo: z.ZodString;
210
+ }, z.core.$strict>;
211
+ teamRef: z.ZodOptional<z.ZodObject<{
212
+ kind: z.ZodString;
213
+ id: z.ZodString;
214
+ ownerRepo: z.ZodString;
215
+ }, z.core.$strict>>;
216
+ }, z.core.$strict>>;
217
+ }, z.core.$strict>;
218
+ definitionRevisionRef: z.ZodObject<{
219
+ revision: z.ZodNumber;
220
+ schemaVersion: z.ZodNumber;
221
+ contentHash: z.ZodString;
222
+ kind: z.ZodString;
223
+ id: z.ZodString;
224
+ ownerRepo: z.ZodString;
225
+ visibility: z.ZodEnum<{
226
+ tenant: "tenant";
227
+ public: "public";
228
+ global: "global";
229
+ }>;
230
+ tenantScope: z.ZodOptional<z.ZodObject<{
231
+ tenantRef: z.ZodObject<{
232
+ kind: z.ZodString;
233
+ id: z.ZodString;
234
+ ownerRepo: z.ZodString;
235
+ }, z.core.$strict>;
236
+ dataSpaceRef: z.ZodObject<{
237
+ kind: z.ZodString;
238
+ id: z.ZodString;
239
+ ownerRepo: z.ZodString;
240
+ }, z.core.$strict>;
241
+ teamRef: z.ZodOptional<z.ZodObject<{
242
+ kind: z.ZodString;
243
+ id: z.ZodString;
244
+ ownerRepo: z.ZodString;
245
+ }, z.core.$strict>>;
246
+ }, z.core.$strict>>;
247
+ }, z.core.$strict>;
248
+ environmentRef: z.ZodObject<{
249
+ kind: z.ZodString;
250
+ id: z.ZodString;
251
+ ownerRepo: z.ZodString;
252
+ visibility: z.ZodEnum<{
253
+ tenant: "tenant";
254
+ public: "public";
255
+ global: "global";
256
+ }>;
257
+ tenantScope: z.ZodOptional<z.ZodObject<{
258
+ tenantRef: z.ZodObject<{
259
+ kind: z.ZodString;
260
+ id: z.ZodString;
261
+ ownerRepo: z.ZodString;
262
+ }, z.core.$strict>;
263
+ dataSpaceRef: z.ZodObject<{
264
+ kind: z.ZodString;
265
+ id: z.ZodString;
266
+ ownerRepo: z.ZodString;
267
+ }, z.core.$strict>;
268
+ teamRef: z.ZodOptional<z.ZodObject<{
269
+ kind: z.ZodString;
270
+ id: z.ZodString;
271
+ ownerRepo: z.ZodString;
272
+ }, z.core.$strict>>;
273
+ }, z.core.$strict>>;
274
+ }, z.core.$strict>;
275
+ environmentRevisionRef: z.ZodObject<{
276
+ revision: z.ZodNumber;
277
+ schemaVersion: z.ZodNumber;
278
+ contentHash: z.ZodString;
279
+ kind: z.ZodString;
280
+ id: z.ZodString;
281
+ ownerRepo: z.ZodString;
282
+ visibility: z.ZodEnum<{
283
+ tenant: "tenant";
284
+ public: "public";
285
+ global: "global";
286
+ }>;
287
+ tenantScope: z.ZodOptional<z.ZodObject<{
288
+ tenantRef: z.ZodObject<{
289
+ kind: z.ZodString;
290
+ id: z.ZodString;
291
+ ownerRepo: z.ZodString;
292
+ }, z.core.$strict>;
293
+ dataSpaceRef: z.ZodObject<{
294
+ kind: z.ZodString;
295
+ id: z.ZodString;
296
+ ownerRepo: z.ZodString;
297
+ }, z.core.$strict>;
298
+ teamRef: z.ZodOptional<z.ZodObject<{
299
+ kind: z.ZodString;
300
+ id: z.ZodString;
301
+ ownerRepo: z.ZodString;
302
+ }, z.core.$strict>>;
303
+ }, z.core.$strict>>;
304
+ }, z.core.$strict>;
305
+ surface: z.ZodEnum<{
306
+ studio: "studio";
307
+ kernel: "kernel";
308
+ }>;
309
+ bundleContentHash: z.ZodString;
310
+ verifiedAt: z.ZodString;
311
+ health: z.ZodObject<{
312
+ failedReleaseRevision: z.ZodOptional<z.ZodNumber>;
313
+ consecutiveFailures: z.ZodNumber;
314
+ lastFailureAt: z.ZodOptional<z.ZodString>;
315
+ circuit: z.ZodEnum<{
316
+ closed: "closed";
317
+ open: "open";
318
+ }>;
319
+ lastRecoveryAt: z.ZodOptional<z.ZodString>;
320
+ }, z.core.$strict>;
321
+ contentHash: z.ZodString;
322
+ }, z.core.$strict>>;
323
+ }, z.core.$strict>;
324
+ export type DeclarativePublicationLastKnownGoodResult = z.infer<typeof DeclarativePublicationLastKnownGoodResultSchema>;
325
+ /** The outcome of verifying one publication and recording it when it passes. */
326
+ export declare const DeclarativePublicationRecordResultSchema: z.ZodObject<{
327
+ status: z.ZodEnum<{
328
+ recorded: "recorded";
329
+ "not-recorded": "not-recorded";
330
+ }>;
331
+ verification: z.ZodObject<{
332
+ contract: z.ZodLiteral<"DeclarativePublicationVerification">;
333
+ schemaVersion: z.ZodLiteral<1>;
334
+ resourceKind: z.ZodEnum<{
335
+ navigation: "navigation";
336
+ page: "page";
337
+ workbench: "workbench";
338
+ }>;
339
+ resourceId: z.ZodString;
340
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
341
+ kind: z.ZodLiteral<"global">;
342
+ }, z.core.$strict>, z.ZodObject<{
343
+ kind: z.ZodLiteral<"team">;
344
+ teamId: z.ZodString;
345
+ }, z.core.$strict>], "kind">;
346
+ publication: z.ZodEnum<{
347
+ unknown: "unknown";
348
+ committed: "committed";
349
+ }>;
350
+ activation: z.ZodEnum<{
351
+ unavailable: "unavailable";
352
+ active: "active";
353
+ deactivated: "deactivated";
354
+ superseded: "superseded";
355
+ }>;
356
+ integrity: z.ZodEnum<{
357
+ failed: "failed";
358
+ verified: "verified";
359
+ unverified: "unverified";
360
+ }>;
361
+ runtime: z.ZodEnum<{
362
+ failed: "failed";
363
+ forbidden: "forbidden";
364
+ verified: "verified";
365
+ "not-requested": "not-requested";
366
+ "context-required": "context-required";
367
+ }>;
368
+ dataProbe: z.ZodDefault<z.ZodEnum<{
369
+ failed: "failed";
370
+ skipped: "skipped";
371
+ verified: "verified";
372
+ "not-requested": "not-requested";
373
+ }>>;
374
+ retryable: z.ZodDefault<z.ZodBoolean>;
375
+ releaseRevisionRef: z.ZodOptional<z.ZodObject<{
376
+ revision: z.ZodNumber;
377
+ schemaVersion: z.ZodNumber;
378
+ contentHash: z.ZodString;
379
+ kind: z.ZodString;
380
+ id: z.ZodString;
381
+ ownerRepo: z.ZodString;
382
+ visibility: z.ZodEnum<{
383
+ tenant: "tenant";
384
+ public: "public";
385
+ global: "global";
386
+ }>;
387
+ tenantScope: z.ZodOptional<z.ZodObject<{
388
+ tenantRef: z.ZodObject<{
389
+ kind: z.ZodString;
390
+ id: z.ZodString;
391
+ ownerRepo: z.ZodString;
392
+ }, z.core.$strict>;
393
+ dataSpaceRef: z.ZodObject<{
394
+ kind: z.ZodString;
395
+ id: z.ZodString;
396
+ ownerRepo: z.ZodString;
397
+ }, z.core.$strict>;
398
+ teamRef: z.ZodOptional<z.ZodObject<{
399
+ kind: z.ZodString;
400
+ id: z.ZodString;
401
+ ownerRepo: z.ZodString;
402
+ }, z.core.$strict>>;
403
+ }, z.core.$strict>>;
404
+ }, z.core.$strict>>;
405
+ definitionRevisionRef: z.ZodOptional<z.ZodObject<{
406
+ revision: z.ZodNumber;
407
+ schemaVersion: z.ZodNumber;
408
+ contentHash: z.ZodString;
409
+ kind: z.ZodString;
410
+ id: z.ZodString;
411
+ ownerRepo: z.ZodString;
412
+ visibility: z.ZodEnum<{
413
+ tenant: "tenant";
414
+ public: "public";
415
+ global: "global";
416
+ }>;
417
+ tenantScope: z.ZodOptional<z.ZodObject<{
418
+ tenantRef: z.ZodObject<{
419
+ kind: z.ZodString;
420
+ id: z.ZodString;
421
+ ownerRepo: z.ZodString;
422
+ }, z.core.$strict>;
423
+ dataSpaceRef: z.ZodObject<{
424
+ kind: z.ZodString;
425
+ id: z.ZodString;
426
+ ownerRepo: z.ZodString;
427
+ }, z.core.$strict>;
428
+ teamRef: z.ZodOptional<z.ZodObject<{
429
+ kind: z.ZodString;
430
+ id: z.ZodString;
431
+ ownerRepo: z.ZodString;
432
+ }, z.core.$strict>>;
433
+ }, z.core.$strict>>;
434
+ }, z.core.$strict>>;
435
+ runtimeContentHash: z.ZodOptional<z.ZodString>;
436
+ requestId: z.ZodOptional<z.ZodString>;
437
+ diagnostics: z.ZodArray<z.ZodObject<{
438
+ code: z.ZodString;
439
+ stage: z.ZodOptional<z.ZodEnum<{
440
+ contract: "contract";
441
+ reference: "reference";
442
+ runtime: "runtime";
443
+ document: "document";
444
+ policy: "policy";
445
+ }>>;
446
+ severity: z.ZodOptional<z.ZodEnum<{
447
+ error: "error";
448
+ warning: "warning";
449
+ info: "info";
450
+ }>>;
451
+ blocking: z.ZodOptional<z.ZodBoolean>;
452
+ path: z.ZodString;
453
+ message: z.ZodString;
454
+ recovery: z.ZodOptional<z.ZodArray<z.ZodString>>;
455
+ }, z.core.$strict>>;
456
+ }, z.core.$strict>;
457
+ lastKnownGood: z.ZodOptional<z.ZodObject<{
458
+ contract: z.ZodLiteral<"DeclarativePublicationLastKnownGood">;
459
+ schemaVersion: z.ZodLiteral<1>;
460
+ resourceKind: z.ZodEnum<{
461
+ navigation: "navigation";
462
+ page: "page";
463
+ workbench: "workbench";
464
+ }>;
465
+ resourceId: z.ZodString;
466
+ releaseSlotId: z.ZodString;
467
+ releaseRevisionRef: z.ZodObject<{
468
+ revision: z.ZodNumber;
469
+ schemaVersion: z.ZodNumber;
470
+ contentHash: z.ZodString;
471
+ kind: z.ZodString;
472
+ id: z.ZodString;
473
+ ownerRepo: z.ZodString;
474
+ visibility: z.ZodEnum<{
475
+ tenant: "tenant";
476
+ public: "public";
477
+ global: "global";
478
+ }>;
479
+ tenantScope: z.ZodOptional<z.ZodObject<{
480
+ tenantRef: z.ZodObject<{
481
+ kind: z.ZodString;
482
+ id: z.ZodString;
483
+ ownerRepo: z.ZodString;
484
+ }, z.core.$strict>;
485
+ dataSpaceRef: z.ZodObject<{
486
+ kind: z.ZodString;
487
+ id: z.ZodString;
488
+ ownerRepo: z.ZodString;
489
+ }, z.core.$strict>;
490
+ teamRef: z.ZodOptional<z.ZodObject<{
491
+ kind: z.ZodString;
492
+ id: z.ZodString;
493
+ ownerRepo: z.ZodString;
494
+ }, z.core.$strict>>;
495
+ }, z.core.$strict>>;
496
+ }, z.core.$strict>;
497
+ definitionRevisionRef: z.ZodObject<{
498
+ revision: z.ZodNumber;
499
+ schemaVersion: z.ZodNumber;
500
+ contentHash: z.ZodString;
501
+ kind: z.ZodString;
502
+ id: z.ZodString;
503
+ ownerRepo: z.ZodString;
504
+ visibility: z.ZodEnum<{
505
+ tenant: "tenant";
506
+ public: "public";
507
+ global: "global";
508
+ }>;
509
+ tenantScope: z.ZodOptional<z.ZodObject<{
510
+ tenantRef: z.ZodObject<{
511
+ kind: z.ZodString;
512
+ id: z.ZodString;
513
+ ownerRepo: z.ZodString;
514
+ }, z.core.$strict>;
515
+ dataSpaceRef: z.ZodObject<{
516
+ kind: z.ZodString;
517
+ id: z.ZodString;
518
+ ownerRepo: z.ZodString;
519
+ }, z.core.$strict>;
520
+ teamRef: z.ZodOptional<z.ZodObject<{
521
+ kind: z.ZodString;
522
+ id: z.ZodString;
523
+ ownerRepo: z.ZodString;
524
+ }, z.core.$strict>>;
525
+ }, z.core.$strict>>;
526
+ }, z.core.$strict>;
527
+ environmentRef: z.ZodObject<{
528
+ kind: z.ZodString;
529
+ id: z.ZodString;
530
+ ownerRepo: z.ZodString;
531
+ visibility: z.ZodEnum<{
532
+ tenant: "tenant";
533
+ public: "public";
534
+ global: "global";
535
+ }>;
536
+ tenantScope: z.ZodOptional<z.ZodObject<{
537
+ tenantRef: z.ZodObject<{
538
+ kind: z.ZodString;
539
+ id: z.ZodString;
540
+ ownerRepo: z.ZodString;
541
+ }, z.core.$strict>;
542
+ dataSpaceRef: z.ZodObject<{
543
+ kind: z.ZodString;
544
+ id: z.ZodString;
545
+ ownerRepo: z.ZodString;
546
+ }, z.core.$strict>;
547
+ teamRef: z.ZodOptional<z.ZodObject<{
548
+ kind: z.ZodString;
549
+ id: z.ZodString;
550
+ ownerRepo: z.ZodString;
551
+ }, z.core.$strict>>;
552
+ }, z.core.$strict>>;
553
+ }, z.core.$strict>;
554
+ environmentRevisionRef: z.ZodObject<{
555
+ revision: z.ZodNumber;
556
+ schemaVersion: z.ZodNumber;
557
+ contentHash: z.ZodString;
558
+ kind: z.ZodString;
559
+ id: z.ZodString;
560
+ ownerRepo: z.ZodString;
561
+ visibility: z.ZodEnum<{
562
+ tenant: "tenant";
563
+ public: "public";
564
+ global: "global";
565
+ }>;
566
+ tenantScope: z.ZodOptional<z.ZodObject<{
567
+ tenantRef: z.ZodObject<{
568
+ kind: z.ZodString;
569
+ id: z.ZodString;
570
+ ownerRepo: z.ZodString;
571
+ }, z.core.$strict>;
572
+ dataSpaceRef: z.ZodObject<{
573
+ kind: z.ZodString;
574
+ id: z.ZodString;
575
+ ownerRepo: z.ZodString;
576
+ }, z.core.$strict>;
577
+ teamRef: z.ZodOptional<z.ZodObject<{
578
+ kind: z.ZodString;
579
+ id: z.ZodString;
580
+ ownerRepo: z.ZodString;
581
+ }, z.core.$strict>>;
582
+ }, z.core.$strict>>;
583
+ }, z.core.$strict>;
584
+ surface: z.ZodEnum<{
585
+ studio: "studio";
586
+ kernel: "kernel";
587
+ }>;
588
+ bundleContentHash: z.ZodString;
589
+ verifiedAt: z.ZodString;
590
+ health: z.ZodObject<{
591
+ failedReleaseRevision: z.ZodOptional<z.ZodNumber>;
592
+ consecutiveFailures: z.ZodNumber;
593
+ lastFailureAt: z.ZodOptional<z.ZodString>;
594
+ circuit: z.ZodEnum<{
595
+ closed: "closed";
596
+ open: "open";
597
+ }>;
598
+ lastRecoveryAt: z.ZodOptional<z.ZodString>;
599
+ }, z.core.$strict>;
600
+ contentHash: z.ZodString;
601
+ }, z.core.$strict>>;
602
+ }, z.core.$strict>;
603
+ export type DeclarativePublicationRecordResult = z.infer<typeof DeclarativePublicationRecordResultSchema>;
604
+ /**
605
+ * The outcome of one bounded recovery attempt.
606
+ *
607
+ * - `not-needed`: the active Release did not fail verification.
608
+ * - `unavailable`: no Last Known Good record exists for the slot.
609
+ * - `observing`: the failure was counted and is still below the threshold.
610
+ * - `blocked`: recovery is refused; `reason` says why.
611
+ * - `recovered`: one rollback ran and the restored Release verified.
612
+ * - `rolled-back-unverified`: one rollback ran, verification still failed and
613
+ * the circuit is now open.
614
+ */
615
+ export declare const DeclarativePublicationRecoveryResultSchema: z.ZodObject<{
616
+ status: z.ZodEnum<{
617
+ unavailable: "unavailable";
618
+ blocked: "blocked";
619
+ "not-needed": "not-needed";
620
+ observing: "observing";
621
+ recovered: "recovered";
622
+ "rolled-back-unverified": "rolled-back-unverified";
623
+ }>;
624
+ verification: z.ZodObject<{
625
+ contract: z.ZodLiteral<"DeclarativePublicationVerification">;
626
+ schemaVersion: z.ZodLiteral<1>;
627
+ resourceKind: z.ZodEnum<{
628
+ navigation: "navigation";
629
+ page: "page";
630
+ workbench: "workbench";
631
+ }>;
632
+ resourceId: z.ZodString;
633
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
634
+ kind: z.ZodLiteral<"global">;
635
+ }, z.core.$strict>, z.ZodObject<{
636
+ kind: z.ZodLiteral<"team">;
637
+ teamId: z.ZodString;
638
+ }, z.core.$strict>], "kind">;
639
+ publication: z.ZodEnum<{
640
+ unknown: "unknown";
641
+ committed: "committed";
642
+ }>;
643
+ activation: z.ZodEnum<{
644
+ unavailable: "unavailable";
645
+ active: "active";
646
+ deactivated: "deactivated";
647
+ superseded: "superseded";
648
+ }>;
649
+ integrity: z.ZodEnum<{
650
+ failed: "failed";
651
+ verified: "verified";
652
+ unverified: "unverified";
653
+ }>;
654
+ runtime: z.ZodEnum<{
655
+ failed: "failed";
656
+ forbidden: "forbidden";
657
+ verified: "verified";
658
+ "not-requested": "not-requested";
659
+ "context-required": "context-required";
660
+ }>;
661
+ dataProbe: z.ZodDefault<z.ZodEnum<{
662
+ failed: "failed";
663
+ skipped: "skipped";
664
+ verified: "verified";
665
+ "not-requested": "not-requested";
666
+ }>>;
667
+ retryable: z.ZodDefault<z.ZodBoolean>;
668
+ releaseRevisionRef: z.ZodOptional<z.ZodObject<{
669
+ revision: z.ZodNumber;
670
+ schemaVersion: z.ZodNumber;
671
+ contentHash: z.ZodString;
672
+ kind: z.ZodString;
673
+ id: z.ZodString;
674
+ ownerRepo: z.ZodString;
675
+ visibility: z.ZodEnum<{
676
+ tenant: "tenant";
677
+ public: "public";
678
+ global: "global";
679
+ }>;
680
+ tenantScope: z.ZodOptional<z.ZodObject<{
681
+ tenantRef: z.ZodObject<{
682
+ kind: z.ZodString;
683
+ id: z.ZodString;
684
+ ownerRepo: z.ZodString;
685
+ }, z.core.$strict>;
686
+ dataSpaceRef: z.ZodObject<{
687
+ kind: z.ZodString;
688
+ id: z.ZodString;
689
+ ownerRepo: z.ZodString;
690
+ }, z.core.$strict>;
691
+ teamRef: z.ZodOptional<z.ZodObject<{
692
+ kind: z.ZodString;
693
+ id: z.ZodString;
694
+ ownerRepo: z.ZodString;
695
+ }, z.core.$strict>>;
696
+ }, z.core.$strict>>;
697
+ }, z.core.$strict>>;
698
+ definitionRevisionRef: z.ZodOptional<z.ZodObject<{
699
+ revision: z.ZodNumber;
700
+ schemaVersion: z.ZodNumber;
701
+ contentHash: z.ZodString;
702
+ kind: z.ZodString;
703
+ id: z.ZodString;
704
+ ownerRepo: z.ZodString;
705
+ visibility: z.ZodEnum<{
706
+ tenant: "tenant";
707
+ public: "public";
708
+ global: "global";
709
+ }>;
710
+ tenantScope: z.ZodOptional<z.ZodObject<{
711
+ tenantRef: z.ZodObject<{
712
+ kind: z.ZodString;
713
+ id: z.ZodString;
714
+ ownerRepo: z.ZodString;
715
+ }, z.core.$strict>;
716
+ dataSpaceRef: z.ZodObject<{
717
+ kind: z.ZodString;
718
+ id: z.ZodString;
719
+ ownerRepo: z.ZodString;
720
+ }, z.core.$strict>;
721
+ teamRef: z.ZodOptional<z.ZodObject<{
722
+ kind: z.ZodString;
723
+ id: z.ZodString;
724
+ ownerRepo: z.ZodString;
725
+ }, z.core.$strict>>;
726
+ }, z.core.$strict>>;
727
+ }, z.core.$strict>>;
728
+ runtimeContentHash: z.ZodOptional<z.ZodString>;
729
+ requestId: z.ZodOptional<z.ZodString>;
730
+ diagnostics: z.ZodArray<z.ZodObject<{
731
+ code: z.ZodString;
732
+ stage: z.ZodOptional<z.ZodEnum<{
733
+ contract: "contract";
734
+ reference: "reference";
735
+ runtime: "runtime";
736
+ document: "document";
737
+ policy: "policy";
738
+ }>>;
739
+ severity: z.ZodOptional<z.ZodEnum<{
740
+ error: "error";
741
+ warning: "warning";
742
+ info: "info";
743
+ }>>;
744
+ blocking: z.ZodOptional<z.ZodBoolean>;
745
+ path: z.ZodString;
746
+ message: z.ZodString;
747
+ recovery: z.ZodOptional<z.ZodArray<z.ZodString>>;
748
+ }, z.core.$strict>>;
749
+ }, z.core.$strict>;
750
+ lastKnownGood: z.ZodOptional<z.ZodObject<{
751
+ contract: z.ZodLiteral<"DeclarativePublicationLastKnownGood">;
752
+ schemaVersion: z.ZodLiteral<1>;
753
+ resourceKind: z.ZodEnum<{
754
+ navigation: "navigation";
755
+ page: "page";
756
+ workbench: "workbench";
757
+ }>;
758
+ resourceId: z.ZodString;
759
+ releaseSlotId: z.ZodString;
760
+ releaseRevisionRef: z.ZodObject<{
761
+ revision: z.ZodNumber;
762
+ schemaVersion: z.ZodNumber;
763
+ contentHash: z.ZodString;
764
+ kind: z.ZodString;
765
+ id: z.ZodString;
766
+ ownerRepo: z.ZodString;
767
+ visibility: z.ZodEnum<{
768
+ tenant: "tenant";
769
+ public: "public";
770
+ global: "global";
771
+ }>;
772
+ tenantScope: z.ZodOptional<z.ZodObject<{
773
+ tenantRef: z.ZodObject<{
774
+ kind: z.ZodString;
775
+ id: z.ZodString;
776
+ ownerRepo: z.ZodString;
777
+ }, z.core.$strict>;
778
+ dataSpaceRef: z.ZodObject<{
779
+ kind: z.ZodString;
780
+ id: z.ZodString;
781
+ ownerRepo: z.ZodString;
782
+ }, z.core.$strict>;
783
+ teamRef: z.ZodOptional<z.ZodObject<{
784
+ kind: z.ZodString;
785
+ id: z.ZodString;
786
+ ownerRepo: z.ZodString;
787
+ }, z.core.$strict>>;
788
+ }, z.core.$strict>>;
789
+ }, z.core.$strict>;
790
+ definitionRevisionRef: z.ZodObject<{
791
+ revision: z.ZodNumber;
792
+ schemaVersion: z.ZodNumber;
793
+ contentHash: z.ZodString;
794
+ kind: z.ZodString;
795
+ id: z.ZodString;
796
+ ownerRepo: z.ZodString;
797
+ visibility: z.ZodEnum<{
798
+ tenant: "tenant";
799
+ public: "public";
800
+ global: "global";
801
+ }>;
802
+ tenantScope: z.ZodOptional<z.ZodObject<{
803
+ tenantRef: z.ZodObject<{
804
+ kind: z.ZodString;
805
+ id: z.ZodString;
806
+ ownerRepo: z.ZodString;
807
+ }, z.core.$strict>;
808
+ dataSpaceRef: z.ZodObject<{
809
+ kind: z.ZodString;
810
+ id: z.ZodString;
811
+ ownerRepo: z.ZodString;
812
+ }, z.core.$strict>;
813
+ teamRef: z.ZodOptional<z.ZodObject<{
814
+ kind: z.ZodString;
815
+ id: z.ZodString;
816
+ ownerRepo: z.ZodString;
817
+ }, z.core.$strict>>;
818
+ }, z.core.$strict>>;
819
+ }, z.core.$strict>;
820
+ environmentRef: z.ZodObject<{
821
+ kind: z.ZodString;
822
+ id: z.ZodString;
823
+ ownerRepo: z.ZodString;
824
+ visibility: z.ZodEnum<{
825
+ tenant: "tenant";
826
+ public: "public";
827
+ global: "global";
828
+ }>;
829
+ tenantScope: z.ZodOptional<z.ZodObject<{
830
+ tenantRef: z.ZodObject<{
831
+ kind: z.ZodString;
832
+ id: z.ZodString;
833
+ ownerRepo: z.ZodString;
834
+ }, z.core.$strict>;
835
+ dataSpaceRef: z.ZodObject<{
836
+ kind: z.ZodString;
837
+ id: z.ZodString;
838
+ ownerRepo: z.ZodString;
839
+ }, z.core.$strict>;
840
+ teamRef: z.ZodOptional<z.ZodObject<{
841
+ kind: z.ZodString;
842
+ id: z.ZodString;
843
+ ownerRepo: z.ZodString;
844
+ }, z.core.$strict>>;
845
+ }, z.core.$strict>>;
846
+ }, z.core.$strict>;
847
+ environmentRevisionRef: z.ZodObject<{
848
+ revision: z.ZodNumber;
849
+ schemaVersion: z.ZodNumber;
850
+ contentHash: z.ZodString;
851
+ kind: z.ZodString;
852
+ id: z.ZodString;
853
+ ownerRepo: z.ZodString;
854
+ visibility: z.ZodEnum<{
855
+ tenant: "tenant";
856
+ public: "public";
857
+ global: "global";
858
+ }>;
859
+ tenantScope: z.ZodOptional<z.ZodObject<{
860
+ tenantRef: z.ZodObject<{
861
+ kind: z.ZodString;
862
+ id: z.ZodString;
863
+ ownerRepo: z.ZodString;
864
+ }, z.core.$strict>;
865
+ dataSpaceRef: z.ZodObject<{
866
+ kind: z.ZodString;
867
+ id: z.ZodString;
868
+ ownerRepo: z.ZodString;
869
+ }, z.core.$strict>;
870
+ teamRef: z.ZodOptional<z.ZodObject<{
871
+ kind: z.ZodString;
872
+ id: z.ZodString;
873
+ ownerRepo: z.ZodString;
874
+ }, z.core.$strict>>;
875
+ }, z.core.$strict>>;
876
+ }, z.core.$strict>;
877
+ surface: z.ZodEnum<{
878
+ studio: "studio";
879
+ kernel: "kernel";
880
+ }>;
881
+ bundleContentHash: z.ZodString;
882
+ verifiedAt: z.ZodString;
883
+ health: z.ZodObject<{
884
+ failedReleaseRevision: z.ZodOptional<z.ZodNumber>;
885
+ consecutiveFailures: z.ZodNumber;
886
+ lastFailureAt: z.ZodOptional<z.ZodString>;
887
+ circuit: z.ZodEnum<{
888
+ closed: "closed";
889
+ open: "open";
890
+ }>;
891
+ lastRecoveryAt: z.ZodOptional<z.ZodString>;
892
+ }, z.core.$strict>;
893
+ contentHash: z.ZodString;
894
+ }, z.core.$strict>>;
895
+ reason: z.ZodOptional<z.ZodEnum<{
896
+ "scope-changed": "scope-changed";
897
+ "circuit-open": "circuit-open";
898
+ cooldown: "cooldown";
899
+ }>>;
900
+ consecutiveFailures: z.ZodOptional<z.ZodNumber>;
901
+ failureThreshold: z.ZodOptional<z.ZodNumber>;
902
+ retryAfter: z.ZodOptional<z.ZodString>;
903
+ rollbackReleaseRevisionRef: z.ZodOptional<z.ZodObject<{
904
+ revision: z.ZodNumber;
905
+ schemaVersion: z.ZodNumber;
906
+ contentHash: z.ZodString;
907
+ kind: z.ZodString;
908
+ id: z.ZodString;
909
+ ownerRepo: z.ZodString;
910
+ visibility: z.ZodEnum<{
911
+ tenant: "tenant";
912
+ public: "public";
913
+ global: "global";
914
+ }>;
915
+ tenantScope: z.ZodOptional<z.ZodObject<{
916
+ tenantRef: z.ZodObject<{
917
+ kind: z.ZodString;
918
+ id: z.ZodString;
919
+ ownerRepo: z.ZodString;
920
+ }, z.core.$strict>;
921
+ dataSpaceRef: z.ZodObject<{
922
+ kind: z.ZodString;
923
+ id: z.ZodString;
924
+ ownerRepo: z.ZodString;
925
+ }, z.core.$strict>;
926
+ teamRef: z.ZodOptional<z.ZodObject<{
927
+ kind: z.ZodString;
928
+ id: z.ZodString;
929
+ ownerRepo: z.ZodString;
930
+ }, z.core.$strict>>;
931
+ }, z.core.$strict>>;
932
+ }, z.core.$strict>>;
933
+ postVerification: z.ZodOptional<z.ZodObject<{
934
+ contract: z.ZodLiteral<"DeclarativePublicationVerification">;
935
+ schemaVersion: z.ZodLiteral<1>;
936
+ resourceKind: z.ZodEnum<{
937
+ navigation: "navigation";
938
+ page: "page";
939
+ workbench: "workbench";
940
+ }>;
941
+ resourceId: z.ZodString;
942
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
943
+ kind: z.ZodLiteral<"global">;
944
+ }, z.core.$strict>, z.ZodObject<{
945
+ kind: z.ZodLiteral<"team">;
946
+ teamId: z.ZodString;
947
+ }, z.core.$strict>], "kind">;
948
+ publication: z.ZodEnum<{
949
+ unknown: "unknown";
950
+ committed: "committed";
951
+ }>;
952
+ activation: z.ZodEnum<{
953
+ unavailable: "unavailable";
954
+ active: "active";
955
+ deactivated: "deactivated";
956
+ superseded: "superseded";
957
+ }>;
958
+ integrity: z.ZodEnum<{
959
+ failed: "failed";
960
+ verified: "verified";
961
+ unverified: "unverified";
962
+ }>;
963
+ runtime: z.ZodEnum<{
964
+ failed: "failed";
965
+ forbidden: "forbidden";
966
+ verified: "verified";
967
+ "not-requested": "not-requested";
968
+ "context-required": "context-required";
969
+ }>;
970
+ dataProbe: z.ZodDefault<z.ZodEnum<{
971
+ failed: "failed";
972
+ skipped: "skipped";
973
+ verified: "verified";
974
+ "not-requested": "not-requested";
975
+ }>>;
976
+ retryable: z.ZodDefault<z.ZodBoolean>;
977
+ releaseRevisionRef: z.ZodOptional<z.ZodObject<{
978
+ revision: z.ZodNumber;
979
+ schemaVersion: z.ZodNumber;
980
+ contentHash: z.ZodString;
981
+ kind: z.ZodString;
982
+ id: z.ZodString;
983
+ ownerRepo: z.ZodString;
984
+ visibility: z.ZodEnum<{
985
+ tenant: "tenant";
986
+ public: "public";
987
+ global: "global";
988
+ }>;
989
+ tenantScope: z.ZodOptional<z.ZodObject<{
990
+ tenantRef: z.ZodObject<{
991
+ kind: z.ZodString;
992
+ id: z.ZodString;
993
+ ownerRepo: z.ZodString;
994
+ }, z.core.$strict>;
995
+ dataSpaceRef: z.ZodObject<{
996
+ kind: z.ZodString;
997
+ id: z.ZodString;
998
+ ownerRepo: z.ZodString;
999
+ }, z.core.$strict>;
1000
+ teamRef: z.ZodOptional<z.ZodObject<{
1001
+ kind: z.ZodString;
1002
+ id: z.ZodString;
1003
+ ownerRepo: z.ZodString;
1004
+ }, z.core.$strict>>;
1005
+ }, z.core.$strict>>;
1006
+ }, z.core.$strict>>;
1007
+ definitionRevisionRef: z.ZodOptional<z.ZodObject<{
1008
+ revision: z.ZodNumber;
1009
+ schemaVersion: z.ZodNumber;
1010
+ contentHash: z.ZodString;
1011
+ kind: z.ZodString;
1012
+ id: z.ZodString;
1013
+ ownerRepo: z.ZodString;
1014
+ visibility: z.ZodEnum<{
1015
+ tenant: "tenant";
1016
+ public: "public";
1017
+ global: "global";
1018
+ }>;
1019
+ tenantScope: z.ZodOptional<z.ZodObject<{
1020
+ tenantRef: z.ZodObject<{
1021
+ kind: z.ZodString;
1022
+ id: z.ZodString;
1023
+ ownerRepo: z.ZodString;
1024
+ }, z.core.$strict>;
1025
+ dataSpaceRef: z.ZodObject<{
1026
+ kind: z.ZodString;
1027
+ id: z.ZodString;
1028
+ ownerRepo: z.ZodString;
1029
+ }, z.core.$strict>;
1030
+ teamRef: z.ZodOptional<z.ZodObject<{
1031
+ kind: z.ZodString;
1032
+ id: z.ZodString;
1033
+ ownerRepo: z.ZodString;
1034
+ }, z.core.$strict>>;
1035
+ }, z.core.$strict>>;
1036
+ }, z.core.$strict>>;
1037
+ runtimeContentHash: z.ZodOptional<z.ZodString>;
1038
+ requestId: z.ZodOptional<z.ZodString>;
1039
+ diagnostics: z.ZodArray<z.ZodObject<{
1040
+ code: z.ZodString;
1041
+ stage: z.ZodOptional<z.ZodEnum<{
1042
+ contract: "contract";
1043
+ reference: "reference";
1044
+ runtime: "runtime";
1045
+ document: "document";
1046
+ policy: "policy";
1047
+ }>>;
1048
+ severity: z.ZodOptional<z.ZodEnum<{
1049
+ error: "error";
1050
+ warning: "warning";
1051
+ info: "info";
1052
+ }>>;
1053
+ blocking: z.ZodOptional<z.ZodBoolean>;
1054
+ path: z.ZodString;
1055
+ message: z.ZodString;
1056
+ recovery: z.ZodOptional<z.ZodArray<z.ZodString>>;
1057
+ }, z.core.$strict>>;
1058
+ }, z.core.$strict>>;
1059
+ }, z.core.$strict>;
1060
+ export type DeclarativePublicationRecoveryResult = z.infer<typeof DeclarativePublicationRecoveryResultSchema>;
1061
+ //# sourceMappingURL=declarative-publication-health.d.ts.map