node-cnb 1.17.1 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -9,31 +9,65 @@ type ApiBranch = {
9
9
  };
10
10
  type ApiBranchDetail = {
11
11
  commit: ApiCommit;
12
- dev_meta: number[];
13
12
  name: string;
14
13
  protected: boolean;
15
14
  };
16
15
  type ApiBranchProtection = {
16
+ /**是否允许所有人创建保护分支。*/
17
17
  allow_creation: boolean;
18
+
19
+ /**是否允许所有人删除保护分支。*/
18
20
  allow_deletions: boolean;
21
+
22
+ /**是否允许所有人强制推送。*/
19
23
  allow_force_pushes: boolean;
24
+
25
+ /**是否仅允许仓库管理员及负责人创建保护分支。*/
20
26
  allow_master_creation: boolean;
27
+
28
+ /**是否仅允许仓库管理员及负责人删除保护分支。*/
21
29
  allow_master_deletions: boolean;
30
+
31
+ /**是否仅允许仓库管理员及负责人强制推送。*/
22
32
  allow_master_force_pushes: boolean;
33
+
34
+ /**是否允许仓库管理员及负责人手动合并到目标分支。*/
23
35
  allow_master_manual_merge: boolean;
36
+
37
+ /**是否仅允许仓库管理员及负责人推送代码到保护分支中。*/
24
38
  allow_master_pushes: boolean;
39
+
40
+ /**是否允许所有人推送代码到保护分支中。*/
25
41
  allow_pushes: boolean;
42
+
43
+ /**保护分支规则唯一标识符。*/
26
44
  id: string;
45
+
46
+ /**需要的代码评审者数量。格式:`评审者数量 ∈ [1,5]`*/
27
47
  required_approved_review_count: number;
48
+
49
+ /**需要的评审通过率。格式:`通过率 ∈ [1, 100]`*/
28
50
  required_approved_review_ratio: number;
29
51
 
30
- /**RequiredCommitSignatures bool `json:"required_commit_signatures"`*/
52
+ /**是否仅允许线性提交。*/
31
53
  required_linear_history: boolean;
54
+
55
+ /**是否需至少一个仓库管理员批准。*/
32
56
  required_master_approve: boolean;
57
+
58
+ /**是否仅允许自动合并。*/
33
59
  required_must_auto_merge: boolean;
60
+
61
+ /**是否必须通过合并请求推送代码到此规则匹配分支中。*/
34
62
  required_must_push_via_pull_request: boolean;
63
+
64
+ /**保护分支的合并请求是否需要代码评审。*/
35
65
  required_pull_request_reviews: boolean;
66
+
67
+ /**是否需要通过状态检查。*/
36
68
  required_status_checks: boolean;
69
+
70
+ /**保护分支规则名称,支持通配符。*/
37
71
  rule: string;
38
72
  };
