@numa-tech/numa 1.12.10 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +96 -14
  2. package/dist/ai-registry/commands.js +33 -33
  3. package/dist/ai-registry/commands.js.map +1 -1
  4. package/dist/app-config.d.ts +0 -1
  5. package/dist/app-config.js +4 -2
  6. package/dist/app-config.js.map +1 -1
  7. package/dist/application-onboarding/client.d.ts +83 -8
  8. package/dist/application-onboarding/client.js +23 -1
  9. package/dist/application-onboarding/client.js.map +1 -1
  10. package/dist/application-onboarding/commands.js +66 -4
  11. package/dist/application-onboarding/commands.js.map +1 -1
  12. package/dist/application-onboarding/schemas.d.ts +301 -58
  13. package/dist/application-onboarding/schemas.js +134 -8
  14. package/dist/application-onboarding/schemas.js.map +1 -1
  15. package/dist/application-onboarding/tui-model.d.ts +18 -0
  16. package/dist/application-onboarding/tui-model.js +215 -3
  17. package/dist/application-onboarding/tui-model.js.map +1 -1
  18. package/dist/application-onboarding/tui.d.ts +1 -1
  19. package/dist/application-onboarding/tui.js +20 -6
  20. package/dist/application-onboarding/tui.js.map +1 -1
  21. package/dist/authorization/access-request-client.d.ts +45 -0
  22. package/dist/authorization/access-request-client.js +93 -0
  23. package/dist/authorization/access-request-client.js.map +1 -0
  24. package/dist/authorization/access-request-commands.d.ts +25 -0
  25. package/dist/authorization/access-request-commands.js +196 -0
  26. package/dist/authorization/access-request-commands.js.map +1 -0
  27. package/dist/authorization/access-request-schemas.d.ts +123 -0
  28. package/dist/authorization/access-request-schemas.js +67 -0
  29. package/dist/authorization/access-request-schemas.js.map +1 -0
  30. package/dist/authorization/client.d.ts +50 -0
  31. package/dist/authorization/client.js +113 -0
  32. package/dist/authorization/client.js.map +1 -0
  33. package/dist/authorization/commands.d.ts +40 -0
  34. package/dist/authorization/commands.js +296 -0
  35. package/dist/authorization/commands.js.map +1 -0
  36. package/dist/authorization/errors.d.ts +13 -0
  37. package/dist/authorization/errors.js +70 -0
  38. package/dist/authorization/errors.js.map +1 -0
  39. package/dist/authorization/schemas.d.ts +187 -0
  40. package/dist/authorization/schemas.js +101 -0
  41. package/dist/authorization/schemas.js.map +1 -0
  42. package/dist/cli.js +73 -9
  43. package/dist/cli.js.map +1 -1
  44. package/dist/clusters/client.d.ts +436 -0
  45. package/dist/clusters/client.js +207 -0
  46. package/dist/clusters/client.js.map +1 -0
  47. package/dist/clusters/commands.d.ts +11 -0
  48. package/dist/clusters/commands.js +373 -0
  49. package/dist/clusters/commands.js.map +1 -0
  50. package/dist/clusters/errors.d.ts +10 -0
  51. package/dist/clusters/errors.js +61 -0
  52. package/dist/clusters/errors.js.map +1 -0
  53. package/dist/clusters/kubeconfig-discovery.d.ts +48 -0
  54. package/dist/clusters/kubeconfig-discovery.js +280 -0
  55. package/dist/clusters/kubeconfig-discovery.js.map +1 -0
  56. package/dist/clusters/schemas.d.ts +510 -0
  57. package/dist/clusters/schemas.js +201 -0
  58. package/dist/clusters/schemas.js.map +1 -0
  59. package/dist/command-catalog.js +490 -26
  60. package/dist/command-catalog.js.map +1 -1
  61. package/dist/gitops/client.d.ts +499 -0
  62. package/dist/gitops/client.js +163 -0
  63. package/dist/gitops/client.js.map +1 -0
  64. package/dist/gitops/commands.d.ts +11 -0
  65. package/dist/gitops/commands.js +367 -0
  66. package/dist/gitops/commands.js.map +1 -0
  67. package/dist/gitops/errors.d.ts +10 -0
  68. package/dist/gitops/errors.js +59 -0
  69. package/dist/gitops/errors.js.map +1 -0
  70. package/dist/gitops/schemas.d.ts +1712 -0
  71. package/dist/gitops/schemas.js +360 -0
  72. package/dist/gitops/schemas.js.map +1 -0
  73. package/dist/repositories/client.d.ts +540 -0
  74. package/dist/repositories/client.js +215 -0
  75. package/dist/repositories/client.js.map +1 -0
  76. package/dist/repositories/commands.d.ts +10 -0
  77. package/dist/repositories/commands.js +347 -0
  78. package/dist/repositories/commands.js.map +1 -0
  79. package/dist/repositories/errors.d.ts +10 -0
  80. package/dist/repositories/errors.js +60 -0
  81. package/dist/repositories/errors.js.map +1 -0
  82. package/dist/repositories/schemas.d.ts +1692 -0
  83. package/dist/repositories/schemas.js +255 -0
  84. package/dist/repositories/schemas.js.map +1 -0
  85. package/dist/web-console-page.d.ts +1 -1
  86. package/dist/web-console-page.js +1 -1
  87. package/dist/web-console.js +2 -2
  88. package/dist/web-console.js.map +1 -1
  89. package/examples/ai-registry/README.md +18 -0
  90. package/examples/ai-registry/nacos-instance.username-password.example.json +25 -0
  91. package/package.json +4 -4
  92. package/skills/numa-ai-registry/SKILL.md +5 -5
  93. package/skills/numa-ai-registry/evals/evals.json +1 -1
  94. package/skills/numa-ai-registry/references/command-contract.md +22 -22
