@maycombhq/sdk 2.0.0-beta.1 → 2.0.0-beta.11

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