@structured-world/gitlab-mcp 4.0.0 → 4.1.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 (86) hide show
  1. package/README.md +90 -4
  2. package/dist/entities/core/registry.js +162 -70
  3. package/dist/entities/core/registry.js.map +1 -1
  4. package/dist/entities/core/schema-readonly.d.ts +421 -199
  5. package/dist/entities/core/schema-readonly.js +222 -131
  6. package/dist/entities/core/schema-readonly.js.map +1 -1
  7. package/dist/entities/core/schema.d.ts +152 -61
  8. package/dist/entities/core/schema.js +111 -55
  9. package/dist/entities/core/schema.js.map +1 -1
  10. package/dist/entities/files/registry.js +5 -5
  11. package/dist/entities/files/registry.js.map +1 -1
  12. package/dist/entities/files/schema-readonly.d.ts +124 -24
  13. package/dist/entities/files/schema.d.ts +82 -17
  14. package/dist/entities/labels/registry.js +23 -34
  15. package/dist/entities/labels/registry.js.map +1 -1
  16. package/dist/entities/labels/schema-readonly.d.ts +26 -10
  17. package/dist/entities/labels/schema-readonly.js +5 -15
  18. package/dist/entities/labels/schema-readonly.js.map +1 -1
  19. package/dist/entities/labels/schema.d.ts +40 -11
  20. package/dist/entities/labels/schema.js +8 -23
  21. package/dist/entities/labels/schema.js.map +1 -1
  22. package/dist/entities/milestones/registry.js +44 -61
  23. package/dist/entities/milestones/registry.js.map +1 -1
  24. package/dist/entities/milestones/schema-readonly.d.ts +105 -30
  25. package/dist/entities/milestones/schema-readonly.js +7 -15
  26. package/dist/entities/milestones/schema-readonly.js.map +1 -1
  27. package/dist/entities/milestones/schema.d.ts +52 -19
  28. package/dist/entities/milestones/schema.js +8 -28
  29. package/dist/entities/milestones/schema.js.map +1 -1
  30. package/dist/entities/mrs/registry.js +20 -20
  31. package/dist/entities/mrs/registry.js.map +1 -1
  32. package/dist/entities/mrs/schema-readonly.d.ts +243 -68
  33. package/dist/entities/mrs/schema-readonly.js +83 -54
  34. package/dist/entities/mrs/schema-readonly.js.map +1 -1
  35. package/dist/entities/mrs/schema.d.ts +885 -142
  36. package/dist/entities/mrs/schema.js +113 -37
  37. package/dist/entities/mrs/schema.js.map +1 -1
  38. package/dist/entities/pipelines/registry.js +12 -12
  39. package/dist/entities/pipelines/registry.js.map +1 -1
  40. package/dist/entities/pipelines/schema-readonly.d.ts +525 -115
  41. package/dist/entities/pipelines/schema.d.ts +104 -30
  42. package/dist/entities/shared.d.ts +787 -110
  43. package/dist/entities/utils.d.ts +2 -2
  44. package/dist/entities/variables/registry.js +23 -33
  45. package/dist/entities/variables/registry.js.map +1 -1
  46. package/dist/entities/variables/schema-readonly.d.ts +30 -7
  47. package/dist/entities/variables/schema-readonly.js +4 -13
  48. package/dist/entities/variables/schema-readonly.js.map +1 -1
  49. package/dist/entities/variables/schema.d.ts +83 -26
  50. package/dist/entities/variables/schema.js +6 -21
  51. package/dist/entities/variables/schema.js.map +1 -1
  52. package/dist/entities/wiki/registry.js +25 -42
  53. package/dist/entities/wiki/registry.js.map +1 -1
  54. package/dist/entities/wiki/schema-readonly.d.ts +37 -8
  55. package/dist/entities/wiki/schema-readonly.js +4 -13
  56. package/dist/entities/wiki/schema-readonly.js.map +1 -1
  57. package/dist/entities/wiki/schema.d.ts +34 -9
  58. package/dist/entities/wiki/schema.js +6 -21
  59. package/dist/entities/wiki/schema.js.map +1 -1
  60. package/dist/entities/workitems/registry.js +94 -13
  61. package/dist/entities/workitems/registry.js.map +1 -1
  62. package/dist/entities/workitems/schema-readonly.d.ts +29 -32
  63. package/dist/entities/workitems/schema-readonly.js +7 -2
  64. package/dist/entities/workitems/schema-readonly.js.map +1 -1
  65. package/dist/entities/workitems/schema.d.ts +45 -21
  66. package/dist/graphql/workItems.d.ts +34 -1
  67. package/dist/graphql/workItems.js +349 -2
  68. package/dist/graphql/workItems.js.map +1 -1
  69. package/dist/handlers.js +44 -0
  70. package/dist/handlers.js.map +1 -1
  71. package/dist/registry-manager.d.ts +1 -0
  72. package/dist/registry-manager.js +54 -0
  73. package/dist/registry-manager.js.map +1 -1
  74. package/dist/services/ConnectionManager.js +3 -3
  75. package/dist/services/ConnectionManager.js.map +1 -1
  76. package/dist/services/SchemaIntrospector.js +3 -3
  77. package/dist/services/SchemaIntrospector.js.map +1 -1
  78. package/dist/services/ToolAvailability.js +30 -1
  79. package/dist/services/ToolAvailability.js.map +1 -1
  80. package/dist/structured-world-gitlab-mcp-4.1.1.tgz +0 -0
  81. package/dist/tsconfig.build.tsbuildinfo +1 -1
  82. package/dist/utils/namespace.d.ts +6 -0
  83. package/dist/utils/namespace.js +52 -0
  84. package/dist/utils/namespace.js.map +1 -0
  85. package/package.json +5 -3
  86. package/dist/structured-world-gitlab-mcp-4.0.0.tgz +0 -0
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const GitLabPipelineSchema: z.ZodObject<{
3
- id: z.ZodCoercedString<unknown>;
4
- project_id: z.ZodCoercedString<unknown>;
3
+ id: z.ZodString;
4
+ project_id: z.ZodString;
5
5
  sha: z.ZodString;
6
6
  ref: z.ZodString;
7
7
  status: z.ZodString;
@@ -12,51 +12,181 @@ export declare const GitLabPipelineSchema: z.ZodObject<{
12
12
  duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
13
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- coverage: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
15
+ coverage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
16
  user: z.ZodOptional<z.ZodObject<{
17
- id: z.ZodCoercedString<unknown>;
17
+ id: z.ZodString;
18
18
  name: z.ZodString;
19
19
  username: z.ZodString;
20
20
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ name: string;
23
+ id: string;
24
+ username: string;
25
+ avatar_url?: string | null | undefined;
26
+ }, {
27
+ name: string;
28
+ id: string;
29
+ username: string;
30
+ avatar_url?: string | null | undefined;
31
+ }>>;
22
32
  detailed_status: z.ZodOptional<z.ZodObject<{
23
33
  icon: z.ZodOptional<z.ZodString>;
24
34
  text: z.ZodOptional<z.ZodString>;
25
35
  label: z.ZodOptional<z.ZodString>;
26
36
  group: z.ZodOptional<z.ZodString>;
27
37
  tooltip: z.ZodOptional<z.ZodString>;
28
- has_details: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
38
+ has_details: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
29
39
  details_path: z.ZodOptional<z.ZodString>;
30
40
  illustration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
41
  image: z.ZodOptional<z.ZodString>;
32
42
  size: z.ZodOptional<z.ZodString>;
33
43
  title: z.ZodOptional<z.ZodString>;
34
- }, z.core.$strip>>>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ title?: string | undefined;
46
+ image?: string | undefined;
47
+ size?: string | undefined;
48
+ }, {
49
+ title?: string | undefined;
50
+ image?: string | undefined;
51
+ size?: string | undefined;
52
+ }>>>;
35
53
  favicon: z.ZodOptional<z.ZodString>;
36
- }, z.core.$strip>>;
37
- }, z.core.$strip>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ group?: string | undefined;
56
+ text?: string | undefined;
57
+ icon?: string | undefined;
58
+ label?: string | undefined;
59
+ tooltip?: string | undefined;
60
+ has_details?: boolean | undefined;
61
+ details_path?: string | undefined;
62
+ illustration?: {
63
+ title?: string | undefined;
64
+ image?: string | undefined;
65
+ size?: string | undefined;
66
+ } | null | undefined;
67
+ favicon?: string | undefined;
68
+ }, {
69
+ group?: string | undefined;
70
+ text?: string | undefined;
71
+ icon?: string | undefined;
72
+ label?: string | undefined;
73
+ tooltip?: string | undefined;
74
+ has_details?: unknown;
75
+ details_path?: string | undefined;
76
+ illustration?: {
77
+ title?: string | undefined;
78
+ image?: string | undefined;
79
+ size?: string | undefined;
80
+ } | null | undefined;
81
+ favicon?: string | undefined;
82
+ }>>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ status: string;
85
+ id: string;
86
+ web_url: string;
87
+ project_id: string;
88
+ created_at: string;
89
+ updated_at: string;
90
+ ref: string;
91
+ sha: string;
92
+ user?: {
93
+ name: string;
94
+ id: string;
95
+ username: string;
96
+ avatar_url?: string | null | undefined;
97
+ } | undefined;
98
+ duration?: number | null | undefined;
99
+ source?: string | undefined;
100
+ started_at?: string | null | undefined;
101
+ finished_at?: string | null | undefined;
102
+ coverage?: number | null | undefined;
103
+ detailed_status?: {
104
+ group?: string | undefined;
105
+ text?: string | undefined;
106
+ icon?: string | undefined;
107
+ label?: string | undefined;
108
+ tooltip?: string | undefined;
109
+ has_details?: boolean | undefined;
110
+ details_path?: string | undefined;
111
+ illustration?: {
112
+ title?: string | undefined;
113
+ image?: string | undefined;
114
+ size?: string | undefined;
115
+ } | null | undefined;
116
+ favicon?: string | undefined;
117
+ } | undefined;
118
+ }, {
119
+ status: string;
120
+ id: string;
121
+ web_url: string;
122
+ project_id: string;
123
+ created_at: string;
124
+ updated_at: string;
125
+ ref: string;
126
+ sha: string;
127
+ user?: {
128
+ name: string;
129
+ id: string;
130
+ username: string;
131
+ avatar_url?: string | null | undefined;
132
+ } | undefined;
133
+ duration?: number | null | undefined;
134
+ source?: string | undefined;
135
+ started_at?: string | null | undefined;
136
+ finished_at?: string | null | undefined;
137
+ coverage?: number | null | undefined;
138
+ detailed_status?: {
139
+ group?: string | undefined;
140
+ text?: string | undefined;
141
+ icon?: string | undefined;
142
+ label?: string | undefined;
143
+ tooltip?: string | undefined;
144
+ has_details?: unknown;
145
+ details_path?: string | undefined;
146
+ illustration?: {
147
+ title?: string | undefined;
148
+ image?: string | undefined;
149
+ size?: string | undefined;
150
+ } | null | undefined;
151
+ favicon?: string | undefined;
152
+ } | undefined;
153
+ }>;
38
154
  export declare const GitLabPipelineJobSchema: z.ZodObject<{
39
- id: z.ZodCoercedString<unknown>;
155
+ id: z.ZodString;
40
156
  status: z.ZodString;
41
157
  stage: z.ZodString;
42
158
  name: z.ZodString;
43
159
  ref: z.ZodString;
44
- tag: z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
45
- coverage: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
46
- allow_failure: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
160
+ tag: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
161
+ coverage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
162
+ allow_failure: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
47
163
  created_at: z.ZodString;
48
164
  started_at: z.ZodOptional<z.ZodString>;
49
165
  finished_at: z.ZodOptional<z.ZodString>;
50
166
  duration: z.ZodOptional<z.ZodNumber>;
51
167
  queued_duration: z.ZodOptional<z.ZodNumber>;
52
168
  user: z.ZodOptional<z.ZodObject<{
53
- id: z.ZodCoercedString<unknown>;
169
+ id: z.ZodString;
54
170
  name: z.ZodString;
55
171
  username: z.ZodString;
56
172
  state: z.ZodString;
57
173
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
174
  web_url: z.ZodString;
59
- }, z.core.$strip>>;
175
+ }, "strip", z.ZodTypeAny, {
176
+ name: string;
177
+ id: string;
178
+ state: string;
179
+ web_url: string;
180
+ username: string;
181
+ avatar_url?: string | null | undefined;
182
+ }, {
183
+ name: string;
184
+ id: string;
185
+ state: string;
186
+ web_url: string;
187
+ username: string;
188
+ avatar_url?: string | null | undefined;
189
+ }>>;
60
190
  commit: z.ZodOptional<z.ZodObject<{
61
191
  id: z.ZodString;
62
192
  short_id: z.ZodString;
@@ -65,38 +195,158 @@ export declare const GitLabPipelineJobSchema: z.ZodObject<{
65
195
  author_email: z.ZodString;
66
196
  created_at: z.ZodString;
67
197
  message: z.ZodString;
68
- }, z.core.$strip>>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ message: string;
200
+ id: string;
201
+ title: string;
202
+ created_at: string;
203
+ short_id: string;
204
+ author_name: string;
205
+ author_email: string;
206
+ }, {
207
+ message: string;
208
+ id: string;
209
+ title: string;
210
+ created_at: string;
211
+ short_id: string;
212
+ author_name: string;
213
+ author_email: string;
214
+ }>>;
69
215
  pipeline: z.ZodOptional<z.ZodObject<{
70
- id: z.ZodCoercedString<unknown>;
71
- project_id: z.ZodCoercedString<unknown>;
216
+ id: z.ZodString;
217
+ project_id: z.ZodString;
72
218
  ref: z.ZodString;
73
219
  sha: z.ZodString;
74
220
  status: z.ZodString;
75
- }, z.core.$strip>>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ status: string;
223
+ id: string;
224
+ project_id: string;
225
+ ref: string;
226
+ sha: string;
227
+ }, {
228
+ status: string;
229
+ id: string;
230
+ project_id: string;
231
+ ref: string;
232
+ sha: string;
233
+ }>>;
76
234
  web_url: z.ZodString;