@@ -0,0 +1,1712 @@
1
+ import { z } from "zod";
2
+ export declare const GitOpsTierSchema: z.ZodEnum<{
3
+ DEVELOP: "DEVELOP";
4
+ PRODUCTION: "PRODUCTION";
5
+ STAGING: "STAGING";
6
+ }>;
7
+ export declare const GitOpsRepositoryStatusSchema: z.ZodEnum<{
8
+ DEGRADED: "DEGRADED";
9
+ DISABLED: "DISABLED";
10
+ HEALTHY: "HEALTHY";
11
+ UNAVAILABLE: "UNAVAILABLE";
12
+ UNKNOWN: "UNKNOWN";
13
+ }>;
14
+ export declare const GitOpsServiceStateSchema: z.ZodEnum<{
15
+ ACTIVE: "ACTIVE";
16
+ APPLYING: "APPLYING";
17
+ ARCHIVED: "ARCHIVED";
18
+ DECLARED: "DECLARED";
19
+ DRIFTED: "DRIFTED";
20
+ FAILED: "FAILED";
21
+ PLANNED: "PLANNED";
22
+ VERIFYING: "VERIFYING";
23
+ WAITING_REVIEW: "WAITING_REVIEW";
24
+ }>;
25
+ export declare const GitOpsChangeStateSchema: z.ZodEnum<{
26
+ APPLYING: "APPLYING";
27
+ CANCELLED: "CANCELLED";
28
+ DRAFT: "DRAFT";
29
+ FAILED: "FAILED";
30
+ PLANNED: "PLANNED";
31
+ QUEUED: "QUEUED";
32
+ STALE: "STALE";
33
+ SUCCEEDED: "SUCCEEDED";
34
+ SUPERSEDED: "SUPERSEDED";
35
+ VALIDATED: "VALIDATED";
36
+ VERIFYING: "VERIFYING";
37
+ WAITING_REVIEW: "WAITING_REVIEW";
38
+ }>;
39
+ export declare const GitOpsRepositorySchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
40
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
41
+ code: z.ZodString;
42
+ name: z.ZodString;
43
+ codeRepositoryId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
44
+ scmConnectionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
45
+ remoteExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ writeBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ layoutRoot: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ configWriteMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ imageWriteMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ lastProbedRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ lastCapabilityVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
52
+ healthStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ lastProbedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ status: z.ZodString;
55
+ version: z.ZodNumber;
56
+ }, z.core.$loose>, z.ZodTransform<{
57
+ id: string;
58
+ code: string;
59
+ name: string;
60
+ codeRepositoryId?: string | null | undefined;
61
+ scmConnectionId?: string | null | undefined;
62
+ remoteExternalId?: string | null | undefined;
63
+ writeBranch?: string | null | undefined;
64
+ layoutRoot?: string | null | undefined;
65
+ configWriteMode?: string | null | undefined;
66
+ imageWriteMode?: string | null | undefined;
67
+ lastProbedRevision?: string | null | undefined;
68
+ lastCapabilityVersion?: number | null | undefined;
69
+ healthStatus?: string | null | undefined;
70
+ lastProbedAt?: string | null | undefined;
71
+ version: number;
72
+ repositoryKey: string;
73
+ repositoryStableId: string | null | undefined;
74
+ capabilityVersion: string | undefined;
75
+ lifecycleStatus: string;
76
+ status: string;
77
+ }, {
78
+ [x: string]: unknown;
79
+ id: string;
80
+ code: string;
81
+ name: string;
82
+ codeRepositoryId?: string | null | undefined;
83
+ scmConnectionId?: string | null | undefined;
84
+ remoteExternalId?: string | null | undefined;
85
+ writeBranch?: string | null | undefined;
86
+ layoutRoot?: string | null | undefined;
87
+ configWriteMode?: string | null | undefined;
88
+ imageWriteMode?: string | null | undefined;
89
+ lastProbedRevision?: string | null | undefined;
90
+ lastCapabilityVersion?: number | null | undefined;
91
+ healthStatus?: string | null | undefined;
92
+ lastProbedAt?: string | null | undefined;
93
+ status: string;
94
+ version: number;
95
+ }>>, z.ZodObject<{
96
+ repositoryKey: z.ZodString;
97
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
+ scmConnectionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
+ repositoryStableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
100
+ cloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
+ configWriteMode: z.ZodOptional<z.ZodEnum<{
102
+ DIRECT_BRANCH: "DIRECT_BRANCH";
103
+ REVIEWED_CHANGE: "REVIEWED_CHANGE";
104
+ }>>;
105
+ imageWriteMode: z.ZodOptional<z.ZodLiteral<"JENKINS_DIRECT">>;
106
+ status: z.ZodOptional<z.ZodEnum<{
107
+ DEGRADED: "DEGRADED";
108
+ DISABLED: "DISABLED";
109
+ HEALTHY: "HEALTHY";
110
+ UNAVAILABLE: "UNAVAILABLE";
111
+ UNKNOWN: "UNKNOWN";
112
+ }>>;
113
+ lastProbedRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
114
+ capabilityVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
+ }, z.core.$loose>]>;
116
+ export declare const GitOpsRepositoryProbeSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
117
+ repository: z.ZodPipe<z.ZodObject<{
118
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
119
+ code: z.ZodString;
120
+ name: z.ZodString;
121
+ codeRepositoryId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
122
+ scmConnectionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
123
+ remoteExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
+ writeBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
+ layoutRoot: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
+ configWriteMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
+ imageWriteMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
+ lastProbedRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
+ lastCapabilityVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
130
+ healthStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
+ lastProbedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
+ status: z.ZodString;
133
+ version: z.ZodNumber;
134
+ }, z.core.$loose>, z.ZodTransform<{
135
+ id: string;
136
+ code: string;
137
+ name: string;
138
+ codeRepositoryId?: string | null | undefined;
139
+ scmConnectionId?: string | null | undefined;
140
+ remoteExternalId?: string | null | undefined;
141
+ writeBranch?: string | null | undefined;
142
+ layoutRoot?: string | null | undefined;
143
+ configWriteMode?: string | null | undefined;
144
+ imageWriteMode?: string | null | undefined;
145
+ lastProbedRevision?: string | null | undefined;
146
+ lastCapabilityVersion?: number | null | undefined;
147
+ healthStatus?: string | null | undefined;
148
+ lastProbedAt?: string | null | undefined;
149
+ version: number;
150
+ repositoryKey: string;
151
+ repositoryStableId: string | null | undefined;
152
+ capabilityVersion: string | undefined;
153
+ lifecycleStatus: string;
154
+ status: string;
155
+ }, {
156
+ [x: string]: unknown;
157
+ id: string;
158
+ code: string;
159
+ name: string;
160
+ codeRepositoryId?: string | null | undefined;
161
+ scmConnectionId?: string | null | undefined;
162
+ remoteExternalId?: string | null | undefined;
163
+ writeBranch?: string | null | undefined;
164
+ layoutRoot?: string | null | undefined;
165
+ configWriteMode?: string | null | undefined;
166
+ imageWriteMode?: string | null | undefined;
167
+ lastProbedRevision?: string | null | undefined;
168
+ lastCapabilityVersion?: number | null | undefined;
169
+ healthStatus?: string | null | undefined;
170
+ lastProbedAt?: string | null | undefined;
171
+ status: string;
172
+ version: number;
173
+ }>>;
174
+ healthy: z.ZodBoolean;
175
+ revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
176
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
177
+ }, z.core.$loose>, z.ZodTransform<{
178
+ repository: {
179
+ id: string;
180
+ code: string;
181
+ name: string;
182
+ codeRepositoryId?: string | null | undefined;
183
+ scmConnectionId?: string | null | undefined;
184
+ remoteExternalId?: string | null | undefined;
185
+ writeBranch?: string | null | undefined;
186
+ layoutRoot?: string | null | undefined;
187
+ configWriteMode?: string | null | undefined;
188
+ imageWriteMode?: string | null | undefined;
189
+ lastProbedRevision?: string | null | undefined;
190
+ lastCapabilityVersion?: number | null | undefined;
191
+ healthStatus?: string | null | undefined;
192
+ lastProbedAt?: string | null | undefined;
193
+ version: number;
194
+ repositoryKey: string;
195
+ repositoryStableId: string | null | undefined;
196
+ capabilityVersion: string | undefined;
197
+ lifecycleStatus: string;
198
+ status: string;
199
+ };
200
+ healthy: boolean;
201
+ revision?: string | null | undefined;
202
+ message?: string | null | undefined;
203
+ repositoryKey: string;
204
+ status: string;
205
+ capabilityVersion: string | undefined;
206
+ checkedAt: string | null | undefined;
207
+ warnings: string[];
208
+ }, {
209
+ [x: string]: unknown;
210
+ repository: {
211
+ id: string;
212
+ code: string;
213
+ name: string;
214
+ codeRepositoryId?: string | null | undefined;
215
+ scmConnectionId?: string | null | undefined;
216
+ remoteExternalId?: string | null | undefined;
217
+ writeBranch?: string | null | undefined;
218
+ layoutRoot?: string | null | undefined;
219
+ configWriteMode?: string | null | undefined;
220
+ imageWriteMode?: string | null | undefined;
221
+ lastProbedRevision?: string | null | undefined;
222
+ lastCapabilityVersion?: number | null | undefined;
223
+ healthStatus?: string | null | undefined;
224
+ lastProbedAt?: string | null | undefined;
225
+ version: number;
226
+ repositoryKey: string;
227
+ repositoryStableId: string | null | undefined;
228
+ capabilityVersion: string | undefined;
229
+ lifecycleStatus: string;
230
+ status: string;
231
+ };
232
+ healthy: boolean;
233
+ revision?: string | null | undefined;
234
+ message?: string | null | undefined;
235
+ }>>, z.ZodObject<{
236
+ repositoryKey: z.ZodString;
237
+ healthy: z.ZodBoolean;
238
+ status: z.ZodEnum<{
239
+ DEGRADED: "DEGRADED";
240
+ DISABLED: "DISABLED";
241
+ HEALTHY: "HEALTHY";
242
+ UNAVAILABLE: "UNAVAILABLE";
243
+ UNKNOWN: "UNKNOWN";
244
+ }>;
245
+ revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
246
+ capabilityVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
247
+ checkedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
248
+ warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
249
+ }, z.core.$loose>]>;
250
+ export declare const GitOpsTargetSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
251
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
252
+ targetKey: z.ZodString;
253
+ name: z.ZodString;
254
+ environmentId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
255
+ clusterId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
256
+ namespaceId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
257
+ fluxInstallationId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
258
+ gitopsRepositoryId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
259
+ writeBranch: z.ZodString;
260
+ reconcileBranch: z.ZodString;
261
+ overlayPath: z.ZodString;
262
+ tier: z.ZodEnum<{
263
+ DEVELOP: "DEVELOP";
264
+ PRODUCTION: "PRODUCTION";
265
+ STAGING: "STAGING";
266
+ }>;
267
+ primary: z.ZodBoolean;
268
+ status: z.ZodString;
269
+ version: z.ZodNumber;
270
+ }, z.core.$loose>, z.ZodTransform<{
271
+ id: string;
272
+ targetKey: string;
273
+ name: string;
274
+ environmentId: string;
275
+ clusterId: string;
276
+ namespaceId: string;
277
+ fluxInstallationId?: string | null | undefined;
278
+ gitopsRepositoryId: string;
279
+ writeBranch: string;
280
+ reconcileBranch: string;
281
+ overlayPath: string;
282
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
283
+ primary: boolean;
284
+ status: string;
285
+ version: number;
286
+ envId: string;
287
+ clusterCode: string;
288
+ namespace: string;
289
+ fluxInstallationKey: string | null | undefined;
290
+ repositoryKey: string;
291
+ }, {
292
+ [x: string]: unknown;
293
+ id: string;
294
+ targetKey: string;
295
+ name: string;
296
+ environmentId: string;
297
+ clusterId: string;
298
+ namespaceId: string;
299
+ fluxInstallationId?: string | null | undefined;
300
+ gitopsRepositoryId: string;
301
+ writeBranch: string;
302
+ reconcileBranch: string;
303
+ overlayPath: string;
304
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
305
+ primary: boolean;
306
+ status: string;
307
+ version: number;
308
+ }>>, z.ZodObject<{
309
+ targetKey: z.ZodString;
310
+ environmentCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
311
+ envId: z.ZodString;
312
+ clusterCode: z.ZodString;
313
+ namespace: z.ZodString;
314
+ fluxInstallationKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
315
+ repositoryKey: z.ZodString;
316
+ writeBranch: z.ZodString;
317
+ reconcileBranch: z.ZodString;
318
+ overlayPath: z.ZodString;
319
+ imageRepositoryTemplate: z.ZodString;
320
+ tier: z.ZodEnum<{
321
+ DEVELOP: "DEVELOP";
322
+ PRODUCTION: "PRODUCTION";
323
+ STAGING: "STAGING";
324
+ }>;
325
+ primary: z.ZodDefault<z.ZodBoolean>;
326
+ status: z.ZodOptional<z.ZodString>;
327
+ }, z.core.$loose>]>;
328
+ export declare const GitOpsValidationIssueSchema: z.ZodObject<{
329
+ code: z.ZodString;
330
+ severity: z.ZodEnum<{
331
+ ERROR: "ERROR";
332
+ INFO: "INFO";
333
+ WARNING: "WARNING";
334
+ }>;
335
+ message: z.ZodString;
336
+ field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
337
+ }, z.core.$loose>;
338
+ export declare const GitOpsTargetValidationSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
339
+ target: z.ZodPipe<z.ZodObject<{
340
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
341
+ targetKey: z.ZodString;
342
+ name: z.ZodString;
343
+ environmentId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
344
+ clusterId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
345
+ namespaceId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
346
+ fluxInstallationId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
347
+ gitopsRepositoryId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
348
+ writeBranch: z.ZodString;
349
+ reconcileBranch: z.ZodString;
350
+ overlayPath: z.ZodString;
351
+ tier: z.ZodEnum<{
352
+ DEVELOP: "DEVELOP";
353
+ PRODUCTION: "PRODUCTION";
354
+ STAGING: "STAGING";
355
+ }>;
356
+ primary: z.ZodBoolean;
357
+ status: z.ZodString;
358
+ version: z.ZodNumber;
359
+ }, z.core.$loose>, z.ZodTransform<{
360
+ id: string;
361
+ targetKey: string;
362
+ name: string;
363
+ environmentId: string;
364
+ clusterId: string;
365
+ namespaceId: string;
366
+ fluxInstallationId?: string | null | undefined;
367
+ gitopsRepositoryId: string;
368
+ writeBranch: string;
369
+ reconcileBranch: string;
370
+ overlayPath: string;
371
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
372
+ primary: boolean;
373
+ status: string;
374
+ version: number;
375
+ envId: string;
376
+ clusterCode: string;
377
+ namespace: string;
378
+ fluxInstallationKey: string | null | undefined;
379
+ repositoryKey: string;
380
+ }, {
381
+ [x: string]: unknown;
382
+ id: string;
383
+ targetKey: string;
384
+ name: string;
385
+ environmentId: string;
386
+ clusterId: string;
387
+ namespaceId: string;
388
+ fluxInstallationId?: string | null | undefined;
389
+ gitopsRepositoryId: string;
390
+ writeBranch: string;
391
+ reconcileBranch: string;
392
+ overlayPath: string;
393
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
394
+ primary: boolean;
395
+ status: string;
396
+ version: number;
397
+ }>>;
398
+ valid: z.ZodBoolean;
399
+ scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
+ issues: z.ZodDefault<z.ZodArray<z.ZodString>>;
401
+ }, z.core.$loose>, z.ZodTransform<{
402
+ target: {
403
+ id: string;
404
+ targetKey: string;
405
+ name: string;
406
+ environmentId: string;
407
+ clusterId: string;
408
+ namespaceId: string;
409
+ fluxInstallationId?: string | null | undefined;
410
+ gitopsRepositoryId: string;
411
+ writeBranch: string;
412
+ reconcileBranch: string;
413
+ overlayPath: string;
414
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
415
+ primary: boolean;
416
+ status: string;
417
+ version: number;
418
+ envId: string;
419
+ clusterCode: string;
420
+ namespace: string;
421
+ fluxInstallationKey: string | null | undefined;
422
+ repositoryKey: string;
423
+ };
424
+ valid: boolean;
425
+ targetKey: string;
426
+ scope: string;
427
+ issues: {
428
+ code: string;
429
+ severity: "ERROR";
430
+ message: string;
431
+ }[];
432
+ }, {
433
+ [x: string]: unknown;
434
+ target: {
435
+ id: string;
436
+ targetKey: string;
437
+ name: string;
438
+ environmentId: string;
439
+ clusterId: string;
440
+ namespaceId: string;
441
+ fluxInstallationId?: string | null | undefined;
442
+ gitopsRepositoryId: string;
443
+ writeBranch: string;
444
+ reconcileBranch: string;
445
+ overlayPath: string;
446
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
447
+ primary: boolean;
448
+ status: string;
449
+ version: number;
450
+ envId: string;
451
+ clusterCode: string;
452
+ namespace: string;
453
+ fluxInstallationKey: string | null | undefined;
454
+ repositoryKey: string;
455
+ };
456
+ valid: boolean;
457
+ scope?: string | null | undefined;
458
+ issues: string[];
459
+ }>>, z.ZodObject<{
460
+ targetKey: z.ZodString;
461
+ valid: z.ZodBoolean;
462
+ scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
463
+ revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
464
+ issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
465
+ code: z.ZodString;
466
+ severity: z.ZodEnum<{
467
+ ERROR: "ERROR";
468
+ INFO: "INFO";
469
+ WARNING: "WARNING";
470
+ }>;
471
+ message: z.ZodString;
472
+ field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
473
+ }, z.core.$loose>>>;
474
+ checkedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
475
+ }, z.core.$loose>]>;
476
+ export declare const GitOpsProfileSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
477
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
478
+ code: z.ZodString;
479
+ name: z.ZodString;
480
+ latestPublishedVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
481
+ status: z.ZodString;
482
+ version: z.ZodNumber;
483
+ versions: z.ZodDefault<z.ZodArray<z.ZodObject<{
484
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
485
+ profileId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
486
+ versionNo: z.ZodNumber;
487
+ schemaVersion: z.ZodNumber;
488
+ rendererVersion: z.ZodString;
489
+ templateDigest: z.ZodString;
490
+ status: z.ZodString;
491
+ version: z.ZodNumber;
492
+ }, z.core.$loose>>>;
493
+ }, z.core.$loose>, z.ZodTransform<{
494
+ id: string;
495
+ code: string;
496
+ name: string;
497
+ latestPublishedVersion?: number | null | undefined;
498
+ status: string;
499
+ versions: {
500
+ [x: string]: unknown;
501
+ id: string;
502
+ profileId: string;
503
+ versionNo: number;
504
+ schemaVersion: number;
505
+ rendererVersion: string;
506
+ templateDigest: string;
507
+ status: string;
508
+ version: number;
509
+ }[];
510
+ profileCode: string;
511
+ recordVersion: number;
512
+ version: string;
513
+ state: string;
514
+ }, {
515
+ [x: string]: unknown;
516
+ id: string;
517
+ code: string;
518
+ name: string;
519
+ latestPublishedVersion?: number | null | undefined;
520
+ status: string;
521
+ version: number;
522
+ versions: {
523
+ [x: string]: unknown;
524
+ id: string;
525
+ profileId: string;
526
+ versionNo: number;
527
+ schemaVersion: number;
528
+ rendererVersion: string;
529
+ templateDigest: string;
530
+ status: string;
531
+ version: number;
532
+ }[];
533
+ }>>, z.ZodObject<{
534
+ profileCode: z.ZodString;
535
+ version: z.ZodString;
536
+ state: z.ZodOptional<z.ZodEnum<{
537
+ DRAFT: "DRAFT";
538
+ PUBLISHED: "PUBLISHED";
539
+ RETIRED: "RETIRED";
540
+ }>>;
541
+ rendererVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
+ templateDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
543
+ schemaDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
544
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
545
+ }, z.core.$loose>]>;
546
+ export declare const GitOpsServiceSchema: z.ZodObject<{
547
+ serviceId: z.ZodString;
548
+ applicationCode: z.ZodString;
549
+ targetKey: z.ZodString;
550
+ profileCode: z.ZodString;
551
+ profileVersion: z.ZodString;
552
+ releaseName: z.ZodString;
553
+ namespace: z.ZodString;
554
+ state: z.ZodEnum<{
555
+ ACTIVE: "ACTIVE";
556
+ APPLYING: "APPLYING";
557
+ ARCHIVED: "ARCHIVED";
558
+ DECLARED: "DECLARED";
559
+ DRIFTED: "DRIFTED";
560
+ FAILED: "FAILED";
561
+ PLANNED: "PLANNED";
562
+ VERIFYING: "VERIFYING";
563
+ WAITING_REVIEW: "WAITING_REVIEW";
564
+ }>;
565
+ configRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
566
+ observedRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
567
+ renderDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
568
+ }, z.core.$loose>;
569
+ export declare const GitOpsImportResultSchema: z.ZodObject<{
570
+ service: z.ZodObject<{
571
+ serviceId: z.ZodString;
572
+ applicationCode: z.ZodString;
573
+ targetKey: z.ZodString;
574
+ profileCode: z.ZodString;
575
+ profileVersion: z.ZodString;
576
+ releaseName: z.ZodString;
577
+ namespace: z.ZodString;
578
+ state: z.ZodEnum<{
579
+ ACTIVE: "ACTIVE";
580
+ APPLYING: "APPLYING";
581
+ ARCHIVED: "ARCHIVED";
582
+ DECLARED: "DECLARED";
583
+ DRIFTED: "DRIFTED";
584
+ FAILED: "FAILED";
585
+ PLANNED: "PLANNED";
586
+ VERIFYING: "VERIFYING";
587
+ WAITING_REVIEW: "WAITING_REVIEW";
588
+ }>;
589
+ configRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
+ observedRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
591
+ renderDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
592
+ }, z.core.$loose>;
593
+ importedRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
594
+ warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
595
+ }, z.core.$loose>;
596
+ export declare const GitOpsPlanFileSchema: z.ZodObject<{
597
+ operation: z.ZodEnum<{
598
+ CREATE: "CREATE";
599
+ DELETE: "DELETE";
600
+ UPDATE: "UPDATE";
601
+ }>;
602
+ path: z.ZodString;
603
+ digest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
604
+ diff: z.ZodOptional<z.ZodNullable<z.ZodString>>;
605
+ }, z.core.$loose>;
606
+ export declare const GitOpsPlanSchema: z.ZodObject<{
607
+ planNumber: z.ZodString;
608
+ planHash: z.ZodString;
609
+ state: z.ZodDefault<z.ZodEnum<{
610
+ APPLYING: "APPLYING";
611
+ CANCELLED: "CANCELLED";
612
+ DRAFT: "DRAFT";
613
+ FAILED: "FAILED";
614
+ PLANNED: "PLANNED";
615
+ QUEUED: "QUEUED";
616
+ STALE: "STALE";
617
+ SUCCEEDED: "SUCCEEDED";
618
+ SUPERSEDED: "SUPERSEDED";
619
+ VALIDATED: "VALIDATED";
620
+ VERIFYING: "VERIFYING";
621
+ WAITING_REVIEW: "WAITING_REVIEW";
622
+ }>>;
623
+ applicationCode: z.ZodString;
624
+ targetKey: z.ZodString;
625
+ serviceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
626
+ baseRevision: z.ZodString;
627
+ profileCode: z.ZodString;
628
+ profileVersion: z.ZodString;
629
+ canonicalSpecHash: z.ZodString;
630
+ files: z.ZodDefault<z.ZodArray<z.ZodObject<{
631
+ operation: z.ZodEnum<{
632
+ CREATE: "CREATE";
633
+ DELETE: "DELETE";
634
+ UPDATE: "UPDATE";
635
+ }>;
636
+ path: z.ZodString;
637
+ digest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
638
+ diff: z.ZodOptional<z.ZodNullable<z.ZodString>>;
639
+ }, z.core.$loose>>>;
640
+ warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
641
+ sideEffects: z.ZodArray<z.ZodString>;
642
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
643
+ }, z.core.$loose>;
644
+ export declare const GitOpsChangeRunExecutionSchema: z.ZodObject<{
645
+ runNumber: z.ZodString;
646
+ planNumber: z.ZodString;
647
+ planHash: z.ZodString;
648
+ state: z.ZodEnum<{
649
+ APPLYING: "APPLYING";
650
+ CANCELLED: "CANCELLED";
651
+ DRAFT: "DRAFT";
652
+ FAILED: "FAILED";
653
+ PLANNED: "PLANNED";
654
+ QUEUED: "QUEUED";
655
+ STALE: "STALE";
656
+ SUCCEEDED: "SUCCEEDED";
657
+ SUPERSEDED: "SUPERSEDED";
658
+ VALIDATED: "VALIDATED";
659
+ VERIFYING: "VERIFYING";
660
+ WAITING_REVIEW: "WAITING_REVIEW";
661
+ }>;
662
+ serviceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
663
+ targetKey: z.ZodString;
664
+ baseRevision: z.ZodString;
665
+ resultRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
666
+ reviewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
667
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
668
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
669
+ }, z.core.$loose>;
670
+ export declare const GitOpsChangeRunDetailSchema: z.ZodObject<{
671
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
672
+ runNo: z.ZodString;
673
+ serviceBindingId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
674
+ operation: z.ZodEnum<{
675
+ CREATE: "CREATE";
676
+ DELETE: "DELETE";
677
+ UPDATE: "UPDATE";
678
+ }>;
679
+ state: z.ZodEnum<{
680
+ APPLYING: "APPLYING";
681
+ CANCELLED: "CANCELLED";
682
+ DRAFT: "DRAFT";
683
+ FAILED: "FAILED";
684
+ PLANNED: "PLANNED";
685
+ QUEUED: "QUEUED";
686
+ STALE: "STALE";
687
+ SUCCEEDED: "SUCCEEDED";
688
+ SUPERSEDED: "SUPERSEDED";
689
+ VALIDATED: "VALIDATED";
690
+ VERIFYING: "VERIFYING";
691
+ WAITING_REVIEW: "WAITING_REVIEW";
692
+ }>;
693
+ baseRevision: z.ZodString;
694
+ resultRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
695
+ plan: z.ZodUnknown;
696
+ planHash: z.ZodString;
697
+ requestedBy: z.ZodString;
698
+ retryable: z.ZodBoolean;
699
+ failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
700
+ failureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
701
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
702
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
703
+ version: z.ZodNumber;
704
+ runNumber: z.ZodString;
705
+ planNumber: z.ZodString;
706
+ targetKey: z.ZodString;
707
+ reviewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
708
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
709
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
710
+ }, z.core.$loose>;
711
+ export declare const GitOpsChangeEventSchema: z.ZodObject<{
712
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
713
+ changeRunId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
714
+ sequenceNo: z.ZodNumber;
715
+ eventType: z.ZodString;
716
+ state: z.ZodEnum<{
717
+ APPLYING: "APPLYING";
718
+ CANCELLED: "CANCELLED";
719
+ DRAFT: "DRAFT";
720
+ FAILED: "FAILED";
721
+ PLANNED: "PLANNED";
722
+ QUEUED: "QUEUED";
723
+ STALE: "STALE";
724
+ SUCCEEDED: "SUCCEEDED";
725
+ SUPERSEDED: "SUPERSEDED";
726
+ VALIDATED: "VALIDATED";
727
+ VERIFYING: "VERIFYING";
728
+ WAITING_REVIEW: "WAITING_REVIEW";
729
+ }>;
730
+ message: z.ZodString;
731
+ output: z.ZodUnknown;
732
+ actor: z.ZodString;
733
+ occurredAt: z.ZodString;
734
+ sequence: z.ZodNumber;
735
+ type: z.ZodString;
736
+ createdAt: z.ZodString;
737
+ details: z.ZodUnknown;
738
+ }, z.core.$loose>;
739
+ export declare const GitOpsChangeEventListSchema: z.ZodArray<z.ZodObject<{
740
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
741
+ changeRunId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
742
+ sequenceNo: z.ZodNumber;
743
+ eventType: z.ZodString;
744
+ state: z.ZodEnum<{
745
+ APPLYING: "APPLYING";
746
+ CANCELLED: "CANCELLED";
747
+ DRAFT: "DRAFT";
748
+ FAILED: "FAILED";
749
+ PLANNED: "PLANNED";
750
+ QUEUED: "QUEUED";
751
+ STALE: "STALE";
752
+ SUCCEEDED: "SUCCEEDED";
753
+ SUPERSEDED: "SUPERSEDED";
754
+ VALIDATED: "VALIDATED";
755
+ VERIFYING: "VERIFYING";
756
+ WAITING_REVIEW: "WAITING_REVIEW";
757
+ }>;
758
+ message: z.ZodString;
759
+ output: z.ZodUnknown;
760
+ actor: z.ZodString;
761
+ occurredAt: z.ZodString;
762
+ sequence: z.ZodNumber;
763
+ type: z.ZodString;
764
+ createdAt: z.ZodString;
765
+ details: z.ZodUnknown;
766
+ }, z.core.$loose>>;
767
+ export declare const GitOpsImageUpdateSchema: z.ZodObject<{
768
+ updateNo: z.ZodString;
769
+ contractNo: z.ZodString;
770
+ state: z.ZodEnum<{
771
+ RECEIVED: "RECEIVED";
772
+ REJECTED: "REJECTED";
773
+ VERIFIED: "VERIFIED";
774
+ }>;
775
+ outcome: z.ZodEnum<{
776
+ CONFLICT: "CONFLICT";
777
+ FAILED: "FAILED";
778
+ SUCCEEDED: "SUCCEEDED";
779
+ UNCHANGED: "UNCHANGED";
780
+ }>;
781
+ buildRequestId: z.ZodString;
782
+ buildNumber: z.ZodNumber;
783
+ sourceRevision: z.ZodString;
784
+ imageRepository: z.ZodString;
785
+ imageTag: z.ZodString;
786
+ imageDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
787
+ beforeRevision: z.ZodString;
788
+ afterRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
789
+ filePath: z.ZodString;
790
+ buildResult: z.ZodString;
791
+ failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
792
+ failureMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
793
+ receivedAt: z.ZodString;
794
+ verifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
795
+ }, z.core.$loose>;
796
+ export declare const GitOpsTargetObservationSchema: z.ZodObject<{
797
+ observationNo: z.ZodString;
798
+ contractVersion: z.ZodString;
799
+ evidenceSource: z.ZodEnum<{
800
+ FLUX_OBSERVER_ATTESTED: "FLUX_OBSERVER_ATTESTED";
801
+ JENKINS_ATTESTED: "JENKINS_ATTESTED";
802
+ }>;
803
+ state: z.ZodEnum<{
804
+ RECEIVED: "RECEIVED";
805
+ REJECTED: "REJECTED";
806
+ VERIFIED: "VERIFIED";
807
+ }>;
808
+ activationState: z.ZodEnum<{
809
+ ACTIVE: "ACTIVE";
810
+ VERIFYING: "VERIFYING";
811
+ }>;
812
+ targetKey: z.ZodString;
813
+ serviceBindingId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
814
+ repositoryRevision: z.ZodString;
815
+ fluxObservedRevision: z.ZodString;
816
+ writerContractDigest: z.ZodString;
817
+ observedAt: z.ZodString;
818
+ verifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
819
+ failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
820
+ failureMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
821
+ }, z.core.$loose>;
822
+ export declare const GitOpsImageUpdateListSchema: z.ZodArray<z.ZodObject<{
823
+ updateNo: z.ZodString;
824
+ contractNo: z.ZodString;
825
+ state: z.ZodEnum<{
826
+ RECEIVED: "RECEIVED";
827
+ REJECTED: "REJECTED";
828
+ VERIFIED: "VERIFIED";
829
+ }>;
830
+ outcome: z.ZodEnum<{
831
+ CONFLICT: "CONFLICT";
832
+ FAILED: "FAILED";
833
+ SUCCEEDED: "SUCCEEDED";
834
+ UNCHANGED: "UNCHANGED";
835
+ }>;
836
+ buildRequestId: z.ZodString;
837
+ buildNumber: z.ZodNumber;
838
+ sourceRevision: z.ZodString;
839
+ imageRepository: z.ZodString;
840
+ imageTag: z.ZodString;
841
+ imageDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
+ beforeRevision: z.ZodString;
843
+ afterRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
844
+ filePath: z.ZodString;
845
+ buildResult: z.ZodString;
846
+ failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
847
+ failureMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
848
+ receivedAt: z.ZodString;
849
+ verifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
850
+ }, z.core.$loose>>;
851
+ export declare const GitOpsTargetObservationListSchema: z.ZodArray<z.ZodObject<{
852
+ observationNo: z.ZodString;
853
+ contractVersion: z.ZodString;
854
+ evidenceSource: z.ZodEnum<{
855
+ FLUX_OBSERVER_ATTESTED: "FLUX_OBSERVER_ATTESTED";
856
+ JENKINS_ATTESTED: "JENKINS_ATTESTED";
857
+ }>;
858
+ state: z.ZodEnum<{
859
+ RECEIVED: "RECEIVED";
860
+ REJECTED: "REJECTED";
861
+ VERIFIED: "VERIFIED";
862
+ }>;
863
+ activationState: z.ZodEnum<{
864
+ ACTIVE: "ACTIVE";
865
+ VERIFYING: "VERIFYING";
866
+ }>;
867
+ targetKey: z.ZodString;
868
+ serviceBindingId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
869
+ repositoryRevision: z.ZodString;
870
+ fluxObservedRevision: z.ZodString;
871
+ writerContractDigest: z.ZodString;
872
+ observedAt: z.ZodString;
873
+ verifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
874
+ failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
875
+ failureMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
876
+ }, z.core.$loose>>;
877
+ export declare const GitOpsRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
878
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
879
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
880
+ code: z.ZodString;
881
+ name: z.ZodString;
882
+ codeRepositoryId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
883
+ scmConnectionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
884
+ remoteExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
885
+ writeBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
886
+ layoutRoot: z.ZodOptional<z.ZodNullable<z.ZodString>>;
887
+ configWriteMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
888
+ imageWriteMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
889
+ lastProbedRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
890
+ lastCapabilityVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
891
+ healthStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
892
+ lastProbedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
893
+ status: z.ZodString;
894
+ version: z.ZodNumber;
895
+ }, z.core.$loose>, z.ZodTransform<{
896
+ id: string;
897
+ code: string;
898
+ name: string;
899
+ codeRepositoryId?: string | null | undefined;
900
+ scmConnectionId?: string | null | undefined;
901
+ remoteExternalId?: string | null | undefined;
902
+ writeBranch?: string | null | undefined;
903
+ layoutRoot?: string | null | undefined;
904
+ configWriteMode?: string | null | undefined;
905
+ imageWriteMode?: string | null | undefined;
906
+ lastProbedRevision?: string | null | undefined;
907
+ lastCapabilityVersion?: number | null | undefined;
908
+ healthStatus?: string | null | undefined;
909
+ lastProbedAt?: string | null | undefined;
910
+ version: number;
911
+ repositoryKey: string;
912
+ repositoryStableId: string | null | undefined;
913
+ capabilityVersion: string | undefined;
914
+ lifecycleStatus: string;
915
+ status: string;
916
+ }, {
917
+ [x: string]: unknown;
918
+ id: string;
919
+ code: string;
920
+ name: string;
921
+ codeRepositoryId?: string | null | undefined;
922
+ scmConnectionId?: string | null | undefined;
923
+ remoteExternalId?: string | null | undefined;
924
+ writeBranch?: string | null | undefined;
925
+ layoutRoot?: string | null | undefined;
926
+ configWriteMode?: string | null | undefined;
927
+ imageWriteMode?: string | null | undefined;
928
+ lastProbedRevision?: string | null | undefined;
929
+ lastCapabilityVersion?: number | null | undefined;
930
+ healthStatus?: string | null | undefined;
931
+ lastProbedAt?: string | null | undefined;
932
+ status: string;
933
+ version: number;
934
+ }>>, z.ZodObject<{
935
+ repositoryKey: z.ZodString;
936
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
937
+ scmConnectionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
938
+ repositoryStableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
939
+ cloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
940
+ configWriteMode: z.ZodOptional<z.ZodEnum<{
941
+ DIRECT_BRANCH: "DIRECT_BRANCH";
942
+ REVIEWED_CHANGE: "REVIEWED_CHANGE";
943
+ }>>;
944
+ imageWriteMode: z.ZodOptional<z.ZodLiteral<"JENKINS_DIRECT">>;
945
+ status: z.ZodOptional<z.ZodEnum<{
946
+ DEGRADED: "DEGRADED";
947
+ DISABLED: "DISABLED";
948
+ HEALTHY: "HEALTHY";
949
+ UNAVAILABLE: "UNAVAILABLE";
950
+ UNKNOWN: "UNKNOWN";
951
+ }>>;
952
+ lastProbedRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
953
+ capabilityVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
954
+ }, z.core.$loose>]>>;
955
+ nextCursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
956
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
957
+ }, z.core.$loose>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
958
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
959
+ code: z.ZodString;
960
+ name: z.ZodString;
961
+ codeRepositoryId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
962
+ scmConnectionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
963
+ remoteExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
964
+ writeBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
965
+ layoutRoot: z.ZodOptional<z.ZodNullable<z.ZodString>>;
966
+ configWriteMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
967
+ imageWriteMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
968
+ lastProbedRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
969
+ lastCapabilityVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
970
+ healthStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
971
+ lastProbedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
972
+ status: z.ZodString;
973
+ version: z.ZodNumber;
974
+ }, z.core.$loose>, z.ZodTransform<{
975
+ id: string;
976
+ code: string;
977
+ name: string;
978
+ codeRepositoryId?: string | null | undefined;
979
+ scmConnectionId?: string | null | undefined;
980
+ remoteExternalId?: string | null | undefined;
981
+ writeBranch?: string | null | undefined;
982
+ layoutRoot?: string | null | undefined;
983
+ configWriteMode?: string | null | undefined;
984
+ imageWriteMode?: string | null | undefined;
985
+ lastProbedRevision?: string | null | undefined;
986
+ lastCapabilityVersion?: number | null | undefined;
987
+ healthStatus?: string | null | undefined;
988
+ lastProbedAt?: string | null | undefined;
989
+ version: number;
990
+ repositoryKey: string;
991
+ repositoryStableId: string | null | undefined;
992
+ capabilityVersion: string | undefined;
993
+ lifecycleStatus: string;
994
+ status: string;
995
+ }, {
996
+ [x: string]: unknown;
997
+ id: string;
998
+ code: string;
999
+ name: string;
1000
+ codeRepositoryId?: string | null | undefined;
1001
+ scmConnectionId?: string | null | undefined;
1002
+ remoteExternalId?: string | null | undefined;
1003
+ writeBranch?: string | null | undefined;
1004
+ layoutRoot?: string | null | undefined;
1005
+ configWriteMode?: string | null | undefined;
1006
+ imageWriteMode?: string | null | undefined;
1007
+ lastProbedRevision?: string | null | undefined;
1008
+ lastCapabilityVersion?: number | null | undefined;
1009
+ healthStatus?: string | null | undefined;
1010
+ lastProbedAt?: string | null | undefined;
1011
+ status: string;
1012
+ version: number;
1013
+ }>>, z.ZodObject<{
1014
+ repositoryKey: z.ZodString;
1015
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1016
+ scmConnectionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1017
+ repositoryStableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1018
+ cloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1019
+ configWriteMode: z.ZodOptional<z.ZodEnum<{
1020
+ DIRECT_BRANCH: "DIRECT_BRANCH";
1021
+ REVIEWED_CHANGE: "REVIEWED_CHANGE";
1022
+ }>>;
1023
+ imageWriteMode: z.ZodOptional<z.ZodLiteral<"JENKINS_DIRECT">>;
1024
+ status: z.ZodOptional<z.ZodEnum<{
1025
+ DEGRADED: "DEGRADED";
1026
+ DISABLED: "DISABLED";
1027
+ HEALTHY: "HEALTHY";
1028
+ UNAVAILABLE: "UNAVAILABLE";
1029
+ UNKNOWN: "UNKNOWN";
1030
+ }>>;
1031
+ lastProbedRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1032
+ capabilityVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1033
+ }, z.core.$loose>]>>]>, z.ZodTransform<{
1034
+ [x: string]: unknown;
1035
+ items: ({
1036
+ [x: string]: unknown;
1037
+ repositoryKey: string;
1038
+ name?: string | null | undefined;
1039
+ scmConnectionCode?: string | null | undefined;
1040
+ repositoryStableId?: string | null | undefined;
1041
+ cloneUrl?: string | null | undefined;
1042
+ configWriteMode?: "DIRECT_BRANCH" | "REVIEWED_CHANGE" | undefined;
1043
+ imageWriteMode?: "JENKINS_DIRECT" | undefined;
1044
+ status?: "DEGRADED" | "DISABLED" | "HEALTHY" | "UNAVAILABLE" | "UNKNOWN" | undefined;
1045
+ lastProbedRevision?: string | null | undefined;
1046
+ capabilityVersion?: string | null | undefined;
1047
+ } | {
1048
+ id: string;
1049
+ code: string;
1050
+ name: string;
1051
+ codeRepositoryId?: string | null | undefined;
1052
+ scmConnectionId?: string | null | undefined;
1053
+ remoteExternalId?: string | null | undefined;
1054
+ writeBranch?: string | null | undefined;
1055
+ layoutRoot?: string | null | undefined;
1056
+ configWriteMode?: string | null | undefined;
1057
+ imageWriteMode?: string | null | undefined;
1058
+ lastProbedRevision?: string | null | undefined;
1059
+ lastCapabilityVersion?: number | null | undefined;
1060
+ healthStatus?: string | null | undefined;
1061
+ lastProbedAt?: string | null | undefined;
1062
+ version: number;
1063
+ repositoryKey: string;
1064
+ repositoryStableId: string | null | undefined;
1065
+ capabilityVersion: string | undefined;
1066
+ lifecycleStatus: string;
1067
+ status: string;
1068
+ })[];
1069
+ nextCursor: string | null;
1070
+ requestId?: string | null | undefined;
1071
+ }, ({
1072
+ [x: string]: unknown;
1073
+ repositoryKey: string;
1074
+ name?: string | null | undefined;
1075
+ scmConnectionCode?: string | null | undefined;
1076
+ repositoryStableId?: string | null | undefined;
1077
+ cloneUrl?: string | null | undefined;
1078
+ configWriteMode?: "DIRECT_BRANCH" | "REVIEWED_CHANGE" | undefined;
1079
+ imageWriteMode?: "JENKINS_DIRECT" | undefined;
1080
+ status?: "DEGRADED" | "DISABLED" | "HEALTHY" | "UNAVAILABLE" | "UNKNOWN" | undefined;
1081
+ lastProbedRevision?: string | null | undefined;
1082
+ capabilityVersion?: string | null | undefined;
1083
+ } | {
1084
+ id: string;
1085
+ code: string;
1086
+ name: string;
1087
+ codeRepositoryId?: string | null | undefined;
1088
+ scmConnectionId?: string | null | undefined;
1089
+ remoteExternalId?: string | null | undefined;
1090
+ writeBranch?: string | null | undefined;
1091
+ layoutRoot?: string | null | undefined;
1092
+ configWriteMode?: string | null | undefined;
1093
+ imageWriteMode?: string | null | undefined;
1094
+ lastProbedRevision?: string | null | undefined;
1095
+ lastCapabilityVersion?: number | null | undefined;
1096
+ healthStatus?: string | null | undefined;
1097
+ lastProbedAt?: string | null | undefined;
1098
+ version: number;
1099
+ repositoryKey: string;
1100
+ repositoryStableId: string | null | undefined;
1101
+ capabilityVersion: string | undefined;
1102
+ lifecycleStatus: string;
1103
+ status: string;
1104
+ })[] | {
1105
+ [x: string]: unknown;
1106
+ items: ({
1107
+ [x: string]: unknown;
1108
+ repositoryKey: string;
1109
+ name?: string | null | undefined;
1110
+ scmConnectionCode?: string | null | undefined;
1111
+ repositoryStableId?: string | null | undefined;
1112
+ cloneUrl?: string | null | undefined;
1113
+ configWriteMode?: "DIRECT_BRANCH" | "REVIEWED_CHANGE" | undefined;
1114
+ imageWriteMode?: "JENKINS_DIRECT" | undefined;
1115
+ status?: "DEGRADED" | "DISABLED" | "HEALTHY" | "UNAVAILABLE" | "UNKNOWN" | undefined;
1116
+ lastProbedRevision?: string | null | undefined;
1117
+ capabilityVersion?: string | null | undefined;
1118
+ } | {
1119
+ id: string;
1120
+ code: string;
1121
+ name: string;
1122
+ codeRepositoryId?: string | null | undefined;
1123
+ scmConnectionId?: string | null | undefined;
1124
+ remoteExternalId?: string | null | undefined;
1125
+ writeBranch?: string | null | undefined;
1126
+ layoutRoot?: string | null | undefined;
1127
+ configWriteMode?: string | null | undefined;
1128
+ imageWriteMode?: string | null | undefined;
1129
+ lastProbedRevision?: string | null | undefined;
1130
+ lastCapabilityVersion?: number | null | undefined;
1131
+ healthStatus?: string | null | undefined;
1132
+ lastProbedAt?: string | null | undefined;
1133
+ version: number;
1134
+ repositoryKey: string;
1135
+ repositoryStableId: string | null | undefined;
1136
+ capabilityVersion: string | undefined;
1137
+ lifecycleStatus: string;
1138
+ status: string;
1139
+ })[];
1140
+ nextCursor: string | null;
1141
+ requestId?: string | null | undefined;
1142
+ }>>;
1143
+ export declare const GitOpsTargetListSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
1144
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
1145
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1146
+ targetKey: z.ZodString;
1147
+ name: z.ZodString;
1148
+ environmentId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1149
+ clusterId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1150
+ namespaceId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1151
+ fluxInstallationId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
1152
+ gitopsRepositoryId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1153
+ writeBranch: z.ZodString;
1154
+ reconcileBranch: z.ZodString;
1155
+ overlayPath: z.ZodString;
1156
+ tier: z.ZodEnum<{
1157
+ DEVELOP: "DEVELOP";
1158
+ PRODUCTION: "PRODUCTION";
1159
+ STAGING: "STAGING";
1160
+ }>;
1161
+ primary: z.ZodBoolean;
1162
+ status: z.ZodString;
1163
+ version: z.ZodNumber;
1164
+ }, z.core.$loose>, z.ZodTransform<{
1165
+ id: string;
1166
+ targetKey: string;
1167
+ name: string;
1168
+ environmentId: string;
1169
+ clusterId: string;
1170
+ namespaceId: string;
1171
+ fluxInstallationId?: string | null | undefined;
1172
+ gitopsRepositoryId: string;
1173
+ writeBranch: string;
1174
+ reconcileBranch: string;
1175
+ overlayPath: string;
1176
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
1177
+ primary: boolean;
1178
+ status: string;
1179
+ version: number;
1180
+ envId: string;
1181
+ clusterCode: string;
1182
+ namespace: string;
1183
+ fluxInstallationKey: string | null | undefined;
1184
+ repositoryKey: string;
1185
+ }, {
1186
+ [x: string]: unknown;
1187
+ id: string;
1188
+ targetKey: string;
1189
+ name: string;
1190
+ environmentId: string;
1191
+ clusterId: string;
1192
+ namespaceId: string;
1193
+ fluxInstallationId?: string | null | undefined;
1194
+ gitopsRepositoryId: string;
1195
+ writeBranch: string;
1196
+ reconcileBranch: string;
1197
+ overlayPath: string;
1198
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
1199
+ primary: boolean;
1200
+ status: string;
1201
+ version: number;
1202
+ }>>, z.ZodObject<{
1203
+ targetKey: z.ZodString;
1204
+ environmentCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1205
+ envId: z.ZodString;
1206
+ clusterCode: z.ZodString;
1207
+ namespace: z.ZodString;
1208
+ fluxInstallationKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1209
+ repositoryKey: z.ZodString;
1210
+ writeBranch: z.ZodString;
1211
+ reconcileBranch: z.ZodString;
1212
+ overlayPath: z.ZodString;
1213
+ imageRepositoryTemplate: z.ZodString;
1214
+ tier: z.ZodEnum<{
1215
+ DEVELOP: "DEVELOP";
1216
+ PRODUCTION: "PRODUCTION";
1217
+ STAGING: "STAGING";
1218
+ }>;
1219
+ primary: z.ZodDefault<z.ZodBoolean>;
1220
+ status: z.ZodOptional<z.ZodString>;
1221
+ }, z.core.$loose>]>>;
1222
+ nextCursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1223
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1224
+ }, z.core.$loose>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
1225
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1226
+ targetKey: z.ZodString;
1227
+ name: z.ZodString;
1228
+ environmentId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1229
+ clusterId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1230
+ namespaceId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1231
+ fluxInstallationId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>>;
1232
+ gitopsRepositoryId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1233
+ writeBranch: z.ZodString;
1234
+ reconcileBranch: z.ZodString;
1235
+ overlayPath: z.ZodString;
1236
+ tier: z.ZodEnum<{
1237
+ DEVELOP: "DEVELOP";
1238
+ PRODUCTION: "PRODUCTION";
1239
+ STAGING: "STAGING";
1240
+ }>;
1241
+ primary: z.ZodBoolean;
1242
+ status: z.ZodString;
1243
+ version: z.ZodNumber;
1244
+ }, z.core.$loose>, z.ZodTransform<{
1245
+ id: string;
1246
+ targetKey: string;
1247
+ name: string;
1248
+ environmentId: string;
1249
+ clusterId: string;
1250
+ namespaceId: string;
1251
+ fluxInstallationId?: string | null | undefined;
1252
+ gitopsRepositoryId: string;
1253
+ writeBranch: string;
1254
+ reconcileBranch: string;
1255
+ overlayPath: string;
1256
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
1257
+ primary: boolean;
1258
+ status: string;
1259
+ version: number;
1260
+ envId: string;
1261
+ clusterCode: string;
1262
+ namespace: string;
1263
+ fluxInstallationKey: string | null | undefined;
1264
+ repositoryKey: string;
1265
+ }, {
1266
+ [x: string]: unknown;
1267
+ id: string;
1268
+ targetKey: string;
1269
+ name: string;
1270
+ environmentId: string;
1271
+ clusterId: string;
1272
+ namespaceId: string;
1273
+ fluxInstallationId?: string | null | undefined;
1274
+ gitopsRepositoryId: string;
1275
+ writeBranch: string;
1276
+ reconcileBranch: string;
1277
+ overlayPath: string;
1278
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
1279
+ primary: boolean;
1280
+ status: string;
1281
+ version: number;
1282
+ }>>, z.ZodObject<{
1283
+ targetKey: z.ZodString;
1284
+ environmentCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1285
+ envId: z.ZodString;
1286
+ clusterCode: z.ZodString;
1287
+ namespace: z.ZodString;
1288
+ fluxInstallationKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1289
+ repositoryKey: z.ZodString;
1290
+ writeBranch: z.ZodString;
1291
+ reconcileBranch: z.ZodString;
1292
+ overlayPath: z.ZodString;
1293
+ imageRepositoryTemplate: z.ZodString;
1294
+ tier: z.ZodEnum<{
1295
+ DEVELOP: "DEVELOP";
1296
+ PRODUCTION: "PRODUCTION";
1297
+ STAGING: "STAGING";
1298
+ }>;
1299
+ primary: z.ZodDefault<z.ZodBoolean>;
1300
+ status: z.ZodOptional<z.ZodString>;
1301
+ }, z.core.$loose>]>>]>, z.ZodTransform<{
1302
+ [x: string]: unknown;
1303
+ items: ({
1304
+ [x: string]: unknown;
1305
+ targetKey: string;
1306
+ environmentCode?: string | null | undefined;
1307
+ envId: string;
1308
+ clusterCode: string;
1309
+ namespace: string;
1310
+ fluxInstallationKey?: string | null | undefined;
1311
+ repositoryKey: string;
1312
+ writeBranch: string;
1313
+ reconcileBranch: string;
1314
+ overlayPath: string;
1315
+ imageRepositoryTemplate: string;
1316
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
1317
+ primary: boolean;
1318
+ status?: string | undefined;
1319
+ } | {
1320
+ id: string;
1321
+ targetKey: string;
1322
+ name: string;
1323
+ environmentId: string;
1324
+ clusterId: string;
1325
+ namespaceId: string;
1326
+ fluxInstallationId?: string | null | undefined;
1327
+ gitopsRepositoryId: string;
1328
+ writeBranch: string;
1329
+ reconcileBranch: string;
1330
+ overlayPath: string;
1331
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
1332
+ primary: boolean;
1333
+ status: string;
1334
+ version: number;
1335
+ envId: string;
1336
+ clusterCode: string;
1337
+ namespace: string;
1338
+ fluxInstallationKey: string | null | undefined;
1339
+ repositoryKey: string;
1340
+ })[];
1341
+ nextCursor: string | null;
1342
+ requestId?: string | null | undefined;
1343
+ }, ({
1344
+ [x: string]: unknown;
1345
+ targetKey: string;
1346
+ environmentCode?: string | null | undefined;
1347
+ envId: string;
1348
+ clusterCode: string;
1349
+ namespace: string;
1350
+ fluxInstallationKey?: string | null | undefined;
1351
+ repositoryKey: string;
1352
+ writeBranch: string;
1353
+ reconcileBranch: string;
1354
+ overlayPath: string;
1355
+ imageRepositoryTemplate: string;
1356
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
1357
+ primary: boolean;
1358
+ status?: string | undefined;
1359
+ } | {
1360
+ id: string;
1361
+ targetKey: string;
1362
+ name: string;
1363
+ environmentId: string;
1364
+ clusterId: string;
1365
+ namespaceId: string;
1366
+ fluxInstallationId?: string | null | undefined;
1367
+ gitopsRepositoryId: string;
1368
+ writeBranch: string;
1369
+ reconcileBranch: string;
1370
+ overlayPath: string;
1371
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
1372
+ primary: boolean;
1373
+ status: string;
1374
+ version: number;
1375
+ envId: string;
1376
+ clusterCode: string;
1377
+ namespace: string;
1378
+ fluxInstallationKey: string | null | undefined;
1379
+ repositoryKey: string;
1380
+ })[] | {
1381
+ [x: string]: unknown;
1382
+ items: ({
1383
+ [x: string]: unknown;
1384
+ targetKey: string;
1385
+ environmentCode?: string | null | undefined;
1386
+ envId: string;
1387
+ clusterCode: string;
1388
+ namespace: string;
1389
+ fluxInstallationKey?: string | null | undefined;
1390
+ repositoryKey: string;
1391
+ writeBranch: string;
1392
+ reconcileBranch: string;
1393
+ overlayPath: string;
1394
+ imageRepositoryTemplate: string;
1395
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
1396
+ primary: boolean;
1397
+ status?: string | undefined;
1398
+ } | {
1399
+ id: string;
1400
+ targetKey: string;
1401
+ name: string;
1402
+ environmentId: string;
1403
+ clusterId: string;
1404
+ namespaceId: string;
1405
+ fluxInstallationId?: string | null | undefined;
1406
+ gitopsRepositoryId: string;
1407
+ writeBranch: string;
1408
+ reconcileBranch: string;
1409
+ overlayPath: string;
1410
+ tier: "DEVELOP" | "PRODUCTION" | "STAGING";
1411
+ primary: boolean;
1412
+ status: string;
1413
+ version: number;
1414
+ envId: string;
1415
+ clusterCode: string;
1416
+ namespace: string;
1417
+ fluxInstallationKey: string | null | undefined;
1418
+ repositoryKey: string;
1419
+ })[];
1420
+ nextCursor: string | null;
1421
+ requestId?: string | null | undefined;
1422
+ }>>;
1423
+ export declare const GitOpsProfileListSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
1424
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
1425
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1426
+ code: z.ZodString;
1427
+ name: z.ZodString;
1428
+ latestPublishedVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1429
+ status: z.ZodString;
1430
+ version: z.ZodNumber;
1431
+ versions: z.ZodDefault<z.ZodArray<z.ZodObject<{
1432
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1433
+ profileId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1434
+ versionNo: z.ZodNumber;
1435
+ schemaVersion: z.ZodNumber;
1436
+ rendererVersion: z.ZodString;
1437
+ templateDigest: z.ZodString;
1438
+ status: z.ZodString;
1439
+ version: z.ZodNumber;
1440
+ }, z.core.$loose>>>;
1441
+ }, z.core.$loose>, z.ZodTransform<{
1442
+ id: string;
1443
+ code: string;
1444
+ name: string;
1445
+ latestPublishedVersion?: number | null | undefined;
1446
+ status: string;
1447
+ versions: {
1448
+ [x: string]: unknown;
1449
+ id: string;
1450
+ profileId: string;
1451
+ versionNo: number;
1452
+ schemaVersion: number;
1453
+ rendererVersion: string;
1454
+ templateDigest: string;
1455
+ status: string;
1456
+ version: number;
1457
+ }[];
1458
+ profileCode: string;
1459
+ recordVersion: number;
1460
+ version: string;
1461
+ state: string;
1462
+ }, {
1463
+ [x: string]: unknown;
1464
+ id: string;
1465
+ code: string;
1466
+ name: string;
1467
+ latestPublishedVersion?: number | null | undefined;
1468
+ status: string;
1469
+ version: number;
1470
+ versions: {
1471
+ [x: string]: unknown;
1472
+ id: string;
1473
+ profileId: string;
1474
+ versionNo: number;
1475
+ schemaVersion: number;
1476
+ rendererVersion: string;
1477
+ templateDigest: string;
1478
+ status: string;
1479
+ version: number;
1480
+ }[];
1481
+ }>>, z.ZodObject<{
1482
+ profileCode: z.ZodString;
1483
+ version: z.ZodString;
1484
+ state: z.ZodOptional<z.ZodEnum<{
1485
+ DRAFT: "DRAFT";
1486
+ PUBLISHED: "PUBLISHED";
1487
+ RETIRED: "RETIRED";
1488
+ }>>;
1489
+ rendererVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1490
+ templateDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1491
+ schemaDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1492
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1493
+ }, z.core.$loose>]>>;
1494
+ nextCursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1495
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1496
+ }, z.core.$loose>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
1497
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1498
+ code: z.ZodString;
1499
+ name: z.ZodString;
1500
+ latestPublishedVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1501
+ status: z.ZodString;
1502
+ version: z.ZodNumber;
1503
+ versions: z.ZodDefault<z.ZodArray<z.ZodObject<{
1504
+ id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1505
+ profileId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
1506
+ versionNo: z.ZodNumber;
1507
+ schemaVersion: z.ZodNumber;
1508
+ rendererVersion: z.ZodString;
1509
+ templateDigest: z.ZodString;
1510
+ status: z.ZodString;
1511
+ version: z.ZodNumber;
1512
+ }, z.core.$loose>>>;
1513
+ }, z.core.$loose>, z.ZodTransform<{
1514
+ id: string;
1515
+ code: string;
1516
+ name: string;
1517
+ latestPublishedVersion?: number | null | undefined;
1518
+ status: string;
1519
+ versions: {
1520
+ [x: string]: unknown;
1521
+ id: string;
1522
+ profileId: string;
1523
+ versionNo: number;
1524
+ schemaVersion: number;
1525
+ rendererVersion: string;
1526
+ templateDigest: string;
1527
+ status: string;
1528
+ version: number;
1529
+ }[];
1530
+ profileCode: string;
1531
+ recordVersion: number;
1532
+ version: string;
1533
+ state: string;
1534
+ }, {
1535
+ [x: string]: unknown;
1536
+ id: string;
1537
+ code: string;
1538
+ name: string;
1539
+ latestPublishedVersion?: number | null | undefined;
1540
+ status: string;
1541
+ version: number;
1542
+ versions: {
1543
+ [x: string]: unknown;
1544
+ id: string;
1545
+ profileId: string;
1546
+ versionNo: number;
1547
+ schemaVersion: number;
1548
+ rendererVersion: string;
1549
+ templateDigest: string;
1550
+ status: string;
1551
+ version: number;
1552
+ }[];
1553
+ }>>, z.ZodObject<{
1554
+ profileCode: z.ZodString;
1555
+ version: z.ZodString;
1556
+ state: z.ZodOptional<z.ZodEnum<{
1557
+ DRAFT: "DRAFT";
1558
+ PUBLISHED: "PUBLISHED";
1559
+ RETIRED: "RETIRED";
1560
+ }>>;
1561
+ rendererVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1562
+ templateDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1563
+ schemaDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1564
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1565
+ }, z.core.$loose>]>>]>, z.ZodTransform<{
1566
+ [x: string]: unknown;
1567
+ items: ({
1568
+ [x: string]: unknown;
1569
+ profileCode: string;
1570
+ version: string;
1571
+ state?: "DRAFT" | "PUBLISHED" | "RETIRED" | undefined;
1572
+ rendererVersion?: string | null | undefined;
1573
+ templateDigest?: string | null | undefined;
1574
+ schemaDigest?: string | null | undefined;
1575
+ publishedAt?: string | null | undefined;
1576
+ } | {
1577
+ id: string;
1578
+ code: string;
1579
+ name: string;
1580
+ latestPublishedVersion?: number | null | undefined;
1581
+ status: string;
1582
+ versions: {
1583
+ [x: string]: unknown;
1584
+ id: string;
1585
+ profileId: string;
1586
+ versionNo: number;
1587
+ schemaVersion: number;
1588
+ rendererVersion: string;
1589
+ templateDigest: string;
1590
+ status: string;
1591
+ version: number;
1592
+ }[];
1593
+ profileCode: string;
1594
+ recordVersion: number;
1595
+ version: string;
1596
+ state: string;
1597
+ })[];
1598
+ nextCursor: string | null;
1599
+ requestId?: string | null | undefined;
1600
+ }, ({
1601
+ [x: string]: unknown;
1602
+ profileCode: string;
1603
+ version: string;
1604
+ state?: "DRAFT" | "PUBLISHED" | "RETIRED" | undefined;
1605
+ rendererVersion?: string | null | undefined;
1606
+ templateDigest?: string | null | undefined;
1607
+ schemaDigest?: string | null | undefined;
1608
+ publishedAt?: string | null | undefined;
1609
+ } | {
1610
+ id: string;
1611
+ code: string;
1612
+ name: string;
1613
+ latestPublishedVersion?: number | null | undefined;
1614
+ status: string;
1615
+ versions: {
1616
+ [x: string]: unknown;
1617
+ id: string;
1618
+ profileId: string;
1619
+ versionNo: number;
1620
+ schemaVersion: number;
1621
+ rendererVersion: string;
1622
+ templateDigest: string;
1623
+ status: string;
1624
+ version: number;
1625
+ }[];
1626
+ profileCode: string;
1627
+ recordVersion: number;
1628
+ version: string;
1629
+ state: string;
1630
+ })[] | {
1631
+ [x: string]: unknown;
1632
+ items: ({
1633
+ [x: string]: unknown;
1634
+ profileCode: string;
1635
+ version: string;
1636
+ state?: "DRAFT" | "PUBLISHED" | "RETIRED" | undefined;
1637
+ rendererVersion?: string | null | undefined;
1638
+ templateDigest?: string | null | undefined;
1639
+ schemaDigest?: string | null | undefined;
1640
+ publishedAt?: string | null | undefined;
1641
+ } | {
1642
+ id: string;
1643
+ code: string;
1644
+ name: string;
1645
+ latestPublishedVersion?: number | null | undefined;
1646
+ status: string;
1647
+ versions: {
1648
+ [x: string]: unknown;
1649
+ id: string;
1650
+ profileId: string;
1651
+ versionNo: number;
1652
+ schemaVersion: number;
1653
+ rendererVersion: string;
1654
+ templateDigest: string;
1655
+ status: string;
1656
+ version: number;
1657
+ }[];
1658
+ profileCode: string;
1659
+ recordVersion: number;
1660
+ version: string;
1661
+ state: string;
1662
+ })[];
1663
+ nextCursor: string | null;
1664
+ requestId?: string | null | undefined;
1665
+ }>>;
1666
+ export declare const GitOpsApiErrorSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
1667
+ error: z.ZodObject<{
1668
+ code: z.ZodOptional<z.ZodString>;
1669
+ message: z.ZodOptional<z.ZodString>;
1670
+ requestId: z.ZodOptional<z.ZodString>;
1671
+ details: z.ZodOptional<z.ZodUnknown>;
1672
+ }, z.core.$loose>;
1673
+ }, z.core.$strip>, z.ZodTransform<{
1674
+ [x: string]: unknown;
1675
+ code?: string | undefined;
1676
+ message?: string | undefined;
1677
+ requestId?: string | undefined;
1678
+ details?: unknown;
1679
+ }, {
1680
+ error: {
1681
+ [x: string]: unknown;
1682
+ code?: string | undefined;
1683
+ message?: string | undefined;
1684
+ requestId?: string | undefined;
1685
+ details?: unknown;
1686
+ };
1687
+ }>>, z.ZodObject<{
1688
+ code: z.ZodOptional<z.ZodString>;
1689
+ message: z.ZodOptional<z.ZodString>;
1690
+ requestId: z.ZodOptional<z.ZodString>;
1691
+ details: z.ZodOptional<z.ZodUnknown>;
1692
+ }, z.core.$loose>]>;
1693
+ export type JsonPrimitive = string | number | boolean | null;
1694
+ export type JsonValue = JsonPrimitive | JsonValue[] | {
1695
+ [key: string]: JsonValue;
1696
+ };
1697
+ export type JsonObject = {
1698
+ [key: string]: JsonValue;
1699
+ };
1700
+ export type GitOpsRepository = z.infer<typeof GitOpsRepositorySchema>;
1701
+ export type GitOpsRepositoryProbe = z.infer<typeof GitOpsRepositoryProbeSchema>;
1702
+ export type GitOpsTarget = z.infer<typeof GitOpsTargetSchema>;
1703
+ export type GitOpsTargetValidation = z.infer<typeof GitOpsTargetValidationSchema>;
1704
+ export type GitOpsProfile = z.infer<typeof GitOpsProfileSchema>;
1705
+ export type GitOpsService = z.infer<typeof GitOpsServiceSchema>;
1706
+ export type GitOpsImportResult = z.infer<typeof GitOpsImportResultSchema>;
1707
+ export type GitOpsPlan = z.infer<typeof GitOpsPlanSchema>;
1708
+ export type GitOpsChangeRunExecution = z.infer<typeof GitOpsChangeRunExecutionSchema>;
1709
+ export type GitOpsChangeRunDetail = z.infer<typeof GitOpsChangeRunDetailSchema>;
1710
+ export type GitOpsChangeEvent = z.infer<typeof GitOpsChangeEventSchema>;
1711
+ export type GitOpsImageUpdate = z.infer<typeof GitOpsImageUpdateSchema>;
1712
+ export type GitOpsTargetObservation = z.infer<typeof GitOpsTargetObservationSchema>;