@maycombhq/sdk 0.0.0-stage → 2.0.0-beta.10

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 (86) hide show
  1. package/LICENSE +177 -0
  2. package/npm/cache.d.ts +47 -0
  3. package/npm/core/api.d.ts +7462 -0
  4. package/npm/core/assistant-actor.d.ts +15 -0
  5. package/npm/core/audit.d.ts +153 -0
  6. package/npm/core/branches.d.ts +21 -0
  7. package/npm/core/cancel.d.ts +9 -0
  8. package/npm/core/catalog.d.ts +4733 -0
  9. package/npm/core/change-types-migrate.d.ts +10 -0
  10. package/npm/core/cite.d.ts +54 -0
  11. package/npm/core/curated.d.ts +37 -0
  12. package/npm/core/fact-paths.d.ts +14 -0
  13. package/npm/core/facts-callers.d.ts +152 -0
  14. package/npm/core/facts-carry.d.ts +36 -0
  15. package/npm/core/facts-join-prototype.d.ts +234 -0
  16. package/npm/core/facts-join-vendor.d.ts +110 -0
  17. package/npm/core/facts-join.d.ts +482 -0
  18. package/npm/core/facts.d.ts +94 -0
  19. package/npm/core/fs.d.ts +47 -0
  20. package/npm/core/gates-migrate.d.ts +10 -0
  21. package/npm/core/host-questions.d.ts +66 -0
  22. package/npm/core/identity.d.ts +17 -0
  23. package/npm/core/index.d.ts +73 -0
  24. package/npm/core/json-schema.d.ts +20 -0
  25. package/npm/core/judgments.d.ts +63 -0
  26. package/npm/core/light.d.ts +8 -0
  27. package/npm/core/link-evidence.d.ts +212 -0
  28. package/npm/core/log.d.ts +49 -0
  29. package/npm/core/manifest-edit.d.ts +57 -0
  30. package/npm/core/merge.d.ts +78 -0
  31. package/npm/core/metarepo.d.ts +91 -0
  32. package/npm/core/migrate.d.ts +31 -0
  33. package/npm/core/migration-files.d.ts +13 -0
  34. package/npm/core/orgpack-defaults.d.ts +199 -0
  35. package/npm/core/orgpack-load.d.ts +102 -0
  36. package/npm/core/question-order.d.ts +23 -0
  37. package/npm/core/question-owners.d.ts +53 -0
  38. package/npm/core/question-proposals.d.ts +77 -0
  39. package/npm/core/questions.d.ts +297 -0
  40. package/npm/core/record-cache.d.ts +52 -0
  41. package/npm/core/refs.d.ts +9 -0
  42. package/npm/core/repo-description.d.ts +44 -0
  43. package/npm/core/repo-reads.d.ts +44 -0
  44. package/npm/core/roles-migrate.d.ts +9 -0
  45. package/npm/core/runtime-migrate.d.ts +11 -0
  46. package/npm/core/schema/ai.d.ts +397 -0
  47. package/npm/core/schema/change.d.ts +244 -0
  48. package/npm/core/schema/common.d.ts +135 -0
  49. package/npm/core/schema/conventions.d.ts +75 -0
  50. package/npm/core/schema/dialect.d.ts +801 -0
  51. package/npm/core/schema/executors.d.ts +396 -0
  52. package/npm/core/schema/fact-corrections.d.ts +55 -0
  53. package/npm/core/schema/facts.d.ts +1491 -0
  54. package/npm/core/schema/frameworks.d.ts +371 -0
  55. package/npm/core/schema/judgment.d.ts +77 -0
  56. package/npm/core/schema/kinds.d.ts +5166 -0
  57. package/npm/core/schema/layout.d.ts +25 -0
  58. package/npm/core/schema/orgpack.d.ts +1185 -0
  59. package/npm/core/schema/plugin.d.ts +73 -0
  60. package/npm/core/schema/question.d.ts +195 -0
  61. package/npm/core/schema/repo-type.d.ts +109 -0
  62. package/npm/core/schema/review.d.ts +558 -0
  63. package/npm/core/schema/scan-settings.d.ts +34 -0
  64. package/npm/core/schema/scan-verify.d.ts +535 -0
  65. package/npm/core/schema/spec.d.ts +269 -0
  66. package/npm/core/schema/version.d.ts +9 -0
  67. package/npm/core/schema/workspace.d.ts +330 -0
  68. package/npm/core/serialize.d.ts +17 -0
  69. package/npm/core/shared-maps.d.ts +146 -0
  70. package/npm/core/sources-migrate.d.ts +15 -0
  71. package/npm/core/specs.d.ts +66 -0
  72. package/npm/core/stack-helpers.d.ts +32 -0
  73. package/npm/core/tar-read.d.ts +13 -0
  74. package/npm/core/template.d.ts +101 -0
  75. package/npm/core/words.d.ts +13 -0
  76. package/npm/core/zip-read.d.ts +37 -0
  77. package/npm/core/zip.d.ts +13 -0
  78. package/npm/fs-repo.d.ts +34 -0
  79. package/npm/index.d.ts +6 -0
  80. package/npm/index.js +9780 -0
  81. package/npm/parse-cache.d.ts +97 -0
  82. package/npm/plugin.d.ts +89 -0
  83. package/npm/runner.d.ts +72 -0
  84. package/npm/sandbox.d.ts +80 -0
  85. package/package.json +28 -3
  86. package/README.md +0 -3
