@kilnci/shared 0.25.0 → 0.43.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.
@@ -1,13 +1,78 @@
1
1
  import { z } from 'zod';
2
2
  export declare const BuildStatusSchema: z.ZodEnum<["pending", "running", "success", "failed", "cancelled"]>;
3
3
  export type BuildStatus = z.infer<typeof BuildStatusSchema>;
4
- export declare const TriggerSourceSchema: z.ZodEnum<["webhook", "ui", "api", "cli"]>;
4
+ export declare const TriggerSourceSchema: z.ZodEnum<["webhook", "ui", "api", "cli", "schedule"]>;
5
5
  export type TriggerSource = z.infer<typeof TriggerSourceSchema>;
6
+ export declare const StageStatusSchema: z.ZodEnum<["success", "failed", "skipped", "running"]>;
7
+ export type StageStatus = z.infer<typeof StageStatusSchema>;
8
+ export declare const StageResultSchema: z.ZodObject<{
9
+ name: z.ZodString;
10
+ stageIndex: z.ZodNumber;
11
+ isFinally: z.ZodDefault<z.ZodBoolean>;
12
+ status: z.ZodEnum<["success", "failed", "skipped", "running"]>;
13
+ durationMs: z.ZodOptional<z.ZodNumber>;
14
+ startedAt: z.ZodOptional<z.ZodDate>;
15
+ exitCode: z.ZodOptional<z.ZodNumber>;
16
+ errorMessage: z.ZodOptional<z.ZodString>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ status: "running" | "success" | "failed" | "skipped";
19
+ name: string;
20
+ stageIndex: number;
21
+ isFinally: boolean;
22
+ durationMs?: number | undefined;
23
+ startedAt?: Date | undefined;
24
+ exitCode?: number | undefined;
25
+ errorMessage?: string | undefined;
26
+ }, {
27
+ status: "running" | "success" | "failed" | "skipped";
28
+ name: string;
29
+ stageIndex: number;
30
+ isFinally?: boolean | undefined;
31
+ durationMs?: number | undefined;
32
+ startedAt?: Date | undefined;
33
+ exitCode?: number | undefined;
34
+ errorMessage?: string | undefined;
35
+ }>;
36
+ export type StageResult = z.infer<typeof StageResultSchema>;
37
+ export declare const StageEventSchema: z.ZodObject<{
38
+ buildId: z.ZodString;
39
+ name: z.ZodString;
40
+ stageIndex: z.ZodNumber;
41
+ isFinally: z.ZodDefault<z.ZodBoolean>;
42
+ status: z.ZodEnum<["success", "failed", "skipped", "running"]>;
43
+ durationMs: z.ZodOptional<z.ZodNumber>;
44
+ startedAt: z.ZodOptional<z.ZodDate>;
45
+ exitCode: z.ZodOptional<z.ZodNumber>;
46
+ errorMessage: z.ZodOptional<z.ZodString>;
47
+ }, "strip", z.ZodTypeAny, {
48
+ status: "running" | "success" | "failed" | "skipped";
49
+ name: string;
50
+ stageIndex: number;
51
+ isFinally: boolean;
52
+ buildId: string;
53
+ durationMs?: number | undefined;
54
+ startedAt?: Date | undefined;
55
+ exitCode?: number | undefined;
56
+ errorMessage?: string | undefined;
57
+ }, {
58
+ status: "running" | "success" | "failed" | "skipped";
59
+ name: string;
60
+ stageIndex: number;
61
+ buildId: string;
62
+ isFinally?: boolean | undefined;
63
+ durationMs?: number | undefined;
64
+ startedAt?: Date | undefined;
65
+ exitCode?: number | undefined;
66
+ errorMessage?: string | undefined;
67
+ }>;
68
+ export type StageEvent = z.infer<typeof StageEventSchema>;
6
69
  export declare const BuildSchema: z.ZodObject<{
7
70
  id: z.ZodString;
8
71
  repositoryId: z.ZodString;
72
+ repositoryName: z.ZodString;
9
73
  repo: z.ZodString;
10
74
  organizationId: z.ZodString;
75
+ organizationSlug: z.ZodString;
11
76
  branch: z.ZodDefault<z.ZodString>;
12
77
  pipelineName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
78
  status: z.ZodEnum<["pending", "running", "success", "failed", "cancelled"]>;
@@ -20,21 +85,8 @@ export declare const BuildSchema: z.ZodObject<{
20
85
  finishedAt: z.ZodNullable<z.ZodDate>;
21
86
  commitSha: z.ZodNullable<z.ZodString>;
22
87
  eventType: z.ZodNullable<z.ZodString>;
23
- triggerSource: z.ZodDefault<z.ZodEnum<["webhook", "ui", "api", "cli"]>>;
88
+ triggerSource: z.ZodDefault<z.ZodEnum<["webhook", "ui", "api", "cli", "schedule"]>>;
24
89
  artifacts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
- workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26
- key: z.ZodString;
27
- size: z.ZodNumber;
28
- createdAt: z.ZodDate;
29
- }, "strip", z.ZodTypeAny, {
30
- key: string;
31
- size: number;
32
- createdAt: Date;
33
- }, {
34
- key: string;
35
- size: number;
36
- createdAt: Date;
37
- }>>>;
38
90
  logs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
91
  key: z.ZodString;
40
92
  size: z.ZodNumber;
@@ -71,11 +123,6 @@ export declare const BuildSchema: z.ZodObject<{
71
123
  fileCount: number;
72
124
  }>, "many">>;
73
125
  }, "strip", z.ZodTypeAny, {
74
- workspace?: {
75
- key: string;
76
- size: number;
77
- createdAt: Date;
78
- } | null | undefined;
79
126
  logs?: {
80
127
  key: string;
81
128
  size: number;
@@ -90,11 +137,6 @@ export declare const BuildSchema: z.ZodObject<{
90
137
  fileCount: number;
91
138
  }[] | undefined;
92
139
  }, {
93
- workspace?: {
94
- key: string;
95
- size: number;
96
- createdAt: Date;
97
- } | null | undefined;
98
140
  logs?: {
99
141
  key: string;
100
142
  size: number;
@@ -109,32 +151,80 @@ export declare const BuildSchema: z.ZodObject<{
109
151
  fileCount: number;
110
152
  }[] | undefined;
111
153
  }>>>;
112
- labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
154
+ labels: z.ZodDefault<z.ZodObject<{
155
+ requires: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
156
+ prefers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
157
+ }, "strip", z.ZodTypeAny, {
158
+ requires: Record<string, string>;
159
+ prefers: Record<string, string>;
160
+ }, {
161
+ requires?: Record<string, string> | undefined;
162
+ prefers?: Record<string, string> | undefined;
163
+ }>>;
164
+ stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
165
+ name: z.ZodString;
166
+ stageIndex: z.ZodNumber;
167
+ isFinally: z.ZodDefault<z.ZodBoolean>;
168
+ status: z.ZodEnum<["success", "failed", "skipped", "running"]>;
169
+ durationMs: z.ZodOptional<z.ZodNumber>;
170
+ startedAt: z.ZodOptional<z.ZodDate>;
171
+ exitCode: z.ZodOptional<z.ZodNumber>;
172
+ errorMessage: z.ZodOptional<z.ZodString>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ status: "running" | "success" | "failed" | "skipped";
175
+ name: string;
176
+ stageIndex: number;
177
+ isFinally: boolean;
178
+ durationMs?: number | undefined;
179
+ startedAt?: Date | undefined;
180
+ exitCode?: number | undefined;
181
+ errorMessage?: string | undefined;
182
+ }, {
183
+ status: "running" | "success" | "failed" | "skipped";
184
+ name: string;
185
+ stageIndex: number;
186
+ isFinally?: boolean | undefined;
187
+ durationMs?: number | undefined;
188
+ startedAt?: Date | undefined;
189
+ exitCode?: number | undefined;
190
+ errorMessage?: string | undefined;
191
+ }>, "many">>;
192
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
113
193
  }, "strip", z.ZodTypeAny, {
114
194
  status: "pending" | "running" | "success" | "failed" | "cancelled";
115
195
  createdAt: Date;
196
+ startedAt: Date | null;
197
+ exitCode: number | null;
198
+ errorMessage: string | null;
116
199
  id: string;
117
200
  repositoryId: string;
201
+ repositoryName: string;
118
202
  repo: string;
119
203
  organizationId: string;
204
+ organizationSlug: string;
120
205
  branch: string;
121
206
  workerId: string | null;
122
- exitCode: number | null;
123
- errorMessage: string | null;
124
- startedAt: Date | null;
125
207
  finishedAt: Date | null;
126
208
  commitSha: string | null;
127
209
  eventType: string | null;
128
- triggerSource: "webhook" | "ui" | "api" | "cli";
129
- labels: Record<string, string>;
210
+ triggerSource: "webhook" | "ui" | "api" | "cli" | "schedule";
211
+ labels: {
212
+ requires: Record<string, string>;
213
+ prefers: Record<string, string>;
214
+ };
215
+ stages?: {
216
+ status: "running" | "success" | "failed" | "skipped";
217
+ name: string;
218
+ stageIndex: number;
219
+ isFinally: boolean;
220
+ durationMs?: number | undefined;
221
+ startedAt?: Date | undefined;
222
+ exitCode?: number | undefined;
223
+ errorMessage?: string | undefined;
224
+ }[] | undefined;
130
225
  pipelineName?: string | null | undefined;
131
226
  workerName?: string | null | undefined;
132
227
  artifacts?: {
133
- workspace?: {
134
- key: string;
135
- size: number;
136
- createdAt: Date;
137
- } | null | undefined;
138
228
  logs?: {
139
229
  key: string;
140
230
  size: number;
@@ -149,30 +239,38 @@ export declare const BuildSchema: z.ZodObject<{
149
239
  fileCount: number;
150
240
  }[] | undefined;
151
241
  } | null | undefined;
242
+ image?: string | null | undefined;
152
243
  }, {
153
244
  status: "pending" | "running" | "success" | "failed" | "cancelled";
154
245
  createdAt: Date;
246
+ startedAt: Date | null;
247
+ exitCode: number | null;
248
+ errorMessage: string | null;
155
249
  id: string;
156
250
  repositoryId: string;
251
+ repositoryName: string;
157
252
  repo: string;
158
253
  organizationId: string;
254
+ organizationSlug: string;
159
255
  workerId: string | null;
160
- exitCode: number | null;
161
- errorMessage: string | null;
162
- startedAt: Date | null;
163
256
  finishedAt: Date | null;
164
257
  commitSha: string | null;
165
258
  eventType: string | null;
259
+ stages?: {
260
+ status: "running" | "success" | "failed" | "skipped";
261
+ name: string;
262
+ stageIndex: number;
263
+ isFinally?: boolean | undefined;
264
+ durationMs?: number | undefined;
265
+ startedAt?: Date | undefined;
266
+ exitCode?: number | undefined;
267
+ errorMessage?: string | undefined;
268
+ }[] | undefined;
166
269
  branch?: string | undefined;
167
270
  pipelineName?: string | null | undefined;
168
271
  workerName?: string | null | undefined;
169
- triggerSource?: "webhook" | "ui" | "api" | "cli" | undefined;
272
+ triggerSource?: "webhook" | "ui" | "api" | "cli" | "schedule" | undefined;
170
273
  artifacts?: {
171
- workspace?: {
172
- key: string;
173
- size: number;
174
- createdAt: Date;
175
- } | null | undefined;
176
274
  logs?: {
177
275
  key: string;
178
276
  size: number;
@@ -187,21 +285,30 @@ export declare const BuildSchema: z.ZodObject<{
187
285
  fileCount: number;
188
286
  }[] | undefined;
189
287
  } | null | undefined;
190
- labels?: Record<string, string> | undefined;
288
+ labels?: {
289
+ requires?: Record<string, string> | undefined;
290
+ prefers?: Record<string, string> | undefined;
291
+ } | undefined;
292
+ image?: string | null | undefined;
191
293
  }>;
192
294
  export type Build = z.infer<typeof BuildSchema>;
295
+ export declare const RefTypeSchema: z.ZodEnum<["branch", "tag", "pull_request"]>;
296
+ export type RefType = z.infer<typeof RefTypeSchema>;
193
297
  export declare const BuildRequestSchema: z.ZodObject<{
194
298
  repositoryId: z.ZodString;
195
299
  branch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
196
300
  pipeline: z.ZodOptional<z.ZodString>;
301
+ refType: z.ZodOptional<z.ZodEnum<["branch", "tag", "pull_request"]>>;
197
302
  }, "strip", z.ZodTypeAny, {
198
303
  repositoryId: string;
199
304
  branch: string;
200
305
  pipeline?: string | undefined;
306
+ refType?: "branch" | "tag" | "pull_request" | undefined;
201
307
  }, {
202
308
  repositoryId: string;
203
309
  branch?: string | undefined;
204
310
  pipeline?: string | undefined;
311
+ refType?: "branch" | "tag" | "pull_request" | undefined;
205
312
  }>;
206
313
  export type BuildRequest = z.infer<typeof BuildRequestSchema>;
207
314
  export declare const WorkspaceSchema: z.ZodObject<{
@@ -232,29 +339,11 @@ export declare const WorkspaceSchema: z.ZodObject<{
232
339
  export type Workspace = z.infer<typeof WorkspaceSchema>;
233
340
  export declare const WorkerStatusSchema: z.ZodEnum<["pending", "online", "offline", "busy"]>;
234
341
  export type WorkerStatus = z.infer<typeof WorkerStatusSchema>;
235
- export declare const LabelSelectorSchema: z.ZodObject<{
236
- matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
237
- }, "strip", z.ZodTypeAny, {
238
- matchLabels?: Record<string, string> | undefined;
239
- }, {
240
- matchLabels?: Record<string, string> | undefined;
241
- }>;
242
- export type LabelSelector = z.infer<typeof LabelSelectorSchema>;
243
- export declare const SelectorModeSchema: z.ZodEnum<["preferred", "exclusive"]>;
244
- export type SelectorMode = z.infer<typeof SelectorModeSchema>;
245
342
  export declare const WorkerSchema: z.ZodObject<{
246
343
  id: z.ZodString;
247
344
  name: z.ZodNullable<z.ZodString>;
248
345
  hostname: z.ZodNullable<z.ZodString>;
249
346
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
250
- selector: z.ZodDefault<z.ZodNullable<z.ZodObject<{
251
- matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
252
- }, "strip", z.ZodTypeAny, {
253
- matchLabels?: Record<string, string> | undefined;
254
- }, {
255
- matchLabels?: Record<string, string> | undefined;
256
- }>>>;
257
- selectorMode: z.ZodDefault<z.ZodEnum<["preferred", "exclusive"]>>;
258
347
  maxConcurrentBuilds: z.ZodDefault<z.ZodNumber>;
259
348
  activeBuilds: z.ZodDefault<z.ZodNumber>;
260
349
  status: z.ZodEnum<["pending", "online", "offline", "busy"]>;
@@ -269,10 +358,6 @@ export declare const WorkerSchema: z.ZodObject<{
269
358
  id: string;
270
359
  labels: Record<string, unknown>;
271
360
  hostname: string | null;
272
- selector: {
273
- matchLabels?: Record<string, string> | undefined;
274
- } | null;
275
- selectorMode: "preferred" | "exclusive";
276
361
  maxConcurrentBuilds: number;
277
362
  activeBuilds: number;
278
363
  createdBy: string | null;
@@ -288,10 +373,6 @@ export declare const WorkerSchema: z.ZodObject<{
288
373
  registeredAt: Date | null;
289
374
  lastHeartbeatAt: Date | null;
290
375
  labels?: Record<string, unknown> | undefined;
291
- selector?: {
292
- matchLabels?: Record<string, string> | undefined;
293
- } | null | undefined;
294
- selectorMode?: "preferred" | "exclusive" | undefined;
295
376
  maxConcurrentBuilds?: number | undefined;
296
377
  activeBuilds?: number | undefined;
297
378
  }>;
@@ -300,31 +381,15 @@ export declare const WorkerCreateSchema: z.ZodObject<{
300
381
  name: z.ZodString;
301
382
  maxConcurrentBuilds: z.ZodDefault<z.ZodNumber>;
302
383
  labels: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
303
- selector: z.ZodOptional<z.ZodObject<{
304
- matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
305
- }, "strip", z.ZodTypeAny, {
306
- matchLabels?: Record<string, string> | undefined;
307
- }, {
308
- matchLabels?: Record<string, string> | undefined;
309
- }>>;
310
- selectorMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["preferred", "exclusive"]>>>;
311
384
  tokenTtlMinutes: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
312
385
  }, "strip", z.ZodTypeAny, {
313
386
  name: string;
314
387
  labels: Record<string, unknown>;
315
- selectorMode: "preferred" | "exclusive";
316
388
  maxConcurrentBuilds: number;
317
389
  tokenTtlMinutes: number;
318
- selector?: {
319
- matchLabels?: Record<string, string> | undefined;
320
- } | undefined;
321
390
  }, {
322
391
  name: string;
323
392
  labels?: Record<string, unknown> | undefined;
324
- selector?: {
325
- matchLabels?: Record<string, string> | undefined;
326
- } | undefined;
327
- selectorMode?: "preferred" | "exclusive" | undefined;
328
393
  maxConcurrentBuilds?: number | undefined;
329
394
  tokenTtlMinutes?: number | undefined;
330
395
  }>;
@@ -335,14 +400,6 @@ export declare const WorkerCreatedSchema: z.ZodObject<{
335
400
  name: z.ZodNullable<z.ZodString>;
336
401
  hostname: z.ZodNullable<z.ZodString>;
337
402
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
338
- selector: z.ZodDefault<z.ZodNullable<z.ZodObject<{
339
- matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
340
- }, "strip", z.ZodTypeAny, {
341
- matchLabels?: Record<string, string> | undefined;
342
- }, {
343
- matchLabels?: Record<string, string> | undefined;
344
- }>>>;
345
- selectorMode: z.ZodDefault<z.ZodEnum<["preferred", "exclusive"]>>;
346
403
  maxConcurrentBuilds: z.ZodDefault<z.ZodNumber>;
347
404
  activeBuilds: z.ZodDefault<z.ZodNumber>;
348
405
  status: z.ZodEnum<["pending", "online", "offline", "busy"]>;
@@ -357,10 +414,6 @@ export declare const WorkerCreatedSchema: z.ZodObject<{
357
414
  id: string;
358
415
  labels: Record<string, unknown>;
359
416
  hostname: string | null;
360
- selector: {
361
- matchLabels?: Record<string, string> | undefined;
362
- } | null;
363
- selectorMode: "preferred" | "exclusive";
364
417
  maxConcurrentBuilds: number;
365
418
  activeBuilds: number;
366
419
  createdBy: string | null;
@@ -376,10 +429,6 @@ export declare const WorkerCreatedSchema: z.ZodObject<{
376
429
  registeredAt: Date | null;
377
430
  lastHeartbeatAt: Date | null;
378
431
  labels?: Record<string, unknown> | undefined;
379
- selector?: {
380
- matchLabels?: Record<string, string> | undefined;
381
- } | null | undefined;
382
- selectorMode?: "preferred" | "exclusive" | undefined;
383
432
  maxConcurrentBuilds?: number | undefined;
384
433
  activeBuilds?: number | undefined;
385
434
  }>;
@@ -393,10 +442,6 @@ export declare const WorkerCreatedSchema: z.ZodObject<{
393
442
  id: string;
394
443
  labels: Record<string, unknown>;
395
444
  hostname: string | null;
396
- selector: {
397
- matchLabels?: Record<string, string> | undefined;
398
- } | null;
399
- selectorMode: "preferred" | "exclusive";
400
445
  maxConcurrentBuilds: number;
401
446
  activeBuilds: number;
402
447
  createdBy: string | null;
@@ -416,10 +461,6 @@ export declare const WorkerCreatedSchema: z.ZodObject<{
416
461
  registeredAt: Date | null;
417
462
  lastHeartbeatAt: Date | null;
418
463
  labels?: Record<string, unknown> | undefined;
419
- selector?: {
420
- matchLabels?: Record<string, string> | undefined;
421
- } | null | undefined;
422
- selectorMode?: "preferred" | "exclusive" | undefined;
423
464
  maxConcurrentBuilds?: number | undefined;
424
465
  activeBuilds?: number | undefined;
425
466
  };
@@ -428,6 +469,7 @@ export declare const WorkerCreatedSchema: z.ZodObject<{
428
469
  }>;
429
470
  export type WorkerCreated = z.infer<typeof WorkerCreatedSchema>;
430
471
  export declare const HealthStatusSchema: z.ZodObject<{
472
+ version: z.ZodString;
431
473
  status: z.ZodEnum<["ok", "degraded", "error"]>;
432
474
  postgres: z.ZodObject<{
433
475
  connected: z.ZodBoolean;
@@ -436,7 +478,7 @@ export declare const HealthStatusSchema: z.ZodObject<{
436
478
  }, {
437
479
  connected: boolean;
438
480
  }>;
439
- keycloak: z.ZodObject<{
481
+ oidc: z.ZodObject<{
440
482
  connected: z.ZodBoolean;
441
483
  }, "strip", z.ZodTypeAny, {
442
484
  connected: boolean;
@@ -445,18 +487,20 @@ export declare const HealthStatusSchema: z.ZodObject<{
445
487
  }>;
446
488
  }, "strip", z.ZodTypeAny, {
447
489
  status: "ok" | "degraded" | "error";
490
+ version: string;
448
491
  postgres: {
449
492
  connected: boolean;
450
493
  };
451
- keycloak: {
494
+ oidc: {
452
495
  connected: boolean;
453
496
  };
454
497
  }, {
455
498
  status: "ok" | "degraded" | "error";
499
+ version: string;
456
500
  postgres: {
457
501
  connected: boolean;
458
502
  };
459
- keycloak: {
503
+ oidc: {
460
504
  connected: boolean;
461
505
  };
462
506
  }>;
@@ -554,6 +598,7 @@ export declare const GitIntegrationSchema: z.ZodObject<{
554
598
  webhookSecret: z.ZodString;
555
599
  defaultBranch: z.ZodDefault<z.ZodString>;
556
600
  enabled: z.ZodDefault<z.ZodBoolean>;
601
+ registryUrl: z.ZodNullable<z.ZodString>;
557
602
  createdAt: z.ZodDate;
558
603
  }, "strip", z.ZodTypeAny, {
559
604
  createdAt: Date;
@@ -565,6 +610,7 @@ export declare const GitIntegrationSchema: z.ZodObject<{
565
610
  webhookSecret: string;
566
611
  defaultBranch: string;
567
612
  enabled: boolean;
613
+ registryUrl: string | null;
568
614
  }, {
569
615
  createdAt: Date;
570
616
  id: string;
@@ -573,6 +619,7 @@ export declare const GitIntegrationSchema: z.ZodObject<{
573
619
  providerUrl: string;
574
620
  groupPath: string | null;
575
621
  webhookSecret: string;
622
+ registryUrl: string | null;
576
623
  defaultBranch?: string | undefined;
577
624
  enabled?: boolean | undefined;
578
625
  }>;
@@ -581,23 +628,26 @@ export declare const GitIntegrationConfigSchema: z.ZodObject<{
581
628
  provider: z.ZodEnum<["gitlab", "gitea"]>;
582
629
  providerUrl: z.ZodString;
583
630
  groupPath: z.ZodString;
584
- accessToken: z.ZodString;
631
+ accessToken: z.ZodOptional<z.ZodString>;
585
632
  defaultBranch: z.ZodOptional<z.ZodString>;
586
633
  enabled: z.ZodOptional<z.ZodBoolean>;
634
+ registryUrl: z.ZodOptional<z.ZodString>;
587
635
  }, "strip", z.ZodTypeAny, {
588
636
  provider: "gitlab" | "gitea";
589
637
  providerUrl: string;
590
638
  groupPath: string;
591
- accessToken: string;
592
639
  defaultBranch?: string | undefined;
593
640
  enabled?: boolean | undefined;
641
+ registryUrl?: string | undefined;
642
+ accessToken?: string | undefined;
594
643
  }, {
595
644
  provider: "gitlab" | "gitea";
596
645
  providerUrl: string;
597
646
  groupPath: string;
598
- accessToken: string;
599
647
  defaultBranch?: string | undefined;
600
648
  enabled?: boolean | undefined;
649
+ registryUrl?: string | undefined;
650
+ accessToken?: string | undefined;
601
651
  }>;
602
652
  export type GitIntegrationConfig = z.infer<typeof GitIntegrationConfigSchema>;
603
653
  export declare const GitProviderSchema: z.ZodEnum<["gitlab", "gitea"]>;
@@ -615,6 +665,8 @@ export declare const RepositorySchema: z.ZodObject<{
615
665
  providerWebhookId: z.ZodNullable<z.ZodString>;
616
666
  podTemplateId: z.ZodNullable<z.ZodString>;
617
667
  preserveGitignore: z.ZodDefault<z.ZodBoolean>;
668
+ dockerRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
669
+ packageRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
618
670
  createdAt: z.ZodDate;
619
671
  updatedAt: z.ZodDate;
620
672
  }, "strip", z.ZodTypeAny, {
@@ -632,6 +684,8 @@ export declare const RepositorySchema: z.ZodObject<{
632
684
  providerWebhookId: string | null;
633
685
  podTemplateId: string | null;
634
686
  preserveGitignore: boolean;
687
+ dockerRegistryEnabled: boolean;
688
+ packageRegistryEnabled: boolean;
635
689
  }, {
636
690
  createdAt: Date;
637
691
  name: string;
@@ -647,22 +701,77 @@ export declare const RepositorySchema: z.ZodObject<{
647
701
  defaultBranch?: string | undefined;
648
702
  buildEnabled?: boolean | undefined;
649
703
  preserveGitignore?: boolean | undefined;
704
+ dockerRegistryEnabled?: boolean | undefined;
705
+ packageRegistryEnabled?: boolean | undefined;
650
706
  }>;
651
707
  export type Repository = z.infer<typeof RepositorySchema>;
652
708
  export declare const RepositoryUpdateSchema: z.ZodObject<{
653
709
  buildEnabled: z.ZodOptional<z.ZodBoolean>;
654
710
  podTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
655
711
  preserveGitignore: z.ZodOptional<z.ZodBoolean>;
712
+ dockerRegistryEnabled: z.ZodOptional<z.ZodBoolean>;
713
+ packageRegistryEnabled: z.ZodOptional<z.ZodBoolean>;
656
714
  }, "strip", z.ZodTypeAny, {
657
715
  buildEnabled?: boolean | undefined;
658
716
  podTemplateId?: string | null | undefined;
659
717
  preserveGitignore?: boolean | undefined;
718
+ dockerRegistryEnabled?: boolean | undefined;
719
+ packageRegistryEnabled?: boolean | undefined;
660
720
  }, {
661
721
  buildEnabled?: boolean | undefined;
662
722
  podTemplateId?: string | null | undefined;
663
723
  preserveGitignore?: boolean | undefined;
724
+ dockerRegistryEnabled?: boolean | undefined;
725
+ packageRegistryEnabled?: boolean | undefined;
664
726
  }>;
665
727
  export type RepositoryUpdate = z.infer<typeof RepositoryUpdateSchema>;
728
+ export declare const PipelineScheduleInfoSchema: z.ZodObject<{
729
+ id: z.ZodString;
730
+ repositoryId: z.ZodString;
731
+ repositoryName: z.ZodString;
732
+ organizationSlug: z.ZodString;
733
+ pipelineName: z.ZodString;
734
+ cronExpression: z.ZodString;
735
+ branch: z.ZodNullable<z.ZodString>;
736
+ concurrency: z.ZodString;
737
+ nextTrigger: z.ZodDate;
738
+ lastTriggered: z.ZodNullable<z.ZodDate>;
739
+ lastError: z.ZodNullable<z.ZodString>;
740
+ lastErrorAt: z.ZodNullable<z.ZodDate>;
741
+ createdAt: z.ZodDate;
742
+ updatedAt: z.ZodDate;
743
+ }, "strip", z.ZodTypeAny, {
744
+ createdAt: Date;
745
+ id: string;
746
+ repositoryId: string;
747
+ repositoryName: string;
748
+ organizationSlug: string;
749
+ branch: string | null;
750
+ pipelineName: string;
751
+ updatedAt: Date;
752
+ cronExpression: string;
753
+ concurrency: string;
754
+ nextTrigger: Date;
755
+ lastTriggered: Date | null;
756
+ lastError: string | null;
757
+ lastErrorAt: Date | null;
758
+ }, {
759
+ createdAt: Date;
760
+ id: string;
761
+ repositoryId: string;
762
+ repositoryName: string;
763
+ organizationSlug: string;
764
+ branch: string | null;
765
+ pipelineName: string;
766
+ updatedAt: Date;
767
+ cronExpression: string;
768
+ concurrency: string;
769
+ nextTrigger: Date;
770
+ lastTriggered: Date | null;
771
+ lastError: string | null;
772
+ lastErrorAt: Date | null;
773
+ }>;
774
+ export type PipelineScheduleInfo = z.infer<typeof PipelineScheduleInfoSchema>;
666
775
  export declare const KilnConfigSchema: z.ZodObject<{
667
776
  commands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
668
777
  branches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -704,8 +813,10 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
704
813
  items: z.ZodArray<z.ZodObject<{
705
814
  id: z.ZodString;
706
815
  repositoryId: z.ZodString;
816
+ repositoryName: z.ZodString;
707
817
  repo: z.ZodString;
708
818
  organizationId: z.ZodString;
819
+ organizationSlug: z.ZodString;
709
820
  branch: z.ZodDefault<z.ZodString>;
710
821
  pipelineName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
711
822
  status: z.ZodEnum<["pending", "running", "success", "failed", "cancelled"]>;
@@ -718,21 +829,8 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
718
829
  finishedAt: z.ZodNullable<z.ZodDate>;
719
830
  commitSha: z.ZodNullable<z.ZodString>;
720
831
  eventType: z.ZodNullable<z.ZodString>;
721
- triggerSource: z.ZodDefault<z.ZodEnum<["webhook", "ui", "api", "cli"]>>;
832
+ triggerSource: z.ZodDefault<z.ZodEnum<["webhook", "ui", "api", "cli", "schedule"]>>;
722
833
  artifacts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
723
- workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
724
- key: z.ZodString;
725
- size: z.ZodNumber;
726
- createdAt: z.ZodDate;
727
- }, "strip", z.ZodTypeAny, {
728
- key: string;
729
- size: number;
730
- createdAt: Date;
731
- }, {
732
- key: string;
733
- size: number;
734
- createdAt: Date;
735
- }>>>;
736
834
  logs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
737
835
  key: z.ZodString;
738
836
  size: z.ZodNumber;
@@ -769,11 +867,6 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
769
867
  fileCount: number;
770
868
  }>, "many">>;
771
869
  }, "strip", z.ZodTypeAny, {
772
- workspace?: {
773
- key: string;
774
- size: number;
775
- createdAt: Date;
776
- } | null | undefined;
777
870
  logs?: {
778
871
  key: string;
779
872
  size: number;
@@ -788,11 +881,6 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
788
881
  fileCount: number;
789
882
  }[] | undefined;
790
883
  }, {
791
- workspace?: {
792
- key: string;
793
- size: number;
794
- createdAt: Date;
795
- } | null | undefined;
796
884
  logs?: {
797
885
  key: string;
798
886
  size: number;
@@ -807,32 +895,80 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
807
895
  fileCount: number;
808
896
  }[] | undefined;
809
897
  }>>>;
810
- labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
898
+ labels: z.ZodDefault<z.ZodObject<{
899
+ requires: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
900
+ prefers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
901
+ }, "strip", z.ZodTypeAny, {
902
+ requires: Record<string, string>;
903
+ prefers: Record<string, string>;
904
+ }, {
905
+ requires?: Record<string, string> | undefined;
906
+ prefers?: Record<string, string> | undefined;
907
+ }>>;
908
+ stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
909
+ name: z.ZodString;
910
+ stageIndex: z.ZodNumber;
911
+ isFinally: z.ZodDefault<z.ZodBoolean>;
912
+ status: z.ZodEnum<["success", "failed", "skipped", "running"]>;
913
+ durationMs: z.ZodOptional<z.ZodNumber>;
914
+ startedAt: z.ZodOptional<z.ZodDate>;
915
+ exitCode: z.ZodOptional<z.ZodNumber>;
916
+ errorMessage: z.ZodOptional<z.ZodString>;
917
+ }, "strip", z.ZodTypeAny, {
918
+ status: "running" | "success" | "failed" | "skipped";
919
+ name: string;
920
+ stageIndex: number;
921
+ isFinally: boolean;
922
+ durationMs?: number | undefined;
923
+ startedAt?: Date | undefined;
924
+ exitCode?: number | undefined;
925
+ errorMessage?: string | undefined;
926
+ }, {
927
+ status: "running" | "success" | "failed" | "skipped";
928
+ name: string;
929
+ stageIndex: number;
930
+ isFinally?: boolean | undefined;
931
+ durationMs?: number | undefined;
932
+ startedAt?: Date | undefined;
933
+ exitCode?: number | undefined;
934
+ errorMessage?: string | undefined;
935
+ }>, "many">>;
936
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
811
937
  }, "strip", z.ZodTypeAny, {
812
938
  status: "pending" | "running" | "success" | "failed" | "cancelled";
813
939
  createdAt: Date;
940
+ startedAt: Date | null;
941
+ exitCode: number | null;
942
+ errorMessage: string | null;
814
943
  id: string;
815
944
  repositoryId: string;
945
+ repositoryName: string;
816
946
  repo: string;
817
947
  organizationId: string;
948
+ organizationSlug: string;
818
949
  branch: string;
819
950
  workerId: string | null;
820
- exitCode: number | null;
821
- errorMessage: string | null;
822
- startedAt: Date | null;
823
951
  finishedAt: Date | null;
824
952
  commitSha: string | null;
825
953
  eventType: string | null;
826
- triggerSource: "webhook" | "ui" | "api" | "cli";
827
- labels: Record<string, string>;
954
+ triggerSource: "webhook" | "ui" | "api" | "cli" | "schedule";
955
+ labels: {
956
+ requires: Record<string, string>;
957
+ prefers: Record<string, string>;
958
+ };
959
+ stages?: {
960
+ status: "running" | "success" | "failed" | "skipped";
961
+ name: string;
962
+ stageIndex: number;
963
+ isFinally: boolean;
964
+ durationMs?: number | undefined;
965
+ startedAt?: Date | undefined;
966
+ exitCode?: number | undefined;
967
+ errorMessage?: string | undefined;
968
+ }[] | undefined;
828
969
  pipelineName?: string | null | undefined;
829
970
  workerName?: string | null | undefined;
830
971
  artifacts?: {
831
- workspace?: {
832
- key: string;
833
- size: number;
834
- createdAt: Date;
835
- } | null | undefined;
836
972
  logs?: {
837
973
  key: string;
838
974
  size: number;
@@ -847,30 +983,38 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
847
983
  fileCount: number;
848
984
  }[] | undefined;
849
985
  } | null | undefined;
986
+ image?: string | null | undefined;
850
987
  }, {
851
988
  status: "pending" | "running" | "success" | "failed" | "cancelled";
852
989
  createdAt: Date;
990
+ startedAt: Date | null;
991
+ exitCode: number | null;
992
+ errorMessage: string | null;
853
993
  id: string;
854
994
  repositoryId: string;
995
+ repositoryName: string;
855
996
  repo: string;
856
997
  organizationId: string;
998
+ organizationSlug: string;
857
999
  workerId: string | null;
858
- exitCode: number | null;
859
- errorMessage: string | null;
860
- startedAt: Date | null;
861
1000
  finishedAt: Date | null;
862
1001
  commitSha: string | null;
863
1002
  eventType: string | null;
1003
+ stages?: {
1004
+ status: "running" | "success" | "failed" | "skipped";
1005
+ name: string;
1006
+ stageIndex: number;
1007
+ isFinally?: boolean | undefined;
1008
+ durationMs?: number | undefined;
1009
+ startedAt?: Date | undefined;
1010
+ exitCode?: number | undefined;
1011
+ errorMessage?: string | undefined;
1012
+ }[] | undefined;
864
1013
  branch?: string | undefined;
865
1014
  pipelineName?: string | null | undefined;
866
1015
  workerName?: string | null | undefined;
867
- triggerSource?: "webhook" | "ui" | "api" | "cli" | undefined;
1016
+ triggerSource?: "webhook" | "ui" | "api" | "cli" | "schedule" | undefined;
868
1017
  artifacts?: {
869
- workspace?: {
870
- key: string;
871
- size: number;
872
- createdAt: Date;
873
- } | null | undefined;
874
1018
  logs?: {
875
1019
  key: string;
876
1020
  size: number;
@@ -885,7 +1029,11 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
885
1029
  fileCount: number;
886
1030
  }[] | undefined;
887
1031
  } | null | undefined;
888
- labels?: Record<string, string> | undefined;
1032
+ labels?: {
1033
+ requires?: Record<string, string> | undefined;
1034
+ prefers?: Record<string, string> | undefined;
1035
+ } | undefined;
1036
+ image?: string | null | undefined;
889
1037
  }>, "many">;
890
1038
  total: z.ZodNumber;
891
1039
  page: z.ZodNumber;
@@ -896,28 +1044,38 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
896
1044
  items: {
897
1045
  status: "pending" | "running" | "success" | "failed" | "cancelled";
898
1046
  createdAt: Date;
1047
+ startedAt: Date | null;
1048
+ exitCode: number | null;
1049
+ errorMessage: string | null;
899
1050
  id: string;
900
1051
  repositoryId: string;
1052
+ repositoryName: string;
901
1053
  repo: string;
902
1054
  organizationId: string;
1055
+ organizationSlug: string;
903
1056
  branch: string;
904
1057
  workerId: string | null;
905
- exitCode: number | null;
906
- errorMessage: string | null;
907
- startedAt: Date | null;
908
1058
  finishedAt: Date | null;
909
1059
  commitSha: string | null;
910
1060
  eventType: string | null;
911
- triggerSource: "webhook" | "ui" | "api" | "cli";
912
- labels: Record<string, string>;
1061
+ triggerSource: "webhook" | "ui" | "api" | "cli" | "schedule";
1062
+ labels: {
1063
+ requires: Record<string, string>;
1064
+ prefers: Record<string, string>;
1065
+ };
1066
+ stages?: {
1067
+ status: "running" | "success" | "failed" | "skipped";
1068
+ name: string;
1069
+ stageIndex: number;
1070
+ isFinally: boolean;
1071
+ durationMs?: number | undefined;
1072
+ startedAt?: Date | undefined;
1073
+ exitCode?: number | undefined;
1074
+ errorMessage?: string | undefined;
1075
+ }[] | undefined;
913
1076
  pipelineName?: string | null | undefined;
914
1077
  workerName?: string | null | undefined;
915
1078
  artifacts?: {
916
- workspace?: {
917
- key: string;
918
- size: number;
919
- createdAt: Date;
920
- } | null | undefined;
921
1079
  logs?: {
922
1080
  key: string;
923
1081
  size: number;
@@ -932,6 +1090,7 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
932
1090
  fileCount: number;
933
1091
  }[] | undefined;
934
1092
  } | null | undefined;
1093
+ image?: string | null | undefined;
935
1094
  }[];
936
1095
  total: number;
937
1096
  }, {
@@ -940,27 +1099,34 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
940
1099
  items: {
941
1100
  status: "pending" | "running" | "success" | "failed" | "cancelled";
942
1101
  createdAt: Date;
1102
+ startedAt: Date | null;
1103
+ exitCode: number | null;
1104
+ errorMessage: string | null;
943
1105
  id: string;
944
1106
  repositoryId: string;
1107
+ repositoryName: string;
945
1108
  repo: string;
946
1109
  organizationId: string;
1110
+ organizationSlug: string;
947
1111
  workerId: string | null;
948
- exitCode: number | null;
949
- errorMessage: string | null;
950
- startedAt: Date | null;
951
1112
  finishedAt: Date | null;
952
1113
  commitSha: string | null;
953
1114
  eventType: string | null;
1115
+ stages?: {
1116
+ status: "running" | "success" | "failed" | "skipped";
1117
+ name: string;
1118
+ stageIndex: number;
1119
+ isFinally?: boolean | undefined;
1120
+ durationMs?: number | undefined;
1121
+ startedAt?: Date | undefined;
1122
+ exitCode?: number | undefined;
1123
+ errorMessage?: string | undefined;
1124
+ }[] | undefined;
954
1125
  branch?: string | undefined;
955
1126
  pipelineName?: string | null | undefined;
956
1127
  workerName?: string | null | undefined;
957
- triggerSource?: "webhook" | "ui" | "api" | "cli" | undefined;
1128
+ triggerSource?: "webhook" | "ui" | "api" | "cli" | "schedule" | undefined;
958
1129
  artifacts?: {
959
- workspace?: {
960
- key: string;
961
- size: number;
962
- createdAt: Date;
963
- } | null | undefined;
964
1130
  logs?: {
965
1131
  key: string;
966
1132
  size: number;
@@ -975,7 +1141,11 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
975
1141
  fileCount: number;
976
1142
  }[] | undefined;
977
1143
  } | null | undefined;
978
- labels?: Record<string, string> | undefined;
1144
+ labels?: {
1145
+ requires?: Record<string, string> | undefined;
1146
+ prefers?: Record<string, string> | undefined;
1147
+ } | undefined;
1148
+ image?: string | null | undefined;
979
1149
  }[];
980
1150
  total: number;
981
1151
  }>;
@@ -1088,7 +1258,436 @@ export declare const PaginatedOrganizationsSchema: z.ZodObject<{
1088
1258
  }[];
1089
1259
  total: number;
1090
1260
  }>;
1091
- export type PaginatedOrganizations = z.infer<typeof PaginatedOrganizationsSchema>;
1261
+ export type PaginatedOrganizations = z.infer<typeof PaginatedOrganizationsSchema>;
1262
+ export declare const OrganizationFullSchema: z.ZodObject<{
1263
+ id: z.ZodString;
1264
+ slug: z.ZodString;
1265
+ name: z.ZodString;
1266
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1267
+ createdAt: z.ZodDate;
1268
+ updatedAt: z.ZodDate;
1269
+ } & {
1270
+ repositories: z.ZodArray<z.ZodObject<{
1271
+ id: z.ZodString;
1272
+ organizationId: z.ZodString;
1273
+ provider: z.ZodEnum<["gitlab", "gitea"]>;
1274
+ providerRepoId: z.ZodString;
1275
+ name: z.ZodString;
1276
+ fullPath: z.ZodString;
1277
+ cloneUrl: z.ZodString;
1278
+ defaultBranch: z.ZodDefault<z.ZodString>;
1279
+ buildEnabled: z.ZodDefault<z.ZodBoolean>;
1280
+ providerWebhookId: z.ZodNullable<z.ZodString>;
1281
+ podTemplateId: z.ZodNullable<z.ZodString>;
1282
+ preserveGitignore: z.ZodDefault<z.ZodBoolean>;
1283
+ dockerRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
1284
+ packageRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
1285
+ createdAt: z.ZodDate;
1286
+ updatedAt: z.ZodDate;
1287
+ }, "strip", z.ZodTypeAny, {
1288
+ createdAt: Date;
1289
+ name: string;
1290
+ id: string;
1291
+ organizationId: string;
1292
+ updatedAt: Date;
1293
+ provider: "gitlab" | "gitea";
1294
+ defaultBranch: string;
1295
+ providerRepoId: string;
1296
+ fullPath: string;
1297
+ cloneUrl: string;
1298
+ buildEnabled: boolean;
1299
+ providerWebhookId: string | null;
1300
+ podTemplateId: string | null;
1301
+ preserveGitignore: boolean;
1302
+ dockerRegistryEnabled: boolean;
1303
+ packageRegistryEnabled: boolean;
1304
+ }, {
1305
+ createdAt: Date;
1306
+ name: string;
1307
+ id: string;
1308
+ organizationId: string;
1309
+ updatedAt: Date;
1310
+ provider: "gitlab" | "gitea";
1311
+ providerRepoId: string;
1312
+ fullPath: string;
1313
+ cloneUrl: string;
1314
+ providerWebhookId: string | null;
1315
+ podTemplateId: string | null;
1316
+ defaultBranch?: string | undefined;
1317
+ buildEnabled?: boolean | undefined;
1318
+ preserveGitignore?: boolean | undefined;
1319
+ dockerRegistryEnabled?: boolean | undefined;
1320
+ packageRegistryEnabled?: boolean | undefined;
1321
+ }>, "many">;
1322
+ integration: z.ZodNullable<z.ZodObject<{
1323
+ id: z.ZodString;
1324
+ organizationId: z.ZodString;
1325
+ provider: z.ZodEnum<["gitlab", "gitea"]>;
1326
+ providerUrl: z.ZodString;
1327
+ groupPath: z.ZodNullable<z.ZodString>;
1328
+ webhookSecret: z.ZodString;
1329
+ defaultBranch: z.ZodDefault<z.ZodString>;
1330
+ enabled: z.ZodDefault<z.ZodBoolean>;
1331
+ registryUrl: z.ZodNullable<z.ZodString>;
1332
+ createdAt: z.ZodDate;
1333
+ }, "strip", z.ZodTypeAny, {
1334
+ createdAt: Date;
1335
+ id: string;
1336
+ organizationId: string;
1337
+ provider: "gitlab" | "gitea";
1338
+ providerUrl: string;
1339
+ groupPath: string | null;
1340
+ webhookSecret: string;
1341
+ defaultBranch: string;
1342
+ enabled: boolean;
1343
+ registryUrl: string | null;
1344
+ }, {
1345
+ createdAt: Date;
1346
+ id: string;
1347
+ organizationId: string;
1348
+ provider: "gitlab" | "gitea";
1349
+ providerUrl: string;
1350
+ groupPath: string | null;
1351
+ webhookSecret: string;
1352
+ registryUrl: string | null;
1353
+ defaultBranch?: string | undefined;
1354
+ enabled?: boolean | undefined;
1355
+ }>>;
1356
+ }, "strip", z.ZodTypeAny, {
1357
+ createdAt: Date;
1358
+ name: string;
1359
+ id: string;
1360
+ slug: string;
1361
+ updatedAt: Date;
1362
+ repositories: {
1363
+ createdAt: Date;
1364
+ name: string;
1365
+ id: string;
1366
+ organizationId: string;
1367
+ updatedAt: Date;
1368
+ provider: "gitlab" | "gitea";
1369
+ defaultBranch: string;
1370
+ providerRepoId: string;
1371
+ fullPath: string;
1372
+ cloneUrl: string;
1373
+ buildEnabled: boolean;
1374
+ providerWebhookId: string | null;
1375
+ podTemplateId: string | null;
1376
+ preserveGitignore: boolean;
1377
+ dockerRegistryEnabled: boolean;
1378
+ packageRegistryEnabled: boolean;
1379
+ }[];
1380
+ integration: {
1381
+ createdAt: Date;
1382
+ id: string;
1383
+ organizationId: string;
1384
+ provider: "gitlab" | "gitea";
1385
+ providerUrl: string;
1386
+ groupPath: string | null;
1387
+ webhookSecret: string;
1388
+ defaultBranch: string;
1389
+ enabled: boolean;
1390
+ registryUrl: string | null;
1391
+ } | null;
1392
+ description?: string | null | undefined;
1393
+ }, {
1394
+ createdAt: Date;
1395
+ name: string;
1396
+ id: string;
1397
+ slug: string;
1398
+ updatedAt: Date;
1399
+ repositories: {
1400
+ createdAt: Date;
1401
+ name: string;
1402
+ id: string;
1403
+ organizationId: string;
1404
+ updatedAt: Date;
1405
+ provider: "gitlab" | "gitea";
1406
+ providerRepoId: string;
1407
+ fullPath: string;
1408
+ cloneUrl: string;
1409
+ providerWebhookId: string | null;
1410
+ podTemplateId: string | null;
1411
+ defaultBranch?: string | undefined;
1412
+ buildEnabled?: boolean | undefined;
1413
+ preserveGitignore?: boolean | undefined;
1414
+ dockerRegistryEnabled?: boolean | undefined;
1415
+ packageRegistryEnabled?: boolean | undefined;
1416
+ }[];
1417
+ integration: {
1418
+ createdAt: Date;
1419
+ id: string;
1420
+ organizationId: string;
1421
+ provider: "gitlab" | "gitea";
1422
+ providerUrl: string;
1423
+ groupPath: string | null;
1424
+ webhookSecret: string;
1425
+ registryUrl: string | null;
1426
+ defaultBranch?: string | undefined;
1427
+ enabled?: boolean | undefined;
1428
+ } | null;
1429
+ description?: string | null | undefined;
1430
+ }>;
1431
+ export type OrganizationFull = z.infer<typeof OrganizationFullSchema>;
1432
+ export declare const PaginatedOrganizationsFullSchema: z.ZodObject<{
1433
+ items: z.ZodArray<z.ZodObject<{
1434
+ id: z.ZodString;
1435
+ slug: z.ZodString;
1436
+ name: z.ZodString;
1437
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1438
+ createdAt: z.ZodDate;
1439
+ updatedAt: z.ZodDate;
1440
+ } & {
1441
+ repositories: z.ZodArray<z.ZodObject<{
1442
+ id: z.ZodString;
1443
+ organizationId: z.ZodString;
1444
+ provider: z.ZodEnum<["gitlab", "gitea"]>;
1445
+ providerRepoId: z.ZodString;
1446
+ name: z.ZodString;
1447
+ fullPath: z.ZodString;
1448
+ cloneUrl: z.ZodString;
1449
+ defaultBranch: z.ZodDefault<z.ZodString>;
1450
+ buildEnabled: z.ZodDefault<z.ZodBoolean>;
1451
+ providerWebhookId: z.ZodNullable<z.ZodString>;
1452
+ podTemplateId: z.ZodNullable<z.ZodString>;
1453
+ preserveGitignore: z.ZodDefault<z.ZodBoolean>;
1454
+ dockerRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
1455
+ packageRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
1456
+ createdAt: z.ZodDate;
1457
+ updatedAt: z.ZodDate;
1458
+ }, "strip", z.ZodTypeAny, {
1459
+ createdAt: Date;
1460
+ name: string;
1461
+ id: string;
1462
+ organizationId: string;
1463
+ updatedAt: Date;
1464
+ provider: "gitlab" | "gitea";
1465
+ defaultBranch: string;
1466
+ providerRepoId: string;
1467
+ fullPath: string;
1468
+ cloneUrl: string;
1469
+ buildEnabled: boolean;
1470
+ providerWebhookId: string | null;
1471
+ podTemplateId: string | null;
1472
+ preserveGitignore: boolean;
1473
+ dockerRegistryEnabled: boolean;
1474
+ packageRegistryEnabled: boolean;
1475
+ }, {
1476
+ createdAt: Date;
1477
+ name: string;
1478
+ id: string;
1479
+ organizationId: string;
1480
+ updatedAt: Date;
1481
+ provider: "gitlab" | "gitea";
1482
+ providerRepoId: string;
1483
+ fullPath: string;
1484
+ cloneUrl: string;
1485
+ providerWebhookId: string | null;
1486
+ podTemplateId: string | null;
1487
+ defaultBranch?: string | undefined;
1488
+ buildEnabled?: boolean | undefined;
1489
+ preserveGitignore?: boolean | undefined;
1490
+ dockerRegistryEnabled?: boolean | undefined;
1491
+ packageRegistryEnabled?: boolean | undefined;
1492
+ }>, "many">;
1493
+ integration: z.ZodNullable<z.ZodObject<{
1494
+ id: z.ZodString;
1495
+ organizationId: z.ZodString;
1496
+ provider: z.ZodEnum<["gitlab", "gitea"]>;
1497
+ providerUrl: z.ZodString;
1498
+ groupPath: z.ZodNullable<z.ZodString>;
1499
+ webhookSecret: z.ZodString;
1500
+ defaultBranch: z.ZodDefault<z.ZodString>;
1501
+ enabled: z.ZodDefault<z.ZodBoolean>;
1502
+ registryUrl: z.ZodNullable<z.ZodString>;
1503
+ createdAt: z.ZodDate;
1504
+ }, "strip", z.ZodTypeAny, {
1505
+ createdAt: Date;
1506
+ id: string;
1507
+ organizationId: string;
1508
+ provider: "gitlab" | "gitea";
1509
+ providerUrl: string;
1510
+ groupPath: string | null;
1511
+ webhookSecret: string;
1512
+ defaultBranch: string;
1513
+ enabled: boolean;
1514
+ registryUrl: string | null;
1515
+ }, {
1516
+ createdAt: Date;
1517
+ id: string;
1518
+ organizationId: string;
1519
+ provider: "gitlab" | "gitea";
1520
+ providerUrl: string;
1521
+ groupPath: string | null;
1522
+ webhookSecret: string;
1523
+ registryUrl: string | null;
1524
+ defaultBranch?: string | undefined;
1525
+ enabled?: boolean | undefined;
1526
+ }>>;
1527
+ }, "strip", z.ZodTypeAny, {
1528
+ createdAt: Date;
1529
+ name: string;
1530
+ id: string;
1531
+ slug: string;
1532
+ updatedAt: Date;
1533
+ repositories: {
1534
+ createdAt: Date;
1535
+ name: string;
1536
+ id: string;
1537
+ organizationId: string;
1538
+ updatedAt: Date;
1539
+ provider: "gitlab" | "gitea";
1540
+ defaultBranch: string;
1541
+ providerRepoId: string;
1542
+ fullPath: string;
1543
+ cloneUrl: string;
1544
+ buildEnabled: boolean;
1545
+ providerWebhookId: string | null;
1546
+ podTemplateId: string | null;
1547
+ preserveGitignore: boolean;
1548
+ dockerRegistryEnabled: boolean;
1549
+ packageRegistryEnabled: boolean;
1550
+ }[];
1551
+ integration: {
1552
+ createdAt: Date;
1553
+ id: string;
1554
+ organizationId: string;
1555
+ provider: "gitlab" | "gitea";
1556
+ providerUrl: string;
1557
+ groupPath: string | null;
1558
+ webhookSecret: string;
1559
+ defaultBranch: string;
1560
+ enabled: boolean;
1561
+ registryUrl: string | null;
1562
+ } | null;
1563
+ description?: string | null | undefined;
1564
+ }, {
1565
+ createdAt: Date;
1566
+ name: string;
1567
+ id: string;
1568
+ slug: string;
1569
+ updatedAt: Date;
1570
+ repositories: {
1571
+ createdAt: Date;
1572
+ name: string;
1573
+ id: string;
1574
+ organizationId: string;
1575
+ updatedAt: Date;
1576
+ provider: "gitlab" | "gitea";
1577
+ providerRepoId: string;
1578
+ fullPath: string;
1579
+ cloneUrl: string;
1580
+ providerWebhookId: string | null;
1581
+ podTemplateId: string | null;
1582
+ defaultBranch?: string | undefined;
1583
+ buildEnabled?: boolean | undefined;
1584
+ preserveGitignore?: boolean | undefined;
1585
+ dockerRegistryEnabled?: boolean | undefined;
1586
+ packageRegistryEnabled?: boolean | undefined;
1587
+ }[];
1588
+ integration: {
1589
+ createdAt: Date;
1590
+ id: string;
1591
+ organizationId: string;
1592
+ provider: "gitlab" | "gitea";
1593
+ providerUrl: string;
1594
+ groupPath: string | null;
1595
+ webhookSecret: string;
1596
+ registryUrl: string | null;
1597
+ defaultBranch?: string | undefined;
1598
+ enabled?: boolean | undefined;
1599
+ } | null;
1600
+ description?: string | null | undefined;
1601
+ }>, "many">;
1602
+ total: z.ZodNumber;
1603
+ page: z.ZodNumber;
1604
+ pageSize: z.ZodNumber;
1605
+ }, "strip", z.ZodTypeAny, {
1606
+ page: number;
1607
+ pageSize: number;
1608
+ items: {
1609
+ createdAt: Date;
1610
+ name: string;
1611
+ id: string;
1612
+ slug: string;
1613
+ updatedAt: Date;
1614
+ repositories: {
1615
+ createdAt: Date;
1616
+ name: string;
1617
+ id: string;
1618
+ organizationId: string;
1619
+ updatedAt: Date;
1620
+ provider: "gitlab" | "gitea";
1621
+ defaultBranch: string;
1622
+ providerRepoId: string;
1623
+ fullPath: string;
1624
+ cloneUrl: string;
1625
+ buildEnabled: boolean;
1626
+ providerWebhookId: string | null;
1627
+ podTemplateId: string | null;
1628
+ preserveGitignore: boolean;
1629
+ dockerRegistryEnabled: boolean;
1630
+ packageRegistryEnabled: boolean;
1631
+ }[];
1632
+ integration: {
1633
+ createdAt: Date;
1634
+ id: string;
1635
+ organizationId: string;
1636
+ provider: "gitlab" | "gitea";
1637
+ providerUrl: string;
1638
+ groupPath: string | null;
1639
+ webhookSecret: string;
1640
+ defaultBranch: string;
1641
+ enabled: boolean;
1642
+ registryUrl: string | null;
1643
+ } | null;
1644
+ description?: string | null | undefined;
1645
+ }[];
1646
+ total: number;
1647
+ }, {
1648
+ page: number;
1649
+ pageSize: number;
1650
+ items: {
1651
+ createdAt: Date;
1652
+ name: string;
1653
+ id: string;
1654
+ slug: string;
1655
+ updatedAt: Date;
1656
+ repositories: {
1657
+ createdAt: Date;
1658
+ name: string;
1659
+ id: string;
1660
+ organizationId: string;
1661
+ updatedAt: Date;
1662
+ provider: "gitlab" | "gitea";
1663
+ providerRepoId: string;
1664
+ fullPath: string;
1665
+ cloneUrl: string;
1666
+ providerWebhookId: string | null;
1667
+ podTemplateId: string | null;
1668
+ defaultBranch?: string | undefined;
1669
+ buildEnabled?: boolean | undefined;
1670
+ preserveGitignore?: boolean | undefined;
1671
+ dockerRegistryEnabled?: boolean | undefined;
1672
+ packageRegistryEnabled?: boolean | undefined;
1673
+ }[];
1674
+ integration: {
1675
+ createdAt: Date;
1676
+ id: string;
1677
+ organizationId: string;
1678
+ provider: "gitlab" | "gitea";
1679
+ providerUrl: string;
1680
+ groupPath: string | null;
1681
+ webhookSecret: string;
1682
+ registryUrl: string | null;
1683
+ defaultBranch?: string | undefined;
1684
+ enabled?: boolean | undefined;
1685
+ } | null;
1686
+ description?: string | null | undefined;
1687
+ }[];
1688
+ total: number;
1689
+ }>;
1690
+ export type PaginatedOrganizationsFull = z.infer<typeof PaginatedOrganizationsFullSchema>;
1092
1691
  export declare const PaginatedRepositoriesSchema: z.ZodObject<{
1093
1692
  items: z.ZodArray<z.ZodObject<{
1094
1693
  id: z.ZodString;
@@ -1103,6 +1702,8 @@ export declare const PaginatedRepositoriesSchema: z.ZodObject<{
1103
1702
  providerWebhookId: z.ZodNullable<z.ZodString>;
1104
1703
  podTemplateId: z.ZodNullable<z.ZodString>;
1105
1704
  preserveGitignore: z.ZodDefault<z.ZodBoolean>;
1705
+ dockerRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
1706
+ packageRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
1106
1707
  createdAt: z.ZodDate;
1107
1708
  updatedAt: z.ZodDate;
1108
1709
  }, "strip", z.ZodTypeAny, {
@@ -1120,6 +1721,8 @@ export declare const PaginatedRepositoriesSchema: z.ZodObject<{
1120
1721
  providerWebhookId: string | null;
1121
1722
  podTemplateId: string | null;
1122
1723
  preserveGitignore: boolean;
1724
+ dockerRegistryEnabled: boolean;
1725
+ packageRegistryEnabled: boolean;
1123
1726
  }, {
1124
1727
  createdAt: Date;
1125
1728
  name: string;
@@ -1135,6 +1738,8 @@ export declare const PaginatedRepositoriesSchema: z.ZodObject<{
1135
1738
  defaultBranch?: string | undefined;
1136
1739
  buildEnabled?: boolean | undefined;
1137
1740
  preserveGitignore?: boolean | undefined;
1741
+ dockerRegistryEnabled?: boolean | undefined;
1742
+ packageRegistryEnabled?: boolean | undefined;
1138
1743
  }>, "many">;
1139
1744
  total: z.ZodNumber;
1140
1745
  page: z.ZodNumber;
@@ -1157,6 +1762,8 @@ export declare const PaginatedRepositoriesSchema: z.ZodObject<{
1157
1762
  providerWebhookId: string | null;
1158
1763
  podTemplateId: string | null;
1159
1764
  preserveGitignore: boolean;
1765
+ dockerRegistryEnabled: boolean;
1766
+ packageRegistryEnabled: boolean;
1160
1767
  }[];
1161
1768
  total: number;
1162
1769
  }, {
@@ -1177,6 +1784,8 @@ export declare const PaginatedRepositoriesSchema: z.ZodObject<{
1177
1784
  defaultBranch?: string | undefined;
1178
1785
  buildEnabled?: boolean | undefined;
1179
1786
  preserveGitignore?: boolean | undefined;
1787
+ dockerRegistryEnabled?: boolean | undefined;
1788
+ packageRegistryEnabled?: boolean | undefined;
1180
1789
  }[];
1181
1790
  total: number;
1182
1791
  }>;
@@ -1202,38 +1811,94 @@ export type WorkerConnectResponse = z.infer<typeof WorkerConnectResponseSchema>;
1202
1811
  export declare const WorkerHeartbeatSchema: z.ZodObject<{
1203
1812
  activeBuilds: z.ZodDefault<z.ZodNumber>;
1204
1813
  runningBuildIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1814
+ version: z.ZodOptional<z.ZodString>;
1205
1815
  }, "strip", z.ZodTypeAny, {
1206
1816
  activeBuilds: number;
1207
1817
  runningBuildIds: string[];
1818
+ version?: string | undefined;
1208
1819
  }, {
1209
1820
  activeBuilds?: number | undefined;
1821
+ version?: string | undefined;
1210
1822
  runningBuildIds?: string[] | undefined;
1211
1823
  }>;
1212
1824
  export type WorkerHeartbeat = z.infer<typeof WorkerHeartbeatSchema>;
1825
+ export declare const RegistryCredentialsSchema: z.ZodObject<{
1826
+ registryUrl: z.ZodString;
1827
+ registryImage: z.ZodString;
1828
+ username: z.ZodString;
1829
+ password: z.ZodString;
1830
+ packageRegistryUrl: z.ZodOptional<z.ZodString>;
1831
+ }, "strip", z.ZodTypeAny, {
1832
+ registryUrl: string;
1833
+ registryImage: string;
1834
+ username: string;
1835
+ password: string;
1836
+ packageRegistryUrl?: string | undefined;
1837
+ }, {
1838
+ registryUrl: string;
1839
+ registryImage: string;
1840
+ username: string;
1841
+ password: string;
1842
+ packageRegistryUrl?: string | undefined;
1843
+ }>;
1844
+ export type RegistryCredentials = z.infer<typeof RegistryCredentialsSchema>;
1213
1845
  export declare const BuildJobSchema: z.ZodObject<{
1214
1846
  buildId: z.ZodString;
1215
1847
  repo: z.ZodString;
1216
1848
  branch: z.ZodString;
1217
1849
  pipelineName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1218
1850
  commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1219
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1851
+ prefers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1220
1852
  preserveGitignore: z.ZodOptional<z.ZodBoolean>;
1853
+ registryCredentials: z.ZodOptional<z.ZodObject<{
1854
+ registryUrl: z.ZodString;
1855
+ registryImage: z.ZodString;
1856
+ username: z.ZodString;
1857
+ password: z.ZodString;
1858
+ packageRegistryUrl: z.ZodOptional<z.ZodString>;
1859
+ }, "strip", z.ZodTypeAny, {
1860
+ registryUrl: string;
1861
+ registryImage: string;
1862
+ username: string;
1863
+ password: string;
1864
+ packageRegistryUrl?: string | undefined;
1865
+ }, {
1866
+ registryUrl: string;
1867
+ registryImage: string;
1868
+ username: string;
1869
+ password: string;
1870
+ packageRegistryUrl?: string | undefined;
1871
+ }>>;
1221
1872
  }, "strip", z.ZodTypeAny, {
1873
+ buildId: string;
1222
1874
  repo: string;
1223
1875
  branch: string;
1224
- buildId: string;
1225
1876
  pipelineName?: string | null | undefined;
1226
1877
  commitSha?: string | null | undefined;
1227
- labels?: Record<string, string> | undefined;
1878
+ prefers?: Record<string, string> | undefined;
1228
1879
  preserveGitignore?: boolean | undefined;
1880
+ registryCredentials?: {
1881
+ registryUrl: string;
1882
+ registryImage: string;
1883
+ username: string;
1884
+ password: string;
1885
+ packageRegistryUrl?: string | undefined;
1886
+ } | undefined;
1229
1887
  }, {
1888
+ buildId: string;
1230
1889
  repo: string;
1231
1890
  branch: string;
1232
- buildId: string;
1233
1891
  pipelineName?: string | null | undefined;
1234
1892
  commitSha?: string | null | undefined;
1235
- labels?: Record<string, string> | undefined;
1893
+ prefers?: Record<string, string> | undefined;
1236
1894
  preserveGitignore?: boolean | undefined;
1895
+ registryCredentials?: {
1896
+ registryUrl: string;
1897
+ registryImage: string;
1898
+ username: string;
1899
+ password: string;
1900
+ packageRegistryUrl?: string | undefined;
1901
+ } | undefined;
1237
1902
  }>;
1238
1903
  export type BuildJob = z.infer<typeof BuildJobSchema>;
1239
1904
  export declare const HeartbeatResponseSchema: z.ZodObject<{
@@ -1243,46 +1908,93 @@ export declare const HeartbeatResponseSchema: z.ZodObject<{
1243
1908
  branch: z.ZodString;
1244
1909
  pipelineName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1245
1910
  commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1246
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1911
+ prefers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1247
1912
  preserveGitignore: z.ZodOptional<z.ZodBoolean>;
1913
+ registryCredentials: z.ZodOptional<z.ZodObject<{
1914
+ registryUrl: z.ZodString;
1915
+ registryImage: z.ZodString;
1916
+ username: z.ZodString;
1917
+ password: z.ZodString;
1918
+ packageRegistryUrl: z.ZodOptional<z.ZodString>;
1919
+ }, "strip", z.ZodTypeAny, {
1920
+ registryUrl: string;
1921
+ registryImage: string;
1922
+ username: string;
1923
+ password: string;
1924
+ packageRegistryUrl?: string | undefined;
1925
+ }, {
1926
+ registryUrl: string;
1927
+ registryImage: string;
1928
+ username: string;
1929
+ password: string;
1930
+ packageRegistryUrl?: string | undefined;
1931
+ }>>;
1248
1932
  }, "strip", z.ZodTypeAny, {
1933
+ buildId: string;
1249
1934
  repo: string;
1250
1935
  branch: string;
1251
- buildId: string;
1252
1936
  pipelineName?: string | null | undefined;
1253
1937
  commitSha?: string | null | undefined;
1254
- labels?: Record<string, string> | undefined;
1938
+ prefers?: Record<string, string> | undefined;
1255
1939
  preserveGitignore?: boolean | undefined;
1940
+ registryCredentials?: {
1941
+ registryUrl: string;
1942
+ registryImage: string;
1943
+ username: string;
1944
+ password: string;
1945
+ packageRegistryUrl?: string | undefined;
1946
+ } | undefined;
1256
1947
  }, {
1948
+ buildId: string;
1257
1949
  repo: string;
1258
1950
  branch: string;
1259
- buildId: string;
1260
1951
  pipelineName?: string | null | undefined;
1261
1952
  commitSha?: string | null | undefined;
1262
- labels?: Record<string, string> | undefined;
1953
+ prefers?: Record<string, string> | undefined;
1263
1954
  preserveGitignore?: boolean | undefined;
1955
+ registryCredentials?: {
1956
+ registryUrl: string;
1957
+ registryImage: string;
1958
+ username: string;
1959
+ password: string;
1960
+ packageRegistryUrl?: string | undefined;
1961
+ } | undefined;
1264
1962
  }>>;
1265
1963
  cancelledBuildIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1266
1964
  }, "strip", z.ZodTypeAny, {
1267
1965
  job: {
1966
+ buildId: string;
1268
1967
  repo: string;
1269
1968
  branch: string;
1270
- buildId: string;
1271
1969
  pipelineName?: string | null | undefined;
1272
1970
  commitSha?: string | null | undefined;
1273
- labels?: Record<string, string> | undefined;
1971
+ prefers?: Record<string, string> | undefined;
1274
1972
  preserveGitignore?: boolean | undefined;
1973
+ registryCredentials?: {
1974
+ registryUrl: string;
1975
+ registryImage: string;
1976
+ username: string;
1977
+ password: string;
1978
+ packageRegistryUrl?: string | undefined;
1979
+ } | undefined;
1275
1980
  } | null;
1276
1981
  cancelledBuildIds: string[];
1277
1982
  }, {
1278
1983
  job: {
1984
+ buildId: string;
1279
1985
  repo: string;
1280
1986
  branch: string;
1281
- buildId: string;
1282
1987
  pipelineName?: string | null | undefined;
1283
1988
  commitSha?: string | null | undefined;
1284
- labels?: Record<string, string> | undefined;
1989
+ prefers?: Record<string, string> | undefined;
1285
1990
  preserveGitignore?: boolean | undefined;
1991
+ registryCredentials?: {
1992
+ registryUrl: string;
1993
+ registryImage: string;
1994
+ username: string;
1995
+ password: string;
1996
+ packageRegistryUrl?: string | undefined;
1997
+ } | undefined;
1286
1998
  } | null;
1287
1999
  cancelledBuildIds?: string[] | undefined;
1288
2000
  }>;
@@ -1294,20 +2006,71 @@ export declare const BuildStatusUpdateSchema: z.ZodObject<{
1294
2006
  errorMessage: z.ZodOptional<z.ZodString>;
1295
2007
  startedAt: z.ZodOptional<z.ZodDate>;
1296
2008
  finishedAt: z.ZodOptional<z.ZodDate>;
2009
+ stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
2010
+ name: z.ZodString;
2011
+ stageIndex: z.ZodNumber;
2012
+ isFinally: z.ZodDefault<z.ZodBoolean>;
2013
+ status: z.ZodEnum<["success", "failed", "skipped", "running"]>;
2014
+ durationMs: z.ZodOptional<z.ZodNumber>;
2015
+ startedAt: z.ZodOptional<z.ZodDate>;
2016
+ exitCode: z.ZodOptional<z.ZodNumber>;
2017
+ errorMessage: z.ZodOptional<z.ZodString>;
2018
+ }, "strip", z.ZodTypeAny, {
2019
+ status: "running" | "success" | "failed" | "skipped";
2020
+ name: string;
2021
+ stageIndex: number;
2022
+ isFinally: boolean;
2023
+ durationMs?: number | undefined;
2024
+ startedAt?: Date | undefined;
2025
+ exitCode?: number | undefined;
2026
+ errorMessage?: string | undefined;
2027
+ }, {
2028
+ status: "running" | "success" | "failed" | "skipped";
2029
+ name: string;
2030
+ stageIndex: number;
2031
+ isFinally?: boolean | undefined;
2032
+ durationMs?: number | undefined;
2033
+ startedAt?: Date | undefined;
2034
+ exitCode?: number | undefined;
2035
+ errorMessage?: string | undefined;
2036
+ }>, "many">>;
2037
+ image: z.ZodOptional<z.ZodString>;
1297
2038
  }, "strip", z.ZodTypeAny, {
1298
2039
  status: "pending" | "running" | "success" | "failed" | "cancelled";
1299
2040
  buildId: string;
2041
+ stages?: {
2042
+ status: "running" | "success" | "failed" | "skipped";
2043
+ name: string;
2044
+ stageIndex: number;
2045
+ isFinally: boolean;
2046
+ durationMs?: number | undefined;
2047
+ startedAt?: Date | undefined;
2048
+ exitCode?: number | undefined;
2049
+ errorMessage?: string | undefined;
2050
+ }[] | undefined;
2051
+ startedAt?: Date | undefined;
1300
2052
  exitCode?: number | undefined;
1301
2053
  errorMessage?: string | undefined;
1302
- startedAt?: Date | undefined;
1303
2054
  finishedAt?: Date | undefined;
2055
+ image?: string | undefined;
1304
2056
  }, {
1305
2057
  status: "pending" | "running" | "success" | "failed" | "cancelled";
1306
2058
  buildId: string;
2059
+ stages?: {
2060
+ status: "running" | "success" | "failed" | "skipped";
2061
+ name: string;
2062
+ stageIndex: number;
2063
+ isFinally?: boolean | undefined;
2064
+ durationMs?: number | undefined;
2065
+ startedAt?: Date | undefined;
2066
+ exitCode?: number | undefined;
2067
+ errorMessage?: string | undefined;
2068
+ }[] | undefined;
2069
+ startedAt?: Date | undefined;
1307
2070
  exitCode?: number | undefined;
1308
2071
  errorMessage?: string | undefined;
1309
- startedAt?: Date | undefined;
1310
2072
  finishedAt?: Date | undefined;
2073
+ image?: string | undefined;
1311
2074
  }>;
1312
2075
  export type BuildStatusUpdate = z.infer<typeof BuildStatusUpdateSchema>;
1313
2076
  export declare const LogLineSchema: z.ZodObject<{
@@ -1625,18 +2388,18 @@ export declare const PaginatedUserTokensSchema: z.ZodObject<{
1625
2388
  total: number;
1626
2389
  }>;
1627
2390
  export type PaginatedUserTokens = z.infer<typeof PaginatedUserTokensSchema>;
1628
- export declare const ArtifactTypeSchema: z.ZodEnum<["workspace", "logs", "stage"]>;
2391
+ export declare const ArtifactTypeSchema: z.ZodEnum<["logs", "stage"]>;
1629
2392
  export type ArtifactType = z.infer<typeof ArtifactTypeSchema>;
1630
2393
  export declare const ArtifactUploadUrlRequestSchema: z.ZodObject<{
1631
- artifactType: z.ZodEnum<["workspace", "logs", "stage"]>;
2394
+ artifactType: z.ZodEnum<["logs", "stage"]>;
1632
2395
  stageName: z.ZodOptional<z.ZodString>;
1633
2396
  artifactName: z.ZodOptional<z.ZodString>;
1634
2397
  }, "strip", z.ZodTypeAny, {
1635
- artifactType: "workspace" | "logs" | "stage";
2398
+ artifactType: "logs" | "stage";
1636
2399
  stageName?: string | undefined;
1637
2400
  artifactName?: string | undefined;
1638
2401
  }, {
1639
- artifactType: "workspace" | "logs" | "stage";
2402
+ artifactType: "logs" | "stage";
1640
2403
  stageName?: string | undefined;
1641
2404
  artifactName?: string | undefined;
1642
2405
  }>;
@@ -1706,19 +2469,6 @@ export declare const StageArtifactInfoSchema: z.ZodObject<{
1706
2469
  }>;
1707
2470
  export type StageArtifactInfo = z.infer<typeof StageArtifactInfoSchema>;
1708
2471
  export declare const ArtifactConfirmRequestSchema: z.ZodObject<{
1709
- workspace: z.ZodOptional<z.ZodObject<{
1710
- key: z.ZodString;
1711
- size: z.ZodNumber;
1712
- createdAt: z.ZodDate;
1713
- }, "strip", z.ZodTypeAny, {
1714
- key: string;
1715
- size: number;
1716
- createdAt: Date;
1717
- }, {
1718
- key: string;
1719
- size: number;
1720
- createdAt: Date;
1721
- }>>;
1722
2472
  logs: z.ZodOptional<z.ZodObject<{
1723
2473
  key: z.ZodString;
1724
2474
  size: z.ZodNumber;
@@ -1755,11 +2505,6 @@ export declare const ArtifactConfirmRequestSchema: z.ZodObject<{
1755
2505
  fileCount: number;
1756
2506
  }>, "many">>;
1757
2507
  }, "strip", z.ZodTypeAny, {
1758
- workspace?: {
1759
- key: string;
1760
- size: number;
1761
- createdAt: Date;
1762
- } | undefined;
1763
2508
  logs?: {
1764
2509
  key: string;
1765
2510
  size: number;
@@ -1774,11 +2519,6 @@ export declare const ArtifactConfirmRequestSchema: z.ZodObject<{
1774
2519
  fileCount: number;
1775
2520
  }[] | undefined;
1776
2521
  }, {
1777
- workspace?: {
1778
- key: string;
1779
- size: number;
1780
- createdAt: Date;
1781
- } | undefined;
1782
2522
  logs?: {
1783
2523
  key: string;
1784
2524
  size: number;
@@ -1795,19 +2535,6 @@ export declare const ArtifactConfirmRequestSchema: z.ZodObject<{
1795
2535
  }>;
1796
2536
  export type ArtifactConfirmRequest = z.infer<typeof ArtifactConfirmRequestSchema>;
1797
2537
  export declare const BuildArtifactsSchema: z.ZodObject<{
1798
- workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1799
- key: z.ZodString;
1800
- size: z.ZodNumber;
1801
- createdAt: z.ZodDate;
1802
- }, "strip", z.ZodTypeAny, {
1803
- key: string;
1804
- size: number;
1805
- createdAt: Date;
1806
- }, {
1807
- key: string;
1808
- size: number;
1809
- createdAt: Date;
1810
- }>>>;
1811
2538
  logs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1812
2539
  key: z.ZodString;
1813
2540
  size: z.ZodNumber;
@@ -1844,11 +2571,6 @@ export declare const BuildArtifactsSchema: z.ZodObject<{
1844
2571
  fileCount: number;
1845
2572
  }>, "many">>;
1846
2573
  }, "strip", z.ZodTypeAny, {
1847
- workspace?: {
1848
- key: string;
1849
- size: number;
1850
- createdAt: Date;
1851
- } | null | undefined;
1852
2574
  logs?: {
1853
2575
  key: string;
1854
2576
  size: number;
@@ -1863,11 +2585,6 @@ export declare const BuildArtifactsSchema: z.ZodObject<{
1863
2585
  fileCount: number;
1864
2586
  }[] | undefined;
1865
2587
  }, {
1866
- workspace?: {
1867
- key: string;
1868
- size: number;
1869
- createdAt: Date;
1870
- } | null | undefined;
1871
2588
  logs?: {
1872
2589
  key: string;
1873
2590
  size: number;
@@ -2173,8 +2890,8 @@ export declare const DindConfigSchema: z.ZodObject<{
2173
2890
  } | undefined;
2174
2891
  } | undefined;
2175
2892
  }, {
2176
- enabled?: boolean | undefined;
2177
2893
  image?: string | undefined;
2894
+ enabled?: boolean | undefined;
2178
2895
  dns?: string[] | undefined;
2179
2896
  dnsSearch?: string[] | undefined;
2180
2897
  resources?: {
@@ -2521,8 +3238,8 @@ export declare const PodTemplateSpecSchema: z.ZodObject<{
2521
3238
  } | undefined;
2522
3239
  } | undefined;
2523
3240
  }, {
2524
- enabled?: boolean | undefined;
2525
3241
  image?: string | undefined;
3242
+ enabled?: boolean | undefined;
2526
3243
  dns?: string[] | undefined;
2527
3244
  dnsSearch?: string[] | undefined;
2528
3245
  resources?: {
@@ -2707,8 +3424,8 @@ export declare const PodTemplateSpecSchema: z.ZodObject<{
2707
3424
  }[] | undefined;
2708
3425
  annotations?: Record<string, string> | undefined;
2709
3426
  dind?: {
2710
- enabled?: boolean | undefined;
2711
3427
  image?: string | undefined;
3428
+ enabled?: boolean | undefined;
2712
3429
  dns?: string[] | undefined;
2713
3430
  dnsSearch?: string[] | undefined;
2714
3431
  resources?: {
@@ -3061,8 +3778,8 @@ export declare const PodTemplateSchema: z.ZodObject<{
3061
3778
  } | undefined;
3062
3779
  } | undefined;
3063
3780
  }, {
3064
- enabled?: boolean | undefined;
3065
3781
  image?: string | undefined;
3782
+ enabled?: boolean | undefined;
3066
3783
  dns?: string[] | undefined;
3067
3784
  dnsSearch?: string[] | undefined;
3068
3785
  resources?: {
@@ -3247,8 +3964,8 @@ export declare const PodTemplateSchema: z.ZodObject<{
3247
3964
  }[] | undefined;
3248
3965
  annotations?: Record<string, string> | undefined;
3249
3966
  dind?: {
3250
- enabled?: boolean | undefined;
3251
3967
  image?: string | undefined;
3968
+ enabled?: boolean | undefined;
3252
3969
  dns?: string[] | undefined;
3253
3970
  dnsSearch?: string[] | undefined;
3254
3971
  resources?: {
@@ -3457,8 +4174,8 @@ export declare const PodTemplateSchema: z.ZodObject<{
3457
4174
  }[] | undefined;
3458
4175
  annotations?: Record<string, string> | undefined;
3459
4176
  dind?: {
3460
- enabled?: boolean | undefined;
3461
4177
  image?: string | undefined;
4178
+ enabled?: boolean | undefined;
3462
4179
  dns?: string[] | undefined;
3463
4180
  dnsSearch?: string[] | undefined;
3464
4181
  resources?: {
@@ -3814,8 +4531,8 @@ export declare const PodTemplateCreateSchema: z.ZodObject<{
3814
4531
  } | undefined;
3815
4532
  } | undefined;
3816
4533
  }, {
3817
- enabled?: boolean | undefined;
3818
4534
  image?: string | undefined;
4535
+ enabled?: boolean | undefined;
3819
4536
  dns?: string[] | undefined;
3820
4537
  dnsSearch?: string[] | undefined;
3821
4538
  resources?: {
@@ -4000,8 +4717,8 @@ export declare const PodTemplateCreateSchema: z.ZodObject<{
4000
4717
  }[] | undefined;
4001
4718
  annotations?: Record<string, string> | undefined;
4002
4719
  dind?: {
4003
- enabled?: boolean | undefined;
4004
4720
  image?: string | undefined;
4721
+ enabled?: boolean | undefined;
4005
4722
  dns?: string[] | undefined;
4006
4723
  dnsSearch?: string[] | undefined;
4007
4724
  resources?: {
@@ -4197,8 +4914,8 @@ export declare const PodTemplateCreateSchema: z.ZodObject<{
4197
4914
  }[] | undefined;
4198
4915
  annotations?: Record<string, string> | undefined;
4199
4916
  dind?: {
4200
- enabled?: boolean | undefined;
4201
4917
  image?: string | undefined;
4918
+ enabled?: boolean | undefined;
4202
4919
  dns?: string[] | undefined;
4203
4920
  dnsSearch?: string[] | undefined;
4204
4921
  resources?: {
@@ -4552,8 +5269,8 @@ export declare const PodTemplateUpdateSchema: z.ZodObject<{
4552
5269
  } | undefined;
4553
5270
  } | undefined;
4554
5271
  }, {
4555
- enabled?: boolean | undefined;
4556
5272
  image?: string | undefined;
5273
+ enabled?: boolean | undefined;
4557
5274
  dns?: string[] | undefined;
4558
5275
  dnsSearch?: string[] | undefined;
4559
5276
  resources?: {
@@ -4738,8 +5455,8 @@ export declare const PodTemplateUpdateSchema: z.ZodObject<{
4738
5455
  }[] | undefined;
4739
5456
  annotations?: Record<string, string> | undefined;
4740
5457
  dind?: {
4741
- enabled?: boolean | undefined;
4742
5458
  image?: string | undefined;
5459
+ enabled?: boolean | undefined;
4743
5460
  dns?: string[] | undefined;
4744
5461
  dnsSearch?: string[] | undefined;
4745
5462
  resources?: {
@@ -4934,8 +5651,8 @@ export declare const PodTemplateUpdateSchema: z.ZodObject<{
4934
5651
  }[] | undefined;
4935
5652
  annotations?: Record<string, string> | undefined;
4936
5653
  dind?: {
4937
- enabled?: boolean | undefined;
4938
5654
  image?: string | undefined;
5655
+ enabled?: boolean | undefined;
4939
5656
  dns?: string[] | undefined;
4940
5657
  dnsSearch?: string[] | undefined;
4941
5658
  resources?: {
@@ -5160,20 +5877,16 @@ export declare const PipelineTriggerInfoSchema: z.ZodObject<{
5160
5877
  branches?: string[] | undefined;
5161
5878
  'branches-ignore'?: string[] | undefined;
5162
5879
  } | null | undefined;
5163
- pull_request?: {
5164
- branches?: string[] | undefined;
5165
- 'branches-ignore'?: string[] | undefined;
5166
- } | null | undefined;
5167
5880
  tag?: {
5168
5881
  tags?: string[] | undefined;
5169
5882
  'tags-ignore'?: string[] | undefined;
5170
5883
  } | null | undefined;
5171
- }, {
5172
- push?: {
5884
+ pull_request?: {
5173
5885
  branches?: string[] | undefined;
5174
5886
  'branches-ignore'?: string[] | undefined;
5175
5887
  } | null | undefined;
5176
- pull_request?: {
5888
+ }, {
5889
+ push?: {
5177
5890
  branches?: string[] | undefined;
5178
5891
  'branches-ignore'?: string[] | undefined;
5179
5892
  } | null | undefined;
@@ -5181,6 +5894,10 @@ export declare const PipelineTriggerInfoSchema: z.ZodObject<{
5181
5894
  tags?: string[] | undefined;
5182
5895
  'tags-ignore'?: string[] | undefined;
5183
5896
  } | null | undefined;
5897
+ pull_request?: {
5898
+ branches?: string[] | undefined;
5899
+ 'branches-ignore'?: string[] | undefined;
5900
+ } | null | undefined;
5184
5901
  }>;
5185
5902
  export type PipelineTriggerInfo = z.infer<typeof PipelineTriggerInfoSchema>;
5186
5903
  export declare const PipelineInfoSchema: z.ZodObject<{
@@ -5221,20 +5938,16 @@ export declare const PipelineInfoSchema: z.ZodObject<{
5221
5938
  branches?: string[] | undefined;
5222
5939
  'branches-ignore'?: string[] | undefined;
5223
5940
  } | null | undefined;
5224
- pull_request?: {
5225
- branches?: string[] | undefined;
5226
- 'branches-ignore'?: string[] | undefined;
5227
- } | null | undefined;
5228
5941
  tag?: {
5229
5942
  tags?: string[] | undefined;
5230
5943
  'tags-ignore'?: string[] | undefined;
5231
5944
  } | null | undefined;
5232
- }, {
5233
- push?: {
5945
+ pull_request?: {
5234
5946
  branches?: string[] | undefined;
5235
5947
  'branches-ignore'?: string[] | undefined;
5236
5948
  } | null | undefined;
5237
- pull_request?: {
5949
+ }, {
5950
+ push?: {
5238
5951
  branches?: string[] | undefined;
5239
5952
  'branches-ignore'?: string[] | undefined;
5240
5953
  } | null | undefined;
@@ -5242,43 +5955,50 @@ export declare const PipelineInfoSchema: z.ZodObject<{
5242
5955
  tags?: string[] | undefined;
5243
5956
  'tags-ignore'?: string[] | undefined;
5244
5957
  } | null | undefined;
5958
+ pull_request?: {
5959
+ branches?: string[] | undefined;
5960
+ 'branches-ignore'?: string[] | undefined;
5961
+ } | null | undefined;
5245
5962
  }>>>;
5246
5963
  wouldRun: z.ZodBoolean;
5247
5964
  runReason: z.ZodOptional<z.ZodString>;
5965
+ image: z.ZodOptional<z.ZodString>;
5248
5966
  }, "strip", z.ZodTypeAny, {
5249
5967
  name: string;
5250
5968
  wouldRun: boolean;
5969
+ image?: string | undefined;
5251
5970
  on?: {
5252
5971
  push?: {
5253
5972
  branches?: string[] | undefined;
5254
5973
  'branches-ignore'?: string[] | undefined;
5255
5974
  } | null | undefined;
5256
- pull_request?: {
5257
- branches?: string[] | undefined;
5258
- 'branches-ignore'?: string[] | undefined;
5259
- } | null | undefined;
5260
5975
  tag?: {
5261
5976
  tags?: string[] | undefined;
5262
5977
  'tags-ignore'?: string[] | undefined;
5263
5978
  } | null | undefined;
5979
+ pull_request?: {
5980
+ branches?: string[] | undefined;
5981
+ 'branches-ignore'?: string[] | undefined;
5982
+ } | null | undefined;
5264
5983
  } | null | undefined;
5265
5984
  runReason?: string | undefined;
5266
5985
  }, {
5267
5986
  name: string;
5268
5987
  wouldRun: boolean;
5988
+ image?: string | undefined;
5269
5989
  on?: {
5270
5990
  push?: {
5271
5991
  branches?: string[] | undefined;
5272
5992
  'branches-ignore'?: string[] | undefined;
5273
5993
  } | null | undefined;
5274
- pull_request?: {
5275
- branches?: string[] | undefined;
5276
- 'branches-ignore'?: string[] | undefined;
5277
- } | null | undefined;
5278
5994
  tag?: {
5279
5995
  tags?: string[] | undefined;
5280
5996
  'tags-ignore'?: string[] | undefined;
5281
5997
  } | null | undefined;
5998
+ pull_request?: {
5999
+ branches?: string[] | undefined;
6000
+ 'branches-ignore'?: string[] | undefined;
6001
+ } | null | undefined;
5282
6002
  } | null | undefined;
5283
6003
  runReason?: string | undefined;
5284
6004
  }>;
@@ -5322,20 +6042,16 @@ export declare const PipelinesAtRefResponseSchema: z.ZodObject<{
5322
6042
  branches?: string[] | undefined;
5323
6043
  'branches-ignore'?: string[] | undefined;
5324
6044
  } | null | undefined;
5325
- pull_request?: {
5326
- branches?: string[] | undefined;
5327
- 'branches-ignore'?: string[] | undefined;
5328
- } | null | undefined;
5329
6045
  tag?: {
5330
6046
  tags?: string[] | undefined;
5331
6047
  'tags-ignore'?: string[] | undefined;
5332
6048
  } | null | undefined;
5333
- }, {
5334
- push?: {
6049
+ pull_request?: {
5335
6050
  branches?: string[] | undefined;
5336
6051
  'branches-ignore'?: string[] | undefined;
5337
6052
  } | null | undefined;
5338
- pull_request?: {
6053
+ }, {
6054
+ push?: {
5339
6055
  branches?: string[] | undefined;
5340
6056
  'branches-ignore'?: string[] | undefined;
5341
6057
  } | null | undefined;
@@ -5343,43 +6059,50 @@ export declare const PipelinesAtRefResponseSchema: z.ZodObject<{
5343
6059
  tags?: string[] | undefined;
5344
6060
  'tags-ignore'?: string[] | undefined;
5345
6061
  } | null | undefined;
6062
+ pull_request?: {
6063
+ branches?: string[] | undefined;
6064
+ 'branches-ignore'?: string[] | undefined;
6065
+ } | null | undefined;
5346
6066
  }>>>;
5347
6067
  wouldRun: z.ZodBoolean;
5348
6068
  runReason: z.ZodOptional<z.ZodString>;
6069
+ image: z.ZodOptional<z.ZodString>;
5349
6070
  }, "strip", z.ZodTypeAny, {
5350
6071
  name: string;
5351
6072
  wouldRun: boolean;
6073
+ image?: string | undefined;
5352
6074
  on?: {
5353
6075
  push?: {
5354
6076
  branches?: string[] | undefined;
5355
6077
  'branches-ignore'?: string[] | undefined;
5356
6078
  } | null | undefined;
5357
- pull_request?: {
5358
- branches?: string[] | undefined;
5359
- 'branches-ignore'?: string[] | undefined;
5360
- } | null | undefined;
5361
6079
  tag?: {
5362
6080
  tags?: string[] | undefined;
5363
6081
  'tags-ignore'?: string[] | undefined;
5364
6082
  } | null | undefined;
6083
+ pull_request?: {
6084
+ branches?: string[] | undefined;
6085
+ 'branches-ignore'?: string[] | undefined;
6086
+ } | null | undefined;
5365
6087
  } | null | undefined;
5366
6088
  runReason?: string | undefined;
5367
6089
  }, {
5368
6090
  name: string;
5369
6091
  wouldRun: boolean;
6092
+ image?: string | undefined;
5370
6093
  on?: {
5371
6094
  push?: {
5372
6095
  branches?: string[] | undefined;
5373
6096
  'branches-ignore'?: string[] | undefined;
5374
6097
  } | null | undefined;
5375
- pull_request?: {
5376
- branches?: string[] | undefined;
5377
- 'branches-ignore'?: string[] | undefined;
5378
- } | null | undefined;
5379
6098
  tag?: {
5380
6099
  tags?: string[] | undefined;
5381
6100
  'tags-ignore'?: string[] | undefined;
5382
6101
  } | null | undefined;
6102
+ pull_request?: {
6103
+ branches?: string[] | undefined;
6104
+ 'branches-ignore'?: string[] | undefined;
6105
+ } | null | undefined;
5383
6106
  } | null | undefined;
5384
6107
  runReason?: string | undefined;
5385
6108
  }>, "many">;
@@ -5389,19 +6112,20 @@ export declare const PipelinesAtRefResponseSchema: z.ZodObject<{
5389
6112
  pipelines: {
5390
6113
  name: string;
5391
6114
  wouldRun: boolean;
6115
+ image?: string | undefined;
5392
6116
  on?: {
5393
6117
  push?: {
5394
6118
  branches?: string[] | undefined;
5395
6119
  'branches-ignore'?: string[] | undefined;
5396
6120
  } | null | undefined;
5397
- pull_request?: {
5398
- branches?: string[] | undefined;
5399
- 'branches-ignore'?: string[] | undefined;
5400
- } | null | undefined;
5401
6121
  tag?: {
5402
6122
  tags?: string[] | undefined;
5403
6123
  'tags-ignore'?: string[] | undefined;
5404
6124
  } | null | undefined;
6125
+ pull_request?: {
6126
+ branches?: string[] | undefined;
6127
+ 'branches-ignore'?: string[] | undefined;
6128
+ } | null | undefined;
5405
6129
  } | null | undefined;
5406
6130
  runReason?: string | undefined;
5407
6131
  }[];
@@ -5411,19 +6135,20 @@ export declare const PipelinesAtRefResponseSchema: z.ZodObject<{
5411
6135
  pipelines: {
5412
6136
  name: string;
5413
6137
  wouldRun: boolean;
6138
+ image?: string | undefined;
5414
6139
  on?: {
5415
6140
  push?: {
5416
6141
  branches?: string[] | undefined;
5417
6142
  'branches-ignore'?: string[] | undefined;
5418
6143
  } | null | undefined;
5419
- pull_request?: {
5420
- branches?: string[] | undefined;
5421
- 'branches-ignore'?: string[] | undefined;
5422
- } | null | undefined;
5423
6144
  tag?: {
5424
6145
  tags?: string[] | undefined;
5425
6146
  'tags-ignore'?: string[] | undefined;
5426
6147
  } | null | undefined;
6148
+ pull_request?: {
6149
+ branches?: string[] | undefined;
6150
+ 'branches-ignore'?: string[] | undefined;
6151
+ } | null | undefined;
5427
6152
  } | null | undefined;
5428
6153
  runReason?: string | undefined;
5429
6154
  }[];