node-cnb 1.19.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1013 -250
- package/dist/index.d.ts +1013 -250
- package/dist/index.js +646 -343
- package/dist/index.mjs +646 -343
- package/dist/paths.json +713 -337
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,15 +1,32 @@
|
|
|
1
1
|
//#region src/types.d.ts
|
|
2
2
|
|
|
3
3
|
type ApiBranch = {
|
|
4
|
+
/**分支指向的最新提交信息。*/
|
|
4
5
|
commit: {
|
|
6
|
+
/**最新提交的哈希值。*/
|
|
5
7
|
sha: string;
|
|
6
8
|
};
|
|
9
|
+
|
|
10
|
+
/**分支是否被锁定。*/
|
|
11
|
+
locked: boolean;
|
|
12
|
+
|
|
13
|
+
/**分支名称。*/
|
|
7
14
|
name: string;
|
|
15
|
+
|
|
16
|
+
/**分支是否是保护分支。*/
|
|
8
17
|
protected: boolean;
|
|
9
18
|
};
|
|
10
19
|
type ApiBranchDetail = {
|
|
11
|
-
|
|
20
|
+
/**分支指向的最新提交信息。*/
|
|
21
|
+
commit: any;
|
|
22
|
+
|
|
23
|
+
/**分支是否被锁定。*/
|
|
24
|
+
locked: boolean;
|
|
25
|
+
|
|
26
|
+
/**分支名称。*/
|
|
12
27
|
name: string;
|
|
28
|
+
|
|
29
|
+
/**分支是否是保护分支。*/
|
|
13
30
|
protected: boolean;
|
|
14
31
|
};
|
|
15
32
|
type ApiBranchProtection = {
|
|
@@ -71,174 +88,353 @@ type ApiBranchProtection = {
|
|
|
71
88
|
rule: string;
|
|
72
89
|
};
|
|
73
90
|
type ApiCommit = {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
91
|
+
/**提交的作者信息。*/
|
|
92
|
+
author: any;
|
|
93
|
+
|
|
94
|
+
/**提交的详细信息。*/
|
|
95
|
+
commit: any;
|
|
96
|
+
|
|
97
|
+
/**提交的提交者信息。*/
|
|
98
|
+
committer: any;
|
|
99
|
+
|
|
100
|
+
/**父提交列表。*/
|
|
77
101
|
parents: ApiCommitParent[];
|
|
102
|
+
|
|
103
|
+
/**提交的哈希值。*/
|
|
78
104
|
sha: string;
|
|
79
105
|
};
|
|
80
106
|
type ApiCommitAsset = {
|
|
81
|
-
|
|
107
|
+
/**提交附件作者信息。*/
|
|
108
|
+
author: any;
|
|
109
|
+
|
|
110
|
+
/**附件内容类型。*/
|
|
82
111
|
content_type: string;
|
|
112
|
+
|
|
113
|
+
/**附件创建时间。*/
|
|
83
114
|
created_at: string;
|
|
115
|
+
|
|
116
|
+
/**下载次数。*/
|
|
117
|
+
download_count: number;
|
|
118
|
+
|
|
119
|
+
/**附件唯一标识符。*/
|
|
84
120
|
id: string;
|
|
121
|
+
|
|
122
|
+
/**附件名称。*/
|
|
85
123
|
name: string;
|
|
124
|
+
|
|
125
|
+
/**附件路径。*/
|
|
86
126
|
path: string;
|
|
127
|
+
|
|
128
|
+
/**附件大小(字节)。*/
|
|
87
129
|
size_in_byte: number;
|
|
130
|
+
|
|
131
|
+
/**附件更新时间。*/
|
|
88
132
|
updated_at: string;
|
|
89
133
|
};
|
|
90
134
|
type ApiCommitDiffFilePatch = {
|
|
135
|
+
/**新增行数。*/
|
|
91
136
|
additions: number;
|
|
137
|
+
|
|
138
|
+
/**删除行数。*/
|
|
92
139
|
deletions: number;
|
|
140
|
+
|
|
141
|
+
/**文件权限模式。*/
|
|
93
142
|
mode: string;
|
|
143
|
+
|
|
144
|
+
/**文件名。*/
|
|
94
145
|
name: string;
|
|
146
|
+
|
|
147
|
+
/**Git差异补丁内容。*/
|
|
95
148
|
patch: string;
|
|
149
|
+
|
|
150
|
+
/**文件路径。*/
|
|
96
151
|
path: string;
|
|
152
|
+
|
|
153
|
+
/**重命名前的原文件名。*/
|
|
97
154
|
previous_filename: string;
|
|
155
|
+
|
|
156
|
+
/**重命名前的文件权限模式。*/
|
|
98
157
|
previous_mode: string;
|
|
158
|
+
|
|
159
|
+
/**文件变更状态。枚举值:`added`,`modified`,`deleted`,`renamed`,`copied`*/
|
|
99
160
|
status: string;
|
|
100
161
|
};
|
|
101
|
-
type ApiCommitObject = {
|
|
102
|
-
author: ApiSignature;
|
|
103
|
-
comment_count: number;
|
|
104
|
-
committer: ApiSignature;
|
|
105
|
-
message: string;
|
|
106
|
-
tree: ApiCommitObjectTree;
|
|
107
|
-
verification: ApiCommitObjectVerification;
|
|
108
|
-
};
|
|
109
|
-
type ApiCommitObjectTree = {
|
|
110
|
-
sha: string;
|
|
111
|
-
};
|
|
112
|
-
type ApiCommitObjectVerification = {
|
|
113
|
-
payload: string;
|
|
114
|
-
reason: string;
|
|
115
|
-
signature: string;
|
|
116
|
-
verified: boolean;
|
|
117
|
-
verified_at: string;
|
|
118
|
-
};
|
|
119
162
|
type ApiCommitParent = {
|
|
163
|
+
/**父提交的哈希值。*/
|
|
120
164
|
sha: string;
|
|
121
165
|
};
|
|
122
166
|
type ApiCommitStatuses = {
|
|
167
|
+
/**提交的哈希值。*/
|
|
123
168
|
sha: string;
|
|
169
|
+
|
|
170
|
+
/**整体提交状态。*/
|
|
124
171
|
state: string;
|
|
172
|
+
|
|
173
|
+
/**具体的提交状态检查列表。*/
|
|
125
174
|
statuses: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus[];
|
|
126
175
|
};
|
|
127
176
|
type ApiCompareResponse = {
|
|
128
|
-
|
|
177
|
+
/**基准对比提交。*/
|
|
178
|
+
base_commit: any;
|
|
179
|
+
|
|
180
|
+
/**提交列表。*/
|
|
129
181
|
commits: ApiCommit[];
|
|
182
|
+
|
|
183
|
+
/**文件差异列表。*/
|
|
130
184
|
files: ApiCommitDiffFilePatch[];
|
|
131
|
-
|
|
132
|
-
|
|
185
|
+
|
|
186
|
+
/**源分支最新提交。*/
|
|
187
|
+
head_commit: any;
|
|
188
|
+
|
|
189
|
+
/**共同祖先提交。*/
|
|
190
|
+
merge_base_commit: any;
|
|
191
|
+
|
|
192
|
+
/**总提交数。*/
|
|
133
193
|
total_commits: number;
|
|
134
194
|
};
|
|
135
195
|
type ApiContent = {
|
|
196
|
+
/**当内容为text时的实际内容(base64编码)。*/
|
|
136
197
|
content: string;
|
|
198
|
+
|
|
199
|
+
/**内容编码方式,仅当内容类型为blob时有效。枚举值:`base64`*/
|
|
137
200
|
encoding: string;
|
|
201
|
+
|
|
202
|
+
/**子项列表,当内容类型为tree时返回,否则为空。*/
|
|
138
203
|
entries: ApiTreeEntry[];
|
|
204
|
+
|
|
205
|
+
/**LFS对象的下载URL,仅当内容类型为lfs时有效。*/
|
|
139
206
|
lfs_download_url: string;
|
|
207
|
+
|
|
208
|
+
/**LFS对象的唯一标识符,仅当内容类型为lfs时有效。*/
|
|
140
209
|
lfs_oid: string;
|
|
210
|
+
|
|
211
|
+
/**LFS对象的大小(字节),仅当内容类型为lfs时有效。*/
|
|
141
212
|
lfs_size: number;
|
|
213
|
+
|
|
214
|
+
/**内容名称(文件名或目录名)。*/
|
|
142
215
|
name: string;
|
|
216
|
+
|
|
217
|
+
/**内容在仓库中的完整路径。*/
|
|
143
218
|
path: string;
|
|
219
|
+
|
|
220
|
+
/**Git对象的哈希值。*/
|
|
144
221
|
sha: string;
|
|
222
|
+
|
|
223
|
+
/**内容大小(字节)。*/
|
|
145
224
|
size: number;
|
|
225
|
+
|
|
226
|
+
/**内容类型。枚举值:`tree`、`blob`、`lfs`、`empty`*/
|
|
146
227
|
type: string;
|
|
147
228
|
};
|
|
148
229
|
type ApiDeleteIssueAssigneesForm = {
|
|
230
|
+
/**Issue处理人用户名列表,最大限制为8。示例:`["zhangsan", "lisi"]`*/
|
|
149
231
|
assignees: string[];
|
|
150
232
|
};
|
|
151
233
|
type ApiDeletePullAssigneesForm = {
|
|
234
|
+
/**合并请求的处理人用户列表。*/
|
|
152
235
|
assignees: string[];
|
|
153
236
|
};
|
|
154
237
|
type ApiDiffLine = {
|
|
238
|
+
/**实际内容文本。*/
|
|
155
239
|
content: string;
|
|
240
|
+
|
|
241
|
+
/**左侧(原版本)的行号。*/
|
|
156
242
|
left_line_number: number;
|
|
243
|
+
|
|
244
|
+
/**差异行的前缀符号。*/
|
|
157
245
|
prefix: string;
|
|
246
|
+
|
|
247
|
+
/**右侧(新版本)的行号。*/
|
|
158
248
|
right_line_number: number;
|
|
249
|
+
|
|
250
|
+
/**枚举值:`context`,`addition`,`deletion`,`context_eofnl`,`add_eofnl`,`del_eofnl`,`file_header`,`hunk_header`,`binary`*/
|
|
159
251
|
type: string;
|
|
160
252
|
};
|
|
161
253
|
type ApiIssue = {
|
|
254
|
+
/**Issue处理人列表,最多支持8个处理人。*/
|
|
162
255
|
assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
163
|
-
|
|
256
|
+
|
|
257
|
+
/**Issue创建者信息。*/
|
|
258
|
+
author: any;
|
|
259
|
+
|
|
260
|
+
/**Issue评论数量。*/
|
|
164
261
|
comment_count: number;
|
|
262
|
+
|
|
263
|
+
/**Issue创建时间。*/
|
|
165
264
|
created_at: string;
|
|
265
|
+
|
|
266
|
+
/**Issue结束日期。*/
|
|
166
267
|
ended_at: string;
|
|
268
|
+
|
|
269
|
+
/**Issue是否可见。*/
|
|
270
|
+
invisible: boolean;
|
|
271
|
+
|
|
272
|
+
/**Issue标签列表,最多支持10个标签。*/
|
|
167
273
|
labels: ApiLabel[];
|
|
274
|
+
|
|
275
|
+
/**Issue最后活动时间。*/
|
|
168
276
|
last_acted_at: string;
|
|
277
|
+
|
|
278
|
+
/**Issue的唯一标识编号。*/
|
|
169
279
|
number: string;
|
|
280
|
+
|
|
281
|
+
/**Issue优先级。枚举值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
170
282
|
priority: string;
|
|
283
|
+
|
|
284
|
+
/**Issue开始日期。*/
|
|
171
285
|
started_at: string;
|
|
286
|
+
|
|
287
|
+
/**Issue状态。枚举值:`open`,`closed`*/
|
|
172
288
|
state: string;
|
|
289
|
+
|
|
290
|
+
/**状态变更原因。枚举值:`open`,`completed`,`not_planned`,`reopened`*/
|
|
173
291
|
state_reason: string;
|
|
292
|
+
|
|
293
|
+
/**Issue标题,长度限制2-255字符。*/
|
|
174
294
|
title: string;
|
|
295
|
+
|
|
296
|
+
/**Issue最后更新时间。*/
|
|
175
297
|
updated_at: string;
|
|
176
298
|
};
|
|
177
299
|
type ApiIssueComment = {
|
|
178
|
-
|
|
300
|
+
/**发表评论的用户信息。*/
|
|
301
|
+
author: any;
|
|
302
|
+
|
|
303
|
+
/**评论的内容。*/
|
|
179
304
|
body: string;
|
|
305
|
+
|
|
306
|
+
/**评论的创建时间。*/
|
|
180
307
|
created_at: string;
|
|
308
|
+
|
|
309
|
+
/**评论的唯一标识符。*/
|
|
181
310
|
id: string;
|
|
311
|
+
|
|
312
|
+
/**Reaction 数量列表。*/
|
|
313
|
+
reactions: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiSceneReaction[];
|
|
314
|
+
|
|
315
|
+
/**评论的更新时间。*/
|
|
182
316
|
updated_at: string;
|
|
183
317
|
};
|
|
184
318
|
type ApiIssueDetail = {
|
|
319
|
+
/**Issue处理人列表,最多支持8个处理人。*/
|
|
185
320
|
assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
186
|
-
|
|
321
|
+
|
|
322
|
+
/**Issue创建者信息。*/
|
|
323
|
+
author: any;
|
|
324
|
+
|
|
325
|
+
/**Issue内容正文。*/
|
|
187
326
|
body: string;
|
|
327
|
+
|
|
328
|
+
/**Issue评论数量。*/
|
|
188
329
|
comment_count: number;
|
|
330
|
+
|
|
331
|
+
/**Issue创建时间。*/
|
|
189
332
|
created_at: string;
|
|
333
|
+
|
|
334
|
+
/**Issue结束日期。*/
|
|
190
335
|
ended_at: string;
|
|
336
|
+
|
|
337
|
+
/**Issue是否可见。*/
|
|
338
|
+
invisible: boolean;
|
|
339
|
+
|
|
340
|
+
/**Issue标签列表,最多支持10个标签。*/
|
|
191
341
|
labels: ApiLabel[];
|
|
342
|
+
|
|
343
|
+
/**Issue最后活动时间。*/
|
|
192
344
|
last_acted_at: string;
|
|
345
|
+
|
|
346
|
+
/**Issue的唯一标识编号。*/
|
|
193
347
|
number: string;
|
|
348
|
+
|
|
349
|
+
/**Issue优先级。枚举值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
194
350
|
priority: string;
|
|
351
|
+
|
|
352
|
+
/**Issue开始日期。*/
|
|
195
353
|
started_at: string;
|
|
354
|
+
|
|
355
|
+
/**Issue状态。枚举值:`open`,`closed`*/
|
|
196
356
|
state: string;
|
|
357
|
+
|
|
358
|
+
/**状态变更原因。枚举值:`open`,`completed`,`not_planned`,`reopened`*/
|
|
197
359
|
state_reason: string;
|
|
360
|
+
|
|
361
|
+
/**Issue标题,长度限制2-255字符。*/
|
|
198
362
|
title: string;
|
|
363
|
+
|
|
364
|
+
/**Issue最后更新时间。*/
|
|
199
365
|
updated_at: string;
|
|
200
366
|
};
|
|
367
|
+
type ApiIssuePropertyUpdateResult = {
|
|
368
|
+
/**更新失败的属性数量*/
|
|
369
|
+
failed_count: number;
|
|
370
|
+
|
|
371
|
+
/**更新失败的属性key列表,仅当存在失败时返回*/
|
|
372
|
+
failed_keys: string[];
|
|
373
|
+
|
|
374
|
+
/**更新成功的属性数量*/
|
|
375
|
+
success_count: number;
|
|
376
|
+
};
|
|
201
377
|
type ApiLabel = {
|
|
378
|
+
/**标签颜色。*/
|
|
202
379
|
color: string;
|
|
380
|
+
|
|
381
|
+
/**标签描述。*/
|
|
203
382
|
description: string;
|
|
383
|
+
|
|
384
|
+
/**标签ID。*/
|
|
204
385
|
id: string;
|
|
386
|
+
|
|
387
|
+
/**标签名称。*/
|
|
205
388
|
name: string;
|
|
206
389
|
};
|
|
207
390
|
type ApiMergePullRequest = {
|
|
391
|
+
/**合并提交的详细描述信息。*/
|
|
208
392
|
commit_message: string;
|
|
393
|
+
|
|
394
|
+
/**合并提交的标题。*/
|
|
209
395
|
commit_title: string;
|
|
210
396
|
|
|
211
|
-
|
|
397
|
+
/**合并提交方式。可选值:`merge`,`squash`,`rebase`*/
|
|
212
398
|
merge_style: string;
|
|
213
399
|
};
|
|
214
400
|
type ApiMergePullResponse = {
|
|
401
|
+
/**是否成功合并。*/
|
|
215
402
|
merged: boolean;
|
|
403
|
+
|
|
404
|
+
/**合并操作的响应消息。*/
|
|
216
405
|
message: string;
|
|
406
|
+
|
|
407
|
+
/**合并提交的哈希值。*/
|
|
217
408
|
sha: string;
|
|
218
409
|
};
|
|
219
410
|
type ApiPatchIssueAssigneesForm = {
|
|
411
|
+
/**Issue处理人用户名列表,最大限制为8。示例:`["zhangsan", "lisi"]`*/
|
|
220
412
|
assignees: string[];
|
|
221
413
|
};
|
|
222
414
|
type ApiPatchIssueCommentForm = {
|
|
415
|
+
/**Issue评论内容。*/
|
|
223
416
|
body: string;
|
|
224
417
|
};
|
|
225
418
|
type ApiPatchIssueForm = {
|
|
419
|
+
/**Issue内容。*/
|
|
226
420
|
body: string;
|
|
227
421
|
|
|
228
|
-
/**
|
|
422
|
+
/**Issue结束日期。示例:`2026-12-30`*/
|
|
229
423
|
end_date: string;
|
|
230
424
|
|
|
231
|
-
/**
|
|
425
|
+
/**Issue优先级。可选值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
232
426
|
priority: string;
|
|
233
427
|
|
|
234
|
-
/**
|
|
428
|
+
/**Issue开始日期。示例:`2026-01-01`*/
|
|
235
429
|
start_date: string;
|
|
236
430
|
|
|
237
|
-
/**
|
|
431
|
+
/**Issue状态。可选值:`open`,`closed`*/
|
|
238
432
|
state: string;
|
|
239
433
|
|
|
240
|
-
/**
|
|
434
|
+
/**ISSUE状态变更原因。可选值:`completed`,`not_planned`,`reopened`*/
|
|
241
435
|
state_reason: string;
|
|
436
|
+
|
|
437
|
+
/**Issue标题。*/
|
|
242
438
|
title: string;
|
|
243
439
|
};
|
|
244
440
|
type ApiPatchLabelForm = {
|
|
@@ -248,13 +444,17 @@ type ApiPatchLabelForm = {
|
|
|
248
444
|
new_name: string;
|
|
249
445
|
};
|
|
250
446
|
type ApiPatchPullCommentForm = {
|
|
447
|
+
/**评论内容。*/
|
|
251
448
|
body: string;
|
|
252
449
|
};
|
|
253
450
|
type ApiPatchPullRequest = {
|
|
451
|
+
/**合并请求的更新内容。*/
|
|
254
452
|
body: string;
|
|
255
453
|
|
|
256
|
-
|
|
454
|
+
/**合并请求的更新状态。可选值:`open`,`closed`*/
|
|
257
455
|
state: string;
|
|
456
|
+
|
|
457
|
+
/**合并请求的更新标题。*/
|
|
258
458
|
title: string;
|
|
259
459
|
};
|
|
260
460
|
type ApiPipelineSettings = {
|
|
@@ -265,29 +465,47 @@ type ApiPipelineSettings = {
|
|
|
265
465
|
forked_repo_auto_trigger: boolean;
|
|
266
466
|
};
|
|
267
467
|
type ApiPostBlobForm = {
|
|
468
|
+
/**Blob的内容。*/
|
|
268
469
|
content: string;
|
|
269
470
|
|
|
270
|
-
|
|
471
|
+
/**内容的编码格式。可选值:`utf-8`,`base64`*/
|
|
271
472
|
encoding: string;
|
|
272
473
|
};
|
|
273
474
|
type ApiPostIssueAssigneesForm = {
|
|
475
|
+
/**Issue处理人用户名列表,最大限制为8。示例:`["zhangsan", "lisi"]`*/
|
|
274
476
|
assignees: string[];
|
|
275
477
|
};
|
|
276
478
|
type ApiPostIssueCommentForm = {
|
|
479
|
+
/**Issue评论内容。*/
|
|
277
480
|
body: string;
|
|
278
481
|
};
|
|
279
482
|
type ApiPostIssueForm = {
|
|
483
|
+
/**Issue处理人列表,最大限制为8。示例:`["处理人1","处理人2"]`*/
|
|
280
484
|
assignees: string[];
|
|
485
|
+
|
|
486
|
+
/**Issue内容。*/
|
|
281
487
|
body: string;
|
|
488
|
+
|
|
489
|
+
/**Issue结束日期。示例:`2026-12-30`*/
|
|
282
490
|
end_date: string;
|
|
491
|
+
|
|
492
|
+
/**是否可见。*/
|
|
493
|
+
invisible: boolean;
|
|
494
|
+
|
|
495
|
+
/**Issue标签列表,最大限制为10。示例:`["标签1","标签2"]`*/
|
|
283
496
|
labels: string[];
|
|
284
497
|
|
|
285
|
-
/**
|
|
498
|
+
/**Issue优先级。可选值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
286
499
|
priority: string;
|
|
500
|
+
|
|
501
|
+
/**Issue开始日期。示例:`2026-01-01`*/
|
|
287
502
|
start_date: string;
|
|
503
|
+
|
|
504
|
+
/**Issue标题。*/
|
|
288
505
|
title: string;
|
|
289
506
|
};
|
|
290
507
|
type ApiPostIssueLabelsForm = {
|
|
508
|
+
/**Issue标签列表,最大限制为10。示例:`["标签1","标签2"]`*/
|
|
291
509
|
labels: string[];
|
|
292
510
|
};
|
|
293
511
|
type ApiPostLabelForm = {
|
|
@@ -297,105 +515,239 @@ type ApiPostLabelForm = {
|
|
|
297
515
|
name: string;
|
|
298
516
|
};
|
|
299
517
|
type ApiPostPullAssigneesForm = {
|
|
518
|
+
/**合并请求的处理人用户列表。*/
|
|
300
519
|
assignees: string[];
|
|
301
520
|
};
|
|
302
521
|
type ApiPostPullLabelsForm = {
|
|
522
|
+
/**合并请求的标签列表。*/
|
|
303
523
|
labels: string[];
|
|
304
524
|
};
|
|
525
|
+
type ApiPostPullRequestReviewReplyForm = {
|
|
526
|
+
/**回复的评论内容。*/
|
|
527
|
+
body: string;
|
|
528
|
+
|
|
529
|
+
/**父评论ID。*/
|
|
530
|
+
reply_to_comment_id: string;
|
|
531
|
+
};
|
|
305
532
|
type ApiPostTagFrom = {
|
|
533
|
+
/**标签的描述信息。*/
|
|
306
534
|
message: string;
|
|
535
|
+
|
|
536
|
+
/**标签名称。*/
|
|
307
537
|
name: string;
|
|
538
|
+
|
|
539
|
+
/**标签指向的目标对象。格式:`分支名称`,`标签名称`,`提交哈希`*/
|
|
308
540
|
target: string;
|
|
309
541
|
};
|
|
310
542
|
type ApiPull = {
|
|
311
|
-
|
|
543
|
+
/**作者信息。*/
|
|
544
|
+
author: any;
|
|
545
|
+
|
|
546
|
+
/**目标分支信息。*/
|
|
547
|
+
base: any;
|
|
548
|
+
|
|
549
|
+
/**阻塞原因。*/
|
|
312
550
|
blocked_on: string;
|
|
551
|
+
|
|
552
|
+
/**合并请求内容。*/
|
|
313
553
|
body: string;
|
|
314
|
-
|
|
554
|
+
|
|
555
|
+
/**源分支信息。*/
|
|
556
|
+
head: any;
|
|
557
|
+
|
|
558
|
+
/**是否为WIP状态,WIP状态表示合并请求是否是草稿阶段。*/
|
|
315
559
|
is_wip: boolean;
|
|
560
|
+
|
|
561
|
+
/**关联的标签列表。*/
|
|
316
562
|
labels: ApiLabel[];
|
|
317
|
-
|
|
563
|
+
|
|
564
|
+
/**合并者信息。*/
|
|
565
|
+
merged_by: any;
|
|
566
|
+
|
|
567
|
+
/**合并请求唯一标识符编号。*/
|
|
318
568
|
number: string;
|
|
569
|
+
|
|
570
|
+
/**评审人列表,包含评审状态信息。*/
|
|
319
571
|
reviewers: ApiPullReviewer[];
|
|
572
|
+
|
|
573
|
+
/**合并请求状态。枚举值:`open`,`closed`,`merged`*/
|
|
320
574
|
state: string;
|
|
575
|
+
|
|
576
|
+
/**合并请求标题。*/
|
|
321
577
|
title: string;
|
|
322
578
|
};
|
|
323
579
|
type ApiPullCommentCreationForm = {
|
|
580
|
+
/**评论内容。*/
|
|
324
581
|
body: string;
|
|
325
582
|
};
|
|
326
583
|
type ApiPullCreationForm = {
|
|
584
|
+
/**目标分支名称。*/
|
|
327
585
|
base: string;
|
|
586
|
+
|
|
587
|
+
/**合并请求内容。*/
|
|
328
588
|
body: string;
|
|
589
|
+
|
|
590
|
+
/**源分支名称。*/
|
|
329
591
|
head: string;
|
|
592
|
+
|
|
593
|
+
/**源分支所在的仓库标识。示例值:`owner/repo`*/
|
|
330
594
|
head_repo: string;
|
|
595
|
+
|
|
596
|
+
/**合并请求标题。*/
|
|
331
597
|
title: string;
|
|
332
598
|
};
|
|
333
599
|
type ApiPullFile = {
|
|
600
|
+
/**新增行数。*/
|
|
334
601
|
additions: number;
|
|
602
|
+
|
|
603
|
+
/**文件的Blob对象访问地址。*/
|
|
335
604
|
blob_url: string;
|
|
605
|
+
|
|
606
|
+
/**文件内容访问地址。*/
|
|
336
607
|
contents_url: string;
|
|
608
|
+
|
|
609
|
+
/**删除行数。*/
|
|
337
610
|
deletions: number;
|
|
611
|
+
|
|
612
|
+
/**文件名称。*/
|
|
338
613
|
filename: string;
|
|
614
|
+
|
|
615
|
+
/**文件的差异补丁内容。*/
|
|
339
616
|
patch: string;
|
|
617
|
+
|
|
618
|
+
/**文件的原始内容访问地址。*/
|
|
340
619
|
raw_url: string;
|
|
620
|
+
|
|
621
|
+
/**文件的提交哈希值。*/
|
|
341
622
|
sha: string;
|
|
342
623
|
|
|
343
|
-
|
|
624
|
+
/**文件更改状态。枚举值:`add`,`modify`,`delete`,`rename`,`copy`*/
|
|
344
625
|
status: string;
|
|
345
626
|
};
|
|
346
|
-
type ApiPullRef = {
|
|
347
|
-
ref: string;
|
|
348
|
-
repo: ApiRepo;
|
|
349
|
-
sha: string;
|
|
350
|
-
};
|
|
351
|
-
type ApiPullRefInfo = {
|
|
352
|
-
ref: string;
|
|
353
|
-
repo: ApiRepoInfo;
|
|
354
|
-
sha: string;
|
|
355
|
-
};
|
|
356
627
|
type ApiPullRequest = {
|
|
628
|
+
/**处理人列表。*/
|
|
357
629
|
assignees: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo[];
|
|
358
|
-
|
|
359
|
-
|
|
630
|
+
|
|
631
|
+
/**作者信息。*/
|
|
632
|
+
author: any;
|
|
633
|
+
|
|
634
|
+
/**目标分支信息。*/
|
|
635
|
+
base: any;
|
|
636
|
+
|
|
637
|
+
/**阻塞原因。*/
|
|
360
638
|
blocked_on: string;
|
|
639
|
+
|
|
640
|
+
/**合并请求内容。*/
|
|
641
|
+
body: string;
|
|
642
|
+
|
|
643
|
+
/**评论数量。*/
|
|
361
644
|
comment_count: number;
|
|
645
|
+
|
|
646
|
+
/**创建时间。*/
|
|
362
647
|
created_at: string;
|
|
363
|
-
|
|
648
|
+
|
|
649
|
+
/**源分支信息。*/
|
|
650
|
+
head: any;
|
|
651
|
+
|
|
652
|
+
/**是否为WIP状态,WIP状态表示合并请求是否是草稿阶段。*/
|
|
364
653
|
is_wip: boolean;
|
|
654
|
+
|
|
655
|
+
/**标签列表。*/
|
|
365
656
|
labels: ApiLabel[];
|
|
657
|
+
|
|
658
|
+
/**最后更新时间。*/
|
|
366
659
|
last_acted_at: string;
|
|
660
|
+
|
|
661
|
+
/**可合并状态。枚举值:`mergeable`,`merging`,`merged`,`conflict`,`no-merge-base`*/
|
|
367
662
|
mergeable_state: string;
|
|
368
|
-
|
|
663
|
+
|
|
664
|
+
/**合并者信息。*/
|
|
665
|
+
merged_by: any;
|
|
666
|
+
|
|
667
|
+
/**Pulls唯一标识编号。*/
|
|
369
668
|
number: string;
|
|
370
|
-
|
|
669
|
+
|
|
670
|
+
/**仓库信息。*/
|
|
671
|
+
repo: any;
|
|
672
|
+
|
|
673
|
+
/**评审数量。*/
|
|
371
674
|
review_count: number;
|
|
675
|
+
|
|
676
|
+
/**合并请求状态。枚举值:`open`,`closed`,`merged`*/
|
|
372
677
|
state: string;
|
|
678
|
+
|
|
679
|
+
/**合并请求标题。*/
|
|
373
680
|
title: string;
|
|
681
|
+
|
|
682
|
+
/**更新时间。*/
|
|
374
683
|
updated_at: string;
|
|
375
684
|
};
|
|
376
685
|
type ApiPullRequestComment = {
|
|
377
|
-
|
|
686
|
+
/**评论作者信息。*/
|
|
687
|
+
author: any;
|
|
688
|
+
|
|
689
|
+
/**评论内容。*/
|
|
378
690
|
body: string;
|
|
691
|
+
|
|
692
|
+
/**创建时间。*/
|
|
379
693
|
created_at: string;
|
|
694
|
+
|
|
695
|
+
/**合并请求评论的唯一标识符。*/
|
|
380
696
|
id: string;
|
|
697
|
+
|
|
698
|
+
/**Reaction 数量列表。*/
|
|
699
|
+
reactions: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction[];
|
|
700
|
+
|
|
701
|
+
/**最后更新时间。*/
|
|
381
702
|
updated_at: string;
|
|
382
703
|
};
|
|
383
704
|
type ApiPullRequestInfo = {
|
|
705
|
+
/**处理人列表。*/
|
|
384
706
|
assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
385
|
-
|
|
386
|
-
|
|
707
|
+
|
|
708
|
+
/**作者信息。*/
|
|
709
|
+
author: any;
|
|
710
|
+
|
|
711
|
+
/**目标分支信息。*/
|
|
712
|
+
base: any;
|
|
713
|
+
|
|
714
|
+
/**阻塞原因。*/
|
|
387
715
|
blocked_on: string;
|
|
716
|
+
|
|
717
|
+
/**创建时间。*/
|
|
388
718
|
created_at: string;
|
|
389
|
-
|
|
719
|
+
|
|
720
|
+
/**源分支信息。*/
|
|
721
|
+
head: any;
|
|
722
|
+
|
|
723
|
+
/**标签列表。*/
|
|
390
724
|
labels: ApiLabel[];
|
|
725
|
+
|
|
726
|
+
/**最后更新时间。*/
|
|
391
727
|
last_acted_at: string;
|
|
728
|
+
|
|
729
|
+
/**可合并状态。枚举值:`mergeable`,`merging`,`merged`,`conflict`,`no-merge-base`*/
|
|
392
730
|
mergeable_state: string;
|
|
393
|
-
|
|
731
|
+
|
|
732
|
+
/**合并者信息。*/
|
|
733
|
+
merged_by: any;
|
|
734
|
+
|
|
735
|
+
/**Pull唯一标识编号。*/
|
|
394
736
|
number: string;
|
|
395
|
-
|
|
737
|
+
|
|
738
|
+
/**仓库信息。*/
|
|
739
|
+
repo: any;
|
|
740
|
+
|
|
741
|
+
/**评审者列表。*/
|
|
396
742
|
reviewers: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
743
|
+
|
|
744
|
+
/**Pull状态。枚举值:`open`,`closed`,`merged`*/
|
|
397
745
|
state: string;
|
|
746
|
+
|
|
747
|
+
/**标题。*/
|
|
398
748
|
title: string;
|
|
749
|
+
|
|
750
|
+
/**更新时间。*/
|
|
399
751
|
updated_at: string;
|
|
400
752
|
};
|
|
401
753
|
type ApiPullRequestSettings = {
|
|
@@ -418,51 +770,114 @@ type ApiPullRequestSettings = {
|
|
|
418
770
|
squash_commit_message_style: string;
|
|
419
771
|
};
|
|
420
772
|
type ApiPullReview = {
|
|
421
|
-
|
|
773
|
+
/**Review的作者信息。*/
|
|
774
|
+
author: any;
|
|
775
|
+
|
|
776
|
+
/**Review的详细内容。*/
|
|
422
777
|
body: string;
|
|
778
|
+
|
|
779
|
+
/**Review的创建时间。*/
|
|
423
780
|
created_at: string;
|
|
781
|
+
|
|
782
|
+
/**Review的唯一标识符。*/
|
|
424
783
|
id: string;
|
|
784
|
+
|
|
785
|
+
/**Review的状态。枚举值:`approved`、`changes_requested`、`commented`、`dismissed`、`pending`等。*/
|
|
425
786
|
state: string;
|
|
787
|
+
|
|
788
|
+
/**Review的最后更新时间。*/
|
|
426
789
|
updated_at: string;
|
|
427
790
|
};
|
|
428
791
|
type ApiPullReviewComment = {
|
|
429
|
-
|
|
792
|
+
/**评论的作者信息。*/
|
|
793
|
+
author: any;
|
|
794
|
+
|
|
795
|
+
/**评论的具体内容。*/
|
|
430
796
|
body: string;
|
|
797
|
+
|
|
798
|
+
/**评论所基于的提交哈希值。*/
|
|
431
799
|
commit_hash: string;
|
|
800
|
+
|
|
801
|
+
/**评论的创建时间。*/
|
|
432
802
|
created_at: string;
|
|
803
|
+
|
|
804
|
+
/**评论关联的差异块信息。*/
|
|
433
805
|
diff_hunk: ApiDiffLine[];
|
|
806
|
+
|
|
807
|
+
/**评论结束行号,subject_type=line时有效。*/
|
|
434
808
|
end_line: number;
|
|
809
|
+
|
|
810
|
+
/**评论结束位置的代码版本侧。枚举值:`left`,`right`*/
|
|
435
811
|
end_side: string;
|
|
812
|
+
|
|
813
|
+
/**评论的唯一标识符。*/
|
|
436
814
|
id: string;
|
|
815
|
+
|
|
816
|
+
/**评论所在文件的路径。示例值:`src/main.go`*/
|
|
437
817
|
path: string;
|
|
818
|
+
|
|
819
|
+
/**Reaction 数量列表。*/
|
|
820
|
+
reactions: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction[];
|
|
821
|
+
|
|
822
|
+
/**回复的父评论ID,如果是回复评论则不为空。*/
|
|
438
823
|
reply_to_comment_id: string;
|
|
824
|
+
|
|
825
|
+
/**所属Review的唯一标识符。*/
|
|
439
826
|
review_id: string;
|
|
827
|
+
|
|
828
|
+
/**Review的状态。枚举值:`approved`,`changes_requested`,`commented`,`dismissed`,`pending`*/
|
|
440
829
|
review_state: string;
|
|
830
|
+
|
|
831
|
+
/**评论起始行号,subject_type=line时有效。*/
|
|
441
832
|
start_line: number;
|
|
833
|
+
|
|
834
|
+
/**评论起始位置的代码版本侧。枚举值:`left`,`right`*/
|
|
442
835
|
start_side: string;
|
|
836
|
+
|
|
837
|
+
/**评论对象类型。枚举值:`line`,`file`*/
|
|
443
838
|
subject_type: string;
|
|
839
|
+
|
|
840
|
+
/**评论的最后更新时间。*/
|
|
444
841
|
updated_at: string;
|
|
445
842
|
};
|
|
446
843
|
type ApiPullReviewCommentCreationForm = {
|
|
844
|
+
/**评论内容。*/
|
|
447
845
|
body: string;
|
|
846
|
+
|
|
847
|
+
/**结束行号,subject_type=line时必填。*/
|
|
448
848
|
end_line: number;
|
|
849
|
+
|
|
850
|
+
/**评论结束位置的代码版本侧,subject_type=line时必填。可选值:`left`,`right`*/
|
|
449
851
|
end_side: string;
|
|
852
|
+
|
|
853
|
+
/**文件路径。示例值:`src/main.go`*/
|
|
450
854
|
path: string;
|
|
855
|
+
|
|
856
|
+
/**起始行号,subject_type=line时必填。*/
|
|
451
857
|
start_line: number;
|
|
858
|
+
|
|
859
|
+
/**评论起始位置的代码版本侧,subject_type=line时必填。可选值:`left`,`right`*/
|
|
452
860
|
start_side: string;
|
|
453
861
|
|
|
454
|
-
|
|
862
|
+
/**评论对象类型,当subject_type为file时无需指定行号和侧别字段。可选值:`line`,`file`*/
|
|
455
863
|
subject_type: string;
|
|
456
864
|
};
|
|
457
865
|
type ApiPullReviewCreationForm = {
|
|
866
|
+
/**Review的评审意见内容。*/
|
|
458
867
|
body: string;
|
|
868
|
+
|
|
869
|
+
/**评审中的具体评论列表。*/
|
|
459
870
|
comments: ApiPullReviewCommentCreationForm[];
|
|
871
|
+
|
|
872
|
+
/**Review事件类型.如:`approve`,`comment`,`request_changes`,`pending`*/
|
|
460
873
|
event: string;
|
|
461
874
|
};
|
|
462
875
|
type ApiPullReviewer = {
|
|
463
|
-
|
|
876
|
+
/**评审状态。枚举值:`pending`,`commented`,`approved`,`changes_requested`,`dismissed`。*/
|
|
464
877
|
review_state: string;
|
|
465
|
-
|
|
878
|
+
|
|
879
|
+
/**评审人信息。*/
|
|
880
|
+
user: any;
|
|
466
881
|
};
|
|
467
882
|
type ApiPushLimitSettings = {
|
|
468
883
|
/**允许单次推送最多允许更新分支和标签的个数数量。*/
|
|
@@ -478,117 +893,114 @@ type ApiPushLimitSettings = {
|
|
|
478
893
|
push_commit_must_be: string;
|
|
479
894
|
};
|
|
480
895
|
type ApiPutIssueLabelsForm = {
|
|
896
|
+
/**Issue标签列表,最大限制为10。示例:`["标签1","标签2"]`*/
|
|
481
897
|
labels: string[];
|
|
482
898
|
};
|
|
483
899
|
type ApiPutPullLabelsForm = {
|
|
900
|
+
/**合并请求的标签列表。*/
|
|
484
901
|
labels: string[];
|
|
485
902
|
};
|
|
486
903
|
type ApiRelease = {
|
|
487
|
-
|
|
904
|
+
/**附件列表。*/
|
|
488
905
|
assets: ApiReleaseAsset[];
|
|
489
906
|
|
|
490
|
-
|
|
907
|
+
/**作者信息。*/
|
|
491
908
|
author: any;
|
|
492
909
|
|
|
493
|
-
|
|
910
|
+
/**版本描述。*/
|
|
494
911
|
body: string;
|
|
495
912
|
|
|
496
|
-
|
|
913
|
+
/**创建时间。*/
|
|
497
914
|
created_at: string;
|
|
498
915
|
|
|
499
|
-
|
|
916
|
+
/**是否为草稿版本。*/
|
|
500
917
|
draft: boolean;
|
|
501
918
|
|
|
502
|
-
|
|
919
|
+
/**版本唯一标识符。*/
|
|
503
920
|
id: string;
|
|
504
921
|
|
|
505
|
-
|
|
922
|
+
/**是否为最新版本。*/
|
|
506
923
|
is_latest: boolean;
|
|
507
924
|
|
|
508
|
-
|
|
925
|
+
/**版本标题。*/
|
|
509
926
|
name: string;
|
|
510
927
|
|
|
511
|
-
|
|
928
|
+
/**是否为预发布版本。*/
|
|
512
929
|
prerelease: boolean;
|
|
513
930
|
|
|
514
|
-
|
|
931
|
+
/**版本发布时间。*/
|
|
515
932
|
published_at: string;
|
|
516
933
|
|
|
517
|
-
|
|
934
|
+
/**标签与提交标识符。*/
|
|
518
935
|
tag_commitish: string;
|
|
519
936
|
|
|
520
|
-
|
|
937
|
+
/**标签名称。*/
|
|
521
938
|
tag_name: string;
|
|
522
939
|
|
|
523
|
-
|
|
940
|
+
/**更新时间。*/
|
|
524
941
|
updated_at: string;
|
|
525
942
|
};
|
|
526
943
|
type ApiReleaseAsset = {
|
|
527
|
-
/**浏览器下载URL
|
|
944
|
+
/**浏览器下载URL(通过主域名,用于用户直接访问)。*/
|
|
528
945
|
brower_download_url: string;
|
|
529
946
|
|
|
530
|
-
|
|
947
|
+
/**附件内容类型。*/
|
|
531
948
|
content_type: string;
|
|
532
949
|
|
|
533
|
-
|
|
950
|
+
/**创建时间。*/
|
|
534
951
|
created_at: string;
|
|
535
952
|
|
|
536
|
-
|
|
953
|
+
/**下载次数。*/
|
|
954
|
+
download_count: number;
|
|
955
|
+
|
|
956
|
+
/**附件唯一标识符。*/
|
|
537
957
|
id: string;
|
|
538
958
|
|
|
539
|
-
|
|
959
|
+
/**附件名称。*/
|
|
540
960
|
name: string;
|
|
541
961
|
|
|
542
|
-
|
|
962
|
+
/**附件路径。*/
|
|
543
963
|
path: string;
|
|
544
964
|
|
|
545
|
-
|
|
965
|
+
/**附件大小(字节)。*/
|
|
546
966
|
size: number;
|
|
547
967
|
|
|
548
|
-
|
|
968
|
+
/**更新时间。*/
|
|
549
969
|
updated_at: string;
|
|
550
970
|
|
|
551
|
-
|
|
971
|
+
/**附件上传者信息。*/
|
|
552
972
|
uploader: any;
|
|
553
973
|
|
|
554
|
-
|
|
974
|
+
/**API下载URL(通过API域名,用于程序化下载)。*/
|
|
555
975
|
url: string;
|
|
556
976
|
};
|
|
557
|
-
type ApiRepo = {
|
|
558
|
-
id: string;
|
|
559
|
-
name: string;
|
|
560
|
-
path: string;
|
|
561
|
-
web_url: string;
|
|
562
|
-
};
|
|
563
|
-
type ApiRepoInfo = {
|
|
564
|
-
id: string;
|
|
565
|
-
name: string;
|
|
566
|
-
path: string;
|
|
567
|
-
web_url: string;
|
|
568
|
-
};
|
|
569
|
-
type ApiSignature = {
|
|
570
|
-
date: string;
|
|
571
|
-
email: string;
|
|
572
|
-
name: string;
|
|
573
|
-
};
|
|
574
977
|
type ApiTag = {
|
|
575
|
-
commit
|
|
978
|
+
/**标签指向的commit对象详细信息。*/
|
|
979
|
+
commit: any;
|
|
980
|
+
|
|
981
|
+
/**标签名称。*/
|
|
576
982
|
name: string;
|
|
983
|
+
|
|
984
|
+
/**标签目标对象哈希值。*/
|
|
577
985
|
target: string;
|
|
986
|
+
|
|
987
|
+
/**目标对象类型。*/
|
|
578
988
|
target_type: string;
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
payload: string;
|
|
583
|
-
reason: string;
|
|
584
|
-
signature: string;
|
|
585
|
-
verified: boolean;
|
|
586
|
-
verified_at: string;
|
|
989
|
+
|
|
990
|
+
/**标签的GPG签名验证信息。*/
|
|
991
|
+
verification: any;
|
|
587
992
|
};
|
|
588
993
|
type ApiTreeEntry = {
|
|
994
|
+
/**对象名称(文件名或目录名)。*/
|
|
589
995
|
name: string;
|
|
996
|
+
|
|
997
|
+
/**对象在仓库中的完整路径。*/
|
|
590
998
|
path: string;
|
|
999
|
+
|
|
1000
|
+
/**Git对象的哈希值。*/
|
|
591
1001
|
sha: string;
|
|
1002
|
+
|
|
1003
|
+
/**对象类型。枚举值:`tree`,`blob`,`link`,`submodule`*/
|
|
592
1004
|
type: string;
|
|
593
1005
|
};
|
|
594
1006
|
type ChartDependency = {
|
|
@@ -838,12 +1250,17 @@ type DtoAiChatCompletionsResult = {
|
|
|
838
1250
|
/**对象*/
|
|
839
1251
|
object: string;
|
|
840
1252
|
};
|
|
841
|
-
type
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
1253
|
+
type DtoAssetRecords = {
|
|
1254
|
+
id: string;
|
|
1255
|
+
|
|
1256
|
+
/**来源地址,例如 release 附件的来源地址是对应的 release 页面。issue和pr文件没有。*/
|
|
1257
|
+
origin_path: string;
|
|
845
1258
|
path: string;
|
|
846
|
-
|
|
1259
|
+
|
|
1260
|
+
/**资源类型,slug_img和slug_file可调用DeleteAsset接口直接删除该资源,repo_release和repo_commit则不行*/
|
|
1261
|
+
record_type: any;
|
|
1262
|
+
referer: string;
|
|
1263
|
+
size_in_byte: number;
|
|
847
1264
|
};
|
|
848
1265
|
type DtoBadge = {
|
|
849
1266
|
/**徽章描述*/
|
|
@@ -923,15 +1340,9 @@ type DtoBuildStageResult = {
|
|
|
923
1340
|
status: string;
|
|
924
1341
|
};
|
|
925
1342
|
type DtoBuildStatusResult = {
|
|
926
|
-
/**解析后的流水线JSON格式配置内容*/
|
|
927
|
-
jsonConfig: string;
|
|
928
|
-
|
|
929
1343
|
/**流水线的状态*/
|
|
930
1344
|
pipelinesStatus: any;
|
|
931
1345
|
|
|
932
|
-
/**流水线原始配置内容*/
|
|
933
|
-
rawConfig: string;
|
|
934
|
-
|
|
935
1346
|
/**构建状态*/
|
|
936
1347
|
status: string;
|
|
937
1348
|
};
|
|
@@ -949,6 +1360,7 @@ type DtoChartPackageDetail = {
|
|
|
949
1360
|
type DtoChartTag = {
|
|
950
1361
|
address: string;
|
|
951
1362
|
digest: string;
|
|
1363
|
+
has_provenance: boolean;
|
|
952
1364
|
is_deprecated: boolean;
|
|
953
1365
|
last_pusher: DtoLastPusher;
|
|
954
1366
|
metadata: ChartMetadata;
|
|
@@ -959,6 +1371,10 @@ type DtoChartTag = {
|
|
|
959
1371
|
};
|
|
960
1372
|
type DtoChartTagDetail = {
|
|
961
1373
|
address: string;
|
|
1374
|
+
|
|
1375
|
+
/**HasProvenance 是否有出生证明.
|
|
1376
|
+
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
1377
|
+
has_provenance: boolean;
|
|
962
1378
|
is_deprecated: boolean;
|
|
963
1379
|
last_pusher: DtoLastPusher;
|
|
964
1380
|
metadata: ChartMetadata;
|
|
@@ -1079,6 +1495,7 @@ type DtoCommonRegistryPackageDetail = {
|
|
|
1079
1495
|
type DtoCommonRegistryTag = {
|
|
1080
1496
|
desc: string;
|
|
1081
1497
|
digest: string;
|
|
1498
|
+
has_provenance: boolean;
|
|
1082
1499
|
last_pusher: DtoLastPusher;
|
|
1083
1500
|
name: string;
|
|
1084
1501
|
pull_count: number;
|
|
@@ -1091,6 +1508,10 @@ type DtoCommonRegistryTagDetail = {
|
|
|
1091
1508
|
dependencies: DtoDependency[];
|
|
1092
1509
|
desc: string;
|
|
1093
1510
|
files: DtoFile[];
|
|
1511
|
+
|
|
1512
|
+
/**HasProvenance 是否有出生证明.
|
|
1513
|
+
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
1514
|
+
has_provenance: boolean;
|
|
1094
1515
|
last_pusher: DtoLastPusher;
|
|
1095
1516
|
metadata: DtoMetaData;
|
|
1096
1517
|
package: string;
|
|
@@ -1100,7 +1521,6 @@ type DtoCommonRegistryTagDetail = {
|
|
|
1100
1521
|
slug: string;
|
|
1101
1522
|
status: string;
|
|
1102
1523
|
tag: string;
|
|
1103
|
-
tags: DtoCommonRegistryTag[];
|
|
1104
1524
|
};
|
|
1105
1525
|
type DtoConanMetaData = {
|
|
1106
1526
|
author: string;
|
|
@@ -1134,6 +1554,10 @@ type DtoConanRegistryTagDetail = {
|
|
|
1134
1554
|
dependencies: DtoDependency[];
|
|
1135
1555
|
desc: string;
|
|
1136
1556
|
files: DtoFile[];
|
|
1557
|
+
|
|
1558
|
+
/**HasProvenance 是否有出生证明.
|
|
1559
|
+
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
1560
|
+
has_provenance: boolean;
|
|
1137
1561
|
last_pusher: DtoLastPusher;
|
|
1138
1562
|
metadata: DtoConanMetaData;
|
|
1139
1563
|
package: string;
|
|
@@ -1143,7 +1567,6 @@ type DtoConanRegistryTagDetail = {
|
|
|
1143
1567
|
slug: string;
|
|
1144
1568
|
status: string;
|
|
1145
1569
|
tag: string;
|
|
1146
|
-
tags: DtoCommonRegistryTag[];
|
|
1147
1570
|
};
|
|
1148
1571
|
type DtoContainerAnnotation = {
|
|
1149
1572
|
revision: string;
|
|
@@ -1175,15 +1598,21 @@ type DtoContainerPackageDetail = {
|
|
|
1175
1598
|
type DtoContainerTag = {
|
|
1176
1599
|
address: string;
|
|
1177
1600
|
annotations: DtoContainerAnnotation;
|
|
1601
|
+
has_provenance: boolean;
|
|
1178
1602
|
images: DtoContainerImage[];
|
|
1179
1603
|
last_pusher: DtoLastPusher;
|
|
1180
1604
|
name: string;
|
|
1181
1605
|
pull_count: number;
|
|
1182
1606
|
recent_pull_count: number;
|
|
1607
|
+
type: string;
|
|
1183
1608
|
};
|
|
1184
1609
|
type DtoContainerTagDetail = {
|
|
1185
1610
|
address: string;
|
|
1186
1611
|
annotations: DtoContainerAnnotation;
|
|
1612
|
+
|
|
1613
|
+
/**HasProvenance 是否有出生证明.
|
|
1614
|
+
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
1615
|
+
has_provenance: boolean;
|
|
1187
1616
|
image: DtoContainerImage;
|
|
1188
1617
|
last_pusher: DtoLastPusher;
|
|
1189
1618
|
|
|
@@ -1195,6 +1624,7 @@ type DtoContainerTagDetail = {
|
|
|
1195
1624
|
recent_pull_count: number;
|
|
1196
1625
|
slug: string;
|
|
1197
1626
|
tag: string;
|
|
1627
|
+
type: string;
|
|
1198
1628
|
};
|
|
1199
1629
|
type DtoCreateGroupReq = {
|
|
1200
1630
|
/**BindDomain 根组织绑定的域名*/
|
|
@@ -1251,19 +1681,26 @@ type DtoDockerModelTag = {
|
|
|
1251
1681
|
address: string;
|
|
1252
1682
|
docker_model_config: DtoDockerModelConfig;
|
|
1253
1683
|
docker_model_descriptor: DtoDockerModelDescriptor;
|
|
1684
|
+
has_provenance: boolean;
|
|
1254
1685
|
last_pusher: DtoLastPusher;
|
|
1255
1686
|
name: string;
|
|
1256
1687
|
pull_count: number;
|
|
1257
1688
|
recent_pull_count: number;
|
|
1689
|
+
size: number;
|
|
1258
1690
|
};
|
|
1259
1691
|
type DtoDockerModelTagDetail = {
|
|
1260
1692
|
address: string;
|
|
1261
1693
|
docker_model_config: DtoDockerModelConfig;
|
|
1262
1694
|
docker_model_descriptor: DtoDockerModelDescriptor;
|
|
1695
|
+
|
|
1696
|
+
/**HasProvenance 是否有出生证明.
|
|
1697
|
+
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
1698
|
+
has_provenance: boolean;
|
|
1263
1699
|
last_pusher: DtoLastPusher;
|
|
1264
1700
|
package: string;
|
|
1265
1701
|
pull_count: number;
|
|
1266
1702
|
recent_pull_count: number;
|
|
1703
|
+
size: number;
|
|
1267
1704
|
slug: string;
|
|
1268
1705
|
tag: string;
|
|
1269
1706
|
};
|
|
@@ -1316,7 +1753,7 @@ type DtoGetBadgeResult = {
|
|
|
1316
1753
|
};
|
|
1317
1754
|
type DtoGroupSettingReq = {
|
|
1318
1755
|
/**组织限制指定邮箱认证才能加入*/
|
|
1319
|
-
email_verification: string;
|
|
1756
|
+
email_verification: string[];
|
|
1320
1757
|
|
|
1321
1758
|
/**组织保护开关,0 - 关闭,1 - 打开*/
|
|
1322
1759
|
group_protection: number;
|
|
@@ -1600,7 +2037,7 @@ type DtoOrganizationSettingWithParent = {
|
|
|
1600
2037
|
/**上级group设置了hide_sub_groups为1,则下级都不能显示*/
|
|
1601
2038
|
can_show_sub_groups: boolean;
|
|
1602
2039
|
can_show_watermark: boolean;
|
|
1603
|
-
email_verification: string;
|
|
2040
|
+
email_verification: string[];
|
|
1604
2041
|
group_protection: number;
|
|
1605
2042
|
|
|
1606
2043
|
/**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
@@ -1608,7 +2045,7 @@ type DtoOrganizationSettingWithParent = {
|
|
|
1608
2045
|
|
|
1609
2046
|
/**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
1610
2047
|
hide_sub_groups: number;
|
|
1611
|
-
root_email_verification: string;
|
|
2048
|
+
root_email_verification: string[];
|
|
1612
2049
|
root_group_protection: boolean;
|
|
1613
2050
|
root_values: OrganizationSettingValue;
|
|
1614
2051
|
show_private_repo_watermark: number;
|
|
@@ -1675,6 +2112,7 @@ type DtoOutsideCollaboratorInRepo = {
|
|
|
1675
2112
|
type DtoPackage = {
|
|
1676
2113
|
count: number;
|
|
1677
2114
|
description: string;
|
|
2115
|
+
is_dir: boolean;
|
|
1678
2116
|
labels: string[];
|
|
1679
2117
|
last_artifact_name: string;
|
|
1680
2118
|
last_pusher: DtoLastPusher;
|
|
@@ -1690,6 +2128,7 @@ type DtoPackageDetail = {
|
|
|
1690
2128
|
conan: DtoCommonRegistryPackageDetail;
|
|
1691
2129
|
docker: DtoContainerPackageDetail;
|
|
1692
2130
|
docker_model: DtoDockerModelPackageDetail;
|
|
2131
|
+
generic: DtoCommonRegistryPackageDetail;
|
|
1693
2132
|
helm: DtoChartPackageDetail;
|
|
1694
2133
|
maven: DtoCommonRegistryPackageDetail;
|
|
1695
2134
|
npm: DtoCommonRegistryPackageDetail;
|
|
@@ -1697,7 +2136,7 @@ type DtoPackageDetail = {
|
|
|
1697
2136
|
ohpm: DtoCommonRegistryPackageDetail;
|
|
1698
2137
|
pypi: DtoCommonRegistryPackageDetail;
|
|
1699
2138
|
};
|
|
1700
|
-
type DtoPackageType = "all" | "docker" | "helm" | "docker-model" | "npm" | "maven" | "ohpm" | "pypi" | "composer" | "nuget" | "conan" | "cargo";
|
|
2139
|
+
type DtoPackageType = "all" | "docker" | "helm" | "docker-model" | "npm" | "maven" | "ohpm" | "pypi" | "composer" | "nuget" | "conan" | "cargo" | "generic";
|
|
1701
2140
|
type DtoProcessingConfig = {
|
|
1702
2141
|
chunk_overlap: number;
|
|
1703
2142
|
chunk_size: number;
|
|
@@ -1719,6 +2158,10 @@ type DtoPyPiRegistryTagDetail = {
|
|
|
1719
2158
|
dependencies: DtoDependency[];
|
|
1720
2159
|
desc: string;
|
|
1721
2160
|
files: DtoFile[];
|
|
2161
|
+
|
|
2162
|
+
/**HasProvenance 是否有出生证明.
|
|
2163
|
+
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
2164
|
+
has_provenance: boolean;
|
|
1722
2165
|
last_pusher: DtoLastPusher;
|
|
1723
2166
|
metadata: DtoPyPiMetaData;
|
|
1724
2167
|
package: string;
|
|
@@ -1728,7 +2171,6 @@ type DtoPyPiRegistryTagDetail = {
|
|
|
1728
2171
|
slug: string;
|
|
1729
2172
|
status: string;
|
|
1730
2173
|
tag: string;
|
|
1731
|
-
tags: DtoCommonRegistryTag[];
|
|
1732
2174
|
};
|
|
1733
2175
|
type DtoQueryKnowledgeBaseReq = {
|
|
1734
2176
|
/**元数据过滤条件*/
|
|
@@ -1921,6 +2363,49 @@ type DtoRepos4UserBase = {
|
|
|
1921
2363
|
visibility_level: ConstantVisibility;
|
|
1922
2364
|
web_url: string;
|
|
1923
2365
|
};
|
|
2366
|
+
type DtoSpecialAmount = {
|
|
2367
|
+
/**云原生构建cpu核时*/
|
|
2368
|
+
compute_build_corehour: number;
|
|
2369
|
+
compute_build_desc: string;
|
|
2370
|
+
|
|
2371
|
+
/**过期时间时为 null 时永久有效*/
|
|
2372
|
+
compute_build_expire: string;
|
|
2373
|
+
|
|
2374
|
+
/**云原生构建gpu核时*/
|
|
2375
|
+
compute_build_gpu_corehour: number;
|
|
2376
|
+
compute_build_gpu_desc: string;
|
|
2377
|
+
|
|
2378
|
+
/**过期时间时为 null 时永久有效*/
|
|
2379
|
+
compute_build_gpu_expire: string;
|
|
2380
|
+
|
|
2381
|
+
/**云原生开发cpu核时*/
|
|
2382
|
+
compute_develop_corehour: number;
|
|
2383
|
+
compute_develop_desc: string;
|
|
2384
|
+
|
|
2385
|
+
/**过期时间时为 null 时永久有效*/
|
|
2386
|
+
compute_develop_expire: string;
|
|
2387
|
+
|
|
2388
|
+
/**云原生开发gpu核时*/
|
|
2389
|
+
compute_develop_gpu_corehour: number;
|
|
2390
|
+
compute_develop_gpu_desc: string;
|
|
2391
|
+
|
|
2392
|
+
/**过期时间时为 null 时永久有效*/
|
|
2393
|
+
compute_develop_gpu_expire: string;
|
|
2394
|
+
storage_git_desc: string;
|
|
2395
|
+
|
|
2396
|
+
/**过期时间时为 null 时永久有效*/
|
|
2397
|
+
storage_git_expire: string;
|
|
2398
|
+
|
|
2399
|
+
/**git存储空间*/
|
|
2400
|
+
storage_git_gib: number;
|
|
2401
|
+
storage_object_desc: string;
|
|
2402
|
+
|
|
2403
|
+
/**过期时间时为 null 时永久有效*/
|
|
2404
|
+
storage_object_expire: string;
|
|
2405
|
+
|
|
2406
|
+
/**对象存储空间*/
|
|
2407
|
+
storage_object_gib: number;
|
|
2408
|
+
};
|
|
1924
2409
|
type DtoStarUser = {
|
|
1925
2410
|
avatar: string;
|
|
1926
2411
|
created_at: string;
|
|
@@ -1982,26 +2467,13 @@ type DtoStartWorkspaceResult = {
|
|
|
1982
2467
|
/**如果存在开发环境,则返回 WebIDE 访问 url;如果不存在开发环境,则返回启动云原生开发的 loading 页面 url 地址*/
|
|
1983
2468
|
url: string;
|
|
1984
2469
|
};
|
|
1985
|
-
type DtoTag = {
|
|
1986
|
-
cargo: DtoCommonRegistryTag[];
|
|
1987
|
-
composer: DtoCommonRegistryTag[];
|
|
1988
|
-
conan: DtoCommonRegistryTag[];
|
|
1989
|
-
docker: DtoContainerTag[];
|
|
1990
|
-
docker_model: DtoDockerModelTag[];
|
|
1991
|
-
helm: DtoChartTag[];
|
|
1992
|
-
maven: DtoCommonRegistryTag[];
|
|
1993
|
-
npm: DtoCommonRegistryTag[];
|
|
1994
|
-
nuget: DtoCommonRegistryTag[];
|
|
1995
|
-
ohpm: DtoCommonRegistryTag[];
|
|
1996
|
-
package: string;
|
|
1997
|
-
pypi: DtoCommonRegistryTag[];
|
|
1998
|
-
};
|
|
1999
2470
|
type DtoTagDetail = {
|
|
2000
2471
|
cargo: DtoCommonRegistryTagDetail;
|
|
2001
2472
|
composer: DtoCommonRegistryTagDetail;
|
|
2002
2473
|
conan: DtoConanRegistryTagDetail;
|
|
2003
2474
|
docker: DtoContainerTagDetail;
|
|
2004
2475
|
docker_model: DtoDockerModelTagDetail;
|
|
2476
|
+
generic: DtoCommonRegistryTagDetail;
|
|
2005
2477
|
helm: DtoChartTagDetail;
|
|
2006
2478
|
maven: DtoCommonRegistryTagDetail;
|
|
2007
2479
|
npm: DtoCommonRegistryTagDetail;
|
|
@@ -2041,11 +2513,16 @@ type DtoUpdateUserInfoPayload = {
|
|
|
2041
2513
|
wechat_mp_qrcode: string;
|
|
2042
2514
|
};
|
|
2043
2515
|
type DtoUploadAssetsResponse = {
|
|
2044
|
-
|
|
2516
|
+
/**资源信息。*/
|
|
2517
|
+
assets: any;
|
|
2518
|
+
|
|
2519
|
+
/**上传表单参数。*/
|
|
2045
2520
|
form: any;
|
|
2046
2521
|
|
|
2047
|
-
/**后续调用 confirm
|
|
2522
|
+
/**后续调用 confirm 接口用的。*/
|
|
2048
2523
|
token: string;
|
|
2524
|
+
|
|
2525
|
+
/**上传URL地址。*/
|
|
2049
2526
|
upload_url: string;
|
|
2050
2527
|
};
|
|
2051
2528
|
type DtoUploadBadgeReq = {
|
|
@@ -2075,8 +2552,13 @@ type DtoUploadBadgeResult = {
|
|
|
2075
2552
|
url: string;
|
|
2076
2553
|
};
|
|
2077
2554
|
type DtoUploadRequestParams = {
|
|
2555
|
+
/**文件扩展信息。*/
|
|
2078
2556
|
ext: any;
|
|
2557
|
+
|
|
2558
|
+
/**文件名。*/
|
|
2079
2559
|
name: string;
|
|
2560
|
+
|
|
2561
|
+
/**文件大小。*/
|
|
2080
2562
|
size: number;
|
|
2081
2563
|
};
|
|
2082
2564
|
type DtoUserFollowResult = {
|
|
@@ -2347,106 +2829,235 @@ type DtoWorkspaceStopResult = {
|
|
|
2347
2829
|
/**表示停止的开发环境流水线构建号*/
|
|
2348
2830
|
sn: string;
|
|
2349
2831
|
};
|
|
2350
|
-
type FlagsRepo = "Unknown" | "KnowledgeBase"
|
|
2832
|
+
type FlagsRepo = "Unknown" | "KnowledgeBase";
|
|
2351
2833
|
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiCommitStatus = {
|
|
2834
|
+
/**提交状态上下文标识符。*/
|
|
2352
2835
|
context: string;
|
|
2836
|
+
|
|
2837
|
+
/**创建时间。*/
|
|
2353
2838
|
created_at: string;
|
|
2839
|
+
|
|
2840
|
+
/**提交状态描述信息。*/
|
|
2354
2841
|
description: string;
|
|
2842
|
+
|
|
2843
|
+
/**提交状态。枚举值:`pending`,`success`,`failure`,`error`,`skip`*/
|
|
2355
2844
|
state: string;
|
|
2845
|
+
|
|
2846
|
+
/**提交状态详情链接。*/
|
|
2356
2847
|
target_url: string;
|
|
2848
|
+
|
|
2849
|
+
/**更新时间。*/
|
|
2357
2850
|
updated_at: string;
|
|
2358
2851
|
};
|
|
2852
|
+
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction = {
|
|
2853
|
+
/**该表情的数量。*/
|
|
2854
|
+
count: number;
|
|
2855
|
+
|
|
2856
|
+
/**当前用户是否已使用该 Reaction。*/
|
|
2857
|
+
has_reacted: boolean;
|
|
2858
|
+
|
|
2859
|
+
/**Reaction 表情类型。*/
|
|
2860
|
+
reaction: string;
|
|
2861
|
+
|
|
2862
|
+
/**最近使用该 Reaction 的用户列表。*/
|
|
2863
|
+
top_users: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo[];
|
|
2864
|
+
};
|
|
2359
2865
|
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo = {
|
|
2360
|
-
|
|
2866
|
+
/**用户邮箱。*/
|
|
2361
2867
|
email: string;
|
|
2362
2868
|
|
|
2363
|
-
|
|
2869
|
+
/**是否冻结。*/
|
|
2364
2870
|
freeze: boolean;
|
|
2365
2871
|
|
|
2366
|
-
|
|
2872
|
+
/**是否是 NPC。*/
|
|
2873
|
+
is_npc: boolean;
|
|
2874
|
+
|
|
2875
|
+
/**昵称。*/
|
|
2367
2876
|
nickname: string;
|
|
2368
2877
|
|
|
2369
|
-
|
|
2878
|
+
/**用户名。*/
|
|
2370
2879
|
username: string;
|
|
2371
2880
|
};
|
|
2372
2881
|
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus = {
|
|
2882
|
+
/**状态检查的上下文标识符。*/
|
|
2373
2883
|
context: string;
|
|
2884
|
+
|
|
2885
|
+
/**创建时间。*/
|
|
2374
2886
|
created_at: string;
|
|
2887
|
+
|
|
2888
|
+
/**状态检查的描述信息。*/
|
|
2375
2889
|
description: string;
|
|
2890
|
+
|
|
2891
|
+
/**状态检查结果。*/
|
|
2376
2892
|
state: string;
|
|
2893
|
+
|
|
2894
|
+
/**状态检查的详细信息链接地址。*/
|
|
2377
2895
|
target_url: string;
|
|
2896
|
+
|
|
2897
|
+
/**最后更新时间。*/
|
|
2378
2898
|
updated_at: string;
|
|
2379
2899
|
};
|
|
2900
|
+
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiSceneReaction = {
|
|
2901
|
+
/**该表情的数量。*/
|
|
2902
|
+
count: number;
|
|
2903
|
+
|
|
2904
|
+
/**当前用户是否已使用该 Reaction。*/
|
|
2905
|
+
has_reacted: boolean;
|
|
2906
|
+
|
|
2907
|
+
/**Reaction 表情类型。*/
|
|
2908
|
+
reaction: string;
|
|
2909
|
+
|
|
2910
|
+
/**最近使用该 Reaction 的用户列表。*/
|
|
2911
|
+
top_users: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
2912
|
+
};
|
|
2380
2913
|
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo = {
|
|
2914
|
+
is_npc: boolean;
|
|
2915
|
+
|
|
2916
|
+
/**昵称。*/
|
|
2381
2917
|
nickname: string;
|
|
2918
|
+
|
|
2919
|
+
/**用户名。*/
|
|
2382
2920
|
username: string;
|
|
2383
2921
|
};
|
|
2922
|
+
type GitWoaComCnbMonorepoPlatformServiceApiInternalModelsArtifactoryDtoTag = {
|
|
2923
|
+
cargo: DtoCommonRegistryTag[];
|
|
2924
|
+
composer: DtoCommonRegistryTag[];
|
|
2925
|
+
conan: DtoCommonRegistryTag[];
|
|
2926
|
+
docker: DtoContainerTag[];
|
|
2927
|
+
docker_model: DtoDockerModelTag[];
|
|
2928
|
+
generic: DtoCommonRegistryTag[];
|
|
2929
|
+
helm: DtoChartTag[];
|
|
2930
|
+
maven: DtoCommonRegistryTag[];
|
|
2931
|
+
npm: DtoCommonRegistryTag[];
|
|
2932
|
+
nuget: DtoCommonRegistryTag[];
|
|
2933
|
+
ohpm: DtoCommonRegistryTag[];
|
|
2934
|
+
package: string;
|
|
2935
|
+
pypi: DtoCommonRegistryTag[];
|
|
2936
|
+
};
|
|
2384
2937
|
type OpenapiCreateBranchForm = {
|
|
2938
|
+
/**新分支的名称。*/
|
|
2385
2939
|
name: string;
|
|
2940
|
+
|
|
2941
|
+
/**新分支的起始点。格式:`分支名称`,`提交哈希`,`标签名称`*/
|
|
2386
2942
|
start_point: string;
|
|
2387
2943
|
};
|
|
2388
2944
|
type OpenapiHeadRef = {
|
|
2945
|
+
/**分支名称。*/
|
|
2389
2946
|
name: string;
|
|
2947
|
+
|
|
2948
|
+
/**分支是否是保护分支。*/
|
|
2390
2949
|
protected: boolean;
|
|
2391
2950
|
};
|
|
2392
2951
|
type OpenapiIssuePropertiesForm = {
|
|
2952
|
+
/**Issue自定义属性列表。*/
|
|
2393
2953
|
properties: OpenapiPropertyForm[];
|
|
2394
2954
|
};
|
|
2395
2955
|
type OpenapiPatchReleaseForm = {
|
|
2956
|
+
/**版本描述。*/
|
|
2396
2957
|
body: string;
|
|
2958
|
+
|
|
2959
|
+
/**是否为草稿版本。*/
|
|
2397
2960
|
draft: boolean;
|
|
2961
|
+
|
|
2962
|
+
/**是否设置为最新版本。可选值:`true`,`false`,`legacy`*/
|
|
2398
2963
|
make_latest: string;
|
|
2964
|
+
|
|
2965
|
+
/**版本标题。*/
|
|
2399
2966
|
name: string;
|
|
2967
|
+
|
|
2968
|
+
/**是否为预发布版本。*/
|
|
2400
2969
|
prerelease: boolean;
|
|
2401
2970
|
};
|
|
2402
2971
|
type OpenapiPostCommitAssetUploadUrlForm = {
|
|
2972
|
+
/**附件名称*/
|
|
2403
2973
|
asset_name: string;
|
|
2404
2974
|
|
|
2405
2975
|
/**附件大小,单位为字节。 Attachment size, in bytes.*/
|
|
2406
2976
|
size: number;
|
|
2977
|
+
|
|
2978
|
+
/**附件存在时间,单位为天*/
|
|
2979
|
+
ttl: number;
|
|
2407
2980
|
};
|
|
2408
2981
|
type OpenapiPostReleaseAssetUploadUrlForm = {
|
|
2982
|
+
/**附件名称。*/
|
|
2409
2983
|
asset_name: string;
|
|
2984
|
+
|
|
2985
|
+
/**是否覆盖同名附件。*/
|
|
2410
2986
|
overwrite: boolean;
|
|
2411
2987
|
|
|
2412
|
-
|
|
2988
|
+
/**附件大小,单位为字节。*/
|
|
2413
2989
|
size: number;
|
|
2990
|
+
|
|
2991
|
+
/**附件存在时间,单位为天*/
|
|
2992
|
+
ttl: number;
|
|
2414
2993
|
};
|
|
2415
2994
|
type OpenapiPostReleaseForm = {
|
|
2995
|
+
/**版本描述。*/
|
|
2416
2996
|
body: string;
|
|
2997
|
+
|
|
2998
|
+
/**是否为草稿版本。*/
|
|
2417
2999
|
draft: boolean;
|
|
3000
|
+
|
|
3001
|
+
/**是否设置为最新版本。可选值:`true`,`false`,`legacy`*/
|
|
2418
3002
|
make_latest: string;
|
|
3003
|
+
|
|
3004
|
+
/**版本标题。*/
|
|
2419
3005
|
name: string;
|
|
3006
|
+
|
|
3007
|
+
/**是否为预发布版本。*/
|
|
2420
3008
|
prerelease: boolean;
|
|
3009
|
+
|
|
3010
|
+
/**标签名称。*/
|
|
2421
3011
|
tag_name: string;
|
|
3012
|
+
|
|
3013
|
+
/**目标提交哈希或分支名称。*/
|
|
2422
3014
|
target_commitish: string;
|
|
2423
3015
|
};
|
|
2424
3016
|
type OpenapiPropertyForm = {
|
|
3017
|
+
/**Issue自定义属性键名。*/
|
|
2425
3018
|
key: string;
|
|
3019
|
+
|
|
3020
|
+
/**Issue自定义属性值。*/
|
|
2426
3021
|
value: string;
|
|
2427
3022
|
};
|
|
2428
3023
|
type OpenapiPutCommitAnnotation = {
|
|
3024
|
+
/**元数据键名。*/
|
|
2429
3025
|
key: string;
|
|
3026
|
+
|
|
3027
|
+
/**元数据值。*/
|
|
2430
3028
|
value: string;
|
|
2431
3029
|
};
|
|
2432
3030
|
type OpenapiPutCommitAnnotationsForm = {
|
|
3031
|
+
/**提交元数据列表。*/
|
|
2433
3032
|
annotations: OpenapiPutCommitAnnotation[];
|
|
2434
3033
|
};
|
|
2435
3034
|
type OpenapiPutTagAnnotation = {
|
|
3035
|
+
/**标签元数据的键名。*/
|
|
2436
3036
|
key: string;
|
|
3037
|
+
|
|
3038
|
+
/**标签元数据的值。*/
|
|
2437
3039
|
value: string;
|
|
2438
3040
|
};
|
|
2439
3041
|
type OpenapiPutTagAnnotationsForm = {
|
|
3042
|
+
/**设置tag元数据列表信息。*/
|
|
2440
3043
|
annotations: OpenapiPutTagAnnotation[];
|
|
2441
3044
|
};
|
|
2442
|
-
type OrganizationSettingValue = "disable_organization_readme" | "cloud_native_dev_only" | "user_root_group_branch_protection_only" | "forbid_redefine_branch_protection" | "enable_tapd_access" | "enable_show_private_mission_water_mark" | "prevent_organization_creation" | "prevent_repository_creation" | "prevent_mission_creation" | "prevent_registry_creation" | "disable_invitation" | "prevent_visibility_modification" | "prevent_resource_deletion" | "prevent_repository_archival" | "prevent_organization_transfer" | "prevent_repository_transfer" | "prevent_mission_transfer" | "prevent_registry_transfer" | "use_group_git_quota" | "use_group_git_object_limit" | "
|
|
3045
|
+
type OrganizationSettingValue = "disable_organization_readme" | "cloud_native_dev_only" | "user_root_group_branch_protection_only" | "forbid_redefine_branch_protection" | "enable_tapd_access" | "enable_show_private_mission_water_mark" | "prevent_organization_creation" | "prevent_repository_creation" | "prevent_mission_creation" | "prevent_registry_creation" | "disable_invitation" | "prevent_visibility_modification" | "prevent_resource_deletion" | "prevent_repository_archival" | "prevent_organization_transfer" | "prevent_repository_transfer" | "prevent_mission_transfer" | "prevent_registry_transfer" | "use_group_git_quota" | "use_group_git_object_limit" | "enable_add_member_only_root" | "use_root_group_git_push_limit" | "enable_add_member" | "enable_change_member_role_only_root" | "enable_other_group_npc_add_comment";
|
|
2443
3046
|
type WebCommitAnnotation = {
|
|
3047
|
+
/**元数据键名。*/
|
|
2444
3048
|
key: string;
|
|
3049
|
+
|
|
3050
|
+
/**扩展元数据。*/
|
|
2445
3051
|
meta: any;
|
|
3052
|
+
|
|
3053
|
+
/**元数据值。*/
|
|
2446
3054
|
value: string;
|
|
2447
3055
|
};
|
|
2448
3056
|
type WebCommitAnnotationInBatch = {
|
|
3057
|
+
/**提交元数据列表。*/
|
|
2449
3058
|
annotations: WebCommitAnnotation[];
|
|
3059
|
+
|
|
3060
|
+
/**提交哈希值。*/
|
|
2450
3061
|
commit_hash: string;
|
|
2451
3062
|
};
|
|
2452
3063
|
type WebContributorTrend = {
|
|
@@ -2460,7 +3071,10 @@ type WebContributorTrend = {
|
|
|
2460
3071
|
weeks: WebWeek[];
|
|
2461
3072
|
};
|
|
2462
3073
|
type WebGetCommitAnnotationsInBatchForm = {
|
|
3074
|
+
/**提交哈希值列表。*/
|
|
2463
3075
|
commit_hashes: string[];
|
|
3076
|
+
|
|
3077
|
+
/**元数据键列表。*/
|
|
2464
3078
|
keys: string[];
|
|
2465
3079
|
};
|
|
2466
3080
|
type WebMeta = {
|
|
@@ -2479,8 +3093,13 @@ type WebRepoContribTrend = {
|
|
|
2479
3093
|
with_line_counts: boolean;
|
|
2480
3094
|
};
|
|
2481
3095
|
type WebTagAnnotation = {
|
|
3096
|
+
/**元数据键名。*/
|
|
2482
3097
|
key: string;
|
|
3098
|
+
|
|
3099
|
+
/**元数据信息,用于记录标签元数据的更新操作信息,包括操作者、操作时间、平台来源等审计信息。*/
|
|
2483
3100
|
meta: any;
|
|
3101
|
+
|
|
3102
|
+
/**元数据值。*/
|
|
2484
3103
|
value: string;
|
|
2485
3104
|
};
|
|
2486
3105
|
type WebWeek = {
|
|
@@ -2514,7 +3133,7 @@ type Users_AutoCompleteSource = (params?: {
|
|
|
2514
3133
|
page?: number;
|
|
2515
3134
|
page_size?: number;
|
|
2516
3135
|
search?: string;
|
|
2517
|
-
access?: "Reporter" | "Developer" | "Master" | "Owner";
|
|
3136
|
+
access?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
2518
3137
|
order_by?: "created_at" | "slug_path";
|
|
2519
3138
|
desc?: boolean;
|
|
2520
3139
|
}) => Promise<string[]>;
|
|
@@ -2540,7 +3159,7 @@ type Repositories_GetRepos = (params?: {
|
|
|
2540
3159
|
page_size?: number;
|
|
2541
3160
|
search?: string;
|
|
2542
3161
|
filter_type?: "private" | "public" | "secret";
|
|
2543
|
-
role?: "Reporter" | "Developer" | "Master" | "Owner";
|
|
3162
|
+
role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
2544
3163
|
flags?: "KnowledgeBase";
|
|
2545
3164
|
status?: "active" | "archived";
|
|
2546
3165
|
order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
|
|
@@ -2591,7 +3210,7 @@ type Repositories_GetReposByUserName = (params: {
|
|
|
2591
3210
|
filter_type?: "private" | "public" | "secret";
|
|
2592
3211
|
flags?: "KnowledgeBase";
|
|
2593
3212
|
status?: "active" | "archived";
|
|
2594
|
-
role?: "Reporter" | "Developer" | "Master" | "Owner";
|
|
3213
|
+
role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
2595
3214
|
page?: number;
|
|
2596
3215
|
page_size?: number;
|
|
2597
3216
|
desc?: boolean;
|
|
@@ -2612,7 +3231,7 @@ type Workspace_ListWorkspaces = (params?: {
|
|
|
2612
3231
|
branch?: string;
|
|
2613
3232
|
end?: string;
|
|
2614
3233
|
page?: number;
|
|
2615
|
-
|
|
3234
|
+
page_size?: number;
|
|
2616
3235
|
slug?: string;
|
|
2617
3236
|
start?: string;
|
|
2618
3237
|
status?: string;
|
|
@@ -2735,6 +3354,10 @@ type AI_AiChatCompletions = (params: {
|
|
|
2735
3354
|
repo: string;
|
|
2736
3355
|
request: DtoAiChatCompletionsReq;
|
|
2737
3356
|
}) => Promise<DtoAiChatCompletionsResult>;
|
|
3357
|
+
type Assets_DeleteAsset = (params: {
|
|
3358
|
+
repo: string;
|
|
3359
|
+
assetID: number;
|
|
3360
|
+
}) => Promise<any>;
|
|
2738
3361
|
type Badge_GetBadge = (params: {
|
|
2739
3362
|
repo: string;
|
|
2740
3363
|
sha: string;
|
|
@@ -2763,7 +3386,7 @@ type Build_GetBuildLogs = (params: {
|
|
|
2763
3386
|
endTime?: string;
|
|
2764
3387
|
event?: string;
|
|
2765
3388
|
page?: number;
|
|
2766
|
-
|
|
3389
|
+
page_size?: number;
|
|
2767
3390
|
sha?: string;
|
|
2768
3391
|
sn?: string;
|
|
2769
3392
|
sourceRef?: string;
|
|
@@ -2804,6 +3427,10 @@ type Git_GetCommitAssets = (params: {
|
|
|
2804
3427
|
filename: string;
|
|
2805
3428
|
share?: boolean;
|
|
2806
3429
|
}) => Promise<any>;
|
|
3430
|
+
type Pulls_DeleteRepoFiles = (params: {
|
|
3431
|
+
repo: string;
|
|
3432
|
+
filePath: string;
|
|
3433
|
+
}) => Promise<any>;
|
|
2807
3434
|
type Repositories_ListForksRepos = (params: {
|
|
2808
3435
|
repo: string;
|
|
2809
3436
|
start_from_root?: boolean;
|
|
@@ -2826,6 +3453,14 @@ type Git_CreateBlob = (params: {
|
|
|
2826
3453
|
repo: string;
|
|
2827
3454
|
post_blob_form: ApiPostBlobForm;
|
|
2828
3455
|
}) => Promise<any>;
|
|
3456
|
+
type Git_CreateBranchLock = (params: {
|
|
3457
|
+
repo: string;
|
|
3458
|
+
branch: string;
|
|
3459
|
+
}) => Promise<any>;
|
|
3460
|
+
type Git_DeleteBranchLock = (params: {
|
|
3461
|
+
repo: string;
|
|
3462
|
+
branch: string;
|
|
3463
|
+
}) => Promise<any>;
|
|
2829
3464
|
type Git_ListBranches = (params: {
|
|
2830
3465
|
repo: string;
|
|
2831
3466
|
page?: number;
|
|
@@ -2870,6 +3505,7 @@ type Git_PostCommitAssetUploadConfirmation = (params: {
|
|
|
2870
3505
|
sha1: string;
|
|
2871
3506
|
upload_token: string;
|
|
2872
3507
|
asset_path: string;
|
|
3508
|
+
ttl?: number;
|
|
2873
3509
|
}) => Promise<any>;
|
|
2874
3510
|
type Git_PostCommitAssetUploadURL = (params: {
|
|
2875
3511
|
repo: string;
|
|
@@ -2950,6 +3586,10 @@ type Git_DeleteTag = (params: {
|
|
|
2950
3586
|
repo: string;
|
|
2951
3587
|
tag: string;
|
|
2952
3588
|
}) => Promise<any>;
|
|
3589
|
+
type Pulls_DeleteRepoImgs = (params: {
|
|
3590
|
+
repo: string;
|
|
3591
|
+
imgPath: string;
|
|
3592
|
+
}) => Promise<any>;
|
|
2953
3593
|
type Members_ListInheritMembersOfRepo = (params: {
|
|
2954
3594
|
repo: string;
|
|
2955
3595
|
search?: string;
|
|
@@ -3014,6 +3654,7 @@ type Issues_CanUserBeAssignedToIssue = (params: {
|
|
|
3014
3654
|
type Issues_ListIssueComments = (params: {
|
|
3015
3655
|
repo: string;
|
|
3016
3656
|
number: number;
|
|
3657
|
+
sort?: string;
|
|
3017
3658
|
page?: number;
|
|
3018
3659
|
page_size?: number;
|
|
3019
3660
|
}) => Promise<ApiIssueComment[]>;
|
|
@@ -3024,8 +3665,8 @@ type Issues_PostIssueComment = (params: {
|
|
|
3024
3665
|
}) => Promise<any>;
|
|
3025
3666
|
type Issues_GetIssueComment = (params: {
|
|
3026
3667
|
repo: string;
|
|
3027
|
-
number:
|
|
3028
|
-
comment_id:
|
|
3668
|
+
number: number;
|
|
3669
|
+
comment_id: number;
|
|
3029
3670
|
}) => Promise<ApiIssueComment>;
|
|
3030
3671
|
type Issues_PatchIssueComment = (params: {
|
|
3031
3672
|
repo: string;
|
|
@@ -3058,11 +3699,11 @@ type Issues_DeleteIssueLabel = (params: {
|
|
|
3058
3699
|
number: number;
|
|
3059
3700
|
name: string;
|
|
3060
3701
|
}) => Promise<ApiLabel>;
|
|
3061
|
-
type
|
|
3702
|
+
type Issues_UpdateIssueProperties = (params: {
|
|
3062
3703
|
repo: string;
|
|
3063
3704
|
number: number;
|
|
3064
3705
|
issue_properties_form: OpenapiIssuePropertiesForm;
|
|
3065
|
-
}) => Promise<
|
|
3706
|
+
}) => Promise<ApiIssuePropertyUpdateResult>;
|
|
3066
3707
|
type KnowledgeBase_GetKnowledgeBaseInfo = (params: {
|
|
3067
3708
|
repo: string;
|
|
3068
3709
|
}) => Promise<DtoKnowledgeBaseInfoRes>;
|
|
@@ -3095,11 +3736,6 @@ type RepoLabels_PatchLabel = (params: {
|
|
|
3095
3736
|
name: string;
|
|
3096
3737
|
patch_label_form: ApiPatchLabelForm;
|
|
3097
3738
|
}) => Promise<ApiLabel>;
|
|
3098
|
-
type Git_GetPresignedLFSDownloadLink = (params: {
|
|
3099
|
-
slug: string;
|
|
3100
|
-
oid: string;
|
|
3101
|
-
name: string;
|
|
3102
|
-
}) => Promise<any>;
|
|
3103
3739
|
type Members_ListMembersOfRepo = (params: {
|
|
3104
3740
|
repo: string;
|
|
3105
3741
|
page?: number;
|
|
@@ -3140,7 +3776,9 @@ type Pulls_ListPulls = (params: {
|
|
|
3140
3776
|
state?: string;
|
|
3141
3777
|
authors?: string;
|
|
3142
3778
|
reviewers?: string;
|
|
3779
|
+
reviewers_operator?: string;
|
|
3143
3780
|
assignees?: string;
|
|
3781
|
+
assignees_operator?: string;
|
|
3144
3782
|
labels?: string;
|
|
3145
3783
|
labels_operator?: string;
|
|
3146
3784
|
base_ref?: string;
|
|
@@ -3215,7 +3853,7 @@ type Pulls_ListPullFiles = (params: {
|
|
|
3215
3853
|
}) => Promise<ApiPullFile[]>;
|
|
3216
3854
|
type Pulls_ListPullLabels = (params: {
|
|
3217
3855
|
repo: string;
|
|
3218
|
-
number:
|
|
3856
|
+
number: number;
|
|
3219
3857
|
page?: number;
|
|
3220
3858
|
page_size?: number;
|
|
3221
3859
|
}) => Promise<ApiLabel[]>;
|
|
@@ -3261,6 +3899,12 @@ type Pulls_ListPullReviewComments = (params: {
|
|
|
3261
3899
|
page?: number;
|
|
3262
3900
|
page_size?: number;
|
|
3263
3901
|
}) => Promise<ApiPullReviewComment[]>;
|
|
3902
|
+
type Pulls_PostPullRequestReviewReply = (params: {
|
|
3903
|
+
repo: string;
|
|
3904
|
+
number: number;
|
|
3905
|
+
review_id: number;
|
|
3906
|
+
post_pull_request_review_reply_form: ApiPostPullRequestReviewReplyForm;
|
|
3907
|
+
}) => Promise<any>;
|
|
3264
3908
|
type Releases_ListReleases = (params: {
|
|
3265
3909
|
repo: string;
|
|
3266
3910
|
page?: number;
|
|
@@ -3301,6 +3945,7 @@ type Releases_PostReleaseAssetUploadConfirmation = (params: {
|
|
|
3301
3945
|
release_id: string;
|
|
3302
3946
|
upload_token: string;
|
|
3303
3947
|
asset_path: string;
|
|
3948
|
+
ttl?: number;
|
|
3304
3949
|
}) => Promise<any>;
|
|
3305
3950
|
type Releases_PostReleaseAssetUploadURL = (params: {
|
|
3306
3951
|
repo: string;
|
|
@@ -3391,11 +4036,24 @@ type Workspace_StartWorkspace = (params: {
|
|
|
3391
4036
|
repo: string;
|
|
3392
4037
|
request: DtoStartWorkspaceReq;
|
|
3393
4038
|
}) => Promise<DtoStartWorkspaceResult>;
|
|
4039
|
+
type Charge_GetSpecialAmount = (params: {
|
|
4040
|
+
slug: string;
|
|
4041
|
+
}) => Promise<DtoSpecialAmount>;
|
|
3394
4042
|
type RepoContributor_GetRepoContributorTrend = (params: {
|
|
3395
4043
|
slug: string;
|
|
3396
4044
|
limit?: number;
|
|
3397
4045
|
exclude_external_users?: boolean;
|
|
3398
4046
|
}) => Promise<WebRepoContribTrend>;
|
|
4047
|
+
type Git_GetPresignedLFSDownloadLink = (params: {
|
|
4048
|
+
slug: string;
|
|
4049
|
+
oid: string;
|
|
4050
|
+
name: string;
|
|
4051
|
+
}) => Promise<any>;
|
|
4052
|
+
type Assets_ListAssets = (params: {
|
|
4053
|
+
slug: string;
|
|
4054
|
+
page?: number;
|
|
4055
|
+
page_size?: number;
|
|
4056
|
+
}) => Promise<DtoAssetRecords[]>;
|
|
3399
4057
|
type Members_ListAllMembers = (params: {
|
|
3400
4058
|
slug: string;
|
|
3401
4059
|
page?: number;
|
|
@@ -3438,7 +4096,7 @@ type Members_DeleteOutsideCollaborators = (params: {
|
|
|
3438
4096
|
}) => Promise<any>;
|
|
3439
4097
|
type Registries_ListPackages = (params: {
|
|
3440
4098
|
slug: string;
|
|
3441
|
-
type: "all" | "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
4099
|
+
type: "all" | "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
|
|
3442
4100
|
page?: number;
|
|
3443
4101
|
page_size?: number;
|
|
3444
4102
|
ordering?: "pull_count" | "last_push_at" | "name_ascend" | "name_descend";
|
|
@@ -3451,12 +4109,12 @@ type Registries_GetPackage = (params: {
|
|
|
3451
4109
|
}) => Promise<DtoPackageDetail>;
|
|
3452
4110
|
type Registries_DeletePackage = (params: {
|
|
3453
4111
|
slug: string;
|
|
3454
|
-
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
4112
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
|
|
3455
4113
|
name: string;
|
|
3456
4114
|
}) => Promise<any>;
|
|
3457
4115
|
type Registries_GetPackageTagDetail = (params: {
|
|
3458
4116
|
slug: string;
|
|
3459
|
-
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
4117
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
|
|
3460
4118
|
name: string;
|
|
3461
4119
|
tag: string;
|
|
3462
4120
|
sha256?: string;
|
|
@@ -3464,19 +4122,19 @@ type Registries_GetPackageTagDetail = (params: {
|
|
|
3464
4122
|
}) => Promise<DtoTagDetail>;
|
|
3465
4123
|
type Registries_DeletePackageTag = (params: {
|
|
3466
4124
|
slug: string;
|
|
3467
|
-
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
4125
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
|
|
3468
4126
|
name: string;
|
|
3469
4127
|
tag: string;
|
|
3470
4128
|
}) => Promise<any>;
|
|
3471
4129
|
type Registries_ListPackageTags = (params: {
|
|
3472
4130
|
slug: string;
|
|
3473
|
-
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
4131
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
|
|
3474
4132
|
name: string;
|
|
3475
4133
|
page?: number;
|
|
3476
4134
|
page_size?: number;
|
|
3477
4135
|
ordering?: "pull_count" | "last_push_at";
|
|
3478
|
-
|
|
3479
|
-
}) => Promise<
|
|
4136
|
+
tag_name?: string;
|
|
4137
|
+
}) => Promise<GitWoaComCnbMonorepoPlatformServiceApiInternalModelsArtifactoryDtoTag>;
|
|
3480
4138
|
type Repositories_GetPinnedRepoByGroup = (params: {
|
|
3481
4139
|
slug: string;
|
|
3482
4140
|
}) => Promise<DtoRepos4UserBase[]>;
|
|
@@ -4077,6 +4735,18 @@ interface Client {
|
|
|
4077
4735
|
};
|
|
4078
4736
|
};
|
|
4079
4737
|
};
|
|
4738
|
+
assets: {
|
|
4739
|
+
/***
|
|
4740
|
+
* 通过 asset 记录 id 删除一个 asset
|
|
4741
|
+
*
|
|
4742
|
+
* 通过 asset 记录 id 删除一个 asset,release和commit附件不能通过该接口删除
|
|
4743
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4744
|
+
* repo-manage:rw
|
|
4745
|
+
*
|
|
4746
|
+
* /{repo}/-/assets/{assetID}
|
|
4747
|
+
*/
|
|
4748
|
+
delete: Assets_DeleteAsset;
|
|
4749
|
+
};
|
|
4080
4750
|
badge: {
|
|
4081
4751
|
git: {
|
|
4082
4752
|
/***
|
|
@@ -4233,6 +4903,18 @@ interface Client {
|
|
|
4233
4903
|
get: Git_GetCommitAssets;
|
|
4234
4904
|
};
|
|
4235
4905
|
};
|
|
4906
|
+
files: {
|
|
4907
|
+
/***
|
|
4908
|
+
* 删除 UploadFiles 上传的附件
|
|
4909
|
+
*
|
|
4910
|
+
* 删除 UploadFiles 上传的附件
|
|
4911
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4912
|
+
* repo-manage:rw
|
|
4913
|
+
*
|
|
4914
|
+
* /{repo}/-/files/{filePath}
|
|
4915
|
+
*/
|
|
4916
|
+
delete: Pulls_DeleteRepoFiles;
|
|
4917
|
+
};
|
|
4236
4918
|
forks: {
|
|
4237
4919
|
/***
|
|
4238
4920
|
* 获取指定仓库的 fork 列表。Get fork list for specified repository.
|
|
@@ -4289,6 +4971,27 @@ interface Client {
|
|
|
4289
4971
|
*/
|
|
4290
4972
|
post: Git_CreateBlob;
|
|
4291
4973
|
};
|
|
4974
|
+
branchLocks: {
|
|
4975
|
+
/***
|
|
4976
|
+
* 锁定分支
|
|
4977
|
+
*
|
|
4978
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4979
|
+
* repo-code:rw
|
|
4980
|
+
*
|
|
4981
|
+
* /{repo}/-/git/branch-locks/{branch}
|
|
4982
|
+
*/
|
|
4983
|
+
post: Git_CreateBranchLock;
|
|
4984
|
+
|
|
4985
|
+
/***
|
|
4986
|
+
* 解除锁定分支
|
|
4987
|
+
*
|
|
4988
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4989
|
+
* repo-code:rw
|
|
4990
|
+
*
|
|
4991
|
+
* /{repo}/-/git/branch-locks/{branch}
|
|
4992
|
+
*/
|
|
4993
|
+
delete: Git_DeleteBranchLock;
|
|
4994
|
+
};
|
|
4292
4995
|
branches: {
|
|
4293
4996
|
/***
|
|
4294
4997
|
* 查询分支列表。List branches.
|
|
@@ -4574,6 +5277,18 @@ interface Client {
|
|
|
4574
5277
|
delete: Git_DeleteTag;
|
|
4575
5278
|
};
|
|
4576
5279
|
};
|
|
5280
|
+
imgs: {
|
|
5281
|
+
/***
|
|
5282
|
+
* 删除 UploadImgs 上传的图片
|
|
5283
|
+
*
|
|
5284
|
+
* 删除 UploadImgs 上传的图片
|
|
5285
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5286
|
+
* repo-manage:rw
|
|
5287
|
+
*
|
|
5288
|
+
* /{repo}/-/imgs/{imgPath}
|
|
5289
|
+
*/
|
|
5290
|
+
delete: Pulls_DeleteRepoImgs;
|
|
5291
|
+
};
|
|
4577
5292
|
inheritMembers: {
|
|
4578
5293
|
/***
|
|
4579
5294
|
* 获取指定仓库内的继承成员。List inherited members within specified repository。
|
|
@@ -4590,7 +5305,7 @@ interface Client {
|
|
|
4590
5305
|
* 查询仓库的 Issues。List issues.
|
|
4591
5306
|
*
|
|
4592
5307
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4593
|
-
* repo-
|
|
5308
|
+
* repo-issue:r
|
|
4594
5309
|
*
|
|
4595
5310
|
* /{repo}/-/issues
|
|
4596
5311
|
*/
|
|
@@ -4600,7 +5315,7 @@ interface Client {
|
|
|
4600
5315
|
* 创建一个 Issue。Create an issue.
|
|
4601
5316
|
*
|
|
4602
5317
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4603
|
-
* repo-
|
|
5318
|
+
* repo-issue:rw
|
|
4604
5319
|
*
|
|
4605
5320
|
* /{repo}/-/issues
|
|
4606
5321
|
*/
|
|
@@ -4610,7 +5325,7 @@ interface Client {
|
|
|
4610
5325
|
* 查询指定的 Issues。Get an issue.
|
|
4611
5326
|
*
|
|
4612
5327
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4613
|
-
* repo-
|
|
5328
|
+
* repo-issue:r
|
|
4614
5329
|
*
|
|
4615
5330
|
* /{repo}/-/issues/{number}
|
|
4616
5331
|
*/
|
|
@@ -4620,7 +5335,7 @@ interface Client {
|
|
|
4620
5335
|
* 更新一个 Issue。Update an issue.
|
|
4621
5336
|
*
|
|
4622
5337
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4623
|
-
* repo-
|
|
5338
|
+
* repo-issue:rw
|
|
4624
5339
|
*
|
|
4625
5340
|
* /{repo}/-/issues/{number}
|
|
4626
5341
|
*/
|
|
@@ -4630,7 +5345,7 @@ interface Client {
|
|
|
4630
5345
|
* 查询指定 issue 的处理人。 List repository issue assignees.
|
|
4631
5346
|
*
|
|
4632
5347
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4633
|
-
* repo-
|
|
5348
|
+
* repo-issue:r
|
|
4634
5349
|
*
|
|
4635
5350
|
* /{repo}/-/issues/{number}/assignees
|
|
4636
5351
|
*/
|
|
@@ -4640,7 +5355,7 @@ interface Client {
|
|
|
4640
5355
|
* 添加处理人到指定的 issue。 Adds up to assignees to a issue, Users already assigned to an issue are not replaced.
|
|
4641
5356
|
*
|
|
4642
5357
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4643
|
-
* repo-
|
|
5358
|
+
* repo-issue:rw
|
|
4644
5359
|
*
|
|
4645
5360
|
* /{repo}/-/issues/{number}/assignees
|
|
4646
5361
|
*/
|
|
@@ -4650,7 +5365,7 @@ interface Client {
|
|
|
4650
5365
|
* 删除 issue 中的处理人。 Removes one or more assignees from an issue.
|
|
4651
5366
|
*
|
|
4652
5367
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4653
|
-
* repo-
|
|
5368
|
+
* repo-issue:rw
|
|
4654
5369
|
*
|
|
4655
5370
|
* /{repo}/-/issues/{number}/assignees
|
|
4656
5371
|
*/
|
|
@@ -4660,7 +5375,7 @@ interface Client {
|
|
|
4660
5375
|
* 更新 issue 中的处理人。 Updates the assignees of an issue.
|
|
4661
5376
|
*
|
|
4662
5377
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4663
|
-
* repo-
|
|
5378
|
+
* repo-issue:rw
|
|
4664
5379
|
*
|
|
4665
5380
|
* /{repo}/-/issues/{number}/assignees
|
|
4666
5381
|
*/
|
|
@@ -4670,7 +5385,7 @@ interface Client {
|
|
|
4670
5385
|
* 检查用户是否可以被添加到 issue 的处理人中。 Checks if a user can be assigned to an issue.
|
|
4671
5386
|
*
|
|
4672
5387
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4673
|
-
* repo-
|
|
5388
|
+
* repo-issue:r
|
|
4674
5389
|
*
|
|
4675
5390
|
* /{repo}/-/issues/{number}/assignees/{assignee}
|
|
4676
5391
|
*/
|
|
@@ -4722,7 +5437,7 @@ interface Client {
|
|
|
4722
5437
|
* 查询 issue 的标签列表。List labels for an issue.
|
|
4723
5438
|
*
|
|
4724
5439
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4725
|
-
* repo-
|
|
5440
|
+
* repo-issue:r
|
|
4726
5441
|
*
|
|
4727
5442
|
* /{repo}/-/issues/{number}/labels
|
|
4728
5443
|
*/
|
|
@@ -4732,7 +5447,7 @@ interface Client {
|
|
|
4732
5447
|
* 设置 issue 标签。 Set the new labels for an issue.
|
|
4733
5448
|
*
|
|
4734
5449
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4735
|
-
* repo-
|
|
5450
|
+
* repo-issue:rw
|
|
4736
5451
|
*
|
|
4737
5452
|
* /{repo}/-/issues/{number}/labels
|
|
4738
5453
|
*/
|
|
@@ -4742,7 +5457,7 @@ interface Client {
|
|
|
4742
5457
|
* 新增 issue 标签。Add labels to an issue.
|
|
4743
5458
|
*
|
|
4744
5459
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4745
|
-
* repo-
|
|
5460
|
+
* repo-issue:rw
|
|
4746
5461
|
*
|
|
4747
5462
|
* /{repo}/-/issues/{number}/labels
|
|
4748
5463
|
*/
|
|
@@ -4752,7 +5467,7 @@ interface Client {
|
|
|
4752
5467
|
* 清空 issue 标签。Remove all labels from an issue.
|
|
4753
5468
|
*
|
|
4754
5469
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4755
|
-
* repo-
|
|
5470
|
+
* repo-issue:rw
|
|
4756
5471
|
*
|
|
4757
5472
|
* /{repo}/-/issues/{number}/labels
|
|
4758
5473
|
*/
|
|
@@ -4762,7 +5477,7 @@ interface Client {
|
|
|
4762
5477
|
* 删除 issue 标签。Remove a label from an issue.
|
|
4763
5478
|
*
|
|
4764
5479
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4765
|
-
* repo-
|
|
5480
|
+
* repo-issue:rw
|
|
4766
5481
|
*
|
|
4767
5482
|
* /{repo}/-/issues/{number}/labels/{name}
|
|
4768
5483
|
*/
|
|
@@ -4770,15 +5485,15 @@ interface Client {
|
|
|
4770
5485
|
};
|
|
4771
5486
|
property: {
|
|
4772
5487
|
/***
|
|
4773
|
-
*
|
|
5488
|
+
* 批量更新Issue自定义属性值
|
|
4774
5489
|
*
|
|
4775
|
-
* 为指定Issue
|
|
5490
|
+
* 为指定Issue批量更新多个自定义属性的值,要求属性 key 必须已存在,允许部分失败
|
|
4776
5491
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4777
|
-
* repo-
|
|
5492
|
+
* repo-issue:rw
|
|
4778
5493
|
*
|
|
4779
5494
|
* /{repo}/-/issues/{number}/property
|
|
4780
5495
|
*/
|
|
4781
|
-
|
|
5496
|
+
patch: Issues_UpdateIssueProperties;
|
|
4782
5497
|
};
|
|
4783
5498
|
};
|
|
4784
5499
|
knowledge: {
|
|
@@ -4869,17 +5584,6 @@ interface Client {
|
|
|
4869
5584
|
*/
|
|
4870
5585
|
patch: RepoLabels_PatchLabel;
|
|
4871
5586
|
};
|
|
4872
|
-
lfs: {
|
|
4873
|
-
/***
|
|
4874
|
-
* 获取 git lfs 文件下载链接
|
|
4875
|
-
*
|
|
4876
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4877
|
-
* repo-code:r
|
|
4878
|
-
*
|
|
4879
|
-
* /{repo}/-/lfs/{oid}
|
|
4880
|
-
*/
|
|
4881
|
-
get: Git_GetPresignedLFSDownloadLink;
|
|
4882
|
-
};
|
|
4883
5587
|
members: {
|
|
4884
5588
|
/***
|
|
4885
5589
|
* 获取指定仓库内的所有直接成员。List all direct members within specified repository.
|
|
@@ -4998,7 +5702,7 @@ interface Client {
|
|
|
4998
5702
|
* 查询指定合并请求的处理人。List repository pull request assignees.
|
|
4999
5703
|
*
|
|
5000
5704
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5001
|
-
* repo-
|
|
5705
|
+
* repo-pr:r
|
|
5002
5706
|
*
|
|
5003
5707
|
* /{repo}/-/pulls/{number}/assignees
|
|
5004
5708
|
*/
|
|
@@ -5008,7 +5712,7 @@ interface Client {
|
|
|
5008
5712
|
* 添加处理人到指定的合并请求。 Adds up to assignees to a pull request. Users already assigned to an issue are not replaced.
|
|
5009
5713
|
*
|
|
5010
5714
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5011
|
-
* repo-
|
|
5715
|
+
* repo-pr:rw
|
|
5012
5716
|
*
|
|
5013
5717
|
* /{repo}/-/pulls/{number}/assignees
|
|
5014
5718
|
*/
|
|
@@ -5018,7 +5722,7 @@ interface Client {
|
|
|
5018
5722
|
* 删除合并请求中的处理人 Removes one or more assignees from a pull request.
|
|
5019
5723
|
*
|
|
5020
5724
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5021
|
-
* repo-
|
|
5725
|
+
* repo-pr:rw
|
|
5022
5726
|
*
|
|
5023
5727
|
* /{repo}/-/pulls/{number}/assignees
|
|
5024
5728
|
*/
|
|
@@ -5028,7 +5732,7 @@ interface Client {
|
|
|
5028
5732
|
* 检查用户是否可以被添加到合并请求的处理人中。 Checks if a user can be assigned to a pull request.
|
|
5029
5733
|
*
|
|
5030
5734
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5031
|
-
* repo-
|
|
5735
|
+
* repo-pr:r
|
|
5032
5736
|
*
|
|
5033
5737
|
* /{repo}/-/pulls/{number}/assignees/{assignee}
|
|
5034
5738
|
*/
|
|
@@ -5091,7 +5795,7 @@ interface Client {
|
|
|
5091
5795
|
* 查询指定合并请求的提交列表。Lists the commits in a specified pull request.
|
|
5092
5796
|
*
|
|
5093
5797
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5094
|
-
* repo-
|
|
5798
|
+
* repo-pr:r
|
|
5095
5799
|
*
|
|
5096
5800
|
* /{repo}/-/pulls/{number}/commits
|
|
5097
5801
|
*/
|
|
@@ -5102,7 +5806,7 @@ interface Client {
|
|
|
5102
5806
|
* 查询指定合并请求的文件列表。Lists the files in a specified pull request.
|
|
5103
5807
|
*
|
|
5104
5808
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5105
|
-
* repo-
|
|
5809
|
+
* repo-pr:r
|
|
5106
5810
|
*
|
|
5107
5811
|
* /{repo}/-/pulls/{number}/files
|
|
5108
5812
|
*/
|
|
@@ -5113,7 +5817,7 @@ interface Client {
|
|
|
5113
5817
|
* 查询指定合并请求的标签列表。List labels for a pull.
|
|
5114
5818
|
*
|
|
5115
5819
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5116
|
-
* repo-
|
|
5820
|
+
* repo-pr:r
|
|
5117
5821
|
*
|
|
5118
5822
|
* /{repo}/-/pulls/{number}/labels
|
|
5119
5823
|
*/
|
|
@@ -5123,7 +5827,7 @@ interface Client {
|
|
|
5123
5827
|
* 设置合并请求标签。Set the new labels for a pull.
|
|
5124
5828
|
*
|
|
5125
5829
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5126
|
-
* repo-
|
|
5830
|
+
* repo-pr:rw
|
|
5127
5831
|
*
|
|
5128
5832
|
* /{repo}/-/pulls/{number}/labels
|
|
5129
5833
|
*/
|
|
@@ -5133,7 +5837,7 @@ interface Client {
|
|
|
5133
5837
|
* 新增合并请求标签。Add labels to a pull.
|
|
5134
5838
|
*
|
|
5135
5839
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5136
|
-
* repo-
|
|
5840
|
+
* repo-pr:rw
|
|
5137
5841
|
*
|
|
5138
5842
|
* /{repo}/-/pulls/{number}/labels
|
|
5139
5843
|
*/
|
|
@@ -5143,7 +5847,7 @@ interface Client {
|
|
|
5143
5847
|
* 清空合并请求标签。Remove all labels from a pull.
|
|
5144
5848
|
*
|
|
5145
5849
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5146
|
-
* repo-
|
|
5850
|
+
* repo-pr:rw
|
|
5147
5851
|
*
|
|
5148
5852
|
* /{repo}/-/pulls/{number}/labels
|
|
5149
5853
|
*/
|
|
@@ -5153,7 +5857,7 @@ interface Client {
|
|
|
5153
5857
|
* 删除合并请求标签。Remove a label from a pull.
|
|
5154
5858
|
*
|
|
5155
5859
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5156
|
-
* repo-
|
|
5860
|
+
* repo-pr:rw
|
|
5157
5861
|
*
|
|
5158
5862
|
* /{repo}/-/pulls/{number}/labels/{name}
|
|
5159
5863
|
*/
|
|
@@ -5201,6 +5905,17 @@ interface Client {
|
|
|
5201
5905
|
*/
|
|
5202
5906
|
list: Pulls_ListPullReviewComments;
|
|
5203
5907
|
};
|
|
5908
|
+
replies: {
|
|
5909
|
+
/***
|
|
5910
|
+
* 回复一个 review 评审
|
|
5911
|
+
*
|
|
5912
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5913
|
+
* repo-notes:rw
|
|
5914
|
+
*
|
|
5915
|
+
* /{repo}/-/pulls/{number}/reviews/{review_id}/replies
|
|
5916
|
+
*/
|
|
5917
|
+
post: Pulls_PostPullRequestReviewReply;
|
|
5918
|
+
};
|
|
5204
5919
|
};
|
|
5205
5920
|
};
|
|
5206
5921
|
releases: {
|
|
@@ -5542,6 +6257,20 @@ interface Client {
|
|
|
5542
6257
|
};
|
|
5543
6258
|
};
|
|
5544
6259
|
slug: {
|
|
6260
|
+
charge: {
|
|
6261
|
+
specialAmount: {
|
|
6262
|
+
/***
|
|
6263
|
+
* 查看特权额度
|
|
6264
|
+
*
|
|
6265
|
+
* 查看根组织的特权额度,需要根组织的 master 以上权限才可以查看
|
|
6266
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
6267
|
+
* group-resource:r
|
|
6268
|
+
*
|
|
6269
|
+
* /{slug}/-/charge/special-amount
|
|
6270
|
+
*/
|
|
6271
|
+
get: Charge_GetSpecialAmount;
|
|
6272
|
+
};
|
|
6273
|
+
};
|
|
5545
6274
|
contributor: {
|
|
5546
6275
|
trend: {
|
|
5547
6276
|
/***
|
|
@@ -5555,6 +6284,28 @@ interface Client {
|
|
|
5555
6284
|
get: RepoContributor_GetRepoContributorTrend;
|
|
5556
6285
|
};
|
|
5557
6286
|
};
|
|
6287
|
+
lfs: {
|
|
6288
|
+
/***
|
|
6289
|
+
* 获取 git lfs 文件下载链接
|
|
6290
|
+
*
|
|
6291
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
6292
|
+
* repo-code:r
|
|
6293
|
+
*
|
|
6294
|
+
* /{slug}/-/lfs/{oid}
|
|
6295
|
+
*/
|
|
6296
|
+
get: Git_GetPresignedLFSDownloadLink;
|
|
6297
|
+
};
|
|
6298
|
+
listAssets: {
|
|
6299
|
+
/***
|
|
6300
|
+
* 仓库的 asset 记录列表
|
|
6301
|
+
*
|
|
6302
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
6303
|
+
* repo-manage:r
|
|
6304
|
+
*
|
|
6305
|
+
* /{slug}/-/list-assets
|
|
6306
|
+
*/
|
|
6307
|
+
list: Assets_ListAssets;
|
|
6308
|
+
};
|
|
5558
6309
|
listMembers: {
|
|
5559
6310
|
/***
|
|
5560
6311
|
* 获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.
|
|
@@ -5918,6 +6669,10 @@ interface Client {
|
|
|
5918
6669
|
AiChatCompletions: AI_AiChatCompletions;
|
|
5919
6670
|
AiAutoPr: AI_AiAutoPr;
|
|
5920
6671
|
};
|
|
6672
|
+
Assets: {
|
|
6673
|
+
DeleteAsset: Assets_DeleteAsset;
|
|
6674
|
+
ListAssets: Assets_ListAssets;
|
|
6675
|
+
};
|
|
5921
6676
|
Badge: {
|
|
5922
6677
|
GetBadge: Badge_GetBadge;
|
|
5923
6678
|
ListBadge: Badge_ListBadge;
|
|
@@ -5939,6 +6694,8 @@ interface Client {
|
|
|
5939
6694
|
GetArchiveCompareChangedFiles: Git_GetArchiveCompareChangedFiles;
|
|
5940
6695
|
GetArchive: Git_GetArchive;
|
|
5941
6696
|
CreateBlob: Git_CreateBlob;
|
|
6697
|
+
CreateBranchLock: Git_CreateBranchLock;
|
|
6698
|
+
DeleteBranchLock: Git_DeleteBranchLock;
|
|
5942
6699
|
ListBranches: Git_ListBranches;
|
|
5943
6700
|
CreateBranch: Git_CreateBranch;
|
|
5944
6701
|
GetBranch: Git_GetBranch;
|
|
@@ -5968,6 +6725,38 @@ interface Client {
|
|
|
5968
6725
|
DeleteTag: Git_DeleteTag;
|
|
5969
6726
|
GetPresignedLFSDownloadLink: Git_GetPresignedLFSDownloadLink;
|
|
5970
6727
|
};
|
|
6728
|
+
Pulls: {
|
|
6729
|
+
DeleteRepoFiles: Pulls_DeleteRepoFiles;
|
|
6730
|
+
DeleteRepoImgs: Pulls_DeleteRepoImgs;
|
|
6731
|
+
ListPullsByNumbers: Pulls_ListPullsByNumbers;
|
|
6732
|
+
ListPulls: Pulls_ListPulls;
|
|
6733
|
+
PostPull: Pulls_PostPull;
|
|
6734
|
+
GetPull: Pulls_GetPull;
|
|
6735
|
+
PatchPull: Pulls_PatchPull;
|
|
6736
|
+
ListPullAssignees: Pulls_ListPullAssignees;
|
|
6737
|
+
PostPullAssignees: Pulls_PostPullAssignees;
|
|
6738
|
+
DeletePullAssignees: Pulls_DeletePullAssignees;
|
|
6739
|
+
CanUserBeAssignedToPull: Pulls_CanUserBeAssignedToPull;
|
|
6740
|
+
ListPullComments: Pulls_ListPullComments;
|
|
6741
|
+
PostPullComment: Pulls_PostPullComment;
|
|
6742
|
+
GetPullComment: Pulls_GetPullComment;
|
|
6743
|
+
PatchPullComment: Pulls_PatchPullComment;
|
|
6744
|
+
ListPullCommitStatuses: Pulls_ListPullCommitStatuses;
|
|
6745
|
+
ListPullCommits: Pulls_ListPullCommits;
|
|
6746
|
+
ListPullFiles: Pulls_ListPullFiles;
|
|
6747
|
+
ListPullLabels: Pulls_ListPullLabels;
|
|
6748
|
+
PutPullLabels: Pulls_PutPullLabels;
|
|
6749
|
+
PostPullLabels: Pulls_PostPullLabels;
|
|
6750
|
+
DeletePullLabels: Pulls_DeletePullLabels;
|
|
6751
|
+
DeletePullLabel: Pulls_DeletePullLabel;
|
|
6752
|
+
MergePull: Pulls_MergePull;
|
|
6753
|
+
ListPullReviews: Pulls_ListPullReviews;
|
|
6754
|
+
PostPullReview: Pulls_PostPullReview;
|
|
6755
|
+
ListPullReviewComments: Pulls_ListPullReviewComments;
|
|
6756
|
+
PostPullRequestReviewReply: Pulls_PostPullRequestReviewReply;
|
|
6757
|
+
UploadFiles: Pulls_UploadFiles;
|
|
6758
|
+
UploadImgs: Pulls_UploadImgs;
|
|
6759
|
+
};
|
|
5971
6760
|
Issues: {
|
|
5972
6761
|
ListIssues: Issues_ListIssues;
|
|
5973
6762
|
CreateIssue: Issues_CreateIssue;
|
|
@@ -5987,7 +6776,7 @@ interface Client {
|
|
|
5987
6776
|
PostIssueLabels: Issues_PostIssueLabels;
|
|
5988
6777
|
DeleteIssueLabels: Issues_DeleteIssueLabels;
|
|
5989
6778
|
DeleteIssueLabel: Issues_DeleteIssueLabel;
|
|
5990
|
-
|
|
6779
|
+
UpdateIssueProperties: Issues_UpdateIssueProperties;
|
|
5991
6780
|
};
|
|
5992
6781
|
KnowledgeBase: {
|
|
5993
6782
|
GetKnowledgeBaseInfo: KnowledgeBase_GetKnowledgeBaseInfo;
|
|
@@ -6001,35 +6790,6 @@ interface Client {
|
|
|
6001
6790
|
DeleteLabel: RepoLabels_DeleteLabel;
|
|
6002
6791
|
PatchLabel: RepoLabels_PatchLabel;
|
|
6003
6792
|
};
|
|
6004
|
-
Pulls: {
|
|
6005
|
-
ListPullsByNumbers: Pulls_ListPullsByNumbers;
|
|
6006
|
-
ListPulls: Pulls_ListPulls;
|
|
6007
|
-
PostPull: Pulls_PostPull;
|
|
6008
|
-
GetPull: Pulls_GetPull;
|
|
6009
|
-
PatchPull: Pulls_PatchPull;
|
|
6010
|
-
ListPullAssignees: Pulls_ListPullAssignees;
|
|
6011
|
-
PostPullAssignees: Pulls_PostPullAssignees;
|
|
6012
|
-
DeletePullAssignees: Pulls_DeletePullAssignees;
|
|
6013
|
-
CanUserBeAssignedToPull: Pulls_CanUserBeAssignedToPull;
|
|
6014
|
-
ListPullComments: Pulls_ListPullComments;
|
|
6015
|
-
PostPullComment: Pulls_PostPullComment;
|
|
6016
|
-
GetPullComment: Pulls_GetPullComment;
|
|
6017
|
-
PatchPullComment: Pulls_PatchPullComment;
|
|
6018
|
-
ListPullCommitStatuses: Pulls_ListPullCommitStatuses;
|
|
6019
|
-
ListPullCommits: Pulls_ListPullCommits;
|
|
6020
|
-
ListPullFiles: Pulls_ListPullFiles;
|
|
6021
|
-
ListPullLabels: Pulls_ListPullLabels;
|
|
6022
|
-
PutPullLabels: Pulls_PutPullLabels;
|
|
6023
|
-
PostPullLabels: Pulls_PostPullLabels;
|
|
6024
|
-
DeletePullLabels: Pulls_DeletePullLabels;
|
|
6025
|
-
DeletePullLabel: Pulls_DeletePullLabel;
|
|
6026
|
-
MergePull: Pulls_MergePull;
|
|
6027
|
-
ListPullReviews: Pulls_ListPullReviews;
|
|
6028
|
-
PostPullReview: Pulls_PostPullReview;
|
|
6029
|
-
ListPullReviewComments: Pulls_ListPullReviewComments;
|
|
6030
|
-
UploadFiles: Pulls_UploadFiles;
|
|
6031
|
-
UploadImgs: Pulls_UploadImgs;
|
|
6032
|
-
};
|
|
6033
6793
|
Releases: {
|
|
6034
6794
|
ListReleases: Releases_ListReleases;
|
|
6035
6795
|
PostRelease: Releases_PostRelease;
|
|
@@ -6060,6 +6820,9 @@ interface Client {
|
|
|
6060
6820
|
GetPushLimitSettings: GitSettings_GetPushLimitSettings;
|
|
6061
6821
|
PutPushLimitSettings: GitSettings_PutPushLimitSettings;
|
|
6062
6822
|
};
|
|
6823
|
+
Charge: {
|
|
6824
|
+
GetSpecialAmount: Charge_GetSpecialAmount;
|
|
6825
|
+
};
|
|
6063
6826
|
RepoContributor: {
|
|
6064
6827
|
GetRepoContributorTrend: RepoContributor_GetRepoContributorTrend;
|
|
6065
6828
|
};
|