77
- }, z.core.$strip>;
235
+ }, "strip", z.ZodTypeAny, {
236
+ name: string;
237
+ status: string;
238
+ id: string;
239
+ web_url: string;
240
+ created_at: string;
241
+ ref: string;
242
+ stage: string;
243
+ tag: boolean;
244
+ commit?: {
245
+ message: string;
246
+ id: string;
247
+ title: string;
248
+ created_at: string;
249
+ short_id: string;
250
+ author_name: string;
251
+ author_email: string;
252
+ } | undefined;
253
+ user?: {
254
+ name: string;
255
+ id: string;
256
+ state: string;
257
+ web_url: string;
258
+ username: string;
259
+ avatar_url?: string | null | undefined;
260
+ } | undefined;
261
+ duration?: number | undefined;
262
+ started_at?: string | undefined;
263
+ finished_at?: string | undefined;
264
+ coverage?: number | null | undefined;
265
+ allow_failure?: boolean | undefined;
266
+ queued_duration?: number | undefined;
267
+ pipeline?: {
268
+ status: string;
269
+ id: string;
270
+ project_id: string;
271
+ ref: string;
272
+ sha: string;
273
+ } | undefined;
274
+ }, {
275
+ name: string;
276
+ status: string;
277
+ id: string;
278
+ web_url: string;
279
+ created_at: string;
280
+ ref: string;
281
+ stage: string;
282
+ commit?: {
283
+ message: string;
284
+ id: string;
285
+ title: string;
286
+ created_at: string;
287
+ short_id: string;
288
+ author_name: string;
289
+ author_email: string;
290
+ } | undefined;
291
+ user?: {
292
+ name: string;
293
+ id: string;
294
+ state: string;
295
+ web_url: string;
296
+ username: string;
297
+ avatar_url?: string | null | undefined;
298
+ } | undefined;
299
+ duration?: number | undefined;
300
+ started_at?: string | undefined;
301
+ finished_at?: string | undefined;
302
+ coverage?: number | null | undefined;
303
+ tag?: unknown;
304
+ allow_failure?: unknown;
305
+ queued_duration?: number | undefined;
306
+ pipeline?: {
307
+ status: string;
308
+ id: string;
309
+ project_id: string;
310
+ ref: string;
311
+ sha: string;
312
+ } | undefined;
313
+ }>;
78
314
  export declare const GitLabPipelineTriggerJobSchema: z.ZodObject<{
79
- id: z.ZodCoercedString<unknown>;
315
+ id: z.ZodString;
80
316
  status: z.ZodString;
81
317
  stage: z.ZodString;
82
318
  name: z.ZodString;
83
319
  ref: z.ZodString;
84
- tag: z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
85
- coverage: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
86
- allow_failure: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
320
+ tag: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
321
+ coverage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
322
+ allow_failure: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
87
323
  created_at: z.ZodString;
88
324
  started_at: z.ZodOptional<z.ZodString>;
89
325
  finished_at: z.ZodOptional<z.ZodString>;
90
326
  duration: z.ZodOptional<z.ZodNumber>;
91
327
  queued_duration: z.ZodOptional<z.ZodNumber>;
92
328
  user: z.ZodOptional<z.ZodObject<{
93
- id: z.ZodCoercedString<unknown>;
329
+ id: z.ZodString;
94
330
  name: z.ZodString;
95
331
  username: z.ZodString;
96
332
  state: z.ZodString;
97
333
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
334
  web_url: z.ZodString;
99
- }, z.core.$strip>>;
335
+ }, "strip", z.ZodTypeAny, {
336
+ name: string;
337
+ id: string;
338
+ state: string;
339
+ web_url: string;
340
+ username: string;
341
+ avatar_url?: string | null | undefined;
342
+ }, {
343
+ name: string;
344
+ id: string;
345
+ state: string;
346
+ web_url: string;
347
+ username: string;
348
+ avatar_url?: string | null | undefined;
349
+ }>>;
100
350
  commit: z.ZodOptional<z.ZodObject<{
101
351
  id: z.ZodString;
102
352
  short_id: z.ZodString;
@@ -105,62 +355,170 @@ export declare const GitLabPipelineTriggerJobSchema: z.ZodObject<{
105
355
  author_email: z.ZodString;
106
356
  created_at: z.ZodString;
107
357
  message: z.ZodString;
108
- }, z.core.$strip>>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ message: string;
360
+ id: string;
361
+ title: string;
362
+ created_at: string;
363
+ short_id: string;
364
+ author_name: string;
365
+ author_email: string;
366
+ }, {
367
+ message: string;
368
+ id: string;
369
+ title: string;
370
+ created_at: string;
371
+ short_id: string;
372
+ author_name: string;
373
+ author_email: string;
374
+ }>>;
109
375
  pipeline: z.ZodOptional<z.ZodObject<{
110
- id: z.ZodCoercedString<unknown>;
111
- project_id: z.ZodCoercedString<unknown>;
376
+ id: z.ZodString;
377
+ project_id: z.ZodString;
112
378
  ref: z.ZodString;
113
379
  sha: z.ZodString;
114
380
  status: z.ZodString;
115
- }, z.core.$strip>>;
381
+ }, "strip", z.ZodTypeAny, {
382
+ status: string;
383
+ id: string;
384
+ project_id: string;
385
+ ref: string;
386
+ sha: string;
387
+ }, {
388
+ status: string;
389
+ id: string;
390
+ project_id: string;
391
+ ref: string;
392
+ sha: string;
393
+ }>>;
116
394
  web_url: z.ZodString;
