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