node-cnb 1.20.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +8568 -0
- package/dist/{index.d.ts → index.d.cts} +920 -1542
- package/dist/index.d.mts +920 -1542
- package/dist/index.mjs +7834 -7747
- package/dist/paths.json +713 -337
- package/package.json +13 -6
- package/dist/index.js +0 -8475
|
@@ -1,738 +1,505 @@
|
|
|
1
1
|
//#region src/types.d.ts
|
|
2
|
-
|
|
3
2
|
type ApiBranch = {
|
|
4
|
-
commit: {
|
|
5
|
-
sha: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
3
|
+
/**分支指向的最新提交信息。*/commit: {
|
|
4
|
+
/**最新提交的哈希值。*/sha: string;
|
|
5
|
+
}; /**分支是否被锁定。*/
|
|
6
|
+
locked: boolean; /**分支名称。*/
|
|
7
|
+
name: string; /**分支是否是保护分支。*/
|
|
8
8
|
protected: boolean;
|
|
9
9
|
};
|
|
10
10
|
type ApiBranchDetail = {
|
|
11
|
-
commit:
|
|
12
|
-
|
|
11
|
+
/**分支指向的最新提交信息。*/commit: any; /**分支是否被锁定。*/
|
|
12
|
+
locked: boolean; /**分支名称。*/
|
|
13
|
+
name: string; /**分支是否是保护分支。*/
|
|
13
14
|
protected: boolean;
|
|
14
15
|
};
|
|
15
16
|
type ApiBranchProtection = {
|
|
16
|
-
/**是否允许所有人创建保护分支。*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
/**是否允许仓库管理员及负责人手动合并到目标分支。*/
|
|
35
|
-
allow_master_manual_merge: boolean;
|
|
36
|
-
|
|
37
|
-
/**是否仅允许仓库管理员及负责人推送代码到保护分支中。*/
|
|
38
|
-
allow_master_pushes: boolean;
|
|
39
|
-
|
|
40
|
-
/**是否允许所有人推送代码到保护分支中。*/
|
|
41
|
-
allow_pushes: boolean;
|
|
42
|
-
|
|
43
|
-
/**保护分支规则唯一标识符。*/
|
|
44
|
-
id: string;
|
|
45
|
-
|
|
46
|
-
/**需要的代码评审者数量。格式:`评审者数量 ∈ [1,5]`*/
|
|
47
|
-
required_approved_review_count: number;
|
|
48
|
-
|
|
49
|
-
/**需要的评审通过率。格式:`通过率 ∈ [1, 100]`*/
|
|
50
|
-
required_approved_review_ratio: number;
|
|
51
|
-
|
|
52
|
-
/**是否仅允许线性提交。*/
|
|
53
|
-
required_linear_history: boolean;
|
|
54
|
-
|
|
55
|
-
/**是否需至少一个仓库管理员批准。*/
|
|
56
|
-
required_master_approve: boolean;
|
|
57
|
-
|
|
58
|
-
/**是否仅允许自动合并。*/
|
|
59
|
-
required_must_auto_merge: boolean;
|
|
60
|
-
|
|
61
|
-
/**是否必须通过合并请求推送代码到此规则匹配分支中。*/
|
|
62
|
-
required_must_push_via_pull_request: boolean;
|
|
63
|
-
|
|
64
|
-
/**保护分支的合并请求是否需要代码评审。*/
|
|
65
|
-
required_pull_request_reviews: boolean;
|
|
66
|
-
|
|
67
|
-
/**是否需要通过状态检查。*/
|
|
68
|
-
required_status_checks: boolean;
|
|
69
|
-
|
|
70
|
-
/**保护分支规则名称,支持通配符。*/
|
|
17
|
+
/**是否允许所有人创建保护分支。*/allow_creation: boolean; /**是否允许所有人删除保护分支。*/
|
|
18
|
+
allow_deletions: boolean; /**是否允许所有人强制推送。*/
|
|
19
|
+
allow_force_pushes: boolean; /**是否仅允许仓库管理员及负责人创建保护分支。*/
|
|
20
|
+
allow_master_creation: boolean; /**是否仅允许仓库管理员及负责人删除保护分支。*/
|
|
21
|
+
allow_master_deletions: boolean; /**是否仅允许仓库管理员及负责人强制推送。*/
|
|
22
|
+
allow_master_force_pushes: boolean; /**是否允许仓库管理员及负责人手动合并到目标分支。*/
|
|
23
|
+
allow_master_manual_merge: boolean; /**是否仅允许仓库管理员及负责人推送代码到保护分支中。*/
|
|
24
|
+
allow_master_pushes: boolean; /**是否允许所有人推送代码到保护分支中。*/
|
|
25
|
+
allow_pushes: boolean; /**保护分支规则唯一标识符。*/
|
|
26
|
+
id: string; /**需要的代码评审者数量。格式:`评审者数量 ∈ [1,5]`*/
|
|
27
|
+
required_approved_review_count: number; /**需要的评审通过率。格式:`通过率 ∈ [1, 100]`*/
|
|
28
|
+
required_approved_review_ratio: number; /**是否仅允许线性提交。*/
|
|
29
|
+
required_linear_history: boolean; /**是否需至少一个仓库管理员批准。*/
|
|
30
|
+
required_master_approve: boolean; /**是否仅允许自动合并。*/
|
|
31
|
+
required_must_auto_merge: boolean; /**是否必须通过合并请求推送代码到此规则匹配分支中。*/
|
|
32
|
+
required_must_push_via_pull_request: boolean; /**保护分支的合并请求是否需要代码评审。*/
|
|
33
|
+
required_pull_request_reviews: boolean; /**是否需要通过状态检查。*/
|
|
34
|
+
required_status_checks: boolean; /**保护分支规则名称,支持通配符。*/
|
|
71
35
|
rule: string;
|
|
72
36
|
};
|
|
73
37
|
type ApiCommit = {
|
|
74
|
-
author:
|
|
75
|
-
commit:
|
|
76
|
-
committer:
|
|
77
|
-
parents: ApiCommitParent[];
|
|
38
|
+
/**提交的作者信息。*/author: any; /**提交的详细信息。*/
|
|
39
|
+
commit: any; /**提交的提交者信息。*/
|
|
40
|
+
committer: any; /**父提交列表。*/
|
|
41
|
+
parents: ApiCommitParent[]; /**提交的哈希值。*/
|
|
78
42
|
sha: string;
|
|
79
43
|
};
|
|
80
44
|
type ApiCommitAsset = {
|
|
81
|
-
author:
|
|
82
|
-
content_type: string;
|
|
83
|
-
created_at: string;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
45
|
+
/**提交附件作者信息。*/author: any; /**附件内容类型。*/
|
|
46
|
+
content_type: string; /**附件创建时间。*/
|
|
47
|
+
created_at: string; /**下载次数。*/
|
|
48
|
+
download_count: number; /**附件唯一标识符。*/
|
|
49
|
+
id: string; /**附件名称。*/
|
|
50
|
+
name: string; /**附件路径。*/
|
|
51
|
+
path: string; /**附件大小(字节)。*/
|
|
52
|
+
size_in_byte: number; /**附件更新时间。*/
|
|
88
53
|
updated_at: string;
|
|
89
54
|
};
|
|
90
55
|
type ApiCommitDiffFilePatch = {
|
|
91
|
-
additions: number;
|
|
92
|
-
deletions: number;
|
|
93
|
-
mode: string;
|
|
94
|
-
name: string;
|
|
95
|
-
patch: string;
|
|
96
|
-
path: string;
|
|
97
|
-
previous_filename: string;
|
|
98
|
-
previous_mode: string;
|
|
56
|
+
/**新增行数。*/additions: number; /**删除行数。*/
|
|
57
|
+
deletions: number; /**文件权限模式。*/
|
|
58
|
+
mode: string; /**文件名。*/
|
|
59
|
+
name: string; /**Git差异补丁内容。*/
|
|
60
|
+
patch: string; /**文件路径。*/
|
|
61
|
+
path: string; /**重命名前的原文件名。*/
|
|
62
|
+
previous_filename: string; /**重命名前的文件权限模式。*/
|
|
63
|
+
previous_mode: string; /**文件变更状态。枚举值:`added`,`modified`,`deleted`,`renamed`,`copied`*/
|
|
99
64
|
status: string;
|
|
100
65
|
};
|
|
101
|
-
type ApiCommitObject = {
|
|
102
|
-
author: ApiSignature;
|
|
103
|
-
comment_count: number;
|
|
104
|
-
committer: ApiSignature;
|
|
105
|
-
message: string;
|
|
106
|
-
tree: ApiCommitObjectTree;
|
|
107
|
-
verification: ApiCommitObjectVerification;
|
|
108
|
-
};
|
|
109
|
-
type ApiCommitObjectTree = {
|
|
110
|
-
sha: string;
|
|
111
|
-
};
|
|
112
|
-
type ApiCommitObjectVerification = {
|
|
113
|
-
payload: string;
|
|
114
|
-
reason: string;
|
|
115
|
-
signature: string;
|
|
116
|
-
verified: boolean;
|
|
117
|
-
verified_at: string;
|
|
118
|
-
};
|
|
119
66
|
type ApiCommitParent = {
|
|
120
|
-
sha: string;
|
|
67
|
+
/**父提交的哈希值。*/sha: string;
|
|
121
68
|
};
|
|
122
69
|
type ApiCommitStatuses = {
|
|
123
|
-
sha: string;
|
|
124
|
-
state: string;
|
|
70
|
+
/**提交的哈希值。*/sha: string; /**整体提交状态。*/
|
|
71
|
+
state: string; /**具体的提交状态检查列表。*/
|
|
125
72
|
statuses: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus[];
|
|
126
73
|
};
|
|
127
74
|
type ApiCompareResponse = {
|
|
128
|
-
base_commit:
|
|
129
|
-
commits: ApiCommit[];
|
|
130
|
-
files: ApiCommitDiffFilePatch[];
|
|
131
|
-
head_commit:
|
|
132
|
-
merge_base_commit:
|
|
75
|
+
/**基准对比提交。*/base_commit: any; /**提交列表。*/
|
|
76
|
+
commits: ApiCommit[]; /**文件差异列表。*/
|
|
77
|
+
files: ApiCommitDiffFilePatch[]; /**源分支最新提交。*/
|
|
78
|
+
head_commit: any; /**共同祖先提交。*/
|
|
79
|
+
merge_base_commit: any; /**总提交数。*/
|
|
133
80
|
total_commits: number;
|
|
134
81
|
};
|
|
135
82
|
type ApiContent = {
|
|
136
|
-
content: string;
|
|
137
|
-
encoding: string;
|
|
138
|
-
entries: ApiTreeEntry[];
|
|
139
|
-
lfs_download_url: string;
|
|
140
|
-
lfs_oid: string;
|
|
141
|
-
lfs_size: number;
|
|
142
|
-
name: string;
|
|
143
|
-
path: string;
|
|
144
|
-
sha: string;
|
|
145
|
-
size: number;
|
|
83
|
+
/**当内容为text时的实际内容(base64编码)。*/content: string; /**内容编码方式,仅当内容类型为blob时有效。枚举值:`base64`*/
|
|
84
|
+
encoding: string; /**子项列表,当内容类型为tree时返回,否则为空。*/
|
|
85
|
+
entries: ApiTreeEntry[]; /**LFS对象的下载URL,仅当内容类型为lfs时有效。*/
|
|
86
|
+
lfs_download_url: string; /**LFS对象的唯一标识符,仅当内容类型为lfs时有效。*/
|
|
87
|
+
lfs_oid: string; /**LFS对象的大小(字节),仅当内容类型为lfs时有效。*/
|
|
88
|
+
lfs_size: number; /**内容名称(文件名或目录名)。*/
|
|
89
|
+
name: string; /**内容在仓库中的完整路径。*/
|
|
90
|
+
path: string; /**Git对象的哈希值。*/
|
|
91
|
+
sha: string; /**内容大小(字节)。*/
|
|
92
|
+
size: number; /**内容类型。枚举值:`tree`、`blob`、`lfs`、`empty`*/
|
|
146
93
|
type: string;
|
|
147
94
|
};
|
|
148
95
|
type ApiDeleteIssueAssigneesForm = {
|
|
149
|
-
assignees: string[];
|
|
96
|
+
/**Issue处理人用户名列表,最大限制为8。示例:`["zhangsan", "lisi"]`*/assignees: string[];
|
|
150
97
|
};
|
|
151
98
|
type ApiDeletePullAssigneesForm = {
|
|
152
|
-
assignees: string[];
|
|
99
|
+
/**合并请求的处理人用户列表。*/assignees: string[];
|
|
153
100
|
};
|
|
154
101
|
type ApiDiffLine = {
|
|
155
|
-
content: string;
|
|
156
|
-
left_line_number: number;
|
|
157
|
-
prefix: string;
|
|
158
|
-
right_line_number: number;
|
|
102
|
+
/**实际内容文本。*/content: string; /**左侧(原版本)的行号。*/
|
|
103
|
+
left_line_number: number; /**差异行的前缀符号。*/
|
|
104
|
+
prefix: string; /**右侧(新版本)的行号。*/
|
|
105
|
+
right_line_number: number; /**枚举值:`context`,`addition`,`deletion`,`context_eofnl`,`add_eofnl`,`del_eofnl`,`file_header`,`hunk_header`,`binary`*/
|
|
159
106
|
type: string;
|
|
160
107
|
};
|
|
161
108
|
type ApiIssue = {
|
|
162
|
-
assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
163
|
-
author:
|
|
164
|
-
comment_count: number;
|
|
165
|
-
created_at: string;
|
|
166
|
-
ended_at: string;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
109
|
+
/**Issue处理人列表,最多支持8个处理人。*/assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]; /**Issue创建者信息。*/
|
|
110
|
+
author: any; /**Issue评论数量。*/
|
|
111
|
+
comment_count: number; /**Issue创建时间。*/
|
|
112
|
+
created_at: string; /**Issue结束日期。*/
|
|
113
|
+
ended_at: string; /**Issue是否可见。*/
|
|
114
|
+
invisible: boolean; /**Issue标签列表,最多支持10个标签。*/
|
|
115
|
+
labels: ApiLabel[]; /**Issue最后活动时间。*/
|
|
116
|
+
last_acted_at: string; /**Issue的唯一标识编号。*/
|
|
117
|
+
number: string; /**Issue优先级。枚举值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
118
|
+
priority: string; /**Issue开始日期。*/
|
|
119
|
+
started_at: string; /**Issue状态。枚举值:`open`,`closed`*/
|
|
120
|
+
state: string; /**状态变更原因。枚举值:`open`,`completed`,`not_planned`,`reopened`*/
|
|
121
|
+
state_reason: string; /**Issue标题,长度限制2-255字符。*/
|
|
122
|
+
title: string; /**Issue最后更新时间。*/
|
|
175
123
|
updated_at: string;
|
|
176
124
|
};
|
|
177
125
|
type ApiIssueComment = {
|
|
178
|
-
author:
|
|
179
|
-
body: string;
|
|
180
|
-
created_at: string;
|
|
181
|
-
id: string;
|
|
126
|
+
/**发表评论的用户信息。*/author: any; /**评论的内容。*/
|
|
127
|
+
body: string; /**评论的创建时间。*/
|
|
128
|
+
created_at: string; /**评论的唯一标识符。*/
|
|
129
|
+
id: string; /**Reaction 数量列表。*/
|
|
130
|
+
reactions: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiSceneReaction[]; /**评论的更新时间。*/
|
|
182
131
|
updated_at: string;
|
|
183
132
|
};
|
|
184
133
|
type ApiIssueDetail = {
|
|
185
|
-
assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
186
|
-
author:
|
|
187
|
-
body: string;
|
|
188
|
-
comment_count: number;
|
|
189
|
-
created_at: string;
|
|
190
|
-
ended_at: string;
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
134
|
+
/**Issue处理人列表,最多支持8个处理人。*/assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]; /**Issue创建者信息。*/
|
|
135
|
+
author: any; /**Issue内容正文。*/
|
|
136
|
+
body: string; /**Issue评论数量。*/
|
|
137
|
+
comment_count: number; /**Issue创建时间。*/
|
|
138
|
+
created_at: string; /**Issue结束日期。*/
|
|
139
|
+
ended_at: string; /**Issue是否可见。*/
|
|
140
|
+
invisible: boolean; /**Issue标签列表,最多支持10个标签。*/
|
|
141
|
+
labels: ApiLabel[]; /**Issue最后活动时间。*/
|
|
142
|
+
last_acted_at: string; /**Issue的唯一标识编号。*/
|
|
143
|
+
number: string; /**Issue优先级。枚举值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
144
|
+
priority: string; /**Issue开始日期。*/
|
|
145
|
+
started_at: string; /**Issue状态。枚举值:`open`,`closed`*/
|
|
146
|
+
state: string; /**状态变更原因。枚举值:`open`,`completed`,`not_planned`,`reopened`*/
|
|
147
|
+
state_reason: string; /**Issue标题,长度限制2-255字符。*/
|
|
148
|
+
title: string; /**Issue最后更新时间。*/
|
|
199
149
|
updated_at: string;
|
|
200
150
|
};
|
|
151
|
+
type ApiIssuePropertyUpdateResult = {
|
|
152
|
+
/**更新失败的属性数量*/failed_count: number; /**更新失败的属性key列表,仅当存在失败时返回*/
|
|
153
|
+
failed_keys: string[]; /**更新成功的属性数量*/
|
|
154
|
+
success_count: number;
|
|
155
|
+
};
|
|
201
156
|
type ApiLabel = {
|
|
202
|
-
color: string;
|
|
203
|
-
description: string;
|
|
204
|
-
id: string;
|
|
157
|
+
/**标签颜色。*/color: string; /**标签描述。*/
|
|
158
|
+
description: string; /**标签ID。*/
|
|
159
|
+
id: string; /**标签名称。*/
|
|
205
160
|
name: string;
|
|
206
161
|
};
|
|
207
162
|
type ApiMergePullRequest = {
|
|
208
|
-
commit_message: string;
|
|
209
|
-
commit_title: string;
|
|
210
|
-
|
|
211
|
-
/**The merge method to use. Can be one of: `merge`, `squash`, `rebase`*/
|
|
163
|
+
/**合并提交的详细描述信息。*/commit_message: string; /**合并提交的标题。*/
|
|
164
|
+
commit_title: string; /**合并提交方式。可选值:`merge`,`squash`,`rebase`*/
|
|
212
165
|
merge_style: string;
|
|
213
166
|
};
|
|
214
167
|
type ApiMergePullResponse = {
|
|
215
|
-
merged: boolean;
|
|
216
|
-
message: string;
|
|
168
|
+
/**是否成功合并。*/merged: boolean; /**合并操作的响应消息。*/
|
|
169
|
+
message: string; /**合并提交的哈希值。*/
|
|
217
170
|
sha: string;
|
|
218
171
|
};
|
|
219
172
|
type ApiPatchIssueAssigneesForm = {
|
|
220
|
-
assignees: string[];
|
|
173
|
+
/**Issue处理人用户名列表,最大限制为8。示例:`["zhangsan", "lisi"]`*/assignees: string[];
|
|
221
174
|
};
|
|
222
175
|
type ApiPatchIssueCommentForm = {
|
|
223
|
-
body: string;
|
|
176
|
+
/**Issue评论内容。*/body: string;
|
|
224
177
|
};
|
|
225
178
|
type ApiPatchIssueForm = {
|
|
226
|
-
body: string;
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
priority: string;
|
|
233
|
-
|
|
234
|
-
/**start time*/
|
|
235
|
-
start_date: string;
|
|
236
|
-
|
|
237
|
-
/**State of this issue. Either `open` or `closed`.*/
|
|
238
|
-
state: string;
|
|
239
|
-
|
|
240
|
-
/**StateReason can be one of: `completed`, `not_planned`, `reopened`*/
|
|
241
|
-
state_reason: string;
|
|
179
|
+
/**Issue内容。*/body: string; /**Issue结束日期。示例:`2026-12-30`*/
|
|
180
|
+
end_date: string; /**Issue优先级。可选值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
181
|
+
priority: string; /**Issue开始日期。示例:`2026-01-01`*/
|
|
182
|
+
start_date: string; /**Issue状态。可选值:`open`,`closed`*/
|
|
183
|
+
state: string; /**ISSUE状态变更原因。可选值:`completed`,`not_planned`,`reopened`*/
|
|
184
|
+
state_reason: string; /**Issue标题。*/
|
|
242
185
|
title: string;
|
|
243
186
|
};
|
|
244
187
|
type ApiPatchLabelForm = {
|
|
245
|
-
/**The hexadecimal color code for the label, without the leading `#`.*/
|
|
246
|
-
color: string;
|
|
188
|
+
/**The hexadecimal color code for the label, without the leading `#`.*/color: string;
|
|
247
189
|
description: string;
|
|
248
190
|
new_name: string;
|
|
249
191
|
};
|
|
250
192
|
type ApiPatchPullCommentForm = {
|
|
251
|
-
body: string;
|
|
193
|
+
/**评论内容。*/body: string;
|
|
252
194
|
};
|
|
253
195
|
type ApiPatchPullRequest = {
|
|
254
|
-
body: string;
|
|
255
|
-
|
|
256
|
-
/**State of this Pull Request. Either `open` or `closed`.*/
|
|
257
|
-
state: string;
|
|
196
|
+
/**合并请求的更新内容。*/body: string; /**合并请求的更新状态。可选值:`open`,`closed`*/
|
|
197
|
+
state: string; /**合并请求的更新标题。*/
|
|
258
198
|
title: string;
|
|
259
199
|
};
|
|
260
200
|
type ApiPipelineSettings = {
|
|
261
|
-
/**是否允许仓库按照.cnb.yml配置自动触发云原生构建。*/
|
|
262
|
-
auto_trigger: boolean;
|
|
263
|
-
|
|
264
|
-
/**是否允许本仓Fork出来的仓库按照.cnb.yml配置自动触发云原生构建。*/
|
|
201
|
+
/**是否允许仓库按照.cnb.yml配置自动触发云原生构建。*/auto_trigger: boolean; /**是否允许本仓Fork出来的仓库按照.cnb.yml配置自动触发云原生构建。*/
|
|
265
202
|
forked_repo_auto_trigger: boolean;
|
|
266
203
|
};
|
|
267
204
|
type ApiPostBlobForm = {
|
|
268
|
-
content: string;
|
|
269
|
-
|
|
270
|
-
/**当前编码只支持 `"utf-8"` and `"base64"` 。默认: `utf-8`*/
|
|
205
|
+
/**Blob的内容。*/content: string; /**内容的编码格式。可选值:`utf-8`,`base64`*/
|
|
271
206
|
encoding: string;
|
|
272
207
|
};
|
|
273
208
|
type ApiPostIssueAssigneesForm = {
|
|
274
|
-
assignees: string[];
|
|
209
|
+
/**Issue处理人用户名列表,最大限制为8。示例:`["zhangsan", "lisi"]`*/assignees: string[];
|
|
275
210
|
};
|
|
276
211
|
type ApiPostIssueCommentForm = {
|
|
277
|
-
body: string;
|
|
212
|
+
/**Issue评论内容。*/body: string;
|
|
278
213
|
};
|
|
279
214
|
type ApiPostIssueForm = {
|
|
280
|
-
assignees: string[];
|
|
281
|
-
body: string;
|
|
282
|
-
end_date: string;
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
start_date: string;
|
|
215
|
+
/**Issue处理人列表,最大限制为8。示例:`["处理人1","处理人2"]`*/assignees: string[]; /**Issue内容。*/
|
|
216
|
+
body: string; /**Issue结束日期。示例:`2026-12-30`*/
|
|
217
|
+
end_date: string; /**是否可见。*/
|
|
218
|
+
invisible: boolean; /**Issue标签列表,最大限制为10。示例:`["标签1","标签2"]`*/
|
|
219
|
+
labels: string[]; /**Issue优先级。可选值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
220
|
+
priority: string; /**Issue开始日期。示例:`2026-01-01`*/
|
|
221
|
+
start_date: string; /**Issue标题。*/
|
|
288
222
|
title: string;
|
|
289
223
|
};
|
|
290
224
|
type ApiPostIssueLabelsForm = {
|
|
291
|
-
labels: string[];
|
|
225
|
+
/**Issue标签列表,最大限制为10。示例:`["标签1","标签2"]`*/labels: string[];
|
|
292
226
|
};
|
|
293
227
|
type ApiPostLabelForm = {
|
|
294
|
-
/**The hexadecimal color code for the label, without the leading `#`.*/
|
|
295
|
-
color: string;
|
|
228
|
+
/**The hexadecimal color code for the label, without the leading `#`.*/color: string;
|
|
296
229
|
description: string;
|
|
297
230
|
name: string;
|
|
298
231
|
};
|
|
299
232
|
type ApiPostPullAssigneesForm = {
|
|
300
|
-
assignees: string[];
|
|
233
|
+
/**合并请求的处理人用户列表。*/assignees: string[];
|
|
301
234
|
};
|
|
302
235
|
type ApiPostPullLabelsForm = {
|
|
303
|
-
labels: string[];
|
|
236
|
+
/**合并请求的标签列表。*/labels: string[];
|
|
237
|
+
};
|
|
238
|
+
type ApiPostPullRequestReviewReplyForm = {
|
|
239
|
+
/**回复的评论内容。*/body: string; /**父评论ID。*/
|
|
240
|
+
reply_to_comment_id: string;
|
|
304
241
|
};
|
|
305
242
|
type ApiPostTagFrom = {
|
|
306
|
-
message: string;
|
|
307
|
-
name: string;
|
|
243
|
+
/**标签的描述信息。*/message: string; /**标签名称。*/
|
|
244
|
+
name: string; /**标签指向的目标对象。格式:`分支名称`,`标签名称`,`提交哈希`*/
|
|
308
245
|
target: string;
|
|
309
246
|
};
|
|
310
247
|
type ApiPull = {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
248
|
+
/**作者信息。*/author: any; /**目标分支信息。*/
|
|
249
|
+
base: any; /**阻塞原因。*/
|
|
250
|
+
blocked_on: string; /**合并请求内容。*/
|
|
251
|
+
body: string; /**源分支信息。*/
|
|
252
|
+
head: any; /**是否为WIP状态,WIP状态表示合并请求是否是草稿阶段。*/
|
|
253
|
+
is_wip: boolean; /**关联的标签列表。*/
|
|
254
|
+
labels: ApiLabel[]; /**合并者信息。*/
|
|
255
|
+
merged_by: any; /**合并请求唯一标识符编号。*/
|
|
256
|
+
number: string; /**评审人列表,包含评审状态信息。*/
|
|
257
|
+
reviewers: ApiPullReviewer[]; /**合并请求状态。枚举值:`open`,`closed`,`merged`*/
|
|
258
|
+
state: string; /**合并请求标题。*/
|
|
321
259
|
title: string;
|
|
322
260
|
};
|
|
323
261
|
type ApiPullCommentCreationForm = {
|
|
324
|
-
body: string;
|
|
262
|
+
/**评论内容。*/body: string;
|
|
325
263
|
};
|
|
326
264
|
type ApiPullCreationForm = {
|
|
327
|
-
base: string;
|
|
328
|
-
body: string;
|
|
329
|
-
head: string;
|
|
330
|
-
head_repo: string;
|
|
265
|
+
/**目标分支名称。*/base: string; /**合并请求内容。*/
|
|
266
|
+
body: string; /**源分支名称。*/
|
|
267
|
+
head: string; /**源分支所在的仓库标识。示例值:`owner/repo`*/
|
|
268
|
+
head_repo: string; /**合并请求标题。*/
|
|
331
269
|
title: string;
|
|
332
270
|
};
|
|
333
271
|
type ApiPullFile = {
|
|
334
|
-
additions: number;
|
|
335
|
-
blob_url: string;
|
|
336
|
-
contents_url: string;
|
|
337
|
-
deletions: number;
|
|
338
|
-
filename: string;
|
|
339
|
-
patch: string;
|
|
340
|
-
raw_url: string;
|
|
341
|
-
sha: string;
|
|
342
|
-
|
|
343
|
-
/**Status of this Pull Request specified diff file. Either `add` / `modify` / `delete` / `rename` / `copy`.*/
|
|
272
|
+
/**新增行数。*/additions: number; /**文件的Blob对象访问地址。*/
|
|
273
|
+
blob_url: string; /**文件内容访问地址。*/
|
|
274
|
+
contents_url: string; /**删除行数。*/
|
|
275
|
+
deletions: number; /**文件名称。*/
|
|
276
|
+
filename: string; /**文件的差异补丁内容。*/
|
|
277
|
+
patch: string; /**文件的原始内容访问地址。*/
|
|
278
|
+
raw_url: string; /**文件的提交哈希值。*/
|
|
279
|
+
sha: string; /**文件更改状态。枚举值:`add`,`modify`,`delete`,`rename`,`copy`*/
|
|
344
280
|
status: string;
|
|
345
281
|
};
|
|
346
|
-
type ApiPullRef = {
|
|
347
|
-
ref: string;
|
|
348
|
-
repo: ApiRepo;
|
|
349
|
-
sha: string;
|
|
350
|
-
};
|
|
351
|
-
type ApiPullRefInfo = {
|
|
352
|
-
ref: string;
|
|
353
|
-
repo: ApiRepoInfo;
|
|
354
|
-
sha: string;
|
|
355
|
-
};
|
|
356
282
|
type ApiPullRequest = {
|
|
357
|
-
assignees: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo[];
|
|
358
|
-
author:
|
|
359
|
-
base:
|
|
360
|
-
blocked_on: string;
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
283
|
+
/**处理人列表。*/assignees: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo[]; /**作者信息。*/
|
|
284
|
+
author: any; /**目标分支信息。*/
|
|
285
|
+
base: any; /**阻塞原因。*/
|
|
286
|
+
blocked_on: string; /**合并请求内容。*/
|
|
287
|
+
body: string; /**评论数量。*/
|
|
288
|
+
comment_count: number; /**创建时间。*/
|
|
289
|
+
created_at: string; /**源分支信息。*/
|
|
290
|
+
head: any; /**是否为WIP状态,WIP状态表示合并请求是否是草稿阶段。*/
|
|
291
|
+
is_wip: boolean; /**标签列表。*/
|
|
292
|
+
labels: ApiLabel[]; /**最后更新时间。*/
|
|
293
|
+
last_acted_at: string; /**可合并状态。枚举值:`mergeable`,`merging`,`merged`,`conflict`,`no-merge-base`*/
|
|
294
|
+
mergeable_state: string; /**合并者信息。*/
|
|
295
|
+
merged_by: any; /**Pulls唯一标识编号。*/
|
|
296
|
+
number: string; /**仓库信息。*/
|
|
297
|
+
repo: any; /**评审数量。*/
|
|
298
|
+
review_count: number; /**合并请求状态。枚举值:`open`,`closed`,`merged`*/
|
|
299
|
+
state: string; /**合并请求标题。*/
|
|
300
|
+
title: string; /**更新时间。*/
|
|
374
301
|
updated_at: string;
|
|
375
302
|
};
|
|
376
303
|
type ApiPullRequestComment = {
|
|
377
|
-
author:
|
|
378
|
-
body: string;
|
|
379
|
-
created_at: string;
|
|
380
|
-
id: string;
|
|
304
|
+
/**评论作者信息。*/author: any; /**评论内容。*/
|
|
305
|
+
body: string; /**创建时间。*/
|
|
306
|
+
created_at: string; /**合并请求评论的唯一标识符。*/
|
|
307
|
+
id: string; /**Reaction 数量列表。*/
|
|
308
|
+
reactions: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction[]; /**最后更新时间。*/
|
|
381
309
|
updated_at: string;
|
|
382
310
|
};
|
|
383
311
|
type ApiPullRequestInfo = {
|
|
384
|
-
assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
385
|
-
author:
|
|
386
|
-
base:
|
|
387
|
-
blocked_on: string;
|
|
388
|
-
created_at: string;
|
|
389
|
-
head:
|
|
390
|
-
labels: ApiLabel[];
|
|
391
|
-
last_acted_at: string;
|
|
392
|
-
mergeable_state: string;
|
|
393
|
-
merged_by:
|
|
394
|
-
number: string;
|
|
395
|
-
repo:
|
|
396
|
-
reviewers: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
397
|
-
state: string;
|
|
398
|
-
title: string;
|
|
312
|
+
/**处理人列表。*/assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]; /**作者信息。*/
|
|
313
|
+
author: any; /**目标分支信息。*/
|
|
314
|
+
base: any; /**阻塞原因。*/
|
|
315
|
+
blocked_on: string; /**创建时间。*/
|
|
316
|
+
created_at: string; /**源分支信息。*/
|
|
317
|
+
head: any; /**标签列表。*/
|
|
318
|
+
labels: ApiLabel[]; /**最后更新时间。*/
|
|
319
|
+
last_acted_at: string; /**可合并状态。枚举值:`mergeable`,`merging`,`merged`,`conflict`,`no-merge-base`*/
|
|
320
|
+
mergeable_state: string; /**合并者信息。*/
|
|
321
|
+
merged_by: any; /**Pull唯一标识编号。*/
|
|
322
|
+
number: string; /**仓库信息。*/
|
|
323
|
+
repo: any; /**评审者列表。*/
|
|
324
|
+
reviewers: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]; /**Pull状态。枚举值:`open`,`closed`,`merged`*/
|
|
325
|
+
state: string; /**标题。*/
|
|
326
|
+
title: string; /**更新时间。*/
|
|
399
327
|
updated_at: string;
|
|
400
328
|
};
|
|
401
329
|
type ApiPullRequestSettings = {
|
|
402
|
-
/**是否允许直接提交合并。*/
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
/**是否允许压缩合并。*/
|
|
409
|
-
allow_squash_merge: boolean;
|
|
410
|
-
|
|
411
|
-
/**是否允许自动添加仓库管理员为评审者。*/
|
|
412
|
-
master_auto_as_reviewer: boolean;
|
|
413
|
-
|
|
414
|
-
/**直接提交合并操作时默认生成的提交信息内容。可选值:`default`,`pull_request_title`,`pull_request_title_with_body`*/
|
|
415
|
-
merge_commit_message_style: string;
|
|
416
|
-
|
|
417
|
-
/**压缩合并操作时默认生成的提交信息内容。可选值:`default`,`pull_request_title`,`pull_request_title_with_body`*/
|
|
330
|
+
/**是否允许直接提交合并。*/allow_merge_commit_merge: boolean; /**是否允许变基合并。*/
|
|
331
|
+
allow_rebase_merge: boolean; /**是否允许压缩合并。*/
|
|
332
|
+
allow_squash_merge: boolean; /**是否允许自动添加仓库管理员为评审者。*/
|
|
333
|
+
master_auto_as_reviewer: boolean; /**直接提交合并操作时默认生成的提交信息内容。可选值:`default`,`pull_request_title`,`pull_request_title_with_body`*/
|
|
334
|
+
merge_commit_message_style: string; /**压缩合并操作时默认生成的提交信息内容。可选值:`default`,`pull_request_title`,`pull_request_title_with_body`*/
|
|
418
335
|
squash_commit_message_style: string;
|
|
419
336
|
};
|
|
420
337
|
type ApiPullReview = {
|
|
421
|
-
author:
|
|
422
|
-
body: string;
|
|
423
|
-
created_at: string;
|
|
424
|
-
id: string;
|
|
425
|
-
state: string;
|
|
338
|
+
/**Review的作者信息。*/author: any; /**Review的详细内容。*/
|
|
339
|
+
body: string; /**Review的创建时间。*/
|
|
340
|
+
created_at: string; /**Review的唯一标识符。*/
|
|
341
|
+
id: string; /**Review的状态。枚举值:`approved`、`changes_requested`、`commented`、`dismissed`、`pending`等。*/
|
|
342
|
+
state: string; /**Review的最后更新时间。*/
|
|
426
343
|
updated_at: string;
|
|
427
344
|
};
|
|
428
345
|
type ApiPullReviewComment = {
|
|
429
|
-
author:
|
|
430
|
-
body: string;
|
|
431
|
-
commit_hash: string;
|
|
432
|
-
created_at: string;
|
|
433
|
-
diff_hunk: ApiDiffLine[];
|
|
434
|
-
end_line: number;
|
|
435
|
-
end_side: string;
|
|
436
|
-
id: string;
|
|
437
|
-
path: string;
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
346
|
+
/**评论的作者信息。*/author: any; /**评论的具体内容。*/
|
|
347
|
+
body: string; /**评论所基于的提交哈希值。*/
|
|
348
|
+
commit_hash: string; /**评论的创建时间。*/
|
|
349
|
+
created_at: string; /**评论关联的差异块信息。*/
|
|
350
|
+
diff_hunk: ApiDiffLine[]; /**评论结束行号,subject_type=line时有效。*/
|
|
351
|
+
end_line: number; /**评论结束位置的代码版本侧。枚举值:`left`,`right`*/
|
|
352
|
+
end_side: string; /**评论的唯一标识符。*/
|
|
353
|
+
id: string; /**评论所在文件的路径。示例值:`src/main.go`*/
|
|
354
|
+
path: string; /**Reaction 数量列表。*/
|
|
355
|
+
reactions: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction[]; /**回复的父评论ID,如果是回复评论则不为空。*/
|
|
356
|
+
reply_to_comment_id: string; /**所属Review的唯一标识符。*/
|
|
357
|
+
review_id: string; /**Review的状态。枚举值:`approved`,`changes_requested`,`commented`,`dismissed`,`pending`*/
|
|
358
|
+
review_state: string; /**评论起始行号,subject_type=line时有效。*/
|
|
359
|
+
start_line: number; /**评论起始位置的代码版本侧。枚举值:`left`,`right`*/
|
|
360
|
+
start_side: string; /**评论对象类型。枚举值:`line`,`file`*/
|
|
361
|
+
subject_type: string; /**评论的最后更新时间。*/
|
|
444
362
|
updated_at: string;
|
|
445
363
|
};
|
|
446
364
|
type ApiPullReviewCommentCreationForm = {
|
|
447
|
-
body: string;
|
|
448
|
-
end_line: number;
|
|
449
|
-
end_side: string;
|
|
450
|
-
path: string;
|
|
451
|
-
start_line: number;
|
|
452
|
-
start_side: string;
|
|
453
|
-
|
|
454
|
-
/**can be one of: line, file*/
|
|
365
|
+
/**评论内容。*/body: string; /**结束行号,subject_type=line时必填。*/
|
|
366
|
+
end_line: number; /**评论结束位置的代码版本侧,subject_type=line时必填。可选值:`left`,`right`*/
|
|
367
|
+
end_side: string; /**文件路径。示例值:`src/main.go`*/
|
|
368
|
+
path: string; /**起始行号,subject_type=line时必填。*/
|
|
369
|
+
start_line: number; /**评论起始位置的代码版本侧,subject_type=line时必填。可选值:`left`,`right`*/
|
|
370
|
+
start_side: string; /**评论对象类型,当subject_type为file时无需指定行号和侧别字段。可选值:`line`,`file`*/
|
|
455
371
|
subject_type: string;
|
|
456
372
|
};
|
|
457
373
|
type ApiPullReviewCreationForm = {
|
|
458
|
-
body: string;
|
|
459
|
-
comments: ApiPullReviewCommentCreationForm[];
|
|
374
|
+
/**Review的评审意见内容。*/body: string; /**评审中的具体评论列表。*/
|
|
375
|
+
comments: ApiPullReviewCommentCreationForm[]; /**Review事件类型.如:`approve`,`comment`,`request_changes`,`pending`*/
|
|
460
376
|
event: string;
|
|
461
377
|
};
|
|
462
378
|
type ApiPullReviewer = {
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
user: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
379
|
+
/**评审状态。枚举值:`pending`,`commented`,`approved`,`changes_requested`,`dismissed`。*/review_state: string; /**评审人信息。*/
|
|
380
|
+
user: any;
|
|
466
381
|
};
|
|
467
382
|
type ApiPushLimitSettings = {
|
|
468
|
-
/**允许单次推送最多允许更新分支和标签的个数数量。*/
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
/**是否开启单次更新分支和标签的个数限制。*/
|
|
472
|
-
check_single_push_number: boolean;
|
|
473
|
-
|
|
474
|
-
/**是否仅允许负责人和管理员推送或删除标签、创建或删除版本。*/
|
|
475
|
-
only_master_can_push_tag: boolean;
|
|
476
|
-
|
|
477
|
-
/**推送提交到仓库,对提交作者和提交人进行检查。可选值:`any`,`registered`,`pusher`*/
|
|
383
|
+
/**允许单次推送最多允许更新分支和标签的个数数量。*/allow_single_push_number: number; /**是否开启单次更新分支和标签的个数限制。*/
|
|
384
|
+
check_single_push_number: boolean; /**是否仅允许负责人和管理员推送或删除标签、创建或删除版本。*/
|
|
385
|
+
only_master_can_push_tag: boolean; /**推送提交到仓库,对提交作者和提交人进行检查。可选值:`any`,`registered`,`pusher`*/
|
|
478
386
|
push_commit_must_be: string;
|
|
479
387
|
};
|
|
480
388
|
type ApiPutIssueLabelsForm = {
|
|
481
|
-
labels: string[];
|
|
389
|
+
/**Issue标签列表,最大限制为10。示例:`["标签1","标签2"]`*/labels: string[];
|
|
482
390
|
};
|
|
483
391
|
type ApiPutPullLabelsForm = {
|
|
484
|
-
labels: string[];
|
|
392
|
+
/**合并请求的标签列表。*/labels: string[];
|
|
485
393
|
};
|
|
486
394
|
type ApiRelease = {
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
/**是否为草稿版本*/
|
|
500
|
-
draft: boolean;
|
|
501
|
-
|
|
502
|
-
/**发布ID*/
|
|
503
|
-
id: string;
|
|
504
|
-
|
|
505
|
-
/**是否为最新版本*/
|
|
506
|
-
is_latest: boolean;
|
|
507
|
-
|
|
508
|
-
/**发布名称*/
|
|
509
|
-
name: string;
|
|
510
|
-
|
|
511
|
-
/**是否为预发布版本*/
|
|
512
|
-
prerelease: boolean;
|
|
513
|
-
|
|
514
|
-
/**发布时间*/
|
|
515
|
-
published_at: string;
|
|
516
|
-
|
|
517
|
-
/**标签对应的提交哈希*/
|
|
518
|
-
tag_commitish: string;
|
|
519
|
-
|
|
520
|
-
/**标签名称*/
|
|
521
|
-
tag_name: string;
|
|
522
|
-
|
|
523
|
-
/**更新时间*/
|
|
395
|
+
/**附件列表。*/assets: ApiReleaseAsset[]; /**作者信息。*/
|
|
396
|
+
author: any; /**版本描述。*/
|
|
397
|
+
body: string; /**创建时间。*/
|
|
398
|
+
created_at: string; /**是否为草稿版本。*/
|
|
399
|
+
draft: boolean; /**版本唯一标识符。*/
|
|
400
|
+
id: string; /**是否为最新版本。*/
|
|
401
|
+
is_latest: boolean; /**版本标题。*/
|
|
402
|
+
name: string; /**是否为预发布版本。*/
|
|
403
|
+
prerelease: boolean; /**版本发布时间。*/
|
|
404
|
+
published_at: string; /**标签与提交标识符。*/
|
|
405
|
+
tag_commitish: string; /**标签名称。*/
|
|
406
|
+
tag_name: string; /**更新时间。*/
|
|
524
407
|
updated_at: string;
|
|
525
408
|
};
|
|
526
409
|
type ApiReleaseAsset = {
|
|
527
|
-
/**浏览器下载URL
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
id: string;
|
|
538
|
-
|
|
539
|
-
/**附件名称*/
|
|
540
|
-
name: string;
|
|
541
|
-
|
|
542
|
-
/**附件路径*/
|
|
543
|
-
path: string;
|
|
544
|
-
|
|
545
|
-
/**附件大小(字节)*/
|
|
546
|
-
size: number;
|
|
547
|
-
|
|
548
|
-
/**更新时间*/
|
|
549
|
-
updated_at: string;
|
|
550
|
-
|
|
551
|
-
/**附件上传者信息*/
|
|
552
|
-
uploader: any;
|
|
553
|
-
|
|
554
|
-
/**附件下载URL*/
|
|
410
|
+
/**浏览器下载URL(通过主域名,用于用户直接访问)。*/brower_download_url: string; /**附件内容类型。*/
|
|
411
|
+
content_type: string; /**创建时间。*/
|
|
412
|
+
created_at: string; /**下载次数。*/
|
|
413
|
+
download_count: number; /**附件唯一标识符。*/
|
|
414
|
+
id: string; /**附件名称。*/
|
|
415
|
+
name: string; /**附件路径。*/
|
|
416
|
+
path: string; /**附件大小(字节)。*/
|
|
417
|
+
size: number; /**更新时间。*/
|
|
418
|
+
updated_at: string; /**附件上传者信息。*/
|
|
419
|
+
uploader: any; /**API下载URL(通过API域名,用于程序化下载)。*/
|
|
555
420
|
url: string;
|
|
556
421
|
};
|
|
557
|
-
type ApiRepo = {
|
|
558
|
-
id: string;
|
|
559
|
-
name: string;
|
|
560
|
-
path: string;
|
|
561
|
-
web_url: string;
|
|
562
|
-
};
|
|
563
|
-
type ApiRepoInfo = {
|
|
564
|
-
id: string;
|
|
565
|
-
name: string;
|
|
566
|
-
path: string;
|
|
567
|
-
web_url: string;
|
|
568
|
-
};
|
|
569
|
-
type ApiSignature = {
|
|
570
|
-
date: string;
|
|
571
|
-
email: string;
|
|
572
|
-
name: string;
|
|
573
|
-
};
|
|
574
422
|
type ApiTag = {
|
|
575
|
-
commit:
|
|
576
|
-
name: string;
|
|
577
|
-
target: string;
|
|
578
|
-
target_type: string;
|
|
579
|
-
verification:
|
|
580
|
-
};
|
|
581
|
-
type ApiTagObjectVerification = {
|
|
582
|
-
payload: string;
|
|
583
|
-
reason: string;
|
|
584
|
-
signature: string;
|
|
585
|
-
verified: boolean;
|
|
586
|
-
verified_at: string;
|
|
423
|
+
/**标签指向的commit对象详细信息。*/commit: any; /**标签名称。*/
|
|
424
|
+
name: string; /**标签目标对象哈希值。*/
|
|
425
|
+
target: string; /**目标对象类型。*/
|
|
426
|
+
target_type: string; /**标签的GPG签名验证信息。*/
|
|
427
|
+
verification: any;
|
|
587
428
|
};
|
|
588
429
|
type ApiTreeEntry = {
|
|
589
|
-
name: string;
|
|
590
|
-
path: string;
|
|
591
|
-
sha: string;
|
|
430
|
+
/**对象名称(文件名或目录名)。*/name: string; /**对象在仓库中的完整路径。*/
|
|
431
|
+
path: string; /**Git对象的哈希值。*/
|
|
432
|
+
sha: string; /**对象类型。枚举值:`tree`,`blob`,`link`,`submodule`*/
|
|
592
433
|
type: string;
|
|
593
434
|
};
|
|
594
435
|
type ChartDependency = {
|
|
595
|
-
/**Alias usable alias to be used for the chart*/
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
/**A yaml path that resolves to a boolean, used for enabling/disabling charts (e.g. subchart1.enabled )*/
|
|
599
|
-
condition: string;
|
|
600
|
-
|
|
601
|
-
/**Enabled bool determines if chart should be loaded*/
|
|
436
|
+
/**Alias usable alias to be used for the chart*/alias: string; /**A yaml path that resolves to a boolean, used for enabling/disabling charts (e.g. subchart1.enabled )*/
|
|
437
|
+
condition: string; /**Enabled bool determines if chart should be loaded*/
|
|
602
438
|
enabled: boolean;
|
|
603
|
-
|
|
604
439
|
/**ImportValues holds the mapping of source values to parent key to be imported. Each item can be a
|
|
605
440
|
string or pair of child/parent sublist items.*/
|
|
606
441
|
"import-values": any[];
|
|
607
|
-
|
|
608
442
|
/**Name is the name of the dependency.
|
|
609
443
|
This must mach the name in the dependency's Chart.yaml.*/
|
|
610
444
|
name: string;
|
|
611
|
-
|
|
612
445
|
/**The URL to the repository.
|
|
613
446
|
Appending `index.yaml` to this string should result in a URL that can be
|
|
614
447
|
used to fetch the repository index.*/
|
|
615
|
-
repository: string;
|
|
616
|
-
|
|
617
|
-
/**Tags can be used to group charts for enabling/disabling together*/
|
|
448
|
+
repository: string; /**Tags can be used to group charts for enabling/disabling together*/
|
|
618
449
|
tags: string[];
|
|
619
|
-
|
|
620
450
|
/**Version is the version (range) of this chart.
|
|
621
451
|
A lock file will always produce a single version, while a dependency
|
|
622
452
|
may contain a semantic version range.*/
|
|
623
453
|
version: string;
|
|
624
454
|
};
|
|
625
455
|
type ChartMaintainer = {
|
|
626
|
-
/**Email is an optional email address to contact the named maintainer*/
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
/**Name is a user name or organization name*/
|
|
630
|
-
name: string;
|
|
631
|
-
|
|
632
|
-
/**URL is an optional URL to an address for the named maintainer*/
|
|
456
|
+
/**Email is an optional email address to contact the named maintainer*/email: string; /**Name is a user name or organization name*/
|
|
457
|
+
name: string; /**URL is an optional URL to an address for the named maintainer*/
|
|
633
458
|
url: string;
|
|
634
459
|
};
|
|
635
460
|
type ChartMetadata = {
|
|
636
461
|
/**Annotations are additional mappings uninterpreted by Helm,
|
|
637
462
|
made available for inspection by other applications.*/
|
|
638
|
-
annotations: any;
|
|
639
|
-
|
|
640
|
-
/**The
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
/**A one-sentence description of the chart*/
|
|
656
|
-
description: string;
|
|
657
|
-
|
|
658
|
-
/**The URL to a relevant project page, git repo, or contact person*/
|
|
659
|
-
home: string;
|
|
660
|
-
|
|
661
|
-
/**The URL to an icon file.*/
|
|
662
|
-
icon: string;
|
|
663
|
-
|
|
664
|
-
/**A list of string keywords*/
|
|
665
|
-
keywords: string[];
|
|
666
|
-
|
|
667
|
-
/**KubeVersion is a SemVer constraint specifying the version of Kubernetes required.*/
|
|
668
|
-
kubeVersion: string;
|
|
669
|
-
|
|
670
|
-
/**A list of name and URL/email address combinations for the maintainer(s)*/
|
|
671
|
-
maintainers: ChartMaintainer[];
|
|
672
|
-
|
|
673
|
-
/**The name of the chart. Required.*/
|
|
674
|
-
name: string;
|
|
675
|
-
|
|
676
|
-
/**Source is the URL to the source code of this chart*/
|
|
677
|
-
sources: string[];
|
|
678
|
-
|
|
679
|
-
/**The tags to check to enable chart*/
|
|
680
|
-
tags: string;
|
|
681
|
-
|
|
682
|
-
/**Specifies the chart type: application or library*/
|
|
683
|
-
type: string;
|
|
684
|
-
|
|
685
|
-
/**A SemVer 2 conformant version string of the chart. Required.*/
|
|
463
|
+
annotations: any; /**The API Version of this chart. Required.*/
|
|
464
|
+
apiVersion: string; /**The version of the application enclosed inside of this chart.*/
|
|
465
|
+
appVersion: string; /**The condition to check to enable chart*/
|
|
466
|
+
condition: string; /**Dependencies are a list of dependencies for a chart.*/
|
|
467
|
+
dependencies: ChartDependency[]; /**Whether or not this chart is deprecated*/
|
|
468
|
+
deprecated: boolean; /**A one-sentence description of the chart*/
|
|
469
|
+
description: string; /**The URL to a relevant project page, git repo, or contact person*/
|
|
470
|
+
home: string; /**The URL to an icon file.*/
|
|
471
|
+
icon: string; /**A list of string keywords*/
|
|
472
|
+
keywords: string[]; /**KubeVersion is a SemVer constraint specifying the version of Kubernetes required.*/
|
|
473
|
+
kubeVersion: string; /**A list of name and URL/email address combinations for the maintainer(s)*/
|
|
474
|
+
maintainers: ChartMaintainer[]; /**The name of the chart. Required.*/
|
|
475
|
+
name: string; /**Source is the URL to the source code of this chart*/
|
|
476
|
+
sources: string[]; /**The tags to check to enable chart*/
|
|
477
|
+
tags: string; /**Specifies the chart type: application or library*/
|
|
478
|
+
type: string; /**A SemVer 2 conformant version string of the chart. Required.*/
|
|
686
479
|
version: string;
|
|
687
480
|
};
|
|
688
481
|
type ConstantAccessRole = "Unknown" | "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
689
482
|
type ConstantRepoDisplayModule = {
|
|
690
|
-
/**仓库动态*/
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
/**仓库贡献者*/
|
|
694
|
-
contributors: boolean;
|
|
695
|
-
|
|
696
|
-
/**仓库版本*/
|
|
483
|
+
/**仓库动态*/activity: boolean; /**仓库贡献者*/
|
|
484
|
+
contributors: boolean; /**仓库版本*/
|
|
697
485
|
release: boolean;
|
|
698
486
|
};
|
|
699
487
|
type ConstantUserEditable = {
|
|
700
|
-
/**可修改账户头像*/
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
/**是否允许注销账户*/
|
|
707
|
-
logoff: boolean;
|
|
708
|
-
|
|
709
|
-
/**可修改昵称*/
|
|
710
|
-
nickname: boolean;
|
|
711
|
-
|
|
712
|
-
/**是否允许同步昵称和头像*/
|
|
713
|
-
"sync-data": boolean;
|
|
714
|
-
|
|
715
|
-
/**可修改账户名*/
|
|
488
|
+
/**可修改账户头像*/avatar: boolean; /**可修改主邮箱*/
|
|
489
|
+
email: boolean; /**是否允许注销账户*/
|
|
490
|
+
logoff: boolean; /**可修改昵称*/
|
|
491
|
+
nickname: boolean; /**是否允许同步昵称和头像*/
|
|
492
|
+
"sync-data": boolean; /**可修改账户名*/
|
|
716
493
|
username: boolean;
|
|
717
494
|
};
|
|
718
495
|
type ConstantUserType = 0 | 1 | 2 | 3 | 4;
|
|
719
496
|
type ConstantVisibility = "Private" | "Public" | "Secret";
|
|
720
497
|
type DtoActivityCreateRepoDetail = {
|
|
721
|
-
create_at: string;
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
/**activity 发生时仓库的 path,这时的 path 是可以公开的*/
|
|
727
|
-
exposed_repo_path: string;
|
|
728
|
-
|
|
729
|
-
/**仓库是否封禁*/
|
|
730
|
-
freeze: boolean;
|
|
731
|
-
|
|
732
|
-
/**仓库是否不可访问(公仓转私仓或仓库被删除后不可访问)*/
|
|
733
|
-
repo_unaccessible: boolean;
|
|
734
|
-
|
|
735
|
-
/**仓库可见性*/
|
|
498
|
+
create_at: string; /**公仓转私仓或仓库被删除后为 null*/
|
|
499
|
+
detail: any; /**activity 发生时仓库的 path,这时的 path 是可以公开的*/
|
|
500
|
+
exposed_repo_path: string; /**仓库是否封禁*/
|
|
501
|
+
freeze: boolean; /**仓库是否不可访问(公仓转私仓或仓库被删除后不可访问)*/
|
|
502
|
+
repo_unaccessible: boolean; /**仓库可见性*/
|
|
736
503
|
visibility_level: any;
|
|
737
504
|
};
|
|
738
505
|
type DtoActivityDate = {
|
|
@@ -751,188 +518,91 @@ type DtoActivityDate = {
|
|
|
751
518
|
repos: DtoActivityCreateRepoDetail[];
|
|
752
519
|
};
|
|
753
520
|
type DtoActivityJoinGroupDetail = {
|
|
754
|
-
create_at: string;
|
|
755
|
-
|
|
756
|
-
/**组织详情,组织被删后为 null*/
|
|
757
|
-
detail: any;
|
|
758
|
-
|
|
759
|
-
/**组织别名,组织被删除后才有值*/
|
|
521
|
+
create_at: string; /**组织详情,组织被删后为 null*/
|
|
522
|
+
detail: any; /**组织别名,组织被删除后才有值*/
|
|
760
523
|
remark: string;
|
|
761
524
|
};
|
|
762
525
|
type DtoActivityRepoDetail = {
|
|
763
|
-
/**公仓转私仓或仓库被删除后为 null*/
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
/**activity 发生时仓库的 path,这时的 path 是可以公开的*/
|
|
767
|
-
exposed_repo_path: string;
|
|
768
|
-
|
|
769
|
-
/**仓库是否封禁*/
|
|
770
|
-
freeze: boolean;
|
|
771
|
-
|
|
772
|
-
/**仓库是否不可访问(公仓转私仓或仓库被删除后不可访问)*/
|
|
526
|
+
/**公仓转私仓或仓库被删除后为 null*/detail: any; /**activity 发生时仓库的 path,这时的 path 是可以公开的*/
|
|
527
|
+
exposed_repo_path: string; /**仓库是否封禁*/
|
|
528
|
+
freeze: boolean; /**仓库是否不可访问(公仓转私仓或仓库被删除后不可访问)*/
|
|
773
529
|
repo_unaccessible: boolean;
|
|
774
|
-
time: number;
|
|
775
|
-
|
|
776
|
-
/**仓库可见性*/
|
|
530
|
+
time: number; /**仓库可见性*/
|
|
777
531
|
visibility_level: any;
|
|
778
532
|
};
|
|
779
533
|
type DtoAiAutoPrReq = {
|
|
780
|
-
/**需求内容*/
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
branch: string;
|
|
785
|
-
|
|
786
|
-
/**需求来源,默认为 issue,其他来源的需求可写上,会出现在代码提交日志的描述信息里*/
|
|
787
|
-
source: string;
|
|
788
|
-
|
|
789
|
-
/**需求标题*/
|
|
790
|
-
title: string;
|
|
791
|
-
|
|
792
|
-
/**需求来源 URL 地址*/
|
|
534
|
+
/**需求内容*/body: string; /**基于该分支编码并提交代码到随机分支,然后将随机分支提 PR 到该分支*/
|
|
535
|
+
branch: string; /**需求来源,默认为 issue,其他来源的需求可写上,会出现在代码提交日志的描述信息里*/
|
|
536
|
+
source: string; /**需求标题*/
|
|
537
|
+
title: string; /**需求来源 URL 地址*/
|
|
793
538
|
url: string;
|
|
794
539
|
};
|
|
795
540
|
type DtoAiAutoPrResult = {
|
|
796
|
-
/**构建链接*/
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
/**message*/
|
|
800
|
-
message: string;
|
|
801
|
-
|
|
802
|
-
/**构建号*/
|
|
541
|
+
/**构建链接*/buildLogUrl: string; /**message*/
|
|
542
|
+
message: string; /**构建号*/
|
|
803
543
|
sn: string;
|
|
804
544
|
};
|
|
805
545
|
type DtoAiChatCompletionsChoice = {
|
|
806
|
-
/**结束原因*/
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
/**索引*/
|
|
810
|
-
index: number;
|
|
811
|
-
|
|
812
|
-
/**消息*/
|
|
546
|
+
/**结束原因*/finish_reason: string; /**索引*/
|
|
547
|
+
index: number; /**消息*/
|
|
813
548
|
message: any;
|
|
814
549
|
};
|
|
815
550
|
type DtoAiChatCompletionsReq = {
|
|
816
|
-
/**对话内容*/
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
/**模型名称*/
|
|
820
|
-
model: string;
|
|
821
|
-
|
|
822
|
-
/**是否流式返回结果,部分模型可能不支持非流式*/
|
|
551
|
+
/**对话内容*/messages: DtoMessage[]; /**模型名称*/
|
|
552
|
+
model: string; /**是否流式返回结果,部分模型可能不支持非流式*/
|
|
823
553
|
stream: boolean;
|
|
824
554
|
};
|
|
825
555
|
type DtoAiChatCompletionsResult = {
|
|
826
|
-
/**选择*/
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
created: number;
|
|
831
|
-
|
|
832
|
-
/**ID*/
|
|
833
|
-
id: string;
|
|
834
|
-
|
|
835
|
-
/**模型*/
|
|
836
|
-
model: string;
|
|
837
|
-
|
|
838
|
-
/**对象*/
|
|
556
|
+
/**选择*/choices: DtoAiChatCompletionsChoice[]; /**创建时间*/
|
|
557
|
+
created: number; /**ID*/
|
|
558
|
+
id: string; /**模型*/
|
|
559
|
+
model: string; /**对象*/
|
|
839
560
|
object: string;
|
|
840
561
|
};
|
|
841
|
-
type
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
562
|
+
type DtoAssetRecords = {
|
|
563
|
+
id: string; /**来源地址,例如 release 附件的来源地址是对应的 release 页面。issue和pr文件没有。*/
|
|
564
|
+
origin_path: string;
|
|
565
|
+
path: string; /**资源类型,slug_img和slug_file可调用DeleteAsset接口直接删除该资源,repo_release和repo_commit则不行*/
|
|
566
|
+
record_type: any;
|
|
567
|
+
referer: string;
|
|
568
|
+
size_in_byte: number;
|
|
847
569
|
};
|
|
848
570
|
type DtoBadge = {
|
|
849
|
-
/**徽章描述*/
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
/**徽章链接*/
|
|
856
|
-
link: string;
|
|
857
|
-
|
|
858
|
-
/**徽章名称*/
|
|
859
|
-
name: string;
|
|
860
|
-
|
|
861
|
-
/**徽章类型*/
|
|
862
|
-
type: string;
|
|
863
|
-
|
|
864
|
-
/**徽章URL*/
|
|
571
|
+
/**徽章描述*/desc: string; /**徽章分组*/
|
|
572
|
+
group: any; /**徽章链接*/
|
|
573
|
+
link: string; /**徽章名称*/
|
|
574
|
+
name: string; /**徽章类型*/
|
|
575
|
+
type: string; /**徽章URL*/
|
|
865
576
|
url: string;
|
|
866
577
|
};
|
|
867
578
|
type DtoBuildCommonResult = {
|
|
868
|
-
/**返回码,0 表示成功,1 表示失败*/
|
|
869
|
-
code: number;
|
|
870
|
-
|
|
871
|
-
/**描述*/
|
|
579
|
+
/**返回码,0 表示成功,1 表示失败*/code: number; /**描述*/
|
|
872
580
|
message: string;
|
|
873
581
|
};
|
|
874
582
|
type DtoBuildLogsResult = {
|
|
875
|
-
/**构建数据列表*/
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
/**当前仓库是否已经有构建记录,1 表示有构建记录,0 表示没有构建记录*/
|
|
879
|
-
init: boolean;
|
|
880
|
-
|
|
881
|
-
/**当前时间戳*/
|
|
882
|
-
timestamp: number;
|
|
883
|
-
|
|
884
|
-
/**总数*/
|
|
583
|
+
/**构建数据列表*/data: DtoLogInfo[]; /**当前仓库是否已经有构建记录,1 表示有构建记录,0 表示没有构建记录*/
|
|
584
|
+
init: boolean; /**当前时间戳*/
|
|
585
|
+
timestamp: number; /**总数*/
|
|
885
586
|
total: number;
|
|
886
587
|
};
|
|
887
588
|
type DtoBuildResult = {
|
|
888
|
-
/**构建链接*/
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
/**构建信息*/
|
|
892
|
-
message: string;
|
|
893
|
-
|
|
894
|
-
/**构建号*/
|
|
895
|
-
sn: string;
|
|
896
|
-
|
|
897
|
-
/**构建是否触发成功,不代表构建结果*/
|
|
589
|
+
/**构建链接*/buildLogUrl: string; /**构建信息*/
|
|
590
|
+
message: string; /**构建号*/
|
|
591
|
+
sn: string; /**构建是否触发成功,不代表构建结果*/
|
|
898
592
|
success: boolean;
|
|
899
593
|
};
|
|
900
594
|
type DtoBuildStageResult = {
|
|
901
|
-
/**stage 日志内容,数组格式,一个元素表示一行日志*/
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
/**stage
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
/**stage
|
|
908
|
-
endTime: number;
|
|
909
|
-
|
|
910
|
-
/**stage 错误信息*/
|
|
911
|
-
error: string;
|
|
912
|
-
|
|
913
|
-
/**stage id*/
|
|
914
|
-
id: string;
|
|
915
|
-
|
|
916
|
-
/**stage 名称*/
|
|
917
|
-
name: string;
|
|
918
|
-
|
|
919
|
-
/**stage 开始时间*/
|
|
920
|
-
startTime: number;
|
|
921
|
-
|
|
922
|
-
/**stage 状态: "pending", "start", "success", "error", "cancel", "skipped"*/
|
|
595
|
+
/**stage 日志内容,数组格式,一个元素表示一行日志*/content: string[]; /**stage 耗时,单位:ms*/
|
|
596
|
+
duration: number; /**stage 结束时间*/
|
|
597
|
+
endTime: number; /**stage 错误信息*/
|
|
598
|
+
error: string; /**stage id*/
|
|
599
|
+
id: string; /**stage 名称*/
|
|
600
|
+
name: string; /**stage 开始时间*/
|
|
601
|
+
startTime: number; /**stage 状态: "pending", "start", "success", "error", "cancel", "skipped"*/
|
|
923
602
|
status: string;
|
|
924
603
|
};
|
|
925
604
|
type DtoBuildStatusResult = {
|
|
926
|
-
|
|
927
|
-
jsonConfig: string;
|
|
928
|
-
|
|
929
|
-
/**流水线的状态*/
|
|
930
|
-
pipelinesStatus: any;
|
|
931
|
-
|
|
932
|
-
/**流水线原始配置内容*/
|
|
933
|
-
rawConfig: string;
|
|
934
|
-
|
|
935
|
-
/**构建状态*/
|
|
605
|
+
/**流水线的状态*/pipelinesStatus: any; /**构建状态*/
|
|
936
606
|
status: string;
|
|
937
607
|
};
|
|
938
608
|
type DtoChartPackageDetail = {
|
|
@@ -949,6 +619,7 @@ type DtoChartPackageDetail = {
|
|
|
949
619
|
type DtoChartTag = {
|
|
950
620
|
address: string;
|
|
951
621
|
digest: string;
|
|
622
|
+
has_provenance: boolean;
|
|
952
623
|
is_deprecated: boolean;
|
|
953
624
|
last_pusher: DtoLastPusher;
|
|
954
625
|
metadata: ChartMetadata;
|
|
@@ -959,6 +630,9 @@ type DtoChartTag = {
|
|
|
959
630
|
};
|
|
960
631
|
type DtoChartTagDetail = {
|
|
961
632
|
address: string;
|
|
633
|
+
/**HasProvenance 是否有出生证明.
|
|
634
|
+
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
635
|
+
has_provenance: boolean;
|
|
962
636
|
is_deprecated: boolean;
|
|
963
637
|
last_pusher: DtoLastPusher;
|
|
964
638
|
metadata: ChartMetadata;
|
|
@@ -970,99 +644,40 @@ type DtoChartTagDetail = {
|
|
|
970
644
|
tag: string;
|
|
971
645
|
};
|
|
972
646
|
type DtoCodeIssueSummary = {
|
|
973
|
-
/**严重风险问题数量*/
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
high_count: number;
|
|
984
|
-
|
|
985
|
-
/**高风险问题忽略数量*/
|
|
986
|
-
high_ignore_count: number;
|
|
987
|
-
|
|
988
|
-
/**忽略的问题数量*/
|
|
989
|
-
ignored: number;
|
|
990
|
-
|
|
991
|
-
/**低风险问题数量*/
|
|
992
|
-
low_count: number;
|
|
993
|
-
|
|
994
|
-
/**低风险问题忽略数量*/
|
|
995
|
-
low_ignore_count: number;
|
|
996
|
-
|
|
997
|
-
/**中风险问题数量*/
|
|
998
|
-
medium_count: number;
|
|
999
|
-
|
|
1000
|
-
/**中风险问题忽略数量*/
|
|
1001
|
-
medium_ignore_count: number;
|
|
1002
|
-
|
|
1003
|
-
/**开启中问题数量*/
|
|
647
|
+
/**严重风险问题数量*/critical_count: number; /**严重风险问题忽略数量*/
|
|
648
|
+
critical_ignore_count: number; /**是否开启源码信息扫描*/
|
|
649
|
+
enable: boolean; /**高风险问题数量*/
|
|
650
|
+
high_count: number; /**高风险问题忽略数量*/
|
|
651
|
+
high_ignore_count: number; /**忽略的问题数量*/
|
|
652
|
+
ignored: number; /**低风险问题数量*/
|
|
653
|
+
low_count: number; /**低风险问题忽略数量*/
|
|
654
|
+
low_ignore_count: number; /**中风险问题数量*/
|
|
655
|
+
medium_count: number; /**中风险问题忽略数量*/
|
|
656
|
+
medium_ignore_count: number; /**开启中问题数量*/
|
|
1004
657
|
open: number;
|
|
1005
658
|
};
|
|
1006
659
|
type DtoCodeSensitiveSummary = {
|
|
1007
|
-
/**是否开启代码敏感信息扫描*/
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
/**忽略问题数量*/
|
|
1017
|
-
ignored: number;
|
|
1018
|
-
|
|
1019
|
-
/**低风险问题数量*/
|
|
1020
|
-
low_count: number;
|
|
1021
|
-
|
|
1022
|
-
/**低风险问题忽略数量*/
|
|
1023
|
-
low_ignore_count: number;
|
|
1024
|
-
|
|
1025
|
-
/**中风险问题数量*/
|
|
1026
|
-
medium_count: number;
|
|
1027
|
-
|
|
1028
|
-
/**中风险问题忽略数量*/
|
|
1029
|
-
medium_ignore_count: number;
|
|
1030
|
-
|
|
1031
|
-
/**开启中问题数量*/
|
|
660
|
+
/**是否开启代码敏感信息扫描*/enable: boolean; /**高风险问题数量*/
|
|
661
|
+
high_count: number; /**高风险问题忽略数量*/
|
|
662
|
+
high_ignore_count: number; /**忽略问题数量*/
|
|
663
|
+
ignored: number; /**低风险问题数量*/
|
|
664
|
+
low_count: number; /**低风险问题忽略数量*/
|
|
665
|
+
low_ignore_count: number; /**中风险问题数量*/
|
|
666
|
+
medium_count: number; /**中风险问题忽略数量*/
|
|
667
|
+
medium_ignore_count: number; /**开启中问题数量*/
|
|
1032
668
|
open: number;
|
|
1033
669
|
};
|
|
1034
670
|
type DtoCodeVulOverview = {
|
|
1035
|
-
/**忽略的严重风险漏洞的数量*/
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
high_vul_ignore_cnt: number;
|
|
1046
|
-
|
|
1047
|
-
/**打开的高风险级别漏洞的数量*/
|
|
1048
|
-
high_vul_open_cnt: number;
|
|
1049
|
-
|
|
1050
|
-
/**忽略问题数量*/
|
|
1051
|
-
ignored: number;
|
|
1052
|
-
|
|
1053
|
-
/**忽略的低风险级别漏洞的数量*/
|
|
1054
|
-
low_vul_ignore_cnt: number;
|
|
1055
|
-
|
|
1056
|
-
/**打开的低风险级别漏洞的数量*/
|
|
1057
|
-
low_vul_open_cnt: number;
|
|
1058
|
-
|
|
1059
|
-
/**忽略的中风险级别漏洞的数量*/
|
|
1060
|
-
medium_vul_ignore_cnt: number;
|
|
1061
|
-
|
|
1062
|
-
/**打开的中风险级别漏洞的数量*/
|
|
1063
|
-
medium_vul_open_cnt: number;
|
|
1064
|
-
|
|
1065
|
-
/**开启中问题数量*/
|
|
671
|
+
/**忽略的严重风险漏洞的数量*/critical_vul_ignore_cnt: number; /**打开的严重风险级别漏洞的数量*/
|
|
672
|
+
critical_vul_open_cnt: number; /**是否开启代码漏洞扫描*/
|
|
673
|
+
enable: boolean; /**忽略的高风险级别漏洞的数量*/
|
|
674
|
+
high_vul_ignore_cnt: number; /**打开的高风险级别漏洞的数量*/
|
|
675
|
+
high_vul_open_cnt: number; /**忽略问题数量*/
|
|
676
|
+
ignored: number; /**忽略的低风险级别漏洞的数量*/
|
|
677
|
+
low_vul_ignore_cnt: number; /**打开的低风险级别漏洞的数量*/
|
|
678
|
+
low_vul_open_cnt: number; /**忽略的中风险级别漏洞的数量*/
|
|
679
|
+
medium_vul_ignore_cnt: number; /**打开的中风险级别漏洞的数量*/
|
|
680
|
+
medium_vul_open_cnt: number; /**开启中问题数量*/
|
|
1066
681
|
open: number;
|
|
1067
682
|
};
|
|
1068
683
|
type DtoCommonRegistryPackageDetail = {
|
|
@@ -1079,6 +694,7 @@ type DtoCommonRegistryPackageDetail = {
|
|
|
1079
694
|
type DtoCommonRegistryTag = {
|
|
1080
695
|
desc: string;
|
|
1081
696
|
digest: string;
|
|
697
|
+
has_provenance: boolean;
|
|
1082
698
|
last_pusher: DtoLastPusher;
|
|
1083
699
|
name: string;
|
|
1084
700
|
pull_count: number;
|
|
@@ -1091,6 +707,9 @@ type DtoCommonRegistryTagDetail = {
|
|
|
1091
707
|
dependencies: DtoDependency[];
|
|
1092
708
|
desc: string;
|
|
1093
709
|
files: DtoFile[];
|
|
710
|
+
/**HasProvenance 是否有出生证明.
|
|
711
|
+
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
712
|
+
has_provenance: boolean;
|
|
1094
713
|
last_pusher: DtoLastPusher;
|
|
1095
714
|
metadata: DtoMetaData;
|
|
1096
715
|
package: string;
|
|
@@ -1100,15 +719,10 @@ type DtoCommonRegistryTagDetail = {
|
|
|
1100
719
|
slug: string;
|
|
1101
720
|
status: string;
|
|
1102
721
|
tag: string;
|
|
1103
|
-
tags: DtoCommonRegistryTag[];
|
|
1104
722
|
};
|
|
1105
723
|
type DtoConanMetaData = {
|
|
1106
|
-
author: string;
|
|
1107
|
-
|
|
1108
|
-
/**conan 的 package 列表*/
|
|
1109
|
-
conan_packages: DtoConanPackage[];
|
|
1110
|
-
|
|
1111
|
-
/**conan recipe 的 revision, conan 制品专用字段*/
|
|
724
|
+
author: string; /**conan 的 package 列表*/
|
|
725
|
+
conan_packages: DtoConanPackage[]; /**conan recipe 的 revision, conan 制品专用字段*/
|
|
1112
726
|
conan_recipe_revision: string;
|
|
1113
727
|
conan_reference: string;
|
|
1114
728
|
home_page: string;
|
|
@@ -1134,6 +748,9 @@ type DtoConanRegistryTagDetail = {
|
|
|
1134
748
|
dependencies: DtoDependency[];
|
|
1135
749
|
desc: string;
|
|
1136
750
|
files: DtoFile[];
|
|
751
|
+
/**HasProvenance 是否有出生证明.
|
|
752
|
+
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
753
|
+
has_provenance: boolean;
|
|
1137
754
|
last_pusher: DtoLastPusher;
|
|
1138
755
|
metadata: DtoConanMetaData;
|
|
1139
756
|
package: string;
|
|
@@ -1143,7 +760,6 @@ type DtoConanRegistryTagDetail = {
|
|
|
1143
760
|
slug: string;
|
|
1144
761
|
status: string;
|
|
1145
762
|
tag: string;
|
|
1146
|
-
tags: DtoCommonRegistryTag[];
|
|
1147
763
|
};
|
|
1148
764
|
type DtoContainerAnnotation = {
|
|
1149
765
|
revision: string;
|
|
@@ -1175,19 +791,22 @@ type DtoContainerPackageDetail = {
|
|
|
1175
791
|
type DtoContainerTag = {
|
|
1176
792
|
address: string;
|
|
1177
793
|
annotations: DtoContainerAnnotation;
|
|
794
|
+
has_provenance: boolean;
|
|
1178
795
|
images: DtoContainerImage[];
|
|
1179
796
|
last_pusher: DtoLastPusher;
|
|
1180
797
|
name: string;
|
|
1181
798
|
pull_count: number;
|
|
1182
799
|
recent_pull_count: number;
|
|
800
|
+
type: string;
|
|
1183
801
|
};
|
|
1184
802
|
type DtoContainerTagDetail = {
|
|
1185
803
|
address: string;
|
|
1186
804
|
annotations: DtoContainerAnnotation;
|
|
805
|
+
/**HasProvenance 是否有出生证明.
|
|
806
|
+
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
807
|
+
has_provenance: boolean;
|
|
1187
808
|
image: DtoContainerImage;
|
|
1188
|
-
last_pusher: DtoLastPusher;
|
|
1189
|
-
|
|
1190
|
-
/**返回的结果是否和提供的架构匹配*/
|
|
809
|
+
last_pusher: DtoLastPusher; /**返回的结果是否和提供的架构匹配*/
|
|
1191
810
|
matches_requested_arch: boolean;
|
|
1192
811
|
options: DtoContainerImage[];
|
|
1193
812
|
package: string;
|
|
@@ -1195,10 +814,10 @@ type DtoContainerTagDetail = {
|
|
|
1195
814
|
recent_pull_count: number;
|
|
1196
815
|
slug: string;
|
|
1197
816
|
tag: string;
|
|
817
|
+
type: string;
|
|
1198
818
|
};
|
|
1199
819
|
type DtoCreateGroupReq = {
|
|
1200
|
-
/**BindDomain 根组织绑定的域名*/
|
|
1201
|
-
bind_domain: string;
|
|
820
|
+
/**BindDomain 根组织绑定的域名*/bind_domain: string;
|
|
1202
821
|
description: string;
|
|
1203
822
|
path: string;
|
|
1204
823
|
remark: string;
|
|
@@ -1221,12 +840,8 @@ type DtoDependency = {
|
|
|
1221
840
|
name: string;
|
|
1222
841
|
};
|
|
1223
842
|
type DtoDockerModelConfig = {
|
|
1224
|
-
architecture: string;
|
|
1225
|
-
|
|
1226
|
-
/**Format the packaging format of the model file(s), currently the only supported value is gguf.*/
|
|
1227
|
-
format: string;
|
|
1228
|
-
|
|
1229
|
-
/**FormatVersion the version of the format*/
|
|
843
|
+
architecture: string; /**Format the packaging format of the model file(s), currently the only supported value is gguf.*/
|
|
844
|
+
format: string; /**FormatVersion the version of the format*/
|
|
1230
845
|
format_version: string;
|
|
1231
846
|
gguf: DtoGguf;
|
|
1232
847
|
parameters: string;
|
|
@@ -1251,19 +866,25 @@ type DtoDockerModelTag = {
|
|
|
1251
866
|
address: string;
|
|
1252
867
|
docker_model_config: DtoDockerModelConfig;
|
|
1253
868
|
docker_model_descriptor: DtoDockerModelDescriptor;
|
|
869
|
+
has_provenance: boolean;
|
|
1254
870
|
last_pusher: DtoLastPusher;
|
|
1255
871
|
name: string;
|
|
1256
872
|
pull_count: number;
|
|
1257
873
|
recent_pull_count: number;
|
|
874
|
+
size: number;
|
|
1258
875
|
};
|
|
1259
876
|
type DtoDockerModelTagDetail = {
|
|
1260
877
|
address: string;
|
|
1261
878
|
docker_model_config: DtoDockerModelConfig;
|
|
1262
879
|
docker_model_descriptor: DtoDockerModelDescriptor;
|
|
880
|
+
/**HasProvenance 是否有出生证明.
|
|
881
|
+
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
882
|
+
has_provenance: boolean;
|
|
1263
883
|
last_pusher: DtoLastPusher;
|
|
1264
884
|
package: string;
|
|
1265
885
|
pull_count: number;
|
|
1266
886
|
recent_pull_count: number;
|
|
887
|
+
size: number;
|
|
1267
888
|
slug: string;
|
|
1268
889
|
tag: string;
|
|
1269
890
|
};
|
|
@@ -1295,42 +916,21 @@ type DtoForks = {
|
|
|
1295
916
|
};
|
|
1296
917
|
type DtoGguf = any;
|
|
1297
918
|
type DtoGetBadgeReq = {
|
|
1298
|
-
/**分支名,例如:main。不传则为默认分支,获取默认分支最新徽章。传了分支名,则获取该分支最新提交记录对应的徽章。*/
|
|
1299
|
-
branch: string;
|
|
919
|
+
/**分支名,例如:main。不传则为默认分支,获取默认分支最新徽章。传了分支名,则获取该分支最新提交记录对应的徽章。*/branch: string;
|
|
1300
920
|
};
|
|
1301
921
|
type DtoGetBadgeResult = {
|
|
1302
|
-
/**徽章颜色*/
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
label: string;
|
|
1307
|
-
|
|
1308
|
-
/**徽章链接*/
|
|
1309
|
-
link: string;
|
|
1310
|
-
|
|
1311
|
-
/**徽章链接列表*/
|
|
1312
|
-
links: string[];
|
|
1313
|
-
|
|
1314
|
-
/**徽章右侧显示内容*/
|
|
922
|
+
/**徽章颜色*/color: string; /**徽章左侧显示内容*/
|
|
923
|
+
label: string; /**徽章链接*/
|
|
924
|
+
link: string; /**徽章链接列表*/
|
|
925
|
+
links: string[]; /**徽章右侧显示内容*/
|
|
1315
926
|
message: string;
|
|
1316
927
|
};
|
|
1317
928
|
type DtoGroupSettingReq = {
|
|
1318
|
-
/**组织限制指定邮箱认证才能加入*/
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
/**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
1325
|
-
hide_members: number;
|
|
1326
|
-
|
|
1327
|
-
/**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
1328
|
-
hide_sub_groups: number;
|
|
1329
|
-
|
|
1330
|
-
/**是否对外显示私有仓库水印,0 - 否, 1 - 是*/
|
|
1331
|
-
show_private_repo_watermark: number;
|
|
1332
|
-
|
|
1333
|
-
/**SettingValue 组织设置值,多个选项,用逗号拼接。可选值来自 SettingNamesArray 的值,e.g. disable_organization_readme,cloud_native_dev_only*/
|
|
929
|
+
/**组织限制指定邮箱认证才能加入*/email_verification: string[]; /**组织保护开关,0 - 关闭,1 - 打开*/
|
|
930
|
+
group_protection: number; /**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
931
|
+
hide_members: number; /**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
932
|
+
hide_sub_groups: number; /**是否对外显示私有仓库水印,0 - 否, 1 - 是*/
|
|
933
|
+
show_private_repo_watermark: number; /**SettingValue 组织设置值,多个选项,用逗号拼接。可选值来自 SettingNamesArray 的值,e.g. disable_organization_readme,cloud_native_dev_only*/
|
|
1334
934
|
values: string;
|
|
1335
935
|
};
|
|
1336
936
|
type DtoInheritMembersUser = {
|
|
@@ -1347,19 +947,12 @@ type DtoInheritMembersUser = {
|
|
|
1347
947
|
nickname: string;
|
|
1348
948
|
self_member: boolean;
|
|
1349
949
|
type: ConstantUserType;
|
|
1350
|
-
username: string;
|
|
1351
|
-
|
|
1352
|
-
/**认证类型*/
|
|
1353
|
-
verified: number;
|
|
1354
|
-
|
|
1355
|
-
/**认证过期时间*/
|
|
950
|
+
username: string; /**认证类型*/
|
|
951
|
+
verified: number; /**认证过期时间*/
|
|
1356
952
|
verified_expire_in: string;
|
|
1357
953
|
};
|
|
1358
954
|
type DtoIssueConfig = {
|
|
1359
|
-
/**逗号分隔的标签字符串,如 "bug,feature"*/
|
|
1360
|
-
labels: string;
|
|
1361
|
-
|
|
1362
|
-
/**"open", "closed"*/
|
|
955
|
+
/**逗号分隔的标签字符串,如 "bug,feature"*/labels: string; /**"open", "closed"*/
|
|
1363
956
|
state: string;
|
|
1364
957
|
};
|
|
1365
958
|
type DtoKnowledgeBaseInfoRes = {
|
|
@@ -1387,8 +980,7 @@ type DtoLastPusher = {
|
|
|
1387
980
|
};
|
|
1388
981
|
type DtoListBadgeReq = any;
|
|
1389
982
|
type DtoListBadgeResult = {
|
|
1390
|
-
/**徽章列表*/
|
|
1391
|
-
badges: DtoBadge[];
|
|
983
|
+
/**徽章列表*/badges: DtoBadge[];
|
|
1392
984
|
};
|
|
1393
985
|
type DtoListForks = {
|
|
1394
986
|
fork_tree_count: number;
|
|
@@ -1400,70 +992,27 @@ type DtoListInheritMembers = {
|
|
|
1400
992
|
users: DtoInheritMembersUser[];
|
|
1401
993
|
};
|
|
1402
994
|
type DtoLogInfo = {
|
|
1403
|
-
/**构建日志 url*/
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
/**组织名*/
|
|
1425
|
-
groupName: string;
|
|
1426
|
-
|
|
1427
|
-
/**流水线标签*/
|
|
1428
|
-
labels: string;
|
|
1429
|
-
|
|
1430
|
-
/**构建用户昵称*/
|
|
1431
|
-
nickName: string;
|
|
1432
|
-
|
|
1433
|
-
/**失败的子流水线个数*/
|
|
1434
|
-
pipelineFailCount: number;
|
|
1435
|
-
|
|
1436
|
-
/**成功的子流水线个数*/
|
|
1437
|
-
pipelineSuccessCount: number;
|
|
1438
|
-
|
|
1439
|
-
/**子流水线个数*/
|
|
1440
|
-
pipelineTotalCount: number;
|
|
1441
|
-
|
|
1442
|
-
/**commitid*/
|
|
1443
|
-
sha: string;
|
|
1444
|
-
|
|
1445
|
-
/**仓库路径*/
|
|
1446
|
-
slug: string;
|
|
1447
|
-
|
|
1448
|
-
/**构建号*/
|
|
1449
|
-
sn: string;
|
|
1450
|
-
|
|
1451
|
-
/**源分支名*/
|
|
1452
|
-
sourceRef: string;
|
|
1453
|
-
|
|
1454
|
-
/**源仓库路径*/
|
|
1455
|
-
sourceSlug: string;
|
|
1456
|
-
|
|
1457
|
-
/**构建状态*/
|
|
1458
|
-
status: string;
|
|
1459
|
-
|
|
1460
|
-
/**目标分支名*/
|
|
1461
|
-
targetRef: string;
|
|
1462
|
-
|
|
1463
|
-
/**构建 title*/
|
|
1464
|
-
title: string;
|
|
1465
|
-
|
|
1466
|
-
/**用户名*/
|
|
995
|
+
/**构建日志 url*/buildLogUrl: string; /**提交日志 title*/
|
|
996
|
+
commitTitle: string; /**构建开始时间*/
|
|
997
|
+
createTime: string; /**构建耗时,单位:ms*/
|
|
998
|
+
duration: number; /**事件名*/
|
|
999
|
+
event: string; /**事件 url*/
|
|
1000
|
+
eventUrl: string; /**构建用户是否被冻结*/
|
|
1001
|
+
freeze: boolean; /**组织名*/
|
|
1002
|
+
groupName: string; /**流水线标签*/
|
|
1003
|
+
labels: string; /**构建用户昵称*/
|
|
1004
|
+
nickName: string; /**失败的子流水线个数*/
|
|
1005
|
+
pipelineFailCount: number; /**成功的子流水线个数*/
|
|
1006
|
+
pipelineSuccessCount: number; /**子流水线个数*/
|
|
1007
|
+
pipelineTotalCount: number; /**commitid*/
|
|
1008
|
+
sha: string; /**仓库路径*/
|
|
1009
|
+
slug: string; /**构建号*/
|
|
1010
|
+
sn: string; /**源分支名*/
|
|
1011
|
+
sourceRef: string; /**源仓库路径*/
|
|
1012
|
+
sourceSlug: string; /**构建状态*/
|
|
1013
|
+
status: string; /**目标分支名*/
|
|
1014
|
+
targetRef: string; /**构建 title*/
|
|
1015
|
+
title: string; /**用户名*/
|
|
1467
1016
|
userName: string;
|
|
1468
1017
|
};
|
|
1469
1018
|
type DtoMemberAccessLevel = {
|
|
@@ -1477,10 +1026,7 @@ type DtoMemberAccessLevelInSlugUnion = {
|
|
|
1477
1026
|
write_privilege: boolean;
|
|
1478
1027
|
};
|
|
1479
1028
|
type DtoMessage = {
|
|
1480
|
-
/**内容*/
|
|
1481
|
-
content: string;
|
|
1482
|
-
|
|
1483
|
-
/**角色,可选值:user、assistant*/
|
|
1029
|
+
/**内容*/content: string; /**角色,可选值:user、assistant*/
|
|
1484
1030
|
role: string;
|
|
1485
1031
|
};
|
|
1486
1032
|
type DtoMetaData = {
|
|
@@ -1494,8 +1040,7 @@ type DtoMetaData = {
|
|
|
1494
1040
|
repository_url: string;
|
|
1495
1041
|
};
|
|
1496
1042
|
type DtoMissionPostViewReq = {
|
|
1497
|
-
/**视图唯一标识列表,按此顺序排序*/
|
|
1498
|
-
ids: string[];
|
|
1043
|
+
/**视图唯一标识列表,按此顺序排序*/ids: string[];
|
|
1499
1044
|
};
|
|
1500
1045
|
type DtoMissionView = {
|
|
1501
1046
|
id: string;
|
|
@@ -1503,22 +1048,11 @@ type DtoMissionView = {
|
|
|
1503
1048
|
type: DtoMissionViewType;
|
|
1504
1049
|
};
|
|
1505
1050
|
type DtoMissionViewConfig = {
|
|
1506
|
-
/**字段配置*/
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
/**视图唯一标识*/
|
|
1513
|
-
id: string;
|
|
1514
|
-
|
|
1515
|
-
/**筛选条件*/
|
|
1516
|
-
selectors: DtoMissionViewSelector[];
|
|
1517
|
-
|
|
1518
|
-
/**排序条件*/
|
|
1519
|
-
sorts: DtoMissionViewSort[];
|
|
1520
|
-
|
|
1521
|
-
/**视图类型*/
|
|
1051
|
+
/**字段配置*/fields: DtoMissionViewFieldConfig[]; /**分组信息*/
|
|
1052
|
+
group: any; /**视图唯一标识*/
|
|
1053
|
+
id: string; /**筛选条件*/
|
|
1054
|
+
selectors: DtoMissionViewSelector[]; /**排序条件*/
|
|
1055
|
+
sorts: DtoMissionViewSort[]; /**视图类型*/
|
|
1522
1056
|
type: any;
|
|
1523
1057
|
};
|
|
1524
1058
|
type DtoMissionViewFieldConfig = {
|
|
@@ -1553,18 +1087,11 @@ type DtoMissions4User = {
|
|
|
1553
1087
|
};
|
|
1554
1088
|
type DtoOperatorType = "equal" | "equals" | "not_equals" | "contains" | "contains_all" | "not_contains" | "empty" | "not_empty" | "before" | "after" | "time_selector";
|
|
1555
1089
|
type DtoOrganizationAccess = {
|
|
1556
|
-
/**AccessRole 用户在当前资源的最大权限*/
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
/**下面所有层级子组织*/
|
|
1561
|
-
all_sub_group_count: number;
|
|
1562
|
-
|
|
1563
|
-
/**下面所有层级子任务*/
|
|
1090
|
+
/**AccessRole 用户在当前资源的最大权限*/access_role: any;
|
|
1091
|
+
all_member_count: number; /**下面所有层级子组织*/
|
|
1092
|
+
all_sub_group_count: number; /**下面所有层级子任务*/
|
|
1564
1093
|
all_sub_mission_count: number;
|
|
1565
|
-
all_sub_registry_count: number;
|
|
1566
|
-
|
|
1567
|
-
/**下面所有层级子仓库*/
|
|
1094
|
+
all_sub_registry_count: number; /**下面所有层级子仓库*/
|
|
1568
1095
|
all_sub_repo_count: number;
|
|
1569
1096
|
created_at: string;
|
|
1570
1097
|
description: string;
|
|
@@ -1581,50 +1108,33 @@ type DtoOrganizationAccess = {
|
|
|
1581
1108
|
pinned_time: string;
|
|
1582
1109
|
readme_repo_path: string;
|
|
1583
1110
|
remark: string;
|
|
1584
|
-
site: string;
|
|
1585
|
-
|
|
1586
|
-
/**下一级子组织数量*/
|
|
1111
|
+
site: string; /**下一级子组织数量*/
|
|
1587
1112
|
sub_group_count: number;
|
|
1588
1113
|
sub_mission_count: number;
|
|
1589
|
-
sub_registry_count: number;
|
|
1590
|
-
|
|
1591
|
-
/**下一级子仓库*/
|
|
1114
|
+
sub_registry_count: number; /**下一级子仓库*/
|
|
1592
1115
|
sub_repo_count: number;
|
|
1593
1116
|
updated_at: string;
|
|
1594
1117
|
wechat_mp: string;
|
|
1595
1118
|
};
|
|
1596
1119
|
type DtoOrganizationSettingWithParent = {
|
|
1597
|
-
/**上级group设置了hide_members为1,则下级都不能显示*/
|
|
1598
|
-
can_show_members: boolean;
|
|
1599
|
-
|
|
1600
|
-
/**上级group设置了hide_sub_groups为1,则下级都不能显示*/
|
|
1120
|
+
/**上级group设置了hide_members为1,则下级都不能显示*/can_show_members: boolean; /**上级group设置了hide_sub_groups为1,则下级都不能显示*/
|
|
1601
1121
|
can_show_sub_groups: boolean;
|
|
1602
1122
|
can_show_watermark: boolean;
|
|
1603
|
-
email_verification: string;
|
|
1604
|
-
group_protection: number;
|
|
1605
|
-
|
|
1606
|
-
/**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
1607
|
-
hide_members: number;
|
|
1608
|
-
|
|
1609
|
-
/**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
1123
|
+
email_verification: string[];
|
|
1124
|
+
group_protection: number; /**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
1125
|
+
hide_members: number; /**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
1610
1126
|
hide_sub_groups: number;
|
|
1611
|
-
root_email_verification: string;
|
|
1127
|
+
root_email_verification: string[];
|
|
1612
1128
|
root_group_protection: boolean;
|
|
1613
1129
|
root_values: OrganizationSettingValue;
|
|
1614
1130
|
show_private_repo_watermark: number;
|
|
1615
1131
|
values: OrganizationSettingValue;
|
|
1616
1132
|
};
|
|
1617
1133
|
type DtoOrganizationUnion = {
|
|
1618
|
-
all_member_count: number;
|
|
1619
|
-
|
|
1620
|
-
/**下面所有层级子组织*/
|
|
1621
|
-
all_sub_group_count: number;
|
|
1622
|
-
|
|
1623
|
-
/**下面所有层级子任务*/
|
|
1134
|
+
all_member_count: number; /**下面所有层级子组织*/
|
|
1135
|
+
all_sub_group_count: number; /**下面所有层级子任务*/
|
|
1624
1136
|
all_sub_mission_count: number;
|
|
1625
|
-
all_sub_registry_count: number;
|
|
1626
|
-
|
|
1627
|
-
/**下面所有层级子仓库*/
|
|
1137
|
+
all_sub_registry_count: number; /**下面所有层级子仓库*/
|
|
1628
1138
|
all_sub_repo_count: number;
|
|
1629
1139
|
created_at: string;
|
|
1630
1140
|
description: string;
|
|
@@ -1641,14 +1151,10 @@ type DtoOrganizationUnion = {
|
|
|
1641
1151
|
pinned_time: string;
|
|
1642
1152
|
readme_repo_path: string;
|
|
1643
1153
|
remark: string;
|
|
1644
|
-
site: string;
|
|
1645
|
-
|
|
1646
|
-
/**下一级子组织数量*/
|
|
1154
|
+
site: string; /**下一级子组织数量*/
|
|
1647
1155
|
sub_group_count: number;
|
|
1648
1156
|
sub_mission_count: number;
|
|
1649
|
-
sub_registry_count: number;
|
|
1650
|
-
|
|
1651
|
-
/**下一级子仓库*/
|
|
1157
|
+
sub_registry_count: number; /**下一级子仓库*/
|
|
1652
1158
|
sub_repo_count: number;
|
|
1653
1159
|
updated_at: string;
|
|
1654
1160
|
wechat_mp: string;
|
|
@@ -1664,17 +1170,14 @@ type DtoOutsideCollaboratorInRepo = {
|
|
|
1664
1170
|
locked: boolean;
|
|
1665
1171
|
nickname: string;
|
|
1666
1172
|
type: ConstantUserType;
|
|
1667
|
-
username: string;
|
|
1668
|
-
|
|
1669
|
-
/**认证类型*/
|
|
1670
|
-
verified: number;
|
|
1671
|
-
|
|
1672
|
-
/**认证过期时间*/
|
|
1173
|
+
username: string; /**认证类型*/
|
|
1174
|
+
verified: number; /**认证过期时间*/
|
|
1673
1175
|
verified_expire_in: string;
|
|
1674
1176
|
};
|
|
1675
1177
|
type DtoPackage = {
|
|
1676
1178
|
count: number;
|
|
1677
1179
|
description: string;
|
|
1180
|
+
is_dir: boolean;
|
|
1678
1181
|
labels: string[];
|
|
1679
1182
|
last_artifact_name: string;
|
|
1680
1183
|
last_pusher: DtoLastPusher;
|
|
@@ -1690,6 +1193,7 @@ type DtoPackageDetail = {
|
|
|
1690
1193
|
conan: DtoCommonRegistryPackageDetail;
|
|
1691
1194
|
docker: DtoContainerPackageDetail;
|
|
1692
1195
|
docker_model: DtoDockerModelPackageDetail;
|
|
1196
|
+
generic: DtoCommonRegistryPackageDetail;
|
|
1693
1197
|
helm: DtoChartPackageDetail;
|
|
1694
1198
|
maven: DtoCommonRegistryPackageDetail;
|
|
1695
1199
|
npm: DtoCommonRegistryPackageDetail;
|
|
@@ -1697,7 +1201,7 @@ type DtoPackageDetail = {
|
|
|
1697
1201
|
ohpm: DtoCommonRegistryPackageDetail;
|
|
1698
1202
|
pypi: DtoCommonRegistryPackageDetail;
|
|
1699
1203
|
};
|
|
1700
|
-
type DtoPackageType = "all" | "docker" | "helm" | "docker-model" | "npm" | "maven" | "ohpm" | "pypi" | "composer" | "nuget" | "conan" | "cargo";
|
|
1204
|
+
type DtoPackageType = "all" | "docker" | "helm" | "docker-model" | "npm" | "maven" | "ohpm" | "pypi" | "composer" | "nuget" | "conan" | "cargo" | "generic";
|
|
1701
1205
|
type DtoProcessingConfig = {
|
|
1702
1206
|
chunk_overlap: number;
|
|
1703
1207
|
chunk_size: number;
|
|
@@ -1719,6 +1223,9 @@ type DtoPyPiRegistryTagDetail = {
|
|
|
1719
1223
|
dependencies: DtoDependency[];
|
|
1720
1224
|
desc: string;
|
|
1721
1225
|
files: DtoFile[];
|
|
1226
|
+
/**HasProvenance 是否有出生证明.
|
|
1227
|
+
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
1228
|
+
has_provenance: boolean;
|
|
1722
1229
|
last_pusher: DtoLastPusher;
|
|
1723
1230
|
metadata: DtoPyPiMetaData;
|
|
1724
1231
|
package: string;
|
|
@@ -1728,19 +1235,11 @@ type DtoPyPiRegistryTagDetail = {
|
|
|
1728
1235
|
slug: string;
|
|
1729
1236
|
status: string;
|
|
1730
1237
|
tag: string;
|
|
1731
|
-
tags: DtoCommonRegistryTag[];
|
|
1732
1238
|
};
|
|
1733
1239
|
type DtoQueryKnowledgeBaseReq = {
|
|
1734
|
-
/**元数据过滤条件*/
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
/**查询语句*/
|
|
1738
|
-
query: string;
|
|
1739
|
-
|
|
1740
|
-
/**分数阈值*/
|
|
1741
|
-
score_threshold: number;
|
|
1742
|
-
|
|
1743
|
-
/**返回结果的数量*/
|
|
1240
|
+
/**元数据过滤条件*/metadata_filtering_conditions: any; /**查询语句*/
|
|
1241
|
+
query: string; /**分数阈值*/
|
|
1242
|
+
score_threshold: number; /**返回结果的数量*/
|
|
1744
1243
|
top_k: number;
|
|
1745
1244
|
};
|
|
1746
1245
|
type DtoQueryKnowledgeBaseRes = {
|
|
@@ -1783,28 +1282,13 @@ type DtoRepoSecurityOverview = {
|
|
|
1783
1282
|
risk_cnt: DtoRepoSecurityRiskCnt;
|
|
1784
1283
|
};
|
|
1785
1284
|
type DtoRepoSecurityRiskCnt = {
|
|
1786
|
-
/**是否开启源码扫描*/
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
code_sensitive_enable: boolean;
|
|
1794
|
-
|
|
1795
|
-
/**敏感信息风险数量(高风险)*/
|
|
1796
|
-
code_sensitive_risk_cnt: number;
|
|
1797
|
-
|
|
1798
|
-
/**是否开启代码漏洞扫描*/
|
|
1799
|
-
code_vulnerability_enable: boolean;
|
|
1800
|
-
|
|
1801
|
-
/**代码漏洞风险数量(严重+高风险)*/
|
|
1802
|
-
code_vulnerability_risk_cnt: number;
|
|
1803
|
-
|
|
1804
|
-
/**是否开启安全模块*/
|
|
1805
|
-
enable: boolean;
|
|
1806
|
-
|
|
1807
|
-
/**总计数*/
|
|
1285
|
+
/**是否开启源码扫描*/code_issue_enable: boolean; /**源码扫描风险数量 (严重+高风险)*/
|
|
1286
|
+
code_issue_risk_cnt: number; /**是否开启代码敏感信息扫描*/
|
|
1287
|
+
code_sensitive_enable: boolean; /**敏感信息风险数量(高风险)*/
|
|
1288
|
+
code_sensitive_risk_cnt: number; /**是否开启代码漏洞扫描*/
|
|
1289
|
+
code_vulnerability_enable: boolean; /**代码漏洞风险数量(严重+高风险)*/
|
|
1290
|
+
code_vulnerability_risk_cnt: number; /**是否开启安全模块*/
|
|
1291
|
+
enable: boolean; /**总计数*/
|
|
1808
1292
|
total: number;
|
|
1809
1293
|
};
|
|
1810
1294
|
type DtoRepoStarUsers = {
|
|
@@ -1818,43 +1302,23 @@ type DtoRepos4User = {
|
|
|
1818
1302
|
description: string;
|
|
1819
1303
|
display_module: ConstantRepoDisplayModule;
|
|
1820
1304
|
flags: FlagsRepo;
|
|
1821
|
-
fork_count: number;
|
|
1822
|
-
|
|
1823
|
-
/**预留*/
|
|
1305
|
+
fork_count: number; /**预留*/
|
|
1824
1306
|
forked_from_repo: any;
|
|
1825
1307
|
freeze: boolean;
|
|
1826
|
-
id: string;
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
/**仓库语言*/
|
|
1832
|
-
languages: any;
|
|
1833
|
-
|
|
1834
|
-
/**最新代码更新人姓名*/
|
|
1835
|
-
last_update_nickname: string;
|
|
1836
|
-
|
|
1837
|
-
/**最新代码更新人账户名*/
|
|
1838
|
-
last_update_username: string;
|
|
1839
|
-
|
|
1840
|
-
/**最新代码更新时间*/
|
|
1308
|
+
id: string; /**仓库程序语言,预留*/
|
|
1309
|
+
language: string; /**仓库语言*/
|
|
1310
|
+
languages: any; /**最新代码更新人姓名*/
|
|
1311
|
+
last_update_nickname: string; /**最新代码更新人账户名*/
|
|
1312
|
+
last_update_username: string; /**最新代码更新时间*/
|
|
1841
1313
|
last_updated_at: any;
|
|
1842
1314
|
license: string;
|
|
1843
1315
|
mark_count: number;
|
|
1844
|
-
name: string;
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
open_issue_count: number;
|
|
1848
|
-
|
|
1849
|
-
/**开启的pull request数*/
|
|
1850
|
-
open_pull_request_count: number;
|
|
1851
|
-
|
|
1852
|
-
/**完整仓库路径*/
|
|
1316
|
+
name: string; /**开启的issue数*/
|
|
1317
|
+
open_issue_count: number; /**开启的pull request数*/
|
|
1318
|
+
open_pull_request_count: number; /**完整仓库路径*/
|
|
1853
1319
|
path: string;
|
|
1854
1320
|
pinned: boolean;
|
|
1855
|
-
pinned_time: string;
|
|
1856
|
-
|
|
1857
|
-
/**第二语言*/
|
|
1321
|
+
pinned_time: string; /**第二语言*/
|
|
1858
1322
|
second_languages: any;
|
|
1859
1323
|
site: string;
|
|
1860
1324
|
star_count: number;
|
|
@@ -1874,41 +1338,21 @@ type DtoRepos4UserBase = {
|
|
|
1874
1338
|
description: string;
|
|
1875
1339
|
display_module: ConstantRepoDisplayModule;
|
|
1876
1340
|
flags: FlagsRepo;
|
|
1877
|
-
fork_count: number;
|
|
1878
|
-
|
|
1879
|
-
/**预留*/
|
|
1341
|
+
fork_count: number; /**预留*/
|
|
1880
1342
|
forked_from_repo: any;
|
|
1881
1343
|
freeze: boolean;
|
|
1882
|
-
id: string;
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
/**仓库语言*/
|
|
1888
|
-
languages: any;
|
|
1889
|
-
|
|
1890
|
-
/**最新代码更新人姓名*/
|
|
1891
|
-
last_update_nickname: string;
|
|
1892
|
-
|
|
1893
|
-
/**最新代码更新人账户名*/
|
|
1894
|
-
last_update_username: string;
|
|
1895
|
-
|
|
1896
|
-
/**最新代码更新时间*/
|
|
1344
|
+
id: string; /**仓库程序语言,预留*/
|
|
1345
|
+
language: string; /**仓库语言*/
|
|
1346
|
+
languages: any; /**最新代码更新人姓名*/
|
|
1347
|
+
last_update_nickname: string; /**最新代码更新人账户名*/
|
|
1348
|
+
last_update_username: string; /**最新代码更新时间*/
|
|
1897
1349
|
last_updated_at: any;
|
|
1898
1350
|
license: string;
|
|
1899
1351
|
mark_count: number;
|
|
1900
|
-
name: string;
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
/**开启的pull request数*/
|
|
1906
|
-
open_pull_request_count: number;
|
|
1907
|
-
|
|
1908
|
-
/**完整仓库路径*/
|
|
1909
|
-
path: string;
|
|
1910
|
-
|
|
1911
|
-
/**第二语言*/
|
|
1352
|
+
name: string; /**开启的issue数*/
|
|
1353
|
+
open_issue_count: number; /**开启的pull request数*/
|
|
1354
|
+
open_pull_request_count: number; /**完整仓库路径*/
|
|
1355
|
+
path: string; /**第二语言*/
|
|
1912
1356
|
second_languages: any;
|
|
1913
1357
|
site: string;
|
|
1914
1358
|
star_count: number;
|
|
@@ -1921,6 +1365,26 @@ type DtoRepos4UserBase = {
|
|
|
1921
1365
|
visibility_level: ConstantVisibility;
|
|
1922
1366
|
web_url: string;
|
|
1923
1367
|
};
|
|
1368
|
+
type DtoSpecialAmount = {
|
|
1369
|
+
/**云原生构建cpu核时*/compute_build_corehour: number;
|
|
1370
|
+
compute_build_desc: string; /**过期时间时为 null 时永久有效*/
|
|
1371
|
+
compute_build_expire: string; /**云原生构建gpu核时*/
|
|
1372
|
+
compute_build_gpu_corehour: number;
|
|
1373
|
+
compute_build_gpu_desc: string; /**过期时间时为 null 时永久有效*/
|
|
1374
|
+
compute_build_gpu_expire: string; /**云原生开发cpu核时*/
|
|
1375
|
+
compute_develop_corehour: number;
|
|
1376
|
+
compute_develop_desc: string; /**过期时间时为 null 时永久有效*/
|
|
1377
|
+
compute_develop_expire: string; /**云原生开发gpu核时*/
|
|
1378
|
+
compute_develop_gpu_corehour: number;
|
|
1379
|
+
compute_develop_gpu_desc: string; /**过期时间时为 null 时永久有效*/
|
|
1380
|
+
compute_develop_gpu_expire: string;
|
|
1381
|
+
storage_git_desc: string; /**过期时间时为 null 时永久有效*/
|
|
1382
|
+
storage_git_expire: string; /**git存储空间*/
|
|
1383
|
+
storage_git_gib: number;
|
|
1384
|
+
storage_object_desc: string; /**过期时间时为 null 时永久有效*/
|
|
1385
|
+
storage_object_expire: string; /**对象存储空间*/
|
|
1386
|
+
storage_object_gib: number;
|
|
1387
|
+
};
|
|
1924
1388
|
type DtoStarUser = {
|
|
1925
1389
|
avatar: string;
|
|
1926
1390
|
created_at: string;
|
|
@@ -1932,76 +1396,36 @@ type DtoStarUser = {
|
|
|
1932
1396
|
nickname: string;
|
|
1933
1397
|
stared_at: string;
|
|
1934
1398
|
type: ConstantUserType;
|
|
1935
|
-
username: string;
|
|
1936
|
-
|
|
1937
|
-
/**认证类型*/
|
|
1938
|
-
verified: number;
|
|
1939
|
-
|
|
1940
|
-
/**认证过期时间*/
|
|
1399
|
+
username: string; /**认证类型*/
|
|
1400
|
+
verified: number; /**认证过期时间*/
|
|
1941
1401
|
verified_expire_in: string;
|
|
1942
1402
|
};
|
|
1943
1403
|
type DtoStartBuildReq = {
|
|
1944
|
-
/**触发分支,默认为主分支*/
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
/**环境变量,对象格式*/
|
|
1951
|
-
env: any;
|
|
1952
|
-
|
|
1953
|
-
/**事件名,必须是 api_trigger 或以 api_trigger_ 开头,默认为 `api_trigger`*/
|
|
1954
|
-
event: string;
|
|
1955
|
-
|
|
1956
|
-
/**commit id ,优先级比 tag 高,默认为分支最新提交记录*/
|
|
1957
|
-
sha: string;
|
|
1958
|
-
|
|
1959
|
-
/**是否等待构建正式触发,为false时会立刻返回 sn 和 buildLogUrl*/
|
|
1960
|
-
sync: string;
|
|
1961
|
-
|
|
1962
|
-
/**触发 tag,优先级比 branch 高*/
|
|
1404
|
+
/**触发分支,默认为主分支*/branch: string; /**指定配置文件内容,yaml 格式*/
|
|
1405
|
+
config: string; /**环境变量,对象格式*/
|
|
1406
|
+
env: any; /**事件名,必须是 api_trigger 或以 api_trigger_ 开头,默认为 `api_trigger`*/
|
|
1407
|
+
event: string; /**commit id ,优先级比 tag 高,默认为分支最新提交记录*/
|
|
1408
|
+
sha: string; /**是否等待构建正式触发,为false时会立刻返回 sn 和 buildLogUrl*/
|
|
1409
|
+
sync: string; /**触发 tag,优先级比 branch 高*/
|
|
1963
1410
|
tag: string;
|
|
1964
1411
|
};
|
|
1965
1412
|
type DtoStartWorkspaceReq = {
|
|
1966
|
-
/**分支名或 tag 名,例如:main 或 v1.0.0。*/
|
|
1967
|
-
branch: string;
|
|
1968
|
-
|
|
1969
|
-
/**Git ref,例如,refs/heads/main 或 refs/tags/v1.0.0。不传 ref 时默认基于分支启动*/
|
|
1413
|
+
/**分支名或 tag 名,例如:main 或 v1.0.0。*/branch: string; /**Git ref,例如,refs/heads/main 或 refs/tags/v1.0.0。不传 ref 时默认基于分支启动*/
|
|
1970
1414
|
ref: string;
|
|
1971
1415
|
};
|
|
1972
1416
|
type DtoStartWorkspaceResult = {
|
|
1973
|
-
/**仅新创建开发环境时返回,表示创建开发环境的流水线日志地址*/
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
/**仅新创建开发环境时返回,表示创建开发环境的提示信息*/
|
|
1977
|
-
message: string;
|
|
1978
|
-
|
|
1979
|
-
/**仅新创建开发环境时返回,表示创建开发环境的流水线 sn*/
|
|
1980
|
-
sn: string;
|
|
1981
|
-
|
|
1982
|
-
/**如果存在开发环境,则返回 WebIDE 访问 url;如果不存在开发环境,则返回启动云原生开发的 loading 页面 url 地址*/
|
|
1417
|
+
/**仅新创建开发环境时返回,表示创建开发环境的流水线日志地址*/buildLogUrl: string; /**仅新创建开发环境时返回,表示创建开发环境的提示信息*/
|
|
1418
|
+
message: string; /**仅新创建开发环境时返回,表示创建开发环境的流水线 sn*/
|
|
1419
|
+
sn: string; /**如果存在开发环境,则返回 WebIDE 访问 url;如果不存在开发环境,则返回启动云原生开发的 loading 页面 url 地址*/
|
|
1983
1420
|
url: string;
|
|
1984
1421
|
};
|
|
1985
|
-
type DtoTag = {
|
|
1986
|
-
cargo: DtoCommonRegistryTag[];
|
|
1987
|
-
composer: DtoCommonRegistryTag[];
|
|
1988
|
-
conan: DtoCommonRegistryTag[];
|
|
1989
|
-
docker: DtoContainerTag[];
|
|
1990
|
-
docker_model: DtoDockerModelTag[];
|
|
1991
|
-
helm: DtoChartTag[];
|
|
1992
|
-
maven: DtoCommonRegistryTag[];
|
|
1993
|
-
npm: DtoCommonRegistryTag[];
|
|
1994
|
-
nuget: DtoCommonRegistryTag[];
|
|
1995
|
-
ohpm: DtoCommonRegistryTag[];
|
|
1996
|
-
package: string;
|
|
1997
|
-
pypi: DtoCommonRegistryTag[];
|
|
1998
|
-
};
|
|
1999
1422
|
type DtoTagDetail = {
|
|
2000
1423
|
cargo: DtoCommonRegistryTagDetail;
|
|
2001
1424
|
composer: DtoCommonRegistryTagDetail;
|
|
2002
1425
|
conan: DtoConanRegistryTagDetail;
|
|
2003
1426
|
docker: DtoContainerTagDetail;
|
|
2004
1427
|
docker_model: DtoDockerModelTagDetail;
|
|
1428
|
+
generic: DtoCommonRegistryTagDetail;
|
|
2005
1429
|
helm: DtoChartTagDetail;
|
|
2006
1430
|
maven: DtoCommonRegistryTagDetail;
|
|
2007
1431
|
npm: DtoCommonRegistryTagDetail;
|
|
@@ -2041,48 +1465,30 @@ type DtoUpdateUserInfoPayload = {
|
|
|
2041
1465
|
wechat_mp_qrcode: string;
|
|
2042
1466
|
};
|
|
2043
1467
|
type DtoUploadAssetsResponse = {
|
|
2044
|
-
assets:
|
|
2045
|
-
form: any;
|
|
2046
|
-
|
|
2047
|
-
/**后续调用 confirm 接口用的*/
|
|
2048
|
-
token: string;
|
|
1468
|
+
/**资源信息。*/assets: any; /**上传表单参数。*/
|
|
1469
|
+
form: any; /**后续调用 confirm 接口用的。*/
|
|
1470
|
+
token: string; /**上传URL地址。*/
|
|
2049
1471
|
upload_url: string;
|
|
2050
1472
|
};
|
|
2051
1473
|
type DtoUploadBadgeReq = {
|
|
2052
|
-
/**徽章 key。目前允许上传的 key 包括:security/tca*/
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
/**点击徽章右侧的跳转链接*/
|
|
2059
|
-
link: string;
|
|
2060
|
-
|
|
2061
|
-
/**徽章右侧显示内容*/
|
|
2062
|
-
message: string;
|
|
2063
|
-
|
|
2064
|
-
/**commit id*/
|
|
2065
|
-
sha: string;
|
|
2066
|
-
|
|
2067
|
-
/**徽章数值,不传默认用 message 代替*/
|
|
1474
|
+
/**徽章 key。目前允许上传的 key 包括:security/tca*/key: string; /**是否上传 latest 徽章。默认为 false:不上传 latest,仅上传 commitid 对应的徽章;true:上传 latest 和 commitid 对应的徽章*/
|
|
1475
|
+
latest: boolean; /**点击徽章右侧的跳转链接*/
|
|
1476
|
+
link: string; /**徽章右侧显示内容*/
|
|
1477
|
+
message: string; /**commit id*/
|
|
1478
|
+
sha: string; /**徽章数值,不传默认用 message 代替*/
|
|
2068
1479
|
value: number;
|
|
2069
1480
|
};
|
|
2070
1481
|
type DtoUploadBadgeResult = {
|
|
2071
|
-
/**latest 对应的徽章 url 地址。如果没有传 latest: true,则该字段为空字符串*/
|
|
2072
|
-
latest_url: string;
|
|
2073
|
-
|
|
2074
|
-
/**commitid 对应的徽章 url 地址*/
|
|
1482
|
+
/**latest 对应的徽章 url 地址。如果没有传 latest: true,则该字段为空字符串*/latest_url: string; /**commitid 对应的徽章 url 地址*/
|
|
2075
1483
|
url: string;
|
|
2076
1484
|
};
|
|
2077
1485
|
type DtoUploadRequestParams = {
|
|
2078
|
-
ext: any;
|
|
2079
|
-
name: string;
|
|
1486
|
+
/**文件扩展信息。*/ext: any; /**文件名。*/
|
|
1487
|
+
name: string; /**文件大小。*/
|
|
2080
1488
|
size: number;
|
|
2081
1489
|
};
|
|
2082
1490
|
type DtoUserFollowResult = {
|
|
2083
|
-
freeze: boolean;
|
|
2084
|
-
|
|
2085
|
-
/**查询人是否follow了此用户*/
|
|
1491
|
+
freeze: boolean; /**查询人是否follow了此用户*/
|
|
2086
1492
|
is_following: boolean;
|
|
2087
1493
|
locked: boolean;
|
|
2088
1494
|
nickname: string;
|
|
@@ -2097,18 +1503,12 @@ type DtoUsers = {
|
|
|
2097
1503
|
locked: boolean;
|
|
2098
1504
|
nickname: string;
|
|
2099
1505
|
type: ConstantUserType;
|
|
2100
|
-
username: string;
|
|
2101
|
-
|
|
2102
|
-
/**认证类型*/
|
|
2103
|
-
verified: number;
|
|
2104
|
-
|
|
2105
|
-
/**认证过期时间*/
|
|
1506
|
+
username: string; /**认证类型*/
|
|
1507
|
+
verified: number; /**认证过期时间*/
|
|
2106
1508
|
verified_expire_in: string;
|
|
2107
1509
|
};
|
|
2108
1510
|
type DtoUsersResult = {
|
|
2109
|
-
address: string;
|
|
2110
|
-
|
|
2111
|
-
/**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
1511
|
+
address: string; /**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
2112
1512
|
appreciate_status: number;
|
|
2113
1513
|
avatar: string;
|
|
2114
1514
|
bio: string;
|
|
@@ -2122,9 +1522,7 @@ type DtoUsersResult = {
|
|
|
2122
1522
|
freeze: boolean;
|
|
2123
1523
|
gender: number;
|
|
2124
1524
|
group_count: number;
|
|
2125
|
-
id: string;
|
|
2126
|
-
|
|
2127
|
-
/**查询人是否follow了此用户*/
|
|
1525
|
+
id: string; /**查询人是否follow了此用户*/
|
|
2128
1526
|
is_following: boolean;
|
|
2129
1527
|
location: string;
|
|
2130
1528
|
locked: boolean;
|
|
@@ -2141,21 +1539,15 @@ type DtoUsersResult = {
|
|
|
2141
1539
|
site: string;
|
|
2142
1540
|
stars_count: number;
|
|
2143
1541
|
type: ConstantUserType;
|
|
2144
|
-
username: string;
|
|
2145
|
-
|
|
2146
|
-
/**认证类型*/
|
|
2147
|
-
verified: number;
|
|
2148
|
-
|
|
2149
|
-
/**认证过期时间*/
|
|
1542
|
+
username: string; /**认证类型*/
|
|
1543
|
+
verified: number; /**认证过期时间*/
|
|
2150
1544
|
verified_expire_in: string;
|
|
2151
1545
|
wechat_mp: string;
|
|
2152
1546
|
wechat_mp_qrcode: string;
|
|
2153
1547
|
};
|
|
2154
1548
|
type DtoUsersResultForSelf = {
|
|
2155
1549
|
address: string;
|
|
2156
|
-
appearance: string;
|
|
2157
|
-
|
|
2158
|
-
/**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
1550
|
+
appearance: string; /**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
2159
1551
|
appreciate_status: number;
|
|
2160
1552
|
avatar: string;
|
|
2161
1553
|
bio: string;
|
|
@@ -2192,12 +1584,8 @@ type DtoUsersResultForSelf = {
|
|
|
2192
1584
|
type: ConstantUserType;
|
|
2193
1585
|
updated_name_at: string;
|
|
2194
1586
|
updated_nick_at: string;
|
|
2195
|
-
username: string;
|
|
2196
|
-
|
|
2197
|
-
/**认证类型*/
|
|
2198
|
-
verified: number;
|
|
2199
|
-
|
|
2200
|
-
/**认证过期时间*/
|
|
1587
|
+
username: string; /**认证类型*/
|
|
1588
|
+
verified: number; /**认证过期时间*/
|
|
2201
1589
|
verified_expire_in: string;
|
|
2202
1590
|
wechat_mp: string;
|
|
2203
1591
|
wechat_mp_qrcode: string;
|
|
@@ -2215,252 +1603,192 @@ type DtoUsersWithAccessLevelInSlug = {
|
|
|
2215
1603
|
locked: boolean;
|
|
2216
1604
|
nickname: string;
|
|
2217
1605
|
type: ConstantUserType;
|
|
2218
|
-
username: string;
|
|
2219
|
-
|
|
2220
|
-
/**认证类型*/
|
|
2221
|
-
verified: number;
|
|
2222
|
-
|
|
2223
|
-
/**认证过期时间*/
|
|
1606
|
+
username: string; /**认证类型*/
|
|
1607
|
+
verified: number; /**认证过期时间*/
|
|
2224
1608
|
verified_expire_in: string;
|
|
2225
1609
|
};
|
|
2226
1610
|
type DtoWorkspaceDeleteReq = {
|
|
2227
|
-
/**表示要删除的开发环境流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
2228
|
-
pipelineId: string;
|
|
2229
|
-
|
|
2230
|
-
/**表示要删除的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
1611
|
+
/**表示要删除的开发环境流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/pipelineId: string; /**表示要删除的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
2231
1612
|
sn: string;
|
|
2232
1613
|
};
|
|
2233
1614
|
type DtoWorkspaceDeleteResult = {
|
|
2234
|
-
/**返回码,0 表示成功,1 表示失败*/
|
|
2235
|
-
code: number;
|
|
2236
|
-
|
|
2237
|
-
/**描述*/
|
|
1615
|
+
/**返回码,0 表示成功,1 表示失败*/code: number; /**描述*/
|
|
2238
1616
|
message: string;
|
|
2239
1617
|
};
|
|
2240
1618
|
type DtoWorkspaceDetailResult = {
|
|
2241
|
-
/**CodeBuddy 国际版客户端 remote-ssh 访问 schema 地址*/
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
/**
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
/**jetbrains 系列 ide 的 jetbrains gateway 访问 schema 地址,环境内有安装 JetBrains 系列 ide 才会有*/
|
|
2251
|
-
jetbrains: any;
|
|
2252
|
-
|
|
2253
|
-
/**选择入口页面 url*/
|
|
2254
|
-
jumpUrl: string;
|
|
2255
|
-
|
|
2256
|
-
/**remote-ssh 连接地址*/
|
|
2257
|
-
remoteSsh: string;
|
|
2258
|
-
|
|
2259
|
-
/**ssh 登录命令*/
|
|
2260
|
-
ssh: string;
|
|
2261
|
-
|
|
2262
|
-
/**VSCode 客户端 remote-ssh 访问 schema 地址*/
|
|
2263
|
-
vscode: string;
|
|
2264
|
-
|
|
2265
|
-
/**Vscode 预览版客户端 remote-ssh 访问 schema 地址*/
|
|
2266
|
-
"vscode-insiders": string;
|
|
2267
|
-
|
|
2268
|
-
/**WebIDE 访问 url*/
|
|
1619
|
+
/**CodeBuddy 国际版客户端 remote-ssh 访问 schema 地址*/codebuddy: string; /**CodeBuddy 国内版客户端 remote-ssh 访问 schema 地址*/
|
|
1620
|
+
codebuddycn: string; /**Cursor 客户端 remote-ssh 访问 schema 地址*/
|
|
1621
|
+
cursor: string; /**jetbrains 系列 ide 的 jetbrains gateway 访问 schema 地址,环境内有安装 JetBrains 系列 ide 才会有*/
|
|
1622
|
+
jetbrains: any; /**选择入口页面 url*/
|
|
1623
|
+
jumpUrl: string; /**remote-ssh 连接地址*/
|
|
1624
|
+
remoteSsh: string; /**ssh 登录命令*/
|
|
1625
|
+
ssh: string; /**VSCode 客户端 remote-ssh 访问 schema 地址*/
|
|
1626
|
+
vscode: string; /**Vscode 预览版客户端 remote-ssh 访问 schema 地址*/
|
|
1627
|
+
"vscode-insiders": string; /**WebIDE 访问 url*/
|
|
2269
1628
|
webide: string;
|
|
2270
1629
|
};
|
|
2271
1630
|
type DtoWorkspaceInfo = {
|
|
2272
|
-
/**分支名,例如:main*/
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
/**备份的文件列表,仅前五个备份文件相对路径*/
|
|
2288
|
-
file_list: string;
|
|
2289
|
-
|
|
2290
|
-
/**环境销毁时远程最新的 commit short hash*/
|
|
2291
|
-
latest_sha: string;
|
|
2292
|
-
|
|
2293
|
-
/**创建环境的子流水线 id*/
|
|
2294
|
-
pipeline_id: string;
|
|
2295
|
-
|
|
2296
|
-
/**备份的 stash 数*/
|
|
2297
|
-
remote_stash_count: number;
|
|
2298
|
-
|
|
2299
|
-
/**仓库地址*/
|
|
2300
|
-
repo_url: string;
|
|
2301
|
-
|
|
2302
|
-
/**恢复备份代码的流水线 id,如果有值表示备份代码已被恢复(重建环境时会恢复备份代码)*/
|
|
2303
|
-
restore_id: string;
|
|
2304
|
-
|
|
2305
|
-
/**仓库路径,例如:groupname/reponame*/
|
|
2306
|
-
slug: string;
|
|
2307
|
-
|
|
2308
|
-
/**创建开发环境的流水线 sn*/
|
|
2309
|
-
sn: string;
|
|
2310
|
-
|
|
2311
|
-
/**开发环境是否支持 ssh 链接*/
|
|
2312
|
-
ssh: boolean;
|
|
2313
|
-
|
|
2314
|
-
/**工作区状态,running: 开发环境已启动,closed:开发环境已关闭*/
|
|
2315
|
-
status: string;
|
|
2316
|
-
|
|
2317
|
-
/**开发环境默认工作区路径*/
|
|
1631
|
+
/**分支名,例如:main*/branch: string; /**备份的 commit 数*/
|
|
1632
|
+
commit_count: number; /**开发环境创建时间,例如:2024-12-02T03:20:22.000Z*/
|
|
1633
|
+
create_time: string; /**开发环境持续时间,单位:ms(非实时更新)*/
|
|
1634
|
+
duration: number; /**备份的文件数*/
|
|
1635
|
+
file_count: number; /**备份的文件列表,仅前五个备份文件相对路径*/
|
|
1636
|
+
file_list: string; /**环境销毁时远程最新的 commit short hash*/
|
|
1637
|
+
latest_sha: string; /**创建环境的子流水线 id*/
|
|
1638
|
+
pipeline_id: string; /**备份的 stash 数*/
|
|
1639
|
+
remote_stash_count: number; /**仓库地址*/
|
|
1640
|
+
repo_url: string; /**恢复备份代码的流水线 id,如果有值表示备份代码已被恢复(重建环境时会恢复备份代码)*/
|
|
1641
|
+
restore_id: string; /**仓库路径,例如:groupname/reponame*/
|
|
1642
|
+
slug: string; /**创建开发环境的流水线 sn*/
|
|
1643
|
+
sn: string; /**开发环境是否支持 ssh 链接*/
|
|
1644
|
+
ssh: boolean; /**工作区状态,running: 开发环境已启动,closed:开发环境已关闭*/
|
|
1645
|
+
status: string; /**开发环境默认工作区路径*/
|
|
2318
1646
|
workspace: string;
|
|
2319
1647
|
};
|
|
2320
1648
|
type DtoWorkspaceListResult = {
|
|
2321
|
-
/**是否有更多数据*/
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
/**云原生开发环境列表*/
|
|
2325
|
-
list: DtoWorkspaceInfo[];
|
|
2326
|
-
|
|
2327
|
-
/**分页信息*/
|
|
2328
|
-
pageInfo: any;
|
|
2329
|
-
|
|
2330
|
-
/**总数*/
|
|
1649
|
+
/**是否有更多数据*/hasMore: boolean; /**云原生开发环境列表*/
|
|
1650
|
+
list: DtoWorkspaceInfo[]; /**分页信息*/
|
|
1651
|
+
pageInfo: any; /**总数*/
|
|
2331
1652
|
total: number;
|
|
2332
1653
|
};
|
|
2333
1654
|
type DtoWorkspaceStopReq = {
|
|
2334
|
-
/**表示要停止的开发环境的流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
2335
|
-
pipelineId: string;
|
|
2336
|
-
|
|
2337
|
-
/**表示要停止的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
1655
|
+
/**表示要停止的开发环境的流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/pipelineId: string; /**表示要停止的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
2338
1656
|
sn: string;
|
|
2339
1657
|
};
|
|
2340
1658
|
type DtoWorkspaceStopResult = {
|
|
2341
|
-
/**表示停止的开发环境流水线日志地址*/
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
/**表示操作结果提示信息*/
|
|
2345
|
-
message: string;
|
|
2346
|
-
|
|
2347
|
-
/**表示停止的开发环境流水线构建号*/
|
|
1659
|
+
/**表示停止的开发环境流水线日志地址*/buildLogUrl: string; /**表示操作结果提示信息*/
|
|
1660
|
+
message: string; /**表示停止的开发环境流水线构建号*/
|
|
2348
1661
|
sn: string;
|
|
2349
1662
|
};
|
|
2350
|
-
type FlagsRepo = "Unknown" | "KnowledgeBase"
|
|
1663
|
+
type FlagsRepo = "Unknown" | "KnowledgeBase";
|
|
2351
1664
|
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiCommitStatus = {
|
|
2352
|
-
context: string;
|
|
2353
|
-
created_at: string;
|
|
2354
|
-
description: string;
|
|
2355
|
-
state: string;
|
|
2356
|
-
target_url: string;
|
|
1665
|
+
/**提交状态上下文标识符。*/context: string; /**创建时间。*/
|
|
1666
|
+
created_at: string; /**提交状态描述信息。*/
|
|
1667
|
+
description: string; /**提交状态。枚举值:`pending`,`success`,`failure`,`error`,`skip`*/
|
|
1668
|
+
state: string; /**提交状态详情链接。*/
|
|
1669
|
+
target_url: string; /**更新时间。*/
|
|
2357
1670
|
updated_at: string;
|
|
2358
1671
|
};
|
|
1672
|
+
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction = {
|
|
1673
|
+
/**该表情的数量。*/count: number; /**当前用户是否已使用该 Reaction。*/
|
|
1674
|
+
has_reacted: boolean; /**Reaction 表情类型。*/
|
|
1675
|
+
reaction: string; /**最近使用该 Reaction 的用户列表。*/
|
|
1676
|
+
top_users: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo[];
|
|
1677
|
+
};
|
|
2359
1678
|
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo = {
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
freeze: boolean;
|
|
2365
|
-
|
|
2366
|
-
/**昵称*/
|
|
2367
|
-
nickname: string;
|
|
2368
|
-
|
|
2369
|
-
/**用户名*/
|
|
1679
|
+
/**用户邮箱。*/email: string; /**是否冻结。*/
|
|
1680
|
+
freeze: boolean; /**是否是 NPC。*/
|
|
1681
|
+
is_npc: boolean; /**昵称。*/
|
|
1682
|
+
nickname: string; /**用户名。*/
|
|
2370
1683
|
username: string;
|
|
2371
1684
|
};
|
|
2372
1685
|
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus = {
|
|
2373
|
-
context: string;
|
|
2374
|
-
created_at: string;
|
|
2375
|
-
description: string;
|
|
2376
|
-
state: string;
|
|
2377
|
-
target_url: string;
|
|
1686
|
+
/**状态检查的上下文标识符。*/context: string; /**创建时间。*/
|
|
1687
|
+
created_at: string; /**状态检查的描述信息。*/
|
|
1688
|
+
description: string; /**状态检查结果。*/
|
|
1689
|
+
state: string; /**状态检查的详细信息链接地址。*/
|
|
1690
|
+
target_url: string; /**最后更新时间。*/
|
|
2378
1691
|
updated_at: string;
|
|
2379
1692
|
};
|
|
1693
|
+
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiSceneReaction = {
|
|
1694
|
+
/**该表情的数量。*/count: number; /**当前用户是否已使用该 Reaction。*/
|
|
1695
|
+
has_reacted: boolean; /**Reaction 表情类型。*/
|
|
1696
|
+
reaction: string; /**最近使用该 Reaction 的用户列表。*/
|
|
1697
|
+
top_users: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
1698
|
+
};
|
|
2380
1699
|
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo = {
|
|
2381
|
-
|
|
1700
|
+
is_npc: boolean; /**昵称。*/
|
|
1701
|
+
nickname: string; /**用户名。*/
|
|
2382
1702
|
username: string;
|
|
2383
1703
|
};
|
|
1704
|
+
type GitWoaComCnbMonorepoPlatformServiceApiInternalModelsArtifactoryDtoTag = {
|
|
1705
|
+
cargo: DtoCommonRegistryTag[];
|
|
1706
|
+
composer: DtoCommonRegistryTag[];
|
|
1707
|
+
conan: DtoCommonRegistryTag[];
|
|
1708
|
+
docker: DtoContainerTag[];
|
|
1709
|
+
docker_model: DtoDockerModelTag[];
|
|
1710
|
+
generic: DtoCommonRegistryTag[];
|
|
1711
|
+
helm: DtoChartTag[];
|
|
1712
|
+
maven: DtoCommonRegistryTag[];
|
|
1713
|
+
npm: DtoCommonRegistryTag[];
|
|
1714
|
+
nuget: DtoCommonRegistryTag[];
|
|
1715
|
+
ohpm: DtoCommonRegistryTag[];
|
|
1716
|
+
package: string;
|
|
1717
|
+
pypi: DtoCommonRegistryTag[];
|
|
1718
|
+
};
|
|
2384
1719
|
type OpenapiCreateBranchForm = {
|
|
2385
|
-
name: string;
|
|
1720
|
+
/**新分支的名称。*/name: string; /**新分支的起始点。格式:`分支名称`,`提交哈希`,`标签名称`*/
|
|
2386
1721
|
start_point: string;
|
|
2387
1722
|
};
|
|
2388
1723
|
type OpenapiHeadRef = {
|
|
2389
|
-
name: string;
|
|
1724
|
+
/**分支名称。*/name: string; /**分支是否是保护分支。*/
|
|
2390
1725
|
protected: boolean;
|
|
2391
1726
|
};
|
|
2392
1727
|
type OpenapiIssuePropertiesForm = {
|
|
2393
|
-
properties: OpenapiPropertyForm[];
|
|
1728
|
+
/**Issue自定义属性列表。*/properties: OpenapiPropertyForm[];
|
|
2394
1729
|
};
|
|
2395
1730
|
type OpenapiPatchReleaseForm = {
|
|
2396
|
-
body: string;
|
|
2397
|
-
draft: boolean;
|
|
2398
|
-
make_latest: string;
|
|
2399
|
-
name: string;
|
|
1731
|
+
/**版本描述。*/body: string; /**是否为草稿版本。*/
|
|
1732
|
+
draft: boolean; /**是否设置为最新版本。可选值:`true`,`false`,`legacy`*/
|
|
1733
|
+
make_latest: string; /**版本标题。*/
|
|
1734
|
+
name: string; /**是否为预发布版本。*/
|
|
2400
1735
|
prerelease: boolean;
|
|
2401
1736
|
};
|
|
2402
1737
|
type OpenapiPostCommitAssetUploadUrlForm = {
|
|
2403
|
-
asset_name: string;
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
size: number;
|
|
1738
|
+
/**附件名称*/asset_name: string; /**附件大小,单位为字节。 Attachment size, in bytes.*/
|
|
1739
|
+
size: number; /**附件存在时间,单位为天*/
|
|
1740
|
+
ttl: number;
|
|
2407
1741
|
};
|
|
2408
1742
|
type OpenapiPostReleaseAssetUploadUrlForm = {
|
|
2409
|
-
asset_name: string;
|
|
2410
|
-
overwrite: boolean;
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
size: number;
|
|
1743
|
+
/**附件名称。*/asset_name: string; /**是否覆盖同名附件。*/
|
|
1744
|
+
overwrite: boolean; /**附件大小,单位为字节。*/
|
|
1745
|
+
size: number; /**附件存在时间,单位为天*/
|
|
1746
|
+
ttl: number;
|
|
2414
1747
|
};
|
|
2415
1748
|
type OpenapiPostReleaseForm = {
|
|
2416
|
-
body: string;
|
|
2417
|
-
draft: boolean;
|
|
2418
|
-
make_latest: string;
|
|
2419
|
-
name: string;
|
|
2420
|
-
prerelease: boolean;
|
|
2421
|
-
tag_name: string;
|
|
1749
|
+
/**版本描述。*/body: string; /**是否为草稿版本。*/
|
|
1750
|
+
draft: boolean; /**是否设置为最新版本。可选值:`true`,`false`,`legacy`*/
|
|
1751
|
+
make_latest: string; /**版本标题。*/
|
|
1752
|
+
name: string; /**是否为预发布版本。*/
|
|
1753
|
+
prerelease: boolean; /**标签名称。*/
|
|
1754
|
+
tag_name: string; /**目标提交哈希或分支名称。*/
|
|
2422
1755
|
target_commitish: string;
|
|
2423
1756
|
};
|
|
2424
1757
|
type OpenapiPropertyForm = {
|
|
2425
|
-
key: string;
|
|
1758
|
+
/**Issue自定义属性键名。*/key: string; /**Issue自定义属性值。*/
|
|
2426
1759
|
value: string;
|
|
2427
1760
|
};
|
|
2428
1761
|
type OpenapiPutCommitAnnotation = {
|
|
2429
|
-
key: string;
|
|
1762
|
+
/**元数据键名。*/key: string; /**元数据值。*/
|
|
2430
1763
|
value: string;
|
|
2431
1764
|
};
|
|
2432
1765
|
type OpenapiPutCommitAnnotationsForm = {
|
|
2433
|
-
annotations: OpenapiPutCommitAnnotation[];
|
|
1766
|
+
/**提交元数据列表。*/annotations: OpenapiPutCommitAnnotation[];
|
|
2434
1767
|
};
|
|
2435
1768
|
type OpenapiPutTagAnnotation = {
|
|
2436
|
-
key: string;
|
|
1769
|
+
/**标签元数据的键名。*/key: string; /**标签元数据的值。*/
|
|
2437
1770
|
value: string;
|
|
2438
1771
|
};
|
|
2439
1772
|
type OpenapiPutTagAnnotationsForm = {
|
|
2440
|
-
annotations: OpenapiPutTagAnnotation[];
|
|
1773
|
+
/**设置tag元数据列表信息。*/annotations: OpenapiPutTagAnnotation[];
|
|
2441
1774
|
};
|
|
2442
|
-
type OrganizationSettingValue = "disable_organization_readme" | "cloud_native_dev_only" | "user_root_group_branch_protection_only" | "forbid_redefine_branch_protection" | "enable_tapd_access" | "enable_show_private_mission_water_mark" | "prevent_organization_creation" | "prevent_repository_creation" | "prevent_mission_creation" | "prevent_registry_creation" | "disable_invitation" | "prevent_visibility_modification" | "prevent_resource_deletion" | "prevent_repository_archival" | "prevent_organization_transfer" | "prevent_repository_transfer" | "prevent_mission_transfer" | "prevent_registry_transfer" | "use_group_git_quota" | "use_group_git_object_limit" | "
|
|
1775
|
+
type OrganizationSettingValue = "disable_organization_readme" | "cloud_native_dev_only" | "user_root_group_branch_protection_only" | "forbid_redefine_branch_protection" | "enable_tapd_access" | "enable_show_private_mission_water_mark" | "prevent_organization_creation" | "prevent_repository_creation" | "prevent_mission_creation" | "prevent_registry_creation" | "disable_invitation" | "prevent_visibility_modification" | "prevent_resource_deletion" | "prevent_repository_archival" | "prevent_organization_transfer" | "prevent_repository_transfer" | "prevent_mission_transfer" | "prevent_registry_transfer" | "use_group_git_quota" | "use_group_git_object_limit" | "enable_add_member_only_root" | "use_root_group_git_push_limit" | "enable_add_member" | "enable_change_member_role_only_root" | "enable_other_group_npc_add_comment";
|
|
2443
1776
|
type WebCommitAnnotation = {
|
|
2444
|
-
key: string;
|
|
2445
|
-
meta: any;
|
|
1777
|
+
/**元数据键名。*/key: string; /**扩展元数据。*/
|
|
1778
|
+
meta: any; /**元数据值。*/
|
|
2446
1779
|
value: string;
|
|
2447
1780
|
};
|
|
2448
1781
|
type WebCommitAnnotationInBatch = {
|
|
2449
|
-
annotations: WebCommitAnnotation[];
|
|
1782
|
+
/**提交元数据列表。*/annotations: WebCommitAnnotation[]; /**提交哈希值。*/
|
|
2450
1783
|
commit_hash: string;
|
|
2451
1784
|
};
|
|
2452
1785
|
type WebContributorTrend = {
|
|
2453
|
-
/**贡献者信息*/
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
/**贡献者的总提交数*/
|
|
2457
|
-
commit_count: number;
|
|
2458
|
-
|
|
2459
|
-
/**贡献者以周为单位的提交趋势数据*/
|
|
1786
|
+
/**贡献者信息*/author: any; /**贡献者的总提交数*/
|
|
1787
|
+
commit_count: number; /**贡献者以周为单位的提交趋势数据*/
|
|
2460
1788
|
weeks: WebWeek[];
|
|
2461
1789
|
};
|
|
2462
1790
|
type WebGetCommitAnnotationsInBatchForm = {
|
|
2463
|
-
commit_hashes: string[];
|
|
1791
|
+
/**提交哈希值列表。*/commit_hashes: string[]; /**元数据键列表。*/
|
|
2464
1792
|
keys: string[];
|
|
2465
1793
|
};
|
|
2466
1794
|
type WebMeta = {
|
|
@@ -2473,27 +1801,18 @@ type WebRepoContribTrend = {
|
|
|
2473
1801
|
repo_data: WebWeek[];
|
|
2474
1802
|
user_total: number;
|
|
2475
1803
|
users_data: WebContributorTrend[];
|
|
2476
|
-
week_total: number;
|
|
2477
|
-
|
|
2478
|
-
/**是否统计增删的行数, 默认总提交超过 10000 的仓库不统计*/
|
|
1804
|
+
week_total: number; /**是否统计增删的行数, 默认总提交超过 10000 的仓库不统计*/
|
|
2479
1805
|
with_line_counts: boolean;
|
|
2480
1806
|
};
|
|
2481
1807
|
type WebTagAnnotation = {
|
|
2482
|
-
key: string;
|
|
2483
|
-
meta: any;
|
|
1808
|
+
/**元数据键名。*/key: string; /**元数据信息,用于记录标签元数据的更新操作信息,包括操作者、操作时间、平台来源等审计信息。*/
|
|
1809
|
+
meta: any; /**元数据值。*/
|
|
2484
1810
|
value: string;
|
|
2485
1811
|
};
|
|
2486
1812
|
type WebWeek = {
|
|
2487
|
-
/**每周增加的行数*/
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
/**每周的提交数量*/
|
|
2491
|
-
c: number;
|
|
2492
|
-
|
|
2493
|
-
/**每周删除的行数*/
|
|
2494
|
-
d: number;
|
|
2495
|
-
|
|
2496
|
-
/**周的时间戳*/
|
|
1813
|
+
/**每周增加的行数*/a: number; /**每周的提交数量*/
|
|
1814
|
+
c: number; /**每周删除的行数*/
|
|
1815
|
+
d: number; /**周的时间戳*/
|
|
2497
1816
|
w: number;
|
|
2498
1817
|
};
|
|
2499
1818
|
//#endregion
|
|
@@ -2514,7 +1833,7 @@ type Users_AutoCompleteSource = (params?: {
|
|
|
2514
1833
|
page?: number;
|
|
2515
1834
|
page_size?: number;
|
|
2516
1835
|
search?: string;
|
|
2517
|
-
access?: "Reporter" | "Developer" | "Master" | "Owner";
|
|
1836
|
+
access?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
2518
1837
|
order_by?: "created_at" | "slug_path";
|
|
2519
1838
|
desc?: boolean;
|
|
2520
1839
|
}) => Promise<string[]>;
|
|
@@ -2540,7 +1859,7 @@ type Repositories_GetRepos = (params?: {
|
|
|
2540
1859
|
page_size?: number;
|
|
2541
1860
|
search?: string;
|
|
2542
1861
|
filter_type?: "private" | "public" | "secret";
|
|
2543
|
-
role?: "Reporter" | "Developer" | "Master" | "Owner";
|
|
1862
|
+
role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
2544
1863
|
flags?: "KnowledgeBase";
|
|
2545
1864
|
status?: "active" | "archived";
|
|
2546
1865
|
order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
|
|
@@ -2591,7 +1910,7 @@ type Repositories_GetReposByUserName = (params: {
|
|
|
2591
1910
|
filter_type?: "private" | "public" | "secret";
|
|
2592
1911
|
flags?: "KnowledgeBase";
|
|
2593
1912
|
status?: "active" | "archived";
|
|
2594
|
-
role?: "Reporter" | "Developer" | "Master" | "Owner";
|
|
1913
|
+
role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
2595
1914
|
page?: number;
|
|
2596
1915
|
page_size?: number;
|
|
2597
1916
|
desc?: boolean;
|
|
@@ -2612,7 +1931,7 @@ type Workspace_ListWorkspaces = (params?: {
|
|
|
2612
1931
|
branch?: string;
|
|
2613
1932
|
end?: string;
|
|
2614
1933
|
page?: number;
|
|
2615
|
-
|
|
1934
|
+
page_size?: number;
|
|
2616
1935
|
slug?: string;
|
|
2617
1936
|
start?: string;
|
|
2618
1937
|
status?: string;
|
|
@@ -2735,6 +2054,10 @@ type AI_AiChatCompletions = (params: {
|
|
|
2735
2054
|
repo: string;
|
|
2736
2055
|
request: DtoAiChatCompletionsReq;
|
|
2737
2056
|
}) => Promise<DtoAiChatCompletionsResult>;
|
|
2057
|
+
type Assets_DeleteAsset = (params: {
|
|
2058
|
+
repo: string;
|
|
2059
|
+
assetID: number;
|
|
2060
|
+
}) => Promise<any>;
|
|
2738
2061
|
type Badge_GetBadge = (params: {
|
|
2739
2062
|
repo: string;
|
|
2740
2063
|
sha: string;
|
|
@@ -2763,7 +2086,7 @@ type Build_GetBuildLogs = (params: {
|
|
|
2763
2086
|
endTime?: string;
|
|
2764
2087
|
event?: string;
|
|
2765
2088
|
page?: number;
|
|
2766
|
-
|
|
2089
|
+
page_size?: number;
|
|
2767
2090
|
sha?: string;
|
|
2768
2091
|
sn?: string;
|
|
2769
2092
|
sourceRef?: string;
|
|
@@ -2804,6 +2127,10 @@ type Git_GetCommitAssets = (params: {
|
|
|
2804
2127
|
filename: string;
|
|
2805
2128
|
share?: boolean;
|
|
2806
2129
|
}) => Promise<any>;
|
|
2130
|
+
type Pulls_DeleteRepoFiles = (params: {
|
|
2131
|
+
repo: string;
|
|
2132
|
+
filePath: string;
|
|
2133
|
+
}) => Promise<any>;
|
|
2807
2134
|
type Repositories_ListForksRepos = (params: {
|
|
2808
2135
|
repo: string;
|
|
2809
2136
|
start_from_root?: boolean;
|
|
@@ -2826,6 +2153,14 @@ type Git_CreateBlob = (params: {
|
|
|
2826
2153
|
repo: string;
|
|
2827
2154
|
post_blob_form: ApiPostBlobForm;
|
|
2828
2155
|
}) => Promise<any>;
|
|
2156
|
+
type Git_CreateBranchLock = (params: {
|
|
2157
|
+
repo: string;
|
|
2158
|
+
branch: string;
|
|
2159
|
+
}) => Promise<any>;
|
|
2160
|
+
type Git_DeleteBranchLock = (params: {
|
|
2161
|
+
repo: string;
|
|
2162
|
+
branch: string;
|
|
2163
|
+
}) => Promise<any>;
|
|
2829
2164
|
type Git_ListBranches = (params: {
|
|
2830
2165
|
repo: string;
|
|
2831
2166
|
page?: number;
|
|
@@ -2870,6 +2205,7 @@ type Git_PostCommitAssetUploadConfirmation = (params: {
|
|
|
2870
2205
|
sha1: string;
|
|
2871
2206
|
upload_token: string;
|
|
2872
2207
|
asset_path: string;
|
|
2208
|
+
ttl?: number;
|
|
2873
2209
|
}) => Promise<any>;
|
|
2874
2210
|
type Git_PostCommitAssetUploadURL = (params: {
|
|
2875
2211
|
repo: string;
|
|
@@ -2950,6 +2286,10 @@ type Git_DeleteTag = (params: {
|
|
|
2950
2286
|
repo: string;
|
|
2951
2287
|
tag: string;
|
|
2952
2288
|
}) => Promise<any>;
|
|
2289
|
+
type Pulls_DeleteRepoImgs = (params: {
|
|
2290
|
+
repo: string;
|
|
2291
|
+
imgPath: string;
|
|
2292
|
+
}) => Promise<any>;
|
|
2953
2293
|
type Members_ListInheritMembersOfRepo = (params: {
|
|
2954
2294
|
repo: string;
|
|
2955
2295
|
search?: string;
|
|
@@ -3014,6 +2354,7 @@ type Issues_CanUserBeAssignedToIssue = (params: {
|
|
|
3014
2354
|
type Issues_ListIssueComments = (params: {
|
|
3015
2355
|
repo: string;
|
|
3016
2356
|
number: number;
|
|
2357
|
+
sort?: string;
|
|
3017
2358
|
page?: number;
|
|
3018
2359
|
page_size?: number;
|
|
3019
2360
|
}) => Promise<ApiIssueComment[]>;
|
|
@@ -3024,8 +2365,8 @@ type Issues_PostIssueComment = (params: {
|
|
|
3024
2365
|
}) => Promise<any>;
|
|
3025
2366
|
type Issues_GetIssueComment = (params: {
|
|
3026
2367
|
repo: string;
|
|
3027
|
-
number:
|
|
3028
|
-
comment_id:
|
|
2368
|
+
number: number;
|
|
2369
|
+
comment_id: number;
|
|
3029
2370
|
}) => Promise<ApiIssueComment>;
|
|
3030
2371
|
type Issues_PatchIssueComment = (params: {
|
|
3031
2372
|
repo: string;
|
|
@@ -3058,11 +2399,11 @@ type Issues_DeleteIssueLabel = (params: {
|
|
|
3058
2399
|
number: number;
|
|
3059
2400
|
name: string;
|
|
3060
2401
|
}) => Promise<ApiLabel>;
|
|
3061
|
-
type
|
|
2402
|
+
type Issues_UpdateIssueProperties = (params: {
|
|
3062
2403
|
repo: string;
|
|
3063
2404
|
number: number;
|
|
3064
2405
|
issue_properties_form: OpenapiIssuePropertiesForm;
|
|
3065
|
-
}) => Promise<
|
|
2406
|
+
}) => Promise<ApiIssuePropertyUpdateResult>;
|
|
3066
2407
|
type KnowledgeBase_GetKnowledgeBaseInfo = (params: {
|
|
3067
2408
|
repo: string;
|
|
3068
2409
|
}) => Promise<DtoKnowledgeBaseInfoRes>;
|
|
@@ -3095,11 +2436,6 @@ type RepoLabels_PatchLabel = (params: {
|
|
|
3095
2436
|
name: string;
|
|
3096
2437
|
patch_label_form: ApiPatchLabelForm;
|
|
3097
2438
|
}) => Promise<ApiLabel>;
|
|
3098
|
-
type Git_GetPresignedLFSDownloadLink = (params: {
|
|
3099
|
-
slug: string;
|
|
3100
|
-
oid: string;
|
|
3101
|
-
name: string;
|
|
3102
|
-
}) => Promise<any>;
|
|
3103
2439
|
type Members_ListMembersOfRepo = (params: {
|
|
3104
2440
|
repo: string;
|
|
3105
2441
|
page?: number;
|
|
@@ -3140,7 +2476,9 @@ type Pulls_ListPulls = (params: {
|
|
|
3140
2476
|
state?: string;
|
|
3141
2477
|
authors?: string;
|
|
3142
2478
|
reviewers?: string;
|
|
2479
|
+
reviewers_operator?: string;
|
|
3143
2480
|
assignees?: string;
|
|
2481
|
+
assignees_operator?: string;
|
|
3144
2482
|
labels?: string;
|
|
3145
2483
|
labels_operator?: string;
|
|
3146
2484
|
base_ref?: string;
|
|
@@ -3215,7 +2553,7 @@ type Pulls_ListPullFiles = (params: {
|
|
|
3215
2553
|
}) => Promise<ApiPullFile[]>;
|
|
3216
2554
|
type Pulls_ListPullLabels = (params: {
|
|
3217
2555
|
repo: string;
|
|
3218
|
-
number:
|
|
2556
|
+
number: number;
|
|
3219
2557
|
page?: number;
|
|
3220
2558
|
page_size?: number;
|
|
3221
2559
|
}) => Promise<ApiLabel[]>;
|
|
@@ -3261,6 +2599,12 @@ type Pulls_ListPullReviewComments = (params: {
|
|
|
3261
2599
|
page?: number;
|
|
3262
2600
|
page_size?: number;
|
|
3263
2601
|
}) => Promise<ApiPullReviewComment[]>;
|
|
2602
|
+
type Pulls_PostPullRequestReviewReply = (params: {
|
|
2603
|
+
repo: string;
|
|
2604
|
+
number: number;
|
|
2605
|
+
review_id: number;
|
|
2606
|
+
post_pull_request_review_reply_form: ApiPostPullRequestReviewReplyForm;
|
|
2607
|
+
}) => Promise<any>;
|
|
3264
2608
|
type Releases_ListReleases = (params: {
|
|
3265
2609
|
repo: string;
|
|
3266
2610
|
page?: number;
|
|
@@ -3301,6 +2645,7 @@ type Releases_PostReleaseAssetUploadConfirmation = (params: {
|
|
|
3301
2645
|
release_id: string;
|
|
3302
2646
|
upload_token: string;
|
|
3303
2647
|
asset_path: string;
|
|
2648
|
+
ttl?: number;
|
|
3304
2649
|
}) => Promise<any>;
|
|
3305
2650
|
type Releases_PostReleaseAssetUploadURL = (params: {
|
|
3306
2651
|
repo: string;
|
|
@@ -3391,11 +2736,24 @@ type Workspace_StartWorkspace = (params: {
|
|
|
3391
2736
|
repo: string;
|
|
3392
2737
|
request: DtoStartWorkspaceReq;
|
|
3393
2738
|
}) => Promise<DtoStartWorkspaceResult>;
|
|
2739
|
+
type Charge_GetSpecialAmount = (params: {
|
|
2740
|
+
slug: string;
|
|
2741
|
+
}) => Promise<DtoSpecialAmount>;
|
|
3394
2742
|
type RepoContributor_GetRepoContributorTrend = (params: {
|
|
3395
2743
|
slug: string;
|
|
3396
2744
|
limit?: number;
|
|
3397
2745
|
exclude_external_users?: boolean;
|
|
3398
2746
|
}) => Promise<WebRepoContribTrend>;
|
|
2747
|
+
type Git_GetPresignedLFSDownloadLink = (params: {
|
|
2748
|
+
slug: string;
|
|
2749
|
+
oid: string;
|
|
2750
|
+
name: string;
|
|
2751
|
+
}) => Promise<any>;
|
|
2752
|
+
type Assets_ListAssets = (params: {
|
|
2753
|
+
slug: string;
|
|
2754
|
+
page?: number;
|
|
2755
|
+
page_size?: number;
|
|
2756
|
+
}) => Promise<DtoAssetRecords[]>;
|
|
3399
2757
|
type Members_ListAllMembers = (params: {
|
|
3400
2758
|
slug: string;
|
|
3401
2759
|
page?: number;
|
|
@@ -3438,7 +2796,7 @@ type Members_DeleteOutsideCollaborators = (params: {
|
|
|
3438
2796
|
}) => Promise<any>;
|
|
3439
2797
|
type Registries_ListPackages = (params: {
|
|
3440
2798
|
slug: string;
|
|
3441
|
-
type: "all" | "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
2799
|
+
type: "all" | "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
|
|
3442
2800
|
page?: number;
|
|
3443
2801
|
page_size?: number;
|
|
3444
2802
|
ordering?: "pull_count" | "last_push_at" | "name_ascend" | "name_descend";
|
|
@@ -3451,12 +2809,12 @@ type Registries_GetPackage = (params: {
|
|
|
3451
2809
|
}) => Promise<DtoPackageDetail>;
|
|
3452
2810
|
type Registries_DeletePackage = (params: {
|
|
3453
2811
|
slug: string;
|
|
3454
|
-
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
2812
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
|
|
3455
2813
|
name: string;
|
|
3456
2814
|
}) => Promise<any>;
|
|
3457
2815
|
type Registries_GetPackageTagDetail = (params: {
|
|
3458
2816
|
slug: string;
|
|
3459
|
-
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
2817
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
|
|
3460
2818
|
name: string;
|
|
3461
2819
|
tag: string;
|
|
3462
2820
|
sha256?: string;
|
|
@@ -3464,19 +2822,19 @@ type Registries_GetPackageTagDetail = (params: {
|
|
|
3464
2822
|
}) => Promise<DtoTagDetail>;
|
|
3465
2823
|
type Registries_DeletePackageTag = (params: {
|
|
3466
2824
|
slug: string;
|
|
3467
|
-
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
2825
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
|
|
3468
2826
|
name: string;
|
|
3469
2827
|
tag: string;
|
|
3470
2828
|
}) => Promise<any>;
|
|
3471
2829
|
type Registries_ListPackageTags = (params: {
|
|
3472
2830
|
slug: string;
|
|
3473
|
-
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
|
|
2831
|
+
type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
|
|
3474
2832
|
name: string;
|
|
3475
2833
|
page?: number;
|
|
3476
2834
|
page_size?: number;
|
|
3477
2835
|
ordering?: "pull_count" | "last_push_at";
|
|
3478
|
-
|
|
3479
|
-
}) => Promise<
|
|
2836
|
+
tag_name?: string;
|
|
2837
|
+
}) => Promise<GitWoaComCnbMonorepoPlatformServiceApiInternalModelsArtifactoryDtoTag>;
|
|
3480
2838
|
type Repositories_GetPinnedRepoByGroup = (params: {
|
|
3481
2839
|
slug: string;
|
|
3482
2840
|
}) => Promise<DtoRepos4UserBase[]>;
|
|
@@ -3570,7 +2928,6 @@ interface Client {
|
|
|
3570
2928
|
* /user
|
|
3571
2929
|
*/
|
|
3572
2930
|
get: Users_GetUserInfo;
|
|
3573
|
-
|
|
3574
2931
|
/***
|
|
3575
2932
|
* 更新指定用户的详情信息。Updates the specified user's profile information.
|
|
3576
2933
|
*
|
|
@@ -3612,7 +2969,6 @@ interface Client {
|
|
|
3612
2969
|
* /user/groups
|
|
3613
2970
|
*/
|
|
3614
2971
|
list: Organizations_ListTopGroups;
|
|
3615
|
-
|
|
3616
2972
|
/***
|
|
3617
2973
|
* 查询当前用户在指定组织下拥有指定权限的子组织列表。Get the list of sub-organizations that the current user has access to in the specified organization.
|
|
3618
2974
|
*
|
|
@@ -3790,7 +3146,6 @@ interface Client {
|
|
|
3790
3146
|
* /{group}
|
|
3791
3147
|
*/
|
|
3792
3148
|
get: Organizations_GetGroup;
|
|
3793
|
-
|
|
3794
3149
|
/***
|
|
3795
3150
|
* 更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱。Updates organization information including: description, display name, website URL and contact email.
|
|
3796
3151
|
*
|
|
@@ -3800,7 +3155,6 @@ interface Client {
|
|
|
3800
3155
|
* /{group}
|
|
3801
3156
|
*/
|
|
3802
3157
|
put: Organizations_UpdateOrganization;
|
|
3803
|
-
|
|
3804
3158
|
/***
|
|
3805
3159
|
* 删除指定组织。Delete the specified organization.
|
|
3806
3160
|
*
|
|
@@ -3841,7 +3195,6 @@ interface Client {
|
|
|
3841
3195
|
* /{group}/-/members/access-level
|
|
3842
3196
|
*/
|
|
3843
3197
|
get: Members_GetMemberAccessLevelOfGroup;
|
|
3844
|
-
|
|
3845
3198
|
/***
|
|
3846
3199
|
* 获取指定组织内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
|
|
3847
3200
|
*
|
|
@@ -3852,7 +3205,6 @@ interface Client {
|
|
|
3852
3205
|
*/
|
|
3853
3206
|
list: Members_ListMemberAccessLevelOfGroup;
|
|
3854
3207
|
};
|
|
3855
|
-
|
|
3856
3208
|
/***
|
|
3857
3209
|
* 更新指定组织的直接成员权限信息。Update permission information for direct members in specified organization.
|
|
3858
3210
|
*
|
|
@@ -3862,7 +3214,6 @@ interface Client {
|
|
|
3862
3214
|
* /{group}/-/members/{username}
|
|
3863
3215
|
*/
|
|
3864
3216
|
put: Members_UpdateMembersOfGroup;
|
|
3865
|
-
|
|
3866
3217
|
/***
|
|
3867
3218
|
* 添加成员。Add members.
|
|
3868
3219
|
*
|
|
@@ -3872,7 +3223,6 @@ interface Client {
|
|
|
3872
3223
|
* /{group}/-/members/{username}
|
|
3873
3224
|
*/
|
|
3874
3225
|
post: Members_AddMembersOfGroup;
|
|
3875
|
-
|
|
3876
3226
|
/***
|
|
3877
3227
|
* 删除指定组织的直接成员。Remove direct members from specified organization.
|
|
3878
3228
|
*
|
|
@@ -3940,7 +3290,6 @@ interface Client {
|
|
|
3940
3290
|
* /{mission}/-/mission/view
|
|
3941
3291
|
*/
|
|
3942
3292
|
get: Missions_GetMissionViewConfig;
|
|
3943
|
-
|
|
3944
3293
|
/***
|
|
3945
3294
|
* 设置任务集视图配置信息。Set mission view config.
|
|
3946
3295
|
*
|
|
@@ -3961,7 +3310,6 @@ interface Client {
|
|
|
3961
3310
|
* /{mission}/-/mission/view-list
|
|
3962
3311
|
*/
|
|
3963
3312
|
list: Missions_GetMissionViewList;
|
|
3964
|
-
|
|
3965
3313
|
/***
|
|
3966
3314
|
* 添加、修改任务集视图。Update a mission view or add a new one.
|
|
3967
3315
|
*
|
|
@@ -3971,7 +3319,6 @@ interface Client {
|
|
|
3971
3319
|
* /{mission}/-/mission/view-list
|
|
3972
3320
|
*/
|
|
3973
3321
|
put: Missions_PutMissionViewList;
|
|
3974
|
-
|
|
3975
3322
|
/***
|
|
3976
3323
|
* 排序任务集视图。Sort mission view list.
|
|
3977
3324
|
*
|
|
@@ -4042,7 +3389,6 @@ interface Client {
|
|
|
4042
3389
|
* /{repo}
|
|
4043
3390
|
*/
|
|
4044
3391
|
get: Repositories_GetByID;
|
|
4045
|
-
|
|
4046
3392
|
/***
|
|
4047
3393
|
* 删除指定仓库。Delete the specified repository.
|
|
4048
3394
|
*
|
|
@@ -4052,7 +3398,6 @@ interface Client {
|
|
|
4052
3398
|
* /{repo}
|
|
4053
3399
|
*/
|
|
4054
3400
|
delete: Repositories_DeleteRepo;
|
|
4055
|
-
|
|
4056
3401
|
/***
|
|
4057
3402
|
* 更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证。updates repository details including description, website URL,topics and license type.
|
|
4058
3403
|
*
|
|
@@ -4077,6 +3422,18 @@ interface Client {
|
|
|
4077
3422
|
};
|
|
4078
3423
|
};
|
|
4079
3424
|
};
|
|
3425
|
+
assets: {
|
|
3426
|
+
/***
|
|
3427
|
+
* 通过 asset 记录 id 删除一个 asset
|
|
3428
|
+
*
|
|
3429
|
+
* 通过 asset 记录 id 删除一个 asset,release和commit附件不能通过该接口删除
|
|
3430
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3431
|
+
* repo-manage:rw
|
|
3432
|
+
*
|
|
3433
|
+
* /{repo}/-/assets/{assetID}
|
|
3434
|
+
*/
|
|
3435
|
+
delete: Assets_DeleteAsset;
|
|
3436
|
+
};
|
|
4080
3437
|
badge: {
|
|
4081
3438
|
git: {
|
|
4082
3439
|
/***
|
|
@@ -4160,7 +3517,6 @@ interface Client {
|
|
|
4160
3517
|
*/
|
|
4161
3518
|
get: Build_GetBuildStage;
|
|
4162
3519
|
};
|
|
4163
|
-
|
|
4164
3520
|
/***
|
|
4165
3521
|
* 删除流水线日志内容。Delete pipeline logs content.
|
|
4166
3522
|
*
|
|
@@ -4233,6 +3589,18 @@ interface Client {
|
|
|
4233
3589
|
get: Git_GetCommitAssets;
|
|
4234
3590
|
};
|
|
4235
3591
|
};
|
|
3592
|
+
files: {
|
|
3593
|
+
/***
|
|
3594
|
+
* 删除 UploadFiles 上传的附件
|
|
3595
|
+
*
|
|
3596
|
+
* 删除 UploadFiles 上传的附件
|
|
3597
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3598
|
+
* repo-manage:rw
|
|
3599
|
+
*
|
|
3600
|
+
* /{repo}/-/files/{filePath}
|
|
3601
|
+
*/
|
|
3602
|
+
delete: Pulls_DeleteRepoFiles;
|
|
3603
|
+
};
|
|
4236
3604
|
forks: {
|
|
4237
3605
|
/***
|
|
4238
3606
|
* 获取指定仓库的 fork 列表。Get fork list for specified repository.
|
|
@@ -4289,6 +3657,26 @@ interface Client {
|
|
|
4289
3657
|
*/
|
|
4290
3658
|
post: Git_CreateBlob;
|
|
4291
3659
|
};
|
|
3660
|
+
branchLocks: {
|
|
3661
|
+
/***
|
|
3662
|
+
* 锁定分支
|
|
3663
|
+
*
|
|
3664
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3665
|
+
* repo-code:rw
|
|
3666
|
+
*
|
|
3667
|
+
* /{repo}/-/git/branch-locks/{branch}
|
|
3668
|
+
*/
|
|
3669
|
+
post: Git_CreateBranchLock;
|
|
3670
|
+
/***
|
|
3671
|
+
* 解除锁定分支
|
|
3672
|
+
*
|
|
3673
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3674
|
+
* repo-code:rw
|
|
3675
|
+
*
|
|
3676
|
+
* /{repo}/-/git/branch-locks/{branch}
|
|
3677
|
+
*/
|
|
3678
|
+
delete: Git_DeleteBranchLock;
|
|
3679
|
+
};
|
|
4292
3680
|
branches: {
|
|
4293
3681
|
/***
|
|
4294
3682
|
* 查询分支列表。List branches.
|
|
@@ -4299,7 +3687,6 @@ interface Client {
|
|
|
4299
3687
|
* /{repo}/-/git/branches
|
|
4300
3688
|
*/
|
|
4301
3689
|
list: Git_ListBranches;
|
|
4302
|
-
|
|
4303
3690
|
/***
|
|
4304
3691
|
* 创建新分支。Create a new branch based on a start point.
|
|
4305
3692
|
*
|
|
@@ -4309,7 +3696,6 @@ interface Client {
|
|
|
4309
3696
|
* /{repo}/-/git/branches
|
|
4310
3697
|
*/
|
|
4311
3698
|
post: Git_CreateBranch;
|
|
4312
|
-
|
|
4313
3699
|
/***
|
|
4314
3700
|
* 查询指定分支。Get a branch.
|
|
4315
3701
|
*
|
|
@@ -4319,7 +3705,6 @@ interface Client {
|
|
|
4319
3705
|
* /{repo}/-/git/branches/{branch}
|
|
4320
3706
|
*/
|
|
4321
3707
|
get: Git_GetBranch;
|
|
4322
|
-
|
|
4323
3708
|
/***
|
|
4324
3709
|
* 删除指定分支。Delete the specified branch.
|
|
4325
3710
|
*
|
|
@@ -4351,7 +3736,6 @@ interface Client {
|
|
|
4351
3736
|
* /{repo}/-/git/commit-annotations/{sha}
|
|
4352
3737
|
*/
|
|
4353
3738
|
list: Git_GetCommitAnnotations;
|
|
4354
|
-
|
|
4355
3739
|
/***
|
|
4356
3740
|
* 设定指定 commit 的元数据。Put commit annotations.
|
|
4357
3741
|
*
|
|
@@ -4361,7 +3745,6 @@ interface Client {
|
|
|
4361
3745
|
* /{repo}/-/git/commit-annotations/{sha}
|
|
4362
3746
|
*/
|
|
4363
3747
|
put: Git_PutCommitAnnotations;
|
|
4364
|
-
|
|
4365
3748
|
/***
|
|
4366
3749
|
* 删除指定 commit 的元数据。Delete commit annotation.
|
|
4367
3750
|
*
|
|
@@ -4404,7 +3787,6 @@ interface Client {
|
|
|
4404
3787
|
*/
|
|
4405
3788
|
post: Git_PostCommitAssetUploadURL;
|
|
4406
3789
|
};
|
|
4407
|
-
|
|
4408
3790
|
/***
|
|
4409
3791
|
* 删除指定 commit 的附件。Delete commit asset.
|
|
4410
3792
|
*
|
|
@@ -4436,7 +3818,6 @@ interface Client {
|
|
|
4436
3818
|
* /{repo}/-/git/commits
|
|
4437
3819
|
*/
|
|
4438
3820
|
list: Git_ListCommits;
|
|
4439
|
-
|
|
4440
3821
|
/***
|
|
4441
3822
|
* 查询指定 commit。Get a commit.
|
|
4442
3823
|
*
|
|
@@ -4468,7 +3849,6 @@ interface Client {
|
|
|
4468
3849
|
* /{repo}/-/git/contents
|
|
4469
3850
|
*/
|
|
4470
3851
|
getWithoutPath: Git_GetContentWithoutPath;
|
|
4471
|
-
|
|
4472
3852
|
/***
|
|
4473
3853
|
* 查询仓库文件列表或文件。List repository files or file.
|
|
4474
3854
|
*
|
|
@@ -4511,7 +3891,6 @@ interface Client {
|
|
|
4511
3891
|
* /{repo}/-/git/tag-annotations/{tag_with_key}
|
|
4512
3892
|
*/
|
|
4513
3893
|
delete: Git_DeleteTagAnnotation;
|
|
4514
|
-
|
|
4515
3894
|
/***
|
|
4516
3895
|
* 查询指定 tag 的元数据。Query the metadata of the specified tag.
|
|
4517
3896
|
*
|
|
@@ -4521,7 +3900,6 @@ interface Client {
|
|
|
4521
3900
|
* /{repo}/-/git/tag-annotations/{tag}
|
|
4522
3901
|
*/
|
|
4523
3902
|
list: Git_GetTagAnnotations;
|
|
4524
|
-
|
|
4525
3903
|
/***
|
|
4526
3904
|
* 设定指定 tag 的元数据。Set the metadata of the specified tag.
|
|
4527
3905
|
*
|
|
@@ -4542,7 +3920,6 @@ interface Client {
|
|
|
4542
3920
|
* /{repo}/-/git/tags
|
|
4543
3921
|
*/
|
|
4544
3922
|
list: Git_ListTags;
|
|
4545
|
-
|
|
4546
3923
|
/***
|
|
4547
3924
|
* 创建一个 tag。Create a tag.
|
|
4548
3925
|
*
|
|
@@ -4552,7 +3929,6 @@ interface Client {
|
|
|
4552
3929
|
* /{repo}/-/git/tags
|
|
4553
3930
|
*/
|
|
4554
3931
|
post: Git_CreateTag;
|
|
4555
|
-
|
|
4556
3932
|
/***
|
|
4557
3933
|
* 查询指定 tag。Get a tag.
|
|
4558
3934
|
*
|
|
@@ -4562,7 +3938,6 @@ interface Client {
|
|
|
4562
3938
|
* /{repo}/-/git/tags/{tag}
|
|
4563
3939
|
*/
|
|
4564
3940
|
get: Git_GetTag;
|
|
4565
|
-
|
|
4566
3941
|
/***
|
|
4567
3942
|
* 删除指定 tag。Delete the specified tag.
|
|
4568
3943
|
*
|
|
@@ -4574,6 +3949,18 @@ interface Client {
|
|
|
4574
3949
|
delete: Git_DeleteTag;
|
|
4575
3950
|
};
|
|
4576
3951
|
};
|
|
3952
|
+
imgs: {
|
|
3953
|
+
/***
|
|
3954
|
+
* 删除 UploadImgs 上传的图片
|
|
3955
|
+
*
|
|
3956
|
+
* 删除 UploadImgs 上传的图片
|
|
3957
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
3958
|
+
* repo-manage:rw
|
|
3959
|
+
*
|
|
3960
|
+
* /{repo}/-/imgs/{imgPath}
|
|
3961
|
+
*/
|
|
3962
|
+
delete: Pulls_DeleteRepoImgs;
|
|
3963
|
+
};
|
|
4577
3964
|
inheritMembers: {
|
|
4578
3965
|
/***
|
|
4579
3966
|
* 获取指定仓库内的继承成员。List inherited members within specified repository。
|
|
@@ -4590,37 +3977,34 @@ interface Client {
|
|
|
4590
3977
|
* 查询仓库的 Issues。List issues.
|
|
4591
3978
|
*
|
|
4592
3979
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4593
|
-
* repo-
|
|
3980
|
+
* repo-issue:r
|
|
4594
3981
|
*
|
|
4595
3982
|
* /{repo}/-/issues
|
|
4596
3983
|
*/
|
|
4597
3984
|
list: Issues_ListIssues;
|
|
4598
|
-
|
|
4599
3985
|
/***
|
|
4600
3986
|
* 创建一个 Issue。Create an issue.
|
|
4601
3987
|
*
|
|
4602
3988
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4603
|
-
* repo-
|
|
3989
|
+
* repo-issue:rw
|
|
4604
3990
|
*
|
|
4605
3991
|
* /{repo}/-/issues
|
|
4606
3992
|
*/
|
|
4607
3993
|
post: Issues_CreateIssue;
|
|
4608
|
-
|
|
4609
3994
|
/***
|
|
4610
3995
|
* 查询指定的 Issues。Get an issue.
|
|
4611
3996
|
*
|
|
4612
3997
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4613
|
-
* repo-
|
|
3998
|
+
* repo-issue:r
|
|
4614
3999
|
*
|
|
4615
4000
|
* /{repo}/-/issues/{number}
|
|
4616
4001
|
*/
|
|
4617
4002
|
get: Issues_GetIssue;
|
|
4618
|
-
|
|
4619
4003
|
/***
|
|
4620
4004
|
* 更新一个 Issue。Update an issue.
|
|
4621
4005
|
*
|
|
4622
4006
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4623
|
-
* repo-
|
|
4007
|
+
* repo-issue:rw
|
|
4624
4008
|
*
|
|
4625
4009
|
* /{repo}/-/issues/{number}
|
|
4626
4010
|
*/
|
|
@@ -4630,47 +4014,43 @@ interface Client {
|
|
|
4630
4014
|
* 查询指定 issue 的处理人。 List repository issue assignees.
|
|
4631
4015
|
*
|
|
4632
4016
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4633
|
-
* repo-
|
|
4017
|
+
* repo-issue:r
|
|
4634
4018
|
*
|
|
4635
4019
|
* /{repo}/-/issues/{number}/assignees
|
|
4636
4020
|
*/
|
|
4637
4021
|
list: Issues_ListIssueAssignees;
|
|
4638
|
-
|
|
4639
4022
|
/***
|
|
4640
4023
|
* 添加处理人到指定的 issue。 Adds up to assignees to a issue, Users already assigned to an issue are not replaced.
|
|
4641
4024
|
*
|
|
4642
4025
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4643
|
-
* repo-
|
|
4026
|
+
* repo-issue:rw
|
|
4644
4027
|
*
|
|
4645
4028
|
* /{repo}/-/issues/{number}/assignees
|
|
4646
4029
|
*/
|
|
4647
4030
|
post: Issues_PostIssueAssignees;
|
|
4648
|
-
|
|
4649
4031
|
/***
|
|
4650
4032
|
* 删除 issue 中的处理人。 Removes one or more assignees from an issue.
|
|
4651
4033
|
*
|
|
4652
4034
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4653
|
-
* repo-
|
|
4035
|
+
* repo-issue:rw
|
|
4654
4036
|
*
|
|
4655
4037
|
* /{repo}/-/issues/{number}/assignees
|
|
4656
4038
|
*/
|
|
4657
4039
|
delete: Issues_DeleteIssueAssignees;
|
|
4658
|
-
|
|
4659
4040
|
/***
|
|
4660
4041
|
* 更新 issue 中的处理人。 Updates the assignees of an issue.
|
|
4661
4042
|
*
|
|
4662
4043
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4663
|
-
* repo-
|
|
4044
|
+
* repo-issue:rw
|
|
4664
4045
|
*
|
|
4665
4046
|
* /{repo}/-/issues/{number}/assignees
|
|
4666
4047
|
*/
|
|
4667
4048
|
patch: Issues_PatchIssueAssignees;
|
|
4668
|
-
|
|
4669
4049
|
/***
|
|
4670
4050
|
* 检查用户是否可以被添加到 issue 的处理人中。 Checks if a user can be assigned to an issue.
|
|
4671
4051
|
*
|
|
4672
4052
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4673
|
-
* repo-
|
|
4053
|
+
* repo-issue:r
|
|
4674
4054
|
*
|
|
4675
4055
|
* /{repo}/-/issues/{number}/assignees/{assignee}
|
|
4676
4056
|
*/
|
|
@@ -4686,7 +4066,6 @@ interface Client {
|
|
|
4686
4066
|
* /{repo}/-/issues/{number}/comments
|
|
4687
4067
|
*/
|
|
4688
4068
|
list: Issues_ListIssueComments;
|
|
4689
|
-
|
|
4690
4069
|
/***
|
|
4691
4070
|
* 创建一个 issue 评论。Create an issue comment.
|
|
4692
4071
|
*
|
|
@@ -4696,7 +4075,6 @@ interface Client {
|
|
|
4696
4075
|
* /{repo}/-/issues/{number}/comments
|
|
4697
4076
|
*/
|
|
4698
4077
|
post: Issues_PostIssueComment;
|
|
4699
|
-
|
|
4700
4078
|
/***
|
|
4701
4079
|
* 获取指定 issue 评论。Get an issue comment.
|
|
4702
4080
|
*
|
|
@@ -4706,7 +4084,6 @@ interface Client {
|
|
|
4706
4084
|
* /{repo}/-/issues/{number}/comments/{comment_id}
|
|
4707
4085
|
*/
|
|
4708
4086
|
get: Issues_GetIssueComment;
|
|
4709
|
-
|
|
4710
4087
|
/***
|
|
4711
4088
|
* 修改一个 issue 评论。Update an issue comment.
|
|
4712
4089
|
*
|
|
@@ -4722,47 +4099,43 @@ interface Client {
|
|
|
4722
4099
|
* 查询 issue 的标签列表。List labels for an issue.
|
|
4723
4100
|
*
|
|
4724
4101
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4725
|
-
* repo-
|
|
4102
|
+
* repo-issue:r
|
|
4726
4103
|
*
|
|
4727
4104
|
* /{repo}/-/issues/{number}/labels
|
|
4728
4105
|
*/
|
|
4729
4106
|
list: Issues_ListIssueLabels;
|
|
4730
|
-
|
|
4731
4107
|
/***
|
|
4732
4108
|
* 设置 issue 标签。 Set the new labels for an issue.
|
|
4733
4109
|
*
|
|
4734
4110
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4735
|
-
* repo-
|
|
4111
|
+
* repo-issue:rw
|
|
4736
4112
|
*
|
|
4737
4113
|
* /{repo}/-/issues/{number}/labels
|
|
4738
4114
|
*/
|
|
4739
4115
|
put: Issues_PutIssueLabels;
|
|
4740
|
-
|
|
4741
4116
|
/***
|
|
4742
4117
|
* 新增 issue 标签。Add labels to an issue.
|
|
4743
4118
|
*
|
|
4744
4119
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4745
|
-
* repo-
|
|
4120
|
+
* repo-issue:rw
|
|
4746
4121
|
*
|
|
4747
4122
|
* /{repo}/-/issues/{number}/labels
|
|
4748
4123
|
*/
|
|
4749
4124
|
post: Issues_PostIssueLabels;
|
|
4750
|
-
|
|
4751
4125
|
/***
|
|
4752
4126
|
* 清空 issue 标签。Remove all labels from an issue.
|
|
4753
4127
|
*
|
|
4754
4128
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4755
|
-
* repo-
|
|
4129
|
+
* repo-issue:rw
|
|
4756
4130
|
*
|
|
4757
4131
|
* /{repo}/-/issues/{number}/labels
|
|
4758
4132
|
*/
|
|
4759
4133
|
delete: Issues_DeleteIssueLabels;
|
|
4760
|
-
|
|
4761
4134
|
/***
|
|
4762
4135
|
* 删除 issue 标签。Remove a label from an issue.
|
|
4763
4136
|
*
|
|
4764
4137
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4765
|
-
* repo-
|
|
4138
|
+
* repo-issue:rw
|
|
4766
4139
|
*
|
|
4767
4140
|
* /{repo}/-/issues/{number}/labels/{name}
|
|
4768
4141
|
*/
|
|
@@ -4770,15 +4143,15 @@ interface Client {
|
|
|
4770
4143
|
};
|
|
4771
4144
|
property: {
|
|
4772
4145
|
/***
|
|
4773
|
-
*
|
|
4146
|
+
* 批量更新Issue自定义属性值
|
|
4774
4147
|
*
|
|
4775
|
-
* 为指定Issue
|
|
4148
|
+
* 为指定Issue批量更新多个自定义属性的值,要求属性 key 必须已存在,允许部分失败
|
|
4776
4149
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4777
|
-
* repo-
|
|
4150
|
+
* repo-issue:rw
|
|
4778
4151
|
*
|
|
4779
4152
|
* /{repo}/-/issues/{number}/property
|
|
4780
4153
|
*/
|
|
4781
|
-
|
|
4154
|
+
patch: Issues_UpdateIssueProperties;
|
|
4782
4155
|
};
|
|
4783
4156
|
};
|
|
4784
4157
|
knowledge: {
|
|
@@ -4792,7 +4165,6 @@ interface Client {
|
|
|
4792
4165
|
* /{repo}/-/knowledge/base
|
|
4793
4166
|
*/
|
|
4794
4167
|
get: KnowledgeBase_GetKnowledgeBaseInfo;
|
|
4795
|
-
|
|
4796
4168
|
/***
|
|
4797
4169
|
* 删除知识库
|
|
4798
4170
|
*
|
|
@@ -4838,7 +4210,6 @@ interface Client {
|
|
|
4838
4210
|
* /{repo}/-/labels
|
|
4839
4211
|
*/
|
|
4840
4212
|
list: RepoLabels_ListLabels;
|
|
4841
|
-
|
|
4842
4213
|
/***
|
|
4843
4214
|
* 创建一个 标签。Create a label.
|
|
4844
4215
|
*
|
|
@@ -4848,7 +4219,6 @@ interface Client {
|
|
|
4848
4219
|
* /{repo}/-/labels
|
|
4849
4220
|
*/
|
|
4850
4221
|
post: RepoLabels_PostLabel;
|
|
4851
|
-
|
|
4852
4222
|
/***
|
|
4853
4223
|
* 删除指定的仓库标签。Delete the specified repository label.
|
|
4854
4224
|
*
|
|
@@ -4858,7 +4228,6 @@ interface Client {
|
|
|
4858
4228
|
* /{repo}/-/labels/{name}
|
|
4859
4229
|
*/
|
|
4860
4230
|
delete: RepoLabels_DeleteLabel;
|
|
4861
|
-
|
|
4862
4231
|
/***
|
|
4863
4232
|
* 更新标签信息。Update label information.
|
|
4864
4233
|
*
|
|
@@ -4869,17 +4238,6 @@ interface Client {
|
|
|
4869
4238
|
*/
|
|
4870
4239
|
patch: RepoLabels_PatchLabel;
|
|
4871
4240
|
};
|
|
4872
|
-
lfs: {
|
|
4873
|
-
/***
|
|
4874
|
-
* 获取 git lfs 文件下载链接
|
|
4875
|
-
*
|
|
4876
|
-
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4877
|
-
* repo-code:r
|
|
4878
|
-
*
|
|
4879
|
-
* /{repo}/-/lfs/{oid}
|
|
4880
|
-
*/
|
|
4881
|
-
get: Git_GetPresignedLFSDownloadLink;
|
|
4882
|
-
};
|
|
4883
4241
|
members: {
|
|
4884
4242
|
/***
|
|
4885
4243
|
* 获取指定仓库内的所有直接成员。List all direct members within specified repository.
|
|
@@ -4900,7 +4258,6 @@ interface Client {
|
|
|
4900
4258
|
* /{repo}/-/members/access-level
|
|
4901
4259
|
*/
|
|
4902
4260
|
get: Members_GetMemberAccessLevelOfRepo;
|
|
4903
|
-
|
|
4904
4261
|
/***
|
|
4905
4262
|
* 获取指定仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
|
|
4906
4263
|
*
|
|
@@ -4911,7 +4268,6 @@ interface Client {
|
|
|
4911
4268
|
*/
|
|
4912
4269
|
list: Members_ListMemberAccessLevelOfRepo;
|
|
4913
4270
|
};
|
|
4914
|
-
|
|
4915
4271
|
/***
|
|
4916
4272
|
* 更新指定仓库内的直接成员权限信息。Update permission information for direct members in specified repository.
|
|
4917
4273
|
*
|
|
@@ -4921,7 +4277,6 @@ interface Client {
|
|
|
4921
4277
|
* /{repo}/-/members/{username}
|
|
4922
4278
|
*/
|
|
4923
4279
|
put: Members_UpdateMembersOfRepo;
|
|
4924
|
-
|
|
4925
4280
|
/***
|
|
4926
4281
|
* 添加成员。Add members.
|
|
4927
4282
|
*
|
|
@@ -4931,7 +4286,6 @@ interface Client {
|
|
|
4931
4286
|
* /{repo}/-/members/{username}
|
|
4932
4287
|
*/
|
|
4933
4288
|
post: Members_AddMembersOfRepo;
|
|
4934
|
-
|
|
4935
4289
|
/***
|
|
4936
4290
|
* 删除指定仓库的直接成员。Remove direct members from specified repository.
|
|
4937
4291
|
*
|
|
@@ -4963,7 +4317,6 @@ interface Client {
|
|
|
4963
4317
|
* /{repo}/-/pulls
|
|
4964
4318
|
*/
|
|
4965
4319
|
list: Pulls_ListPulls;
|
|
4966
|
-
|
|
4967
4320
|
/***
|
|
4968
4321
|
* 新增一个合并请求。Create a pull request.
|
|
4969
4322
|
*
|
|
@@ -4973,7 +4326,6 @@ interface Client {
|
|
|
4973
4326
|
* /{repo}/-/pulls
|
|
4974
4327
|
*/
|
|
4975
4328
|
post: Pulls_PostPull;
|
|
4976
|
-
|
|
4977
4329
|
/***
|
|
4978
4330
|
* 查询指定合并请求。Get a pull request.
|
|
4979
4331
|
*
|
|
@@ -4983,7 +4335,6 @@ interface Client {
|
|
|
4983
4335
|
* /{repo}/-/pulls/{number}
|
|
4984
4336
|
*/
|
|
4985
4337
|
get: Pulls_GetPull;
|
|
4986
|
-
|
|
4987
4338
|
/***
|
|
4988
4339
|
* 更新一个合并请求。Update a pull request.
|
|
4989
4340
|
*
|
|
@@ -4998,37 +4349,34 @@ interface Client {
|
|
|
4998
4349
|
* 查询指定合并请求的处理人。List repository pull request assignees.
|
|
4999
4350
|
*
|
|
5000
4351
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5001
|
-
* repo-
|
|
4352
|
+
* repo-pr:r
|
|
5002
4353
|
*
|
|
5003
4354
|
* /{repo}/-/pulls/{number}/assignees
|
|
5004
4355
|
*/
|
|
5005
4356
|
list: Pulls_ListPullAssignees;
|
|
5006
|
-
|
|
5007
4357
|
/***
|
|
5008
4358
|
* 添加处理人到指定的合并请求。 Adds up to assignees to a pull request. Users already assigned to an issue are not replaced.
|
|
5009
4359
|
*
|
|
5010
4360
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5011
|
-
* repo-
|
|
4361
|
+
* repo-pr:rw
|
|
5012
4362
|
*
|
|
5013
4363
|
* /{repo}/-/pulls/{number}/assignees
|
|
5014
4364
|
*/
|
|
5015
4365
|
post: Pulls_PostPullAssignees;
|
|
5016
|
-
|
|
5017
4366
|
/***
|
|
5018
4367
|
* 删除合并请求中的处理人 Removes one or more assignees from a pull request.
|
|
5019
4368
|
*
|
|
5020
4369
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5021
|
-
* repo-
|
|
4370
|
+
* repo-pr:rw
|
|
5022
4371
|
*
|
|
5023
4372
|
* /{repo}/-/pulls/{number}/assignees
|
|
5024
4373
|
*/
|
|
5025
4374
|
delete: Pulls_DeletePullAssignees;
|
|
5026
|
-
|
|
5027
4375
|
/***
|
|
5028
4376
|
* 检查用户是否可以被添加到合并请求的处理人中。 Checks if a user can be assigned to a pull request.
|
|
5029
4377
|
*
|
|
5030
4378
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5031
|
-
* repo-
|
|
4379
|
+
* repo-pr:r
|
|
5032
4380
|
*
|
|
5033
4381
|
* /{repo}/-/pulls/{number}/assignees/{assignee}
|
|
5034
4382
|
*/
|
|
@@ -5044,7 +4392,6 @@ interface Client {
|
|
|
5044
4392
|
* /{repo}/-/pulls/{number}/comments
|
|
5045
4393
|
*/
|
|
5046
4394
|
list: Pulls_ListPullComments;
|
|
5047
|
-
|
|
5048
4395
|
/***
|
|
5049
4396
|
* 新增一个合并请求评论。Create a pull comment.
|
|
5050
4397
|
*
|
|
@@ -5054,7 +4401,6 @@ interface Client {
|
|
|
5054
4401
|
* /{repo}/-/pulls/{number}/comments
|
|
5055
4402
|
*/
|
|
5056
4403
|
post: Pulls_PostPullComment;
|
|
5057
|
-
|
|
5058
4404
|
/***
|
|
5059
4405
|
* 获取一个合并请求评论。Get a pull comment.
|
|
5060
4406
|
*
|
|
@@ -5064,7 +4410,6 @@ interface Client {
|
|
|
5064
4410
|
* /{repo}/-/pulls/{number}/comments/{comment_id}
|
|
5065
4411
|
*/
|
|
5066
4412
|
get: Pulls_GetPullComment;
|
|
5067
|
-
|
|
5068
4413
|
/***
|
|
5069
4414
|
* 更新一个合并请求评论。Update a pull comment.
|
|
5070
4415
|
*
|
|
@@ -5091,7 +4436,7 @@ interface Client {
|
|
|
5091
4436
|
* 查询指定合并请求的提交列表。Lists the commits in a specified pull request.
|
|
5092
4437
|
*
|
|
5093
4438
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5094
|
-
* repo-
|
|
4439
|
+
* repo-pr:r
|
|
5095
4440
|
*
|
|
5096
4441
|
* /{repo}/-/pulls/{number}/commits
|
|
5097
4442
|
*/
|
|
@@ -5102,7 +4447,7 @@ interface Client {
|
|
|
5102
4447
|
* 查询指定合并请求的文件列表。Lists the files in a specified pull request.
|
|
5103
4448
|
*
|
|
5104
4449
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5105
|
-
* repo-
|
|
4450
|
+
* repo-pr:r
|
|
5106
4451
|
*
|
|
5107
4452
|
* /{repo}/-/pulls/{number}/files
|
|
5108
4453
|
*/
|
|
@@ -5113,47 +4458,43 @@ interface Client {
|
|
|
5113
4458
|
* 查询指定合并请求的标签列表。List labels for a pull.
|
|
5114
4459
|
*
|
|
5115
4460
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5116
|
-
* repo-
|
|
4461
|
+
* repo-pr:r
|
|
5117
4462
|
*
|
|
5118
4463
|
* /{repo}/-/pulls/{number}/labels
|
|
5119
4464
|
*/
|
|
5120
4465
|
list: Pulls_ListPullLabels;
|
|
5121
|
-
|
|
5122
4466
|
/***
|
|
5123
4467
|
* 设置合并请求标签。Set the new labels for a pull.
|
|
5124
4468
|
*
|
|
5125
4469
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5126
|
-
* repo-
|
|
4470
|
+
* repo-pr:rw
|
|
5127
4471
|
*
|
|
5128
4472
|
* /{repo}/-/pulls/{number}/labels
|
|
5129
4473
|
*/
|
|
5130
4474
|
put: Pulls_PutPullLabels;
|
|
5131
|
-
|
|
5132
4475
|
/***
|
|
5133
4476
|
* 新增合并请求标签。Add labels to a pull.
|
|
5134
4477
|
*
|
|
5135
4478
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5136
|
-
* repo-
|
|
4479
|
+
* repo-pr:rw
|
|
5137
4480
|
*
|
|
5138
4481
|
* /{repo}/-/pulls/{number}/labels
|
|
5139
4482
|
*/
|
|
5140
4483
|
post: Pulls_PostPullLabels;
|
|
5141
|
-
|
|
5142
4484
|
/***
|
|
5143
4485
|
* 清空合并请求标签。Remove all labels from a pull.
|
|
5144
4486
|
*
|
|
5145
4487
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5146
|
-
* repo-
|
|
4488
|
+
* repo-pr:rw
|
|
5147
4489
|
*
|
|
5148
4490
|
* /{repo}/-/pulls/{number}/labels
|
|
5149
4491
|
*/
|
|
5150
4492
|
delete: Pulls_DeletePullLabels;
|
|
5151
|
-
|
|
5152
4493
|
/***
|
|
5153
4494
|
* 删除合并请求标签。Remove a label from a pull.
|
|
5154
4495
|
*
|
|
5155
4496
|
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
5156
|
-
* repo-
|
|
4497
|
+
* repo-pr:rw
|
|
5157
4498
|
*
|
|
5158
4499
|
* /{repo}/-/pulls/{number}/labels/{name}
|
|
5159
4500
|
*/
|
|
@@ -5180,7 +4521,6 @@ interface Client {
|
|
|
5180
4521
|
* /{repo}/-/pulls/{number}/reviews
|
|
5181
4522
|
*/
|
|
5182
4523
|
list: Pulls_ListPullReviews;
|
|
5183
|
-
|
|
5184
4524
|
/***
|
|
5185
4525
|
* 新增一次合并请求评审。Create a pull review.
|
|
5186
4526
|
*
|
|
@@ -5201,6 +4541,17 @@ interface Client {
|
|
|
5201
4541
|
*/
|
|
5202
4542
|
list: Pulls_ListPullReviewComments;
|
|
5203
4543
|
};
|
|
4544
|
+
replies: {
|
|
4545
|
+
/***
|
|
4546
|
+
* 回复一个 review 评审
|
|
4547
|
+
*
|
|
4548
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4549
|
+
* repo-notes:rw
|
|
4550
|
+
*
|
|
4551
|
+
* /{repo}/-/pulls/{number}/reviews/{review_id}/replies
|
|
4552
|
+
*/
|
|
4553
|
+
post: Pulls_PostPullRequestReviewReply;
|
|
4554
|
+
};
|
|
5204
4555
|
};
|
|
5205
4556
|
};
|
|
5206
4557
|
releases: {
|
|
@@ -5213,7 +4564,6 @@ interface Client {
|
|
|
5213
4564
|
* /{repo}/-/releases
|
|
5214
4565
|
*/
|
|
5215
4566
|
list: Releases_ListReleases;
|
|
5216
|
-
|
|
5217
4567
|
/***
|
|
5218
4568
|
* 新增一个 release。Create a release.
|
|
5219
4569
|
*
|
|
@@ -5256,7 +4606,6 @@ interface Client {
|
|
|
5256
4606
|
*/
|
|
5257
4607
|
get: Releases_GetReleaseByTag;
|
|
5258
4608
|
};
|
|
5259
|
-
|
|
5260
4609
|
/***
|
|
5261
4610
|
* 根据 id 查询指定 release, 包含附件信息。Get a release by id, include assets information.
|
|
5262
4611
|
*
|
|
@@ -5266,7 +4615,6 @@ interface Client {
|
|
|
5266
4615
|
* /{repo}/-/releases/{release_id}
|
|
5267
4616
|
*/
|
|
5268
4617
|
get: Releases_GetReleaseByID;
|
|
5269
|
-
|
|
5270
4618
|
/***
|
|
5271
4619
|
* 删除指定的 release。Delete a release.
|
|
5272
4620
|
*
|
|
@@ -5276,7 +4624,6 @@ interface Client {
|
|
|
5276
4624
|
* /{repo}/-/releases/{release_id}
|
|
5277
4625
|
*/
|
|
5278
4626
|
delete: Releases_DeleteRelease;
|
|
5279
|
-
|
|
5280
4627
|
/***
|
|
5281
4628
|
* 更新 release。Update a release.
|
|
5282
4629
|
*
|
|
@@ -5318,7 +4665,6 @@ interface Client {
|
|
|
5318
4665
|
* /{repo}/-/releases/{release_id}/assets/{asset_id}
|
|
5319
4666
|
*/
|
|
5320
4667
|
get: Releases_GetReleaseAsset;
|
|
5321
|
-
|
|
5322
4668
|
/***
|
|
5323
4669
|
* 删除指定的 release 附件 the specified release asset.
|
|
5324
4670
|
*
|
|
@@ -5354,7 +4700,6 @@ interface Client {
|
|
|
5354
4700
|
* /{repo}/-/settings/branch-protections
|
|
5355
4701
|
*/
|
|
5356
4702
|
list: GitSettings_ListBranchProtections;
|
|
5357
|
-
|
|
5358
4703
|
/***
|
|
5359
4704
|
* 新增仓库保护分支规则。Create branch protection rule.
|
|
5360
4705
|
*
|
|
@@ -5364,7 +4709,6 @@ interface Client {
|
|
|
5364
4709
|
* /{repo}/-/settings/branch-protections
|
|
5365
4710
|
*/
|
|
5366
4711
|
post: GitSettings_PostBranchProtection;
|
|
5367
|
-
|
|
5368
4712
|
/***
|
|
5369
4713
|
* 查询仓库保护分支规则。Get branch protection rule.
|
|
5370
4714
|
*
|
|
@@ -5374,7 +4718,6 @@ interface Client {
|
|
|
5374
4718
|
* /{repo}/-/settings/branch-protections/{id}
|
|
5375
4719
|
*/
|
|
5376
4720
|
get: GitSettings_GetBranchProtection;
|
|
5377
|
-
|
|
5378
4721
|
/***
|
|
5379
4722
|
* 删除仓库保护分支规则。 Delete branch protection rule.
|
|
5380
4723
|
*
|
|
@@ -5384,7 +4727,6 @@ interface Client {
|
|
|
5384
4727
|
* /{repo}/-/settings/branch-protections/{id}
|
|
5385
4728
|
*/
|
|
5386
4729
|
delete: GitSettings_DeleteBranchProtection;
|
|
5387
|
-
|
|
5388
4730
|
/***
|
|
5389
4731
|
* 更新仓库保护分支规则。Update branch protection rule.
|
|
5390
4732
|
*
|
|
@@ -5405,7 +4747,6 @@ interface Client {
|
|
|
5405
4747
|
* /{repo}/-/settings/cloud-native-build
|
|
5406
4748
|
*/
|
|
5407
4749
|
get: GitSettings_GetPipelineSettings;
|
|
5408
|
-
|
|
5409
4750
|
/***
|
|
5410
4751
|
* 更新仓库云原生构建设置。Update pipeline settings.
|
|
5411
4752
|
*
|
|
@@ -5426,7 +4767,6 @@ interface Client {
|
|
|
5426
4767
|
* /{repo}/-/settings/pull-request
|
|
5427
4768
|
*/
|
|
5428
4769
|
get: GitSettings_GetPullRequestSettings;
|
|
5429
|
-
|
|
5430
4770
|
/***
|
|
5431
4771
|
* 更新仓库合并请求设置。Set pull request settings.
|
|
5432
4772
|
*
|
|
@@ -5447,7 +4787,6 @@ interface Client {
|
|
|
5447
4787
|
* /{repo}/-/settings/push-limit
|
|
5448
4788
|
*/
|
|
5449
4789
|
get: GitSettings_GetPushLimitSettings;
|
|
5450
|
-
|
|
5451
4790
|
/***
|
|
5452
4791
|
* 设置仓库推送设置。Set push limit settings.
|
|
5453
4792
|
*
|
|
@@ -5542,6 +4881,20 @@ interface Client {
|
|
|
5542
4881
|
};
|
|
5543
4882
|
};
|
|
5544
4883
|
slug: {
|
|
4884
|
+
charge: {
|
|
4885
|
+
specialAmount: {
|
|
4886
|
+
/***
|
|
4887
|
+
* 查看特权额度
|
|
4888
|
+
*
|
|
4889
|
+
* 查看根组织的特权额度,需要根组织的 master 以上权限才可以查看
|
|
4890
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4891
|
+
* group-resource:r
|
|
4892
|
+
*
|
|
4893
|
+
* /{slug}/-/charge/special-amount
|
|
4894
|
+
*/
|
|
4895
|
+
get: Charge_GetSpecialAmount;
|
|
4896
|
+
};
|
|
4897
|
+
};
|
|
5545
4898
|
contributor: {
|
|
5546
4899
|
trend: {
|
|
5547
4900
|
/***
|
|
@@ -5555,6 +4908,28 @@ interface Client {
|
|
|
5555
4908
|
get: RepoContributor_GetRepoContributorTrend;
|
|
5556
4909
|
};
|
|
5557
4910
|
};
|
|
4911
|
+
lfs: {
|
|
4912
|
+
/***
|
|
4913
|
+
* 获取 git lfs 文件下载链接
|
|
4914
|
+
*
|
|
4915
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4916
|
+
* repo-code:r
|
|
4917
|
+
*
|
|
4918
|
+
* /{slug}/-/lfs/{oid}
|
|
4919
|
+
*/
|
|
4920
|
+
get: Git_GetPresignedLFSDownloadLink;
|
|
4921
|
+
};
|
|
4922
|
+
listAssets: {
|
|
4923
|
+
/***
|
|
4924
|
+
* 仓库的 asset 记录列表
|
|
4925
|
+
*
|
|
4926
|
+
* 访问令牌调用此接口需包含以下权限。Required permissions for access token.
|
|
4927
|
+
* repo-manage:r
|
|
4928
|
+
*
|
|
4929
|
+
* /{slug}/-/list-assets
|
|
4930
|
+
*/
|
|
4931
|
+
list: Assets_ListAssets;
|
|
4932
|
+
};
|
|
5558
4933
|
listMembers: {
|
|
5559
4934
|
/***
|
|
5560
4935
|
* 获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.
|
|
@@ -5576,7 +4951,6 @@ interface Client {
|
|
|
5576
4951
|
* /{slug}/-/missions
|
|
5577
4952
|
*/
|
|
5578
4953
|
list: Missions_GetGroupSubMissions;
|
|
5579
|
-
|
|
5580
4954
|
/***
|
|
5581
4955
|
* 创建任务集。Create a mission.
|
|
5582
4956
|
*
|
|
@@ -5597,7 +4971,6 @@ interface Client {
|
|
|
5597
4971
|
* /{slug}/-/outside-collaborators
|
|
5598
4972
|
*/
|
|
5599
4973
|
list: Members_ListOutsideCollaborators;
|
|
5600
|
-
|
|
5601
4974
|
/***
|
|
5602
4975
|
* 更新指定仓库的外部贡献者权限信息。 Update permission information for external contributors in specified repository.
|
|
5603
4976
|
*
|
|
@@ -5607,7 +4980,6 @@ interface Client {
|
|
|
5607
4980
|
* /{slug}/-/outside-collaborators/{username}
|
|
5608
4981
|
*/
|
|
5609
4982
|
put: Members_UpdateOutsideCollaborators;
|
|
5610
|
-
|
|
5611
4983
|
/***
|
|
5612
4984
|
* 删除指定仓库的外部贡献者。Removes external contributors from specified repository.
|
|
5613
4985
|
*
|
|
@@ -5629,7 +5001,6 @@ interface Client {
|
|
|
5629
5001
|
* /{slug}/-/packages
|
|
5630
5002
|
*/
|
|
5631
5003
|
list: Registries_ListPackages;
|
|
5632
|
-
|
|
5633
5004
|
/***
|
|
5634
5005
|
* 获取指定制品的详细信息。 Get the package detail.
|
|
5635
5006
|
*
|
|
@@ -5640,7 +5011,6 @@ interface Client {
|
|
|
5640
5011
|
* /{slug}/-/packages/{type}/{name}
|
|
5641
5012
|
*/
|
|
5642
5013
|
get: Registries_GetPackage;
|
|
5643
|
-
|
|
5644
5014
|
/***
|
|
5645
5015
|
* 删除制品。 Delete the specific package.
|
|
5646
5016
|
*
|
|
@@ -5663,7 +5033,6 @@ interface Client {
|
|
|
5663
5033
|
* /{slug}/-/packages/{type}/{name}/-/tag/{tag}
|
|
5664
5034
|
*/
|
|
5665
5035
|
get: Registries_GetPackageTagDetail;
|
|
5666
|
-
|
|
5667
5036
|
/***
|
|
5668
5037
|
* 删除制品标签。 Delete the specific tag under specific package
|
|
5669
5038
|
*
|
|
@@ -5699,7 +5068,6 @@ interface Client {
|
|
|
5699
5068
|
* /{slug}/-/pinned-repos
|
|
5700
5069
|
*/
|
|
5701
5070
|
list: Repositories_GetPinnedRepoByGroup;
|
|
5702
|
-
|
|
5703
5071
|
/***
|
|
5704
5072
|
* 更新指定组织仓库墙。Update the pinned repositories of a group.
|
|
5705
5073
|
*
|
|
@@ -5731,7 +5099,6 @@ interface Client {
|
|
|
5731
5099
|
* /{slug}/-/repos
|
|
5732
5100
|
*/
|
|
5733
5101
|
list: Repositories_GetGroupSubRepos;
|
|
5734
|
-
|
|
5735
5102
|
/***
|
|
5736
5103
|
* 创建仓库。Create repositories.
|
|
5737
5104
|
*
|
|
@@ -5752,7 +5119,6 @@ interface Client {
|
|
|
5752
5119
|
* /{slug}/-/settings
|
|
5753
5120
|
*/
|
|
5754
5121
|
get: Organizations_GetGroupSetting;
|
|
5755
|
-
|
|
5756
5122
|
/***
|
|
5757
5123
|
* 更新指定组织的配置。Updates the configuration for the specified organization.
|
|
5758
5124
|
*
|
|
@@ -5918,6 +5284,10 @@ interface Client {
|
|
|
5918
5284
|
AiChatCompletions: AI_AiChatCompletions;
|
|
5919
5285
|
AiAutoPr: AI_AiAutoPr;
|
|
5920
5286
|
};
|
|
5287
|
+
Assets: {
|
|
5288
|
+
DeleteAsset: Assets_DeleteAsset;
|
|
5289
|
+
ListAssets: Assets_ListAssets;
|
|
5290
|
+
};
|
|
5921
5291
|
Badge: {
|
|
5922
5292
|
GetBadge: Badge_GetBadge;
|
|
5923
5293
|
ListBadge: Badge_ListBadge;
|
|
@@ -5939,6 +5309,8 @@ interface Client {
|
|
|
5939
5309
|
GetArchiveCompareChangedFiles: Git_GetArchiveCompareChangedFiles;
|
|
5940
5310
|
GetArchive: Git_GetArchive;
|
|
5941
5311
|
CreateBlob: Git_CreateBlob;
|
|
5312
|
+
CreateBranchLock: Git_CreateBranchLock;
|
|
5313
|
+
DeleteBranchLock: Git_DeleteBranchLock;
|
|
5942
5314
|
ListBranches: Git_ListBranches;
|
|
5943
5315
|
CreateBranch: Git_CreateBranch;
|
|
5944
5316
|
GetBranch: Git_GetBranch;
|
|
@@ -5968,6 +5340,38 @@ interface Client {
|
|
|
5968
5340
|
DeleteTag: Git_DeleteTag;
|
|
5969
5341
|
GetPresignedLFSDownloadLink: Git_GetPresignedLFSDownloadLink;
|
|
5970
5342
|
};
|
|
5343
|
+
Pulls: {
|
|
5344
|
+
DeleteRepoFiles: Pulls_DeleteRepoFiles;
|
|
5345
|
+
DeleteRepoImgs: Pulls_DeleteRepoImgs;
|
|
5346
|
+
ListPullsByNumbers: Pulls_ListPullsByNumbers;
|
|
5347
|
+
ListPulls: Pulls_ListPulls;
|
|
5348
|
+
PostPull: Pulls_PostPull;
|
|
5349
|
+
GetPull: Pulls_GetPull;
|
|
5350
|
+
PatchPull: Pulls_PatchPull;
|
|
5351
|
+
ListPullAssignees: Pulls_ListPullAssignees;
|
|
5352
|
+
PostPullAssignees: Pulls_PostPullAssignees;
|
|
5353
|
+
DeletePullAssignees: Pulls_DeletePullAssignees;
|
|
5354
|
+
CanUserBeAssignedToPull: Pulls_CanUserBeAssignedToPull;
|
|
5355
|
+
ListPullComments: Pulls_ListPullComments;
|
|
5356
|
+
PostPullComment: Pulls_PostPullComment;
|
|
5357
|
+
GetPullComment: Pulls_GetPullComment;
|
|
5358
|
+
PatchPullComment: Pulls_PatchPullComment;
|
|
5359
|
+
ListPullCommitStatuses: Pulls_ListPullCommitStatuses;
|
|
5360
|
+
ListPullCommits: Pulls_ListPullCommits;
|
|
5361
|
+
ListPullFiles: Pulls_ListPullFiles;
|
|
5362
|
+
ListPullLabels: Pulls_ListPullLabels;
|
|
5363
|
+
PutPullLabels: Pulls_PutPullLabels;
|
|
5364
|
+
PostPullLabels: Pulls_PostPullLabels;
|
|
5365
|
+
DeletePullLabels: Pulls_DeletePullLabels;
|
|
5366
|
+
DeletePullLabel: Pulls_DeletePullLabel;
|
|
5367
|
+
MergePull: Pulls_MergePull;
|
|
5368
|
+
ListPullReviews: Pulls_ListPullReviews;
|
|
5369
|
+
PostPullReview: Pulls_PostPullReview;
|
|
5370
|
+
ListPullReviewComments: Pulls_ListPullReviewComments;
|
|
5371
|
+
PostPullRequestReviewReply: Pulls_PostPullRequestReviewReply;
|
|
5372
|
+
UploadFiles: Pulls_UploadFiles;
|
|
5373
|
+
UploadImgs: Pulls_UploadImgs;
|
|
5374
|
+
};
|
|
5971
5375
|
Issues: {
|
|
5972
5376
|
ListIssues: Issues_ListIssues;
|
|
5973
5377
|
CreateIssue: Issues_CreateIssue;
|
|
@@ -5987,7 +5391,7 @@ interface Client {
|
|
|
5987
5391
|
PostIssueLabels: Issues_PostIssueLabels;
|
|
5988
5392
|
DeleteIssueLabels: Issues_DeleteIssueLabels;
|
|
5989
5393
|
DeleteIssueLabel: Issues_DeleteIssueLabel;
|
|
5990
|
-
|
|
5394
|
+
UpdateIssueProperties: Issues_UpdateIssueProperties;
|
|
5991
5395
|
};
|
|
5992
5396
|
KnowledgeBase: {
|
|
5993
5397
|
GetKnowledgeBaseInfo: KnowledgeBase_GetKnowledgeBaseInfo;
|
|
@@ -6001,35 +5405,6 @@ interface Client {
|
|
|
6001
5405
|
DeleteLabel: RepoLabels_DeleteLabel;
|
|
6002
5406
|
PatchLabel: RepoLabels_PatchLabel;
|
|
6003
5407
|
};
|
|
6004
|
-
Pulls: {
|
|
6005
|
-
ListPullsByNumbers: Pulls_ListPullsByNumbers;
|
|
6006
|
-
ListPulls: Pulls_ListPulls;
|
|
6007
|
-
PostPull: Pulls_PostPull;
|
|
6008
|
-
GetPull: Pulls_GetPull;
|
|
6009
|
-
PatchPull: Pulls_PatchPull;
|
|
6010
|
-
ListPullAssignees: Pulls_ListPullAssignees;
|
|
6011
|
-
PostPullAssignees: Pulls_PostPullAssignees;
|
|
6012
|
-
DeletePullAssignees: Pulls_DeletePullAssignees;
|
|
6013
|
-
CanUserBeAssignedToPull: Pulls_CanUserBeAssignedToPull;
|
|
6014
|
-
ListPullComments: Pulls_ListPullComments;
|
|
6015
|
-
PostPullComment: Pulls_PostPullComment;
|
|
6016
|
-
GetPullComment: Pulls_GetPullComment;
|
|
6017
|
-
PatchPullComment: Pulls_PatchPullComment;
|
|
6018
|
-
ListPullCommitStatuses: Pulls_ListPullCommitStatuses;
|
|
6019
|
-
ListPullCommits: Pulls_ListPullCommits;
|
|
6020
|
-
ListPullFiles: Pulls_ListPullFiles;
|
|
6021
|
-
ListPullLabels: Pulls_ListPullLabels;
|
|
6022
|
-
PutPullLabels: Pulls_PutPullLabels;
|
|
6023
|
-
PostPullLabels: Pulls_PostPullLabels;
|
|
6024
|
-
DeletePullLabels: Pulls_DeletePullLabels;
|
|
6025
|
-
DeletePullLabel: Pulls_DeletePullLabel;
|
|
6026
|
-
MergePull: Pulls_MergePull;
|
|
6027
|
-
ListPullReviews: Pulls_ListPullReviews;
|
|
6028
|
-
PostPullReview: Pulls_PostPullReview;
|
|
6029
|
-
ListPullReviewComments: Pulls_ListPullReviewComments;
|
|
6030
|
-
UploadFiles: Pulls_UploadFiles;
|
|
6031
|
-
UploadImgs: Pulls_UploadImgs;
|
|
6032
|
-
};
|
|
6033
5408
|
Releases: {
|
|
6034
5409
|
ListReleases: Releases_ListReleases;
|
|
6035
5410
|
PostRelease: Releases_PostRelease;
|
|
@@ -6060,6 +5435,9 @@ interface Client {
|
|
|
6060
5435
|
GetPushLimitSettings: GitSettings_GetPushLimitSettings;
|
|
6061
5436
|
PutPushLimitSettings: GitSettings_PutPushLimitSettings;
|
|
6062
5437
|
};
|
|
5438
|
+
Charge: {
|
|
5439
|
+
GetSpecialAmount: Charge_GetSpecialAmount;
|
|
5440
|
+
};
|
|
6063
5441
|
RepoContributor: {
|
|
6064
5442
|
GetRepoContributorTrend: RepoContributor_GetRepoContributorTrend;
|
|
6065
5443
|
};
|