node-cnb 1.14.0 → 1.16.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/{src/client.d.ts → dist/index.d.mts} +2099 -620
- package/dist/index.d.ts +4909 -0
- package/dist/index.js +7628 -89
- package/dist/index.mjs +7605 -0
- package/dist/paths.json +893 -558
- package/package.json +10 -3
- package/dist/index.js.map +0 -1
- package/pathMethodMap.json +0 -6
- package/src/index.d.ts +0 -3
- package/src/index.ts +0 -100
- package/src/types.d.ts +0 -4656
- package/tsconfig.json +0 -14
|
@@ -1,148 +1,1808 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
1
|
+
//#region src/types.d.ts
|
|
2
|
+
|
|
3
|
+
type ApiBranch = {
|
|
4
|
+
commit: {
|
|
5
|
+
sha: string;
|
|
6
|
+
};
|
|
7
|
+
name: string;
|
|
8
|
+
protected: boolean;
|
|
9
|
+
};
|
|
10
|
+
type ApiBranchDetail = {
|
|
11
|
+
commit: ApiCommit;
|
|
12
|
+
name: string;
|
|
13
|
+
protected: boolean;
|
|
14
|
+
};
|
|
15
|
+
type ApiBranchProtection = {
|
|
16
|
+
allow_creation: boolean;
|
|
17
|
+
allow_deletions: boolean;
|
|
18
|
+
allow_force_pushes: boolean;
|
|
19
|
+
allow_master_creation: boolean;
|
|
20
|
+
allow_master_deletions: boolean;
|
|
21
|
+
allow_master_force_pushes: boolean;
|
|
22
|
+
allow_master_manual_merge: boolean;
|
|
23
|
+
allow_master_pushes: boolean;
|
|
24
|
+
allow_pushes: boolean;
|
|
25
|
+
id: string;
|
|
26
|
+
required_approved_review_count: number;
|
|
27
|
+
required_approved_review_ratio: number;
|
|
28
|
+
|
|
29
|
+
/**RequiredCommitSignatures bool `json:"required_commit_signatures"`*/
|
|
30
|
+
required_linear_history: boolean;
|
|
31
|
+
required_master_approve: boolean;
|
|
32
|
+
required_must_auto_merge: boolean;
|
|
33
|
+
required_must_push_via_pull_request: boolean;
|
|
34
|
+
required_pull_request_reviews: boolean;
|
|
35
|
+
required_status_checks: boolean;
|
|
36
|
+
rule: string;
|
|
37
|
+
};
|
|
38
|
+
type ApiCommit = {
|
|
39
|
+
author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
40
|
+
commit: ApiCommitObject;
|
|
41
|
+
committer: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
42
|
+
parents: ApiCommitParent[];
|
|
43
|
+
sha: string;
|
|
44
|
+
};
|
|
45
|
+
type ApiCommitAsset = {
|
|
46
|
+
author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
47
|
+
content_type: string;
|
|
48
|
+
created_at: string;
|
|
49
|
+
id: string;
|
|
50
|
+
name: string;
|
|
51
|
+
path: string;
|
|
52
|
+
size_in_byte: number;
|
|
53
|
+
updated_at: string;
|
|
54
|
+
};
|
|
55
|
+
type ApiCommitDiffFilePatch = {
|
|
56
|
+
additions: number;
|
|
57
|
+
deletions: number;
|
|
58
|
+
name: string;
|
|
59
|
+
patch: string;
|
|
60
|
+
path: string;
|
|
61
|
+
status: string;
|
|
62
|
+
};
|
|
63
|
+
type ApiCommitObject = {
|
|
64
|
+
author: ApiSignature;
|
|
65
|
+
comment_count: number;
|
|
66
|
+
committer: ApiSignature;
|
|
67
|
+
message: string;
|
|
68
|
+
tree: ApiCommitObjectTree;
|
|
69
|
+
verification: ApiCommitObjectVerification;
|
|
70
|
+
};
|
|
71
|
+
type ApiCommitObjectTree = {
|
|
72
|
+
sha: string;
|
|
73
|
+
};
|
|
74
|
+
type ApiCommitObjectVerification = {
|
|
75
|
+
payload: string;
|
|
76
|
+
reason: string;
|
|
77
|
+
signature: string;
|
|
78
|
+
verified: boolean;
|
|
79
|
+
verified_at: string;
|
|
80
|
+
};
|
|
81
|
+
type ApiCommitParent = {
|
|
82
|
+
sha: string;
|
|
83
|
+
};
|
|
84
|
+
type ApiCommitStatus = {
|
|
85
|
+
context: string;
|
|
86
|
+
created_at: string;
|
|
87
|
+
description: string;
|
|
88
|
+
state: string;
|
|
89
|
+
target_url: string;
|
|
90
|
+
updated_at: string;
|
|
91
|
+
};
|
|
92
|
+
type ApiCompareResponse = {
|
|
93
|
+
base_commit: ApiCommit;
|
|
94
|
+
commits: ApiCommit[];
|
|
95
|
+
files: ApiCommitDiffFilePatch[];
|
|
96
|
+
head_commit: ApiCommit;
|
|
97
|
+
merge_base_commit: ApiCommit;
|
|
98
|
+
total_commits: number;
|
|
99
|
+
};
|
|
100
|
+
type ApiContent = {
|
|
101
|
+
content: string;
|
|
102
|
+
encoding: string;
|
|
103
|
+
entries: ApiTreeEntry[];
|
|
104
|
+
lfs_download_url: string;
|
|
105
|
+
name: string;
|
|
106
|
+
path: string;
|
|
107
|
+
sha: string;
|
|
108
|
+
size: number;
|
|
109
|
+
type: string;
|
|
110
|
+
};
|
|
111
|
+
type ApiDeleteIssueAssigneesForm = {
|
|
112
|
+
assignees: string[];
|
|
113
|
+
};
|
|
114
|
+
type ApiDeletePullAssigneesForm = {
|
|
115
|
+
assignees: string[];
|
|
116
|
+
};
|
|
117
|
+
type ApiIssue = {
|
|
118
|
+
assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
119
|
+
author: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
|
|
120
|
+
comment_count: number;
|
|
121
|
+
created_at: string;
|
|
122
|
+
ended_at: string;
|
|
123
|
+
labels: ApiLabel[];
|
|
124
|
+
last_acted_at: string;
|
|
125
|
+
number: string;
|
|
126
|
+
priority: string;
|
|
127
|
+
started_at: string;
|
|
128
|
+
state: string;
|
|
129
|
+
state_reason: string;
|
|
130
|
+
title: string;
|
|
131
|
+
updated_at: string;
|
|
132
|
+
};
|
|
133
|
+
type ApiIssueComment = {
|
|
134
|
+
author: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
|
|
135
|
+
body: string;
|
|
136
|
+
created_at: string;
|
|
137
|
+
id: string;
|
|
138
|
+
updated_at: string;
|
|
139
|
+
};
|
|
140
|
+
type ApiIssueDetail = {
|
|
141
|
+
assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
142
|
+
author: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
|
|
143
|
+
body: string;
|
|
144
|
+
comment_count: number;
|
|
145
|
+
created_at: string;
|
|
146
|
+
ended_at: string;
|
|
147
|
+
labels: ApiLabel[];
|
|
148
|
+
last_acted_at: string;
|
|
149
|
+
number: string;
|
|
150
|
+
priority: string;
|
|
151
|
+
started_at: string;
|
|
152
|
+
state: string;
|
|
153
|
+
state_reason: string;
|
|
154
|
+
title: string;
|
|
155
|
+
updated_at: string;
|
|
156
|
+
};
|
|
157
|
+
type ApiLabel = {
|
|
158
|
+
color: string;
|
|
159
|
+
description: string;
|
|
160
|
+
id: string;
|
|
161
|
+
name: string;
|
|
162
|
+
};
|
|
163
|
+
type ApiMergePullRequest = {
|
|
164
|
+
commit_message: string;
|
|
165
|
+
commit_title: string;
|
|
166
|
+
|
|
167
|
+
/**The merge method to use. Can be one of: `merge`, `squash`, `rebase`*/
|
|
168
|
+
merge_style: string;
|
|
169
|
+
};
|
|
170
|
+
type ApiMergePullResponse = {
|
|
171
|
+
merged: boolean;
|
|
172
|
+
message: string;
|
|
173
|
+
sha: string;
|
|
174
|
+
};
|
|
175
|
+
type ApiPatchIssueAssigneesForm = {
|
|
176
|
+
assignees: string[];
|
|
177
|
+
};
|
|
178
|
+
type ApiPatchIssueCommentForm = {
|
|
179
|
+
body: string;
|
|
180
|
+
};
|
|
181
|
+
type ApiPatchIssueForm = {
|
|
182
|
+
body: string;
|
|
183
|
+
|
|
184
|
+
/**end time*/
|
|
185
|
+
end_date: string;
|
|
186
|
+
|
|
187
|
+
/**Priority of this issue. Can be one of: `-1P`, `-2P`, `P0`, `P1`, `P2`, `P3`, `""`.*/
|
|
188
|
+
priority: string;
|
|
189
|
+
|
|
190
|
+
/**start time*/
|
|
191
|
+
start_date: string;
|
|
192
|
+
|
|
193
|
+
/**State of this issue. Either `open` or `closed`.*/
|
|
194
|
+
state: string;
|
|
195
|
+
|
|
196
|
+
/**StateReason can be one of: `completed`, `not_planned`, `reopened`*/
|
|
197
|
+
state_reason: string;
|
|
198
|
+
title: string;
|
|
199
|
+
};
|
|
200
|
+
type ApiPatchLabelForm = {
|
|
201
|
+
/**The hexadecimal color code for the label, without the leading `#`.*/
|
|
202
|
+
color: string;
|
|
203
|
+
description: string;
|
|
204
|
+
new_name: string;
|
|
205
|
+
};
|
|
206
|
+
type ApiPatchPullRequest = {
|
|
207
|
+
body: string;
|
|
208
|
+
|
|
209
|
+
/**State of this Pull Request. Either `open` or `closed`.*/
|
|
210
|
+
state: string;
|
|
211
|
+
title: string;
|
|
212
|
+
};
|
|
213
|
+
type ApiPipelineSettings = {
|
|
214
|
+
auto_trigger: boolean;
|
|
215
|
+
forked_repo_auto_trigger: boolean;
|
|
216
|
+
};
|
|
217
|
+
type ApiPostBlobForm = {
|
|
218
|
+
content: string;
|
|
219
|
+
|
|
220
|
+
/**当前编码只支持 `"utf-8"` and `"base64"` 。默认: `utf-8`*/
|
|
221
|
+
encoding: string;
|
|
222
|
+
};
|
|
223
|
+
type ApiPostIssueAssigneesForm = {
|
|
224
|
+
assignees: string[];
|
|
225
|
+
};
|
|
226
|
+
type ApiPostIssueCommentForm = {
|
|
227
|
+
body: string;
|
|
228
|
+
};
|
|
229
|
+
type ApiPostIssueForm = {
|
|
230
|
+
assignees: string[];
|
|
231
|
+
body: string;
|
|
232
|
+
end_date: string;
|
|
233
|
+
labels: string[];
|
|
234
|
+
|
|
235
|
+
/**Priority of this issue. Can be one of: `-1P`, `-2P`, `P0`, `P1`, `P2`, `P3`, `""`.*/
|
|
236
|
+
priority: string;
|
|
237
|
+
start_date: string;
|
|
238
|
+
title: string;
|
|
239
|
+
};
|
|
240
|
+
type ApiPostIssueLabelsForm = {
|
|
241
|
+
labels: string[];
|
|
242
|
+
};
|
|
243
|
+
type ApiPostLabelForm = {
|
|
244
|
+
/**The hexadecimal color code for the label, without the leading `#`.*/
|
|
245
|
+
color: string;
|
|
246
|
+
description: string;
|
|
247
|
+
name: string;
|
|
248
|
+
};
|
|
249
|
+
type ApiPostPullAssigneesForm = {
|
|
250
|
+
assignees: string[];
|
|
251
|
+
};
|
|
252
|
+
type ApiPostPullLabelsForm = {
|
|
253
|
+
labels: string[];
|
|
254
|
+
};
|
|
255
|
+
type ApiPostTagFrom = {
|
|
256
|
+
message: string;
|
|
257
|
+
name: string;
|
|
258
|
+
target: string;
|
|
259
|
+
};
|
|
260
|
+
type ApiPull = {
|
|
261
|
+
base: ApiPullRef;
|
|
262
|
+
body: string;
|
|
263
|
+
head: ApiPullRef;
|
|
264
|
+
merged_by: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
265
|
+
number: string;
|
|
266
|
+
state: string;
|
|
267
|
+
title: string;
|
|
268
|
+
};
|
|
269
|
+
type ApiPullCommentCreationForm = {
|
|
270
|
+
body: string;
|
|
271
|
+
};
|
|
272
|
+
type ApiPullCreationForm = {
|
|
273
|
+
base: string;
|
|
274
|
+
body: string;
|
|
275
|
+
head: string;
|
|
276
|
+
head_repo: string;
|
|
277
|
+
title: string;
|
|
278
|
+
};
|
|
279
|
+
type ApiPullRef = {
|
|
280
|
+
ref: string;
|
|
281
|
+
repo: ApiRepo;
|
|
282
|
+
sha: string;
|
|
283
|
+
};
|
|
284
|
+
type ApiPullRefInfo = {
|
|
285
|
+
ref: string;
|
|
286
|
+
repo: ApiRepoInfo;
|
|
287
|
+
sha: string;
|
|
288
|
+
};
|
|
289
|
+
type ApiPullRequest = {
|
|
290
|
+
assignees: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo[];
|
|
291
|
+
author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
292
|
+
base: ApiPullRef;
|
|
293
|
+
blocked_on: string;
|
|
294
|
+
comment_count: number;
|
|
295
|
+
created_at: string;
|
|
296
|
+
head: ApiPullRef;
|
|
297
|
+
last_acted_at: string;
|
|
298
|
+
mergeable_state: string;
|
|
299
|
+
merged_by: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
300
|
+
number: string;
|
|
301
|
+
repo: ApiRepo;
|
|
302
|
+
review_count: number;
|
|
303
|
+
state: string;
|
|
304
|
+
title: string;
|
|
305
|
+
updated_at: string;
|
|
306
|
+
};
|
|
307
|
+
type ApiPullRequestComment = {
|
|
308
|
+
author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
309
|
+
body: string;
|
|
310
|
+
created_at: string;
|
|
311
|
+
updated_at: string;
|
|
312
|
+
};
|
|
313
|
+
type ApiPullRequestInfo = {
|
|
314
|
+
assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
315
|
+
author: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
|
|
316
|
+
base: ApiPullRefInfo;
|
|
317
|
+
blocked_on: string;
|
|
318
|
+
created_at: string;
|
|
319
|
+
head: ApiPullRefInfo;
|
|
320
|
+
last_acted_at: string;
|
|
321
|
+
mergeable_state: string;
|
|
322
|
+
merged_by: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
|
|
323
|
+
number: string;
|
|
324
|
+
repo: ApiRepoInfo;
|
|
325
|
+
reviewers: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
326
|
+
state: string;
|
|
327
|
+
title: string;
|
|
328
|
+
updated_at: string;
|
|
329
|
+
};
|
|
330
|
+
type ApiPullRequestSettings = {
|
|
331
|
+
allow_merge_commit_merge: boolean;
|
|
332
|
+
allow_rebase_merge: boolean;
|
|
333
|
+
allow_squash_merge: boolean;
|
|
334
|
+
master_auto_as_reviewer: boolean;
|
|
335
|
+
merge_commit_message_style: string;
|
|
336
|
+
squash_commit_message_style: string;
|
|
337
|
+
};
|
|
338
|
+
type ApiPullReviewCommentCreationForm = {
|
|
339
|
+
body: string;
|
|
340
|
+
end_line: number;
|
|
341
|
+
end_side: string;
|
|
342
|
+
path: string;
|
|
343
|
+
start_line: number;
|
|
344
|
+
start_side: string;
|
|
345
|
+
|
|
346
|
+
/**can be one of: line, file*/
|
|
347
|
+
subject_type: string;
|
|
348
|
+
};
|
|
349
|
+
type ApiPullReviewCreationForm = {
|
|
350
|
+
body: string;
|
|
351
|
+
comments: ApiPullReviewCommentCreationForm[];
|
|
352
|
+
event: string;
|
|
353
|
+
};
|
|
354
|
+
type ApiPushLimitSettings = {
|
|
355
|
+
allow_single_push_number: number;
|
|
356
|
+
check_single_push_number: boolean;
|
|
357
|
+
only_master_can_push_tag: boolean;
|
|
358
|
+
push_commit_must_be: string;
|
|
359
|
+
};
|
|
360
|
+
type ApiPutIssueLabelsForm = {
|
|
361
|
+
labels: string[];
|
|
362
|
+
};
|
|
363
|
+
type ApiPutPullLabelsForm = {
|
|
364
|
+
labels: string[];
|
|
365
|
+
};
|
|
366
|
+
type ApiRelease = {
|
|
367
|
+
assets: ApiReleaseAsset[];
|
|
368
|
+
author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
369
|
+
body: string;
|
|
370
|
+
created_at: string;
|
|
371
|
+
draft: boolean;
|
|
372
|
+
id: string;
|
|
373
|
+
is_latest: boolean;
|
|
374
|
+
name: string;
|
|
375
|
+
prerelease: boolean;
|
|
376
|
+
published_at: string;
|
|
377
|
+
tag_commitish: string;
|
|
378
|
+
tag_name: string;
|
|
379
|
+
updated_at: string;
|
|
380
|
+
};
|
|
381
|
+
type ApiReleaseAsset = {
|
|
382
|
+
content_type: string;
|
|
383
|
+
created_at: string;
|
|
384
|
+
id: string;
|
|
385
|
+
name: string;
|
|
386
|
+
path: string;
|
|
387
|
+
size: number;
|
|
388
|
+
updated_at: string;
|
|
389
|
+
uploader: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
390
|
+
};
|
|
391
|
+
type ApiRepo = {
|
|
392
|
+
id: string;
|
|
393
|
+
name: string;
|
|
394
|
+
path: string;
|
|
395
|
+
web_url: string;
|
|
396
|
+
};
|
|
397
|
+
type ApiRepoInfo = {
|
|
398
|
+
id: string;
|
|
399
|
+
name: string;
|
|
400
|
+
path: string;
|
|
401
|
+
web_url: string;
|
|
402
|
+
};
|
|
403
|
+
type ApiSignature = {
|
|
404
|
+
date: string;
|
|
405
|
+
email: string;
|
|
406
|
+
name: string;
|
|
407
|
+
};
|
|
408
|
+
type ApiTag = {
|
|
409
|
+
commit: ApiCommit;
|
|
410
|
+
name: string;
|
|
411
|
+
target: string;
|
|
412
|
+
target_type: string;
|
|
413
|
+
verification: ApiTagObjectVerification;
|
|
414
|
+
};
|
|
415
|
+
type ApiTagObjectVerification = {
|
|
416
|
+
payload: string;
|
|
417
|
+
reason: string;
|
|
418
|
+
signature: string;
|
|
419
|
+
verified: boolean;
|
|
420
|
+
verified_at: string;
|
|
421
|
+
};
|
|
422
|
+
type ApiTreeEntry = {
|
|
423
|
+
name: string;
|
|
424
|
+
path: string;
|
|
425
|
+
sha: string;
|
|
426
|
+
type: string;
|
|
427
|
+
};
|
|
428
|
+
type ChartDependency = {
|
|
429
|
+
/**Alias usable alias to be used for the chart*/
|
|
430
|
+
alias: string;
|
|
431
|
+
|
|
432
|
+
/**A yaml path that resolves to a boolean, used for enabling/disabling charts (e.g. subchart1.enabled )*/
|
|
433
|
+
condition: string;
|
|
434
|
+
|
|
435
|
+
/**Enabled bool determines if chart should be loaded*/
|
|
436
|
+
enabled: boolean;
|
|
437
|
+
|
|
438
|
+
/**ImportValues holds the mapping of source values to parent key to be imported. Each item can be a
|
|
439
|
+
string or pair of child/parent sublist items.*/
|
|
440
|
+
"import-values": any[];
|
|
441
|
+
|
|
442
|
+
/**Name is the name of the dependency.
|
|
443
|
+
This must mach the name in the dependency's Chart.yaml.*/
|
|
444
|
+
name: string;
|
|
445
|
+
|
|
446
|
+
/**The URL to the repository.
|
|
447
|
+
Appending `index.yaml` to this string should result in a URL that can be
|
|
448
|
+
used to fetch the repository index.*/
|
|
449
|
+
repository: string;
|
|
450
|
+
|
|
451
|
+
/**Tags can be used to group charts for enabling/disabling together*/
|
|
452
|
+
tags: string[];
|
|
453
|
+
|
|
454
|
+
/**Version is the version (range) of this chart.
|
|
455
|
+
A lock file will always produce a single version, while a dependency
|
|
456
|
+
may contain a semantic version range.*/
|
|
457
|
+
version: string;
|
|
458
|
+
};
|
|
459
|
+
type ChartMaintainer = {
|
|
460
|
+
/**Email is an optional email address to contact the named maintainer*/
|
|
461
|
+
email: string;
|
|
462
|
+
|
|
463
|
+
/**Name is a user name or organization name*/
|
|
464
|
+
name: string;
|
|
465
|
+
|
|
466
|
+
/**URL is an optional URL to an address for the named maintainer*/
|
|
467
|
+
url: string;
|
|
468
|
+
};
|
|
469
|
+
type ChartMetadata = {
|
|
470
|
+
/**Annotations are additional mappings uninterpreted by Helm,
|
|
471
|
+
made available for inspection by other applications.*/
|
|
472
|
+
annotations: any;
|
|
473
|
+
|
|
474
|
+
/**The API Version of this chart. Required.*/
|
|
475
|
+
apiVersion: string;
|
|
476
|
+
|
|
477
|
+
/**The version of the application enclosed inside of this chart.*/
|
|
478
|
+
appVersion: string;
|
|
479
|
+
|
|
480
|
+
/**The condition to check to enable chart*/
|
|
481
|
+
condition: string;
|
|
482
|
+
|
|
483
|
+
/**Dependencies are a list of dependencies for a chart.*/
|
|
484
|
+
dependencies: ChartDependency[];
|
|
485
|
+
|
|
486
|
+
/**Whether or not this chart is deprecated*/
|
|
487
|
+
deprecated: boolean;
|
|
488
|
+
|
|
489
|
+
/**A one-sentence description of the chart*/
|
|
490
|
+
description: string;
|
|
491
|
+
|
|
492
|
+
/**The URL to a relevant project page, git repo, or contact person*/
|
|
493
|
+
home: string;
|
|
494
|
+
|
|
495
|
+
/**The URL to an icon file.*/
|
|
496
|
+
icon: string;
|
|
497
|
+
|
|
498
|
+
/**A list of string keywords*/
|
|
499
|
+
keywords: string[];
|
|
500
|
+
|
|
501
|
+
/**KubeVersion is a SemVer constraint specifying the version of Kubernetes required.*/
|
|
502
|
+
kubeVersion: string;
|
|
503
|
+
|
|
504
|
+
/**A list of name and URL/email address combinations for the maintainer(s)*/
|
|
505
|
+
maintainers: ChartMaintainer[];
|
|
506
|
+
|
|
507
|
+
/**The name of the chart. Required.*/
|
|
508
|
+
name: string;
|
|
509
|
+
|
|
510
|
+
/**Source is the URL to the source code of this chart*/
|
|
511
|
+
sources: string[];
|
|
512
|
+
|
|
513
|
+
/**The tags to check to enable chart*/
|
|
514
|
+
tags: string;
|
|
515
|
+
|
|
516
|
+
/**Specifies the chart type: application or library*/
|
|
517
|
+
type: string;
|
|
518
|
+
|
|
519
|
+
/**A SemVer 2 conformant version string of the chart. Required.*/
|
|
520
|
+
version: string;
|
|
521
|
+
};
|
|
522
|
+
type ConstantAccessRole = 0 | 10 | 20 | 30 | 40 | 50;
|
|
523
|
+
type ConstantRepoDisplayModule = 1 | 2 | 4;
|
|
524
|
+
type ConstantUserEditable = 1 | 2 | 4 | 8 | 16 | 32;
|
|
525
|
+
type ConstantUserType = 0 | 1 | 2 | 3;
|
|
526
|
+
type ConstantVisibility = 0 | 10 | 20;
|
|
527
|
+
type DtoActivityCreateRepoDetail = {
|
|
528
|
+
create_at: string;
|
|
529
|
+
|
|
530
|
+
/**公仓转私仓或仓库被删除后为 null*/
|
|
531
|
+
detail: any;
|
|
532
|
+
|
|
533
|
+
/**activity 发生时仓库的 path,这时的 path 是可以公开的*/
|
|
534
|
+
exposed_repo_path: string;
|
|
535
|
+
|
|
536
|
+
/**仓库是否封禁*/
|
|
537
|
+
freeze: boolean;
|
|
538
|
+
|
|
539
|
+
/**仓库是否不可访问(公仓转私仓或仓库被删除后不可访问)*/
|
|
540
|
+
repo_unaccessible: boolean;
|
|
541
|
+
|
|
542
|
+
/**仓库可见性*/
|
|
543
|
+
visibility_level: any;
|
|
544
|
+
};
|
|
545
|
+
type DtoActivityDate = {
|
|
546
|
+
code_review_count: number;
|
|
547
|
+
code_reviews: DtoActivityRepoDetail[];
|
|
548
|
+
commit_count: number;
|
|
549
|
+
commits: DtoActivityRepoDetail[];
|
|
550
|
+
group_count: number;
|
|
551
|
+
groups: DtoActivityJoinGroupDetail[];
|
|
552
|
+
issues: DtoActivityRepoDetail[];
|
|
553
|
+
issues_count: number;
|
|
554
|
+
private_score: number;
|
|
555
|
+
pull_request_count: number;
|
|
556
|
+
pull_requests: DtoActivityRepoDetail[];
|
|
557
|
+
repo_count: number;
|
|
558
|
+
repos: DtoActivityCreateRepoDetail[];
|
|
559
|
+
};
|
|
560
|
+
type DtoActivityJoinGroupDetail = {
|
|
561
|
+
create_at: string;
|
|
562
|
+
|
|
563
|
+
/**组织详情,组织被删后为 null*/
|
|
564
|
+
detail: any;
|
|
565
|
+
|
|
566
|
+
/**组织别名,组织被删除后才有值*/
|
|
567
|
+
remark: string;
|
|
568
|
+
};
|
|
569
|
+
type DtoActivityRepoDetail = {
|
|
570
|
+
/**公仓转私仓或仓库被删除后为 null*/
|
|
571
|
+
detail: any;
|
|
572
|
+
|
|
573
|
+
/**activity 发生时仓库的 path,这时的 path 是可以公开的*/
|
|
574
|
+
exposed_repo_path: string;
|
|
575
|
+
|
|
576
|
+
/**仓库是否封禁*/
|
|
577
|
+
freeze: boolean;
|
|
578
|
+
|
|
579
|
+
/**仓库是否不可访问(公仓转私仓或仓库被删除后不可访问)*/
|
|
580
|
+
repo_unaccessible: boolean;
|
|
581
|
+
time: number;
|
|
582
|
+
|
|
583
|
+
/**仓库可见性*/
|
|
584
|
+
visibility_level: any;
|
|
585
|
+
};
|
|
586
|
+
type DtoAssets = {
|
|
587
|
+
content_type: string;
|
|
588
|
+
name: string;
|
|
589
|
+
path: string;
|
|
590
|
+
size: number;
|
|
591
|
+
};
|
|
592
|
+
type DtoBuildLogsResult = {
|
|
593
|
+
/**构建数据列表*/
|
|
594
|
+
data: DtoLogInfo[];
|
|
595
|
+
|
|
596
|
+
/**当前仓库是否已经有构建记录,1 表示有构建记录,0 表示没有构建记录*/
|
|
597
|
+
init: boolean;
|
|
598
|
+
|
|
599
|
+
/**当前时间戳*/
|
|
600
|
+
timestamp: number;
|
|
601
|
+
|
|
602
|
+
/**总数*/
|
|
603
|
+
total: number;
|
|
604
|
+
};
|
|
605
|
+
type DtoBuildResult = {
|
|
606
|
+
/**构建链接*/
|
|
607
|
+
buildLogUrl: string;
|
|
608
|
+
|
|
609
|
+
/**message*/
|
|
610
|
+
message: string;
|
|
611
|
+
|
|
612
|
+
/**构建号*/
|
|
613
|
+
sn: string;
|
|
614
|
+
};
|
|
615
|
+
type DtoBuildStageResult = {
|
|
616
|
+
/**stage 日志内容,数组格式,一个元素表示一行日志*/
|
|
617
|
+
content: string[];
|
|
618
|
+
|
|
619
|
+
/**stage 耗时,单位:ms*/
|
|
620
|
+
duration: number;
|
|
621
|
+
|
|
622
|
+
/**stage 结束时间*/
|
|
623
|
+
endTime: number;
|
|
624
|
+
|
|
625
|
+
/**stage 错误信息*/
|
|
626
|
+
error: string;
|
|
627
|
+
|
|
628
|
+
/**stage 名称*/
|
|
629
|
+
name: string;
|
|
630
|
+
|
|
631
|
+
/**stage 开始时间*/
|
|
632
|
+
startTime: number;
|
|
633
|
+
|
|
634
|
+
/**stage 状态: "pending", "start", "success", "error", "cancel", "skipped"*/
|
|
635
|
+
status: string;
|
|
636
|
+
};
|
|
637
|
+
type DtoBuildStatusResult = {
|
|
638
|
+
/**流水线的状态*/
|
|
639
|
+
pipelinesStatus: any;
|
|
640
|
+
|
|
641
|
+
/**构建状态*/
|
|
642
|
+
status: string;
|
|
643
|
+
};
|
|
644
|
+
type DtoChartPackageDetail = {
|
|
645
|
+
address: string;
|
|
646
|
+
desc: string;
|
|
647
|
+
last_pusher: DtoLastPusher;
|
|
648
|
+
package: string;
|
|
649
|
+
pull_count: number;
|
|
650
|
+
recent_pull_count: number;
|
|
651
|
+
slug: string;
|
|
652
|
+
tag_total: number;
|
|
653
|
+
tags: DtoChartTag[];
|
|
654
|
+
};
|
|
655
|
+
type DtoChartTag = {
|
|
656
|
+
address: string;
|
|
657
|
+
digest: string;
|
|
658
|
+
is_deprecated: boolean;
|
|
659
|
+
last_pusher: DtoLastPusher;
|
|
660
|
+
metadata: ChartMetadata;
|
|
661
|
+
name: string;
|
|
662
|
+
pull_count: number;
|
|
663
|
+
recent_pull_count: number;
|
|
664
|
+
size: number;
|
|
665
|
+
};
|
|
666
|
+
type DtoChartTagDetail = {
|
|
667
|
+
address: string;
|
|
668
|
+
is_deprecated: boolean;
|
|
669
|
+
last_pusher: DtoLastPusher;
|
|
670
|
+
metadata: ChartMetadata;
|
|
671
|
+
package: string;
|
|
672
|
+
pull_count: number;
|
|
673
|
+
recent_pull_count: number;
|
|
674
|
+
size: number;
|
|
675
|
+
slug: string;
|
|
676
|
+
tag: string;
|
|
677
|
+
};
|
|
678
|
+
type DtoCodeRepoQuotaRsp = {
|
|
679
|
+
docker: DtoQuotaRsp;
|
|
680
|
+
helm: DtoQuotaRsp;
|
|
681
|
+
};
|
|
682
|
+
type DtoCommonRegistryPackageDetail = {
|
|
683
|
+
address: string;
|
|
684
|
+
desc: string;
|
|
685
|
+
last_pusher: DtoLastPusher;
|
|
686
|
+
package: string;
|
|
687
|
+
pull_count: number;
|
|
688
|
+
recent_pull_count: number;
|
|
689
|
+
slug: string;
|
|
690
|
+
tag_total: number;
|
|
691
|
+
tags: DtoCommonRegistryTag[];
|
|
692
|
+
};
|
|
693
|
+
type DtoCommonRegistryTag = {
|
|
694
|
+
desc: string;
|
|
695
|
+
digest: string;
|
|
696
|
+
last_pusher: DtoLastPusher;
|
|
697
|
+
name: string;
|
|
698
|
+
pull_count: number;
|
|
699
|
+
recent_pull_count: number;
|
|
700
|
+
size: number;
|
|
701
|
+
status: string;
|
|
702
|
+
};
|
|
703
|
+
type DtoCommonRegistryTagDetail = {
|
|
704
|
+
address: string;
|
|
705
|
+
dependencies: DtoDependency[];
|
|
706
|
+
desc: string;
|
|
707
|
+
files: DtoFile[];
|
|
708
|
+
last_pusher: DtoLastPusher;
|
|
709
|
+
metadata: DtoMetaData;
|
|
710
|
+
package: string;
|
|
711
|
+
pull_count: number;
|
|
712
|
+
recent_pull_count: number;
|
|
713
|
+
size: number;
|
|
714
|
+
slug: string;
|
|
715
|
+
status: string;
|
|
716
|
+
tag: string;
|
|
717
|
+
tags: DtoCommonRegistryTag[];
|
|
718
|
+
};
|
|
719
|
+
type DtoContainerAnnotation = {
|
|
720
|
+
revision: string;
|
|
721
|
+
version: string;
|
|
722
|
+
};
|
|
723
|
+
type DtoContainerImage = {
|
|
724
|
+
arch: string;
|
|
725
|
+
digest: string;
|
|
726
|
+
layers: DtoContainerImageLayer[];
|
|
727
|
+
os: string;
|
|
728
|
+
size: number;
|
|
729
|
+
};
|
|
730
|
+
type DtoContainerImageLayer = {
|
|
731
|
+
instruction: string;
|
|
732
|
+
size: number;
|
|
733
|
+
};
|
|
734
|
+
type DtoContainerPackageDetail = {
|
|
735
|
+
address: string;
|
|
736
|
+
desc: string;
|
|
737
|
+
last_pusher: DtoLastPusher;
|
|
738
|
+
package: string;
|
|
739
|
+
pull_count: number;
|
|
740
|
+
recent_pull_count: number;
|
|
741
|
+
slug: string;
|
|
742
|
+
tag_total: number;
|
|
743
|
+
tags: DtoContainerTag[];
|
|
744
|
+
};
|
|
745
|
+
type DtoContainerTag = {
|
|
746
|
+
address: string;
|
|
747
|
+
annotations: DtoContainerAnnotation;
|
|
748
|
+
images: DtoContainerImage[];
|
|
749
|
+
last_pusher: DtoLastPusher;
|
|
750
|
+
name: string;
|
|
751
|
+
pull_count: number;
|
|
752
|
+
recent_pull_count: number;
|
|
753
|
+
};
|
|
754
|
+
type DtoContainerTagDetail = {
|
|
755
|
+
address: string;
|
|
756
|
+
annotations: DtoContainerAnnotation;
|
|
757
|
+
image: DtoContainerImage;
|
|
758
|
+
last_pusher: DtoLastPusher;
|
|
759
|
+
options: DtoContainerImage[];
|
|
760
|
+
package: string;
|
|
761
|
+
pull_count: number;
|
|
762
|
+
recent_pull_count: number;
|
|
763
|
+
slug: string;
|
|
764
|
+
tag: string;
|
|
765
|
+
};
|
|
766
|
+
type DtoCreateGroupReq = {
|
|
767
|
+
/**BindDomain 根组织绑定的域名*/
|
|
768
|
+
bind_domain: string;
|
|
769
|
+
description: string;
|
|
770
|
+
path: string;
|
|
771
|
+
remark: string;
|
|
772
|
+
};
|
|
773
|
+
type DtoCreateMissionReq = {
|
|
774
|
+
description: string;
|
|
775
|
+
name: string;
|
|
776
|
+
repos: string[];
|
|
777
|
+
visibility: "public" | "private";
|
|
778
|
+
};
|
|
779
|
+
type DtoCreateRepoReq = {
|
|
780
|
+
description: string;
|
|
781
|
+
license: string;
|
|
782
|
+
name: string;
|
|
783
|
+
visibility: "public" | "private" | "secret";
|
|
784
|
+
};
|
|
785
|
+
type DtoDependency = {
|
|
786
|
+
artifact: string;
|
|
787
|
+
framework_name: string;
|
|
788
|
+
name: string;
|
|
789
|
+
};
|
|
790
|
+
type DtoDocumentStatistics = {
|
|
791
|
+
count: number;
|
|
792
|
+
size: number;
|
|
793
|
+
};
|
|
794
|
+
type DtoEmbeddingModel = {
|
|
795
|
+
dimension: number;
|
|
796
|
+
name: string;
|
|
797
|
+
};
|
|
798
|
+
type DtoEmbeddingModels = {
|
|
799
|
+
dimension: number;
|
|
800
|
+
name: string;
|
|
801
|
+
};
|
|
802
|
+
type DtoFile = {
|
|
803
|
+
name: string;
|
|
804
|
+
size: number;
|
|
805
|
+
};
|
|
806
|
+
type DtoForkReq = {
|
|
807
|
+
branch: string;
|
|
808
|
+
description: string;
|
|
809
|
+
group: string;
|
|
810
|
+
name: string;
|
|
811
|
+
};
|
|
812
|
+
type DtoForks = {
|
|
813
|
+
created_at: string;
|
|
814
|
+
fork_count: number;
|
|
815
|
+
freeze: boolean;
|
|
816
|
+
nickname: string;
|
|
817
|
+
path: string;
|
|
818
|
+
user_freeze: boolean;
|
|
819
|
+
user_lock: boolean;
|
|
820
|
+
username: string;
|
|
821
|
+
};
|
|
822
|
+
type DtoGroupSettingReq = {
|
|
823
|
+
/**组织限制指定邮箱认证才能加入*/
|
|
824
|
+
email_verification: string;
|
|
825
|
+
|
|
826
|
+
/**组织保护开关,0 - 关闭,1 - 打开*/
|
|
827
|
+
group_protection: number;
|
|
828
|
+
|
|
829
|
+
/**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
830
|
+
hide_members: number;
|
|
831
|
+
|
|
832
|
+
/**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
833
|
+
hide_sub_groups: number;
|
|
834
|
+
|
|
835
|
+
/**是否对外显示私有仓库水印,0 - 否, 1 - 是*/
|
|
836
|
+
show_private_repo_watermark: number;
|
|
837
|
+
|
|
838
|
+
/**SettingValue 组织设置值,多个选项,用逗号拼接。可选值来自 SettingNamesArray 的值,e.g. disable_organization_readme,cloud_native_dev_only*/
|
|
839
|
+
values: string;
|
|
840
|
+
};
|
|
841
|
+
type DtoInheritMembersUser = {
|
|
842
|
+
access_level: ConstantAccessRole;
|
|
843
|
+
avatar: string;
|
|
844
|
+
created_at: string;
|
|
845
|
+
email: string;
|
|
846
|
+
email_verification: string;
|
|
847
|
+
freeze: boolean;
|
|
848
|
+
id: string;
|
|
849
|
+
inviter: DtoUsers;
|
|
850
|
+
join_time: string;
|
|
851
|
+
locked: boolean;
|
|
852
|
+
nickname: string;
|
|
853
|
+
self_member: boolean;
|
|
854
|
+
type: ConstantUserType;
|
|
855
|
+
username: string;
|
|
856
|
+
|
|
857
|
+
/**认证类型*/
|
|
858
|
+
verified: number;
|
|
859
|
+
|
|
860
|
+
/**认证过期时间*/
|
|
861
|
+
verified_expire_in: string;
|
|
862
|
+
};
|
|
863
|
+
type DtoKnowledgeBaseInfoRes = {
|
|
864
|
+
embedding_model: DtoEmbeddingModels;
|
|
865
|
+
exclude: string;
|
|
866
|
+
id: number;
|
|
867
|
+
include: string;
|
|
868
|
+
last_commit_sha: string;
|
|
869
|
+
statistics: DtoDocumentStatistics;
|
|
870
|
+
};
|
|
871
|
+
type DtoLastPusher = {
|
|
872
|
+
is_frozen: boolean;
|
|
873
|
+
is_lock: boolean;
|
|
874
|
+
name: string;
|
|
875
|
+
nickname: string;
|
|
876
|
+
push_at: string;
|
|
877
|
+
};
|
|
878
|
+
type DtoListForks = {
|
|
879
|
+
fork_tree_count: number;
|
|
880
|
+
forks: DtoForks[];
|
|
881
|
+
};
|
|
882
|
+
type DtoListInheritMembers = {
|
|
883
|
+
inherit_path: string;
|
|
884
|
+
total: number;
|
|
885
|
+
users: DtoInheritMembersUser[];
|
|
886
|
+
};
|
|
887
|
+
type DtoLogInfo = {
|
|
888
|
+
/**构建日志 url*/
|
|
889
|
+
buildLogUrl: string;
|
|
890
|
+
|
|
891
|
+
/**提交日志 title*/
|
|
892
|
+
commitTitle: string;
|
|
893
|
+
|
|
894
|
+
/**构建开始时间*/
|
|
895
|
+
createTime: string;
|
|
896
|
+
|
|
897
|
+
/**构建耗时,单位:ms*/
|
|
898
|
+
duration: number;
|
|
899
|
+
|
|
900
|
+
/**事件名*/
|
|
901
|
+
event: string;
|
|
902
|
+
|
|
903
|
+
/**事件 url*/
|
|
904
|
+
eventUrl: string;
|
|
905
|
+
|
|
906
|
+
/**构建用户是否被冻结*/
|
|
907
|
+
freeze: boolean;
|
|
908
|
+
|
|
909
|
+
/**组织名*/
|
|
910
|
+
groupName: string;
|
|
911
|
+
|
|
912
|
+
/**流水线标签*/
|
|
913
|
+
labels: string;
|
|
914
|
+
|
|
915
|
+
/**构建用户昵称*/
|
|
916
|
+
nickName: string;
|
|
917
|
+
|
|
918
|
+
/**失败的子流水线个数*/
|
|
919
|
+
pipelineFailCount: number;
|
|
920
|
+
|
|
921
|
+
/**成功的子流水线个数*/
|
|
922
|
+
pipelineSuccessCount: number;
|
|
923
|
+
|
|
924
|
+
/**子流水线个数*/
|
|
925
|
+
pipelineTotalCount: number;
|
|
926
|
+
|
|
927
|
+
/**commitid*/
|
|
928
|
+
sha: string;
|
|
929
|
+
|
|
930
|
+
/**仓库路径*/
|
|
931
|
+
slug: string;
|
|
932
|
+
|
|
933
|
+
/**构建号*/
|
|
934
|
+
sn: string;
|
|
935
|
+
|
|
936
|
+
/**源分支名*/
|
|
937
|
+
sourceRef: string;
|
|
938
|
+
|
|
939
|
+
/**源仓库路径*/
|
|
940
|
+
sourceSlug: string;
|
|
941
|
+
|
|
942
|
+
/**构建状态*/
|
|
943
|
+
status: string;
|
|
944
|
+
|
|
945
|
+
/**目标分支名*/
|
|
946
|
+
targetRef: string;
|
|
947
|
+
|
|
948
|
+
/**构建 title*/
|
|
949
|
+
title: string;
|
|
950
|
+
|
|
951
|
+
/**用户名*/
|
|
952
|
+
userName: string;
|
|
953
|
+
};
|
|
954
|
+
type DtoMemberAccessLevel = {
|
|
955
|
+
access_level: ConstantAccessRole;
|
|
956
|
+
path: string;
|
|
957
|
+
};
|
|
958
|
+
type DtoMemberAccessLevelInSlugUnion = {
|
|
959
|
+
access_level: ConstantAccessRole;
|
|
960
|
+
inherit: boolean;
|
|
961
|
+
read_privilege: boolean;
|
|
962
|
+
write_privilege: boolean;
|
|
963
|
+
};
|
|
964
|
+
type DtoMetaData = {
|
|
965
|
+
author: string;
|
|
966
|
+
home_page: string;
|
|
967
|
+
license_url: string;
|
|
968
|
+
minimum_stability: string;
|
|
969
|
+
package_name: string;
|
|
970
|
+
package_tag: string;
|
|
971
|
+
package_type: string;
|
|
972
|
+
readme: string;
|
|
973
|
+
repository_url: string;
|
|
974
|
+
};
|
|
975
|
+
type DtoOrganizationAccess = {
|
|
976
|
+
/**AccessRole 用户在当前资源的最大权限*/
|
|
977
|
+
access_role: any;
|
|
978
|
+
all_member_count: number;
|
|
979
|
+
|
|
980
|
+
/**下面所有层级子组织*/
|
|
981
|
+
all_sub_group_count: number;
|
|
982
|
+
|
|
983
|
+
/**下面所有层级子任务*/
|
|
984
|
+
all_sub_mission_count: number;
|
|
985
|
+
all_sub_registry_count: number;
|
|
986
|
+
|
|
987
|
+
/**下面所有层级子仓库*/
|
|
988
|
+
all_sub_repo_count: number;
|
|
989
|
+
created_at: string;
|
|
990
|
+
description: string;
|
|
991
|
+
domain: string;
|
|
992
|
+
email: string;
|
|
993
|
+
follow_count: number;
|
|
994
|
+
freeze: boolean;
|
|
995
|
+
has_sub_group: boolean;
|
|
996
|
+
id: number;
|
|
997
|
+
member_count: number;
|
|
998
|
+
name: string;
|
|
999
|
+
path: string;
|
|
1000
|
+
pinned: boolean;
|
|
1001
|
+
pinned_time: string;
|
|
1002
|
+
remark: string;
|
|
1003
|
+
site: string;
|
|
1004
|
+
|
|
1005
|
+
/**下一级子组织数量*/
|
|
1006
|
+
sub_group_count: number;
|
|
1007
|
+
sub_mission_count: number;
|
|
1008
|
+
sub_registry_count: number;
|
|
1009
|
+
|
|
1010
|
+
/**下一级子仓库*/
|
|
1011
|
+
sub_repo_count: number;
|
|
1012
|
+
updated_at: string;
|
|
1013
|
+
wechat_mp: string;
|
|
1014
|
+
};
|
|
1015
|
+
type DtoOrganizationSettingWithParent = {
|
|
1016
|
+
/**上级group设置了hide_members为1,则下级都不能显示*/
|
|
1017
|
+
can_show_members: boolean;
|
|
1018
|
+
|
|
1019
|
+
/**上级group设置了hide_sub_groups为1,则下级都不能显示*/
|
|
1020
|
+
can_show_sub_groups: boolean;
|
|
1021
|
+
can_show_watermark: boolean;
|
|
1022
|
+
email_verification: string;
|
|
1023
|
+
group_protection: number;
|
|
1024
|
+
|
|
1025
|
+
/**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
1026
|
+
hide_members: number;
|
|
1027
|
+
|
|
1028
|
+
/**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
1029
|
+
hide_sub_groups: number;
|
|
1030
|
+
root_email_verification: string;
|
|
1031
|
+
root_group_protection: boolean;
|
|
1032
|
+
root_values: OrganizationSettingValue;
|
|
1033
|
+
show_private_repo_watermark: number;
|
|
1034
|
+
values: OrganizationSettingValue;
|
|
1035
|
+
};
|
|
1036
|
+
type DtoOrganizationUnion = {
|
|
1037
|
+
all_member_count: number;
|
|
1038
|
+
|
|
1039
|
+
/**下面所有层级子组织*/
|
|
1040
|
+
all_sub_group_count: number;
|
|
1041
|
+
|
|
1042
|
+
/**下面所有层级子任务*/
|
|
1043
|
+
all_sub_mission_count: number;
|
|
1044
|
+
all_sub_registry_count: number;
|
|
1045
|
+
|
|
1046
|
+
/**下面所有层级子仓库*/
|
|
1047
|
+
all_sub_repo_count: number;
|
|
1048
|
+
created_at: string;
|
|
1049
|
+
description: string;
|
|
1050
|
+
domain: string;
|
|
1051
|
+
email: string;
|
|
1052
|
+
follow_count: number;
|
|
1053
|
+
freeze: boolean;
|
|
1054
|
+
has_sub_group: boolean;
|
|
1055
|
+
id: number;
|
|
1056
|
+
member_count: number;
|
|
1057
|
+
name: string;
|
|
1058
|
+
path: string;
|
|
1059
|
+
remark: string;
|
|
1060
|
+
site: string;
|
|
1061
|
+
|
|
1062
|
+
/**下一级子组织数量*/
|
|
1063
|
+
sub_group_count: number;
|
|
1064
|
+
sub_mission_count: number;
|
|
1065
|
+
sub_registry_count: number;
|
|
1066
|
+
|
|
1067
|
+
/**下一级子仓库*/
|
|
1068
|
+
sub_repo_count: number;
|
|
1069
|
+
updated_at: string;
|
|
1070
|
+
wechat_mp: string;
|
|
1071
|
+
};
|
|
1072
|
+
type DtoOutsideCollaboratorInRepo = {
|
|
1073
|
+
access_level: ConstantAccessRole;
|
|
1074
|
+
avatar: string;
|
|
1075
|
+
created_at: string;
|
|
1076
|
+
email: string;
|
|
1077
|
+
freeze: boolean;
|
|
1078
|
+
id: string;
|
|
1079
|
+
join_time: string;
|
|
1080
|
+
locked: boolean;
|
|
1081
|
+
nickname: string;
|
|
1082
|
+
type: ConstantUserType;
|
|
1083
|
+
username: string;
|
|
1084
|
+
|
|
1085
|
+
/**认证类型*/
|
|
1086
|
+
verified: number;
|
|
1087
|
+
|
|
1088
|
+
/**认证过期时间*/
|
|
1089
|
+
verified_expire_in: string;
|
|
1090
|
+
};
|
|
1091
|
+
type DtoPackage = {
|
|
1092
|
+
count: number;
|
|
1093
|
+
description: string;
|
|
1094
|
+
labels: string[];
|
|
1095
|
+
last_artifact_name: string;
|
|
1096
|
+
last_pusher: DtoLastPusher;
|
|
1097
|
+
name: string;
|
|
1098
|
+
package: string;
|
|
1099
|
+
package_type: DtoPackageType;
|
|
1100
|
+
pull_count: number;
|
|
1101
|
+
recent_pull_count: number;
|
|
1102
|
+
};
|
|
1103
|
+
type DtoPackageDetail = {
|
|
1104
|
+
composer: DtoCommonRegistryPackageDetail;
|
|
1105
|
+
docker: DtoContainerPackageDetail;
|
|
1106
|
+
helm: DtoChartPackageDetail;
|
|
1107
|
+
maven: DtoCommonRegistryPackageDetail;
|
|
1108
|
+
npm: DtoCommonRegistryPackageDetail;
|
|
1109
|
+
nuget: DtoCommonRegistryPackageDetail;
|
|
1110
|
+
ohpm: DtoCommonRegistryPackageDetail;
|
|
1111
|
+
pypi: DtoCommonRegistryPackageDetail;
|
|
1112
|
+
};
|
|
1113
|
+
type DtoPackageType = "all" | "docker" | "helm" | "npm" | "maven" | "ohpm" | "pypi" | "composer" | "nuget";
|
|
1114
|
+
type DtoQueryKnowledgeBaseReq = {
|
|
1115
|
+
query: string;
|
|
1116
|
+
top_k: number;
|
|
1117
|
+
};
|
|
1118
|
+
type DtoQueryKnowledgeBaseRes = {
|
|
1119
|
+
chunk: string;
|
|
1120
|
+
metadata: any;
|
|
1121
|
+
score: number;
|
|
1122
|
+
};
|
|
1123
|
+
type DtoQuotaRsp = {
|
|
1124
|
+
/**The hard limits of the quota,example: { "hard": { "storage": -1}}*/
|
|
1125
|
+
hard: any;
|
|
1126
|
+
|
|
1127
|
+
/**The repository name of the quota*/
|
|
1128
|
+
repository_name: string;
|
|
1129
|
+
|
|
1130
|
+
/**The cnb default quota value*/
|
|
1131
|
+
storage_per_project: string;
|
|
1132
|
+
|
|
1133
|
+
/**The used limits of the quota,example: { "used": { "storage": 0}}*/
|
|
1134
|
+
used: any;
|
|
1135
|
+
};
|
|
1136
|
+
type DtoRegistryLevelQuotaRsp = {
|
|
1137
|
+
code_repo: DtoCodeRepoQuotaRsp;
|
|
1138
|
+
common_registry: DtoQuotaRsp;
|
|
1139
|
+
};
|
|
1140
|
+
type DtoRepoPatch = {
|
|
1141
|
+
description: string;
|
|
1142
|
+
license: string;
|
|
1143
|
+
site: string;
|
|
1144
|
+
topics: string[];
|
|
1145
|
+
};
|
|
1146
|
+
type DtoRepoStarUsers = {
|
|
1147
|
+
my_follow_count: number;
|
|
1148
|
+
total: number;
|
|
1149
|
+
users: DtoStarUser[];
|
|
1150
|
+
};
|
|
1151
|
+
type DtoRepos4User = {
|
|
1152
|
+
access: any;
|
|
1153
|
+
created_at: string;
|
|
1154
|
+
description: string;
|
|
1155
|
+
display_module: ConstantRepoDisplayModule;
|
|
1156
|
+
flags: FlagsRepo;
|
|
1157
|
+
fork_count: number;
|
|
1158
|
+
|
|
1159
|
+
/**预留*/
|
|
1160
|
+
forked_from_repo: any;
|
|
1161
|
+
freeze: boolean;
|
|
1162
|
+
id: number;
|
|
1163
|
+
|
|
1164
|
+
/**仓库程序语言,预留*/
|
|
1165
|
+
language: string;
|
|
1166
|
+
|
|
1167
|
+
/**仓库语言*/
|
|
1168
|
+
languages: any;
|
|
1169
|
+
|
|
1170
|
+
/**最新代码更新人姓名*/
|
|
1171
|
+
last_update_nickname: string;
|
|
1172
|
+
|
|
1173
|
+
/**最新代码更新人账户名*/
|
|
1174
|
+
last_update_username: string;
|
|
1175
|
+
|
|
1176
|
+
/**最新代码更新时间*/
|
|
1177
|
+
last_updated_at: any;
|
|
1178
|
+
license: string;
|
|
1179
|
+
mark_count: number;
|
|
1180
|
+
name: string;
|
|
1181
|
+
|
|
1182
|
+
/**开启的issue数*/
|
|
1183
|
+
open_issue_count: number;
|
|
1184
|
+
|
|
1185
|
+
/**开启的pull request数*/
|
|
1186
|
+
open_pull_request_count: number;
|
|
1187
|
+
|
|
1188
|
+
/**完整仓库路径*/
|
|
1189
|
+
path: string;
|
|
1190
|
+
pinned: boolean;
|
|
1191
|
+
pinned_time: string;
|
|
1192
|
+
|
|
1193
|
+
/**第二语言*/
|
|
1194
|
+
second_languages: any;
|
|
1195
|
+
site: string;
|
|
1196
|
+
star_count: number;
|
|
1197
|
+
star_time: string;
|
|
1198
|
+
stared: boolean;
|
|
1199
|
+
status: any;
|
|
1200
|
+
tags: {
|
|
1201
|
+
name: string;
|
|
1202
|
+
}[];
|
|
1203
|
+
topics: string;
|
|
1204
|
+
updated_at: string;
|
|
1205
|
+
visibility_level: ConstantVisibility;
|
|
1206
|
+
web_url: string;
|
|
1207
|
+
};
|
|
1208
|
+
type DtoRepos4UserBase = {
|
|
1209
|
+
created_at: string;
|
|
1210
|
+
description: string;
|
|
1211
|
+
display_module: ConstantRepoDisplayModule;
|
|
1212
|
+
flags: FlagsRepo;
|
|
1213
|
+
fork_count: number;
|
|
1214
|
+
|
|
1215
|
+
/**预留*/
|
|
1216
|
+
forked_from_repo: any;
|
|
1217
|
+
freeze: boolean;
|
|
1218
|
+
id: number;
|
|
1219
|
+
|
|
1220
|
+
/**仓库程序语言,预留*/
|
|
1221
|
+
language: string;
|
|
1222
|
+
|
|
1223
|
+
/**仓库语言*/
|
|
1224
|
+
languages: any;
|
|
1225
|
+
|
|
1226
|
+
/**最新代码更新人姓名*/
|
|
1227
|
+
last_update_nickname: string;
|
|
1228
|
+
|
|
1229
|
+
/**最新代码更新人账户名*/
|
|
1230
|
+
last_update_username: string;
|
|
1231
|
+
|
|
1232
|
+
/**最新代码更新时间*/
|
|
1233
|
+
last_updated_at: any;
|
|
1234
|
+
license: string;
|
|
1235
|
+
mark_count: number;
|
|
1236
|
+
name: string;
|
|
1237
|
+
|
|
1238
|
+
/**开启的issue数*/
|
|
1239
|
+
open_issue_count: number;
|
|
1240
|
+
|
|
1241
|
+
/**开启的pull request数*/
|
|
1242
|
+
open_pull_request_count: number;
|
|
1243
|
+
|
|
1244
|
+
/**完整仓库路径*/
|
|
1245
|
+
path: string;
|
|
1246
|
+
|
|
1247
|
+
/**第二语言*/
|
|
1248
|
+
second_languages: any;
|
|
1249
|
+
site: string;
|
|
1250
|
+
star_count: number;
|
|
1251
|
+
status: any;
|
|
1252
|
+
tags: {
|
|
1253
|
+
name: string;
|
|
1254
|
+
}[];
|
|
1255
|
+
topics: string;
|
|
1256
|
+
updated_at: string;
|
|
1257
|
+
visibility_level: ConstantVisibility;
|
|
1258
|
+
web_url: string;
|
|
1259
|
+
};
|
|
1260
|
+
type DtoStarUser = {
|
|
1261
|
+
avatar: string;
|
|
1262
|
+
created_at: string;
|
|
1263
|
+
email: string;
|
|
1264
|
+
freeze: boolean;
|
|
1265
|
+
id: string;
|
|
1266
|
+
is_follow: boolean;
|
|
1267
|
+
locked: boolean;
|
|
1268
|
+
nickname: string;
|
|
1269
|
+
stared_at: string;
|
|
1270
|
+
type: ConstantUserType;
|
|
1271
|
+
username: string;
|
|
1272
|
+
|
|
1273
|
+
/**认证类型*/
|
|
1274
|
+
verified: number;
|
|
1275
|
+
|
|
1276
|
+
/**认证过期时间*/
|
|
1277
|
+
verified_expire_in: string;
|
|
1278
|
+
};
|
|
1279
|
+
type DtoStartBuildReq = {
|
|
1280
|
+
/**触发分支,默认为主分支*/
|
|
1281
|
+
branch: string;
|
|
1282
|
+
|
|
1283
|
+
/**指定配置文件内容,yaml 格式*/
|
|
1284
|
+
config: string;
|
|
1285
|
+
|
|
1286
|
+
/**环境变量,对象格式*/
|
|
1287
|
+
env: any;
|
|
1288
|
+
|
|
1289
|
+
/**事件名,必须是 api_trigger 或以 api_trigger_ 开头,默认为 `api_trigger`*/
|
|
1290
|
+
event: string;
|
|
1291
|
+
|
|
1292
|
+
/**commit id ,优先级比 tag 高,默认为分支最新提交记录*/
|
|
1293
|
+
sha: string;
|
|
1294
|
+
|
|
1295
|
+
/**是否等待构建正式触发,为false时会立刻返回 sn 和 buildLogUrl*/
|
|
1296
|
+
sync: string;
|
|
1297
|
+
|
|
1298
|
+
/**触发 tag,优先级比 branch 高*/
|
|
1299
|
+
tag: string;
|
|
1300
|
+
};
|
|
1301
|
+
type DtoStartWorkspaceReq = {
|
|
1302
|
+
/**分支名,例如:main*/
|
|
1303
|
+
branch: string;
|
|
1304
|
+
|
|
1305
|
+
/**Git ref,例如:refs/heads/main*/
|
|
1306
|
+
ref: string;
|
|
1307
|
+
};
|
|
1308
|
+
type DtoStartWorkspaceResult = {
|
|
1309
|
+
/**仅新创建开发环境时返回,表示创建开发环境的流水线日志地址*/
|
|
1310
|
+
buildLogUrl: string;
|
|
1311
|
+
|
|
1312
|
+
/**仅新创建开发环境时返回,表示创建开发环境的提示信息*/
|
|
1313
|
+
message: string;
|
|
1314
|
+
|
|
1315
|
+
/**仅新创建开发环境时返回,表示创建开发环境的流水线 sn*/
|
|
1316
|
+
sn: string;
|
|
1317
|
+
|
|
1318
|
+
/**如果存在开发环境,则返回 WebIDE 访问 url;如果不存在开发环境,则返回启动云原生开发的 loading 页面 url 地址*/
|
|
1319
|
+
url: string;
|
|
1320
|
+
};
|
|
1321
|
+
type DtoTag = {
|
|
1322
|
+
composer: DtoCommonRegistryTag[];
|
|
1323
|
+
docker: DtoContainerTag[];
|
|
1324
|
+
helm: DtoChartTag[];
|
|
1325
|
+
maven: DtoCommonRegistryTag[];
|
|
1326
|
+
npm: DtoCommonRegistryTag[];
|
|
1327
|
+
nuget: DtoCommonRegistryTag[];
|
|
1328
|
+
ohpm: DtoCommonRegistryTag[];
|
|
1329
|
+
package: string;
|
|
1330
|
+
pypi: DtoCommonRegistryTag[];
|
|
1331
|
+
};
|
|
1332
|
+
type DtoTagDetail = {
|
|
1333
|
+
composer: DtoCommonRegistryTagDetail;
|
|
1334
|
+
docker: DtoContainerTagDetail;
|
|
1335
|
+
helm: DtoChartTagDetail;
|
|
1336
|
+
maven: DtoCommonRegistryTagDetail;
|
|
1337
|
+
npm: DtoCommonRegistryTagDetail;
|
|
1338
|
+
nuget: DtoCommonRegistryTagDetail;
|
|
1339
|
+
ohpm: DtoCommonRegistryTagDetail;
|
|
1340
|
+
pypi: DtoCommonRegistryTagDetail;
|
|
1341
|
+
};
|
|
1342
|
+
type DtoTransferSlugReq = {
|
|
1343
|
+
source: string;
|
|
1344
|
+
target: string;
|
|
1345
|
+
};
|
|
1346
|
+
type DtoUpdateGroupReq = {
|
|
1347
|
+
description: string;
|
|
1348
|
+
domain: string;
|
|
1349
|
+
email: string;
|
|
1350
|
+
remark: string;
|
|
1351
|
+
site: string;
|
|
1352
|
+
wechat_mp: string;
|
|
1353
|
+
};
|
|
1354
|
+
type DtoUpdateMembersRequest = {
|
|
1355
|
+
access_level: string;
|
|
1356
|
+
is_outside_collaborator: boolean;
|
|
1357
|
+
};
|
|
1358
|
+
type DtoUploadAssetsResponse = {
|
|
1359
|
+
assets: DtoAssets;
|
|
1360
|
+
form: any;
|
|
1361
|
+
|
|
1362
|
+
/**后续调用 confirm 接口用的*/
|
|
1363
|
+
token: string;
|
|
1364
|
+
upload_url: string;
|
|
1365
|
+
};
|
|
1366
|
+
type DtoUploadRequestParams = {
|
|
1367
|
+
name: string;
|
|
1368
|
+
size: number;
|
|
1369
|
+
};
|
|
1370
|
+
type DtoUserFollowResult = {
|
|
1371
|
+
freeze: boolean;
|
|
1372
|
+
|
|
1373
|
+
/**查询人是否follow了此用户*/
|
|
1374
|
+
is_following: boolean;
|
|
1375
|
+
locked: boolean;
|
|
1376
|
+
nickname: string;
|
|
1377
|
+
username: string;
|
|
1378
|
+
};
|
|
1379
|
+
type DtoUsers = {
|
|
1380
|
+
avatar: string;
|
|
1381
|
+
created_at: string;
|
|
1382
|
+
email: string;
|
|
1383
|
+
freeze: boolean;
|
|
1384
|
+
id: string;
|
|
1385
|
+
locked: boolean;
|
|
1386
|
+
nickname: string;
|
|
1387
|
+
type: ConstantUserType;
|
|
1388
|
+
username: string;
|
|
1389
|
+
|
|
1390
|
+
/**认证类型*/
|
|
1391
|
+
verified: number;
|
|
1392
|
+
|
|
1393
|
+
/**认证过期时间*/
|
|
1394
|
+
verified_expire_in: string;
|
|
1395
|
+
};
|
|
1396
|
+
type DtoUsersResult = {
|
|
1397
|
+
address: string;
|
|
1398
|
+
|
|
1399
|
+
/**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
1400
|
+
appreciate_status: number;
|
|
1401
|
+
avatar: string;
|
|
1402
|
+
bio: string;
|
|
1403
|
+
company: string;
|
|
1404
|
+
created_at: string;
|
|
1405
|
+
email: string;
|
|
1406
|
+
follow_count: number;
|
|
1407
|
+
follow_mission_count: number;
|
|
1408
|
+
follow_repo_count: number;
|
|
1409
|
+
follower_count: number;
|
|
1410
|
+
freeze: boolean;
|
|
1411
|
+
gender: number;
|
|
1412
|
+
group_count: number;
|
|
1413
|
+
id: string;
|
|
1414
|
+
|
|
1415
|
+
/**查询人是否follow了此用户*/
|
|
1416
|
+
is_following: boolean;
|
|
1417
|
+
location: string;
|
|
1418
|
+
locked: boolean;
|
|
1419
|
+
mission_count: number;
|
|
1420
|
+
nickname: string;
|
|
1421
|
+
registry_count: number;
|
|
1422
|
+
repo_count: number;
|
|
1423
|
+
reward_amount: number;
|
|
1424
|
+
reward_count: number;
|
|
1425
|
+
site: string;
|
|
1426
|
+
stars_count: number;
|
|
1427
|
+
type: ConstantUserType;
|
|
1428
|
+
username: string;
|
|
1429
|
+
|
|
1430
|
+
/**认证类型*/
|
|
1431
|
+
verified: number;
|
|
1432
|
+
|
|
1433
|
+
/**认证过期时间*/
|
|
1434
|
+
verified_expire_in: string;
|
|
1435
|
+
wechat_mp: string;
|
|
1436
|
+
wechat_mp_qrcode: string;
|
|
1437
|
+
};
|
|
1438
|
+
type DtoUsersResultForSelf = {
|
|
1439
|
+
address: string;
|
|
1440
|
+
|
|
1441
|
+
/**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
1442
|
+
appreciate_status: number;
|
|
1443
|
+
avatar: string;
|
|
1444
|
+
bio: string;
|
|
1445
|
+
company: string;
|
|
1446
|
+
created_at: string;
|
|
1447
|
+
editable: ConstantUserEditable;
|
|
1448
|
+
email: string;
|
|
1449
|
+
follow_count: number;
|
|
1450
|
+
follow_mission_count: number;
|
|
1451
|
+
follow_repo_count: number;
|
|
1452
|
+
follower_count: number;
|
|
1453
|
+
freeze: boolean;
|
|
1454
|
+
gender: number;
|
|
1455
|
+
group_count: number;
|
|
1456
|
+
id: string;
|
|
1457
|
+
language: string;
|
|
1458
|
+
last_login_at: string;
|
|
1459
|
+
last_login_ip: string;
|
|
1460
|
+
location: string;
|
|
1461
|
+
locked: boolean;
|
|
1462
|
+
mission_count: number;
|
|
1463
|
+
next_updated_name_at: string;
|
|
1464
|
+
nickname: string;
|
|
1465
|
+
registry_count: number;
|
|
1466
|
+
repo_count: number;
|
|
1467
|
+
reward_amount: number;
|
|
1468
|
+
reward_count: number;
|
|
1469
|
+
site: string;
|
|
1470
|
+
stars_count: number;
|
|
1471
|
+
type: ConstantUserType;
|
|
1472
|
+
updated_name_at: string;
|
|
1473
|
+
updated_nick_at: string;
|
|
1474
|
+
username: string;
|
|
1475
|
+
|
|
1476
|
+
/**认证类型*/
|
|
1477
|
+
verified: number;
|
|
1478
|
+
|
|
1479
|
+
/**认证过期时间*/
|
|
1480
|
+
verified_expire_in: string;
|
|
1481
|
+
wechat_mp: string;
|
|
1482
|
+
wechat_mp_qrcode: string;
|
|
1483
|
+
};
|
|
1484
|
+
type DtoUsersWithAccessLevelInSlug = {
|
|
1485
|
+
access_level: ConstantAccessRole;
|
|
1486
|
+
avatar: string;
|
|
1487
|
+
created_at: string;
|
|
1488
|
+
email: string;
|
|
1489
|
+
email_verification: string;
|
|
1490
|
+
freeze: boolean;
|
|
1491
|
+
id: string;
|
|
1492
|
+
inviter: DtoUsers;
|
|
1493
|
+
join_time: string;
|
|
1494
|
+
locked: boolean;
|
|
1495
|
+
nickname: string;
|
|
1496
|
+
type: ConstantUserType;
|
|
1497
|
+
username: string;
|
|
1498
|
+
|
|
1499
|
+
/**认证类型*/
|
|
1500
|
+
verified: number;
|
|
1501
|
+
|
|
1502
|
+
/**认证过期时间*/
|
|
1503
|
+
verified_expire_in: string;
|
|
1504
|
+
};
|
|
1505
|
+
type DtoWorkspaceDeleteReq = {
|
|
1506
|
+
/**创建环境的流水线 id*/
|
|
1507
|
+
pipelineId: string;
|
|
1508
|
+
};
|
|
1509
|
+
type DtoWorkspaceDeleteResult = {
|
|
1510
|
+
/**返回码,0 表示成功,1 表示失败*/
|
|
1511
|
+
code: number;
|
|
1512
|
+
|
|
1513
|
+
/**描述*/
|
|
1514
|
+
message: string;
|
|
1515
|
+
};
|
|
1516
|
+
type DtoWorkspaceDetailResult = {
|
|
1517
|
+
/**Cursor 客户端 remote-ssh 访问 schema 地址*/
|
|
1518
|
+
cursor: string;
|
|
1519
|
+
|
|
1520
|
+
/**VSCode 客户端 remote-ssh 访问 schema 地址*/
|
|
1521
|
+
vscode: string;
|
|
1522
|
+
|
|
1523
|
+
/**WebIDE 访问 url*/
|
|
1524
|
+
webide: string;
|
|
1525
|
+
};
|
|
1526
|
+
type DtoWorkspaceInfo = {
|
|
1527
|
+
/**分支名,例如:main*/
|
|
1528
|
+
branch: string;
|
|
1529
|
+
|
|
1530
|
+
/**备份的 commit 数*/
|
|
1531
|
+
commit_count: number;
|
|
1532
|
+
|
|
1533
|
+
/**开发环境创建时间,例如:2024-12-02T03:20:22.000Z*/
|
|
1534
|
+
create_time: string;
|
|
1535
|
+
|
|
1536
|
+
/**开发环境持续时间,单位:ms(非实时更新)*/
|
|
1537
|
+
duration: number;
|
|
1538
|
+
|
|
1539
|
+
/**备份的文件数*/
|
|
1540
|
+
file_count: number;
|
|
1541
|
+
|
|
1542
|
+
/**备份的文件列表,仅前五个备份文件相对路径*/
|
|
1543
|
+
file_list: string;
|
|
1544
|
+
|
|
1545
|
+
/**环境销毁时远程最新的 commit short hash*/
|
|
1546
|
+
latest_sha: string;
|
|
1547
|
+
|
|
1548
|
+
/**创建环境的子流水线 id*/
|
|
1549
|
+
pipeline_id: string;
|
|
1550
|
+
|
|
1551
|
+
/**备份的 stash 数*/
|
|
1552
|
+
remote_stash_count: number;
|
|
1553
|
+
|
|
1554
|
+
/**仓库地址*/
|
|
1555
|
+
repo_url: string;
|
|
1556
|
+
|
|
1557
|
+
/**恢复备份代码的流水线 id,如果有值表示备份代码已被恢复(重建环境时会恢复备份代码)*/
|
|
1558
|
+
restore_id: string;
|
|
1559
|
+
|
|
1560
|
+
/**仓库路径,例如:groupname/reponame*/
|
|
1561
|
+
slug: string;
|
|
1562
|
+
|
|
1563
|
+
/**创建开发环境的流水线 sn*/
|
|
1564
|
+
sn: string;
|
|
1565
|
+
|
|
1566
|
+
/**开发环境是否支持 ssh 链接*/
|
|
1567
|
+
ssh: boolean;
|
|
1568
|
+
|
|
1569
|
+
/**工作区状态,running: 开发环境已启动,closed:开发环境已关闭*/
|
|
1570
|
+
status: string;
|
|
1571
|
+
|
|
1572
|
+
/**开发环境默认工作区路径*/
|
|
1573
|
+
workspace: string;
|
|
1574
|
+
};
|
|
1575
|
+
type DtoWorkspaceListResult = {
|
|
1576
|
+
/**是否有更多数据*/
|
|
1577
|
+
hasMore: boolean;
|
|
1578
|
+
|
|
1579
|
+
/**云原生开发环境列表*/
|
|
1580
|
+
list: DtoWorkspaceInfo[];
|
|
1581
|
+
|
|
1582
|
+
/**分页信息*/
|
|
1583
|
+
pageInfo: any;
|
|
1584
|
+
|
|
1585
|
+
/**总数*/
|
|
1586
|
+
total: number;
|
|
1587
|
+
};
|
|
1588
|
+
type FlagsRepo = 0 | 2;
|
|
1589
|
+
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo = {
|
|
1590
|
+
freeze: boolean;
|
|
1591
|
+
nickname: string;
|
|
1592
|
+
username: string;
|
|
1593
|
+
};
|
|
1594
|
+
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffWebUserInfo = {
|
|
1595
|
+
freeze: boolean;
|
|
1596
|
+
nickname: string;
|
|
1597
|
+
username: string;
|
|
1598
|
+
};
|
|
1599
|
+
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo = {
|
|
1600
|
+
nickname: string;
|
|
1601
|
+
username: string;
|
|
1602
|
+
};
|
|
1603
|
+
type HttpUpdateUserInfoPayload = {
|
|
1604
|
+
address: string;
|
|
1605
|
+
bio: string;
|
|
1606
|
+
company: string;
|
|
1607
|
+
location: string;
|
|
1608
|
+
name: string;
|
|
1609
|
+
nickname: string;
|
|
1610
|
+
site: string;
|
|
1611
|
+
wechat_mp: string;
|
|
1612
|
+
wechat_mp_qrcode: string;
|
|
1613
|
+
};
|
|
1614
|
+
type OpenapiCreateBranchForm = {
|
|
1615
|
+
name: string;
|
|
1616
|
+
start_point: string;
|
|
1617
|
+
};
|
|
1618
|
+
type OpenapiHeadRef = {
|
|
1619
|
+
name: string;
|
|
1620
|
+
protected: boolean;
|
|
1621
|
+
};
|
|
1622
|
+
type OpenapiPatchReleaseForm = {
|
|
1623
|
+
body: string;
|
|
1624
|
+
draft: boolean;
|
|
1625
|
+
make_latest: string;
|
|
1626
|
+
name: string;
|
|
1627
|
+
prerelease: boolean;
|
|
1628
|
+
};
|
|
1629
|
+
type OpenapiPostCommitAssetUploadUrlForm = {
|
|
1630
|
+
asset_name: string;
|
|
1631
|
+
|
|
1632
|
+
/**附件大小,单位为字节。 Attachment size, in bytes.*/
|
|
1633
|
+
size: number;
|
|
1634
|
+
};
|
|
1635
|
+
type OpenapiPostReleaseAssetUploadUrlForm = {
|
|
1636
|
+
asset_name: string;
|
|
1637
|
+
overwrite: boolean;
|
|
1638
|
+
|
|
1639
|
+
/**附件大小,单位为字节。 Attachment size, in bytes.*/
|
|
1640
|
+
size: number;
|
|
1641
|
+
};
|
|
1642
|
+
type OpenapiPostReleaseForm = {
|
|
1643
|
+
body: string;
|
|
1644
|
+
draft: boolean;
|
|
1645
|
+
make_latest: string;
|
|
1646
|
+
name: string;
|
|
1647
|
+
prerelease: boolean;
|
|
1648
|
+
tag_name: string;
|
|
1649
|
+
target_commitish: string;
|
|
1650
|
+
};
|
|
1651
|
+
type OpenapiPutCommitAnnotation = {
|
|
1652
|
+
key: string;
|
|
1653
|
+
value: string;
|
|
1654
|
+
};
|
|
1655
|
+
type OpenapiPutCommitAnnotationsForm = {
|
|
1656
|
+
annotations: OpenapiPutCommitAnnotation[];
|
|
1657
|
+
};
|
|
1658
|
+
type OpenapiPutTagAnnotation = {
|
|
1659
|
+
key: string;
|
|
1660
|
+
value: string;
|
|
1661
|
+
};
|
|
1662
|
+
type OpenapiPutTagAnnotationsForm = {
|
|
1663
|
+
annotations: OpenapiPutTagAnnotation[];
|
|
1664
|
+
};
|
|
1665
|
+
type OrganizationSettingValue = 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65536 | 131072 | 262144 | 524288;
|
|
1666
|
+
type WebCommitAnnotation = {
|
|
1667
|
+
key: string;
|
|
1668
|
+
meta: any;
|
|
1669
|
+
value: string;
|
|
1670
|
+
};
|
|
1671
|
+
type WebCommitAnnotationInBatch = {
|
|
1672
|
+
annotations: WebCommitAnnotation[];
|
|
1673
|
+
commit_hash: string;
|
|
1674
|
+
};
|
|
1675
|
+
type WebCommitStatus = {
|
|
1676
|
+
context: string;
|
|
1677
|
+
created_at: string;
|
|
1678
|
+
description: string;
|
|
1679
|
+
state: string;
|
|
1680
|
+
target_url: string;
|
|
1681
|
+
updated_at: string;
|
|
1682
|
+
};
|
|
1683
|
+
type WebCommitStatuses = {
|
|
1684
|
+
sha: string;
|
|
1685
|
+
state: string;
|
|
1686
|
+
statuses: WebCommitStatus[];
|
|
1687
|
+
};
|
|
1688
|
+
type WebContributorTrend = {
|
|
1689
|
+
/**贡献者信息*/
|
|
1690
|
+
author: any;
|
|
1691
|
+
|
|
1692
|
+
/**贡献者的总提交数*/
|
|
1693
|
+
commit_count: number;
|
|
1694
|
+
|
|
1695
|
+
/**贡献者以周为单位的提交趋势数据*/
|
|
1696
|
+
weeks: WebWeek[];
|
|
1697
|
+
};
|
|
1698
|
+
type WebDeferredCommit = {
|
|
1699
|
+
oid: string;
|
|
1700
|
+
signature_information: WebSignatureInformation;
|
|
1701
|
+
status_check_statuses: WebCommitStatuses;
|
|
1702
|
+
|
|
1703
|
+
/**one of `verified`, `unverified`, `unsigned`*/
|
|
1704
|
+
verified_status: string;
|
|
1705
|
+
};
|
|
1706
|
+
type WebGetCommitAnnotationsInBatchForm = {
|
|
1707
|
+
commit_hashes: string[];
|
|
1708
|
+
keys: string[];
|
|
1709
|
+
};
|
|
1710
|
+
type WebMeta = {
|
|
1711
|
+
gen_branch: string;
|
|
1712
|
+
gen_hash: string;
|
|
1713
|
+
updated_at: string;
|
|
1714
|
+
};
|
|
1715
|
+
type WebPipelineSettings = {
|
|
1716
|
+
auto_trigger: boolean;
|
|
1717
|
+
forked_repo_auto_trigger: boolean;
|
|
1718
|
+
};
|
|
1719
|
+
type WebRepoContribTrend = {
|
|
1720
|
+
meta: WebMeta;
|
|
1721
|
+
repo_data: WebWeek[];
|
|
1722
|
+
user_total: number;
|
|
1723
|
+
users_data: WebContributorTrend[];
|
|
1724
|
+
week_total: number;
|
|
1725
|
+
|
|
1726
|
+
/**是否统计增删的行数, 默认总提交超过 10000 的仓库不统计*/
|
|
1727
|
+
with_line_counts: boolean;
|
|
1728
|
+
};
|
|
1729
|
+
type WebSignatureInformation = {
|
|
1730
|
+
has_signature: boolean;
|
|
1731
|
+
key_expired: boolean;
|
|
1732
|
+
key_id: string;
|
|
1733
|
+
signature_type: string;
|
|
1734
|
+
signature_verification_reason: string;
|
|
1735
|
+
signed_by_cnb: boolean;
|
|
1736
|
+
signer: GitWoaComCnbMonorepoGitInternalAppGitServiceBffWebUserInfo;
|
|
1737
|
+
verified: boolean;
|
|
1738
|
+
verified_at: string;
|
|
1739
|
+
};
|
|
1740
|
+
type WebTagAnnotation = {
|
|
1741
|
+
key: string;
|
|
1742
|
+
meta: any;
|
|
1743
|
+
value: string;
|
|
1744
|
+
};
|
|
1745
|
+
type WebWeek = {
|
|
1746
|
+
/**每周增加的行数*/
|
|
1747
|
+
a: number;
|
|
1748
|
+
|
|
1749
|
+
/**每周的提交数量*/
|
|
1750
|
+
c: number;
|
|
1751
|
+
|
|
1752
|
+
/**每周删除的行数*/
|
|
1753
|
+
d: number;
|
|
1754
|
+
|
|
1755
|
+
/**周的时间戳*/
|
|
1756
|
+
w: number;
|
|
1757
|
+
};
|
|
1758
|
+
type WebapiCherryPickPullRequestForm = {
|
|
1759
|
+
create_pr: boolean;
|
|
1760
|
+
target_branch: string;
|
|
1761
|
+
};
|
|
1762
|
+
type WebapiRevertPullRequestForm = {
|
|
1763
|
+
create_pr: boolean;
|
|
1764
|
+
target_branch: string;
|
|
1765
|
+
};
|
|
1766
|
+
//#endregion
|
|
1767
|
+
//#region src/client.d.ts
|
|
104
1768
|
type Organizations_CreateOrganization = (params: {
|
|
105
1769
|
request: DtoCreateGroupReq;
|
|
106
1770
|
}) => Promise<any>;
|
|
107
|
-
|
|
108
1771
|
type Users_GetUserInfo = () => Promise<DtoUsersResultForSelf>;
|
|
109
|
-
|
|
110
1772
|
type Users_UpdateUserInfo = (params: {
|
|
111
1773
|
request: HttpUpdateUserInfoPayload;
|
|
112
1774
|
}) => Promise<any>;
|
|
113
|
-
|
|
114
1775
|
type Users_AutoCompleteSource = (params?: {
|
|
115
1776
|
source_type?: "Group" | "Repo";
|
|
116
1777
|
page?: number;
|
|
117
1778
|
page_size?: number;
|
|
118
1779
|
search?: string;
|
|
119
1780
|
access?: "Reporter" | "Developer" | "Master" | "Owner";
|
|
1781
|
+
order_by?: "created_at" | "slug_path";
|
|
1782
|
+
desc?: boolean;
|
|
120
1783
|
}) => Promise<string[]>;
|
|
121
|
-
|
|
122
1784
|
type Organizations_ListTopGroups = (params?: {
|
|
123
1785
|
page?: number;
|
|
124
1786
|
page_size?: number;
|
|
125
1787
|
search?: string;
|
|
126
1788
|
role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
127
1789
|
}) => Promise<DtoOrganizationAccess[]>;
|
|
128
|
-
|
|
129
1790
|
type Organizations_ListGroups = (params: {
|
|
130
1791
|
group: string;
|
|
131
1792
|
page?: number;
|
|
132
1793
|
page_size?: number;
|
|
133
1794
|
access?: number;
|
|
134
1795
|
}) => Promise<DtoOrganizationAccess[]>;
|
|
135
|
-
|
|
136
1796
|
type Repositories_GetRepos = (params?: {
|
|
137
1797
|
page?: number;
|
|
138
1798
|
page_size?: number;
|
|
139
1799
|
search?: string;
|
|
140
1800
|
filter_type?: "private" | "public" | "encrypted";
|
|
141
1801
|
role?: "Reporter" | "Developer" | "Master" | "Owner";
|
|
1802
|
+
flags?: "KnowledgeBase";
|
|
142
1803
|
order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
|
|
143
1804
|
desc?: boolean;
|
|
144
1805
|
}) => Promise<DtoRepos4User[]>;
|
|
145
|
-
|
|
146
1806
|
type Repositories_GetUserAllStaredRepos = (params?: {
|
|
147
1807
|
page?: number;
|
|
148
1808
|
page_size?: number;
|
|
@@ -150,33 +1810,23 @@ type Repositories_GetUserAllStaredRepos = (params?: {
|
|
|
150
1810
|
desc?: boolean;
|
|
151
1811
|
order_by?: "created_at" | "last_updated_at" | "stars" | "forks";
|
|
152
1812
|
}) => Promise<DtoRepos4User[]>;
|
|
153
|
-
|
|
154
1813
|
type Users_GetUserInfoByName = (params: {
|
|
155
1814
|
username: string;
|
|
156
1815
|
}) => Promise<DtoUsersResult>;
|
|
157
|
-
|
|
158
1816
|
type Activities_GetUserActivitiesByDate = (params: {
|
|
159
1817
|
username: string;
|
|
160
1818
|
date?: string;
|
|
161
1819
|
}) => Promise<DtoActivityDate>;
|
|
162
|
-
|
|
163
|
-
type Assets_GetUserAvatar = (params: {
|
|
164
|
-
username: string;
|
|
165
|
-
size: string;
|
|
166
|
-
}) => Promise<any>;
|
|
167
|
-
|
|
168
1820
|
type Followers_GetFollowersByUserID = (params: {
|
|
169
1821
|
username: string;
|
|
170
1822
|
page?: number;
|
|
171
1823
|
page_size?: number;
|
|
172
1824
|
}) => Promise<DtoUserFollowResult[]>;
|
|
173
|
-
|
|
174
1825
|
type Followers_GetFollowingByUserID = (params: {
|
|
175
1826
|
username: string;
|
|
176
1827
|
page?: number;
|
|
177
1828
|
page_size?: number;
|
|
178
1829
|
}) => Promise<DtoUserFollowResult[]>;
|
|
179
|
-
|
|
180
1830
|
type Organizations_GetGroupsByUserID = (params: {
|
|
181
1831
|
username: string;
|
|
182
1832
|
search?: string;
|
|
@@ -185,18 +1835,15 @@ type Organizations_GetGroupsByUserID = (params: {
|
|
|
185
1835
|
desc?: boolean;
|
|
186
1836
|
order_by?: "join_time" | "created_at";
|
|
187
1837
|
}) => Promise<DtoOrganizationUnion>;
|
|
188
|
-
|
|
189
1838
|
type Repositories_GetPinnedRepoByID = (params: {
|
|
190
1839
|
username: string;
|
|
191
1840
|
}) => Promise<DtoRepos4User[]>;
|
|
192
|
-
|
|
193
1841
|
type Activities_GetUserRepoActivityDetails = (params: {
|
|
194
1842
|
username: string;
|
|
195
1843
|
activityType: "issue" | "pull_request" | "code_review";
|
|
196
1844
|
slug: string;
|
|
197
1845
|
date: string;
|
|
198
1846
|
}) => Promise<any[]>;
|
|
199
|
-
|
|
200
1847
|
type Repositories_GetReposByUserName = (params: {
|
|
201
1848
|
username: string;
|
|
202
1849
|
search?: string;
|
|
@@ -206,7 +1853,6 @@ type Repositories_GetReposByUserName = (params: {
|
|
|
206
1853
|
desc?: boolean;
|
|
207
1854
|
order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
|
|
208
1855
|
}) => Promise<DtoRepos4User[]>;
|
|
209
|
-
|
|
210
1856
|
type Starring_GetUserStaredRepos = (params: {
|
|
211
1857
|
username: string;
|
|
212
1858
|
search?: string;
|
|
@@ -215,11 +1861,9 @@ type Starring_GetUserStaredRepos = (params: {
|
|
|
215
1861
|
desc?: boolean;
|
|
216
1862
|
order_by?: "created_at" | "last_updated_at" | "stars" | "forks";
|
|
217
1863
|
}) => Promise<DtoRepos4User[]>;
|
|
218
|
-
|
|
219
1864
|
type Workspace_DeleteWorkspace = (params: {
|
|
220
1865
|
request: DtoWorkspaceDeleteReq;
|
|
221
1866
|
}) => Promise<DtoWorkspaceDeleteResult>;
|
|
222
|
-
|
|
223
1867
|
type Workspace_ListWorkspaces = (params?: {
|
|
224
1868
|
branch?: string;
|
|
225
1869
|
end?: string;
|
|
@@ -229,26 +1873,17 @@ type Workspace_ListWorkspaces = (params?: {
|
|
|
229
1873
|
start?: string;
|
|
230
1874
|
status?: string;
|
|
231
1875
|
}) => Promise<DtoWorkspaceListResult>;
|
|
232
|
-
|
|
233
1876
|
type Organizations_DeleteOrganization = (params: {
|
|
234
1877
|
group: string;
|
|
235
1878
|
"x-cnb-identity-ticket"?: string;
|
|
236
1879
|
}) => Promise<any>;
|
|
237
|
-
|
|
238
1880
|
type Organizations_GetGroup = (params: {
|
|
239
1881
|
group: string;
|
|
240
1882
|
}) => Promise<DtoOrganizationAccess>;
|
|
241
|
-
|
|
242
1883
|
type Organizations_UpdateOrganization = (params: {
|
|
243
1884
|
group: string;
|
|
244
1885
|
request: DtoUpdateGroupReq;
|
|
245
1886
|
}) => Promise<any>;
|
|
246
|
-
|
|
247
|
-
type Organizations_UpdateGroupAvatar = (params: {
|
|
248
|
-
group: string;
|
|
249
|
-
request: DtoUpdateGroupAvatarReq;
|
|
250
|
-
}) => Promise<any>;
|
|
251
|
-
|
|
252
1887
|
type Collaborators_ListInheritMembersOfGroup = (params: {
|
|
253
1888
|
group: string;
|
|
254
1889
|
search?: string;
|
|
@@ -256,17 +1891,6 @@ type Collaborators_ListInheritMembersOfGroup = (params: {
|
|
|
256
1891
|
page?: number;
|
|
257
1892
|
page_size?: number;
|
|
258
1893
|
}) => Promise<DtoListInheritMembers[]>;
|
|
259
|
-
|
|
260
|
-
type Assets_PutLogos = (params: {
|
|
261
|
-
group: string;
|
|
262
|
-
token: string;
|
|
263
|
-
}) => Promise<any>;
|
|
264
|
-
|
|
265
|
-
type Assets_GetLogos = (params: {
|
|
266
|
-
group: string;
|
|
267
|
-
size?: string;
|
|
268
|
-
}) => Promise<any>;
|
|
269
|
-
|
|
270
1894
|
type Collaborators_ListMembersOfGroup = (params: {
|
|
271
1895
|
group: string;
|
|
272
1896
|
page?: number;
|
|
@@ -274,43 +1898,39 @@ type Collaborators_ListMembersOfGroup = (params: {
|
|
|
274
1898
|
role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
275
1899
|
search?: string;
|
|
276
1900
|
}) => Promise<DtoUsersWithAccessLevelInSlug[]>;
|
|
277
|
-
|
|
278
1901
|
type Contributors_GetMemberAccessLevelOfGroup = (params: {
|
|
279
1902
|
group: string;
|
|
280
1903
|
include_inherit?: boolean;
|
|
281
1904
|
}) => Promise<DtoMemberAccessLevelInSlugUnion>;
|
|
282
|
-
|
|
283
1905
|
type Contributors_ListMemberAccessLevelOfGroup = (params: {
|
|
284
1906
|
group: string;
|
|
285
1907
|
username: string;
|
|
286
1908
|
}) => Promise<DtoMemberAccessLevel[]>;
|
|
287
|
-
|
|
288
1909
|
type Collaborators_DeleteMembersOfGroup = (params: {
|
|
289
1910
|
group: string;
|
|
290
1911
|
username: string;
|
|
291
1912
|
}) => Promise<any>;
|
|
292
|
-
|
|
293
1913
|
type Collaborators_AddMembersOfGroup = (params: {
|
|
294
1914
|
group: string;
|
|
295
1915
|
username: string;
|
|
296
1916
|
request: DtoUpdateMembersRequest;
|
|
297
1917
|
}) => Promise<any>;
|
|
298
|
-
|
|
299
1918
|
type Collaborators_UpdateMembersOfGroup = (params: {
|
|
300
1919
|
group: string;
|
|
301
1920
|
username: string;
|
|
302
1921
|
request: DtoUpdateMembersRequest;
|
|
303
1922
|
}) => Promise<any>;
|
|
304
|
-
|
|
1923
|
+
type Missions_CreateMission = (params: {
|
|
1924
|
+
group: string;
|
|
1925
|
+
request: DtoCreateMissionReq;
|
|
1926
|
+
}) => Promise<any>;
|
|
305
1927
|
type Repositories_GetPinnedRepoByGroup = (params: {
|
|
306
1928
|
group: string;
|
|
307
1929
|
}) => Promise<DtoRepos4UserBase[]>;
|
|
308
|
-
|
|
309
1930
|
type Repositories_SetPinnedRepoByGroup = (params: {
|
|
310
1931
|
group: string;
|
|
311
1932
|
request: string[];
|
|
312
1933
|
}) => Promise<DtoRepos4UserBase[]>;
|
|
313
|
-
|
|
314
1934
|
type Repositories_GetGroupSubRepos = (params: {
|
|
315
1935
|
group: string;
|
|
316
1936
|
page?: number;
|
|
@@ -321,69 +1941,60 @@ type Repositories_GetGroupSubRepos = (params: {
|
|
|
321
1941
|
descendant?: "all" | "sub" | "grand";
|
|
322
1942
|
search?: string;
|
|
323
1943
|
}) => Promise<DtoRepos4User[]>;
|
|
324
|
-
|
|
325
1944
|
type Repositories_CreateRepo = (params: {
|
|
326
1945
|
group: string;
|
|
327
1946
|
request: DtoCreateRepoReq;
|
|
328
1947
|
}) => Promise<any>;
|
|
329
|
-
|
|
330
1948
|
type Organizations_GetGroupSetting = (params: {
|
|
331
1949
|
group: string;
|
|
332
1950
|
}) => Promise<DtoOrganizationSettingWithParent>;
|
|
333
|
-
|
|
334
1951
|
type Organizations_UpdateGroupSetting = (params: {
|
|
335
1952
|
group: string;
|
|
336
1953
|
request: DtoGroupSettingReq;
|
|
337
1954
|
}) => Promise<any>;
|
|
338
|
-
|
|
339
1955
|
type Organizations_ListSubgroups = (params: {
|
|
340
1956
|
group: string;
|
|
341
1957
|
search?: string;
|
|
342
1958
|
page: number;
|
|
343
1959
|
page_size: number;
|
|
344
1960
|
}) => Promise<DtoOrganizationUnion[]>;
|
|
345
|
-
|
|
1961
|
+
type Organizations_TransferGroup = (params: {
|
|
1962
|
+
group: string;
|
|
1963
|
+
request: DtoTransferSlugReq;
|
|
1964
|
+
}) => Promise<any>;
|
|
346
1965
|
type Assets_UploadLogos = (params: {
|
|
347
1966
|
group: string;
|
|
348
1967
|
request: DtoUploadRequestParams;
|
|
349
1968
|
}) => Promise<DtoUploadAssetsResponse>;
|
|
350
|
-
|
|
351
1969
|
type Missions_DeleteMission = (params: {
|
|
352
1970
|
mission: string;
|
|
353
1971
|
"x-cnb-identity-ticket"?: string;
|
|
354
1972
|
}) => Promise<any>;
|
|
355
|
-
|
|
356
1973
|
type Collaborators_AddMembersOfMission = (params: {
|
|
357
1974
|
mission: string;
|
|
358
1975
|
username: string;
|
|
359
1976
|
request: DtoUpdateMembersRequest;
|
|
360
1977
|
}) => Promise<any>;
|
|
361
|
-
|
|
362
1978
|
type Artifactory_DeleteRegistry = (params: {
|
|
363
1979
|
registry: string;
|
|
364
1980
|
"x-cnb-identity-ticket"?: string;
|
|
365
1981
|
}) => Promise<any>;
|
|
366
|
-
|
|
367
1982
|
type Collaborators_AddMembersOfRegistry = (params: {
|
|
368
1983
|
registry: string;
|
|
369
1984
|
username: string;
|
|
370
1985
|
request: DtoUpdateMembersRequest;
|
|
371
1986
|
}) => Promise<any>;
|
|
372
|
-
|
|
373
1987
|
type Repositories_DeleteRepo = (params: {
|
|
374
1988
|
repo: string;
|
|
375
1989
|
"x-cnb-identity-ticket"?: string;
|
|
376
1990
|
}) => Promise<any>;
|
|
377
|
-
|
|
378
|
-
type Repositories_GetRepo = (params: {
|
|
1991
|
+
type Repositories_GetByID = (params: {
|
|
379
1992
|
repo: string;
|
|
380
1993
|
}) => Promise<DtoRepos4User>;
|
|
381
|
-
|
|
382
1994
|
type Repositories_UpdateRepo = (params: {
|
|
383
1995
|
repo: string;
|
|
384
1996
|
request: DtoRepoPatch;
|
|
385
1997
|
}) => Promise<any>;
|
|
386
|
-
|
|
387
1998
|
type Build_GetBuildLogs = (params: {
|
|
388
1999
|
repo: string;
|
|
389
2000
|
createTime?: string;
|
|
@@ -399,147 +2010,116 @@ type Build_GetBuildLogs = (params: {
|
|
|
399
2010
|
userId?: string;
|
|
400
2011
|
userName?: string;
|
|
401
2012
|
}) => Promise<DtoBuildLogsResult>;
|
|
402
|
-
|
|
2013
|
+
type Build_GetBuildStage = (params: {
|
|
2014
|
+
repo: string;
|
|
2015
|
+
sn: string;
|
|
2016
|
+
pipelineId: string;
|
|
2017
|
+
stageId: string;
|
|
2018
|
+
}) => Promise<DtoBuildStageResult>;
|
|
403
2019
|
type Build_StartBuild = (params: {
|
|
404
2020
|
repo: string;
|
|
405
2021
|
request: DtoStartBuildReq;
|
|
406
2022
|
}) => Promise<DtoBuildResult>;
|
|
407
|
-
|
|
408
2023
|
type Build_GetBuildStatus = (params: {
|
|
409
2024
|
repo: string;
|
|
410
2025
|
sn: string;
|
|
411
2026
|
}) => Promise<DtoBuildStatusResult>;
|
|
412
|
-
|
|
413
2027
|
type Build_StopBuild = (params: {
|
|
414
2028
|
repo: string;
|
|
415
2029
|
sn: string;
|
|
416
2030
|
}) => Promise<DtoBuildResult>;
|
|
417
|
-
|
|
418
2031
|
type Assets_GetCommitAssets = (params: {
|
|
419
2032
|
repo: string;
|
|
420
|
-
|
|
2033
|
+
commit_id: string;
|
|
2034
|
+
filename: string;
|
|
2035
|
+
share?: boolean;
|
|
421
2036
|
}) => Promise<any>;
|
|
422
|
-
|
|
423
2037
|
type RepoContributor_GetRepoContributorTrend = (params: {
|
|
424
2038
|
repo: string;
|
|
425
2039
|
limit?: number;
|
|
426
2040
|
exclude_external_users?: boolean;
|
|
427
2041
|
}) => Promise<WebRepoContribTrend>;
|
|
428
|
-
|
|
429
|
-
type Assets_GetFiles = (params: {
|
|
430
|
-
repo: string;
|
|
431
|
-
userIdKey: string;
|
|
432
|
-
randomUUID: string;
|
|
433
|
-
fileName: string;
|
|
434
|
-
}) => Promise<any>;
|
|
435
|
-
|
|
436
|
-
type Assets_PutFiles = (params: {
|
|
437
|
-
repo: string;
|
|
438
|
-
userIdKey: string;
|
|
439
|
-
randomUUID: string;
|
|
440
|
-
fileName: string;
|
|
441
|
-
token: string;
|
|
442
|
-
}) => Promise<any>;
|
|
443
|
-
|
|
444
2042
|
type Repositories_ListForksRepos = (params: {
|
|
445
2043
|
repo: string;
|
|
446
2044
|
start_from_root?: boolean;
|
|
447
2045
|
page: number;
|
|
448
2046
|
page_size: number;
|
|
449
2047
|
}) => Promise<DtoListForks>;
|
|
450
|
-
|
|
451
2048
|
type Repositories_CreateAFork = (params: {
|
|
452
2049
|
repo: string;
|
|
453
2050
|
request: DtoForkReq;
|
|
454
2051
|
}) => Promise<any>;
|
|
455
|
-
|
|
456
2052
|
type Git_GetArchiveCommitChangedFiles = (params: {
|
|
457
2053
|
repo: string;
|
|
458
2054
|
sha1?: string;
|
|
459
2055
|
}) => Promise<any>;
|
|
460
|
-
|
|
461
2056
|
type Git_GetArchiveCompareChangedFiles = (params: {
|
|
462
2057
|
repo: string;
|
|
463
2058
|
base_head: string;
|
|
464
2059
|
}) => Promise<any>;
|
|
465
|
-
|
|
466
2060
|
type Git_CreateBlob = (params: {
|
|
467
2061
|
repo: string;
|
|
468
2062
|
post_blob_form: ApiPostBlobForm;
|
|
469
2063
|
}) => Promise<any>;
|
|
470
|
-
|
|
471
2064
|
type Git_ListBranches = (params: {
|
|
472
2065
|
repo: string;
|
|
473
2066
|
page?: number;
|
|
474
2067
|
page_size?: number;
|
|
475
2068
|
}) => Promise<ApiBranch[]>;
|
|
476
|
-
|
|
477
2069
|
type Git_CreateBranch = (params: {
|
|
478
2070
|
repo: string;
|
|
479
2071
|
create_branch_form: OpenapiCreateBranchForm;
|
|
480
2072
|
}) => Promise<any>;
|
|
481
|
-
|
|
482
2073
|
type Git_DeleteBranch = (params: {
|
|
483
2074
|
repo: string;
|
|
484
2075
|
branch: string;
|
|
485
2076
|
}) => Promise<any>;
|
|
486
|
-
|
|
487
2077
|
type Git_GetBranch = (params: {
|
|
488
2078
|
repo: string;
|
|
489
2079
|
branch?: string;
|
|
490
2080
|
}) => Promise<ApiBranchDetail>;
|
|
491
|
-
|
|
492
2081
|
type Git_GetCommitAnnotationsInBatch = (params: {
|
|
493
2082
|
repo: string;
|
|
494
2083
|
get_commit_annotations_form: WebGetCommitAnnotationsInBatchForm;
|
|
495
2084
|
}) => Promise<WebCommitAnnotationInBatch[]>;
|
|
496
|
-
|
|
497
2085
|
type Git_GetCommitAnnotations = (params: {
|
|
498
2086
|
repo: string;
|
|
499
2087
|
sha: string;
|
|
500
2088
|
}) => Promise<WebCommitAnnotation[]>;
|
|
501
|
-
|
|
502
2089
|
type Git_PutCommitAnnotations = (params: {
|
|
503
2090
|
repo: string;
|
|
504
2091
|
sha: string;
|
|
505
2092
|
put_commit_annotations_form: OpenapiPutCommitAnnotationsForm;
|
|
506
2093
|
}) => Promise<any>;
|
|
507
|
-
|
|
508
2094
|
type Git_DeleteCommitAnnotation = (params: {
|
|
509
2095
|
repo: string;
|
|
510
2096
|
sha: string;
|
|
511
2097
|
key: string;
|
|
512
2098
|
}) => Promise<any>;
|
|
513
|
-
|
|
514
2099
|
type Git_GetCommitAssetsBySha = (params: {
|
|
515
2100
|
repo: string;
|
|
516
2101
|
sha1: string;
|
|
517
2102
|
}) => Promise<ApiCommitAsset[]>;
|
|
518
|
-
|
|
519
2103
|
type Git_PostCommitAssetUploadConfirmation = (params: {
|
|
520
2104
|
repo: string;
|
|
521
2105
|
sha1: string;
|
|
522
2106
|
token: string;
|
|
523
2107
|
asset_path: string;
|
|
524
2108
|
}) => Promise<any>;
|
|
525
|
-
|
|
526
2109
|
type Git_PostCommitAssetUploadURL = (params: {
|
|
527
2110
|
repo: string;
|
|
528
2111
|
sha1: string;
|
|
529
2112
|
create_commit_asset_upload_url_form: OpenapiPostCommitAssetUploadUrlForm;
|
|
530
2113
|
}) => Promise<any>;
|
|
531
|
-
|
|
532
2114
|
type Git_DeleteCommitAsset = (params: {
|
|
533
2115
|
repo: string;
|
|
534
2116
|
sha1: string;
|
|
535
2117
|
asset_id: string;
|
|
536
2118
|
}) => Promise<any>;
|
|
537
|
-
|
|
538
2119
|
type Git_GetCommitStatuses = (params: {
|
|
539
2120
|
repo: string;
|
|
540
2121
|
commitish: string;
|
|
541
2122
|
}) => Promise<ApiCommitStatus[]>;
|
|
542
|
-
|
|
543
2123
|
type Git_ListCommits = (params: {
|
|
544
2124
|
repo: string;
|
|
545
2125
|
sha?: string;
|
|
@@ -550,74 +2130,56 @@ type Git_ListCommits = (params: {
|
|
|
550
2130
|
page?: number;
|
|
551
2131
|
page_size?: number;
|
|
552
2132
|
}) => Promise<ApiCommit[]>;
|
|
553
|
-
|
|
554
2133
|
type Git_GetCommit = (params: {
|
|
555
2134
|
repo: string;
|
|
556
2135
|
ref: string;
|
|
557
2136
|
}) => Promise<ApiCommit>;
|
|
558
|
-
|
|
559
2137
|
type Git_GetCompareCommits = (params: {
|
|
560
2138
|
repo: string;
|
|
561
2139
|
base_head: string;
|
|
562
2140
|
}) => Promise<ApiCompareResponse>;
|
|
563
|
-
|
|
564
2141
|
type Git_GetContent = (params: {
|
|
565
2142
|
repo: string;
|
|
566
2143
|
file_path: string;
|
|
567
2144
|
ref?: string;
|
|
568
2145
|
}) => Promise<ApiContent>;
|
|
569
|
-
|
|
570
2146
|
type Git_ListDeferredCommits = (params: {
|
|
571
2147
|
repo: string;
|
|
572
2148
|
cs: string;
|
|
573
2149
|
}) => Promise<WebDeferredCommit[]>;
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
2150
|
+
type Git_GetHead = (params: {
|
|
2151
|
+
repo: string;
|
|
2152
|
+
}) => Promise<OpenapiHeadRef>;
|
|
577
2153
|
type Git_DeleteTagAnnotation = (params: {
|
|
578
2154
|
repo: string;
|
|
579
2155
|
tag_with_key: string;
|
|
580
2156
|
}) => Promise<any>;
|
|
581
|
-
|
|
582
2157
|
type Git_GetTagAnnotations = (params: {
|
|
583
2158
|
repo: string;
|
|
584
2159
|
tag: string;
|
|
585
2160
|
}) => Promise<WebTagAnnotation[]>;
|
|
586
|
-
|
|
587
2161
|
type Git_PutTagAnnotations = (params: {
|
|
588
2162
|
repo: string;
|
|
589
2163
|
tag: string;
|
|
590
2164
|
put_tag_annotations_form: OpenapiPutTagAnnotationsForm;
|
|
591
2165
|
}) => Promise<any>;
|
|
592
|
-
|
|
593
2166
|
type Git_ListTags = (params: {
|
|
594
2167
|
repo: string;
|
|
595
2168
|
page?: number;
|
|
596
2169
|
page_size?: number;
|
|
597
2170
|
}) => Promise<ApiTag[]>;
|
|
598
|
-
|
|
599
2171
|
type Git_CreateTag = (params: {
|
|
600
2172
|
repo: string;
|
|
601
2173
|
post_tag_form: ApiPostTagFrom;
|
|
602
2174
|
}) => Promise<any>;
|
|
603
|
-
|
|
604
|
-
type Git_DeleteTag = (params: { repo: string; tag: string }) => Promise<any>;
|
|
605
|
-
|
|
606
|
-
type Git_GetTag = (params: { repo: string; tag: string }) => Promise<ApiTag>;
|
|
607
|
-
|
|
608
|
-
type Assets_GetImgs = (params: {
|
|
2175
|
+
type Git_DeleteTag = (params: {
|
|
609
2176
|
repo: string;
|
|
610
|
-
|
|
611
|
-
fileName: string;
|
|
2177
|
+
tag: string;
|
|
612
2178
|
}) => Promise<any>;
|
|
613
|
-
|
|
614
|
-
type Assets_PutImgs = (params: {
|
|
2179
|
+
type Git_GetTag = (params: {
|
|
615
2180
|
repo: string;
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
token: string;
|
|
619
|
-
}) => Promise<any>;
|
|
620
|
-
|
|
2181
|
+
tag: string;
|
|
2182
|
+
}) => Promise<ApiTag>;
|
|
621
2183
|
type Collaborators_ListInheritMembersOfRepo = (params: {
|
|
622
2184
|
repo: string;
|
|
623
2185
|
search?: string;
|
|
@@ -625,7 +2187,6 @@ type Collaborators_ListInheritMembersOfRepo = (params: {
|
|
|
625
2187
|
page?: number;
|
|
626
2188
|
page_size?: number;
|
|
627
2189
|
}) => Promise<DtoListInheritMembers[]>;
|
|
628
|
-
|
|
629
2190
|
type Issues_ListIssues = (params: {
|
|
630
2191
|
repo: string;
|
|
631
2192
|
page?: number;
|
|
@@ -642,131 +2203,127 @@ type Issues_ListIssues = (params: {
|
|
|
642
2203
|
close_time_end?: string;
|
|
643
2204
|
order_by?: string;
|
|
644
2205
|
}) => Promise<ApiIssue[]>;
|
|
645
|
-
|
|
646
2206
|
type Issues_CreateIssue = (params: {
|
|
647
2207
|
repo: string;
|
|
648
2208
|
post_issue_form: ApiPostIssueForm;
|
|
649
2209
|
}) => Promise<any>;
|
|
650
|
-
|
|
651
2210
|
type Issues_GetIssue = (params: {
|
|
652
2211
|
repo: string;
|
|
653
2212
|
number: number;
|
|
654
2213
|
}) => Promise<ApiIssueDetail>;
|
|
655
|
-
|
|
656
2214
|
type Issues_UpdateIssue = (params: {
|
|
657
2215
|
repo: string;
|
|
658
2216
|
number: number;
|
|
659
2217
|
patch_issue_form: ApiPatchIssueForm;
|
|
660
2218
|
}) => Promise<ApiIssueDetail>;
|
|
661
|
-
|
|
662
2219
|
type Issues_DeleteIssueAssignees = (params: {
|
|
663
2220
|
repo: string;
|
|
664
2221
|
number: string;
|
|
665
2222
|
delete_issue_assignees_form: ApiDeleteIssueAssigneesForm;
|
|
666
2223
|
}) => Promise<ApiIssueDetail>;
|
|
667
|
-
|
|
668
2224
|
type Issues_ListIssueAssignees = (params: {
|
|
669
2225
|
repo: string;
|
|
670
2226
|
number: string;
|
|
671
2227
|
}) => Promise<GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]>;
|
|
672
|
-
|
|
2228
|
+
type Issues_PatchIssueAssignees = (params: {
|
|
2229
|
+
repo: string;
|
|
2230
|
+
number: string;
|
|
2231
|
+
patch_issue_assignees_form: ApiPatchIssueAssigneesForm;
|
|
2232
|
+
}) => Promise<ApiIssueDetail>;
|
|
673
2233
|
type Issues_PostIssueAssignees = (params: {
|
|
674
2234
|
repo: string;
|
|
675
2235
|
number: string;
|
|
676
2236
|
post_issue_assignees_form: ApiPostIssueAssigneesForm;
|
|
677
2237
|
}) => Promise<any>;
|
|
678
|
-
|
|
679
2238
|
type Issues_CanUserBeAssignedToIssue = (params: {
|
|
680
2239
|
repo: string;
|
|
681
2240
|
number: string;
|
|
682
2241
|
assignee: string;
|
|
683
2242
|
}) => Promise<any>;
|
|
684
|
-
|
|
685
2243
|
type Issues_ListIssueComments = (params: {
|
|
686
2244
|
repo: string;
|
|
687
2245
|
number: number;
|
|
688
2246
|
page?: number;
|
|
689
2247
|
page_size?: number;
|
|
690
2248
|
}) => Promise<ApiIssueComment[]>;
|
|
691
|
-
|
|
692
2249
|
type Issues_PostIssueComment = (params: {
|
|
693
2250
|
repo: string;
|
|
694
2251
|
number: number;
|
|
695
2252
|
post_issue_comment_form: ApiPostIssueCommentForm;
|
|
696
2253
|
}) => Promise<any>;
|
|
697
|
-
|
|
698
2254
|
type Issues_GetIssueComment = (params: {
|
|
699
2255
|
repo: string;
|
|
700
2256
|
number: string;
|
|
701
2257
|
comment_id: string;
|
|
702
2258
|
}) => Promise<ApiIssueComment>;
|
|
703
|
-
|
|
704
2259
|
type Issues_PatchIssueComment = (params: {
|
|
705
2260
|
repo: string;
|
|
706
2261
|
number: number;
|
|
707
2262
|
comment_id: number;
|
|
708
2263
|
patch_issue_comment_form: ApiPatchIssueCommentForm;
|
|
709
2264
|
}) => Promise<ApiIssueComment>;
|
|
710
|
-
|
|
711
2265
|
type Issues_DeleteIssueLabels = (params: {
|
|
712
2266
|
repo: string;
|
|
713
2267
|
number: number;
|
|
714
2268
|
}) => Promise<any>;
|
|
715
|
-
|
|
716
2269
|
type Issues_ListIssueLabels = (params: {
|
|
717
2270
|
repo: string;
|
|
718
2271
|
number: number;
|
|
719
2272
|
page?: number;
|
|
720
2273
|
page_size?: number;
|
|
721
2274
|
}) => Promise<ApiLabel[]>;
|
|
722
|
-
|
|
723
2275
|
type Issues_PostIssueLabels = (params: {
|
|
724
2276
|
repo: string;
|
|
725
2277
|
number: number;
|
|
726
2278
|
post_issue_labels_form: ApiPostIssueLabelsForm;
|
|
727
2279
|
}) => Promise<ApiLabel>;
|
|
728
|
-
|
|
729
2280
|
type Issues_PutIssueLabels = (params: {
|
|
730
2281
|
repo: string;
|
|
731
2282
|
number: number;
|
|
732
2283
|
put_issue_labels_form: ApiPutIssueLabelsForm;
|
|
733
2284
|
}) => Promise<ApiLabel>;
|
|
734
|
-
|
|
735
2285
|
type Issues_DeleteIssueLabel = (params: {
|
|
736
2286
|
repo: string;
|
|
737
2287
|
number: number;
|
|
738
2288
|
name: string;
|
|
739
2289
|
}) => Promise<ApiLabel>;
|
|
740
|
-
|
|
2290
|
+
type KnowledgeBase_DeleteKnowledgeBase = (params: {
|
|
2291
|
+
repo: string;
|
|
2292
|
+
}) => Promise<any>;
|
|
2293
|
+
type KnowledgeBase_GetKnowledgeBaseInfo = (params: {
|
|
2294
|
+
repo: string;
|
|
2295
|
+
}) => Promise<DtoKnowledgeBaseInfoRes>;
|
|
2296
|
+
type KnowledgeBase_QueryKnowledgeBase = (params: {
|
|
2297
|
+
repo: string;
|
|
2298
|
+
query: DtoQueryKnowledgeBaseReq;
|
|
2299
|
+
}) => Promise<DtoQueryKnowledgeBaseRes[]>;
|
|
2300
|
+
type KnowledgeBase_GetModels = (params: {
|
|
2301
|
+
repo: string;
|
|
2302
|
+
}) => Promise<DtoEmbeddingModel[]>;
|
|
741
2303
|
type RepoLabels_ListLabels = (params: {
|
|
742
2304
|
repo: string;
|
|
743
2305
|
page?: number;
|
|
744
2306
|
page_size?: number;
|
|
745
2307
|
keyword?: string;
|
|
746
2308
|
}) => Promise<ApiLabel[]>;
|
|
747
|
-
|
|
748
2309
|
type RepoLabels_PostLabel = (params: {
|
|
749
2310
|
repo: string;
|
|
750
2311
|
post_label_form: ApiPostLabelForm;
|
|
751
2312
|
}) => Promise<any>;
|
|
752
|
-
|
|
753
2313
|
type RepoLabels_DeleteLabel = (params: {
|
|
754
2314
|
repo: string;
|
|
755
2315
|
name: string;
|
|
756
2316
|
}) => Promise<any>;
|
|
757
|
-
|
|
758
2317
|
type RepoLabels_PatchLabel = (params: {
|
|
759
2318
|
repo: string;
|
|
760
2319
|
name: string;
|
|
761
2320
|
patch_label_form: ApiPatchLabelForm;
|
|
762
2321
|
}) => Promise<ApiLabel>;
|
|
763
|
-
|
|
764
2322
|
type Git_GetPresignedLFSDownloadLink = (params: {
|
|
765
2323
|
repo: string;
|
|
766
2324
|
oid: string;
|
|
767
2325
|
name: string;
|
|
768
2326
|
}) => Promise<any>;
|
|
769
|
-
|
|
770
2327
|
type Collaborators_ListAllMembers = (params: {
|
|
771
2328
|
repo: string;
|
|
772
2329
|
page?: number;
|
|
@@ -777,7 +2334,6 @@ type Collaborators_ListAllMembers = (params: {
|
|
|
777
2334
|
order_by?: "created_at" | "stars" | "follower";
|
|
778
2335
|
desc?: boolean;
|
|
779
2336
|
}) => Promise<DtoUsersWithAccessLevelInSlug[]>;
|
|
780
|
-
|
|
781
2337
|
type Collaborators_ListMembersOfRepo = (params: {
|
|
782
2338
|
repo: string;
|
|
783
2339
|
page?: number;
|
|
@@ -785,34 +2341,28 @@ type Collaborators_ListMembersOfRepo = (params: {
|
|
|
785
2341
|
role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
786
2342
|
search?: string;
|
|
787
2343
|
}) => Promise<DtoUsersWithAccessLevelInSlug[]>;
|
|
788
|
-
|
|
789
2344
|
type Contributors_GetMemberAccessLevelOfRepo = (params: {
|
|
790
2345
|
repo: string;
|
|
791
2346
|
include_inherit?: boolean;
|
|
792
2347
|
}) => Promise<DtoMemberAccessLevelInSlugUnion>;
|
|
793
|
-
|
|
794
2348
|
type Contributors_ListMemberAccessLevelOfRepo = (params: {
|
|
795
2349
|
repo: string;
|
|
796
2350
|
username: string;
|
|
797
2351
|
}) => Promise<DtoMemberAccessLevel[]>;
|
|
798
|
-
|
|
799
2352
|
type Collaborators_DeleteMembersOfRepo = (params: {
|
|
800
2353
|
repo: string;
|
|
801
2354
|
username: string;
|
|
802
2355
|
}) => Promise<any>;
|
|
803
|
-
|
|
804
2356
|
type Collaborators_AddMembersOfRepo = (params: {
|
|
805
2357
|
repo: string;
|
|
806
2358
|
username: string;
|
|
807
2359
|
request: DtoUpdateMembersRequest;
|
|
808
2360
|
}) => Promise<any>;
|
|
809
|
-
|
|
810
2361
|
type Collaborators_UpdateMembersOfRepo = (params: {
|
|
811
2362
|
repo: string;
|
|
812
2363
|
username: string;
|
|
813
2364
|
request: DtoUpdateMembersRequest;
|
|
814
2365
|
}) => Promise<any>;
|
|
815
|
-
|
|
816
2366
|
type Collaborators_ListOutsideCollaborators = (params: {
|
|
817
2367
|
repo: string;
|
|
818
2368
|
page?: number;
|
|
@@ -820,23 +2370,19 @@ type Collaborators_ListOutsideCollaborators = (params: {
|
|
|
820
2370
|
role?: "Guest" | "Reporter" | "Developer" | "Master";
|
|
821
2371
|
search?: string;
|
|
822
2372
|
}) => Promise<DtoOutsideCollaboratorInRepo[]>;
|
|
823
|
-
|
|
824
2373
|
type Collaborators_DeleteOutsideCollaborators = (params: {
|
|
825
2374
|
repo: string;
|
|
826
2375
|
username: string;
|
|
827
2376
|
}) => Promise<any>;
|
|
828
|
-
|
|
829
2377
|
type Collaborators_UpdateOutsideCollaborators = (params: {
|
|
830
2378
|
repo: string;
|
|
831
2379
|
username: string;
|
|
832
2380
|
role: "Guest" | "Reporter" | "Developer";
|
|
833
2381
|
}) => Promise<any>;
|
|
834
|
-
|
|
835
2382
|
type Pulls_ListPullsByNumbers = (params: {
|
|
836
2383
|
repo: string;
|
|
837
2384
|
n: any[];
|
|
838
2385
|
}) => Promise<ApiPullRequestInfo[]>;
|
|
839
|
-
|
|
840
2386
|
type Pulls_ListPulls = (params: {
|
|
841
2387
|
repo: string;
|
|
842
2388
|
page?: number;
|
|
@@ -847,266 +2393,244 @@ type Pulls_ListPulls = (params: {
|
|
|
847
2393
|
assignees?: string;
|
|
848
2394
|
base_ref?: string;
|
|
849
2395
|
}) => Promise<ApiPullRequest[]>;
|
|
850
|
-
|
|
851
2396
|
type Pulls_PostPull = (params: {
|
|
852
2397
|
repo: string;
|
|
853
2398
|
post_pull_form: ApiPullCreationForm;
|
|
854
2399
|
}) => Promise<any>;
|
|
855
|
-
|
|
856
2400
|
type Pulls_GetPull = (params: {
|
|
857
2401
|
repo: string;
|
|
858
2402
|
number: string;
|
|
859
2403
|
}) => Promise<ApiPull>;
|
|
860
|
-
|
|
861
2404
|
type Pulls_PatchPull = (params: {
|
|
862
2405
|
repo: string;
|
|
863
2406
|
number: string;
|
|
864
2407
|
update_pull_request_form: ApiPatchPullRequest;
|
|
865
2408
|
}) => Promise<ApiPull>;
|
|
866
|
-
|
|
867
2409
|
type Pulls_DeletePullAssignees = (params: {
|
|
868
2410
|
repo: string;
|
|
869
2411
|
number: string;
|
|
870
2412
|
delete_pull_assignees_form: ApiDeletePullAssigneesForm;
|
|
871
2413
|
}) => Promise<ApiPull>;
|
|
872
|
-
|
|
873
2414
|
type Pulls_ListPullAssignees = (params: {
|
|
874
2415
|
repo: string;
|
|
875
2416
|
number: string;
|
|
876
2417
|
}) => Promise<GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo[]>;
|
|
877
|
-
|
|
878
2418
|
type Pulls_PostPullAssignees = (params: {
|
|
879
2419
|
repo: string;
|
|
880
2420
|
number: string;
|
|
881
2421
|
post_pull_assignees_form: ApiPostPullAssigneesForm;
|
|
882
2422
|
}) => Promise<any>;
|
|
883
|
-
|
|
884
2423
|
type Pulls_CanUserBeAssignedToPull = (params: {
|
|
885
2424
|
repo: string;
|
|
886
2425
|
number: string;
|
|
887
2426
|
assignee: string;
|
|
888
2427
|
}) => Promise<any>;
|
|
889
|
-
|
|
2428
|
+
type Pulls_CherryPickPullRequest = (params: {
|
|
2429
|
+
repo: string;
|
|
2430
|
+
number: number;
|
|
2431
|
+
cherry_pick_pull_request_form: WebapiCherryPickPullRequestForm;
|
|
2432
|
+
}) => Promise<any>;
|
|
890
2433
|
type Pulls_ListPullComments = (params: {
|
|
891
2434
|
repo: string;
|
|
892
2435
|
number: string;
|
|
893
2436
|
page?: number;
|
|
894
2437
|
page_size?: number;
|
|
895
2438
|
}) => Promise<ApiPullRequestComment[]>;
|
|
896
|
-
|
|
897
2439
|
type Pulls_PostPullComment = (params: {
|
|
898
2440
|
repo: string;
|
|
899
2441
|
number: string;
|
|
900
2442
|
post_pull_comment_form: ApiPullCommentCreationForm;
|
|
901
2443
|
}) => Promise<any>;
|
|
902
|
-
|
|
903
2444
|
type Pulls_DeletePullLabels = (params: {
|
|
904
2445
|
repo: string;
|
|
905
2446
|
number: string;
|
|
906
2447
|
}) => Promise<any>;
|
|
907
|
-
|
|
908
2448
|
type Pulls_ListPullLabels = (params: {
|
|
909
2449
|
repo: string;
|
|
910
2450
|
number: string;
|
|
911
2451
|
page?: number;
|
|
912
2452
|
page_size?: number;
|
|
913
2453
|
}) => Promise<ApiLabel[]>;
|
|
914
|
-
|
|
915
2454
|
type Pulls_PostPullLabels = (params: {
|
|
916
2455
|
repo: string;
|
|
917
2456
|
number: string;
|
|
918
2457
|
post_pull_labels_form: ApiPostPullLabelsForm;
|
|
919
2458
|
}) => Promise<ApiLabel>;
|
|
920
|
-
|
|
921
2459
|
type Pulls_PutPullLabels = (params: {
|
|
922
2460
|
repo: string;
|
|
923
2461
|
number: string;
|
|
924
2462
|
put_pull_labels_form: ApiPutPullLabelsForm;
|
|
925
2463
|
}) => Promise<ApiLabel>;
|
|
926
|
-
|
|
927
2464
|
type Pulls_DeletePullLabel = (params: {
|
|
928
2465
|
repo: string;
|
|
929
2466
|
number: string;
|
|
930
2467
|
name: string;
|
|
931
2468
|
}) => Promise<ApiLabel>;
|
|
932
|
-
|
|
933
2469
|
type Pulls_MergePull = (params: {
|
|
934
2470
|
repo: string;
|
|
935
2471
|
number: string;
|
|
936
2472
|
merge_pull_request_form: ApiMergePullRequest;
|
|
937
2473
|
}) => Promise<ApiMergePullResponse>;
|
|
938
|
-
|
|
2474
|
+
type Pulls_RevertPullRequest = (params: {
|
|
2475
|
+
repo: string;
|
|
2476
|
+
number: number;
|
|
2477
|
+
revert_pull_request_form: WebapiRevertPullRequestForm;
|
|
2478
|
+
}) => Promise<any>;
|
|
939
2479
|
type Pulls_PostPullReview = (params: {
|
|
940
2480
|
repo: string;
|
|
941
2481
|
number: string;
|
|
942
2482
|
post_pull_review_form: ApiPullReviewCreationForm;
|
|
943
2483
|
}) => Promise<any>;
|
|
944
|
-
|
|
945
2484
|
type Releases_ListReleases = (params: {
|
|
946
2485
|
repo: string;
|
|
947
2486
|
page?: number;
|
|
948
2487
|
page_size?: number;
|
|
949
2488
|
}) => Promise<ApiRelease[]>;
|
|
950
|
-
|
|
951
2489
|
type Releases_PostRelease = (params: {
|
|
952
2490
|
repo: string;
|
|
953
2491
|
create_release_form: OpenapiPostReleaseForm;
|
|
954
2492
|
}) => Promise<any>;
|
|
955
|
-
|
|
956
2493
|
type Assets_GetReleasesAsset = (params: {
|
|
957
2494
|
repo: string;
|
|
958
|
-
|
|
2495
|
+
tag: string;
|
|
2496
|
+
filename: string;
|
|
2497
|
+
share?: boolean;
|
|
959
2498
|
}) => Promise<any>;
|
|
960
|
-
|
|
961
2499
|
type Releases_GetLatestRelease = (params: {
|
|
962
2500
|
repo: string;
|
|
963
2501
|
}) => Promise<ApiRelease>;
|
|
964
|
-
|
|
965
2502
|
type Assets_GetLatestReleasesAsset = (params: {
|
|
966
2503
|
repo: string;
|
|
967
2504
|
fileName: string;
|
|
968
2505
|
}) => Promise<any>;
|
|
969
|
-
|
|
970
2506
|
type Releases_GetReleaseByTag = (params: {
|
|
971
2507
|
repo: string;
|
|
972
2508
|
tag: string;
|
|
973
2509
|
}) => Promise<ApiRelease>;
|
|
974
|
-
|
|
975
2510
|
type Releases_DeleteRelease = (params: {
|
|
976
2511
|
repo: string;
|
|
977
2512
|
release_id: string;
|
|
978
2513
|
}) => Promise<any>;
|
|
979
|
-
|
|
980
2514
|
type Releases_GetReleaseByID = (params: {
|
|
981
2515
|
repo: string;
|
|
982
2516
|
release_id: string;
|
|
983
2517
|
}) => Promise<ApiRelease>;
|
|
984
|
-
|
|
985
2518
|
type Releases_PatchRelease = (params: {
|
|
986
2519
|
repo: string;
|
|
987
2520
|
release_id: string;
|
|
988
2521
|
patch_release_form: OpenapiPatchReleaseForm;
|
|
989
2522
|
}) => Promise<any>;
|
|
990
|
-
|
|
991
2523
|
type Releases_PostReleaseAssetUploadConfirmation = (params: {
|
|
992
2524
|
repo: string;
|
|
993
2525
|
release_id: string;
|
|
994
2526
|
token: string;
|
|
995
2527
|
asset_path: string;
|
|
996
2528
|
}) => Promise<any>;
|
|
997
|
-
|
|
998
2529
|
type Releases_PostReleaseAssetUploadURL = (params: {
|
|
999
2530
|
repo: string;
|
|
1000
2531
|
release_id: string;
|
|
1001
2532
|
create_release_asset_upload_url_form: OpenapiPostReleaseAssetUploadUrlForm;
|
|
1002
2533
|
}) => Promise<any>;
|
|
1003
|
-
|
|
1004
2534
|
type Releases_DeleteReleaseAsset = (params: {
|
|
1005
2535
|
repo: string;
|
|
1006
2536
|
release_id: string;
|
|
1007
2537
|
asset_id: string;
|
|
1008
2538
|
}) => Promise<any>;
|
|
1009
|
-
|
|
1010
2539
|
type Releases_GetReleaseAsset = (params: {
|
|
1011
2540
|
repo: string;
|
|
1012
2541
|
release_id: string;
|
|
1013
2542
|
asset_id: string;
|
|
1014
2543
|
}) => Promise<ApiReleaseAsset>;
|
|
1015
|
-
|
|
2544
|
+
type Repositories_ArchiveRepo = (params: {
|
|
2545
|
+
repo: string;
|
|
2546
|
+
}) => Promise<any>;
|
|
1016
2547
|
type GitSettings_ListBranchProtections = (params: {
|
|
1017
2548
|
repo: string;
|
|
1018
2549
|
}) => Promise<ApiBranchProtection[]>;
|
|
1019
|
-
|
|
1020
2550
|
type GitSettings_PostBranchProtection = (params: {
|
|
1021
2551
|
repo: string;
|
|
1022
2552
|
branch_protection_form: ApiBranchProtection;
|
|
1023
2553
|
}) => Promise<any>;
|
|
1024
|
-
|
|
1025
2554
|
type GitSettings_DeleteBranchProtection = (params: {
|
|
1026
2555
|
repo: string;
|
|
1027
2556
|
id: string;
|
|
1028
2557
|
}) => Promise<any>;
|
|
1029
|
-
|
|
1030
2558
|
type GitSettings_GetBranchProtection = (params: {
|
|
1031
2559
|
repo: string;
|
|
1032
2560
|
id: string;
|
|
1033
2561
|
}) => Promise<ApiBranchProtection>;
|
|
1034
|
-
|
|
1035
2562
|
type GitSettings_PatchBranchProtection = (params: {
|
|
1036
2563
|
repo: string;
|
|
1037
2564
|
id: string;
|
|
1038
2565
|
branch_protection_form: ApiBranchProtection;
|
|
1039
2566
|
}) => Promise<any>;
|
|
1040
|
-
|
|
1041
2567
|
type GitSettings_GetPipelineSettings = (params: {
|
|
1042
2568
|
repo: string;
|
|
1043
2569
|
}) => Promise<ApiPipelineSettings>;
|
|
1044
|
-
|
|
1045
2570
|
type GitSettings_PutPipelineSettings = (params: {
|
|
1046
2571
|
repo: string;
|
|
1047
2572
|
pipeline_form: WebPipelineSettings;
|
|
1048
2573
|
}) => Promise<any>;
|
|
1049
|
-
|
|
1050
2574
|
type GitSettings_GetPullRequestSettings = (params: {
|
|
1051
2575
|
repo: string;
|
|
1052
2576
|
}) => Promise<ApiPullRequestSettings>;
|
|
1053
|
-
|
|
1054
2577
|
type GitSettings_PutPullRequestSettings = (params: {
|
|
1055
2578
|
repo: string;
|
|
1056
2579
|
pull_request_form: ApiPullRequestSettings;
|
|
1057
2580
|
}) => Promise<any>;
|
|
1058
|
-
|
|
1059
2581
|
type GitSettings_GetPushLimitSettings = (params: {
|
|
1060
2582
|
repo: string;
|
|
1061
2583
|
}) => Promise<ApiPushLimitSettings>;
|
|
1062
|
-
|
|
1063
2584
|
type GitSettings_PutPushLimitSettings = (params: {
|
|
1064
2585
|
repo: string;
|
|
1065
2586
|
push_limit_form: ApiPushLimitSettings;
|
|
1066
2587
|
}) => Promise<any>;
|
|
1067
|
-
|
|
2588
|
+
type Repositories_UnArchiveRepo = (params: {
|
|
2589
|
+
repo: string;
|
|
2590
|
+
}) => Promise<any>;
|
|
1068
2591
|
type Starring_ListStarUsers = (params: {
|
|
1069
2592
|
repo: string;
|
|
1070
2593
|
filter_type: "all" | "followed";
|
|
1071
2594
|
page: number;
|
|
1072
2595
|
page_size: number;
|
|
1073
2596
|
}) => Promise<DtoRepoStarUsers>;
|
|
1074
|
-
|
|
1075
2597
|
type Collaborators_TopContributors = (params: {
|
|
1076
2598
|
repo: string;
|
|
1077
2599
|
top?: number;
|
|
1078
2600
|
}) => Promise<DtoUsersResult[]>;
|
|
1079
|
-
|
|
2601
|
+
type Repositories_TransferRepo = (params: {
|
|
2602
|
+
repo: string;
|
|
2603
|
+
request: DtoTransferSlugReq;
|
|
2604
|
+
}) => Promise<any>;
|
|
1080
2605
|
type Assets_UploadFiles = (params: {
|
|
1081
2606
|
repo: string;
|
|
1082
2607
|
request: DtoUploadRequestParams;
|
|
1083
2608
|
}) => Promise<DtoUploadAssetsResponse>;
|
|
1084
|
-
|
|
1085
2609
|
type Assets_UploadImgs = (params: {
|
|
1086
2610
|
repo: string;
|
|
1087
2611
|
request: DtoUploadRequestParams;
|
|
1088
2612
|
}) => Promise<DtoUploadAssetsResponse>;
|
|
1089
|
-
|
|
1090
2613
|
type Assets_UploadReleases = (params: {
|
|
1091
2614
|
repo: string;
|
|
1092
2615
|
tagName: string;
|
|
1093
2616
|
request: DtoUploadRequestParams;
|
|
1094
2617
|
}) => Promise<DtoUploadAssetsResponse>;
|
|
1095
|
-
|
|
1096
2618
|
type Workspace_GetWorkspaceDetail = (params: {
|
|
1097
2619
|
repo: string;
|
|
1098
2620
|
sn: string;
|
|
1099
2621
|
}) => Promise<DtoWorkspaceDetailResult>;
|
|
1100
|
-
|
|
2622
|
+
type Workspace_StartWorkspace = (params: {
|
|
2623
|
+
repo: string;
|
|
2624
|
+
request: DtoStartWorkspaceReq;
|
|
2625
|
+
}) => Promise<DtoStartWorkspaceResult>;
|
|
1101
2626
|
type Artifactory_ListPackages = (params: {
|
|
1102
2627
|
slug: string;
|
|
1103
|
-
type: "all" | "docker" | "helm" | "maven" | "npm" | "ohpm";
|
|
2628
|
+
type: "all" | "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
1104
2629
|
page?: number;
|
|
1105
2630
|
page_size?: number;
|
|
1106
2631
|
ordering?: "pull_count" | "last_push_at" | "name_ascend" | "name_descend";
|
|
1107
2632
|
name?: string;
|
|
1108
2633
|
}) => Promise<DtoPackage[]>;
|
|
1109
|
-
|
|
1110
2634
|
type Artifactory_HeadPackages = (params: {
|
|
1111
2635
|
slug: string;
|
|
1112
2636
|
type: "all" | "docker" | "helm";
|
|
@@ -1115,60 +2639,52 @@ type Artifactory_HeadPackages = (params: {
|
|
|
1115
2639
|
ordering?: "pull_count" | "last_push_at" | "name_ascend" | "name_descend";
|
|
1116
2640
|
name?: string;
|
|
1117
2641
|
}) => Promise<any>;
|
|
1118
|
-
|
|
1119
|
-
type Artifactory_GetQuotaByProjectName = (params: {
|
|
1120
|
-
slug: string;
|
|
1121
|
-
type: "docker" | "helm" | "maven" | "npm" | "ohpm";
|
|
1122
|
-
}) => Promise<DtoQuotaRsp>;
|
|
1123
|
-
|
|
1124
|
-
type Artifactory_GetQuotasByProjectName = (params: {
|
|
1125
|
-
slug: string;
|
|
1126
|
-
type: "docker" | "helm" | "maven" | "npm" | "ohpm";
|
|
1127
|
-
page?: number;
|
|
1128
|
-
page_size?: number;
|
|
1129
|
-
ordering?: "used_ascend" | "used_descend";
|
|
1130
|
-
}) => Promise<DtoQuotaRsp[]>;
|
|
1131
|
-
|
|
1132
|
-
type Artifactory_DownloadQuotasByProjectName = (params: {
|
|
1133
|
-
slug: string;
|
|
1134
|
-
type: "docker" | "helm" | "maven" | "npm" | "ohpm";
|
|
1135
|
-
page?: number;
|
|
1136
|
-
page_size?: number;
|
|
1137
|
-
ordering?: "used_ascend" | "used_descend";
|
|
1138
|
-
}) => Promise<DtoQuotaRsp[]>;
|
|
1139
|
-
|
|
1140
2642
|
type Artifactory_GetPackage = (params: {
|
|
1141
2643
|
slug: string;
|
|
1142
|
-
type: "docker" | "helm" | "maven" | "npm" | "ohpm";
|
|
2644
|
+
type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
1143
2645
|
name: string;
|
|
1144
2646
|
}) => Promise<DtoPackageDetail>;
|
|
1145
|
-
|
|
1146
2647
|
type Artifactory_DeletePackageTag = (params: {
|
|
1147
2648
|
slug: string;
|
|
1148
|
-
type: "docker" | "helm" | "maven" | "npm" | "ohpm";
|
|
2649
|
+
type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
1149
2650
|
name: string;
|
|
1150
2651
|
tag: string;
|
|
1151
2652
|
}) => Promise<any>;
|
|
1152
|
-
|
|
1153
2653
|
type Artifactory_GetPackageTagDetail = (params: {
|
|
1154
2654
|
slug: string;
|
|
1155
|
-
type: "docker" | "helm" | "maven" | "npm" | "ohpm";
|
|
2655
|
+
type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
1156
2656
|
name: string;
|
|
1157
2657
|
tag: string;
|
|
1158
2658
|
sha256?: string;
|
|
1159
2659
|
}) => Promise<DtoTagDetail>;
|
|
1160
|
-
|
|
1161
2660
|
type Artifactory_ListPackageTags = (params: {
|
|
1162
2661
|
slug: string;
|
|
1163
|
-
type: "docker" | "helm" | "maven" | "npm" | "ohpm";
|
|
2662
|
+
type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
1164
2663
|
pkgname: string;
|
|
1165
2664
|
page?: number;
|
|
1166
2665
|
page_size?: number;
|
|
1167
2666
|
ordering?: "pull_count" | "last_push_at";
|
|
1168
2667
|
name?: string;
|
|
1169
2668
|
}) => Promise<DtoTag>;
|
|
1170
|
-
|
|
1171
|
-
|
|
2669
|
+
type Artifactory_GetRegistryQuota = (params: {
|
|
2670
|
+
slug: string;
|
|
2671
|
+
type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
2672
|
+
}) => Promise<DtoRegistryLevelQuotaRsp>;
|
|
2673
|
+
type Artifactory_GetRegistryQuotas = (params: {
|
|
2674
|
+
slug: string;
|
|
2675
|
+
type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
2676
|
+
page?: number;
|
|
2677
|
+
page_size?: number;
|
|
2678
|
+
ordering?: "used_ascend" | "used_descend";
|
|
2679
|
+
}) => Promise<DtoQuotaRsp[]>;
|
|
2680
|
+
type Artifactory_DownloadRegistryQuotas = (params: {
|
|
2681
|
+
slug: string;
|
|
2682
|
+
type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
|
|
2683
|
+
page?: number;
|
|
2684
|
+
page_size?: number;
|
|
2685
|
+
ordering?: "used_ascend" | "used_descend";
|
|
2686
|
+
}) => Promise<DtoQuotaRsp[]>;
|
|
2687
|
+
interface Client {
|
|
1172
2688
|
groups: {
|
|
1173
2689
|
/***
|
|
1174
2690
|
* 创建新组织。Create new organization.
|
|
@@ -1180,7 +2696,6 @@ export interface Client {
|
|
|
1180
2696
|
*/
|
|
1181
2697
|
post: Organizations_CreateOrganization;
|
|
1182
2698
|
};
|
|
1183
|
-
|
|
1184
2699
|
user: {
|
|
1185
2700
|
/***
|
|
1186
2701
|
* 获取指定用户的详情信息。Get detailed information for a specified user.
|
|
@@ -1201,7 +2716,6 @@ export interface Client {
|
|
|
1201
2716
|
* /user
|
|
1202
2717
|
*/
|
|
1203
2718
|
post: Users_UpdateUserInfo;
|
|
1204
|
-
|
|
1205
2719
|
autocompleteSource: {
|
|
1206
2720
|
/***
|
|
1207
2721
|
* 查询当前用户用户拥有指定权限的所有资源列表。List resources that the current user has specified permissions for.
|
|
@@ -1213,7 +2727,6 @@ export interface Client {
|
|
|
1213
2727
|
*/
|
|
1214
2728
|
list: Users_AutoCompleteSource;
|
|
1215
2729
|
};
|
|
1216
|
-
|
|
1217
2730
|
groups: {
|
|
1218
2731
|
/***
|
|
1219
2732
|
* 获取当前用户拥有权限的顶层组织列表。Get top-level organizations list that the current user has access to.
|
|
@@ -1235,7 +2748,6 @@ export interface Client {
|
|
|
1235
2748
|
*/
|
|
1236
2749
|
listByGroup: Organizations_ListGroups;
|
|
1237
2750
|
};
|
|
1238
|
-
|
|
1239
2751
|
repos: {
|
|
1240
2752
|
/***
|
|
1241
2753
|
* 获取当前用户拥有指定权限及其以上权限的仓库。List repositories owned by the current user with the specified permissions or higher.
|
|
@@ -1247,7 +2759,6 @@ export interface Client {
|
|
|
1247
2759
|
*/
|
|
1248
2760
|
list: Repositories_GetRepos;
|
|
1249
2761
|
};
|
|
1250
|
-
|
|
1251
2762
|
staredRepos: {
|
|
1252
2763
|
/***
|
|
1253
2764
|
* 获取当前用户 star 的仓库列表。List all stared repositories.
|
|
@@ -1260,7 +2771,6 @@ export interface Client {
|
|
|
1260
2771
|
list: Repositories_GetUserAllStaredRepos;
|
|
1261
2772
|
};
|
|
1262
2773
|
};
|
|
1263
|
-
|
|
1264
2774
|
users: {
|
|
1265
2775
|
/***
|
|
1266
2776
|
* 获取指定用户的详情信息。Get detailed information for a specified user.
|
|
@@ -1271,7 +2781,6 @@ export interface Client {
|
|
|
1271
2781
|
* /users/{username}
|
|
1272
2782
|
*/
|
|
1273
2783
|
get: Users_GetUserInfoByName;
|
|
1274
|
-
|
|
1275
2784
|
activities: {
|
|
1276
2785
|
/***
|
|
1277
2786
|
* 获取个人动态活跃详情汇总
|
|
@@ -1283,19 +2792,6 @@ export interface Client {
|
|
|
1283
2792
|
*/
|
|
1284
2793
|
get: Activities_GetUserActivitiesByDate;
|
|
1285
2794
|
};
|
|
1286
|
-
|
|
1287
|
-
avatar: {
|
|
1288
|
-
/***
|
|
1289
|
-
* 获取指定用户的用户头像。Get the user's avatar.
|
|
1290
|
-
*
|
|
1291
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1292
|
-
* account-profile:r
|
|
1293
|
-
*
|
|
1294
|
-
* /users/{username}/avatar/{size}
|
|
1295
|
-
*/
|
|
1296
|
-
get: Assets_GetUserAvatar;
|
|
1297
|
-
};
|
|
1298
|
-
|
|
1299
2795
|
followers: {
|
|
1300
2796
|
/***
|
|
1301
2797
|
* 获取指定用户的粉丝列表。Get the followers list of specified user.
|
|
@@ -1307,7 +2803,6 @@ export interface Client {
|
|
|
1307
2803
|
*/
|
|
1308
2804
|
list: Followers_GetFollowersByUserID;
|
|
1309
2805
|
};
|
|
1310
|
-
|
|
1311
2806
|
following: {
|
|
1312
2807
|
/***
|
|
1313
2808
|
* 获取指定用户的关注人列表。Get the list of users that the specified user is following.
|
|
@@ -1319,7 +2814,6 @@ export interface Client {
|
|
|
1319
2814
|
*/
|
|
1320
2815
|
list: Followers_GetFollowingByUserID;
|
|
1321
2816
|
};
|
|
1322
|
-
|
|
1323
2817
|
groups: {
|
|
1324
2818
|
/***
|
|
1325
2819
|
* 获取指定用户拥有权限的顶层组织列表。 Get a list of top-level organizations that the specified user has permissions to access.
|
|
@@ -1331,7 +2825,6 @@ export interface Client {
|
|
|
1331
2825
|
*/
|
|
1332
2826
|
get: Organizations_GetGroupsByUserID;
|
|
1333
2827
|
};
|
|
1334
|
-
|
|
1335
2828
|
pinnedRepos: {
|
|
1336
2829
|
/***
|
|
1337
2830
|
* 获取指定用户的用户仓库墙。 Get a list of repositories that the specified user has pinned.
|
|
@@ -1343,7 +2836,6 @@ export interface Client {
|
|
|
1343
2836
|
*/
|
|
1344
2837
|
list: Repositories_GetPinnedRepoByID;
|
|
1345
2838
|
};
|
|
1346
|
-
|
|
1347
2839
|
repoActivities: {
|
|
1348
2840
|
/***
|
|
1349
2841
|
* 个人仓库动态详情列表
|
|
@@ -1355,7 +2847,6 @@ export interface Client {
|
|
|
1355
2847
|
*/
|
|
1356
2848
|
list: Activities_GetUserRepoActivityDetails;
|
|
1357
2849
|
};
|
|
1358
|
-
|
|
1359
2850
|
repos: {
|
|
1360
2851
|
/***
|
|
1361
2852
|
* 获取指定用户有指定以上权限并且客人态可见的仓库。List repositories where the specified user has the specified permission level or higher and are visible to guests.
|
|
@@ -1367,7 +2858,6 @@ export interface Client {
|
|
|
1367
2858
|
*/
|
|
1368
2859
|
list: Repositories_GetReposByUserName;
|
|
1369
2860
|
};
|
|
1370
|
-
|
|
1371
2861
|
staredRepos: {
|
|
1372
2862
|
/***
|
|
1373
2863
|
* 获取指定用户的 star 仓库列表。Get the list of repositories starred by the specified user.
|
|
@@ -1380,7 +2870,6 @@ export interface Client {
|
|
|
1380
2870
|
list: Starring_GetUserStaredRepos;
|
|
1381
2871
|
};
|
|
1382
2872
|
};
|
|
1383
|
-
|
|
1384
2873
|
workspace: {
|
|
1385
2874
|
delete: {
|
|
1386
2875
|
/***
|
|
@@ -1393,7 +2882,6 @@ export interface Client {
|
|
|
1393
2882
|
*/
|
|
1394
2883
|
post: Workspace_DeleteWorkspace;
|
|
1395
2884
|
};
|
|
1396
|
-
|
|
1397
2885
|
list: {
|
|
1398
2886
|
/***
|
|
1399
2887
|
* 获取我的云原生开发环境列表。List my workspaces.
|
|
@@ -1406,7 +2894,6 @@ export interface Client {
|
|
|
1406
2894
|
get: Workspace_ListWorkspaces;
|
|
1407
2895
|
};
|
|
1408
2896
|
};
|
|
1409
|
-
|
|
1410
2897
|
group: {
|
|
1411
2898
|
/***
|
|
1412
2899
|
* 删除指定组织。Delete the specified organization.
|
|
@@ -1437,19 +2924,6 @@ export interface Client {
|
|
|
1437
2924
|
* /{group}
|
|
1438
2925
|
*/
|
|
1439
2926
|
put: Organizations_UpdateOrganization;
|
|
1440
|
-
|
|
1441
|
-
avatar: {
|
|
1442
|
-
/***
|
|
1443
|
-
* 更新组织头像 URL 地址。Updates the organization avatar URL.
|
|
1444
|
-
*
|
|
1445
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1446
|
-
* group-manage:rw
|
|
1447
|
-
*
|
|
1448
|
-
* /{group}/-/avatar
|
|
1449
|
-
*/
|
|
1450
|
-
put: Organizations_UpdateGroupAvatar;
|
|
1451
|
-
};
|
|
1452
|
-
|
|
1453
2927
|
inheritMembers: {
|
|
1454
2928
|
/***
|
|
1455
2929
|
* 获取指定组织或仓库内的继承成员。List inherited members within specified organization or repository。
|
|
@@ -1461,29 +2935,6 @@ export interface Client {
|
|
|
1461
2935
|
*/
|
|
1462
2936
|
list: Collaborators_ListInheritMembersOfGroup;
|
|
1463
2937
|
};
|
|
1464
|
-
|
|
1465
|
-
logos: {
|
|
1466
|
-
/***
|
|
1467
|
-
* 确认上传的logo。Confirms the uploaded logo.
|
|
1468
|
-
*
|
|
1469
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1470
|
-
* group-manage:rw
|
|
1471
|
-
*
|
|
1472
|
-
* /{group}/-/logos
|
|
1473
|
-
*/
|
|
1474
|
-
put: Assets_PutLogos;
|
|
1475
|
-
|
|
1476
|
-
/***
|
|
1477
|
-
* 发起一个获取 logo 的请求,返回内容或者 302 到某个地址。Post a request to fetch a logo and returns the content directly or a 302 redirect to the logo URL.
|
|
1478
|
-
*
|
|
1479
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1480
|
-
* group-resource:r
|
|
1481
|
-
*
|
|
1482
|
-
* /{group}/-/logos/{size}
|
|
1483
|
-
*/
|
|
1484
|
-
get: Assets_GetLogos;
|
|
1485
|
-
};
|
|
1486
|
-
|
|
1487
2938
|
members: {
|
|
1488
2939
|
/***
|
|
1489
2940
|
* 获取指定组织或仓库内的所有直接成员。List all direct members within specified organization or repository.
|
|
@@ -1494,7 +2945,6 @@ export interface Client {
|
|
|
1494
2945
|
* /{group}/-/members
|
|
1495
2946
|
*/
|
|
1496
2947
|
list: Collaborators_ListMembersOfGroup;
|
|
1497
|
-
|
|
1498
2948
|
accessLevel: {
|
|
1499
2949
|
/***
|
|
1500
2950
|
* 获取指定组织或仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
|
|
@@ -1547,7 +2997,17 @@ export interface Client {
|
|
|
1547
2997
|
*/
|
|
1548
2998
|
put: Collaborators_UpdateMembersOfGroup;
|
|
1549
2999
|
};
|
|
1550
|
-
|
|
3000
|
+
missions: {
|
|
3001
|
+
/***
|
|
3002
|
+
* 创建任务集
|
|
3003
|
+
*
|
|
3004
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3005
|
+
* group-resource:rw
|
|
3006
|
+
*
|
|
3007
|
+
* /{group}/-/missions
|
|
3008
|
+
*/
|
|
3009
|
+
post: Missions_CreateMission;
|
|
3010
|
+
};
|
|
1551
3011
|
pinnedRepos: {
|
|
1552
3012
|
/***
|
|
1553
3013
|
* 获取指定组织的仓库墙列表。List the pinned repositories of a group.
|
|
@@ -1569,7 +3029,6 @@ export interface Client {
|
|
|
1569
3029
|
*/
|
|
1570
3030
|
put: Repositories_SetPinnedRepoByGroup;
|
|
1571
3031
|
};
|
|
1572
|
-
|
|
1573
3032
|
repos: {
|
|
1574
3033
|
/***
|
|
1575
3034
|
* 查询组织下访问用户有权限查看到仓库。List the repositories that the user has access to.
|
|
@@ -1591,7 +3050,6 @@ export interface Client {
|
|
|
1591
3050
|
*/
|
|
1592
3051
|
post: Repositories_CreateRepo;
|
|
1593
3052
|
};
|
|
1594
|
-
|
|
1595
3053
|
settings: {
|
|
1596
3054
|
/***
|
|
1597
3055
|
* 获取指定组织的配置详情。Get the configuration details for the specified organization.
|
|
@@ -1613,19 +3071,28 @@ export interface Client {
|
|
|
1613
3071
|
*/
|
|
1614
3072
|
put: Organizations_UpdateGroupSetting;
|
|
1615
3073
|
};
|
|
1616
|
-
|
|
1617
3074
|
subGroups: {
|
|
1618
3075
|
/***
|
|
1619
3076
|
* 获取指定组织下的子组织列表。Get the list of sub-organizations under the specified organization.
|
|
1620
3077
|
*
|
|
1621
3078
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1622
|
-
* group-resource:r
|
|
3079
|
+
* group-resource:r
|
|
3080
|
+
*
|
|
3081
|
+
* /{group}/-/sub-groups
|
|
3082
|
+
*/
|
|
3083
|
+
list: Organizations_ListSubgroups;
|
|
3084
|
+
};
|
|
3085
|
+
transfer: {
|
|
3086
|
+
/***
|
|
3087
|
+
* 转移组织
|
|
3088
|
+
*
|
|
3089
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3090
|
+
* group-manage:rw
|
|
1623
3091
|
*
|
|
1624
|
-
* /{group}/-/
|
|
3092
|
+
* /{group}/-/transfer
|
|
1625
3093
|
*/
|
|
1626
|
-
|
|
3094
|
+
post: Organizations_TransferGroup;
|
|
1627
3095
|
};
|
|
1628
|
-
|
|
1629
3096
|
upload: {
|
|
1630
3097
|
logos: {
|
|
1631
3098
|
/***
|
|
@@ -1640,7 +3107,6 @@ export interface Client {
|
|
|
1640
3107
|
};
|
|
1641
3108
|
};
|
|
1642
3109
|
};
|
|
1643
|
-
|
|
1644
3110
|
mission: {
|
|
1645
3111
|
/***
|
|
1646
3112
|
* 删除指定任务集。Delete the specified mission.
|
|
@@ -1651,7 +3117,6 @@ export interface Client {
|
|
|
1651
3117
|
* /{mission}
|
|
1652
3118
|
*/
|
|
1653
3119
|
delete: Missions_DeleteMission;
|
|
1654
|
-
|
|
1655
3120
|
members: {
|
|
1656
3121
|
/***
|
|
1657
3122
|
* 添加成员。Add members.
|
|
@@ -1664,7 +3129,6 @@ export interface Client {
|
|
|
1664
3129
|
post: Collaborators_AddMembersOfMission;
|
|
1665
3130
|
};
|
|
1666
3131
|
};
|
|
1667
|
-
|
|
1668
3132
|
registry: {
|
|
1669
3133
|
/***
|
|
1670
3134
|
* 删除制品仓库。Delete the artifact repository.
|
|
@@ -1675,7 +3139,6 @@ export interface Client {
|
|
|
1675
3139
|
* /{registry}
|
|
1676
3140
|
*/
|
|
1677
3141
|
delete: Artifactory_DeleteRegistry;
|
|
1678
|
-
|
|
1679
3142
|
members: {
|
|
1680
3143
|
/***
|
|
1681
3144
|
* 添加成员。Add members.
|
|
@@ -1688,7 +3151,6 @@ export interface Client {
|
|
|
1688
3151
|
post: Collaborators_AddMembersOfRegistry;
|
|
1689
3152
|
};
|
|
1690
3153
|
};
|
|
1691
|
-
|
|
1692
3154
|
repo: {
|
|
1693
3155
|
/***
|
|
1694
3156
|
* 删除指定仓库。Delete the specified repository.
|
|
@@ -1708,7 +3170,7 @@ export interface Client {
|
|
|
1708
3170
|
*
|
|
1709
3171
|
* /{repo}
|
|
1710
3172
|
*/
|
|
1711
|
-
get:
|
|
3173
|
+
get: Repositories_GetByID;
|
|
1712
3174
|
|
|
1713
3175
|
/***
|
|
1714
3176
|
* 更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证。updates repository details including description, website URL,topics and license type.
|
|
@@ -1719,7 +3181,6 @@ export interface Client {
|
|
|
1719
3181
|
* /{repo}
|
|
1720
3182
|
*/
|
|
1721
3183
|
patch: Repositories_UpdateRepo;
|
|
1722
|
-
|
|
1723
3184
|
build: {
|
|
1724
3185
|
logs: {
|
|
1725
3186
|
/***
|
|
@@ -1731,8 +3192,18 @@ export interface Client {
|
|
|
1731
3192
|
* /{repo}/-/build/logs
|
|
1732
3193
|
*/
|
|
1733
3194
|
get: Build_GetBuildLogs;
|
|
3195
|
+
stage: {
|
|
3196
|
+
/***
|
|
3197
|
+
* 查询流水线Stage详情。Get pipeline build stage detail.
|
|
3198
|
+
*
|
|
3199
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3200
|
+
* repo-cnb-trigger:r
|
|
3201
|
+
*
|
|
3202
|
+
* /{repo}/-/build/logs/stage/{sn}/{pipelineId}/{stageId}
|
|
3203
|
+
*/
|
|
3204
|
+
get: Build_GetBuildStage;
|
|
3205
|
+
};
|
|
1734
3206
|
};
|
|
1735
|
-
|
|
1736
3207
|
start: {
|
|
1737
3208
|
/***
|
|
1738
3209
|
* 开始一个构建。Start a build.
|
|
@@ -1744,7 +3215,6 @@ export interface Client {
|
|
|
1744
3215
|
*/
|
|
1745
3216
|
post: Build_StartBuild;
|
|
1746
3217
|
};
|
|
1747
|
-
|
|
1748
3218
|
status: {
|
|
1749
3219
|
/***
|
|
1750
3220
|
* 查询流水线构建状态。Get pipeline build status.
|
|
@@ -1756,7 +3226,6 @@ export interface Client {
|
|
|
1756
3226
|
*/
|
|
1757
3227
|
get: Build_GetBuildStatus;
|
|
1758
3228
|
};
|
|
1759
|
-
|
|
1760
3229
|
stop: {
|
|
1761
3230
|
/***
|
|
1762
3231
|
* 停止一个构建。 Stop a build.
|
|
@@ -1769,7 +3238,6 @@ export interface Client {
|
|
|
1769
3238
|
post: Build_StopBuild;
|
|
1770
3239
|
};
|
|
1771
3240
|
};
|
|
1772
|
-
|
|
1773
3241
|
commitAssets: {
|
|
1774
3242
|
download: {
|
|
1775
3243
|
/***
|
|
@@ -1778,12 +3246,11 @@ export interface Client {
|
|
|
1778
3246
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1779
3247
|
* repo-contents:r
|
|
1780
3248
|
*
|
|
1781
|
-
* /{repo}/-/commit-assets/download/{
|
|
3249
|
+
* /{repo}/-/commit-assets/download/{commit_id}/{filename}
|
|
1782
3250
|
*/
|
|
1783
3251
|
get: Assets_GetCommitAssets;
|
|
1784
3252
|
};
|
|
1785
3253
|
};
|
|
1786
|
-
|
|
1787
3254
|
contributor: {
|
|
1788
3255
|
trend: {
|
|
1789
3256
|
/***
|
|
@@ -1797,29 +3264,6 @@ export interface Client {
|
|
|
1797
3264
|
get: RepoContributor_GetRepoContributorTrend;
|
|
1798
3265
|
};
|
|
1799
3266
|
};
|
|
1800
|
-
|
|
1801
|
-
files: {
|
|
1802
|
-
/***
|
|
1803
|
-
* 发起一个获取 files 的请求,返回内容或者 302 到某个地址。Initiate a request to retrieve files, returns content or 302 redirect.
|
|
1804
|
-
*
|
|
1805
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1806
|
-
* repo-contents:r
|
|
1807
|
-
*
|
|
1808
|
-
* /{repo}/-/files/{userIdKey}/{randomUUID}/{fileName}
|
|
1809
|
-
*/
|
|
1810
|
-
get: Assets_GetFiles;
|
|
1811
|
-
|
|
1812
|
-
/***
|
|
1813
|
-
* 发起一个确认 files 的请求,上传的图片要调用此接口才能生效。Initiate a request to confirm files, uploaded images need to call this API to take effect.
|
|
1814
|
-
*
|
|
1815
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1816
|
-
* repo-contents:rw
|
|
1817
|
-
*
|
|
1818
|
-
* /{repo}/-/files/{userIdKey}/{randomUUID}/{fileName}
|
|
1819
|
-
*/
|
|
1820
|
-
put: Assets_PutFiles;
|
|
1821
|
-
};
|
|
1822
|
-
|
|
1823
3267
|
forks: {
|
|
1824
3268
|
/***
|
|
1825
3269
|
* 获取指定仓库的 fork 列表。Get fork list for specified repository.
|
|
@@ -1841,7 +3285,6 @@ export interface Client {
|
|
|
1841
3285
|
*/
|
|
1842
3286
|
post: Repositories_CreateAFork;
|
|
1843
3287
|
};
|
|
1844
|
-
|
|
1845
3288
|
git: {
|
|
1846
3289
|
archiveCommitChangedFiles: {
|
|
1847
3290
|
/***
|
|
@@ -1854,7 +3297,6 @@ export interface Client {
|
|
|
1854
3297
|
*/
|
|
1855
3298
|
get: Git_GetArchiveCommitChangedFiles;
|
|
1856
3299
|
};
|
|
1857
|
-
|
|
1858
3300
|
archiveCompareChangedFiles: {
|
|
1859
3301
|
/***
|
|
1860
3302
|
* 打包下载两次 ref 之间的变更文件。Download archive of changed files for a compare.
|
|
@@ -1866,7 +3308,6 @@ export interface Client {
|
|
|
1866
3308
|
*/
|
|
1867
3309
|
get: Git_GetArchiveCompareChangedFiles;
|
|
1868
3310
|
};
|
|
1869
|
-
|
|
1870
3311
|
blobs: {
|
|
1871
3312
|
/***
|
|
1872
3313
|
* 创建一个 blob。Create a blob.
|
|
@@ -1878,7 +3319,6 @@ export interface Client {
|
|
|
1878
3319
|
*/
|
|
1879
3320
|
post: Git_CreateBlob;
|
|
1880
3321
|
};
|
|
1881
|
-
|
|
1882
3322
|
branches: {
|
|
1883
3323
|
/***
|
|
1884
3324
|
* 查询分支列表。List branches.
|
|
@@ -1920,7 +3360,6 @@ export interface Client {
|
|
|
1920
3360
|
*/
|
|
1921
3361
|
get: Git_GetBranch;
|
|
1922
3362
|
};
|
|
1923
|
-
|
|
1924
3363
|
commitAnnotationsInBatch: {
|
|
1925
3364
|
/***
|
|
1926
3365
|
* 查询指定 commit 的元数据。Get commit annotations in batch.
|
|
@@ -1932,7 +3371,6 @@ export interface Client {
|
|
|
1932
3371
|
*/
|
|
1933
3372
|
post: Git_GetCommitAnnotationsInBatch;
|
|
1934
3373
|
};
|
|
1935
|
-
|
|
1936
3374
|
commitAnnotations: {
|
|
1937
3375
|
/***
|
|
1938
3376
|
* 查询指定 commit 的元数据。Get commit annotations.
|
|
@@ -1964,7 +3402,6 @@ export interface Client {
|
|
|
1964
3402
|
*/
|
|
1965
3403
|
delete: Git_DeleteCommitAnnotation;
|
|
1966
3404
|
};
|
|
1967
|
-
|
|
1968
3405
|
commitAssets: {
|
|
1969
3406
|
/***
|
|
1970
3407
|
* 查询指定 commit 的附件。List commit assets.
|
|
@@ -1975,7 +3412,6 @@ export interface Client {
|
|
|
1975
3412
|
* /{repo}/-/git/commit-assets/{sha1}
|
|
1976
3413
|
*/
|
|
1977
3414
|
list: Git_GetCommitAssetsBySha;
|
|
1978
|
-
|
|
1979
3415
|
assetUploadConfirmation: {
|
|
1980
3416
|
/***
|
|
1981
3417
|
* 确认 Commit asset 上传完成。Confirm commit asset upload.
|
|
@@ -1983,11 +3419,10 @@ export interface Client {
|
|
|
1983
3419
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
1984
3420
|
* repo-code:rw
|
|
1985
3421
|
*
|
|
1986
|
-
* /{repo}/-/git/commit-assets/{sha1}/asset-upload-confirmation/{
|
|
3422
|
+
* /{repo}/-/git/commit-assets/{sha1}/asset-upload-confirmation/{upload_token}/{asset_path}
|
|
1987
3423
|
*/
|
|
1988
3424
|
post: Git_PostCommitAssetUploadConfirmation;
|
|
1989
3425
|
};
|
|
1990
|
-
|
|
1991
3426
|
assetUploadUrl: {
|
|
1992
3427
|
/***
|
|
1993
3428
|
* 新增一个 Commit asset。Create a commit asset.
|
|
@@ -2010,7 +3445,6 @@ export interface Client {
|
|
|
2010
3445
|
*/
|
|
2011
3446
|
delete: Git_DeleteCommitAsset;
|
|
2012
3447
|
};
|
|
2013
|
-
|
|
2014
3448
|
commitStatuses: {
|
|
2015
3449
|
/***
|
|
2016
3450
|
* 查询指定 commit 的 check statuses。List commit check statuses.
|
|
@@ -2022,7 +3456,6 @@ export interface Client {
|
|
|
2022
3456
|
*/
|
|
2023
3457
|
list: Git_GetCommitStatuses;
|
|
2024
3458
|
};
|
|
2025
|
-
|
|
2026
3459
|
commits: {
|
|
2027
3460
|
/***
|
|
2028
3461
|
* 查询 commit 列表。List commits.
|
|
@@ -2044,7 +3477,6 @@ export interface Client {
|
|
|
2044
3477
|
*/
|
|
2045
3478
|
get: Git_GetCommit;
|
|
2046
3479
|
};
|
|
2047
|
-
|
|
2048
3480
|
compare: {
|
|
2049
3481
|
/***
|
|
2050
3482
|
* 对比 base...head。Compare two commits.
|
|
@@ -2056,7 +3488,6 @@ export interface Client {
|
|
|
2056
3488
|
*/
|
|
2057
3489
|
get: Git_GetCompareCommits;
|
|
2058
3490
|
};
|
|
2059
|
-
|
|
2060
3491
|
contents: {
|
|
2061
3492
|
/***
|
|
2062
3493
|
* 查询仓库文件列表或文件。List repository files or file.
|
|
@@ -2068,7 +3499,6 @@ export interface Client {
|
|
|
2068
3499
|
*/
|
|
2069
3500
|
get: Git_GetContent;
|
|
2070
3501
|
};
|
|
2071
|
-
|
|
2072
3502
|
deferredCommits: {
|
|
2073
3503
|
/***
|
|
2074
3504
|
* 查询 deferred commit 列表
|
|
@@ -2080,7 +3510,6 @@ export interface Client {
|
|
|
2080
3510
|
*/
|
|
2081
3511
|
list: Git_ListDeferredCommits;
|
|
2082
3512
|
};
|
|
2083
|
-
|
|
2084
3513
|
head: {
|
|
2085
3514
|
/***
|
|
2086
3515
|
* 获取仓库默认分支。Get the default branch of the repository.
|
|
@@ -2092,7 +3521,6 @@ export interface Client {
|
|
|
2092
3521
|
*/
|
|
2093
3522
|
get: Git_GetHead;
|
|
2094
3523
|
};
|
|
2095
|
-
|
|
2096
3524
|
tagAnnotations: {
|
|
2097
3525
|
/***
|
|
2098
3526
|
* 删除指定 tag 的元数据。Delete the metadata of the specified tag.
|
|
@@ -2124,7 +3552,6 @@ export interface Client {
|
|
|
2124
3552
|
*/
|
|
2125
3553
|
put: Git_PutTagAnnotations;
|
|
2126
3554
|
};
|
|
2127
|
-
|
|
2128
3555
|
tags: {
|
|
2129
3556
|
/***
|
|
2130
3557
|
* 查询标签列表。List tags.
|
|
@@ -2167,29 +3594,6 @@ export interface Client {
|
|
|
2167
3594
|
get: Git_GetTag;
|
|
2168
3595
|
};
|
|
2169
3596
|
};
|
|
2170
|
-
|
|
2171
|
-
imgs: {
|
|
2172
|
-
/***
|
|
2173
|
-
* 发起一个获取 imgs 的请求,返回内容或者 302 到某个地址。Initiate a request to get images, returns content or 302 redirect.
|
|
2174
|
-
*
|
|
2175
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2176
|
-
* repo-contents:r
|
|
2177
|
-
*
|
|
2178
|
-
* /{repo}/-/imgs/{userIdKey}/{fileName}
|
|
2179
|
-
*/
|
|
2180
|
-
get: Assets_GetImgs;
|
|
2181
|
-
|
|
2182
|
-
/***
|
|
2183
|
-
* 发起一个确认 imgs 的请求,上传的图片要调用此接口才能生效。Initiate a request to confirm images, uploaded images need to call this API to take effect.
|
|
2184
|
-
*
|
|
2185
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2186
|
-
* repo-contents:rw
|
|
2187
|
-
*
|
|
2188
|
-
* /{repo}/-/imgs/{userIdKey}/{fileName}
|
|
2189
|
-
*/
|
|
2190
|
-
put: Assets_PutImgs;
|
|
2191
|
-
};
|
|
2192
|
-
|
|
2193
3597
|
inheritMembers: {
|
|
2194
3598
|
/***
|
|
2195
3599
|
* 获取指定组织或仓库内的继承成员。List inherited members within specified organization or repository。
|
|
@@ -2201,7 +3605,6 @@ export interface Client {
|
|
|
2201
3605
|
*/
|
|
2202
3606
|
list: Collaborators_ListInheritMembersOfRepo;
|
|
2203
3607
|
};
|
|
2204
|
-
|
|
2205
3608
|
issues: {
|
|
2206
3609
|
/***
|
|
2207
3610
|
* 查询仓库的 Issues。List issues.
|
|
@@ -2242,7 +3645,6 @@ export interface Client {
|
|
|
2242
3645
|
* /{repo}/-/issues/{number}
|
|
2243
3646
|
*/
|
|
2244
3647
|
patch: Issues_UpdateIssue;
|
|
2245
|
-
|
|
2246
3648
|
assignees: {
|
|
2247
3649
|
/***
|
|
2248
3650
|
* 删除 Issue 中的 Assignees。 Removes one or more assignees from an issue.
|
|
@@ -2264,6 +3666,16 @@ export interface Client {
|
|
|
2264
3666
|
*/
|
|
2265
3667
|
list: Issues_ListIssueAssignees;
|
|
2266
3668
|
|
|
3669
|
+
/***
|
|
3670
|
+
* 更新 Issue 中的 Assignees。 Updates the assignees of an issue.
|
|
3671
|
+
*
|
|
3672
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3673
|
+
* repo-notes:rw
|
|
3674
|
+
*
|
|
3675
|
+
* /{repo}/-/issues/{number}/assignees
|
|
3676
|
+
*/
|
|
3677
|
+
patch: Issues_PatchIssueAssignees;
|
|
3678
|
+
|
|
2267
3679
|
/***
|
|
2268
3680
|
* 添加 Assignees 到指定的 Issue。 Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.
|
|
2269
3681
|
*
|
|
@@ -2284,7 +3696,6 @@ export interface Client {
|
|
|
2284
3696
|
*/
|
|
2285
3697
|
get: Issues_CanUserBeAssignedToIssue;
|
|
2286
3698
|
};
|
|
2287
|
-
|
|
2288
3699
|
comments: {
|
|
2289
3700
|
/***
|
|
2290
3701
|
* 查询仓库的 Issue 评论列表。List repository issue comments.
|
|
@@ -2326,7 +3737,6 @@ export interface Client {
|
|
|
2326
3737
|
*/
|
|
2327
3738
|
patch: Issues_PatchIssueComment;
|
|
2328
3739
|
};
|
|
2329
|
-
|
|
2330
3740
|
labels: {
|
|
2331
3741
|
/***
|
|
2332
3742
|
* 清空 Issue 标签。Remove all labels from an issue.
|
|
@@ -2379,7 +3789,53 @@ export interface Client {
|
|
|
2379
3789
|
deleteByName: Issues_DeleteIssueLabel;
|
|
2380
3790
|
};
|
|
2381
3791
|
};
|
|
3792
|
+
knowledge: {
|
|
3793
|
+
base: {
|
|
3794
|
+
/***
|
|
3795
|
+
* 删除知识库
|
|
3796
|
+
*
|
|
3797
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3798
|
+
* repo-code:rw
|
|
3799
|
+
*
|
|
3800
|
+
* /{repo}/-/knowledge/base
|
|
3801
|
+
*/
|
|
3802
|
+
delete: KnowledgeBase_DeleteKnowledgeBase;
|
|
2382
3803
|
|
|
3804
|
+
/***
|
|
3805
|
+
* 获取知识库信息
|
|
3806
|
+
*
|
|
3807
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3808
|
+
* repo-code:r
|
|
3809
|
+
*
|
|
3810
|
+
* /{repo}/-/knowledge/base
|
|
3811
|
+
*/
|
|
3812
|
+
get: KnowledgeBase_GetKnowledgeBaseInfo;
|
|
3813
|
+
query: {
|
|
3814
|
+
/***
|
|
3815
|
+
* 查询知识库,使用文档:https://docs.cnb.cool/zh/ai/knowledge-base.html
|
|
3816
|
+
*
|
|
3817
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3818
|
+
* repo-code:r
|
|
3819
|
+
*
|
|
3820
|
+
* /{repo}/-/knowledge/base/query
|
|
3821
|
+
*/
|
|
3822
|
+
post: KnowledgeBase_QueryKnowledgeBase;
|
|
3823
|
+
};
|
|
3824
|
+
};
|
|
3825
|
+
embedding: {
|
|
3826
|
+
models: {
|
|
3827
|
+
/***
|
|
3828
|
+
* 获取当前支持的 Embedding 模型列表
|
|
3829
|
+
*
|
|
3830
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3831
|
+
* repo-code:r
|
|
3832
|
+
*
|
|
3833
|
+
* /{repo}/-/knowledge/embedding/models
|
|
3834
|
+
*/
|
|
3835
|
+
list: KnowledgeBase_GetModels;
|
|
3836
|
+
};
|
|
3837
|
+
};
|
|
3838
|
+
};
|
|
2383
3839
|
labels: {
|
|
2384
3840
|
/***
|
|
2385
3841
|
* 查询仓库的标签(label) 列表。List repository labels.
|
|
@@ -2421,7 +3877,6 @@ export interface Client {
|
|
|
2421
3877
|
*/
|
|
2422
3878
|
patch: RepoLabels_PatchLabel;
|
|
2423
3879
|
};
|
|
2424
|
-
|
|
2425
3880
|
lfs: {
|
|
2426
3881
|
/***
|
|
2427
3882
|
* 获取 git lfs 文件下载链接
|
|
@@ -2433,7 +3888,6 @@ export interface Client {
|
|
|
2433
3888
|
*/
|
|
2434
3889
|
get: Git_GetPresignedLFSDownloadLink;
|
|
2435
3890
|
};
|
|
2436
|
-
|
|
2437
3891
|
listMembers: {
|
|
2438
3892
|
/***
|
|
2439
3893
|
* 获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.
|
|
@@ -2445,7 +3899,6 @@ export interface Client {
|
|
|
2445
3899
|
*/
|
|
2446
3900
|
list: Collaborators_ListAllMembers;
|
|
2447
3901
|
};
|
|
2448
|
-
|
|
2449
3902
|
members: {
|
|
2450
3903
|
/***
|
|
2451
3904
|
* 获取指定组织或仓库内的所有直接成员。List all direct members within specified organization or repository.
|
|
@@ -2456,7 +3909,6 @@ export interface Client {
|
|
|
2456
3909
|
* /{repo}/-/members
|
|
2457
3910
|
*/
|
|
2458
3911
|
list: Collaborators_ListMembersOfRepo;
|
|
2459
|
-
|
|
2460
3912
|
accessLevel: {
|
|
2461
3913
|
/***
|
|
2462
3914
|
* 获取指定组织或仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
|
|
@@ -2509,7 +3961,6 @@ export interface Client {
|
|
|
2509
3961
|
*/
|
|
2510
3962
|
put: Collaborators_UpdateMembersOfRepo;
|
|
2511
3963
|
};
|
|
2512
|
-
|
|
2513
3964
|
outsideCollaborators: {
|
|
2514
3965
|
/***
|
|
2515
3966
|
* 获取指定仓库内的外部贡献者。List external contributors in specified repository.
|
|
@@ -2541,7 +3992,6 @@ export interface Client {
|
|
|
2541
3992
|
*/
|
|
2542
3993
|
put: Collaborators_UpdateOutsideCollaborators;
|
|
2543
3994
|
};
|
|
2544
|
-
|
|
2545
3995
|
pullInBatch: {
|
|
2546
3996
|
/***
|
|
2547
3997
|
* 根据numbers查询 Pull 列表。List pull requests by numbers.
|
|
@@ -2553,7 +4003,6 @@ export interface Client {
|
|
|
2553
4003
|
*/
|
|
2554
4004
|
list: Pulls_ListPullsByNumbers;
|
|
2555
4005
|
};
|
|
2556
|
-
|
|
2557
4006
|
pulls: {
|
|
2558
4007
|
/***
|
|
2559
4008
|
* 查询 Pull 列表。List pull requests.
|
|
@@ -2594,7 +4043,6 @@ export interface Client {
|
|
|
2594
4043
|
* /{repo}/-/pulls/{number}
|
|
2595
4044
|
*/
|
|
2596
4045
|
patch: Pulls_PatchPull;
|
|
2597
|
-
|
|
2598
4046
|
assignees: {
|
|
2599
4047
|
/***
|
|
2600
4048
|
* 删除 PullRequest 中的 Assignees。 Removes one or more assignees from a pull request.
|
|
@@ -2636,7 +4084,17 @@ export interface Client {
|
|
|
2636
4084
|
*/
|
|
2637
4085
|
get: Pulls_CanUserBeAssignedToPull;
|
|
2638
4086
|
};
|
|
2639
|
-
|
|
4087
|
+
cherryPick: {
|
|
4088
|
+
/***
|
|
4089
|
+
* 拣选一个已合并的 Pull Request 的提交到选定的分支
|
|
4090
|
+
*
|
|
4091
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4092
|
+
* repo-pr:rw
|
|
4093
|
+
*
|
|
4094
|
+
* /{repo}/-/pulls/{number}/cherry-pick
|
|
4095
|
+
*/
|
|
4096
|
+
post: Pulls_CherryPickPullRequest;
|
|
4097
|
+
};
|
|
2640
4098
|
comments: {
|
|
2641
4099
|
/***
|
|
2642
4100
|
* 查询 Pull Comments 列表。List pull comments requests.
|
|
@@ -2658,7 +4116,6 @@ export interface Client {
|
|
|
2658
4116
|
*/
|
|
2659
4117
|
post: Pulls_PostPullComment;
|
|
2660
4118
|
};
|
|
2661
|
-
|
|
2662
4119
|
labels: {
|
|
2663
4120
|
/***
|
|
2664
4121
|
* 清空 Pull 标签。Remove all labels from a pull.
|
|
@@ -2710,7 +4167,6 @@ export interface Client {
|
|
|
2710
4167
|
*/
|
|
2711
4168
|
deleteByName: Pulls_DeletePullLabel;
|
|
2712
4169
|
};
|
|
2713
|
-
|
|
2714
4170
|
merge: {
|
|
2715
4171
|
/***
|
|
2716
4172
|
* 合并一个 Pull Request。Merge a pull request.
|
|
@@ -2722,7 +4178,17 @@ export interface Client {
|
|
|
2722
4178
|
*/
|
|
2723
4179
|
put: Pulls_MergePull;
|
|
2724
4180
|
};
|
|
2725
|
-
|
|
4181
|
+
revert: {
|
|
4182
|
+
/***
|
|
4183
|
+
* 还原一个已合并的 Pull Request
|
|
4184
|
+
*
|
|
4185
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4186
|
+
* repo-pr:rw
|
|
4187
|
+
*
|
|
4188
|
+
* /{repo}/-/pulls/{number}/revert
|
|
4189
|
+
*/
|
|
4190
|
+
post: Pulls_RevertPullRequest;
|
|
4191
|
+
};
|
|
2726
4192
|
reviews: {
|
|
2727
4193
|
/***
|
|
2728
4194
|
* 新增一次 pull request 评审。Create a pull review.
|
|
@@ -2735,7 +4201,6 @@ export interface Client {
|
|
|
2735
4201
|
post: Pulls_PostPullReview;
|
|
2736
4202
|
};
|
|
2737
4203
|
};
|
|
2738
|
-
|
|
2739
4204
|
releases: {
|
|
2740
4205
|
/***
|
|
2741
4206
|
* 查询 release 列表。List releases.
|
|
@@ -2756,7 +4221,6 @@ export interface Client {
|
|
|
2756
4221
|
* /{repo}/-/releases
|
|
2757
4222
|
*/
|
|
2758
4223
|
post: Releases_PostRelease;
|
|
2759
|
-
|
|
2760
4224
|
download: {
|
|
2761
4225
|
/***
|
|
2762
4226
|
* 发起一个获取 release 附件的请求,返回内容或者 302 到某个地址。Initiate a request to get release attachments, returns content or 302 redirect.
|
|
@@ -2764,11 +4228,10 @@ export interface Client {
|
|
|
2764
4228
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2765
4229
|
* repo-contents:r
|
|
2766
4230
|
*
|
|
2767
|
-
* /{repo}/-/releases/download/{
|
|
4231
|
+
* /{repo}/-/releases/download/{tag}/{filename}
|
|
2768
4232
|
*/
|
|
2769
4233
|
get: Assets_GetReleasesAsset;
|
|
2770
4234
|
};
|
|
2771
|
-
|
|
2772
4235
|
latest: {
|
|
2773
4236
|
/***
|
|
2774
4237
|
* 查询 latest release。Query the latest release.
|
|
@@ -2779,7 +4242,6 @@ export interface Client {
|
|
|
2779
4242
|
* /{repo}/-/releases/latest
|
|
2780
4243
|
*/
|
|
2781
4244
|
get: Releases_GetLatestRelease;
|
|
2782
|
-
|
|
2783
4245
|
download: {
|
|
2784
4246
|
/***
|
|
2785
4247
|
* 发起一个获取 latest release 附件的请求,返回内容或者 302 到某个地址。Initiate a request to get latest release attachments, returns content or 302 redirect.
|
|
@@ -2792,10 +4254,9 @@ export interface Client {
|
|
|
2792
4254
|
get: Assets_GetLatestReleasesAsset;
|
|
2793
4255
|
};
|
|
2794
4256
|
};
|
|
2795
|
-
|
|
2796
4257
|
tags: {
|
|
2797
4258
|
/***
|
|
2798
|
-
* 通过 tag 查询指定 release
|
|
4259
|
+
* 通过 tag 查询指定 release,包含附件信息。Get a release by tag, include assets information.
|
|
2799
4260
|
*
|
|
2800
4261
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2801
4262
|
* repo-code:r
|
|
@@ -2816,7 +4277,7 @@ export interface Client {
|
|
|
2816
4277
|
delete: Releases_DeleteRelease;
|
|
2817
4278
|
|
|
2818
4279
|
/***
|
|
2819
|
-
* 根据 id 查询指定 release
|
|
4280
|
+
* 根据 id 查询指定 release, 包含附件信息。Get a release by id, include assets information.
|
|
2820
4281
|
*
|
|
2821
4282
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2822
4283
|
* repo-code:r
|
|
@@ -2834,7 +4295,6 @@ export interface Client {
|
|
|
2834
4295
|
* /{repo}/-/releases/{release_id}
|
|
2835
4296
|
*/
|
|
2836
4297
|
patch: Releases_PatchRelease;
|
|
2837
|
-
|
|
2838
4298
|
assetUploadConfirmation: {
|
|
2839
4299
|
/***
|
|
2840
4300
|
* 确认 Release asset 上传完成。Confirm release asset upload.
|
|
@@ -2842,11 +4302,10 @@ export interface Client {
|
|
|
2842
4302
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
2843
4303
|
* repo-code:rw
|
|
2844
4304
|
*
|
|
2845
|
-
* /{repo}/-/releases/{release_id}/asset-upload-confirmation/{
|
|
4305
|
+
* /{repo}/-/releases/{release_id}/asset-upload-confirmation/{upload_token}/{asset_path}
|
|
2846
4306
|
*/
|
|
2847
4307
|
post: Releases_PostReleaseAssetUploadConfirmation;
|
|
2848
4308
|
};
|
|
2849
|
-
|
|
2850
4309
|
assetUploadUrl: {
|
|
2851
4310
|
/***
|
|
2852
4311
|
* 新增一个 Release asset。Create a release asset.
|
|
@@ -2858,7 +4317,6 @@ export interface Client {
|
|
|
2858
4317
|
*/
|
|
2859
4318
|
post: Releases_PostReleaseAssetUploadURL;
|
|
2860
4319
|
};
|
|
2861
|
-
|
|
2862
4320
|
assets: {
|
|
2863
4321
|
/***
|
|
2864
4322
|
* 删除指定的 release asset。Delete the specified release asset.
|
|
@@ -2881,8 +4339,18 @@ export interface Client {
|
|
|
2881
4339
|
get: Releases_GetReleaseAsset;
|
|
2882
4340
|
};
|
|
2883
4341
|
};
|
|
2884
|
-
|
|
2885
4342
|
settings: {
|
|
4343
|
+
archive: {
|
|
4344
|
+
/***
|
|
4345
|
+
* 仓库归档
|
|
4346
|
+
*
|
|
4347
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4348
|
+
* repo-manage:rw,repo-code:rw
|
|
4349
|
+
*
|
|
4350
|
+
* /{repo}/-/settings/archive
|
|
4351
|
+
*/
|
|
4352
|
+
post: Repositories_ArchiveRepo;
|
|
4353
|
+
};
|
|
2886
4354
|
branchProtections: {
|
|
2887
4355
|
/***
|
|
2888
4356
|
* 查询仓库保护分支规则列表。List branch protection rules.
|
|
@@ -2934,7 +4402,6 @@ export interface Client {
|
|
|
2934
4402
|
*/
|
|
2935
4403
|
patch: GitSettings_PatchBranchProtection;
|
|
2936
4404
|
};
|
|
2937
|
-
|
|
2938
4405
|
cloudNativeBuild: {
|
|
2939
4406
|
/***
|
|
2940
4407
|
* 查询仓库云原生构建设置。List pipeline settings.
|
|
@@ -2956,7 +4423,6 @@ export interface Client {
|
|
|
2956
4423
|
*/
|
|
2957
4424
|
put: GitSettings_PutPipelineSettings;
|
|
2958
4425
|
};
|
|
2959
|
-
|
|
2960
4426
|
pullRequest: {
|
|
2961
4427
|
/***
|
|
2962
4428
|
* 查询仓库合并请求设置。List pull request settings.
|
|
@@ -2978,7 +4444,6 @@ export interface Client {
|
|
|
2978
4444
|
*/
|
|
2979
4445
|
put: GitSettings_PutPullRequestSettings;
|
|
2980
4446
|
};
|
|
2981
|
-
|
|
2982
4447
|
pushLimit: {
|
|
2983
4448
|
/***
|
|
2984
4449
|
* 查询仓库推送设置。List push limit settings.
|
|
@@ -3000,8 +4465,18 @@ export interface Client {
|
|
|
3000
4465
|
*/
|
|
3001
4466
|
put: GitSettings_PutPushLimitSettings;
|
|
3002
4467
|
};
|
|
4468
|
+
unarchive: {
|
|
4469
|
+
/***
|
|
4470
|
+
* 解除仓库归档
|
|
4471
|
+
*
|
|
4472
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4473
|
+
* repo-manage:rw,repo-code:rw
|
|
4474
|
+
*
|
|
4475
|
+
* /{repo}/-/settings/unarchive
|
|
4476
|
+
*/
|
|
4477
|
+
post: Repositories_UnArchiveRepo;
|
|
4478
|
+
};
|
|
3003
4479
|
};
|
|
3004
|
-
|
|
3005
4480
|
stars: {
|
|
3006
4481
|
/***
|
|
3007
4482
|
* 获取指定仓库的star用户列表。Get the list of users who starred the specified repository.
|
|
@@ -3013,7 +4488,6 @@ export interface Client {
|
|
|
3013
4488
|
*/
|
|
3014
4489
|
get: Starring_ListStarUsers;
|
|
3015
4490
|
};
|
|
3016
|
-
|
|
3017
4491
|
topActivityUsers: {
|
|
3018
4492
|
/***
|
|
3019
4493
|
* 获取 top 贡献用户。List the top contributing users
|
|
@@ -3025,7 +4499,17 @@ export interface Client {
|
|
|
3025
4499
|
*/
|
|
3026
4500
|
list: Collaborators_TopContributors;
|
|
3027
4501
|
};
|
|
3028
|
-
|
|
4502
|
+
transfer: {
|
|
4503
|
+
/***
|
|
4504
|
+
* 转移仓库
|
|
4505
|
+
*
|
|
4506
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4507
|
+
* repo-manage:rw,repo-code:rw
|
|
4508
|
+
*
|
|
4509
|
+
* /{repo}/-/transfer
|
|
4510
|
+
*/
|
|
4511
|
+
post: Repositories_TransferRepo;
|
|
4512
|
+
};
|
|
3029
4513
|
upload: {
|
|
3030
4514
|
files: {
|
|
3031
4515
|
/***
|
|
@@ -3038,7 +4522,6 @@ export interface Client {
|
|
|
3038
4522
|
*/
|
|
3039
4523
|
post: Assets_UploadFiles;
|
|
3040
4524
|
};
|
|
3041
|
-
|
|
3042
4525
|
imgs: {
|
|
3043
4526
|
/***
|
|
3044
4527
|
* 发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form 内容。发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form 内容.
|
|
@@ -3050,7 +4533,6 @@ export interface Client {
|
|
|
3050
4533
|
*/
|
|
3051
4534
|
post: Assets_UploadImgs;
|
|
3052
4535
|
};
|
|
3053
|
-
|
|
3054
4536
|
releases: {
|
|
3055
4537
|
/***
|
|
3056
4538
|
* 发起一个上传 release 附件的请求,返回上传 cos 的 url 。Initiate a request to upload release attachments,
|
|
@@ -3063,7 +4545,6 @@ export interface Client {
|
|
|
3063
4545
|
post: Assets_UploadReleases;
|
|
3064
4546
|
};
|
|
3065
4547
|
};
|
|
3066
|
-
|
|
3067
4548
|
workspace: {
|
|
3068
4549
|
detail: {
|
|
3069
4550
|
/***
|
|
@@ -3076,9 +4557,19 @@ export interface Client {
|
|
|
3076
4557
|
*/
|
|
3077
4558
|
get: Workspace_GetWorkspaceDetail;
|
|
3078
4559
|
};
|
|
4560
|
+
start: {
|
|
4561
|
+
/***
|
|
4562
|
+
* 启动云原生开发环境,已存在环境则直接打开,否则重新创建开发环境。Start cloud-native dev. Opens existing env or creates a new one.
|
|
4563
|
+
*
|
|
4564
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4565
|
+
* repo-cnb-trigger:rw
|
|
4566
|
+
*
|
|
4567
|
+
* /{repo}/-/workspace/start
|
|
4568
|
+
*/
|
|
4569
|
+
post: Workspace_StartWorkspace;
|
|
4570
|
+
};
|
|
3079
4571
|
};
|
|
3080
4572
|
};
|
|
3081
|
-
|
|
3082
4573
|
slug: {
|
|
3083
4574
|
packages: {
|
|
3084
4575
|
/***
|
|
@@ -3101,44 +4592,6 @@ export interface Client {
|
|
|
3101
4592
|
*/
|
|
3102
4593
|
head: Artifactory_HeadPackages;
|
|
3103
4594
|
|
|
3104
|
-
type: {
|
|
3105
|
-
quota: {
|
|
3106
|
-
/***
|
|
3107
|
-
* 查询制品配额。 Get quota of specific registry.
|
|
3108
|
-
*
|
|
3109
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3110
|
-
* registry-package:r
|
|
3111
|
-
*
|
|
3112
|
-
* /{slug}/-/packages/{type}/-/quota
|
|
3113
|
-
*/
|
|
3114
|
-
get: Artifactory_GetQuotaByProjectName;
|
|
3115
|
-
};
|
|
3116
|
-
|
|
3117
|
-
quotas: {
|
|
3118
|
-
/***
|
|
3119
|
-
* 查询全部制品配额。 Get quotas of packages under one registry.
|
|
3120
|
-
*
|
|
3121
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3122
|
-
* registry-package:r
|
|
3123
|
-
*
|
|
3124
|
-
* /{slug}/-/packages/{type}/-/quotas
|
|
3125
|
-
*/
|
|
3126
|
-
list: Artifactory_GetQuotasByProjectName;
|
|
3127
|
-
|
|
3128
|
-
download: {
|
|
3129
|
-
/***
|
|
3130
|
-
* 下载制品配额信息。 Download registry quota details.
|
|
3131
|
-
*
|
|
3132
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3133
|
-
* registry-package:r
|
|
3134
|
-
*
|
|
3135
|
-
* /{slug}/-/packages/{type}/-/quotas/download
|
|
3136
|
-
*/
|
|
3137
|
-
list: Artifactory_DownloadQuotasByProjectName;
|
|
3138
|
-
};
|
|
3139
|
-
};
|
|
3140
|
-
};
|
|
3141
|
-
|
|
3142
4595
|
/***
|
|
3143
4596
|
* 获取某一制品的详细信息。 Get the package detail.
|
|
3144
4597
|
*
|
|
@@ -3148,7 +4601,6 @@ export interface Client {
|
|
|
3148
4601
|
* /{slug}/-/packages/{type}/{name}
|
|
3149
4602
|
*/
|
|
3150
4603
|
get: Artifactory_GetPackage;
|
|
3151
|
-
|
|
3152
4604
|
name: {
|
|
3153
4605
|
tag: {
|
|
3154
4606
|
/***
|
|
@@ -3172,7 +4624,6 @@ export interface Client {
|
|
|
3172
4624
|
get: Artifactory_GetPackageTagDetail;
|
|
3173
4625
|
};
|
|
3174
4626
|
};
|
|
3175
|
-
|
|
3176
4627
|
pkgname: {
|
|
3177
4628
|
tags: {
|
|
3178
4629
|
/***
|
|
@@ -3187,8 +4638,42 @@ export interface Client {
|
|
|
3187
4638
|
};
|
|
3188
4639
|
};
|
|
3189
4640
|
};
|
|
4641
|
+
registry: {
|
|
4642
|
+
quota: {
|
|
4643
|
+
/***
|
|
4644
|
+
* 查询制品配额。 Get quota of specific registry.
|
|
4645
|
+
*
|
|
4646
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4647
|
+
* registry-package:r
|
|
4648
|
+
*
|
|
4649
|
+
* /{slug}/-/registry/-/quota
|
|
4650
|
+
*/
|
|
4651
|
+
get: Artifactory_GetRegistryQuota;
|
|
4652
|
+
};
|
|
4653
|
+
quotas: {
|
|
4654
|
+
/***
|
|
4655
|
+
* 查询全部制品配额。 Get quotas of packages under one registry.
|
|
4656
|
+
*
|
|
4657
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4658
|
+
* registry-package:r
|
|
4659
|
+
*
|
|
4660
|
+
* /{slug}/-/registry/-/quotas
|
|
4661
|
+
*/
|
|
4662
|
+
list: Artifactory_GetRegistryQuotas;
|
|
4663
|
+
download: {
|
|
4664
|
+
/***
|
|
4665
|
+
* 下载制品配额信息。 Download registry quota details.
|
|
4666
|
+
*
|
|
4667
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4668
|
+
* registry-package:r
|
|
4669
|
+
*
|
|
4670
|
+
* /{slug}/-/registry/-/quotas/download
|
|
4671
|
+
*/
|
|
4672
|
+
list: Artifactory_DownloadRegistryQuotas;
|
|
4673
|
+
};
|
|
4674
|
+
};
|
|
4675
|
+
};
|
|
3190
4676
|
};
|
|
3191
|
-
|
|
3192
4677
|
Organizations: {
|
|
3193
4678
|
CreateOrganization: Organizations_CreateOrganization;
|
|
3194
4679
|
ListTopGroups: Organizations_ListTopGroups;
|
|
@@ -3197,19 +4682,17 @@ export interface Client {
|
|
|
3197
4682
|
DeleteOrganization: Organizations_DeleteOrganization;
|
|
3198
4683
|
GetGroup: Organizations_GetGroup;
|
|
3199
4684
|
UpdateOrganization: Organizations_UpdateOrganization;
|
|
3200
|
-
UpdateGroupAvatar: Organizations_UpdateGroupAvatar;
|
|
3201
4685
|
GetGroupSetting: Organizations_GetGroupSetting;
|
|
3202
4686
|
UpdateGroupSetting: Organizations_UpdateGroupSetting;
|
|
3203
4687
|
ListSubgroups: Organizations_ListSubgroups;
|
|
4688
|
+
TransferGroup: Organizations_TransferGroup;
|
|
3204
4689
|
};
|
|
3205
|
-
|
|
3206
4690
|
Users: {
|
|
3207
4691
|
GetUserInfo: Users_GetUserInfo;
|
|
3208
4692
|
UpdateUserInfo: Users_UpdateUserInfo;
|
|
3209
4693
|
AutoCompleteSource: Users_AutoCompleteSource;
|
|
3210
4694
|
GetUserInfoByName: Users_GetUserInfoByName;
|
|
3211
4695
|
};
|
|
3212
|
-
|
|
3213
4696
|
Repositories: {
|
|
3214
4697
|
GetRepos: Repositories_GetRepos;
|
|
3215
4698
|
GetUserAllStaredRepos: Repositories_GetUserAllStaredRepos;
|
|
@@ -3220,50 +4703,32 @@ export interface Client {
|
|
|
3220
4703
|
GetGroupSubRepos: Repositories_GetGroupSubRepos;
|
|
3221
4704
|
CreateRepo: Repositories_CreateRepo;
|
|
3222
4705
|
DeleteRepo: Repositories_DeleteRepo;
|
|
3223
|
-
|
|
4706
|
+
GetByID: Repositories_GetByID;
|
|
3224
4707
|
UpdateRepo: Repositories_UpdateRepo;
|
|
3225
4708
|
ListForksRepos: Repositories_ListForksRepos;
|
|
3226
4709
|
CreateAFork: Repositories_CreateAFork;
|
|
4710
|
+
ArchiveRepo: Repositories_ArchiveRepo;
|
|
4711
|
+
UnArchiveRepo: Repositories_UnArchiveRepo;
|
|
4712
|
+
TransferRepo: Repositories_TransferRepo;
|
|
3227
4713
|
};
|
|
3228
|
-
|
|
3229
4714
|
Activities: {
|
|
3230
4715
|
GetUserActivitiesByDate: Activities_GetUserActivitiesByDate;
|
|
3231
4716
|
GetUserRepoActivityDetails: Activities_GetUserRepoActivityDetails;
|
|
3232
4717
|
};
|
|
3233
|
-
|
|
3234
|
-
Assets: {
|
|
3235
|
-
GetUserAvatar: Assets_GetUserAvatar;
|
|
3236
|
-
PutLogos: Assets_PutLogos;
|
|
3237
|
-
GetLogos: Assets_GetLogos;
|
|
3238
|
-
UploadLogos: Assets_UploadLogos;
|
|
3239
|
-
GetCommitAssets: Assets_GetCommitAssets;
|
|
3240
|
-
GetFiles: Assets_GetFiles;
|
|
3241
|
-
PutFiles: Assets_PutFiles;
|
|
3242
|
-
GetImgs: Assets_GetImgs;
|
|
3243
|
-
PutImgs: Assets_PutImgs;
|
|
3244
|
-
GetReleasesAsset: Assets_GetReleasesAsset;
|
|
3245
|
-
GetLatestReleasesAsset: Assets_GetLatestReleasesAsset;
|
|
3246
|
-
UploadFiles: Assets_UploadFiles;
|
|
3247
|
-
UploadImgs: Assets_UploadImgs;
|
|
3248
|
-
UploadReleases: Assets_UploadReleases;
|
|
3249
|
-
};
|
|
3250
|
-
|
|
3251
4718
|
Followers: {
|
|
3252
4719
|
GetFollowersByUserID: Followers_GetFollowersByUserID;
|
|
3253
4720
|
GetFollowingByUserID: Followers_GetFollowingByUserID;
|
|
3254
4721
|
};
|
|
3255
|
-
|
|
3256
4722
|
Starring: {
|
|
3257
4723
|
GetUserStaredRepos: Starring_GetUserStaredRepos;
|
|
3258
4724
|
ListStarUsers: Starring_ListStarUsers;
|
|
3259
4725
|
};
|
|
3260
|
-
|
|
3261
4726
|
Workspace: {
|
|
3262
4727
|
DeleteWorkspace: Workspace_DeleteWorkspace;
|
|
3263
4728
|
ListWorkspaces: Workspace_ListWorkspaces;
|
|
3264
4729
|
GetWorkspaceDetail: Workspace_GetWorkspaceDetail;
|
|
4730
|
+
StartWorkspace: Workspace_StartWorkspace;
|
|
3265
4731
|
};
|
|
3266
|
-
|
|
3267
4732
|
Collaborators: {
|
|
3268
4733
|
ListInheritMembersOfGroup: Collaborators_ListInheritMembersOfGroup;
|
|
3269
4734
|
ListMembersOfGroup: Collaborators_ListMembersOfGroup;
|
|
@@ -3283,42 +4748,47 @@ export interface Client {
|
|
|
3283
4748
|
UpdateOutsideCollaborators: Collaborators_UpdateOutsideCollaborators;
|
|
3284
4749
|
TopContributors: Collaborators_TopContributors;
|
|
3285
4750
|
};
|
|
3286
|
-
|
|
3287
4751
|
Contributors: {
|
|
3288
4752
|
GetMemberAccessLevelOfGroup: Contributors_GetMemberAccessLevelOfGroup;
|
|
3289
4753
|
ListMemberAccessLevelOfGroup: Contributors_ListMemberAccessLevelOfGroup;
|
|
3290
4754
|
GetMemberAccessLevelOfRepo: Contributors_GetMemberAccessLevelOfRepo;
|
|
3291
4755
|
ListMemberAccessLevelOfRepo: Contributors_ListMemberAccessLevelOfRepo;
|
|
3292
4756
|
};
|
|
3293
|
-
|
|
3294
4757
|
Missions: {
|
|
4758
|
+
CreateMission: Missions_CreateMission;
|
|
3295
4759
|
DeleteMission: Missions_DeleteMission;
|
|
3296
4760
|
};
|
|
3297
|
-
|
|
4761
|
+
Assets: {
|
|
4762
|
+
UploadLogos: Assets_UploadLogos;
|
|
4763
|
+
GetCommitAssets: Assets_GetCommitAssets;
|
|
4764
|
+
GetReleasesAsset: Assets_GetReleasesAsset;
|
|
4765
|
+
GetLatestReleasesAsset: Assets_GetLatestReleasesAsset;
|
|
4766
|
+
UploadFiles: Assets_UploadFiles;
|
|
4767
|
+
UploadImgs: Assets_UploadImgs;
|
|
4768
|
+
UploadReleases: Assets_UploadReleases;
|
|
4769
|
+
};
|
|
3298
4770
|
Artifactory: {
|
|
3299
4771
|
DeleteRegistry: Artifactory_DeleteRegistry;
|
|
3300
4772
|
ListPackages: Artifactory_ListPackages;
|
|
3301
4773
|
HeadPackages: Artifactory_HeadPackages;
|
|
3302
|
-
GetQuotaByProjectName: Artifactory_GetQuotaByProjectName;
|
|
3303
|
-
GetQuotasByProjectName: Artifactory_GetQuotasByProjectName;
|
|
3304
|
-
DownloadQuotasByProjectName: Artifactory_DownloadQuotasByProjectName;
|
|
3305
4774
|
GetPackage: Artifactory_GetPackage;
|
|
3306
4775
|
DeletePackageTag: Artifactory_DeletePackageTag;
|
|
3307
4776
|
GetPackageTagDetail: Artifactory_GetPackageTagDetail;
|
|
3308
4777
|
ListPackageTags: Artifactory_ListPackageTags;
|
|
4778
|
+
GetRegistryQuota: Artifactory_GetRegistryQuota;
|
|
4779
|
+
GetRegistryQuotas: Artifactory_GetRegistryQuotas;
|
|
4780
|
+
DownloadRegistryQuotas: Artifactory_DownloadRegistryQuotas;
|
|
3309
4781
|
};
|
|
3310
|
-
|
|
3311
4782
|
Build: {
|
|
3312
4783
|
GetBuildLogs: Build_GetBuildLogs;
|
|
4784
|
+
GetBuildStage: Build_GetBuildStage;
|
|
3313
4785
|
StartBuild: Build_StartBuild;
|
|
3314
4786
|
GetBuildStatus: Build_GetBuildStatus;
|
|
3315
4787
|
StopBuild: Build_StopBuild;
|
|
3316
4788
|
};
|
|
3317
|
-
|
|
3318
4789
|
RepoContributor: {
|
|
3319
4790
|
GetRepoContributorTrend: RepoContributor_GetRepoContributorTrend;
|
|
3320
4791
|
};
|
|
3321
|
-
|
|
3322
4792
|
Git: {
|
|
3323
4793
|
GetArchiveCommitChangedFiles: Git_GetArchiveCommitChangedFiles;
|
|
3324
4794
|
GetArchiveCompareChangedFiles: Git_GetArchiveCompareChangedFiles;
|
|
@@ -3351,7 +4821,6 @@ export interface Client {
|
|
|
3351
4821
|
GetTag: Git_GetTag;
|
|
3352
4822
|
GetPresignedLFSDownloadLink: Git_GetPresignedLFSDownloadLink;
|
|
3353
4823
|
};
|
|
3354
|
-
|
|
3355
4824
|
Issues: {
|
|
3356
4825
|
ListIssues: Issues_ListIssues;
|
|
3357
4826
|
CreateIssue: Issues_CreateIssue;
|
|
@@ -3359,6 +4828,7 @@ export interface Client {
|
|
|
3359
4828
|
UpdateIssue: Issues_UpdateIssue;
|
|
3360
4829
|
DeleteIssueAssignees: Issues_DeleteIssueAssignees;
|
|
3361
4830
|
ListIssueAssignees: Issues_ListIssueAssignees;
|
|
4831
|
+
PatchIssueAssignees: Issues_PatchIssueAssignees;
|
|
3362
4832
|
PostIssueAssignees: Issues_PostIssueAssignees;
|
|
3363
4833
|
CanUserBeAssignedToIssue: Issues_CanUserBeAssignedToIssue;
|
|
3364
4834
|
ListIssueComments: Issues_ListIssueComments;
|
|
@@ -3371,14 +4841,18 @@ export interface Client {
|
|
|
3371
4841
|
PutIssueLabels: Issues_PutIssueLabels;
|
|
3372
4842
|
DeleteIssueLabel: Issues_DeleteIssueLabel;
|
|
3373
4843
|
};
|
|
3374
|
-
|
|
4844
|
+
KnowledgeBase: {
|
|
4845
|
+
DeleteKnowledgeBase: KnowledgeBase_DeleteKnowledgeBase;
|
|
4846
|
+
GetKnowledgeBaseInfo: KnowledgeBase_GetKnowledgeBaseInfo;
|
|
4847
|
+
QueryKnowledgeBase: KnowledgeBase_QueryKnowledgeBase;
|
|
4848
|
+
GetModels: KnowledgeBase_GetModels;
|
|
4849
|
+
};
|
|
3375
4850
|
RepoLabels: {
|
|
3376
4851
|
ListLabels: RepoLabels_ListLabels;
|
|
3377
4852
|
PostLabel: RepoLabels_PostLabel;
|
|
3378
4853
|
DeleteLabel: RepoLabels_DeleteLabel;
|
|
3379
4854
|
PatchLabel: RepoLabels_PatchLabel;
|
|
3380
4855
|
};
|
|
3381
|
-
|
|
3382
4856
|
Pulls: {
|
|
3383
4857
|
ListPullsByNumbers: Pulls_ListPullsByNumbers;
|
|
3384
4858
|
ListPulls: Pulls_ListPulls;
|
|
@@ -3389,6 +4863,7 @@ export interface Client {
|
|
|
3389
4863
|
ListPullAssignees: Pulls_ListPullAssignees;
|
|
3390
4864
|
PostPullAssignees: Pulls_PostPullAssignees;
|
|
3391
4865
|
CanUserBeAssignedToPull: Pulls_CanUserBeAssignedToPull;
|
|
4866
|
+
CherryPickPullRequest: Pulls_CherryPickPullRequest;
|
|
3392
4867
|
ListPullComments: Pulls_ListPullComments;
|
|
3393
4868
|
PostPullComment: Pulls_PostPullComment;
|
|
3394
4869
|
DeletePullLabels: Pulls_DeletePullLabels;
|
|
@@ -3397,9 +4872,9 @@ export interface Client {
|
|
|
3397
4872
|
PutPullLabels: Pulls_PutPullLabels;
|
|
3398
4873
|
DeletePullLabel: Pulls_DeletePullLabel;
|
|
3399
4874
|
MergePull: Pulls_MergePull;
|
|
4875
|
+
RevertPullRequest: Pulls_RevertPullRequest;
|
|
3400
4876
|
PostPullReview: Pulls_PostPullReview;
|
|
3401
4877
|
};
|
|
3402
|
-
|
|
3403
4878
|
Releases: {
|
|
3404
4879
|
ListReleases: Releases_ListReleases;
|
|
3405
4880
|
PostRelease: Releases_PostRelease;
|
|
@@ -3413,7 +4888,6 @@ export interface Client {
|
|
|
3413
4888
|
DeleteReleaseAsset: Releases_DeleteReleaseAsset;
|
|
3414
4889
|
GetReleaseAsset: Releases_GetReleaseAsset;
|
|
3415
4890
|
};
|
|
3416
|
-
|
|
3417
4891
|
GitSettings: {
|
|
3418
4892
|
ListBranchProtections: GitSettings_ListBranchProtections;
|
|
3419
4893
|
PostBranchProtection: GitSettings_PostBranchProtection;
|
|
@@ -3428,3 +4902,8 @@ export interface Client {
|
|
|
3428
4902
|
PutPushLimitSettings: GitSettings_PutPushLimitSettings;
|
|
3429
4903
|
};
|
|
3430
4904
|
}
|
|
4905
|
+
//#endregion
|
|
4906
|
+
//#region src/index.d.ts
|
|
4907
|
+
declare const getClient: (baseUrl: string, token: string) => Client;
|
|
4908
|
+
//#endregion
|
|
4909
|
+
export { getClient };
|