node-cnb 1.14.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,116 +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
- ApiDeleteIssueAssigneesForm,
60
- GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo,
61
- ApiPostIssueAssigneesForm,
62
- ApiIssueComment,
63
- ApiPostIssueCommentForm,
64
- ApiPatchIssueCommentForm,
65
- ApiLabel,
66
- ApiPostIssueLabelsForm,
67
- ApiPutIssueLabelsForm,
68
- ApiPostLabelForm,
69
- ApiPatchLabelForm,
70
- DtoOutsideCollaboratorInRepo,
71
- ApiPullRequestInfo,
72
- ApiPullRequest,
73
- ApiPullCreationForm,
74
- ApiPull,
75
- ApiPatchPullRequest,
76
- ApiDeletePullAssigneesForm,
77
- GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo,
78
- ApiPostPullAssigneesForm,
79
- ApiPullRequestComment,
80
- ApiPullCommentCreationForm,
81
- ApiPostPullLabelsForm,
82
- ApiPutPullLabelsForm,
83
- ApiMergePullResponse,
84
- ApiMergePullRequest,
85
- ApiPullReviewCreationForm,
86
- ApiRelease,
87
- OpenapiPostReleaseForm,
88
- OpenapiPatchReleaseForm,
89
- OpenapiPostReleaseAssetUploadUrlForm,
90
- ApiReleaseAsset,
91
- ApiBranchProtection,
92
- ApiPipelineSettings,
93
- WebPipelineSettings,
94
- ApiPullRequestSettings,
95
- ApiPushLimitSettings,
96
- DtoRepoStarUsers,
97
- DtoWorkspaceDetailResult,
98
- DtoPackage,
99
- DtoQuotaRsp,
100
- DtoPackageDetail,
101
- DtoTagDetail,
102
- DtoTag,
103
- } 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
104
1690
  type Organizations_CreateOrganization = (params: {
105
1691
  request: DtoCreateGroupReq;
106
1692
  }) => Promise<any>;
107
-
108
1693
  type Users_GetUserInfo = () => Promise<DtoUsersResultForSelf>;
109
-
110
1694
  type Users_UpdateUserInfo = (params: {
111
1695
  request: HttpUpdateUserInfoPayload;
112
1696
  }) => Promise<any>;