39
73
  type ApiCommit = {
@@ -85,13 +119,10 @@ type ApiCommitObjectVerification = {
85
119
  type ApiCommitParent = {
86
120
  sha: string;
87
121
  };
88
- type ApiCommitStatus = {
89
- context: string;
90
- created_at: string;
91
- description: string;
122
+ type ApiCommitStatuses = {
123
+ sha: string;
92
124
  state: string;
93
- target_url: string;
94
- updated_at: string;
125
+ statuses: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus[];
95
126
  };
96
127
  type ApiCompareResponse = {
97
128
  base_commit: ApiCommit;
@@ -106,6 +137,8 @@ type ApiContent = {
106
137
  encoding: string;
107
138
  entries: ApiTreeEntry[];
108
139
  lfs_download_url: string;
140
+ lfs_oid: string;
141
+ lfs_size: number;
109
142
  name: string;
110
143
  path: string;
111
144
  sha: string;
@@ -214,6 +247,9 @@ type ApiPatchLabelForm = {
214
247
  description: string;
215
248
  new_name: string;
216
249
  };
250
+ type ApiPatchPullCommentForm = {
251
+ body: string;
252
+ };
217
253
  type ApiPatchPullRequest = {
218
254
  body: string;
219
255
 
@@ -222,7 +258,10 @@ type ApiPatchPullRequest = {
222
258
  title: string;
223
259
  };
224
260
  type ApiPipelineSettings = {
261
+ /**是否允许仓库按照.cnb.yml配置自动触发云原生构建。*/
225
262
  auto_trigger: boolean;
263
+
264
+ /**是否允许本仓Fork出来的仓库按照.cnb.yml配置自动触发云原生构建。*/
226
265
  forked_repo_auto_trigger: boolean;
227
266
  };
228
267
  type ApiPostBlobForm = {
@@ -274,8 +313,10 @@ type ApiPull = {
274
313
  body: string;
275
314
  head: ApiPullRef;
276
315
  is_wip: boolean;
316
+ labels: ApiLabel[];
277
317
  merged_by: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
278
318
  number: string;
319
+ reviewers: ApiPullReviewer[];
279
320
  state: string;
280
321
  title: string;
281
322
  };
@@ -289,6 +330,19 @@ type ApiPullCreationForm = {
289
330
  head_repo: string;
290
331
  title: string;
291
332
  };
333
+ type ApiPullFile = {
334
+ additions: number;
335
+ blob_url: string;
336
+ contents_url: string;
337
+ deletions: number;
338
+ filename: string;
339
+ patch: string;
340
+ raw_url: string;
341
+ sha: string;
342
+
343
+ /**Status of this Pull Request specified diff file. Either `add` / `modify` / `delete` / `rename` / `copy`.*/
344
+ status: string;
345
+ };
292
346
  type ApiPullRef = {
293
347
  ref: string;
294
348
  repo: ApiRepo;
@@ -308,6 +362,7 @@ type ApiPullRequest = {
308
362
  created_at: string;
309
363
  head: ApiPullRef;
310
364
  is_wip: boolean;
365
+ labels: ApiLabel[];
311
366
  last_acted_at: string;
312
367
  mergeable_state: string;
313
368
  merged_by: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
@@ -322,6 +377,7 @@ type ApiPullRequestComment = {
322
377
  author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
323
378
  body: string;
324
379
  created_at: string;
380
+ id: string;
325
381
  updated_at: string;
326
382
  };
327
383
  type ApiPullRequestInfo = {
@@ -331,6 +387,7 @@ type ApiPullRequestInfo = {
331
387
  blocked_on: string;
332
388
  created_at: string;
333
389
  head: ApiPullRefInfo;
390
+ labels: ApiLabel[];
334
391
  last_acted_at: string;
335
392
  mergeable_state: string;
336
393
  merged_by: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
@@ -342,11 +399,22 @@ type ApiPullRequestInfo = {
342
399
  updated_at: string;
343
400
  };
344
401
  type ApiPullRequestSettings = {
402
+ /**是否允许直接提交合并。*/
345
403
  allow_merge_commit_merge: boolean;
404
+
405
+ /**是否允许变基合并。*/
346
406
  allow_rebase_merge: boolean;
407
+
408
+ /**是否允许压缩合并。*/
347
409
  allow_squash_merge: boolean;
410
+
411
+ /**是否允许自动添加仓库管理员为评审者。*/
348
412
  master_auto_as_reviewer: boolean;
413
+
414
+ /**直接提交合并操作时默认生成的提交信息内容。可选值:`default`,`pull_request_title`,`pull_request_title_with_body`*/
349
415
  merge_commit_message_style: string;
416
+
417
+ /**压缩合并操作时默认生成的提交信息内容。可选值:`default`,`pull_request_title`,`pull_request_title_with_body`*/
350
418
  squash_commit_message_style: string;
351
419
  };
352
420
  type ApiPullReview = {
@@ -391,10 +459,22 @@ type ApiPullReviewCreationForm = {
391
459
  comments: ApiPullReviewCommentCreationForm[];
392
460
  event: string;
393
461
  };
462
+ type ApiPullReviewer = {
463
+ /**reviewState contains One of: `pending`, `commented`, `approved`, `changes_requested`, `dismissed`.*/
464
+ review_state: string;
465
+ user: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
466
+ };
394
467
  type ApiPushLimitSettings = {
468
+ /**允许单次推送最多允许更新分支和标签的个数数量。*/
395
469
  allow_single_push_number: number;
470
+
471
+ /**是否开启单次更新分支和标签的个数限制。*/
396
472
  check_single_push_number: boolean;
473
+
474
+ /**是否仅允许负责人和管理员推送或删除标签、创建或删除版本。*/
397
475
  only_master_can_push_tag: boolean;
476
+
477
+ /**推送提交到仓库,对提交作者和提交人进行检查。可选值:`any`,`registered`,`pusher`*/
398
478
  push_commit_must_be: string;
399
479
  };
400
480
  type ApiPutIssueLabelsForm = {
@@ -404,29 +484,75 @@ type ApiPutPullLabelsForm = {
404
484
  labels: string[];
405
485
  };
406
486
  type ApiRelease = {
487
+ /**发布附件列表*/
407
488
  assets: ApiReleaseAsset[];
408
- author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
489
+
490
+ /**发布作者信息*/
491
+ author: any;
492
+
493
+ /**发布描述内容*/
409
494
  body: string;
495
+
496
+ /**创建时间*/
410
497
  created_at: string;
498
+
499
+ /**是否为草稿版本*/
411
500
  draft: boolean;
501
+
502
+ /**发布ID*/
412
503
  id: string;
504
+
505
+ /**是否为最新版本*/
413
506
  is_latest: boolean;
507
+
508
+ /**发布名称*/
414
509
  name: string;
510
+
511
+ /**是否为预发布版本*/
415
512
  prerelease: boolean;
513
+
514
+ /**发布时间*/
416
515
  published_at: string;
516
+
517
+ /**标签对应的提交哈希*/
417
518
  tag_commitish: string;
519
+
520
+ /**标签名称*/
418
521
  tag_name: string;
522
+
523
+ /**更新时间*/
419
524
  updated_at: string;
420
525
  };
421
526
  type ApiReleaseAsset = {
527
+ /**浏览器下载URL*/
528
+ brower_download_url: string;
529
+
530
+ /**附件内容类型*/
422
531
  content_type: string;
532
+
533
+ /**创建时间*/
423
534
  created_at: string;
535
+
536
+ /**附件ID*/
424
537
  id: string;
538
+
539
+ /**附件名称*/
425
540
  name: string;
541
+
542
+ /**附件路径*/
426
543
  path: string;
544
+
545
+ /**附件大小(字节)*/
427
546
  size: number;
547
+
548
+ /**更新时间*/
428
549
  updated_at: string;
429
- uploader: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
550
+
551
+ /**附件上传者信息*/
552
+ uploader: any;
553
+
554
+ /**附件下载URL*/
555
+ url: string;
430
556
  };
431
557
  type ApiRepo = {
432
558
  id: string;
@@ -559,11 +685,38 @@ type ChartMetadata = {
559
685
  /**A SemVer 2 conformant version string of the chart. Required.*/
560
686
  version: string;
561
687
  };
562
- type ConstantAccessRole = 0 | 10 | 20 | 30 | 40 | 50;
563
- type ConstantRepoDisplayModule = 1 | 2 | 4;
564
- type ConstantUserEditable = 1 | 2 | 4 | 8 | 16 | 32;
565
- type ConstantUserType = 0 | 1 | 2 | 3;
566
- type ConstantVisibility = 0 | 10 | 20;
688
+ type ConstantAccessRole = "Unknown" | "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
689
+ type ConstantRepoDisplayModule = {
690
+ /**仓库动态*/
691
+ activity: boolean;
692
+
693
+ /**仓库贡献者*/
694
+ contributors: boolean;
695
+
696
+ /**仓库版本*/
697
+ release: boolean;
698
+ };
699
+ type ConstantUserEditable = {
700
+ /**可修改账户头像*/
701
+ avatar: boolean;
702
+
703
+ /**可修改主邮箱*/
704
+ email: boolean;
705
+
706
+ /**是否允许注销账户*/
707
+ logoff: boolean;
708
+
709
+ /**可修改昵称*/
710
+ nickname: boolean;
711
+
712
+ /**是否允许同步昵称和头像*/
713
+ "sync-data": boolean;
714
+
715
+ /**可修改账户名*/
716
+ username: boolean;
717
+ };
718
+ type ConstantUserType = 0 | 1 | 2 | 3 | 4;
719
+ type ConstantVisibility = "Private" | "Public" | "Secret";
567
720
  type DtoActivityCreateRepoDetail = {
568
721
  create_at: string;
569
722
 
@@ -623,6 +776,32 @@ type DtoActivityRepoDetail = {
623
776
  /**仓库可见性*/
624
777
  visibility_level: any;
625
778
  };
779
+ type DtoAiAutoPrReq = {
780
+ /**需求内容*/
781
+ body: string;
782
+
783
+ /**基于该分支编码并提交代码到随机分支,然后将随机分支提 PR 到该分支*/
784
+ branch: string;
785
+
786
+ /**需求来源,默认为 issue,其他来源的需求可写上,会出现在代码提交日志的描述信息里*/
787
+ source: string;
788
+
789
+ /**需求标题*/
790
+ title: string;
791
+
792
+ /**需求来源 URL 地址*/
793
+ url: string;
794
+ };
795
+ type DtoAiAutoPrResult = {
796
+ /**构建链接*/
797
+ buildLogUrl: string;
798
+
799
+ /**message*/
800
+ message: string;
801
+
802
+ /**构建号*/
803
+ sn: string;
804
+ };
626
805
  type DtoAiChatCompletionsChoice = {
627
806
  /**结束原因*/
628
807
  finish_reason: string;
@@ -661,10 +840,37 @@ type DtoAiChatCompletionsResult = {
661
840
  };
662
841
  type DtoAssets = {
663
842
  content_type: string;
843
+ ext: any;
664
844
  name: string;
665
845
  path: string;
666
846
  size: number;
667
847
  };
848
+ type DtoBadge = {
849
+ /**徽章描述*/
850
+ desc: string;
851
+
852
+ /**徽章分组*/
853
+ group: any;
854
+
855
+ /**徽章链接*/
856
+ link: string;
857
+
858
+ /**徽章名称*/
859
+ name: string;
860
+
861
+ /**徽章类型*/
862
+ type: string;
863
+
864
+ /**徽章URL*/
865
+ url: string;
866
+ };
867
+ type DtoBuildCommonResult = {
868
+ /**返回码,0 表示成功,1 表示失败*/
869
+ code: number;
870
+
871
+ /**描述*/
872
+ message: string;
873
+ };
668
874
  type DtoBuildLogsResult = {
669
875
  /**构建数据列表*/
670
876
  data: DtoLogInfo[];
@@ -682,11 +888,14 @@ type DtoBuildResult = {
682
888
  /**构建链接*/
683
889
  buildLogUrl: string;
684
890
 
685
- /**message*/
891
+ /**构建信息*/
686
892
  message: string;
687
893
 
688
894
  /**构建号*/
689
895
  sn: string;
896
+
897
+ /**构建是否触发成功,不代表构建结果*/
898
+ success: boolean;
690
899
  };
691
900
  type DtoBuildStageResult = {
692
901
  /**stage 日志内容,数组格式,一个元素表示一行日志*/
@@ -760,10 +969,101 @@ type DtoChartTagDetail = {
760
969
  slug: string;
761
970
  tag: string;
762
971
  };
763
- type DtoCodeRepoQuotaRsp = {
764
- docker: DtoQuotaRsp;
765
- docker_model: DtoQuotaRsp;
766
- helm: DtoQuotaRsp;
972
+ type DtoCodeIssueSummary = {
973
+ /**严重风险问题数量*/
974
+ critical_count: number;
975
+
976
+ /**严重风险问题忽略数量*/
977
+ critical_ignore_count: number;
978
+
979
+ /**是否开启源码信息扫描*/
980
+ enable: boolean;
981
+
982
+ /**高风险问题数量*/
983
+ high_count: number;
984
+
985
+ /**高风险问题忽略数量*/
986
+ high_ignore_count: number;
987
+
988
+ /**忽略的问题数量*/
989
+ ignored: number;
990
+
991
+ /**低风险问题数量*/
992
+ low_count: number;
993
+
994
+ /**低风险问题忽略数量*/
995
+ low_ignore_count: number;
996
+
997
+ /**中风险问题数量*/
998
+ medium_count: number;
999
+
1000
+ /**中风险问题忽略数量*/
1001
+ medium_ignore_count: number;
1002
+
1003
+ /**开启中问题数量*/
1004
+ open: number;
1005
+ };
1006
+ type DtoCodeSensitiveSummary = {
1007
+ /**是否开启代码敏感信息扫描*/
1008
+ enable: boolean;
1009
+
1010
+ /**高风险问题数量*/
1011
+ high_count: number;
1012
+
1013
+ /**高风险问题忽略数量*/
1014
+ high_ignore_count: number;
1015
+
1016
+ /**忽略问题数量*/
1017
+ ignored: number;
1018
+
1019
+ /**低风险问题数量*/
1020
+ low_count: number;
1021
+
1022
+ /**低风险问题忽略数量*/
1023
+ low_ignore_count: number;
1024
+
1025
+ /**中风险问题数量*/
1026
+ medium_count: number;
1027
+
1028
+ /**中风险问题忽略数量*/
1029
+ medium_ignore_count: number;
1030
+
1031
+ /**开启中问题数量*/
1032
+ open: number;
1033
+ };
1034
+ type DtoCodeVulOverview = {
1035
+ /**忽略的严重风险漏洞的数量*/
1036
+ critical_vul_ignore_cnt: number;
1037
+
1038
+ /**打开的严重风险级别漏洞的数量*/
1039
+ critical_vul_open_cnt: number;
1040
+
1041
+ /**是否开启代码漏洞扫描*/
1042
+ enable: boolean;
1043
+
1044
+ /**忽略的高风险级别漏洞的数量*/
1045
+ high_vul_ignore_cnt: number;
1046
+
1047
+ /**打开的高风险级别漏洞的数量*/
1048
+ high_vul_open_cnt: number;
1049
+
1050
+ /**忽略问题数量*/
1051
+ ignored: number;
1052
+
1053
+ /**忽略的低风险级别漏洞的数量*/
1054
+ low_vul_ignore_cnt: number;
1055
+
1056
+ /**打开的低风险级别漏洞的数量*/
1057
+ low_vul_open_cnt: number;
1058
+
1059
+ /**忽略的中风险级别漏洞的数量*/
1060
+ medium_vul_ignore_cnt: number;
1061
+
1062
+ /**打开的中风险级别漏洞的数量*/
1063
+ medium_vul_open_cnt: number;
1064
+
1065
+ /**开启中问题数量*/
1066
+ open: number;
767
1067
  };
768
1068
  type DtoCommonRegistryPackageDetail = {
769
1069
  address: string;
@@ -802,8 +1102,52 @@ type DtoCommonRegistryTagDetail = {
802
1102
  tag: string;
803
1103
  tags: DtoCommonRegistryTag[];
804
1104
  };
1105
+ type DtoConanMetaData = {
1106
+ author: string;
1107
+
1108
+ /**conan 的 package 列表*/
1109
+ conan_packages: DtoConanPackage[];
1110
+
1111
+ /**conan recipe 的 revision, conan 制品专用字段*/
1112
+ conan_recipe_revision: string;
1113
+ conan_reference: string;
1114
+ home_page: string;
1115
+ license_url: string;
1116
+ package_name: string;
1117
+ package_tag: string;
1118
+ package_type: string;
1119
+ readme: string;
1120
+ repository_url: string;
1121
+ };
1122
+ type DtoConanPackage = {
1123
+ arch: string;
1124
+ build_type: string;
1125
+ compiler: any;
1126
+ options: any;
1127
+ os: string;
1128
+ package_id: string;
1129
+ package_revision: string;
1130
+ requires: string[];
1131
+ };
1132
+ type DtoConanRegistryTagDetail = {
1133
+ address: string;
1134
+ dependencies: DtoDependency[];
1135
+ desc: string;
1136
+ files: DtoFile[];
1137
+ last_pusher: DtoLastPusher;
1138
+ metadata: DtoConanMetaData;
1139
+ package: string;
1140
+ pull_count: number;
1141
+ recent_pull_count: number;
1142
+ size: number;
1143
+ slug: string;
1144
+ status: string;
1145
+ tag: string;
1146
+ tags: DtoCommonRegistryTag[];
1147
+ };
805
1148
  type DtoContainerAnnotation = {
806
1149
  revision: string;
1150
+ sn: string;
807
1151
  version: string;
808
1152
  };
809
1153
  type DtoContainerImage = {
@@ -877,7 +1221,7 @@ type DtoDependency = {
877
1221
  name: string;
878
1222
  };
879
1223
  type DtoDockerModelConfig = {
880
- files: DtoDockerModelFile[];
1224
+ architecture: string;
881
1225
 
882
1226
  /**Format the packaging format of the model file(s), currently the only supported value is gguf.*/
883
1227
  format: string;
@@ -885,14 +1229,12 @@ type DtoDockerModelConfig = {
885
1229
  /**FormatVersion the version of the format*/
886
1230
  format_version: string;
887
1231
  gguf: DtoGguf;
1232
+ parameters: string;
1233
+ quantization: string;
888
1234
  size: string;
889
1235
  };
890
1236
  type DtoDockerModelDescriptor = {
891
- createdAt: string;
892
- };
893
- type DtoDockerModelFile = {
894
- diffID: string;
895
- type: string;
1237
+ created: string;
896
1238
  };
897
1239
  type DtoDockerModelPackageDetail = {
898
1240
  address: string;
@@ -941,12 +1283,6 @@ type DtoFile = {
941
1283
  name: string;
942
1284
  size: number;
943
1285
  };
944
- type DtoForkReq = {
945
- branch: string;
946
- description: string;
947
- group: string;
948
- name: string;
949
- };
950
1286
  type DtoForks = {
951
1287
  created_at: string;
952
1288
  fork_count: number;
@@ -957,10 +1293,26 @@ type DtoForks = {
957
1293
  user_lock: boolean;
958
1294
  username: string;
959
1295
  };
960
- type DtoGguf = {
961
- architecture: string;
962
- parameter_count: string;
963
- quantization: string;
1296
+ type DtoGguf = any;
1297
+ type DtoGetBadgeReq = {
1298
+ /**分支名,例如:main。不传则为默认分支,获取默认分支最新徽章。传了分支名,则获取该分支最新提交记录对应的徽章。*/
1299
+ branch: string;
1300
+ };
1301
+ type DtoGetBadgeResult = {
1302
+ /**徽章颜色*/
1303
+ color: string;
1304
+
1305
+ /**徽章左侧显示内容*/
1306
+ label: string;
1307
+
1308
+ /**徽章链接*/
1309
+ link: string;
1310
+
1311
+ /**徽章链接列表*/
1312
+ links: string[];
1313
+
1314
+ /**徽章右侧显示内容*/
1315
+ message: string;
964
1316
  };
965
1317
  type DtoGroupSettingReq = {
966
1318
  /**组织限制指定邮箱认证才能加入*/
@@ -1003,14 +1355,29 @@ type DtoInheritMembersUser = {
1003
1355
  /**认证过期时间*/
1004
1356
  verified_expire_in: string;
1005
1357
  };
1358
+ type DtoIssueConfig = {
1359
+ /**逗号分隔的标签字符串,如 "bug,feature"*/
1360
+ labels: string;
1361
+
1362
+ /**"open", "closed"*/
1363
+ state: string;
1364
+ };
1006
1365
  type DtoKnowledgeBaseInfoRes = {
1007
1366
  embedding_model: DtoEmbeddingModels;
1008
1367
  exclude: string;
1009
- id: number;
1368
+ id: string;
1010
1369
  include: string;
1370
+ issue_last_sync_time: string;
1371
+ issue_sync_enabled: boolean;
1011
1372
  last_commit_sha: string;
1373
+ metadata: DtoKnowledgeBaseMetadata;
1012
1374
  statistics: DtoDocumentStatistics;
1013
1375
  };
1376
+ type DtoKnowledgeBaseMetadata = {
1377
+ issue: DtoIssueConfig;
1378
+ processing: DtoProcessingConfig;
1379
+ version: string;
1380
+ };
1014
1381
  type DtoLastPusher = {
1015
1382
  is_frozen: boolean;
1016
1383
  is_lock: boolean;
@@ -1018,6 +1385,11 @@ type DtoLastPusher = {
1018
1385
  nickname: string;
1019
1386
  push_at: string;
1020
1387
  };
1388
+ type DtoListBadgeReq = any;
1389
+ type DtoListBadgeResult = {
1390
+ /**徽章列表*/
1391
+ badges: DtoBadge[];
1392
+ };
1021
1393
  type DtoListForks = {
1022
1394
  fork_tree_count: number;
1023
1395
  forks: DtoForks[];
@@ -1115,7 +1487,6 @@ type DtoMetaData = {
1115
1487
  author: string;
1116
1488
  home_page: string;
1117
1489
  license_url: string;
1118
- minimum_stability: string;
1119
1490
  package_name: string;
1120
1491
  package_tag: string;
1121
1492
  package_type: string;
@@ -1165,6 +1536,21 @@ type DtoMissionViewSort = {
1165
1536
  };
1166
1537
  type DtoMissionViewSortOrder = "asc" | "desc";
1167
1538
  type DtoMissionViewType = "table" | "board" | "gantt";
1539
+ type DtoMissions4User = {
1540
+ access: any;
1541
+ created_at: string;
1542
+ description: string;
1543
+ freeze: boolean;
1544
+ id: string;
1545
+ name: string;
1546
+ path: string;
1547
+ pinned: boolean;
1548
+ pinned_time: string;
1549
+ star_time: string;
1550
+ stared: boolean;
1551
+ updated_at: string;
1552
+ visibility_level: ConstantVisibility;
1553
+ };
1168
1554
  type DtoOperatorType = "equal" | "equals" | "not_equals" | "contains" | "contains_all" | "not_contains" | "empty" | "not_empty" | "before" | "after" | "time_selector";
1169
1555
  type DtoOrganizationAccess = {
1170
1556
  /**AccessRole 用户在当前资源的最大权限*/
@@ -1187,12 +1573,13 @@ type DtoOrganizationAccess = {
1187
1573
  follow_count: number;
1188
1574
  freeze: boolean;
1189
1575
  has_sub_group: boolean;
1190
- id: number;
1576
+ id: string;
1191
1577
  member_count: number;
1192
1578
  name: string;
1193
1579
  path: string;
1194
1580
  pinned: boolean;
1195
1581
  pinned_time: string;
1582
+ readme_repo_path: string;
1196
1583
  remark: string;
1197
1584
  site: string;
1198
1585
 
@@ -1246,12 +1633,13 @@ type DtoOrganizationUnion = {
1246
1633
  follow_count: number;
1247
1634
  freeze: boolean;
1248
1635
  has_sub_group: boolean;
1249
- id: number;
1636
+ id: string;
1250
1637
  member_count: number;
1251
1638
  name: string;
1252
1639
  path: string;
1253
1640
  pinned: boolean;
1254
1641
  pinned_time: string;
1642
+ readme_repo_path: string;
1255
1643
  remark: string;
1256
1644
  site: string;
1257
1645
 
@@ -1297,7 +1685,9 @@ type DtoPackage = {
1297
1685
  recent_pull_count: number;
1298
1686
  };
1299
1687
  type DtoPackageDetail = {
1688
+ cargo: DtoCommonRegistryPackageDetail;
1300
1689
  composer: DtoCommonRegistryPackageDetail;
1690
+ conan: DtoCommonRegistryPackageDetail;
1301
1691
  docker: DtoContainerPackageDetail;
1302
1692
  docker_model: DtoDockerModelPackageDetail;
1303
1693
  helm: DtoChartPackageDetail;
@@ -1307,10 +1697,50 @@ type DtoPackageDetail = {
1307
1697
  ohpm: DtoCommonRegistryPackageDetail;
1308
1698
  pypi: DtoCommonRegistryPackageDetail;
1309
1699
  };
1310
- type DtoPackageType = "all" | "docker" | "helm" | "docker-model" | "npm" | "maven" | "ohpm" | "pypi" | "composer" | "nuget";
1700
+ type DtoPackageType = "all" | "docker" | "helm" | "docker-model" | "npm" | "maven" | "ohpm" | "pypi" | "composer" | "nuget" | "conan" | "cargo";
1701
+ type DtoProcessingConfig = {
1702
+ chunk_overlap: number;
1703
+ chunk_size: number;
1704
+ text_separator: string;
1705
+ };
1706
+ type DtoPyPiMetaData = {
1707
+ author: string;
1708
+ home_page: string;
1709
+ license_url: string;
1710
+ minimum_stability: string;
1711
+ package_name: string;
1712
+ package_tag: string;
1713
+ package_type: string;
1714
+ readme: string;
1715
+ repository_url: string;
1716
+ };
1717
+ type DtoPyPiRegistryTagDetail = {
1718
+ address: string;
1719
+ dependencies: DtoDependency[];
1720
+ desc: string;
1721
+ files: DtoFile[];
1722
+ last_pusher: DtoLastPusher;
1723
+ metadata: DtoPyPiMetaData;
1724
+ package: string;
1725
+ pull_count: number;
1726
+ recent_pull_count: number;
1727
+ size: number;
1728
+ slug: string;
1729
+ status: string;
1730
+ tag: string;
1731
+ tags: DtoCommonRegistryTag[];
1732
+ };
1311
1733
  type DtoQueryKnowledgeBaseReq = {
1734
+ /**元数据过滤条件*/
1735
+ metadata_filtering_conditions: any;
1736
+
1737
+ /**查询语句*/
1312
1738
  query: string;
1739
+
1740
+ /**分数阈值*/
1313
1741
  score_threshold: number;
1742
+
1743
+ /**返回结果的数量*/
1314
1744
  top_k: number;
1315
1745
  };
1316
1746
  type DtoQueryKnowledgeBaseRes = {
@@ -1318,22 +1748,27 @@ type DtoQueryKnowledgeBaseRes = {
1318
1748
  metadata: any;
1319
1749
  score: number;
1320
1750
  };
1321
- type DtoQuotaRsp = {
1322
- /**The hard limits of the quota,example: { "hard": { "storage": -1}}*/
1323
- hard: any;
1324
-
1325
- /**The repository name of the quota*/
1326
- repository_name: string;
1327
-
1328
- /**The cnb default quota value*/
1329
- storage_per_project: string;
1330
-
1331
- /**The used limits of the quota,example: { "used": { "storage": 0}}*/
1332
- used: any;
1333
- };
1334
- type DtoRegistryLevelQuotaRsp = {
1335
- code_repo: DtoCodeRepoQuotaRsp;
1336
- common_registry: DtoQuotaRsp;
1751
+ type DtoRegistry4User = {
1752
+ access: any;
1753
+ artifact_policy: "all" | "snapshot" | "release";
1754
+ created_at: string;
1755
+ description: string;
1756
+ freeze: boolean;
1757
+ id: string;
1758
+ kind: string;
1759
+ last_push_time: string;
1760
+ last_push_user: DtoUsers;
1761
+ name: string;
1762
+ overwrite_policy: "forbid" | "allow";
1763
+ path: string;
1764
+ pinned: boolean;
1765
+ pinned_time: string;
1766
+ pkg_count: number;
1767
+ star_time: string;
1768
+ stared: boolean;
1769
+ updated_at: string;
1770
+ used_size: number;
1771
+ visibility_level: ConstantVisibility;
1337
1772
  };
1338
1773
  type DtoRepoPatch = {
1339
1774
  description: string;
@@ -1341,6 +1776,37 @@ type DtoRepoPatch = {
1341
1776
  site: string;
1342
1777
  topics: string[];
1343
1778
  };
1779
+ type DtoRepoSecurityOverview = {
1780
+ code_issue: DtoCodeIssueSummary;
1781
+ code_sensitive: DtoCodeSensitiveSummary;
1782
+ code_vulnerability: DtoCodeVulOverview;
1783
+ risk_cnt: DtoRepoSecurityRiskCnt;
1784
+ };
1785
+ type DtoRepoSecurityRiskCnt = {
1786
+ /**是否开启源码扫描*/
1787
+ code_issue_enable: boolean;
1788
+
1789
+ /**源码扫描风险数量 (严重+高风险)*/
1790
+ code_issue_risk_cnt: number;
1791
+
1792
+ /**是否开启代码敏感信息扫描*/
1793
+ code_sensitive_enable: boolean;
1794
+
1795
+ /**敏感信息风险数量(高风险)*/
1796
+ code_sensitive_risk_cnt: number;
1797
+
1798
+ /**是否开启代码漏洞扫描*/
1799
+ code_vulnerability_enable: boolean;
1800
+
1801
+ /**代码漏洞风险数量(严重+高风险)*/
1802
+ code_vulnerability_risk_cnt: number;
1803
+
1804
+ /**是否开启安全模块*/
1805
+ enable: boolean;
1806
+
1807
+ /**总计数*/
1808
+ total: number;
1809
+ };
1344
1810
  type DtoRepoStarUsers = {
1345
1811
  my_follow_count: number;
1346
1812
  total: number;
@@ -1517,7 +1983,9 @@ type DtoStartWorkspaceResult = {
1517
1983
  url: string;
1518
1984
  };
1519
1985
  type DtoTag = {
1986
+ cargo: DtoCommonRegistryTag[];
1520
1987
  composer: DtoCommonRegistryTag[];
1988
+ conan: DtoCommonRegistryTag[];
1521
1989
  docker: DtoContainerTag[];
1522
1990
  docker_model: DtoDockerModelTag[];
1523
1991
  helm: DtoChartTag[];
@@ -1529,7 +1997,9 @@ type DtoTag = {
1529
1997
  pypi: DtoCommonRegistryTag[];
1530
1998
  };
1531
1999
  type DtoTagDetail = {
2000
+ cargo: DtoCommonRegistryTagDetail;
1532
2001
  composer: DtoCommonRegistryTagDetail;
2002
+ conan: DtoConanRegistryTagDetail;
1533
2003
  docker: DtoContainerTagDetail;
1534
2004
  docker_model: DtoDockerModelTagDetail;
1535
2005
  helm: DtoChartTagDetail;
@@ -1537,7 +2007,7 @@ type DtoTagDetail = {
1537
2007
  npm: DtoCommonRegistryTagDetail;
1538
2008
  nuget: DtoCommonRegistryTagDetail;
1539
2009
  ohpm: DtoCommonRegistryTagDetail;
1540
- pypi: DtoCommonRegistryTagDetail;
2010
+ pypi: DtoPyPiRegistryTagDetail;
1541
2011
  };
1542
2012
  type DtoTransferSlugReq = {
1543
2013
  source: string;
@@ -1547,6 +2017,8 @@ type DtoUpdateGroupReq = {
1547
2017
  description: string;
1548
2018
  domain: string;
1549
2019
  email: string;
2020
+ readme_repo_id: number;
2021
+ readme_repo_path: string;
1550
2022
  remark: string;
1551
2023
  site: string;
1552
2024
  wechat_mp: string;
@@ -1562,6 +2034,8 @@ type DtoUpdateUserInfoPayload = {
1562
2034
  location: string;
1563
2035
  name: string;
1564
2036
  nickname: string;
2037
+ readme_repo_id: number;
2038
+ readme_repo_path: string;
1565
2039
  site: string;
1566
2040
  wechat_mp: string;
1567
2041
  wechat_mp_qrcode: string;
@@ -1601,6 +2075,7 @@ type DtoUploadBadgeResult = {
1601
2075
  url: string;
1602
2076
  };
1603
2077
  type DtoUploadRequestParams = {
2078
+ ext: any;
1604
2079
  name: string;
1605
2080
  size: number;
1606
2081
  };
@@ -1655,6 +2130,10 @@ type DtoUsersResult = {
1655
2130
  locked: boolean;
1656
2131
  mission_count: number;
1657
2132
  nickname: string;
2133
+ public_mission_count: number;
2134
+ public_registry_count: number;
2135
+ public_repo_count: number;
2136
+ readme_repo_path: string;
1658
2137
  registry_count: number;
1659
2138
  repo_count: number;
1660
2139
  reward_amount: number;
@@ -1674,6 +2153,7 @@ type DtoUsersResult = {
1674
2153
  };
1675
2154
  type DtoUsersResultForSelf = {
1676
2155
  address: string;
2156
+ appearance: string;
1677
2157
 
1678
2158
  /**用户赞赏码状态,0-无赞赏码,1-有*/
1679
2159
  appreciate_status: number;
@@ -1699,6 +2179,10 @@ type DtoUsersResultForSelf = {
1699
2179
  mission_count: number;
1700
2180
  next_updated_name_at: string;
1701
2181
  nickname: string;
2182
+ public_mission_count: number;
2183
+ public_registry_count: number;
2184
+ public_repo_count: number;
2185
+ readme_repo_path: string;
1702
2186
  registry_count: number;
1703
2187
  repo_count: number;
1704
2188
  reward_amount: number;
@@ -1740,8 +2224,11 @@ type DtoUsersWithAccessLevelInSlug = {
1740
2224
  verified_expire_in: string;
1741
2225
  };
1742
2226
  type DtoWorkspaceDeleteReq = {
1743
- /**创建环境的流水线 id*/
2227
+ /**表示要删除的开发环境流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/
1744
2228
  pipelineId: string;
2229
+
2230
+ /**表示要删除的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
2231
+ sn: string;
1745
2232
  };
1746
2233
  type DtoWorkspaceDeleteResult = {
1747
2234
  /**返回码,0 表示成功,1 表示失败*/
@@ -1843,18 +2330,52 @@ type DtoWorkspaceListResult = {
1843
2330
  /**总数*/
1844
2331
  total: number;
1845
2332
  };
1846
- type FlagsRepo = 0 | 2 | 4;
2333
+ type DtoWorkspaceStopReq = {
2334
+ /**表示要停止的开发环境的流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/
2335
+ pipelineId: string;
2336
+
2337
+ /**表示要停止的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
2338
+ sn: string;
2339
+ };
2340
+ type DtoWorkspaceStopResult = {
2341
+ /**表示停止的开发环境流水线日志地址*/
2342
+ buildLogUrl: string;
2343
+
2344
+ /**表示操作结果提示信息*/
2345
+ message: string;
2346
+
2347
+ /**表示停止的开发环境流水线构建号*/
2348
+ sn: string;
2349
+ };
2350
+ type FlagsRepo = "Unknown" | "KnowledgeBase" | "HideRank";
2351
+ type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiCommitStatus = {
2352
+ context: string;
2353
+ created_at: string;
2354
+ description: string;
2355
+ state: string;
2356
+ target_url: string;
2357
+ updated_at: string;
2358
+ };
1847
2359
  type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo = {
2360
+ /**用户邮箱*/
1848
2361
  email: string;
2362
+
2363
+ /**是否冻结*/
1849
2364
  freeze: boolean;
2365
+
2366
+ /**昵称*/
1850
2367
  nickname: string;
2368
+
2369
+ /**用户名*/
1851
2370
  username: string;
1852
2371
  };
1853
- type GitWoaComCnbMonorepoGitInternalAppGitServiceBffWebUserInfo = {
1854
- email: string;
1855
- freeze: boolean;
1856
- nickname: string;
1857
- username: string;
2372
+ type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus = {
2373
+ context: string;
2374
+ created_at: string;
2375
+ description: string;
2376
+ state: string;
2377
+ target_url: string;
2378
+ updated_at: string;
1858
2379
  };
1859
2380
  type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo = {
1860
2381
  nickname: string;
@@ -1868,6 +2389,9 @@ type OpenapiHeadRef = {
1868
2389
  name: string;
1869
2390
  protected: boolean;
1870
2391
  };
2392
+ type OpenapiIssuePropertiesForm = {
2393
+ properties: OpenapiPropertyForm[];
2394
+ };
1871
2395
  type OpenapiPatchReleaseForm = {
1872
2396
  body: string;
1873
2397
  draft: boolean;
@@ -1897,6 +2421,10 @@ type OpenapiPostReleaseForm = {
1897
2421
  tag_name: string;
1898
2422
  target_commitish: string;
1899
2423
  };
2424
+ type OpenapiPropertyForm = {
2425
+ key: string;
2426
+ value: string;
2427
+ };
1900
2428
  type OpenapiPutCommitAnnotation = {
1901
2429
  key: string;
1902
2430
  value: string;
@@ -1911,7 +2439,7 @@ type OpenapiPutTagAnnotation = {
1911
2439
  type OpenapiPutTagAnnotationsForm = {
1912
2440
  annotations: OpenapiPutTagAnnotation[];
1913
2441
  };
1914
- type OrganizationSettingValue = 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65536 | 131072 | 262144 | 524288;
2442
+ type OrganizationSettingValue = "disable_organization_readme" | "cloud_native_dev_only" | "user_root_group_branch_protection_only" | "forbid_redefine_branch_protection" | "enable_tapd_access" | "enable_show_private_mission_water_mark" | "prevent_organization_creation" | "prevent_repository_creation" | "prevent_mission_creation" | "prevent_registry_creation" | "disable_invitation" | "prevent_visibility_modification" | "prevent_resource_deletion" | "prevent_repository_archival" | "prevent_organization_transfer" | "prevent_repository_transfer" | "prevent_mission_transfer" | "prevent_registry_transfer" | "use_group_git_quota" | "use_group_git_object_limit" | "enable_add_member" | "use_root_group_git_push_limit";
1915
2443
  type WebCommitAnnotation = {
1916
2444
  key: string;
1917
2445
  meta: any;
@@ -1921,19 +2449,6 @@ type WebCommitAnnotationInBatch = {
1921
2449
  annotations: WebCommitAnnotation[];
1922
2450
  commit_hash: string;
1923
2451
  };
1924
- type WebCommitStatus = {
1925
- context: string;
1926
- created_at: string;
1927
- description: string;
1928
- state: string;
1929
- target_url: string;
1930
- updated_at: string;
1931
- };
1932
- type WebCommitStatuses = {
1933
- sha: string;
1934
- state: string;
1935
- statuses: WebCommitStatus[];
1936
- };
1937
2452
  type WebContributorTrend = {
1938
2453
  /**贡献者信息*/
1939
2454
  author: any;
@@ -1944,14 +2459,6 @@ type WebContributorTrend = {
1944
2459
  /**贡献者以周为单位的提交趋势数据*/
1945
2460
  weeks: WebWeek[];
1946
2461
  };
1947
- type WebDeferredCommit = {
1948
- oid: string;
1949
- signature_information: WebSignatureInformation;
1950
- status_check_statuses: WebCommitStatuses;
1951
-
1952
- /**one of `verified`, `unverified`, `unsigned`*/
1953
- verified_status: string;
1954
- };
1955
2462
  type WebGetCommitAnnotationsInBatchForm = {
1956
2463
  commit_hashes: string[];
1957
2464
  keys: string[];
@@ -1961,10 +2468,6 @@ type WebMeta = {
1961
2468
  gen_hash: string;
1962
2469
  updated_at: string;
1963
2470
  };
1964
- type WebPipelineSettings = {
1965
- auto_trigger: boolean;
1966
- forked_repo_auto_trigger: boolean;
1967
- };
1968
2471
  type WebRepoContribTrend = {
1969
2472
  meta: WebMeta;
1970
2473
  repo_data: WebWeek[];
@@ -1975,17 +2478,6 @@ type WebRepoContribTrend = {
1975
2478
  /**是否统计增删的行数, 默认总提交超过 10000 的仓库不统计*/
1976
2479
  with_line_counts: boolean;
1977
2480
  };
1978
- type WebSignatureInformation = {
1979
- has_signature: boolean;
1980
- key_expired: boolean;
1981
- key_id: string;
1982
- signature_type: string;
1983
- signature_verification_reason: string;
1984
- signed_by_cnb: boolean;
1985
- signer: GitWoaComCnbMonorepoGitInternalAppGitServiceBffWebUserInfo;
1986
- verified: boolean;
1987
- verified_at: string;
1988
- };
1989
2481
  type WebTagAnnotation = {
1990
2482
  key: string;
1991
2483
  meta: any;
@@ -2004,16 +2496,12 @@ type WebWeek = {
2004
2496
  /**周的时间戳*/
2005
2497
  w: number;
2006
2498
  };
2007
- type WebapiCherryPickPullRequestForm = {
2008
- create_pr: boolean;
2009
- target_branch: string;
2010
- };
2011
- type WebapiRevertPullRequestForm = {
2012
- create_pr: boolean;
2013
- target_branch: string;
2014
- };
2015
2499
  //#endregion
2016
2500
  //#region src/client.d.ts
2501
+ type Event_GetEvents = (params: {
2502
+ repo: string;
2503
+ date: string;
2504
+ }) => Promise<any>;
2017
2505
  type Organizations_CreateOrganization = (params: {
2018
2506
  request: DtoCreateGroupReq;
2019
2507
  }) => Promise<any>;
@@ -2030,6 +2518,11 @@ type Users_AutoCompleteSource = (params?: {
2030
2518
  order_by?: "created_at" | "slug_path";
2031
2519
  desc?: boolean;
2032
2520
  }) => Promise<string[]>;
2521
+ type Users_ListGPGKeys = (params?: {
2522
+ page?: number;
2523
+ page_size?: number;
2524
+ keyword?: string;
2525
+ }) => Promise<any>;
2033
2526
  type Organizations_ListTopGroups = (params?: {
2034
2527
  page?: number;
2035
2528
  page_size?: number;
@@ -2037,7 +2530,7 @@ type Organizations_ListTopGroups = (params?: {
2037
2530
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
2038
2531
  }) => Promise<DtoOrganizationAccess[]>;
2039
2532
  type Organizations_ListGroups = (params: {
2040
- group: string;
2533
+ slug: string;
2041
2534
  page?: number;
2042
2535
  page_size?: number;
2043
2536
  access?: number;
@@ -2053,12 +2546,12 @@ type Repositories_GetRepos = (params?: {
2053
2546
  order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
2054
2547
  desc?: boolean;
2055
2548
  }) => Promise<DtoRepos4User[]>;
2056
- type Repositories_GetUserAllStaredRepos = (params?: {
2549
+ type Starring_GetUserAllStaredRepos = (params?: {
2057
2550
  page?: number;
2058
2551
  page_size?: number;
2059
2552
  search?: string;
2060
2553
  desc?: boolean;
2061
- order_by?: "created_at" | "last_updated_at" | "stars" | "forks";
2554
+ order_by?: "created_at" | "last_updated_at" | "stared_time" | "stars" | "forks";
2062
2555
  }) => Promise<DtoRepos4User[]>;
2063
2556
  type Users_GetUserInfoByName = (params: {
2064
2557
  username: string;
@@ -2082,8 +2575,6 @@ type Organizations_GetGroupsByUserID = (params: {
2082
2575
  search?: string;
2083
2576
  page?: number;
2084
2577
  page_size?: number;
2085
- desc?: boolean;
2086
- order_by?: "join_time" | "created_at";
2087
2578
  }) => Promise<DtoOrganizationUnion>;
2088
2579
  type Repositories_GetPinnedRepoByID = (params: {
2089
2580
  username: string;
@@ -2097,6 +2588,9 @@ type Activities_GetUserRepoActivityDetails = (params: {
2097
2588
  type Repositories_GetReposByUserName = (params: {
2098
2589
  username: string;
2099
2590
  search?: string;
2591
+ filter_type?: "private" | "public" | "secret";
2592
+ flags?: "KnowledgeBase";
2593
+ status?: "active" | "archived";
2100
2594
  role?: "Reporter" | "Developer" | "Master" | "Owner";
2101
2595
  page?: number;
2102
2596
  page_size?: number;
@@ -2123,10 +2617,9 @@ type Workspace_ListWorkspaces = (params?: {
2123
2617
  start?: string;
2124
2618
  status?: string;
2125
2619
  }) => Promise<DtoWorkspaceListResult>;
2126
- type Organizations_DeleteOrganization = (params: {
2127
- group: string;
2128
- "x-cnb-identity-ticket"?: string;
2129
- }) => Promise<any>;
2620
+ type Workspace_WorkspaceStop = (params: {
2621
+ request: DtoWorkspaceStopReq;
2622
+ }) => Promise<DtoWorkspaceStopResult>;
2130
2623
  type Organizations_GetGroup = (params: {
2131
2624
  group: string;
2132
2625
  }) => Promise<DtoOrganizationAccess>;
@@ -2134,85 +2627,51 @@ type Organizations_UpdateOrganization = (params: {
2134
2627
  group: string;
2135
2628
  request: DtoUpdateGroupReq;
2136
2629
  }) => Promise<any>;
2137
- type Collaborators_ListInheritMembersOfGroup = (params: {
2630
+ type Organizations_DeleteOrganization = (params: {
2631
+ group: string;
2632
+ "x-cnb-identity-ticket"?: string;
2633
+ }) => Promise<any>;
2634
+ type Members_ListInheritMembersOfGroup = (params: {
2138
2635
  group: string;
2139
2636
  search?: string;
2140
2637
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
2141
2638
  page?: number;
2142
2639
  page_size?: number;
2143
2640
  }) => Promise<DtoListInheritMembers[]>;
2144
- type Collaborators_ListMembersOfGroup = (params: {
2641
+ type Members_ListMembersOfGroup = (params: {
2145
2642
  group: string;
2146
2643
  page?: number;
2147
2644
  page_size?: number;
2148
2645
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
2149
2646
  search?: string;
2150
2647
  }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
2151
- type Contributors_GetMemberAccessLevelOfGroup = (params: {
2648
+ type Members_GetMemberAccessLevelOfGroup = (params: {
2152
2649
  group: string;
2153
2650
  include_inherit?: boolean;
2154
2651
  }) => Promise<DtoMemberAccessLevelInSlugUnion>;
2155
- type Contributors_ListMemberAccessLevelOfGroup = (params: {
2652
+ type Members_ListMemberAccessLevelOfGroup = (params: {
2156
2653
  group: string;
2157
2654
  username: string;
2158
2655
  }) => Promise<DtoMemberAccessLevel[]>;
2159
- type Collaborators_DeleteMembersOfGroup = (params: {
2160
- group: string;
2161
- username: string;
2162
- }) => Promise<any>;
2163
- type Collaborators_AddMembersOfGroup = (params: {
2656
+ type Members_UpdateMembersOfGroup = (params: {
2164
2657
  group: string;
2165
2658
  username: string;
2166
2659
  request: DtoUpdateMembersRequest;
2167
2660
  }) => Promise<any>;
2168
- type Collaborators_UpdateMembersOfGroup = (params: {
2661
+ type Members_AddMembersOfGroup = (params: {
2169
2662
  group: string;
2170
2663
  username: string;
2171
2664
  request: DtoUpdateMembersRequest;
2172
2665
  }) => Promise<any>;
2173
- type Missions_CreateMission = (params: {
2174
- group: string;
2175
- request: DtoCreateMissionReq;
2176
- }) => Promise<any>;
2177
- type Repositories_GetPinnedRepoByGroup = (params: {
2178
- group: string;
2179
- }) => Promise<DtoRepos4UserBase[]>;
2180
- type Repositories_SetPinnedRepoByGroup = (params: {
2181
- group: string;
2182
- request: string[];
2183
- }) => Promise<DtoRepos4UserBase[]>;
2184
- type Repositories_GetGroupSubRepos = (params: {
2185
- group: string;
2186
- page?: number;
2187
- page_size?: number;
2188
- filter_type?: "private" | "public" | "secret";
2189
- order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path";
2190
- desc?: boolean;
2191
- descendant?: "all" | "sub" | "grand";
2192
- search?: string;
2193
- }) => Promise<DtoRepos4User[]>;
2194
- type Repositories_CreateRepo = (params: {
2195
- group: string;
2196
- request: DtoCreateRepoReq;
2197
- }) => Promise<any>;
2198
- type Organizations_GetGroupSetting = (params: {
2199
- group: string;
2200
- }) => Promise<DtoOrganizationSettingWithParent>;
2201
- type Organizations_UpdateGroupSetting = (params: {
2666
+ type Members_DeleteMembersOfGroup = (params: {
2202
2667
  group: string;
2203
- request: DtoGroupSettingReq;
2668
+ username: string;
2204
2669
  }) => Promise<any>;
2205
- type Organizations_ListSubgroups = (params: {
2206
- group: string;
2207
- search?: string;
2208
- page: number;
2209
- page_size: number;
2210
- }) => Promise<DtoOrganizationUnion[]>;
2211
2670
  type Organizations_TransferGroup = (params: {
2212
2671
  group: string;
2213
2672
  request: DtoTransferSlugReq;
2214
2673
  }) => Promise<any>;
2215
- type Assets_UploadLogos = (params: {
2674
+ type Organizations_UploadLogos = (params: {
2216
2675
  group: string;
2217
2676
  request: DtoUploadRequestParams;
2218
2677
  }) => Promise<DtoUploadAssetsResponse>;
@@ -2220,7 +2679,7 @@ type Missions_DeleteMission = (params: {
2220
2679
  mission: string;
2221
2680
  "x-cnb-identity-ticket"?: string;
2222
2681
  }) => Promise<any>;
2223
- type Collaborators_AddMembersOfMission = (params: {
2682
+ type Members_AddMembersOfMission = (params: {
2224
2683
  mission: string;
2225
2684
  username: string;
2226
2685
  request: DtoUpdateMembersRequest;
@@ -2236,42 +2695,68 @@ type Missions_PostMissionViewConfig = (params: {
2236
2695
  type Missions_GetMissionViewList = (params: {
2237
2696
  mission: string;
2238
2697
  }) => Promise<DtoMissionView[]>;
2698
+ type Missions_PutMissionViewList = (params: {
2699
+ mission: string;
2700
+ request: DtoMissionView;
2701
+ }) => Promise<any>;
2239
2702
  type Missions_PostMissionViewList = (params: {
2240
2703
  mission: string;
2241
2704
  request: DtoMissionPostViewReq;
2242
2705
  }) => Promise<any>;
2243
- type Missions_PutMissionViewList = (params: {
2706
+ type Missions_SetMissionVisibility = (params: {
2244
2707
  mission: string;
2245
- request: DtoMissionView;
2708
+ visibility: "Private" | "Public";
2246
2709
  }) => Promise<any>;
2247
- type Artifactory_DeleteRegistry = (params: {
2710
+ type Registries_DeleteRegistry = (params: {
2248
2711
  registry: string;
2249
2712
  "x-cnb-identity-ticket"?: string;
2250
2713
  }) => Promise<any>;
2251
- type Collaborators_AddMembersOfRegistry = (params: {
2714
+ type Members_AddMembersOfRegistry = (params: {
2252
2715
  registry: string;
2253
2716
  username: string;
2254
2717
  request: DtoUpdateMembersRequest;
2255
2718
  }) => Promise<any>;
2256
- type Repositories_DeleteRepo = (params: {
2257
- repo: string;
2258
- "x-cnb-identity-ticket"?: string;
2719
+ type Registries_SetRegistryVisibility = (params: {
2720
+ registry: string;
2721
+ visibility: "Private" | "Public";
2259
2722
  }) => Promise<any>;
2260
2723
  type Repositories_GetByID = (params: {
2261
2724
  repo: string;
2262
2725
  }) => Promise<DtoRepos4User>;
2726
+ type Repositories_DeleteRepo = (params: {
2727
+ repo: string;
2728
+ "x-cnb-identity-ticket"?: string;
2729
+ }) => Promise<any>;
2263
2730
  type Repositories_UpdateRepo = (params: {
2264
2731
  repo: string;
2265
2732
  request: DtoRepoPatch;
2266
2733
  }) => Promise<any>;
2267
- type Ai_AiChatCompletions = (params: {
2734
+ type AI_AiChatCompletions = (params: {
2268
2735
  repo: string;
2269
2736
  request: DtoAiChatCompletionsReq;
2270
2737
  }) => Promise<DtoAiChatCompletionsResult>;
2738
+ type Badge_GetBadge = (params: {
2739
+ repo: string;
2740
+ sha: string;
2741
+ badge: string;
2742
+ request: DtoGetBadgeReq;
2743
+ }) => Promise<DtoGetBadgeResult>;
2744
+ type Badge_ListBadge = (params: {
2745
+ repo: string;
2746
+ request: DtoListBadgeReq;
2747
+ }) => Promise<DtoListBadgeResult>;
2271
2748
  type Badge_UploadBadge = (params: {
2272
2749
  repo: string;
2273
2750
  request: DtoUploadBadgeReq;
2274
2751
  }) => Promise<DtoUploadBadgeResult>;
2752
+ type AI_AiAutoPr = (params: {
2753
+ repo: string;
2754
+ request: DtoAiAutoPrReq;
2755
+ }) => Promise<DtoAiAutoPrResult>;
2756
+ type Build_BuildCrontabSync = (params: {
2757
+ repo: string;
2758
+ branch: string;
2759
+ }) => Promise<DtoBuildCommonResult>;
2275
2760
  type Build_GetBuildLogs = (params: {
2276
2761
  repo: string;
2277
2762
  createTime?: string;
@@ -2293,6 +2778,10 @@ type Build_GetBuildStage = (params: {
2293
2778
  pipelineId: string;
2294
2779
  stageId: string;
2295
2780
  }) => Promise<DtoBuildStageResult>;
2781
+ type Build_BuildLogsDelete = (params: {
2782
+ repo: string;
2783
+ sn: string;
2784
+ }) => Promise<DtoBuildCommonResult>;
2296
2785
  type Build_BuildRunnerDownloadLog = (params: {
2297
2786
  repo: string;
2298
2787
  pipelineId: string;
@@ -2309,35 +2798,30 @@ type Build_StopBuild = (params: {
2309
2798
  repo: string;
2310
2799
  sn: string;
2311
2800
  }) => Promise<DtoBuildResult>;
2312
- type Assets_GetCommitAssets = (params: {
2801
+ type Git_GetCommitAssets = (params: {
2313
2802
  repo: string;
2314
2803
  commit_id: string;
2315
2804
  filename: string;
2316
2805
  share?: boolean;
2317
2806
  }) => Promise<any>;
2318
- type RepoContributor_GetRepoContributorTrend = (params: {
2319
- repo: string;
2320
- limit?: number;
2321
- exclude_external_users?: boolean;
2322
- }) => Promise<WebRepoContribTrend>;
2323
2807
  type Repositories_ListForksRepos = (params: {
2324
2808
  repo: string;
2325
2809
  start_from_root?: boolean;
2326
- page: number;
2327
- page_size: number;
2810
+ page?: number;
2811
+ page_size?: number;
2328
2812
  }) => Promise<DtoListForks>;
2329
- type Repositories_CreateAFork = (params: {
2330
- repo: string;
2331
- request: DtoForkReq;
2332
- }) => Promise<any>;
2333
2813
  type Git_GetArchiveCommitChangedFiles = (params: {
2334
2814
  repo: string;
2335
- sha1?: string;
2815
+ sha1: string;
2336
2816
  }) => Promise<any>;
2337
2817
  type Git_GetArchiveCompareChangedFiles = (params: {
2338
2818
  repo: string;
2339
2819
  base_head: string;
2340
2820
  }) => Promise<any>;
2821
+ type Git_GetArchive = (params: {
2822
+ repo: string;
2823
+ ref_with_path: string;
2824
+ }) => Promise<any>;
2341
2825
  type Git_CreateBlob = (params: {
2342
2826
  repo: string;
2343
2827
  post_blob_form: ApiPostBlobForm;
@@ -2351,14 +2835,14 @@ type Git_CreateBranch = (params: {
2351
2835
  repo: string;
2352
2836
  create_branch_form: OpenapiCreateBranchForm;
2353
2837
  }) => Promise<any>;
2838
+ type Git_GetBranch = (params: {
2839
+ repo: string;
2840
+ branch: string;
2841
+ }) => Promise<ApiBranchDetail>;
2354
2842
  type Git_DeleteBranch = (params: {
2355
2843
  repo: string;
2356
2844
  branch: string;
2357
2845
  }) => Promise<any>;
2358
- type Git_GetBranch = (params: {
2359
- repo: string;
2360
- branch?: string;
2361
- }) => Promise<ApiBranchDetail>;
2362
2846
  type Git_GetCommitAnnotationsInBatch = (params: {
2363
2847
  repo: string;
2364
2848
  get_commit_annotations_form: WebGetCommitAnnotationsInBatchForm;
@@ -2400,7 +2884,7 @@ type Git_DeleteCommitAsset = (params: {
2400
2884
  type Git_GetCommitStatuses = (params: {
2401
2885
  repo: string;
2402
2886
  commitish: string;
2403
- }) => Promise<ApiCommitStatus[]>;
2887
+ }) => Promise<GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiCommitStatus[]>;
2404
2888
  type Git_ListCommits = (params: {
2405
2889
  repo: string;
2406
2890
  sha?: string;
@@ -2419,18 +2903,23 @@ type Git_GetCompareCommits = (params: {
2419
2903
  repo: string;
2420
2904
  base_head: string;
2421
2905
  }) => Promise<ApiCompareResponse>;
2906
+ type Git_GetContentWithoutPath = (params: {
2907
+ repo: string;
2908
+ ref?: string;
2909
+ }) => Promise<ApiContent>;
2422
2910
  type Git_GetContent = (params: {
2423
2911
  repo: string;
2424
2912
  file_path: string;
2425
2913
  ref?: string;
2426
2914
  }) => Promise<ApiContent>;
2427
- type Git_ListDeferredCommits = (params: {
2428
- repo: string;
2429
- cs: string;
2430
- }) => Promise<WebDeferredCommit[]>;
2431
2915
  type Git_GetHead = (params: {
2432
2916
  repo: string;
2433
2917
  }) => Promise<OpenapiHeadRef>;
2918
+ type Git_GetRaw = (params: {
2919
+ repo: string;
2920
+ ref_with_path: string;
2921
+ max_in_byte?: number;
2922
+ }) => Promise<string>;
2434
2923
  type Git_DeleteTagAnnotation = (params: {
2435
2924
  repo: string;
2436
2925
  tag_with_key: string;
@@ -2453,15 +2942,15 @@ type Git_CreateTag = (params: {
2453
2942
  repo: string;
2454
2943
  post_tag_form: ApiPostTagFrom;
2455
2944
  }) => Promise<any>;
2456
- type Git_DeleteTag = (params: {
2457
- repo: string;
2458
- tag: string;
2459
- }) => Promise<any>;
2460
2945
  type Git_GetTag = (params: {
2461
2946
  repo: string;
2462
2947
  tag: string;
2463
2948
  }) => Promise<ApiTag>;
2464
- type Collaborators_ListInheritMembersOfRepo = (params: {
2949
+ type Git_DeleteTag = (params: {
2950
+ repo: string;
2951
+ tag: string;
2952
+ }) => Promise<any>;
2953
+ type Members_ListInheritMembersOfRepo = (params: {
2465
2954
  repo: string;
2466
2955
  search?: string;
2467
2956
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
@@ -2476,6 +2965,7 @@ type Issues_ListIssues = (params: {
2476
2965
  keyword?: string;
2477
2966
  priority?: string;
2478
2967
  labels?: string;
2968
+ labels_operator?: string;
2479
2969
  authors?: string;
2480
2970
  assignees?: string;
2481
2971
  updated_time_begin?: string;
@@ -2497,25 +2987,25 @@ type Issues_UpdateIssue = (params: {
2497
2987
  number: number;
2498
2988
  patch_issue_form: ApiPatchIssueForm;
2499
2989
  }) => Promise<ApiIssueDetail>;
2990
+ type Issues_ListIssueAssignees = (params: {
2991
+ repo: string;
2992
+ number: string;
2993
+ }) => Promise<GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]>;
2994
+ type Issues_PostIssueAssignees = (params: {
2995
+ repo: string;
2996
+ number: string;
2997
+ post_issue_assignees_form: ApiPostIssueAssigneesForm;
2998
+ }) => Promise<any>;
2500
2999
  type Issues_DeleteIssueAssignees = (params: {
2501
3000
  repo: string;
2502
3001
  number: string;
2503
3002
  delete_issue_assignees_form: ApiDeleteIssueAssigneesForm;
2504
3003
  }) => Promise<ApiIssueDetail>;
2505
- type Issues_ListIssueAssignees = (params: {
2506
- repo: string;
2507
- number: string;
2508
- }) => Promise<GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]>;
2509
3004
  type Issues_PatchIssueAssignees = (params: {
2510
3005
  repo: string;
2511
3006
  number: string;
2512
3007
  patch_issue_assignees_form: ApiPatchIssueAssigneesForm;
2513
3008
  }) => Promise<ApiIssueDetail>;
2514
- type Issues_PostIssueAssignees = (params: {
2515
- repo: string;
2516
- number: string;
2517
- post_issue_assignees_form: ApiPostIssueAssigneesForm;
2518
- }) => Promise<any>;
2519
3009
  type Issues_CanUserBeAssignedToIssue = (params: {
2520
3010
  repo: string;
2521
3011
  number: string;
@@ -2543,37 +3033,42 @@ type Issues_PatchIssueComment = (params: {
2543
3033
  comment_id: number;
2544
3034
  patch_issue_comment_form: ApiPatchIssueCommentForm;
2545
3035
  }) => Promise<ApiIssueComment>;
2546
- type Issues_DeleteIssueLabels = (params: {
2547
- repo: string;
2548
- number: number;
2549
- }) => Promise<any>;
2550
3036
  type Issues_ListIssueLabels = (params: {
2551
3037
  repo: string;
2552
3038
  number: number;
2553
3039
  page?: number;
2554
3040
  page_size?: number;
2555
3041
  }) => Promise<ApiLabel[]>;
3042
+ type Issues_PutIssueLabels = (params: {
3043
+ repo: string;
3044
+ number: number;
3045
+ put_issue_labels_form: ApiPutIssueLabelsForm;
3046
+ }) => Promise<ApiLabel>;
2556
3047
  type Issues_PostIssueLabels = (params: {
2557
3048
  repo: string;
2558
3049
  number: number;
2559
3050
  post_issue_labels_form: ApiPostIssueLabelsForm;
2560
3051
  }) => Promise<ApiLabel>;
2561
- type Issues_PutIssueLabels = (params: {
3052
+ type Issues_DeleteIssueLabels = (params: {
2562
3053
  repo: string;
2563
3054
  number: number;
2564
- put_issue_labels_form: ApiPutIssueLabelsForm;
2565
- }) => Promise<ApiLabel>;
3055
+ }) => Promise<any>;
2566
3056
  type Issues_DeleteIssueLabel = (params: {
2567
3057
  repo: string;
2568
3058
  number: number;
2569
3059
  name: string;
2570
3060
  }) => Promise<ApiLabel>;
2571
- type KnowledgeBase_DeleteKnowledgeBase = (params: {
3061
+ type Issues_CreateIssueProperties = (params: {
2572
3062
  repo: string;
3063
+ number: number;
3064
+ issue_properties_form: OpenapiIssuePropertiesForm;
2573
3065
  }) => Promise<any>;
2574
3066
  type KnowledgeBase_GetKnowledgeBaseInfo = (params: {
2575
3067
  repo: string;
2576
3068
  }) => Promise<DtoKnowledgeBaseInfoRes>;
3069
+ type KnowledgeBase_DeleteKnowledgeBase = (params: {
3070
+ repo: string;
3071
+ }) => Promise<any>;
2577
3072
  type KnowledgeBase_QueryKnowledgeBase = (params: {
2578
3073
  repo: string;
2579
3074
  query: DtoQueryKnowledgeBaseReq;
@@ -2601,70 +3096,44 @@ type RepoLabels_PatchLabel = (params: {
2601
3096
  patch_label_form: ApiPatchLabelForm;
2602
3097
  }) => Promise<ApiLabel>;
2603
3098
  type Git_GetPresignedLFSDownloadLink = (params: {
2604
- repo: string;
3099
+ slug: string;
2605
3100
  oid: string;
2606
3101
  name: string;
2607
3102
  }) => Promise<any>;
2608
- type Collaborators_ListAllMembers = (params: {
2609
- repo: string;
2610
- page?: number;
2611
- page_size?: number;
2612
- role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
2613
- search?: string;
2614
- names?: string;
2615
- order_by?: "created_at" | "stars" | "follower";
2616
- desc?: boolean;
2617
- }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
2618
- type Collaborators_ListMembersOfRepo = (params: {
3103
+ type Members_ListMembersOfRepo = (params: {
2619
3104
  repo: string;
2620
3105
  page?: number;
2621
3106
  page_size?: number;
2622
3107
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
2623
3108
  search?: string;
2624
3109
  }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
2625
- type Contributors_GetMemberAccessLevelOfRepo = (params: {
3110
+ type Members_GetMemberAccessLevelOfRepo = (params: {
2626
3111
  repo: string;
2627
3112
  include_inherit?: boolean;
2628
3113
  }) => Promise<DtoMemberAccessLevelInSlugUnion>;
2629
- type Contributors_ListMemberAccessLevelOfRepo = (params: {
3114
+ type Members_ListMemberAccessLevelOfRepo = (params: {
2630
3115
  repo: string;
2631
3116
  username: string;
2632
3117
  }) => Promise<DtoMemberAccessLevel[]>;
2633
- type Collaborators_DeleteMembersOfRepo = (params: {
3118
+ type Members_UpdateMembersOfRepo = (params: {
2634
3119
  repo: string;
2635
3120
  username: string;
3121
+ request: DtoUpdateMembersRequest;
2636
3122
  }) => Promise<any>;
2637
- type Collaborators_AddMembersOfRepo = (params: {
3123
+ type Members_AddMembersOfRepo = (params: {
2638
3124
  repo: string;
2639
3125
  username: string;
2640
3126
  request: DtoUpdateMembersRequest;
2641
3127
  }) => Promise<any>;
2642
- type Collaborators_UpdateMembersOfRepo = (params: {
3128
+ type Members_DeleteMembersOfRepo = (params: {
2643
3129
  repo: string;
2644
3130
  username: string;
2645
- request: DtoUpdateMembersRequest;
2646
3131
  }) => Promise<any>;
2647
- type Collaborators_ListOutsideCollaborators = (params: {
2648
- repo: string;
2649
- page?: number;
2650
- page_size?: number;
2651
- role?: "Guest" | "Reporter" | "Developer" | "Master";
2652
- search?: string;
2653
- }) => Promise<DtoOutsideCollaboratorInRepo[]>;
2654
- type Collaborators_DeleteOutsideCollaborators = (params: {
2655
- repo: string;
2656
- username: string;
2657
- }) => Promise<any>;
2658
- type Collaborators_UpdateOutsideCollaborators = (params: {
2659
- repo: string;
2660
- username: string;
2661
- role: "Guest" | "Reporter" | "Developer";
2662
- }) => Promise<any>;
2663
- type Pulls_ListPullsByNumbers = (params: {
2664
- repo: string;
2665
- n: any[];
2666
- }) => Promise<ApiPullRequestInfo[]>;
2667
- type Pulls_ListPulls = (params: {
3132
+ type Pulls_ListPullsByNumbers = (params: {
3133
+ repo: string;
3134
+ n: number[];
3135
+ }) => Promise<ApiPullRequestInfo[]>;
3136
+ type Pulls_ListPulls = (params: {
2668
3137
  repo: string;
2669
3138
  page?: number;
2670
3139
  page_size?: number;
@@ -2672,6 +3141,8 @@ type Pulls_ListPulls = (params: {
2672
3141
  authors?: string;
2673
3142
  reviewers?: string;
2674
3143
  assignees?: string;
3144
+ labels?: string;
3145
+ labels_operator?: string;
2675
3146
  base_ref?: string;
2676
3147
  }) => Promise<ApiPullRequest[]>;
2677
3148
  type Pulls_PostPull = (params: {
@@ -2687,11 +3158,6 @@ type Pulls_PatchPull = (params: {
2687
3158
  number: string;
2688
3159
  update_pull_request_form: ApiPatchPullRequest;
2689
3160
  }) => Promise<ApiPull>;
2690
- type Pulls_DeletePullAssignees = (params: {
2691
- repo: string;
2692
- number: string;
2693
- delete_pull_assignees_form: ApiDeletePullAssigneesForm;
2694
- }) => Promise<ApiPull>;
2695
3161
  type Pulls_ListPullAssignees = (params: {
2696
3162
  repo: string;
2697
3163
  number: string;
@@ -2701,16 +3167,16 @@ type Pulls_PostPullAssignees = (params: {
2701
3167
  number: string;
2702
3168
  post_pull_assignees_form: ApiPostPullAssigneesForm;
2703
3169
  }) => Promise<any>;
3170
+ type Pulls_DeletePullAssignees = (params: {
3171
+ repo: string;
3172
+ number: string;
3173
+ delete_pull_assignees_form: ApiDeletePullAssigneesForm;
3174
+ }) => Promise<ApiPull>;
2704
3175
  type Pulls_CanUserBeAssignedToPull = (params: {
2705
3176
  repo: string;
2706
3177
  number: string;
2707
3178
  assignee: string;
2708
3179
  }) => Promise<any>;
2709
- type Pulls_CherryPickPullRequest = (params: {
2710
- repo: string;
2711
- number: number;
2712
- cherry_pick_pull_request_form: WebapiCherryPickPullRequestForm;
2713
- }) => Promise<any>;
2714
3180
  type Pulls_ListPullComments = (params: {
2715
3181
  repo: string;
2716
3182
  number: string;
@@ -2722,26 +3188,51 @@ type Pulls_PostPullComment = (params: {
2722
3188
  number: string;
2723
3189
  post_pull_comment_form: ApiPullCommentCreationForm;
2724
3190
  }) => Promise<any>;
2725
- type Pulls_DeletePullLabels = (params: {
3191
+ type Pulls_GetPullComment = (params: {
2726
3192
  repo: string;
2727
3193
  number: string;
2728
- }) => Promise<any>;
3194
+ comment_id: number;
3195
+ }) => Promise<ApiPullRequestComment>;
3196
+ type Pulls_PatchPullComment = (params: {
3197
+ repo: string;
3198
+ number: string;
3199
+ comment_id: number;
3200
+ patch_pull_comment_form: ApiPatchPullCommentForm;
3201
+ }) => Promise<ApiPullRequestComment>;
3202
+ type Pulls_ListPullCommitStatuses = (params: {
3203
+ repo: string;
3204
+ number: number;
3205
+ }) => Promise<ApiCommitStatuses>;
3206
+ type Pulls_ListPullCommits = (params: {
3207
+ repo: string;
3208
+ number: string;
3209
+ page?: number;
3210
+ page_size?: number;
3211
+ }) => Promise<ApiCommit[]>;
3212
+ type Pulls_ListPullFiles = (params: {
3213
+ repo: string;
3214
+ number: string;
3215
+ }) => Promise<ApiPullFile[]>;
2729
3216
  type Pulls_ListPullLabels = (params: {
2730
3217
  repo: string;
2731
3218
  number: string;
2732
3219
  page?: number;
2733
3220
  page_size?: number;
2734
3221
  }) => Promise<ApiLabel[]>;
3222
+ type Pulls_PutPullLabels = (params: {
3223
+ repo: string;
3224
+ number: string;
3225
+ put_pull_labels_form: ApiPutPullLabelsForm;
3226
+ }) => Promise<ApiLabel>;
2735
3227
  type Pulls_PostPullLabels = (params: {
2736
3228
  repo: string;
2737
3229
  number: string;
2738
3230
  post_pull_labels_form: ApiPostPullLabelsForm;
2739
3231
  }) => Promise<ApiLabel>;
2740
- type Pulls_PutPullLabels = (params: {
3232
+ type Pulls_DeletePullLabels = (params: {
2741
3233
  repo: string;
2742
3234
  number: string;
2743
- put_pull_labels_form: ApiPutPullLabelsForm;
2744
- }) => Promise<ApiLabel>;
3235
+ }) => Promise<any>;
2745
3236
  type Pulls_DeletePullLabel = (params: {
2746
3237
  repo: string;
2747
3238
  number: string;
@@ -2752,11 +3243,6 @@ type Pulls_MergePull = (params: {
2752
3243
  number: string;
2753
3244
  merge_pull_request_form: ApiMergePullRequest;
2754
3245
  }) => Promise<ApiMergePullResponse>;
2755
- type Pulls_RevertPullRequest = (params: {
2756
- repo: string;
2757
- number: number;
2758
- revert_pull_request_form: WebapiRevertPullRequestForm;
2759
- }) => Promise<any>;
2760
3246
  type Pulls_ListPullReviews = (params: {
2761
3247
  repo: string;
2762
3248
  number: string;
@@ -2784,7 +3270,7 @@ type Releases_PostRelease = (params: {
2784
3270
  repo: string;
2785
3271
  create_release_form: OpenapiPostReleaseForm;
2786
3272
  }) => Promise<any>;
2787
- type Assets_GetReleasesAsset = (params: {
3273
+ type Releases_GetReleasesAsset = (params: {
2788
3274
  repo: string;
2789
3275
  tag: string;
2790
3276
  filename: string;
@@ -2793,22 +3279,18 @@ type Assets_GetReleasesAsset = (params: {
2793
3279
  type Releases_GetLatestRelease = (params: {
2794
3280
  repo: string;
2795
3281
  }) => Promise<ApiRelease>;
2796
- type Assets_GetLatestReleasesAsset = (params: {
2797
- repo: string;
2798
- fileName: string;
2799
- }) => Promise<any>;
2800
3282
  type Releases_GetReleaseByTag = (params: {
2801
3283
  repo: string;
2802
3284
  tag: string;
2803
3285
  }) => Promise<ApiRelease>;
2804
- type Releases_DeleteRelease = (params: {
2805
- repo: string;
2806
- release_id: string;
2807
- }) => Promise<any>;
2808
3286
  type Releases_GetReleaseByID = (params: {
2809
3287
  repo: string;
2810
3288
  release_id: string;
2811
3289
  }) => Promise<ApiRelease>;
3290
+ type Releases_DeleteRelease = (params: {
3291
+ repo: string;
3292
+ release_id: string;
3293
+ }) => Promise<any>;
2812
3294
  type Releases_PatchRelease = (params: {
2813
3295
  repo: string;
2814
3296
  release_id: string;
@@ -2825,19 +3307,21 @@ type Releases_PostReleaseAssetUploadURL = (params: {
2825
3307
  release_id: string;
2826
3308
  create_release_asset_upload_url_form: OpenapiPostReleaseAssetUploadUrlForm;
2827
3309
  }) => Promise<any>;
2828
- type Releases_DeleteReleaseAsset = (params: {
2829
- repo: string;
2830
- release_id: string;
2831
- asset_id: string;
2832
- }) => Promise<any>;
2833
3310
  type Releases_GetReleaseAsset = (params: {
2834
3311
  repo: string;
2835
3312
  release_id: string;
2836
3313
  asset_id: string;
2837
3314
  }) => Promise<ApiReleaseAsset>;
2838
- type Repositories_ArchiveRepo = (params: {
3315
+ type Releases_DeleteReleaseAsset = (params: {
2839
3316
  repo: string;
3317
+ release_id: string;
3318
+ asset_id: string;
2840
3319
  }) => Promise<any>;
3320
+ type Security_GetRepoSecurityOverview = (params: {
3321
+ repo: string;
3322
+ types?: string;
3323
+ tab?: string;
3324
+ }) => Promise<DtoRepoSecurityOverview>;
2841
3325
  type GitSettings_ListBranchProtections = (params: {
2842
3326
  repo: string;
2843
3327
  }) => Promise<ApiBranchProtection[]>;
@@ -2845,14 +3329,14 @@ type GitSettings_PostBranchProtection = (params: {
2845
3329
  repo: string;
2846
3330
  branch_protection_form: ApiBranchProtection;
2847
3331
  }) => Promise<any>;
2848
- type GitSettings_DeleteBranchProtection = (params: {
2849
- repo: string;
2850
- id: string;
2851
- }) => Promise<any>;
2852
3332
  type GitSettings_GetBranchProtection = (params: {
2853
3333
  repo: string;
2854
3334
  id: string;
2855
3335
  }) => Promise<ApiBranchProtection>;
3336
+ type GitSettings_DeleteBranchProtection = (params: {
3337
+ repo: string;
3338
+ id: string;
3339
+ }) => Promise<any>;
2856
3340
  type GitSettings_PatchBranchProtection = (params: {
2857
3341
  repo: string;
2858
3342
  id: string;
@@ -2863,7 +3347,7 @@ type GitSettings_GetPipelineSettings = (params: {
2863
3347
  }) => Promise<ApiPipelineSettings>;
2864
3348
  type GitSettings_PutPipelineSettings = (params: {
2865
3349
  repo: string;
2866
- pipeline_form: WebPipelineSettings;
3350
+ pipeline_form: ApiPipelineSettings;
2867
3351
  }) => Promise<any>;
2868
3352
  type GitSettings_GetPullRequestSettings = (params: {
2869
3353
  repo: string;
@@ -2879,16 +3363,11 @@ type GitSettings_PutPushLimitSettings = (params: {
2879
3363
  repo: string;
2880
3364
  push_limit_form: ApiPushLimitSettings;
2881
3365
  }) => Promise<any>;
2882
- type Repositories_UnArchiveRepo = (params: {
3366
+ type Repositories_SetRepoVisibility = (params: {
2883
3367
  repo: string;
3368
+ visibility: "Private" | "Public" | "Secret";
2884
3369
  }) => Promise<any>;
2885
- type Starring_ListStarUsers = (params: {
2886
- repo: string;
2887
- filter_type: "all" | "followed";
2888
- page: number;
2889
- page_size: number;
2890
- }) => Promise<DtoRepoStarUsers>;
2891
- type Collaborators_TopContributors = (params: {
3370
+ type Activities_TopContributors = (params: {
2892
3371
  repo: string;
2893
3372
  top?: number;
2894
3373
  }) => Promise<DtoUsersResult[]>;
@@ -2896,20 +3375,11 @@ type Repositories_TransferRepo = (params: {
2896
3375
  repo: string;
2897
3376
  request: DtoTransferSlugReq;
2898
3377
  }) => Promise<any>;
2899
- type Assets_UploadFiles = (params: {
3378
+ type Pulls_UploadFiles = (params: {
2900
3379
  repo: string;
2901
3380
  request: DtoUploadRequestParams;
2902
3381
  }) => Promise<DtoUploadAssetsResponse>;
2903
- type Assets_UploadImgs = (params: {
2904
- repo: string;
2905
- request: DtoUploadRequestParams;
2906
- }) => Promise<DtoUploadAssetsResponse>;
2907
- type Assets_UploadReleases = (params: {
2908
- repo: string;
2909
- tagName: string;
2910
- request: DtoUploadRequestParams;
2911
- }) => Promise<DtoUploadAssetsResponse>;
2912
- type wiki_UploadWikiFile = (params: {
3382
+ type Pulls_UploadImgs = (params: {
2913
3383
  repo: string;
2914
3384
  request: DtoUploadRequestParams;
2915
3385
  }) => Promise<DtoUploadAssetsResponse>;
@@ -2921,69 +3391,164 @@ type Workspace_StartWorkspace = (params: {
2921
3391
  repo: string;
2922
3392
  request: DtoStartWorkspaceReq;
2923
3393
  }) => Promise<DtoStartWorkspaceResult>;
2924
- type Artifactory_ListPackages = (params: {
3394
+ type RepoContributor_GetRepoContributorTrend = (params: {
3395
+ slug: string;
3396
+ limit?: number;
3397
+ exclude_external_users?: boolean;
3398
+ }) => Promise<WebRepoContribTrend>;
3399
+ type Members_ListAllMembers = (params: {
2925
3400
  slug: string;
2926
- type: "all" | "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
2927
3401
  page?: number;
2928
3402
  page_size?: number;
2929
- ordering?: "pull_count" | "last_push_at" | "name_ascend" | "name_descend";
2930
- name?: string;
2931
- }) => Promise<DtoPackage[]>;
2932
- type Artifactory_HeadPackages = (params: {
3403
+ role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
3404
+ search?: string;
3405
+ names?: string;
3406
+ order_by?: "created_at" | "stars" | "follower";
3407
+ desc?: boolean;
3408
+ }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
3409
+ type Missions_GetGroupSubMissions = (params: {
3410
+ slug: string;
3411
+ page?: number;
3412
+ page_size?: number;
3413
+ filter_type?: "private" | "public";
3414
+ order_by?: "created_at" | "name";
3415
+ desc?: boolean;
3416
+ descendant?: "all" | "sub" | "grand";
3417
+ search?: string;
3418
+ }) => Promise<DtoMissions4User[]>;
3419
+ type Missions_CreateMission = (params: {
3420
+ slug: string;
3421
+ request: DtoCreateMissionReq;
3422
+ }) => Promise<any>;
3423
+ type Members_ListOutsideCollaborators = (params: {
3424
+ slug: string;
3425
+ page?: number;
3426
+ page_size?: number;
3427
+ role?: "Guest" | "Reporter" | "Developer" | "Master";
3428
+ search?: string;
3429
+ }) => Promise<DtoOutsideCollaboratorInRepo[]>;
3430
+ type Members_UpdateOutsideCollaborators = (params: {
3431
+ slug: string;
3432
+ username: string;
3433
+ role: "Guest" | "Reporter" | "Developer";
3434
+ }) => Promise<any>;
3435
+ type Members_DeleteOutsideCollaborators = (params: {
2933
3436
  slug: string;
2934
- type: "all" | "docker" | "helm" | "docker-model";
3437
+ username: string;
3438
+ }) => Promise<any>;
3439
+ type Registries_ListPackages = (params: {
3440
+ slug: string;
3441
+ type: "all" | "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
2935
3442
  page?: number;
2936
3443
  page_size?: number;
2937
3444
  ordering?: "pull_count" | "last_push_at" | "name_ascend" | "name_descend";
2938
3445
  name?: string;
2939
- }) => Promise<any>;
2940
- type Artifactory_GetPackage = (params: {
3446
+ }) => Promise<DtoPackage[]>;
3447
+ type Registries_GetPackage = (params: {
2941
3448
  slug: string;
2942
- type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
3449
+ type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
2943
3450
  name: string;
2944
3451
  }) => Promise<DtoPackageDetail>;
2945
- type Artifactory_DeletePackageTag = (params: {
3452
+ type Registries_DeletePackage = (params: {
2946
3453
  slug: string;
2947
- type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
3454
+ type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
2948
3455
  name: string;
2949
- tag: string;
2950
3456
  }) => Promise<any>;
2951
- type Artifactory_GetPackageTagDetail = (params: {
3457
+ type Registries_GetPackageTagDetail = (params: {
2952
3458
  slug: string;
2953
- type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
3459
+ type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
2954
3460
  name: string;
2955
3461
  tag: string;
2956
3462
  sha256?: string;
2957
3463
  arch?: string;
2958
3464
  }) => Promise<DtoTagDetail>;
2959
- type Artifactory_ListPackageTags = (params: {
3465
+ type Registries_DeletePackageTag = (params: {
3466
+ slug: string;
3467
+ type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
3468
+ name: string;
3469
+ tag: string;
3470
+ }) => Promise<any>;
3471
+ type Registries_ListPackageTags = (params: {
2960
3472
  slug: string;
2961
- type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
2962
- pkgname: string;
3473
+ type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
3474
+ name: string;
2963
3475
  page?: number;
2964
3476
  page_size?: number;
2965
3477
  ordering?: "pull_count" | "last_push_at";
2966
3478
  name?: string;
2967
3479
  }) => Promise<DtoTag>;
2968
- type Artifactory_GetRegistryQuota = (params: {
3480
+ type Repositories_GetPinnedRepoByGroup = (params: {
3481
+ slug: string;
3482
+ }) => Promise<DtoRepos4UserBase[]>;
3483
+ type Repositories_SetPinnedRepoByGroup = (params: {
3484
+ slug: string;
3485
+ request: string[];
3486
+ }) => Promise<DtoRepos4UserBase[]>;
3487
+ type Registries_GetGroupSubRegistries = (params: {
3488
+ slug: string;
3489
+ page?: number;
3490
+ page_size?: number;
3491
+ registry_type?: "npm" | "maven" | "ohpm";
3492
+ filter_type?: "private" | "public";
3493
+ order_by?: "created_at" | "name";
3494
+ desc?: boolean;
3495
+ descendant?: "all" | "sub" | "grand";
3496
+ search?: string;
3497
+ }) => Promise<DtoRegistry4User[]>;
3498
+ type Repositories_GetGroupSubRepos = (params: {
3499
+ slug: string;
3500
+ page?: number;
3501
+ page_size?: number;
3502
+ filter_type?: "private" | "public" | "secret";
3503
+ flags?: "KnowledgeBase";
3504
+ status?: "active" | "archived";
3505
+ order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
3506
+ desc?: boolean;
3507
+ descendant?: "all" | "sub" | "grand";
3508
+ search?: string;
3509
+ }) => Promise<DtoRepos4User[]>;
3510
+ type Repositories_CreateRepo = (params: {
3511
+ slug: string;
3512
+ request: DtoCreateRepoReq;
3513
+ }) => Promise<any>;
3514
+ type Organizations_GetGroupSetting = (params: {
3515
+ slug: string;
3516
+ }) => Promise<DtoOrganizationSettingWithParent>;
3517
+ type Organizations_UpdateGroupSetting = (params: {
3518
+ slug: string;
3519
+ request: DtoGroupSettingReq;
3520
+ }) => Promise<any>;
3521
+ type Repositories_ArchiveRepo = (params: {
2969
3522
  slug: string;
2970
- type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
2971
- }) => Promise<DtoRegistryLevelQuotaRsp>;
2972
- type Artifactory_GetRegistryQuotas = (params: {
3523
+ }) => Promise<any>;
3524
+ type Repositories_UnArchiveRepo = (params: {
3525
+ slug: string;
3526
+ }) => Promise<any>;
3527
+ type Starring_ListStarUsers = (params: {
2973
3528
  slug: string;
2974
- type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
3529
+ filter_type: "all" | "followed";
2975
3530
  page?: number;
2976
3531
  page_size?: number;
2977
- ordering?: "used_ascend" | "used_descend";
2978
- }) => Promise<DtoQuotaRsp[]>;
2979
- type Artifactory_DownloadRegistryQuotas = (params: {
3532
+ }) => Promise<DtoRepoStarUsers>;
3533
+ type Organizations_ListSubgroups = (params: {
2980
3534
  slug: string;
2981
- type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
3535
+ search?: string;
2982
3536
  page?: number;
2983
3537
  page_size?: number;
2984
- ordering?: "used_ascend" | "used_descend";
2985
- }) => Promise<DtoQuotaRsp[]>;
3538
+ }) => Promise<DtoOrganizationUnion[]>;
2986
3539
  interface Client {
3540
+ events: {
3541
+ repo: {
3542
+ /***
3543
+ * 获取仓库动态预签名地址,并返回内容。Get events pre-signed URL and return content.
3544
+ *
3545
+ * undefined
3546
+ *
3547
+ * /events/{repo}/-/{date}
3548
+ */
3549
+ get: Event_GetEvents;
3550
+ };
3551
+ };
2987
3552
  groups: {
2988
3553
  /***
2989
3554
  * 创建新组织。Create new organization.
@@ -3026,6 +3591,17 @@ interface Client {
3026
3591
  */
3027
3592
  list: Users_AutoCompleteSource;
3028
3593
  };
3594
+ gpgKeys: {
3595
+ /***
3596
+ * 获取用户 GPG keys 列表。List GPG Keys.
3597
+ *
3598
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3599
+ * account-profile:r
3600
+ *
3601
+ * /user/gpg-keys
3602
+ */
3603
+ get: Users_ListGPGKeys;
3604
+ };
3029
3605
  groups: {
3030
3606
  /***
3031
3607
  * 获取当前用户拥有权限的顶层组织列表。Get top-level organizations list that the current user has access to.
@@ -3043,7 +3619,7 @@ interface Client {
3043
3619
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3044
3620
  * account-engage:r
3045
3621
  *
3046
- * /user/groups/{group}
3622
+ * /user/groups/{slug}
3047
3623
  */
3048
3624
  listByGroup: Organizations_ListGroups;
3049
3625
  };
@@ -3067,7 +3643,7 @@ interface Client {
3067
3643
  *
3068
3644
  * /user/stared-repos
3069
3645
  */
3070
- list: Repositories_GetUserAllStaredRepos;
3646
+ list: Starring_GetUserAllStaredRepos;
3071
3647
  };
3072
3648
  };
3073
3649
  users: {
@@ -3082,7 +3658,7 @@ interface Client {
3082
3658
  get: Users_GetUserInfoByName;
3083
3659
  activities: {
3084
3660
  /***
3085
- * 获取个人动态活跃详情汇总
3661
+ * 获取个人动态活跃详情汇总。Get user activities by date.
3086
3662
  *
3087
3663
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3088
3664
  * account-engage:r
@@ -3137,7 +3713,7 @@ interface Client {
3137
3713
  };
3138
3714
  repoActivities: {
3139
3715
  /***
3140
- * 个人仓库动态详情列表
3716
+ * 个人仓库动态详情列表。List of personal repository activity details.
3141
3717
  *
3142
3718
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3143
3719
  * account-engage:r
@@ -3192,89 +3768,100 @@ interface Client {
3192
3768
  */
3193
3769
  get: Workspace_ListWorkspaces;
3194
3770
  };
3771
+ stop: {
3772
+ /***
3773
+ * 停止/关闭我的云原生开发环境。Stop/close my workspace.
3774
+ *
3775
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3776
+ * account-engage:rw
3777
+ *
3778
+ * /workspace/stop
3779
+ */
3780
+ post: Workspace_WorkspaceStop;
3781
+ };
3195
3782
  };
3196
3783
  group: {
3197
3784
  /***
3198
- * 删除指定组织。Delete the specified organization.
3785
+ * 获取指定组织信息。Get information for the specified organization.
3199
3786
  *
3200
3787
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3201
- * group-delete:rw
3788
+ * group-resource:r
3202
3789
  *
3203
3790
  * /{group}
3204
3791
  */
3205
- delete: Organizations_DeleteOrganization;
3792
+ get: Organizations_GetGroup;
3206
3793
 
3207
3794
  /***
3208
- * 获取指定组织信息。Get information for the specified organization.
3795
+ * 更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱。Updates organization information including: description, display name, website URL and contact email.
3209
3796
  *
3210
3797
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3211
- * group-resource:r
3798
+ * group-manage:rw
3212
3799
  *
3213
3800
  * /{group}
3214
3801
  */
3215
- get: Organizations_GetGroup;
3802
+ put: Organizations_UpdateOrganization;
3216
3803
 
3217
3804
  /***
3218
- * 更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱。Updates organization information including: description, display name, website URL and contact email.
3805
+ * 删除指定组织。Delete the specified organization.
3219
3806
  *
3220
3807
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3221
- * group-manage:rw
3808
+ * group-delete:rw
3222
3809
  *
3223
3810
  * /{group}
3224
3811
  */
3225
- put: Organizations_UpdateOrganization;
3812
+ delete: Organizations_DeleteOrganization;
3226
3813
  inheritMembers: {
3227
3814
  /***
3228
- * 获取指定组织或仓库内的继承成员。List inherited members within specified organization or repository。
3815
+ * 获取指定组织的继承成员。List inherited members within specified organization
3229
3816
  *
3230
3817
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3231
3818
  * group-manage:r
3232
3819
  *
3233
3820
  * /{group}/-/inherit-members
3234
3821
  */
3235
- list: Collaborators_ListInheritMembersOfGroup;
3822
+ list: Members_ListInheritMembersOfGroup;
3236
3823
  };
3237
3824
  members: {
3238
3825
  /***
3239
- * 获取指定组织或仓库内的所有直接成员。List all direct members within specified organization or repository.
3826
+ * 获取指定组织内的所有直接成员。List all direct members within specified organization.
3240
3827
  *
3241
3828
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3242
3829
  * group-manage:r
3243
3830
  *
3244
3831
  * /{group}/-/members
3245
3832
  */
3246
- list: Collaborators_ListMembersOfGroup;
3833
+ list: Members_ListMembersOfGroup;
3247
3834
  accessLevel: {
3248
3835
  /***
3249
- * 获取指定组织或仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
3836
+ * 获取指定组织内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
3250
3837
  *
3251
3838
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3252
3839
  * group-manage:r
3253
3840
  *
3254
3841
  * /{group}/-/members/access-level
3255
3842
  */
3256
- get: Contributors_GetMemberAccessLevelOfGroup;
3843
+ get: Members_GetMemberAccessLevelOfGroup;
3257
3844
 
3258
3845
  /***
3259
- * 获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
3846
+ * 获取指定组织内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
3260
3847
  *
3261
3848
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3262
3849
  * group-manage:r
3263
3850
  *
3264
3851
  * /{group}/-/members/{username}/access-level
3265
3852
  */
3266
- list: Contributors_ListMemberAccessLevelOfGroup;
3853
+ list: Members_ListMemberAccessLevelOfGroup;
3267
3854
  };
3268
3855
 
3269
3856
  /***
3270
- * 删除指定组织或仓库的直接成员。Remove direct members from specified organization/repository.
3857
+ * 更新指定组织的直接成员权限信息。Update permission information for direct members in specified organization.
3271
3858
  *
3272
3859
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3273
3860
  * group-manage:rw
3274
3861
  *
3275
3862
  * /{group}/-/members/{username}
3276
3863
  */
3277
- delete: Collaborators_DeleteMembersOfGroup;
3864
+ put: Members_UpdateMembersOfGroup;
3278
3865
 
3279
3866
  /***
3280
3867
  * 添加成员。Add members.
@@ -3284,113 +3871,28 @@ interface Client {
3284
3871
  *
3285
3872
  * /{group}/-/members/{username}
3286
3873
  */
3287
- post: Collaborators_AddMembersOfGroup;
3874
+ post: Members_AddMembersOfGroup;
3288
3875
 
3289
3876
  /***
3290
- * 更新指定组织或仓库内的直接成员权限信息。Update permission information for direct members in specified organization/repository.
3877
+ * 删除指定组织的直接成员。Remove direct members from specified organization.
3291
3878
  *
3292
3879
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3293
3880
  * group-manage:rw
3294
3881
  *
3295
3882
  * /{group}/-/members/{username}
3296
3883
  */
3297
- put: Collaborators_UpdateMembersOfGroup;
3298
- };
3299
- missions: {
3300
- /***
3301
- * 创建任务集
3302
- *
3303
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3304
- * group-resource:rw
3305
- *
3306
- * /{group}/-/missions
3307
- */
3308
- post: Missions_CreateMission;
3884
+ delete: Members_DeleteMembersOfGroup;
3309
3885
  };
3310
- pinnedRepos: {
3311
- /***
3312
- * 获取指定组织的仓库墙列表。List the pinned repositories of a group.
3313
- *
3314
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3315
- * group-manage:r
3316
- *
3317
- * /{group}/-/pinned-repos
3318
- */
3319
- list: Repositories_GetPinnedRepoByGroup;
3320
-
3886
+ transfer: {
3321
3887
  /***
3322
- * 更新指定组织仓库墙。Update the pinned repositories of a group.
3888
+ * 转移组织。Transfer an organization.
3323
3889
  *
3324
3890
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3325
3891
  * group-manage:rw
3326
3892
  *
3327
- * /{group}/-/pinned-repos
3893
+ * /{group}/-/transfer
3328
3894
  */
3329
- put: Repositories_SetPinnedRepoByGroup;
3330
- };
3331
- repos: {
3332
- /***
3333
- * 查询组织下访问用户有权限查看到仓库。List the repositories that the user has access to.
3334
- *
3335
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3336
- * group-resource:r
3337
- *
3338
- * /{group}/-/repos
3339
- */
3340
- list: Repositories_GetGroupSubRepos;
3341
-
3342
- /***
3343
- * 创建仓库。Create repositories.
3344
- *
3345
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3346
- * group-resource:rw
3347
- *
3348
- * /{group}/-/repos
3349
- */
3350
- post: Repositories_CreateRepo;
3351
- };
3352
- settings: {
3353
- /***
3354
- * 获取指定组织的配置详情。Get the configuration details for the specified organization.
3355
- *
3356
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3357
- * group-manage:r
3358
- *
3359
- * /{group}/-/settings
3360
- */
3361
- get: Organizations_GetGroupSetting;
3362
-
3363
- /***
3364
- * 更新指定组织的配置。Updates the configuration for the specified organization.
3365
- *
3366
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3367
- * group-manage:rw
3368
- *
3369
- * /{group}/-/settings
3370
- */
3371
- put: Organizations_UpdateGroupSetting;
3372
- };
3373
- subGroups: {
3374
- /***
3375
- * 获取指定组织下的子组织列表。Get the list of sub-organizations under the specified organization.
3376
- *
3377
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3378
- * group-resource:r
3379
- *
3380
- * /{group}/-/sub-groups
3381
- */
3382
- list: Organizations_ListSubgroups;
3383
- };
3384
- transfer: {
3385
- /***
3386
- * 转移组织
3387
- *
3388
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3389
- * group-manage:rw
3390
- *
3391
- * /{group}/-/transfer
3392
- */
3393
- post: Organizations_TransferGroup;
3895
+ post: Organizations_TransferGroup;
3394
3896
  };
3395
3897
  upload: {
3396
3898
  logos: {
@@ -3402,7 +3904,7 @@ interface Client {
3402
3904
  *
3403
3905
  * /{group}/-/upload/logos
3404
3906
  */
3405
- post: Assets_UploadLogos;
3907
+ post: Organizations_UploadLogos;
3406
3908
  };
3407
3909
  };
3408
3910
  };
@@ -3425,7 +3927,7 @@ interface Client {
3425
3927
  *
3426
3928
  * /{mission}/-/members/{username}
3427
3929
  */
3428
- post: Collaborators_AddMembersOfMission;
3930
+ post: Members_AddMembersOfMission;
3429
3931
  };
3430
3932
  mission: {
3431
3933
  view: {
@@ -3461,37 +3963,50 @@ interface Client {
3461
3963
  list: Missions_GetMissionViewList;
3462
3964
 
3463
3965
  /***
3464
- * 排序任务集视图。Sort mission view list.
3966
+ * 添加、修改任务集视图。Update a mission view or add a new one.
3465
3967
  *
3466
3968
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3467
3969
  * mission-manage:rw
3468
3970
  *
3469
3971
  * /{mission}/-/mission/view-list
3470
3972
  */
3471
- post: Missions_PostMissionViewList;
3973
+ put: Missions_PutMissionViewList;
3472
3974
 
3473
3975
  /***
3474
- * 添加、修改任务集视图。Update a mission view or add a new one.
3976
+ * 排序任务集视图。Sort mission view list.
3475
3977
  *
3476
3978
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3477
3979
  * mission-manage:rw
3478
3980
  *
3479
3981
  * /{mission}/-/mission/view-list
3480
3982
  */
3481
- put: Missions_PutMissionViewList;
3983
+ post: Missions_PostMissionViewList;
3984
+ };
3985
+ };
3986
+ settings: {
3987
+ setVisibility: {
3988
+ /***
3989
+ * 改变任务集可见性。Update the visibility of a mission.
3990
+ *
3991
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3992
+ * mission-manage:rw
3993
+ *
3994
+ * /{mission}/-/settings/set_visibility
3995
+ */
3996
+ post: Missions_SetMissionVisibility;
3482
3997
  };
3483
3998
  };
3484
3999
  };
3485
4000
  registry: {
3486
4001
  /***
3487
- * 删除制品仓库。Delete the artifact repository.
4002
+ * 删除制品库。Delete the registry.
3488
4003
  *
3489
4004
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3490
4005
  * registry-delete:rw
3491
4006
  *
3492
4007
  * /{registry}
3493
4008
  */
3494
- delete: Artifactory_DeleteRegistry;
4009
+ delete: Registries_DeleteRegistry;
3495
4010
  members: {
3496
4011
  /***
3497
4012
  * 添加成员。Add members.
@@ -3501,29 +4016,42 @@ interface Client {
3501
4016
  *
3502
4017
  * /{registry}/-/members/{username}
3503
4018
  */
3504
- post: Collaborators_AddMembersOfRegistry;
4019
+ post: Members_AddMembersOfRegistry;
4020
+ };
4021
+ settings: {
4022
+ setVisibility: {
4023
+ /***
4024
+ * 改变制品仓库可见性。Update visibility of registry.
4025
+ *
4026
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4027
+ * registry-manage:rw
4028
+ *
4029
+ * /{registry}/-/settings/set_visibility
4030
+ */
4031
+ post: Registries_SetRegistryVisibility;
4032
+ };
3505
4033
  };
3506
4034
  };
3507
4035
  repo: {
3508
4036
  /***
3509
- * 删除指定仓库。Delete the specified repository.
4037
+ * 获取指定仓库信息。Get information for the specified repository.
3510
4038
  *
3511
4039
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3512
- * repo-delete:rw
4040
+ * repo-basic-info:r
3513
4041
  *
3514
4042
  * /{repo}
3515
4043
  */
3516
- delete: Repositories_DeleteRepo;
4044
+ get: Repositories_GetByID;
3517
4045
 
3518
4046
  /***
3519
- * 获取指定仓库信息。Get information for the specified repository.
4047
+ * 删除指定仓库。Delete the specified repository.
3520
4048
  *
3521
4049
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3522
- * repo-basic-info:r
4050
+ * repo-delete:rw
3523
4051
  *
3524
4052
  * /{repo}
3525
4053
  */
3526
- get: Repositories_GetByID;
4054
+ delete: Repositories_DeleteRepo;
3527
4055
 
3528
4056
  /***
3529
4057
  * 更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证。updates repository details including description, website URL,topics and license type.
@@ -3538,18 +4066,40 @@ interface Client {
3538
4066
  chat: {
3539
4067
  completions: {
3540
4068
  /***
3541
- * Ai 对话,参数根据模型不同会有区别。Ai chat completions, params may differ by model.
4069
+ * AI 对话。调用者需有代码写权限(CI 中使用 CNB_TOKEN 不检查写权限)。AI chat completions. Requires caller to have repo write permission (except when using CNB_TOKEN in CI).
3542
4070
  *
3543
4071
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3544
4072
  * repo-code:r
3545
4073
  *
3546
4074
  * /{repo}/-/ai/chat/completions
3547
4075
  */
3548
- post: Ai_AiChatCompletions;
4076
+ post: AI_AiChatCompletions;
3549
4077
  };
3550
4078
  };
3551
4079
  };
3552
4080
  badge: {
4081
+ git: {
4082
+ /***
4083
+ * 获取徽章 svg 或 JSON 数据。Get badge svg or JSON data.
4084
+ *
4085
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4086
+ * repo-commit-status:r
4087
+ *
4088
+ * /{repo}/-/badge/git/{sha}/{badge}
4089
+ */
4090
+ get: Badge_GetBadge;
4091
+ };
4092
+ list: {
4093
+ /***
4094
+ * 获取徽章列表数据。List badge data
4095
+ *
4096
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4097
+ * repo-commit-status:r
4098
+ *
4099
+ * /{repo}/-/badge/list
4100
+ */
4101
+ get: Badge_ListBadge;
4102
+ };
3553
4103
  upload: {
3554
4104
  /***
3555
4105
  * 上传徽章数据。Upload badge data
@@ -3563,6 +4113,32 @@ interface Client {
3563
4113
  };
3564
4114
  };
3565
4115
  build: {
4116
+ ai: {
4117
+ autoPr: {
4118
+ /***
4119
+ * 根据传入的需求内容和需求标题借助 AI 自动编码并提 PR。Automatically code and create a PR with AI based on the input requirement content and title.
4120
+ *
4121
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4122
+ * repo-code:rw
4123
+ *
4124
+ * /{repo}/-/build/ai/auto-pr
4125
+ */
4126
+ post: AI_AiAutoPr;
4127
+ };
4128
+ };
4129
+ crontab: {
4130
+ sync: {
4131
+ /***
4132
+ * 同步仓库分支下的定时任务。 Synchronize the content under the repository branch.
4133
+ *
4134
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4135
+ * repo-cnb-trigger:rw
4136
+ *
4137
+ * /{repo}/-/build/crontab/sync/{branch}
4138
+ */
4139
+ post: Build_BuildCrontabSync;
4140
+ };
4141
+ };
3566
4142
  logs: {
3567
4143
  /***
3568
4144
  * 查询流水线构建列表。List pipeline builds.
@@ -3584,6 +4160,16 @@ interface Client {
3584
4160
  */
3585
4161
  get: Build_GetBuildStage;
3586
4162
  };
4163
+
4164
+ /***
4165
+ * 删除流水线日志内容。Delete pipeline logs content.
4166
+ *
4167
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4168
+ * repo-cnb-trigger:rw
4169
+ *
4170
+ * /{repo}/-/build/logs/{sn}
4171
+ */
4172
+ delete: Build_BuildLogsDelete;
3587
4173
  };
3588
4174
  runner: {
3589
4175
  download: {
@@ -3637,27 +4223,14 @@ interface Client {
3637
4223
  commitAssets: {
3638
4224
  download: {
3639
4225
  /***
3640
- * 发起一个获取 commits 附件的请求,返回内容或者 302 到某个地址。Get a request to fetch a commit assets and returns the content directly or a 302 redirect to the assets URL.
4226
+ * 发起一个获取 commits 附件的请求, 302到有一定效期的下载地址。Get a request to fetch a commit assets and returns 302 redirect to the assets URL with specific valid time.
3641
4227
  *
3642
4228
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3643
4229
  * repo-contents:r
3644
4230
  *
3645
4231
  * /{repo}/-/commit-assets/download/{commit_id}/{filename}
3646
4232
  */
3647
- get: Assets_GetCommitAssets;
3648
- };
3649
- };
3650
- contributor: {
3651
- trend: {
3652
- /***
3653
- * 查询仓库贡献者前 100 名的详细趋势数据。Query detailed trend data for top 100 contributors of the repository.
3654
- *
3655
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3656
- * repo-code:r
3657
- *
3658
- * /{repo}/-/contributor/trend
3659
- */
3660
- get: RepoContributor_GetRepoContributorTrend;
4233
+ get: Git_GetCommitAssets;
3661
4234
  };
3662
4235
  };
3663
4236
  forks: {
@@ -3670,16 +4243,6 @@ interface Client {
3670
4243
  * /{repo}/-/forks
3671
4244
  */
3672
4245
  get: Repositories_ListForksRepos;
3673
-
3674
- /***
3675
- * fork 仓库。Fork a repository.
3676
- *
3677
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3678
- * group-resource:rw
3679
- *
3680
- * /{repo}/-/forks
3681
- */
3682
- post: Repositories_CreateAFork;
3683
4246
  };
3684
4247
  git: {
3685
4248
  archiveCommitChangedFiles: {
@@ -3704,6 +4267,17 @@ interface Client {
3704
4267
  */
3705
4268
  get: Git_GetArchiveCompareChangedFiles;
3706
4269
  };
4270
+ archive: {
4271
+ /***
4272
+ * 下载仓库内容
4273
+ *
4274
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4275
+ * repo-code:r
4276
+ *
4277
+ * /{repo}/-/git/archive/{ref_with_path}
4278
+ */
4279
+ get: Git_GetArchive;
4280
+ };
3707
4281
  blobs: {
3708
4282
  /***
3709
4283
  * 创建一个 blob。Create a blob.
@@ -3737,24 +4311,24 @@ interface Client {
3737
4311
  post: Git_CreateBranch;
3738
4312
 
3739
4313
  /***
3740
- * 删除指定分支。Delete the specified branch.
4314
+ * 查询指定分支。Get a branch.
3741
4315
  *
3742
4316
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3743
- * repo-code:rw
4317
+ * repo-code:r
3744
4318
  *
3745
4319
  * /{repo}/-/git/branches/{branch}
3746
4320
  */
3747
- delete: Git_DeleteBranch;
4321
+ get: Git_GetBranch;
3748
4322
 
3749
4323
  /***
3750
- * 查询指定分支。Get a branch.
4324
+ * 删除指定分支。Delete the specified branch.
3751
4325
  *
3752
4326
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3753
- * repo-code:r
4327
+ * repo-code:rw
3754
4328
  *
3755
4329
  * /{repo}/-/git/branches/{branch}
3756
4330
  */
3757
- get: Git_GetBranch;
4331
+ delete: Git_DeleteBranch;
3758
4332
  };
3759
4333
  commitAnnotationsInBatch: {
3760
4334
  /***
@@ -3810,7 +4384,7 @@ interface Client {
3810
4384
  list: Git_GetCommitAssetsBySha;
3811
4385
  assetUploadConfirmation: {
3812
4386
  /***
3813
- * 确认 Commit asset 上传完成。Confirm commit asset upload.
4387
+ * 确认 commit 附件上传完成。Confirm commit asset upload.
3814
4388
  *
3815
4389
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3816
4390
  * repo-code:rw
@@ -3821,7 +4395,7 @@ interface Client {
3821
4395
  };
3822
4396
  assetUploadUrl: {
3823
4397
  /***
3824
- * 新增一个 Commit asset。Create a commit asset.
4398
+ * 新增一个 commit 附件。Create a commit asset.
3825
4399
  *
3826
4400
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3827
4401
  * repo-code:rw
@@ -3843,7 +4417,7 @@ interface Client {
3843
4417
  };
3844
4418
  commitStatuses: {
3845
4419
  /***
3846
- * 查询指定 commit 的 check statuses。List commit check statuses.
4420
+ * 查询指定 commit 的提交状态。List commit check statuses.
3847
4421
  *
3848
4422
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3849
4423
  * repo-code:r
@@ -3875,7 +4449,7 @@ interface Client {
3875
4449
  };
3876
4450
  compare: {
3877
4451
  /***
3878
- * 对比 base...head。Compare two commits.
4452
+ * 比较两个提交、分支或标签之间差异的接口。Compare two commits, branches, or tags.
3879
4453
  *
3880
4454
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3881
4455
  * repo-code:r
@@ -3886,25 +4460,24 @@ interface Client {
3886
4460
  };
3887
4461
  contents: {
3888
4462
  /***
3889
- * 查询仓库文件列表或文件。List repository files or file.
4463
+ * 查询仓库文件和目录内容。List repository files and directories.
3890
4464
  *
3891
4465
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3892
4466
  * repo-code:r
3893
4467
  *
3894
- * /{repo}/-/git/contents/{file_path}
4468
+ * /{repo}/-/git/contents
3895
4469
  */
3896
- get: Git_GetContent;
3897
- };
3898
- deferredCommits: {
4470
+ getWithoutPath: Git_GetContentWithoutPath;
4471
+
3899
4472
  /***
3900
- * 查询 deferred commit 列表
4473
+ * 查询仓库文件列表或文件。List repository files or file.
3901
4474
  *
3902
4475
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3903
4476
  * repo-code:r
3904
4477
  *
3905
- * /{repo}/-/git/deferred-commits
4478
+ * /{repo}/-/git/contents/{file_path}
3906
4479
  */
3907
- list: Git_ListDeferredCommits;
4480
+ get: Git_GetContent;
3908
4481
  };
3909
4482
  head: {
3910
4483
  /***
@@ -3917,6 +4490,17 @@ interface Client {
3917
4490
  */
3918
4491
  get: Git_GetHead;
3919
4492
  };
4493
+ raw: {
4494
+ /***
4495
+ * 获得仓库指定文件内容
4496
+ *
4497
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4498
+ * repo-code:r
4499
+ *
4500
+ * /{repo}/-/git/raw/{ref_with_path}
4501
+ */
4502
+ get: Git_GetRaw;
4503
+ };
3920
4504
  tagAnnotations: {
3921
4505
  /***
3922
4506
  * 删除指定 tag 的元数据。Delete the metadata of the specified tag.
@@ -3950,7 +4534,7 @@ interface Client {
3950
4534
  };
3951
4535
  tags: {
3952
4536
  /***
3953
- * 查询标签列表。List tags.
4537
+ * 查询 tag 列表。List tags.
3954
4538
  *
3955
4539
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3956
4540
  * repo-contents:r
@@ -3970,36 +4554,36 @@ interface Client {
3970
4554
  post: Git_CreateTag;
3971
4555
 
3972
4556
  /***
3973
- * 删除指定标签。Delete the specified tag.
4557
+ * 查询指定 tag。Get a tag.
3974
4558
  *
3975
4559
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3976
- * repo-contents:rw
4560
+ * repo-contents:r
3977
4561
  *
3978
4562
  * /{repo}/-/git/tags/{tag}
3979
4563
  */
3980
- delete: Git_DeleteTag;
4564
+ get: Git_GetTag;
3981
4565
 
3982
4566
  /***
3983
- * 查询指定 TagGet a tag.
4567
+ * 删除指定 tagDelete the specified tag.
3984
4568
  *
3985
4569
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3986
- * repo-contents:r
4570
+ * repo-contents:rw
3987
4571
  *
3988
4572
  * /{repo}/-/git/tags/{tag}
3989
4573
  */
3990
- get: Git_GetTag;
4574
+ delete: Git_DeleteTag;
3991
4575
  };
3992
4576
  };
3993
4577
  inheritMembers: {
3994
4578
  /***
3995
- * 获取指定组织或仓库内的继承成员。List inherited members within specified organization or repository。
4579
+ * 获取指定仓库内的继承成员。List inherited members within specified repository。
3996
4580
  *
3997
4581
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3998
4582
  * repo-manage:r
3999
4583
  *
4000
4584
  * /{repo}/-/inherit-members
4001
4585
  */
4002
- list: Collaborators_ListInheritMembersOfRepo;
4586
+ list: Members_ListInheritMembersOfRepo;
4003
4587
  };
4004
4588
  issues: {
4005
4589
  /***
@@ -4043,47 +4627,47 @@ interface Client {
4043
4627
  patch: Issues_UpdateIssue;
4044
4628
  assignees: {
4045
4629
  /***
4046
- * 删除 Issue 中的 Assignees。 Removes one or more assignees from an issue.
4630
+ * 查询指定 issue 的处理人。 List repository issue assignees.
4047
4631
  *
4048
4632
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4049
- * repo-notes:rw
4633
+ * repo-notes:r
4050
4634
  *
4051
4635
  * /{repo}/-/issues/{number}/assignees
4052
4636
  */
4053
- delete: Issues_DeleteIssueAssignees;
4637
+ list: Issues_ListIssueAssignees;
4054
4638
 
4055
4639
  /***
4056
- * 查询指定 Issue Assignees。 List repository issue assignees.
4640
+ * 添加处理人到指定的 issue。 Adds up to assignees to a issue, Users already assigned to an issue are not replaced.
4057
4641
  *
4058
4642
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4059
- * repo-notes:r
4643
+ * repo-notes:rw
4060
4644
  *
4061
4645
  * /{repo}/-/issues/{number}/assignees
4062
4646
  */
4063
- list: Issues_ListIssueAssignees;
4647
+ post: Issues_PostIssueAssignees;
4064
4648
 
4065
4649
  /***
4066
- * 更新 Issue 中的 Assignees。 Updates the assignees of an issue.
4650
+ * 删除 issue 中的处理人。 Removes one or more assignees from an issue.
4067
4651
  *
4068
4652
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4069
4653
  * repo-notes:rw
4070
4654
  *
4071
4655
  * /{repo}/-/issues/{number}/assignees
4072
4656
  */
4073
- patch: Issues_PatchIssueAssignees;
4657
+ delete: Issues_DeleteIssueAssignees;
4074
4658
 
4075
4659
  /***
4076
- * 添加 Assignees 到指定的 Issue。 Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.
4660
+ * 更新 issue 中的处理人。 Updates the assignees of an issue.
4077
4661
  *
4078
4662
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4079
4663
  * repo-notes:rw
4080
4664
  *
4081
4665
  * /{repo}/-/issues/{number}/assignees
4082
4666
  */
4083
- post: Issues_PostIssueAssignees;
4667
+ patch: Issues_PatchIssueAssignees;
4084
4668
 
4085
4669
  /***
4086
- * 检查用户是否可以被添加到 Issue Assignees 中。 Checks if a user can be assigned to an issue.
4670
+ * 检查用户是否可以被添加到 issue 的处理人中。 Checks if a user can be assigned to an issue.
4087
4671
  *
4088
4672
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4089
4673
  * repo-notes:r
@@ -4094,7 +4678,7 @@ interface Client {
4094
4678
  };
4095
4679
  comments: {
4096
4680
  /***
4097
- * 查询仓库的 Issue 评论列表。List repository issue comments.
4681
+ * 查询仓库的 issue 评论列表。List repository issue comments.
4098
4682
  *
4099
4683
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4100
4684
  * repo-notes:r
@@ -4104,7 +4688,7 @@ interface Client {
4104
4688
  list: Issues_ListIssueComments;
4105
4689
 
4106
4690
  /***
4107
- * 创建一个 Issue Comment。Create an issue comment.
4691
+ * 创建一个 issue 评论。Create an issue comment.
4108
4692
  *
4109
4693
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4110
4694
  * repo-notes:rw
@@ -4114,7 +4698,7 @@ interface Client {
4114
4698
  post: Issues_PostIssueComment;
4115
4699
 
4116
4700
  /***
4117
- * 获取一个 Issue Comment。Get an issue comment.
4701
+ * 获取指定 issue 评论。Get an issue comment.
4118
4702
  *
4119
4703
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4120
4704
  * repo-notes:r
@@ -4124,7 +4708,7 @@ interface Client {
4124
4708
  get: Issues_GetIssueComment;
4125
4709
 
4126
4710
  /***
4127
- * 修改一个 Issue Comment。Update an issue comment.
4711
+ * 修改一个 issue 评论。Update an issue comment.
4128
4712
  *
4129
4713
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4130
4714
  * repo-notes:rw
@@ -4135,27 +4719,27 @@ interface Client {
4135
4719
  };
4136
4720
  labels: {
4137
4721
  /***
4138
- * 清空 Issue 标签。Remove all labels from an issue.
4722
+ * 查询 issue 的标签列表。List labels for an issue.
4139
4723
  *
4140
4724
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4141
- * repo-notes:rw
4725
+ * repo-notes:r
4142
4726
  *
4143
4727
  * /{repo}/-/issues/{number}/labels
4144
4728
  */
4145
- delete: Issues_DeleteIssueLabels;
4729
+ list: Issues_ListIssueLabels;
4146
4730
 
4147
4731
  /***
4148
- * 查询 Issue 的标签(label) 列表。List labels for an issue.
4732
+ * 设置 issue 标签。 Set the new labels for an issue.
4149
4733
  *
4150
4734
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4151
- * repo-notes:r
4735
+ * repo-notes:rw
4152
4736
  *
4153
4737
  * /{repo}/-/issues/{number}/labels
4154
4738
  */
4155
- list: Issues_ListIssueLabels;
4739
+ put: Issues_PutIssueLabels;
4156
4740
 
4157
4741
  /***
4158
- * 新增 Issue 标签。Add labels to an issue.
4742
+ * 新增 issue 标签。Add labels to an issue.
4159
4743
  *
4160
4744
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4161
4745
  * repo-notes:rw
@@ -4165,17 +4749,17 @@ interface Client {
4165
4749
  post: Issues_PostIssueLabels;
4166
4750
 
4167
4751
  /***
4168
- * 设置 Issue 标签。 Set the new labels for an issue.
4752
+ * 清空 issue 标签。Remove all labels from an issue.
4169
4753
  *
4170
4754
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4171
4755
  * repo-notes:rw
4172
4756
  *
4173
4757
  * /{repo}/-/issues/{number}/labels
4174
4758
  */
4175
- put: Issues_PutIssueLabels;
4759
+ delete: Issues_DeleteIssueLabels;
4176
4760
 
4177
4761
  /***
4178
- * 删除 Issue 标签。Remove a label from an issue.
4762
+ * 删除 issue 标签。Remove a label from an issue.
4179
4763
  *
4180
4764
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4181
4765
  * repo-notes:rw
@@ -4184,28 +4768,40 @@ interface Client {
4184
4768
  */
4185
4769
  deleteByName: Issues_DeleteIssueLabel;
4186
4770
  };
4771
+ property: {
4772
+ /***
4773
+ * 批量设置Issue自定义属性值
4774
+ *
4775
+ * 为指定Issue批量设置多个自定义属性的值,key 不存在则创建,存在则更新
4776
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4777
+ * repo-manage:rw
4778
+ *
4779
+ * /{repo}/-/issues/{number}/property
4780
+ */
4781
+ post: Issues_CreateIssueProperties;
4782
+ };
4187
4783
  };
4188
4784
  knowledge: {
4189
4785
  base: {
4190
4786
  /***
4191
- * 删除知识库
4787
+ * 获取知识库信息
4192
4788
  *
4193
4789
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4194
- * repo-code:rw
4790
+ * repo-code:r
4195
4791
  *
4196
4792
  * /{repo}/-/knowledge/base
4197
4793
  */
4198
- delete: KnowledgeBase_DeleteKnowledgeBase;
4794
+ get: KnowledgeBase_GetKnowledgeBaseInfo;
4199
4795
 
4200
4796
  /***
4201
- * 获取知识库信息
4797
+ * 删除知识库
4202
4798
  *
4203
4799
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4204
- * repo-code:r
4800
+ * repo-code:rw
4205
4801
  *
4206
4802
  * /{repo}/-/knowledge/base
4207
4803
  */
4208
- get: KnowledgeBase_GetKnowledgeBaseInfo;
4804
+ delete: KnowledgeBase_DeleteKnowledgeBase;
4209
4805
  query: {
4210
4806
  /***
4211
4807
  * 查询知识库,使用文档:https://docs.cnb.cool/zh/ai/knowledge-base.html
@@ -4234,7 +4830,7 @@ interface Client {
4234
4830
  };
4235
4831
  labels: {
4236
4832
  /***
4237
- * 查询仓库的标签(label) 列表。List repository labels.
4833
+ * 查询仓库的标签列表。List repository labels.
4238
4834
  *
4239
4835
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4240
4836
  * repo-notes:r
@@ -4254,7 +4850,7 @@ interface Client {
4254
4850
  post: RepoLabels_PostLabel;
4255
4851
 
4256
4852
  /***
4257
- * 删除指定的仓库标签 label。Delete the specified repository label.
4853
+ * 删除指定的仓库标签。Delete the specified repository label.
4258
4854
  *
4259
4855
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4260
4856
  * repo-notes:rw
@@ -4284,58 +4880,47 @@ interface Client {
4284
4880
  */
4285
4881
  get: Git_GetPresignedLFSDownloadLink;
4286
4882
  };
4287
- listMembers: {
4288
- /***
4289
- * 获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.
4290
- *
4291
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4292
- * repo-manage:r
4293
- *
4294
- * /{repo}/-/list-members
4295
- */
4296
- list: Collaborators_ListAllMembers;
4297
- };
4298
4883
  members: {
4299
4884
  /***
4300
- * 获取指定组织或仓库内的所有直接成员。List all direct members within specified organization or repository.
4885
+ * 获取指定仓库内的所有直接成员。List all direct members within specified repository.
4301
4886
  *
4302
4887
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4303
4888
  * repo-manage:r
4304
4889
  *
4305
4890
  * /{repo}/-/members
4306
4891
  */
4307
- list: Collaborators_ListMembersOfRepo;
4892
+ list: Members_ListMembersOfRepo;
4308
4893
  accessLevel: {
4309
4894
  /***
4310
- * 获取指定组织或仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
4895
+ * 获取指定仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
4311
4896
  *
4312
4897
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4313
4898
  * repo-manage:r
4314
4899
  *
4315
4900
  * /{repo}/-/members/access-level
4316
4901
  */
4317
- get: Contributors_GetMemberAccessLevelOfRepo;
4902
+ get: Members_GetMemberAccessLevelOfRepo;
4318
4903
 
4319
4904
  /***
4320
- * 获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
4905
+ * 获取指定仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
4321
4906
  *
4322
4907
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4323
4908
  * repo-manage:r
4324
4909
  *
4325
4910
  * /{repo}/-/members/{username}/access-level
4326
4911
  */
4327
- list: Contributors_ListMemberAccessLevelOfRepo;
4912
+ list: Members_ListMemberAccessLevelOfRepo;
4328
4913
  };
4329
4914
 
4330
4915
  /***
4331
- * 删除指定组织或仓库的直接成员。Remove direct members from specified organization/repository.
4916
+ * 更新指定仓库内的直接成员权限信息。Update permission information for direct members in specified repository.
4332
4917
  *
4333
4918
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4334
4919
  * repo-manage:rw
4335
4920
  *
4336
4921
  * /{repo}/-/members/{username}
4337
4922
  */
4338
- delete: Collaborators_DeleteMembersOfRepo;
4923
+ put: Members_UpdateMembersOfRepo;
4339
4924
 
4340
4925
  /***
4341
4926
  * 添加成员。Add members.
@@ -4345,83 +4930,52 @@ interface Client {
4345
4930
  *
4346
4931
  * /{repo}/-/members/{username}
4347
4932
  */
4348
- post: Collaborators_AddMembersOfRepo;
4933
+ post: Members_AddMembersOfRepo;
4349
4934
 
4350
4935
  /***
4351
- * 更新指定组织或仓库内的直接成员权限信息。Update permission information for direct members in specified organization/repository.
4936
+ * 删除指定仓库的直接成员。Remove direct members from specified repository.
4352
4937
  *
4353
4938
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4354
4939
  * repo-manage:rw
4355
4940
  *
4356
4941
  * /{repo}/-/members/{username}
4357
4942
  */
4358
- put: Collaborators_UpdateMembersOfRepo;
4943
+ delete: Members_DeleteMembersOfRepo;
4359
4944
  };
4360
- outsideCollaborators: {
4945
+ pullInBatch: {
4361
4946
  /***
4362
- * 获取指定仓库内的外部贡献者。List external contributors in specified repository.
4947
+ * 根据 number 列表查询合并请求列表。List pull requests by numbers.
4363
4948
  *
4364
4949
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4365
- * repo-manage:r
4950
+ * repo-pr:r
4366
4951
  *
4367
- * /{repo}/-/outside-collaborators
4952
+ * /{repo}/-/pull-in-batch
4368
4953
  */
4369
- list: Collaborators_ListOutsideCollaborators;
4370
-
4954
+ list: Pulls_ListPullsByNumbers;
4955
+ };
4956
+ pulls: {
4371
4957
  /***
4372
- * 删除指定仓库的外部贡献者。Removes external contributors from specified repository.
4958
+ * 查询合并请求列表。List pull requests.
4373
4959
  *
4374
4960
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4375
- * repo-manage:rw
4961
+ * repo-pr:r
4376
4962
  *
4377
- * /{repo}/-/outside-collaborators/{username}
4963
+ * /{repo}/-/pulls
4378
4964
  */
4379
- delete: Collaborators_DeleteOutsideCollaborators;
4965
+ list: Pulls_ListPulls;
4380
4966
 
4381
4967
  /***
4382
- * 更新指定仓库的外部贡献者权限信息。 Update permission information for external contributors in specified repository.
4968
+ * 新增一个合并请求。Create a pull request.
4383
4969
  *
4384
4970
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4385
- * repo-manage:rw
4971
+ * repo-pr:rw
4386
4972
  *
4387
- * /{repo}/-/outside-collaborators/{username}
4973
+ * /{repo}/-/pulls
4388
4974
  */
4389
- put: Collaborators_UpdateOutsideCollaborators;
4390
- };
4391
- pullInBatch: {
4975
+ post: Pulls_PostPull;
4976
+
4392
4977
  /***
4393
- * 根据numbers查询 Pull 列表。List pull requests by numbers.
4394
- *
4395
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4396
- * repo-pr:r
4397
- *
4398
- * /{repo}/-/pull-in-batch
4399
- */
4400
- list: Pulls_ListPullsByNumbers;
4401
- };
4402
- pulls: {
4403
- /***
4404
- * 查询 Pull 列表。List pull requests.
4405
- *
4406
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4407
- * repo-pr:r
4408
- *
4409
- * /{repo}/-/pulls
4410
- */
4411
- list: Pulls_ListPulls;
4412
-
4413
- /***
4414
- * 新增一个 Pull。Create a pull request.
4415
- *
4416
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4417
- * repo-pr:rw
4418
- *
4419
- * /{repo}/-/pulls
4420
- */
4421
- post: Pulls_PostPull;
4422
-
4423
- /***
4424
- * 查询指定 Pull。Get a pull request.
4978
+ * 查询指定合并请求。Get a pull request.
4425
4979
  *
4426
4980
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4427
4981
  * repo-pr:r
@@ -4431,7 +4985,7 @@ interface Client {
4431
4985
  get: Pulls_GetPull;
4432
4986
 
4433
4987
  /***
4434
- * 更新一个 Pull Request。Update a pull request.
4988
+ * 更新一个合并请求。Update a pull request.
4435
4989
  *
4436
4990
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4437
4991
  * repo-pr:rw
@@ -4441,37 +4995,37 @@ interface Client {
4441
4995
  patch: Pulls_PatchPull;
4442
4996
  assignees: {
4443
4997
  /***
4444
- * 删除 PullRequest 中的 Assignees。 Removes one or more assignees from a pull request.
4998
+ * 查询指定合并请求的处理人。List repository pull request assignees.
4445
4999
  *
4446
5000
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4447
- * repo-notes:rw
5001
+ * repo-notes:r
4448
5002
  *
4449
5003
  * /{repo}/-/pulls/{number}/assignees
4450
5004
  */
4451
- delete: Pulls_DeletePullAssignees;
5005
+ list: Pulls_ListPullAssignees;
4452
5006
 
4453
5007
  /***
4454
- * 查询指定 PullRequest Assignees。List repository pull request assignees.
5008
+ * 添加处理人到指定的合并请求。 Adds up to assignees to a pull request. Users already assigned to an issue are not replaced.
4455
5009
  *
4456
5010
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4457
- * repo-notes:r
5011
+ * repo-notes:rw
4458
5012
  *
4459
5013
  * /{repo}/-/pulls/{number}/assignees
4460
5014
  */
4461
- list: Pulls_ListPullAssignees;
5015
+ post: Pulls_PostPullAssignees;
4462
5016
 
4463
5017
  /***
4464
- * 添加 Assignees 到指定的 PullRequest。 Adds up to 10 assignees to a pull request. Users already assigned to an issue are not replaced.
5018
+ * 删除合并请求中的处理人 Removes one or more assignees from a pull request.
4465
5019
  *
4466
5020
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4467
5021
  * repo-notes:rw
4468
5022
  *
4469
5023
  * /{repo}/-/pulls/{number}/assignees
4470
5024
  */
4471
- post: Pulls_PostPullAssignees;
5025
+ delete: Pulls_DeletePullAssignees;
4472
5026
 
4473
5027
  /***
4474
- * 检查用户是否可以被添加到 PullRequest 的 Assignees 中。 Checks if a user can be assigned to a pull request.
5028
+ * 检查用户是否可以被添加到合并请求的处理人中。 Checks if a user can be assigned to a pull request.
4475
5029
  *
4476
5030
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4477
5031
  * repo-notes:r
@@ -4480,20 +5034,9 @@ interface Client {
4480
5034
  */
4481
5035
  get: Pulls_CanUserBeAssignedToPull;
4482
5036
  };
4483
- cherryPick: {
4484
- /***
4485
- * 拣选一个已合并的 Pull Request 的提交到选定的分支
4486
- *
4487
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4488
- * repo-pr:rw
4489
- *
4490
- * /{repo}/-/pulls/{number}/cherry-pick
4491
- */
4492
- post: Pulls_CherryPickPullRequest;
4493
- };
4494
5037
  comments: {
4495
5038
  /***
4496
- * 查询 Pull Comments 列表。List pull comments requests.
5039
+ * 查询合并请求评论列表。List pull comments requests.
4497
5040
  *
4498
5041
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4499
5042
  * repo-notes:r
@@ -4503,7 +5046,7 @@ interface Client {
4503
5046
  list: Pulls_ListPullComments;
4504
5047
 
4505
5048
  /***
4506
- * 新增一个 Pull Comment。Create a pull comment.
5049
+ * 新增一个合并请求评论。Create a pull comment.
4507
5050
  *
4508
5051
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4509
5052
  * repo-notes:rw
@@ -4511,30 +5054,83 @@ interface Client {
4511
5054
  * /{repo}/-/pulls/{number}/comments
4512
5055
  */
4513
5056
  post: Pulls_PostPullComment;
5057
+
5058
+ /***
5059
+ * 获取一个合并请求评论。Get a pull comment.
5060
+ *
5061
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5062
+ * repo-notes:r
5063
+ *
5064
+ * /{repo}/-/pulls/{number}/comments/{comment_id}
5065
+ */
5066
+ get: Pulls_GetPullComment;
5067
+
5068
+ /***
5069
+ * 更新一个合并请求评论。Update a pull comment.
5070
+ *
5071
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5072
+ * repo-notes:rw
5073
+ *
5074
+ * /{repo}/-/pulls/{number}/comments/{comment_id}
5075
+ */
5076
+ patch: Pulls_PatchPullComment;
5077
+ };
5078
+ commitStatuses: {
5079
+ /***
5080
+ * 查询 Pull Request 的状态检查
5081
+ *
5082
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5083
+ * repo-pr:r
5084
+ *
5085
+ * /{repo}/-/pulls/{number}/commit-statuses
5086
+ */
5087
+ get: Pulls_ListPullCommitStatuses;
5088
+ };
5089
+ commits: {
5090
+ /***
5091
+ * 查询指定合并请求的提交列表。Lists the commits in a specified pull request.
5092
+ *
5093
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5094
+ * repo-notes:r
5095
+ *
5096
+ * /{repo}/-/pulls/{number}/commits
5097
+ */
5098
+ list: Pulls_ListPullCommits;
5099
+ };
5100
+ files: {
5101
+ /***
5102
+ * 查询指定合并请求的文件列表。Lists the files in a specified pull request.
5103
+ *
5104
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5105
+ * repo-notes:r
5106
+ *
5107
+ * /{repo}/-/pulls/{number}/files
5108
+ */
5109
+ list: Pulls_ListPullFiles;
4514
5110
  };
4515
5111
  labels: {
4516
5112
  /***
4517
- * 清空 Pull 标签。Remove all labels from a pull.
5113
+ * 查询指定合并请求的标签列表。List labels for a pull.
4518
5114
  *
4519
5115
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4520
- * repo-notes:rw
5116
+ * repo-notes:r
4521
5117
  *
4522
5118
  * /{repo}/-/pulls/{number}/labels
4523
5119
  */
4524
- delete: Pulls_DeletePullLabels;
5120
+ list: Pulls_ListPullLabels;
4525
5121
 
4526
5122
  /***
4527
- * 查询 Pull 的标签(label) 列表。List labels for a pull.
5123
+ * 设置合并请求标签。Set the new labels for a pull.
4528
5124
  *
4529
5125
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4530
- * repo-notes:r
5126
+ * repo-notes:rw
4531
5127
  *
4532
5128
  * /{repo}/-/pulls/{number}/labels
4533
5129
  */
4534
- list: Pulls_ListPullLabels;
5130
+ put: Pulls_PutPullLabels;
4535
5131
 
4536
5132
  /***
4537
- * 新增 Pull 标签。Add labels to a pull.
5133
+ * 新增合并请求标签。Add labels to a pull.
4538
5134
  *
4539
5135
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4540
5136
  * repo-notes:rw
@@ -4544,17 +5140,17 @@ interface Client {
4544
5140
  post: Pulls_PostPullLabels;
4545
5141
 
4546
5142
  /***
4547
- * 设置 Pull 标签。Set the new labels for a pull.
5143
+ * 清空合并请求标签。Remove all labels from a pull.
4548
5144
  *
4549
5145
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4550
5146
  * repo-notes:rw
4551
5147
  *
4552
5148
  * /{repo}/-/pulls/{number}/labels
4553
5149
  */
4554
- put: Pulls_PutPullLabels;
5150
+ delete: Pulls_DeletePullLabels;
4555
5151
 
4556
5152
  /***
4557
- * 删除 Pull 标签。Remove a label from a pull.
5153
+ * 删除合并请求标签。Remove a label from a pull.
4558
5154
  *
4559
5155
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4560
5156
  * repo-notes:rw
@@ -4565,7 +5161,7 @@ interface Client {
4565
5161
  };
4566
5162
  merge: {
4567
5163
  /***
4568
- * 合并一个 Pull Request。Merge a pull request.
5164
+ * 合并一个合并请求。Merge a pull request.
4569
5165
  *
4570
5166
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4571
5167
  * repo-pr:rw
@@ -4574,20 +5170,9 @@ interface Client {
4574
5170
  */
4575
5171
  put: Pulls_MergePull;
4576
5172
  };
4577
- revert: {
4578
- /***
4579
- * 还原一个已合并的 Pull Request
4580
- *
4581
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4582
- * repo-pr:rw
4583
- *
4584
- * /{repo}/-/pulls/{number}/revert
4585
- */
4586
- post: Pulls_RevertPullRequest;
4587
- };
4588
5173
  reviews: {
4589
5174
  /***
4590
- * 查询特定 pull reviews 列表。List pull reviews.
5175
+ * 查询特定合并请求的评审列表。List pull reviews.
4591
5176
  *
4592
5177
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4593
5178
  * repo-notes:r
@@ -4597,7 +5182,7 @@ interface Client {
4597
5182
  list: Pulls_ListPullReviews;
4598
5183
 
4599
5184
  /***
4600
- * 新增一次 pull request 评审。Create a pull review.
5185
+ * 新增一次合并请求评审。Create a pull review.
4601
5186
  *
4602
5187
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4603
5188
  * repo-notes:rw
@@ -4607,7 +5192,7 @@ interface Client {
4607
5192
  post: Pulls_PostPullReview;
4608
5193
  comments: {
4609
5194
  /***
4610
- * 查询指定 Pull Review Comments 列表评论。List pull review comments.
5195
+ * 查询指定合并请求评审评论列表。List pull review comments.
4611
5196
  *
4612
5197
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4613
5198
  * repo-notes:r
@@ -4630,7 +5215,7 @@ interface Client {
4630
5215
  list: Releases_ListReleases;
4631
5216
 
4632
5217
  /***
4633
- * 新增一个 Release。Create a release.
5218
+ * 新增一个 release。Create a release.
4634
5219
  *
4635
5220
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4636
5221
  * repo-code:rw
@@ -4640,18 +5225,18 @@ interface Client {
4640
5225
  post: Releases_PostRelease;
4641
5226
  download: {
4642
5227
  /***
4643
- * 发起一个获取 release 附件的请求,返回内容或者 302 到某个地址。Initiate a request to get release attachments, returns content or 302 redirect.
5228
+ * 发起一个获取 release 附件的请求, 302到有一定效期的下载地址。Get a request to fetch a release assets and returns 302 redirect to the assets URL with specific valid time.
4644
5229
  *
4645
5230
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4646
5231
  * repo-contents:r
4647
5232
  *
4648
5233
  * /{repo}/-/releases/download/{tag}/{filename}
4649
5234
  */
4650
- get: Assets_GetReleasesAsset;
5235
+ get: Releases_GetReleasesAsset;
4651
5236
  };
4652
5237
  latest: {
4653
5238
  /***
4654
- * 查询 latest release。Query the latest release.
5239
+ * 查询最新的 release。Query the latest release.
4655
5240
  *
4656
5241
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4657
5242
  * repo-code:r
@@ -4659,17 +5244,6 @@ interface Client {
4659
5244
  * /{repo}/-/releases/latest
4660
5245
  */
4661
5246
  get: Releases_GetLatestRelease;
4662
- download: {
4663
- /***
4664
- * 发起一个获取 latest release 附件的请求,返回内容或者 302 到某个地址。Initiate a request to get latest release attachments, returns content or 302 redirect.
4665
- *
4666
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4667
- * repo-contents:r
4668
- *
4669
- * /{repo}/-/releases/latest/download/{fileName}
4670
- */
4671
- get: Assets_GetLatestReleasesAsset;
4672
- };
4673
5247
  };
4674
5248
  tags: {
4675
5249
  /***
@@ -4684,24 +5258,24 @@ interface Client {
4684
5258
  };
4685
5259
 
4686
5260
  /***
4687
- * 删除指定的 release。Delete a release.
5261
+ * 根据 id 查询指定 release, 包含附件信息。Get a release by id, include assets information.
4688
5262
  *
4689
5263
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4690
- * repo-code:rw
5264
+ * repo-code:r
4691
5265
  *
4692
5266
  * /{repo}/-/releases/{release_id}
4693
5267
  */
4694
- delete: Releases_DeleteRelease;
5268
+ get: Releases_GetReleaseByID;
4695
5269
 
4696
5270
  /***
4697
- * 根据 id 查询指定 release, 包含附件信息。Get a release by id, include assets information.
5271
+ * 删除指定的 release。Delete a release.
4698
5272
  *
4699
5273
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4700
- * repo-code:r
5274
+ * repo-code:rw
4701
5275
  *
4702
5276
  * /{repo}/-/releases/{release_id}
4703
5277
  */
4704
- get: Releases_GetReleaseByID;
5278
+ delete: Releases_DeleteRelease;
4705
5279
 
4706
5280
  /***
4707
5281
  * 更新 release。Update a release.
@@ -4714,7 +5288,7 @@ interface Client {
4714
5288
  patch: Releases_PatchRelease;
4715
5289
  assetUploadConfirmation: {
4716
5290
  /***
4717
- * 确认 Release asset 上传完成。Confirm release asset upload.
5291
+ * 确认 release 附件上传完成。Confirm release asset upload.
4718
5292
  *
4719
5293
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4720
5294
  * repo-code:rw
@@ -4725,7 +5299,7 @@ interface Client {
4725
5299
  };
4726
5300
  assetUploadUrl: {
4727
5301
  /***
4728
- * 新增一个 Release asset。Create a release asset.
5302
+ * 新增一个 release 附件。Create a release asset.
4729
5303
  *
4730
5304
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4731
5305
  * repo-code:rw
@@ -4736,38 +5310,40 @@ interface Client {
4736
5310
  };
4737
5311
  assets: {
4738
5312
  /***
4739
- * 删除指定的 release asset。Delete the specified release asset.
5313
+ * 查询指定的 release 附件 the specified release asset.
4740
5314
  *
4741
5315
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4742
- * repo-code:rw
5316
+ * repo-code:r
4743
5317
  *
4744
5318
  * /{repo}/-/releases/{release_id}/assets/{asset_id}
4745
5319
  */
4746
- delete: Releases_DeleteReleaseAsset;
5320
+ get: Releases_GetReleaseAsset;
4747
5321
 
4748
5322
  /***
4749
- * 查询指定的 release asset。Get the specified release asset.
5323
+ * 删除指定的 release 附件 the specified release asset.
4750
5324
  *
4751
5325
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4752
- * repo-code:r
5326
+ * repo-code:rw
4753
5327
  *
4754
5328
  * /{repo}/-/releases/{release_id}/assets/{asset_id}
4755
5329
  */
4756
- get: Releases_GetReleaseAsset;
5330
+ delete: Releases_DeleteReleaseAsset;
4757
5331
  };
4758
5332
  };
4759
- settings: {
4760
- archive: {
5333
+ security: {
5334
+ overview: {
4761
5335
  /***
4762
- * 仓库归档
5336
+ * 查询仓库安全模块概览数据。Query the security overview data of a repository
4763
5337
  *
4764
5338
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4765
- * repo-manage:rw,repo-code:rw
5339
+ * repo-security:r
4766
5340
  *
4767
- * /{repo}/-/settings/archive
5341
+ * /{repo}/-/security/overview
4768
5342
  */
4769
- post: Repositories_ArchiveRepo;
5343
+ get: Security_GetRepoSecurityOverview;
4770
5344
  };
5345
+ };
5346
+ settings: {
4771
5347
  branchProtections: {
4772
5348
  /***
4773
5349
  * 查询仓库保护分支规则列表。List branch protection rules.
@@ -4790,24 +5366,24 @@ interface Client {
4790
5366
  post: GitSettings_PostBranchProtection;
4791
5367
 
4792
5368
  /***
4793
- * 删除仓库保护分支规则。 Delete branch protection rule.
5369
+ * 查询仓库保护分支规则。Get branch protection rule.
4794
5370
  *
4795
5371
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4796
- * repo-manage:rw
5372
+ * repo-manage:r
4797
5373
  *
4798
5374
  * /{repo}/-/settings/branch-protections/{id}
4799
5375
  */
4800
- delete: GitSettings_DeleteBranchProtection;
5376
+ get: GitSettings_GetBranchProtection;
4801
5377
 
4802
5378
  /***
4803
- * 查询仓库保护分支规则。Get branch protection rule.
5379
+ * 删除仓库保护分支规则。 Delete branch protection rule.
4804
5380
  *
4805
5381
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4806
- * repo-manage:r
5382
+ * repo-manage:rw
4807
5383
  *
4808
5384
  * /{repo}/-/settings/branch-protections/{id}
4809
5385
  */
4810
- get: GitSettings_GetBranchProtection;
5386
+ delete: GitSettings_DeleteBranchProtection;
4811
5387
 
4812
5388
  /***
4813
5389
  * 更新仓库保护分支规则。Update branch protection rule.
@@ -4852,7 +5428,7 @@ interface Client {
4852
5428
  get: GitSettings_GetPullRequestSettings;
4853
5429
 
4854
5430
  /***
4855
- * 设置仓库推送设置。Set pull request settings.
5431
+ * 更新仓库合并请求设置。Set pull request settings.
4856
5432
  *
4857
5433
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4858
5434
  * repo-manage:rw
@@ -4882,43 +5458,32 @@ interface Client {
4882
5458
  */
4883
5459
  put: GitSettings_PutPushLimitSettings;
4884
5460
  };
4885
- unarchive: {
5461
+ setVisibility: {
4886
5462
  /***
4887
- * 解除仓库归档
5463
+ * 改变仓库可见性。Update visibility of repository.
4888
5464
  *
4889
5465
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4890
- * repo-manage:rw,repo-code:rw
5466
+ * repo-manage:rw
4891
5467
  *
4892
- * /{repo}/-/settings/unarchive
5468
+ * /{repo}/-/settings/set_visibility
4893
5469
  */
4894
- post: Repositories_UnArchiveRepo;
5470
+ post: Repositories_SetRepoVisibility;
4895
5471
  };
4896
5472
  };
4897
- stars: {
4898
- /***
4899
- * 获取指定仓库的star用户列表。Get the list of users who starred the specified repository.
4900
- *
4901
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4902
- * repo-basic-info:r
4903
- *
4904
- * /{repo}/-/stars
4905
- */
4906
- get: Starring_ListStarUsers;
4907
- };
4908
5473
  topActivityUsers: {
4909
5474
  /***
4910
- * 获取 top 贡献用户。List the top contributing users
5475
+ * 获取仓库 top 活跃用户。List the top active users
4911
5476
  *
4912
5477
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4913
5478
  * repo-base-info:r
4914
5479
  *
4915
5480
  * /{repo}/-/top-activity-users
4916
5481
  */
4917
- list: Collaborators_TopContributors;
5482
+ list: Activities_TopContributors;
4918
5483
  };
4919
5484
  transfer: {
4920
5485
  /***
4921
- * 转移仓库
5486
+ * 转移仓库。Transfer a repository.
4922
5487
  *
4923
5488
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4924
5489
  * repo-manage:rw,repo-code:rw
@@ -4937,7 +5502,7 @@ interface Client {
4937
5502
  *
4938
5503
  * /{repo}/-/upload/files
4939
5504
  */
4940
- post: Assets_UploadFiles;
5505
+ post: Pulls_UploadFiles;
4941
5506
  };
4942
5507
  imgs: {
4943
5508
  /***
@@ -4948,29 +5513,7 @@ interface Client {
4948
5513
  *
4949
5514
  * /{repo}/-/upload/imgs
4950
5515
  */
4951
- post: Assets_UploadImgs;
4952
- };
4953
- releases: {
4954
- /***
4955
- * 发起一个上传 release 附件的请求,返回上传文件的url,附件上限是64GiB。请使用 put 发起流式上传。
4956
- *
4957
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4958
- * repo-contents:rw
4959
- *
4960
- * /{repo}/-/upload/releases/{tagName}
4961
- */
4962
- post: Assets_UploadReleases;
4963
- };
4964
- wiki: {
4965
- /***
4966
- * 发起一个上传 wiki 文件的请求,返回上传文件的url,请使用 put 发起流式上传。Initiate a request to upload wiki files,returns upload URL.Use PUT to initiate a stream upload.
4967
- *
4968
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4969
- * repo-contents:rw
4970
- *
4971
- * /{repo}/-/upload/wiki
4972
- */
4973
- post: wiki_UploadWikiFile;
5516
+ post: Pulls_UploadImgs;
4974
5517
  };
4975
5518
  };
4976
5519
  workspace: {
@@ -4999,244 +5542,407 @@ interface Client {
4999
5542
  };
5000
5543
  };
5001
5544
  slug: {
5545
+ contributor: {
5546
+ trend: {
5547
+ /***
5548
+ * 查询仓库贡献者前 100 名的详细趋势数据。Query detailed trend data for top 100 contributors of the repository.
5549
+ *
5550
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5551
+ * repo-code:r
5552
+ *
5553
+ * /{slug}/-/contributor/trend
5554
+ */
5555
+ get: RepoContributor_GetRepoContributorTrend;
5556
+ };
5557
+ };
5558
+ listMembers: {
5559
+ /***
5560
+ * 获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.
5561
+ *
5562
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5563
+ * repo-manage:r
5564
+ *
5565
+ * /{slug}/-/list-members
5566
+ */
5567
+ list: Members_ListAllMembers;
5568
+ };
5569
+ missions: {
5570
+ /***
5571
+ * 查询组织下面用户有权限查看到的任务集。Query all missions that the user has permission to see under the specific organization.
5572
+ *
5573
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5574
+ * group-resource:r
5575
+ *
5576
+ * /{slug}/-/missions
5577
+ */
5578
+ list: Missions_GetGroupSubMissions;
5579
+
5580
+ /***
5581
+ * 创建任务集。Create a mission.
5582
+ *
5583
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5584
+ * group-resource:rw
5585
+ *
5586
+ * /{slug}/-/missions
5587
+ */
5588
+ post: Missions_CreateMission;
5589
+ };
5590
+ outsideCollaborators: {
5591
+ /***
5592
+ * 获取指定仓库内的外部贡献者。List external contributors in specified repository.
5593
+ *
5594
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5595
+ * repo-manage:r
5596
+ *
5597
+ * /{slug}/-/outside-collaborators
5598
+ */
5599
+ list: Members_ListOutsideCollaborators;
5600
+
5601
+ /***
5602
+ * 更新指定仓库的外部贡献者权限信息。 Update permission information for external contributors in specified repository.
5603
+ *
5604
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5605
+ * repo-manage:rw
5606
+ *
5607
+ * /{slug}/-/outside-collaborators/{username}
5608
+ */
5609
+ put: Members_UpdateOutsideCollaborators;
5610
+
5611
+ /***
5612
+ * 删除指定仓库的外部贡献者。Removes external contributors from specified repository.
5613
+ *
5614
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5615
+ * repo-manage:rw
5616
+ *
5617
+ * /{slug}/-/outside-collaborators/{username}
5618
+ */
5619
+ delete: Members_DeleteOutsideCollaborators;
5620
+ };
5002
5621
  packages: {
5003
5622
  /***
5004
5623
  * 查询制品列表。 List all packages.
5005
5624
  *
5625
+ * 制品首页
5006
5626
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5007
5627
  * registry-package:r
5008
5628
  *
5009
5629
  * /{slug}/-/packages
5010
5630
  */
5011
- list: Artifactory_ListPackages;
5631
+ list: Registries_ListPackages;
5012
5632
 
5013
5633
  /***
5014
- * 查询制品数量。 Head all packages.
5634
+ * 获取指定制品的详细信息。 Get the package detail.
5015
5635
  *
5636
+ * 制品详情页
5016
5637
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5017
5638
  * registry-package:r
5018
5639
  *
5019
- * /{slug}/-/packages
5640
+ * /{slug}/-/packages/{type}/{name}
5020
5641
  */
5021
- head: Artifactory_HeadPackages;
5642
+ get: Registries_GetPackage;
5022
5643
 
5023
5644
  /***
5024
- * 获取某一制品的详细信息。 Get the package detail.
5645
+ * 删除制品。 Delete the specific package.
5025
5646
  *
5647
+ * 制品详情页-删除制品
5026
5648
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5027
- * registry-package:r
5649
+ * registry-package-delete:rw
5028
5650
  *
5029
5651
  * /{slug}/-/packages/{type}/{name}
5030
5652
  */
5031
- get: Artifactory_GetPackage;
5653
+ delete: Registries_DeletePackage;
5032
5654
  name: {
5033
5655
  tag: {
5034
5656
  /***
5035
- * 删除制品标签。 Delete the specific tag under specific package
5657
+ * 获取制品标签详情。 Get the specific tag under specific package.
5036
5658
  *
5659
+ * 制品详情页-版本详情
5037
5660
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5038
- * registry-package-delete:rw
5661
+ * registry-package:r
5039
5662
  *
5040
5663
  * /{slug}/-/packages/{type}/{name}/-/tag/{tag}
5041
5664
  */
5042
- delete: Artifactory_DeletePackageTag;
5665
+ get: Registries_GetPackageTagDetail;
5043
5666
 
5044
5667
  /***
5045
- * 获取制品标签详情。 Get the specific tag under specific package.
5668
+ * 删除制品标签。 Delete the specific tag under specific package
5046
5669
  *
5670
+ * 制品详情页-版本详情-删除标签
5047
5671
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5048
- * registry-package:r
5672
+ * registry-package-delete:rw
5049
5673
  *
5050
5674
  * /{slug}/-/packages/{type}/{name}/-/tag/{tag}
5051
5675
  */
5052
- get: Artifactory_GetPackageTagDetail;
5676
+ delete: Registries_DeletePackageTag;
5053
5677
  };
5054
- };
5055
- pkgname: {
5056
5678
  tags: {
5057
5679
  /***
5058
5680
  * 查询制品标签列表。 List all tags under specific package.
5059
5681
  *
5682
+ * 制品详情页-版本列表
5060
5683
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5061
5684
  * registry-package:r
5062
5685
  *
5063
- * /{slug}/-/packages/{type}/{pkgname}/-/tags
5686
+ * /{slug}/-/packages/{type}/{name}/-/tags
5064
5687
  */
5065
- get: Artifactory_ListPackageTags;
5688
+ get: Registries_ListPackageTags;
5066
5689
  };
5067
5690
  };
5068
5691
  };
5069
- registry: {
5070
- quota: {
5692
+ pinnedRepos: {
5693
+ /***
5694
+ * 获取指定组织的仓库墙列表。List the pinned repositories of a group.
5695
+ *
5696
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5697
+ * group-manage:r
5698
+ *
5699
+ * /{slug}/-/pinned-repos
5700
+ */
5701
+ list: Repositories_GetPinnedRepoByGroup;
5702
+
5703
+ /***
5704
+ * 更新指定组织仓库墙。Update the pinned repositories of a group.
5705
+ *
5706
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5707
+ * group-manage:rw
5708
+ *
5709
+ * /{slug}/-/pinned-repos
5710
+ */
5711
+ put: Repositories_SetPinnedRepoByGroup;
5712
+ };
5713
+ registries: {
5714
+ /***
5715
+ * 查询组织下面用户有权限查看到的制品仓库。Query all registries that the user has permission to see under specific organization.
5716
+ *
5717
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5718
+ * group-resource:r
5719
+ *
5720
+ * /{slug}/-/registries
5721
+ */
5722
+ list: Registries_GetGroupSubRegistries;
5723
+ };
5724
+ repos: {
5725
+ /***
5726
+ * 查询组织下访问用户有权限查看到仓库。List the repositories that the user has access to.
5727
+ *
5728
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5729
+ * group-resource:r
5730
+ *
5731
+ * /{slug}/-/repos
5732
+ */
5733
+ list: Repositories_GetGroupSubRepos;
5734
+
5735
+ /***
5736
+ * 创建仓库。Create repositories.
5737
+ *
5738
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5739
+ * group-resource:rw
5740
+ *
5741
+ * /{slug}/-/repos
5742
+ */
5743
+ post: Repositories_CreateRepo;
5744
+ };
5745
+ settings: {
5746
+ /***
5747
+ * 获取指定组织的配置详情。Get the configuration details for the specified organization.
5748
+ *
5749
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5750
+ * group-manage:r
5751
+ *
5752
+ * /{slug}/-/settings
5753
+ */
5754
+ get: Organizations_GetGroupSetting;
5755
+
5756
+ /***
5757
+ * 更新指定组织的配置。Updates the configuration for the specified organization.
5758
+ *
5759
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5760
+ * group-manage:rw
5761
+ *
5762
+ * /{slug}/-/settings
5763
+ */
5764
+ put: Organizations_UpdateGroupSetting;
5765
+ archive: {
5071
5766
  /***
5072
- * 查询制品配额。 Get quota of specific registry.
5767
+ * 仓库归档。Archive a repository.
5073
5768
  *
5074
5769
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5075
- * registry-package:r
5770
+ * repo-manage:rw,repo-code:rw
5076
5771
  *
5077
- * /{slug}/-/registry/-/quota
5772
+ * /{slug}/-/settings/archive
5078
5773
  */
5079
- get: Artifactory_GetRegistryQuota;
5774
+ post: Repositories_ArchiveRepo;
5080
5775
  };
5081
- quotas: {
5776
+ unarchive: {
5082
5777
  /***
5083
- * 查询全部制品配额。 Get quotas of packages under one registry.
5778
+ * 解除仓库归档。Unarchive a repository.
5084
5779
  *
5085
5780
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5086
- * registry-package:r
5781
+ * repo-manage:rw,repo-code:rw
5087
5782
  *
5088
- * /{slug}/-/registry/-/quotas
5783
+ * /{slug}/-/settings/unarchive
5089
5784
  */
5090
- list: Artifactory_GetRegistryQuotas;
5091
- download: {
5092
- /***
5093
- * 下载制品配额信息。 Download registry quota details.
5094
- *
5095
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5096
- * registry-package:r
5097
- *
5098
- * /{slug}/-/registry/-/quotas/download
5099
- */
5100
- list: Artifactory_DownloadRegistryQuotas;
5101
- };
5785
+ post: Repositories_UnArchiveRepo;
5102
5786
  };
5103
5787
  };
5788
+ stars: {
5789
+ /***
5790
+ * 获取指定仓库的star用户列表。Get the list of users who starred the specified repository.
5791
+ *
5792
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5793
+ * repo-basic-info:r
5794
+ *
5795
+ * /{slug}/-/stars
5796
+ */
5797
+ get: Starring_ListStarUsers;
5798
+ };
5799
+ subGroups: {
5800
+ /***
5801
+ * 获取指定组织下的子组织列表。Get the list of sub-organizations under the specified organization.
5802
+ *
5803
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5804
+ * group-resource:r
5805
+ *
5806
+ * /{slug}/-/sub-groups
5807
+ */
5808
+ list: Organizations_ListSubgroups;
5809
+ };
5810
+ };
5811
+ Event: {
5812
+ GetEvents: Event_GetEvents;
5104
5813
  };
5105
5814
  Organizations: {
5106
5815
  CreateOrganization: Organizations_CreateOrganization;
5107
5816
  ListTopGroups: Organizations_ListTopGroups;
5108
5817
  ListGroups: Organizations_ListGroups;
5109
5818
  GetGroupsByUserID: Organizations_GetGroupsByUserID;
5110
- DeleteOrganization: Organizations_DeleteOrganization;
5111
5819
  GetGroup: Organizations_GetGroup;
5112
5820
  UpdateOrganization: Organizations_UpdateOrganization;
5821
+ DeleteOrganization: Organizations_DeleteOrganization;
5822
+ TransferGroup: Organizations_TransferGroup;
5823
+ UploadLogos: Organizations_UploadLogos;
5113
5824
  GetGroupSetting: Organizations_GetGroupSetting;
5114
5825
  UpdateGroupSetting: Organizations_UpdateGroupSetting;
5115
5826
  ListSubgroups: Organizations_ListSubgroups;
5116
- TransferGroup: Organizations_TransferGroup;
5117
5827
  };
5118
5828
  Users: {
5119
5829
  GetUserInfo: Users_GetUserInfo;
5120
5830
  UpdateUserInfo: Users_UpdateUserInfo;
5121
5831
  AutoCompleteSource: Users_AutoCompleteSource;
5832
+ ListGPGKeys: Users_ListGPGKeys;
5122
5833
  GetUserInfoByName: Users_GetUserInfoByName;
5123
5834
  };
5124
5835
  Repositories: {
5125
5836
  GetRepos: Repositories_GetRepos;
5126
- GetUserAllStaredRepos: Repositories_GetUserAllStaredRepos;
5127
5837
  GetPinnedRepoByID: Repositories_GetPinnedRepoByID;
5128
5838
  GetReposByUserName: Repositories_GetReposByUserName;
5839
+ GetByID: Repositories_GetByID;
5840
+ DeleteRepo: Repositories_DeleteRepo;
5841
+ UpdateRepo: Repositories_UpdateRepo;
5842
+ ListForksRepos: Repositories_ListForksRepos;
5843
+ SetRepoVisibility: Repositories_SetRepoVisibility;
5844
+ TransferRepo: Repositories_TransferRepo;
5129
5845
  GetPinnedRepoByGroup: Repositories_GetPinnedRepoByGroup;
5130
5846
  SetPinnedRepoByGroup: Repositories_SetPinnedRepoByGroup;
5131
5847
  GetGroupSubRepos: Repositories_GetGroupSubRepos;
5132
5848
  CreateRepo: Repositories_CreateRepo;
5133
- DeleteRepo: Repositories_DeleteRepo;
5134
- GetByID: Repositories_GetByID;
5135
- UpdateRepo: Repositories_UpdateRepo;
5136
- ListForksRepos: Repositories_ListForksRepos;
5137
- CreateAFork: Repositories_CreateAFork;
5138
5849
  ArchiveRepo: Repositories_ArchiveRepo;
5139
5850
  UnArchiveRepo: Repositories_UnArchiveRepo;
5140
- TransferRepo: Repositories_TransferRepo;
5851
+ };
5852
+ Starring: {
5853
+ GetUserAllStaredRepos: Starring_GetUserAllStaredRepos;
5854
+ GetUserStaredRepos: Starring_GetUserStaredRepos;
5855
+ ListStarUsers: Starring_ListStarUsers;
5141
5856
  };
5142
5857
  Activities: {
5143
5858
  GetUserActivitiesByDate: Activities_GetUserActivitiesByDate;
5144
5859
  GetUserRepoActivityDetails: Activities_GetUserRepoActivityDetails;
5860
+ TopContributors: Activities_TopContributors;
5145
5861
  };
5146
5862
  Followers: {
5147
5863
  GetFollowersByUserID: Followers_GetFollowersByUserID;
5148
5864
  GetFollowingByUserID: Followers_GetFollowingByUserID;
5149
5865
  };
5150
- Starring: {
5151
- GetUserStaredRepos: Starring_GetUserStaredRepos;
5152
- ListStarUsers: Starring_ListStarUsers;
5153
- };
5154
5866
  Workspace: {
5155
5867
  DeleteWorkspace: Workspace_DeleteWorkspace;
5156
5868
  ListWorkspaces: Workspace_ListWorkspaces;
5869
+ WorkspaceStop: Workspace_WorkspaceStop;
5157
5870
  GetWorkspaceDetail: Workspace_GetWorkspaceDetail;
5158
5871
  StartWorkspace: Workspace_StartWorkspace;
5159
5872
  };
5160
- Collaborators: {
5161
- ListInheritMembersOfGroup: Collaborators_ListInheritMembersOfGroup;
5162
- ListMembersOfGroup: Collaborators_ListMembersOfGroup;
5163
- DeleteMembersOfGroup: Collaborators_DeleteMembersOfGroup;
5164
- AddMembersOfGroup: Collaborators_AddMembersOfGroup;
5165
- UpdateMembersOfGroup: Collaborators_UpdateMembersOfGroup;
5166
- AddMembersOfMission: Collaborators_AddMembersOfMission;
5167
- AddMembersOfRegistry: Collaborators_AddMembersOfRegistry;
5168
- ListInheritMembersOfRepo: Collaborators_ListInheritMembersOfRepo;
5169
- ListAllMembers: Collaborators_ListAllMembers;
5170
- ListMembersOfRepo: Collaborators_ListMembersOfRepo;
5171
- DeleteMembersOfRepo: Collaborators_DeleteMembersOfRepo;
5172
- AddMembersOfRepo: Collaborators_AddMembersOfRepo;
5173
- UpdateMembersOfRepo: Collaborators_UpdateMembersOfRepo;
5174
- ListOutsideCollaborators: Collaborators_ListOutsideCollaborators;
5175
- DeleteOutsideCollaborators: Collaborators_DeleteOutsideCollaborators;
5176
- UpdateOutsideCollaborators: Collaborators_UpdateOutsideCollaborators;
5177
- TopContributors: Collaborators_TopContributors;
5178
- };
5179
- Contributors: {
5180
- GetMemberAccessLevelOfGroup: Contributors_GetMemberAccessLevelOfGroup;
5181
- ListMemberAccessLevelOfGroup: Contributors_ListMemberAccessLevelOfGroup;
5182
- GetMemberAccessLevelOfRepo: Contributors_GetMemberAccessLevelOfRepo;
5183
- ListMemberAccessLevelOfRepo: Contributors_ListMemberAccessLevelOfRepo;
5873
+ Members: {
5874
+ ListInheritMembersOfGroup: Members_ListInheritMembersOfGroup;
5875
+ ListMembersOfGroup: Members_ListMembersOfGroup;
5876
+ GetMemberAccessLevelOfGroup: Members_GetMemberAccessLevelOfGroup;
5877
+ ListMemberAccessLevelOfGroup: Members_ListMemberAccessLevelOfGroup;
5878
+ UpdateMembersOfGroup: Members_UpdateMembersOfGroup;
5879
+ AddMembersOfGroup: Members_AddMembersOfGroup;
5880
+ DeleteMembersOfGroup: Members_DeleteMembersOfGroup;
5881
+ AddMembersOfMission: Members_AddMembersOfMission;
5882
+ AddMembersOfRegistry: Members_AddMembersOfRegistry;
5883
+ ListInheritMembersOfRepo: Members_ListInheritMembersOfRepo;
5884
+ ListMembersOfRepo: Members_ListMembersOfRepo;
5885
+ GetMemberAccessLevelOfRepo: Members_GetMemberAccessLevelOfRepo;
5886
+ ListMemberAccessLevelOfRepo: Members_ListMemberAccessLevelOfRepo;
5887
+ UpdateMembersOfRepo: Members_UpdateMembersOfRepo;
5888
+ AddMembersOfRepo: Members_AddMembersOfRepo;
5889
+ DeleteMembersOfRepo: Members_DeleteMembersOfRepo;
5890
+ ListAllMembers: Members_ListAllMembers;
5891
+ ListOutsideCollaborators: Members_ListOutsideCollaborators;
5892
+ UpdateOutsideCollaborators: Members_UpdateOutsideCollaborators;
5893
+ DeleteOutsideCollaborators: Members_DeleteOutsideCollaborators;
5184
5894
  };
5185
5895
  Missions: {
5186
- CreateMission: Missions_CreateMission;
5187
5896
  DeleteMission: Missions_DeleteMission;
5188
5897
  GetMissionViewConfig: Missions_GetMissionViewConfig;
5189
5898
  PostMissionViewConfig: Missions_PostMissionViewConfig;
5190
5899
  GetMissionViewList: Missions_GetMissionViewList;
5191
- PostMissionViewList: Missions_PostMissionViewList;
5192
5900
  PutMissionViewList: Missions_PutMissionViewList;
5901
+ PostMissionViewList: Missions_PostMissionViewList;
5902
+ SetMissionVisibility: Missions_SetMissionVisibility;
5903
+ GetGroupSubMissions: Missions_GetGroupSubMissions;
5904
+ CreateMission: Missions_CreateMission;
5193
5905
  };
5194
- Assets: {
5195
- UploadLogos: Assets_UploadLogos;
5196
- GetCommitAssets: Assets_GetCommitAssets;
5197
- GetReleasesAsset: Assets_GetReleasesAsset;
5198
- GetLatestReleasesAsset: Assets_GetLatestReleasesAsset;
5199
- UploadFiles: Assets_UploadFiles;
5200
- UploadImgs: Assets_UploadImgs;
5201
- UploadReleases: Assets_UploadReleases;
5202
- };
5203
- Artifactory: {
5204
- DeleteRegistry: Artifactory_DeleteRegistry;
5205
- ListPackages: Artifactory_ListPackages;
5206
- HeadPackages: Artifactory_HeadPackages;
5207
- GetPackage: Artifactory_GetPackage;
5208
- DeletePackageTag: Artifactory_DeletePackageTag;
5209
- GetPackageTagDetail: Artifactory_GetPackageTagDetail;
5210
- ListPackageTags: Artifactory_ListPackageTags;
5211
- GetRegistryQuota: Artifactory_GetRegistryQuota;
5212
- GetRegistryQuotas: Artifactory_GetRegistryQuotas;
5213
- DownloadRegistryQuotas: Artifactory_DownloadRegistryQuotas;
5906
+ Registries: {
5907
+ DeleteRegistry: Registries_DeleteRegistry;
5908
+ SetRegistryVisibility: Registries_SetRegistryVisibility;
5909
+ ListPackages: Registries_ListPackages;
5910
+ GetPackage: Registries_GetPackage;
5911
+ DeletePackage: Registries_DeletePackage;
5912
+ GetPackageTagDetail: Registries_GetPackageTagDetail;
5913
+ DeletePackageTag: Registries_DeletePackageTag;
5914
+ ListPackageTags: Registries_ListPackageTags;
5915
+ GetGroupSubRegistries: Registries_GetGroupSubRegistries;
5214
5916
  };
5215
- Ai: {
5216
- AiChatCompletions: Ai_AiChatCompletions;
5917
+ AI: {
5918
+ AiChatCompletions: AI_AiChatCompletions;
5919
+ AiAutoPr: AI_AiAutoPr;
5217
5920
  };
5218
5921
  Badge: {
5922
+ GetBadge: Badge_GetBadge;
5923
+ ListBadge: Badge_ListBadge;
5219
5924
  UploadBadge: Badge_UploadBadge;
5220
5925
  };
5221
5926
  Build: {
5927
+ BuildCrontabSync: Build_BuildCrontabSync;
5222
5928
  GetBuildLogs: Build_GetBuildLogs;
5223
5929
  GetBuildStage: Build_GetBuildStage;
5930
+ BuildLogsDelete: Build_BuildLogsDelete;
5224
5931
  BuildRunnerDownloadLog: Build_BuildRunnerDownloadLog;
5225
5932
  StartBuild: Build_StartBuild;
5226
5933
  GetBuildStatus: Build_GetBuildStatus;
5227
5934
  StopBuild: Build_StopBuild;
5228
5935
  };
5229
- RepoContributor: {
5230
- GetRepoContributorTrend: RepoContributor_GetRepoContributorTrend;
5231
- };
5232
5936
  Git: {
5937
+ GetCommitAssets: Git_GetCommitAssets;
5233
5938
  GetArchiveCommitChangedFiles: Git_GetArchiveCommitChangedFiles;
5234
5939
  GetArchiveCompareChangedFiles: Git_GetArchiveCompareChangedFiles;
5940
+ GetArchive: Git_GetArchive;
5235
5941
  CreateBlob: Git_CreateBlob;
5236
5942
  ListBranches: Git_ListBranches;
5237
5943
  CreateBranch: Git_CreateBranch;
5238
- DeleteBranch: Git_DeleteBranch;
5239
5944
  GetBranch: Git_GetBranch;
5945
+ DeleteBranch: Git_DeleteBranch;
5240
5946
  GetCommitAnnotationsInBatch: Git_GetCommitAnnotationsInBatch;
5241
5947
  GetCommitAnnotations: Git_GetCommitAnnotations;
5242
5948
  PutCommitAnnotations: Git_PutCommitAnnotations;
@@ -5249,16 +5955,17 @@ interface Client {
5249
5955
  ListCommits: Git_ListCommits;
5250
5956
  GetCommit: Git_GetCommit;
5251
5957
  GetCompareCommits: Git_GetCompareCommits;
5958
+ GetContentWithoutPath: Git_GetContentWithoutPath;
5252
5959
  GetContent: Git_GetContent;
5253
- ListDeferredCommits: Git_ListDeferredCommits;
5254
5960
  GetHead: Git_GetHead;
5961
+ GetRaw: Git_GetRaw;
5255
5962
  DeleteTagAnnotation: Git_DeleteTagAnnotation;
5256
5963
  GetTagAnnotations: Git_GetTagAnnotations;
5257
5964
  PutTagAnnotations: Git_PutTagAnnotations;
5258
5965
  ListTags: Git_ListTags;
5259
5966
  CreateTag: Git_CreateTag;
5260
- DeleteTag: Git_DeleteTag;
5261
5967
  GetTag: Git_GetTag;
5968
+ DeleteTag: Git_DeleteTag;
5262
5969
  GetPresignedLFSDownloadLink: Git_GetPresignedLFSDownloadLink;
5263
5970
  };
5264
5971
  Issues: {
@@ -5266,24 +5973,25 @@ interface Client {
5266
5973
  CreateIssue: Issues_CreateIssue;
5267
5974
  GetIssue: Issues_GetIssue;
5268
5975
  UpdateIssue: Issues_UpdateIssue;
5269
- DeleteIssueAssignees: Issues_DeleteIssueAssignees;
5270
5976
  ListIssueAssignees: Issues_ListIssueAssignees;
5271
- PatchIssueAssignees: Issues_PatchIssueAssignees;
5272
5977
  PostIssueAssignees: Issues_PostIssueAssignees;
5978
+ DeleteIssueAssignees: Issues_DeleteIssueAssignees;
5979
+ PatchIssueAssignees: Issues_PatchIssueAssignees;
5273
5980
  CanUserBeAssignedToIssue: Issues_CanUserBeAssignedToIssue;
5274
5981
  ListIssueComments: Issues_ListIssueComments;
5275
5982
  PostIssueComment: Issues_PostIssueComment;
5276
5983
  GetIssueComment: Issues_GetIssueComment;
5277
5984
  PatchIssueComment: Issues_PatchIssueComment;
5278
- DeleteIssueLabels: Issues_DeleteIssueLabels;
5279
5985
  ListIssueLabels: Issues_ListIssueLabels;
5280
- PostIssueLabels: Issues_PostIssueLabels;
5281
5986
  PutIssueLabels: Issues_PutIssueLabels;
5987
+ PostIssueLabels: Issues_PostIssueLabels;
5988
+ DeleteIssueLabels: Issues_DeleteIssueLabels;
5282
5989
  DeleteIssueLabel: Issues_DeleteIssueLabel;
5990
+ CreateIssueProperties: Issues_CreateIssueProperties;
5283
5991
  };
5284
5992
  KnowledgeBase: {
5285
- DeleteKnowledgeBase: KnowledgeBase_DeleteKnowledgeBase;
5286
5993
  GetKnowledgeBaseInfo: KnowledgeBase_GetKnowledgeBaseInfo;
5994
+ DeleteKnowledgeBase: KnowledgeBase_DeleteKnowledgeBase;
5287
5995
  QueryKnowledgeBase: KnowledgeBase_QueryKnowledgeBase;
5288
5996
  GetModels: KnowledgeBase_GetModels;
5289
5997
  };
@@ -5299,42 +6007,51 @@ interface Client {
5299
6007
  PostPull: Pulls_PostPull;
5300
6008
  GetPull: Pulls_GetPull;
5301
6009
  PatchPull: Pulls_PatchPull;
5302
- DeletePullAssignees: Pulls_DeletePullAssignees;
5303
6010
  ListPullAssignees: Pulls_ListPullAssignees;
5304
6011
  PostPullAssignees: Pulls_PostPullAssignees;
6012
+ DeletePullAssignees: Pulls_DeletePullAssignees;
5305
6013
  CanUserBeAssignedToPull: Pulls_CanUserBeAssignedToPull;
5306
- CherryPickPullRequest: Pulls_CherryPickPullRequest;
5307
6014
  ListPullComments: Pulls_ListPullComments;
5308
6015
  PostPullComment: Pulls_PostPullComment;
5309
- DeletePullLabels: Pulls_DeletePullLabels;
6016
+ GetPullComment: Pulls_GetPullComment;
6017
+ PatchPullComment: Pulls_PatchPullComment;
6018
+ ListPullCommitStatuses: Pulls_ListPullCommitStatuses;
6019
+ ListPullCommits: Pulls_ListPullCommits;
6020
+ ListPullFiles: Pulls_ListPullFiles;
5310
6021
  ListPullLabels: Pulls_ListPullLabels;
5311
- PostPullLabels: Pulls_PostPullLabels;
5312
6022
  PutPullLabels: Pulls_PutPullLabels;
6023
+ PostPullLabels: Pulls_PostPullLabels;
6024
+ DeletePullLabels: Pulls_DeletePullLabels;
5313
6025
  DeletePullLabel: Pulls_DeletePullLabel;
5314
6026
  MergePull: Pulls_MergePull;
5315
- RevertPullRequest: Pulls_RevertPullRequest;
5316
6027
  ListPullReviews: Pulls_ListPullReviews;
5317
6028
  PostPullReview: Pulls_PostPullReview;
5318
6029
  ListPullReviewComments: Pulls_ListPullReviewComments;
6030
+ UploadFiles: Pulls_UploadFiles;
6031
+ UploadImgs: Pulls_UploadImgs;
5319
6032
  };
5320
6033
  Releases: {
5321
6034
  ListReleases: Releases_ListReleases;
5322
6035
  PostRelease: Releases_PostRelease;
6036
+ GetReleasesAsset: Releases_GetReleasesAsset;
5323
6037
  GetLatestRelease: Releases_GetLatestRelease;
5324
6038
  GetReleaseByTag: Releases_GetReleaseByTag;
5325
- DeleteRelease: Releases_DeleteRelease;
5326
6039
  GetReleaseByID: Releases_GetReleaseByID;
6040
+ DeleteRelease: Releases_DeleteRelease;
5327
6041
  PatchRelease: Releases_PatchRelease;
5328
6042
  PostReleaseAssetUploadConfirmation: Releases_PostReleaseAssetUploadConfirmation;
5329
6043
  PostReleaseAssetUploadURL: Releases_PostReleaseAssetUploadURL;
5330
- DeleteReleaseAsset: Releases_DeleteReleaseAsset;
5331
6044
  GetReleaseAsset: Releases_GetReleaseAsset;
6045
+ DeleteReleaseAsset: Releases_DeleteReleaseAsset;
6046
+ };
6047
+ Security: {
6048
+ GetRepoSecurityOverview: Security_GetRepoSecurityOverview;
5332
6049
  };
5333
6050
  GitSettings: {
5334
6051
  ListBranchProtections: GitSettings_ListBranchProtections;
5335
6052
  PostBranchProtection: GitSettings_PostBranchProtection;
5336
- DeleteBranchProtection: GitSettings_DeleteBranchProtection;
5337
6053
  GetBranchProtection: GitSettings_GetBranchProtection;
6054
+ DeleteBranchProtection: GitSettings_DeleteBranchProtection;
5338
6055
  PatchBranchProtection: GitSettings_PatchBranchProtection;
5339
6056
  GetPipelineSettings: GitSettings_GetPipelineSettings;
5340
6057
  PutPipelineSettings: GitSettings_PutPipelineSettings;
@@ -5343,8 +6060,8 @@ interface Client {
5343
6060
  GetPushLimitSettings: GitSettings_GetPushLimitSettings;
5344
6061
  PutPushLimitSettings: GitSettings_PutPushLimitSettings;
5345
6062
  };
5346
- wiki: {
5347
- UploadWikiFile: wiki_UploadWikiFile;
6063
+ RepoContributor: {
6064
+ GetRepoContributorTrend: RepoContributor_GetRepoContributorTrend;
5348
6065
  };
5349
6066
  }
5350
6067
  //#endregion