@numa-tech/numa 1.12.11 → 1.13.1

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 (59) hide show
  1. package/README.md +111 -4
  2. package/dist/application-onboarding/client.d.ts +83 -8
  3. package/dist/application-onboarding/client.js +23 -1
  4. package/dist/application-onboarding/client.js.map +1 -1
  5. package/dist/application-onboarding/commands.js +72 -6
  6. package/dist/application-onboarding/commands.js.map +1 -1
  7. package/dist/application-onboarding/schemas.d.ts +301 -58
  8. package/dist/application-onboarding/schemas.js +134 -8
  9. package/dist/application-onboarding/schemas.js.map +1 -1
  10. package/dist/application-onboarding/tui-model.d.ts +20 -0
  11. package/dist/application-onboarding/tui-model.js +362 -20
  12. package/dist/application-onboarding/tui-model.js.map +1 -1
  13. package/dist/application-onboarding/tui.d.ts +6 -1
  14. package/dist/application-onboarding/tui.js +104 -7
  15. package/dist/application-onboarding/tui.js.map +1 -1
  16. package/dist/cli.js +50 -8
  17. package/dist/cli.js.map +1 -1
  18. package/dist/clusters/client.d.ts +436 -0
  19. package/dist/clusters/client.js +207 -0
  20. package/dist/clusters/client.js.map +1 -0
  21. package/dist/clusters/commands.d.ts +11 -0
  22. package/dist/clusters/commands.js +373 -0
  23. package/dist/clusters/commands.js.map +1 -0
  24. package/dist/clusters/errors.d.ts +10 -0
  25. package/dist/clusters/errors.js +61 -0
  26. package/dist/clusters/errors.js.map +1 -0
  27. package/dist/clusters/kubeconfig-discovery.d.ts +48 -0
  28. package/dist/clusters/kubeconfig-discovery.js +280 -0
  29. package/dist/clusters/kubeconfig-discovery.js.map +1 -0
  30. package/dist/clusters/schemas.d.ts +510 -0
  31. package/dist/clusters/schemas.js +201 -0
  32. package/dist/clusters/schemas.js.map +1 -0
  33. package/dist/command-catalog.js +370 -1
  34. package/dist/command-catalog.js.map +1 -1
  35. package/dist/gitops/client.d.ts +499 -0
  36. package/dist/gitops/client.js +163 -0
  37. package/dist/gitops/client.js.map +1 -0
  38. package/dist/gitops/commands.d.ts +11 -0
  39. package/dist/gitops/commands.js +367 -0
  40. package/dist/gitops/commands.js.map +1 -0
  41. package/dist/gitops/errors.d.ts +10 -0
  42. package/dist/gitops/errors.js +59 -0
  43. package/dist/gitops/errors.js.map +1 -0
  44. package/dist/gitops/schemas.d.ts +1712 -0
  45. package/dist/gitops/schemas.js +360 -0
  46. package/dist/gitops/schemas.js.map +1 -0
  47. package/dist/repositories/client.d.ts +558 -0
  48. package/dist/repositories/client.js +215 -0
  49. package/dist/repositories/client.js.map +1 -0
  50. package/dist/repositories/commands.d.ts +13 -0
  51. package/dist/repositories/commands.js +368 -0
  52. package/dist/repositories/commands.js.map +1 -0
  53. package/dist/repositories/errors.d.ts +10 -0
  54. package/dist/repositories/errors.js +60 -0
  55. package/dist/repositories/errors.js.map +1 -0
  56. package/dist/repositories/schemas.d.ts +1724 -0
  57. package/dist/repositories/schemas.js +261 -0
  58. package/dist/repositories/schemas.js.map +1 -0
  59. package/package.json +4 -4
