node-cnb 1.16.0 → 1.18.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
@@ -55,9 +55,12 @@ type ApiCommitAsset = {
55
55
  type ApiCommitDiffFilePatch = {
56
56
  additions: number;
57
57
  deletions: number;
58
+ mode: string;
58
59
  name: string;
59
60
  patch: string;
60
61
  path: string;
62
+ previous_filename: string;
63
+ previous_mode: string;
61
64
  status: string;
62
65
  };
63
66
  type ApiCommitObject = {
@@ -81,13 +84,10 @@ type ApiCommitObjectVerification = {
81
84
  type ApiCommitParent = {
82
85
  sha: string;
83
86
  };
84
- type ApiCommitStatus = {
85
- context: string;
86
- created_at: string;
87
- description: string;
87
+ type ApiCommitStatuses = {
88
+ sha: string;
88
89
  state: string;
89
- target_url: string;
90
- updated_at: string;
90
+ statuses: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus[];
91
91
  };
92
92
  type ApiCompareResponse = {
93
93
  base_commit: ApiCommit;
@@ -102,6 +102,8 @@ type ApiContent = {
102
102
  encoding: string;
103
103
  entries: ApiTreeEntry[];
104
104
  lfs_download_url: string;
105
+ lfs_oid: string;
106
+ lfs_size: number;
105
107
  name: string;
106
108
  path: string;
107
109
  sha: string;
@@ -114,6 +116,13 @@ type ApiDeleteIssueAssigneesForm = {
114
116
  type ApiDeletePullAssigneesForm = {
115
117
  assignees: string[];
116
118
  };
119
+ type ApiDiffLine = {
120
+ content: string;
121
+ left_line_number: number;
122
+ prefix: string;
123
+ right_line_number: number;
124
+ type: string;
125
+ };
117
126
  type ApiIssue = {
118
127
  assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
119
128
  author: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
@@ -203,6 +212,9 @@ type ApiPatchLabelForm = {
203
212
  description: string;
204
213
  new_name: string;
205
214
  };
215
+ type ApiPatchPullCommentForm = {
216
+ body: string;
217
+ };
206
218
  type ApiPatchPullRequest = {
207
219
  body: string;
208
220
 
@@ -259,10 +271,14 @@ type ApiPostTagFrom = {
259
271
  };
260
272
  type ApiPull = {
261
273
  base: ApiPullRef;
274
+ blocked_on: string;
262
275
  body: string;
263
276
  head: ApiPullRef;
277
+ is_wip: boolean;
278
+ labels: ApiLabel[];
264
279
  merged_by: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
265
280
  number: string;
281
+ reviewers: ApiPullReviewer[];
266
282
  state: string;
267
283
  title: string;
268
284
  };
@@ -276,6 +292,19 @@ type ApiPullCreationForm = {
276
292
  head_repo: string;
277
293
  title: string;
278
294
  };
295
+ type ApiPullFile = {
296
+ additions: number;
297
+ blob_url: string;
298
+ contents_url: string;
299
+ deletions: number;
300
+ filename: string;
301
+ patch: string;
302
+ raw_url: string;
303
+ sha: string;
304
+
305
+ /**Status of this Pull Request specified diff file. Either `add` / `modify` / `delete` / `rename` / `copy`.*/
306
+ status: string;
307
+ };
279
308
  type ApiPullRef = {
280
309
  ref: string;
281
310
  repo: ApiRepo;
@@ -294,6 +323,8 @@ type ApiPullRequest = {
294
323
  comment_count: number;
295
324
  created_at: string;
296
325
  head: ApiPullRef;
326
+ is_wip: boolean;
327
+ labels: ApiLabel[];
297
328
  last_acted_at: string;
298
329
  mergeable_state: string;
299
330
  merged_by: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
@@ -308,6 +339,7 @@ type ApiPullRequestComment = {
308
339
  author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
309
340
  body: string;
310
341
  created_at: string;
342
+ id: string;
311
343
  updated_at: string;
312
344
  };
313
345
  type ApiPullRequestInfo = {
@@ -317,6 +349,7 @@ type ApiPullRequestInfo = {
317
349
  blocked_on: string;
318
350
  created_at: string;
319
351
  head: ApiPullRefInfo;
352
+ labels: ApiLabel[];
320
353
  last_acted_at: string;
321
354
  mergeable_state: string;
322
355
  merged_by: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
@@ -335,6 +368,32 @@ type ApiPullRequestSettings = {
335
368
  merge_commit_message_style: string;
336
369
  squash_commit_message_style: string;
337
370
  };
371
+ type ApiPullReview = {
372
+ author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
373
+ body: string;
374
+ created_at: string;
375
+ id: string;
376
+ state: string;
377
+ updated_at: string;
378
+ };
379
+ type ApiPullReviewComment = {
380
+ author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
381
+ body: string;
382
+ commit_hash: string;
383
+ created_at: string;
384
+ diff_hunk: ApiDiffLine[];
385
+ end_line: number;
386
+ end_side: string;
387
+ id: string;
388
+ path: string;
389
+ reply_to_comment_id: string;
390
+ review_id: string;
391
+ review_state: string;
392
+ start_line: number;
393
+ start_side: string;
394
+ subject_type: string;
395
+ updated_at: string;
396
+ };
338
397
  type ApiPullReviewCommentCreationForm = {
339
398
  body: string;
340
399
  end_line: number;
@@ -351,6 +410,11 @@ type ApiPullReviewCreationForm = {
351
410
  comments: ApiPullReviewCommentCreationForm[];
352
411
  event: string;
353
412
  };
413
+ type ApiPullReviewer = {
414
+ /**reviewState contains One of: `pending`, `commented`, `approved`, `changes_requested`, `dismissed`.*/
415
+ review_state: string;
416
+ user: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
417
+ };
354
418
  type ApiPushLimitSettings = {
355
419
  allow_single_push_number: number;
356
420
  check_single_push_number: boolean;
@@ -519,11 +583,38 @@ type ChartMetadata = {
519
583
  /**A SemVer 2 conformant version string of the chart. Required.*/
520
584
  version: string;
521
585
  };
522
- type ConstantAccessRole = 0 | 10 | 20 | 30 | 40 | 50;
523
- type ConstantRepoDisplayModule = 1 | 2 | 4;
524
- type ConstantUserEditable = 1 | 2 | 4 | 8 | 16 | 32;
525
- type ConstantUserType = 0 | 1 | 2 | 3;
526
- type ConstantVisibility = 0 | 10 | 20;
586
+ type ConstantAccessRole = "Unknown" | "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
587
+ type ConstantRepoDisplayModule = {
588
+ /**仓库动态*/
589
+ activity: boolean;
590
+
591
+ /**仓库贡献者*/
592
+ contributors: boolean;
593
+
594
+ /**仓库版本*/
595
+ release: boolean;
596
+ };
597
+ type ConstantUserEditable = {
598
+ /**可修改账户头像*/
599
+ avatar: boolean;
600
+
601
+ /**可修改主邮箱*/
602
+ email: boolean;
603
+
604
+ /**是否允许注销账户*/
605
+ logoff: boolean;
606
+
607
+ /**可修改昵称*/
608
+ nickname: boolean;
609
+
610
+ /**是否允许同步昵称和头像*/
611
+ "sync-data": boolean;
612
+
613
+ /**可修改账户名*/
614
+ username: boolean;
615
+ };
616
+ type ConstantUserType = 0 | 1 | 2 | 3 | 4;
617
+ type ConstantVisibility = "Private" | "Public" | "Secret";
527
618
  type DtoActivityCreateRepoDetail = {
528
619
  create_at: string;
529
620
 
@@ -583,12 +674,95 @@ type DtoActivityRepoDetail = {
583
674
  /**仓库可见性*/
584
675
  visibility_level: any;
585
676
  };
677
+ type DtoAiAutoPrReq = {
678
+ /**需求内容*/
679
+ body: string;
680
+
681
+ /**提 PR 的目标分支名*/
682
+ branch: string;
683
+
684
+ /**需求标题*/
685
+ title: string;
686
+ };
687
+ type DtoAiAutoPrResult = {
688
+ /**构建链接*/
689
+ buildLogUrl: string;
690
+
691
+ /**message*/
692
+ message: string;
693
+
694
+ /**构建号*/
695
+ sn: string;
696
+ };
697
+ type DtoAiChatCompletionsChoice = {
698
+ /**结束原因*/
699
+ finish_reason: string;
700
+
701
+ /**索引*/
702
+ index: number;
703
+
704
+ /**消息*/
705
+ message: any;
706
+ };
707
+ type DtoAiChatCompletionsReq = {
708
+ /**对话内容*/
709
+ messages: DtoMessage[];
710
+
711
+ /**模型名称*/
712
+ model: string;
713
+
714
+ /**是否流式返回结果,部分模型可能不支持非流式*/
715
+ stream: boolean;
716
+ };
717
+ type DtoAiChatCompletionsResult = {
718
+ /**选择*/
719
+ choices: DtoAiChatCompletionsChoice[];
720
+
721
+ /**创建时间*/
722
+ created: number;
723
+
724
+ /**ID*/
725
+ id: string;
726
+
727
+ /**模型*/
728
+ model: string;
729
+
730
+ /**对象*/
731
+ object: string;
732
+ };
586
733
  type DtoAssets = {
587
734
  content_type: string;
735
+ ext: any;
588
736
  name: string;
589
737
  path: string;
590
738
  size: number;
591
739
  };
740
+ type DtoBadge = {
741
+ /**徽章描述*/
742
+ desc: string;
743
+
744
+ /**徽章分组*/
745
+ group: any;
746
+
747
+ /**徽章链接*/
748
+ link: string;
749
+
750
+ /**徽章名称*/
751
+ name: string;
752
+
753
+ /**徽章类型*/
754
+ type: string;
755
+
756
+ /**徽章URL*/
757
+ url: string;
758
+ };
759
+ type DtoBuildLogsDeleteResult = {
760
+ /**返回码,0 表示成功,1 表示失败*/
761
+ code: number;
762
+
763
+ /**描述*/
764
+ message: string;
765
+ };
592
766
  type DtoBuildLogsResult = {
593
767
  /**构建数据列表*/
594
768
  data: DtoLogInfo[];
@@ -625,6 +799,9 @@ type DtoBuildStageResult = {
625
799
  /**stage 错误信息*/
626
800
  error: string;
627
801
 
802
+ /**stage id*/
803
+ id: string;
804
+
628
805
  /**stage 名称*/
629
806
  name: string;
630
807
 
@@ -635,9 +812,15 @@ type DtoBuildStageResult = {
635
812
  status: string;
636
813
  };
637
814
  type DtoBuildStatusResult = {
815
+ /**解析后的流水线JSON格式配置内容*/
816
+ jsonConfig: string;
817
+
638
818
  /**流水线的状态*/
639
819
  pipelinesStatus: any;
640
820
 
821
+ /**流水线原始配置内容*/
822
+ rawConfig: string;
823
+
641
824
  /**构建状态*/
642
825
  status: string;
643
826
  };
@@ -675,9 +858,101 @@ type DtoChartTagDetail = {
675
858
  slug: string;
676
859
  tag: string;
677
860
  };
678
- type DtoCodeRepoQuotaRsp = {
679
- docker: DtoQuotaRsp;
680
- helm: DtoQuotaRsp;
861
+ type DtoCodeIssueSummary = {
862
+ /**严重风险问题数量*/
863
+ critical_count: number;
864
+
865
+ /**严重风险问题忽略数量*/
866
+ critical_ignore_count: number;
867
+
868
+ /**是否开启源码信息扫描*/
869
+ enable: boolean;
870
+
871
+ /**高风险问题数量*/
872
+ high_count: number;
873
+
874
+ /**高风险问题忽略数量*/
875
+ high_ignore_count: number;
876
+
877
+ /**忽略的问题数量*/
878
+ ignored: number;
879
+
880
+ /**低风险问题数量*/
881
+ low_count: number;
882
+
883
+ /**低风险问题忽略数量*/
884
+ low_ignore_count: number;
885
+
886
+ /**中风险问题数量*/
887
+ medium_count: number;
888
+
889
+ /**中风险问题忽略数量*/
890
+ medium_ignore_count: number;
891
+
892
+ /**开启中问题数量*/
893
+ open: number;
894
+ };
895
+ type DtoCodeSensitiveSummary = {
896
+ /**是否开启代码敏感信息扫描*/
897
+ enable: boolean;
898
+
899
+ /**高风险问题数量*/
900
+ high_count: number;
901
+
902
+ /**高风险问题忽略数量*/
903
+ high_ignore_count: number;
904
+
905
+ /**忽略问题数量*/
906
+ ignored: number;
907
+
908
+ /**低风险问题数量*/
909
+ low_count: number;
910
+
911
+ /**低风险问题忽略数量*/
912
+ low_ignore_count: number;
913
+
914
+ /**中风险问题数量*/
915
+ medium_count: number;
916
+
917
+ /**中风险问题忽略数量*/
918
+ medium_ignore_count: number;
919
+
920
+ /**开启中问题数量*/
921
+ open: number;
922
+ };
923
+ type DtoCodeVulOverview = {
924
+ /**忽略的严重风险漏洞的数量*/
925
+ critical_vul_ignore_cnt: number;
926
+
927
+ /**打开的严重风险级别漏洞的数量*/
928
+ critical_vul_open_cnt: number;
929
+
930
+ /**是否开启代码漏洞扫描*/
931
+ enable: boolean;
932
+
933
+ /**忽略的高风险级别漏洞的数量*/
934
+ high_vul_ignore_cnt: number;
935
+
936
+ /**打开的高风险级别漏洞的数量*/
937
+ high_vul_open_cnt: number;
938
+
939
+ /**忽略问题数量*/
940
+ ignored: number;
941
+
942
+ /**忽略的低风险级别漏洞的数量*/
943
+ low_vul_ignore_cnt: number;
944
+
945
+ /**打开的低风险级别漏洞的数量*/
946
+ low_vul_open_cnt: number;
947
+
948
+ /**忽略的中风险级别漏洞的数量*/
949
+ medium_vul_ignore_cnt: number;
950
+
951
+ /**打开的中风险级别漏洞的数量*/
952
+ medium_vul_open_cnt: number;
953
+
954
+ /**开启中问题数量*/
955
+ open: number;
681
956
  };
682
957
  type DtoCommonRegistryPackageDetail = {
683
958
  address: string;
@@ -716,8 +991,52 @@ type DtoCommonRegistryTagDetail = {
716
991
  tag: string;
717
992
  tags: DtoCommonRegistryTag[];
718
993
  };
994
+ type DtoConanMetaData = {
995
+ author: string;
996
+
997
+ /**conan 的 package 列表*/
998
+ conan_packages: DtoConanPackage[];
999
+
1000
+ /**conan recipe 的 revision, conan 制品专用字段*/
1001
+ conan_recipe_revision: string;
1002
+ conan_reference: string;
1003
+ home_page: string;
1004
+ license_url: string;
1005
+ package_name: string;
1006
+ package_tag: string;
1007
+ package_type: string;
1008
+ readme: string;
1009
+ repository_url: string;
1010
+ };
1011
+ type DtoConanPackage = {
1012
+ arch: string;
1013
+ build_type: string;
1014
+ compiler: any;
1015
+ options: any;
1016
+ os: string;
1017
+ package_id: string;
1018
+ package_revision: string;
1019
+ requires: string[];
1020
+ };
1021
+ type DtoConanRegistryTagDetail = {
1022
+ address: string;
1023
+ dependencies: DtoDependency[];
1024
+ desc: string;
1025
+ files: DtoFile[];
1026
+ last_pusher: DtoLastPusher;
1027
+ metadata: DtoConanMetaData;
1028
+ package: string;
1029
+ pull_count: number;
1030
+ recent_pull_count: number;
1031
+ size: number;
1032
+ slug: string;
1033
+ status: string;
1034
+ tag: string;
1035
+ tags: DtoCommonRegistryTag[];
1036
+ };
719
1037
  type DtoContainerAnnotation = {
720
1038
  revision: string;
1039
+ sn: string;
721
1040
  version: string;
722
1041
  };
723
1042
  type DtoContainerImage = {
@@ -756,6 +1075,9 @@ type DtoContainerTagDetail = {
756
1075
  annotations: DtoContainerAnnotation;
757
1076
  image: DtoContainerImage;
758
1077
  last_pusher: DtoLastPusher;
1078
+
1079
+ /**返回的结果是否和提供的架构匹配*/
1080
+ matches_requested_arch: boolean;
759
1081
  options: DtoContainerImage[];
760
1082
  package: string;
761
1083
  pull_count: number;
@@ -787,6 +1109,53 @@ type DtoDependency = {
787
1109
  framework_name: string;
788
1110
  name: string;
789
1111
  };
1112
+ type DtoDockerModelConfig = {
1113
+ architecture: string;
1114
+
1115
+ /**Format the packaging format of the model file(s), currently the only supported value is gguf.*/
1116
+ format: string;
1117
+
1118
+ /**FormatVersion the version of the format*/
1119
+ format_version: string;
1120
+ gguf: DtoGguf;
1121
+ parameters: string;
1122
+ quantization: string;
1123
+ size: string;
1124
+ };
1125
+ type DtoDockerModelDescriptor = {
1126
+ created: string;
1127
+ };
1128
+ type DtoDockerModelPackageDetail = {
1129
+ address: string;
1130
+ desc: string;
1131
+ last_pusher: DtoLastPusher;
1132
+ package: string;
1133
+ pull_count: number;
1134
+ recent_pull_count: number;
1135
+ slug: string;
1136
+ tag_total: number;
1137
+ tags: DtoDockerModelTag[];
1138
+ };
1139
+ type DtoDockerModelTag = {
1140
+ address: string;
1141
+ docker_model_config: DtoDockerModelConfig;
1142
+ docker_model_descriptor: DtoDockerModelDescriptor;
1143
+ last_pusher: DtoLastPusher;
1144
+ name: string;
1145
+ pull_count: number;
1146
+ recent_pull_count: number;
1147
+ };
1148
+ type DtoDockerModelTagDetail = {
1149
+ address: string;
1150
+ docker_model_config: DtoDockerModelConfig;
1151
+ docker_model_descriptor: DtoDockerModelDescriptor;
1152
+ last_pusher: DtoLastPusher;
1153
+ package: string;
1154
+ pull_count: number;
1155
+ recent_pull_count: number;
1156
+ slug: string;
1157
+ tag: string;
1158
+ };
790
1159
  type DtoDocumentStatistics = {
791
1160
  count: number;
792
1161
  size: number;
@@ -803,12 +1172,6 @@ type DtoFile = {
803
1172
  name: string;
804
1173
  size: number;
805
1174
  };
806
- type DtoForkReq = {
807
- branch: string;
808
- description: string;
809
- group: string;
810
- name: string;
811
- };
812
1175
  type DtoForks = {
813
1176
  created_at: string;
814
1177
  fork_count: number;
@@ -819,6 +1182,27 @@ type DtoForks = {
819
1182
  user_lock: boolean;
820
1183
  username: string;
821
1184
  };
1185
+ type DtoGguf = any;
1186
+ type DtoGetBadgeReq = {
1187
+ /**分支名,例如:main。不传则为默认分支,获取默认分支最新徽章。传了分支名,则获取该分支最新提交记录对应的徽章。*/
1188
+ branch: string;
1189
+ };
1190
+ type DtoGetBadgeResult = {
1191
+ /**徽章颜色*/
1192
+ color: string;
1193
+
1194
+ /**徽章左侧显示内容*/
1195
+ label: string;
1196
+
1197
+ /**徽章链接*/
1198
+ link: string;
1199
+
1200
+ /**徽章链接列表*/
1201
+ links: string[];
1202
+
1203
+ /**徽章右侧显示内容*/
1204
+ message: string;
1205
+ };
822
1206
  type DtoGroupSettingReq = {
823
1207
  /**组织限制指定邮箱认证才能加入*/
824
1208
  email_verification: string;
@@ -860,14 +1244,29 @@ type DtoInheritMembersUser = {
860
1244
  /**认证过期时间*/
861
1245
  verified_expire_in: string;
862
1246
  };
1247
+ type DtoIssueConfig = {
1248
+ /**逗号分隔的标签字符串,如 "bug,feature"*/
1249
+ labels: string;
1250
+
1251
+ /**"open", "closed"*/
1252
+ state: string;
1253
+ };
863
1254
  type DtoKnowledgeBaseInfoRes = {
864
1255
  embedding_model: DtoEmbeddingModels;
865
1256
  exclude: string;
866
- id: number;
1257
+ id: string;
867
1258
  include: string;
1259
+ issue_last_sync_time: string;
1260
+ issue_sync_enabled: boolean;
868
1261
  last_commit_sha: string;
1262
+ metadata: DtoKnowledgeBaseMetadata;
869
1263
  statistics: DtoDocumentStatistics;
870
1264
  };
1265
+ type DtoKnowledgeBaseMetadata = {
1266
+ issue: DtoIssueConfig;
1267
+ processing: DtoProcessingConfig;
1268
+ version: string;
1269
+ };
871
1270
  type DtoLastPusher = {
872
1271
  is_frozen: boolean;
873
1272
  is_lock: boolean;
@@ -875,6 +1274,11 @@ type DtoLastPusher = {
875
1274
  nickname: string;
876
1275
  push_at: string;
877
1276
  };
1277
+ type DtoListBadgeReq = any;
1278
+ type DtoListBadgeResult = {
1279
+ /**徽章列表*/
1280
+ badges: DtoBadge[];
1281
+ };
878
1282
  type DtoListForks = {
879
1283
  fork_tree_count: number;
880
1284
  forks: DtoForks[];
@@ -961,17 +1365,82 @@ type DtoMemberAccessLevelInSlugUnion = {
961
1365
  read_privilege: boolean;
962
1366
  write_privilege: boolean;
963
1367
  };
1368
+ type DtoMessage = {
1369
+ /**内容*/
1370
+ content: string;
1371
+
1372
+ /**角色,可选值:user、assistant*/
1373
+ role: string;
1374
+ };
964
1375
  type DtoMetaData = {
965
1376
  author: string;
966
1377
  home_page: string;
967
1378
  license_url: string;
968
- minimum_stability: string;
969
1379
  package_name: string;
970
1380
  package_tag: string;
971
1381
  package_type: string;
972
1382
  readme: string;
973
1383
  repository_url: string;
974
1384
  };
1385
+ type DtoMissionPostViewReq = {
1386
+ /**视图唯一标识列表,按此顺序排序*/
1387
+ ids: string[];
1388
+ };
1389
+ type DtoMissionView = {
1390
+ id: string;
1391
+ name: string;
1392
+ type: DtoMissionViewType;
1393
+ };
1394
+ type DtoMissionViewConfig = {
1395
+ /**字段配置*/
1396
+ fields: DtoMissionViewFieldConfig[];
1397
+
1398
+ /**分组信息*/
1399
+ group: any;
1400
+
1401
+ /**视图唯一标识*/
1402
+ id: string;
1403
+
1404
+ /**筛选条件*/
1405
+ selectors: DtoMissionViewSelector[];
1406
+
1407
+ /**排序条件*/
1408
+ sorts: DtoMissionViewSort[];
1409
+
1410
+ /**视图类型*/
1411
+ type: any;
1412
+ };
1413
+ type DtoMissionViewFieldConfig = {
1414
+ field: string;
1415
+ width: number;
1416
+ };
1417
+ type DtoMissionViewSelector = {
1418
+ field: string;
1419
+ operator: DtoOperatorType;
1420
+ value: string[];
1421
+ };
1422
+ type DtoMissionViewSort = {
1423
+ field: string;
1424
+ order: DtoMissionViewSortOrder;
1425
+ };
1426
+ type DtoMissionViewSortOrder = "asc" | "desc";
1427
+ type DtoMissionViewType = "table" | "board" | "gantt";
1428
+ type DtoMissions4User = {
1429
+ access: any;
1430
+ created_at: string;
1431
+ description: string;
1432
+ freeze: boolean;
1433
+ id: string;
1434
+ name: string;
1435
+ path: string;
1436
+ pinned: boolean;
1437
+ pinned_time: string;
1438
+ star_time: string;
1439
+ stared: boolean;
1440
+ updated_at: string;
1441
+ visibility_level: ConstantVisibility;
1442
+ };
1443
+ type DtoOperatorType = "equal" | "equals" | "not_equals" | "contains" | "contains_all" | "not_contains" | "empty" | "not_empty" | "before" | "after" | "time_selector";
975
1444
  type DtoOrganizationAccess = {
976
1445
  /**AccessRole 用户在当前资源的最大权限*/
977
1446
  access_role: any;
@@ -993,12 +1462,13 @@ type DtoOrganizationAccess = {
993
1462
  follow_count: number;
994
1463
  freeze: boolean;
995
1464
  has_sub_group: boolean;
996
- id: number;
1465
+ id: string;
997
1466
  member_count: number;
998
1467
  name: string;
999
1468
  path: string;
1000
1469
  pinned: boolean;
1001
1470
  pinned_time: string;
1471
+ readme_repo_path: string;
1002
1472
  remark: string;
1003
1473
  site: string;
1004
1474
 
@@ -1052,10 +1522,13 @@ type DtoOrganizationUnion = {
1052
1522
  follow_count: number;
1053
1523
  freeze: boolean;
1054
1524
  has_sub_group: boolean;
1055
- id: number;
1525
+ id: string;
1056
1526
  member_count: number;
1057
1527
  name: string;
1058
1528
  path: string;
1529
+ pinned: boolean;
1530
+ pinned_time: string;
1531
+ readme_repo_path: string;
1059
1532
  remark: string;
1060
1533
  site: string;
1061
1534
 
@@ -1101,8 +1574,11 @@ type DtoPackage = {
1101
1574
  recent_pull_count: number;
1102
1575
  };
1103
1576
  type DtoPackageDetail = {
1577
+ cargo: DtoCommonRegistryPackageDetail;
1104
1578
  composer: DtoCommonRegistryPackageDetail;
1579
+ conan: DtoCommonRegistryPackageDetail;
1105
1580
  docker: DtoContainerPackageDetail;
1581
+ docker_model: DtoDockerModelPackageDetail;
1106
1582
  helm: DtoChartPackageDetail;
1107
1583
  maven: DtoCommonRegistryPackageDetail;
1108
1584
  npm: DtoCommonRegistryPackageDetail;
@@ -1110,32 +1586,78 @@ type DtoPackageDetail = {
1110
1586
  ohpm: DtoCommonRegistryPackageDetail;
1111
1587
  pypi: DtoCommonRegistryPackageDetail;
1112
1588
  };
1113
- type DtoPackageType = "all" | "docker" | "helm" | "npm" | "maven" | "ohpm" | "pypi" | "composer" | "nuget";
1114
- type DtoQueryKnowledgeBaseReq = {
1115
- query: string;
1116
- top_k: number;
1117
- };
1118
- type DtoQueryKnowledgeBaseRes = {
1119
- chunk: string;
1120
- metadata: any;
1121
- score: number;
1589
+ type DtoPackageType = "all" | "docker" | "helm" | "docker-model" | "npm" | "maven" | "ohpm" | "pypi" | "composer" | "nuget" | "conan" | "cargo";
1590
+ type DtoProcessingConfig = {
1591
+ chunk_overlap: number;
1592
+ chunk_size: number;
1593
+ text_separator: string;
1122
1594
  };
1123
- type DtoQuotaRsp = {
1124
- /**The hard limits of the quota,example: { "hard": { "storage": -1}}*/
1125
- hard: any;
1126
-
1127
- /**The repository name of the quota*/
1128
- repository_name: string;
1129
-
1130
- /**The cnb default quota value*/
1131
- storage_per_project: string;
1595
+ type DtoPyPiMetaData = {
1596
+ author: string;
1597
+ home_page: string;
1598
+ license_url: string;
1599
+ minimum_stability: string;
1600
+ package_name: string;
1601
+ package_tag: string;
1602
+ package_type: string;
1603
+ readme: string;
1604
+ repository_url: string;
1605
+ };
1606
+ type DtoPyPiRegistryTagDetail = {
1607
+ address: string;
1608
+ dependencies: DtoDependency[];
1609
+ desc: string;
1610
+ files: DtoFile[];
1611
+ last_pusher: DtoLastPusher;
1612
+ metadata: DtoPyPiMetaData;
1613
+ package: string;
1614
+ pull_count: number;
1615
+ recent_pull_count: number;
1616
+ size: number;
1617
+ slug: string;
1618
+ status: string;
1619
+ tag: string;
1620
+ tags: DtoCommonRegistryTag[];
1621
+ };
1622
+ type DtoQueryKnowledgeBaseReq = {
1623
+ /**元数据过滤条件*/
1624
+ metadata_filtering_conditions: any;
1625
+
1626
+ /**查询语句*/
1627
+ query: string;
1628
+
1629
+ /**分数阈值*/
1630
+ score_threshold: number;
1132
1631
 
1133
- /**The used limits of the quota,example: { "used": { "storage": 0}}*/
1134
- used: any;
1632
+ /**返回结果的数量*/
1633
+ top_k: number;
1634
+ };
1635
+ type DtoQueryKnowledgeBaseRes = {
1636
+ chunk: string;
1637
+ metadata: any;
1638
+ score: number;
1135
1639
  };
1136
- type DtoRegistryLevelQuotaRsp = {
1137
- code_repo: DtoCodeRepoQuotaRsp;
1138
- common_registry: DtoQuotaRsp;
1640
+ type DtoRegistry4User = {
1641
+ access: any;
1642
+ artifact_policy: "all" | "snapshot" | "release";
1643
+ created_at: string;
1644
+ description: string;
1645
+ freeze: boolean;
1646
+ id: string;
1647
+ kind: string;
1648
+ last_push_time: string;
1649
+ last_push_user: DtoUsers;
1650
+ name: string;
1651
+ overwrite_policy: "forbid" | "allow";
1652
+ path: string;
1653
+ pinned: boolean;
1654
+ pinned_time: string;
1655
+ pkg_count: number;
1656
+ star_time: string;
1657
+ stared: boolean;
1658
+ updated_at: string;
1659
+ used_size: number;
1660
+ visibility_level: ConstantVisibility;
1139
1661
  };
1140
1662
  type DtoRepoPatch = {
1141
1663
  description: string;
@@ -1143,6 +1665,37 @@ type DtoRepoPatch = {
1143
1665
  site: string;
1144
1666
  topics: string[];
1145
1667
  };
1668
+ type DtoRepoSecurityOverview = {
1669
+ code_issue: DtoCodeIssueSummary;
1670
+ code_sensitive: DtoCodeSensitiveSummary;
1671
+ code_vulnerability: DtoCodeVulOverview;
1672
+ risk_cnt: DtoRepoSecurityRiskCnt;
1673
+ };
1674
+ type DtoRepoSecurityRiskCnt = {
1675
+ /**是否开启源码扫描*/
1676
+ code_issue_enable: boolean;
1677
+
1678
+ /**源码扫描风险数量 (严重+高风险)*/
1679
+ code_issue_risk_cnt: number;
1680
+
1681
+ /**是否开启代码敏感信息扫描*/
1682
+ code_sensitive_enable: boolean;
1683
+
1684
+ /**敏感信息风险数量(高风险)*/
1685
+ code_sensitive_risk_cnt: number;
1686
+
1687
+ /**是否开启代码漏洞扫描*/
1688
+ code_vulnerability_enable: boolean;
1689
+
1690
+ /**代码漏洞风险数量(严重+高风险)*/
1691
+ code_vulnerability_risk_cnt: number;
1692
+
1693
+ /**是否开启安全模块*/
1694
+ enable: boolean;
1695
+
1696
+ /**总计数*/
1697
+ total: number;
1698
+ };
1146
1699
  type DtoRepoStarUsers = {
1147
1700
  my_follow_count: number;
1148
1701
  total: number;
@@ -1159,7 +1712,7 @@ type DtoRepos4User = {
1159
1712
  /**预留*/
1160
1713
  forked_from_repo: any;
1161
1714
  freeze: boolean;
1162
- id: number;
1715
+ id: string;
1163
1716
 
1164
1717
  /**仓库程序语言,预留*/
1165
1718
  language: string;
@@ -1215,7 +1768,7 @@ type DtoRepos4UserBase = {
1215
1768
  /**预留*/
1216
1769
  forked_from_repo: any;
1217
1770
  freeze: boolean;
1218
- id: number;
1771
+ id: string;
1219
1772
 
1220
1773
  /**仓库程序语言,预留*/
1221
1774
  language: string;
@@ -1299,10 +1852,10 @@ type DtoStartBuildReq = {
1299
1852
  tag: string;
1300
1853
  };
1301
1854
  type DtoStartWorkspaceReq = {
1302
- /**分支名,例如:main*/
1855
+ /**分支名或 tag 名,例如:main 或 v1.0.0。*/
1303
1856
  branch: string;
1304
1857
 
1305
- /**Git ref,例如:refs/heads/main*/
1858
+ /**Git ref,例如,refs/heads/main 或 refs/tags/v1.0.0。不传 ref 时默认基于分支启动*/
1306
1859
  ref: string;
1307
1860
  };
1308
1861
  type DtoStartWorkspaceResult = {
@@ -1319,8 +1872,11 @@ type DtoStartWorkspaceResult = {
1319
1872
  url: string;
1320
1873
  };
1321
1874
  type DtoTag = {
1875
+ cargo: DtoCommonRegistryTag[];
1322
1876
  composer: DtoCommonRegistryTag[];
1877
+ conan: DtoCommonRegistryTag[];
1323
1878
  docker: DtoContainerTag[];
1879
+ docker_model: DtoDockerModelTag[];
1324
1880
  helm: DtoChartTag[];
1325
1881
  maven: DtoCommonRegistryTag[];
1326
1882
  npm: DtoCommonRegistryTag[];
@@ -1330,14 +1886,17 @@ type DtoTag = {
1330
1886
  pypi: DtoCommonRegistryTag[];
1331
1887
  };
1332
1888
  type DtoTagDetail = {
1889
+ cargo: DtoCommonRegistryTagDetail;
1333
1890
  composer: DtoCommonRegistryTagDetail;
1891
+ conan: DtoConanRegistryTagDetail;
1334
1892
  docker: DtoContainerTagDetail;
1893
+ docker_model: DtoDockerModelTagDetail;
1335
1894
  helm: DtoChartTagDetail;
1336
1895
  maven: DtoCommonRegistryTagDetail;
1337
1896
  npm: DtoCommonRegistryTagDetail;
1338
1897
  nuget: DtoCommonRegistryTagDetail;
1339
1898
  ohpm: DtoCommonRegistryTagDetail;
1340
- pypi: DtoCommonRegistryTagDetail;
1899
+ pypi: DtoPyPiRegistryTagDetail;
1341
1900
  };
1342
1901
  type DtoTransferSlugReq = {
1343
1902
  source: string;
@@ -1347,6 +1906,8 @@ type DtoUpdateGroupReq = {
1347
1906
  description: string;
1348
1907
  domain: string;
1349
1908
  email: string;
1909
+ readme_repo_id: number;
1910
+ readme_repo_path: string;
1350
1911
  remark: string;
1351
1912
  site: string;
1352
1913
  wechat_mp: string;
@@ -1355,6 +1916,19 @@ type DtoUpdateMembersRequest = {
1355
1916
  access_level: string;
1356
1917
  is_outside_collaborator: boolean;
1357
1918
  };
1919
+ type DtoUpdateUserInfoPayload = {
1920
+ address: string;
1921
+ bio: string;
1922
+ company: string;
1923
+ location: string;
1924
+ name: string;
1925
+ nickname: string;
1926
+ readme_repo_id: number;
1927
+ readme_repo_path: string;
1928
+ site: string;
1929
+ wechat_mp: string;
1930
+ wechat_mp_qrcode: string;
1931
+ };
1358
1932
  type DtoUploadAssetsResponse = {
1359
1933
  assets: DtoAssets;
1360
1934
  form: any;
@@ -1363,7 +1937,34 @@ type DtoUploadAssetsResponse = {
1363
1937
  token: string;
1364
1938
  upload_url: string;
1365
1939
  };
1940
+ type DtoUploadBadgeReq = {
1941
+ /**徽章 key。目前允许上传的 key 包括:security/tca*/
1942
+ key: string;
1943
+
1944
+ /**是否上传 latest 徽章。默认为 false:不上传 latest,仅上传 commitid 对应的徽章;true:上传 latest 和 commitid 对应的徽章*/
1945
+ latest: boolean;
1946
+
1947
+ /**点击徽章右侧的跳转链接*/
1948
+ link: string;
1949
+
1950
+ /**徽章右侧显示内容*/
1951
+ message: string;
1952
+
1953
+ /**commit id*/
1954
+ sha: string;
1955
+
1956
+ /**徽章数值,不传默认用 message 代替*/
1957
+ value: number;
1958
+ };
1959
+ type DtoUploadBadgeResult = {
1960
+ /**latest 对应的徽章 url 地址。如果没有传 latest: true,则该字段为空字符串*/
1961
+ latest_url: string;
1962
+
1963
+ /**commitid 对应的徽章 url 地址*/
1964
+ url: string;
1965
+ };
1366
1966
  type DtoUploadRequestParams = {
1967
+ ext: any;
1367
1968
  name: string;
1368
1969
  size: number;
1369
1970
  };
@@ -1418,6 +2019,10 @@ type DtoUsersResult = {
1418
2019
  locked: boolean;
1419
2020
  mission_count: number;
1420
2021
  nickname: string;
2022
+ public_mission_count: number;
2023
+ public_registry_count: number;
2024
+ public_repo_count: number;
2025
+ readme_repo_path: string;
1421
2026
  registry_count: number;
1422
2027
  repo_count: number;
1423
2028
  reward_amount: number;
@@ -1437,6 +2042,7 @@ type DtoUsersResult = {
1437
2042
  };
1438
2043
  type DtoUsersResultForSelf = {
1439
2044
  address: string;
2045
+ appearance: string;
1440
2046
 
1441
2047
  /**用户赞赏码状态,0-无赞赏码,1-有*/
1442
2048
  appreciate_status: number;
@@ -1462,6 +2068,10 @@ type DtoUsersResultForSelf = {
1462
2068
  mission_count: number;
1463
2069
  next_updated_name_at: string;
1464
2070
  nickname: string;
2071
+ public_mission_count: number;
2072
+ public_registry_count: number;
2073
+ public_repo_count: number;
2074
+ readme_repo_path: string;
1465
2075
  registry_count: number;
1466
2076
  repo_count: number;
1467
2077
  reward_amount: number;
@@ -1503,8 +2113,11 @@ type DtoUsersWithAccessLevelInSlug = {
1503
2113
  verified_expire_in: string;
1504
2114
  };
1505
2115
  type DtoWorkspaceDeleteReq = {
1506
- /**创建环境的流水线 id*/
2116
+ /**表示要删除的开发环境流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/
1507
2117
  pipelineId: string;
2118
+
2119
+ /**表示要删除的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
2120
+ sn: string;
1508
2121
  };
1509
2122
  type DtoWorkspaceDeleteResult = {
1510
2123
  /**返回码,0 表示成功,1 表示失败*/
@@ -1514,12 +2127,33 @@ type DtoWorkspaceDeleteResult = {
1514
2127
  message: string;
1515
2128
  };
1516
2129
  type DtoWorkspaceDetailResult = {
2130
+ /**CodeBuddy 国际版客户端 remote-ssh 访问 schema 地址*/
2131
+ codebuddy: string;
2132
+
2133
+ /**CodeBuddy 国内版客户端 remote-ssh 访问 schema 地址*/
2134
+ codebuddycn: string;
2135
+
1517
2136
  /**Cursor 客户端 remote-ssh 访问 schema 地址*/
1518
2137
  cursor: string;
1519
2138
 
2139
+ /**jetbrains 系列 ide 的 jetbrains gateway 访问 schema 地址,环境内有安装 JetBrains 系列 ide 才会有*/
2140
+ jetbrains: any;
2141
+
2142
+ /**选择入口页面 url*/
2143
+ jumpUrl: string;
2144
+
2145
+ /**remote-ssh 连接地址*/
2146
+ remoteSsh: string;
2147
+
2148
+ /**ssh 登录命令*/
2149
+ ssh: string;
2150
+
1520
2151
  /**VSCode 客户端 remote-ssh 访问 schema 地址*/
1521
2152
  vscode: string;
1522
2153
 
2154
+ /**Vscode 预览版客户端 remote-ssh 访问 schema 地址*/
2155
+ "vscode-insiders": string;
2156
+
1523
2157
  /**WebIDE 访问 url*/
1524
2158
  webide: string;
1525
2159
  };
@@ -1585,32 +2219,50 @@ type DtoWorkspaceListResult = {
1585
2219
  /**总数*/
1586
2220
  total: number;
1587
2221
  };
1588
- type FlagsRepo = 0 | 2;
2222
+ type DtoWorkspaceStopReq = {
2223
+ /**表示要停止的开发环境的流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/
2224
+ pipelineId: string;
2225
+
2226
+ /**表示要停止的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
2227
+ sn: string;
2228
+ };
2229
+ type DtoWorkspaceStopResult = {
2230
+ /**表示停止的开发环境流水线日志地址*/
2231
+ buildLogUrl: string;
2232
+
2233
+ /**表示操作结果提示信息*/
2234
+ message: string;
2235
+
2236
+ /**表示停止的开发环境流水线构建号*/
2237
+ sn: string;
2238
+ };
2239
+ type FlagsRepo = "Unknown" | "KnowledgeBase" | "HideRank";
2240
+ type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiCommitStatus = {
2241
+ context: string;
2242
+ created_at: string;
2243
+ description: string;
2244
+ state: string;
2245
+ target_url: string;
2246
+ updated_at: string;
2247
+ };
1589
2248
  type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo = {
2249
+ email: string;
1590
2250
  freeze: boolean;
1591
2251
  nickname: string;
1592
2252
  username: string;
1593
2253
  };
1594
- type GitWoaComCnbMonorepoGitInternalAppGitServiceBffWebUserInfo = {
1595
- freeze: boolean;
1596
- nickname: string;
1597
- username: string;
2254
+ type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus = {
2255
+ context: string;
2256
+ created_at: string;
2257
+ description: string;
2258
+ state: string;
2259
+ target_url: string;
2260
+ updated_at: string;
1598
2261
  };
1599
2262
  type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo = {
1600
2263
  nickname: string;
1601
2264
  username: string;
1602
2265
  };
1603
- type HttpUpdateUserInfoPayload = {
1604
- address: string;
1605
- bio: string;
1606
- company: string;
1607
- location: string;
1608
- name: string;
1609
- nickname: string;
1610
- site: string;
1611
- wechat_mp: string;
1612
- wechat_mp_qrcode: string;
1613
- };
1614
2266
  type OpenapiCreateBranchForm = {
1615
2267
  name: string;
1616
2268
  start_point: string;
@@ -1662,7 +2314,7 @@ type OpenapiPutTagAnnotation = {
1662
2314
  type OpenapiPutTagAnnotationsForm = {
1663
2315
  annotations: OpenapiPutTagAnnotation[];
1664
2316
  };
1665
- type OrganizationSettingValue = 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65536 | 131072 | 262144 | 524288;
2317
+ 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";
1666
2318
  type WebCommitAnnotation = {
1667
2319
  key: string;
1668
2320
  meta: any;
@@ -1672,19 +2324,6 @@ type WebCommitAnnotationInBatch = {
1672
2324
  annotations: WebCommitAnnotation[];
1673
2325
  commit_hash: string;
1674
2326
  };
1675
- type WebCommitStatus = {
1676
- context: string;
1677
- created_at: string;
1678
- description: string;
1679
- state: string;
1680
- target_url: string;
1681
- updated_at: string;
1682
- };
1683
- type WebCommitStatuses = {
1684
- sha: string;
1685
- state: string;
1686
- statuses: WebCommitStatus[];
1687
- };
1688
2327
  type WebContributorTrend = {
1689
2328
  /**贡献者信息*/
1690
2329
  author: any;
@@ -1695,14 +2334,6 @@ type WebContributorTrend = {
1695
2334
  /**贡献者以周为单位的提交趋势数据*/
1696
2335
  weeks: WebWeek[];
1697
2336
  };
1698
- type WebDeferredCommit = {
1699
- oid: string;
1700
- signature_information: WebSignatureInformation;
1701
- status_check_statuses: WebCommitStatuses;
1702
-
1703
- /**one of `verified`, `unverified`, `unsigned`*/
1704
- verified_status: string;
1705
- };
1706
2337
  type WebGetCommitAnnotationsInBatchForm = {
1707
2338
  commit_hashes: string[];
1708
2339
  keys: string[];
@@ -1726,17 +2357,6 @@ type WebRepoContribTrend = {
1726
2357
  /**是否统计增删的行数, 默认总提交超过 10000 的仓库不统计*/
1727
2358
  with_line_counts: boolean;
1728
2359
  };
1729
- type WebSignatureInformation = {
1730
- has_signature: boolean;
1731
- key_expired: boolean;
1732
- key_id: string;
1733
- signature_type: string;
1734
- signature_verification_reason: string;
1735
- signed_by_cnb: boolean;
1736
- signer: GitWoaComCnbMonorepoGitInternalAppGitServiceBffWebUserInfo;
1737
- verified: boolean;
1738
- verified_at: string;
1739
- };
1740
2360
  type WebTagAnnotation = {
1741
2361
  key: string;
1742
2362
  meta: any;
@@ -1755,22 +2375,18 @@ type WebWeek = {
1755
2375
  /**周的时间戳*/
1756
2376
  w: number;
1757
2377
  };
1758
- type WebapiCherryPickPullRequestForm = {
1759
- create_pr: boolean;
1760
- target_branch: string;
1761
- };
1762
- type WebapiRevertPullRequestForm = {
1763
- create_pr: boolean;
1764
- target_branch: string;
1765
- };
1766
2378
  //#endregion
1767
2379
  //#region src/client.d.ts
2380
+ type Event_GetEvents = (params: {
2381
+ repo: string;
2382
+ date: string;
2383
+ }) => Promise<any>;
1768
2384
  type Organizations_CreateOrganization = (params: {
1769
2385
  request: DtoCreateGroupReq;
1770
2386
  }) => Promise<any>;
1771
2387
  type Users_GetUserInfo = () => Promise<DtoUsersResultForSelf>;
1772
2388
  type Users_UpdateUserInfo = (params: {
1773
- request: HttpUpdateUserInfoPayload;
2389
+ request: DtoUpdateUserInfoPayload;
1774
2390
  }) => Promise<any>;
1775
2391
  type Users_AutoCompleteSource = (params?: {
1776
2392
  source_type?: "Group" | "Repo";
@@ -1781,6 +2397,11 @@ type Users_AutoCompleteSource = (params?: {
1781
2397
  order_by?: "created_at" | "slug_path";
1782
2398
  desc?: boolean;
1783
2399
  }) => Promise<string[]>;
2400
+ type Users_ListGPGKeys = (params?: {
2401
+ page?: number;
2402
+ page_size?: number;
2403
+ keyword?: string;
2404
+ }) => Promise<any>;
1784
2405
  type Organizations_ListTopGroups = (params?: {
1785
2406
  page?: number;
1786
2407
  page_size?: number;
@@ -1788,7 +2409,7 @@ type Organizations_ListTopGroups = (params?: {
1788
2409
  role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
1789
2410
  }) => Promise<DtoOrganizationAccess[]>;
1790
2411
  type Organizations_ListGroups = (params: {
1791
- group: string;
2412
+ slug: string;
1792
2413
  page?: number;
1793
2414
  page_size?: number;
1794
2415
  access?: number;
@@ -1797,18 +2418,19 @@ type Repositories_GetRepos = (params?: {
1797
2418
  page?: number;
1798
2419
  page_size?: number;
1799
2420
  search?: string;
1800
- filter_type?: "private" | "public" | "encrypted";
2421
+ filter_type?: "private" | "public" | "secret";
1801
2422
  role?: "Reporter" | "Developer" | "Master" | "Owner";
1802
2423
  flags?: "KnowledgeBase";
2424
+ status?: "active" | "archived";
1803
2425
  order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
1804
2426
  desc?: boolean;
1805
2427
  }) => Promise<DtoRepos4User[]>;
1806
- type Repositories_GetUserAllStaredRepos = (params?: {
2428
+ type Starring_GetUserAllStaredRepos = (params?: {
1807
2429
  page?: number;
1808
2430
  page_size?: number;
1809
2431
  search?: string;
1810
2432
  desc?: boolean;
1811
- order_by?: "created_at" | "last_updated_at" | "stars" | "forks";
2433
+ order_by?: "created_at" | "last_updated_at" | "stared_time" | "stars" | "forks";
1812
2434
  }) => Promise<DtoRepos4User[]>;
1813
2435
  type Users_GetUserInfoByName = (params: {
1814
2436
  username: string;
@@ -1832,8 +2454,6 @@ type Organizations_GetGroupsByUserID = (params: {
1832
2454
  search?: string;
1833
2455
  page?: number;
1834
2456
  page_size?: number;
1835
- desc?: boolean;
1836
- order_by?: "join_time" | "created_at";
1837
2457
  }) => Promise<DtoOrganizationUnion>;
1838
2458
  type Repositories_GetPinnedRepoByID = (params: {
1839
2459
  username: string;
@@ -1847,6 +2467,9 @@ type Activities_GetUserRepoActivityDetails = (params: {
1847
2467
  type Repositories_GetReposByUserName = (params: {
1848
2468
  username: string;
1849
2469
  search?: string;
2470
+ filter_type?: "private" | "public" | "secret";
2471
+ flags?: "KnowledgeBase";
2472
+ status?: "active" | "archived";
1850
2473
  role?: "Reporter" | "Developer" | "Master" | "Owner";
1851
2474
  page?: number;
1852
2475
  page_size?: number;
@@ -1873,10 +2496,9 @@ type Workspace_ListWorkspaces = (params?: {
1873
2496
  start?: string;
1874
2497
  status?: string;
1875
2498
  }) => Promise<DtoWorkspaceListResult>;
1876
- type Organizations_DeleteOrganization = (params: {
1877
- group: string;
1878
- "x-cnb-identity-ticket"?: string;
1879
- }) => Promise<any>;
2499
+ type Workspace_WorkspaceStop = (params: {
2500
+ request: DtoWorkspaceStopReq;
2501
+ }) => Promise<DtoWorkspaceStopResult>;
1880
2502
  type Organizations_GetGroup = (params: {
1881
2503
  group: string;
1882
2504
  }) => Promise<DtoOrganizationAccess>;
@@ -1884,6 +2506,10 @@ type Organizations_UpdateOrganization = (params: {
1884
2506
  group: string;
1885
2507
  request: DtoUpdateGroupReq;
1886
2508
  }) => Promise<any>;
2509
+ type Organizations_DeleteOrganization = (params: {
2510
+ group: string;
2511
+ "x-cnb-identity-ticket"?: string;
2512
+ }) => Promise<any>;
1887
2513
  type Collaborators_ListInheritMembersOfGroup = (params: {
1888
2514
  group: string;
1889
2515
  search?: string;
@@ -1906,63 +2532,25 @@ type Contributors_ListMemberAccessLevelOfGroup = (params: {
1906
2532
  group: string;
1907
2533
  username: string;
1908
2534
  }) => Promise<DtoMemberAccessLevel[]>;
1909
- type Collaborators_DeleteMembersOfGroup = (params: {
2535
+ type Collaborators_UpdateMembersOfGroup = (params: {
1910
2536
  group: string;
1911
2537
  username: string;
2538
+ request: DtoUpdateMembersRequest;
1912
2539
  }) => Promise<any>;
1913
2540
  type Collaborators_AddMembersOfGroup = (params: {
1914
2541
  group: string;
1915
2542
  username: string;
1916
2543
  request: DtoUpdateMembersRequest;
1917
2544
  }) => Promise<any>;
1918
- type Collaborators_UpdateMembersOfGroup = (params: {
2545
+ type Collaborators_DeleteMembersOfGroup = (params: {
1919
2546
  group: string;
1920
2547
  username: string;
1921
- request: DtoUpdateMembersRequest;
1922
- }) => Promise<any>;
1923
- type Missions_CreateMission = (params: {
1924
- group: string;
1925
- request: DtoCreateMissionReq;
1926
- }) => Promise<any>;
1927
- type Repositories_GetPinnedRepoByGroup = (params: {
1928
- group: string;
1929
- }) => Promise<DtoRepos4UserBase[]>;
1930
- type Repositories_SetPinnedRepoByGroup = (params: {
1931
- group: string;
1932
- request: string[];
1933
- }) => Promise<DtoRepos4UserBase[]>;
1934
- type Repositories_GetGroupSubRepos = (params: {
1935
- group: string;
1936
- page?: number;
1937
- page_size?: number;
1938
- filter_type?: "private" | "public" | "encrypted";
1939
- order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path";
1940
- desc?: boolean;
1941
- descendant?: "all" | "sub" | "grand";
1942
- search?: string;
1943
- }) => Promise<DtoRepos4User[]>;
1944
- type Repositories_CreateRepo = (params: {
1945
- group: string;
1946
- request: DtoCreateRepoReq;
1947
- }) => Promise<any>;
1948
- type Organizations_GetGroupSetting = (params: {
1949
- group: string;
1950
- }) => Promise<DtoOrganizationSettingWithParent>;
1951
- type Organizations_UpdateGroupSetting = (params: {
1952
- group: string;
1953
- request: DtoGroupSettingReq;
1954
2548
  }) => Promise<any>;
1955
- type Organizations_ListSubgroups = (params: {
1956
- group: string;
1957
- search?: string;
1958
- page: number;
1959
- page_size: number;
1960
- }) => Promise<DtoOrganizationUnion[]>;
1961
2549
  type Organizations_TransferGroup = (params: {
1962
2550
  group: string;
1963
2551
  request: DtoTransferSlugReq;
1964
2552
  }) => Promise<any>;
1965
- type Assets_UploadLogos = (params: {
2553
+ type Organizations_UploadLogos = (params: {
1966
2554
  group: string;
1967
2555
  request: DtoUploadRequestParams;
1968
2556
  }) => Promise<DtoUploadAssetsResponse>;
@@ -1975,7 +2563,30 @@ type Collaborators_AddMembersOfMission = (params: {
1975
2563
  username: string;
1976
2564
  request: DtoUpdateMembersRequest;
1977
2565
  }) => Promise<any>;
1978
- type Artifactory_DeleteRegistry = (params: {
2566
+ type Missions_GetMissionViewConfig = (params: {
2567
+ mission: string;
2568
+ id: string;
2569
+ }) => Promise<DtoMissionViewConfig>;
2570
+ type Missions_PostMissionViewConfig = (params: {
2571
+ mission: string;
2572
+ request: DtoMissionViewConfig;
2573
+ }) => Promise<any>;
2574
+ type Missions_GetMissionViewList = (params: {
2575
+ mission: string;
2576
+ }) => Promise<DtoMissionView[]>;
2577
+ type Missions_PutMissionViewList = (params: {
2578
+ mission: string;
2579
+ request: DtoMissionView;
2580
+ }) => Promise<any>;
2581
+ type Missions_PostMissionViewList = (params: {
2582
+ mission: string;
2583
+ request: DtoMissionPostViewReq;
2584
+ }) => Promise<any>;
2585
+ type Missions_SetMissionVisibility = (params: {
2586
+ mission: string;
2587
+ visibility: "Private" | "Public";
2588
+ }) => Promise<any>;
2589
+ type Registries_DeleteRegistry = (params: {
1979
2590
  registry: string;
1980
2591
  "x-cnb-identity-ticket"?: string;
1981
2592
  }) => Promise<any>;
@@ -1984,17 +2595,43 @@ type Collaborators_AddMembersOfRegistry = (params: {
1984
2595
  username: string;
1985
2596
  request: DtoUpdateMembersRequest;
1986
2597
  }) => Promise<any>;
1987
- type Repositories_DeleteRepo = (params: {
1988
- repo: string;
1989
- "x-cnb-identity-ticket"?: string;
2598
+ type Registries_SetRegistryVisibility = (params: {
2599
+ registry: string;
2600
+ visibility: "Private" | "Public";
1990
2601
  }) => Promise<any>;
1991
2602
  type Repositories_GetByID = (params: {
1992
2603
  repo: string;
1993
2604
  }) => Promise<DtoRepos4User>;
2605
+ type Repositories_DeleteRepo = (params: {
2606
+ repo: string;
2607
+ "x-cnb-identity-ticket"?: string;
2608
+ }) => Promise<any>;
1994
2609
  type Repositories_UpdateRepo = (params: {
1995
2610
  repo: string;
1996
2611
  request: DtoRepoPatch;
1997
2612
  }) => Promise<any>;
2613
+ type AI_AiChatCompletions = (params: {
2614
+ repo: string;
2615
+ request: DtoAiChatCompletionsReq;
2616
+ }) => Promise<DtoAiChatCompletionsResult>;
2617
+ type Badge_GetBadge = (params: {
2618
+ repo: string;
2619
+ sha: string;
2620
+ badge: string;
2621
+ request: DtoGetBadgeReq;
2622
+ }) => Promise<DtoGetBadgeResult>;
2623
+ type Badge_ListBadge = (params: {
2624
+ repo: string;
2625
+ request: DtoListBadgeReq;
2626
+ }) => Promise<DtoListBadgeResult>;
2627
+ type Badge_UploadBadge = (params: {
2628
+ repo: string;
2629
+ request: DtoUploadBadgeReq;
2630
+ }) => Promise<DtoUploadBadgeResult>;
2631
+ type AI_AiAutoPr = (params: {
2632
+ repo: string;
2633
+ request: DtoAiAutoPrReq;
2634
+ }) => Promise<DtoAiAutoPrResult>;
1998
2635
  type Build_GetBuildLogs = (params: {
1999
2636
  repo: string;
2000
2637
  createTime?: string;
@@ -2016,6 +2653,14 @@ type Build_GetBuildStage = (params: {
2016
2653
  pipelineId: string;
2017
2654
  stageId: string;
2018
2655
  }) => Promise<DtoBuildStageResult>;
2656
+ type Build_BuildLogsDelete = (params: {
2657
+ repo: string;
2658
+ sn: string;
2659
+ }) => Promise<DtoBuildLogsDeleteResult>;
2660
+ type Build_BuildRunnerDownloadLog = (params: {
2661
+ repo: string;
2662
+ pipelineId: string;
2663
+ }) => Promise<any>;
2019
2664
  type Build_StartBuild = (params: {
2020
2665
  repo: string;
2021
2666
  request: DtoStartBuildReq;
@@ -2034,29 +2679,24 @@ type Assets_GetCommitAssets = (params: {
2034
2679
  filename: string;
2035
2680
  share?: boolean;
2036
2681
  }) => Promise<any>;
2037
- type RepoContributor_GetRepoContributorTrend = (params: {
2038
- repo: string;
2039
- limit?: number;
2040
- exclude_external_users?: boolean;
2041
- }) => Promise<WebRepoContribTrend>;
2042
2682
  type Repositories_ListForksRepos = (params: {
2043
2683
  repo: string;
2044
2684
  start_from_root?: boolean;
2045
- page: number;
2046
- page_size: number;
2685
+ page?: number;
2686
+ page_size?: number;
2047
2687
  }) => Promise<DtoListForks>;
2048
- type Repositories_CreateAFork = (params: {
2049
- repo: string;
2050
- request: DtoForkReq;
2051
- }) => Promise<any>;
2052
2688
  type Git_GetArchiveCommitChangedFiles = (params: {
2053
2689
  repo: string;
2054
- sha1?: string;
2690
+ sha1: string;
2055
2691
  }) => Promise<any>;
2056
2692
  type Git_GetArchiveCompareChangedFiles = (params: {
2057
2693
  repo: string;
2058
2694
  base_head: string;
2059
2695
  }) => Promise<any>;
2696
+ type Git_GetArchive = (params: {
2697
+ repo: string;
2698
+ ref_with_path: string;
2699
+ }) => Promise<any>;
2060
2700
  type Git_CreateBlob = (params: {
2061
2701
  repo: string;
2062
2702
  post_blob_form: ApiPostBlobForm;
@@ -2070,14 +2710,14 @@ type Git_CreateBranch = (params: {
2070
2710
  repo: string;
2071
2711
  create_branch_form: OpenapiCreateBranchForm;
2072
2712
  }) => Promise<any>;
2713
+ type Git_GetBranch = (params: {
2714
+ repo: string;
2715
+ branch: string;
2716
+ }) => Promise<ApiBranchDetail>;
2073
2717
  type Git_DeleteBranch = (params: {
2074
2718
  repo: string;
2075
2719
  branch: string;
2076
2720
  }) => Promise<any>;
2077
- type Git_GetBranch = (params: {
2078
- repo: string;
2079
- branch?: string;
2080
- }) => Promise<ApiBranchDetail>;
2081
2721
  type Git_GetCommitAnnotationsInBatch = (params: {
2082
2722
  repo: string;
2083
2723
  get_commit_annotations_form: WebGetCommitAnnotationsInBatchForm;
@@ -2103,7 +2743,7 @@ type Git_GetCommitAssetsBySha = (params: {
2103
2743
  type Git_PostCommitAssetUploadConfirmation = (params: {
2104
2744
  repo: string;
2105
2745
  sha1: string;
2106
- token: string;
2746
+ upload_token: string;
2107
2747
  asset_path: string;
2108
2748
  }) => Promise<any>;
2109
2749
  type Git_PostCommitAssetUploadURL = (params: {
@@ -2119,7 +2759,7 @@ type Git_DeleteCommitAsset = (params: {
2119
2759
  type Git_GetCommitStatuses = (params: {
2120
2760
  repo: string;
2121
2761
  commitish: string;
2122
- }) => Promise<ApiCommitStatus[]>;
2762
+ }) => Promise<GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiCommitStatus[]>;
2123
2763
  type Git_ListCommits = (params: {
2124
2764
  repo: string;
2125
2765
  sha?: string;
@@ -2138,18 +2778,23 @@ type Git_GetCompareCommits = (params: {
2138
2778
  repo: string;
2139
2779
  base_head: string;
2140
2780
  }) => Promise<ApiCompareResponse>;
2781
+ type Git_GetContentWithoutPath = (params: {
2782
+ repo: string;
2783
+ ref?: string;
2784
+ }) => Promise<ApiContent>;
2141
2785
  type Git_GetContent = (params: {
2142
2786
  repo: string;
2143
2787
  file_path: string;
2144
2788
  ref?: string;
2145
2789
  }) => Promise<ApiContent>;
2146
- type Git_ListDeferredCommits = (params: {
2147
- repo: string;
2148
- cs: string;
2149
- }) => Promise<WebDeferredCommit[]>;
2150
2790
  type Git_GetHead = (params: {
2151
2791
  repo: string;
2152
2792
  }) => Promise<OpenapiHeadRef>;
2793
+ type Git_GetRaw = (params: {
2794
+ repo: string;
2795
+ ref_with_path: string;
2796
+ max_in_byte?: number;
2797
+ }) => Promise<string>;
2153
2798
  type Git_DeleteTagAnnotation = (params: {
2154
2799
  repo: string;
2155
2800
  tag_with_key: string;
@@ -2172,14 +2817,14 @@ type Git_CreateTag = (params: {
2172
2817
  repo: string;
2173
2818
  post_tag_form: ApiPostTagFrom;
2174
2819
  }) => Promise<any>;
2175
- type Git_DeleteTag = (params: {
2176
- repo: string;
2177
- tag: string;
2178
- }) => Promise<any>;
2179
2820
  type Git_GetTag = (params: {
2180
2821
  repo: string;
2181
2822
  tag: string;
2182
2823
  }) => Promise<ApiTag>;
2824
+ type Git_DeleteTag = (params: {
2825
+ repo: string;
2826
+ tag: string;
2827
+ }) => Promise<any>;
2183
2828
  type Collaborators_ListInheritMembersOfRepo = (params: {
2184
2829
  repo: string;
2185
2830
  search?: string;
@@ -2195,6 +2840,7 @@ type Issues_ListIssues = (params: {
2195
2840
  keyword?: string;
2196
2841
  priority?: string;
2197
2842
  labels?: string;
2843
+ labels_operator?: string;
2198
2844
  authors?: string;
2199
2845
  assignees?: string;
2200
2846
  updated_time_begin?: string;
@@ -2216,25 +2862,25 @@ type Issues_UpdateIssue = (params: {
2216
2862
  number: number;
2217
2863
  patch_issue_form: ApiPatchIssueForm;
2218
2864
  }) => Promise<ApiIssueDetail>;
2865
+ type Issues_ListIssueAssignees = (params: {
2866
+ repo: string;
2867
+ number: string;
2868
+ }) => Promise<GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]>;
2869
+ type Issues_PostIssueAssignees = (params: {
2870
+ repo: string;
2871
+ number: string;
2872
+ post_issue_assignees_form: ApiPostIssueAssigneesForm;
2873
+ }) => Promise<any>;
2219
2874
  type Issues_DeleteIssueAssignees = (params: {
2220
2875
  repo: string;
2221
2876
  number: string;
2222
2877
  delete_issue_assignees_form: ApiDeleteIssueAssigneesForm;
2223
2878
  }) => Promise<ApiIssueDetail>;
2224
- type Issues_ListIssueAssignees = (params: {
2225
- repo: string;
2226
- number: string;
2227
- }) => Promise<GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]>;
2228
2879
  type Issues_PatchIssueAssignees = (params: {
2229
2880
  repo: string;
2230
2881
  number: string;
2231
2882
  patch_issue_assignees_form: ApiPatchIssueAssigneesForm;
2232
2883
  }) => Promise<ApiIssueDetail>;
2233
- type Issues_PostIssueAssignees = (params: {
2234
- repo: string;
2235
- number: string;
2236
- post_issue_assignees_form: ApiPostIssueAssigneesForm;
2237
- }) => Promise<any>;
2238
2884
  type Issues_CanUserBeAssignedToIssue = (params: {
2239
2885
  repo: string;
2240
2886
  number: string;
@@ -2262,37 +2908,37 @@ type Issues_PatchIssueComment = (params: {
2262
2908
  comment_id: number;
2263
2909
  patch_issue_comment_form: ApiPatchIssueCommentForm;
2264
2910
  }) => Promise<ApiIssueComment>;
2265
- type Issues_DeleteIssueLabels = (params: {
2266
- repo: string;
2267
- number: number;
2268
- }) => Promise<any>;
2269
2911
  type Issues_ListIssueLabels = (params: {
2270
2912
  repo: string;
2271
2913
  number: number;
2272
2914
  page?: number;
2273
2915
  page_size?: number;
2274
2916
  }) => Promise<ApiLabel[]>;
2917
+ type Issues_PutIssueLabels = (params: {
2918
+ repo: string;
2919
+ number: number;
2920
+ put_issue_labels_form: ApiPutIssueLabelsForm;
2921
+ }) => Promise<ApiLabel>;
2275
2922
  type Issues_PostIssueLabels = (params: {
2276
2923
  repo: string;
2277
2924
  number: number;
2278
2925
  post_issue_labels_form: ApiPostIssueLabelsForm;
2279
2926
  }) => Promise<ApiLabel>;
2280
- type Issues_PutIssueLabels = (params: {
2927
+ type Issues_DeleteIssueLabels = (params: {
2281
2928
  repo: string;
2282
2929
  number: number;
2283
- put_issue_labels_form: ApiPutIssueLabelsForm;
2284
- }) => Promise<ApiLabel>;
2930
+ }) => Promise<any>;
2285
2931
  type Issues_DeleteIssueLabel = (params: {
2286
2932
  repo: string;
2287
2933
  number: number;
2288
2934
  name: string;
2289
2935
  }) => Promise<ApiLabel>;
2290
- type KnowledgeBase_DeleteKnowledgeBase = (params: {
2291
- repo: string;
2292
- }) => Promise<any>;
2293
2936
  type KnowledgeBase_GetKnowledgeBaseInfo = (params: {
2294
2937
  repo: string;
2295
2938
  }) => Promise<DtoKnowledgeBaseInfoRes>;
2939
+ type KnowledgeBase_DeleteKnowledgeBase = (params: {
2940
+ repo: string;
2941
+ }) => Promise<any>;
2296
2942
  type KnowledgeBase_QueryKnowledgeBase = (params: {
2297
2943
  repo: string;
2298
2944
  query: DtoQueryKnowledgeBaseReq;
@@ -2319,21 +2965,6 @@ type RepoLabels_PatchLabel = (params: {
2319
2965
  name: string;
2320
2966
  patch_label_form: ApiPatchLabelForm;
2321
2967
  }) => Promise<ApiLabel>;
2322
- type Git_GetPresignedLFSDownloadLink = (params: {
2323
- repo: string;
2324
- oid: string;
2325
- name: string;
2326
- }) => Promise<any>;
2327
- type Collaborators_ListAllMembers = (params: {
2328
- repo: string;
2329
- page?: number;
2330
- page_size?: number;
2331
- role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
2332
- search?: string;
2333
- names?: string;
2334
- order_by?: "created_at" | "stars" | "follower";
2335
- desc?: boolean;
2336
- }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
2337
2968
  type Collaborators_ListMembersOfRepo = (params: {
2338
2969
  repo: string;
2339
2970
  page?: number;
@@ -2349,39 +2980,23 @@ type Contributors_ListMemberAccessLevelOfRepo = (params: {
2349
2980
  repo: string;
2350
2981
  username: string;
2351
2982
  }) => Promise<DtoMemberAccessLevel[]>;
2352
- type Collaborators_DeleteMembersOfRepo = (params: {
2353
- repo: string;
2354
- username: string;
2355
- }) => Promise<any>;
2356
- type Collaborators_AddMembersOfRepo = (params: {
2357
- repo: string;
2358
- username: string;
2359
- request: DtoUpdateMembersRequest;
2360
- }) => Promise<any>;
2361
2983
  type Collaborators_UpdateMembersOfRepo = (params: {
2362
2984
  repo: string;
2363
2985
  username: string;
2364
2986
  request: DtoUpdateMembersRequest;
2365
2987
  }) => Promise<any>;
2366
- type Collaborators_ListOutsideCollaborators = (params: {
2367
- repo: string;
2368
- page?: number;
2369
- page_size?: number;
2370
- role?: "Guest" | "Reporter" | "Developer" | "Master";
2371
- search?: string;
2372
- }) => Promise<DtoOutsideCollaboratorInRepo[]>;
2373
- type Collaborators_DeleteOutsideCollaborators = (params: {
2988
+ type Collaborators_AddMembersOfRepo = (params: {
2374
2989
  repo: string;
2375
2990
  username: string;
2991
+ request: DtoUpdateMembersRequest;
2376
2992
  }) => Promise<any>;
2377
- type Collaborators_UpdateOutsideCollaborators = (params: {
2993
+ type Collaborators_DeleteMembersOfRepo = (params: {
2378
2994
  repo: string;
2379
2995
  username: string;
2380
- role: "Guest" | "Reporter" | "Developer";
2381
2996
  }) => Promise<any>;
2382
2997
  type Pulls_ListPullsByNumbers = (params: {
2383
2998
  repo: string;
2384
- n: any[];
2999
+ n: number[];
2385
3000
  }) => Promise<ApiPullRequestInfo[]>;
2386
3001
  type Pulls_ListPulls = (params: {
2387
3002
  repo: string;
@@ -2391,6 +3006,8 @@ type Pulls_ListPulls = (params: {
2391
3006
  authors?: string;
2392
3007
  reviewers?: string;
2393
3008
  assignees?: string;
3009
+ labels?: string;
3010
+ labels_operator?: string;
2394
3011
  base_ref?: string;
2395
3012
  }) => Promise<ApiPullRequest[]>;
2396
3013
  type Pulls_PostPull = (params: {
@@ -2406,11 +3023,6 @@ type Pulls_PatchPull = (params: {
2406
3023
  number: string;
2407
3024
  update_pull_request_form: ApiPatchPullRequest;
2408
3025
  }) => Promise<ApiPull>;
2409
- type Pulls_DeletePullAssignees = (params: {
2410
- repo: string;
2411
- number: string;
2412
- delete_pull_assignees_form: ApiDeletePullAssigneesForm;
2413
- }) => Promise<ApiPull>;
2414
3026
  type Pulls_ListPullAssignees = (params: {
2415
3027
  repo: string;
2416
3028
  number: string;
@@ -2420,16 +3032,16 @@ type Pulls_PostPullAssignees = (params: {
2420
3032
  number: string;
2421
3033
  post_pull_assignees_form: ApiPostPullAssigneesForm;
2422
3034
  }) => Promise<any>;
3035
+ type Pulls_DeletePullAssignees = (params: {
3036
+ repo: string;
3037
+ number: string;
3038
+ delete_pull_assignees_form: ApiDeletePullAssigneesForm;
3039
+ }) => Promise<ApiPull>;
2423
3040
  type Pulls_CanUserBeAssignedToPull = (params: {
2424
3041
  repo: string;
2425
3042
  number: string;
2426
3043
  assignee: string;
2427
3044
  }) => Promise<any>;
2428
- type Pulls_CherryPickPullRequest = (params: {
2429
- repo: string;
2430
- number: number;
2431
- cherry_pick_pull_request_form: WebapiCherryPickPullRequestForm;
2432
- }) => Promise<any>;
2433
3045
  type Pulls_ListPullComments = (params: {
2434
3046
  repo: string;
2435
3047
  number: string;
@@ -2441,26 +3053,51 @@ type Pulls_PostPullComment = (params: {
2441
3053
  number: string;
2442
3054
  post_pull_comment_form: ApiPullCommentCreationForm;
2443
3055
  }) => Promise<any>;
2444
- type Pulls_DeletePullLabels = (params: {
3056
+ type Pulls_GetPullComment = (params: {
2445
3057
  repo: string;
2446
3058
  number: string;
2447
- }) => Promise<any>;
3059
+ comment_id: number;
3060
+ }) => Promise<ApiPullRequestComment>;
3061
+ type Pulls_PatchPullComment = (params: {
3062
+ repo: string;
3063
+ number: string;
3064
+ comment_id: number;
3065
+ patch_pull_comment_form: ApiPatchPullCommentForm;
3066
+ }) => Promise<ApiPullRequestComment>;
3067
+ type Pulls_ListPullCommitStatuses = (params: {
3068
+ repo: string;
3069
+ number: number;
3070
+ }) => Promise<ApiCommitStatuses>;
3071
+ type Pulls_ListPullCommits = (params: {
3072
+ repo: string;
3073
+ number: string;
3074
+ page?: number;
3075
+ page_size?: number;
3076
+ }) => Promise<ApiCommit[]>;
3077
+ type Pulls_ListPullFiles = (params: {
3078
+ repo: string;
3079
+ number: string;
3080
+ }) => Promise<ApiPullFile[]>;
2448
3081
  type Pulls_ListPullLabels = (params: {
2449
3082
  repo: string;
2450
3083
  number: string;
2451
3084
  page?: number;
2452
3085
  page_size?: number;
2453
3086
  }) => Promise<ApiLabel[]>;
3087
+ type Pulls_PutPullLabels = (params: {
3088
+ repo: string;
3089
+ number: string;
3090
+ put_pull_labels_form: ApiPutPullLabelsForm;
3091
+ }) => Promise<ApiLabel>;
2454
3092
  type Pulls_PostPullLabels = (params: {
2455
3093
  repo: string;
2456
3094
  number: string;
2457
3095
  post_pull_labels_form: ApiPostPullLabelsForm;
2458
3096
  }) => Promise<ApiLabel>;
2459
- type Pulls_PutPullLabels = (params: {
3097
+ type Pulls_DeletePullLabels = (params: {
2460
3098
  repo: string;
2461
3099
  number: string;
2462
- put_pull_labels_form: ApiPutPullLabelsForm;
2463
- }) => Promise<ApiLabel>;
3100
+ }) => Promise<any>;
2464
3101
  type Pulls_DeletePullLabel = (params: {
2465
3102
  repo: string;
2466
3103
  number: string;
@@ -2471,16 +3108,24 @@ type Pulls_MergePull = (params: {
2471
3108
  number: string;
2472
3109
  merge_pull_request_form: ApiMergePullRequest;
2473
3110
  }) => Promise<ApiMergePullResponse>;
2474
- type Pulls_RevertPullRequest = (params: {
3111
+ type Pulls_ListPullReviews = (params: {
2475
3112
  repo: string;
2476
- number: number;
2477
- revert_pull_request_form: WebapiRevertPullRequestForm;
2478
- }) => Promise<any>;
3113
+ number: string;
3114
+ page?: number;
3115
+ page_size?: number;
3116
+ }) => Promise<ApiPullReview[]>;
2479
3117
  type Pulls_PostPullReview = (params: {
2480
3118
  repo: string;
2481
3119
  number: string;
2482
3120
  post_pull_review_form: ApiPullReviewCreationForm;
2483
3121
  }) => Promise<any>;
3122
+ type Pulls_ListPullReviewComments = (params: {
3123
+ repo: string;
3124
+ number: number;
3125
+ review_id: number;
3126
+ page?: number;
3127
+ page_size?: number;
3128
+ }) => Promise<ApiPullReviewComment[]>;
2484
3129
  type Releases_ListReleases = (params: {
2485
3130
  repo: string;
2486
3131
  page?: number;
@@ -2507,14 +3152,14 @@ type Releases_GetReleaseByTag = (params: {
2507
3152
  repo: string;
2508
3153
  tag: string;
2509
3154
  }) => Promise<ApiRelease>;
2510
- type Releases_DeleteRelease = (params: {
2511
- repo: string;
2512
- release_id: string;
2513
- }) => Promise<any>;
2514
3155
  type Releases_GetReleaseByID = (params: {
2515
3156
  repo: string;
2516
3157
  release_id: string;
2517
3158
  }) => Promise<ApiRelease>;
3159
+ type Releases_DeleteRelease = (params: {
3160
+ repo: string;
3161
+ release_id: string;
3162
+ }) => Promise<any>;
2518
3163
  type Releases_PatchRelease = (params: {
2519
3164
  repo: string;
2520
3165
  release_id: string;
@@ -2523,7 +3168,7 @@ type Releases_PatchRelease = (params: {
2523
3168
  type Releases_PostReleaseAssetUploadConfirmation = (params: {
2524
3169
  repo: string;
2525
3170
  release_id: string;
2526
- token: string;
3171
+ upload_token: string;
2527
3172
  asset_path: string;
2528
3173
  }) => Promise<any>;
2529
3174
  type Releases_PostReleaseAssetUploadURL = (params: {
@@ -2531,19 +3176,21 @@ type Releases_PostReleaseAssetUploadURL = (params: {
2531
3176
  release_id: string;
2532
3177
  create_release_asset_upload_url_form: OpenapiPostReleaseAssetUploadUrlForm;
2533
3178
  }) => Promise<any>;
2534
- type Releases_DeleteReleaseAsset = (params: {
2535
- repo: string;
2536
- release_id: string;
2537
- asset_id: string;
2538
- }) => Promise<any>;
2539
3179
  type Releases_GetReleaseAsset = (params: {
2540
3180
  repo: string;
2541
3181
  release_id: string;
2542
3182
  asset_id: string;
2543
3183
  }) => Promise<ApiReleaseAsset>;
2544
- type Repositories_ArchiveRepo = (params: {
3184
+ type Releases_DeleteReleaseAsset = (params: {
2545
3185
  repo: string;
3186
+ release_id: string;
3187
+ asset_id: string;
2546
3188
  }) => Promise<any>;
3189
+ type Security_GetRepoSecurityOverview = (params: {
3190
+ repo: string;
3191
+ types?: string;
3192
+ tab?: string;
3193
+ }) => Promise<DtoRepoSecurityOverview>;
2547
3194
  type GitSettings_ListBranchProtections = (params: {
2548
3195
  repo: string;
2549
3196
  }) => Promise<ApiBranchProtection[]>;
@@ -2551,14 +3198,14 @@ type GitSettings_PostBranchProtection = (params: {
2551
3198
  repo: string;
2552
3199
  branch_protection_form: ApiBranchProtection;
2553
3200
  }) => Promise<any>;
2554
- type GitSettings_DeleteBranchProtection = (params: {
2555
- repo: string;
2556
- id: string;
2557
- }) => Promise<any>;
2558
3201
  type GitSettings_GetBranchProtection = (params: {
2559
3202
  repo: string;
2560
3203
  id: string;
2561
3204
  }) => Promise<ApiBranchProtection>;
3205
+ type GitSettings_DeleteBranchProtection = (params: {
3206
+ repo: string;
3207
+ id: string;
3208
+ }) => Promise<any>;
2562
3209
  type GitSettings_PatchBranchProtection = (params: {
2563
3210
  repo: string;
2564
3211
  id: string;
@@ -2585,19 +3232,10 @@ type GitSettings_PutPushLimitSettings = (params: {
2585
3232
  repo: string;
2586
3233
  push_limit_form: ApiPushLimitSettings;
2587
3234
  }) => Promise<any>;
2588
- type Repositories_UnArchiveRepo = (params: {
3235
+ type Repositories_SetRepoVisibility = (params: {
2589
3236
  repo: string;
3237
+ visibility: "Private" | "Public" | "Secret";
2590
3238
  }) => Promise<any>;
2591
- type Starring_ListStarUsers = (params: {
2592
- repo: string;
2593
- filter_type: "all" | "followed";
2594
- page: number;
2595
- page_size: number;
2596
- }) => Promise<DtoRepoStarUsers>;
2597
- type Collaborators_TopContributors = (params: {
2598
- repo: string;
2599
- top?: number;
2600
- }) => Promise<DtoUsersResult[]>;
2601
3239
  type Repositories_TransferRepo = (params: {
2602
3240
  repo: string;
2603
3241
  request: DtoTransferSlugReq;
@@ -2610,11 +3248,6 @@ type Assets_UploadImgs = (params: {
2610
3248
  repo: string;
2611
3249
  request: DtoUploadRequestParams;
2612
3250
  }) => Promise<DtoUploadAssetsResponse>;
2613
- type Assets_UploadReleases = (params: {
2614
- repo: string;
2615
- tagName: string;
2616
- request: DtoUploadRequestParams;
2617
- }) => Promise<DtoUploadAssetsResponse>;
2618
3251
  type Workspace_GetWorkspaceDetail = (params: {
2619
3252
  repo: string;
2620
3253
  sn: string;
@@ -2623,91 +3256,191 @@ type Workspace_StartWorkspace = (params: {
2623
3256
  repo: string;
2624
3257
  request: DtoStartWorkspaceReq;
2625
3258
  }) => Promise<DtoStartWorkspaceResult>;
2626
- type Artifactory_ListPackages = (params: {
3259
+ type RepoContributor_GetRepoContributorTrend = (params: {
3260
+ slug: string;
3261
+ limit?: number;
3262
+ exclude_external_users?: boolean;
3263
+ }) => Promise<WebRepoContribTrend>;
3264
+ type Collaborators_ListAllMembers = (params: {
2627
3265
  slug: string;
2628
- type: "all" | "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
2629
3266
  page?: number;
2630
3267
  page_size?: number;
2631
- ordering?: "pull_count" | "last_push_at" | "name_ascend" | "name_descend";
2632
- name?: string;
2633
- }) => Promise<DtoPackage[]>;
2634
- type Artifactory_HeadPackages = (params: {
3268
+ role?: "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
3269
+ search?: string;
3270
+ names?: string;
3271
+ order_by?: "created_at" | "stars" | "follower";
3272
+ desc?: boolean;
3273
+ }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
3274
+ type Missions_GetGroupSubMissions = (params: {
3275
+ slug: string;
3276
+ page?: number;
3277
+ page_size?: number;
3278
+ filter_type?: "private" | "public";
3279
+ order_by?: "created_at" | "name";
3280
+ desc?: boolean;
3281
+ descendant?: "all" | "sub" | "grand";
3282
+ search?: string;
3283
+ }) => Promise<DtoMissions4User[]>;
3284
+ type Missions_CreateMission = (params: {
3285
+ slug: string;
3286
+ request: DtoCreateMissionReq;
3287
+ }) => Promise<any>;
3288
+ type Collaborators_ListOutsideCollaborators = (params: {
3289
+ slug: string;
3290
+ page?: number;
3291
+ page_size?: number;
3292
+ role?: "Guest" | "Reporter" | "Developer" | "Master";
3293
+ search?: string;
3294
+ }) => Promise<DtoOutsideCollaboratorInRepo[]>;
3295
+ type Collaborators_UpdateOutsideCollaborators = (params: {
3296
+ slug: string;
3297
+ username: string;
3298
+ role: "Guest" | "Reporter" | "Developer";
3299
+ }) => Promise<any>;
3300
+ type Collaborators_DeleteOutsideCollaborators = (params: {
3301
+ slug: string;
3302
+ username: string;
3303
+ }) => Promise<any>;
3304
+ type Registries_ListPackages = (params: {
2635
3305
  slug: string;
2636
- type: "all" | "docker" | "helm";
3306
+ type: "all" | "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
2637
3307
  page?: number;
2638
3308
  page_size?: number;
2639
3309
  ordering?: "pull_count" | "last_push_at" | "name_ascend" | "name_descend";
2640
3310
  name?: string;
2641
- }) => Promise<any>;
2642
- type Artifactory_GetPackage = (params: {
3311
+ }) => Promise<DtoPackage[]>;
3312
+ type Registries_GetPackage = (params: {
2643
3313
  slug: string;
2644
- type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
3314
+ type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan" | "cargo";
2645
3315
  name: string;
2646
3316
  }) => Promise<DtoPackageDetail>;
2647
- type Artifactory_DeletePackageTag = (params: {
3317
+ type Registries_DeletePackage = (params: {
2648
3318
  slug: string;
2649
- type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
3319
+ type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
2650
3320
  name: string;
2651
- tag: string;
2652
3321
  }) => Promise<any>;
2653
- type Artifactory_GetPackageTagDetail = (params: {
3322
+ type Registries_GetPackageTagDetail = (params: {
2654
3323
  slug: string;
2655
- type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
3324
+ type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
2656
3325
  name: string;
2657
3326
  tag: string;
2658
3327
  sha256?: string;
3328
+ arch?: string;
2659
3329
  }) => Promise<DtoTagDetail>;
2660
- type Artifactory_ListPackageTags = (params: {
3330
+ type Registries_DeletePackageTag = (params: {
3331
+ slug: string;
3332
+ type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
3333
+ name: string;
3334
+ tag: string;
3335
+ }) => Promise<any>;
3336
+ type Registries_ListPackageTags = (params: {
2661
3337
  slug: string;
2662
- type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
2663
- pkgname: string;
3338
+ type: "docker" | "helm" | "docker-model" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer" | "conan";
3339
+ name: string;
2664
3340
  page?: number;
2665
3341
  page_size?: number;
2666
3342
  ordering?: "pull_count" | "last_push_at";
2667
3343
  name?: string;
2668
3344
  }) => Promise<DtoTag>;
2669
- type Artifactory_GetRegistryQuota = (params: {
3345
+ type Repositories_GetPinnedRepoByGroup = (params: {
3346
+ slug: string;
3347
+ }) => Promise<DtoRepos4UserBase[]>;
3348
+ type Repositories_SetPinnedRepoByGroup = (params: {
2670
3349
  slug: string;
2671
- type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
2672
- }) => Promise<DtoRegistryLevelQuotaRsp>;
2673
- type Artifactory_GetRegistryQuotas = (params: {
3350
+ request: string[];
3351
+ }) => Promise<DtoRepos4UserBase[]>;
3352
+ type Registries_GetGroupSubRegistries = (params: {
2674
3353
  slug: string;
2675
- type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
2676
3354
  page?: number;
2677
3355
  page_size?: number;
2678
- ordering?: "used_ascend" | "used_descend";
2679
- }) => Promise<DtoQuotaRsp[]>;
2680
- type Artifactory_DownloadRegistryQuotas = (params: {
3356
+ registry_type?: "npm" | "maven" | "ohpm";
3357
+ filter_type?: "private" | "public";
3358
+ order_by?: "created_at" | "name";
3359
+ desc?: boolean;
3360
+ descendant?: "all" | "sub" | "grand";
3361
+ search?: string;
3362
+ }) => Promise<DtoRegistry4User[]>;
3363
+ type Repositories_GetGroupSubRepos = (params: {
2681
3364
  slug: string;
2682
- type: "docker" | "helm" | "maven" | "npm" | "ohpm" | "pypi" | "nuget" | "composer";
2683
3365
  page?: number;
2684
3366
  page_size?: number;
2685
- ordering?: "used_ascend" | "used_descend";
2686
- }) => Promise<DtoQuotaRsp[]>;
2687
- interface Client {
2688
- groups: {
2689
- /***
2690
- * 创建新组织。Create new organization.
2691
- *
2692
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
2693
- * group-manage:rw
2694
- *
2695
- * /groups
2696
- */
2697
- post: Organizations_CreateOrganization;
2698
- };
2699
- user: {
2700
- /***
2701
- * 获取指定用户的详情信息。Get detailed information for a specified user.
2702
- *
2703
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
2704
- * account-profile:r
2705
- *
2706
- * /user
2707
- */
2708
- get: Users_GetUserInfo;
2709
-
2710
- /***
3367
+ filter_type?: "private" | "public" | "secret";
3368
+ flags?: "KnowledgeBase";
3369
+ status?: "active" | "archived";
3370
+ order_by?: "created_at" | "last_updated_at" | "stars" | "slug_path" | "forks";
3371
+ desc?: boolean;
3372
+ descendant?: "all" | "sub" | "grand";
3373
+ search?: string;
3374
+ }) => Promise<DtoRepos4User[]>;
3375
+ type Repositories_CreateRepo = (params: {
3376
+ slug: string;
3377
+ request: DtoCreateRepoReq;
3378
+ }) => Promise<any>;
3379
+ type Organizations_GetGroupSetting = (params: {
3380
+ slug: string;
3381
+ }) => Promise<DtoOrganizationSettingWithParent>;
3382
+ type Organizations_UpdateGroupSetting = (params: {
3383
+ slug: string;
3384
+ request: DtoGroupSettingReq;
3385
+ }) => Promise<any>;
3386
+ type Repositories_ArchiveRepo = (params: {
3387
+ slug: string;
3388
+ }) => Promise<any>;
3389
+ type Repositories_UnArchiveRepo = (params: {
3390
+ slug: string;
3391
+ }) => Promise<any>;
3392
+ type Starring_ListStarUsers = (params: {
3393
+ slug: string;
3394
+ filter_type: "all" | "followed";
3395
+ page?: number;
3396
+ page_size?: number;
3397
+ }) => Promise<DtoRepoStarUsers>;
3398
+ type Organizations_ListSubgroups = (params: {
3399
+ slug: string;
3400
+ search?: string;
3401
+ page?: number;
3402
+ page_size?: number;
3403
+ }) => Promise<DtoOrganizationUnion[]>;
3404
+ type Collaborators_TopContributors = (params: {
3405
+ slug: string;
3406
+ top?: number;
3407
+ }) => Promise<DtoUsersResult[]>;
3408
+ interface Client {
3409
+ events: {
3410
+ repo: {
3411
+ /***
3412
+ * 获取仓库动态预签名地址,并返回内容。Get events pre-signed URL and return content.
3413
+ *
3414
+ * undefined
3415
+ *
3416
+ * /events/{repo}/-/{date}
3417
+ */
3418
+ get: Event_GetEvents;
3419
+ };
3420
+ };
3421
+ groups: {
3422
+ /***
3423
+ * 创建新组织。Create new organization.
3424
+ *
3425
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3426
+ * group-manage:rw
3427
+ *
3428
+ * /groups
3429
+ */
3430
+ post: Organizations_CreateOrganization;
3431
+ };
3432
+ user: {
3433
+ /***
3434
+ * 获取指定用户的详情信息。Get detailed information for a specified user.
3435
+ *
3436
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3437
+ * account-profile:r
3438
+ *
3439
+ * /user
3440
+ */
3441
+ get: Users_GetUserInfo;
3442
+
3443
+ /***
2711
3444
  * 更新指定用户的详情信息。Updates the specified user's profile information.
2712
3445
  *
2713
3446
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
@@ -2727,6 +3460,17 @@ interface Client {
2727
3460
  */
2728
3461
  list: Users_AutoCompleteSource;
2729
3462
  };
3463
+ gpgKeys: {
3464
+ /***
3465
+ * 获取用户 GPG keys 列表。List GPG Keys.
3466
+ *
3467
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3468
+ * account-profile:r
3469
+ *
3470
+ * /user/gpg-keys
3471
+ */
3472
+ get: Users_ListGPGKeys;
3473
+ };
2730
3474
  groups: {
2731
3475
  /***
2732
3476
  * 获取当前用户拥有权限的顶层组织列表。Get top-level organizations list that the current user has access to.
@@ -2744,7 +3488,7 @@ interface Client {
2744
3488
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
2745
3489
  * account-engage:r
2746
3490
  *
2747
- * /user/groups/{group}
3491
+ * /user/groups/{slug}
2748
3492
  */
2749
3493
  listByGroup: Organizations_ListGroups;
2750
3494
  };
@@ -2768,7 +3512,7 @@ interface Client {
2768
3512
  *
2769
3513
  * /user/stared-repos
2770
3514
  */
2771
- list: Repositories_GetUserAllStaredRepos;
3515
+ list: Starring_GetUserAllStaredRepos;
2772
3516
  };
2773
3517
  };
2774
3518
  users: {
@@ -2783,7 +3527,7 @@ interface Client {
2783
3527
  get: Users_GetUserInfoByName;
2784
3528
  activities: {
2785
3529
  /***
2786
- * 获取个人动态活跃详情汇总
3530
+ * 获取个人动态活跃详情汇总。Get user activities by date.
2787
3531
  *
2788
3532
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
2789
3533
  * account-engage:r
@@ -2838,7 +3582,7 @@ interface Client {
2838
3582
  };
2839
3583
  repoActivities: {
2840
3584
  /***
2841
- * 个人仓库动态详情列表
3585
+ * 个人仓库动态详情列表。List of personal repository activity details.
2842
3586
  *
2843
3587
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
2844
3588
  * account-engage:r
@@ -2893,37 +3637,48 @@ interface Client {
2893
3637
  */
2894
3638
  get: Workspace_ListWorkspaces;
2895
3639
  };
3640
+ stop: {
3641
+ /***
3642
+ * 停止/关闭我的云原生开发环境。Stop/close my workspace.
3643
+ *
3644
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3645
+ * account-engage:rw
3646
+ *
3647
+ * /workspace/stop
3648
+ */
3649
+ post: Workspace_WorkspaceStop;
3650
+ };
2896
3651
  };
2897
3652
  group: {
2898
3653
  /***
2899
- * 删除指定组织。Delete the specified organization.
3654
+ * 获取指定组织信息。Get information for the specified organization.
2900
3655
  *
2901
3656
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
2902
- * group-delete:rw
3657
+ * group-resource:r
2903
3658
  *
2904
3659
  * /{group}
2905
3660
  */
2906
- delete: Organizations_DeleteOrganization;
3661
+ get: Organizations_GetGroup;
2907
3662
 
2908
3663
  /***
2909
- * 获取指定组织信息。Get information for the specified organization.
3664
+ * 更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱。Updates organization information including: description, display name, website URL and contact email.
2910
3665
  *
2911
3666
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
2912
- * group-resource:r
3667
+ * group-manage:rw
2913
3668
  *
2914
3669
  * /{group}
2915
3670
  */
2916
- get: Organizations_GetGroup;
3671
+ put: Organizations_UpdateOrganization;
2917
3672
 
2918
3673
  /***
2919
- * 更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱。Updates organization information including: description, display name, website URL and contact email.
3674
+ * 删除指定组织。Delete the specified organization.
2920
3675
  *
2921
3676
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
2922
- * group-manage:rw
3677
+ * group-delete:rw
2923
3678
  *
2924
3679
  * /{group}
2925
3680
  */
2926
- put: Organizations_UpdateOrganization;
3681
+ delete: Organizations_DeleteOrganization;
2927
3682
  inheritMembers: {
2928
3683
  /***
2929
3684
  * 获取指定组织或仓库内的继承成员。List inherited members within specified organization or repository。
@@ -2968,14 +3723,14 @@ interface Client {
2968
3723
  };
2969
3724
 
2970
3725
  /***
2971
- * 删除指定组织或仓库的直接成员。Remove direct members from specified organization/repository.
3726
+ * 更新指定组织或仓库内的直接成员权限信息。Update permission information for direct members in specified organization/repository.
2972
3727
  *
2973
3728
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
2974
3729
  * group-manage:rw
2975
3730
  *
2976
3731
  * /{group}/-/members/{username}
2977
3732
  */
2978
- delete: Collaborators_DeleteMembersOfGroup;
3733
+ put: Collaborators_UpdateMembersOfGroup;
2979
3734
 
2980
3735
  /***
2981
3736
  * 添加成员。Add members.
@@ -2988,103 +3743,18 @@ interface Client {
2988
3743
  post: Collaborators_AddMembersOfGroup;
2989
3744
 
2990
3745
  /***
2991
- * 更新指定组织或仓库内的直接成员权限信息。Update permission information for direct members in specified organization/repository.
3746
+ * 删除指定组织或仓库的直接成员。Remove direct members from specified organization/repository.
2992
3747
  *
2993
3748
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
2994
3749
  * group-manage:rw
2995
3750
  *
2996
3751
  * /{group}/-/members/{username}
2997
3752
  */
2998
- put: Collaborators_UpdateMembersOfGroup;
2999
- };
3000
- missions: {
3001
- /***
3002
- * 创建任务集
3003
- *
3004
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3005
- * group-resource:rw
3006
- *
3007
- * /{group}/-/missions
3008
- */
3009
- post: Missions_CreateMission;
3010
- };
3011
- pinnedRepos: {
3012
- /***
3013
- * 获取指定组织的仓库墙列表。List the pinned repositories of a group.
3014
- *
3015
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3016
- * group-manage:r
3017
- *
3018
- * /{group}/-/pinned-repos
3019
- */
3020
- list: Repositories_GetPinnedRepoByGroup;
3021
-
3022
- /***
3023
- * 更新指定组织仓库墙。Update the pinned repositories of a group.
3024
- *
3025
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3026
- * group-manage:rw
3027
- *
3028
- * /{group}/-/pinned-repos
3029
- */
3030
- put: Repositories_SetPinnedRepoByGroup;
3031
- };
3032
- repos: {
3033
- /***
3034
- * 查询组织下访问用户有权限查看到仓库。List the repositories that the user has access to.
3035
- *
3036
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3037
- * group-resource:r
3038
- *
3039
- * /{group}/-/repos
3040
- */
3041
- list: Repositories_GetGroupSubRepos;
3042
-
3043
- /***
3044
- * 创建仓库。Create repositories.
3045
- *
3046
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3047
- * group-resource:rw
3048
- *
3049
- * /{group}/-/repos
3050
- */
3051
- post: Repositories_CreateRepo;
3052
- };
3053
- settings: {
3054
- /***
3055
- * 获取指定组织的配置详情。Get the configuration details for the specified organization.
3056
- *
3057
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3058
- * group-manage:r
3059
- *
3060
- * /{group}/-/settings
3061
- */
3062
- get: Organizations_GetGroupSetting;
3063
-
3064
- /***
3065
- * 更新指定组织的配置。Updates the configuration for the specified organization.
3066
- *
3067
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3068
- * group-manage:rw
3069
- *
3070
- * /{group}/-/settings
3071
- */
3072
- put: Organizations_UpdateGroupSetting;
3073
- };
3074
- subGroups: {
3075
- /***
3076
- * 获取指定组织下的子组织列表。Get the list of sub-organizations under the specified organization.
3077
- *
3078
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3079
- * group-resource:r
3080
- *
3081
- * /{group}/-/sub-groups
3082
- */
3083
- list: Organizations_ListSubgroups;
3753
+ delete: Collaborators_DeleteMembersOfGroup;
3084
3754
  };
3085
3755
  transfer: {
3086
3756
  /***
3087
- * 转移组织
3757
+ * 转移组织。Transfer an organization.
3088
3758
  *
3089
3759
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3090
3760
  * group-manage:rw
@@ -3096,14 +3766,14 @@ interface Client {
3096
3766
  upload: {
3097
3767
  logos: {
3098
3768
  /***
3099
- * 发起一个上传 logo 的请求,返回上传 cos 的 url form 内容。Post a request to upload a logo.
3769
+ * 发起一个上传 logo 的请求,返回上传文件的url,请使用 put 发起流式上传。Initiate a request to upload logo,returns upload URL.Use PUT to initiate a stream upload.
3100
3770
  *
3101
3771
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3102
3772
  * group-manage:rw
3103
3773
  *
3104
3774
  * /{group}/-/upload/logos
3105
3775
  */
3106
- post: Assets_UploadLogos;
3776
+ post: Organizations_UploadLogos;
3107
3777
  };
3108
3778
  };
3109
3779
  };
@@ -3128,17 +3798,84 @@ interface Client {
3128
3798
  */
3129
3799
  post: Collaborators_AddMembersOfMission;
3130
3800
  };
3801
+ mission: {
3802
+ view: {
3803
+ /***
3804
+ * 查询任务集视图配置信息。Get mission view config.
3805
+ *
3806
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3807
+ * mission-manage:r
3808
+ *
3809
+ * /{mission}/-/mission/view
3810
+ */
3811
+ get: Missions_GetMissionViewConfig;
3812
+
3813
+ /***
3814
+ * 设置任务集视图配置信息。Set mission view config.
3815
+ *
3816
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3817
+ * mission-manage:rw
3818
+ *
3819
+ * /{mission}/-/mission/view
3820
+ */
3821
+ post: Missions_PostMissionViewConfig;
3822
+ };
3823
+ viewList: {
3824
+ /***
3825
+ * 获取任务集视图列表。Get view list of a mission.
3826
+ *
3827
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3828
+ * mission-manage:r
3829
+ *
3830
+ * /{mission}/-/mission/view-list
3831
+ */
3832
+ list: Missions_GetMissionViewList;
3833
+
3834
+ /***
3835
+ * 添加、修改任务集视图。Update a mission view or add a new one.
3836
+ *
3837
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3838
+ * mission-manage:rw
3839
+ *
3840
+ * /{mission}/-/mission/view-list
3841
+ */
3842
+ put: Missions_PutMissionViewList;
3843
+
3844
+ /***
3845
+ * 排序任务集视图。Sort mission view list.
3846
+ *
3847
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3848
+ * mission-manage:rw
3849
+ *
3850
+ * /{mission}/-/mission/view-list
3851
+ */
3852
+ post: Missions_PostMissionViewList;
3853
+ };
3854
+ };
3855
+ settings: {
3856
+ setVisibility: {
3857
+ /***
3858
+ * 改变任务集可见性。Update the visibility of a mission.
3859
+ *
3860
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3861
+ * mission-manage:rw
3862
+ *
3863
+ * /{mission}/-/settings/set_visibility
3864
+ */
3865
+ post: Missions_SetMissionVisibility;
3866
+ };
3867
+ };
3131
3868
  };
3132
3869
  registry: {
3133
3870
  /***
3134
- * 删除制品仓库。Delete the artifact repository.
3871
+ * 删除制品库。Delete the registry.
3135
3872
  *
3136
3873
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3137
3874
  * registry-delete:rw
3138
3875
  *
3139
3876
  * /{registry}
3140
3877
  */
3141
- delete: Artifactory_DeleteRegistry;
3878
+ delete: Registries_DeleteRegistry;
3142
3879
  members: {
3143
3880
  /***
3144
3881
  * 添加成员。Add members.
@@ -3150,27 +3887,40 @@ interface Client {
3150
3887
  */
3151
3888
  post: Collaborators_AddMembersOfRegistry;
3152
3889
  };
3890
+ settings: {
3891
+ setVisibility: {
3892
+ /***
3893
+ * 改变制品仓库可见性。Update visibility of registry.
3894
+ *
3895
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3896
+ * registry-manage:rw
3897
+ *
3898
+ * /{registry}/-/settings/set_visibility
3899
+ */
3900
+ post: Registries_SetRegistryVisibility;
3901
+ };
3902
+ };
3153
3903
  };
3154
3904
  repo: {
3155
3905
  /***
3156
- * 删除指定仓库。Delete the specified repository.
3906
+ * 获取指定仓库信息。Get information for the specified repository.
3157
3907
  *
3158
3908
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3159
- * repo-delete:rw
3909
+ * repo-basic-info:r
3160
3910
  *
3161
3911
  * /{repo}
3162
3912
  */
3163
- delete: Repositories_DeleteRepo;
3913
+ get: Repositories_GetByID;
3164
3914
 
3165
3915
  /***
3166
- * 获取指定仓库信息。Get information for the specified repository.
3916
+ * 删除指定仓库。Delete the specified repository.
3167
3917
  *
3168
3918
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3169
- * repo-basic-info:r
3919
+ * repo-delete:rw
3170
3920
  *
3171
3921
  * /{repo}
3172
3922
  */
3173
- get: Repositories_GetByID;
3923
+ delete: Repositories_DeleteRepo;
3174
3924
 
3175
3925
  /***
3176
3926
  * 更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证。updates repository details including description, website URL,topics and license type.
@@ -3181,13 +3931,76 @@ interface Client {
3181
3931
  * /{repo}
3182
3932
  */
3183
3933
  patch: Repositories_UpdateRepo;
3184
- build: {
3185
- logs: {
3934
+ ai: {
3935
+ chat: {
3936
+ completions: {
3937
+ /***
3938
+ * AI 对话,参数根据模型不同会有区别。AI chat completions, params may differ by model.
3939
+ *
3940
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3941
+ * repo-code:rw
3942
+ *
3943
+ * /{repo}/-/ai/chat/completions
3944
+ */
3945
+ post: AI_AiChatCompletions;
3946
+ };
3947
+ };
3948
+ };
3949
+ badge: {
3950
+ git: {
3186
3951
  /***
3187
- * 查询流水线构建列表。List pipeline builds.
3952
+ * 获取徽章 svg 或 JSON 数据。Get badge svg or JSON data.
3188
3953
  *
3189
3954
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3190
- * repo-cnb-trigger:r
3955
+ * repo-commit-status:r
3956
+ *
3957
+ * /{repo}/-/badge/git/{sha}/{badge}
3958
+ */
3959
+ get: Badge_GetBadge;
3960
+ };
3961
+ list: {
3962
+ /***
3963
+ * 获取徽章列表数据。List badge data
3964
+ *
3965
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3966
+ * repo-commit-status:r
3967
+ *
3968
+ * /{repo}/-/badge/list
3969
+ */
3970
+ get: Badge_ListBadge;
3971
+ };
3972
+ upload: {
3973
+ /***
3974
+ * 上传徽章数据。Upload badge data
3975
+ *
3976
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3977
+ * repo-commit-status:rw
3978
+ *
3979
+ * /{repo}/-/badge/upload
3980
+ */
3981
+ post: Badge_UploadBadge;
3982
+ };
3983
+ };
3984
+ build: {
3985
+ ai: {
3986
+ autoPr: {
3987
+ /***
3988
+ * 根据传入的需求内容和需求标题借助 AI 自动编码并提 PR。Automatically code and create a PR with AI based on the input requirement content and title.
3989
+ *
3990
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3991
+ * repo-code:rw
3992
+ *
3993
+ * /{repo}/-/build/ai/auto-pr
3994
+ */
3995
+ post: AI_AiAutoPr;
3996
+ };
3997
+ };
3998
+ logs: {
3999
+ /***
4000
+ * 查询流水线构建列表。List pipeline builds.
4001
+ *
4002
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4003
+ * repo-cnb-trigger:r
3191
4004
  *
3192
4005
  * /{repo}/-/build/logs
3193
4006
  */
@@ -3203,6 +4016,31 @@ interface Client {
3203
4016
  */
3204
4017
  get: Build_GetBuildStage;
3205
4018
  };
4019
+
4020
+ /***
4021
+ * 删除流水线日志内容。Delete pipeline logs content.
4022
+ *
4023
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4024
+ * repo-cnb-trigger:rw
4025
+ *
4026
+ * /{repo}/-/build/logs/{sn}
4027
+ */
4028
+ delete: Build_BuildLogsDelete;
4029
+ };
4030
+ runner: {
4031
+ download: {
4032
+ log: {
4033
+ /***
4034
+ * 流水线runner日志下载。Pipeline runner log download.
4035
+ *
4036
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4037
+ * repo-cnb-trigger:r
4038
+ *
4039
+ * /{repo}/-/build/runner/download/log/{pipelineId}
4040
+ */
4041
+ get: Build_BuildRunnerDownloadLog;
4042
+ };
4043
+ };
3206
4044
  };
3207
4045
  start: {
3208
4046
  /***
@@ -3251,19 +4089,6 @@ interface Client {
3251
4089
  get: Assets_GetCommitAssets;
3252
4090
  };
3253
4091
  };
3254
- contributor: {
3255
- trend: {
3256
- /***
3257
- * 查询仓库贡献者前 100 名的详细趋势数据。Query detailed trend data for top 100 contributors of the repository.
3258
- *
3259
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3260
- * repo-code:r
3261
- *
3262
- * /{repo}/-/contributor/trend
3263
- */
3264
- get: RepoContributor_GetRepoContributorTrend;
3265
- };
3266
- };
3267
4092
  forks: {
3268
4093
  /***
3269
4094
  * 获取指定仓库的 fork 列表。Get fork list for specified repository.
@@ -3274,16 +4099,6 @@ interface Client {
3274
4099
  * /{repo}/-/forks
3275
4100
  */
3276
4101
  get: Repositories_ListForksRepos;
3277
-
3278
- /***
3279
- * fork 仓库。Fork a repository.
3280
- *
3281
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3282
- * group-resource:rw
3283
- *
3284
- * /{repo}/-/forks
3285
- */
3286
- post: Repositories_CreateAFork;
3287
4102
  };
3288
4103
  git: {
3289
4104
  archiveCommitChangedFiles: {
@@ -3308,6 +4123,17 @@ interface Client {
3308
4123
  */
3309
4124
  get: Git_GetArchiveCompareChangedFiles;
3310
4125
  };
4126
+ archive: {
4127
+ /***
4128
+ * 下载仓库内容
4129
+ *
4130
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4131
+ * repo-code:r
4132
+ *
4133
+ * /{repo}/-/git/archive/{ref_with_path}
4134
+ */
4135
+ get: Git_GetArchive;
4136
+ };
3311
4137
  blobs: {
3312
4138
  /***
3313
4139
  * 创建一个 blob。Create a blob.
@@ -3341,24 +4167,24 @@ interface Client {
3341
4167
  post: Git_CreateBranch;
3342
4168
 
3343
4169
  /***
3344
- * 删除指定分支。Delete the specified branch.
4170
+ * 查询指定分支。Get a branch.
3345
4171
  *
3346
4172
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3347
- * repo-code:rw
4173
+ * repo-code:r
3348
4174
  *
3349
4175
  * /{repo}/-/git/branches/{branch}
3350
4176
  */
3351
- delete: Git_DeleteBranch;
4177
+ get: Git_GetBranch;
3352
4178
 
3353
4179
  /***
3354
- * 查询指定分支。Get a branch.
4180
+ * 删除指定分支。Delete the specified branch.
3355
4181
  *
3356
4182
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3357
- * repo-code:r
4183
+ * repo-code:rw
3358
4184
  *
3359
4185
  * /{repo}/-/git/branches/{branch}
3360
4186
  */
3361
- get: Git_GetBranch;
4187
+ delete: Git_DeleteBranch;
3362
4188
  };
3363
4189
  commitAnnotationsInBatch: {
3364
4190
  /***
@@ -3414,7 +4240,7 @@ interface Client {
3414
4240
  list: Git_GetCommitAssetsBySha;
3415
4241
  assetUploadConfirmation: {
3416
4242
  /***
3417
- * 确认 Commit asset 上传完成。Confirm commit asset upload.
4243
+ * 确认 commit 附件上传完成。Confirm commit asset upload.
3418
4244
  *
3419
4245
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3420
4246
  * repo-code:rw
@@ -3425,7 +4251,7 @@ interface Client {
3425
4251
  };
3426
4252
  assetUploadUrl: {
3427
4253
  /***
3428
- * 新增一个 Commit asset。Create a commit asset.
4254
+ * 新增一个 commit 附件。Create a commit asset.
3429
4255
  *
3430
4256
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3431
4257
  * repo-code:rw
@@ -3447,7 +4273,7 @@ interface Client {
3447
4273
  };
3448
4274
  commitStatuses: {
3449
4275
  /***
3450
- * 查询指定 commit 的 check statuses。List commit check statuses.
4276
+ * 查询指定 commit 的提交状态。List commit check statuses.
3451
4277
  *
3452
4278
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3453
4279
  * repo-code:r
@@ -3479,7 +4305,7 @@ interface Client {
3479
4305
  };
3480
4306
  compare: {
3481
4307
  /***
3482
- * 对比 base...head。Compare two commits.
4308
+ * 比较两个提交、分支或标签之间差异的接口。Compare two commits, branches, or tags.
3483
4309
  *
3484
4310
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3485
4311
  * repo-code:r
@@ -3490,25 +4316,24 @@ interface Client {
3490
4316
  };
3491
4317
  contents: {
3492
4318
  /***
3493
- * 查询仓库文件列表或文件。List repository files or file.
4319
+ * 查询仓库文件和目录内容。List repository files and directories.
3494
4320
  *
3495
4321
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3496
4322
  * repo-code:r
3497
4323
  *
3498
- * /{repo}/-/git/contents/{file_path}
4324
+ * /{repo}/-/git/contents
3499
4325
  */
3500
- get: Git_GetContent;
3501
- };
3502
- deferredCommits: {
4326
+ getWithoutPath: Git_GetContentWithoutPath;
4327
+
3503
4328
  /***
3504
- * 查询 deferred commit 列表
4329
+ * 查询仓库文件列表或文件。List repository files or file.
3505
4330
  *
3506
4331
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3507
4332
  * repo-code:r
3508
4333
  *
3509
- * /{repo}/-/git/deferred-commits
4334
+ * /{repo}/-/git/contents/{file_path}
3510
4335
  */
3511
- list: Git_ListDeferredCommits;
4336
+ get: Git_GetContent;
3512
4337
  };
3513
4338
  head: {
3514
4339
  /***
@@ -3521,6 +4346,17 @@ interface Client {
3521
4346
  */
3522
4347
  get: Git_GetHead;
3523
4348
  };
4349
+ raw: {
4350
+ /***
4351
+ * 获得仓库指定文件内容
4352
+ *
4353
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4354
+ * repo-code:r
4355
+ *
4356
+ * /{repo}/-/git/raw/{ref_with_path}
4357
+ */
4358
+ get: Git_GetRaw;
4359
+ };
3524
4360
  tagAnnotations: {
3525
4361
  /***
3526
4362
  * 删除指定 tag 的元数据。Delete the metadata of the specified tag.
@@ -3554,7 +4390,7 @@ interface Client {
3554
4390
  };
3555
4391
  tags: {
3556
4392
  /***
3557
- * 查询标签列表。List tags.
4393
+ * 查询 tag 列表。List tags.
3558
4394
  *
3559
4395
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3560
4396
  * repo-contents:r
@@ -3574,24 +4410,24 @@ interface Client {
3574
4410
  post: Git_CreateTag;
3575
4411
 
3576
4412
  /***
3577
- * 删除指定标签。Delete the specified tag.
4413
+ * 查询指定 tag。Get a tag.
3578
4414
  *
3579
4415
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3580
- * repo-contents:rw
4416
+ * repo-contents:r
3581
4417
  *
3582
4418
  * /{repo}/-/git/tags/{tag}
3583
4419
  */
3584
- delete: Git_DeleteTag;
4420
+ get: Git_GetTag;
3585
4421
 
3586
4422
  /***
3587
- * 查询指定 TagGet a tag.
4423
+ * 删除指定 tagDelete the specified tag.
3588
4424
  *
3589
4425
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3590
- * repo-contents:r
4426
+ * repo-contents:rw
3591
4427
  *
3592
4428
  * /{repo}/-/git/tags/{tag}
3593
4429
  */
3594
- get: Git_GetTag;
4430
+ delete: Git_DeleteTag;
3595
4431
  };
3596
4432
  };
3597
4433
  inheritMembers: {
@@ -3647,47 +4483,47 @@ interface Client {
3647
4483
  patch: Issues_UpdateIssue;
3648
4484
  assignees: {
3649
4485
  /***
3650
- * 删除 Issue 中的 Assignees。 Removes one or more assignees from an issue.
4486
+ * 查询指定 issue 的处理人。 List repository issue assignees.
3651
4487
  *
3652
4488
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3653
- * repo-notes:rw
4489
+ * repo-notes:r
3654
4490
  *
3655
4491
  * /{repo}/-/issues/{number}/assignees
3656
4492
  */
3657
- delete: Issues_DeleteIssueAssignees;
4493
+ list: Issues_ListIssueAssignees;
3658
4494
 
3659
4495
  /***
3660
- * 查询指定 Issue Assignees。 List repository issue assignees.
4496
+ * 添加处理人到指定的 issue。 Adds up to assignees to a issue, Users already assigned to an issue are not replaced.
3661
4497
  *
3662
4498
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3663
- * repo-notes:r
4499
+ * repo-notes:rw
3664
4500
  *
3665
4501
  * /{repo}/-/issues/{number}/assignees
3666
4502
  */
3667
- list: Issues_ListIssueAssignees;
4503
+ post: Issues_PostIssueAssignees;
3668
4504
 
3669
4505
  /***
3670
- * 更新 Issue 中的 Assignees。 Updates the assignees of an issue.
4506
+ * 删除 issue 中的处理人。 Removes one or more assignees from an issue.
3671
4507
  *
3672
4508
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3673
4509
  * repo-notes:rw
3674
4510
  *
3675
4511
  * /{repo}/-/issues/{number}/assignees
3676
4512
  */
3677
- patch: Issues_PatchIssueAssignees;
4513
+ delete: Issues_DeleteIssueAssignees;
3678
4514
 
3679
4515
  /***
3680
- * 添加 Assignees 到指定的 Issue。 Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.
4516
+ * 更新 issue 中的处理人。 Updates the assignees of an issue.
3681
4517
  *
3682
4518
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3683
4519
  * repo-notes:rw
3684
4520
  *
3685
4521
  * /{repo}/-/issues/{number}/assignees
3686
4522
  */
3687
- post: Issues_PostIssueAssignees;
4523
+ patch: Issues_PatchIssueAssignees;
3688
4524
 
3689
4525
  /***
3690
- * 检查用户是否可以被添加到 Issue Assignees 中。 Checks if a user can be assigned to an issue.
4526
+ * 检查用户是否可以被添加到 issue 的处理人中。 Checks if a user can be assigned to an issue.
3691
4527
  *
3692
4528
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3693
4529
  * repo-notes:r
@@ -3698,7 +4534,7 @@ interface Client {
3698
4534
  };
3699
4535
  comments: {
3700
4536
  /***
3701
- * 查询仓库的 Issue 评论列表。List repository issue comments.
4537
+ * 查询仓库的 issue 评论列表。List repository issue comments.
3702
4538
  *
3703
4539
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3704
4540
  * repo-notes:r
@@ -3708,7 +4544,7 @@ interface Client {
3708
4544
  list: Issues_ListIssueComments;
3709
4545
 
3710
4546
  /***
3711
- * 创建一个 Issue Comment。Create an issue comment.
4547
+ * 创建一个 issue 评论。Create an issue comment.
3712
4548
  *
3713
4549
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3714
4550
  * repo-notes:rw
@@ -3718,7 +4554,7 @@ interface Client {
3718
4554
  post: Issues_PostIssueComment;
3719
4555
 
3720
4556
  /***
3721
- * 获取一个 Issue Comment。Get an issue comment.
4557
+ * 获取指定 issue 评论。Get an issue comment.
3722
4558
  *
3723
4559
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3724
4560
  * repo-notes:r
@@ -3728,7 +4564,7 @@ interface Client {
3728
4564
  get: Issues_GetIssueComment;
3729
4565
 
3730
4566
  /***
3731
- * 修改一个 Issue Comment。Update an issue comment.
4567
+ * 修改一个 issue 评论。Update an issue comment.
3732
4568
  *
3733
4569
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3734
4570
  * repo-notes:rw
@@ -3739,27 +4575,27 @@ interface Client {
3739
4575
  };
3740
4576
  labels: {
3741
4577
  /***
3742
- * 清空 Issue 标签。Remove all labels from an issue.
4578
+ * 查询 issue 的标签列表。List labels for an issue.
3743
4579
  *
3744
4580
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3745
- * repo-notes:rw
4581
+ * repo-notes:r
3746
4582
  *
3747
4583
  * /{repo}/-/issues/{number}/labels
3748
4584
  */
3749
- delete: Issues_DeleteIssueLabels;
4585
+ list: Issues_ListIssueLabels;
3750
4586
 
3751
4587
  /***
3752
- * 查询 Issue 的标签(label) 列表。List labels for an issue.
4588
+ * 设置 issue 标签。 Set the new labels for an issue.
3753
4589
  *
3754
4590
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3755
- * repo-notes:r
4591
+ * repo-notes:rw
3756
4592
  *
3757
4593
  * /{repo}/-/issues/{number}/labels
3758
4594
  */
3759
- list: Issues_ListIssueLabels;
4595
+ put: Issues_PutIssueLabels;
3760
4596
 
3761
4597
  /***
3762
- * 新增 Issue 标签。Add labels to an issue.
4598
+ * 新增 issue 标签。Add labels to an issue.
3763
4599
  *
3764
4600
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3765
4601
  * repo-notes:rw
@@ -3769,17 +4605,17 @@ interface Client {
3769
4605
  post: Issues_PostIssueLabels;
3770
4606
 
3771
4607
  /***
3772
- * 设置 Issue 标签。 Set the new labels for an issue.
4608
+ * 清空 issue 标签。Remove all labels from an issue.
3773
4609
  *
3774
4610
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3775
4611
  * repo-notes:rw
3776
4612
  *
3777
4613
  * /{repo}/-/issues/{number}/labels
3778
4614
  */
3779
- put: Issues_PutIssueLabels;
4615
+ delete: Issues_DeleteIssueLabels;
3780
4616
 
3781
4617
  /***
3782
- * 删除 Issue 标签。Remove a label from an issue.
4618
+ * 删除 issue 标签。Remove a label from an issue.
3783
4619
  *
3784
4620
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3785
4621
  * repo-notes:rw
@@ -3792,24 +4628,24 @@ interface Client {
3792
4628
  knowledge: {
3793
4629
  base: {
3794
4630
  /***
3795
- * 删除知识库
4631
+ * 获取知识库信息
3796
4632
  *
3797
4633
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3798
- * repo-code:rw
4634
+ * repo-code:r
3799
4635
  *
3800
4636
  * /{repo}/-/knowledge/base
3801
4637
  */
3802
- delete: KnowledgeBase_DeleteKnowledgeBase;
4638
+ get: KnowledgeBase_GetKnowledgeBaseInfo;
3803
4639
 
3804
4640
  /***
3805
- * 获取知识库信息
4641
+ * 删除知识库
3806
4642
  *
3807
4643
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3808
- * repo-code:r
4644
+ * repo-code:rw
3809
4645
  *
3810
4646
  * /{repo}/-/knowledge/base
3811
4647
  */
3812
- get: KnowledgeBase_GetKnowledgeBaseInfo;
4648
+ delete: KnowledgeBase_DeleteKnowledgeBase;
3813
4649
  query: {
3814
4650
  /***
3815
4651
  * 查询知识库,使用文档:https://docs.cnb.cool/zh/ai/knowledge-base.html
@@ -3838,7 +4674,7 @@ interface Client {
3838
4674
  };
3839
4675
  labels: {
3840
4676
  /***
3841
- * 查询仓库的标签(label) 列表。List repository labels.
4677
+ * 查询仓库的标签列表。List repository labels.
3842
4678
  *
3843
4679
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3844
4680
  * repo-notes:r
@@ -3858,7 +4694,7 @@ interface Client {
3858
4694
  post: RepoLabels_PostLabel;
3859
4695
 
3860
4696
  /***
3861
- * 删除指定的仓库标签 label。Delete the specified repository label.
4697
+ * 删除指定的仓库标签。Delete the specified repository label.
3862
4698
  *
3863
4699
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3864
4700
  * repo-notes:rw
@@ -3877,28 +4713,6 @@ interface Client {
3877
4713
  */
3878
4714
  patch: RepoLabels_PatchLabel;
3879
4715
  };
3880
- lfs: {
3881
- /***
3882
- * 获取 git lfs 文件下载链接
3883
- *
3884
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3885
- * repo-code:r
3886
- *
3887
- * /{repo}/-/lfs/{oid}
3888
- */
3889
- get: Git_GetPresignedLFSDownloadLink;
3890
- };
3891
- listMembers: {
3892
- /***
3893
- * 获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.
3894
- *
3895
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3896
- * repo-manage:r
3897
- *
3898
- * /{repo}/-/list-members
3899
- */
3900
- list: Collaborators_ListAllMembers;
3901
- };
3902
4716
  members: {
3903
4717
  /***
3904
4718
  * 获取指定组织或仓库内的所有直接成员。List all direct members within specified organization or repository.
@@ -3932,14 +4746,14 @@ interface Client {
3932
4746
  };
3933
4747
 
3934
4748
  /***
3935
- * 删除指定组织或仓库的直接成员。Remove direct members from specified organization/repository.
4749
+ * 更新指定组织或仓库内的直接成员权限信息。Update permission information for direct members in specified organization/repository.
3936
4750
  *
3937
4751
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3938
4752
  * repo-manage:rw
3939
4753
  *
3940
4754
  * /{repo}/-/members/{username}
3941
4755
  */
3942
- delete: Collaborators_DeleteMembersOfRepo;
4756
+ put: Collaborators_UpdateMembersOfRepo;
3943
4757
 
3944
4758
  /***
3945
4759
  * 添加成员。Add members.
@@ -3952,49 +4766,18 @@ interface Client {
3952
4766
  post: Collaborators_AddMembersOfRepo;
3953
4767
 
3954
4768
  /***
3955
- * 更新指定组织或仓库内的直接成员权限信息。Update permission information for direct members in specified organization/repository.
4769
+ * 删除指定组织或仓库的直接成员。Remove direct members from specified organization/repository.
3956
4770
  *
3957
4771
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3958
4772
  * repo-manage:rw
3959
4773
  *
3960
4774
  * /{repo}/-/members/{username}
3961
4775
  */
3962
- put: Collaborators_UpdateMembersOfRepo;
3963
- };
3964
- outsideCollaborators: {
3965
- /***
3966
- * 获取指定仓库内的外部贡献者。List external contributors in specified repository.
3967
- *
3968
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3969
- * repo-manage:r
3970
- *
3971
- * /{repo}/-/outside-collaborators
3972
- */
3973
- list: Collaborators_ListOutsideCollaborators;
3974
-
3975
- /***
3976
- * 删除指定仓库的外部贡献者。Removes external contributors from specified repository.
3977
- *
3978
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3979
- * repo-manage:rw
3980
- *
3981
- * /{repo}/-/outside-collaborators/{username}
3982
- */
3983
- delete: Collaborators_DeleteOutsideCollaborators;
3984
-
3985
- /***
3986
- * 更新指定仓库的外部贡献者权限信息。 Update permission information for external contributors in specified repository.
3987
- *
3988
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
3989
- * repo-manage:rw
3990
- *
3991
- * /{repo}/-/outside-collaborators/{username}
3992
- */
3993
- put: Collaborators_UpdateOutsideCollaborators;
4776
+ delete: Collaborators_DeleteMembersOfRepo;
3994
4777
  };
3995
4778
  pullInBatch: {
3996
4779
  /***
3997
- * 根据numbers查询 Pull 列表。List pull requests by numbers.
4780
+ * 根据 number 列表查询合并请求列表。List pull requests by numbers.
3998
4781
  *
3999
4782
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4000
4783
  * repo-pr:r
@@ -4005,7 +4788,7 @@ interface Client {
4005
4788
  };
4006
4789
  pulls: {
4007
4790
  /***
4008
- * 查询 Pull 列表。List pull requests.
4791
+ * 查询合并请求列表。List pull requests.
4009
4792
  *
4010
4793
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4011
4794
  * repo-pr:r
@@ -4015,7 +4798,7 @@ interface Client {
4015
4798
  list: Pulls_ListPulls;
4016
4799
 
4017
4800
  /***
4018
- * 新增一个 Pull。Create a pull request.
4801
+ * 新增一个合并请求。Create a pull request.
4019
4802
  *
4020
4803
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4021
4804
  * repo-pr:rw
@@ -4025,7 +4808,7 @@ interface Client {
4025
4808
  post: Pulls_PostPull;
4026
4809
 
4027
4810
  /***
4028
- * 查询指定 Pull。Get a pull request.
4811
+ * 查询指定合并请求。Get a pull request.
4029
4812
  *
4030
4813
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4031
4814
  * repo-pr:r
@@ -4035,7 +4818,7 @@ interface Client {
4035
4818
  get: Pulls_GetPull;
4036
4819
 
4037
4820
  /***
4038
- * 更新一个 Pull Request。Update a pull request.
4821
+ * 更新一个合并请求。Update a pull request.
4039
4822
  *
4040
4823
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4041
4824
  * repo-pr:rw
@@ -4045,37 +4828,37 @@ interface Client {
4045
4828
  patch: Pulls_PatchPull;
4046
4829
  assignees: {
4047
4830
  /***
4048
- * 删除 PullRequest 中的 Assignees。 Removes one or more assignees from a pull request.
4831
+ * 查询指定合并请求的处理人。List repository pull request assignees.
4049
4832
  *
4050
4833
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4051
- * repo-notes:rw
4834
+ * repo-notes:r
4052
4835
  *
4053
4836
  * /{repo}/-/pulls/{number}/assignees
4054
4837
  */
4055
- delete: Pulls_DeletePullAssignees;
4838
+ list: Pulls_ListPullAssignees;
4056
4839
 
4057
4840
  /***
4058
- * 查询指定 PullRequest Assignees。List repository pull request assignees.
4841
+ * 添加处理人到指定的合并请求。 Adds up to assignees to a pull request. Users already assigned to an issue are not replaced.
4059
4842
  *
4060
4843
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4061
- * repo-notes:r
4844
+ * repo-notes:rw
4062
4845
  *
4063
4846
  * /{repo}/-/pulls/{number}/assignees
4064
4847
  */
4065
- list: Pulls_ListPullAssignees;
4848
+ post: Pulls_PostPullAssignees;
4066
4849
 
4067
4850
  /***
4068
- * 添加 Assignees 到指定的 PullRequest。 Adds up to 10 assignees to a pull request. Users already assigned to an issue are not replaced.
4851
+ * 删除合并请求中的处理人 Removes one or more assignees from a pull request.
4069
4852
  *
4070
4853
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4071
4854
  * repo-notes:rw
4072
4855
  *
4073
4856
  * /{repo}/-/pulls/{number}/assignees
4074
4857
  */
4075
- post: Pulls_PostPullAssignees;
4858
+ delete: Pulls_DeletePullAssignees;
4076
4859
 
4077
4860
  /***
4078
- * 检查用户是否可以被添加到 PullRequest 的 Assignees 中。 Checks if a user can be assigned to a pull request.
4861
+ * 检查用户是否可以被添加到合并请求的处理人中。 Checks if a user can be assigned to a pull request.
4079
4862
  *
4080
4863
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4081
4864
  * repo-notes:r
@@ -4084,20 +4867,9 @@ interface Client {
4084
4867
  */
4085
4868
  get: Pulls_CanUserBeAssignedToPull;
4086
4869
  };
4087
- cherryPick: {
4088
- /***
4089
- * 拣选一个已合并的 Pull Request 的提交到选定的分支
4090
- *
4091
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4092
- * repo-pr:rw
4093
- *
4094
- * /{repo}/-/pulls/{number}/cherry-pick
4095
- */
4096
- post: Pulls_CherryPickPullRequest;
4097
- };
4098
4870
  comments: {
4099
4871
  /***
4100
- * 查询 Pull Comments 列表。List pull comments requests.
4872
+ * 查询合并请求评论列表。List pull comments requests.
4101
4873
  *
4102
4874
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4103
4875
  * repo-notes:r
@@ -4107,7 +4879,7 @@ interface Client {
4107
4879
  list: Pulls_ListPullComments;
4108
4880
 
4109
4881
  /***
4110
- * 新增一个 Pull Comment。Create a pull comment.
4882
+ * 新增一个合并请求评论。Create a pull comment.
4111
4883
  *
4112
4884
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4113
4885
  * repo-notes:rw
@@ -4115,30 +4887,83 @@ interface Client {
4115
4887
  * /{repo}/-/pulls/{number}/comments
4116
4888
  */
4117
4889
  post: Pulls_PostPullComment;
4890
+
4891
+ /***
4892
+ * 获取一个合并请求评论。Get a pull comment.
4893
+ *
4894
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4895
+ * repo-notes:r
4896
+ *
4897
+ * /{repo}/-/pulls/{number}/comments/{comment_id}
4898
+ */
4899
+ get: Pulls_GetPullComment;
4900
+
4901
+ /***
4902
+ * 更新一个合并请求评论。Update a pull comment.
4903
+ *
4904
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4905
+ * repo-notes:rw
4906
+ *
4907
+ * /{repo}/-/pulls/{number}/comments/{comment_id}
4908
+ */
4909
+ patch: Pulls_PatchPullComment;
4910
+ };
4911
+ commitStatuses: {
4912
+ /***
4913
+ * 查询 Pull 的状态检查
4914
+ *
4915
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4916
+ * repo-pr:r
4917
+ *
4918
+ * /{repo}/-/pulls/{number}/commit-statuses
4919
+ */
4920
+ get: Pulls_ListPullCommitStatuses;
4921
+ };
4922
+ commits: {
4923
+ /***
4924
+ * 查询指定合并请求的提交列表。Lists the commits in a specified pull request.
4925
+ *
4926
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4927
+ * repo-notes:r
4928
+ *
4929
+ * /{repo}/-/pulls/{number}/commits
4930
+ */
4931
+ list: Pulls_ListPullCommits;
4932
+ };
4933
+ files: {
4934
+ /***
4935
+ * 查询指定合并请求的文件列表。Lists the files in a specified pull request.
4936
+ *
4937
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4938
+ * repo-notes:r
4939
+ *
4940
+ * /{repo}/-/pulls/{number}/files
4941
+ */
4942
+ list: Pulls_ListPullFiles;
4118
4943
  };
4119
4944
  labels: {
4120
4945
  /***
4121
- * 清空 Pull 标签。Remove all labels from a pull.
4946
+ * 查询指定合并请求的标签列表。List labels for a pull.
4122
4947
  *
4123
4948
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4124
- * repo-notes:rw
4949
+ * repo-notes:r
4125
4950
  *
4126
4951
  * /{repo}/-/pulls/{number}/labels
4127
4952
  */
4128
- delete: Pulls_DeletePullLabels;
4953
+ list: Pulls_ListPullLabels;
4129
4954
 
4130
4955
  /***
4131
- * 查询 Pull 的标签(label) 列表。List labels for a pull.
4956
+ * 设置合并请求标签。Set the new labels for a pull.
4132
4957
  *
4133
4958
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4134
- * repo-notes:r
4959
+ * repo-notes:rw
4135
4960
  *
4136
4961
  * /{repo}/-/pulls/{number}/labels
4137
4962
  */
4138
- list: Pulls_ListPullLabels;
4963
+ put: Pulls_PutPullLabels;
4139
4964
 
4140
4965
  /***
4141
- * 新增 Pull 标签。Add labels to a pull.
4966
+ * 新增合并请求标签。Add labels to a pull.
4142
4967
  *
4143
4968
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4144
4969
  * repo-notes:rw
@@ -4148,17 +4973,17 @@ interface Client {
4148
4973
  post: Pulls_PostPullLabels;
4149
4974
 
4150
4975
  /***
4151
- * 设置 Pull 标签。Set the new labels for a pull.
4976
+ * 清空合并请求标签。Remove all labels from a pull.
4152
4977
  *
4153
4978
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4154
4979
  * repo-notes:rw
4155
4980
  *
4156
4981
  * /{repo}/-/pulls/{number}/labels
4157
4982
  */
4158
- put: Pulls_PutPullLabels;
4983
+ delete: Pulls_DeletePullLabels;
4159
4984
 
4160
4985
  /***
4161
- * 删除 Pull 标签。Remove a label from a pull.
4986
+ * 删除合并请求标签。Remove a label from a pull.
4162
4987
  *
4163
4988
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4164
4989
  * repo-notes:rw
@@ -4169,7 +4994,7 @@ interface Client {
4169
4994
  };
4170
4995
  merge: {
4171
4996
  /***
4172
- * 合并一个 Pull Request。Merge a pull request.
4997
+ * 合并一个合并请求。Merge a pull request.
4173
4998
  *
4174
4999
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4175
5000
  * repo-pr:rw
@@ -4178,20 +5003,19 @@ interface Client {
4178
5003
  */
4179
5004
  put: Pulls_MergePull;
4180
5005
  };
4181
- revert: {
5006
+ reviews: {
4182
5007
  /***
4183
- * 还原一个已合并的 Pull Request
5008
+ * 查询特定合并请求的评审列表。List pull reviews.
4184
5009
  *
4185
5010
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4186
- * repo-pr:rw
5011
+ * repo-notes:r
4187
5012
  *
4188
- * /{repo}/-/pulls/{number}/revert
5013
+ * /{repo}/-/pulls/{number}/reviews
4189
5014
  */
4190
- post: Pulls_RevertPullRequest;
4191
- };
4192
- reviews: {
5015
+ list: Pulls_ListPullReviews;
5016
+
4193
5017
  /***
4194
- * 新增一次 pull request 评审。Create a pull review.
5018
+ * 新增一次合并请求评审。Create a pull review.
4195
5019
  *
4196
5020
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4197
5021
  * repo-notes:rw
@@ -4199,6 +5023,17 @@ interface Client {
4199
5023
  * /{repo}/-/pulls/{number}/reviews
4200
5024
  */
4201
5025
  post: Pulls_PostPullReview;
5026
+ comments: {
5027
+ /***
5028
+ * 查询指定合并请求评审评论列表。List pull review comments.
5029
+ *
5030
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5031
+ * repo-notes:r
5032
+ *
5033
+ * /{repo}/-/pulls/{number}/reviews/{review_id}/comments
5034
+ */
5035
+ list: Pulls_ListPullReviewComments;
5036
+ };
4202
5037
  };
4203
5038
  };
4204
5039
  releases: {
@@ -4213,7 +5048,7 @@ interface Client {
4213
5048
  list: Releases_ListReleases;
4214
5049
 
4215
5050
  /***
4216
- * 新增一个 Release。Create a release.
5051
+ * 新增一个 release。Create a release.
4217
5052
  *
4218
5053
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4219
5054
  * repo-code:rw
@@ -4234,7 +5069,7 @@ interface Client {
4234
5069
  };
4235
5070
  latest: {
4236
5071
  /***
4237
- * 查询 latest release。Query the latest release.
5072
+ * 查询最新的 release。Query the latest release.
4238
5073
  *
4239
5074
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4240
5075
  * repo-code:r
@@ -4267,24 +5102,24 @@ interface Client {
4267
5102
  };
4268
5103
 
4269
5104
  /***
4270
- * 删除指定的 release。Delete a release.
5105
+ * 根据 id 查询指定 release, 包含附件信息。Get a release by id, include assets information.
4271
5106
  *
4272
5107
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4273
- * repo-code:rw
5108
+ * repo-code:r
4274
5109
  *
4275
5110
  * /{repo}/-/releases/{release_id}
4276
5111
  */
4277
- delete: Releases_DeleteRelease;
5112
+ get: Releases_GetReleaseByID;
4278
5113
 
4279
5114
  /***
4280
- * 根据 id 查询指定 release, 包含附件信息。Get a release by id, include assets information.
5115
+ * 删除指定的 release。Delete a release.
4281
5116
  *
4282
5117
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4283
- * repo-code:r
5118
+ * repo-code:rw
4284
5119
  *
4285
5120
  * /{repo}/-/releases/{release_id}
4286
5121
  */
4287
- get: Releases_GetReleaseByID;
5122
+ delete: Releases_DeleteRelease;
4288
5123
 
4289
5124
  /***
4290
5125
  * 更新 release。Update a release.
@@ -4297,7 +5132,7 @@ interface Client {
4297
5132
  patch: Releases_PatchRelease;
4298
5133
  assetUploadConfirmation: {
4299
5134
  /***
4300
- * 确认 Release asset 上传完成。Confirm release asset upload.
5135
+ * 确认 release 附件上传完成。Confirm release asset upload.
4301
5136
  *
4302
5137
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4303
5138
  * repo-code:rw
@@ -4308,7 +5143,7 @@ interface Client {
4308
5143
  };
4309
5144
  assetUploadUrl: {
4310
5145
  /***
4311
- * 新增一个 Release asset。Create a release asset.
5146
+ * 新增一个 release 附件。Create a release asset.
4312
5147
  *
4313
5148
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4314
5149
  * repo-code:rw
@@ -4319,38 +5154,40 @@ interface Client {
4319
5154
  };
4320
5155
  assets: {
4321
5156
  /***
4322
- * 删除指定的 release asset。Delete the specified release asset.
5157
+ * 查询指定的 release 附件 the specified release asset.
4323
5158
  *
4324
5159
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4325
- * repo-code:rw
5160
+ * repo-code:r
4326
5161
  *
4327
5162
  * /{repo}/-/releases/{release_id}/assets/{asset_id}
4328
5163
  */
4329
- delete: Releases_DeleteReleaseAsset;
5164
+ get: Releases_GetReleaseAsset;
4330
5165
 
4331
5166
  /***
4332
- * 查询指定的 release asset。Get the specified release asset.
5167
+ * 删除指定的 release 附件 the specified release asset.
4333
5168
  *
4334
5169
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4335
- * repo-code:r
5170
+ * repo-code:rw
4336
5171
  *
4337
5172
  * /{repo}/-/releases/{release_id}/assets/{asset_id}
4338
5173
  */
4339
- get: Releases_GetReleaseAsset;
5174
+ delete: Releases_DeleteReleaseAsset;
4340
5175
  };
4341
5176
  };
4342
- settings: {
4343
- archive: {
5177
+ security: {
5178
+ overview: {
4344
5179
  /***
4345
- * 仓库归档
5180
+ * 查询仓库安全模块概览数据。Query the security overview data of a repository
4346
5181
  *
4347
5182
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4348
- * repo-manage:rw,repo-code:rw
5183
+ * repo-security:r
4349
5184
  *
4350
- * /{repo}/-/settings/archive
5185
+ * /{repo}/-/security/overview
4351
5186
  */
4352
- post: Repositories_ArchiveRepo;
5187
+ get: Security_GetRepoSecurityOverview;
4353
5188
  };
5189
+ };
5190
+ settings: {
4354
5191
  branchProtections: {
4355
5192
  /***
4356
5193
  * 查询仓库保护分支规则列表。List branch protection rules.
@@ -4373,24 +5210,24 @@ interface Client {
4373
5210
  post: GitSettings_PostBranchProtection;
4374
5211
 
4375
5212
  /***
4376
- * 删除仓库保护分支规则。 Delete branch protection rule.
5213
+ * 查询仓库保护分支规则。Get branch protection rule.
4377
5214
  *
4378
5215
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4379
- * repo-manage:rw
5216
+ * repo-manage:r
4380
5217
  *
4381
5218
  * /{repo}/-/settings/branch-protections/{id}
4382
5219
  */
4383
- delete: GitSettings_DeleteBranchProtection;
5220
+ get: GitSettings_GetBranchProtection;
4384
5221
 
4385
5222
  /***
4386
- * 查询仓库保护分支规则。Get branch protection rule.
5223
+ * 删除仓库保护分支规则。 Delete branch protection rule.
4387
5224
  *
4388
5225
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4389
- * repo-manage:r
5226
+ * repo-manage:rw
4390
5227
  *
4391
5228
  * /{repo}/-/settings/branch-protections/{id}
4392
5229
  */
4393
- get: GitSettings_GetBranchProtection;
5230
+ delete: GitSettings_DeleteBranchProtection;
4394
5231
 
4395
5232
  /***
4396
5233
  * 更新仓库保护分支规则。Update branch protection rule.
@@ -4435,7 +5272,7 @@ interface Client {
4435
5272
  get: GitSettings_GetPullRequestSettings;
4436
5273
 
4437
5274
  /***
4438
- * 设置仓库推送设置。Set pull request settings.
5275
+ * 更新仓库合并请求设置。Set pull request settings.
4439
5276
  *
4440
5277
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4441
5278
  * repo-manage:rw
@@ -4465,43 +5302,21 @@ interface Client {
4465
5302
  */
4466
5303
  put: GitSettings_PutPushLimitSettings;
4467
5304
  };
4468
- unarchive: {
5305
+ setVisibility: {
4469
5306
  /***
4470
- * 解除仓库归档
5307
+ * 改变仓库可见性。Update visibility of repository.
4471
5308
  *
4472
5309
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4473
- * repo-manage:rw,repo-code:rw
5310
+ * repo-manage:rw
4474
5311
  *
4475
- * /{repo}/-/settings/unarchive
5312
+ * /{repo}/-/settings/set_visibility
4476
5313
  */
4477
- post: Repositories_UnArchiveRepo;
5314
+ post: Repositories_SetRepoVisibility;
4478
5315
  };
4479
5316
  };
4480
- stars: {
4481
- /***
4482
- * 获取指定仓库的star用户列表。Get the list of users who starred the specified repository.
4483
- *
4484
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4485
- * repo-basic-info:r
4486
- *
4487
- * /{repo}/-/stars
4488
- */
4489
- get: Starring_ListStarUsers;
4490
- };
4491
- topActivityUsers: {
4492
- /***
4493
- * 获取 top 贡献用户。List the top contributing users
4494
- *
4495
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4496
- * repo-base-info:r
4497
- *
4498
- * /{repo}/-/top-activity-users
4499
- */
4500
- list: Collaborators_TopContributors;
4501
- };
4502
5317
  transfer: {
4503
5318
  /***
4504
- * 转移仓库
5319
+ * 转移仓库。Transfer a repository.
4505
5320
  *
4506
5321
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4507
5322
  * repo-manage:rw,repo-code:rw
@@ -4513,7 +5328,7 @@ interface Client {
4513
5328
  upload: {
4514
5329
  files: {
4515
5330
  /***
4516
- * 发起一个上传 files 的请求,返回上传 cos 的 url form 内容。Initiate a request to upload files,returns COS upload URL and form data.
5331
+ * 发起一个上传 files 的请求,返回上传文件的url,请使用 put 发起流式上传。Initiate a request to upload files,returns upload URL.Use PUT to initiate a stream upload.
4517
5332
  *
4518
5333
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4519
5334
  * repo-contents:rw
@@ -4524,7 +5339,7 @@ interface Client {
4524
5339
  };
4525
5340
  imgs: {
4526
5341
  /***
4527
- * 发起一个上传 imgs 的请求,返回上传 cos url form 内容。发起一个上传 imgs 的请求,返回上传 cos url form 内容.
5342
+ * 发起一个上传 imgs 的请求,返回上传文件的url,请使用 put 发起流式上传。Initiate a request to upload images,returns upload URL.Use PUT to initiate a stream upload.
4528
5343
  *
4529
5344
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4530
5345
  * repo-contents:rw
@@ -4533,17 +5348,6 @@ interface Client {
4533
5348
  */
4534
5349
  post: Assets_UploadImgs;
4535
5350
  };
4536
- releases: {
4537
- /***
4538
- * 发起一个上传 release 附件的请求,返回上传 cos 的 url 。Initiate a request to upload release attachments,
4539
- *
4540
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4541
- * repo-contents:rw
4542
- *
4543
- * /{repo}/-/upload/releases/{tagName}
4544
- */
4545
- post: Assets_UploadReleases;
4546
- };
4547
5351
  };
4548
5352
  workspace: {
4549
5353
  detail: {
@@ -4571,145 +5375,328 @@ interface Client {
4571
5375
  };
4572
5376
  };
4573
5377
  slug: {
5378
+ contributor: {
5379
+ trend: {
5380
+ /***
5381
+ * 查询仓库贡献者前 100 名的详细趋势数据。Query detailed trend data for top 100 contributors of the repository.
5382
+ *
5383
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5384
+ * repo-code:r
5385
+ *
5386
+ * /{slug}/-/contributor/trend
5387
+ */
5388
+ get: RepoContributor_GetRepoContributorTrend;
5389
+ };
5390
+ };
5391
+ listMembers: {
5392
+ /***
5393
+ * 获取指定仓库内的有效成员列表,包含继承成员。List active members in specified repository including inherited members.
5394
+ *
5395
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5396
+ * repo-manage:r
5397
+ *
5398
+ * /{slug}/-/list-members
5399
+ */
5400
+ list: Collaborators_ListAllMembers;
5401
+ };
5402
+ missions: {
5403
+ /***
5404
+ * 查询组织下面用户有权限查看到的任务集。Query all missions that the user has permission to see under the specific organization.
5405
+ *
5406
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5407
+ * group-resource:r
5408
+ *
5409
+ * /{slug}/-/missions
5410
+ */
5411
+ list: Missions_GetGroupSubMissions;
5412
+
5413
+ /***
5414
+ * 创建任务集。Create a mission.
5415
+ *
5416
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5417
+ * group-resource:rw
5418
+ *
5419
+ * /{slug}/-/missions
5420
+ */
5421
+ post: Missions_CreateMission;
5422
+ };
5423
+ outsideCollaborators: {
5424
+ /***
5425
+ * 获取指定仓库内的外部贡献者。List external contributors in specified repository.
5426
+ *
5427
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5428
+ * repo-manage:r
5429
+ *
5430
+ * /{slug}/-/outside-collaborators
5431
+ */
5432
+ list: Collaborators_ListOutsideCollaborators;
5433
+
5434
+ /***
5435
+ * 更新指定仓库的外部贡献者权限信息。 Update permission information for external contributors in specified repository.
5436
+ *
5437
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5438
+ * repo-manage:rw
5439
+ *
5440
+ * /{slug}/-/outside-collaborators/{username}
5441
+ */
5442
+ put: Collaborators_UpdateOutsideCollaborators;
5443
+
5444
+ /***
5445
+ * 删除指定仓库的外部贡献者。Removes external contributors from specified repository.
5446
+ *
5447
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5448
+ * repo-manage:rw
5449
+ *
5450
+ * /{slug}/-/outside-collaborators/{username}
5451
+ */
5452
+ delete: Collaborators_DeleteOutsideCollaborators;
5453
+ };
4574
5454
  packages: {
4575
5455
  /***
4576
5456
  * 查询制品列表。 List all packages.
4577
5457
  *
5458
+ * 制品首页
4578
5459
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4579
5460
  * registry-package:r
4580
5461
  *
4581
5462
  * /{slug}/-/packages
4582
5463
  */
4583
- list: Artifactory_ListPackages;
5464
+ list: Registries_ListPackages;
4584
5465
 
4585
5466
  /***
4586
- * 查询制品数量。 Head all packages.
5467
+ * 获取指定制品的详细信息。 Get the package detail.
4587
5468
  *
5469
+ * 制品详情页
4588
5470
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4589
5471
  * registry-package:r
4590
5472
  *
4591
- * /{slug}/-/packages
5473
+ * /{slug}/-/packages/{type}/{name}
4592
5474
  */
4593
- head: Artifactory_HeadPackages;
5475
+ get: Registries_GetPackage;
4594
5476
 
4595
5477
  /***
4596
- * 获取某一制品的详细信息。 Get the package detail.
5478
+ * 删除制品。 Delete the specific package.
4597
5479
  *
5480
+ * 制品详情页-删除制品
4598
5481
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4599
- * registry-package:r
5482
+ * registry-package-delete:rw
4600
5483
  *
4601
5484
  * /{slug}/-/packages/{type}/{name}
4602
5485
  */
4603
- get: Artifactory_GetPackage;
5486
+ delete: Registries_DeletePackage;
4604
5487
  name: {
4605
5488
  tag: {
4606
5489
  /***
4607
- * 删除制品标签。 Delete the specific tag under specific package
5490
+ * 获取制品标签详情。 Get the specific tag under specific package.
4608
5491
  *
5492
+ * 制品详情页-版本详情
4609
5493
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4610
- * registry-package-delete:rw
5494
+ * registry-package:r
4611
5495
  *
4612
5496
  * /{slug}/-/packages/{type}/{name}/-/tag/{tag}
4613
5497
  */
4614
- delete: Artifactory_DeletePackageTag;
5498
+ get: Registries_GetPackageTagDetail;
4615
5499
 
4616
5500
  /***
4617
- * 获取制品标签详情。 Get the specific tag under specific package.
5501
+ * 删除制品标签。 Delete the specific tag under specific package
4618
5502
  *
5503
+ * 制品详情页-版本详情-删除标签
4619
5504
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4620
- * registry-package:r
5505
+ * registry-package-delete:rw
4621
5506
  *
4622
5507
  * /{slug}/-/packages/{type}/{name}/-/tag/{tag}
4623
5508
  */
4624
- get: Artifactory_GetPackageTagDetail;
5509
+ delete: Registries_DeletePackageTag;
4625
5510
  };
4626
- };
4627
- pkgname: {
4628
5511
  tags: {
4629
5512
  /***
4630
5513
  * 查询制品标签列表。 List all tags under specific package.
4631
5514
  *
5515
+ * 制品详情页-版本列表
4632
5516
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4633
5517
  * registry-package:r
4634
5518
  *
4635
- * /{slug}/-/packages/{type}/{pkgname}/-/tags
5519
+ * /{slug}/-/packages/{type}/{name}/-/tags
4636
5520
  */
4637
- get: Artifactory_ListPackageTags;
5521
+ get: Registries_ListPackageTags;
4638
5522
  };
4639
5523
  };
4640
5524
  };
4641
- registry: {
4642
- quota: {
5525
+ pinnedRepos: {
5526
+ /***
5527
+ * 获取指定组织的仓库墙列表。List the pinned repositories of a group.
5528
+ *
5529
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5530
+ * group-manage:r
5531
+ *
5532
+ * /{slug}/-/pinned-repos
5533
+ */
5534
+ list: Repositories_GetPinnedRepoByGroup;
5535
+
5536
+ /***
5537
+ * 更新指定组织仓库墙。Update the pinned repositories of a group.
5538
+ *
5539
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5540
+ * group-manage:rw
5541
+ *
5542
+ * /{slug}/-/pinned-repos
5543
+ */
5544
+ put: Repositories_SetPinnedRepoByGroup;
5545
+ };
5546
+ registries: {
5547
+ /***
5548
+ * 查询组织下面用户有权限查看到的制品仓库。Query all registries that the user has permission to see under specific organization.
5549
+ *
5550
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5551
+ * group-resource:r
5552
+ *
5553
+ * /{slug}/-/registries
5554
+ */
5555
+ list: Registries_GetGroupSubRegistries;
5556
+ };
5557
+ repos: {
5558
+ /***
5559
+ * 查询组织下访问用户有权限查看到仓库。List the repositories that the user has access to.
5560
+ *
5561
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5562
+ * group-resource:r
5563
+ *
5564
+ * /{slug}/-/repos
5565
+ */
5566
+ list: Repositories_GetGroupSubRepos;
5567
+
5568
+ /***
5569
+ * 创建仓库。Create repositories.
5570
+ *
5571
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5572
+ * group-resource:rw
5573
+ *
5574
+ * /{slug}/-/repos
5575
+ */
5576
+ post: Repositories_CreateRepo;
5577
+ };
5578
+ settings: {
5579
+ /***
5580
+ * 获取指定组织的配置详情。Get the configuration details for the specified organization.
5581
+ *
5582
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5583
+ * group-manage:r
5584
+ *
5585
+ * /{slug}/-/settings
5586
+ */
5587
+ get: Organizations_GetGroupSetting;
5588
+
5589
+ /***
5590
+ * 更新指定组织的配置。Updates the configuration for the specified organization.
5591
+ *
5592
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5593
+ * group-manage:rw
5594
+ *
5595
+ * /{slug}/-/settings
5596
+ */
5597
+ put: Organizations_UpdateGroupSetting;
5598
+ archive: {
4643
5599
  /***
4644
- * 查询制品配额。 Get quota of specific registry.
5600
+ * 仓库归档。Archive a repository.
4645
5601
  *
4646
5602
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4647
- * registry-package:r
5603
+ * repo-manage:rw,repo-code:rw
4648
5604
  *
4649
- * /{slug}/-/registry/-/quota
5605
+ * /{slug}/-/settings/archive
4650
5606
  */
4651
- get: Artifactory_GetRegistryQuota;
5607
+ post: Repositories_ArchiveRepo;
4652
5608
  };
4653
- quotas: {
5609
+ unarchive: {
4654
5610
  /***
4655
- * 查询全部制品配额。 Get quotas of packages under one registry.
5611
+ * 解除仓库归档。Unarchive a repository.
4656
5612
  *
4657
5613
  * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4658
- * registry-package:r
5614
+ * repo-manage:rw,repo-code:rw
4659
5615
  *
4660
- * /{slug}/-/registry/-/quotas
5616
+ * /{slug}/-/settings/unarchive
4661
5617
  */
4662
- list: Artifactory_GetRegistryQuotas;
4663
- download: {
4664
- /***
4665
- * 下载制品配额信息。 Download registry quota details.
4666
- *
4667
- * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
4668
- * registry-package:r
4669
- *
4670
- * /{slug}/-/registry/-/quotas/download
4671
- */
4672
- list: Artifactory_DownloadRegistryQuotas;
4673
- };
5618
+ post: Repositories_UnArchiveRepo;
4674
5619
  };
4675
5620
  };
5621
+ stars: {
5622
+ /***
5623
+ * 获取指定仓库的star用户列表。Get the list of users who starred the specified repository.
5624
+ *
5625
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5626
+ * repo-basic-info:r
5627
+ *
5628
+ * /{slug}/-/stars
5629
+ */
5630
+ get: Starring_ListStarUsers;
5631
+ };
5632
+ subGroups: {
5633
+ /***
5634
+ * 获取指定组织下的子组织列表。Get the list of sub-organizations under the specified organization.
5635
+ *
5636
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5637
+ * group-resource:r
5638
+ *
5639
+ * /{slug}/-/sub-groups
5640
+ */
5641
+ list: Organizations_ListSubgroups;
5642
+ };
5643
+ topActivityUsers: {
5644
+ /***
5645
+ * 获取 top 贡献用户。List the top contributing users
5646
+ *
5647
+ * 访问令牌调用此接口需包含以下权限。Required permissions for access token.
5648
+ * repo-base-info:r
5649
+ *
5650
+ * /{slug}/-/top-activity-users
5651
+ */
5652
+ list: Collaborators_TopContributors;
5653
+ };
5654
+ };
5655
+ Event: {
5656
+ GetEvents: Event_GetEvents;
4676
5657
  };
4677
5658
  Organizations: {
4678
5659
  CreateOrganization: Organizations_CreateOrganization;
4679
5660
  ListTopGroups: Organizations_ListTopGroups;
4680
5661
  ListGroups: Organizations_ListGroups;
4681
5662
  GetGroupsByUserID: Organizations_GetGroupsByUserID;
4682
- DeleteOrganization: Organizations_DeleteOrganization;
4683
5663
  GetGroup: Organizations_GetGroup;
4684
5664
  UpdateOrganization: Organizations_UpdateOrganization;
5665
+ DeleteOrganization: Organizations_DeleteOrganization;
5666
+ TransferGroup: Organizations_TransferGroup;
5667
+ UploadLogos: Organizations_UploadLogos;
4685
5668
  GetGroupSetting: Organizations_GetGroupSetting;
4686
5669
  UpdateGroupSetting: Organizations_UpdateGroupSetting;
4687
5670
  ListSubgroups: Organizations_ListSubgroups;
4688
- TransferGroup: Organizations_TransferGroup;
4689
5671
  };
4690
5672
  Users: {
4691
5673
  GetUserInfo: Users_GetUserInfo;
4692
5674
  UpdateUserInfo: Users_UpdateUserInfo;
4693
5675
  AutoCompleteSource: Users_AutoCompleteSource;
5676
+ ListGPGKeys: Users_ListGPGKeys;
4694
5677
  GetUserInfoByName: Users_GetUserInfoByName;
4695
5678
  };
4696
5679
  Repositories: {
4697
5680
  GetRepos: Repositories_GetRepos;
4698
- GetUserAllStaredRepos: Repositories_GetUserAllStaredRepos;
4699
5681
  GetPinnedRepoByID: Repositories_GetPinnedRepoByID;
4700
5682
  GetReposByUserName: Repositories_GetReposByUserName;
5683
+ GetByID: Repositories_GetByID;
5684
+ DeleteRepo: Repositories_DeleteRepo;
5685
+ UpdateRepo: Repositories_UpdateRepo;
5686
+ ListForksRepos: Repositories_ListForksRepos;
5687
+ SetRepoVisibility: Repositories_SetRepoVisibility;
5688
+ TransferRepo: Repositories_TransferRepo;
4701
5689
  GetPinnedRepoByGroup: Repositories_GetPinnedRepoByGroup;
4702
5690
  SetPinnedRepoByGroup: Repositories_SetPinnedRepoByGroup;
4703
5691
  GetGroupSubRepos: Repositories_GetGroupSubRepos;
4704
5692
  CreateRepo: Repositories_CreateRepo;
4705
- DeleteRepo: Repositories_DeleteRepo;
4706
- GetByID: Repositories_GetByID;
4707
- UpdateRepo: Repositories_UpdateRepo;
4708
- ListForksRepos: Repositories_ListForksRepos;
4709
- CreateAFork: Repositories_CreateAFork;
4710
5693
  ArchiveRepo: Repositories_ArchiveRepo;
4711
5694
  UnArchiveRepo: Repositories_UnArchiveRepo;
4712
- TransferRepo: Repositories_TransferRepo;
5695
+ };
5696
+ Starring: {
5697
+ GetUserAllStaredRepos: Starring_GetUserAllStaredRepos;
5698
+ GetUserStaredRepos: Starring_GetUserStaredRepos;
5699
+ ListStarUsers: Starring_ListStarUsers;
4713
5700
  };
4714
5701
  Activities: {
4715
5702
  GetUserActivitiesByDate: Activities_GetUserActivitiesByDate;
@@ -4719,33 +5706,30 @@ interface Client {
4719
5706
  GetFollowersByUserID: Followers_GetFollowersByUserID;
4720
5707
  GetFollowingByUserID: Followers_GetFollowingByUserID;
4721
5708
  };
4722
- Starring: {
4723
- GetUserStaredRepos: Starring_GetUserStaredRepos;
4724
- ListStarUsers: Starring_ListStarUsers;
4725
- };
4726
5709
  Workspace: {
4727
5710
  DeleteWorkspace: Workspace_DeleteWorkspace;
4728
5711
  ListWorkspaces: Workspace_ListWorkspaces;
5712
+ WorkspaceStop: Workspace_WorkspaceStop;
4729
5713
  GetWorkspaceDetail: Workspace_GetWorkspaceDetail;
4730
5714
  StartWorkspace: Workspace_StartWorkspace;
4731
5715
  };
4732
5716
  Collaborators: {
4733
5717
  ListInheritMembersOfGroup: Collaborators_ListInheritMembersOfGroup;
4734
5718
  ListMembersOfGroup: Collaborators_ListMembersOfGroup;
4735
- DeleteMembersOfGroup: Collaborators_DeleteMembersOfGroup;
4736
- AddMembersOfGroup: Collaborators_AddMembersOfGroup;
4737
5719
  UpdateMembersOfGroup: Collaborators_UpdateMembersOfGroup;
5720
+ AddMembersOfGroup: Collaborators_AddMembersOfGroup;
5721
+ DeleteMembersOfGroup: Collaborators_DeleteMembersOfGroup;
4738
5722
  AddMembersOfMission: Collaborators_AddMembersOfMission;
4739
5723
  AddMembersOfRegistry: Collaborators_AddMembersOfRegistry;
4740
5724
  ListInheritMembersOfRepo: Collaborators_ListInheritMembersOfRepo;
4741
- ListAllMembers: Collaborators_ListAllMembers;
4742
5725
  ListMembersOfRepo: Collaborators_ListMembersOfRepo;
4743
- DeleteMembersOfRepo: Collaborators_DeleteMembersOfRepo;
4744
- AddMembersOfRepo: Collaborators_AddMembersOfRepo;
4745
5726
  UpdateMembersOfRepo: Collaborators_UpdateMembersOfRepo;
5727
+ AddMembersOfRepo: Collaborators_AddMembersOfRepo;
5728
+ DeleteMembersOfRepo: Collaborators_DeleteMembersOfRepo;
5729
+ ListAllMembers: Collaborators_ListAllMembers;
4746
5730
  ListOutsideCollaborators: Collaborators_ListOutsideCollaborators;
4747
- DeleteOutsideCollaborators: Collaborators_DeleteOutsideCollaborators;
4748
5731
  UpdateOutsideCollaborators: Collaborators_UpdateOutsideCollaborators;
5732
+ DeleteOutsideCollaborators: Collaborators_DeleteOutsideCollaborators;
4749
5733
  TopContributors: Collaborators_TopContributors;
4750
5734
  };
4751
5735
  Contributors: {
@@ -4755,48 +5739,61 @@ interface Client {
4755
5739
  ListMemberAccessLevelOfRepo: Contributors_ListMemberAccessLevelOfRepo;
4756
5740
  };
4757
5741
  Missions: {
4758
- CreateMission: Missions_CreateMission;
4759
5742
  DeleteMission: Missions_DeleteMission;
5743
+ GetMissionViewConfig: Missions_GetMissionViewConfig;
5744
+ PostMissionViewConfig: Missions_PostMissionViewConfig;
5745
+ GetMissionViewList: Missions_GetMissionViewList;
5746
+ PutMissionViewList: Missions_PutMissionViewList;
5747
+ PostMissionViewList: Missions_PostMissionViewList;
5748
+ SetMissionVisibility: Missions_SetMissionVisibility;
5749
+ GetGroupSubMissions: Missions_GetGroupSubMissions;
5750
+ CreateMission: Missions_CreateMission;
4760
5751
  };
4761
- Assets: {
4762
- UploadLogos: Assets_UploadLogos;
4763
- GetCommitAssets: Assets_GetCommitAssets;
4764
- GetReleasesAsset: Assets_GetReleasesAsset;
4765
- GetLatestReleasesAsset: Assets_GetLatestReleasesAsset;
4766
- UploadFiles: Assets_UploadFiles;
4767
- UploadImgs: Assets_UploadImgs;
4768
- UploadReleases: Assets_UploadReleases;
5752
+ Registries: {
5753
+ DeleteRegistry: Registries_DeleteRegistry;
5754
+ SetRegistryVisibility: Registries_SetRegistryVisibility;
5755
+ ListPackages: Registries_ListPackages;
5756
+ GetPackage: Registries_GetPackage;
5757
+ DeletePackage: Registries_DeletePackage;
5758
+ GetPackageTagDetail: Registries_GetPackageTagDetail;
5759
+ DeletePackageTag: Registries_DeletePackageTag;
5760
+ ListPackageTags: Registries_ListPackageTags;
5761
+ GetGroupSubRegistries: Registries_GetGroupSubRegistries;
5762
+ };
5763
+ AI: {
5764
+ AiChatCompletions: AI_AiChatCompletions;
5765
+ AiAutoPr: AI_AiAutoPr;
4769
5766
  };
4770
- Artifactory: {
4771
- DeleteRegistry: Artifactory_DeleteRegistry;
4772
- ListPackages: Artifactory_ListPackages;
4773
- HeadPackages: Artifactory_HeadPackages;
4774
- GetPackage: Artifactory_GetPackage;
4775
- DeletePackageTag: Artifactory_DeletePackageTag;
4776
- GetPackageTagDetail: Artifactory_GetPackageTagDetail;
4777
- ListPackageTags: Artifactory_ListPackageTags;
4778
- GetRegistryQuota: Artifactory_GetRegistryQuota;
4779
- GetRegistryQuotas: Artifactory_GetRegistryQuotas;
4780
- DownloadRegistryQuotas: Artifactory_DownloadRegistryQuotas;
5767
+ Badge: {
5768
+ GetBadge: Badge_GetBadge;
5769
+ ListBadge: Badge_ListBadge;
5770
+ UploadBadge: Badge_UploadBadge;
4781
5771
  };
4782
5772
  Build: {
4783
5773
  GetBuildLogs: Build_GetBuildLogs;
4784
5774
  GetBuildStage: Build_GetBuildStage;
5775
+ BuildLogsDelete: Build_BuildLogsDelete;
5776
+ BuildRunnerDownloadLog: Build_BuildRunnerDownloadLog;
4785
5777
  StartBuild: Build_StartBuild;
4786
5778
  GetBuildStatus: Build_GetBuildStatus;
4787
5779
  StopBuild: Build_StopBuild;
4788
5780
  };
4789
- RepoContributor: {
4790
- GetRepoContributorTrend: RepoContributor_GetRepoContributorTrend;
5781
+ Assets: {
5782
+ GetCommitAssets: Assets_GetCommitAssets;
5783
+ GetReleasesAsset: Assets_GetReleasesAsset;
5784
+ GetLatestReleasesAsset: Assets_GetLatestReleasesAsset;
5785
+ UploadFiles: Assets_UploadFiles;
5786
+ UploadImgs: Assets_UploadImgs;
4791
5787
  };
4792
5788
  Git: {
4793
5789
  GetArchiveCommitChangedFiles: Git_GetArchiveCommitChangedFiles;
4794
5790
  GetArchiveCompareChangedFiles: Git_GetArchiveCompareChangedFiles;
5791
+ GetArchive: Git_GetArchive;
4795
5792
  CreateBlob: Git_CreateBlob;
4796
5793
  ListBranches: Git_ListBranches;
4797
5794
  CreateBranch: Git_CreateBranch;
4798
- DeleteBranch: Git_DeleteBranch;
4799
5795
  GetBranch: Git_GetBranch;
5796
+ DeleteBranch: Git_DeleteBranch;
4800
5797
  GetCommitAnnotationsInBatch: Git_GetCommitAnnotationsInBatch;
4801
5798
  GetCommitAnnotations: Git_GetCommitAnnotations;
4802
5799
  PutCommitAnnotations: Git_PutCommitAnnotations;
@@ -4809,41 +5806,41 @@ interface Client {
4809
5806
  ListCommits: Git_ListCommits;
4810
5807
  GetCommit: Git_GetCommit;
4811
5808
  GetCompareCommits: Git_GetCompareCommits;
5809
+ GetContentWithoutPath: Git_GetContentWithoutPath;
4812
5810
  GetContent: Git_GetContent;
4813
- ListDeferredCommits: Git_ListDeferredCommits;
4814
5811
  GetHead: Git_GetHead;
5812
+ GetRaw: Git_GetRaw;
4815
5813
  DeleteTagAnnotation: Git_DeleteTagAnnotation;
4816
5814
  GetTagAnnotations: Git_GetTagAnnotations;
4817
5815
  PutTagAnnotations: Git_PutTagAnnotations;
4818
5816
  ListTags: Git_ListTags;
4819
5817
  CreateTag: Git_CreateTag;
4820
- DeleteTag: Git_DeleteTag;
4821
5818
  GetTag: Git_GetTag;
4822
- GetPresignedLFSDownloadLink: Git_GetPresignedLFSDownloadLink;
5819
+ DeleteTag: Git_DeleteTag;
4823
5820
  };
4824
5821
  Issues: {
4825
5822
  ListIssues: Issues_ListIssues;
4826
5823
  CreateIssue: Issues_CreateIssue;
4827
5824
  GetIssue: Issues_GetIssue;
4828
5825
  UpdateIssue: Issues_UpdateIssue;
4829
- DeleteIssueAssignees: Issues_DeleteIssueAssignees;
4830
5826
  ListIssueAssignees: Issues_ListIssueAssignees;
4831
- PatchIssueAssignees: Issues_PatchIssueAssignees;
4832
5827
  PostIssueAssignees: Issues_PostIssueAssignees;
5828
+ DeleteIssueAssignees: Issues_DeleteIssueAssignees;
5829
+ PatchIssueAssignees: Issues_PatchIssueAssignees;
4833
5830
  CanUserBeAssignedToIssue: Issues_CanUserBeAssignedToIssue;
4834
5831
  ListIssueComments: Issues_ListIssueComments;
4835
5832
  PostIssueComment: Issues_PostIssueComment;
4836
5833
  GetIssueComment: Issues_GetIssueComment;
4837
5834
  PatchIssueComment: Issues_PatchIssueComment;
4838
- DeleteIssueLabels: Issues_DeleteIssueLabels;
4839
5835
  ListIssueLabels: Issues_ListIssueLabels;
4840
- PostIssueLabels: Issues_PostIssueLabels;
4841
5836
  PutIssueLabels: Issues_PutIssueLabels;
5837
+ PostIssueLabels: Issues_PostIssueLabels;
5838
+ DeleteIssueLabels: Issues_DeleteIssueLabels;
4842
5839
  DeleteIssueLabel: Issues_DeleteIssueLabel;
4843
5840
  };
4844
5841
  KnowledgeBase: {
4845
- DeleteKnowledgeBase: KnowledgeBase_DeleteKnowledgeBase;
4846
5842
  GetKnowledgeBaseInfo: KnowledgeBase_GetKnowledgeBaseInfo;
5843
+ DeleteKnowledgeBase: KnowledgeBase_DeleteKnowledgeBase;
4847
5844
  QueryKnowledgeBase: KnowledgeBase_QueryKnowledgeBase;
4848
5845
  GetModels: KnowledgeBase_GetModels;
4849
5846
  };
@@ -4859,40 +5856,48 @@ interface Client {
4859
5856
  PostPull: Pulls_PostPull;
4860
5857
  GetPull: Pulls_GetPull;
4861
5858
  PatchPull: Pulls_PatchPull;
4862
- DeletePullAssignees: Pulls_DeletePullAssignees;
4863
5859
  ListPullAssignees: Pulls_ListPullAssignees;
4864
5860
  PostPullAssignees: Pulls_PostPullAssignees;
5861
+ DeletePullAssignees: Pulls_DeletePullAssignees;
4865
5862
  CanUserBeAssignedToPull: Pulls_CanUserBeAssignedToPull;
4866
- CherryPickPullRequest: Pulls_CherryPickPullRequest;
4867
5863
  ListPullComments: Pulls_ListPullComments;
4868
5864
  PostPullComment: Pulls_PostPullComment;
4869
- DeletePullLabels: Pulls_DeletePullLabels;
5865
+ GetPullComment: Pulls_GetPullComment;
5866
+ PatchPullComment: Pulls_PatchPullComment;
5867
+ ListPullCommitStatuses: Pulls_ListPullCommitStatuses;
5868
+ ListPullCommits: Pulls_ListPullCommits;
5869
+ ListPullFiles: Pulls_ListPullFiles;
4870
5870
  ListPullLabels: Pulls_ListPullLabels;
4871
- PostPullLabels: Pulls_PostPullLabels;
4872
5871
  PutPullLabels: Pulls_PutPullLabels;
5872
+ PostPullLabels: Pulls_PostPullLabels;
5873
+ DeletePullLabels: Pulls_DeletePullLabels;
4873
5874
  DeletePullLabel: Pulls_DeletePullLabel;
4874
5875
  MergePull: Pulls_MergePull;
4875
- RevertPullRequest: Pulls_RevertPullRequest;
5876
+ ListPullReviews: Pulls_ListPullReviews;
4876
5877
  PostPullReview: Pulls_PostPullReview;
5878
+ ListPullReviewComments: Pulls_ListPullReviewComments;
4877
5879
  };
4878
5880
  Releases: {
4879
5881
  ListReleases: Releases_ListReleases;
4880
5882
  PostRelease: Releases_PostRelease;
4881
5883
  GetLatestRelease: Releases_GetLatestRelease;
4882
5884
  GetReleaseByTag: Releases_GetReleaseByTag;
4883
- DeleteRelease: Releases_DeleteRelease;
4884
5885
  GetReleaseByID: Releases_GetReleaseByID;
5886
+ DeleteRelease: Releases_DeleteRelease;
4885
5887
  PatchRelease: Releases_PatchRelease;
4886
5888
  PostReleaseAssetUploadConfirmation: Releases_PostReleaseAssetUploadConfirmation;
4887
5889
  PostReleaseAssetUploadURL: Releases_PostReleaseAssetUploadURL;
4888
- DeleteReleaseAsset: Releases_DeleteReleaseAsset;
4889
5890
  GetReleaseAsset: Releases_GetReleaseAsset;
5891
+ DeleteReleaseAsset: Releases_DeleteReleaseAsset;
5892
+ };
5893
+ Security: {
5894
+ GetRepoSecurityOverview: Security_GetRepoSecurityOverview;
4890
5895
  };
4891
5896
  GitSettings: {
4892
5897
  ListBranchProtections: GitSettings_ListBranchProtections;
4893
5898
  PostBranchProtection: GitSettings_PostBranchProtection;
4894
- DeleteBranchProtection: GitSettings_DeleteBranchProtection;
4895
5899
  GetBranchProtection: GitSettings_GetBranchProtection;
5900
+ DeleteBranchProtection: GitSettings_DeleteBranchProtection;
4896
5901
  PatchBranchProtection: GitSettings_PatchBranchProtection;
4897
5902
  GetPipelineSettings: GitSettings_GetPipelineSettings;
4898
5903
  PutPipelineSettings: GitSettings_PutPipelineSettings;
@@ -4901,6 +5906,9 @@ interface Client {
4901
5906
  GetPushLimitSettings: GitSettings_GetPushLimitSettings;
4902
5907
  PutPushLimitSettings: GitSettings_PutPushLimitSettings;
4903
5908
  };
5909
+ RepoContributor: {
5910
+ GetRepoContributorTrend: RepoContributor_GetRepoContributorTrend;
5911
+ };
4904
5912
  }
4905
5913
  //#endregion
4906
5914
  //#region src/index.d.ts