@structured-world/gitlab-mcp 6.2.2 → 6.2.3
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.
- package/dist/src/entities/core/registry.js +51 -47
- package/dist/src/entities/core/registry.js.map +1 -1
- package/dist/src/entities/core/schema-readonly.d.ts +38 -93
- package/dist/src/entities/core/schema-readonly.js +69 -70
- package/dist/src/entities/core/schema-readonly.js.map +1 -1
- package/dist/src/entities/core/schema.d.ts +17 -27
- package/dist/src/entities/core/schema.js +44 -31
- package/dist/src/entities/core/schema.js.map +1 -1
- package/dist/src/entities/files/registry.js +25 -15
- package/dist/src/entities/files/registry.js.map +1 -1
- package/dist/src/entities/files/schema-readonly.d.ts +7 -23
- package/dist/src/entities/files/schema-readonly.js +24 -30
- package/dist/src/entities/files/schema-readonly.js.map +1 -1
- package/dist/src/entities/files/schema.d.ts +14 -62
- package/dist/src/entities/files/schema.js +73 -63
- package/dist/src/entities/files/schema.js.map +1 -1
- package/dist/src/entities/mrs/registry.js +58 -32
- package/dist/src/entities/mrs/registry.js.map +1 -1
- package/dist/src/entities/mrs/schema-readonly.d.ts +21 -160
- package/dist/src/entities/mrs/schema-readonly.js +306 -197
- package/dist/src/entities/mrs/schema-readonly.js.map +1 -1
- package/dist/src/entities/mrs/schema.d.ts +34 -394
- package/dist/src/entities/mrs/schema.js +234 -227
- package/dist/src/entities/mrs/schema.js.map +1 -1
- package/dist/src/entities/pipelines/registry.js +30 -14
- package/dist/src/entities/pipelines/registry.js.map +1 -1
- package/dist/src/entities/pipelines/schema-readonly.d.ts +16 -32
- package/dist/src/entities/pipelines/schema-readonly.js +54 -52
- package/dist/src/entities/pipelines/schema-readonly.js.map +1 -1
- package/dist/src/entities/pipelines/schema.d.ts +16 -23
- package/dist/src/entities/pipelines/schema.js +24 -37
- package/dist/src/entities/pipelines/schema.js.map +1 -1
- package/dist/src/entities/utils.d.ts +1 -0
- package/dist/src/entities/utils.js +6 -0
- package/dist/src/entities/utils.js.map +1 -1
- package/dist/src/entities/workitems/registry.js +30 -21
- package/dist/src/entities/workitems/registry.js.map +1 -1
- package/dist/src/entities/workitems/schema-readonly.d.ts +7 -35
- package/dist/src/entities/workitems/schema-readonly.js +15 -41
- package/dist/src/entities/workitems/schema-readonly.js.map +1 -1
- package/dist/src/entities/workitems/schema.d.ts +10 -52
- package/dist/src/entities/workitems/schema.js +26 -48
- package/dist/src/entities/workitems/schema.js.map +1 -1
- package/dist/structured-world-gitlab-mcp-6.2.3.tgz +0 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/structured-world-gitlab-mcp-6.2.2.tgz +0 -0
|
@@ -36,272 +36,20 @@ export declare const MergeRequestThreadPositionSchema: z.ZodObject<{
|
|
|
36
36
|
x: z.ZodOptional<z.ZodNumber>;
|
|
37
37
|
y: z.ZodOptional<z.ZodNumber>;
|
|
38
38
|
}, z.core.$strip>;
|
|
39
|
-
export declare const ManageMergeRequestSchema: z.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
reviewer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
48
|
-
description: z.ZodOptional<z.ZodString>;
|
|
49
|
-
target_project_id: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
50
|
-
labels: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
51
|
-
milestone_id: z.ZodOptional<z.ZodString>;
|
|
52
|
-
remove_source_branch: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
53
|
-
allow_collaboration: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
54
|
-
allow_maintainer_to_push: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
55
|
-
squash: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
56
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
58
|
-
action: z.ZodLiteral<"update">;
|
|
59
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
39
|
+
export declare const ManageMergeRequestSchema: z.ZodObject<{
|
|
40
|
+
action: z.ZodEnum<{
|
|
41
|
+
create: "create";
|
|
42
|
+
update: "update";
|
|
43
|
+
merge: "merge";
|
|
44
|
+
}>;
|
|
45
|
+
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
46
|
+
source_branch: z.ZodOptional<z.ZodString>;
|
|
60
47
|
target_branch: z.ZodOptional<z.ZodString>;
|
|
61
48
|
title: z.ZodOptional<z.ZodString>;
|
|
62
49
|
assignee_id: z.ZodOptional<z.ZodString>;
|
|
63
50
|
assignee_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
51
|
reviewer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
52
|
description: z.ZodOptional<z.ZodString>;
|
|
66
|
-
labels: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
67
|
-
add_labels: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
68
|
-
remove_labels: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
69
|
-
state_event: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodEnum<{
|
|
70
|
-
close: "close";
|
|
71
|
-
reopen: "reopen";
|
|
72
|
-
}>>>;
|
|
73
|
-
remove_source_branch: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
74
|
-
squash: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
75
|
-
discussion_locked: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
76
|
-
allow_collaboration: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
77
|
-
allow_maintainer_to_push: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
78
|
-
milestone_id: z.ZodOptional<z.ZodString>;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
81
|
-
action: z.ZodLiteral<"merge">;
|
|
82
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
83
|
-
merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
84
|
-
squash_commit_message: z.ZodOptional<z.ZodString>;
|
|
85
|
-
should_remove_source_branch: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
86
|
-
merge_when_pipeline_succeeds: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
87
|
-
sha: z.ZodOptional<z.ZodString>;
|
|
88
|
-
squash: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
89
|
-
}, z.core.$strip>], "action">;
|
|
90
|
-
export declare const ManageMrDiscussionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
91
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
92
|
-
action: z.ZodLiteral<"comment">;
|
|
93
|
-
noteable_type: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodEnum<{
|
|
94
|
-
issue: "issue";
|
|
95
|
-
merge_request: "merge_request";
|
|
96
|
-
}>>;
|
|
97
|
-
noteable_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
98
|
-
body: z.ZodString;
|
|
99
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
100
|
-
confidential: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
101
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
103
|
-
action: z.ZodLiteral<"thread">;
|
|
104
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
105
|
-
body: z.ZodString;
|
|
106
|
-
position: z.ZodOptional<z.ZodObject<{
|
|
107
|
-
base_sha: z.ZodOptional<z.ZodString>;
|
|
108
|
-
start_sha: z.ZodOptional<z.ZodString>;
|
|
109
|
-
head_sha: z.ZodOptional<z.ZodString>;
|
|
110
|
-
position_type: z.ZodOptional<z.ZodEnum<{
|
|
111
|
-
text: "text";
|
|
112
|
-
image: "image";
|
|
113
|
-
}>>;
|
|
114
|
-
old_path: z.ZodOptional<z.ZodString>;
|
|
115
|
-
new_path: z.ZodOptional<z.ZodString>;
|
|
116
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
117
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
118
|
-
line_range: z.ZodOptional<z.ZodObject<{
|
|
119
|
-
start: z.ZodObject<{
|
|
120
|
-
line_code: z.ZodString;
|
|
121
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
122
|
-
new: "new";
|
|
123
|
-
old: "old";
|
|
124
|
-
}>>;
|
|
125
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
126
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
127
|
-
}, z.core.$strip>;
|
|
128
|
-
end: z.ZodObject<{
|
|
129
|
-
line_code: z.ZodString;
|
|
130
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
131
|
-
new: "new";
|
|
132
|
-
old: "old";
|
|
133
|
-
}>>;
|
|
134
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
135
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
136
|
-
}, z.core.$strip>;
|
|
137
|
-
}, z.core.$strip>>;
|
|
138
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
139
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
140
|
-
x: z.ZodOptional<z.ZodNumber>;
|
|
141
|
-
y: z.ZodOptional<z.ZodNumber>;
|
|
142
|
-
}, z.core.$strip>>;
|
|
143
|
-
commit_id: z.ZodOptional<z.ZodString>;
|
|
144
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
145
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
146
|
-
action: z.ZodLiteral<"reply">;
|
|
147
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
148
|
-
discussion_id: z.ZodString;
|
|
149
|
-
body: z.ZodString;
|
|
150
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
151
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
152
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
153
|
-
action: z.ZodLiteral<"update">;
|
|
154
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
155
|
-
note_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
156
|
-
body: z.ZodString;
|
|
157
|
-
}, z.core.$strip>], "action">;
|
|
158
|
-
export declare const ManageDraftNotesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
159
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
160
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
161
|
-
action: z.ZodLiteral<"create">;
|
|
162
|
-
note: z.ZodString;
|
|
163
|
-
position: z.ZodOptional<z.ZodObject<{
|
|
164
|
-
base_sha: z.ZodOptional<z.ZodString>;
|
|
165
|
-
start_sha: z.ZodOptional<z.ZodString>;
|
|
166
|
-
head_sha: z.ZodOptional<z.ZodString>;
|
|
167
|
-
position_type: z.ZodOptional<z.ZodEnum<{
|
|
168
|
-
text: "text";
|
|
169
|
-
image: "image";
|
|
170
|
-
}>>;
|
|
171
|
-
old_path: z.ZodOptional<z.ZodString>;
|
|
172
|
-
new_path: z.ZodOptional<z.ZodString>;
|
|
173
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
174
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
175
|
-
line_range: z.ZodOptional<z.ZodObject<{
|
|
176
|
-
start: z.ZodObject<{
|
|
177
|
-
line_code: z.ZodString;
|
|
178
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
179
|
-
new: "new";
|
|
180
|
-
old: "old";
|
|
181
|
-
}>>;
|
|
182
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
183
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
184
|
-
}, z.core.$strip>;
|
|
185
|
-
end: z.ZodObject<{
|
|
186
|
-
line_code: z.ZodString;
|
|
187
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
188
|
-
new: "new";
|
|
189
|
-
old: "old";
|
|
190
|
-
}>>;
|
|
191
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
192
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
193
|
-
}, z.core.$strip>;
|
|
194
|
-
}, z.core.$strip>>;
|
|
195
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
196
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
197
|
-
x: z.ZodOptional<z.ZodNumber>;
|
|
198
|
-
y: z.ZodOptional<z.ZodNumber>;
|
|
199
|
-
}, z.core.$strip>>;
|
|
200
|
-
in_reply_to_discussion_id: z.ZodOptional<z.ZodString>;
|
|
201
|
-
commit_id: z.ZodOptional<z.ZodString>;
|
|
202
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
203
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
204
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
205
|
-
action: z.ZodLiteral<"update">;
|
|
206
|
-
draft_note_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
207
|
-
note: z.ZodString;
|
|
208
|
-
position: z.ZodOptional<z.ZodObject<{
|
|
209
|
-
base_sha: z.ZodOptional<z.ZodString>;
|
|
210
|
-
start_sha: z.ZodOptional<z.ZodString>;
|
|
211
|
-
head_sha: z.ZodOptional<z.ZodString>;
|
|
212
|
-
position_type: z.ZodOptional<z.ZodEnum<{
|
|
213
|
-
text: "text";
|
|
214
|
-
image: "image";
|
|
215
|
-
}>>;
|
|
216
|
-
old_path: z.ZodOptional<z.ZodString>;
|
|
217
|
-
new_path: z.ZodOptional<z.ZodString>;
|
|
218
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
219
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
220
|
-
line_range: z.ZodOptional<z.ZodObject<{
|
|
221
|
-
start: z.ZodObject<{
|
|
222
|
-
line_code: z.ZodString;
|
|
223
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
224
|
-
new: "new";
|
|
225
|
-
old: "old";
|
|
226
|
-
}>>;
|
|
227
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
228
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
229
|
-
}, z.core.$strip>;
|
|
230
|
-
end: z.ZodObject<{
|
|
231
|
-
line_code: z.ZodString;
|
|
232
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
233
|
-
new: "new";
|
|
234
|
-
old: "old";
|
|
235
|
-
}>>;
|
|
236
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
237
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
238
|
-
}, z.core.$strip>;
|
|
239
|
-
}, z.core.$strip>>;
|
|
240
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
241
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
242
|
-
x: z.ZodOptional<z.ZodNumber>;
|
|
243
|
-
y: z.ZodOptional<z.ZodNumber>;
|
|
244
|
-
}, z.core.$strip>>;
|
|
245
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
246
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
247
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
248
|
-
action: z.ZodLiteral<"publish">;
|
|
249
|
-
draft_note_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
250
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
251
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
252
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
253
|
-
action: z.ZodLiteral<"publish_all">;
|
|
254
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
255
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
256
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
257
|
-
action: z.ZodLiteral<"delete">;
|
|
258
|
-
draft_note_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
259
|
-
}, z.core.$strip>], "action">;
|
|
260
|
-
export declare const MergeRequestThreadPositionCreateSchema: z.ZodObject<{
|
|
261
|
-
base_sha: z.ZodOptional<z.ZodString>;
|
|
262
|
-
start_sha: z.ZodOptional<z.ZodString>;
|
|
263
|
-
head_sha: z.ZodOptional<z.ZodString>;
|
|
264
|
-
position_type: z.ZodOptional<z.ZodEnum<{
|
|
265
|
-
text: "text";
|
|
266
|
-
image: "image";
|
|
267
|
-
}>>;
|
|
268
|
-
old_path: z.ZodOptional<z.ZodString>;
|
|
269
|
-
new_path: z.ZodOptional<z.ZodString>;
|
|
270
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
271
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
272
|
-
line_range: z.ZodOptional<z.ZodObject<{
|
|
273
|
-
start: z.ZodObject<{
|
|
274
|
-
line_code: z.ZodString;
|
|
275
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
276
|
-
new: "new";
|
|
277
|
-
old: "old";
|
|
278
|
-
}>>;
|
|
279
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
280
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
281
|
-
}, z.core.$strip>;
|
|
282
|
-
end: z.ZodObject<{
|
|
283
|
-
line_code: z.ZodString;
|
|
284
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
285
|
-
new: "new";
|
|
286
|
-
old: "old";
|
|
287
|
-
}>>;
|
|
288
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
289
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
290
|
-
}, z.core.$strip>;
|
|
291
|
-
}, z.core.$strip>>;
|
|
292
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
293
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
294
|
-
x: z.ZodOptional<z.ZodNumber>;
|
|
295
|
-
y: z.ZodOptional<z.ZodNumber>;
|
|
296
|
-
}, z.core.$strip>;
|
|
297
|
-
export declare const CreateMergeRequestOptionsSchema: z.ZodObject<{
|
|
298
|
-
source_branch: z.ZodString;
|
|
299
|
-
target_branch: z.ZodString;
|
|
300
|
-
title: z.ZodString;
|
|
301
|
-
assignee_id: z.ZodOptional<z.ZodString>;
|
|
302
|
-
assignee_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
303
|
-
reviewer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
304
|
-
description: z.ZodOptional<z.ZodString>;
|
|
305
53
|
target_project_id: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
306
54
|
labels: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
307
55
|
milestone_id: z.ZodOptional<z.ZodString>;
|
|
@@ -309,72 +57,35 @@ export declare const CreateMergeRequestOptionsSchema: z.ZodObject<{
|
|
|
309
57
|
allow_collaboration: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
310
58
|
allow_maintainer_to_push: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
311
59
|
squash: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
312
|
-
}, z.
|
|
313
|
-
export declare const CreateMergeRequestSchema: z.ZodObject<{
|
|
314
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
315
|
-
source_branch: z.ZodString;
|
|
316
|
-
target_branch: z.ZodString;
|
|
317
|
-
title: z.ZodString;
|
|
318
|
-
assignee_id: z.ZodOptional<z.ZodString>;
|
|
319
|
-
assignee_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
320
|
-
reviewer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
321
|
-
description: z.ZodOptional<z.ZodString>;
|
|
322
|
-
target_project_id: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
323
|
-
labels: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
324
|
-
milestone_id: z.ZodOptional<z.ZodString>;
|
|
325
|
-
remove_source_branch: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
326
|
-
allow_collaboration: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
327
|
-
allow_maintainer_to_push: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
328
|
-
squash: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
329
|
-
}, z.core.$strip>;
|
|
330
|
-
export declare const UpdateMergeRequestSchema: z.ZodObject<{
|
|
331
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
332
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
333
|
-
target_branch: z.ZodOptional<z.ZodString>;
|
|
334
|
-
title: z.ZodOptional<z.ZodString>;
|
|
335
|
-
assignee_id: z.ZodOptional<z.ZodString>;
|
|
336
|
-
assignee_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
337
|
-
reviewer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
338
|
-
description: z.ZodOptional<z.ZodString>;
|
|
339
|
-
labels: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
60
|
+
merge_request_iid: z.ZodOptional<z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>>;
|
|
340
61
|
add_labels: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
341
62
|
remove_labels: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
342
63
|
state_event: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodEnum<{
|
|
343
64
|
close: "close";
|
|
344
65
|
reopen: "reopen";
|
|
345
66
|
}>>>;
|
|
346
|
-
remove_source_branch: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
347
|
-
squash: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
348
67
|
discussion_locked: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
349
|
-
allow_collaboration: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
350
|
-
allow_maintainer_to_push: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
351
|
-
milestone_id: z.ZodOptional<z.ZodString>;
|
|
352
|
-
}, z.core.$strip>;
|
|
353
|
-
export declare const MergeMergeRequestSchema: z.ZodObject<{
|
|
354
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
355
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
356
68
|
merge_commit_message: z.ZodOptional<z.ZodString>;
|
|
357
69
|
squash_commit_message: z.ZodOptional<z.ZodString>;
|
|
358
70
|
should_remove_source_branch: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
359
71
|
merge_when_pipeline_succeeds: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
360
72
|
sha: z.ZodOptional<z.ZodString>;
|
|
361
|
-
squash: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
362
73
|
}, z.core.$strip>;
|
|
363
|
-
export declare const
|
|
364
|
-
|
|
365
|
-
|
|
74
|
+
export declare const ManageMrDiscussionSchema: z.ZodObject<{
|
|
75
|
+
action: z.ZodEnum<{
|
|
76
|
+
update: "update";
|
|
77
|
+
comment: "comment";
|
|
78
|
+
thread: "thread";
|
|
79
|
+
reply: "reply";
|
|
80
|
+
}>;
|
|
81
|
+
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
82
|
+
noteable_type: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodEnum<{
|
|
366
83
|
issue: "issue";
|
|
367
84
|
merge_request: "merge_request";
|
|
368
|
-
}
|
|
369
|
-
noteable_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown
|
|
370
|
-
body: z.ZodString;
|
|
371
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
85
|
+
}>>>;
|
|
86
|
+
noteable_id: z.ZodOptional<z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>>;
|
|
372
87
|
confidential: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
373
|
-
}, z.
|
|
374
|
-
export declare const CreateMergeRequestThreadSchema: z.ZodObject<{
|
|
375
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
376
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
377
|
-
body: z.ZodString;
|
|
88
|
+
merge_request_iid: z.ZodOptional<z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>>;
|
|
378
89
|
position: z.ZodOptional<z.ZodObject<{
|
|
379
90
|
base_sha: z.ZodOptional<z.ZodString>;
|
|
380
91
|
start_sha: z.ZodOptional<z.ZodString>;
|
|
@@ -413,24 +124,22 @@ export declare const CreateMergeRequestThreadSchema: z.ZodObject<{
|
|
|
413
124
|
y: z.ZodOptional<z.ZodNumber>;
|
|
414
125
|
}, z.core.$strip>>;
|
|
415
126
|
commit_id: z.ZodOptional<z.ZodString>;
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
420
|
-
note_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
421
|
-
body: z.ZodString;
|
|
422
|
-
}, z.core.$strip>;
|
|
423
|
-
export declare const CreateMergeRequestNoteSchema: z.ZodObject<{
|
|
424
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
425
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
426
|
-
discussion_id: z.ZodString;
|
|
427
|
-
body: z.ZodString;
|
|
127
|
+
discussion_id: z.ZodOptional<z.ZodString>;
|
|
128
|
+
note_id: z.ZodOptional<z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>>;
|
|
129
|
+
body: z.ZodOptional<z.ZodString>;
|
|
428
130
|
created_at: z.ZodOptional<z.ZodString>;
|
|
429
131
|
}, z.core.$strip>;
|
|
430
|
-
export declare const
|
|
132
|
+
export declare const ManageDraftNotesSchema: z.ZodObject<{
|
|
133
|
+
action: z.ZodEnum<{
|
|
134
|
+
create: "create";
|
|
135
|
+
update: "update";
|
|
136
|
+
delete: "delete";
|
|
137
|
+
publish: "publish";
|
|
138
|
+
publish_all: "publish_all";
|
|
139
|
+
}>;
|
|
431
140
|
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
432
141
|
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
433
|
-
note: z.ZodString
|
|
142
|
+
note: z.ZodOptional<z.ZodString>;
|
|
434
143
|
position: z.ZodOptional<z.ZodObject<{
|
|
435
144
|
base_sha: z.ZodOptional<z.ZodString>;
|
|
436
145
|
start_sha: z.ZodOptional<z.ZodString>;
|
|
@@ -470,78 +179,9 @@ export declare const CreateDraftNoteSchema: z.ZodObject<{
|
|
|
470
179
|
}, z.core.$strip>>;
|
|
471
180
|
in_reply_to_discussion_id: z.ZodOptional<z.ZodString>;
|
|
472
181
|
commit_id: z.ZodOptional<z.ZodString>;
|
|
473
|
-
}, z.
|
|
474
|
-
export declare const UpdateDraftNoteSchema: z.ZodObject<{
|
|
475
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
476
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
477
|
-
draft_note_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
478
|
-
note: z.ZodString;
|
|
479
|
-
position: z.ZodOptional<z.ZodObject<{
|
|
480
|
-
base_sha: z.ZodOptional<z.ZodString>;
|
|
481
|
-
start_sha: z.ZodOptional<z.ZodString>;
|
|
482
|
-
head_sha: z.ZodOptional<z.ZodString>;
|
|
483
|
-
position_type: z.ZodOptional<z.ZodEnum<{
|
|
484
|
-
text: "text";
|
|
485
|
-
image: "image";
|
|
486
|
-
}>>;
|
|
487
|
-
old_path: z.ZodOptional<z.ZodString>;
|
|
488
|
-
new_path: z.ZodOptional<z.ZodString>;
|
|
489
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
490
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
491
|
-
line_range: z.ZodOptional<z.ZodObject<{
|
|
492
|
-
start: z.ZodObject<{
|
|
493
|
-
line_code: z.ZodString;
|
|
494
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
495
|
-
new: "new";
|
|
496
|
-
old: "old";
|
|
497
|
-
}>>;
|
|
498
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
499
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
500
|
-
}, z.core.$strip>;
|
|
501
|
-
end: z.ZodObject<{
|
|
502
|
-
line_code: z.ZodString;
|
|
503
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
504
|
-
new: "new";
|
|
505
|
-
old: "old";
|
|
506
|
-
}>>;
|
|
507
|
-
old_line: z.ZodOptional<z.ZodNumber>;
|
|
508
|
-
new_line: z.ZodOptional<z.ZodNumber>;
|
|
509
|
-
}, z.core.$strip>;
|
|
510
|
-
}, z.core.$strip>>;
|
|
511
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
512
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
513
|
-
x: z.ZodOptional<z.ZodNumber>;
|
|
514
|
-
y: z.ZodOptional<z.ZodNumber>;
|
|
515
|
-
}, z.core.$strip>>;
|
|
516
|
-
}, z.core.$strip>;
|
|
517
|
-
export declare const DeleteDraftNoteSchema: z.ZodObject<{
|
|
518
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
519
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
520
|
-
draft_note_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
521
|
-
}, z.core.$strip>;
|
|
522
|
-
export declare const PublishDraftNoteSchema: z.ZodObject<{
|
|
523
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
524
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
525
|
-
draft_note_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
526
|
-
}, z.core.$strip>;
|
|
527
|
-
export declare const BulkPublishDraftNotesSchema: z.ZodObject<{
|
|
528
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
529
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
182
|
+
draft_note_id: z.ZodOptional<z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>>;
|
|
530
183
|
}, z.core.$strip>;
|
|
531
184
|
export type ManageMergeRequestInput = z.infer<typeof ManageMergeRequestSchema>;
|
|
532
185
|
export type ManageMrDiscussionInput = z.infer<typeof ManageMrDiscussionSchema>;
|
|
533
186
|
export type ManageDraftNotesInput = z.infer<typeof ManageDraftNotesSchema>;
|
|
534
187
|
export type MergeRequestThreadPosition = z.infer<typeof MergeRequestThreadPositionSchema>;
|
|
535
|
-
export type CreateMergeRequestOptions = z.infer<typeof CreateMergeRequestSchema>;
|
|
536
|
-
export type UpdateMergeRequestOptions = z.infer<typeof UpdateMergeRequestSchema>;
|
|
537
|
-
export type MergeMergeRequestOptions = z.infer<typeof MergeMergeRequestSchema>;
|
|
538
|
-
export type CreateNoteOptions = z.infer<typeof CreateNoteSchema>;
|
|
539
|
-
export type MergeRequestThreadPositionCreate = z.infer<typeof MergeRequestThreadPositionCreateSchema>;
|
|
540
|
-
export type CreateMergeRequestThreadOptions = z.infer<typeof CreateMergeRequestThreadSchema>;
|
|
541
|
-
export type UpdateMergeRequestNoteOptions = z.infer<typeof UpdateMergeRequestNoteSchema>;
|
|
542
|
-
export type CreateMergeRequestNoteOptions = z.infer<typeof CreateMergeRequestNoteSchema>;
|
|
543
|
-
export type CreateDraftNoteOptions = z.infer<typeof CreateDraftNoteSchema>;
|
|
544
|
-
export type UpdateDraftNoteOptions = z.infer<typeof UpdateDraftNoteSchema>;
|
|
545
|
-
export type DeleteDraftNoteOptions = z.infer<typeof DeleteDraftNoteSchema>;
|
|
546
|
-
export type PublishDraftNoteOptions = z.infer<typeof PublishDraftNoteSchema>;
|
|
547
|
-
export type BulkPublishDraftNotesOptions = z.infer<typeof BulkPublishDraftNotesSchema>;
|