@@ -0,0 +1,558 @@
1
+ import type { AuthConfig } from "../config.js";
2
+ import { type KeycloakTokenProvider } from "../oauth.js";
3
+ import { type RepositoryConsumerType, type RepositoryPlanRequest, type RepositoryRunCreate } from "./schemas.js";
4
+ export declare const SCM_API_ROOT = "/api/v1/scm";
5
+ export declare const SOURCE_REPOSITORY_CONTRACT_VERSION = "v2";
6
+ export interface SourceRepositoryClientDependencies {
7
+ fetch?: typeof fetch;
8
+ tokenProvider?: KeycloakTokenProvider;
9
+ }
10
+ export interface CursorPageOptions {
11
+ search?: string;
12
+ cursor?: string;
13
+ limit?: number;
14
+ }
15
+ export interface RepositoryListOptions {
16
+ status?: string;
17
+ connectionCode?: string;
18
+ namespace?: string;
19
+ ownerTeamId?: string;
20
+ managementMode?: string;
21
+ search?: string;
22
+ page?: number;
23
+ size?: number;
24
+ }
25
+ export interface RepositoryRunListOptions {
26
+ state?: string;
27
+ repositoryKey?: string;
28
+ consumerType?: RepositoryConsumerType;
29
+ page?: number;
30
+ size?: number;
31
+ }
32
+ export declare class SourceRepositoryClient {
33
+ private readonly config;
34
+ private readonly fetchImpl;
35
+ private readonly tokenProvider;
36
+ constructor(config: AuthConfig, dependencies?: SourceRepositoryClientDependencies);
37
+ private authenticatedFetch;
38
+ private json;
39
+ listConnections(): Promise<{
40
+ items: {
41
+ code: string;
42
+ name: string;
43
+ provider: string;
44
+ status: string;
45
+ capabilities: string[] | {
46
+ code: string;
47
+ supported: boolean;
48
+ reason?: string | null | undefined;
49
+ }[] | Record<string, boolean>;
50
+ lastCheckedAt?: string | null | undefined;
51
+ }[];
52
+ nextCursor: string | null;
53
+ hasMore: boolean;
54
+ total?: number | undefined;
55
+ page?: number | undefined;
56
+ size?: number | undefined;
57
+ }>;
58
+ listRepositories(options?: RepositoryListOptions): Promise<{
59
+ items: {
60
+ repositoryKey: string;
61
+ id?: string | undefined;
62
+ connectionCode?: string | null | undefined;
63
+ provider?: string | null | undefined;
64
+ externalId?: string | null | undefined;
65
+ namespaceExternalId?: string | null | undefined;
66
+ namespacePath?: string | null | undefined;
67
+ name?: string | null | undefined;
68
+ fullName?: string | null | undefined;
69
+ description?: string | null | undefined;
70
+ visibility?: string | null | undefined;
71
+ defaultBranch?: string | null | undefined;
72
+ lastObservedRevision?: string | null | undefined;
73
+ webUrl?: string | null | undefined;
74
+ cloneUrl?: string | null | undefined;
75
+ managementMode?: string | null | undefined;
76
+ status: string;
77
+ ownerTeamId?: string | null | undefined;
78
+ lastReconciledAt?: string | null | undefined;
79
+ version?: number | undefined;
80
+ repositoryId: string | undefined;
81
+ observedRevision: string | null | undefined;
82
+ migrationRequired: boolean;
83
+ migrationIssues: string[];
84
+ }[];
85
+ nextCursor: string | null;
86
+ hasMore: boolean;
87
+ total?: number | undefined;
88
+ page?: number | undefined;
89
+ size?: number | undefined;
90
+ }>;
91
+ getRepository(repositoryKey: string): Promise<{
92
+ repositoryKey: string;
93
+ id?: string | undefined;
94
+ connectionCode?: string | null | undefined;
95
+ provider?: string | null | undefined;
96
+ externalId?: string | null | undefined;
97
+ namespaceExternalId?: string | null | undefined;
98
+ namespacePath?: string | null | undefined;
99
+ name?: string | null | undefined;
100
+ fullName?: string | null | undefined;
101
+ description?: string | null | undefined;
102
+ visibility?: string | null | undefined;
103
+ defaultBranch?: string | null | undefined;
104
+ lastObservedRevision?: string | null | undefined;
105
+ webUrl?: string | null | undefined;
106
+ cloneUrl?: string | null | undefined;
107
+ managementMode?: string | null | undefined;
108
+ status: string;
109
+ ownerTeamId?: string | null | undefined;
110
+ lastReconciledAt?: string | null | undefined;
111
+ version?: number | undefined;
112
+ repositoryId: string | undefined;
113
+ observedRevision: string | null | undefined;
114
+ migrationRequired: boolean;
115
+ migrationIssues: string[];
116
+ }>;
117
+ listNamespaces(connectionCode: string, options?: CursorPageOptions): Promise<{
118
+ items: {
119
+ externalId: string;
120
+ name: string;
121
+ fullPath?: string | null | undefined;
122
+ parentExternalId?: string | null | undefined;
123
+ visibility?: string | null | undefined;
124
+ webUrl?: string | null | undefined;
125
+ }[];
126
+ nextCursor: string | null;
127
+ hasMore: boolean;
128
+ total?: number | undefined;
129
+ page?: number | undefined;
130
+ size?: number | undefined;
131
+ }>;
132
+ listRemoteRepositories(connectionCode: string, options?: CursorPageOptions): Promise<{
133
+ items: {
134
+ externalId: string;
135
+ namespace?: string | null | undefined;
136
+ namespaceExternalId?: string | null | undefined;
137
+ name: string;
138
+ fullName?: string | null | undefined;
139
+ description?: string | null | undefined;
140
+ visibility?: string | null | undefined;
141
+ defaultBranch?: string | null | undefined;
142
+ headRevision?: string | null | undefined;
143
+ archived?: boolean | undefined;
144
+ webUrl?: string | null | undefined;
145
+ httpCloneUrl?: string | null | undefined;
146
+ sshCloneUrl?: string | null | undefined;
147
+ namespacePath: string | null | undefined;
148
+ httpUrl: string | null | undefined;
149
+ sshUrl: string | null | undefined;
150
+ }[];
151
+ nextCursor: string | null;
152
+ hasMore: boolean;
153
+ total?: number | undefined;
154
+ page?: number | undefined;
155
+ size?: number | undefined;
156
+ }>;
157
+ getRemoteRepository(connectionCode: string, externalId: string): Promise<{
158
+ externalId: string;
159
+ namespace?: string | null | undefined;
160
+ namespaceExternalId?: string | null | undefined;
161
+ name: string;
162
+ fullName?: string | null | undefined;
163
+ description?: string | null | undefined;
164
+ visibility?: string | null | undefined;
165
+ defaultBranch?: string | null | undefined;
166
+ headRevision?: string | null | undefined;
167
+ archived?: boolean | undefined;
168
+ webUrl?: string | null | undefined;
169
+ httpCloneUrl?: string | null | undefined;
170
+ sshCloneUrl?: string | null | undefined;
171
+ namespacePath: string | null | undefined;
172
+ httpUrl: string | null | undefined;
173
+ sshUrl: string | null | undefined;
174
+ }>;
175
+ getCapabilities(connectionCode: string, consumerType?: RepositoryConsumerType): Promise<{
176
+ contractVersion?: string | null | undefined;
177
+ connection: {
178
+ code: string;
179
+ name: string;
180
+ provider: string;
181
+ status: string;
182
+ capabilities: string[] | {
183
+ code: string;
184
+ supported: boolean;
185
+ reason?: string | null | undefined;
186
+ }[] | Record<string, boolean>;
187
+ lastCheckedAt?: string | null | undefined;
188
+ };
189
+ providerCapabilities: Record<string, boolean>;
190
+ allowedActions: string[];
191
+ constraints: {
192
+ supportedVisibilities: string[];
193
+ supportedOperations: ("CREATE" | "DISABLE" | "REGISTER_EXISTING" | "USE_EXISTING")[];
194
+ defaultVisibility?: string | null | undefined;
195
+ defaultBranch?: string | null | undefined;
196
+ namePattern?: string | null | undefined;
197
+ nameMaxLength?: number | undefined;
198
+ namespaceRequired?: boolean | undefined;
199
+ };
200
+ }>;
201
+ createPlan(input: RepositoryPlanRequest): Promise<{
202
+ planNo: string;
203
+ operation: "CREATE" | "DISABLE" | "REGISTER_EXISTING" | "USE_EXISTING";
204
+ state: string;
205
+ planHash: string;
206
+ normalizedSpec: Record<string, unknown>;
207
+ sideEffects: unknown[];
208
+ warnings: (string | {
209
+ path?: string | null | undefined;
210
+ code?: string | null | undefined;
211
+ message: string;
212
+ })[];
213
+ blockers: (string | {
214
+ path?: string | null | undefined;
215
+ code?: string | null | undefined;
216
+ message: string;
217
+ })[];
218
+ expiresAt?: string | null | undefined;
219
+ }>;
220
+ getPlan(planNo: string): Promise<{
221
+ planNo: string;
222
+ operation: "CREATE" | "DISABLE" | "REGISTER_EXISTING" | "USE_EXISTING";
223
+ state: string;
224
+ planHash: string;
225
+ normalizedSpec: Record<string, unknown>;
226
+ sideEffects: unknown[];
227
+ warnings: (string | {
228
+ path?: string | null | undefined;
229
+ code?: string | null | undefined;
230
+ message: string;
231
+ })[];
232
+ blockers: (string | {
233
+ path?: string | null | undefined;
234
+ code?: string | null | undefined;
235
+ message: string;
236
+ })[];
237
+ expiresAt?: string | null | undefined;
238
+ }>;
239
+ createRun(input: RepositoryRunCreate, idempotencyKey: string): Promise<{
240
+ runNo: string;
241
+ planNo: string;
242
+ state: string;
243
+ stepCode?: string | null | undefined;
244
+ repository?: {
245
+ repositoryKey: string;
246
+ id?: string | undefined;
247
+ connectionCode?: string | null | undefined;
248
+ provider?: string | null | undefined;
249
+ externalId?: string | null | undefined;
250
+ namespaceExternalId?: string | null | undefined;
251
+ namespacePath?: string | null | undefined;
252
+ name?: string | null | undefined;
253
+ fullName?: string | null | undefined;
254
+ description?: string | null | undefined;
255
+ visibility?: string | null | undefined;
256
+ defaultBranch?: string | null | undefined;
257
+ lastObservedRevision?: string | null | undefined;
258
+ webUrl?: string | null | undefined;
259
+ cloneUrl?: string | null | undefined;
260
+ managementMode?: string | null | undefined;
261
+ status: string;
262
+ ownerTeamId?: string | null | undefined;
263
+ lastReconciledAt?: string | null | undefined;
264
+ version?: number | undefined;
265
+ repositoryId: string | undefined;
266
+ observedRevision: string | null | undefined;
267
+ migrationRequired: boolean;
268
+ migrationIssues: string[];
269
+ } | null | undefined;
270
+ retryable: boolean;
271
+ errorCode?: string | null | undefined;
272
+ errorMessage?: string | null | undefined;
273
+ clientRequestId?: string | null | undefined;
274
+ createdAt?: string | null | undefined;
275
+ startedAt?: string | null | undefined;
276
+ updatedAt?: string | null | undefined;
277
+ finishedAt?: string | null | undefined;
278
+ completedAt?: string | null | undefined;
279
+ }>;
280
+ listRuns(options?: RepositoryRunListOptions): Promise<{
281
+ items: {
282
+ runNo: string;
283
+ planNo: string;
284
+ state: string;
285
+ stepCode?: string | null | undefined;
286
+ repository?: {
287
+ repositoryKey: string;
288
+ id?: string | undefined;
289
+ connectionCode?: string | null | undefined;
290
+ provider?: string | null | undefined;
291
+ externalId?: string | null | undefined;
292
+ namespaceExternalId?: string | null | undefined;
293
+ namespacePath?: string | null | undefined;
294
+ name?: string | null | undefined;
295
+ fullName?: string | null | undefined;
296
+ description?: string | null | undefined;
297
+ visibility?: string | null | undefined;
298
+ defaultBranch?: string | null | undefined;
299
+ lastObservedRevision?: string | null | undefined;
300
+ webUrl?: string | null | undefined;
301
+ cloneUrl?: string | null | undefined;
302
+ managementMode?: string | null | undefined;
303
+ status: string;
304
+ ownerTeamId?: string | null | undefined;
305
+ lastReconciledAt?: string | null | undefined;
306
+ version?: number | undefined;
307
+ repositoryId: string | undefined;
308
+ observedRevision: string | null | undefined;
309
+ migrationRequired: boolean;
310
+ migrationIssues: string[];
311
+ } | null | undefined;
312
+ retryable: boolean;
313
+ errorCode?: string | null | undefined;
314
+ errorMessage?: string | null | undefined;
315
+ clientRequestId?: string | null | undefined;
316
+ createdAt?: string | null | undefined;
317
+ startedAt?: string | null | undefined;
318
+ updatedAt?: string | null | undefined;
319
+ finishedAt?: string | null | undefined;
320
+ completedAt?: string | null | undefined;
321
+ }[];
322
+ nextCursor: string | null;
323
+ hasMore: boolean;
324
+ total?: number | undefined;
325
+ page?: number | undefined;
326
+ size?: number | undefined;
327
+ }>;
328
+ getRun(runNo: string): Promise<{
329
+ runNo: string;
330
+ planNo: string;
331
+ state: string;
332
+ stepCode?: string | null | undefined;
333
+ repository?: {
334
+ repositoryKey: string;
335
+ id?: string | undefined;
336
+ connectionCode?: string | null | undefined;
337
+ provider?: string | null | undefined;
338
+ externalId?: string | null | undefined;
339
+ namespaceExternalId?: string | null | undefined;
340
+ namespacePath?: string | null | undefined;
341
+ name?: string | null | undefined;
342
+ fullName?: string | null | undefined;
343
+ description?: string | null | undefined;
344
+ visibility?: string | null | undefined;
345
+ defaultBranch?: string | null | undefined;
346
+ lastObservedRevision?: string | null | undefined;
347
+ webUrl?: string | null | undefined;
348
+ cloneUrl?: string | null | undefined;
349
+ managementMode?: string | null | undefined;
350
+ status: string;
351
+ ownerTeamId?: string | null | undefined;
352
+ lastReconciledAt?: string | null | undefined;
353
+ version?: number | undefined;
354
+ repositoryId: string | undefined;
355
+ observedRevision: string | null | undefined;
356
+ migrationRequired: boolean;
357
+ migrationIssues: string[];
358
+ } | null | undefined;
359
+ retryable: boolean;
360
+ errorCode?: string | null | undefined;
361
+ errorMessage?: string | null | undefined;
362
+ clientRequestId?: string | null | undefined;
363
+ createdAt?: string | null | undefined;
364
+ startedAt?: string | null | undefined;
365
+ updatedAt?: string | null | undefined;
366
+ finishedAt?: string | null | undefined;
367
+ completedAt?: string | null | undefined;
368
+ }>;
369
+ resolveRun(clientRequestId: string): Promise<{
370
+ runNo: string;
371
+ planNo: string;
372
+ state: string;
373
+ stepCode?: string | null | undefined;
374
+ repository?: {
375
+ repositoryKey: string;
376
+ id?: string | undefined;
377
+ connectionCode?: string | null | undefined;
378
+ provider?: string | null | undefined;
379
+ externalId?: string | null | undefined;
380
+ namespaceExternalId?: string | null | undefined;
381
+ namespacePath?: string | null | undefined;
382
+ name?: string | null | undefined;
383
+ fullName?: string | null | undefined;
384
+ description?: string | null | undefined;
385
+ visibility?: string | null | undefined;
386
+ defaultBranch?: string | null | undefined;
387
+ lastObservedRevision?: string | null | undefined;
388
+ webUrl?: string | null | undefined;
389
+ cloneUrl?: string | null | undefined;
390
+ managementMode?: string | null | undefined;
391
+ status: string;
392
+ ownerTeamId?: string | null | undefined;
393
+ lastReconciledAt?: string | null | undefined;
394
+ version?: number | undefined;
395
+ repositoryId: string | undefined;
396
+ observedRevision: string | null | undefined;
397
+ migrationRequired: boolean;
398
+ migrationIssues: string[];
399
+ } | null | undefined;
400
+ retryable: boolean;
401
+ errorCode?: string | null | undefined;
402
+ errorMessage?: string | null | undefined;
403
+ clientRequestId?: string | null | undefined;
404
+ createdAt?: string | null | undefined;
405
+ startedAt?: string | null | undefined;
406
+ updatedAt?: string | null | undefined;
407
+ finishedAt?: string | null | undefined;
408
+ completedAt?: string | null | undefined;
409
+ }>;
410
+ getEvents(runNo: string, afterSequence?: number): Promise<{
411
+ items: ({
412
+ sequence: number;
413
+ eventType?: string | undefined;
414
+ type?: string | undefined;
415
+ state?: string | null | undefined;
416
+ stepCode?: string | null | undefined;
417
+ message?: string | null | undefined;
418
+ createdAt: string;
419
+ details?: Record<string, unknown> | undefined;
420
+ } | {
421
+ sequenceNo: number;
422
+ eventType: string;
423
+ state?: string | null | undefined;
424
+ stepCode?: string | null | undefined;
425
+ message?: string | null | undefined;
426
+ errorCode?: string | null | undefined;
427
+ retryable?: boolean | undefined;
428
+ occurredAt?: string | null | undefined;
429
+ sequence: number;
430
+ type: undefined;
431
+ createdAt: string | null | undefined;
432
+ })[];
433
+ nextSequence: number | null;
434
+ }>;
435
+ retryRun(runNo: string): Promise<{
436
+ runNo: string;
437
+ planNo: string;
438
+ state: string;
439
+ stepCode?: string | null | undefined;
440
+ repository?: {
441
+ repositoryKey: string;
442
+ id?: string | undefined;
443
+ connectionCode?: string | null | undefined;
444
+ provider?: string | null | undefined;
445
+ externalId?: string | null | undefined;
446
+ namespaceExternalId?: string | null | undefined;
447
+ namespacePath?: string | null | undefined;
448
+ name?: string | null | undefined;
449
+ fullName?: string | null | undefined;
450
+ description?: string | null | undefined;
451
+ visibility?: string | null | undefined;
452
+ defaultBranch?: string | null | undefined;
453
+ lastObservedRevision?: string | null | undefined;
454
+ webUrl?: string | null | undefined;
455
+ cloneUrl?: string | null | undefined;
456
+ managementMode?: string | null | undefined;
457
+ status: string;
458
+ ownerTeamId?: string | null | undefined;
459
+ lastReconciledAt?: string | null | undefined;
460
+ version?: number | undefined;
461
+ repositoryId: string | undefined;
462
+ observedRevision: string | null | undefined;
463
+ migrationRequired: boolean;
464
+ migrationIssues: string[];
465
+ } | null | undefined;
466
+ retryable: boolean;
467
+ errorCode?: string | null | undefined;
468
+ errorMessage?: string | null | undefined;
469
+ clientRequestId?: string | null | undefined;
470
+ createdAt?: string | null | undefined;
471
+ startedAt?: string | null | undefined;
472
+ updatedAt?: string | null | undefined;
473
+ finishedAt?: string | null | undefined;
474
+ completedAt?: string | null | undefined;
475
+ }>;
476
+ reconcileRun(runNo: string): Promise<{
477
+ runNo: string;
478
+ planNo: string;
479
+ state: string;
480
+ stepCode?: string | null | undefined;
481
+ repository?: {
482
+ repositoryKey: string;
483
+ id?: string | undefined;
484
+ connectionCode?: string | null | undefined;
485
+ provider?: string | null | undefined;
486
+ externalId?: string | null | undefined;
487
+ namespaceExternalId?: string | null | undefined;
488
+ namespacePath?: string | null | undefined;
489
+ name?: string | null | undefined;
490
+ fullName?: string | null | undefined;
491
+ description?: string | null | undefined;
492
+ visibility?: string | null | undefined;
493
+ defaultBranch?: string | null | undefined;
494
+ lastObservedRevision?: string | null | undefined;
495
+ webUrl?: string | null | undefined;
496
+ cloneUrl?: string | null | undefined;
497
+ managementMode?: string | null | undefined;
498
+ status: string;
499
+ ownerTeamId?: string | null | undefined;
500
+ lastReconciledAt?: string | null | undefined;
501
+ version?: number | undefined;
502
+ repositoryId: string | undefined;
503
+ observedRevision: string | null | undefined;
504
+ migrationRequired: boolean;
505
+ migrationIssues: string[];
506
+ } | null | undefined;
507
+ retryable: boolean;
508
+ errorCode?: string | null | undefined;
509
+ errorMessage?: string | null | undefined;
510
+ clientRequestId?: string | null | undefined;
511
+ createdAt?: string | null | undefined;
512
+ startedAt?: string | null | undefined;
513
+ updatedAt?: string | null | undefined;
514
+ finishedAt?: string | null | undefined;
515
+ completedAt?: string | null | undefined;
516
+ }>;
517
+ reconcileRepository(repositoryKey: string, idempotencyKey: string): Promise<{
518
+ runNo: string;
519
+ planNo: string;
520
+ state: string;
521
+ stepCode?: string | null | undefined;
522
+ repository?: {
523
+ repositoryKey: string;
524
+ id?: string | undefined;
525
+ connectionCode?: string | null | undefined;
526
+ provider?: string | null | undefined;
527
+ externalId?: string | null | undefined;
528
+ namespaceExternalId?: string | null | undefined;
529
+ namespacePath?: string | null | undefined;
530
+ name?: string | null | undefined;
531
+ fullName?: string | null | undefined;
532
+ description?: string | null | undefined;
533
+ visibility?: string | null | undefined;
534
+ defaultBranch?: string | null | undefined;
535
+ lastObservedRevision?: string | null | undefined;
536
+ webUrl?: string | null | undefined;
537
+ cloneUrl?: string | null | undefined;
538
+ managementMode?: string | null | undefined;
539
+ status: string;
540
+ ownerTeamId?: string | null | undefined;
541
+ lastReconciledAt?: string | null | undefined;
542
+ version?: number | undefined;
543
+ repositoryId: string | undefined;
544
+ observedRevision: string | null | undefined;
545
+ migrationRequired: boolean;
546
+ migrationIssues: string[];
547
+ } | null | undefined;
548
+ retryable: boolean;
549
+ errorCode?: string | null | undefined;
550
+ errorMessage?: string | null | undefined;
551
+ clientRequestId?: string | null | undefined;
552
+ createdAt?: string | null | undefined;
553
+ startedAt?: string | null | undefined;
554
+ updatedAt?: string | null | undefined;
555
+ finishedAt?: string | null | undefined;
556
+ completedAt?: string | null | undefined;
557
+ }>;
558
+ }