@@ -0,0 +1,4733 @@
1
+ import { z } from "zod";
2
+ import { type RecordKind } from "./schema/kinds.js";
3
+ /** Any catalog record, discriminated by `kind`. */
4
+ export declare const CatalogRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
5
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
6
+ id: z.ZodString;
7
+ status: z.ZodEnum<{
8
+ current: "current";
9
+ "planned-new": "planned-new";
10
+ "planned-modify": "planned-modify";
11
+ "planned-retire": "planned-retire";
12
+ retired: "retired";
13
+ }>;
14
+ confidence: z.ZodEnum<{
15
+ verified: "verified";
16
+ inferred: "inferred";
17
+ asserted: "asserted";
18
+ }>;
19
+ evidence: z.ZodArray<z.ZodObject<{
20
+ source: z.ZodEnum<{
21
+ code: "code";
22
+ config: "config";
23
+ spec: "spec";
24
+ gateway: "gateway";
25
+ "event-config": "event-config";
26
+ infrastructure: "infrastructure";
27
+ pipeline: "pipeline";
28
+ migration: "migration";
29
+ diagram: "diagram";
30
+ document: "document";
31
+ export: "export";
32
+ manual: "manual";
33
+ }>;
34
+ repo: z.ZodOptional<z.ZodString>;
35
+ path: z.ZodOptional<z.ZodString>;
36
+ line: z.ZodOptional<z.ZodNumber>;
37
+ commit: z.ZodOptional<z.ZodString>;
38
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
39
+ extractor: z.ZodOptional<z.ZodString>;
40
+ dialect: z.ZodOptional<z.ZodString>;
41
+ side: z.ZodOptional<z.ZodEnum<{
42
+ gateway: "gateway";
43
+ document: "document";
44
+ caller: "caller";
45
+ callee: "callee";
46
+ definition: "definition";
47
+ }>>;
48
+ by: z.ZodOptional<z.ZodString>;
49
+ }, z.core.$strict>>;
50
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
+ kind: z.ZodLiteral<"System">;
52
+ name: z.ZodString;
53
+ boundary: z.ZodEnum<{
54
+ product: "product";
55
+ internal: "internal";
56
+ vendor: "vendor";
57
+ }>;
58
+ owner: z.ZodOptional<z.ZodString>;
59
+ repos: z.ZodDefault<z.ZodArray<z.ZodString>>;
60
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
61
+ accessGroup: z.ZodDefault<z.ZodString>;
62
+ }, z.core.$strict> | z.ZodObject<{
63
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
64
+ id: z.ZodString;
65
+ status: z.ZodEnum<{
66
+ current: "current";
67
+ "planned-new": "planned-new";
68
+ "planned-modify": "planned-modify";
69
+ "planned-retire": "planned-retire";
70
+ retired: "retired";
71
+ }>;
72
+ confidence: z.ZodEnum<{
73
+ verified: "verified";
74
+ inferred: "inferred";
75
+ asserted: "asserted";
76
+ }>;
77
+ evidence: z.ZodArray<z.ZodObject<{
78
+ source: z.ZodEnum<{
79
+ code: "code";
80
+ config: "config";
81
+ spec: "spec";
82
+ gateway: "gateway";
83
+ "event-config": "event-config";
84
+ infrastructure: "infrastructure";
85
+ pipeline: "pipeline";
86
+ migration: "migration";
87
+ diagram: "diagram";
88
+ document: "document";
89
+ export: "export";
90
+ manual: "manual";
91
+ }>;
92
+ repo: z.ZodOptional<z.ZodString>;
93
+ path: z.ZodOptional<z.ZodString>;
94
+ line: z.ZodOptional<z.ZodNumber>;
95
+ commit: z.ZodOptional<z.ZodString>;
96
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
97
+ extractor: z.ZodOptional<z.ZodString>;
98
+ dialect: z.ZodOptional<z.ZodString>;
99
+ side: z.ZodOptional<z.ZodEnum<{
100
+ gateway: "gateway";
101
+ document: "document";
102
+ caller: "caller";
103
+ callee: "callee";
104
+ definition: "definition";
105
+ }>>;
106
+ by: z.ZodOptional<z.ZodString>;
107
+ }, z.core.$strict>>;
108
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
109
+ kind: z.ZodLiteral<"Component">;
110
+ system: z.ZodString;
111
+ repo: z.ZodOptional<z.ZodString>;
112
+ path: z.ZodOptional<z.ZodString>;
113
+ type: z.ZodString;
114
+ runtime: z.ZodOptional<z.ZodString>;
115
+ migration: z.ZodOptional<z.ZodEnum<{
116
+ "not-started": "not-started";
117
+ "in-progress": "in-progress";
118
+ done: "done";
119
+ "not-applicable": "not-applicable";
120
+ }>>;
121
+ uses: z.ZodOptional<z.ZodArray<z.ZodString>>;
122
+ }, z.core.$strict> | z.ZodObject<{
123
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
124
+ id: z.ZodString;
125
+ status: z.ZodEnum<{
126
+ current: "current";
127
+ "planned-new": "planned-new";
128
+ "planned-modify": "planned-modify";
129
+ "planned-retire": "planned-retire";
130
+ retired: "retired";
131
+ }>;
132
+ confidence: z.ZodEnum<{
133
+ verified: "verified";
134
+ inferred: "inferred";
135
+ asserted: "asserted";
136
+ }>;
137
+ evidence: z.ZodArray<z.ZodObject<{
138
+ source: z.ZodEnum<{
139
+ code: "code";
140
+ config: "config";
141
+ spec: "spec";
142
+ gateway: "gateway";
143
+ "event-config": "event-config";
144
+ infrastructure: "infrastructure";
145
+ pipeline: "pipeline";
146
+ migration: "migration";
147
+ diagram: "diagram";
148
+ document: "document";
149
+ export: "export";
150
+ manual: "manual";
151
+ }>;
152
+ repo: z.ZodOptional<z.ZodString>;
153
+ path: z.ZodOptional<z.ZodString>;
154
+ line: z.ZodOptional<z.ZodNumber>;
155
+ commit: z.ZodOptional<z.ZodString>;
156
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
157
+ extractor: z.ZodOptional<z.ZodString>;
158
+ dialect: z.ZodOptional<z.ZodString>;
159
+ side: z.ZodOptional<z.ZodEnum<{
160
+ gateway: "gateway";
161
+ document: "document";
162
+ caller: "caller";
163
+ callee: "callee";
164
+ definition: "definition";
165
+ }>>;
166
+ by: z.ZodOptional<z.ZodString>;
167
+ }, z.core.$strict>>;
168
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
169
+ kind: z.ZodLiteral<"Endpoint">;
170
+ component: z.ZodString;
171
+ endpointType: z.ZodEnum<{
172
+ function: "function";
173
+ "batch-job": "batch-job";
174
+ rest: "rest";
175
+ grpc: "grpc";
176
+ soap: "soap";
177
+ "event-topic": "event-topic";
178
+ "file-drop": "file-drop";
179
+ "mq-queue": "mq-queue";
180
+ graphql: "graphql";
181
+ websocket: "websocket";
182
+ sse: "sse";
183
+ webhook: "webhook";
184
+ transaction: "transaction";
185
+ }>;
186
+ method: z.ZodOptional<z.ZodString>;
187
+ pathOrTopic: z.ZodString;
188
+ normalizedPath: z.ZodOptional<z.ZodString>;
189
+ schemaRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
190
+ auth: z.ZodOptional<z.ZodEnum<{
191
+ none: "none";
192
+ oauth2: "oauth2";
193
+ mtls: "mtls";
194
+ "api-key": "api-key";
195
+ basic: "basic";
196
+ other: "other";
197
+ }>>;
198
+ }, z.core.$strict> | z.ZodObject<{
199
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
200
+ id: z.ZodString;
201
+ status: z.ZodEnum<{
202
+ current: "current";
203
+ "planned-new": "planned-new";
204
+ "planned-modify": "planned-modify";
205
+ "planned-retire": "planned-retire";
206
+ retired: "retired";
207
+ }>;
208
+ confidence: z.ZodEnum<{
209
+ verified: "verified";
210
+ inferred: "inferred";
211
+ asserted: "asserted";
212
+ }>;
213
+ evidence: z.ZodArray<z.ZodObject<{
214
+ source: z.ZodEnum<{
215
+ code: "code";
216
+ config: "config";
217
+ spec: "spec";
218
+ gateway: "gateway";
219
+ "event-config": "event-config";
220
+ infrastructure: "infrastructure";
221
+ pipeline: "pipeline";
222
+ migration: "migration";
223
+ diagram: "diagram";
224
+ document: "document";
225
+ export: "export";
226
+ manual: "manual";
227
+ }>;
228
+ repo: z.ZodOptional<z.ZodString>;
229
+ path: z.ZodOptional<z.ZodString>;
230
+ line: z.ZodOptional<z.ZodNumber>;
231
+ commit: z.ZodOptional<z.ZodString>;
232
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
233
+ extractor: z.ZodOptional<z.ZodString>;
234
+ dialect: z.ZodOptional<z.ZodString>;
235
+ side: z.ZodOptional<z.ZodEnum<{
236
+ gateway: "gateway";
237
+ document: "document";
238
+ caller: "caller";
239
+ callee: "callee";
240
+ definition: "definition";
241
+ }>>;
242
+ by: z.ZodOptional<z.ZodString>;
243
+ }, z.core.$strict>>;
244
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
245
+ kind: z.ZodLiteral<"Interface">;
246
+ from: z.ZodString;
247
+ to: z.ZodString;
248
+ endpoint: z.ZodOptional<z.ZodString>;
249
+ via: z.ZodEnum<{
250
+ gateway: "gateway";
251
+ other: "other";
252
+ webhook: "webhook";
253
+ direct: "direct";
254
+ "event-bus": "event-bus";
255
+ pubsub: "pubsub";
256
+ sftp: "sftp";
257
+ mq: "mq";
258
+ mesh: "mesh";
259
+ }>;
260
+ route: z.ZodOptional<z.ZodString>;
261
+ method: z.ZodOptional<z.ZodString>;
262
+ normalizedPath: z.ZodString;
263
+ auth: z.ZodOptional<z.ZodEnum<{
264
+ none: "none";
265
+ oauth2: "oauth2";
266
+ mtls: "mtls";
267
+ "api-key": "api-key";
268
+ basic: "basic";
269
+ other: "other";
270
+ }>>;
271
+ sync: z.ZodEnum<{
272
+ sync: "sync";
273
+ async: "async";
274
+ }>;
275
+ direction: z.ZodDefault<z.ZodEnum<{
276
+ outbound: "outbound";
277
+ inbound: "inbound";
278
+ bidirectional: "bidirectional";
279
+ }>>;
280
+ pattern: z.ZodOptional<z.ZodObject<{
281
+ code: z.ZodString;
282
+ source: z.ZodEnum<{
283
+ inferred: "inferred";
284
+ asserted: "asserted";
285
+ drawn: "drawn";
286
+ }>;
287
+ }, z.core.$strict>>;
288
+ conflicts: z.ZodDefault<z.ZodArray<z.ZodObject<{
289
+ field: z.ZodString;
290
+ values: z.ZodArray<z.ZodString>;
291
+ note: z.ZodOptional<z.ZodString>;
292
+ }, z.core.$strict>>>;
293
+ }, z.core.$strict> | z.ZodObject<{
294
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
295
+ id: z.ZodString;
296
+ status: z.ZodEnum<{
297
+ current: "current";
298
+ "planned-new": "planned-new";
299
+ "planned-modify": "planned-modify";
300
+ "planned-retire": "planned-retire";
301
+ retired: "retired";
302
+ }>;
303
+ confidence: z.ZodEnum<{
304
+ verified: "verified";
305
+ inferred: "inferred";
306
+ asserted: "asserted";
307
+ }>;
308
+ evidence: z.ZodArray<z.ZodObject<{
309
+ source: z.ZodEnum<{
310
+ code: "code";
311
+ config: "config";
312
+ spec: "spec";
313
+ gateway: "gateway";
314
+ "event-config": "event-config";
315
+ infrastructure: "infrastructure";
316
+ pipeline: "pipeline";
317
+ migration: "migration";
318
+ diagram: "diagram";
319
+ document: "document";
320
+ export: "export";
321
+ manual: "manual";
322
+ }>;
323
+ repo: z.ZodOptional<z.ZodString>;
324
+ path: z.ZodOptional<z.ZodString>;
325
+ line: z.ZodOptional<z.ZodNumber>;
326
+ commit: z.ZodOptional<z.ZodString>;
327
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
328
+ extractor: z.ZodOptional<z.ZodString>;
329
+ dialect: z.ZodOptional<z.ZodString>;
330
+ side: z.ZodOptional<z.ZodEnum<{
331
+ gateway: "gateway";
332
+ document: "document";
333
+ caller: "caller";
334
+ callee: "callee";
335
+ definition: "definition";
336
+ }>>;
337
+ by: z.ZodOptional<z.ZodString>;
338
+ }, z.core.$strict>>;
339
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
340
+ kind: z.ZodLiteral<"GatewayRoute">;
341
+ proxy: z.ZodString;
342
+ basepath: z.ZodString;
343
+ target: z.ZodOptional<z.ZodString>;
344
+ policies: z.ZodDefault<z.ZodArray<z.ZodString>>;
345
+ scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
346
+ env: z.ZodOptional<z.ZodString>;
347
+ product: z.ZodOptional<z.ZodString>;
348
+ specPath: z.ZodOptional<z.ZodString>;
349
+ }, z.core.$strict> | z.ZodObject<{
350
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
351
+ id: z.ZodString;
352
+ status: z.ZodEnum<{
353
+ current: "current";
354
+ "planned-new": "planned-new";
355
+ "planned-modify": "planned-modify";
356
+ "planned-retire": "planned-retire";
357
+ retired: "retired";
358
+ }>;
359
+ confidence: z.ZodEnum<{
360
+ verified: "verified";
361
+ inferred: "inferred";
362
+ asserted: "asserted";
363
+ }>;
364
+ evidence: z.ZodArray<z.ZodObject<{
365
+ source: z.ZodEnum<{
366
+ code: "code";
367
+ config: "config";
368
+ spec: "spec";
369
+ gateway: "gateway";
370
+ "event-config": "event-config";
371
+ infrastructure: "infrastructure";
372
+ pipeline: "pipeline";
373
+ migration: "migration";
374
+ diagram: "diagram";
375
+ document: "document";
376
+ export: "export";
377
+ manual: "manual";
378
+ }>;
379
+ repo: z.ZodOptional<z.ZodString>;
380
+ path: z.ZodOptional<z.ZodString>;
381
+ line: z.ZodOptional<z.ZodNumber>;
382
+ commit: z.ZodOptional<z.ZodString>;
383
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
384
+ extractor: z.ZodOptional<z.ZodString>;
385
+ dialect: z.ZodOptional<z.ZodString>;
386
+ side: z.ZodOptional<z.ZodEnum<{
387
+ gateway: "gateway";
388
+ document: "document";
389
+ caller: "caller";
390
+ callee: "callee";
391
+ definition: "definition";
392
+ }>>;
393
+ by: z.ZodOptional<z.ZodString>;
394
+ }, z.core.$strict>>;
395
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
396
+ kind: z.ZodLiteral<"Schema">;
397
+ format: z.ZodEnum<{
398
+ other: "other";
399
+ openapi: "openapi";
400
+ "json-schema": "json-schema";
401
+ avro: "avro";
402
+ xsd: "xsd";
403
+ }>;
404
+ ref: z.ZodString;
405
+ version: z.ZodOptional<z.ZodString>;
406
+ fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
407
+ name: z.ZodString;
408
+ type: z.ZodOptional<z.ZodString>;
409
+ classification: z.ZodOptional<z.ZodString>;
410
+ required: z.ZodOptional<z.ZodBoolean>;
411
+ }, z.core.$strict>>>;
412
+ }, z.core.$strict> | z.ZodObject<{
413
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
414
+ id: z.ZodString;
415
+ status: z.ZodEnum<{
416
+ current: "current";
417
+ "planned-new": "planned-new";
418
+ "planned-modify": "planned-modify";
419
+ "planned-retire": "planned-retire";
420
+ retired: "retired";
421
+ }>;
422
+ confidence: z.ZodEnum<{
423
+ verified: "verified";
424
+ inferred: "inferred";
425
+ asserted: "asserted";
426
+ }>;
427
+ evidence: z.ZodArray<z.ZodObject<{
428
+ source: z.ZodEnum<{
429
+ code: "code";
430
+ config: "config";
431
+ spec: "spec";
432
+ gateway: "gateway";
433
+ "event-config": "event-config";
434
+ infrastructure: "infrastructure";
435
+ pipeline: "pipeline";
436
+ migration: "migration";
437
+ diagram: "diagram";
438
+ document: "document";
439
+ export: "export";
440
+ manual: "manual";
441
+ }>;
442
+ repo: z.ZodOptional<z.ZodString>;
443
+ path: z.ZodOptional<z.ZodString>;
444
+ line: z.ZodOptional<z.ZodNumber>;
445
+ commit: z.ZodOptional<z.ZodString>;
446
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
447
+ extractor: z.ZodOptional<z.ZodString>;
448
+ dialect: z.ZodOptional<z.ZodString>;
449
+ side: z.ZodOptional<z.ZodEnum<{
450
+ gateway: "gateway";
451
+ document: "document";
452
+ caller: "caller";
453
+ callee: "callee";
454
+ definition: "definition";
455
+ }>>;
456
+ by: z.ZodOptional<z.ZodString>;
457
+ }, z.core.$strict>>;
458
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
459
+ kind: z.ZodLiteral<"FieldMapping">;
460
+ interface: z.ZodString;
461
+ sourceField: z.ZodString;
462
+ targetField: z.ZodString;
463
+ transform: z.ZodOptional<z.ZodString>;
464
+ }, z.core.$strict> | z.ZodObject<{
465
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
466
+ id: z.ZodString;
467
+ status: z.ZodEnum<{
468
+ current: "current";
469
+ "planned-new": "planned-new";
470
+ "planned-modify": "planned-modify";
471
+ "planned-retire": "planned-retire";
472
+ retired: "retired";
473
+ }>;
474
+ confidence: z.ZodEnum<{
475
+ verified: "verified";
476
+ inferred: "inferred";
477
+ asserted: "asserted";
478
+ }>;
479
+ evidence: z.ZodArray<z.ZodObject<{
480
+ source: z.ZodEnum<{
481
+ code: "code";
482
+ config: "config";
483
+ spec: "spec";
484
+ gateway: "gateway";
485
+ "event-config": "event-config";
486
+ infrastructure: "infrastructure";
487
+ pipeline: "pipeline";
488
+ migration: "migration";
489
+ diagram: "diagram";
490
+ document: "document";
491
+ export: "export";
492
+ manual: "manual";
493
+ }>;
494
+ repo: z.ZodOptional<z.ZodString>;
495
+ path: z.ZodOptional<z.ZodString>;
496
+ line: z.ZodOptional<z.ZodNumber>;
497
+ commit: z.ZodOptional<z.ZodString>;
498
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
499
+ extractor: z.ZodOptional<z.ZodString>;
500
+ dialect: z.ZodOptional<z.ZodString>;
501
+ side: z.ZodOptional<z.ZodEnum<{
502
+ gateway: "gateway";
503
+ document: "document";
504
+ caller: "caller";
505
+ callee: "callee";
506
+ definition: "definition";
507
+ }>>;
508
+ by: z.ZodOptional<z.ZodString>;
509
+ }, z.core.$strict>>;
510
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
511
+ kind: z.ZodLiteral<"DataStore">;
512
+ storeType: z.ZodString;
513
+ ownerComponent: z.ZodOptional<z.ZodString>;
514
+ entitiesHeld: z.ZodDefault<z.ZodArray<z.ZodString>>;
515
+ }, z.core.$strict> | z.ZodObject<{
516
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
517
+ id: z.ZodString;
518
+ status: z.ZodEnum<{
519
+ current: "current";
520
+ "planned-new": "planned-new";
521
+ "planned-modify": "planned-modify";
522
+ "planned-retire": "planned-retire";
523
+ retired: "retired";
524
+ }>;
525
+ confidence: z.ZodEnum<{
526
+ verified: "verified";
527
+ inferred: "inferred";
528
+ asserted: "asserted";
529
+ }>;
530
+ evidence: z.ZodArray<z.ZodObject<{
531
+ source: z.ZodEnum<{
532
+ code: "code";
533
+ config: "config";
534
+ spec: "spec";
535
+ gateway: "gateway";
536
+ "event-config": "event-config";
537
+ infrastructure: "infrastructure";
538
+ pipeline: "pipeline";
539
+ migration: "migration";
540
+ diagram: "diagram";
541
+ document: "document";
542
+ export: "export";
543
+ manual: "manual";
544
+ }>;
545
+ repo: z.ZodOptional<z.ZodString>;
546
+ path: z.ZodOptional<z.ZodString>;
547
+ line: z.ZodOptional<z.ZodNumber>;
548
+ commit: z.ZodOptional<z.ZodString>;
549
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
550
+ extractor: z.ZodOptional<z.ZodString>;
551
+ dialect: z.ZodOptional<z.ZodString>;
552
+ side: z.ZodOptional<z.ZodEnum<{
553
+ gateway: "gateway";
554
+ document: "document";
555
+ caller: "caller";
556
+ callee: "callee";
557
+ definition: "definition";
558
+ }>>;
559
+ by: z.ZodOptional<z.ZodString>;
560
+ }, z.core.$strict>>;
561
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
562
+ kind: z.ZodLiteral<"Table">;
563
+ dataStore: z.ZodString;
564
+ name: z.ZodString;
565
+ tableKind: z.ZodEnum<{
566
+ table: "table";
567
+ view: "view";
568
+ collection: "collection";
569
+ "key-pattern": "key-pattern";
570
+ }>;
571
+ ownerComponent: z.ZodOptional<z.ZodString>;
572
+ readers: z.ZodDefault<z.ZodArray<z.ZodString>>;
573
+ writers: z.ZodDefault<z.ZodArray<z.ZodString>>;
574
+ retention: z.ZodOptional<z.ZodString>;
575
+ }, z.core.$strict> | z.ZodObject<{
576
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
577
+ id: z.ZodString;
578
+ status: z.ZodEnum<{
579
+ current: "current";
580
+ "planned-new": "planned-new";
581
+ "planned-modify": "planned-modify";
582
+ "planned-retire": "planned-retire";
583
+ retired: "retired";
584
+ }>;
585
+ confidence: z.ZodEnum<{
586
+ verified: "verified";
587
+ inferred: "inferred";
588
+ asserted: "asserted";
589
+ }>;
590
+ evidence: z.ZodArray<z.ZodObject<{
591
+ source: z.ZodEnum<{
592
+ code: "code";
593
+ config: "config";
594
+ spec: "spec";
595
+ gateway: "gateway";
596
+ "event-config": "event-config";
597
+ infrastructure: "infrastructure";
598
+ pipeline: "pipeline";
599
+ migration: "migration";
600
+ diagram: "diagram";
601
+ document: "document";
602
+ export: "export";
603
+ manual: "manual";
604
+ }>;
605
+ repo: z.ZodOptional<z.ZodString>;
606
+ path: z.ZodOptional<z.ZodString>;
607
+ line: z.ZodOptional<z.ZodNumber>;
608
+ commit: z.ZodOptional<z.ZodString>;
609
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
610
+ extractor: z.ZodOptional<z.ZodString>;
611
+ dialect: z.ZodOptional<z.ZodString>;
612
+ side: z.ZodOptional<z.ZodEnum<{
613
+ gateway: "gateway";
614
+ document: "document";
615
+ caller: "caller";
616
+ callee: "callee";
617
+ definition: "definition";
618
+ }>>;
619
+ by: z.ZodOptional<z.ZodString>;
620
+ }, z.core.$strict>>;
621
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
622
+ kind: z.ZodLiteral<"Column">;
623
+ table: z.ZodString;
624
+ name: z.ZodString;
625
+ type: z.ZodString;
626
+ nullable: z.ZodOptional<z.ZodBoolean>;
627
+ default: z.ZodOptional<z.ZodString>;
628
+ allowedValues: z.ZodOptional<z.ZodObject<{
629
+ values: z.ZodArray<z.ZodString>;
630
+ evidence: z.ZodObject<{
631
+ source: z.ZodEnum<{
632
+ code: "code";
633
+ config: "config";
634
+ spec: "spec";
635
+ gateway: "gateway";
636
+ "event-config": "event-config";
637
+ infrastructure: "infrastructure";
638
+ pipeline: "pipeline";
639
+ migration: "migration";
640
+ diagram: "diagram";
641
+ document: "document";
642
+ export: "export";
643
+ manual: "manual";
644
+ }>;
645
+ repo: z.ZodOptional<z.ZodString>;
646
+ path: z.ZodOptional<z.ZodString>;
647
+ line: z.ZodOptional<z.ZodNumber>;
648
+ commit: z.ZodOptional<z.ZodString>;
649
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
650
+ extractor: z.ZodOptional<z.ZodString>;
651
+ dialect: z.ZodOptional<z.ZodString>;
652
+ side: z.ZodOptional<z.ZodEnum<{
653
+ gateway: "gateway";
654
+ document: "document";
655
+ caller: "caller";
656
+ callee: "callee";
657
+ definition: "definition";
658
+ }>>;
659
+ by: z.ZodOptional<z.ZodString>;
660
+ }, z.core.$strict>;
661
+ }, z.core.$strict>>;
662
+ classification: z.ZodOptional<z.ZodString>;
663
+ glossaryTerm: z.ZodOptional<z.ZodString>;
664
+ }, z.core.$strict> | z.ZodObject<{
665
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
666
+ id: z.ZodString;
667
+ status: z.ZodEnum<{
668
+ current: "current";
669
+ "planned-new": "planned-new";
670
+ "planned-modify": "planned-modify";
671
+ "planned-retire": "planned-retire";
672
+ retired: "retired";
673
+ }>;
674
+ confidence: z.ZodEnum<{
675
+ verified: "verified";
676
+ inferred: "inferred";
677
+ asserted: "asserted";
678
+ }>;
679
+ evidence: z.ZodArray<z.ZodObject<{
680
+ source: z.ZodEnum<{
681
+ code: "code";
682
+ config: "config";
683
+ spec: "spec";
684
+ gateway: "gateway";
685
+ "event-config": "event-config";
686
+ infrastructure: "infrastructure";
687
+ pipeline: "pipeline";
688
+ migration: "migration";
689
+ diagram: "diagram";
690
+ document: "document";
691
+ export: "export";
692
+ manual: "manual";
693
+ }>;
694
+ repo: z.ZodOptional<z.ZodString>;
695
+ path: z.ZodOptional<z.ZodString>;
696
+ line: z.ZodOptional<z.ZodNumber>;
697
+ commit: z.ZodOptional<z.ZodString>;
698
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
699
+ extractor: z.ZodOptional<z.ZodString>;
700
+ dialect: z.ZodOptional<z.ZodString>;
701
+ side: z.ZodOptional<z.ZodEnum<{
702
+ gateway: "gateway";
703
+ document: "document";
704
+ caller: "caller";
705
+ callee: "callee";
706
+ definition: "definition";
707
+ }>>;
708
+ by: z.ZodOptional<z.ZodString>;
709
+ }, z.core.$strict>>;
710
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
711
+ kind: z.ZodLiteral<"IndexConstraint">;
712
+ table: z.ZodString;
713
+ constraintKind: z.ZodEnum<{
714
+ "primary-key": "primary-key";
715
+ "foreign-key": "foreign-key";
716
+ unique: "unique";
717
+ index: "index";
718
+ }>;
719
+ columns: z.ZodArray<z.ZodString>;
720
+ references: z.ZodOptional<z.ZodObject<{
721
+ table: z.ZodString;
722
+ columns: z.ZodArray<z.ZodString>;
723
+ }, z.core.$strict>>;
724
+ }, z.core.$strict> | z.ZodObject<{
725
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
726
+ id: z.ZodString;
727
+ status: z.ZodEnum<{
728
+ current: "current";
729
+ "planned-new": "planned-new";
730
+ "planned-modify": "planned-modify";
731
+ "planned-retire": "planned-retire";
732
+ retired: "retired";
733
+ }>;
734
+ confidence: z.ZodEnum<{
735
+ verified: "verified";
736
+ inferred: "inferred";
737
+ asserted: "asserted";
738
+ }>;
739
+ evidence: z.ZodArray<z.ZodObject<{
740
+ source: z.ZodEnum<{
741
+ code: "code";
742
+ config: "config";
743
+ spec: "spec";
744
+ gateway: "gateway";
745
+ "event-config": "event-config";
746
+ infrastructure: "infrastructure";
747
+ pipeline: "pipeline";
748
+ migration: "migration";
749
+ diagram: "diagram";
750
+ document: "document";
751
+ export: "export";
752
+ manual: "manual";
753
+ }>;
754
+ repo: z.ZodOptional<z.ZodString>;
755
+ path: z.ZodOptional<z.ZodString>;
756
+ line: z.ZodOptional<z.ZodNumber>;
757
+ commit: z.ZodOptional<z.ZodString>;
758
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
759
+ extractor: z.ZodOptional<z.ZodString>;
760
+ dialect: z.ZodOptional<z.ZodString>;
761
+ side: z.ZodOptional<z.ZodEnum<{
762
+ gateway: "gateway";
763
+ document: "document";
764
+ caller: "caller";
765
+ callee: "callee";
766
+ definition: "definition";
767
+ }>>;
768
+ by: z.ZodOptional<z.ZodString>;
769
+ }, z.core.$strict>>;
770
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
771
+ kind: z.ZodLiteral<"Migration">;
772
+ dataStore: z.ZodString;
773
+ version: z.ZodString;
774
+ tool: z.ZodEnum<{
775
+ other: "other";
776
+ flyway: "flyway";
777
+ liquibase: "liquibase";
778
+ alembic: "alembic";
779
+ prisma: "prisma";
780
+ }>;
781
+ file: z.ZodString;
782
+ operations: z.ZodDefault<z.ZodArray<z.ZodString>>;
783
+ reversible: z.ZodOptional<z.ZodBoolean>;
784
+ }, z.core.$strict> | z.ZodObject<{
785
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
786
+ id: z.ZodString;
787
+ status: z.ZodEnum<{
788
+ current: "current";
789
+ "planned-new": "planned-new";
790
+ "planned-modify": "planned-modify";
791
+ "planned-retire": "planned-retire";
792
+ retired: "retired";
793
+ }>;
794
+ confidence: z.ZodEnum<{
795
+ verified: "verified";
796
+ inferred: "inferred";
797
+ asserted: "asserted";
798
+ }>;
799
+ evidence: z.ZodArray<z.ZodObject<{
800
+ source: z.ZodEnum<{
801
+ code: "code";
802
+ config: "config";
803
+ spec: "spec";
804
+ gateway: "gateway";
805
+ "event-config": "event-config";
806
+ infrastructure: "infrastructure";
807
+ pipeline: "pipeline";
808
+ migration: "migration";
809
+ diagram: "diagram";
810
+ document: "document";
811
+ export: "export";
812
+ manual: "manual";
813
+ }>;
814
+ repo: z.ZodOptional<z.ZodString>;
815
+ path: z.ZodOptional<z.ZodString>;
816
+ line: z.ZodOptional<z.ZodNumber>;
817
+ commit: z.ZodOptional<z.ZodString>;
818
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
819
+ extractor: z.ZodOptional<z.ZodString>;
820
+ dialect: z.ZodOptional<z.ZodString>;
821
+ side: z.ZodOptional<z.ZodEnum<{
822
+ gateway: "gateway";
823
+ document: "document";
824
+ caller: "caller";
825
+ callee: "callee";
826
+ definition: "definition";
827
+ }>>;
828
+ by: z.ZodOptional<z.ZodString>;
829
+ }, z.core.$strict>>;
830
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
831
+ kind: z.ZodLiteral<"Deployment">;
832
+ component: z.ZodString;
833
+ env: z.ZodString;
834
+ platform: z.ZodString;
835
+ replicas: z.ZodOptional<z.ZodNumber>;
836
+ resources: z.ZodOptional<z.ZodObject<{
837
+ cpu: z.ZodOptional<z.ZodString>;
838
+ memory: z.ZodOptional<z.ZodString>;
839
+ }, z.core.$strict>>;
840
+ autoscaling: z.ZodOptional<z.ZodObject<{
841
+ min: z.ZodNumber;
842
+ max: z.ZodNumber;
843
+ }, z.core.$strict>>;
844
+ networkPolicies: z.ZodDefault<z.ZodArray<z.ZodString>>;
845
+ backupAndFailover: z.ZodOptional<z.ZodString>;
846
+ ingress: z.ZodOptional<z.ZodArray<z.ZodObject<{
847
+ host: z.ZodString;
848
+ path: z.ZodOptional<z.ZodString>;
849
+ tls: z.ZodOptional<z.ZodBoolean>;
850
+ }, z.core.$strict>>>;
851
+ }, z.core.$strict> | z.ZodObject<{
852
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
853
+ id: z.ZodString;
854
+ status: z.ZodEnum<{
855
+ current: "current";
856
+ "planned-new": "planned-new";
857
+ "planned-modify": "planned-modify";
858
+ "planned-retire": "planned-retire";
859
+ retired: "retired";
860
+ }>;
861
+ confidence: z.ZodEnum<{
862
+ verified: "verified";
863
+ inferred: "inferred";
864
+ asserted: "asserted";
865
+ }>;
866
+ evidence: z.ZodArray<z.ZodObject<{
867
+ source: z.ZodEnum<{
868
+ code: "code";
869
+ config: "config";
870
+ spec: "spec";
871
+ gateway: "gateway";
872
+ "event-config": "event-config";
873
+ infrastructure: "infrastructure";
874
+ pipeline: "pipeline";
875
+ migration: "migration";
876
+ diagram: "diagram";
877
+ document: "document";
878
+ export: "export";
879
+ manual: "manual";
880
+ }>;
881
+ repo: z.ZodOptional<z.ZodString>;
882
+ path: z.ZodOptional<z.ZodString>;
883
+ line: z.ZodOptional<z.ZodNumber>;
884
+ commit: z.ZodOptional<z.ZodString>;
885
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
886
+ extractor: z.ZodOptional<z.ZodString>;
887
+ dialect: z.ZodOptional<z.ZodString>;
888
+ side: z.ZodOptional<z.ZodEnum<{
889
+ gateway: "gateway";
890
+ document: "document";
891
+ caller: "caller";
892
+ callee: "callee";
893
+ definition: "definition";
894
+ }>>;
895
+ by: z.ZodOptional<z.ZodString>;
896
+ }, z.core.$strict>>;
897
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
898
+ kind: z.ZodLiteral<"Setting">;
899
+ component: z.ZodString;
900
+ env: z.ZodOptional<z.ZodString>;
901
+ settingKind: z.ZodEnum<{
902
+ config: "config";
903
+ timeout: "timeout";
904
+ retry: "retry";
905
+ "circuit-breaker": "circuit-breaker";
906
+ "rate-limit": "rate-limit";
907
+ pool: "pool";
908
+ "cache-ttl": "cache-ttl";
909
+ "feature-flag": "feature-flag";
910
+ schedule: "schedule";
911
+ }>;
912
+ key: z.ZodString;
913
+ valueOrRef: z.ZodString;
914
+ target: z.ZodOptional<z.ZodString>;
915
+ }, z.core.$strict> | z.ZodObject<{
916
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
917
+ id: z.ZodString;
918
+ status: z.ZodEnum<{
919
+ current: "current";
920
+ "planned-new": "planned-new";
921
+ "planned-modify": "planned-modify";
922
+ "planned-retire": "planned-retire";
923
+ retired: "retired";
924
+ }>;
925
+ confidence: z.ZodEnum<{
926
+ verified: "verified";
927
+ inferred: "inferred";
928
+ asserted: "asserted";
929
+ }>;
930
+ evidence: z.ZodArray<z.ZodObject<{
931
+ source: z.ZodEnum<{
932
+ code: "code";
933
+ config: "config";
934
+ spec: "spec";
935
+ gateway: "gateway";
936
+ "event-config": "event-config";
937
+ infrastructure: "infrastructure";
938
+ pipeline: "pipeline";
939
+ migration: "migration";
940
+ diagram: "diagram";
941
+ document: "document";
942
+ export: "export";
943
+ manual: "manual";
944
+ }>;
945
+ repo: z.ZodOptional<z.ZodString>;
946
+ path: z.ZodOptional<z.ZodString>;
947
+ line: z.ZodOptional<z.ZodNumber>;
948
+ commit: z.ZodOptional<z.ZodString>;
949
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
950
+ extractor: z.ZodOptional<z.ZodString>;
951
+ dialect: z.ZodOptional<z.ZodString>;
952
+ side: z.ZodOptional<z.ZodEnum<{
953
+ gateway: "gateway";
954
+ document: "document";
955
+ caller: "caller";
956
+ callee: "callee";
957
+ definition: "definition";
958
+ }>>;
959
+ by: z.ZodOptional<z.ZodString>;
960
+ }, z.core.$strict>>;
961
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
962
+ kind: z.ZodLiteral<"ObservabilityAsset">;
963
+ component: z.ZodString;
964
+ assetKind: z.ZodEnum<{
965
+ "log-config": "log-config";
966
+ metric: "metric";
967
+ trace: "trace";
968
+ alert: "alert";
969
+ dashboard: "dashboard";
970
+ runbook: "runbook";
971
+ }>;
972
+ name: z.ZodString;
973
+ link: z.ZodOptional<z.ZodString>;
974
+ }, z.core.$strict> | z.ZodObject<{
975
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
976
+ id: z.ZodString;
977
+ status: z.ZodEnum<{
978
+ current: "current";
979
+ "planned-new": "planned-new";
980
+ "planned-modify": "planned-modify";
981
+ "planned-retire": "planned-retire";
982
+ retired: "retired";
983
+ }>;
984
+ confidence: z.ZodEnum<{
985
+ verified: "verified";
986
+ inferred: "inferred";
987
+ asserted: "asserted";
988
+ }>;
989
+ evidence: z.ZodArray<z.ZodObject<{
990
+ source: z.ZodEnum<{
991
+ code: "code";
992
+ config: "config";
993
+ spec: "spec";
994
+ gateway: "gateway";
995
+ "event-config": "event-config";
996
+ infrastructure: "infrastructure";
997
+ pipeline: "pipeline";
998
+ migration: "migration";
999
+ diagram: "diagram";
1000
+ document: "document";
1001
+ export: "export";
1002
+ manual: "manual";
1003
+ }>;
1004
+ repo: z.ZodOptional<z.ZodString>;
1005
+ path: z.ZodOptional<z.ZodString>;
1006
+ line: z.ZodOptional<z.ZodNumber>;
1007
+ commit: z.ZodOptional<z.ZodString>;
1008
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1009
+ extractor: z.ZodOptional<z.ZodString>;
1010
+ dialect: z.ZodOptional<z.ZodString>;
1011
+ side: z.ZodOptional<z.ZodEnum<{
1012
+ gateway: "gateway";
1013
+ document: "document";
1014
+ caller: "caller";
1015
+ callee: "callee";
1016
+ definition: "definition";
1017
+ }>>;
1018
+ by: z.ZodOptional<z.ZodString>;
1019
+ }, z.core.$strict>>;
1020
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1021
+ kind: z.ZodLiteral<"AccessGrant">;
1022
+ subjectKind: z.ZodEnum<{
1023
+ "service-account": "service-account";
1024
+ "oauth-client": "oauth-client";
1025
+ role: "role";
1026
+ group: "group";
1027
+ }>;
1028
+ subject: z.ZodString;
1029
+ resource: z.ZodString;
1030
+ scopesOrPermissions: z.ZodDefault<z.ZodArray<z.ZodString>>;
1031
+ env: z.ZodOptional<z.ZodString>;
1032
+ }, z.core.$strict> | z.ZodObject<{
1033
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1034
+ id: z.ZodString;
1035
+ status: z.ZodEnum<{
1036
+ current: "current";
1037
+ "planned-new": "planned-new";
1038
+ "planned-modify": "planned-modify";
1039
+ "planned-retire": "planned-retire";
1040
+ retired: "retired";
1041
+ }>;
1042
+ confidence: z.ZodEnum<{
1043
+ verified: "verified";
1044
+ inferred: "inferred";
1045
+ asserted: "asserted";
1046
+ }>;
1047
+ evidence: z.ZodArray<z.ZodObject<{
1048
+ source: z.ZodEnum<{
1049
+ code: "code";
1050
+ config: "config";
1051
+ spec: "spec";
1052
+ gateway: "gateway";
1053
+ "event-config": "event-config";
1054
+ infrastructure: "infrastructure";
1055
+ pipeline: "pipeline";
1056
+ migration: "migration";
1057
+ diagram: "diagram";
1058
+ document: "document";
1059
+ export: "export";
1060
+ manual: "manual";
1061
+ }>;
1062
+ repo: z.ZodOptional<z.ZodString>;
1063
+ path: z.ZodOptional<z.ZodString>;
1064
+ line: z.ZodOptional<z.ZodNumber>;
1065
+ commit: z.ZodOptional<z.ZodString>;
1066
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1067
+ extractor: z.ZodOptional<z.ZodString>;
1068
+ dialect: z.ZodOptional<z.ZodString>;
1069
+ side: z.ZodOptional<z.ZodEnum<{
1070
+ gateway: "gateway";
1071
+ document: "document";
1072
+ caller: "caller";
1073
+ callee: "callee";
1074
+ definition: "definition";
1075
+ }>>;
1076
+ by: z.ZodOptional<z.ZodString>;
1077
+ }, z.core.$strict>>;
1078
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1079
+ kind: z.ZodLiteral<"QualityAsset">;
1080
+ component: z.ZodString;
1081
+ assetKind: z.ZodEnum<{
1082
+ pipeline: "pipeline";
1083
+ "test-suite": "test-suite";
1084
+ "coverage-report": "coverage-report";
1085
+ dependency: "dependency";
1086
+ vulnerability: "vulnerability";
1087
+ "licence-finding": "licence-finding";
1088
+ }>;
1089
+ details: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1090
+ }, z.core.$strict> | z.ZodObject<{
1091
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1092
+ id: z.ZodString;
1093
+ status: z.ZodEnum<{
1094
+ current: "current";
1095
+ "planned-new": "planned-new";
1096
+ "planned-modify": "planned-modify";
1097
+ "planned-retire": "planned-retire";
1098
+ retired: "retired";
1099
+ }>;
1100
+ confidence: z.ZodEnum<{
1101
+ verified: "verified";
1102
+ inferred: "inferred";
1103
+ asserted: "asserted";
1104
+ }>;
1105
+ evidence: z.ZodArray<z.ZodObject<{
1106
+ source: z.ZodEnum<{
1107
+ code: "code";
1108
+ config: "config";
1109
+ spec: "spec";
1110
+ gateway: "gateway";
1111
+ "event-config": "event-config";
1112
+ infrastructure: "infrastructure";
1113
+ pipeline: "pipeline";
1114
+ migration: "migration";
1115
+ diagram: "diagram";
1116
+ document: "document";
1117
+ export: "export";
1118
+ manual: "manual";
1119
+ }>;
1120
+ repo: z.ZodOptional<z.ZodString>;
1121
+ path: z.ZodOptional<z.ZodString>;
1122
+ line: z.ZodOptional<z.ZodNumber>;
1123
+ commit: z.ZodOptional<z.ZodString>;
1124
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1125
+ extractor: z.ZodOptional<z.ZodString>;
1126
+ dialect: z.ZodOptional<z.ZodString>;
1127
+ side: z.ZodOptional<z.ZodEnum<{
1128
+ gateway: "gateway";
1129
+ document: "document";
1130
+ caller: "caller";
1131
+ callee: "callee";
1132
+ definition: "definition";
1133
+ }>>;
1134
+ by: z.ZodOptional<z.ZodString>;
1135
+ }, z.core.$strict>>;
1136
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1137
+ kind: z.ZodLiteral<"Obligation">;
1138
+ system: z.ZodString;
1139
+ obligationKind: z.ZodEnum<{
1140
+ retention: "retention";
1141
+ slo: "slo";
1142
+ volume: "volume";
1143
+ rpo: "rpo";
1144
+ rto: "rto";
1145
+ "freeze-window": "freeze-window";
1146
+ "support-group": "support-group";
1147
+ }>;
1148
+ value: z.ZodString;
1149
+ assertedBy: z.ZodString;
1150
+ }, z.core.$strict> | z.ZodObject<{
1151
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1152
+ id: z.ZodString;
1153
+ status: z.ZodEnum<{
1154
+ current: "current";
1155
+ "planned-new": "planned-new";
1156
+ "planned-modify": "planned-modify";
1157
+ "planned-retire": "planned-retire";
1158
+ retired: "retired";
1159
+ }>;
1160
+ confidence: z.ZodEnum<{
1161
+ verified: "verified";
1162
+ inferred: "inferred";
1163
+ asserted: "asserted";
1164
+ }>;
1165
+ evidence: z.ZodArray<z.ZodObject<{
1166
+ source: z.ZodEnum<{
1167
+ code: "code";
1168
+ config: "config";
1169
+ spec: "spec";
1170
+ gateway: "gateway";
1171
+ "event-config": "event-config";
1172
+ infrastructure: "infrastructure";
1173
+ pipeline: "pipeline";
1174
+ migration: "migration";
1175
+ diagram: "diagram";
1176
+ document: "document";
1177
+ export: "export";
1178
+ manual: "manual";
1179
+ }>;
1180
+ repo: z.ZodOptional<z.ZodString>;
1181
+ path: z.ZodOptional<z.ZodString>;
1182
+ line: z.ZodOptional<z.ZodNumber>;
1183
+ commit: z.ZodOptional<z.ZodString>;
1184
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1185
+ extractor: z.ZodOptional<z.ZodString>;
1186
+ dialect: z.ZodOptional<z.ZodString>;
1187
+ side: z.ZodOptional<z.ZodEnum<{
1188
+ gateway: "gateway";
1189
+ document: "document";
1190
+ caller: "caller";
1191
+ callee: "callee";
1192
+ definition: "definition";
1193
+ }>>;
1194
+ by: z.ZodOptional<z.ZodString>;
1195
+ }, z.core.$strict>>;
1196
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1197
+ kind: z.ZodLiteral<"GlossaryTerm">;
1198
+ term: z.ZodString;
1199
+ definition: z.ZodString;
1200
+ fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
1201
+ owner: z.ZodOptional<z.ZodString>;
1202
+ }, z.core.$strict> | z.ZodObject<{
1203
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1204
+ id: z.ZodString;
1205
+ status: z.ZodEnum<{
1206
+ current: "current";
1207
+ "planned-new": "planned-new";
1208
+ "planned-modify": "planned-modify";
1209
+ "planned-retire": "planned-retire";
1210
+ retired: "retired";
1211
+ }>;
1212
+ confidence: z.ZodEnum<{
1213
+ verified: "verified";
1214
+ inferred: "inferred";
1215
+ asserted: "asserted";
1216
+ }>;
1217
+ evidence: z.ZodArray<z.ZodObject<{
1218
+ source: z.ZodEnum<{
1219
+ code: "code";
1220
+ config: "config";
1221
+ spec: "spec";
1222
+ gateway: "gateway";
1223
+ "event-config": "event-config";
1224
+ infrastructure: "infrastructure";
1225
+ pipeline: "pipeline";
1226
+ migration: "migration";
1227
+ diagram: "diagram";
1228
+ document: "document";
1229
+ export: "export";
1230
+ manual: "manual";
1231
+ }>;
1232
+ repo: z.ZodOptional<z.ZodString>;
1233
+ path: z.ZodOptional<z.ZodString>;
1234
+ line: z.ZodOptional<z.ZodNumber>;
1235
+ commit: z.ZodOptional<z.ZodString>;
1236
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1237
+ extractor: z.ZodOptional<z.ZodString>;
1238
+ dialect: z.ZodOptional<z.ZodString>;
1239
+ side: z.ZodOptional<z.ZodEnum<{
1240
+ gateway: "gateway";
1241
+ document: "document";
1242
+ caller: "caller";
1243
+ callee: "callee";
1244
+ definition: "definition";
1245
+ }>>;
1246
+ by: z.ZodOptional<z.ZodString>;
1247
+ }, z.core.$strict>>;
1248
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1249
+ kind: z.ZodLiteral<"Pattern">;
1250
+ urls: z.ZodDefault<z.ZodArray<z.ZodObject<{
1251
+ url: z.ZodString;
1252
+ label: z.ZodOptional<z.ZodString>;
1253
+ }, z.core.$strict>>>;
1254
+ appliesWhen: z.ZodOptional<z.ZodString>;
1255
+ handledBy: z.ZodOptional<z.ZodString>;
1256
+ framework: z.ZodOptional<z.ZodString>;
1257
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1258
+ quote: z.ZodOptional<z.ZodObject<{
1259
+ source: z.ZodString;
1260
+ page: z.ZodString;
1261
+ section: z.ZodString;
1262
+ text: z.ZodString;
1263
+ snapshot: z.ZodISODate;
1264
+ line: z.ZodOptional<z.ZodNumber>;
1265
+ }, z.core.$strict>>;
1266
+ alsoOn: z.ZodDefault<z.ZodArray<z.ZodObject<{
1267
+ source: z.ZodString;
1268
+ page: z.ZodString;
1269
+ section: z.ZodString;
1270
+ text: z.ZodString;
1271
+ snapshot: z.ZodISODate;
1272
+ line: z.ZodOptional<z.ZodNumber>;
1273
+ }, z.core.$strict>>>;
1274
+ code: z.ZodString;
1275
+ name: z.ZodString;
1276
+ definition: z.ZodOptional<z.ZodString>;
1277
+ interaction: z.ZodOptional<z.ZodEnum<{
1278
+ sync: "sync";
1279
+ async: "async";
1280
+ "data-access": "data-access";
1281
+ }>>;
1282
+ patternKind: z.ZodOptional<z.ZodEnum<{
1283
+ "integration-pattern": "integration-pattern";
1284
+ standard: "standard";
1285
+ }>>;
1286
+ rules: z.ZodDefault<z.ZodArray<z.ZodString>>;
1287
+ route: z.ZodOptional<z.ZodString>;
1288
+ targetType: z.ZodOptional<z.ZodString>;
1289
+ controls: z.ZodDefault<z.ZodArray<z.ZodString>>;
1290
+ resilience: z.ZodOptional<z.ZodString>;
1291
+ technology: z.ZodDefault<z.ZodArray<z.ZodString>>;
1292
+ detection: z.ZodDefault<z.ZodArray<z.ZodString>>;
1293
+ checklistItems: z.ZodDefault<z.ZodArray<z.ZodString>>;
1294
+ sourcePage: z.ZodOptional<z.ZodString>;
1295
+ version: z.ZodOptional<z.ZodString>;
1296
+ patternStatus: z.ZodEnum<{
1297
+ deprecated: "deprecated";
1298
+ confirmed: "confirmed";
1299
+ "to-review": "to-review";
1300
+ }>;
1301
+ }, z.core.$strict> | z.ZodObject<{
1302
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1303
+ id: z.ZodString;
1304
+ status: z.ZodEnum<{
1305
+ current: "current";
1306
+ "planned-new": "planned-new";
1307
+ "planned-modify": "planned-modify";
1308
+ "planned-retire": "planned-retire";
1309
+ retired: "retired";
1310
+ }>;
1311
+ confidence: z.ZodEnum<{
1312
+ verified: "verified";
1313
+ inferred: "inferred";
1314
+ asserted: "asserted";
1315
+ }>;
1316
+ evidence: z.ZodArray<z.ZodObject<{
1317
+ source: z.ZodEnum<{
1318
+ code: "code";
1319
+ config: "config";
1320
+ spec: "spec";
1321
+ gateway: "gateway";
1322
+ "event-config": "event-config";
1323
+ infrastructure: "infrastructure";
1324
+ pipeline: "pipeline";
1325
+ migration: "migration";
1326
+ diagram: "diagram";
1327
+ document: "document";
1328
+ export: "export";
1329
+ manual: "manual";
1330
+ }>;
1331
+ repo: z.ZodOptional<z.ZodString>;
1332
+ path: z.ZodOptional<z.ZodString>;
1333
+ line: z.ZodOptional<z.ZodNumber>;
1334
+ commit: z.ZodOptional<z.ZodString>;
1335
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1336
+ extractor: z.ZodOptional<z.ZodString>;
1337
+ dialect: z.ZodOptional<z.ZodString>;
1338
+ side: z.ZodOptional<z.ZodEnum<{
1339
+ gateway: "gateway";
1340
+ document: "document";
1341
+ caller: "caller";
1342
+ callee: "callee";
1343
+ definition: "definition";
1344
+ }>>;
1345
+ by: z.ZodOptional<z.ZodString>;
1346
+ }, z.core.$strict>>;
1347
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1348
+ kind: z.ZodLiteral<"Decision">;
1349
+ urls: z.ZodDefault<z.ZodArray<z.ZodObject<{
1350
+ url: z.ZodString;
1351
+ label: z.ZodOptional<z.ZodString>;
1352
+ }, z.core.$strict>>>;
1353
+ appliesWhen: z.ZodOptional<z.ZodString>;
1354
+ handledBy: z.ZodOptional<z.ZodString>;
1355
+ framework: z.ZodOptional<z.ZodString>;
1356
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1357
+ quote: z.ZodOptional<z.ZodObject<{
1358
+ source: z.ZodString;
1359
+ page: z.ZodString;
1360
+ section: z.ZodString;
1361
+ text: z.ZodString;
1362
+ snapshot: z.ZodISODate;
1363
+ line: z.ZodOptional<z.ZodNumber>;
1364
+ }, z.core.$strict>>;
1365
+ alsoOn: z.ZodDefault<z.ZodArray<z.ZodObject<{
1366
+ source: z.ZodString;
1367
+ page: z.ZodString;
1368
+ section: z.ZodString;
1369
+ text: z.ZodString;
1370
+ snapshot: z.ZodISODate;
1371
+ line: z.ZodOptional<z.ZodNumber>;
1372
+ }, z.core.$strict>>>;
1373
+ title: z.ZodString;
1374
+ decision: z.ZodString;
1375
+ reason: z.ZodOptional<z.ZodString>;
1376
+ links: z.ZodDefault<z.ZodObject<{
1377
+ changes: z.ZodDefault<z.ZodArray<z.ZodString>>;
1378
+ interfaces: z.ZodDefault<z.ZodArray<z.ZodString>>;
1379
+ systems: z.ZodDefault<z.ZodArray<z.ZodString>>;
1380
+ }, z.core.$strict>>;
1381
+ decidedBy: z.ZodOptional<z.ZodString>;
1382
+ date: z.ZodOptional<z.ZodISODate>;
1383
+ decisionKind: z.ZodOptional<z.ZodEnum<{
1384
+ decision: "decision";
1385
+ constraint: "constraint";
1386
+ }>>;
1387
+ stance: z.ZodOptional<z.ZodEnum<{
1388
+ mandated: "mandated";
1389
+ banned: "banned";
1390
+ retiring: "retiring";
1391
+ }>>;
1392
+ dates: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodISODate>>;
1393
+ }, z.core.$strict> | z.ZodObject<{
1394
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1395
+ id: z.ZodString;
1396
+ status: z.ZodEnum<{
1397
+ current: "current";
1398
+ "planned-new": "planned-new";
1399
+ "planned-modify": "planned-modify";
1400
+ "planned-retire": "planned-retire";
1401
+ retired: "retired";
1402
+ }>;
1403
+ confidence: z.ZodEnum<{
1404
+ verified: "verified";
1405
+ inferred: "inferred";
1406
+ asserted: "asserted";
1407
+ }>;
1408
+ evidence: z.ZodArray<z.ZodObject<{
1409
+ source: z.ZodEnum<{
1410
+ code: "code";
1411
+ config: "config";
1412
+ spec: "spec";
1413
+ gateway: "gateway";
1414
+ "event-config": "event-config";
1415
+ infrastructure: "infrastructure";
1416
+ pipeline: "pipeline";
1417
+ migration: "migration";
1418
+ diagram: "diagram";
1419
+ document: "document";
1420
+ export: "export";
1421
+ manual: "manual";
1422
+ }>;
1423
+ repo: z.ZodOptional<z.ZodString>;
1424
+ path: z.ZodOptional<z.ZodString>;
1425
+ line: z.ZodOptional<z.ZodNumber>;
1426
+ commit: z.ZodOptional<z.ZodString>;
1427
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1428
+ extractor: z.ZodOptional<z.ZodString>;
1429
+ dialect: z.ZodOptional<z.ZodString>;
1430
+ side: z.ZodOptional<z.ZodEnum<{
1431
+ gateway: "gateway";
1432
+ document: "document";
1433
+ caller: "caller";
1434
+ callee: "callee";
1435
+ definition: "definition";
1436
+ }>>;
1437
+ by: z.ZodOptional<z.ZodString>;
1438
+ }, z.core.$strict>>;
1439
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1440
+ kind: z.ZodLiteral<"SourceDocument">;
1441
+ path: z.ZodString;
1442
+ docType: z.ZodString;
1443
+ version: z.ZodOptional<z.ZodString>;
1444
+ author: z.ZodOptional<z.ZodString>;
1445
+ date: z.ZodOptional<z.ZodISODate>;
1446
+ hash: z.ZodString;
1447
+ supersededBy: z.ZodOptional<z.ZodString>;
1448
+ recordsProduced: z.ZodDefault<z.ZodArray<z.ZodString>>;
1449
+ }, z.core.$strict> | z.ZodObject<{
1450
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1451
+ id: z.ZodString;
1452
+ status: z.ZodEnum<{
1453
+ current: "current";
1454
+ "planned-new": "planned-new";
1455
+ "planned-modify": "planned-modify";
1456
+ "planned-retire": "planned-retire";
1457
+ retired: "retired";
1458
+ }>;
1459
+ confidence: z.ZodEnum<{
1460
+ verified: "verified";
1461
+ inferred: "inferred";
1462
+ asserted: "asserted";
1463
+ }>;
1464
+ evidence: z.ZodArray<z.ZodObject<{
1465
+ source: z.ZodEnum<{
1466
+ code: "code";
1467
+ config: "config";
1468
+ spec: "spec";
1469
+ gateway: "gateway";
1470
+ "event-config": "event-config";
1471
+ infrastructure: "infrastructure";
1472
+ pipeline: "pipeline";
1473
+ migration: "migration";
1474
+ diagram: "diagram";
1475
+ document: "document";
1476
+ export: "export";
1477
+ manual: "manual";
1478
+ }>;
1479
+ repo: z.ZodOptional<z.ZodString>;
1480
+ path: z.ZodOptional<z.ZodString>;
1481
+ line: z.ZodOptional<z.ZodNumber>;
1482
+ commit: z.ZodOptional<z.ZodString>;
1483
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1484
+ extractor: z.ZodOptional<z.ZodString>;
1485
+ dialect: z.ZodOptional<z.ZodString>;
1486
+ side: z.ZodOptional<z.ZodEnum<{
1487
+ gateway: "gateway";
1488
+ document: "document";
1489
+ caller: "caller";
1490
+ callee: "callee";
1491
+ definition: "definition";
1492
+ }>>;
1493
+ by: z.ZodOptional<z.ZodString>;
1494
+ }, z.core.$strict>>;
1495
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1496
+ kind: z.ZodLiteral<"Party">;
1497
+ name: z.ZodString;
1498
+ partyKind: z.ZodEnum<{
1499
+ vendor: "vendor";
1500
+ "internal-team": "internal-team";
1501
+ }>;
1502
+ owner: z.ZodOptional<z.ZodString>;
1503
+ contacts: z.ZodDefault<z.ZodArray<z.ZodString>>;
1504
+ channel: z.ZodOptional<z.ZodString>;
1505
+ systems: z.ZodDefault<z.ZodArray<z.ZodString>>;
1506
+ typicalLeadTimes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1507
+ responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
1508
+ owns: z.ZodDefault<z.ZodArray<z.ZodString>>;
1509
+ uses: z.ZodDefault<z.ZodArray<z.ZodString>>;
1510
+ aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
1511
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1512
+ quote: z.ZodOptional<z.ZodObject<{
1513
+ source: z.ZodString;
1514
+ page: z.ZodString;
1515
+ section: z.ZodString;
1516
+ text: z.ZodString;
1517
+ snapshot: z.ZodISODate;
1518
+ line: z.ZodOptional<z.ZodNumber>;
1519
+ }, z.core.$strict>>;
1520
+ alsoOn: z.ZodDefault<z.ZodArray<z.ZodObject<{
1521
+ source: z.ZodString;
1522
+ page: z.ZodString;
1523
+ section: z.ZodString;
1524
+ text: z.ZodString;
1525
+ snapshot: z.ZodISODate;
1526
+ line: z.ZodOptional<z.ZodNumber>;
1527
+ }, z.core.$strict>>>;
1528
+ urls: z.ZodDefault<z.ZodArray<z.ZodObject<{
1529
+ url: z.ZodString;
1530
+ label: z.ZodOptional<z.ZodString>;
1531
+ }, z.core.$strict>>>;
1532
+ }, z.core.$strict> | z.ZodObject<{
1533
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1534
+ id: z.ZodString;
1535
+ status: z.ZodEnum<{
1536
+ current: "current";
1537
+ "planned-new": "planned-new";
1538
+ "planned-modify": "planned-modify";
1539
+ "planned-retire": "planned-retire";
1540
+ retired: "retired";
1541
+ }>;
1542
+ confidence: z.ZodEnum<{
1543
+ verified: "verified";
1544
+ inferred: "inferred";
1545
+ asserted: "asserted";
1546
+ }>;
1547
+ evidence: z.ZodArray<z.ZodObject<{
1548
+ source: z.ZodEnum<{
1549
+ code: "code";
1550
+ config: "config";
1551
+ spec: "spec";
1552
+ gateway: "gateway";
1553
+ "event-config": "event-config";
1554
+ infrastructure: "infrastructure";
1555
+ pipeline: "pipeline";
1556
+ migration: "migration";
1557
+ diagram: "diagram";
1558
+ document: "document";
1559
+ export: "export";
1560
+ manual: "manual";
1561
+ }>;
1562
+ repo: z.ZodOptional<z.ZodString>;
1563
+ path: z.ZodOptional<z.ZodString>;
1564
+ line: z.ZodOptional<z.ZodNumber>;
1565
+ commit: z.ZodOptional<z.ZodString>;
1566
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1567
+ extractor: z.ZodOptional<z.ZodString>;
1568
+ dialect: z.ZodOptional<z.ZodString>;
1569
+ side: z.ZodOptional<z.ZodEnum<{
1570
+ gateway: "gateway";
1571
+ document: "document";
1572
+ caller: "caller";
1573
+ callee: "callee";
1574
+ definition: "definition";
1575
+ }>>;
1576
+ by: z.ZodOptional<z.ZodString>;
1577
+ }, z.core.$strict>>;
1578
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1579
+ kind: z.ZodLiteral<"Product">;
1580
+ name: z.ZodString;
1581
+ productKind: z.ZodEnum<{
1582
+ product: "product";
1583
+ project: "project";
1584
+ }>;
1585
+ description: z.ZodOptional<z.ZodString>;
1586
+ aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
1587
+ ownedBy: z.ZodOptional<z.ZodString>;
1588
+ usedBy: z.ZodDefault<z.ZodArray<z.ZodString>>;
1589
+ vendor: z.ZodOptional<z.ZodString>;
1590
+ systems: z.ZodDefault<z.ZodArray<z.ZodString>>;
1591
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1592
+ quote: z.ZodObject<{
1593
+ source: z.ZodString;
1594
+ page: z.ZodString;
1595
+ section: z.ZodString;
1596
+ text: z.ZodString;
1597
+ snapshot: z.ZodISODate;
1598
+ line: z.ZodOptional<z.ZodNumber>;
1599
+ }, z.core.$strict>;
1600
+ alsoOn: z.ZodDefault<z.ZodArray<z.ZodObject<{
1601
+ source: z.ZodString;
1602
+ page: z.ZodString;
1603
+ section: z.ZodString;
1604
+ text: z.ZodString;
1605
+ snapshot: z.ZodISODate;
1606
+ line: z.ZodOptional<z.ZodNumber>;
1607
+ }, z.core.$strict>>>;
1608
+ urls: z.ZodDefault<z.ZodArray<z.ZodObject<{
1609
+ url: z.ZodString;
1610
+ label: z.ZodOptional<z.ZodString>;
1611
+ }, z.core.$strict>>>;
1612
+ }, z.core.$strict> | z.ZodObject<{
1613
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1614
+ id: z.ZodString;
1615
+ status: z.ZodEnum<{
1616
+ current: "current";
1617
+ "planned-new": "planned-new";
1618
+ "planned-modify": "planned-modify";
1619
+ "planned-retire": "planned-retire";
1620
+ retired: "retired";
1621
+ }>;
1622
+ confidence: z.ZodEnum<{
1623
+ verified: "verified";
1624
+ inferred: "inferred";
1625
+ asserted: "asserted";
1626
+ }>;
1627
+ evidence: z.ZodArray<z.ZodObject<{
1628
+ source: z.ZodEnum<{
1629
+ code: "code";
1630
+ config: "config";
1631
+ spec: "spec";
1632
+ gateway: "gateway";
1633
+ "event-config": "event-config";
1634
+ infrastructure: "infrastructure";
1635
+ pipeline: "pipeline";
1636
+ migration: "migration";
1637
+ diagram: "diagram";
1638
+ document: "document";
1639
+ export: "export";
1640
+ manual: "manual";
1641
+ }>;
1642
+ repo: z.ZodOptional<z.ZodString>;
1643
+ path: z.ZodOptional<z.ZodString>;
1644
+ line: z.ZodOptional<z.ZodNumber>;
1645
+ commit: z.ZodOptional<z.ZodString>;
1646
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1647
+ extractor: z.ZodOptional<z.ZodString>;
1648
+ dialect: z.ZodOptional<z.ZodString>;
1649
+ side: z.ZodOptional<z.ZodEnum<{
1650
+ gateway: "gateway";
1651
+ document: "document";
1652
+ caller: "caller";
1653
+ callee: "callee";
1654
+ definition: "definition";
1655
+ }>>;
1656
+ by: z.ZodOptional<z.ZodString>;
1657
+ }, z.core.$strict>>;
1658
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1659
+ kind: z.ZodLiteral<"Initiative">;
1660
+ title: z.ZodString;
1661
+ journey: z.ZodEnum<{
1662
+ migration: "migration";
1663
+ "new-feature": "new-feature";
1664
+ "new-integration": "new-integration";
1665
+ "vendor-api-change": "vendor-api-change";
1666
+ "design-change": "design-change";
1667
+ "retire-system": "retire-system";
1668
+ }>;
1669
+ changes: z.ZodDefault<z.ZodArray<z.ZodString>>;
1670
+ parties: z.ZodDefault<z.ZodArray<z.ZodString>>;
1671
+ commitments: z.ZodDefault<z.ZodArray<z.ZodString>>;
1672
+ targetRelease: z.ZodOptional<z.ZodString>;
1673
+ adoEpic: z.ZodOptional<z.ZodString>;
1674
+ }, z.core.$strict> | z.ZodObject<{
1675
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1676
+ id: z.ZodString;
1677
+ status: z.ZodEnum<{
1678
+ current: "current";
1679
+ "planned-new": "planned-new";
1680
+ "planned-modify": "planned-modify";
1681
+ "planned-retire": "planned-retire";
1682
+ retired: "retired";
1683
+ }>;
1684
+ confidence: z.ZodEnum<{
1685
+ verified: "verified";
1686
+ inferred: "inferred";
1687
+ asserted: "asserted";
1688
+ }>;
1689
+ evidence: z.ZodArray<z.ZodObject<{
1690
+ source: z.ZodEnum<{
1691
+ code: "code";
1692
+ config: "config";
1693
+ spec: "spec";
1694
+ gateway: "gateway";
1695
+ "event-config": "event-config";
1696
+ infrastructure: "infrastructure";
1697
+ pipeline: "pipeline";
1698
+ migration: "migration";
1699
+ diagram: "diagram";
1700
+ document: "document";
1701
+ export: "export";
1702
+ manual: "manual";
1703
+ }>;
1704
+ repo: z.ZodOptional<z.ZodString>;
1705
+ path: z.ZodOptional<z.ZodString>;
1706
+ line: z.ZodOptional<z.ZodNumber>;
1707
+ commit: z.ZodOptional<z.ZodString>;
1708
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1709
+ extractor: z.ZodOptional<z.ZodString>;
1710
+ dialect: z.ZodOptional<z.ZodString>;
1711
+ side: z.ZodOptional<z.ZodEnum<{
1712
+ gateway: "gateway";
1713
+ document: "document";
1714
+ caller: "caller";
1715
+ callee: "callee";
1716
+ definition: "definition";
1717
+ }>>;
1718
+ by: z.ZodOptional<z.ZodString>;
1719
+ }, z.core.$strict>>;
1720
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1721
+ kind: z.ZodLiteral<"Commitment">;
1722
+ initiative: z.ZodString;
1723
+ party: z.ZodString;
1724
+ what: z.ZodString;
1725
+ owner: z.ZodString;
1726
+ neededBy: z.ZodISODate;
1727
+ blocks: z.ZodDefault<z.ZodArray<z.ZodString>>;
1728
+ commitmentStatus: z.ZodEnum<{
1729
+ done: "done";
1730
+ open: "open";
1731
+ "at-risk": "at-risk";
1732
+ slipped: "slipped";
1733
+ }>;
1734
+ }, z.core.$strict> | z.ZodObject<{
1735
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1736
+ id: z.ZodString;
1737
+ status: z.ZodEnum<{
1738
+ current: "current";
1739
+ "planned-new": "planned-new";
1740
+ "planned-modify": "planned-modify";
1741
+ "planned-retire": "planned-retire";
1742
+ retired: "retired";
1743
+ }>;
1744
+ confidence: z.ZodEnum<{
1745
+ verified: "verified";
1746
+ inferred: "inferred";
1747
+ asserted: "asserted";
1748
+ }>;
1749
+ evidence: z.ZodArray<z.ZodObject<{
1750
+ source: z.ZodEnum<{
1751
+ code: "code";
1752
+ config: "config";
1753
+ spec: "spec";
1754
+ gateway: "gateway";
1755
+ "event-config": "event-config";
1756
+ infrastructure: "infrastructure";
1757
+ pipeline: "pipeline";
1758
+ migration: "migration";
1759
+ diagram: "diagram";
1760
+ document: "document";
1761
+ export: "export";
1762
+ manual: "manual";
1763
+ }>;
1764
+ repo: z.ZodOptional<z.ZodString>;
1765
+ path: z.ZodOptional<z.ZodString>;
1766
+ line: z.ZodOptional<z.ZodNumber>;
1767
+ commit: z.ZodOptional<z.ZodString>;
1768
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1769
+ extractor: z.ZodOptional<z.ZodString>;
1770
+ dialect: z.ZodOptional<z.ZodString>;
1771
+ side: z.ZodOptional<z.ZodEnum<{
1772
+ gateway: "gateway";
1773
+ document: "document";
1774
+ caller: "caller";
1775
+ callee: "callee";
1776
+ definition: "definition";
1777
+ }>>;
1778
+ by: z.ZodOptional<z.ZodString>;
1779
+ }, z.core.$strict>>;
1780
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1781
+ kind: z.ZodLiteral<"OwnerQuestion">;
1782
+ system: z.ZodString;
1783
+ owner: z.ZodString;
1784
+ question: z.ZodString;
1785
+ neededFact: z.ZodString;
1786
+ channel: z.ZodEnum<{
1787
+ ado: "ado";
1788
+ teams: "teams";
1789
+ email: "email";
1790
+ }>;
1791
+ questionState: z.ZodEnum<{
1792
+ sent: "sent";
1793
+ answered: "answered";
1794
+ overdue: "overdue";
1795
+ }>;
1796
+ answer: z.ZodOptional<z.ZodString>;
1797
+ }, z.core.$strict> | z.ZodObject<{
1798
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1799
+ id: z.ZodString;
1800
+ status: z.ZodEnum<{
1801
+ current: "current";
1802
+ "planned-new": "planned-new";
1803
+ "planned-modify": "planned-modify";
1804
+ "planned-retire": "planned-retire";
1805
+ retired: "retired";
1806
+ }>;
1807
+ confidence: z.ZodEnum<{
1808
+ verified: "verified";
1809
+ inferred: "inferred";
1810
+ asserted: "asserted";
1811
+ }>;
1812
+ evidence: z.ZodArray<z.ZodObject<{
1813
+ source: z.ZodEnum<{
1814
+ code: "code";
1815
+ config: "config";
1816
+ spec: "spec";
1817
+ gateway: "gateway";
1818
+ "event-config": "event-config";
1819
+ infrastructure: "infrastructure";
1820
+ pipeline: "pipeline";
1821
+ migration: "migration";
1822
+ diagram: "diagram";
1823
+ document: "document";
1824
+ export: "export";
1825
+ manual: "manual";
1826
+ }>;
1827
+ repo: z.ZodOptional<z.ZodString>;
1828
+ path: z.ZodOptional<z.ZodString>;
1829
+ line: z.ZodOptional<z.ZodNumber>;
1830
+ commit: z.ZodOptional<z.ZodString>;
1831
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1832
+ extractor: z.ZodOptional<z.ZodString>;
1833
+ dialect: z.ZodOptional<z.ZodString>;
1834
+ side: z.ZodOptional<z.ZodEnum<{
1835
+ gateway: "gateway";
1836
+ document: "document";
1837
+ caller: "caller";
1838
+ callee: "callee";
1839
+ definition: "definition";
1840
+ }>>;
1841
+ by: z.ZodOptional<z.ZodString>;
1842
+ }, z.core.$strict>>;
1843
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1844
+ kind: z.ZodLiteral<"ProcessDefinition">;
1845
+ title: z.ZodString;
1846
+ processKind: z.ZodEnum<{
1847
+ process: "process";
1848
+ request: "request";
1849
+ }>;
1850
+ appliesWhen: z.ZodString;
1851
+ leadTime: z.ZodOptional<z.ZodString>;
1852
+ handledBy: z.ZodOptional<z.ZodString>;
1853
+ catalogueItem: z.ZodOptional<z.ZodString>;
1854
+ inputs: z.ZodDefault<z.ZodArray<z.ZodString>>;
1855
+ steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
1856
+ notes: z.ZodOptional<z.ZodString>;
1857
+ framework: z.ZodOptional<z.ZodString>;
1858
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1859
+ quote: z.ZodObject<{
1860
+ source: z.ZodString;
1861
+ page: z.ZodString;
1862
+ section: z.ZodString;
1863
+ text: z.ZodString;
1864
+ snapshot: z.ZodISODate;
1865
+ line: z.ZodOptional<z.ZodNumber>;
1866
+ }, z.core.$strict>;
1867
+ alsoOn: z.ZodDefault<z.ZodArray<z.ZodObject<{
1868
+ source: z.ZodString;
1869
+ page: z.ZodString;
1870
+ section: z.ZodString;
1871
+ text: z.ZodString;
1872
+ snapshot: z.ZodISODate;
1873
+ line: z.ZodOptional<z.ZodNumber>;
1874
+ }, z.core.$strict>>>;
1875
+ urls: z.ZodDefault<z.ZodArray<z.ZodObject<{
1876
+ url: z.ZodString;
1877
+ label: z.ZodOptional<z.ZodString>;
1878
+ }, z.core.$strict>>>;
1879
+ }, z.core.$strict> | z.ZodObject<{
1880
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1881
+ id: z.ZodString;
1882
+ status: z.ZodEnum<{
1883
+ current: "current";
1884
+ "planned-new": "planned-new";
1885
+ "planned-modify": "planned-modify";
1886
+ "planned-retire": "planned-retire";
1887
+ retired: "retired";
1888
+ }>;
1889
+ confidence: z.ZodEnum<{
1890
+ verified: "verified";
1891
+ inferred: "inferred";
1892
+ asserted: "asserted";
1893
+ }>;
1894
+ evidence: z.ZodArray<z.ZodObject<{
1895
+ source: z.ZodEnum<{
1896
+ code: "code";
1897
+ config: "config";
1898
+ spec: "spec";
1899
+ gateway: "gateway";
1900
+ "event-config": "event-config";
1901
+ infrastructure: "infrastructure";
1902
+ pipeline: "pipeline";
1903
+ migration: "migration";
1904
+ diagram: "diagram";
1905
+ document: "document";
1906
+ export: "export";
1907
+ manual: "manual";
1908
+ }>;
1909
+ repo: z.ZodOptional<z.ZodString>;
1910
+ path: z.ZodOptional<z.ZodString>;
1911
+ line: z.ZodOptional<z.ZodNumber>;
1912
+ commit: z.ZodOptional<z.ZodString>;
1913
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1914
+ extractor: z.ZodOptional<z.ZodString>;
1915
+ dialect: z.ZodOptional<z.ZodString>;
1916
+ side: z.ZodOptional<z.ZodEnum<{
1917
+ gateway: "gateway";
1918
+ document: "document";
1919
+ caller: "caller";
1920
+ callee: "callee";
1921
+ definition: "definition";
1922
+ }>>;
1923
+ by: z.ZodOptional<z.ZodString>;
1924
+ }, z.core.$strict>>;
1925
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1926
+ kind: z.ZodLiteral<"ProcessArtifact">;
1927
+ artifactType: z.ZodEnum<{
1928
+ "snow-ticket": "snow-ticket";
1929
+ "ado-item": "ado-item";
1930
+ change: "change";
1931
+ }>;
1932
+ ref: z.ZodString;
1933
+ processStatus: z.ZodOptional<z.ZodString>;
1934
+ linkedRecords: z.ZodDefault<z.ZodArray<z.ZodString>>;
1935
+ }, z.core.$strict> | z.ZodObject<{
1936
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1937
+ id: z.ZodString;
1938
+ status: z.ZodEnum<{
1939
+ current: "current";
1940
+ "planned-new": "planned-new";
1941
+ "planned-modify": "planned-modify";
1942
+ "planned-retire": "planned-retire";
1943
+ retired: "retired";
1944
+ }>;
1945
+ confidence: z.ZodEnum<{
1946
+ verified: "verified";
1947
+ inferred: "inferred";
1948
+ asserted: "asserted";
1949
+ }>;
1950
+ evidence: z.ZodArray<z.ZodObject<{
1951
+ source: z.ZodEnum<{
1952
+ code: "code";
1953
+ config: "config";
1954
+ spec: "spec";
1955
+ gateway: "gateway";
1956
+ "event-config": "event-config";
1957
+ infrastructure: "infrastructure";
1958
+ pipeline: "pipeline";
1959
+ migration: "migration";
1960
+ diagram: "diagram";
1961
+ document: "document";
1962
+ export: "export";
1963
+ manual: "manual";
1964
+ }>;
1965
+ repo: z.ZodOptional<z.ZodString>;
1966
+ path: z.ZodOptional<z.ZodString>;
1967
+ line: z.ZodOptional<z.ZodNumber>;
1968
+ commit: z.ZodOptional<z.ZodString>;
1969
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
1970
+ extractor: z.ZodOptional<z.ZodString>;
1971
+ dialect: z.ZodOptional<z.ZodString>;
1972
+ side: z.ZodOptional<z.ZodEnum<{
1973
+ gateway: "gateway";
1974
+ document: "document";
1975
+ caller: "caller";
1976
+ callee: "callee";
1977
+ definition: "definition";
1978
+ }>>;
1979
+ by: z.ZodOptional<z.ZodString>;
1980
+ }, z.core.$strict>>;
1981
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1982
+ kind: z.ZodLiteral<"Capability">;
1983
+ name: z.ZodString;
1984
+ description: z.ZodOptional<z.ZodString>;
1985
+ entryPoints: z.ZodDefault<z.ZodArray<z.ZodString>>;
1986
+ records: z.ZodDefault<z.ZodArray<z.ZodString>>;
1987
+ owner: z.ZodOptional<z.ZodString>;
1988
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1989
+ externalRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1990
+ system: z.ZodEnum<{
1991
+ other: "other";
1992
+ ado: "ado";
1993
+ jira: "jira";
1994
+ wiki: "wiki";
1995
+ openspec: "openspec";
1996
+ }>;
1997
+ id: z.ZodString;
1998
+ url: z.ZodOptional<z.ZodString>;
1999
+ title: z.ZodOptional<z.ZodString>;
2000
+ }, z.core.$strict>>>;
2001
+ namedBy: z.ZodEnum<{
2002
+ detected: "detected";
2003
+ ai: "ai";
2004
+ person: "person";
2005
+ }>;
2006
+ }, z.core.$strict> | z.ZodObject<{
2007
+ kind: z.ZodLiteral<"Flow">;
2008
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
2009
+ id: z.ZodString;
2010
+ status: z.ZodDefault<z.ZodEnum<{
2011
+ current: "current";
2012
+ "planned-new": "planned-new";
2013
+ "planned-modify": "planned-modify";
2014
+ "planned-retire": "planned-retire";
2015
+ retired: "retired";
2016
+ }>>;
2017
+ confidence: z.ZodDefault<z.ZodEnum<{
2018
+ verified: "verified";
2019
+ inferred: "inferred";
2020
+ asserted: "asserted";
2021
+ }>>;
2022
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
2023
+ source: z.ZodEnum<{
2024
+ code: "code";
2025
+ config: "config";
2026
+ spec: "spec";
2027
+ gateway: "gateway";
2028
+ "event-config": "event-config";
2029
+ infrastructure: "infrastructure";
2030
+ pipeline: "pipeline";
2031
+ migration: "migration";
2032
+ diagram: "diagram";
2033
+ document: "document";
2034
+ export: "export";
2035
+ manual: "manual";
2036
+ }>;
2037
+ repo: z.ZodOptional<z.ZodString>;
2038
+ path: z.ZodOptional<z.ZodString>;
2039
+ line: z.ZodOptional<z.ZodNumber>;
2040
+ commit: z.ZodOptional<z.ZodString>;
2041
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2042
+ extractor: z.ZodOptional<z.ZodString>;
2043
+ dialect: z.ZodOptional<z.ZodString>;
2044
+ side: z.ZodOptional<z.ZodEnum<{
2045
+ gateway: "gateway";
2046
+ document: "document";
2047
+ caller: "caller";
2048
+ callee: "callee";
2049
+ definition: "definition";
2050
+ }>>;
2051
+ by: z.ZodOptional<z.ZodString>;
2052
+ }, z.core.$strict>>>;
2053
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2054
+ component: z.ZodString;
2055
+ name: z.ZodString;
2056
+ trigger: z.ZodObject<{
2057
+ kind: z.ZodEnum<{
2058
+ endpoint: "endpoint";
2059
+ page: "page";
2060
+ action: "action";
2061
+ listener: "listener";
2062
+ job: "job";
2063
+ }>;
2064
+ ref: z.ZodOptional<z.ZodString>;
2065
+ what: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodTransform<string, string | number | boolean>>, z.ZodString>;
2066
+ caller: z.ZodOptional<z.ZodObject<{
2067
+ who: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodTransform<string, string | number | boolean>>, z.ZodString>;
2068
+ ref: z.ZodOptional<z.ZodString>;
2069
+ via: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodTransform<string, string | number | boolean>>, z.ZodString>>;
2070
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
2071
+ source: z.ZodEnum<{
2072
+ code: "code";
2073
+ config: "config";
2074
+ spec: "spec";
2075
+ gateway: "gateway";
2076
+ "event-config": "event-config";
2077
+ infrastructure: "infrastructure";
2078
+ pipeline: "pipeline";
2079
+ migration: "migration";
2080
+ diagram: "diagram";
2081
+ document: "document";
2082
+ export: "export";
2083
+ manual: "manual";
2084
+ }>;
2085
+ repo: z.ZodOptional<z.ZodString>;
2086
+ path: z.ZodOptional<z.ZodString>;
2087
+ line: z.ZodOptional<z.ZodNumber>;
2088
+ commit: z.ZodOptional<z.ZodString>;
2089
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2090
+ extractor: z.ZodOptional<z.ZodString>;
2091
+ dialect: z.ZodOptional<z.ZodString>;
2092
+ side: z.ZodOptional<z.ZodEnum<{
2093
+ gateway: "gateway";
2094
+ document: "document";
2095
+ caller: "caller";
2096
+ callee: "callee";
2097
+ definition: "definition";
2098
+ }>>;
2099
+ by: z.ZodOptional<z.ZodString>;
2100
+ }, z.core.$strict>>>;
2101
+ }, z.core.$strict>>;
2102
+ evidence: z.ZodArray<z.ZodObject<{
2103
+ source: z.ZodEnum<{
2104
+ code: "code";
2105
+ config: "config";
2106
+ spec: "spec";
2107
+ gateway: "gateway";
2108
+ "event-config": "event-config";
2109
+ infrastructure: "infrastructure";
2110
+ pipeline: "pipeline";
2111
+ migration: "migration";
2112
+ diagram: "diagram";
2113
+ document: "document";
2114
+ export: "export";
2115
+ manual: "manual";
2116
+ }>;
2117
+ repo: z.ZodOptional<z.ZodString>;
2118
+ path: z.ZodOptional<z.ZodString>;
2119
+ line: z.ZodOptional<z.ZodNumber>;
2120
+ commit: z.ZodOptional<z.ZodString>;
2121
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2122
+ extractor: z.ZodOptional<z.ZodString>;
2123
+ dialect: z.ZodOptional<z.ZodString>;
2124
+ side: z.ZodOptional<z.ZodEnum<{
2125
+ gateway: "gateway";
2126
+ document: "document";
2127
+ caller: "caller";
2128
+ callee: "callee";
2129
+ definition: "definition";
2130
+ }>>;
2131
+ by: z.ZodOptional<z.ZodString>;
2132
+ }, z.core.$strict>>;
2133
+ }, z.core.$strict>;
2134
+ steps: z.ZodArray<z.ZodObject<{
2135
+ kind: z.ZodEnum<{
2136
+ transform: "transform";
2137
+ retry: "retry";
2138
+ entry: "entry";
2139
+ lookup: "lookup";
2140
+ read: "read";
2141
+ write: "write";
2142
+ "call-out": "call-out";
2143
+ publish: "publish";
2144
+ validate: "validate";
2145
+ branch: "branch";
2146
+ log: "log";
2147
+ respond: "respond";
2148
+ loop: "loop";
2149
+ }>;
2150
+ what: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodTransform<string, string | number | boolean>>, z.ZodString>;
2151
+ refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
2152
+ to: z.ZodOptional<z.ZodObject<{
2153
+ component: z.ZodString;
2154
+ entry: z.ZodString;
2155
+ }, z.core.$strict>>;
2156
+ data: z.ZodOptional<z.ZodObject<{
2157
+ sends: z.ZodOptional<z.ZodArray<z.ZodString>>;
2158
+ returns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2159
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
2160
+ checks: z.ZodOptional<z.ZodArray<z.ZodString>>;
2161
+ from: z.ZodOptional<z.ZodArray<z.ZodString>>;
2162
+ to: z.ZodOptional<z.ZodArray<z.ZodString>>;
2163
+ }, z.core.$strict>>;
2164
+ store: z.ZodOptional<z.ZodObject<{
2165
+ table: z.ZodString;
2166
+ columns: z.ZodDefault<z.ZodArray<z.ZodString>>;
2167
+ }, z.core.$strict>>;
2168
+ evidence: z.ZodArray<z.ZodObject<{
2169
+ source: z.ZodEnum<{
2170
+ code: "code";
2171
+ config: "config";
2172
+ spec: "spec";
2173
+ gateway: "gateway";
2174
+ "event-config": "event-config";
2175
+ infrastructure: "infrastructure";
2176
+ pipeline: "pipeline";
2177
+ migration: "migration";
2178
+ diagram: "diagram";
2179
+ document: "document";
2180
+ export: "export";
2181
+ manual: "manual";
2182
+ }>;
2183
+ repo: z.ZodOptional<z.ZodString>;
2184
+ path: z.ZodOptional<z.ZodString>;
2185
+ line: z.ZodOptional<z.ZodNumber>;
2186
+ commit: z.ZodOptional<z.ZodString>;
2187
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2188
+ extractor: z.ZodOptional<z.ZodString>;
2189
+ dialect: z.ZodOptional<z.ZodString>;
2190
+ side: z.ZodOptional<z.ZodEnum<{
2191
+ gateway: "gateway";
2192
+ document: "document";
2193
+ caller: "caller";
2194
+ callee: "callee";
2195
+ definition: "definition";
2196
+ }>>;
2197
+ by: z.ZodOptional<z.ZodString>;
2198
+ }, z.core.$strict>>;
2199
+ confirmedBy: z.ZodOptional<z.ZodEnum<{
2200
+ check: "check";
2201
+ ai: "ai";
2202
+ person: "person";
2203
+ }>>;
2204
+ repeats: z.ZodOptional<z.ZodObject<{
2205
+ from: z.ZodNumber;
2206
+ to: z.ZodNumber;
2207
+ }, z.core.$strict>>;
2208
+ }, z.core.$strict>>;
2209
+ errors: z.ZodDefault<z.ZodArray<z.ZodObject<{
2210
+ when: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodTransform<string, string | number | boolean>>, z.ZodString>;
2211
+ then: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodTransform<string, string | number | boolean>>, z.ZodString>;
2212
+ evidence: z.ZodArray<z.ZodObject<{
2213
+ source: z.ZodEnum<{
2214
+ code: "code";
2215
+ config: "config";
2216
+ spec: "spec";
2217
+ gateway: "gateway";
2218
+ "event-config": "event-config";
2219
+ infrastructure: "infrastructure";
2220
+ pipeline: "pipeline";
2221
+ migration: "migration";
2222
+ diagram: "diagram";
2223
+ document: "document";
2224
+ export: "export";
2225
+ manual: "manual";
2226
+ }>;
2227
+ repo: z.ZodOptional<z.ZodString>;
2228
+ path: z.ZodOptional<z.ZodString>;
2229
+ line: z.ZodOptional<z.ZodNumber>;
2230
+ commit: z.ZodOptional<z.ZodString>;
2231
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2232
+ extractor: z.ZodOptional<z.ZodString>;
2233
+ dialect: z.ZodOptional<z.ZodString>;
2234
+ side: z.ZodOptional<z.ZodEnum<{
2235
+ gateway: "gateway";
2236
+ document: "document";
2237
+ caller: "caller";
2238
+ callee: "callee";
2239
+ definition: "definition";
2240
+ }>>;
2241
+ by: z.ZodOptional<z.ZodString>;
2242
+ }, z.core.$strict>>;
2243
+ confirmedBy: z.ZodOptional<z.ZodEnum<{
2244
+ check: "check";
2245
+ ai: "ai";
2246
+ person: "person";
2247
+ }>>;
2248
+ }, z.core.$strict>>>;
2249
+ family: z.ZodDefault<z.ZodArray<z.ZodString>>;
2250
+ template: z.ZodString;
2251
+ }, z.core.$strict> | z.ZodObject<{
2252
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2253
+ id: z.ZodString;
2254
+ status: z.ZodEnum<{
2255
+ current: "current";
2256
+ "planned-new": "planned-new";
2257
+ "planned-modify": "planned-modify";
2258
+ "planned-retire": "planned-retire";
2259
+ retired: "retired";
2260
+ }>;
2261
+ confidence: z.ZodEnum<{
2262
+ verified: "verified";
2263
+ inferred: "inferred";
2264
+ asserted: "asserted";
2265
+ }>;
2266
+ evidence: z.ZodArray<z.ZodObject<{
2267
+ source: z.ZodEnum<{
2268
+ code: "code";
2269
+ config: "config";
2270
+ spec: "spec";
2271
+ gateway: "gateway";
2272
+ "event-config": "event-config";
2273
+ infrastructure: "infrastructure";
2274
+ pipeline: "pipeline";
2275
+ migration: "migration";
2276
+ diagram: "diagram";
2277
+ document: "document";
2278
+ export: "export";
2279
+ manual: "manual";
2280
+ }>;
2281
+ repo: z.ZodOptional<z.ZodString>;
2282
+ path: z.ZodOptional<z.ZodString>;
2283
+ line: z.ZodOptional<z.ZodNumber>;
2284
+ commit: z.ZodOptional<z.ZodString>;
2285
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2286
+ extractor: z.ZodOptional<z.ZodString>;
2287
+ dialect: z.ZodOptional<z.ZodString>;
2288
+ side: z.ZodOptional<z.ZodEnum<{
2289
+ gateway: "gateway";
2290
+ document: "document";
2291
+ caller: "caller";
2292
+ callee: "callee";
2293
+ definition: "definition";
2294
+ }>>;
2295
+ by: z.ZodOptional<z.ZodString>;
2296
+ }, z.core.$strict>>;
2297
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2298
+ kind: z.ZodLiteral<"Unresolved">;
2299
+ unresolvedKind: z.ZodString;
2300
+ raw: z.ZodString;
2301
+ owner: z.ZodOptional<z.ZodString>;
2302
+ }, z.core.$strict> | z.ZodObject<{
2303
+ kind: z.ZodLiteral<"CuratedDecision">;
2304
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2305
+ id: z.ZodString;
2306
+ status: z.ZodEnum<{
2307
+ current: "current";
2308
+ "planned-new": "planned-new";
2309
+ "planned-modify": "planned-modify";
2310
+ "planned-retire": "planned-retire";
2311
+ retired: "retired";
2312
+ }>;
2313
+ confidence: z.ZodLiteral<"asserted">;
2314
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
2315
+ source: z.ZodEnum<{
2316
+ code: "code";
2317
+ config: "config";
2318
+ spec: "spec";
2319
+ gateway: "gateway";
2320
+ "event-config": "event-config";
2321
+ infrastructure: "infrastructure";
2322
+ pipeline: "pipeline";
2323
+ migration: "migration";
2324
+ diagram: "diagram";
2325
+ document: "document";
2326
+ export: "export";
2327
+ manual: "manual";
2328
+ }>;
2329
+ repo: z.ZodOptional<z.ZodString>;
2330
+ path: z.ZodOptional<z.ZodString>;
2331
+ line: z.ZodOptional<z.ZodNumber>;
2332
+ commit: z.ZodOptional<z.ZodString>;
2333
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2334
+ extractor: z.ZodOptional<z.ZodString>;
2335
+ dialect: z.ZodOptional<z.ZodString>;
2336
+ side: z.ZodOptional<z.ZodEnum<{
2337
+ gateway: "gateway";
2338
+ document: "document";
2339
+ caller: "caller";
2340
+ callee: "callee";
2341
+ definition: "definition";
2342
+ }>>;
2343
+ by: z.ZodOptional<z.ZodString>;
2344
+ }, z.core.$strict>>>;
2345
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2346
+ target: z.ZodString;
2347
+ action: z.ZodEnum<{
2348
+ alias: "alias";
2349
+ assert: "assert";
2350
+ suppress: "suppress";
2351
+ "resolve-conflict": "resolve-conflict";
2352
+ classify: "classify";
2353
+ }>;
2354
+ value: z.ZodUnknown;
2355
+ reason: z.ZodString;
2356
+ by: z.ZodString;
2357
+ at: z.ZodISODateTime;
2358
+ pr: z.ZodOptional<z.ZodString>;
2359
+ }, z.core.$strict>, ...(z.ZodObject<{
2360
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2361
+ id: z.ZodString;
2362
+ status: z.ZodEnum<{
2363
+ current: "current";
2364
+ "planned-new": "planned-new";
2365
+ "planned-modify": "planned-modify";
2366
+ "planned-retire": "planned-retire";
2367
+ retired: "retired";
2368
+ }>;
2369
+ confidence: z.ZodEnum<{
2370
+ verified: "verified";
2371
+ inferred: "inferred";
2372
+ asserted: "asserted";
2373
+ }>;
2374
+ evidence: z.ZodArray<z.ZodObject<{
2375
+ source: z.ZodEnum<{
2376
+ code: "code";
2377
+ config: "config";
2378
+ spec: "spec";
2379
+ gateway: "gateway";
2380
+ "event-config": "event-config";
2381
+ infrastructure: "infrastructure";
2382
+ pipeline: "pipeline";
2383
+ migration: "migration";
2384
+ diagram: "diagram";
2385
+ document: "document";
2386
+ export: "export";
2387
+ manual: "manual";
2388
+ }>;
2389
+ repo: z.ZodOptional<z.ZodString>;
2390
+ path: z.ZodOptional<z.ZodString>;
2391
+ line: z.ZodOptional<z.ZodNumber>;
2392
+ commit: z.ZodOptional<z.ZodString>;
2393
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2394
+ extractor: z.ZodOptional<z.ZodString>;
2395
+ dialect: z.ZodOptional<z.ZodString>;
2396
+ side: z.ZodOptional<z.ZodEnum<{
2397
+ gateway: "gateway";
2398
+ document: "document";
2399
+ caller: "caller";
2400
+ callee: "callee";
2401
+ definition: "definition";
2402
+ }>>;
2403
+ by: z.ZodOptional<z.ZodString>;
2404
+ }, z.core.$strict>>;
2405
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2406
+ kind: z.ZodLiteral<"System">;
2407
+ name: z.ZodString;
2408
+ boundary: z.ZodEnum<{
2409
+ product: "product";
2410
+ internal: "internal";
2411
+ vendor: "vendor";
2412
+ }>;
2413
+ owner: z.ZodOptional<z.ZodString>;
2414
+ repos: z.ZodDefault<z.ZodArray<z.ZodString>>;
2415
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
2416
+ accessGroup: z.ZodDefault<z.ZodString>;
2417
+ }, z.core.$strict> | z.ZodObject<{
2418
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2419
+ id: z.ZodString;
2420
+ status: z.ZodEnum<{
2421
+ current: "current";
2422
+ "planned-new": "planned-new";
2423
+ "planned-modify": "planned-modify";
2424
+ "planned-retire": "planned-retire";
2425
+ retired: "retired";
2426
+ }>;
2427
+ confidence: z.ZodEnum<{
2428
+ verified: "verified";
2429
+ inferred: "inferred";
2430
+ asserted: "asserted";
2431
+ }>;
2432
+ evidence: z.ZodArray<z.ZodObject<{
2433
+ source: z.ZodEnum<{
2434
+ code: "code";
2435
+ config: "config";
2436
+ spec: "spec";
2437
+ gateway: "gateway";
2438
+ "event-config": "event-config";
2439
+ infrastructure: "infrastructure";
2440
+ pipeline: "pipeline";
2441
+ migration: "migration";
2442
+ diagram: "diagram";
2443
+ document: "document";
2444
+ export: "export";
2445
+ manual: "manual";
2446
+ }>;
2447
+ repo: z.ZodOptional<z.ZodString>;
2448
+ path: z.ZodOptional<z.ZodString>;
2449
+ line: z.ZodOptional<z.ZodNumber>;
2450
+ commit: z.ZodOptional<z.ZodString>;
2451
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2452
+ extractor: z.ZodOptional<z.ZodString>;
2453
+ dialect: z.ZodOptional<z.ZodString>;
2454
+ side: z.ZodOptional<z.ZodEnum<{
2455
+ gateway: "gateway";
2456
+ document: "document";
2457
+ caller: "caller";
2458
+ callee: "callee";
2459
+ definition: "definition";
2460
+ }>>;
2461
+ by: z.ZodOptional<z.ZodString>;
2462
+ }, z.core.$strict>>;
2463
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2464
+ kind: z.ZodLiteral<"Component">;
2465
+ system: z.ZodString;
2466
+ repo: z.ZodOptional<z.ZodString>;
2467
+ path: z.ZodOptional<z.ZodString>;
2468
+ type: z.ZodString;
2469
+ runtime: z.ZodOptional<z.ZodString>;
2470
+ migration: z.ZodOptional<z.ZodEnum<{
2471
+ "not-started": "not-started";
2472
+ "in-progress": "in-progress";
2473
+ done: "done";
2474
+ "not-applicable": "not-applicable";
2475
+ }>>;
2476
+ uses: z.ZodOptional<z.ZodArray<z.ZodString>>;
2477
+ }, z.core.$strict> | z.ZodObject<{
2478
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2479
+ id: z.ZodString;
2480
+ status: z.ZodEnum<{
2481
+ current: "current";
2482
+ "planned-new": "planned-new";
2483
+ "planned-modify": "planned-modify";
2484
+ "planned-retire": "planned-retire";
2485
+ retired: "retired";
2486
+ }>;
2487
+ confidence: z.ZodEnum<{
2488
+ verified: "verified";
2489
+ inferred: "inferred";
2490
+ asserted: "asserted";
2491
+ }>;
2492
+ evidence: z.ZodArray<z.ZodObject<{
2493
+ source: z.ZodEnum<{
2494
+ code: "code";
2495
+ config: "config";
2496
+ spec: "spec";
2497
+ gateway: "gateway";
2498
+ "event-config": "event-config";
2499
+ infrastructure: "infrastructure";
2500
+ pipeline: "pipeline";
2501
+ migration: "migration";
2502
+ diagram: "diagram";
2503
+ document: "document";
2504
+ export: "export";
2505
+ manual: "manual";
2506
+ }>;
2507
+ repo: z.ZodOptional<z.ZodString>;
2508
+ path: z.ZodOptional<z.ZodString>;
2509
+ line: z.ZodOptional<z.ZodNumber>;
2510
+ commit: z.ZodOptional<z.ZodString>;
2511
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2512
+ extractor: z.ZodOptional<z.ZodString>;
2513
+ dialect: z.ZodOptional<z.ZodString>;
2514
+ side: z.ZodOptional<z.ZodEnum<{
2515
+ gateway: "gateway";
2516
+ document: "document";
2517
+ caller: "caller";
2518
+ callee: "callee";
2519
+ definition: "definition";
2520
+ }>>;
2521
+ by: z.ZodOptional<z.ZodString>;
2522
+ }, z.core.$strict>>;
2523
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2524
+ kind: z.ZodLiteral<"Endpoint">;
2525
+ component: z.ZodString;
2526
+ endpointType: z.ZodEnum<{
2527
+ function: "function";
2528
+ "batch-job": "batch-job";
2529
+ rest: "rest";
2530
+ grpc: "grpc";
2531
+ soap: "soap";
2532
+ "event-topic": "event-topic";
2533
+ "file-drop": "file-drop";
2534
+ "mq-queue": "mq-queue";
2535
+ graphql: "graphql";
2536
+ websocket: "websocket";
2537
+ sse: "sse";
2538
+ webhook: "webhook";
2539
+ transaction: "transaction";
2540
+ }>;
2541
+ method: z.ZodOptional<z.ZodString>;
2542
+ pathOrTopic: z.ZodString;
2543
+ normalizedPath: z.ZodOptional<z.ZodString>;
2544
+ schemaRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
2545
+ auth: z.ZodOptional<z.ZodEnum<{
2546
+ none: "none";
2547
+ oauth2: "oauth2";
2548
+ mtls: "mtls";
2549
+ "api-key": "api-key";
2550
+ basic: "basic";
2551
+ other: "other";
2552
+ }>>;
2553
+ }, z.core.$strict> | z.ZodObject<{
2554
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2555
+ id: z.ZodString;
2556
+ status: z.ZodEnum<{
2557
+ current: "current";
2558
+ "planned-new": "planned-new";
2559
+ "planned-modify": "planned-modify";
2560
+ "planned-retire": "planned-retire";
2561
+ retired: "retired";
2562
+ }>;
2563
+ confidence: z.ZodEnum<{
2564
+ verified: "verified";
2565
+ inferred: "inferred";
2566
+ asserted: "asserted";
2567
+ }>;
2568
+ evidence: z.ZodArray<z.ZodObject<{
2569
+ source: z.ZodEnum<{
2570
+ code: "code";
2571
+ config: "config";
2572
+ spec: "spec";
2573
+ gateway: "gateway";
2574
+ "event-config": "event-config";
2575
+ infrastructure: "infrastructure";
2576
+ pipeline: "pipeline";
2577
+ migration: "migration";
2578
+ diagram: "diagram";
2579
+ document: "document";
2580
+ export: "export";
2581
+ manual: "manual";
2582
+ }>;
2583
+ repo: z.ZodOptional<z.ZodString>;
2584
+ path: z.ZodOptional<z.ZodString>;
2585
+ line: z.ZodOptional<z.ZodNumber>;
2586
+ commit: z.ZodOptional<z.ZodString>;
2587
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2588
+ extractor: z.ZodOptional<z.ZodString>;
2589
+ dialect: z.ZodOptional<z.ZodString>;
2590
+ side: z.ZodOptional<z.ZodEnum<{
2591
+ gateway: "gateway";
2592
+ document: "document";
2593
+ caller: "caller";
2594
+ callee: "callee";
2595
+ definition: "definition";
2596
+ }>>;
2597
+ by: z.ZodOptional<z.ZodString>;
2598
+ }, z.core.$strict>>;
2599
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2600
+ kind: z.ZodLiteral<"Interface">;
2601
+ from: z.ZodString;
2602
+ to: z.ZodString;
2603
+ endpoint: z.ZodOptional<z.ZodString>;
2604
+ via: z.ZodEnum<{
2605
+ gateway: "gateway";
2606
+ other: "other";
2607
+ webhook: "webhook";
2608
+ direct: "direct";
2609
+ "event-bus": "event-bus";
2610
+ pubsub: "pubsub";
2611
+ sftp: "sftp";
2612
+ mq: "mq";
2613
+ mesh: "mesh";
2614
+ }>;
2615
+ route: z.ZodOptional<z.ZodString>;
2616
+ method: z.ZodOptional<z.ZodString>;
2617
+ normalizedPath: z.ZodString;
2618
+ auth: z.ZodOptional<z.ZodEnum<{
2619
+ none: "none";
2620
+ oauth2: "oauth2";
2621
+ mtls: "mtls";
2622
+ "api-key": "api-key";
2623
+ basic: "basic";
2624
+ other: "other";
2625
+ }>>;
2626
+ sync: z.ZodEnum<{
2627
+ sync: "sync";
2628
+ async: "async";
2629
+ }>;
2630
+ direction: z.ZodDefault<z.ZodEnum<{
2631
+ outbound: "outbound";
2632
+ inbound: "inbound";
2633
+ bidirectional: "bidirectional";
2634
+ }>>;
2635
+ pattern: z.ZodOptional<z.ZodObject<{
2636
+ code: z.ZodString;
2637
+ source: z.ZodEnum<{
2638
+ inferred: "inferred";
2639
+ asserted: "asserted";
2640
+ drawn: "drawn";
2641
+ }>;
2642
+ }, z.core.$strict>>;
2643
+ conflicts: z.ZodDefault<z.ZodArray<z.ZodObject<{
2644
+ field: z.ZodString;
2645
+ values: z.ZodArray<z.ZodString>;
2646
+ note: z.ZodOptional<z.ZodString>;
2647
+ }, z.core.$strict>>>;
2648
+ }, z.core.$strict> | z.ZodObject<{
2649
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2650
+ id: z.ZodString;
2651
+ status: z.ZodEnum<{
2652
+ current: "current";
2653
+ "planned-new": "planned-new";
2654
+ "planned-modify": "planned-modify";
2655
+ "planned-retire": "planned-retire";
2656
+ retired: "retired";
2657
+ }>;
2658
+ confidence: z.ZodEnum<{
2659
+ verified: "verified";
2660
+ inferred: "inferred";
2661
+ asserted: "asserted";
2662
+ }>;
2663
+ evidence: z.ZodArray<z.ZodObject<{
2664
+ source: z.ZodEnum<{
2665
+ code: "code";
2666
+ config: "config";
2667
+ spec: "spec";
2668
+ gateway: "gateway";
2669
+ "event-config": "event-config";
2670
+ infrastructure: "infrastructure";
2671
+ pipeline: "pipeline";
2672
+ migration: "migration";
2673
+ diagram: "diagram";
2674
+ document: "document";
2675
+ export: "export";
2676
+ manual: "manual";
2677
+ }>;
2678
+ repo: z.ZodOptional<z.ZodString>;
2679
+ path: z.ZodOptional<z.ZodString>;
2680
+ line: z.ZodOptional<z.ZodNumber>;
2681
+ commit: z.ZodOptional<z.ZodString>;
2682
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2683
+ extractor: z.ZodOptional<z.ZodString>;
2684
+ dialect: z.ZodOptional<z.ZodString>;
2685
+ side: z.ZodOptional<z.ZodEnum<{
2686
+ gateway: "gateway";
2687
+ document: "document";
2688
+ caller: "caller";
2689
+ callee: "callee";
2690
+ definition: "definition";
2691
+ }>>;
2692
+ by: z.ZodOptional<z.ZodString>;
2693
+ }, z.core.$strict>>;
2694
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2695
+ kind: z.ZodLiteral<"GatewayRoute">;
2696
+ proxy: z.ZodString;
2697
+ basepath: z.ZodString;
2698
+ target: z.ZodOptional<z.ZodString>;
2699
+ policies: z.ZodDefault<z.ZodArray<z.ZodString>>;
2700
+ scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
2701
+ env: z.ZodOptional<z.ZodString>;
2702
+ product: z.ZodOptional<z.ZodString>;
2703
+ specPath: z.ZodOptional<z.ZodString>;
2704
+ }, z.core.$strict> | z.ZodObject<{
2705
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2706
+ id: z.ZodString;
2707
+ status: z.ZodEnum<{
2708
+ current: "current";
2709
+ "planned-new": "planned-new";
2710
+ "planned-modify": "planned-modify";
2711
+ "planned-retire": "planned-retire";
2712
+ retired: "retired";
2713
+ }>;
2714
+ confidence: z.ZodEnum<{
2715
+ verified: "verified";
2716
+ inferred: "inferred";
2717
+ asserted: "asserted";
2718
+ }>;
2719
+ evidence: z.ZodArray<z.ZodObject<{
2720
+ source: z.ZodEnum<{
2721
+ code: "code";
2722
+ config: "config";
2723
+ spec: "spec";
2724
+ gateway: "gateway";
2725
+ "event-config": "event-config";
2726
+ infrastructure: "infrastructure";
2727
+ pipeline: "pipeline";
2728
+ migration: "migration";
2729
+ diagram: "diagram";
2730
+ document: "document";
2731
+ export: "export";
2732
+ manual: "manual";
2733
+ }>;
2734
+ repo: z.ZodOptional<z.ZodString>;
2735
+ path: z.ZodOptional<z.ZodString>;
2736
+ line: z.ZodOptional<z.ZodNumber>;
2737
+ commit: z.ZodOptional<z.ZodString>;
2738
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2739
+ extractor: z.ZodOptional<z.ZodString>;
2740
+ dialect: z.ZodOptional<z.ZodString>;
2741
+ side: z.ZodOptional<z.ZodEnum<{
2742
+ gateway: "gateway";
2743
+ document: "document";
2744
+ caller: "caller";
2745
+ callee: "callee";
2746
+ definition: "definition";
2747
+ }>>;
2748
+ by: z.ZodOptional<z.ZodString>;
2749
+ }, z.core.$strict>>;
2750
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2751
+ kind: z.ZodLiteral<"Schema">;
2752
+ format: z.ZodEnum<{
2753
+ other: "other";
2754
+ openapi: "openapi";
2755
+ "json-schema": "json-schema";
2756
+ avro: "avro";
2757
+ xsd: "xsd";
2758
+ }>;
2759
+ ref: z.ZodString;
2760
+ version: z.ZodOptional<z.ZodString>;
2761
+ fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
2762
+ name: z.ZodString;
2763
+ type: z.ZodOptional<z.ZodString>;
2764
+ classification: z.ZodOptional<z.ZodString>;
2765
+ required: z.ZodOptional<z.ZodBoolean>;
2766
+ }, z.core.$strict>>>;
2767
+ }, z.core.$strict> | z.ZodObject<{
2768
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2769
+ id: z.ZodString;
2770
+ status: z.ZodEnum<{
2771
+ current: "current";
2772
+ "planned-new": "planned-new";
2773
+ "planned-modify": "planned-modify";
2774
+ "planned-retire": "planned-retire";
2775
+ retired: "retired";
2776
+ }>;
2777
+ confidence: z.ZodEnum<{
2778
+ verified: "verified";
2779
+ inferred: "inferred";
2780
+ asserted: "asserted";
2781
+ }>;
2782
+ evidence: z.ZodArray<z.ZodObject<{
2783
+ source: z.ZodEnum<{
2784
+ code: "code";
2785
+ config: "config";
2786
+ spec: "spec";
2787
+ gateway: "gateway";
2788
+ "event-config": "event-config";
2789
+ infrastructure: "infrastructure";
2790
+ pipeline: "pipeline";
2791
+ migration: "migration";
2792
+ diagram: "diagram";
2793
+ document: "document";
2794
+ export: "export";
2795
+ manual: "manual";
2796
+ }>;
2797
+ repo: z.ZodOptional<z.ZodString>;
2798
+ path: z.ZodOptional<z.ZodString>;
2799
+ line: z.ZodOptional<z.ZodNumber>;
2800
+ commit: z.ZodOptional<z.ZodString>;
2801
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2802
+ extractor: z.ZodOptional<z.ZodString>;
2803
+ dialect: z.ZodOptional<z.ZodString>;
2804
+ side: z.ZodOptional<z.ZodEnum<{
2805
+ gateway: "gateway";
2806
+ document: "document";
2807
+ caller: "caller";
2808
+ callee: "callee";
2809
+ definition: "definition";
2810
+ }>>;
2811
+ by: z.ZodOptional<z.ZodString>;
2812
+ }, z.core.$strict>>;
2813
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2814
+ kind: z.ZodLiteral<"FieldMapping">;
2815
+ interface: z.ZodString;
2816
+ sourceField: z.ZodString;
2817
+ targetField: z.ZodString;
2818
+ transform: z.ZodOptional<z.ZodString>;
2819
+ }, z.core.$strict> | z.ZodObject<{
2820
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2821
+ id: z.ZodString;
2822
+ status: z.ZodEnum<{
2823
+ current: "current";
2824
+ "planned-new": "planned-new";
2825
+ "planned-modify": "planned-modify";
2826
+ "planned-retire": "planned-retire";
2827
+ retired: "retired";
2828
+ }>;
2829
+ confidence: z.ZodEnum<{
2830
+ verified: "verified";
2831
+ inferred: "inferred";
2832
+ asserted: "asserted";
2833
+ }>;
2834
+ evidence: z.ZodArray<z.ZodObject<{
2835
+ source: z.ZodEnum<{
2836
+ code: "code";
2837
+ config: "config";
2838
+ spec: "spec";
2839
+ gateway: "gateway";
2840
+ "event-config": "event-config";
2841
+ infrastructure: "infrastructure";
2842
+ pipeline: "pipeline";
2843
+ migration: "migration";
2844
+ diagram: "diagram";
2845
+ document: "document";
2846
+ export: "export";
2847
+ manual: "manual";
2848
+ }>;
2849
+ repo: z.ZodOptional<z.ZodString>;
2850
+ path: z.ZodOptional<z.ZodString>;
2851
+ line: z.ZodOptional<z.ZodNumber>;
2852
+ commit: z.ZodOptional<z.ZodString>;
2853
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2854
+ extractor: z.ZodOptional<z.ZodString>;
2855
+ dialect: z.ZodOptional<z.ZodString>;
2856
+ side: z.ZodOptional<z.ZodEnum<{
2857
+ gateway: "gateway";
2858
+ document: "document";
2859
+ caller: "caller";
2860
+ callee: "callee";
2861
+ definition: "definition";
2862
+ }>>;
2863
+ by: z.ZodOptional<z.ZodString>;
2864
+ }, z.core.$strict>>;
2865
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2866
+ kind: z.ZodLiteral<"DataStore">;
2867
+ storeType: z.ZodString;
2868
+ ownerComponent: z.ZodOptional<z.ZodString>;
2869
+ entitiesHeld: z.ZodDefault<z.ZodArray<z.ZodString>>;
2870
+ }, z.core.$strict> | z.ZodObject<{
2871
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2872
+ id: z.ZodString;
2873
+ status: z.ZodEnum<{
2874
+ current: "current";
2875
+ "planned-new": "planned-new";
2876
+ "planned-modify": "planned-modify";
2877
+ "planned-retire": "planned-retire";
2878
+ retired: "retired";
2879
+ }>;
2880
+ confidence: z.ZodEnum<{
2881
+ verified: "verified";
2882
+ inferred: "inferred";
2883
+ asserted: "asserted";
2884
+ }>;
2885
+ evidence: z.ZodArray<z.ZodObject<{
2886
+ source: z.ZodEnum<{
2887
+ code: "code";
2888
+ config: "config";
2889
+ spec: "spec";
2890
+ gateway: "gateway";
2891
+ "event-config": "event-config";
2892
+ infrastructure: "infrastructure";
2893
+ pipeline: "pipeline";
2894
+ migration: "migration";
2895
+ diagram: "diagram";
2896
+ document: "document";
2897
+ export: "export";
2898
+ manual: "manual";
2899
+ }>;
2900
+ repo: z.ZodOptional<z.ZodString>;
2901
+ path: z.ZodOptional<z.ZodString>;
2902
+ line: z.ZodOptional<z.ZodNumber>;
2903
+ commit: z.ZodOptional<z.ZodString>;
2904
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2905
+ extractor: z.ZodOptional<z.ZodString>;
2906
+ dialect: z.ZodOptional<z.ZodString>;
2907
+ side: z.ZodOptional<z.ZodEnum<{
2908
+ gateway: "gateway";
2909
+ document: "document";
2910
+ caller: "caller";
2911
+ callee: "callee";
2912
+ definition: "definition";
2913
+ }>>;
2914
+ by: z.ZodOptional<z.ZodString>;
2915
+ }, z.core.$strict>>;
2916
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2917
+ kind: z.ZodLiteral<"Table">;
2918
+ dataStore: z.ZodString;
2919
+ name: z.ZodString;
2920
+ tableKind: z.ZodEnum<{
2921
+ table: "table";
2922
+ view: "view";
2923
+ collection: "collection";
2924
+ "key-pattern": "key-pattern";
2925
+ }>;
2926
+ ownerComponent: z.ZodOptional<z.ZodString>;
2927
+ readers: z.ZodDefault<z.ZodArray<z.ZodString>>;
2928
+ writers: z.ZodDefault<z.ZodArray<z.ZodString>>;
2929
+ retention: z.ZodOptional<z.ZodString>;
2930
+ }, z.core.$strict> | z.ZodObject<{
2931
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2932
+ id: z.ZodString;
2933
+ status: z.ZodEnum<{
2934
+ current: "current";
2935
+ "planned-new": "planned-new";
2936
+ "planned-modify": "planned-modify";
2937
+ "planned-retire": "planned-retire";
2938
+ retired: "retired";
2939
+ }>;
2940
+ confidence: z.ZodEnum<{
2941
+ verified: "verified";
2942
+ inferred: "inferred";
2943
+ asserted: "asserted";
2944
+ }>;
2945
+ evidence: z.ZodArray<z.ZodObject<{
2946
+ source: z.ZodEnum<{
2947
+ code: "code";
2948
+ config: "config";
2949
+ spec: "spec";
2950
+ gateway: "gateway";
2951
+ "event-config": "event-config";
2952
+ infrastructure: "infrastructure";
2953
+ pipeline: "pipeline";
2954
+ migration: "migration";
2955
+ diagram: "diagram";
2956
+ document: "document";
2957
+ export: "export";
2958
+ manual: "manual";
2959
+ }>;
2960
+ repo: z.ZodOptional<z.ZodString>;
2961
+ path: z.ZodOptional<z.ZodString>;
2962
+ line: z.ZodOptional<z.ZodNumber>;
2963
+ commit: z.ZodOptional<z.ZodString>;
2964
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
2965
+ extractor: z.ZodOptional<z.ZodString>;
2966
+ dialect: z.ZodOptional<z.ZodString>;
2967
+ side: z.ZodOptional<z.ZodEnum<{
2968
+ gateway: "gateway";
2969
+ document: "document";
2970
+ caller: "caller";
2971
+ callee: "callee";
2972
+ definition: "definition";
2973
+ }>>;
2974
+ by: z.ZodOptional<z.ZodString>;
2975
+ }, z.core.$strict>>;
2976
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2977
+ kind: z.ZodLiteral<"Column">;
2978
+ table: z.ZodString;
2979
+ name: z.ZodString;
2980
+ type: z.ZodString;
2981
+ nullable: z.ZodOptional<z.ZodBoolean>;
2982
+ default: z.ZodOptional<z.ZodString>;
2983
+ allowedValues: z.ZodOptional<z.ZodObject<{
2984
+ values: z.ZodArray<z.ZodString>;
2985
+ evidence: z.ZodObject<{
2986
+ source: z.ZodEnum<{
2987
+ code: "code";
2988
+ config: "config";
2989
+ spec: "spec";
2990
+ gateway: "gateway";
2991
+ "event-config": "event-config";
2992
+ infrastructure: "infrastructure";
2993
+ pipeline: "pipeline";
2994
+ migration: "migration";
2995
+ diagram: "diagram";
2996
+ document: "document";
2997
+ export: "export";
2998
+ manual: "manual";
2999
+ }>;
3000
+ repo: z.ZodOptional<z.ZodString>;
3001
+ path: z.ZodOptional<z.ZodString>;
3002
+ line: z.ZodOptional<z.ZodNumber>;
3003
+ commit: z.ZodOptional<z.ZodString>;
3004
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3005
+ extractor: z.ZodOptional<z.ZodString>;
3006
+ dialect: z.ZodOptional<z.ZodString>;
3007
+ side: z.ZodOptional<z.ZodEnum<{
3008
+ gateway: "gateway";
3009
+ document: "document";
3010
+ caller: "caller";
3011
+ callee: "callee";
3012
+ definition: "definition";
3013
+ }>>;
3014
+ by: z.ZodOptional<z.ZodString>;
3015
+ }, z.core.$strict>;
3016
+ }, z.core.$strict>>;
3017
+ classification: z.ZodOptional<z.ZodString>;
3018
+ glossaryTerm: z.ZodOptional<z.ZodString>;
3019
+ }, z.core.$strict> | z.ZodObject<{
3020
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3021
+ id: z.ZodString;
3022
+ status: z.ZodEnum<{
3023
+ current: "current";
3024
+ "planned-new": "planned-new";
3025
+ "planned-modify": "planned-modify";
3026
+ "planned-retire": "planned-retire";
3027
+ retired: "retired";
3028
+ }>;
3029
+ confidence: z.ZodEnum<{
3030
+ verified: "verified";
3031
+ inferred: "inferred";
3032
+ asserted: "asserted";
3033
+ }>;
3034
+ evidence: z.ZodArray<z.ZodObject<{
3035
+ source: z.ZodEnum<{
3036
+ code: "code";
3037
+ config: "config";
3038
+ spec: "spec";
3039
+ gateway: "gateway";
3040
+ "event-config": "event-config";
3041
+ infrastructure: "infrastructure";
3042
+ pipeline: "pipeline";
3043
+ migration: "migration";
3044
+ diagram: "diagram";
3045
+ document: "document";
3046
+ export: "export";
3047
+ manual: "manual";
3048
+ }>;
3049
+ repo: z.ZodOptional<z.ZodString>;
3050
+ path: z.ZodOptional<z.ZodString>;
3051
+ line: z.ZodOptional<z.ZodNumber>;
3052
+ commit: z.ZodOptional<z.ZodString>;
3053
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3054
+ extractor: z.ZodOptional<z.ZodString>;
3055
+ dialect: z.ZodOptional<z.ZodString>;
3056
+ side: z.ZodOptional<z.ZodEnum<{
3057
+ gateway: "gateway";
3058
+ document: "document";
3059
+ caller: "caller";
3060
+ callee: "callee";
3061
+ definition: "definition";
3062
+ }>>;
3063
+ by: z.ZodOptional<z.ZodString>;
3064
+ }, z.core.$strict>>;
3065
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3066
+ kind: z.ZodLiteral<"IndexConstraint">;
3067
+ table: z.ZodString;
3068
+ constraintKind: z.ZodEnum<{
3069
+ "primary-key": "primary-key";
3070
+ "foreign-key": "foreign-key";
3071
+ unique: "unique";
3072
+ index: "index";
3073
+ }>;
3074
+ columns: z.ZodArray<z.ZodString>;
3075
+ references: z.ZodOptional<z.ZodObject<{
3076
+ table: z.ZodString;
3077
+ columns: z.ZodArray<z.ZodString>;
3078
+ }, z.core.$strict>>;
3079
+ }, z.core.$strict> | z.ZodObject<{
3080
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3081
+ id: z.ZodString;
3082
+ status: z.ZodEnum<{
3083
+ current: "current";
3084
+ "planned-new": "planned-new";
3085
+ "planned-modify": "planned-modify";
3086
+ "planned-retire": "planned-retire";
3087
+ retired: "retired";
3088
+ }>;
3089
+ confidence: z.ZodEnum<{
3090
+ verified: "verified";
3091
+ inferred: "inferred";
3092
+ asserted: "asserted";
3093
+ }>;
3094
+ evidence: z.ZodArray<z.ZodObject<{
3095
+ source: z.ZodEnum<{
3096
+ code: "code";
3097
+ config: "config";
3098
+ spec: "spec";
3099
+ gateway: "gateway";
3100
+ "event-config": "event-config";
3101
+ infrastructure: "infrastructure";
3102
+ pipeline: "pipeline";
3103
+ migration: "migration";
3104
+ diagram: "diagram";
3105
+ document: "document";
3106
+ export: "export";
3107
+ manual: "manual";
3108
+ }>;
3109
+ repo: z.ZodOptional<z.ZodString>;
3110
+ path: z.ZodOptional<z.ZodString>;
3111
+ line: z.ZodOptional<z.ZodNumber>;
3112
+ commit: z.ZodOptional<z.ZodString>;
3113
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3114
+ extractor: z.ZodOptional<z.ZodString>;
3115
+ dialect: z.ZodOptional<z.ZodString>;
3116
+ side: z.ZodOptional<z.ZodEnum<{
3117
+ gateway: "gateway";
3118
+ document: "document";
3119
+ caller: "caller";
3120
+ callee: "callee";
3121
+ definition: "definition";
3122
+ }>>;
3123
+ by: z.ZodOptional<z.ZodString>;
3124
+ }, z.core.$strict>>;
3125
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3126
+ kind: z.ZodLiteral<"Migration">;
3127
+ dataStore: z.ZodString;
3128
+ version: z.ZodString;
3129
+ tool: z.ZodEnum<{
3130
+ other: "other";
3131
+ flyway: "flyway";
3132
+ liquibase: "liquibase";
3133
+ alembic: "alembic";
3134
+ prisma: "prisma";
3135
+ }>;
3136
+ file: z.ZodString;
3137
+ operations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3138
+ reversible: z.ZodOptional<z.ZodBoolean>;
3139
+ }, z.core.$strict> | z.ZodObject<{
3140
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3141
+ id: z.ZodString;
3142
+ status: z.ZodEnum<{
3143
+ current: "current";
3144
+ "planned-new": "planned-new";
3145
+ "planned-modify": "planned-modify";
3146
+ "planned-retire": "planned-retire";
3147
+ retired: "retired";
3148
+ }>;
3149
+ confidence: z.ZodEnum<{
3150
+ verified: "verified";
3151
+ inferred: "inferred";
3152
+ asserted: "asserted";
3153
+ }>;
3154
+ evidence: z.ZodArray<z.ZodObject<{
3155
+ source: z.ZodEnum<{
3156
+ code: "code";
3157
+ config: "config";
3158
+ spec: "spec";
3159
+ gateway: "gateway";
3160
+ "event-config": "event-config";
3161
+ infrastructure: "infrastructure";
3162
+ pipeline: "pipeline";
3163
+ migration: "migration";
3164
+ diagram: "diagram";
3165
+ document: "document";
3166
+ export: "export";
3167
+ manual: "manual";
3168
+ }>;
3169
+ repo: z.ZodOptional<z.ZodString>;
3170
+ path: z.ZodOptional<z.ZodString>;
3171
+ line: z.ZodOptional<z.ZodNumber>;
3172
+ commit: z.ZodOptional<z.ZodString>;
3173
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3174
+ extractor: z.ZodOptional<z.ZodString>;
3175
+ dialect: z.ZodOptional<z.ZodString>;
3176
+ side: z.ZodOptional<z.ZodEnum<{
3177
+ gateway: "gateway";
3178
+ document: "document";
3179
+ caller: "caller";
3180
+ callee: "callee";
3181
+ definition: "definition";
3182
+ }>>;
3183
+ by: z.ZodOptional<z.ZodString>;
3184
+ }, z.core.$strict>>;
3185
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3186
+ kind: z.ZodLiteral<"Deployment">;
3187
+ component: z.ZodString;
3188
+ env: z.ZodString;
3189
+ platform: z.ZodString;
3190
+ replicas: z.ZodOptional<z.ZodNumber>;
3191
+ resources: z.ZodOptional<z.ZodObject<{
3192
+ cpu: z.ZodOptional<z.ZodString>;
3193
+ memory: z.ZodOptional<z.ZodString>;
3194
+ }, z.core.$strict>>;
3195
+ autoscaling: z.ZodOptional<z.ZodObject<{
3196
+ min: z.ZodNumber;
3197
+ max: z.ZodNumber;
3198
+ }, z.core.$strict>>;
3199
+ networkPolicies: z.ZodDefault<z.ZodArray<z.ZodString>>;
3200
+ backupAndFailover: z.ZodOptional<z.ZodString>;
3201
+ ingress: z.ZodOptional<z.ZodArray<z.ZodObject<{
3202
+ host: z.ZodString;
3203
+ path: z.ZodOptional<z.ZodString>;
3204
+ tls: z.ZodOptional<z.ZodBoolean>;
3205
+ }, z.core.$strict>>>;
3206
+ }, z.core.$strict> | z.ZodObject<{
3207
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3208
+ id: z.ZodString;
3209
+ status: z.ZodEnum<{
3210
+ current: "current";
3211
+ "planned-new": "planned-new";
3212
+ "planned-modify": "planned-modify";
3213
+ "planned-retire": "planned-retire";
3214
+ retired: "retired";
3215
+ }>;
3216
+ confidence: z.ZodEnum<{
3217
+ verified: "verified";
3218
+ inferred: "inferred";
3219
+ asserted: "asserted";
3220
+ }>;
3221
+ evidence: z.ZodArray<z.ZodObject<{
3222
+ source: z.ZodEnum<{
3223
+ code: "code";
3224
+ config: "config";
3225
+ spec: "spec";
3226
+ gateway: "gateway";
3227
+ "event-config": "event-config";
3228
+ infrastructure: "infrastructure";
3229
+ pipeline: "pipeline";
3230
+ migration: "migration";
3231
+ diagram: "diagram";
3232
+ document: "document";
3233
+ export: "export";
3234
+ manual: "manual";
3235
+ }>;
3236
+ repo: z.ZodOptional<z.ZodString>;
3237
+ path: z.ZodOptional<z.ZodString>;
3238
+ line: z.ZodOptional<z.ZodNumber>;
3239
+ commit: z.ZodOptional<z.ZodString>;
3240
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3241
+ extractor: z.ZodOptional<z.ZodString>;
3242
+ dialect: z.ZodOptional<z.ZodString>;
3243
+ side: z.ZodOptional<z.ZodEnum<{
3244
+ gateway: "gateway";
3245
+ document: "document";
3246
+ caller: "caller";
3247
+ callee: "callee";
3248
+ definition: "definition";
3249
+ }>>;
3250
+ by: z.ZodOptional<z.ZodString>;
3251
+ }, z.core.$strict>>;
3252
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3253
+ kind: z.ZodLiteral<"Setting">;
3254
+ component: z.ZodString;
3255
+ env: z.ZodOptional<z.ZodString>;
3256
+ settingKind: z.ZodEnum<{
3257
+ config: "config";
3258
+ timeout: "timeout";
3259
+ retry: "retry";
3260
+ "circuit-breaker": "circuit-breaker";
3261
+ "rate-limit": "rate-limit";
3262
+ pool: "pool";
3263
+ "cache-ttl": "cache-ttl";
3264
+ "feature-flag": "feature-flag";
3265
+ schedule: "schedule";
3266
+ }>;
3267
+ key: z.ZodString;
3268
+ valueOrRef: z.ZodString;
3269
+ target: z.ZodOptional<z.ZodString>;
3270
+ }, z.core.$strict> | z.ZodObject<{
3271
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3272
+ id: z.ZodString;
3273
+ status: z.ZodEnum<{
3274
+ current: "current";
3275
+ "planned-new": "planned-new";
3276
+ "planned-modify": "planned-modify";
3277
+ "planned-retire": "planned-retire";
3278
+ retired: "retired";
3279
+ }>;
3280
+ confidence: z.ZodEnum<{
3281
+ verified: "verified";
3282
+ inferred: "inferred";
3283
+ asserted: "asserted";
3284
+ }>;
3285
+ evidence: z.ZodArray<z.ZodObject<{
3286
+ source: z.ZodEnum<{
3287
+ code: "code";
3288
+ config: "config";
3289
+ spec: "spec";
3290
+ gateway: "gateway";
3291
+ "event-config": "event-config";
3292
+ infrastructure: "infrastructure";
3293
+ pipeline: "pipeline";
3294
+ migration: "migration";
3295
+ diagram: "diagram";
3296
+ document: "document";
3297
+ export: "export";
3298
+ manual: "manual";
3299
+ }>;
3300
+ repo: z.ZodOptional<z.ZodString>;
3301
+ path: z.ZodOptional<z.ZodString>;
3302
+ line: z.ZodOptional<z.ZodNumber>;
3303
+ commit: z.ZodOptional<z.ZodString>;
3304
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3305
+ extractor: z.ZodOptional<z.ZodString>;
3306
+ dialect: z.ZodOptional<z.ZodString>;
3307
+ side: z.ZodOptional<z.ZodEnum<{
3308
+ gateway: "gateway";
3309
+ document: "document";
3310
+ caller: "caller";
3311
+ callee: "callee";
3312
+ definition: "definition";
3313
+ }>>;
3314
+ by: z.ZodOptional<z.ZodString>;
3315
+ }, z.core.$strict>>;
3316
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3317
+ kind: z.ZodLiteral<"ObservabilityAsset">;
3318
+ component: z.ZodString;
3319
+ assetKind: z.ZodEnum<{
3320
+ "log-config": "log-config";
3321
+ metric: "metric";
3322
+ trace: "trace";
3323
+ alert: "alert";
3324
+ dashboard: "dashboard";
3325
+ runbook: "runbook";
3326
+ }>;
3327
+ name: z.ZodString;
3328
+ link: z.ZodOptional<z.ZodString>;
3329
+ }, z.core.$strict> | z.ZodObject<{
3330
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3331
+ id: z.ZodString;
3332
+ status: z.ZodEnum<{
3333
+ current: "current";
3334
+ "planned-new": "planned-new";
3335
+ "planned-modify": "planned-modify";
3336
+ "planned-retire": "planned-retire";
3337
+ retired: "retired";
3338
+ }>;
3339
+ confidence: z.ZodEnum<{
3340
+ verified: "verified";
3341
+ inferred: "inferred";
3342
+ asserted: "asserted";
3343
+ }>;
3344
+ evidence: z.ZodArray<z.ZodObject<{
3345
+ source: z.ZodEnum<{
3346
+ code: "code";
3347
+ config: "config";
3348
+ spec: "spec";
3349
+ gateway: "gateway";
3350
+ "event-config": "event-config";
3351
+ infrastructure: "infrastructure";
3352
+ pipeline: "pipeline";
3353
+ migration: "migration";
3354
+ diagram: "diagram";
3355
+ document: "document";
3356
+ export: "export";
3357
+ manual: "manual";
3358
+ }>;
3359
+ repo: z.ZodOptional<z.ZodString>;
3360
+ path: z.ZodOptional<z.ZodString>;
3361
+ line: z.ZodOptional<z.ZodNumber>;
3362
+ commit: z.ZodOptional<z.ZodString>;
3363
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3364
+ extractor: z.ZodOptional<z.ZodString>;
3365
+ dialect: z.ZodOptional<z.ZodString>;
3366
+ side: z.ZodOptional<z.ZodEnum<{
3367
+ gateway: "gateway";
3368
+ document: "document";
3369
+ caller: "caller";
3370
+ callee: "callee";
3371
+ definition: "definition";
3372
+ }>>;
3373
+ by: z.ZodOptional<z.ZodString>;
3374
+ }, z.core.$strict>>;
3375
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3376
+ kind: z.ZodLiteral<"AccessGrant">;
3377
+ subjectKind: z.ZodEnum<{
3378
+ "service-account": "service-account";
3379
+ "oauth-client": "oauth-client";
3380
+ role: "role";
3381
+ group: "group";
3382
+ }>;
3383
+ subject: z.ZodString;
3384
+ resource: z.ZodString;
3385
+ scopesOrPermissions: z.ZodDefault<z.ZodArray<z.ZodString>>;
3386
+ env: z.ZodOptional<z.ZodString>;
3387
+ }, z.core.$strict> | z.ZodObject<{
3388
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3389
+ id: z.ZodString;
3390
+ status: z.ZodEnum<{
3391
+ current: "current";
3392
+ "planned-new": "planned-new";
3393
+ "planned-modify": "planned-modify";
3394
+ "planned-retire": "planned-retire";
3395
+ retired: "retired";
3396
+ }>;
3397
+ confidence: z.ZodEnum<{
3398
+ verified: "verified";
3399
+ inferred: "inferred";
3400
+ asserted: "asserted";
3401
+ }>;
3402
+ evidence: z.ZodArray<z.ZodObject<{
3403
+ source: z.ZodEnum<{
3404
+ code: "code";
3405
+ config: "config";
3406
+ spec: "spec";
3407
+ gateway: "gateway";
3408
+ "event-config": "event-config";
3409
+ infrastructure: "infrastructure";
3410
+ pipeline: "pipeline";
3411
+ migration: "migration";
3412
+ diagram: "diagram";
3413
+ document: "document";
3414
+ export: "export";
3415
+ manual: "manual";
3416
+ }>;
3417
+ repo: z.ZodOptional<z.ZodString>;
3418
+ path: z.ZodOptional<z.ZodString>;
3419
+ line: z.ZodOptional<z.ZodNumber>;
3420
+ commit: z.ZodOptional<z.ZodString>;
3421
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3422
+ extractor: z.ZodOptional<z.ZodString>;
3423
+ dialect: z.ZodOptional<z.ZodString>;
3424
+ side: z.ZodOptional<z.ZodEnum<{
3425
+ gateway: "gateway";
3426
+ document: "document";
3427
+ caller: "caller";
3428
+ callee: "callee";
3429
+ definition: "definition";
3430
+ }>>;
3431
+ by: z.ZodOptional<z.ZodString>;
3432
+ }, z.core.$strict>>;
3433
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3434
+ kind: z.ZodLiteral<"QualityAsset">;
3435
+ component: z.ZodString;
3436
+ assetKind: z.ZodEnum<{
3437
+ pipeline: "pipeline";
3438
+ "test-suite": "test-suite";
3439
+ "coverage-report": "coverage-report";
3440
+ dependency: "dependency";
3441
+ vulnerability: "vulnerability";
3442
+ "licence-finding": "licence-finding";
3443
+ }>;
3444
+ details: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3445
+ }, z.core.$strict> | z.ZodObject<{
3446
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3447
+ id: z.ZodString;
3448
+ status: z.ZodEnum<{
3449
+ current: "current";
3450
+ "planned-new": "planned-new";
3451
+ "planned-modify": "planned-modify";
3452
+ "planned-retire": "planned-retire";
3453
+ retired: "retired";
3454
+ }>;
3455
+ confidence: z.ZodEnum<{
3456
+ verified: "verified";
3457
+ inferred: "inferred";
3458
+ asserted: "asserted";
3459
+ }>;
3460
+ evidence: z.ZodArray<z.ZodObject<{
3461
+ source: z.ZodEnum<{
3462
+ code: "code";
3463
+ config: "config";
3464
+ spec: "spec";
3465
+ gateway: "gateway";
3466
+ "event-config": "event-config";
3467
+ infrastructure: "infrastructure";
3468
+ pipeline: "pipeline";
3469
+ migration: "migration";
3470
+ diagram: "diagram";
3471
+ document: "document";
3472
+ export: "export";
3473
+ manual: "manual";
3474
+ }>;
3475
+ repo: z.ZodOptional<z.ZodString>;
3476
+ path: z.ZodOptional<z.ZodString>;
3477
+ line: z.ZodOptional<z.ZodNumber>;
3478
+ commit: z.ZodOptional<z.ZodString>;
3479
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3480
+ extractor: z.ZodOptional<z.ZodString>;
3481
+ dialect: z.ZodOptional<z.ZodString>;
3482
+ side: z.ZodOptional<z.ZodEnum<{
3483
+ gateway: "gateway";
3484
+ document: "document";
3485
+ caller: "caller";
3486
+ callee: "callee";
3487
+ definition: "definition";
3488
+ }>>;
3489
+ by: z.ZodOptional<z.ZodString>;
3490
+ }, z.core.$strict>>;
3491
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3492
+ kind: z.ZodLiteral<"Obligation">;
3493
+ system: z.ZodString;
3494
+ obligationKind: z.ZodEnum<{
3495
+ retention: "retention";
3496
+ slo: "slo";
3497
+ volume: "volume";
3498
+ rpo: "rpo";
3499
+ rto: "rto";
3500
+ "freeze-window": "freeze-window";
3501
+ "support-group": "support-group";
3502
+ }>;
3503
+ value: z.ZodString;
3504
+ assertedBy: z.ZodString;
3505
+ }, z.core.$strict> | z.ZodObject<{
3506
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3507
+ id: z.ZodString;
3508
+ status: z.ZodEnum<{
3509
+ current: "current";
3510
+ "planned-new": "planned-new";
3511
+ "planned-modify": "planned-modify";
3512
+ "planned-retire": "planned-retire";
3513
+ retired: "retired";
3514
+ }>;
3515
+ confidence: z.ZodEnum<{
3516
+ verified: "verified";
3517
+ inferred: "inferred";
3518
+ asserted: "asserted";
3519
+ }>;
3520
+ evidence: z.ZodArray<z.ZodObject<{
3521
+ source: z.ZodEnum<{
3522
+ code: "code";
3523
+ config: "config";
3524
+ spec: "spec";
3525
+ gateway: "gateway";
3526
+ "event-config": "event-config";
3527
+ infrastructure: "infrastructure";
3528
+ pipeline: "pipeline";
3529
+ migration: "migration";
3530
+ diagram: "diagram";
3531
+ document: "document";
3532
+ export: "export";
3533
+ manual: "manual";
3534
+ }>;
3535
+ repo: z.ZodOptional<z.ZodString>;
3536
+ path: z.ZodOptional<z.ZodString>;
3537
+ line: z.ZodOptional<z.ZodNumber>;
3538
+ commit: z.ZodOptional<z.ZodString>;
3539
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3540
+ extractor: z.ZodOptional<z.ZodString>;
3541
+ dialect: z.ZodOptional<z.ZodString>;
3542
+ side: z.ZodOptional<z.ZodEnum<{
3543
+ gateway: "gateway";
3544
+ document: "document";
3545
+ caller: "caller";
3546
+ callee: "callee";
3547
+ definition: "definition";
3548
+ }>>;
3549
+ by: z.ZodOptional<z.ZodString>;
3550
+ }, z.core.$strict>>;
3551
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3552
+ kind: z.ZodLiteral<"GlossaryTerm">;
3553
+ term: z.ZodString;
3554
+ definition: z.ZodString;
3555
+ fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
3556
+ owner: z.ZodOptional<z.ZodString>;
3557
+ }, z.core.$strict> | z.ZodObject<{
3558
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3559
+ id: z.ZodString;
3560
+ status: z.ZodEnum<{
3561
+ current: "current";
3562
+ "planned-new": "planned-new";
3563
+ "planned-modify": "planned-modify";
3564
+ "planned-retire": "planned-retire";
3565
+ retired: "retired";
3566
+ }>;
3567
+ confidence: z.ZodEnum<{
3568
+ verified: "verified";
3569
+ inferred: "inferred";
3570
+ asserted: "asserted";
3571
+ }>;
3572
+ evidence: z.ZodArray<z.ZodObject<{
3573
+ source: z.ZodEnum<{
3574
+ code: "code";
3575
+ config: "config";
3576
+ spec: "spec";
3577
+ gateway: "gateway";
3578
+ "event-config": "event-config";
3579
+ infrastructure: "infrastructure";
3580
+ pipeline: "pipeline";
3581
+ migration: "migration";
3582
+ diagram: "diagram";
3583
+ document: "document";
3584
+ export: "export";
3585
+ manual: "manual";
3586
+ }>;
3587
+ repo: z.ZodOptional<z.ZodString>;
3588
+ path: z.ZodOptional<z.ZodString>;
3589
+ line: z.ZodOptional<z.ZodNumber>;
3590
+ commit: z.ZodOptional<z.ZodString>;
3591
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3592
+ extractor: z.ZodOptional<z.ZodString>;
3593
+ dialect: z.ZodOptional<z.ZodString>;
3594
+ side: z.ZodOptional<z.ZodEnum<{
3595
+ gateway: "gateway";
3596
+ document: "document";
3597
+ caller: "caller";
3598
+ callee: "callee";
3599
+ definition: "definition";
3600
+ }>>;
3601
+ by: z.ZodOptional<z.ZodString>;
3602
+ }, z.core.$strict>>;
3603
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3604
+ kind: z.ZodLiteral<"Pattern">;
3605
+ urls: z.ZodDefault<z.ZodArray<z.ZodObject<{
3606
+ url: z.ZodString;
3607
+ label: z.ZodOptional<z.ZodString>;
3608
+ }, z.core.$strict>>>;
3609
+ appliesWhen: z.ZodOptional<z.ZodString>;
3610
+ handledBy: z.ZodOptional<z.ZodString>;
3611
+ framework: z.ZodOptional<z.ZodString>;
3612
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
3613
+ quote: z.ZodOptional<z.ZodObject<{
3614
+ source: z.ZodString;
3615
+ page: z.ZodString;
3616
+ section: z.ZodString;
3617
+ text: z.ZodString;
3618
+ snapshot: z.ZodISODate;
3619
+ line: z.ZodOptional<z.ZodNumber>;
3620
+ }, z.core.$strict>>;
3621
+ alsoOn: z.ZodDefault<z.ZodArray<z.ZodObject<{
3622
+ source: z.ZodString;
3623
+ page: z.ZodString;
3624
+ section: z.ZodString;
3625
+ text: z.ZodString;
3626
+ snapshot: z.ZodISODate;
3627
+ line: z.ZodOptional<z.ZodNumber>;
3628
+ }, z.core.$strict>>>;
3629
+ code: z.ZodString;
3630
+ name: z.ZodString;
3631
+ definition: z.ZodOptional<z.ZodString>;
3632
+ interaction: z.ZodOptional<z.ZodEnum<{
3633
+ sync: "sync";
3634
+ async: "async";
3635
+ "data-access": "data-access";
3636
+ }>>;
3637
+ patternKind: z.ZodOptional<z.ZodEnum<{
3638
+ "integration-pattern": "integration-pattern";
3639
+ standard: "standard";
3640
+ }>>;
3641
+ rules: z.ZodDefault<z.ZodArray<z.ZodString>>;
3642
+ route: z.ZodOptional<z.ZodString>;
3643
+ targetType: z.ZodOptional<z.ZodString>;
3644
+ controls: z.ZodDefault<z.ZodArray<z.ZodString>>;
3645
+ resilience: z.ZodOptional<z.ZodString>;
3646
+ technology: z.ZodDefault<z.ZodArray<z.ZodString>>;
3647
+ detection: z.ZodDefault<z.ZodArray<z.ZodString>>;
3648
+ checklistItems: z.ZodDefault<z.ZodArray<z.ZodString>>;
3649
+ sourcePage: z.ZodOptional<z.ZodString>;
3650
+ version: z.ZodOptional<z.ZodString>;
3651
+ patternStatus: z.ZodEnum<{
3652
+ deprecated: "deprecated";
3653
+ confirmed: "confirmed";
3654
+ "to-review": "to-review";
3655
+ }>;
3656
+ }, z.core.$strict> | z.ZodObject<{
3657
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3658
+ id: z.ZodString;
3659
+ status: z.ZodEnum<{
3660
+ current: "current";
3661
+ "planned-new": "planned-new";
3662
+ "planned-modify": "planned-modify";
3663
+ "planned-retire": "planned-retire";
3664
+ retired: "retired";
3665
+ }>;
3666
+ confidence: z.ZodEnum<{
3667
+ verified: "verified";
3668
+ inferred: "inferred";
3669
+ asserted: "asserted";
3670
+ }>;
3671
+ evidence: z.ZodArray<z.ZodObject<{
3672
+ source: z.ZodEnum<{
3673
+ code: "code";
3674
+ config: "config";
3675
+ spec: "spec";
3676
+ gateway: "gateway";
3677
+ "event-config": "event-config";
3678
+ infrastructure: "infrastructure";
3679
+ pipeline: "pipeline";
3680
+ migration: "migration";
3681
+ diagram: "diagram";
3682
+ document: "document";
3683
+ export: "export";
3684
+ manual: "manual";
3685
+ }>;
3686
+ repo: z.ZodOptional<z.ZodString>;
3687
+ path: z.ZodOptional<z.ZodString>;
3688
+ line: z.ZodOptional<z.ZodNumber>;
3689
+ commit: z.ZodOptional<z.ZodString>;
3690
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3691
+ extractor: z.ZodOptional<z.ZodString>;
3692
+ dialect: z.ZodOptional<z.ZodString>;
3693
+ side: z.ZodOptional<z.ZodEnum<{
3694
+ gateway: "gateway";
3695
+ document: "document";
3696
+ caller: "caller";
3697
+ callee: "callee";
3698
+ definition: "definition";
3699
+ }>>;
3700
+ by: z.ZodOptional<z.ZodString>;
3701
+ }, z.core.$strict>>;
3702
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3703
+ kind: z.ZodLiteral<"Decision">;
3704
+ urls: z.ZodDefault<z.ZodArray<z.ZodObject<{
3705
+ url: z.ZodString;
3706
+ label: z.ZodOptional<z.ZodString>;
3707
+ }, z.core.$strict>>>;
3708
+ appliesWhen: z.ZodOptional<z.ZodString>;
3709
+ handledBy: z.ZodOptional<z.ZodString>;
3710
+ framework: z.ZodOptional<z.ZodString>;
3711
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
3712
+ quote: z.ZodOptional<z.ZodObject<{
3713
+ source: z.ZodString;
3714
+ page: z.ZodString;
3715
+ section: z.ZodString;
3716
+ text: z.ZodString;
3717
+ snapshot: z.ZodISODate;
3718
+ line: z.ZodOptional<z.ZodNumber>;
3719
+ }, z.core.$strict>>;
3720
+ alsoOn: z.ZodDefault<z.ZodArray<z.ZodObject<{
3721
+ source: z.ZodString;
3722
+ page: z.ZodString;
3723
+ section: z.ZodString;
3724
+ text: z.ZodString;
3725
+ snapshot: z.ZodISODate;
3726
+ line: z.ZodOptional<z.ZodNumber>;
3727
+ }, z.core.$strict>>>;
3728
+ title: z.ZodString;
3729
+ decision: z.ZodString;
3730
+ reason: z.ZodOptional<z.ZodString>;
3731
+ links: z.ZodDefault<z.ZodObject<{
3732
+ changes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3733
+ interfaces: z.ZodDefault<z.ZodArray<z.ZodString>>;
3734
+ systems: z.ZodDefault<z.ZodArray<z.ZodString>>;
3735
+ }, z.core.$strict>>;
3736
+ decidedBy: z.ZodOptional<z.ZodString>;
3737
+ date: z.ZodOptional<z.ZodISODate>;
3738
+ decisionKind: z.ZodOptional<z.ZodEnum<{
3739
+ decision: "decision";
3740
+ constraint: "constraint";
3741
+ }>>;
3742
+ stance: z.ZodOptional<z.ZodEnum<{
3743
+ mandated: "mandated";
3744
+ banned: "banned";
3745
+ retiring: "retiring";
3746
+ }>>;
3747
+ dates: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodISODate>>;
3748
+ }, z.core.$strict> | z.ZodObject<{
3749
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3750
+ id: z.ZodString;
3751
+ status: z.ZodEnum<{
3752
+ current: "current";
3753
+ "planned-new": "planned-new";
3754
+ "planned-modify": "planned-modify";
3755
+ "planned-retire": "planned-retire";
3756
+ retired: "retired";
3757
+ }>;
3758
+ confidence: z.ZodEnum<{
3759
+ verified: "verified";
3760
+ inferred: "inferred";
3761
+ asserted: "asserted";
3762
+ }>;
3763
+ evidence: z.ZodArray<z.ZodObject<{
3764
+ source: z.ZodEnum<{
3765
+ code: "code";
3766
+ config: "config";
3767
+ spec: "spec";
3768
+ gateway: "gateway";
3769
+ "event-config": "event-config";
3770
+ infrastructure: "infrastructure";
3771
+ pipeline: "pipeline";
3772
+ migration: "migration";
3773
+ diagram: "diagram";
3774
+ document: "document";
3775
+ export: "export";
3776
+ manual: "manual";
3777
+ }>;
3778
+ repo: z.ZodOptional<z.ZodString>;
3779
+ path: z.ZodOptional<z.ZodString>;
3780
+ line: z.ZodOptional<z.ZodNumber>;
3781
+ commit: z.ZodOptional<z.ZodString>;
3782
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3783
+ extractor: z.ZodOptional<z.ZodString>;
3784
+ dialect: z.ZodOptional<z.ZodString>;
3785
+ side: z.ZodOptional<z.ZodEnum<{
3786
+ gateway: "gateway";
3787
+ document: "document";
3788
+ caller: "caller";
3789
+ callee: "callee";
3790
+ definition: "definition";
3791
+ }>>;
3792
+ by: z.ZodOptional<z.ZodString>;
3793
+ }, z.core.$strict>>;
3794
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3795
+ kind: z.ZodLiteral<"SourceDocument">;
3796
+ path: z.ZodString;
3797
+ docType: z.ZodString;
3798
+ version: z.ZodOptional<z.ZodString>;
3799
+ author: z.ZodOptional<z.ZodString>;
3800
+ date: z.ZodOptional<z.ZodISODate>;
3801
+ hash: z.ZodString;
3802
+ supersededBy: z.ZodOptional<z.ZodString>;
3803
+ recordsProduced: z.ZodDefault<z.ZodArray<z.ZodString>>;
3804
+ }, z.core.$strict> | z.ZodObject<{
3805
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3806
+ id: z.ZodString;
3807
+ status: z.ZodEnum<{
3808
+ current: "current";
3809
+ "planned-new": "planned-new";
3810
+ "planned-modify": "planned-modify";
3811
+ "planned-retire": "planned-retire";
3812
+ retired: "retired";
3813
+ }>;
3814
+ confidence: z.ZodEnum<{
3815
+ verified: "verified";
3816
+ inferred: "inferred";
3817
+ asserted: "asserted";
3818
+ }>;
3819
+ evidence: z.ZodArray<z.ZodObject<{
3820
+ source: z.ZodEnum<{
3821
+ code: "code";
3822
+ config: "config";
3823
+ spec: "spec";
3824
+ gateway: "gateway";
3825
+ "event-config": "event-config";
3826
+ infrastructure: "infrastructure";
3827
+ pipeline: "pipeline";
3828
+ migration: "migration";
3829
+ diagram: "diagram";
3830
+ document: "document";
3831
+ export: "export";
3832
+ manual: "manual";
3833
+ }>;
3834
+ repo: z.ZodOptional<z.ZodString>;
3835
+ path: z.ZodOptional<z.ZodString>;
3836
+ line: z.ZodOptional<z.ZodNumber>;
3837
+ commit: z.ZodOptional<z.ZodString>;
3838
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3839
+ extractor: z.ZodOptional<z.ZodString>;
3840
+ dialect: z.ZodOptional<z.ZodString>;
3841
+ side: z.ZodOptional<z.ZodEnum<{
3842
+ gateway: "gateway";
3843
+ document: "document";
3844
+ caller: "caller";
3845
+ callee: "callee";
3846
+ definition: "definition";
3847
+ }>>;
3848
+ by: z.ZodOptional<z.ZodString>;
3849
+ }, z.core.$strict>>;
3850
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3851
+ kind: z.ZodLiteral<"Party">;
3852
+ name: z.ZodString;
3853
+ partyKind: z.ZodEnum<{
3854
+ vendor: "vendor";
3855
+ "internal-team": "internal-team";
3856
+ }>;
3857
+ owner: z.ZodOptional<z.ZodString>;
3858
+ contacts: z.ZodDefault<z.ZodArray<z.ZodString>>;
3859
+ channel: z.ZodOptional<z.ZodString>;
3860
+ systems: z.ZodDefault<z.ZodArray<z.ZodString>>;
3861
+ typicalLeadTimes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3862
+ responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
3863
+ owns: z.ZodDefault<z.ZodArray<z.ZodString>>;
3864
+ uses: z.ZodDefault<z.ZodArray<z.ZodString>>;
3865
+ aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
3866
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
3867
+ quote: z.ZodOptional<z.ZodObject<{
3868
+ source: z.ZodString;
3869
+ page: z.ZodString;
3870
+ section: z.ZodString;
3871
+ text: z.ZodString;
3872
+ snapshot: z.ZodISODate;
3873
+ line: z.ZodOptional<z.ZodNumber>;
3874
+ }, z.core.$strict>>;
3875
+ alsoOn: z.ZodDefault<z.ZodArray<z.ZodObject<{
3876
+ source: z.ZodString;
3877
+ page: z.ZodString;
3878
+ section: z.ZodString;
3879
+ text: z.ZodString;
3880
+ snapshot: z.ZodISODate;
3881
+ line: z.ZodOptional<z.ZodNumber>;
3882
+ }, z.core.$strict>>>;
3883
+ urls: z.ZodDefault<z.ZodArray<z.ZodObject<{
3884
+ url: z.ZodString;
3885
+ label: z.ZodOptional<z.ZodString>;
3886
+ }, z.core.$strict>>>;
3887
+ }, z.core.$strict> | z.ZodObject<{
3888
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3889
+ id: z.ZodString;
3890
+ status: z.ZodEnum<{
3891
+ current: "current";
3892
+ "planned-new": "planned-new";
3893
+ "planned-modify": "planned-modify";
3894
+ "planned-retire": "planned-retire";
3895
+ retired: "retired";
3896
+ }>;
3897
+ confidence: z.ZodEnum<{
3898
+ verified: "verified";
3899
+ inferred: "inferred";
3900
+ asserted: "asserted";
3901
+ }>;
3902
+ evidence: z.ZodArray<z.ZodObject<{
3903
+ source: z.ZodEnum<{
3904
+ code: "code";
3905
+ config: "config";
3906
+ spec: "spec";
3907
+ gateway: "gateway";
3908
+ "event-config": "event-config";
3909
+ infrastructure: "infrastructure";
3910
+ pipeline: "pipeline";
3911
+ migration: "migration";
3912
+ diagram: "diagram";
3913
+ document: "document";
3914
+ export: "export";
3915
+ manual: "manual";
3916
+ }>;
3917
+ repo: z.ZodOptional<z.ZodString>;
3918
+ path: z.ZodOptional<z.ZodString>;
3919
+ line: z.ZodOptional<z.ZodNumber>;
3920
+ commit: z.ZodOptional<z.ZodString>;
3921
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
3922
+ extractor: z.ZodOptional<z.ZodString>;
3923
+ dialect: z.ZodOptional<z.ZodString>;
3924
+ side: z.ZodOptional<z.ZodEnum<{
3925
+ gateway: "gateway";
3926
+ document: "document";
3927
+ caller: "caller";
3928
+ callee: "callee";
3929
+ definition: "definition";
3930
+ }>>;
3931
+ by: z.ZodOptional<z.ZodString>;
3932
+ }, z.core.$strict>>;
3933
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3934
+ kind: z.ZodLiteral<"Product">;
3935
+ name: z.ZodString;
3936
+ productKind: z.ZodEnum<{
3937
+ product: "product";
3938
+ project: "project";
3939
+ }>;
3940
+ description: z.ZodOptional<z.ZodString>;
3941
+ aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
3942
+ ownedBy: z.ZodOptional<z.ZodString>;
3943
+ usedBy: z.ZodDefault<z.ZodArray<z.ZodString>>;
3944
+ vendor: z.ZodOptional<z.ZodString>;
3945
+ systems: z.ZodDefault<z.ZodArray<z.ZodString>>;
3946
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
3947
+ quote: z.ZodObject<{
3948
+ source: z.ZodString;
3949
+ page: z.ZodString;
3950
+ section: z.ZodString;
3951
+ text: z.ZodString;
3952
+ snapshot: z.ZodISODate;
3953
+ line: z.ZodOptional<z.ZodNumber>;
3954
+ }, z.core.$strict>;
3955
+ alsoOn: z.ZodDefault<z.ZodArray<z.ZodObject<{
3956
+ source: z.ZodString;
3957
+ page: z.ZodString;
3958
+ section: z.ZodString;
3959
+ text: z.ZodString;
3960
+ snapshot: z.ZodISODate;
3961
+ line: z.ZodOptional<z.ZodNumber>;
3962
+ }, z.core.$strict>>>;
3963
+ urls: z.ZodDefault<z.ZodArray<z.ZodObject<{
3964
+ url: z.ZodString;
3965
+ label: z.ZodOptional<z.ZodString>;
3966
+ }, z.core.$strict>>>;
3967
+ }, z.core.$strict> | z.ZodObject<{
3968
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3969
+ id: z.ZodString;
3970
+ status: z.ZodEnum<{
3971
+ current: "current";
3972
+ "planned-new": "planned-new";
3973
+ "planned-modify": "planned-modify";
3974
+ "planned-retire": "planned-retire";
3975
+ retired: "retired";
3976
+ }>;
3977
+ confidence: z.ZodEnum<{
3978
+ verified: "verified";
3979
+ inferred: "inferred";
3980
+ asserted: "asserted";
3981
+ }>;
3982
+ evidence: z.ZodArray<z.ZodObject<{
3983
+ source: z.ZodEnum<{
3984
+ code: "code";
3985
+ config: "config";
3986
+ spec: "spec";
3987
+ gateway: "gateway";
3988
+ "event-config": "event-config";
3989
+ infrastructure: "infrastructure";
3990
+ pipeline: "pipeline";
3991
+ migration: "migration";
3992
+ diagram: "diagram";
3993
+ document: "document";
3994
+ export: "export";
3995
+ manual: "manual";
3996
+ }>;
3997
+ repo: z.ZodOptional<z.ZodString>;
3998
+ path: z.ZodOptional<z.ZodString>;
3999
+ line: z.ZodOptional<z.ZodNumber>;
4000
+ commit: z.ZodOptional<z.ZodString>;
4001
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4002
+ extractor: z.ZodOptional<z.ZodString>;
4003
+ dialect: z.ZodOptional<z.ZodString>;
4004
+ side: z.ZodOptional<z.ZodEnum<{
4005
+ gateway: "gateway";
4006
+ document: "document";
4007
+ caller: "caller";
4008
+ callee: "callee";
4009
+ definition: "definition";
4010
+ }>>;
4011
+ by: z.ZodOptional<z.ZodString>;
4012
+ }, z.core.$strict>>;
4013
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4014
+ kind: z.ZodLiteral<"Initiative">;
4015
+ title: z.ZodString;
4016
+ journey: z.ZodEnum<{
4017
+ migration: "migration";
4018
+ "new-feature": "new-feature";
4019
+ "new-integration": "new-integration";
4020
+ "vendor-api-change": "vendor-api-change";
4021
+ "design-change": "design-change";
4022
+ "retire-system": "retire-system";
4023
+ }>;
4024
+ changes: z.ZodDefault<z.ZodArray<z.ZodString>>;
4025
+ parties: z.ZodDefault<z.ZodArray<z.ZodString>>;
4026
+ commitments: z.ZodDefault<z.ZodArray<z.ZodString>>;
4027
+ targetRelease: z.ZodOptional<z.ZodString>;
4028
+ adoEpic: z.ZodOptional<z.ZodString>;
4029
+ }, z.core.$strict> | z.ZodObject<{
4030
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4031
+ id: z.ZodString;
4032
+ status: z.ZodEnum<{
4033
+ current: "current";
4034
+ "planned-new": "planned-new";
4035
+ "planned-modify": "planned-modify";
4036
+ "planned-retire": "planned-retire";
4037
+ retired: "retired";
4038
+ }>;
4039
+ confidence: z.ZodEnum<{
4040
+ verified: "verified";
4041
+ inferred: "inferred";
4042
+ asserted: "asserted";
4043
+ }>;
4044
+ evidence: z.ZodArray<z.ZodObject<{
4045
+ source: z.ZodEnum<{
4046
+ code: "code";
4047
+ config: "config";
4048
+ spec: "spec";
4049
+ gateway: "gateway";
4050
+ "event-config": "event-config";
4051
+ infrastructure: "infrastructure";
4052
+ pipeline: "pipeline";
4053
+ migration: "migration";
4054
+ diagram: "diagram";
4055
+ document: "document";
4056
+ export: "export";
4057
+ manual: "manual";
4058
+ }>;
4059
+ repo: z.ZodOptional<z.ZodString>;
4060
+ path: z.ZodOptional<z.ZodString>;
4061
+ line: z.ZodOptional<z.ZodNumber>;
4062
+ commit: z.ZodOptional<z.ZodString>;
4063
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4064
+ extractor: z.ZodOptional<z.ZodString>;
4065
+ dialect: z.ZodOptional<z.ZodString>;
4066
+ side: z.ZodOptional<z.ZodEnum<{
4067
+ gateway: "gateway";
4068
+ document: "document";
4069
+ caller: "caller";
4070
+ callee: "callee";
4071
+ definition: "definition";
4072
+ }>>;
4073
+ by: z.ZodOptional<z.ZodString>;
4074
+ }, z.core.$strict>>;
4075
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4076
+ kind: z.ZodLiteral<"Commitment">;
4077
+ initiative: z.ZodString;
4078
+ party: z.ZodString;
4079
+ what: z.ZodString;
4080
+ owner: z.ZodString;
4081
+ neededBy: z.ZodISODate;
4082
+ blocks: z.ZodDefault<z.ZodArray<z.ZodString>>;
4083
+ commitmentStatus: z.ZodEnum<{
4084
+ done: "done";
4085
+ open: "open";
4086
+ "at-risk": "at-risk";
4087
+ slipped: "slipped";
4088
+ }>;
4089
+ }, z.core.$strict> | z.ZodObject<{
4090
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4091
+ id: z.ZodString;
4092
+ status: z.ZodEnum<{
4093
+ current: "current";
4094
+ "planned-new": "planned-new";
4095
+ "planned-modify": "planned-modify";
4096
+ "planned-retire": "planned-retire";
4097
+ retired: "retired";
4098
+ }>;
4099
+ confidence: z.ZodEnum<{
4100
+ verified: "verified";
4101
+ inferred: "inferred";
4102
+ asserted: "asserted";
4103
+ }>;
4104
+ evidence: z.ZodArray<z.ZodObject<{
4105
+ source: z.ZodEnum<{
4106
+ code: "code";
4107
+ config: "config";
4108
+ spec: "spec";
4109
+ gateway: "gateway";
4110
+ "event-config": "event-config";
4111
+ infrastructure: "infrastructure";
4112
+ pipeline: "pipeline";
4113
+ migration: "migration";
4114
+ diagram: "diagram";
4115
+ document: "document";
4116
+ export: "export";
4117
+ manual: "manual";
4118
+ }>;
4119
+ repo: z.ZodOptional<z.ZodString>;
4120
+ path: z.ZodOptional<z.ZodString>;
4121
+ line: z.ZodOptional<z.ZodNumber>;
4122
+ commit: z.ZodOptional<z.ZodString>;
4123
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4124
+ extractor: z.ZodOptional<z.ZodString>;
4125
+ dialect: z.ZodOptional<z.ZodString>;
4126
+ side: z.ZodOptional<z.ZodEnum<{
4127
+ gateway: "gateway";
4128
+ document: "document";
4129
+ caller: "caller";
4130
+ callee: "callee";
4131
+ definition: "definition";
4132
+ }>>;
4133
+ by: z.ZodOptional<z.ZodString>;
4134
+ }, z.core.$strict>>;
4135
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4136
+ kind: z.ZodLiteral<"OwnerQuestion">;
4137
+ system: z.ZodString;
4138
+ owner: z.ZodString;
4139
+ question: z.ZodString;
4140
+ neededFact: z.ZodString;
4141
+ channel: z.ZodEnum<{
4142
+ ado: "ado";
4143
+ teams: "teams";
4144
+ email: "email";
4145
+ }>;
4146
+ questionState: z.ZodEnum<{
4147
+ sent: "sent";
4148
+ answered: "answered";
4149
+ overdue: "overdue";
4150
+ }>;
4151
+ answer: z.ZodOptional<z.ZodString>;
4152
+ }, z.core.$strict> | z.ZodObject<{
4153
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4154
+ id: z.ZodString;
4155
+ status: z.ZodEnum<{
4156
+ current: "current";
4157
+ "planned-new": "planned-new";
4158
+ "planned-modify": "planned-modify";
4159
+ "planned-retire": "planned-retire";
4160
+ retired: "retired";
4161
+ }>;
4162
+ confidence: z.ZodEnum<{
4163
+ verified: "verified";
4164
+ inferred: "inferred";
4165
+ asserted: "asserted";
4166
+ }>;
4167
+ evidence: z.ZodArray<z.ZodObject<{
4168
+ source: z.ZodEnum<{
4169
+ code: "code";
4170
+ config: "config";
4171
+ spec: "spec";
4172
+ gateway: "gateway";
4173
+ "event-config": "event-config";
4174
+ infrastructure: "infrastructure";
4175
+ pipeline: "pipeline";
4176
+ migration: "migration";
4177
+ diagram: "diagram";
4178
+ document: "document";
4179
+ export: "export";
4180
+ manual: "manual";
4181
+ }>;
4182
+ repo: z.ZodOptional<z.ZodString>;
4183
+ path: z.ZodOptional<z.ZodString>;
4184
+ line: z.ZodOptional<z.ZodNumber>;
4185
+ commit: z.ZodOptional<z.ZodString>;
4186
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4187
+ extractor: z.ZodOptional<z.ZodString>;
4188
+ dialect: z.ZodOptional<z.ZodString>;
4189
+ side: z.ZodOptional<z.ZodEnum<{
4190
+ gateway: "gateway";
4191
+ document: "document";
4192
+ caller: "caller";
4193
+ callee: "callee";
4194
+ definition: "definition";
4195
+ }>>;
4196
+ by: z.ZodOptional<z.ZodString>;
4197
+ }, z.core.$strict>>;
4198
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4199
+ kind: z.ZodLiteral<"ProcessDefinition">;
4200
+ title: z.ZodString;
4201
+ processKind: z.ZodEnum<{
4202
+ process: "process";
4203
+ request: "request";
4204
+ }>;
4205
+ appliesWhen: z.ZodString;
4206
+ leadTime: z.ZodOptional<z.ZodString>;
4207
+ handledBy: z.ZodOptional<z.ZodString>;
4208
+ catalogueItem: z.ZodOptional<z.ZodString>;
4209
+ inputs: z.ZodDefault<z.ZodArray<z.ZodString>>;
4210
+ steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
4211
+ notes: z.ZodOptional<z.ZodString>;
4212
+ framework: z.ZodOptional<z.ZodString>;
4213
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
4214
+ quote: z.ZodObject<{
4215
+ source: z.ZodString;
4216
+ page: z.ZodString;
4217
+ section: z.ZodString;
4218
+ text: z.ZodString;
4219
+ snapshot: z.ZodISODate;
4220
+ line: z.ZodOptional<z.ZodNumber>;
4221
+ }, z.core.$strict>;
4222
+ alsoOn: z.ZodDefault<z.ZodArray<z.ZodObject<{
4223
+ source: z.ZodString;
4224
+ page: z.ZodString;
4225
+ section: z.ZodString;
4226
+ text: z.ZodString;
4227
+ snapshot: z.ZodISODate;
4228
+ line: z.ZodOptional<z.ZodNumber>;
4229
+ }, z.core.$strict>>>;
4230
+ urls: z.ZodDefault<z.ZodArray<z.ZodObject<{
4231
+ url: z.ZodString;
4232
+ label: z.ZodOptional<z.ZodString>;
4233
+ }, z.core.$strict>>>;
4234
+ }, z.core.$strict> | z.ZodObject<{
4235
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4236
+ id: z.ZodString;
4237
+ status: z.ZodEnum<{
4238
+ current: "current";
4239
+ "planned-new": "planned-new";
4240
+ "planned-modify": "planned-modify";
4241
+ "planned-retire": "planned-retire";
4242
+ retired: "retired";
4243
+ }>;
4244
+ confidence: z.ZodEnum<{
4245
+ verified: "verified";
4246
+ inferred: "inferred";
4247
+ asserted: "asserted";
4248
+ }>;
4249
+ evidence: z.ZodArray<z.ZodObject<{
4250
+ source: z.ZodEnum<{
4251
+ code: "code";
4252
+ config: "config";
4253
+ spec: "spec";
4254
+ gateway: "gateway";
4255
+ "event-config": "event-config";
4256
+ infrastructure: "infrastructure";
4257
+ pipeline: "pipeline";
4258
+ migration: "migration";
4259
+ diagram: "diagram";
4260
+ document: "document";
4261
+ export: "export";
4262
+ manual: "manual";
4263
+ }>;
4264
+ repo: z.ZodOptional<z.ZodString>;
4265
+ path: z.ZodOptional<z.ZodString>;
4266
+ line: z.ZodOptional<z.ZodNumber>;
4267
+ commit: z.ZodOptional<z.ZodString>;
4268
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4269
+ extractor: z.ZodOptional<z.ZodString>;
4270
+ dialect: z.ZodOptional<z.ZodString>;
4271
+ side: z.ZodOptional<z.ZodEnum<{
4272
+ gateway: "gateway";
4273
+ document: "document";
4274
+ caller: "caller";
4275
+ callee: "callee";
4276
+ definition: "definition";
4277
+ }>>;
4278
+ by: z.ZodOptional<z.ZodString>;
4279
+ }, z.core.$strict>>;
4280
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4281
+ kind: z.ZodLiteral<"ProcessArtifact">;
4282
+ artifactType: z.ZodEnum<{
4283
+ "snow-ticket": "snow-ticket";
4284
+ "ado-item": "ado-item";
4285
+ change: "change";
4286
+ }>;
4287
+ ref: z.ZodString;
4288
+ processStatus: z.ZodOptional<z.ZodString>;
4289
+ linkedRecords: z.ZodDefault<z.ZodArray<z.ZodString>>;
4290
+ }, z.core.$strict> | z.ZodObject<{
4291
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4292
+ id: z.ZodString;
4293
+ status: z.ZodEnum<{
4294
+ current: "current";
4295
+ "planned-new": "planned-new";
4296
+ "planned-modify": "planned-modify";
4297
+ "planned-retire": "planned-retire";
4298
+ retired: "retired";
4299
+ }>;
4300
+ confidence: z.ZodEnum<{
4301
+ verified: "verified";
4302
+ inferred: "inferred";
4303
+ asserted: "asserted";
4304
+ }>;
4305
+ evidence: z.ZodArray<z.ZodObject<{
4306
+ source: z.ZodEnum<{
4307
+ code: "code";
4308
+ config: "config";
4309
+ spec: "spec";
4310
+ gateway: "gateway";
4311
+ "event-config": "event-config";
4312
+ infrastructure: "infrastructure";
4313
+ pipeline: "pipeline";
4314
+ migration: "migration";
4315
+ diagram: "diagram";
4316
+ document: "document";
4317
+ export: "export";
4318
+ manual: "manual";
4319
+ }>;
4320
+ repo: z.ZodOptional<z.ZodString>;
4321
+ path: z.ZodOptional<z.ZodString>;
4322
+ line: z.ZodOptional<z.ZodNumber>;
4323
+ commit: z.ZodOptional<z.ZodString>;
4324
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4325
+ extractor: z.ZodOptional<z.ZodString>;
4326
+ dialect: z.ZodOptional<z.ZodString>;
4327
+ side: z.ZodOptional<z.ZodEnum<{
4328
+ gateway: "gateway";
4329
+ document: "document";
4330
+ caller: "caller";
4331
+ callee: "callee";
4332
+ definition: "definition";
4333
+ }>>;
4334
+ by: z.ZodOptional<z.ZodString>;
4335
+ }, z.core.$strict>>;
4336
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4337
+ kind: z.ZodLiteral<"Capability">;
4338
+ name: z.ZodString;
4339
+ description: z.ZodOptional<z.ZodString>;
4340
+ entryPoints: z.ZodDefault<z.ZodArray<z.ZodString>>;
4341
+ records: z.ZodDefault<z.ZodArray<z.ZodString>>;
4342
+ owner: z.ZodOptional<z.ZodString>;
4343
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
4344
+ externalRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
4345
+ system: z.ZodEnum<{
4346
+ other: "other";
4347
+ ado: "ado";
4348
+ jira: "jira";
4349
+ wiki: "wiki";
4350
+ openspec: "openspec";
4351
+ }>;
4352
+ id: z.ZodString;
4353
+ url: z.ZodOptional<z.ZodString>;
4354
+ title: z.ZodOptional<z.ZodString>;
4355
+ }, z.core.$strict>>>;
4356
+ namedBy: z.ZodEnum<{
4357
+ detected: "detected";
4358
+ ai: "ai";
4359
+ person: "person";
4360
+ }>;
4361
+ }, z.core.$strict> | z.ZodObject<{
4362
+ kind: z.ZodLiteral<"Flow">;
4363
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
4364
+ id: z.ZodString;
4365
+ status: z.ZodDefault<z.ZodEnum<{
4366
+ current: "current";
4367
+ "planned-new": "planned-new";
4368
+ "planned-modify": "planned-modify";
4369
+ "planned-retire": "planned-retire";
4370
+ retired: "retired";
4371
+ }>>;
4372
+ confidence: z.ZodDefault<z.ZodEnum<{
4373
+ verified: "verified";
4374
+ inferred: "inferred";
4375
+ asserted: "asserted";
4376
+ }>>;
4377
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
4378
+ source: z.ZodEnum<{
4379
+ code: "code";
4380
+ config: "config";
4381
+ spec: "spec";
4382
+ gateway: "gateway";
4383
+ "event-config": "event-config";
4384
+ infrastructure: "infrastructure";
4385
+ pipeline: "pipeline";
4386
+ migration: "migration";
4387
+ diagram: "diagram";
4388
+ document: "document";
4389
+ export: "export";
4390
+ manual: "manual";
4391
+ }>;
4392
+ repo: z.ZodOptional<z.ZodString>;
4393
+ path: z.ZodOptional<z.ZodString>;
4394
+ line: z.ZodOptional<z.ZodNumber>;
4395
+ commit: z.ZodOptional<z.ZodString>;
4396
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4397
+ extractor: z.ZodOptional<z.ZodString>;
4398
+ dialect: z.ZodOptional<z.ZodString>;
4399
+ side: z.ZodOptional<z.ZodEnum<{
4400
+ gateway: "gateway";
4401
+ document: "document";
4402
+ caller: "caller";
4403
+ callee: "callee";
4404
+ definition: "definition";
4405
+ }>>;
4406
+ by: z.ZodOptional<z.ZodString>;
4407
+ }, z.core.$strict>>>;
4408
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4409
+ component: z.ZodString;
4410
+ name: z.ZodString;
4411
+ trigger: z.ZodObject<{
4412
+ kind: z.ZodEnum<{
4413
+ endpoint: "endpoint";
4414
+ page: "page";
4415
+ action: "action";
4416
+ listener: "listener";
4417
+ job: "job";
4418
+ }>;
4419
+ ref: z.ZodOptional<z.ZodString>;
4420
+ what: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodTransform<string, string | number | boolean>>, z.ZodString>;
4421
+ caller: z.ZodOptional<z.ZodObject<{
4422
+ who: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodTransform<string, string | number | boolean>>, z.ZodString>;
4423
+ ref: z.ZodOptional<z.ZodString>;
4424
+ via: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodTransform<string, string | number | boolean>>, z.ZodString>>;
4425
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
4426
+ source: z.ZodEnum<{
4427
+ code: "code";
4428
+ config: "config";
4429
+ spec: "spec";
4430
+ gateway: "gateway";
4431
+ "event-config": "event-config";
4432
+ infrastructure: "infrastructure";
4433
+ pipeline: "pipeline";
4434
+ migration: "migration";
4435
+ diagram: "diagram";
4436
+ document: "document";
4437
+ export: "export";
4438
+ manual: "manual";
4439
+ }>;
4440
+ repo: z.ZodOptional<z.ZodString>;
4441
+ path: z.ZodOptional<z.ZodString>;
4442
+ line: z.ZodOptional<z.ZodNumber>;
4443
+ commit: z.ZodOptional<z.ZodString>;
4444
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4445
+ extractor: z.ZodOptional<z.ZodString>;
4446
+ dialect: z.ZodOptional<z.ZodString>;
4447
+ side: z.ZodOptional<z.ZodEnum<{
4448
+ gateway: "gateway";
4449
+ document: "document";
4450
+ caller: "caller";
4451
+ callee: "callee";
4452
+ definition: "definition";
4453
+ }>>;
4454
+ by: z.ZodOptional<z.ZodString>;
4455
+ }, z.core.$strict>>>;
4456
+ }, z.core.$strict>>;
4457
+ evidence: z.ZodArray<z.ZodObject<{
4458
+ source: z.ZodEnum<{
4459
+ code: "code";
4460
+ config: "config";
4461
+ spec: "spec";
4462
+ gateway: "gateway";
4463
+ "event-config": "event-config";
4464
+ infrastructure: "infrastructure";
4465
+ pipeline: "pipeline";
4466
+ migration: "migration";
4467
+ diagram: "diagram";
4468
+ document: "document";
4469
+ export: "export";
4470
+ manual: "manual";
4471
+ }>;
4472
+ repo: z.ZodOptional<z.ZodString>;
4473
+ path: z.ZodOptional<z.ZodString>;
4474
+ line: z.ZodOptional<z.ZodNumber>;
4475
+ commit: z.ZodOptional<z.ZodString>;
4476
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4477
+ extractor: z.ZodOptional<z.ZodString>;
4478
+ dialect: z.ZodOptional<z.ZodString>;
4479
+ side: z.ZodOptional<z.ZodEnum<{
4480
+ gateway: "gateway";
4481
+ document: "document";
4482
+ caller: "caller";
4483
+ callee: "callee";
4484
+ definition: "definition";
4485
+ }>>;
4486
+ by: z.ZodOptional<z.ZodString>;
4487
+ }, z.core.$strict>>;
4488
+ }, z.core.$strict>;
4489
+ steps: z.ZodArray<z.ZodObject<{
4490
+ kind: z.ZodEnum<{
4491
+ transform: "transform";
4492
+ retry: "retry";
4493
+ entry: "entry";
4494
+ lookup: "lookup";
4495
+ read: "read";
4496
+ write: "write";
4497
+ "call-out": "call-out";
4498
+ publish: "publish";
4499
+ validate: "validate";
4500
+ branch: "branch";
4501
+ log: "log";
4502
+ respond: "respond";
4503
+ loop: "loop";
4504
+ }>;
4505
+ what: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodTransform<string, string | number | boolean>>, z.ZodString>;
4506
+ refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
4507
+ to: z.ZodOptional<z.ZodObject<{
4508
+ component: z.ZodString;
4509
+ entry: z.ZodString;
4510
+ }, z.core.$strict>>;
4511
+ data: z.ZodOptional<z.ZodObject<{
4512
+ sends: z.ZodOptional<z.ZodArray<z.ZodString>>;
4513
+ returns: z.ZodOptional<z.ZodArray<z.ZodString>>;
4514
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
4515
+ checks: z.ZodOptional<z.ZodArray<z.ZodString>>;
4516
+ from: z.ZodOptional<z.ZodArray<z.ZodString>>;
4517
+ to: z.ZodOptional<z.ZodArray<z.ZodString>>;
4518
+ }, z.core.$strict>>;
4519
+ store: z.ZodOptional<z.ZodObject<{
4520
+ table: z.ZodString;
4521
+ columns: z.ZodDefault<z.ZodArray<z.ZodString>>;
4522
+ }, z.core.$strict>>;
4523
+ evidence: z.ZodArray<z.ZodObject<{
4524
+ source: z.ZodEnum<{
4525
+ code: "code";
4526
+ config: "config";
4527
+ spec: "spec";
4528
+ gateway: "gateway";
4529
+ "event-config": "event-config";
4530
+ infrastructure: "infrastructure";
4531
+ pipeline: "pipeline";
4532
+ migration: "migration";
4533
+ diagram: "diagram";
4534
+ document: "document";
4535
+ export: "export";
4536
+ manual: "manual";
4537
+ }>;
4538
+ repo: z.ZodOptional<z.ZodString>;
4539
+ path: z.ZodOptional<z.ZodString>;
4540
+ line: z.ZodOptional<z.ZodNumber>;
4541
+ commit: z.ZodOptional<z.ZodString>;
4542
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4543
+ extractor: z.ZodOptional<z.ZodString>;
4544
+ dialect: z.ZodOptional<z.ZodString>;
4545
+ side: z.ZodOptional<z.ZodEnum<{
4546
+ gateway: "gateway";
4547
+ document: "document";
4548
+ caller: "caller";
4549
+ callee: "callee";
4550
+ definition: "definition";
4551
+ }>>;
4552
+ by: z.ZodOptional<z.ZodString>;
4553
+ }, z.core.$strict>>;
4554
+ confirmedBy: z.ZodOptional<z.ZodEnum<{
4555
+ check: "check";
4556
+ ai: "ai";
4557
+ person: "person";
4558
+ }>>;
4559
+ repeats: z.ZodOptional<z.ZodObject<{
4560
+ from: z.ZodNumber;
4561
+ to: z.ZodNumber;
4562
+ }, z.core.$strict>>;
4563
+ }, z.core.$strict>>;
4564
+ errors: z.ZodDefault<z.ZodArray<z.ZodObject<{
4565
+ when: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodTransform<string, string | number | boolean>>, z.ZodString>;
4566
+ then: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodTransform<string, string | number | boolean>>, z.ZodString>;
4567
+ evidence: z.ZodArray<z.ZodObject<{
4568
+ source: z.ZodEnum<{
4569
+ code: "code";
4570
+ config: "config";
4571
+ spec: "spec";
4572
+ gateway: "gateway";
4573
+ "event-config": "event-config";
4574
+ infrastructure: "infrastructure";
4575
+ pipeline: "pipeline";
4576
+ migration: "migration";
4577
+ diagram: "diagram";
4578
+ document: "document";
4579
+ export: "export";
4580
+ manual: "manual";
4581
+ }>;
4582
+ repo: z.ZodOptional<z.ZodString>;
4583
+ path: z.ZodOptional<z.ZodString>;
4584
+ line: z.ZodOptional<z.ZodNumber>;
4585
+ commit: z.ZodOptional<z.ZodString>;
4586
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4587
+ extractor: z.ZodOptional<z.ZodString>;
4588
+ dialect: z.ZodOptional<z.ZodString>;
4589
+ side: z.ZodOptional<z.ZodEnum<{
4590
+ gateway: "gateway";
4591
+ document: "document";
4592
+ caller: "caller";
4593
+ callee: "callee";
4594
+ definition: "definition";
4595
+ }>>;
4596
+ by: z.ZodOptional<z.ZodString>;
4597
+ }, z.core.$strict>>;
4598
+ confirmedBy: z.ZodOptional<z.ZodEnum<{
4599
+ check: "check";
4600
+ ai: "ai";
4601
+ person: "person";
4602
+ }>>;
4603
+ }, z.core.$strict>>>;
4604
+ family: z.ZodDefault<z.ZodArray<z.ZodString>>;
4605
+ template: z.ZodString;
4606
+ }, z.core.$strict> | z.ZodObject<{
4607
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4608
+ id: z.ZodString;
4609
+ status: z.ZodEnum<{
4610
+ current: "current";
4611
+ "planned-new": "planned-new";
4612
+ "planned-modify": "planned-modify";
4613
+ "planned-retire": "planned-retire";
4614
+ retired: "retired";
4615
+ }>;
4616
+ confidence: z.ZodEnum<{
4617
+ verified: "verified";
4618
+ inferred: "inferred";
4619
+ asserted: "asserted";
4620
+ }>;
4621
+ evidence: z.ZodArray<z.ZodObject<{
4622
+ source: z.ZodEnum<{
4623
+ code: "code";
4624
+ config: "config";
4625
+ spec: "spec";
4626
+ gateway: "gateway";
4627
+ "event-config": "event-config";
4628
+ infrastructure: "infrastructure";
4629
+ pipeline: "pipeline";
4630
+ migration: "migration";
4631
+ diagram: "diagram";
4632
+ document: "document";
4633
+ export: "export";
4634
+ manual: "manual";
4635
+ }>;
4636
+ repo: z.ZodOptional<z.ZodString>;
4637
+ path: z.ZodOptional<z.ZodString>;
4638
+ line: z.ZodOptional<z.ZodNumber>;
4639
+ commit: z.ZodOptional<z.ZodString>;
4640
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4641
+ extractor: z.ZodOptional<z.ZodString>;
4642
+ dialect: z.ZodOptional<z.ZodString>;
4643
+ side: z.ZodOptional<z.ZodEnum<{
4644
+ gateway: "gateway";
4645
+ document: "document";
4646
+ caller: "caller";
4647
+ callee: "callee";
4648
+ definition: "definition";
4649
+ }>>;
4650
+ by: z.ZodOptional<z.ZodString>;
4651
+ }, z.core.$strict>>;
4652
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4653
+ kind: z.ZodLiteral<"Unresolved">;
4654
+ unresolvedKind: z.ZodString;
4655
+ raw: z.ZodString;
4656
+ owner: z.ZodOptional<z.ZodString>;
4657
+ }, z.core.$strict> | z.ZodObject<{
4658
+ kind: z.ZodLiteral<"CuratedDecision">;
4659
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4660
+ id: z.ZodString;
4661
+ status: z.ZodEnum<{
4662
+ current: "current";
4663
+ "planned-new": "planned-new";
4664
+ "planned-modify": "planned-modify";
4665
+ "planned-retire": "planned-retire";
4666
+ retired: "retired";
4667
+ }>;
4668
+ confidence: z.ZodLiteral<"asserted">;
4669
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
4670
+ source: z.ZodEnum<{
4671
+ code: "code";
4672
+ config: "config";
4673
+ spec: "spec";
4674
+ gateway: "gateway";
4675
+ "event-config": "event-config";
4676
+ infrastructure: "infrastructure";
4677
+ pipeline: "pipeline";
4678
+ migration: "migration";
4679
+ diagram: "diagram";
4680
+ document: "document";
4681
+ export: "export";
4682
+ manual: "manual";
4683
+ }>;
4684
+ repo: z.ZodOptional<z.ZodString>;
4685
+ path: z.ZodOptional<z.ZodString>;
4686
+ line: z.ZodOptional<z.ZodNumber>;
4687
+ commit: z.ZodOptional<z.ZodString>;
4688
+ scannedAt: z.ZodOptional<z.ZodISODateTime>;
4689
+ extractor: z.ZodOptional<z.ZodString>;
4690
+ dialect: z.ZodOptional<z.ZodString>;
4691
+ side: z.ZodOptional<z.ZodEnum<{
4692
+ gateway: "gateway";
4693
+ document: "document";
4694
+ caller: "caller";
4695
+ callee: "callee";
4696
+ definition: "definition";
4697
+ }>>;
4698
+ by: z.ZodOptional<z.ZodString>;
4699
+ }, z.core.$strict>>>;
4700
+ flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4701
+ target: z.ZodString;
4702
+ action: z.ZodEnum<{
4703
+ alias: "alias";
4704
+ assert: "assert";
4705
+ suppress: "suppress";
4706
+ "resolve-conflict": "resolve-conflict";
4707
+ classify: "classify";
4708
+ }>;
4709
+ value: z.ZodUnknown;
4710
+ reason: z.ZodString;
4711
+ by: z.ZodString;
4712
+ at: z.ZodISODateTime;
4713
+ pr: z.ZodOptional<z.ZodString>;
4714
+ }, z.core.$strict>)[]], "kind">;
4715
+ export type CatalogRecord = z.infer<typeof CatalogRecord>;
4716
+ export type RecordOf<K extends RecordKind> = Extract<CatalogRecord, {
4717
+ kind: K;
4718
+ }>;
4719
+ export interface RecordIssue {
4720
+ path: string;
4721
+ message: string;
4722
+ }
4723
+ export type ParseResult = {
4724
+ ok: true;
4725
+ record: CatalogRecord;
4726
+ } | {
4727
+ ok: false;
4728
+ issues: RecordIssue[];
4729
+ };
4730
+ /** Validate unknown input as a catalog record. Never throws. */
4731
+ export declare function parseRecord(input: unknown): ParseResult;
4732
+ /** Folder (under catalog/generated or catalog/curated) and file name for a record. */
4733
+ export declare function recordPath(record: Pick<CatalogRecord, "kind" | "id">): string;