113
-
114
1697
  type Users_AutoCompleteSource = (params?: {
115
1698
  source_type?: "Group" | "Repo";
116
1699
  page?: number;
@@ -118,31 +1701,28 @@ type Users_AutoCompleteSource = (params?: {
118
1701
  search?: string;
119
1702
  access?: "Reporter" | "Developer" | "Master" | "Owner";
120
1703
  }) => Promise<string[]>;
121
-
122
1704
  type Organizations_ListTopGroups = (params?: {
123
1705
  page?: number;
124
1706
  page_size?: number;
125
1707
  search?: string;
126
1708
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
127
1709
  }) => Promise<DtoOrganizationAccess[]>;
128
-
129
1710
  type Organizations_ListGroups = (params: {
130
1711
  group: string;
131
1712
  page?: number;
132
1713
  page_size?: number;
133
1714
  access?: number;
134
1715
  }) => Promise<DtoOrganizationAccess[]>;
135
-
136
1716
  type Repositories_GetRepos = (params?: {
137
1717
  page?: number;
138
1718
  page_size?: number;
139
1719
  search?: string;
140
1720
  filter_type?: "private" | "public" | "encrypted";
141
1721
  role?: "Reporter" | "Developer" | "Master" | "Owner";
1722
+ flags?: "KnowledgeBase";
142
1723
  order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
143
1724
  desc?: boolean;
144
1725
  }) => Promise<DtoRepos4User[]>;
145
-
146
1726
  type Repositories_GetUserAllStaredRepos = (params?: {
147
1727
  page?: number;
148
1728
  page_size?: number;
@@ -150,33 +1730,27 @@ type Repositories_GetUserAllStaredRepos = (params?: {
150
1730
  desc?: boolean;
151
1731
  order_by?: "created_at" | "last_updated_at" | "stars" | "forks";
152
1732
  }) => Promise<DtoRepos4User[]>;
153
-
154
1733
  type Users_GetUserInfoByName = (params: {
155
1734
  username: string;
156
1735
  }) => Promise<DtoUsersResult>;
157
-
158
1736
  type Activities_GetUserActivitiesByDate = (params: {
159
1737
  username: string;
160
1738
  date?: string;
161
1739
  }) => Promise<DtoActivityDate>;
162
-
163
1740
  type Assets_GetUserAvatar = (params: {
164
1741
  username: string;
165
1742
  size: string;
166
1743
  }) => Promise<any>;
167
-
168
1744
  type Followers_GetFollowersByUserID = (params: {
169
1745
  username: string;
170
1746
  page?: number;
171
1747
  page_size?: number;
172
1748
  }) => Promise<DtoUserFollowResult[]>;
173
-
174
1749
  type Followers_GetFollowingByUserID = (params: {
175
1750
  username: string;
176
1751
  page?: number;
177
1752
  page_size?: number;
178
1753
  }) => Promise<DtoUserFollowResult[]>;
179
-
180
1754
  type Organizations_GetGroupsByUserID = (params: {
181
1755
  username: string;
182
1756
  search?: string;
@@ -185,18 +1759,15 @@ type Organizations_GetGroupsByUserID = (params: {
185
1759
  desc?: boolean;
186
1760
  order_by?: "join_time" | "created_at";
187
1761
  }) => Promise<DtoOrganizationUnion>;
188
-
189
1762
  type Repositories_GetPinnedRepoByID = (params: {
190
1763
  username: string;
191
1764
  }) => Promise<DtoRepos4User[]>;
192
-
193
1765
  type Activities_GetUserRepoActivityDetails = (params: {
194
1766
  username: string;
195
1767
  activityType: "issue" | "pull_request" | "code_review";
196
1768
  slug: string;
197
1769
  date: string;
198
1770
  }) => Promise<any[]>;
199
-
200
1771
  type Repositories_GetReposByUserName = (params: {
201
1772
  username: string;
202
1773
  search?: string;
@@ -206,7 +1777,6 @@ type Repositories_GetReposByUserName = (params: {
206
1777
  desc?: boolean;
207
1778
  order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
208
1779
  }) => Promise<DtoRepos4User[]>;
209
-
210
1780
  type Starring_GetUserStaredRepos = (params: {
211
1781
  username: string;
212
1782
  search?: string;
@@ -215,11 +1785,9 @@ type Starring_GetUserStaredRepos = (params: {
215
1785
  desc?: boolean;
216
1786
  order_by?: "created_at" | "last_updated_at" | "stars" | "forks";
217
1787
  }) => Promise<DtoRepos4User[]>;
218
-
219
1788
  type Workspace_DeleteWorkspace = (params: {
220
1789
  request: DtoWorkspaceDeleteReq;
221
1790
  }) => Promise<DtoWorkspaceDeleteResult>;
222
-
223
1791
  type Workspace_ListWorkspaces = (params?: {
224
1792
  branch?: string;
225
1793
  end?: string;
@@ -229,26 +1797,21 @@ type Workspace_ListWorkspaces = (params?: {
229
1797
  start?: string;
230
1798
  status?: string;
231
1799
  }) => Promise<DtoWorkspaceListResult>;
232
-
233
1800
  type Organizations_DeleteOrganization = (params: {
234
1801
  group: string;
235
1802
  "x-cnb-identity-ticket"?: string;
236
1803
  }) => Promise<any>;
237
-
238
1804
  type Organizations_GetGroup = (params: {
239
1805
  group: string;
240
1806
  }) => Promise<DtoOrganizationAccess>;
241
-
242
1807
  type Organizations_UpdateOrganization = (params: {
243
1808
  group: string;
244
1809
  request: DtoUpdateGroupReq;
245
1810
  }) => Promise<any>;
246
-
247
1811
  type Organizations_UpdateGroupAvatar = (params: {
248
1812
  group: string;
249
1813
  request: DtoUpdateGroupAvatarReq;
250
1814
  }) => Promise<any>;
251
-
252
1815
  type Collaborators_ListInheritMembersOfGroup = (params: {
253
1816
  group: string;
254
1817
  search?: string;
@@ -256,17 +1819,14 @@ type Collaborators_ListInheritMembersOfGroup = (params: {
256
1819
  page?: number;
257
1820
  page_size?: number;
258
1821
  }) => Promise<DtoListInheritMembers[]>;
259
-
260
1822
  type Assets_PutLogos = (params: {
261
1823
  group: string;
262
1824
  token: string;
263
1825
  }) => Promise<any>;
264
-
265
1826
  type Assets_GetLogos = (params: {
266
1827
  group: string;
267
1828
  size?: string;
268
1829
  }) => Promise<any>;
269
-
270
1830
  type Collaborators_ListMembersOfGroup = (params: {
271
1831
  group: string;
272
1832
  page?: number;
@@ -274,43 +1834,35 @@ type Collaborators_ListMembersOfGroup = (params: {
274
1834
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
275
1835
  search?: string;
276
1836
  }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
277
-
278
1837
  type Contributors_GetMemberAccessLevelOfGroup = (params: {
279
1838
  group: string;
280
1839
  include_inherit?: boolean;
281
1840
  }) => Promise<DtoMemberAccessLevelInSlugUnion>;
282
-
283
1841
  type Contributors_ListMemberAccessLevelOfGroup = (params: {
284
1842
  group: string;
285
1843
  username: string;
286
1844
  }) => Promise<DtoMemberAccessLevel[]>;
287
-
288
1845
  type Collaborators_DeleteMembersOfGroup = (params: {
289
1846
  group: string;
290
1847
  username: string;
291
1848
  }) => Promise<any>;
292
-
293
1849
  type Collaborators_AddMembersOfGroup = (params: {
294
1850
  group: string;
295
1851
  username: string;
296
1852
  request: DtoUpdateMembersRequest;
297
1853
  }) => Promise<any>;
298
-
299
1854
  type Collaborators_UpdateMembersOfGroup = (params: {
300
1855
  group: string;
301
1856
  username: string;
302
1857
  request: DtoUpdateMembersRequest;
303
1858
  }) => Promise<any>;
304
-
305
1859
  type Repositories_GetPinnedRepoByGroup = (params: {
306
1860
  group: string;
307
1861
  }) => Promise<DtoRepos4UserBase[]>;
308
-
309
1862
  type Repositories_SetPinnedRepoByGroup = (params: {
310
1863
  group: string;
311
1864
  request: string[];
312
1865
  }) => Promise<DtoRepos4UserBase[]>;
313
-
314
1866
  type Repositories_GetGroupSubRepos = (params: {
315
1867
  group: string;
316
1868
  page?: number;
@@ -321,69 +1873,60 @@ type Repositories_GetGroupSubRepos = (params: {
321
1873
  descendant?: "all" | "sub" | "grand";
322
1874
  search?: string;
323
1875
  }) => Promise<DtoRepos4User[]>;
324
-
325
1876
  type Repositories_CreateRepo = (params: {
326
1877
  group: string;
327
1878
  request: DtoCreateRepoReq;
328
1879
  }) => Promise<any>;
329
-
330
1880
  type Organizations_GetGroupSetting = (params: {
331
1881
  group: string;
332
1882
  }) => Promise<DtoOrganizationSettingWithParent>;
333
-
334
1883
  type Organizations_UpdateGroupSetting = (params: {
335
1884
  group: string;
336
1885
  request: DtoGroupSettingReq;
337
1886
  }) => Promise<any>;
338
-
339
1887
  type Organizations_ListSubgroups = (params: {
340
1888
  group: string;
341
1889
  search?: string;
342
1890
  page: number;
343
1891
  page_size: number;
344
1892
  }) => Promise<DtoOrganizationUnion[]>;
345
-
1893
+ type Organizations_TransferGroup = (params: {
1894
+ group: string;
1895
+ request: DtoTransferSlugReq;
1896
+ }) => Promise<any>;
346
1897
  type Assets_UploadLogos = (params: {
347
1898
  group: string;
348
1899
  request: DtoUploadRequestParams;
349
1900
  }) => Promise<DtoUploadAssetsResponse>;
350
-
351
1901
  type Missions_DeleteMission = (params: {
352
1902
  mission: string;
353
1903
  "x-cnb-identity-ticket"?: string;
354
1904
  }) => Promise<any>;
355
-
356
1905
  type Collaborators_AddMembersOfMission = (params: {
357
1906
  mission: string;
358
1907
  username: string;
359
1908
  request: DtoUpdateMembersRequest;
360
1909
  }) => Promise<any>;
361
-
362
1910
  type Artifactory_DeleteRegistry = (params: {
363
1911
  registry: string;
364
1912
  "x-cnb-identity-ticket"?: string;
365
1913
  }) => Promise<any>;
366
-
367
1914
  type Collaborators_AddMembersOfRegistry = (params: {
368
1915
  registry: string;
369
1916
  username: string;
370
1917
  request: DtoUpdateMembersRequest;
371
1918
  }) => Promise<any>;
372
-
373
1919
  type Repositories_DeleteRepo = (params: {
374
1920
  repo: string;
375
1921
  "x-cnb-identity-ticket"?: string;
376
1922
  }) => Promise<any>;
377
-
378
- type Repositories_GetRepo = (params: {
1923
+ type Repositories_GetByID = (params: {
379
1924
  repo: string;
380
1925
  }) => Promise<DtoRepos4User>;
381
-
382
1926
  type Repositories_UpdateRepo = (params: {
383
1927
  repo: string;
384
1928
  request: DtoRepoPatch;
385
1929
  }) => Promise<any>;
386
-
387
1930
  type Build_GetBuildLogs = (params: {
388
1931
  repo: string;
389
1932
  createTime?: string;
@@ -399,40 +1942,34 @@ type Build_GetBuildLogs = (params: {
399
1942
  userId?: string;
400
1943
  userName?: string;
401
1944
  }) => Promise<DtoBuildLogsResult>;
402
-
403
1945
  type Build_StartBuild = (params: {
404
1946
  repo: string;
405
1947
  request: DtoStartBuildReq;
406
1948
  }) => Promise<DtoBuildResult>;
407
-
408
1949
  type Build_GetBuildStatus = (params: {
409
1950
  repo: string;
410
1951
  sn: string;
411
1952
  }) => Promise<DtoBuildStatusResult>;
412
-
413
1953
  type Build_StopBuild = (params: {
414
1954
  repo: string;
415
1955
  sn: string;
416
1956
  }) => Promise<DtoBuildResult>;
417
-
418
1957
  type Assets_GetCommitAssets = (params: {
419
1958
  repo: string;
420
1959
  fileName: string;
1960
+ share?: boolean;
421
1961
  }) => Promise<any>;
422
-
423
1962
  type RepoContributor_GetRepoContributorTrend = (params: {
424
1963
  repo: string;
425
1964
  limit?: number;
426
1965
  exclude_external_users?: boolean;
427
1966
  }) => Promise<WebRepoContribTrend>;
428
-
429
1967
  type Assets_GetFiles = (params: {
430
1968
  repo: string;
431
1969
  userIdKey: string;
432
1970
  randomUUID: string;
433
1971
  fileName: string;
434
1972
  }) => Promise<any>;
435
-
436
1973
  type Assets_PutFiles = (params: {
437
1974
  repo: string;
438
1975
  userIdKey: string;
@@ -440,106 +1977,87 @@ type Assets_PutFiles = (params: {
440
1977
  fileName: string;
441
1978
  token: string;
442
1979
  }) => Promise<any>;
443
-
444
1980
  type Repositories_ListForksRepos = (params: {
445
1981
  repo: string;
446
1982
  start_from_root?: boolean;
447
1983
  page: number;
448
1984
  page_size: number;
449
1985
  }) => Promise<DtoListForks>;
450
-
451
1986
  type Repositories_CreateAFork = (params: {
452
1987
  repo: string;
453
1988
  request: DtoForkReq;
454
1989
  }) => Promise<any>;
455
-
456
1990
  type Git_GetArchiveCommitChangedFiles = (params: {
457
1991
  repo: string;
458
1992
  sha1?: string;
459
1993
  }) => Promise<any>;
460
-
461
1994
  type Git_GetArchiveCompareChangedFiles = (params: {
462
1995
  repo: string;
463
1996
  base_head: string;
464
1997
  }) => Promise<any>;
465
-
466
1998
  type Git_CreateBlob = (params: {
467
1999
  repo: string;
468
2000
  post_blob_form: ApiPostBlobForm;
469
2001
  }) => Promise<any>;
470
-
471
2002
  type Git_ListBranches = (params: {
472
2003
  repo: string;
473
2004
  page?: number;
474
2005
  page_size?: number;
475
2006
  }) => Promise<ApiBranch[]>;
476
-
477
2007
  type Git_CreateBranch = (params: {
478
2008
  repo: string;
479
2009
  create_branch_form: OpenapiCreateBranchForm;
480
2010
  }) => Promise<any>;
481
-
482
2011
  type Git_DeleteBranch = (params: {
483
2012
  repo: string;
484
2013
  branch: string;
485
2014
  }) => Promise<any>;
486
-
487
2015
  type Git_GetBranch = (params: {
488
2016
  repo: string;
489
2017
  branch?: string;
490
2018
  }) => Promise<ApiBranchDetail>;
491
-
492
2019
  type Git_GetCommitAnnotationsInBatch = (params: {
493
2020
  repo: string;
494
2021
  get_commit_annotations_form: WebGetCommitAnnotationsInBatchForm;
495
2022
  }) => Promise<WebCommitAnnotationInBatch[]>;
496
-
497
2023
  type Git_GetCommitAnnotations = (params: {
498
2024
  repo: string;
499
2025
  sha: string;
500
2026
  }) => Promise<WebCommitAnnotation[]>;
501
-
502
2027
  type Git_PutCommitAnnotations = (params: {
503
2028
  repo: string;
504
2029
  sha: string;
505
2030
  put_commit_annotations_form: OpenapiPutCommitAnnotationsForm;
506
2031
  }) => Promise<any>;
507
-
508
2032
  type Git_DeleteCommitAnnotation = (params: {
509
2033
  repo: string;
510
2034
  sha: string;
511
2035
  key: string;
512
2036
  }) => Promise<any>;
513
-
514
2037
  type Git_GetCommitAssetsBySha = (params: {
515
2038
  repo: string;
516
2039
  sha1: string;
517
2040
  }) => Promise<ApiCommitAsset[]>;
518
-
519
2041
  type Git_PostCommitAssetUploadConfirmation = (params: {
520
2042
  repo: string;
521
2043
  sha1: string;
522
2044
  token: string;
523
2045
  asset_path: string;
524
2046
  }) => Promise<any>;
525
-
526
2047
  type Git_PostCommitAssetUploadURL = (params: {
527
2048
  repo: string;
528
2049
  sha1: string;
529
2050
  create_commit_asset_upload_url_form: OpenapiPostCommitAssetUploadUrlForm;
530
2051
  }) => Promise<any>;
531
-
532
2052
  type Git_DeleteCommitAsset = (params: {
533
2053
  repo: string;
534
2054
  sha1: string;
535
2055
  asset_id: string;
536
2056
  }) => Promise<any>;
537
-
538
2057
  type Git_GetCommitStatuses = (params: {
539
2058
  repo: string;
540
2059
  commitish: string;
541
2060
  }) => Promise<ApiCommitStatus[]>;
542
-
543
2061
  type Git_ListCommits = (params: {
544
2062
  repo: string;
545
2063
  sha?: string;
@@ -550,74 +2068,67 @@ type Git_ListCommits = (params: {
550
2068
  page?: number;
551
2069
  page_size?: number;
552
2070
  }) => Promise<ApiCommit[]>;
553
-
554
2071
  type Git_GetCommit = (params: {
555
2072
  repo: string;
556
2073
  ref: string;
557
2074
  }) => Promise<ApiCommit>;
558
-
559
2075
  type Git_GetCompareCommits = (params: {
560
2076
  repo: string;
561
2077
  base_head: string;
562
2078
  }) => Promise<ApiCompareResponse>;
563
-
564
2079
  type Git_GetContent = (params: {
565
2080
  repo: string;
566
2081
  file_path: string;
567
2082
  ref?: string;
568
2083
  }) => Promise<ApiContent>;
569
-
570
2084
  type Git_ListDeferredCommits = (params: {
571
2085
  repo: string;
572
2086
  cs: string;
573
2087
  }) => Promise<WebDeferredCommit[]>;
574
-
575
- type Git_GetHead = (params: { repo: string }) => Promise<OpenapiHeadRef>;
576
-
2088
+ type Git_GetHead = (params: {
2089
+ repo: string;
2090
+ }) => Promise<OpenapiHeadRef>;
577
2091
  type Git_DeleteTagAnnotation = (params: {
578
2092
  repo: string;
579
2093
  tag_with_key: string;
580
2094
  }) => Promise<any>;
581
-
582
2095
  type Git_GetTagAnnotations = (params: {
583
2096
  repo: string;
584
2097
  tag: string;
585
2098
  }) => Promise<WebTagAnnotation[]>;
586
-
587
2099
  type Git_PutTagAnnotations = (params: {
588
2100
  repo: string;
589
2101
  tag: string;
590
2102
  put_tag_annotations_form: OpenapiPutTagAnnotationsForm;
591
2103
  }) => Promise<any>;
592
-
593
2104
  type Git_ListTags = (params: {
594
2105
  repo: string;
595
2106
  page?: number;
596
2107
  page_size?: number;
597
2108
  }) => Promise<ApiTag[]>;
598
-
599
2109
  type Git_CreateTag = (params: {
600
2110
  repo: string;
601
2111
  post_tag_form: ApiPostTagFrom;
602
2112
  }) => Promise<any>;
603
-
604
- type Git_DeleteTag = (params: { repo: string; tag: string }) => Promise<any>;
605
-
606
- type Git_GetTag = (params: { repo: string; tag: string }) => Promise<ApiTag>;
607
-
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>;
608
2121
  type Assets_GetImgs = (params: {
609
2122
  repo: string;
610
2123
  userIdKey: string;
611
2124
  fileName: string;
612
2125
  }) => Promise<any>;
613
-
614
2126
  type Assets_PutImgs = (params: {
615
2127
  repo: string;
616
2128
  userIdKey: string;
617
2129
  fileName: string;
618
2130
  token: string;
619
2131
  }) => Promise<any>;
620
-
621
2132
  type Collaborators_ListInheritMembersOfRepo = (params: {
622
2133
  repo: string;
623
2134
  search?: string;
@@ -625,7 +2136,6 @@ type Collaborators_ListInheritMembersOfRepo = (params: {
625
2136
  page?: number;
626
2137
  page_size?: number;
627
2138
  }) => Promise<DtoListInheritMembers[]>;
628
-
629
2139
  type Issues_ListIssues = (params: {
630
2140
  repo: string;
631
2141
  page?: number;
@@ -642,131 +2152,114 @@ type Issues_ListIssues = (params: {
642
2152
  close_time_end?: string;
643
2153
  order_by?: string;
644
2154
  }) => Promise<ApiIssue[]>;
645
-
646
2155
  type Issues_CreateIssue = (params: {
647
2156
  repo: string;
648
2157
  post_issue_form: ApiPostIssueForm;
649
2158
  }) => Promise<any>;
650
-
651
2159
  type Issues_GetIssue = (params: {
652
2160
  repo: string;
653
2161
  number: number;
654
2162
  }) => Promise<ApiIssueDetail>;
655
-
656
2163
  type Issues_UpdateIssue = (params: {
657
2164
  repo: string;
658
2165
  number: number;
659
2166
  patch_issue_form: ApiPatchIssueForm;
660
2167
  }) => Promise<ApiIssueDetail>;
661
-
662
2168
  type Issues_DeleteIssueAssignees = (params: {
663
2169
  repo: string;
664
2170
  number: string;
665
2171
  delete_issue_assignees_form: ApiDeleteIssueAssigneesForm;
666
2172
  }) => Promise<ApiIssueDetail>;
667
-
668
2173
  type Issues_ListIssueAssignees = (params: {
669
2174
  repo: string;
670
2175
  number: string;
671
2176
  }) => Promise<GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]>;
672
-
2177
+ type Issues_PatchIssueAssignees = (params: {
2178
+ repo: string;
2179
+ number: string;
2180
+ patch_issue_assignees_form: ApiPatchIssueAssigneesForm;
2181
+ }) => Promise<ApiIssueDetail>;
673
2182
  type Issues_PostIssueAssignees = (params: {
674
2183
  repo: string;
675
2184
  number: string;
676
2185
  post_issue_assignees_form: ApiPostIssueAssigneesForm;
677
2186
  }) => Promise<any>;
678
-
679
2187
  type Issues_CanUserBeAssignedToIssue = (params: {
680
2188
  repo: string;
681
2189
  number: string;
682
2190
  assignee: string;
683
2191
  }) => Promise<any>;
684
-
685
2192
  type Issues_ListIssueComments = (params: {
686
2193
  repo: string;
687
2194
  number: number;
688
2195
  page?: number;
689
2196
  page_size?: number;
690
2197
  }) => Promise<ApiIssueComment[]>;
691
-
692
2198
  type Issues_PostIssueComment = (params: {
693
2199
  repo: string;
694
2200
  number: number;
695
2201
  post_issue_comment_form: ApiPostIssueCommentForm;
696
2202
  }) => Promise<any>;
697
-
698
2203
  type Issues_GetIssueComment = (params: {
699
2204
  repo: string;
700
2205
  number: string;
701
2206
  comment_id: string;
702
2207
  }) => Promise<ApiIssueComment>;
703
-
704
2208
  type Issues_PatchIssueComment = (params: {
705
2209
  repo: string;
706
2210
  number: number;
707
2211
  comment_id: number;
708
2212
  patch_issue_comment_form: ApiPatchIssueCommentForm;
709
2213
  }) => Promise<ApiIssueComment>;
710
-
711
2214
  type Issues_DeleteIssueLabels = (params: {
712
2215
  repo: string;
713
2216
  number: number;
714
2217
  }) => Promise<any>;
715
-
716
2218
  type Issues_ListIssueLabels = (params: {
717
2219
  repo: string;
718
2220
  number: number;
719
2221
  page?: number;
720
2222
  page_size?: number;
721
2223
  }) => Promise<ApiLabel[]>;
722
-
723
2224
  type Issues_PostIssueLabels = (params: {
724
2225
  repo: string;
725
2226
  number: number;
726
2227
  post_issue_labels_form: ApiPostIssueLabelsForm;
727
2228
  }) => Promise<ApiLabel>;
728
-
729
2229
  type Issues_PutIssueLabels = (params: {
730
2230
  repo: string;
731
2231
  number: number;
732
2232
  put_issue_labels_form: ApiPutIssueLabelsForm;
733
2233
  }) => Promise<ApiLabel>;
734
-
735
2234
  type Issues_DeleteIssueLabel = (params: {
736
2235
  repo: string;
737
2236
  number: number;
738
2237
  name: string;
739
2238
  }) => Promise<ApiLabel>;
740
-
741
2239
  type RepoLabels_ListLabels = (params: {
742
2240
  repo: string;
743
2241
  page?: number;
744
2242
  page_size?: number;
745
2243
  keyword?: string;
746
2244
  }) => Promise<ApiLabel[]>;
747
-
748
2245
  type RepoLabels_PostLabel = (params: {
749
2246
  repo: string;
750
2247
  post_label_form: ApiPostLabelForm;
751
2248
  }) => Promise<any>;
752
-
753
2249
  type RepoLabels_DeleteLabel = (params: {
754
2250
  repo: string;
755
2251
  name: string;
756
2252
  }) => Promise<any>;
757
-
758
2253
  type RepoLabels_PatchLabel = (params: {
759
2254
  repo: string;
760
2255
  name: string;
761
2256
  patch_label_form: ApiPatchLabelForm;
762
2257
  }) => Promise<ApiLabel>;
763
-
764
2258
  type Git_GetPresignedLFSDownloadLink = (params: {
765
2259
  repo: string;
766
2260
  oid: string;
767
2261
  name: string;
768
2262
  }) => Promise<any>;
769
-
770
2263
  type Collaborators_ListAllMembers = (params: {
771
2264
  repo: string;
772
2265
  page?: number;
@@ -777,7 +2270,6 @@ type Collaborators_ListAllMembers = (params: {
777
2270
  order_by?: "created_at" | "stars" | "follower";
778
2271
  desc?: boolean;
779
2272
  }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
780
-
781
2273
  type Collaborators_ListMembersOfRepo = (params: {
782
2274
  repo: string;
783
2275
  page?: number;
@@ -785,34 +2277,28 @@ type Collaborators_ListMembersOfRepo = (params: {
785
2277
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
786
2278
  search?: string;
787
2279
  }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
788
-
789
2280
  type Contributors_GetMemberAccessLevelOfRepo = (params: {
790
2281
  repo: string;
791
2282
  include_inherit?: boolean;
792
2283
  }) => Promise<DtoMemberAccessLevelInSlugUnion>;
793
-
794
2284
  type Contributors_ListMemberAccessLevelOfRepo = (params: {
795
2285
  repo: string;
796
2286
  username: string;
797
2287
  }) => Promise<DtoMemberAccessLevel[]>;
798
-
799
2288
  type Collaborators_DeleteMembersOfRepo = (params: {
800
2289
  repo: string;
801
2290
  username: string;
802
2291
  }) => Promise<any>;
803
-
804
2292
  type Collaborators_AddMembersOfRepo = (params: {
805
2293
  repo: string;
806
2294
  username: string;
807
2295
  request: DtoUpdateMembersRequest;
808
2296
  }) => Promise<any>;
809
-
810
2297
  type Collaborators_UpdateMembersOfRepo = (params: {
811
2298
  repo: string;
812
2299
  username: string;
813
2300
  request: DtoUpdateMembersRequest;
814
2301
  }) => Promise<any>;
815
-
816
2302
  type Collaborators_ListOutsideCollaborators = (params: {
817
2303
  repo: string;
818
2304
  page?: number;
@@ -820,23 +2306,19 @@ type Collaborators_ListOutsideCollaborators = (params: {
820
2306
  role?: "Guest" | "Reporter" | "Developer" | "Master";
821
2307
  search?: string;
822
2308
  }) => Promise<DtoOutsideCollaboratorInRepo[]>;
823
-
824
2309
  type Collaborators_DeleteOutsideCollaborators = (params: {
825
2310
  repo: string;
826
2311
  username: string;
827
2312
  }) => Promise<any>;
828
-
829
2313
  type Collaborators_UpdateOutsideCollaborators = (params: {
830
2314
  repo: string;
831
2315
  username: string;
832
2316
  role: "Guest" | "Reporter" | "Developer";
833
2317
  }) => Promise<any>;
834
-
835
2318
  type Pulls_ListPullsByNumbers = (params: {
836
2319
  repo: string;
837
2320
  n: any[];
838
2321
  }) => Promise<ApiPullRequestInfo[]>;
839
-
840
2322
  type Pulls_ListPulls = (params: {
841
2323
  repo: string;
842
2324
  page?: number;
@@ -847,266 +2329,234 @@ type Pulls_ListPulls = (params: {
847
2329
  assignees?: string;
848
2330
  base_ref?: string;
849
2331
  }) => Promise<ApiPullRequest[]>;
850
-
851
2332
  type Pulls_PostPull = (params: {
852
2333
  repo: string;
853
2334
  post_pull_form: ApiPullCreationForm;
854
2335
  }) => Promise<any>;
855
-
856
2336
  type Pulls_GetPull = (params: {
857
2337
  repo: string;
858
2338
  number: string;
859
2339
  }) => Promise<ApiPull>;
860
-
861
2340
  type Pulls_PatchPull = (params: {
862
2341
  repo: string;
863
2342
  number: string;
864
2343
  update_pull_request_form: ApiPatchPullRequest;
865
2344
  }) => Promise<ApiPull>;
866
-
867
2345
  type Pulls_DeletePullAssignees = (params: {
868
2346
  repo: string;
869
2347
  number: string;
870
2348
  delete_pull_assignees_form: ApiDeletePullAssigneesForm;
871
2349
  }) => Promise<ApiPull>;
872
-
873
2350
  type Pulls_ListPullAssignees = (params: {
874
2351
  repo: string;
875
2352
  number: string;
876
2353
  }) => Promise<GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo[]>;
877
-
878
2354
  type Pulls_PostPullAssignees = (params: {
879
2355
  repo: string;
880
2356
  number: string;
881
2357
  post_pull_assignees_form: ApiPostPullAssigneesForm;
882
2358
  }) => Promise<any>;
883
-
884
2359
  type Pulls_CanUserBeAssignedToPull = (params: {
885
2360
  repo: string;
886
2361
  number: string;
887
2362
  assignee: string;
888
2363
  }) => Promise<any>;
889
-
890
2364
  type Pulls_ListPullComments = (params: {
891
2365
  repo: string;
892
2366
  number: string;
893
2367
  page?: number;
894
2368
  page_size?: number;
895
2369
  }) => Promise<ApiPullRequestComment[]>;
896
-
897
2370
  type Pulls_PostPullComment = (params: {
898
2371
  repo: string;
899
2372
  number: string;
900
2373
  post_pull_comment_form: ApiPullCommentCreationForm;
901
2374
  }) => Promise<any>;
902
-
903
2375
  type Pulls_DeletePullLabels = (params: {
904
2376
  repo: string;
905
2377
  number: string;
906
2378
  }) => Promise<any>;
907
-
908
2379
  type Pulls_ListPullLabels = (params: {
909
2380
  repo: string;
910
2381
  number: string;
911
2382
  page?: number;
912
2383
  page_size?: number;
913
2384
  }) => Promise<ApiLabel[]>;
914
-
915
2385
  type Pulls_PostPullLabels = (params: {
916
2386
  repo: string;
917
2387
  number: string;
918
2388
  post_pull_labels_form: ApiPostPullLabelsForm;
919
2389
  }) => Promise<ApiLabel>;
920
-
921
2390
  type Pulls_PutPullLabels = (params: {
922
2391
  repo: string;
923
2392
  number: string;
924
2393
  put_pull_labels_form: ApiPutPullLabelsForm;
925
2394
  }) => Promise<ApiLabel>;
926
-
927
2395
  type Pulls_DeletePullLabel = (params: {
928
2396
  repo: string;
929
2397
  number: string;
930
2398
  name: string;
931
2399
  }) => Promise<ApiLabel>;
932
-
933
2400
  type Pulls_MergePull = (params: {
934
2401
  repo: string;
935
2402
  number: string;
936
2403
  merge_pull_request_form: ApiMergePullRequest;
937
2404
  }) => Promise<ApiMergePullResponse>;
938
-
2405
+ type Pulls_RevertPullRequest = (params: {
2406
+ repo: string;
2407
+ number: number;
2408
+ revert_pull_request_form: WebapiRevertPullRequestForm;
2409
+ }) => Promise<any>;
939
2410
  type Pulls_PostPullReview = (params: {
940
2411
  repo: string;
941
2412
  number: string;
942
2413
  post_pull_review_form: ApiPullReviewCreationForm;
943
2414
  }) => Promise<any>;
944
-
945
2415
  type Releases_ListReleases = (params: {
946
2416
  repo: string;
947
2417
  page?: number;
948
2418
  page_size?: number;
949
2419
  }) => Promise<ApiRelease[]>;
950
-
951
2420
  type Releases_PostRelease = (params: {
952
2421
  repo: string;
953
2422
  create_release_form: OpenapiPostReleaseForm;
954
2423
  }) => Promise<any>;
955
-
956
2424
  type Assets_GetReleasesAsset = (params: {
957
2425
  repo: string;
958
2426
  fileName: string;
2427
+ share?: boolean;
959
2428
  }) => Promise<any>;
960
-
961
2429
  type Releases_GetLatestRelease = (params: {
962
2430
  repo: string;
963
2431
  }) => Promise<ApiRelease>;
964
-
965
2432
  type Assets_GetLatestReleasesAsset = (params: {
966
2433
  repo: string;
967
2434
  fileName: string;
968
2435
  }) => Promise<any>;
969
-
970
2436
  type Releases_GetReleaseByTag = (params: {
971
2437
  repo: string;
972
2438
  tag: string;
973
2439
  }) => Promise<ApiRelease>;
974
-
975
2440
  type Releases_DeleteRelease = (params: {
976
2441
  repo: string;
977
2442
  release_id: string;
978
2443
  }) => Promise<any>;
979
-
980
2444
  type Releases_GetReleaseByID = (params: {
981
2445
  repo: string;
982
2446
  release_id: string;
983
2447
  }) => Promise<ApiRelease>;
984
-
985
2448
  type Releases_PatchRelease = (params: {
986
2449
  repo: string;
987
2450
  release_id: string;
988
2451
  patch_release_form: OpenapiPatchReleaseForm;
989
2452
  }) => Promise<any>;
990
-
991
2453
  type Releases_PostReleaseAssetUploadConfirmation = (params: {
992
2454
  repo: string;
993
2455
  release_id: string;
994
2456
  token: string;
995
2457
  asset_path: string;
996
2458
  }) => Promise<any>;
997
-
998
2459
  type Releases_PostReleaseAssetUploadURL = (params: {
999
2460
  repo: string;
1000
2461
  release_id: string;
1001
2462
  create_release_asset_upload_url_form: OpenapiPostReleaseAssetUploadUrlForm;
1002
2463
  }) => Promise<any>;
1003
-
1004
2464
  type Releases_DeleteReleaseAsset = (params: {
1005
2465
  repo: string;
1006
2466
  release_id: string;
1007
2467
  asset_id: string;
1008
2468
  }) => Promise<any>;
1009
-
1010
2469
  type Releases_GetReleaseAsset = (params: {
1011
2470
  repo: string;
1012
2471
  release_id: string;
1013
2472
  asset_id: string;
1014
2473
  }) => Promise<ApiReleaseAsset>;
1015
-
2474
+ type Repositories_ArchiveRepo = (params: {
2475
+ repo: string;
2476
+ }) => Promise<any>;
1016
2477
  type GitSettings_ListBranchProtections = (params: {
1017
2478
  repo: string;
1018
2479
  }) => Promise<ApiBranchProtection[]>;
1019
-
1020
2480
  type GitSettings_PostBranchProtection = (params: {
1021
2481
  repo: string;
1022
2482
  branch_protection_form: ApiBranchProtection;
1023
2483
  }) => Promise<any>;
1024
-
1025
2484
  type GitSettings_DeleteBranchProtection = (params: {
1026
2485
  repo: string;
1027
2486
  id: string;
1028
2487
  }) => Promise<any>;
1029
-
1030
2488
  type GitSettings_GetBranchProtection = (params: {
1031
2489
  repo: string;
1032
2490
  id: string;
1033
2491
  }) => Promise<ApiBranchProtection>;
1034
-
1035
2492
  type GitSettings_PatchBranchProtection = (params: {
1036
2493
  repo: string;
1037
2494
  id: string;
1038
2495
  branch_protection_form: ApiBranchProtection;
1039
2496
  }) => Promise<any>;
1040
-
1041
2497
  type GitSettings_GetPipelineSettings = (params: {
1042
2498
  repo: string;
1043
2499
  }) => Promise<ApiPipelineSettings>;
1044
-
1045
2500
  type GitSettings_PutPipelineSettings = (params: {
1046
2501
  repo: string;
1047
2502
  pipeline_form: WebPipelineSettings;
1048
2503
  }) => Promise<any>;
1049
-
1050
2504
  type GitSettings_GetPullRequestSettings = (params: {
1051
2505
  repo: string;
1052
2506
  }) => Promise<ApiPullRequestSettings>;
1053
-
1054
2507
  type GitSettings_PutPullRequestSettings = (params: {
1055
2508
  repo: string;
1056
2509
  pull_request_form: ApiPullRequestSettings;
1057
2510
  }) => Promise<any>;
1058
-
1059
2511
  type GitSettings_GetPushLimitSettings = (params: {
1060
2512
  repo: string;
1061
2513
  }) => Promise<ApiPushLimitSettings>;
1062
-
1063
2514
  type GitSettings_PutPushLimitSettings = (params: {
1064
2515
  repo: string;
1065
2516
  push_limit_form: ApiPushLimitSettings;
1066
2517
  }) => Promise<any>;
1067
-
2518
+ type Repositories_UnArchiveRepo = (params: {
2519
+ repo: string;
2520
+ }) => Promise<any>;
1068
2521
  type Starring_ListStarUsers = (params: {
1069
2522
  repo: string;
1070
2523
  filter_type: "all" | "followed";
1071
2524
  page: number;
1072
2525
  page_size: number;
1073
2526
  }) => Promise<DtoRepoStarUsers>;
1074
-
1075
2527
  type Collaborators_TopContributors = (params: {
1076
2528
  repo: string;
1077
2529
  top?: number;
1078
2530
  }) => Promise<DtoUsersResult[]>;
1079
-
2531
+ type Repositories_TransferRepo = (params: {
2532
+ repo: string;
2533
+ request: DtoTransferSlugReq;
2534
+ }) => Promise<any>;
1080
2535
  type Assets_UploadFiles = (params: {
1081
2536
  repo: string;
1082
2537
  request: DtoUploadRequestParams;
1083
2538
  }) => Promise<DtoUploadAssetsResponse>;
1084
-
1085
2539
  type Assets_UploadImgs = (params: {
1086
2540
  repo: string;
1087
2541
  request: DtoUploadRequestParams;
1088
2542
  }) => Promise<DtoUploadAssetsResponse>;
1089
-
1090
2543
  type Assets_UploadReleases = (params: {
1091
2544
  repo: string;
1092
2545
  tagName: string;
1093
2546
  request: DtoUploadRequestParams;
1094
2547
  }) => Promise<DtoUploadAssetsResponse>;
1095
-
1096
2548
  type Workspace_GetWorkspaceDetail = (params: {
1097
2549
  repo: string;
1098
2550
  sn: string;
1099
2551
  }) => Promise<DtoWorkspaceDetailResult>;
1100
-
1101
2552
  type Artifactory_ListPackages = (params: {
1102
2553
  slug: string;
1103
- type: "all" | "docker" | "helm" | "maven" | "npm" | "ohpm";
2554
+ type: "all" | "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
1104
2555
  page?: number;
1105
2556
  page_size?: number;
1106
2557
  ordering?: "pull_count" | "last_push_at" | "name_ascend" | "name_descend";
1107
2558
  name?: string;
1108
2559
  }) => Promise<DtoPackage[]>;
1109
-
1110
2560
  type Artifactory_HeadPackages = (params: {
1111
2561
  slug: string;
1112
2562
  type: "all" | "docker" | "helm";
@@ -1115,60 +2565,52 @@ type Artifactory_HeadPackages = (params: {
1115
2565
  ordering?: "pull_count" | "last_push_at" | "name_ascend" | "name_descend";
1116
2566
  name?: string;
1117
2567
  }) => Promise<any>;
1118
-
1119
- type Artifactory_GetQuotaByProjectName = (params: {
1120
- slug: string;
1121
- type: "docker" | "helm" | "maven" | "npm" | "ohpm";
1122
- }) => Promise<DtoQuotaRsp>;
1123
-
1124
- type Artifactory_GetQuotasByProjectName = (params: {
1125
- slug: string;
1126
- type: "docker" | "helm" | "maven" | "npm" | "ohpm";
1127
- page?: number;
1128
- page_size?: number;
1129
- ordering?: "used_ascend" | "used_descend";
1130
- }) => Promise<DtoQuotaRsp[]>;
1131
-
1132
- type Artifactory_DownloadQuotasByProjectName = (params: {
1133
- slug: string;
1134
- type: "docker" | "helm" | "maven" | "npm" | "ohpm";
1135
- page?: number;
1136
- page_size?: number;
1137
- ordering?: "used_ascend" | "used_descend";
1138
- }) => Promise<DtoQuotaRsp[]>;
1139
-
1140
2568
  type Artifactory_GetPackage = (params: {
1141
2569
  slug: string;
1142
- type: "docker" | "helm" | "maven" | "npm" | "ohpm";
2570
+ type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
1143
2571
  name: string;
1144
2572
  }) => Promise<DtoPackageDetail>;
1145
-
1146
2573
  type Artifactory_DeletePackageTag = (params: {
1147
2574
  slug: string;
1148
- type: "docker" | "helm" | "maven" | "npm" | "ohpm";
2575
+ type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
1149
2576
  name: string;
1150
2577
  tag: string;
1151
2578
  }) => Promise<any>;
1152
-
1153
2579
  type Artifactory_GetPackageTagDetail = (params: {
1154
2580
  slug: string;
1155
- type: "docker" | "helm" | "maven" | "npm" | "ohpm";
2581
+ type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
1156
2582
  name: string;
1157
2583
  tag: string;
1158
2584
  sha256?: string;
1159
2585
  }) => Promise<DtoTagDetail>;
1160
-
1161
2586
  type Artifactory_ListPackageTags = (params: {
1162
2587
  slug: string;
1163
- type: "docker" | "helm" | "maven" | "npm" | "ohpm";
2588
+ type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
1164
2589
  pkgname: string;
1165
2590
  page?: number;
1166
2591
  page_size?: number;
1167
2592
  ordering?: "pull_count" | "last_push_at";
1168
2593
  name?: string;
1169
2594
  }) => Promise<DtoTag>;
1170
-
1171
- 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 {
1172
2614
  groups: {
1173
2615
  /***
1174
2616
  * 创建新组织。Create new organization.
@@ -1180,7 +2622,6 @@ export interface Client {
1180
2622
  */
1181
2623
  post: Organizations_CreateOrganization;
1182
2624
  };
1183
-
1184
2625
  user: {
1185
2626
  /***
1186
2627
  * 获取指定用户的详情信息。Get detailed information for a specified user.
@@ -1201,7 +2642,6 @@ export interface Client {
1201
2642
  * /user
1202
2643
  */
1203
2644
  post: Users_UpdateUserInfo;
1204
-
1205
2645
  autocompleteSource: {
1206
2646
  /***
1207
2647
  * 查询当前用户用户拥有指定权限的所有资源列表。List resources that the current user has specified permissions for.
@@ -1213,7 +2653,6 @@ export interface Client {
1213
2653
  */
1214
2654
  list: Users_AutoCompleteSource;
1215
2655
  };
1216
-
1217
2656
  groups: {
1218
2657
  /***
1219
2658
  * 获取当前用户拥有权限的顶层组织列表。Get top-level organizations list that the current user has access to.
@@ -1235,7 +2674,6 @@ export interface Client {
1235
2674
  */
1236
2675
  listByGroup: Organizations_ListGroups;
1237
2676
  };
1238
-
1239
2677
  repos: {
1240
2678
  /***
1241
2679
  * 获取当前用户拥有指定权限及其以上权限的仓库。List repositories owned by the current user with the specified permissions or higher.
@@ -1247,7 +2685,6 @@ export interface Client {
1247
2685
  */
1248
2686
  list: Repositories_GetRepos;
1249
2687
  };
1250
-
1251
2688
  staredRepos: {
1252
2689
  /***
1253
2690
  * 获取当前用户 star 的仓库列表。List all stared repositories.
@@ -1260,7 +2697,6 @@ export interface Client {
1260
2697
  list: Repositories_GetUserAllStaredRepos;
1261
2698
  };
1262
2699
  };
1263
-
1264
2700
  users: {
1265
2701
  /***
1266
2702
  * 获取指定用户的详情信息。Get detailed information for a specified user.
@@ -1271,7 +2707,6 @@ export interface Client {
1271
2707
  * /users/{username}
1272
2708
  */
1273
2709
  get: Users_GetUserInfoByName;
1274
-
1275
2710
  activities: {
1276
2711
  /***
1277
2712
  * 获取个人动态活跃详情汇总
@@ -1283,7 +2718,6 @@ export interface Client {
1283
2718
  */
1284
2719
  get: Activities_GetUserActivitiesByDate;
1285
2720
  };
1286
-
1287
2721
  avatar: {
1288
2722
  /***
1289
2723
  * 获取指定用户的用户头像。Get the user's avatar.
@@ -1295,7 +2729,6 @@ export interface Client {
1295
2729
  */
1296
2730
  get: Assets_GetUserAvatar;
1297
2731
  };
1298
-
1299
2732
  followers: {
1300
2733
  /***
1301
2734
  * 获取指定用户的粉丝列表。Get the followers list of specified user.
@@ -1307,7 +2740,6 @@ export interface Client {
1307
2740
  */
1308
2741
  list: Followers_GetFollowersByUserID;
1309
2742
  };
1310
-
1311
2743
  following: {
1312
2744
  /***
1313
2745
  * 获取指定用户的关注人列表。Get the list of users that the specified user is following.
@@ -1319,7 +2751,6 @@ export interface Client {
1319
2751
  */
1320
2752
  list: Followers_GetFollowingByUserID;
1321
2753
  };
1322
-
1323
2754
  groups: {
1324
2755
  /***
1325
2756
  * 获取指定用户拥有权限的顶层组织列表。 Get a list of top-level organizations that the specified user has permissions to access.
@@ -1331,7 +2762,6 @@ export interface Client {
1331
2762
  */
1332
2763
  get: Organizations_GetGroupsByUserID;
1333
2764
  };
1334
-
1335
2765
  pinnedRepos: {
1336
2766
  /***
1337
2767
  * 获取指定用户的用户仓库墙。 Get a list of repositories that the specified user has pinned.
@@ -1343,7 +2773,6 @@ export interface Client {
1343
2773
  */
1344
2774
  list: Repositories_GetPinnedRepoByID;
1345
2775
  };
1346
-
1347
2776
  repoActivities: {
1348
2777
  /***
1349
2778
  * 个人仓库动态详情列表
@@ -1355,7 +2784,6 @@ export interface Client {
1355
2784
  */
1356
2785
  list: Activities_GetUserRepoActivityDetails;
1357
2786
  };
1358
-
1359
2787
  repos: {
1360
2788
  /***
1361
2789
  * 获取指定用户有指定以上权限并且客人态可见的仓库。List repositories where the specified user has the specified permission level or higher and are visible to guests.
@@ -1367,7 +2795,6 @@ export interface Client {
1367
2795
  */
1368
2796
  list: Repositories_GetReposByUserName;
1369
2797
  };
1370
-
1371
2798
  staredRepos: {
1372
2799
  /***
1373
2800
  * 获取指定用户的 star 仓库列表。Get the list of repositories starred by the specified user.
@@ -1380,7 +2807,6 @@ export interface Client {
1380
2807
  list: Starring_GetUserStaredRepos;
1381
2808
  };
1382
2809
  };
1383
-
1384
2810
  workspace: {
1385
2811
  delete: {
1386
2812
  /***
@@ -1393,7 +2819,6 @@ export interface Client {
1393
2819
  */
1394
2820
  post: Workspace_DeleteWorkspace;
1395
2821
  };
1396
-
1397
2822
  list: {
1398
2823
  /***
1399
2824
  * 获取我的云原生开发环境列表。List my workspaces.
@@ -1406,7 +2831,6 @@ export interface Client {
1406
2831
  get: Workspace_ListWorkspaces;
1407
2832
  };
1408
2833
  };
1409
-
1410
2834
  group: {
1411
2835
  /***
1412
2836
  * 删除指定组织。Delete the specified organization.
@@ -1437,7 +2861,6 @@ export interface Client {
1437
2861
  * /{group}
1438
2862
  */
1439
2863
  put: Organizations_UpdateOrganization;
1440
-
1441
2864
  avatar: {
1442
2865
  /***
1443
2866
  * 更新组织头像 URL 地址。Updates the organization avatar URL.
@@ -1449,7 +2872,6 @@ export interface Client {
1449
2872
  */
1450
2873
  put: Organizations_UpdateGroupAvatar;
1451
2874
  };
1452
-
1453
2875
  inheritMembers: {
1454
2876
  /***
1455
2877
  * 获取指定组织或仓库内的继承成员。List inherited members within specified organization or repository。
@@ -1461,7 +2883,6 @@ export interface Client {
1461
2883
  */
1462
2884
  list: Collaborators_ListInheritMembersOfGroup;
1463
2885
  };
1464
-
1465
2886
  logos: {
1466
2887
  /***
1467
2888
  * 确认上传的logo。Confirms the uploaded logo.
@@ -1483,7 +2904,6 @@ export interface Client {
1483
2904
  */
1484
2905
  get: Assets_GetLogos;
1485
2906
  };
1486
-
1487
2907
  members: {
1488
2908
  /***
1489
2909
  * 获取指定组织或仓库内的所有直接成员。List all direct members within specified organization or repository.
@@ -1494,7 +2914,6 @@ export interface Client {
1494
2914
  * /{group}/-/members
1495
2915
  */
1496
2916
  list: Collaborators_ListMembersOfGroup;
1497
-
1498
2917
  accessLevel: {
1499
2918
  /***
1500
2919
  * 获取指定组织或仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
@@ -1547,7 +2966,6 @@ export interface Client {
1547
2966
  */
1548
2967
  put: Collaborators_UpdateMembersOfGroup;
1549
2968
  };
1550
-
1551
2969
  pinnedRepos: {
1552
2970
  /***
1553
2971
  * 获取指定组织的仓库墙列表。List the pinned repositories of a group.
@@ -1569,7 +2987,6 @@ export interface Client {
1569
2987
  */
1570
2988
  put: Repositories_SetPinnedRepoByGroup;
1571
2989
  };
1572
-
1573
2990
  repos: {
1574
2991
  /***
1575
2992
  * 查询组织下访问用户有权限查看到仓库。List the repositories that the user has access to.
@@ -1591,7 +3008,6 @@ export interface Client {
1591
3008
  */
1592
3009
  post: Repositories_CreateRepo;
1593
3010
  };
1594
-
1595
3011
  settings: {
1596
3012
  /***
1597
3013
  * 获取指定组织的配置详情。Get the configuration details for the specified organization.
@@ -1613,7 +3029,6 @@ export interface Client {
1613
3029
  */
1614
3030
  put: Organizations_UpdateGroupSetting;
1615
3031
  };
1616
-
1617
3032
  subGroups: {
1618
3033
  /***
1619
3034
  * 获取指定组织下的子组织列表。Get the list of sub-organizations under the specified organization.
@@ -1625,7 +3040,17 @@ export interface Client {
1625
3040
  */
1626
3041
  list: Organizations_ListSubgroups;
1627
3042
  };
1628
-
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
+ };
1629
3054
  upload: {
1630
3055
  logos: {
1631
3056
  /***
@@ -1640,7 +3065,6 @@ export interface Client {
1640
3065
  };
1641
3066
  };
1642
3067
  };
1643
-
1644
3068
  mission: {
1645
3069
  /***
1646
3070
  * 删除指定任务集。Delete the specified mission.
@@ -1651,7 +3075,6 @@ export interface Client {
1651
3075
  * /{mission}
1652
3076
  */
1653
3077
  delete: Missions_DeleteMission;
1654
-
1655
3078
  members: {
1656
3079
  /***
1657
3080
  * 添加成员。Add members.
@@ -1664,7 +3087,6 @@ export interface Client {
1664
3087
  post: Collaborators_AddMembersOfMission;
1665
3088
  };
1666
3089
  };
1667
-
1668
3090
  registry: {
1669
3091
  /***
1670
3092
  * 删除制品仓库。Delete the artifact repository.
@@ -1675,7 +3097,6 @@ export interface Client {
1675
3097
  * /{registry}
1676
3098
  */
1677
3099
  delete: Artifactory_DeleteRegistry;
1678
-
1679
3100
  members: {
1680
3101
  /***
1681
3102
  * 添加成员。Add members.
@@ -1688,7 +3109,6 @@ export interface Client {
1688
3109
  post: Collaborators_AddMembersOfRegistry;
1689
3110
  };
1690
3111
  };
1691
-
1692
3112
  repo: {
1693
3113
  /***
1694
3114
  * 删除指定仓库。Delete the specified repository.
@@ -1708,7 +3128,7 @@ export interface Client {
1708
3128
  *
1709
3129
  * /{repo}
1710
3130
  */
1711
- get: Repositories_GetRepo;
3131
+ get: Repositories_GetByID;
1712
3132
 
1713
3133
  /***
1714
3134
  * 更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证。updates repository details including description, website URL,topics and license type.
@@ -1719,7 +3139,6 @@ export interface Client {
1719
3139
  * /{repo}
1720
3140
  */
1721
3141
  patch: Repositories_UpdateRepo;
1722
-
1723
3142
  build: {
1724
3143
  logs: {
1725
3144
  /***
@@ -1732,7 +3151,6 @@ export interface Client {
1732
3151
  */
1733
3152
  get: Build_GetBuildLogs;
1734
3153
  };
1735
-
1736
3154
  start: {
1737
3155
  /***
1738
3156
  * 开始一个构建。Start a build.
@@ -1744,7 +3162,6 @@ export interface Client {
1744
3162
  */
1745
3163
  post: Build_StartBuild;
1746
3164
  };
1747
-
1748
3165
  status: {
1749
3166
  /***
1750
3167
  * 查询流水线构建状态。Get pipeline build status.
@@ -1756,7 +3173,6 @@ export interface Client {
1756
3173
  */
1757
3174
  get: Build_GetBuildStatus;
1758
3175
  };
1759
-
1760
3176
  stop: {
1761
3177
  /***
1762
3178
  * 停止一个构建。 Stop a build.
@@ -1769,7 +3185,6 @@ export interface Client {
1769
3185
  post: Build_StopBuild;
1770
3186
  };
1771
3187
  };
1772
-
1773
3188
  commitAssets: {
1774
3189
  download: {
1775
3190
  /***
@@ -1783,7 +3198,6 @@ export interface Client {
1783
3198
  get: Assets_GetCommitAssets;
1784
3199
  };
1785
3200
  };
1786
-
1787
3201
  contributor: {
1788
3202
  trend: {
1789
3203
  /***
@@ -1797,7 +3211,6 @@ export interface Client {
1797
3211
  get: RepoContributor_GetRepoContributorTrend;
1798
3212
  };
1799
3213
  };
1800
-
1801
3214
  files: {
1802
3215
  /***
1803
3216
  * 发起一个获取 files 的请求,返回内容或者 302 到某个地址。Initiate a request to retrieve files, returns content or 302 redirect.
@@ -1819,7 +3232,6 @@ export interface Client {
1819
3232
  */
1820
3233
  put: Assets_PutFiles;
1821
3234
  };
1822
-
1823
3235
  forks: {
1824
3236
  /***
1825
3237
  * 获取指定仓库的 fork 列表。Get fork list for specified repository.
@@ -1841,7 +3253,6 @@ export interface Client {
1841
3253
  */
1842
3254
  post: Repositories_CreateAFork;
1843
3255
  };
1844
-
1845
3256
  git: {
1846
3257
  archiveCommitChangedFiles: {
1847
3258
  /***
@@ -1854,7 +3265,6 @@ export interface Client {
1854
3265
  */
1855
3266
  get: Git_GetArchiveCommitChangedFiles;
1856
3267
  };
1857
-
1858
3268
  archiveCompareChangedFiles: {
1859
3269
  /***
1860
3270
  * 打包下载两次 ref 之间的变更文件。Download archive of changed files for a compare.
@@ -1866,7 +3276,6 @@ export interface Client {
1866
3276
  */
1867
3277
  get: Git_GetArchiveCompareChangedFiles;
1868
3278
  };
1869
-
1870
3279
  blobs: {
1871
3280
  /***
1872
3281
  * 创建一个 blob。Create a blob.
@@ -1878,7 +3287,6 @@ export interface Client {
1878
3287
  */
1879
3288
  post: Git_CreateBlob;
1880
3289
  };
1881
-
1882
3290
  branches: {
1883
3291
  /***
1884
3292
  * 查询分支列表。List branches.
@@ -1920,7 +3328,6 @@ export interface Client {
1920
3328
  */
1921
3329
  get: Git_GetBranch;
1922
3330
  };
1923
-
1924
3331
  commitAnnotationsInBatch: {
1925
3332
  /***
1926
3333
  * 查询指定 commit 的元数据。Get commit annotations in batch.
@@ -1932,7 +3339,6 @@ export interface Client {
1932
3339
  */
1933
3340
  post: Git_GetCommitAnnotationsInBatch;
1934
3341
  };
1935
-
1936
3342
  commitAnnotations: {
1937
3343
  /***
1938
3344
  * 查询指定 commit 的元数据。Get commit annotations.
@@ -1964,7 +3370,6 @@ export interface Client {
1964
3370
  */
1965
3371
  delete: Git_DeleteCommitAnnotation;
1966
3372
  };
1967
-
1968
3373
  commitAssets: {
1969
3374
  /***
1970
3375
  * 查询指定 commit 的附件。List commit assets.
@@ -1975,7 +3380,6 @@ export interface Client {
1975
3380
  * /{repo}/-/git/commit-assets/{sha1}
1976
3381
  */
1977
3382
  list: Git_GetCommitAssetsBySha;
1978
-
1979
3383
  assetUploadConfirmation: {
1980
3384
  /***
1981
3385
  * 确认 Commit asset 上传完成。Confirm commit asset upload.
@@ -1987,7 +3391,6 @@ export interface Client {
1987
3391
  */
1988
3392
  post: Git_PostCommitAssetUploadConfirmation;
1989
3393
  };
1990
-
1991
3394
  assetUploadUrl: {
1992
3395
  /***
1993
3396
  * 新增一个 Commit asset。Create a commit asset.
@@ -2010,7 +3413,6 @@ export interface Client {
2010
3413
  */
2011
3414
  delete: Git_DeleteCommitAsset;
2012
3415
  };
2013
-
2014
3416
  commitStatuses: {
2015
3417
  /***
2016
3418
  * 查询指定 commit 的 check statuses。List commit check statuses.
@@ -2022,7 +3424,6 @@ export interface Client {
2022
3424
  */
2023
3425
  list: Git_GetCommitStatuses;
2024
3426
  };
2025
-
2026
3427
  commits: {
2027
3428
  /***
2028
3429
  * 查询 commit 列表。List commits.
@@ -2044,7 +3445,6 @@ export interface Client {
2044
3445
  */
2045
3446
  get: Git_GetCommit;
2046
3447
  };
2047
-
2048
3448
  compare: {
2049
3449
  /***
2050
3450
  * 对比 base...head。Compare two commits.
@@ -2056,7 +3456,6 @@ export interface Client {
2056
3456
  */
2057
3457
  get: Git_GetCompareCommits;
2058
3458
  };
2059
-
2060
3459
  contents: {
2061
3460
  /***
2062
3461
  * 查询仓库文件列表或文件。List repository files or file.
@@ -2068,7 +3467,6 @@ export interface Client {
2068
3467
  */
2069
3468
  get: Git_GetContent;
2070
3469
  };
2071
-
2072
3470
  deferredCommits: {
2073
3471
  /***
2074
3472
  * 查询 deferred commit 列表
@@ -2080,7 +3478,6 @@ export interface Client {
2080
3478
  */
2081
3479
  list: Git_ListDeferredCommits;
2082
3480
  };
2083
-
2084
3481
  head: {
2085
3482
  /***
2086
3483
  * 获取仓库默认分支。Get the default branch of the repository.
@@ -2092,7 +3489,6 @@ export interface Client {
2092
3489
  */
2093
3490
  get: Git_GetHead;
2094
3491
  };
2095
-
2096
3492
  tagAnnotations: {
2097
3493
  /***
2098
3494
  * 删除指定 tag 的元数据。Delete the metadata of the specified tag.
@@ -2124,7 +3520,6 @@ export interface Client {
2124
3520
  */
2125
3521
  put: Git_PutTagAnnotations;
2126
3522
  };
2127
-
2128
3523
  tags: {
2129
3524
  /***
2130
3525
  * 查询标签列表。List tags.
@@ -2167,7 +3562,6 @@ export interface Client {
2167
3562
  get: Git_GetTag;
2168
3563
  };
2169
3564
  };
2170
-
2171
3565
  imgs: {
2172
3566
  /***
2173
3567
  * 发起一个获取 imgs 的请求,返回内容或者 302 到某个地址。Initiate a request to get images, returns content or 302 redirect.
@@ -2189,7 +3583,6 @@ export interface Client {
2189
3583
  */
2190
3584
  put: Assets_PutImgs;
2191
3585
  };
2192
-
2193
3586
  inheritMembers: {
2194
3587
  /***
2195
3588
  * 获取指定组织或仓库内的继承成员。List inherited members within specified organization or repository。
@@ -2201,7 +3594,6 @@ export interface Client {
2201
3594
  */
2202
3595
  list: Collaborators_ListInheritMembersOfRepo;
2203
3596
  };
2204
-
2205
3597
  issues: {
2206
3598
  /***
2207
3599
  * 查询仓库的 Issues。List issues.
@@ -2242,7 +3634,6 @@ export interface Client {
2242
3634
  * /{repo}/-/issues/{number}
2243
3635
  */
2244
3636
  patch: Issues_UpdateIssue;
2245
-
2246
3637
  assignees: {
2247
3638
  /***
2248
3639
  * 删除 Issue 中的 Assignees。 Removes one or more assignees from an issue.
@@ -2264,6 +3655,16 @@ export interface Client {
2264
3655
  */
2265
3656
  list: Issues_ListIssueAssignees;
2266
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
+
2267
3668
  /***
2268
3669
  * 添加 Assignees 到指定的 Issue。 Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.
2269
3670
  *
@@ -2284,7 +3685,6 @@ export interface Client {
2284
3685
  */
2285
3686
  get: Issues_CanUserBeAssignedToIssue;
2286
3687
  };
2287
-
2288
3688
  comments: {
2289
3689
  /***
2290
3690
  * 查询仓库的 Issue 评论列表。List repository issue comments.
@@ -2326,7 +3726,6 @@ export interface Client {
2326
3726
  */
2327
3727
  patch: Issues_PatchIssueComment;
2328
3728
  };
2329
-
2330
3729
  labels: {
2331
3730
  /***
2332
3731
  * 清空 Issue 标签。Remove all labels from an issue.
@@ -2379,7 +3778,6 @@ export interface Client {
2379
3778
  deleteByName: Issues_DeleteIssueLabel;
2380
3779
  };
2381
3780
  };
2382
-
2383
3781
  labels: {
2384
3782
  /***
2385
3783
  * 查询仓库的标签(label) 列表。List repository labels.
@@ -2421,7 +3819,6 @@ export interface Client {
2421
3819
  */
2422
3820
  patch: RepoLabels_PatchLabel;
2423
3821
  };
2424
-
2425
3822
  lfs: {
2426
3823
  /***
2427
3824
  * 获取 git lfs 文件下载链接
@@ -2433,7 +3830,6 @@ export interface Client {
2433
3830
  */
2434
3831
  get: Git_GetPresignedLFSDownloadLink;
2435
3832
  };
2436
-
2437
3833
  listMembers: {
2438
3834
  /***
2439
3835
  * 获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.
@@ -2445,7 +3841,6 @@ export interface Client {
2445
3841
  */
2446
3842
  list: Collaborators_ListAllMembers;
2447
3843
  };
2448
-
2449
3844
  members: {
2450
3845
  /***
2451
3846
  * 获取指定组织或仓库内的所有直接成员。List all direct members within specified organization or repository.
@@ -2456,7 +3851,6 @@ export interface Client {
2456
3851
  * /{repo}/-/members
2457
3852
  */
2458
3853
  list: Collaborators_ListMembersOfRepo;
2459
-
2460
3854
  accessLevel: {
2461
3855
  /***
2462
3856
  * 获取指定组织或仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
@@ -2509,7 +3903,6 @@ export interface Client {
2509
3903
  */
2510
3904
  put: Collaborators_UpdateMembersOfRepo;
2511
3905
  };
2512
-
2513
3906
  outsideCollaborators: {
2514
3907
  /***
2515
3908
  * 获取指定仓库内的外部贡献者。List external contributors in specified repository.
@@ -2541,7 +3934,6 @@ export interface Client {
2541
3934
  */
2542
3935
  put: Collaborators_UpdateOutsideCollaborators;
2543
3936
  };
2544
-
2545
3937
  pullInBatch: {
2546
3938
  /***
2547
3939
  * 根据numbers查询 Pull 列表。List pull requests by numbers.
@@ -2553,7 +3945,6 @@ export interface Client {
2553
3945
  */
2554
3946
  list: Pulls_ListPullsByNumbers;
2555
3947
  };
2556
-
2557
3948
  pulls: {
2558
3949
  /***
2559
3950
  * 查询 Pull 列表。List pull requests.
@@ -2594,7 +3985,6 @@ export interface Client {
2594
3985
  * /{repo}/-/pulls/{number}
2595
3986
  */
2596
3987
  patch: Pulls_PatchPull;
2597
-
2598
3988
  assignees: {
2599
3989
  /***
2600
3990
  * 删除 PullRequest 中的 Assignees。 Removes one or more assignees from a pull request.
@@ -2636,7 +4026,6 @@ export interface Client {
2636
4026
  */
2637
4027
  get: Pulls_CanUserBeAssignedToPull;
2638
4028
  };
2639
-
2640
4029
  comments: {
2641
4030
  /***
2642
4031
  * 查询 Pull Comments 列表。List pull comments requests.
@@ -2658,7 +4047,6 @@ export interface Client {
2658
4047
  */
2659
4048
  post: Pulls_PostPullComment;
2660
4049
  };
2661
-
2662
4050
  labels: {
2663
4051
  /***
2664
4052
  * 清空 Pull 标签。Remove all labels from a pull.
@@ -2710,7 +4098,6 @@ export interface Client {
2710
4098
  */
2711
4099
  deleteByName: Pulls_DeletePullLabel;
2712
4100
  };
2713
-
2714
4101
  merge: {
2715
4102
  /***
2716
4103
  * 合并一个 Pull Request。Merge a pull request.
@@ -2722,7 +4109,17 @@ export interface Client {
2722
4109
  */
2723
4110
  put: Pulls_MergePull;
2724
4111
  };
2725
-
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
+ };
2726
4123
  reviews: {
2727
4124
  /***
2728
4125
  * 新增一次 pull request 评审。Create a pull review.
@@ -2735,7 +4132,6 @@ export interface Client {
2735
4132
  post: Pulls_PostPullReview;
2736
4133
  };
2737
4134
  };
2738
-
2739
4135
  releases: {
2740
4136
  /***
2741
4137
  * 查询 release 列表。List releases.
@@ -2756,7 +4152,6 @@ export interface Client {
2756
4152
  * /{repo}/-/releases
2757
4153
  */
2758
4154
  post: Releases_PostRelease;
2759
-
2760
4155
  download: {
2761
4156
  /***
2762
4157
  * 发起一个获取 release 附件的请求,返回内容或者 302 到某个地址。Initiate a request to get release attachments, returns content or 302 redirect.
@@ -2768,7 +4163,6 @@ export interface Client {
2768
4163
  */
2769
4164
  get: Assets_GetReleasesAsset;
2770
4165
  };
2771
-
2772
4166
  latest: {
2773
4167
  /***
2774
4168
  * 查询 latest release。Query the latest release.
@@ -2779,7 +4173,6 @@ export interface Client {
2779
4173
  * /{repo}/-/releases/latest
2780
4174
  */
2781
4175
  get: Releases_GetLatestRelease;
2782
-
2783
4176
  download: {
2784
4177
  /***
2785
4178
  * 发起一个获取 latest release 附件的请求,返回内容或者 302 到某个地址。Initiate a request to get latest release attachments, returns content or 302 redirect.
@@ -2792,7 +4185,6 @@ export interface Client {
2792
4185
  get: Assets_GetLatestReleasesAsset;
2793
4186
  };
2794
4187
  };
2795
-
2796
4188
  tags: {
2797
4189
  /***
2798
4190
  * 通过 tag 查询指定 release。Get a release by tag.
@@ -2834,7 +4226,6 @@ export interface Client {
2834
4226
  * /{repo}/-/releases/{release_id}
2835
4227
  */
2836
4228
  patch: Releases_PatchRelease;
2837
-
2838
4229
  assetUploadConfirmation: {
2839
4230
  /***
2840
4231
  * 确认 Release asset 上传完成。Confirm release asset upload.
@@ -2846,7 +4237,6 @@ export interface Client {
2846
4237
  */
2847
4238
  post: Releases_PostReleaseAssetUploadConfirmation;
2848
4239
  };
2849
-
2850
4240
  assetUploadUrl: {
2851
4241
  /***
2852
4242
  * 新增一个 Release asset。Create a release asset.
@@ -2858,7 +4248,6 @@ export interface Client {
2858
4248
  */
2859
4249
  post: Releases_PostReleaseAssetUploadURL;
2860
4250
  };
2861
-
2862
4251
  assets: {
2863
4252
  /***
2864
4253
  * 删除指定的 release asset。Delete the specified release asset.
@@ -2881,8 +4270,18 @@ export interface Client {
2881
4270
  get: Releases_GetReleaseAsset;
2882
4271
  };
2883
4272
  };
2884
-
2885
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
+ };
2886
4285
  branchProtections: {
2887
4286
  /***
2888
4287
  * 查询仓库保护分支规则列表。List branch protection rules.
@@ -2934,7 +4333,6 @@ export interface Client {
2934
4333
  */
2935
4334
  patch: GitSettings_PatchBranchProtection;
2936
4335
  };
2937
-
2938
4336
  cloudNativeBuild: {
2939
4337
  /***
2940
4338
  * 查询仓库云原生构建设置。List pipeline settings.
@@ -2956,7 +4354,6 @@ export interface Client {
2956
4354
  */
2957
4355
  put: GitSettings_PutPipelineSettings;
2958
4356
  };
2959
-
2960
4357
  pullRequest: {
2961
4358
  /***
2962
4359
  * 查询仓库合并请求设置。List pull request settings.
@@ -2978,7 +4375,6 @@ export interface Client {
2978
4375
  */
2979
4376
  put: GitSettings_PutPullRequestSettings;
2980
4377
  };
2981
-
2982
4378
  pushLimit: {
2983
4379
  /***
2984
4380
  * 查询仓库推送设置。List push limit settings.
@@ -3000,8 +4396,18 @@ export interface Client {
3000
4396
  */
3001
4397
  put: GitSettings_PutPushLimitSettings;
3002
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
+ };
3003
4410
  };
3004
-
3005
4411
  stars: {
3006
4412
  /***
3007
4413
  * 获取指定仓库的star用户列表。Get the list of users who starred the specified repository.
@@ -3013,7 +4419,6 @@ export interface Client {
3013
4419
  */
3014
4420
  get: Starring_ListStarUsers;
3015
4421
  };
3016
-
3017
4422
  topActivityUsers: {
3018
4423
  /***
3019
4424
  * 获取 top 贡献用户。List the top contributing users
@@ -3025,7 +4430,17 @@ export interface Client {
3025
4430
  */
3026
4431
  list: Collaborators_TopContributors;
3027
4432
  };
3028
-
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
+ };
3029
4444
  upload: {
3030
4445
  files: {
3031
4446
  /***
@@ -3038,7 +4453,6 @@ export interface Client {
3038
4453
  */
3039
4454
  post: Assets_UploadFiles;
3040
4455
  };
3041
-
3042
4456
  imgs: {
3043
4457
  /***
3044
4458
  * 发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form 内容。发起一个上传 imgs 的请求,返回上传 cos 的 url 和 form 内容.
@@ -3050,7 +4464,6 @@ export interface Client {
3050
4464
  */
3051
4465
  post: Assets_UploadImgs;
3052
4466
  };
3053
-
3054
4467
  releases: {
3055
4468
  /***
3056
4469
  * 发起一个上传 release 附件的请求,返回上传 cos 的 url 。Initiate a request to upload release attachments,
@@ -3063,7 +4476,6 @@ export interface Client {
3063
4476
  post: Assets_UploadReleases;
3064
4477
  };
3065
4478
  };
3066
-
3067
4479
  workspace: {
3068
4480
  detail: {
3069
4481
  /***
@@ -3078,7 +4490,6 @@ export interface Client {
3078
4490
  };
3079
4491
  };
3080
4492
  };
3081
-
3082
4493
  slug: {
3083
4494
  packages: {
3084
4495
  /***
@@ -3101,44 +4512,6 @@ export interface Client {
3101
4512
  */
3102
4513
  head: Artifactory_HeadPackages;
3103
4514
 
3104
- type: {
3105
- quota: {
3106
- /***
3107
- * 查询制品配额。 Get quota of specific registry.
3108
- *
3109
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3110
- * registry-package:r
3111
- *
3112
- * /{slug}/-/packages/{type}/-/quota
3113
- */
3114
- get: Artifactory_GetQuotaByProjectName;
3115
- };
3116
-
3117
- quotas: {
3118
- /***
3119
- * 查询全部制品配额。 Get quotas of packages under one registry.
3120
- *
3121
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3122
- * registry-package:r
3123
- *
3124
- * /{slug}/-/packages/{type}/-/quotas
3125
- */
3126
- list: Artifactory_GetQuotasByProjectName;
3127
-
3128
- download: {
3129
- /***
3130
- * 下载制品配额信息。 Download registry quota details.
3131
- *
3132
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3133
- * registry-package:r
3134
- *
3135
- * /{slug}/-/packages/{type}/-/quotas/download
3136
- */
3137
- list: Artifactory_DownloadQuotasByProjectName;
3138
- };
3139
- };
3140
- };
3141
-
3142
4515
  /***
3143
4516
  * 获取某一制品的详细信息。 Get the package detail.
3144
4517
  *
@@ -3148,7 +4521,6 @@ export interface Client {
3148
4521
  * /{slug}/-/packages/{type}/{name}
3149
4522
  */
3150
4523
  get: Artifactory_GetPackage;
3151
-
3152
4524
  name: {
3153
4525
  tag: {
3154
4526
  /***
@@ -3172,7 +4544,6 @@ export interface Client {
3172
4544
  get: Artifactory_GetPackageTagDetail;
3173
4545
  };
3174
4546
  };
3175
-
3176
4547
  pkgname: {
3177
4548
  tags: {
3178
4549
  /***
@@ -3187,8 +4558,42 @@ export interface Client {
3187
4558
  };
3188
4559
  };
3189
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
+ };
3190
4596
  };
3191
-
3192
4597
  Organizations: {
3193
4598
  CreateOrganization: Organizations_CreateOrganization;
3194
4599
  ListTopGroups: Organizations_ListTopGroups;
@@ -3201,15 +4606,14 @@ export interface Client {
3201
4606
  GetGroupSetting: Organizations_GetGroupSetting;
3202
4607
  UpdateGroupSetting: Organizations_UpdateGroupSetting;
3203
4608
  ListSubgroups: Organizations_ListSubgroups;
4609
+ TransferGroup: Organizations_TransferGroup;
3204
4610
  };
3205
-
3206
4611
  Users: {
3207
4612
  GetUserInfo: Users_GetUserInfo;
3208
4613
  UpdateUserInfo: Users_UpdateUserInfo;
3209
4614
  AutoCompleteSource: Users_AutoCompleteSource;
3210
4615
  GetUserInfoByName: Users_GetUserInfoByName;
3211
4616
  };
3212
-
3213
4617
  Repositories: {
3214
4618
  GetRepos: Repositories_GetRepos;
3215
4619
  GetUserAllStaredRepos: Repositories_GetUserAllStaredRepos;
@@ -3220,17 +4624,18 @@ export interface Client {
3220
4624
  GetGroupSubRepos: Repositories_GetGroupSubRepos;
3221
4625
  CreateRepo: Repositories_CreateRepo;
3222
4626
  DeleteRepo: Repositories_DeleteRepo;
3223
- GetRepo: Repositories_GetRepo;
4627
+ GetByID: Repositories_GetByID;
3224
4628
  UpdateRepo: Repositories_UpdateRepo;
3225
4629
  ListForksRepos: Repositories_ListForksRepos;
3226
4630
  CreateAFork: Repositories_CreateAFork;
4631
+ ArchiveRepo: Repositories_ArchiveRepo;
4632
+ UnArchiveRepo: Repositories_UnArchiveRepo;
4633
+ TransferRepo: Repositories_TransferRepo;
3227
4634
  };
3228
-
3229
4635
  Activities: {
3230
4636
  GetUserActivitiesByDate: Activities_GetUserActivitiesByDate;
3231
4637
  GetUserRepoActivityDetails: Activities_GetUserRepoActivityDetails;
3232
4638
  };
3233
-
3234
4639
  Assets: {
3235
4640
  GetUserAvatar: Assets_GetUserAvatar;
3236
4641
  PutLogos: Assets_PutLogos;
@@ -3247,23 +4652,19 @@ export interface Client {
3247
4652
  UploadImgs: Assets_UploadImgs;
3248
4653
  UploadReleases: Assets_UploadReleases;
3249
4654
  };
3250
-
3251
4655
  Followers: {
3252
4656
  GetFollowersByUserID: Followers_GetFollowersByUserID;
3253
4657
  GetFollowingByUserID: Followers_GetFollowingByUserID;
3254
4658
  };
3255
-
3256
4659
  Starring: {
3257
4660
  GetUserStaredRepos: Starring_GetUserStaredRepos;
3258
4661
  ListStarUsers: Starring_ListStarUsers;
3259
4662
  };
3260
-
3261
4663
  Workspace: {
3262
4664
  DeleteWorkspace: Workspace_DeleteWorkspace;
3263
4665
  ListWorkspaces: Workspace_ListWorkspaces;
3264
4666
  GetWorkspaceDetail: Workspace_GetWorkspaceDetail;
3265
4667
  };
3266
-
3267
4668
  Collaborators: {
3268
4669
  ListInheritMembersOfGroup: Collaborators_ListInheritMembersOfGroup;
3269
4670
  ListMembersOfGroup: Collaborators_ListMembersOfGroup;
@@ -3283,42 +4684,36 @@ export interface Client {
3283
4684
  UpdateOutsideCollaborators: Collaborators_UpdateOutsideCollaborators;
3284
4685
  TopContributors: Collaborators_TopContributors;
3285
4686
  };
3286
-
3287
4687
  Contributors: {
3288
4688
  GetMemberAccessLevelOfGroup: Contributors_GetMemberAccessLevelOfGroup;
3289
4689
  ListMemberAccessLevelOfGroup: Contributors_ListMemberAccessLevelOfGroup;
3290
4690
  GetMemberAccessLevelOfRepo: Contributors_GetMemberAccessLevelOfRepo;
3291
4691
  ListMemberAccessLevelOfRepo: Contributors_ListMemberAccessLevelOfRepo;
3292
4692
  };
3293
-
3294
4693
  Missions: {
3295
4694
  DeleteMission: Missions_DeleteMission;
3296
4695
  };
3297
-
3298
4696
  Artifactory: {
3299
4697
  DeleteRegistry: Artifactory_DeleteRegistry;
3300
4698
  ListPackages: Artifactory_ListPackages;
3301
4699
  HeadPackages: Artifactory_HeadPackages;
3302
- GetQuotaByProjectName: Artifactory_GetQuotaByProjectName;
3303
- GetQuotasByProjectName: Artifactory_GetQuotasByProjectName;
3304
- DownloadQuotasByProjectName: Artifactory_DownloadQuotasByProjectName;
3305
4700
  GetPackage: Artifactory_GetPackage;
3306
4701
  DeletePackageTag: Artifactory_DeletePackageTag;
3307
4702
  GetPackageTagDetail: Artifactory_GetPackageTagDetail;
3308
4703
  ListPackageTags: Artifactory_ListPackageTags;
4704
+ GetRegistryQuota: Artifactory_GetRegistryQuota;
4705
+ GetRegistryQuotas: Artifactory_GetRegistryQuotas;
4706
+ DownloadRegistryQuotas: Artifactory_DownloadRegistryQuotas;
3309
4707
  };
3310
-
3311
4708
  Build: {
3312
4709
  GetBuildLogs: Build_GetBuildLogs;
3313
4710
  StartBuild: Build_StartBuild;
3314
4711
  GetBuildStatus: Build_GetBuildStatus;
3315
4712
  StopBuild: Build_StopBuild;
3316
4713
  };
3317
-
3318
4714
  RepoContributor: {
3319
4715
  GetRepoContributorTrend: RepoContributor_GetRepoContributorTrend;
3320
4716
  };
3321
-
3322
4717
  Git: {
3323
4718
  GetArchiveCommitChangedFiles: Git_GetArchiveCommitChangedFiles;
3324
4719
  GetArchiveCompareChangedFiles: Git_GetArchiveCompareChangedFiles;
@@ -3351,7 +4746,6 @@ export interface Client {
3351
4746
  GetTag: Git_GetTag;
3352
4747
  GetPresignedLFSDownloadLink: Git_GetPresignedLFSDownloadLink;
3353
4748
  };
3354
-
3355
4749
  Issues: {
3356
4750
  ListIssues: Issues_ListIssues;
3357
4751
  CreateIssue: Issues_CreateIssue;
@@ -3359,6 +4753,7 @@ export interface Client {
3359
4753
  UpdateIssue: Issues_UpdateIssue;
3360
4754
  DeleteIssueAssignees: Issues_DeleteIssueAssignees;
3361
4755
  ListIssueAssignees: Issues_ListIssueAssignees;
4756
+ PatchIssueAssignees: Issues_PatchIssueAssignees;
3362
4757
  PostIssueAssignees: Issues_PostIssueAssignees;
3363
4758
  CanUserBeAssignedToIssue: Issues_CanUserBeAssignedToIssue;
3364
4759
  ListIssueComments: Issues_ListIssueComments;
@@ -3371,14 +4766,12 @@ export interface Client {
3371
4766
  PutIssueLabels: Issues_PutIssueLabels;
3372
4767
  DeleteIssueLabel: Issues_DeleteIssueLabel;
3373
4768
  };
3374
-
3375
4769
  RepoLabels: {
3376
4770
  ListLabels: RepoLabels_ListLabels;
3377
4771
  PostLabel: RepoLabels_PostLabel;
3378
4772
  DeleteLabel: RepoLabels_DeleteLabel;
3379
4773
  PatchLabel: RepoLabels_PatchLabel;
3380
4774
  };
3381
-
3382
4775
  Pulls: {
3383
4776
  ListPullsByNumbers: Pulls_ListPullsByNumbers;
3384
4777
  ListPulls: Pulls_ListPulls;
@@ -3397,9 +4790,9 @@ export interface Client {
3397
4790
  PutPullLabels: Pulls_PutPullLabels;
3398
4791
  DeletePullLabel: Pulls_DeletePullLabel;
3399
4792
  MergePull: Pulls_MergePull;
4793
+ RevertPullRequest: Pulls_RevertPullRequest;
3400
4794
  PostPullReview: Pulls_PostPullReview;
3401
4795
  };
3402
-
3403
4796
  Releases: {
3404
4797
  ListReleases: Releases_ListReleases;
3405
4798
  PostRelease: Releases_PostRelease;
@@ -3413,7 +4806,6 @@ export interface Client {
3413
4806
  DeleteReleaseAsset: Releases_DeleteReleaseAsset;
3414
4807
  GetReleaseAsset: Releases_GetReleaseAsset;
3415
4808
  };
3416
-
3417
4809
  GitSettings: {
3418
4810
  ListBranchProtections: GitSettings_ListBranchProtections;
3419
4811
  PostBranchProtection: GitSettings_PostBranchProtection;
@@ -3428,3 +4820,8 @@ export interface Client {
3428
4820
  PutPushLimitSettings: GitSettings_PutPushLimitSettings;
3429
4821
  };
3430
4822
  }
4823
+ //#endregion
4824
+ //#region src/index.d.ts
4825
+ declare const getClient: (baseUrl: string, token: string) => Client;
4826
+ //#endregion
4827
+ export { getClient };