117
395
  downstream_pipeline: z.ZodOptional<z.ZodObject<{
118
- id: z.ZodCoercedString<unknown>;
396
+ id: z.ZodString;
119
397
  sha: z.ZodString;
120
398
  ref: z.ZodString;
121
399
  status: z.ZodString;
122
400
  created_at: z.ZodString;
123
401
  updated_at: z.ZodString;
124
402
  web_url: z.ZodString;
125
- }, z.core.$strip>>;
126
- }, z.core.$strip>;
127
- export declare const ListPipelinesSchema: z.ZodObject<{
128
- project_id: z.ZodCoercedString<unknown>;
129
- scope: z.ZodOptional<z.ZodEnum<{
130
- running: "running";
131
- pending: "pending";
132
- finished: "finished";
133
- branches: "branches";
134
- tags: "tags";
135
- }>>;
136
- status: z.ZodOptional<z.ZodEnum<{
137
- manual: "manual";
138
- success: "success";
139
- created: "created";
140
- running: "running";
141
- pending: "pending";
142
- waiting_for_resource: "waiting_for_resource";
143
- preparing: "preparing";
144
- failed: "failed";
145
- canceled: "canceled";
146
- skipped: "skipped";
147
- scheduled: "scheduled";
148
- }>>;
149
- source: z.ZodOptional<z.ZodEnum<{
150
- push: "push";
151
- external: "external";
152
- web: "web";
153
- trigger: "trigger";
154
- schedule: "schedule";
155
- api: "api";
156
- chat: "chat";
157
- webide: "webide";
158
- merge_request_event: "merge_request_event";
159
- external_pull_request_event: "external_pull_request_event";
160
- parent_pipeline: "parent_pipeline";
161
- ondemand_dast_scan: "ondemand_dast_scan";
162
- ondemand_dast_validation: "ondemand_dast_validation";
403
+ }, "strip", z.ZodTypeAny, {
404
+ status: string;
405
+ id: string;
406
+ web_url: string;
407
+ created_at: string;
408
+ updated_at: string;
409
+ ref: string;
410
+ sha: string;
411
+ }, {
412
+ status: string;
413
+ id: string;
414
+ web_url: string;
415
+ created_at: string;
416
+ updated_at: string;
417
+ ref: string;
418
+ sha: string;
163
419
  }>>;
420
+ }, "strip", z.ZodTypeAny, {
421
+ name: string;
422
+ status: string;
423
+ id: string;
424
+ web_url: string;
425
+ created_at: string;
426
+ ref: string;
427
+ stage: string;
428
+ tag: boolean;
429
+ commit?: {
430
+ message: string;
431
+ id: string;
432
+ title: string;
433
+ created_at: string;
434
+ short_id: string;
435
+ author_name: string;
436
+ author_email: string;
437
+ } | undefined;
438
+ user?: {
439
+ name: string;
440
+ id: string;
441
+ state: string;
442
+ web_url: string;
443
+ username: string;
444
+ avatar_url?: string | null | undefined;
445
+ } | undefined;
446
+ duration?: number | undefined;
447
+ started_at?: string | undefined;
448
+ finished_at?: string | undefined;
449
+ coverage?: number | null | undefined;
450
+ allow_failure?: boolean | undefined;
451
+ queued_duration?: number | undefined;
452
+ pipeline?: {
453
+ status: string;
454
+ id: string;
455
+ project_id: string;
456
+ ref: string;
457
+ sha: string;
458
+ } | undefined;
459
+ downstream_pipeline?: {
460
+ status: string;
461
+ id: string;
462
+ web_url: string;
463
+ created_at: string;
464
+ updated_at: string;
465
+ ref: string;
466
+ sha: string;
467
+ } | undefined;
468
+ }, {
469
+ name: string;
470
+ status: string;
471
+ id: string;
472
+ web_url: string;
473
+ created_at: string;
474
+ ref: string;
475
+ stage: string;
476
+ commit?: {
477
+ message: string;
478
+ id: string;
479
+ title: string;
480
+ created_at: string;
481
+ short_id: string;
482
+ author_name: string;
483
+ author_email: string;
484
+ } | undefined;
485
+ user?: {
486
+ name: string;
487
+ id: string;
488
+ state: string;
489
+ web_url: string;
490
+ username: string;
491
+ avatar_url?: string | null | undefined;
492
+ } | undefined;
493
+ duration?: number | undefined;
494
+ started_at?: string | undefined;
495
+ finished_at?: string | undefined;
496
+ coverage?: number | null | undefined;
497
+ tag?: unknown;
498
+ allow_failure?: unknown;
499
+ queued_duration?: number | undefined;
500
+ pipeline?: {
501
+ status: string;
502
+ id: string;
503
+ project_id: string;
504
+ ref: string;
505
+ sha: string;
506
+ } | undefined;
507
+ downstream_pipeline?: {
508
+ status: string;
509
+ id: string;
510
+ web_url: string;
511
+ created_at: string;
512
+ updated_at: string;
513
+ ref: string;
514
+ sha: string;
515
+ } | undefined;
516
+ }>;
517
+ export declare const ListPipelinesSchema: z.ZodObject<{
518
+ project_id: z.ZodString;
519
+ scope: z.ZodOptional<z.ZodEnum<["running", "pending", "finished", "branches", "tags"]>>;
520
+ status: z.ZodOptional<z.ZodEnum<["created", "waiting_for_resource", "preparing", "pending", "running", "success", "failed", "canceled", "skipped", "manual", "scheduled"]>>;
521
+ source: z.ZodOptional<z.ZodEnum<["push", "web", "trigger", "schedule", "api", "external", "chat", "webide", "merge_request_event", "external_pull_request_event", "parent_pipeline", "ondemand_dast_scan", "ondemand_dast_validation"]>>;
164
522
  ref: z.ZodOptional<z.ZodString>;
165
523
  sha: z.ZodOptional<z.ZodString>;
166
524
  yaml_errors: z.ZodOptional<z.ZodBoolean>;
@@ -168,67 +526,119 @@ export declare const ListPipelinesSchema: z.ZodObject<{
168
526
  username: z.ZodOptional<z.ZodString>;
169
527
  updated_after: z.ZodOptional<z.ZodString>;
170
528
  updated_before: z.ZodOptional<z.ZodString>;
171
- order_by: z.ZodOptional<z.ZodEnum<{
172
- id: "id";
173
- updated_at: "updated_at";
174
- ref: "ref";
175
- status: "status";
176
- user_id: "user_id";
177
- }>>;
178
- sort: z.ZodOptional<z.ZodEnum<{
179
- asc: "asc";
180
- desc: "desc";
181
- }>>;
529
+ order_by: z.ZodOptional<z.ZodEnum<["id", "status", "ref", "updated_at", "user_id"]>>;
530
+ sort: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
531
+ } & {
182
532
  page: z.ZodOptional<z.ZodNumber>;
183
533
  per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
184
- }, z.core.$strip>;
534
+ }, "strip", z.ZodTypeAny, {
535
+ per_page: number;
536
+ project_id: string;
537
+ sort?: "asc" | "desc" | undefined;
538
+ name?: string | undefined;
539
+ status?: "manual" | "created" | "running" | "pending" | "waiting_for_resource" | "preparing" | "success" | "failed" | "canceled" | "skipped" | "scheduled" | undefined;
540
+ page?: number | undefined;
541
+ username?: string | undefined;
542
+ order_by?: "status" | "id" | "updated_at" | "ref" | "user_id" | undefined;
543
+ ref?: string | undefined;
544
+ updated_after?: string | undefined;
545
+ updated_before?: string | undefined;
546
+ scope?: "running" | "pending" | "finished" | "branches" | "tags" | undefined;
547
+ sha?: string | undefined;
548
+ source?: "push" | "external" | "web" | "trigger" | "schedule" | "api" | "chat" | "webide" | "merge_request_event" | "external_pull_request_event" | "parent_pipeline" | "ondemand_dast_scan" | "ondemand_dast_validation" | undefined;
549
+ yaml_errors?: boolean | undefined;
550
+ }, {
551
+ project_id: string;
552
+ sort?: "asc" | "desc" | undefined;
553
+ name?: string | undefined;
554
+ status?: "manual" | "created" | "running" | "pending" | "waiting_for_resource" | "preparing" | "success" | "failed" | "canceled" | "skipped" | "scheduled" | undefined;
555
+ page?: number | undefined;
556
+ per_page?: number | undefined;
557
+ username?: string | undefined;
558
+ order_by?: "status" | "id" | "updated_at" | "ref" | "user_id" | undefined;
559
+ ref?: string | undefined;
560
+ updated_after?: string | undefined;
561
+ updated_before?: string | undefined;
562
+ scope?: "running" | "pending" | "finished" | "branches" | "tags" | undefined;
563
+ sha?: string | undefined;
564
+ source?: "push" | "external" | "web" | "trigger" | "schedule" | "api" | "chat" | "webide" | "merge_request_event" | "external_pull_request_event" | "parent_pipeline" | "ondemand_dast_scan" | "ondemand_dast_validation" | undefined;
565
+ yaml_errors?: boolean | undefined;
566
+ }>;
185
567
  export declare const GetPipelineSchema: z.ZodObject<{
186
- project_id: z.ZodCoercedString<unknown>;
187
- pipeline_id: z.ZodCoercedString<unknown>;
188
- }, z.core.$strip>;
568
+ project_id: z.ZodString;
569
+ pipeline_id: z.ZodString;
570
+ }, "strip", z.ZodTypeAny, {
571
+ project_id: string;
572
+ pipeline_id: string;
573
+ }, {
574
+ project_id: string;
575
+ pipeline_id: string;
576
+ }>;
189
577
  export declare const ListPipelineJobsSchema: z.ZodObject<{
190
- project_id: z.ZodCoercedString<unknown>;
191
- pipeline_id: z.ZodCoercedString<unknown>;
192
- scope: z.ZodOptional<z.ZodArray<z.ZodEnum<{
193
- manual: "manual";
194
- success: "success";
195
- created: "created";
196
- running: "running";
197
- pending: "pending";
198
- failed: "failed";
199
- canceled: "canceled";
200
- skipped: "skipped";
201
- }>>>;
578
+ project_id: z.ZodString;
579
+ pipeline_id: z.ZodString;
580
+ scope: z.ZodOptional<z.ZodArray<z.ZodEnum<["created", "pending", "running", "failed", "success", "canceled", "skipped", "manual"]>, "many">>;
202
581
  include_retried: z.ZodOptional<z.ZodBoolean>;
582
+ } & {
203
583
  page: z.ZodOptional<z.ZodNumber>;
204
584
  per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
205
- }, z.core.$strip>;
585
+ }, "strip", z.ZodTypeAny, {
586
+ per_page: number;
587
+ project_id: string;
588
+ pipeline_id: string;
589
+ page?: number | undefined;
590
+ scope?: ("manual" | "created" | "running" | "pending" | "success" | "failed" | "canceled" | "skipped")[] | undefined;
591
+ include_retried?: boolean | undefined;
592
+ }, {
593
+ project_id: string;
594
+ pipeline_id: string;
595
+ page?: number | undefined;
596
+ per_page?: number | undefined;
597
+ scope?: ("manual" | "created" | "running" | "pending" | "success" | "failed" | "canceled" | "skipped")[] | undefined;
598
+ include_retried?: boolean | undefined;
599
+ }>;
206
600
  export declare const ListPipelineTriggerJobsSchema: z.ZodObject<{
207
- project_id: z.ZodCoercedString<unknown>;
208
- pipeline_id: z.ZodCoercedString<unknown>;
209
- scope: z.ZodOptional<z.ZodArray<z.ZodEnum<{
210
- manual: "manual";
211
- success: "success";
212
- created: "created";
213
- running: "running";
214
- pending: "pending";
215
- waiting_for_resource: "waiting_for_resource";
216
- preparing: "preparing";
217
- failed: "failed";
218
- canceled: "canceled";
219
- skipped: "skipped";
220
- }>>>;
601
+ project_id: z.ZodString;
602
+ pipeline_id: z.ZodString;
603
+ scope: z.ZodOptional<z.ZodArray<z.ZodEnum<["created", "pending", "running", "failed", "success", "canceled", "skipped", "manual", "waiting_for_resource", "preparing"]>, "many">>;
221
604
  include_retried: z.ZodOptional<z.ZodBoolean>;
605
+ } & {
222
606
  page: z.ZodOptional<z.ZodNumber>;
223
607
  per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
224
- }, z.core.$strip>;
608
+ }, "strip", z.ZodTypeAny, {
609
+ per_page: number;
610
+ project_id: string;
611
+ pipeline_id: string;
612
+ page?: number | undefined;
613
+ scope?: ("manual" | "created" | "running" | "pending" | "waiting_for_resource" | "preparing" | "success" | "failed" | "canceled" | "skipped")[] | undefined;
614
+ include_retried?: boolean | undefined;
615
+ }, {
616
+ project_id: string;
617
+ pipeline_id: string;
618
+ page?: number | undefined;
619
+ per_page?: number | undefined;
620
+ scope?: ("manual" | "created" | "running" | "pending" | "waiting_for_resource" | "preparing" | "success" | "failed" | "canceled" | "skipped")[] | undefined;
621
+ include_retried?: boolean | undefined;
622
+ }>;
225
623
  export declare const GetPipelineJobOutputSchema: z.ZodObject<{
226
- project_id: z.ZodCoercedString<unknown>;
227
- job_id: z.ZodCoercedString<unknown>;
624
+ project_id: z.ZodString;
625
+ job_id: z.ZodString;
228
626
  limit: z.ZodOptional<z.ZodNumber>;
229
627
  max_lines: z.ZodOptional<z.ZodNumber>;
230
628
  start: z.ZodOptional<z.ZodNumber>;
231
- }, z.core.$strip>;
629
+ }, "strip", z.ZodTypeAny, {
630
+ project_id: string;
631
+ job_id: string;
632
+ start?: number | undefined;
633
+ limit?: number | undefined;
634
+ max_lines?: number | undefined;
635
+ }, {
636
+ project_id: string;
637
+ job_id: string;
638
+ start?: number | undefined;
639
+ limit?: number | undefined;
640
+ max_lines?: number | undefined;
641
+ }>;
232
642
  export type GitLabPipeline = z.infer<typeof GitLabPipelineSchema>;
233
643
  export type GitLabPipelineJob = z.infer<typeof GitLabPipelineJobSchema>;
234
644
  export type GitLabPipelineTriggerJob = z.infer<typeof GitLabPipelineTriggerJobSchema>;